Skip to main content

It creates one files with some data about every files insidea directory (and sub), and a report abotu duplicated files

Project description

WARNING

This project has the same functionality of my project reportFile. So, any other updated of this project is postponed until either the project will be joined.

ListFiles


This application build tow report file, by passing an absolute or relative path:

  • report CSV with all the files inside the directory. The data are: -- path -- name of the file -- dimension in byte -- extension -- date of creation or last update

  • report with all the files and, for every of these, a table with the data of the (probable) duplicates. The data are: -- complete path -- dimsione in byte -- date fo creation of last update

BugFix

Future

  • problem with IndexError, not better identified
  • the name of the printed file has to join to the extension

Next

  • The input arguments have to be validated before the elaboration

Running

  • None

Past

  • fix the run

Features

Future

  • Write a report with some filter in input (e.g. only files with a particural extension, only files after a date etc)
  • Write a report with all the documents or images or video
  • Change the name and url of the Github repository
  • Show the directories with no elements

Next

Running

Past

  • The project is structured for CI in Travis
  • The directory of the source has the same name of the application, not src
  • The directory of the source has the classes with no unit test
  • The classes with unit test are moved inside the module of test (an idea of mine to coupling stronger test and source code)

Status CI Integration

I use Travis Build Status

Getting started

Prerequisites

  • Python 3.0+
  • pip
  • pytest

Installing

  • Clone the project with git-clone (or download directly it)
  • Have fun!

Running the tests

  • I use pytest framework. In the modul inside tests directory, I put also the classes from typical src directory (I prefer to have class and test in the same class).
  • Every unit test is declared inside the class, because for me test and implementation musto go together (highly coupled)

Break down into to end to end tests

No indications

Coding styles sheets

Please read the file CONTRIBUTING.md

Deployment

  • Package in PyPi
  • Run _>>> python Main.py $PATH_OF_ROOT_DIRECTORY

Built with:

  • ViM - one of the best text editor I know
  • pytest - mature and full-featured Python testing tool, more advanced than unittest

Contributing

Please read the Contributing.md for the details about the code of conduct and the process for submitting pull requests.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • --Alessandro Puzielli-- - -creator- - Alepuzio

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

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

report_files-0.2.2-py3-none-any.whl (11.7 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