1 private link
Je pose ça là.
Genre, j'aime beaucoup le select(c for c in Customer if sum(c.orders.price) > 1000)
qui devient
SELECT "c"."id"
FROM "customer" "c"
LEFT JOIN "order" "order-1"
ON "c"."id" = "order-1"."customer"
GROUP BY "c"."id"
HAVING coalesce(SUM("order-1"."total_price"), 0) > 1000
Plus qu'à dégager psycopg2-parce-que-c'est-pas-lisible-bourdayl
So long, Guido
Oh mais ça a l'air tout mignon, ça...
Faudra aussi voir comment les envoyer vers nagios et greylog. Pour demain, entre deux réunions.
Ooooh! Comment consommer une API json en 2-2 avec des structs générées dynamiquement. Plus joli que d'accéder aux clés d'un dictionnaire.
It boils down to this. An upgrade costs money, sometimes a lot of money, but the result has no visible outcome. In fact, in many cases the only outcome is an assurance that you've reduced the probability of attack, intrusion, breach and related unpleasantness. By any measure, that's a tough...
Pour dégager le spellcheck dans pycharm
Un module de tableau de bord pour Django.
Dieu que c'est beau.
Sous le coude, pour manipuler les listes en Python
Le nouveau standard recommandé sur python.org (il paraît).
On adopte?
statically - Compiles a python function with cython using only a decorator.
Python implementation of the Circuit Breaker pattern.
Pour éviter de tout casser quand un pot d'intégration est mort.
Voir aussi ici. En lien avec des ETL. Pas tout lu. Cela a l'air sympa.
Intégration d'un projet Django dans PyCharm...
A essayer (et la licence PRO a l'air alléchante aussi :) )
Python 3 is awesome. Upgrade today!
Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It’s the “Command Line Interface Creation Kit”. It’s highly configurable but comes with sensible defaults out of the box.
GraphQL was introduced by Facebook in February 2015, and at first what I didn't quite get is how adding this layer of abstraction into my web application would be any helpful and useful. We’ve been offered to rewrite everything in a new way when we’ve just got used to using REST API. But when I became more familiar with it, I clearly understood that GraphQL is the future of web development, and let me explain why.
Make sure to craft your code carefully as you write it because your future self will have a much more difficult time cleaning it up than you will right now. So take that line of code you just wrote and carefully add line breaks to it.