Skip to main content

Dapla Toolbelt Whodat

PyPI Status Python Version License

Documentation Tests

pre-commit Black Ruff uv

Features

  • Search for Norwegian national identity numbers from Pandas or Polars DataFrames.
  • Chain search strategies from broad to precise and keep the first unique match for each row.
  • Configure FREG search modifiers such as phonetic matching, historical data, and inclusion of deceased persons or residential addresses.
  • Return matches as a list, a mapping keyed by the original DataFrame index, or detailed per-row results.

Requirements

  • Python 3.10 or newer.
  • Access to the Whodat service and a Dapla authentication token.

Installation

You can install Whodat via pip from PyPI:

pip install dapla-toolbelt-whodat

Usage

import polars as pl

from dapla_whodat import Whodat

df = pl.DataFrame(
    {
        "navn": ["Donald Duck", "Dolly Duck", "Onkel Skrue"],
        "adressenavn": ["Lundlia", "Smøyatunvegen", "Simmenesvegen"],
    }
)

result = (
    Whodat.from_polars(df)
    .search_fnr()
    .with_search_strategy(["navn"])
    .run()
)

Please see the Reference Guide for details.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Whodat is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from Statistics Norway's SSB PyPI Template.

Metadata

Release files for dapla-toolbelt-whodat 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dapla-toolbelt-whodat 1.2.5
File Size Uploaded
dapla_toolbelt_whodat-1.2.5.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dapla-toolbelt-whodat 1.2.5
File Interpreter ABI Platform
dapla_toolbelt_whodat-1.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 21.4 kB

Release files / dapla_toolbelt_whodat-1.2.5.tar.gz

Download URL dapla_toolbelt_whodat-1.2.5.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
36142189f3a716b8b1d740a473ee4d96b3516adfd915d4ddc1bf3a15d13d32fd
BLAKE2b-256 checksum
How to use checksums
1795b29997162e82575bda35e27e21c3589e705516ffcf6e39edc4e0d7e88ecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / dapla_toolbelt_whodat-1.2.5-py3-none-any.whl

Download URL dapla_toolbelt_whodat-1.2.5-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c1a52d669e855a743d35e3daf01911f1f94beb66106befd64d177aafc4ba924
BLAKE2b-256 checksum
How to use checksums
b108f2970770aa729f3f1fccf3461bbf9f65ed9c216aa4de21150108f7bd8021
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page