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 details)

Uploaded Source

File details

Details for the file scorer-to-usebio-0.1.tar.gz.

File metadata

File hashes

Hashes for scorer-to-usebio-0.1.tar.gz
Algorithm Hash digest
SHA256 527d2f53eefeb970f3690a55e9a5e783b96923a937dcc57eb36327b5335c8c16
MD5 28af7ce4a32f6bf000839234276c4f53
BLAKE2b-256 5c813187cb5696d959982d0eb292daa3888c5fac4be6555542905fcf97840359

See more details on using hashes here.

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