A very simple text truncating function
Project description
elide-text
A very simple text truncating function.
Install
pip install elide-text
Usage
from elidetext import elide_text
text = elide_text("A brand new tool devoted to complex neuron models", 25)
print(text) #=> A brand new tool devoted…
text = elide_text("🍺📰📚🍮🌵📴🎯🌿👂👓👌", 6)
print(text) #=> 🍺📰📚🍮🌵…
Contributing
Contributions are always welcome.
See Contributing.
Developer
License
The MIT License (MIT)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
elide-text-0.0.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for elide_text-0.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 083ac89044ada180a95ed0387042014f788a1679b0fdbe8905b047a643af5344 |
|
MD5 | 926121c62fe4cad2c8ee14d973e30e63 |
|
BLAKE2b-256 | 3bfe8843de9af1d7ea560999d77bd1aae40325c3e3c3c1642551a082c7282574 |