Metadata-Version: 2.1
Name: markovpack
Version: 0.3.2
Summary: A Royalnet pack to have fun with Markovify.
Home-page: https://github.com/Steffo99/markovpack
Author: Stefano Pigozzi
Author-email: ste.pigozzi@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: markovify (>=0.8.0,<0.9.0)
Requires-Dist: royalnet[telegram,discord,alchemy_easy,bard,constellation,sentry,herald,coloredlogs,matrix] (>=5.9.2,<6.0.0)
Description-Content-Type: text/markdown

# `markovpack`

A [Royalnet](https://github.com/Steffo99/royalnet) pack to have fun with [Markovify](https://github.com/jsvine/markovify)!

## Usage

1. Create a new directory in the working directory of the Royalnet instance.
2. Place there the `.json` files generated by the `text.to_json()` method of markovify's NewLineTexts.
3. In the `config.toml` of the Royalnet instance, set the following values:
   ```toml
   [Packs."markovpack"]
   Markov.models_directory = "markovpack"  # The name of the directory containing the .json files
   Markov.default_model = "example"  # The name of the .json file that should be parsed if no arguments are passed to the command 
   Markov.min_words = 5  # The minimum number of words a sentence should have to be sent
   ```
4. Start Royalnet with `python -m royalnet` and have fun!
