Skip to content
/ cu Public

Generate a unique value from a consecutively number list

License

Notifications You must be signed in to change notification settings

abranhe/cu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation





cu: generate a unique value from a consecutively number list

Install

$ pip install cu

Why?

  • 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

Team

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham