PyPy 和 PyPI 有什么区别

Whats the difference between PyPy and PyPI

这可能是一个非常愚蠢的问题,但是 'PyPy' 和 'PyPI' 之间有什么区别?它们是一回事吗?

PyPy 是 python:

的替代实现

PyPy is a fast, compliant alternative implementation of the Python language (2.7.13 and 3.5.3). It has several advantages and distinct features: Speed: thanks to its Just-in-Time compiler, Python programs often run faster on PyPy. (What is a JIT compiler?) “If you want your code to run faster, you should probably just use PyPy.” — Guido van Rossum (creator of Python) Memory usage: memory-hungry Python programs (several hundreds of MBs or more) might end up taking less space than they do in CPython. Compatibility: PyPy is highly compatible with existing python code. It supports cffi and can run popular python libraries like twisted and django. Stackless: PyPy comes by default with support for stackless mode, providing micro-threads for massive concurrency. As well as other features.


PyPi 是您可以安装的 python 包、模块和库的存储库。

The Python Package Index is a repository of software for the Python programming language. There are currently 120970 packages