Skip to main content

A simple and useful package for File Handling

Project description

Package for File Handling

[DOCUMENTATION](https://filehandling.netlify.app/docs.html)

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

It lets to handle files easliy, whether is JSON, a image, text file and etc.

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

ImageHandler

from EasyFileHandling.imagehandler import ImageHandler
x = ImageHandler('nice.jpg')
x.filter_image('blur') # it will make a imagehandlerimages folder with this file in it.
x.draw_text(100, 50, "Hello World",50, rgb=(0, 0, 0), font="arial.ttf") # rgb and font are default params.

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.5.1.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

EasyFileHandling-1.5.1-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

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