Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

s3path

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s3path - pypi Package Compare versions

Comparing version
0.6.3
to
0.6.4
+1
-1
PKG-INFO
Metadata-Version: 2.4
Name: s3path
Version: 0.6.3
Version: 0.6.4
Home-page: https://github.com/liormizr/s3path

@@ -5,0 +5,0 @@ Author: Lior Mizrahi

Metadata-Version: 2.4
Name: s3path
Version: 0.6.3
Version: 0.6.4
Home-page: https://github.com/liormizr/s3path

@@ -5,0 +5,0 @@ Author: Lior Mizrahi

@@ -8,3 +8,3 @@ """

__version__ = '0.6.3'
__version__ = '0.6.4'
__all__ = (

@@ -11,0 +11,0 @@ 'Path',

@@ -53,3 +53,3 @@ from __future__ import annotations

S3 is not a file-system but we can look at it like a POSIX system.
S3 is not a file-system, but we can look at it like a POSIX system.
"""

@@ -78,3 +78,3 @@

@classmethod
def from_uri(cls, uri: str) -> PureS3Path:
def from_uri(cls, uri: str) -> Self:
"""

@@ -93,3 +93,3 @@ from_uri class method create a class instance from url

@classmethod
def from_bucket_key(cls, bucket: str | PathLike, key: str | PathLike) -> PureS3Path:
def from_bucket_key(cls, bucket: str | PathLike, key: str | PathLike) -> Self:
"""

@@ -322,3 +322,3 @@ from_bucket_key class method create a class instance from bucket, key pair's

def rename(self, target) -> S3Path:
def rename(self, target) -> Self:
"""

@@ -337,3 +337,3 @@ Renames this file or Bucket / key prefix / key to the given target.

def replace(self, target) -> S3Path:
def replace(self, target) -> Self:
"""

@@ -443,3 +443,3 @@ Renames this Bucket / key prefix / key to the given target.

def iterdir(self) -> Generator['S3Path']:
def iterdir(self) -> Generator[Self]:
"""

@@ -479,3 +479,3 @@ When the path points to a Bucket or a key prefix, yield path objects of the directory contents

case_sensitive: bool | None = None,
recurse_symlinks: bool = False) -> Generator['S3Path']:
recurse_symlinks: bool = False) -> Generator[Self]:
"""

@@ -507,3 +507,3 @@ Glob the given relative pattern in the Bucket / key prefix represented by this path,

case_sensitive: bool | None = None,
recurse_symlinks: bool = False) -> Generator['S3Path']:
recurse_symlinks: bool = False) -> Generator[Self]:
"""

@@ -604,3 +604,3 @@ This is like calling S3Path.glob with "**/" added in front of the given relative pattern

on_error:bool = None,
follow_symlinks: bool = False) -> Generator[tuple['S3Path', list[str], list[str]]]:
follow_symlinks: bool = False) -> Generator[tuple[Self, list[str], list[str]]]:
if follow_symlinks:

@@ -644,3 +644,3 @@ raise NotImplementedError(f'Setting follow_symlinks to {follow_symlinks} is unsupported on S3 service.')

@classmethod
def from_uri(cls, uri: str, *, version_id: str) -> PureVersionedS3Path:
def from_uri(cls, uri: str, *, version_id: str) -> Self:
"""

@@ -658,3 +658,3 @@ from_uri class method creates a class instance from uri and version id

@classmethod
def from_bucket_key(cls, bucket: str, key: str, *, version_id: str) -> PureVersionedS3Path:
def from_bucket_key(cls, bucket: str, key: str, *, version_id: str) -> Self:
"""

@@ -671,3 +671,3 @@ from_bucket_key class method creates a class instance from bucket, key and version id

def with_segments(self, *pathsegments) -> PureVersionedS3Path:
def with_segments(self, *pathsegments) -> Self:
"""Construct a new path object from any number of path-like objects.

@@ -674,0 +674,0 @@ Subclasses may override this method to customize how new path objects

@@ -8,3 +8,3 @@ #!/usr/bin/env python

name='s3path',
version='0.6.3',
version='0.6.4',
url='https://github.com/liormizr/s3path',

@@ -11,0 +11,0 @@ author='Lior Mizrahi',

import os
import sys
import pytest

@@ -4,0 +3,0 @@ from pathlib import Path, PurePosixPath, PureWindowsPath