CLI for the Adanos Finance Sentiment API
Project description
adanos-cli
adanos-cli is the command-line client for the Adanos Finance Sentiment API.
It is built for three use cases:
- traders who want fast stock and crypto sentiment reports
- analysts who want repeatable CLI workflows
- agents and automation that need stable JSON output
The CLI is versioned independently from the API backend. It targets the public API at https://api.adanos.org/docs and uses the published Python SDK under the hood.
Install
Recommended
pipx install adanos-cli
Plain pip
python3 -m pip install adanos-cli
From source
git clone https://github.com/adanos-software/adanos-cli.git
cd adanos-cli
python3 -m pip install -e ".[dev]"
Quick Start
If you already have an API key:
adanos login --api-key sk_live_xxx
adanos whoami
adanos doctor
First market checks:
adanos consensus TSLA --days 7
adanos explain TSLA --profile investor --days 7
adanos scan --asset stocks --style daytrader --days 7 --top 10
Crypto:
adanos crypto BTC --days 7
adanos crypto BTC/ETH --days 7
Start Modes
adanos shows a compact start screen with the CLI header and next actions.
adanos
Explicit interactive shell:
adanos shell
One-shot command mode:
adanos stock NVDA --days 7
Authentication
Persist a key locally:
adanos login --api-key sk_live_xxx
Use profiles:
adanos auth login --api-key sk_live_prod --profile prod
adanos auth login --api-key sk_live_staging --profile staging
adanos auth switch prod
adanos auth current --json
Priority order:
--api-keyADANOS_API_KEY- stored credentials in the active profile
Common Workflows
Stock report:
adanos stock TSLA --days 7
Cross-platform consensus:
adanos consensus TSLA --days 7
Narrative explanation:
adanos explain TSLA --profile investor --days 7
Watchlists:
adanos watchlist add core --asset stocks --symbols TSLA,NVDA,AAPL
adanos watchlist report core --asset stocks --days 7
adanos watch core --kind watchlist --asset stocks --refresh 60 --iterations 1
Raw endpoint access:
adanos endpoint list
adanos endpoint call reddit-stocks.trending --days 1 --limit 10
AI / Automation
The CLI supports machine-readable output via --output json or --quiet.
adanos --quiet capabilities
adanos --quiet whoami
adanos --quiet doctor
adanos --quiet ask "How does TSLA look?"
adanos --quiet endpoint call news-stocks.trending --days 1 --limit 3
JSON conventions:
- object payloads include a stable
kind - command wrappers include
command, andsubcommandwhen relevant - endpoint-backed payloads include
platform,route,endpoint,path, anddata
Diagnostics
Identity and runtime context:
adanos whoami
Problem-focused self-check:
adanos doctor
adanos doctor --verbose
Releases
Tagged releases build standalone archives for:
- macOS arm64
- macOS x86_64
- Linux x86_64
The repo also generates a Homebrew formula artifact for each tagged binary release.
PyPI publishing also happens from this repo, not from the API monorepo.
Development
Install the repo in editable mode:
python3 -m pip install -e ".[dev]"
Run tests:
python3 -m pytest tests -q
Build wheel and sdist:
python3 -m build
Build a standalone binary archive locally:
python3 scripts/build_cli_binary.py --output-dir dist-binaries
Generate a Homebrew formula:
VERSION=$(python3 - <<'PY'
import re
from pathlib import Path
text = Path("src/adanos_cli/__init__.py").read_text(encoding="utf-8")
print(re.search(r'__version__\s*=\s*"([^"]+)"', text).group(1))
PY
)
python3 scripts/generate_homebrew_formula.py \
--version "$VERSION" \
--darwin-arm64-url "https://example.com/adanos-cli-${VERSION}-darwin-arm64.tar.gz" \
--darwin-arm64-sha256 <sha256> \
--darwin-x86_64-url "https://example.com/adanos-cli-${VERSION}-darwin-x86_64.tar.gz" \
--darwin-x86_64-sha256 <sha256> \
--linux-x86_64-url "https://example.com/adanos-cli-${VERSION}-linux-x86_64.tar.gz" \
--linux-x86_64-sha256 <sha256> \
--output dist/homebrew/adanos-cli.rb
License
MIT
Project details
Release history Release notifications | RSS feed
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 adanos_cli-1.20.2.tar.gz.
File metadata
- Download URL: adanos_cli-1.20.2.tar.gz
- Upload date:
- Size: 66.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3ba7616a091051689169411584f0f1175f176dd31ee3c326c78ceeae567707b
|
|
| MD5 |
f12e91135bdb668fd42ca31ed0222d5f
|
|
| BLAKE2b-256 |
7ad3e6c5e761c28640e14a0c5670b1e8a2b47d33b73748e7951f34b13625d6ad
|
Provenance
The following attestation bundles were made for adanos_cli-1.20.2.tar.gz:
Publisher:
publish-pypi.yml on adanos-software/adanos-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adanos_cli-1.20.2.tar.gz -
Subject digest:
f3ba7616a091051689169411584f0f1175f176dd31ee3c326c78ceeae567707b - Sigstore transparency entry: 1107833543
- Sigstore integration time:
-
Permalink:
adanos-software/adanos-cli@b2e35d5c9c7e9e0c6c18548862023f953acc54bc -
Branch / Tag:
refs/tags/v1.20.2 - Owner: https://github.com/adanos-software
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b2e35d5c9c7e9e0c6c18548862023f953acc54bc -
Trigger Event:
release
-
Statement type:
File details
Details for the file adanos_cli-1.20.2-py3-none-any.whl.
File metadata
- Download URL: adanos_cli-1.20.2-py3-none-any.whl
- Upload date:
- Size: 54.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 |
ae462696367437223aac0a31464ecb981ecc0e51b56800cbc087ad44ee63efa2
|
|
| MD5 |
f333c2066090884d17476a83936d95e5
|
|
| BLAKE2b-256 |
af965e81f753e84ca4d22a944304db35039733d754dcc890793f79e218148688
|
Provenance
The following attestation bundles were made for adanos_cli-1.20.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on adanos-software/adanos-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adanos_cli-1.20.2-py3-none-any.whl -
Subject digest:
ae462696367437223aac0a31464ecb981ecc0e51b56800cbc087ad44ee63efa2 - Sigstore transparency entry: 1107833547
- Sigstore integration time:
-
Permalink:
adanos-software/adanos-cli@b2e35d5c9c7e9e0c6c18548862023f953acc54bc -
Branch / Tag:
refs/tags/v1.20.2 - Owner: https://github.com/adanos-software
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b2e35d5c9c7e9e0c6c18548862023f953acc54bc -
Trigger Event:
release
-
Statement type: