- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 31 - 40 of 62 for host:python-poetry.org (0.04 sec)
-
Basic usage | 1.7 | Documentation | Poetry - Py...
Basic usage For the basic usage introduction we will be installing pendulum, a datetime library. If you have not yet installed Poetry, refer to the Introduction chapter. Project setup First, let’s create our new project, let’s call it poetry-demo: poetry new poetry-demo This will create the poetry-demo directory with the following content: poetry-demo ├── pyproject.toml ├── README.md ├── poetry_demo │ └── __init__.py └── tests └── __init__.py The pyproject.toml file is what is the most important here. This will orchestrate your project and its dependencies. For now, it looks like this:python-poetry.org/docs/1.7/basic-usage/Registered: Fri Jan 03 14:30:58 UTC 2025 - Last Modified: Fri Jan 03 14:30:58 UTC 2025 - 74.8K bytes - Viewed (0) -
Managing dependencies | 1.7 | Documentation | P...
Managing dependencies Dependency groups Poetry provides a way to organize your dependencies by groups. For instance, you might have dependencies that are only needed to test your project or to build the documentation. To declare a new dependency group, use a tool.poetry.group.<group> section where <group> is the name of your dependency group (for instance, test): [tool.poetry.group.test] # This part can be left out [tool.poetry.group.test.dependencies] pytest = "^6.0.0" pytest-mock = "*" Note All dependencies must be compatible with each other across groups since they will be resolved regardless of whether they are required for installation or not (see Installing group dependencies).python-poetry.org/docs/1.7/managing-dependencies/ Similar Results (1)Registered: Fri Jan 03 14:30:40 UTC 2025 - Last Modified: Fri Jan 03 14:30:40 UTC 2025 - 68.2K bytes - Viewed (0) -
Plugins | 1.7 | Documentation | Poetry - Python...
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.python-poetry.org/docs/1.7/plugins/Registered: Fri Jan 03 14:31:20 UTC 2025 - Last Modified: Fri Jan 03 14:31:20 UTC 2025 - 73.5K bytes - Viewed (0) -
Introduction | 1.8 | Documentation | Poetry - P...
Introduction Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Poetry offers a lockfile to ensure repeatable installs, and can build your project for distribution. System requirements Poetry requires Python 3.8+. It is multi-platform and the goal is to make it work equally well on Linux, macOS and Windows.python-poetry.org/docs/1.8/Registered: Fri Jan 24 09:42:10 UTC 2025 - Last Modified: Fri Jan 24 00:38:24 UTC 2025 - 81.6K bytes - Viewed (0) -
Plugins | Documentation | Poetry - Python depen...
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.python-poetry.org/docs/plugins/ Similar Results (1)Registered: Fri Jan 24 09:42:22 UTC 2025 - Last Modified: Fri Jan 24 02:20:46 UTC 2025 - 76.3K bytes - Viewed (0) -
Contributing to Poetry | main | Documentation |...
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. These are mostly guidelines, not rules. Use your best judgement, and feel free to propose changes to this document in a pull request. How to contribute Reporting bugs This section guides you through submitting a bug report for Poetry. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.python-poetry.org/docs/main/contributing/ Similar Results (1)Registered: Fri Jan 24 09:43:26 UTC 2025 - Last Modified: Fri Jan 24 09:43:26 UTC 2025 - 72.4K bytes - Viewed (0) -
FAQ | 1.7 | Documentation | Poetry - Python dep...
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. At this point, Poetry has no choice but to download the packages and inspect them to get the necessary information. This is an expensive operation, both in bandwidth and time, which is why it seems this is a long process.python-poetry.org/docs/1.7/faq/Registered: Fri Jan 03 14:31:38 UTC 2025 - Last Modified: Fri Jan 03 14:31:38 UTC 2025 - 72.4K bytes - Viewed (0) -
Libraries | 1.7 | Documentation | Poetry - Pyth...
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. You can instead choose to use 1.0.0-post1 or 1.0.0.post1. Lock file For your library, you may commit the poetry.lock file if you want to. This can help your team to always test against the same dependency versions. However, this lock file will not have any effect on other projects that depend on it. It only has an effect on the main project.python-poetry.org/docs/1.7/libraries/ Similar Results (1)Registered: Fri Jan 03 14:30:51 UTC 2025 - Last Modified: Fri Jan 03 14:30:51 UTC 2025 - 58.1K bytes - Viewed (0) -
Basic usage | 1.8 | Documentation | Poetry - Py...
Basic usage For the basic usage introduction we will be installing pendulum, a datetime library. If you have not yet installed Poetry, refer to the Introduction chapter. Project setup First, let’s create our new project, let’s call it poetry-demo: poetry new poetry-demo This will create the poetry-demo directory with the following content: poetry-demo ├── pyproject.toml ├── README.md ├── poetry_demo │ └── __init__.py └── tests └── __init__.py The pyproject.toml file is what is the most important here. This will orchestrate your project and its dependencies. For now, it looks like this:python-poetry.org/docs/1.8/basic-usage/Registered: Fri Jan 24 09:43:49 UTC 2025 - Last Modified: Fri Jan 24 09:43:49 UTC 2025 - 79.3K bytes - Viewed (0) -
Dependency specification | Documentation | Poet...
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] # ... dependencies = [ "requests (>=2.23.0,<3.0.0)" ] While dependencies in tool.poetry.dependencies are specified using toml tables, dependencies in project.dependencies are specified as strings according to PEP 508.python-poetry.org/docs/dependency-specification/ Similar Results (1)Registered: Fri Jan 24 09:42:33 UTC 2025 - Last Modified: Fri Jan 24 00:30:35 UTC 2025 - 151.2K bytes - Viewed (0)