Skip to main content

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.

Source Distribution

mc.py-3.1.0.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file mc.py-3.1.0.tar.gz.

File metadata

  • Download URL: mc.py-3.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for mc.py-3.1.0.tar.gz
Algorithm Hash digest
SHA256 d0a9a49da180b942e167a759ffefa61e50c4369179da3e4d682e47a676cbdf6a
MD5 491a2fd92ad54ab309d322f3a504fb2b
BLAKE2b-256 21fe76a18f1fc24847719bfed1bb61685c02e92d961736a07fa5e4cfa85e3713

See more details on using hashes here.

Supported by

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