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.1.tar.gz (4.0 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.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for honeyshare-1.1.tar.gz
Algorithm Hash digest
SHA256 03a6ece48c730c03ea52cd9a0c6e190ed5772c2be6e4588f61559e290bd7911a
MD5 f7043c8162d7bf644fc00655eecb88d5
BLAKE2b-256 6703efe7a53af02c30d0a0d042f96bec979c87d84057de6abc96c84c108a61eb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for honeyshare-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58c69bed5c7f9a566d1346fa4aec2e05b4a4772f57c7a23562ff3cac9f2ea59b
MD5 c9237c5dd43053a3fa1d0b80e77cca70
BLAKE2b-256 a24665e5d2c3a6c90255070efcaaaef812943854b62ef9fc4e531d2534c89414

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