Skip to main content

The official Python library for the RxInferServer API

Project description

RxInferClient

A Python client for interacting with RxInfer, a probabilistic programming framework.

Note: This project is currently a work in progress. The implementation is under active development and may undergo significant changes.

Overview

RxInferClient provides a simple and intuitive interface to work with RxInfer from Python. It allows you to define models, run inference, and process results with a clean API.

Quickstart

from rxinferclient import RxInferClient

client = RxInferClient()

# Ping the server to check if it's running
response = client.server.ping_server()
print(response)

# Create a model instance
response = client.models.create_model_instance({ 
    "model_name": "BetaBernoulli-v1"
})
instance_id = response.instance_id

# Delete the model instance
client.models.delete_model_instance(instance_id=instance_id)

Installation

pip install rxinferclient

Requirements

  • Python 3.9+
  • Dependencies are managed through pyproject.toml

Development Commands

The project uses a Makefile for common development tasks. Run make help to see all available commands.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

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

rxinferclient-0.1.1.tar.gz (49.9 kB view details)

Uploaded Source

Built Distribution

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

rxinferclient-0.1.1-py3-none-any.whl (91.8 kB view details)

Uploaded Python 3

File details

Details for the file rxinferclient-0.1.1.tar.gz.

File metadata

  • Download URL: rxinferclient-0.1.1.tar.gz
  • Upload date:
  • Size: 49.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rxinferclient-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c273627a3c4957adae20b318b4bed762f9052af3f82de65361b6181a3e0051f0
MD5 3735c47d717c9b8ee59cf54ed3aa358d
BLAKE2b-256 745c10d9a1824994a62a03ed1f414f6e5006360f02910836194d384590a66e8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rxinferclient-0.1.1.tar.gz:

Publisher: publish.yml on lazydynamics/RxInferClient.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rxinferclient-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rxinferclient-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 91.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for rxinferclient-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8efeb0324b4e3e6aa6e68e64a847b62a5e998b1d6e23706f8a7c2bdc000d32a4
MD5 fcb66abd2eeab4d43199ce780d72ed7f
BLAKE2b-256 7baf8c59285eb260a55b3938acdf67671637a1fe23dd94830c5a7b7195e43062

See more details on using hashes here.

Provenance

The following attestation bundles were made for rxinferclient-0.1.1-py3-none-any.whl:

Publisher: publish.yml on lazydynamics/RxInferClient.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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