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.2.tar.gz (5.3 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.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: honeyshare-1.0.2.tar.gz
  • Upload date:
  • Size: 5.3 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.2.tar.gz
Algorithm Hash digest
SHA256 8f24489c205ae85bec6788f74014f0b75a4d97f0eaffec48f9b3c4b5f0e5f21a
MD5 2cadbc986e6e56c91aebb0c08c61f947
BLAKE2b-256 546e92d947fef2617631eddd8586ff81b4c0e07bc888ef2c5c31c47877de8996

See more details on using hashes here.

File details

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

File metadata

  • Download URL: honeyshare-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c43a25d218064ddcb81d7d213ea5e0573a69c980c203a59860cee8be028f4da9
MD5 e9bc8322dbc6b33104d2aafff8ec3aad
BLAKE2b-256 cab77e38055529a6ad496ff3782cb6c3e3a62f93b9d3b866a26a6ab127b56d71

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