Paulissoft Application Tools for Oracle (PATO) GUI.
Project description
pato-gui
Table of contents
Introduction
A Python GUI for PATO as an alternative for the Maven command line.
First you probably need to clone PATO so you use its Maven POM files or other Maven POM files having them as parent.
This GUI would not have been possible without Gooey.
Installation
This utility needs Python 3. In order to support several Python versions and/or (virtual) environments on your computer, I prefer Mamba from the Miniforge project on GitHub. See the installation instructions there if you want to use that distribution. Mamba is an environment manager similar to Conda variants like Anaconda and Miniconda but much faster. Together with Poetry this is a good combination to distribute libraries to PyPi.
Start a command prompt
Needed for installing and running the PATO GUI. Please Google it if you don't know how to start a command prompt.
First please note that the dollar sign you will see below is the command line prompt sign and not a character you have to type. The command line prompt will differ between Operating Systems.
Installing from PyPi
First set up a virtual environment using your preferred method:
Using Mamba (see above) you can create (and activate) such an environment via:
$ mamba create --name <environment> python
$ mamba activate <environment>
Now continue with:
$ python3 -m pip install pato-gui
Now pato-gui
should be available and this command shows you the help:
$ pato-gui -h
You can also build an executable:
$ cd <temporary directory>
$ pato-gui-build
In the dist/PatoGui
folder you will find the PatoGui
executable.
Of course you can put the executable in dist/PatoGui
somewhere in your path.
Installing from source
Clone the Git repo pato-gui first.
Go to the root folder and issue this command for more help:
$ make help
To run from the start:
$ make env-create
$ mambo activate pato-gui
$ make test
$ make run
Usage
Launch the GUI
I assume that you have built the executable.
Launch it via:
$ <path to PatoGui>/PatoGui
A graphical interface will pop up.
If you know the Maven POM file already:
$ <path to PatoGui>/PatoGui <POM file>
Help
From the command line:
$ <path to PatoGui>/PatoGui -h
And in the left top corner of the GUI screen there is a Help button.
Links
These links have been helpful to convert a setuptools based project to Poetry and Mamba.
- using python-poetry to publish to test.pypi.org
- Poetry Read The Docs
- Migrating a project to Poetry
- Convert Python requirements to Poetry format
- Specify docs dependency groups with Poetry and Read the Docs
- Convert a Poetry package to the src layout
- Use poetry to create binary distributable with pyinstaller on package?
- Setup Guide for Poetry Dev Environment on Apple Silicon.
- https://stackoverflow.com/questions/70851048/does-it-make-sense-to-use-conda-poetry
- Conda and Poetry: A Harmonious Fusion
- Welcome to Mamba’s documentation!
- How to Use Poetry with Conda for Package Management on a Specific Python Version
- Examples of using conda + poetry for cross-platform Python package portability
- Mambaforge/miniforge
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added for new features.
- Changed for changes in existing functionality.
- Deprecated for soon-to-be removed features.
- Removed for now removed features.
- Fixed for any bug fixes.
- Security in case of vulnerabilities.
[Unreleased]
[4.0.1] - 2023-12-20
Fixed
[4.0.0] - 2023-11-14
Fixed
- Two databases named orcl and something like dev, tst or acc does not work.
- The PATO GUI must run Maven with the batch switch -B
- Development build does not work on Windows
- pip complains about SSL not enabled for Miniconda Python.
- Development build does not work on Windows.
Deprecated
[3.0.1] - 2023-10-15
Fixed
[3.0.0] - 2023-10-14
Added
Fixed
[2.1.0] - 2023-09-06
Added
Fixed
[2.0.0] - 2022-11-23
Added
[1.2.0] - 2022-10-13
Added
[1.1.1] - 2022-07-22
Fixed
[1.1.0] - 2021-09-10
Added
- Added actions db-info and db-code (added in oracle-tools 1.2.0).
[1.0.0] - 2021-06-04
Added
- Display information about the Java run-time and compiler.
- Applied Python best practices.
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
Built Distribution
File details
Details for the file pato_gui-4.0.1.tar.gz
.
File metadata
- Download URL: pato_gui-4.0.1.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d02462dacc737efa000cc6b50b27bf4e811a082aa8b867b526abe2de716a39 |
|
MD5 | 0398ed1a97224db63a17215287162c6b |
|
BLAKE2b-256 | 9eaa9809d0210765cc8274a58442015b001b5a59417136a09aae4b7a6d137d26 |
File details
Details for the file pato_gui-4.0.1-py3-none-any.whl
.
File metadata
- Download URL: pato_gui-4.0.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad11d193ebeed656607ab38b37585068220dcbb1049e1d3a373c8f3d38f74131 |
|
MD5 | 78f17c3b4caf8e145302ca8bbe1d153d |
|
BLAKE2b-256 | 5a3b06feee20112d0dfab5e774a904f2fda8e12b292fdf97a5e5972a574b567c |