My own library of Python utilities
  • Python 98.8%
  • Makefile 0.9%
  • Shell 0.3%
Find a file
2026-08-27 08:00:24 +02:00
doc +ftw() 2026-08-25 16:51:24 +02:00
examples be able to check if an option was provided on the command line 2026-01-29 14:28:09 +01:00
jpylib ftw.py: improve docstrings and comment 2026-08-27 08:00:24 +02:00
lib +ftw() 2026-08-25 16:51:24 +02:00
package README.md: fix doc URL 2025-09-09 09:55:01 +02:00
tests +ftw() 2026-08-25 16:51:24 +02:00
.gitignore ignore TAGS file 2020-09-20 12:36:25 +02:00
Changelog +ftw() 2026-08-25 16:51:24 +02: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 README.md: directory hierarchy traversing no longer missing 2026-08-25 16:55:33 +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

[2026-08-25 ni]