Mindmap
Estrutura 1 projeto Python

Inhalt der Mindmap
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
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Um dos padrões para criação de projeto em Python.
- Erstellt von
- Luiz Perciliano
- Aufrufe
- 42
- Tags
- Bewertung