get_module_underlying
Explore Python modules deeper than dir().
Installation
pip install get_module_underlying
Usage
import get_module_underlying as explorer
# Get all attributes (excluding __xxx__)
print(explorer.get_all_attrs())
# Get only public attributes
print(explorer.get_public_attrs())
# Get private attributes (single underscore)
print(explorer.get_private_attrs())
# Get dunder attributes (__xxx__)
print(explorer.get_dunder_attrs())
# Get callable methods/functions
print(explorer.get_callable_attrs())
# Get non-callable attributes (variables, constants)
print(explorer.get_non_callable_attrs())
# Get attributes with their values
print(explorer.get_attrs_with_values())
# Get attributes with their types
print(explorer.get_attrs_with_types())
# Get all classes
print(explorer.get_classes())
# Get all functions
print(explorer.get_functions())
# Get all builtins
print(explorer.get_builtins())
# Get all submodules
print(explorer.get_modules())
# Get detailed module info
print(explorer.get_module_info())
# Get statistics summary
print(explorer.get_stats())
# Get Python system info
print(explorer.get_sys_info())
# Get module file info
print(explorer.get_file_info())
Methods Reference
| Method | Return Type | Description |
|---|---|---|
get_all_attrs() |
list |
All attributes except dunder (__xxx__) |
get_public_attrs() |
list |
Attributes not starting with _ |
get_private_attrs() |
list |
Attributes with single _ prefix |
get_dunder_attrs() |
list |
Dunder attributes (__xxx__) |
get_callable_attrs() |
list |
Callable functions/methods |
get_non_callable_attrs() |
list |
Non-callable variables/constants |
get_attrs_with_values() |
dict |
Attribute names with their values |
get_attrs_with_types() |
dict |
Attribute names with their types |
get_classes() |
list |
All classes in the module |
get_functions() |
list |
All functions in the module |
get_builtins() |
list |
All built-in functions |
get_modules() |
list |
All submodules imported |
get_module_info() |
dict |
Module metadata (name, file, doc, etc.) |
get_stats() |
dict |
Statistical summary of all attributes |
get_sys_info() |
dict |
Python system information |
get_file_info() |
dict |
Module source file information |
Dependencies
- Python 3.6+
License
MIT
Metadata
Release files for get-module-underlying 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| get_module_underlying-1.1.0.tar.gz | 3.4 kB | Without provenance | Details for get_module_underlying-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| get_module_underlying-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for get_module_underlying-1.1.0-py3-none-any.whl |
Total release size: 8.1 kB
Release files / get_module_underlying-1.1.0.tar.gz
| Download URL | get_module_underlying-1.1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b82a9c4450216ddaae317ce06828067ead41142aa07f33b119472e8c7876d55
|
|
BLAKE2b-256 checksum How to use checksums |
a90bf2d89f2c4d3946355b31c2f624e00318523277af899870090ee129372397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/45.0 requests/2.34.2 requests-toolbelt/1.0.0 urllib3/2.7.0 tqdm/4.70.0 importlib-metadata/9.0.0 keyring/25.7.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.14.6
|
Release files / get_module_underlying-1.1.0-py3-none-any.whl
| Download URL | get_module_underlying-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6bfe6a9092fa483e5bd1a9092a657499f1e1803c6e897dfea1b5143520c5427d
|
|
BLAKE2b-256 checksum How to use checksums |
e62d705a8687fcdd079baa59a659a6507894eeb27450ee4941536bec909e7419
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/45.0 requests/2.34.2 requests-toolbelt/1.0.0 urllib3/2.7.0 tqdm/4.70.0 importlib-metadata/9.0.0 keyring/25.7.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.14.6
|
Security for get-module-underlying 1.1.0
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.