Commit graph

158 commits

Author SHA1 Message Date
Mark Joshwel 829eccc4c6 ci: update to checkout current branch 2024-03-26 19:01:19 +00:00
Mark Joshwel c718b6544e devbox: remove shell stuff 2024-03-26 18:57:17 +00:00
Mark Joshwel fb45c2177b meta: add hatch fmt to check script 2024-03-26 18:52:23 +00:00
Mark Joshwel f73cee3684 s+: ruff comply 2024-03-26 18:52:05 +00:00
Mark Joshwel 4a2ea88fca docs: split up docs
these will be improved on a later date
2024-03-26 18:48:13 +00:00
Mark Joshwel d22fee2b0b ci: update workflows to use hatch 2024-03-26 18:46:39 +00:00
Mark Joshwel 56694ffa68 meta: remove test.py 2024-03-26 18:45:15 +00:00
Mark Joshwel 8a59994894 s+: reformat and add --show-user-agent 2024-03-26 18:45:07 +00:00
Mark Joshwel a456a59951 meta: we now use hatch 2024-03-26 18:44:41 +00:00
Mark Joshwel 1ccd66b166 code: pass ruff 2024-03-26 18:08:49 +00:00
Mark Joshwel 4871b9d352 cd: on every push 2024-03-26 09:54:52 +00:00
Mark Joshwel 8e83084f8c chore(ci,poetry,devbox): the great update 2024-03-26 09:52:53 +00:00
Mark Joshwel 140736af68 ci: stop testing due to unreliability :( 2024-03-26 18:30:40 +09:00
Mark Joshwel 451072fed3 chore: post-dependabot lock + update devbox deps 2024-03-26 18:30:40 +09:00
Mark Joshwel 5a189d3266 meta: remove notebook stuff 2024-03-26 18:30:40 +09:00
dependabot[bot] 2168d594c8
build(deps): bump geopy from 2.4.0 to 2.4.1 (#63)
Bumps [geopy](https://github.com/geopy/geopy) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/geopy/geopy/releases)
- [Changelog](https://github.com/geopy/geopy/blob/master/docs/changelog_2xx.rst)
- [Commits](https://github.com/geopy/geopy/compare/2.4.0...2.4.1)

---
updated-dependencies:
- dependency-name: geopy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Joshwel <89562141+markjoshwel@users.noreply.github.com>
2024-02-21 18:26:42 +00:00
dependabot[bot] f2e20e6932
build(deps-dev): bump isort from 5.12.0 to 5.13.2 (#67)
Bumps [isort](https://github.com/pycqa/isort) from 5.12.0 to 5.13.2.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.12.0...5.13.2)

---
updated-dependencies:
- dependency-name: isort
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Joshwel <89562141+markjoshwel@users.noreply.github.com>
2024-02-21 18:25:46 +00:00
dependabot[bot] 4b382a9b26
build(deps-dev): bump mypy from 1.6.1 to 1.8.0 (#68)
Bumps [mypy](https://github.com/python/mypy) from 1.6.1 to 1.8.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.6.1...v1.8.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Joshwel <89562141+markjoshwel@users.noreply.github.com>
2024-02-21 18:24:03 +00:00
dependabot[bot] e0903341d1
build(deps-dev): bump black from 23.10.1 to 24.2.0 (#73)
Bumps [black](https://github.com/psf/black) from 23.10.1 to 24.2.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.10.1...24.2.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 18:20:29 +00:00
Mark Joshwel 56be6e4748
meta: remove s+ow (#60)
* meta: s+ow is now a sister project

* deps(poetry): update and lock
2023-11-07 01:27:43 +00:00
Mark Joshwel c7d8f81654
s+ow: revert cron wait at minute 58 (#57) 2023-11-03 01:24:21 +00:00
Mark Joshwel abaa87c85e
s+ow: fix new hour wait regression (#56) 2023-11-03 01:10:28 +00:00
Mark Joshwel ce45f22729
s+ow: fix location regression 2023-11-03 08:34:06 +08:00
Mark Joshwel 8fecc090bf
s+ow: many (#53)
* s+ow: many

- fix #52: handle SPOW_CRON=n
- start sm phase at 59, not after
- print failed to get location message
- fix usage text indentation

* s+ow: lint and format
2023-11-02 16:44:53 +00:00
Mark Joshwel 01c540750a
docs: remove sleep 30 (#51) 2023-10-30 14:23:43 +00:00
Mark Joshwel 30d23d61cc
s+ow: do first sleep 30 in script itself if SPOW_CRON=y (#50)
* deps: add shfmt and shellcheck

* s+ow: also add time took to run information
2023-10-30 14:21:07 +00:00
Mark Joshwel dd5d95f21f
deps: relock (#49) 2023-10-30 13:49:36 +00:00
dependabot[bot] c3238fd0a9
build(deps-dev): bump black from 23.10.0 to 23.10.1 (#47)
Bumps [black](https://github.com/psf/black) from 23.10.0 to 23.10.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.10.0...23.10.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 17:37:34 +08:00
Mark Joshwel 873250b858
s+ow,docs: update links and autorun crontab -e (#46) 2023-10-29 17:55:12 +00:00
Mark Joshwel c1e2b0e1a9
docs: fix broken link (#44) 2023-10-29 17:42:45 +00:00
Mark Joshwel c10c013167
meta: add surplus on wheels (#43) 2023-10-29 17:38:49 +00:00
Mark Joshwel b21ddc0eeb
chore,devbox: post-dependabot (#42) 2023-10-23 15:21:08 +00:00
dependabot[bot] fe69dcd4c5
build(deps-dev): bump black from 23.9.1 to 23.10.0 (#41)
Bumps [black](https://github.com/psf/black) from 23.9.1 to 23.10.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.9.1...23.10.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Joshwel <89562141+markjoshwel@users.noreply.github.com>
2023-10-23 15:16:39 +00:00
dependabot[bot] 51d132d416
build(deps-dev): bump mypy from 1.5.1 to 1.6.1 (#40)
Bumps [mypy](https://github.com/python/mypy) from 1.5.1 to 1.6.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.5.1...v1.6.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 15:15:39 +00:00
Mark Joshwel fdf3a86d84
surplus v2.2.0 (#38)
* build(deps-dev): bump black from 23.7.0 to 23.9.1 (#33)

Bumps [black](https://github.com/psf/black) from 23.7.0 to 23.9.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.7.0...23.9.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* meta: update devbox files

* ctt: type analyse

* ci: update devbox-install-action (#35)

* import protocol from typing straight (#36)

* ctt: update uq and np tests

* s+,docs: add termux-location json support (#37)

docs: update api accordingly

* meta: bump ver

* s+,ctt: fix italian addressing + add test (#34)

* st: fix regression in last commit + add per-line settings dict

* ctt: update modena test

* docs: update api docs for the new st constants

* ci,devbox: fix for ci

* ctt: update modena test

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 20:06:30 +00:00
Mark Joshwel 533cdb2ce4
v2.1.0 (#32)
* docs: remove self in SurplusReverserProtocol conforming signature

* docs: fix mismatching carets and add info on split_iso3166_2

* releaser: isort comply

* meta: bump version 2.1.0 -> 2.1.1

* meta: add dependabot

* alternative line 3 arrangement for IT/Italy (#31)

* tests: add alternative tp output
2023-09-19 15:06:56 +00:00
Mark Joshwel e15d4524db
docs; remove future admonition 2023-09-06 22:28:42 +00:00
Mark Joshwel 7f24f987e0 ci(release),releaser: prepare for release 2023-09-06 22:28:14 +00:00
Mark Joshwel 7a85737fd4
v2.1.0 (#21) 2023-09-07 02:49:20 +08:00
Mark Joshwel 1ac2e1015b
Merge branch 'main' into future 2023-09-07 02:42:15 +08:00
Mark Joshwel 412039b568
s+,test: implement #25 with accompanying test (#29) 2023-09-06 17:53:35 +00:00
Mark Joshwel 6415802f43
Merge pull request #24 from markjoshwel/type-type-conversion
type to type conversion
2023-09-07 01:48:01 +08:00
Mark Joshwel 619f4d71ae
Merge branch 'future' into type-type-conversion 2023-09-07 01:45:37 +08:00
Mark Joshwel e47138c0d9 docs: update api ref and output tech details
- update debug output and add details for split_query and original_query
- update wording on geocoding caching what to do
- add Latlong.bounding_box attr
- add SHAREABLE_TEXT_LOCALITY constant
2023-09-06 17:44:04 +00:00
Mark Joshwel a9e26c8916 s+: complete conversion to local code
i hate GIS

- geocoders now have to return a bounding box
- new SHAREABLE_TEXT_LOCALITY constant, also exposed
- _generate_text now does double duty for locality and sharetext generation
2023-09-06 17:39:53 +00:00
Mark Joshwel d3ada0b386 docs: fix typo, remove user_agent from sample output 2023-09-06 12:01:50 +00:00
Mark Joshwel fda37f413f s+,docs,tests: many
- s+: local code conversion
- s+: fingerprinted user agents + override arg
- s+: rate limited default_ geocoding functions
- s+: gecoding function protocols
- docs: update api
- tests: fix np and macritchie expecteds
2023-09-05 17:34:28 +00:00
Mark Joshwel bf26afb95a
s+,docs,meta: expose Result and bump version (#27, #28) 2023-09-05 06:47:42 +00:00
Mark Joshwel 14193a705e
s+: fix debug statements going to stdout 2023-09-05 05:05:30 +00:00
Mark Joshwel f6de01a029 s+: format and check 2023-09-05 04:39:40 +00:00