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.
@@ -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": "Valeside Gardens",
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": "Pass the street name into the -n parameter. Use [this](https://apps.gedling.gov.uk/refuse/search.aspx) to help work out a street search that is unique. Known issues: 1) If multiple streets returned, it will pick the first and these may have different bin schedules. 2) This data is hand entered as council only provide non-parseable non-accessible PDFs - Please double check for any issues. 2b) Data is only included until end of Nov 2024 (refuse) and March 2024 (Garden). Data will need to be updated by hand after these dates."
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
  """