Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for listcompress, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size listcompress-0.1.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page