Skip to main content
Help us improve Python packaging – donate today!

This is a drop-in C replacement for Python's gettext.

Project Description

This is a drop-in C replacement for Python’s gettext.GNUTranslations. For our fairly large set of languages and strings, it makes parsing 10x faster.

Just import GNUTranslations from cgettext instead of gettext.

You can safely install this module on PyPy and other implementations where a C extension is undesirable, and it will simply re-export the built-in class.

The repository includes a small module, test_cgettext, that runs the built-in Python gettext tests with GNUTranslations monkeypatched.

Release history Release notifications

This version
History Node

0.1.post1

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cgettext-0.1.post1.tar.gz (29.0 kB) Copy SHA256 hash SHA256 Source None Jun 27, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page