Gyldan¶
GyldanDB saves application data in a local database and keeps its change history. You describe the kinds of data your program needs, create objects, and commit related edits together. Later, you can reopen those objects or read an earlier version.
This guide builds a small library of books. It starts with one book's title and page count, then adds queries, history and separate views for proposed edits. You need basic Python familiarity to follow the Python examples.
After installing the gyldan distribution, you can run these
imports in Python to load the object API and the file-backed catalog.
Start here¶
- Understand the basic ideas through the library example.
- Install Gyldan in a Python virtual environment.
- Create your first database and reopen its objects.
- Define concepts and properties for your data.
- Use transactions and history to edit and read earlier states.
Work with a database¶
- Handles and overlays explain isolated changes and merges.
- Queries find objects by values, ranges, references and collections.
- Folders add named groups of objects through an optional helper.
- Storage and recovery explain journals, segments, interrupted transactions and the costs of retained history.
- The command-line interface creates, inspects and edits databases from scripts and terminals.
- Operations and errors cover file locations, commit outcomes, stale sessions and diagnostics.
- The library example demonstrates schema, objects, queries, rollback and reopening in one program.
- The Python API reference lists the methods used in the guide, their inputs and their results.
Alpha releases¶
Gyldan is in alpha. APIs, journals and storage formats can change between alpha revisions. Keep the version used for a database with your application's release information. The compatibility policy starts with the first actual minor release. Version 1.0 starts its own compatibility line.
This guide documents the 0.0.0a2 Python package. Its code is assembled
from the component revisions recorded by this release repository.