ZTWHHH commited on
Commit
3e8f71c
·
verified ·
1 Parent(s): 3f1d943

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. parrot/lib/python3.10/html/__pycache__/entities.cpython-310.pyc +3 -0
  3. parrot/share/terminfo/k/kterm-co +0 -0
  4. parrot/share/terminfo/s/sb1 +0 -0
  5. parrot/share/terminfo/s/sb3 +0 -0
  6. parrot/share/terminfo/s/sc415 +0 -0
  7. parrot/share/terminfo/s/scoansi +0 -0
  8. parrot/share/terminfo/s/scoansi-old +0 -0
  9. parrot/share/terminfo/s/screen +0 -0
  10. parrot/share/terminfo/s/screen+fkeys +0 -0
  11. parrot/share/terminfo/s/screen+italics +0 -0
  12. parrot/share/terminfo/s/screen-16color +0 -0
  13. parrot/share/terminfo/s/screen-16color-s +0 -0
  14. parrot/share/terminfo/s/screen-256color-bce +0 -0
  15. parrot/share/terminfo/s/screen-256color-s +0 -0
  16. parrot/share/terminfo/s/screen-base +0 -0
  17. parrot/share/terminfo/s/screen-bce.gnome +0 -0
  18. parrot/share/terminfo/s/screen-bce.linux +0 -0
  19. parrot/share/terminfo/s/screen-bce.mrxvt +0 -0
  20. parrot/share/terminfo/s/screen-w +0 -0
  21. parrot/share/terminfo/s/screen.Eterm +0 -0
  22. parrot/share/terminfo/s/screen.linux +0 -0
  23. parrot/share/terminfo/s/screen.linux-m1 +0 -0
  24. parrot/share/terminfo/s/screen.linux-m2 +0 -0
  25. parrot/share/terminfo/s/screen.minitel1-nb +0 -0
  26. parrot/share/terminfo/s/screen.minitel1b-80 +0 -0
  27. parrot/share/terminfo/s/screen.minitel2-80 +0 -0
  28. parrot/share/terminfo/s/screen.putty-m1 +0 -0
  29. parrot/share/terminfo/s/screen.xterm-new +0 -0
  30. parrot/share/terminfo/s/scrhp +0 -0
  31. parrot/share/terminfo/s/scrt +0 -0
  32. parrot/share/terminfo/s/securecrt +0 -0
  33. parrot/share/terminfo/s/st-0.7 +0 -0
  34. parrot/share/terminfo/s/st-0.8 +0 -0
  35. parrot/share/terminfo/s/st52-color +0 -0
  36. parrot/share/terminfo/s/st52-old +0 -0
  37. parrot/share/terminfo/s/stv52 +0 -0
  38. parrot/share/terminfo/s/stv52pc +0 -0
  39. parrot/share/terminfo/s/sun+sl +0 -0
  40. parrot/share/terminfo/s/sun-e +0 -0
  41. parrot/share/terminfo/s/sun-il +0 -0
  42. parrot/share/terminfo/s/sun-s +0 -0
  43. parrot/share/terminfo/s/sun-s-e +0 -0
  44. parrot/share/terminfo/s/swtp +0 -0
  45. parrot/share/terminfo/s/system1 +0 -0
  46. videollama2/lib/python3.10/site-packages/altair/__init__.py +661 -0
  47. videollama2/lib/python3.10/site-packages/altair/_magics.py +110 -0
  48. videollama2/lib/python3.10/site-packages/altair/jupyter/__init__.py +21 -0
  49. videollama2/lib/python3.10/site-packages/altair/jupyter/__pycache__/__init__.cpython-310.pyc +0 -0
  50. videollama2/lib/python3.10/site-packages/altair/jupyter/__pycache__/jupyter_chart.cpython-310.pyc +0 -0
.gitattributes CHANGED
@@ -965,3 +965,4 @@ parrot/lib/python3.10/lib-dynload/_asyncio.cpython-310-x86_64-linux-gnu.so filte
965
  parrot/lib/python3.10/lib-dynload/_blake2.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
966
  vllm/lib/python3.10/site-packages/pandas/tests/frame/__pycache__/test_constructors.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
967
  openflamingo/lib/python3.10/site-packages/3204bda914b7f2c6f497__mypyc.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
 
 
965
  parrot/lib/python3.10/lib-dynload/_blake2.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
966
  vllm/lib/python3.10/site-packages/pandas/tests/frame/__pycache__/test_constructors.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
967
  openflamingo/lib/python3.10/site-packages/3204bda914b7f2c6f497__mypyc.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
968
+ parrot/lib/python3.10/html/__pycache__/entities.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
parrot/lib/python3.10/html/__pycache__/entities.cpython-310.pyc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f639bcf090e65d074c5c56fa79ad59fe482e2ff1716c63f7358c850eec8067d5
3
+ size 144684
parrot/share/terminfo/k/kterm-co ADDED
Binary file (1.68 kB). View file
 
