Utiles

Latest version: v0.7.3

Safety actively analyzes 723359 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.5.0

- Moved metadata structs and tools from `utiles-core` to `utiles`
- `utiles-python`
- Refactoring and reorganizing of code
- Fixed comparison of LngLat obj
- Using rust lib for `python -m utiles` file size formatting
- `clippy::pedantic`
- Many changes on the road to `clippy::pedantic`
- `utiles-core` is almost fully pedantic
- `utiles` is becoming pedantic
- `utiles-python` is not very pedantic yet
- Testing:
- More tests added (mostly testing w/ python)
- Added test mbtiles file `osm-standard.0z4.mbtiles`
- fmt-str command and option `--fmt` added `tiles` command; allows string
formatting of json-tiles:


Format json-tiles format-string
fmt-tokens:
`{json_arr}`/`{json}` -> [x, y, z]
`{json_obj}`/`{obj}` -> {x: x, y: y, z: z}
`{quadkey}`/`{qk}` -> quadkey string
`{pmtileid}`/`{pmid}` -> pmtile-id
`{x}` -> x tile coord
`{y}` -> y tile coord
`{z}` -> z/zoom level
`{-y}`/`{yup}` -> y tile coord flipped/tms
`{zxy}` -> z/x/y


Example:
> echo "[486, 332, 10]" | utiles fmtstr
[486, 332, 10]
> echo "[486, 332, 10]" | utiles fmtstr --fmt "{x},{y},{z}"
486,332,10
> echo "[486, 332, 10]" | utiles fmt --fmt "SELECT * FROM tiles WHERE zoom_level = {z} AND tile_column = {x} AND tile_row = {y};"
SELECT * FROM tiles WHERE zoom_level = 10 AND tile_column = 486 AND tile_row = 332;


---

0.4.1

- Fixed problem with python tile `__richcmp__` not handling invalid tiles and
non-tile-like objs

0.4.0

- Updated to pyo3 `v0.21.0`
- Cli help messages cleaned up
- General spring cleaning!
- Hid the `utiles tilejson` cli alias `trader-joes`

---

0.3.1

- Minor bug fixes

0.3.0

- Expanded utiles cli with several more commands

---

0.2.0

- Converted cli to rust as an exercise 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

---

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.