Skip to main content

A simple and useful package for File Handling

Project description

Package for File Handling

Getting started

from EasyFileHandling.main import FileHandler

x = FileHandler('test.py', 'py')

print(x.get_file_content()) # This will print file content.

Whats so special about package

*This lets you use os module easily not all features but some of them.

BETA

Howdy all, we have decided to add AsyncFileHandler for asynchronous python codes. Now you can do all those append, write and read asynchronouly. REMEMBER THIS IS A BETA

How do I use it?

Simply import this and get started.

from EasyFileHandling.beta.main import AsyncFileHandler

Whats New?

Howdy, new version 1.4.0 just dropped. You all be thinking whats new byte and json support added. We have also added type hints. Let me show you a example how json handler works

JsonHandler

from EasyFileHandling.main import JsonHandler
my_obj = [
    {'Sad': 100}
]
x = JsonHandler('sad.json')
x.write_to_json(obj)

If you are having any issues let us know Here.

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

EasyFileHandling-1.4.6.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

EasyFileHandling-1.4.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file EasyFileHandling-1.4.6.tar.gz.

File metadata

  • Download URL: EasyFileHandling-1.4.6.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for EasyFileHandling-1.4.6.tar.gz
Algorithm Hash digest
SHA256 7178a55973bc642beae45a940244407c62b3abc006a0c0fbf356cac39ae3b09d
MD5 5b09191580c5589789f6e91056d066c7
BLAKE2b-256 57d88aea3b8b504b498a0809349ee60b90196bb8d46d20c3d55f16bd502fbc7d

See more details on using hashes here.

File details

Details for the file EasyFileHandling-1.4.6-py3-none-any.whl.

File metadata

  • Download URL: EasyFileHandling-1.4.6-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for EasyFileHandling-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e4dbc00ce9ba1aa3891fe76f1ba6fac3f5aaa9d5b695fcd43047a7a8c7480d1d
MD5 600650b556a7533306be96e309b8c166
BLAKE2b-256 925fc5da7734b273a1b2358e92a028daf7c637c185df355954944e114a5a8bc4

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