Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13977 > unrolled thread

Bug#1006483: ITP: python3-mergedeep -- A deep merge function for Python

Started byEdward Betts <edward@4angle.com>
First post2022-02-26 09:20 +0100
Last post2022-02-26 09:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Bug#1006483: ITP: python3-mergedeep -- A deep merge function for Python Edward Betts <edward@4angle.com> - 2022-02-26 09:20 +0100
    Bug#1006483: ITP: python3-mergedeep -- A deep merge function for Python Carsten Schoenert <c.schoenert@t-online.de> - 2022-02-26 09:40 +0100

#13977 — Bug#1006483: ITP: python3-mergedeep -- A deep merge function for Python

FromEdward Betts <edward@4angle.com>
Date2022-02-26 09:20 +0100
SubjectBug#1006483: ITP: python3-mergedeep -- A deep merge function for Python
Message-ID<DV0t3-4qK9-5@gated-at.bofh.it>
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org

* Package name    : python3-mergedeep
  Version         : 1.3.4
  Upstream Author : Travis Clarke
* URL             : https://github.com/clarketm/mergedeep
* License         : MIT
  Programming Lang: Python
  Description     : A deep merge function for Python

Includes four merge strategies:

## Replace

When destination and source keys are the same, replace
the destination value with one from source (default).

## Additive

When destination and source values are both the same additive
collection type, extend destination by adding values from source.

Additive collection types include: list, tuple, set, and Counter

## Typesafe replace
When destination and source values are of different types, raise
TypeError. Otherwise, perform a REPLACE merge.

## Typesafe additive

When destination and source values are of different types, raise
TypeError. Otherwise, perform a ADDITIVE merge.


This is a dependency of the datasette tool by Simon Willison.

I plan to maintain this package as part of the python modules team.

[toc] | [next] | [standalone]


#13978

FromCarsten Schoenert <c.schoenert@t-online.de>
Date2022-02-26 09:40 +0100
Message-ID<DV0CJ-4qNi-3@gated-at.bofh.it>
In reply to#13977
Hello Edward,

I've wrote an ITP for the same package shortly before your ITP:

https://bugs.debian.org/1006479

And uploaded to NEW right now.
So you shouldn't need to do any additional work, I'm happy if you want 
to do some co-maintaining and uploading for this package.

Regards
Carsten

Am 26.02.22 um 09:12 schrieb Edward Betts:
> Package: wnpp
> Severity: wishlist
> Owner: Edward Betts <edward@4angle.com>
> X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org
> 
> * Package name    : python3-mergedeep
>    Version         : 1.3.4
>    Upstream Author : Travis Clarke
> * URL             : https://github.com/clarketm/mergedeep
> * License         : MIT
>    Programming Lang: Python
>    Description     : A deep merge function for Python
> 
> Includes four merge strategies:
> 
> ## Replace
> 
> When destination and source keys are the same, replace
> the destination value with one from source (default).
> 
> ## Additive
> 
> When destination and source values are both the same additive
> collection type, extend destination by adding values from source.
> 
> Additive collection types include: list, tuple, set, and Counter
> 
> ## Typesafe replace
> When destination and source values are of different types, raise
> TypeError. Otherwise, perform a REPLACE merge.
> 
> ## Typesafe additive
> 
> When destination and source values are of different types, raise
> TypeError. Otherwise, perform a ADDITIVE merge.
> 
> 
> This is a dependency of the datasette tool by Simon Willison.
> 
> I plan to maintain this package as part of the python modules team.
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web