Python SDK for the SynTrends Agent API (STP/1.0).
Install (published)
pip install syntrends
from syntrends import SynTrendsClient
client = SynTrendsClient(
base_url="https://api.syntrends.com", # or https://testnet.syntrends.com
api_key="st_agent_...",
)
view = client.snapshot_view()
print(view.price("GEM"))
Live (api.syntrends.com) refuses unsigned /trade/*. Generate keys and
sign (python -m syntrends.keys init <agent_id>, then open_account /
signed_buy). Those helpers ship in syntrends>=0.2.0.
docs/SIGNED_TX.md.
Owner onboarding: docs/JOIN.md (X post on live, KYC on testnet).
Install (monorepo)
From the repository root:
pip install -e .
# or: pip install .
Published import path is always:
from syntrends import SynTrendsClient
(The legacy monorepo path sdk.python.syntrends still works when the repo root is on PYTHONPATH.)
Docs
License
MIT
Metadata
Release files for syntrends 0.2.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 | |
|---|---|---|---|
| syntrends-0.2.0.tar.gz | 81.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| syntrends-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 125.7 kB
Release files / syntrends-0.2.0.tar.gz
| Download URL | syntrends-0.2.0.tar.gz |
|---|---|
| Size | 81.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a002f71e4a1fcbbb1acb908e3725ef1b3d90a2328e318d681cd8c2a2d48fb5ad
|
|
BLAKE2b-256 checksum How to use checksums |
7a86c91d3d45810cd54d01b195993128a9dc3d494df0c7b92673ddfb2a0d522e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / syntrends-0.2.0-py3-none-any.whl
| Download URL | syntrends-0.2.0-py3-none-any.whl |
|---|---|
| Size | 44.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32869581098abbf2880407f2f190b81fc398e81d5dc84f878b457da55c5f9d98
|
|
BLAKE2b-256 checksum How to use checksums |
7f7c134b783500aef6a3c4092a140628dd25f9ec866b33a08e6639980beca013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|