python - PyPy 和 PyPI 有什么区别

标签 python pypi pypy

这可能是一个非常愚蠢的问题,但是“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

关于python - PyPy 和 PyPI 有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47117884/

相关文章:

python - 任何人都可以解释为什么我收到此错误 [ImportError : lxml not found, 请安装它]

Python:SymPylambdaifyabs 与 NumPy 一起使用

java - 映射任务中长正则表达式的最佳选择是什么?

python - 从 pypi 包构建 conda 骨架会抛出错误

python - 当上传者为 "conda-forge"时,更新conda-forge中的包

python - 将 Sympy 与 Pypy 结合使用

python - 如何在 Python 中将两个列表组合成字典?

python - Argparse 可选标准输入参数

python - Windows 7 x64 上的 PyPy?

python - 如何在 PyPy 中导入 .so 模块?