Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Project details


Release history Release notifications

This version
History Node

4.4.4

History Node

4.4.3

History Node

4.4.2

History Node

4.4.1

History Node

4.4.0

History Node

4.2.0

History Node

4.1.0

History Node

4.0.0

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

3.0

History Node

2.1.1

History Node

2.1.0

History Node

2.0.0

History Node

1.2.0

History Node

1.1.0

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
asphalt-4.4.4-py3-none-any.whl (26.6 kB) Copy SHA256 hash SHA256 Wheel py3 May 8, 2018
asphalt-4.4.4.tar.gz (62.4 kB) Copy SHA256 hash SHA256 Source None May 8, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page