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 hashes)

Uploaded Source

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