Skip to main content

No project description provided

Project description

Rulebricks Python Library

Documentation

API reference documentation is available here.

Installation

Add this dependency to your project's build file:

pip install rulebricks
# or
poetry add rulebricks

Usage

from rulebricks.client import Rulebricks

rulebricks_client = Rulebricks(
    api_key="YOUR_API_KEY",
    base_url="https://yourhost.com/path/to/api",
)

Async Client

from rulebricks.client import AsyncFlatFile
import flatfile

import asyncio

rulebricks_client = AsyncRulebricks(
    api_key="YOUR_API_KEY",
    base_url="https://yourhost.com/path/to/api",
)

Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your pyproject.toml file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

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

rulebricks-0.0.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

rulebricks-0.0.1-py3-none-any.whl (14.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page