uk_bin_collection 0.82.1__py3-none-any.whl → 0.83.0__py3-none-any.whl
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.
- uk_bin_collection/tests/input.json +2 -2
- uk_bin_collection/uk_bin_collection/common.py +9 -0
- uk_bin_collection/uk_bin_collection/councils/GedlingBoroughCouncil.py +36 -1562
- {uk_bin_collection-0.82.1.dist-info → uk_bin_collection-0.83.0.dist-info}/METADATA +1 -1
- {uk_bin_collection-0.82.1.dist-info → uk_bin_collection-0.83.0.dist-info}/RECORD +8 -8
- {uk_bin_collection-0.82.1.dist-info → uk_bin_collection-0.83.0.dist-info}/LICENSE +0 -0
- {uk_bin_collection-0.82.1.dist-info → uk_bin_collection-0.83.0.dist-info}/WHEEL +0 -0
- {uk_bin_collection-0.82.1.dist-info → uk_bin_collection-0.83.0.dist-info}/entry_points.txt +0 -0
@@ -393,11 +393,11 @@
|
|
393
393
|
"wiki_note": "Pass the house name/number in the house number parameter, wrapped in double quotes"
|
394
394
|
},
|
395
395
|
"GedlingBoroughCouncil": {
|
396
|
-
"house_number": "
|
396
|
+
"house_number": "Friday G4, Friday J",
|
397
397
|
"skip_get_url": true,
|
398
398
|
"url": "https://www.gedling.gov.uk/",
|
399
399
|
"wiki_name": "Gedling Borough Council",
|
400
|
-
"wiki_note": "
|
400
|
+
"wiki_note": "Use [this site](https://www.gbcbincalendars.co.uk/) to find the collections for your address. Use the -n parameter to add them in a comma-separated list inside quotes, such as: 'Friday G4, Friday J'."
|
401
401
|
},
|
402
402
|
"GlasgowCityCouncil": {
|
403
403
|
"url": "https://www.glasgow.gov.uk/forms/refuseandrecyclingcalendar/PrintCalendar.aspx?UPRN=906700034497",
|
@@ -106,6 +106,15 @@ def get_date_with_ordinal(date_number: int) -> str:
|
|
106
106
|
else {1: "st", 2: "nd", 3: "rd"}.get(date_number % 10, "th")
|
107
107
|
)
|
108
108
|
|
109
|
+
def has_numbers(inputString: str) -> bool:
|
110
|
+
"""
|
111
|
+
|
112
|
+
:rtype: bool
|
113
|
+
:param inputString: String to check for numbers
|
114
|
+
:return: True if any numbers are found in input string
|
115
|
+
"""
|
116
|
+
return any(char.isdigit() for char in inputString)
|
117
|
+
|
109
118
|
|
110
119
|
def remove_ordinal_indicator_from_date_string(date_string: str) -> str:
|
111
120
|
"""
|