Skip to main content

Converts from Bridge NZ Scorer format to USEBIO 1.1

Project description

Converts from the NZ Bridge Scorer XML results format to USEBIO 1.1.

Installation

> pip install scorer_to_usebio

Usage

  • Convert a file:

    > scorer_to_usebio -p examples/pairs.xml

  • Or on the command-line via the python interpreter:

    > python3 -m scorer_to_usebio -p examples/pairs.xml

  • Or using the repl:

    >>> import scorer_to_usebio
    >>> scorer_to_usebio.convert('examples/pairs.xml')
    
  • Run unit tests:

    > nosetests

  • Check unit test code coverage:

    > nosetests –with-coverage –cover-erase –cover-package=scorer_to_usebio

Dependencies

  • Python 3.5 (will probably work with earlier 3.x versions, but untested)

  • lxml (optional, required for DTD & pretty-printing support)

  • nose (optional for running tests)

  • coverage (optional for checking test code coverage)

License

GNU Affero General Public License (AGPLv3) or any later version.

See also

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scorer-to-usebio-0.1.tar.gz (10.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page