Skip to main content

Python library for intercept, a game by bubmet

Project description

Python library for [intercept](, a game by [bubmet](

Styled after []( (async), this library aims to give users a customizable experience with the game.

# Examples

Chat logger:
from intercept import Client, DataFormat, ChatEvent

client = Client(username, password, fmt=DataFormat.CLEAN)

async def event_chat(event: ChatEvent):

Simple custom client using [prompt-toolkit](
from prompt_toolkit import prompt
from intercept import Client, DataFormat, MessageEvent

client = Client(username, password, fmt=DataFormat.ANSI)

async def on_event(event):
if isinstance(event, MessageEvent):

async def event_ready():
while client._do_loop: # pylint: disable=protected-access
text = await prompt(" >> ", async_=True)
if text == "quit":
await client.command(text)'asyncio')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size (13.8 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size (7.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page