Skip to main content

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

Chatbots

Discord

Define DISCORD_CLIENTID and DISCORD_TOKEN.

DISCORD_CLIENTID=00000 \
DISCORD_TOKEN=xxx.xxx \
docker run \
    -e DISCORD_CLIENTID \
    -e DISCORD_TOKEN \
    autochthe/kismet.discord

Slack

Define SLACK_TOKEN.

SLACK_TOKEN=xxx-xxx-xxx \
docker run \
    -e SLACK_TOKEN \
    autochthe/kismet.slack

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: 377957238848

  • Send Messages
  • Send Messages in Threads
  • Create Public Threads
  • Create Private Threads
  • Embed Links
  • Attach Files
  • Read Message History
  • Add Reactions

Slack Bot

Define SLACK_TOKEN before execution.

wget https://raw.githubusercontent.com/autochthe/kismet-py/master/docker/run/kismet.slack
chmod a+x kismet.slack

## Edit `kismet.slack` and
# ./kismet.slack

## OR
# SLACK_TOKEN=xxx.xxx \
# ./kismet.slack

Project details


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.5.0.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kismet-0.5.0-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

Details for the file kismet-0.5.0.tar.gz.

File metadata

  • Download URL: kismet-0.5.0.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for kismet-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a136356b69c17809efba7f38ebadb79f2ca0dfa9bc3fdb90bb9cab8f611ce02c
MD5 ac1b5f95d44301731bd40f1999e686b8
BLAKE2b-256 60ee6c5d187a5f82a592f61eec9d1f14308a3f57bfe1a4284442cea0a924edf4

See more details on using hashes here.

File details

Details for the file kismet-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: kismet-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 39.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for kismet-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f405d52f15b4f80971728cc7bf2f1da7ba2e1f6365249fd9a4369fa8869f8156
MD5 28dd377aee0a6076e944319127525f98
BLAKE2b-256 1e34680d58e4f4d7875af0eb8bf2abe11d374c091eadfc7727f934e7210ce4ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page