Skip to main content

Happenstance CLI — search your network with AI for sales, hiring, fundraising, and more

Project description

happenstance

Command-line interface for Happenstance — search your network with AI. Find warm intros for sales, source referral candidates for hiring, discover investors for fundraising, and research anyone in your network.

Install

# Homebrew (macOS / Linux)
brew tap happenstance-ai/tap
brew install happenstance

# pip
pip install happenstance

# pipx (recommended for CLI tools)
pipx install happenstance

# uv
uv tool install happenstance

Quick start

# Configure your API key (get one at https://happenstance.ai/settings/api)
hpn config set --api-key YOUR_API_KEY

# Search your network
hpn search "CISOs interested in AI in the SF Bay Area"

# Research a specific person
hpn research "https://www.linkedin.com/in/garrytan/"

# Check your credit balance
hpn usage

Commands

Command Description
hpn config set --api-key KEY Save your API key
hpn config show Show saved API key (masked)
hpn search "query" Search your network
hpn search get ID Get search results
hpn search find-more ID Find additional results
hpn research "description" Research a person
hpn research get ID Get research results
hpn friends List your friends
hpn groups List your groups
hpn groups get ID Get group details
hpn usage Show credit balance

Configuration

The API key can be provided in three ways (in priority order):

  1. --api-key flag on any command
  2. HPN_API_KEY environment variable
  3. Config file at ~/.hpn/config.json (set via hpn config set)

All output is JSON and can be piped to jq for processing.

Documentation

Full API docs: https://developer.happenstance.ai

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

happenstance-0.2.1.tar.gz (49.3 kB view details)

Uploaded Source

Built Distribution

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

happenstance-0.2.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file happenstance-0.2.1.tar.gz.

File metadata

  • Download URL: happenstance-0.2.1.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for happenstance-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9e4c1bbb2c786145a9c81e572c29441059748892a55896b8c7342fec0af5dc4f
MD5 995cb1af603ed700825bf441036d1412
BLAKE2b-256 2ca7801b08a926c19942b5451e19e541fb2ead998e3e1c749319edf736e656c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for happenstance-0.2.1.tar.gz:

Publisher: publish-hpn-cli.yml on happenstance-ai/happenstance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file happenstance-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: happenstance-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for happenstance-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cedbc4b84c283b190ab8660ae20e9a5d10a705e510ab576a24baf1bbb801c349
MD5 c4d46b5adcc2ca6e4c724da79ae127c3
BLAKE2b-256 93263caf01a3034a1f4fa2c38a276560061c46e8bf5c537a276c50936576cecb

See more details on using hashes here.

Provenance

The following attestation bundles were made for happenstance-0.2.1-py3-none-any.whl:

Publisher: publish-hpn-cli.yml on happenstance-ai/happenstance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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