Services Blog Français

Process controller

| by jpic | python best-practice automation
https://github.com/thommignot/processcontroller/blob/master/processcontroller/__init__.py How Thomas Mignot, YourLabs hacker, re-implemented pexpect in 2018 with less than 100 SLOCs. Sorry for windows support, it’s not part of our plans. “Expect” a release in the following days (pun intended).

Getting started with Elm

| by jpic | elm
This article was created by Thomas Binetruy as he’s into R&D around Elm for YourLabs but maybe it will help you too ! Introduction In this short tutorial, we create a basic counter application that changes the title color based on the counter value. We first define our state model, its transitions, and finally our view - function of our current application state. Setup code Here are the necessary imports: Read More

clilabs 1.1.1 release

| by jpic | django python best-practice
Clilabs now benefit a new command that automates a series of 3 lines that’s I’ve been typing over and over again during 10 years of Django hacking. $ clilabs help +django:settings Setting up django has failed ! DJANGO_SETTINGS_MODULE env var not set ! Show settings from django. How many times have you done the following ? python manage.py shell from django.conf import settings settings.DATABASES # or something Well it’s over now ! Read More

Quote post

| by jpic | best-practice
jpic, h4x0|2 & founder @ YourLabs Phase 1: believe the world is waiting for you, Phase 2: realize the world is not waiting for you, Phase 3: stop waiting for the world.

clilabs: the Python CLI to get things done, with Django support

| by jpic
Sometimes I want to execute a python callback with some args on the command line, but i get frustrated that it always requires to wrap my command in a wrapper of some sort. Then, I want to do generic CRUD operations from the command line in my automation tool. Clilabs unfrustrates me. Get started: $ pip install clilabs $ clilabs clilabs automates python callables parametered calls. Things starting with - will arrive in clilabs. Read More

djcli: the new Django automation CLI command

| by jpic | python django devops
djcli is the package , a new CLI under design phase, it is a simple python package, that provides a command with name djcli, to do more with Django on the CLI: $ pip install djcli find the content for this variable in your project manage.py $ export DJANGO_SETTINGS_MODULE=your.settings you will probably run this from your directory parent to manage.py: $ djcli create auth.user username=pony is_superuser=1 i just checked and chpasswd command in django supports only interactive $ djcli chpasswd /path/to/password username=pony Read More

Extreme devops

| by jpic | python django best-practice devops playlabs
“Extreme DevOps” screenshot, where you see branchname == lastbuildjobname, designed for dynamic environments, demonstrates auto-deploy an environment per push on a subdomain with the branch name. From betagouv/MRS#636, with PlayLabs, currently in Alpha stage.
Previous Page 8 of 32 Next Page

They trust us

Contact

logo