{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/3"}],"enrichment":{"capability":"Provides dynamic object factory implementations using abstract factory and registry patterns, allowing objects to be instantiated from configuration without modifying factory code.","skillfed_tags":["factory-pattern","dependency-injection","configuration-driven"],"use_cases":["Building plugin systems where user-provided or configuration-specified classes are instantiated dynamically without modifying core code.","Machine learning experiment frameworks where model, optimizer, and loss function classes are selected and instantiated from configuration files.","Dependency injection containers where object graphs are built from declarative configuration rather than imperative setup.","Testing frameworks that need to instantiate mock or fixture objects by class name from test specifications."],"what_it_does":"objectory is a lightweight Python library that implements factory patterns for dynamic object instantiation. It provides three main approaches: a general-purpose factory function that can instantiate any Python class by name, an abstract factory metaclass for inheritance-based registration, and a standalone registry for explicit class registration. The library is designed to decouple object creation from usage, allowing objects to be instantiated from configuration dictionaries without hardcoding class references.\n\nThe package has no runtime dependencies and installs cleanly on modern Python versions (3.10 through 3.14). It is actively maintained but remains in beta, meaning the API may change between releases. It is suitable for scenarios where you need flexible, configuration-driven object instantiation\u2014particularly useful in machine learning pipelines, plugin systems, or any architecture where object types are determined at runtime rather than compile time.","worth_installing":"Yes, if you need dynamic object instantiation and can tolerate beta-stage API changes. The low install friction, active maintenance, permissive license, and absence of dependencies make it a reasonable choice for configuration-driven architectures. However, pin your version carefully and review release notes before upgrading, since API stability is explicitly not guaranteed."},"id":"objectory","links":{"html":"https://skillfed.io/packages/objectory","md":"https://skillfed.io/packages/objectory.md","pypi":"https://pypi.org/project/objectory/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-19","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"objectory","python_support":"supports_current","summary":"A light library for general purpose object factories"},"popularity":{"monthly_downloads":626964,"position":5683,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.1"}
