CyStack-0.1.5
توضیحات
Custom Stack & Queue
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | CyStack-0.1.5 |
| نام | CyStack |
| نسخه کتابخانه | 0.1.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robert Sharp |
| ایمیل نویسنده | webmaster@sharpdesigndigital.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/CyStack/ |
| مجوز | Free for non-commercial use |
# CyStack
CyStack is a small collection of FIFO and FILO data structures. In both cases
the internal data structure is an std::vector<int>.
### Installation
`pip install CyStack`
## CyStack: Iterator
Integer FILO Data Structure
- push: adds an int value to the stack
- pop: removes and returns the newest int value
- Implements:
- `__init__`: Takes any iterable
- `__iter__`: Iterator
- `__len__`: Size
- `__str__`: String
## CyQueue: Iterator
Integer FIFO Data Structure
- push: adds an int value to the queue
- pop: removes and returns the oldest int value
- Implements:
- `__init__`: Takes any iterable
- `__iter__`: Iterator
- `__len__`: Size
- `__str__`: String
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl CyStack-0.1.5:
pip install CyStack-0.1.5.whl
نصب پکیج tar.gz CyStack-0.1.5:
pip install CyStack-0.1.5.tar.gz