Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

String generator based on Markov process

Project description

mc.py Project on PyPi Codacy Badge License: MIT

String generator based on Markov process

Installation

pip3 install mc.py --upgrade

Simple example

import mc  


generator = mc.StringGenerator(  
  samples=["hello world", "world of cuties"]  
)  
result = generator.generate_phrase()  
print(result)  
# e.g. >>> "hello world of cuties"  

More examples can be found here

Features

  • Easy to use
  • Phrase validators (also built-in). Read more
  • Phrase formatters (also built-in). Read more

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 mc.py, version 3.0.3
Filename, size File type Python version Upload date Hashes
Filename, size mc.py-3.0.3-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size mc.py-3.0.3.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page