Skip to main content

science

A simple event logger for discord.py.

Install

$ python3 -m pip install -U discord-ext-science

Extras

databases package

You may want to manually install databases with the correct drivers installed.

Examples

from discord.ext.science import Scientist, EventFlags, Configuration
from discord.ext.science.recorders.databases import DatabasesRecorder
import logging

logging.basicConfig(filename='log.log', filemode='w', level=logging.DEBUG)

config = Configuration(
    events=EventFlags.guilds(),
    recorder=DatabasesRecorder("url-to-my-database")
)
client = Scientist(config=config)


client.run('TOKEN')

Release files for discord-ext-science 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 discord-ext-science 0.2.0
File Size Uploaded
discord-ext-science-0.2.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for discord-ext-science 0.2.0
File Interpreter ABI Platform
discord_ext_science-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / discord-ext-science-0.2.0.tar.gz

Download URL discord-ext-science-0.2.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fd8a961234266f975018176b0d0a838715dd6597c45fc4a2a921b8038b027708
BLAKE2b-256 checksum
How to use checksums
472c390a11f2299ea2d378b8a802002918c3465525defb18a271b6c5cb1b05d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release files / discord_ext_science-0.2.0-py3-none-any.whl

Download URL discord_ext_science-0.2.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3eec22f3cbfb31c7edf08dc8a017bc34b9b236defd3dea2e612560924fc5c39b
BLAKE2b-256 checksum
How to use checksums
73ca1d2298d9b8e81f01ee6987c4e40a0712ac79a6ea1ecd71f2c3cac6681491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.2.0 This release

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