Metadata-Version: 2.5
Name: pesuacademy
Version: 1.0.1
Summary: [DEPRECATED] Python wrapper for PESU Academy. No longer works; use PESU OAuth2 (https://github.com/pesu-dev/oauth2) instead.
Project-URL: Homepage, https://github.com/pesu-dev/pesuacademy
Project-URL: Repository, https://github.com/pesu-dev/pesuacademy
Project-URL: Documentation, https://github.com/pesu-dev/pesuacademy#readme
Project-URL: Replacement, https://github.com/pesu-dev/oauth2
Author-email: Aditeya Baral <aditeya.baral@gmail.com>, Samarth Mohan <samarth.lina@gmail.com>
License: MIT License
        
        Copyright (c) 2025 Aditeya Baral
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: pesu,pesu academy,python client,wrapper
Classifier: Development Status :: 7 - Inactive
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Requires-Dist: beautifulsoup4>=4.13.4
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.11.7
Requires-Dist: python-dotenv>=1.1.1
Requires-Dist: selectolax>=0.3.32
Provides-Extra: docs
Requires-Dist: sphinx-autodoc-typehints>=3.2.0; extra == 'docs'
Requires-Dist: sphinx-rtd-theme>=1.2.1; extra == 'docs'
Requires-Dist: sphinx>=6.0; extra == 'docs'
Requires-Dist: sphinxcontrib-napoleon>=0.7; extra == 'docs'
Provides-Extra: tests
Requires-Dist: pre-commit>=4.2.0; extra == 'tests'
Requires-Dist: pytest-asyncio>=1.1.0; extra == 'tests'
Requires-Dist: pytest-cov>=6.2.1; extra == 'tests'
Requires-Dist: pytest>=8.4.1; extra == 'tests'
Requires-Dist: ruff>=0.12.7; extra == 'tests'
Description-Content-Type: text/markdown

# pesuacademy

![PyPI](https://img.shields.io/pypi/v/pesuacademy?label=pypi%20package)
![PyPI - Status](https://img.shields.io/pypi/status/pesuacademy)
![Status: Deprecated](https://img.shields.io/badge/status-deprecated-red)

> [!CAUTION]
> **This project is deprecated and archived. It no longer works and will not receive updates, fixes, or support.**
>
> All programmatic access to PESU Academy now goes through **[PESU OAuth2](https://github.com/pesu-dev/oauth2)**.
> Please migrate any code that depends on this package.

## Why?

`pesuacademy` scraped the PESU Academy website directly using your PESU password. That approach was fragile (it broke
whenever the site's markup changed) and required every application to handle raw student credentials.

[PESU OAuth2](https://github.com/pesu-dev/oauth2) replaces it with a standard OAuth2 / OpenID Connect authorization
server ("Sign in with PESU"), so applications can access PESU Academy data on a student's behalf without ever seeing
their password.

## Migrating

1. Remove `pesuacademy` from your dependencies:

   ```bash
   pip uninstall pesuacademy
   ```

2. Register your application and integrate with PESU OAuth2. See the
   [PESU OAuth2 repository](https://github.com/pesu-dev/oauth2) and its hosted documentation at
   <https://pesu-oauth2.onrender.com> for details.

3. For questions, reach out on the `#pesu-dev` channel of the [PESU Discord](https://discord.gg/eZ3uFs2).

## Final release

The last published version on PyPI is `1.0.1`. It is identical to `1.0.0` except that importing it emits a deprecation
warning. Existing installations are not removed, but they are not expected to work against PESU Academy.

## History

This repository is kept read-only for reference. Its issues and pull requests have been closed, and the source code
remains available under the [MIT License](LICENSE).

> [!WARNING]
> This was never an official API and was not endorsed by PES University.
