Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iteratedc-0.6.5.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iteratedc-0.6.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file iteratedc-0.6.5.tar.gz.

File metadata

  • Download URL: iteratedc-0.6.5.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for iteratedc-0.6.5.tar.gz
Algorithm Hash digest
SHA256 ee1941af1a70af4b06af7191575fb87470729089468322cfac538c3a20fd4942
MD5 d256be8e5cda6ee5ae4a7977b4dd5a23
BLAKE2b-256 542f273105fac9a5c10a0fff5073ef41ab3739b5142bd8482ad10968b88152bb

See more details on using hashes here.

File details

Details for the file iteratedc-0.6.5-py3-none-any.whl.

File metadata

  • Download URL: iteratedc-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for iteratedc-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 97badd05582c47d53803ec4472f6a1f9413194d47bfede822a4b56bc10bb778d
MD5 ae959406f542093410882fc7af9f976f
BLAKE2b-256 fa7dcaacc9324c8f9a3d5a7f4a4f3a5cbf79d8962ed575fb055dc9a24b32ee78

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.5 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page