Skip to main content

Fuel AI Python SDK

Project description

Fuel AI Python SDK

This Fuel AI Python SDK gives easy access to the Fuel AI Backend APIs.

Installation

Install this package by using pip:

pip install --upgrade fuelai-python-sdk

Requirements

  • Python 3.6+

Authentication

The library needs to be configured with your account's API KEY and API SECRET which is available in your Fuel AI Account - https://fuelhq.ai/dashboard/apis. Set fuelai.api_key and fuelai.api_secret to its value:

import fuelai
fuelai.api_key = "YOUR API KEY"
fuelai.api_secret = "YOUR API SECRET"

Or set the API key as an environment variable:

export FUELAI_API_KEY=<YOUR API KEY>
export FUELAI_API_SECRET=<YOUR API SECRET>

Projects

Once the API key has been set, you can use all the APIs

# Create Project
new_project = fuelai.Project.create(name='NAME TO IDENTIFY',
                                    orgProjectId='ID TO IDENTIFY (MAYBE SAME AS NAME)',
                                    orgTemplateId='TEMPLATE ID - CONTACT FUEL AI TEAM FOR THIS')

print(new_project)

Download Answers

Download Answers of the project. Please note that if out of 100 tasks, 40 are done, this API will download the 40 responses.

# Download Answers
answers = fuelai.Answer.downloadAnswers(orgProjectId)
print(answers)

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

fuelai-python-sdk-1.0.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

fuelai_python_sdk-1.0.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file fuelai-python-sdk-1.0.3.tar.gz.

File metadata

  • Download URL: fuelai-python-sdk-1.0.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for fuelai-python-sdk-1.0.3.tar.gz
Algorithm Hash digest
SHA256 96af0cfd733254552461caf6edeb5390120876e8c8108f64421e16f597170607
MD5 8714ce629542abc4913a378f388adc0b
BLAKE2b-256 130ed1b9f008aefdf22631c3fdfc828f68426b69bada55196a40ae86949a1e25

See more details on using hashes here.

File details

Details for the file fuelai_python_sdk-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: fuelai_python_sdk-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for fuelai_python_sdk-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94fc41cbfab1c5ee89a3ba4a3e1f2646925748493f6f926ad31604b15a04e35e
MD5 3232ffe3d3fe56e5dc31132bb1f42871
BLAKE2b-256 3ae36376f2e6c8cb958eaa07cd0aef9f1e99013c776ff978f0acaa66b1d6f1f2

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