Skip to main content

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


Download files

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

Source Distribution

enhanced_pathlib-0.0.5.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

enhanced_pathlib-0.0.5-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file enhanced_pathlib-0.0.5.tar.gz.

File metadata

  • Download URL: enhanced_pathlib-0.0.5.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for enhanced_pathlib-0.0.5.tar.gz
Algorithm Hash digest
SHA256 be69cd5ceda41fdf3d3bb821985b2f75e70d0854a85db80151b51868a6cce78a
MD5 22649d3c6cc2c3a77e62ac37373b7fc8
BLAKE2b-256 fb4218eb375972e1178a9d30d09e41c76a5135f377e43d7a7cd344dff2728acb

See more details on using hashes here.

File details

Details for the file enhanced_pathlib-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for enhanced_pathlib-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4c058400b00071dad6b9ca8538b6114241107faee451841a9c50881c19746579
MD5 6a4f3ebd03bb7da174f0d8513a598bc5
BLAKE2b-256 001a7fcd27099b10952c9f774152356bd6f1cc2e57c35b4056fbcf30ff872f71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page