textproc/py-encutils 1.0.0 OpenBSD
text-encoding detection for Python
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Port added
- Last update
- Commit
c3f56bbd30- Categories
- textproc, lang/python
Description
A collection of helper functions to detect encodings of text files (like HTML, XHTML, XML, CSS, etc.) retrieved via HTTP, file or string.
getEncodingInfo is probably the main function of interest which uses other supplied functions itself and gathers all information together and supplies an EncodingInfo object.
Install
Binary package:
pkg_add py3-encutils
From the ports tree:
cd /usr/ports/textproc/py-encutils && make install
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.