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.
- herepy-3.6.6/.codecov.yml +5 -0
- herepy-3.6.6/.coveragerc +2 -0
- herepy-3.6.6/.github/workflows/ci.yml +43 -0
- herepy-3.6.6/.github/workflows/deploy-docs.yml +34 -0
- herepy-3.6.6/.github/workflows/release.yml +58 -0
- herepy-3.6.6/.gitignore +104 -0
- herepy-3.6.6/.vscode/launch.json +15 -0
- herepy-3.6.6/.vscode/settings.json +14 -0
- {herepy-3.6.5 → herepy-3.6.6}/PKG-INFO +31 -26
- {herepy-3.6.5 → herepy-3.6.6}/README.rst +16 -8
- herepy-3.6.6/docs/api/destination_weather_api.md +5 -0
- herepy-3.6.6/docs/api/ev_charging_stations_api.md +5 -0
- herepy-3.6.6/docs/api/fleet_telematics_api.md +5 -0
- herepy-3.6.6/docs/api/geocoder_api.md +5 -0
- herepy-3.6.6/docs/api/geocoder_autocomplete_api.md +5 -0
- herepy-3.6.6/docs/api/geocoder_reverse_api.md +5 -0
- herepy-3.6.6/docs/api/here_api.md +5 -0
- herepy-3.6.6/docs/api/isoline_routing_api.md +5 -0
- herepy-3.6.6/docs/api/map_image_api.md +5 -0
- herepy-3.6.6/docs/api/map_tile_api.md +5 -0
- herepy-3.6.6/docs/api/places_api.md +5 -0
- herepy-3.6.6/docs/api/public_transit_api.md +5 -0
- herepy-3.6.6/docs/api/rme_api.md +5 -0
- herepy-3.6.6/docs/api/routing_api.md +5 -0
- herepy-3.6.6/docs/api/traffic_api.md +5 -0
- herepy-3.6.6/docs/api/vector_tile_api.md +5 -0
- herepy-3.6.6/docs/css/custom.css +13 -0
- herepy-3.6.6/docs/css/termynal.css +108 -0
- herepy-3.6.6/docs/enums/enums.md +5 -0
- herepy-3.6.6/docs/index.md +33 -0
- herepy-3.6.6/docs/installation.md +57 -0
- herepy-3.6.6/docs/js/custom.js +149 -0
- herepy-3.6.6/docs/js/termynal.js +264 -0
- herepy-3.6.6/docs/models/models.md +5 -0
- herepy-3.6.6/docs/objects/objects.md +5 -0
- herepy-3.6.6/docs/utils/utils.md +5 -0
- herepy-3.6.6/examples/destination_weather_api.py +22 -0
- herepy-3.6.6/examples/ev_charging_stations_api.py +53 -0
- herepy-3.6.6/examples/fleet_telematics_api.py +79 -0
- herepy-3.6.6/examples/geocoder_api.py +26 -0
- herepy-3.6.6/examples/geocoder_autocomplete_api.py +14 -0
- herepy-3.6.6/examples/geocoder_reverse_api.py +10 -0
- herepy-3.6.6/examples/isoline_routing_api.py +109 -0
- herepy-3.6.6/examples/map_image_api.py +64 -0
- herepy-3.6.6/examples/map_tile_api.py +51 -0
- herepy-3.6.6/examples/places_api.py +18 -0
- herepy-3.6.6/examples/public_transit_api.py +16 -0
- herepy-3.6.6/examples/rme_api.py +13 -0
- herepy-3.6.6/examples/routing_api.py +181 -0
- herepy-3.6.6/examples/traffic_api.py +92 -0
- herepy-3.6.6/examples/vector_tile_api.py +14 -0
- herepy-3.6.6/mkdocs.yml +74 -0
- herepy-3.6.6/noxfile.py +68 -0
- herepy-3.6.6/pyproject.toml +96 -0
- herepy-3.6.6/src/herepy/__init__.py +185 -0
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/destination_weather_api.py +35 -27
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/error.py +9 -8
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/ev_charging_stations_api.py +64 -54
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/fleet_telematics_api.py +39 -34
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/geocoder_api.py +46 -36
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/geocoder_autocomplete_api.py +24 -17
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/geocoder_reverse_api.py +17 -17
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/here_api.py +10 -4
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/here_enum.py +120 -77
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/isoline_routing_api.py +89 -70
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/map_image_api.py +29 -24
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/map_tile_api.py +20 -17
- herepy-3.6.6/src/herepy/mercator_projection.py +23 -0
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/models.py +69 -47
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/objects.py +26 -18
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/places_api.py +35 -29
- herepy-3.6.6/src/herepy/platform/__init__.py +5 -0
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/platform/tour_planning_api.py +8 -4
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/polling.py +24 -20
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/public_transit_api.py +83 -59
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/rme_api.py +19 -20
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/routing_api.py +226 -239
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/traffic_api.py +111 -75
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/utils.py +18 -6
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/vector_tile_api.py +20 -20
- herepy-3.6.6/testdata/images/new-delhi-uncertainty.jpg +0 -0
- herepy-3.6.6/testdata/models/destination_weater_zip_code.json +61 -0
- herepy-3.6.6/testdata/models/destination_weather_alerts.json +13 -0
- herepy-3.6.6/testdata/models/destination_weather_error_invalid_request.json +6 -0
- herepy-3.6.6/testdata/models/destination_weather_error_unauthorized.json +4 -0
- herepy-3.6.6/testdata/models/destination_weather_forecasts.json +761 -0
- herepy-3.6.6/testdata/models/destination_weather_forecasts_astronomy.json +118 -0
- herepy-3.6.6/testdata/models/destination_weather_forecasts_hourly.json +5057 -0
- herepy-3.6.6/testdata/models/destination_weather_forecasts_nsw_alerts.json +873 -0
- herepy-3.6.6/testdata/models/destination_weather_forecasts_simple.json +248 -0
- herepy-3.6.6/testdata/models/destination_weather_observations.json +432 -0
- herepy-3.6.6/testdata/models/ev_charging_station_details.json +147 -0
- herepy-3.6.6/testdata/models/ev_charging_stations_circular.json +90 -0
- herepy-3.6.6/testdata/models/ev_charging_stations_error_unauthorized.json +4 -0
- herepy-3.6.6/testdata/models/fleet_telematics_find_pickups.json +152 -0
- herepy-3.6.6/testdata/models/fleet_telematics_find_sequence.json +97 -0
- herepy-3.6.6/testdata/models/fleet_telematics_unauthorized_error.json +1 -0
- herepy-3.6.6/testdata/models/geocoder.json +42 -0
- herepy-3.6.6/testdata/models/geocoder_autocomplete.json +63 -0
- herepy-3.6.6/testdata/models/geocoder_autocomplete_error.json +5 -0
- herepy-3.6.6/testdata/models/geocoder_error.json +4 -0
- herepy-3.6.6/testdata/models/geocoder_reverse.json +38 -0
- herepy-3.6.6/testdata/models/isoline_based_on_consumption.json +28 -0
- herepy-3.6.6/testdata/models/isoline_routing_api_multi_range_arrival.json +50 -0
- herepy-3.6.6/testdata/models/isoline_routing_api_multi_range_departure.json +50 -0
- herepy-3.6.6/testdata/models/isoline_routing_api_specific_time_arrival.json +30 -0
- herepy-3.6.6/testdata/models/isoline_routing_api_specific_time_departure.json +30 -0
- herepy-3.6.6/testdata/models/isoline_routing_distance_response.json +24 -0
- herepy-3.6.6/testdata/models/isoline_routing_pi_reverse_direction_arrival.json +28 -0
- herepy-3.6.6/testdata/models/isoline_routing_pi_reverse_direction_departure.json +28 -0
- herepy-3.6.6/testdata/models/matrix.json +22 -0
- herepy-3.6.6/testdata/models/not_authorize_access.json +4 -0
- herepy-3.6.6/testdata/models/places_api.json +25 -0
- herepy-3.6.6/testdata/models/places_api_error.json +4 -0
- herepy-3.6.6/testdata/models/public_transit_api.json +106 -0
- herepy-3.6.6/testdata/models/public_transit_api_by_id.json +39 -0
- herepy-3.6.6/testdata/models/public_transit_api_calculate_route_many_transfers.json +4948 -0
- herepy-3.6.6/testdata/models/public_transit_api_calculate_route_time.json +1182 -0
- herepy-3.6.6/testdata/models/public_transit_api_coverage_cities.json +446 -0
- herepy-3.6.6/testdata/models/public_transit_api_error.json +10 -0
- herepy-3.6.6/testdata/models/public_transit_api_nearby.json +89 -0
- herepy-3.6.6/testdata/models/public_transit_api_nearby_coverage.json +68 -0
- herepy-3.6.6/testdata/models/public_transit_api_next_departures_for_stations.json +394 -0
- herepy-3.6.6/testdata/models/public_transit_api_next_departures_location.json +379 -0
- herepy-3.6.6/testdata/models/public_transit_api_next_nearby_departures.json +82 -0
- herepy-3.6.6/testdata/models/public_transit_api_route_shows_line_graph.json +870 -0
- herepy-3.6.6/testdata/models/public_transit_api_router_exclude_changes.json +576 -0
- herepy-3.6.6/testdata/models/public_transit_calculate_route.json +867 -0
- herepy-3.6.6/testdata/models/public_transit_city_coverage.json +122 -0
- herepy-3.6.6/testdata/models/rme_match_route_api.json +20619 -0
- herepy-3.6.6/testdata/models/routing.json +171 -0
- herepy-3.6.6/testdata/models/routing_async_matrix_calculation.json +5 -0
- herepy-3.6.6/testdata/models/routing_async_matrix_completed.json +16 -0
- herepy-3.6.6/testdata/models/routing_bicycle.json +274 -0
- herepy-3.6.6/testdata/models/routing_car_route_short.json +299 -0
- herepy-3.6.6/testdata/models/routing_error_forbidden_credentials.json +4 -0
- herepy-3.6.6/testdata/models/routing_error_invalid_credentials.json +4 -0
- herepy-3.6.6/testdata/models/routing_error_invalid_input_data.json +21 -0
- herepy-3.6.6/testdata/models/routing_error_no_route_found.json +21 -0
- herepy-3.6.6/testdata/models/routing_error_no_route_found_truck.json +21 -0
- herepy-3.6.6/testdata/models/routing_matrix.json +14 -0
- herepy-3.6.6/testdata/models/routing_matrix_bad_request.json +21 -0
- herepy-3.6.6/testdata/models/routing_matrix_multiple_destinations.json +14 -0
- herepy-3.6.6/testdata/models/routing_matrix_multiple_starts.json +14 -0
- herepy-3.6.6/testdata/models/routing_pedestrian.json +308 -0
- herepy-3.6.6/testdata/models/routing_public.json +294 -0
- herepy-3.6.6/testdata/models/routing_public_time_table.json +308 -0
- herepy-3.6.6/testdata/models/routing_truck_route_short.json +187 -0
- herepy-3.6.6/testdata/models/routing_v8_error_access_denied.json +8 -0
- herepy-3.6.6/testdata/models/routing_v8_error_malformed_req.json +8 -0
- herepy-3.6.6/testdata/models/routing_v8_response.json +90 -0
- herepy-3.6.6/testdata/models/traffic_api_additional_attributes.json +2816 -0
- herepy-3.6.6/testdata/models/traffic_api_flow.json +263 -0
- herepy-3.6.6/testdata/models/traffic_api_flow_availability.json +548 -0
- herepy-3.6.6/testdata/models/traffic_api_flow_corridor.json +3386 -0
- herepy-3.6.6/testdata/models/traffic_api_flow_minjamfactor.json +215 -0
- herepy-3.6.6/testdata/models/traffic_api_flow_proximity.json +766 -0
- herepy-3.6.6/testdata/models/traffic_api_flow_proximity_attributes.json +4471 -0
- herepy-3.6.6/testdata/models/traffic_api_incidents.json +1467 -0
- herepy-3.6.6/testdata/models/traffic_incidents_bounding_box.json +3305 -0
- herepy-3.6.6/testdata/models/traffic_incidents_corridor.json +1952 -0
- herepy-3.6.6/testdata/models/traffic_incidents_proximity.json +23834 -0
- herepy-3.6.6/testdata/models/unauthorized_error.json +4 -0
- herepy-3.6.6/testdata/routes/sample.gpx +2559 -0
- herepy-3.6.6/testdata/tiles/berlin.png +0 -0
- herepy-3.6.6/testdata/tiles/omv +0 -0
- herepy-3.6.6/tests/platform/test_tour_planning_api.py +17 -0
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_destination_weather_api.py +27 -28
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_enum.py +61 -86
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_ev_charging_stations_api.py +20 -25
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_fleet_telematics_api.py +4 -7
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_geocoder_api.py +17 -40
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_geocoder_autocomplete_api.py +4 -7
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_geocoder_reverse_api.py +3 -8
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_isoline_routing_api.py +13 -21
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_map_image_api.py +36 -20
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_map_tile_api.py +34 -14
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_mercator_projection.py +1 -3
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_models.py +13 -45
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_places_api.py +7 -13
- herepy-3.6.6/tests/test_polling.py +81 -0
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_publictransit_api.py +41 -68
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_rme_api.py +4 -10
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_routing_api.py +138 -178
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_traffic_api.py +31 -54
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_utils.py +5 -6
- {herepy-3.6.5 → herepy-3.6.6}/tests/test_vector_tile_api.py +5 -19
- herepy-3.6.6/tox.ini +24 -0
- herepy-3.6.6/uv.lock +1530 -0
- herepy-3.6.5/herepy/__init__.py +0 -65
- herepy-3.6.5/herepy/mercator_projection.py +0 -23
- herepy-3.6.5/herepy/platform/__init__.py +0 -1
- herepy-3.6.5/herepy.egg-info/PKG-INFO +0 -195
- herepy-3.6.5/herepy.egg-info/SOURCES.txt +0 -59
- herepy-3.6.5/herepy.egg-info/dependency_links.txt +0 -1
- herepy-3.6.5/herepy.egg-info/requires.txt +0 -1
- herepy-3.6.5/herepy.egg-info/top_level.txt +0 -1
- herepy-3.6.5/requirements.txt +0 -1
- herepy-3.6.5/setup.cfg +0 -19
- herepy-3.6.5/setup.py +0 -66
- {herepy-3.6.5 → herepy-3.6.6}/COPYING +0 -0
- {herepy-3.6.5 → herepy-3.6.6}/LICENSE +0 -0
- {herepy-3.6.5 → herepy-3.6.6}/MANIFEST.in +0 -0
- {herepy-3.6.5 → herepy-3.6.6}/NOTICE +0 -0
- {herepy-3.6.5 → herepy-3.6.6/src}/herepy/py.typed +0 -0
herepy-3.6.6/.coveragerc
ADDED
|
@@ -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/*
|
herepy-3.6.6/.gitignore
ADDED
|
@@ -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
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: herepy
|
|
3
|
-
Version: 3.6.
|
|
3
|
+
Version: 3.6.6
|
|
4
4
|
Summary: A library that provides a Python interface to the HERE APIs
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
13
|
-
|
|
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
|
-
|
|
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.
|
|
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,
|
|
89
|
+
To install dependencies for development, use uv::
|
|
92
90
|
|
|
93
|
-
$
|
|
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
|
-
$
|
|
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
|
|
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
|
-
$
|
|
105
|
+
$ uv run pytest -v
|
|
109
106
|
|
|
110
107
|
to also run code coverage::
|
|
111
108
|
|
|
112
|
-
$
|
|
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.
|
|
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,
|
|
61
|
+
To install dependencies for development, use uv::
|
|
61
62
|
|
|
62
|
-
$
|
|
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
|
-
$
|
|
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
|
|
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
|
-
$
|
|
77
|
+
$ uv run pytest -v
|
|
78
78
|
|
|
79
79
|
to also run code coverage::
|
|
80
80
|
|
|
81
|
-
$
|
|
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,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
|
+
}
|