A Python object layout visualizer using CPython internals
Project description
pyinternals
A visualizer for Python object layout in CPython.
This package provides tools to directly inspecting Python objects through their C-level structure using ctypes.
This is a powerful approach for deep object introspection, especially when you need to examine the internal memory representation of Python objects like int, float, str, list, dict and custom classes.
Features
- Inspect memory layout of Python objects.
- Visualize CPython object internals like
__dict__,__slots__, methods, and more. - Great for learning how CPython manages memory.
Installation
Install via pip:
pip install pyinternals
Learning materials
- CPython implementation : https://github.com/python/cpython
- Cpython Internals repository: https://github.com/zpoint/CPython-Internals
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyinternals-0.1.3.tar.gz.
File metadata
- Download URL: pyinternals-0.1.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
835ae44e0732dd8b490138a428de8db15e7f52a0cdab9e686eff5b384d1dcaf1
|
|
| MD5 |
87ce323c62ac3aa447c8563034b1affa
|
|
| BLAKE2b-256 |
5640875c59626e91d8ef470c02c65bfb8f59377e1abf7632ab6418f10a11d7dd
|
File details
Details for the file pyinternals-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pyinternals-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96607e8c195811b63e8b6081b197bb974396ba03a036b574954dfaf4dad224b7
|
|
| MD5 |
bcd0291e7eb0948044a958ae25e96de3
|
|
| BLAKE2b-256 |
ababd4550c9eaf1e51b9f2315bfa7c756879e712da084bf2e82d59e59ebff114
|