Custom Stack & Queue
Project description
CyStack
CyStack is a small collection of FIFO and FILO data structures. In both cases the internal data structure is an std::vector.
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
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
CyStack-0.1.5.tar.gz
(45.9 kB
view details)
Built Distribution
File details
Details for the file CyStack-0.1.5.tar.gz
.
File metadata
- Download URL: CyStack-0.1.5.tar.gz
- Upload date:
- Size: 45.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10d778f8211bd6dad9e12b4997338a7afe04d597b97d98d54db6d2176904166a |
|
MD5 | 4d72be9ceb47f2fffd6fd07f4b24bf7d |
|
BLAKE2b-256 | 3cc9150e9900de2b75e7b8e6cfc51b4b60499828e6b71e99b175ffc80f1ec8be |
File details
Details for the file CyStack-0.1.5-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: CyStack-0.1.5-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 31.5 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae797148d28b24895dfe7db634105d2fa271c47b99b64612e8e5fe185111b2a9 |
|
MD5 | 45d270ae8e7a2e4d8d9ca24ab85b054f |
|
BLAKE2b-256 | f9d9b24b9fcdf6bb0db3e5f9adcc753e01796bbc96c9731cc762bba8e88d1c59 |