Stream CSV files (including from ZIP archives) as Arrow tables
Project description
CSV Streamer
I find myself doing a lot of the same thing recently... and that thing is streaming large csv files over the network in batches.
So I made a small python library using a few techniques that I know to stream csv files and yield them as batches of arrow tables for further processing/wrangling etc.
There's 4 paths and one entry point:
- stream_csv()
You can stream:
- Local CSVs
- Local CSVs in a zip file
- Remote CSVs
- Remove CSVs in a zip file
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file csv_streamer-0.1.0.tar.gz.
File metadata
- Download URL: csv_streamer-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fef3a0aa4fea1f8529c6b8f0c8a115dc7d67436f9e2afcc735406131c5dfffed
|
|
| MD5 |
88b65c96dbb7f1ae21a5c14ae7adabec
|
|
| BLAKE2b-256 |
1490056236e7d87401526a353f3ad8b56d968ef6d112f73709883fe75aeeb9f9
|
File details
Details for the file csv_streamer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: csv_streamer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9478e54cfac14291010231b7cf7702d0a520c67f3acc75ff6c94a797f1cc9ac
|
|
| MD5 |
5fbcb1f56f04e0eb08b7475ef4745c24
|
|
| BLAKE2b-256 |
46f3d1e14a7ffcf4bb38c242fb530812a674508453362a9fd2add5aae443cd59
|