台南一中課表核心功能庫
Project description
TNFSH Timetable Core
A Python package for handling TNFSH (Tainan First Senior High School) timetables.
Features
- Fetch timetables from TNFSH website
- Parse and manipulate timetable data
- Export timetables in various formats (CSV, JSON, ICS)
- Cache support for better performance
usage
統一 from tnfsh_time_table_core import TNFSHTIMETABLECORE。 因為奇怪的原因 安裝完以後請用底線而不是-
第一次裝會自動跑一次cache
Installation
pip install tnfsh-timetable-core
Quick Start
from tnfsh_timetable_core import TNFSHTimetableCore
# Create an instance
core = TNFSHTimetableCore()
# Get timetable for class 307
timetable = await core.fetch_timetable("307")
# Get index of all available timetables
index = core.fetch_index()
Development
- Clone the repository
- Create and activate virtual environment
- Install dependencies:
uv pip install --editable .
- Run tests:
pytest
License
See LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tnfsh_timetable_core-0.0.9.tar.gz.
File metadata
- Download URL: tnfsh_timetable_core-0.0.9.tar.gz
- Upload date:
- Size: 30.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb9128c097cb8e6ac00a073b374e3d6775a90fb5b67d133b4bd30eabfcdf9277
|
|
| MD5 |
29999ebfbe0dc3699842246d035e5493
|
|
| BLAKE2b-256 |
91ed5705f97ffc740a77aa13e377e205dfb4a091675b8c1ab1a9351561c066a0
|
File details
Details for the file tnfsh_timetable_core-0.0.9-py3-none-any.whl.
File metadata
- Download URL: tnfsh_timetable_core-0.0.9-py3-none-any.whl
- Upload date:
- Size: 40.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b386e2fb8d6854cda318551c741ef6ab670d4a913025a7e86c7f2ffee4caa2c4
|
|
| MD5 |
efa16552894e9e9ca78736d509c25a1b
|
|
| BLAKE2b-256 |
dcdcb464f6308b0e20aaf01e1c28db1fd165453fc11916a33523460088353bac
|