The new pop(0)
Project description
doodoo
Don't like using .pop(0) because it looks weird? .pop(0) feels weird to type out for a queue?
LOOK NO FURTHER
The doodoo package contains a poop() function which does the same thing as .pop(0). BUTTTTTTT since your digestive system is basically a queue (First In First Out) it only makes sense to use poop(queue) instead of queue.pop(0)
install
pip install doodoo
If that doesnt work try:
pip3 install doodoo
usage
from doodoo import poop
queue = [1, 2, 3, 4, 5]
poo = poop(queue)
# poo = 1
# queue = [2, 3, 4, 5]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
doodoo-0.3-py3-none-any.whl
(1.5 kB
view details)
File details
Details for the file doodoo-0.3-py3-none-any.whl
.
File metadata
- Download URL: doodoo-0.3-py3-none-any.whl
- Upload date:
- Size: 1.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33d00e9c0bfced94a37b41c62178d65e170709f6d2d4633b4e41f66e527bf427 |
|
MD5 | 0c86f4caccffd9b2b7ee770ca26fc08b |
|
BLAKE2b-256 | b055ac691c85e9a7de1f4d22e0726507cab6f714481bb8513e93dea9bfb84ec3 |