ODT — Ordered Dictionary Tools
ODT is a Python utility library for manipulating dictionary entries by position.
Features
- Insert entries at specific positions
- Remove entries by position
- Retrieve entries by position
- Move entries
- Swap entries
- Sort dictionaries by value
Installation
python -m pip install odt-waffles
Example
from odt import insert_at, get_at
player = {
"name": "Nova",
"health": 100,
"level": 5,
}
player = insert_at(player, 1, "xp", 250)
print(player)
print(get_at(player, 1))
Version
0.1.0
Created by Waffleson https://youtube.com/@butterywaffleson?si=wiNxCLoV8Ges6o_S https://github.com/ButteryWaffleson
Metadata
Release files for odt-waffles 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| odt_waffles-0.1.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odt_waffles-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 kB
Release files / odt_waffles-0.1.0.tar.gz
| Download URL | odt_waffles-0.1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d650e6ed9107e8c52bf498c697309baf2487739d1d1a277c2ab2e478f242fb8b
|
|
BLAKE2b-256 checksum How to use checksums |
cc42cc22af15ca2d502a9a9be544c440699b30b3c2d105d60892c12cdffb1dcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0
|
Release files / odt_waffles-0.1.0-py3-none-any.whl
| Download URL | odt_waffles-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e481372d7228c8f1978c56933128d6322d1868bfe32e779f54019c71e8e1dda7
|
|
BLAKE2b-256 checksum How to use checksums |
7fa70626fcab0d1621a2045f2b40ebe319adae0aa3c797cfd911d0a70ee7737a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.0
|