Skip to main content

A Royalnet pack to have fun with Markovify.

Project description


A Royalnet pack to have fun with Markovify!


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for markovpack, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size markovpack-0.3.2-py3-none-any.whl (16.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size markovpack-0.3.2.tar.gz (15.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page