Commit graph

129 commits

Author SHA1 Message Date
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
Mark Joshwel 7d97b7679e
docs: update pip install link 2023-09-03 15:49:41 +00:00
Mark Joshwel dd49301b09
surplus 2.0.0 (#19) 2023-09-03 23:32:35 +08:00
Mark Joshwel 9752710f82 s+,docs: future is now
pyproj: remove py.typed include, poetry does this automatically
ci(qc): fix typo
ci(release): duplicate non-versioned wheels
2023-09-03 14:23:40 +00:00
Mark Joshwel 35f19b8bc9 docs,s+: add api documentation and update docstrings 2023-09-02 20:05:37 +00:00
Mark Joshwel 6591d9f476 ci(qc): fix analyse job invocations 2023-09-02 17:41:32 +00:00
Mark Joshwel aaa1747517 meta: switch to directory layout for py.typed
i dont like it, but that's how it'll have to be
https://github.com/python/typing/issues/1333

s+: also, add __str__ support for query types (#18)
2023-09-02 17:03:23 +00:00
Mark Joshwel 901fb96b0f s+: use 'sharetext' for enum value 2023-09-02 15:23:12 +00:00
Mark Joshwel 883a8ee528 deps: update requirements.txt 2023-09-02 13:42:34 +00:00
Mark Joshwel fe48041039 s+: defaultable Behaviour and only-exception Results 2023-09-02 13:42:21 +00:00
Mark Joshwel d27b915855 ci(qc): do not run if no python files were changed 2023-09-02 11:29:55 +00:00
Mark Joshwel 437ab8f0b1 docs: add technical output details 2023-09-02 11:25:54 +00:00
Mark Joshwel f3a90f71e0 tests: fix uq alt output and pass debug=True to s+ 2023-09-02 10:57:26 +00:00
Mark Joshwel 9549097d6c s+: fix '_generate_line_text' typo 2023-09-02 10:56:13 +00:00
Mark Joshwel e1013c2de7 s+: add seen_names to debug prints 2023-09-02 10:24:57 +00:00
Mark Joshwel 2ee8e4a3f5 tests: fix attempt 2 2023-09-02 10:24:44 +00:00
Mark Joshwel 9d1b0d638f tests: fix attempt 1 2023-09-02 10:17:05 +00:00