hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
d919ae4985e98d1fa1f4764fb38254f788e7d230
26,866
py
Python
folium/plugins/crossfilter.py
BibMartin/folium
aff95a14f3c18cf09049b86a933ec751db9ed36a
[ "MIT" ]
4
2016-02-25T19:43:47.000Z
2018-09-18T18:50:59.000Z
folium/plugins/crossfilter.py
BibMartin/folium
aff95a14f3c18cf09049b86a933ec751db9ed36a
[ "MIT" ]
null
null
null
folium/plugins/crossfilter.py
BibMartin/folium
aff95a14f3c18cf09049b86a933ec751db9ed36a
[ "MIT" ]
1
2022-01-24T13:04:02.000Z
2022-01-24T13:04:02.000Z
# -*- coding: utf-8 -*- """ Crossfilter ------ Crossfilter. """ from jinja2 import Template import json #from .utilities import color_brewer, _parse_size, legend_scaler, _locations_mirror, _locations_tolist, write_png,\ # image_to_url #from .six import text_type, binary_type from folium.element import Figure, Jav...
43.472492
115
0.488089
2,664
26,866
4.798048
0.105105
0.061336
0.077453
0.022532
0.694962
0.654749
0.635972
0.604131
0.600767
0.567204
0
0.008834
0.325839
26,866
617
116
43.54295
0.696886
0.024269
0
0.557471
0
0.099617
0.75856
0.268515
0
0
0
0.011345
0.001916
1
0.021073
false
0
0.009579
0
0.061303
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
d9231d0b186d7422f61e6052fe7694b4f4ea8893
995
py
Python
django_test/articles/migrations/0004_auto_20200306_1921.py
MachineLearningIsEasy/python_lesson_22
7fe77da5fa611a54578d092207059f65b719ed8a
[ "MIT" ]
1
2020-03-12T13:07:35.000Z
2020-03-12T13:07:35.000Z
django_test/articles/migrations/0004_auto_20200306_1921.py
MachineLearningIsEasy/python_lesson_22
7fe77da5fa611a54578d092207059f65b719ed8a
[ "MIT" ]
null
null
null
django_test/articles/migrations/0004_auto_20200306_1921.py
MachineLearningIsEasy/python_lesson_22
7fe77da5fa611a54578d092207059f65b719ed8a
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-03-06 19:21 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('articles', '0003_auto_20200306_1817'), ] operations = [ migrations.AlterField( model_name='article', ...
28.428571
97
0.58593
102
995
5.588235
0.480392
0.154386
0.131579
0.203509
0.463158
0.463158
0.463158
0
0
0
0
0.078459
0.295477
995
34
98
29.264706
0.734665
0.045226
0
0.428571
1
0
0.124473
0.024262
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d92b1b75f644d5989f11549ed3c31f564161e6a4
357
py
Python
24_astro/astro.py
Tjorriemorrie/trading
aafa15a6c564bfa86948ab30e33d554172b38a3e
[ "MIT" ]
2
2017-07-02T09:06:28.000Z
2020-09-11T04:23:14.000Z
24_astro/astro.py
Tjorriemorrie/trading
aafa15a6c564bfa86948ab30e33d554172b38a3e
[ "MIT" ]
2
2021-03-31T19:14:07.000Z
2021-06-01T23:34:32.000Z
24_astro/astro.py
Tjorriemorrie/trading
aafa15a6c564bfa86948ab30e33d554172b38a3e
[ "MIT" ]
2
2016-03-29T07:51:16.000Z
2016-10-30T04:53:58.000Z
import flatlib from flatlib.chart import Chart from flatlib.datetime import Datetime from flatlib.geopos import GeoPos def generate_data(): date = Datetime('2015/01/13', '17:00', '+10:00') print(date) pos = GeoPos('38n32', '8w54') print(pos) chart = Chart(date, pos) print(chart) if __name_...
17.85
52
0.669468
48
357
4.770833
0.479167
0.144105
0
0
0
0
0
0
0
0
0
0.08042
0.19888
357
19
53
18.789474
0.72028
0
0
0
1
0
0.106443
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.384615
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
d92e72718b29f2ea7bd4763ee9064cfc85d2698d
159
py
Python
x_rebirth_station_calculator/station_data/wares/v_launcher.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
1
2016-04-17T11:00:22.000Z
2016-04-17T11:00:22.000Z
x_rebirth_station_calculator/station_data/wares/v_launcher.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
null
null
null
x_rebirth_station_calculator/station_data/wares/v_launcher.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
null
null
null
from x_rebirth_station_calculator.station_data.station_base import Ware names = {'L044': 'V Launcher', 'L049': 'V-Starter'} VLauncher = Ware(names)
22.714286
71
0.716981
21
159
5.190476
0.761905
0.165138
0
0
0
0
0
0
0
0
0
0.044776
0.157233
159
6
72
26.5
0.768657
0
0
0
0
0
0.169811
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d93007700ff7744967d47edbf0d891bb0c413003
837
py
Python
Lib/site-packages/fidget/backend/Resources.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
1
2021-03-31T07:33:38.000Z
2021-03-31T07:33:38.000Z
src/fidget/backend/Resources.py
talos-gis/qTalos
276b5581b6b20e8a0c4f7c85998a13030b2160ba
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/fidget/backend/Resources.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
from fidget.backend.QtGui import QIcon # noinspection PyUnresolvedReferences import fidget.backend._resources class LazyIcon: def __init__(self, path): self.path = path self._instance = None def __call__(self, *args, **kwargs): if not self._instance: self._instance = QIcon...
29.892857
70
0.738351
114
837
5.131579
0.377193
0.14359
0.215385
0.299145
0.211966
0
0
0
0
0
0
0
0.13859
837
27
71
31
0.811373
0.041816
0
0
0
0
0.2875
0.2875
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d94b65d9dbad88b2a5e6a32a1bb4f9de6f5a0d1d
633
py
Python
test_day07/test_ex13.py
anxodio/aoc2021
b987e917676bdbc688d02526223b81f5c69aedf2
[ "MIT" ]
null
null
null
test_day07/test_ex13.py
anxodio/aoc2021
b987e917676bdbc688d02526223b81f5c69aedf2
[ "MIT" ]
null
null
null
test_day07/test_ex13.py
anxodio/aoc2021
b987e917676bdbc688d02526223b81f5c69aedf2
[ "MIT" ]
1
2021-12-01T15:49:10.000Z
2021-12-01T15:49:10.000Z
from pathlib import Path from typing import List from statistics import median def get_minimum_alignement_fuel(positions: List[int]) -> int: best_position = int(median(positions)) return sum(abs(pos - best_position) for pos in positions) def test_get_minimum_alignement_fuel(): assert get_minimum_alignem...
31.65
78
0.707741
95
633
4.410526
0.536842
0.095465
0.190931
0.229117
0.157518
0
0
0
0
0
0
0.028463
0.167457
633
19
79
33.315789
0.766603
0
0
0
0
0
0.031596
0
0
0
0
0
0.076923
1
0.153846
false
0
0.230769
0
0.461538
0.076923
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d9530b7ad9f551706497e5a0ce157e77b41e4b65
1,238
py
Python
courses/models.py
Cent-Luc/University_Portal
82bf40a1c0d98111ffe8a184d16b543a3feec072
[ "MIT" ]
null
null
null
courses/models.py
Cent-Luc/University_Portal
82bf40a1c0d98111ffe8a184d16b543a3feec072
[ "MIT" ]
1
2021-03-18T22:00:32.000Z
2021-03-18T22:00:32.000Z
courses/models.py
c3n7/university-portal
82bf40a1c0d98111ffe8a184d16b543a3feec072
[ "MIT" ]
3
2019-11-14T08:50:15.000Z
2019-11-15T15:36:45.000Z
from django.db import models from django.contrib.auth.models import User from django.urls import reverse class Course(models.Model): title = models.CharField(max_length=200) code = models.SlugField(max_length=200, unique=True) summary = models.TextField(blank=True) class Meta: ordering = ['ti...
25.791667
57
0.635703
141
1,238
5.390071
0.375887
0.059211
0.078947
0.090789
0.388158
0.388158
0.289474
0.289474
0.289474
0.289474
0
0.016575
0.268982
1,238
47
58
26.340426
0.823204
0
0
0.454545
0
0
0.03557
0
0
0
0
0
0
1
0.121212
false
0
0.090909
0.121212
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
d95c289e17e7ce83a395344766f0452c9c7af7e1
221
py
Python
tests/apitest/test_user_api.py
Eternity-labs/eternity-backend-server
3159326a0277e37b8fa74e747e8e13934d1bccc2
[ "Apache-2.0" ]
null
null
null
tests/apitest/test_user_api.py
Eternity-labs/eternity-backend-server
3159326a0277e37b8fa74e747e8e13934d1bccc2
[ "Apache-2.0" ]
null
null
null
tests/apitest/test_user_api.py
Eternity-labs/eternity-backend-server
3159326a0277e37b8fa74e747e8e13934d1bccc2
[ "Apache-2.0" ]
null
null
null
from . import ApiTestCase class TestUserApi(ApiTestCase): def test_accountinfo(self): payload = self.client.get("/user/accountinfo/0x123124") AccountId = payload["AccountId"] assert AccountId
27.625
63
0.696833
22
221
6.954545
0.727273
0
0
0
0
0
0
0
0
0
0
0.039773
0.20362
221
8
64
27.625
0.829545
0
0
0
0
0
0.157658
0.117117
0
0
0.036036
0
0.166667
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d964424c56466dd120c6dc3092121ae26170748e
420
py
Python
nablapps/meeting_records/admin.py
Amund211/nablaweb
8105c34615d4b67637e982545fbc6489a131c1f3
[ "MIT" ]
17
2019-10-07T15:10:58.000Z
2022-01-21T14:18:07.000Z
nablapps/meeting_records/admin.py
Amund211/nablaweb
8105c34615d4b67637e982545fbc6489a131c1f3
[ "MIT" ]
222
2019-10-07T15:04:51.000Z
2022-03-24T12:14:16.000Z
nablapps/meeting_records/admin.py
Amund211/nablaweb
8105c34615d4b67637e982545fbc6489a131c1f3
[ "MIT" ]
7
2019-10-10T18:53:42.000Z
2021-10-18T02:13:09.000Z
""" Admin interface for meeting record app """ from django.contrib import admin from nablapps.core.admin import ChangedByMixin from .models import MeetingRecord @admin.register(MeetingRecord) class MeetingRecordAdmin(ChangedByMixin, admin.ModelAdmin): """Admin interface for MeetingRecord model""" fields = ...
24.705882
65
0.738095
45
420
6.844444
0.622222
0.090909
0.11039
0
0
0
0
0
0
0
0
0
0.135714
420
16
66
26.25
0.848485
0.185714
0
0
0
0
0.12462
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d969e39ad2457f4cc92b542982fcabc2c3372cb2
19,276
py
Python
google/ads/google_ads/v6/proto/services/label_service_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v6/proto/services/label_service_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v6/proto/services/label_service_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v6/services/label_service.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflec...
52.810959
2,595
0.79503
2,472
19,276
5.852751
0.114078
0.037324
0.058059
0.077412
0.687586
0.629873
0.567597
0.518455
0.438347
0.42245
0
0.040312
0.08757
19,276
364
2,596
52.956044
0.782295
0.035796
0
0.578462
1
0.015385
0.286414
0.243283
0
0
0
0
0
1
0
false
0
0.036923
0
0.036923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d96e7bcd7760ff9272f947f87a19b4a2378d9a17
1,098
py
Python
CheckIO/Elementary/15_Common_Words.py
marshallhumble/Project_Euler
90101d308a3342a0eab33c1f4580df549bfc8896
[ "MIT" ]
3
2015-12-16T18:38:34.000Z
2015-12-22T15:21:17.000Z
CheckIO/Elementary/15_Common_Words.py
marshallhumble/Project_Euler
90101d308a3342a0eab33c1f4580df549bfc8896
[ "MIT" ]
null
null
null
CheckIO/Elementary/15_Common_Words.py
marshallhumble/Project_Euler
90101d308a3342a0eab33c1f4580df549bfc8896
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Let's continue examining words. You are given two string with words separated by commas. Try to find what is common between these strings. The words are not repeated in the same string. Your function should find all of the words that appear in both strings. The result must be represented a...
34.3125
117
0.722222
169
1,098
4.633136
0.591716
0.05364
0.061303
0.084291
0.081737
0.081737
0.081737
0
0
0
0
0.005423
0.160291
1,098
32
118
34.3125
0.843818
0.602914
0
0
0
0
0.327869
0.063232
0
0
0
0
0.375
1
0.25
false
0
0
0.125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
d970c006e8988995278ad324daded430230a272a
312
py
Python
components/collector/src/source_collectors/sonarqube/complex_units.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
33
2016-01-20T07:35:48.000Z
2022-03-14T09:20:51.000Z
components/collector/src/source_collectors/sonarqube/complex_units.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
2,410
2016-01-22T18:13:01.000Z
2022-03-31T16:57:34.000Z
components/collector/src/source_collectors/sonarqube/complex_units.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
21
2016-01-16T11:49:23.000Z
2022-01-14T21:53:22.000Z
"""SonarQube complex units collector.""" from .violations import SonarQubeViolationsWithPercentageScale class SonarQubeComplexUnits(SonarQubeViolationsWithPercentageScale): """SonarQube complex methods/functions collector.""" rules_configuration = "complex_unit_rules" total_metric = "functions"
28.363636
68
0.804487
24
312
10.291667
0.708333
0.129555
0
0
0
0
0
0
0
0
0
0
0.115385
312
10
69
31.2
0.894928
0.259615
0
0
0
0
0.122727
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d97db5d2fbc6ffaeaa76e02d8e5077382927f790
202
py
Python
Start.py
OmarGSharaf/Multithreaded-socket-server
8686b7d3fc2b611ed1d86518745b494fc25af84d
[ "MIT" ]
null
null
null
Start.py
OmarGSharaf/Multithreaded-socket-server
8686b7d3fc2b611ed1d86518745b494fc25af84d
[ "MIT" ]
null
null
null
Start.py
OmarGSharaf/Multithreaded-socket-server
8686b7d3fc2b611ed1d86518745b494fc25af84d
[ "MIT" ]
null
null
null
import sys, os, signal from subprocess import Popen if __name__ == "__main__" : for i in range (0,5): Popen(['python', 'Client.py'], stdin=None, stdout=None, stderr=None, close_fds=True)
25.25
92
0.663366
30
202
4.166667
0.866667
0
0
0
0
0
0
0
0
0
0
0.01227
0.193069
202
7
93
28.857143
0.754601
0
0
0
0
0
0.113861
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
d98ce8ff9c41be2b65f16dc3fb92c1e568a9e930
114
py
Python
MainOperatorExmaple.py
ZnoKunG/PythonProject
388b5dfeb0161aee66094e7b2ecc2d6ed13588bd
[ "MIT" ]
null
null
null
MainOperatorExmaple.py
ZnoKunG/PythonProject
388b5dfeb0161aee66094e7b2ecc2d6ed13588bd
[ "MIT" ]
null
null
null
MainOperatorExmaple.py
ZnoKunG/PythonProject
388b5dfeb0161aee66094e7b2ecc2d6ed13588bd
[ "MIT" ]
null
null
null
money = 150 incomePerDay = 200 costPerday = 175 result = money + 30 * incomePerDay - 30 * costPerday print(result)
22.8
52
0.736842
14
114
6
0.642857
0
0
0
0
0
0
0
0
0
0
0.138298
0.175439
114
5
53
22.8
0.755319
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7945707455ff1da4b04f06abc70029cbec5ae4ea
719
py
Python
tests/nfs_module_test.py
web-sys1/NFSyndication
96d84444cf5d217713e162f9699d38b495a4e3ec
[ "BSD-2-Clause" ]
null
null
null
tests/nfs_module_test.py
web-sys1/NFSyndication
96d84444cf5d217713e162f9699d38b495a4e3ec
[ "BSD-2-Clause" ]
null
null
null
tests/nfs_module_test.py
web-sys1/NFSyndication
96d84444cf5d217713e162f9699d38b495a4e3ec
[ "BSD-2-Clause" ]
null
null
null
import os, glob import pytest import subprocess import pytest from NFSyndication import init as NFS_init from NFSyndication.core import args # test@ # Change the action associated with your option to action='store' def test_conf(): #We use these conditions to check the statement args.outputJSON = "feed-output...
26.62963
65
0.681502
97
719
5
0.649485
0.049485
0
0
0
0
0
0
0
0
0
0.006803
0.182198
719
26
66
27.653846
0.818027
0.187761
0
0.111111
0
0
0.264249
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.055556
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
7947a9e4f1ddda6d633ea4df0d167332095e2a53
989
py
Python
publiapp_api/migrations/0010_auto_20200925_0300.py
KevinPercy/PubliAppAPI
262fe66eaf2ac1d895681b0e611f6d7633e2353e
[ "MIT" ]
null
null
null
publiapp_api/migrations/0010_auto_20200925_0300.py
KevinPercy/PubliAppAPI
262fe66eaf2ac1d895681b0e611f6d7633e2353e
[ "MIT" ]
6
2020-06-30T02:38:05.000Z
2021-09-22T19:21:35.000Z
publiapp_api/migrations/0010_auto_20200925_0300.py
KevinPercy/PubliAppAPI
262fe66eaf2ac1d895681b0e611f6d7633e2353e
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-09-25 03:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('publiapp_api', '0009_auto_20200922_0303'), ] operations = [ migrations.CreateModel( name='Ubige...
32.966667
132
0.600607
103
989
5.61165
0.592233
0.103806
0.124567
0.16609
0.134948
0
0
0
0
0
0
0.052486
0.267947
989
29
133
34.103448
0.745856
0.045501
0
0.086957
1
0
0.13482
0.024416
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
794c4fa9a81056eab6917bf11dced2d861f046e3
410
py
Python
pydantic_models.py
OmarThinks/flask_encryption_endpoint
f101b2ff313c0dc076d03175740165f8789cd600
[ "MIT" ]
null
null
null
pydantic_models.py
OmarThinks/flask_encryption_endpoint
f101b2ff313c0dc076d03175740165f8789cd600
[ "MIT" ]
null
null
null
pydantic_models.py
OmarThinks/flask_encryption_endpoint
f101b2ff313c0dc076d03175740165f8789cd600
[ "MIT" ]
null
null
null
from pydantic import BaseModel, constr message_constraint = constr(max_length=1000000000000) original_constraint = constr(max_length=1000000) passphrase_constraint = constr(min_length=2, max_length=10000) class DecryptionInputs(BaseModel): message : str passphrase : passphrase_constraint class EncryptionIn...
21.578947
62
0.814634
43
410
7.534884
0.465116
0.148148
0.117284
0.154321
0
0
0
0
0
0
0
0.072423
0.12439
410
18
63
22.777778
0.830084
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0.3
0.1
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
795a5f8f6b37a2c5ffa0ee2084aeff2c4f0e2ba9
477
py
Python
test/test_jump.py
mind-owner/Cyberbrain
07dcfc0b910558420e61a7a2ff687703c0bd7aeb
[ "MIT" ]
2,440
2019-09-21T04:21:55.000Z
2022-03-30T09:47:47.000Z
test/test_jump.py
laike9m/cb-experimental
ef92fee10e3fd4ff4bcee38bf8356b0d645519e3
[ "MIT" ]
103
2019-09-21T15:19:59.000Z
2022-03-28T06:27:40.000Z
test/test_jump.py
laike9m/cb-experimental
ef92fee10e3fd4ff4bcee38bf8356b0d645519e3
[ "MIT" ]
162
2019-07-16T08:03:18.000Z
2022-03-30T02:51:21.000Z
from cyberbrain import Binding, InitialValue, Symbol def test_jump(tracer, check_golden_file): a = [] b = "b" c = "c" tracer.start() if a: # POP_JUMP_IF_FALSE pass # JUMP_FORWARD else: x = 1 if not a: # POP_JUMP_IF_TRUE x = 2 x = a != b != c # JUMP_IF_FA...
19.08
82
0.597484
73
477
3.643836
0.534247
0.090226
0.06015
0.075188
0
0
0
0
0
0
0
0.006098
0.312369
477
24
83
19.875
0.804878
0.345912
0
0
0
0
0.006557
0
0
0
0
0.041667
0
1
0.066667
false
0.066667
0.066667
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
795c8724aa06a697b7ffecde0f34d6198d488266
1,586
py
Python
Python/Essential things/testing.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
null
null
null
Python/Essential things/testing.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
3
2020-03-24T16:26:35.000Z
2020-04-15T19:40:41.000Z
Python/Essential things/testing.py
honchardev/Fun
ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc
[ "MIT" ]
null
null
null
import unittest class TestUM(unittest.TestCase): def setUp(self): """This method executes BEFORE each test""" pass def tearDown(self): """This method executes AFTER each test""" pass """ def setUpClass(cls): # This method executes BEFORE ALL tests prin...
28.836364
98
0.691047
186
1,586
5.817204
0.430108
0.081331
0.096118
0.077634
0.295749
0.171904
0.136784
0.097967
0.097967
0
0
0.013754
0.220681
1,586
54
99
29.37037
0.86165
0.101513
0
0.166667
0
0
0.035398
0
0
0
0
0
0.166667
1
0.333333
false
0.166667
0.083333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
795d9cd5410a4c902905271de32965f4af4d7f65
944
py
Python
screenshooter/__main__.py
guilherme-kenzo/auto-lovelace-screenshooter
86a73da37a587906aaaee9fc8ed2d481f9a94ba9
[ "MIT" ]
null
null
null
screenshooter/__main__.py
guilherme-kenzo/auto-lovelace-screenshooter
86a73da37a587906aaaee9fc8ed2d481f9a94ba9
[ "MIT" ]
null
null
null
screenshooter/__main__.py
guilherme-kenzo/auto-lovelace-screenshooter
86a73da37a587906aaaee9fc8ed2d481f9a94ba9
[ "MIT" ]
null
null
null
from .client import ScreenshotClient import schedule import click from .schedule import run_screenshot_every @click.command() @click.option("--xpath", type=click.STRING, required=True, help="The XPATH of the element to be screenshot.") @click.option("--output-file", type=click.STRING, required=True, help="The path o...
39.333333
146
0.711864
133
944
4.947368
0.406015
0.083587
0.113982
0.174772
0.240122
0.155015
0.155015
0
0
0
0
0
0.14089
944
24
147
39.333333
0.811344
0
0
0
0
0
0.328042
0
0
0
0
0
0
1
0.052632
true
0
0.210526
0
0.263158
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
7970437b176cdb7056ca83d0c98c6e3890caad1a
802
py
Python
tests/test_inutils.py
buteco/inutils
67686bb244ef840e0f5ab8719256a74b11507d1e
[ "MIT" ]
6
2020-05-19T00:01:11.000Z
2020-05-20T01:22:24.000Z
tests/test_inutils.py
buteco/inutils
67686bb244ef840e0f5ab8719256a74b11507d1e
[ "MIT" ]
null
null
null
tests/test_inutils.py
buteco/inutils
67686bb244ef840e0f5ab8719256a74b11507d1e
[ "MIT" ]
null
null
null
import pytest from inutils import chunkify @pytest.mark.parametrize( "iterable, expected", ( ([1], [[1]]), ([1, 2], [[1, 2]]), ([1, 2, 3], [[1, 2], [3]]), ([1, 2, 3, 4, 5], [[1, 2], [3, 4], [5]]), (range(1, 7), [[1, 2], [3, 4], [5, 6]]), ), ) def test_chunkify_size...
25.0625
61
0.450125
120
802
2.941667
0.191667
0.090652
0.101983
0.090652
0.728045
0.728045
0.515581
0.475921
0.186969
0.186969
0
0.131261
0.278055
802
31
62
25.870968
0.478411
0
0
0.307692
0
0
0.044888
0
0
0
0
0
0.076923
1
0.076923
false
0
0.076923
0
0.153846
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79853ad2060b3e0d66a54edca47715c9d9520bae
318
py
Python
big_data/python_tools/big_data_tools/bokeh_tools/line_plot.py
paulhtremblay/big-data
dfa2aa9877300a57e7a9368af59c07fcc5841b4f
[ "MIT" ]
null
null
null
big_data/python_tools/big_data_tools/bokeh_tools/line_plot.py
paulhtremblay/big-data
dfa2aa9877300a57e7a9368af59c07fcc5841b4f
[ "MIT" ]
7
2020-06-05T18:13:25.000Z
2022-03-11T23:19:48.000Z
big_data/python_tools/big_data_tools/bokeh_tools/line_plot.py
paulhtremblay/big-data
dfa2aa9877300a57e7a9368af59c07fcc5841b4f
[ "MIT" ]
1
2020-11-25T18:24:37.000Z
2020-11-25T18:24:37.000Z
from bokeh.io import show from bokeh.plotting import figure import datetime import argparse from bokeh.models import NumeralTickFormatter def line_plot(p, x, y, line_width = 2, legend=None): p.line(x,y, line_width =line_width,legend=legend ) p.yaxis.formatter=NumeralTickFormatter(format="0,") show(p)
24.461538
55
0.757862
48
318
4.9375
0.520833
0.113924
0.050633
0.092827
0
0
0
0
0
0
0
0.007353
0.144654
318
12
56
26.5
0.863971
0
0
0
0
0
0.006309
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
79881a2bc7d03bbb2147b76da113829e9f08be62
124
py
Python
funcs.py
DhruvPatel01/NotAeroCalc
d4db34c88eaf55e198c9205eb2868bb6c2aca701
[ "MIT" ]
null
null
null
funcs.py
DhruvPatel01/NotAeroCalc
d4db34c88eaf55e198c9205eb2868bb6c2aca701
[ "MIT" ]
null
null
null
funcs.py
DhruvPatel01/NotAeroCalc
d4db34c88eaf55e198c9205eb2868bb6c2aca701
[ "MIT" ]
null
null
null
univariate_funcs = { 'log', 'exp', 'log10', 'sqrt', 'abs', 'cos', 'sin', 'tan', 'arccos', 'arcsin', 'arctan', }
24.8
54
0.491935
13
124
4.615385
1
0
0
0
0
0
0
0
0
0
0
0.020619
0.217742
124
5
55
24.8
0.597938
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
799376a4a691e64bc84ebed0257d7c964b89840a
10,508
py
Python
StockNest/login/funcs.py
vaibhavantil2/Stock-Price-Forecasting-Using-Artificial-Intelligence
69192454542432c7120cbf95ea443b567a248400
[ "MIT" ]
29
2018-08-30T09:28:20.000Z
2022-02-22T10:19:42.000Z
StockNest/login/funcs.py
vaibhavantil2/Stock-Price-Forecasting-Using-Artificial-Intelligence
69192454542432c7120cbf95ea443b567a248400
[ "MIT" ]
2
2020-02-25T06:33:11.000Z
2021-03-06T00:20:11.000Z
StockNest/login/funcs.py
koriavinash1/FIN_ishers
69192454542432c7120cbf95ea443b567a248400
[ "MIT" ]
11
2019-01-11T01:31:37.000Z
2021-12-15T17:14:35.000Z
from essentials.views import randomString,getCurrentTime,errorResp from models import authToken,verificationCode from constants import AUTH_EXPIRY_MINS from StockNest.settings import LOGIN_URL from django.http import HttpResponseRedirect,JsonResponse,HttpRequest from django.db.models import Q from school.funcs import i...
48.201835
134
0.459364
867
10,508
5.483276
0.167243
0.041649
0.04796
0.046277
0.685738
0.665545
0.652714
0.640303
0.627261
0.615061
0
0.013921
0.459935
10,508
218
135
48.201835
0.823789
0.022459
0
0.717822
0
0
0.036853
0
0
0
0
0
0
1
0.039604
false
0.004951
0.034653
0
0.292079
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79972c35ae9541c5e25150cb16ca8531178862bd
331
py
Python
vvcontrollers/__init__.py
yarmenti/py_vvcontrollers
f992053af520e8d3f7c544804f9eeb6b3b6dd8d8
[ "MIT" ]
null
null
null
vvcontrollers/__init__.py
yarmenti/py_vvcontrollers
f992053af520e8d3f7c544804f9eeb6b3b6dd8d8
[ "MIT" ]
null
null
null
vvcontrollers/__init__.py
yarmenti/py_vvcontrollers
f992053af520e8d3f7c544804f9eeb6b3b6dd8d8
[ "MIT" ]
null
null
null
__author__ = "Yannick ARMENTI" __version__ = "0.1.1" """ Helpers to use voila-vuetify template of the Jupyter voila-dashboard project. """ from .application import ApplicationVoilaVuetify from .menu import MenuController from .core import CoreController from .abstract import AbstrController from .dialog import Dialog...
23.642857
48
0.809668
39
331
6.666667
0.74359
0
0
0
0
0
0
0
0
0
0
0.010345
0.123867
331
13
49
25.461538
0.886207
0
0
0
0
0
0.081301
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
79a4a0e7d28ea04e29e11e00b9c896e06abc85fa
875
py
Python
conf_site/proposals/tests/test_exporting_submissions.py
pydata/conf_site
9a14459c36a0f2f0f552161c18de734ee87855da
[ "MIT" ]
13
2015-05-22T17:10:22.000Z
2021-07-15T16:45:19.000Z
conf_site/proposals/tests/test_exporting_submissions.py
pydata/conf_site
9a14459c36a0f2f0f552161c18de734ee87855da
[ "MIT" ]
758
2015-03-18T13:39:25.000Z
2022-03-31T13:14:09.000Z
conf_site/proposals/tests/test_exporting_submissions.py
pydata/conf_site
9a14459c36a0f2f0f552161c18de734ee87855da
[ "MIT" ]
16
2015-03-24T18:53:17.000Z
2020-10-22T21:30:02.000Z
from random import randint from conf_site.core.tests.test_csv_view import StaffOnlyCsvViewTestCase from conf_site.proposals.tests.factories import ProposalFactory from conf_site.proposals.views import ExportSubmissionsView class ExportSubmissionsViewTestCase(StaffOnlyCsvViewTestCase): view_class = ExportSubmissi...
41.666667
71
0.763429
89
875
7.348315
0.494382
0.137615
0.198777
0.259939
0
0
0
0
0
0
0
0.002747
0.168
875
20
72
43.75
0.895604
0
0
0
0
0
0.019429
0
0
0
0
0
0.3125
1
0.0625
false
0
0.25
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79a962aa546d2a8d872a3f08670ee541c9747f52
110
py
Python
projecto1/aula 16.py
Rachidomar1523/pythonExercicios
cca5b637ee97f83c7bdcc3babc4e53428edc1ce9
[ "MIT" ]
null
null
null
projecto1/aula 16.py
Rachidomar1523/pythonExercicios
cca5b637ee97f83c7bdcc3babc4e53428edc1ce9
[ "MIT" ]
null
null
null
projecto1/aula 16.py
Rachidomar1523/pythonExercicios
cca5b637ee97f83c7bdcc3babc4e53428edc1ce9
[ "MIT" ]
null
null
null
#lanche = 'rachid', 'omar', 'mersson', 'govnahica' #print(lanche[-4:4:2]) a = 1, 2, 5,8 b = 7, 9, 3 print(a+b)
22
50
0.563636
22
110
2.818182
0.727273
0
0
0
0
0
0
0
0
0
0
0.107527
0.154545
110
5
51
22
0.55914
0.636364
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79be8f9d82c86aa8b20f909f0add5efacf6fa424
193
py
Python
Project Euler #1: Multiples of 3 and 5/Python.py
gitvy/Project-Euler
b80f14bcd5b4b3bf4a9b98a8021a7abc714f89d9
[ "MIT" ]
null
null
null
Project Euler #1: Multiples of 3 and 5/Python.py
gitvy/Project-Euler
b80f14bcd5b4b3bf4a9b98a8021a7abc714f89d9
[ "MIT" ]
2
2018-10-06T10:46:04.000Z
2018-10-06T12:00:20.000Z
Project Euler #1: Multiples of 3 and 5/Python.py
gitvy/Project-Euler
b80f14bcd5b4b3bf4a9b98a8021a7abc714f89d9
[ "MIT" ]
9
2018-10-03T17:33:54.000Z
2018-10-31T11:45:26.000Z
for i in range(int(input())): n = int(input()) -1 l1 = n - n%3 l2 = n - n%5 l3 = n - n%15 s1 = ((l1)*(3+l1))//6 s2 = ((l2)*(5+l2))//10 s3 = ((l3)*(15+l3))//30 print(s1+s2-s3)
16.083333
29
0.430052
41
193
2.02439
0.512195
0.072289
0
0
0
0
0
0
0
0
0
0.204225
0.264249
193
11
30
17.545455
0.380282
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79c5709fdd3db626ce0d5949d5fbee7ed74d6cf6
1,014
py
Python
public-engines/iris-h2o-automl/marvin_iris_h2o_automl/training/metrics_evaluator.py
guialba/incubator-marvin
f0edb74813d1e7ce6d4a8d1cff5ebd93defae0b0
[ "Apache-2.0" ]
101
2018-10-12T20:33:43.000Z
2022-03-04T08:48:08.000Z
public-engines/iris-h2o-automl/marvin_iris_h2o_automl/training/metrics_evaluator.py
guialba/incubator-marvin
f0edb74813d1e7ce6d4a8d1cff5ebd93defae0b0
[ "Apache-2.0" ]
54
2018-11-05T23:39:59.000Z
2022-01-18T01:16:12.000Z
public-engines/iris-h2o-automl/marvin_iris_h2o_automl/training/metrics_evaluator.py
guialba/incubator-marvin
f0edb74813d1e7ce6d4a8d1cff5ebd93defae0b0
[ "Apache-2.0" ]
69
2018-10-17T06:02:25.000Z
2022-03-04T08:48:09.000Z
#!/usr/bin/env python # coding=utf-8 """MetricsEvaluator engine action. Use this module to add the project main code. """ from .._compatibility import six from .._logging import get_logger from marvin_python_toolbox.engine_base import EngineBaseTraining from ..model_serializer import ModelSerializer __all__ = ['Me...
26
82
0.720907
122
1,014
5.704918
0.532787
0.071839
0.073276
0.090517
0.094828
0
0
0
0
0
0
0.005917
0.166667
1,014
38
83
26.684211
0.817751
0.121302
0
0
0
0
0.081725
0
0
0
0
0
0
1
0.117647
false
0
0.352941
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
79cab7effdb70262710e7e85d4e5f57a518502d0
2,051
py
Python
dsaii/views.py
khushi0205/DSAII
0a9c2b52346d8c71821854d8b84d52a92bf87449
[ "MIT" ]
null
null
null
dsaii/views.py
khushi0205/DSAII
0a9c2b52346d8c71821854d8b84d52a92bf87449
[ "MIT" ]
1
2022-03-12T01:05:20.000Z
2022-03-12T01:05:20.000Z
dsaii/views.py
khushi0205/DSAII
0a9c2b52346d8c71821854d8b84d52a92bf87449
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views import View from django.views.generic import ListView, DetailView, CreateView from django.http import HttpResponseRedirect from .models import Post, Comments, Event, EveComm from django.urls import reverse_lazy, reverse from django.core.mail import send_mail from dj...
26.294872
65
0.677231
259
2,051
5.254826
0.266409
0.066128
0.051433
0.087436
0.483468
0.439383
0.439383
0.439383
0.439383
0.405584
0
0.000612
0.203315
2,051
77
66
26.636364
0.832313
0.038518
0
0.303571
0
0
0.074187
0
0
0
0
0
0
1
0.160714
false
0
0.178571
0.125
0.964286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
79cf52860a8920db3069a6c3e59230b5f67ca657
66
py
Python
18f/prac2/aah.py
willzhang05/icpc-practice
42f1fde0e7e26ba44d433688393db71e02b043b7
[ "MIT" ]
null
null
null
18f/prac2/aah.py
willzhang05/icpc-practice
42f1fde0e7e26ba44d433688393db71e02b043b7
[ "MIT" ]
null
null
null
18f/prac2/aah.py
willzhang05/icpc-practice
42f1fde0e7e26ba44d433688393db71e02b043b7
[ "MIT" ]
null
null
null
a = input() b = input() print("go" if len(b) <= len(a) else "no")
16.5
41
0.530303
13
66
2.692308
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.19697
66
3
42
22
0.660377
0
0
0
0
0
0.060606
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
79e02fdb456048cb03fa77b22ad444b03583f53b
398
py
Python
services/api/__init__.py
flaviohenriqu/chemical-image-generation
51ce5e0e8484483ad5b2c763b519e7700085e9ac
[ "W3C" ]
null
null
null
services/api/__init__.py
flaviohenriqu/chemical-image-generation
51ce5e0e8484483ad5b2c763b519e7700085e9ac
[ "W3C" ]
null
null
null
services/api/__init__.py
flaviohenriqu/chemical-image-generation
51ce5e0e8484483ad5b2c763b519e7700085e9ac
[ "W3C" ]
null
null
null
# services/__init__.py import os import connexion import logging def create_app(script_info=None): # instantiate the app con_app = connexion.FlaskApp(__name__, specification_dir='docs/') con_app.add_api('api.yaml', options={'swagger_url': '/docs'}) # set config app_settings = os.getenv('APP_SET...
19.9
69
0.723618
55
398
4.854545
0.618182
0.089888
0
0
0
0
0
0
0
0
0
0
0.163317
398
19
70
20.947368
0.801802
0.128141
0
0
0
0
0.119883
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8dab12d96d96b97f6d12786649b2c03c32151571
2,453
py
Python
examples/action_models/AD7_Condition_Test_2.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
examples/action_models/AD7_Condition_Test_2.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
examples/action_models/AD7_Condition_Test_2.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
from sysmpy import * import asyncio """ +---------------+ | | | start | | | +---------------+ | process ...
33.148649
77
0.213616
130
2,453
3.946154
0.446154
0.038986
0.042885
0.070175
0
0
0
0
0
0
0
0.04364
0.560946
2,453
74
78
33.148649
0.432683
0.032613
0
0
0
0
0.194401
0
0
0
0
0
0
1
0.043478
false
0
0.086957
0
0.217391
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8db59fc9c024ba71d989ee019ea814af7fb643ae
2,085
py
Python
tests/test_duplicated_link.py
mhbl3/matlabdomain
b210f5b5bd9276dba27f411cce0398538dbe7d9c
[ "BSD-2-Clause" ]
38
2017-11-23T19:27:05.000Z
2022-03-28T11:34:08.000Z
tests/test_duplicated_link.py
mhbl3/matlabdomain
b210f5b5bd9276dba27f411cce0398538dbe7d9c
[ "BSD-2-Clause" ]
83
2017-11-22T19:08:49.000Z
2022-02-14T09:06:23.000Z
tests/test_duplicated_link.py
mhbl3/matlabdomain
b210f5b5bd9276dba27f411cce0398538dbe7d9c
[ "BSD-2-Clause" ]
31
2017-11-21T13:38:50.000Z
2022-02-10T19:34:58.000Z
# -*- coding: utf-8 -*- """ test_package_links.py ~~~~~~~~~~~~ Test the autodoc extension. :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ from __future__ import unicode_literals import pickle import os import sys import docutils import...
35.948276
267
0.733333
283
2,085
5.236749
0.402827
0.023617
0.021592
0.025641
0.65722
0.62753
0.62753
0.62753
0.62753
0.62753
0
0.012972
0.14964
2,085
58
268
35.948276
0.822899
0.092086
0
0.352941
0
0.058824
0.337621
0.103966
0
0
0
0.017241
0.117647
1
0.088235
false
0
0.294118
0.029412
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
8db607131c533e95554c390d2f1835d2b87256db
10,011
py
Python
numpy/doc/dispatch.py
Soniyanayak51/numpy
e1c42bb77fa727f0b214f3433207e20261acb57f
[ "BSD-3-Clause" ]
1
2020-09-27T15:30:10.000Z
2020-09-27T15:30:10.000Z
numpy/doc/dispatch.py
Soniyanayak51/numpy
e1c42bb77fa727f0b214f3433207e20261acb57f
[ "BSD-3-Clause" ]
null
null
null
numpy/doc/dispatch.py
Soniyanayak51/numpy
e1c42bb77fa727f0b214f3433207e20261acb57f
[ "BSD-3-Clause" ]
null
null
null
""".. _dispatch_mechanism: Numpy's dispatch mechanism, introduced in numpy version v1.16 is the recommended approach for writing custom N-dimensional array containers that are compatible with the numpy API and provide custom implementations of numpy functionality. Applications include `dask <http://dask.pydata.org>`_ ...
36.805147
137
0.588153
1,271
10,011
4.428796
0.22502
0.022739
0.025582
0.022739
0.370048
0.330965
0.317108
0.308225
0.295079
0.295079
0
0.020755
0.254021
10,011
271
138
36.940959
0.732994
0.999201
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8dc84763473098aa01de804db16e1ef5c683d027
292
py
Python
core/models/program_availability.py
themightychris/prevention-point
a92f98b25d32dd30bb33e7cb1ac7f10439f5203f
[ "MIT" ]
1
2020-07-18T02:14:51.000Z
2020-07-18T02:14:51.000Z
core/models/program_availability.py
themightychris/prevention-point
a92f98b25d32dd30bb33e7cb1ac7f10439f5203f
[ "MIT" ]
null
null
null
core/models/program_availability.py
themightychris/prevention-point
a92f98b25d32dd30bb33e7cb1ac7f10439f5203f
[ "MIT" ]
1
2020-02-22T18:21:04.000Z
2020-02-22T18:21:04.000Z
from django.db import models from core.models import Program class ProgramAvailability(models.Model): program = models.ForeignKey(Program, on_delete=models.CASCADE) day_of_week = models.CharField(max_length = 10) start_time = models.TimeField() end_time = models.TimeField()
32.444444
66
0.767123
38
292
5.736842
0.657895
0.091743
0.174312
0
0
0
0
0
0
0
0
0.008
0.143836
292
8
67
36.5
0.864
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
8dcbc484d1163be154aa8ae26f62b2321681a589
1,703
py
Python
audlib/nn/util.py
RaphaelOlivier/pyaudlib
6c9321550e3e1a74081699a8d0770f986647206c
[ "MIT" ]
26
2020-11-19T01:22:58.000Z
2021-11-09T08:22:54.000Z
audlib/nn/util.py
RaphaelOlivier/pyaudlib
6c9321550e3e1a74081699a8d0770f986647206c
[ "MIT" ]
1
2021-04-20T21:14:15.000Z
2021-04-20T21:14:15.000Z
audlib/nn/util.py
RaphaelOlivier/pyaudlib
6c9321550e3e1a74081699a8d0770f986647206c
[ "MIT" ]
4
2020-11-03T14:29:41.000Z
2021-02-04T21:31:33.000Z
"""Utility functions for neural networks.""" import numpy as np import torch def detach(states): """Truncate backpropagation (usually used in RNN).""" return [state.detach() for state in states] def hasnan(m): """Check if torch.tensor m have NaNs in it.""" return np.any(np.isnan(m.cpu().data.numpy()...
33.392157
75
0.625954
229
1,703
4.554585
0.445415
0.080537
0.069032
0.037392
0.053691
0
0
0
0
0
0
0.009834
0.223723
1,703
50
76
34.06
0.779123
0.255432
0
0
0
0
0.009009
0
0
0
0
0
0.034483
1
0.241379
false
0
0.068966
0
0.517241
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8dee2095c61ac16f458da7b92177852b783ebfd0
2,397
py
Python
back-end/RawFishSheep/app_warehouse/migrations/0002_auto_20190508_2022.py
Coldarra/RawFishSheep
266bd9d8d9832d5c692b63e7515d45fdc4f6acc4
[ "Apache-2.0" ]
null
null
null
back-end/RawFishSheep/app_warehouse/migrations/0002_auto_20190508_2022.py
Coldarra/RawFishSheep
266bd9d8d9832d5c692b63e7515d45fdc4f6acc4
[ "Apache-2.0" ]
4
2021-10-06T22:49:52.000Z
2022-02-27T12:28:18.000Z
back-end/RawFishSheep/app_warehouse/migrations/0002_auto_20190508_2022.py
Coldarra/RawFishSheep
266bd9d8d9832d5c692b63e7515d45fdc4f6acc4
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.7 on 2019-05-08 12:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app_warehouse', '0001_initial'), ] operations = [ migrations.AddField( model_name='cargoin', ...
39.95
175
0.622862
260
2,397
5.561538
0.230769
0.056017
0.058091
0.091286
0.737898
0.737898
0.526971
0.526971
0.526971
0.526971
0
0.013897
0.249479
2,397
59
176
40.627119
0.789883
0.018773
0
0.622642
1
0
0.155745
0.028511
0
0
0
0
0
1
0
false
0
0.037736
0
0.09434
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5c003836f17d8b0f0cb249458e5efd1194555d89
1,500
py
Python
isi_mip/core/migrations/0009_auto_20180221_1017.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2017-07-05T08:06:18.000Z
2021-03-01T17:23:18.000Z
isi_mip/core/migrations/0009_auto_20180221_1017.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2020-01-31T09:02:57.000Z
2021-04-20T14:04:35.000Z
isi_mip/core/migrations/0009_auto_20180221_1017.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2017-10-12T01:48:55.000Z
2020-04-29T13:50:03.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-02-21 09:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0008_auto_20180215_1138'), ] operations = [ migrations.AlterField( ...
57.692308
839
0.717333
206
1,500
5.121359
0.582524
0.014218
0.047393
0.054976
0.104265
0.104265
0
0
0
0
0
0.033552
0.185333
1,500
25
840
60
0.827332
0.045333
0
0.333333
1
0.111111
0.638209
0.184745
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5c0ef8b054d44c935b449255f3cf4913a951ba4d
2,407
py
Python
test/transform/test_base.py
marrow/schema
e2b16ec45329a646156388936c2e779ddcd8fa77
[ "MIT" ]
3
2016-09-03T07:00:50.000Z
2021-06-19T18:52:56.000Z
test/transform/test_base.py
marrow/schema
e2b16ec45329a646156388936c2e779ddcd8fa77
[ "MIT" ]
6
2015-01-23T19:32:04.000Z
2019-10-23T15:36:48.000Z
test/transform/test_base.py
marrow/schema
e2b16ec45329a646156388936c2e779ddcd8fa77
[ "MIT" ]
2
2015-11-13T20:02:17.000Z
2018-01-30T12:01:47.000Z
from io import StringIO from marrow.schema.exc import Concern from marrow.schema.testing import TransformTest from marrow.schema.transform.base import BaseTransform, Transform, IngressTransform, EgressTransform, SplitTransform PASSTHROUGH = (None, False, True, "", "Foo", 27, 42.0, [], {}) ST = SplitTransform( rea...
23.368932
116
0.695056
292
2,407
5.678082
0.308219
0.046442
0.033776
0.027744
0.149578
0.149578
0.086852
0.086852
0.048251
0
0
0.027586
0.156627
2,407
102
117
23.598039
0.789163
0
0
0.225352
0
0
0.046946
0
0
0
0
0
0.211268
1
0.15493
false
0.098592
0.056338
0
0.56338
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
5c11e00f6a1f9d4a3d977e63f3860a6d58bfd9b5
275
py
Python
SentimentAnalysis/pickleMe.py
sazlin/reTOracle
26bd83853c6f35f40d929b7aac9a8e9874d2982e
[ "MIT" ]
null
null
null
SentimentAnalysis/pickleMe.py
sazlin/reTOracle
26bd83853c6f35f40d929b7aac9a8e9874d2982e
[ "MIT" ]
null
null
null
SentimentAnalysis/pickleMe.py
sazlin/reTOracle
26bd83853c6f35f40d929b7aac9a8e9874d2982e
[ "MIT" ]
null
null
null
import cPickle def load_pickle(filename): pickled = open(filename, 'rb') data = cPickle.load(pickled) return data def export_pickle(filename, the_object): pickle_file = open(filename, 'w') cPickle.dump(the_object, pickle_file) pickle_file.close()
19.642857
41
0.705455
36
275
5.194444
0.5
0.160428
0.160428
0.203209
0
0
0
0
0
0
0
0
0.185455
275
14
42
19.642857
0.834821
0
0
0
0
0
0.01087
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
5c2426276d41fc2618edc38731cb188d7fc545fc
392
py
Python
observers.py
rnowling/integrator-experiments
e8131f21f29ac2cec2cf28504634b49b2c20be98
[ "Apache-2.0" ]
null
null
null
observers.py
rnowling/integrator-experiments
e8131f21f29ac2cec2cf28504634b49b2c20be98
[ "Apache-2.0" ]
null
null
null
observers.py
rnowling/integrator-experiments
e8131f21f29ac2cec2cf28504634b49b2c20be98
[ "Apache-2.0" ]
null
null
null
import numpy as np class TotalEnergyObserver(object): def __init__(self, period): self.period = period self.energies = [] self.eps = 1e-5 def observe(self, state): if state.simulated_time % self.period < self.eps: self.energies.append(state.total_energy) def st...
26.133333
60
0.635204
50
392
4.86
0.54
0.197531
0.115226
0
0
0
0
0
0
0
0
0.006849
0.255102
392
14
61
28
0.825342
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5c2d47ba84e2f5c0eefbe1d28fd366c68d0b414a
636
gyp
Python
binding.gyp
codyrigney92/node-rpi-si4703
8f14613934ce8f79be5fa5a7018ae77939b1427a
[ "MIT" ]
null
null
null
binding.gyp
codyrigney92/node-rpi-si4703
8f14613934ce8f79be5fa5a7018ae77939b1427a
[ "MIT" ]
null
null
null
binding.gyp
codyrigney92/node-rpi-si4703
8f14613934ce8f79be5fa5a7018ae77939b1427a
[ "MIT" ]
3
2017-11-09T16:35:12.000Z
2021-07-30T07:56:55.000Z
{ "targets": [ { "target_name": "node-rpi-si4703", "cflags!": ['-fno-exceptions -std=c++11'], "cflags_cc!": ['-fno-exceptions -std=c++11'], "sources": ["src/node-rpi-si4703.cpp", "src/FMTuner.cpp", "src/FMTuner.h", "src/rpi-si4703/Si4703_Breakout.cpp", "src/rpi-si4703/Si4703_Breakout.h"], ...
27.652174
155
0.52673
68
636
4.808824
0.470588
0.192661
0.198777
0.103976
0.275229
0
0
0
0
0
0
0.083333
0.245283
636
22
156
28.909091
0.597917
0
0
0
0
0
0.599057
0.194969
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5c333e5dff043f5d0ad12599f878d49847040fe6
1,136
py
Python
moyu_engine/config/main.py
MoYuStudio/MYSG01
2bb33f6258893d881466689cd2f0de50e866915d
[ "Apache-2.0" ]
null
null
null
moyu_engine/config/main.py
MoYuStudio/MYSG01
2bb33f6258893d881466689cd2f0de50e866915d
[ "Apache-2.0" ]
null
null
null
moyu_engine/config/main.py
MoYuStudio/MYSG01
2bb33f6258893d881466689cd2f0de50e866915d
[ "Apache-2.0" ]
null
null
null
import sys import pygame from pygame.locals import * import moyu_engine.config.data.constants as C import moyu_engine.config.system.assets_system import moyu_engine.config.system.tilemap_system import moyu_engine.config.system.move_system import moyu_engine.config.window.main_window def init(): pygame.init(...
23.183673
77
0.691021
146
1,136
5.178082
0.39726
0.119048
0.190476
0.174603
0.383598
0.367725
0
0
0
0
0
0.002186
0.194542
1,136
48
78
23.666667
0.824044
0.027289
0
0
0
0
0.018132
0
0
0
0
0
0
1
0.066667
false
0.033333
0.266667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5c47c927775d465d71f944ca38c64d630c8fd0a1
313
py
Python
ebl/tests/fragmentarium/test_genre_route.py
BuildJet/ebl-api
b2c23f262648fb455d6c8749e1e386723b93958b
[ "MIT" ]
4
2020-04-12T14:24:51.000Z
2020-10-15T15:48:15.000Z
ebl/tests/fragmentarium/test_genre_route.py
BuildJet/ebl-api
b2c23f262648fb455d6c8749e1e386723b93958b
[ "MIT" ]
200
2019-12-04T09:53:20.000Z
2022-03-30T20:11:31.000Z
ebl/tests/fragmentarium/test_genre_route.py
BuildJet/ebl-api
b2c23f262648fb455d6c8749e1e386723b93958b
[ "MIT" ]
1
2021-09-06T16:22:39.000Z
2021-09-06T16:22:39.000Z
import falcon from ebl.fragmentarium.domain.genres import genres def test_get_genre(client): get_result = client.simulate_get("/genres") assert get_result.status == falcon.HTTP_OK assert get_result.headers["Access-Control-Allow-Origin"] == "*" assert get_result.json == list(map(list, genres))
28.454545
67
0.741214
43
313
5.209302
0.604651
0.160714
0.200893
0
0
0
0
0
0
0
0
0
0.13738
313
10
68
31.3
0.82963
0
0
0
0
0
0.111821
0.086262
0
0
0
0
0.428571
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
30a80918e96e4e69ec967873f64944382ffe7103
713
py
Python
element/port.py
antopenrf/FLO
3183af8f4ee63d6ba2188551e322943a2874054a
[ "MIT" ]
3
2021-06-06T14:00:22.000Z
2021-06-07T12:48:19.000Z
element/port.py
antopenrf/FLO
3183af8f4ee63d6ba2188551e322943a2874054a
[ "MIT" ]
3
2019-03-16T18:22:29.000Z
2021-06-06T14:03:07.000Z
element/port.py
antopenrf/FLO
3183af8f4ee63d6ba2188551e322943a2874054a
[ "MIT" ]
1
2017-09-27T14:05:38.000Z
2017-09-27T14:05:38.000Z
"""Illustration of the concept of using 'port' module. c1 = Cap('c1', 1) c1.nosp = 2, nocp: number of schematic ports c1.nond = 4, nond: number of matrix nodes c1.s_ports = (1, 2) c1.m_ports = (1, 2, -1, -2) c2 = Cap('c2', 2) c2.nosp = 2 c2.nomp = 4 c2.s_ports = (3, 4) -- seq of ports for symbol c2.m_ports = (3...
23
60
0.590463
124
713
3.225806
0.346774
0.15
0.11
0.035
0.235
0.235
0.16
0.16
0.16
0
0
0.06403
0.255259
713
30
61
23.766667
0.689266
0.569425
0
0.25
0
0
0.077966
0
0
0
0
0
0
1
0.375
false
0
0
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
30d6fe6c88f8668f17cb0b91ed6b7845e566f166
553
py
Python
Proyect/api/views.py
JZ1999/RandomProyect
645ba07435335ed864a0841ea60fc51a3f2f6fc8
[ "MIT" ]
null
null
null
Proyect/api/views.py
JZ1999/RandomProyect
645ba07435335ed864a0841ea60fc51a3f2f6fc8
[ "MIT" ]
null
null
null
Proyect/api/views.py
JZ1999/RandomProyect
645ba07435335ed864a0841ea60fc51a3f2f6fc8
[ "MIT" ]
null
null
null
from django.http import JsonResponse, HttpResponseBadRequest from rest_framework import generics from .models import Game from .serializers import GameSerializer from .forms import GameForm class ListGamesView(generics.ListAPIView): queryset = Game.objects.all() serializer_class = GameSerializer def pos...
27.65
60
0.705244
59
553
6.559322
0.610169
0
0
0
0
0
0
0
0
0
0
0
0.213382
553
19
61
29.105263
0.889655
0.034358
0
0
0
0
0.003752
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
30d7dc9b22af746c83806e0ef48c83cd09687f26
1,139
py
Python
src/alembic/versions/01e58ee9eccb_adjust_constraints_on_pull_request_flags.py
yifengyou/learn-pagure
e54ba955368918c92ad2be6347b53bb2c24a228c
[ "Unlicense" ]
null
null
null
src/alembic/versions/01e58ee9eccb_adjust_constraints_on_pull_request_flags.py
yifengyou/learn-pagure
e54ba955368918c92ad2be6347b53bb2c24a228c
[ "Unlicense" ]
null
null
null
src/alembic/versions/01e58ee9eccb_adjust_constraints_on_pull_request_flags.py
yifengyou/learn-pagure
e54ba955368918c92ad2be6347b53bb2c24a228c
[ "Unlicense" ]
null
null
null
"""Adjust constraints on pull_request_flags Revision ID: 01e58ee9eccb Revises: 6119fbbcc8e9 Create Date: 2017-11-16 16:50:47.278252 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '01e58ee9eccb' down_revision = '6119fbbcc8e9' def upgrade(): """ Remove th...
26.488372
75
0.700615
146
1,139
5.130137
0.328767
0.23498
0.23498
0.152203
0.500668
0.453939
0.449933
0.411215
0.331108
0.271028
0
0.047244
0.219491
1,139
42
76
27.119048
0.795276
0.394205
0
0.2
0
0
0.393241
0.211982
0
0
0
0
0
1
0.1
false
0
0.1
0
0.2
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a50805b9e823b21602c7b849557164850216578a
523
py
Python
infrastructor/data/SqlBuilder.py
ahmetcagriakca/ImageProcessingApi
b19d28719aecfdf3a26b4d48eac54f65beb25488
[ "MIT" ]
null
null
null
infrastructor/data/SqlBuilder.py
ahmetcagriakca/ImageProcessingApi
b19d28719aecfdf3a26b4d48eac54f65beb25488
[ "MIT" ]
null
null
null
infrastructor/data/SqlBuilder.py
ahmetcagriakca/ImageProcessingApi
b19d28719aecfdf3a26b4d48eac54f65beb25488
[ "MIT" ]
null
null
null
class SqlBuilder: def __init__(self): pass def build(self): pass class DefaultInsertSqlBuilder(SqlBuilder): def __init__(self, table_name, length): self.table_name = table_name self.length = length def build(self): value_sql = '' for rec in...
22.73913
68
0.550669
60
523
4.533333
0.4
0.132353
0.143382
0.154412
0
0
0
0
0
0
0
0.005814
0.342256
523
22
69
23.772727
0.784884
0
0
0.25
0
0
0.116635
0
0
0
0
0
0
1
0.25
false
0.125
0
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
a513e694b21d20672c5140a227b9615e0d467de9
36,194
py
Python
tool/benchmark/run_benchmark.py
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
30
2020-09-16T17:39:36.000Z
2022-02-17T08:32:53.000Z
tool/benchmark/run_benchmark.py
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
7
2020-11-23T14:37:15.000Z
2022-01-17T11:35:32.000Z
tool/benchmark/run_benchmark.py
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
5
2020-09-17T00:39:14.000Z
2021-08-30T16:14:07.000Z
import webbrowser from subprocess import Popen, PIPE, check_output from os.path import abspath, dirname, join from time import sleep import math import subprocess import os import fileinput numWorkers = os.cpu_count() criticalError = 0xB00BA420 benchmark_msvc_path = abspath( join( dirname( __file__ ), 'bin...
118.281046
4,495
0.53006
3,122
36,194
6.085842
0.289238
0.007579
0.030789
0.036947
0.514789
0.494684
0.473105
0.446526
0.411
0.377632
0
0.118295
0.328286
36,194
306
4,496
118.281046
0.663212
0.002238
0
0.330986
0
0.003521
0.277972
0.141354
0
0
0.000277
0
0
1
0
false
0
0.028169
0
0.028169
0.014085
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eb6f546a622c22d042d16ef7ecd5b9c66b1d29a0
437
py
Python
spock/addons/s3/__init__.py
gbmarc1/spock
27cbcbb80cd3e4eac1c79032011afaf1a3e83f08
[ "Apache-2.0" ]
58
2020-08-07T20:28:28.000Z
2022-03-14T17:32:37.000Z
spock/addons/s3/__init__.py
gbmarc1/spock
27cbcbb80cd3e4eac1c79032011afaf1a3e83f08
[ "Apache-2.0" ]
178
2020-08-11T15:02:07.000Z
2022-03-30T07:18:06.000Z
spock/addons/s3/__init__.py
gbmarc1/spock
27cbcbb80cd3e4eac1c79032011afaf1a3e83f08
[ "Apache-2.0" ]
7
2020-08-11T13:44:50.000Z
2022-02-24T14:35:55.000Z
# -*- coding: utf-8 -*- # Copyright FMR LLC <opensource@fidelity.com> # SPDX-License-Identifier: Apache-2.0 """ Spock is a framework that helps manage complex parameter configurations for Python applications Please refer to the documentation provided in the README.md """ from spock.addons.s3.configs import S3Config...
29.133333
95
0.762014
53
437
6.207547
0.886792
0.145897
0.231003
0
0
0
0
0
0
0
0
0.026178
0.125858
437
14
96
31.214286
0.835079
0.592677
0
0
0
0
0.297619
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
eb82146844f102b48296ef5285b42848dd06e2cf
759
py
Python
minecraft_py/game.py
plave0/petnica-oop-ex
6d270140994e7e69a32dbdeb3fbffbe0910fe936
[ "Apache-2.0" ]
2
2021-10-21T13:09:00.000Z
2022-01-30T13:54:21.000Z
minecraft_py/game.py
plave0/petnica-oop-ex
6d270140994e7e69a32dbdeb3fbffbe0910fe936
[ "Apache-2.0" ]
null
null
null
minecraft_py/game.py
plave0/petnica-oop-ex
6d270140994e7e69a32dbdeb3fbffbe0910fe936
[ "Apache-2.0" ]
null
null
null
from world import World from player import Player import mc_objects as mco class Game: def __init__(self) -> None: self.world = World(20, 20) self.player = Player(self.world) print("Game started.") def play(self): stone_block = mco.Block(mco.Blocks.Stone) pick = mco...
24.483871
49
0.591568
118
759
3.70339
0.347458
0.251716
0.15103
0.19222
0.270023
0
0
0
0
0
0
0.067395
0.27668
759
30
50
25.3
0.728597
0
0
0
0
0
0.017128
0
0
0
0
0
0
1
0.090909
false
0
0.136364
0
0.272727
0.045455
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eb8871e497224ddebcb3f098de719041ff2c04b9
463
py
Python
python/python/collections/queue_with_stacks.py
othonreyes/code_problems
6e65b26120b0b9d6e5ac7342a4d964696b7bd5bf
[ "MIT" ]
null
null
null
python/python/collections/queue_with_stacks.py
othonreyes/code_problems
6e65b26120b0b9d6e5ac7342a4d964696b7bd5bf
[ "MIT" ]
null
null
null
python/python/collections/queue_with_stacks.py
othonreyes/code_problems
6e65b26120b0b9d6e5ac7342a4d964696b7bd5bf
[ "MIT" ]
null
null
null
class Queue: def __init__(self): stack1 = [] stack2 = [] def add(self, n): if len(self.stack2) > 0: self.empty(self.stack2, self.stack1) self.stack1.append(n) def remove(self): if len(self.stack1) > 0: self.empty(self.stack1, self.stack2) ...
20.130435
48
0.533477
57
463
4.263158
0.350877
0.205761
0.074074
0.115226
0
0
0
0
0
0
0
0.042071
0.332613
463
22
49
21.045455
0.744337
0
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0
0
0.4
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
eb8e0068abb647272ee577547791c62b2a2ba792
1,447
py
Python
django/views/list_modules.py
Kh4n/django-exploit
041a8d60a09cbbf2f61c099e113ff19516b06e5c
[ "PSF-2.0", "BSD-3-Clause" ]
1
2020-11-26T12:40:55.000Z
2020-11-26T12:40:55.000Z
django/views/list_modules.py
Kh4n/django-exploit
041a8d60a09cbbf2f61c099e113ff19516b06e5c
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
django/views/list_modules.py
Kh4n/django-exploit
041a8d60a09cbbf2f61c099e113ff19516b06e5c
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
import importlib from pprint import pprint import ast def get_imports_from_file(file_name): with open(file_name, "r") as source: tree = ast.parse(source.read()) analyzer = Analyzer() analyzer.visit(tree) imports = analyzer.report() ret = [] for i in imports: print(i) t...
26.309091
71
0.592951
178
1,447
4.595506
0.320225
0.061125
0.085575
0.066015
0.332518
0.276284
0.156479
0.07824
0
0
0
0
0.292329
1,447
55
72
26.309091
0.798828
0.085003
0
0.1
0
0
0.025
0
0
0
0
0
0
1
0.15
false
0
0.4
0.05
0.65
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
eb9459e00deed0faa8aee345302cabd2b2307fa7
751
py
Python
AutoEncoders/denoising_AE/main.py
imhgchoi/pytorch_implementations
e6add9991b23604a8ef1b4a34391f3014db6bbbd
[ "MIT" ]
3
2021-01-16T13:33:15.000Z
2021-12-04T12:06:05.000Z
AutoEncoders/denoising_AE/main.py
imhgchoi/pytorch_implementations
e6add9991b23604a8ef1b4a34391f3014db6bbbd
[ "MIT" ]
null
null
null
AutoEncoders/denoising_AE/main.py
imhgchoi/pytorch_implementations
e6add9991b23604a8ef1b4a34391f3014db6bbbd
[ "MIT" ]
1
2021-04-25T13:37:03.000Z
2021-04-25T13:37:03.000Z
from AutoEncoder.denoising_AE.denoising_ae import DAE from AutoEncoder.denoising_AE.data import Data from AutoEncoder.denoising_AE.learner import Learner from AutoEncoder.denoising_AE.visualizer import Visualizer if __name__ == '__main__': DATA_DIR = 'D:/rawDataFiles/digit_train.csv' LEARNING_RATE = ...
28.884615
80
0.697736
97
751
5.175258
0.371134
0.109562
0.191235
0.207171
0
0
0
0
0
0
0
0.015126
0.207723
751
25
81
30.04
0.828571
0
0
0
0
0
0.053719
0.0427
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.1
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eb95e81e61bd922b5644e4db418cdb40564ba206
954
py
Python
educative/binarysearch/findhighestnumber.py
monishshah18/python-cp-cheatsheet
a5514b08816959de1198156f7764c54a7a585f20
[ "Apache-2.0" ]
140
2020-10-21T13:23:52.000Z
2022-03-31T15:09:45.000Z
educative/binarysearch/findhighestnumber.py
stacykutyepov/python-cp-cheatsheet
a00a57e1b36433648d1cace331e15ff276cef189
[ "Apache-2.0" ]
1
2021-07-22T14:01:25.000Z
2021-07-22T14:01:25.000Z
educative/binarysearch/findhighestnumber.py
stacykutyepov/python-cp-cheatsheet
a00a57e1b36433648d1cace331e15ff276cef189
[ "Apache-2.0" ]
33
2020-10-21T14:17:02.000Z
2022-03-25T11:25:03.000Z
def find_highest_number(A): if len(A) < 3: return None def condition(value) -> bool: leftNeighbor = value - 1 rightNeighbor = value + 1 # TODO: Add conditions for leftmost and rightmost values if A[leftNeighbor] < A[value] < A[rightNeighbor]: return Fals...
25.783784
72
0.553459
139
954
3.726619
0.294964
0.106178
0.164093
0.173745
0.501931
0.449807
0.320463
0.169884
0.169884
0.169884
0
0.052067
0.315514
954
37
73
25.783784
0.741194
0.078616
0
0.214286
0
0
0
0
0
0
0
0.027027
0
1
0.071429
false
0
0
0
0.25
0.142857
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
eba753454a64f1cf8ead73386ef1500060df92ba
657
py
Python
wings/resource.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
null
null
null
wings/resource.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
8
2019-07-28T17:04:38.000Z
2019-08-06T23:57:08.000Z
wings/resource.py
KnowledgeCaptureAndDiscovery/wings-client
af1d068f4adc07d9060afa94dc99e0b2565be088
[ "Apache-2.0" ]
1
2019-07-29T22:53:41.000Z
2019-07-29T22:53:41.000Z
import json from urllib.parse import urlencode class Resource(object): def __init__(self, api_client): self.api_client = api_client def get_machine(self, resid): params = {'resid': resid} resp = self.api_client.session.get(self.api_client.get_server() + '/common/resources/getMachineJ...
32.85
111
0.631659
76
657
5.236842
0.407895
0.158291
0.19598
0.100503
0.18593
0.18593
0.18593
0
0
0
0
0
0.251142
657
19
112
34.578947
0.808943
0
0
0
0
0
0.121766
0.100457
0
0
0
0
0
1
0.214286
false
0
0.142857
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
ebbf7e67468805302253ba993a8c30e371e50438
528
py
Python
Ngo/FinalProj/accounts/migrations/0013_auto_20201010_1226.py
Devang-25/Donate-Cart-for-NGO-By-Devang-Sharma
0ff42aba6a2b266826637877b8a74cda2e22cac8
[ "MIT" ]
null
null
null
Ngo/FinalProj/accounts/migrations/0013_auto_20201010_1226.py
Devang-25/Donate-Cart-for-NGO-By-Devang-Sharma
0ff42aba6a2b266826637877b8a74cda2e22cac8
[ "MIT" ]
null
null
null
Ngo/FinalProj/accounts/migrations/0013_auto_20201010_1226.py
Devang-25/Donate-Cart-for-NGO-By-Devang-Sharma
0ff42aba6a2b266826637877b8a74cda2e22cac8
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-10-10 06:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0012_auto_20201010_1225'), ] operations = [ migrations.RenameField( model_name='donationdetail', old_name='requi...
22
48
0.575758
50
528
5.9
0.66
0.142373
0.176271
0.20339
0.189831
0.189831
0
0
0
0
0
0.085873
0.316288
528
23
49
22.956522
0.731302
0.085227
0
0.470588
1
0
0.193347
0.047817
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ebc063cab557d8c8c8062c151ee55785f9aee6bf
2,472
py
Python
sanic_peewee/async_manager.py
daniel4git/sanic-peewee
b69d742e8a7ee96866fda94e3c24fd82a7bef16e
[ "Apache-2.0" ]
3
2017-08-16T07:34:41.000Z
2021-07-24T14:17:44.000Z
sanic_peewee/async_manager.py
daniel4git/sanic-peewee
b69d742e8a7ee96866fda94e3c24fd82a7bef16e
[ "Apache-2.0" ]
null
null
null
sanic_peewee/async_manager.py
daniel4git/sanic-peewee
b69d742e8a7ee96866fda94e3c24fd82a7bef16e
[ "Apache-2.0" ]
1
2021-07-25T09:04:26.000Z
2021-07-25T09:04:26.000Z
# -*- coding: utf-8 -*- #!/usr/bin/env python """ @Author: Huang Sizhe @Date: 01-Apr-2017 @Email: hsz1273327@gmail.com # @Last modified by: Huang Sizhe # @Last modified time: 08-Apr-2017 @License: Apache License Version 2.0 """ __all__ = ["AsyncManager"] from peewee_async import Manager, execute from...
30.518519
86
0.595065
298
2,472
4.778523
0.38255
0.063202
0.036517
0.044944
0.106039
0
0
0
0
0
0
0.017065
0.288835
2,472
80
87
30.9
0.792947
0.447411
0
0
0
0
0.044214
0
0
0
0
0
0
1
0.318182
false
0
0.090909
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ebcb8cddad81b62d99af3be85e33a2c21f362d2a
1,289
py
Python
base/site-packages/wi_cache/wicache.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
2
2017-12-02T13:58:30.000Z
2018-08-02T17:07:59.000Z
base/site-packages/wi_cache/wicache.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
base/site-packages/wi_cache/wicache.py
B-ROY/TESTGIT
40221cf254c90d37d21afb981635740aebf11949
[ "Apache-2.0" ]
null
null
null
#encoding = utf-8 import sys, os from django.core.cache import parse_backend_uri from django.conf import settings try: memcache_settings = settings.memcache_settings except: mdefault = "memcached://127.0.0.1:11211/" memcache_settings = {"CACHE_BACKEND": mdefault, "PAGE_CACHE_BACKEND": mdefault} memcache_settings....
28.644444
87
0.783553
173
1,289
5.578035
0.219653
0.149223
0.108808
0.13057
0.689119
0.689119
0.640415
0.640415
0.640415
0.640415
0
0.01039
0.103957
1,289
45
88
28.644444
0.825108
0.012413
0
0.515152
0
0
0.139827
0.021995
0
0
0
0
0
0
null
null
0
0.272727
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
ebdfef4e5eb093cf078c890fbd126fa8255ca51c
1,575
py
Python
code/composite_example_ERA5.py
kuchaale/wcd_2021
58e562b76786976dac8c3624b5f1ae95fd4b8fd1
[ "MIT" ]
null
null
null
code/composite_example_ERA5.py
kuchaale/wcd_2021
58e562b76786976dac8c3624b5f1ae95fd4b8fd1
[ "MIT" ]
null
null
null
code/composite_example_ERA5.py
kuchaale/wcd_2021
58e562b76786976dac8c3624b5f1ae95fd4b8fd1
[ "MIT" ]
null
null
null
import cdstoolbox as ct @ct.application(title='Calculate composite mean') @ct.output.download() def download_application(): variable = 'total_column_ozone' data_ls = [] year_ls = [1981, 1982, 1982, 1982, 1983, 1983, 1984, 1984, 1984, 1985, 1985, 1986, 1988, 1988, 1988, 1989, 1990, 1991, 199...
37.5
83
0.459048
226
1,575
3.115044
0.415929
0.022727
0.012784
0.014205
0.019886
0.019886
0
0
0
0
0
0.323681
0.386032
1,575
42
84
37.5
0.404343
0
0
0.078947
0
0
0.095812
0.018401
0
0
0
0
0
1
0.026316
false
0
0.026316
0
0.078947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ebe701aab7ae2a666fba0d734dca3dd45817dc41
1,033
py
Python
data/basic_deterministic.py
RandalJBarnes/OnekaPy
ba082f76f3f7f4394a11864623981cc876e1b253
[ "MIT" ]
null
null
null
data/basic_deterministic.py
RandalJBarnes/OnekaPy
ba082f76f3f7f4394a11864623981cc876e1b253
[ "MIT" ]
null
null
null
data/basic_deterministic.py
RandalJBarnes/OnekaPy
ba082f76f3f7f4394a11864623981cc876e1b253
[ "MIT" ]
null
null
null
PROJECTNAME = 'Basic deterministic example' TARGET = 0 NPATHS = 100 DURATION = 10*365.25 NREALIZATIONS = 1 BASE = 0.0 C_DIST = (35.0, 50.0, 75.0) P_DIST = (0.25) T_DIST = (20.0, 25.0) BUFFER = 100 SPACING = 2 UMBRA = 10 SMOOTH = 4 CONFINED = True TOL = 1 MAXSTEP = 20 WELLS = [ (2250, 2250, 0.25, (600, 750, 900...
19.12963
43
0.509197
165
1,033
3.169697
0.327273
0.038241
0.022945
0.034417
0.045889
0
0
0
0
0
0
0.504065
0.285576
1,033
53
44
19.490566
0.204607
0
0
0
0
0
0.026137
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ccd945adeb46d0f14181e46d69eecc36202f1720
346
py
Python
replay.py
fahdfareed/IoT-security-Implication
81a8e91ef5d059f9f537bd5d3335bffd98f2253b
[ "Apache-1.1" ]
null
null
null
replay.py
fahdfareed/IoT-security-Implication
81a8e91ef5d059f9f537bd5d3335bffd98f2253b
[ "Apache-1.1" ]
null
null
null
replay.py
fahdfareed/IoT-security-Implication
81a8e91ef5d059f9f537bd5d3335bffd98f2253b
[ "Apache-1.1" ]
null
null
null
import json f = open('removed_duplicates_sorted_2.json') data = json.load(f) f.close() ones = [] for i in data["ones"]: if "ali" in i["comment"]: i["scam"] = 1 ones.append(i) else: ones.append(i) data["ones"] = ones with open('removed_duplicates_sorted_2.json', 'w') as outfile: j...
16.47619
62
0.606936
53
346
3.849057
0.509434
0.107843
0.205882
0.264706
0.313725
0.313725
0
0
0
0
0
0.011194
0.225434
346
20
63
17.3
0.75
0
0
0.142857
0
0
0.252907
0.186047
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ccf931a8566bf1d393364bff783e839785c7a265
24,394
py
Python
deepnet/impute.py
smoitra87/deepnet
c4f89c65f78298d846bd6dc0654b9c8f5e223f2b
[ "BSD-3-Clause" ]
null
null
null
deepnet/impute.py
smoitra87/deepnet
c4f89c65f78298d846bd6dc0654b9c8f5e223f2b
[ "BSD-3-Clause" ]
null
null
null
deepnet/impute.py
smoitra87/deepnet
c4f89c65f78298d846bd6dc0654b9c8f5e223f2b
[ "BSD-3-Clause" ]
null
null
null
"""Computes partition function for RBM-like models using Annealed Importance Sampling.""" import numpy as np from deepnet import dbm from deepnet import util from deepnet import trainer as tr from choose_matrix_library import * import sys import numpy as np import pdb import time import itertools import matplotlib.pypl...
38.843949
110
0.645036
2,966
24,394
5.085974
0.117667
0.102088
0.040305
0.04879
0.698508
0.67756
0.653629
0.652105
0.649387
0.638117
0
0.008882
0.243052
24,394
627
111
38.905901
0.808069
0.08043
0
0.62754
0
0.002257
0.045126
0.002803
0
0
0
0
0
0
null
null
0
0.040632
null
null
0.009029
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
ccfe5fc3a56c98275a14966d842b7740c3dcdfad
1,654
py
Python
Forms/index.py
vgeorgo/courses-python-udemy-create-websites-using-flask
34f0a789402f4dabfdbf87272fc823979b3af313
[ "MIT" ]
1
2021-01-05T19:26:07.000Z
2021-01-05T19:26:07.000Z
Forms/index.py
vgeorgo/courses-python-udemy-create-websites-using-flask
34f0a789402f4dabfdbf87272fc823979b3af313
[ "MIT" ]
null
null
null
Forms/index.py
vgeorgo/courses-python-udemy-create-websites-using-flask
34f0a789402f4dabfdbf87272fc823979b3af313
[ "MIT" ]
null
null
null
from flask import Flask, render_template,request,session,redirect,url_for,flash from flask_wtf import FlaskForm from wtforms import (StringField,SubmitField,BooleanField,DateTimeField, RadioField,SelectField,TextField,TextAreaField) from wtforms.validators import DataRequired app = Flask(__name__) ...
35.956522
112
0.690447
201
1,654
5.512438
0.502488
0.050542
0.054152
0.036101
0.050542
0
0
0
0
0
0
0.006536
0.167473
1,654
45
113
36.755556
0.798112
0.066505
0
0
0
0
0.183766
0
0
0
0
0.022222
0
1
0.088235
false
0
0.117647
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
6913601ad356ab9266ccb3b08890d171d88544eb
3,001
py
Python
web/app/models.py
henryjr1/DelterAirlinesTeam3
f420237d9ae8ad67a59943ef56a2a10ef156341a
[ "MIT" ]
null
null
null
web/app/models.py
henryjr1/DelterAirlinesTeam3
f420237d9ae8ad67a59943ef56a2a10ef156341a
[ "MIT" ]
6
2017-11-25T17:00:57.000Z
2017-12-04T04:28:44.000Z
web/app/models.py
henryjr1/DelterAirlinesTeam3
f420237d9ae8ad67a59943ef56a2a10ef156341a
[ "MIT" ]
1
2019-09-21T03:06:33.000Z
2019-09-21T03:06:33.000Z
# models.py from app import db class Passenger(db.Model): __tablename__ = "passengers" id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(30), nullable=False) dob = db.Column(db.Date, nullable=False) email = db.Column(db.String(30), unique=True, nullable=False) address = ...
36.597561
124
0.692103
394
3,001
5.116751
0.195431
0.123016
0.15377
0.118056
0.453373
0.394841
0.356647
0.195933
0.061012
0
0
0.007874
0.153615
3,001
81
125
37.049383
0.785827
0.064645
0
0.169811
0
0
0.108137
0
0
0
0
0
0
1
0.056604
false
0.075472
0.018868
0.056604
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
692547452ec8604f6d2bfd8f7c59e0c0d8c8196a
341
py
Python
task0/test_task0.py
18harsh/Nirikshak-Bot-NB--eyantra
14df5028d16b5278ff127b1b952486b57f212234
[ "MIT" ]
2
2021-08-29T11:08:41.000Z
2021-09-06T16:53:59.000Z
task0/test_task0.py
18harsh/Nirikshak-Bot-NB--eyantra
14df5028d16b5278ff127b1b952486b57f212234
[ "MIT" ]
null
null
null
task0/test_task0.py
18harsh/Nirikshak-Bot-NB--eyantra
14df5028d16b5278ff127b1b952486b57f212234
[ "MIT" ]
1
2021-08-29T11:08:12.000Z
2021-08-29T11:08:12.000Z
try: import task0_cardinal except ImportError: print("\n\t[ERROR] It seems that task0_cardinal.pyc is not found in current directory! OR") print("\n\tAlso, it might be that you are running test_task0.py from outside the Conda environment!\n") exit() # Main function if __name__ == '__main__': task0_...
26.230769
105
0.727273
52
341
4.519231
0.769231
0.165957
0
0
0
0
0
0
0
0
0
0.014235
0.175953
341
13
106
26.230769
0.822064
0.038123
0
0
0
0.25
0.584127
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
6928cf2e0b46f754567601e5c686e1a52ffa3bf2
277
py
Python
ML_CW1/assgn_1_part_1/3_regularized_linear_regression/hypothesis_to_vector.py
ShellySrivastava/Machine-Learning
bfdea30c06abe4228c103ae525adcf990015983f
[ "MIT" ]
null
null
null
ML_CW1/assgn_1_part_1/3_regularized_linear_regression/hypothesis_to_vector.py
ShellySrivastava/Machine-Learning
bfdea30c06abe4228c103ae525adcf990015983f
[ "MIT" ]
null
null
null
ML_CW1/assgn_1_part_1/3_regularized_linear_regression/hypothesis_to_vector.py
ShellySrivastava/Machine-Learning
bfdea30c06abe4228c103ae525adcf990015983f
[ "MIT" ]
null
null
null
from calculate_hypothesis import * def hypothesis_to_vector(X, theta): hypothesis_vec = np.array([], dtype=np.float32) for i in range(X.shape[0]): hypothesis_vec = np.append(hypothesis_vec, calculate_hypothesis(X, theta, i)) return hypothesis_vec
30.777778
85
0.703971
38
277
4.921053
0.578947
0.278075
0.160428
0
0
0
0
0
0
0
0
0.013393
0.191336
277
9
86
30.777778
0.821429
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6968df9ab79538b87475c2a5b1dd15ecd614bfaa
374
py
Python
tbcompanion/main/forms.py
GiorginoSerbuciano/techbasicscompanion
5a24a414c0ed5ba05276a6c299cd8b86b42a83e3
[ "MIT" ]
null
null
null
tbcompanion/main/forms.py
GiorginoSerbuciano/techbasicscompanion
5a24a414c0ed5ba05276a6c299cd8b86b42a83e3
[ "MIT" ]
15
2021-03-14T07:27:40.000Z
2021-04-18T20:22:17.000Z
tbcompanion/main/forms.py
GiorginoSerbuciano/techbasicscompanion
5a24a414c0ed5ba05276a6c299cd8b86b42a83e3
[ "MIT" ]
1
2021-04-15T16:46:55.000Z
2021-04-15T16:46:55.000Z
from flask_wtf.form import FlaskForm from wtforms.fields.core import StringField from wtforms.fields.simple import SubmitField from wtforms.validators import DataRequired class SearchBox(FlaskForm): """Placeholder for a future implementation""" string = StringField('Search for a post, user or project', validators=...
26.714286
72
0.791444
45
374
6.555556
0.622222
0.111864
0.115254
0
0
0
0
0
0
0
0
0
0.122995
374
13
73
28.769231
0.89939
0.104278
0
0
0
0
0.121951
0
0
0
0
0
0
1
0
false
0
0.5
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
15c571e0dd39e4e38fdc0aa65134918497c35efa
1,681
py
Python
assignment1.py
walter2645-cmis/walter2645-cmis-cs2
6ad8e2af62bbe83b43f5bc81c32e559f47bf7806
[ "CC0-1.0" ]
null
null
null
assignment1.py
walter2645-cmis/walter2645-cmis-cs2
6ad8e2af62bbe83b43f5bc81c32e559f47bf7806
[ "CC0-1.0" ]
null
null
null
assignment1.py
walter2645-cmis/walter2645-cmis-cs2
6ad8e2af62bbe83b43f5bc81c32e559f47bf7806
[ "CC0-1.0" ]
null
null
null
myName = "Walter"#defines myName myAgeinYears = 19.1#defines myAgeinYears myHeightinMeters = 1.73#defines myHeightinMeters sideofsquare = 1#defines sideofsquare lengthofrectangle = 2#defines lengthofrectangle heightofrectangle = 3#defines heightofrectangle myAgeinMonths = myAgeinYears*12#calculates myAgeinMonths using ...
98.882353
404
0.807852
189
1,681
7.185185
0.417989
0.011782
0.008837
0
0
0
0
0
0
0
0
0.025068
0.121951
1,681
16
405
105.0625
0.894986
0.3605
0
0
0
0
0.332389
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
15de3918fc646678f62d61a9a939d522a8e88682
512
py
Python
test/test_basic_flow_rpm.py
Albatrosina/dev
5a95bed5b5c614028f36be147f7be5bfd3d0903e
[ "Apache-2.0" ]
null
null
null
test/test_basic_flow_rpm.py
Albatrosina/dev
5a95bed5b5c614028f36be147f7be5bfd3d0903e
[ "Apache-2.0" ]
null
null
null
test/test_basic_flow_rpm.py
Albatrosina/dev
5a95bed5b5c614028f36be147f7be5bfd3d0903e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from dev.model.fill_row import Filling def test_r_p_m_accept(app): app.action.switch_to_rpm_tab() app.fill.corn(Filling(bt="20000", fp="5", hta="1", spread="1", roll="1", flex="1", basis="1", note="some test note")) app.action.confirm_targets_row() def test_r_p_m_decline(app): ...
34.133333
122
0.662109
90
512
3.555556
0.433333
0.1125
0.05
0.05625
0.725
0.6625
0.6625
0.6625
0.6625
0.6625
0
0.05157
0.128906
512
14
123
36.571429
0.665919
0.041016
0
0.444444
0
0
0.102249
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
15e5163028bd8e038e0b50818beabb80a22f2e75
339
py
Python
Grade 7/Lesson 28/sender.py
arm-university/ASP_International-Intro-to-Computing
2aae65503187c839cd1f39629c51ca4cf2f1b551
[ "RSA-MD" ]
null
null
null
Grade 7/Lesson 28/sender.py
arm-university/ASP_International-Intro-to-Computing
2aae65503187c839cd1f39629c51ca4cf2f1b551
[ "RSA-MD" ]
null
null
null
Grade 7/Lesson 28/sender.py
arm-university/ASP_International-Intro-to-Computing
2aae65503187c839cd1f39629c51ca4cf2f1b551
[ "RSA-MD" ]
1
2022-01-25T19:35:15.000Z
2022-01-25T19:35:15.000Z
# Add your Python code here. E.g. #radio 1 from microbit import * import radio radio.on() # any channel from 0 to 100 can be used for privacy. radio.config(channel=5) while True: if button_a.was_pressed(): radio.send('HAPPY') sleep(200) elif button_b.was_pressed(): radio.send('SAD') ...
17.842105
52
0.643068
53
339
4.037736
0.735849
0.093458
0.140187
0.17757
0
0
0
0
0
0
0
0.046875
0.244838
339
18
53
18.833333
0.789063
0.262537
0
0.181818
0
0
0.032653
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
15eeeff41cf31a140bccf4726d8bea351df9458b
441
py
Python
cloud2015-1/cloudTrabajo/ArrRef.py
paurisg/U
92bab42792679840363068da04c708f3ef355701
[ "MIT" ]
null
null
null
cloud2015-1/cloudTrabajo/ArrRef.py
paurisg/U
92bab42792679840363068da04c708f3ef355701
[ "MIT" ]
null
null
null
cloud2015-1/cloudTrabajo/ArrRef.py
paurisg/U
92bab42792679840363068da04c708f3ef355701
[ "MIT" ]
null
null
null
class ArrRef: def __init__(self, A): self.A = A self.N = len(self.A) def get(self,i): if(i < self.N): return self.A[i] def getF(self): if(len(self.A) == 2): return self.A[0] def getS(self): if(len(self.A) == 2): return self.A[1] def eBitsExec(self,w): return w.mask&(w.f(self)>>w.offset) c...
16.961538
37
0.598639
82
441
3.121951
0.292683
0.15625
0.09375
0.132813
0.203125
0.203125
0.203125
0.203125
0.203125
0
0
0.017143
0.206349
441
25
38
17.64
0.714286
0
0
0.1
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0.05
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
15f831227373ff633a7511d177bb16eaabb2dfc3
273
py
Python
redis_i_action/django_c2/c2/urls.py
enixdark/im-r-e-d-i-s
5e91e3b2c7e4cbc9f14067a832b87c336c0811e7
[ "MIT" ]
null
null
null
redis_i_action/django_c2/c2/urls.py
enixdark/im-r-e-d-i-s
5e91e3b2c7e4cbc9f14067a832b87c336c0811e7
[ "MIT" ]
null
null
null
redis_i_action/django_c2/c2/urls.py
enixdark/im-r-e-d-i-s
5e91e3b2c7e4cbc9f14067a832b87c336c0811e7
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url from .views import HelloView urlpatterns = patterns('', # Examples: # url(r'^$', 'django_c2.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'',HelloView.as_view(),name="index"), )
27.3
54
0.641026
36
273
4.805556
0.555556
0.069364
0
0
0
0
0
0
0
0
0
0.00431
0.150183
273
9
55
30.333333
0.741379
0.351648
0
0
0
0
0.028902
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
15fa9ad3f5603f9b5891b0e001886e77808e4b45
2,330
py
Python
main.py
mrcrow85/python-password-utils
cace7fee66a277be16e7a1b83b0db3d3c0a10bff
[ "MIT" ]
1
2021-02-22T14:47:56.000Z
2021-02-22T14:47:56.000Z
main.py
mrcrow85/python-password-utils
cace7fee66a277be16e7a1b83b0db3d3c0a10bff
[ "MIT" ]
null
null
null
main.py
mrcrow85/python-password-utils
cace7fee66a277be16e7a1b83b0db3d3c0a10bff
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys from password.generate import generate from password.validate import validate from password.pwn_check import main if __name__ == "__main__": if not sys.argv[1:]: while True: try: text = input( """Select the option you like ...
39.491525
89
0.448498
190
2,330
5.436842
0.4
0.038722
0.058083
0.054211
0
0
0
0
0
0
0
0.006574
0.477682
2,330
58
90
40.172414
0.842235
0.009013
0
0.08
1
0
0.189202
0
0
0
0
0
0
1
0
false
0.14
0.08
0
0.08
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
c61620199252abb5dedc4f611b84f1537fdd3a51
701
py
Python
cohesity_management_sdk/models/type_gpfs_protection_source_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
18
2019-09-24T17:35:53.000Z
2022-03-25T08:08:47.000Z
cohesity_management_sdk/models/type_gpfs_protection_source_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
18
2019-03-29T19:32:29.000Z
2022-01-03T23:16:45.000Z
cohesity_management_sdk/models/type_gpfs_protection_source_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
16
2019-02-27T06:54:12.000Z
2021-11-16T18:10:24.000Z
# -*- coding: utf-8 -*- # Copyright 2021 Cohesity Inc. class TypeGpfsProtectionSourceEnum(object): """Implementation of the 'Type_GpfsProtectionSource' enum. Specifies the type of the entity in an GPFS file system like 'kCluster', 'kFilesystem', or, 'kFileset'. 'kCluster' indicates an GPFS Cluster. ...
25.962963
67
0.689016
75
701
6.426667
0.546667
0.049793
0.118257
0.143154
0
0
0
0
0
0
0
0.009191
0.223966
701
26
68
26.961538
0.876838
0.728959
0
0
0
0
0.192857
0
0
0
0
0.115385
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
c629128daec8a50a06971b4078201de3b4cd78d4
3,858
py
Python
kinetics/reaction_classes/michaelis_menton_modifiers.py
wlawler45/kinetics
dd763ac27d7c0df8a9429419e911a22760ba5c5a
[ "MIT" ]
13
2020-05-30T21:39:01.000Z
2022-01-30T22:52:36.000Z
kinetics/reaction_classes/michaelis_menton_modifiers.py
wlawler45/kinetics
dd763ac27d7c0df8a9429419e911a22760ba5c5a
[ "MIT" ]
7
2019-06-15T13:16:31.000Z
2021-12-09T11:16:53.000Z
kinetics/reaction_classes/michaelis_menton_modifiers.py
willfinnigan/Kinetics
a607096f051c7721a7f2eac73a875366eaefef15
[ "MIT" ]
4
2019-09-23T09:46:11.000Z
2022-03-18T20:30:03.000Z
""" Modifiers (eg inhibtion) """ class Modifier(): def __init__(self): self.substrate_names = [] self.substrate_indexes = [] self.parameter_names = [] self.parameter_indexes = [] def get_substrate_indexes(self, substrate_names): self.substrate_indexes = [] for ...
33.547826
90
0.650855
457
3,858
5.262582
0.129103
0.162162
0.182952
0.237006
0.729314
0.585447
0.456549
0.385031
0.328482
0.328482
0
0.011494
0.233281
3,858
114
91
33.842105
0.801555
0.05521
0
0.421053
0
0
0
0
0
0
0
0
0
1
0.184211
false
0
0
0.013158
0.342105
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c62ef561ba2a221847b35b73052f1dfa80c0e5bd
725
py
Python
tests/useful_scripts/reindex_stix.py
ukncsc/edge-mod
95737e71945f4a8823f20a554e5efb9841183a26
[ "Unlicense" ]
2
2016-08-23T07:55:01.000Z
2016-09-27T15:13:32.000Z
tests/useful_scripts/reindex_stix.py
ukncsc/edge-mod
95737e71945f4a8823f20a554e5efb9841183a26
[ "Unlicense" ]
null
null
null
tests/useful_scripts/reindex_stix.py
ukncsc/edge-mod
95737e71945f4a8823f20a554e5efb9841183a26
[ "Unlicense" ]
2
2020-10-02T13:27:10.000Z
2021-04-11T09:45:16.000Z
from mongoengine.connection import get_db from pymongo import MongoClient client = MongoClient() db = client.inbox # full-text-search index db.stix.ensure_index( [('fts', 'text')], name='idx_fts', background=True, ) # create default indexes db.stix.ensure_index([('data.hash',1)]) db.sti...
22.65625
55
0.685517
107
725
4.495327
0.392523
0.22869
0.174636
0.247401
0.293139
0.212058
0.120582
0
0
0
0
0.014151
0.122759
725
31
56
23.387097
0.742138
0.128276
0
0
0
0
0.15311
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c63371296fe3a18417153799cb28fce3717694af
727
py
Python
nertivia4py/utils/get.py
bentettmar/nertivia4py
a9b758000632e40306bc610a6966cb8d0a643c20
[ "MIT" ]
3
2022-01-24T16:31:20.000Z
2022-02-03T22:44:51.000Z
nertivia4py/utils/get.py
bentettmar/nertivia4py
a9b758000632e40306bc610a6966cb8d0a643c20
[ "MIT" ]
9
2022-03-05T19:01:48.000Z
2022-03-06T11:38:53.000Z
nertivia4py/utils/get.py
bentettmar/nertivia4py
a9b758000632e40306bc610a6966cb8d0a643c20
[ "MIT" ]
null
null
null
from . import server from . import textchannel from . import user class Get: def get_server(id) -> server.Server: """ Gets a Nertivia server. Args: - id (int): The ID of the server. Returns: - server.Server: The server. """ return server.Server(id) def get_text_channel(id) -> t...
16.522727
56
0.614856
96
727
4.614583
0.208333
0.099323
0.088036
0.081264
0.128668
0.128668
0.128668
0
0
0
0
0
0.268226
727
44
57
16.522727
0.832707
0.477304
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.3
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c633d58e34bd4dab214f5982571da0b27a469ba4
390
py
Python
run_encoding.py
ddboline/roku_app
862a906e19e83097e862bcb9b5f27a5a0ab2910d
[ "MIT" ]
1
2018-11-19T21:03:30.000Z
2018-11-19T21:03:30.000Z
run_encoding.py
ddboline/roku_app
862a906e19e83097e862bcb9b5f27a5a0ab2910d
[ "MIT" ]
null
null
null
run_encoding.py
ddboline/roku_app
862a906e19e83097e862bcb9b5f27a5a0ab2910d
[ "MIT" ]
null
null
null
#!/usr/bin/python ''' Script to record from roku device via WinTV HVR-1950 ''' from __future__ import (absolute_import, division, print_function, unicode_literals) from time import sleep from roku_app.run_encoding import run_encoding if __name__ == '__main__': try: run_encoding() except Exception...
22.941176
84
0.7
52
390
4.884615
0.711538
0.129921
0
0
0
0
0
0
0
0
0
0.019481
0.210256
390
16
85
24.375
0.805195
0.176923
0
0
0
0
0.087379
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
c63cf288068303b5ce4394f1170036b9b830b06c
1,297
py
Python
train_identify_domain_h2o.py
gkovacs/tmi-browsing-behavior-prediction
0e7d44574003272ce457bf221bfa3e92002ad217
[ "MIT" ]
1
2019-12-16T11:44:18.000Z
2019-12-16T11:44:18.000Z
train_identify_domain_h2o.py
gkovacs/tmi-browsing-behavior-prediction
0e7d44574003272ce457bf221bfa3e92002ad217
[ "MIT" ]
null
null
null
train_identify_domain_h2o.py
gkovacs/tmi-browsing-behavior-prediction
0e7d44574003272ce457bf221bfa3e92002ad217
[ "MIT" ]
null
null
null
#!/usr/bin/env python # md5: c8864930a096ab388f167e1cd2c0a0ef # coding: utf-8 import csv import sys import traceback import os data_version = int(sys.argv[1]) from tmilib import * import h2o import h2o.grid h2o.init(port=int(os.environ.get('h2o_port', 54321))) train_dataset = sdir_path('domainclass_cpn_tra...
23.581818
133
0.783346
175
1,297
5.514286
0.422857
0.062176
0.033161
0.041451
0.060104
0.060104
0
0
0
0
0
0.038261
0.113338
1,297
54
134
24.018519
0.80087
0.16808
0
0
0
0
0.088619
0.021455
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
c63d3346b23191489f52215c22da80b925804aab
9,235
py
Python
SocialHandler.py
stephensekula/navierstokes
c206b30d804a920260652c330e3b9c6c7512c937
[ "Apache-2.0" ]
5
2017-05-15T11:38:11.000Z
2017-09-27T20:19:21.000Z
SocialHandler.py
stephensekula/navierstokes
c206b30d804a920260652c330e3b9c6c7512c937
[ "Apache-2.0" ]
10
2017-07-13T17:06:16.000Z
2020-08-13T21:47:38.000Z
SocialHandler.py
stephensekula/navierstokes
c206b30d804a920260652c330e3b9c6c7512c937
[ "Apache-2.0" ]
2
2017-08-07T19:02:33.000Z
2017-12-07T06:20:22.000Z
import abc __metaclass__ = abc.ABCMeta import sys import os import subprocess import logging import unicodedata import commands import re import hashlib import copy import URLShortener import chardet from sets import Set class SocialHandler(object): def __init__(self): # the list of messages gathered f...
30.179739
134
0.576719
1,106
9,235
4.707957
0.256781
0.046092
0.017284
0.018245
0.236989
0.172844
0.172844
0.160937
0.131746
0.131746
0
0.009844
0.306984
9,235
305
135
30.278689
0.80375
0.151381
0
0.349727
0
0.021858
0.092619
0.006315
0
0
0
0
0
0
null
null
0.081967
0.076503
null
null
0.005464
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
c643abfcee848c0568411af5cfdf2ee7b5eb0ab8
577
py
Python
meiduo_mall/celery_tasks/sms/tasks.py
aprilchen918/meiduo_project2
95b56d6d70a8a82443a6825c9b7cec5e7689645a
[ "MIT" ]
null
null
null
meiduo_mall/celery_tasks/sms/tasks.py
aprilchen918/meiduo_project2
95b56d6d70a8a82443a6825c9b7cec5e7689645a
[ "MIT" ]
null
null
null
meiduo_mall/celery_tasks/sms/tasks.py
aprilchen918/meiduo_project2
95b56d6d70a8a82443a6825c9b7cec5e7689645a
[ "MIT" ]
null
null
null
# Define task from celery_tasks.sms.twilio1.twilio_sms import Twilio from . import constants from celery_tasks.main import celery_app # Use Decorator to decorate asynchronous task to ensure celery recognize task @celery_app.task(name='send_sms_code') def send_sms_code(mobile, sms_code): """ Send sms code's as...
33.941176
120
0.757366
88
577
4.727273
0.443182
0.134615
0.079327
0
0
0
0
0
0
0
0
0.010309
0.159445
577
17
121
33.941176
0.847423
0.35182
0
0
0
0
0.037572
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c64cbb575bcfab64a0593aef78b578a41918efcb
78
py
Python
Configuration/DataProcessing/python/Impl/__init__.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Configuration/DataProcessing/python/Impl/__init__.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Configuration/DataProcessing/python/Impl/__init__.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#!/usr/bin/env python3 """ _Impl_ Scenario Implementations """ __all__ = []
8.666667
24
0.666667
8
78
5.75
1
0
0
0
0
0
0
0
0
0
0
0.015152
0.153846
78
8
25
9.75
0.681818
0.692308
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c653931610284306e3732e04cc992ae1ea6b6713
693
py
Python
frappe/desk/doctype/desk_page/desk_page.py
shubhamgupta123/frappe
8e1df1e0340b113af042e4519d2b56388d60a35f
[ "MIT" ]
null
null
null
frappe/desk/doctype/desk_page/desk_page.py
shubhamgupta123/frappe
8e1df1e0340b113af042e4519d2b56388d60a35f
[ "MIT" ]
null
null
null
frappe/desk/doctype/desk_page/desk_page.py
shubhamgupta123/frappe
8e1df1e0340b113af042e4519d2b56388d60a35f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2020, Frappe Technologies and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.modules.export_file import export_to_files from frappe.model.document import Document class DeskPa...
36.473684
112
0.782107
105
693
4.971429
0.561905
0.084291
0.099617
0.086207
0
0
0
0
0
0
0
0.008237
0.124098
693
18
113
38.5
0.85173
0.181818
0
0
0
0
0.111901
0
0
0
0
0
0
1
0.166667
false
0
0.416667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c654cf448cc8b2bcedc264d8ad28aafc99bcd5d1
2,664
py
Python
spira/yevon/geometry/nets/net_list.py
qedalab/spira
32e4d2096e298b9fcc5952abd654312dc232a259
[ "MIT" ]
10
2018-07-13T09:46:21.000Z
2021-06-22T13:34:50.000Z
spira/yevon/geometry/nets/net_list.py
qedalab/spira
32e4d2096e298b9fcc5952abd654312dc232a259
[ "MIT" ]
8
2018-09-09T11:32:40.000Z
2019-10-08T07:47:31.000Z
spira/yevon/geometry/nets/net_list.py
qedalab/spira
32e4d2096e298b9fcc5952abd654312dc232a259
[ "MIT" ]
7
2019-01-17T18:50:17.000Z
2022-01-13T20:27:52.000Z
import networkx as nx from spira.core.typed_list import TypedList from spira.yevon.geometry.nets.net import __Net__, Net from spira.core.parameters.variables import FloatParameter from spira.core.parameters.descriptor import ParameterDescriptor from spira.core.parameters.restrictions import RestrictType class NetLis...
27.463918
71
0.618619
332
2,664
4.596386
0.301205
0.06291
0.039318
0.026212
0.114024
0.114024
0.094364
0.094364
0.094364
0.094364
0
0.003123
0.278904
2,664
96
72
27.75
0.791255
0.01952
0
0.277778
0
0
0.014988
0
0
0
0
0
0
1
0.208333
false
0
0.083333
0.041667
0.555556
0.013889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d660a8d09bb6edc3af5970f3b0a8b22447b29159
203
py
Python
jobRun.py
kylezhao96/sqgh-ms-flask
c340e9c56d2b9bb8ed45ebb13a01d1a4000a83ca
[ "Apache-2.0" ]
null
null
null
jobRun.py
kylezhao96/sqgh-ms-flask
c340e9c56d2b9bb8ed45ebb13a01d1a4000a83ca
[ "Apache-2.0" ]
2
2021-03-20T04:33:46.000Z
2021-12-05T13:19:13.000Z
jobRun.py
kylezhao96/sqgh-ms-flask
c340e9c56d2b9bb8ed45ebb13a01d1a4000a83ca
[ "Apache-2.0" ]
null
null
null
''' @Author: hua @Date: 2019-12-18 17:22:18 @description: @LastEditors : hua @LastEditTime : 2019-12-18 17:23:51 ''' import environment environment.init("job") from app import sched #开始任务 sched.start()
16.916667
35
0.714286
31
203
4.677419
0.709677
0.082759
0.110345
0.137931
0
0
0
0
0
0
0
0.157303
0.123153
203
12
36
16.916667
0.657303
0.566502
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
d660f31576ac58388ae3ef336442e6d66eca4de8
578
py
Python
tests/isbndb_tests.py
bbengfort/isbndb-python
88edcbaead8b21a6ac80d37d1391fdbef5c7fa12
[ "Apache-2.0" ]
4
2016-06-07T00:45:44.000Z
2021-07-06T01:51:13.000Z
tests/isbndb_tests.py
bbengfort/isbndb-python
88edcbaead8b21a6ac80d37d1391fdbef5c7fa12
[ "Apache-2.0" ]
null
null
null
tests/isbndb_tests.py
bbengfort/isbndb-python
88edcbaead8b21a6ac80d37d1391fdbef5c7fa12
[ "Apache-2.0" ]
7
2015-07-01T21:07:59.000Z
2020-06-09T07:00:54.000Z
#!/usr/bin/env python from isbndb import ISBNdbException from isbndb.models import * from isbndb.client import ISBNdbClient from isbndb.catalog import * from unittest import TestCase ACCESS_KEY = "UQ8OR4XB" class ISBNdbTest(TestCase): def setup(self): self.client = ISBNdbClient( access_key=ACCESS_...
20.642857
63
0.697232
67
578
5.835821
0.522388
0.102302
0.092072
0
0
0
0
0
0
0
0
0.026432
0.214533
578
27
64
21.407407
0.834802
0.034602
0
0
0
0
0.059246
0
0
0
0
0
0
1
0.176471
false
0.058824
0.352941
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
d67717b16b3a98aa4df5b7822a7682ff57f5d918
101
py
Python
pq.py
phamhm/sublime_motion
ebec3831cd0b589fdd36db66ff08bd94d1f2c5d5
[ "MIT" ]
null
null
null
pq.py
phamhm/sublime_motion
ebec3831cd0b589fdd36db66ff08bd94d1f2c5d5
[ "MIT" ]
null
null
null
pq.py
phamhm/sublime_motion
ebec3831cd0b589fdd36db66ff08bd94d1f2c5d5
[ "MIT" ]
null
null
null
import queue myq = queue.PriorityQueue() myq.put(10) myq.put(9) myq.put(3) myq.put(2) myq.put(99)
9.181818
27
0.683168
20
101
3.45
0.5
0.434783
0
0
0
0
0
0
0
0
0
0.079545
0.128713
101
10
28
10.1
0.704545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d68c866b289ce640e267c1bd47f7c5d04ecac684
400
py
Python
happytransformer/mwp/trainer.py
Mizar77/happy-transformer
f10a47846e7bf2db3fdd32cc56f059f5592bef1e
[ "Apache-2.0" ]
null
null
null
happytransformer/mwp/trainer.py
Mizar77/happy-transformer
f10a47846e7bf2db3fdd32cc56f059f5592bef1e
[ "Apache-2.0" ]
null
null
null
happytransformer/mwp/trainer.py
Mizar77/happy-transformer
f10a47846e7bf2db3fdd32cc56f059f5592bef1e
[ "Apache-2.0" ]
null
null
null
from happytransformer.happy_trainer import HappyTrainer from happytransformer.mwp.default_args import ARGS_MWP_TRAIN class WPTrainer(HappyTrainer): def train(self, input_filepath, args=ARGS_MWP_TRAIN): raise NotImplementedError() def eval(self, input_filepath): raise NotImplementedError() ...
28.571429
60
0.765
44
400
6.75
0.477273
0.090909
0.171717
0
0
0
0
0
0
0
0
0
0.1675
400
14
61
28.571429
0.891892
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d69655327483876b07f1eaaad0169dc392f85883
152
py
Python
Python Fundamentals/Regular Expressions/Exercise/Task03_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
1
2022-03-16T10:23:04.000Z
2022-03-16T10:23:04.000Z
Python Fundamentals/Regular Expressions/Exercise/Task03_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
Python Fundamentals/Regular Expressions/Exercise/Task03_02.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
import re data = input() searched = input() pattern = f"\\b{searched}\\b" result = re.findall(pattern, data, re.IGNORECASE) print(data.count(searched))
21.714286
49
0.710526
22
152
4.909091
0.590909
0
0
0
0
0
0
0
0
0
0
0
0.111842
152
7
50
21.714286
0.8
0
0
0
0
0
0.104575
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d6c11239ebef061ecf82ffe84e02b33aca44c34f
489
py
Python
src/algorithms/main/sorts/heap_sort.py
JoelGRod/Algorithms-py
085dbf5d2d62adf41cfd59313827f83e2da6bc81
[ "MIT" ]
null
null
null
src/algorithms/main/sorts/heap_sort.py
JoelGRod/Algorithms-py
085dbf5d2d62adf41cfd59313827f83e2da6bc81
[ "MIT" ]
null
null
null
src/algorithms/main/sorts/heap_sort.py
JoelGRod/Algorithms-py
085dbf5d2d62adf41cfd59313827f83e2da6bc81
[ "MIT" ]
null
null
null
""" Heapsort A comparison-based sorting algorithm. Heapsort can be thought of as an improved selection sort: like that algorithm, it divides its input into a sorted and an unsorted region, and it iteratively shrinks the unsorted region by extracting the largest element and moving that to the sorted region. The im...
37.615385
73
0.764826
82
489
4.560976
0.646341
0.032086
0.040107
0.032086
0.040107
0.040107
0
0
0
0
0
0
0.194274
489
13
74
37.615385
0.949239
1.038855
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d6c8b9f56796f03b8dfa902eafbb840a5b4aa42f
1,087
py
Python
chatbot_nlu/extractors/bert_bilstm_crf_entity_extractor.py
charlesXu86/Chatbot_NLU
29bc3ead75ddca74b9c41662fb1a77501cc09cf9
[ "MIT" ]
6
2020-03-11T03:14:41.000Z
2021-12-02T02:30:01.000Z
chatbot_nlu/extractors/bert_bilstm_crf_entity_extractor.py
charlesXu86/Chatbot_CN_Component
29bc3ead75ddca74b9c41662fb1a77501cc09cf9
[ "MIT" ]
1
2020-06-24T23:36:16.000Z
2020-06-25T03:49:49.000Z
chatbot_nlu/extractors/bert_bilstm_crf_entity_extractor.py
charlesXu86/Chatbot_CN_Component
29bc3ead75ddca74b9c41662fb1a77501cc09cf9
[ "MIT" ]
9
2020-02-11T06:57:39.000Z
2020-12-01T09:53:34.000Z
# -*- coding: utf-8 -*- ''' @Author : Xu @Software: PyCharm @File : bert_bilstm_crf_entity_extractor.py @Time : 2019-09-26 11:09 @Desc : ''' from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals ...
20.12963
74
0.767249
150
1,087
5.286667
0.586667
0.050441
0.080706
0.050441
0
0
0
0
0
0
0
0.01559
0.173873
1,087
54
75
20.12963
0.867483
0.146274
0
0.066667
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d6d93606b0946d198e2a7637a93f12f1726a69b6
586
py
Python
materials/migrations/0024_auto_20180321_1512.py
mgovoni-devel/MatD3
5b68d147f886bce427f92bb560159e62cec2d4e7
[ "BSD-2-Clause-FreeBSD" ]
7
2019-09-14T07:24:09.000Z
2021-06-15T16:15:05.000Z
materials/migrations/0024_auto_20180321_1512.py
mgovoni-devel/MatD3
5b68d147f886bce427f92bb560159e62cec2d4e7
[ "BSD-2-Clause-FreeBSD" ]
14
2019-12-05T01:49:19.000Z
2021-06-23T18:34:51.000Z
materials/migrations/0024_auto_20180321_1512.py
mgovoni-devel/MatD3
5b68d147f886bce427f92bb560159e62cec2d4e7
[ "BSD-2-Clause-FreeBSD" ]
2
2019-11-06T21:16:57.000Z
2019-11-30T10:51:44.000Z
# Generated by Django 2.0.1 on 2018-03-21 15:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('materials', '0023_merge_20180320_1842'), ] operations = [ migrations.AddField( model_name='idinfo', name='data_extra...
24.416667
66
0.590444
61
586
5.52459
0.672131
0.106825
0.136499
0.160237
0.468843
0.468843
0.249258
0.249258
0
0
0
0.088942
0.290102
586
23
67
25.478261
0.721154
0.076792
0
0.470588
1
0
0.146568
0.085343
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d6df1c98dae4ddd59d17a15ece8e205ee52b2913
182
py
Python
instagram_get_fans/model/instagram_user.py
comtong/instagram_graw_fans
2b9ecdf957acecab1adb222664f8cea5cbb42889
[ "MIT" ]
1
2017-12-15T21:33:54.000Z
2017-12-15T21:33:54.000Z
instagram_get_fans/model/instagram_user.py
comtong/instagram_graw_fans
2b9ecdf957acecab1adb222664f8cea5cbb42889
[ "MIT" ]
null
null
null
instagram_get_fans/model/instagram_user.py
comtong/instagram_graw_fans
2b9ecdf957acecab1adb222664f8cea5cbb42889
[ "MIT" ]
null
null
null
class InstagramUser(object): def __init__(self,user_id, username,timestamp): self.user_id = user_id self.username = username self.timestamp = timestamp
22.75
51
0.675824
21
182
5.52381
0.47619
0.155172
0.172414
0
0
0
0
0
0
0
0
0
0.241758
182
7
52
26
0.84058
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ba52c21985813f5c5d0afb0d58cf52cc730782bc
821
py
Python
pypi_librarian/class_user.py
jayvdb/pypi_librarian
e1b98bd035c7d9bbab7bdd1511d03e58fb927236
[ "MIT" ]
3
2019-06-07T14:45:03.000Z
2019-12-26T19:48:29.000Z
pypi_librarian/class_user.py
jayvdb/pypi_librarian
e1b98bd035c7d9bbab7bdd1511d03e58fb927236
[ "MIT" ]
2
2019-12-26T15:13:18.000Z
2020-03-30T06:35:22.000Z
pypi_librarian/class_user.py
jayvdb/pypi_librarian
e1b98bd035c7d9bbab7bdd1511d03e58fb927236
[ "MIT" ]
2
2019-06-07T14:45:07.000Z
2019-12-26T14:37:16.000Z
# coding=utf-8 """ Data and actions for user """ from typing import List import pypi_xmlrpc from pypi_librarian.class_package import Package class User(object): """ Properties and methods """ def __init__(self, name: str) -> None: """ Initialize values :param name: "...
20.525
69
0.579781
92
821
5.043478
0.5
0.068966
0.047414
0
0
0
0
0
0
0
0
0.001789
0.319123
821
39
70
21.051282
0.828265
0.287454
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.272727
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ba8984818cea0114bc1ce7d898ee4344da53f153
727
py
Python
myblog/blog_api/models.py
EUGINELETHAL/BLOG-API
b54f69c363ba49a9819c79466c4163f90fc67024
[ "MIT" ]
null
null
null
myblog/blog_api/models.py
EUGINELETHAL/BLOG-API
b54f69c363ba49a9819c79466c4163f90fc67024
[ "MIT" ]
null
null
null
myblog/blog_api/models.py
EUGINELETHAL/BLOG-API
b54f69c363ba49a9819c79466c4163f90fc67024
[ "MIT" ]
null
null
null
# Create your models here. # -*- coding: utf-8 -*- from django.db import models from django.contrib.auth.models import User class Category(models.Model): """ Defines a blog category """ name = models.CharField(max_length=150) def __str__(self): return self.name class Article(models.Mo...
23.451613
93
0.685007
90
727
5.366667
0.466667
0.093168
0.111801
0.149068
0.455487
0.165631
0.165631
0
0
0
0
0.017182
0.19945
727
30
94
24.233333
0.812715
0.129298
0
0.142857
0
0
0.026622
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
ba8a5d4e0e3de0edb8f6b4f980c742161383e120
905
py
Python
python/mypython3.py
Georgakopoulos-Sp/Adlr
3e480ff5f914f614c25d992218088cdaa4a9a476
[ "BSD-2-Clause" ]
1
2020-11-09T14:31:06.000Z
2020-11-09T14:31:06.000Z
python/mypython3.py
Georgakopoulos-Sp/Adlr
3e480ff5f914f614c25d992218088cdaa4a9a476
[ "BSD-2-Clause" ]
null
null
null
python/mypython3.py
Georgakopoulos-Sp/Adlr
3e480ff5f914f614c25d992218088cdaa4a9a476
[ "BSD-2-Clause" ]
null
null
null
import numpy as np #import matplotlib.pyplot as plt # Make sure that caffe is on the python path: caffe_root = '/home/legolas/CNN_libs/caffe_mike/caffe/python/caffe' # this file is expected to be in {caffe_root}/examples import sys sys.path.insert(0, caffe_root + 'python') import caffe #net = caffe.Net( net_def_pr...
34.807692
211
0.775691
143
905
4.72028
0.426573
0.065185
0.082963
0.106667
0.331852
0.331852
0.331852
0.331852
0.331852
0.331852
0
0.027027
0.100552
905
25
212
36.2
0.802211
0.379006
0
0
0
0
0.445848
0.406137
0
0
0
0
0
0
null
null
0
0.2
null
null
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
bab76c0196c1b561a7d2cb9fef0439a2f6f0baaf
17,995
py
Python
nova/tests/functional/integrated_helpers.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/functional/integrated_helpers.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/functional/integrated_helpers.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2011 Justin Santa Barbara' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' co...
12.79872
88
0.603557
2,702
17,995
3.92191
0.101406
0.15344
0.088704
0.073983
0.69614
0.612249
0.51675
0.451071
0.403133
0.339813
0
0.00181
0.10953
17,995
1,405
89
12.807829
0.659511
0
0
0.914591
0
0
0.375438
0.027063
0
0
0
0
0.000712
0
null
null
0
0.007117
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
bac3cbbc80f8ba3decdaf8a48d00d129d31fd8b3
2,406
py
Python
blog/models.py
Vardancer/django_blog
d5dae0e4f05bd306d39dd63d289ca7ed48b516d1
[ "BSD-2-Clause" ]
null
null
null
blog/models.py
Vardancer/django_blog
d5dae0e4f05bd306d39dd63d289ca7ed48b516d1
[ "BSD-2-Clause" ]
7
2019-12-04T22:27:15.000Z
2022-02-10T07:57:32.000Z
blog/models.py
Vardancer/django_blog
d5dae0e4f05bd306d39dd63d289ca7ed48b516d1
[ "BSD-2-Clause" ]
null
null
null
from django.contrib.auth.models import User from django.db import models from django.urls import reverse # Create your models here. class Article(models.Model): author = models.ForeignKey(User, on_delete=models.SET(0)) title = models.CharField(max_length=100, help_text="Title") text = models.TextField(he...
31.246753
109
0.703242
311
2,406
5.231511
0.302251
0.078672
0.068838
0.088506
0.290104
0.244622
0.210203
0.173325
0.04917
0
0
0.0111
0.176226
2,406
76
110
31.657895
0.809788
0.126766
0
0.152174
0
0
0.039694
0
0
0
0
0
0
1
0.152174
false
0
0.065217
0.130435
0.869565
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2