92 liens privés
This repository contains a pure python client library for Elitech data loggers (see Supported devices for a detailed list).
The information on the communication protocol used by Elitech data loggers (using the USB HID interface) has been obtained by reverse engineering the official Windows software using Ghidra (with an unpublished custom plugin to disassemble CIL).
FEATURES
python-elitech can be used in two ways:
- Using the embedded CLI (Command Line Interface) from a Linux shell, see Usage
- As a library of a larger application, see the documentation (yet to be done)
It supports the following operations:
- Locating supported Elitech devices
- Getting parameters
- Setting parameters
- Downloading recorded data
NGINX Log Stats
A multi-threaded, deep-search capable, full-featured, and intelligent NGINX log parser
Install
Run this command to install the package from pip: pip install nginx-log-stats
EasyWebDAV2: Is a fork of EasyWebDAV library with included pull requests and some additional fixes. A WebDAV Client in Python
Features
- Basic authentication
- Creating directories, removing directories and files
- Uploading and downloading files
- Directory listing
- Support for client side SSL certificates
Quick Start
import easywebdav2
# Start off by creating a client object. Username and
# password may be omitted if no authentication is needed.
webdav = easywebdav2.connect('webdav.your-domain.com', username='myuser', password='mypass')
# Do some stuff:
webdav.mkdir('some_dir')
webdav.rmdir('another_dir')
webdav.download('remote/path/to/file', 'local/target/file')
webdav.upload('local/path/to/file', 'remote/target/file')As a Python developer, it is handy to use third-party libraries that do the job you actually want instead of reinventing the wheel each time. In this tutorial, you will be familiar with the psutil module which is a cross-platform library for process and system monitoring in Python, as well as the built-in platform module to extract your system and hardware information in Python.
In the end, I'll show you how to extract GPU information (if you have one, of course) in Python using GPUtil.
There are quite popular tools to extract system and hardware information in Linux, such as lshw, uname and hostnamectl. However, we'll be using the psutil library in Python so it can run on all operating systems and get almost identical results.
This is a driver for MicroPython to handle cheap displays based on the ST7789 chip. The driver is written in C. Firmware is provided for ESP32, ESP32 with SPIRAM, pyboard1.1, and Raspberry Pi Pico devices.

Saving Scraped Data To Postgres Database With Scrapy Pipelines
If your scraping a website, you need to save that data somewhere. A great option is Postgres as it is a battletested database, trusted by thousands of companies to handle huge amounts of data.
In this guide, we will go through how to save our data to a Postgres database using Scrapy pipelines:
- What Are Scrapy Item Pipelines?
- Setting Up A Postgres Database
- Saving Data To A Postgre Database
- Only Saving New Data
First, let's go over what are Scrapy Item Pipelines.
![]()
microdot
The impossibly small web framework for Python and MicroPython
Microdot is a minimalistic Python web framework inspired by Flask. Given its
small size, it can run on systems with limited resources such as
microcontrollers. Both standard Python (CPython) and MicroPython are supported.
from microdot import Microdot
app = Microdot()
@app.route('/')
async def index(request):
return 'Hello, world!'
app.run()Sur l’ESP32 certaines broches sont reliées à l’ADC intégré du microcontrôleur. Un ADC est un convertisseur analogique vers numérique : il revoit une valeur numérique proportionnelle à la tension mesurée.

ESP8266-12E et ESP8266-07 ont une broche ADC facilement accessible. Cela signifie que ces cartes ESP8266 peuvent lire des signaux analogiques. Dans ce tutoriel, nous allons vous montrer comment utiliser la lecture analogique avec l’ESP8266 à l’aide du firmware Arduino IDE, MicroPython ou Lua.

Téléinfo compteur Linky
Ce script python permet de récupérer les informations de votre compteur linky via la liaison série du port usb. Les informations sont ensuite envoyées à Jeedom sur un Virtuel. Ce script a été réalisé pour un raspbery zero mais est facillement adaptable à pour un autre équipement.
CircuitPython
CircuitPython is a programming language designed to simplify experimenting and learning to code on low-cost microcontroller boards.
Bangle.js
Bangle.js 2 is an open, hackable smartwatch. With a sunlight-readable always-on screen, 4-week battery life, complete flexibility, and complete control of your data, Bangle.js 2 is a refreshing break from expensive smart watches.
You can install new apps from the web or develop your own using JavaScript. All you need is a Web Browser (Chrome, Edge, or Opera) and you can upload apps or write code to run on your watch wirelessly! Bangle.js is waterproof and comes with Bluetooth Low Energy, GPS, a heart rate monitor, accelerometer, magnetometer, pressure sensor, and more.
banglebang 🔔
Ever ran a wget in background, switched to your browser, and then forgot that you were downloading something at all? Or hate switching windows just to check if it's finished? This has come to an end with banglebang. It will take input from stdin (e.g by using a pipe, | ) and display it as notification on your Bangle.js.
curl -s https://example.com/file.zip | banglebang
If there is no message specified by stdin, the Bangle.js will display " BAM ". Please also notify that banglebang will only parse the first line of stdin, so you should filter (e.g by using an intermediate grep)
Python for LEGO hubs

Pybricks is Python coding for smart LEGO® hubs. Run MicroPython scripts directly on the hub, and get full control of your motors and sensors.
Complete compatibility

Pybricks runs on LEGO® BOOST, City, Technic, MINDSTORMS®, and SPIKE®. You can code using Windows, Mac, Linux, Chromebook, and Android.
Community supported

Pybricks is used by students, teachers, and hobbyists all around the world. It’s free, open source, and supported by a community of robotics experts.
Free and Open-Source CalDAV and CardDAV Server
Get Together is an open source event manager for local communities.
Try it free at https://gettogether.community
Goals
- Be feature-competitive with Meetup.com
- Allow multiple instances to share federated event data
- Provide sustainable, cost-effective hosting for FOSS communites
- Be developed and maintained by the communities using it
Stack
Le but de cet article est de fournir aux lecteurs une solution clé en main pour tester certains points de sécurité d'un matériel utilisant le protocole ZigBee. Dans un premier temps, nous présenterons le protocole ainsi que certaines de ses spécificités. Par la suite, quelques attaques possibles sont décrites et pour finir, un cas pratique est présenté.