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), check_many (any number, chunked), feedback, usage, get_list, put_list, delete_list. Retries 429 and 5xx with jitter and honours 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.2

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.2
File Size Uploaded
unprofane-0.1.2.tar.gz 6.0 kB Details

Built distribution (wheel)

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

Total release size: 11.5 kB

Release files / unprofane-0.1.2.tar.gz

Download URL unprofane-0.1.2.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7c5ff160d23eeb7103182afa07a4a51e6363431d1643126bda77d6a3fc982ffc
BLAKE2b-256 checksum
How to use checksums
5e753eed273b728f8bc42931b7d79e9dc1bc05174815d456b45f0b928eb0e4a1
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 17, 2026.

Transparency log

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

Download URL unprofane-0.1.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a21c77b95ee8e554981654fae0163ad249865e7c2f49c9c727cf3de32b317451
BLAKE2b-256 checksum
How to use checksums
e0cb590f1792a868277fc7680e4aeaacb36804ed6404c7d9367ecf1692ffbe3c
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 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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