261 liens privés
Bibliothèque Python destinée à détecter des faux articles scientifiques, c'est à dire des articles générés par Scigen et Mathgen, deux générateurs automatiques de publications scientifiques
code publié sous licence GNU GPLv3 sur le dépôt Gitlab de l'Université de Grenoble: https://gricad-gitlab.univ-grenoble-alpes.fr/alphee/pyscidetect
découvert via les EchoDocs
Pour manipuler des données en SQL dans des scripts Python
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
projet DIY sympa à essayer de reproduire (publié sous licence CC BY-NC-SA le 24 fév. 2020, màj le 17 nov. 2021)
Compter les participant·e·s à l'aide de puces RFID et d'un système basé sur un Raspberry Pi :-)
code SQL: https://gist.github.com/sarful/ac24554b9e07e4d06c05c23c3f71d222
code Python: https://gist.github.com/sarful/3e015f5f7d194ffc8a2186aed3ad9ce1
code Python alternatif: https://gist.github.com/sarful/7b5b6aa1d9c1ca9e1f8fda4591436de0
Disponible aussi sur Instructables: https://www.instructables.com/How-to-Build-Raspberry-Pi-RFID-Attendance-System/ (CC BY-SA, màj 14 mai 2021)
bibliothèque de fonction permettant d'utiliser les touches du clavier comme input
dans un code Python (par exemple pour piloter un Raspberry Pi)
code challenges en Python, Javascript et Java proposés par Codecademy
À tester !
Documentation pour produire des graphiques radar, bien utiles quand il s'agit de traiter des critères multidimensionnels (lesquels me paraissent particulièrement adaptés pour représenter des situations complexes)
À tester !
cheatsheet claire et bien utile pour Python
bibliothèque Python pour intégrer des données dans une page web
Generate an easy-to-use UI for your ML model, function, or API with only a few lines of code. Integrate directly into your Python notebook, or share a link with anyone.
découvert sur Towards Data Science
cheatsheet pour Python avec les méthodes pour les list
et les dict
que j'ai tendance à confondre
Reproduction du Gapminder d'Hans Rosling & Co. à l'aide de Bokeh, bibliothèque Python de visualisation interactive de données
implémentation de Python destiné au monde des microcontrôleurs
[...] a fork of MicroPython maintained by Adafruit Industries. CircuitPython's goal is to lower the barrier to entry for beginner programmers, so the Adafruit team have decided to sacrifice some functionality in exchange for simplicity. (p. 29)
LEIGH, Helen, 2020. Python on Hardware. In : Make:. Fall 2020. Vol. 74, p. 28‑34.
implémentation de Python destiné au monde des microcontrôleurs
[...] created by Damien George for the STM32 chip but now popularly used by both the BBC micro:bit as well as the ESP32. MicroPython is a direct translation of Python with its own interpreter. (p. 29)
LEIGH, Helen, 2020. Python on Hardware. In : Make:. Fall 2020. Vol. 74, p. 28‑34.
Tout est dans le titre...
... à part le fait que les gif animés sont trop bien ! :-D
- Markdown Conversion: you can easily produce markdown tables as a result of a Pandas DataFrame operation. You will need one additional library though, called
tabluate
. - NA Scalar: Pandas finally got a scalar for representing missing values
- String Data type: Until now we only had object datatype to deal with anything not numeric, and it could be problematic [...]. Just like pd.NA this is still considered experimental, meaning it is prone to change without warning.
cheatsheet Python
Python build-in functions
read()
: reads from the file based on the number of bytes.
readline()
: reads the entire line if no arguments are passed
readlines()
: reads all the lines or remaining lines from the file
Python csv library
csv.reader()
: reads all lines in the given file
csv.DictReader()
: if the file has headers (normally the first row that identifies each filed of data), this function reads each line as a dict
with the headers as keys
Import data using Pandas
pd.read_csv()
: reads a csv file into DataFrame
pd.read_excel()
: reads an excel file into DataFrame
Options for importing large size data
dask.dataframe()
: large parallel DataFrame composed of many smaller Pandas DataFrames, split along the index
datatable
: a Python package for manipulating big 2-dimensional tabular data structures (aka data frames, up to 100GB)
data and notebook can be accessed from my Github
Moteur libre (licence MIT / LGPL) de création de jeux sous forme d'histoires visuelles (visual novel) interactives mélangeant textes, images et sons
Cette vidéo introductive est très utile pour commencer: https://invidio.us/watch?v=XprVZAtPqDI
À tester !
découvert grâce à Korben
Bibliothèque Python permettant de créer des figures interactives
À tester !
Pour avoir un aperçu en 5 minutes: https://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blob/master/quickstart/quickstart.ipynb