An open API service indexing awesome lists of open source software.

https://github.com/ojii/strslice

Python 3 style emoji-safe string slicing for Python 2.
https://github.com/ojii/strslice

python python2 unicode

Last synced: 5 months ago
JSON representation

Python 3 style emoji-safe string slicing for Python 2.

Awesome Lists containing this project

README

          

# strslice

Python 3 style emoji-safe string slicing for Python 2. Based on
[uniseg-python](https://pypi.python.org/pypi/uniseg/) by
[Masaaki Shibata](http://emptypage.jp/).

# Usage

```
>>> from strslice import strslice
>>> print(u'🏩'[0])
???
>>> print(strslice(u'🏩')[0])
🏩
```

# Release Notes

## 1.0

* Initial release
* Unicode 8.0.0 data