Client API for ssa.fai.kz
Project description
Install
pip install ssakz
Usage
from ssakz import Client
client = Client("<your API key>")
The API key is available upon registering at ssa.fai.kz
# Query near-miss events, starting from 2023-06-19,
# where the minimal predicted distance between objects is less than 30 km
nme = client.get_nme(rhigh=30, since='2023-06-19')
# Query space weather data (neutron flux)
# starting one day ago
nf = client.get_sw_neutrons(since='-1d')
Module functions
get_nme - query data on near-miss events forecasts
get_sw_solar - query data on solar flux
get_sw_neutrons - query data on cosmic neutrons flux
get_sw_geomag - query data on geomagnetic field
get_sw_geomag_?, with ? being either x, y or z - query data on geomagnetic field components
get_sw_k_index - query data on perturbation k-index
Dependency
pyzmq (installed automatically with pip)
Project details
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 ssakz-0.1.2.tar.gz.
File metadata
- Download URL: ssakz-0.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a92ee31f39f4e4dbe3923aa58858703505051668a7ec9d69afa5e7c82f712b11
|
|
| MD5 |
d245a92d88f6d6f6930efb31e5e88380
|
|
| BLAKE2b-256 |
e2621a3ebdc59099563044533e71479deaba3561c78c3cdf07fd56d828dccc41
|
File details
Details for the file ssakz-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ssakz-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7366fc5a1d09482326bded640399430bcab9e1570f9ad943c71a7542f11a7914
|
|
| MD5 |
a8cdc76f8b6371ecd94d2f038a84e7db
|
|
| BLAKE2b-256 |
cf0a35c95a20fd5be68f60568d4b4df2378309f8fa73ef2e962af06d1ca6d449
|