semvec/pypi-packages huggingface dataset:
yap-styleguide 0.0.2
Yet another python styleguide
License: MIT
Requires Python: >=3.7,<4.0
Keywords: styleguide

[![Tests](https://github.com/vahaah/yap-styleguide/workflows/Tests/badge.svg)](https://github.com/vahaah/yap-styleguide/actions?workflow=Tests)
[![Codecov](https://codecov.io/gh/vahaah/yap-styleguide/branch/master/graph/badge.svg)](https://codecov.io/gh/vahaah/yap-styleguide)
[![PyPI](https://img.shields.io/pypi/v/yap-styleguide.svg)](https://pypi.org/project/yap-styleguide/)
[![Read the Docs](https://readthedocs.org/projects/hypermodern-python/badge/)](https://yap-styleguide.readthedocs.io/)

# Yet another python styleguide
verbosify 0.0.1
A cool python function decorator to print comments
License: MIT
Requires Python: >=3.8

# Verbosify

A cool function decorator to print selected comments 🎤

## A Simple Example

```py
from verbosify import verbosify, verbosify_with

@verbosify
def hello_word(uppercase=False):
    # This is the hello_word function
    if uppercase:
        # verbose: return hello word in uppercase
        return 'HELLO WORD'
    else:
        # verbose: return hello word in lowercase
        return 'hello word'

a = hello_word(verbose=True)
#> 'return hello word in lowercase'
print(a)
#> 'hello word'

a = hello_word(uppercase=True, verbose=True)
#> 'return hello word in uppercase'
print(a)
#> 'HELLO WORD'

a = hello_word()
print(a)
#> 'hello word'

a = hello_word(uppercase=True)
print(a)
#> 'HELLO WORD'
```


You can also choose which comments to print:

```py
@verbosify_with(' ')
def hello_word(uppercase=False):
    # This is the hello_word function
    if uppercase:
        # verbose: return hello word in uppercase
        return 'HELLO WORD'
    else:
        # verbose: return hello word in lowercase
        return 'hello word'

a = hello_word(verbose=True)
#> 'This is the hello_word function'
#> 'return hello word in lowercase'
print(a)
#> 'hello word'
```