Skip to main content

l9format python

PyPI GitHub Release

l9format is a schema declaration targeted at interoperability between network recon tools used at LeakIX.

This library is equivalent to l9format which provides a Go implementation.

Tools and Usage

Running Tests

We use pytest for testing. Run the tests with:

poetry run pytest

Code Formatting

We use black for code formatting. To format the code, run:

poetry run black .

Import Sorting

We use isort to sort imports. To sort imports, run:

poetry run isort .

Code Linting

We use ruff for linting. Run:

poetry run ruff check .

Install

pip install l9format

Or with a specific version:

pip install l9format==1.4.0

See PyPI and GitHub releases for all available versions.

Documentation

from l9format import l9format
l9format.L9Event.from_dict(res)

Download files

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

Source Distribution

l9format-2.0.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

l9format-2.0.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file l9format-2.0.1.tar.gz.

File metadata

  • Download URL: l9format-2.0.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for l9format-2.0.1.tar.gz
Algorithm Hash digest
SHA256 f86a1447d1cc32bfa85b6d030cd404667685e4acbc216c751f304fbd9a1d914c
MD5 9c5ec10922d884c698d6fc49065ad0fa
BLAKE2b-256 96f573e8a6eb309a485ed5f5b4d9eebfe6f604c0760daaadfd8ac33c94f2dacd

See more details on using hashes here.

File details

Details for the file l9format-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: l9format-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for l9format-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f977b6f4cd110c7c91bd9e41e4057a2d8149429b65d0d0da824e7084e623d2b
MD5 5b798bb6a234b60aa8c3012535ddfa74
BLAKE2b-256 1ef45c75ff56752282d70af4a9c4c5a565f477efd4ab53ae91ffcc9bc1b1789b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 files

1.4.0

2 files

1.3.2

2 files

1.3.1.post0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page