Module Import alias Import alias ImportFrom alias ImportFrom alias Import alias FunctionDef arguments args NameParam defaults Str body Expr Str With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call NameLoad NameLoad NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Num keyword Dict Str Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore Str AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad BinOpAdd Str Str attr Call AttributeLoad NameLoad attr AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad If BoolOpOr UnaryOpNot NameLoad CompareNotIn Str NameLoad UnaryOpNot SubscriptLoad NameLoad Index Str body Return NameLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore NameLoad If BoolOpAnd CompareIn Str NameLoad CompareIn Str SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse Assign NameStore Num Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A logging N/A requests datetime datetime main.models Station N/A csv populate_stations N/A N/A path N/A /opt/code/vvs_data/HaltestellenVVS_simplified_utf8_stationID.csv N/A N/A 
    parse simplified csv, add elements to database
     N/A N/A open path r f N/A N/A reader N/A N/A csv reader f delimiter , N/A N/A next reader None N/A row reader N/A N/A N/A obj created N/A N/A N/A Station objects update_or_create station_id N/A row N/A 0 defaults N/A name full_name N/A row N/A 1 N/A row N/A 2 N/A created N/A N/A N/A N/A logging info N/A Created station %s N/A row N/A 0 N/A N/A N/A N/A logging info N/A Updated station %s N/A row N/A 0 N/A get_EFA_from_VVS N/A N/A station_id N/A N/A N/A 
    send HTTP Request to VVS and return a xml string
     N/A zocationServerActive 1 N/A lsShowTrainsExplicit 1 N/A stateless 1 N/A language de N/A SpEncId 0 N/A anySigWhenPerfectNoOtherMatches 1 N/A limit 30 N/A depArr departure N/A type_dm any N/A anyObjFilter_dm 2 N/A deleteAssignedStops 1 N/A name_dm station_id N/A mode direct N/A dmLineSelectionAll 1 N/A useRealtime 1 N/A outputFormat json N/A coordOutputFormat WGS84[DD.ddddd] N/A url http://www2.vvs.de/vvs/widget/XML_DM_REQUEST? N/A url N/A N/A zocationServerActive={:d} format zocationServerActive N/A url N/A N/A &lsShowTrainsExplicit{:d} format lsShowTrainsExplicit N/A url N/A N/A &stateless={:d} format stateless N/A url N/A N/A &language={} format language N/A url N/A N/A &SpEncId={:d} format SpEncId N/A url N/A N/A &anySigWhenPerfectNoOtherMatches={:d} format anySigWhenPerfectNoOtherMatches N/A url N/A N/A &limit={:d} format limit N/A url N/A N/A &depArr={} format depArr N/A url N/A N/A &type_dm={} format type_dm N/A url N/A N/A &anyObjFilter_dm={:d} format anyObjFilter_dm N/A url N/A N/A &deleteAssignedStops={:d} format deleteAssignedStops N/A url N/A N/A &name_dm={} format name_dm N/A url N/A N/A &mode={} format mode N/A url N/A N/A &dmLineSelectionAll={:d} format dmLineSelectionAll N/A url N/A N/A N/A &itdDateYear={0:%Y}&itdDateMonth={0:%m}&itdDateDay={0:%d} &itdTimeHour={0:%H}&itdTimeMinute={0:%M} format N/A N/A datetime now N/A url N/A N/A &useRealtime={:d} format useRealtime N/A url N/A N/A &outputFormat={} format outputFormat N/A url N/A N/A &coordOutputFormat={} format coordOutputFormat N/A r N/A N/A requests get url N/A N/A r encoding UTF-8 N/A efa N/A N/A r json N/A efa N/A parse_efa N/A N/A efa N/A N/A N/A parsedDepartures N/A N/A N/A N/A efa N/A departureList efa N/A N/A efa N/A departureList N/A N/A parsedDepartures N/A departure N/A efa N/A departureList N/A N/A stopName N/A departure N/A stopName N/A latlon N/A N/A N/A departure N/A y , N/A departure N/A x N/A number N/A N/A departure N/A servingLine N/A number N/A direction N/A N/A departure N/A servingLine N/A direction N/A N/A realDateTime departure N/A N/A realDateTime N/A departure N/A realDateTime N/A N/A N/A dateTime departure N/A N/A realDateTime N/A departure N/A dateTime N/A N/A realDateTime None N/A N/A N/A servingLine departure N/A delay N/A departure N/A servingLine N/A N/A delay N/A N/A departure N/A servingLine N/A delay N/A N/A delay 0 N/A departureObject N/A stopName number direction departureTime delay stationCoordinates stopName number direction realDateTime delay latlon N/A N/A N/A parsedDepartures append departureObject N/A parsedDepartures N/A