Skip to main content

ReverseJP Python Binding

Project description

Japan Geo Reverse Lookup

A Rust library for reverse geocoding in Japan. Given a longitude and latitude, this library returns information about the region(s) the coordinates are located in, including code, name, and English name.

Installation

Rust

# Coming soon
// reversejp-rust/examples/demo.rs
use reversejp::ReverseJp;

let reverse_jp = ReverseJp::with_embedded_data().unwrap();
let props = reverse_jp.find_properties(139.7670, 35.6812);

for prop in props {
    println!("Code: {}, Name: {}, English Name: {}", prop.code, prop.name, prop.en_name);
}

Example output:

Code: 130010, Name: 東京都, English Name: Tokyo
Code: 1310100, Name: 千代田区, English Name: Chiyoda City

Python

# Coming soon
# reversejp-python/examples/demo.py
import reversejp

props = reversejp.find_properties(139.7670, 35.6812)

for prop in props:
    print(prop.code, prop.name, prop.en_name)

Example output:

130010 東京都 Tokyo
1310100 千代田区 Chiyoda City

License

MIT

Data is sourced from the Japan Meteorological Agency website.

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

reversejp-0.1.0.tar.gz (939.8 kB view details)

Uploaded Source

Built Distributions

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

reversejp-0.1.0-cp39-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.9+Windows x86-64

reversejp-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

reversejp-0.1.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (2.7 MB view details)

Uploaded CPython 3.9+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file reversejp-0.1.0.tar.gz.

File metadata

  • Download URL: reversejp-0.1.0.tar.gz
  • Upload date:
  • Size: 939.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for reversejp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 53859906cc944e2318c86bb2db6a13bfaa473d468ce8a274c16a31e6aaf4e351
MD5 98fc298615088a4434711e8279bd2b0b
BLAKE2b-256 09962e131a451350f5446b49b523bb646ebf57418643fb35504f08cb03c09de1

See more details on using hashes here.

File details

Details for the file reversejp-0.1.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: reversejp-0.1.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for reversejp-0.1.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 89c5790fd4b589c63b104867f33ffb1fccae3a01a703f8fe033c8e0eccd8d127
MD5 1b2bde70e74c6866fead2ea116db435e
BLAKE2b-256 1b9632eb8340dfce0cec567fa5afcfb1429fa2cc4ced535dbd1a4d05be05ebe6

See more details on using hashes here.

File details

Details for the file reversejp-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for reversejp-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f9db90cde4c09c6492e80faa700d767c0a18c6de5e2a2dc3674ba2b4ec12ac9
MD5 73a1ef4dbcd60e48481a469d91630f7e
BLAKE2b-256 de3ee21347ae216ce314ea4dd364255f2ffb096258959da1aad163a348dc1532

See more details on using hashes here.

File details

Details for the file reversejp-0.1.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for reversejp-0.1.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 0ec9d0dc12fb68ae8cf6f1e5f51943b6da22a0bad0b0f1efd8ee658f29b6e52b
MD5 841c4ab68e6b0ce06f977f560ff83fd2
BLAKE2b-256 087436c37b920ca72c030bc37addc84decce90c13f39c4e6fee98b168cd2b685

See more details on using hashes here.

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