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

Metadata

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 Provenance
mc.py-3.1.0.tar.gz 4.5 kB Without provenance 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

Security for mc.py 3.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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