Skip to main content

Paramus World Client - API client for the Paramus World semantic knowledge graph system

Project description

Paramus World Client

A Python client library for interacting with the Paramus World semantic knowledge graph system.

Features

  • JSON-RPC API Client: Easy-to-use client for Paramus World API
  • SPARQL Support: Execute SPARQL queries and updates against the knowledge graph
  • Chat Interface: Submit messages to the AI assistant
  • Health Monitoring: Check system status and statistics
  • Authentication: JWT token-based authentication

Installation

pip install paramus-world

Quick Start

from paramus.world.client import ParamusWorldClient

# Initialize the client
client = ParamusWorldClient(token="your-jwt-token")

# Check system health
health = client.check_system_health()
print(health)

# Submit a chat message
response = client.submit_chat("Hello, World!")
print(response)

# Execute a SPARQL query
query = """
PREFIX world: <https://paramus.ai/world/>
SELECT ?subject ?predicate ?object
WHERE { ?subject ?predicate ?object }
LIMIT 10
"""
result = client.sparql_query(query)
print(result)

API Methods

Authentication

  • authenticate(username, password) - Authenticate and get a token

Chat Interface

  • submit_chat(message, context=None) - Submit a message to the AI assistant

SPARQL Operations

  • sparql_query(query, format="json") - Execute SPARQL queries
  • sparql_update(update) - Execute SPARQL updates

System Monitoring

  • check_system_health() - Get system health and statistics

Configuration

The client connects to http://127.0.0.1:8051 by default. You can configure this:

client = ParamusWorldClient(
    base_url="https://your-server.com",
    token="your-jwt-token"
)

Examples

See the examples directory for comprehensive usage examples.

License

MIT License - see LICENSE file for details.

Links

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

paramus_world-1.0.2.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

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

paramus_world-1.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file paramus_world-1.0.2.tar.gz.

File metadata

  • Download URL: paramus_world-1.0.2.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for paramus_world-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f0f0cbaecb7c2ee665393e63150e1ffac8382a6699db079cfd09eaa2a410dc37
MD5 e3777ef86dbcb3581fd9de688fc1a554
BLAKE2b-256 d780fda9c688f48d1f5a27bfe985cb1c86f3f1182eb81baeff5a84f0b376455d

See more details on using hashes here.

File details

Details for the file paramus_world-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: paramus_world-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for paramus_world-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca1844f27379dc439ac3e249938fb90cf2ed79c15caebfea8bdbeb7e525acebc
MD5 53c34f409d2032c6a54c7aa4d94a43ff
BLAKE2b-256 d9287eaff480f74668202470b6be0aeec96ca637b55a252e0e0283e287e759e9

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