iterdub makes generating acompact name to describe a series easy & consistent
Project description
iterdub
iterdub makes generating a compact name to describe a series easy & consistent
Free software: MIT license
Documentation: https://iterdub.readthedocs.io.
from iterdub import iterdub as ib
# returns 'a'
ib.dub(['a'])
# returns 'a~b'
ib.dub(['a', 'b'])
# returns 'num_unique%3'
ib.dub(['a', 'b', 'c'])
# returns '1-5'
ib.dub([1,2,3,4,5])
# returns '1-5%2'
ib.dub([1,3,5])
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2021-04-01)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iterdub-0.2.0.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for iterdub-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0983240986bc90eb1de1f8ce2e747fda1f6d66399e3ab74968424b6228bc68c |
|
MD5 | a25b21042ece1ee39205a32eb93e93ad |
|
BLAKE2b-256 | 9e0476a67198d97bba6976e373b463d7d34bd8f30b5176f4fa35eb5a4d314775 |