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 # メッシュコード(5438235342) - メッシュコード(5438234312) の座標を返す x, y = mj.sub(5438235342, 5438234312) print(x, y) 5, 3
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
Built Distribution
File details
Details for the file move_jismeshcode-0.0.5.tar.gz
.
File metadata
- Download URL: move_jismeshcode-0.0.5.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/21.8.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62bdb05d35095ef58e147daf0152b078ba95caa8782c4e55684b3026eb8f250b |
|
MD5 | 172a60a668be2ea7c9e768f33564a0d7 |
|
BLAKE2b-256 | 168748bae585f399c0403b5172748a89ed3c2b6ce22b26838f3c87ff15396ddb |
File details
Details for the file move_jismeshcode-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: move_jismeshcode-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/21.8.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe85fd7217b95d3527496a84ad11960f4bfed673605ce0a7baaa83ce4f9f9bed |
|
MD5 | fd740a7eb61a76ef68a99f6aa7a5deb3 |
|
BLAKE2b-256 | 57078687751d69973fd6245bb13e9903f097e9924aa8792a53b7ab0bb52f2bda |