parrot/share/terminfo/s/sb1 ADDED
Binary file (705 Bytes). View file
 
parrot/share/terminfo/s/sb3 ADDED
Binary file (628 Bytes). View file
 
parrot/share/terminfo/s/sc415 ADDED
Binary file (467 Bytes). View file
 
parrot/share/terminfo/s/scoansi ADDED
Binary file (1.58 kB). View file
 
parrot/share/terminfo/s/scoansi-old ADDED
Binary file (1.59 kB). View file
 
parrot/share/terminfo/s/screen ADDED
Binary file (1.61 kB). View file
 
parrot/share/terminfo/s/screen+fkeys ADDED
Binary file (474 Bytes). View file
 
parrot/share/terminfo/s/screen+italics ADDED
Binary file (702 Bytes). View file
 
parrot/share/terminfo/s/screen-16color ADDED
Binary file (1.88 kB). View file
 
parrot/share/terminfo/s/screen-16color-s ADDED
Binary file (1.91 kB). View file
 
parrot/share/terminfo/s/screen-256color-bce ADDED
Binary file (1.76 kB). View file
 
parrot/share/terminfo/s/screen-256color-s ADDED
Binary file (1.78 kB). View file
 
parrot/share/terminfo/s/screen-base ADDED
Binary file (1.61 kB). View file
 
parrot/share/terminfo/s/screen-bce.gnome ADDED
Binary file (3.15 kB). View file
 
parrot/share/terminfo/s/screen-bce.linux ADDED
Binary file (1.75 kB). View file
 
parrot/share/terminfo/s/screen-bce.mrxvt ADDED
Binary file (3.14 kB). View file
 
parrot/share/terminfo/s/screen-w ADDED
Binary file (1.62 kB). View file
 
parrot/share/terminfo/s/screen.Eterm ADDED
Binary file (2.26 kB). View file
 
parrot/share/terminfo/s/screen.linux ADDED
Binary file (1.75 kB). View file
 
parrot/share/terminfo/s/screen.linux-m1 ADDED
Binary file (1.97 kB). View file
 
parrot/share/terminfo/s/screen.linux-m2 ADDED
Binary file (1.91 kB). View file
 
parrot/share/terminfo/s/screen.minitel1-nb ADDED
Binary file (1.66 kB). View file
 
parrot/share/terminfo/s/screen.minitel1b-80 ADDED
Binary file (1.76 kB). View file
 
parrot/share/terminfo/s/screen.minitel2-80 ADDED
Binary file (1.76 kB). View file
 
parrot/share/terminfo/s/screen.putty-m1 ADDED
Binary file (1.77 kB). View file
 
parrot/share/terminfo/s/screen.xterm-new ADDED
Binary file (3.72 kB). View file
 
parrot/share/terminfo/s/scrhp ADDED
Binary file (1.1 kB). View file
 
parrot/share/terminfo/s/scrt ADDED
Binary file (3.47 kB). View file
 
parrot/share/terminfo/s/securecrt ADDED
Binary file (3.47 kB). View file
 
parrot/share/terminfo/s/st-0.7 ADDED
Binary file (2.73 kB). View file
 
parrot/share/terminfo/s/st-0.8 ADDED
Binary file (2.64 kB). View file
 
parrot/share/terminfo/s/st52-color ADDED
Binary file (1.97 kB). View file
 
parrot/share/terminfo/s/st52-old ADDED
Binary file (562 Bytes). View file
 
parrot/share/terminfo/s/stv52 ADDED
Binary file (916 Bytes). View file
 
parrot/share/terminfo/s/stv52pc ADDED
Binary file (848 Bytes). View file
 
parrot/share/terminfo/s/sun+sl ADDED
Binary file (349 Bytes). View file
 
parrot/share/terminfo/s/sun-e ADDED
Binary file (1.02 kB). View file
 
parrot/share/terminfo/s/sun-il ADDED
Binary file (1 kB). View file
 
parrot/share/terminfo/s/sun-s ADDED
Binary file (1.02 kB). View file
 
parrot/share/terminfo/s/sun-s-e ADDED
Binary file (1.03 kB). View file
 
parrot/share/terminfo/s/swtp ADDED
Binary file (400 Bytes). View file
 
parrot/share/terminfo/s/system1 ADDED
Binary file (376 Bytes). View file
 
