Git Product home page Git Product logo

gtfs-fares-v2-validator's Introduction

gtfs-fares-v2-validator

This is a tool to validate fares-v2 GTFS datasets.

This tool is based on the fares-v2 draft specification.

The tool validates ONLY fares-v2 specific files and dependent files, and does NOT validate GTFS schedule data.

The tool does NOT read areas from stop_times.txt for performance reasons, but can using the -s option defined below.

Requirements

python 3

Validate a fares dataset

python3 validate.py PATH-TO-FOLDER-CONTAINING-FARES-V2-DATASET [-s, --read-stop-times] [-o, --output-file FILE-TO-EXPORT-VALIDATION-REPORT-TO]

For example:

python3 validate.py ~/data/my-fares-v2-dataset -o report.txt

Run tests

python3 -m pip install pytest
pytest

gtfs-fares-v2-validator's People

Contributors

gcamp avatar jsteelz avatar npaun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.