Le moment tech Août 2020

moment_tech août 11, 2020

Dans le cadre de leur veille, les développeurs d'Anybox mettent en lumière les bibliothèques et autres outils python, mais pas que.

django-pgtrigger provides primitives for configuring Postgres triggers on Django models.
Models can be decorated with pgtrigger.register and supplied with pgtrigger.Trigger objects. These will automatically be installed after migrations. Users can use Django idioms such as Q and F objects to declare trigger conditions, alleviating the need to write raw SQL for a large amount of use cases.#django #postgresql

Djangoi-pgtrigger

Do you know how much your computer can do in a second? Let's find out how well you know computers! All of these programs have a variable NUMBER in them. Your mission: guess how big NUMBER needs to get before the program takes 1 second to run.

Do you know how much your computer can do in a second?

django-unmigrate, smart reversion of Django migrations based on Git diff. If you are in a complex Django project, sometimes you will find yourself switching between multiple branches, some of which can add a number of database migrations. Before switching back to master you will have to unapply all migrations that are specific to the current branch. In order to unapply these, you will have to enter the migration that comes right before the first migration of the current branch. If two or more apps are involved, you will have to do that for each one of them. #django

Teleport, Gravitational Teleport is a modern security gateway for remotely accessing :

  • Clusters of Linux servers via SSH or SSH-over-HTTPS in a browser.
  • Kubernetes clusters.

It is intended to be used instead or together with sshd for organizations who need:

  • SSH audit with session recording/replay.
  • Kubernetes API Access with audit and kubectl exec recording/replay.
  • Easily manage trust between teams, organizations and data centers.
  • Have SSH or Kubernetes access to behind-firewall clusters without any open ports.
  • Role-based access control (RBAC) for SSH protocol.
  • Unified RBAC for SSH and Kubernetes.

#devops

Nous pouvons désormais codé des plugins pour traefik #devops

Traefik

alive-progress,ever found yourself in a remote ssh session, doing some lengthy operations, and every now and then you feel the need to hit enter just to ensure you didn't lose the connection? Ever wondered where your processing is in, and when will it finish? Ever needed to pause the progress bar for a while, return to the python REPL for a manual inspection or fixing an item, and then resume the process like it never happened? I did...#python

Alive-progress

SQLAlchemy 2.0 dans les starting block: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html #python

Rust partout, justice nulle part :

Inquest lets you add log statements to python without restarting your python instance. It helps you quickly uncover what is going wrong. #python #logging

Inquest

selenium-page-factory 2.0 pour être un peu moins verbeux sur le pattern page objects de selenium #python #tests

cdk8s is a software development framework for defining Kubernetes applications and reusable abstractions using familiar programming languages and rich object-oriented APIs. cdk8s generates pure Kubernetes YAML - you can use cdk8s to define applications for any Kubernetes cluster running anywhere. kubernetes #python #typescript

cdk8s

Standup Raven, A Mattermost plugin for communicating daily standups across teams

Rector is a reconstructor tool - it does instant upgrades and instant refactoring of your code. Why refactor manually if Rector can handle 80% of the task for you? #php

Act , Run your GitHub Actions locally! Why would you want to do this? Two reasons:

  • Fast Feedback - Rather than having to commit/push every time  you want to test out the changes you are making to your  .github/workflows/ files (or for any changes to embedded GitHub  actions), you can use act to run the actions locally. The environment  variables and filesystem are all configured to match what GitHub  provides.
  • Local Task Runner - I love make. However,  I also hate repeating myself. With act, you can use the GitHub Actions  defined in your .github/workflows/ to replace your Makefile!

#github #ci

Mots clés

Delphine Lemire

Je vous accompagne dans votre usage de Odoo.

Super ! Vous vous êtes inscrit avec succès.
Super ! Effectuez le paiement pour obtenir l'accès complet.
Bon retour parmi nous ! Vous vous êtes connecté avec succès.
Parfait ! Votre compte est entièrement activé, vous avez désormais accès à tout le contenu.