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.2.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for readwrite-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35a01bb42d92af7dfe7ff89598824efd002f25d06baff04366a9f484adf91834 |
|
MD5 | 5f1cf097bdd0582eba480a540af680ee |
|
BLAKE2b-256 | d2f993e0a3027df9627b36181de4fde1ef1eccb2489c3214bdd23c6f60750acb |