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.3.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for readwrite-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48cb43b9506ee43e0adaecf6b9797fb984a5a8dcd6e03dded5d2b4bdb45756f5 |
|
MD5 | a662e725070fdfc9371a5df88f6ed352 |
|
BLAKE2b-256 | e922e5a582b422192f29a9ff2daa81fbb035b2a9103fa513a2d7d9b12bcf73e1 |