Skip to main content

Framework for dependency injection and state management within structured concurrency model.

Project description

🚗 haiway 🚕 🚚 🚙

Python Version License CodeRabbit Pull Request Reviews

haiway is a framework designed to facilitate the development of applications using the functional programming paradigm combined with structured concurrency concepts. Unlike traditional object-oriented frameworks, haiway emphasizes immutability, pure functions, and context-based state management, enabling developers to build scalable and maintainable applications. By leveraging context managers combined with context vars, haiway ensures safe state propagation in concurrent environments and simplifies dependency injection through function implementation propagation.

🖥️ 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-2025 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.

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

haiway-0.21.0.tar.gz (122.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

haiway-0.21.0-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

Details for the file haiway-0.21.0.tar.gz.

File metadata

  • Download URL: haiway-0.21.0.tar.gz
  • Upload date:
  • Size: 122.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.6

File hashes

Hashes for haiway-0.21.0.tar.gz
Algorithm Hash digest
SHA256 281d35832fe8666f6e0d39335895736bb2670ab1ed0fd1bc8d87c88470a9a958
MD5 77b8d788fccddf6b743225db61c03d70
BLAKE2b-256 7b69710844a1cc6e6a6c83b1515913cc72627862fc1f21a645b832acd044e806

See more details on using hashes here.

File details

Details for the file haiway-0.21.0-py3-none-any.whl.

File metadata

  • Download URL: haiway-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.6

File hashes

Hashes for haiway-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4667dcbb1675c340a0b52282eda721b703ff3914ea7f9cbd37984aaecc0bbceb
MD5 9406188460df795a75a91e1294744190
BLAKE2b-256 8d85d14f9817a339b88be8e3d3791003c57b16f3c3ffd7ef05c3a8201550070f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page