FastAPI Translations Management
Easy management for translations of the FastAPI project documentation.
✨ Inspired by the this pull request from @lucasbalieiro.
🙋🏾♀️ Who's this library for?
This is a very specific package, intended for contributors of FastAPI translations.
If you don't work with us, feel free to look around, but I don't think you'll be able to use it anywhere else
Instalation
💽 Installation
Install using pip install -U fastapi-translations.
⌨️ Usage
After installing fastapi-translations, you'll be able to use it anywhere via the fastapi_translations command.
You can see all options with fastapi_translations --help:
A basic usage is: fastapi_translations -l pt -c.
It will scan all english docs in FastAPI project, check which documents have translations into the language informed, and which documents, despite having a translation, are out of date.
You'll need to wait a little bit while it is analyzing all docs:
And when it is done, you'll see a brief summary:
And a csv file will be saved: fastapi-translations-lang-{chosen-language}.csv with all files, dates, etc. 🤗
Metadata
Release files for fastapi-translations 0.0.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 | |
|---|---|---|---|
| fastapi_translations-0.0.9.tar.gz | 123.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_translations-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 131.8 kB
Release files / fastapi_translations-0.0.9.tar.gz
| Download URL | fastapi_translations-0.0.9.tar.gz |
|---|---|
| Size | 123.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b050cbd2f9bda62af4776c6161696858e29b016cec9689e9930bffe6a97e4733
|
|
BLAKE2b-256 checksum How to use checksums |
a9948d5644ff4928ebeda4555d057976b128a56f3656fb3b238bbb55ec92ef83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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 Jan 29, 2025.
Transparency logRelease files / fastapi_translations-0.0.9-py3-none-any.whl
| Download URL | fastapi_translations-0.0.9-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25824ca21e1773259e326cb3365abe6aa55d233d5147ddfc41efc6b6e7e0447e
|
|
BLAKE2b-256 checksum How to use checksums |
41630c42708043f515cf40495bd77d971e7e63dd0d5bedfd7fa7f5c9c2adb3aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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 Jan 29, 2025.
Transparency log