Skip to content
kairos edited this page Jan 8, 2025 · 6 revisions

Objectron Documentation

Overview

Objectron is an advanced Python object transformation system that enables dynamic monitoring, attribute tracking, and deep reference management through a powerful proxy-based architecture.

Quick Navigation

Key Features

  • Smart Access - Transparent attribute access and path-based traversal
  • Deep Monitoring - Method and attribute tracking with reference control
  • Type Coverage - Support for built-in and custom types
  • Reference Control - Global tracking with circular reference handling
  • Decorators - Easy class and method transformations

Quick Start

from objectron import Objectron

# Transform objects
objectron = Objectron() 
config = objectron.transform({})

# Dynamic attributes
config.database.host = "0.0.0.0"
config.database.port = 5432

# Path-based access
config["database.credentials.user"] = "admin"

Installation

pip install objectron

Core Components

  • Objectron - Main transformation engine
  • DynamicProxy - Base proxy implementation
  • Specialized Proxies - Type-specific proxies
  • Decorators - Class and method transformations
Clone this wiki locally