Skip to main content

Prometheux chain is a Python SDK designed to build, evolve and deploy your new knowledge graphs.

Project description

Prometheux_chain

Description

Prometheux Chain is a Python SDK designed to help you create, evolve, and deploy knowledge graphs with ease. The SDK offers the following capabilities:

  • Data Ingestion: Seamlessly integrate data from various sources, including databases and files.
  • Reasoning & Knowledge Augmentation: Perform logical reasoning to derive new insights and augment your existing knowledge base.
  • Explainability: Gain clear explanations of the results generated by the system.

For more information refer to the documentation

Features

  • Supports a wide range of data sources.
  • Built-in reasoning engine for deriving new knowledge.
  • Easy-to-understand explanations for enhanced interpretability.
  • Ready-to-use configurations for fast deployment.

Installation

Requirements

  • Python 3.9 or higher (Python 3.13 recommended)

Install Using pip

  1. Set Up a Virtual Environment (recommended):
python3 -m venv myenv
source myenv/bin/activate  # On Windows: myenv\Scripts\activate
  1. Install the SDK via pip:
pip install --upgrade prometheux_chain

Usage

This guide demonstrates how to get started with the Prometheux Chain SDK. The example below outlines a typical workflow, including creating a project, defining concept logic, and running concepts to generate results.

Workflow

Import the prometheux_chain

import prometheux_chain as px
import os

Define the PMTX_TOKEN environment variable for authentication

os.environ['PMTX_TOKEN'] = 'my_pmtx_token'

Configure the backend connection using your Prometheux account

px.config.set('JARVISPY_URL', "https://platform.prometheux.ai/jarvispy/'my_organization'/'my_username'")

Create a new project

project_id = px.save_project(project_name="test_project")

Define concept logic using Vadalog syntax and save it

concept_logic = """
company("Apple", "Redwood City, CA").
company("Google", "Mountain View, CA").
company("Microsoft", "Redmond, WA").
company("Amazon", "Seattle, WA").
company("Facebook", "Menlo Park, CA").
company("Twitter", "San Francisco, CA").
company("LinkedIn", "Sunnyvale, CA").
company("Instagram", "Menlo Park, CA").

location(Location) :- company(_,Location).

@output("location").
"""
px.save_concept(project_id=project_id, concept_logic=concept_logic)

Run the concept to generate results

px.run_concept(project_id=project_id, concept_name="location")

Access to Prometheux Backend

The Prometheux backend is required to use this SDK. To request access:

License

BSD 3-Clause License — see LICENSE file for details.

About Prometheux

Prometheux is an ontology native data engine that processes data anywhere it lives. Define ontologies once and unlock knowledge that spans databases, warehouses, and platforms—built on the Vadalog reasoning engine.

Key capabilities:

  • Connect: Query across Snowflake, Databricks, Neo4j, SQL, CSV, and more without ETL or vendor lock-in
  • Think: Replace 100+ lines of PySpark/SQL with simple declarative logic. Power graph analytics without GraphDBs
  • Explain: Full lineage & traceability with deterministic, repeatable results. Ground AI in structured, explainable context

Exponentially faster and simpler than traditional approaches. Learn more at prometheux.ai.

Support

For issues, questions, or access requests:

Related Projects

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

prometheux_chain-0.2.12.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

prometheux_chain-0.2.12-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file prometheux_chain-0.2.12.tar.gz.

File metadata

  • Download URL: prometheux_chain-0.2.12.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.10

File hashes

Hashes for prometheux_chain-0.2.12.tar.gz
Algorithm Hash digest
SHA256 e8141b2e45bdc9cc2e5de350e917c2fc6af83f6aba1ee779f258f43c294af2a3
MD5 514392aec79dd0a4d7de5858816eb223
BLAKE2b-256 5a6360ecff19a08bd5c52de9c4c5e2d2357fce67c3f17dacb6b53edbb3c0ddde

See more details on using hashes here.

File details

Details for the file prometheux_chain-0.2.12-py3-none-any.whl.

File metadata

File hashes

Hashes for prometheux_chain-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 6edd4a20c2565a65a81d6a1a2b3b4a82f563a8f7493f7f1c1b9cb479bff894b8
MD5 ade9b9ce7f0322f2a44c0bad2b209b29
BLAKE2b-256 265810f38dddd442f8faa1a1d55454f1a2b79da9714c9970497b7f2fb55ede56

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