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
- 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
| Date | Version | Summary |
|---|---|---|
| 15-Jun-23 | v1.0.0 | Initial build |
Metadata
Release files for vscode-icons 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vscode-icons-1.0.0.tar.gz | 1.4 MB | Without provenance | Details for vscode-icons-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vscode_icons-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for vscode_icons-1.0.0-py3-none-any.whl |
Total release size: 3.4 MB
Release files / vscode-icons-1.0.0.tar.gz
| Download URL | vscode-icons-1.0.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57d0aa7a9e82d801b5fa316f7e6b50075909d7837f8be5b6e59ac82b90366957
|
|
BLAKE2b-256 checksum How to use checksums |
f358b1986a48ea8038c11161e3df8fa34354bc58dbba1c294c80551dc45be4d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / vscode_icons-1.0.0-py3-none-any.whl
| Download URL | vscode_icons-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7d70fea83abfe3a8f048240323d3c4bbc783260a4f1caba22ca57b6b0eb508a
|
|
BLAKE2b-256 checksum How to use checksums |
4505676d446fd3f1a50ac845f4576145440278ee2fa85fd0159c4192d23b34e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for vscode-icons 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.