Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.1.3 instead.
Reason given by maintainers: Unmaintained

# expurgator

Censor sensitive string data in Python.

[![Build Status](https://travis-ci.org/Iress/expurgator.svg?branch=master)](https://travis-ci.org/Iress/expurgator)
[![Coverage Status](https://coveralls.io/repos/github/Iress/expurgator/badge.svg?branch=master)](https://coveralls.io/github/Iress/expurgator?branch=master)

## Quickstart

Install with:

```sh
pip install expurgator
```


## Usage

Like so:

```python
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:

```sh
python setup.py bdist_wheel --universal
```


## Testing

First, make sure you have pytest installed:

```sh
pip install pytest
```

To run all tests, simply do:

```sh
py.test
```


## Legal

Copyright 2018 [IRESS Ltd](https://www.iress.com/).

License: Apache License 2.0.

Release files for expurgator 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for expurgator 0.1.0
File Size Uploaded
expurgator-0.1.0.tar.gz 2.5 kB Details

Release files / expurgator-0.1.0.tar.gz

Download URL expurgator-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4ca3371aa7af2bd817c6fb8767209844678a1e5192d8894ffc7ae036b5b7c989
BLAKE2b-256 checksum
How to use checksums
ba7b4ba15b532253e9737974b079147282058f275debe2c8b763b343613f3e70
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/2.7.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page