Clicky

futures

Backport of the concurrent.futures package from Python 3

futures has 10229069 downloads during the past 30 days.

Downloads By Date

                SELECT
    COUNT(*) AS downloads,
    FORMAT_TIMESTAMP("%Y-%m-%d", timestamp) AS date_str
FROM
    `the-psf.pypi.downloads*`
WHERE
    _TABLE_SUFFIX BETWEEN '20170130' AND '20180815' AND
    file.project = 'futures'
GROUP BY
    date_str
ORDER BY
    date_str
            

Total Downloads

                SELECT
    COUNT(*) AS total_downloads 
FROM
    `the-psf.pypi.downloads*`
WHERE
    _TABLE_SUFFIX BETWEEN '20170130' AND '20180815' AND
    file.project = 'futures'
            
Build Status

This is a backport of the concurrent.futures standard library module to Python 2.

It should not be installed on Python 3, although there should be no harm in doing so, as the standard library takes precedence over third party libraries.

To conditionally require this library only on Python 2, you can do this in your setup.py:

setup(
    ...
    extras_require={
        ':python_version == "2.7"': ['futures']
    }
)

Or, using the newer syntax:

setup(
    ...
    install_requires={
        'futures; python_version == "2.7"'
    }
)

Warning

The ProcessPoolExecutor class has known (unfixable) problems on Python 2 and should not be relied on for mission critical work.

Image link:
https://pypistats.com/badge/futures.png
Markdown:
![futures PyPI Downloads](https://pypistats.com/badge/futures.png)
reStructuredText
.. figure:: https://pypistats.com/badge/futures.png
:alt: futures PyPI Downloads

futures PyPI Downloads