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
Mark Joshwel
52e23e7ee4
s+: rename notebook to playground
2023-09-02 10:16:45 +00:00
Mark Joshwel
af083fb49a
tests: fix attempt 0
2023-09-02 10:08:49 +00:00
Mark Joshwel
592a2c661c
tests: add check for multiple expected outputs
2023-09-02 10:00:54 +00:00
Mark Joshwel
cc90b5e196
s+: touch up conversion to shareabletext + tests
2023-09-02 09:35:33 +00:00
Mark Joshwel
f62c31d685
docs: change usage to reflect new cli args
2023-09-02 06:32:26 +00:00
Mark Joshwel
528255a8cb
s+: semi-working conversion to shareabletext
2023-09-02 06:22:51 +00:00
Mark Joshwel
30e6c009cc
s+/#17: fix cli and better help message
2023-09-02 04:37:41 +00:00
Mark Joshwel
fd66a53c11
s+/#17: better conversion framework code
2023-09-02 04:22:19 +00:00
Mark Joshwel
3b136c30ba
surplus: implement groundwork for #18
2023-09-01 16:43:59 +00:00
Mark Joshwel
fd372fb483
surplus: fix #17 (local codes must be full-length)
2023-09-01 14:44:50 +00:00