semvec/pypi-packages huggingface dataset:
amp-tools 0.0.4
Python AMP Library
License: MIT
Requires Python: >=3.5.0


# Python AMP Library
[![Build Status](https://travis-ci.org/dorokhin/amp-tools.svg?branch=master)](https://travis-ci.org/dorokhin/amp-tools)
[![codecov](https://codecov.io/gh/dorokhin/amp-tools/branch/master/graph/badge.svg)](https://codecov.io/gh/dorokhin/amp-tools)
[![PyPI version](https://badge.fury.io/py/amp-tools.svg)](https://badge.fury.io/py/amp-tools)
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)

This library contains class what converts html to AMP.

Work in progress


### Installation
```bash
pip install amp_tools
```

### Usage example
```python
from amp_tools import TransformHtmlToAmp


html_elements = '<span class="test-class">' \
                    '<form class="form-test"></form>' \ 
                    '<img src="media/test.png" width="300" height="220">' \
                '</span>'
        
valid_amp = TransformHtmlToAmp(html_elements)()

# Return 
b'<div class="amp-text"><amp-img src="media/test.png" width="300" height="220" layout="responsive"></amp-img></div>'

```
cog-reloader 0.0.2
Make reloading cogs easy while editing. Compitable with `nextcord` and `discord.py`
License: MIT
Requires Python: >=3.8.0
Keywords: discord discord.py nextcord.py nextcord

# Cog reloader
Make reloading cogs easy while editing. Compitable with `nextcord` and `discord.py`

# Warning
- Don't load this while bot is in production, Load only in development environment.
- This will not reload files that are not cog.

# Installation
`pip install cog-reloader`

# Usage

```python
from discord.ext import commands

bot = commands.Bot(command_prefix='/')

@bot.event
async def on_ready():
    print(f'We have logged in as {bot.user}')

bot.load_extension('cog_reloader') # make sure its an `_` not `-`

TOKEN = 'TOKEN_HERE'
bot.run(TOKEN)
```

[Join Discord](https://discord.gg/7SaE8v2) For any kind of help