Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_overinspect-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for py_overinspect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 73395099e622c6e49ba8014408c92957cb3bb29c5f07b7d876523584d04877c3
MD5 d956cee7a67337c952c564fe17cfcd21
BLAKE2b-256 3ff64220f18f37082083eedb700fabca15d11aa1a62b5a915b9e3b00d41b7d8e

See more details on using hashes here.

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

Hashes for py_overinspect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f329f706f5ead243701603b8536a796b00e36a251b30f791ee5752e9053fde5d
MD5 b9d1afb8eeab7739d116dd01d7b56977
BLAKE2b-256 91c381c83e062ea797c4be0b5c6673ed82f4d1cb161b2fe3334ba1bd1d106e5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page