Skip to main content

A microframework for network oriented applications

Project description

Build Status Code Coverage

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, tokio and aiogevent as event loop policy providers (though YMMV with the last two)

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asphalt-4.1.0.tar.gz (61.2 kB view details)

Uploaded Source

Built Distribution

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

asphalt-4.1.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file asphalt-4.1.0.tar.gz.

File metadata

  • Download URL: asphalt-4.1.0.tar.gz
  • Upload date:
  • Size: 61.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for asphalt-4.1.0.tar.gz
Algorithm Hash digest
SHA256 fe975ee77462a5d6614cceb6f32fe80830c4e0c717861770e4019c81bc271d96
MD5 5792c9afe72e5e8ca62f0679d965dc74
BLAKE2b-256 d205eced62a726f218b66ec98c4a67118ef27f692211219249c4208a420df9d7

See more details on using hashes here.

File details

Details for the file asphalt-4.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for asphalt-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c53cee8b4c0469bfb8568818c91a9a0fa5b586429b7def99c6222db70840296e
MD5 d89ebd0fdf165807b4bca96e48dde573
BLAKE2b-256 69b91a894354aef5d2b30715a5acdcd239e70820522d474ed9ef25dd7a46fd5d

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