From nobody Thu Sep 05 06:19:35 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wzq2b6rwkz5VH1L; Thu, 05 Sep 2024 06:19:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wzq2b4K4Fz40qJ; Thu, 5 Sep 2024 06:19:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725517175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5ZtsQI6prrpxvSp3RDicQuxbsrJVw5AJCP/NXXRnjUc=; b=kAyV3JJfKZ7JJGTeZLvotRXOFiq1GLaPQdibbtdEEQxhcBw8FRnnqeMs4sSD8Sm4hRUbGa MIX/4UpBqpRwcXjJkgBgAM+Ugt2ydti0mtaAcOUFTY6CcsVd483MJkj/2BnlB61bMoaRVI 7Kc6mcQg3GAjaHJaRi5V2iIpJBNOQ092YgCXfI0l/mCYjZmxmk1JEBnfekhlgECRU3ibwi nXcAoYnq5nYmv7Ug0Y3GCbhAPKhU4nDeLHy4RFi0ToJPtItMTRKQoRonKfc1w8ifUuAhqc aVxo1p3SaKEbc3rMfWHLELNOdZ4HiN4PYSFCK+Vsstv0xBMWK8I3U606BzMu0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725517175; a=rsa-sha256; cv=none; b=Wr63elatSGHkSiUZ+IOxbFZZqOhmTeRj8F46W/NoYQYf5/aOXGSAeqksEL4lxRZpxzCPtN KWU3SFhN6TLnMHzRiAgNEJnWd86F8gDJy05S96rPHkfWjniU/SKJOKdqE5SQfliBOOcs21 cL8yMTphn2Oz9RCaziCODzXd0u0Urkhqu7D0eO5woBWK5GwDdG2sb87MxWtQUXJyIglkCM wOTkNYHtu1qCGQe2GqEaz5WObxsFeFn6+dBDUyQ1YwjrTJAeh9Ctptk49KkNcXZUv0QRjX W2W+E5T3U0SRfa37IZYZkkQ9eV6U5iuGz4bPKGoT/XxjAfqe1bZi//4/wfdKUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725517175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5ZtsQI6prrpxvSp3RDicQuxbsrJVw5AJCP/NXXRnjUc=; b=GKq0iyI5bld9ldX2+Wpn8NnkbNUWsag21wPvGOoWdd/0i32R8n/ZzYQ7Dt1DJSy8JbP4Bf VbJ05EPw8XBW9mc5lktmoNRwPB1uhOC3fk1On4ciJ+5W+Ufv5XzrZMPwYhqn1JrHmxjxRj kOEqGPI35lzFjrmnxAky+O2x4WSgBMbLBhOK+zpncyWGZVOfpWsPulHrbfmz0kI1vXXz7C vj8ckuhanaSfIhQytzILeFIPGKfOqBSoAM+YQB2XBaZzSdQRFmsWtcSj+KjsTIiMA2ikF6 eELyD50U1QpOVCD724oVkzI9cuvRLofZr4ioKqJdO8IAZFCuE9kFtWl1MdmlZQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wzq2b3vwLzxCw; Thu, 5 Sep 2024 06:19:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4856JZwb091795; Thu, 5 Sep 2024 06:19:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4856JZcs091792; Thu, 5 Sep 2024 06:19:35 GMT (envelope-from git) Date: Thu, 5 Sep 2024 06:19:35 GMT Message-Id: <202409050619.4856JZcs091792@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: b520fe445860 - main - math/py-narwhals: Add py-narwhals 1.4.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b520fe44586012d234134d46101608318182fb0a Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b520fe44586012d234134d46101608318182fb0a commit b520fe44586012d234134d46101608318182fb0a Author: Po-Chuan Hsieh AuthorDate: 2024-09-05 05:14:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-05 06:11:20 +0000 math/py-narwhals: Add py-narwhals 1.4.2 Narwhals is an extremely lightweight and extensible compatibility layer between dataframe libraries! - Full API support: cuDF, Modin, pandas, Polars, PyArrow - Interchange-level support: Ibis, Vaex, anything else which implements the DataFrame Interchange Protocol Seamlessly support all, without depending on any! - Just use a subset of the Polars API, no need to learn anything new - Zero dependencies, Narwhals only uses what the user passes in so your library can stay lightweight - Separate lazy and eager APIs, use expressions - Support pandas' complicated type system and index, without either getting in the way - 100% branch coverage, tested against pandas and Polars nightly builds - Negligible overhead, see overhead - Let your IDE help you thanks to full static typing, see typing - Perfect backwards compatibility policy, see stable api for how to opt-in --- math/Makefile | 1 + math/py-narwhals/Makefile | 22 ++++++++++++++++++++++ math/py-narwhals/distinfo | 3 +++ math/py-narwhals/pkg-descr | 17 +++++++++++++++++ 4 files changed, 43 insertions(+) diff --git a/math/Makefile b/math/Makefile index cbe5c15fbbf4..f5ba2137fd31 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1000,6 +1000,7 @@ SUBDIR += py-moarchiving SUBDIR += py-mpmath SUBDIR += py-munkres + SUBDIR += py-narwhals SUBDIR += py-ndindex SUBDIR += py-networkx SUBDIR += py-nevergrad diff --git a/math/py-narwhals/Makefile b/math/py-narwhals/Makefile new file mode 100644 index 000000000000..48b761cb6962 --- /dev/null +++ b/math/py-narwhals/Makefile @@ -0,0 +1,22 @@ +PORTNAME= narwhals +PORTVERSION= 1.4.2 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Extremely lightweight compatibility layer between dataframe libraries +WWW= https://narwhals-dev.github.io/narwhals/ \ + https://github.com/narwhals-dev/narwhals + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/math/py-narwhals/distinfo b/math/py-narwhals/distinfo new file mode 100644 index 000000000000..5265f5780c3c --- /dev/null +++ b/math/py-narwhals/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724084486 +SHA256 (narwhals-1.4.2.tar.gz) = b33348b1d187208227f404f1808713f434e401951b780a34719e4eade1fa5df5 +SIZE (narwhals-1.4.2.tar.gz) = 126634 diff --git a/math/py-narwhals/pkg-descr b/math/py-narwhals/pkg-descr new file mode 100644 index 000000000000..d2adaa9362e7 --- /dev/null +++ b/math/py-narwhals/pkg-descr @@ -0,0 +1,17 @@ +Narwhals is an extremely lightweight and extensible compatibility layer between +dataframe libraries! +- Full API support: cuDF, Modin, pandas, Polars, PyArrow +- Interchange-level support: Ibis, Vaex, anything else which implements the + DataFrame Interchange Protocol + +Seamlessly support all, without depending on any! +- Just use a subset of the Polars API, no need to learn anything new +- Zero dependencies, Narwhals only uses what the user passes in so your library + can stay lightweight +- Separate lazy and eager APIs, use expressions +- Support pandas' complicated type system and index, without either getting in + the way +- 100% branch coverage, tested against pandas and Polars nightly builds +- Negligible overhead, see overhead +- Let your IDE help you thanks to full static typing, see typing +- Perfect backwards compatibility policy, see stable api for how to opt-in