semvec/pypi-packages huggingface dataset:
grpc-protoc-annotations 2.16.0
Provides the missing pieces for gRPC Gateway.
Requires Python: >=3.6

# gRPC Gateway Support

This repo generates the missing Python code to support code generated using
[gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway) protoc annotations.

This package depends on `googleapis-common-protos` to provide `google.api.annotations_pb2` and others
that the generated code will depend on.


## Usage

```shell
pip install grpc-protoc-annotations
```

## Building

1. Run `make init`
2. Run `make build` to generate the code from grpc-gateway and build the package
3. Run `pip install dist/grpc_protoc_annotations-2.14.0-py3-none-any.whl` to install in the current Python
   distribution


## Publishing (optional)

Setup PyPi credentials and
1. `make distribute`


## Credits

Original implementation from HackEdu, but Github repository is not available anymore and the Pypi package unmaintained.
wikitexthtml 1.2.0
Convert wikitext to HTML
Requires Python: >=3.8

# wikitexthtml

[![GitHub License](https://img.shields.io/github/license/TrueBrain/wikitexthtml)](https://github.com/TrueBrain/wikitexthtml/blob/main/LICENSE)
[![GitHub Tag](https://img.shields.io/github/v/tag/TrueBrain/wikitexthtml?include_prereleases&label=stable)](https://github.com/TrueBrain/wikitexthtml/releases)
[![GitHub commits since latest release](https://img.shields.io/github/commits-since/TrueBrain/wikitexthtml/latest/main)](https://github.com/TrueBrain/wikitexthtml/commits/main)

[![GitHub Workflow Status (Testing)](https://img.shields.io/github/actions/workflow/status/TrueBrain/wikitexthtml/testing.yml?branch=main&label=main)](https://github.com/TrueBrain/wikitexthtml/actions/workflows/testing.yml)
[![GitHub Workflow Status (Release)](https://img.shields.io/github/actions/workflow/status/TrueBrain/wikitexthtml/release.yml?label=release)](https://github.com/TrueBrain/wikitexthtml/actions/workflows/release.yml)

wikitexthtml is a library that renders HTML from WikiText.

## Dependencies

- Python3.8 or higher.
- `python-slugify` (via `setup.py`), for slugs in anchors
- `ply` (via `setup.py`), to implement `{{#ifexpr}}` and `{{#expr}}`
- `wikitextparser` (via `setup.py`), to make sense of wikitext

## Installation

```bash
pip install wikitexthtml
```

Or for development work:

```bash
python3 -m venv .env
.env/bin/pip install -e .
```

## Usage

Extend [Page](https://github.com/TrueBrain/wikitexthtml/blob/main/wikitexthtml/page.py) by implementing the missing functions as seen in [prototype.py](https://github.com/TrueBrain/wikitexthtml/blob/main/wikitexthtml/prototype.py).
This way you can customize where files are read from (from disk, from a database, etc) and how to sanitize titles and URLs.
In the [tests](https://github.com/TrueBrain/wikitexthtml/tree/main/tests/) folder examples of this can be found.

Now you can instantiate this new class and call `render()` on it.
The result will be available in `html`. For example:

```python
class WikiPage(Page):
    ...

print(WikiPage("Main Page").render().html)
```