docs: Use License classifiers in pyproject.toml (thanks @sevdog)
chore: Update to modern python practices
- include pyproject.toml file
- use python typing
- update to use pytest
BREAKING_CHANGE
Webpusher.encode
will now return a NoData
exception if no data is present to encode. Chances are
you probably won't be impacted by this change since most push messages contain data, but one never knows.
This alters the prior behavior where it would return None
.
bug: accept all VAPID key instances (thanks @mthu)
Support requests_session param in webpush fn too (thanks @bwindels)
chore: library update, remove nose tests
feat: add --head
to read headers out of a json file (thanks @braedon)
bug: update min vapid requirement to 1.7.0
feat: use six.text_type instead of six.string_types
feat: Add --verbose
flag with some initial commentary
bug: Update tests to use latest VAPID version
bug: update vapid exp
header if missing or expired
feat: update to http-ece 0.7.0 (with draft-06 support) feat: Allow empty payloads for send() feat: Add python3 classfiers & python3.6 travis tests feat: Add README.rst bug: change long to int to support python3
feat: make python 2.7 / 3.5 polyglot
bug: make header keys case insenstive
bug: force key string encoding to utf8
bug: fix setup.py issues
feat: added travis, normalized directories
feat: Added tests, restructured code
Initial release