# pato-gui
## Table of contents
1. [Introduction](#introduction)
2. [Installation](#installation)
1. [Start a command prompt](#start-command-line-prompt)
2. [Installing from PyPi](#installing-from-pypi)
3. [Installing from source](#installing-from-source)
3. [Usage](#usage)
1. [Launch the GUI](#launch-the-gui)
2. [Help](#help)
4. [Links](#links)
## Introduction <a name="introduction" />
A Python GUI for [PATO](https://github.com/paulissoft/oracle-tools) 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](https://github.com/chriskiehl/Gooey).
## Installation <a name="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](https://github.com/conda-forge/miniforge). 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](https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html) but much faster. Together with [Poetry](https://python-poetry.org/docs/) this is a good combination to distribute libraries to PyPi.
### Start a command prompt <a name="start-command-line-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 <a name="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 <a name="installing-from-source" />
Clone the Git repo [pato-gui](https://github.com/paulissoft/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 <a name="usage" />
### Launch the GUI <a name="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 <a name="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 <a name="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](https://stackoverflow.com/questions/68882603/using-python-poetry-to-publish-to-test-pypi-org)
- [Poetry Read The Docs](https://python-poetry.org/docs/)
- [Migrating a project to Poetry](https://browniebroke.com/blog/migrating-project-to-poetry/)
- [Convert Python requirements to Poetry format](https://browniebroke.com/blog/convert-requirements-to-pyproject/)
- [Specify docs dependency groups with Poetry and Read the Docs](https://browniebroke.com/blog/specify-docs-dependency-groups-with-poetry-and-read-the-docs/)
- [Convert a Poetry package to the src layout](https://browniebroke.com/blog/convert-existing-poetry-to-src-layout/)
- [Use poetry to create binary distributable with pyinstaller on package?](https://stackoverflow.com/questions/76145761/use-poetry-to-create-binary-distributable-with-pyinstaller-on-package)
- [Setup Guide for Poetry Dev Environment on Apple Silicon.](https://github.com/rybodiddly/Poetry-Pyenv-Homebrew-Numpy-TensorFlow-on-Apple-Silicon-M1)
- [https://stackoverflow.com/questions/70851048/does-it-make-sense-to-use-conda-poetry](https://stackoverflow.com/questions/70851048/does-it-make-sense-to-use-conda-poetry)
- [Conda and Poetry: A Harmonious Fusion](https://medium.com/@silvinohenriqueteixeiramalta/conda-and-poetry-a-harmonious-fusion-8116895b6380#:~:text=Conda%20and%20Poetry%20are%20two,dependency%20resolution%2C%20and%20package%20distribution.)
- [Welcome to Mamba’s documentation!](https://mamba.readthedocs.io/en/latest/index.html)
- [How to Use Poetry with Conda for Package Management on a Specific Python Version](https://michhar.github.io/2023-07-poetry-with-conda/)
- [Examples of using conda + poetry for cross-platform Python package portability](https://shandou.medium.com/examples-of-using-conda-poetry-for-cross-platform-python-package-portability-711a7450a522)
- [Mambaforge/miniforge](https://github.com/conda-forge/miniforge)
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- **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
- [Maven daemon on Mac could not be determined.](https://github.com/paulissoft/pato-gui/issues/20)
## [4.0.0] - 2023-11-14
### Fixed
- [Two databases named orcl and something like dev, tst or acc does not work.](https://github.com/paulissoft/pato-gui/issues/18)
- [The PATO GUI must run Maven with the batch switch -B](https://github.com/paulissoft/pato-gui/issues/17)
- [Development build does not work on Windows](https://github.com/paulissoft/pato-gui/issues/15)
- [pip complains about SSL not enabled for Miniconda Python.](https://github.com/paulissoft/pato-gui/issues/14)
- [Development build does not work on Windows.](https://github.com/paulissoft/pato-gui/issues/15)
### Deprecated
- [Pato GUI must run on Python 3.6 or higher.](https://github.com/paulissoft/pato-gui/issues/13)
## [3.0.1] - 2023-10-15
### Fixed
- [Pato GUI must run on Python 3.6 or higher.](https://github.com/paulissoft/pato-gui/issues/13)
## [3.0.0] - 2023-10-14
### Added
- [Python executables must be determined at run-time.](https://github.com/paulissoft/pato-gui/issues/11)
### Fixed
- [Pato gui script does not run due to missing pythonw executable.](https://github.com/paulissoft/pato-gui/issues/10)
## [2.1.0] - 2023-09-06
### Added
- [APEX seed and publish.](https://github.com/paulissoft/oracle-tools/issues/107)
### Fixed
- [The GUI does not start with a message that the property db.config.dir must have been set.](https://github.com/paulissoft/pato-gui/issues/8)
## [2.0.0] - 2022-11-23
### Added
- [Remove all references to Oracle Tools in documentation.](https://github.com/paulissoft/pato-gui/issues/7)
## [1.2.0] - 2022-10-13
### Added
- [It must be possible to use the Maven daemon.](https://github.com/paulissoft/pato-gui/issues/6)
## [1.1.1] - 2022-07-22
### Fixed
- [When you supply the database configuration directory as a relative path, the execution fails.](https://github.com/paulissoft/pato-gui/issues/5)
## [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.](https://github.com/paulissoft/pato-gui/issues/3)
- Applied Python best practices.
Raw data
{
"_id": null,
"home_page": "https://paulissoft.github.io/pato-gui",
"name": "pato-gui",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8.1,<3.13",
"maintainer_email": "",
"keywords": "packaging,poetry",
"author": "Gert-Jan Paulissen",
"author_email": "paulissoft@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9e/aa/9809d0210765cc8274a58442015b001b5a59417136a09aae4b7a6d137d26/pato_gui-4.0.1.tar.gz",
"platform": null,
"description": "# pato-gui\n\n## Table of contents\n\n1. [Introduction](#introduction)\n2. [Installation](#installation)\n 1. [Start a command prompt](#start-command-line-prompt)\n 2. [Installing from PyPi](#installing-from-pypi)\n 3. [Installing from source](#installing-from-source)\n3. [Usage](#usage)\n 1. [Launch the GUI](#launch-the-gui)\n 2. [Help](#help)\n4. [Links](#links)\n\n## Introduction <a name=\"introduction\" />\n\nA Python GUI for [PATO](https://github.com/paulissoft/oracle-tools) as an alternative for the Maven command line.\n\nFirst you probably need to clone PATO so you use its Maven POM files or other Maven POM files having them as parent.\n\nThis GUI would not have been possible without [Gooey](https://github.com/chriskiehl/Gooey).\n\n## Installation <a name=\"installation\" />\n\nThis 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](https://github.com/conda-forge/miniforge). 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](https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html) but much faster. Together with [Poetry](https://python-poetry.org/docs/) this is a good combination to distribute libraries to PyPi.\n\n### Start a command prompt <a name=\"start-command-line-prompt\" />\n\nNeeded for installing and running the PATO GUI. Please Google it if you don't know how to start a command prompt.\n\nFirst please note that the dollar sign you will see below is the command line prompt sign and not a character you have to type.\nThe command line prompt will differ between Operating Systems.\n\n### Installing from PyPi <a name=\"installing-from-pypi\" />\n\nFirst set up a virtual environment using your preferred method:\n\nUsing Mamba (see above) you can create (and activate) such an environment via:\n\n```\n$ mamba create --name <environment> python\n$ mamba activate <environment>\n```\n\nNow continue with:\n\n```\n$ python3 -m pip install pato-gui\n```\n\nNow `pato-gui` should be available and this command shows you the help:\n\n```\n$ pato-gui -h\n```\n\nYou can also build an executable:\n\n```\n$ cd <temporary directory>\n$ pato-gui-build\n```\n\nIn the `dist/PatoGui` folder you will find the `PatoGui` executable.\n\nOf course you can put the executable in `dist/PatoGui` somewhere in your path.\n\n### Installing from source <a name=\"installing-from-source\" />\n\nClone the Git repo [pato-gui](https://github.com/paulissoft/pato-gui) first.\n\nGo to the root folder and issue this command for more help:\n\n```\n$ make help\n```\n\nTo run from the start:\n\n```\n$ make env-create\n$ mambo activate pato-gui\n$ make test\n$ make run\n```\n\n## Usage <a name=\"usage\" />\n\n### Launch the GUI <a name=\"launch-the-gui\" />\n\nI assume that you have built the executable.\n\nLaunch it via:\n\n```\n$ <path to PatoGui>/PatoGui\n```\n\nA graphical interface will pop up.\n\nIf you know the Maven POM file already:\n\n```\n$ <path to PatoGui>/PatoGui <POM file>\n```\n\n### Help <a name=\"help\" />\n\nFrom the command line:\n\n```\n$ <path to PatoGui>/PatoGui -h\n```\n\nAnd in the left top corner of the GUI screen there is a Help button.\n\n## Links <a name=\"links\" />\n\nThese links have been helpful to convert a setuptools based project to Poetry and Mamba.\n\n- [using python-poetry to publish to test.pypi.org](https://stackoverflow.com/questions/68882603/using-python-poetry-to-publish-to-test-pypi-org)\n- [Poetry Read The Docs](https://python-poetry.org/docs/)\n- [Migrating a project to Poetry](https://browniebroke.com/blog/migrating-project-to-poetry/)\n- [Convert Python requirements to Poetry format](https://browniebroke.com/blog/convert-requirements-to-pyproject/)\n- [Specify docs dependency groups with Poetry and Read the Docs](https://browniebroke.com/blog/specify-docs-dependency-groups-with-poetry-and-read-the-docs/)\n- [Convert a Poetry package to the src layout](https://browniebroke.com/blog/convert-existing-poetry-to-src-layout/)\n- [Use poetry to create binary distributable with pyinstaller on package?](https://stackoverflow.com/questions/76145761/use-poetry-to-create-binary-distributable-with-pyinstaller-on-package)\n- [Setup Guide for Poetry Dev Environment on Apple Silicon.](https://github.com/rybodiddly/Poetry-Pyenv-Homebrew-Numpy-TensorFlow-on-Apple-Silicon-M1)\n- [https://stackoverflow.com/questions/70851048/does-it-make-sense-to-use-conda-poetry](https://stackoverflow.com/questions/70851048/does-it-make-sense-to-use-conda-poetry)\n- [Conda and Poetry: A Harmonious Fusion](https://medium.com/@silvinohenriqueteixeiramalta/conda-and-poetry-a-harmonious-fusion-8116895b6380#:~:text=Conda%20and%20Poetry%20are%20two,dependency%20resolution%2C%20and%20package%20distribution.)\n- [Welcome to Mamba\u2019s documentation!](https://mamba.readthedocs.io/en/latest/index.html)\n- [How to Use Poetry with Conda for Package Management on a Specific Python Version](https://michhar.github.io/2023-07-poetry-with-conda/)\n- [Examples of using conda + poetry for cross-platform Python package portability](https://shandou.medium.com/examples-of-using-conda-poetry-for-cross-platform-python-package-portability-711a7450a522)\n- [Mambaforge/miniforge](https://github.com/conda-forge/miniforge)\n\n# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\n- **Added** for new features.\n- **Changed** for changes in existing functionality.\n- **Deprecated** for soon-to-be removed features.\n- **Removed** for now removed features.\n- **Fixed** for any bug fixes.\n- **Security** in case of vulnerabilities.\n\n## [Unreleased]\n\n## [4.0.1] - 2023-12-20\n\n### Fixed\n\n- [Maven daemon on Mac could not be determined.](https://github.com/paulissoft/pato-gui/issues/20)\n\n## [4.0.0] - 2023-11-14\n\n### Fixed\n\n- [Two databases named orcl and something like dev, tst or acc does not work.](https://github.com/paulissoft/pato-gui/issues/18)\n- [The PATO GUI must run Maven with the batch switch -B](https://github.com/paulissoft/pato-gui/issues/17)\n- [Development build does not work on Windows](https://github.com/paulissoft/pato-gui/issues/15)\n- [pip complains about SSL not enabled for Miniconda Python.](https://github.com/paulissoft/pato-gui/issues/14)\n- [Development build does not work on Windows.](https://github.com/paulissoft/pato-gui/issues/15)\n\n### Deprecated\n\n- [Pato GUI must run on Python 3.6 or higher.](https://github.com/paulissoft/pato-gui/issues/13)\n\n## [3.0.1] - 2023-10-15\n\n### Fixed\n\n- [Pato GUI must run on Python 3.6 or higher.](https://github.com/paulissoft/pato-gui/issues/13)\n\n## [3.0.0] - 2023-10-14\n\n### Added\n\n- [Python executables must be determined at run-time.](https://github.com/paulissoft/pato-gui/issues/11)\n\n### Fixed\n\n- [Pato gui script does not run due to missing pythonw executable.](https://github.com/paulissoft/pato-gui/issues/10)\n\n## [2.1.0] - 2023-09-06\n\n### Added\n\n- [APEX seed and publish.](https://github.com/paulissoft/oracle-tools/issues/107)\n\n### Fixed\n\n- [The GUI does not start with a message that the property db.config.dir must have been set.](https://github.com/paulissoft/pato-gui/issues/8)\n\n## [2.0.0] - 2022-11-23\n\n### Added\n\n- [Remove all references to Oracle Tools in documentation.](https://github.com/paulissoft/pato-gui/issues/7)\n\n## [1.2.0] - 2022-10-13\n\n### Added\n\n- [It must be possible to use the Maven daemon.](https://github.com/paulissoft/pato-gui/issues/6)\n\n## [1.1.1] - 2022-07-22\n\n### Fixed\n\n- [When you supply the database configuration directory as a relative path, the execution fails.](https://github.com/paulissoft/pato-gui/issues/5)\n\n## [1.1.0] - 2021-09-10\n\n### Added\n\n- Added actions db-info and db-code (added in oracle-tools 1.2.0).\n\n## [1.0.0] - 2021-06-04\n\n### Added\n\n- [Display information about the Java run-time and compiler.](https://github.com/paulissoft/pato-gui/issues/3)\n- Applied Python best practices.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Paulissoft Application Tools for Oracle (PATO) GUI.",
"version": "4.0.1",
"project_urls": {
"Homepage": "https://paulissoft.github.io/pato-gui",
"Repository": "https://github.com/paulissoft/pato-gui"
},
"split_keywords": [
"packaging",
"poetry"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5a3b06feee20112d0dfab5e774a904f2fda8e12b292fdf97a5e5972a574b567c",
"md5": "78f17c3b4caf8e145302ca8bbe1d153d",
"sha256": "ad11d193ebeed656607ab38b37585068220dcbb1049e1d3a373c8f3d38f74131"
},
"downloads": -1,
"filename": "pato_gui-4.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "78f17c3b4caf8e145302ca8bbe1d153d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<3.13",
"size": 12545,
"upload_time": "2023-12-20T11:17:39",
"upload_time_iso_8601": "2023-12-20T11:17:39.563630Z",
"url": "https://files.pythonhosted.org/packages/5a/3b/06feee20112d0dfab5e774a904f2fda8e12b292fdf97a5e5972a574b567c/pato_gui-4.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9eaa9809d0210765cc8274a58442015b001b5a59417136a09aae4b7a6d137d26",
"md5": "0398ed1a97224db63a17215287162c6b",
"sha256": "b6d02462dacc737efa000cc6b50b27bf4e811a082aa8b867b526abe2de716a39"
},
"downloads": -1,
"filename": "pato_gui-4.0.1.tar.gz",
"has_sig": false,
"md5_digest": "0398ed1a97224db63a17215287162c6b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<3.13",
"size": 13391,
"upload_time": "2023-12-20T11:17:41",
"upload_time_iso_8601": "2023-12-20T11:17:41.055460Z",
"url": "https://files.pythonhosted.org/packages/9e/aa/9809d0210765cc8274a58442015b001b5a59417136a09aae4b7a6d137d26/pato_gui-4.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-20 11:17:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "paulissoft",
"github_project": "pato-gui",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "pato-gui"
}