BSD Ports

textproc/py-titlecase 2.4.1 OpenBSD

library and cli tool to Capitalise Text for Titles

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Port added
Last update
Commit
22f6e4ccd5
Categories
textproc, devel, lang/python

Description

Python library to capitalize strings as specified by the New York Times Manual of Style.

This filter changes a given text to Title Caps, and attempts to be clever about SMALL words like a/an/the in the input. The list of "SMALL words" which are not capped comes from the New York Times Manual of Style, plus some others like 'vs' and 'v'.

The filter employs some heuristics to guess abbreviations that don't need conversion.

Install

Binary package:

pkg_add py3-titlecase

From the ports tree:

cd /usr/ports/textproc/py-titlecase && make install

Dependencies

Build dependencies 6
Run dependencies 1
Required by 1

Commit history 1

DateCommitCreditsLog message
22f6e4ccd5 kirill textproc/py-titlecase: new port (version 2.4.1)
Python library to capitalize strings as specified by the New York Times Manual of Style. This filter changes a given text to Title Caps, and attempts to be clever about SMALL words like a/an/the in the input. The list of "SMALL words" which are not capped comes from the New York Times Manual of Style, plus some others like 'vs' and 'v'. The filter employs some heuristics to guess abbreviations that don't need conversion. OK: kn@, sthen@