Metadata-Version: 2.1
Name: fudan-jwc-news
Version: 0.5.0
Summary: Read Fudan JWC news from your terminal
Home-page: https://github.com/tddschn/fudan-jwc-news
License: MIT
Keywords: fudan,news
Author: Xinyuan Chen
Author-email: 45612704+tddschn@users.noreply.github.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Utilities
Requires-Dist: bs4 (>=0.0.1,<0.0.2)
Requires-Dist: pyinstrument (>=4.1.1,<5.0.0)
Requires-Dist: requests (>=2.27.1,<3.0.0)
Requires-Dist: typer (>=0.4.1,<0.5.0)
Project-URL: Bug Tracker, https://github.com/tddschn/fudan-jwc-news/issues
Project-URL: Repository, https://github.com/tddschn/fudan-jwc-news
Description-Content-Type: text/markdown

# fudan-jwc-news

Read Fudan JWC News from your terminal. 

Never check [JWC](https://jwc.fudan.edu.cn/) again!


- [fudan-jwc-news](#fudan-jwc-news)
  - [Installation](#installation)
    - [pipx](#pipx)
    - [pip](#pip)
  - [Usage](#usage)
  - [Example output](#example-output)

## Installation

### pipx

```
pipx install fudan-jwc-news
```

### pip

```
pip install fudan-jwc-news
```

## Usage

```
Usage: jwc-news [OPTIONS]

Options:
  -l, --limit INTEGER RANGE       limit the number of news  [default: 14;
                                  x<=14]
  -o, --output PATH               output file, default is stdout
  -f, --force-update              do not use cache and force update
  -v, --version                   Show the application's version and exit.
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.
```

## Example output
```
$ jwc-news -l 2
04-29 关于2022年春季学期复旦大学水平测试(补测试)考试通知
http://www.jwc.fudan.edu.cn/bf/be/c25325a442302/page.htm

04-29 2022年春季学期本科学生转专业报名名单
http://www.jwc.fudan.edu.cn/bf/bc/c25325a442300/page.htm

```

