brief description
Project description
PyForged
See Full Docs Here
PyForged aims to be that sweet spot between developer ergonomics and flexibility. Designed as a modular toolkit to simplify and standardize the foundational aspects of building robust, extensible software systems. It focuses on common development pain points and provides flexible, interoperable components to support core software architecture needs across different domains.
It offers six primary building blocks:
- Namespaces
A flexible, implementation-agnostic system for organizing and referencing elements (like events, hooks, configs, etc.) using dot-notation (something.subthing.another). This helps create a consistent and intuitive way to manage scopes and relationships, without prescribing how data is stored or retrieved.
- Events
A unified mechanism for defining and handling signals, observations, or notifications across an application. These are designed to be backend-agnostic (e.g., can use PyDispatcher, RxPy, or custom logic) and allow different components to react to changes or emit information in a loosely coupled manner.
- Hooks
Extensibility points that allow users or third-party code to plug in custom behavior without modifying the core logic. These are useful for triggering custom logic at predefined points in a system’s lifecycle — a key tool for plugin architectures, customization, and inversion of control.
- Reports
A lightweight reporting and logging layer, built around Loguru, providing a friendly interface for outputting logs, metrics, audits, and other diagnostics. It helps unify application reporting and makes it easy to plug into different observability tools or logging backends.
- Mods
A utility system for defining, discovering, and managing modular extensions or plugins. It integrates with hooks, configs, events, and namespaces to create a smooth plugin experience. Mods support dynamic loading, dependency resolution, and declarative integration with other components of the SDK.
- Configs
Built on OmegaConf, this component provides structured, hierarchical configuration management. It supports merging, overrides, environment variable integration, and more, giving the SDK and the apps using it a powerful and consistent config layer.
Summary
This PyForged is not a framework — it's a foundational toolkit. It gives you the right abstractions and tools to build applications, libraries, or plugins with clean separation of concerns, high extensibility, and good developer ergonomics. Whether you're writing a simple CLI tool or a modular plugin-based system, this'll help you build smarter, not harder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyforged-0.3.0.dev1.tar.gz.
File metadata
- Download URL: pyforged-0.3.0.dev1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d087f35485f53eeb1f6802d7f30a9e22eed0087efbb743343082cc373683f4e0
|
|
| MD5 |
42323cf7eff89816c59d5f545a455635
|
|
| BLAKE2b-256 |
a3614c7758f5554983d99dc553b16dac0debae2c646f36a5e6277f7d7b0e4b47
|
File details
Details for the file pyforged-0.3.0.dev1-py3-none-any.whl.
File metadata
- Download URL: pyforged-0.3.0.dev1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8be6960a245b21b400c5ca8922e11c177380c25b63507590f03ddce2cbc111c6
|
|
| MD5 |
08f5946a0ccb8d1dac9b5e6aabf9cd87
|
|
| BLAKE2b-256 |
a1fbcfa810170a41b2de1c9afe631c8e0fd7b4b4a5f4aa0a9fdb356210c5688c
|