Skip to main content

Show informations about project, python, pip, libraries and OS

Project description

Easy env

    ______                
   / ____/___ ________  __
  / __/ / __ `/ ___/ / / /
 / /___/ /_/ (__  ) /_/ / 
/_____/\__,_/____/\__, /  
                 /____/   
    ______           _                                       __ 
   / ____/___ _   __(_)________  ____  ____ ___  ___  ____  / /_
  / __/ / __ \ | / / / ___/ __ \/ __ \/ __ `__ \/ _ \/ __ \/ __/
 / /___/ / / / |/ / / /  / /_/ / / / / / / / / /  __/ / / / /_  
/_____/_/ /_/|___/_/_/   \____/_/ /_/_/ /_/ /_/\___/_/ /_/\__/  

é uma ferramenta de CLI para preparar o ambiente de desenvolvimento e reprodução para projetos de data science/ machine learning/ deep learning.

Features

  • instala os pré-requisitos no S.O
  • instala o Python3
  • instala virtualEnv
  • install Pipenv
  • Delete all compiled Python files
  • Apply Lint using flake8
  • Test if environment contains Python3
  • Running on virtual environment
  • Running on isolation environment
  • [ ]
  • [ ]
  • [ ]

Which diference to Anaconda ?

  • Anaconda need extended dependencies
  • Anaconda dont install pré-requisitos no S.O
  • Anaconta dont apply linter
  • Anaconda dont generate file with configuration environment
  • Anaconta dont tree in each project

Running

  1. Local
  2. Development: Virtual Environment
  3. Deploy: Container

Running in Local

  • Install Python Dependencies, Test python environment and Delete all compiled Python files.
sudo make

# Available rules:

# clean               Delete all compiled Python files
# lint                Lint using flake8
# prereq              Install Python Dependencies
# test_environment    Test python environment is setup correctly
make prereq
make test_environment
make clean
  • Install the libraries
pip3 install -r virtualenv_requirements.txt # libs necessary to prepare virtual environment
pip3 install -r requirements.txt            # libs necessary in notebooks

Running in Virtual Environment

  • Create virtual environment
bash create_virtual_env.sh
  • Activate this semi-isolated environment
source venv/bin/activate
  • Install the libraries
pip3 install -r virtualenv_requirements.txt # libs necessary to prepare virtual environment
pip3 install -r requirements.txt            # libs necessary in notebooks
pipenv --python 3 # libs necessary to prepare virtual environment
pipenv install -e pipefile

Running in Container

  • Necessary be in home this project
name_project=$(basename "$(pwd)")
echo $name_project
sudo docker build --no-cache -t $name_project -f src/environment/container/Dockerfile .
sudo docker run -it -p 8888:8888 $name_project

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

showenv-0.1.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

showenv-0.1-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page