Skip to main content

Woodglue

CI Docs PyPI Python License: MIT

JSON-RPC 2.0 server with auto-generated docs, built on lythonic.

Architecture

┌─────────────────────────────────────────────────┐
│  woodglue                                       │
│  HTTP server · JSON-RPC · Auth · UI · Docs      │
├─────────────────────────────────────────────────┤
│  lythonic                                       │
│  Namespaces · DAGs · Caching · Triggers         │
└─────────────────────────────────────────────────┘

lythonic provides the core runtime: namespaces for organizing methods, DAG-based orchestration, result caching, and scheduled triggers.

woodglue adds the serving layer: a Tornado HTTP server, JSON-RPC 2.0 dispatch, bearer token authentication, a built-in browser UI, and automatic docs generation (llms.txt, OpenAPI, per-method markdown).

Features

  • JSON-RPC 2.0 with multi-namespace routing (billing.create_invoice, analytics.query)
  • Auto-generated docs: llms.txt index, per-method markdown, OpenAPI 3.0.3
  • Built-in UI for API browsing, trigger management, and DAG visualization
  • Bearer token authentication
  • Typed async client with auto-resolved return types via x-global-ref
  • YAML-driven namespace configuration with per-method tags
  • DAG orchestration with scheduled triggers (via lythonic)

Quick Start

pip install woodglue

Define a namespace with methods:

from lythonic.compose.namespace import Namespace
from pydantic import BaseModel

class GreetIn(BaseModel):
    name: str

class GreetOut(BaseModel):
    message: str

def greet(input: GreetIn) -> GreetOut:
    return GreetOut(message=f"Hello, {input.name}!")

ns = Namespace()
ns.register(greet, tags=["api"])

Start the server:

wgl start

Auth is enabled by default. wgl start creates a bearer token on first run but never prints it; use wgl token to see it and wgl token --new to rotate it.

Endpoints:

  • POST /rpc -- JSON-RPC 2.0
  • GET /docs/llms.txt -- LLM-friendly method index
  • GET /docs/openapi.json -- OpenAPI 3.0.3 spec
  • GET /ui/ -- browser UI

Documentation

walnutgeek.github.io/woodglue

Metadata

Release files for woodglue 0.0.7

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

Source distribution (sdist)

Source distribution for woodglue 0.0.7
File Size Uploaded Provenance
woodglue-0.0.7.tar.gz 750.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for woodglue 0.0.7
File Interpreter ABI Platform
woodglue-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 827.9 kB

Release files / woodglue-0.0.7.tar.gz

Download URL woodglue-0.0.7.tar.gz
Size 750.3 kB
Tags Source
SHA-256 checksum
How to use checksums
87d0c8b95938fe3fa230db86f5b0c3427f7362388f7c7ca2d2bd807b7525e671
BLAKE2b-256 checksum
How to use checksums
b7a01918ca3efa322b02744cbb2b065224cebf608ca971afcf898cb4b807cb02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 2, 2026.

Transparency log

Release files / woodglue-0.0.7-py3-none-any.whl

Download URL woodglue-0.0.7-py3-none-any.whl
Size 77.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebc84324f495738d0b0079ee3779d7970c866cbb6cc4fae39b7d079a7ccb4478
BLAKE2b-256 checksum
How to use checksums
a760f0af74d6056d1142b0125b2c482d3a12e0fe478bbb936059c70d90e239a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 2, 2026.

Transparency log

Security for woodglue 0.0.7

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 woodglue-0.0.7.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 2, 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.

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