
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
asyncache
Advanced tools
asyncache #########
Helpers to use cachetools with asyncio.
.. image:: https://img.shields.io/pypi/v/asyncache :target: https://pypi.org/project/asyncache/ :alt: Latest PyPI version
.. image:: https://travis-ci.org/hephex/asyncache.svg?branch=master :target: https://travis-ci.org/hephex/asyncache
.. image:: https://coveralls.io/repos/github/hephex/asyncache/badge.svg?branch=master :target: https://coveralls.io/github/hephex/asyncache?branch=master
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black
asyncache is available from PyPI_ and can be installed by running::
pip install asyncache
.. code-block:: python
from asyncache import cached
from cachetools import TTLCache
pool = ...
@cached(TTLCache(1024, 60))
async def get_username(user_id):
rec = await pool.fetchrow(
"""
SELECT
username
FROM
users
WHERE
id = $1
""",
user_id,
)
return rec and rec["username"]
This project is licensed under the MIT License - see the LICENSE_ file for details.
cachetools_.. _LICENSE: LICENSE .. _cachetools: https://github.com/tkem/cachetools .. _PyPI: https://pypi.org/project/asyncache/
FAQs
Helpers to use cachetools with async code.
We found that asyncache demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.