cu: generate a unique value from a consecutively number list
$ pip install cu
- Why not 😂
- Clean and focused
- Actively maintained
import cu as consecutively_unique
val = consecutively_unique.cu(1, 5)
print(val(), val(), val(), val())
# => 18 7 1 10
cu(minValue, maxValue)
Return a function with a unique value unique value form a consecutively number list
- consecutively-unique: same thing but in JavaScript
Carlos Abraham |
MIT License © Carlos Abraham