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

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.

主站蜘蛛池模板: 米易县| 金阳县| 平乡县| 樟树市| 上杭县| 上栗县| 石狮市| 鸡东县| 平凉市| 从江县| 伊川县| 五大连池市| 襄汾县| 阿拉尔市| 大田县| 衡阳县| 新田县| 红安县| 蒙阴县| 临湘市| 弋阳县| 庆云县| 沅江市| 华亭县| 广灵县| 郑州市| 精河县| 开原市| 鹤壁市| 临漳县| 绵阳市| 融水| 冀州市| 界首市| 上思县| 城口县| 砚山县| 白沙| 达日县| 广南县| 桐柏县|