Armis SDK for Python 3.11+
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 documentation site.
Usage
All interaction with the SDK happens through the ArmisSdk class. You'll need five things:
- Audience: The URL of the tenant you want to interact with, including trailing slash (e.g.
https://acme.armis.com/). - Client ID: The email address of the user account within the tenant that was used to generate the Client Secret.
- Client Secret: The confidential credential generated by your customer within Armis, paired with the Client ID.
- Vendor ID: An identifier unique to your developer account or integration, obtained when you register on our developer portal.
- 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_SCOPES (comma-separated):
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)
Configuration
The following optional environment variables tune the SDK's HTTP behavior:
| Variable | Default | Description |
|---|---|---|
ARMIS_REQUEST_RETRIES |
3 |
Number of times a failed request is retried (when applicable). |
ARMIS_REQUEST_BACKOFF |
0.5 |
Backoff factor, in seconds, between retries. |
ARMIS_PAGE_SIZE |
100 |
Number of items requested per page when listing. |
HTTPS_PROXY / HTTP_PROXY |
unset | Proxy to route requests through. HTTPS_PROXY takes precedence. |
Entity clients
Once you have an instance of ArmisSdk, you can start interacting with the various clients. Each handles the 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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| armis_sdk-2.1.0.tar.gz | 32.0 kB | With provenance | Details for armis_sdk-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| armis_sdk-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for armis_sdk-2.1.0-py3-none-any.whl |
Total release size: 81.6 kB
Release files / armis_sdk-2.1.0.tar.gz
| Download URL | armis_sdk-2.1.0.tar.gz |
|---|---|
| Size | 32.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00b08070671d63e00873d98a8021b6b2c543804c0e16e5b7557b1e65c9fa162e
|
|
BLAKE2b-256 checksum How to use checksums |
7757fded1499872e921150e7570221cf8f9150412e07ab167dee1e46c8ca0987
|
| 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 Nov 12, 2026.
Transparency logRelease files / armis_sdk-2.1.0-py3-none-any.whl
| Download URL | armis_sdk-2.1.0-py3-none-any.whl |
|---|---|
| Size | 49.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee160eedd49bf7f3175178417a864bec9fba3687a87c2eb8ed0b43e320604a5e
|
|
BLAKE2b-256 checksum How to use checksums |
7705671aeeaaf2c1ae7fe0653ed56ec15829f09c18a643e93ea758b36328b22e
|
| 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 Nov 12, 2026.
Transparency logSecurity for armis-sdk 2.1.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.
Attestation for armis_sdk-2.1.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 Nov 12, 2026.
Transparency logA 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.