Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pipenv, is it still useful?
#4
(Jun-04-2023, 06:55 AM)LandonJPGinn Wrote: Any recommendations? Is venv and poetry the only options? Are there any rust based venv tools (not rustenv, but a pipenv equivalent written in rust)
Rye look promising.
I have tested it out and really like decision that Armin Ronacher has made.
Look at Philosophy and Vision.
Quote:
  • No System Python: I can't deal with any more linux distribution weird Python installations or whatever mess there is on macOS.
    I used to build my own Pythons that are the same everywhere, now I use indygreg's Python builds.
    Rye will automatically download and manage Python builds from there.
    No compiling, no divergence.

  • No Default Dependencies: the virtualenvs when they come up are completely void of dependencies.
    Not even pip or setuptools are installed into it. Rye manages the virtualenv from outside the virtualenv.

  • Project Local Shims: Rye maintains a python shim that auto discovers the current pyproject.toml and automatically operates below it.
    Just add the shims to your shell and you can run python and it will automatically always operate in the right project.

For small stuff i just use venv as is build into Python.
Poetry is the ok,and if want to make package distribute to PyPi it dos a lot of the ground work for you.

For larger stuff like eg ML,AI stuff that can install i have seens up to 100 packages(should not try to install that on default OS Python).
Then is Conda is good and use it trough Miniconda.
So Conda can build a environment with complete Python/pip version,as eg Rye do.
So eg this command will install complete Python 3.10.8 with pip and othert stuff like eg Editor(Spyder) and Jupyterlab to own environment.
conda create --name myenv conda jupyterlab pandas spyder python=3.10.8
Reply


Messages In This Thread
pipenv, is it still useful? - by LandonJPGinn - Jun-04-2023, 06:55 AM
RE: pipenv, is it still useful? - by jefsummers - Jun-04-2023, 11:41 AM
RE: pipenv, is it still useful? - by LandonJPGinn - Jun-04-2023, 04:14 PM
RE: pipenv, is it still useful? - by snippsat - Jun-05-2023, 11:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Pipenv mohammadasadi4 0 327 Jan-15-2024, 10:35 AM
Last Post: mohammadasadi4
  Libraries installed with pipenv, but ModuleNotFoundError returned jpncsu 2 3,077 Sep-06-2021, 07:24 PM
Last Post: jpncsu
  setting up pipenv tobiasfw 1 2,044 Jan-13-2021, 05:46 PM
Last Post: buran
  Managing dependencies with pipenv t4keheart 6 3,011 Aug-05-2020, 12:39 AM
Last Post: t4keheart
  pipenv install command getting errors on WSL/Ubuntu sheridanrea 0 3,192 Sep-14-2018, 06:40 AM
Last Post: sheridanrea

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020