parcelgps 1.0.1__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.
- parcelgps-1.0.1/.gitignore +10 -0
- parcelgps-1.0.1/LICENSE +21 -0
- parcelgps-1.0.1/PKG-INFO +43 -0
- parcelgps-1.0.1/README.md +22 -0
- parcelgps-1.0.1/parcelgps/__init__.py +7 -0
- parcelgps-1.0.1/pyproject.toml +35 -0
- parcelgps-1.0.1/tests/test_alias.py +13 -0
parcelgps-1.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TheHiddenPanda
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
parcelgps-1.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: parcelgps
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary: Parcel GPS: cadastral parcels in 31 European countries and regions by reference, coordinates or Spanish address (official client, same as catastrogps)
|
|
5
|
+
Project-URL: Homepage, https://www.parcelgps.com/developers
|
|
6
|
+
Project-URL: Documentation, https://www.parcelgps.com/developers
|
|
7
|
+
Project-URL: Support, https://www.parcelgps.com/developers
|
|
8
|
+
Author-email: The Hidden Panda <soporte@catastrogps.es>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: cadastral,cadastre,europe,geojson,gis,land-registry,parcel,parcel-api,real-estate
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
17
|
+
Classifier: Typing :: Typed
|
|
18
|
+
Requires-Python: >=3.9
|
|
19
|
+
Requires-Dist: catastrogps<2,>=1.0.1
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
# parcelgps
|
|
23
|
+
|
|
24
|
+
Official Python client for the [Parcel GPS API](https://www.parcelgps.com/developers): cadastral parcels in 29 European countries plus the Basque Country and Navarre, with one API key.
|
|
25
|
+
|
|
26
|
+
This package is the same client as [`catastrogps`](https://pypi.org/project/catastrogps/), published under the Parcel GPS name. Both work the same way.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
pip install parcelgps
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
from parcelgps import ParcelGPS
|
|
34
|
+
|
|
35
|
+
client = ParcelGPS(api_key="YOUR_API_KEY")
|
|
36
|
+
parcel = client.parcels.get("9872023VH5797S0001WX")
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Free tier: 250 calls a month, forever. Failed lookups are not charged. Get a key at [parcelgps.com/developers](https://www.parcelgps.com/developers).
|
|
40
|
+
|
|
41
|
+
Full reference: see the [`catastrogps` README](https://pypi.org/project/catastrogps/).
|
|
42
|
+
|
|
43
|
+
MIT License.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# parcelgps
|
|
2
|
+
|
|
3
|
+
Official Python client for the [Parcel GPS API](https://www.parcelgps.com/developers): cadastral parcels in 29 European countries plus the Basque Country and Navarre, with one API key.
|
|
4
|
+
|
|
5
|
+
This package is the same client as [`catastrogps`](https://pypi.org/project/catastrogps/), published under the Parcel GPS name. Both work the same way.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install parcelgps
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```python
|
|
12
|
+
from parcelgps import ParcelGPS
|
|
13
|
+
|
|
14
|
+
client = ParcelGPS(api_key="YOUR_API_KEY")
|
|
15
|
+
parcel = client.parcels.get("9872023VH5797S0001WX")
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Free tier: 250 calls a month, forever. Failed lookups are not charged. Get a key at [parcelgps.com/developers](https://www.parcelgps.com/developers).
|
|
19
|
+
|
|
20
|
+
Full reference: see the [`catastrogps` README](https://pypi.org/project/catastrogps/).
|
|
21
|
+
|
|
22
|
+
MIT License.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.24"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "parcelgps"
|
|
7
|
+
version = "1.0.1"
|
|
8
|
+
description = "Parcel GPS: cadastral parcels in 31 European countries and regions by reference, coordinates or Spanish address (official client, same as catastrogps)"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
license-files = ["LICENSE"]
|
|
12
|
+
requires-python = ">=3.9"
|
|
13
|
+
authors = [
|
|
14
|
+
{ name = "The Hidden Panda", email = "soporte@catastrogps.es" },
|
|
15
|
+
]
|
|
16
|
+
keywords = [
|
|
17
|
+
"cadastre", "cadastral", "parcel", "parcel-api", "land-registry",
|
|
18
|
+
"gis", "geojson", "europe", "real-estate",
|
|
19
|
+
]
|
|
20
|
+
classifiers = [
|
|
21
|
+
"Development Status :: 4 - Beta",
|
|
22
|
+
"Intended Audience :: Developers",
|
|
23
|
+
"Operating System :: OS Independent",
|
|
24
|
+
"Programming Language :: Python :: 3",
|
|
25
|
+
"Topic :: Scientific/Engineering :: GIS",
|
|
26
|
+
"Typing :: Typed",
|
|
27
|
+
]
|
|
28
|
+
dependencies = [
|
|
29
|
+
"catastrogps>=1.0.1,<2",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
Homepage = "https://www.parcelgps.com/developers"
|
|
34
|
+
Documentation = "https://www.parcelgps.com/developers"
|
|
35
|
+
Support = "https://www.parcelgps.com/developers"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import catastrogps
|
|
2
|
+
import parcelgps
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def test_parcelgps_is_the_catastrogps_client():
|
|
6
|
+
assert parcelgps.ParcelGPS is catastrogps.CatastroGPS
|
|
7
|
+
assert parcelgps.CatastroGPS is catastrogps.CatastroGPS
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def test_every_public_name_is_reexported():
|
|
11
|
+
for name in catastrogps.__all__:
|
|
12
|
+
assert getattr(parcelgps, name) is getattr(catastrogps, name)
|
|
13
|
+
assert "ParcelGPS" in parcelgps.__all__
|