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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file py-marktest-0.0.3.tar.gz.

File metadata

  • Download URL: py-marktest-0.0.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for py-marktest-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e5d7d33f53649e7b1ab3e732b62b09cfa17673460df919c9c3e80c497d7561f9
MD5 3ad1f310084ec629abc2d6b7a0ddf345
BLAKE2b-256 eb645fe9652fec3b8895ec333d56080658e516e647c3484aaabd7b06927524e4

See more details on using hashes here.

File details

Details for the file py_marktest-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: py_marktest-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for py_marktest-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 795e51448b40ccb83c616dd674f6270bf2ec2cb6b3deff81232a95af92310413
MD5 96fb8ad39be42396bba76e298072e3d2
BLAKE2b-256 ed45117d2c997329021a7aaf43d1b28b9f04ed753031aa7f8dd94866ae7cc314

See more details on using hashes here.

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