herepy 3.6.5__tar.gz → 3.6.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. herepy-3.6.6/.codecov.yml +5 -0
  2. herepy-3.6.6/.coveragerc +2 -0
  3. herepy-3.6.6/.github/workflows/ci.yml +43 -0
  4. herepy-3.6.6/.github/workflows/deploy-docs.yml +34 -0
  5. herepy-3.6.6/.github/workflows/release.yml +58 -0
  6. herepy-3.6.6/.gitignore +104 -0
  7. herepy-3.6.6/.vscode/launch.json +15 -0
  8. herepy-3.6.6/.vscode/settings.json +14 -0
  9. {herepy-3.6.5 → herepy-3.6.6}/PKG-INFO +31 -26
  10. {herepy-3.6.5 → herepy-3.6.6}/README.rst +16 -8
  11. herepy-3.6.6/docs/api/destination_weather_api.md +5 -0
  12. herepy-3.6.6/docs/api/ev_charging_stations_api.md +5 -0
  13. herepy-3.6.6/docs/api/fleet_telematics_api.md +5 -0
  14. herepy-3.6.6/docs/api/geocoder_api.md +5 -0
  15. herepy-3.6.6/docs/api/geocoder_autocomplete_api.md +5 -0
  16. herepy-3.6.6/docs/api/geocoder_reverse_api.md +5 -0
  17. herepy-3.6.6/docs/api/here_api.md +5 -0
  18. herepy-3.6.6/docs/api/isoline_routing_api.md +5 -0
  19. herepy-3.6.6/docs/api/map_image_api.md +5 -0
  20. herepy-3.6.6/docs/api/map_tile_api.md +5 -0
  21. herepy-3.6.6/docs/api/places_api.md +5 -0
  22. herepy-3.6.6/docs/api/public_transit_api.md +5 -0
  23. herepy-3.6.6/docs/api/rme_api.md +5 -0
  24. herepy-3.6.6/docs/api/routing_api.md +5 -0
  25. herepy-3.6.6/docs/api/traffic_api.md +5 -0
  26. herepy-3.6.6/docs/api/vector_tile_api.md +5 -0
  27. herepy-3.6.6/docs/css/custom.css +13 -0
  28. herepy-3.6.6/docs/css/termynal.css +108 -0
  29. herepy-3.6.6/docs/enums/enums.md +5 -0
  30. herepy-3.6.6/docs/index.md +33 -0
  31. herepy-3.6.6/docs/installation.md +57 -0
  32. herepy-3.6.6/docs/js/custom.js +149 -0
  33. herepy-3.6.6/docs/js/termynal.js +264 -0
  34. herepy-3.6.6/docs/models/models.md +5 -0
  35. herepy-3.6.6/docs/objects/objects.md +5 -0
  36. herepy-3.6.6/docs/utils/utils.md +5 -0
  37. herepy-3.6.6/examples/destination_weather_api.py +22 -0
  38. herepy-3.6.6/examples/ev_charging_stations_api.py +53 -0
  39. herepy-3.6.6/examples/fleet_telematics_api.py +79 -0
  40. herepy-3.6.6/examples/geocoder_api.py +26 -0
  41. herepy-3.6.6/examples/geocoder_autocomplete_api.py +14 -0
  42. herepy-3.6.6/examples/geocoder_reverse_api.py +10 -0
  43. herepy-3.6.6/examples/isoline_routing_api.py +109 -0
  44. herepy-3.6.6/examples/map_image_api.py +64 -0
  45. herepy-3.6.6/examples/map_tile_api.py +51 -0
  46. herepy-3.6.6/examples/places_api.py +18 -0
  47. herepy-3.6.6/examples/public_transit_api.py +16 -0
  48. herepy-3.6.6/examples/rme_api.py +13 -0
  49. herepy-3.6.6/examples/routing_api.py +181 -0
  50. herepy-3.6.6/examples/traffic_api.py +92 -0
  51. herepy-3.6.6/examples/vector_tile_api.py +14 -0
  52. herepy-3.6.6/mkdocs.yml +74 -0
  53. herepy-3.6.6/noxfile.py +68 -0
  54. herepy-3.6.6/pyproject.toml +96 -0
  55. herepy-3.6.6/src/herepy/__init__.py +185 -0
  56. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/destination_weather_api.py +35 -27
  57. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/error.py +9 -8
  58. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/ev_charging_stations_api.py +64 -54
  59. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/fleet_telematics_api.py +39 -34
  60. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/geocoder_api.py +46 -36
  61. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/geocoder_autocomplete_api.py +24 -17
  62. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/geocoder_reverse_api.py +17 -17
  63. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/here_api.py +10 -4
  64. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/here_enum.py +120 -77
  65. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/isoline_routing_api.py +89 -70
  66. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/map_image_api.py +29 -24
  67. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/map_tile_api.py +20 -17
  68. herepy-3.6.6/src/herepy/mercator_projection.py +23 -0
  69. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/models.py +69 -47
  70. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/objects.py +26 -18
  71. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/places_api.py +35 -29
  72. herepy-3.6.6/src/herepy/platform/__init__.py +5 -0
  73. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/platform/tour_planning_api.py +8 -4
  74. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/polling.py +24 -20
  75. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/public_transit_api.py +83 -59
  76. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/rme_api.py +19 -20
  77. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/routing_api.py +226 -239
  78. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/traffic_api.py +111 -75
  79. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/utils.py +18 -6
  80. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/vector_tile_api.py +20 -20
  81. herepy-3.6.6/testdata/images/new-delhi-uncertainty.jpg +0 -0
  82. herepy-3.6.6/testdata/models/destination_weater_zip_code.json +61 -0
  83. herepy-3.6.6/testdata/models/destination_weather_alerts.json +13 -0
  84. herepy-3.6.6/testdata/models/destination_weather_error_invalid_request.json +6 -0
  85. herepy-3.6.6/testdata/models/destination_weather_error_unauthorized.json +4 -0
  86. herepy-3.6.6/testdata/models/destination_weather_forecasts.json +761 -0
  87. herepy-3.6.6/testdata/models/destination_weather_forecasts_astronomy.json +118 -0
  88. herepy-3.6.6/testdata/models/destination_weather_forecasts_hourly.json +5057 -0
  89. herepy-3.6.6/testdata/models/destination_weather_forecasts_nsw_alerts.json +873 -0
  90. herepy-3.6.6/testdata/models/destination_weather_forecasts_simple.json +248 -0
  91. herepy-3.6.6/testdata/models/destination_weather_observations.json +432 -0
  92. herepy-3.6.6/testdata/models/ev_charging_station_details.json +147 -0
  93. herepy-3.6.6/testdata/models/ev_charging_stations_circular.json +90 -0
  94. herepy-3.6.6/testdata/models/ev_charging_stations_error_unauthorized.json +4 -0
  95. herepy-3.6.6/testdata/models/fleet_telematics_find_pickups.json +152 -0
  96. herepy-3.6.6/testdata/models/fleet_telematics_find_sequence.json +97 -0
  97. herepy-3.6.6/testdata/models/fleet_telematics_unauthorized_error.json +1 -0
  98. herepy-3.6.6/testdata/models/geocoder.json +42 -0
  99. herepy-3.6.6/testdata/models/geocoder_autocomplete.json +63 -0
  100. herepy-3.6.6/testdata/models/geocoder_autocomplete_error.json +5 -0
  101. herepy-3.6.6/testdata/models/geocoder_error.json +4 -0
  102. herepy-3.6.6/testdata/models/geocoder_reverse.json +38 -0
  103. herepy-3.6.6/testdata/models/isoline_based_on_consumption.json +28 -0
  104. herepy-3.6.6/testdata/models/isoline_routing_api_multi_range_arrival.json +50 -0
  105. herepy-3.6.6/testdata/models/isoline_routing_api_multi_range_departure.json +50 -0
  106. herepy-3.6.6/testdata/models/isoline_routing_api_specific_time_arrival.json +30 -0
  107. herepy-3.6.6/testdata/models/isoline_routing_api_specific_time_departure.json +30 -0
  108. herepy-3.6.6/testdata/models/isoline_routing_distance_response.json +24 -0
  109. herepy-3.6.6/testdata/models/isoline_routing_pi_reverse_direction_arrival.json +28 -0
  110. herepy-3.6.6/testdata/models/isoline_routing_pi_reverse_direction_departure.json +28 -0
  111. herepy-3.6.6/testdata/models/matrix.json +22 -0
  112. herepy-3.6.6/testdata/models/not_authorize_access.json +4 -0
  113. herepy-3.6.6/testdata/models/places_api.json +25 -0
  114. herepy-3.6.6/testdata/models/places_api_error.json +4 -0
  115. herepy-3.6.6/testdata/models/public_transit_api.json +106 -0
  116. herepy-3.6.6/testdata/models/public_transit_api_by_id.json +39 -0
  117. herepy-3.6.6/testdata/models/public_transit_api_calculate_route_many_transfers.json +4948 -0
  118. herepy-3.6.6/testdata/models/public_transit_api_calculate_route_time.json +1182 -0
  119. herepy-3.6.6/testdata/models/public_transit_api_coverage_cities.json +446 -0
  120. herepy-3.6.6/testdata/models/public_transit_api_error.json +10 -0
  121. herepy-3.6.6/testdata/models/public_transit_api_nearby.json +89 -0
  122. herepy-3.6.6/testdata/models/public_transit_api_nearby_coverage.json +68 -0
  123. herepy-3.6.6/testdata/models/public_transit_api_next_departures_for_stations.json +394 -0
  124. herepy-3.6.6/testdata/models/public_transit_api_next_departures_location.json +379 -0
  125. herepy-3.6.6/testdata/models/public_transit_api_next_nearby_departures.json +82 -0
  126. herepy-3.6.6/testdata/models/public_transit_api_route_shows_line_graph.json +870 -0
  127. herepy-3.6.6/testdata/models/public_transit_api_router_exclude_changes.json +576 -0
  128. herepy-3.6.6/testdata/models/public_transit_calculate_route.json +867 -0
  129. herepy-3.6.6/testdata/models/public_transit_city_coverage.json +122 -0
  130. herepy-3.6.6/testdata/models/rme_match_route_api.json +20619 -0
  131. herepy-3.6.6/testdata/models/routing.json +171 -0
  132. herepy-3.6.6/testdata/models/routing_async_matrix_calculation.json +5 -0
  133. herepy-3.6.6/testdata/models/routing_async_matrix_completed.json +16 -0
  134. herepy-3.6.6/testdata/models/routing_bicycle.json +274 -0
  135. herepy-3.6.6/testdata/models/routing_car_route_short.json +299 -0
  136. herepy-3.6.6/testdata/models/routing_error_forbidden_credentials.json +4 -0
  137. herepy-3.6.6/testdata/models/routing_error_invalid_credentials.json +4 -0
  138. herepy-3.6.6/testdata/models/routing_error_invalid_input_data.json +21 -0
  139. herepy-3.6.6/testdata/models/routing_error_no_route_found.json +21 -0
  140. herepy-3.6.6/testdata/models/routing_error_no_route_found_truck.json +21 -0
  141. herepy-3.6.6/testdata/models/routing_matrix.json +14 -0
  142. herepy-3.6.6/testdata/models/routing_matrix_bad_request.json +21 -0
  143. herepy-3.6.6/testdata/models/routing_matrix_multiple_destinations.json +14 -0
  144. herepy-3.6.6/testdata/models/routing_matrix_multiple_starts.json +14 -0
  145. herepy-3.6.6/testdata/models/routing_pedestrian.json +308 -0
  146. herepy-3.6.6/testdata/models/routing_public.json +294 -0
  147. herepy-3.6.6/testdata/models/routing_public_time_table.json +308 -0
  148. herepy-3.6.6/testdata/models/routing_truck_route_short.json +187 -0
  149. herepy-3.6.6/testdata/models/routing_v8_error_access_denied.json +8 -0
  150. herepy-3.6.6/testdata/models/routing_v8_error_malformed_req.json +8 -0
  151. herepy-3.6.6/testdata/models/routing_v8_response.json +90 -0
  152. herepy-3.6.6/testdata/models/traffic_api_additional_attributes.json +2816 -0
  153. herepy-3.6.6/testdata/models/traffic_api_flow.json +263 -0
  154. herepy-3.6.6/testdata/models/traffic_api_flow_availability.json +548 -0
  155. herepy-3.6.6/testdata/models/traffic_api_flow_corridor.json +3386 -0
  156. herepy-3.6.6/testdata/models/traffic_api_flow_minjamfactor.json +215 -0
  157. herepy-3.6.6/testdata/models/traffic_api_flow_proximity.json +766 -0
  158. herepy-3.6.6/testdata/models/traffic_api_flow_proximity_attributes.json +4471 -0
  159. herepy-3.6.6/testdata/models/traffic_api_incidents.json +1467 -0
  160. herepy-3.6.6/testdata/models/traffic_incidents_bounding_box.json +3305 -0
  161. herepy-3.6.6/testdata/models/traffic_incidents_corridor.json +1952 -0
  162. herepy-3.6.6/testdata/models/traffic_incidents_proximity.json +23834 -0
  163. herepy-3.6.6/testdata/models/unauthorized_error.json +4 -0
  164. herepy-3.6.6/testdata/routes/sample.gpx +2559 -0
  165. herepy-3.6.6/testdata/tiles/berlin.png +0 -0
  166. herepy-3.6.6/testdata/tiles/omv +0 -0
  167. herepy-3.6.6/tests/platform/test_tour_planning_api.py +17 -0
  168. {herepy-3.6.5 → herepy-3.6.6}/tests/test_destination_weather_api.py +27 -28
  169. {herepy-3.6.5 → herepy-3.6.6}/tests/test_enum.py +61 -86
  170. {herepy-3.6.5 → herepy-3.6.6}/tests/test_ev_charging_stations_api.py +20 -25
  171. {herepy-3.6.5 → herepy-3.6.6}/tests/test_fleet_telematics_api.py +4 -7
  172. {herepy-3.6.5 → herepy-3.6.6}/tests/test_geocoder_api.py +17 -40
  173. {herepy-3.6.5 → herepy-3.6.6}/tests/test_geocoder_autocomplete_api.py +4 -7
  174. {herepy-3.6.5 → herepy-3.6.6}/tests/test_geocoder_reverse_api.py +3 -8
  175. {herepy-3.6.5 → herepy-3.6.6}/tests/test_isoline_routing_api.py +13 -21
  176. {herepy-3.6.5 → herepy-3.6.6}/tests/test_map_image_api.py +36 -20
  177. {herepy-3.6.5 → herepy-3.6.6}/tests/test_map_tile_api.py +34 -14
  178. {herepy-3.6.5 → herepy-3.6.6}/tests/test_mercator_projection.py +1 -3
  179. {herepy-3.6.5 → herepy-3.6.6}/tests/test_models.py +13 -45
  180. {herepy-3.6.5 → herepy-3.6.6}/tests/test_places_api.py +7 -13
  181. herepy-3.6.6/tests/test_polling.py +81 -0
  182. {herepy-3.6.5 → herepy-3.6.6}/tests/test_publictransit_api.py +41 -68
  183. {herepy-3.6.5 → herepy-3.6.6}/tests/test_rme_api.py +4 -10
  184. {herepy-3.6.5 → herepy-3.6.6}/tests/test_routing_api.py +138 -178
  185. {herepy-3.6.5 → herepy-3.6.6}/tests/test_traffic_api.py +31 -54
  186. {herepy-3.6.5 → herepy-3.6.6}/tests/test_utils.py +5 -6
  187. {herepy-3.6.5 → herepy-3.6.6}/tests/test_vector_tile_api.py +5 -19
  188. herepy-3.6.6/tox.ini +24 -0
  189. herepy-3.6.6/uv.lock +1530 -0
  190. herepy-3.6.5/herepy/__init__.py +0 -65
  191. herepy-3.6.5/herepy/mercator_projection.py +0 -23
  192. herepy-3.6.5/herepy/platform/__init__.py +0 -1
  193. herepy-3.6.5/herepy.egg-info/PKG-INFO +0 -195
  194. herepy-3.6.5/herepy.egg-info/SOURCES.txt +0 -59
  195. herepy-3.6.5/herepy.egg-info/dependency_links.txt +0 -1
  196. herepy-3.6.5/herepy.egg-info/requires.txt +0 -1
  197. herepy-3.6.5/herepy.egg-info/top_level.txt +0 -1
  198. herepy-3.6.5/requirements.txt +0 -1
  199. herepy-3.6.5/setup.cfg +0 -19
  200. herepy-3.6.5/setup.py +0 -66
  201. {herepy-3.6.5 → herepy-3.6.6}/COPYING +0 -0
  202. {herepy-3.6.5 → herepy-3.6.6}/LICENSE +0 -0
  203. {herepy-3.6.5 → herepy-3.6.6}/MANIFEST.in +0 -0
  204. {herepy-3.6.5 → herepy-3.6.6}/NOTICE +0 -0
  205. {herepy-3.6.5 → herepy-3.6.6/src}/herepy/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ # Documentation: https://docs.codecov.io/docs/codecov-yaml
