Skip to main content

Bidirectional conversion of NMRSTAR to XML

Project description

nmrstar_xml

Convert NMRSTAR to XML and back again

XML to NMRSTAR

usage: xmlstar [-h] [-i INPUT] [-o OUTPUT]

Translate XML file to NMR-STAR

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        XML input file (default stdin)
  -o OUTPUT, --output OUTPUT
                        NMR-STAR output file (default stdout)

NMRSTAR to XML

usage: starxml [-h] [-i INPUT] [-o OUTPUT]

Translate NMR-STAR file to XML

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        NMR-STAR input file (default stdin)
  -o OUTPUT, --output OUTPUT
                        XML output file (default stdout)

As Python module

with Translator(args.input,args.output) as tr:
        tr.xml_translate()

with Translator(args.input,args.output) as tr:
        tr.star_translate()

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

nmrstar_xml-1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

nmrstar_xml-1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file nmrstar_xml-1.0.tar.gz.

File metadata

  • Download URL: nmrstar_xml-1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.2.0 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10

File hashes

Hashes for nmrstar_xml-1.0.tar.gz
Algorithm Hash digest
SHA256 89c7cef5511c2263b109df49c094507526e325bd49315fba53364e4f84e8f0d0
MD5 d91d7d6c0289a66c14a81a2565c1f3e9
BLAKE2b-256 f66579b9e31f7a4ff8822870336eaeeeea50b9f29e8915064b0cdf1e301ea02f

See more details on using hashes here.

File details

Details for the file nmrstar_xml-1.0-py3-none-any.whl.

File metadata

  • Download URL: nmrstar_xml-1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.2.0 requests-toolbelt/0.8.0 tqdm/4.64.1 CPython/3.8.10

File hashes

Hashes for nmrstar_xml-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e049e098ae8d786af269c42a9112b906160016f7f6f4b87b6ee0cb771a64bef8
MD5 a8415c563b1c364409c88a6f4b0919be
BLAKE2b-256 88fbe3e71f4e679bc5d6f44c240bb8a3721027fcadc703d4cce272bf7fa7fe63

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