Name | henxel JSON |
Version |
0.3.3
JSON |
| download |
home_page | None |
Summary | GUI-editor for Python development. |
upload_time | 2024-12-30 19:19:05 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.11 |
license | None |
keywords |
henxel
editor
editors
tkinter
gui
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Henxel
GUI-editor for Python development. Tested to work with Debian 12, Windows 10 and 11 and macOS 12.
![editor_mac](pics/editor_macOS.png)
![editor_linux](pics/editor_linux.png)
# Featuring
* Auto-indent
* Font Chooser
* Color Chooser
* Line numbering
* Tabbed editing
* Tab-completion
* Inspect object
* Show git-branch
* Run current file
* Search - Replace
* Indent - Unindent
* Comment - Uncomment
* Syntax highlighting
* Click to open errors
* Parenthesis checking
* Persistent configuration
# Prerequisites in Linux
Python modules required that are sometimes not installed with OS: tkinter. Check in Python-console:
```console
>>> import tkinter
```
If no error, it is installed. If it throws an error you have to install it from OS-repository. In debian it is: python3-tk
```console
~$ sudo apt install python3-tk
```
# About virtual environment, optional but highly recommended
Consider creating virtual environment for your python-projects and installing python packages like this editor to it. Editor will not save your configuration if it was not launched from virtual environment. In debian you have to first install this package: python3-venv:
```console
~$ sudo apt install python3-venv
```
There is a linux-script named 'mkvenv' in /util. Copy it to some place nice like bin-directory in your home-directory and make it executable if it is not already:
```console
~/bin$ chmod u+x mkvenv
```
Then make folder for your new project and install venv there and activate it, and show currently installed python-packages in your new virtual environment, and lastly deactivate (quit) environment:
```console
~$ mkdir myproject
~$ cd myproject
~/myproject$ mkvenv env
-------------------------------
~/myproject$ source env/bin/activate
(env) ~/myproject$ pip list
-----------------------------------
(env) ~/myproject$ deactivate
~/myproject$
```
To remove venv just remove the env-directory and you can start from clean desk making new one with mkvenv later. Optional about virtual environment ends here.
# Prerequisites in Windows and venv-creation
Python installation should already include tkinter. There is
mkvenv-install script for Windows in /util. Here is short info about how to
create a working Python virtual environment in Windows. First open console, like
PowerShell (in which: ctrl-r to search command history, most useful) or CMD-Terminal and:
```console
mkdir myproject
cd myproject
myproject> py win_install_mkvenv.py
myproject> mkvenv env
myproject> env\act.bat
If that did not activate venv:
myproject> env\Scripts\activate
After venv is active upgrade pip and install Henxel:
(env) myproject> pip install --upgrade pip
(env) myproject> pip install henxel
Venv is now ready:
(env) myproject> pip list
(env) myproject> deactivate
Launch Henxel:
myproject> env\launch_ed.bat
```
# Prerequisites in macOS and venv-creation
You will need to install newer version of python for example with Homebrew. Look info on the ARR-repository
about how to do that. Or just simply use pkg-installer from python-homepage. There currently is no mkvenv script for macOS,
but making venv is quite same as in Linux. It seems to be enough to make venv
and then install henxel to it without anything else.
```console
~$ mkdir myproject
~$ cd myproject
~/myproject$ python -m venv env
-------------------------------
~/myproject$ source env/bin/activate
(env) ~/myproject$ pip list
-----------------------------------
(env) ~/myproject$ deactivate
~/myproject$
```
# Installing
```console
(env) ~/myproject$ pip install henxel
```
or to install system-wide, not recommended. You need first to install pip from OS-repository:
```console
~/myproject$ pip install henxel
```
# Running from Python-console:
```console
~/myproject$ source env/bin/activate
(env) ~/myproject$ python
--------------------------------------
>>> import henxel
>>> e=henxel.Editor()
```
# Developing
```console
~/myproject$ mkvenv env
~/myproject$ . env/bin/activate
(env) ~/myproject$ git clone https://github.com/SamuelKos/henxel
(env) ~/myproject$ cd henxel
(env) ~/myproject/henxel$ pip install -e .
```
If you currently have no internet but have previously installed virtual environment which has pip and setuptools and you have downloaded henxel-repository:
```console
(env) ~/myproject/henxel$ pip install --no-build-isolation -e .
```
Files are in src/henxel/
# More resources
* [Tcl/Tk](https://tcl.tk/man/tcl9.0/TkCmd/index.html)
* [Python/Tkinter](https://docs.python.org/3/library/tkinter.html)
* [Changelog](https://github.com/SamuelKos/henxel/blob/main/CHANGELOG)
# Licence
This project is licensed under the terms of the GNU General Public License v3.0.
Raw data
{
"_id": null,
"home_page": null,
"name": "henxel",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "henxel, editor, editors, tkinter, GUI",
"author": null,
"author_email": "SamuelKos <koskinens371@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/d0/12/9096fe1e1f58215e6a47fbdb20cbe7379cb8ba9f21281b6fed707627aab2/henxel-0.3.3.tar.gz",
"platform": null,
"description": "# Henxel\nGUI-editor for Python development. Tested to work with Debian 12, Windows 10 and 11 and macOS 12.\n\n![editor_mac](pics/editor_macOS.png)\n\n![editor_linux](pics/editor_linux.png)\n\n# Featuring\n* Auto-indent\n* Font Chooser\n* Color Chooser\n* Line numbering\n* Tabbed editing\n* Tab-completion\n* Inspect object\n* Show git-branch\n* Run current file\n* Search - Replace\n* Indent - Unindent\n* Comment - Uncomment\n* Syntax highlighting\n* Click to open errors\n* Parenthesis checking\n* Persistent configuration\n\n\n# Prerequisites in Linux\nPython modules required that are sometimes not installed with OS: tkinter. Check in Python-console:\n\n```console\n>>> import tkinter\n```\n\nIf no error, it is installed. If it throws an error you have to install it from OS-repository. In debian it is: python3-tk\n\n```console\n~$ sudo apt install python3-tk\n```\n\n# About virtual environment, optional but highly recommended\nConsider creating virtual environment for your python-projects and installing python packages like this editor to it. Editor will not save your configuration if it was not launched from virtual environment. In debian you have to first install this package: python3-venv:\n\n```console\n~$ sudo apt install python3-venv\n```\n\nThere is a linux-script named 'mkvenv' in /util. Copy it to some place nice like bin-directory in your home-directory and make it executable if it is not already:\n\n```console\n~/bin$ chmod u+x mkvenv\n```\n\nThen make folder for your new project and install venv there and activate it, and show currently installed python-packages in your new virtual environment, and lastly deactivate (quit) environment:\n\n```console\n~$ mkdir myproject\n~$ cd myproject\n~/myproject$ mkvenv env\n-------------------------------\n~/myproject$ source env/bin/activate\n(env) ~/myproject$ pip list\n-----------------------------------\n(env) ~/myproject$ deactivate\n~/myproject$\n```\n\nTo remove venv just remove the env-directory and you can start from clean desk making new one with mkvenv later. Optional about virtual environment ends here.\n\n# Prerequisites in Windows and venv-creation\nPython installation should already include tkinter. There is\nmkvenv-install script for Windows in /util. Here is short info about how to\ncreate a working Python virtual environment in Windows. First open console, like\nPowerShell (in which: ctrl-r to search command history, most useful) or CMD-Terminal and:\n\n```console\nmkdir myproject\ncd myproject\nmyproject> py win_install_mkvenv.py\nmyproject> mkvenv env\n\nmyproject> env\\act.bat\n\nIf that did not activate venv:\nmyproject> env\\Scripts\\activate\n\nAfter venv is active upgrade pip and install Henxel:\n(env) myproject> pip install --upgrade pip\n(env) myproject> pip install henxel\n\nVenv is now ready:\n(env) myproject> pip list\n(env) myproject> deactivate\n\nLaunch Henxel:\nmyproject> env\\launch_ed.bat\n```\n\n\n# Prerequisites in macOS and venv-creation\nYou will need to install newer version of python for example with Homebrew. Look info on the ARR-repository\nabout how to do that. Or just simply use pkg-installer from python-homepage. There currently is no mkvenv script for macOS,\nbut making venv is quite same as in Linux. It seems to be enough to make venv\nand then install henxel to it without anything else.\n\n```console\n~$ mkdir myproject\n~$ cd myproject\n~/myproject$ python -m venv env\n-------------------------------\n~/myproject$ source env/bin/activate\n(env) ~/myproject$ pip list\n-----------------------------------\n(env) ~/myproject$ deactivate\n~/myproject$\n```\n\n\n\n# Installing\n```console\n(env) ~/myproject$ pip install henxel\n```\n\nor to install system-wide, not recommended. You need first to install pip from OS-repository:\n\n```console\n~/myproject$ pip install henxel\n```\n\n\n# Running from Python-console:\n\n```console\n~/myproject$ source env/bin/activate\n(env) ~/myproject$ python\n--------------------------------------\n>>> import henxel\n>>> e=henxel.Editor()\n```\n\n# Developing\n\n```console\n~/myproject$ mkvenv env\n~/myproject$ . env/bin/activate\n(env) ~/myproject$ git clone https://github.com/SamuelKos/henxel\n(env) ~/myproject$ cd henxel\n(env) ~/myproject/henxel$ pip install -e .\n```\n\nIf you currently have no internet but have previously installed virtual environment which has pip and setuptools and you have downloaded henxel-repository:\n\n```console\n(env) ~/myproject/henxel$ pip install --no-build-isolation -e .\n```\n\nFiles are in src/henxel/\n\n\n# More resources\n* [Tcl/Tk](https://tcl.tk/man/tcl9.0/TkCmd/index.html)\n\n* [Python/Tkinter](https://docs.python.org/3/library/tkinter.html)\n\n* [Changelog](https://github.com/SamuelKos/henxel/blob/main/CHANGELOG)\n\n# Licence\nThis project is licensed under the terms of the GNU General Public License v3.0.\n",
"bugtrack_url": null,
"license": null,
"summary": "GUI-editor for Python development.",
"version": "0.3.3",
"project_urls": {
"Changelog": "https://github.com/SamuelKos/henxel/blob/main/CHANGELOG",
"Homepage": "https://github.com/SamuelKos/henxel"
},
"split_keywords": [
"henxel",
" editor",
" editors",
" tkinter",
" gui"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b0d7a72a17f27f49e6fcdbb4b3b1881028bf56d77563bb05863a1937b12711dc",
"md5": "d3a8d4b272d2a94f3e8ea5cf2e9359fd",
"sha256": "ff74834c7804a4ccf5ec333f72832a58ead99b666061862654b2a0bf41816e12"
},
"downloads": -1,
"filename": "henxel-0.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d3a8d4b272d2a94f3e8ea5cf2e9359fd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 96276,
"upload_time": "2024-12-30T19:19:02",
"upload_time_iso_8601": "2024-12-30T19:19:02.532141Z",
"url": "https://files.pythonhosted.org/packages/b0/d7/a72a17f27f49e6fcdbb4b3b1881028bf56d77563bb05863a1937b12711dc/henxel-0.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d0129096fe1e1f58215e6a47fbdb20cbe7379cb8ba9f21281b6fed707627aab2",
"md5": "4bb7e5d015cdad5a24fa869092ee5838",
"sha256": "54fc02dbe72031fb57532c1c83f1c8464bdc1c924b4900c3d8a3cd5f276cad08"
},
"downloads": -1,
"filename": "henxel-0.3.3.tar.gz",
"has_sig": false,
"md5_digest": "4bb7e5d015cdad5a24fa869092ee5838",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 90973,
"upload_time": "2024-12-30T19:19:05",
"upload_time_iso_8601": "2024-12-30T19:19:05.516754Z",
"url": "https://files.pythonhosted.org/packages/d0/12/9096fe1e1f58215e6a47fbdb20cbe7379cb8ba9f21281b6fed707627aab2/henxel-0.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-30 19:19:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SamuelKos",
"github_project": "henxel",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "henxel"
}