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
| System | Port | Version |
|---|---|---|
| FreeBSD | math/py-narwhals | 2.26.0 |
| DragonFly | math/py-narwhals | 1.30.0 |
| MidnightBSD | math/py-narwhals | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.26.0 | 2.26.0 | - | 1.48.1 | 2.26.0 |
| FreeBSD:14:quarterly | 2.26.0 | 2.26.0 | n/a | 1.44.0 | 2.26.0 |
| FreeBSD:15:latest | 2.26.0 | 2.26.0 | n/a | 1.48.1 | 1.48.1 |
| FreeBSD:15:quarterly | 2.26.0 | 2.26.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.26.0 | 2.26.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Required by 171
- astro/py-astroML
- audio/py-librosa
- benchmarks/uica
- biology/atac-seq
- biology/biostar-tools
- biology/chip-seq
- biology/fasda-utils
- biology/py-deeptools
- biology/py-goatools
- biology/py-hits
- biology/py-macs3
- biology/py-multiqc
- biology/py-pydeseq2
- biology/py-scikit-bio
- biology/rna-seq
- cad/py-ezdxf
- deskutils/py-paperless-ngx
- deskutils/py-qmd
- devel/py-marimo
- devel/py-sirmordred
- finance/py-bt
- finance/py-ffn
- finance/py-financedatabase
- finance/py-financetoolkit
- finance/py-fundamentalanalysis
- finance/py-openbb
- finance/py-openbb-charting
- finance/py-openbb-econometrics
- finance/py-openbb-quantitative
- finance/py-openbb-technical
- finance/py-openbb-yfinance
- finance/py-pandas-ta-openbb
- graphics/py-altair
- graphics/py-chart-studio
- graphics/py-geomdl
- graphics/py-geosnap
- graphics/py-giddy
- graphics/py-mapclassify
- graphics/py-mgwr
- graphics/py-momepy
- graphics/py-neatnet
- graphics/py-olmocr
- graphics/py-pandana
- graphics/py-pandarm
- graphics/py-plotly
- graphics/py-pointpats
- graphics/py-pyrsgis
- graphics/py-qudida
- graphics/py-urbanaccess
- graphics/py-urbansim
- graphics/qgis
- graphics/qgis-ltr
- math/py-bayesian-optimization
- math/py-fairlearn
- math/py-formulaic
- math/py-formulaic-contrasts
- math/py-hdbscan
- math/py-hmmlearn
- math/py-hypernetx
- math/py-linearmodels
- math/py-nevergrad
- math/py-openTSNE
- math/py-pynndescent
- math/py-pyreadstat
- math/py-python-picard
- math/py-scikit-datasets
- math/py-scikit-fda
- math/py-seaborn
- math/py-spglm
- math/py-spint
- math/py-splot
- math/py-spopt
- math/py-spreg
- math/py-ssm
- math/py-statsmodels
- math/py-umap-learn
- misc/colibri
- misc/comfyui
- misc/py-banks
- misc/py-codecarbon
- misc/py-compressed-tensors
- misc/py-eemeter
- misc/py-kokoro
- misc/py-lightgbm
- misc/py-litellm
- misc/py-llama-index-core
- misc/py-llama-index-embeddings-huggingface
- misc/py-llama-index-llms-ibm
- misc/py-llama-index-llms-openai
- misc/py-llama-index-llms-openai-like
- misc/py-optimum
- misc/py-peft
- misc/py-polars
- misc/py-polars-runtime
- misc/py-sentence-transformers
- misc/py-shap2
- misc/py-skops
- misc/py-transformers
- misc/py-vllm
- misc/py-xgboost
The first 100 are listed.
Configuration
Options name: math_narwhals
| Option | Default | Description |
|---|---|---|
| DASK | off | Dask DataFrame support |
| DUCKDB | off | DuckDB API support |
| MODIN | off | Modin API support |
| PANDAS | off | Pandas API support |
| POLARS | off | Polars API support |
| PYARROW | off | PyArrow API support |
| SKLEARN | off | Scikit-learn for testing |
| SQL | off | SQL query LazyFrame support |
| SQLFRAME | off | SQLFrame support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| narwhals-2.26.0.tar.gz | 686970 | 6b9cadca82f375c7e4cf584fdc86ca25da54827307a9c58f94547ee6104b82dd |
Master sites 2
- PYPI
- https://github.com/narwhals-dev/narwhals/releases/download/v2.26.0/