Classes restructure
Some checks failed
Tests / test (3.10) (push) Failing after 1m10s
Tests / test (3.11) (push) Failing after 1m7s
Tests / test (3.8) (push) Failing after 1m11s
Tests / test (3.9) (push) Has been cancelled

This commit is contained in:
Profitroll 2023-11-24 12:39:25 +01:00
parent 3a65991257
commit c4b7197267
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2
12 changed files with 20 additions and 20 deletions

View File

@ -21,9 +21,9 @@ trip = client.trip_find(origin_id=origin.id, dest_id=destination.id)
"""
__name__ = "pyrmv"
__version__ = "0.3.6"
__version__ = "1.0.0"
__license__ = "MIT License"
__author__ = "Profitroll"
from . import classes, const, enums, errors, raw, utility
from .classes.Client import Client
from .classes.client import Client

View File

@ -0,0 +1,9 @@
from .board import BoardArrival, BoardDeparture, LineArrival, LineDeparture
from .client import Client
from .gis import Gis
from .journey import Journey
from .leg import Leg
from .message import Channel, Message, Url
from .stop import Stop, StopTrip
from .ticket import Ticket
from .trip import Trip

View File

@ -1,7 +1,7 @@
from datetime import datetime
from typing import Any, Mapping
from pyrmv.classes.Message import Message
from pyrmv.classes.message import Message
class LineArrival:

View File

@ -1,7 +1,7 @@
from typing import Any, Mapping
from pyrmv.classes.Message import Message
from pyrmv.classes.Stop import Stop
from pyrmv.classes.message import Message
from pyrmv.classes.stop import Stop
class Journey:

View File

@ -2,9 +2,9 @@ from typing import Any, Mapping
from isodate import parse_duration
from pyrmv.classes.Gis import Gis
from pyrmv.classes.Message import Message
from pyrmv.classes.Stop import StopTrip
from pyrmv.classes.gis import Gis
from pyrmv.classes.message import Message
from pyrmv.classes.stop import StopTrip
class Leg:

View File

@ -3,7 +3,7 @@ from typing import Any, Mapping
from isodate import parse_duration
from pyrmv.classes.Stop import Stop
from pyrmv.classes.stop import Stop
class Url:

View File

@ -1,7 +1,7 @@
from isodate import parse_duration
from pyrmv.classes.Leg import Leg
from pyrmv.classes.Stop import StopTrip
from pyrmv.classes.leg import Leg
from pyrmv.classes.stop import StopTrip
class Trip:

View File

@ -1,9 +0,0 @@
from .Board import BoardArrival, BoardDeparture, LineArrival, LineDeparture
from .Client import Client
from .Gis import Gis
from .Journey import Journey
from .Leg import Leg
from .Message import Channel, Message, Url
from .Stop import Stop, StopTrip
from .Ticket import Ticket
from .Trip import Trip