New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vscode-icons

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-icons

Django app to provide vscode icons for web application.

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

vscode-icons

Django app to provide vscode icons for web application.

Please refer to original author for more detail.

Installation

Following command will help to install the package.

pip install vscode-icons

Setup

  1. Add the app to setting.py file in INSTALLED_APPS section.
INSTALLED_APPS = [
    ...
    'vscode_icons',
]

Usage

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
File Icon:       vscode_icons/icons/file_type_image.svg
Directory Icon:  vscode_icons/icons/default_folder.svg

Author

Tahir Rafique

Releases

DateVersionSummary
15-Jun-23v1.0.0Initial build

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc