Skip to main content

return new JIS meshcode that moves (x, y)

Project description

move_jismeshcode

与えられた地域メッシュコードを(x, y)動かした時のメッシュコードを返す

install

pip install move_jismeshcode

Usage

import move_jismeshcode as mj

# 与えれたメッシュコードを (5, 3) 動かした時のメッシュコードを返す
newmeshcode = mj.move(5438234312, 5, 3)
print(newmeshcode)
5438235342

Todo

  • ☐ 定義外のメッシュコードのときに例外を返す

Reference

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

move_jismeshcode-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

move_jismeshcode-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file move_jismeshcode-0.0.1.tar.gz.

File metadata

  • Download URL: move_jismeshcode-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for move_jismeshcode-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dbb3d42953495d465309a6169b2e9839a9fbc0740cd801d2e4766bd41ac4def2
MD5 d341a02f84ebead25b462bbc65164dd2
BLAKE2b-256 240125566ae2e0ea242c09a91ed13634c6d9052ae6e9ec1c6f373dddb90813d7

See more details on using hashes here.

Provenance

File details

Details for the file move_jismeshcode-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: move_jismeshcode-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for move_jismeshcode-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84b080824c12f050bd4ddd0e0b73f5c5eafe8b9a8a7af69ccffafe0bbc2b07b9
MD5 a33dd4fb2e07b3cd148ceeb9a304fa76
BLAKE2b-256 d87e5eca33d855ef500697578a94d2150cb6cda0164837c32369293414410404

See more details on using hashes here.

Provenance

Supported by

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