ebird-api 3.3.0__tar.gz → 3.4.0__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.
- {ebird_api-3.3.0 → ebird_api-3.4.0}/CHANGELOG.md +3 -0
- {ebird_api-3.3.0/src/ebird_api.egg-info → ebird_api-3.4.0}/PKG-INFO +1 -1
- {ebird_api-3.3.0 → ebird_api-3.4.0}/pyproject.toml +2 -2
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/__init__.py +1 -1
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/validation.py +6 -6
- {ebird_api-3.3.0 → ebird_api-3.4.0/src/ebird_api.egg-info}/PKG-INFO +1 -1
- {ebird_api-3.3.0 → ebird_api-3.4.0}/LICENSE.txt +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/README.md +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/setup.cfg +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/setup.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/checklists.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/client.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/constants.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/hotspots.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/observations.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/regions.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/species.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/statistics.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/taxonomy.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird/api/utils.py +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird_api.egg-info/SOURCES.txt +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird_api.egg-info/dependency_links.txt +0 -0
- {ebird_api-3.3.0 → ebird_api-3.4.0}/src/ebird_api.egg-info/top_level.txt +0 -0
|
@@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
|
8
8
|
This project adheres to [PEP440](https://www.python.org/dev/peps/pep-0440/)
|
|
9
9
|
and by implication, [Semantic Versioning](http://semver.org/).
|
|
10
10
|
|
|
11
|
+
## [3.4.0] - 2025-02-12
|
|
12
|
+
- Tighten definition of regexes to exclude lower case letters for region codes
|
|
13
|
+
|
|
11
14
|
## [3.3.0] - 2025-02-01
|
|
12
15
|
- Added get_location() which works like get_hotspot() but return data for
|
|
13
16
|
hotspots and private locations.
|
|
@@ -30,7 +30,7 @@ license = {text = "MIT License"}
|
|
|
30
30
|
name = "ebird-api"
|
|
31
31
|
readme = "README.md"
|
|
32
32
|
requires-python = ">= 3.8"
|
|
33
|
-
version = "3.
|
|
33
|
+
version = "3.4.0"
|
|
34
34
|
|
|
35
35
|
[project.urls]
|
|
36
36
|
Repository = "https://github.com/ProjectBabbler/ebird-api.git"
|
|
@@ -38,7 +38,7 @@ Issues = "https://github.com/ProjectBabbler/ebird-api/issues"
|
|
|
38
38
|
Changelog = "https://github.com/ProjectBabbler/ebird-api/blob/master/CHANGELOG.md"
|
|
39
39
|
|
|
40
40
|
[tool.bumpversion]
|
|
41
|
-
current_version = "3.
|
|
41
|
+
current_version = "3.4.0"
|
|
42
42
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
43
43
|
serialize = ["{major}.{minor}.{patch}"]
|
|
44
44
|
ignore_missing_version = false
|
|
@@ -23,22 +23,22 @@ class Transform(Enum):
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
def is_country(value):
|
|
26
|
-
return re.match(r"
|
|
26
|
+
return re.match(r"^[A-Z]{2}$", value)
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def is_subnational1(value):
|
|
30
|
-
return re.match(r"
|
|
30
|
+
return re.match(r"^[A-Z]{2}-[A-Z0-9]{2,3}$", value)
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
def is_subnational2(value):
|
|
34
|
-
return re.match(r"
|
|
34
|
+
return re.match(r"^[A-Z]{2}-[A-Z0-9]{2,3}-[A-Z0-9]{2,3}$", value)
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
def is_region(value):
|
|
38
38
|
return (
|
|
39
|
-
re.match(r"
|
|
40
|
-
or re.match(r"
|
|
41
|
-
or re.match(r"
|
|
39
|
+
re.match(r"^[A-Z]{2}$", value)
|
|
40
|
+
or re.match(r"^[A-Z]{2}-[A-Z0-9]{2,3}$", value)
|
|
41
|
+
or re.match(r"^[A-Z]{2}-[A-Z0-9]{2,3}-[A-Z0-9]{2,3}$", value)
|
|
42
42
|
)
|
|
43
43
|
|
|
44
44
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|