A package that provides a verbose print function
Project description
Vrint Package
A Python package that provides a verbose print function.
Installation
You can install the package using pip:
pip install vrint
Usage
Import the vrint function and the verbose variable from the package:
from vrint import vrint, verbose
verbose = False
vrint("This message will not be printed.")
verbose = True
vrint("This message will be printed.")
# You can also use the verbose flag directly in functions:
def hello_world(verbose=True):
vrint("Hello, world!", verbose=verbose)
hello_world() # This will print
hello_world(verbose=False) # This will not print
## Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.
## License
This project is licensed under the MIT License. See the LICENSE file for details.
## Author
This package was created by Huayra1.
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
vrint-0.1.0.tar.gz
(3.0 kB
view details)
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
vrint-0.1.0-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file vrint-0.1.0.tar.gz.
File metadata
- Download URL: vrint-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2902fecabfb4f7e5354e9e8e0450aed7c7cac9cb7ecd5ea9f506d86896f734e
|
|
| MD5 |
85ea51c00adccabca596dcab634fafeb
|
|
| BLAKE2b-256 |
204b427a8eb1a0605fb8721ae1b453247c4ccc14f45e5d9495f1e033368312cf
|
File details
Details for the file vrint-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vrint-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
941c203ef0c73a9bd94485b7d7c11aa747c300cab04930facb27a8a034733077
|
|
| MD5 |
c2b33be9ad1bd7652bb067d62d34ffda
|
|
| BLAKE2b-256 |
5b9d5736e25b481169932a8b55ec722b8f971434ac19094268b3868ca6bb4af4
|