Commit graph

16 commits

Author SHA1 Message Date
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
412039b568
s+,test: implement #25 with accompanying test (#29) 2023-09-06 17:53:35 +00:00
Mark Joshwel
619f4d71ae
Merge branch 'future' into type-type-conversion 2023-09-07 01:45:37 +08:00
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
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
14193a705e
s+: fix debug statements going to stdout 2023-09-05 05:05:30 +00:00
f6de01a029 s+: format and check 2023-09-05 04:39:40 +00:00
fa1fff9602 s+: convert to pluscode 2023-09-05 04:39:10 +00:00
8ddde41a2e s+: convert to latlong 2023-09-05 04:35:39 +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
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
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
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
35f19b8bc9 docs,s+: add api documentation and update docstrings 2023-09-02 20:05:37 +00:00
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
Renamed from surplus.py (Browse further)