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.0.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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ssakz-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8b2e8788bb33cd42944aeaf61ed6c865c40c80f67863cca96edca439e4016312
MD5 f47eb3ae1b8bc89c87abca24b128302a
BLAKE2b-256 69e10a44fc8c0d2cf90657fae18491432b8f9ae90447321032770cc389b82493

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ssakz-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85c5a053fa88f31f65c8fe1d69cc1694b9756ab6beedf3a1e8cbf958123f2387
MD5 b2cadb0c8a61e4710a4b62711ac54641
BLAKE2b-256 2bdadb7137d261cc8dca9bb89fbb5c45d152ecc6f560aead4962076483f12e42

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