Skip to main content

Python API client for HoneyShare.live

Project description

HoneyShareLib

The HoneyShare API Client.

Installing

Available in PYPI.

pip install honeyshare

Usage

Initialize HoneyShare with a Key:

from honeyshare import HoneyShare

hs = HoneyShare(key="Your HoneyShare Key"")

The library is organized around the five HoneyShare objects:

hs.Blacklist.ipv4s()     // Blacklists of IPs
hs.Blacklist.hostnames() // Blacklists of Hostnames

hs.IPv4.list()               // IP list
hs.IPv4(ip).ipv4()           // IP's meta data
hs.IPv4(ip).ports()          // Ports accessed by IP
hs.IPv4(ip).hostnames()      // Hostnames of IP
hs.IPv4(ip).timeseries()     // Timeseries of IP
hs.IPv4(ip).timeseries(port) // Timeseries of IP on Port
hs.IPv4(ip).bytes(port)      // Bytes sent by IP on Port

hs.Hostname.list()               // Hostname list
hs.Hostname(hostname).hostname() // Hostname's meta data
hs.Hostname(hostname).ipv4()     // IPs of Hostname

hs.Port.list()          // List of Ports
hs.Port(port).port()    // Port's meta data
hs.Port(port).ipv4()    // IP's that acceed port
hs.Port(port).ipv4(ip)  // IP's meta data on Port
hs.Port(port).bytes(ip) // Bytes sent by IP on Port

hs.Timeseries.list() // List all connections

Building and Installing Locally

poetry build
pip install --force-reinstall dist/honeyshare-*.whl

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

honeyshare-1.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

honeyshare-1.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file honeyshare-1.0.1.tar.gz.

File metadata

  • Download URL: honeyshare-1.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/5.15.0-140-generic

File hashes

Hashes for honeyshare-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2be543518da128b97c77b7a7aa54750700f0fef78eea1d756e8094657685066e
MD5 1865ba660d396b67db2073c7b085d0a9
BLAKE2b-256 f10e5d9d01dbde55afdfd3dec67ca8f79e7558beeabbf8f9b56f7b25788fcc75

See more details on using hashes here.

File details

Details for the file honeyshare-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: honeyshare-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Linux/5.15.0-140-generic

File hashes

Hashes for honeyshare-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f40df4dcabe51b63e255e435af9f2247f1412923c8bc960aed3e930fa9dbe0b7
MD5 72e99cc68245d28bbd516867904b7f74
BLAKE2b-256 175140adea35ca5111d7e63b0fef8b8a54de0f221f8eb6df0d72486983f17644

See more details on using hashes here.

Supported by

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