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
82795d16f64d4a7dc25e16edb62668333e0b77d7
5,732
py
Python
pytorch_blade/tests/mlir/test_disc_list.py
zhiqwang/BladeDISC
ae4ce5b914a860645e1e4a91b2512148f0885003
[ "Apache-2.0" ]
null
null
null
pytorch_blade/tests/mlir/test_disc_list.py
zhiqwang/BladeDISC
ae4ce5b914a860645e1e4a91b2512148f0885003
[ "Apache-2.0" ]
null
null
null
pytorch_blade/tests/mlir/test_disc_list.py
zhiqwang/BladeDISC
ae4ce5b914a860645e1e4a91b2512148f0885003
[ "Apache-2.0" ]
null
null
null
import torch import unittest from torch.testing import FileCheck from torch_blade import mlir from tests.mlir.testing_utils import DiscTestCase class TestDiscList(DiscTestCase): def test_list_int(self): @torch.jit.script def return_const_scalar(): return torch.tensor([1, 2, 3, 4]) ...
44.78125
268
0.499826
655
5,732
4.180153
0.164886
0.067933
0.046019
0.04821
0.651936
0.532505
0.494522
0.445215
0.424763
0.3645
0
0.066002
0.352408
5,732
127
269
45.133858
0.671606
0
0
0.478632
0
0.059829
0.763957
0.089323
0
0
0
0
0
1
0.042735
false
0
0.042735
0.008547
0.162393
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
0
0
0
0
0
0
0
0
0
0
0
1
8285c54960e6b249d254592d3cc3a4d1ddf8c99a
945
py
Python
onlinecoach/users/migrations/0003_auto_20190525_2344.py
sq2021/online-coach
d5d8acacdf21e8ce3dcd01d67f9fb8c9ffca371d
[ "MIT" ]
null
null
null
onlinecoach/users/migrations/0003_auto_20190525_2344.py
sq2021/online-coach
d5d8acacdf21e8ce3dcd01d67f9fb8c9ffca371d
[ "MIT" ]
8
2019-12-04T23:02:42.000Z
2022-02-10T11:45:46.000Z
onlinecoach/users/migrations/0003_auto_20190525_2344.py
sq2021/online-coach
d5d8acacdf21e8ce3dcd01d67f9fb8c9ffca371d
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-05-26 03:44 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20190525_2338'), ] operations = [ migrations.RenameField( model_name='custom...
27
96
0.587302
91
945
5.934066
0.549451
0.066667
0.140741
0.127778
0.303704
0.303704
0.17037
0
0
0
0
0.050152
0.303704
945
34
97
27.794118
0.770517
0.047619
0
0.428571
1
0
0.155902
0.025612
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8287b97bb2fd84d536ee2c7521063e124823d42f
20,166
py
Python
files/monitor_runs.py
eastgenomics/dx-streaming-upload
afce7b14841e2805beeb437d02f38b98daeafef9
[ "Apache-1.1" ]
1
2021-03-01T16:19:08.000Z
2021-03-01T16:19:08.000Z
files/monitor_runs.py
eastgenomics/dx-streaming-upload
afce7b14841e2805beeb437d02f38b98daeafef9
[ "Apache-1.1" ]
5
2021-04-30T15:05:32.000Z
2022-02-24T17:52:50.000Z
files/monitor_runs.py
eastgenomics/dx-streaming-upload
afce7b14841e2805beeb437d02f38b98daeafef9
[ "Apache-1.1" ]
null
null
null
#!/usr/bin/env python import argparse import dxpy import glob import json import multiprocessing import os import subprocess as sub import sys import time import yaml # Whether to print verbose Debuggin messages DEBUG = False # If upload is incomplete and local log has not been updated # for this many intervals, the...
43.649351
156
0.622781
2,550
20,166
4.772941
0.183922
0.017747
0.013803
0.016761
0.174842
0.09194
0.073125
0.067784
0.056528
0.034508
0
0.005761
0.276951
20,166
461
157
43.744035
0.828955
0.100714
0
0.094915
0
0.00339
0.240084
0.009885
0
0
0
0
0
0
null
null
0
0.033898
null
null
0.074576
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
0
0
0
0
0
1
828c354bd8225eda8f485e770147702149457560
350
py
Python
tests/compression/test_equality.py
J-T-de/sourcehold-maps
330ab1b3426dbd93b5de3b0c031419e54f6a1618
[ "MIT" ]
null
null
null
tests/compression/test_equality.py
J-T-de/sourcehold-maps
330ab1b3426dbd93b5de3b0c031419e54f6a1618
[ "MIT" ]
null
null
null
tests/compression/test_equality.py
J-T-de/sourcehold-maps
330ab1b3426dbd93b5de3b0c031419e54f6a1618
[ "MIT" ]
null
null
null
import unittest from sourcehold import compression class TestCompression(unittest.TestCase): def test_equality(self): with open("resources/map/crusader/MxM_unseen_1.map", 'rb') as f: data = f.read()[20:20 + 10217] self.assertEqual(data, compression.COMPRESSION.compress(compression.C...
26.923077
106
0.72
42
350
5.928571
0.714286
0.176707
0
0
0
0
0
0
0
0
0
0.034364
0.168571
350
12
107
29.166667
0.821306
0
0
0
0
0
0.117143
0.111429
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
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
0
1
0
0
1
829a86f6cccfecabc6d05bb83c7f6ff48bd74bc9
1,798
py
Python
nicos_mlz/kws3/setups/ls340.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
12
2019-11-06T15:40:36.000Z
2022-01-01T16:23:00.000Z
nicos_mlz/kws3/setups/ls340.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
91
2020-08-18T09:20:26.000Z
2022-02-01T11:07:14.000Z
nicos_mlz/kws3/setups/ls340.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
6
2020-01-11T10:52:30.000Z
2022-02-25T12:35:23.000Z
# -*- coding: utf-8 -*- description = "Setup for the LakeShore 340 temperature controller" group = "optional" includes = ["alias_T"] tango_base = "tango://phys.kws3.frm2:10000/kws3" tango_ls340 = tango_base + "/ls340" devices = dict( T_ls340 = device("nicos.devices.entangle.TemperatureController", descr...
27.661538
70
0.561179
186
1,798
5.225806
0.344086
0.072016
0.111111
0.160494
0.393004
0.393004
0.312757
0
0
0
0
0.074163
0.302558
1,798
64
71
28.09375
0.700957
0.01168
0
0.310345
0
0
0.266479
0.129014
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
1
829e3761a3cc9bf3ca10960e815239bd813a8ec7
475
py
Python
songs/migrations/0003_song_note_pdf_file.py
iver56/choir-practice
6528e205420b042db8bdbe3a6212ef99aae31ec0
[ "MIT" ]
null
null
null
songs/migrations/0003_song_note_pdf_file.py
iver56/choir-practice
6528e205420b042db8bdbe3a6212ef99aae31ec0
[ "MIT" ]
7
2021-11-23T10:34:39.000Z
2021-11-24T11:20:45.000Z
songs/migrations/0003_song_note_pdf_file.py
iver56/choir-practice
6528e205420b042db8bdbe3a6212ef99aae31ec0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-14 21:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('songs', '0002_auto_20171111_1257'), ] operations = [ migrations.AddField( ...
22.619048
73
0.618947
56
475
5.035714
0.821429
0
0
0
0
0
0
0
0
0
0
0.093484
0.256842
475
20
74
23.75
0.705382
0.143158
0
0
1
0
0.111386
0.056931
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
82a10f3959594d5b9b6ac426d47d0997a98983a7
740
py
Python
farms2face/cart/migrations/0001_initial.py
dev1farms2face/f2f
54e58187a68574bf2bd0dfb7e58a2b416336106a
[ "MIT" ]
null
null
null
farms2face/cart/migrations/0001_initial.py
dev1farms2face/f2f
54e58187a68574bf2bd0dfb7e58a2b416336106a
[ "MIT" ]
null
null
null
farms2face/cart/migrations/0001_initial.py
dev1farms2face/f2f
54e58187a68574bf2bd0dfb7e58a2b416336106a
[ "MIT" ]
2
2018-06-19T12:12:08.000Z
2018-06-25T18:45:36.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-07-20 06:27 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateMode...
27.407407
114
0.605405
77
740
5.701299
0.714286
0.050114
0.08656
0
0
0
0
0
0
0
0
0.034926
0.264865
740
26
115
28.461538
0.772059
0.089189
0
0
1
0
0.04769
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.388889
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
82a261ef9310116ac3d3fbeb3375abdaba4cb0c2
16,431
py
Python
metal_gen/metal_VAE_pytorch.py
a96123155/protein-vae
f7013c4c8d8cd31c58f5badc95a913177e6ac9f0
[ "MIT" ]
58
2018-07-02T08:59:51.000Z
2022-03-14T09:58:49.000Z
metal_gen/metal_VAE_pytorch.py
a96123155/protein-vae
f7013c4c8d8cd31c58f5badc95a913177e6ac9f0
[ "MIT" ]
2
2019-11-24T23:04:42.000Z
2020-05-13T09:13:48.000Z
metal_gen/metal_VAE_pytorch.py
psipred/protein-vae
f7013c4c8d8cd31c58f5badc95a913177e6ac9f0
[ "MIT" ]
15
2018-11-07T16:44:22.000Z
2022-03-23T16:46:08.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Oct 11 11:53:06 2017 @author: Lewis Moffat aka. Groovy Dragon This script is an implimentation of a variational autoencoder in pytorch This script presumes that if you are training the model you are going to have a gpu available. If you do not, and y...
34.446541
127
0.537338
2,084
16,431
4.082534
0.182342
0.042313
0.049365
0.029972
0.511166
0.46709
0.448989
0.431359
0.401034
0.368594
0
0.027527
0.279228
16,431
476
128
34.518908
0.690872
0
0
0.461538
0
0
0.052753
0.008561
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.026923
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
0
0
0
0
0
1
82ab252e33a4778420c84d4032d00bdbbac04fa7
9,091
py
Python
birdseye/models.py
NasaAppChallenge/birdseye-server
f2a6a3f4298d1f73e8727c9678faa9f5d377b234
[ "MIT" ]
3
2017-04-23T22:37:03.000Z
2017-04-30T16:52:54.000Z
birdseye/models.py
DramaticLiberty/birdseye-server
f2a6a3f4298d1f73e8727c9678faa9f5d377b234
[ "MIT" ]
1
2017-05-05T21:46:07.000Z
2017-05-06T04:17:52.000Z
birdseye/models.py
DramaticLiberty/birdseye-server
f2a6a3f4298d1f73e8727c9678faa9f5d377b234
[ "MIT" ]
3
2017-04-27T20:30:17.000Z
2017-05-02T04:00:36.000Z
# -*- coding: utf-8 -*- from datetime import datetime, timedelta import uuid from geoalchemy2 import Geometry from geoalchemy2.elements import WKBElement, WKTElement import flask.json from psycopg2.extensions import AsIs from psycopg2.extras import Json import sqlalchemy from sqlalchemy import Text, text, ForeignKe...
31.348276
81
0.656363
1,085
9,091
5.352995
0.23871
0.033058
0.020145
0.019284
0.180613
0.145833
0.117769
0.083333
0.083333
0.061295
0
0.002568
0.229128
9,091
289
82
31.456747
0.826199
0.130459
0
0.163265
0
0
0.063034
0.003445
0
0
0
0.00346
0
1
0.137755
false
0
0.071429
0.061224
0.576531
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
0
1
0
0
1
82b3e2fb14a914257b98192eec9aefe3dc4e73c6
12,900
py
Python
kairon/shared/actions/data_objects.py
rit1200/kairon
674a491f6deeae4800825ca93e0726e4fb6e0866
[ "Apache-2.0" ]
9
2020-04-22T12:49:29.000Z
2020-06-13T22:23:20.000Z
kairon/shared/actions/data_objects.py
rit1200/kairon
674a491f6deeae4800825ca93e0726e4fb6e0866
[ "Apache-2.0" ]
18
2020-04-20T12:39:20.000Z
2020-05-21T05:10:51.000Z
kairon/shared/actions/data_objects.py
rit1200/kairon
674a491f6deeae4800825ca93e0726e4fb6e0866
[ "Apache-2.0" ]
13
2020-04-21T12:12:40.000Z
2020-05-13T07:27:44.000Z
from mongoengine import ( Document, EmbeddedDocument, EmbeddedDocumentField, StringField, DateTimeField, BooleanField, IntField, ListField, DictField, DynamicField ) from mongoengine.errors import ValidationError from datetime import datetime from validators import ValidationFailure, ur...
35.734072
140
0.704651
1,448
12,900
6.14779
0.118785
0.082229
0.149854
0.035385
0.618063
0.524489
0.460683
0.425522
0.412492
0.397439
0
0.000195
0.202868
12,900
360
141
35.833333
0.865506
0
0
0.558219
0
0
0.038992
0
0
0
0
0
0
1
0.092466
false
0.006849
0.054795
0
0.554795
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
0
1
0
0
1
82b4daffb43679ee91766a29b81b8d6afb54526f
462
py
Python
ensyuu/app/TyPy/tk/main.py
tbor8080/pyprog
3642b9af2a92f7369d9b6fa138e47ba22df3271c
[ "MIT" ]
null
null
null
ensyuu/app/TyPy/tk/main.py
tbor8080/pyprog
3642b9af2a92f7369d9b6fa138e47ba22df3271c
[ "MIT" ]
null
null
null
ensyuu/app/TyPy/tk/main.py
tbor8080/pyprog
3642b9af2a92f7369d9b6fa138e47ba22df3271c
[ "MIT" ]
null
null
null
from time import sleep import threading import tkinter from tkinter import ttk import random time_v=0 def main(): tkinter._test() def testWindow(): pass def StringVar(): pass root = tkinter.Tk() root.title("Sample Window") root.geometry("800x600") t = StringVar() Frame1 = ttk.Frame(root, padding=16) B...
14
42
0.718615
66
462
5
0.560606
0
0
0
0
0
0
0
0
0
0
0.038071
0.147186
462
32
43
14.4375
0.799492
0
0
0.086957
0
0
0.049784
0
0
0
0
0
0
1
0.130435
false
0.086957
0.217391
0
0.347826
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
0
0
0
1
82b5610b2e8cf1cf4776600514be7798e959ff8d
6,237
py
Python
src/model_mnists_skripts/tf_estimator_fnn.py
tarrade/proj_DL_models_and_pipelines_with_GCP
8c400b6bdc006f99f1412166824d68b64264abf2
[ "Apache-2.0" ]
6
2019-04-05T13:32:40.000Z
2019-06-30T17:01:19.000Z
src/model_mnists_skripts/tf_estimator_fnn.py
tarrade/proj_DL_models_and_pipelines_with_GCP
8c400b6bdc006f99f1412166824d68b64264abf2
[ "Apache-2.0" ]
4
2019-01-13T19:32:34.000Z
2019-04-26T16:21:46.000Z
src/model_mnists_skripts/tf_estimator_fnn.py
tarrade/proj_DL_models_and_pipelines_with_GCP
8c400b6bdc006f99f1412166824d68b64264abf2
[ "Apache-2.0" ]
2
2019-04-25T18:32:24.000Z
2019-05-10T15:46:21.000Z
import tensorflow as tf # 1.12 import numpy as np #Factor into config: N_PIXEL = 784 USE_TPU = False PATH_DATA = '/../../../data/' if USE_TPU: _device_update = 'tpu' else: _device_update = 'cpu' IMAGE_SIZE = 28 * 28 NUM_LABELS = 10 OUTDIR = 'trained/mnist_estimator/' lr_inital = 0.001 BATCH_SIZE = 128 EPOCH...
33.896739
212
0.610069
738
6,237
4.878049
0.361789
0.025278
0.023333
0.044722
0.138333
0.120556
0.111667
0.111667
0.102222
0.102222
0
0.022991
0.267757
6,237
183
213
34.081967
0.765273
0.274651
0
0.078947
0
0
0.149943
0.043398
0
0
0
0.005464
0.008772
0
null
null
0
0.04386
null
null
0.035088
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
0
0
0
0
0
1
82bf23ee87ba6afba497613b08d979a8905e1a20
1,795
py
Python
contrib/workflow/src/main.py
gonicus/clacks
da579f0acc4e48cf2e9451417ac6792282cf7ab6
[ "ZPL-2.1" ]
2
2015-01-26T07:15:19.000Z
2015-11-09T13:42:11.000Z
contrib/workflow/src/main.py
gonicus/clacks
da579f0acc4e48cf2e9451417ac6792282cf7ab6
[ "ZPL-2.1" ]
null
null
null
contrib/workflow/src/main.py
gonicus/clacks
da579f0acc4e48cf2e9451417ac6792282cf7ab6
[ "ZPL-2.1" ]
null
null
null
#!/usr/bin/env python import os.path import MySQLdb from sqlalchemy import * from sqlalchemy.orm import clear_mappers __author__="janw" __date__ ="$21.05.2010 16:55:13$" from SpiffWorkflow.Storage import XmlReader from SpiffWorkflow.Server import * from SpiffWorkflow import Job,...
24.930556
79
0.622284
223
1,795
4.807175
0.461883
0.059701
0.027985
0.031716
0.039179
0
0
0
0
0
0
0.012811
0.260724
1,795
72
80
24.930556
0.795026
0.027298
0
0.087719
0
0
0.119839
0.038417
0
0
0
0
0
0
null
null
0.035088
0.140351
null
null
0.070175
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
0
0
0
0
0
1
82bf7802730c23337970c46f1d371fc82417612f
532
py
Python
services/youtube-dl/tests/grpc_add_to_queue.py
greenmochi/kabedon-electron
652cce4202dd968f2120d312df446a5dbf72a158
[ "MIT" ]
1
2021-11-23T06:57:43.000Z
2021-11-23T06:57:43.000Z
services/youtube-dl/tests/grpc_add_to_queue.py
greenmochi/kabedon-electron
652cce4202dd968f2120d312df446a5dbf72a158
[ "MIT" ]
13
2020-09-06T10:49:41.000Z
2022-03-25T18:49:20.000Z
services/youtube-dl/tests/grpc_add_to_queue.py
greenmochi/ultimate
652cce4202dd968f2120d312df446a5dbf72a158
[ "MIT" ]
null
null
null
import grpc import time from hydro_engine.proto import youtubedl_pb2 from hydro_engine.proto import youtubedl_pb2_grpc with grpc.insecure_channel("localhost:9994") as channel: stub = youtubedl_pb2_grpc.YoutubeDLStub(channel) id = stub.AddToQueue(youtubedl_pb2.DownloadItem(url="https://www.youtube.com/watch?v=...
33.25
103
0.785714
66
532
6.166667
0.515152
0.176904
0.07371
0.09828
0.515971
0.515971
0.515971
0.329238
0
0
0
0.025532
0.116541
532
16
104
33.25
0.840426
0
0
0.333333
0
0
0.106942
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
0
0
0
1
82c0830d1a85b910160e654eb55e28b59c480353
1,237
py
Python
subscribers/admin.py
seanpierce/django-itr
01951612d4d49c328c89487efc83e65908c8ad58
[ "MIT" ]
null
null
null
subscribers/admin.py
seanpierce/django-itr
01951612d4d49c328c89487efc83e65908c8ad58
[ "MIT" ]
null
null
null
subscribers/admin.py
seanpierce/django-itr
01951612d4d49c328c89487efc83e65908c8ad58
[ "MIT" ]
null
null
null
import csv from django.contrib import admin from django.http import HttpResponse # Register your models here. from .models import Subscriber, SubscriptionRequest class SubscriberAdmin(admin.ModelAdmin): list_display = ('email', 'created_at') list_per_page = 10 actions = ["export_as_csv"] def export_...
28.767442
79
0.700081
139
1,237
6.079137
0.467626
0.028402
0.039053
0.061538
0.080473
0.080473
0.080473
0.080473
0
0
0
0.004016
0.194826
1,237
42
80
29.452381
0.844378
0.021019
0
0.142857
0
0
0.111663
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.535714
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
0
1
0
0
1
82c471abf229df70f0010a07219c83a67d967f84
894
py
Python
example/cmanage/migrations/0001_initial.py
okwow123/djangol2
284a70dd262adc8678b1bd5da1ac2df61d666765
[ "MIT" ]
null
null
null
example/cmanage/migrations/0001_initial.py
okwow123/djangol2
284a70dd262adc8678b1bd5da1ac2df61d666765
[ "MIT" ]
null
null
null
example/cmanage/migrations/0001_initial.py
okwow123/djangol2
284a70dd262adc8678b1bd5da1ac2df61d666765
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-27 03:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('store', '0008_auto_20170527_0312'), ]...
28.83871
114
0.607383
94
894
5.585106
0.638298
0.045714
0.053333
0.08381
0
0
0
0
0
0
0
0.051437
0.260626
894
30
115
29.8
0.742814
0.073826
0
0.090909
1
0
0.12
0.027879
0
0
0
0
0
1
0
false
0
0.136364
0
0.318182
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
82caa869cfc04844050d423265e8b4ffa451ebac
5,520
py
Python
tos/tests/test_views.py
blag/django-tos
b1e48d3b6c9349ef5125f925930a3a43c3afeca6
[ "BSD-3-Clause" ]
null
null
null
tos/tests/test_views.py
blag/django-tos
b1e48d3b6c9349ef5125f925930a3a43c3afeca6
[ "BSD-3-Clause" ]
null
null
null
tos/tests/test_views.py
blag/django-tos
b1e48d3b6c9349ef5125f925930a3a43c3afeca6
[ "BSD-3-Clause" ]
1
2020-03-25T23:15:25.000Z
2020-03-25T23:15:25.000Z
from django.conf import settings from django.core.urlresolvers import reverse from django.test import TestCase from tos.compat import get_runtime_user_model from tos.models import TermsOfService, UserAgreement, has_user_agreed_latest_tos class TestViews(TestCase): def setUp(self): # User that has agreed...
38.068966
108
0.677355
691
5,520
5.227207
0.183792
0.032946
0.074751
0.073643
0.639535
0.606589
0.587763
0.535437
0.503599
0.461517
0
0.015786
0.208152
5,520
144
109
38.333333
0.81057
0.077174
0
0.397727
0
0
0.136959
0
0
0
0
0
0.329545
1
0.125
false
0.113636
0.056818
0
0.193182
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
0
0
0
1
82d1413c13229bf240bbb62b9957629a51778ed5
424
py
Python
tests/bot/conftest.py
esemi/vigilant-chainsaw
88631e75594e2f0356d1b10679b829c6a9bf60bf
[ "Apache-2.0" ]
1
2021-10-02T21:05:01.000Z
2021-10-02T21:05:01.000Z
tests/bot/conftest.py
esemi/vigilant-chainsaw
88631e75594e2f0356d1b10679b829c6a9bf60bf
[ "Apache-2.0" ]
null
null
null
tests/bot/conftest.py
esemi/vigilant-chainsaw
88631e75594e2f0356d1b10679b829c6a9bf60bf
[ "Apache-2.0" ]
1
2021-12-15T21:16:21.000Z
2021-12-15T21:16:21.000Z
import pytest from bot.state import State @pytest.fixture def fixture_farm_state() -> State: yield State(debug=True, current_tick=0) @pytest.fixture(autouse=True) def mock_left_click(mocker): import pyautogui mocker.patch.object(pyautogui, 'mouseUp', return_value=None) mocker.patch.object(pyautogu...
23.555556
72
0.757075
57
424
5.491228
0.491228
0.105431
0.162939
0.249201
0
0
0
0
0
0
0
0.00271
0.129717
424
17
73
24.941176
0.845528
0
0
0
0
0
0.049528
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.454545
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
0
0
0
0
0
0
0
1
82d34c037cbb89a38b678f653ce8906e94366b9d
388
py
Python
src/flooky/cli.py
shodder/flooky
c69c611125624c0ea630a747563927ca6c6f781b
[ "MIT" ]
null
null
null
src/flooky/cli.py
shodder/flooky
c69c611125624c0ea630a747563927ca6c6f781b
[ "MIT" ]
null
null
null
src/flooky/cli.py
shodder/flooky
c69c611125624c0ea630a747563927ca6c6f781b
[ "MIT" ]
null
null
null
import click @click.group() def cli(): pass @cli.command() @click.option('--host', default='localhost') @click.option('--port', default=5000) @click.option('--debug', is_flag=True) def run(host, port, debug): from flooky.app import create_app from flooky import config app = create_app(config=config...
19.4
53
0.693299
54
388
4.925926
0.444444
0.12406
0
0
0
0
0
0
0
0
0
0.012085
0.146907
388
19
54
20.421053
0.791541
0
0
0
0
0
0.072539
0
0
0
0
0
0
1
0.153846
false
0.076923
0.230769
0
0.384615
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
0
0
0
1
82d5b7f13a76382bc1ce24aa6b729a9ea97d6d42
3,348
py
Python
CursoemVideoAulas/aula016.py
edujsnogueira/Curso-Python-GG
976bc89bd55fc72afafcf4f2e2213878cc6b09cb
[ "MIT" ]
null
null
null
CursoemVideoAulas/aula016.py
edujsnogueira/Curso-Python-GG
976bc89bd55fc72afafcf4f2e2213878cc6b09cb
[ "MIT" ]
null
null
null
CursoemVideoAulas/aula016.py
edujsnogueira/Curso-Python-GG
976bc89bd55fc72afafcf4f2e2213878cc6b09cb
[ "MIT" ]
null
null
null
# Aula 016: '''Nessa aula, vamos aprender o que são TUPLAS e como utilizar tuplas em Python. As tuplas são variáveis compostas e imutáveis que permitem armazenar vários valores em uma mesma estrutura, acessíveis por chaves individuais.''' # Variáveis compostas (Tuplas): lanche = ('Hamburger', 'Suco', 'Pizza', 'Pudim...
31.584906
115
0.720131
514
3,348
4.690661
0.379377
0.054749
0.047283
0.059726
0.235172
0.214849
0.214849
0.085856
0.085856
0.048113
0
0.0132
0.162784
3,348
105
116
31.885714
0.84695
0.595878
0
0.340426
0
0
0.29246
0
0
0
0
0
0
1
0
false
0
0
0
0
0.680851
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
0
0
1
0
1
82d7d9943fe74d64046f08983440bb17f83534df
1,347
py
Python
svc_tools/decorators.py
tylerwince/svc-tools
02c228401d99acd60be0bd675b4ad7b932cd6d85
[ "MIT" ]
null
null
null
svc_tools/decorators.py
tylerwince/svc-tools
02c228401d99acd60be0bd675b4ad7b932cd6d85
[ "MIT" ]
null
null
null
svc_tools/decorators.py
tylerwince/svc-tools
02c228401d99acd60be0bd675b4ad7b932cd6d85
[ "MIT" ]
null
null
null
"""Decorators that enable easy modifications to function behavior.""" import logging import time from functools import wraps from typing import Callable LOG = logging.getLogger("svc_tools") def timer(log_level: Callable): """Time a function and log the time it took to execute. If you want to know how long a...
28.0625
69
0.636229
169
1,347
4.946746
0.449704
0.038278
0.021531
0
0
0
0
0
0
0
0
0.019348
0.270973
1,347
47
70
28.659574
0.831976
0.512992
0
0
0
0
0.087873
0
0
0
0
0
0
1
0.1875
false
0
0.25
0
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
0
0
0
0
0
1
0
0
1
82d8dc16e79bc43924b64b7139a11d89546e812e
3,531
py
Python
mailserver/txmailserver/imap4.py
lp-programming/txmailserver
f68b01e5d062dfae0e8d872fb9c91d9bcea2323c
[ "MIT" ]
null
null
null
mailserver/txmailserver/imap4.py
lp-programming/txmailserver
f68b01e5d062dfae0e8d872fb9c91d9bcea2323c
[ "MIT" ]
null
null
null
mailserver/txmailserver/imap4.py
lp-programming/txmailserver
f68b01e5d062dfae0e8d872fb9c91d9bcea2323c
[ "MIT" ]
null
null
null
import os from zope.interface import implements from twisted.mail import imap4, maildir from twisted.internet import protocol, defer from twisted.python import log from txmailserver.mailbox import Mailbox, Message, MessagePart __all__ = ["IMAP4Account", "IMAP4Protocol", "IMAP4Factory"] class IMAP4Account: im...
27.161538
77
0.5919
392
3,531
5.311224
0.308673
0.081172
0.019212
0.020173
0.106148
0.075889
0.075889
0.075889
0.04707
0
0
0.008561
0.305296
3,531
129
78
27.372093
0.840196
0.01586
0
0
0
0
0.046065
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.014493
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
0
0
0
0
0
1
82d9cd4a7b8b8f078a47fdf7ca88d3ce67bfc88e
4,476
py
Python
gpxutils.py
TimSC/auxgis
4933c46f0e10a1093ca99ad6bacb312fefa4568c
[ "BSD-3-Clause" ]
null
null
null
gpxutils.py
TimSC/auxgis
4933c46f0e10a1093ca99ad6bacb312fefa4568c
[ "BSD-3-Clause" ]
null
null
null
gpxutils.py
TimSC/auxgis
4933c46f0e10a1093ca99ad6bacb312fefa4568c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from datetime import date from xml.etree.ElementTree import ElementTree from xml.parsers import expat import os, codecs from xml.sax.saxutils import escape class GpxWriter: def __init__(self, fi): self.fi = fi #self.fi = codecs.open(filename, "w", "utf-8") self.fi.write('<?xml version="1.0...
31.083333
242
0.660411
639
4,476
4.607199
0.211268
0.046875
0.067255
0.054348
0.229959
0.190557
0.164402
0.110394
0.100543
0.068954
0
0.010736
0.146783
4,476
143
243
31.300699
0.760147
0.058534
0
0.102804
0
0.009346
0.196475
0
0
0
0
0
0
0
null
null
0
0.046729
null
null
0.009346
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
0
0
0
0
0
1
82e225eb1574f75139c8351e8e7d22918b71f6b4
645
py
Python
var/spack/repos/builtin/packages/py-smmap/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
11
2015-10-04T02:17:46.000Z
2018-02-07T18:23:00.000Z
var/spack/repos/builtin/packages/py-smmap/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
22
2017-08-01T22:45:10.000Z
2022-03-10T07:46:31.000Z
var/spack/repos/builtin/packages/py-smmap/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
4
2016-06-10T17:57:39.000Z
2018-09-11T04:59:38.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class PySmmap(PythonPackage): """ A pure Python implementation of a sliding window memory ma...
30.714286
95
0.71938
85
645
5.435294
0.776471
0.008658
0.012987
0
0
0
0
0
0
0
0
0.116788
0.150388
645
20
96
32.25
0.726277
0.39845
0
0
0
0
0.495935
0.238482
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
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
0
1
0
0
1
82e71aa9c26f8bc3e0cfc52197a08cb105966c83
1,108
py
Python
lab3/final/Source/scripts/txt2svm.py
etzinis/pat_rec_ntua
e565b791206a6a1ab44630db519fd54f62f6e3e0
[ "MIT" ]
2
2018-09-01T00:26:34.000Z
2022-01-06T14:13:26.000Z
lab3/final/Source/scripts/txt2svm.py
etzinis/pat_rec_ntua
e565b791206a6a1ab44630db519fd54f62f6e3e0
[ "MIT" ]
null
null
null
lab3/final/Source/scripts/txt2svm.py
etzinis/pat_rec_ntua
e565b791206a6a1ab44630db519fd54f62f6e3e0
[ "MIT" ]
null
null
null
import sys def convert(f_in, f_out, f_features): features = [] labels = [] for line in f_in.readlines(): words = line.strip().split(" ") labels.append(int(round(float(words[0])))) features.append(zip(xrange(1,len(words)+1), words[1:])) indexes = map(lambda x: int(x)-1, f_features.readline().split()) ...
25.767442
74
0.692238
171
1,108
4.309942
0.397661
0.044776
0.027137
0.040706
0
0
0
0
0
0
0
0.011482
0.135379
1,108
42
75
26.380952
0.757829
0.016245
0
0
0
0
0.183655
0.07438
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.066667
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
0
0
0
0
0
1
7d53857e257054b69667354a550ac7e143f8699f
1,776
py
Python
parser_tool/extractor.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
1
2019-09-25T21:22:14.000Z
2019-09-25T21:22:14.000Z
parser_tool/extractor.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
null
null
null
parser_tool/extractor.py
g-freire/web-parser-tools
edbec7b57b33eea8a203e1b32a8c911ef1a22956
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 #-*- coding: utf-8 -*- from time import time, strftime import requests from lxml import html def blueprint(): try: start = time() domain = "" print('\033[94m', '---------------------------------------------', '\033[0m') print('\033...
29.114754
99
0.378941
152
1,776
4.348684
0.414474
0.060514
0.045386
0.04236
0.161876
0.075643
0.075643
0.075643
0
0
0
0.068657
0.434122
1,776
61
100
29.114754
0.589055
0.032658
0
0.295455
0
0
0.191425
0.054348
0
0
0
0
0
1
0.022727
false
0.068182
0.068182
0
0.090909
0.181818
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
0
0
0
1
7d58f38b4abc0093dce71217dbb6334ce4bda41b
1,831
py
Python
loaner/web_app/backend/api/messages/tag_messages.py
gng-demo/GrabnGo
6d0c4b3feb65a0daf944211b32ff51357a4ea53a
[ "Apache-2.0" ]
1
2019-12-15T15:09:24.000Z
2019-12-15T15:09:24.000Z
loaner/web_app/backend/api/messages/tag_messages.py
gng-demo/GrabnGo
6d0c4b3feb65a0daf944211b32ff51357a4ea53a
[ "Apache-2.0" ]
2
2022-01-22T08:15:45.000Z
2022-03-02T04:55:19.000Z
loaner/web_app/backend/api/messages/tag_messages.py
gng-demo/GrabnGo
6d0c4b3feb65a0daf944211b32ff51357a4ea53a
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
31.033898
79
0.744402
253
1,831
5.324111
0.478261
0.044543
0.035635
0.023757
0.028211
0
0
0
0
0
0
0.009987
0.179683
1,831
58
80
31.568966
0.886818
0.663026
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0.071429
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
0
1
0
0
1
7d612334c5f1e78dd66c0a2f467f7d367542aa74
2,233
py
Python
migrations_bak/versions/a57123178a_.py
fractal520/dbops
20c6b6b5669e09b43cd19e6f3fa0448bc7d5eaac
[ "MIT" ]
null
null
null
migrations_bak/versions/a57123178a_.py
fractal520/dbops
20c6b6b5669e09b43cd19e6f3fa0448bc7d5eaac
[ "MIT" ]
null
null
null
migrations_bak/versions/a57123178a_.py
fractal520/dbops
20c6b6b5669e09b43cd19e6f3fa0448bc7d5eaac
[ "MIT" ]
null
null
null
"""empty message Revision ID: a57123178a Revises: 1cf17229dc4 Create Date: 2017-06-08 23:06:16.920132 """ # revision identifiers, used by Alembic. revision = 'a57123178a' down_revision = '1cf17229dc4' from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql def upgrade(): ### comman...
37.847458
97
0.691446
295
2,233
5.081356
0.254237
0.096064
0.140093
0.160107
0.551701
0.482322
0.398933
0.256838
0.121414
0.066711
0
0.033749
0.137483
2,233
58
98
38.5
0.744548
0.128974
0
0
0
0
0.202929
0.040272
0
0
0
0
0
1
0.04878
false
0
0.073171
0
0.121951
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
0
0
0
0
0
0
0
1
7d64c755048a574ac0700fe0ee986e1349ceb51c
6,010
py
Python
web-version/bin/app.py
Razique/the-lost-planet
8503f66aa860c819185599b406fba5a3cd0b2248
[ "Apache-2.0" ]
null
null
null
web-version/bin/app.py
Razique/the-lost-planet
8503f66aa860c819185599b406fba5a3cd0b2248
[ "Apache-2.0" ]
null
null
null
web-version/bin/app.py
Razique/the-lost-planet
8503f66aa860c819185599b406fba5a3cd0b2248
[ "Apache-2.0" ]
null
null
null
import sys sys.path.append('../') import web import glob import random import hashlib import logging import db_controllers from gothonweb import map, game_lexicon from sanitize import sanitize logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) web.config.debug = False # Routes definition u...
31.139896
104
0.571714
674
6,010
4.946588
0.212166
0.059388
0.029394
0.025495
0.354229
0.223155
0.214757
0.175165
0.103179
0.103179
0
0.000992
0.328785
6,010
192
105
31.302083
0.825483
0.062396
0
0.39726
0
0
0.062478
0
0
0
0
0
0.013699
1
0.082192
false
0.054795
0.061644
0
0.246575
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
0
0
0
1
7d6ad93053b75f50c3bec34a0c2b4b0419ade37b
428
py
Python
scrapybot/items/qidian.py
roadt/scrapybot
c4588f3d2c354a464f67f7199933775bc7a859e0
[ "MIT" ]
null
null
null
scrapybot/items/qidian.py
roadt/scrapybot
c4588f3d2c354a464f67f7199933775bc7a859e0
[ "MIT" ]
null
null
null
scrapybot/items/qidian.py
roadt/scrapybot
c4588f3d2c354a464f67f7199933775bc7a859e0
[ "MIT" ]
1
2015-09-11T05:59:42.000Z
2015-09-11T05:59:42.000Z
# # put Qidan site's aritcle items definition # # from scrapy.item import Item, Field class Article(Item): url = Field() # url of target site # data fields title = Field() cover_url = Field({ 'file_url': { 'path': 'cover_path'}}) cover_path = Field() author_name = Field() author_ur...
17.12
61
0.607477
53
428
4.754717
0.584906
0.095238
0.103175
0
0
0
0
0
0
0
0
0
0.266355
428
24
62
17.833333
0.802548
0.172897
0
0
0
0
0.063953
0
0
0
0
0
0
1
0
false
0
0.083333
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
0
0
0
0
0
1
0
0
1
7d6c0e0f832a1b06010b689327e7bb01b1959310
1,002
py
Python
DataStructures/Queue.py
eminde/Data-Structure-and-Algorithms-with-Python-
952c6f8a465f3a66e2213427ecb392f7d8d32a62
[ "MIT" ]
2
2017-10-26T16:22:33.000Z
2021-01-28T20:06:08.000Z
DataStructures/Queue.py
eminde/Data-Structure-and-Algorithms-with-Python-
952c6f8a465f3a66e2213427ecb392f7d8d32a62
[ "MIT" ]
1
2020-06-13T18:44:48.000Z
2020-06-13T18:44:48.000Z
DataStructures/Queue.py
eminde/Data-Structure-and-Algorithms-with-Python-
952c6f8a465f3a66e2213427ecb392f7d8d32a62
[ "MIT" ]
null
null
null
#Queue.py #20 Oct 2017 #Written By Amin Dehghan #DS & Algorithms With Python class Queue: def __init__(self): self.items=[] self.fronIdx=0 def __compress(self): newlst=[] for i in range(self.frontIdx,len(self.items)): newlst.append(self.items[i]) ...
22.772727
72
0.543912
115
1,002
4.669565
0.417391
0.150838
0.072626
0.063315
0.160149
0.160149
0.160149
0.160149
0
0
0
0.015528
0.357285
1,002
44
73
22.772727
0.818323
0.068862
0
0.076923
0
0
0.076344
0
0
0
0
0
0
1
0.230769
false
0
0
0.038462
0.384615
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
0
0
0
1
7d72017c38c133746f53b2700f731882bf1cb759
7,473
py
Python
pycielo/utils.py
williambr/pycielo
bb2e5ae260523ba3c06e456044d51536778bb9a5
[ "BSD-3-Clause" ]
2
2015-06-19T01:35:30.000Z
2015-11-04T22:36:20.000Z
pycielo/utils.py
williambr/pycielo
bb2e5ae260523ba3c06e456044d51536778bb9a5
[ "BSD-3-Clause" ]
null
null
null
pycielo/utils.py
williambr/pycielo
bb2e5ae260523ba3c06e456044d51536778bb9a5
[ "BSD-3-Clause" ]
null
null
null
import re import datetime from cStringIO import StringIO from decimal import Decimal from xml.dom.minidom import Document from lxml import etree from lxml.builder import E import pycurl BANDEIRAS = ( ('visa', 'Visa'), ('mastercard', 'Mastercard'), ('diners', 'Diners'), ('discover', 'Discover'), (...
26.31338
82
0.55105
818
7,473
4.920538
0.256724
0.004969
0.032298
0.025342
0.166957
0.120745
0.104348
0.097391
0.082981
0.082981
0
0.010018
0.318747
7,473
283
83
26.40636
0.780593
0.052456
0
0.165094
0
0
0.085231
0.016648
0
0
0
0
0
0
null
null
0
0.037736
null
null
0.028302
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
0
0
0
0
0
1
7d769cda1ba4bea0a615652f0f14d16a79729ff3
6,210
py
Python
importio2/commands/csv_to_db.py
import-io/import-io-api-python
5c838a357742233e714b2ccfd19d25c18531cfa3
[ "Apache-2.0" ]
1
2021-08-18T03:27:40.000Z
2021-08-18T03:27:40.000Z
importio2/commands/csv_to_db.py
import-io/import-io-api-python
5c838a357742233e714b2ccfd19d25c18531cfa3
[ "Apache-2.0" ]
null
null
null
importio2/commands/csv_to_db.py
import-io/import-io-api-python
5c838a357742233e714b2ccfd19d25c18531cfa3
[ "Apache-2.0" ]
2
2021-09-13T14:28:50.000Z
2021-09-27T17:56:21.000Z
# # Copyright 2017 Import.io # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
40.324675
120
0.607246
768
6,210
4.71875
0.25
0.041391
0.024283
0.034768
0.128863
0.084713
0.055464
0.046909
0.030905
0.030905
0
0.004785
0.293237
6,210
153
121
40.588235
0.820916
0.223833
0
0.043478
0
0
0.154777
0
0
0
0
0
0
1
0.086957
false
0.086957
0.043478
0.01087
0.152174
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
0
0
0
1
7d76dd6d1e050d720d2111ca3135529f0bdc3147
879
py
Python
saleor/webhook/models.py
shannenye/saleor
f6a2d35fd8ae8d614edd952cd5c58adb82e56ab2
[ "CC-BY-4.0" ]
4
2021-03-27T16:38:48.000Z
2021-10-18T12:54:15.000Z
saleor/webhook/models.py
SachinJoshi12687/saleor
c68c40aaa0c1e0e9d2b8e5304e83a0277e1745d9
[ "CC-BY-4.0" ]
19
2022-02-21T04:34:12.000Z
2022-03-28T04:55:08.000Z
saleor/webhook/models.py
SachinJoshi12687/saleor
c68c40aaa0c1e0e9d2b8e5304e83a0277e1745d9
[ "CC-BY-4.0" ]
3
2021-02-22T16:37:18.000Z
2021-02-22T18:56:28.000Z
from django.core import validators from django.db import models from ..app.models import App class WebhookURLField(models.URLField): default_validators = [ validators.URLValidator(schemes=["http", "https", "awssqs", "gcpubsub"]) ] class Webhook(models.Model): name = models.CharField(max_length=...
30.310345
83
0.726962
110
879
5.636364
0.463636
0.058065
0.058065
0.077419
0.141935
0.141935
0.141935
0.141935
0.141935
0
0
0.016238
0.159272
879
28
84
31.392857
0.822733
0
0
0
0
0
0.05347
0
0
0
0
0
0
1
0.05
false
0
0.15
0.05
0.8
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
0
1
0
0
1
7d7743cbf25b191b3d01f3d0a8e9535da701ebc7
163
py
Python
com/aptitute_tests/WolterKluwer.py
theeksha101/problem_solving
431c4ff224035bb98ad67ead963860329dd4c9ff
[ "MIT" ]
null
null
null
com/aptitute_tests/WolterKluwer.py
theeksha101/problem_solving
431c4ff224035bb98ad67ead963860329dd4c9ff
[ "MIT" ]
null
null
null
com/aptitute_tests/WolterKluwer.py
theeksha101/problem_solving
431c4ff224035bb98ad67ead963860329dd4c9ff
[ "MIT" ]
null
null
null
def foo(x): if x == 0: return 1 elif x % 2 == 0: return 2 * x * foo(x - 2) else: return (x -3) * x * foo(x + 1) print(foo(4))
16.3
38
0.398773
29
163
2.241379
0.448276
0.184615
0.153846
0
0
0
0
0
0
0
0
0.096774
0.429448
163
10
39
16.3
0.602151
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.5
0.125
1
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
0
0
0
0
1
7d778370fe2dc66d9e9928388d9a1e275f74f6bd
767
py
Python
config.py
PsychoBots/Kylie-Music
eb3d0619df5654955de38f5810be2ebb643ca66e
[ "Apache-2.0" ]
null
null
null
config.py
PsychoBots/Kylie-Music
eb3d0619df5654955de38f5810be2ebb643ca66e
[ "Apache-2.0" ]
null
null
null
config.py
PsychoBots/Kylie-Music
eb3d0619df5654955de38f5810be2ebb643ca66e
[ "Apache-2.0" ]
null
null
null
import os import re from youtube_dl import YoutubeDL class Config: APP_ID = int(os.environ.get("APP_ID", "")) API_HASH = os.environ.get("API_HASH", "") BOT_TOKEN = os.environ.get("BOT_TOKEN", "") START_MSG = os.environ.get("START_MSG", "<b>Hi {},\nI am Kylie Simple Youtube to Mp3 Downloader Bot\nI can ...
51.133333
277
0.698827
124
767
4.209677
0.612903
0.12069
0.16092
0.065134
0
0
0
0
0
0
0
0.001546
0.156454
767
14
278
54.785714
0.803709
0.110821
0
0
0
0.083333
0.469118
0.038235
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
0
1
0
0
1
7d7d26a73d9ef2606344ce1da86c9a13c479a719
21,736
py
Python
K3P/Plugin.py
tmbx/tbxsos-utils
5a77aecce3a30568c402442945b80d79c0534567
[ "BSD-3-Clause" ]
null
null
null
K3P/Plugin.py
tmbx/tbxsos-utils
5a77aecce3a30568c402442945b80d79c0534567
[ "BSD-3-Clause" ]
null
null
null
K3P/Plugin.py
tmbx/tbxsos-utils
5a77aecce3a30568c402442945b80d79c0534567
[ "BSD-3-Clause" ]
null
null
null
# High-level object to manipulate KMO. Keep in mind that this was # designed for quick and dirty testing of Teambox online services. # It could conceivable be used to make some sort of GUI in the future # but it's currently not its main goal. # # The following is currently implemented: # - Signature and encryption of ...
35.228525
99
0.58272
2,752
21,736
4.417151
0.172238
0.038829
0.033152
0.041461
0.269414
0.204755
0.163705
0.151448
0.132034
0.123231
0
0.004107
0.339069
21,736
616
100
35.285714
0.842058
0.146991
0
0.247283
0
0
0.053062
0.001343
0
0
0
0.00487
0
0
null
null
0.040761
0.008152
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
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7d7fd5cafc0b2118cf3d7e17b449a36d00ccad93
971
py
Python
link_shortener_isgd/link_shortener_isgd.py
rsumner33/pythonista-drafts-recipes
430f96af813a283c6fa848dfb6c1f07c4b3e08ee
[ "MIT" ]
23
2015-01-06T16:35:35.000Z
2022-03-19T23:15:35.000Z
link_shortener_isgd/link_shortener_isgd.py
rsumner33/pythonista-drafts-recipes
430f96af813a283c6fa848dfb6c1f07c4b3e08ee
[ "MIT" ]
1
2015-11-20T12:27:58.000Z
2019-03-07T03:32:03.000Z
link_shortener_isgd/link_shortener_isgd.py
rsumner33/pythonista-drafts-recipes
430f96af813a283c6fa848dfb6c1f07c4b3e08ee
[ "MIT" ]
3
2020-02-06T13:49:45.000Z
2022-01-26T06:52:40.000Z
import clipboard from console import alert from sys import argv, exit from urllib import urlopen import webbrowser def error_dialog(title, message): '''A diaolog box for error messages.''' try: alert(title, message) except KeyboardInterrupt: pass # Open Drafts again. webbrowser.open('drafts://') ...
29.424242
104
0.707518
134
971
4.962687
0.529851
0.049624
0.06015
0
0
0
0
0
0
0
0
0.008537
0.15551
971
33
105
29.424242
0.80122
0.072091
0
0.153846
0
0
0.183922
0
0
0
0
0
0
0
null
null
0.038462
0.192308
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
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7d81b0c6c93eb89dbd7f3b397bb9476a1a413bf4
4,230
py
Python
delegateto.py
dhilst/delegate
7c65c9406a54a741b3f5ab457bd0c93d75413a5b
[ "Apache-2.0" ]
3
2019-11-05T17:56:19.000Z
2021-06-03T07:05:25.000Z
delegateto.py
dhilst/delegate
7c65c9406a54a741b3f5ab457bd0c93d75413a5b
[ "Apache-2.0" ]
4
2020-01-17T20:15:28.000Z
2021-07-23T22:41:19.000Z
delegateto.py
dhilst/delegate
7c65c9406a54a741b3f5ab457bd0c93d75413a5b
[ "Apache-2.0" ]
1
2020-01-17T19:34:53.000Z
2020-01-17T19:34:53.000Z
def delegate(to, *methods): """ Class decorator to delegate methods to another objects. >>> @delegate('v', 'upper') ... @delegate('v', 'lower') ... @delegate('v', 'wrong_method') ... @delegate('not_an_attribute', 'wrong_attribute') ... class Foo: ... def __init__(self, v): ... ...
26.603774
86
0.542553
525
4,230
4.205714
0.27619
0.024909
0.039855
0.027174
0.175272
0.175272
0.08288
0.057065
0.054348
0.030797
0
0.008654
0.317021
4,230
158
87
26.772152
0.755625
0.641844
0
0.068966
0
0
0.060524
0
0
0
0
0
0
1
0.206897
false
0
0.034483
0
0.448276
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
0
0
0
1
7d823080244f3ecffd00b35cee7a8c6d6b984be7
25,522
py
Python
mlrun/api/api/endpoints/feature_store.py
zjzh/mlrun
2f367b29838222663b1a7c6deeacbe26156071b3
[ "Apache-2.0" ]
null
null
null
mlrun/api/api/endpoints/feature_store.py
zjzh/mlrun
2f367b29838222663b1a7c6deeacbe26156071b3
[ "Apache-2.0" ]
null
null
null
mlrun/api/api/endpoints/feature_store.py
zjzh/mlrun
2f367b29838222663b1a7c6deeacbe26156071b3
[ "Apache-2.0" ]
null
null
null
from http import HTTPStatus from typing import List, Optional from fastapi import APIRouter, Depends, Header, Query, Response from sqlalchemy.orm import Session import mlrun.api.crud import mlrun.api.utils.auth.verifier import mlrun.api.utils.singletons.project_member import mlrun.errors import mlrun.feature_store fr...
36.66954
120
0.708213
2,987
25,522
5.804821
0.080683
0.057212
0.057097
0.027453
0.766365
0.719476
0.694965
0.627429
0.577369
0.565142
0
0.001114
0.191208
25,522
695
121
36.722302
0.838872
0.025547
0
0.541864
0
0
0.055951
0.03777
0
0
0
0
0
1
0.030016
false
0
0.026856
0
0.085308
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7d835225156f3979067bbcc9c1a68ce0502d90c4
13,870
py
Python
pdf4me/Pdf4mePythonClientApi/pdf4me/model/text.py
pdf4me/pdf4me-clientapi-python
17a1c1baae861369084d658475be56be42ca92d0
[ "MIT" ]
1
2020-06-30T22:18:17.000Z
2020-06-30T22:18:17.000Z
pdf4me/Pdf4mePythonClientApi/pdf4me/model/text.py
pdf4me/pdf4me-clientapi-python
17a1c1baae861369084d658475be56be42ca92d0
[ "MIT" ]
null
null
null
pdf4me/Pdf4mePythonClientApi/pdf4me/model/text.py
pdf4me/pdf4me-clientapi-python
17a1c1baae861369084d658475be56be42ca92d0
[ "MIT" ]
1
2018-07-10T17:40:37.000Z
2018-07-10T17:40:37.000Z
# coding: utf-8 """ Pdf4me No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class...
26.022514
267
0.549459
1,689
13,870
4.380107
0.097099
0.051906
0.08651
0.090835
0.48067
0.379968
0.356448
0.254799
0.177345
0.101919
0
0.023181
0.349964
13,870
532
268
26.071429
0.79736
0.320981
0
0.090164
1
0
0.093661
0
0
0
0
0
0
1
0.155738
false
0
0.012295
0
0.270492
0.008197
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
0
0
0
0
0
1
7d87b4e07de17e2d5ac8c317f03512a88f643910
4,114
py
Python
pytype/pyi/modules.py
CyberFlameGO/pytype
c8cbeea997634455b5abcb27c76c58aa0dfc25ae
[ "Apache-2.0" ]
null
null
null
pytype/pyi/modules.py
CyberFlameGO/pytype
c8cbeea997634455b5abcb27c76c58aa0dfc25ae
[ "Apache-2.0" ]
null
null
null
pytype/pyi/modules.py
CyberFlameGO/pytype
c8cbeea997634455b5abcb27c76c58aa0dfc25ae
[ "Apache-2.0" ]
null
null
null
"""Handling of module and package related details.""" import dataclasses from typing import Any from pytype import file_utils from pytype import module_utils from pytype.pyi.types import ParseError # pylint: disable=g-importing-member from pytype.pytd import pytd from pytype.pytd import visitors from pytype.pytd.par...
37.063063
84
0.685464
562
4,114
4.793594
0.254448
0.047513
0.036748
0.041574
0.245731
0.180401
0.127691
0.127691
0.127691
0.127691
0
0.000622
0.219008
4,114
110
85
37.4
0.837846
0.243316
0
0.181818
0
0
0.067254
0
0
0
0
0
0.012987
1
0.077922
false
0
0.220779
0.012987
0.519481
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
0
1
0
0
1
7d8dc2e982cdf482b99208c34a0785cfa87a6867
500
py
Python
projects/urls.py
mazimpakar/Awwards
667e471870f7ab9a9b07c3fb9adba0fe7b119388
[ "MIT" ]
null
null
null
projects/urls.py
mazimpakar/Awwards
667e471870f7ab9a9b07c3fb9adba0fe7b119388
[ "MIT" ]
null
null
null
projects/urls.py
mazimpakar/Awwards
667e471870f7ab9a9b07c3fb9adba0fe7b119388
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns=[ url(r'^projects/(\d+)',views.projects,name ='projects'), url(r'^$',views.projects_today,name='projectsToday'), url(r'^search/', views.search_results, name='search_r...
31.25
81
0.732
69
500
5.202899
0.362319
0.044568
0.116992
0.100279
0
0
0
0
0
0
0
0
0.114
500
15
82
33.333333
0.810384
0
0
0
0
0
0.166
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
1
7da41e0277d62adcc5382108f1f7c2ecda182452
16,908
py
Python
intersight/models/pci_switch_all_of.py
sdnit-se/intersight-python
551f7685c0f76bb8af60ec83ffb6f9672d49a4ae
[ "Apache-2.0" ]
21
2018-03-29T14:20:35.000Z
2021-10-13T05:11:41.000Z
intersight/models/pci_switch_all_of.py
sdnit-se/intersight-python
551f7685c0f76bb8af60ec83ffb6f9672d49a4ae
[ "Apache-2.0" ]
14
2018-01-30T15:45:46.000Z
2022-02-23T14:23:21.000Z
intersight/models/pci_switch_all_of.py
sdnit-se/intersight-python
551f7685c0f76bb8af60ec83ffb6f9672d49a4ae
[ "Apache-2.0" ]
18
2018-01-03T15:09:56.000Z
2021-07-16T02:21:54.000Z
# coding: utf-8 """ Cisco Intersight Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen...
32.267176
1,052
0.616749
2,056
16,908
4.898346
0.116732
0.058783
0.119154
0.107239
0.557541
0.470758
0.429252
0.367292
0.269884
0.20137
0
0.020224
0.306896
16,908
523
1,053
32.328872
0.83915
0.445706
0
0.084071
0
0
0.072854
0.002904
0
0
0
0
0
1
0.159292
false
0
0.017699
0
0.287611
0.00885
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7da51ef892d521f554737c64bfc35f0a49a94119
9,376
py
Python
hyperion/instrument/correlator/hydraharp_instrument.py
caldarolamartin/hyperion
19d6d2041f5029cd33da86c095d76e19ce89fcac
[ "BSD-3-Clause" ]
1
2020-02-09T15:15:59.000Z
2020-02-09T15:15:59.000Z
hyperion/instrument/correlator/hydraharp_instrument.py
caldarolamartin/hyperion
19d6d2041f5029cd33da86c095d76e19ce89fcac
[ "BSD-3-Clause" ]
1
2020-02-14T10:26:50.000Z
2020-02-14T10:26:50.000Z
hyperion/instrument/correlator/hydraharp_instrument.py
caldarolamartin/hyperion
19d6d2041f5029cd33da86c095d76e19ce89fcac
[ "BSD-3-Clause" ]
1
2020-02-14T10:12:09.000Z
2020-02-14T10:12:09.000Z
""" ==================== Hydraharp Instrument ==================== This is the instrument level of the correlator Hydraharp400 from Picoquant """ from hyperion import logging import yaml #for the configuration file import os #for playing with files in operation system import time from hyperion i...
39.561181
144
0.640998
1,212
9,376
4.831683
0.224422
0.042691
0.035861
0.009221
0.224556
0.197234
0.177425
0.156933
0.127049
0.106216
0
0.006451
0.255973
9,376
236
145
39.728814
0.832999
0.354416
0
0.057143
0
0
0.13556
0.013395
0
0
0
0
0
1
0.104762
false
0.133333
0.07619
0
0.228571
0.038095
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
0
0
0
1
7dac0ef9e324166b407b5a89e2acb7c5df9d6524
550
py
Python
gsuite_activityevent_rules/gsuite_leaked_password.py
panther-labs/panther-cli
4e5c0a21570e1a02dada990fd91e324416afac96
[ "MIT" ]
4
2019-10-17T19:33:29.000Z
2019-10-21T15:23:30.000Z
gsuite_activityevent_rules/gsuite_leaked_password.py
jacknagz/panther-analysis
fceab78ba5624136776596ee1b25fa0dc8a02a42
[ "Apache-2.0" ]
null
null
null
gsuite_activityevent_rules/gsuite_leaked_password.py
jacknagz/panther-analysis
fceab78ba5624136776596ee1b25fa0dc8a02a42
[ "Apache-2.0" ]
null
null
null
from panther_base_helpers import deep_get PASSWORD_LEAKED_EVENTS = { "account_disabled_password_leak", } def rule(event): if deep_get(event, "id", "applicationName") != "login": return False if event.get("type") == "account_warning": return bool(event.get("name") in PASSWORD_LEAKED_EVENT...
25
73
0.681818
73
550
4.917808
0.561644
0.058496
0.111421
0
0
0
0
0
0
0
0
0
0.201818
550
21
74
26.190476
0.817768
0
0
0.133333
0
0
0.327273
0.094545
0
0
0
0
0
1
0.133333
false
0.266667
0.066667
0
0.466667
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
0
0
0
1
7dacc0042f8ba1a7e33b67b6281e4726e79a9109
1,161
py
Python
meiduo_mall/apps/meiduo_admin/views/sku.py
kura-Lee/meiduo-mall
8406eb49a41f8c8e726cca13231493b6422d427d
[ "MIT" ]
1
2022-01-30T13:09:19.000Z
2022-01-30T13:09:19.000Z
meiduo_mall/apps/meiduo_admin/views/sku.py
kura-Lee/meiduo-mall
8406eb49a41f8c8e726cca13231493b6422d427d
[ "MIT" ]
null
null
null
meiduo_mall/apps/meiduo_admin/views/sku.py
kura-Lee/meiduo-mall
8406eb49a41f8c8e726cca13231493b6422d427d
[ "MIT" ]
null
null
null
from rest_framework.generics import ListAPIView from rest_framework.viewsets import ModelViewSet from apps.goods.models import SKU, GoodsCategory, SPU, SPUSpecification from apps.meiduo_admin.serializers.sku import SKUSerializer, GoodsCategorySerializer, SPUListSerializer, \ SPUSpecSerializer from apps.meiduo_admi...
26.386364
106
0.747631
118
1,161
7.228814
0.457627
0.07034
0.039859
0.044549
0
0
0
0
0
0
0
0
0.16882
1,161
43
107
27
0.883938
0.022394
0
0.08
0
0
0.008057
0
0
0
0
0
0
1
0.08
false
0
0.2
0
0.84
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
0
1
0
0
1
7dae435293f08608d98cc7dacb66c40e65cc4d02
676
py
Python
oops_fhir/r4/value_set/flag_priority_codes.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/flag_priority_codes.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/flag_priority_codes.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
from pathlib import Path from fhir.resources.valueset import ValueSet as _ValueSet from oops_fhir.utils import ValueSet from oops_fhir.r4.code_system.flag_priority_codes import ( FlagPriorityCodes as FlagPriorityCodes_, ) __all__ = ["FlagPriorityCodes"] _resource = _ValueSet.parse_file(Path(__file__).with_su...
21.125
73
0.739645
88
676
5.443182
0.590909
0.075157
0.066806
0.083507
0
0
0
0
0
0
0
0.01259
0.177515
676
31
74
21.806452
0.848921
0.335799
0
0
0
0
0.050808
0
0
0
0
0
0
1
0
false
0
0.363636
0
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
0
0
0
1
0
0
0
0
1
7daf1880050cdf6b8ff06f531dccb4888269d800
114
py
Python
utilities/constants.py
amir-abdi/deep-batch
11b50f46b4540e86ddaf1f7c7c17250003352370
[ "MIT" ]
2
2017-12-01T07:38:57.000Z
2018-08-20T08:12:48.000Z
utilities/constants.py
amir-abdi/deep-batch
11b50f46b4540e86ddaf1f7c7c17250003352370
[ "MIT" ]
null
null
null
utilities/constants.py
amir-abdi/deep-batch
11b50f46b4540e86ddaf1f7c7c17250003352370
[ "MIT" ]
null
null
null
''' constants for the project ''' TRAIN_LOSS = 0 TRAIN_ACCURACY = 1 VAL_LOSS = 2 VAL_ACCURACY = 3
9.5
26
0.614035
16
114
4.125
0.75
0
0
0
0
0
0
0
0
0
0
0.05
0.298246
114
11
27
10.363636
0.775
0.219298
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
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
1
7dba909492c6d226bb20b8f5952ed63a98a39c01
295
py
Python
tests/cases/build/match5.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
null
null
null
tests/cases/build/match5.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
5
2022-02-12T19:53:08.000Z
2022-03-02T04:30:32.000Z
tests/cases/build/match5.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
null
null
null
from minpiler.std import Const, M, use_float class C(Const): x = 1 y = 2 a = use_float() match a: case C.x: M.print(10) case C.y: M.print(20) # > jump 3 strictEqual a 1 # > jump 5 strictEqual a 2 # > jump 0 always # > print 10 # > jump 0 always # > print 20
13.409091
44
0.566102
52
295
3.173077
0.5
0.09697
0.133333
0.193939
0
0
0
0
0
0
0
0.079602
0.318644
295
21
45
14.047619
0.741294
0.349153
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0.2
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
0
0
0
0
0
0
0
1
7dbbe2cf4fe5c1336bb1cfd4f69a01e92ce1a611
306
py
Python
QuadrupedalRobots/ETGRL/rlschool/quadrupedal/test.py
zhangzhen886/PaddleRobotics
c5073f9cb49efcb6fb98a01b3802f02124d0fe88
[ "Apache-2.0" ]
1
2022-01-16T01:21:36.000Z
2022-01-16T01:21:36.000Z
QuadrupedalRobots/ETGRL/rlschool/quadrupedal/test.py
zhangzhen886/PaddleRobotics
c5073f9cb49efcb6fb98a01b3802f02124d0fe88
[ "Apache-2.0" ]
null
null
null
QuadrupedalRobots/ETGRL/rlschool/quadrupedal/test.py
zhangzhen886/PaddleRobotics
c5073f9cb49efcb6fb98a01b3802f02124d0fe88
[ "Apache-2.0" ]
null
null
null
# We show a simple example to start Quadrupedal here from rlschool import make_env import numpy as np env = make_env('Quadrupedal',render=1,task="stairstair") observation = env.reset() for i in range(100): action = np.random.uniform(-0.3,0.3,size=12) next_obs, reward, done, info = env.step(action)
38.25
56
0.735294
52
306
4.269231
0.788462
0.063063
0
0
0
0
0
0
0
0
0
0.038168
0.143791
306
8
57
38.25
0.80916
0.163399
0
0
0
0
0.082353
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
0
0
0
1
7dc456c37dc23c901c8d70fe5c9ad2c5800267e5
1,906
py
Python
bot/core/config.py
rmenai-blueprints/pycord
52a80c664534c4e026c906d19f69aee22f9ecf1b
[ "MIT" ]
null
null
null
bot/core/config.py
rmenai-blueprints/pycord
52a80c664534c4e026c906d19f69aee22f9ecf1b
[ "MIT" ]
7
2022-02-28T19:11:25.000Z
2022-03-25T13:37:59.000Z
bot/core/config.py
rmenai-blueprints/pycord
52a80c664534c4e026c906d19f69aee22f9ecf1b
[ "MIT" ]
null
null
null
import re from pydantic import BaseSettings, validator class Channels(BaseSettings): """Channel ids.""" devlog: int = 0 @validator("devlog") def check_ids_format(cls, v: list[int]) -> list[int]: """Validate discord ids format.""" if not v: return v assert len(st...
22.162791
98
0.58447
224
1,906
4.866071
0.308036
0.038532
0.051376
0.080734
0.40367
0.40367
0.40367
0.40367
0.40367
0.40367
0
0.010167
0.277545
1,906
85
99
22.423529
0.781409
0.160546
0
0.311111
0
0
0.150907
0
0
0
0
0
0.066667
1
0.066667
false
0
0.044444
0
0.622222
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
0
1
0
0
1
7dc689b49e398c1f984b610f4248e32c2c64bb68
1,883
py
Python
shared/modules/xccdf2csv_stig_module.py
gregelin/scap-security-guide
80370f88b7a6eff636b3a2ea9d3b296c6153a535
[ "Unlicense" ]
1
2016-01-06T15:42:52.000Z
2016-01-06T15:42:52.000Z
shared/modules/xccdf2csv_stig_module.py
gregelin/scap-security-guide
80370f88b7a6eff636b3a2ea9d3b296c6153a535
[ "Unlicense" ]
null
null
null
shared/modules/xccdf2csv_stig_module.py
gregelin/scap-security-guide
80370f88b7a6eff636b3a2ea9d3b296c6153a535
[ "Unlicense" ]
null
null
null
#!/usr/bin/python import sys import csv import lxml.etree as ET # This script creates a CSV file from an XCCDF file formatted in the # structure of a STIG. This should enable its ingestion into VMS, # as well as its comparison with VMS output. xccdf_ns = "http://checklists.nist.gov/xccdf/1.1" disa_cciuri = "http://...
31.915254
92
0.623473
261
1,883
4.348659
0.413793
0.049339
0.035242
0.037004
0.180617
0.145374
0.095154
0.095154
0.095154
0.095154
0
0.004184
0.238449
1,883
58
93
32.465517
0.787308
0.101434
0
0
0
0
0.184834
0.027251
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.025641
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
0
0
0
0
0
1
7dcae205345b88454720a3b33dac4a1cd62f035c
4,318
py
Python
tsteembase/storage.py
ksantoprotein/thallid-steem
5eac9567eff6e180a476535a89ad7207e2a465fe
[ "MIT" ]
null
null
null
tsteembase/storage.py
ksantoprotein/thallid-steem
5eac9567eff6e180a476535a89ad7207e2a465fe
[ "MIT" ]
null
null
null
tsteembase/storage.py
ksantoprotein/thallid-steem
5eac9567eff6e180a476535a89ad7207e2a465fe
[ "MIT" ]
1
2021-09-30T13:07:02.000Z
2021-09-30T13:07:02.000Z
# -*- coding: utf-8 -*- # https://steem.esteem.ws/ + Interactive Steem API # https://www.steem.center/index.php?title=Public_Websocket_Servers + Public Websocket Servers # https://geo.steem.pl/ + Steem API nodes ordered from the nearest to farthest # https://developers.steem.io/apidefinitions...
30.842857
120
0.560213
545
4,318
4.26422
0.544954
0.024096
0.025818
0.028399
0.129948
0.098967
0.068847
0.068847
0.068847
0.068847
0
0.05313
0.193608
4,318
140
121
30.842857
0.614015
0.2478
0
0
0
0
0.462589
0.171996
0
0
0
0
0
0
null
null
0
0
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
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7dcff4f2cfeb541760e39920f4e772f7586fd894
6,463
py
Python
trendingtweeps/tweeps/views.py
CuriousLearner/AngelHackDelhi2016
58813d2302e17462ba868cf5c33b5c4cb3548143
[ "MIT" ]
1
2017-02-04T09:43:51.000Z
2017-02-04T09:43:51.000Z
trendingtweeps/tweeps/views.py
CuriousLearner/AngelHackDelhi2016
58813d2302e17462ba868cf5c33b5c4cb3548143
[ "MIT" ]
null
null
null
trendingtweeps/tweeps/views.py
CuriousLearner/AngelHackDelhi2016
58813d2302e17462ba868cf5c33b5c4cb3548143
[ "MIT" ]
null
null
null
from django.shortcuts import render, HttpResponse from django.http import JsonResponse import tweepy from .models import TwitterUser from os import environ config = { 'consumer_key': environ['consumer_key'], 'consumer_secret': environ['consumer_secret'], 'access_key': environ['access_key'], 'access_sec...
36.721591
148
0.633916
749
6,463
5.178905
0.189586
0.039185
0.033514
0.021913
0.439804
0.350606
0.252127
0.198505
0.156741
0.156741
0
0.01592
0.271082
6,463
175
149
36.931429
0.807472
0.006034
0
0.276316
0
0
0.119608
0
0
0
0
0
0
0
null
null
0.006579
0.032895
null
null
0.013158
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
0
0
0
0
0
1
7dd08b7d94b1d6daac00de8148ba2b5b205a993e
389
py
Python
setup.py
OkothPius/CRS
75111b82203adbdc3f50b1127b6db12bf3428f97
[ "MIT" ]
null
null
null
setup.py
OkothPius/CRS
75111b82203adbdc3f50b1127b6db12bf3428f97
[ "MIT" ]
1
2021-11-18T20:05:04.000Z
2021-11-18T20:05:04.000Z
setup.py
OkothPius/CRS
75111b82203adbdc3f50b1127b6db12bf3428f97
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name="django_crime", description="An application used to report crime in Mandera county" "for Django.", version='3.2.5', url="https://orukopius", author="Oruko Pius", author_email="test@user.com", license="MIT", ...
22.882353
71
0.66581
50
389
5.08
0.82
0.094488
0
0
0
0
0
0
0
0
0
0.015723
0.182519
389
16
72
24.3125
0.783019
0.053985
0
0
0
0
0.362398
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
0
0
0
0
0
1
7dd25b1521d6df8aaea2dcc399017f93f3890fd5
379
py
Python
gen_audio_files.py
whiteTyger/NEUR325
04dc5980e9a2deb7bfebb4f7989ca7f99262446e
[ "MIT" ]
1
2018-07-31T20:49:43.000Z
2018-07-31T20:49:43.000Z
gen_audio_files.py
whiteTyger/NEUR325_experiment
04dc5980e9a2deb7bfebb4f7989ca7f99262446e
[ "MIT" ]
null
null
null
gen_audio_files.py
whiteTyger/NEUR325_experiment
04dc5980e9a2deb7bfebb4f7989ca7f99262446e
[ "MIT" ]
null
null
null
#google text to speech module create audio files from list import os import codecs from gtts import gTTS read_list = [] f = open('list.txt','r') for line in f: read_list.append(line.rstrip()) for w in read_list: print "saving %s..."%w tts = gTTS(text=w,lang='en') filename = w+'.ogg' tts.save(os.path.join('aud...
18.047619
58
0.701847
65
379
4.030769
0.584615
0.114504
0
0
0
0
0
0
0
0
0
0
0.158311
379
20
59
18.95
0.821317
0.150396
0
0
0
0
0.203762
0
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.153846
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
0
0
0
0
0
1
7dd5115566d6f64d4a9c78c3136b87680e9bc6aa
1,378
py
Python
api/mythic.py
DiegoLing33/prestij.xyz-api
69a11a2c93dd98975f9becbc4b8f596e4941a05f
[ "MIT" ]
null
null
null
api/mythic.py
DiegoLing33/prestij.xyz-api
69a11a2c93dd98975f9becbc4b8f596e4941a05f
[ "MIT" ]
null
null
null
api/mythic.py
DiegoLing33/prestij.xyz-api
69a11a2c93dd98975f9becbc4b8f596e4941a05f
[ "MIT" ]
null
null
null
# ██╗░░░░░██╗███╗░░██╗░██████╗░░░░██████╗░██╗░░░░░░█████╗░░█████╗░██╗░░██╗ # ██║░░░░░██║████╗░██║██╔════╝░░░░██╔══██╗██║░░░░░██╔══██╗██╔══██╗██║░██╔╝ # ██║░░░░░██║██╔██╗██║██║░░██╗░░░░██████╦╝██║░░░░░███████║██║░░╚═╝█████═╝░ # ██║░░░░░██║██║╚████║██║░░╚██╗░░░██╔══██╗██║░░░░░██╔══██║██║░░██╗██╔═██╗░ # ███████╗██║██...
34.45
141
0.508708
119
1,378
9.470588
0.546218
0.026619
0.039042
0
0
0
0
0
0
0
0
0.006574
0.116836
1,378
39
142
35.333333
0.563681
0.375907
0
0.1
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.35
0.1
0.9
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
0
0
0
1
7dd93f7ddb58d37fe64d2f4cac73c30346895d99
1,077
py
Python
_project/pullup/models/zaznam.py
SucheG/cayman-pullup.cz
a03bb58d5ff3ef3dba431bd4e900e6b3649c48f8
[ "CC0-1.0" ]
null
null
null
_project/pullup/models/zaznam.py
SucheG/cayman-pullup.cz
a03bb58d5ff3ef3dba431bd4e900e6b3649c48f8
[ "CC0-1.0" ]
null
null
null
_project/pullup/models/zaznam.py
SucheG/cayman-pullup.cz
a03bb58d5ff3ef3dba431bd4e900e6b3649c48f8
[ "CC0-1.0" ]
1
2018-10-08T16:56:40.000Z
2018-10-08T16:56:40.000Z
from django.db import models from django.utils.text import slugify from .media import PouzitiMedia class Zaznam(models.Model): nazev = models.CharField(max_length=100) # vyřešit slug slug = models.SlugField(max_length=100, unique=True) popis = models.CharField(max_length=500, blank=True) active = models.Boo...
27.615385
82
0.712163
143
1,077
5.20979
0.552448
0.036242
0.048322
0.06443
0.075168
0
0
0
0
0
0
0.012346
0.172702
1,077
38
83
28.342105
0.823793
0.114206
0
0
0
0
0.0074
0
0
0
0
0
0
1
0.148148
false
0
0.111111
0.037037
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
0
0
1
0
0
1
7dda4fdf4860b085d87fd5e0dead217caa7f1797
6,671
py
Python
python/circle_test.py
LukeMcCulloch/Grids
7dbdb65f2819293c95f025239219043bc65107f1
[ "MIT" ]
null
null
null
python/circle_test.py
LukeMcCulloch/Grids
7dbdb65f2819293c95f025239219043bc65107f1
[ "MIT" ]
null
null
null
python/circle_test.py
LukeMcCulloch/Grids
7dbdb65f2819293c95f025239219043bc65107f1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Jul 24 23:22:04 2015 @author: lukemcculloch """ import numpy as np def ccw(A, B, C): """Tests whether the turn formed by A, B, and C is ccw""" return (B[0] - A[0]) * (C[1] - A[1]) > (B[1] - A[1]) * (C[0] - A[0]) def My_circle_test(p1,p2,p3,p4): ...
28.029412
92
0.46155
1,028
6,671
2.981518
0.220817
0.008483
0.021533
0.021207
0.110604
0.063948
0.05677
0.048287
0.032626
0.032626
0
0.102546
0.358267
6,671
238
93
28.029412
0.613408
0.209264
0
0.157407
0
0
0.002014
0
0
0
0
0
0
0
null
null
0
0.009259
null
null
0.009259
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
0
0
0
0
0
1
7de61128e5a6cd08de6ffe2cabf2ea31b43176bb
2,010
py
Python
Round 2/the-gardener-of-seville.py
kamyu104/GoogleCodeJame-2016
5222eeb34e7762a92e6d42a985e1fc6fc0dd151d
[ "MIT" ]
19
2016-04-10T13:55:50.000Z
2020-05-16T07:10:05.000Z
Round 2/the-gardener-of-seville.py
kamyu104/GoogleCodeJame-2016
5222eeb34e7762a92e6d42a985e1fc6fc0dd151d
[ "MIT" ]
null
null
null
Round 2/the-gardener-of-seville.py
kamyu104/GoogleCodeJame-2016
5222eeb34e7762a92e6d42a985e1fc6fc0dd151d
[ "MIT" ]
19
2016-04-12T10:04:03.000Z
2021-07-22T22:38:13.000Z
# Copyright (c) 2016 kamyu. All rights reserved. # # Google Code Jam 2016 Round 2 - Problem C. The Gardener of Seville # https://code.google.com/codejam/contest/10224486/dashboard#s=p2 # # Time: O((R + C)log(R + C) + R * C) # Space: O(R * C) # DOWN, LEFT, UP, RIGHT = 0, 1, 2, 3 directions = {DOWN:(1, 0), LEFT:(0, -1)...
38.653846
90
0.545771
330
2,010
3.29697
0.309091
0.025735
0.011029
0.055147
0.139706
0.139706
0.080882
0.080882
0.080882
0.080882
0
0.031208
0.266667
2,010
51
91
39.411765
0.70692
0.229851
0
0.117647
0
0
0.020942
0
0
0
0
0
0
0
null
null
0
0
null
null
0.029412
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
0
0
0
0
0
1
7de652616a0196826d8769cd5995bdb48436f9e1
5,695
py
Python
Chronic_Kidney_Disease..py
sudipg4112001/Chronic_kidney_Disease
0c8279b15c7f33a317e3aad6ea064d918192137b
[ "Apache-2.0" ]
null
null
null
Chronic_Kidney_Disease..py
sudipg4112001/Chronic_kidney_Disease
0c8279b15c7f33a317e3aad6ea064d918192137b
[ "Apache-2.0" ]
null
null
null
Chronic_Kidney_Disease..py
sudipg4112001/Chronic_kidney_Disease
0c8279b15c7f33a317e3aad6ea064d918192137b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Untitled10.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/17rmrqLl4ZshmobIdJqszj4V3FqqMRHHh **Chronic Kidney Diesease Analysis** **Dataset: https://www.kaggle.com/mansoordaku/ckdisease** """ # Commented out IPython...
31.291209
116
0.69324
856
5,695
4.466122
0.318925
0.017264
0.029296
0.018833
0.197227
0.137327
0.129479
0.129479
0.093905
0.086843
0
0.015828
0.123617
5,695
182
117
31.291209
0.75015
0.063916
0
0.107438
1
0
0.132577
0.00528
0
0
0
0
0
1
0.016529
false
0
0.132231
0
0.157025
0.041322
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
0
0
0
0
0
1
7de71573f5b6797f6e2975d5cc1d03d47d6ae7c1
2,034
py
Python
3.7.0/lldb-3.7.0.src/test/functionalities/disassembly/TestDisassembleBreakpoint.py
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
3
2016-02-10T14:18:40.000Z
2018-02-05T03:15:56.000Z
3.7.0/lldb-3.7.0.src/test/functionalities/disassembly/TestDisassembleBreakpoint.py
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
1
2016-02-10T15:40:03.000Z
2016-02-10T15:40:03.000Z
3.7.0/lldb-3.7.0.src/test/functionalities/disassembly/TestDisassembleBreakpoint.py
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
null
null
null
""" Test some lldb command abbreviations. """ import os, time import unittest2 import lldb from lldbtest import * import lldbutil class DisassemblyTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) @skipUnlessDarwin @dsym_test def test_with_dsym (self): self.buildDsym () se...
31.78125
123
0.622911
226
2,034
5.438053
0.539823
0.051261
0.017901
0.02441
0
0
0
0
0
0
0
0.011288
0.259587
2,034
63
124
32.285714
0.804781
0.111603
0
0.047619
0
0
0.11532
0
0
0
0
0.015873
0.02381
1
0.071429
false
0
0.142857
0
0.261905
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
0
0
0
1
7deb5fbe8338b05ea1691abd8f532ddebebb9da6
3,192
py
Python
tests/test_cif_io.py
dkratzert/FinalCif
07ca23dbb4e7439b108a906521a118cdb876d97e
[ "Beerware" ]
13
2020-01-14T16:23:48.000Z
2022-02-16T18:02:08.000Z
tests/test_cif_io.py
dkratzert/FinalCif
07ca23dbb4e7439b108a906521a118cdb876d97e
[ "Beerware" ]
24
2021-04-21T05:30:42.000Z
2022-03-31T20:07:29.000Z
tests/test_cif_io.py
dkratzert/FinalCif
07ca23dbb4e7439b108a906521a118cdb876d97e
[ "Beerware" ]
1
2021-08-09T16:48:33.000Z
2021-08-09T16:48:33.000Z
import unittest from pathlib import Path from cif.cif_file_io import CifContainer from tests.test_utils import current_file_path class CifFileCRCTestCase(unittest.TestCase): def setUp(self) -> None: current_file_path() self.cif = CifContainer(Path('tests/examples/1979688.cif')) def test_calc...
35.865169
113
0.684524
454
3,192
4.599119
0.22467
0.083812
0.145594
0.052682
0.525862
0.49569
0.408525
0.359674
0.342433
0.246169
0
0.057867
0.171679
3,192
88
114
36.272727
0.731846
0
0
0.177419
0
0
0.120927
0.068296
0
0
0
0
0.387097
1
0.322581
false
0
0.064516
0
0.435484
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
0
0
0
1
7df0e87bf132ca6afd6e860fc08601ae9c0eae82
2,983
py
Python
src/clm/views/admin_cm/user.py
cc1-cloud/cc1
8113673fa13b6fe195cea99dedab9616aeca3ae8
[ "Apache-2.0" ]
11
2015-05-06T14:16:54.000Z
2022-02-08T23:21:31.000Z
src/clm/views/admin_cm/user.py
fortress-shell/cc1
8113673fa13b6fe195cea99dedab9616aeca3ae8
[ "Apache-2.0" ]
1
2015-10-30T21:08:11.000Z
2015-10-30T21:08:11.000Z
src/clm/views/admin_cm/user.py
fortress-shell/cc1
8113673fa13b6fe195cea99dedab9616aeca3ae8
[ "Apache-2.0" ]
5
2016-02-12T22:01:38.000Z
2021-12-06T16:56:54.000Z
# -*- coding: utf-8 -*- # @COPYRIGHT_begin # # Copyright [2010-2014] Institute of Nuclear Physics PAN, Krakow, Poland # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apac...
26.633929
103
0.697955
448
2,983
4.455357
0.339286
0.052605
0.03507
0.039078
0.313126
0.232966
0.200401
0.166834
0.138277
0.138277
0
0.005359
0.186725
2,983
111
104
26.873874
0.817395
0.509554
0
0.324324
0
0
0.037152
0.017802
0
0
0
0
0
1
0.162162
false
0.081081
0.108108
0
0.432432
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
0
0
0
1
815169e5bfa5a3428b1a260c2eb50ce083e9d04b
2,678
py
Python
python/xml_count_attrib.py
Hamng/python-sources
0cc5a5d9e576440d95f496edcfd921ae37fcd05a
[ "Unlicense" ]
null
null
null
python/xml_count_attrib.py
Hamng/python-sources
0cc5a5d9e576440d95f496edcfd921ae37fcd05a
[ "Unlicense" ]
1
2019-02-23T18:30:51.000Z
2019-02-23T18:30:51.000Z
python/xml_count_attrib.py
Hamng/python-sources
0cc5a5d9e576440d95f496edcfd921ae37fcd05a
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Mar 12 15:26:30 2019 @author: Ham HackerRanch Challenge: XML 1 - Find the Score You are given a valid XML document, and you have to print its score. The score is calculated by the sum of the score of each element. For any element, the score is equal to the number ...
29.428571
95
0.677371
404
2,678
4.438119
0.398515
0.031233
0.018405
0.035137
0.278862
0.239822
0.204127
0.204127
0.204127
0.176241
0
0.023005
0.20463
2,678
90
96
29.755556
0.818779
0.602689
0
0.384615
0
0
0.622153
0.173913
0
0
0
0
0
1
0.038462
false
0
0.038462
0
0.115385
0.038462
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
0
0
0
0
0
0
0
0
0
0
0
1
815283b4bd70c411627b997fc319c6218b282a5f
3,375
py
Python
notification/models.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
67
2022-01-05T18:59:23.000Z
2022-03-18T13:13:39.000Z
notification/models.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
3
2022-01-10T10:03:23.000Z
2022-03-11T16:58:38.000Z
notification/models.py
ChristopherOloo/KilimoQAPortal
c905a42282bbce70b5477862185ad332185307ce
[ "MIT" ]
4
2022-01-08T17:39:19.000Z
2022-02-28T07:40:16.000Z
from django.db import models from django.contrib.auth.models import User from qa.models import Question,Answer TYPE_OF_NOTI = [ ('comment_answer','comment_answer'), ('question_comment','question_comment'), ('community_message','community_message'), ('question_edit', 'question_edit'), ('question_reopen_voted','Qu...
41.666667
107
0.761778
454
3,375
5.370044
0.204846
0.016407
0.040197
0.060295
0.604594
0.593929
0.554143
0.508614
0.508614
0.508614
0
0.004268
0.097481
3,375
80
108
42.1875
0.796126
0.279407
0
0.086957
0
0.021739
0.261104
0.03736
0
0
0
0
0
1
0.043478
false
0
0.065217
0.043478
0.586957
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
0
1
0
0
1
81582010dc4cc00a47b70af504c3e4fbbb3ccfa4
494
py
Python
oso_auth.py
osohq/oso-azure-ad-example
11aa2c113b7802b3136575e9900420511089834d
[ "MIT" ]
null
null
null
oso_auth.py
osohq/oso-azure-ad-example
11aa2c113b7802b3136575e9900420511089834d
[ "MIT" ]
null
null
null
oso_auth.py
osohq/oso-azure-ad-example
11aa2c113b7802b3136575e9900420511089834d
[ "MIT" ]
1
2021-12-28T16:08:17.000Z
2021-12-28T16:08:17.000Z
from oso import Oso from flask_oso import FlaskOso from document import Document import user from user import User def init_oso(app): """ set up the `Oso` and `FlaskOso` objects, and add them to the global `app` instance.""" oso = Oso() oso.register_class(Document) oso.register_class(User) oso.lo...
24.7
94
0.718623
77
494
4.441558
0.376623
0.116959
0.093567
0
0
0
0
0
0
0
0
0
0.188259
494
20
95
24.7
0.852868
0.168016
0
0
0
0
0.046914
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.428571
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
0
0
0
1
815d28ac7f6621d714b4e76e0fc692e9103fcdf8
938
py
Python
core/standards/encodings/mappings/data_convert.py
gsnedders/presto-testo
a0acfbef13a3f8cae67cc7145216d31b67aa8eb4
[ "BSD-3-Clause" ]
null
null
null
core/standards/encodings/mappings/data_convert.py
gsnedders/presto-testo
a0acfbef13a3f8cae67cc7145216d31b67aa8eb4
[ "BSD-3-Clause" ]
null
null
null
core/standards/encodings/mappings/data_convert.py
gsnedders/presto-testo
a0acfbef13a3f8cae67cc7145216d31b67aa8eb4
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # Parse the output of http://dump.testsuite.org/encoding/single-octet-test.html from collections import defaultdict def get_data(): f = open("data.txt", "r") charcodes = defaultdict(list) expecteds = defaultdict(list) charsets = set() charset = None for line in f: if...
27.588235
79
0.5629
104
938
5.067308
0.605769
0.056926
0
0
0
0
0
0
0
0
0
0.00625
0.317697
938
33
80
28.424242
0.817188
0.122601
0
0.08
0
0
0.028049
0
0
0
0
0
0
0
null
null
0
0.04
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
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8162d2effb079a287dca9505d85817131a4f1af4
17,518
py
Python
role_discovery.py
killvxk/vmware_guest_auth_bypass
fbf7ab466eb29d99837d4f49013e7e89280ce7cc
[ "Apache-2.0" ]
36
2017-12-06T13:31:54.000Z
2021-07-13T01:56:40.000Z
role_discovery.py
mikemathwig/vmware_guest_auth_bypass
fbf7ab466eb29d99837d4f49013e7e89280ce7cc
[ "Apache-2.0" ]
null
null
null
role_discovery.py
mikemathwig/vmware_guest_auth_bypass
fbf7ab466eb29d99837d4f49013e7e89280ce7cc
[ "Apache-2.0" ]
17
2017-08-08T11:42:04.000Z
2021-06-18T12:27:11.000Z
import argparse import getpass import pickle from collections import defaultdict, namedtuple from prettytable import PrettyTable from pyVmomi import vim, SoapAdapter from vsphere_client import VSphereClient BUILTIN_ROLES = ['NoAccess', 'Anonymous', 'View', 'ReadOnly', 'Admin', 'VirtualMachinePowerUs...
40.550926
120
0.616965
2,071
17,518
4.93916
0.129406
0.021507
0.03754
0.009678
0.265226
0.195523
0.135693
0.102747
0.078307
0.033728
0
0.002079
0.286163
17,518
431
121
40.645012
0.815914
0.011131
0
0.113043
0
0
0.10764
0.025178
0
0
0
0
0
0
null
null
0.023188
0.02029
null
null
0.104348
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
0
0
0
0
0
1
8167fdf8e6975cf3283117bf76180aa9b4f9a2be
498
py
Python
molecule/default/tests/test_default.py
GeekOops/geekoops-next
2b77a1cfa754826b0670160c8a7fab55e379fa40
[ "MIT" ]
null
null
null
molecule/default/tests/test_default.py
GeekOops/geekoops-next
2b77a1cfa754826b0670160c8a7fab55e379fa40
[ "MIT" ]
null
null
null
molecule/default/tests/test_default.py
GeekOops/geekoops-next
2b77a1cfa754826b0670160c8a7fab55e379fa40
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- import testinfra.utils.ansible_runner import os testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') def test_pxe(host): # TODO: Extend the test coverage. tftpboot = "/srv/tftpboot" cmd = host.run("curl ...
27.666667
118
0.732932
76
498
4.710526
0.618421
0.100559
0.117318
0.150838
0
0
0
0
0
0
0
0.026966
0.106426
498
17
119
29.294118
0.777528
0.14257
0
0.2
0
0.1
0.319149
0.167849
0
0
0
0.058824
0.2
1
0.1
false
0
0.2
0
0.3
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
816a5162689c6b06f1e9cf3765f310328ebcd0d8
2,457
py
Python
observations/r/voteincome.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/voteincome.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/voteincome.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def voteincome(path): """Sample Turnout and Demographic Data from the 200...
30.333333
79
0.688238
341
2,457
4.876833
0.478006
0.032471
0.054119
0.039687
0.205652
0.097414
0.097414
0.061335
0.061335
0.061335
0
0.022281
0.232804
2,457
80
80
30.7125
0.859947
0.642654
0
0
0
0
0.10566
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.5
0.045455
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
0
0
0
1
816b85075dd9617817b1768d0bb3dfaf9e62b9f9
458
py
Python
Python/tests/conftest.py
nfgallimore/microsoft-bonsai-api
f26702839cb4165992bcd2a3058a73d849962842
[ "MIT" ]
18
2020-09-22T08:57:24.000Z
2021-12-10T00:00:08.000Z
Python/tests/conftest.py
dbbevan/microsoft-bonsai-api
ecbab2c575450010339c07241db992ccc1629f66
[ "MIT" ]
40
2020-09-01T00:53:29.000Z
2022-03-12T00:58:49.000Z
Python/tests/conftest.py
dbbevan/microsoft-bonsai-api
ecbab2c575450010339c07241db992ccc1629f66
[ "MIT" ]
30
2020-07-31T10:51:43.000Z
2022-03-17T09:59:31.000Z
""" Test fixtures Copyright 2020 Microsoft """ import time from multiprocessing import Process import pytest from _pytest.fixtures import FixtureRequest from .web_server import start_app @pytest.fixture(scope="session", autouse=True) def start_server_process(request: FixtureRequest): proc = Process(target=sta...
16.962963
50
0.733624
56
458
5.892857
0.553571
0.048485
0
0
0
0
0
0
0
0
0
0.013228
0.174672
458
26
51
17.615385
0.859788
0.082969
0
0
0
0
0.01699
0
0
0
0
0
0
1
0.142857
false
0
0.357143
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
0
0
1
0
0
0
0
1
816c103983655f7b3d3c6c509b1bbfee9fe8a80a
3,951
py
Python
aws_interface/cloud/notification/send_email2.py
hubaimaster/aws-interface
162dd056546d58b6eb29afcae1c3c2d78e4309b2
[ "Apache-2.0" ]
53
2018-10-02T05:58:54.000Z
2020-09-15T08:58:26.000Z
aws_interface/cloud/notification/send_email2.py
hubaimaster/aws-interface
162dd056546d58b6eb29afcae1c3c2d78e4309b2
[ "Apache-2.0" ]
52
2018-09-26T05:16:09.000Z
2022-03-11T23:51:14.000Z
aws_interface/cloud/notification/send_email2.py
hubaimaster/aws-interface
162dd056546d58b6eb29afcae1c3c2d78e4309b2
[ "Apache-2.0" ]
10
2019-03-11T16:35:14.000Z
2019-10-23T08:03:54.000Z
from cloud.permission import Permission, NeedPermission from concurrent.futures import ThreadPoolExecutor import cloud.libs.emails as emails import time # Define the input output format of the function. # This information is used when creating the *SDK*. info = { 'input_format': { 'email_from': 'str', ...
32.385246
118
0.601367
479
3,951
4.705637
0.22547
0.07764
0.068323
0.075865
0.375776
0.345164
0.289264
0.289264
0.289264
0.289264
0
0.008475
0.283219
3,951
121
119
32.652893
0.787429
0.024551
0
0.09
0
0
0.114545
0.015065
0
0
0
0
0
1
0.05
false
0.1
0.04
0
0.15
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
0
0
0
1
8171fcc6231f9753f8e83c46e983e3a5a1ab6ada
580
py
Python
mysite/wsgi.py
andreztz/mysite
e0fc3d15be4f310c72ae75a50f53b103c77f43fc
[ "MIT" ]
null
null
null
mysite/wsgi.py
andreztz/mysite
e0fc3d15be4f310c72ae75a50f53b103c77f43fc
[ "MIT" ]
null
null
null
mysite/wsgi.py
andreztz/mysite
e0fc3d15be4f310c72ae75a50f53b103c77f43fc
[ "MIT" ]
null
null
null
""" WSGI config for mysite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os import sys from django.core.wsgi import get_wsgi_application from django.contrib.staticf...
25.217391
78
0.782759
82
580
5.463415
0.621951
0.044643
0.080357
0
0
0
0
0
0
0
0
0.005814
0.110345
580
22
79
26.363636
0.862403
0.365517
0
0
0
0
0.125
0.061111
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
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
0
0
0
1
8174951f3501817bf6e902065b4f2063c1270fb6
396
py
Python
example/example/develop_settings.py
mdavino/spid-django
5e27af898a7a7ff1d4edb54113cb434c04c582dd
[ "Apache-2.0" ]
37
2017-10-01T14:55:51.000Z
2022-02-14T20:54:39.000Z
example/example/develop_settings.py
mdavino/spid-django
5e27af898a7a7ff1d4edb54113cb434c04c582dd
[ "Apache-2.0" ]
51
2017-09-21T13:19:21.000Z
2022-03-23T11:30:40.000Z
example/example/develop_settings.py
mdavino/spid-django
5e27af898a7a7ff1d4edb54113cb434c04c582dd
[ "Apache-2.0" ]
21
2017-10-01T15:02:14.000Z
2021-09-15T13:07:51.000Z
# # Settings file for running the demo projects with Django's development server. # # noinspection PyUnresolvedReferences from .settings import * SESSION_COOKIE_SECURE = False # Allows the sent of session cookie on http CSRF_COOKIE_SECURE = False # Allows the sent of csrf cookie on http SPID_BASE_URL = None ...
39.6
101
0.765152
56
396
5.267857
0.660714
0.088136
0.115254
0.155932
0.216949
0.216949
0.216949
0
0
0
0
0
0.184343
396
9
102
44
0.913313
0.664141
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
1
8175fc13853f890f60c505196876a70f80e2f864
761
py
Python
generators_comprehension/list_comphresension/challenge2.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
generators_comprehension/list_comphresension/challenge2.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
generators_comprehension/list_comphresension/challenge2.py
kumarvgit/python3
318c5e7503fafc9c60082fa123e2930bd82a4ec9
[ "MIT" ]
null
null
null
# In case it's not obvious, a list comprehension produces a list, but # it doesn't have to be given a list to iterate over. # # You can use a list comprehension with any iterable type, so we'll # write a comprehension to convert dimensions from inches to centimetres. # # Our dimensions will be represented by a tuple, f...
34.590909
93
0.751643
134
761
4.19403
0.514925
0.13879
0.021352
0.037367
0.229537
0.229537
0.229537
0.229537
0.229537
0.229537
0
0.02707
0.17477
761
21
94
36.238095
0.867834
0.61498
0
0.428571
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
0
0
1
0
1
8177bfe372aff02d581672d8637597d2fc14140b
35,787
py
Python
ironic/drivers/modules/irmc/deploy.py
redhat-openstack/ironic
f27daf3372b56622e74362b88a9defbf089db37e
[ "Apache-2.0" ]
1
2021-03-29T15:39:15.000Z
2021-03-29T15:39:15.000Z
ironic/drivers/modules/irmc/deploy.py
redhat-openstack/ironic
f27daf3372b56622e74362b88a9defbf089db37e
[ "Apache-2.0" ]
null
null
null
ironic/drivers/modules/irmc/deploy.py
redhat-openstack/ironic
f27daf3372b56622e74362b88a9defbf089db37e
[ "Apache-2.0" ]
1
2015-01-15T18:39:26.000Z
2015-01-15T18:39:26.000Z
# Copyright 2015 FUJITSU LIMITED # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
38.522067
79
0.670914
4,512
35,787
5.099069
0.109264
0.014909
0.015821
0.021472
0.545008
0.475203
0.423219
0.409223
0.390186
0.360108
0
0.000601
0.255987
35,787
928
80
38.563578
0.863479
0.021907
0
0.368539
0
0
0.136294
0.014787
0
0
0
0
0
0
null
null
0.035955
0.058427
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
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
817ef20600ac5ebb0e868f97b9550083fa83b467
633
py
Python
src/app/cache.py
kabirkhan/cloud_compete_graph
95648644e7dd960544a7998950ea37ee76feebef
[ "MIT" ]
1
2021-05-09T05:18:06.000Z
2021-05-09T05:18:06.000Z
src/app/cache.py
kabirkhan/cloud_compete_graph
95648644e7dd960544a7998950ea37ee76feebef
[ "MIT" ]
null
null
null
src/app/cache.py
kabirkhan/cloud_compete_graph
95648644e7dd960544a7998950ea37ee76feebef
[ "MIT" ]
null
null
null
from redis import Redis class Cache: def __init__(self, host=None, key=None, testing=False): self.testing = testing if testing: self.cache = {} else: self.cache = Redis(host, port=6380, db=0, password=key, ssl=True) def get(self, key: str) -> str: ...
27.521739
78
0.541864
80
633
4.2
0.4
0.160714
0.095238
0
0
0
0
0
0
0
0
0.01937
0.347551
633
22
79
28.772727
0.794189
0
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.176471
false
0.058824
0.058824
0.058824
0.352941
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
0
0
0
1
817f4e87f910b3e2fb6318d9e9f8495c1f406888
858
py
Python
tests/test_program_type.py
AntoineDao/honeybee-schema
3bf586c7f9476483886277a4f897c7ddf58c16a3
[ "BSD-3-Clause" ]
null
null
null
tests/test_program_type.py
AntoineDao/honeybee-schema
3bf586c7f9476483886277a4f897c7ddf58c16a3
[ "BSD-3-Clause" ]
null
null
null
tests/test_program_type.py
AntoineDao/honeybee-schema
3bf586c7f9476483886277a4f897c7ddf58c16a3
[ "BSD-3-Clause" ]
null
null
null
from honeybee_schema.energy.programtype import ProgramTypeAbridged import os # target folder where all of the samples live root = os.path.dirname(os.path.dirname(__file__)) target_folder = os.path.join(root, 'samples', 'program_type') def test_program_type_plenum(): file_path = os.path.join(target_folder, 'progr...
31.777778
77
0.796037
120
858
5.316667
0.266667
0.155172
0.07837
0.112853
0.592476
0.592476
0.529781
0.529781
0.529781
0.272727
0
0
0.107226
858
26
78
33
0.832898
0.050117
0
0.25
0
0
0.150062
0.126691
0
0
0
0
0
1
0.25
false
0
0.125
0
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
0
0
0
0
1
81802a3f43812ba704130f2be635589283a4d9c3
273
py
Python
backend/db/schemas/order_schemas.py
MLH-Fellowship/0.5.2-wheres-my-food
e17e01184c494d39676c3c87fa0fb8260fd79947
[ "MIT" ]
null
null
null
backend/db/schemas/order_schemas.py
MLH-Fellowship/0.5.2-wheres-my-food
e17e01184c494d39676c3c87fa0fb8260fd79947
[ "MIT" ]
7
2020-06-02T17:41:28.000Z
2020-06-05T00:28:49.000Z
backend/db/schemas/order_schemas.py
MLH-Fellowship/0.5.2-wheres-my-food
e17e01184c494d39676c3c87fa0fb8260fd79947
[ "MIT" ]
null
null
null
from pydantic import BaseModel from typing import List class OrderBase(BaseModel): status: int user_email: str order_id: str class OrderCreate(OrderBase): platform_id: int class Order(OrderBase): id: int class Config: orm_mode = True
13.65
30
0.692308
35
273
5.285714
0.6
0.054054
0.108108
0
0
0
0
0
0
0
0
0
0.249084
273
19
31
14.368421
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.916667
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
0
1
0
0
1
81812492ddca1e032e98ffd02e8e1aba2c504b40
3,383
py
Python
python/src/stdbscan.py
Wanghp119/py-st-dbscan
869a5fc3e45bee5ddf2da8c1a7853924b6b9c943
[ "Apache-2.0" ]
null
null
null
python/src/stdbscan.py
Wanghp119/py-st-dbscan
869a5fc3e45bee5ddf2da8c1a7853924b6b9c943
[ "Apache-2.0" ]
null
null
null
python/src/stdbscan.py
Wanghp119/py-st-dbscan
869a5fc3e45bee5ddf2da8c1a7853924b6b9c943
[ "Apache-2.0" ]
null
null
null
from datetime import timedelta from geopy.distance import great_circle def st_dbscan(df, spatial_threshold, temporal_threshold, min_neighbors): """ Python st-dbscan implementation. INPUTS: df={o1,o2,...,on} Set of objects spatial_threshold = Maximum geographical coordinate (spatial)...
40.759036
81
0.55099
339
3,383
5.303835
0.294985
0.066185
0.040044
0.057842
0.264739
0.201335
0.156841
0.126808
0.126808
0.064516
0
0.007533
0.372155
3,383
82
82
41.256098
0.838983
0.202779
0
0.125
0
0
0.046557
0
0
0
0
0.012195
0
1
0.041667
false
0
0.041667
0
0.125
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
0
0
0
1
8182cc95d592abf2fd5ef25a11ce629faa47198b
565
py
Python
toml_adapt/Common.py
StrajnarFilip/toml-adapt
e86731378b6fa779d07bd9bed9abdaf3ad112d5e
[ "MIT" ]
null
null
null
toml_adapt/Common.py
StrajnarFilip/toml-adapt
e86731378b6fa779d07bd9bed9abdaf3ad112d5e
[ "MIT" ]
null
null
null
toml_adapt/Common.py
StrajnarFilip/toml-adapt
e86731378b6fa779d07bd9bed9abdaf3ad112d5e
[ "MIT" ]
null
null
null
from typing import Any, Callable, MutableMapping import toml def ManipulateFile(toml_file_path:str, new_toml: MutableMapping[Any,Any]): try: with open(toml_file_path, "w", encoding="utf-8") as file: toml.dump(new_toml,file) except: pass def TomlBaseManipulation(t...
31.388889
89
0.684956
70
565
5.271429
0.428571
0.130081
0.162602
0.140921
0
0
0
0
0
0
0
0.002288
0.226549
565
18
90
31.388889
0.842105
0
0
0.375
0
0
0.010601
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.25
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
0
0
0
1
818409eea632213400e31984a0efa21fc9dcb1e8
211
py
Python
src/extract_claims.py
j6mes/fever2-baseline
56c3724aec559d9d5197bfd1bfdaae0c5491706c
[ "Apache-2.0" ]
3
2019-05-04T04:33:44.000Z
2020-06-22T10:30:16.000Z
src/extract_claims.py
j6mes/fever2-baseline
56c3724aec559d9d5197bfd1bfdaae0c5491706c
[ "Apache-2.0" ]
null
null
null
src/extract_claims.py
j6mes/fever2-baseline
56c3724aec559d9d5197bfd1bfdaae0c5491706c
[ "Apache-2.0" ]
null
null
null
import argparse import json parser = argparse.ArgumentParser() parser.add_argument("--in-file") args = parser.parse_args() for claim in open(args.in_file): print(json.loads(claim, encoding='utf8')["claim"])
26.375
54
0.744076
30
211
5.133333
0.6
0.077922
0
0
0
0
0
0
0
0
0
0.005263
0.099526
211
7
55
30.142857
0.805263
0
0
0
0
0
0.085308
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
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
0
0
0
1
81851a876abe0cfafe4fa125e5e4e801e0ff3cde
2,130
py
Python
mail.py
darkcumulus/cor-sender
2e032e45251d953493e01264fe449016fe10d3f5
[ "MIT" ]
null
null
null
mail.py
darkcumulus/cor-sender
2e032e45251d953493e01264fe449016fe10d3f5
[ "MIT" ]
null
null
null
mail.py
darkcumulus/cor-sender
2e032e45251d953493e01264fe449016fe10d3f5
[ "MIT" ]
1
2020-07-28T07:29:27.000Z
2020-07-28T07:29:27.000Z
import smtplib import ssl from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.application import MIMEApplication import os import csv import time sender_email = "youremail@gmail.com" # receiver_email = "receiver_mail@gmail.com" password = 'yourpassword' context = ssl.cr...
29.583333
89
0.628638
262
2,130
5.057252
0.461832
0.041509
0.029434
0.033208
0.075472
0
0
0
0
0
0
0.009518
0.260094
2,130
71
90
30
0.831218
0.146479
0
0.12
0
0
0.170272
0
0
0
0
0
0
1
0
false
0.06
0.16
0
0.16
0.06
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
0
0
0
1
8185e5af5d3ca63006296da556b0b06d691a02ed
1,847
py
Python
project/authentication.py
sajetan/contact_book
fbe2493b2c898a3ee3b0d8b993931ed24d6adcaa
[ "Apache-2.0" ]
null
null
null
project/authentication.py
sajetan/contact_book
fbe2493b2c898a3ee3b0d8b993931ed24d6adcaa
[ "Apache-2.0" ]
null
null
null
project/authentication.py
sajetan/contact_book
fbe2493b2c898a3ee3b0d8b993931ed24d6adcaa
[ "Apache-2.0" ]
null
null
null
#vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 from project import * #from project.tables import db,User from Authentication import UserAuth from contacts import * class UserAuthentication(Resource): def get(self): headers = {'Content-Type': 'text/html'} return make_response(render_template(...
27.984848
79
0.674066
219
1,847
5.561644
0.438356
0.014778
0.03202
0.049261
0.073892
0
0
0
0
0
0
0.010156
0.200325
1,847
65
80
28.415385
0.814489
0.046021
0
0.16
0
0
0.185516
0
0
0
0
0
0
1
0.12
false
0.12
0.12
0
0.48
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
0
0
0
1
8186950aac98c1b8b9fbf372d5e1b5a04200651e
687
py
Python
fob_exams/urls.py
ayhanfuat/scheduler
43178cc5e4631f17d2854863389dab52e05ae688
[ "MIT" ]
null
null
null
fob_exams/urls.py
ayhanfuat/scheduler
43178cc5e4631f17d2854863389dab52e05ae688
[ "MIT" ]
7
2019-10-27T21:44:49.000Z
2022-03-11T23:42:03.000Z
fob_exams/urls.py
ayhanfuat/scheduler
43178cc5e4631f17d2854863389dab52e05ae688
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib import auth from django.urls import include from django.urls import path from django.urls import re_path from django.views.generic import RedirectView import exams from exams.views import logout_view urlpatterns = [ path("admin/", admin.site.urls), path("ex...
28.625
77
0.689956
88
687
5.306818
0.352273
0.12848
0.089936
0.12848
0
0
0
0
0
0
0
0
0.171761
687
23
78
29.869565
0.820738
0
0
0.095238
0
0
0.151383
0.034935
0
0
0
0
0
1
0
false
0
0.380952
0
0.380952
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
0
0
0
1
8187c509f4ef39896aba0866da8b0b18b90fd383
873
py
Python
setup.py
Braedon/franz
7141b9ca5ec783edbb8085ce005360b890af0c2e
[ "MIT" ]
null
null
null
setup.py
Braedon/franz
7141b9ca5ec783edbb8085ce005360b890af0c2e
[ "MIT" ]
null
null
null
setup.py
Braedon/franz
7141b9ca5ec783edbb8085ce005360b890af0c2e
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='franz', version='0.1.0.dev1', description='(Franz) Kafka CLI tool', url='https://github.com/Braedon/franz', author='Braedon Vickers', author_email='braedon.vickers@gmal.com', license='MIT', classifiers=[ 'Development Statu...
26.454545
53
0.572738
86
873
5.744186
0.651163
0.048583
0.101215
0.105263
0
0
0
0
0
0
0
0.015798
0.274914
873
32
54
27.28125
0.764613
0
0
0.096774
0
0
0.477663
0.027491
0
0
0
0
0
1
0
true
0
0.032258
0
0.032258
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
0
0
0
0
0
1
818b9a30a798c5a1e542843c814983fa18abc3d4
10,961
py
Python
ping.py
1tylermitchell/healthcheck
1c83b2ddc07bd6272a9e9197088a693e03f36b33
[ "MIT" ]
null
null
null
ping.py
1tylermitchell/healthcheck
1c83b2ddc07bd6272a9e9197088a693e03f36b33
[ "MIT" ]
null
null
null
ping.py
1tylermitchell/healthcheck
1c83b2ddc07bd6272a9e9197088a693e03f36b33
[ "MIT" ]
1
2020-08-06T02:49:22.000Z
2020-08-06T02:49:22.000Z
#From https://raw.githubusercontent.com/duanev/ping-python/master/ping.py # # Ping - bounce ICMP identify packets off remote hosts # # The author of this code (a) does not expect anything from you, and # (b) is not responsible for any problems you may have using this code. # # requires: python2 and root/administ...
30.362881
78
0.531795
1,363
10,961
4.174615
0.275128
0.022496
0.015466
0.012654
0.080316
0.065729
0.040422
0.040422
0.040422
0.019332
0
0.016775
0.34194
10,961
360
79
30.447222
0.772078
0.189672
0
0.227273
0
0
0.058567
0
0
0
0.002312
0
0
0
null
null
0.004545
0.040909
null
null
0.018182
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
0
0
0
0
0
1
818c3c71459341f6c3137e51156fecf368baa8e1
1,643
py
Python
TUI/Misc/TrussLamps/TestData.py
r-owen/TUI
8f130368254161a2748167b7c8260cc24170c28c
[ "BSD-3-Clause" ]
1
2015-04-29T20:28:20.000Z
2015-04-29T20:28:20.000Z
TUI/Misc/TrussLamps/TestData.py
ApachePointObservatory/TUI
8f130368254161a2748167b7c8260cc24170c28c
[ "BSD-3-Clause" ]
1
2017-06-05T22:53:58.000Z
2017-06-05T22:53:58.000Z
TUI/Misc/TrussLamps/TestData.py
r-owen/TUI
8f130368254161a2748167b7c8260cc24170c28c
[ "BSD-3-Clause" ]
1
2020-01-28T06:28:02.000Z
2020-01-28T06:28:02.000Z
#!/usr/bin/env python import RO.Alg import TUI.TUIModel tuiModel = TUI.TUIModel.getModel(True) dispatcher = tuiModel.dispatcher cmdr = tuiModel.getCmdr() actor = "tlamps" MainDataSet = ( ('lampNames', ("He", "Ne", "Ar", "Bright Quartz", "Dim Quartz",)), ('lampStates', ("Off", "On", "Off", "On", "Off",)), ) Ma...
31
81
0.599513
187
1,643
5.26738
0.42246
0.035533
0.048731
0.045685
0.165482
0.147208
0.073096
0.073096
0
0
0
0.004584
0.203287
1,643
52
82
31.596154
0.747899
0.087645
0
0
0
0
0.221678
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.02381
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
0
0
0
0
0
1
819175dd8d4ad77ce00fdfe0b5f128b98ff407e1
242
py
Python
gplearn/__init__.py
hofesh/gplearn
2f93916a134fc0a2e4410025aa31f7805848c9d5
[ "BSD-3-Clause" ]
null
null
null
gplearn/__init__.py
hofesh/gplearn
2f93916a134fc0a2e4410025aa31f7805848c9d5
[ "BSD-3-Clause" ]
null
null
null
gplearn/__init__.py
hofesh/gplearn
2f93916a134fc0a2e4410025aa31f7805848c9d5
[ "BSD-3-Clause" ]
null
null
null
"""Genetic Programming in Python, with a scikit-learn inspired API ``gplearn`` is a set of algorithms for learning genetic programming models. """ __version__ = '0.4.dev0' __all__ = ['genetic', 'functions', 'fitness'] print("GPLEARN MOD")
24.2
75
0.72314
32
242
5.21875
0.84375
0.215569
0
0
0
0
0
0
0
0
0
0.014423
0.140496
242
10
76
24.2
0.788462
0.578512
0
0
0
0
0.442105
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
0
0
0
1
8193689451b353d3419929ddd10185ca788298f2
2,395
py
Python
app.py
andrijaJ01/Instagram-Bot
28b2ef40519ab3249e208bdb1b630a7632ecef2b
[ "Apache-2.0" ]
null
null
null
app.py
andrijaJ01/Instagram-Bot
28b2ef40519ab3249e208bdb1b630a7632ecef2b
[ "Apache-2.0" ]
null
null
null
app.py
andrijaJ01/Instagram-Bot
28b2ef40519ab3249e208bdb1b630a7632ecef2b
[ "Apache-2.0" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.keys import Keys import time class InstaBot: def __init__(self,username,password): #Constructor for InstaBot class self.username=username self.password=password self.bot=webdriver.Firefox() #object for handling firef...
38.629032
126
0.559499
274
2,395
4.715328
0.416058
0.041796
0.040248
0.020124
0.126935
0.095975
0.055728
0.055728
0.055728
0
0
0.012928
0.354071
2,395
62
127
38.629032
0.822237
0.154489
0
0.088889
0
0
0.125256
0.054703
0
0
0
0
0
1
0.066667
false
0.155556
0.066667
0
0.155556
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
0
0
0
1
819b111d5362d1a0dcd358de9ab336a4d509db45
8,298
py
Python
YouTubeScraper_GB.py
goutamborthakur555/Web_Scraping
c1bfbf66046663fe139f71a5f28bf452f96ddc55
[ "MIT" ]
null
null
null
YouTubeScraper_GB.py
goutamborthakur555/Web_Scraping
c1bfbf66046663fe139f71a5f28bf452f96ddc55
[ "MIT" ]
null
null
null
YouTubeScraper_GB.py
goutamborthakur555/Web_Scraping
c1bfbf66046663fe139f71a5f28bf452f96ddc55
[ "MIT" ]
1
2021-02-19T17:30:46.000Z
2021-02-19T17:30:46.000Z
# YouTube Scraper # Setting up the directory import os os.getcwd() # present directory os.chdir("....\\Web Scraping\\YouTube") # changing the directory # Importing the libraries import pandas as pd from selenium import webdriver # Enter the search keywords search_keyword = input('Enter your search keyword:...
42.773196
2,017
0.610629
1,309
8,298
3.773873
0.345302
0.02004
0.024292
0.005668
0.426518
0.415587
0.348583
0.331984
0.331984
0.31336
0
0.00415
0.186913
8,298
194
2,018
42.773196
0.727731
0.077368
0
0.265734
0
0.020979
0.428707
0.352182
0
0
0
0
0
1
0
false
0
0.027972
0
0.027972
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
81a9e77bbfc69247aaadee5057ac98c176ed5801
3,385
py
Python
tests/io/test_win_writer.py
louisponet/aiida-wannier90
e01a99510082f55f956403f03031b8989f492076
[ "MIT" ]
null
null
null
tests/io/test_win_writer.py
louisponet/aiida-wannier90
e01a99510082f55f956403f03031b8989f492076
[ "MIT" ]
null
null
null
tests/io/test_win_writer.py
louisponet/aiida-wannier90
e01a99510082f55f956403f03031b8989f492076
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ################################################################################ # Copyright (c), AiiDA team and individual contributors. # # All rights reserved. # # This file is part of the AiiDA-wannier90 code. ...
35.260417
80
0.623043
388
3,385
5.072165
0.226804
0.068598
0.114329
0.085366
0.751524
0.735772
0.690549
0.577236
0.531504
0.531504
0
0.013493
0.233678
3,385
95
81
35.631579
0.745181
0.262334
0
0.508197
0
0
0.08087
0
0
0
0
0
0
1
0.081967
false
0
0.131148
0
0.213115
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
81b0d79208d26a6fb02f279fb0c17414b39738f5
2,956
py
Python
clips/common.py
chalothon/CLIPS_1
5f1489839893bce8e9cbed6c0d4499ee711274c0
[ "BSD-3-Clause" ]
null
null
null
clips/common.py
chalothon/CLIPS_1
5f1489839893bce8e9cbed6c0d4499ee711274c0
[ "BSD-3-Clause" ]
null
null
null
clips/common.py
chalothon/CLIPS_1
5f1489839893bce8e9cbed6c0d4499ee711274c0
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2016-2018, Matteo Cafasso # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and ...
28.699029
80
0.726319
403
2,956
5.238213
0.506203
0.011369
0.016106
0.021791
0.157271
0.134533
0.134533
0.134533
0.134533
0.134533
0
0.017987
0.210081
2,956
102
81
28.980392
0.886081
0.544655
0
0.08
0
0
0.025152
0
0
0
0
0
0
1
0.04
false
0
0.08
0.04
0.92
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
0
1
0
0
1
81b1b0bb6b8fd3091b311667f54fc6b6f26fbb03
3,668
py
Python
create-face-dataset.py
wwwins/OpenCV-Samples
6a88c411064d5a8d012fbc2299a6d85b4526785e
[ "MIT" ]
null
null
null
create-face-dataset.py
wwwins/OpenCV-Samples
6a88c411064d5a8d012fbc2299a6d85b4526785e
[ "MIT" ]
null
null
null
create-face-dataset.py
wwwins/OpenCV-Samples
6a88c411064d5a8d012fbc2299a6d85b4526785e
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # @Author: wwwins # @Date: 2017-08-08 18:45:16 # @Last Modified by: wwwins # @Last Modified time: 2017-08-11 17:52:33 import cv2 import sys import os import time import argparse import crop_face import numpy as np from glob import glob from crop_face import * DEBUG = 0 #...
34.280374
183
0.608779
528
3,668
4.054924
0.299242
0.026156
0.031761
0.016815
0.133582
0.106959
0.061653
0.061653
0.061653
0.061653
0
0.046836
0.237459
3,668
106
184
34.603774
0.718627
0.169302
0
0.078947
0
0
0.11889
0.042272
0
0
0
0
0
0
null
null
0
0.118421
null
null
0.039474
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
0
0
0
0
0
1
81c41c2bc53a30247da82ed17743d518ed5dcb79
931
py
Python
mail_to/__manifest__.py
aaltinisik/mail-addons
d829c1d9e4320013ab557c34d6d79b956ebd7349
[ "MIT" ]
null
null
null
mail_to/__manifest__.py
aaltinisik/mail-addons
d829c1d9e4320013ab557c34d6d79b956ebd7349
[ "MIT" ]
null
null
null
mail_to/__manifest__.py
aaltinisik/mail-addons
d829c1d9e4320013ab557c34d6d79b956ebd7349
[ "MIT" ]
1
2021-08-28T11:18:33.000Z
2021-08-28T11:18:33.000Z
# Copyright 2016 x620 <https://github.com/x620> # Copyright 2016,2020 Ivan Yelizariev <https://it-projects.info/team/yelizariev> # Copyright 2018 Ruslan Ronzhin # Copyright 2019 Artem Rafailov <https://it-projects.info/team/Ommo73/> # License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html). { "name": """Show mess...
35.807692
88
0.622986
113
931
5.115044
0.743363
0.051903
0.051903
0.065744
0.079585
0
0
0
0
0
0
0.053985
0.164339
931
25
89
37.24
0.688946
0.303974
0
0
0
0
0.590343
0.076324
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
0
0
0
1
81c85f881553062c47b2e1cab1cb02aecf3408ea
9,540
py
Python
ckanext/ckanext-basiccharts/ckanext/basiccharts/tests/test_view.py
cascaoSDC/ckan
75a08caa7c688ce70229dfea7070cc667a15c5e8
[ "BSD-3-Clause" ]
null
null
null
ckanext/ckanext-basiccharts/ckanext/basiccharts/tests/test_view.py
cascaoSDC/ckan
75a08caa7c688ce70229dfea7070cc667a15c5e8
[ "BSD-3-Clause" ]
1
2021-05-13T11:24:02.000Z
2021-05-13T11:24:02.000Z
ckanext/ckanext-basiccharts/ckanext/basiccharts/tests/test_view.py
cascaoSDC/ckan
75a08caa7c688ce70229dfea7070cc667a15c5e8
[ "BSD-3-Clause" ]
null
null
null
import os import inspect import mock import nose.tools import pylons.config as config import ckan.plugins as p import ckanext.basiccharts class TestBaseChart(object): @classmethod def setup_class(cls): cls.plugin = ckanext.basiccharts.plugin.BaseChart() @nose.tools.raises(p.PluginNotFoundExcep...
38.007968
99
0.698008
1,186
9,540
5.26054
0.107083
0.114441
0.070524
0.049046
0.663728
0.63616
0.57365
0.506171
0.467383
0.42587
0
0.000131
0.197904
9,540
250
100
38.16
0.815212
0
0
0.338624
0
0
0.179245
0.033857
0
0
0
0
0.195767
1
0.21164
false
0
0.037037
0
0.275132
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
0
0
0
1
81ca93087b1ed9e69ee91ed51d75904131669576
852
py
Python
plugins/callback.py
jasperazerbaijan/gpytranslator-bot
51bf686885afdce450ce6cb1af9f8f0a06caf143
[ "MIT" ]
null
null
null
plugins/callback.py
jasperazerbaijan/gpytranslator-bot
51bf686885afdce450ce6cb1af9f8f0a06caf143
[ "MIT" ]
null
null
null
plugins/callback.py
jasperazerbaijan/gpytranslator-bot
51bf686885afdce450ce6cb1af9f8f0a06caf143
[ "MIT" ]
1
2021-07-21T20:09:23.000Z
2021-07-21T20:09:23.000Z
from pyrogram import Client, filters from pyrogram.types import CallbackQuery from bot_errors_logger import logging_errors import constants @Client.on_callback_query(filters.regex(r"^back")) @logging_errors async def backtostart(bot: Client, query: CallbackQuery): await query.message.edit( constants.start...
29.37931
71
0.774648
110
852
5.790909
0.345455
0.081633
0.075353
0.098901
0.416013
0.416013
0.357928
0.304553
0.178964
0
0
0
0.129108
852
28
72
30.428571
0.858491
0
0
0.227273
0
0
0.021127
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
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
0
0
0
0
0
1
81ceb23bfd462319ff5b2fac1a0f605772840b8f
1,541
py
Python
editor_api/database/project/ops.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
8
2020-06-28T07:50:29.000Z
2022-01-05T16:29:48.000Z
editor_api/database/project/ops.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
null
null
null
editor_api/database/project/ops.py
jphuart/swatplus-automatic-workflow
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
[ "MIT" ]
5
2020-06-28T07:50:31.000Z
2021-08-16T07:09:59.000Z
from peewee import * from . import base from . import hru_parm_db class Graze_ops(base.BaseModel): name = CharField(unique=True) fert = ForeignKeyField(hru_parm_db.Fertilizer_frt, on_delete='CASCADE') bm_eat = DoubleField() bm_tramp = DoubleField() man_amt = DoubleField() grz_bm_min = DoubleField() description...
24.854839
72
0.747567
194
1,541
5.721649
0.386598
0.037838
0.086486
0.108108
0.453153
0.418018
0.299099
0.088288
0
0
0
0.002261
0.138871
1,541
61
73
25.262295
0.834213
0.051914
0
0.244898
0
0
0.004804
0
0
0
0
0
0
1
0
false
0
0.061224
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
0
0
0
0
0
1
0
0
1