Aito Python SDK

Version 0.2.1

PyPI PyPI version

The Aito Python SDK is an open-source library that helps you to integrate your Python application to Aito quicker and more efficiently.

The SDK also includes the Aito Command Line Interface (CLI) that enables you to interact with Aito using commands in your command-line shell, e.g: infer a table schema from a file or upload a file to Aito.

Quick Installation

To install with pip, run: pip install aitoai

For more installation options, please check Installation

Basic Usage

Aito Command Line Interface

$ aito -h
usage: aito [-h] <action> ...

optional arguments:
  -h, --help          show this help message and exit

action:
  action to perform

  <action>
    infer-table-schema
                      infer an Aito table schema from a file
    convert           convert a file into ndjson|json format
    database          perform operations with your Aito database instance

Note

For the database action, remember to set up your Aito instance credentials.

For an additional guide of the CLI tool, see the CLI documentations.

Using the Python SDK

Some common features:

  1. Infer a Table Schema

  2. Create Aito Schema

  3. Upload Data

  4. Execute Queries

Note

The Aito Python SDK is an experimental project that we are already using ourselves. It might be a bit rough around the edges and is not yet production-grade. This project is under constant development and is subject to change. Feel free to use the Aito SDK, and share any feedback with us via our Slack channel or our Issue tracker