Skip to main content

台南一中課表核心功能庫

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

  1. Clone the repository
  2. Create and activate virtual environment
  3. Install dependencies:
    uv pip install --editable .
    
  4. 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

tnfsh_timetable_core-0.0.8.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

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

tnfsh_timetable_core-0.0.8-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

Details for the file tnfsh_timetable_core-0.0.8.tar.gz.

File metadata

File hashes

Hashes for tnfsh_timetable_core-0.0.8.tar.gz
Algorithm Hash digest
SHA256 39ad2b8e72914faf49396a75b3b359d168b5ea7dd603ec164d6d429c48a9fefa
MD5 76abedbc8b49f0fc39ff61a507a9cf46
BLAKE2b-256 329ced854d8d19cf4888070c681801ee309a75d4a894be84ec608e1e2d6a1301

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tnfsh_timetable_core-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1413b87feb773f7443270b0983a351ffae734678f1a81645976bf56f7914df5a
MD5 c65b3ac05a67a5fd26d7d9d12a2fe2d0
BLAKE2b-256 0f8c01530438ed4f59b1f9a68cdb9b0379624e32c24fbc8413962a85995ae03b

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 Pingdom Monitoring Sentry Error logging StatusPage Status page