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 and aiogevent as event loop policy providers (though YMMV with the latter 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


Download files

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

Source Distribution

asphalt-3.0.1.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

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

asphalt-3.0.1-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for asphalt-3.0.1.tar.gz
Algorithm Hash digest
SHA256 f03e1dce05fbdd8db970eb7e7fe45a0865e5c257d2305e54f04af23f771857cb
MD5 08a7d007bc999b572a448cf7300adaa2
BLAKE2b-256 bc23e07d8aed52b02c93302472c16a1225b2d358a9d275b5a3551577e5a26cca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asphalt-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1442840e2c383d84b04c372086455d43bbe443307a4da5abe6c3fbc0af281d49
MD5 9346ba69a1159b0929faea9db0ec4604
BLAKE2b-256 0f277745e0d4616794c6311e1d43ab0a083a6d0f78087054228ef83eb446ac9a

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