IshanMi / reverse-image-search-patent

Reverse Image Search for Patents
0 stars 0 forks source link

Package structure #3

Closed bbelderbos closed 3 years ago

bbelderbos commented 3 years ago

I would structure it as per recommendation: https://docs.python-guide.org/writing/structure/

So in your case:

$ tree -I venv
.
├── README.md
├── app.py
├── src
│   ├── patent_fetcher.py
│   ├── static
│   │   └── css
│   │       └── style.css
│   └── templates
│       ├── background.html
│       └── form.html
├── tests
└── user_queries.txt

5 directories, 7 files

If your project grows you can break out the scraping from the web code grouping those scripts into more folders / packages, but I am happy to have it all under src/ for now.

IshanMi commented 3 years ago

I made the changes and read through the link, thanks Bob!

bbelderbos commented 3 years ago

ok awesome