Skip to main content

A memory-efficient, generator-based CSV validator for data engineers.

Project description

StreamCheck

A lightweight, O(1) memory validator for large CSV files.

Why?

Validating a 10GB CSV file shouldn't require a 32GB RAM server. StreamCheck uses Python generators to validate files line-by-line.

Usage

from streamcheck import StreamValidator

# 1. Define simple checks
schema = {
    "age": lambda x: x.isdigit(),
    "email": lambda x: "@" in x
}

# 2. Run
validator = StreamValidator(schema)
for error in validator.validate("large_file.csv"):
    print(error)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamcheck-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamcheck-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file streamcheck-0.0.1.tar.gz.

File metadata

  • Download URL: streamcheck-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for streamcheck-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6cb17c8ac3aafb76be71ad120b482279db6ea45839bc51e6792af152382aa21f
MD5 60f6ed432f6db95991429b5e76abbf97
BLAKE2b-256 a65ff299a29741b044e656dad7e7302822ad0ef738a1e6b1e6efc2889ef96d5e

See more details on using hashes here.

File details

Details for the file streamcheck-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: streamcheck-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for streamcheck-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f512fee53ff1bd237e1da4c71fbad40b68afafad84b8a138f4b222a80d764086
MD5 27f33644b1ad5df982530f8572f3c3d2
BLAKE2b-256 4dee90916828b821c721c9f248459c84cc8dcde5ea72f44c84e8e7c5f90cd053

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page