2
+
3
+ codecov:
4
+ token: "7ad2216e-6198-4a10-8c68-72e2d3f139ec"
5
+ require_ci_to_pass: yes
@@ -0,0 +1,2 @@
1
+ [run]
2
+ source=herepy
@@ -0,0 +1,43 @@
1
+ name: HerePy CI
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ build:
7
+
8
+ runs-on: ${{ matrix.operating-system }}
9
+ strategy:
10
+ max-parallel: 4
11
+ matrix:
12
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
13
+ operating-system: [ubuntu-24.04, windows-latest, macos-latest]
14
+
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v3
19
+ - name: Set up Python ${{ matrix.python-version }}
20
+ uses: actions/setup-python@v3
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
+ - name: Install dependencies
24
+ run: uv sync --group dev
25
+ - name: Check format
26
+ run: |
27
+ uv run nox -s check_format
28
+ - name: Check lint
29
+ run: |
30
+ uv run nox -s check_lint
31
+ - name: Check types
32
+ run: |
33
+ uv run nox -s check_types
34
+ - name: Test with pytest
35
+ run: |
36
+ uv run nox -s run_tests
37
+ - name: Upload coverage to Codecov
38
+ uses: codecov/codecov-action@v1
39
+ with:
40
+ yml: ./.codecov.yml
41
+ file: ./coverage.xml
42
+ flags: unittests
43
+ fail_ci_if_error: false
@@ -0,0 +1,34 @@
1
+ name: Build and Deploy to Netlify
2
+ on:
3
+ push:
4
+ pull_request:
5
+ types: [opened, synchronize]
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-22.04
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - name: Install uv
12
+ uses: astral-sh/setup-uv@v3
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v4
15
+ with:
16
+ python-version: "3.9"
17
+ - name: Install Dependencies
18
+ run: uv sync --group docs
19
+ - name: Build Docs
20
+ run: uv run mkdocs build
21
+ - name: Deploy to Netlify
22
+ uses: nwtgck/actions-netlify@v3.0
23
+ with:
24
+ publish-dir: './site'
25
+ production-branch: master
26
+ github-token: ${{ secrets.PERSONAL_TOKEN }}
27
+ deploy-message: "Deploy from GitHub Actions"
28
+ enable-pull-request-comment: false
29
+ enable-commit-comment: true
30
+ overwrites-pull-request-comment: true
31
+ env:
32
+ NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
33
+ NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
34
+ timeout-minutes: 1
@@ -0,0 +1,58 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "*"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v6
18
+ - name: Build distributions
19
+ run: uv build
20
+ - name: Upload distributions
21
+ uses: actions/upload-artifact@v4
22
+ with:
23
+ name: distributions
24
+ path: dist/
25
+
26
+ publish-pypi:
27
+ needs: build
28
+ runs-on: ubuntu-latest
29
+ environment:
30
+ name: pypi
31
+ url: https://pypi.org/p/herepy
32
+ permissions:
33
+ id-token: write
34
+ steps:
35
+ - name: Download distributions
36
+ uses: actions/download-artifact@v4
37
+ with:
38
+ name: distributions
39
+ path: dist/
40
+ - name: Publish to PyPI
41
+ uses: pypa/gh-action-pypi-publish@release/v1
42
+
43
+ github-release:
44
+ needs: build
45
+ runs-on: ubuntu-latest
46
+ permissions:
47
+ contents: write
48
+ steps:
49
+ - name: Download distributions
50
+ uses: actions/download-artifact@v4
51
+ with:
52
+ name: distributions
53
+ path: dist/
54
+ - name: Create GitHub release
55
+ uses: softprops/action-gh-release@v2
56
+ with:
57
+ generate_release_notes: true
58
+ files: dist/*
@@ -0,0 +1,104 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ env/
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+
28
+ # PyInstaller
29
+ # Usually these files are written by a python script from a template
30
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
+ *.manifest
32
+ *.spec
33
+
34
+ # Installer logs
35
+ pip-log.txt
36
+ pip-delete-this-directory.txt
37
+
38
+ # Unit test / coverage reports
39
+ htmlcov/
40
+ .tox/
41
+ .coverage
42
+ .coverage.*
43
+ .cache
44
+ nosetests.xml
45
+ coverage.xml
46
+ *.cover
47
+ .hypothesis/
48
+
49
+ # Translations
50
+ *.mo
51
+ *.pot
52
+
53
+ # Django stuff:
54
+ *.log
55
+ local_settings.py
56
+
57
+ # Flask stuff:
58
+ instance/
59
+ .webassets-cache
60
+
61
+ # Scrapy stuff:
62
+ .scrapy
63
+
64
+ # Sphinx documentation
65
+ docs/_build/
66
+
67
+ # PyBuilder
68
+ target/
69
+
70
+ # Jupyter Notebook
71
+ .ipynb_checkpoints
72
+
73
+ # pyenv
74
+ .python-version
75
+
76
+ # celery beat schedule file
77
+ celerybeat-schedule
78
+
79
+ # SageMath parsed files
80
+ *.sage.py
81
+
82
+ # dotenv
83
+ .env
84
+
85
+ # virtualenv
86
+ .venv
87
+ venv/
88
+ ENV/
89
+
90
+ # Spyder project settings
91
+ .spyderproject
92
+ .spyproject
93
+
94
+ # Rope project settings
95
+ .ropeproject
96
+
97
+ # mkdocs documentation
98
+ /site
99
+
100
+ # mypy
101
+ .mypy_cache/
102
+
103
+ # pytest cache
104
+ .pytest_cache/
@@ -0,0 +1,15 @@
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "name": "Python: Current File",
9
+ "type": "python",
10
+ "request": "launch",
11
+ "program": "${file}",
12
+ "console": "integratedTerminal"
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "python.testing.unittestArgs": [
3
+ "-v",
4
+ "-s",
5
+ "./tests",
6
+ "-p",
7
+ "test_*.py"
8
+ ],
9
+ "pythonTestExplorer.testFramework": "pytest",
10
+ "python.testing.pytestEnabled": true,
11
+ "python.linting.enabled": true,
12
+ "python.testing.unittestEnabled": true,
13
+ "restructuredtext.confPath": ""
14
+ }
@@ -1,33 +1,30 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.5
2
2
  Name: herepy
3
- Version: 3.6.5
3
+ Version: 3.6.6
4
4
  Summary: A library that provides a Python interface to the HERE APIs
5
- Home-page: https://github.com/abdullahselek/HerePy
6
- Download-URL: https://pypi.org/pypi/herepy
7
- Author: Abdullah Selek
8
- Author-email: abdullahselek.os@gmail.com
9
- Maintainer: Abdullah Selek
10
- Maintainer-email: abdullahselek.os@gmail.com
5
+ Project-URL: Repository, https://github.com/abdullahselek/HerePy
6
+ Project-URL: Download, https://pypi.org/pypi/herepy
7
+ Project-URL: Documentation, https://herepy.abdullahselek.com/
8
+ Author-email: Abdullah Selek <abdullahselek.os@gmail.com>
11
9
  License: MIT License
12
- Keywords: here api,here technologies,here python api clients,rest api clients
13
- Platform: Any
10
+ License-File: COPYING
11
+ License-File: LICENSE
12
+ License-File: NOTICE
13
+ Keywords: here api,here python api clients,here technologies,rest api clients
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: License :: OSI Approved :: MIT License
16
16
  Classifier: Operating System :: OS Independent
17
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
17
  Classifier: Programming Language :: Python
19
18
  Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.8
21
- Classifier: Programming Language :: Python :: 3.9
22
19
  Classifier: Programming Language :: Python :: 3.10
23
20
  Classifier: Programming Language :: Python :: 3.11
24
21
  Classifier: Programming Language :: Python :: 3.12
25
- Requires-Python: >=3.8
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
+ Requires-Python: >=3.10
26
+ Requires-Dist: requests<3,>=2.25.1
26
27
  Description-Content-Type: text/x-rst
27
- License-File: LICENSE
28
- License-File: COPYING
29
- License-File: NOTICE
30
- Requires-Dist: Requests<3,>=2.25.1
31
28
 
32
29
  HerePy
33
30
  ======
@@ -59,7 +56,7 @@ HerePy
59
56
  Introduction
60
57
  ============
61
58
 
62
- This library provides a pure Python interface for the `HERE API <https://developer.here.com/>`_. It works with Python versions 3.x.
59
+ This library provides a pure Python interface for the `HERE API <https://developer.here.com/>`_. It works with Python versions 3.10 and over.
63
60
 
64
61
  `HERE <https://www.here.com/>`_ provides location based services. HERE exposes a `rest APIs <https://developer.here.com/documentation>`_ and this library is intended to make it even easier for Python programmers to use.
65
62
 
@@ -69,6 +66,7 @@ Installing
69
66
  You can install herepy using Python Package Index::
70
67
 
71
68
  $ pip install herepy
69
+ $ uv pip install herepy
72
70
 
73
71
  Install with conda from the Anaconda conda-forge channel::
74
72
 
@@ -88,28 +86,27 @@ Check out the latest development version anonymously with::
88
86
  $ git clone git://github.com/abdullahselek/HerePy.git
89
87
  $ cd HerePy
90
88
 
91
- To install dependencies, run either::
89
+ To install dependencies for development, use uv::
92
90
 
93
- $ pip install -r requirements.testing.txt
94
- $ pip install -r requirements.txt
91
+ $ uv sync
95
92
 
96
93
  To install the minimal dependencies for production use (i.e., what is installed
97
94
  with ``pip install herepy``) run::
98
95
 
99
- $ pip install -r requirements.txt
96
+ $ uv sync --no-dev
100
97
 
101
98
  Running Tests
102
99
  =============
103
100
 
104
- The test suite can be run against a single Python version which requires ``pip install pytest`` and optionally ``pip install pytest-cov`` (these are included if you have installed dependencies from ``requirements.testing.txt``)
101
+ The test suite can be run against a single Python version using uv.
105
102
 
106
103
  To run the unit tests with a single Python version::
107
104
 
108
- $ py.test -v
105
+ $ uv run pytest -v
109
106
 
110
107
  to also run code coverage::
111
108
 
112
- $ py.test --cov=herepy
109
+ $ uv run pytest --cov=herepy
113
110
 
114
111
  To run the unit tests against a set of Python versions::
115
112
 
@@ -169,6 +166,14 @@ Using
169
166
  The library provides a Python wrapper around the HERE APIs with different data models. To get started, check out the examples in the ``examples/`` folder or
170
167
  read the documentation at `https://herepy.abdullahselek.com/ <https://herepy.abdullahselek.com/>`_. All API clients need an API key which you can get from `HERE Developer Portal <https://developer.here.com/>`_.
171
168
 
169
+ Publishing
170
+ ============
171
+
172
+ Maintainers can publish the package to PyPI using uv::
173
+
174
+ $ uv build
175
+ $ uv publish
176
+
172
177
  License
173
178
  -------
174
179
 
@@ -28,7 +28,7 @@ HerePy
28
28
  Introduction
29
29
  ============
30
30
 
31
- This library provides a pure Python interface for the `HERE API <https://developer.here.com/>`_. It works with Python versions 3.x.
31
+ This library provides a pure Python interface for the `HERE API <https://developer.here.com/>`_. It works with Python versions 3.10 and over.
32
32
 
33
33
  `HERE <https://www.here.com/>`_ provides location based services. HERE exposes a `rest APIs <https://developer.here.com/documentation>`_ and this library is intended to make it even easier for Python programmers to use.
34
34
 
@@ -38,6 +38,7 @@ Installing
38
38
  You can install herepy using Python Package Index::
39
39
 
40
40
  $ pip install herepy
41
+ $ uv pip install herepy
41
42
 
42
43
  Install with conda from the Anaconda conda-forge channel::
43
44
 
@@ -57,28 +58,27 @@ Check out the latest development version anonymously with::
57
58
  $ git clone git://github.com/abdullahselek/HerePy.git
58
59
  $ cd HerePy
59
60
 
60
- To install dependencies, run either::
61
+ To install dependencies for development, use uv::
61
62
 
62
- $ pip install -r requirements.testing.txt
63
- $ pip install -r requirements.txt
63
+ $ uv sync
64
64
 
65
65
  To install the minimal dependencies for production use (i.e., what is installed
66
66
  with ``pip install herepy``) run::
67
67
 
68
- $ pip install -r requirements.txt
68
+ $ uv sync --no-dev
69
69
 
70
70
  Running Tests
71
71
  =============
72
72
 
73
- The test suite can be run against a single Python version which requires ``pip install pytest`` and optionally ``pip install pytest-cov`` (these are included if you have installed dependencies from ``requirements.testing.txt``)
73
+ The test suite can be run against a single Python version using uv.
74
74
 
75
75
  To run the unit tests with a single Python version::
76
76
 
77
- $ py.test -v
77
+ $ uv run pytest -v
78
78
 
79
79
  to also run code coverage::
80
80
 
81
- $ py.test --cov=herepy
81
+ $ uv run pytest --cov=herepy
82
82
 
83
83
  To run the unit tests against a set of Python versions::
84
84
 
@@ -138,6 +138,14 @@ Using
138
138
  The library provides a Python wrapper around the HERE APIs with different data models. To get started, check out the examples in the ``examples/`` folder or
139
139
  read the documentation at `https://herepy.abdullahselek.com/ <https://herepy.abdullahselek.com/>`_. All API clients need an API key which you can get from `HERE Developer Portal <https://developer.here.com/>`_.
140
140
 
141
+ Publishing
142
+ ============
143
+
144
+ Maintainers can publish the package to PyPI using uv::
145
+
146
+ $ uv build
147
+ $ uv publish
148
+
141
149
  License
142
150
  -------
143
151
 
@@ -0,0 +1,5 @@
1
+ # Destination Weather API
2
+
3
+ ::: herepy.destination_weather_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # EV Charging Stations API
2
+
3
+ ::: herepy.ev_charging_stations_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Fleet Telematics API
2
+
3
+ ::: herepy.fleet_telematics_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Geocoder API
2
+
3
+ ::: herepy.geocoder_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Geocoder Autocomplete API
2
+
3
+ ::: herepy.geocoder_autocomplete_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Reverse Geocoder API
2
+
3
+ ::: herepy.geocoder_reverse_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Base HERE API
2
+
3
+ ::: herepy.here_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Isoline Routing API
2
+
3
+ ::: herepy.isoline_routing_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Map Image API
2
+
3
+ ::: herepy.map_image_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Map Tile API
2
+
3
+ ::: herepy.map_tile_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Places API
2
+
3
+ ::: herepy.places_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Public Transit API
2
+
3
+ ::: herepy.public_transit_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Route Matching API
2
+
3
+ ::: herepy.rme_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Routing API
2
+
3
+ ::: herepy.routing_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Traffic API
2
+
3
+ ::: herepy.traffic_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,5 @@
1
+ # Vector Tile API
2
+
3
+ ::: herepy.vector_tile_api
4
+ rendering:
5
+ show_source: true
@@ -0,0 +1,13 @@
1
+ a.external-link::after {
2
+ /* \00A0 is a non-breaking space
3
+ to make the mark be on the same line as the link
4
+ */
5
+ content: "\00A0[↪]";
6
+ }
7
+
8
+ a.internal-link::after {
9
+ /* \00A0 is a non-breaking space
10
+ to make the mark be on the same line as the link
11
+ */
12
+ content: "\00A0↪";
13
+ }