Skip to main content

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

Release files for leveloccur 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for leveloccur 1.0.0
File Size Uploaded
leveloccur-1.0.0.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for leveloccur 1.0.0
File Interpreter ABI Platform
leveloccur-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / leveloccur-1.0.0.tar.gz

Download URL leveloccur-1.0.0.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
75d7015f234c953bd7e66fab5a74677c7c837ac5c9ec07d89ef69808fad269c7
BLAKE2b-256 checksum
How to use checksums
9bc5f6665a2b51b908803f4d1570c28898599320d1b47ac2e2c2bda9c7825637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / leveloccur-1.0.0-py3-none-any.whl

Download URL leveloccur-1.0.0-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cff5d8194b7f11a20ba849c9e0bc6b887784e7c9c9bf5d87760bfc86838c0a90
BLAKE2b-256 checksum
How to use checksums
f18c02383f4592e81b120c8a2780388057e28739490ef316e5e04eb67e6fbfe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page