Mind map
Estrutura 1 projeto Python

Map content
Estrutura 1 projeto Python
Criar ambiente virtual
- virtualenv -p python.exe env_metamap
- virtualenv -p python.exe env_metamap
Criar estrutura de diretórios
Imports libs essenciais
- pandas
- jupyter
- habilitar kernel com env
- ipython kernel install --user --name=venv
- ipython kernel install --user --name=venv
- habilitar kernel com env
- atualizar o pip
- python.exe -m pip install --upgrade pip
- python.exe -m pip install --upgrade pip
Desenvolver
- Cabeçalho no script
- #!caminho env #utf8
- usar docstring para documentação
- Cabeçalho no script
Gerar arquivo requirements para nova implantação
- pip freeze > requirements.txt
- Para gerar um arquivo com as dependencias executar o comando: pip freeze > requirements.txt, vai ser criado no diretório corrente
- pip install -r requirements.txt
- para instalar um novo ambiente e suas respectivas dependencias
- pip freeze > requirements.txt
Criar projeto no git
Images and files in the map
Information
- Description
- Um dos padrões para criação de projeto em Python.
- Created by
- Luiz Perciliano
- Views
- 42
- Tags
- Rating