benjaminp/six

GitHub: benjaminp/six

Python 2 和 3 兼容性工具库,提供辅助函数平滑两个版本间的差异。

Stars: 1020 | Forks: 273

.. image:: https://img.shields.io/pypi/v/six.svg :target: https://pypi.org/project/six/ :alt: PyPI 上的 six .. image:: https://readthedocs.org/projects/six/badge/?version=latest :target: https://six.readthedocs.io/ :alt: Read the Docs 上 six 的文档 .. image:: https://img.shields.io/badge/license-MIT-green.svg :target: https://github.com/benjaminp/six/blob/master/LICENSE :alt: MIT 许可证徽章 Six 是一个 Python 2 和 3 的兼容性库。它提供了实用工具函数, 用于平滑 Python 版本之间的差异,目标是 编写在两个 Python 版本上都兼容的 Python 代码。请参阅 文档以获取有关所提供功能的更多信息。 Six 支持 Python 2.7 和 3.3+。它仅包含在一个 Python 文件中,因此可以轻松地复制到您的项目中。(必须保留版权和许可证 声明。) 在线文档位于 https://six.readthedocs.io/。 可以在 https://github.com/benjaminp/six 报告错误。代码也 可以在那里找到。
标签:DNS解析, MIT协议, PyPI, Python, Python 2, Python 3, six, 代码迁移, 兼容性库, 后端开发, 工具库, 开发组件, 开源项目, 无后门, 脚本编程, 跨版本, 逆向工具