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.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

cafeteria_simulation-1.0.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file cafeteria-simulation-1.0.1.tar.gz.

File metadata

  • Download URL: cafeteria-simulation-1.0.1.tar.gz
  • Upload date:
  • Size: 5.2 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.8.6

File hashes

Hashes for cafeteria-simulation-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4975a4848ce4053b44cc650f32673bc9d2b8b63437043ade68cde731e6330697
MD5 61864113f865a03b4cc481f796ac55c6
BLAKE2b-256 67f969d2f8d753578950c59114016a1c8a0adf025781535c3ef3db0ac7bf5c72

See more details on using hashes here.

File details

Details for the file cafeteria_simulation-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: cafeteria_simulation-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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.8.6

File hashes

Hashes for cafeteria_simulation-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa5102f24d34520b28918dc0d5fc2d115566de9f22338d073b0e7f509bb35868
MD5 fde8d71e9034768ae62f3eeef912ed55
BLAKE2b-256 a5b6de2b25afb90363ceae5d6abd2381d2c23414471aa8e4da805fcd558763ff

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