As a Boxing Day present to myself, I have released version 0.1 of Duck, a ‘simple data’ and JSON verifier. Extending the metaphor of duck typing, I often find it useful to see if a ‘simple data’ structure (one made of dicts, lists, ints, floats, strings, booleans and the like) is ‘close enough’ to what I need to be useful.
- checking json (using duck.jsonduck)
- simple guards on kwargs, or particular function arguments
Project is at: https://github.com/gregglind/duck
I could also use help with it, since I have done a public release of anything packaged in a long time! I could use advice on:
- pypi / pip setup?
- where the code should *really* live
- integrating test stuff into setup.py
Look and Feel:
- does what I am doing even make sense?
- is it *too magical*
Starting at about 7:30 (CDT) tonight, Comcast DNS services went down for my Business class internet service in Minneapolis.
For others who are affected:
Change your dns servers to another DNS (this should be under your wireless settings). An easy one to use (and remember!) is the Google DNS: 220.127.116.11 or 18.104.22.168.
See further: Mediate