Skip to main content

A simple cross-platform file handling utility

Project description

🎉 filehandler6027

PyPI version License

A lightweight Python package to handle file operations (traditional and modern) in a platform-independent way.


📖 Table of Contents


✅ Features

  • Clean file path builder using ~
  • JSON-style data handling
  • Traditional and modern mode support

🚀 Demo

python examples/demo_celebration_output.py

## 📸 Example Output

Here’s what it looks like when running `FileHandler` in both modes:

![Terminal demo output](docs/img/docs/img/fh_screenshot_dmo.png)


## ➕ Append Example

```python
from filehandler import FileHandler, FileHandleMode

fh = FileHandler(FileHandleMode.Modern)

fh.append('~/Documents/logfile.txt', {'event': 'login', 'user': 'charlie'})
fh.append('~/Documents/logfile.txt', "raw string log entry")

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

filehandler6027-0.2.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filehandler6027-0.2.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file filehandler6027-0.2.0.tar.gz.

File metadata

  • Download URL: filehandler6027-0.2.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for filehandler6027-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f2275a0134b7d5d7a22f17dedd5be11b5aa588680f50c5114ffcca80aca201ca
MD5 bc4c40822bd4b8609ee12b28c29a728c
BLAKE2b-256 908569b8b6787e808c0c8b72d344fea5e6d42fc76f86e9f9f5b0aca720056425

See more details on using hashes here.

File details

Details for the file filehandler6027-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for filehandler6027-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca8cfcacdf91cff9fa719bf84efd1578d1e8b7440efe29e737c64644bc4a6fe
MD5 16481708bb3e55b51dd05af5b28d0928
BLAKE2b-256 263afd00845f89e9ba4630a7c4217c4ac1d4a2feac8b2e27ebfd10fa7dcd70ca

See more details on using hashes here.

Supported by

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