# patched pandas-ai working with llm module
pip install -e . ../Developer/pandas-ai
# patched llm-mistral that supports `.key` to pass creds
pip install git+https://github.com/abulte/llm-mistral.git@patch-1
echo "export MISTRAL_API_KEY=xxx" > .envrc
direnv allow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Based on work by Klaus M Pfeiffer at http://blog.kmp.or.at/2012/05/build-your-own-raspberry-pi-image/ | |
# you need to do: "sudo apt-get install binfmt-support qemu qemu-user-static debootstrap kpartx lvm2 dosfstools" | |
# run with "sudo bootstrap.sh /dev/sd[x]" | |
echo "Use like: sudo bootstrap.sh /dev/sd[x]" | |
#deb_mirror="http://ftp.debian.org/debian" | |
#deb_local_mirror="http://ftp.debian.org/debian" |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id,title,url,description,organization | |
5e174be4634f414cd8a244f1,Critères de répartition des dotations versées par l’Etat aux collectivités territoriales,http://www.data.gouv.fr/fr/datasets/criteres-de-repartition-des-dotations-versees-par-letat-aux-collectivites-territoriales/,Ce jeu de données vous permet d’accéder aux principaux critères physiques et financiers utilisés pour la répartition des fonds nationaux de péréquation et pour la répartition des dotations de l’État aux collectivités territoriales. Ces principaux critères physiques et financiers sont consultables pour l’ensemble des collectivités territoriales en format csv.,Direction générale des collectivités locales | |
5e172aac6f4441228c06d87b,Recommandations issues des Rapports d'Observations Definitives (ROD) des Chambres Regionales des Comptes (CRC),http://www.data.gouv.fr/fr/datasets/recommandations-issues-des-rapports-dobservations-definitives-rod-des-chambres-regionales-des-comptes-crc/,Les CRC sont des juridictions financieres independantes. Elles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import collections | |
import json | |
import json_stream | |
import jsonschema | |
from jsonschema import Draft7Validator | |
with open("schema_amenagements_cyclables.json") as ifile: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 8, | |
"name": "Basic", | |
"metadata": { | |
"mapbox:autocomposite": true, | |
"mapbox:type": "template" | |
}, | |
"sources": { | |
"mapbox": { | |
"type": "vector", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 20200116113947 | |
// http://localhost:5000/?q=entreprises | |
{ | |
"data": [ | |
{ | |
"_id": "5b7ffc618b4c4169d30727e0", | |
"description": "\n\n\n- Pour vous abonner à notre lettre d'information **Sirene open data actualités**, suivez ce lien : https://insee.fr/fr/information/1405555\n- Pour consulter nos lettres d'information **Sirene open data actualités**, suivez ce lien : https://insee.fr/fr", | |
"hits_rank": 4357.4544033408165, | |
"nb_hits": 5919, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
api: | |
# cachet url | |
url: https://status.etalab.studio/api/v1 | |
# cachet api token | |
token: vo6DRCtqGbtjiHsycM58 | |
insecure: false | |
# https://golang.org/src/time/format.go#L57 | |
date_format: 02/01/2006 15:04:05 MST | |
monitors: | |
- name: datagouvfr-website |
NewerOlder