Skip to main content

A set of utilities for working with AllegroGraph

Project description

agraph_utils

Introduction

agraph_utils is a python package that supplies a set of helpful functions to use along with the agraph-python package.

Installation

pip install agraph-utils

Usage

BufferTriples

the BufferTriples class allows the user to quickly add large sets of triples. You can either add triples individually with add_triple or you can add a list to the buffer as add_triples.

GeoJSON

This class allows you to easily convert various coordinates of points/lines/multipolygons into RDF Literals that can be used for GeoSPARQL.

Vector Search

This class allows you to easily use the base magic sparql predicates used in AllegroGraph for vector search. This assumes the user has a vector store with stored vectors.

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

agraph_utils-0.5.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agraph_utils-0.5-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file agraph_utils-0.5.tar.gz.

File metadata

  • Download URL: agraph_utils-0.5.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for agraph_utils-0.5.tar.gz
Algorithm Hash digest
SHA256 f69e2d7c68236240feaffc3906521e8c568b4b2e900f17236646fbec2d490a79
MD5 7a3894be2c7999c78753869be07de1d6
BLAKE2b-256 f5f3301d5330809ef744ccc5c472bf13db5b100a3c2e5aca953ea00faeca87ed

See more details on using hashes here.

File details

Details for the file agraph_utils-0.5-py3-none-any.whl.

File metadata

  • Download URL: agraph_utils-0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for agraph_utils-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 960e0e3a24880a503b2ee9866d67676ffafcb4bb8895b8fdd6bb1fcf29068214
MD5 26c6daa942e93840eb811b440986df26
BLAKE2b-256 203e81a826cb507816fdc66501a6d0350bbf8b85c8802902457ecf0e380201de

See more details on using hashes here.

Supported by

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