discord-cache


Namediscord-cache JSON
Version 1.0.0 PyPI version JSON
download
home_page
SummaryA better way to boost youre discord bot performace.
upload_time2023-09-17 18:36:15
maintainer
docs_urlNone
authorryzmae
requires_python>=3.9
license
keywords python discord-cache discord cache caching
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Discord Cache

- A better way to boost the performance of your Discord bot.

![image](assets/image.png)

---
## Installation

```bash
pip install discord-cache
```

## Usage

```python
from discord_cache import Cache

cache = Cache()

anyfunction():
    # Do something
    cache.insert("key", "value")
    # Do something else

anyfunction2():
    # Do something
    cache.get("key")
    # Do something else

anyfunction3():
    # Do something
    cache.delete("key")
    # Do something else
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License
[MIT](https://choosealicense.com/licenses/mit/)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "discord-cache",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "python,discord-cache,discord,cache,caching",
    "author": "ryzmae",
    "author_email": "ryzmae <contact@ryzm.tech>",
    "download_url": "",
    "platform": null,
    "description": "# Discord Cache\n\n- A better way to boost the performance of your Discord bot.\n\n![image](assets/image.png)\n\n---\n## Installation\n\n```bash\npip install discord-cache\n```\n\n## Usage\n\n```python\nfrom discord_cache import Cache\n\ncache = Cache()\n\nanyfunction():\n    # Do something\n    cache.insert(\"key\", \"value\")\n    # Do something else\n\nanyfunction2():\n    # Do something\n    cache.get(\"key\")\n    # Do something else\n\nanyfunction3():\n    # Do something\n    cache.delete(\"key\")\n    # Do something else\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A better way to boost youre discord bot performace.",
    "version": "1.0.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/ryzmae/discord-cache/issues",
        "Homepage": "https://github.com/ryzmae/discord-cache"
    },
    "split_keywords": [
        "python",
        "discord-cache",
        "discord",
        "cache",
        "caching"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "305fdbd48a6ef9e300b65b9e9ea530177e3c65c692400b113206a0c9257bd2a9",
                "md5": "ccdb53a90dd79f521fde3ccac2531b72",
                "sha256": "f338347e9314078fa891c45580206efee2645039495ec4aed94324426780246d"
            },
            "downloads": -1,
            "filename": "discord_cache-1.0.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ccdb53a90dd79f521fde3ccac2531b72",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.9",
            "size": 4786,
            "upload_time": "2023-09-17T18:36:15",
            "upload_time_iso_8601": "2023-09-17T18:36:15.122295Z",
            "url": "https://files.pythonhosted.org/packages/30/5f/dbd48a6ef9e300b65b9e9ea530177e3c65c692400b113206a0c9257bd2a9/discord_cache-1.0.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-17 18:36:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ryzmae",
    "github_project": "discord-cache",
    "github_not_found": true,
    "lcname": "discord-cache"
}
        
Elapsed time: 0.11642s