$npx skillfedfor your agent

pyfarmhash

Google FarmHash Bindings for Python

With conditionsPyPI Software DevelopmentReleased Aug 2024644.3K downloads / mopermissive licensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — pyfarmhash-0.4.0-cp310-cp310-win_amd64.whl
v0.4.0 · released 2024-08-27

Yes, if you need fast non-cryptographic hashing and can handle the C++ compilation step. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is moderate but manageable; Windows users benefit from prebuilt wheels. Not suitable if you need cryptographic hashing or cannot compile C++ extensions in your environment.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a C++ compiler (g++ on Linux; Visual C++ on Windows) to build the extension from source.
  • Windows binary wheels are available on PyPI for some Python versions.
  • Medium install friction due to compiled C++ extension requiring a compiler (g++ on Linux, Visual C++ on Windows).

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice.

last release 2024-08-27 (717 days) · last repo commit 2026-03-06 · 39 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 644,312 downloads/mo, #5,601 on PyPI

Verify before relying

pip install pyfarmhash

import pyfarmhash
print(pyfarmhash.hash64('abc'))
print(pyfarmhash.hash64withseed('abc', 12345))
  • Whether prebuilt wheels are available for all advertised Python versions or only a subset
  • Current performance characteristics compared to other non-cryptographic hash libraries
  • Whether the fingerprint function bindings mentioned in the description are fully exposed in the public API
Same gist for agents: .md · .json

What it is and what it does

pyfarmhash wraps Google's FarmHash algorithm, a non-cryptographic hash function optimized for speed and distribution quality. It exposes hash64 and hash64withseed functions that take strings or bytes and return 64-bit hash values, plus fingerprint functions. The package is a thin binding layer with no runtime dependencies, making it lightweight for applications that need fast hashing for indexing, deduplication, or data structures rather than security.

The package is maintained and supports Python versions from 2.6 through 3.11. Installation requires a C++ compiler on most platforms, though Windows binary wheels are available. The API is minimal and straightforward: import the module and call the hash functions directly.

Use it for

  • Hash table and data structure construction where speed matters more than cryptographic strength
  • Deduplication of large datasets by computing fast fingerprints of records
  • Distributed systems needing consistent, fast hashing across nodes for load balancing or sharding
  • Bloom filters and probabilistic data structures that require many hash computations per item

Worth the install?

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

With conditions

Yes, if you need fast non-cryptographic hashing and can handle the C++ compilation step.

The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is moderate but manageable; Windows users benefit from prebuilt wheels. Not suitable if you need cryptographic hashing or cannot compile C++ extensions in your environment.

Install

pyfarmhash on PyPI

Before you install

Medium install friction due to compiled C++ extension requiring a compiler (g++ on Linux, Visual C++ on Windows). Repository is actively maintained with last commit on 2026-03-06, though the package last released 717 days ago.

Requires a C++ compiler (g++ on Linux; Visual C++ on Windows) to build the extension from source. Windows binary wheels are available on PyPI for some Python versions.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, provided you include the license notice.

Quickstart

pip install pyfarmhash

import pyfarmhash
print(pyfarmhash.hash64('abc'))
print(pyfarmhash.hash64withseed('abc', 12345))

Verify before relying

  • Whether prebuilt wheels are available for all advertised Python versions or only a subset
  • Current performance characteristics compared to other non-cryptographic hash libraries
  • Whether the fingerprint function bindings mentioned in the description are fully exposed in the public API

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 717 days since the last release
Last repo commit
First released
Downloads644,312 / month, #5,601 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: CProgramming Language :: PythonProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: pyfarmhash-0.4.0-cp310-cp310-win_amd64.whl

Tags

Capabilities
fast non-cryptographic hashingfarmhash python bindingsgoogle farmhash64-bit hash functionfingerprint hashingstring hashing library
Topics
hashingc-extension
PyPI keywords
farmhashgoogle

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 › “farmhash python bindings”

  • pyfarmhashProvides Python bindings to Google's FarmHash, a fast…
  • cityhashPython wrapper for Google's CityHash and FarmHash non-cryptographic…
  • polars-hashPolars-hash adds cryptographic and non-cryptographic hashing…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also cityhash · types-pyfarmhash · mmhash3 · bbhash · clickhouse-cityhash · xxhash · murmurhash · polars-hash · mmh3 · py-multihash