$npx skillfedfor your agent

polars-hash

Stable non-cryptographic and cryptographic hashing functions for Polars

With conditionsPyPI CryptographyReleased Aug 2026413.7K downloads / moPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — polars_hash-0.9.1-cp310-abi3-macosx_10_12_x86_64.whl · polars_hash-0.9.1-cp310-abi3-macosx_11_0_arm64.whl · polars_hash-0.9.1-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
v0.9.1 · released 2026-08-03 · Python >=3.10 · 1 runtime deps: polars

Yes, if you need hashing operations in Polars workflows. The package is actively maintained, has no known vulnerabilities, and offers a broad range of hashing algorithms not built into Polars itself. However, verify the license terms before use in proprietary contexts, and confirm that the AES-instruction requirement for GxHash does not conflict with your deployment targets.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • GxHash expressions require a CPU with AES instructions; no software fallback available.
  • Medium install friction due to compiled wheels for multiple platforms (x86_64, ARM, i686, Windows).

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text provided. Verify the license terms before use in proprietary or restricted contexts.

last release 2026-08-03 (11 days) · last repo commit 2026-08-11 · 93 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 413,668 downloads/mo, #6,839 on PyPI

Verify before relying

import polars as pl
import polars_hash as plh

df = pl.DataFrame({"foo": ["hello_world"]})
result = df.select(plh.col('foo').chash.sha256())
  • Whether the unclear license permits commercial or proprietary use without restriction
  • Performance characteristics and memory overhead compared to native Polars operations
  • Stability guarantees across future Polars versions beyond what 'stable hashing' claims
Same gist for agents: .md · .json

What it is and what it does

Polars-hash is a Rust-backed Polars plugin that extends DataFrames with a comprehensive set of hashing operations. It provides cryptographic hashers (SHA256), fast non-cryptographic hashers (FarmHash, CityHash, WyHash, GxHash), geospatial hashing (geohash and H3 spatial indexing), and time-window hashing that bins timestamps into variable-precision sliding windows. The plugin is designed to maintain stable hashing across different Polars versions, so the same input always produces the same hash output.

You use it by importing polars_hash alongside Polars and calling hash methods on column expressions—either on individual columns, concatenated strings, or entire rows. The row-hashing mode is particularly useful because it produces a unique hash for each row regardless of column type or storage format, treating semantic values rather than raw bytes. The plugin handles struct types for geographic coordinates and supports precision control for time-based hashing.

Use it for

  • Hash entire DataFrame rows to create unique identifiers for deduplication or join operations across heterogeneous column types
  • Compute geohashes or H3 spatial indices from latitude/longitude pairs for geographic clustering or spatial queries
  • Generate SHA256 hashes of string columns for cryptographic integrity checks or secure data linkage
  • Bin timestamps into variable-precision time windows so rows falling in the same window share a hash for temporal aggregation
  • Apply fast non-cryptographic hashes (FarmHash, WyHash) to columns for bucketing or partitioning in data pipelines

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need hashing operations in Polars workflows.

The package is actively maintained, has no known vulnerabilities, and offers a broad range of hashing algorithms not built into Polars itself. However, verify the license terms before use in proprietary contexts, and confirm that the AES-instruction requirement for GxHash does not conflict with your deployment targets.

Install

polars-hash on PyPI

Before you install

Medium install friction due to compiled wheels for multiple platforms (x86_64, ARM, i686, Windows). Requires Python 3.10+. Active maintenance with recent release (11 days ago) and 93 repository stars.

Requires Python 3.10 or later. GxHash expressions require a CPU with AES instructions; no software fallback available.

License in practice

License treatment is unclear—no SPDX identifier or raw license text provided. Verify the license terms before use in proprietary or restricted contexts.

Quickstart

import polars as pl
import polars_hash as plh

df = pl.DataFrame({"foo": ["hello_world"]})
result = df.select(plh.col('foo').chash.sha256())

Verify before relying

  • Whether the unclear license permits commercial or proprietary use without restriction
  • Performance characteristics and memory overhead compared to native Polars operations
  • Stability guarantees across future Polars versions beyond what 'stable hashing' claims

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
polars
MaintenanceActively maintained 11 days since the last release
Last repo commit
First released
Downloads413,668 / month, #6,839 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust

Evidence: polars_hash-0.9.1-cp310-abi3-macosx_10_12_x86_64.whl; polars_hash-0.9.1-cp310-abi3-macosx_11_0_arm64.whl; polars_hash-0.9.1-cp310-abi3-manylinux_2_12_i686.manylinux2010_i686.whl; polars_hash-0.9.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; polars_hash-0.9.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; polars_hash-0.9.1-cp310-abi3-win32.whl; polars_hash-0.9.1-cp310-abi3-win_amd64.whl

Tags

Capabilities
polars hashing functionscryptographic hash polarsgeohash spatial indexfarmhash cityash polarsdataframe row hashingtime window hashingh3 spatial indexing
Topics
polars-plugingeospatial-hashingdata-integrity

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “polars hashing functions”

  • polars-hashPolars-hash adds cryptographic and non-cryptographic hashing…
  • dict-hashGenerates consistent hashes for Python dictionaries and supports…
  • cityhashPython wrapper for Google's CityHash and FarmHash non-cryptographic…

Give your agent the search over MCP, or paste the wish link into any chat.

More Cryptography packages

certifi Worth it
PyPI · Cryptography · released Jul 2026

Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.

MPL-2.0pure Python · 3.7+
1.9Bdownloads / mo
cryptography Worth it
PyPI · Cryptography · released Jul 2026

cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.

Apache-2.0 OR BSD-3-Clausecompiled wheel
1.5Bdownloads / mo
rsa Skip
PyPI · Cryptography · released Apr 2025

Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.

Apache-2.0pure Pythonabandoned
299.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
azure-identity Worth it
PyPI · Cryptography · released Mar 2026

Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.

license unclearpure Python · 3.9+
247.2Mdownloads / mo
PyNaCl Worth it
PyPI · Cryptography · released Jan 2026

PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.

Apache-2.0compiled wheel · 3.8+
246.6Mdownloads / mo

See also dict-hash · polars-ds · cityhash · pyfarmhash · pygeohash · polars · polars-lts-cpu · polars-runtime-compat · polars-ols · borsh-construct