Комментарии:
May I ask whats the type hinting in your command line? :)
Ответитьso does virtual env duh~?
ОтветитьVery good. Thanks for sharing your knowlage with us.
ОтветитьPersonally, I've not had much luck with poetry. It isn't deterministic. Sometimes it breaks in bad ways, and this has happened enough in a team environment that I've given up on it completely.
I'm looking for something other than poetry. Currently just using virtual environments, but I am waiting for the right solution to come along.
how your terminal suggests all arguments? I've already installed zsh and oh-my-zsh, but it does not suggest options.
Ответитьyooo what terminal is that that gives you suggestions like that?
Ответить"It will ask you a few question and generate..." a better tutorial would have shown these questions and responses.
Ответитьcan Poetry config in project setting be a default when setting up future projects?
ОтветитьIm having issues now , it says its not compatible with my python version: s
ОтветитьThis is a great video to understand the use of poetry. After this video, I find the official Poetry documentation making a lot of sense. Thank you!!
ОтветитьPoetry does not copy TCL into the virtual enviroment for use with tkinter. Is there a fix for this on windows
Ответитьpoetry + poethepoem = easy python development ❤
ОтветитьDoes anyone know what terminal setting he is using to get that green arrow and short clean path?
Ответитьnice content
ОтветитьVery cool! it's like Cargo but for Python :)
ОтветитьHow were you able to have a terminal as a tab in this video on vscode?
ОтветитьOMG all this time I thought that publishing a package was this high falutin magical thing that requires a Dinosaur be sacrificed to the ancient snake gods and then join the cult of Snake priests 🤣. Thank you 🙏 @arjanCodes for bringing python down to earth for this old noobie coder.
ОтветитьI am a beginner. how did you arrive in the environment(IDE OR FOLDER) you are using for installing poetry?
ОтветитьJust curious. Do poetry and dependabot work well together? I've read conflicting reports. I tried it on a test repo, and it seemed like dependabot recommended radical version changes in both pyproject.toml and poetry.lock, where poetry said "No dependencies to install or update"
ОтветитьArjan is it okay if I link to this video as a reference in a post I am writing about virtual environments (venv, renv, jail-rooted servers, etc.)?
Thank you for the excellent channel!
I adopted 'hatch' for package builds because it claims to more closely follow modern PEP standards, but after this video, and reading the comments that mention PDM, I am very confused about the best tool to use :S
ОтветитьThanks for introducing me to Poetry :)
ОтветитьHow do you manage multiple python interpreters with poetry? how do you install them and make sure, they don"t interact with the system installed interpreter?
ОтветитьHow did u make the command completion menu in terminal?
ОтветитьThis was really well explained.
Ответитьwhy do you prefer to have the environment inside your project?
but if you want to share the same virtualenv across multiple projects, then is it better to keep it at default?
Given that creating a virtualenv inside of each project ends up taking up more disk space, would it be possible to have multiple projects share the same environment? If so, where do you recommend to put the environment in that case?
I ran into an issue the moment I installed poetry. I'm pretty new to Python so I don't know what the issue is but no matter if I try in bash, powershell etc all poetry commands are not found. I tried adding it to the $PATH and nothing works. Any help would be appreciated but nothing has worked for me.
I tried it again on another computer (both use the Microsoft Python) and it worked perfectly but just doesn't work on this other laptop.
Can export a requirements.txt file for backward compatibility/docker containers:
`poetry export -f requirements.txt --output requirements.txt --without-hashes`
The metaverse joke was fire 😄
Ответить@arjancodes great video as always. I'm curious about how you have your terminal set up to get context aware autocomplete suggestions? E.g. the drop down like prompts that describe the rest of the commands and flags?
ОтветитьTHIS VIDEO MAKE MY LIFE EASIER. THANK YOU AEJAN.
Please can you make a video on the below problem ?
poetry project that uses a python version that needs to be updated, which means you have to manage multiple python version in your system and need to tell poetry to go from one version to another.
Thank you for this video. Do you know how to install / compile prophet using any of the virtual env tools? (for python 3.11.2)
ОтветитьI use Pycharm. A main reason is how it creates a new environment for me for each new project. VS Code needs an easier built in feature like Pycharm.
ОтветитьI used Poetry for a while but switched to PDM lately. It's pretty much the same experience but follows the Python PEP standards a little better (though has to sacrifice the nice version number operators), and I hear the dependency resolver is faster in many cases though that hasn't been an issue for me.
ОтветитьGreat video, but I don't understand why people don't use docker to virtualise the envs. If you are a dev, you probably already have docker installed on your machine. May be, don't reinvent the wheel lol. :) :D
ОтветитьGreat video!
I think some viewers may be confused with the "shell". The difference between "normal commands" and "shell commands" isn't that clear in the video.
Poetry's terrible default of putting an upper bound on python_requires and install deps has caused way too much grief in the packaging ecosystem.
ОтветитьGood video! I've been using poetry for some time now, and recently ran into the case where you have a poetry project that uses a python version that needs to be updated, which means you have to manage multiple python version in your system and need to tell poetry to go from one version to another. That would be a really good topic for another video as I see a lot of confusing information online about pyenv and poetry working together
Ответитьi use Pycharm as IDE, ¿need to change to VSCODE? Please @ArjanCodes, do a video of IDEs.
ОтветитьJust run this shell with nix. done
{ pkgs ? import <nixpkgs> {}}:
let
python-packages = p: with p; [
# Enter python library names here:
pandas
scipy
numpy
scikit-learn
sympy
pymoo
];
# Python interpreter with python-packages.
python-with-packages = pkgs.python3.withPackages python-packages;
# Common tools and dependencies.
common-utils = with pkgs; [ curl wget gcc ];
# Make shell with common tools/dependencies and python environment.
in pkgs.mkShell {
packages = common-utils ++
[ python-with-packages ] ++
# Put other packages here: e.g:
(with pkgs; [
# pandoc
# jq
# jp
# yq
]);
}
hey can you tell how do you use intelli sense like code suggestion in your terminal when you type python commands ?
Ответитьin 2023, use docker/container or still virtualenv?
ОтветитьToo much talk and making something simple hard.
ОтветитьI do have to say the idea behind the project is a great idea but breaking the way people uses packages is a complete no go ( In my eyes they want to fix something there arent broken and force people in their closed eco system ).
Like for me I often needs deferens versions on my system so for me conda is in my eyes a better choice since it deals with the virtual environments, supports multiple python versions for individual environments, supports the default way to install packages into the environments ( pip from within the environments ), and best of all dont force others there is using your package if you share it into a specific closed eco system
I like pip-compile (from pip-tools) for the simplicity and keeping with the de facto requirements.txt file.
ОтветитьFor a quite big project we are going to build about 50-100 packages, some larger or more complicated then others. Would it be a good practice to create a project and a venv. for each package we build? And is there a good way to host them privately, and have a way to use these packages to build our applications
ОтветитьHow do you deploy an application built with poetry, e.g. what do I have to do if I want to containerise it?
ОтветитьLove the videos & quality work you put into them. Could you at some point do some examples, such as: wave function collapse, etc ...?
Ответить