Changed 'amarillo.app' to 'amarillo'

This commit is contained in:
Csaba 2024-01-30 11:16:05 +01:00
parent 19e2cddd59
commit 0f8582c940
6 changed files with 22 additions and 22 deletions

View file

@ -1,16 +1,16 @@
# separate file so that it can be imported without initializing FastAPI # separate file so that it can be imported without initializing FastAPI
from amarillo.app.utils.container import container from amarillo.utils.container import container
import json import json
import logging import logging
from glob import glob from glob import glob
from amarillo.app.models.Carpool import Carpool from amarillo.models.Carpool import Carpool
from amarillo.app.services import stops from amarillo.services import stops
from amarillo.plugins.enhancer.services import trips from amarillo.plugins.enhancer.services import trips
from amarillo.plugins.enhancer.services.carpools import CarpoolService from amarillo.plugins.enhancer.services.carpools import CarpoolService
from amarillo.plugins.enhancer.services import gtfs_generator from amarillo.plugins.enhancer.services import gtfs_generator
from amarillo.app.configuration import configure_services from amarillo.configuration import configure_services
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View file

@ -6,9 +6,9 @@ from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler from watchdog.events import FileSystemEventHandler
from amarillo.plugins.enhancer.configuration import configure_enhancer_services from amarillo.plugins.enhancer.configuration import configure_enhancer_services
from amarillo.app.utils.container import container from amarillo.utils.container import container
from amarillo.app.models.Carpool import Carpool from amarillo.models.Carpool import Carpool
from amarillo.app.utils.utils import agency_carpool_ids_from_filename from amarillo.utils.utils import agency_carpool_ids_from_filename
logging.config.fileConfig('logging.conf', disable_existing_loggers=False) logging.config.fileConfig('logging.conf', disable_existing_loggers=False)
logger = logging.getLogger("enhancer") logger = logging.getLogger("enhancer")

View file

@ -2,8 +2,8 @@ import json
import logging import logging
from datetime import datetime from datetime import datetime
from typing import Dict from typing import Dict
from amarillo.app.models.Carpool import Carpool from amarillo.models.Carpool import Carpool
from amarillo.app.utils.utils import yesterday, is_older_than_days from amarillo.utils.utils import yesterday, is_older_than_days
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View file

@ -7,10 +7,10 @@ import gettext
import logging import logging
import re import re
from amarillo.app.utils.utils import assert_folder_exists from amarillo.utils.utils import assert_folder_exists
from amarillo.app.models.gtfs import GtfsTimeDelta, GtfsFeedInfo, GtfsAgency, GtfsRoute, GtfsStop, GtfsStopTime, GtfsTrip, GtfsCalendar, GtfsCalendarDate, GtfsShape from amarillo.models.gtfs import GtfsTimeDelta, GtfsFeedInfo, GtfsAgency, GtfsRoute, GtfsStop, GtfsStopTime, GtfsTrip, GtfsCalendar, GtfsCalendarDate, GtfsShape
from amarillo.app.services.stops import is_carpooling_stop from amarillo.services.stops import is_carpooling_stop
from amarillo.app.services.gtfs_constants import * from amarillo.services.gtfs_constants import *
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View file

@ -1,7 +1,7 @@
from amarillo.app.models.Carpool import Region from amarillo.models.Carpool import Region
from amarillo.plugins.enhancer.services.gtfs_export import GtfsExport, GtfsFeedInfo, GtfsAgency from amarillo.plugins.enhancer.services.gtfs_export import GtfsExport, GtfsFeedInfo, GtfsAgency
from amarillo.app.services.gtfs import GtfsRtProducer from amarillo.services.gtfs import GtfsRtProducer
from amarillo.app.utils.container import container from amarillo.utils.container import container
from glob import glob from glob import glob
import json import json
import schedule import schedule

View file

@ -1,9 +1,9 @@
from amarillo.app.models.gtfs import GtfsTimeDelta, GtfsStopTime from amarillo.models.gtfs import GtfsTimeDelta, GtfsStopTime
from amarillo.app.models.Carpool import MAX_STOPS_PER_TRIP, Carpool, Weekday, StopTime, PickupDropoffType from amarillo.models.Carpool import MAX_STOPS_PER_TRIP, Carpool, Weekday, StopTime, PickupDropoffType
from amarillo.app.services.gtfs_constants import * from amarillo.services.gtfs_constants import *
from amarillo.app.services.routing import RoutingService, RoutingException from amarillo.services.routing import RoutingService, RoutingException
from amarillo.app.services.stops import is_carpooling_stop from amarillo.services.stops import is_carpooling_stop
from amarillo.app.utils.utils import assert_folder_exists, is_older_than_days, yesterday, geodesic_distance_in_m from amarillo.utils.utils import assert_folder_exists, is_older_than_days, yesterday, geodesic_distance_in_m
from shapely.geometry import Point, LineString, box from shapely.geometry import Point, LineString, box
from geojson_pydantic.geometries import LineString as GeoJSONLineString from geojson_pydantic.geometries import LineString as GeoJSONLineString
from datetime import datetime, timedelta from datetime import datetime, timedelta