Registry / database / persisting-theory

persisting-theory

JSON →
library1.0pypypi✓ verified 84d ago

A Python library for registries that can autodiscover values across your project apps. Current version 1.0, release cadence unknown.

pip install persisting-theory
INSTALL
IMPORT
SIG · PERSISTING-THEORY
P
persisting-theory
databasepythonv1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Registry
from persisting_theory import Registry
autodiscover
from persisting_theory import autodiscover

Create a registry and autodiscover values across your project.

from persisting_theory import Registry, autodiscover class MyRegistry(Registry): pass # Autodiscover registries across apps autodiscover() # Use registry print(MyRegistry.registry)
Debug
Known issues
gotchaAutodiscover relies on module scanning; ensure all relevant apps/modules are imported before calling.
fix
Explicitly import modules in settings.py or equivalent before calling autodiscover().
affects: <=1.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'persisting_theory'
Library not installed or installed in wrong environment.
fix
Run 'pip install persisting-theory' in the correct Python environment.
Upgrade
Version history
1.0latest on PyPI · released May 6, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
persisting-theory — pip install persisting-theory · libregistry