{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"}],"enrichment":{"capability":"s3pathlib provides a pathlib-like object-oriented interface to AWS S3, letting you construct, query, and manipulate S3 objects and directories using familiar Python path syntax.","skillfed_tags":["aws-s3","pathlib-style"],"use_cases":["Upload entire local directory trees to S3 with pattern matching (e.g., all .py files) without manual pagination.","Copy or delete S3 folders recursively in a single call, avoiding manual list-and-delete loops.","Stream large S3 objects line-by-line or into pandas DataFrames using context-manager syntax.","Filter S3 objects by size, extension, or modification time before processing, reducing unnecessary data transfer.","Inspect S3 object metadata (etag, size, human-readable size) and folder statistics (object count, total size) with simple method calls."],"what_it_does":"s3pathlib wraps boto3 with a pathlib-inspired API so you work with S3 objects and directories using familiar Python path operations. Instead of calling boto3 client methods directly, you construct S3Path objects from bucket and key components (or S3 URIs and ARNs), then call methods like write_text(), read_text(), open(), and delete() as if they were local filesystem paths.\n\nThe package handles the complexity of S3's flat object model and pagination limits by providing recursive folder operations (upload_dir, copy_to, delete), object filtering by size/extension/etag/mtime, and file-like I/O for streaming large objects. It maintains a context object that holds your boto3 session, so you configure credentials once and reuse them across all S3Path instances.","worth_installing":"Yes, if you work regularly with S3 and prefer a Pythonic path-like interface over raw boto3 calls. The low install friction and permissive license make it a safe add. Caveat: maintenance is aging (last release 367 days ago), so verify it still works with your boto3 version and check for any open issues matching your use case before committing to production."},"id":"s3pathlib","links":{"html":"https://skillfed.io/packages/s3pathlib","md":"https://skillfed.io/packages/s3pathlib.md","pypi":"https://pypi.org/project/s3pathlib/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-08-12","license_spdx":null,"license_treatment":"permissive","name":"s3pathlib","python_support":"supports_current","summary":"s3pathlib is the python package provides the Pythonic objective oriented programming (OOP) interface to manipulate AWS S3 object / directory. The api is similar to the pathlib standard library and very intuitive for human."},"popularity":{"monthly_downloads":902567,"position":4768,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.3.6"}
