textproc/py-unicode-segmentation-rs 0.3.3_1 DragonFly
Unicode segmentation and width for Python using Rust
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- python, textproc
- Package size
- 196.6 KiB, 589.4 KiB installed
Description
Python bindings for the Rust unicode-segmentation and unicode-width crates, providing Unicode text segmentation and width calculation according to Unicode standards.
Features:
- Grapheme Cluster Segmentation: Split text into user-perceived characters
- Word Segmentation: Split text into words according to Unicode rules
- Sentence Segmentation: Split text into sentences
- Display Width Calculation: Get the display width of text (for terminal/monospace display)
- Gettext PO Wrapping: Wrap text for gettext PO files with proper handling of escape sequences and CJK characters
In the other systems
The newest version among them is 1.0.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | textproc/py-unicode-segmentation-rs | 0.3.3_1 behind since 2026-10-26 | none known | - | [email protected] | - |
| FreeBSD | textproc/py-unicode-segmentation-rs | 1.0.1 newest | none known | - | [email protected] | 2026-11-09 |
| NetBSD | textproc/py-unicode-segmentation-rs | 0.3.3 behind since 2026-10-26 | none known | - | [email protected] | 2026-11-02 |
| HardenedBSD | textproc/py-unicode-segmentation-rs | 0.3.3_2 behind since 2026-10-26 | no data | - | [email protected] | - |
| GhostBSD | textproc/py-unicode-segmentation-rs | 0.3.3_2 behind since 2026-10-26 | no data | - | [email protected] | - |
Version history 1
- 0.3.3
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install py312-unicode-segmentation-rs
From DPorts:
cd /usr/dports/textproc/py-unicode-segmentation-rs && make install clean
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.