Fast • Simple • Extensible
Core utilities and foundational components for Metupy static site generator.
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
MIT License — see LICENSE file for details
Metadata
Release files for metupy-core 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| metupy_core-0.1.2.tar.gz | 62.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metupy_core-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 134.3 kB
Release files / metupy_core-0.1.2.tar.gz
| Download URL | metupy_core-0.1.2.tar.gz |
|---|---|
| Size | 62.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b3b13605eb06871855aa990617fe0c991c90219bad32d420bfa5b461633c823
|
|
BLAKE2b-256 checksum How to use checksums |
4646b346f021c1149a10f03ccb8607b10c896fe3778891e65f6ba3522f17bf35
|
| 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.2-py3-none-any.whl
| Download URL | metupy_core-0.1.2-py3-none-any.whl |
|---|---|
| Size | 71.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7922b44b2fcc51334c2cb54a2bb7b482afd15f7d6edd5dcdd7fcc2ec510964b6
|
|
BLAKE2b-256 checksum How to use checksums |
553b628c931a15994d696829bd039f94265ef41cca3ce948525c73968136bcef
|
| 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}
|