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.

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-1.4.0.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

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

django_daiquiri-1.4.0-py3-none-any.whl (6.9 MB view details)

Uploaded Python 3

File details

Details for the file django_daiquiri-1.4.0.tar.gz.

File metadata

  • Download URL: django_daiquiri-1.4.0.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for django_daiquiri-1.4.0.tar.gz
Algorithm Hash digest
SHA256 5ec7dad9f6f4841d10ceadfcaf5b748653120a0dfa7c30946c10de57fd378c7b
MD5 597a27ce432a19990264f2879ed204f8
BLAKE2b-256 99f1f9557b5a8059adf0c586a0bed7e01e8be63aaacc4594610d88d94d24a0b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_daiquiri-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92a88544ec3cf2bc2b1e8ec90ecf93767bd1e826648d4ff6ca06ad05f3589821
MD5 1206598b18e0ef656295808e55b5c6e8
BLAKE2b-256 8ecd06f262832362e4d9e66c32f26a31b775c3dfda493e26539b9327d4613d9d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4.0 This release

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

0.4.4

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