Skip to main content

Python package for CRUD operations on large files in chunks.

Project description

PyPI version License: MIT Downloads

FileChunkCRUD

FileChunkCRUD is a Python tool designed for Create, Read, Update, and Delete operations on files, especially large files that need to be processed in chunks to fit into memory constraints.

Installation

To install FileChunkCRUD, you can use pip:

pip install FileChunkCRUD

Usage

As a Python Module

FileChunkCRUD can be used as a Python module in your scripts for handling large file operations.

Example:

from filechunkcrud import FileHandler

file_path = '/path/to/your/largefile.txt'

# Initialize the file handler with the target file path
file_handler = FileHandler(file_path)

# Example of reading file in chunks
for chunk in file_handler.read_chunks(chunk_size=1024):  # chunk_size in bytes
    print(chunk)
...

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check issues page.

License

MIT

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

FileChunkCRUD-0.0.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

FileChunkCRUD-0.0.2-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

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