Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aineejames/rustle
a python rle lib built with rust
https://github.com/aineejames/rustle
Last synced: 5 days ago
JSON representation
a python rle lib built with rust
- Host: GitHub
- URL: https://github.com/aineejames/rustle
- Owner: AineeJames
- Created: 2024-02-03T23:35:34.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-04T01:05:47.000Z (11 months ago)
- Last Synced: 2025-01-02T22:15:41.735Z (10 days ago)
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rustle (python rle lib built with rust)
## Setup
```bash
git clone https://github.com/AineeJames/rustle.git
cd rustle
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```or
```bash
pip install rustle
```## Example
```python
import rustleprint(rustle.encode_str('aaaabbbcc')) # -> 'a4b3c2'
print(rustle.decode_str('a4b3c2')) # -> 'aaaabbbcc'
```