github-linguist 2.8.0 → 2.8.1
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.
- data/lib/linguist/samples.json +210 -43
- metadata +1 -1
data/lib/linguist/samples.json
CHANGED
|
@@ -383,8 +383,8 @@
|
|
|
383
383
|
".gemrc"
|
|
384
384
|
]
|
|
385
385
|
},
|
|
386
|
-
"tokens_total":
|
|
387
|
-
"languages_total":
|
|
386
|
+
"tokens_total": 361619,
|
|
387
|
+
"languages_total": 428,
|
|
388
388
|
"tokens": {
|
|
389
389
|
"ABAP": {
|
|
390
390
|
"*/**": 1,
|
|
@@ -32448,16 +32448,16 @@
|
|
|
32448
32448
|
"L": 2
|
|
32449
32449
|
},
|
|
32450
32450
|
"Python": {
|
|
32451
|
-
"from":
|
|
32451
|
+
"from": 34,
|
|
32452
32452
|
"__future__": 2,
|
|
32453
|
-
"import":
|
|
32453
|
+
"import": 47,
|
|
32454
32454
|
"unicode_literals": 1,
|
|
32455
32455
|
"copy": 1,
|
|
32456
32456
|
"sys": 2,
|
|
32457
32457
|
"functools": 1,
|
|
32458
32458
|
"update_wrapper": 2,
|
|
32459
32459
|
"future_builtins": 1,
|
|
32460
|
-
"zip":
|
|
32460
|
+
"zip": 8,
|
|
32461
32461
|
"django.db.models.manager": 1,
|
|
32462
32462
|
"#": 13,
|
|
32463
32463
|
"Imported": 1,
|
|
@@ -32468,13 +32468,13 @@
|
|
|
32468
32468
|
"django.conf": 1,
|
|
32469
32469
|
"settings": 1,
|
|
32470
32470
|
"django.core.exceptions": 1,
|
|
32471
|
-
"(":
|
|
32471
|
+
"(": 719,
|
|
32472
32472
|
"ObjectDoesNotExist": 2,
|
|
32473
32473
|
"MultipleObjectsReturned": 2,
|
|
32474
32474
|
"FieldError": 4,
|
|
32475
32475
|
"ValidationError": 8,
|
|
32476
32476
|
"NON_FIELD_ERRORS": 3,
|
|
32477
|
-
")":
|
|
32477
|
+
")": 730,
|
|
32478
32478
|
"django.core": 1,
|
|
32479
32479
|
"validators": 1,
|
|
32480
32480
|
"django.db.models.fields": 1,
|
|
@@ -32504,7 +32504,7 @@
|
|
|
32504
32504
|
"get_model": 3,
|
|
32505
32505
|
"django.utils.translation": 1,
|
|
32506
32506
|
"ugettext_lazy": 1,
|
|
32507
|
-
"as":
|
|
32507
|
+
"as": 11,
|
|
32508
32508
|
"_": 5,
|
|
32509
32509
|
"django.utils.functional": 1,
|
|
32510
32510
|
"curry": 6,
|
|
@@ -32516,8 +32516,8 @@
|
|
|
32516
32516
|
"capfirst": 6,
|
|
32517
32517
|
"class": 14,
|
|
32518
32518
|
"ModelBase": 4,
|
|
32519
|
-
"type":
|
|
32520
|
-
"def":
|
|
32519
|
+
"type": 6,
|
|
32520
|
+
"def": 68,
|
|
32521
32521
|
"__new__": 2,
|
|
32522
32522
|
"cls": 32,
|
|
32523
32523
|
"name": 39,
|
|
@@ -32527,20 +32527,20 @@
|
|
|
32527
32527
|
"super": 2,
|
|
32528
32528
|
".__new__": 1,
|
|
32529
32529
|
"parents": 8,
|
|
32530
|
-
"[":
|
|
32531
|
-
"b":
|
|
32532
|
-
"for":
|
|
32533
|
-
"in":
|
|
32534
|
-
"if":
|
|
32530
|
+
"[": 152,
|
|
32531
|
+
"b": 11,
|
|
32532
|
+
"for": 59,
|
|
32533
|
+
"in": 79,
|
|
32534
|
+
"if": 145,
|
|
32535
32535
|
"isinstance": 11,
|
|
32536
|
-
"]":
|
|
32536
|
+
"]": 152,
|
|
32537
32537
|
"not": 64,
|
|
32538
|
-
"return":
|
|
32538
|
+
"return": 57,
|
|
32539
32539
|
"module": 6,
|
|
32540
32540
|
"attrs.pop": 2,
|
|
32541
32541
|
"new_class": 9,
|
|
32542
|
-
"{":
|
|
32543
|
-
"}":
|
|
32542
|
+
"{": 25,
|
|
32543
|
+
"}": 25,
|
|
32544
32544
|
"attr_meta": 5,
|
|
32545
32545
|
"None": 86,
|
|
32546
32546
|
"abstract": 3,
|
|
@@ -32555,13 +32555,13 @@
|
|
|
32555
32555
|
"new_class.__module__": 1,
|
|
32556
32556
|
"kwargs": 9,
|
|
32557
32557
|
"model_module.__name__.split": 1,
|
|
32558
|
-
"-":
|
|
32558
|
+
"-": 30,
|
|
32559
32559
|
"new_class.add_to_class": 7,
|
|
32560
32560
|
"**kwargs": 9,
|
|
32561
32561
|
"subclass_exception": 3,
|
|
32562
32562
|
"tuple": 3,
|
|
32563
32563
|
"x.DoesNotExist": 1,
|
|
32564
|
-
"x":
|
|
32564
|
+
"x": 22,
|
|
32565
32565
|
"hasattr": 11,
|
|
32566
32566
|
"and": 35,
|
|
32567
32567
|
"x._meta.abstract": 2,
|
|
@@ -32587,7 +32587,7 @@
|
|
|
32587
32587
|
"attrs.items": 1,
|
|
32588
32588
|
"new_fields": 2,
|
|
32589
32589
|
"new_class._meta.local_fields": 3,
|
|
32590
|
-
"+":
|
|
32590
|
+
"+": 37,
|
|
32591
32591
|
"new_class._meta.local_many_to_many": 2,
|
|
32592
32592
|
"new_class._meta.virtual_fields": 1,
|
|
32593
32593
|
"field_names": 5,
|
|
@@ -32620,7 +32620,7 @@
|
|
|
32620
32620
|
"attr_name": 3,
|
|
32621
32621
|
"base._meta.module_name": 1,
|
|
32622
32622
|
"auto_created": 1,
|
|
32623
|
-
"True":
|
|
32623
|
+
"True": 20,
|
|
32624
32624
|
"parent_link": 1,
|
|
32625
32625
|
"new_class._meta.parents": 1,
|
|
32626
32626
|
"copy.deepcopy": 2,
|
|
@@ -32703,7 +32703,7 @@
|
|
|
32703
32703
|
"KeyError": 3,
|
|
32704
32704
|
"field.get_default": 3,
|
|
32705
32705
|
"field.null": 1,
|
|
32706
|
-
"prop":
|
|
32706
|
+
"prop": 5,
|
|
32707
32707
|
"kwargs.keys": 2,
|
|
32708
32708
|
"property": 2,
|
|
32709
32709
|
"AttributeError": 1,
|
|
@@ -32712,7 +32712,7 @@
|
|
|
32712
32712
|
"signals.post_init.send": 1,
|
|
32713
32713
|
"instance": 5,
|
|
32714
32714
|
"__repr__": 2,
|
|
32715
|
-
"u":
|
|
32715
|
+
"u": 9,
|
|
32716
32716
|
"unicode": 8,
|
|
32717
32717
|
"UnicodeEncodeError": 1,
|
|
32718
32718
|
"UnicodeDecodeError": 1,
|
|
@@ -32728,7 +32728,7 @@
|
|
|
32728
32728
|
"__hash__": 1,
|
|
32729
32729
|
"hash": 1,
|
|
32730
32730
|
"__reduce__": 1,
|
|
32731
|
-
"data":
|
|
32731
|
+
"data": 22,
|
|
32732
32732
|
"self.__dict__": 1,
|
|
32733
32733
|
"defers": 2,
|
|
32734
32734
|
"self._deferred": 1,
|
|
@@ -32787,10 +32787,10 @@
|
|
|
32787
32787
|
"._update": 1,
|
|
32788
32788
|
"meta.order_with_respect_to": 2,
|
|
32789
32789
|
"order_value": 2,
|
|
32790
|
-
"*":
|
|
32790
|
+
"*": 33,
|
|
32791
32791
|
".count": 1,
|
|
32792
32792
|
"self._order": 1,
|
|
32793
|
-
"fields":
|
|
32793
|
+
"fields": 12,
|
|
32794
32794
|
"update_pk": 3,
|
|
32795
32795
|
"bool": 2,
|
|
32796
32796
|
"meta.has_auto_field": 1,
|
|
@@ -32815,7 +32815,7 @@
|
|
|
32815
32815
|
"strings_only": 1,
|
|
32816
32816
|
"_get_next_or_previous_by_FIELD": 1,
|
|
32817
32817
|
"self.pk": 6,
|
|
32818
|
-
"op":
|
|
32818
|
+
"op": 6,
|
|
32819
32819
|
"order": 5,
|
|
32820
32820
|
"param": 3,
|
|
32821
32821
|
"q": 4,
|
|
@@ -32878,7 +32878,7 @@
|
|
|
32878
32878
|
"lookup_kwargs": 8,
|
|
32879
32879
|
"self._meta.get_field": 1,
|
|
32880
32880
|
"lookup_value": 3,
|
|
32881
|
-
"str":
|
|
32881
|
+
"str": 2,
|
|
32882
32882
|
"lookup_kwargs.keys": 1,
|
|
32883
32883
|
"model_class._default_manager.filter": 2,
|
|
32884
32884
|
"*lookup_kwargs": 2,
|
|
@@ -32911,7 +32911,7 @@
|
|
|
32911
32911
|
"lambda": 1,
|
|
32912
32912
|
"full_clean": 1,
|
|
32913
32913
|
"self.clean_fields": 1,
|
|
32914
|
-
"e":
|
|
32914
|
+
"e": 13,
|
|
32915
32915
|
"e.update_error_dict": 3,
|
|
32916
32916
|
"self.clean": 1,
|
|
32917
32917
|
"errors.keys": 1,
|
|
@@ -32992,7 +32992,7 @@
|
|
|
32992
32992
|
"view.methods": 1,
|
|
32993
32993
|
"cls.methods": 1,
|
|
32994
32994
|
"MethodViewType": 2,
|
|
32995
|
-
"d":
|
|
32995
|
+
"d": 5,
|
|
32996
32996
|
"rv": 2,
|
|
32997
32997
|
"type.__new__": 1,
|
|
32998
32998
|
"rv.methods": 2,
|
|
@@ -33026,14 +33026,14 @@
|
|
|
33026
33026
|
"index": 1,
|
|
33027
33027
|
"number": 1,
|
|
33028
33028
|
"cpp_type": 1,
|
|
33029
|
-
"label":
|
|
33029
|
+
"label": 18,
|
|
33030
33030
|
"has_default_value": 1,
|
|
33031
33031
|
"default_value": 1,
|
|
33032
33032
|
"message_type": 1,
|
|
33033
33033
|
"enum_type": 1,
|
|
33034
33034
|
"is_extension": 1,
|
|
33035
33035
|
"extension_scope": 1,
|
|
33036
|
-
"options":
|
|
33036
|
+
"options": 3,
|
|
33037
33037
|
"extensions": 1,
|
|
33038
33038
|
"nested_types": 1,
|
|
33039
33039
|
"enum_types": 1,
|
|
@@ -33045,10 +33045,10 @@
|
|
|
33045
33045
|
"Person": 1,
|
|
33046
33046
|
"_message.Message": 1,
|
|
33047
33047
|
"_reflection.GeneratedProtocolMessageType": 1,
|
|
33048
|
-
"SHEBANG#!python":
|
|
33049
|
-
"print":
|
|
33048
|
+
"SHEBANG#!python": 4,
|
|
33049
|
+
"print": 39,
|
|
33050
33050
|
"os": 1,
|
|
33051
|
-
"main":
|
|
33051
|
+
"main": 4,
|
|
33052
33052
|
"usage": 3,
|
|
33053
33053
|
"string": 1,
|
|
33054
33054
|
"command": 4,
|
|
@@ -33057,7 +33057,7 @@
|
|
|
33057
33057
|
"sys.exit": 1,
|
|
33058
33058
|
"printDelimiter": 4,
|
|
33059
33059
|
"get": 1,
|
|
33060
|
-
"a":
|
|
33060
|
+
"a": 2,
|
|
33061
33061
|
"list": 1,
|
|
33062
33062
|
"git": 1,
|
|
33063
33063
|
"directories": 1,
|
|
@@ -33076,7 +33076,175 @@
|
|
|
33076
33076
|
"os.walk": 1,
|
|
33077
33077
|
".next": 1,
|
|
33078
33078
|
"os.path.isdir": 1,
|
|
33079
|
-
"__name__":
|
|
33079
|
+
"__name__": 2,
|
|
33080
|
+
"argparse": 1,
|
|
33081
|
+
"matplotlib.pyplot": 1,
|
|
33082
|
+
"pl": 1,
|
|
33083
|
+
"numpy": 1,
|
|
33084
|
+
"np": 1,
|
|
33085
|
+
"scipy.optimize": 1,
|
|
33086
|
+
"prettytable": 1,
|
|
33087
|
+
"PrettyTable": 6,
|
|
33088
|
+
"__docformat__": 1,
|
|
33089
|
+
"S": 4,
|
|
33090
|
+
"phif": 7,
|
|
33091
|
+
"U": 10,
|
|
33092
|
+
"/": 23,
|
|
33093
|
+
"_parse_args": 2,
|
|
33094
|
+
"V": 12,
|
|
33095
|
+
"np.genfromtxt": 8,
|
|
33096
|
+
"delimiter": 8,
|
|
33097
|
+
"t": 8,
|
|
33098
|
+
"U_err": 7,
|
|
33099
|
+
"offset": 13,
|
|
33100
|
+
"np.mean": 1,
|
|
33101
|
+
"np.linspace": 9,
|
|
33102
|
+
"min": 10,
|
|
33103
|
+
"max": 11,
|
|
33104
|
+
"y": 10,
|
|
33105
|
+
"np.ones": 11,
|
|
33106
|
+
"x.size": 2,
|
|
33107
|
+
"pl.plot": 9,
|
|
33108
|
+
"**6": 6,
|
|
33109
|
+
".format": 11,
|
|
33110
|
+
"pl.errorbar": 8,
|
|
33111
|
+
"yerr": 8,
|
|
33112
|
+
"linestyle": 8,
|
|
33113
|
+
"marker": 4,
|
|
33114
|
+
"pl.grid": 5,
|
|
33115
|
+
"pl.legend": 5,
|
|
33116
|
+
"loc": 5,
|
|
33117
|
+
"pl.title": 5,
|
|
33118
|
+
"pl.xlabel": 5,
|
|
33119
|
+
"ur": 11,
|
|
33120
|
+
"pl.ylabel": 5,
|
|
33121
|
+
"pl.savefig": 5,
|
|
33122
|
+
"pl.clf": 5,
|
|
33123
|
+
"glanz": 13,
|
|
33124
|
+
"matt": 13,
|
|
33125
|
+
"schwarz": 13,
|
|
33126
|
+
"weiss": 13,
|
|
33127
|
+
"T0": 1,
|
|
33128
|
+
"T0_err": 2,
|
|
33129
|
+
"glanz_phi": 4,
|
|
33130
|
+
"matt_phi": 4,
|
|
33131
|
+
"schwarz_phi": 4,
|
|
33132
|
+
"weiss_phi": 4,
|
|
33133
|
+
"T_err": 7,
|
|
33134
|
+
"sigma": 4,
|
|
33135
|
+
"boltzmann": 12,
|
|
33136
|
+
"T": 6,
|
|
33137
|
+
"epsilon": 7,
|
|
33138
|
+
"T**4": 1,
|
|
33139
|
+
"glanz_popt": 3,
|
|
33140
|
+
"glanz_pconv": 1,
|
|
33141
|
+
"op.curve_fit": 6,
|
|
33142
|
+
"matt_popt": 3,
|
|
33143
|
+
"matt_pconv": 1,
|
|
33144
|
+
"schwarz_popt": 3,
|
|
33145
|
+
"schwarz_pconv": 1,
|
|
33146
|
+
"weiss_popt": 3,
|
|
33147
|
+
"weiss_pconv": 1,
|
|
33148
|
+
"glanz_x": 3,
|
|
33149
|
+
"glanz_y": 2,
|
|
33150
|
+
"*glanz_popt": 1,
|
|
33151
|
+
"color": 8,
|
|
33152
|
+
"matt_x": 3,
|
|
33153
|
+
"matt_y": 2,
|
|
33154
|
+
"*matt_popt": 1,
|
|
33155
|
+
"schwarz_x": 3,
|
|
33156
|
+
"schwarz_y": 2,
|
|
33157
|
+
"*schwarz_popt": 1,
|
|
33158
|
+
"weiss_x": 3,
|
|
33159
|
+
"weiss_y": 2,
|
|
33160
|
+
"*weiss_popt": 1,
|
|
33161
|
+
"np.sqrt": 17,
|
|
33162
|
+
"glanz_pconv.diagonal": 2,
|
|
33163
|
+
"matt_pconv.diagonal": 2,
|
|
33164
|
+
"schwarz_pconv.diagonal": 2,
|
|
33165
|
+
"weiss_pconv.diagonal": 2,
|
|
33166
|
+
"xerr": 6,
|
|
33167
|
+
"U_err/S": 4,
|
|
33168
|
+
"header": 5,
|
|
33169
|
+
"glanz_table": 2,
|
|
33170
|
+
"row": 10,
|
|
33171
|
+
".size": 4,
|
|
33172
|
+
"*T_err": 4,
|
|
33173
|
+
"glanz_phi.size": 1,
|
|
33174
|
+
"*U_err/S": 4,
|
|
33175
|
+
"glanz_table.add_row": 1,
|
|
33176
|
+
"matt_table": 2,
|
|
33177
|
+
"matt_phi.size": 1,
|
|
33178
|
+
"matt_table.add_row": 1,
|
|
33179
|
+
"schwarz_table": 2,
|
|
33180
|
+
"schwarz_phi.size": 1,
|
|
33181
|
+
"schwarz_table.add_row": 1,
|
|
33182
|
+
"weiss_table": 2,
|
|
33183
|
+
"weiss_phi.size": 1,
|
|
33184
|
+
"weiss_table.add_row": 1,
|
|
33185
|
+
"T0**4": 1,
|
|
33186
|
+
"phi": 5,
|
|
33187
|
+
"c": 3,
|
|
33188
|
+
"a*x": 1,
|
|
33189
|
+
"dx": 6,
|
|
33190
|
+
"d**": 2,
|
|
33191
|
+
"dy": 4,
|
|
33192
|
+
"dx_err": 3,
|
|
33193
|
+
"np.abs": 1,
|
|
33194
|
+
"dy_err": 2,
|
|
33195
|
+
"popt": 5,
|
|
33196
|
+
"pconv": 2,
|
|
33197
|
+
"*popt": 2,
|
|
33198
|
+
"pconv.diagonal": 3,
|
|
33199
|
+
"table": 2,
|
|
33200
|
+
"table.align": 1,
|
|
33201
|
+
"dy.size": 1,
|
|
33202
|
+
"*dy_err": 1,
|
|
33203
|
+
"table.add_row": 1,
|
|
33204
|
+
"U1": 3,
|
|
33205
|
+
"I1": 3,
|
|
33206
|
+
"U2": 2,
|
|
33207
|
+
"I_err": 2,
|
|
33208
|
+
"p": 1,
|
|
33209
|
+
"R": 1,
|
|
33210
|
+
"R_err": 2,
|
|
33211
|
+
"/I1": 1,
|
|
33212
|
+
"**2": 2,
|
|
33213
|
+
"U1/I1**2": 1,
|
|
33214
|
+
"phi_err": 3,
|
|
33215
|
+
"alpha": 2,
|
|
33216
|
+
"beta": 1,
|
|
33217
|
+
"R0": 6,
|
|
33218
|
+
"R0_err": 2,
|
|
33219
|
+
"alpha*R0": 2,
|
|
33220
|
+
"*np.sqrt": 6,
|
|
33221
|
+
"*beta*R": 5,
|
|
33222
|
+
"alpha**2*R0": 5,
|
|
33223
|
+
"*beta*R0": 7,
|
|
33224
|
+
"*beta*R0*T0": 2,
|
|
33225
|
+
"epsilon_err": 2,
|
|
33226
|
+
"f1": 1,
|
|
33227
|
+
"f2": 1,
|
|
33228
|
+
"f3": 1,
|
|
33229
|
+
"alpha**2": 1,
|
|
33230
|
+
"*beta": 1,
|
|
33231
|
+
"*beta*T0": 1,
|
|
33232
|
+
"*beta*R0**2": 1,
|
|
33233
|
+
"f1**2": 1,
|
|
33234
|
+
"f2**2": 1,
|
|
33235
|
+
"f3**2": 1,
|
|
33236
|
+
"parser": 1,
|
|
33237
|
+
"argparse.ArgumentParser": 1,
|
|
33238
|
+
"description": 1,
|
|
33239
|
+
"#parser.add_argument": 3,
|
|
33240
|
+
"metavar": 1,
|
|
33241
|
+
"nargs": 1,
|
|
33242
|
+
"help": 2,
|
|
33243
|
+
"dest": 1,
|
|
33244
|
+
"default": 1,
|
|
33245
|
+
"action": 1,
|
|
33246
|
+
"version": 6,
|
|
33247
|
+
"parser.parse_args": 1,
|
|
33080
33248
|
"absolute_import": 1,
|
|
33081
33249
|
"division": 1,
|
|
33082
33250
|
"with_statement": 1,
|
|
@@ -33150,7 +33318,6 @@
|
|
|
33150
33318
|
"start_line": 1,
|
|
33151
33319
|
"method": 5,
|
|
33152
33320
|
"uri": 5,
|
|
33153
|
-
"version": 5,
|
|
33154
33321
|
"start_line.split": 1,
|
|
33155
33322
|
"version.startswith": 1,
|
|
33156
33323
|
"headers": 5,
|
|
@@ -38865,7 +39032,7 @@
|
|
|
38865
39032
|
"PowerShell": 12,
|
|
38866
39033
|
"Processing": 74,
|
|
38867
39034
|
"Prolog": 4040,
|
|
38868
|
-
"Python":
|
|
39035
|
+
"Python": 5715,
|
|
38869
39036
|
"R": 14,
|
|
38870
39037
|
"Racket": 360,
|
|
38871
39038
|
"Ragel in Ruby Host": 593,
|
|
@@ -38966,7 +39133,7 @@
|
|
|
38966
39133
|
"PowerShell": 2,
|
|
38967
39134
|
"Processing": 1,
|
|
38968
39135
|
"Prolog": 6,
|
|
38969
|
-
"Python":
|
|
39136
|
+
"Python": 7,
|
|
38970
39137
|
"R": 1,
|
|
38971
39138
|
"Racket": 3,
|
|
38972
39139
|
"Ragel in Ruby Host": 3,
|
|
@@ -38999,5 +39166,5 @@
|
|
|
38999
39166
|
"Xtend": 2,
|
|
39000
39167
|
"YAML": 1
|
|
39001
39168
|
},
|
|
39002
|
-
"md5": "
|
|
39169
|
+
"md5": "0c2809e4b07cb4ec80e99a245694470e"
|
|
39003
39170
|
}
|