Skip to main content

Publish Package PyPIDownloads

pypackageinspector

pypackageinspector is a package in Python that inspects a given 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

Here's an example of how to call the inspector() function:

from pypackageinspector import inspector

inspector('numpy', inspect_functions=True, inspect_methods=False)

In this example, we're inspecting the "numpy" package and setting inspect_functions=True and inspect_methods=False, so the output will only include the list of functions in the package.

If we want to inspect both functions and methods, we can call the inspector() function like this:

inspector('numpy', inspect_functions=True, inspect_methods=True)

Here's an example of the output when we call the inspector() function with inspect_functions=True and inspect_methods=False for the "numpy" package:

0. AxisError
1. DataSource
2. MatrixPowerOperator
3. VisibleDeprecationWarning
4. add_docstring
5. add_newdoc
6. add_newdoc_ufunc
7. add_newdocs
8. arange
9. array
10. array2string
11. array_equal
12. array_equiv
13. array_repr
14. array_split
15. array_str
16. asanyarray
17. asarray
18. asarray_chkfinite
19. ascontiguousarray
20. asfarray
21. asfortranarray
22. broadcast
23. broadcast_arrays
24. broadcast_to
25. busday_count
26. busday_offset
27. busdaycalendar
28. byte_bounds
29. c_
30. can_cast
31. choose
32. column_stack
33. common_type
34. compare_chararrays
35. complex128
36. complex256
37. complex64
38. complex_
39. concatenate
40. core
41. correlate
42. corrcoef
43. count_nonzero
44. datetime64
45. datetime_as_string
46. delete
47. deprecate
48. diag
49. diag_indices
50. diag_indices_from
51. diagonal
52. disp
53. division
54. dot
55. double
56. dual
57. dtype
58. e
59. einsum
60. einsum_path
61. einsumfunc
62. empty
63. empty_like
64. equal
65. errstate
66. euler_gamma
67. expand_dims
68. extract

Contributing

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

Metadata

Release files for pypackageinspector 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypackageinspector 1.0.3
File Size Uploaded Provenance Actions
pypackageinspector-1.0.3.tar.gz 3.1 kB Without provenance Details for pypackageinspector-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pypackageinspector 1.0.3
File Interpreter ABI Platform Actions
pypackageinspector-1.0.3-py3-none-any.whl Python 3 none any Details for pypackageinspector-1.0.3-py3-none-any.whl

Total release size: 6.6 kB

Release files / pypackageinspector-1.0.3.tar.gz

Download URL pypackageinspector-1.0.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a9fabc7c673f684f5ff735a0db6849b1ca66b87717571dceecd35ab6a0821d73
BLAKE2b-256 checksum
How to use checksums
d6faea428718518d58706f3932c07cd7c93c878f59f34a3aff1e8a8df789abac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / pypackageinspector-1.0.3-py3-none-any.whl

Download URL pypackageinspector-1.0.3-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3e1a24090a8bd7618cf227cdd674ea52ebddb9ac936727938aecc9e95e61836
BLAKE2b-256 checksum
How to use checksums
eaa23ccd28f277d74c55d0aac206de724f6053434a8c3928f09ac5968ea3b6ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for pypackageinspector 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page