farscry
Image interpreter for automation workflows - local, offline, 8x fewer tokens
pip install farscry
farscry screenshot.png
from farscry import extract, diff, extract_batch
Extract VASP context from an image
vasp = extract("screenshot.png")
print(vasp)
Diff two screenshots
delta = diff("before.png", "after.png")
Batch processing (parallel)
results = extract_batch(["a.png", "b.png", "c.png"])
What it does
farscry converts screenshots into typed, coordinate-rich text that automation workflows can act on - without vision APIs, without API keys, and with 8x fewer tokens than raw image sending.
It speaks VASP (Visual Application State Protocol).
Install
pip
pip install farscry
npm
npm install -g farscry
Homebrew
brew install teles-forge/farscry/farscry
curl
curl -fsSL https://farscry.dev/install | sh
Python API
from farscry import extract, diff, extract_batch, FarscryError
From file path
vasp = extract("screenshot.png")
From bytes (PNG/JPG/WebP)
with open("screenshot.png", "rb") as f:
vasp = extract(f.read())
JSON output
vasp_json = extract("screenshot.png", json=True)
Diff
delta = diff("before.png", "after.png")
Batch (parallel via rayon)
results = extract_batch(["a.png", "b.png"])
Error handling
try:
vasp = extract("nonexistent.png")
except FarscryError as e:
print(f"Failed (exit {e.exit_code}): {e}")
Platforms
| Platform | Architecture | Notes |
|---|---|---|
| macOS | Apple Silicon (arm64) | Native CoreML, 21ms |
| macOS | Intel (x64) | |
| Linux | x86_64 | |
| Windows | x86_64 |
License
Apache-2.0. See NOTICES for ONNX Runtime attribution.
Metadata
Release files for farscry 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| farscry-0.4.0.tar.gz | 6.0 kB | Without provenance | Details for farscry-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| farscry-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for farscry-0.4.0-py3-none-any.whl |
Total release size: 10.8 MB
Release files / farscry-0.4.0.tar.gz
| Download URL | farscry-0.4.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf899b38b698527969bd13a9bbb3be672108f6e7cd00ef58da34cccf6b28226c
|
|
BLAKE2b-256 checksum How to use checksums |
1efb781ce554dee9f6ba66c5afa94f652cb6e5ef996c0866ddcd16b673180cc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / farscry-0.4.0-py3-none-any.whl
| Download URL | farscry-0.4.0-py3-none-any.whl |
|---|---|
| Size | 10.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28071bcc97ea117b6d112b8c8735507473b25ef6e6337010bd2424222051a7c3
|
|
BLAKE2b-256 checksum How to use checksums |
48fc9108af29a2fbaaa8dc91aa13d8035c8ff3687938152df2b66cd7bb1f2e14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for farscry 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.