Skip to main content

A Python package to convert German ZIP codes to NUTS IDs.

Project description

Plz-To-NUTS

This is a tool to convert a German Postleitzahl (zip code) to the coresponding NUTS IDs. It takes 1-5 digits of the zip code as an input.

Installation

To install the tool, use the following command:

pip install plz2nuts

Usage

To use the tool, follow these steps:

  1. Command Line Interface (CLI): You can use the tool from the command line by running:

    plz2nuts --help
    

    This will display the available options and how to use them.

  2. Basic Usage: To convert a Postleitzahl to a NUTS ID, use:

    plz2nuts <postleitzahl>
    

    Replace <postleitzahl> with the actual Postleitzahl you want to convert.

  3. Import in Python: You can also import the tool in your Python code to get a NUTS ID for a plz:

    from plz_to_nuts import convert_plz_to_nuts
    convert_plz_to_nuts('10')
    

License

This project is licensed under the AGPL-3.0-or-later license. See LICENSES/AGPL-3.0-or-later.txt for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plz2nuts-0.1.8.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plz2nuts-0.1.8-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file plz2nuts-0.1.8.tar.gz.

File metadata

  • Download URL: plz2nuts-0.1.8.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for plz2nuts-0.1.8.tar.gz
Algorithm Hash digest
SHA256 7782beea91742eb9baedc0ab1bfd119bae6e5fdebc013c2edfdf371876f17434
MD5 67090300316f2c0d099920d1186ccccd
BLAKE2b-256 4542ac79740f0c9fdb8808119e92cbef133b64f3d048bf6e99440cffe611a476

See more details on using hashes here.

Provenance

The following attestation bundles were made for plz2nuts-0.1.8.tar.gz:

Publisher: release.yml on NOWUM/plz-to-nuts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file plz2nuts-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: plz2nuts-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for plz2nuts-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2c3b0a845a35e34592f70705221ff2a7a41f4c2a25e80158f2923d0daf3709
MD5 57154c2fbb5493590592d9f89428c89c
BLAKE2b-256 834d21e7b63fcdf30bc4e0c3524f3020247d77b7c6031c28eec886ab244bfebf

See more details on using hashes here.

Provenance

The following attestation bundles were made for plz2nuts-0.1.8-py3-none-any.whl:

Publisher: release.yml on NOWUM/plz-to-nuts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page