Skip to content

Instantly share code, notes, and snippets.

View uar316025's full-sized avatar
🇺🇦

Y uar316025

🇺🇦
  • MASSAGE-2(A-B)b
View GitHub Profile

Keybase proof

I hereby claim:

  • I am uar316025 on github.
  • I am uar316061 (https://keybase.io/uar316061) on keybase.
  • I have a public key ASBkdRqyLe_0G1lTt0xNRDU5elbWcIHr4Qwq9fZb12em5Ao

To claim this, I am signing this object:

@uar316025
uar316025 / closest_to.py
Created August 21, 2020 09:43
ClosestTo utility class
from datetime import datetime, timedelta
DEFAULT_EPSILON = {
datetime: timedelta(seconds=5),
}
class ClosestTo:
"""Utility class to check value is closest to other"""