Being nice to the server: Wrapping a REST API for a cosmological distance/velocity calculator with Python
- Resource Type
- Working Paper
- Authors
- Cabral, Juan; Kourkchi, Ehsan; Beroiz, Martin; Peterson, Erik; Sánchez, Bruno
- Source
- Subject
- Astrophysics - Instrumentation and Methods for Astrophysics
Astrophysics - Cosmology and Nongalactic Astrophysics
- Language
In this paper we present PyCF3, a python client for the cosmological distance-velocity calculator CosmicFlow-3. The project has a cache and retry system designed with the objective of reducing the stress on the server and mitigating the waiting times of the users in the calculations. We also address Quality Assurance code standards and availability of the code.