A GUI for Trnsys
Project description
Graphical user interface for pytrnsys
Documentation
You can find the documentation under https://spf-ost.github.io/pytrnsys_gui/
Installation
In the following all commands should be run from the pytrnsys_gui
directory. The command should be run in a
"Windows Command Prompt" for Windows environment. The commands should be very similar should you wish to install on
Linux.
Binary installation / User installation
Prerequisites
Required
Getting started
-
Open a command prompt (e.g. by hitting the Windows-key, then typing "cmd" into the search box and hitting enter). The following commands should be entered into the command prompt just opened.
-
Navigate to the directory which should contain the
pytrnsys-gui
directory:cd [your-directory]
Replace
[your-directory]
(including the brackets []) with your directory of choice: if your directory is calledfoo
thenpytrnsys-gui
will be installed tofoo\pytrnsys-gui
. -
Create a virtual environment:
py -3.9 -m venv pytrnsys-gui
-
Activate it:
pytrnsys-gui\Scripts\activate
-
Install the
wheel
package:pip install wheel
-
Install
pytrnsys-gui
and its requirements: replace[version]
in the following command with the version you want to install (typically, you'd choose the latest stable version, i.e. the latest version not ending inaXX
) and hit enter.pip install -r https://raw.githubusercontent.com/SPF-OST/pytrnsys_gui/master/requirements/releases/[version]/requirements.txt
You can now close the command prompt opened in the first step.
The pytrnsys-gui
can now be started by double-clicking on the
pytrnsys-gui\Scripts\pytrnsys-gui.exe
file. Example projects can be found in the
pytrnsys-gui\examples
directory.
Installation from source / Developer installation
Prerequisites
Required
-
Local clones of the following GIT repositories:
https://github.com/SPF-OST/pytrnsys.git
https://github.com/SPF-OST/pytrnsys_gui.git
They should be next to each other and be called
pytrnsys
andpytrnsys_gui
like so:parent/ pytrnsys/ pytrnsys_gui/
Recommended
Getting started
All the following commands should be run from the pytrnsys_gui
directory. The commands
specified are for a Windows environment. They are very similar for Linux.
- Create a virtual environment:
py -3.9 -m venv venv
- Activate it:
venv\Scripts\activate
- Install the requirements:
pip install wheel pip install -r requirements\dev\requirements.txt
- Run
pytrnsys-gui
!cd trnsysGUI python GUI.py
Beware that the GUI can only be started from within the virtual environment you created in step 1, i.e., whenever you open a new console window from which you want to start the GUI you first need to active the environment (step 2. above).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytrnsys_gui-0.9a14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcdba2107314730f5c896f17f591c7664c77a6b8fb1765d55f30112d8efcd5f0 |
|
MD5 | 7312c4c94fd4aa4833f026fc6d6152b5 |
|
BLAKE2b-256 | 18f34f7386af647a3cabab86a2b0c44e6e5ce2281a9c9f897f661361e0d62e37 |