Happenstance CLI — search your network and research individual people
Project description
happenstance
Command-line interface for the Happenstance API — search your network and research individual people.
Install
# 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 "Jane Smith, CTO at Acme Corp"
# 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):
--api-keyflag on any commandHPN_API_KEYenvironment variable- Config file at
~/.hpn/config.json(set viahpn 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file happenstance-0.1.0.tar.gz.
File metadata
- Download URL: happenstance-0.1.0.tar.gz
- Upload date:
- Size: 47.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75959a4df7c5752a3b18130e027b46afdc1ca60feeabce921495ca58e0abb197
|
|
| MD5 |
ec89f9480a8da6de9105489d2a24adf4
|
|
| BLAKE2b-256 |
af6fb730254b2c15499bf07a0e07355320d2e0e2eaa62f3f61af830ea666bb10
|
Provenance
The following attestation bundles were made for happenstance-0.1.0.tar.gz:
Publisher:
publish-hpn-cli.yml on happenstance-ai/happenstance
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
happenstance-0.1.0.tar.gz -
Subject digest:
75959a4df7c5752a3b18130e027b46afdc1ca60feeabce921495ca58e0abb197 - Sigstore transparency entry: 1177504910
- Sigstore integration time:
-
Permalink:
happenstance-ai/happenstance@d3d4dc167c244da0f9124845c80d587011d4e35b -
Branch / Tag:
refs/tags/hpn-cli-v0.1.0 - Owner: https://github.com/happenstance-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-hpn-cli.yml@d3d4dc167c244da0f9124845c80d587011d4e35b -
Trigger Event:
push
-
Statement type:
File details
Details for the file happenstance-0.1.0-py3-none-any.whl.
File metadata
- Download URL: happenstance-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e134410c2ff8c154fb176aa502cc888823f6e46c637580174b2fc9dfdca4ba8d
|
|
| MD5 |
73c3b1fbbea034aa7facbf833d76af37
|
|
| BLAKE2b-256 |
206bd924977ccd6ed27c9a677bf24669bc04c03f82c58f18abeba1bf1fe42723
|
Provenance
The following attestation bundles were made for happenstance-0.1.0-py3-none-any.whl:
Publisher:
publish-hpn-cli.yml on happenstance-ai/happenstance
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
happenstance-0.1.0-py3-none-any.whl -
Subject digest:
e134410c2ff8c154fb176aa502cc888823f6e46c637580174b2fc9dfdca4ba8d - Sigstore transparency entry: 1177505025
- Sigstore integration time:
-
Permalink:
happenstance-ai/happenstance@d3d4dc167c244da0f9124845c80d587011d4e35b -
Branch / Tag:
refs/tags/hpn-cli-v0.1.0 - Owner: https://github.com/happenstance-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-hpn-cli.yml@d3d4dc167c244da0f9124845c80d587011d4e35b -
Trigger Event:
push
-
Statement type: