Skip to main content

Revolt.py

An async library to interact with the https://revolt.chat API.

You can join the support server here and find the library's documentation here.

Installing

You can use pip to install revolt.py. It differs slightly depending on what OS/Distro you use.

On Windows

py -m pip install -U revolt.py # -U to update

On macOS and Linux

python3 -m pip install -U revolt.py

Example

More examples can be found in the examples folder.

import revolt
import asyncio

class Client(revolt.Client):
    async def on_message(self, message: revolt.Message):
        if message.content == "hello":
            await message.channel.send("hi how are you")

async def main():
    async with revolt.utils.client_session() as session:
        client = Client(session, "BOT TOKEN HERE")
        await client.start()

asyncio.run(main())

Metadata

Release files for revolt.py 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for revolt.py 0.2.0
File Size Uploaded
revolt.py-0.2.0.tar.gz 49.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for revolt.py 0.2.0
File Interpreter ABI Platform
revolt.py-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 119.9 kB

Release files / revolt.py-0.2.0.tar.gz

Download URL revolt.py-0.2.0.tar.gz
Size 49.3 kB
Tags Source
SHA-256 checksum
How to use checksums
06d54d3796df20d7382502c25060fe3eed061f8d200626f3ed171e927ce8b371
BLAKE2b-256 checksum
How to use checksums
bee0fa69c5e9ae0f991d4d95922b13095383ef63730d6adc2122ec0c1904d096
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release files / revolt.py-0.2.0-py3-none-any.whl

Download URL revolt.py-0.2.0-py3-none-any.whl
Size 70.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d40876db30ff23904e3bc46cfda62ddfff8abf4147df41d2811b9a565cefc4ae
BLAKE2b-256 checksum
How to use checksums
ad00e521212d3ce2944de143dade7e475bb1f048dfc1a15785884a9e38c38aea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.11

3 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page