Popularity
0.6
Declining
Activity
0.0
Stable
6
1
2

Programming language: Rust
License: MIT License

smart-open alternatives and similar packages

Based on the "Utilities" category.
Alternatively, view smart-open alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of smart-open or a related project?

Add another 'Utilities' Package

README

smart-open

Opens files for reading.

What??

smart_open is a rust crate under active development with the goal of opening any text file (compressed or uncompressed) present either in local or on the cloud or the web.

extern crate smart_open as sm;

pub fn main() {
    let text = sm::smart_open("tests/bar.txt.gz").unwrap();
    println!("{}", text);
}

You can find sample code for other types of files in the examples directory.

Goals for this project

  • [x] Open text file on local filesystem.
  • [x] Open gz text file on local filesystem.
  • [x] Support for other text file formats (csv, json) etc.
  • [x] s3 text files.
  • [ ] s3 + gz files.
  • [x] http text files.
  • [x] http + gz files

Comments, bug reports

smart_open lives on Github. You can file issues or pull requests there. Suggestions, pull requests and improvements welcome!

smart_open is open source software released under the MIT license. Copyright (c) 2018-now Joydeep Bhattacharjee.


*Note that all licence references and agreements mentioned in the smart-open README section above are relevant to that project's source code only.