Skip to main content

Tools for handling recursive sequences (of sequences of sequences of ...)

Project description

recurtools

A simple library to support working with recursively nested objects.

Primarily built around the nested class which offers in, len, index() and count() functionality.
Additionally, the flatten() function provides the ability to configure behaviour for strings etc.

Installation

pip install recurtools

Usage

from recurtools import nested
from recurtools import flatten

Documentation

For full details see the docs on github.io

Project details


Download files

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

Source Distribution

recurtools-1.0.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

recurtools-1.0.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file recurtools-1.0.0.tar.gz.

File metadata

  • Download URL: recurtools-1.0.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for recurtools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1f726113747d03ff8f6fe23fc333e53b0181afaafd80c9dc130184bed16df5b9
MD5 1b08f5d444e3175244564a567fcfab42
BLAKE2b-256 65d79e08ccebc809dc4aecc6d73965aa35bd8a9bd04ed58dad5213b35bf084bc

See more details on using hashes here.

File details

Details for the file recurtools-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: recurtools-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for recurtools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58f5d6e026803ffaf2dbd517af616ebb5d922a1b5c0c38d9fe8be6fa36ee4477
MD5 43c3dd21c1c7d31234231fe7943c27c5
BLAKE2b-256 37225dcbfef9afbd253f711b68df045b91ba8efc2c8743a58f11128a7bac2896

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page