Start your own Data-provider from simple Python
Project description
DebiAI Data Provider Python module
This DebiAI Data Provider Python module allows you to easily deploy your own data-provider through the data-provider API.
A data-provider allows you to provide data to DebiAI so that no duplication of data is needed.
DebiAI Data-providers documentation
Getting started
Installation
Install debiai_data_provider with pip:
pip install debiai_data_provider
Usage
Create a new Python file, for example my_data_provider.py and copy the content of the simple_project.py Data-provider.
Run the Python file and your project is now available through the DebiAI Data Provider API!
This way of creating a data-provider is the most generic one, you can customize it to support any data-sources.
We also provide a higher level of abstraction to create data-providers:
- ParquetDataProvider is a data-provider that provides data from a parquet file. It is a simple way to create a data-provider with a parquet file as input.
Plug-in your data-provider with DebiAI
To link your data-provider with DebiAI, you can follow our Creation of a data provider guide
Examples
Find out how to use the DebiAI Data Provider Python module in the examples folder:
Generic Data-providers
- simple_project.py shows how to create a simple data-provider with a project
- project_with_results.py shows how to create a data-provider with a project that also provides model results
- parquet_data_provider.py shows how to create a data-provider that provides data from a parquet file
Data-providers with a higher level of abstraction
- easy_parquet_data_provider.py does the same as the previous example but with a higher implementation level, using the
ParquetDataProviderclass.
Testing
To run the tests, install the dependencies and run the tests with pytest:
pip install -r requirements.txt
pip install pytest pytest-cov
python -m pytest --cov=debiai_data_provider
Roadmap
- Publish to Pypi
- Provide project data
- Provide project metadata
- Provide project samples
- Provide project models & model results
- Provide project selections
- Make available project interactions
- Project deletion
- Model deletion
- Selection creation
- Selection deletion
- High level data-providers
- CSV data-provider
- Json data-provider
- Start DebiAI along with the data-provider
- Create a welcome page that shows the data-provider status and projects
- LLM improved data-provider for auto configuration
DebiAI is developed by
And is integrated in
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 Distribution
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 debiai_data_provider-1.1.0.tar.gz.
File metadata
- Download URL: debiai_data_provider-1.1.0.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9402be8282ce0a4ea226e566a022d61dc0bdaf445702022bd45ed9f1a017606
|
|
| MD5 |
b06d55ad24fb93b6689ea569ac60de2c
|
|
| BLAKE2b-256 |
18557bdd2a8240d7f56c0ca6ee8ad4c492e21d3b47cb242a36639da76bd07221
|
File details
Details for the file debiai_data_provider-1.1.0-py3-none-any.whl.
File metadata
- Download URL: debiai_data_provider-1.1.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03cf75c216b8f89f5a4637a908ef2b8ba43736e20e25d01334ded4ce653b2c7b
|
|
| MD5 |
c8431b077c0101df67f2f0139e8fff3a
|
|
| BLAKE2b-256 |
c93663c800b909fdb20b8d15c340a4a1d201f16623049b20ab1934244db7a936
|