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


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.4.0.tar.gz (62.7 kB view details)

Uploaded Source

Built Distributions

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

asphalt-4.4.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

asphalt-4.4.0-py2-none-any.whl (28.8 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for asphalt-4.4.0.tar.gz
Algorithm Hash digest
SHA256 5237fba3c9cfac9f6a5defdb5e17fe2eab9aff153ea06cfc892f92c9c389654e
MD5 9f9f90e6b2f8cc6f66887aeda57a9d02
BLAKE2b-256 6254155a5087ad8d38cbc1c0ec5ca05877ba3100a20859d86dfdaa3dfeb5e65e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asphalt-4.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53ec4fbd1aeba33527871a17a71494ccbdba3a175c7ee85ebc0dc9fa52789155
MD5 e9bba7f2d47e1bdbfdd4547af079399e
BLAKE2b-256 5784fe1ac41dbae843007835bcd52b224a25454ee0581cdada7ad290dad037f3

See more details on using hashes here.

File details

Details for the file asphalt-4.4.0-py2-none-any.whl.

File metadata

File hashes

Hashes for asphalt-4.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 a616bba3bb93c4bc1a933841f124d82e39d14a348489dc5347c6ddd3406c519f
MD5 045f3d5242841f8d41913d5c9044b0a4
BLAKE2b-256 880e6164d49e5fb9d94f1503148b91d44c076224be9f9af230c19cabd5b3c26e

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