rust-ape-example
httpx
rust-ape-example | httpx | |
---|---|---|
3 | 54 | |
174 | 12,502 | |
- | 1.8% | |
4.9 | 8.9 | |
7 months ago | 9 days ago | |
Rust | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-ape-example
-
Patching GCC to Build Portable Executables
I did that last year :) https://github.com/ahgamut/rust-ape-example
-
Caddyhttp: Enable HTTP/3 by Default
Uhm you realize Google invented ASAN? It's how they hunt for memory bugs in software like Chrome. If you love Rust, then we're actively working to port Rust to Cosmopolitan. https://github.com/ahgamut/rust-ape-example Rust in practice has `unsafe` code which needs something like ASAN to make it safer. In order to do that, you need a C library that has first-class support for ASAN where it isn't just an afterthought. I believe that in the future, Cosmopolitan Libc is going to help Rust be even more safe going forward.
-
Rust Is Actually Portable
It looks like in the repo he made a bash script (gcc-linker-wrapper.bash) and specified ld.bfd himself for building - not as a direct requirement from rust. see: 1 2
httpx
-
A Retrospective on Requests
For reference, it's a butterfly, not a moth.
Source: https://github.com/encode/httpx/issues/834
-
Show HN: Twitter API Wrapper for Python – No API Keys Needed
Very cool, first I'm hearing of httpx https://www.python-httpx.org/
I think most people would start with trying out requests or something for this kind of work, I'm guessing that didn't work out? You've got a star from me.
-
Harlequin: SQL IDE for Your Terminal
To access 10 different commands at the same time, that is tricky but definitely doable.
First thing that comes to mind, you can use aliases.
To keep it simple, lets use 3 examples instead of 10: harlequin (this project), pgcli (https://www.pgcli.com/) and httpx (https://www.python-httpx.org/)
Setup a main home for all your venvs:
cd ~
-
HTTP Rate Limit
There are already some implementations for Python HTTP clients. One of them is aiometer. But it's not suitable for my use case. Since httpx already has the internal pool, it would be better to reuse the design.
-
Introducing Flama for Robust Machine Learning APIs
Besides, flama also provides support for SQL databases via SQLAlchemy, an SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL. Finally, flama also provides support for HTTP clients to perform requests via httpx, a next generation HTTP client for Python.
-
Embracing Modern Python for Web Development
We can use the async HTTP client provided by httpx, a fully featured HTTP client for Python with an API broadly compatible with requests, so it can be used in pretty much the same way in most cases.
-
Didn't want to click on refresh to see updates, this is what I did!
httpx in place of requests library
-
Python Requests 3
The main value of Requests is that it provided an abstract interface on top of HTTP, which was designed well-enough to become a standard. But today it has fallen way behind in its field, and there are much better alternatives such as HTTPX [0].
[0] https://www.python-httpx.org/
-
Unlocking Performance: A Guide to Async Support in Django
HTTPX is a popular Python library that provides an asynchronous HTTP client, and it can be beneficial for enabling async support in Django. While Django itself does not require HTTPX for async support, using HTTPX in combination with Django's async views can bring several advantages:
-
Show HN: Python package for interfacing with ChatGPT with minimized complexity
The underlying library for both sync and async is httpx (https://www.python-httpx.org/) which may be limited from the HTTP Client perspective but it may be possible to add rate limiting at a Session level.
What are some alternatives?
cosmonim - A Nim template to compile your code with the Cosmopolitan libc
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Niquests - “Safest, Fastest, Easiest, and Most advanced” Python HTTP Client. Production Ready! Drop-in replacement for Requests.
gcc
requests-html - Pythonic HTML Parsing for Humans™
blink - tiniest x86-64-linux emulator
requests - A simple, yet elegant, HTTP library.
superconfigure - wrap autotools configure scripts to build with Cosmopolitan Libc
Flask - The Python micro framework for building web applications.
quic-go - A QUIC implementation in pure Go
starlette - The little ASGI framework that shines. 🌟