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.0.4.tar.gz
(9.9 kB
view hashes)
Built Distribution
Close
Hashes for iterdub-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 029307c8edc5ca0ce042595b30e20e6fcf06a43d2e886eba608db481556180a8 |
|
MD5 | 3da1bcb46bd6d2450e1956e6e1f71d86 |
|
BLAKE2b-256 | fbc6fc7c0e5998731a447d36347740e6a164b1bb99acb06539a0ab1143755ed3 |