HTML Entities for Python
Project description
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 "<"
decoding
You can decode a htmlentitie to your relative char using decode method:
import htmlentities htmlentities.decode('<') # returns "<"
development
Source hosted at GitHub
Report issues on GitHub Issues
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for htmlentities-0.3.0.macosx-10.15-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4200fa85b90912fc901c7adf56f6d94e2804d1fa09d85cef351a3434595b42a |
|
MD5 | 1ce35d50ac453ee61bf37190189fc3d8 |
|
BLAKE2b-256 | 2c1354efc16f830980c77ab864e5b7193333da7978acf2e7498770347b6b1aed |
Close
Hashes for htmlentities-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62cb5a1d7b53f78780c9b6a1797c36f7f600256f436304c726cbd84edca65a48 |
|
MD5 | f594975729fe9290e64ffa75abbbad59 |
|
BLAKE2b-256 | ef4275959b4c2fa485a97c9f12bf41dc842ab78efa6e67f35f8be9d0e456da7b |