Skip to main content

A collection of python support tools and scripts for Aito.ai

Project description

Please go to our Homepage at https://github.com/AitoDotAI/aito-python-tools for more detailed documentation. aito-python-tools =================

PyPI PyPI version

A useful library for Aito users containg: * CLI for using Aito * Integration with Pandas

Installation

To install with pip, run: pip install aitoai

To install from source, first clone the repository and then run: python setup.py install

*Additional features*: * The Aito CLI supports integration with your SQL database. To enable this feature, please follow the instructions here

  • The Aito CLI supports tab completion using argcomplete. More instructions can be found here

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 database action, remember to set up your Aito instance credentials.

For addition guide of the CLI tool, see the CLI documentations

Integrating with pandas DataFrame

  • Infer Aito Schema from a pandas DataFrame: ```python from aito.utils.schema_handler import SchemaHandler

schema_handler = SchemaHandler() schema_handler.infer_table_schema_from_pandas_dataframe(df) ```

Feedback & bug reports

We take our quality seriously and aim for the smoothest developer experience possible. If you run into problems, please send an email to support@aito.ai containing reproduction steps and we’ll fix it as soon as possible.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aitoai, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size aitoai-0.1.1-py3-none-any.whl (20.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size aitoai-0.1.1.tar.gz (15.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page