Skip to main content

Drop-in replacements for Python collections

Project description

bunches

Version PyPI Latest Release GitHub Latest Release
Status Build Status Development Status Project Stability
Documentation Hosted By
Tools Documentation Linter Dependency Manager Pre-commit CI Editor Settings Repository Template Dependency Maintainer
Compatibility Compatible Python Versions Linux MacOS Windows
Stats PyPI Download Rate (per month) GitHub Stars GitHub Contributors GitHub Issues GitHub Forks

What is bunches?

[TODO: Brief summary of the project]

Why use bunches?

Mappings

  • Dictionary: drop-in replacement for a python dict with an add method for a default mechanism of adding data, a delete method for a default mechanism of deleting data, and a subset method for returning a subset of the key/value pairs in a new Dictionary.
  • Catalog: wildcard-accepting dict which is intended for storing different options and strategies. It also returns lists of matches if a list of keys is provided.
  • Library: a dictionary that automatically supplies key names for stored items. The 'overwrite' argument determines if a unique key should always be created or whether entries may be overwritten.

Sequences

  • Listing: drop-in replacement for a python list with an add method for a default mechanism of adding data, a delete method for a default mechanism of deleting data, and a subset method for returning a subset of the key/value pairs in a new Listing.
  • DictList: iterable with both dict and list interfaces. Stored items must be hashable or have a name attribute.

Getting started

Requirements

[TODO: List any OS or other restrictions and pre-installation dependencies]

Installation

To install bunches, use pip:

pip install bunches

Usage

[TODO: Describe common use cases, with possible example(s)]

Contributing

Contributors are always welcome. Feel free to grab an issue to work on or make a suggested improvement. If you wish to contribute, please read the Contribution Guide and Code of Conduct.

Similar Projects

[TODO: If they exist, it is always nice to acknowledge other similar efforts]

Acknowledgments

I'd also like to extend a special thanks to pawamoy whose excellent pdm and mkdocs extensions and utlities are incorporated into snickerdoodle. Some of the scripts, documentation, configuration files, and other CI code were all adapted from pawamoy's repositories.

I would also like to thank the University of Kansas School of Law for tolerating and supporting this law professor's coding efforts, an endeavor which is well outside the typical scholarly activities in the discipline.

License

Use of this repository is authorized under the Apache Software License 2.0.

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

bunches-0.1.3.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

bunches-0.1.3-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file bunches-0.1.3.tar.gz.

File metadata

  • Download URL: bunches-0.1.3.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.15.1 CPython/3.10.12 Linux/6.5.0-1018-azure

File hashes

Hashes for bunches-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7cae4404fead2cd103000c416409110628ce0f433abe6d9dffee8a5b7a9df582
MD5 1a12b0e40a54f2ff077af1f78ad13d88
BLAKE2b-256 b7af2374ce005ce6e3409105fd20926ed8978e990e838a19121697e997765844

See more details on using hashes here.

File details

Details for the file bunches-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: bunches-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.15.1 CPython/3.10.12 Linux/6.5.0-1018-azure

File hashes

Hashes for bunches-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a72382dd7119c4c947bb5ef6d11acce128c7aaa9dfa4a6cedf6b32450d15cd3f
MD5 00a624ef56f42d40f3043e3b8f95deff
BLAKE2b-256 3f75f21506e0d4016ba5043f0ef3821033749f2cd1040477263d4002c712269c

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