Skip to main content

Armis SDK for Python 3.11+

Run tests Run formatter Run linter

The Armis SDK is a package that encapsulates common use-cases for interacting with the Armis platform.

Installation

Use your favourite package manager to install the SDK, for example:

pip install armis_sdk

Documentation

For full documentation, please visit our dedicated site.

Usage

All interaction with the SDK happens through the ArmisSdk class. You'll need five things:

  1. Audience: The url of the tenant you want to interact with, including trailing slash (e.g. https://acme.armis.com/).
  2. Client ID: The email address of the user account within the tenant that was used to generate the Client Secret.
  3. Client Secret: The confidential credential generated by your customer within Armis, paired with the Client ID.
  4. Vendor ID: An identifier unique to your developer account or integration, obtained when you register on our developer portal.
  5. Scopes: The specific permissions required by your access token to interact with the desired API endpoints.

You can either provide these values using the environment variables ARMIS_AUDIENCE, ARMIS_CLIENT_ID, ARMIS_CLIENT_SECRET, ARMIS_VENDOR_ID, and ARMIS_CLIENT_ID:

from armis_sdk import ArmisSdk

armis_sdk = ArmisSdk()

or by passing them explicitly:

from armis_sdk import ArmisSdk
from armis_sdk import ClientCredentials

credentials = ClientCredentials(
    audience="<audience>",
    client_id="<client_id>",
    client_secret="<client_secret>",
    vendor_id="<vendor_id>",
    scopes=["scope1", "scope2"],
)
armis_sdk = ArmisSdk(credentials=credentials)

Entity clients

Once you have an instance of ArmisSdk, you can start interacting with the various clients. Each handles use-cases of a specific entity.

For example, if you want to update a site's location:

import asyncio

from armis_sdk import ArmisSdk
from armis_sdk.entities.site import Site

armis_sdk = ArmisSdk()


async def main():
    site = Site(id=1, location="new location")
    await armis_sdk.sites.update(site)


asyncio.run(main())

Metadata

Release files for armis-sdk 2.0.0

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

Source distribution (sdist)

Source distribution for armis-sdk 2.0.0
File Size Uploaded Provenance Actions
armis_sdk-2.0.0.tar.gz 22.1 kB With provenance Details for armis_sdk-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for armis-sdk 2.0.0
File Interpreter ABI Platform Actions
armis_sdk-2.0.0-py3-none-any.whl Python 3 none any Details for armis_sdk-2.0.0-py3-none-any.whl

Total release size: 54.7 kB

Release files / armis_sdk-2.0.0.tar.gz

Download URL armis_sdk-2.0.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
591fb77f4674d751baf560464e21ee8fc6834139cee4665707734df368aa201f
BLAKE2b-256 checksum
How to use checksums
b43944c61403261c2c2b5b99200d226f4605eb3ac5c96d12144c9aabc6ca2266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / armis_sdk-2.0.0-py3-none-any.whl

Download URL armis_sdk-2.0.0-py3-none-any.whl
Size 32.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71309186f28f3683b4875efc3987d7249dbc0064582df1d557d2f382ca03182d
BLAKE2b-256 checksum
How to use checksums
f76f061e27511e84d99941c1f09e9332e766d4ceef4a84ef230ba1fe133abad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for armis-sdk 2.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for armis_sdk-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

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