Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,096 changes: 4,211 additions & 885 deletions .github/pixi.lock

Large diffs are not rendered by default.

14 changes: 5 additions & 9 deletions .github/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pytest = ">=9.0.3,<10"
geoarrow-pyarrow = ">=0.2.0,<0.3"
geopandas = ">=1.1.3,<2"
rich-click = ">=1.9.7,<2"
sedonadb = ">=0.3.0,<0.4"
sedonadb = ">=0.3.0"

[tasks]
test = "pytest ../tests"
Expand All @@ -24,17 +24,13 @@ py313 = { features = ["py313"] }
py314 = { features = ["py314"] }

[feature.py311.dependencies]
python = ">=3.14.4,<3.15"
sedonadb = ">=0.3.0,<0.4"
python = "3.11.*"

[feature.py312.dependencies]
python = ">=3.14.4,<3.15"
sedonadb = ">=0.3.0,<0.4"
python = "3.12.*"

[feature.py313.dependencies]
python = ">=3.14.4,<3.15"
sedonadb = ">=0.3.0,<0.4"
python = "3.13.*"

[feature.py314.dependencies]
python = ">=3.14.4,<3.15"
sedonadb = ">=0.3.0,<0.4"
python = "3.14.*"
15 changes: 9 additions & 6 deletions .github/workflows/pytest-linux-pre.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Test Python Prerelease
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths: [ "src/**" ]

permissions:
contents: read

jobs:
test-on-prerelease-python:
runs-on: ubuntu-latest
Expand All @@ -22,15 +23,17 @@ jobs:
sparse-checkout-cone-mode: false

- name: Install dependencies
shell: bash
run: |
uv pip install --system \
https://github.com/geopandas/pyogrio.git
https://github.com/pandas-dev/pandas.git
https://github.com/geopandas/pyogrio.git \
https://github.com/pandas-dev/pandas.git \
https://github.com/geopandas/geopandas.git
uv pip install --system maturin[patchelf] pytest
uv venv --system-site-packages

- name: Build sources
shell: bash
run: |
source .venv/bin/activate
git clone --depth 1 https://github.com/apache/sedona-db.git
Expand All @@ -40,7 +43,7 @@ jobs:
uv pip install --system .

- name: Run tests
shell: bash
run: |
cd /root/checkout
uv pip install --system .
pytest ./tests -vv -s
2 changes: 1 addition & 1 deletion .idea/giso.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![PyPI - Version](https://img.shields.io/pypi/v/giso)](https://pypi.org/project/giso/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/giso)](https://pypi.org/project/giso/)
[![PyPI Downloads](https://static.pepy.tech/badge/giso/month)](https://pepy.tech/projects/giso)
[![PyPI - Version](https://img.shields.io/pypi/v/giso)](https://pypi.org/project/giso/)
[![Conda - Version](https://img.shields.io/conda/vn/conda-forge/giso.svg)](https://anaconda.org/conda-forge/giso)
[![License: MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg?logo=)](https://github.com/corbel-spatial/giso/blob/main/LICENSE)
[![Pixi](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fprefix-dev%2Fpixi%2Fmain%2Fassets%2Fbadge%2Fv0.json&label=%E2%9C%A8)](https://pixi.sh)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
Expand All @@ -10,8 +11,8 @@
[![GitHub Actions Workflow Status: macOS](https://img.shields.io/github/actions/workflow/status/corbel-spatial/giso/pytest-macos.yml?label=macOS)](https://github.com/corbel-spatial/giso/actions/workflows/pytest-macos.yml)
[![GitHub Actions Workflow Status: Lint](https://img.shields.io/github/actions/workflow/status/corbel-spatial/giso/lint.yml?label=ruff)](https://github.com/corbel-spatial/giso/actions/workflows/lint.yml)
[![Test Coverage](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fcorbel-spatial%2Fgiso%2Frefs%2Fheads%2Fmain%2Fdocs%2Fpytest_coverage.json&query=%24.totals.percent_covered_display&label=coverage%20%25&color=brightgreen)](https://github.com/corbel-spatial/giso/actions/workflows/coverage.yml)
[![Actions Workflow Status: Test Python Prerelease](https://img.shields.io/github/actions/workflow/status/corbel-spatial/giso/py-prerelease.yml?label=3.15-pre
)](https://github.com/corbel-spatial/giso/actions/workflows/py-prerelease.yml)
[![GitHub Actions Workflow Status: Test Python Prerelease](https://img.shields.io/github/actions/workflow/status/corbel-spatial/giso/pytest-linux-pre.yml?label=3.15-pre)](https://github.com/corbel-spatial/giso/actions/workflows/pytest-linux-pre.yml)

# giso

A simple command line tool to help with geocoding country/region [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) codes.
Expand Down
Loading