This project has been archived by its maintainers, and is no longer receiving any updates.
pygreynoise
Python 3 wrapper for the greynoise API v1, see https://github.com/Grey-Noise-Intelligence/api.greynoise.io and greynoise.io. API V1 is nor deprecated but still working, see this project for the API V2
To install, either use pypi with pip install pygreynoisev1 or install from sources:
git clone https://github.com/Te-k/pygreynoisev1.git
cd pygreynoisev1
pip install -r requirements.txt
pip install .
CLI
$ greynoisev1 -h
usage: greynoise [-h] {ip,list,tag,config} ...
Request GreyNoise
positional arguments:
{ip,list,tag,config} Subcommand
ip Request info on an IP
list List GreyNoise Tags
tag Query data for a tag
config Configure key file
optional arguments:
-h, --help show this help message and exit
Library
from pygreynoisev1 import GreyNoise
gn = GreyNoise()
tags = gn.tags()
try:
gn.query_ip('198.20.69.74')
except GreyNoiseError:
print('IP not found')
try:
gn.query_tag('YANDEX_SEARCH_ENGINE')
except GreyNoiseError:
print('This tag does not exist')
Author and license
Pygreynoisev1 was started by Tek and is published under MIT license. Feel free to open issues and pull requests.
Metadata
Release files for pygreynoisev1 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygreynoisev1-0.1.tar.gz | 3.7 kB | Without provenance | Details for pygreynoisev1-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygreynoisev1-0.1-py3-none-any.whl | Python 3 | none | any | Details for pygreynoisev1-0.1-py3-none-any.whl |
Total release size: 9.2 kB
Release files / pygreynoisev1-0.1.tar.gz
| Download URL | pygreynoisev1-0.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0383fbd11f9720d620ae98708bed296ce65027459aeb1a0d83d0916fb3c23c70
|
|
BLAKE2b-256 checksum How to use checksums |
695ff0810604d1ea8145df9ff2a038e1d7dfa4a48d35ecf8af9b1f669686f067
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2rc1
|
Release files / pygreynoisev1-0.1-py3-none-any.whl
| Download URL | pygreynoisev1-0.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e327f8559f22a8932591fdfc6bda723ce830e22dd096413e8cb79a4688720e68
|
|
BLAKE2b-256 checksum How to use checksums |
a578dcdd03e9adc1ea3b0523b136b58c90109b3160992d249d9326c1aad96990
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2rc1
|
Security for pygreynoisev1 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.