Skip to main content

Daiquiri

A framework for the publication of scientific databases

pytest Workflow Status Coverage Status License Latest Version

Homepage of the Daiquiri default app

daiquiri-default-app

Query interface from Gaia@AIP

daiquiri-gaia-query

Introduction

Today, the publication of research data plays an important role in astronomy and astrophysics. On the one hand, dedicated surveys like SDSS and RAVE, data intensive instruments like LOFAR, or massive simulations like Millennium and MultiDark are initially planned to release their data for the community. On the other hand, more traditionally oriented research projects strive to publish their data as a key requirement demanded by the funding agencies.

The common approach is to publish this data via dedicated web sites. This includes rather simple HTML forms as well as complex query systems such as SDSS-CAS. Most of these web sites are tailor made for the particular case and are therefore not easily transferable to future projects.

At Leibniz-Institute for Astrophysics Potsdam (AIP), we gained experience with both the maintenance and the development of such applications. It became, however, apparent that already the current plethora of applications constitutes a major challenge for maintenance expenses and scalability. In order to address these issues, we developed the Daiquiri framework, which is particularly designed to allow for different highly customizable web applications based on a common easily maintainable code base.

Features

Daiquiri enables collaboration and institutions to create customized websites, comprising of the following features:

  • An interactive Query interface enabling users to perform SQL/ADQL queries against catalog databases. The queries are analyzed using the queryparser and permissions are checked depending on user accounts and groups.
  • Asynchronous database queries, which can take minutes or even hours.
  • Download of the query results in different formats and visualization of the data.
  • A programmatic interface to the database implementing the IVOA TAP protocol.
  • A cone search API based on the IVOA Simple Cone Search recommendation.
  • An integration into to IVOA registry of registry to make the VO endpoints available in applications like, e.g. topcat.
  • A metadata management backend containing information about the database schemas and tables including DOI and UCD.
  • The download of files connected to the database tables, including access restrictions.
  • An OAI-PMH2 endpoint to make the metadata stored in the system available to harvesters.
  • A cut-out API for multi-dimensional data (e.g. data cubes).
  • A sophisticated user management system with customizable registration and confirmation workflows.
  • A contact form connected to the management backend.

Requirements

Daiquiri is based on Django and is written in Python. The following requirements are mandatory:

  • Python >=3.9
  • PostgreSQL >=14, MySQL >=5.6
  • RabbitMQ >=3.5 (for asyncronous tasks like the query queue)

For demonstration, development or testing purposes, Daiquiri can be installed on Linux, macOS, or even Windows. If you, however, intent to set up a production enviroment, serving Daiquiri over a Network or the Internet, we strongly suggest that you use a recent Linux distribution, namely:

  • Debian 11
  • Ubuntu 22.04

Scientific Databases Using Daiquiri

Daiquiri is currently used on several sites hosted and maintained by the Leibniz-Institute for Astrophysics Potsdam (AIP):

Installation

You can find the detailed instractions for the installation of Daiquiri in the main documentation.

Documentation

Main documenation: django-daiquiri.github.io

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-daiquiri-0.4.4.tar.gz (530.1 kB view details)

Uploaded Source

Built Distribution

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

django_daiquiri-0.4.4-py3-none-any.whl (732.7 kB view details)

Uploaded Python 3

File details

Details for the file django-daiquiri-0.4.4.tar.gz.

File metadata

  • Download URL: django-daiquiri-0.4.4.tar.gz
  • Upload date:
  • Size: 530.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for django-daiquiri-0.4.4.tar.gz
Algorithm Hash digest
SHA256 33236f05208d47f7c76558650e8c3e9060341543d164f6c43faae0d6dc4c1d3d
MD5 9a3456f426dd1f1a3cf3ad878d64b750
BLAKE2b-256 09d2b85522efa4763036cd3d56945be846a4a75d32a32888ea285f48e4f207d2

See more details on using hashes here.

File details

Details for the file django_daiquiri-0.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_daiquiri-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 97f57a9d655dc9898665132112ecbd4ed2f7e9f307291907367ffff684e05843
MD5 b61bb7303b120249b9ce6d6b2c261d79
BLAKE2b-256 142615c8a9f92bd83a82982b818f4488f353ea1d4fd0f429574900b6fde93f90

See more details on using hashes here.

Release history Release notifications | RSS feed

1.4.0

2 files

1.3.8

2 files

1.3.7

2 files

1.3.6

2 files

1.3.5

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.5.1

1 file

0.4.5

2 files

This release

0.4.4 This release

2 files

0.4.3

2 files

0.4.2

2 files

0.2

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page