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

Release files for mc.py 3.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mc.py 3.1.0
File Size Uploaded
mc.py-3.1.0.tar.gz 4.5 kB Details

Release files / mc.py-3.1.0.tar.gz

Download URL mc.py-3.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d0a9a49da180b942e167a759ffefa61e50c4369179da3e4d682e47a676cbdf6a
BLAKE2b-256 checksum
How to use checksums
21fe76a18f1fc24847719bfed1bb61685c02e92d961736a07fa5e4cfa85e3713
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

4.0.0

2 release files

3.1.1

1 release file

This release

3.1.0 This release

1 release file

3.0.7

1 release file

3.0.6

1 release file

3.0.5

1 release file

3.0.4

1 release file

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page