The BEST Tool to Manage Python Dependencies

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 14

  • @cheesepie4ever
    @cheesepie4ever Год назад +3

    Thank you! I was a bit hesitant to use poetry because it adds more abstraction and I am not accustomed to it, but this has outlined the advantages well! Thank you

  • @yash1152
    @yash1152 7 месяцев назад +1

    0:43 conda: limited packages, limited versions, doesn't work with pip, manages system
    wait, the whole point of conda is being able to use the deps u can't compile? so, pypi based repos are straight out of the question...

  • @DeeliN-zzl
    @DeeliN-zzl 10 месяцев назад

    Thanks for the comparison, despite the outlined pros, I would like to keep using conda (in fact mamba). Mamba installs some large non-Python packages rather smoothly, and I don't really care about the "unnecessary" dependencies it may cause. After all, poetry is less popular and much younger, chances of encountering new error seem to be higher.

  • @MilindMishra
    @MilindMishra Год назад +2

    great feat! thanks for the information! appreciate the efforts.

  • @txreal2
    @txreal2 Год назад +1

    I've been following your helpful Python related articles on LinkedIn.
    As a beginner, I've been using conda.
    So to use poetry, I would need to rebuild my environments?
    Thanks, David

    • @datasciencesimplified
      @datasciencesimplified  Год назад +1

      Thank you for following my content! Yes, you will need to rebuild your environment.
      If there are many dependencies in your environment, I would:
      - Use pipreqs (pypi.org/project/pipreqs/) to gather dependencies in your project to a requirements.txt file
      - Copy those dependencies to the pyproject.toml file (I suggest relax the versions of these dependencies)
      - Run poetry install

    • @txreal2
      @txreal2 Год назад

      @@datasciencesimplified Thanks. Keep up the good work Khuyen.

  • @mellowyellowmusic8143
    @mellowyellowmusic8143 10 месяцев назад

    This was awesome!

  • @NikkiSatmaka
    @NikkiSatmaka 4 месяца назад

    With conda, you need to use conda-forge

  • @tinlu4137
    @tinlu4137 Год назад

    Rye is good

  • @SigmaScorpion
    @SigmaScorpion Год назад

    Poetry is good but, I am sticking with pipenv ... thats also great