Skip to main content

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

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.

Release history Release notifications | RSS feed

4.0.0

2 files

3.1.1

1 file

This release

3.1.0 This release

1 file

3.0.7

1 file

3.0.6

1 file

3.0.5

1 file

3.0.4

1 file

3.0.3

2 files

3.0.2

2 files

3.0.1

2 files

3.0.0

2 files

2.0.2

1 file

2.0.1

1 file

2.0.0

1 file

1.0.1

1 file

1.0.0

1 file

Supported by

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