Skip to main content

A command line tool for testing Python snippets in markdown.

Project description

py-marktest

Package version

What is py-marktest and why you need it

py-marktest helps you test Python code samples in your markdown files. These code samples can include REPL snippets and code blocks.


Local development

Bootstrap your local environment. This will create a new virtual environment in ./.venv and install the dev dependencies from pyproject.toml.

make setup

Run all tests and report test coverage.

make test cov

Build

Note: these comands assume a valid ~/.pypirc file is configured.

See the official packaging docs for more info.

python3 -m pip install --upgrade build twine
python3 -m build

Upload to test.pypi.org

python3 -m twine upload --repository testpypi dist/*

Upload to PyPI

python3 -m twine upload dist/*

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

py-marktest-0.0.3.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

py_marktest-0.0.3-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

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