fastload
fastload is a lightweight Python library for loading large CSV and Excel files in chunks, with automatic encoding and delimiter detection, and progress bars.
Features
- Chunked reading – process huge files without memory overflow.
- Auto‑detect encoding (via
chardet) – handles UTF‑8, CP1251, etc. - Auto‑detect delimiter – supports
,,;,\t,|. - Progress bars with
tqdm. - Excel support for
.xlsxand.xlsm(viaopenpyxl). - File‑type auto‑detection with
load_file().
Installation
pip install fastload
For development:
pip install -e .
Quick Start
CSV
from fastload import load_csv
for chunk in load_csv('huge_file.csv', chunk_size=10000):
process(chunk)
Excel
from fastload import load_excel
for chunk in load_excel('data.xlsx', sheet_name='Sheet1'):
process(chunk)
Auto‑detect
from fastload import load_file
for chunk in load_file('data.csv'):
process(chunk)
Requirements
- Python 3.8+
- Dependencies:
openpyxl,tqdm,chardet
License
MIT – see LICENSE
Author
Stepan Bogdanov – GitHub
Contributing
Contributions are welcome – open an issue or submit a pull request.
Metadata
Release files for fastload-data 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastload_data-0.1.0.tar.gz | 6.1 kB | Without provenance | Details for fastload_data-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastload_data-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fastload_data-0.1.0-py3-none-any.whl |
Total release size: 12.9 kB
Release files / fastload_data-0.1.0.tar.gz
| Download URL | fastload_data-0.1.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8d9f2bbf6e118893292be03d316a00c676860ecfd400100f5fa12b12a202a26
|
|
BLAKE2b-256 checksum How to use checksums |
c08eeb0d34b42bf81d112d9a9779aae32702bf4f10dcd759b7b6f00940cef53b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / fastload_data-0.1.0-py3-none-any.whl
| Download URL | fastload_data-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a82bf6b6b710d8d75bf9a35d066291efe6343e5c22a6b8374ae1d48a1854eda7
|
|
BLAKE2b-256 checksum How to use checksums |
0252c35ea785dc2984492f152c65543ccdff95ce8ff51f1452d3d03f84be5a57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for fastload-data 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.