Library to spot a keyword as a function inside python stdlib
Project description
pylibfinder
pylibfinder is a Python library that allows you to spot a keyword as a function inside the Python standard library. It provides a convenient way to search for functions that match a given keyword within the standard library modules. With pylibfinder, you can easily identify the modules and functions that are available in Python and gain insights into their usage and availability. This library is designed to assist developers in finding relevant functions and understanding the Python standard library better.
Installation
For stable version
pip install pylibfinder
For developement
git clone https://github.com/Agent-Hellboy/pylibfinder cd pylibfinder make changes in funcfinder.c compile it using gcc -shared -o funcfinder.so -fPIC -I /usr/include/python3.12 funcfinder.c it will generate a funcfinder.so open repl and test
Example
>>> import funcfinder
>>> funcfinder.get_module('literal')
[{'Module': 'ast', 'Function': 'literal_eval'}, {'Module': 're._compiler', 'Function': '_get_literal_prefix'}]
>>>
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
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 Distributions
Built Distribution
File details
Details for the file pylibfinder-0.1.1-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: pylibfinder-0.1.1-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 18.7 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed4e7b80d019a9a486188825527510d0a9702b5fe1969398be6850b28c42fba4 |
|
MD5 | 556543593d7b8b6436f01ac6e8211d84 |
|
BLAKE2b-256 | 24c4dbc1c9f367da9fe8da00bf75310afe4e4774326284080563218692d197d8 |