Skip to main content

MadlibsPy

Create your own madlibs game!

Installation

Use python -m pip install madlibspy

Example

import madlibspy as madlibs

data = madlibs.Madlibs(API_TOKEN) # You need an API token from api.bytestobits.dev

answers = [input(f"Enter a/an {i}: ") for i in data.variables]

text = data.convert(answers)

"""text = answers >> data
This also works, it's a faster way of convertion.
"""
print(data.title)
print(text)

And much more!

Documentation

Coming soon...!

Metadata

Release files for madlibspy 2.3

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

Source distribution (sdist)

Source distribution for madlibspy 2.3
File Size Uploaded Provenance Actions
madlibspy-2.3.tar.gz 2.5 kB Without provenance Details for madlibspy-2.3.tar.gz

Release files / madlibspy-2.3.tar.gz

Download URL madlibspy-2.3.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
67d3a2bba0185d5aaa7cc27b7f1ba3c28bdc40d8fe60ae7a28afee1ef1ecf9ae
BLAKE2b-256 checksum
How to use checksums
3de34bf5c00048d3dffe26b08de7319fcef0a164e0dc94a6290af0849247f3e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

Security for madlibspy 2.3

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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