Skip to main content

cbcp (Python)

Python port of the cbcp Rust crate: deterministic BCP 47 locale-ID casting and vendor code mapping. Zero dependencies, Python 3.10+.

See the repository README for the rule and the vectors for the contract.

python -m cbcp normalize " DE_Ch "
python -m cbcp bcp47 de-ch
python -m cbcp deepl-target en

Release files for cbcp 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 cbcp 0.1.0
File Size Uploaded
cbcp-0.1.0.tar.gz 28.2 kB Details

Built distribution (wheel)

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

Total release size: 59.2 kB

Release files / cbcp-0.1.0.tar.gz

Download URL cbcp-0.1.0.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d183fec9fda049853aa1f0bf64c00ae246b1bc4cc54abe471a8159a7c8f69868
BLAKE2b-256 checksum
How to use checksums
0d752ad6189336062cc4c4c370524e88f5bd2e34d4db27a49707269f7be3a5b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL cbcp-0.1.0-py3-none-any.whl
Size 31.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61675118435a8e14a770f9cbe4e054af80fd3ee3ac1393df51087a0271ddf870
BLAKE2b-256 checksum
How to use checksums
d9644761d622fecf36f1ea3b09a8cece1b2c354f44995875f94e5a2d4bc95693
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

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