Skip to content

kairos-xx/objectron

Repository files navigation

Objectron

Objectron Logo

Advanced Python object transformation system with dynamic monitoring and deep reference management.

Try it on Replit

✨ Features

  • 🎯 Smart Access - Transparent attribute access, dynamic creation, and path-based traversal
  • 🔄 Deep Monitoring - Comprehensive method and attribute tracking
  • 🛠 Type Coverage - Full support for built-in and custom types
  • 🔍 Reference Control - Automatic tracking with circular reference handling
  • 🎨 Flexible Syntax - Mix attribute and path-based access patterns

📦 Quick Start

from objectron import Objectron

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

# Dynamic attribute creation
config.database.host = "0.0.0.0"
config.database.port = 5432

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

print(config.database.host)          # "0.0.0.0"
print(config["database.port"])       # 5432

📦 Installation

pip install objectron

📖 Documentation

See our Documentation Wiki for:

  • Complete API Reference
  • Usage Examples
  • Implementation Details
  • Best Practices

🤝 Contributing

Contributions welcome! Please submit a Pull Request.

📄 License

MIT License - see LICENSE file