Skip to main content

A Python SDK for integrating with the Agilix Buzz API

Project description

Agilix API

By fr8train-sv

A Python SDK for integrating with Agilix Buzz API. Install with:

  pip install agilix-api-fr8train

Upgrade this specific library by running:

  pip install --upgrade agilix-api-fr8train

Important Commands

The following list of commands are important for project maintenance.

Building the Library

To build the library, ensure that the necessary build tools are installed in your environment. This can be done by installing setuptools, build, and wheel:

  pip install build twine setuptools wheel

twine can also be installed here while we're installing shit since we'll need it later.

REMEMBER: INCREMENT YOUR VERSION NUMBER IN THE TOML BEFORE BUILDING.

REMEMBER: REMOVE THE /DIST DIRECTORY BEFORE BUILDING FOR A CLEAN BUILD

Now, you can create the distribution files (source distribution and wheel) using the following command:

  python3 -m build

This will generate builds in the dist/ directory.

Deploying to PyPI

Ensure you have a valid PyPI account and credentials added to your .pypirc file or provide them during the publish process. Then, upload your package to PyPI with:

  python3 -m twine upload dist/*

Follow any prompts from twine to successfully upload your package. Once deployed, your package will be available on PyPI.

Usage

Initialization

To start using the API SDK, you will need to initialize an API object:

from agilix_api_fr8train.api import Api

api = Api()

This will reach out into your project for a .env file for credentials to establish a connection to the Agilix API Gateway. Structure your .env file like the example below and maintain it at the root of your project directory.

AGILIX_BASE_URL=
AGILIX_DOMAIN=
AGILIX_USERNAME=
AGILIX_PASSWORD=
AGILIX_HOME_DOMAIN_ID=

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

agilix_api_fr8train-2.2.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

agilix_api_fr8train-2.2.1-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file agilix_api_fr8train-2.2.1.tar.gz.

File metadata

  • Download URL: agilix_api_fr8train-2.2.1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for agilix_api_fr8train-2.2.1.tar.gz
Algorithm Hash digest
SHA256 32ff0db3e67b4ba0858c883d3331d0375190b59a3ceff317f9b5ce16934c3cd7
MD5 417c00d7c02577feae8b3c6e097c7143
BLAKE2b-256 ac5c6d8ae2534b5b5bdc228e5d16fd1dbb4c013cb1f9048a7eecf26d1a01c531

See more details on using hashes here.

File details

Details for the file agilix_api_fr8train-2.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agilix_api_fr8train-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 602cd08b14923b0fea2eac5ee97961471788e4e9841908dea9faea19b884e228
MD5 d4227a69d3acf916feddee3dc3e2a0e2
BLAKE2b-256 f2dd257beaf23d8dbca25f569dce0468aedda3bbf342614e09490ca309dba178

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