r/ruby • u/Much-Stable-449 • Oct 06 '26
I built a Python requests-inspired HTTP client for Ruby
I’ve been working on a Ruby project called
requests_ruby.The idea is simple: bring a Python
requests-like experience to Ruby.If you’ve used Python before, the API should feel familiar. It supports sessions, cookies, redirects, authentication, JSON responses, streaming downloads, and HTTP/2 — all without external dependencies.
I built it because I liked how simple Python requests feels and wanted something similar in Ruby.
A few parts were developed with AI assistance to speed up the process, but I’ve been reviewing, testing and improving the code myself.
I’d love to hear feedback from the Ruby community. What would you improve or add?
If you find it interesting, a ⭐ on GitHub would help the project get more visibility.
9
u/RillonDodgers Oct 06 '26
Not trying to knock the project, but what does this offer over HTTParty?
3
u/mokolabs Oct 07 '26
Yeah, this is cool. I have no experience with Python requests, but this is a nice pattern to emulate in Ruby. Good work!
5
u/mace_endar Oct 07 '26
Should have written that one in Rust.
1
u/[deleted] Oct 09 '26
[removed] — view removed comment