http://blog.csdn.net/xiaoranlr/article/details/47100207
通过分析github上5000个开源python项目,找出最常用的库。下面是前670个。括号里的数字代表出现的频率,最大为5000。
1. os (2810)
2. sys (2563)
3. re (1986)
4. time (1478)
5. logging (1080)
6. datetime (1032)
7. unittest (960)
8. random (891)
9. urllib (776)
10. os.path (723)
11. string (659)
12. math (560)
13. socket (556)
14. types (548)
15. subprocess (529)
16. tempfile (492)
17. shutil (484)
18. threading (475)
19. traceback (473)
20. urllib2 (472)
21. copy (455)
22. cgi (425)
23. struct (420)
24. warnings (412)
25. base64 (398)
26. urlparse (377)
27. codecs (365)
28. itertools (328)
29. glob (322)
30. inspect (310)
31. operator (309)
32. StringIO (304)
33. errno (302)
34. optparse (298)
35. hashlib (288)
36. httplib (271)
37. json (269)
38. pickle (251)
39. signal (248)
40. getopt (236)
41. csv (218)
42. mimetypes (205)
43. ConfigParser (202)
44. settings (198)
45. simplejson (197)
46. gtk (188)
47. imp (183)
48. pprint (178)
49. zipfile (174)
50. textwrap (170)
51. hmac (168)
52. uuid (167)
53. stat (166)
54. numpy (165)
55. weakref (164)
56. fnmatch (163)
57. locale (158)
58. binascii (157)
59. calendar (156)
60. cStringIO (154)
61. django (153)
62. md5 (152)
63. getpass (151)
64. thread (151)
65. select (147)
66. Queue (143)
67. platform (138)
68. gobject (133)
69. gzip (133)
70. config (130)
71. collections (130)
72. doctest (127)
73. utils (124)
74. smtplib (124)
75. __builtin__ (123)
76. cPickle (123)
77. commands (121)
78. yaml (118)
79. xmlrpclib (117)
80. atexit (114)
81. zlib (111)
82. functools (110)
83. pkg_resources (110)
84. gettext (109)
85. util (106)
86. sqlite3 (102)
87. decimal (102)
88. array (101)
89. sgmllib (100)
90. cgitb (100)
91. posixpath (100)
92. wsgiref.handlers (98)
93. gc (95)
94. sha (90)
95. pdb (90)
96. unicodedata (90)
97. tarfile (88)
98. ctypes (88)
99. models (87)
100. htmlentitydefs (86)
101. pygtk (84)
102. exceptions (83)
103. Image (81)
104. new (78)
105. rfc822 (78)
106. pygame (77)
107. wx (77)
108. MySQLdb (76)
109. feedparser (74)
110. difflib (73)
111. asyncore (72)
112. shlex (72)
113. Cookie (69)
114. matplotlib (68)
115. argparse (68)
116. marshal (65)
117. __future__ (64)
118. email (63)
119. bisect (62)
120. shelve (62)
121. pstats (61)
122. BaseHTTPServer (60)
123. nose (59)
124. webbrowser (59)
125. fcntl (59)
126. tokenize (58)
127. code (57)
128. logging.handlers (57)
129. httplib2 (56)
130. views (55)
131. io (55)
132. pytz (54)
133. cookielib (53)
134. linecache (51)
135. pango (51)
136. common (51)
137. sre_constants (50)
138. SocketServer (50)
139. fileinput (49)
140. heapq (48)
141. markdown (47)
142. dbus (45)
143. cherrypy (44)
144. cairo (44)
145. _winreg (43)
146. UserDict (43)
147. cmd (43)
148. pydoc (42)
149. sets (41)
150. simplejson.encoder (41)
151. web (41)
152. simplejson.decoder (40)
153. contextlib (40)
154. bz2 (39)
155. site (39)
156. anydbm (39)
157. pylons.test (39)
158. token (38)
159. twitter (38)
160. mock (37)
161. curses (36)
162. pylab (36)
163. HTMLParser (36)
164. compiler (35)
165. serial (34)
166. pwd (34)
167. mimetools (34)
168. tornado.web (33)
169. cx_Oracle (33)
170. scipy (33)
171. multiprocessing (32)
172. gdata.service (31)
173. timeit (31)
174. email.Utils (31)
175. __main__ (31)
176. sphinx (30)
177. sre_parse (30)
178. webob (30)
179. jinja2 (30)
180. model (29)
181. ftplib (29)
182. django.db (29)
183. win32api (29)
184. parser (28)
185. UserList (28)
186. Tkinter (27)
187. email.utils (27)
188. base (27)
189. module_test_runner (26)
190. mmap (26)
191. setuptools (26)
192. events (26)
193. atom.service (26)
194. data (25)
195. tagging (25)
196. psycopg2 (25)
197. atom (25)
198. oauth (25)
199. filecmp (25)
200. dis (25)
201. glib (24)
202. logging.config (23)
203. appengine_django (23)
204. gdata (23)
205. gst (23)
206. fields (23)
207. requests (22)
208. ops (22)
209. cryptomath (22)
210. testdata (22)
211. gdata.apps (22)
212. gdata.docs (22)
213. Python_AES (22)
214. pyglet (22)
215. xml (22)
216. mathtls (22)
217. py (22)
218. pymongo (22)
219. http (22)
220. xmltools (22)
221. hotshot (22)
222. imghdr (21)
223. sqlalchemy (21)
224. dateutil.parser (21)
225. cProfile (21)
226. readline (21)
227. imaplib (20)
228. constants (20)
229. objc (20)
230. filters (20)
231. popen2 (20)
232. redis (20)
233. httpserver (20)
234. ldap (20)
235. win32event (20)
236. formencode (19)
237. BeautifulSoup (19)
238. SimpleXMLRPCServer (19)
239. gconf (19)
240. html5lib (19)
241. pygments (19)
242. test (19)
243. symbol (18)
244. pkgutil (18)
245. copy_reg (18)
246. session (18)
247. mechanize (18)
248. net (18)
249. html4 (18)
250. treeprocessors (18)
251. SimpleHTTPServer (18)
252. relativedelta (18)
253. errors (18)
254. postprocessors (18)
255. preprocessors (18)
256. PIL.Image (18)
257. multifile (17)
258. ast (17)
259. pinax (17)
260. colorsys (17)
261. document (17)
262. syslog (17)
263. plistlib (17)
264. tools (17)
265. db (17)
266. handler (16)
267. url_manager (16)
268. tkMessageBox (16)
269. resource (16)
270. log (16)
271. ssl (15)
272. bottle (15)
273. wsgiref.util (15)
274. profile (15)
275. ElementTree (15)
276. Numeric (15)
277. win32serviceutil (15)
278. keyword (15)
279. robot_abstract (15)
280. py_compile (15)
281. poplib (15)
282. main (15)
283. win32gui (15)
284. clr (15)
285. pywintypes (14)
286. core (14)
287. misc (14)
288. nltk (14)
289. importlib (14)
290. coverage (14)
291. cmath (14)
292. paramiko (14)
293. pexpect (14)
294. uu (14)
295. openid (14)
296. facebook (14)
297. memcache (13)
298. docutils (13)
299. posix (13)
300. abc (13)
301. werkzeug (13)
302. pylons (13)
303. Utils (13)
304. eventlet (13)
305. codeop (13)
306. gtest_test_utils (13)
307. pickletools (13)
308. grp (13)
309. SOAPpy (13)
310. git (13)
311. dumbdbm (13)
312. distutils (13)
313. logger (13)
314. telnetlib (13)
315. binhex (13)
316. oauth2 (13)
317. libxml2 (13)
318. netrc (13)
319. xdrlib (12)
320. six (12)
321. boto (12)
322. view (12)
323. pipes (12)
324. escape (12)
325. aifc (12)
326. jsmin (12)
327. antlr3 (12)
328. debugerror (12)
329. sched (12)
330. Globals (12)
331. rapidsms (12)
332. ImageFile (12)
333. zipimport (12)
334. pydot (12)
335. html (12)
336. webapp2 (12)
337. tty (12)
338. twisted (11)
339. statvfs (11)
340. tinymce.settings (11)
341. api (11)
342. mailbox (11)
343. py.test (11)
344. helper (11)
345. _rfc3986 (11)
346. _response (11)
347. supybot (11)
348. sympy (11)
349. gevent (11)
350. conf (11)
351. google (11)
352. command (11)
353. server (11)
354. pycurl (11)
355. SCons.Builder (11)
356. _opener (11)
357. formatter (11)
358. error (11)
359. _request (11)
360. _auth (11)
361. couchdb (11)
362. pynotify (11)
363. discoverdata (11)
364. cv (11)
365. forms (11)
366. _beautifulsoup (11)
367. datadriven (11)
368. termios (11)
369. SCons.Tool (11)
370. nose.case (11)
371. bdb (10)
372. mergejs (10)
373. sunaudio (10)
374. tables (10)
375. pythoncom (10)
376. pty (10)
377. iso8601 (10)
378. transaction (10)
379. gluon.contenttype (10)
380. SCons.Action (10)
381. cache (10)
382. stringtemplate3 (10)
383. chunk (10)
384. mox (10)
385. daemon (10)
386. SCons.Environment (10)
387. fortran (10)
388. encodings (10)
389. pytest (10)
390. client (10)
391. signals (10)
392. zmq (10)
393. aecmd (10)
394. helpers (10)
395. paver.tasks (10)
396. factory (10)
397. gio (10)
398. version (10)
399. SCons (10)
400. SCons.Node (10)
401. webkit (9)
402. tree (9)
403. SCons.Errors (9)
404. SCons.Defaults (9)
405. rdflib (9)
406. user (9)
407. _ast (9)
408. jsonpickle (9)
409. compileall (9)
410. nose.plugins (9)
411. win32con (9)
412. tornado.escape (9)
413. win32security (9)
414. storage (9)
415. vtk (9)
416. tests (9)
417. _random (9)
418. numbers (9)
419. zope.interface (8)
420. numpy.random (8)
421. SCons.Variables (8)
422. Util (8)
423. _symtable (8)
424. xapian (8)
425. _curses (8)
426. paste.request (8)
427. urwid (8)
428. roman (8)
429. turbogears (8)
430. middleware (8)
431. nose.core (8)
432. vobject (8)
433. Blender (8)
434. win32service (8)
435. djcelery (8)
436. tkSimpleDialog (8)
437. email.message (8)
438. gui (8)
439. twill (8)
440. numpy.linalg (8)
441. cc (8)
442. tornado (8)
443. tweepy (8)
444. controller (8)
445. SCons.Scanner (8)
446. quopri (8)
447. pygments.formatters (8)
448. pika (8)
449. email.charset (8)
450. rlcompleter (8)
451. template (8)
452. SCons.Warnings (8)
453. email.quoprimime (8)
454. sndhdr (8)
455. ibus (8)
456. crypt (8)
457. Test (8)
458. event (8)
459. _sockettimeout (8)
460. xmpp (8)
461. options (8)
462. uploadhandler (8)
463. connection (8)
464. support (8)
465. robot (8)
466. paste.fixture (8)
467. _hotshot (8)
468. msilib (8)
469. gedit (8)
470. threadinglocal (8)
471. ShUtil (7)
472. mozrunner (7)
473. SCons.SConf (7)
474. rpc (7)
475. ProgressBar (7)
476. __init__ (7)
477. zc.buildout (7)
478. gviz_api (7)
479. LitConfig (7)
480. aixcc (7)
481. pip (7)
482. interface (7)
483. stubout (7)
484. SCons.Options (7)
485. link (7)
486. blip (7)
487. backend (7)
488. rospy (7)
489. wsgiref.headers (7)
490. SCons.Platform (7)
491. SCons.SConsign (7)
492. SCons.Subst (7)
493. SCons.Executor (7)
494. lib (7)
495. paste.fileapp (7)
496. distutils.dir_util (7)
497. metadata (7)
498. ntpath (7)
499. smtpd (7)
500. input (7)
501. SCons.CacheDir (7)
502. gdb (7)
503. ui (7)
504. pp (7)
505. SCons.PathList (7)
506. foo (7)
507. evalcontext (7)
508. groc (7)
509. wsgi_intercept (7)
510. SCons.Taskmaster (7)
511. f77 (7)
512. pyamf (7)
513. chardet (7)
514. graph (7)
515. static (7)
516. build (7)
517. wavelet (7)
518. element (7)
519. pymc (6)
520. database (6)
521. test_utils (6)
522. nose.config (6)
523. planet (6)
524. common_lint (6)
525. urlconf_outer (6)
526. IPython.ipapi (6)
527. robotparser (6)
528. genericpath (6)
529. sqlite (6)
530. Carbon.File (6)
531. ioloop (6)
532. IPython (6)
533. cssutils (6)
534. lex (6)
535. gnome (6)
536. ossaudiodev (6)
537. scipy.special (6)
538. docutils.core (6)
539. player (6)
540. routes (6)
541. _multiprocessing (6)
542. jarray (6)
543. auth (6)
544. flickrapi (6)
545. anyjson (6)
546. ZSI (6)
547. urlconf_inner (6)
548. h5py (6)
549. interfaces (6)
550. UserString (6)
551. consts (6)
552. sre_compile (6)
553. _ctypes_test (6)
554. reflect (6)
555. yql (6)
556. tkFileDialog (6)
557. qt (6)
558. wx.aui (6)
559. statistics (6)
560. gmock_test_utils (6)
561. irclib (6)
562. xbmc (6)
563. engine (6)
564. stackless (6)
565. Options (6)
566. status (6)
567. ansi (6)
568. pyclbr (6)
569. pyinotify (6)
570. gdbm (5)
571. django_filters (5)
572. win32process (5)
573. audioop (5)
574. plugins (5)
575. debug (5)
576. wave (5)
577. nose.selector (5)
578. mx.DateTime (5)
579. serializers (5)
580. pluginlib (5)
581. reports (5)
582. pystache (5)
583. PyShell (5)
584. tz (5)
585. loader (5)
586. webtest (5)
587. BIFFRecords (5)
588. language (5)
589. _mysql (5)
590. symtable (5)
591. System (5)
592. CosNaming (5)
593. distutils.tests (5)
594. env (5)
595. configuration (5)
596. cjson (5)
597. ImageDraw (5)
598. usb (5)
599. strop (5)
600. ipaddr (5)
601. scanner (5)
602. format (5)
603. http_server (5)
604. epydoc.docparser (5)
605. pysvn (5)
606. neo_cs (5)
607. haystack (5)
608. test_i18n (5)
609. crash_test_dummy (5)
610. xbmcgui (5)
611. manager (5)
612. Exceptions (5)
613. bpy (5)
614. sre (5)
615. win32com.client (5)
616. _base (5)
617. zen_editor (5)
618. apt (5)
619. distutils.version (5)
620. app (5)
621. Pmw (5)
622. rpm (5)
623. Logs (5)
624. killableprocess (5)
625. epydoc (5)
626. bluetooth (5)
627. rexec (5)
628. modulefinder (5)
629. webhelpers (5)
630. _strptime (5)
631. dircache (5)
632. epydoc.markup (5)
633. tidylib (5)
634. templates (5)
635. process (5)
636. OSC (5)
637. actions (5)
638. ihooks (5)
639. xlwt (5)
640. ipthelp (5)
641. distutils.dist (5)
642. txamqp.spec (5)
643. run_tests_util (5)
644. fractions (5)
645. treebuilders (5)
646. enchant (5)
647. win32pipe (5)
648. caching.base (5)
649. gnomevfs (5)
650. sphinx.roles (5)
651. markup (5)
652. release (5)
653. rrdtool (5)
654. test_default_server (5)
655. polib (5)
656. jingo (5)
657. nose.tools (5)
658. Pyro.core (5)
659. opcode (5)
660. webchecker (5)
661. match (5)
662. libvirt (5)
663. ExcelFormula (5)
664. taskqueue_service_pb (5)
665. maths (5)
666. Formatting (5)
667. portalocker (5)
668. objects (5)
669. _testcapi (5)
670. cyclone.web (5)