Skip to main content

Start your own Data-provider from simple Python

Project description

DebiAI Data Provider Python module

License

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

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 ParquetDataProvider class.

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


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

debiai_data_provider-1.1.3.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

debiai_data_provider-1.1.3-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file debiai_data_provider-1.1.3.tar.gz.

File metadata

  • Download URL: debiai_data_provider-1.1.3.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for debiai_data_provider-1.1.3.tar.gz
Algorithm Hash digest
SHA256 f8cf1fa8c168bfc67f60c245ff280e3301154c75fb60ae331473a7739ec64466
MD5 cabb9735aea61c6ec16df447606de580
BLAKE2b-256 af72228b457d32da5a1a3ce525d0cad03dbc2dbd234826932d75e608103b3223

See more details on using hashes here.

File details

Details for the file debiai_data_provider-1.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for debiai_data_provider-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c50d31cd1aace24518403f222ea37dbd946f9dcde3bcadf1951bc411054eb3d2
MD5 cc9519c5d5bc3c7e068f1fae5af9c8dd
BLAKE2b-256 b84d837d0c7eaf3ad7865ddbf659615af66f866457fcc00a1354b2b3f752a4c5

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