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.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 unprofane 0.1.0
File Size Uploaded
unprofane-0.1.0.tar.gz 5.8 kB Details

Built distribution (wheel)

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

Total release size: 11.3 kB

Release files / unprofane-0.1.0.tar.gz

Download URL unprofane-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b7bc865306b8eb2db8bd9b6a19fa97c337626dda93d89cdd36db78a0fc72898a
BLAKE2b-256 checksum
How to use checksums
bdccdb36f348efee9064c592f4f56c9fba9f3c5add544b8c5a5628c49c8c19b3
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 12, 2026.

Transparency log

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

Download URL unprofane-0.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92458b42483a2cc1b6eeeb95f358da4600744b5f1461dd64dfe2e537bf4e6206
BLAKE2b-256 checksum
How to use checksums
c49001250b85309f9561615539f9a3d62eb7511a286f1f30d7919456db9fd762
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 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

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