Badgers: bad data generators
badgers is a python library for generating bad data (more precisely to augment existing data with data quality deficits such as outliers, missing values, noise, etc.). It is based upon a simple API and provides a set of generators object that can generate data quality deficits from existing data.
A word of caution: badgers is still in an early development stage. Although the core structure of the package and the generate(X,y) signature are not expected to change, some API details (like attributes names) are likely to change.
The full documentation is hosted here: https://fraunhofer-iese.github.io/badgers/.
For a quick-start, you can install badgers with pip:
pip install badgers
Import badgers as any other library and start using it:
from sklearn.datasets import make_blobs
from scipy.stats import norm
from badgers.generators.tabular_data.noise import AdditiveNoiseGenerator
X, y = make_blobs()
trf = AdditiveNoiseGenerator()
Xt, yt = trf.generate(X, y, distribution=norm(scale=0.5))
More examples are available in the tutorials section.
The API documentation is also available in the API section.
Interested developers will find relevant information in the CONTRIBUTING.md page.
Metadata
Release files for badgers 0.0.15
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 |
|---|---|---|---|---|
| badgers-0.0.15.tar.gz | 2.7 MB | Without provenance | Details for badgers-0.0.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| badgers-0.0.15-py3-none-any.whl | Python 3 | none | any | Details for badgers-0.0.15-py3-none-any.whl |
Total release size: 2.8 MB
Release files / badgers-0.0.15.tar.gz
| Download URL | badgers-0.0.15.tar.gz |
|---|---|
| Size | 2.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2509ef19768cf66cfb182744fe12c4eae9dd16faf2e30249de902a526f22600d
|
|
BLAKE2b-256 checksum How to use checksums |
856cd59e29d56714ed89a13c04212014cb59651d5c1db2ffd425f5a2d554f613
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / badgers-0.0.15-py3-none-any.whl
| Download URL | badgers-0.0.15-py3-none-any.whl |
|---|---|
| Size | 99.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd28730cad2374c26e43c409b0fcbff4b73ed23eed9b07422be81b3c11e0d08b
|
|
BLAKE2b-256 checksum How to use checksums |
985580e0e5f6e9ab1d2bf5b12b8a55e037e56aa36c5f0baed403be2586ddf42c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for badgers 0.0.15
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.