absresgetter
Get absolute resource path of exterior package
Setup
python -m pip install absresgetter
Description
There is only one method. getabsres(res: str) -> str
This package find the module in the stack which includes relative resource path like 'ico/sample.png'.
You can get the absolute path like 'C:/.../sample_exists_directory/ico/sample.png'.
Example
print(getabsres('ico/dark-notepad.svg')) # C:/.../ico_dark_notepad_exists_directory/ico/dark-notepad.svg
Metadata
Release files for absresgetter 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| absresgetter-0.0.12.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| absresgetter-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / absresgetter-0.0.12.tar.gz
| Download URL | absresgetter-0.0.12.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28c0d86395eadacd18670ee0292f84ca8940f47177c19af6715efb314b0f1f6f
|
|
BLAKE2b-256 checksum How to use checksums |
9de8b1c7b9dcb177bbf1931f12860520d66d8c22b6609e0f45bf85ffe3e0c010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Release files / absresgetter-0.0.12-py3-none-any.whl
| Download URL | absresgetter-0.0.12-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3a307b67b9a792983774fbcd8aec8e375a3e863f190e4e3c502e7c74f6c15bf
|
|
BLAKE2b-256 checksum How to use checksums |
aae19db69e848021c9485f00abdb9796e2ece65db2cb42df016ef900ae54c027
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|