Skip to main content

No project description provided

Project description

OomStore Client (Python)

This library provides an easy-to-use async python client for OomStore, a lightweight and fast feature store powered by go.

It's built on top of oomstore client in rust via pyo3, the rust bindings for python.

Install

This package requires Python 3.7+. MacOS and Linux are supported.

pip3 install oomclient

Example

import asyncio
from oomclient import Client

async def main():
    client = await Client.with_embedded_oomagent()
    features = ["account.state", "transaction_stats.transaction_count_7d"]
    result = await client.online_get("48", features)
    print(result)

asyncio.run(main())

More examples can be found in the examples directory.

Development

Install maturin

pip3 install maturin

Init venv

python -m venv .env
source .env/bin/activate

Build and install

maturin develop

Then you can enter into the python interpreter or run the example scripts to test the library.

There are also some cargo-make tasks defined in Makefile.toml. They can be executed by cargo make <job name>.

License

Apache-2.0

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

oomclient-0.1.0_rc.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distributions

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

oomclient-0.1.0_rc.1-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.7 MB view details)

Uploaded PyPymanylinux: glibc 2.12+ x86-64

oomclient-0.1.0_rc.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.12+ x86-64

oomclient-0.1.0_rc.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

oomclient-0.1.0_rc.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

oomclient-0.1.0_rc.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

oomclient-0.1.0_rc.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

oomclient-0.1.0_rc.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.8macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

oomclient-0.1.0_rc.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

oomclient-0.1.0_rc.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

File details

Details for the file oomclient-0.1.0_rc.1.tar.gz.

File metadata

  • Download URL: oomclient-0.1.0_rc.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.12.9

File hashes

Hashes for oomclient-0.1.0_rc.1.tar.gz
Algorithm Hash digest
SHA256 b3e9a9c94d7aaf0caed86f63c4d73276bf4329f4230bec7ce8558f8a9830710e
MD5 4e602ad6a113fd577f02f19b9885a73b
BLAKE2b-256 bfc70b88bded54769c5dd80f57a7598872bb3e58cd5c8b87e6c76c8cef38784c

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6c50c5326e58d43b9e3990c602d726a540d0345d50e7d602d8543c91b00e2e9c
MD5 a2bdf53802d0923c41afab20ac322055
BLAKE2b-256 025510f80328e9e98945d7c6758a294fd2a0c98e401280b455149c9de6ad3cc9

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 18c20282b962eb68a0c0fbeecff1b3c9b0ea33bf7b72188436bce7c9ed4df793
MD5 e8b8c0b658e2eb9689dcc3d92e190f74
BLAKE2b-256 2fa72266142a287d20833f05813671389160a73796620827a0ed58b35294b96f

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 eca95f27adec8152c297ed95d4f97cbac49f24970b1738250d8210660dcef666
MD5 0aed661a53c26ec781e720ce884c5e96
BLAKE2b-256 2ade06232842147fe194410b76071573919ab1714812aaf8d44bdb874aefed69

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9d4705dbc41c517e7c412a1a9d2e87d76c22e572ecdde5a6075716d8b21bd62f
MD5 01cf6537817cca6d57150b09aeef6bc8
BLAKE2b-256 d35abfe7ccd9cc3a4f46b81110d2f0517718b0cdf706f30b320a2a91711c8e95

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2befcc632f2d45a478caf930c85ea9a34aedbb5c57c32e3bf8b05833faae60c6
MD5 2aa41ccff9c2246230544c43f55558a5
BLAKE2b-256 7f6f100f5be7d75cf224c3e96b813d896ff0cf1e89496dade8e62bbd65392950

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 520112d444e4e674557935cd31f018987c2437cfb5ff0f94bb6e50214d6fbe71
MD5 ee790907c48baa9f3a1d8d3005ea73f9
BLAKE2b-256 7dfab237a894ac7fd7a4bfe6edde5c1b5ef2f7559beae8b4f8a7fff0ff0faa92

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7c52179e4427e6f18bfadb45d0f39faa952f168edc07295c167a45d579a58206
MD5 98b5250834c0859d58f25da91bb9caaa
BLAKE2b-256 3b1102df610a4c79427c59eb6b27592bc4b771a7121a33fb28e56326287399a1

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 0260f9f89cf1efc8a519c42ff6157653643bdb02c27e0ac24f57c7c19bdc13f9
MD5 ad88cbb7b2a0f280de4be4defb6a0583
BLAKE2b-256 c9eaf5c0a73602c4db6fdb9be3c83f0e032e7d8420d95333fbde39e9ccbed650

See more details on using hashes here.

File details

Details for the file oomclient-0.1.0_rc.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for oomclient-0.1.0_rc.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cee8f64a53a7aa5cdadc00ebb60dae33f612e1466a71c33928454b7442556606
MD5 5e3eb11f0aa2f983b781cea842fbc37b
BLAKE2b-256 576f896ab79712629a48c340a3d9caa6c2146d65bc9676e8c093c77a43d89adb

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