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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oomclient-0.1.0.tar.gz.
File metadata
- Download URL: oomclient-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
740c4767d2e8e9565d49d8d570f31fe86229a6aea58f717c6d7b4bd6fdddb659
|
|
| MD5 |
7e02e49477cf5c2c703041419d47dea3
|
|
| BLAKE2b-256 |
cf9729e4392212b5b6dabd270d2085e7d02fd03ba284c43b702d8038010c507e
|
File details
Details for the file oomclient-0.1.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.
File metadata
- Download URL: oomclient-0.1.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 2.7 MB
- Tags: PyPy, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d54f9f60c3df1f7899493017d3bd66e5c36fb696f580ec936e62aecde490e0d
|
|
| MD5 |
5d48d893962779f717a06cde3ffe8711
|
|
| BLAKE2b-256 |
e244da9cb8fff038c7b5f9e3610e7805dd4e1378db31a418b5c868859b28bba8
|
File details
Details for the file oomclient-0.1.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.
File metadata
- Download URL: oomclient-0.1.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7aed04d39584cf8d31e7f8d91e53b4546a6c892faeaa3e1de2d78ded6231f73d
|
|
| MD5 |
0db522503bf878451f72bb126d2eaeb5
|
|
| BLAKE2b-256 |
dad98705cedd94dfd56efc38814790706d2c41b3b70b9a9ea844699baa6ec456
|
File details
Details for the file oomclient-0.1.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: oomclient-0.1.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e873da149a2341b6cc843b92e71aa0f6de2c35b1e69532ba342969f1cc0f871
|
|
| MD5 |
1d847d9fdad80956a29caaeb2dd027cd
|
|
| BLAKE2b-256 |
c3e873eb3659360d6e97baddc314c87f007ffacea100ced7e0044cf337a2e5f8
|
File details
Details for the file oomclient-0.1.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.
File metadata
- Download URL: oomclient-0.1.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
170fe46875fc6cf2a9dde3aa3c08a56e6a27ed04033cafe9bb743ade4cd71f31
|
|
| MD5 |
2b59986ba79d52bc5ce81d4e24edb86a
|
|
| BLAKE2b-256 |
2f80eedd916687d1b165527144d95b46c60e3089c55e02771224ae32f70a6961
|
File details
Details for the file oomclient-0.1.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: oomclient-0.1.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
432c9fa56149a4ee404d507c22a07e060d958de1794759b3195e726571414c2b
|
|
| MD5 |
0d2966fecde5af96d10cbb1853215ba6
|
|
| BLAKE2b-256 |
dd0e8c1fd4be40ad229c61a20ddc918640e2d19a05d316435f90479cf911c58b
|
File details
Details for the file oomclient-0.1.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.
File metadata
- Download URL: oomclient-0.1.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc2b60ce9e662c6eca2e849c3475680b91b0e259a1d2d51c244536a2dd45c6b3
|
|
| MD5 |
86da18b8f27109eb38c7aea16dfdf81e
|
|
| BLAKE2b-256 |
51a1960724b0d53ab34597aab9bcd03c1389fe34259d685b7cd1902d638e087e
|
File details
Details for the file oomclient-0.1.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: oomclient-0.1.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90d38b204f7c261fa7e8d4be5329f415bd1fdd685be0ef107a8d6143a652cd62
|
|
| MD5 |
cecbb0b70f87532fd0060d55442bdb07
|
|
| BLAKE2b-256 |
80aa75033524539fde674be6037f235ee2edb5c8600f16d6d8117fce51946e47
|
File details
Details for the file oomclient-0.1.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.
File metadata
- Download URL: oomclient-0.1.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 2.7 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cdbb211c56b9f36dcd444ed68c154e6f71cc61dad44517bf078666fc822ebdf
|
|
| MD5 |
77debb475938c44bb62133650b5ba3e5
|
|
| BLAKE2b-256 |
840ff15d2dd05e1e45c4fcf25e9955af37d89bd1131131cab29b2287c800ba28
|
File details
Details for the file oomclient-0.1.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: oomclient-0.1.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.7m, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dff873adad1365a36bf88325dcb7156b5ff0e5190c336dc67b8d0b71ccac4a62
|
|
| MD5 |
b8a68dd5e3c0a2b6030aadc77bd4846a
|
|
| BLAKE2b-256 |
b5a58edcc7aea3bb3d8da78b77d54a2add10dc8f110456697830262d1e12cf59
|