Skip to main content

Abstraction to interact with GreyNoise API.

Project description

Python GreyNoise

https://circleci.com/gh/GreyNoise-Intelligence/pygreynoise.svg?style=shield https://sonarcloud.io/api/project_badges/measure?project=GreyNoise-Intelligence_pygreynoise&metric=coverage https://readthedocs.org/projects/greynoise/badge/?version=latest https://badge.fury.io/py/greynoise.svg Updates https://img.shields.io/badge/License-MIT-yellow.svg https://quay.io/repository/greynoiseintel/pygreynoise/status

This is an abstract python library built on top of the GreyNoise service. It is preferred that users use this library when implementing integrations or plan to use GreyNoise within their code. The library includes a small client to interact with the API.

Quick Start

Install the library:

pip install greynoise or python setup.py install

Save your configuration:

greynoise setup --api-key <your-API-key>

Changelog

Version 0.3.0

Date: September 06, 2019

  • API client:

    • rename API client methods to match CLI command names.

    • use LRU cache for IP context and quick check calls.

  • CLI:

    • add help, repl and version subcommands.

    • global options moved to those subcommands where they apply.

    • make request timeout configurable.

Version 0.2.2

Date: August 28, 2019

  • CLI: fix setup subcommand when configuration directory doesn’t exist.

Version 0.2.1

Date: August 28, 2019

  • API client

    • Version sent in User-Agent header.

    • Raise RateLimitError on 429 response.

  • CLI

    • Colored output.

    • Add -i / --input option.

Version 0.2.0

Date: August 21, 2019

  • Complete codebase refactoring.

Project details


Download files

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

Source Distribution

greynoise-0.3.0.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

greynoise-0.3.0-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page