Skip to main content

Erase Hate Python Library: Library for the Erase Hate API!

This is the official Python library for interfacing with the EraseHateApp.com API. Erase Hate App allows users to perform Natural Language Processing and classification of text as ‘hateful’, ‘offensive’, or ‘neither’ through the use of ML and neural network deep learning. If users disagree with the model’s analysis, they may then reclassify an item choosing the classification they think is the best fit. Their reclassification data is then used in further continuous model training. Use this library to easily execute hate speech classification and perform many of the same functions available at EraseHateApp.com . Built for the purpose of allowing external Developers to integrate NLP into their own projects. Developers are strongly encouraged to submit any user reclassified data to the Erase Hate server, for use in model retraining.

Need data?

The Erase Hate Library also wraps the Twitter API, using the tweepymashup twitter library, to allow users the ability to source text data from Twitter keyword or user timeline searches.

When using the erasehateapp.com API, it is highly recommended to use this library

Data sent to the classification server, its results and any reclassification results are stored by erasehateapp.com for the purposes of improving the classification model. No personal information, or identifying information is stored.

Installation

The easiest way to install the latest version is by using pip/easy_install to pull it from PyPI:

pip install erasehate

You may also use Git to clone the repository from GitHub and install it manually:

git clone git@github.com:oblockton/Erase_Hate_Python_Library.git

cd Erase_Hate_Python_Library

python setup.py install

Python 3.5, 3.6, & 3.7 are supported.

Metadata

Release files for erasehate 1.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 erasehate 1.1.0
File Size Uploaded Provenance
erasehate-1.1.0.tar.gz 8.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for erasehate 1.1.0
File Interpreter ABI Platform
erasehate-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / erasehate-1.1.0.tar.gz

Download URL erasehate-1.1.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4c4b0ae572616657d9d32f3f32bfd63f2b7e4f0bca522657352b0f8b34c2bf40
BLAKE2b-256 checksum
How to use checksums
b1595a7dd29c3eda9bbfdacab857ec42f7a47c0a56720c74e236b421a90934b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / erasehate-1.1.0-py3-none-any.whl

Download URL erasehate-1.1.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f410b5d19e8fce3d09f8605106966a59a926236eecd5d9ac5783e662f3b5280f
BLAKE2b-256 checksum
How to use checksums
b3af8c272d60b574d23b69a67246a503b0afd60481dae4e5ed1c2887e9e2b243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for erasehate 1.1.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.

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