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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fabricatio_translate-0.1.6.dev0-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.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 796aad3c36f83c1d0237612a368588349411b1e66c2a082d6f67051a1dd6cb3c
MD5 438d49557ace110184a111186ad020d4
BLAKE2b-256 ee6be8953e334b24f9719c48cfba655b05a3c1b6852f12ab4566e90ab543428f

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