requests
rbenv
Our great sponsors
requests | rbenv | |
---|---|---|
87 | 68 | |
51,359 | 15,797 | |
0.5% | 0.9% | |
8.4 | 5.6 | |
6 days ago | about 2 months ago | |
Python | Shell | |
Apache License 2.0 | MIT 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.
requests
-
Revived the promise made six years ago for Requests 3
For many years now, Requests has been frozen. Being left in a vegetative state and not evolving, this blocked millions of developers from using more advanced features.
-
Ask HN: Is Python async/await some kind of joke?
- Ubiquitous “requests” library used in most docs examples, no async support https://github.com/psf/requests
-
10 Github repositories to achieve Python mastery
Explore here.
-
urllib3 v2.0.0 is now generally available!
It's Lukasa (his name is Cory, there's Łukasz in PSF though, but that's a different person). Looking at him, he made significant contributions to the requests repo: https://github.com/psf/requests/graphs/contributors
- I built a chatbot that lets you talk to any Github repository
-
I Could Rewrite Curl
> I'd love to see the look on some of these people's faces when they find out that tool/software/whatever they use is actually using libcurl under the hood.
Python dependencies (does not include curl)
https://devguide.python.org/getting-started/setup-building/i...
The "requests" module in Python (does not use curl)
https://github.com/psf/requests
-
Development environment for the Python requests package
This part can be found in the README of the GitHub repository.
-
Trying to install autoscan from https://github.com/NiNiyas/autoscan and stuck with no idea what the problem is.
Looking around for similar errors I found this issue where they recommended trying to use a newer version of the urllib3 library.
-
Pain when going back to other languages
but I appreciate the fact that there is an issue about it, it's acknowledged and .. unfixable, it would now break too many things https://github.com/psf/requests/issues/2002
-
How do you decide when to keep a project in a single python file vs break it up into multiple files?
The requests package has been the golden standard for package structure for as long as I can remember.
rbenv
-
Ask HN: Is anybody getting value from AI Agents? How so?
When I was technical blogging on how to learn from open-source code [1], I used it quite frequently to get unstuck and/or to figure out how to tease apart a large question into multiple smaller functions. For example, I had no idea how to break up this long `sed` command [2] into its constituent parts, so I plugged it into ChatGPT and asked it to break down the code for me. I then Googled the different parts to confirm that ChatGPT wasn't leading me astray.
If I had asked StackOverflow the same question, it would have been quickly closed as being not broadly applicable enough (since this `sed` command is quite specific to its use case). After ChatGPT broke the code apart for me, I was able to ask StackOverflow a series of more discrete, more broadly-applicable questions and get a human answer.
TL;DR- I quite like ChatGPT as a search engine when "you don't know what you don't know", and getting unblocked means being pointed in the right direction.
1. https://www.richie.codes/shell
2. https://github.com/rbenv/rbenv/blob/e8b7a27ee67a5751b899215b...
-
Test Driving a Rails API - Part One
Let’s get started. I prefer to manage my Ruby installations on my development machine with chruby paired with ruby-install. Another outstanding set of tools is rbenv with ruby-build. I highly recommend installing Ruby with one of those two sets of tools. Follow the instructions on their project’s READMEs. For this article, I’ll be running Ruby (MRI) v3.3.0.
-
How To Set Up Your Coding Environment
By setting up your environment in isolation, you can prevent yourself from a lot of issues when experimenting with code. It makes your code behave more predictable due to the defined state of the runtime environment you are working with. This article should provide you with enough information to get started, but obviously, there is a lot more power embedded in NVM, Virtual Environment and RBEnv. So make sure to check their documentation.
-
State of Ruby : What version manager to use
There is this good resource that also talk about different ruby version manager from the Rbenv repository. With some links to benchmarks of ASDF and Rbenv.
-
Ruby version
rbenv (my personal favorite)
-
Problems starting msfdb init
One suggestion would be to setup your install based on a development environment using git and a Ruby version manager like rvm or rbenv to allows you to setup a user controlled gemset and execution path.
-
What's the number one reason that you use a Mac over a PC?
rbenv for Ruby
-
Ruby on Rails en Windows con WSL2
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
-
Issues with Unicode in pry running in Debian-11
On MacOS, I haven't had a problem with character encodings in the terminal in ruby for a while, but used to. When I used to, it had to do with how ruby had been installed, in particular that it needed to be compiled linking against an appropriate readline library. Are you trying to use the ruby that came with debian? You might have more luck installing ruby yourself, and using a ruby version manager. rbenv might be the simplest for you.
-
Is there any reason to use Ruby 2.7 over Ruby 3.x?
For my local machine, I use RVM (head). Other options are rbenv and asdf.
What are some alternatives?
urllib3 - urllib3 is a user-friendly HTTP client library for Python
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
httplib2 - Small, fast HTTP client library for Python. Features persistent connections, cache, and Google App Engine support. Originally written by Joe Gregorio, now supported by community.
RVM - Ruby enVironment Manager (RVM)
grequests - Requests + Gevent = <3
chruby - Changes the current Ruby
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
treq - Python requests like API built on top of Twisted's HTTP client.
ruby-install - Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby
Uplink - A Declarative HTTP Client for Python
ruby-build - A tool to download, compile, and install Ruby on Unix-like systems.