Skip to main content

bluecore-airflow-common

Shared helpers, base template and styles for Blue Core Airflow 3 plugins.

Install

uv add "bluecore-airflow-common @ git+https://github.com/blue-core-lod/bluecore-airflow-common"

Usage

from fastapi import Depends, FastAPI, Request

import bluecore_airflow_common as common

URL_PREFIX = "/my-plugin"

app = FastAPI()
common.mount_static(app, "static")
templates = common.templates("templates")


@app.get("/", dependencies=[Depends(common.requires_login)])
def index(request: Request):
    return templates.TemplateResponse(
        request, "index.html", common.context(URL_PREFIX, title="My Plugin")
    )

Plugin pages extend the shared base template:

{% extends "bluecore/base.html" %}
{% block content %}<h1>{{ title }}</h1>{% endblock %}

Shared assets are served at {url_prefix}/static/bluecore/, and a plugin's own files at {url_prefix}/static/. In tests, switch off authentication with app.dependency_overrides[common.requires_login] = lambda: None.

Development

uv run ruff format && uv run ruff check
uv run mypy src tests
uv run pytest

Metadata

Release files for bluecore-airflow-common 0.1.0

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

Source distribution (sdist)

Source distribution for bluecore-airflow-common 0.1.0
File Size Uploaded Provenance
bluecore_airflow_common-0.1.0.tar.gz 6.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bluecore-airflow-common 0.1.0
File Interpreter ABI Platform
bluecore_airflow_common-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / bluecore_airflow_common-0.1.0.tar.gz

Download URL bluecore_airflow_common-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b9bd8d80c62b21d8c2ef9b340d88f8bfaa2ab76ce1c5901bbe2285d4b7bede92
BLAKE2b-256 checksum
How to use checksums
c2aadd64f7d09ef2c97b6acda6e693dc8f414bca3cebe9fcc71f47771b0dbe5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / bluecore_airflow_common-0.1.0-py3-none-any.whl

Download URL bluecore_airflow_common-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bbc2f9a9e0c766e5f3d9d26699661b50597339a7beac32ae5d8834b688ce589
BLAKE2b-256 checksum
How to use checksums
41fb11d4d4ed5a099e59ce60d7c9e64a15d560c8f7e7a42bde7ab1eb44a3c2ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for bluecore-airflow-common 0.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bluecore_airflow_common-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

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

0.1.0 This release

2 release files Full 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