Skip to main content

Translate directory library

A library and a CLI to manage the translation text writing projects (e.g: LaTeX, Markdown, Jupyter, MyST, Typst). The library is aimed to simplify and automate the translation process and compiling of the translated version of the documents.

Credits

  • Nicolas M. Thiéry - for supervising this project.
  • LISN (Université Paris-Saclay) - for financing the internship and providing workspace.
  • CentraleSupélec - for financing the project.

Important

The library is still in an early phase of development and may have bugs and unimplemented features

Features

  • Project creation
  • Source language and the source folder to translate setting
  • Target language addition
  • Project files syncing (between languages)
  • Translation cache
  • File translation
  • Translation correction

The profound explanation of the logic and algorithms of the tool can be found here

Installation

For CLI usage

  1. Clone the repo: git clone https://github.com/DobbiKov/translate-dir-lib
  2. Enter to the directory: cd translate-dir-lib
  3. Install the CLI: uv tool install -e .
  4. Use it: translate-dir

For in-project library usage

  1. Clone the repo: git clone https://github.com/DobbiKov/translate-dir-lib
  2. Enter to your project where you want to use this library (cd <your_project_path>)
  3. Install the library as a dependency using pip: pip install <path_to_the_library_directory>
  4. Enjoy!

For the library development and contribution uses

  1. Ensure you have uv tool installed (visit their site for the installation guide)
  2. Clone the repo: git clone https://github.com/DobbiKov/translate-dir-lib
  3. Enter cd translate-dir-lib
  4. Install dependencies uv sync
  5. Enjoy

Testing

  1. Install the dependencies using uv sync
  2. Run tests: uv run pytest

Documentation

ToDo

📚 Citation

If you use this software in your research or writing, please cite it as follows:

@software{korotenko-sci-trans-git,
    author = {Yehor Korotenko},
    title = {sci-trans-git},
    year = {2025},
    publisher = {GitHub},
    version = {0.2.0-alpha},
    url = {https://github.com/DobbiKov/sci-trans-git},
    doi = {10.5281/zenodo.15775111}
}

Contributing

The suggestions and pull requests are welcome. Visit the issues pages as well as the project's main page and the shared document in order to know the current direction and plans of the project.

Metadata

Release files for translate-dir-lib 0.1.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 translate-dir-lib 0.1.2
File Size Uploaded Provenance Actions
translate_dir_lib-0.1.2.tar.gz 122.3 kB With provenance Details for translate_dir_lib-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for translate-dir-lib 0.1.2
File Interpreter ABI Platform Actions
translate_dir_lib-0.1.2-py3-none-any.whl Python 3 none any Details for translate_dir_lib-0.1.2-py3-none-any.whl

Total release size: 216.6 kB

Release files / translate_dir_lib-0.1.2.tar.gz

Download URL translate_dir_lib-0.1.2.tar.gz
Size 122.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3702fd75d414df9f8d48a1ce1c4e90ba1889e6cd5368352eeca7e0132dfebe21
BLAKE2b-256 checksum
How to use checksums
e91a700a83c7c39baeded19249ee85645de746ecdccc1bc3cdcf7d74424b3f3a
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 Mar 26, 2026.

Transparency log

Release files / translate_dir_lib-0.1.2-py3-none-any.whl

Download URL translate_dir_lib-0.1.2-py3-none-any.whl
Size 94.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c36ae125e38fb83d4a7d1b273b5f0a6dbdab756282ed40acdbed9eb2e17e63d
BLAKE2b-256 checksum
How to use checksums
c77657e651bd7be61203047139362854b2f7bdd1a95b61d783459c22fbcf8697
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 Mar 26, 2026.

Transparency log

Security for translate-dir-lib 0.1.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for translate_dir_lib-0.1.2.tar.gz

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 Mar 26, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

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