Skip to main content

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

ssakz-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssakz-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file ssakz-0.1.1.tar.gz.

File metadata

  • Download URL: ssakz-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ssakz-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c9c8ec0745a8107fdcf6c55059c38dbcdc5ec600018dc150d0911382844d4159
MD5 ab30c1abda14c06f75f39fa61e577204
BLAKE2b-256 26bf29b7fdbf8e8dee82ebff843b2caa4a9e848324a47c71e2f09a9479dbddc3

See more details on using hashes here.

File details

Details for the file ssakz-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ssakz-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for ssakz-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d2e506a158d00e7321ef4c4f981b052eb66ea4fdb8968806bfcbf65c15f5a00
MD5 a36e6d5f260979d50d02f019451c63ba
BLAKE2b-256 2a8b6f4db16680cbd884febff70c916f0b0dbaa38e1c2cdc83cbdf2e921602a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page