https://github.com/codeofandrin/uncle-nelson
A small library to calculate mixes for the game Schedule 1
https://github.com/codeofandrin/uncle-nelson
calculator python python3 schedule-1 schedule-i
Last synced: 8 months ago
JSON representation
A small library to calculate mixes for the game Schedule 1
- Host: GitHub
- URL: https://github.com/codeofandrin/uncle-nelson
- Owner: codeofandrin
- License: mit
- Created: 2025-04-20T10:08:07.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-21T13:19:27.000Z (8 months ago)
- Last Synced: 2025-04-21T13:41:58.799Z (8 months ago)
- Topics: calculator, python, python3, schedule-1, schedule-i
- Language: Python
- Homepage: https://uncle-nelson.readthedocs.io/latest/
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
uncle-nelson
A small library to calculate mixes for the game Schedule 1.
## Installing
**Python 3.9 or higher is required**
To install the latest stable version, use
```cmd
pip install -U uncle-nelson
```
To install the development version (**may be unstable**), use
```cmd
pip install -U git+https://github.com/codeofandrin/uncle-nelson
```
## Example
```python
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
* [Documentation][1]
[1]: https://uncle-nelson.readthedocs.io/latest/