Pre-release
This release is a pre-release and may not be stable for production use.
Status: Alpha APIs may change and detection thresholds are still being refined. Results should not be considered production-stable.
This is the python library that can be used for the api requests so that users can call to check for poisons in their own datasets.
Quick Start
from poison_detector import api
#UCI dataset
report = api.analyze('uci', 73)
print(report)
clean_uci_df = api.clean('uci', 73)
#CSV file
report = api.analyze('csv', 'path/to/file/dataset.csv')
print(report)
clean_csv_df = api.clean('csv', 'path/to/file/dataset.csv')
#URL
report = api.analyze('url', 'https://webpath/to/file/dataset')
print(report)
clean_url_csv_df = api.clean('url', 'https://webpath/to/file/dataset')
## Supported Sources
- "uci" - UCI Machine Learning repository (by dataset ID).
- "csv" - Local CSV files.
- "url" - URL where an csv file is set for the dataset.
for url's in google drive you can use the following format
- https://drive.google.com/uc?id=FILE_ID&export=download
Change Log
0.1.2a1 (22/01/2026)
- Updated the api call to accept url links.
0.1.0a1 (21/01/2026)
- Changed version of package beta -> alpha
- Updated the analyze and clean function to a common function instead of seperate functions for UCI and csv.
0.1.0 (19/01/2026)
- Initial Release
- Fixed issue with calling the model file
Metadata
Release files for data-poisoning-detector 0.1.2a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| data_poisoning_detector-0.1.2a1.tar.gz | 17.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| data_poisoning_detector-0.1.2a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.5 MB
Release files / data_poisoning_detector-0.1.2a1.tar.gz
| Download URL | data_poisoning_detector-0.1.2a1.tar.gz |
|---|---|
| Size | 17.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cbbeb04de098427c813ed42a3073527171248990ecf131d5003da5cd78ff826
|
|
BLAKE2b-256 checksum How to use checksums |
9edc5b0ee30dce206630de6746be16346dfee716ae4d60573ea5725a9b25591c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|
Release files / data_poisoning_detector-0.1.2a1-py3-none-any.whl
| Download URL | data_poisoning_detector-0.1.2a1-py3-none-any.whl |
|---|---|
| Size | 17.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49b0288c4fbe9c03b2012f7caee4866ffc3532c348f94d06613f9501ce4c7311
|
|
BLAKE2b-256 checksum How to use checksums |
82413a2b6dbd5fbb13e10b198b9919609e04c975de608b63fb9d582a9ac9a716
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|