pwman
Manage Nginx basic auth files.
Implements a subset of commands from htpasswd.
Writes SSHA hashes.
Dependencies
Python 2.7 and libzip headers.
Ubuntu:
sudo apt-get install libzip-dev
Virtualenv (optional):
sudo apt-get install python-virtualenv
Install
For the current user (recommended):
pip install --user pwman # make sure you have $HOME/.local/bin on your PATH pwman --help
In a virtualenv:
# create virtualenv mkdir -p ~/lib/python virtualenv ~/lib/python/pwman # install using virtualenv's pip (>= 0.8.2) ~/lib/python/pwman/bin/pip install pwman # add ~/bin to your PATH if you have not done so already cd ~/bin ln -s ~/lib/python/pwman/bin/pwman pwman --help
System-wide:
sudo pip install pwman pwman --help
Tested on vanilla Ubuntu 12.04 Server.
Uninstall
The virtual env:
rm -r ~/bin/pwman ~/lib/python/pwman
Develop
First timer:
virtualenv .virtualenv source .virtualenv/bin/activate python setup.py develop
Next time:
source .virtualenv/bin/activate
Testing
This project uses tox.
Install tox:
sudo apt-get install tox
Run:
tox
This creates a virtualenvs for all supported versions (see tox.ini) and runs all tests.
Coverage docs: http://nedbatchelder.com/code/coverage/
Metadata
Release files for pwman 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pwman-2.0.0.tar.gz | 3.6 kB | Without provenance | Details for pwman-2.0.0.tar.gz |
Release files / pwman-2.0.0.tar.gz
| Download URL | pwman-2.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
695b637cb22d9e7f8c4ba60145c7f8983813713d59bd1a753ad5f17d8cfbe199
|
|
BLAKE2b-256 checksum How to use checksums |
a680b715a8e0cd07dc3f449d6ba860904642add1b6fb4c71bb3af323f17104c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pwman 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.