https://github.com/pykit3/k3str
k3str is a collection of string utilities.
https://github.com/pykit3/k3str
bytes str
Last synced: 5 months ago
JSON representation
k3str is a collection of string utilities.
- Host: GitHub
- URL: https://github.com/pykit3/k3str
- Owner: pykit3
- License: mit
- Created: 2020-06-09T13:56:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-08-28T12:38:28.000Z (9 months ago)
- Last Synced: 2025-09-18T04:33:32.246Z (9 months ago)
- Topics: bytes, str
- Language: Python
- Homepage: https://blog.openacid.com
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k3str
[](https://github.com/pykit3/k3str/actions/workflows/python-package.yml)
[](https://k3str.readthedocs.io/en/stable/?badge=stable)
[](https://pypi.org/project/k3str)
k3str is a collection of string utilities.
k3str is a component of [pykit3] project: a python3 toolkit set.
# Install
```
pip install k3str
```
# Synopsis
```python
>>> repr(to_bytes('我'))
"b'\\xe6\\x88\\x91'"
```
# Author
Zhang Yanpo (张炎泼)
# Copyright and License
The MIT License (MIT)
Copyright (c) 2015 Zhang Yanpo (张炎泼)
[pykit3]: https://github.com/pykit3