</>PackageGraphPackageGraph

narwhals

PyPIv2.26.0

Extremely lightweight compatibility layer between dataframe libraries

Not recommended for new projects

No — narwhals should not be adopted for new projects. No license declared — you have no explicit right to use this code.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 1 days ago. 50 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 463 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • FLicense: grade F, Failing.

    No license declared — you have no explicit right to use this code.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding narwhals to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

463 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Python
python >=3.10

Quick start

A usage example from the narwhals README.

import narwhals as nw
from narwhals.typing import IntoFrameT


def agnostic_function(df_native: IntoFrameT) -> IntoFrameT:
    return (
        nw.from_native(df_native)
        .with_columns(
            category=nw.when(nw.col("animal").str.contains("whale"))
            .then(nw.lit("whale"))
            .otherwise(nw.lit("other"))
        )
        .to_native()
    )

Used by

Popular packages that depend on narwhals.

Relationship graph

Dependencies (left) and dependents (right) of narwhals.

scikit-learnnarwhals
narwhals dependencies dependents

Frequently installed together

Release history

50 releases in the last two years, typically about 15 days apart.

Recent versions of narwhals
VersionPublishedSizeLicense
2.26.0latest1 day ago463 KB
2.25.020 days ago456 KB
2.24.01 month ago450 KB
2.23.02 months ago448 KB
2.22.13 months ago444 KB
2.22.03 months ago443 KB
2.21.23 months ago441 KB
2.21.04 months ago441 KB
2.20.04 months ago439 KB
2.19.05 months ago437 KB
2.18.15 months ago435 KB
2.18.06 months ago434 KB
2.17.06 months ago434 KB
2.16.07 months ago434 KB
2.15.08 months ago423 KB

Overview

narwhals is an PyPI package that extremely lightweight compatibility layer between dataframe libraries. It has 1 known dependents in the graph. The latest version is 2.26.0.

Who should use it

Teams working in the PyPI ecosystem who need extremely lightweight compatibility layer between dataframe libraries and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.

Pros

  • Zero runtime dependencies — minimal footprint.

Cons

  • No license detected — review usage terms before adopting.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use narwhals?

No — narwhals should not be adopted for new projects. No license declared — you have no explicit right to use this code.

How do I install narwhals?

Run `pip install narwhals` to add narwhals to your PyPI project.

What license is narwhals released under?

No license was detected in narwhals's metadata; review the repository before use.

How popular is narwhals?

PyPI does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on narwhals.

Is narwhals still maintained?

The most recent release of narwhals (v2.26.0) was published 1 day ago.