Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Intelligent asynchronous HTTP client

Project Description


Fido is a simple, asynchronous HTTP client built on top of Crochet and Twisted with an implementation inspired by the book “Twisted Network Programming Essentials”. It is intended to be used in environments where there is no event loop, and where you cannot afford to spin up lots of threads (otherwise you could just use a ThreadPoolExecutor).

Here is an example of using Fido:

future = fido.fetch('')
# Work happens in a background thread...
response = future.wait(timeout=2)

Frequently Asked Questions

Do you support TLS?

Yes, although this has not been vetted by security professionals. One should use this functionality at their own risk. In more detail: Fido uses the Twisted defaults, which delegate to pyOpenSSL and service_identity for the actual TLS work.

Note that to get this you need to install the tls extra:

$ pip install --upgrade fido[tls]

Is the API stable?

Probably not. However, it is currently very simple, so it shouldn’t be hard to upgrade code if there’s a non backwards-compatible change.

Do I need to initialize Crochet?

No, crochet.setup is automatically invoked by fido.fetch.

How do I use an http_proxy?

Just set the http_proxy (all lowercase) environment variable to the URL of the http proxy before starting your python process.


$ export http_proxy="http://localhost:8000"
$ python -c 'import fido; print(fido.fetch("").wait().body)'


Fido can be installed using pip install, like so:

$ pip install --upgrade fido

If you want TLS capabilities:

$ pip install --upgrade fido[tls]


Copyright (c) 2015, Yelp, Inc. All rights reserved. Apache v2

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fido-4.2.0.tar.gz (7.2 kB) Copy SHA256 Checksum SHA256 Source Jun 21, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting