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.0.tar.gz (4.5 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.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: filehandler6027-1.1.0.tar.gz
  • Upload date:
  • Size: 4.5 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.0.tar.gz
Algorithm Hash digest
SHA256 0bd324e51ada96b190b886e1f6f9046c9105f2b9147e50473bcf414689e6cdfc
MD5 57b1398924f5007c511b0ddf24fcbca1
BLAKE2b-256 c7a90aae3de6df3486eb130904234bce9cf6bf950505d16c3f0638fba29f9c79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for filehandler6027-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 801c69a302839747bbbfc01fb48051fdddb051137aa5efe1974a4911e63157a5
MD5 97c80fa184c22ebd5252e148b77c088f
BLAKE2b-256 80de58995bc8c0df1a596a1b88f5927d57fd78d2a19615293487fe7e58ef746e

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