Skip to content

Demo: use nbdev to create a CLI script for Python env mgmt.

License

Notifications You must be signed in to change notification settings

tkukurin/pygenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygenv

Mainly a way to test the nbdev experience but also answering this question:

For folks that don’t use conda, how do you debug problems that only occur on some particular Python or CUDA version?

With conda, I have a few envs set up with various python and CUDA versions, so I just activate one and get to work.

With something like uv, what do you do?

Usage

Installation

Install latest:

$ pip install git+https://github.com/tkukurin/pygenv.git
# or
$ conda install -c tkukurin pygenv
# or
$ pip install pygenv

Documentation can be found hosted on this GitHub repository’s pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.

Developer Guide

Install pygenv in Development mode

# make sure pygenv package is installed in development mode
$ pip install --upgrade -e '.[dev]'
# ... make changes under nbs/ directory ...
# compile to have changes apply to pygenv
$ nbdev_prepare

About

Demo: use nbdev to create a CLI script for Python env mgmt.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published