Skip to main content

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

Team

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham

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

cu-1.0.2.tar.gz (2.0 kB view hashes)

Uploaded source

Built Distribution

cu-1.0.2-py3-none-any.whl (2.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page