Skip to main content

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

Release files for report-files 0.2.2

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 report-files 0.2.2
File Interpreter ABI Platform
report_files-0.2.2-py3-none-any.whl Python 3 none any Details

Release files / report_files-0.2.2-py3-none-any.whl

Download URL report_files-0.2.2-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22a03509f50efc388482fe7aee41ef9e7d090c0bf309ed6a94cf8cf521ac37a7
BLAKE2b-256 checksum
How to use checksums
86cdb88d51f6728d0ae7cef27734f01bf7cac3f58e2a00cc40b13146f76d28e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.1.0

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