Graph models for pydantic with pyoxigraph
Project description
pydantigraph
ORM data models, schemas, and vocabularies for pyoxigraph
- ORM-like read/write with pyoxigraph
- Read - just model fields
- Read - model fields + all triples with matching subject
- Lazy read - read connected entities when accessed
- Write
- Update
- Delete
- Crawl - get triples n-steps out from current object leaves with filtering
- Namespaces for using schema
- Code generation from existing schema
- Fields and type annotations for declaring terms
- Fields are properly checked by MyPy using the first type parameter
- Lists <-> blank node collections
- Pydantic validation
- JSON-Schema
- RDF serialization with rdflib
- IRI (not URL) validator
- Only fields that map onto RDF literals allowed
See Also
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydantigraph-0.1.0.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for pydantigraph-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405f0bfabd4dae685dd9f924de14b454ae24b5d9b7b8bcff0f03c29e61ef9005 |
|
MD5 | 7eed1ef7e0956c06a87bfbd625ae5b7f |
|
BLAKE2b-256 | e74616749cbae6287d46322141e042e9c2dd47aa9c69b71609e64bbd823d35af |