Skip to main content

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

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

pyinternals-0.1.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyinternals-0.1.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for pyinternals-0.1.3.tar.gz
Algorithm Hash digest
SHA256 835ae44e0732dd8b490138a428de8db15e7f52a0cdab9e686eff5b384d1dcaf1
MD5 87ce323c62ac3aa447c8563034b1affa
BLAKE2b-256 5640875c59626e91d8ef470c02c65bfb8f59377e1abf7632ab6418f10a11d7dd

See more details on using hashes here.

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

Hashes for pyinternals-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 96607e8c195811b63e8b6081b197bb974396ba03a036b574954dfaf4dad224b7
MD5 bcd0291e7eb0948044a958ae25e96de3
BLAKE2b-256 ababd4550c9eaf1e51b9f2315bfa7c756879e712da084bf2e82d59e59ebff114

See more details on using hashes here.

Supported by

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