GUI-editor for Python development.
Project description
Henxel
GUI-editor for Python development.
Featuring
- Auto-indent
- Font Chooser
- Color Chooser
- Line numbering
- Tabbed editing
- Tab-completion
- Inspect module
- Show git-branch
- Run code/file/project
- Search - Replace
- Indent - Unindent
- Comment - Uncomment
- Syntax highlighting
- Click to open errors
- Parenthesis checking
- Persistent configuration
- etc
Prerequisites in Linux
Python modules required that are sometimes not installed with OS: tkinter. Check in Python-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
~$ 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. In debian you may have to first install this package: python3-venv:
~$ 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:
~/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:
~$ 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. First open console, like PowerShell (in which: ctrl-r to search command history, most useful) and read macOS -info below. Just use: env/Scripts/activate to activate venv.
Prerequisites in macOS and venv-creation
You will need to install newer version of python. Can simply use pkg-installer from Python-homepage. 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.
~$ mkdir myproject
~$ cd myproject
~/myproject$ python -m venv env
-------------------------------
~/myproject$ source env/bin/activate
(env) ~/myproject$ pip list
-----------------------------------
(env) ~/myproject$ deactivate
~/myproject$
Installing
(env) ~/myproject$ pip install henxel
To install system-wide, (You may need first to install pip from OS-repository):
~/myproject$ pip install henxel
Running, from Python-console:
~/myproject$ source env/bin/activate
(env) ~/myproject$ python
--------------------------------------
>>> import henxel
>>> e=henxel.Editor()
Running, from terminal:
Can just type "henxel" and hit Enter or for example:
~/myproject$ source env/bin/activate
(env) henxel file1.py file2.py ...
Running, from terminal:
~/myproject$ source env/bin/activate
(env) python -m henxel file1.py file2.py ...
Developing
~/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:
(env) ~/myproject/henxel$ pip install --no-build-isolation -e .
Files are in src/henxel/
More resources
Licence
This project is licensed under the terms of the GNU General Public License v3.0.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file henxel-0.3.5.tar.gz.
File metadata
- Download URL: henxel-0.3.5.tar.gz
- Upload date:
- Size: 130.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f931c66a7a96e57c1873f7f1e315ab09f2b040e15d38408b5b5bd409cf5db3f
|
|
| MD5 |
9a701e5ab87132d667ba201de046a90a
|
|
| BLAKE2b-256 |
a7804fd3c6c42493605247dcf33a142b257b69ecaa084b63e53fce00fe6e2c7e
|
File details
Details for the file henxel-0.3.5-py3-none-any.whl.
File metadata
- Download URL: henxel-0.3.5-py3-none-any.whl
- Upload date:
- Size: 134.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee06c9402e0b988361914fcba637fa2e624e0bd501bc4b16f6052fb57e885a09
|
|
| MD5 |
e4e6bb3537699fc120a2a66f3acd4029
|
|
| BLAKE2b-256 |
760a349873ffded2ceb18fdcf5bec089f8b2d063961c469040335d6aa030f344
|