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.1_rc.0.tar.gz (6.4 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.1_rc.0-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.1_rc.0-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.1_rc.0-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.1_rc.0-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.1_rc.0-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.1_rc.0-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.1_rc.0-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.1_rc.0-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.1_rc.0-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.1_rc.0.tar.gz.

File metadata

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

File hashes

Hashes for oomclient-0.1.1_rc.0.tar.gz
Algorithm Hash digest
SHA256 b39009a92679ebcd94f2ae5d68f4f769f59423beb6aaa0abcd6df132a23dd06e
MD5 73686810312e23ee5c190a0d1d712c04
BLAKE2b-256 eb552a30c0720f25ade40fa2eada95b694dc1d59352846f7c5f36f05c34c0387

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.1_rc.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 bd0eae507c2d7491fb034ef0f924862437728c27e3f002f72e1c185c72e92015
MD5 13911b00a50821f35ab72eee6c385469
BLAKE2b-256 7d4fc2e2a256d4c4a93572a2e165f4b09bb2f24e073ba6ef8b6963b1e59d5d68

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.1_rc.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5d95544874925ae031e8fcf63c8dc4c860c9b11bedeee52766a23a9c585d74e0
MD5 2732cc05efe29edb9d8340cbcf4253f1
BLAKE2b-256 1f9d128d0178b6e4a21c2cf5cbbe466c462219868d831b7a695c0423945ed093

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-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.1_rc.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 379cee70c3305cb5f6048fb7ccdf3d3a008744ca88127a90f4b61469b64c67a1
MD5 e537b6683c708d5774cf38ed79e45e70
BLAKE2b-256 93e2e014a3bdc780975776a1faeba27880aaeabfb468cf9542091b2edd0d6f70

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.1_rc.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 29022b9ffad8eda31ebdf6b33fd3a8f406723aaceb43474dd909cf1407f81e3e
MD5 516fed07affa6d002eba062e9566b288
BLAKE2b-256 a46f6069015dac2c16f359bd6035a11afe0d6184e1d823335bf91efb5f1a390a

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-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.1_rc.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 74c0587020a33a0df79053133032d5434fe7a5cbbc2257b3f018cc51fcf983c1
MD5 445e67e2b202687f9b25a465cec601e1
BLAKE2b-256 03d551422a37a51c6b46c6f110197fc3067df5eaf99e52003415fc15878bd18d

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.1_rc.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2af462908057c92b01d21baff522cdff188878dbdff9d71f5a5f3bd2625fe7fc
MD5 80a49b92b4a67d2c5b97cced9ac451c5
BLAKE2b-256 05c36bec6b85442c00f36af46ceb432073963cbeb96b4a170b56d98ea49eee97

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-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.1_rc.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ac4df3b3c6826ea8b654d171fd71753984effb2fff469a66932d574c294927a0
MD5 f15b2e755f47335cf859bf51a600369c
BLAKE2b-256 1b8140e0b60062c28e37c090c32a9c0eedb3b9cd5930c14619a5700940616294

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for oomclient-0.1.1_rc.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1fc6b9b6d87383c6d409ff67f53fc81338af316034974abe2b8ee6f39ef2ae55
MD5 238a0fa0805ce7ff0204c421fb7a909e
BLAKE2b-256 1bc5e8d4baec398b4e3ecfa90456ba867085046c5d38359a30fcacb50afedf90

See more details on using hashes here.

File details

Details for the file oomclient-0.1.1_rc.0-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.1_rc.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8bee25ca408dc01309a6515bd6191d6395fc398c78f56fccead6989827b430c3
MD5 eeb067fbec6cb0f6daf7bb18b5ed0b05
BLAKE2b-256 5712eaa1ed0f9408d90247b6da182314f51c4ba1732567138ec035beb3dd477e

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