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 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.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for readwrite-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cf760cbbfa5b5f950a6aa7d5afc1aa4f1d1e18554a1a24e5f20dcbabea79414 |
|
MD5 | db2f69a82ba1dbee058a37bca4323905 |
|
BLAKE2b-256 | ec6388c67aba0c89c2c1943fe027d4c5bc23dc13b6a9fb99385570c95175ecd3 |