Skip to main content

Irchel Geoparser

CI Coverage PyPI Downloads Python License

A Python library for extracting place names from text and linking them to geographic locations.

Features

  • Project-Based Workflows: Store documents and results in a persistent database for long-term research
  • Modular Architecture: Mix and match different recognizers and resolvers, or build your own
  • Trainable Models: Fine-tune recognizers and resolvers on your own annotated data
  • Custom Gazetteers: Integrate any geographic database through simple YAML configuration

Installation

pip install geoparser

Quick Start

from geoparser import Geoparser

# Initialize with default settings
gp = Geoparser()

# Parse text
text = "Paris is the capital of France."
docs = gp.parse(text)

# Access results
for toponym in docs[0].toponyms:
    print(f"{toponym.text} -> {toponym.location.data}")

Documentation

Full documentation is available at docs.geoparser.app

Contributing

Questions, bug reports, and ideas are always welcome via issues. Pull requests are appreciated too — see CONTRIBUTING.md for local setup and development guidelines.

Acknowledgments

The Irchel Geoparser originated as part of my Master's thesis and was further developed with support from the Department of Geography at the University of Zurich and the Public Data Lab of the Digitalization Initiative of the Zurich Higher Education Institutions. I thank Prof. Dr. Ross Purves for the opportunity to continue this work as part of a research project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Third-party licenses are listed in THIRD_PARTY_LICENSES.

Download files

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

Source Distribution

geoparser-0.5.0.tar.gz (389.2 kB view details)

Uploaded Source

Built Distribution

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

geoparser-0.5.0-py3-none-any.whl (137.8 kB view details)

Uploaded Python 3

File details

Details for the file geoparser-0.5.0.tar.gz.

File metadata

  • Download URL: geoparser-0.5.0.tar.gz
  • Upload date:
  • Size: 389.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for geoparser-0.5.0.tar.gz
Algorithm Hash digest
SHA256 84e8b72cfc156f967e69873b89391e265431b1bc4730084673babea83a9b1e08
MD5 459f6ed3d6d32f1c4e50e280b48a9994
BLAKE2b-256 c35d8f17e0ab9b16edfb116de5c81ea19da1c42c2d371568a032176b932e1415

See more details on using hashes here.

Provenance

The following attestation bundles were made for geoparser-0.5.0.tar.gz:

Publisher: ci.yml on dguzh/geoparser

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

File details

Details for the file geoparser-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: geoparser-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 137.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for geoparser-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4eac0bab9c12c3fe1d98dd531d0000049e1dcbd03ea51dd7a8221db308a2e55
MD5 3dab17b41f48453775fe1d43be10b81b
BLAKE2b-256 b823655fa75dc3f0ea370a80f4f33335acf0f117d3f4be4d83327e388766551a

See more details on using hashes here.

Provenance

The following attestation bundles were made for geoparser-0.5.0-py3-none-any.whl:

Publisher: ci.yml on dguzh/geoparser

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

Release history Release notifications | RSS feed

0.6.0

2 files

This release

0.5.0 This release

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

1 file

0.1.1

1 file

0.1.0

2 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