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.4.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.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agraph_utils-0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 c7ae1b5c871c89a15f59d17c0d8f24518421e41d7802bd443f83cf5d0ae291b8
MD5 5300624e58b3776da451a66ce22240fd
BLAKE2b-256 0d5bf44f123c72882d15052a44b33d0001214bf0d8b3a1984aa2dbfbce819a8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agraph_utils-0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4510c19e32ccefc03b95fedfe3c53b29470551b54cd6dbaf70e12bfad8fafc67
MD5 f648f86c01b76d39c00c89a272adaf95
BLAKE2b-256 52bcbb0fc3221c4fe0d9e4e536c25682c9cf6e1205b60f8c79cf42c0aefd5c69

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