Simple Dependency Management for Python 3 Projects using pip and virtualenv
Project description
This is a simple dependencies manager for Python 3 that creates an isolated virtual environment for your project. Just add your dependencies into the caos.json config file and use some console commands to run your projects.
Please take a look at our full documentation for how to install and use caos:
- GitHub page: https://github.com/ospinakamilo/caos/
caos.json
{
"require":{
"numpy": "latest",
"flask": "1.1.1"
},
"tests" : "./tests",
"main": "./src/main.py"
}
Caos console commands:
~$ caos --help #Get a similar set of instructions to the ones shown here
~$ caos --version #Display the current installed version
~$ caos init #Create the caos.json file in the current directory
~$ caos prepare #Set up a new virtual environment
~$ caos update #Download the project dependencies into the virtual environment
~$ caos check #Validate the dependencies have been downloaded
~$ caos test #Execute all the unit tests available using the unnittest framework if the path is specified in the caos.json file
~$ caos unittest ./path/with/unittests #Execute all the unit tests available in the given path
~$ caos run #Run the main script of the project
~$ caos python ./my_script.py #Execute an script with the virtual environment python binary
~$ caos pip install numpy #Use pip from the virtual environment to install a package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
caos-1.4.2.tar.gz
(10.3 kB
view hashes)
Built Distribution
caos-1.4.2-py3-none-any.whl
(20.0 kB
view hashes)