asphalt

Asphalt application framework (core)

  • 所有者: asphalt-framework/asphalt
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

.. image:: https://travis-ci.org/asphalt-framework/asphalt.svg?branch=master
:target: https://travis-ci.org/asphalt-framework/asphalt
:alt: Build Status
.. image:: https://coveralls.io/repos/github/asphalt-framework/asphalt/badge.svg?branch=master
:target: https://coveralls.io/github/asphalt-framework/asphalt?branch=master
:alt: Code Coverage
.. image:: https://readthedocs.org/projects/asphalt/badge/?version=latest
:target: https://asphalt.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Asphalt is an asyncio_ based microframework for network oriented applications.

Its highlight features are:

  • An ecosystem of components for integrating functionality from third party libraries and external
    services
  • A configuration system where hard-coded defaults can be selectively overridden by external
    configuration
  • A sophisticated signal system that lets you connect different services to create complex
    event-driven interactions
  • Supports uvloop_ and tokio_ as event loop policy providers (though YMMV with the last one)
  • Elegant handling of blocking APIs through the use of thread pooling
  • Run time type checking for development and testing to fail early when functions are called with
    incompatible arguments (can be disabled with zero overhead for production deployments!)
  • Type hints_ and semantic versioning_ used throughout the core and all component libraries

Asphalt can be used to make any imaginable kind of networked application, ranging from trivial
command line tools to highly complex component hierarchies that start multiple network servers
and/or clients using different protocols.

What really sets Asphalt apart from other frameworks is its resource sharing system – the kind of
functionality usually only found in bulky application server software. Asphalt components publish
their services as resources in a shared context. Components can build on resources provided by
each other, making it possible to create components that offer highly sophisticated functionality
with relatively little effort.

.. _asyncio: https://docs.python.org/3/library/asyncio.html
.. _uvloop: https://github.com/MagicStack/uvloop
.. _tokio: https://github.com/PyO3/tokio
.. _Type hints: https://www.python.org/dev/peps/pep-0484/
.. _semantic versioning: http://semver.org/

主要指标

概览
名称与所有者asphalt-framework/asphalt
主编程语言Python
编程语言Python (语言数: 1)
平台
许可证Apache License 2.0
所有者活动
创建于2015-05-02 20:21:44
推送于2025-06-02 19:33:59
最后一次提交2024-12-30 16:54:16
发布数77
最新版本名称4.6.2 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数259
关注者数14
派生数12
提交数571
已启用问题?
问题数38
打开的问题数9
拉请求数85
打开的拉请求数4
关闭的拉请求数13
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?