Title: Addition of Poetry to "Using virtualenvs..." section · Issue #1101 · realpython/python-guide · GitHub
Open Graph Title: Addition of Poetry to "Using virtualenvs..." section · Issue #1101 · realpython/python-guide
X Title: Addition of Poetry to "Using virtualenvs..." section · Issue #1101 · realpython/python-guide
Description: Hi there, thank you for all the work put into this guide so far! Are there any discussions or plans to mention Poetry anywhere in this guide (I couldn't find any previous issues on this)? Rationale I think poetry solves a huge missing pi...
Open Graph Description: Hi there, thank you for all the work put into this guide so far! Are there any discussions or plans to mention Poetry anywhere in this guide (I couldn't find any previous issues on this)? Rationale...
X Description: Hi there, thank you for all the work put into this guide so far! Are there any discussions or plans to mention Poetry anywhere in this guide (I couldn't find any previous issues on this)? Ratio...
Opengraph URL: https://github.com/realpython/python-guide/issues/1101
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Addition of Poetry to \"Using virtualenvs...\" section","articleBody":"Hi there, thank you for all the work put into this guide so far!\r\n\r\nAre there any discussions or plans to mention [Poetry](https://python-poetry.org/) anywhere in this guide (I couldn't find any previous issues on this)?\r\n\r\n**Rationale**\r\n\r\nI think poetry solves a huge missing piece in the Python ecosystem. For any node.js developers, it is similar to [npm](https://www.npmjs.com/) and [yarn](https://yarnpkg.com/). For many newcomers to the language, the way python does dependency management and virtual environments has a very high learning curve.\r\n\r\nPoetry introduces (over traditional `pip` based package management):\r\n\r\n- A unified project manifest `pyproject.toml` containing dependencies and build information\r\n- Introduces a `poetry.lock` file that pins dependency versions (a better alternative than `pip freeze` IMO)\r\n- Avoids installing dependencies globally (poetry automatically creates a virtualenv and installs project dependencies there)\r\n- Using `poetry run` executes commands automatically in the proper virtualenv context (no more needing to `source venv/bin/activate`)\r\n\r\nAnd plenty more that I'm sure I am not listing here...\r\n\r\n**Limitations**\r\n\r\nAs with any new technology, there are some limitations:\r\n\r\n- Poetry is dropping support for Python 2.7 and 3.5 in the next release\r\n- Lots of older tutorials and resources probably do not use it, which could confuse beginners even more\r\n\r\nThoughts on this? Would be happy to help contribute wherever I can.","author":{"url":"https://github.com/hkennyv","@type":"Person","name":"hkennyv"},"datePublished":"2021-05-04T17:53:34Z","url":"https://github.com/realpython/python-guide/issues/1101"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:66e71a6d-813e-ac79-e2ad-6f678e4e136c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD9A:48D18:19ECC9B:2203D04:6B0676FF |
| html-safe-nonce | 5eb3dd214a65d05a8384ff7d826ad26794a59d525afb872c4ea6b65a727ae9ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDlBOjQ4RDE4OjE5RUNDOUI6MjIwM0QwNDo2QjA2NzZGRiIsInZpc2l0b3JfaWQiOiI3OTk0NzY3OTI3NDc4MjIwNTQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2086b0bd9005d30b5a55e5775a4e7249313bdc7d3344f27931304ec276928d35 |
| hovercard-subject-tag | issue:875697158 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/realpython/python-guide/1101/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2273913a24a3fa3ad9a18d62f0b89fb4118b247df68f9919778ea698513584eb/realpython/python-guide/issues/1101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2273913a24a3fa3ad9a18d62f0b89fb4118b247df68f9919778ea698513584eb/realpython/python-guide/issues/1101 |
| og:image:alt | Hi there, thank you for all the work put into this guide so far! Are there any discussions or plans to mention Poetry anywhere in this guide (I couldn't find any previous issues on this)? Rationale... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hkennyv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-preview |
| go-import | github.com/realpython/python-guide git https://github.com/realpython/python-guide.git |
| octolytics-dimension-user_id | 5448020 |
| octolytics-dimension-user_login | realpython |
| octolytics-dimension-repository_id | 1481305 |
| octolytics-dimension-repository_nwo | realpython/python-guide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1481305 |
| octolytics-dimension-repository_network_root_nwo | realpython/python-guide |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width