Skip to content
Snippets Groups Projects
Select Git revision
  • 6cc3ee8bce56394500c78b080b8e555d290ffa6b
  • master default protected
  • hruska-bugfix-json-save
  • devel
  • 0.62
  • 0.61
6 results

pyzenkit

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Honza Mach authored
    Added support for colored output for better readability, implemented target for installation of project dependencies (will be used by automated build system), tweaked makefile documentation and format of the output.
    6cc3ee8b
    History

    PyZenKit - Python script and daemon toolkit's documentation!

    Warning

    Although production code is based on this library, it should still be considered as work in progress.

    Introduction

    This package contains collection of usefull tools and utilities for creating console applications, scripts and system services (daemons) in Python 3. It provides easily extendable and customizable base implementations of generic application, script or daemon and which take care of many common issues and tasks like configuration loading and merging, command line argument parsing, logging setup, etc.

    The extensive documentation and tutorials is still under development, however usage examples and demonstration applications are provided right in the source code of appropriate module. Just execute the module with Python3 interpretter to see the demonstration:

    python3 path/to/application.py --help

    Features

    Currently the package contains following features:

    :py:mod:`pyzenkit.jsonconf`
    Module for handling JSON based configuration files and directories.
    :py:mod:`pyzenkit.daemonizer`
    Module for taking care of all process daemonization tasks.
    :py:mod:`pyzenkit.baseapp`
    Module for writing generic console applications.
    :py:mod:`pyzenkit.zenscript`
    Module for writing generic console scripts with built-in support for repeated executions (for example by cron-like service).
    :py:mod:`pyzenkit.zendaemon`
    Module for writing generic system services (daemons).

    Copyright

    Copyright (C) since 2016 CESNET, z.s.p.o (http://www.ces.net/) Copyright (C) since 2015 Jan Mach <honza.mach.ml@gmail.com> Use of this package is governed by the MIT license, see LICENSE file.

    This project was initially written for personal use of the original author. Later it was developed much further and used for project of author`s employer.