# Python

![Python Code Examples Logo](https://www.programcreek.com/python/includes/images/python-logo.png)

{% embed url="https://www.programcreek.com/python/" %}

## Top Python APIs

This is the index page of the most widely used Python modules. The number in () is the number of projects using that module. The number indicates the popularity of the module. This list is based on statistics of a random set of 40,000 open source projects from 2016. You may use [the search function ![](https://www.programcreek.com/python/includes/images/search.png) ](https://www.programcreek.com/python)to search what you need.

* 1\. [os](https://www.programcreek.com/python/index/1/os)  28679
* 2\. [sys](https://www.programcreek.com/python/index/2/sys)  26398
* 3\. [time](https://www.programcreek.com/python/index/4/time)  17784
* 4\. [re](https://www.programcreek.com/python/index/3/re)  15645
* 5\. [json](https://www.programcreek.com/python/index/37/json)  15400
* 6\. [random](https://www.programcreek.com/python/index/8/random)  11208
* 7\. [numpy](https://www.programcreek.com/python/index/54/numpy)  10875
* 8\. [logging](https://www.programcreek.com/python/index/5/logging)  10831
* 9\. [collections](https://www.programcreek.com/python/index/71/collections)  10006
* 10\. [argparse](https://www.programcreek.com/python/index/115/argparse)  9594
* 11\. [datetime](https://www.programcreek.com/python/index/6/datetime)  9493
* 12\. [subprocess](https://www.programcreek.com/python/index/15/subprocess)  8309
* 13\. [requests](https://www.programcreek.com/python/index/221/requests)  8127
* 14\. [math](https://www.programcreek.com/python/index/12/math)  8021
* 15\. [setuptools](https://www.programcreek.com/python/index/198/setuptools)  6825
* 16\. [unittest](https://www.programcreek.com/python/index/7/unittest)  6321
* 17\. [threading](https://www.programcreek.com/python/index/18/threading)  6030
* 18\. [datetime.datetime](https://www.programcreek.com/python/index/1079/datetime.datetime)  5460
* 19\. [shutil](https://www.programcreek.com/python/index/17/shutil)  5378
* 20\. [copy](https://www.programcreek.com/python/index/21/copy)  5313
* 21\. [itertools](https://www.programcreek.com/python/index/28/itertools)  5278
* 22\. [functools](https://www.programcreek.com/python/index/82/functools)  5189
* 23\. [socket](https://www.programcreek.com/python/index/13/socket)  4670
* 24\. [hashlib](https://www.programcreek.com/python/index/35/hashlib)  4477
* 25\. [os.path](https://www.programcreek.com/python/index/10/os.path)  4446
* 26\. [io](https://www.programcreek.com/python/index/132/io)  4367
* 27\. [tempfile](https://www.programcreek.com/python/index/16/tempfile)  4343
* 28\. [matplotlib.pyplot](https://www.programcreek.com/python/index/2395/matplotlib.pyplot)  4270
* 29\. [string](https://www.programcreek.com/python/index/11/string)  4237
* 30\. [glob](https://www.programcreek.com/python/index/29/glob)  4027
