Python3 module to compress a list while maintaining order.
Project description
listcompress
Python3 module to compress a list while maintaining order.
Installation
Install with pip
pip3 install -U listcompress
Usage
In [1]: import listcompress
In [2]: listcompress.compress_list([1, 6, 4])
Out[2]: [0, 2, 1]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
listcompress-0.1.tar.gz
(1.6 kB
view details)
File details
Details for the file listcompress-0.1.tar.gz
.
File metadata
- Download URL: listcompress-0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6536721a6db52d2fd2847cae1478f80072e528e6c07033956af61606bbb1dd6 |
|
MD5 | 6ee11b4a649453e53dbb6982245f7d09 |
|
BLAKE2b-256 | 0f958c43e06398c68dddc1447d01938998f91c11f1d4fc67e8da68bdd2bd54a2 |