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.3

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.3
File Size Uploaded Provenance
unprofane-0.1.3.tar.gz 6.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 12.5 kB

Release files / unprofane-0.1.3.tar.gz

Download URL unprofane-0.1.3.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5ded56bfbb88fc0e970c5895ff1c1d03b7e066e55d737465e1f7bfcaa4fa99f4
BLAKE2b-256 checksum
How to use checksums
2af731c154b25f682bb4eca54c0deaf8d57827edd0098b8170a057094ee15bc7
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 19, 2026.

Transparency log

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

Download URL unprofane-0.1.3-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
088dfcffe1673e47864dc1757ed261a06631b77dc4906d34d28be3d433d66e47
BLAKE2b-256 checksum
How to use checksums
cef85944e5accd500217f8ed382a562102d6a4e7ab80a7b7dc2a16986465d84a
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 19, 2026.

Transparency log

Security for unprofane 0.1.3

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.3.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 19, 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