Simple python rnd project manager: tas
Tas lets you easily create new projects from template, automatically install requirements, run env and commit (coming soon!) with one command.
tas does...
- create projects from template
- download additional files to project if needed
- manage requirements and env
- run jupyter
tas does not but should...
- interactive template creation
- git integration
- support windows
- support conda
- support zeppeline
Installation osx/linux
- get python package
$ pip install tas
-
Add tas to your env variables
-
Zsh note: Modify your
~/.zshrc
file instead of~/.bash_profile
. -
Ubuntu and Fedora note: Modify your
~/.bashrc
file instead of~/.bash_profile
.
-
Zsh note: Modify your
echo 'alias tas="python -m tas"' >> ~/.bash_profile
-
Restart your shell so the path changes take effect.
$ exec "$SHELL"
Key concepts of tas:
- Namespace is a directory with projects (default one is
~/Documents/tas_projects
) - Template is a number of steps to perform when starting new project (folders, env, requirements, submodules that used in your team)
- path = PosixPath standard
- Name - uninque (in one namespace) string
Usage:
- Create
new
project
tas new mega_project
-
run
existing project
tas run mega_project
-
list
objects (a
-all,p
-projects,n
-namespace,t
-templates)
tas list a
-
del
objects (n
-namespace,p
-projects)
tas del mega_project -t p
-
set
settings value (-ns
namespace) For now only for namespaces, lets change default path
tas set default /home/user/Documents/company_name
New namespace:
tas set company_name /home/user/Documents/company_name
- Run project in not default ns:
tas run mega_project -ns company_name
Default template:
here should be a motivation behind the default template
Thanks
- pyenv creator for the idea of simplicity