-----
TLDR: This project is very similar in functionality and purpose to Google's recent `Perspective API <https://www.perspectiveapi.com/>`_ project
Usage
````````````
Save in a hello.py:
.. code:: python
from insults import Insults
comment = "You are a disgusting maggot of a person."
Insults.load_model()
Insults.rate_comment(comment)
> 0.89
Install
`````````````````
And run it:
.. code:: bash
$ pip install insults
Links
`````
* `Perspective API website <https://www.perspectiveapi.com/>`_
* `Github Repo:
<https://github.com/thundergolfer/Insults>`_
Credit
``````
* `cbrew` <https://github.com/cbrew>`_ for their original data-science work in
`Imperium's Kaggle Competition` <https://www.kaggle.com/c/detecting-insults-in-social-commentary>`_. Code in `cbrew/Insults <https://github.com/cbrew/Insults`_
Metadata
Release files for insults 0.1.12
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 |
|---|---|---|---|---|
| insults-0.1.12.tar.gz | 22.8 MB | Without provenance | Details for insults-0.1.12.tar.gz |
Release files / insults-0.1.12.tar.gz
| Download URL | insults-0.1.12.tar.gz |
|---|---|
| Size | 22.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a58cae068b8b623f629cf1fe03a1bfd23fda7c95282fd80cab7b381ecf9c9e9
|
|
BLAKE2b-256 checksum How to use checksums |
a21a342d20046ee5b3b2c6d3fe3873acc04a1c1a5fd0e7b8e90ba5b71b03204c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for insults 0.1.12
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.