Generate a unique value from a consecutively number list
Project description
cu: generate a unique value from a consecutively number list
Install
$ pip install cu
Why Permutated?
- Why not 😂
- Clean and focused
- Actively maintained
Usage
import cu as consecutively_unique
val = consecutively_unique.cu(1, 5)
print(val(), val(), val(), val())
# => 18 7 1 10
API
cu(minValue, maxValue)
Return a function with a unique value unique value form a consecutively number list
Related
- consecutively-unique: same thing but in JavaScript
Team
Carlos Abraham |
License
MIT License © Carlos Abraham
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
cu-1.0.2.tar.gz
(2.0 kB
view details)
Built Distribution
cu-1.0.2-py3-none-any.whl
(2.1 kB
view details)
File details
Details for the file cu-1.0.2.tar.gz
.
File metadata
- Download URL: cu-1.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7deca08e5eaeadffdd4460aab66ab0c0be8d87fcdeb92cbb82b0967b2051ff8d |
|
MD5 | 9e84e8a171d8a1d0803ea01cbd3e6b6a |
|
BLAKE2b-256 | e09dec68ebc2bcc2311432100c25fd868b4f65f13f96a5d1fc71dc67dfdce050 |
File details
Details for the file cu-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: cu-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ae6b6f3aa8113a66dc7b8629f5c3e88b00347bd7091054e730bc47399d9fb8 |
|
MD5 | 0ed3c07988008ba80a9c6c19afc693b6 |
|
BLAKE2b-256 | 6694c1357c1150b4802efa0f9eaabcb5b2e7b01e67b7cb02fe249374b0316dad |