BSD Ports

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

SystemPortVersion
MidnightBSDtextproc/py-ftfy6.3.1
FreeBSDtextproc/py-ftfy6.3.1
NetBSDtextproc/py-ftfy6.3.1
DragonFlytextproc/py-ftfy6.3.1
HardenedBSDtextproc/py-ftfy6.3.1
GhostBSDtextproc/py-ftfy6.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

Runtime 1

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ftfy-6.3.1.tar.gz3089279b3c3d90f84fb267fe64d375a07b7f8912d817cf86009ae134aa03e1819506ec
Master sites 2
  • PYPI
  • https://github.com/rspeer/python-ftfy/releases/download/v6.3.1/

Commit history 1

DateCommitCreditsLog message
b807d69740 Lucas Holt Add LangChain AI ports and dependencies
AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>