Skip to main content

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


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)

Uploaded Source

Built Distribution

pydantigraph-0.1.0-py3-none-any.whl (18.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page