Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
make + pip + pip-tools
Search
Caio Carrara
August 03, 2019
Programming
0
67
make + pip + pip-tools
Slides da lighting apresentada no meetup Python Floripa na Hostgator
Caio Carrara
August 03, 2019
Tweet
Share
More Decks by Caio Carrara
See All by Caio Carrara
Pythonic OOP pt. 1
cacarrara
1
220
Python para web 101
cacarrara
1
94
Python @classmethod
cacarrara
0
130
Anti-patterns - o que são e como se livrar deles em Python
cacarrara
1
200
Distributed Systems of Microservices using Docker and Serfnode
cacarrara
0
120
Revisão de Código - Desafios, soluções e experiências
cacarrara
0
250
Viés Algorítmico
cacarrara
0
88
Pyramid e uma questão de interface
cacarrara
0
60
Tecnologia da Informação: carreira e mercado
cacarrara
1
86
Other Decks in Programming
See All in Programming
バイラテラルアップサンプリング
fadis
3
630
Cursor/Devin全社導入の理想と現実
saitoryc
29
22k
Ruby で作る RISC-V CPU エミュレーター / RISC-V CPU emulator made with Ruby
hayaokimura
5
1.2k
AIコーディングの本質は“コード“ではなく“構造“だった / The essence of AI coding is not “code” but "structure
seike460
2
550
設計の本質:コード、システム、そして組織へ / The Essence of Design: To Code, Systems, and Organizations
nrslib
10
3.9k
JAWS DAYS 2025 re_Cheers: WEB
komakichi
0
130
fieldalignmentから見るGoの構造体
kuro_kurorrr
0
140
SwiftDataのカスタムデータストアを試してみた
1mash0
0
150
オープンソースコントリビュート入門
_katsuma
0
150
Road to Ruby for A Linguistics Nerd
hayat01sh1da
PRO
0
380
AIコーディングの理想と現実
tomohisa
38
40k
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
580
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
430
Become a Pro
speakerdeck
PRO
28
5.3k
Designing for humans not robots
tammielis
253
25k
How to Think Like a Performance Engineer
csswizardry
23
1.6k
Statistics for Hackers
jakevdp
799
220k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Raft: Consensus for Rubyists
vanstee
137
6.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Bash Introduction
62gerente
613
210k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Transcript
1 / 20 make + pip + pip-tools caiocarrara.com.br
2 / 20 make + pip + pip-tools • Necessidade:
– Gerenciar dependências Python • Contexto: – Aplicações server side
3 / 20 make + pip + pip-tools Necessidade: Gerenciar
dependências Python Contexto: Aplicações server side ONLY
4 / 20 AVISO
5 / 20
6 / 20 make + pip + pip-tools • Princípios:
– Do one thing and do it well – DOTADIW (Unix) – Se apoiar no ombro de gigantes – Não perder ou complicar o controle das coisas – Manter as coisas o mais simples possível
7 / 20 make + pip + pip-tools • O
que eu quero: – Especificar e rastrear as dependências do meu projeto – (Re)Instalar as dependências
8 / 20 make + pip + pip-tools • O
que eu não quero: – Rodar scripts/programas Python – Criar pacotes Python para distribuir – Criar/editar/mexer no virtual environment
9 / 20 make + pip + pip-tools
10 / 20 make + pip + pip-tools • make
– Executar as ações/tarefas • pip – Instalar os pacotes Python • pip-tools – Ajudante para lock and sync
11 / 20 pip pip install [package] pip install django
pip install requests pip install pytest
12 / 20 pip
13 / 20 pip pip freeze > requirements.txt celery==4.3.0 Click==7.0
Django==2.2.4 requests==2.22.0
14 / 20 pip-tools requirements.in flask
15 / 20 pip-tools
16 / 20 make • Makefile
17 / 20 make • Makefile
18 / 20 make • Commands: make test make run
make shell make test-coverage
19 / 20 make + pip + pip-tools
20 / 20 Obrigado • Make – https://www.gnu.org/software/make/ • Pip
– https://pip.pypa.io/en/stable/ • Pip-Tools – https://github.com/jazzband/pip-tools caiocarrara.com.br speakerdeck.com/cacarrara