Skip to main content

Latex codec

This package installs a new codec named ‘latex’, which allows to convert byte strings (meaning standard Python 2 strings) into an equivalent that has all special characters expressed as Latex commands.

Currently, only encoding is supported:

>>> import latexcodec
>>> print u"Peter Tr\xf6ger".encode("latex")
Peter Tr\"oger

The conversion table is generated from the Latex utf-8 inputenc package, which should make sure that all relevant characters are covered.

The functionality of this package somehow is a hack, since LaTex encoding is not really a codec.

The future plan is to implement this alternatively as invalid character error handler, or as transformation codec starting from Python 3.3.

0.1 (2011-05-26):

  • Initial release

Metadata

Release files for latexcodec 0.1

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

Source distribution (sdist)

Source distribution for latexcodec 0.1
File Size Uploaded Provenance Actions
latexcodec-0.1.tar.gz 8.8 kB Without provenance Details for latexcodec-0.1.tar.gz

Release files / latexcodec-0.1.tar.gz

Download URL latexcodec-0.1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d4f6419e8c0a5d500900f8899f176d0898df4a40c89f8a23b16684c910bfa95b
BLAKE2b-256 checksum
How to use checksums
ca9390e8e5628698e41adc02515a67a7cc75448c501b985d7ff2c696e7f277ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for latexcodec 0.1

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.

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