Commencé à tester la lecture d'un gros flux JSON. Le problème est que le JSON est plus grand que la taille de la RAM. Mais les tests sont bons

This commit is contained in:
Christian Zufferey
2019-03-02 16:56:45 +01:00
parent 9b16964557
commit e835c94c19
4 changed files with 123 additions and 0 deletions

25
Meteo/README.md Normal file
View File

@@ -0,0 +1,25 @@
# Récupération des prévisions météo sur un web service sur Internet
## Sources
Pour Lausanne
https://www.prevision-meteo.ch/services/json/lausanne
##Documentation
https://www.prevision-meteo.ch/services
https://www.prevision-meteo.ch/uploads/pdf/recuperation-donnees-meteo.pdf
## Simulateur
./web_server.sh
Lecture sur le PC du simulateur pour tests:
http://localhost:8080/meteo.lausanne.190302.1231.json
zf190302.1655

9
Meteo/web_server.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
#Petit serveur WEB hyper simple
#zf190302.1640
#pour python 2.x
python -m SimpleHTTPServer 8080
#pour python 3.3
#python3 -m http.server 8080