A command line tool for testing Python snippets in markdown.
Project description
py-marktest
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5d7d33f53649e7b1ab3e732b62b09cfa17673460df919c9c3e80c497d7561f9
|
|
| MD5 |
3ad1f310084ec629abc2d6b7a0ddf345
|
|
| BLAKE2b-256 |
eb645fe9652fec3b8895ec333d56080658e516e647c3484aaabd7b06927524e4
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
795e51448b40ccb83c616dd674f6270bf2ec2cb6b3deff81232a95af92310413
|
|
| MD5 |
96fb8ad39be42396bba76e298072e3d2
|
|
| BLAKE2b-256 |
ed45117d2c997329021a7aaf43d1b28b9f04ed753031aa7f8dd94866ae7cc314
|