Skip to main content

kismet_rest

Python wrapper for Kismet REST interface.

Documentation Status

Installing from PyPI

pip install kismet_rest

Installing from source

git clone https://github.com/kismetwireless/python-kismet-rest
cd python-kismet-rest && pip install .

Usage examples

Legacy functionality (KismetConnector):

import kismet_rest
conn = kismet_rest.KismetConnector(username="my_user", password="my_pass")
for device in conn.device_summary():
    pprint.pprint(device)

Alerts since 2019-01-01:

import kismet_rest
alerts = kismet_rest.Alerts()
for alert in alerts.all(ts_sec=1546300800):
    print(alert)

Devices last observed since 2019-01-01:

import kismet_rest
devices = kismet_rest.Devices()
for device in devices.all(ts=1546300800):
    print(device)

Developer notes:

  • Formatting commit messages: * Correctly-formatted commit messages will be organized in CHANGELOG.rst * Commit messages are formatted like this type: audience: message !tag * Type is for the type of change (new, chg) * Audience is for the audience of the commit note(usr,``test``,``doc``) * The message part is pretty self-explanatory. * The optional tag allows you to flag a commit for exclusion from CHANGELOG.rst.(minor or wip) * A commit message like this: new: usr: Made a new widget. will appear in CHANGELOG.rst, under the appropriate release, under the “New” section. * More info on message formatting: https://github.com/vaab/gitchangelog

  • Updating CHANGELOG.rst: * Install gitchangelog: pip3 install gitchangelog * Make sure that __version__ is correct in kismet_rest/__init__.py * Build the new changelog: gitchangelog > CHANGELOG.rst

Changelog

v2020.05.01

Changes

  • Add support for datasource open/close [ohad83]

  • Switch to itjson endpoints [Mike Kershaw / Dragorn]

v2019.05.02

Changes

  • Support Python 3.5. [ashmastaflash]

  • Add MANIFEST.in. [ashmastaflash]

2019.05.01 (2019-05-20)

New

  • Refactor complete. [ashmastaflash]

    Closes #1

Changes

  • Add developer notes to README.rst. [ashmastaflash]

  • Add configs for gitchangelog and rtd. [ashmastaflash]

Other

  • Update docs. [Mike Kershaw / Dragorn]

  • Start extracting module. [Mike Kershaw / Dragorn]

  • Started repo. [Mike Kershaw / Dragorn]

Metadata

Release files for kismet-rest 2020.5.1

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

Source distribution (sdist)

Source distribution for kismet-rest 2020.5.1
File Size Uploaded Provenance Actions
kismet_rest-2020.5.1.tar.gz 17.5 kB Without provenance Details for kismet_rest-2020.5.1.tar.gz

Release files / kismet_rest-2020.5.1.tar.gz

Download URL kismet_rest-2020.5.1.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
44c1f22d437ceaeea74593eb158b6587a32112219891d75118a3e566e7449b17
BLAKE2b-256 checksum
How to use checksums
ff308008558763717e9a44d39e89ecc36252c67b40ca940aaa6c51ec5031486d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

Security for kismet-rest 2020.5.1

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.

Release history Release notifications | RSS feed

This release

2020.5.1 This release

1 release file No provenance

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