Skip to content

Commit

Permalink
Update project version to 0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
urbanogilson committed Aug 7, 2024
1 parent 440685d commit 155dfdf
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
37 changes: 32 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
# {<State.AC: 'AC'>: '04/08/2024',
# <State.AL: 'AL'>: '04/08/2024',
# <State.AM: 'AM'>: '04/08/2024',
# <State.AP: 'AP'>: '03/08/2024',
# <State.BA: 'BA'>: '03/08/2024',
# <State.CE: 'CE'>: '06/08/2024',
# <State.DF: 'DF'>: '06/08/2024',
# <State.ES: 'ES'>: '04/08/2024',
# <State.GO: 'GO'>: '04/08/2024',
# <State.MA: 'MA'>: '04/08/2024',
# <State.MG: 'MG'>: '04/08/2024',
# <State.MS: 'MS'>: '06/08/2024',
# <State.MT: 'MT'>: '05/08/2024',
# <State.PA: 'PA'>: '03/08/2024',
# <State.PB: 'PB'>: '04/08/2024',
# <State.PE: 'PE'>: '03/08/2024',
# <State.PI: 'PI'>: '02/08/2024',
# <State.PR: 'PR'>: '03/08/2024',
# <State.RJ: 'RJ'>: '02/08/2024',
# <State.RN: 'RN'>: '03/08/2024',
# <State.RO: 'RO'>: '05/08/2024',
# <State.RR: 'RR'>: '06/08/2024',
# <State.RS: 'RS'>: '05/08/2024',
# <State.SC: 'SC'>: '05/08/2024',
# <State.SE: 'SE'>: '05/08/2024',
# <State.SP: 'SP'>: '05/08/2024',
# <State.TO: 'TO'>: '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
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 155dfdf

Please sign in to comment.