videollama2/lib/python3.10/site-packages/altair/__init__.py ADDED
@@ -0,0 +1,661 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ruff: noqa
2
+ __version__ = "5.4.1"
3
+
4
+ # The content of __all__ is automatically written by
5
+ # tools/update_init_file.py. Do not modify directly.
6
+ __all__ = [
7
+ "Aggregate",
8
+ "AggregateOp",
9
+ "AggregateTransform",
10
+ "AggregatedFieldDef",
11
+ "Align",
12
+ "AllSortString",
13
+ "AltairDeprecationWarning",
14
+ "Angle",
15
+ "AngleDatum",
16
+ "AngleValue",
17
+ "AnyMark",
18
+ "AnyMarkConfig",
19
+ "AreaConfig",
20
+ "ArgmaxDef",
21
+ "ArgminDef",
22
+ "AutoSizeParams",
23
+ "AutosizeType",
24
+ "Axis",
25
+ "AxisConfig",
26
+ "AxisOrient",
27
+ "AxisResolveMap",
28
+ "BBox",
29
+ "BarConfig",
30
+ "BaseTitleNoValueRefs",
31
+ "Baseline",
32
+ "Bin",
33
+ "BinExtent",
34
+ "BinParams",
35
+ "BinTransform",
36
+ "BindCheckbox",
37
+ "BindDirect",
38
+ "BindInput",
39
+ "BindRadioSelect",
40
+ "BindRange",
41
+ "Binding",
42
+ "BinnedTimeUnit",
43
+ "Blend",
44
+ "BoxPlot",
45
+ "BoxPlotConfig",
46
+ "BoxPlotDef",
47
+ "BrushConfig",
48
+ "CalculateTransform",
49
+ "Categorical",
50
+ "ChainedWhen",
51
+ "Chart",
52
+ "ChartDataType",
53
+ "Color",
54
+ "ColorDatum",
55
+ "ColorDef",
56
+ "ColorName",
57
+ "ColorScheme",
58
+ "ColorValue",
59
+ "Column",
60
+ "CompositeMark",
61
+ "CompositeMarkDef",
62
+ "CompositionConfig",
63
+ "ConcatChart",
64
+ "ConcatSpecGenericSpec",
65
+ "ConditionalAxisColor",
66
+ "ConditionalAxisLabelAlign",
67
+ "ConditionalAxisLabelBaseline",
68
+ "ConditionalAxisLabelFontStyle",
69
+ "ConditionalAxisLabelFontWeight",
70
+ "ConditionalAxisNumber",
71
+ "ConditionalAxisNumberArray",
72
+ "ConditionalAxisPropertyAlignnull",
73
+ "ConditionalAxisPropertyColornull",
74
+ "ConditionalAxisPropertyFontStylenull",
75
+ "ConditionalAxisPropertyFontWeightnull",
76
+ "ConditionalAxisPropertyTextBaselinenull",
77
+ "ConditionalAxisPropertynumberArraynull",
78
+ "ConditionalAxisPropertynumbernull",
79
+ "ConditionalAxisPropertystringnull",
80
+ "ConditionalAxisString",
81
+ "ConditionalMarkPropFieldOrDatumDef",
82
+ "ConditionalMarkPropFieldOrDatumDefTypeForShape",
83
+ "ConditionalParameterMarkPropFieldOrDatumDef",
84
+ "ConditionalParameterMarkPropFieldOrDatumDefTypeForShape",
85
+ "ConditionalParameterStringFieldDef",
86
+ "ConditionalParameterValueDefGradientstringnullExprRef",
87
+ "ConditionalParameterValueDefTextExprRef",
88
+ "ConditionalParameterValueDefnumber",
89
+ "ConditionalParameterValueDefnumberArrayExprRef",
90
+ "ConditionalParameterValueDefnumberExprRef",
91
+ "ConditionalParameterValueDefstringExprRef",
92
+ "ConditionalParameterValueDefstringnullExprRef",
93
+ "ConditionalPredicateMarkPropFieldOrDatumDef",
94
+ "ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape",
95
+ "ConditionalPredicateStringFieldDef",
96
+ "ConditionalPredicateValueDefAlignnullExprRef",
97
+ "ConditionalPredicateValueDefColornullExprRef",
98
+ "ConditionalPredicateValueDefFontStylenullExprRef",
99
+ "ConditionalPredicateValueDefFontWeightnullExprRef",
100
+ "ConditionalPredicateValueDefGradientstringnullExprRef",
101
+ "ConditionalPredicateValueDefTextBaselinenullExprRef",
102
+ "ConditionalPredicateValueDefTextExprRef",
103
+ "ConditionalPredicateValueDefnumber",
104
+ "ConditionalPredicateValueDefnumberArrayExprRef",
105
+ "ConditionalPredicateValueDefnumberArraynullExprRef",
106
+ "ConditionalPredicateValueDefnumberExprRef",
107
+ "ConditionalPredicateValueDefnumbernullExprRef",
108
+ "ConditionalPredicateValueDefstringExprRef",
109
+ "ConditionalPredicateValueDefstringnullExprRef",
110
+ "ConditionalStringFieldDef",
111
+ "ConditionalValueDefGradientstringnullExprRef",
112
+ "ConditionalValueDefTextExprRef",
113
+ "ConditionalValueDefnumber",
114
+ "ConditionalValueDefnumberArrayExprRef",
115
+ "ConditionalValueDefnumberExprRef",
116
+ "ConditionalValueDefstringExprRef",
117
+ "ConditionalValueDefstringnullExprRef",
118
+ "Config",
119
+ "CsvDataFormat",
120
+ "Cursor",
121
+ "Cyclical",
122
+ "Data",
123
+ "DataFormat",
124
+ "DataSource",
125
+ "DataType",
126
+ "Datasets",
127
+ "DateTime",
128
+ "DatumChannelMixin",
129
+ "DatumDef",
130
+ "Day",
131
+ "DensityTransform",
132
+ "DerivedStream",
133
+ "Description",
134
+ "DescriptionValue",
135
+ "Detail",
136
+ "Dict",
137
+ "DictInlineDataset",
138
+ "DictSelectionInit",
139
+ "DictSelectionInitInterval",
140
+ "Diverging",
141
+ "DomainUnionWith",
142
+ "DsvDataFormat",
143
+ "Element",
144
+ "Encoding",
145
+ "EncodingSortField",
146
+ "ErrorBand",
147
+ "ErrorBandConfig",
148
+ "ErrorBandDef",
149
+ "ErrorBar",
150
+ "ErrorBarConfig",
151
+ "ErrorBarDef",
152
+ "ErrorBarExtent",
153
+ "EventStream",
154
+ "EventType",
155
+ "Expr",
156
+ "ExprRef",
157
+ "ExtentTransform",
158
+ "Facet",
159
+ "FacetChart",
160
+ "FacetEncodingFieldDef",
161
+ "FacetFieldDef",
162
+ "FacetMapping",
163
+ "FacetSpec",
164
+ "FacetedEncoding",
165
+ "FacetedUnitSpec",
166
+ "Feature",
167
+ "FeatureCollection",
168
+ "FeatureGeometryGeoJsonProperties",
169
+ "Field",
170
+ "FieldChannelMixin",
171
+ "FieldDefWithoutScale",
172
+ "FieldEqualPredicate",
173
+ "FieldGTEPredicate",
174
+ "FieldGTPredicate",
175
+ "FieldLTEPredicate",
176
+ "FieldLTPredicate",
177
+ "FieldName",
178
+ "FieldOneOfPredicate",
179
+ "FieldOrDatumDefWithConditionDatumDefGradientstringnull",
180
+ "FieldOrDatumDefWithConditionDatumDefnumber",
181
+ "FieldOrDatumDefWithConditionDatumDefnumberArray",
182
+ "FieldOrDatumDefWithConditionDatumDefstringnull",
183
+ "FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull",
184
+ "FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull",
185
+ "FieldOrDatumDefWithConditionMarkPropFieldDefnumber",
186
+ "FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray",
187
+ "FieldOrDatumDefWithConditionStringDatumDefText",
188
+ "FieldOrDatumDefWithConditionStringFieldDefText",
189
+ "FieldOrDatumDefWithConditionStringFieldDefstring",
190
+ "FieldRange",
191
+ "FieldRangePredicate",
192
+ "FieldValidPredicate",
193
+ "Fill",
194
+ "FillDatum",
195
+ "FillOpacity",
196
+ "FillOpacityDatum",
197
+ "FillOpacityValue",
198
+ "FillValue",
199
+ "FilterTransform",
200
+ "Fit",
201
+ "FlattenTransform",
202
+ "FoldTransform",
203
+ "FontStyle",
204
+ "FontWeight",
205
+ "FormatConfig",
206
+ "Generator",
207
+ "GenericUnitSpecEncodingAnyMark",
208
+ "GeoJsonFeature",
209
+ "GeoJsonFeatureCollection",
210
+ "GeoJsonProperties",
211
+ "Geometry",
212
+ "GeometryCollection",
213
+ "Gradient",
214
+ "GradientStop",
215
+ "GraticuleGenerator",
216
+ "GraticuleParams",
217
+ "HConcatChart",
218
+ "HConcatSpecGenericSpec",
219
+ "Header",
220
+ "HeaderConfig",
221
+ "HexColor",
222
+ "Href",
223
+ "HrefValue",
224
+ "Impute",
225
+ "ImputeMethod",
226
+ "ImputeParams",
227
+ "ImputeSequence",
228
+ "ImputeTransform",
229
+ "InlineData",
230
+ "InlineDataset",
231
+ "Interpolate",
232
+ "IntervalSelectionConfig",
233
+ "IntervalSelectionConfigWithoutType",
234
+ "JoinAggregateFieldDef",
235
+ "JoinAggregateTransform",
236
+ "JsonDataFormat",
237
+ "JupyterChart",
238
+ "Key",
239
+ "LabelOverlap",
240
+ "LatLongDef",
241
+ "LatLongFieldDef",
242
+ "Latitude",
243
+ "Latitude2",
244
+ "Latitude2Datum",
245
+ "Latitude2Value",
246
+ "LatitudeDatum",
247
+ "LayerChart",
248
+ "LayerRepeatMapping",
249
+ "LayerRepeatSpec",
250
+ "LayerSpec",
251
+ "LayoutAlign",
252
+ "Legend",
253
+ "LegendBinding",
254
+ "LegendConfig",
255
+ "LegendOrient",
256
+ "LegendResolveMap",
257
+ "LegendStreamBinding",
258
+ "LineConfig",
259
+ "LineString",
260
+ "LinearGradient",
261
+ "LocalMultiTimeUnit",
262
+ "LocalSingleTimeUnit",
263
+ "Locale",
264
+ "LoessTransform",
265
+ "LogicalAndPredicate",
266
+ "LogicalNotPredicate",
267
+ "LogicalOrPredicate",
268
+ "Longitude",
269
+ "Longitude2",
270
+ "Longitude2Datum",
271
+ "Longitude2Value",
272
+ "LongitudeDatum",
273
+ "LookupData",
274
+ "LookupSelection",
275
+ "LookupTransform",
276
+ "Mark",
277
+ "MarkConfig",
278
+ "MarkDef",
279
+ "MarkInvalidDataMode",
280
+ "MarkPropDefGradientstringnull",
281
+ "MarkPropDefnumber",
282
+ "MarkPropDefnumberArray",
283
+ "MarkPropDefstringnullTypeForShape",
284
+ "MarkType",
285
+ "MaxRowsError",
286
+ "MergedStream",
287
+ "Month",
288
+ "MultiLineString",
289
+ "MultiPoint",
290
+ "MultiPolygon",
291
+ "MultiTimeUnit",
292
+ "NamedData",
293
+ "NonArgAggregateOp",
294
+ "NonLayerRepeatSpec",
295
+ "NonNormalizedSpec",
296
+ "NumberLocale",
297
+ "NumericArrayMarkPropDef",
298
+ "NumericMarkPropDef",
299
+ "OffsetDef",
300
+ "Opacity",
301
+ "OpacityDatum",
302
+ "OpacityValue",
303
+ "Order",
304
+ "OrderFieldDef",
305
+ "OrderOnlyDef",
306
+ "OrderValue",
307
+ "OrderValueDef",
308
+ "Orient",
309
+ "Orientation",
310
+ "OverlayMarkDef",
311
+ "Padding",
312
+ "Parameter",
313
+ "ParameterExpression",
314
+ "ParameterExtent",
315
+ "ParameterName",
316
+ "ParameterPredicate",
317
+ "Parse",
318
+ "ParseValue",
319
+ "PivotTransform",
320
+ "Point",
321
+ "PointSelectionConfig",
322
+ "PointSelectionConfigWithoutType",
323
+ "PolarDef",
324
+ "Polygon",
325
+ "Position",
326
+ "Position2Def",
327
+ "PositionDatumDef",
328
+ "PositionDatumDefBase",
329
+ "PositionDef",
330
+ "PositionFieldDef",
331
+ "PositionFieldDefBase",
332
+ "PositionValueDef",
333
+ "Predicate",
334
+ "PredicateComposition",
335
+ "PrimitiveValue",
336
+ "Projection",
337
+ "ProjectionConfig",
338
+ "ProjectionType",
339
+ "QuantileTransform",
340
+ "RadialGradient",
341
+ "Radius",
342
+ "Radius2",
343
+ "Radius2Datum",
344
+ "Radius2Value",
345
+ "RadiusDatum",
346
+ "RadiusValue",
347
+ "RangeConfig",
348
+ "RangeEnum",
349
+ "RangeRaw",
350
+ "RangeRawArray",
351
+ "RangeScheme",
352
+ "RectConfig",
353
+ "RegressionTransform",
354
+ "RelativeBandSize",
355
+ "RepeatChart",
356
+ "RepeatMapping",
357
+ "RepeatRef",
358
+ "RepeatSpec",
359
+ "Resolve",
360
+ "ResolveMode",
361
+ "Root",
362
+ "Row",
363
+ "RowColLayoutAlign",
364
+ "RowColboolean",
365
+ "RowColnumber",
366
+ "RowColumnEncodingFieldDef",
367
+ "SCHEMA_URL",
368
+ "SCHEMA_VERSION",
369
+ "SampleTransform",
370
+ "Scale",
371
+ "ScaleBinParams",
372
+ "ScaleBins",
373
+ "ScaleConfig",
374
+ "ScaleDatumDef",
375
+ "ScaleFieldDef",
376
+ "ScaleInterpolateEnum",
377
+ "ScaleInterpolateParams",
378
+ "ScaleInvalidDataConfig",
379
+ "ScaleInvalidDataShowAsValueangle",
380
+ "ScaleInvalidDataShowAsValuecolor",
381
+ "ScaleInvalidDataShowAsValuefill",
382
+ "ScaleInvalidDataShowAsValuefillOpacity",
383
+ "ScaleInvalidDataShowAsValueopacity",
384
+ "ScaleInvalidDataShowAsValueradius",
385
+ "ScaleInvalidDataShowAsValueshape",
386
+ "ScaleInvalidDataShowAsValuesize",
387
+ "ScaleInvalidDataShowAsValuestroke",
388
+ "ScaleInvalidDataShowAsValuestrokeDash",
389
+ "ScaleInvalidDataShowAsValuestrokeOpacity",
390
+ "ScaleInvalidDataShowAsValuestrokeWidth",
391
+ "ScaleInvalidDataShowAsValuetheta",
392
+ "ScaleInvalidDataShowAsValuex",
393
+ "ScaleInvalidDataShowAsValuexOffset",
394
+ "ScaleInvalidDataShowAsValuey",
395
+ "ScaleInvalidDataShowAsValueyOffset",
396
+ "ScaleInvalidDataShowAsangle",
397
+ "ScaleInvalidDataShowAscolor",
398
+ "ScaleInvalidDataShowAsfill",
399
+ "ScaleInvalidDataShowAsfillOpacity",
400
+ "ScaleInvalidDataShowAsopacity",
401
+ "ScaleInvalidDataShowAsradius",
402
+ "ScaleInvalidDataShowAsshape",
403
+ "ScaleInvalidDataShowAssize",
404
+ "ScaleInvalidDataShowAsstroke",
405
+ "ScaleInvalidDataShowAsstrokeDash",
406
+ "ScaleInvalidDataShowAsstrokeOpacity",
407
+ "ScaleInvalidDataShowAsstrokeWidth",
408
+ "ScaleInvalidDataShowAstheta",
409
+ "ScaleInvalidDataShowAsx",
410
+ "ScaleInvalidDataShowAsxOffset",
411
+ "ScaleInvalidDataShowAsy",
412
+ "ScaleInvalidDataShowAsyOffset",
413
+ "ScaleResolveMap",
414
+ "ScaleType",
415
+ "SchemaBase",
416
+ "SchemeParams",
417
+ "SecondaryFieldDef",
418
+ "SelectionConfig",
419
+ "SelectionExpression",
420
+ "SelectionInit",
421
+ "SelectionInitInterval",
422
+ "SelectionInitIntervalMapping",
423
+ "SelectionInitMapping",
424
+ "SelectionParameter",
425
+ "SelectionPredicateComposition",
426
+ "SelectionResolution",
427
+ "SelectionType",
428
+ "SequenceGenerator",
429
+ "SequenceParams",
430
+ "SequentialMultiHue",
431
+ "SequentialSingleHue",
432
+ "Shape",
433
+ "ShapeDatum",
434
+ "ShapeDef",
435
+ "ShapeValue",
436
+ "SharedEncoding",
437
+ "SingleDefUnitChannel",
438
+ "SingleTimeUnit",
439
+ "Size",
440
+ "SizeDatum",
441
+ "SizeValue",
442
+ "Sort",
443
+ "SortArray",
444
+ "SortByChannel",
445
+ "SortByChannelDesc",
446
+ "SortByEncoding",
447
+ "SortField",
448
+ "SortOrder",
449
+ "Spec",
450
+ "SphereGenerator",
451
+ "StackOffset",
452
+ "StackTransform",
453
+ "StandardType",
454
+ "Step",
455
+ "StepFor",
456
+ "Stream",
457
+ "StringFieldDef",
458
+ "StringFieldDefWithCondition",
459
+ "StringValueDefWithCondition",
460
+ "Stroke",
461
+ "StrokeCap",
462
+ "StrokeDash",
463
+ "StrokeDashDatum",
464
+ "StrokeDashValue",
465
+ "StrokeDatum",
466
+ "StrokeJoin",
467
+ "StrokeOpacity",
468
+ "StrokeOpacityDatum",
469
+ "StrokeOpacityValue",
470
+ "StrokeValue",
471
+ "StrokeWidth",
472
+ "StrokeWidthDatum",
473
+ "StrokeWidthValue",
474
+ "StyleConfigIndex",
475
+ "SymbolShape",
476
+ "TOPLEVEL_ONLY_KEYS",
477
+ "Text",
478
+ "TextBaseline",
479
+ "TextDatum",
480
+ "TextDef",
481
+ "TextDirection",
482
+ "TextValue",
483
+ "Then",
484
+ "Theta",
485
+ "Theta2",
486
+ "Theta2Datum",
487
+ "Theta2Value",
488
+ "ThetaDatum",
489
+ "ThetaValue",
490
+ "TickConfig",
491
+ "TickCount",
492
+ "TimeInterval",
493
+ "TimeIntervalStep",
494
+ "TimeLocale",
495
+ "TimeUnit",
496
+ "TimeUnitParams",
497
+ "TimeUnitTransform",
498
+ "TimeUnitTransformParams",
499
+ "Title",
500
+ "TitleAnchor",
501
+ "TitleConfig",
502
+ "TitleFrame",
503
+ "TitleOrient",
504
+ "TitleParams",
505
+ "Tooltip",
506
+ "TooltipContent",
507
+ "TooltipValue",
508
+ "TopLevelConcatSpec",
509
+ "TopLevelFacetSpec",
510
+ "TopLevelHConcatSpec",
511
+ "TopLevelLayerSpec",
512
+ "TopLevelMixin",
513
+ "TopLevelParameter",
514
+ "TopLevelRepeatSpec",
515
+ "TopLevelSelectionParameter",
516
+ "TopLevelSpec",
517
+ "TopLevelUnitSpec",
518
+ "TopLevelVConcatSpec",
519
+ "TopoDataFormat",
520
+ "Transform",
521
+ "Type",
522
+ "TypeForShape",
523
+ "TypedFieldDef",
524
+ "URI",
525
+ "Undefined",
526
+ "UnitSpec",
527
+ "UnitSpecWithFrame",
528
+ "Url",
529
+ "UrlData",
530
+ "UrlValue",
531
+ "UtcMultiTimeUnit",
532
+ "UtcSingleTimeUnit",
533
+ "VConcatChart",
534
+ "VConcatSpecGenericSpec",
535
+ "VEGAEMBED_VERSION",
536
+ "VEGALITE_VERSION",
537
+ "VEGA_VERSION",
538
+ "ValueChannelMixin",
539
+ "ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull",
540
+ "ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull",
541
+ "ValueDefWithConditionMarkPropFieldOrDatumDefnumber",
542
+ "ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray",
543
+ "ValueDefWithConditionMarkPropFieldOrDatumDefstringnull",
544
+ "ValueDefWithConditionStringFieldDefText",
545
+ "ValueDefnumber",
546
+ "ValueDefnumberwidthheightExprRef",
547
+ "VariableParameter",
548
+ "Vector10string",
549
+ "Vector12string",
550
+ "Vector2DateTime",
551
+ "Vector2Vector2number",
552
+ "Vector2boolean",
553
+ "Vector2number",
554
+ "Vector2string",
555
+ "Vector3number",
556
+ "Vector7string",
557
+ "VegaLite",
558
+ "VegaLiteSchema",
559
+ "ViewBackground",
560
+ "ViewConfig",
561
+ "When",
562
+ "WindowEventType",
563
+ "WindowFieldDef",
564
+ "WindowOnlyOp",
565
+ "WindowTransform",
566
+ "X",
567
+ "X2",
568
+ "X2Datum",
569
+ "X2Value",
570
+ "XDatum",
571
+ "XError",
572
+ "XError2",
573
+ "XError2Value",
574
+ "XErrorValue",
575
+ "XOffset",
576
+ "XOffsetDatum",
577
+ "XOffsetValue",
578
+ "XValue",
579
+ "Y",
580
+ "Y2",
581
+ "Y2Datum",
582
+ "Y2Value",
583
+ "YDatum",
584
+ "YError",
585
+ "YError2",
586
+ "YError2Value",
587
+ "YErrorValue",
588
+ "YOffset",
589
+ "YOffsetDatum",
590
+ "YOffsetValue",
591
+ "YValue",
592
+ "api",
593
+ "binding",
594
+ "binding_checkbox",
595
+ "binding_radio",
596
+ "binding_range",
597
+ "binding_select",
598
+ "channels",
599
+ "check_fields_and_encodings",
600
+ "compiler",
601
+ "concat",
602
+ "condition",
603
+ "core",
604
+ "data",
605
+ "data_transformers",
606
+ "datum",
607
+ "default_data_transformer",
608
+ "display",
609
+ "expr",
610
+ "graticule",
611
+ "hconcat",
612
+ "jupyter",
613
+ "layer",
614
+ "limit_rows",
615
+ "load_ipython_extension",
616
+ "load_schema",
617
+ "mixins",
618
+ "param",
619
+ "parse_shorthand",
620
+ "renderers",
621
+ "repeat",
622
+ "sample",
623
+ "schema",
624
+ "selection_interval",
625
+ "selection_point",
626
+ "sequence",
627
+ "sphere",
628
+ "theme",
629
+ "themes",
630
+ "to_csv",
631
+ "to_json",
632
+ "to_values",
633
+ "topo_feature",
634
+ "typing",
635
+ "utils",
636
+ "v5",
637
+ "value",
638
+ "vconcat",
639
+ "vegalite",
640
+ "vegalite_compilers",
641
+ "when",
642
+ "with_property_setters",
643
+ ]
644
+
645
+
646
+ def __dir__():
647
+ return __all__
648
+
649
+
650
+ from altair.vegalite import *
651
+ from altair.vegalite.v5.schema.core import Dict
652
+ from altair.jupyter import JupyterChart
653
+ from altair.expr import expr
654
+ from altair.utils import AltairDeprecationWarning, parse_shorthand, Undefined
655
+ from altair import typing
656
+
657
+
658
+ def load_ipython_extension(ipython):
659
+ from altair._magics import vegalite
660
+
661
+ ipython.register_magic_function(vegalite, "cell")
videollama2/lib/python3.10/site-packages/altair/_magics.py ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Magic functions for rendering vega-lite specifications."""
2
+
3
+ __all__ = ["vegalite"]
4
+
5
+ import json
6
+ import warnings
7
+
8
+ import IPython
9
+ from IPython.core import magic_arguments
10
+ from narwhals.dependencies import is_pandas_dataframe as _is_pandas_dataframe
11
+
12
+ from altair.vegalite import v5 as vegalite_v5
13
+
14
+ try:
15
+ import yaml
16
+
17
+ YAML_AVAILABLE = True
18
+ except ImportError:
19
+ YAML_AVAILABLE = False
20
+
21
+
22
+ RENDERERS = {
23
+ "vega-lite": {
24
+ "5": vegalite_v5.VegaLite,
25
+ },
26
+ }
27
+
28
+
29
+ TRANSFORMERS = {
30
+ "vega-lite": {
31
+ "5": vegalite_v5.data_transformers,
32
+ },
33
+ }
34
+
35
+
36
+ def _prepare_data(data, data_transformers):
37
+ """Convert input data to data for use within schema."""
38
+ if data is None or isinstance(data, dict):
39
+ return data
40
+ elif _is_pandas_dataframe(data):
41
+ if func := data_transformers.get():
42
+ data = func(data)
43
+ return data
44
+ elif isinstance(data, str):
45
+ return {"url": data}
46
+ else:
47
+ warnings.warn(f"data of type {type(data)} not recognized", stacklevel=1)
48
+ return data
49
+
50
+
51
+ def _get_variable(name):
52
+ """Get a variable from the notebook namespace."""
53
+ ip = IPython.get_ipython()
54
+ if ip is None:
55
+ msg = (
56
+ "Magic command must be run within an IPython "
57
+ "environment, in which get_ipython() is defined."
58
+ )
59
+ raise ValueError(msg)
60
+ if name not in ip.user_ns:
61
+ msg = f"argument '{name}' does not match the name of any defined variable"
62
+ raise NameError(msg)
63
+ return ip.user_ns[name]
64
+
65
+
66
+ @magic_arguments.magic_arguments()
67
+ @magic_arguments.argument(
68
+ "data",
69
+ nargs="?",
70
+ help="local variablename of a pandas DataFrame to be used as the dataset",
71
+ )
72
+ @magic_arguments.argument("-v", "--version", dest="version", default="v5")
73
+ @magic_arguments.argument("-j", "--json", dest="json", action="store_true")
74
+ def vegalite(line, cell):
75
+ """
76
+ Cell magic for displaying vega-lite visualizations in CoLab.
77
+
78
+ %%vegalite [dataframe] [--json] [--version='v5']
79
+
80
+ Visualize the contents of the cell using Vega-Lite, optionally
81
+ specifying a pandas DataFrame object to be used as the dataset.
82
+
83
+ if --json is passed, then input is parsed as json rather than yaml.
84
+ """
85
+ args = magic_arguments.parse_argstring(vegalite, line)
86
+ existing_versions = {"v5": "5"}
87
+ version = existing_versions[args.version]
88
+ assert version in RENDERERS["vega-lite"]
89
+ VegaLite = RENDERERS["vega-lite"][version]
90
+ data_transformers = TRANSFORMERS["vega-lite"][version]
91
+
92
+ if args.json:
93
+ spec = json.loads(cell)
94
+ elif not YAML_AVAILABLE:
95
+ try:
96
+ spec = json.loads(cell)
97
+ except json.JSONDecodeError as err:
98
+ msg = (
99
+ "%%vegalite: spec is not valid JSON. "
100
+ "Install pyyaml to parse spec as yaml"
101
+ )
102
+ raise ValueError(msg) from err
103
+ else:
104
+ spec = yaml.load(cell, Loader=yaml.SafeLoader)
105
+
106
+ if args.data is not None:
107
+ data = _get_variable(args.data)
108
+ spec["data"] = _prepare_data(data, data_transformers)
109
+
110
+ return VegaLite(spec)
videollama2/lib/python3.10/site-packages/altair/jupyter/__init__.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ try:
2
+ import anywidget # noqa: F401
3
+ except ImportError:
4
+ # When anywidget isn't available, create stand-in JupyterChart class
5
+ # that raises an informative import error on construction. This
6
+ # way we can make JupyterChart available in the altair namespace
7
+ # when anywidget is not installed
8
+ class JupyterChart:
9
+ def __init__(self, *args, **kwargs):
10
+ msg = (
11
+ "The Altair JupyterChart requires the anywidget \n"
12
+ "Python package which may be installed using pip with\n"
13
+ " pip install anywidget\n"
14
+ "or using conda with\n"
15
+ " conda install -c conda-forge anywidget\n"
16
+ "Afterwards, you will need to restart your Python kernel."
17
+ )
18
+ raise ImportError(msg)
19
+
20
+ else:
21
+ from .jupyter_chart import JupyterChart # noqa: F401
videollama2/lib/python3.10/site-packages/altair/jupyter/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (842 Bytes). View file
 
videollama2/lib/python3.10/site-packages/altair/jupyter/__pycache__/jupyter_chart.cpython-310.pyc ADDED
Binary file (10.9 kB). View file