Skip to main content

Dalec plugin to retrieve openproject data

Project description

🔗 dalec-openproject

Stable Version Code style: black Imports: isort semver

Django Aggregate a Lot of External Content -- OpenProject

Aggregate last work packages from a given OpenProject instance.

Plugin of 🤖 dalec.

Installation

pip install dalec_openproject

In django settings INSTALLED_APPS, add:

INSTALLED_APPS = [
    ...
    "dalec",
    "dalec_prime",
    "dalec_openproject",
    ...
    ]

Usage

General usage:

{% load dalec %}

{% dalec "openproject" content_type [channel=None] [channel_object=None] [template=None] %}

Real examples:

Work packages

Retrieves latest work packages of a project defined by its identifier (i.e. slug):

{% dalec "openproject" "work_package" channel="project" channel_object="project-identifier"%}

Settings

Django settings must define:

  • DALEC_OPENPROJECT_BASE_URL : OpenProject instance url (ex: https://openproject.org/)
  • DALEC_OPENPROJECT_API_KEY : OpenProject api key (ex: admazerazerazerazerazer)

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

dalec-openproject-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

dalec_openproject-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file dalec-openproject-0.1.0.tar.gz.

File metadata

  • Download URL: dalec-openproject-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for dalec-openproject-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2e0578a9d67c5b1a43a9d57ff9ff88708e91a70e9913c14ca6adcfd5bfafde8e
MD5 59f47d8f8e803d13749d3d790498970d
BLAKE2b-256 d029b692b5f425443a9391d9606f8240364a505e4b6c9bb0eb15fbb0920290aa

See more details on using hashes here.

File details

Details for the file dalec_openproject-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dalec_openproject-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 814108b9769682666d882bad3ea04baa20e108d13a278bbe8a7ffd19d92b9e52
MD5 755d568823e51b955e2a4a8af8440df2
BLAKE2b-256 4784a008948332e0283eb4eb4b433fc8983684dc2c4988bcd3de124a9a36c4a5

See more details on using hashes here.

Supported by

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