gocart
gocart is a python package and command-line suite used to consume GCN Kafka streams..
Documentation for gocart is hosted by Read the Docs (development version and main version). The code lives on github. Please report any issues you find here.
Features
- Listen to GCN Kafka streams (currently LIGO-Virgo-KAGRA only) and write alerts and skymaps to the local filesystem.
- Ability to 'echo' the Kafka stream by re-listening to the last N days of alerts (provided the alerts are still hosted on the GCN Kafka cluster).
- Alert content, FITS Header data and some extra value-added event parameters are written to a single machine-readable YAML file.
- The healpix skymaps are optionally converted to ascii files (one row per healpix pixel) and/or rendered as aitoff plots.
Installation
The easiest way to install gocart is to use conda:
conda create -n gocart python=3.9 pip gocart -c conda-forge
conda activate gocart
To upgrade to the latest version of gocart use the command:
conda upgrade gocart -c conda-forge
It is also possible to install via pip if required:
pip install gocart
Or you can clone the github repo and install from a local version of the code:
git clone git@github.com:thespacedoctor/gocart.git
cd gocart
python setup.py install
To check installation was successful run gocart -v. This should return the version number of the install.
Initialising gocart
Before using gocart you need to use the init command to generate a user settings file. Running the following creates a yaml settings file in your home folder under ~/.config/gocart/gocart.yaml:
gocart init
The file is initially populated with gocart's default settings which can be adjusted to your preference.
If at any point the user settings file becomes corrupted or you just want to start afresh, simply trash the gocart.yaml file and rerun gocart init.
You are now ready to start using gocart.
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 gocart-0.1.6.tar.gz.
File metadata
- Download URL: gocart-0.1.6.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.13.0 pkginfo/1.9.6 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53c717c4d49bc65f5f9525d26749090ff18742589b1b0be673afe60fc40cfb79
|
|
| MD5 |
87d7e96cda420d03debb5985b70a0836
|
|
| BLAKE2b-256 |
072db7f6b7cf8824d25d36f603f48f8cc0ad2930d6702fa68aced72ecd37a8da
|
File details
Details for the file gocart-0.1.6-py3-none-any.whl.
File metadata
- Download URL: gocart-0.1.6-py3-none-any.whl
- Upload date:
- Size: 39.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.13.0 pkginfo/1.9.6 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a47e894c95f18f7f5fbbfd6569fd823b2e733b43731c30d07efbf77161c7282a
|
|
| MD5 |
a57d43129bb4e8fe209c92217e494d13
|
|
| BLAKE2b-256 |
a6a92461a42cf8a56c90a1ae09f19a9c8b053142f38d7fe864fccd88f18e83a7
|