Title: Poetry - Python dependency management and packaging made easy
Description: Python dependency management and packaging made easy
Generator: Hugo 0.143.1
Domain: python-poetry.org
| None | IE=edge,chrome=1 |
| apple-mobile-web-app-capable | yes |
| apple-touch-fullscreen | yes |
| apple-mobile-web-app-status-bar-style | default |
Links:
| Home | https://python-poetry.org/ |
| Documentation | https://python-poetry.org/docs/ |
| Introduction Poetry is a tool for dependency management and packaging in Python. | https://python-poetry.org/docs/ |
| Basic usage For the basic usage introduction we will be installing pendulum, a datetime library. | https://python-poetry.org/docs/basic-usage/ |
| Managing dependencies Poetry supports specifying main dependencies in the project.dependencies section of your pyproject.toml according to PEP 621. | https://python-poetry.org/docs/managing-dependencies/ |
| Libraries This chapter will tell you how to make your library installable through Poetry. Versioning Poetry requires PEP 440-compliant versions for all projects. While Poetry does not enforce any release convention, it used to encourage the use of semantic versioning within the scope of PEP 440 and supports version constraints that are especially suitable for semver. Note As an example, 1.0.0-hotfix.1 is not compatible with PEP 440. | https://python-poetry.org/docs/libraries/ |
| Commands You’ve already learned how to use the command-line interface to do some things. | https://python-poetry.org/docs/cli/ |
| Configuration Poetry can be configured via the config command (see more about its usage here) or directly in the config.toml file that will be automatically created when you first run that command. | https://python-poetry.org/docs/configuration/ |
| Repositories Poetry supports the use of PyPI and private repositories for discovery of packages as well as for publishing your projects. By default, Poetry is configured to use the PyPI repository, for package installation and publishing. So, when you add dependencies to your project, Poetry will assume they are available on PyPI. This represents most cases and will likely be enough for most users. Private Repository Example Installing from private package sources By default, Poetry discovers and installs packages from PyPI. | https://python-poetry.org/docs/repositories/ |
| Managing environments Poetry makes project environment isolation one of its core features. What this means is that it will always work isolated from your global Python installation. | https://python-poetry.org/docs/managing-environments/ |
| Dependency specification Dependencies for a project can be specified in various forms, which depend on the type of the dependency and on the optional constraints that might be needed for it to be installed. project.dependencies and tool.poetry.dependencies Prior Poetry 2.0, dependencies had to be declared in the tool.poetry.dependencies section of the pyproject.toml file. [tool.poetry.dependencies] requests = "^2.13.0" With Poetry 2.0, you should consider using the project.dependencies section instead. [project] # ... | https://python-poetry.org/docs/dependency-specification/ |
| Plugins Poetry supports using and building plugins if you wish to alter or expand Poetry’s functionality with your own. For example if your environment poses special requirements on the behaviour of Poetry which do not apply to the majority of its users or if you wish to accomplish something with Poetry in a way that is not desired by most users. In these cases you could consider creating a plugin to handle your specific logic. . | https://python-poetry.org/docs/plugins/ |
| The pyproject.toml file In package mode, the only required fields are name and version (either in the project section or in the tool.poetry section). | https://python-poetry.org/docs/pyproject/ |
| Contributing to Poetry First off, thanks for taking the time to contribute! The following is a set of guidelines for contributing to Poetry on GitHub. | https://python-poetry.org/docs/contributing/ |
| Community Badge For any projects using Poetry, you may add its official badge somewhere prominent like the README. Markdown [](https://python-poetry.org/) reStructuredText .. | https://python-poetry.org/docs/community/ |
| FAQ Why is the dependency resolution process slow? While the dependency resolver at the heart of Poetry is highly optimized and should be fast enough for most cases, with certain sets of dependencies, it can take time to find a valid solution. This is due to the fact that not all libraries on PyPI have properly declared their metadata and, as such, they are not available via the PyPI JSON API. | https://python-poetry.org/docs/faq/ |
| pre-commit hooks pre-commit is a framework for building and running git hooks. | https://python-poetry.org/docs/pre-commit-hooks/ |
| Building extension modules Building Extension Modules Warning While this feature has been around since almost the beginning of the Poetry project and has needed minimal changes, it is still considered unstable. | https://python-poetry.org/docs/building-extension-modules/ |
| 2.2 Stable Documentation for the latest, stable, branch. | https://python-poetry.org/docs/ |
| main Development Documentation for the latest, in-development, branch. | https://python-poetry.org/docs/main/ |
| Blog | https://python-poetry.org/blog/ |
| History | https://python-poetry.org/history/ |
| https://github.com/python-poetry/poetry | |
| Documentation | https://python-poetry.org/docs/ |
| Blog | https://python-poetry.org/blog/ |
| History | https://python-poetry.org/history/ |
| https://github.com/python-poetry/poetry | |
| GitHub | https://github.com/python-poetry |
| Discord | https://discord.com/invite/awxPgve |
| Introduction | https://python-poetry.org/docs/ |
| Basic usage | https://python-poetry.org/docs/basic-usage/ |
| Managing dependencies | https://python-poetry.org/docs/managing-dependencies/ |
| Libraries | https://python-poetry.org/docs/libraries/ |
| Commands | https://python-poetry.org/docs/cli/ |
| Configuration | https://python-poetry.org/docs/configuration/ |
| Repositories | https://python-poetry.org/docs/repositories/ |
| Managing environments | https://python-poetry.org/docs/managing-environments/ |
| Dependency specification | https://python-poetry.org/docs/dependency-specification/ |
| Plugins | https://python-poetry.org/docs/plugins/ |
| The pyproject.toml file | https://python-poetry.org/docs/pyproject/ |
| Contributing to Poetry | https://python-poetry.org/docs/contributing/ |
| Community | https://python-poetry.org/docs/community/ |
| FAQ | https://python-poetry.org/docs/faq/ |
| pre-commit hooks | https://python-poetry.org/docs/pre-commit-hooks/ |
| Building extension modules | https://python-poetry.org/docs/building-extension-modules/ |
| Project | https://github.com/python-poetry/poetry |
| Issues | https://github.com/python-poetry/poetry/issues |
| Discussions | https://github.com/python-poetry/poetry/discussions |
| poetry-core | https://github.com/python-poetry/poetry-core |
| install.python-poetry.org | https://github.com/python-poetry/install.python-poetry.org |
| Bundle plugin | https://github.com/python-poetry/poetry-plugin-bundle |
| Export plugin | https://github.com/python-poetry/poetry-plugin-export |
| https://vercel.com?utm_source=python-poetry&utm_campaign=oss |
Viewport: width=device-width,initial-scale=1