Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Dict Str Str Str NameLoad Num ListLoad Str Dict Str Str Str NameLoad NameLoad ListLoad Str Dict Str Str Str NameLoad NameLoad ListLoad Str Dict Str Str Str NameLoad Num ListLoad Str Dict Str Str Str NameLoad Num ListLoad Str Dict Str Str Str NameLoad Num ListLoad Str Dict Str Str Str NameLoad Num ListLoad Str Dict Str Str Str NameLoad NameLoad ListLoad Str Str Dict Str Str Str NameLoad Num ListLoad Str Dict Str Str Str NameLoad NameLoad ListLoad Str Dict Str Str Str NameLoad Num ListLoad Str Dict Str Str Str NameLoad Num ListLoad Str Dict Str Str Str NameLoad Num ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareGt Call NameLoad NameLoad Num body Raise Call AttributeLoad NameLoad attr NameLoad orelse Return SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return Call NameLoad GeneratorExp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Return Call NameLoad decorator_list
N/A agency Agency fareattribute FareAttribute farerule FareRule feedinfo FeedInfo frequency Frequency loader Loader N/A problems route Route schedule Schedule serviceperiod ServicePeriod shape Shape shapepoint ShapePoint stop Stop stoptime StopTime transfer Transfer trip Trip GtfsFactory N/A object N/A N/A A factory for the default GTFS objects N/A _REQUIRED_MAPPING_FIELDS N/A classes required loading_order __init__ N/A N/A self N/A N/A N/A N/A self _class_mapping N/A Agency ServicePeriod FareAttribute FareRule Frequency FeedInfo Shape ShapePoint Stop StopTime Route Transfer Trip Schedule Loader Agency ServicePeriod FareAttribute FareRule Frequency FeedInfo Shape ShapePoint Stop StopTime Route Transfer Trip Schedule Loader N/A N/A self _file_mapping N/A agency.txt calendar.txt calendar_dates.txt fare_attributes.txt fare_rules.txt feed_info.txt frequencies.txt shapes.txt stops.txt stop_times.txt routes.txt transfers.txt trips.txt N/A required loading_order classes True 0 N/A Agency N/A required loading_order classes False None N/A ServicePeriod N/A required loading_order classes False None N/A ServicePeriod N/A required loading_order classes False 50 N/A FareAttribute N/A required loading_order classes False 60 N/A FareRule N/A required loading_order classes False 100 N/A FeedInfo N/A required loading_order classes False 70 N/A Frequency N/A required loading_order classes False None N/A Shape ShapePoint N/A required loading_order classes True 10 N/A Stop N/A required loading_order classes True None N/A StopTime N/A required loading_order classes True 20 N/A Route N/A required loading_order classes False 30 N/A Transfer N/A required loading_order classes True 40 N/A Trip N/A __getattr__ N/A N/A self name N/A N/A N/A N/A name N/A self _class_mapping N/A N/A N/A N/A self _class_mapping N/A name N/A N/A AttributeError name N/A GetGtfsClassByFileName N/A N/A self filename N/A N/A N/A Returns the transitfeed class corresponding to a GTFS file.

    Args:
      filename: The filename whose class is to be returned

    Raises:
      NonStandardMapping if the specified filename has more than one
          corresponding class
     N/A N/A filename N/A self _file_mapping N/A N/A None N/A mapping N/A N/A self _file_mapping N/A filename N/A class_list N/A mapping N/A classes N/A N/A N/A len class_list 1 N/A N/A N/A N/A problems NonStandardMapping filename N/A N/A N/A N/A self _class_mapping N/A N/A class_list N/A 0 N/A GetLoadingOrder N/A N/A self N/A N/A N/A Returns a list of filenames sorted by loading order.
    Only includes files that Loader's standardized loading knows how to load N/A result N/A N/A N/A filename mapping N/A N/A N/A self _file_mapping iteritems N/A N/A loading_order N/A mapping N/A loading_order N/A N/A loading_order None N/A N/A N/A result N/A loading_order filename N/A N/A list N/A N/A result N/A key N/A key N/A sorted result N/A IsFileRequired N/A N/A self filename N/A N/A N/A Returns true if a file is required by GTFS, false otherwise.
    Unknown files are, by definition, not required N/A N/A filename N/A self _file_mapping N/A N/A False N/A mapping N/A N/A self _file_mapping N/A filename N/A N/A mapping N/A required N/A GetKnownFilenames N/A N/A self N/A N/A N/A Returns a list of all known filenames N/A N/A N/A N/A self _file_mapping keys N/A RemoveMapping N/A N/A self filename N/A N/A N/A Removes an entry from the list of known filenames.
       An entry is identified by its filename.

       filename: The filename whose mapping is to be updated.
     N/A N/A filename N/A self _file_mapping N/A N/A N/A N/A self _file_mapping N/A filename N/A AddMapping N/A N/A self filename new_mapping N/A N/A N/A Adds an entry to the list of known filenames.

    Args:
        filename: The filename whose mapping is being added.
        new_mapping: A dictionary with the mapping to add. Must contain all
            fields in _REQUIRED_MAPPING_FIELDS.
    Raises:
        DuplicateMapping if the filename already exists in the mapping
        InvalidMapping if not all required fields are present
     N/A field N/A self _REQUIRED_MAPPING_FIELDS N/A N/A N/A field new_mapping N/A N/A N/A N/A problems InvalidMapping field N/A N/A filename N/A N/A self GetKnownFilenames N/A N/A N/A N/A problems DuplicateMapping filename N/A N/A N/A self _file_mapping N/A filename new_mapping N/A UpdateMapping N/A N/A self filename mapping_update N/A N/A N/A Updates an entry in the list of known filenames.
       An entry is identified by its filename.

    Args:
        filename: The filename whose mapping is to be updated
        mapping_update: A dictionary containing the fields to update and their
            new values.
    Raises:
        InexistentMapping if the filename does not exist in the mapping
     N/A N/A filename N/A self _file_mapping N/A N/A N/A N/A problems NonexistentMapping filename N/A mapping N/A N/A self _file_mapping N/A filename N/A N/A N/A mapping update mapping_update N/A AddClass N/A N/A self class_name gtfs_class N/A N/A N/A Adds an entry to the list of known classes.

    Args:
        class_name: A string with name through which gtfs_class is to be made
                    accessible.
        gtfs_class: The class to be added.
    Raises:
        DuplicateMapping if class_name is already present in the class mapping.
     N/A N/A class_name N/A self _class_mapping N/A N/A N/A N/A problems DuplicateMapping class_name N/A N/A N/A self _class_mapping N/A class_name gtfs_class N/A UpdateClass N/A N/A self class_name gtfs_class N/A N/A N/A Updates an entry in the list of known classes.

    Args:
        class_name: A string with the class name that is to be updated.
        gtfs_class: The new class
    Raises:
        NonexistentMapping if there is no class with the specified class_name.
     N/A N/A class_name N/A self _class_mapping N/A N/A N/A N/A problems NonexistentMapping class_name N/A N/A N/A self _class_mapping N/A class_name gtfs_class N/A RemoveClass N/A N/A self class_name N/A N/A N/A Removes an entry from the list of known classes.

    Args:
        class_name: A string with the class name that is to be removed.
    Raises:
        NonexistentMapping if there is no class with the specified class_name.
     N/A N/A class_name N/A self _class_mapping N/A N/A N/A N/A problems NonexistentMapping class_name N/A N/A N/A self _class_mapping N/A class_name N/A GetProblemReporter N/A N/A self N/A N/A N/A N/A N/A problems ProblemReporter N/A N/A GetGtfsFactory N/A N/A N/A N/A N/A Called by FeedValidator to retrieve this extension's GtfsFactory.
     Extensions will most likely only need to create an instance of
     transitfeed.GtfsFactory, call {Remove,Add,Update}Mapping as needed, and
     return that instance N/A N/A GtfsFactory N/A