Python module that blocks the standard output, preventing print statements from being displayed
Project description
Block Print
Just blocks standard output
Installation
python -m pip install block-print
Usage
from blockprint import BlockPrint
def printer():
print('I will not be printed')
def tester():
print('I will be printed')
with BlockPrint():
printer()
print('I will also be printed')
if __name__ == '__main__':
tester()
Linting
PreCommit
will ensure linting, and the doc creation are run on every commit.
Requirement
pip install sphinx==5.1.1 pre-commit recommonmark pytest
Usage
pre-commit run --all-files
Pypi Package
License & copyright
© Vignesh Rao
Licensed under the [MIT License][license]
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for block_stdout-0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb557ec8bbbde526d7f77d7b94039a82c4a41a314504088e79625d238276eaba |
|
MD5 | 3fc552379be359fadc3bd6e4a4fc29ce |
|
BLAKE2b-256 | d341a2054fe1886209ec1348919eb2ae9285e92ae63a712018f9b043d4e78ed3 |