Commit graph

145 commits

Author SHA1 Message Date
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
Mark Joshwel fa1fff9602 s+: convert to pluscode 2023-09-05 04:39:10 +00:00
Mark Joshwel 8ddde41a2e s+: convert to latlong 2023-09-05 04:35:39 +00:00
Mark Joshwel 8ccee82f26 docs: fix english
oops
2023-09-05 04:34:12 +00:00
Mark Joshwel 762080c11d releaser: pretty format invocations 2023-09-05 03:58:21 +00:00
Mark Joshwel 996b973533 s+: add new constants to __init__.py 2023-09-05 03:22:47 +00:00
Mark Joshwel 161546b11e docs: add constants introduced in by #20 to api ref 2023-09-04 16:49:45 +00:00
Mark Joshwel d56d077fde
implement #22: reading from stdin when query is "-" (#23)
- s+: add reading from stdin support (#22)
- docs: update cli usage
- s+: remove stdin from Behaviour, lint and type fix
2023-09-04 16:36:47 +00:00
Mark Joshwel b371a7c4df ci(qc): improve .py matching globs 2023-09-04 15:53:34 +00:00
Mark Joshwel e38d9d8bff s+,releaser,ci(build): implement #20
s+: add new constants and change version print
meta: add releaser.py
ci(build): seperate auto and manual + use releaser
2023-09-04 15:47:07 +00:00
Mark Joshwel 8af887a66c tests: remove 'and contributors' in docstring
no one has commited to this except me
source: github history, git blame and memory
2023-09-04 14:37:09 +00:00
Mark Joshwel 43da846f7f meta,docs: bump to 2.1 and add admonition 2023-09-04 14:37:05 +00:00
Mark Joshwel e399e6f931 s+: bump and use print()
i have completely forgotten the fact that print() takes in a file= arguments
2023-09-04 14:25:30 +00:00
Mark Joshwel 5bc64ed093
ci(release): rename nonversioned duplicate wheel 2023-09-03 15:50:46 +00:00