Skip to main content

pjdev-armis-sdk

PyPI - Version PyPI - Python Version


Async Python SDK for the Armis API, built on httpx and pydantic.

Table of Contents

Installation

pip install pjdev-armis-sdk

Usage

Configure once at startup (reads from environment variables prefixed with ARMIS_):

from pjdev_armis_sdk import config_service

config_service.init(
    instance_url="https://your-tenant.armis.com",
    secret_key="your-secret-key",
)

Then call any of the resource modules:

from pjdev_armis_sdk import devices, search

# AQL search
result = await search.aql_search("in:devices type:MOBILE_PHONE")

# Lookup a single device by id
device = await devices.get_device(id=12345)

Auth (Authorization header with a temporary access token) is handled automatically by the underlying httpx.AsyncClient. Tokens are refreshed on the fly when they expire or when the API returns 401.

License

pjdev-armis-sdk is distributed under the terms of the MIT license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pjdev_armis_sdk-5.1.13.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

pjdev_armis_sdk-5.1.13-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file pjdev_armis_sdk-5.1.13.tar.gz.

File metadata

  • Download URL: pjdev_armis_sdk-5.1.13.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.1 {"ci":true,"cpu":"aarch64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.12.76-linuxkit"}} HTTPX2/2.9.1

File hashes

Hashes for pjdev_armis_sdk-5.1.13.tar.gz
Algorithm Hash digest
SHA256 45d83e1fd6f7d6b0c502e1710cfa3752fd6e9ca1bee80a803264d2091b7b17d9
MD5 0d76f9b57ed9e41ee37515834b955645
BLAKE2b-256 7e428765a2e5f74f9052cc2fa74ddefed14d3cd131ea8f164f8cbda83993aba8

See more details on using hashes here.

File details

Details for the file pjdev_armis_sdk-5.1.13-py3-none-any.whl.

File metadata

  • Download URL: pjdev_armis_sdk-5.1.13-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.1 {"ci":true,"cpu":"aarch64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.12.76-linuxkit"}} HTTPX2/2.9.1

File hashes

Hashes for pjdev_armis_sdk-5.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 5775efc64239b6f92213783b09079e057cb3b24f548d1576448a570e627e94d1
MD5 17596cca11f485eef5ba2a48a020e4eb
BLAKE2b-256 4f6e4f81b980659c03dff380143ea9905cd7619d45d8215a7b6472d30ab87b76

See more details on using hashes here.

Release history Release notifications | RSS feed

5.2.1

2 files

5.2.0

2 files

5.1.14

2 files

This release

5.1.13 This release

2 files

5.1.12

2 files

5.1.10

2 files

5.1.9

2 files

5.1.7

2 files

5.1.6

2 files

5.1.5

2 files

5.1.4

2 files

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