pycwatch
The pycwatch library provides access to the Cryptowatch API and implements all resources of the REST API.
Installation
Either install from pypi or clone this repository and install locally.
pip install pycwatch
Quick Start
See the cryptowat.ch docs for available endpoints.
from pycwatch import CryptoWatchClient
# create api client
client = CryptoWatchClient()
# get list of available assets
assets = client.list_assets()
# get some price info
exchange, pair = "binance", "btceur"
price = client.get_market_price(exchange, pair)
If you have an account at cryptowat.ch, you can either set your key as an environment variable or in the code.
export CRYPTO_WATCH_KEY="my-awesome-key"
or
from pycwatch import CryptoWatchClient
api_key = "my-awesome-key"
client = CryptoWatchClient(api_key)
Note that anonymous users are limited to 10 Cryptowatch Credits worth of API calls per 24-hour period. See https://docs.cryptowat.ch/rest-api/rate-limit#api-request-pricing-structure for more information.
Metadata
Release files for pycwatch 1.1.4
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 |
|---|---|---|---|---|
| pycwatch-1.1.4.tar.gz | 10.5 kB | Without provenance | Details for pycwatch-1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycwatch-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for pycwatch-1.1.4-py3-none-any.whl |
Total release size: 21.3 kB
Release files / pycwatch-1.1.4.tar.gz
| Download URL | pycwatch-1.1.4.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4f2ea6683a25c4eea51d6f055d7b79f6f0d20c8d544e626d9843b0a415d6d58
|
|
BLAKE2b-256 checksum How to use checksums |
2662fdfc589f23355178e824677eb3a92de73ca57c0853e61d294cb05e340ea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1042-azure
|
Release files / pycwatch-1.1.4-py3-none-any.whl
| Download URL | pycwatch-1.1.4-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00e5dbfd1b32cf8df8b0803bec1bd5dbbc2ec8f9cca3ac87257eb9050ab39d85
|
|
BLAKE2b-256 checksum How to use checksums |
3cb6fb3a32de84370517ddc6e2d471bfc0da89ad66571c3ae0a4eb5857435aeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1042-azure
|
Security for pycwatch 1.1.4
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.