BSD Ports

math/py-narwhals 2.26.0 FreeBSD

Extremely lightweight compatibility layer between dataframe libraries

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
50b8b8aed3
License
MIT
Categories
math, python
Package size
830.0 KiB, 7059.9 KiB installed

Description

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

In the other systems

SystemPortVersion
FreeBSDmath/py-narwhals2.26.0
DragonFlymath/py-narwhals1.30.0
MidnightBSDmath/py-narwhals2.21.0

Install

Binary package:

pkg install py312-narwhals

From the ports tree:

cd /usr/ports/math/py-narwhals/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-narwhals>0:math/py-narwhals

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.26.02.26.0-1.48.12.26.0
FreeBSD:14:quarterly2.26.02.26.0n/a1.44.02.26.0
FreeBSD:15:latest2.26.02.26.0n/a1.48.11.48.1
FreeBSD:15:quarterly2.26.02.26.0n/an/an/a
FreeBSD:16:latest2.26.02.26.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 7
Required by 171

The first 100 are listed.

Configuration

Options name: math_narwhals

OptionDefaultDescription
DASKoffDask DataFrame support
DUCKDBoffDuckDB API support
MODINoffModin API support
PANDASoffPandas API support
POLARSoffPolars API support
PYARROWoffPyArrow API support
SKLEARNoffScikit-learn for testing
SQLoffSQL query LazyFrame support
SQLFRAMEoffSQLFrame support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
narwhals-2.26.0.tar.gz6869706b9cadca82f375c7e4cf584fdc86ca25da54827307a9c58f94547ee6104b82dd
Master sites 2
  • PYPI
  • https://github.com/narwhals-dev/narwhals/releases/download/v2.26.0/

Commit history 5

DateCommitCreditsLog message
50b8b8aed3 Po-Chuan Hsieh math/py-narwhals: Update to 2.26.0
Changes: https://github.com/narwhals-dev/narwhals/releases
17f291fb30 Po-Chuan Hsieh math/py-narwhals: Update to 2.25.0
Changes: https://github.com/narwhals-dev/narwhals/releases
d3a634891a Po-Chuan Hsieh math/py-narwhals: Update to 2.24.0
Changes: https://github.com/narwhals-dev/narwhals/releases
fff9e7914a Po-Chuan Hsieh math/py-narwhals: Update to 2.23.0
- Add SKLEARN option Changes: https://github.com/narwhals-dev/narwhals/releases
3e86568e89 Po-Chuan Hsieh math/py-narwhals: Update to 2.22.1
Changes: https://github.com/narwhals-dev/narwhals/releases