Skip to main content

A small library to calculate mixes for the game Schedule 1

Project description

uncle-nelson

A small library to calculate mixes for the game Schedule 1.

PyPi version Python version License

Installing

Python 3.9 or higher is required

To install the latest stable version, use

pip install -U uncle-nelson

To install the development version (may be unstable), use

pip install -U git+https://github.com/codeofandrin/uncle-nelson

Example

from uncle_nelson import calculate_mix, DrugType, IngredientType

def main():
    mix = calculate_mix(DrugType.meth, [IngredientType.cuke, IngredientType.banana])
    effects = ", ".join(e.value for e in mix.effects)
    
    print(f"Your custom mix has following effects: {effects}")

if __name__ == "__main__":
    main()

Links

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

uncle_nelson-0.2.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

uncle_nelson-0.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file uncle_nelson-0.2.0.tar.gz.

File metadata

  • Download URL: uncle_nelson-0.2.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for uncle_nelson-0.2.0.tar.gz
Algorithm Hash digest
SHA256 338e479d26a76f04963580aade5c12769736a529edc02e779afc6a3f62075d6d
MD5 1b4c5b58d58a47225d5c8382a9a4a34a
BLAKE2b-256 d61a61334696e15642169578113998a92de654a182ccd5db711015e8947f8431

See more details on using hashes here.

File details

Details for the file uncle_nelson-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: uncle_nelson-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for uncle_nelson-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a3e5bbe93f287bc8189886195e1b31df4d862e552e2da694d4a702526cc4712
MD5 3417144a98fd1dd8f722b81f0e309378
BLAKE2b-256 677bacf356feb37275234180e00e090f0b970cac91e8bf1219a96daaa5ce40f3

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