Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/icalendar/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

12 statements  

1from icalendar.alarms import ( 

2 Alarms, 

3 AlarmTime, 

4) 

5from icalendar.cal import ( 

6 Alarm, 

7 Availability, 

8 Available, 

9 Calendar, 

10 Component, 

11 ComponentFactory, 

12 Event, 

13 FreeBusy, 

14 Journal, 

15 LazyCalendar, 

16 Timezone, 

17 TimezoneDaylight, 

18 TimezoneStandard, 

19 Todo, 

20) 

21from icalendar.enums import ( 

22 BUSYTYPE, 

23 CLASS, 

24 CUTYPE, 

25 FBTYPE, 

26 PARTSTAT, 

27 RANGE, 

28 RELATED, 

29 RELTYPE, 

30 ROLE, 

31 STATUS, 

32 TRANSP, 

33 VALUE, 

34) 

35from icalendar.error import ( 

36 BrokenCalendarProperty, 

37 ComponentEndMissing, 

38 ComponentStartMissing, 

39 FeatureWillBeRemovedInFutureVersion, 

40 GloballyUniqueTZIDGuessed, 

41 ICalParsingError, 

42 IncompleteAlarmInformation, 

43 IncompleteComponent, 

44 InvalidCalendar, 

45 JCalParsingError, 

46 LocalTimezoneMissing, 

47 XCalParsingError, 

48) 

49 

50# Parameters and helper methods for splitting and joining string with escaped 

51# chars. 

52from icalendar.parser import ( 

53 Parameters, 

54 q_join, 

55 q_split, 

56) 

57 

58# Property Data Value Types 

59from icalendar.prop import ( 

60 VPROPERTY, 

61 AdrFields, 

62 TypesFactory, 

63 vAdr, 

64 vBinary, 

65 vBoolean, 

66 vBroken, 

67 vCalAddress, 

68 vCategory, 

69 vDate, 

70 vDatetime, 

71 vDDDLists, 

72 vDDDTypes, 

73 vDuration, 

74 vFloat, 

75 vFrequency, 

76 vGeo, 

77 vInt, 

78 vMonth, 

79 vN, 

80 vOrg, 

81 vPeriod, 

82 vRecur, 

83 vSkip, 

84 vText, 

85 vTime, 

86 vUid, 

87 vUnknown, 

88 vUri, 

89 vUTCOffset, 

90 vWeekday, 

91 vXmlReference, 

92) 

93from icalendar.prop.conference import Conference 

94from icalendar.prop.image import Image 

95 

96# Switching the timezone provider 

97from icalendar.prop.n import NFields 

98from icalendar.timezone import is_utc, use_pytz, use_zoneinfo 

99 

100from .version import __version__, __version_tuple__, version, version_tuple 

101 

102__all__ = [ 

103 "BUSYTYPE", 

104 "CLASS", 

105 "CUTYPE", 

106 "FBTYPE", 

107 "PARTSTAT", 

108 "RANGE", 

109 "RELATED", 

110 "RELTYPE", 

111 "ROLE", 

112 "STATUS", 

113 "TRANSP", 

114 "VALUE", 

115 "VPROPERTY", 

116 "AdrFields", 

117 "Alarm", 

118 "AlarmTime", 

119 "Alarms", 

120 "Availability", 

121 "Available", 

122 "BrokenCalendarProperty", 

123 "Calendar", 

124 "Component", 

125 "ComponentEndMissing", 

126 "ComponentFactory", 

127 "ComponentStartMissing", 

128 "Conference", 

129 "Event", 

130 "FeatureWillBeRemovedInFutureVersion", 

131 "FreeBusy", 

132 "GloballyUniqueTZIDGuessed", 

133 "ICalParsingError", 

134 "Image", 

135 "IncompleteAlarmInformation", 

136 "IncompleteComponent", 

137 "InvalidCalendar", 

138 "JCalParsingError", 

139 "Journal", 

140 "LazyCalendar", 

141 "LocalTimezoneMissing", 

142 "NFields", 

143 "Parameters", 

144 "Timezone", 

145 "TimezoneDaylight", 

146 "TimezoneStandard", 

147 "Todo", 

148 "TypesFactory", 

149 "XCalParsingError", 

150 "__version__", 

151 "__version_tuple__", 

152 "is_utc", 

153 "q_join", 

154 "q_split", 

155 "use_pytz", 

156 "use_zoneinfo", 

157 "vAdr", 

158 "vBinary", 

159 "vBoolean", 

160 "vBroken", 

161 "vCalAddress", 

162 "vCategory", 

163 "vDDDLists", 

164 "vDDDTypes", 

165 "vDate", 

166 "vDatetime", 

167 "vDuration", 

168 "vFloat", 

169 "vFrequency", 

170 "vGeo", 

171 "vInt", 

172 "vMonth", 

173 "vN", 

174 "vOrg", 

175 "vPeriod", 

176 "vRecur", 

177 "vSkip", 

178 "vText", 

179 "vTime", 

180 "vUTCOffset", 

181 "vUid", 

182 "vUnknown", 

183 "vUri", 

184 "vWeekday", 

185 "vXmlReference", 

186 "version", 

187 "version_tuple", 

188]