Skip to content

Commit

Permalink
Make CBL a package (#4)
Browse files Browse the repository at this point in the history
* add openstreet map support
* fix parsing of address data
* update pyproject to make package installable
* add build test
* update setup-python version
  • Loading branch information
nllong authored Apr 21, 2024
1 parent 31bfead commit b0b798c
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 98 deletions.
3 changes: 3 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
"language": "en",
"words": [
"autoload",
"geodataframe",
"notna",
"quadkey",
"quadkeys",
"streetaddress",
"subaddress",
"tqdm",
"UBID",
"usaddress",
"ZZYYY"
],
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test Build of Python Package

on: push

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.x'
- name: Install Poetry
uses: snok/[email protected]
- name: Install dependencies
run: |
python -m pip install --upgrade pip
poetry install
- name: Build package
run: poetry build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ __pycache__
.python-version
.ruff_cache

dist

/data/
/locations.json
Loading

0 comments on commit b0b798c

Please sign in to comment.