Skip to main content

GUI functions used in the CogWorks lab.

Project description

Installation

pycogworks.gui can be installed with ‘pip’:

# pip install pycogworks.gui

Dependencies

pycogworks.gui has the following dependencies:

Documentation

pycogworks.gui.getSubjectInfo

Creates a GUI dialog to collect subject information. The default dialog collects subjects first name, last name and RIN. Additional fields can be collected by passing an array of field names to getSubjectInfo. getSubjectInfo returns a dict of subject information where the keys are the field names converted to lower case and spaces replaced with underscores. The RIN field is automatically encrypted using pycogworks.rin2id and stored in the ‘encrypted_rin’ field.

>>> getSubjectInfo(["Age"])
{'rin': u'123456789', 'first_name': u'Foo', 'last_name': u'Bar', 'age': u'18'}
http://ompldr.org/vZm5ldw

pycogworks.gui.doQuestionnaire

THIS NEED DOCUMENTATION AND AN EAMPLE!!!

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

pycogworks.gui-0.4.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file pycogworks.gui-0.4.1.tar.gz.

File metadata

File hashes

Hashes for pycogworks.gui-0.4.1.tar.gz
Algorithm Hash digest
SHA256 f79a5bdbe21bff9c9f6b5858111451b45f4909e51d54f8af8c62bcd655c074f6
MD5 2b95ec5c5afa7e88bc9c1c55492391b1
BLAKE2b-256 088a5d832f62cc74a1f31916f06e46c82b043d58b65e424dd16ef4d1aa7b9ead

See more details on using hashes here.

Supported by

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