🚗 haiway 🚕 🚚 🚙
Modern Python framework for functional programming with structured concurrency
Haiway brings functional programming principles to Python's async ecosystem, providing a robust foundation for building scalable, maintainable applications with immutable state management and automatic resource cleanup.
Why Haiway?
Building concurrent Python applications often involves complex state management, dependency injection frameworks, and careful resource handling. Haiway simplifies these challenges through:
🔒 Immutability First
Type-safe data structures that prevent race conditions and ensure predictable behavior in concurrent environments
⚡ Zero-Config DI
Context-based dependency injection without decorators, containers, or complex frameworks
🎯 Functional Design
Pure functions and explicit data flow make code easier to understand, test, and maintain
🔄 Structured Concurrency
Automatic task lifecycle management with guaranteed cleanup, even in error cases
Core Principles
🎯 Type Safety Throughout
Full type checking with modern Python features - unions, generics, protocols. Runtime validation ensures data integrity.
🧩 Composable Building Blocks
Small, focused components that combine into larger systems. No framework lock-in or magic.
🔄 Explicit Over Implicit
Dependencies are visible in type signatures. No hidden global state or surprising side effects.
🎭 Async-Native
Built for Python's async/await from the ground up. Includes utilities for retries, timeouts, and concurrent operations.
🖥️ Install
With pip:
pip install haiway
👷 Contributing
As an open-source project in a rapidly evolving field, we welcome all contributions. Whether you can add a new feature, enhance our infrastructure, or improve our documentation, your input is valuable to us.
We welcome any feedback and suggestions! Feel free to open an issue or pull request.
⚖️ License
MIT License
Copyright (c) 2024-2026 Miquido
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Metadata
Release files for haiway 0.55.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| haiway-0.55.0.tar.gz | 179.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| haiway-0.55.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 392.2 kB
Release files / haiway-0.55.0.tar.gz
| Download URL | haiway-0.55.0.tar.gz |
|---|---|
| Size | 179.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
073b5b1478cb5b95523da45e94118a994ce7b353270c2fd8f6ad9c804fa74193
|
|
BLAKE2b-256 checksum How to use checksums |
69bafbb81cbedd79f3fa873313769a718ec033e9f441ecee06470503f109f42a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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 / haiway-0.55.0-py3-none-any.whl
| Download URL | haiway-0.55.0-py3-none-any.whl |
|---|---|
| Size | 213.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef3ad7213b5f463eed14d71cae762c5d3e93b95db283501ae93b3723623e6af5
|
|
BLAKE2b-256 checksum How to use checksums |
e0c6f33b1e5cae7b505feed4baebccbf08299c60078142da685222ca10d32024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
|