Skip to main content

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")))

Metadata

Release files for leolib 1.1.0

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

Source distribution (sdist)

Source distribution for leolib 1.1.0
File Size Uploaded
leolib-1.1.0.tar.gz 3.9 kB Details

Built distribution (wheel)

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

Total release size: 9.1 kB

Release files / leolib-1.1.0.tar.gz

Download URL leolib-1.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9dec2926145d5024de17a21035f7b344b1c1560a01796bfcdb9e235c0b0ccb75
BLAKE2b-256 checksum
How to use checksums
1e4aa84d5eb26dcb31a03fb805eba601f74ac60209629147a8e6eb475c743e08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release files / leolib-1.1.0-py3-none-any.whl

Download URL leolib-1.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86f06310a1042a2dc2736ee425e26c2166445e7d49dc8984e1fd2cc0fd4240e5
BLAKE2b-256 checksum
How to use checksums
e0ee7603bdc5bbf89e0915b2c3f2dc53f13297b4c9459aaad5766c93da9f3d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

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