Scans files based on input array
Project description
FileScanner Version History
-Future Enhancements
- filtered results based on various methods
- sorted results by various methods.
###Examples
#searches c:\test and all subfolders for .txt files
from FileScanner import Scanner
df = Scanner.scan(fr'c:\test',['txt'],True)
for index,row in df.iterrows():
print(row)
# searches c:\test for all all pb in c:\test only
for index, row in Scanner.scan(path=fr'C:\Users\user\Downloads',file_type_array= ['pb']).iterrows():
print(row)
#Passing keyword arguments
df = Scanner.scan(path=fr'c:\test',
file_type_array=['jpg'],
recursive=True)
df = Scanner.scan(path=fr'C:\Users\user\Downloads',file_type_array=['pb'],recursive=True)
for index, row in df.iterrows():
print(row)
"""
Example returned pandas dataframe row
file C:\Users\user\Downloads\saved_model.pb
file_name saved_model.pb
file_type pb
file_path C:\Users\user\Downloads
file_name_no_ext saved_model
file_size 9263838
file_accessed 2023-09-03 17:49:41.942508
file_modified 2020-08-03 17:15:55
file_created 2023-09-03 17:49:41.942508
Name: 0, dtype: object
"""
###Example return pandas dataframe row
Newest Version: 1.04
- Status: Newest Version
- Description: The latest version, 1.04, is now available. It includes bug fixes and new features.
- Updates and Changes
- Added more data.
- Added file size.
- Added File created,modified, and last accessed date
- Added error handling and input requirements
- path must be valid
- file types must be in array
- recursive flag if passed must be a bool.
Version 1.03
- Status: Updated
- Description: Version 1.03
- First working release
Version 1.02
- Status: Did Not Work
- Description: Similar to version 1.01, this version also faced issues and could not be used.
Version 1.01
- Status: Did Not Work
- Description: This version encountered critical issues and was not functional.
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
Close
Hashes for filescanner-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b9eb591f0af934863d012cb81872b61b24d5f13504215421619b8f775442cac |
|
MD5 | a076b0edb93d4f31dbbf8f8eda68ff8f |
|
BLAKE2b-256 | 5fe8fe2db8ea57ed11a8350d81e5ce1b18d9243e0296a3a0ffb251d66db16586 |