Metadata-Version: 2.1
Name: subitokit
Version: 0.1.0
Summary: Python module searcher for subito.it
Author: LucaSforza
Author-email: lucasforza1234@icloud.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: bs4 (>=0.0.1,<0.0.2)
Requires-Dist: requests (>=2.28.2,<3.0.0)
Description-Content-Type: text/markdown

# Module version of subito-it-searcher

BeautifulSoup scraper running queries on a popular italian ad website.
This module is compatible with Python 3.x versions.

Subitokit module allows you to create queries within the popular italian site subito.it,
filter the results and easily manipulate them with pythone code.

## Example
```py
from subitokit import *

name = 'Ryzen 5 5600x'
min_price = '100'
max_price = '130'

query = run_query(name,min_price,max_price)
query.sort() #if key not specified it sort by price

print(query)

#.refresh() is used to reload the query, update it and return extra products (if there are)
new_prods=query.refresh()

print('Refreshed query:')
for prod in query:
    print(prod)

```
## Installation

Install subitokit with pip
```
pip install subitokit
```
After that you can use this package in all projects where you might need it.

