semvec/pypi-packages huggingface dataset:
pynyaa 3.0.0
Turn nyaa.si releases into neat Python objects.
Requires Python: >=3.10
Keywords: anime, nyaa, nyaa.si, nyaasi, torrent

<br/>
<p align="center">
  <a href="https://github.com/Ravencentric/pynyaa">
    <img src="https://raw.githubusercontent.com/Ravencentric/pynyaa/main/docs/assets/logo.png" alt="Logo" width="400">
  </a>
  <p align="center">
    Turn nyaa.si releases into neat Python objects.
    <br/>
    <br/>
  </p>
</p>

<p align="center">
<a href="https://pypi.org/project/pynyaa/"><img src="https://img.shields.io/pypi/v/pynyaa" alt="PyPI - Version" ></a>
<img src="https://img.shields.io/pypi/pyversions/pynyaa" alt="PyPI - Python Version">
<img src="https://img.shields.io/github/license/Ravencentric/pynyaa" alt="License">
<img src="https://img.shields.io/pypi/types/pynyaa" alt="PyPI - Types">
</p>

<p align="center">
<img src="https://img.shields.io/github/actions/workflow/status/Ravencentric/pynyaa/release.yml" alt="GitHub Build Workflow Status">
<img src="https://img.shields.io/github/actions/workflow/status/ravencentric/pynyaa/tests.yml" alt="GitHub Tests Workflow Status">
<a href="https://codecov.io/gh/Ravencentric/pynyaa"><img src="https://codecov.io/gh/Ravencentric/pynyaa/graph/badge.svg?token=9LZ2I4LDYT" alt="Codecov Status"></a>
</p>

## Installation

`pynyaa` is available on [PyPI](https://pypi.org/project/pynyaa/), so you can simply use [pip](https://github.com/pypa/pip) to install it.

```sh
pip install pynyaa
```

# Docs

Checkout the [quick start page](https://ravencentric.cc/pynyaa/quick-start/) and the [API reference](https://ravencentric.cc/pynyaa/api-reference/clients/).

## License

Distributed under the [MIT](https://choosealicense.com/licenses/mit/) License. See [LICENSE](https://github.com/Ravencentric/pynyaa/blob/main/LICENSE) for more information.
ctftime-api 0.2.0
CTFTime API wrapper
Requires Python: >=3.11
Keywords: api, ctftime, wrapper

# ctftime_api

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ctftime_api?link=https%3A%2F%2Fpypi.org%2Fproject%2Fctftime_api%2F)
![PyPI - Status](https://img.shields.io/pypi/status/ctftime_api?link=https%3A%2F%2Fpypi.org%2Fproject%2Fctftime_api%2F)
![PyPI - Version](https://img.shields.io/pypi/v/ctftime_api?link=https%3A%2F%2Fpypi.org%2Fproject%2Fctftime_api%2F)

A simple Python wrapper for the CTFTime API that provides an asynchronous interface to retrieve CTF event and team information.

## Features

- **Asynchronous**: Utilize Python's async/await for non-blocking API requests.
- **Type Safe**: Fully type annotated using Pydantic models.
- **Modular**: Organized into client and models modules for easy maintenance and extension.
- **Tested**: Includes comprehensive unit tests in the [tests](tests/) directory.

## Installation

Install via pip:

```sh
pip install ctftime_api
```

## Usage

Create a client to interact with the CTFTime API. For example, to get the top teams for the current year:

```python
import asyncio
from ctftime_api.client import CTFTimeClient

async def main():
    client = CTFTimeClient()
    top_teams = await client.get_top_teams_per_year()
    for team in top_teams:
        print(f"{team.name} (ID: {team.id}) - Points: {team.points}")
    await client.close()

asyncio.run(main())
```

For more detailed examples, check the examples directory.

## Documentation

Full API documentation is available at [https://jotonedev.github.io/ctftime_api](https://jotonedev.github.io/ctftime_api).

## Contributing

This project is licensed under the GNU General Public License v3 or later (GPLv3+).

## Additional Resources

- [Project Documentation Website](https://jotonedev.github.io/ctftime_api)
- [GitHub Repository](https://github.com/jotonedev/ctftime_api)

## License

This project is released under the [GPL 3.0 or later](LICENSE) license.