[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FSenophyx%2FDiscord-RPC&label=Visitors&countColor=%2337d67a&style=flat&labelStyle=none)](https://github.com/Senophyx/Discord-RPC)
[![Discord](https://img.shields.io/discord/887650006977347594?label=EterNomm&logo=discord)](https://discord.gg/qpT2AeYZRN)
[![Total Downloads](https://static.pepy.tech/badge/discord-rpc)](https://pepy.tech/project/discord-rpc)
[![PyPI](https://img.shields.io/pypi/v/discord-rpc?label=PyPI%20Version&logo=pypi)](https://pypi.org/project/discord-rpc)
[![PyPI - Status](https://img.shields.io/pypi/status/discord-rpc?label=Packages%20Status&logo=pypi)](https://pypi.org/project/discord-rpc)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/Senophyx/discord-rpc?label=Commit%20Activity&logo=github)](https://github.com/Senophyx/discord-rpc)
# Discord RPC
An Python wrapper for Discord RPC API. Allow you to make own custom RPC.
[![Changelog](https://img.shields.io/badge/Discord--RPC-Changelog-informational?style=for-the-badge&logo=github)](https://gist.github.com/Senophyx/019b77be3cca743c4ada423ccf80b836)
## Install
- PyPI
```
pip install discord-rpc
```
## Quick example
```py
import discordrpc
rpc = discordrpc.RPC(app_id=12345678910)
rpc.set_activity(
state="A super simple rpc",
details="simple RPC"
)
# Required if you only run Discord RPC on this file or current instance.
rpc.run()
```
`rpc.run()` is only used if you are only running Discord RPC on the current file/instance. If there are other programs/tasks on the current instance, `rpc.run()` does not need to be used.
See documentation [here](https://github.com/Senophyx/Discord-RPC/blob/main/DOCS.md).<br>
More examples [here](https://github.com/Senophyx/discord-rpc/tree/main/examples).
## Contributors
Big thanks for contributors who help this project keep updated, and maintained.
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="25%"><a href="https://pukima.site"><img src="https://avatars.githubusercontent.com/u/58347116?v=4?s=100" width="100px;" alt="Pukima"/><br /><sub><b>Pukima</b></sub></a><br /><a href="#bug-Pukimaa" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="25%"><a href="https://github.com/k9ur"><img src="https://avatars.githubusercontent.com/u/67886793?v=4?s=100" width="100px;" alt="k9er"/><br /><sub><b>k9er</b></sub></a><br /><a href="#doc-k9ur" title="Documentation">📖</a></td>
<td align="center" valign="top" width="25%"><a href="https://www.kaleko.dev/"><img src="https://avatars.githubusercontent.com/u/54416665?v=4?s=100" width="100px;" alt="Kale"/><br /><sub><b>Kale</b></sub></a><br /><a href="#bug-Kale-Ko" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="25%"><a href="https://github.com/TaIFeel"><img src="https://avatars.githubusercontent.com/u/94287800?v=4?s=100" width="100px;" alt="TaIFeel"/><br /><sub><b>TaIFeel</b></sub></a><br /><a href="#code-TaIFeel" title="Code">💻</a></td>
</tr>
<tr>
<td align="center" valign="top" width="25%"><a href="https://buymeacoffee.com/saves"><img src="https://avatars.githubusercontent.com/u/8108358?v=4?s=100" width="100px;" alt="Jesusaves"/><br /><sub><b>Jesusaves</b></sub></a><br /><a href="#bug-pazkero" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="25%"><a href="http://dipeshaggarwal.com"><img src="https://avatars.githubusercontent.com/u/1311129?v=4?s=100" width="100px;" alt="Dipesh Aggarwal"/><br /><sub><b>Dipesh Aggarwal</b></sub></a><br /><a href="#code-DipeshAggarwal" title="Code">💻</a></td>
<td align="center" valign="top" width="25%"><a href="https://github.com/maxsspeaker"><img src="https://avatars.githubusercontent.com/u/56259377?v=4?s=100" width="100px;" alt="Maxsspeaker"/><br /><sub><b>Maxsspeaker</b></sub></a><br /><a href="#code-maxsspeaker" title="Code">💻</a></td>
<td align="center" valign="top" width="25%"><a href="https://fixator10.ru"><img src="https://avatars.githubusercontent.com/u/11073934?v=4?s=100" width="100px;" alt="Fixator10"/><br /><sub><b>Fixator10</b></sub></a><br /><a href="#doc-fixator10" title="Documentation">📖</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Links
- [Github Repository](https://github.com/Senophyx/Discord-RPC)
- [PyPI Project page](https://pypi.org/project/discord-rpc/)
- [TestPyPI Project page](https://test.pypi.org/project/discord-rpc/)
- [Discord Server](https://discord.gg/qpT2AeYZRN)
## Licence & Copyright
```
This Project under MIT License
Copyright (c) 2021-2024 Senophyx
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Senophyx/discord-rpc",
"name": "discord-rpc",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Discord, rpc, discord rpc",
"author": "Senophyx",
"author_email": "contact@senophyx.id",
"download_url": "https://files.pythonhosted.org/packages/87/57/e2f3f07f526ecfe90e2270b34ecb67988ab47bdc1af8cc198090f246b071/discord_rpc-5.1.tar.gz",
"platform": null,
"description": "[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FSenophyx%2FDiscord-RPC&label=Visitors&countColor=%2337d67a&style=flat&labelStyle=none)](https://github.com/Senophyx/Discord-RPC)\n[![Discord](https://img.shields.io/discord/887650006977347594?label=EterNomm&logo=discord)](https://discord.gg/qpT2AeYZRN)\n[![Total Downloads](https://static.pepy.tech/badge/discord-rpc)](https://pepy.tech/project/discord-rpc)\n[![PyPI](https://img.shields.io/pypi/v/discord-rpc?label=PyPI%20Version&logo=pypi)](https://pypi.org/project/discord-rpc)\n[![PyPI - Status](https://img.shields.io/pypi/status/discord-rpc?label=Packages%20Status&logo=pypi)](https://pypi.org/project/discord-rpc)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/Senophyx/discord-rpc?label=Commit%20Activity&logo=github)](https://github.com/Senophyx/discord-rpc)\n\n# Discord RPC\nAn Python wrapper for Discord RPC API. Allow you to make own custom RPC.\n\n[![Changelog](https://img.shields.io/badge/Discord--RPC-Changelog-informational?style=for-the-badge&logo=github)](https://gist.github.com/Senophyx/019b77be3cca743c4ada423ccf80b836)\n\n## Install\n- PyPI\n```\npip install discord-rpc\n```\n\n## Quick example\n```py\nimport discordrpc\n\nrpc = discordrpc.RPC(app_id=12345678910)\n\nrpc.set_activity(\n state=\"A super simple rpc\",\n details=\"simple RPC\"\n )\n\n# Required if you only run Discord RPC on this file or current instance.\nrpc.run()\n```\n`rpc.run()` is only used if you are only running Discord RPC on the current file/instance. If there are other programs/tasks on the current instance, `rpc.run()` does not need to be used.\n\nSee documentation [here](https://github.com/Senophyx/Discord-RPC/blob/main/DOCS.md).<br>\nMore examples [here](https://github.com/Senophyx/discord-rpc/tree/main/examples).\n\n\n## Contributors\nBig thanks for contributors who help this project keep updated, and maintained.\n\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\" width=\"25%\"><a href=\"https://pukima.site\"><img src=\"https://avatars.githubusercontent.com/u/58347116?v=4?s=100\" width=\"100px;\" alt=\"Pukima\"/><br /><sub><b>Pukima</b></sub></a><br /><a href=\"#bug-Pukimaa\" title=\"Bug reports\">\ud83d\udc1b</a></td>\n <td align=\"center\" valign=\"top\" width=\"25%\"><a href=\"https://github.com/k9ur\"><img src=\"https://avatars.githubusercontent.com/u/67886793?v=4?s=100\" width=\"100px;\" alt=\"k9er\"/><br /><sub><b>k9er</b></sub></a><br /><a href=\"#doc-k9ur\" title=\"Documentation\">\ud83d\udcd6</a></td>\n <td align=\"center\" valign=\"top\" width=\"25%\"><a href=\"https://www.kaleko.dev/\"><img src=\"https://avatars.githubusercontent.com/u/54416665?v=4?s=100\" width=\"100px;\" alt=\"Kale\"/><br /><sub><b>Kale</b></sub></a><br /><a href=\"#bug-Kale-Ko\" title=\"Bug reports\">\ud83d\udc1b</a></td>\n <td align=\"center\" valign=\"top\" width=\"25%\"><a href=\"https://github.com/TaIFeel\"><img src=\"https://avatars.githubusercontent.com/u/94287800?v=4?s=100\" width=\"100px;\" alt=\"TaIFeel\"/><br /><sub><b>TaIFeel</b></sub></a><br /><a href=\"#code-TaIFeel\" title=\"Code\">\ud83d\udcbb</a></td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\" width=\"25%\"><a href=\"https://buymeacoffee.com/saves\"><img src=\"https://avatars.githubusercontent.com/u/8108358?v=4?s=100\" width=\"100px;\" alt=\"Jesusaves\"/><br /><sub><b>Jesusaves</b></sub></a><br /><a href=\"#bug-pazkero\" title=\"Bug reports\">\ud83d\udc1b</a></td>\n <td align=\"center\" valign=\"top\" width=\"25%\"><a href=\"http://dipeshaggarwal.com\"><img src=\"https://avatars.githubusercontent.com/u/1311129?v=4?s=100\" width=\"100px;\" alt=\"Dipesh Aggarwal\"/><br /><sub><b>Dipesh Aggarwal</b></sub></a><br /><a href=\"#code-DipeshAggarwal\" title=\"Code\">\ud83d\udcbb</a></td>\n <td align=\"center\" valign=\"top\" width=\"25%\"><a href=\"https://github.com/maxsspeaker\"><img src=\"https://avatars.githubusercontent.com/u/56259377?v=4?s=100\" width=\"100px;\" alt=\"Maxsspeaker\"/><br /><sub><b>Maxsspeaker</b></sub></a><br /><a href=\"#code-maxsspeaker\" title=\"Code\">\ud83d\udcbb</a></td>\n <td align=\"center\" valign=\"top\" width=\"25%\"><a href=\"https://fixator10.ru\"><img src=\"https://avatars.githubusercontent.com/u/11073934?v=4?s=100\" width=\"100px;\" alt=\"Fixator10\"/><br /><sub><b>Fixator10</b></sub></a><br /><a href=\"#doc-fixator10\" title=\"Documentation\">\ud83d\udcd6</a></td>\n </tr>\n </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n## Links\n- [Github Repository](https://github.com/Senophyx/Discord-RPC)\n- [PyPI Project page](https://pypi.org/project/discord-rpc/)\n- [TestPyPI Project page](https://test.pypi.org/project/discord-rpc/)\n- [Discord Server](https://discord.gg/qpT2AeYZRN)\n\n## Licence & Copyright\n\n```\nThis Project under MIT License\nCopyright (c) 2021-2024 Senophyx\n```\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "An Python wrapper for Discord RPC",
"version": "5.1",
"project_urls": {
"Discord": "https://discord.gg/qpT2AeYZRN",
"Documentation": "https://github.com/Senophyx/Discord-RPC/blob/main/DOCS.md",
"Homepage": "https://github.com/Senophyx/discord-rpc",
"Issue tracker": "https://github.com/Senophyx/discord-rpc/issues"
},
"split_keywords": [
"discord",
" rpc",
" discord rpc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5bc19ba9c040faf5c2f34a9b763e9a6548feeb275a903e8cae747492d3b0f1f6",
"md5": "e9fc85e5ba025aaddeca32bf7d848fdc",
"sha256": "326636254bc1fcc008c59152ac84d733f7be9418f0170294785eb87dad69625c"
},
"downloads": -1,
"filename": "discord_rpc-5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e9fc85e5ba025aaddeca32bf7d848fdc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7887,
"upload_time": "2024-09-19T01:50:23",
"upload_time_iso_8601": "2024-09-19T01:50:23.979852Z",
"url": "https://files.pythonhosted.org/packages/5b/c1/9ba9c040faf5c2f34a9b763e9a6548feeb275a903e8cae747492d3b0f1f6/discord_rpc-5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8757e2f3f07f526ecfe90e2270b34ecb67988ab47bdc1af8cc198090f246b071",
"md5": "113ec88b3e70fe897b07c05b4f624540",
"sha256": "cb6e8745ec0657d1beae34d87c3e7180251dcdef67fab78bd5aaa0e43708c468"
},
"downloads": -1,
"filename": "discord_rpc-5.1.tar.gz",
"has_sig": false,
"md5_digest": "113ec88b3e70fe897b07c05b4f624540",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7299,
"upload_time": "2024-09-19T01:50:25",
"upload_time_iso_8601": "2024-09-19T01:50:25.412234Z",
"url": "https://files.pythonhosted.org/packages/87/57/e2f3f07f526ecfe90e2270b34ecb67988ab47bdc1af8cc198090f246b071/discord_rpc-5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-19 01:50:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Senophyx",
"github_project": "discord-rpc",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "discord-rpc"
}