Skip to main content

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)

Metadata

Release files for pyail 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyail 0.0.4
File Size Uploaded Provenance Actions
pyail-0.0.4.tar.gz 5.8 kB Without provenance Details for pyail-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyail 0.0.4
File Interpreter ABI Platform Actions
pyail-0.0.4-py3-none-any.whl Python 3 none any Details for pyail-0.0.4-py3-none-any.whl

Total release size: 12.9 kB

Release files / pyail-0.0.4.tar.gz

Download URL pyail-0.0.4.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f4a13053f5f719003c41d8c4812ecc4eaa1e01432d6a95c032a222e6ca82663e
BLAKE2b-256 checksum
How to use checksums
6ba295d921701c1be9d7ce15d5a08646b98b14e82ba92042baa90cf78ca17e34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.8.10 Linux/5.15.0-76-generic

Release files / pyail-0.0.4-py3-none-any.whl

Download URL pyail-0.0.4-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
861d8fb8219c1dfd07bf48de53bb3793c9f053de2357db58a4a86e744d0706fe
BLAKE2b-256 checksum
How to use checksums
19cef6d2b42d4d773a2249880ac05411a473564e40e9e2805fb3c613f9bb004e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.8.10 Linux/5.15.0-76-generic

Security for pyail 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page