Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Sep 29, 2023
1 parent 6070a12 commit 04665a1
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 61 deletions.
18 changes: 0 additions & 18 deletions .copier-answers.yml

This file was deleted.

49 changes: 48 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,51 @@
[![CI](https://github.com/tlambert03/pyconify/actions/workflows/ci.yml/badge.svg)](https://github.com/tlambert03/pyconify/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/tlambert03/pyconify/branch/main/graph/badge.svg)](https://codecov.io/gh/tlambert03/pyconify)

iconify for python. Universal icon framework
Python wrapper for the [Iconify](https://github.com/iconify) API.

Iconify is a versatile icon framework that includes 100+ icon sets with more
than 100,000 icons from FontAwesome, Material Design Icons, DashIcons, Feather
Icons, EmojiOne, Noto Emoji and many other open source icon sets.

Search for icons at: https://icon-sets.iconify.design

## Installation

```bash
pip install pyconify
```

## Usage

```python
import pyconify

# Info on available collections
collections = pyconify.collections()

# Info on specific collection(s)
details = pyconify.collection("fa", "fa-brands")

# Search for icons
hits = pyconify.search("python")

# Get icon data
data = pyconify.icon_data("fa-brands", "python")

# Get SVG
svg = pyconify.svg("fa-brands", "python")

# Get SVG as a temporary file for the session
file_name = pyconify.temp_svg("fa-brands", "python")

# Get CSS
css = pyconify.css("fa-brands", "python")

# Keywords
pyconify.keywords('home')

# API version
pyconify.iconify_version()
```

See details for each of these results in the [Iconify API documentation](https://iconify.design/docs/api/queries.html).
13 changes: 0 additions & 13 deletions example.py

This file was deleted.

1 change: 1 addition & 0 deletions src/pyconify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
__version__ = version("pyconify")
except PackageNotFoundError: # pragma: no cover
__version__ = "uninstalled"

__author__ = "Talley Lambert"
__email__ = "talley.lambert@gmail.com"
__all__ = [
Expand Down
5 changes: 0 additions & 5 deletions src/pyconify/py.typed
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
You may remove this file if you don't intend to add types to your package

Details at:

https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages
24 changes: 0 additions & 24 deletions src/pyconify/qt.py

This file was deleted.

0 comments on commit 04665a1

Please sign in to comment.