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.3.tar.gz (5.3 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.3-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agraph_utils-0.3.tar.gz
  • Upload date:
  • Size: 5.3 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.3.tar.gz
Algorithm Hash digest
SHA256 7f94f1fd71be9c7d3e2e8d9385e5a09ff39f9089a2d6fbf4fca17326ca2e48aa
MD5 5ee6583ad7a65665bd367fe440dcdcc5
BLAKE2b-256 28747fd4173c71165a5a05f64826fefd488904c36e72420bdf572f9c40731804

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agraph_utils-0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 edd38a9868e7b4b01b5e743e5c8768f497a2194e6ecda5b2989235f3d29b7a21
MD5 53f92300c3e4a22df31d1abdd69ef7ca
BLAKE2b-256 2b8c1308d03e868ab1b766f2f9cb5eb48a4332c3bef1f0aecd61fc95611da815

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