No project description provided
Project description
Mario's Candy Shop
- Created By Jacob H Barrow
Why Was It Created
- Data is gold, so learning cybersecurity can be tricky without simulated testbeds.
- Use this package to test supply chain fundamentals.
Usage
>>> from marios_candy_shop import Shop, simulate_sampling
>>>
>>> shop1 = Shop()
>>>
>>> candies = (('Chocolate Bar', 4, 1), ('Gumdrops', 3, 0.3), ('Gobstopper', 5, 3))
>>>
>>> delicacies = [Delicacy(*item) for item in candies]
>>>
>>> try:
>>> new_order = shop1.get_1000_units(delicacies[0], price_percent=80)
>>> print()
>>> print(f'Original price of first item: {delicacies[0].price}')
>>> print(f'New price of first item: {new_order[0][0][0].price}')
>>> except:
>>> print(f'Couldnt fulfill order!')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file marios_candy_shop-0.0.2.tar.gz.
File metadata
- Download URL: marios_candy_shop-0.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aef37fd448907d8c603b1ab6adda1603faa9da6b906ca6d246e35f3e687293b7
|
|
| MD5 |
fc026d714c005034fa528a531fa93ca7
|
|
| BLAKE2b-256 |
c42b9aa7861e3a6b77a4d08b2e1bf6ddf29698d6268c1f8ec1a5f9759645fa39
|
File details
Details for the file marios_candy_shop-0.0.2-py3-none-any.whl.
File metadata
- Download URL: marios_candy_shop-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
641a43b49944f63a15d3eb2e6e11de83e4ed7332520f53238ad718c47ea5587f
|
|
| MD5 |
6d4f1a26c05a558abbce5329336b3675
|
|
| BLAKE2b-256 |
7745620efd4b4c4f4b50be43e1cf6716afebb769646d62b2510caeaeebad761e
|