Skip to main content

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 .xlsx and .xlsm (via openpyxl).
  • 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)

Source distribution for fastload-data 0.1.0
File Size Uploaded
fastload_data-0.1.0.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastload-data 0.1.0
File Interpreter ABI Platform
fastload_data-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page