Skip to main content

六十四卦编码

六十四卦编码,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)

Release files for pygua64 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygua64 0.0.2
File Size Uploaded
pygua64-0.0.2.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygua64 0.0.2
File Interpreter ABI Platform
pygua64-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / pygua64-0.0.2.tar.gz

Download URL pygua64-0.0.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
776bb5095174e3c37bfeb86324940f5cdcbd9c36294f49f594a6256e7524a175
BLAKE2b-256 checksum
How to use checksums
d247093ee42d895b2fa5ed74670c2f42ae8b6aabbff8833a3d0d1b9f0de74b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / pygua64-0.0.2-py3-none-any.whl

Download URL pygua64-0.0.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6e0ac9d1666f093b72ed34164463cd74aefa4312285f46c0f4888f0a55baa35
BLAKE2b-256 checksum
How to use checksums
15d322582f0926c5ca19e3c51b42e354aa94bf9cef4ce52d3ba6bb7fb07f4deb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page