vscode-icons


Namevscode-icons JSON
Version 1.0.0 PyPI version JSON
download
home_page
SummaryDjango app to provide vscode icons for web application.
upload_time2023-06-15 10:50:25
maintainer
docs_urlNone
authorTahir Rafique
requires_python
licenseMIT
keywords vscode icons vscode icons django icons
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # vscode-icons
Django app to provide vscode icons for web application.

Please refer to [original author](https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons) for more detail.

## Installation

Following command will help to install the package.

```bash
pip install vscode-icons
```

## Setup

1. Add the app to **setting.py** file in **INSTALLED_APPS** section.

```python
INSTALLED_APPS = [
    ...
    'vscode_icons',
]
```

## Usage

```python
from vscode_icons.vscode import VSCodeIcons

vsi = VSCodeIcons()

# Getting file path
file_name = 'image.png'
file_icon_path = vsi.findFileIcon(file_name)
print(f'File Icon:\t {file_icon_path}')

# Getting directory path
dir_name = 'Documents'
dir_icon_path = vsi.findDirectoryIcon(dir_name)
print(f'Directory Icon:\t {dir_icon_path}')
```

#### Output

```bash
File Icon:       vscode_icons/icons/file_type_image.svg
Directory Icon:  vscode_icons/icons/default_folder.svg
```

## Author

**Tahir Rafique**

## Releases

| Date      | Version | Summary       |
| --------- | ------- | ------------- |
| 15-Jun-23 | v1.0.0  | Initial build |


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "vscode-icons",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "vscode,icons,vscode icons,django icons",
    "author": "Tahir Rafique",
    "author_email": "tahirrafiqueasad@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f3/58/b1986a48ea8038c11161e3df8fa34354bc58dbba1c294c80551dc45be4d1/vscode-icons-1.0.0.tar.gz",
    "platform": null,
    "description": "# vscode-icons\nDjango app to provide vscode icons for web application.\n\nPlease refer to [original author](https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons) for more detail.\n\n## Installation\n\nFollowing command will help to install the package.\n\n```bash\npip install vscode-icons\n```\n\n## Setup\n\n1. Add the app to **setting.py** file in **INSTALLED_APPS** section.\n\n```python\nINSTALLED_APPS = [\n    ...\n    'vscode_icons',\n]\n```\n\n## Usage\n\n```python\nfrom vscode_icons.vscode import VSCodeIcons\n\nvsi = VSCodeIcons()\n\n# Getting file path\nfile_name = 'image.png'\nfile_icon_path = vsi.findFileIcon(file_name)\nprint(f'File Icon:\\t {file_icon_path}')\n\n# Getting directory path\ndir_name = 'Documents'\ndir_icon_path = vsi.findDirectoryIcon(dir_name)\nprint(f'Directory Icon:\\t {dir_icon_path}')\n```\n\n#### Output\n\n```bash\nFile Icon:       vscode_icons/icons/file_type_image.svg\nDirectory Icon:  vscode_icons/icons/default_folder.svg\n```\n\n## Author\n\n**Tahir Rafique**\n\n## Releases\n\n| Date      | Version | Summary       |\n| --------- | ------- | ------------- |\n| 15-Jun-23 | v1.0.0  | Initial build |\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Django app to provide vscode icons for web application.",
    "version": "1.0.0",
    "project_urls": null,
    "split_keywords": [
        "vscode",
        "icons",
        "vscode icons",
        "django icons"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4505676d446fd3f1a50ac845f4576145440278ee2fa85fd0159c4192d23b34e2",
                "md5": "c5c779b58cadf84e20dc2d987bedd3cd",
                "sha256": "d7d70fea83abfe3a8f048240323d3c4bbc783260a4f1caba22ca57b6b0eb508a"
            },
            "downloads": -1,
            "filename": "vscode_icons-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c5c779b58cadf84e20dc2d987bedd3cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 1977031,
            "upload_time": "2023-06-15T10:50:18",
            "upload_time_iso_8601": "2023-06-15T10:50:18.765916Z",
            "url": "https://files.pythonhosted.org/packages/45/05/676d446fd3f1a50ac845f4576145440278ee2fa85fd0159c4192d23b34e2/vscode_icons-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f358b1986a48ea8038c11161e3df8fa34354bc58dbba1c294c80551dc45be4d1",
                "md5": "7b76b5d4e069bcd2af8c2eba237ad932",
                "sha256": "57d0aa7a9e82d801b5fa316f7e6b50075909d7837f8be5b6e59ac82b90366957"
            },
            "downloads": -1,
            "filename": "vscode-icons-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7b76b5d4e069bcd2af8c2eba237ad932",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1388068,
            "upload_time": "2023-06-15T10:50:25",
            "upload_time_iso_8601": "2023-06-15T10:50:25.046311Z",
            "url": "https://files.pythonhosted.org/packages/f3/58/b1986a48ea8038c11161e3df8fa34354bc58dbba1c294c80551dc45be4d1/vscode-icons-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-15 10:50:25",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "vscode-icons"
}
        
Elapsed time: 1.58208s