lindworm

core tools covering folder content, markdown, GUI


Keywords
tools
License
MIT
Install
pip install lindworm==0.1.1

Documentation

lindworm

lindworm is a pure python package.

dependencies

Python 3 is required
use of anaconda recommended.

packages used:

build

images are converted into embedded python script by wx.tools.img2py. bulk convert can be performed by executing encode_bitmaps.py in workspace root.

python encode_bitmaps.py med

argument <x> select encode_<x>.py to be processed.

command_lines = [
    "-u -i -n BtnGn00       v_img/baseGn00a.ico            lindworm/ldmWidImgMed.py",
    "-a -u -n BtnGn01       v_img/baseGn01a.ico            lindworm/ldmWidImgMed.py",
  ]

install

run setup.py in project root folder, e.g. following line to create binary wheel file.

python setup.py bdist_wheel

generated wheel file reside in folder ./dist:
lindworm-x.y.z-py3-none-any.whl assuming lindworm/__init__.py has variable __version__ set.

__version__ = "x.y.z"
pip install ./dist/lindworm-x.y.z-py3-none-any.whl

source install

python setup.py install

uninstall

in case version number is not changed, pip will not install update, therefore package can be uninstalled.

pip uninstall ./dist/lindworm-x.y.z-py3-none-any.whl

pypi

steps to perform on linux (CentOS) to publish on pypi.

python3 setup.py sdist bdist_wheel
twine upload dist/*

setup

  • vscode set Python: Env File to ${workspaceFolder}/dlp.env vscode settings

dlp.env add current workspace folder to python search path, therefore enable package import without having to install in advance. Very useful for performing unit tests.

PYTHONPATH=${workspaceFolder}:${PYTHONPATH}

markdown

some manual found online

pandoc

pandoc is a flexible document converter. see manual

example