miniscutil
Collection of miscellaneous functions and methods that I wish were in core. I think that some of them are implemented by existing libraries.
This is supposed to be a big bag of code that I use in lots of my projects, eventually they should be replaced with an existing library or moved into their own specialized library.
dispatch.pyhijacks the dispatcher used byfunctools.singledispatchas its own class. This is used to implement aclassdispatchdecorator that can accept a type as argument.adapt, an implementation of PEP-246ofdict.pyconverts to and from a json-like objectJsonLike = Union[str, int, float, bool, type(None), list[JsonLike], dict[str, JsonLike]]. It overlaps a lot withattrs,cattrsandpydanticlibraries.deep.pyimplements a deepcopy-like reduction system for traversing, mapping and serializing arbitrary python objects.deepeq.pyimplements a deep-equality algorithm.current.pyis a base class for implementing the singleton pattern.sum.pydiscriminated sum type.
Metadata
Release files for miniscutil 0.2.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| miniscutil-0.2.16.tar.gz | 40.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| miniscutil-0.2.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 87.2 kB
Release files / miniscutil-0.2.16.tar.gz
| Download URL | miniscutil-0.2.16.tar.gz |
|---|---|
| Size | 40.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b960f6fbe4adcb8ea855639ac485ef61224a4af8dae32d2cdb4d687c3bc99c08
|
|
BLAKE2b-256 checksum How to use checksums |
099a07aa7519db0805fab00ced29a9d3f1fde4964f6612530c9ec89ad4318cf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|
Release files / miniscutil-0.2.16-py3-none-any.whl
| Download URL | miniscutil-0.2.16-py3-none-any.whl |
|---|---|
| Size | 46.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f6fb6169a3084916c7dadd125033c3a8d7180a84c39c35bc3619e5d84777d7d
|
|
BLAKE2b-256 checksum How to use checksums |
0fcf2eceab56c49453e32aad7d457df3a717536d8fec98de257912685ee8c505
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|