Skip to main content
https://travis-ci.org/GreatFruitOmsk/qrc_pathlib.svg?branch=master

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.

Metadata

Release files for qrc-pathlib 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qrc-pathlib 1.0.2
File Size Uploaded Provenance
qrc_pathlib-1.0.2.tar.gz 5.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qrc-pathlib 1.0.2
File Interpreter ABI Platform
qrc_pathlib-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / qrc_pathlib-1.0.2.tar.gz

Download URL qrc_pathlib-1.0.2.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7ab2457b5cda10eda43692f92103c871320bc0260b5c27f38530318a35b6d432
BLAKE2b-256 checksum
How to use checksums
2ee3642c4aedfb4eb81c1b72c27e76f6219e6120b95f61efa2adfa6a05eed849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / qrc_pathlib-1.0.2-py3-none-any.whl

Download URL qrc_pathlib-1.0.2-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffb8b23ea0aeb824d3f05223cea2461a069e39fdbcae243fa01ce32d1df838e4
BLAKE2b-256 checksum
How to use checksums
7f0a7e7c8e48caf8f2a09c2eb8aa6832fd5a787f7ee20280e3e19232d3415b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for qrc-pathlib 1.0.2

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.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page