Skip to main content

clinto

Build Status Deploy-To-Pypi codecov

Join the chat at https://gitter.im/wooey/clinto

This converts an assortment of python command line interfaces into a language agnostic build spec for usage in GUI creation.

Here's a basic usage:

from clinto import parser
specs = parser.Parser(script_path='/home/chris/Devel/pythomics/pythomics/scripts/proteinInference.py', script_name='Protein Inference')
specs.get_script_description()
{
  'name': 'Protein Inference Script',
  'path': '/home/chris/Devel/pythomics/pythomics/scripts/proteinInference.py'
  'description': '\nThis script will annotate a tab delimited text file with peptides with\ncorresponding proteins present in an annotation file, and can also\nuse this annotation to include iBAQ measures.\n',
  'inputs': {
    'parser_name': [{
      'group': 'optional arguments',
      'nodes': [{
          'choice_limit': None,
          'choices': None,
          'help': 'Threads to run',
          'model': 'IntegerField',
          'name': 'p',
          'param': '-p',
          'required': False,
          'type': 'text',
          'value': 1
        }, {
          'choice_limit': '1',
          'choices': None,
          'help': 'The fasta file to match peptides against.',
          'model': 'FileField',
          'name': 'fasta',
          'param': '-f',
          'required': False,
          'type': 'file',
          'upload': True
        }],
      },
      'group': 'Protein Grouping Options',
      'nodes': [{
          'checked': False,
          'choice_limit': 0,
          'choices': None,
          'help': 'Only group proteins with unique peptides',
          'model': 'BooleanField',
          'name': 'unique_only',
          'param': '--unique-only',
          'required': False,
          'type': 'checkbox'
        }, {
          'checked': False,
          'choice_limit': 0,
          'choices': None,
          'help': 'Write the position of the peptide matches.',
          'model': 'BooleanField',
          'name': 'position',
          'param': '--position',
          'required': False,
          'type': 'checkbox'
        }],
     ]
   },
}

Release files for clinto 0.6.0

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

Source distribution (sdist)

Source distribution for clinto 0.6.0
File Size Uploaded
clinto-0.6.0.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for clinto 0.6.0
File Interpreter ABI Platform
clinto-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.4 kB

Release files / clinto-0.6.0.tar.gz

Download URL clinto-0.6.0.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6ba134f1ab487c6768e34e126630a327b349bf0d2c46ddb0d4da2f910138cbc5
BLAKE2b-256 checksum
How to use checksums
e874bf73ce5a90bb7b8bb784aeba6def768ebfdf7fdd1082d35924efc9e5bc27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / clinto-0.6.0-py3-none-any.whl

Download URL clinto-0.6.0-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0772d3b2285840b4fada5fcd58a1eb0b270532855ddc94d71e1179a4b68dac22
BLAKE2b-256 checksum
How to use checksums
e1924f0eb2097513f5c0b05bb18ba2ec7e1548f1e3d4661f4127d856cfd5a705
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

2 release files

0.2.1

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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