# -*- coding: utf-8 -*- # Copyright (C) 2009-2012 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This module is part of the package LNX. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # LNX.__init__ # # Purpose # Initialize package `LNX` # # Revision Dates # 12-May-2009 (CT) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace LNX = Package_Namespace() del Package_Namespace ### __END__ LNX.__init__
# Copyright (C) 2012 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This package is part of the package GTW.RST. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # GTW.RST.TOP.__init__ # # Purpose # Framework for Tree-of-Pages, mostly RESTful # # Revision Dates # 3-Jul-2012 (CT) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _GTW._RST import RST TOP = Package_Namespace() RST._Export("TOP") del Package_Namespace ### __END__ GTW.RST.TOP.__init__
# -*- coding: utf-8 -*- # Copyright (C) 2003-2017 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # CAL.__init__ # # Purpose # Package for calendar management # # Revision Dates # 5-Apr-2003 (CT) Creation # 22-Mar-2005 (CT) Moved from lib/python/_TFL to svn repository # 11-Oct-2016 (CT) Add `__version__` # 22-Feb-2017 (CT) Remove `__version__` # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace CAL = Package_Namespace() del Package_Namespace ### __END__ CAL.__init__
#++ # Name # MOM.Pred.__init__ # # Purpose # Initialize package `MOM.Pred` # # Revision Dates # 17-Sep-2009 (CT) Creation (factored from TOM.Pred) # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _MOM import MOM Pred = Package_Namespace() MOM._Export("Pred") del Package_Namespace __doc__ = """ .. moduleauthor:: Christian Tanzer <*****@*****.**> `MOM.Pred` provides a framework for the definition and implementation of essential and non-essential predicates of :class:`objects<_MOM.Object.Object>` and :class:`links<_MOM.Link.Link>` of essential object models. A predicate defines a condition that must be satisfied by the instances of an essential class or association. Some predicates must hold at all times during the life of an entity (commonly called
# -*- coding: utf-8 -*- # Copyright (C) 2014 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # CNDB.__init__ # # Purpose # Common node database: object model, web resources, templates # # Revision Dates # 07-Jul-2014 (CT) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace CNDB = Package_Namespace() del Package_Namespace ### __END__ CNDB.__init__
# 3-Jan-2006 (MG) `load_user_config` changed # 5-Jan-2006 (CT) `load_config_file` factored to `TGL` and # `load_user_config` interface changed (`* config_fn`) # 9-Jul-2007 (CT) `text_output_width` added # 27-Dec-2010 (CT) `minor_version` version increased to 7 # 15-Aug-2015 (CT) Use `@eval_function_body` for scoped setup code # 29-Oct-2015 (CT) Use `utf-8`, not `ascii`, as default `default_encoding` # 9-Oct-2016 (CT) Remove dependency on `TGL` # 19-Aug-2019 (CT) Add `msg_base_dirs` # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _TFL.Decorator import eval_function_body PMA = Package_Namespace () @eval_function_body def _setup_PMA_properties () : import locale import sys def load_user_config (* config_fn) : from _TFL import sos from _TFL.load_config_file import load_config_file if not config_fn : config_fn = ("~", "PMA", ".config.py") load_config_file (sos.path.join (* config_fn), dict (PMA = PMA)) PMA.authors = ["Christian Tanzer", "Martin Glueck"] PMA.major_version = _M = 0 PMA.minor_version = _m = 8 PMA.patchlevel = _p = 0
# `TFL.Meta` provides meta-classes and property-helpers # # Revision Dates # 13-May-2002 (CT) Creation # 2-Feb-2009 (CT) Documentation added # 3-Feb-2009 (CT) Documentation added.. # 4-Feb-2009 (CT) Documentation added... # 14-Oct-2013 (CT) Add `Single_Dispatch` # 5-Aug-2015 (CT) Add `M_Auto_Update_Combined` # ««revision-date»»··· #-- from _TFL import TFL from _TFL.Package_Namespace import Package_Namespace Meta = Package_Namespace() TFL._Export("Meta") del Package_Namespace __doc__ = """ .. moduleauthor:: Christian Tanzer <*****@*****.**> `TFL.Meta` provides a generic base-class and various meta-classes and property-helpers: - New-style classes should be derived (directly or indirectly) from :class:`Object<_TFL._Meta.Object.Object>` instead of Python's builtin `object`. - Classes derived from other builtin types (like `dict`, `list`,
# -*- coding: utf-8 -*- # Copyright (C) 2015 Mag. Christian Tanzer All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This package is part of the package GTW.OMP.PAP. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # GTW.OMP.PAP.E164.__init__ # # Purpose # Package providing country specific information about E.164, aka, # the international public telecommunication numbering plan # # Revision Dates # 23-Jul-2015 (CT) Creation # ««revision-date»»··· #-- from _GTW._OMP._PAP import PAP from _TFL.Package_Namespace import Package_Namespace E164 = Package_Namespace() PAP._Export("E164") ### __END__ GTW.OMP.PAP.E164.__init__
# Copyright (C) 2012 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This package is part of the package CNDB. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # CNDB.GTW.__init__ # # Purpose # RESTful web services for CNDB # # Revision Dates # 6-Jun-2012 (CT) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _CNDB import CNDB GTW = Package_Namespace() CNDB._Export("GTW") del Package_Namespace ### __END__ CNDB.GTW.__init__
# Copyright (C) 1999-2010 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This package is part of the package _MOM. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # MOM.DBW.HPS.__init__ # # Purpose # Database wrapper for Hash-Pickle-Store # # Revision Dates # 18-Dec-2009 (CT) Creation # ««revision-date»»··· #-- from _MOM._DBW import DBW from _TFL.Package_Namespace import Package_Namespace HPS = Package_Namespace () DBW._Export ("HPS") del Package_Namespace ### __END__ MOM.DBW.HPS.__init__
# Copyright (C) 2006-2017 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This module is part of the package ATAX. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # ATAX.__init__ # # Purpose # Initialize package `ATAX` # # Revision Dates # 11-Feb-2006 (CT) Creation # 11-Oct-2016 (CT) Add `__version__` # 22-Feb-2017 (CT) Remove `__version__` # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace ATAX = Package_Namespace() del Package_Namespace ### __END__ ATAX.__init__
#++ # Name # MOM.Prop.__init__ # # Purpose # Initialize package `MOM.Prop` # # Revision Dates # 24-Sep-2009 (CT) Creation (factored from TOM classes) # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _MOM import MOM Prop = Package_Namespace() MOM._Export("Prop") del Package_Namespace __doc__ = """ .. moduleauthor:: Christian Tanzer <*****@*****.**> `MOM.Prop` provides a framework for the definition and implementation of essential attributes and predicates of :class:`objects<_MOM.Object.Object>` and :class:`links<_MOM.Link.Link>` of essential object models. """
# Name # ReST.__init__ # # Purpose # Package augmenting reStructuredText # # Revision Dates # 15-Feb-2010 (CT) Creation # 29-Aug-2014 (CT) Filter warnings from `PIL` # 12-Oct-2016 (CT) Add `__version__` # 22-Feb-2017 (CT) Remove `__version__` # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace ReST = Package_Namespace() del Package_Namespace ### Filter PIL warnings to avoid crap like this:: # /usr/lib/python2.7/site-packages/PIL/Image.py:44: # DeprecationWarning: classic int division # MAX_IMAGE_PIXELS = int(1024 * 1024 * 1024 / 4 / 3) import warnings warnings.filterwarnings("ignore", module="^PIL.*") del warnings ### __END__ ReST.__init__
# Copyright (C) 2014 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This package is part of the package GTW. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # GTW.MF3.__init__ # # Purpose # Package providing support for MOM forms, 3rd edition # # Revision Dates # 24-Apr-2014 (CT) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _GTW import GTW MF3 = Package_Namespace() GTW._Export("MF3") del Package_Namespace ### __END__ GTW.MF3.__init__
# Copyright (C) 2012 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This package is part of the package MOM. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # MOM.Graph.__init__ # # Purpose # Package providing graphical display of MOM object models # # Revision Dates # 16-Aug-2012 (CT) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _MOM import MOM Graph = Package_Namespace() MOM._Export("Graph") del Package_Namespace ### __END__ MOM.Graph.__init__
# Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # __init__ # # Purpose # Package for 2D geometry # # Revision Dates # 24-Jun-2002 (CT) Creation # 23-Jul-2007 (CED) Activated absolute_import # 06-Aug-2007 (CED) Future import removed again # ««revision-date»»··· #-- from _TFL import TFL from _TFL.Package_Namespace import Package_Namespace D2 = Package_Namespace() TFL._Export("D2") del Package_Namespace ### __END__ __init__
# Copyright (C) 2012 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This package is part of the package GTW.RST.TOP. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # GTW.RST.TOP.MOM.__init__ # # Purpose # Framework for MOM-specific Tree-of-Pages, mostly RESTful # # Revision Dates # 15-Jul-2012 (CT) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _GTW._RST._TOP import TOP MOM = Package_Namespace () TOP._Export ("MOM") del Package_Namespace ### __END__ GTW.RST.TOP.MOM.__init__
# Copyright (C) 2012 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This package is part of the package CNDB. # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # CNDB.JNJ.__init__ # # Purpose # Jinja templates for CNDB # # Revision Dates # 6-Jun-2012 (CT) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _CNDB import CNDB JNJ = Package_Namespace () CNDB._Export ("JNJ") del Package_Namespace ### __END__ CNDB.JNJ.__init__
# # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # TFL.SDG.__init__ # # Purpose # Package modelling structured document generators # # Revision Dates # 23-Jul-2004 (CT) Creation # 23-Jul-2007 (CED) Activated absolute_import # 06-Aug-2007 (CED) Future import removed again # 26-Feb-2012 (MG) `__future__` imports added # ««revision-date»»··· #-- from __future__ import absolute_import, division, print_function, unicode_literals from _TFL import TFL from _TFL.Package_Namespace import Package_Namespace SDG = Package_Namespace() TFL._Export("SDG") del Package_Namespace ### __END__ TFL.SDG.__init__
# Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # TFL.Units.__init__ # # Purpose # Package for measurement units # # Revision Dates # 8-Aug-2004 (CT) Creation # 23-Jul-2007 (CED) Activated absolute_import # 06-Aug-2007 (CED) Future import removed again # ««revision-date»»··· #-- from _TFL import TFL from _TFL.Package_Namespace import Package_Namespace Units = Package_Namespace() TFL._Export("Units") del Package_Namespace ### __END__ TFL.Units.__init__
# Copyright (C) 2007-2010 Martin Glück. All rights reserved # Langstrasse 4, A--2244 Spannberg, Austria. [email protected] # **************************************************************************** # # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # GTW.Werkzeug.__init__ # # Purpose # Some wrappers/extensions to the werkzeug WSGI utilities # (werkzeug.pocoo.org) # # Revision Dates # 20-Mar-2010 (MG) Creation # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace from _GTW import GTW Werkzeug = Package_Namespace() GTW._Export("Werkzeug") del Package_Namespace ### __END__ GTW.Werkzeug.__init__
# -*- coding: utf-8 -*- # Copyright (C) 2007-2016 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. [email protected] # **************************************************************************** # This module is licensed under the terms of the BSD 3-Clause License # <http://www.c-tanzer.at/license/bsd_3c.html>. # **************************************************************************** # #++ # Name # SKY.__init__ # # Purpose # Package for astronomical calculations # # Revision Dates # 13-Nov-2007 (CT) Creation # 9-Oct-2016 (CT) Move out from `CAL` to toplevel package # ««revision-date»»··· #-- from _TFL.Package_Namespace import Package_Namespace SKY = Package_Namespace() del Package_Namespace ### __END__ SKY.__init__