A chainable stack-based utility library
Reason this release was yanked:
No changes
Project description
StackLib
A chainable, stack-based utility library for Python.
Installation
pip install StackLib
Basic usage
from stacklib import Stack
stack = Stack()
stack.push(10).push(5).add()
print(f'stack: {stack}')
Features
- Chainable stack operations
- Functional helpers (map, filter, apply-at)
- Logical operations (sand, sor, snot)
- Stack manipulation (dup, swap, rot, over)
- Snapshots and restore
Why it exists
Inspired by stack-based languages (Forth, PostScript) and because i thought it was a fun project.
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 Distribution
stacklib-0.1.1.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stacklib-0.1.1.tar.gz.
File metadata
- Download URL: stacklib-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b20c55ef91dbc407d79815c191fe8f6c4de079a338966d4602c15ca262565077
|
|
| MD5 |
5a639f4e0892eb1c3bc4b548978de61e
|
|
| BLAKE2b-256 |
98a71f59110189a96a1ac75bd2344959b167f6188be9fdd4921cccd59afa3317
|
File details
Details for the file stacklib-0.1.1-py3-none-any.whl.
File metadata
- Download URL: stacklib-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c1f3b338d2f95f4ae2cfb2897aebc8cba3d34cb513922fe1a65831504b0029b
|
|
| MD5 |
468f14868e7fbd7d9dfe0bd5c59685ed
|
|
| BLAKE2b-256 |
f3b38807cd743b6c48476900ccd0bf27e03428c35451611d6ffb0f3553b3ce67
|