coghotswap


Namecoghotswap JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/TropicalShadow/coghotswap
SummaryAllow hot reloading of extensions for Pycord a fork of discord.py
upload_time2024-03-19 12:23:01
maintainer
docs_urlNone
authorTropicalShadow
requires_python>=3.7
licenseThe MIT License (MIT)
keywords discord development hotswap
VCS
bugtrack_url
requirements watchgod None
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CogHotSwap

> Work in progress

You ever wish that your discord bot cogs would just reload by themselves? Well now you can, by adding just one line of code to your bot we will automate the reloading of all your cogs, and hopefully give you feed back (Coming Soon Feature).

This project was built for [Pycord](https://github.com/Pycord-Development/pycord) a fork of [Discord.py](https://github.com/Rapptz/discord.py)

----

## Installation

```sh
git clone https://github.com/TropicalShadow/CogHotSwap
cd CogHotSwap
python -m pip install -U .
```

or if you have git, add this to your requirements.txt

```sh
git+https://github.com/TropicalShadow/CogHotSwap
```

----

## Coming Soon Features

- [x] List of unloaded cogs that can be loaded or have errored
- [x] Enhance the reloading of the files

----
Examples [here](examples/basic_bot.py)

```py
from discord.ext.commands import Bot
from coghotswap import Watcher

bot = Bot("!")
Watcher(bot, path="cogs")

bot.run("token")
```

----

## Need Support?

Contact me on discord `RealName_123#2570`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TropicalShadow/coghotswap",
    "name": "coghotswap",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "discord development hotswap",
    "author": "TropicalShadow",
    "author_email": "me@tesseract.club",
    "download_url": "https://files.pythonhosted.org/packages/21/7b/3b17f6e9f39ab9d37efa42b6d363c15c1488338f20ca6118a076a711ec25/coghotswap-0.0.2.tar.gz",
    "platform": null,
    "description": "# CogHotSwap\n\n> Work in progress\n\nYou ever wish that your discord bot cogs would just reload by themselves? Well now you can, by adding just one line of code to your bot we will automate the reloading of all your cogs, and hopefully give you feed back (Coming Soon Feature).\n\nThis project was built for [Pycord](https://github.com/Pycord-Development/pycord) a fork of [Discord.py](https://github.com/Rapptz/discord.py)\n\n----\n\n## Installation\n\n```sh\ngit clone https://github.com/TropicalShadow/CogHotSwap\ncd CogHotSwap\npython -m pip install -U .\n```\n\nor if you have git, add this to your requirements.txt\n\n```sh\ngit+https://github.com/TropicalShadow/CogHotSwap\n```\n\n----\n\n## Coming Soon Features\n\n- [x] List of unloaded cogs that can be loaded or have errored\n- [x] Enhance the reloading of the files\n\n----\nExamples [here](examples/basic_bot.py)\n\n```py\nfrom discord.ext.commands import Bot\nfrom coghotswap import Watcher\n\nbot = Bot(\"!\")\nWatcher(bot, path=\"cogs\")\n\nbot.run(\"token\")\n```\n\n----\n\n## Need Support?\n\nContact me on discord `RealName_123#2570`\n",
    "bugtrack_url": null,
    "license": "The MIT License (MIT)",
    "summary": "Allow hot reloading of extensions for Pycord a fork of discord.py",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/TropicalShadow/coghotswap"
    },
    "split_keywords": [
        "discord",
        "development",
        "hotswap"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f00ca6cbe16d2562ce909c18de93e8bfb18f35ba3fb81d3103b8bd1c58620695",
                "md5": "9665822ccd0e4d38d6e772b0c5fdf50b",
                "sha256": "082f94e840409361f9b437c03a3f0edac763cb4817bcac5fb44ee720b95c41be"
            },
            "downloads": -1,
            "filename": "coghotswap-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9665822ccd0e4d38d6e772b0c5fdf50b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6339,
            "upload_time": "2024-03-19T12:22:58",
            "upload_time_iso_8601": "2024-03-19T12:22:58.971847Z",
            "url": "https://files.pythonhosted.org/packages/f0/0c/a6cbe16d2562ce909c18de93e8bfb18f35ba3fb81d3103b8bd1c58620695/coghotswap-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "217b3b17f6e9f39ab9d37efa42b6d363c15c1488338f20ca6118a076a711ec25",
                "md5": "f9eab4b48ec394758a6d85e7f6039c7f",
                "sha256": "d7da2f58d9277cd381c73ebc12f769cfb633b0827cb193ae5b2ec448650f53e0"
            },
            "downloads": -1,
            "filename": "coghotswap-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f9eab4b48ec394758a6d85e7f6039c7f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5896,
            "upload_time": "2024-03-19T12:23:01",
            "upload_time_iso_8601": "2024-03-19T12:23:01.015948Z",
            "url": "https://files.pythonhosted.org/packages/21/7b/3b17f6e9f39ab9d37efa42b6d363c15c1488338f20ca6118a076a711ec25/coghotswap-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-19 12:23:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TropicalShadow",
    "github_project": "coghotswap",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "watchgod",
            "specs": []
        },
        {
            "name": null,
            "specs": []
        }
    ],
    "lcname": "coghotswap"
}
        
Elapsed time: 0.31667s