Metadata-Version: 2.4
Name: fa2svg
Version: 0.1.2
Summary: Convert Font Awesome HTML tags into inline SVG
Home-page: https://github.com/meena-erian/fa2svg
Author: meena-erian
Project-URL: Source, https://github.com/meena-erian/fa2svg
Project-URL: Issue Tracker, https://github.com/meena-erian/fa2svg/issues
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: beautifulsoup4
Requires-Dist: lxml
Requires-Dist: requests
Dynamic: author
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary


# fa2svg

A Python package to convert Font Awesome `<i>`/`<span>` tags into inline SVG elements. It was specifically made so you can use Font Awesome in emails by passing the email body through this converter before sending.

## Installation

```bash
pip install fa2svg
````

Or for local development:

```bash
git clone https://github.com/meena-erian/fa2svg.git
cd fa2svg
pip install -e .
```

# Upload
```bash
twine upload --config-file "./.pypirc" dist\*
```

## Usage

```python
from fa2svg.converter import to_inline_svg

html = '<p>Icon: <i class="fas fa-mug-saucer" style="font-size:64px;color:#c60"></i></p>'
print(to_inline_svg(html))
```

## Contributing

Fork the repo, open issues, submit pull requests!

