Skip to main content

Python package for cafe simulation

Project description

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

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

cafeteria-simulation-1.0.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

cafeteria_simulation-1.0.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

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

Hashes for cafeteria-simulation-1.0.2.tar.gz
Algorithm Hash digest
SHA256 17d081a49bfaf4228e8cab18c24d3778ed141116c607672680fdd7434b2cb65d
MD5 d32a1272afeed88ca485ad73217b4cc2
BLAKE2b-256 752d8706b32c256910f879bb360226a47cc0968c4069664311a7482ecfb70dc1

See more details on using hashes here.

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

Hashes for cafeteria_simulation-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 34e3e23e1554fb19ffca234f3bed7bc4b9add90bbb7ff51502559b3ca1bf5459
MD5 c201aa18fb8c3e133bb6cf08064ed4f0
BLAKE2b-256 35b7a18284d7e16576d8b857354dfb7ca22d6695dd7a85b91a76ffaeaaf99d51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page