diff --git a/README.md b/README.md index 0b1ec26..9552ccf 100644 --- a/README.md +++ b/README.md @@ -44,17 +44,44 @@ If you don't want to install dependencies on your computer or don't know how to ```python from SICAR import Sicar, State, Polygon +import pprint # Create Sicar instance car = Sicar() +# Get release data dates +state_dates = car.get_release_dates() +pprint.pprint(state_dates) +# {: '04/08/2024', +# : '04/08/2024', +# : '04/08/2024', +# : '03/08/2024', +# : '03/08/2024', +# : '06/08/2024', +# : '06/08/2024', +# : '04/08/2024', +# : '04/08/2024', +# : '04/08/2024', +# : '04/08/2024', +# : '06/08/2024', +# : '05/08/2024', +# : '03/08/2024', +# : '04/08/2024', +# : '03/08/2024', +# : '02/08/2024', +# : '03/08/2024', +# : '02/08/2024', +# : '03/08/2024', +# : '05/08/2024', +# : '06/08/2024', +# : '05/08/2024', +# : '05/08/2024', +# : '05/08/2024', +# : '05/08/2024', +# : '05/08/2024'} + # Download APPS polygon for the PA state car.download_state(State.PA, Polygon.APPS) - -# Get release date for all states as a dict -release_dates = car.get_release_dates() -print(release_dates.get(State.PA)) -# '03/08/2024' ``` ### OCR drivers diff --git a/pyproject.toml b/pyproject.toml index e79d6b3..1f712a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ [project] name = "SICAR" -version = "0.7.2" +version = "0.7.3" authors = [{ name = "Gilson Urbano", email = "hello@gilsonurbano.com" }] description = "SICAR - Tool designed for students, researchers, data scientists or anyone who would like to have access to SICAR files." -requires-python = ">=3.8" +requires-python = ">=3.9" license = { file = "LICENSE" } dependencies = [ "httpx>=0.27.0",