Enhanced Path library for python3
Project description
epath
Enhanced Path - drop in replacement for Path/PosixPath from pathlib
Supports compression/decompression and signature verification.
Example use:
from enhanced_pathlib import Epath
from Cryptodome.PublicKey import RSA
key = RSA.import_key(open('testpublickey.pem').read())
sig = open('testfile.gz.sig', mode="rb").read()
e = epath.EPath('testfile.gz', signed='sha384', compress='gzip', signature=sig, key=key)
e.read_bytes()
If the file sig verifies OK it will decompress it and return it in a manner equivalent to Path.read_bytes()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enhanced_pathlib-0.0.3.tar.gz.
File metadata
- Download URL: enhanced_pathlib-0.0.3.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f66cfc2e5bd0c133a900384664d0bda1f5e9693a1b4d3890ac0929c783abcfc
|
|
| MD5 |
6a35078645d6a5c16570b063459ee5f0
|
|
| BLAKE2b-256 |
1e1184e0c54e0809684d775fa1debfc85cd25c6095685d78ab6402de055a230c
|
File details
Details for the file enhanced_pathlib-0.0.3-py3-none-any.whl.
File metadata
- Download URL: enhanced_pathlib-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e4598323ecf1d99b1d4a85b56153ba45bcb6d66d06fc071b21854e432556fdf
|
|
| MD5 |
e63b07e463d56dee6a9ee763c20cca10
|
|
| BLAKE2b-256 |
34ff6f3ae10e17de8be1ace859f29d6cd9933c75ed999371bbda89a812366310
|