Analyse des données Vélib en temps réel 🚲📊
Description
Ce projet permet d'explorer et d'analyser les données en temps réel du service Vélib' à Paris. Il comprend :
- Extraction des données en temps réel depuis l'API Vélib.
- Stockage des données dans un fichier CSV.
- Surveillance des stations pour détecter les vélos disponibles.
- Visualisation interactive des données avec Matplotlib et Folium.
Structure du projet 📁
velib-data-analysis/
│── data/ # Stockage des fichiers CSV et autres données brutes
│ ├── velib_data.csv
│
│── logs/
│ ├── velib_monitoring.log
│── notebooks/ # Notebooks Jupyter pour l'analyse et visualisation
│ ├── velib_visualisation.ipynb
│
│── velib_data_analysis/ # 🔹 Le package Python & Scripts Python pour extraction et surveillance
│ ├── __init__.py # 🔹 pour le package
│ ├── velib_monitoring.py
│
│── docs/ # Documentation du projet (README, notes, etc.)
│ ├── README.md
│
│── requirements.txt # Liste des dépendances Python
│── .gitignore # Exclusion des fichiers inutiles
│── LICENSE # Licence du projet
│── setup.py # projet en package Python
Installation 🛠️
- Cloner le projet :
git clone https://github.com/GhntSergio/velib-data-analysis.git cd velib-data-analysis
- Créer un environnement virtuel et installer les dépendances :
python -m venv venv source venv/bin/activate # Sur Windows : venv\Scripts\activate pip install -r requirements.txt
Utilisation 🚀
1️⃣ Exécuter le script de collecte et surveillance des données :
python scripts/velib_monitoring.py
Ce script récupère les données en temps réel, les stocke dans un fichier CSV et surveille les stations sans vélos.
2️⃣ Ouvrir le notebook de visualisation :
Lancer Jupyter Notebook et exécuter les analyses interactives :
jupyter notebook notebooks/velib_visualisation.ipynb
Technologies utilisées 🛠️
- Python (requests, pandas, seaborn, matplotlib, folium)
- Jupyter Notebook pour l'analyse interactive
- API OpenDataSoft pour l'accès aux données Vélib
Améliorations possibles 🚀
- Ajouter des notifications par e-mail ou Telegram
- Héberger une application web pour suivre les vélos en direct
- Optimiser le stockage et l'analyse des données
Licence 📜
Ce projet est sous licence MIT. Voir le fichier LICENSE pour plus de détails.
✉️ Contact & Contributions Si vous avez des idées d'amélioration ou des suggestions, n'hésitez pas à créer une issue ou une pull request sur le dépôt GitHub ! 😊
Metadata
Release files for velib-monitoring 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| velib_monitoring-1.0.0.tar.gz | 5.3 kB | Without provenance | Details for velib_monitoring-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| velib_monitoring-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for velib_monitoring-1.0.0-py3-none-any.whl |
Total release size: 10.8 kB
Release files / velib_monitoring-1.0.0.tar.gz
| Download URL | velib_monitoring-1.0.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8693a9640e0a758643956e61929cb6cc8196df27908244c874f8a43b93558827
|
|
BLAKE2b-256 checksum How to use checksums |
f690d39a615c7fcdb3fa0900ca8a2c956a84881a8333d0d308b01faf717d8975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Release files / velib_monitoring-1.0.0-py3-none-any.whl
| Download URL | velib_monitoring-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d470c7eb7a56933004128ceebd47a9998aaa302db68773e68ac342f7468c1c03
|
|
BLAKE2b-256 checksum How to use checksums |
e9cfe87f650a26aa72173ddab95e94e1c2c6e6b0912e857155239ab7ad7e6a5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Security for velib-monitoring 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.