Skip to main content

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

Release files for fioo 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for fioo 0.4.1
File Interpreter ABI Platform
fioo-0.4.1-py3-none-any.whl Python 3 none any Details

Release files / fioo-0.4.1-py3-none-any.whl

Download URL fioo-0.4.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf6a631bd34e730dc08aa67cab6ee9719a9a3f16cb4021f390494b2dc90747ee
BLAKE2b-256 checksum
How to use checksums
38b89ea6d83e5f8ad219b2778ff39cdbccb68a59a2ab188f3419788e8990b413
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.4.1 This release

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page