Skip to main content

unprofane

The Python client for Unprofane, a profanity and toxicity API that is hard to fool.

pip install unprofane
from unprofane import Unprofane

client = Unprofane("up_live_YOUR_KEY")
r = client.check("xXsh1tXx", context="username", policy="teen")
if not r["allowed"]:
    print(r["action"], r["evasion"], r["censored"])

Async:

from unprofane import AsyncUnprofane

async with AsyncUnprofane("up_live_YOUR_KEY") as client:
    r = await client.check("hello", context="comment")

check, check_batch (up to 100 texts and 30,000 characters), check_many (any number, chunked to fit a batch), feedback, usage, get_list, put_list, delete_list. Retries 429 and 5xx with jitter and honors Retry-After; other failures raise UnprofaneError with the problem details and the request id. Docs: https://unprofane.com/docs/.

Metadata

Release files for unprofane 0.1.4

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

Source distribution (sdist)

Source distribution for unprofane 0.1.4
File Size Uploaded Provenance
unprofane-0.1.4.tar.gz 6.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 12.7 kB

Release files / unprofane-0.1.4.tar.gz

Download URL unprofane-0.1.4.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6509c48d9531417e27d08ef9a1c148549987742d42131e7e5911918547ef5b9a
BLAKE2b-256 checksum
How to use checksums
fb5510b443f30ba65a78388697c6860f98f9b49396c89788923f8306f3e9d91a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / unprofane-0.1.4-py3-none-any.whl

Download URL unprofane-0.1.4-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a057396f0ca8603a98d89121f7e05a6b085db4b304209299e98134afe330ddf9
BLAKE2b-256 checksum
How to use checksums
cbbe870b0e38381b3ed7240809c6abe28b5a11c99fd6c3a8cb4099fd75e08f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for unprofane 0.1.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for unprofane-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

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