- pip install braillebasefrench
French
NOTE 1: Antoine number notation
This library provides text-to-Braille translation for French. However, it does not currently implement all rules defined by the French Braille standard (CBFU).
In particular, French Braille uses the Antoine number notation for the transcription of numbers, which is not currently supported by this library.
Therefore, while regular text can be translated to Braille, texts containing numbers may not be fully compliant with the French Braille standard.
Support for Antoine number notation and additional French Braille transcription rules may be added in future versions.
NOTE 2: Unsupported French Characters
We could not find an official French Braille representation for the character
ÿ in the references consulted. However, this character can occur in French
words and proper names.
To avoid translation or execution errors, the library currently falls back to
the Braille representation of the base letter y.
The same approach is used for the character æ. Since we did not identify a
dedicated French Braille representation for æ, it is currently handled as
the character sequence ae.
Note: These are compatibility fallbacks implemented by the library and should not be interpreted as official French Braille transcriptions.
NOTE 3: Uppercase and Lowercase Indicators
For uppercase characters, the library currently uses ⠨ as the uppercase
indicator.
We did not find sufficient information in the references consulted to confirm
the use of ⠨⠨ for multiple consecutive uppercase characters. For lowercase
characters, the library currently uses ⠐, following the convention used by
the Portuguese Braille standard.
These rules are configurable and can be easily changed using:
self.setting_braille_rules_uppercase("⠨", "⠨⠨", "⠐")
How to use?
from braille import *
bb = bbf()
print(bb.output_braille_txt("Bibliothèque développée pour gérer le braille simple et complexe 2026."))
Output: ⠨⠃⠊⠃⠇⠊⠕⠞⠓⠮⠟⠥⠑⠀⠙⠿⠧⠑⠇⠕⠏⠏⠿⠑⠀⠏⠕⠥⠗⠀⠛⠿⠗⠑⠗⠀⠇⠑⠀⠃⠗⠁⠊⠇⠇⠑⠀⠎⠊⠍⠏⠇⠑⠀⠑⠞⠀⠉⠕⠍⠏⠇⠑⠭⠑⠀⠼⠃⠚⠃⠋⠲
Announcement
-
This package is part of an ecosystem called Braille Base. This name does not represent a company or business; it is an independent initiative aimed at providing registered braille tables for all of humanity.
-
We constantly need help to register, update, and validate braille tables. There is still no official contact channel, but you can find new information on the blog braillebase.blogspot.com or brailletable.blogspot.com.
Pre-registered Letters and Characters
-
a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z;
-
é, à, è, ù, â, ê, î, ô, û, ë, ï, ü, ç, œ;
-
A, B, C, D, E, F, G, H, I, j, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z;
-
É, À, È, Ù, Â, Ê, Î, Ô, Û, Ë, Ï, Ü, Ç, Œ
-
., ,, ;, :, ?, !, (, ), [, ], “, ”, «, »;
-
⠼, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0;
ÿ == y Ÿ == Y æ == ae Æ == AE
from braille import *
bb = bbf()
print(bb.confidence_test("Bibliothèque développée pour gérer le braille simple et complexe 2026."))
Output: {0: ['⠨', ['⠨']], 1: ['B', ['⠃']], 2: ['i', ['⠊']], 3: ['b', ['⠃']], 4: ['l', ['⠇']], 5: ['i', ['⠊']], 6: ['o', ['⠕']], 7: ['t', ['⠞']], 8: ['h', ['⠓']], 9: ['è', ['⠮']], 10: ['q', ['⠟']], 11: ['u', ['⠥']], 12: ['e', ['⠑']], 13: [' ', ['⠀']], 14: ['d', ['⠙']], 15: ['é', ['⠿']], 16: ['v', ['⠧']], 17: ['e', ['⠑']], 18: ['l', ['⠇']], 19: ['o', ['⠕']], 20: ['p', ['⠏']], 21: ['p', ['⠏']], 22: ['é', ['⠿']], 23: ['e', ['⠑']], 24: [' ', ['⠀']], 25: ['p', ['⠏']], 26: ['o', ['⠕']], 27: ['u', ['⠥']], 28: ['r', ['⠗']], 29: [' ', ['⠀']], 30: ['g', ['⠛']], 31: ['é', ['⠿']], 32: ['r', ['⠗']], 33: ['e', ['⠑']], 34: ['r', ['⠗']], 35: [' ', ['⠀']], 36: ['l', ['⠇']], 37: ['e', ['⠑']], 38: [' ', ['⠀']], 39: ['b', ['⠃']], 40: ['r', ['⠗']], 41: ['a', ['⠁']], 42: ['i', ['⠊']], 43: ['l', ['⠇']], 44: ['l', ['⠇']], 45: ['e', ['⠑']], 46: [' ', ['⠀']], 47: ['s', ['⠎']], 48: ['i', ['⠊']], 49: ['m', ['⠍']], 50: ['p', ['⠏']], 51: ['l', ['⠇']], 52: ['e', ['⠑']], 53: [' ', ['⠀']], 54: ['e', ['⠑']], 55: ['t', ['⠞']], 56: [' ', ['⠀']], 57: ['c', ['⠉']], 58: ['o', ['⠕']], 59: ['m', ['⠍']], 60: ['p', ['⠏']], 61: ['l', ['⠇']], 62: ['e', ['⠑']], 63: ['x', ['⠭']], 64: ['e', ['⠑']], 65: [' ', ['⠀']], 66: ['⠼', ['⠼']], 67: ['2', ['⠃']], 68: ['0', ['⠚']], 69: ['2', ['⠃']], 70: ['6', ['⠋']], 71: ['.', ['⠲']]}
Metadata
Release files for braillebasefrench 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| braillebasefrench-0.2.9.tar.gz | 4.2 kB | Without provenance | Details for braillebasefrench-0.2.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| braillebasefrench-0.2.9-py3-none-any.whl | Python 3 | none | any | Details for braillebasefrench-0.2.9-py3-none-any.whl |
Total release size: 8.7 kB
Release files / braillebasefrench-0.2.9.tar.gz
| Download URL | braillebasefrench-0.2.9.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6bb1f424eb0e28487f25d83dfb99823f6f9e0db8374763e150fa794c261fc3a
|
|
BLAKE2b-256 checksum How to use checksums |
665ea962e34de51976e77159d59d326cca15d21dfb27aba669589ff50beafc3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / braillebasefrench-0.2.9-py3-none-any.whl
| Download URL | braillebasefrench-0.2.9-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cb141034f76d69c9768badf32703de0658ffc2f17f6c5a4545a0dfcb68fef20
|
|
BLAKE2b-256 checksum How to use checksums |
6a2acc029924cdc0a17eb8d9b8c34f4c0a207f7a51197cf61dc5306662ccbab7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Security for braillebasefrench 0.2.9
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.