This release is a pre-release and may not be stable for production use.
Defectio
defectio is a direct implementation of the entire Revolt API and provides a way to authenticate and start communicating with Revolt servers. Similar interface to discord.py
Example Usage
import defectio
client = defectio.Client()
@client.event
async def on_ready():
print("We have logged in.")
@client.event
async def on_message(message: defectio.Message):
if message.author == client.user:
return
if message.content.startswith("$hello"):
await message.channel.send("Hello!")
client.run("your token here")
Contribute
Join our server here
License
Licensed under an MIT license
Based on discord.py by Rapptz here
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Joshua Nixon 💻 |
Adam 💻 |
jotte 💻 |
Paul Makles 🐛 |
Cearaj 💻 |
jafreli 💻 |
Dark42ed 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Metadata
Release files for defectio 0.2.3a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| defectio-0.2.3a0.tar.gz | 106.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| defectio-0.2.3a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 233.9 kB
Release files / defectio-0.2.3a0.tar.gz
| Download URL | defectio-0.2.3a0.tar.gz |
|---|---|
| Size | 106.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
729bd4a38c62e3a623af44487516a0ed351c870ad6e59677e4082ee223556a00
|
|
BLAKE2b-256 checksum How to use checksums |
3d043b0191130cc7e2d7099ff70a420758b67166c35df12a0e46240b4aa1e4b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / defectio-0.2.3a0-py3-none-any.whl
| Download URL | defectio-0.2.3a0-py3-none-any.whl |
|---|---|
| Size | 127.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d44dd2c9bbf17f71936fd5a586a54842c8d751356711fcb434b9939ca69c7379
|
|
BLAKE2b-256 checksum How to use checksums |
37b509b11cd040f97948d6ac27bd5637dce1c23e14838152b46fadaea3c547e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Security for defectio 0.2.3a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.