Skip to main content

Python client to translate markdown files from englisth to spanish

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

translate_md-0.0.1.tar.gz (39.9 kB view details)

Uploaded Source

Built Distribution

translate_md-0.0.1-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file translate_md-0.0.1.tar.gz.

File metadata

  • Download URL: translate_md-0.0.1.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for translate_md-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fe64efecfefbd6fa58ea12973c2d2989bea4d3fa0564b53f1fd74b19b9b69371
MD5 19f17419c1a9c6a4d3ec027362627d15
BLAKE2b-256 a3eec637460de35ccb7dea7c64cd82d7f98ff9754fddffb102ea3d26ee6dd951

See more details on using hashes here.

File details

Details for the file translate_md-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for translate_md-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 764df5552b3217c97991970c59f59abf120d2034af6a02b1d95e43110ef7c884
MD5 f5e53c9a7220d22672139f2e9c2c831e
BLAKE2b-256 6fa0bcfa5ceeaa8b78ddbcd75a09364edc6cdd1c2ad2fddf544dc7684ac10d3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page