smart_open
s3path
Our great sponsors
smart_open | s3path | |
---|---|---|
6 | 2 | |
3,091 | 203 | |
1.2% | - | |
8.3 | 7.8 | |
9 days ago | 4 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
smart_open
- smart_open: Utils for streaming large files (S3, HDFS, gzip, bz2...)
-
Use AWS to unzip all of Wikipedia in 10 minutes
We’re using smart_open, which is an amazing library that lets you open objects in S3 (and other cloud object stores) as if they’re files on your filesystem. It’s obviously critical that we’re able to seek to an arbitrary position in an S3 file without first downloading the whole thing. We’ll assume you’re using Poetry, but you should be able to follow along with any other package manager:
-
Using AWS and Hyperscan to match regular expressions on 100GB of text
If you didn’t follow along with the first article in this series, you should be able to follow this article with your own dataset as long as you install smart_open and Meadowrun. smart_open is an amazing library that lets you open objects in S3 (and other cloud object stores) as if they’re files on your filesystem, and Meadowrun makes it easy to run your Python code on the cloud.
-
Ask HN: Codebases with great, easy to read code?
I see that you're primarily looking into Python work, so I'd recommend `smart_open` as a nice, compact way to get started.
https://github.com/RaRe-Technologies/smart_open
-
How to open an s3 binary file in lambda using python open() function?
You want smart_open. It gives you a (more complete) file-like interface to many different storage systems, including s3. You can read and seek as needed.
-
Fsspec: Filesystem Interfaces for Python
See also smart_open: https://github.com/RaRe-Technologies/smart_open which might be more user-friendly? Never used it myself but it was on HN before. Discussion on their bugtracker: https://github.com/RaRe-Technologies/smart_open/issues/579
s3path
-
Fsspec: Filesystem Interfaces for Python
Not very convincingly IMO. There’s also the approach taken by [s3path](https://github.com/liormizr/s3path)
-
Introducing the Python s3path library and fixing a bug live by Lior Mizrahi
s3path is a pathlib extension for AWS S3 service. In this Video, Lior Mizrahi, the author of the library introduces it and the fixes a bug in a live pair-programming session.
What are some alternatives?
s3fs - Amazon S3 filesystem for PyFilesystem2
qoo - A simple library for interacting with Amazon SQS.
Streamz - Real-time stream processing for python
aws-config-rdk - The AWS Config Rules Development Kit helps developers set up, author and test custom Config rules. It contains scripts to enable AWS Config, create a Config rule and test it with sample ConfigurationItems.
PyFilesystem2 - Python's Filesystem abstraction layer
digital-ocean-spaces - MIT Licensed python client for DigitalOcean spaces
rxsci - ReactiveX for data science
cyberpunk - Audio Processing Server
fluvio-client-python - The Fluvio Python Client!
Lucid-Dynamodb - 🗄️ A simple Python wrapper to AWS Dynamodb.
requests - A simple, yet elegant, HTTP library.
BucketStore - A simple library for interacting with Amazon S3.