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

# uv
uv tool install happenstance

# pipx
pipx install happenstance

# pip
pip install happenstance

Quick start

# Configure your API key (get one at https://happenstance.ai/integrations/keys)
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.2.tar.gz (49.4 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.2-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: happenstance-0.2.2.tar.gz
  • Upload date:
  • Size: 49.4 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.2.tar.gz
Algorithm Hash digest
SHA256 a610f4bdb2812e44e86d00092a2d9437c22bf1c8e7e585de99f6126c4ac2dd67
MD5 06795745a1a6a7661412d9551ddbddf2
BLAKE2b-256 3d742ebb90d5cce4a670c3e0e979ac5a57333f0ea0c8c3ba2dfcb4497cb222bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for happenstance-0.2.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: happenstance-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a69c63a503b3d0ccb841b777941b6ddfe408172a1e1a862cdf7483f3ab39ec9
MD5 599c168354c3da43a10cc68cb683ca5e
BLAKE2b-256 3fd87d401e8183e85f9df81b358cf503087741d90eb459b8d15011a83ffffcfe

See more details on using hashes here.

Provenance

The following attestation bundles were made for happenstance-0.2.2-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