Skip to content

LeakIX/l9format-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

l9format python

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

See releases for the different versions. The release 1.3.1-0 will be mapped to 1.3.1.post0.

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