Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Public APIs for the core asyncdef components.

Project description

Public APIs for the core asyncdef components.

This package contains the public interface definitions for the core asyncdef components. This package leverages iface for the definitions. Items in this package are intended to be used with isinstance and issubclass for interface comparisons.

from asyncdef.interfaces.engine import iengine

assert isinstance(some_implementation, iengine.IEngine)
assert iface.isinstance(some_implementation, iengine.IEngine)

Interface definitions are placed here to prevent the need for importing the actual implementation code in order to check the interface.


Copyright 2016 Kevin Conway

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Firstly, if you’re putting in a patch then thank you! Here are some tips for getting your patch merged:


As long as the code passes the PEP8 and PyFlakes gates then the style is acceptable.


The PEP257 gate will check that all public methods have docstrings. If you’re adding something new, like a helper function, try out the napoleon style of docstrings.

Project details

Download files

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

Files for asyncdef.interfaces, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size asyncdef.interfaces-0.2.1.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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