---
title: "fnvhash | pypx"
description: "Pure Python FNV hash implementation."
canonical_url: "https://pypx.app/packages/fnvhash"
meta:
  "og:description": "Pure Python FNV hash implementation."
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_fnvhash%2Cversion_0.2.1%2Csummary_Pure%2BPython%2BFNV%2Bhash%2Bimplementation.%2Clicense_MIT%2BLicense%2Cp_Ii9wYWNrYWdlcy9mbnZoYXNoIg%2Cs_KYMdCRM2mVJ6seyV.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "fnvhash 0.2.1"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_fnvhash%2Cversion_0.2.1%2Csummary_Pure%2BPython%2BFNV%2Bhash%2Bimplementation.%2Clicense_MIT%2BLicense%2Cp_Ii9wYWNrYWdlcy9mbnZoYXNoIg%2Cs_KYMdCRM2mVJ6seyV.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **fnvhash**

v0.2.1

Pure Python FNV hash implementation.

18 KB Python 3.9+ py3-none-anyMIT License

[** Diff **](https://pypx.app/packages/fnvhash/diff)

`$ uv add fnvhash`

# Pure Python FNV hash implementation

Pure Python implementation of the FNV\_ hash family with 100% test coverage. Take a look at pyhash\_ for use cases where performance is more important than portability.

## Usage

```
>>> from fnvhash import fnv1a_32
>>> hex(fnv1a_32(b'foo'))
'0xa9f37ed7'
```

## License

The software is subject to the MIT license.

## **Details **

<dl>

<dt>Version</dt>
<dd>0.2.1</dd>

<dt>License</dt>
<dd>MIT License</dd>

<dt>Python</dt>
<dd>&gt;=3.9</dd>

<dt>Maintainer</dt>
<dd>Lorenz Schori &lt;lo@znerol.ch&gt;</dd></dl>

## **Links**

- [Homepage](https://github.com/znerol/py-fnvhash)
- [View on PyPI](https://pypi.org/project/fnvhash/)

## **Maintainers **

- Lorenz Schori · [lo@znerol.ch](mailto:lo@znerol.ch)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/fnvhash#webpage","@type":"WebPage","description":"Pure Python FNV hash implementation.","name":"fnvhash","url":"https://pypx.app/packages/fnvhash","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/fnvhash"]}]},{"@id":"https://pypx.app/packages/fnvhash#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Pure Python FNV hash implementation.","license":"MIT License","name":"fnvhash","softwareVersion":"0.2.1"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
