Skip to main content

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"

Release files for function-comment 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for function-comment 0.1.0
File Size Uploaded
function_comment-0.1.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for function-comment 0.1.0
File Interpreter ABI Platform
function_comment-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / function_comment-0.1.0.tar.gz

Download URL function_comment-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6caf622abd7f0adb74a1587f9a0bd51d994d447bde3115cb5cd0a9d0260ffcfa
BLAKE2b-256 checksum
How to use checksums
8b8a9c637b39921812cb923ffb65b6179a2ce6eb50c3412a2801f7ab3d6c02f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.0

Release files / function_comment-0.1.0-py3-none-any.whl

Download URL function_comment-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e78e79469d15accbea1413feb1ad1fbc5c538f2a670de65d11962e79d71b6c9
BLAKE2b-256 checksum
How to use checksums
fa7ab3167cf8118bcc95f02ca27b7e0fbe16cf40fdd7f59e387b6c21d69ff0a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page