Babel-heureka-code
Nutzen
Dieses Projekt zielt darauf ab, eine einfache Möglichkeit für mehrsprachige Pythonprogramme zu bieten.
Das Konzept
Der Gedanke hinter dem Projekt ist, dass an verschiedenen Stellen im Programm spezielle Objekte mit bestimmten IDs erstellt werden.
Diese können an einen Verwalter gebunden werden.
Der Verwalter kann daraufhin auf verschiedene Sprachen gesetzt werden.
Wird eine Übersetzung abgefragt z.B. durch die __str__ Methode des Referenzobjekts wird der Verwalter die aktuell gesetzte Sprache nutzen, um die richtige Übersetzung zu ermitteln.
Installation
pip install Babel-heureka-code
Dokumentation
Die Dokumentation ist auf https://heureka-code.github.io/Babel-heureka-code/ einsehbar.
Metadata
Release files for babel-heureka-code 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| babel-heureka-code-0.1.3.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| babel_heureka_code-0.1.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 12.0 kB
Release files / babel-heureka-code-0.1.3.tar.gz
| Download URL | babel-heureka-code-0.1.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
708faff644f5e6e672127d5917feb4d2b7ecd8dd0536712629604a0b4ddccfee
|
|
BLAKE2b-256 checksum How to use checksums |
7f1bee05ca9627db8499b0994058a192836350bd2056b971b787cbcc58bc6179
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / babel_heureka_code-0.1.3-py2.py3-none-any.whl
| Download URL | babel_heureka_code-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
28cbddd531cea3d299471c38521830976949b0c2778c49fa66ee89c078374d0e
|
|
BLAKE2b-256 checksum How to use checksums |
35d07f657ad40b2f49fc99853397e506a581af6cbb22872ad564243ef397c49a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|