Skip to main content

Python async API for MISP.

Project description

Advisory

This library is an experimental project porting the original PyMISP project to python async to address I/O bound processing difficulties often encountered when using large MISP instances.

It is an ALPHA release, this code has not been tested, USE AT YOUR OWN RISK!

PyMISP - Python Library to access MISP

PyMISP is a Python library to access MISP platforms via their REST API.

PyMISP allows you to fetch events, add or update events/attributes, add or update samples or search for attributes.

This project aims at porting the original PyMISP project to Python async using the aiohttp library instead of the synchronous requests library.

Install from pip

It is strongly recommended to use a virtual environment

If you want to know more about virtual environments, python has you covered

Only basic dependencies:

pip3 install pymisp-async

Install the latest version from repo from development purposes

Note: poetry is required; e.g., "pip3 install poetry"

git clone https://github.com/pixmaip/PyMISP-async.git && cd PyMISP-async
git submodule update --init
poetry install

Usage

Initialize the PyMISP object using the asynchronous context manager:

async with PyMISP(url, key) as misp_obj:
    events = await misp_obj.events()

Documentation

The official MISP documentation is available here.

All async functions present in this library use the same API as the original MISP package.

License

PyMISP is distributed under an open source license. A simplified 2-BSD license.

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

pymisp_async-2.4.182a3.tar.gz (143.9 kB view details)

Uploaded Source

Built Distribution

pymisp_async-2.4.182a3-py3-none-any.whl (158.8 kB view details)

Uploaded Python 3

File details

Details for the file pymisp_async-2.4.182a3.tar.gz.

File metadata

  • Download URL: pymisp_async-2.4.182a3.tar.gz
  • Upload date:
  • Size: 143.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.1.0-16-amd64

File hashes

Hashes for pymisp_async-2.4.182a3.tar.gz
Algorithm Hash digest
SHA256 0a7adc6eeb17e729fbe95b111236d728d4c3c5bd10826d25a101bbce254af84c
MD5 1e276c723b316efa77fcff5ae70af904
BLAKE2b-256 ba40fb287ed66d83b06503dd9c9bd2bd71d99f873442e84b12f18f0a3fb4cf08

See more details on using hashes here.

File details

Details for the file pymisp_async-2.4.182a3-py3-none-any.whl.

File metadata

  • Download URL: pymisp_async-2.4.182a3-py3-none-any.whl
  • Upload date:
  • Size: 158.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.1.0-16-amd64

File hashes

Hashes for pymisp_async-2.4.182a3-py3-none-any.whl
Algorithm Hash digest
SHA256 9968735fa17a5cae2aa408a8d2e2f674babecd7ef56253ab7dd34b720405d31d
MD5 dcc171d9b132b159c6c6fe84eb733eb2
BLAKE2b-256 7151950c9284f6bb4d9cecf166c007fbb374f6723cf1f8238b8eea4017d38edf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page