textproc/py-ftfy 6.3.1 MidnightBSD
Fix some problems with Unicode text after the fact
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b807d69740- License
- mit
- Categories
- textproc, python
Description
ftfy: fixes text for you
ftfy fixes Unicode that's broken in various ways.
The goal of ftfy is to take in bad Unicode and output good Unicode, for use in your Unicode-aware code. This is different from taking in non-Unicode and outputting Unicode, which is not a goal of ftfy. It also isn't designed to protect you from having to write Unicode-aware code. ftfy helps those who help themselves.
Of course you're better off if your input is decoded properly and has no glitches. But you often don't have any control over your input; it's someone else's mistake, but it's your problem now.
ftfy will do everything it can to fix the problem.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | textproc/py-ftfy | 6.3.1 |
| FreeBSD | textproc/py-ftfy | 6.3.1 |
| NetBSD | textproc/py-ftfy | 6.3.1 |
| DragonFly | textproc/py-ftfy | 6.3.1 |
| HardenedBSD | textproc/py-ftfy | 6.3.1 |
| GhostBSD | textproc/py-ftfy | 6.3.1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}ftfy
From mports:
cd /usr/mports/textproc/py-ftfy && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ftfy>0:textproc/py-ftfy
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 1
${PYTHON_PKGNAMEPREFIX}wcwidth>=0: devel/py-wcwidth
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ftfy-6.3.1.tar.gz | 308927 | 9b3c3d90f84fb267fe64d375a07b7f8912d817cf86009ae134aa03e1819506ec |
Master sites 2
- PYPI
- https://github.com/rspeer/python-ftfy/releases/download/v6.3.1/
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |