Pre-release
This release is a pre-release and may not be stable for production use.
Dippy.Core
This is a bare-bones Discord gateway client that can be used to build Python bot frameworks for Discord.
Installation
pip install dippy.core
Usage
Connecting
from dippy.core import GatewayConnection, Intents
from asyncio import get_event_loop
client = GatewayConnection("YOUR.TOKEN.HERE", intents=Intents.DEFAULT | Intents.MEMBERS)
loop = get_event_loop()
loop.create_task(client.connect())
loop.run_forever()
Watching For Events
async def on_ready(event_payload):
print(event_payload.data)
client.on(on_ready, "READY")
Future
- Add models to wrap the event payload data
- Add a caching interface
- Add rate limiting
- Add methods to models for using the gateway
Release files for dippy.core 0.0.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Dippy.core-0.0.1a2.tar.gz | 25.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Dippy.core-0.0.1a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.9 kB
Release files / Dippy.core-0.0.1a2.tar.gz
| Download URL | Dippy.core-0.0.1a2.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e7eecc441096e0a7e508889ec1c83ab92b38de081a1813ed51f9b5209e0cd6c
|
|
BLAKE2b-256 checksum How to use checksums |
a9adfa68b0c701d083fbe079289661cd6536c813f316b95aacb965b78f1bd5e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.0 Darwin/20.4.0
|
Release files / Dippy.core-0.0.1a2-py3-none-any.whl
| Download URL | Dippy.core-0.0.1a2-py3-none-any.whl |
|---|---|
| Size | 40.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66bfbef8778c9d3b6509a51ed0fed0226fd80364b1add6e00f79fb5cd94c745a
|
|
BLAKE2b-256 checksum How to use checksums |
8317983bddc50c0fd02c29c829ff0d11aa4dcb27954ef77b4cb14b4012d2fce0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.0 Darwin/20.4.0
|