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

Uploaded Python 3

File details

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

File metadata

  • Download URL: filehandler6027-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9317a8ce5815496d11ab081572e7c6ff111a4e308cb0f5191039d45f06406044
MD5 2c9d8608cc69ddd90f0b88eede71dd35
BLAKE2b-256 e72570b1cefec2ea0f631815b9378aef5944cbe077a2190ee3b3c0c2445eb9ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for filehandler6027-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61b61c45b3245fdf70ead3d2457d764b3ccc3d3fde9845f1c194d38be0e76622
MD5 21a0d30e36172d01040fb3314b843680
BLAKE2b-256 acfbac8d9e709fa4995f21d592022d37cb56398df6f502697582390f9de02b43

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