38 Repos
Tools for defining and enforcing logical relationships between database entities.
Distinguishing note: Focuses on the logical mapping of data associations.
Explore 38 awesome GitHub repositories matching data & databases · Relationship Modeling. Refine with filters or upvote what's useful.
30-seconds-of-code is a comprehensive knowledge base and programming snippet library designed to support software engineering education and professional development. It provides a curated collection of reusable code units and technical guides that help developers master core language mechanics, design patterns, and architectural philosophies. The project distinguishes itself by offering a wide-ranging library of algorithmic solutions and web development patterns that are organized into modular, independently testable units. It emphasizes functional programming paradigms and declarative logic,
Provides tools for defining and managing logical relationships between data entities.
Drizzle ORM is a TypeScript-native database toolkit providing type-safe SQL query building, schema management, and automated migrations across PostgreSQL, MySQL, SQLite, and SingleStore.
Enables definition of database relationships to ensure data integrity and logical linking.
Cube is a semantic data layer that provides a unified framework for defining business metrics, dimensions, and relationships across diverse data sources. By acting as a headless business intelligence engine, it transforms raw data into a governed model that can be queried via SQL, REST, and GraphQL interfaces. This architecture ensures consistent data definitions and logic across all downstream analytical applications and reporting tools. The platform distinguishes itself through its integrated conversational AI capabilities, which allow users to explore data using natural language. It orches
Maps connections between data entities to enable automatic generation of multi-table queries.
This is a mobile object database and NoSQL local data store that replaces relational tables with a schema-based model. It functions as a reactive data store, using live object observations and change notifications to trigger automatic user interface refreshes. The system provides built-in mobile cloud data synchronization to keep local datasets consistent with a remote server across multiple devices. It also includes security features for encrypted local storage, protecting sensitive on-disk data using at-rest encryption keys and fine-grained access control. Broad capabilities include object
Supports the definition of inverse relationships to create backlinks between parent and child objects.
Amass is an attack surface management tool designed to identify, map, and inventory an organization's internet-facing digital assets. It functions as a security asset discovery engine that systematically expands an organization's known infrastructure footprint through recursive domain name resolution and the collection of intelligence from diverse public data sources. The platform distinguishes itself by utilizing a graph-based modeling approach to organize discovered resources. By maintaining a persistent graph database, it tracks the relationships between infrastructure components and norma
Links resource types and properties within a structured model to visualize interactions across the technical landscape.
LoopBack is a Node.js API framework used to build RESTful services and backend applications. It functions as a model-driven API generator that automatically maps predefined data models to network endpoints to create standardized web interfaces. The project features a database abstraction layer that unifies access across diverse SQL databases, NoSQL stores, and remote data sources. It includes a backend application scaffolder using command-line generators to automate the creation of project structures and data connectors. Additionally, it provides an API authentication system to manage applica
Provides tools for defining and enforcing logical relationships and associations between different data entities.
Statsmodels is a comprehensive Python library designed for statistical modeling, econometric research, and data analysis. It provides a robust framework for estimating and diagnosing a wide range of statistical models, enabling users to perform rigorous hypothesis testing, regression analysis, and complex data exploration within structured environments. The library distinguishes itself through its support for advanced statistical methodologies, including state space representation for dynamic systems and generalized linear frameworks that accommodate non-normal response variables. It offers s
Captures complex dependencies between variables using copulas to describe joint distributions.
This project is a software engineering style guide and a curated collection of architectural patterns and coding standards. It provides a multi-language coding standard to ensure maintainable software across Ruby, Python, JavaScript, and Swift. The project establishes a development workflow specification for version control, continuous integration, and peer review to maintain a linear project history. It also includes a web accessibility framework based on ARIA and WCAG standards, using design tokens and semantic HTML patterns to build inclusive interfaces. The guides cover a broad range of
Standardizes the declaration and ordering of data associations to maintain readable domain logic.
pysheeet ist eine technische Referenzbibliothek, die eine kuratierte Sammlung von Code-Snippets und Implementierungsmustern für fortgeschrittene Python-Entwicklung, Systemintegration und High-Performance-Computing bereitstellt. Sie dient als umfassender Leitfaden für die Implementierung von Low-Level-Netzwerkprogrammierung, nativen C-Erweiterungen sowie asynchroner und nebenläufiger Programmierung. Das Projekt bietet spezialisierte Frameworks für die Entwicklung und Bereitstellung von Large Language Models, einschließlich Werkzeugen für verteilte GPU-Inferenz und High-Performance-Serving. Es enthält zudem detaillierte Muster für die Orchestrierung von High-Performance-Computing-Clustern, die GPU-Ressourcenzuweisung und Multi-Node-Workload-Management abdecken. Die Bibliothek deckt ein breites Spektrum an Funktionen ab, einschließlich sicherer Netzwerkkommunikation und Kryptografie, Object-Relational-Mapping und Datenbankverwaltung sowie die Implementierung komplexer Datenstrukturen und Algorithmen. Sie bietet zudem Utilities für Speicherverwaltung, native Interoperabilität via Foreign-Function-Interfaces und systemnahe OS-Integration.
Provides patterns for establishing one-to-many and many-to-many connections using foreign keys and pivot tables.
Flecs is a high-performance entity component system framework and data-oriented programming library. It serves as a simulation engine core and game engine architecture tool, decoupling state from behavior by separating entities, components, and systems. The framework features a runtime reflection layer for dynamic data inspection and a built-in scripting system for defining entity behavior without recompilation. It also includes a network interface and REST API for remote simulation administration and state querying. The library covers a broad surface of simulation capabilities, including ar
Matches entities through chains of relationships where a connection is implied by intermediate links.
This project is a MongoDB database driver and object-relational mapper that brings MongoDB support to the Laravel Eloquent model and query builder. It provides a NoSQL model mapper that allows MongoDB collections to be mapped to object-oriented models using the Active Record pattern. The integration enables the use of a fluent query builder for constructing queries and aggregation pipelines without writing raw database syntax. It supports schema-less model integration, allowing applications to manage unstructured data while maintaining compatibility with standard object-oriented patterns. Th
Establishes data relationships between documents in MongoDB and records in other database engines.
MobX State Tree is a structured, tree-based state management library for JavaScript applications that combines typed model definitions with reactive snapshots and patch-based change tracking. It provides a reactive state container with runtime and compile-time type safety, where application state is defined as a tree of typed models with collocated actions, computed views, and lifecycle hooks for predictable state mutations. The library is built around an action-centric mutation model that encapsulates all state changes within named functions that directly modify the tree, supported by genera
Links related models via lightweight identifier references for normalized data management and cross-tree lookups.
sqlboiler is a database-first ORM generator for Go that analyzes an existing database schema to produce strongly typed structures and query helpers. It functions as a schema-driven code generator, transforming database tables and relationships into executable Go source code. The project distinguishes itself through a type-safe query builder that uses chainable modifiers to construct SQL statements, eliminating the need for raw string concatenation. It utilizes customizable text templates to generate source code, allowing for the aliasing of schema entities and the creation of custom templates
Generates dedicated getter methods and mapping logic based on database foreign key constraints.
Bookshelf is a JavaScript ORM for Node.js that provides a structured way to define and interact with database models. It centers on a model-driven approach where developers register models, define their relations, and manage data persistence through a consistent interface. The library distinguishes itself through its comprehensive handling of model relationships and data transformations. It supports defining one-to-one, one-to-many, many-to-many, and polymorphic associations, with the ability to eager load related models in a single query to avoid performance pitfalls. Bookshelf also automate
Defines one-to-one, one-to-many, many-to-many, and polymorphic database associations.
CUE is a constraint-based configuration language designed for data validation, schema definition, and code generation. At its core, it unifies types and values into a single concept, enabling compile-time validation that catches structural and value errors before runtime. The language treats data and constraints as the same thing, allowing a single definition to serve as both a schema and concrete configuration data. CUE distinguishes itself through its constraint-based unification engine, which combines multiple configuration sources into a single coherent result by merging their constraints
Detects and resolves reference cycles in configuration by treating self-referencing fields as top.
pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent query builder for constructing SQL statements programmatically. At its core, it automatically generates CREATE TABLE statements from Go struct definitions using struct tags and naming conventions, and builds queries through method chaining with placeholder-based parameter binding to prevent SQL injection. The library distinguishes itself through relation-aware join generation that automatically constructs JOIN clauses for has-one, has-many, many-to-many, and polymorphic assoc
Marks fields as has-one, has-many, many-to-many, or polymorphic relations so queries can automatically join related data.
SpringSide 4 is an enterprise Java reference architecture and utility library built on the Spring Framework. It provides a pragmatic, best-practice application stack for building RESTful web services, web applications, and data access layers, along with a curated collection of high-performance utility classes for common operations like text, date, collection, reflection, concurrency, and I/O handling. The project distinguishes itself by combining a complete reference application scaffold with production-oriented infrastructure. It includes a JPA-based data access layer that automatically tran
Ships entity relationship mapping annotations for JPA entity associations.
Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS
Declares foreign key, many-to-many, and one-to-one relationships and fetches related objects.
Dies ist eine Bibliothek für quantitative Finanzen, die auf TensorFlow für Financial Engineering, Asset Pricing und Risikomanagement basiert. Sie dient als Pricing-Engine für Finanzderivate, als Tool zur Modellkalibrierung und als hardwarebeschleunigte Mathe-Bibliothek für numerische Aufgaben. Die Bibliothek bietet spezialisierte Funktionen für das Pricing von Finanzanlagen unter Verwendung von Standardmodellen und Logik für amerikanische Optionen sowie für die Kalibrierung von Pricing-Modellen an Marktdaten mittels lokaler Volatilität. Sie enthält Tools zur Konstruktion von Zinskurven mittels Bootstrapping-Algorithmen und monotoner konvexer Interpolation. Das Framework deckt ein breites Spektrum an quantitativen Modellierungsaufgaben ab, einschließlich der Simulation stochastischer Prozesse, dem Sampling aus Copulas zur Modellierung von Abhängigkeitsstrukturen und dem Lösen gewöhnlicher und partieller Differentialgleichungen. Zudem bietet es numerische Analysetools für Nullstellensuche und mathematische Optimierung.
Uses copula-based sampling to generate correlated random variables for dependency modeling.
Qor ist ein Go-Admin-Framework und Backend-Toolkit, das für den Aufbau administrativer Interfaces, Headless-Content-Management-Systeme und REST-API-Generatoren verwendet wird. Es bietet eine strukturierte Umgebung für die Implementierung von Business-Application-Backends und ist auf die Verwaltung strukturierter Inhalte und Medien-Assets spezialisiert. Das Projekt zeichnet sich durch umfassendes, mehrsprachiges Content-Management aus, das locale-basierte Datenversionierung und ein dediziertes System für Internationalisierung und Übersetzungsverwaltung bietet. Es differenziert sich zudem durch eine integrierte Zustandsautomaten-Implementierung (State Machine) für die Automatisierung von Geschäftsprozessen und einen Content-Staging-Workflow zur Überprüfung von Änderungen vor der Veröffentlichung. Das Framework deckt ein breites Spektrum an Funktionen ab, einschließlich rollenbasierter Zugriffskontrolle, Sitzungsmanagement und Planung von Hintergrundjobs. Die Datenverwaltung umfasst CRUD-Handler-Overrides, Beziehungsmanagement und ein metadatengesteuertes UI, das Dashboards und Formulareingaben basierend auf Backend-Ressourcendefinitionen generiert. Zudem bietet es Tools für die RESTful-API-Generierung mit Unterstützung für Content-Negotiation und verschachtelte Endpunkte. Das System ermöglicht Bereitstellungsoptimierung, indem HTML-Templates direkt in die Go-Anwendungs-Binary kompiliert werden, um Dateisystemabhängigkeiten zu entfernen.
Manages complex data associations including one-to-one, one-to-many, and many-to-many mappings.