Skip to main content

A Python module that allows the usage of Israeli Queue

Project description

Contributors Forks Stargazers Issues MIT License


Logo

Israeli Queue

Israeli Queues are a variation of Priority Queues where instead of associating priority with the element to be enqueued, the pr

About The Project

A project planned and built by 3 Israeli 11 grades that met on the Offical Python Discord

About Israeli Queues

Queues in Israel are usually unorganized, due to which people tend to find their friends, who are already waiting, and instead of adhering to the usual protocol of joining at the back end, they cut through and directly join their friends. Israeli Queues mimic this behavior and hence get this punny name.

Getting Started

To get the module working simply follow these steps:

Installation

pip install IsraeliQueue

Usage Example

Sort by Key

carbon-1

Returns: [Item(item='Noy', group=0), Item(item='Nitzan', group=0), Item(item='Omry', group=1), Item(item='Omer', group=1), Item(item='Oz', group=1), Item(item='Alma', group=2)]

Sort by Type

carbon-2

Returns: [[2, 4], ['Alex', 'Robert'], [[0.4, 0.9]]]

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/YonLiud/Israeli-Queue

PyPI Lik: https://pypi.org/project/IsraeliQueue/

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

IsraeliQueue-1.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file IsraeliQueue-1.1.tar.gz.

File metadata

  • Download URL: IsraeliQueue-1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for IsraeliQueue-1.1.tar.gz
Algorithm Hash digest
SHA256 2fa18acd5809d8a8d40c196db4c570e464ac4a2e9d95dfffc3fb1b902186fa56
MD5 c2dc8fcad3761fe40d78a52051b5fadc
BLAKE2b-256 57d89fa0ad6d08274185e08501717828dc140ef1b36359226b85823e0fbcc3fb

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