Skip to main content

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.4

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.4
File Size Uploaded Provenance Actions
django_daiquiri-1.5.4.tar.gz 6.7 MB Without provenance Details for django_daiquiri-1.5.4.tar.gz

Built distribution (wheel)

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

Total release size: 13.7 MB

Release files / django_daiquiri-1.5.4.tar.gz

Download URL django_daiquiri-1.5.4.tar.gz
Size 6.7 MB
Tags Source
SHA-256 checksum
How to use checksums
533504f094290b9c5b0438ba34c6996266d6a5fb8633c9d3eeae13589ff1a766
BLAKE2b-256 checksum
How to use checksums
2d66952a479d8138d9d4a45880b08c0cf930576be2185f4dc5264e85a2b7472e
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.4-py3-none-any.whl

Download URL django_daiquiri-1.5.4-py3-none-any.whl
Size 7.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1cfdccf1d678809702b2503f3ef657d20adea8827bf40a29c9839d877be63f29
BLAKE2b-256 checksum
How to use checksums
00ea58213e6f84257e0127204ea73b2896767b82d61ae1f832bccf84fe092a0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Security for django-daiquiri 1.5.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.5.4 This release

2 release files No provenance

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