1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
Introduction
Fido is a simple, asynchronous HTTP client built on top of Crochet, Twisted and concurrent.futures. 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('http://www.foo.bar')
# Work happens in a background thread...
response = future.wait(timeout=2)
print response.body
Frequently Asked Questions
Do you support SSL?
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 SSL work.
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.
Installation
Fido can be installed using pip install, like so:
$ pip install --upgrade fido
License
Copyright (c) 2015, Yelp, Inc. All rights reserved. Apache v2
Metadata
Release files for fido 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fido-1.0.0.tar.gz | 3.8 kB | Details |
Release files / fido-1.0.0.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | fido-1.0.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2e0abbc56b4af00c19be4d2665ea9975624a893a3e9b23bc347e053f4cfaf16
|
|
BLAKE2b-256 checksum How to use checksums |
23aebb08544430fd8c5fc4b585d1d7990f7d411247f24f7cd940003cc9233658
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |