Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
.. image:: https://travis-ci.org/agronholm/pythonfutures.svg?branch=master :target: https://travis-ci.org/agronholm/pythonfutures :alt: Build Status
This is a backport of the concurrent.futures
_ standard library module to Python 2.
It does not work on Python 3 due to Python 2 syntax being used in the codebase. Python 3 users should not attempt to install it, since the package is already included in the standard library.
To conditionally require this library only on Python 2, you can do this in your setup.py
:
.. code-block:: python
setup(
...
extras_require={
':python_version == "2.7"': ['futures']
}
)
Or, using the newer syntax:
.. code-block:: python
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. Please see Issue 29 <https://github.com/agronholm/pythonfutures/issues/29>
_ and upstream bug report <https://bugs.python.org/issue9205>
_ for more details.
.. _concurrent.futures: https://docs.python.org/library/concurrent.futures.html
FAQs
Backport of the concurrent.futures package from Python 3
We found that futures demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.