You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

1.1 KiB

warren is the server part of weir

Listen for http posts on two routes,

goals

  1. teach me how to do proper python packaging

  2. give me a reason to build out actual CI (i'm thinking drone?)

  3. help me keep track of my burgeoning compute footprint

roadmap

  • listen for posts on a specific url

  • save data extracted from body of post to sqlite

  • actually get the tox/make/linting shit to work

  • Write directory handling stuff for new db create

  • Make sure logging is working as expected; i think i've done something wrong with naming with caps.

  • Migrate away from flask's dev server and use a real WSGI server per the in-app warning

  • ^^ but postgresql and in a managed instance

  • gui front end for sql queries

references

gonna try this new packaging paradigm: https://antonz.org/python-packaging/

notes to myself

  • flit is interesting but REALLY frustrating; if you get something wrong the errors are not very obvious.

    • there's some issue with entering a password in the cli as prompted; putting it in the .pypirc file fixes the issue?