This project has been archived by its maintainers, and is no longer receiving any updates.
expurgator
Censor sensitive string data in Python.
Quickstart
Install with:
pip install expurgator
Usage
Like so:
from expurgator import shallow_dict_expurgator
orig_dict = {'user': 'johnsmith', 'pass': 'supersecret'}
censored_dict = shallow_dict_expurgator(orig_dict)
# censored_dict is now:
# {'user': 'johnsmith', 'pass': '<SensitiveString>'}
Building
To build this library as a wheel:
python setup.py bdist_wheel --universal
Testing
First, make sure you have pytest installed:
pip install pytest
To run all tests, simply do:
py.test
Legal
Copyright 2018 IRESS Ltd.
License: Apache License 2.0.
Metadata
Release files for expurgator 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| expurgator-0.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for expurgator-0.1.3-py2.py3-none-any.whl |
Release files / expurgator-0.1.3-py2.py3-none-any.whl
| Download URL | expurgator-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5b9c79d3d57742f37bd25ef45a772bc556e747fe7f2b92b0fd9947bef58e0d94
|
|
BLAKE2b-256 checksum How to use checksums |
e78c411c5f0f787183e6725694b3096d11c73ac500779c09d523d8774510e215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
|
Security for expurgator 0.1.3
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.