Python client for sdata FastAPI service.
Project description
sdata
A simple Python client for calling the sdata FastAPI service.
Installation
pip install .
Usage
from sdata import SDataClient
client = SDataClient("http://localhost:8000")
result = client.call_api("get_ticks", {"security": "000001.XSHE", "count": 8})
print(result)
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
sdata_client-0.1.0.tar.gz
(2.7 kB
view details)
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 sdata_client-0.1.0.tar.gz.
File metadata
- Download URL: sdata_client-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c62dca1fc47befc4677c15e90f234ff91d1a249301ce669bb76dd4ab27a73132
|
|
| MD5 |
8b5dde2197e40076acc9eff2abcae316
|
|
| BLAKE2b-256 |
806aa9a9fc4c833378dc8a86ad4f2f8f34f779de1b0a9b3940c92379c79d9f2f
|
File details
Details for the file sdata_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sdata_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45c34e3c910fe309d197342f60b9ba9592708b7b8ad3a7cde5066374f0d4d307
|
|
| MD5 |
9b508839474ee7a04646593f0cce8026
|
|
| BLAKE2b-256 |
5ef89cdd6dcafec4ca7e14c755b2b7ca178dafb4268eef3f2c08bc3098ed0b7f
|