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
2ef6f99b12f0c91aeb95ef080d7314906caf31a7
293
py
Python
30 Days Of Code/30 Days of code/Day 7 Array.py
karangehlod/Hackerrank
8a934642eccfb6f179f0833e8be68379fdc8206e
[ "MIT" ]
null
null
null
30 Days Of Code/30 Days of code/Day 7 Array.py
karangehlod/Hackerrank
8a934642eccfb6f179f0833e8be68379fdc8206e
[ "MIT" ]
null
null
null
30 Days Of Code/30 Days of code/Day 7 Array.py
karangehlod/Hackerrank
8a934642eccfb6f179f0833e8be68379fdc8206e
[ "MIT" ]
null
null
null
#!/bin/python3 import math import os import random import re import sys if __name__ == '__main__': n = int(input()) arr = list(map(int, input().rstrip().split())) for i in range(n, 0, -1): #for reverese -1 with start n and end 0 print(arr[i-1], end=' ')
18.3125
70
0.576792
46
293
3.5
0.673913
0.099379
0
0
0
0
0
0
0
0
0
0.028037
0.269625
293
15
71
19.533333
0.724299
0.174061
0
0
0
0
0.04
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
0
0
0
0
1
0
0
0
0
1
2ef746d5ff8112f8f9550cfe36703212212e9bd0
1,429
py
Python
janitor/functions/to_datetime.py
thatlittleboy/pyjanitor
f7977e00d3d9bf49aebeaa62db2965a668c50c90
[ "MIT" ]
225
2021-04-01T13:57:39.000Z
2022-03-31T23:12:51.000Z
janitor/functions/to_datetime.py
thatlittleboy/pyjanitor
f7977e00d3d9bf49aebeaa62db2965a668c50c90
[ "MIT" ]
251
2021-03-25T10:52:31.000Z
2022-03-31T01:46:29.000Z
janitor/functions/to_datetime.py
thatlittleboy/pyjanitor
f7977e00d3d9bf49aebeaa62db2965a668c50c90
[ "MIT" ]
30
2021-03-25T20:35:43.000Z
2022-03-20T20:20:42.000Z
from typing import Hashable import pandas_flavor as pf import pandas as pd from janitor.utils import deprecated_alias @pf.register_dataframe_method @deprecated_alias(column="column_name") def to_datetime( df: pd.DataFrame, column_name: Hashable, **kwargs ) -> pd.DataFrame: """Convert column to a datetime typ...
29.163265
84
0.656403
193
1,429
4.751295
0.419689
0.087241
0.052345
0.034896
0.091603
0.091603
0.091603
0.091603
0.091603
0.091603
0
0.074586
0.240028
1,429
48
85
29.770833
0.769797
0.671099
0
0
0
0
0.029973
0
0
0
0
0
0
1
0.090909
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
2ef75fb92b7546991f17c47d911c6a0feee24cf7
560
py
Python
src-django/api/migrations/0022_auto_20180119_1422.py
m-socha/sana.protocol_builder
7b054bbab5ed981bd7bbc357e9657024f3e380e7
[ "BSD-3-Clause" ]
6
2015-06-05T22:41:10.000Z
2017-09-06T07:08:09.000Z
src-django/api/migrations/0022_auto_20180119_1422.py
SanaMobile/sana.protocol_builder
e7e784797bf7b3a3060329f033fca5f411ebcc97
[ "BSD-3-Clause" ]
406
2015-01-11T05:50:07.000Z
2018-01-05T23:01:04.000Z
src-django/api/migrations/0022_auto_20180119_1422.py
m-socha/sana.protocol_builder
7b054bbab5ed981bd7bbc357e9657024f3e380e7
[ "BSD-3-Clause" ]
9
2015-10-12T23:39:31.000Z
2018-07-11T20:59:32.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.3 on 2018-01-19 14:22 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0021_remove_element_eid'), ] operations = [ ...
25.454545
132
0.65
67
560
5.268657
0.686567
0.067989
0.07932
0.124646
0
0
0
0
0
0
0
0.045977
0.223214
560
21
133
26.666667
0.765517
0.119643
0
0
1
0
0.108163
0.046939
0
0
0
0
0
1
0
false
0
0.214286
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2ef9b90fc65634e2afba9cceb5498c0eb87c14ea
10,515
py
Python
masseval/anchor.py
hagenw/masseval
3cc24283864d328d8d44bd9355d24e453bb4445c
[ "MIT" ]
null
null
null
masseval/anchor.py
hagenw/masseval
3cc24283864d328d8d44bd9355d24e453bb4445c
[ "MIT" ]
null
null
null
masseval/anchor.py
hagenw/masseval
3cc24283864d328d8d44bd9355d24e453bb4445c
[ "MIT" ]
null
null
null
from collections import namedtuple import numpy as np from untwist import data, utilities, transforms Anchors = namedtuple('Anchors', ['Distortion', 'Artefacts', 'Interferer', 'Quality'], ) class ...
33.594249
88
0.588302
1,174
10,515
5.108177
0.212095
0.03335
0.025346
0.032683
0.432383
0.370352
0.331332
0.307654
0.307654
0.300984
0
0.019591
0.3398
10,515
312
89
33.701923
0.843993
0.323823
0
0.365517
0
0
0.011666
0
0
0
0
0
0
1
0.096552
false
0.055172
0.027586
0.013793
0.22069
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
2efb177d6a34ec008f9b214b172c9459f7d21c8b
3,920
py
Python
a1/q1.py
violetguos/intro_machine_learning
744b7bfc586a8d629086c92248b9b9c2aa1eb071
[ "MIT" ]
null
null
null
a1/q1.py
violetguos/intro_machine_learning
744b7bfc586a8d629086c92248b9b9c2aa1eb071
[ "MIT" ]
null
null
null
a1/q1.py
violetguos/intro_machine_learning
744b7bfc586a8d629086c92248b9b9c2aa1eb071
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Sep 26 13:16:31 2017 @author: vikuo """ from sklearn import datasets import matplotlib.pyplot as plt import numpy as np import random def load_data(): boston = datasets.load_boston() X = boston.data #506 row, 13 columns #print X.shape...
27.034483
94
0.581888
572
3,920
3.88986
0.311189
0.026966
0.01573
0.019775
0.094382
0.035056
0.021573
0.021573
0.021573
0.021573
0
0.028114
0.283163
3,920
144
95
27.222222
0.763701
0.318622
0
0.029412
0
0
0.045721
0
0
0
0
0.006944
0
0
null
null
0
0.058824
null
null
0.102941
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
2c01409182e35778a5c7bf26ed526277477bb616
1,361
py
Python
gwosc/tests/test_timeline.py
martinberoiz/gwosc
6ae371c6bf2d12cdefe1560631c671ae2b9985bc
[ "MIT" ]
16
2018-07-08T09:41:43.000Z
2021-09-09T18:32:00.000Z
gwosc/tests/test_timeline.py
martinberoiz/gwosc
6ae371c6bf2d12cdefe1560631c671ae2b9985bc
[ "MIT" ]
55
2018-07-06T09:06:49.000Z
2022-01-03T22:32:53.000Z
gwosc/tests/test_timeline.py
duncanmmacleod/gwopensci
3410d6f55702e816e048c2052b7eda769a6e1804
[ "MIT" ]
11
2018-07-06T08:17:12.000Z
2022-01-03T22:00:21.000Z
# -*- coding: utf-8 -*- # Copyright (C) Cardiff University (2018-2021) # SPDX-License-Identifier: MIT """Tests for :mod:`gwosc.timeline` """ from unittest import mock import pytest from .. import timeline __author__ = 'Duncan Macleod <duncan.macleod@ligo.org>' @pytest.mark.remote @pytest.mark.parametrize('flag, ...
26.686275
79
0.684056
166
1,361
5.439759
0.512048
0.044297
0.053156
0.059801
0.115172
0.06423
0
0
0
0
0
0.201063
0.170463
1,361
50
80
27.22
0.59876
0.127112
0
0.16129
0
0
0.150255
0.081494
0
0
0
0
0.129032
1
0.129032
false
0
0.096774
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2c08517a2df00f820c3fb7db35d301da69585879
3,661
py
Python
models/worker_level.py
xuanthuong/golfgame
64914e5af0290504ac7b71e0416285241660301c
[ "MIT" ]
null
null
null
models/worker_level.py
xuanthuong/golfgame
64914e5af0290504ac7b71e0416285241660301c
[ "MIT" ]
null
null
null
models/worker_level.py
xuanthuong/golfgame
64914e5af0290504ac7b71e0416285241660301c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Description: worker_level_tb table # By Thuong.Tran # Date: 29 Aug 2017 from sqlalchemy import create_engine, Table, Column, MetaData, Integer, Text, DateTime, Float from sqlalchemy import select, update, and_ from sqlalchemy.orm import sessionmaker import datetime as dt class worker_level(...
38.946809
109
0.579077
560
3,661
3.389286
0.153571
0.164384
0.193888
0.075869
0.455216
0.423077
0.331928
0.306639
0.273973
0.243414
0
0.031955
0.273423
3,661
93
110
39.365591
0.681579
0.217154
0
0.233333
0
0
0.096445
0
0
0
0
0
0
1
0.116667
false
0.033333
0.066667
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2c10cd99664f8fa2cfa14eb00bd1ae2934b31d40
444
py
Python
2020/days/friday/bfs.py
filiptronicek/protab-stuff
913941fd3b9e66722abd2e81246134c807e314ca
[ "MIT" ]
4
2020-07-26T08:09:48.000Z
2020-07-28T06:37:13.000Z
2020/days/friday/bfs.py
filiptronicek/protab-stuff
913941fd3b9e66722abd2e81246134c807e314ca
[ "MIT" ]
2
2020-07-27T12:22:50.000Z
2020-07-29T10:07:14.000Z
2020/days/friday/bfs.py
filiptronicek/protab-stuff
913941fd3b9e66722abd2e81246134c807e314ca
[ "MIT" ]
1
2020-07-27T12:13:57.000Z
2020-07-27T12:13:57.000Z
from collections import deque def neighbors(v): pass # Tůdů def bfs(start, end): queue = deque([start]) beenTo = set() direction = dict() while len(queue) > 0: v = queue.popleft() if v == end: cesta = [v] while v != start: cesta.append(dire...
21.142857
42
0.486486
50
444
4.32
0.5
0.138889
0.101852
0
0
0
0
0
0
0
0
0.003717
0.394144
444
21
43
21.142857
0.799257
0.009009
0
0
0
0
0
0
0
0
0
0
0
1
0.117647
false
0.058824
0.058824
0
0.176471
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
2c11e1373e2012cd092e265cfaa524dea2d9351c
520
py
Python
intro_to_code/classes/my_classes.py
SamRMason/cases
0e3bcb43ec48c2526c81b6a78725904cf0b51830
[ "MIT" ]
null
null
null
intro_to_code/classes/my_classes.py
SamRMason/cases
0e3bcb43ec48c2526c81b6a78725904cf0b51830
[ "MIT" ]
null
null
null
intro_to_code/classes/my_classes.py
SamRMason/cases
0e3bcb43ec48c2526c81b6a78725904cf0b51830
[ "MIT" ]
null
null
null
class Person: species = "homosapien" def __init__(self, species = "homosapien", age=21, name_first="McLovin", name_last="Jones"): self.species = species self.age = age self.name_first = name_first self.name_last = name_last class Student(Person): def __init__(self, species...
30.588235
108
0.675
67
520
4.865672
0.253731
0.138037
0.067485
0.110429
0.380368
0.380368
0.380368
0.380368
0.380368
0.380368
0
0.009732
0.209615
520
16
109
32.5
0.783455
0
0
0
0
0
0.103846
0
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
2c1cd454748a9a223fa05cad36c74398b7ad7d27
357
py
Python
timecat/apps/users/migrations/0002_auto_20180913_1008.py
LinXueyuanStdio/memp
c6f6609cec7c54ec23881838dacb5f4ffba2e68c
[ "Apache-2.0" ]
null
null
null
timecat/apps/users/migrations/0002_auto_20180913_1008.py
LinXueyuanStdio/memp
c6f6609cec7c54ec23881838dacb5f4ffba2e68c
[ "Apache-2.0" ]
null
null
null
timecat/apps/users/migrations/0002_auto_20180913_1008.py
LinXueyuanStdio/memp
c6f6609cec7c54ec23881838dacb5f4ffba2e68c
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.5 on 2018-09-13 02:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.RenameField( model_name='customuser', old_name='name', new_...
18.789474
47
0.577031
37
357
5.459459
0.810811
0
0
0
0
0
0
0
0
0
0
0.076923
0.308123
357
18
48
19.833333
0.740891
0.12605
0
0
1
0
0.135484
0
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2c30e3be23dbed1b8c0aca2bbf8116b01bb9b06c
4,289
py
Python
lamson/utils.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
lamson/utils.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
lamson/utils.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
""" Mostly utility functions Lamson uses internally that don't really belong anywhere else in the modules. This module is kind of a dumping ground, so if you find something that can be improved feel free to work up a patch. """ from lamson import server, routing import sys, os import logging import daemon try: f...
33.507813
173
0.639077
597
4,289
4.525963
0.363484
0.019985
0.009993
0.017024
0.065877
0.051813
0.051813
0
0
0
0
0.003196
0.270459
4,289
127
174
33.771654
0.860339
0.021917
0
0.057143
0
0.028571
0.158141
0.007021
0
0
0
0
0
0
null
null
0
0.171429
null
null
0.028571
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
2c3120d3c8f4173d262a2216abcfe92e869319f1
2,603
py
Python
GfxTablet.py
jzitelli/GfxTablet.js
0028f6d23e9c32ec9878a1b40134914a4e84fb5e
[ "MIT" ]
1
2020-04-18T06:32:20.000Z
2020-04-18T06:32:20.000Z
GfxTablet.py
jzitelli/GfxTablet.js
0028f6d23e9c32ec9878a1b40134914a4e84fb5e
[ "MIT" ]
1
2016-02-06T03:20:52.000Z
2016-02-06T03:20:52.000Z
GfxTablet.py
jzitelli/GfxTablet.js
0028f6d23e9c32ec9878a1b40134914a4e84fb5e
[ "MIT" ]
null
null
null
"""Receives Android tablet input data transmitted via UDP by the GfxTablet Android app and pushes it to WebSocket client. GfxTablet: https://github.com/rfc2822/GfxTablet """ import logging import socket from tornado.websocket import WebSocketHandler from tornado.ioloop import IOLoop from tornado.web import Applicatio...
41.31746
153
0.657703
348
2,603
4.795977
0.448276
0.037747
0.005392
0.02876
0.106651
0.026363
0.026363
0.026363
0.026363
0
0
0.044434
0.213216
2,603
62
154
41.983871
0.770508
0.230119
0
0.045455
0
0
0.111558
0
0
0
0
0.016129
0
1
0.113636
false
0
0.113636
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
25779452e17aa4f2498b484f935f2d464b96bd6c
7,395
py
Python
app/monitor/monitor.py
jingwangian/aiven
6b2690b114f0735104e46fa3ec98d7422682753f
[ "MIT" ]
null
null
null
app/monitor/monitor.py
jingwangian/aiven
6b2690b114f0735104e46fa3ec98d7422682753f
[ "MIT" ]
null
null
null
app/monitor/monitor.py
jingwangian/aiven
6b2690b114f0735104e46fa3ec98d7422682753f
[ "MIT" ]
null
null
null
import psutil import json import logging import psycopg2 from datetime import datetime from dataclasses import dataclass logger = logging.getLogger(__name__) @dataclass class CPUMetric: name = 'cpu_metric' machine_id: int user: float nice: float system: float idle: float created_at: str ...
30.183673
94
0.533874
813
7,395
4.726937
0.120541
0.06089
0.010148
0.010409
0.708301
0.685402
0.632319
0.632319
0.612022
0.607858
0
0.001496
0.367275
7,395
244
95
30.307377
0.819833
0.019202
0
0.634021
0
0
0.201163
0
0
0
0
0
0
1
0.087629
false
0
0.030928
0.005155
0.304124
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
257bdff071de89fd02185323da56ca8e79cdc9ae
6,274
py
Python
python/lookout/sdk/service_analyzer_pb2.py
dpordomingo/lookout-sdk
ddb71e60633c9dde76cb96409f3fbded6b424421
[ "Apache-2.0" ]
5
2018-12-17T11:22:31.000Z
2019-03-14T02:50:43.000Z
python/lookout/sdk/service_analyzer_pb2.py
dpordomingo/lookout-sdk
ddb71e60633c9dde76cb96409f3fbded6b424421
[ "Apache-2.0" ]
64
2018-08-31T10:41:36.000Z
2019-12-14T15:01:13.000Z
python/lookout/sdk/service_analyzer_pb2.py
dpordomingo/lookout-sdk
ddb71e60633c9dde76cb96409f3fbded6b424421
[ "Apache-2.0" ]
16
2018-08-30T20:33:55.000Z
2021-08-09T05:37:06.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: lookout/sdk/service_analyzer.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
35.647727
652
0.753586
818
6,274
5.486553
0.220049
0.035651
0.02451
0.026738
0.500446
0.410873
0.403743
0.388592
0.388592
0.388592
0
0.039564
0.121772
6,274
175
653
35.851429
0.774955
0.043991
0
0.550336
1
0.006711
0.194291
0.143048
0
0
0
0
0
1
0
false
0
0.053691
0
0.053691
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
2580b9f0513c4e28aeba03584110e87830942a2e
360
py
Python
core/core/urls.py
dotHashemi/qeshm-employment
3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9
[ "MIT" ]
2
2021-01-12T07:22:14.000Z
2021-01-12T15:47:00.000Z
core/core/urls.py
dotHashemi/qeshm-employment
3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9
[ "MIT" ]
null
null
null
core/core/urls.py
dotHashemi/qeshm-employment
3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('auth/', include('accounts.api.urls')), path('api/cities/', include('cities.api.urls')), path('api/categories/', include('categories.api.urls')), path('api/advertisements/',...
30
68
0.680556
44
360
5.568182
0.363636
0.130612
0.134694
0.171429
0
0
0
0
0
0
0
0
0.125
360
11
69
32.727273
0.777778
0
0
0
0
0
0.361111
0.063889
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
25826f4b283f489eb78afffff5d33210e6ac14c2
769
py
Python
2009/round-2/b-stock-charts/script.py
iamFIREcracker/google-code-jam
132dae9191ce6de81de7dad9ef221f119802166c
[ "MIT" ]
null
null
null
2009/round-2/b-stock-charts/script.py
iamFIREcracker/google-code-jam
132dae9191ce6de81de7dad9ef221f119802166c
[ "MIT" ]
null
null
null
2009/round-2/b-stock-charts/script.py
iamFIREcracker/google-code-jam
132dae9191ce6de81de7dad9ef221f119802166c
[ "MIT" ]
null
null
null
def ReadInts(): return list(map(int, raw_input().strip().split(" "))) for case in xrange(1, input() + 1): (n, k) = ReadInts() charts = [] for i in xrange(n): p = ReadInts() if not i: charts.append([p]) continue for j in xrange(len(charts)): for c in charts[j]: print p, c, ...
24.03125
55
0.487646
109
769
3.431193
0.366972
0.053476
0.072193
0.058824
0.085562
0
0
0
0
0
0
0.004132
0.370611
769
31
56
24.806452
0.768595
0
0
0.241379
0
0
0.016905
0
0
0
0
0
0
0
null
null
0
0
null
null
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2586a64449a8ae126a45b51eb8b5cc510e4aa8f8
903
py
Python
bin/add-user.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
bin/add-user.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
bin/add-user.py
tzengerink/groceries-api
a22cc3503006b87b731b956f6341d730b143bf10
[ "MIT" ]
null
null
null
#!/usr/bin/env python import getpass import os import sys from six.moves import input sys.path.append(os.path.abspath('.')) from application.core import make_app from application.models import User, db def main(): app = make_app() with app.app_context(): print('Create new user.') username =...
23.763158
79
0.66113
112
903
5.1875
0.455357
0.111876
0.04475
0
0
0
0
0
0
0
0
0
0.234773
903
37
80
24.405405
0.84081
0.022148
0
0
0
0
0.117914
0
0
0
0
0
0
1
0.074074
false
0.444444
0.222222
0
0.333333
0.074074
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
2586ab345831fbbdfa9adf1b02c3685b2926607c
496
py
Python
sndg_covid19/views/__init__.py
sndg-arg/covid19-web
fe809c87563a00bbec53c3646338d571fdde6a69
[ "MIT" ]
null
null
null
sndg_covid19/views/__init__.py
sndg-arg/covid19-web
fe809c87563a00bbec53c3646338d571fdde6a69
[ "MIT" ]
2
2021-03-10T17:08:59.000Z
2021-09-29T17:40:48.000Z
sndg_covid19/views/__init__.py
sndg-arg/covid19-web
fe809c87563a00bbec53c3646338d571fdde6a69
[ "MIT" ]
null
null
null
latam_countries = """Argentina Bolivia Brazil Chile Colombia Ecuador French Guiana Guyana Paraguay Peru Suriname Uruguay Venezuela Belize Costa Rica El Salvador Guatemala Honduras Mexico Nicaragua Panama Antigua & Barbuda Aruba Bahamas Barbados Cayman Islands Cuba Dominica Dominican Republic Grenada Guadeloupe Haiti Ja...
11.534884
30
0.824597
65
496
6.276923
0.938462
0
0
0
0
0
0
0
0
0
0
0
0.135081
496
42
31
11.809524
0.951049
0
0
0
0
0
0.929435
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
258e1f90a1584888139dc08d499791d4348b095a
2,773
py
Python
algolab.py
DavidLeoni/algolab
b1c8bb3667aa1f1f08f5a37ce3fa049c7eb2c9cd
[ "Apache-2.0" ]
null
null
null
algolab.py
DavidLeoni/algolab
b1c8bb3667aa1f1f08f5a37ce3fa049c7eb2c9cd
[ "Apache-2.0" ]
1
2017-01-24T15:29:14.000Z
2017-01-24T15:29:14.000Z
algolab.py
DavidLeoni/algolab
b1c8bb3667aa1f1f08f5a37ce3fa049c7eb2c9cd
[ "Apache-2.0" ]
null
null
null
import sys import unittest import inspect import networkx as nx from IPython.core.display import HTML # taken from here: http://stackoverflow.com/a/961057 def get_class(meth): for cls in inspect.getmro(meth.im_class): if meth.__name__ in cls.__dict__: return cls return None def run(clas...
29.817204
126
0.589614
368
2,773
4.347826
0.372283
0.06125
0.013125
0.03
0.20375
0.165
0.165
0.11875
0.11875
0.05
0
0.021696
0.268662
2,773
93
127
29.817204
0.767258
0.16841
0
0.189655
0
0
0.150734
0
0
0
0
0.010753
0.017241
1
0.12069
false
0
0.086207
0.017241
0.310345
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
25931110dfe2c494bac65d4e659f4c3e5c8d6dfa
1,144
py
Python
apps/utils/tests/test_signals.py
MySmile/mysmile
5abe4baa7970674d1f8365d875519283c2e29dae
[ "BSD-3-Clause" ]
5
2015-05-03T09:51:32.000Z
2019-05-21T14:19:02.000Z
apps/utils/tests/test_signals.py
MySmile/mysmile
5abe4baa7970674d1f8365d875519283c2e29dae
[ "BSD-3-Clause" ]
24
2015-04-05T16:28:08.000Z
2022-03-11T23:36:56.000Z
apps/utils/tests/test_signals.py
MySmile/mysmile
5abe4baa7970674d1f8365d875519283c2e29dae
[ "BSD-3-Clause" ]
null
null
null
import os from io import BytesIO from PIL import Image, ImageDraw, ImageFont from django.test import TestCase from django.conf import settings from apps.preferences.models import PreferencesManager class SignalsTestCase(TestCase): fixtures = ['preferences.json'] def setUp(self): pass def test_e...
27.902439
88
0.643357
136
1,144
5.338235
0.522059
0.011019
0.008264
0
0
0
0
0
0
0
0
0.024419
0.248252
1,144
40
89
28.6
0.819767
0.013986
0
0.066667
0
0
0.058667
0.022222
0
0
0
0
0.033333
1
0.1
false
0.066667
0.2
0
0.366667
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
259507188b6223e31f716b21315560fad747dad1
258
py
Python
forumdemo/initUserProfile.py
lamdba0602/forumdemo
82c6223d6b6d7fb3bac049e342d3048a5117a2b7
[ "Apache-2.0" ]
null
null
null
forumdemo/initUserProfile.py
lamdba0602/forumdemo
82c6223d6b6d7fb3bac049e342d3048a5117a2b7
[ "Apache-2.0" ]
null
null
null
forumdemo/initUserProfile.py
lamdba0602/forumdemo
82c6223d6b6d7fb3bac049e342d3048a5117a2b7
[ "Apache-2.0" ]
null
null
null
import os os.environ['DJANGO_SETTINGS_MODULE'] = 'forumdemo.settings' import django django.setup() from usercenter.models import UserProfile from django.contrib.auth.models import User for u in User.objects.all(): p = UserProfile(user=u) p.save()
19.846154
59
0.755814
37
258
5.216216
0.594595
0.124352
0
0
0
0
0
0
0
0
0
0
0.135659
258
12
60
21.5
0.865471
0
0
0
0
0
0.155039
0.085271
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
25a5fe2497bc7fad91cf656ca2148ed23c0fdf25
814
py
Python
kervi/spine/__init__.py
kervi/kervi-core
3c1e3c8a17a7b4d085d8a28b99180ff2a96b0e23
[ "MIT" ]
null
null
null
kervi/spine/__init__.py
kervi/kervi-core
3c1e3c8a17a7b4d085d8a28b99180ff2a96b0e23
[ "MIT" ]
null
null
null
kervi/spine/__init__.py
kervi/kervi-core
3c1e3c8a17a7b4d085d8a28b99180ff2a96b0e23
[ "MIT" ]
null
null
null
#Copyright 2016 Tim Wentlau. #Distributed under the MIT License. See LICENSE in root of project. """ This module bootstraps the central messagegin system in Kervi. Include this module in all modules where communication is needed. Usage: from kervi.spine import Spine myValue=10 spine = Spine() spine.sendCommand("Set...
21.421053
90
0.728501
111
814
5.315315
0.513514
0.084746
0.10678
0.064407
0.379661
0.379661
0.379661
0.379661
0.20339
0.20339
0
0.012346
0.203931
814
37
91
22
0.898148
0.775184
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
25a97d30d02a15f52834341a67e17b3954ef1fb2
514
py
Python
pbsuite/banana/SeqAsm.py
esrice/PBJelly
d4d2b10881a5e53e114a37bbbf1c2d7407a9573c
[ "BSD-2-Clause-FreeBSD" ]
7
2019-06-03T09:04:32.000Z
2022-02-23T18:35:13.000Z
pbsuite/banana/SeqAsm.py
esrice/PBJelly
d4d2b10881a5e53e114a37bbbf1c2d7407a9573c
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
pbsuite/banana/SeqAsm.py
esrice/PBJelly
d4d2b10881a5e53e114a37bbbf1c2d7407a9573c
[ "BSD-2-Clause-FreeBSD" ]
2
2019-11-05T19:53:56.000Z
2020-10-28T03:24:18.000Z
import sys from difflib import SequenceMatcher USAGE= "%prog A small assembler that quickly guesses at consensus of small, completely overlapping sequences""" ss = ["CGCGTACGCG", [" a = "dsa jld lal" b = "dsajld kll" c = "dsc jle kal" d = "dsd jlekal" ss = [a,b,c,d] s = SequenceMatcher() for i in range(len(...
18.357143
111
0.599222
81
514
3.753086
0.641975
0.046053
0
0
0
0
0
0
0
0
0
0.008043
0.274319
514
27
112
19.037037
0.806971
0
0
0
0
0
0.29572
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.15
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
25afc0edf3571f742c836d1ec8d9f8b84d549edb
1,406
py
Python
Module3/raw_sockets.py
ioef/SPSE
37eaeb0fd7c5cf564c3b60590f6bfe4de928b920
[ "MIT" ]
16
2017-03-23T16:27:20.000Z
2022-03-31T07:04:40.000Z
Module3/raw_sockets.py
indiancyberhunter/SPSE
37eaeb0fd7c5cf564c3b60590f6bfe4de928b920
[ "MIT" ]
null
null
null
Module3/raw_sockets.py
indiancyberhunter/SPSE
37eaeb0fd7c5cf564c3b60590f6bfe4de928b920
[ "MIT" ]
8
2016-10-11T13:18:08.000Z
2022-02-12T19:38:57.000Z
#!/usr/bin/env python import socket import struct import binascii ''' PF_PACKET: Packet Sockets are used to receive and send raw packets at the device driver (OSI L2) level. SOCK_RAW: Packets including the Data Link Level header 0x0800: Shows the code for the protocol of interest which is the IP Protocol ''' rawSoc...
27.038462
103
0.743954
223
1,406
4.618834
0.421525
0.015534
0.043689
0.061165
0.036893
0
0
0
0
0
0
0.047658
0.134424
1,406
51
104
27.568627
0.798685
0.161451
0
0
0
0
0.122713
0
0
0
0.006459
0
0
0
null
null
0
0.125
null
null
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
1
0
0
0
0
0
0
0
0
1
25be4cdf0f83ad4b305d0649f792e9b1aa623438
2,995
py
Python
tabs/tab_introduction.py
kshitijmamgain/Health-Analysis
b58745afba1063b8e86986dbff2e053bb2fa888c
[ "Apache-2.0" ]
5
2020-03-21T11:26:28.000Z
2021-12-03T08:23:02.000Z
tabs/tab_introduction.py
kshitijmamgain/Health-Analysis
b58745afba1063b8e86986dbff2e053bb2fa888c
[ "Apache-2.0" ]
null
null
null
tabs/tab_introduction.py
kshitijmamgain/Health-Analysis
b58745afba1063b8e86986dbff2e053bb2fa888c
[ "Apache-2.0" ]
1
2021-05-16T02:31:58.000Z
2021-05-16T02:31:58.000Z
import dash_html_components as html import dash_core_components as dcc import base64 img_path = './images/Intro.png' img_base64 = base64.b64encode(open(img_path, 'rb').read()).decode('ascii') intro_text=""" ###### Background Aim of the project is to analyze user data collected from Samsung health app and provide inter...
52.54386
525
0.70217
397
2,995
5.231738
0.554156
0.024073
0.015888
0.013481
0
0
0
0
0
0
0
0.009298
0.210017
2,995
57
526
52.54386
0.868555
0.004007
0
0.073171
0
0.097561
0.774446
0.008177
0
0
0
0
0
1
0
false
0
0.097561
0
0.097561
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
25c015e9fa5cd5cd9cfe69fd22cc1bbd9f880db4
15,296
py
Python
pygasus/engine/sqlalchemy/engine.py
vincent-lg/pygasus
06eaa338c2600316e7e5426ba6132f148282d94b
[ "BSD-3-Clause" ]
null
null
null
pygasus/engine/sqlalchemy/engine.py
vincent-lg/pygasus
06eaa338c2600316e7e5426ba6132f148282d94b
[ "BSD-3-Clause" ]
null
null
null
pygasus/engine/sqlalchemy/engine.py
vincent-lg/pygasus
06eaa338c2600316e7e5426ba6132f148282d94b
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2021, LE GOFF Vincent # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this # list of conditions and th...
36.075472
92
0.628334
1,852
15,296
5.104752
0.203024
0.020309
0.01777
0.015232
0.354347
0.320605
0.288555
0.262323
0.249841
0.229744
0
0.001024
0.297725
15,296
423
93
36.160757
0.87898
0.120816
0
0.25
0
0
0.03022
0.008042
0
0
0
0
0.005814
0
null
null
0
0.087209
null
null
0.005814
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
25c06a406dd0e42bd7e35e77a94c155ec9521f67
642
py
Python
src/babylon/models/ingredient.py
Bl4ck4/babylon
4c3f98be799d232b78d0bd4b4aa831f19338da37
[ "MIT" ]
null
null
null
src/babylon/models/ingredient.py
Bl4ck4/babylon
4c3f98be799d232b78d0bd4b4aa831f19338da37
[ "MIT" ]
null
null
null
src/babylon/models/ingredient.py
Bl4ck4/babylon
4c3f98be799d232b78d0bd4b4aa831f19338da37
[ "MIT" ]
1
2021-10-02T10:28:24.000Z
2021-10-02T10:28:24.000Z
from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.orm import relationship from ..database import Base class ModelIngredient(Base): __tablename__ = "ingredient" id = Column('id', Integer, primary_key=True) name = Column('name', String, unique=True) recipes = relationship("Ing...
33.789474
80
0.732087
72
642
6.277778
0.472222
0.132743
0.053097
0
0
0
0
0
0
0
0
0
0.160436
642
18
81
35.666667
0.83859
0
0
0
0
0
0.135514
0.03271
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.846154
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
25c1ea4f62fffd2e5b21b6bbbc59145af45bdec6
328
py
Python
API_hardware/GPIO_MOCK.py
andersenmp/Temperature_Controller
a1a1c498cf5dca4d4e28ba630a3f5939da0ab7ce
[ "Apache-2.0" ]
null
null
null
API_hardware/GPIO_MOCK.py
andersenmp/Temperature_Controller
a1a1c498cf5dca4d4e28ba630a3f5939da0ab7ce
[ "Apache-2.0" ]
null
null
null
API_hardware/GPIO_MOCK.py
andersenmp/Temperature_Controller
a1a1c498cf5dca4d4e28ba630a3f5939da0ab7ce
[ "Apache-2.0" ]
null
null
null
#Mock class for GPIO BOARD = 1 BCM = 2 OUT = 1 IN = 1 HIGH = 1 LOW = 0 def setmode(a): print ("setmode GPIO",a) def setup(a, b): print ("setup GPIO", a, b) def output(a, b): print ("output GPIO", a, b) def cleanup(): print ("cleanup GPIO", a, b) def setwarnings(flag): print ("setwarnings"...
11.310345
32
0.579268
54
328
3.518519
0.425926
0.052632
0.094737
0.142105
0
0
0
0
0
0
0
0.024793
0.262195
328
28
33
11.714286
0.760331
0.057927
0
0
0
0
0.181818
0
0
0
0
0
0
1
0.3125
false
0
0
0
0.3125
0.3125
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
25c38dd25ce7e315fe1c9a4166bfab471430f685
493
py
Python
2.dcgan/dcgan2/data_lister.py
drdrpyan/gan_tutorial
389a65e2384581b3da443b3a1fe6ec9790217b17
[ "MIT" ]
null
null
null
2.dcgan/dcgan2/data_lister.py
drdrpyan/gan_tutorial
389a65e2384581b3da443b3a1fe6ec9790217b17
[ "MIT" ]
null
null
null
2.dcgan/dcgan2/data_lister.py
drdrpyan/gan_tutorial
389a65e2384581b3da443b3a1fe6ec9790217b17
[ "MIT" ]
null
null
null
import glob import abc import os class DataLister(abc.ABC): @abc.abstractclassmethod def list(self): raise Exception('Implement Datarist.list(self)') class FileLister(DataLister): def __init__(self, root, ext='*', recursive=False): self.root = root self.ext = ext self.recu...
24.65
64
0.636917
60
493
5.166667
0.433333
0.077419
0.070968
0
0
0
0
0
0
0
0
0
0.241379
493
20
65
24.65
0.828877
0
0
0.125
0
0
0.064777
0
0
0
0
0
0
1
0.1875
false
0
0.1875
0
0.5625
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
25c41adeeab6845f5341fd452a087370d8c0d7d6
1,066
py
Python
devices/filters.py
maznu/peering-manager
d249fcf530f4cc48b39429badb79bc203e0148ba
[ "Apache-2.0" ]
127
2017-10-12T00:27:45.000Z
2020-08-07T11:13:55.000Z
devices/filters.py
maznu/peering-manager
d249fcf530f4cc48b39429badb79bc203e0148ba
[ "Apache-2.0" ]
247
2017-12-26T12:55:34.000Z
2020-08-08T11:57:35.000Z
devices/filters.py
maznu/peering-manager
d249fcf530f4cc48b39429badb79bc203e0148ba
[ "Apache-2.0" ]
63
2017-10-13T06:46:05.000Z
2020-08-08T00:41:57.000Z
import django_filters from django.db.models import Q from devices.enums import PasswordAlgorithm from devices.models import Configuration, Platform from utils.filters import ( BaseFilterSet, CreatedUpdatedFilterSet, NameSlugSearchFilterSet, TagFilter, ) class ConfigurationFilterSet(BaseFilterSet, Cre...
28.052632
87
0.717636
102
1,066
7.382353
0.529412
0.051793
0.156707
0
0
0
0
0
0
0
0
0.002326
0.193246
1,066
37
88
28.810811
0.873256
0
0
0.068966
0
0
0.067542
0
0
0
0
0
0
1
0.034483
false
0.103448
0.172414
0
0.517241
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
25c7d4f4ab895c3546fadbae6c447e5b013a60f4
4,285
py
Python
p2p/lib/python2.7/site-packages/celery/exceptions.py
sivaprakashniet/push_pull
757be6fcdfdc8e73eeea5cb41a733d1916c7ae20
[ "BSD-3-Clause" ]
null
null
null
p2p/lib/python2.7/site-packages/celery/exceptions.py
sivaprakashniet/push_pull
757be6fcdfdc8e73eeea5cb41a733d1916c7ae20
[ "BSD-3-Clause" ]
1
2018-07-21T03:07:22.000Z
2018-07-23T03:40:35.000Z
p2p/lib/python2.7/site-packages/celery/exceptions.py
sivaprakashniet/push_pull
757be6fcdfdc8e73eeea5cb41a733d1916c7ae20
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ celery.exceptions ~~~~~~~~~~~~~~~~~ This module contains all exceptions used by the Celery API. """ from __future__ import absolute_import from .five import string_t from billiard.exceptions import ( # noqa SoftTimeLimitExceeded, TimeLimitExceeded, WorkerLostError, Termi...
26.288344
78
0.673512
473
4,285
5.985201
0.391121
0.025433
0.022607
0.044507
0.032497
0.018368
0
0
0
0
0
0.002069
0.210502
4,285
162
79
26.450617
0.834762
0.266511
0
0.068493
0
0
0.163076
0.031157
0
0
0
0
0
1
0.09589
false
0.041096
0.082192
0.041096
0.616438
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
25d1453466e400fbf488705b5a77e26e873b2f7d
399
py
Python
lintcode/NineChapters/04/climbing-stairs.py
shootsoft/practice
49f28c2e0240de61d00e4e0291b3c5edd930e345
[ "Apache-2.0" ]
null
null
null
lintcode/NineChapters/04/climbing-stairs.py
shootsoft/practice
49f28c2e0240de61d00e4e0291b3c5edd930e345
[ "Apache-2.0" ]
null
null
null
lintcode/NineChapters/04/climbing-stairs.py
shootsoft/practice
49f28c2e0240de61d00e4e0291b3c5edd930e345
[ "Apache-2.0" ]
null
null
null
__author__ = 'yinjun' class Solution: """ @param n: An integer @return: An integer """ def climbStairs(self, n): # write your code here if n<=2 : return n stairs = [0 for i in range(n)] stairs[0] = 1 stairs[1] = 2 for i in range(2, n):...
17.347826
49
0.478697
55
399
3.4
0.454545
0.112299
0.085562
0.117647
0
0
0
0
0
0
0
0.041494
0.39599
399
22
50
18.136364
0.73444
0.155388
0
0
0
0
0.018927
0
0
0
0
0.045455
0
1
0.090909
false
0
0
0
0.363636
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
25e5ea7f93a19f15e3bd3d22d4509ed691d7f6b6
1,287
py
Python
pype9/simulate/common/network/synapses.py
tclose/Pype9
23f96c0885fd9df12d9d11ff800f816520e4b17a
[ "MIT" ]
null
null
null
pype9/simulate/common/network/synapses.py
tclose/Pype9
23f96c0885fd9df12d9d11ff800f816520e4b17a
[ "MIT" ]
null
null
null
pype9/simulate/common/network/synapses.py
tclose/Pype9
23f96c0885fd9df12d9d11ff800f816520e4b17a
[ "MIT" ]
1
2021-04-08T12:46:21.000Z
2021-04-08T12:46:21.000Z
""" Author: Thomas G. Close (tclose@oist.jp) Copyright: 2012-2014 Thomas G. Close. License: This file is part of the "NineLine" package, which is released under the MIT Licence, see LICENSE for details. """ from __future__ import absolute_import from builtins import object from abc import ABCMeta from ...
30.642857
79
0.697747
157
1,287
5.484076
0.522293
0.052265
0.027875
0.072009
0.085947
0
0
0
0
0
0
0.00885
0.20979
1,287
41
80
31.390244
0.837758
0.241647
0
0
0
0
0.041981
0
0
0
0
0
0
1
0.095238
false
0
0.238095
0
0.619048
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
25effcf3ecfa5b616182afd9fb201dee62216997
918
py
Python
0120.triangle/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
5
2020-05-23T02:18:26.000Z
2021-07-05T05:36:01.000Z
0120.triangle/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
1
2020-06-10T07:17:24.000Z
2020-07-20T02:21:24.000Z
0120.triangle/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
1
2019-04-23T13:01:50.000Z
2019-04-23T13:01:50.000Z
from typing import List class Solution: def minimumTotal(self, triangle: List[List[int]]) -> int: # 自底向上 length = len(triangle) if not length: return 0 for i in range(length - 2, -1, -1): for j in range(i + 1): triangle[i][j] = triangle[i][j]...
31.655172
97
0.45207
123
918
3.365854
0.252033
0.23913
0.144928
0.13285
0.570048
0.519324
0.425121
0.425121
0.425121
0.425121
0
0.042125
0.405229
918
28
98
32.785714
0.716117
0.009804
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0
0.347826
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d30133b4b25888377290019690cd538b710d32ae
1,700
py
Python
scripts/tools/pycurl.py
yjbanov/chromium_build
22e3872f14dbf367cd787caa638f3ac948eac7d7
[ "BSD-3-Clause" ]
null
null
null
scripts/tools/pycurl.py
yjbanov/chromium_build
22e3872f14dbf367cd787caa638f3ac948eac7d7
[ "BSD-3-Clause" ]
null
null
null
scripts/tools/pycurl.py
yjbanov/chromium_build
22e3872f14dbf367cd787caa638f3ac948eac7d7
[ "BSD-3-Clause" ]
1
2020-07-23T11:05:06.000Z
2020-07-23T11:05:06.000Z
#!/usr/bin/env python # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import logging import sys import time import requests # "Unable to import" pylint: disable=F0401 def main(): pars...
29.310345
76
0.673529
242
1,700
4.628099
0.516529
0.053571
0.060714
0.032143
0.026786
0
0
0
0
0
0
0.025018
0.200588
1,700
57
77
29.824561
0.799117
0.127647
0
0
0
0
0.218539
0
0
0
0
0
0
0
null
null
0
0.113636
null
null
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
1
0
0
0
0
0
0
0
0
1
d302e1b82bf86d7417ba55b36bd78e388419eedf
4,566
py
Python
Solid/TabuSearch.py
dutc/Solid
852ad193acda1f1a844ac4071539a9099b22bcc7
[ "MIT" ]
2
2017-08-23T20:56:33.000Z
2021-02-22T23:08:20.000Z
Solid/TabuSearch.py
dutc/Solid
852ad193acda1f1a844ac4071539a9099b22bcc7
[ "MIT" ]
null
null
null
Solid/TabuSearch.py
dutc/Solid
852ad193acda1f1a844ac4071539a9099b22bcc7
[ "MIT" ]
2
2019-03-26T19:15:16.000Z
2019-08-23T08:01:19.000Z
from abc import ABCMeta, abstractmethod from copy import deepcopy from random import randint, random, shuffle from collections import deque from numpy import argmax class TabuSearch: """ Conducts tabu search """ __metaclass__ = ABCMeta cur_steps = None tabu_size = None tabu_list = None ...
32.614286
88
0.581472
526
4,566
4.863118
0.228137
0.050039
0.040657
0.046521
0.150899
0.084832
0.066067
0
0
0
0
0.003001
0.343189
4,566
140
89
32.614286
0.84995
0
0
0.219512
0
0
0.083333
0
0
0
0
0
0
0
null
null
0.02439
0.060976
null
null
0.04878
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
d30b1b0f40de651b128f101c91bdd0d3b24486d4
1,488
py
Python
eval/opa-more/generic-larger/generate.py
michiari/POMC
862574858e7e60e0bb695bcf86a5aaada026a0ff
[ "MIT" ]
null
null
null
eval/opa-more/generic-larger/generate.py
michiari/POMC
862574858e7e60e0bb695bcf86a5aaada026a0ff
[ "MIT" ]
null
null
null
eval/opa-more/generic-larger/generate.py
michiari/POMC
862574858e7e60e0bb695bcf86a5aaada026a0ff
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 formulas = [ "XNd perr", "PNd (PNd (call And (XNu exc)))", "PNd (han And (XNd (exc And (XBu call))))", "G (exc --> XBu call)", "T Ud exc", "PNd (PNd (T Ud exc))", "G ((call And pa And ((~ ret) Ud WRx)) --> XNu exc)", "PNd (PBu call)", "PNd (PNd (PNd (PBu call)...
31.659574
77
0.469758
248
1,488
2.818548
0.237903
0.110157
0.06867
0.04721
0.183119
0.06867
0.06867
0.06867
0.06867
0
0
0.003784
0.289651
1,488
46
78
32.347826
0.657521
0.014113
0
0
0
0.047619
0.701706
0.015017
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
d30cb1b6e0f393cfe42a0c0cfcc998377b103ecb
1,586
py
Python
pynaries/__init__.py
marshall/pynaries
52c0376b95de43ad9b910b1cab08c17d3600e070
[ "Apache-2.0" ]
1
2016-05-09T10:08:26.000Z
2016-05-09T10:08:26.000Z
pynaries/__init__.py
marshall/pynaries
52c0376b95de43ad9b910b1cab08c17d3600e070
[ "Apache-2.0" ]
null
null
null
pynaries/__init__.py
marshall/pynaries
52c0376b95de43ad9b910b1cab08c17d3600e070
[ "Apache-2.0" ]
null
null
null
# pynaries - licensed under the Apache Public License 2 # see LICENSE in the root folder for details on the license. # Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved. import os, sys, logging, logging.config import simplejson, simplejson.scanner import bundle, version from bundle import Bundle, Resolver, Ad...
33.744681
99
0.747163
218
1,586
5.417431
0.408257
0.027096
0.055885
0.064352
0.174428
0.147333
0.147333
0.147333
0.094835
0.094835
0
0.007868
0.118537
1,586
47
100
33.744681
0.83691
0.107818
0
0.057143
0
0
0.080737
0
0
0
0
0
0
0
null
null
0
0.171429
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
d3103e808ea13c649b6abcfa7492137e0badb67b
402
py
Python
test/plugins/test_hexdump.py
CarveSystems/usbq
2accfa010b785721c0ba0199dae8e02d982114be
[ "MIT" ]
63
2019-08-14T13:16:30.000Z
2022-02-25T01:56:23.000Z
test/plugins/test_hexdump.py
CarveSystems/usbq
2accfa010b785721c0ba0199dae8e02d982114be
[ "MIT" ]
4
2019-12-03T20:01:44.000Z
2022-01-01T08:56:35.000Z
test/plugins/test_hexdump.py
CarveSystems/usbq
2accfa010b785721c0ba0199dae8e02d982114be
[ "MIT" ]
7
2020-01-09T11:10:14.000Z
2021-12-21T13:58:43.000Z
import pytest from usbq.plugins.hexdump import Hexdump from usbq.usbmitm_proto import USBMessageDevice from usbq.usbmitm_proto import USBMessageHost @pytest.mark.parametrize('cls', [USBMessageDevice, USBMessageHost]) def test_hexdump(capsys, cls): pkt = cls() assert hasattr(pkt, 'content') Hexdump().usbq...
26.8
67
0.758706
50
402
6
0.52
0.08
0.1
0.133333
0.173333
0
0
0
0
0
0
0.002899
0.141791
402
14
68
28.714286
0.866667
0
0
0
0
0
0.024876
0
0
0
0
0
0.181818
1
0.090909
false
0
0.363636
0
0.454545
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
d31960a393b1d44087df11942f8c191c2278c2b0
6,588
py
Python
snewpdag/plugins/DiffPointing.py
SNEWS2/snewpdag
57f886cf08e1acd8af48ee486a1c2400e2b77b8b
[ "BSD-3-Clause" ]
null
null
null
snewpdag/plugins/DiffPointing.py
SNEWS2/snewpdag
57f886cf08e1acd8af48ee486a1c2400e2b77b8b
[ "BSD-3-Clause" ]
21
2021-06-09T10:31:40.000Z
2022-03-21T17:14:03.000Z
snewpdag/plugins/DiffPointing.py
SNEWS2/snewpdag
57f886cf08e1acd8af48ee486a1c2400e2b77b8b
[ "BSD-3-Clause" ]
9
2021-07-11T17:45:42.000Z
2021-09-09T22:07:18.000Z
""" DiffPointing: generate a skymap of SN direction chi2's based on Wiktor Jasniak's Chi2Calculation Arguments: detector_location: filename of detector database for DetectorDB nside: healpix nside parameter, i.e., skymap resolution min_dts: minimum number of time differences in order to do calculation Input p...
32.776119
76
0.568761
995
6,588
3.734673
0.233166
0.043595
0.02099
0.005382
0.230355
0.208827
0.172228
0.159849
0.159849
0.138321
0
0.042558
0.290225
6,588
200
77
32.94
0.752139
0.346843
0
0.223881
1
0
0.061069
0
0
0
0
0
0
1
0.052239
false
0
0.044776
0
0.171642
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
d3197abf1087f99c489d9cdf327bccd350ae7eb2
356
py
Python
spyke/utils/functional.py
m4reQ/sPYke
8a0c8755424963017ea747d913318a310c4b1cb6
[ "MIT" ]
1
2020-10-27T01:51:07.000Z
2020-10-27T01:51:07.000Z
spyke/utils/functional.py
m4reQ/sPYke
8a0c8755424963017ea747d913318a310c4b1cb6
[ "MIT" ]
7
2020-10-01T06:42:09.000Z
2021-06-23T12:19:09.000Z
spyke/utils/functional.py
m4reQ/sPYke
8a0c8755424963017ea747d913318a310c4b1cb6
[ "MIT" ]
null
null
null
class Iterator(object): def __init__(self, iterable, looping: bool = False): self.iterable = iterable self.lastPos = 0 self.looping = looping def __next__(self): pos = self.lastPos self.lastPos += 1 if self.lastPos >= len(self.iterable): if self.looping: self.lastPos = 0 else: raise StopIt...
20.941176
53
0.688202
47
356
5.042553
0.446809
0.232068
0.101266
0
0
0
0
0
0
0
0
0.010563
0.202247
356
17
54
20.941176
0.823944
0
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d320040744727c79544836ad4b920af5d25525d2
585
py
Python
python/etl/transform_factory/tmp_to_src.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
1
2021-12-01T00:35:13.000Z
2021-12-01T00:35:13.000Z
python/etl/transform_factory/tmp_to_src.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
null
null
null
python/etl/transform_factory/tmp_to_src.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
null
null
null
from laplace_spark.modules.provider import Provider # type: ignore from laplace_spark.transformation_factory.base import TransformationFactory class TransformationFactoryTmpToSrc(TransformationFactory): def provider(self, provider: Provider) -> "TransformationFactoryTmpToSrc": if provider is Provider.SMA...
39
84
0.74359
47
585
9.085106
0.531915
0.077283
0.112412
0.140515
0.173302
0
0
0
0
0
0
0
0.208547
585
14
85
41.785714
0.922246
0.020513
0
0
0
0
0.050788
0.050788
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.636364
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
d32538c80f120bd388fbedcbd8f40f9742aa6c05
8,775
py
Python
src/third_party/wiredtiger/test/suite/test_alter02.py
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
72
2020-06-12T06:33:41.000Z
2021-03-22T03:15:56.000Z
src/third_party/wiredtiger/test/suite/test_alter02.py
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
9
2020-07-02T09:36:49.000Z
2021-03-25T23:54:00.000Z
src/third_party/wiredtiger/test/suite/test_alter02.py
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
14
2020-06-12T03:08:03.000Z
2021-02-03T11:43:09.000Z
#!/usr/bin/env python # # Public Domain 2014-2018 MongoDB, Inc. # Public Domain 2008-2014 WiredTiger, Inc. # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either in source code form or as a compil...
37.340426
81
0.602621
1,103
8,775
4.703536
0.262919
0.016191
0.01542
0.010023
0.227448
0.174056
0.153817
0.128373
0.087124
0.069391
0
0.014865
0.294701
8,775
234
82
37.5
0.823396
0.278177
0
0.292208
0
0
0.103091
0.020236
0
0
0
0
0.025974
0
null
null
0.006494
0.012987
null
null
0.006494
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
d32e8c0e3eb5cecd71f2830b40454a314bf5c595
703
py
Python
psi/admin.py
montylounge/django-psi
73c3e3b32f4f32d0ddb70cfa4d18b5d204df69bf
[ "MIT" ]
9
2015-01-06T10:24:44.000Z
2019-07-03T14:55:31.000Z
psi/admin.py
montylounge/django-psi
73c3e3b32f4f32d0ddb70cfa4d18b5d204df69bf
[ "MIT" ]
1
2017-08-01T07:33:53.000Z
2017-08-12T13:40:07.000Z
psi/admin.py
montylounge/django-psi
73c3e3b32f4f32d0ddb70cfa4d18b5d204df69bf
[ "MIT" ]
null
null
null
from django.contrib import admin from psi.models import PageInsight, RuleResult, Screenshot class RuleResultsAdmin(admin.ModelAdmin): list_display = ('title', 'impact', 'pageInsight') raw_id_fields = ('pageInsight',) class ScreenshotAdmin(admin.ModelAdmin): raw_id_fields = ('pageInsight',) class PageI...
33.47619
81
0.731152
63
703
8.063492
0.507937
0.088583
0.100394
0.102362
0.228346
0
0
0
0
0
0
0
0.150782
703
21
82
33.47619
0.850921
0
0
0.142857
0
0
0.213068
0.03267
0
0
0
0
0
1
0
false
0
0.142857
0
0.642857
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
d330bac8aa77139bc0ff1f4cbbe9e55e71498971
19,349
py
Python
daemonx/daemon.py
rackerlabs/daemonx
86a7c812fd32d8dc6a493ce2b5a59c08cc1483d8
[ "Apache-2.0" ]
null
null
null
daemonx/daemon.py
rackerlabs/daemonx
86a7c812fd32d8dc6a493ce2b5a59c08cc1483d8
[ "Apache-2.0" ]
null
null
null
daemonx/daemon.py
rackerlabs/daemonx
86a7c812fd32d8dc6a493ce2b5a59c08cc1483d8
[ "Apache-2.0" ]
1
2020-07-23T02:46:21.000Z
2020-07-23T02:46:21.000Z
# Copyright (c) 2013 Greg Lange # # 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...
28.454412
86
0.574035
2,378
19,349
4.531119
0.182086
0.014942
0.023666
0.011694
0.172993
0.107285
0.097262
0.085568
0.07703
0.065151
0
0.007094
0.322497
19,349
679
87
28.496318
0.81486
0.102848
0
0.315789
0
0
0.100912
0
0
0
0
0
0
0
null
null
0.014354
0.04067
null
null
0.011962
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
d3366e36f46eb53f8a697f032ec5fe41eecc30a9
1,120
py
Python
ptst_gen_conf.py
kmkurn/ptst-semeval2021
7845ddae53e5fbceda3ab0b75a3ac1864e774e17
[ "MIT" ]
1
2021-04-01T07:22:04.000Z
2021-04-01T07:22:04.000Z
ptst_gen_conf.py
kmkurn/ptst-semeval2021
7845ddae53e5fbceda3ab0b75a3ac1864e774e17
[ "MIT" ]
null
null
null
ptst_gen_conf.py
kmkurn/ptst-semeval2021
7845ddae53e5fbceda3ab0b75a3ac1864e774e17
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2021 Kemal Kurniawan from pathlib import Path import argparse import json import random def generate(): return { "lr": 10 ** random.uniform(-6, -4), # [1e-6 .. 1e-4) "temperature": random.uniform(1, 10), # [1 .. 10) } if __name__ == "__main__": ...
26.046512
95
0.616071
147
1,120
4.564626
0.578231
0.053651
0.076006
0
0
0
0
0
0
0
0
0.023641
0.244643
1,120
42
96
26.666667
0.769504
0.071429
0
0.096774
1
0
0.246139
0
0
0
0
0
0
1
0.032258
false
0
0.129032
0.032258
0.193548
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
d338ab4e0bc8d0e9919d0c285fbab81e770ab93f
1,498
py
Python
chem_eng_ml/utils/pandas.py
aimat-lab/ChemEngML
b8ae4fc840090cb29b7badbab8d5b7a7dd4f5e4f
[ "MIT" ]
1
2021-04-29T20:01:38.000Z
2021-04-29T20:01:38.000Z
chem_eng_ml/utils/pandas.py
aimat-lab/ChemEngML
b8ae4fc840090cb29b7badbab8d5b7a7dd4f5e4f
[ "MIT" ]
null
null
null
chem_eng_ml/utils/pandas.py
aimat-lab/ChemEngML
b8ae4fc840090cb29b7badbab8d5b7a7dd4f5e4f
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import ast def apply_filter(df: pd.DataFrame, string: str) -> pd.DataFrame: """Applies a filter on a dataframe column and returns the modified dataframe. The string input is parsed by a simple string split into column name, operator and value. Hence, when passing lis...
36.536585
98
0.489987
217
1,498
3.368664
0.396313
0.030096
0.065663
0.073871
0.068399
0.068399
0.068399
0.068399
0.068399
0.068399
0
0.029323
0.339786
1,498
41
99
36.536585
0.709808
0.608144
0
0
0
0
0.01996
0
0
0
0
0
0
1
0.0625
false
0.0625
0.1875
0
0.3125
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
d33cc166a9e3704fadc8cdf2651a7d85d10d4603
463
py
Python
constants_sample.py
appkabob/adobe_connect_controller
46114a8ae1b31a7310115dc7951a724a01d76368
[ "MIT" ]
null
null
null
constants_sample.py
appkabob/adobe_connect_controller
46114a8ae1b31a7310115dc7951a724a01d76368
[ "MIT" ]
1
2021-11-08T16:27:03.000Z
2021-11-08T16:27:03.000Z
constants_sample.py
appkabob/adobe_connect_controller
46114a8ae1b31a7310115dc7951a724a01d76368
[ "MIT" ]
null
null
null
# REPLACE EVERYTHING IN CURLY BRACKETS {}, INCLUDING THE BRACKETS THEMSELVES. # THEN RENAME THIS FILE TO constants.py AND MOVE IT INTO YOUR PROJECT'S ROOT CONNECT_BASE_URL = '{YOUR BASE URL}/api/xml?action=' CONNECT_LOGIN = '{YOUR LOGIN}' CONNECT_PWD = '{YOUR PASSWORD}' # USERS YOU WANT TO BE ABLE TO EXCLUDE FROM REP...
35.615385
77
0.637149
57
463
5.070175
0.77193
0.048443
0
0
0
0
0
0
0
0
0
0.008824
0.265659
463
12
78
38.583333
0.841176
0.431965
0
0
0
0
0.362934
0
0
0
0
0
0
1
0
false
0.142857
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
0
1
0
0
0
0
0
1
d33f3906e5f386c44f29dc993d0e943c3f6df423
699
py
Python
workflow/scripts/extract-sequences.py
IKIM-Essen/MSA-phylogeny
cbab823c86a7882d3acdeece5e46158318ff6fc2
[ "MIT" ]
null
null
null
workflow/scripts/extract-sequences.py
IKIM-Essen/MSA-phylogeny
cbab823c86a7882d3acdeece5e46158318ff6fc2
[ "MIT" ]
null
null
null
workflow/scripts/extract-sequences.py
IKIM-Essen/MSA-phylogeny
cbab823c86a7882d3acdeece5e46158318ff6fc2
[ "MIT" ]
null
null
null
import pysam from Bio import SeqIO from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord with pysam.AlignmentFile(snakemake.input.bam, "rb") as samfile, open(snakemake.output.seq, "w") as out_fasta: for record in samfile.fetch(): if record.reference_name.endswith(snakemake.wildcards.region): ...
43.6875
124
0.668097
87
699
5.183908
0.482759
0.133038
0.126386
0.110865
0
0
0
0
0
0
0
0.001838
0.221745
699
15
125
46.6
0.827206
0.157368
0
0
0
0
0.02385
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
d33fdcfaa73d39fe54137bf327b5e49fda640a4a
17,392
py
Python
pylightgbm/models.py
ArdalanM/pyLightGBM
cb8bb4a8904dc541af579691ab100ca0466eb098
[ "MIT" ]
390
2016-10-20T08:46:58.000Z
2022-02-10T01:46:49.000Z
pylightgbm/models.py
ArdalanM/pyLightGBM
cb8bb4a8904dc541af579691ab100ca0466eb098
[ "MIT" ]
37
2016-10-20T10:06:02.000Z
2018-12-17T20:09:53.000Z
pylightgbm/models.py
ArdalanM/pyLightGBM
cb8bb4a8904dc541af579691ab100ca0466eb098
[ "MIT" ]
108
2016-10-20T09:21:47.000Z
2022-02-15T07:52:47.000Z
# -*- coding: utf-8 -*- """ @author: Ardalan MEHRANI <ardalan77400@gmail.com> @brief: """ from __future__ import print_function import os import re import sys import shutil import tempfile import subprocess import numpy as np import scipy.sparse as sps from pylightgbm.utils import io_utils from sklearn.base import Base...
42.11138
104
0.502357
1,768
17,392
4.653846
0.148756
0.013855
0.014584
0.0158
0.672338
0.657754
0.640982
0.637579
0.631988
0.608775
0
0.013808
0.408694
17,392
412
105
42.213592
0.78627
0.053358
0
0.619048
0
0
0.076928
0.005993
0
0
0
0
0.005952
1
0.029762
false
0
0.041667
0
0.098214
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d341fb393b15cdde6b03460604aea4632d2fb49a
1,745
py
Python
accounts/migrations/0002_auto_20151120_1145.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
null
null
null
accounts/migrations/0002_auto_20151120_1145.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
10
2019-12-26T17:31:31.000Z
2022-03-21T22:17:33.000Z
accounts/migrations/0002_auto_20151120_1145.py
naamara/blink
326c035b2f0ef0feae4cd7aa2d4e73fa4a40171a
[ "Unlicense", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import accounts.models class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.AddField( model_name='profile', ...
29.083333
73
0.56447
165
1,745
5.757576
0.321212
0.132632
0.169474
0.198947
0.623158
0.623158
0.623158
0.578947
0.578947
0.458947
0
0.019574
0.326648
1,745
59
74
29.576271
0.788936
0.012034
0
0.627451
0
0
0.092915
0.012195
0
0
0
0
0
1
0
false
0
0.058824
0
0.117647
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
d34291902dfe6fe9266aa427f09187382bff34e7
407
py
Python
test_rdf_header.py
mconlon17/vivo-foundation
202f458bc72fb76c7d89240091c4fb00522cfe3f
[ "BSD-3-Clause" ]
null
null
null
test_rdf_header.py
mconlon17/vivo-foundation
202f458bc72fb76c7d89240091c4fb00522cfe3f
[ "BSD-3-Clause" ]
1
2015-04-04T01:38:51.000Z
2015-04-04T01:38:51.000Z
tools/test_rdf_header.py
mconlon17/vivo-1.5-improvement
44d8335eb7bbe518374a53c0e1f9f39014023ee7
[ "BSD-3-Clause" ]
null
null
null
""" test_rdf_header.py -- show the rdf_header Version 0.1 MC 2013-12-27 -- Initial version. """ __author__ = "Michael Conlon" __copyright__ = "Copyright 2013, University of Florida" __license__ = "BSD 3-Clause license" __version__ = "0.1" import vivotools as vt from datetime import dateti...
19.380952
57
0.690418
54
407
4.833333
0.648148
0.103448
0.068966
0
0
0
0
0
0
0
0
0.052147
0.199017
407
20
58
20.35
0.748466
0
0
0
0
0
0.285235
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.333333
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
d343321f2424b5527b0b4dccd626b41da8590034
1,845
py
Python
supervisor/medusa/text_socket.py
infoxchange/supervisor
d29860c682f3e050aeaaf8f984a9521f62fccbad
[ "ZPL-2.1" ]
1
2015-11-19T16:00:51.000Z
2015-11-19T16:00:51.000Z
supervisor/medusa/text_socket.py
infoxchange/supervisor
d29860c682f3e050aeaaf8f984a9521f62fccbad
[ "ZPL-2.1" ]
null
null
null
supervisor/medusa/text_socket.py
infoxchange/supervisor
d29860c682f3e050aeaaf8f984a9521f62fccbad
[ "ZPL-2.1" ]
null
null
null
# -*- Mode: Python -*- __author__ = 'Scott Maxwell' from supervisor.compat import PY3 from supervisor.compat import as_string, as_bytes from socket import * # relied on to be imported from elsewhere if PY3: bin_socket = socket class text_socket(socket): def __init__(self, family=AF_INET, type=SOCK_S...
38.4375
89
0.623306
233
1,845
4.712446
0.343348
0.091075
0.063752
0.04918
0.245902
0.196721
0.196721
0.08561
0.08561
0.08561
0
0.005166
0.265583
1,845
47
90
39.255319
0.805166
0.207046
0
0
0
0
0.008941
0
0
0
0
0
0
1
0.233333
false
0
0.1
0.1
0.566667
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
d34942e7a598d05840bf16bc8b2763d537d87179
9,343
py
Python
src/pyquickhelper/server/filestore_fastapi.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
18
2015-11-10T08:09:23.000Z
2022-02-16T11:46:45.000Z
src/pyquickhelper/server/filestore_fastapi.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
321
2015-06-14T21:34:28.000Z
2021-11-28T17:10:03.000Z
src/pyquickhelper/server/filestore_fastapi.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
10
2015-06-20T01:35:00.000Z
2022-01-19T15:54:32.000Z
# -*- coding:utf-8 -*- """ @file @brief Simple class to store and retrieve files through an API. """ import os import io from typing import Optional from fastapi import FastAPI, Request, HTTPException from pydantic import BaseModel # pylint: disable=E0611 from .filestore_sqlite import SqlLite3FileStore class Item(Ba...
34.476015
91
0.627315
1,123
9,343
5.144256
0.200356
0.036005
0.046737
0.045698
0.483296
0.452311
0.42825
0.404708
0.382898
0.350528
0
0.01689
0.264904
9,343
270
92
34.603704
0.824257
0.302365
0
0.333333
0
0
0.103204
0.033167
0
0
0
0
0
1
0.044872
false
0.185897
0.057692
0
0.346154
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
d35ef3e09d8787e78357a12e797a43ec950f8f93
569
py
Python
CCSAmongUs/__init__.py
udbhavsomani/ccs-among-us
c3cf03d8f9e4d99416371af19f671399a41f961b
[ "MIT" ]
null
null
null
CCSAmongUs/__init__.py
udbhavsomani/ccs-among-us
c3cf03d8f9e4d99416371af19f671399a41f961b
[ "MIT" ]
null
null
null
CCSAmongUs/__init__.py
udbhavsomani/ccs-among-us
c3cf03d8f9e4d99416371af19f671399a41f961b
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager app = Flask(__name__) app.config['SECRET_KEY'] = '968331509722a24aaca4a6ab62dea0cd' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db' # app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql+psycopg2://postgres:...
35.5625
102
0.804921
69
569
6.362319
0.478261
0.082005
0.129841
0.123007
0.136674
0
0
0
0
0
0
0.045889
0.080844
569
15
103
37.933333
0.793499
0.175747
0
0
0
0
0.259101
0.182013
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
d35f90dbcd796a25730d866d30ba20fca9a05721
5,422
py
Python
autotest/gdrivers/heif.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
3,100
2015-01-02T10:33:40.000Z
2022-03-31T02:06:51.000Z
autotest/gdrivers/heif.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
3,496
2015-01-06T16:53:30.000Z
2022-03-31T20:18:51.000Z
autotest/gdrivers/heif.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
2,036
2015-01-08T20:22:12.000Z
2022-03-31T10:24:08.000Z
#!/usr/bin/env pytest # -*- coding: utf-8 -*- ############################################################################### # $Id$ # # Project: GDAL/OGR Test Suite # Purpose: Test HEIF driver # Author: Even Rouault, <even dot rouault at spatialys.com> # ############################################################...
36.146667
103
0.666175
721
5,422
4.947295
0.31068
0.078497
0.058312
0.061676
0.341744
0.320998
0.256518
0.229885
0.133445
0.095318
0
0.030528
0.178347
5,422
149
104
36.389262
0.770146
0.23128
0
0.326316
0
0
0.102459
0.068135
0
0
0
0
0.621053
1
0.073684
false
0
0.031579
0.010526
0.115789
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
1
0
0
0
0
0
0
0
0
0
1
d35fdd64e4a95196f6361aa54829cda38778fdd8
454
py
Python
geometric/global_vars.py
loriab/geomeTRIC
335e97896e8efc261b2a041bd7ffeade1bf3f7d7
[ "MIT" ]
null
null
null
geometric/global_vars.py
loriab/geomeTRIC
335e97896e8efc261b2a041bd7ffeade1bf3f7d7
[ "MIT" ]
null
null
null
geometric/global_vars.py
loriab/geomeTRIC
335e97896e8efc261b2a041bd7ffeade1bf3f7d7
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import division import os # The directory that this file lives in rootdir = os.path.dirname(os.path.abspath(__file__)) # Conversion factors bohr2ang = 0.529177210 ang2bohr = 1.0 / bohr2ang au2kcal = 627.5096080306 kcal2au = 1.0 / au2kcal au2kj = 2625.5002 kj2au = 1.0 / au2kj gra...
20.636364
52
0.755507
67
454
4.955224
0.686567
0.03012
0
0
0
0
0
0
0
0
0
0.228571
0.151982
454
21
53
21.619048
0.633766
0.202643
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
d365a8146206d7da40608cb0fcbd5ee5e81c6b22
1,671
py
Python
codes/thesisCodes/kmc/1d/currentCalc/lambdaFlucCreator.py
joshuahellier/PhDStuff
6fbe9e507c40e9017cde9312b0cfcc6ceefa284e
[ "MIT" ]
null
null
null
codes/thesisCodes/kmc/1d/currentCalc/lambdaFlucCreator.py
joshuahellier/PhDStuff
6fbe9e507c40e9017cde9312b0cfcc6ceefa284e
[ "MIT" ]
null
null
null
codes/thesisCodes/kmc/1d/currentCalc/lambdaFlucCreator.py
joshuahellier/PhDStuff
6fbe9e507c40e9017cde9312b0cfcc6ceefa284e
[ "MIT" ]
null
null
null
import subprocess import sys import os import math # This code is meant to manage running multiple instances of my KMCLib codes at the same time. Of course, not every calculation has been in exactly this format, but it gives the gist. # It produces the contents of "testInput.n" where n is the number of the batch job; ...
47.742857
265
0.737882
236
1,671
5.224576
0.555085
0.004866
0.006488
0
0
0
0
0
0
0
0
0.038542
0.14602
1,671
34
266
49.147059
0.825508
0.390784
0
0
0
0
0.076012
0.031589
0
0
0
0
0
1
0
false
0.074074
0.148148
0
0.148148
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
d374e31b7d09bb142c715c775419d5ccf22d5d30
2,494
py
Python
softdelete/tests/test_soft_deletion_view.py
fritill-team/django-generic-delete
dcd07bfff577525b8010b9e9790f5c054a41433e
[ "MIT" ]
null
null
null
softdelete/tests/test_soft_deletion_view.py
fritill-team/django-generic-delete
dcd07bfff577525b8010b9e9790f5c054a41433e
[ "MIT" ]
null
null
null
softdelete/tests/test_soft_deletion_view.py
fritill-team/django-generic-delete
dcd07bfff577525b8010b9e9790f5c054a41433e
[ "MIT" ]
null
null
null
from django.test import TestCase, Client from django.urls import reverse from .models import TestModel class AdminSingleDeleteViewTestCase(TestCase): def setUp(self): self.client = Client() self.model = TestModel.objects.create(title='test') self.model2 = TestModel.objects.create(title='te...
46.185185
112
0.696872
329
2,494
5.12462
0.279635
0.092527
0.075919
0.104389
0.309609
0.2414
0.2414
0.185647
0.099644
0.071174
0
0.011817
0.185646
2,494
53
113
47.056604
0.818316
0.147153
0
0.194444
0
0
0.085646
0.039713
0
0
0
0
0.277778
1
0.25
false
0
0.083333
0
0.361111
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
d378ca8f385249020891d35b95f328d00fcec29b
511
py
Python
model_selector.py
ayorkshireworrall/Regression-Models-Evaluator
09a256ff5adf8dca77e4e2ebc2b680e421cbbf9c
[ "MIT" ]
null
null
null
model_selector.py
ayorkshireworrall/Regression-Models-Evaluator
09a256ff5adf8dca77e4e2ebc2b680e421cbbf9c
[ "MIT" ]
null
null
null
model_selector.py
ayorkshireworrall/Regression-Models-Evaluator
09a256ff5adf8dca77e4e2ebc2b680e421cbbf9c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from Models import Regression import pandas as pd import numpy as np dataset = pd.read_csv('Data.csv') X = np.array([[14,41,1020,72], [10,40,1010,90]]) best_model = None for regression in Regression.__subclasses__(): model = regression(dataset) model.train_regressor() if best_model...
28.388889
64
0.706458
77
511
4.415584
0.558442
0.211765
0.076471
0
0
0
0
0
0
0
0
0.048387
0.150685
511
18
65
28.388889
0.735023
0.041096
0
0
0
0
0.055215
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0.214286
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
d38b3505bd845a422558b049b261b51851fb9dea
3,269
py
Python
env/Lib/site-packages/prompt_toolkit/cursor_shapes.py
andresgreen-byte/Laboratorio-1--Inversion-de-Capital
8a4707301d19c3826c31026c4077930bcd6a8182
[ "MIT" ]
4,028
2015-01-02T16:31:38.000Z
2018-10-25T14:51:02.000Z
env/Lib/site-packages/prompt_toolkit/cursor_shapes.py
andresgreen-byte/Laboratorio-1--Inversion-de-Capital
8a4707301d19c3826c31026c4077930bcd6a8182
[ "MIT" ]
688
2015-01-02T18:02:49.000Z
2018-10-25T19:57:02.000Z
env/Lib/site-packages/prompt_toolkit/cursor_shapes.py
andresgreen-byte/Laboratorio-1--Inversion-de-Capital
8a4707301d19c3826c31026c4077930bcd6a8182
[ "MIT" ]
375
2015-01-02T17:57:09.000Z
2018-10-23T09:52:01.000Z
from abc import ABC, abstractmethod from enum import Enum from typing import TYPE_CHECKING, Any, Callable, Union from prompt_toolkit.enums import EditingMode from prompt_toolkit.key_binding.vi_state import InputMode if TYPE_CHECKING: from .application import Application __all__ = [ "CursorShape", "Cursor...
31.737864
87
0.717957
356
3,269
6.384831
0.342697
0.096788
0.055433
0.029916
0.185658
0.175099
0.175099
0.141663
0.108227
0.08315
0
0.001922
0.204038
3,269
102
88
32.04902
0.871637
0.242888
0
0.072727
0
0
0.108187
0.038012
0
0
0
0
0
1
0.127273
false
0
0.109091
0.036364
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d38d5e8b45a7d168badb4843a46b7102243d9f7a
428
py
Python
project/migrations/0028_menuitem_dutch_description.py
abhishekm47/restaurant-django
56993f2269e27c9b932b5f172cdf4db1e95292aa
[ "MIT" ]
null
null
null
project/migrations/0028_menuitem_dutch_description.py
abhishekm47/restaurant-django
56993f2269e27c9b932b5f172cdf4db1e95292aa
[ "MIT" ]
null
null
null
project/migrations/0028_menuitem_dutch_description.py
abhishekm47/restaurant-django
56993f2269e27c9b932b5f172cdf4db1e95292aa
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2019-07-15 02:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('project', '0027_contactmessage'), ] operations = [ migrations.AddField( model_name='menuitem', name='dutch_description...
21.4
51
0.600467
42
428
6.02381
0.833333
0
0
0
0
0
0
0
0
0
0
0.059211
0.28972
428
19
52
22.526316
0.773026
0.100467
0
0
1
0
0.143603
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
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
d390c4770fefaac9d4adb8c15aed663177d52010
730
py
Python
colors.py
martinetmayank/2048-Game
4c7cdada3e25653a2c1008ea5aabc3e1389772da
[ "MIT" ]
null
null
null
colors.py
martinetmayank/2048-Game
4c7cdada3e25653a2c1008ea5aabc3e1389772da
[ "MIT" ]
null
null
null
colors.py
martinetmayank/2048-Game
4c7cdada3e25653a2c1008ea5aabc3e1389772da
[ "MIT" ]
null
null
null
black = (0, 0, 0) red = (255, 0, 0) orange = (255, 152, 0) deep_orange = (255, 87, 34) brown = (121, 85, 72) green = (0, 128, 0) light_green = (139, 195, 74) teal = (0, 150, 136) blue = (33, 150, 136) purple = (156, 39, 176) pink = (234, 30, 99) deep_purple = (103, 58, 183) color_dict = { 0: black,...
18.717949
59
0.546575
105
730
3.704762
0.590476
0.015424
0
0
0
0
0
0
0
0
0
0.213147
0.312329
730
38
60
19.210526
0.561753
0.145205
0
0
0
0
0
0
0
0
0
0
0
1
0.035714
false
0
0
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
d3967850896133fcbce3e375276c634e99d6d3e2
1,267
py
Python
tests/test_interoperability.py
glucoseinc/typescript-python-boilerplate
59840742d1ae43a61a8732d5545d9f677cd23a89
[ "MIT" ]
null
null
null
tests/test_interoperability.py
glucoseinc/typescript-python-boilerplate
59840742d1ae43a61a8732d5545d9f677cd23a89
[ "MIT" ]
6
2019-01-03T04:30:21.000Z
2019-01-03T12:09:18.000Z
tests/test_interoperability.py
glucoseinc/typescript-python-boilerplate
59840742d1ae43a61a8732d5545d9f677cd23a89
[ "MIT" ]
null
null
null
import pytest from typescript_python_boilerplate.exceptions import ValidationError from typescript_python_boilerplate.interoperability import validator def test_validate_jschatevent(): print(validator.error_handler) assert validator.validate( { 'type': 'message', 'localId': '3...
29.465116
68
0.475138
82
1,267
7.256098
0.512195
0.047059
0.067227
0.104202
0.517647
0.517647
0.517647
0.517647
0.517647
0.517647
0
0.100271
0.417522
1,267
42
69
30.166667
0.705962
0
0
0.578947
0
0
0.206788
0.056827
0
0
0
0
0.052632
1
0.026316
true
0
0.078947
0
0.105263
0.026316
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
d3979e79f72fdfb94ceee715874c6a68a2bdb009
714
py
Python
sw_logger/consts.py
Egorka96/sw-django-logger
365e28c93ae7b5a8c0f1eee8f33c07e0168c4806
[ "MIT" ]
2
2017-07-03T06:19:21.000Z
2019-01-09T09:10:27.000Z
sw_logger/consts.py
Egorka96/sw-django-logger
365e28c93ae7b5a8c0f1eee8f33c07e0168c4806
[ "MIT" ]
null
null
null
sw_logger/consts.py
Egorka96/sw-django-logger
365e28c93ae7b5a8c0f1eee8f33c07e0168c4806
[ "MIT" ]
2
2017-07-12T06:40:48.000Z
2019-01-10T12:11:49.000Z
ACTION_CREATED = 'created' ACTION_UPDATED = 'updated' ACTION_DELETED = 'deleted' ACTION_OTHER = 'other' ACTION_CHOICES = ( (ACTION_CREATED, ACTION_CREATED), (ACTION_UPDATED, ACTION_UPDATED), (ACTION_DELETED, ACTION_DELETED), (ACTION_OTHER, ACTION_OTHER), ) LOG_LEVEL_CRITICAL = 'CRITICAL' LOG_LEVEL_ERRO...
27.461538
45
0.754902
93
714
5.247312
0.150538
0.311475
0.098361
0.086066
0.29918
0
0
0
0
0
0
0
0.138655
714
25
46
28.56
0.793496
0
0
0
0
0
0.085434
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d39a14a0f4044f01e14b632caf0b2fe7a27e40d3
5,869
py
Python
qcfractal/cli/dqm_server.py
dnascimento13/QCFractal
1cba78e87a72c770f3262845013da818be09804f
[ "BSD-3-Clause" ]
null
null
null
qcfractal/cli/dqm_server.py
dnascimento13/QCFractal
1cba78e87a72c770f3262845013da818be09804f
[ "BSD-3-Clause" ]
null
null
null
qcfractal/cli/dqm_server.py
dnascimento13/QCFractal
1cba78e87a72c770f3262845013da818be09804f
[ "BSD-3-Clause" ]
null
null
null
""" A command line interface to the qcfractal. """ # from tornado.options import options, define # import tornado.ioloop # import tornado.web # define("port", default=8888, help="Run on the given port.", type=int) # define("mongod_ip", default="127.0.0.1", help="The Mongod instances IP.", type=str) # define("mongod_p...
38.359477
166
0.630601
693
5,869
5.191919
0.252525
0.044469
0.038911
0.018899
0.173986
0.105892
0.078933
0.078933
0.078933
0.027793
0
0.005324
0.231896
5,869
152
167
38.611842
0.792813
0.924519
0
0.25
0
0
0.050794
0
0
0
0
0
0
1
0.125
false
0
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d39ecb0f015ffe5146a35c1b9aa96da33773e496
9,923
py
Python
CAAPR/CAAPR_AstroMagic/PTS/pts/do/modeling/seba/check_attenuation.py
wdobbels/CAAPR
50d0b32642a61af614c22f1c6dc3c4a00a1e71a3
[ "MIT" ]
7
2016-05-20T21:56:39.000Z
2022-02-07T21:09:48.000Z
CAAPR/CAAPR_AstroMagic/PTS/pts/do/modeling/seba/check_attenuation.py
wdobbels/CAAPR
50d0b32642a61af614c22f1c6dc3c4a00a1e71a3
[ "MIT" ]
1
2019-03-21T16:10:04.000Z
2019-03-22T17:21:56.000Z
CAAPR/CAAPR_AstroMagic/PTS/pts/do/modeling/seba/check_attenuation.py
wdobbels/CAAPR
50d0b32642a61af614c22f1c6dc3c4a00a1e71a3
[ "MIT" ]
1
2020-05-19T16:17:17.000Z
2020-05-19T16:17:17.000Z
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
38.46124
127
0.596191
1,506
9,923
3.806109
0.2417
0.014829
0.017097
0.020935
0.300768
0.247034
0.223482
0.198709
0.198709
0.168702
0
0.095898
0.236017
9,923
258
128
38.46124
0.660071
0.211327
0
0.156627
0
0
0.130576
0.033973
0
0
0
0
0
0
null
null
0
0.036145
null
null
0.066265
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
d3a2e01a4769bb975ba0c7e00a3d09bfd7239fab
775
py
Python
backend/models/producer_event.py
SINTEF-SE/PySSMic
9f1883fb9309bc10946b5954437514d874a8c652
[ "MIT" ]
null
null
null
backend/models/producer_event.py
SINTEF-SE/PySSMic
9f1883fb9309bc10946b5954437514d874a8c652
[ "MIT" ]
124
2018-09-11T10:44:34.000Z
2018-11-15T12:34:58.000Z
backend/models/producer_event.py
SINTEF-SE/PySSMic
9f1883fb9309bc10946b5954437514d874a8c652
[ "MIT" ]
3
2018-11-14T14:59:55.000Z
2018-11-16T08:16:31.000Z
class ProducerEvent: timestamp = 0 csvName = "" houseId = 0 deviceId = 0 id = 0 def __init__(self, timestamp, ids, csv_name): self.timestamp = int(timestamp) self.csvName = csv_name # ids_list = list(map(int, ids.replace("[", "").replace("]", "").replace("pv_producer", "...
35.227273
112
0.571613
99
775
4.272727
0.262626
0.115839
0.118203
0.089835
0.236407
0.236407
0.236407
0.236407
0.236407
0.236407
0
0.017391
0.258065
775
21
113
36.904762
0.718261
0.215484
0
0
0
0
0.096026
0
0
0
0
0
0
1
0.125
false
0
0
0.0625
0.5625
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
d3a87f5bd71f108ddf3ae9722ad475bb84c064ff
329
py
Python
Week4/29. quantitative_analysis.py
HawkingLaugh/Data-Processing-Using-Python
6c4d7e09317aee41684731d5611f2f0dab217b2b
[ "MIT" ]
null
null
null
Week4/29. quantitative_analysis.py
HawkingLaugh/Data-Processing-Using-Python
6c4d7e09317aee41684731d5611f2f0dab217b2b
[ "MIT" ]
null
null
null
Week4/29. quantitative_analysis.py
HawkingLaugh/Data-Processing-Using-Python
6c4d7e09317aee41684731d5611f2f0dab217b2b
[ "MIT" ]
null
null
null
#%% from sklearn import datasets import pandas as pd import matplotlib.pyplot as plt import scipy iris = datasets.load_iris() iris_df = pd.DataFrame(iris.data) iris_df.columns = iris.feature_names iris_df['target'] = iris.target plt.hist(iris_df.iloc[:,0], 30, color='c') scipy.stats.normaltest(iris_df.iloc[:,0], axis...
21.933333
49
0.741641
54
329
4.388889
0.537037
0.126582
0.084388
0.092827
0
0
0
0
0
0
0
0.017065
0.109422
329
14
50
23.5
0.791809
0.015198
0
0
0
0
0.021739
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
d3ac485568185b50f0eadcac0e57739c9f5e4fe0
244
py
Python
ABC/206/a_1.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
ABC/206/a_1.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
ABC/206/a_1.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
def main(): # input N = int(input()) # compute N = int(1.08*N) # output if N < 206: print('Yay!') elif N == 206: print('so-so') else: print(':(') if __name__ == '__main__': main()
12.842105
26
0.42623
30
244
3.2
0.566667
0.083333
0.1875
0
0
0
0
0
0
0
0
0.060403
0.389344
244
18
27
13.555556
0.583893
0.081967
0
0
0
0
0.086364
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0.272727
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6c8f40b61b5ed428de80526034def8a0ef46e139
1,566
py
Python
bin/geraPreferencias.py
fsobral/alforria
a40c27641376ddc0c32c8b7e98642d59dacdbea5
[ "MIT" ]
null
null
null
bin/geraPreferencias.py
fsobral/alforria
a40c27641376ddc0c32c8b7e98642d59dacdbea5
[ "MIT" ]
8
2019-03-19T16:58:21.000Z
2020-05-07T18:00:11.000Z
bin/geraPreferencias.py
fsobral/alforria
a40c27641376ddc0c32c8b7e98642d59dacdbea5
[ "MIT" ]
null
null
null
#!/usr/bin/python #coding=utf8 """ Este script simplesmente le todos os arquivos necessarios e gera o relatorio com as preferencias e disciplinas pre-atribuidas """ import funcoes_leitura as leitura import funcoes_escrita as escrita import check paths = leitura.ler_conf('../config/paths.cnf') GRUPOSPATH = paths['...
26.542373
82
0.777778
201
1,566
5.935323
0.412935
0.087175
0.047779
0.033529
0.152557
0.122381
0.122381
0.122381
0.122381
0.122381
0
0.008646
0.113665
1,566
58
83
27
0.850865
0.155172
0
0.133333
0
0
0.079389
0.016794
0
0
0
0.017241
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6c90e2aaa82f6d3d2b09538f5b51d55d49960950
796
py
Python
notes/code/linkedin/one_request_http_server.py
skrilladeville/msds692
1690846e7299819cd5b1b24a56968bf1074e16bf
[ "MIT" ]
87
2018-08-10T23:27:24.000Z
2022-03-29T05:07:45.000Z
notes/code/linkedin/one_request_http_server.py
skrilladeville/msds692
1690846e7299819cd5b1b24a56968bf1074e16bf
[ "MIT" ]
1
2019-10-06T15:45:03.000Z
2019-10-06T15:45:03.000Z
notes/code/linkedin/one_request_http_server.py
skrilladeville/msds692
1690846e7299819cd5b1b24a56968bf1074e16bf
[ "MIT" ]
171
2018-08-20T23:59:43.000Z
2022-03-31T16:21:52.000Z
import BaseHTTPServer import urlparse class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler): def do_GET(self): p = self.path.split('?') if len(p) > 1: params = urlparse.parse_qs(p[1], True, True) print params # Send an OK response with no headers back # Typi...
34.608696
84
0.690955
105
796
5.171429
0.647619
0.007366
0
0
0
0
0
0
0
0
0
0.021173
0.228643
796
22
85
36.181818
0.863192
0.315327
0
0
0
0
0.092764
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6c9f3903f79a53d98a59607aad8d8f7b7c04875c
5,154
py
Python
sacred/commandline_options.py
michaelwand/sacred
46b8f96712f0cd5c2c26abedfdf44eebac6fe89c
[ "MIT" ]
null
null
null
sacred/commandline_options.py
michaelwand/sacred
46b8f96712f0cd5c2c26abedfdf44eebac6fe89c
[ "MIT" ]
null
null
null
sacred/commandline_options.py
michaelwand/sacred
46b8f96712f0cd5c2c26abedfdf44eebac6fe89c
[ "MIT" ]
1
2021-05-27T16:52:17.000Z
2021-05-27T16:52:17.000Z
#!/usr/bin/env python # coding=utf-8 """ This module provides the basis for all command-line options (flags) in sacred. It defines the base class CommandLineOption and the standard supported flags. Some further options that add observers to the run are defined alongside those. """ from __future__ import division, pri...
30.140351
79
0.652115
681
5,154
4.867841
0.356828
0.029864
0.045852
0.053092
0.13635
0.12187
0.079336
0.043137
0.043137
0.043137
0
0.004201
0.260962
5,154
170
80
30.317647
0.866107
0.470314
0
0.274194
0
0
0.103954
0
0
0
0
0
0
1
0.16129
false
0.016129
0.032258
0
0.548387
0.016129
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
6ca2d000a0625d9df4317c9f6a14b9b91a2c3b1a
271
py
Python
Tests.old/test_contours_new.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
11
2018-10-10T03:14:33.000Z
2022-01-05T14:18:15.000Z
Tests.old/test_contours_new.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
196
2018-03-21T19:44:56.000Z
2021-12-21T21:56:24.000Z
Tests.old/test_contours_new.py
scottwittenburg/vcs
5b9f17fb78f7ab186fc0132ab81ada043a7ba348
[ "BSD-3-Clause" ]
5
2019-12-09T21:54:45.000Z
2022-03-20T04:22:14.000Z
import vcs import cdms2 import os import MV2 f = cdms2.open(os.path.join(vcs.sample_data, "clt.nc")) s = f("clt", time=slice(0, 1), squeeze=1) s = MV2.masked_less(s, 65.) x = vcs.init() gm = x.createisofill() gm.missing = 252 x.plot(s, gm) x.png(gm.g_name) x.interact()
18.066667
55
0.675277
54
271
3.333333
0.611111
0.033333
0
0
0
0
0
0
0
0
0
0.051064
0.132841
271
14
56
19.357143
0.714894
0
0
0
0
0
0.03321
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
6cab88161234f51d7109e7f804685798f50eaed3
1,177
py
Python
rezervation/migrations/0001_initial.py
alex0328/rezerwacja_sal
d13f318da9e8a8c84a4af2a95821276582c4977b
[ "Apache-2.0" ]
null
null
null
rezervation/migrations/0001_initial.py
alex0328/rezerwacja_sal
d13f318da9e8a8c84a4af2a95821276582c4977b
[ "Apache-2.0" ]
2
2020-06-05T22:30:31.000Z
2021-06-10T21:50:39.000Z
rezervation/migrations/0001_initial.py
alex0328/rezerwacja_sal
d13f318da9e8a8c84a4af2a95821276582c4977b
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.4 on 2018-12-09 22:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Reservation', fields=[ ...
30.973684
114
0.562447
113
1,177
5.761062
0.513274
0.036866
0.043011
0.067588
0.242704
0.242704
0.242704
0.242704
0.242704
0.242704
0
0.021978
0.304163
1,177
37
115
31.810811
0.772894
0.038233
0
0.366667
1
0
0.078761
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.2
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
6cb7e80b4419918659b6cf7bc31cb6ee4ac92d20
9,296
py
Python
vmtkScripts/vmtkimagelinetracer.py
CemrgDevelopers/vmtk
a555b3c1686e70dcad0346acaaed9b3481dcb338
[ "Apache-2.0" ]
null
null
null
vmtkScripts/vmtkimagelinetracer.py
CemrgDevelopers/vmtk
a555b3c1686e70dcad0346acaaed9b3481dcb338
[ "Apache-2.0" ]
null
null
null
vmtkScripts/vmtkimagelinetracer.py
CemrgDevelopers/vmtk
a555b3c1686e70dcad0346acaaed9b3481dcb338
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ## Program: VMTK ## Module: $RCSfile: vmtkimagelinetracer.py,v $ ## Language: Python ## Date: $Date: 2006/05/26 12:35:13 $ ## Version: $Revision: 1.9 $ ## Copyright (c) Luca Antiga, David Steinman. All rights reserved. ## See LICENCE file for details. ## This software is d...
38.733333
149
0.652108
917
9,296
6.593239
0.266085
0.050281
0.035726
0.04962
0.274231
0.243632
0.168707
0.153325
0.128515
0.116771
0
0.020644
0.228808
9,296
239
150
38.895397
0.822709
0.051743
0
0.178161
0
0.005747
0.075847
0.00489
0
0
0
0
0
0
null
null
0
0.028736
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
6cba32ee684f7b80166104e3ee7becfb4bc422c6
3,480
py
Python
docker_root/Programs/refexp/lib/tests/densecap_baseline.py
AdaCompNUS/ingress-proj
80728bd50ff4d7ae2371464fcfcdbb7ea8a02a39
[ "MIT" ]
null
null
null
docker_root/Programs/refexp/lib/tests/densecap_baseline.py
AdaCompNUS/ingress-proj
80728bd50ff4d7ae2371464fcfcdbb7ea8a02a39
[ "MIT" ]
null
null
null
docker_root/Programs/refexp/lib/tests/densecap_baseline.py
AdaCompNUS/ingress-proj
80728bd50ff4d7ae2371464fcfcdbb7ea8a02a39
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from sensor_msgs.msg import Image import cv2 from cv_bridge import CvBridge, CvBridgeError import actionlib import action_controller.msg import copy import os import numpy as np from argparse import ArgumentParser # folder_path = '/home/mohit/Programs/densecap/webcam' # save_pat...
31.926606
112
0.607471
433
3,480
4.642032
0.353349
0.020896
0.026866
0.023881
0.067164
0.041294
0.041294
0.041294
0.027861
0
0
0.029874
0.268966
3,480
108
113
32.222222
0.76022
0.070402
0
0
0
0
0.084909
0
0
0
0
0
0
0
null
null
0.014286
0.142857
null
null
0.057143
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
6cbb55f8a9e49ae616895939dbee84070d6ca599
6,121
py
Python
scraper.py
sjoplin/Ace-Analytics
38e39696de594bf6696a6be02066ac6e4ca2b7af
[ "MIT" ]
1
2019-01-09T15:19:44.000Z
2019-01-09T15:19:44.000Z
scraper.py
sjoplin/Moneyball
38e39696de594bf6696a6be02066ac6e4ca2b7af
[ "MIT" ]
7
2020-02-04T22:11:54.000Z
2022-03-11T23:37:24.000Z
scraper.py
sjoplin/Ace-Analytics
38e39696de594bf6696a6be02066ac6e4ca2b7af
[ "MIT" ]
null
null
null
# import libraries import requests from bs4 import BeautifulSoup from createSampledata import generateStats, getPlayerStats, getAllPlayers from time import sleep # specify the url def main(): # list_urls = ['4580415', '4577144', '4577145', '4576367', '4572959', '4571240', '4570564', '4568118', '4564636', '4564039...
32.908602
142
0.600065
740
6,121
4.901351
0.258108
0.019851
0.016543
0.022057
0.439482
0.383788
0.346016
0.346016
0.346016
0.346016
0
0.057118
0.256331
6,121
185
143
33.086486
0.739675
0.163699
0
0.45082
1
0.032787
0.185462
0.004912
0
0
0
0
0
1
0.040984
false
0
0.032787
0
0.098361
0.081967
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
6cc3e73d03828f71f32c8144ce68aa92a70adc30
13,486
py
Python
build/PureCloudPlatformClientV2/models/policy_actions.py
cjohnson-ctl/platform-client-sdk-python
38ce53bb8012b66e8a43cc8bd6ff00cf6cc99100
[ "MIT" ]
10
2019-02-22T00:27:08.000Z
2021-09-12T23:23:44.000Z
libs/PureCloudPlatformClientV2/models/policy_actions.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
5
2018-06-07T08:32:00.000Z
2021-07-28T17:37:26.000Z
libs/PureCloudPlatformClientV2/models/policy_actions.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
6
2020-04-09T17:43:07.000Z
2022-02-17T08:48:05.000Z
# coding: utf-8 """ Copyright 2016 SmartBear Software 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 applica...
32.340528
149
0.655124
1,366
13,486
6.222548
0.150073
0.033882
0.107294
0.044118
0.550118
0.429412
0.303647
0.207529
0.188
0.132235
0
0.001642
0.277399
13,486
416
150
32.418269
0.8706
0.421919
0
0.09396
0
0
0.143878
0.065703
0
0
0
0
0
1
0.208054
false
0
0.033557
0
0.369128
0.006711
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
6cc6278ee2d07b33c835194cd74291afe32504b1
315
py
Python
printer/__init__.py
haroldduan/AutomatedScript
44a0a3dfd3681a40d50dd43de50222d795e19837
[ "Apache-2.0" ]
null
null
null
printer/__init__.py
haroldduan/AutomatedScript
44a0a3dfd3681a40d50dd43de50222d795e19837
[ "Apache-2.0" ]
null
null
null
printer/__init__.py
haroldduan/AutomatedScript
44a0a3dfd3681a40d50dd43de50222d795e19837
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2018, AVATech # # Author Harold.Duan # This module is (windows\unix) print script. import sys reload(sys) sys.setdefaultencoding('utf-8') # sys.path.append('../printer') from printer import Printer if __name__ == '__main__': printer = Printer() printer.run() pass
18.529412
45
0.67619
40
315
5.125
0.725
0.039024
0
0
0
0
0
0
0
0
0
0.022989
0.171429
315
16
46
19.6875
0.762452
0.438095
0
0
0
0
0.076471
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.25
0.375
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
6cc882e695b7f66076df1956b565eedce621535d
280
py
Python
python97/chapter12/gen_close.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
null
null
null
python97/chapter12/gen_close.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
null
null
null
python97/chapter12/gen_close.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
1
2019-11-05T01:10:15.000Z
2019-11-05T01:10:15.000Z
#!usr/bin/python # -*- coding:utf8 -*- def gen_func(): try: yield "http://projectesdu.com" except GeneratorExit: pass yield 2 yield 3 return "bobby" if __name__ == "__main__": gen = gen_func() next(gen) gen.close() next(gen)
15.555556
38
0.557143
34
280
4.294118
0.735294
0.09589
0
0
0
0
0
0
0
0
0
0.015306
0.3
280
17
39
16.470588
0.729592
0.125
0
0.153846
0
0
0.144033
0
0
0
0
0
0
1
0.076923
false
0.076923
0
0
0.153846
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
6cd4ebebed9f32698cddb8d085af586b2c50f154
347
py
Python
cartbox/cart/management/commands/update_or_create_cats_and_prods.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
cartbox/cart/management/commands/update_or_create_cats_and_prods.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
cartbox/cart/management/commands/update_or_create_cats_and_prods.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from cart.default_data import update_or_create_cats_and_prods class Command(BaseCommand): help = ( "Updates or creates the default set of Product and " "Category objects.") def handle(self, *args, **options): update_...
23.133333
65
0.726225
45
347
5.355556
0.733333
0.06639
0.116183
0.149378
0.215768
0.215768
0
0
0
0
0
0
0.198847
347
14
66
24.785714
0.866906
0
0
0
0
0
0.193642
0
0
0
0
0
0
1
0.125
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
6ce80a37a1b70d601da037fbe3ca5fb062d78b0e
1,175
py
Python
pacote-download/pythonProject/exercicios_python_guanabara/ex087.py
oliveirajonathas/python_estudos
28921672d7e5d0866030c45b077a28998905f752
[ "MIT" ]
null
null
null
pacote-download/pythonProject/exercicios_python_guanabara/ex087.py
oliveirajonathas/python_estudos
28921672d7e5d0866030c45b077a28998905f752
[ "MIT" ]
null
null
null
pacote-download/pythonProject/exercicios_python_guanabara/ex087.py
oliveirajonathas/python_estudos
28921672d7e5d0866030c45b077a28998905f752
[ "MIT" ]
null
null
null
"""Aprimore o desafio anterior, mostrando no final: a) A soma de todos os valores pares digitados b) A soma dos valores da terceira coluna c) O maior valor da segunda linha""" matriz = list() linhas = list() for linha in range(0, 3): for coluna in range(0, 3): valor = int(input(f'Digite o da posição [{linha...
30.921053
75
0.588936
181
1,175
3.762431
0.320442
0.10279
0.035242
0.039648
0.176211
0.176211
0.10279
0.10279
0
0
0
0.024823
0.28
1,175
37
76
31.756757
0.780142
0.194043
0
0.133333
0
0
0.239362
0.024468
0
0
0
0.027027
0
1
0
false
0
0
0
0
0.233333
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
6ceddf2045c83715c803bc49316f52723391c3d9
1,286
py
Python
pipelinetweak/pipe/probt.py
ulf1/sklearn-pipelinetweak
3331c0b8cf5d7b0e6fdeba6d94fc1e396ffab518
[ "MIT" ]
null
null
null
pipelinetweak/pipe/probt.py
ulf1/sklearn-pipelinetweak
3331c0b8cf5d7b0e6fdeba6d94fc1e396ffab518
[ "MIT" ]
10
2020-03-24T10:04:39.000Z
2020-07-03T18:54:03.000Z
pipelinetweak/pipe/probt.py
ulf1/pipelinetweak
3331c0b8cf5d7b0e6fdeba6d94fc1e396ffab518
[ "MIT" ]
null
null
null
import sklearn.base import numpy as np class ProbT(sklearn.base.BaseEstimator, sklearn.base.TransformerMixin): """Wraps a sklearn classifier (ClassifierMixin) to use the output of their .predict_proba method. Args: model (sklearn.base.ClassifierMixin): A sklearn classification model drop ...
31.365854
76
0.611198
146
1,286
5.321918
0.438356
0.070785
0.041184
0.079794
0
0
0
0
0
0
0
0.002191
0.290047
1,286
40
77
32.15
0.84885
0.478227
0
0
0
0
0.008333
0
0
0
0
0
0
1
0.176471
false
0
0.117647
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6cfb52d5fd9aedf77b6e4325d4fc68382187dcea
2,804
py
Python
egs/babel/s5c/myutils/gen_ivec_pairs2.py
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
1
2019-02-06T09:31:59.000Z
2019-02-06T09:31:59.000Z
egs/babel/s5b/myutils/gen_ivec_pairs2.py
Shuang777/kaldi
3df67141b55cfd5e2ba7305a72e795e7706d8d30
[ "Apache-2.0" ]
null
null
null
egs/babel/s5b/myutils/gen_ivec_pairs2.py
Shuang777/kaldi
3df67141b55cfd5e2ba7305a72e795e7706d8d30
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys import itertools import random import argparse parser = argparse.ArgumentParser(description="Generate pairs.") parser.add_argument('--pairs-per-spk', type=int, default=10, dest='fake_pairs') parser.add_argument('--random-seed', type=int, default=0, dest='random_seed') parser.add_argument('...
30.813187
131
0.614479
397
2,804
4.146096
0.244332
0.038275
0.061968
0.038275
0.207776
0.168894
0.142163
0.142163
0.142163
0.142163
0
0.018208
0.255706
2,804
90
132
31.155556
0.770484
0.041013
0
0.296296
1
0
0.072998
0
0
0
0
0
0
1
0
false
0
0.049383
0
0.049383
0.024691
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
9f00810621fda31ad17721f5760aed48c0f6c0db
900
py
Python
cupy/sparse/__init__.py
prkhrsrvstv1/cupy
ea86c8225b575af9d2855fb77a306cf86fd098ea
[ "MIT" ]
6,180
2016-11-01T14:22:30.000Z
2022-03-31T08:39:20.000Z
cupy/sparse/__init__.py
prkhrsrvstv1/cupy
ea86c8225b575af9d2855fb77a306cf86fd098ea
[ "MIT" ]
6,281
2016-12-22T07:42:31.000Z
2022-03-31T19:57:02.000Z
cupy/sparse/__init__.py
prkhrsrvstv1/cupy
ea86c8225b575af9d2855fb77a306cf86fd098ea
[ "MIT" ]
829
2017-02-23T05:46:12.000Z
2022-03-27T17:40:03.000Z
import sys import warnings import cupyx.scipy.sparse # Raise a `DeprecationWarning` for `cupy.sparse` submodule when its functions # are called. We could raise the warning on importing the submodule, but we # use module level `__getattr__` function here as the submodule is also # imported in cupy/__init__.py. Unfort...
39.130435
78
0.708889
124
900
5.008065
0.572581
0.080515
0.128824
0.064412
0
0
0
0
0
0
0
0.005594
0.205556
900
22
79
40.909091
0.862937
0.441111
0
0
0
0
0.20202
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
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
9f0203c17bdb57f5791136be5cc54c50b9bdfdec
1,523
py
Python
examples/measure_ble.py
nobrin/omron-2jcie-bu01
7570eb55c4f3f371cce999fbff5bd3dfcd34e424
[ "MIT" ]
1
2021-10-20T06:11:50.000Z
2021-10-20T06:11:50.000Z
examples/measure_ble.py
nobrin/omron-2jcie-bu01
7570eb55c4f3f371cce999fbff5bd3dfcd34e424
[ "MIT" ]
null
null
null
examples/measure_ble.py
nobrin/omron-2jcie-bu01
7570eb55c4f3f371cce999fbff5bd3dfcd34e424
[ "MIT" ]
1
2021-07-12T15:57:47.000Z
2021-07-12T15:57:47.000Z
#!/usr/bin/env python3 import sys sys.path.insert(0, "../lib-ext") sys.path.insert(0, "..") import time from datetime import datetime, timedelta, tzinfo from omron_2jcie_bu01 import Omron2JCIE_BU01 CurrentTZ = type(time.tzname[0], (tzinfo,), { "tzname": lambda self, dt: time.tzname[0], "utcoffset": lambda sel...
39.051282
76
0.593565
197
1,523
4.538071
0.467005
0.100671
0.040268
0.03132
0.089485
0.089485
0.089485
0
0
0
0
0.028022
0.179908
1,523
38
77
40.078947
0.68775
0.042679
0
0.0625
0
0.03125
0.51717
0.114011
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.53125
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
9f0f0f45b38aa7c6382e9d642d5c3e79748750a6
1,149
py
Python
P12-Least Common Multiple/LCM Calculator.py
necrospiritus/Python-Working-Examples
075d410673e470fc7c4ffc262e92109a3032132f
[ "MIT" ]
null
null
null
P12-Least Common Multiple/LCM Calculator.py
necrospiritus/Python-Working-Examples
075d410673e470fc7c4ffc262e92109a3032132f
[ "MIT" ]
null
null
null
P12-Least Common Multiple/LCM Calculator.py
necrospiritus/Python-Working-Examples
075d410673e470fc7c4ffc262e92109a3032132f
[ "MIT" ]
null
null
null
# Least Common Multiple (LCM) Calculator - Burak Karabey def LCM(x, y): if x > y: limit = x else: limit = y prime_numbers = [] # Start of Finding Prime Number if limit < 2: return prime_numbers.append(0) elif limit == 2: return prime_numbers.append(2) else: ...
28.725
76
0.518712
154
1,149
3.714286
0.292208
0.272727
0.159091
0.097902
0.286713
0.164336
0
0
0
0
0
0.029787
0.386423
1,149
39
77
29.461538
0.78156
0.102698
0
0.088235
0
0
0.003899
0
0
0
0
0
0
1
0.029412
false
0
0
0
0.117647
0.029412
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
9f146ac8f94d3ca90e1923fa3c668fabd2139959
3,724
py
Python
lib/django-1.4/django/contrib/localflavor/fr/fr_department.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/lib/django-1.4/django/contrib/localflavor/fr/fr_department.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/lib/django-1.4/django/contrib/localflavor/fr/fr_department.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
# -*- coding: utf-8 -*- # See the "Code officiel géographique" on the INSEE website <www.insee.fr>. DEPARTMENT_CHOICES = ( # Metropolitan departments ('01', u'01 - Ain'), ('02', u'02 - Aisne'), ('03', u'03 - Allier'), ('04', u'04 - Alpes-de-Haute-Provence'), ('05', u'05 - Hautes-Alpes'), (...
31.559322
75
0.463212
540
3,724
3.192593
0.47037
0.012181
0
0
0
0
0
0
0
0
0
0.163929
0.24812
3,724
117
76
31.82906
0.451786
0.04753
0
0
0
0
0.523433
0.013269
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f1517d2804b72353c1e485d0244257b02c734db
517
py
Python
curso-em-video/ex004.py
joseluizbrits/sobre-python
316143c341e5a44070a3b13877419082774bd730
[ "MIT" ]
null
null
null
curso-em-video/ex004.py
joseluizbrits/sobre-python
316143c341e5a44070a3b13877419082774bd730
[ "MIT" ]
null
null
null
curso-em-video/ex004.py
joseluizbrits/sobre-python
316143c341e5a44070a3b13877419082774bd730
[ "MIT" ]
null
null
null
# Dissecando uma Variável '''Faça um programa que leia algo pelo teclado e mostre na tela o seu tipo primitivo e todas as informações possíveis sobre ela''' a = input('Digite algo: ') print('\033[1;30m''O tipo primitivo deste valor é', type(a)) print('Só tem espaços?', a.isspace()) print('É um número?', a.isnumeric())...
34.466667
60
0.704062
81
517
4.493827
0.679012
0.049451
0
0
0
0
0
0
0
0
0
0.013274
0.125725
517
14
61
36.928571
0.792035
0.288201
0
0
0
0
0.444751
0
0
0
0
0
0
1
0
false
0
0
0
0
0.888889
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
9f1ae051266999cac7dac737dc6113ecd4da728a
868
py
Python
pyxt/results.py
millerdev/pyxt
64034dd17b47a81ebfd0160102919e1f84299a6d
[ "MIT" ]
3
2021-01-10T18:32:15.000Z
2021-01-12T08:13:29.000Z
pyxt/results.py
millerdev/pyxt
64034dd17b47a81ebfd0160102919e1f84299a6d
[ "MIT" ]
null
null
null
pyxt/results.py
millerdev/pyxt
64034dd17b47a81ebfd0160102919e1f84299a6d
[ "MIT" ]
null
null
null
import logging from asyncio.exceptions import CancelledError from functools import wraps from .command import get_context log = logging.getLogger(__name__) def result(items=None, value=None, **extra): if items is None: type = "success" else: type = "items" return {"type": type, **extra, ...
22.842105
66
0.632488
98
868
5.510204
0.469388
0.037037
0
0
0
0
0
0
0
0
0
0
0.247696
868
37
67
23.459459
0.826953
0
0
0
0
0
0.084101
0
0
0
0
0
0
1
0.148148
false
0
0.148148
0.037037
0.518519
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
9f3010fa10768268d3b98c3e1047e4721f408430
874
py
Python
ebiznes/apps/service/migrations/0004_auto_20191101_0941.py
khaki560/EBiznes
a053e329978f6ba4a7565e259d8a843a4d6530a7
[ "MIT" ]
null
null
null
ebiznes/apps/service/migrations/0004_auto_20191101_0941.py
khaki560/EBiznes
a053e329978f6ba4a7565e259d8a843a4d6530a7
[ "MIT" ]
1
2019-10-30T06:26:36.000Z
2019-11-20T17:07:25.000Z
ebiznes/apps/service/migrations/0004_auto_20191101_0941.py
khaki560/EBiznes
a053e329978f6ba4a7565e259d8a843a4d6530a7
[ "MIT" ]
1
2019-11-12T19:09:05.000Z
2019-11-12T19:09:05.000Z
# Generated by Django 2.2.5 on 2019-11-01 09:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('service', '0003_auto_20191028_1805'), ] operations = [ migrations.AddField( model_name='service', name='phone_number...
30.137931
124
0.604119
96
874
5.34375
0.479167
0.107212
0.134503
0.157895
0.448343
0.448343
0.226121
0
0
0
0
0.061224
0.271167
874
28
125
31.214286
0.744113
0.051487
0
0.409091
1
0
0.141475
0.027811
0
0
0
0
0
1
0
false
0
0.045455
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f3f6f516c974b1b1118c2523ec7ba3e96d8a9c3
379
py
Python
architectures/providers/kubernetes/podconfig.py
marinmuso/architectures
d824056e6e69cdb06db31562a1fb71af058892c0
[ "MIT" ]
15
2021-01-18T02:46:12.000Z
2021-08-23T20:10:22.000Z
architectures/providers/kubernetes/podconfig.py
marinmuso/architectures
d824056e6e69cdb06db31562a1fb71af058892c0
[ "MIT" ]
77
2021-01-11T05:01:30.000Z
2021-08-15T22:39:19.000Z
architectures/providers/kubernetes/podconfig.py
marinmuso/architectures
d824056e6e69cdb06db31562a1fb71af058892c0
[ "MIT" ]
2
2021-01-10T19:28:13.000Z
2021-08-12T19:06:45.000Z
# Do not modify this file directly. It is auto-generated with Python. from architectures.providers import _Kubernetes class _Podconfig(_Kubernetes): _service_type = "podconfig" _icon_dir = "icons/kubernetes/podconfig" class Cm(_Podconfig): _icon = "cm.png" _default_label = "Cm" class Secret(_Podconf...
25.266667
69
0.728232
46
379
5.673913
0.630435
0.149425
0.114943
0
0
0
0
0
0
0
0
0
0.176781
379
15
70
25.266667
0.836538
0.176781
0
0
1
0
0.189711
0.083601
0
0
0
0
0
1
0
false
0
0.1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f4378f1b0dd3e48af83bdfa542372a484f8c449
3,969
py
Python
detect_intent_text.py
Amir22010/dialogfowcx
2ab53a18a9b35afd02e804d1c45a248498c688b8
[ "Apache-2.0" ]
null
null
null
detect_intent_text.py
Amir22010/dialogfowcx
2ab53a18a9b35afd02e804d1c45a248498c688b8
[ "Apache-2.0" ]
null
null
null
detect_intent_text.py
Amir22010/dialogfowcx
2ab53a18a9b35afd02e804d1c45a248498c688b8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2020 Google LLC # # 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...
43.141304
144
0.743764
525
3,969
5.462857
0.407619
0.028243
0.018131
0.026499
0.15272
0.11855
0.078103
0.078103
0.064854
0
0
0.030989
0.154447
3,969
92
145
43.141304
0.8236
0.386495
0
0
0
0
0.228261
0.12291
0
0
0
0.01087
0
1
0.043478
false
0
0.130435
0
0.173913
0.108696
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
9f46314a8c4f12d48a96cc49a69896829e6d85be
5,601
py
Python
Azerapi-SpamTools.py
jarivankaam/spambot-Python
b1bd47c7481e52a900a89c8ad92b969272cfe2c3
[ "MIT" ]
2
2022-02-27T07:15:30.000Z
2022-03-15T18:27:12.000Z
Azerapi-SpamTools.py
jarivankaam/spambot-Python
b1bd47c7481e52a900a89c8ad92b969272cfe2c3
[ "MIT" ]
null
null
null
Azerapi-SpamTools.py
jarivankaam/spambot-Python
b1bd47c7481e52a900a89c8ad92b969272cfe2c3
[ "MIT" ]
null
null
null
#chat spam bot import string import pyautogui import time import os import passwordConfig as cfg running = True while running: print("""" ___ ________ _______ .______ ___ .______ __ / \ | / | ____|| _ \ / \ | _ \ | | _ ...
44.452381
105
0.454383
578
5,601
4.057093
0.230104
0.046055
0.046908
0.04435
0.642644
0.620469
0.620469
0.599147
0.573561
0.573561
0
0.025084
0.416354
5,601
125
106
44.808
0.691955
0.026424
0
0.531532
0
0.063063
0.531876
0
0
0
0
0
0
1
0
false
0.054054
0.045045
0
0.045045
0.189189
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
9f4961f4fd9ebeb229b07a3241f8050c210c17b6
3,018
py
Python
common/vrouter/ip_fragment/sender.py
vkolli/5.0_contrail-test
1793f169a94100400a1b2fafbad21daf5aa4d48a
[ "Apache-2.0" ]
null
null
null
common/vrouter/ip_fragment/sender.py
vkolli/5.0_contrail-test
1793f169a94100400a1b2fafbad21daf5aa4d48a
[ "Apache-2.0" ]
1
2021-06-01T22:18:29.000Z
2021-06-01T22:18:29.000Z
common/vrouter/ip_fragment/sender.py
lmadhusudhanan/contrail-test
bd39ff19da06a20bd79af8c25e3cde07375577cf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from scapy.all import * import sys import argparse import math def parse_args(): parser = argparse.ArgumentParser() parser.add_argument("remoteIP", help="Remote IP") parser.add_argument("localIP", help="Local IP") parser.add_argument("-p", "--protocol", type=str, default='udp', ...
28.205607
98
0.621272
431
3,018
4.287703
0.317865
0.048701
0.091991
0.017316
0.151515
0.088745
0.088745
0.088745
0.073593
0.073593
0
0.020123
0.193174
3,018
106
99
28.471698
0.738809
0.038767
0
0.084337
0
0.012048
0.207873
0.017611
0
0
0.002072
0
0
0
null
null
0
0.048193
null
null
0.048193
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
9f4d1777e427c4140cdab22be9e7f3f5117d154f
461
py
Python
network/migrations/0007_alter_like_posts.py
AH-SALAH/CS50W-network-app
155eb7f1a227918890f8f0ea2670a84d122c3606
[ "MIT" ]
null
null
null
network/migrations/0007_alter_like_posts.py
AH-SALAH/CS50W-network-app
155eb7f1a227918890f8f0ea2670a84d122c3606
[ "MIT" ]
null
null
null
network/migrations/0007_alter_like_posts.py
AH-SALAH/CS50W-network-app
155eb7f1a227918890f8f0ea2670a84d122c3606
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-12-10 00:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('network', '0006_auto_20211209_2347'), ] operations = [ migrations.AlterField( model_name='like', name='posts', ...
24.263158
128
0.626898
52
461
5.423077
0.769231
0.06383
0.099291
0
0
0
0
0
0
0
0
0.089595
0.249458
461
18
129
25.611111
0.725434
0.097614
0
0
1
0
0.176329
0.055556
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9f54e73da046bd789379952ba4ed5d5bc1899c0a
422
py
Python
yelp/obj/search_response.py
ruchir594/messenger-bot-yelp-aws
757d9e3e599432954a1acbf477b2f40e5c2d247c
[ "MIT" ]
8
2016-05-13T20:59:39.000Z
2017-02-01T03:26:57.000Z
yelp/obj/search_response.py
ruchir594/messenger-bot-yelp-aws
757d9e3e599432954a1acbf477b2f40e5c2d247c
[ "MIT" ]
1
2016-08-08T03:53:21.000Z
2016-08-08T04:09:07.000Z
yelp/obj/search_response.py
ruchir594/messenger-bot-yelp-aws
757d9e3e599432954a1acbf477b2f40e5c2d247c
[ "MIT" ]
4
2016-06-21T00:26:55.000Z
2019-12-23T15:55:42.000Z
# -*- coding: UTF-8 -*- from yelp.obj.business import Business from yelp.obj.region import Region from yelp.obj.response_object import ResponseObject class SearchResponse(ResponseObject): _fields = [ 'total' ] def __init__(self, response): super(SearchResponse, self).__init__(response) ...
23.444444
54
0.689573
46
422
6.065217
0.478261
0.086022
0.11828
0
0
0
0
0
0
0
0
0.002959
0.199052
422
17
55
24.823529
0.822485
0.049763
0
0
0
0
0.052632
0
0
0
0
0
0
1
0.090909
false
0
0.272727
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
0
0
1
0
0
1
9f55c7948d44cc4c79c9d0afc086cc4114848746
1,309
py
Python
koans/primera_semana/acerca_de_excepciones.py
benjymb/python_koans_pachaqtec
094265842c2e182874fbf608521dc4a30e66bfae
[ "MIT" ]
null
null
null
koans/primera_semana/acerca_de_excepciones.py
benjymb/python_koans_pachaqtec
094265842c2e182874fbf608521dc4a30e66bfae
[ "MIT" ]
null
null
null
koans/primera_semana/acerca_de_excepciones.py
benjymb/python_koans_pachaqtec
094265842c2e182874fbf608521dc4a30e66bfae
[ "MIT" ]
2
2020-04-22T20:28:30.000Z
2020-04-25T16:22:39.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from runner.koan import * class AcercaDeExcepciones(Koan): class MiErrorEspecial(RuntimeError): pass def test_instruccion_try(self): result = None try: self.fail("Upss") except Exception as ex: resultado = ...
22.964912
52
0.550038
129
1,309
5.418605
0.457364
0.128755
0.077253
0.072961
0.100143
0.100143
0.100143
0.100143
0
0
0
0.005995
0.362872
1,309
56
53
23.375
0.830935
0.048892
0
0.390244
0
0
0.080515
0
0
0
0
0
0.146341
1
0.097561
false
0.097561
0.02439
0
0.170732
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
9f586ac5d9426b73cfa01e49f1ec2a6a581b4932
7,366
py
Python
drivers/nidaq/syncAIAO.py
mv20100/phd_code
2262c71c7c35aed5759c4b0e058fe74c44e5266b
[ "MIT" ]
null
null
null
drivers/nidaq/syncAIAO.py
mv20100/phd_code
2262c71c7c35aed5759c4b0e058fe74c44e5266b
[ "MIT" ]
null
null
null
drivers/nidaq/syncAIAO.py
mv20100/phd_code
2262c71c7c35aed5759c4b0e058fe74c44e5266b
[ "MIT" ]
null
null
null
from PyDAQmx import * import numpy as np import ctypes, time from pyqtgraph.Qt import QtGui, QtCore import pyqtgraph as pg from collections import deque class SyncAIAO(object): compatibility_mode = 0 # Set this to 1 on some PC (Mouss) trigName = "ai/StartTrigger" timeout = 10.0 me...
42.091429
178
0.661825
819
7,366
5.82906
0.258852
0.043779
0.025136
0.029326
0.246544
0.204022
0.188521
0.16925
0.15752
0.126519
0
0.019908
0.229433
7,366
174
179
42.333333
0.821177
0.019957
0
0.122449
0
0
0.021452
0
0
0
0
0
0.013605
0
null
null
0
0.047619
null
null
0.020408
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