Skip to main content

This is wzk's personal python library~

How to install?

simply run pip install wzk. That's it!

What can you do?

First, import wzk

play games

Each with an interesting console game!

wzk.flight_game()
wzk.game2048()
wzk.mine_sweep()
wzk.texas_poker()
wzk.pokemon()
wzk.mahjong()

look up english words in dictionary

Off-line Chinese-English dictionary with more than 100k words!

wzk.lookup("good", verbose=True, non_alpha=False")
wzk.translate("I love you"):

send email

Send email with SMTP!

sender = wzk.parser.MailSender(mail_host, mail_user, mail_pass)
sender.send_mail(title="hi~", content="nothing~", receiver=None))

check web page update

Automatically check web page and send notification email when update

checker = wzk.parser.WebPageUpdateChecker(mail_host, mail_user, mail_pass)
checker.check("www.baidu.com", interval=10)

improved data structure

from wzk import DD, N

a = DD({"good": "kk"})
a.bad = "nyima"
print(a.good)
print(a["bad"])
print(a.inv())
print(a.inv().inv())

b = N(4, upper_bound=8, lower_bound=3)
b += 5
c = N(4, upper_bound=8, lower_bound=3, loop=True)
print(c+5)

Dictionary supporting inverse-mapping and attribute-indexing! Number type supporting setting bound and loop!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wzk-0.0.8-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file wzk-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: wzk-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for wzk-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 851dadc5f78fba5ae83fdeb2f62ba8193f1a110a9ea2cea972d9373e30538728
MD5 178b4f6d2b3dc634266d1fa122e5976d
BLAKE2b-256 02e8862d36acc86662c36694acf1f3f4a5503463daca44131da2c94d9512af95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page