Posts
You will learn how to implement rate limits in your Python asynchronous applications, with an example script that performs 100 calls to the Etherscan API at the same time. You will also learn how to optimise it to speed up the request pace. ✨✨ Tutorial Link ✨✨ Source code and documentation of the open source library credit-rate-limit used in this tutorial. Feel free to share any feedback a...
Python Tutorial: How to rate limit Python async requests
Nov 19, 2024
63 views
You can find the best price/path for your swaps on Uniswap or compatible DEXes while managing your RPC provider rate limit ! This new version allows you to define a rate limit policy for your SmartPath . It uses the async library credit-rate-limit under the hood. Meaning you can manage rate limits for API that use credits, CUPS (computational units per second) or request units, as well as number o...
💫 Uniswap Smart Path v0.3.0 is out! 💫
Nov 02, 2024
68 views
I've just released a new Python open-source library: credit-rate-limit Overview: It's a tool designed to rate limit asynchronous requests to APIs that use a credit system (or computation unit per second (CUPS), request units, or tokens ...). Basically, the API allows you X credits per time unit and each request costs you some credits, depending on the API endpoint you're calling. It also works for...
💫 Introducing an Async Credit Rate Limiter 💫
Oct 29, 2024
58 views