Python SDK for Analog — instantly distill webpages into structured data.
Reason this release was yanked:
Superseded by 0.10.0. This version predates the current sign-in flow (retired server-side) and is below the backend's minimum supported version — it can no longer authenticate or extract. Install the current release: pip install -U analog-sdk.
Project description
analog-sdk
Python SDK for Analog — instantly distill webpages into structured data.
Installation
pip install analog-sdk
For JS-heavy pages (single-page apps, infinite scroll, content that hydrates client-side), also install the companion fetcher:
pip install "analog-sdk[fetcher]"
This gives you the AnalogFetcher, which is used as the default
automatically — cheap HTTP fetch on first contact, escalates to a
Playwright-rendered fetch only when the page actually needs it, and
caches the decision per-domain so subsequent visits skip the probe.
Authenticate
New to Analog? analog signup opens the account-creation page
(invite code required during the private alpha). Then:
analog login
This opens your browser to sign in. The credential is minted straight
into a local store and never shown on screen, so the model driving your
session never sees it. Subsequent SDK and CLI usage picks it up
automatically; sign out any time with analog logout.
Signing in requires a browser on the machine running analog login.
Try it straight from the shell:
analog get https://news.ycombinator.com
Run analog --help to see all commands (signup, login,
logout, whoami, status, get).
If you don't want a globally-installed analog binary, use
pipx install analog-sdk or uv tool install analog-sdk instead
of plain pip install.
Usage
from analog import analog
result = analog("https://example.com")
Same one-liner whether or not the JS-aware fetcher is installed. When it is, JS-heavy pages just work.
See https://getanalog.io for full documentation.
License
MIT — see LICENSE.
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 analog_sdk-0.5.0.tar.gz.
File metadata
- Download URL: analog_sdk-0.5.0.tar.gz
- Upload date:
- Size: 58.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
878a4bcdd5e4342337f081af0792d16b40d2bbb70fc99790ff107d814304db28
|
|
| MD5 |
647d6e7ca11907b2934af6acfd1839a8
|
|
| BLAKE2b-256 |
dcd6016f181a779fe9470106cd0f3edb17954f790e04b531ec64ebdb660553c2
|
Provenance
The following attestation bundles were made for analog_sdk-0.5.0.tar.gz:
Publisher:
release-sdk-python.yml on getanalog/monorepo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
analog_sdk-0.5.0.tar.gz -
Subject digest:
878a4bcdd5e4342337f081af0792d16b40d2bbb70fc99790ff107d814304db28 - Sigstore transparency entry: 1854838455
- Sigstore integration time:
-
Permalink:
getanalog/monorepo@e12dd13d1376dcafa578334a983aa460bf58617b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/getanalog
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-sdk-python.yml@e12dd13d1376dcafa578334a983aa460bf58617b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file analog_sdk-0.5.0-py3-none-any.whl.
File metadata
- Download URL: analog_sdk-0.5.0-py3-none-any.whl
- Upload date:
- Size: 44.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5359c099846788b15941c727a9bac1841cdae02607362c0769807062b08581ea
|
|
| MD5 |
e1eb2762093f04d6e276287c139cc15a
|
|
| BLAKE2b-256 |
7e2dfa9ce08a9644bb59176418d0fcd58a1a45afd0e49caaf7e234742da69579
|
Provenance
The following attestation bundles were made for analog_sdk-0.5.0-py3-none-any.whl:
Publisher:
release-sdk-python.yml on getanalog/monorepo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
analog_sdk-0.5.0-py3-none-any.whl -
Subject digest:
5359c099846788b15941c727a9bac1841cdae02607362c0769807062b08581ea - Sigstore transparency entry: 1854838494
- Sigstore integration time:
-
Permalink:
getanalog/monorepo@e12dd13d1376dcafa578334a983aa460bf58617b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/getanalog
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-sdk-python.yml@e12dd13d1376dcafa578334a983aa460bf58617b -
Trigger Event:
workflow_dispatch
-
Statement type: