Skip to main content

A Python package to inspect other Python packages.

Project description

Publish Package

pypackageinspector

pyCryptobox is a package in Python that inspects a Python package and prints out all the functions and methods defined in that package. It takes a single argument, package, which is a string representing the name of the package to be inspected. This can be useful in situations where you want to explore the functionality of a package before deciding whether or not to use it in your project, or when you need to quickly get a sense of what functions and methods are available in a package.

Installation

Use the package manager pip to install pypackageinspector.

pip install pypackageinspector

Sample Usage

from pypackageinspector import inspector

# add package name as the arg you want to check
inspector('math')

This will inspect the math package and print out all the functions and methods defined in that package. The output might look something like this

Functions:
0. acos
1. acosh
2. asin
3. asinh
4. atan
5. atan2
6. atanh
7. ceil
8. comb
9. copysign
10. cos
11. cosh
12. degrees
13. dist

...

Methods:
0. __doc__
1. __file__
2. __loader__
3. __name__
4. __package__
5. __spec__

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

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

pypackageinspector-1.0.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

pypackageinspector-1.0.0-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

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