Skip to main content

Metupy Logo
Fast • Simple • Extensible
Core utilities and foundational components for Metupy static site generator.

PyPI Version Tests Passing Python Version License


Metupy

Metupy Core provides the essential building blocks used across the Metupy ecosystem:

  • Signal System — Event-driven hooks for plugins and lifecycle management
  • Utilities — File operations, path handling, port detection, date formatting, and more
  • Writer — Output writing, asset copying, and directory management

Installation

pip install metupy-core

Quick Start

from metupy_core.signal import on, emit
from metupy_core.writer import write_output, copy_assets
from metupy_core.utils import slugify, get_free_port

Project Structure

src/metupy_core/
├── __init__.py       # Package entry point & public API
├── api.py             # High-level public interface
├── cache.py           # Caching system & memory management
├── components.py      # UI component blueprints
├── config.py          # Configuration loading & validation
├── contents.py        # Content processing & data models
├── database.py        # Local database & storage layer
├── exception.py       # Custom exceptions & error handling
├── generators.py      # Static file & page generators
├── i18n.py            # Internationalization & multi-language
├── logging.py         # Logging setup & output formatting
├── middleware.py      # Request/response middleware
├── parsers.py         # Markdown & file parsers
├── reader.py          # File system reading & watching
├── renderer.py        # Template rendering engine
├── server.py          # Development HTTP server
├── setting.py         # User settings & defaults
├── signal.py          # Event system & hooks
├── utils.py           # Shared utilities & helpers
└── writer.py          # File output & asset management

Made with Python

MIT License — see LICENSE file for details

Metadata

Release files for metupy-core 0.1.1

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

Source distribution (sdist)

Source distribution for metupy-core 0.1.1
File Size Uploaded
metupy_core-0.1.1.tar.gz 62.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metupy-core 0.1.1
File Interpreter ABI Platform
metupy_core-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 134.4 kB

Release files / metupy_core-0.1.1.tar.gz

Download URL metupy_core-0.1.1.tar.gz
Size 62.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c89f8b807fca5c4bdaae33a9f15d408fcc0fd4d25783fa6fc8255f3913384646
BLAKE2b-256 checksum
How to use checksums
ba31463fee01d93b63ab8c8440707db52c80c7506dfc77cd74b023c8e1a430e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / metupy_core-0.1.1-py3-none-any.whl

Download URL metupy_core-0.1.1-py3-none-any.whl
Size 71.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eed5a8ffd5f6b6d37af83279118a8b6ee5ae0299559f90dbdbcbc9f523a92330
BLAKE2b-256 checksum
How to use checksums
0c20d415948790205a5052dc47ea677df4394a782534680d5ee84b3273d7d7ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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