Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laidig/pysiri2validator
Simple validator for SIRI 2.0
https://github.com/laidig/pysiri2validator
Last synced: about 2 months ago
JSON representation
Simple validator for SIRI 2.0
- Host: GitHub
- URL: https://github.com/laidig/pysiri2validator
- Owner: laidig
- License: mit
- Created: 2018-03-20T20:06:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T07:12:56.000Z (over 1 year ago)
- Last Synced: 2024-04-16T12:00:39.996Z (3 months ago)
- Language: Python
- Size: 309 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Lists
- awesome-transit - pysiri2validator - Simple validator for SIRI 2.0 written in Python 3. (Uncategorized / Uncategorized)
- awesome-transit - pysiri2validator - Simple validator for SIRI 2.0 written in Python 3. (Uncategorized / Uncategorized)
README
# pysiri2validator
This provides a simple validator for the SIRI 2.0 specification written in Python 3.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### Installing
It is recommended that you use pipenv.
```
$ pipenv install
```
will install the dependencies (lxml and requests).## Usage
### Validate xml files
````
python main.py example_request/exs_stopMonitoring_response_simple.xml
````### Validate HTTP/HTTPS endpoints (GET requests only)
````
$ python main.py https://raw.githubusercontent.com/laidig/siri-20-java/master/examples/siri_exm_CM/exc_connectionMonitoringDistributor_response.xml
````## Built With
* [Pipenv](https://docs.pipenv.org)
* [lxml](http://lxml.de)
* [requests](http://python-requests.org)## Authors
* **Tony Laidig** - [Github](https://github.com/laidig)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
* see code comments for shoutouts!