【实例简介】
pip安装包,安装Python包非常方便
【实例截图】
【核心代码】
pip-8.1.2.tar
└── pip-8.1.2
├── AUTHORS.txt
├── CHANGES.txt
├── docs
│ ├── configuration.rst
│ ├── conf.py
│ ├── cookbook.rst
│ ├── development.rst
│ ├── index.rst
│ ├── __init__.py
│ ├── installing.rst
│ ├── logic.rst
│ ├── make.bat
│ ├── Makefile
│ ├── news.rst
│ ├── pipext.py
│ ├── quickstart.rst
│ ├── reference
│ │ ├── index.rst
│ │ ├── pip_download.rst
│ │ ├── pip_freeze.rst
│ │ ├── pip_hash.rst
│ │ ├── pip_install.rst
│ │ ├── pip_list.rst
│ │ ├── pip.rst
│ │ ├── pip_search.rst
│ │ ├── pip_show.rst
│ │ ├── pip_uninstall.rst
│ │ └── pip_wheel.rst
│ ├── usage.rst
│ └── user_guide.rst
├── LICENSE.txt
├── MANIFEST.in
├── pip
│ ├── basecommand.py
│ ├── baseparser.py
│ ├── cmdoptions.py
│ ├── commands
│ │ ├── completion.py
│ │ ├── download.py
│ │ ├── freeze.py
│ │ ├── hash.py
│ │ ├── help.py
│ │ ├── __init__.py
│ │ ├── install.py
│ │ ├── list.py
│ │ ├── search.py
│ │ ├── show.py
│ │ ├── uninstall.py
│ │ └── wheel.py
│ ├── compat
│ │ ├── dictconfig.py
│ │ ├── __init__.py
│ │ └── ordereddict.py
│ ├── download.py
│ ├── exceptions.py
│ ├── index.py
│ ├── __init__.py
│ ├── locations.py
│ ├── __main__.py
│ ├── models
│ │ ├── index.py
│ │ └── __init__.py
│ ├── operations
│ │ ├── freeze.py
│ │ └── __init__.py
│ ├── pep425tags.py
│ ├── req
│ │ ├── __init__.py
│ │ ├── req_file.py
│ │ ├── req_install.py
│ │ ├── req_set.py
│ │ └── req_uninstall.py
│ ├── status_codes.py
│ ├── utils
│ │ ├── appdirs.py
│ │ ├── build.py
│ │ ├── deprecation.py
│ │ ├── encoding.py
│ │ ├── filesystem.py
│ │ ├── hashes.py
│ │ ├── __init__.py
│ │ ├── logging.py
│ │ ├── outdated.py
│ │ ├── setuptools_build.py
│ │ └── ui.py
│ ├── vcs
│ │ ├── bazaar.py
│ │ ├── git.py
│ │ ├── __init__.py
│ │ ├── mercurial.py
│ │ └── subversion.py
│ ├── _vendor
│ │ ├── cachecontrol
│ │ │ ├── adapter.py
│ │ │ ├── cache.py
│ │ │ ├── caches
│ │ │ │ ├── file_cache.py
│ │ │ │ ├── __init__.py
│ │ │ │ └── redis_cache.py
│ │ │ ├── _cmd.py
│ │ │ ├── compat.py
│ │ │ ├── controller.py
│ │ │ ├── filewrapper.py
│ │ │ ├── heuristics.py
│ │ │ ├── __init__.py
│ │ │ ├── serialize.py
│ │ │ └── wrapper.py
│ │ ├── colorama
│ │ │ ├── ansi.py
│ │ │ ├── ansitowin32.py
│ │ │ ├── initialise.py
│ │ │ ├── __init__.py
│ │ │ ├── win32.py
│ │ │ └── winterm.py
│ │ ├── distlib
│ │ │ ├── _backport
│ │ │ │ ├── __init__.py
│ │ │ │ ├── misc.py
│ │ │ │ ├── shutil.py
│ │ │ │ ├── sysconfig.cfg
│ │ │ │ ├── sysconfig.py
│ │ │ │ └── tarfile.py
│ │ │ ├── compat.py
│ │ │ ├── database.py
│ │ │ ├── index.py
│ │ │ ├── __init__.py
│ │ │ ├── locators.py
│ │ │ ├── manifest.py
│ │ │ ├── markers.py
│ │ │ ├── metadata.py
│ │ │ ├── resources.py
│ │ │ ├── scripts.py
│ │ │ ├── t32.exe
│ │ │ ├── t64.exe
│ │ │ ├── util.py
│ │ │ ├── version.py
│ │ │ ├── w32.exe
│ │ │ ├── w64.exe
│ │ │ └── wheel.py
│ │ ├── html5lib
│ │ │ ├── constants.py
│ │ │ ├── filters
│ │ │ │ ├── alphabeticalattributes.py
│ │ │ │ ├── _base.py
│ │ │ │ ├── __init__.py
│ │ │ │ ├── inject_meta_charset.py
│ │ │ │ ├── lint.py
│ │ │ │ ├── optionaltags.py
│ │ │ │ ├── sanitizer.py
│ │ │ │ └── whitespace.py
│ │ │ ├── html5parser.py
│ │ │ ├── ihatexml.py
│ │ │ ├── __init__.py
│ │ │ ├── inputstream.py
│ │ │ ├── sanitizer.py
│ │ │ ├── serializer
│ │ │ │ ├── htmlserializer.py
│ │ │ │ └── __init__.py
│ │ │ ├── tokenizer.py
│ │ │ ├── treeadapters
│ │ │ │ ├── __init__.py
│ │ │ │ └── sax.py
│ │ │ ├── treebuilders
│ │ │ │ ├── _base.py
│ │ │ │ ├── dom.py
│ │ │ │ ├── etree_lxml.py
│ │ │ │ ├── etree.py
│ │ │ │ └── __init__.py
│ │ │ ├── treewalkers
│ │ │ │ ├── _base.py
│ │ │ │ ├── dom.py
│ │ │ │ ├── etree.py
│ │ │ │ ├── genshistream.py
│ │ │ │ ├── __init__.py
│ │ │ │ ├── lxmletree.py
│ │ │ │ └── pulldom.py
│ │ │ ├── trie
│ │ │ │ ├── _base.py
│ │ │ │ ├── datrie.py
│ │ │ │ ├── __init__.py
│ │ │ │ └── py.py
│ │ │ └── utils.py
│ │ ├── __init__.py
│ │ ├── ipaddress.py
│ │ ├── lockfile
│ │ │ ├── __init__.py
│ │ │ ├── linklockfile.py
│ │ │ ├── mkdirlockfile.py
│ │ │ ├── pidlockfile.py
│ │ │ ├── sqlitelockfile.py
│ │ │ └── symlinklockfile.py
│ │ ├── packaging
│ │ │ ├── __about__.py
│ │ │ ├── _compat.py
│ │ │ ├── __init__.py
│ │ │ ├── markers.py
│ │ │ ├── requirements.py
│ │ │ ├── specifiers.py
│ │ │ ├── _structures.py
│ │ │ ├── utils.py
│ │ │ └── version.py
│ │ ├── pkg_resources
│ │ │ └── __init__.py
│ │ ├── progress
│ │ │ ├── bar.py
│ │ │ ├── counter.py
│ │ │ ├── helpers.py
│ │ │ ├── __init__.py
│ │ │ └── spinner.py
│ │ ├── pyparsing.py
│ │ ├── README.rst
│ │ ├── requests
│ │ │ ├── adapters.py
│ │ │ ├── api.py
│ │ │ ├── auth.py
│ │ │ ├── cacert.pem
│ │ │ ├── certs.py
│ │ │ ├── compat.py
│ │ │ ├── cookies.py
│ │ │ ├── exceptions.py
│ │ │ ├── hooks.py
│ │ │ ├── __init__.py
│ │ │ ├── models.py
│ │ │ ├── packages
│ │ │ │ ├── chardet
│ │ │ │ │ ├── big5freq.py
│ │ │ │ │ ├── big5prober.py
│ │ │ │ │ ├── chardetect.py
│ │ │ │ │ ├── chardistribution.py
│ │ │ │ │ ├── charsetgroupprober.py
│ │ │ │ │ ├── charsetprober.py
│ │ │ │ │ ├── codingstatemachine.py
│ │ │ │ │ ├── compat.py
│ │ │ │ │ ├── constants.py
│ │ │ │ │ ├── cp949prober.py
│ │ │ │ │ ├── escprober.py
│ │ │ │ │ ├── escsm.py
│ │ │ │ │ ├── eucjpprober.py
│ │ │ │ │ ├── euckrfreq.py
│ │ │ │ │ ├── euckrprober.py
│ │ │ │ │ ├── euctwfreq.py
│ │ │ │ │ ├── euctwprober.py
│ │ │ │ │ ├── gb2312freq.py
│ │ │ │ │ ├── gb2312prober.py
│ │ │ │ │ ├── hebrewprober.py
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── jisfreq.py
│ │ │ │ │ ├── jpcntx.py
│ │ │ │ │ ├── langbulgarianmodel.py
│ │ │ │ │ ├── langcyrillicmodel.py
│ │ │ │ │ ├── langgreekmodel.py
│ │ │ │ │ ├── langhebrewmodel.py
│ │ │ │ │ ├── langhungarianmodel.py
│ │ │ │ │ ├── langthaimodel.py
│ │ │ │ │ ├── latin1prober.py
│ │ │ │ │ ├── mbcharsetprober.py
│ │ │ │ │ ├── mbcsgroupprober.py
│ │ │ │ │ ├── mbcssm.py
│ │ │ │ │ ├── sbcharsetprober.py
│ │ │ │ │ ├── sbcsgroupprober.py
│ │ │ │ │ ├── sjisprober.py
│ │ │ │ │ ├── universaldetector.py
│ │ │ │ │ └── utf8prober.py
│ │ │ │ ├── __init__.py
│ │ │ │ └── urllib3
│ │ │ │ ├── _collections.py
│ │ │ │ ├── connectionpool.py
│ │ │ │ ├── connection.py
│ │ │ │ ├── contrib
│ │ │ │ │ ├── appengine.py
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── ntlmpool.py
│ │ │ │ │ ├── pyopenssl.py
│ │ │ │ │ └── socks.py
│ │ │ │ ├── exceptions.py
│ │ │ │ ├── fields.py
│ │ │ │ ├── filepost.py
│ │ │ │ ├── __init__.py
│ │ │ │ ├── packages
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── ordered_dict.py
│ │ │ │ │ ├── six.py
│ │ │ │ │ └── ssl_match_hostname
│ │ │ │ │ ├── _implementation.py
│ │ │ │ │ └── __init__.py
│ │ │ │ ├── poolmanager.py
│ │ │ │ ├── request.py
│ │ │ │ ├── response.py
│ │ │ │ └── util
│ │ │ │ ├── connection.py
│ │ │ │ ├── __init__.py
│ │ │ │ ├── request.py
│ │ │ │ ├── response.py
│ │ │ │ ├── retry.py
│ │ │ │ ├── ssl_.py
│ │ │ │ ├── timeout.py
│ │ │ │ └── url.py
│ │ │ ├── sessions.py
│ │ │ ├── status_codes.py
│ │ │ ├── structures.py
│ │ │ └── utils.py
│ │ ├── retrying.py
│ │ ├── re-vendor.py
│ │ ├── six.py
│ │ └── vendor.txt
│ └── wheel.py
├── pip.egg-info
│ ├── dependency_links.txt
│ ├── entry_points.txt
│ ├── not-zip-safe
│ ├── PKG-INFO
│ ├── requires.txt
│ ├── SOURCES.txt
│ └── top_level.txt
├── PKG-INFO
├── README.rst
├── setup.cfg
└── setup.py
37 directories, 282 files