qrc-pathlib 1.0.2

Last updated:

0 purchases

qrc-pathlib 1.0.2 Image
qrc-pathlib 1.0.2 Images
Add to Cart

Description:

qrcpathlib 1.0.2

qrc_pathlib
Qt Resource System allows to store files
inside binaries and read them by using Qt’s file system abstraction (QFile, QDir etc).
This package extends pathlib introduced in Python 3.4
by implementing Path and PurePath for QRS:
from qrc_pathlib import QrcPath

QrcPath(':my_resource.svg').read_bytes()

with QrcPath(':hello.txt').open() as f:
print(f.read())
Since QRS is read-only all methods that are supposed to modify files raise PermissionError. Other inapplicable methods
such as stat will raise NotImplementedError.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.