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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pydantigraph-0.1.0.tar.gz.

File metadata

  • Download URL: pydantigraph-0.1.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Darwin/21.6.0

File hashes

Hashes for pydantigraph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 be7290e2fa2c74d8da1828af36844a9121c6a30e3fee4acce42449e8422a284e
MD5 48cf001b57b6ed0714106472ef4b5092
BLAKE2b-256 cb99f74345d198239f889203c0955074a4da852a212b5df88853875bccc07c2e

See more details on using hashes here.

File details

Details for the file pydantigraph-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pydantigraph-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Darwin/21.6.0

File hashes

Hashes for pydantigraph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 405f0bfabd4dae685dd9f924de14b454ae24b5d9b7b8bcff0f03c29e61ef9005
MD5 7eed1ef7e0956c06a87bfbd625ae5b7f
BLAKE2b-256 e74616749cbae6287d46322141e042e9c2dd47aa9c69b71609e64bbd823d35af

See more details on using hashes here.

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