fallbacks


Namefallbacks JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/thatch/fallbacks
SummarySaves hints for whether fast paths should be tried
upload_time2024-03-05 16:20:48
maintainer
docs_urlNone
authorTim Hatch
requires_python>=3.7
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fallbacks

Used for caching whether a fast path is worthwhile.

This is an extremely simple cache with no locking and an assumption that if
multiple threads/processes try to record for the same key, that it's the same
value (so it doesn't matter which wins).

TODO

* load/save on disk


# Version Compat

Usage of this library should work back to 3.7, but development (and mypy
compatibility) only on 3.10-3.12.  Linting requires 3.12 for full fidelity.

# Versioning

This library follows [meanver](https://meanver.org/) which basically means
[semver](https://semver.org/) along with a promise to rename when the major
version changes.

# License

fallbacks is copyright [Tim Hatch](https://timhatch.com/), and licensed under
the MIT license.  See the `LICENSE` file for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/thatch/fallbacks",
    "name": "fallbacks",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Tim Hatch",
    "author_email": "tim@timhatch.com",
    "download_url": "https://files.pythonhosted.org/packages/3c/4c/cd3f52be5458b514712495267d330fe0ed119dea8460d1df61b1a5176617/fallbacks-0.1.0.tar.gz",
    "platform": null,
    "description": "# fallbacks\n\nUsed for caching whether a fast path is worthwhile.\n\nThis is an extremely simple cache with no locking and an assumption that if\nmultiple threads/processes try to record for the same key, that it's the same\nvalue (so it doesn't matter which wins).\n\nTODO\n\n* load/save on disk\n\n\n# Version Compat\n\nUsage of this library should work back to 3.7, but development (and mypy\ncompatibility) only on 3.10-3.12.  Linting requires 3.12 for full fidelity.\n\n# Versioning\n\nThis library follows [meanver](https://meanver.org/) which basically means\n[semver](https://semver.org/) along with a promise to rename when the major\nversion changes.\n\n# License\n\nfallbacks is copyright [Tim Hatch](https://timhatch.com/), and licensed under\nthe MIT license.  See the `LICENSE` file for details.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Saves hints for whether fast paths should be tried",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/thatch/fallbacks"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f7aac0db02141c2e60d28eb4df99e0a36d3bafc411e33b18e0be9badefdafdf",
                "md5": "f54abbff274498a9101db3b825afca57",
                "sha256": "c243da1817ffc301e0550f9d95f3909892f4afeca5100327d91c4f5d7c425fb5"
            },
            "downloads": -1,
            "filename": "fallbacks-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f54abbff274498a9101db3b825afca57",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4844,
            "upload_time": "2024-03-05T16:20:46",
            "upload_time_iso_8601": "2024-03-05T16:20:46.637351Z",
            "url": "https://files.pythonhosted.org/packages/9f/7a/ac0db02141c2e60d28eb4df99e0a36d3bafc411e33b18e0be9badefdafdf/fallbacks-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3c4ccd3f52be5458b514712495267d330fe0ed119dea8460d1df61b1a5176617",
                "md5": "bb269c369c4ae236aed0a1782942c750",
                "sha256": "c0f2e308d3d3f63db26f86bd08b2c6b07a844c50158b2264fb2aa15ae5047718"
            },
            "downloads": -1,
            "filename": "fallbacks-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bb269c369c4ae236aed0a1782942c750",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5926,
            "upload_time": "2024-03-05T16:20:48",
            "upload_time_iso_8601": "2024-03-05T16:20:48.362108Z",
            "url": "https://files.pythonhosted.org/packages/3c/4c/cd3f52be5458b514712495267d330fe0ed119dea8460d1df61b1a5176617/fallbacks-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-05 16:20:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "thatch",
    "github_project": "fallbacks",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "fallbacks"
}
        
Elapsed time: 0.25240s