Skip to content

🤖 A modern overhaul of an old favorite irc bot for multiple platforms

License

Notifications You must be signed in to change notification settings

Benstales/pyborg-1up

 
 

Repository files navigation

Pyborg is a markov chain bot for many protocols (Discord, IRC, Twitter, etc.) that generates replies based on messages and it's database.

PyPI codecov Build Status Documentation Status

Install

We're on the cheeseshop! Yay!

pip install pyborg

If you want the latest version from git you'll need to install the project with poetry in the source directory.

Early test/beta releases can be found via:

pip install --pre pyborg

Note that we're using Python 3.6+ (for fancy type declarations).

Python 2 support was dropped with the release of pyborg 2.0.

There are several extras: "nlp", "systemd", "subtitles", "graphing". Some extras may be rather experimental like "graphing" at time of writing.

e.g. pip install pyborg[nlp]

Basic Usage

pyborg is our new unified pyborg command line interface.

Documentation

Docs can be found on RTD.

Notes

Pyborg is skipping version 1.3; this was used for a transitory database/"brain" restructuring that was underwhelming.

Ancient original tarballs were hosted at Gna! which is now gone. Thankfully Internet Archive has a copy!

Pyborg was originally developed by Tom Morton and Sébastien Dailly.

Suggested NLTK data

Pyborg can use nltk tagging and tokenizing when installed and configured. Tagging requires averaged_perceptron_tagger and tokenization requires punkt. This needs the nlp extra.

Install the custom module

You can initialize your virtual environment with the pyborg/requirements.txt file and the poetry requirements. (Not sure that all the dependencies required are present, but install the missing according to the error messages)

Note: A Python version

In order to install the pyborg_custom command, execute at the root of the pyborg folder: python setup.py install

About

🤖 A modern overhaul of an old favorite irc bot for multiple platforms

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.0%
  • Shell 1.8%
  • Dockerfile 0.2%