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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pypackageinspector-1.0.0.tar.gz.

File metadata

  • Download URL: pypackageinspector-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pypackageinspector-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0fe62d7f0f3d08d229fe9203c97166419ffaa0a0a387e2fbcc5185aa5cc1de70
MD5 83b8d65d73bec1ebd74ee3c079a169fb
BLAKE2b-256 e2e8976c2bfd1961c490ed8a3c0c588490c937a55fae86abeb42bb5ebf2c4010

See more details on using hashes here.

File details

Details for the file pypackageinspector-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pypackageinspector-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae2f5b2819e0b9e9cfd94648524fbee5466b845629286bfaf577063d4c1173d9
MD5 8b9b90e95000084765594adb00a29024
BLAKE2b-256 b4c5384fc5c3e1d0bc70e0035933ba04761e049c13643e032d196533e41db1cd

See more details on using hashes here.

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