VOOZH about

URL: https://thenewstack.io/the-top-5-python-packages-and-what-they-do/

⇱ The Top 5 Python Packages and What They Do - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-10-24 05:00:05
The Top 5 Python Packages and What They Do
Programming Languages / Python / Software Development

The Top 5 Python Packages and What They Do

This look at the most downloaded Python packages shows Amazon's dominance in the PyPI ecosystem.
Oct 24th, 2024 5:00am by Jack Wallen
👁 Featued image for: The Top 5 Python Packages and What They Do
Featured image via Unsplash.
Have you ever wondered what the top five Python packages are? If so, you might be surprised as to what you might find. It would be easy to think NumPy or Pandas might land at the top, but that’s not always the case. In fact, as of this writing (according to PyPI stats), NumPy currently sits at number 17, and Pandas is not even in the top 20. Of course, that could change any day, and you could wind up seeing a completely different package on top. Before I get any deeper into this, you might want to know that PyPI is the Python Package Index and serves as a repository for the Python programming language. As of now, there are 578,303 packages that can be installed from the PyPI repository, 6,203,916 releases, 12,339,784 files, and 867,172 users. The packages found within PyPI are installed using Python Package Manager, pip. In other words, if you’ve ever installed a Python package with pip, that package was pulled from PyPI. From PyPI, you’ll find a vast number of packages that do different things, from machine learning to big data, artificial intelligence, and so much more. But what are the top five packages found in PyPI and what do they do? Let’s dive in and take a look.

Boto3

The boto3 (pronounced bo-toh) package is the official Amazon Web Services (AWS) SDK for Python that allows developers to create software that can interact and use services hosted by Amazon, such as Amazon S3, Amazon EC2, and more. Named after the freshwater dolphin that is native to the Amazon River, boto3 is published and maintained by Amazon Web Services. With boto3, you can directly create, update, and delete AWS resources from your Python scripts. Think of boto3 as a bridge between your Python applications and the various AWS services. The benefits of using boto3 include simplified API interactions, comprehensive service coverage, flexibility and extensibility, integration with other Python libraries, and an active community of developers. Boto3 can be installed with pip using the command:
pip install boto3
Once installed, you have to set up the necessary environment variables for authentication, which look something like this:
  • AWS_ACCESS_KEY_ID – the access key ID for the IAM user.
  • AWS_SECRET_ACCESS_KEY – the secret access key corresponding to the access key ID.
Those variables need to be set with the appropriate method for whatever OS you use (such as .bash_profile in Linux).

urllib3

urllib3 is a user-friendly HTTP client for Python that brings several critical features that are missing from the standard libraries. Those features include thread safety, connection pooling, client-side SSL/TLS verification, file uploads (with multipart encoding), helpers for retrying requests and dealing with HTTP redirects, support for gzip, deflate, brotli, and zstd encoding, proxy support for both HTTP and SOCKS, and 100% test coverage. urllib3 can be installed with pip, like so:
python -m pip install urllib3
You’ll then need to use the import urllib3 statement in your Python scripts.

Botocore

Botocore is the low-level interface for an ever-growing number of Amazon Web Services and serves as the foundation for the AWS-CLI (command line interface) tools. Botocore plays a key role in boto3.x and is responsible for providing access to all available services, provides access to all operations within a service, marshals all parameters for a particular operation in the correct format, signs requests with the correct authentication signature and receives the response and returns the date in native Python data structures. This package is primarily data-driven and each service uses a JSON description to specify all operations of the service, all parameters the operation can accept, all documentation related to the service, information about supported AWS regions, and more. You can install botocore with the following commands:

aiobotocore

AWS services claim the top three spots, and the third belongs to aiobotocore, the async client for AWS services using botocore and aiohttp (the async HTTP client/server framework). The currently supported AWS services include S3, DynamoDB, SNS, SQS, CloudFormation, and Kinesis. To this date, only S3 functionality is listed as working, whereas the others are listed as “Basic methods tested.” Think of aiobotocore as the fully featured asynchronous version of botocore. To install aiobotocore, follow these steps: Where XXX is your secret access key and YYY is your default region.

Requests

Requests is a simple HTTP library for Python that allows you to send HTTP/1.1 requests with ease. Using Requests means there’s no need to manually add query strings to URLs or even form-encode your POST data. Features found in requests include keep-alive and connection pooling, international domains and URLs, Sessions with cookie persistence, Browser-style SSL verification, basic/digest authentication, key/value cookies, auto decompression, unicode response bodies, HTTPS proxy support, multipart file uploads, streaming downloads, connection timeouts, chunked requests, and .netrc support. You can install requests with the command:
python -m pip install requests
And there you have it, the top 5 Python packages listed with PyPI. Remember, those could change any day but it’s safe to assume the Amazon AWS packages will remain up top for some time. Keep checking back to the PyPI repository to see what packages have moved in or out of the top 20.
TRENDING STORIES
Jack Wallen is what happens when a Gen Xer mind-melds with present-day snark. Jack is a seeker of truth and a writer of words with a quantum mechanical pencil and a disjointed beat of sound and soul. Although he resides...
Read more from Jack Wallen
SHARE THIS STORY
TRENDING STORIES
AWS is a sponsor of The New Stack.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.