Help shape GoConqr. What should we add next?

Mind map

Estrutura 1 projeto Python

Luiz Perciliano Python Concursos Públicos Portuguese

Estrutura 1 projeto Python

Map content

Estrutura 1 projeto Python

  1. Criar ambiente virtual

    • virtualenv -p python.exe env_metamap
    • virtualenv -p python.exe env_metamap
  2. Criar estrutura de diretórios

  3. Imports libs essenciais

    • pandas
    • jupyter
      • habilitar kernel com env
        • ipython kernel install --user --name=venv
        • ipython kernel install --user --name=venv
    • atualizar o pip
      • python.exe -m pip install --upgrade pip
      • python.exe -m pip install --upgrade pip
  4. Desenvolver

    • Cabeçalho no script
      • #!caminho env #utf8
    • usar docstring para documentação
  5. 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
  6. Criar projeto no git

Images and files in the map

  • Estrutura 1 projeto Python

Information

Description
Um dos padrões para criação de projeto em Python.
Created by
Luiz Perciliano
Views
42
Tags
pythonpipjupytervenv
Rating

Feedback

What is it about?

What should we add next?