neokd / DataStorehouse

DataStoreHouse is an open-source project that aims to create a collaborative platform for gathering and sharing a wide variety of datasets. It provides a centralised repository where individuals and organisations can contribute, discover, and collaborate on diverse datasets for various domains.
https://datash.vercel.app
MIT License
18 stars 22 forks source link

Validation improvements #105

Open Bchass opened 1 year ago

Bchass commented 1 year ago

Description

Cleaned up the code to make it more readable and minimized some of the repetitiveness that existed. Renamed the file from Main.py to validate.py. This also includes the ability for the terminal to ask which file you would like to analyze and then automatically opens the report generated.

Related Issues

N/A

Changes Made

Screenshots (if applicable)

Screenshot 2023-10-01 at 7 29 04 PM

Checklist

Please review and check the following before submitting your pull request:

Additional Notes

N/A

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @neokd on Vercel.

@neokd first needs to authorize it.

Bchass commented 1 year ago

Screenshot 2023-10-01 at 8 23 32 PM

Gave it more of a pleasant looking prompt

neokd commented 1 year ago

@Bchass is this under hacktoberfest?

Gladwin001 commented 1 year ago

@Bchass appreciation for your work, can you modify your code that user can give their own directory path so that they can run this code on any dataset.

Bchass commented 1 year ago

@Bchass is this under hacktoberfest?

Not originally when I first started on these changes. But now I can see a new issue open regarding data validation.

neokd commented 1 year ago

Yeah that's regarding generation of an entire report like format for each dataset.we'll slowly develop more on that issue into chunks so can work with any type of dataset

Bchass commented 1 year ago

@Bchass appreciation for your work, can you modify your code that user can give their own directory path so that they can run this code on any dataset.

Added the requested functionality

Bchass commented 1 year ago

For printing the data store house we can use a existing python pip package which does this for us.

Package name?

VigneshRamanathan101 commented 1 year ago

For printing the data store house we can use a existing python pip package which does this for us.

Package name?

There are multiple terminal enhancement packages. https://pypi.org/project/art/ - this will help you create a similar visualization you implemented using print.

few other I got from search https://github.com/Textualize/rich/tree/master#rich-library https://pypi.org/project/simple-term-menu/

neokd commented 1 year ago

@Gladwin001 , @Bchass anything more to add on this PR?

Bchass commented 1 year ago

I'm all set on my end

neokd commented 1 year ago

@Bchass Thanks for all your contribution 🥇 🌟