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-1.1.1.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-1.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: filehandler6027-1.1.1.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-1.1.1.tar.gz
Algorithm Hash digest
SHA256 f24d4451cdba01e94af613b7a0384b39a03991f2cc69a2d4a38ebbc3f5666c04
MD5 8e1051737889272009ab1421a18e21c1
BLAKE2b-256 2a1100130d3c8420d62fd2f44f9ff1601bb23ff4f0f5b4ea569c0bd14305e752

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for filehandler6027-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 327cf7ef0a0b18032f00da52f248aa348225ddb91b164ae1c387716137062aa8
MD5 38debd3085638ec54519f1547d07620e
BLAKE2b-256 3c4db030f270ba47d5fc259fe39ead65e3ba5ef25aa530776115ab30ae1887ce

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