Skip to main content

HTML Entities for Python

Installing

For install python-htmlentities, run on terminal:

$ [sudo] pip install htmlentities

Using htmlentities

encoding

You can encode a char to your htmlentitie relative using encode method:

import htmlentities

htmlentities.encode('<') # returns "&lt"

decoding

You can decode a htmlentitie to your relative char using decode method:

import htmlentities

htmlentities.decode('&lt') # returns "<"

development

Pull requests are very welcomed! Make sure your patches are well tested.

running the tests

if you are using a virtualenv, all you need is:

$ make test

community

irc channel

#cobrateam channel on irc.freenode.net

Metadata

Release files for htmlentities 0.3.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 htmlentities 0.3.0
File Size Uploaded
htmlentities-0.3.0.macosx-10.15-x86_64.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for htmlentities 0.3.0
File Interpreter ABI Platform
htmlentities-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / htmlentities-0.3.0.macosx-10.15-x86_64.tar.gz

Download URL htmlentities-0.3.0.macosx-10.15-x86_64.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e4200fa85b90912fc901c7adf56f6d94e2804d1fa09d85cef351a3434595b42a
BLAKE2b-256 checksum
How to use checksums
2c1354efc16f830980c77ab864e5b7193333da7978acf2e7498770347b6b1aed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

Release files / htmlentities-0.3.0-py3-none-any.whl

Download URL htmlentities-0.3.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62cb5a1d7b53f78780c9b6a1797c36f7f600256f436304c726cbd84edca65a48
BLAKE2b-256 checksum
How to use checksums
ef4275959b4c2fa485a97c9f12bf41dc842ab78efa6e67f35f8be9d0e456da7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

1 release file

0.2

1 release file

0.1.1

1 release file

0.1

1 release file

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