This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Some utilities for the Open511 API format. Includes a validator, a tool to convert between Open511 serializations, a Web interface for validation and conversion, and some utility/parsing code.

Requirements

Python 2.7 or 3.5, libxml2. Linux or MacOS. (It might work on Windows, but hasn’t been tested. We’d be happy to work with anyone interested in running this on Windows.)

Installation

This package is a Python application. The current best practice is to install into an isolated Python environment, created with the virtualenv package for Python 2, or pyvenv for Python 3. Things should still work if you don’t create an environment, but you may need to run the setup commands below as root.

Clone this repository, then run python setup.py install. Or, to install the latest released version, run easy_install open511.

Usage

open511-validate filename.xml

open511-validate http://demo.open511.org/api/events/

open511-convert --help

open511-convert filename.xml > filename.json

open511-convert filename.json > filename.xml

Conversions

Available output formats: Open511 JSON (json), Open511 XML (xml), MASAS-compatible Atom (atom), KML (kml)

Input formats: Open511 XML or JSON, and Traffic Management Data Dictionary (TMDD) XML

You can convert from any input format to any output format, e.g. open511-convert input.tmdd -f kml output.kml

TMDD

Due to the size and complexity of the TMDD specification, some input files may not be supported. Please contact us if you have problems with a particular TMDD input file, and we’ll try to get it working!

To produce production-ready Open511 XML from TMDD, you need to specify provide some information on your Open511 deployment via environment variables. Set OPEN511_EVENTS_URL to the URL to your Open511 events endpoint, OPEN511_JURISDICTION_URL to the URL of the appropriate Open511 jurisdiction resource, and OPEN511_JURISDICTION_ID to the Open511 ID of your jurisdiction. If these are not set, example values will be used.

More details on the conversion algorithm is in docs.

Web interface

A Web interface, available at http://validator.open511.org/, is in open511/webtools/init.py. Install the dependencies (listed in requirements.txt, or run easy_install Flask requests), then run python open511/webtools/__init__.py to start up a local server.

Release History

Release History

0.5

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
open511-0.5.tar.gz (32.8 kB) Copy SHA256 Checksum SHA256 Source Nov 17, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting