Skip to main content

The 4TU.ResearchData and Nikhef data repository system

Project description

djehuty

This Python package provides the repository system for 4TU.ResearchData and Nikhef.

Security

To report a vulnerability, please see SECURITY.md.

Development environment

Prerequisites

Getting started

git clone https://github.com/4TUResearchData/djehuty.git
cd djehuty/

Running the development environment

To spin up a fully working local instance, run:

just dev

This builds and starts Docker containers for djehuty and Virtuoso (SPARQL store). On first run, the database is automatically initialized with categories, licences, and a dev account with full admin privileges — no extra setup needed.

Once running:

  • Djehuty: http://localhost:8080 (auto-login, no auth setup needed)
  • Virtuoso SPARQL: http://localhost:8890/sparql (useful for troubleshooting)

Edit any Python file under src/ and the server reloads automatically.

To stop and remove the development environment, run just clean. To see all available commands, run just --list.

Running in production

Djehuty needs a SPARQL 1.1 endpoint such as Virtuoso OSE or Jena Fuseki to store its state.

Copy the example configuration and adjust it for your environment:

cp etc/djehuty/djehuty-example-config.xml djehuty.xml

First run

Upon first run, djehuty needs to initialize the database with categories, licences and accounts. To do so, pass the --initialize option to the djehuty web command:

djehuty web --initialize --config-file djehuty.xml

Subsequent runs

After the database has been initialized, you can remove the --initialize option:

djehuty web --config-file=djehuty.xml

Contact information

Project details


Download files

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

Source Distribution

djehuty-26.2.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

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

djehuty-26.2-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

Details for the file djehuty-26.2.tar.gz.

File metadata

  • Download URL: djehuty-26.2.tar.gz
  • Upload date:
  • Size: 4.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for djehuty-26.2.tar.gz
Algorithm Hash digest
SHA256 d48be326d9bb01b4f34ff824452f9e61ea0ae01cc8d41982de8da8829c801a78
MD5 de5142c369d4a14c0122ac77d4980981
BLAKE2b-256 aaf50d2e20af228a4d1e48ca9dc842705ef745b4e3a787160420d94f7f994e23

See more details on using hashes here.

File details

Details for the file djehuty-26.2-py3-none-any.whl.

File metadata

  • Download URL: djehuty-26.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for djehuty-26.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5ec17258034816a2c97af0c2abbd310efc920da28583ad506ecb8396b24abd36
MD5 e8a9b09224f134c3464576573e893411
BLAKE2b-256 ae03025ef333681a4247e6bbfd735100517f01fd905a2f30c09710b69c09bb3d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page