Skip to main content

cafeteria-simulation

Python package for cafeteria simulation

Python package Github issues Github license

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

Apache License 2.0

Metadata

Release files for cafeteria-simulation 1.0.2

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

Source distribution (sdist)

Source distribution for cafeteria-simulation 1.0.2
File Size Uploaded
cafeteria-simulation-1.0.2.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cafeteria-simulation 1.0.2
File Interpreter ABI Platform
cafeteria_simulation-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / cafeteria-simulation-1.0.2.tar.gz

Download URL cafeteria-simulation-1.0.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
17d081a49bfaf4228e8cab18c24d3778ed141116c607672680fdd7434b2cb65d
BLAKE2b-256 checksum
How to use checksums
752d8706b32c256910f879bb360226a47cc0968c4069664311a7482ecfb70dc1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / cafeteria_simulation-1.0.2-py3-none-any.whl

Download URL cafeteria_simulation-1.0.2-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34e3e23e1554fb19ffca234f3bed7bc4b9add90bbb7ff51502559b3ca1bf5459
BLAKE2b-256 checksum
How to use checksums
35b7a18284d7e16576d8b857354dfb7ca22d6695dd7a85b91a76ffaeaaf99d51
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.3

2 release files

0.0.2

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