Skip to main content

A Python package for file manipulation operations.

Project description

PyFileHandling - Streamlining Pythonic File Operations

Run-Tests Publish Package To PyPi

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


Download files

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

Source Distribution

pyfilehandling-3.2.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

pyfilehandling-3.2.1-py3-none-any.whl (6.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