Skip to content

Commit

Permalink
lots o experiments. (#8)
Browse files Browse the repository at this point in the history
* refactoring!

* jesus

* cli initial trial run...

* sweet

* removed thingy

* alrighty

* forgot to commit these

* libutilesqlite not fully done so not using rn

* cli!

* parsing module

* funky

* cargo fmt

* exception handling....

* aha!

* AHA!

* christ I think it works aight

* changed pmtile id name

* mbtiles!

* fixes

* aha

* fmt

* fmt and clippy

* wasm experiments

* wasm exp tests

* funky....

* jfc

* that much closer!

* parsing!

* json

* aha

* huh

* fmt!

* ut cli entry

* all the things

* why is cicd not running right?

* uh why

* aha

* super wonky that I cannot install this version....

* python is a terrible language

* why?

* jesus I hate python

* why is that ok/

* jfc

* why is this so crappy....

* test for utiles tile type test data found

* why do these things keep failing

* christ

* something is not right....

* this is so oddddddd

* utiles!?

* cli mod

* format

* why is this installing the wrong stuff

* oy vey

* ok

* why is pytest picking up the wrong thing...

* shell false?

* finally sorted that

* utiles pyi

* lib utiles pyi gone

* awesome

* black the stuff

* weirdness on armv7

* click!

* aha

* shapes

* save

* nice

* tiny fix

* AHA!

* moved tile feature to own thing

* metadata dump

* should be good to go I think

* fix cicd?

* some cleanup'

* fmts

* clippying

* must_use?

* moved to the totally rust cli'

* CCCCCHANGE LOG
  • Loading branch information
jessekrubin authored Nov 10, 2023
1 parent f48667e commit 80655c4
Show file tree
Hide file tree
Showing 68 changed files with 10,256 additions and 985 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
shell: bash
run: |
set -e
pip install utiles --find-links dist --force-reinstall
pip install click
pip install utiles --no-index --no-deps --find-links dist --force-reinstall
pip install -r requirements/dev.txt
pytest
# - name: pytest
Expand Down Expand Up @@ -86,10 +87,10 @@ jobs:
shell: bash
run: |
set -e
pip install utiles --find-links dist --force-reinstall
pip install click
pip install utiles --no-index --no-deps --find-links dist --force-reinstall
pip install -r requirements/dev.txt
pytest
macos:
runs-on: macos-latest
strategy:
Expand All @@ -116,7 +117,8 @@ jobs:
shell: bash
run: |
set -e
pip install utiles --find-links dist --force-reinstall
pip install click
pip install utiles --no-index --no-deps --find-links dist --force-reinstall
pip install -r requirements/dev.txt
pytest
Expand Down
39 changes: 21 additions & 18 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --verbose
sccache: "true"
manylinux: auto

Expand All @@ -36,23 +36,26 @@ jobs:
shell: bash
run: |
set -e
pip install utiles --find-links dist --force-reinstall
pip install click
pip install utiles --no-index --no-deps --find-links dist --force-reinstall
pip install -r requirements/dev.txt
pytest
# - name: pytest
# if: ${{ !startsWith(matrix.target, 'x86') && matrix.target != 'ppc64' }}
# uses: uraimo/[email protected]
# with:
# arch: ${{ matrix.target }}
# distro: ubuntu22.04
# githubToken: ${{ github.token }}
# install: |
# apt-get update
# apt-get install -y --no-install-recommends python3 python3-pip
# pip3 install -U pip pytest
# pip3 install -r requirements/dev.txt
# run: |
# set -e
# pip3 install utiles --find-links dist --force-reinstall
# pip3 install -r requirements/dev.txt
# - name: pytest
# if: ${{ !startsWith(matrix.target, 'x86') && matrix.target != 'ppc64' }}
# uses: uraimo/[email protected]
# with:
# arch: ${{ matrix.target }}
# distro: ubuntu22.04
# githubToken: ${{ github.token }}
# install: |
# apt-get update
# apt-get install -y --no-install-recommends python3 python3-pip
# pip3 install -U pip pytest
# pip3 install -r requirements/dev.txt
# run: |
# set -e
# pip install click
# pip3 install utiles --no-index --no-deps --find-links dist --force-reinstall
# pip3 install -r requirements/dev.txt
# pytest
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# 0.1.0
# 0.2.0 (2023-11-10)

- Converted cli to rust as an excerise in learning clap
- Moved old click cli to `utiles._legacy.cli`
- Added tilejson/tj command to rust cli to write out tilejson files for mbtiles
- Added meta command to rust cli to write out json of metadata table for mbtiles

# 0.1.0 (2023-10-27)

- Drop python 3.7 (was good knowing you)
- Update pyo3 to 0.20.0
- Added rasterio/rio entry points ('utiles' and 'ut' alias bc why type `rio utiles` over `rio ut`)


# 0.0.2

- Added `__len__` to TilesGenerator for pbars
Loading

0 comments on commit 80655c4

Please sign in to comment.