Skip to main content

translate-md

Python client to spanglish, and a bit more. Translate your markdown files from english 🇬🇧 to spanish 🇪🇸.

CI/CD CI - Test
Docs Docs - Release
Package PyPI - Python Version
Meta Hatch project linting - Ruff code style - Black types - Mypy License: GPL v3

This project was developed for my personal use: translating markdown files from my blog posts. It may be useful for somebody (I would be honored to listen to that), but please don't expect everything correct to the detail.

Anyway, the API is not expected to change much unless some extra feature is required. Contributions are welcome!

To see the features along some examples, please visit the docs.

🔧 Installation

pip install translate-md

This client depends on a service which is currently expected tu run locally. You would need to get it to work:

Additional dependencies

You will need spanglish running in order to start working. The easiest way is to clone the repo and use docker for it. Get the service up you should be ready to go.

CLI version

It may be convenient for some cases, so the library comes with a CLI with a subset of the functionality:

pip install translate-md[cli]

Or maybe better with pipx

pipx install translate-md[cli]

Visit the docs for further information.

📝 Documentation

The documentation is made with Material for MkDocs and is hosted by GitHub Pages.

Release files for translate_md 0.0.1

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_md 0.0.1
File Size Uploaded
translate_md-0.0.1.tar.gz 39.9 kB Details

Built distribution (wheel)

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

Total release size: 73.1 kB

Release files / translate_md-0.0.1.tar.gz

Download URL translate_md-0.0.1.tar.gz
Size 39.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fe64efecfefbd6fa58ea12973c2d2989bea4d3fa0564b53f1fd74b19b9b69371
BLAKE2b-256 checksum
How to use checksums
a3eec637460de35ccb7dea7c64cd82d7f98ff9754fddffb102ea3d26ee6dd951
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Release files / translate_md-0.0.1-py3-none-any.whl

Download URL translate_md-0.0.1-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
764df5552b3217c97991970c59f59abf120d2034af6a02b1d95e43110ef7c884
BLAKE2b-256 checksum
How to use checksums
6fa0bcfa5ceeaa8b78ddbcd75a09364edc6cdd1c2ad2fddf544dc7684ac10d3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Release history Release notifications | RSS feed

This release

0.0.1 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