Skip to main content

RFC9839

PyPI - Version Coveralls License

Python library to check for problematic Unicode code points.

Port of Go library of the same name.

Based on the Unicode code-point subsets specified in RFC9839.

Usage

from rfc9839 import unicode_scalar, xml_character, unicode_assignable

code_point = 0xFDDA # ARABIC LIGATURE SAD WITH MEEM WITH ALEF MAKSURA FINAL FORM

print(unicode_scalar.is_valid_code_point(code_point)) # True
print(xml_character.is_valid_code_point(code_point)) # True
print(unicode_assignable.is_valid_code_point(code_point)) # False


print(unicode_assignable.is_valid_string(chr(code_point))) # False
print(xml_character.is_valid_utf8(chr(code_point).encode("utf-8"))) # True

Metadata

Release files for rfc9839 0.0.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 rfc9839 0.0.2
File Size Uploaded
rfc9839-0.0.2.tar.gz 3.0 kB Details

Built distribution (wheel)

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

Total release size: 7.1 kB

Release files / rfc9839-0.0.2.tar.gz

Download URL rfc9839-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
59d0ff00eec10af10668dd0079c99f6f0f2bc59f8b8cd7b1ba7584d2245752cd
BLAKE2b-256 checksum
How to use checksums
164599785385cfc7ab424518988f97b343430d5d6ae1d34127153fb4b5d090c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 4, 2025.

Transparency log

Release files / rfc9839-0.0.2-py3-none-any.whl

Download URL rfc9839-0.0.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f99dfb99799a6b3650f907ee4d578b458f89613603611892c93efb7aceb8d4cc
BLAKE2b-256 checksum
How to use checksums
14787081fa3751791a5a5dff559c8d0fbe2fe1c583be9239a99cbcec1170bacf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Sep 4, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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