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.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for readwrite-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5dc3a8f55f50a369c48a7f7ced392801903c616ba81a4353db009249c75fba |
|
MD5 | 37a920854f3e51cdd5879eeafaf735aa |
|
BLAKE2b-256 | 033c50f044191195224a52c29d9f6f42c74fe203599800594ca4a92858c93c63 |