Tech Insights
Lessons we’ve learned while working on real projects
accessibility
accessibility
agile
agile
ai
ai
api
api
architecture
architecture
aws
aws
career
career
celery
celery
communication
communication
concurrency
concurrency
css
css
data
data
database
database
db
db
debug
debug
design
design
design system
design system
development
development
devops
devops
django
django
docker
docker
documentation
documentation
figma
figma
frontend
frontend
git
git
html
html
javascript
javascript
js
js
leadership
leadership
management
management
metrics
metrics
ml
ml
orm
orm
performance
performance
postgres
postgres
process
process
product
product
product design
product design
python
python
react
react
redux
redux
research
research
security
security
software
software
sql
sql
sre
sre
test
test
testing
testing
tests
tests
typescript
typescript
ui
ui
ux
ux
web
web
workflow
workflow
<p>If you have pure functions called multiple times you should try it functools.lru_cache</p>
↗
Anderson Resende
Nov 25, 2017
Topics:
functional, python
<p>Find bottlenecks by benchmarking your tests with pytest-benchmark </p>
↗
https://github.com/ionelmc/pytest-benchmark
Carlos Coelho
Nov 16, 2017
Topics:
pytest, python, testing
<p>An instant JSON API for your SQLite databases: </p>
↗
https://github.com/simonw/datasette
Flávio Juvenal
Nov 16, 2017
Topics:
python, sql, sqlite
<p>Dropbox releases PyAnnotate - auto-generate type annotations for mypy: </p>
↗
http://mypy-lang.blogspot.com.br/2017/11/dropbox-releases-pyannotate-auto.html
Flávio Juvenal
Nov 16, 2017
Topics:
mypy, python, typing
<p>If using <code>get_or_create</code> don't forget to make use of <code>defaults</code> parameter</p>
↗
Carlos Coelho
Nov 16, 2017
Topics:
django, python
<p>Use python freezegun lib to freeze your dates when making tests</p>
↗
https://github.com/spulec/freezegun
Anderson Resende
Nov 9, 2017
Topics:
python, test
<p>webpreview - Extracts OpenGraph, TwitterCard and Schema properties from a webpage </p>
↗
https://github.com/ludbek/webpreview
Flávio Juvenal
Nov 6, 2017
Topics:
facebook, library, python, schema, twitter
<p>statically: compiles a python function with cython using only a decorator - </p>
↗
https://github.com/AlanCristhian/statically
Flávio Juvenal
Nov 2, 2017
Topics:
cython, optimization, performance, python
<p>How to make your code 80 times faster with PyPy: </p>
↗
https://morepypy.blogspot.com.br/2017/10/how-to-make-your-code-80-times-faster.html
Flávio Juvenal
Nov 2, 2017
Topics:
optimization, performance, pypy, python
<p>Dramatiq: alternative to Celery and RQ: </p>
↗
https://dramatiq.io/motivation.html
Flávio Juvenal
Nov 2, 2017
Topics:
celery, python, rq, tasks
<p>Use <code>TerminalIPythonApp</code> %lprun to run line_profiler in ipython: #line_profiler</p>
↗
https://github.com/rkern/line_profiler
Flávio Juvenal
Oct 27, 2017
Topics:
optimization, python
<p>Python Graph Gallery: </p>
↗
https://python-graph-gallery.com/
Flávio Juvenal
Oct 16, 2017
Topics:
charts, data, dataviz, graphs, python
<p>Consistent Selenium Testing in Python </p>
↗
https://chrxs.net/articles/2017/09/01/consistent-selenium-testing/
Flávio Juvenal
Sep 28, 2017
Topics:
python, selenium
<p>Underscores have many different meanings in Python </p>
↗
https://dbader.org/blog/meaning-of-underscores-in-python
Filipe Ximenes
Sep 27, 2017
Topics:
python
<p>What are the Python packaging options? Check "The Packaging Gradient" talk: </p>
↗
https://www.youtube.com/watch?v=iLVNWfPWAC8
Flávio Juvenal
Sep 19, 2017
Topics:
packaging, python
<p>Use corresponding serializer classes for different request methods in DRF </p>
↗
https://medium.com/@unpluggedcoder/use-corresponding-serializer-class-for-different-request-method-in-django-rest-framework-ce0efc04045d
Carlos Coelho
Sep 14, 2017
Topics:
django, Django Rest Framework, python
<p>Use pygmentize to generate syntax highlighted code for presentations: </p>
↗
https://news.ycombinator.com/item?id=15222281
Flávio Juvenal
Sep 12, 2017
Topics:
python, syntax
<p>The Incredible Growth of Python </p>
↗
https://stackoverflow.blog/2017/09/06/incredible-growth-python/
Flávio Juvenal
Sep 8, 2017
Topics:
python
<p>A Human's Ultimate Guide to setup.py: </p>
↗
https://github.com/kennethreitz/setup.py
Flávio Juvenal
Sep 4, 2017
Topics:
packaging, pip, python, setup
<p>A Data-Driven Approach to Cryptocurrency Speculation </p>
↗
https://blog.patricktriest.com/analyzing-cryptocurrencies-python/
Flávio Juvenal
Aug 31, 2017
Topics:
bitcoin, cryptocurrency, data, python
<p>If a dependency is always present for a given Python version but needs to be installed for another, use environment markers in your <code>requirements.txt</code> #environment-markers</p>
↗
https://www.python.org/dev/peps/pep-0508/
Carlos Coelho
Aug 30, 2017
Topics:
dependency management, python, requirements
<p>usaddress: a Python library for parsing unstructured address strings into address components: </p>
↗
https://github.com/datamade/usaddress
Flávio Juvenal
Aug 24, 2017
Topics:
library, nlp, python
<p>Custom context managers in Python unit tests for better fixtures: </p>
↗
https://medium.com/@hakibenita/how-we-replaced-dozens-of-test-fixtures-with-one-simple-function-bac73bfc277d
Flávio Juvenal
Aug 19, 2017
Topics:
python, test
<p>Does Code Quality Really Matter? (Answer: Yes, but the details are complex) </p>
↗
https://www.youtube.com/watch?v=QuTmLeWL3C0
Flávio Juvenal
Jul 31, 2017
Topics:
code, python, quality
Previous
Next
Clients
Services
Blog
About Us
Careers
Let's talk