iteratedc - A small python iterator for python 3 dataclasses
iteratedc is a small library used to iterate over python 3 dataclasses. It will not only traverse the low level, but will create the a tree-search diving down collections of dataclasses as well. If on each level, a dataclass is present it will follow these child nodes one level down.
You can choose between four operation modes:
- BFS (Breadth first search)
- DFS (Depth first search)
- Pre-Order
- In-Order
- Post-Order
- Reverse Pre-Order
- Reverse Post-Order
The result will not be the current node but a NodeElement carrying the current node.
These NodeElements accept visitors according to the visitor pattern.
Licensing
This library is published under BSD-3-Clause license.
Versioning
This library follows semantic versioning 2.0. Any breaking change will produce a new major release. Versions below 1.0 are considered to have a unstable interface.
Metadata
Release files for iteratedc 0.6.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iteratedc-0.6.5.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iteratedc-0.6.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / iteratedc-0.6.5.tar.gz
| Download URL | iteratedc-0.6.5.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee1941af1a70af4b06af7191575fb87470729089468322cfac538c3a20fd4942
|
|
BLAKE2b-256 checksum How to use checksums |
542f273105fac9a5c10a0fff5073ef41ab3739b5142bd8482ad10968b88152bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / iteratedc-0.6.5-py3-none-any.whl
| Download URL | iteratedc-0.6.5-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97badd05582c47d53803ec4472f6a1f9413194d47bfede822a4b56bc10bb778d
|
|
BLAKE2b-256 checksum How to use checksums |
fa7dcaacc9324c8f9a3d5a7f4a4f3a5cbf79d8962ed575fb055dc9a24b32ee78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|