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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: move_jismeshcode-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 aba3e7331847175e49c7f145e47efca38c816dbc014974572c232a9fbf54c53c
MD5 eb8e9ec09de9eeba40d3ad1a42e70bf1
BLAKE2b-256 c63c7228bbb6747856b55a2cb5cb78e58a34bb85d43ea66b458532c0ef4a1f31

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: move_jismeshcode-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61d3db91dfa7e59a4775274f913380babb53cae78729f865cd16c37ab613d078
MD5 a6bae283760744da52ee46613a82ef1b
BLAKE2b-256 3ef78ee198194ac01f2148d0f8036e31b3ea50d9c3d350bba29a6c5a6c172b80

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