Skip to main content

No project description provided

Project description

PyAIL

Python 3.6

PyAIL - Python library using the AIL Rest API

PyAIL is a Python library to access AIL platforms via their REST API.

Install from pip

It is strongly recommended to use a virtual environment

If you want to know more about virtual environments, python has you covered

Install pyail:

pip3 install pyail

Usage

Feeding items to AIL

from pyail import PyAIL

ail_url = 'https://localhost:7000'
ail_key = '<AIL API KEY>'
try:
    pyail = PyAIL(ail_url, ail_key, ssl=False)
except Exception as e:
    print(e)
    sys.exit(0)

data = 'my item content'
metadata = {}
source = '<FEEDER NAME>'
source_uuid = '<feeder UUID v4>'

pyail.feed_json_item(data, metadata, source, source_uuid)

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

pyail-0.0.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pyail-0.0.3-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file pyail-0.0.3.tar.gz.

File metadata

  • Download URL: pyail-0.0.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.6.9 Linux/5.4.0-125-generic

File hashes

Hashes for pyail-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4cb084e3c41f5bd3e05ec1f232cfab370705b822b35fb10817ac33b798e8281c
MD5 ccab39d97aa55e6d9bd58d640506199f
BLAKE2b-256 4b6b35c414660fa5c30dcf65c054808b93e456a39e80b0cfa079bd238393dc76

See more details on using hashes here.

File details

Details for the file pyail-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyail-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.6.9 Linux/5.4.0-125-generic

File hashes

Hashes for pyail-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 741cee347fb3f729e66ccd03aff75b82aa628a25806f14fb3d3c0ec78cb58f0d
MD5 4483f3c98a849211e1d5229f53e4a549
BLAKE2b-256 64ac4011b979a0bf952c1a15041cf8a185dc6f518a270628fc65d91e6efa361c

See more details on using hashes here.

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