readwrite - Quickly read/write file in common formats
Project description
Quickly read and write file based on their extension.
Install
python3 -m pip install --upgrade git+https://github.com/crunchdao/readwrite
CLI Usage
readf [FILE-PATHS...]
or
readfile <EXTENSION> [EXTENSION-SPECIFIC-OPTIONS] [FILE-PATHS...]
Code Usage
import readwrite as rw
# will use pandas.read_csv(...)
df = rw.read("data.csv")
# will use pandas.to_parquet(...)
rw.write(df, "data.parquet")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
readwrite-0.1.2.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for readwrite-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e0b9f3bd87587cf71ca1a93043eda1724a42c722b06208e0fe3bc1ea8f1c98 |
|
MD5 | a5ef58d374a020059af28e1804db9c5e |
|
BLAKE2b-256 | e25096ba3f363060ce991bffebcfbd7c2c14e0712e5f4f4b41bc05584e05bac8 |