alex.applications.PublicTransportInfoCS package

Subpackages

Submodules

alex.applications.PublicTransportInfoCS.autopath module

self cloning, automatic path configuration

copy this into any subdirectory of pypy from which scripts need to be run, typically all of the test subdirs. The idea is that any such script simply issues

import autopath

and this will make sure that the parent directory containing “pypy” is in sys.path.

If you modify the master “autopath.py” version (in pypy/tool/autopath.py) you can directly run it which will copy itself on all autopath.py files it finds under the pypy root directory.

This module always provides these attributes:

pypydir pypy root directory path this_dir directory where this autopath.py resides

alex.applications.PublicTransportInfoCS.crws_enums module

Various enums, semi-automatically adapted from the CHAPS CRWS enum list written in C#.

Comments come originally from the CRWS description and are in Czech.

alex.applications.PublicTransportInfoCS.crws_enums.BEDS

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.CLIENTEXCEPTION_CODE

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.COMBFLAGS

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.COOR

alias of Enum

class alex.applications.PublicTransportInfoCS.crws_enums.CRCONST[source]
DELAY_CD = 'CD:'
DELAY_INTERN = 'X{0}_{1}:'
DELAY_INTERN_EXT = 'Y{0}_{1}:'
DELAY_TELMAX1 = 'TELMAX1:'
DELAY_ZSR = 'ZSR:'
EXCEPTIONEXCLUSION_CD = 'CD:'
alex.applications.PublicTransportInfoCS.crws_enums.DELTAMAX

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.DEP_TABLE

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.EXFUNCTIONRESULT

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.FCS

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.LISTID

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.OBJECT_STATUS

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.REG

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.REMMASK

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.ROUTE_FLAGS

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.SEARCHMODE

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.ST

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.SVCSTATE

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.TIMETABLE_FLAGS

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.TRCAT

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.TRSUBCAT

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.TTDETAILS

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.TTERR

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.TTGP

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.TTINFODETAILS

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.TTLANG

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.VF

alias of Enum

alex.applications.PublicTransportInfoCS.crws_enums.enum(**enums)[source]

alex.applications.PublicTransportInfoCS.cs_morpho module

alex.applications.PublicTransportInfoCS.directions module

alex.applications.PublicTransportInfoCS.exceptions module

exception alex.applications.PublicTransportInfoCS.exceptions.PTICSHDCPolicyException[source]

Bases: alex.components.dm.exceptions.DialoguePolicyException

alex.applications.PublicTransportInfoCS.hdc_policy module

alex.applications.PublicTransportInfoCS.hdc_slu module

alex.applications.PublicTransportInfoCS.platform_info module

class alex.applications.PublicTransportInfoCS.platform_info.CRWSPlatformInfo(crws_response, finder)[source]

Bases: object

find_platform_by_station(to_obj)[source]
find_platform_by_train_name(train_name)[source]
station_name_splitter = <_sre.SRE_Pattern object at 0x7fb1c714d290>
class alex.applications.PublicTransportInfoCS.platform_info.PlatformFinderResult(platform, track, direction)[source]

Bases: object

class alex.applications.PublicTransportInfoCS.platform_info.PlatformInfo(from_stop, to_stop, from_city, to_city, train_name, directions)[source]

Bases: object

alex.applications.PublicTransportInfoCS.platform_info_test module

class alex.applications.PublicTransportInfoCS.platform_info_test.PlatformInfoTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_matching()[source]

alex.applications.PublicTransportInfoCS.preprocessing module

alex.applications.PublicTransportInfoCS.test_hdc_policy module

alex.applications.PublicTransportInfoCS.test_hdc_slu module

Module contents