六十四卦编码,python实现。
Project description
六十四卦编码
六十四卦编码,python实现。 如:“hello,世界”会编码为“䷯䷬䷿䷶䷸䷬䷀䷌䷌䷎䷼䷲䷰䷳䷸䷘䷔䷭䷒〇”。
all language
install
pip install pygua64
example
from pygua64 import gua64
r = gua64.encode('hello,世界'.encode())
print(r.decode())
r = gua64.decode('䷯䷬䷿䷶䷸䷬䷀䷌䷌䷎䷼䷲䷰䷳䷸䷘䷔䷭䷒〇'.encode())
print(r.decode())
r = verify('䷯䷬䷿䷶䷸䷬䷀䷌䷌䷎䷼䷲䷰䷳䷸䷘䷔䷭䷒〇')
print(r)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygua64-0.0.2.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file pygua64-0.0.2.tar.gz
.
File metadata
- Download URL: pygua64-0.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 776bb5095174e3c37bfeb86324940f5cdcbd9c36294f49f594a6256e7524a175 |
|
MD5 | c753083992d4027dfe3b9b778635e78c |
|
BLAKE2b-256 | d247093ee42d895b2fa5ed74670c2f42ae8b6aabbff8833a3d0d1b9f0de74b3b |
File details
Details for the file pygua64-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pygua64-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6e0ac9d1666f093b72ed34164463cd74aefa4312285f46c0f4888f0a55baa35 |
|
MD5 | 06477e4d5a212e999446b7737b383cb5 |
|
BLAKE2b-256 | 15d322582f0926c5ca19e3c51b42e354aa94bf9cef4ce52d3ba6bb7fb07f4deb |