Truly Simple File Operations for Python
Project description
ezfiles: Truly Simple File Operations
A beginner-friendly Python library that simplifies common file operations.
Features
- Universal Read/Write: One function to read any file format
- Format Conversion: Convert between file formats with one line of code
- Easy File Search: Find files matching patterns without complex syntax
- File Information: Get file metadata quickly and easily
Installation
pip install ezfiles
Quick Start
import ezfiles
# Read any file (auto-detects format)
data = ezfiles.read("myfile.csv") # Works for .txt, .csv, .json, .xlsx, etc.
# Write data to any format
ezfiles.write(data, "output.json") # Same function for all formats
# Convert between formats
ezfiles.convert("data.json", "data.csv")
# Find files easily
files = ezfiles.find("*.txt") # Find all text files in current directory
more_files = ezfiles.find("*.csv", "/path/to/data", recursive=True) # Search recursively
# Get file information
info = ezfiles.info("myfile.csv")
print(f"File size: {info['size_mb']} MB")
print(f"Last modified: {info['modified']}")
Supported File Formats
- CSV files (.csv)
- Excel files (.xlsx, .xls)
- JSON files (.json)
- YAML files (.yaml, .yml)
- Text files (.txt and others)
Requirements
- Python 3.6+
- pandas
- openpyxl
- pyyaml
License
MIT License
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
ezyfiles-0.1.0.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ezyfiles-0.1.0.tar.gz.
File metadata
- Download URL: ezyfiles-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12c49f560298b699f49ab5b969e229a607488915f8a6f1f4e92bcc83e2fd3549
|
|
| MD5 |
b1f605bf4c29c8490feab1e8f7954fa5
|
|
| BLAKE2b-256 |
294b9fcd8247e48b1fa1879b6617d0ba67d7b8cb7480a7fc96dd6fe6666c8aed
|
File details
Details for the file ezyfiles-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ezyfiles-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b84b34b3023f906cfb7ff0478d865e095fc64c6f13f25fdfba8834ec2e500e5
|
|
| MD5 |
9b2de15858cd4774078fd3f049f6b0d5
|
|
| BLAKE2b-256 |
5e2cc39bcd1ecfbcc858da5bceb843d7958942c566473e5052cebf3221b602c8
|