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.6-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fabricatio_translate-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4be267723d16880e23bba90c53d9d98ca694fe58ba3ad68a3b54d64c74da1abb
MD5 2826a7c56c13e059c8196b4b891149e1
BLAKE2b-256 3225b4c0ea49446a9c47098e3ff0b91ba7450112c5a1c6acb79c14df5d41193b

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