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.3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

move_jismeshcode-0.0.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: move_jismeshcode-0.0.3.tar.gz
  • Upload date:
  • Size: 4.6 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.3.tar.gz
Algorithm Hash digest
SHA256 589a4bfc8c267647a89ed0cbfed302c8b3a563f5d2b28dd9c4406ed3f4815197
MD5 bb7a5e6a0e36ec37f895a040c7a68c50
BLAKE2b-256 1be32e216f73ea44462b08173755f2a7ad50ad3c225351d1c6a92b388a558f80

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: move_jismeshcode-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e15568071f05f6ca5a02be0bd0811b49c09134d352b8194eaa841b1390942fc
MD5 894cd8ee003182a4b8eaadf7b7b68faf
BLAKE2b-256 0452ba8b8104aa13c7ede849dfc6c397d8e4ac75addc89704df1a8e0550b54ab

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