A library to comment out functions using decorators
Project description
function_comment
A Python library to create full-function comments using decorators.
Installation
You can install the package using pip:
pip install function_comment
```python
from function_comment import bbkp, ujmp
@bbkp
@ujmp
def some_function():
print("This should not be printed")
def normal_function():
print("This should be printed")
if __name__ == "__main__":
some_function() # This will do nothing
normal_function() # This will print "This should be printed"
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
File details
Details for the file function_comment-0.1.0.tar.gz
.
File metadata
- Download URL: function_comment-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6caf622abd7f0adb74a1587f9a0bd51d994d447bde3115cb5cd0a9d0260ffcfa |
|
MD5 | 0c9d0b08da2b83fa9507b1af4edb73f7 |
|
BLAKE2b-256 | 8b8a9c637b39921812cb923ffb65b6179a2ce6eb50c3412a2801f7ab3d6c02f8 |
File details
Details for the file function_comment-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: function_comment-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e78e79469d15accbea1413feb1ad1fbc5c538f2a670de65d11962e79d71b6c9 |
|
MD5 | eb489a26805c9efeb6276b1f90dd482f |
|
BLAKE2b-256 | fa7ab3167cf8118bcc95f02ca27b7e0fbe16cf40fdd7f59e387b6c21d69ff0a5 |