semvec/pypi-packages huggingface dataset:
mkdocs-snippet-plugin 1.0.2
An mkdocs plugin that injects snippets from a file in a git repository
License: MIT
Requires Python: >=2.7.9,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
Keywords: mkdocs python markdown snippet

# mkdocs-snippet-plugin

An mkdocs plugin that injects snippets from a file in a git repository.

## Installation

> **Note:** This package requires MkDocs version 0.17 or higher.

Install the package with pip:

```bash
pip install mkdocs-snippet-plugin
```

Enable the plugin in your `mkdocs.yml`:

```yaml
plugins:
    - snippet:
          base_path: docs
```

The `base_path` entry should point to the root of your documentation site, usually defaulted to `docs`.

## How to use it

If you have a markdown file in a remote Git repostory, and you want to extract a sections from it, add the following to your documentation markdown in mkdocs:

```
{{ snippet('git@github.com:mprivat/mkdocs-snippet-plugin.git', 'README.md', '## Installation') }}
```

It will download the file you specify from the Git URL, extract the section you ask for (including its subsections) and inject that into your mkdocs file at render time.

If the remote file has references to images, those will also be downloaded and placed in a `_gen` folder in the mkdocs hierarchy. You will probably want to include `**/gen_` in your `.gitignore` file so you don't put those into your git repository unless you want them there.
botogram-beta 0.7b3
A Python framework for Telegram bots
License: MIT


========
botogram
========

botogram is a Python framework, which allows you to focus just on
creating your `Telegram bots`_, without worrying about the underlying
Bots API.

While most of the libraries for Telegram out there just wrap the Bots
API, botogram focuses heavily on the development experience, aiming to
provide you the best API possible. Most of the Telegram implementation
details are managed by botogram, so you can just focus on your bot.

::

    import botogram
    bot = botogram.create("API-KEY")

    @bot.command("hello")
    def hello_command(chat, message, args):
        """Say hello to the world!"""
        chat.send("Hello world")

    if __name__ == "__main__":
        bot.run()

Want to get started? `Go to the documentation`_

.. _Telegram bots: https://core.telegram.org/bots
.. _Go to the documentation: https://botogram.dev/docs