Skip to main content

geo-location-bd

Bangladesh geo-location data package for divisions, districts, and thanas with easy lookup methods.

Installation

pip install geo-location-bd

Usage

from geo_location_bd import GeoLocationEn

geo = GeoLocationEn()
print(geo.get_division_by_id(1))
print(geo.get_division_by_name("barisal"))
print(geo.get_district_by_name("barisal"))
print(geo.get_thana_by_name("amtali"))

Available methods

  • get_divisions()
  • get_division_by_id(division_id)
  • get_division_by_name(division_name)
  • get_districts(division_id=None)
  • get_district_by_id(district_id)
  • get_district_by_name(district_name)
  • get_district_by_division_id(division_id)
  • get_district_by_division_name(division_name)
  • get_thanas(district_id=None)
  • get_thana_by_id(thana_id)
  • get_thana_by_name(thana_name)
  • get_thana_by_district_id(district_id)
  • get_thana_by_district_name(district_name)
  • get_thana_by_division_id(division_id)
  • get_thana_by_division_name(division_name)

Name-based lookups are case-insensitive and ignore surrounding whitespace.

Metadata

Release files for geo-location-bd 0.1.0

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

Source distribution (sdist)

Source distribution for geo-location-bd 0.1.0
File Size Uploaded Provenance Actions
geo_location_bd-0.1.0.tar.gz 3.2 kB Without provenance Details for geo_location_bd-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geo-location-bd 0.1.0
File Interpreter ABI Platform Actions
geo_location_bd-0.1.0-py3-none-any.whl Python 3 none any Details for geo_location_bd-0.1.0-py3-none-any.whl

Total release size: 6.2 kB

Release files / geo_location_bd-0.1.0.tar.gz

Download URL geo_location_bd-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce221a8779416dc2c0e2b3013ba1d5e7a713145995edb66ada9edf0815bfbbb5
BLAKE2b-256 checksum
How to use checksums
d63b8b3da9132730ad86f59fb93a336a1cbc9653476e6ef0ca4123614ee31e72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / geo_location_bd-0.1.0-py3-none-any.whl

Download URL geo_location_bd-0.1.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29d52bd8524a0d2d4066ec59409a2f06c582e05572cc1303b228eb78adbf2630
BLAKE2b-256 checksum
How to use checksums
3498360078cba61e84b3a4f2a234ac93f2047a58e81de225a12382524a54c6e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for geo-location-bd 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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