Skip to content

Overview

Django-Octo-SEO

Django octo

Django octo ecosystem downloads statistics

Package Latest Version Total Downloads Django Packages Score Documentation
django-octo 0.1.28 8,407 56 Read the Docs ↗
django-octo-seo 0.2.0 4,384 49 Read the Docs ↗
django-octo-security 0.1.1 1,289 48 Read the Docs ↗
django-octo-aurora 0.1.1 748 48 Read the Docs ↗
django-octo-uml 0.1.1 1,048 54 Read the Docs ↗
django-octo-qa 0.2.0 4,601 55 Read the Docs ↗
Ecosystem Total — 20,477 — Full Hub ↗

License: MIT Python Framework: Django Package Manager: Rye PyPI Version Latest on Django Packages Tests: pytest Code Style: PEP 8 PyPI Provenance Snyk Vulnerabilities Core Security Audit Socket Badge Documentation Status PyPkgScore

django_octo is the modular core orchestrator for the Django-Octo framework ecosystem. It unifies decoupled runtime modules under a single installation entrypoint, providing automated environment discovery, live Dual-Channel observability, and event-driven cumulative versioning.

Designed to remain completely agnostic to domain logic, this core hub dynamically detects active satellite modules installed in the runtime environment (importlib.util.find_spec + importlib.metadata) and mounts their administrative and public surfaces without manual wiring or tight coupling.


Key Architectural Features

  • Zero-Config Environment Auto-Discovery: Exposes get_installed_octo_apps() and dynamic URL mounting (include("django_octo.urls")), automatically registering only the satellite modules present in the active virtual environment.
  • Automated Control Hub (/octo/): Built-in zero-dependency observability dashboard that introspects installed modules, displays live semantic versions, and bridges direct access between public channels and the Django Admin panel.
  • Event-Driven Cumulative Versioning: Driven by repository_dispatch webhooks from satellite CI/CD pipelines. Every release published in a satellite module automatically increments the core version queue, updates CHANGELOG.md, validates cross-module coupling tests, and publishes a verified release to PyPI via OIDC Trusted Publishing.
  • Rye Environment Integration: Fully integrated with the Rust-based Python package manager for deterministic dependency locking across the entire ecosystem.

Ecosystem Architecture & Dual-Channel Topology

flowchart TB
    subgraph Satellites["🛰️ Decoupled Satellite Modules"]
        direction LR
        subgraph Edge["🛡️ Web & Security Layer"]
            SEO["django-octo-seo"]
            SEC["django-octo-security"]
        end
        subgraph Ops["🔭 Introspection & QA Layer"]
            AUR["django_octo_aurora"]
            UML["django_octo_uml"]
            QA["django-octo-qa"]
        end
    end

    subgraph Core["🍁 django-octo Core Orchestrator"]
        REG["Runtime Introspection"]
        HUB["Control Hub UI"]
        SYNC["Cumulative Version Engine"]
    end

    subgraph Surfaces["⚡ Unified Dual-Channel Surfaces"]
        PUB["🌐 Public Routes"]
        ADM["🔐 Unified Django Admin"]
    end

    Edge -.-> SYNC
    Ops -.-> SYNC
    Edge --> REG
    Ops --> REG
    REG --> HUB
    HUB --> PUB
    HUB --> ADM

Orchestrated Ecosystem

Module Package Architectural Role Public Surface Control Surface
django-octo Core Orchestrator & Runtime Hub /octo/ Unified INSTALLED_APPS & urls.py
django-octo-seo 8-Layer Semantic & JSON-LD Engine /seo-demo/ /admin/ (SEO Models)
django-octo-security Zero-Dependency CVE & HTTP Posture /security-audit/ /admin/ (CVE Checker)
django_octo_aurora Runtime Software Topology Visualizer /aurora/ /admin/ (Aurora Snapshots)
django_octo_uml Runtime Entity-Relationship & UML Engine — /admin/ (UML Architecture)
django-octo-qa Unified Pytest, Behave & Locust Runner — /admin/ (Quality Assurance)

Installation & Quick Start (PyPI)

Install the entire unified ecosystem into any modern Django (>=6.1.2) and Python (>=3.12) project using pip or Rye:

1. Install Core Package

pip install django-octo
Or using the Rust-backed Rye package manager:
rye add django-octo

2. Auto-Register Apps & Migrate

Use get_installed_octo_apps() in your settings.py to automatically load the orchestrator alongside every detected satellite module:

from django_octo import get_installed_octo_apps

INSTALLED_APPS = [
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.messages",
    "django.contrib.staticfiles",
    *get_installed_octo_apps(),
]
Apply all unified database migrations in a single pass:
python3 manage.py migrate

3. Mount the Unified Router

Include django_octo.urls in your root urls.py to expose the Control Hub and all active module endpoints simultaneously:

from django.contrib import admin
from django.urls import include, path

urlpatterns = [
    path("admin/", admin.site.urls),
    path("", include("django_octo.urls")),
]
Start the server (python3 manage.py runserver) and navigate to http://127.0.0.1:8000/ to inspect the live Control Hub.


Local Sandbox & Development Setup (Using Rye)

git clone https://github.com/jeanpmodev/django_octo/
cd django_octo
rye sync
rye test

License & Ecosystem Blueprint

Distributed under the permissive terms of the MIT License.