This release is a pre-release and may not be stable for production use.
Welcome to InnoCleaner
This is a Cleaning & File Sorting Utility which is developed by me as a submission for Innovaccer HackerCamp 18 under the assignment titled Infrastructure Engineering Assignment.
The problem statement for the implemented project is: Infrastructure Engineering Assignment
Installation
To install run the command: pip install InnoCleaner
To Execute:
- In normal user mode:
Command: InnoCleaner
- -With super-user privileges:
-Command: sudo InnoCleaner
Requirements
Unix Platform
Python Installation with version >= 2.7
Required Functionality
Scan the specified path in the file system to display top 10 largest sized files.
Move the files on Desktop based on extension and save them in Documents folder clubbed in folders according to extension.
Now let us describe what InnoCleaner is:
InnoCleaner is a UNIX based CLI cleaner utility that gives the user a tool to perform disk cleanup and related capabilities.
Functionality Implemented
Scan and Save Space : Given the path and number of files to list, it can recursively scan the path to display the largest sized files(Further operations include):
Delete file(s):
For this choose the corresponding option and specify the file(s) (space separated if multiple)
Compressing file(s):
Similar to compression, specify the file(s) (space separated if multiple)
Stats about the amount of space saved are then displayed.
Sorting : Given the path of a source and destination, the files in source folder are sorted according to extension and saved folder-wise in the destination location
Duplicity : Given a path, InnoCleaner recursively scans the path for detecting duplicate files.
Cleanup : On selecting the Cleanup Option, the temp files are cleaned.
Usage Guidelines
After displaying the scanned files, when you choose the options to delete/compress, again the list of files will be displayed from which you can choose the files to perform the required action on.
If using python < 3, specify the path to directories and space separated options in double quotes e.g. (“/home/user_name/” & “1 2 3”).
For cleaning temp files run the program in Super User mode, because normal user does not have permission to access /tmp folder.
Future Improvements
No project is complete without a list of improvements & InnoCleaner is no exception. The list of improvements can be never ending:
Right now the module is tested only for UNIX environments. Test and make the module cross-platform compatible.
Separate compression algorithms work better with different types of files. So have a list of compression algorithms corresponding to the file extension and by checking the file extension, use the best possible to save most space.
Just detecting duplicate files isn’t of much use. So provide option to clean the duplicate files too. Since a lot of files may be duplicated, first display only limited number of files, ask for any deletion and then proceed further. Also, provide an option to clean all duplicate files (if the user does not want to select explicitly).
Detection of obsolete files : Based on the modified dates, obsolete files may be displayed to be cleaned up or compressed.
-Contact: In case of any query you can always contact me at kushagra.gupta@students.iiit.ac.in and I will be happy to help.
Happy Coding!
Developer Kushagra Gupta, IIIT Hyderabad, Bakul Nivas, Gachibowli Hyderabad - 500032 Telangana, India
Metadata
Release files for InnoCleaner 1.0.17.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| InnoCleaner-1.0.17.dev1.tar.gz | 8.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| InnoCleaner-1.0.17.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.0 kB
Release files / InnoCleaner-1.0.17.dev1.tar.gz
| Download URL | InnoCleaner-1.0.17.dev1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
788ce57e069587712c62e2a53db972f64e67567b3de1312b8300b7df78336c5b
|
|
BLAKE2b-256 checksum How to use checksums |
d10f733aa98ec8548696d06f81623bf693284a2f4f47c0de6e9b7f31367401b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / InnoCleaner-1.0.17.dev1-py3-none-any.whl
| Download URL | InnoCleaner-1.0.17.dev1-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
510dbd9ec2683ea0f157b6578c6ba462b2d7ee8bbad745cc01593415182342b9
|
|
BLAKE2b-256 checksum How to use checksums |
f4c383b7c1a69236d0152b3199ed7337ab2f4ceaeeb61062d473839272ff4ac6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for InnoCleaner 1.0.17.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.