Package qubx :: Module model_link
[hide private]
[frames] | no frames]

Module model_link

source code

"Modeling Tools" menu: "Link to this model online"

Copyright 2015 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Functions [hide private]
 
createModelLink(name='', about='', qmj=None) source code
 
ThreadMain(robot, name, about, qmj) source code
 
Prompt(name, about, model) source code
 
LinkToModel(item=None, name=None, about=None, model=None, alert=True) source code
Variables [hide private]
  MODELDB_URL = 'https://qub.mandelics.com/online/models/createL...
  MODELDB_SIGNIN = '5aa66b9a-b862-48cd-8f5b-4bad171bdb30'
  MODELLINK_FMT = 'https://qub.mandelics.com/online/#link=%(link...
  __package__ = 'qubx'
  e = 2.71828182846
  pi = 3.14159265359
  rdbk = 'Expired.'
  rdbreak = 'supporting'
  rdname = 'qubfast.txt'
Variables Details [hide private]

MODELDB_URL

Value:
'https://qub.mandelics.com/online/models/createLink'

MODELLINK_FMT

Value:
'https://qub.mandelics.com/online/#link=%(linkId)s&k=%(linkKey)s'