semvec/pypi-packages huggingface dataset:
inspector-mils 0.0.1
A decorator that inspects functions. Logs function name, args and kwargs.
Requires Python: >=3.6

# inspector_mils

[![CodeFactor](https://www.codefactor.io/repository/github/jmilagroso/inspector_mils/badge)](https://www.codefactor.io/repository/github/jmilagroso/inspector_mils)
[![travis](https://travis-ci.com/jmilagroso/pii_crypt.svg?branch=master)](https://travis-ci.com/jmilagroso/pii_crypt.svg?branch=master)
[![codecov](https://codecov.io/gh/jmilagroso/inspector_mils/branch/master/graph/badge.svg?token=HMC508346L)](https://codecov.io/gh/jmilagroso/inspector_mils)
[![python3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)
[![python3.6](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)
[![python3.6](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)

Inspect functions' arguments and keywords arguments at runtime using decorator.

## Installation
To download inspector-mils, either fork this github repo or simply use Pypi via pip
```sh
pip install inspector-mils
```

## Usage
Import `inspect` decorator.
```sh
from inspector_mils.inspector import inspect
```

Add `@inspect` to your function.
```sh
@inspect
def my_func_sample1(a, b):
  pass

my_func_sample1("param1", "param2")
```
Output
```sh
[2022-11-04 02:42:45.151303] Starting inspect..
[2022-11-04 02:42:45.151888] my_func_sample1() called..
[2022-11-04 02:42:45.151937] args: ('param1', 'param2')
[2022-11-04 02:42:45.151978] kwargs: {}
[2022-11-04 02:42:45.152060] Ending inspect..
```

## License
MIT License

Copyright (c) 2022

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
ytdata3-py 0.9.2
Python wrapper for YouTube Data API V3
Requires Python: >=3.7

# ytdata3_py
A simple python wrapper for the YouTube Data API V3 supporting all API
operations described in the API reference 
[documentation](https://developers.google.com/youtube/v3/docs) except media 
upload [operations](#Unsupported-Operations).

## Install
**Unix/MacOS:** 

` python3 -m pip install "ydata3_py" `

**Windows:**

` py -m pip install "ydata3_py" `

## Using ytdata3_py
ydata3_py does not check for syntax mistakes or typos for parameters passed
and leaves it up to the user to interpret errors returned by the API. 
Keyword arguments are used to pass parameters and must match the name the API 
documents the parameter under to insure the correct result. For example, 
maxResults is an optional parameter documented for multiple operations 
including **videos.list** and should be passed as follows:
```
youtube = API('API_KEY_HERE')
response = youtube.execute(
    ytdata3_py.Operation.VideosList,
    part=['snippet'],
    chart='mostPopular',
    maxResults=8
)
```
More samples can be found in the 
[examples](https://github.com/rpsRexx/ytdata3_py/tree/master/examples) 
directory.

## Unsupported Operations
- captions.insert
- captions.update
- channelBanners.insert
- thumbnails.set
- videos.insert
- watermarks.set

## License
ydata3_py is under the MIT license with dependency, 
[requests](https://github.com/psf/requests), under the Apache 2.0 license.