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


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

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

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Edward Betts <edward@4angle.com>
Newsgroups linux.debian.bugs.dist, linux.debian.devel, linux.debian.maint.python
Subject Bug#1006483: ITP: python3-mergedeep -- A deep merge function for Python
Date Sat, 26 Feb 2022 09:20:01 +0100
Message-ID <DV0t3-4qK9-5@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Feb 26 08:15:09 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -6.662
Reply-To Edward Betts <edward@4angle.com>, 1006483@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message report 1006483
X-Debian-Pr-Package wnpp
X-Mailer reportbug 11.4.0
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1706835
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 26 Feb 2022 08:12:27 +0000
X-Original-Message-ID <20220226081227.fe7jt5vae77dnhyd@4angle.com>
Xref csiph.com linux.debian.bugs.dist:1094673 linux.debian.devel:103567 linux.debian.maint.python:13977

Cross-posted to 3 groups.

Show key headers only | View raw


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.

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web