Skip to main content

An extension of fabricatio, which provide capabilities to translate text.

Project description

fabricatio-translate

MIT License Python Versions PyPI Version PyPI Downloads PyPI Downloads Build Tool: uv

An extension of fabricatio, which provides capabilities to translate text.


📦 Installation

This package is part of the fabricatio monorepo and can be installed as an optional dependency using either pip or uv:

pip install fabricatio[translate]
# or
uv pip install fabricatio[translate]

For a full installation that includes this package and all other components of fabricatio:

pip install fabricatio[full]
# or
uv pip install fabricatio[full]

🔍 Overview

Provides advanced text translation capabilities for fabricatio agents, supporting both single text and batch translation operations. It enables seamless multilingual communication with configurable translation specifications and supports chunked processing for large texts.

🧩 Key Features

  • Multi-language Support: Translate text between various languages with accurate context preservation
  • Batch Processing: Handle multiple translation requests simultaneously for efficiency
  • Chunked Translation: Process large texts by splitting them into manageable chunks with proper reassembly
  • Configurable Specifications: Customize translation style, tone, and terminology through specifications
  • Fallback Handling: Graceful handling of translation failures with source text preservation
  • Async Processing: High-performance asynchronous translation operations

🔗 Dependencies

Core dependencies:

  • fabricatio-core - Core interfaces and utilities

No additional dependencies required.

📄 License

MIT – see LICENSE

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fabricatio_translate-0.1.7-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file fabricatio_translate-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: fabricatio_translate-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_translate-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e08c2c90004b59f6d16e2bcededb3cc85a9107a2f1736bb0457eb275d5a83856
MD5 3935f1366df5b6fcf2a76623b2884261
BLAKE2b-256 67874a852023dd0dd70601e4ad7ca14e5e7da745e65ffd9306a2cba8c3a1a8f8

See more details on using hashes here.

Supported by

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