Skip to main content

You write stuff that looks like this, containing all of the information you would ever need about a tool; options, test cases, metadata

from galaxygetopt.ggo import GalaxyGetOpt as GGO
c = GGO(
    options=[
        ['int', 'An integer parameter', {'required': True, 'validate':
                                         'Int', 'default': 10}],
        ['float', 'A float', {'required': True, 'validate': 'Float',
                              'default': 1e-4}],
        ['string', 'A string value', {'required': True, 'multiple': True,
                                      'default': ['Hello', 'World'],
                                      'validate': 'String'}],

And you get data back in a nice dict

{'int': 40, 'float': '1e-4', 'string': ['Hello', 'World'] }

Known Bugs

Currently there is a known bug in the galaxy XML, under highly specific circumstances. If you define a parameter that is

  • required

  • hidden

  • validate String (probably not a hard req)

  • _galaxy_specific

and expect it to properly generate the value, it will not. See lines 206/207 of galaxygetopt/ggo.py for the current hack I use to get around this.

Other

This library features a number of subclasses of galaxygetopt.parameter.parameter, all of which have myriad numbers of options. In order to brutally test these, I have added a class galaxygetopt/tests/parameter_generator.py which can generate every single possible combination of functional calls, given rules you specify. You can then generate hundreds of objects with different sets of options, which you can filter a subset out and test at will. See that classes’s documentation for more information.

Metadata

Release files for galaxygetopt 0.9.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for galaxygetopt 0.9.8
File Size Uploaded Provenance Actions
galaxygetopt-0.9.8.tar.gz 16.2 kB Without provenance Details for galaxygetopt-0.9.8.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for galaxygetopt 0.9.8
File Interpreter ABI Platform Actions
galaxygetopt-0.9.8.linux-x86_64.tar.gz Details for galaxygetopt-0.9.8.linux-x86_64.tar.gz
galaxygetopt-0.9.8-py2.7.egg Legacy Egg format - - Details for galaxygetopt-0.9.8-py2.7.egg

Total release size: 115.4 kB

Release files / galaxygetopt-0.9.8.tar.gz

Download URL galaxygetopt-0.9.8.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
143cb7742fe7a0bda6018f9fb374938632d7434b71dcc06e2656122025966997
BLAKE2b-256 checksum
How to use checksums
921d0f6f772f49b450f73a28e86f31d7d1cef86afdab9eceb980ebdbd398805f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / galaxygetopt-0.9.8.linux-x86_64.tar.gz

Download URL galaxygetopt-0.9.8.linux-x86_64.tar.gz
Size 38.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1d74a4c9b9aefb7a80cd578426f1a379528f250b111fa92eece8fac7ce53b74a
BLAKE2b-256 checksum
How to use checksums
1c2f26fcfc222b118f69e441d0f60e7901f07de893b1712a8d819f0b0dda139f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / galaxygetopt-0.9.8-py2.7.egg

Download URL galaxygetopt-0.9.8-py2.7.egg
Size 61.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
30a00a091b3642cee52ac2d31ef68df1a9c84574ee0ac827b935ad292563c4f5
BLAKE2b-256 checksum
How to use checksums
a9e2745ae019c0549a18935d4e2cae4088c67c61c84a5c401e1fac0a33568de6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for galaxygetopt 0.9.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page