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)
Metadata
Release files for elide-text 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elide-text-0.0.1.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elide_text-0.0.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 5.2 kB
Release files / elide-text-0.0.1.tar.gz
| Download URL | elide-text-0.0.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
569c645d2a27f8e33d24f2a563b3e13c6e0e668a95911b05f1ab3802a4e2426e
|
|
BLAKE2b-256 checksum How to use checksums |
2a3fc082578ef61ed180030ec1e2e1cdebc75d616510af7fdbbcb6215181f064
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.15
|
Release files / elide_text-0.0.1-py2-none-any.whl
| Download URL | elide_text-0.0.1-py2-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
083ac89044ada180a95ed0387042014f788a1679b0fdbe8905b047a643af5344
|
|
BLAKE2b-256 checksum How to use checksums |
3bfe8843de9af1d7ea560999d77bd1aae40325c3e3c3c1642551a082c7282574
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.15
|