Skip to main content

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

Project description

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

Basic Usage

Command line interface support tools

 usage:  aito [-h] <action> [<args>]
        To see help text, you can run:
            aito -h
            aito <action> -h

        The most commonly actions are:
            infer-table-schema  infer Aito table schema from a file
            convert             convert data of table entries into ndjson (for file-upload) or json (for batch-upload)
            client              set up a client and perform CRUD operations


positional arguments:
  action      action to perform

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

*NOTE:* For client action, remember to set up your Aito instance, either through environment variable or dotenv file or using the command line arguments

For addition guide of the cli tool, see Using the Aito CLI page

Integrating with pandas

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

schema_handler = SchemaHandler() schema_handler.generate_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

Change logs

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

aitoai-0.0.3.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

aitoai-0.0.3-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page