Skip to main content

htmlentitiesdecode

This module makes it easy to decode html entities in strings.

License

htmlentitiesdecode is free software under the terms of the Do What The Fuck You Want To Public License version 2 (or any later version). The author of htmlentities is Niels Serup, contactable at ns@metanohi.org. This is version 0.1.1 of the program.

Installing

If you have python-setuptools installed, you can just do this:

$ sudo easy_install htmlentitiesdecode

Alternatively, download and extract the gzipped tarball found on this very page, and then run this:

$ sudo python setup.py install

The newest version of htmlentitiesdecode is always available at http://metanohi.org/projects/htmlentitiesdecode/ and at the Python Package Index.

Using

This module has only one main function: decode. Example usage:

>>> from htmlentitiesdecode import decode as entity_decode
>>> print entity_decode('Wie heißt du?')
Wie heißt du?
>>> print entity_decode('Ich heiße "htmlentitiesdecode".')
Ich heiße "htmlentitiesdecode".
>>> print entity_decode('Wir heißen "modules".')
Wir heißen "modules".

Running

When this module has been installed, you will have both a module and a command-line script that uses the decode function of the module. This script can be run this way:

$ decodehtmlentities TEXT

Changelog

  • Version 0.1.0: Initial release

  • Version 0.1.1: Fixed error in README

Metadata

Release files for htmlentitiesdecode 0.1.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 htmlentitiesdecode 0.1.1
File Size Uploaded Provenance Actions
htmlentitiesdecode-0.1.1.tar.gz 2.9 kB Without provenance Details for htmlentitiesdecode-0.1.1.tar.gz

Release files / htmlentitiesdecode-0.1.1.tar.gz

Download URL htmlentitiesdecode-0.1.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6110b4d4ae95a4786cb607196deea75ad8b86db585ac60fd11aa7fa4c44e52f6
BLAKE2b-256 checksum
How to use checksums
c4e43faff5bc66bb14781b1091e7cf2d100a78ab9404f4f09330836f826d5973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for htmlentitiesdecode 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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