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。 因為奇怪的原因 安裝完以後請用底線而不是-

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.1.tar.gz (4.8 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.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for tnfsh_timetable_core-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5a06f86e23977d0b94e114366679b0f32f6d8a9d3ab9627b39ae7239c79271c0
MD5 9f9e2971686d8c9ea3fa929887b2fcc6
BLAKE2b-256 39a01e236da14806fc682d8d9a5cb6021a7e57fc61c655a3b71f1b86f46e4cfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tnfsh_timetable_core-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a9fef91e758067f294f67020497842241f2ab0e32235a1d17fd050daf300316
MD5 664ee85007e26d8b36821afa62c92181
BLAKE2b-256 f913161cd1bf759c8ba3756fdcc59b25e016b4f30ca002b642faa081ae3b3bea

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