multimodalpy 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,39 @@
1
+ """multimodalpy - libreria para descargar y estandarizar redes multimodales.
2
+
3
+ Uso basico:
4
+
5
+ from multimodalpy import main
6
+
7
+ main("Valencia", modes=["caminable", "bicicleta"], output_path="salida")
8
+
9
+ Modulos:
10
+ - process_osm : estandarizacion de datos OSM (creacion de intersecciones).
11
+ - process_gtfs : estandarizacion de datos GTFS + limpieza de bus/tren.
12
+ - get_area : descarga desde APIs OSM y GTFS.
13
+ - get_network : descarga en local segun indicaciones del usuario (main()).
14
+ """
15
+
16
+ from __future__ import annotations
17
+
18
+ import logging
19
+
20
+ from . import get_area, get_network, process_gtfs, process_osm
21
+ from .get_area import find_area_boundary
22
+ from .get_network import main
23
+
24
+ # Una libreria no debe escribir en la terminal por su cuenta: sin este handler,
25
+ # Python mostraria por stderr los avisos de nivel WARNING aunque la aplicacion
26
+ # no haya configurado logging. Se activan con logging.basicConfig(level=...).
27
+ logging.getLogger(__name__).addHandler(logging.NullHandler())
28
+
29
+ __version__ = "0.1.0"
30
+
31
+ __all__ = [
32
+ "main",
33
+ "find_area_boundary",
34
+ "get_network",
35
+ "get_area",
36
+ "process_osm",
37
+ "process_gtfs",
38
+ "__version__",
39
+ ]