Python package for CRUD operations on large files in chunks.
Project description
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
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.1.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for FileChunkCRUD-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12d4fa6f49c9ef67bb739485a0eb5b04e024c4d51c271a173ecea84eb21962e2 |
|
MD5 | e084e648a81ba5c33fbadbdf1ebbd668 |
|
BLAKE2b-256 | 3d0a2a492a44d2a0678bc9141a61657ef491fe3ce749cedeb3379be985eb42aa |