all AI news
aiolimiter
Feb. 20, 2024, 1:15 a.m. |
Simon Willison's Weblog simonwillison.net
I found myself wanting an asyncio rate limiter for Python today - so I could send POSTs to an API endpoint no more than once every 10 seconds. This library worked out really well - it has a very neat design and lets you set up rate limits for things like "no more than 50 items every 10 seconds", implemented using the leaky bucket algorithm.
api async asyncio design every found library python rate set
More from simonwillison.net / Simon Willison's Weblog
uv pip install --exclude-newer example
1 day, 1 hour ago |
simonwillison.net
Quoting Nathaniel Borenstein
2 days, 22 hours ago |
simonwillison.net
Modern SQLite: Generated columns
3 days, 1 hour ago |
simonwillison.net
Jobs in AI, ML, Big Data
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US
Research Engineer
@ Allora Labs | Remote
Ecosystem Manager
@ Allora Labs | Remote
Founding AI Engineer, Agents
@ Occam AI | New York