Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Extension for pathlib that implements Path and PurePath for Qt Resources System.

Project description


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


with QrcPath(':hello.txt').open() as f:

Since QRS is read-only all methods that are supposed to modify files raise PermissionError. Other inapplicable methods such as stat will raise NotImplementedError.

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
qrc_pathlib-1.0.2-py3-none-any.whl (6.4 kB) Copy SHA256 hash SHA256 Wheel py3 Apr 29, 2016
qrc_pathlib-1.0.2.tar.gz (5.2 kB) Copy SHA256 hash SHA256 Source None Apr 29, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page