namedtupledefs3 - field defaults for Python3

The namedtupledefs3 is the same as namedtupledefs - if you prefer ReadTheDocs-style see namedtupledefs @ [namedtupledefs]. The namedtupledefs is tested and released for Python3.5+ - should work on all Python3. For the release for Python2 refer to namedtupledefs2 [namedtupledefs2]. For the standard library collections.namedtuple see Python documentation [namedtuple].

Abstract

The namedtupledefs package provides a patched version of the original collections.namedtuple. The namedtupledefs package introduces:

  • field defaults

    Default values for the fields in function style see [PYFUNC] The implementation is pure dynamic by generated default values for the method __new__, thus has no impact on the created namedtuple class. Neither on resources, nor on performance. See API_NEW.

  • merge

    In addition the method _merge is added to the created named tuple class. This provides the concatination of multiple results from namedtuple into a new instance of a new class. See API_MERGE, Python2, and Python3.

_images/structure.png

Figure: Class Diagram of namedtupledefs zoom more…

For an overview with additional details refer to the following section Blueprint.

For the standard library collections.namedtuple see Python documentation [namedtuple]. For the release for Python2 refer to namedtupledefs2 [namedtupledefs2].

Start Here

Cockpit

API

For an overview of the call interfaces and their valid call parameters refer to

Call interfaces:

For implementation details refer to “The SW-Design of namedtupledefs”.

Functions

Documents

Artifacts

Shortcuts

Concepts and Design

The SW-Design of namedtupledefs

Programming Interfaces

Documents

Application

Licenses

Product Data

  • MISSION=Extended ‘namedtuple’ by default values.

  • AUTHOR=Arno-Can Uestuensoez

  • PROJECT=namedtupledefs

  • COPYRIGHT=(C)2019 Arno-Can Uestuensoez

  • LICENSE=Artistic-License-2.0 + Forced-Fairplay-Constraints

  • VERSION=0.1.21

  • RELEASE=0.1.21

  • STATUS=Unknown

  • BUILDDATE=2019.12.13-12:39

profileinfoidx0 [xkcd] Support the OpenSource Authors

The Original Code and Documentation

The original license is preserved for the used parts of the original artifacts.

The Patches

The patches are provided by two licenses.

  • For the Original Author

    For the original author of the patched code:

    The same license as the original code.

  • For Others

    For others - commercial and private:

Configuration Files

The configuration files 0 if not noted else - are licensed by MIT License.

This document

For this document - either as a whole or partial:

ccby

Creative Commons license - CC BY [CCBY] - requires to add the authors name and the preservation of the license of the patches for derived works of any level.

Modified Artistic License

The modified Artistic License is based on the ArtisticLicense2.0, but adds the amendmend of “Forced-Fairplay-Constraints” for peer-to-peer fairplay rules. The modification restricts, and even revokes the permission including the open source attribution in case of breaches, including the past.

License:ModifiedArtisticLicense2.0 = ArtisticLicense2.0 + Forced-Fairplay-Constraints
From Ingenieurbuero Arno-Can Uestuensoez
Name  ModifiedArtisticLicense2.0

This is perfectly allright, as you may refer to cases like the faith of Andreas Pavel [AndreasPavel], or even my own - UnifiedSessionsManager (C) 2008 Arno-Can Uestuensoez [UnifiedSessionsManager] - the first multivendor cloud management system, capable of distributed hybrid clouds including virtual desktops. The UnifiedSessionsManager was originally licensed as GPL3.

So the software is OpenSource as long as you comply to basic rules - else not.