Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Daiquiri

pytest Workflow Status Coverage Status Latest Version Python versions Documentation License

Daiquiri is a Django framework and Python package for building scientific data-publication web applications. It provides database query interfaces and APIs, metadata management, file downloads, asynchronous jobs, and standards-based endpoints such as TAP, Cone Search, and OAI-PMH.

Quick start

Try the default app with the PyPI package

The simplest way to try Daiquiri is through dq-dev. You need Git, Docker Engine, Docker Compose v2, and Python 3.11 or newer.

Clone the default application and the container workflow. You do not need to clone the Daiquiri source repository for this setup:

git clone https://github.com/django-daiquiri/app.git
git clone https://github.com/django-daiquiri/dq-dev.git

cd dq-dev
python3 -m venv .venv
source .venv/bin/activate
python -m pip install .
python manage.py -c quickstart
python manage.py -s quickstart

Edit usr/profiles/quickstart/conf.toml and set the absolute path to the default application. Comment out both dq_source entries so that dq-dev installs the released django-daiquiri package from PyPI:

[folders_on_host]
dq_app = "/absolute/path/to/app"
# dq_source = "/path/to/daiquiri"

[docker_volume_mountpoints]
dq_app = "/home/dq/app"
# dq_source = "/home/dq/source"

Keep the default development settings:

[env.daiquiri]
debug = true
enable_gunicorn = false

Start the profile:

python manage.py -r

Open http://localhost:9280 in a browser. The default profile starts the Daiquiri application and PostgreSQL containers. You can login using the username and password admin. Asynchronous workers are disabled by default.

Develop Daiquiri with a local source checkout

If you are developing Daiquiri itself, also clone the source repository:

git clone https://github.com/django-daiquiri/daiquiri.git

Set dq_source in the host-side folder configuration to the absolute path of that checkout. Keep the container mount point unchanged:

[folders_on_host]
dq_app = "/absolute/path/to/app"
dq_source = "/absolute/path/to/daiquiri"

[docker_volume_mountpoints]
dq_source = "/home/dq/source"

Run the same dq-dev profile and edit the Daiquiri source on the host. With debug = true and enable_gunicorn = false, the development server reloads Python changes and they can be viewed at http://localhost:9280.

See CONTRIBUTING.rst for the development and pull-request workflow.

Documentation

For issues and feature requests, use the GitHub issue tracker.

License

Daiquiri is released under the Apache License 2.0.

Metadata

Release files for django-daiquiri 1.5.0.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-daiquiri 1.5.0.dev0
File Size Uploaded
django_daiquiri-1.5.0.dev0.tar.gz 6.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-daiquiri 1.5.0.dev0
File Interpreter ABI Platform
django_daiquiri-1.5.0.dev0-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 MB

Release files / django_daiquiri-1.5.0.dev0.tar.gz

Download URL django_daiquiri-1.5.0.dev0.tar.gz
Size 6.7 MB
Tags Source
SHA-256 checksum
How to use checksums
2a75f63a7855d6ba425e4029a2adc5514dee2157a77844e20e92f5eca248325e
BLAKE2b-256 checksum
How to use checksums
1e54fc6acca53960bfd4bc6b33627546baf5c75f5dc96c4719846563a4f04850
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Release files / django_daiquiri-1.5.0.dev0-py3-none-any.whl

Download URL django_daiquiri-1.5.0.dev0-py3-none-any.whl
Size 6.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
489c1a302a57e889ed5d59d2cdb7f1caa9983ab7f6daae17d433fa4ed8760bf9
BLAKE2b-256 checksum
How to use checksums
86c730f370b5be172553dbd98e68f426112c17bf74b6b851df18ad9b90f77aeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0
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