miniscutil


Nameminiscutil JSON
Version 0.2.16 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2023-06-22 09:10:40
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # miniscutil

[![PyPI - Version](https://img.shields.io/pypi/v/miniscutil.svg)](https://pypi.org/project/miniscutil)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/miniscutil.svg)](https://pypi.org/project/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.py` hijacks the dispatcher used by `functools.singledispatch` as its own class. This is used to implement a `classdispatch` decorator that can accept a type as argument.
- `adapt`, an implementation of [PEP-246](https://peps.python.org/pep-0246/#specification)
- `ofdict.py` converts to and from a json-like object `JsonLike = Union[str, int, float, bool, type(None), list[JsonLike], dict[str, JsonLike]]`. It overlaps a lot with `attrs`, `cattrs` and `pydantic` libraries.
- `deep.py` implements a deepcopy-like reduction system for traversing, mapping and serializing arbitrary python objects.
- `deepeq.py` implements a deep-equality algorithm.
- `current.py` is a base class for implementing the singleton pattern.
- `sum.py` discriminated sum type.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "miniscutil",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "\"E.W.Ayers\" <contact@edayers.com>",
    "download_url": "https://files.pythonhosted.org/packages/09/9a/07aa7519db0805fab00ced29a9d3f1fde4964f6612530c9ec89ad4318cf1/miniscutil-0.2.16.tar.gz",
    "platform": null,
    "description": "# miniscutil\n\n[![PyPI - Version](https://img.shields.io/pypi/v/miniscutil.svg)](https://pypi.org/project/miniscutil)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/miniscutil.svg)](https://pypi.org/project/miniscutil)\n\n-----\n\nCollection of miscellaneous functions and methods that I wish were in core. I think that some of them are implemented by existing libraries.\n\nThis 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.\n\n- `dispatch.py` hijacks the dispatcher used by `functools.singledispatch` as its own class. This is used to implement a `classdispatch` decorator that can accept a type as argument.\n- `adapt`, an implementation of [PEP-246](https://peps.python.org/pep-0246/#specification)\n- `ofdict.py` converts to and from a json-like object `JsonLike = Union[str, int, float, bool, type(None), list[JsonLike], dict[str, JsonLike]]`. It overlaps a lot with `attrs`, `cattrs` and `pydantic` libraries.\n- `deep.py` implements a deepcopy-like reduction system for traversing, mapping and serializing arbitrary python objects.\n- `deepeq.py` implements a deep-equality algorithm.\n- `current.py` is a base class for implementing the singleton pattern.\n- `sum.py` discriminated sum type.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.2.16",
    "project_urls": {
        "Documentation": "https://github.com/EdAyers/sss/miniscutil#readme",
        "Issues": "https://github.com/EdAyers/sss/miniscutil/issues",
        "Source": "https://github.com/EdAyers/sss/miniscutil"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0fcf2eceab56c49453e32aad7d457df3a717536d8fec98de257912685ee8c505",
                "md5": "07fb91e7fa37b5d8d22bc20013913a16",
                "sha256": "0f6fb6169a3084916c7dadd125033c3a8d7180a84c39c35bc3619e5d84777d7d"
            },
            "downloads": -1,
            "filename": "miniscutil-0.2.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "07fb91e7fa37b5d8d22bc20013913a16",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 46609,
            "upload_time": "2023-06-22T09:10:41",
            "upload_time_iso_8601": "2023-06-22T09:10:41.560216Z",
            "url": "https://files.pythonhosted.org/packages/0f/cf/2eceab56c49453e32aad7d457df3a717536d8fec98de257912685ee8c505/miniscutil-0.2.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "099a07aa7519db0805fab00ced29a9d3f1fde4964f6612530c9ec89ad4318cf1",
                "md5": "c8913e4253265b9d270e542c830c0b3e",
                "sha256": "b960f6fbe4adcb8ea855639ac485ef61224a4af8dae32d2cdb4d687c3bc99c08"
            },
            "downloads": -1,
            "filename": "miniscutil-0.2.16.tar.gz",
            "has_sig": false,
            "md5_digest": "c8913e4253265b9d270e542c830c0b3e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 40567,
            "upload_time": "2023-06-22T09:10:40",
            "upload_time_iso_8601": "2023-06-22T09:10:40.430633Z",
            "url": "https://files.pythonhosted.org/packages/09/9a/07aa7519db0805fab00ced29a9d3f1fde4964f6612530c9ec89ad4318cf1/miniscutil-0.2.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-22 09:10:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "EdAyers",
    "github_project": "sss",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "miniscutil"
}
        
Elapsed time: 0.08235s