Metadata-Version: 2.4
Name: pyustc
Version: 0.4.0
Summary: A Python package that allows for quick use of USTC network services
Author-email: XeF2 <xef2@mail.ustc.edu.cn>
License-Expression: MIT
Project-URL: Homepage, https://github.com/USTC-XeF2/pyustc
Project-URL: Issues, https://github.com/USTC-XeF2/pyustc/issues
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: pycryptodome
Requires-Dist: fake-useragent
Requires-Dist: beautifulsoup4
Provides-Extra: browser
Requires-Dist: selenium; extra == "browser"
Dynamic: license-file

# PyUSTC

[![pypi](https://img.shields.io/pypi/v/pyustc.svg)](https://pypi.python.org/pypi/pyustc)
![code size](https://img.shields.io/github/languages/code-size/USTC-XeF2/pyustc)
![last commit](https://img.shields.io/github/last-commit/USTC-XeF2/pyustc)
[![commits since last release](https://img.shields.io/github/commits-since/USTC-XeF2/pyustc/latest.svg)](https://github.com/USTC-XeF2/pyustc/releases)

A Python package that allows for quick use of USTC network services.

## Features

- **Central Authentication Service**: Simplifies login and session management.
- **Educational System**: Access course table, grades, and course planning tools.
- **Young Platform**: Manage Second Classes.

## Installation

Install PyUSTC via pip:

```bash
pip install pyustc
```

## Quick Start

Here's an example of logging in via the CAS for USTC:

```python
from pyustc import CASClient

client = CASClient()
client.login_by_pwd('username', 'password')
```

For more examples and detailed documentation, see [here](https://github.com/USTC-XeF2/pyustc/tree/main/examples).

## Contributing

We welcome contributions of all types! Submit issues, code, or suggestions via [GitHub](https://github.com/USTC-XeF2/pyustc).

## License

[MIT](https://github.com/USTC-XeF2/pyustc/blob/main/LICENSE)
