Skip to main content

Provides a class to specify a level of something

Project description

Provides a class to specify a level of something.

Like this: The 'shackles' string has 6 values, two of them are 's'. The probability of occurrence of 's' is 2/8 = 0.25. It has a low level of occurrence, so when you code

leveloccur.Level('s', 'shackles')

It would return Low.

Another example, ratio of 3 to 6 is 3/6 = 0.5 , so

leveloccur.Level(3, 6)

would return Exactly half

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

leveloccur-1.0.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

leveloccur-1.0.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file leveloccur-1.0.0.tar.gz.

File metadata

  • Download URL: leveloccur-1.0.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for leveloccur-1.0.0.tar.gz
Algorithm Hash digest
SHA256 75d7015f234c953bd7e66fab5a74677c7c837ac5c9ec07d89ef69808fad269c7
MD5 5eabf266e0a152d7d30f1667b813bbdb
BLAKE2b-256 9bc5f6665a2b51b908803f4d1570c28898599320d1b47ac2e2c2bda9c7825637

See more details on using hashes here.

File details

Details for the file leveloccur-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: leveloccur-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for leveloccur-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cff5d8194b7f11a20ba849c9e0bc6b887784e7c9c9bf5d87760bfc86838c0a90
MD5 974d33d1d863f95b2ac8711c54189db7
BLAKE2b-256 f18c02383f4592e81b120c8a2780388057e28739490ef316e5e04eb67e6fbfe1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page