Registry / web-framework / fyrnheim

fyrnheim

JSON →
library0.14.0pypypi✓ verified 81d ago

Fyrnheim is a typed Python entity framework and dbt alternative built on Pydantic + Ibis. It allows defining typed entities with Pydantic, generating transformations, and running them anywhere. Current version 0.14.0, active development.

pip install fyrnheim
INSTALL
IMPORT
SIG · FYRNHEIM
F
fyrnheim
web-frameworkpythonv0.14.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.

ActivityDefinition
from fyrnheim import ActivityDefinition
from fyrnheim import Entity
MetricsModel
from fyrnheim import MetricsModel
QualityRunner
from fyrnheim import QualityRunner

Defines a User entity and ingests a pandas DataFrame into a database via Ingestor.

import os import pandas as pd from fyrnheim import Entity, Ingestor class User(Entity): id: int name: str email: str df = pd.DataFrame([ {"id": 1, "name": "Alice", "email": "alice@example.com"}, ]) ingestor = Ingestor(target=os.environ.get('DATABASE_URL', 'sqlite://')) ingestor.ingest(User, df) print("Ingestion complete")
Debug
Known issues
deprecatedThe old `Entity.derive()` method has been deprecated in favor of the new transformation API using `Entity.transform()`.
fix
Replace `derive()` calls with `transform()`.
affects: >=0.9.0,<0.14.0
gotchaEvent source loading now composes Ibis expressions and uses UNION ALL. Previously, it materialized sources locally. If you relied on pandas-only behavior, your pipeline may break.
fix
Ensure your data sources are accessible from the Ibis backend (e.g., BigQuery, DuckDB).
affects: >=0.14.0
breakingThe `Ingestor` class signature changed: `target` parameter now expects a connection string instead of a SQLAlchemy engine.
fix
Pass a connection string (e.g., 'sqlite:///db.sqlite') instead of an engine object.
affects: >=0.10.0
Upgrade
Version history
0.14.0latest on PyPI · released Apr 28, 2026
Audit
Dependencies
ibis-frameworkrequiredCore query generation uses Ibis expressions
pydanticrequiredEntity definitions are Pydantic models
Agent activity
25 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
fyrnheim — pip install fyrnheim · libregistry