Skip to main content

利昂图书馆api打包

Project description

LEOLIB 利昂图书馆座位预约系统API

如何导入

from leolib import User, get_day, get_time

如何使用

 from leolib import User, get_day, get_time


 # 用户对象
 user = User("username", "password", "zw.example.edu.cn")
 # 查看用户信息
 print(user.get_user_info())
 # 获取预约信息
 print(user.get_history())
 # 查看房间布局
 print(user.get_room_status(13, get_date()))
 # 查询座位情况
 print(user.search_seat(start_time=get_time(), end_time=get_time("19:00")))

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

leolib-1.0.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

leolib-1.0.4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file leolib-1.0.4.tar.gz.

File metadata

  • Download URL: leolib-1.0.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for leolib-1.0.4.tar.gz
Algorithm Hash digest
SHA256 cbfa81f9d6fe68b8716eeced309387df627d99814b14e1b6c04065a92194a947
MD5 39e40997c1d27f53d64c5ab05491fae3
BLAKE2b-256 2b17e9f42bf7f5b0823153a34c219671a34bd67943734800094c06ef37113498

See more details on using hashes here.

File details

Details for the file leolib-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: leolib-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for leolib-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9caca8f82d3ca47dc501a9a4eebad16c6b2f6f4cbdfa8fa4198d92cad2506bd3
MD5 cc18f2ee67169ea70b697c74c8b45b65
BLAKE2b-256 c8847d7a2a6bdf1d13079adf49ad85c6466d2f9a7ead7dbb3a943ceb51c0672f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page