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
move_jismeshcode-0.0.5.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for move_jismeshcode-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe85fd7217b95d3527496a84ad11960f4bfed673605ce0a7baaa83ce4f9f9bed |
|
MD5 | fd740a7eb61a76ef68a99f6aa7a5deb3 |
|
BLAKE2b-256 | 57078687751d69973fd6245bb13e9903f097e9924aa8792a53b7ab0bb52f2bda |