Skip to content

LeakIX/l9format-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

128 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Network recon interoperability format - Python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •