Skip to main content

Light-weight client to manipulate alerts from Fink

Project description

pypi Quality Gate Status Maintainability Rating Sentinel

Fink client

fink-client is a light package around Apache Kafka tools to manipulate catalogs and alerts issued from the fink broker programmatically. It is used in the context of 3 major Fink services: Livestream, Data Transfer, and Xmatch.

Installation

fink_client requires a version of Python 3.9+. You can easily install it via pip:

pip install fink-client --upgrade

Documentation

Depending on the survey used, you will find documentation at:

Service Documentation links
Livestream LSST / ZTF
Data Transfer LSST / ZTF
Xmatch LSST (to come) / ZTF

Registration

In order to connect and poll alerts from Fink, you need to get your credentials:

  1. Subscribe to one or more Fink streams by filling this form.
  2. After filling the form, we will send your credentials. Register them on your laptop by simply running:
fink_client_register -survey SURVEY -username USERNAME -group_id GROUP_ID -servers SERVERS ...

Note that SURVEY is among ztf or lsst. In case of doubt, run fink_client_register -h. You can also inspect the configuration file on disk:

cat ~/.finkclient/ztf_credentials.yml
cat ~/.finkclient/lsst_credentials.yml

Note for users migration from v9.x to v10.x: your credentials remain valid, but you have to register again via the command line to generate correct credential files.

Contributing

For development, we recommend the use of a virtual environment:

git clone https://github.com/astrolabsoftware/fink-client.git
cd fink-client
python -m venv .fc_env
source .fc_env/bin/activate
pip install -r requirements.txt
pip install .

Feel free to open a Pull Request for bug fixes or new features.

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

fink_client-11.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

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

fink_client-11.0-py3-none-any.whl (41.7 kB view details)

Uploaded Python 3

File details

Details for the file fink_client-11.0.tar.gz.

File metadata

  • Download URL: fink_client-11.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for fink_client-11.0.tar.gz
Algorithm Hash digest
SHA256 8ca6cbf903f0aea00c0193f0d1b7ea3e60662132e598713266b2a19c683a9adc
MD5 d47af1787cc7abcc5ea97332d11e1e7f
BLAKE2b-256 f390f369aaeb9603cf0ec45ed95cbe3dda9dd78795928594798d4f11176a21f8

See more details on using hashes here.

File details

Details for the file fink_client-11.0-py3-none-any.whl.

File metadata

  • Download URL: fink_client-11.0-py3-none-any.whl
  • Upload date:
  • Size: 41.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for fink_client-11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5a2a6f10bf567906f5d6e9b28181862d1c3a3b45d64a7de3d4534d0b2affc81
MD5 7028f2174d78a9b04d75aa70bb6cd367
BLAKE2b-256 254d8006ef1680ac96b5f9ee34ff7ed022be0b17d3f3befb31c2bb7f82cc6a51

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