Metadata-Version: 2.4
Name: ontologia
Version: 0.1.1
Summary: An ontology management system built on Registro and SQLModel
Project-URL: Homepage, https://github.com/kevinqz/ontologia
Project-URL: Repository, https://github.com/kevinqz/ontologia
Project-URL: Issues, https://github.com/kevinqz/ontologia/issues
Author-email: Kevin Saltarelli <kevinqz@gmail.com>
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Requires-Dist: pydantic>=2.0.0
Requires-Dist: registro>=0.2.0
Requires-Dist: sqlmodel>=0.0.24
Requires-Dist: ulid-py>=1.1.0
Provides-Extra: dev
Requires-Dist: black>=23.3.0; extra == 'dev'
Requires-Dist: mypy>=1.3.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff>=0.0.272; extra == 'dev'
Description-Content-Type: text/markdown

# Ontologia

An ontology management system built on Registro and SQLModel.

## Overview

Ontologia provides a structured way to define and manage ontologies using SQLModel (SQLAlchemy + Pydantic). It leverages Registro for resource identification, validation, and lifecycle management.

## Features

- **Object Types**: Define object structures with properties and relationships
- **Property Types**: Rich data type system including basic and composite types
- **Link Types**: Manage relationships between object types with cardinality
- **Validation**: Ensures referential integrity and type safety
- **SQLModel Integration**: Automatic table creation and ORM operations

## Installation

```bash
pip install ontologia
```

## Usage

See `main.py` for example usage of creating object types, properties, and relationships.

## Development

```bash
# Install dependencies
uv sync

# Run tests (if tests directory exists)
uv run pytest tests/

# Run example
uv run python main.py
```

## License

MIT
