Skip to main content

A microframework for network oriented applications

Project description

Build Status Code Coverage 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.

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.9.1.tar.gz (74.7 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.9.1-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asphalt-4.9.1.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for asphalt-4.9.1.tar.gz
Algorithm Hash digest
SHA256 2b56381e0d2e3e39c414496c39ca7f0ff30c0c64360e56086cf0b4584897c711
MD5 6b719680c9a2a550f296c61d20e1187f
BLAKE2b-256 792e0b88ffac2ccc4fcbf6934384ac0b892dff0ddd3546d2ccff8059b4cacf2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asphalt-4.9.1-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for asphalt-4.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8978c3808360cde6585fde0582fcba5598c7b284c2d760cd35b468ca9fb5610
MD5 e46ae43ef063429e3ecd6772955b84ad
BLAKE2b-256 98502e6729be9d32e2fda131ff3f6c7c950d01baeb59d39aecb8463396ac60e5

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