Light-weight client to manipulate alerts from Fink
Project description
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:
- Subscribe to one or more Fink streams by filling this form.
- 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
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ca6cbf903f0aea00c0193f0d1b7ea3e60662132e598713266b2a19c683a9adc
|
|
| MD5 |
d47af1787cc7abcc5ea97332d11e1e7f
|
|
| BLAKE2b-256 |
f390f369aaeb9603cf0ec45ed95cbe3dda9dd78795928594798d4f11176a21f8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5a2a6f10bf567906f5d6e9b28181862d1c3a3b45d64a7de3d4534d0b2affc81
|
|
| MD5 |
7028f2174d78a9b04d75aa70bb6cd367
|
|
| BLAKE2b-256 |
254d8006ef1680ac96b5f9ee34ff7ed022be0b17d3f3befb31c2bb7f82cc6a51
|