# 以色列队列
**Repository Path**: YonLiud/israeli-queue
## Basic Information
- **Project Name**: 以色列队列
- **Description**: 以色列队列是优先级队列的一种变体,它不是将优先级与要排队的元素相关联,而是使用“朋友”元素隐式派生优先级,并在朋友所属的组的后端加入。
- **Primary Language**: Python
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-02-03
- **Last Updated**: 2022-02-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: PyPi
## README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
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
```sh
pip install IsraeliQueue
```
## Usage Example
#### Sort by `Key`
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`
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.txt` for more information.
## Contact
* Project Link: [https://github.com/YonLiud/Israeli-Queue](https://github.com/YonLiud/Israeli-Queue)
* PyPI Link: [https://pypi.org/project/IsraeliQueue/](https://pypi.org/project/IsraeliQueue/)
* Discord: [y0nliud#1545](https://discord.com/)
## Acknowledgements
* [@jonatan1609](https://github.com/jonatan1609)
* [@nonameswereavailable](https://github.com/nonameswereavailable)
* [Python Discord Server](https://discord.gg/python)
[contributors-shield]: https://img.shields.io/github/contributors/YonLiud/Israeli-Queue.svg?style=for-the-badge
[contributors-url]: https://github.com/YonLiud/Israeli-Queue/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/YonLiud/Israeli-Queue.svg?style=for-the-badge
[forks-url]: https://github.com/YonLiud/Israeli-Queue/network/members
[stars-shield]: https://img.shields.io/github/stars/YonLiud/Israeli-Queue.svg?style=for-the-badge
[stars-url]: https://github.com/YonLiud/Israeli-Queue/stargazers
[issues-shield]: https://img.shields.io/github/issues/YonLiud/Israeli-Queue.svg?style=for-the-badge
[issues-url]: https://github.com/YonLiud/Israeli-Queue/issues
[license-shield]: https://img.shields.io/github/license/YonLiud/Israeli-Queue.svg?style=for-the-badge
[license-url]: https://github.com/YonLiud/Israeli-Queue/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/YonLiud