• <legend id='UxiYY'><style id='UxiYY'><dir id='UxiYY'><q id='UxiYY'></q></dir></style></legend>

  • <tfoot id='UxiYY'></tfoot>

    <small id='UxiYY'></small><noframes id='UxiYY'>

    <i id='UxiYY'><tr id='UxiYY'><dt id='UxiYY'><q id='UxiYY'><span id='UxiYY'><b id='UxiYY'><form id='UxiYY'><ins id='UxiYY'></ins><ul id='UxiYY'></ul><sub id='UxiYY'></sub></form><legend id='UxiYY'></legend><bdo id='UxiYY'><pre id='UxiYY'><center id='UxiYY'></center></pre></bdo></b><th id='UxiYY'></th></span></q></dt></tr></i><div id='UxiYY'><tfoot id='UxiYY'></tfoot><dl id='UxiYY'><fieldset id='UxiYY'></fieldset></dl></div>

        • <bdo id='UxiYY'></bdo><ul id='UxiYY'></ul>

        如何/在哪里发布 Python 包

        时间:2023-09-13

          <tbody id='awd3j'></tbody>
          1. <tfoot id='awd3j'></tfoot>

              <small id='awd3j'></small><noframes id='awd3j'>

              <legend id='awd3j'><style id='awd3j'><dir id='awd3j'><q id='awd3j'></q></dir></style></legend>
              • <bdo id='awd3j'></bdo><ul id='awd3j'></ul>
                <i id='awd3j'><tr id='awd3j'><dt id='awd3j'><q id='awd3j'><span id='awd3j'><b id='awd3j'><form id='awd3j'><ins id='awd3j'></ins><ul id='awd3j'></ul><sub id='awd3j'></sub></form><legend id='awd3j'></legend><bdo id='awd3j'><pre id='awd3j'><center id='awd3j'></center></pre></bdo></b><th id='awd3j'></th></span></q></dt></tr></i><div id='awd3j'><tfoot id='awd3j'></tfoot><dl id='awd3j'><fieldset id='awd3j'></fieldset></dl></div>

                1. 本文介绍了如何/在哪里发布 Python 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  如果一个人创建了一个有用的 Python 包,如何/在哪里发布/宣传它以供其他人使用?

                  If one creates a useful Python package, how/where does one publish/advertise it for other people to use?

                  我已经把它放在了 hithub 上,但几个星期后即使谷歌也找不到它.包装整洁&完成,我是为个人使用而制作的,不与他人分享会很遗憾:)

                  I've put it on hithub, but even Google does not find it after a few weeks. The package is neat & complete, I made it for my personal use and would be a shame not to share it with others :)

                  推荐答案

                  所以,要使包对 pip install 可用,您必须在 Python 包索引中注册它 (PyPI): https://pypi.python.org/pypi

                  So, to make the package available to a pip install, you have to register it in the Python Package Index (PyPI): https://pypi.python.org/pypi

                  还有测试环境,您可以在其中上传您的包以测试您的设置是否正常,然后再进行真正的交易:https://testpypi.python.org/pypi

                  There's also the test environment, where you can upload your packages to test if your setup is ok before going to the real deal: https://testpypi.python.org/pypi

                  您在其中一台服务器上创建了一个帐户,然后就可以上传您的包裹.但是,在此之前,您必须使用 setuptools 构建您的包.这是打包和分发的文档:https://packaging.python.org/distributing/

                  You create an account in one of the servers and will be able to upload your package. But, before that, you will have to build your package using setuptools. Here's the documentation for packaging and distributing: https://packaging.python.org/distributing/

                  这个过程可能有点无聊,所以我写了一个小工具来让它更简单.也许它对你有用:https://github.com/hugollm/foster

                  The proccess can be little boring, so I wrote a little tool to make it simpler. Maybe it's of some use to you: https://github.com/hugollm/foster

                  这篇关于如何/在哪里发布 Python 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:pip 正则表达式搜索 下一篇:在 Python 中导入深度嵌套的模块

                  相关文章

                  最新文章

                  1. <tfoot id='QICGM'></tfoot>

                  2. <i id='QICGM'><tr id='QICGM'><dt id='QICGM'><q id='QICGM'><span id='QICGM'><b id='QICGM'><form id='QICGM'><ins id='QICGM'></ins><ul id='QICGM'></ul><sub id='QICGM'></sub></form><legend id='QICGM'></legend><bdo id='QICGM'><pre id='QICGM'><center id='QICGM'></center></pre></bdo></b><th id='QICGM'></th></span></q></dt></tr></i><div id='QICGM'><tfoot id='QICGM'></tfoot><dl id='QICGM'><fieldset id='QICGM'></fieldset></dl></div>
                  3. <legend id='QICGM'><style id='QICGM'><dir id='QICGM'><q id='QICGM'></q></dir></style></legend>

                    <small id='QICGM'></small><noframes id='QICGM'>

                        <bdo id='QICGM'></bdo><ul id='QICGM'></ul>