pylibscrypt v1.7.1
Bugfix release 1.7.1
- Prevent DepracationWarning from pylibsodium.py
Github link: pylibscrypt v1.7.1
pylibscrypt v1.7.0
Feature release 1.7.0
- Improved error messages
- Added coveralls testing
- Improved test coverage using docker
- Deprecated fallbacks for old python and libsodium versions
Github link: pylibscrypt v1.7.0
pylibscrypt v1.6.1
Bugfix release 1.6.1
- Fix hashlib.scrypt calls with large values
Github link: pylibscrypt v1.6.1
pylibscrypt v1.6.0
Feature release 1.6.0
- Use hashlib.scrypt on Python 3.6 + OpenSSL 1.1
- Travis CI integration
- Improved test coverage
- Code and build cleanups
Github link: pylibscrypt v1.6.0
Python hug with apache mod_wsgi
I found it surprisingly difficult to find a plain explanation of setting up hug and apache mod_wsgi. So here is how I did it.
Minimal hug API
Writing an API with hug is really easy. You can write a "hello world" in four lines of code:
import hug
@hug.get('/hello') def hello(name: str) -> str: return "Hello " + name
Running this on a devserver is also trivial:
hug -f hello.py