No project description provided
Project description
Kismet
A dice roll parser with personality
Installation
pip install kismet
Jupyter
After installation with pip
, you may optionally install the Jupyter kernel:
pythom -m kismet.kernel.install
Docker
Command Line Interface
docker run autochthe/kismet
Jupyterlab Server
docker run -p 8888:8888 autochthe/kismet.jupyter
With vim
docker run -p 8888:8888 autochthe/kismet.jupyter.vim
Discord Bot
Define DISCORD_CLIENTID
and DISCORD_TOKEN
.
DISCORD_CLIENTID=00000 \
DISCORD_TOKEN=xxx.xxx \
docker run \
-e DISCORD_CLIENTID \
-e DISCORD_TOKEN \
autochthe/kismet.discord
Docker service runners
These scripts manage and run Docker services (eg. on cloud hosting).
WARNING: These runners automatically call docker image prune
.
Jupyterlab Server
wget https://raw.githubusercontent.com/autochthe/kismet-py/master/docker/run/kismet.jupyter
chmod a+x kismet.jupyter
./kismet.jupyter
With vim
wget https://raw.githubusercontent.com/autochthe/kismet-py/master/docker/run/kismet.jupyter.vim
chmod a+x kismet.jupyter.vim
./kismet.jupyter.vim
Discord Bot
Define DISCORD_CLIENTID
and DISCORD_TOKEN
before execution.
wget https://raw.githubusercontent.com/autochthe/kismet-py/master/docker/run/kismet.discord
chmod a+x kismet.discord
## Edit `kismet.discord` and
# ./kismet.discord
## OR
# DISCORD_CLIENTID=00000 \
# DISCORD_TOKEN=xxx.xxx \
# ./kismet.discord
The OAuth invite link will print to stdout.
Discord Permissions
Permissions integer: 116800
- Send Messages
- Embed Links
- Attach Files
- Read Message History
- Add Reactions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kismet-0.2.0.tar.gz
(28.2 kB
view hashes)
Built Distribution
kismet-0.2.0-py3-none-any.whl
(49.9 kB
view hashes)