Drop-in replacements for Python collections
Project description
bunches
| Version | |
| Status | |
| Documentation | |
| Tools | |
| Compatibility | |
| Stats | |
What is bunches?
[TODO: Brief summary of the project]
Why use bunches?
Mappings
Dictionary: drop-in replacement for a python dict with anaddmethod for a default mechanism of adding data, adeletemethod for a default mechanism of deleting data, and asubsetmethod for returning a subset of the key/value pairs in a newDictionary.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 anaddmethod for a default mechanism of adding data, adeletemethod for a default mechanism of deleting data, and asubsetmethod for returning a subset of the key/value pairs in a newListing.DictList: iterable with both dict and list interfaces. Stored items must be hashable or have anameattribute.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cae4404fead2cd103000c416409110628ce0f433abe6d9dffee8a5b7a9df582
|
|
| MD5 |
1a12b0e40a54f2ff077af1f78ad13d88
|
|
| BLAKE2b-256 |
b7af2374ce005ce6e3409105fd20926ed8978e990e838a19121697e997765844
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a72382dd7119c4c947bb5ef6d11acce128c7aaa9dfa4a6cedf6b32450d15cd3f
|
|
| MD5 |
00a624ef56f42d40f3043e3b8f95deff
|
|
| BLAKE2b-256 |
3f75f21506e0d4016ba5043f0ef3821033749f2cd1040477263d4002c712269c
|