官术网_书友最值得收藏!

How it works...

twine securely authenticates users to the PyPI database using HTTPS. The older way of uploading packages to PyPI was using python setup.py upload; this was insecure as the data was transferred via unencrypted HTTP, so your login credentials could be sniffed. With twine, connections are made through verified TLS to prevent credential theft.

This also allows a developer to pre-create distribution files, whereas setup.py upload only works with distributions that are created at the same time. Thus, using twine, a developer is able to test files prior to uploading them to PyPI, to ensure they work.

Finally, you can pre-sign your uploads with digital signatures and attach the .asc certification files to the twine upload. This ensures the developer's password is entered into GPG and not some other software, such as malware.

主站蜘蛛池模板: 盈江县| 庆安县| 恭城| 大同县| 抚宁县| 马龙县| 大埔县| 峡江县| 天台县| 文成县| 弋阳县| 葵青区| 江西省| 杂多县| 茌平县| 探索| 水城县| 中西区| 南投县| 嵊州市| 九龙县| 崇文区| 于都县| 渝北区| 泽库县| 舟山市| 娱乐| 德化县| 芷江| 淮北市| 汶上县| 新邵县| 宁乡县| 河源市| 上高县| 香港 | 龙川县| 库尔勒市| 通道| 平舆县| 娱乐|