Benign openbsd Download

devel/py-holidays 0.104

Bundled Python dependency library pathPython holidays country calendar module

Evidence

Gmail consumer email domain suffix lines 7–20
7:55see CONTRIBUTORS file)
8# dr-prodigy <dr.prodigy.github@gmail.com> (c) 2017-2023
9# ryanss <[email protected]> (c) 2014-2017
10# Website: https://github.com/vacanza/holidays
11# License: MIT (see LICENSE file)
12
8 lines
Python getattr dynamic attribute lookup lines 357–360
357:16al holidays validation.
358 if (has_substituted_holidays := getattr(self, "has_substituted_holidays", False)) and (
359 not getattr(self, "substituted_label", None)
360 or not get
Calls Python __getattribute__ directly lines 449–454
449:2 def __getattr__(self, name):
450 try:
451 return self.__getattribute__(name)
452 except AttributeError as e:
453 # This part is responsible for _add_holiday_* syntactic sugar support.
454
Python timezone.utc reference lines 652–657
652:26ey, (float, int)):
653 dt = datetime.fromtimestamp(key, timezone.utc).date()
654
655 # Key is not supported.
656 else:
657 raise TypeError(f"Cannot convert type '{type(key)}' to date.
Explicit .__str__() dunder invocation lines 733–739
733:10_str__(self) -> str:
734 if self:
735 return super().__str__()
736
737 parts = (
738 f"'{attribute_name}': {getattr(self, attribute_name, None)}"
739 for attribute_name in s

Showing the top 5 files — 8 more files (66 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.