No description
  • Python 98.8%
  • Makefile 1%
  • Shell 0.2%
Find a file
2026-02-01 11:38:26 +01:00
doc be able to check if an option was provided on the command line 2026-01-29 14:28:09 +01:00
examples be able to check if an option was provided on the command line 2026-01-29 14:28:09 +01:00
jpylib export alert function aliases dbg_vars, errorf, error, dbg, dbgf 2026-02-01 11:24:36 +01:00
lib move to using markdown_py (Makefile, make-toc) 2025-12-20 13:43:54 +01:00
package README.md: fix doc URL 2025-09-09 09:55:01 +02:00
tests be able to check if an option was provided on the command line 2026-01-29 14:28:09 +01:00
.gitignore ignore TAGS file 2020-09-20 12:36:25 +02:00
Changelog Changelog: document err* and dbg* aliases 2026-02-01 11:28:16 +01:00
LICENSE LICENSE: updated years 2026-01-29 14:24:31 +01:00
Makefile Makefile: check Changelog up-to-dateness before building package 2026-02-01 11:38:26 +01:00
README.md tiny doc polishing 2025-09-09 09:17:03 +02:00

My Python Library

jpylib is a library package of things I want to have at hand for my own daily Python programming. It consists of a number of programming utilities I have developed and want to re-use.

This is a PyPi package, named jpylib-jyrgenn so I can access it from everywhere as https://pypi.org/project/jpylib-jyrgenn/ and import it into programs as a whole. That could look like this:

import jpylib as y

# trace calls of this function
@y.tracefn
def foo(bar, moo=None):
    pass

ovc, args = y.pgetopts({
    "v": (...),
})

The two functions called above, the tracefn decorator and the pgetopts() function were indeed the first two I had in mind. Quite a few more followed in between.

Components

See the documentation (referenced below) for a list of the components.

Documentation

  • jpylib: brief documentation of the jpylib functionality.

  • pgetopts: somewhat more extensive documentation of the pgetopts() function, the library's most complex component

To Do Next

  • maybe some directory hierarchy traversing support (the need to do that comes up again and again)

[ni 2022-08-13] started