Metadata-Version: 2.1
Name: elide-text
Version: 0.0.1
Summary: A very simple text truncating function
Home-page: https://github.com/williambelle/elide-text
Author: William Belle
Author-email: william.belle@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Description-Content-Type: text/markdown

elide-text
==========

[![Build Status][travis-image]][travis-url]
[![Coverage Status][codecov-image]][codecov-url]
[![Requirements Status][requires-image]][requires-url]

A very simple text truncating function.

Install
-------

```bash
pip install elide-text
```

Usage
-----

```python
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](CONTRIBUTING.md).

Developer
---------

* [William Belle](https://github.com/williambelle)

License
-------

The MIT License (MIT)

[travis-image]: https://travis-ci.org/williambelle/elide-text.svg?branch=master
[travis-url]: https://travis-ci.org/williambelle/elide-text
[codecov-image]:https://codecov.io/gh/williambelle/elide-text/branch/master/graph/badge.svg
[codecov-url]:https://codecov.io/gh/williambelle/elide-text
[requires-image]:https://requires.io/github/williambelle/elide-text/requirements.svg?branch=master
[requires-url]:https://requires.io/github/williambelle/elide-text/requirements/?branch=master


