Skip to main content

libtaxii

A Python library for handling Trusted Automated eXchange of Indicator Information (TAXII™) v1.x Messages and invoking TAXII Services.

Source:

https://github.com/MISP/libtaxii/

Upstream:

https://github.com/TAXIIProject/libtaxii/

Documentation:

https://misp.github.io/libtaxii/

Information:

https://taxiiproject.github.io/

Download:

https://pypi.org/project/misp-libtaxii/

version badge downloads badge

Overview

The MISP Project maintains this fork of libtaxii. The MITRE Corporation developed the original library. See the MISP Project website.

A primary goal of libtaxii is to remain faithful to both the TAXII specifications and to customary Python practices. libtaxii is designed to be intuitive both to Python developers and XML developers.

Installation

The test suite runs on Python 3.10 through 3.14. Use uv to create a virtual environment and install this checkout from the repository root.

uv venv --python 3.14
source .venv/bin/activate
uv pip install -e .
python -c "import libtaxii; print(libtaxii.__version__)"
discovery_client --help

On Windows PowerShell, activate the environment with .venv\Scripts\Activate.ps1. For a published release, use uv pip install misp-libtaxii or python -m pip install misp-libtaxii. Python code continues to use import libtaxii.

To install the development tools and run the tests from the checkout:

uv pip install -r requirements.txt
python -m pytest libtaxii

See the installation guide for more examples.

Publishing to PyPI

Before the first release, register a GitHub pending publisher for misp-libtaxii with owner MISP, repository libtaxii, workflow publish.yml and environment pypi in the PyPI publishing settings. Publish a GitHub Release whose tag matches the version in libtaxii/version.py. The workflow builds and uploads the wheel and source distribution using Trusted Publishing.

Getting Started

Read the Getting Started guide.

Layout

The libtaxii repository has the following layout:

  • docs/ - Quarto book and Python API reference.

  • libtaxii/ - The main libtaxii source.

  • libtaxii/test/ - libtaxii tests.

  • libtaxii/xsd/ - TAXII XML schemas used for validation.

Building the documentation

Install Quarto and activate the development environment described above. Run these commands from the repository root.

python docs/render_api.py
quarto render docs

The first command generates Quarto chapters from the Python docstrings and Sphinx API sources. The second builds the book into docs/_book/. Use quarto preview docs to preview changes locally and tox -e docs to check the API examples.

The layout and color palette follow the MISP Book. The documentation workflow builds pull requests and publishes from master when the repository’s Pages source is set to GitHub Actions under Settings → Pages.

Versioning

Releases of libtaxii are given major.minor.revision version numbers, where major and minor correspond to the TAXII version being supported. The revision number is used to indicate new versions of libtaxii.

Feedback

Report bugs and share feedback through the MISP/libtaxii issue tracker.

Metadata

Release files for misp-libtaxii 1.2.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 misp-libtaxii 1.2.0
File Size Uploaded Provenance Actions
misp_libtaxii-1.2.0.tar.gz 123.1 kB With provenance Details for misp_libtaxii-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for misp-libtaxii 1.2.0
File Interpreter ABI Platform Actions
misp_libtaxii-1.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for misp_libtaxii-1.2.0-py2.py3-none-any.whl

Total release size: 255.0 kB

Release files / misp_libtaxii-1.2.0.tar.gz

Download URL misp_libtaxii-1.2.0.tar.gz
Size 123.1 kB
Tags Source
SHA-256 checksum
How to use checksums
753adc09fdc6e0a533ec4b74efeeeee73b71f9013a8e47a2a48ba91cde9b8b2d
BLAKE2b-256 checksum
How to use checksums
611f9e4375917c1589c0f9110c7f2d1f7c099796a45d00f2f96c55b6dcb80018
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 23, 2026.

Transparency log

Release files / misp_libtaxii-1.2.0-py2.py3-none-any.whl

Download URL misp_libtaxii-1.2.0-py2.py3-none-any.whl
Size 131.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
68d94cad2a07b831f181a68ad6b10c6f37b2168ef9c499c7cfd9cae186d3a213
BLAKE2b-256 checksum
How to use checksums
fbbda8ae53249eb8087c8ec4639a4dc8bd180d237afdcfe95ed9ca480f81ea50
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 23, 2026.

Transparency log

Security for misp-libtaxii 1.2.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 misp_libtaxii-1.2.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 23, 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.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files Full 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