Python package for cafe simulation
Project description
cafeteria-simulation
Python package for cafeteria simulation
Installation
Use the package manager pip to install cafeteria-simulation.
pip install cafeteria-simulation
Usage
The easiest simulation to perform
from cafe import Cafeteria, TOYOTA
TIME = 300
env = Cafeteria(TOYOTA.data, TIME)
for _ in range(TIME):
env.run([])
# A graph showing the change in scores
env.show()
You can specify it by assigning the coordinates [table number, seat number] to run().
Also, you can refer to the number of people in group_member up to 10 groups.
Sample
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Contributors
License
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
Built Distribution
File details
Details for the file cafeteria-simulation-1.0.2.tar.gz
.
File metadata
- Download URL: cafeteria-simulation-1.0.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d081a49bfaf4228e8cab18c24d3778ed141116c607672680fdd7434b2cb65d |
|
MD5 | d32a1272afeed88ca485ad73217b4cc2 |
|
BLAKE2b-256 | 752d8706b32c256910f879bb360226a47cc0968c4069664311a7482ecfb70dc1 |
File details
Details for the file cafeteria_simulation-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: cafeteria_simulation-1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34e3e23e1554fb19ffca234f3bed7bc4b9add90bbb7ff51502559b3ca1bf5459 |
|
MD5 | c201aa18fb8c3e133bb6cf08064ed4f0 |
|
BLAKE2b-256 | 35b7a18284d7e16576d8b857354dfb7ca22d6695dd7a85b91a76ffaeaaf99d51 |