Skip to main content

LittleBlueFox pip package (python)

Push your security events on the LittleBlueFox.io API.

Installation

$ pip3 install littlebluefox-python

Usage

from littlebluefox import LittleBlueFoxClient

access_token = '...'

lbf_client = LittleBlueFoxClient(access_token)

event = {
    'event_type': 'authentication_success',
    'uref': '42',
    'email': 'demo@demo.com',
    'remote_ip': '...',
    'http_headers': {
        'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15',
    },
}

try:
  lbf_client.push(event)
except Exception as err:
  print('Error: {}'.format(err))

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/LittleBlueFox/littlebluefox-python.

$ python3 setup.py sdist bdist_wheel
$ python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

Release files for littlebluefox-python 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for littlebluefox-python 1.0.2
File Size Uploaded
littlebluefox-python-1.0.2.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for littlebluefox-python 1.0.2
File Interpreter ABI Platform
littlebluefox_python-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / littlebluefox-python-1.0.2.tar.gz

Download URL littlebluefox-python-1.0.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
080fd4703772cfa99fe1e5e980369a451f8a4e014c84fdbd4e5bb6ab5921cbfb
BLAKE2b-256 checksum
How to use checksums
3e2af32bc2f4ed816ec650c9a6f1dee7d4123e7989cbe04bf2cb29c96e6a3656
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / littlebluefox_python-1.0.2-py3-none-any.whl

Download URL littlebluefox_python-1.0.2-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27dfd4e2b5da8ecb056ea662c3a96b0158b2746879c2e9ac04824789e6c46151
BLAKE2b-256 checksum
How to use checksums
8e05da1dc664dbc827484da54739e99165f7b71b72081e73d344cee090c8d734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

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