mirror of
https://github.com/Bunsly/HomeHarvest.git
synced 2026-03-05 12:04:31 -08:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93a1cbe17f | ||
|
|
49d27943c4 | ||
|
|
05fca9b7e6 | ||
|
|
20ce44fb3a | ||
|
|
52017c1bb5 | ||
|
|
dba1c03081 | ||
|
|
1fc2d8c549 | ||
|
|
02d112eea0 | ||
|
|
30e510882b | ||
|
|
78b56c2cac | ||
|
|
087854a688 | ||
|
|
80586467a8 | ||
|
|
3494b152b8 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -3,4 +3,5 @@
|
|||||||
**/__pycache__/
|
**/__pycache__/
|
||||||
**/.pytest_cache/
|
**/.pytest_cache/
|
||||||
*.pyc
|
*.pyc
|
||||||
/.ipynb_checkpoints/
|
/.ipynb_checkpoints/
|
||||||
|
*.csv
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
" location=\"2530 Al Lipscomb Way\",\n",
|
" location=\"2530 Al Lipscomb Way\",\n",
|
||||||
" site_name=\"zillow\",\n",
|
" site_name=\"zillow\",\n",
|
||||||
" listing_type=\"for_sale\"\n",
|
" listing_type=\"for_sale\"\n",
|
||||||
"),"
|
")"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
48
README.md
48
README.md
@@ -9,17 +9,35 @@
|
|||||||
|
|
||||||
- Scrapes properties from **Zillow**, **Realtor.com** & **Redfin** simultaneously
|
- Scrapes properties from **Zillow**, **Realtor.com** & **Redfin** simultaneously
|
||||||
- Aggregates the properties in a Pandas DataFrame
|
- Aggregates the properties in a Pandas DataFrame
|
||||||
|
|
||||||
|
[Video Guide for HomeHarvest](https://www.youtube.com/watch?v=HCoHoiJdWQY)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install --upgrade homeharvest
|
pip install --force-reinstall homeharvest
|
||||||
```
|
```
|
||||||
_Python version >= [3.10](https://www.python.org/downloads/release/python-3100/) required_
|
_Python version >= [3.10](https://www.python.org/downloads/release/python-3100/) required_
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
### CLI
|
||||||
|
|
||||||
|
```bash
|
||||||
|
homeharvest "San Francisco, CA" --site_name zillow realtor.com redfin --listing_type for_rent --output excel --filename HomeHarvest
|
||||||
|
```
|
||||||
|
|
||||||
|
This will scrape properties from the specified sites for the given location and listing type, and save the results to an Excel file named `HomeHarvest.xlsx`.
|
||||||
|
|
||||||
|
By default:
|
||||||
|
- If `--site_name` is not provided, it will scrape from all available sites.
|
||||||
|
- If `--listing_type` is left blank, the default is `for_sale`, other options are `for_rent` or `sold`.
|
||||||
|
- The `--output` default format is `excel`, options are `csv` or `excel`.
|
||||||
|
- If `--filename` is left blank, the default is `HomeHarvest_<current_timestamp>`
|
||||||
|
|
||||||
|
### Python
|
||||||
```py
|
```py
|
||||||
from homeharvest import scrape_property
|
from homeharvest import scrape_property
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
@@ -33,16 +51,17 @@ properties: pd.DataFrame = scrape_property(
|
|||||||
#: Note, to export to CSV or Excel, use properties.to_csv() or properties.to_excel().
|
#: Note, to export to CSV or Excel, use properties.to_csv() or properties.to_excel().
|
||||||
print(properties)
|
print(properties)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Output
|
## Output
|
||||||
```py
|
```py
|
||||||
>>> properties.head()
|
>>> properties.head()
|
||||||
street city ... mls_id description
|
property_url site_name listing_type apt_min_price apt_max_price ...
|
||||||
0 420 N Scottsdale Rd Tempe ... NaN NaN
|
0 https://www.redfin.com/AZ/Tempe/1003-W-Washing... redfin for_rent 1666.0 2750.0 ...
|
||||||
1 1255 E University Dr Tempe ... NaN NaN
|
1 https://www.redfin.com/AZ/Tempe/VELA-at-Town-L... redfin for_rent 1665.0 3763.0 ...
|
||||||
2 1979 E Rio Salado Pkwy Tempe ... NaN NaN
|
2 https://www.redfin.com/AZ/Tempe/Camden-Tempe/a... redfin for_rent 1939.0 3109.0 ...
|
||||||
3 548 S Wilson St Tempe ... None None
|
3 https://www.redfin.com/AZ/Tempe/Emerson-Park/a... redfin for_rent 1185.0 1817.0 ...
|
||||||
4 945 E Playa Del Norte Dr Unit 4027 Tempe ... NaN NaN
|
4 https://www.redfin.com/AZ/Tempe/Rio-Paradiso-A... redfin for_rent 1470.0 2235.0 ...
|
||||||
[5 rows x 23 columns]
|
[5 rows x 41 columns]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Parameters for `scrape_properties()`
|
### Parameters for `scrape_properties()`
|
||||||
@@ -102,7 +121,14 @@ Property
|
|||||||
│ └── bldg_min_area (int)
|
│ └── bldg_min_area (int)
|
||||||
|
|
||||||
└── Apartment Details (for property type: apartment):
|
└── Apartment Details (for property type: apartment):
|
||||||
└── apt_min_price (int)
|
├── apt_min_beds: int
|
||||||
|
├── apt_max_beds: int
|
||||||
|
├── apt_min_baths: float
|
||||||
|
├── apt_max_baths: float
|
||||||
|
├── apt_min_price: int
|
||||||
|
├── apt_max_price: int
|
||||||
|
├── apt_min_sqft: int
|
||||||
|
├── apt_max_sqft: int
|
||||||
```
|
```
|
||||||
## Supported Countries for Property Scraping
|
## Supported Countries for Property Scraping
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,13 @@ def get_ordered_properties(result: Property) -> list[str]:
|
|||||||
"currency",
|
"currency",
|
||||||
"price",
|
"price",
|
||||||
"apt_min_price",
|
"apt_min_price",
|
||||||
|
"apt_max_price",
|
||||||
|
"apt_min_sqft",
|
||||||
|
"apt_max_sqft",
|
||||||
|
"apt_min_beds",
|
||||||
|
"apt_max_beds",
|
||||||
|
"apt_min_baths",
|
||||||
|
"apt_max_baths",
|
||||||
"tax_assessed_value",
|
"tax_assessed_value",
|
||||||
"square_feet",
|
"square_feet",
|
||||||
"price_per_sqft",
|
"price_per_sqft",
|
||||||
@@ -61,10 +68,10 @@ def get_ordered_properties(result: Property) -> list[str]:
|
|||||||
"year_built",
|
"year_built",
|
||||||
"agent_name",
|
"agent_name",
|
||||||
"mls_id",
|
"mls_id",
|
||||||
"description",
|
|
||||||
"img_src",
|
"img_src",
|
||||||
"latitude",
|
"latitude",
|
||||||
"longitude",
|
"longitude",
|
||||||
|
"description",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
57
homeharvest/cli.py
Normal file
57
homeharvest/cli.py
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
import argparse
|
||||||
|
import datetime
|
||||||
|
from homeharvest import scrape_property
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
parser = argparse.ArgumentParser(description="Home Harvest Property Scraper")
|
||||||
|
parser.add_argument(
|
||||||
|
"location", type=str, help="Location to scrape (e.g., San Francisco, CA)"
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"--site_name",
|
||||||
|
type=str,
|
||||||
|
nargs="*",
|
||||||
|
default=None,
|
||||||
|
help="Site name(s) to scrape from (e.g., realtor.com zillow)",
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"--listing_type",
|
||||||
|
type=str,
|
||||||
|
default="for_sale",
|
||||||
|
choices=["for_sale", "for_rent", "sold"],
|
||||||
|
help="Listing type to scrape",
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"--output",
|
||||||
|
type=str,
|
||||||
|
default="excel",
|
||||||
|
choices=["excel", "csv"],
|
||||||
|
help="Output format",
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"--filename",
|
||||||
|
type=str,
|
||||||
|
default=None,
|
||||||
|
help="Name of the output file (without extension)",
|
||||||
|
)
|
||||||
|
|
||||||
|
args = parser.parse_args()
|
||||||
|
result = scrape_property(args.location, args.site_name, args.listing_type)
|
||||||
|
|
||||||
|
if not args.filename:
|
||||||
|
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
||||||
|
args.filename = f"HomeHarvest_{timestamp}"
|
||||||
|
|
||||||
|
if args.output == "excel":
|
||||||
|
output_filename = f"{args.filename}.xlsx"
|
||||||
|
result.to_excel(output_filename, index=False)
|
||||||
|
print(f"Excel file saved as {output_filename}")
|
||||||
|
elif args.output == "csv":
|
||||||
|
output_filename = f"{args.filename}.csv"
|
||||||
|
result.to_csv(output_filename, index=False)
|
||||||
|
print(f"CSV file saved as {output_filename}")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@@ -102,4 +102,11 @@ class Property:
|
|||||||
bldg_min_area: int | None = None
|
bldg_min_area: int | None = None
|
||||||
|
|
||||||
# apt
|
# apt
|
||||||
|
apt_min_beds: int | None = None
|
||||||
|
apt_max_beds: int | None = None
|
||||||
|
apt_min_baths: float | None = None
|
||||||
|
apt_max_baths: float | None = None
|
||||||
apt_min_price: int | None = None
|
apt_min_price: int | None = None
|
||||||
|
apt_max_price: int | None = None
|
||||||
|
apt_min_sqft: int | None = None
|
||||||
|
apt_max_sqft: int | None = None
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import json
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
from .. import Scraper
|
from .. import Scraper
|
||||||
from ....utils import parse_address_two, parse_unit
|
from ....utils import parse_address_two, parse_unit
|
||||||
from ..models import Property, Address, PropertyType
|
from ..models import Property, Address, PropertyType, ListingType, SiteName
|
||||||
from ....exceptions import NoResultsFound
|
from ....exceptions import NoResultsFound
|
||||||
|
|
||||||
|
|
||||||
@@ -108,6 +108,64 @@ class RedfinScraper(Scraper):
|
|||||||
else None,
|
else None,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def _handle_rentals(self, region_id, region_type):
|
||||||
|
url = f"https://www.redfin.com/stingray/api/v1/search/rentals?al=1&isRentals=true®ion_id={region_id}®ion_type={region_type}&num_homes=100000"
|
||||||
|
|
||||||
|
response = self.session.get(url)
|
||||||
|
response.raise_for_status()
|
||||||
|
homes = response.json()
|
||||||
|
|
||||||
|
properties_list = []
|
||||||
|
|
||||||
|
for home in homes["homes"]:
|
||||||
|
home_data = home["homeData"]
|
||||||
|
rental_data = home["rentalExtension"]
|
||||||
|
|
||||||
|
property_url = f"https://www.redfin.com{home_data.get('url', '')}"
|
||||||
|
address_info = home_data.get("addressInfo", {})
|
||||||
|
centroid = address_info.get("centroid", {}).get("centroid", {})
|
||||||
|
address = Address(
|
||||||
|
street_address=address_info.get("formattedStreetLine", None),
|
||||||
|
city=address_info.get("city", None),
|
||||||
|
state=address_info.get("state", None),
|
||||||
|
zip_code=address_info.get("zip", None),
|
||||||
|
unit=None,
|
||||||
|
country="US" if address_info.get("countryCode", None) == 1 else None,
|
||||||
|
)
|
||||||
|
|
||||||
|
price_range = rental_data.get("rentPriceRange", {"min": None, "max": None})
|
||||||
|
bed_range = rental_data.get("bedRange", {"min": None, "max": None})
|
||||||
|
bath_range = rental_data.get("bathRange", {"min": None, "max": None})
|
||||||
|
sqft_range = rental_data.get("sqftRange", {"min": None, "max": None})
|
||||||
|
|
||||||
|
property_ = Property(
|
||||||
|
property_url=property_url,
|
||||||
|
site_name=SiteName.REDFIN,
|
||||||
|
listing_type=ListingType.FOR_RENT,
|
||||||
|
address=address,
|
||||||
|
apt_min_beds=bed_range.get("min", None),
|
||||||
|
apt_min_baths=bath_range.get("min", None),
|
||||||
|
apt_max_beds=bed_range.get("max", None),
|
||||||
|
apt_max_baths=bath_range.get("max", None),
|
||||||
|
description=rental_data.get("description", None),
|
||||||
|
latitude=centroid.get("latitude", None),
|
||||||
|
longitude=centroid.get("longitude", None),
|
||||||
|
apt_min_price=price_range.get("min", None),
|
||||||
|
apt_max_price=price_range.get("max", None),
|
||||||
|
apt_min_sqft=sqft_range.get("min", None),
|
||||||
|
apt_max_sqft=sqft_range.get("max", None),
|
||||||
|
img_src=home_data.get("staticMapUrl", None),
|
||||||
|
posted_time=rental_data.get("lastUpdated", None),
|
||||||
|
bldg_name=rental_data.get("propertyName", None),
|
||||||
|
)
|
||||||
|
|
||||||
|
properties_list.append(property_)
|
||||||
|
|
||||||
|
if not properties_list:
|
||||||
|
raise NoResultsFound("No rentals found for the given location.")
|
||||||
|
|
||||||
|
return properties_list
|
||||||
|
|
||||||
def _parse_building(self, building: dict) -> Property:
|
def _parse_building(self, building: dict) -> Property:
|
||||||
street_address = " ".join(
|
street_address = " ".join(
|
||||||
[
|
[
|
||||||
@@ -168,18 +226,19 @@ class RedfinScraper(Scraper):
|
|||||||
home_id = region_id
|
home_id = region_id
|
||||||
return self.handle_address(home_id)
|
return self.handle_address(home_id)
|
||||||
|
|
||||||
url = "https://www.redfin.com/stingray/api/gis?al=1®ion_id={}®ion_type={}".format(
|
if self.listing_type == ListingType.FOR_RENT:
|
||||||
region_id, region_type
|
return self._handle_rentals(region_id, region_type)
|
||||||
)
|
else:
|
||||||
|
if self.listing_type == ListingType.FOR_SALE:
|
||||||
response = self.session.get(url)
|
url = f"https://www.redfin.com/stingray/api/gis?al=1®ion_id={region_id}®ion_type={region_type}&num_homes=100000"
|
||||||
response_json = json.loads(response.text.replace("{}&&", ""))
|
else:
|
||||||
|
url = f"https://www.redfin.com/stingray/api/gis?al=1®ion_id={region_id}®ion_type={region_type}&sold_within_days=30&num_homes=100000"
|
||||||
homes = [
|
response = self.session.get(url)
|
||||||
self._parse_home(home) for home in response_json["payload"]["homes"]
|
response_json = json.loads(response.text.replace("{}&&", ""))
|
||||||
] + [
|
homes = [
|
||||||
self._parse_building(building)
|
self._parse_home(home) for home in response_json["payload"]["homes"]
|
||||||
for building in response_json["payload"]["buildings"].values()
|
] + [
|
||||||
]
|
self._parse_building(building)
|
||||||
|
for building in response_json["payload"]["buildings"].values()
|
||||||
return homes
|
]
|
||||||
|
return homes
|
||||||
|
|||||||
@@ -10,9 +10,10 @@ from ..models import Property, Address, ListingType, PropertyType
|
|||||||
class ZillowScraper(Scraper):
|
class ZillowScraper(Scraper):
|
||||||
def __init__(self, scraper_input):
|
def __init__(self, scraper_input):
|
||||||
super().__init__(scraper_input)
|
super().__init__(scraper_input)
|
||||||
self.listing_type = scraper_input.listing_type
|
|
||||||
if not self.is_plausible_location(self.location):
|
if not self.is_plausible_location(self.location):
|
||||||
raise NoResultsFound("Invalid location input: {}".format(self.location))
|
raise NoResultsFound("Invalid location input: {}".format(self.location))
|
||||||
|
|
||||||
if self.listing_type == ListingType.FOR_SALE:
|
if self.listing_type == ListingType.FOR_SALE:
|
||||||
self.url = f"https://www.zillow.com/homes/for_sale/{self.location}_rb/"
|
self.url = f"https://www.zillow.com/homes/for_sale/{self.location}_rb/"
|
||||||
elif self.listing_type == ListingType.FOR_RENT:
|
elif self.listing_type == ListingType.FOR_RENT:
|
||||||
@@ -20,17 +21,15 @@ class ZillowScraper(Scraper):
|
|||||||
else:
|
else:
|
||||||
self.url = f"https://www.zillow.com/homes/recently_sold/{self.location}_rb/"
|
self.url = f"https://www.zillow.com/homes/recently_sold/{self.location}_rb/"
|
||||||
|
|
||||||
@staticmethod
|
def is_plausible_location(self, location: str) -> bool:
|
||||||
def is_plausible_location(location: str) -> bool:
|
url = (
|
||||||
blocks = location.split()
|
"https://www.zillowstatic.com/autocomplete/v3/suggestions?q={"
|
||||||
for block in blocks:
|
"}&abKey=6666272a-4b99-474c-b857-110ec438732b&clientId=homepage-render"
|
||||||
if (
|
).format(location)
|
||||||
any(char.isdigit() for char in block)
|
|
||||||
and any(char.isalpha() for char in block)
|
response = self.session.get(url)
|
||||||
and len(block) > 6
|
|
||||||
):
|
return response.json()["results"] != []
|
||||||
return False
|
|
||||||
return True
|
|
||||||
|
|
||||||
def search(self):
|
def search(self):
|
||||||
resp = self.session.get(self.url, headers=self._get_headers())
|
resp = self.session.get(self.url, headers=self._get_headers())
|
||||||
@@ -189,7 +188,9 @@ class ZillowScraper(Scraper):
|
|||||||
else None,
|
else None,
|
||||||
"img_src": result.get("imgSrc"),
|
"img_src": result.get("imgSrc"),
|
||||||
"price_per_sqft": int(home_info["price"] // home_info["livingArea"])
|
"price_per_sqft": int(home_info["price"] // home_info["livingArea"])
|
||||||
if "livingArea" in home_info and "price" in home_info
|
if "livingArea" in home_info
|
||||||
|
and home_info["livingArea"] != 0
|
||||||
|
and "price" in home_info
|
||||||
else None,
|
else None,
|
||||||
}
|
}
|
||||||
property_obj = Property(**property_data)
|
property_obj = Property(**property_data)
|
||||||
|
|||||||
27
poetry.lock
generated
27
poetry.lock
generated
@@ -106,6 +106,17 @@ files = [
|
|||||||
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "et-xmlfile"
|
||||||
|
version = "1.1.0"
|
||||||
|
description = "An implementation of lxml.xmlfile for the standard library"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.6"
|
||||||
|
files = [
|
||||||
|
{file = "et_xmlfile-1.1.0-py3-none-any.whl", hash = "sha256:a2ba85d1d6a74ef63837eed693bcb89c3f752169b0e3e7ae5b16ca5e1b3deada"},
|
||||||
|
{file = "et_xmlfile-1.1.0.tar.gz", hash = "sha256:8eb9e2bc2f8c97e37a2dc85a09ecdcdec9d8a396530a6d5a33b30b9a92da0c5c"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "exceptiongroup"
|
name = "exceptiongroup"
|
||||||
version = "1.1.3"
|
version = "1.1.3"
|
||||||
@@ -217,6 +228,20 @@ files = [
|
|||||||
{file = "numpy-1.26.0.tar.gz", hash = "sha256:f93fc78fe8bf15afe2b8d6b6499f1c73953169fad1e9a8dd086cdff3190e7fdf"},
|
{file = "numpy-1.26.0.tar.gz", hash = "sha256:f93fc78fe8bf15afe2b8d6b6499f1c73953169fad1e9a8dd086cdff3190e7fdf"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "openpyxl"
|
||||||
|
version = "3.1.2"
|
||||||
|
description = "A Python library to read/write Excel 2010 xlsx/xlsm files"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.6"
|
||||||
|
files = [
|
||||||
|
{file = "openpyxl-3.1.2-py2.py3-none-any.whl", hash = "sha256:f91456ead12ab3c6c2e9491cf33ba6d08357d802192379bb482f1033ade496f5"},
|
||||||
|
{file = "openpyxl-3.1.2.tar.gz", hash = "sha256:a6f5977418eff3b2d5500d54d9db50c8277a368436f4e4f8ddb1be3422870184"},
|
||||||
|
]
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
et-xmlfile = "*"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "packaging"
|
name = "packaging"
|
||||||
version = "23.1"
|
version = "23.1"
|
||||||
@@ -425,4 +450,4 @@ zstd = ["zstandard (>=0.18.0)"]
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.10"
|
python-versions = "^3.10"
|
||||||
content-hash = "eede625d6d45085e143b0af246cb2ce00cff8579c667be3b63387c8594a5570d"
|
content-hash = "3647d568f5623dd762f19029230626a62e68309fa2ef8be49a36382c19264a5f"
|
||||||
|
|||||||
@@ -1,15 +1,19 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "homeharvest"
|
name = "homeharvest"
|
||||||
version = "0.2.1"
|
version = "0.2.3"
|
||||||
description = "Real estate scraping library supporting Zillow, Realtor.com & Redfin."
|
description = "Real estate scraping library supporting Zillow, Realtor.com & Redfin."
|
||||||
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
|
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
|
||||||
homepage = "https://github.com/ZacharyHampton/HomeHarvest"
|
homepage = "https://github.com/ZacharyHampton/HomeHarvest"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
|
[tool.poetry.scripts]
|
||||||
|
homeharvest = "homeharvest.cli:main"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.10"
|
python = "^3.10"
|
||||||
requests = "^2.31.0"
|
requests = "^2.31.0"
|
||||||
pandas = "^2.1.0"
|
pandas = "^2.1.0"
|
||||||
|
openpyxl = "^3.1.2"
|
||||||
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
@@ -17,4 +21,4 @@ pytest = "^7.4.2"
|
|||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["poetry-core"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
Reference in New Issue
Block a user