Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Top 600 Python Modules Surveyed
- '''
- This is the index of the most widely used Python modules. The number below each API is of the projects using that module. The index number indicates the popularity of the module. This list is based on statistics of a random set of 40,000 open source projects posted in Github from 2016.
- 1. os
- 28679
- 2. sys
- 26398
- 3. time
- 17784
- 4. re
- 15645
- 5. json
- 15400
- 6. random
- 11208
- 7. numpy
- 10875
- 8. logging
- 10831
- 9. collections
- 10006
- 10. argparse
- 9594
- 11. datetime
- 9493
- 12. subprocess
- 8309
- 13. requests
- 8127
- 14. math
- 8021
- 15. setuptools
- 6825
- 16. unittest
- 6321
- 17. threading
- 6030
- 18. datetime.datetime
- 5460
- 19. shutil
- 5378
- 20. copy
- 5313
- 21. itertools
- 5278
- 22. functools
- 5189
- 23. socket
- 4670
- 24. hashlib
- 4477
- 25. os.path
- 4446
- 26. io
- 4367
- 27. tempfile
- 4343
- 28. matplotlib.pyplot
- 4270
- 29. string
- 4237
- 30. glob
- 4027
- 31. traceback
- 3983
- 32. urllib
- 3941
- 33. base64
- 3877
- 34. pickle
- 3640
- 35. codecs
- 3608
- 36. struct
- 3495
- 37. pytest
- 3470
- 38. csv
- 3432
- 39. uuid
- 3428
- 40. operator
- 3172
- 41. inspect
- 3137
- 42. pandas
- 2971
- 43. flask
- 2951
- 44. warnings
- 2819
- 45. multiprocessing
- 2716
- 46. urllib2
- 2709
- 47. tensorflow
- 2703
- 48. yaml
- 2579
- 49. PIL.Image
- 2531
- 50. signal
- 2473
- 51. six
- 2404
- 52. django.conf.urls
- 2352
- 53. platform
- 2341
- 54. django.db.models
- 2305
- 55. django.core.wsgi
- 2221
- 56. urllib.parse
- 2176
- 57. bs4
- 2176
- 58. errno
- 2122
- 59. urlparse
- 2010
- 60. types
- 1987
- 61. pprint
- 1979
- 62. django.conf.settings
- 1947
- 63. django.apps
- 1924
- 64. flask.request
- 1852
- 65. cv2
- 1847
- 66. zipfile
- 1845
- 67. django.contrib
- 1837
- 68. mock
- 1819
- 69. django.db.migrations
- 1814
- 70. gzip
- 1800
- 71. StringIO
- 1771
- 72. cPickle
- 1741
- 73. binascii
- 1729
- 74. ConfigParser
- 1726
- 75. getpass
- 1699
- 76. configparser
- 1614
- 77. django.shortcuts
- 1612
- 78. pkg_resources
- 1579
- 79. contextlib
- 1577
- 80. importlib
- 1553
- 81. optparse
- 1540
- 82. sqlite3
- 1537
- 83. django
- 1530
- 84. django.http
- 1513
- 85. ctypes
- 1493
- 86. textwrap
- 1485
- 87. abc
- 1478
- 88. shlex
- 1466
- 89. urllib.request
- 1462
- 90. matplotlib
- 1462
- 91. setuptools.setup
- 1450
- 92. Queue
- 1438
- 93. utils
- 1432
- 94. xml.etree.ElementTree
- 1340
- 95. enum
- 1339
- 96. ast
- 1296
- 97. queue
- 1283
- 98. ssl
- 1256
- 99. config
- 1253
- 100. django.forms
- 1204
- 101. keras.models
- 1195
- 102. imp
- 1193
- 103. tarfile
- 1182
- 104. click
- 1179
- 105. asyncio
- 1170
- 106. select
- 1165
- 107. jinja2
- 1138
- 108. django.contrib.admin
- 1134
- 109. zlib
- 1130
- 110. atexit
- 1120
- 111. sklearn.metrics
- 1090
- 112. sqlalchemy
- 1088
- 113. django.test
- 1080
- 114. fnmatch
- 1034
- 115. getopt
- 1025
- 116. stat
- 1008
- 117. unittest.mock
- 989
- 118. calendar
- 973
- 119. decimal
- 964
- 120. unicodedata
- 961
- 121. keras.layers
- 949
- 122. sphinx_rtd_theme
- 938
- 123. redis
- 937
- 124. hmac
- 936
- 125. mimetypes
- 919
- 126. httplib
- 910
- 127. cStringIO
- 907
- 128. django.contrib.auth.models
- 904
- 129. django.core.urlresolvers
- 881
- 130. django.utils.timezone
- 878
- 131. lxml.etree
- 873
- 132. smtplib
- 859
- 133. fcntl
- 859
- 134. pkgutil
- 848
- 135. builtins
- 848
- 136. pytz
- 845
- 137. webbrowser
- 844
- 138. boto3
- 838
- 139. django.core.exceptions
- 834
- 140. pymongo
- 814
- 141. cgi
- 798
- 142. django.template
- 796
- 143. pdb
- 794
- 144. gc
- 789
- 145. tqdm
- 780
- 146. array
- 777
- 147. locale
- 768
- 148. typing
- 764
- 149. sklearn.preprocessing
- 762
- 150. simplejson
- 738
- 151. django.contrib.auth
- 720
- 152. weakref
- 704
- 153. django.views.generic
- 699
- 154. selenium.webdriver
- 694
- 155. sqlalchemy.orm
- 688
- 156. pathlib
- 680
- 157. scipy
- 678
- 158. doctest
- 671
- 159. numbers
- 666
- 160. bisect
- 660
- 161. difflib
- 653
- 162. datetime.date
- 641
- 163. scipy.stats
- 639
- 164. theano
- 631
- 165. h5py
- 610
- 166. sklearn.svm
- 604
- 167. six.moves
- 602
- 168. psutil
- 598
- 169. sqlalchemy.ext.declarative
- 590
- 170. sklearn.linear_model
- 589
- 171. distutils.core
- 589
- 172. django.conf
- 588
- 173. keras.optimizers
- 586
- 174. rest_framework.serializers
- 581
- 175. django.core.management.base
- 578
- 176. model
- 577
- 177. nltk
- 575
- 178. cookielib
- 569
- 179. heapq
- 565
- 180. pygame
- 562
- 181. util
- 561
- 182. pwd
- 561
- 183. sklearn.model_selection
- 556
- 184. theano.tensor
- 543
- 185. django.conf.urls.static
- 535
- 186. thread
- 534
- 187. models
- 525
- 188. email.mime.text
- 523
- 189. torch
- 514
- 190. sklearn.cross_validation
- 510
- 191. timeit
- 509
- 192. xml.dom.minidom
- 502
- 193. __builtin__
- 502
- 194. PIL.ImageDraw
- 499
- 195. concurrent.futures
- 496
- 196. sklearn.ensemble
- 496
- 197. flask_sqlalchemy
- 490
- 198. django.template.loader
- 488
- 199. pip
- 480
- 200. psycopg2
- 480
- 201. scipy.misc
- 479
- 202. MySQLdb
- 478
- 203. scrapy
- 477
- 204. termios
- 473
- 205. distutils.version
- 470
- 206. networkx
- 468
- 207. serial
- 455
- 208. ipaddress
- 454
- 209. celery
- 453
- 210. posixpath
- 451
- 211. torch.nn
- 451
- 212. chardet
- 450
- 213. urllib3
- 449
- 214. torch.autograd
- 448
- 215. django.db
- 446
- 216. scipy.optimize
- 441
- 217. cProfile
- 441
- 218. scipy.sparse
- 440
- 219. numpy.random
- 438
- 220. keras.callbacks
- 438
- 221. dateutil.parser
- 427
- 222. requests.exceptions
- 426
- 223. aiohttp
- 424
- 224. seaborn
- 421
- 225. __future__
- 418
- 226. rest_framework.response
- 417
- 227. keras.layers.core
- 416
- 228. django.dispatch
- 411
- 229. urllib.error
- 411
- 230. SocketServer
- 411
- 231. email
- 409
- 232. Crypto.Cipher.AES
- 408
- 233. settings
- 403
- 234. django.urls
- 396
- 235. bz2
- 395
- 236. itertools.chain
- 394
- 237. email.utils
- 394
- 238. flask.current_app
- 389
- 239. django.contrib.messages
- 384
- 240. paramiko
- 380
- 241. http.client
- 378
- 242. django.db.transaction
- 377
- 243. pylab
- 374
- 244. django.utils.encoding
- 374
- 245. pip.req
- 373
- 246. HTMLParser
- 369
- 247. caffe
- 363
- 248. sklearn.decomposition
- 362
- 249. RPi.GPIO
- 360
- 250. commands
- 358
- 251. tkinter
- 358
- 252. cryptography.hazmat.backends
- 358
- 253. readline
- 358
- 254. sklearn.datasets
- 357
- 255. grp
- 353
- 256. logging.handlers
- 351
- 257. scipy.io
- 349
- 258. lxml.html
- 346
- 259. sklearn.cluster
- 342
- 260. certifi
- 342
- 261. pypandoc
- 342
- 262. pymysql
- 341
- 263. PyQt5.QtCore
- 339
- 264. matplotlib.patches
- 339
- 265. twisted.internet.reactor
- 339
- 266. pstats
- 337
- 267. BaseHTTPServer
- 337
- 268. PyQt5.QtWidgets
- 337
- 269. httplib2
- 335
- 270. PyQt4.QtGui
- 334
- 271. django.utils.safestring
- 334
- 272. dummy_threading
- 332
- 273. distutils.core.setup
- 328
- 274. plistlib
- 328
- 275. ctypes.wintypes
- 328
- 276. msvcrt
- 327
- 277. gevent
- 327
- 278. code
- 326
- 279. scipy.interpolate
- 324
- 280. _thread
- 323
- 281. django.contrib.auth.decorators
- 323
- 282. marshal
- 322
- 283. wtforms
- 320
- 284. rest_framework.viewsets
- 320
- 285. xml.sax.saxutils
- 317
- 286. _winreg
- 316
- 287. Tkinter
- 316
- 288. docopt
- 316
- 289. md5
- 315
- 290. torch.nn.functional
- 315
- 291. PyQt4.QtCore
- 315
- 292. rest_framework.routers
- 315
- 293. sklearn.neighbors
- 314
- 294. sklearn.feature_extraction.text
- 313
- 295. wtforms.validators
- 313
- 296. xmlrpclib
- 311
- 297. PIL.ImageFont
- 311
- 298. socketserver
- 311
- 299. keras.utils.np_utils
- 310
- 300. tokenize
- 310
- 301. site
- 309
- 302. email.mime.multipart
- 308
- 303. pydoc
- 308
- 304. django.utils.html
- 307
- 305. rest_framework.status
- 307
- 306. fileinput
- 306
- 307. threading.Thread
- 304
- 308. linecache
- 304
- 309. django.db.models.signals
- 303
- 310. distutils.log
- 302
- 311. __main__
- 300
- 312. rest_framework.permissions
- 300
- 313. six.moves.urllib.parse
- 299
- 314. distutils.util
- 298
- 315. mock.patch
- 298
- 316. jsonschema
- 297
- 317. scipy.ndimage
- 296
- 318. app
- 296
- 319. django.core.paginator
- 294
- 320. ntpath
- 293
- 321. gettext
- 293
- 322. tensorflow.examples.tutorials.mnist.input_data
- 293
- 323. html
- 292
- 324. gym
- 292
- 325. xml.etree.cElementTree
- 292
- 326. keras
- 291
- 327. tweepy
- 290
- 328. netrc
- 289
- 329. scipy.signal
- 289
- 330. PyQt5.QtGui
- 289
- 331. torch.optim
- 288
- 332. matplotlib.cm
- 288
- 333. django.test.utils
- 287
- 334. sqlalchemy.exc
- 286
- 335. django.core.validators
- 286
- 336. socks
- 286
- 337. _abcoll
- 282
- 338. google.appengine.api.urlfetch
- 280
- 339. django.core.mail
- 277
- 340. scipy.linalg
- 276
- 341. flask.g
- 275
- 342. tabulate
- 274
- 343. sqlalchemy.pool
- 273
- 344. click.testing
- 273
- 345. sklearn.externals.joblib
- 271
- 346. scipy.spatial.distance
- 271
- 347. colorama
- 271
- 348. win32api
- 270
- 349. numpy.linalg
- 269
- 350. cryptography.hazmat.primitives.serialization
- 269
- 351. common
- 268
- 352. chardet.universaldetector
- 267
- 353. django.utils.six
- 267
- 354. flask.session
- 266
- 355. collections.MutableMapping
- 264
- 356. backports.ssl_match_hostname
- 263
- 357. distutils.spawn
- 260
- 358. nltk.tokenize
- 259
- 359. data
- 259
- 360. resource
- 257
- 361. alembic.context
- 257
- 362. django.utils.decorators
- 254
- 363. elasticsearch
- 254
- 364. Cython.Build
- 253
- 365. keras.layers.convolutional
- 252
- 366. ntlm.ntlm
- 252
- 367. curses
- 252
- 368. django.contrib.auth.forms
- 251
- 369. jieba
- 250
- 370. distutils.sysconfig
- 250
- 371. dj_database_url
- 249
- 372. django.apps.apps
- 249
- 373. django.utils.translation
- 248
- 374. Image
- 248
- 375. htmlentitydefs
- 247
- 376. scipy.special
- 246
- 377. requests.auth
- 246
- 378. flask_script
- 245
- 379. html.parser
- 244
- 380. selenium.webdriver.common.by.By
- 244
- 381. netaddr
- 241
- 382. PIL
- 239
- 383. shelve
- 239
- 384. keras.backend
- 239
- 385. bpy
- 238
- 386. termcolor
- 237
- 387. pyasn1.type.constraint
- 237
- 388. unittest2
- 235
- 389. encodings
- 235
- 390. alembic.op
- 234
- 391. OpenSSL.crypto
- 233
- 392. urllib3.util.ssl_
- 232
- 393. nose
- 232
- 394. rest_framework.test
- 232
- 395. wave
- 231
- 396. discord
- 230
- 397. flask_wtf
- 230
- 398. cryptography.hazmat.primitives.asymmetric.padding
- 229
- 399. tensorflow.python.framework.ops
- 228
- 400. selenium.common.exceptions
- 228
- 401. rest_framework.views
- 227
- 402. nltk.corpus.stopwords
- 226
- 403. pyparsing
- 225
- 404. statistics
- 223
- 405. django.utils.text
- 223
- 406. sklearn.tree
- 222
- 407. UserDict
- 222
- 408. keras.regularizers
- 222
- 409. matplotlib.colors
- 221
- 410. markdown
- 221
- 411. xlrd
- 221
- 412. sysconfig
- 220
- 413. aiohttp.web
- 220
- 414. matplotlib.ticker
- 219
- 415. email.parser
- 219
- 416. scrapy.signals
- 218
- 417. werkzeug.security
- 216
- 418. colorama.Fore
- 216
- 419. sklearn.base
- 216
- 420. ftplib
- 216
- 421. sklearn.naive_bayes
- 215
- 422. sklearn.utils
- 215
- 423. prettytable
- 214
- 424. docker
- 213
- 425. fractions
- 213
- 426. ujson
- 213
- 427. keras.preprocessing.image
- 211
- 428. progressbar
- 211
- 429. six.moves.configparser
- 211
- 430. ndg.httpsclient.ssl_peer_verification
- 210
- 431. email.header
- 210
- 432. flask_login
- 210
- 433. ordereddict
- 209
- 434. exceptions
- 209
- 435. flask_restful
- 209
- 436. html5lib
- 208
- 437. werkzeug.exceptions
- 208
- 438. colorsys
- 207
- 439. winreg
- 207
- 440. wsgiref.simple_server
- 207
- 441. app.app
- 207
- 442. tty
- 206
- 443. ctypes.util
- 205
- 444. os.environ
- 205
- 445. flask_migrate
- 205
- 446. rest_framework.decorators
- 203
- 447. dis
- 203
- 448. git
- 202
- 449. distutils
- 202
- 450. factory
- 202
- 451. mmap
- 202
- 452. sqlalchemy.func
- 202
- 453. joblib
- 201
- 454. eventlet
- 200
- 455. pip.req.InstallRequirement
- 200
- 456. django.core.management
- 200
- 457. sklearn.pipeline
- 199
- 458. boto
- 199
- 459. distutils.errors
- 199
- 460. gi
- 199
- 461. werkzeug.utils
- 199
- 462. botocore.exceptions
- 198
- 463. http.server
- 198
- 464. botocore
- 198
- 465. skimage.io
- 197
- 466. chainer
- 197
- 467. keyword
- 196
- 468. versioneer
- 194
- 469. sets
- 194
- 470. dateutil.relativedelta
- 192
- 471. filecmp
- 192
- 472. rest_framework.generics
- 192
- 473. django.views.generic.TemplateView
- 191
- 474. base
- 191
- 475. keras.layers.normalization
- 190
- 476. multiprocessing.pool
- 188
- 477. lasagne
- 188
- 478. torchvision.transforms
- 188
- 479. wheel
- 187
- 480. pygments
- 186
- 481. gevent.monkey
- 186
- 482. py_compile
- 186
- 483. gi.repository.Gtk
- 186
- 484. bottle
- 183
- 485. twisted.internet.protocol
- 183
- 486. pipes
- 183
- 487. constants
- 183
- 488. keras.layers.recurrent
- 182
- 489. torch.utils.data
- 182
- 490. django.contrib.auth.views
- 182
- 491. werkzeug
- 181
- 492. selenium.webdriver.support.ui
- 180
- 493. rospy
- 180
- 494. debug_toolbar
- 180
- 495. email.message
- 179
- 496. netifaces
- 179
- 497. skimage.transform
- 179
- 498. dateutil.tz
- 179
- 499. sublime_plugin
- 179
- 500. django.views.generic.edit
- 178
- 501. Crypto.PublicKey.RSA
- 178
- 502. django.contrib.auth.mixins
- 177
- 503. twisted.internet.defer
- 177
- 504. xgboost
- 177
- 505. watchdog.events
- 177
- 506. xml.dom.Node
- 177
- 507. nose.tools
- 177
- 508. sublime
- 177
- 509. django.views.decorators.csrf
- 176
- 510. distutils.dir_util
- 176
- 511. tornado.web
- 176
- 512. parser
- 176
- 513. zmq
- 176
- 514. requests.packages.urllib3.exceptions
- 175
- 515. pip.download
- 175
- 516. sklearn
- 174
- 517. memcache
- 173
- 518. django.utils.http
- 172
- 519. django.views.generic.base
- 172
- 520. zipimport
- 172
- 521. matplotlib.gridspec
- 171
- 522. django.core.cache.cache
- 171
- 523. tornado.ioloop.IOLoop
- 171
- 524. django.http.response
- 171
- 525. cmd
- 170
- 526. scrapy.http
- 170
- 527. xmltodict
- 169
- 528. IPython
- 169
- 529. sre_constants
- 169
- 530. flask.json
- 169
- 531. win32con
- 169
- 532. keyring
- 167
- 533. keras.preprocessing.sequence
- 167
- 534. oauth2client.client
- 166
- 535. gensim
- 165
- 536. sha
- 165
- 537. feedparser
- 165
- 538. tensorflow.contrib.slim
- 165
- 539. django.template.defaultfilters
- 165
- 540. docutils.nodes
- 163
- 541. websocket
- 163
- 542. django.forms.widgets
- 162
- 543. distutils.ccompiler
- 162
- 544. selenium.webdriver.common.keys.Keys
- 162
- 545. collections.abc
- 161
- 546. pygments.lexers
- 161
- 547. unidecode
- 161
- 548. django.forms.models
- 160
- 549. matplotlib.animation
- 160
- 550. pyaudio
- 159
- 551. chainer.functions
- 159
- 552. django.db.connection
- 159
- 553. setuptools.command.easy_install
- 158
- 554. pexpect
- 158
- 555. app.db
- 158
- 556. responses
- 158
- 557. rest_framework.exceptions
- 157
- 558. jwt
- 157
- 559. distutils.dist
- 157
- 560. pika
- 156
- 561. http.cookiejar
- 156
- 562. sitecustomize
- 156
- 563. tensorflow.python.ops.control_flow_ops
- 155
- 564. tkMessageBox
- 155
- 565. UserDict.DictMixin
- 155
- 566. tornado.gen
- 155
- 567. collections.OrderedDict
- 155
- 568. tensorflow.python.platform.gfile
- 155
- 569. django.utils.crypto
- 154
- 570. sklearn.manifold
- 154
- 571. dataset
- 154
- 572. setuptools.extension
- 153
- 573. pyspark
- 153
- 574. xml.sax.xmlreader
- 152
- 575. whitenoise.django
- 152
- 576. OpenSSL.SSL
- 151
- 577. openpyxl
- 151
- 578. unittest.mock.patch
- 151
- 579. sklearn.grid_search
- 150
- 580. arrow
- 150
- 581. wx
- 149
- 582. types.ModuleType
- 149
- 583. tornado.options.options
- 149
- 584. django.contrib.auth.models.User
- 149
- 585. flask_login.current_user
- 148
- 586. logging.config
- 148
- 587. sys.stdout
- 147
- 588. distutils.extension
- 147
- 589. PyQt5.QtCore.Qt
- 147
- 590. tkFileDialog
- 147
- 591. xml.dom
- 147
- 592. profile
- 146
- 593. requests_mock
- 146
- 594. msgpack
- 146
- 595. scipy.stats.norm
- 146
- 596. compileall
- 146
- 597. distutils.command.install
- 145
- 598. magic
- 145
- 599. UserList
- 145
- 600. tensorflow.contrib.layers
- 144
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement