PuppyGraph
This repository contains the PuppyGraph client for Python as well as PuppyGraph's Agentic Graph RAG libraries.
Key Features
- Zero ETL: Query data directly from your lakes and databases without data duplication.
- Dynamic Schema Management: Modify graph schemas on the fly, without needing to rebuild databases.
- Petabyte Scalability: Auto-sharded, distributed computation for handling vast datasets.
- Support for Cypher and Gremlin: Interoperable query support with robust performance.
- AI-Native: Ideal for Graph-RAG applications, with ultra-fast response times.
Installation
You can install the latest version via pip:
pip install puppygraph
Quick Example
Setup the client
from puppygraph import PuppyGraphClient, PuppyGraphHostConfig
client = PuppyGraphClient(PuppyGraphHostConfig("localhost"))
Query the graph
# Cypher Query
client.cypher_query("MATCH (actor:Actor)-[:ACTED_IN]->(movie:Movie) WHERE actor.name = \"Tom Hanks\"
"RETURN movie.title")
# Gremlin Query
client.gremlin_query("g.V().hasLabel('person').has('name', 'Tom Hanks').out('ACTED_IN').values('title')")
Set the schema
# A sample schema for the IMDb dataset
client.set_schema(
{
"catalogs": [
{
"name": "imdb_catalog",
"type": "DELTALAKE",
"params": {
"metastore_param": {
"token": "your_token",
"host": "your_host",
"unity_catalog_name": "imdb_catalog",
},
"storage_param": {
"use_instance_profile": "false",
"region": "us-west-2",
"access_key": "your_access_key",
"secret_key": "your_secret_key",
"enable_ssl": "true",
"type": "S3",
},
},
}
],
"vertices": [
{
"table_source": {
"catalog_name": "imdb_catalog",
"schema_name": "public",
"table_name": "movies",
},
"label": "Movie",
"description": "A movie in the IMDb database",
"attributes": [
{
"name": "title",
"from_field": "title",
"type": "String",
"description": "The title of the movie",
},
{
"name": "release_year",
"from_field": "release_year",
"type": "Integer",
"description": "The year the movie was released",
},
],
"id": [
{"name": "movie_id", "from_field": "movie_id", "type": "String"}
],
},
{
"table_source": {
"catalog_name": "imdb_catalog",
"schema_name": "public",
"table_name": "actors",
},
"label": "Actor",
"description": "An actor who starred in movies",
"attributes": [
{
"name": "name",
"from_field": "name",
"type": "String",
"description": "The name of the actor",
}
],
"id": [
{"name": "actor_id", "from_field": "actor_id", "type": "String"}
],
},
],
"edges": [
{
"table_source": {
"catalog_name": "imdb_catalog",
"schema_name": "public",
"table_name": "acted_in",
},
"label": "ACTED_IN",
"from_label": "Actor",
"to_label": "Movie",
"description": "An actor acted in a movie",
"attributes": [],
"id": [
{
"name": "acted_in_id",
"from_field": "acted_in_id",
"type": "String",
}
],
"from_id": [
{"name": "actor_id", "from_field": "actor_id", "type": "String"}
],
"to_id": [
{"name": "movie_id", "from_field": "movie_id", "type": "String"}
],
}
],
}
)
About PuppyGraph
PuppyGraph is a zero-ETL graph analytics engine enabling seamless graph querying across one or multiple data sources. Unlike traditional graph databases, PuppyGraph connects directly to your data warehouses and lakes without requiring complex ETL pipelines, making it both cost-efficient and scalable.
Metadata
Release files for puppygraph 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| puppygraph-0.1.6.tar.gz | 16.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| puppygraph-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.1 kB
Release files / puppygraph-0.1.6.tar.gz
| Download URL | puppygraph-0.1.6.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50afe004dea16cd446ac5354f8d2df89d1e978421b0a9b68ce31407e91d41b8b
|
|
BLAKE2b-256 checksum How to use checksums |
b26024889923930ee4ce27f5e40c6932c07de23edfd6717217b222e82fdd92cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.3 Linux/6.6.111+
|
Release files / puppygraph-0.1.6-py3-none-any.whl
| Download URL | puppygraph-0.1.6-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00978806902f37a60fd6bb6cce2483e880cebcdff345b2bd9b02e493e682a72e
|
|
BLAKE2b-256 checksum How to use checksums |
6014addc816ffe0f42c7bea6ac74c734038e2b43d8e5396409c69361488a00a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.3 Linux/6.6.111+
|
Security for puppygraph 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.