PoC for MetaStore
You need to prepare two things to make ake it running
- a kaffka in the local and a created
dream-1topic - a s3 credential to access the storage
Setup MetaStore API server
Run the docker-compose to setup meta-store API server
docker-compose up -d
Currently, the API server only contains Kafka, PostgreSQL, and Hasura.
- Kafka: Serve for event subscription
- PostgreSQL: Store all the relationship
- Hasura: Dev tool for PostgreSQL and serve GraphQL endpoint
helloworld.py
It is a sample to write the event handler
@on('dataset', event='updated', filter={'name': 'demo-dataset-1'})
def on_dataset_available():
print(f'on_dataset_available invoked')
dataset = project.get('dataset', 'demo-dataset-1')
model = project.create('model', 'model-1', {'dataset': dataset})
model.update()
return
onwait for a dataset artifact increatedevent and filtering byname=dataset-1- after training, we create
Modeland send a message to notify other handlers
send.event.py
# in PoC, we don't handle the kafka
# the Project object is a facade to everything {event sender, event listener runner, access to object store}
project = Project('dream-1', profile='local')
dataset = project.get('dataset', 'demo-dataset-1')
if not dataset:
dataset = project.create('dataset', 'demo-dataset-1')
dataset.update()
Metadata
Release files for infuseai-metastore 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| infuseai-metastore-0.0.3.tar.gz | 7.5 kB | Without provenance | Details for infuseai-metastore-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| infuseai_metastore-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for infuseai_metastore-0.0.3-py3-none-any.whl |
Total release size: 16.8 kB
Release files / infuseai-metastore-0.0.3.tar.gz
| Download URL | infuseai-metastore-0.0.3.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be1eb848f000e89824918e9e00cad6600cf4797cbf9cef5acb89c8c0b6725c0c
|
|
BLAKE2b-256 checksum How to use checksums |
bf1c542d41b130530278a2e1311c9a7bc1e3d6976ed78463c93d74a50cd743a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15
|
Release files / infuseai_metastore-0.0.3-py3-none-any.whl
| Download URL | infuseai_metastore-0.0.3-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d09a5dd065b16f6769ebf7d31ec11eaa3c7e30ac69acc11d86b8f75d5f59df93
|
|
BLAKE2b-256 checksum How to use checksums |
18307f5843e144e5d97ae87905ffaf09b649eeef4ad714139e4efbf6f2608a5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15
|
Security for infuseai-metastore 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.