A Python library over standard inspect module
Project description
py_overinspect
A Python library to provide some functions over standard "inspect" module
Installation
poetry add py_overinspect
# or
pip install py_overinspect
# or
pipenv install py_overinspect
Functions
def get_fct_name(fct: Callable, full_qual: bool = NOT_FULL_QUAL) -> str
def get_fct_filename(fct: Callable) -> str
def get_full_fct_path_and_name(fct: Callable, full_qual: bool = NOT_FULL_QUAL, sep=DEFAULT_PATH_AND_NAME_SEP) -> str
def get_fct_parameter_names(fct: Callable) -> List[str]
def get_current_fct_filename(level: int = 1) -> str
def get_current_fct_line(level: int = 1) -> int
def get_current_fct_name(level: int = 1) -> str
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
py_overinspect-0.1.0.tar.gz
(2.4 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
File details
Details for the file py_overinspect-0.1.0.tar.gz.
File metadata
- Download URL: py_overinspect-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.14.9-200.fc41.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73395099e622c6e49ba8014408c92957cb3bb29c5f07b7d876523584d04877c3
|
|
| MD5 |
d956cee7a67337c952c564fe17cfcd21
|
|
| BLAKE2b-256 |
3ff64220f18f37082083eedb700fabca15d11aa1a62b5a915b9e3b00d41b7d8e
|
File details
Details for the file py_overinspect-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_overinspect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.14.9-200.fc41.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f329f706f5ead243701603b8536a796b00e36a251b30f791ee5752e9053fde5d
|
|
| MD5 |
b9d1afb8eeab7739d116dd01d7b56977
|
|
| BLAKE2b-256 |
91c381c83e062ea797c4be0b5c6673ed82f4d1cb161b2fe3334ba1bd1d106e5f
|