A Python package for file manipulation operations.
Project description
PyFileHandling - Streamlining Pythonic File Operations
Overview
PyFileHandling is a Python package designed to simplify file handling operations. Whether you need to create, modify, or read files, this package offers an array of convenient functions to streamline your file manipulation tasks.
Features
- File Creation: Easily create files at specified paths.
- Directory Manipulation: Create, remove directories, and manage file structures.
- File Writing: Write data to files with options for overwriting or appending.
- File Reading: Read file contents, individual lines, or use generators to efficiently handle large files.
- Tested and Reliable: Thoroughly tested with a focus on robustness and reliability.
Installation
You can install PyFileHandling using pip:
pip install pyfilehandling
Getting Started
For detailed usage instructions, consult the PyFileHandling Documentation.
Here's a quick start with some common use cases:
import pyfilehandling
# Create a directory
pyfilehandling.fileio.create_dir("my_directory")
# Write data to a file
pyfilehandling.write("my_file.txt", "Hello, PyFileHandling!")
# Read file content
content = pyfilehandling.read("my_file.txt")
print(content)
Contributing
Contributions are welcome! To contribute to PyFileHandling, please read the Contribution Guidelines. We appreciate your help in making this package even better.
Code of Conduct
We strive to maintain a positive and inclusive community. We encourage everyone participating in PyFileHandling to read and adhere to the Code of Conduct. It's essential for creating a welcoming and collaborative environment.
License
By contributing to PyFileHandling
, you agree that your contributions will be licensed under the MIT License. Make sure you understand and agree with this before submitting your contributions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyfilehandling-3.2.1.tar.gz
.
File metadata
- Download URL: pyfilehandling-3.2.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0afa44821077949c315867420aa9644805c92c234a10a1e450fa495bbda12c4d |
|
MD5 | caf4746f137d34adc7305f3b17884108 |
|
BLAKE2b-256 | 9abb4474fa9870f1e0f757a0c904e8719ba2ae1d0193ce8e52c43dd4cc4592c2 |
File details
Details for the file pyfilehandling-3.2.1-py3-none-any.whl
.
File metadata
- Download URL: pyfilehandling-3.2.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 630b5c1432f5762ba8ad7f9aecdb9b5e30705ebd5795be0a3612f2202dd2f8b9 |
|
MD5 | 50bf735afeb3e0bff4717268ab02cd18 |
|
BLAKE2b-256 | fd50c77ff034b9d9278ffda49ee1a169537b0a515ca93db7e7eb284bd0756bfd |