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
Tested versions:
- Python 3.9
- Python 3.10
- Python 3.11
- Python 3.12
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
Metadata
Release files for debiai-data-provider 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| debiai_data_provider-1.1.7.tar.gz | 19.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| debiai_data_provider-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.4 kB
Release files / debiai_data_provider-1.1.7.tar.gz
| Download URL | debiai_data_provider-1.1.7.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
262431ad8dd1f0f8c3c49bd3f2ce778739c347bfab3b36f840a6b7819e0e3bdf
|
|
BLAKE2b-256 checksum How to use checksums |
ed957b92bc0f2b841482eb027263d741e3e37b15a1ab49941aab0d59e709282c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / debiai_data_provider-1.1.7-py3-none-any.whl
| Download URL | debiai_data_provider-1.1.7-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4f241fc8a90a2119b2368be4dcb2a7639c3a409ca069e56815b26fffce0190c
|
|
BLAKE2b-256 checksum How to use checksums |
b1a8eae6e9bdfb213dd69026aacb29e0829705f7b41b4a85157c34971c308d20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|