Skip to main content
https://travis-ci.org/gengo/gengo-python.svg?branch=master

Gengo Python Library (for the Gengo API)

Translating your tools and products helps people all over the world access them; this is, of course, a somewhat tricky problem to solve. Gengo is a service that offers human-translation (which is often of higher quality than machine translation), and an API to manage sending in work and watching jobs. This is a Python interface to make using the API simpler.

CHANGELOG is here

Installation & Requirements

Installing this library using pip is very simple:

pip install gengo

Otherwise, you can install from source by getting the repo:

git clone git://github.com/gengo/gengo-python.git

And then installing the library:

python setup.py install

Tests - Running Them, etc

Gengo has a full suite of unit tests. To run them, make sure you have the mock library installed, and then simply run:

flake8 gengo

If you wish to run a single test, such as TestTranslationJobFlowFileUpload:

python -m unittest -v gengo.tests.TestTranslationJobFlowFileUpload

Question, Comments, Complaints, Praise?

If you have questions or comments and would like to reach us directly, please feel free to do so at the following outlets. We love hearing from developers!

If you come across any issues, please file them on the Github project issue tracker. Thanks!

Documentation

Full documentation can be found here, but anyone should be able to get a working script with the following:

from gengo import Gengo

gengo = Gengo(
    public_key='your_public_key',
    private_key='your_private_key',
    sandbox=True,
)

print(gengo.getAccountBalance())

All function definitions can be found inside gengo/mockdb.py as a dictionary: the key of the dictionary entry is the function name, and the parameters are exactly the same as specified in the Gengo API docs.

Metadata

Release files for gengo 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gengo 1.0.0
File Size Uploaded Provenance
gengo-1.0.0.tar.gz 11.2 kB Without provenance Details

Release files / gengo-1.0.0.tar.gz

Download URL gengo-1.0.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8765d7631fd6a914644932a8039c83c8ea7bdc8349cc4723d86036eb3ce18e89
BLAKE2b-256 checksum
How to use checksums
36bea1afdaf33dc613076f14d175ec59bf6d7a43ce25ac81086dc695b2e04790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gengo 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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