Skip to main content

file and folder operation utility packages

Project description

fioo - Python FileIO and folder Opertation utility package

A Helper package for basic file and folder opetions. For example, determine file format(carriage return),Getting a file size, file extension, file delimeter, compare file, etcs.

Installation

Install fioo on your system using: pip

pip install fioo

Usage

import fioo

# example file path: r'C:\Users\username\Desktop\test.txt'
# example folder path: r'C:\Users\username\Desktop'

fioo.fformat(path)  # return 'Window'    -> based on the file return carriage, get file format, set parm check_all=True to check all lines in file.
fioo.is_empty_file(path)  # return True  -> check if giving file is empty
fioo.size(path)  # return '16B'          -> check the size of a file or folder
fioo.deli(path) # return ','             -> get file delimeter
fioo.ext(path) # return '.txt'           -> get file exention, set parm dot=False to remove dot -> 'txt'
fioo.compare(path1,path2) #		 -> note:path1 and path2 are folder path, will produce all diff files with csv format in the folder2 path location


beta, working in progress:
------using FIOO class-----
f = fioo.FIOO()
f.set_file_path(path) # set path
f.fformat       	          -> same as fioo.fformat(path)
f.is_empty_file 	          -> same as fioo.is_empty_file(path)
f.size          	          -> same as fioo.size(path)
f.deli          	          -> same as fioo.deli(path)
f.ext                             -> same as fioo.ext(path)
f.compare(path1,path2)            -> same as fioo.compare(path1,path2)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

fioo-0.4.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file fioo-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: fioo-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for fioo-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf6a631bd34e730dc08aa67cab6ee9719a9a3f16cb4021f390494b2dc90747ee
MD5 8f59665aa178c848bec95ed433f47415
BLAKE2b-256 38b89ea6d83e5f8ad219b2778ff39cdbccb68a59a2ab188f3419788e8990b413

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