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
f3f8f3a15cc9b7db02979a9f612225621dc97f24
3,751
py
Python
nanopores/scripts/ahemIV.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
8
2016-09-07T01:59:31.000Z
2021-03-06T12:14:31.000Z
nanopores/scripts/ahemIV.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
null
null
null
nanopores/scripts/ahemIV.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
4
2017-12-06T17:43:01.000Z
2020-05-01T05:41:14.000Z
import math, nanopores, dolfin # @Benjamin, Gregor TODO: # -) check permittivity and surface charge of ahem # -) what biased voltage to use? # some default values for parameters ### geo params [nm] geo_name = "aHem" domscale = 1. l4 = 15. l3 = 15. R = 20. r0 = 5. z0 = 10. exit_i = 1 badexit = {"upperbulkb"} goodexit...
37.138614
155
0.662223
558
3,751
4.419355
0.333333
0.040146
0.060827
0.058394
0.316302
0.29927
0.29927
0.256691
0.256691
0.256691
0
0.026641
0.159424
3,751
100
156
37.51
0.755471
0.16369
0
0
0
0
0.071084
0
0
0
0
0.01
0
0
null
null
0
0.030303
null
null
0.030303
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
f3fc3878013c76ce0d72ef7770e074772b56e099
9,459
py
Python
pysynphot/test/test_tokenizer.py
dobos/pysynphot
5d2e0b52ceda78890940ac9239c2d88e149e0bed
[ "BSD-3-Clause" ]
24
2015-01-04T23:38:21.000Z
2022-02-01T00:11:07.000Z
pysynphot/test/test_tokenizer.py
dobos/pysynphot
5d2e0b52ceda78890940ac9239c2d88e149e0bed
[ "BSD-3-Clause" ]
126
2015-01-29T14:50:37.000Z
2022-02-15T01:58:13.000Z
pysynphot/test/test_tokenizer.py
dobos/pysynphot
5d2e0b52ceda78890940ac9239c2d88e149e0bed
[ "BSD-3-Clause" ]
25
2015-02-09T12:12:02.000Z
2021-09-09T13:06:54.000Z
from __future__ import absolute_import, division, print_function import pytest from ..spparser import Scanner scanner = Scanner() # Test of a single instance of each token. Does not test them in # context, but at least it tests that each one is recognized. tokens = [ # bug: the original pysynphot could not reco...
27.417391
76
0.461571
930
9,459
4.663441
0.177419
0.213051
0.147567
0.105142
0.675121
0.649527
0.632695
0.588425
0.588425
0.588425
0
0.044946
0.291997
9,459
344
77
27.497093
0.602658
0.053071
0
0.699324
0
0.013514
0.338273
0.07859
0
0
0
0
0.016892
1
0.02027
false
0
0.010135
0
0.037162
0.02027
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
f3fed70efe76821b13f574f22185b0c8fc08daa7
41,061
py
Python
python/ccxt/tprexchange.py
ThePeoplesReserve/ccxt
17c4678a07abac4cb972d968be2b79402921bc6e
[ "MIT" ]
null
null
null
python/ccxt/tprexchange.py
ThePeoplesReserve/ccxt
17c4678a07abac4cb972d968be2b79402921bc6e
[ "MIT" ]
null
null
null
python/ccxt/tprexchange.py
ThePeoplesReserve/ccxt
17c4678a07abac4cb972d968be2b79402921bc6e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange from ccxt.base.errors import ExchangeError from ccxt.base.errors import BadRequest from ccxt.base.e...
35.18509
179
0.445021
3,304
41,061
5.491223
0.167978
0.011464
0.009921
0.004961
0.392052
0.36284
0.357769
0.345092
0.340352
0.324808
0
0.041027
0.427169
41,061
1,166
180
35.215266
0.730326
0.241665
0
0.283149
1
0
0.11623
0.00621
0
0
0
0
0
1
0.042818
false
0
0.012431
0.001381
0.116022
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
6d0625dd2e18c12063fa26852ff1ebfcbd46b4df
396
py
Python
losses/rmse.py
borhanMorphy/facial-keypoints-detection
d2a0fe077d04ae6f2701af107b8322566f27a432
[ "MIT" ]
null
null
null
losses/rmse.py
borhanMorphy/facial-keypoints-detection
d2a0fe077d04ae6f2701af107b8322566f27a432
[ "MIT" ]
null
null
null
losses/rmse.py
borhanMorphy/facial-keypoints-detection
d2a0fe077d04ae6f2701af107b8322566f27a432
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F class RMSELoss(nn.Module): def __init__(self, reduction:str='mean'): super(RMSELoss, self).__init__() self.reduction = reduction def forward(self, input: torch.Tensor, target: torch.Tensor) -> torch.Tensor: mse = F.mse_...
33
81
0.691919
54
396
4.907407
0.444444
0.124528
0.098113
0
0
0
0
0
0
0
0
0
0.191919
396
12
82
33
0.828125
0
0
0
0
0
0.010076
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6d07329e9ea1eb9741dbc8294a06425bd37de9b6
295
py
Python
33. Python Programs/FactorialOfNumbers.py
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
225
2021-10-01T03:09:01.000Z
2022-03-11T11:32:49.000Z
33. Python Programs/FactorialOfNumbers.py
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
252
2021-10-01T03:45:20.000Z
2021-12-07T18:32:46.000Z
33. Python Programs/FactorialOfNumbers.py
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
911
2021-10-01T02:55:19.000Z
2022-02-06T09:08:37.000Z
for i in range(int(input())): fact=1 a=int(input()) for j in range(1,a+1,1): fact=fact*j print(fact) def factorial(n): return 1 if (n==1 or n==0) else n * factorial(n - 1); num = int(input('Enter number')) print("Factorial of",num,"is", factorial(num))
19.666667
57
0.559322
52
295
3.173077
0.461538
0.145455
0
0
0
0
0
0
0
0
0
0.036364
0.254237
295
14
58
21.071429
0.713636
0
0
0
0
0
0.088136
0
0
0
0
0
0
0
null
null
0
0
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6d075ac2628154f04da3d85c667770e6d9e9db4a
9,620
py
Python
Stocks.py
ya332/stock-advisor
108138415f8aa5ce2dee26ca43d5a55b744e26e2
[ "MIT" ]
19
2015-06-27T17:23:36.000Z
2019-06-30T03:09:34.000Z
Stocks.py
ya332/stock-advisor
108138415f8aa5ce2dee26ca43d5a55b744e26e2
[ "MIT" ]
null
null
null
Stocks.py
ya332/stock-advisor
108138415f8aa5ce2dee26ca43d5a55b744e26e2
[ "MIT" ]
1
2018-10-24T04:45:05.000Z
2018-10-24T04:45:05.000Z
__author__ = 'Robbie Barrat' # I need the datetime module for telling the current date when I compare todays stock values to 5 days ago and such. import datetime # Yahoo Finance V. 1.1.4 from yahoo_finance import Share # Arrow -- replaced the old date module import arrow # Checks to see if it is currently the weekend...
46.699029
159
0.666632
1,294
9,620
4.934312
0.284389
0.013782
0.015348
0.013156
0.22177
0.186844
0.171809
0.127486
0.111511
0.101175
0
0.006005
0.238358
9,620
205
160
46.926829
0.865429
0.217152
0
0.15894
0
0.046358
0.340582
0
0
0
0
0
0
0
null
null
0
0.019868
null
null
0.284768
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
6d07afd933b91df3022e8e6f670b97146b4008f1
1,600
py
Python
old/Basics/exampleButtons.py
JCTLearning/Project-Runner
3c36e0153900195cfa1736854b981b4f928d6043
[ "MIT" ]
null
null
null
old/Basics/exampleButtons.py
JCTLearning/Project-Runner
3c36e0153900195cfa1736854b981b4f928d6043
[ "MIT" ]
null
null
null
old/Basics/exampleButtons.py
JCTLearning/Project-Runner
3c36e0153900195cfa1736854b981b4f928d6043
[ "MIT" ]
null
null
null
from tkinter import * isOpen = True x = True """This Script is the Basic logic for the GUI (It will obviously have custom buttons and not be default buttons. Just created this to refer to creating buttons. We aren't using Datalists. We'll be putting their inputs into a .json file so we can call it back and average the...
30.769231
79
0.58875
206
1,600
4.524272
0.529126
0.042918
0.019313
0
0
0
0
0
0
0
0
0.011712
0.30625
1,600
51
80
31.372549
0.827928
0.05375
0
0
0
0
0.059337
0
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.060606
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
6d0e3402ff457c5aeb32f0b8f311699ddd2eab3e
4,100
py
Python
tests/graphql/objects/object_with_field_parameters/tests.py
ladal1/simple_api
1b5d560476bccad9f68a7331d092dbdb68c48bf7
[ "MIT" ]
1
2021-02-24T22:14:59.000Z
2021-02-24T22:14:59.000Z
tests/graphql/objects/object_with_field_parameters/tests.py
ladal1/simple_api
1b5d560476bccad9f68a7331d092dbdb68c48bf7
[ "MIT" ]
null
null
null
tests/graphql/objects/object_with_field_parameters/tests.py
ladal1/simple_api
1b5d560476bccad9f68a7331d092dbdb68c48bf7
[ "MIT" ]
null
null
null
from .objects import schema from tests.graphql.graphql_test_utils import GraphQLTestCase, remove_ws class Test(GraphQLTestCase): GRAPHQL_SCHEMA = schema REF_GRAPHQL_SCHEMA = """ schema { query: Query } type ActionInfo { name: String! parameters: [...
22.651934
71
0.360244
254
4,100
5.535433
0.26378
0.045519
0.039829
0.048364
0.351351
0.324324
0.324324
0.324324
0.183499
0.183499
0
0.006421
0.544146
4,100
180
72
22.777778
0.745853
0
0
0.3
0
0
0.395157
0
0
0
0
0
0.061538
1
0.030769
false
0
0.015385
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
6d112c6bc1fae1e06b84d5fca2b108ce3f6c8d0e
3,001
py
Python
wdfn-server/waterdata/tests/commands/lookup_generation/test_wqp_lookups.py
skaymen/waterdataui
3f419360771a007f8b441d631c782cd67a4e78b4
[ "CC0-1.0" ]
null
null
null
wdfn-server/waterdata/tests/commands/lookup_generation/test_wqp_lookups.py
skaymen/waterdataui
3f419360771a007f8b441d631c782cd67a4e78b4
[ "CC0-1.0" ]
null
null
null
wdfn-server/waterdata/tests/commands/lookup_generation/test_wqp_lookups.py
skaymen/waterdataui
3f419360771a007f8b441d631c782cd67a4e78b4
[ "CC0-1.0" ]
null
null
null
from unittest import TestCase, mock import requests from waterdata.commands.lookup_generation.wqp_lookups import ( get_lookup_by_json, is_us_county, get_nwis_state_lookup, get_nwis_county_lookup) @mock.patch('waterdata.commands.lookup_generation.wqp_lookups.execute_get_request') class GetLookupByJsonTestCase(T...
36.597561
114
0.614795
336
3,001
5.196429
0.252976
0.04811
0.076174
0.034364
0.541237
0.541237
0.402062
0.363116
0.328751
0.328751
0
0.024155
0.241253
3,001
81
115
37.049383
0.742644
0
0
0.189655
0
0
0.170667
0.022667
0
0
0
0
0.206897
1
0.206897
false
0
0.051724
0.017241
0.344828
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
6d132e8c6c61ba288e7191f564d48638877b2dac
6,553
py
Python
src/SPARQL_BAMS_Store_Query_Example.py
rsoscia/BAMS-to-NeuroLex
e6c3b23725e63c0c9a70a7ef8c7a9ca0789ae153
[ "MIT" ]
1
2015-11-10T05:20:20.000Z
2015-11-10T05:20:20.000Z
src/SPARQL_BAMS_Store_Query_Example.py
rsoscia/BAMS-to-NeuroLex
e6c3b23725e63c0c9a70a7ef8c7a9ca0789ae153
[ "MIT" ]
null
null
null
src/SPARQL_BAMS_Store_Query_Example.py
rsoscia/BAMS-to-NeuroLex
e6c3b23725e63c0c9a70a7ef8c7a9ca0789ae153
[ "MIT" ]
null
null
null
#SPARQL_BAMS_Store_Query_Example.py #Accessing Python Interactive Mode: #python -i SPARQL_BAMS_Store_Query_Example.py #This program demonstrates a basic query pulling data out of a persisted SPARQL store #For Parsing import rdflib from rdflib import plugin #for getting the length of the files import os #for working...
29.518018
94
0.53548
700
6,553
4.987143
0.252857
0.025208
0.050415
0.059868
0.541106
0.514179
0.460327
0.411343
0.411343
0.368089
0
0.069821
0.14543
6,553
221
95
29.651584
0.553571
0.327789
0
0.465517
0
0
0.164973
0.028691
0
0
0
0
0
0
null
null
0
0.086207
null
null
0.258621
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
6d15f9fd513819715f4bc8c0abb5943c1d4656f1
3,767
py
Python
basic_statistics.py
YitengZhou/cgcnn
e8de8d3c20ba7079314b25a6c5de33cedce4f783
[ "MIT" ]
1
2020-11-25T09:04:49.000Z
2020-11-25T09:04:49.000Z
basic_statistics.py
YitengZhou/cgcnn
e8de8d3c20ba7079314b25a6c5de33cedce4f783
[ "MIT" ]
null
null
null
basic_statistics.py
YitengZhou/cgcnn
e8de8d3c20ba7079314b25a6c5de33cedce4f783
[ "MIT" ]
1
2022-02-20T11:40:51.000Z
2022-02-20T11:40:51.000Z
import csv # # Calculate the proportion of Four types of datasets - energy, piezo, elasticity, diel # # Energy # energy = [] # with open('training/energy/energy.csv', 'r', encoding='utf-8') as en: # reader = csv.reader(en) # for row in reader: # energy.append(row[0]) # print(len(energy)) # # # elas...
26.907143
88
0.581099
498
3,767
4.37751
0.126506
0.051376
0.058716
0.055046
0.588073
0.555046
0.420183
0.380734
0.380734
0.380734
0
0.036376
0.241041
3,767
139
89
27.100719
0.726128
0.644014
0
0.893617
0
0
0.1042
0.067851
0
0
0
0
0
1
0
false
0
0.021277
0
0.021277
0.191489
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d1f45a9ce8e28e7011e284064528bb0f1a5eef0
443
py
Python
authentication.py
Daniel-Timothy-Leads/dtleads-api-helper-reference
0206ba796a4df07cf0c1ceca0489c58928cade1e
[ "MIT" ]
null
null
null
authentication.py
Daniel-Timothy-Leads/dtleads-api-helper-reference
0206ba796a4df07cf0c1ceca0489c58928cade1e
[ "MIT" ]
null
null
null
authentication.py
Daniel-Timothy-Leads/dtleads-api-helper-reference
0206ba796a4df07cf0c1ceca0489c58928cade1e
[ "MIT" ]
null
null
null
import dtleads_api_helper dtl = dtleads_api_helper.DanielTimothyLeads() # create instance of DTLeads helper ## Authentication/Authorization results = dtl.authorize_login("<username>", "<password>") token_details = dtl.handle_response(results) print(token_details) ## refresh the token refresh_token = token_details['r...
31.642857
81
0.817156
55
443
6.290909
0.418182
0.17341
0.092486
0.121387
0.439306
0.306358
0.306358
0.306358
0.306358
0
0
0
0.083521
443
14
82
31.642857
0.852217
0.180587
0
0.444444
0
0
0.092179
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6d259ad8652754ae6ba08a88636138de14a40976
15,712
py
Python
api/migrations/0001_initial.py
CraftyGirls/REST-Services
30a435e113953ffe3984f611fcb595b38490e654
[ "MIT" ]
null
null
null
api/migrations/0001_initial.py
CraftyGirls/REST-Services
30a435e113953ffe3984f611fcb595b38490e654
[ "MIT" ]
22
2015-09-09T20:02:12.000Z
2016-01-22T03:01:08.000Z
api/migrations/0001_initial.py
CraftyGirls/REST-Services
30a435e113953ffe3984f611fcb595b38490e654
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
45.542029
430
0.542261
1,473
15,712
5.67685
0.111337
0.035398
0.092681
0.081559
0.725544
0.656302
0.636809
0.587778
0.552858
0.533006
0
0.008463
0.300598
15,712
344
431
45.674419
0.75248
0.001337
0
0.707101
0
0
0.133915
0.005545
0
0
0
0
0
1
0
false
0
0.008876
0
0.017751
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d2b3418afb5afe27f7faa195e05cfdac751a8a3
324
py
Python
Codeforces/C_Killjoy.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/C_Killjoy.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/C_Killjoy.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
for _ in range(int(input())): n,x = map(int,input().split()) l = list(map(int,input().split())) flag=2 if len(set(l)) == 1 and l[0] == x: flag=0 elif x in l or sum([i-x for i in l])==0: flag=1 if flag==0: print(0) elif flag==1: print(1) else: print...
21.6
44
0.462963
58
324
2.568966
0.431034
0.161074
0.147651
0.214765
0
0
0
0
0
0
0
0.051643
0.342593
324
14
45
23.142857
0.647887
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.214286
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
6d2dfab6aff32aa71e6750ca1bd9b42e41522133
1,130
py
Python
msgcode/index2.py
MisterZhouZhou/pythonLearn
8933c7a6d444d3d86a173984e6cf4c08dbf84039
[ "Apache-2.0" ]
1
2019-07-09T09:59:39.000Z
2019-07-09T09:59:39.000Z
msgcode/index2.py
MisterZhouZhou/pythonLearn
8933c7a6d444d3d86a173984e6cf4c08dbf84039
[ "Apache-2.0" ]
null
null
null
msgcode/index2.py
MisterZhouZhou/pythonLearn
8933c7a6d444d3d86a173984e6cf4c08dbf84039
[ "Apache-2.0" ]
null
null
null
import PIL.Image,PIL.ImageDraw,PIL.ImageFont,PIL.ImageFilter import random #随机字母 def rndchar(): return chr(random.randint(65, 90)) #random.randint()函数生成随机数字,数字范围为在65 到90内,在此范围内的美国标准信息编码是大写的A-Z #chr(kk) 函数,kk为整数,asc编码值,函数返回asc编码为kk 的对应的字符 #随机颜色1 def rndcolor(): return random.randint(64, 255),random.randint(64...
26.904762
116
0.738053
158
1,130
5.28481
0.525316
0.124551
0.053892
0.064671
0.129341
0.129341
0.129341
0.129341
0
0
0
0.065476
0.107965
1,130
42
117
26.904762
0.761905
0.309735
0
0
0
0
0.027273
0
0
0
0
0
0
1
0.15
false
0
0.1
0.15
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
0
1
0
0
0
1
6d31e720a0395d6ea7884f350148553c622f24df
2,066
py
Python
google/ads/google_ads/v0/proto/services/keyword_view_service_pb2_grpc.py
jwygoda/google-ads-python
863892b533240cb45269d9c2cceec47e2c5a8b68
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v0/proto/services/keyword_view_service_pb2_grpc.py
jwygoda/google-ads-python
863892b533240cb45269d9c2cceec47e2c5a8b68
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v0/proto/services/keyword_view_service_pb2_grpc.py
jwygoda/google-ads-python
863892b533240cb45269d9c2cceec47e2c5a8b68
[ "Apache-2.0" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.ads.google_ads.v0.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v0_dot_proto_dot_resources_dot_keyword__view__pb2 from google.ads.google_ads.v0.proto.services import keyword_view_service_pb2 as goog...
43.041667
167
0.810745
253
2,066
6.071146
0.288538
0.064453
0.046875
0.058594
0.479167
0.479167
0.419271
0.334635
0.334635
0.334635
0
0.009912
0.121007
2,066
47
168
43.957447
0.835903
0.117619
0
0
1
0
0.099497
0.065959
0
0
0
0
0
1
0.115385
false
0
0.115385
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
6d377b9f0e95cc7da3ba86cd55faed22a2297117
891
py
Python
setup.py
spapas/django-git
a62215d315263bce5d5d0afcfa14152601f76901
[ "MIT" ]
1
2019-03-15T10:32:21.000Z
2019-03-15T10:32:21.000Z
setup.py
spapas/django-git
a62215d315263bce5d5d0afcfa14152601f76901
[ "MIT" ]
null
null
null
setup.py
spapas/django-git
a62215d315263bce5d5d0afcfa14152601f76901
[ "MIT" ]
1
2016-03-25T03:57:49.000Z
2016-03-25T03:57:49.000Z
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-git', version='0.1.0', description='Get git information for your django repository', author='Serafeim Papastefanos', author_email='spapas@gmail.com', license='MIT', url='https://github.com/spapas/django-g...
29.7
69
0.62514
95
891
5.789474
0.736842
0.043636
0
0
0
0
0
0
0
0
0
0.010057
0.218855
891
29
70
30.724138
0.780172
0.022447
0
0
0
0
0.504598
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
6d3b89d7e2be00a2238a2e44ed78c4b9050bf029
2,450
py
Python
ex09-pg/ex09-pg.py
s0tt/rl-course
e2094b3d4d6f4401c5eaee1f283dae9ddf516716
[ "MIT" ]
null
null
null
ex09-pg/ex09-pg.py
s0tt/rl-course
e2094b3d4d6f4401c5eaee1f283dae9ddf516716
[ "MIT" ]
null
null
null
ex09-pg/ex09-pg.py
s0tt/rl-course
e2094b3d4d6f4401c5eaee1f283dae9ddf516716
[ "MIT" ]
null
null
null
import gym import numpy as np import matplotlib.pyplot as plt def policy(state, theta): """ TODO: return probabilities for actions under softmax action selection """ h = state @ theta return np.exp(h)/np.sum(np.exp(h)) def generate_episode(env, theta, display=False): """ enerates one episode and ret...
29.518072
128
0.59551
343
2,450
4.145773
0.335277
0.038678
0.037975
0.048523
0.092827
0.092827
0.067511
0.067511
0
0
0
0.020857
0.275918
2,450
82
129
29.878049
0.780722
0.160408
0
0.033898
0
0
0.053922
0
0
0
0
0.012195
0
1
0.067797
false
0
0.050847
0
0.169492
0.016949
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
6d3dea70d27480b04ab234ec6603df5eec45e0a3
1,425
py
Python
Bite 105. Slice and dice.py
Guznin/PyBites
4a683a1d3aa6e742d28e96e8dfe5de7dd1f61e4a
[ "MIT" ]
1
2019-07-16T15:51:19.000Z
2019-07-16T15:51:19.000Z
Bite 105. Slice and dice.py
Guznin/PyBites
4a683a1d3aa6e742d28e96e8dfe5de7dd1f61e4a
[ "MIT" ]
null
null
null
Bite 105. Slice and dice.py
Guznin/PyBites
4a683a1d3aa6e742d28e96e8dfe5de7dd1f61e4a
[ "MIT" ]
2
2019-10-02T07:30:17.000Z
2020-04-07T20:38:58.000Z
""" Take the block of text provided and strip off the whitespace at both ends. Split the text by newline (\n) using split. Loop through the lines and if the first character of each (stripped) line is lowercase, split the line into words and add the last word to the (given) results list, stripping the trailing dot (.)...
39.583333
246
0.687719
245
1,425
3.959184
0.481633
0.018557
0.020619
0.02268
0.03299
0.03299
0
0
0
0
0
0.008072
0.217544
1,425
36
247
39.583333
0.861883
0.293333
0
0
0
0.08
0.652305
0
0
0
0
0
0
1
0.04
false
0
0
0
0.08
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
6d3ec069650a07875b8e93b882c63f60bc92401c
1,809
py
Python
main/migrations/0009_auto_20180512_1403.py
jfilter/MDMA
90feb5cf351787b1590a556764c4528daabfe051
[ "MIT" ]
4
2018-06-14T15:33:37.000Z
2019-02-25T09:23:45.000Z
main/migrations/0009_auto_20180512_1403.py
jfilter/MDMA
90feb5cf351787b1590a556764c4528daabfe051
[ "MIT" ]
1
2020-02-11T22:26:49.000Z
2020-02-11T22:26:49.000Z
main/migrations/0009_auto_20180512_1403.py
jfilter/MDMA
90feb5cf351787b1590a556764c4528daabfe051
[ "MIT" ]
1
2019-02-25T09:23:48.000Z
2019-02-25T09:23:48.000Z
# Generated by Django 2.0.5 on 2018-05-12 14:03 import django.core.validators from django.db import migrations, models import main.models class Migration(migrations.Migration): dependencies = [ ('main', '0008_auto_20180507_2011'), ] operations = [ migrations.RemoveField( mod...
34.132075
164
0.610835
173
1,809
6.231214
0.410405
0.06679
0.06679
0.089054
0.412801
0.375696
0.070501
0
0
0
0
0.032477
0.268104
1,809
52
165
34.788462
0.781722
0.024876
0
0.521739
1
0
0.11748
0.04143
0
0
0
0
0
1
0
false
0
0.065217
0
0.130435
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
6d4062683b884798ed07b82edb1e9d86a003556b
21,319
py
Python
recipes/Python/577462_A_Buttonbar_program_with_color_/recipe-577462.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577462_A_Buttonbar_program_with_color_/recipe-577462.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577462_A_Buttonbar_program_with_color_/recipe-577462.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
''' ;#template` {-path} {-menu} {-s1} {-s2} {-s3} ;#option`-path`Path to controlling file`F`c:\source\python\projects\menu\buttonbar.py` ;#option`-menu`Path to menu file`F`c:\source\python\projects\menu\test.ini` ;#option`-s1`First section`X`info` ;#option`-s2`Second section`X`help` ;#option`-s3`Third section`X`data` ;...
39.045788
140
0.506262
2,170
21,319
4.967742
0.22765
0.008905
0.005195
0.008349
0.240724
0.215492
0.189981
0.170501
0.137291
0.109091
0
0.013885
0.385149
21,319
545
141
39.117431
0.808514
0.138656
0
0.226463
0
0.030534
0.307966
0.031245
0
0
0
0
0
0
null
null
0.010178
0.030534
null
null
0.012723
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
6d42d200de04bf75125a5f7cac6051062bfeb40b
1,414
py
Python
getting_started.py
amit-timalsina/Generative-Python-Transformer
9353cccb084f7c01be5355eedf69094f91d30433
[ "MIT" ]
null
null
null
getting_started.py
amit-timalsina/Generative-Python-Transformer
9353cccb084f7c01be5355eedf69094f91d30433
[ "MIT" ]
null
null
null
getting_started.py
amit-timalsina/Generative-Python-Transformer
9353cccb084f7c01be5355eedf69094f91d30433
[ "MIT" ]
null
null
null
<<<<<<< HEAD from curtsies.fmtfuncs import cyan, bold ======= >>>>>>> 9a201987d7a6490e552e7d03d8281330895ef733 from github import Github import time from datetime import datetime import os ACCESS_TOKEN = open('token.txt', 'r').read() g = Github(ACCESS_TOKEN) print(g.get_user()) <<<<<<< HEAD end_time = time.time() - ...
30.73913
103
0.687412
178
1,414
5.303371
0.353933
0.059322
0.076271
0.03178
0.256356
0.224576
0.224576
0.224576
0.15678
0.15678
0
0.095357
0.1471
1,414
45
104
31.422222
0.687396
0.019095
0
0.297297
0
0
0.272202
0.177617
0
0
0
0
0
0
null
null
0
0.135135
null
null
0.216216
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
6d451b82a61be9c8cca43334325abb31306bcadf
760
py
Python
sessions/session 4/queue_publish_read.py
IceCrew-Source/BachelorDIM-Lectures-Algorithms-2020
95d2761883feebada25f62c20bdfe405a1353f61
[ "MIT" ]
null
null
null
sessions/session 4/queue_publish_read.py
IceCrew-Source/BachelorDIM-Lectures-Algorithms-2020
95d2761883feebada25f62c20bdfe405a1353f61
[ "MIT" ]
null
null
null
sessions/session 4/queue_publish_read.py
IceCrew-Source/BachelorDIM-Lectures-Algorithms-2020
95d2761883feebada25f62c20bdfe405a1353f61
[ "MIT" ]
null
null
null
import argparse import os import pika from decouple import config import importlib simple_queue_read = importlib.import_module('simple_queue_read') simple_queue_publish = importlib.import_module('simple_queue_publish') URL = config('URL') url = os.environ.get('CLOUDAMQP_URL', URL) params = pika.URLParameters(url) pa...
27.142857
70
0.794737
101
760
5.762376
0.445545
0.113402
0.07732
0.092784
0.109966
0
0
0
0
0
0
0.001462
0.1
760
27
71
28.148148
0.849415
0.040789
0
0
0
0
0.108815
0
0
0
0
0
0
1
0
false
0
0.318182
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
0
0
0
0
0
0
1
0
0
0
0
1
6d4b0371bbc405789746fc2f894683115042f998
1,186
py
Python
translate.py
KTH1234/deep_summ
f242733f55e0b42c4fe3ac469142f9586102599d
[ "MIT" ]
null
null
null
translate.py
KTH1234/deep_summ
f242733f55e0b42c4fe3ac469142f9586102599d
[ "MIT" ]
null
null
null
translate.py
KTH1234/deep_summ
f242733f55e0b42c4fe3ac469142f9586102599d
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import division, unicode_literals import argparse from onmt.translate.Translator import make_translator import onmt.io import onmt.translate import onmt import onmt.ModelConstructor import onmt.modules import onmt.opts import timeit def main(opt): translator = mak...
27.581395
112
0.724283
154
1,186
5.285714
0.474026
0.077396
0.058968
0.078624
0.142506
0.142506
0.142506
0.09828
0.09828
0
0
0.001044
0.192243
1,186
42
113
28.238095
0.848643
0.075042
0
0
0
0
0.037443
0
0
0
0
0
0
1
0.034483
false
0
0.344828
0
0.448276
0.034483
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
6d4e696d020c5cc19c2a78065f0bfe86189cfbb6
476
py
Python
src/streaming-programs/01-wordsplit_map.py
gofore/aws-emr
31c70abc92aa84cfa93841be59f546809310fe6c
[ "MIT" ]
2
2017-02-12T07:14:37.000Z
2019-08-12T19:13:40.000Z
src/streaming-programs/01-wordsplit_map.py
gofore/aws-emr
31c70abc92aa84cfa93841be59f546809310fe6c
[ "MIT" ]
1
2021-05-07T05:47:27.000Z
2021-05-07T05:47:27.000Z
src/streaming-programs/01-wordsplit_map.py
gofore/aws-emr
31c70abc92aa84cfa93841be59f546809310fe6c
[ "MIT" ]
7
2015-02-23T18:57:52.000Z
2019-11-06T09:31:24.000Z
#!/usr/bin/python import sys import re # Test application to check whether EMR pipeline and reading the data works # This code is from the EMR example: # https://s3.amazonaws.com/elasticmapreduce/samples/wordcount/wordSplitter.py def main(argv): pattern = re.compile("[a-zA-Z][a-zA-Z0-9]*") for line in sys.std...
28
77
0.67437
71
476
4.408451
0.774648
0.019169
0
0
0
0
0
0
0
0
0
0.010336
0.186975
476
16
78
29.75
0.79845
0.422269
0
0
0
0
0.162362
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6d5163ff7afac2854217dc08a8bc7b2702ea0ae5
1,550
py
Python
query_research/bound_variables.py
sjuenger/WikiMETA
13ed293b4bda8ff0fc10b532907ca35c24a12616
[ "MIT" ]
null
null
null
query_research/bound_variables.py
sjuenger/WikiMETA
13ed293b4bda8ff0fc10b532907ca35c24a12616
[ "MIT" ]
null
null
null
query_research/bound_variables.py
sjuenger/WikiMETA
13ed293b4bda8ff0fc10b532907ca35c24a12616
[ "MIT" ]
null
null
null
import glob import json # to hand over the bound variables of a quuery # e.g. ["var4", "<http://www.w3.org/ns/prov#wasDerivedFrom>"] # for : #SELECT ?var1 ?var2Label ?var3 #WHERE { # BIND ( <http://www.w3.org/ns/prov#wasDerivedFrom> AS ?var4 ). # ?var5 ?var6 ?var4 . # ?var5 <http://www.w3.org/1999/02/22-rdf...
36.046512
107
0.58129
186
1,550
4.736559
0.44086
0.143019
0.040863
0.054484
0.072645
0.072645
0.072645
0
0
0
0
0.034061
0.26129
1,550
42
108
36.904762
0.735371
0.547097
0
0
0
0
0.163447
0
0
0
0
0.02381
0
1
0.076923
false
0
0.153846
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
1
0
0
0
0
0
0
0
0
0
0
1
6d520b7ec88266cce313daeeffbe58a78a8cd7b3
337
py
Python
metaci/build/migrations/0030_build_priority.py
sfdc-qbranch/MetaCI
78ac0d2bccd2db381998321ebd71029dd5d9ab39
[ "BSD-3-Clause" ]
48
2018-10-24T14:52:06.000Z
2022-03-25T21:14:50.000Z
metaci/build/migrations/0030_build_priority.py
sfdc-qbranch/MetaCI
78ac0d2bccd2db381998321ebd71029dd5d9ab39
[ "BSD-3-Clause" ]
2,034
2018-10-31T20:59:16.000Z
2022-03-22T21:38:03.000Z
metaci/build/migrations/0030_build_priority.py
sfdc-qbranch/MetaCI
78ac0d2bccd2db381998321ebd71029dd5d9ab39
[ "BSD-3-Clause" ]
27
2018-12-24T18:16:23.000Z
2021-12-15T17:57:27.000Z
# Generated by Django 2.2.5 on 2019-10-01 15:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("build", "0029_build_org_note")] operations = [ migrations.AddField( model_name="build", name="priority", field=models.IntegerField(default=0)...
22.466667
85
0.661721
41
337
5.341463
0.780488
0
0
0
0
0
0
0
0
0
0
0.075758
0.216617
337
14
86
24.071429
0.753788
0.133531
0
0
1
0
0.127586
0
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d537aafddd30273e1241cbf12d001f8b117f913
3,392
py
Python
work/MTRIX/submit_to_queue3.py
youdar/work
d5f32015e7be1d58ede255eeadbd1d12acb3f270
[ "MIT" ]
null
null
null
work/MTRIX/submit_to_queue3.py
youdar/work
d5f32015e7be1d58ede255eeadbd1d12acb3f270
[ "MIT" ]
null
null
null
work/MTRIX/submit_to_queue3.py
youdar/work
d5f32015e7be1d58ede255eeadbd1d12acb3f270
[ "MIT" ]
null
null
null
from __future__ import division from libtbx.command_line import easy_qsub from misc_scripts import helpers from misc_scripts.r_factor_calc import * from iotbx import pdb import cPickle as pickle import os ''' Submit to queue all files with good MTRIX records that also havestracture factor files ''' def run(): # se...
40.86747
121
0.721403
524
3,392
4.383588
0.305344
0.0431
0.06269
0.054854
0.276012
0.222464
0.195037
0.118415
0.118415
0.069656
0
0.020479
0.150649
3,392
82
122
41.365854
0.776814
0.204599
0
0
0
0
0.242761
0.118207
0
0
0
0
0
0
null
null
0
0.148936
null
null
0.106383
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
6d540b98a72ab68cdb241761ec9a3d49ae2599e1
426
py
Python
czsc/__init__.py
vercity/czsc
7a372baa3a550b18ff319008ac3fcab0f3faa684
[ "MIT" ]
1
2022-02-22T06:31:40.000Z
2022-02-22T06:31:40.000Z
czsc/__init__.py
vercity/czsc
7a372baa3a550b18ff319008ac3fcab0f3faa684
[ "MIT" ]
1
2021-09-25T02:32:39.000Z
2021-09-25T02:32:39.000Z
czsc/__init__.py
vercity/czsc
7a372baa3a550b18ff319008ac3fcab0f3faa684
[ "MIT" ]
null
null
null
# coding: utf-8 from .analyze import CZSC from .traders.advanced import CzscAdvancedTrader from .utils.ta import SMA, EMA, MACD, KDJ from .objects import Freq, Operate, Direction, Signal, Factor, Event, RawBar, NewBar from . import aphorism __version__ = "0.8.17" __author__ = "zengbin93" __email__ = "zeng_bin8888@163...
23.666667
84
0.758216
57
426
5.210526
0.77193
0
0
0
0
0
0
0
0
0
0
0.058981
0.124413
426
17
85
25.058824
0.737265
0.030516
0
0
0
0
0.209756
0.063415
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6d546d1dc2cae3ea649edcb8b4f5382cc4bc67ee
334
py
Python
restaurant/migrations/0004_remove_recipe_ingreiends.py
turgayh/Recipe-Share
858eb3e0e21c11b62249fbc9490cd7bb1f244b9e
[ "MIT" ]
1
2021-01-20T20:52:47.000Z
2021-01-20T20:52:47.000Z
restaurant/migrations/0004_remove_recipe_ingreiends.py
turgayh/Recipe-Share
858eb3e0e21c11b62249fbc9490cd7bb1f244b9e
[ "MIT" ]
null
null
null
restaurant/migrations/0004_remove_recipe_ingreiends.py
turgayh/Recipe-Share
858eb3e0e21c11b62249fbc9490cd7bb1f244b9e
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-25 19:30 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('restaurant', '0003_recipe_ingreiends'), ] operations = [ migrations.RemoveField( model_name='recipe', name='ingreiends', ...
18.555556
49
0.598802
34
334
5.794118
0.794118
0
0
0
0
0
0
0
0
0
0
0.080169
0.290419
334
17
50
19.647059
0.751055
0.134731
0
0
1
0
0.167247
0.076655
0
0
0
0
0
1
0
false
0
0.090909
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d5ea38576f25db53776c642414c54041033cdde
7,525
py
Python
Project/src/uff/ic/mell/sentimentembedding/modelos/modelo_transformer.py
MeLL-UFF/tuning_sentiment
cb8683be115f694e02c12f8e1a90529a08c7d1d6
[ "MIT" ]
2
2021-09-23T18:06:10.000Z
2021-09-23T18:15:11.000Z
Project/src/uff/ic/mell/sentimentembedding/modelos/modelo_transformer.py
MeLL-UFF/tuning_sentiment
cb8683be115f694e02c12f8e1a90529a08c7d1d6
[ "MIT" ]
null
null
null
Project/src/uff/ic/mell/sentimentembedding/modelos/modelo_transformer.py
MeLL-UFF/tuning_sentiment
cb8683be115f694e02c12f8e1a90529a08c7d1d6
[ "MIT" ]
null
null
null
from uff.ic.mell.sentimentembedding.utils.data_converstion_utils import convert_tensor2array from uff.ic.mell.sentimentembedding.modelos.modelo import Modelo import pandas as pd import numpy as np import torch from enum import Enum from tokenizers import ByteLevelBPETokenizer class ModeloTransformer(Modelo): # m...
47.626582
154
0.612226
851
7,525
5.304348
0.310223
0.012406
0.017723
0.02747
0.179442
0.130704
0.099247
0.081967
0.081967
0.081967
0
0.007823
0.303522
7,525
157
155
47.929936
0.853463
0.385914
0
0.133333
0
0
0.024679
0
0
0
0
0.025478
0
1
0.08
false
0
0.093333
0
0.293333
0.026667
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
6d61115da86ee25dd4b72746264e5411b0609670
7,889
py
Python
sdk/python/pulumi_ovh/get_vps.py
legitbee/pulumi-ovh
23205a76a958edfbfcd96242d9663b3d7c81ccd9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_ovh/get_vps.py
legitbee/pulumi-ovh
23205a76a958edfbfcd96242d9663b3d7c81ccd9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_ovh/get_vps.py
legitbee/pulumi-ovh
23205a76a958edfbfcd96242d9663b3d7c81ccd9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
34.3
263
0.63316
914
7,889
5.249453
0.140044
0.021259
0.05669
0.106294
0.31263
0.206961
0.137349
0.050021
0.024594
0.024594
0
0.000171
0.259222
7,889
229
264
34.449782
0.820842
0.058056
0
0.177419
1
0
0.135616
0.005979
0
0
0
0
0
1
0.112903
false
0
0.026882
0.086022
0.252688
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
6d61124fdff6342f0f0ec0bd44dc8339e788d4a2
901
py
Python
config_projector.py
edmcdonagh/drumminhands_projector
bcb32ccfd9b18889ea87b01e6ad32a6298e89fdb
[ "MIT" ]
6
2016-11-19T21:15:57.000Z
2020-03-07T13:26:38.000Z
config_projector.py
edmcdonagh/drumminhands_projector
bcb32ccfd9b18889ea87b01e6ad32a6298e89fdb
[ "MIT" ]
null
null
null
config_projector.py
edmcdonagh/drumminhands_projector
bcb32ccfd9b18889ea87b01e6ad32a6298e89fdb
[ "MIT" ]
2
2017-11-30T07:59:21.000Z
2019-02-09T22:29:43.000Z
#!/usr/bin/env python # configure these settings to change projector behavior server_mount_path = '//192.168.42.11/PiShare' # shared folder on other pi user_name = 'pi' # shared drive login user name user_password = 'raspberry' # shared drive login password client_mount_path = '/mnt/pishare' # where to find the shared...
56.3125
88
0.758047
144
901
4.659722
0.569444
0.026826
0.041729
0.041729
0.104322
0.104322
0.104322
0
0
0
0
0.025232
0.164262
901
15
89
60.066667
0.86587
0.622642
0
0
0
0
0.322086
0.171779
0
0
0
0
0
1
0
false
0.083333
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
ed9aa65300cd780d6505d47d777d1fe467511db5
1,777
py
Python
opt.py
ArmandB/RITnet
afe9524fdd795982c7e52761da68af2dfda589ea
[ "MIT" ]
null
null
null
opt.py
ArmandB/RITnet
afe9524fdd795982c7e52761da68af2dfda589ea
[ "MIT" ]
null
null
null
opt.py
ArmandB/RITnet
afe9524fdd795982c7e52761da68af2dfda589ea
[ "MIT" ]
3
2021-03-05T04:49:42.000Z
2022-02-16T20:20:33.000Z
from pprint import pprint import argparse def parse_args(): parser = argparse.ArgumentParser() # Data input settings parser.add_argument('--dataset', type=str, default='Semantic_Segmentation_Dataset/', help='name of dataset') # Optimization: General parser.add_argument('--bs', type=int, default = ...
43.341463
112
0.694429
236
1,777
5.084746
0.385593
0.12
0.226667
0.063333
0.07
0
0
0
0
0
0
0.007874
0.142375
1,777
40
113
44.425
0.779528
0.026449
0
0
0
0
0.32423
0.017432
0
0
0
0
0
1
0.035714
false
0
0.071429
0
0.142857
0.142857
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
eda26997e04dad71a5345443c6618c67bd6570e5
613
py
Python
oops_fhir/r4/value_set/contact_point_system.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/contact_point_system.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/contact_point_system.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
from pathlib import Path from fhir.resources.valueset import ValueSet as _ValueSet from oops_fhir.utils import ValueSet from oops_fhir.r4.code_system.contact_point_system import ( ContactPointSystem as ContactPointSystem_, ) __all__ = ["ContactPointSystem"] _resource = _ValueSet.parse_file(Path(__file__).wit...
19.774194
69
0.748777
69
613
6.347826
0.536232
0.082192
0.073059
0.091324
0
0
0
0
0
0
0
0.009785
0.166395
613
30
70
20.433333
0.847358
0.238173
0
0
0
0
0.052392
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
eda269eeba1002830ddb7feba1403352015b2168
3,367
py
Python
django_db_meter/views.py
djangothon/django-db-meter
2a96b32b5cc1a926832316841afd5da7d90a0b8f
[ "Apache-2.0" ]
null
null
null
django_db_meter/views.py
djangothon/django-db-meter
2a96b32b5cc1a926832316841afd5da7d90a0b8f
[ "Apache-2.0" ]
null
null
null
django_db_meter/views.py
djangothon/django-db-meter
2a96b32b5cc1a926832316841afd5da7d90a0b8f
[ "Apache-2.0" ]
null
null
null
import json from django.conf import settings from django.core.urlresolvers import reverse from django.http import HttpResponse from django.db.models import get_apps, get_models from django.shortcuts import render from django.core.serializers.json import DjangoJSONEncoder from django_db_meter.models import DBQueryMetr...
33.67
101
0.703594
443
3,367
5.085779
0.198646
0.051931
0.04261
0.050599
0.365735
0.306258
0.218819
0.185974
0.149578
0.149578
0
0.005134
0.19008
3,367
99
102
34.010101
0.821049
0.006831
0
0.240964
0
0
0.097846
0
0
0
0
0
0
0
null
null
0
0.13253
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
edad2a21f58b87b3261ce84038ec82c4c7e7c0c6
57,471
py
Python
ion/agents/mission_executive.py
ooici/coi-services
43246f46a82e597345507afd7dfc7373cb346afa
[ "BSD-2-Clause" ]
3
2016-09-20T09:50:06.000Z
2018-08-10T01:41:38.000Z
ion/agents/mission_executive.py
ooici/coi-services
43246f46a82e597345507afd7dfc7373cb346afa
[ "BSD-2-Clause" ]
null
null
null
ion/agents/mission_executive.py
ooici/coi-services
43246f46a82e597345507afd7dfc7373cb346afa
[ "BSD-2-Clause" ]
2
2016-03-16T22:25:49.000Z
2016-11-26T14:54:21.000Z
""" @package ion.agents.mission_executive @file ion/agents/mission_executive.py @author Bob Fratantonio @brief A class for the platform mission executive """ import calendar import gevent import yaml import time from time import gmtime import pytz from datetime import datetime from pyon.agent.agent import Reso...
44.242494
127
0.599346
6,007
57,471
5.48277
0.083569
0.042629
0.015789
0.014999
0.511796
0.453287
0.418339
0.3816
0.368514
0.341157
0
0.0028
0.310243
57,471
1,298
128
44.276579
0.828032
0.09222
0
0.389499
0
0.001221
0.117105
0.014698
0
0
0
0.001541
0
0
null
null
0.001221
0.02442
null
null
0.003663
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
edb43d40789e6373d5f99ed2947e668d34a00f63
1,499
py
Python
setup.py
andrewwstephens/GNIRS-Pype
eb38f75e98d4f12aee51bab3c2058f28ab2a318f
[ "BSD-3-Clause" ]
2
2020-01-05T03:28:02.000Z
2020-03-22T04:35:40.000Z
setup.py
andrewwstephens/GNIRS-Pype
eb38f75e98d4f12aee51bab3c2058f28ab2a318f
[ "BSD-3-Clause" ]
3
2019-08-25T20:53:40.000Z
2019-08-25T20:56:28.000Z
setup.py
andrewwstephens/GNIRS-Pype
eb38f75e98d4f12aee51bab3c2058f28ab2a318f
[ "BSD-3-Clause" ]
1
2019-08-21T08:35:09.000Z
2019-08-21T08:35:09.000Z
# Based on STScI's JWST calibration pipeline. from __future__ import print_function from setuptools import setup, find_packages, Extension, Command from glob import glob # Open the README as the package long description readme = open('README.rst', 'r') README_TEXT = readme.read() readme.close() NAME = 'gnirs-pype' S...
33.311111
134
0.67445
172
1,499
5.77907
0.639535
0.033199
0.042254
0
0
0
0
0
0
0
0
0.00665
0.197465
1,499
44
135
34.068182
0.819618
0.127418
0
0
0
0
0.456288
0.033742
0
0
0
0.022727
0
1
0
false
0
0.078947
0
0.078947
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
1
0
0
0
0
0
0
0
0
0
0
1
edb88c87eacb260200fcfeff5b16ef69ed4f2641
1,476
py
Python
setup.py
jeroyang/mcgocr
6cc6967b32161ee17cd52b482c4e9d1c08200285
[ "MIT" ]
1
2021-12-14T18:31:00.000Z
2021-12-14T18:31:00.000Z
setup.py
jeroyang/mcgocr
6cc6967b32161ee17cd52b482c4e9d1c08200285
[ "MIT" ]
1
2021-03-31T18:52:56.000Z
2021-03-31T18:52:56.000Z
setup.py
jeroyang/mcgocr
6cc6967b32161ee17cd52b482c4e9d1c08200285
[ "MIT" ]
1
2019-05-15T17:43:47.000Z
2019-05-15T17:43:47.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import sys import os if sys.argv[-1] == 'publish': os.system("python setup.py sdist bdist_wheel upload") sys.exit() with open('README.md') as readme_file: readme = readme_file.read() version = '1.0.2' with open('requirements.txt'...
27.333333
126
0.645664
177
1,476
5.288136
0.615819
0.051282
0.080128
0.083333
0
0
0
0
0
0
0
0.050427
0.207317
1,476
53
127
27.849057
0.749573
0.056233
0
0.045455
0
0
0.399281
0
0
0
0
0.018868
0
1
0
false
0
0.068182
0
0.068182
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
edc2156240913ee79c59e19a1de39484351cfa7f
3,701
py
Python
frontends/pycc.py
Henny022p/cexplore
2bd33c87d4373d4073dda8a0fe0abaef63709df2
[ "MIT" ]
null
null
null
frontends/pycc.py
Henny022p/cexplore
2bd33c87d4373d4073dda8a0fe0abaef63709df2
[ "MIT" ]
3
2021-08-28T21:42:23.000Z
2021-11-10T22:30:49.000Z
frontends/pycc.py
Henny022p/cexplore
2bd33c87d4373d4073dda8a0fe0abaef63709df2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import os import subprocess import sys from shutil import copyfile from parser import parse, generate_ast, apply_transformations, ASTDump from parse_debug import process_debug_info def parse_args(argv): parser = argparse.ArgumentParser(description='Simplified CC1 frontend')...
37.765306
117
0.64388
461
3,701
5.036876
0.321041
0.034884
0.065891
0.066322
0.189492
0.099053
0.043066
0.043066
0.043066
0
0
0.00488
0.224804
3,701
97
118
38.154639
0.804461
0.015942
0
0.089744
1
0
0.167033
0.006044
0
0
0
0
0
1
0.064103
false
0
0.089744
0
0.166667
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
edc41cd9ac050974b750582741dcf3766b738d8e
2,702
py
Python
server/ahj_app/migrations/0006_ahjusermaintains_engineeringreviewrequirement.py
btansy/ahj-registry
b5340c7474f610964e828588572846ce4fb088aa
[ "MIT" ]
4
2020-11-06T04:42:07.000Z
2021-07-28T18:09:26.000Z
server/ahj_app/migrations/0006_ahjusermaintains_engineeringreviewrequirement.py
btansy/ahj-registry
b5340c7474f610964e828588572846ce4fb088aa
[ "MIT" ]
38
2020-08-19T20:20:08.000Z
2022-01-23T03:22:51.000Z
server/ahj_app/migrations/0006_ahjusermaintains_engineeringreviewrequirement.py
btansy/ahj-registry
b5340c7474f610964e828588572846ce4fb088aa
[ "MIT" ]
8
2020-05-22T17:04:16.000Z
2021-01-15T19:14:36.000Z
# Generated by Django 3.1.3 on 2021-03-16 21:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ahj_app', '0005_ahjdocumentsubmissionmethoduse_ahjpermitissuemethoduse_documentsubmissionme...
58.73913
386
0.634345
235
2,702
7.140426
0.408511
0.052443
0.033373
0.052443
0.196067
0.162694
0.124553
0.124553
0.124553
0.100119
0
0.014078
0.211325
2,702
45
387
60.044444
0.773346
0.016654
0
0.358974
1
0
0.33145
0.113748
0
0
0
0
0
1
0
false
0
0.076923
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
edc48cf5740bf064744042cdf10cd4eb422aed4d
5,295
py
Python
back/organization/views.py
kingzbauer/ChiefOnboarding
202092a367aade9e032286466e06399ea07f1908
[ "MIT" ]
null
null
null
back/organization/views.py
kingzbauer/ChiefOnboarding
202092a367aade9e032286466e06399ea07f1908
[ "MIT" ]
null
null
null
back/organization/views.py
kingzbauer/ChiefOnboarding
202092a367aade9e032286466e06399ea07f1908
[ "MIT" ]
null
null
null
import boto3 from botocore.config import Config from django.conf import settings from django.http import HttpResponse from django.shortcuts import get_object_or_404, render from django.utils.decorators import method_decorator from django.views.decorators.csrf import ensure_csrf_cookie from rest_framework import status ...
34.835526
136
0.675921
592
5,295
5.907095
0.263514
0.040892
0.017158
0.029168
0.247927
0.225336
0.156134
0.132113
0.075493
0.038319
0
0.008293
0.225685
5,295
151
137
35.066225
0.844634
0
0
0.264957
0
0
0.027951
0
0
0
0
0
0
1
0.119658
false
0
0.179487
0.017094
0.529915
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
edc7aee6d0b122d86c42cccd0bf4c885fa2fd7db
4,790
py
Python
src/infrastructure/services/scraper_services.py
rafaelcorazzi/game-scraper
6543e6ee55f4776dd8f2c3cc49993d84401202c9
[ "MIT" ]
null
null
null
src/infrastructure/services/scraper_services.py
rafaelcorazzi/game-scraper
6543e6ee55f4776dd8f2c3cc49993d84401202c9
[ "MIT" ]
null
null
null
src/infrastructure/services/scraper_services.py
rafaelcorazzi/game-scraper
6543e6ee55f4776dd8f2c3cc49993d84401202c9
[ "MIT" ]
null
null
null
import bs4 import requests from bs4 import BeautifulSoup import base64 import hashlib from typing import List import re from src.helpers.utils import Utils from src.domain.console_domain import ConsolePlataform from src.domain.console_games_domain import ConsoleGames from src.domain.game_domain import Game import maya ...
47.9
152
0.596868
601
4,790
4.585691
0.237937
0.043541
0.027213
0.036284
0.268505
0.231858
0.170537
0.145864
0.105951
0.071118
0
0.013056
0.248434
4,790
99
153
48.383838
0.7525
0.034864
0
0.045455
0
0.011364
0.129249
0.032042
0
0
0
0.010101
0
1
0.045455
false
0
0.147727
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
edc9550648c671816c3a908aa883c11e67ae1921
1,373
py
Python
badwolf/deploy/providers/pypi.py
messense/badwolf
c693785af101f68505769cd712bbf13e37423587
[ "MIT" ]
94
2016-09-19T08:40:47.000Z
2021-07-03T12:55:11.000Z
badwolf/deploy/providers/pypi.py
messense/badwolf
c693785af101f68505769cd712bbf13e37423587
[ "MIT" ]
32
2016-09-25T07:22:53.000Z
2018-12-20T08:13:19.000Z
badwolf/deploy/providers/pypi.py
messense/badwolf
c693785af101f68505769cd712bbf13e37423587
[ "MIT" ]
15
2016-09-20T08:14:40.000Z
2021-03-23T07:59:09.000Z
# -*- coding: utf-8 -*- import logging from badwolf.utils import run_command from badwolf.deploy.providers import Provider logger = logging.getLogger(__name__) class PypiProvider(Provider): name = 'pypi' def deploy(self): username = self.config.get('username') password = self.config.get('p...
25.425926
71
0.504734
118
1,373
5.762712
0.440678
0.088235
0.076471
0
0
0
0
0
0
0
0
0.00235
0.380189
1,373
53
72
25.90566
0.79671
0.015295
0
0.177778
0
0
0.106667
0
0
0
0
0
0
1
0.044444
false
0.088889
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
edc95e42eea0407cdb0977716b363f03dc484545
15,706
py
Python
lib/filewatcher/filewatchconfig.py
yinyin/FileWatcher
c415b201eaaeb2ab84d0a6ee4f6a290aeaa4eacf
[ "MIT" ]
null
null
null
lib/filewatcher/filewatchconfig.py
yinyin/FileWatcher
c415b201eaaeb2ab84d0a6ee4f6a290aeaa4eacf
[ "MIT" ]
null
null
null
lib/filewatcher/filewatchconfig.py
yinyin/FileWatcher
c415b201eaaeb2ab84d0a6ee4f6a290aeaa4eacf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ 設定檔相關物件與共用函式定義 """ import os import re import time import datetime import yaml from filewatcher import metadatum class WatcherConfiguration(object): """ global configuration """ def __init__(self, target_directory, recursive_watch, remove_unoperate_file, meta_db_path, meta_reserve_d...
31.60161
202
0.768687
2,068
15,706
5.461799
0.161509
0.038247
0.040726
0.033997
0.39761
0.344577
0.29606
0.288181
0.229482
0.199026
0
0.002001
0.141093
15,706
496
203
31.665323
0.835285
0.096969
0
0.084071
0
0
0.043053
0.014625
0
0
0
0
0
0
null
null
0
0.039823
null
null
0.004425
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
edd15c37e43dc01593a312943e481b1e92f7c6cb
3,696
py
Python
src/spark/io/stubs.py
jbalint/spark
caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f
[ "CNRI-Jython" ]
1
2015-05-21T20:00:12.000Z
2015-05-21T20:00:12.000Z
src/spark/io/stubs.py
jbalint/spark
caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f
[ "CNRI-Jython" ]
null
null
null
src/spark/io/stubs.py
jbalint/spark
caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f
[ "CNRI-Jython" ]
null
null
null
#*****************************************************************************# #* Copyright (c) 2004-2008, SRI International. *# #* All rights reserved. *# #* ...
52.056338
80
0.559524
406
3,696
5.086207
0.482759
0.026634
0.013559
0.015981
0.190799
0.15109
0.15109
0.123002
0.123002
0.123002
0
0.00463
0.298701
3,696
70
81
52.8
0.792052
0.754329
0
0.24
0
0
0.202086
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.32
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
edd295ef1c3dfcb502f8ddda52936db7370d0e3f
448
py
Python
tws_game/base_classes.py
tomreitsma/the-weird-science
1aaa4f42852fa82c99d69df9a6b0448f054583d9
[ "MIT" ]
1
2016-02-20T23:44:53.000Z
2016-02-20T23:44:53.000Z
tws_game/base_classes.py
tomreitsma/the-weird-science
1aaa4f42852fa82c99d69df9a6b0448f054583d9
[ "MIT" ]
null
null
null
tws_game/base_classes.py
tomreitsma/the-weird-science
1aaa4f42852fa82c99d69df9a6b0448f054583d9
[ "MIT" ]
null
null
null
from uuid import uuid4 class BaseLobby(object): id = None clients = [] game = None factory = None def __init__(self): self.id = str(uuid4()) def set_factory(self, factory): self.factory = factory class BaseGame(object): factory = [] commands = { } def han...
16.592593
52
0.595982
51
448
5.117647
0.490196
0.084291
0.137931
0
0
0
0
0
0
0
0
0.006369
0.299107
448
26
53
17.230769
0.824841
0
0
0
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.705882
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
edd5d196bcf7dc43acd4440a4a14048214ab8a01
3,557
py
Python
bash_source/bacsort/pairwise_identities_to_distance_matrix.py
jwang45/biosuite
e380951d01dff39a5c5d98c2c9e345f52e12b429
[ "MIT" ]
null
null
null
bash_source/bacsort/pairwise_identities_to_distance_matrix.py
jwang45/biosuite
e380951d01dff39a5c5d98c2c9e345f52e12b429
[ "MIT" ]
null
null
null
bash_source/bacsort/pairwise_identities_to_distance_matrix.py
jwang45/biosuite
e380951d01dff39a5c5d98c2c9e345f52e12b429
[ "MIT" ]
2
2021-03-28T01:33:56.000Z
2022-01-03T22:35:42.000Z
#!/usr/bin/env python3 """ Copyright 2018 Ryan Wick (rrwick@gmail.com) https://github.com/rrwick/Bacsort This script uses FastANI output to generate a PHYLIP distance matrix suitable for quicktree. This file is part of Bacsort. Bacsort is free software: you can redistribute it and/or modify it under the terms of the ...
37.442105
97
0.634523
461
3,557
4.791757
0.403471
0.039837
0.054323
0.057945
0.169307
0.111815
0.056587
0.039837
0
0
0
0.018237
0.260051
3,557
94
98
37.840426
0.821049
0.295193
0
0.101695
1
0
0.145833
0.019231
0
0
0
0
0.016949
1
0.050847
false
0
0.033898
0
0.101695
0.169492
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
edda94634a39ff6afa273e96315420641fb859a8
1,476
py
Python
Python/Robot.py
zdynamics/zRobotics
aed0beac327710f319b996a34b42df37440d33cd
[ "MIT" ]
2
2021-01-19T10:21:48.000Z
2021-02-15T14:55:12.000Z
Python/Robot.py
zdynamics/zRobotics
aed0beac327710f319b996a34b42df37440d33cd
[ "MIT" ]
null
null
null
Python/Robot.py
zdynamics/zRobotics
aed0beac327710f319b996a34b42df37440d33cd
[ "MIT" ]
null
null
null
import DenavitHartenberg as dh import Kinematics as k import numpy as np import matplotlib.pyplot as plt import Movements as mv from mpl_toolkits.mplot3d import Axes3D from matplotlib.animation import FuncAnimation from sympy import * class System: def __init__(self, jointsPositions, linksLengths, centersOfMass, dhP...
35.142857
195
0.705285
153
1,476
6.771242
0.45098
0.040541
0.014479
0.017375
0.066602
0.066602
0.054054
0.054054
0
0
0
0.005076
0.199187
1,476
42
196
35.142857
0.871404
0.182927
0
0
0
0
0.023256
0
0
0
0
0
0
1
0.043478
false
0
0.347826
0
0.434783
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
eddb2b8cf0ca4625b7ca1cfc397fac955e5bf784
901
py
Python
src/spaceone/inventory/libs/manager.py
jihyungSong/plugin-azure-power-state
d66bd5dfafa01659c877da11c0d18de6e55cb5ab
[ "Apache-2.0" ]
null
null
null
src/spaceone/inventory/libs/manager.py
jihyungSong/plugin-azure-power-state
d66bd5dfafa01659c877da11c0d18de6e55cb5ab
[ "Apache-2.0" ]
null
null
null
src/spaceone/inventory/libs/manager.py
jihyungSong/plugin-azure-power-state
d66bd5dfafa01659c877da11c0d18de6e55cb5ab
[ "Apache-2.0" ]
null
null
null
from spaceone.core.manager import BaseManager from spaceone.inventory.libs.connector import AzureConnector class AzureManager(BaseManager): connector_name = None cloud_service_types = [] response_schema = None collected_region_codes = [] def verify(self, options, secret_data, **kwargs): "...
31.068966
105
0.720311
98
901
6.377551
0.5
0.08
0.0864
0.1088
0.192
0.192
0.192
0
0
0
0
0
0.193119
901
28
106
32.178571
0.859697
0.027747
0
0
0
0
0.032596
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.055556
0.722222
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
eddccfe344220f40b8d37221eaf5337a8e696f89
1,745
py
Python
project_name/common/serializers.py
brevetech/breve_drf_template
125e476810641f919296cb878980f91f4c091cf2
[ "MIT" ]
null
null
null
project_name/common/serializers.py
brevetech/breve_drf_template
125e476810641f919296cb878980f91f4c091cf2
[ "MIT" ]
17
2021-04-05T00:22:13.000Z
2022-01-11T04:53:47.000Z
project_name/common/serializers.py
brevetech/breve_drf_template
125e476810641f919296cb878980f91f4c091cf2
[ "MIT" ]
1
2022-01-07T05:48:19.000Z
2022-01-07T05:48:19.000Z
from rest_framework import serializers class ErrorSerializer(serializers.Serializer): """ Defines a basic error serializer for error responses """ error_code = serializers.IntegerField() message = serializers.CharField(max_length=500) def set_data(self, error_code, message): self...
26.846154
79
0.665903
197
1,745
5.730964
0.22335
0.09566
0.069088
0.102746
0.576616
0.387954
0.258636
0.258636
0.209035
0.209035
0
0.008982
0.234384
1,745
64
80
27.265625
0.836078
0.107736
0
0.378378
0
0
0.076669
0
0
0
0
0
0
1
0.162162
false
0
0.027027
0.081081
0.621622
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
ede26e4b3315b6449745d3f1642592836366342e
12,015
py
Python
refactored_modular/nest_tvb_pivot.py
sontheimer/EBRAINS_InterscaleHUB
2ee323960fb9b0d0c8920fcaee996b56f8a23b56
[ "BSD-3-Clause" ]
null
null
null
refactored_modular/nest_tvb_pivot.py
sontheimer/EBRAINS_InterscaleHUB
2ee323960fb9b0d0c8920fcaee996b56f8a23b56
[ "BSD-3-Clause" ]
null
null
null
refactored_modular/nest_tvb_pivot.py
sontheimer/EBRAINS_InterscaleHUB
2ee323960fb9b0d0c8920fcaee996b56f8a23b56
[ "BSD-3-Clause" ]
null
null
null
# ------------------------------------------------------------------------------ # Copyright 2020 Forschungszentrum Jülich GmbH # "Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements; and to You under the Apache License, Version 2.0. " # # Forschungszentrum Jülich # In...
47.868526
125
0.590179
1,390
12,015
4.918705
0.265468
0.019892
0.019307
0.017552
0.310663
0.279655
0.229048
0.196577
0.159865
0.134708
0
0.008917
0.30928
12,015
250
126
48.06
0.814917
0.426384
0
0.377358
0
0
0.030239
0.005336
0
0
0
0.02
0
1
0.04717
false
0.018868
0.09434
0
0.198113
0.009434
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
ede494c59f84787efc51402d949603f354657f2e
1,345
py
Python
atlas/foundations_contrib/src/foundations_contrib/models/project_listing.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
296
2020-03-16T19:55:00.000Z
2022-01-10T19:46:05.000Z
atlas/foundations_contrib/src/foundations_contrib/models/project_listing.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
57
2020-03-17T11:15:57.000Z
2021-07-10T14:42:27.000Z
atlas/foundations_contrib/src/foundations_contrib/models/project_listing.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
38
2020-03-17T21:06:05.000Z
2022-02-08T03:19:34.000Z
class ProjectListing(object): @staticmethod def list_projects(redis_connection): """Returns a list of projects store in redis with their creation timestamps Arguments: redis_connection {RedisConnection} -- Redis connection to use as a provider for data Returns: ...
34.487179
118
0.656506
163
1,345
5.269939
0.411043
0.139697
0.045402
0.039581
0.291036
0.239814
0.179278
0.179278
0.179278
0.179278
0
0.00309
0.278067
1,345
38
119
35.394737
0.881565
0.439405
0
0.166667
0
0
0.069182
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.583333
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
edf254f29e53bc8f9cd9417828c9783420853336
3,977
py
Python
dialpad/client.py
dialpad/dialpad-python-sdk
7a448ff9402c9bffd3809b311444619ed9bab2c1
[ "MIT" ]
5
2020-12-08T16:48:31.000Z
2022-02-03T01:07:38.000Z
dialpad/client.py
dialpad/dialpad-python-sdk
7a448ff9402c9bffd3809b311444619ed9bab2c1
[ "MIT" ]
7
2021-08-18T19:52:07.000Z
2022-03-11T04:16:21.000Z
dialpad/client.py
dialpad/dialpad-python-sdk
7a448ff9402c9bffd3809b311444619ed9bab2c1
[ "MIT" ]
5
2020-12-06T04:04:31.000Z
2021-12-20T18:59:29.000Z
import requests from cached_property import cached_property from .resources import ( SMSResource, RoomResource, UserResource, CallResource, NumberResource, OfficeResource, WebhookResource, CompanyResource, ContactResource, CallbackResource, CallCenterResource, CallRouterResource, Department...
24.398773
95
0.702288
458
3,977
5.949782
0.270742
0.10789
0.118532
0.138716
0.13578
0.117431
0.10055
0.10055
0.079266
0.047706
0
0.001247
0.193613
3,977
162
96
24.549383
0.848457
0.028916
0
0.230159
0
0
0.048483
0
0
0
0
0
0
1
0.190476
false
0
0.02381
0.150794
0.412698
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
edf36a07d1b1f908a147c0df5e05785149976da1
3,253
py
Python
pydart/apps/turtle/optimizer.py
Jungdam/AlphaCon
2c70e848ab176537560484d28869cdc3c2fc8cd7
[ "MIT" ]
2
2020-03-16T05:43:56.000Z
2021-11-22T05:52:29.000Z
pydart/apps/turtle/optimizer.py
Jungdam/AlphaCon
2c70e848ab176537560484d28869cdc3c2fc8cd7
[ "MIT" ]
null
null
null
pydart/apps/turtle/optimizer.py
Jungdam/AlphaCon
2c70e848ab176537560484d28869cdc3c2fc8cd7
[ "MIT" ]
null
null
null
import math import numpy as np import pydart import action as ac import myworld import cma import multiprocessing from multiprocessing import Process, Queue import mmMath from numpy.linalg import inv dt = 1.0/600.0 skel_file = '/home/jungdam/Research/AlphaCon/pydart/apps/turtle/data/skel/turtle.skel' def obj_func_tra...
25.414063
86
0.652936
551
3,253
3.6951
0.254083
0.075639
0.050098
0.017682
0.410118
0.375737
0.327112
0.327112
0.327112
0.327112
0
0.036982
0.177067
3,253
128
87
25.414063
0.723571
0.048571
0
0.360825
0
0.010309
0.056976
0.038848
0
0
0
0
0
0
null
null
0
0.103093
null
null
0.061856
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
edf750d72b79f5e3c826e2032c0c58c48d9ee5cb
432
py
Python
Semana07Atividade01/Sem07Atv01Q02.py
Marvingms7/IFPI
0f6d50e4a7e1016e58cd227b477b3ce08e19c61a
[ "MIT" ]
null
null
null
Semana07Atividade01/Sem07Atv01Q02.py
Marvingms7/IFPI
0f6d50e4a7e1016e58cd227b477b3ce08e19c61a
[ "MIT" ]
null
null
null
Semana07Atividade01/Sem07Atv01Q02.py
Marvingms7/IFPI
0f6d50e4a7e1016e58cd227b477b3ce08e19c61a
[ "MIT" ]
null
null
null
v_carro = float(input("Informe o valor: ")) total_mes_carro = (0.004 * v_carro) +v_carro p_inicial = 10000 renda_total = (0.007 * p_inicial) + p_inicial mes = -1 while True: mes += 1 total_mes_carro = (0.004 * total_mes_carro) + total_mes_carro if renda_total < total_mes_carro: renda_total = (0.007 ...
30.857143
65
0.678241
71
432
3.830986
0.43662
0.147059
0.238971
0.102941
0.125
0
0
0
0
0
0
0.067449
0.210648
432
14
66
30.857143
0.730205
0
0
0
0
0
0.150115
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
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
61077b955f71be1c35656e2b03e6c7df22bd07f0
7,922
py
Python
logstash_conf_api.py
garyelephant/dolphin
68bf3b3612c78b3094e332c34787751c948a0246
[ "MIT" ]
null
null
null
logstash_conf_api.py
garyelephant/dolphin
68bf3b3612c78b3094e332c34787751c948a0246
[ "MIT" ]
null
null
null
logstash_conf_api.py
garyelephant/dolphin
68bf3b3612c78b3094e332c34787751c948a0246
[ "MIT" ]
null
null
null
# coding: utf-8 from string import Template PRETTY_INDENT = 4 BASE_INDENT_SPACE = ' ' def _quote( s ): return ''.join( [ '"', s, '"' ] ) class ConfBase( object ): def __init__( self ): super( ConfBase, self ).__init__() def _dump( d, pretty=False, indent=0 ): if isinstance( d, int ) or isinstanc...
27.796491
153
0.525499
909
7,922
4.370737
0.172717
0.072489
0.033979
0.038762
0.46363
0.453813
0.410773
0.378052
0.350365
0.327209
0
0.010781
0.332618
7,922
284
154
27.894366
0.740685
0.036607
0
0.420382
0
0
0.08448
0.01264
0
0
0
0
0
0
null
null
0
0.006369
null
null
0.006369
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
6113ea07a805e10d1e1d7f7c37ca1fcbc483ca36
8,608
py
Python
src/indriya_msgs/python/physics_pb2.py
praveenv4k/Indriya
a74a4b8bb9f04b5e858305769e892edfcab32df5
[ "MIT" ]
1
2017-07-12T15:30:58.000Z
2017-07-12T15:30:58.000Z
src/indriya_msgs/python/physics_pb2.py
praveenv4k/Indriya
a74a4b8bb9f04b5e858305769e892edfcab32df5
[ "MIT" ]
null
null
null
src/indriya_msgs/python/physics_pb2.py
praveenv4k/Indriya
a74a4b8bb9f04b5e858305769e892edfcab32df5
[ "MIT" ]
1
2016-03-09T12:34:19.000Z
2016-03-09T12:34:19.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: physics.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 reflection as _refle...
42.196078
970
0.730832
1,215
8,608
4.925926
0.156379
0.06817
0.052632
0.069841
0.573935
0.546032
0.520635
0.452464
0.40802
0.393985
0
0.053087
0.139986
8,608
203
971
42.403941
0.755369
0.028694
0
0.541436
1
0.005525
0.220879
0.193703
0
0
0
0
0
1
0
false
0
0.038674
0
0.038674
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
611cc4a74e1e739d5253846e13dbb876fb6c2bff
1,719
py
Python
src/mailer.py
jack139/takit
d647bf2e6400df681e701da7252f0cbecd1e6631
[ "BSD-3-Clause" ]
2
2019-02-14T09:14:56.000Z
2019-07-16T09:46:47.000Z
src/mailer.py
jack139/takit
d647bf2e6400df681e701da7252f0cbecd1e6631
[ "BSD-3-Clause" ]
null
null
null
src/mailer.py
jack139/takit
d647bf2e6400df681e701da7252f0cbecd1e6631
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # import smtplib, os, time, sys, gc from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.Utils import COMMASPACE, formatdate from email import Encoders from email.Header import Header import helper...
25.279412
122
0.66434
253
1,719
4.379447
0.434783
0.048736
0.046931
0.025271
0.039711
0
0
0
0
0
0
0.021306
0.153578
1,719
67
123
25.656716
0.740206
0.028505
0
0.043478
0
0.043478
0.166267
0.048019
0
0
0
0
0.021739
0
null
null
0
0.195652
null
null
0.130435
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
611cd063edd78a73e36adbd1a6e8ee077e569a16
5,901
py
Python
src/oci/database/models/stack_monitoring_config.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/database/models/stack_monitoring_config.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/database/models/stack_monitoring_config.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
42.15
245
0.72564
710
5,901
5.714085
0.204225
0.195958
0.16564
0.115356
0.644811
0.586394
0.519842
0.483362
0.444664
0.376633
0
0.003854
0.208609
5,901
139
246
42.453237
0.864882
0.561769
0
0.045455
0
0
0.138102
0.067926
0
0
0
0
0
1
0.181818
false
0
0.045455
0.045455
0.522727
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
612349f16fdeaf7c2205c36f0550978d6bdb88e9
1,142
py
Python
app/hrcm/services/cli/output.py
bastienbot/hr-challenges-manager
1fe8e4fa34f6866a724c2461bc17cc442fe50a4c
[ "MIT" ]
null
null
null
app/hrcm/services/cli/output.py
bastienbot/hr-challenges-manager
1fe8e4fa34f6866a724c2461bc17cc442fe50a4c
[ "MIT" ]
null
null
null
app/hrcm/services/cli/output.py
bastienbot/hr-challenges-manager
1fe8e4fa34f6866a724c2461bc17cc442fe50a4c
[ "MIT" ]
null
null
null
""" @desc Prints informations about the candidate : his/her profile and messages sent @params candidate: instance of Candidate """ def show_candidate_informations(candidate): print("## CANDIDATE PROFILE ##", end="\n\n") print("Firstname: {}".format(candidate.firstname)) print("Lastname: {}".format(candid...
35.6875
158
0.601576
130
1,142
5.215385
0.338462
0.110619
0.022124
0.029499
0.280236
0.280236
0.179941
0.179941
0.179941
0.179941
0
0.011416
0.232925
1,142
31
159
36.83871
0.762557
0.107706
0
0.363636
0
0.045455
0.264095
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0.409091
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
6123ffcf6c686202f3bfd927ed19a030e1f7389a
414
py
Python
Fletnix/apps/profiles/migrations/0009_whoiswatching_user_age.py
FuryAndRage/Fletnix
99cc015c799eda24d605ecb9706f809fa6a05392
[ "MIT" ]
null
null
null
Fletnix/apps/profiles/migrations/0009_whoiswatching_user_age.py
FuryAndRage/Fletnix
99cc015c799eda24d605ecb9706f809fa6a05392
[ "MIT" ]
1
2021-02-21T11:08:36.000Z
2021-02-24T20:42:01.000Z
Fletnix/apps/profiles/migrations/0009_whoiswatching_user_age.py
FuryAndRage/Fletnix
99cc015c799eda24d605ecb9706f809fa6a05392
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2021-02-15 05:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0008_whoiswatching_person_avatar'), ] operations = [ migrations.AddField( model_name='whoiswatching', na...
21.789474
61
0.618357
45
414
5.555556
0.844444
0
0
0
0
0
0
0
0
0
0
0.069536
0.270531
414
18
62
23
0.758278
0.108696
0
0
1
0
0.166213
0.087193
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
612aedd0be877a625c366cc32d1e904c74177e14
7,798
py
Python
examples/api-samples/inc_samples/sample11.py
groupdocs-legacy-sdk/python
80e5ef5a9a14ac4a7815c6cf933b5b2997381455
[ "Apache-2.0" ]
null
null
null
examples/api-samples/inc_samples/sample11.py
groupdocs-legacy-sdk/python
80e5ef5a9a14ac4a7815c6cf933b5b2997381455
[ "Apache-2.0" ]
null
null
null
examples/api-samples/inc_samples/sample11.py
groupdocs-legacy-sdk/python
80e5ef5a9a14ac4a7815c6cf933b5b2997381455
[ "Apache-2.0" ]
null
null
null
### This sample will show how programmatically create and post an annotation into document. How to delete the annotation # Import of classes from libraries from pyramid.renderers import render_to_response from groupdocs.ApiClient import ApiClient from groupdocs.AntApi import AntApi from groupdocs.StorageApi im...
40.827225
142
0.561682
762
7,798
5.650919
0.217848
0.068974
0.087784
0.03948
0.369949
0.340687
0.297956
0.267534
0.257083
0.257083
0
0.007953
0.322775
7,798
191
143
40.827225
0.807423
0.136189
0
0.373239
0
0
0.204147
0.032258
0
0
0
0
0
0
null
null
0
0.042254
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
612b757b9aaca93e9879dec08a653bb1d983c0f9
1,425
py
Python
sherpa_client/models/new_user.py
kairntech/sherpa-client
cd259c87b7291eeec3f3ea025e368f2f069a06cd
[ "Apache-2.0" ]
null
null
null
sherpa_client/models/new_user.py
kairntech/sherpa-client
cd259c87b7291eeec3f3ea025e368f2f069a06cd
[ "Apache-2.0" ]
null
null
null
sherpa_client/models/new_user.py
kairntech/sherpa-client
cd259c87b7291eeec3f3ea025e368f2f069a06cd
[ "Apache-2.0" ]
null
null
null
from typing import Any, Dict, List, Type, TypeVar, Union, cast import attr from ..types import UNSET, Unset T = TypeVar("T", bound="NewUser") @attr.s(auto_attribs=True) class NewUser: """ """ password: str permissions: List[str] roles: List[str] username: str email: Union[Unset, str] = UNS...
21.923077
63
0.536842
154
1,425
4.896104
0.285714
0.026525
0.039788
0.037135
0.209549
0.169761
0.169761
0.169761
0
0
0
0
0.345965
1,425
64
64
22.265625
0.809013
0
0
0
0
0
0.057828
0
0
0
0
0
0
1
0.044444
false
0.111111
0.066667
0
0.288889
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
612d8edf5c8e74a0adf08f4a0990ac0f4895b9ee
9,417
py
Python
app/main/User.py
simeonschuez/slurk
5ece0ef0698c43ac274b94c4d9c87aa9bfaae021
[ "BSD-3-Clause" ]
null
null
null
app/main/User.py
simeonschuez/slurk
5ece0ef0698c43ac274b94c4d9c87aa9bfaae021
[ "BSD-3-Clause" ]
null
null
null
app/main/User.py
simeonschuez/slurk
5ece0ef0698c43ac274b94c4d9c87aa9bfaae021
[ "BSD-3-Clause" ]
null
null
null
from calendar import timegm from flask_login import UserMixin, login_user from datetime import datetime import flask_socketio as sio from .Permissions import Permissions from .Token import Token from .database import Database from .Room import Room, ROOMS from .Logger import Logger from .. import config from .Layout i...
35.942748
137
0.538813
1,123
9,417
4.449688
0.11309
0.038423
0.036022
0.05043
0.548929
0.507304
0.477286
0.477286
0.441065
0.368821
0
0.002469
0.311883
9,417
261
138
36.08046
0.768673
0
0
0.406542
0
0.009346
0.211745
0.00223
0
0
0
0
0
1
0.098131
false
0.056075
0.051402
0.028037
0.238318
0.009346
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
612d9b3d304302a8762350348e09a5291b61e673
2,825
py
Python
tests/test_types.py
SupraSummus/petriish
6e887ac067904bd95377c30aa04b74cb4478495b
[ "MIT" ]
null
null
null
tests/test_types.py
SupraSummus/petriish
6e887ac067904bd95377c30aa04b74cb4478495b
[ "MIT" ]
4
2018-09-05T21:31:12.000Z
2018-09-11T20:13:20.000Z
tests/test_types.py
SupraSummus/petriish
6e887ac067904bd95377c30aa04b74cb4478495b
[ "MIT" ]
null
null
null
from unittest import TestCase from petriish.types import Resolver, TypeResolutionError, PolymorphicType, Record, Bytes class TypesTestCase(TestCase): def setUp(self): self.resolver = Resolver() def test_identity_bind(self): x = PolymorphicType() self.assertEqual(self.resolver.get_best...
33.235294
88
0.626549
352
2,825
4.869318
0.136364
0.203034
0.102684
0.155193
0.748541
0.672112
0.629522
0.510502
0.376896
0.222287
0
0.000467
0.242124
2,825
84
89
33.630952
0.800093
0.010973
0
0.537313
0
0
0.002507
0
0
0
0
0
0.238806
1
0.149254
false
0
0.029851
0
0.19403
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
b61f0ab99f0d2949d7b1b8e0c18da681fa5ac75b
759
py
Python
bohr/config/appconfig.py
giganticode/bohr-framework
fd364a1f036123985ac96e9076e5dce3bbc2ca2c
[ "MIT" ]
null
null
null
bohr/config/appconfig.py
giganticode/bohr-framework
fd364a1f036123985ac96e9076e5dce3bbc2ca2c
[ "MIT" ]
54
2021-02-17T13:36:51.000Z
2021-08-25T05:06:57.000Z
bohr/config/appconfig.py
giganticode/bohr-framework
fd364a1f036123985ac96e9076e5dce3bbc2ca2c
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Optional from bohr.config.pathconfig import PathConfig, load_config_dict_from_file from bohr.fs import find_project_root from bohr.util.paths import AbsolutePath @dataclass(frozen=True) class AppConfig: verbose: bool paths: PathConfig @staticmethod ...
31.625
73
0.711462
91
759
5.703297
0.395604
0.127168
0.05395
0.069364
0.084778
0
0
0
0
0
0
0
0.212121
759
23
74
33
0.867893
0
0
0
0
0
0.036891
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0
0.526316
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
b61fd9bfa261de84307f305744905ff5ab44f6f3
4,470
py
Python
genetic_algorithm/mutation.py
mig029/SnakeAI
33dbbe1d5608a60a4c6f9d14c41d547f7dc98b3b
[ "MIT" ]
181
2019-09-24T00:46:58.000Z
2022-03-20T12:06:02.000Z
genetic_algorithm/mutation.py
mig029/SnakeAI
33dbbe1d5608a60a4c6f9d14c41d547f7dc98b3b
[ "MIT" ]
9
2019-09-25T19:58:11.000Z
2022-03-04T05:10:37.000Z
genetic_algorithm/mutation.py
mig029/SnakeAI
33dbbe1d5608a60a4c6f9d14c41d547f7dc98b3b
[ "MIT" ]
76
2019-09-25T16:48:18.000Z
2022-03-21T12:01:49.000Z
# 9.3.2 # 11.2.1 # 12.4.3 import numpy as np from typing import List, Union, Optional from .individual import Individual def gaussian_mutation(chromosome: np.ndarray, prob_mutation: float, mu: List[float] = None, sigma: List[float] = None, scale: Optional[float...
41.775701
137
0.660626
615
4,470
4.691057
0.214634
0.12617
0.055806
0.036395
0.501906
0.465165
0.414905
0.32825
0.283189
0.227036
0
0.021364
0.23557
4,470
107
138
41.775701
0.822944
0.245861
0
0.2
0
0
0.011349
0
0
0
0
0.018692
0.018182
1
0.109091
false
0.018182
0.072727
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b629487815f53b819e62caac70113be42192235e
1,286
py
Python
custom_object.py
Jerbuck/content-playground
3760b1894370d9ffaaa9032e9ce0af6a4954e046
[ "MIT" ]
null
null
null
custom_object.py
Jerbuck/content-playground
3760b1894370d9ffaaa9032e9ce0af6a4954e046
[ "MIT" ]
null
null
null
custom_object.py
Jerbuck/content-playground
3760b1894370d9ffaaa9032e9ce0af6a4954e046
[ "MIT" ]
null
null
null
import sys username = None password = None base_url = None objects = [] class CustomObject(object): """Data class for custom object.""" def __init__(self): self.username = None self.password = None self.base_url = None self.objects = [] def print(self): """Print t...
29.906977
71
0.53888
145
1,286
4.648276
0.289655
0.0727
0.065282
0.04451
0
0
0
0
0
0
0
0
0.321151
1,286
43
72
29.906977
0.77205
0.087092
0
0
0
0
0.208801
0
0
0
0
0
0
1
0.088235
false
0.147059
0.029412
0
0.147059
0.235294
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
b62dffd3ebf5c0ef3c4b470740acee6b457152ef
310
py
Python
zorro/__init__.py
tailhook/zorro
8f004515ac934ba88b8df72b85c536e607d82712
[ "MIT" ]
15
2015-06-06T08:12:41.000Z
2021-08-17T18:29:47.000Z
zorro/__init__.py
tailhook/zorro
8f004515ac934ba88b8df72b85c536e607d82712
[ "MIT" ]
null
null
null
zorro/__init__.py
tailhook/zorro
8f004515ac934ba88b8df72b85c536e607d82712
[ "MIT" ]
3
2015-05-10T05:28:45.000Z
2016-03-03T04:11:43.000Z
from functools import wraps from contextlib import contextmanager from .core import Hub, gethub, Future, Condition, Lock, TimeoutError __version__ = '0.2.a0' __all__ = [ 'Hub', 'gethub', 'sleep', 'Future', 'Condition', 'Lock', ] def sleep(value): gethub().do_sleep(value)
14.761905
68
0.641935
35
310
5.428571
0.628571
0.094737
0.2
0
0
0
0
0
0
0
0
0.012552
0.229032
310
20
69
15.5
0.782427
0
0
0
0
0
0.125806
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.285714
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
b6318c5fe30048e18ee5d9db9d7db7aac78ac012
887
py
Python
tpDcc/libs/python/web.py
tpDcc/tpDcc-libs-python
bd7b39f3cbfb68e99705de02c0b7738fd9602917
[ "MIT" ]
1
2019-07-15T21:00:18.000Z
2019-07-15T21:00:18.000Z
tpDcc/libs/python/web.py
tpoveda/tpPyUtils
bd7b39f3cbfb68e99705de02c0b7738fd9602917
[ "MIT" ]
1
2021-03-02T08:57:33.000Z
2021-03-04T01:55:05.000Z
tpDcc/libs/python/web.py
tpoveda/tpPyUtils
bd7b39f3cbfb68e99705de02c0b7738fd9602917
[ "MIT" ]
1
2021-03-03T21:01:54.000Z
2021-03-03T21:01:54.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Module that contains utility functions related with email """ from __future__ import print_function, division, absolute_import import os import webbrowser try: import urllib2 as urllib except ImportError: import urllib from tpDcc.libs.python import osplatfo...
18.479167
64
0.62345
113
887
4.80531
0.548673
0.038674
0.040516
0.066298
0
0
0
0
0
0
0
0.006163
0.26832
887
47
65
18.87234
0.830508
0.237881
0
0.227273
0
0
0.0288
0
0
0
0
0
0
1
0.090909
false
0
0.318182
0
0.454545
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b635195d33c8a5d05f49bbc5c4402fa9e68990e5
26,200
py
Python
pymtl3/datatypes/bitstructs.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
152
2020-06-03T02:34:11.000Z
2022-03-30T04:16:45.000Z
pymtl3/datatypes/bitstructs.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
139
2019-05-29T00:37:09.000Z
2020-05-17T16:49:26.000Z
pymtl3/datatypes/bitstructs.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
22
2020-05-18T13:42:05.000Z
2022-03-11T08:37:51.000Z
""" ========================================================================== bitstruct.py ========================================================================== APIs to generate a bitstruct type. Using decorators and type annotations to create bit struct is much inspired by python3 dataclass implementation. Note ...
34.748011
122
0.580496
3,360
26,200
4.159821
0.122619
0.015454
0.009659
0.012878
0.323961
0.26193
0.201903
0.167776
0.153896
0.119625
0
0.003233
0.197099
26,200
753
123
34.794157
0.6612
0.420038
0
0.23662
1
0.005634
0.185908
0.026272
0
0
0
0.001328
0.047887
1
0.095775
false
0
0.025352
0.014085
0.259155
0.002817
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
b638eb605f71c87607689ad53bda58ff3e514601
491
py
Python
2009-01-03_datacenter-shared-host-migration/real.py
neoice/neoice-random
9a0387babc4eec3ff5c808b818bea696e40a7129
[ "WTFPL" ]
null
null
null
2009-01-03_datacenter-shared-host-migration/real.py
neoice/neoice-random
9a0387babc4eec3ff5c808b818bea696e40a7129
[ "WTFPL" ]
null
null
null
2009-01-03_datacenter-shared-host-migration/real.py
neoice/neoice-random
9a0387babc4eec3ff5c808b818bea696e40a7129
[ "WTFPL" ]
null
null
null
#!/usr/bin/python import os import re infile = open('domains', 'r') outfile = open('output', 'a') for line in infile: line = line.strip('\n') # yank the newline off to make printing pretty and play nice with shell one-liners x = os.system('host ' + line + ' | grep PREFIX.*') if not x: # that system call returns 0...
24.55
107
0.641548
81
491
3.888889
0.691358
0.031746
0.101587
0.107937
0
0
0
0
0
0
0
0.010152
0.197556
491
19
108
25.842105
0.78934
0.295316
0
0
0
0
0.19242
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b6394e522e1dd0319db4306310a7c1dcf549d35a
1,345
py
Python
design-patterns/structural/adapter.py
verthais/exercise-python
d989647e8fbfe8a79b9b5f2c3ab003715d238851
[ "MIT" ]
null
null
null
design-patterns/structural/adapter.py
verthais/exercise-python
d989647e8fbfe8a79b9b5f2c3ab003715d238851
[ "MIT" ]
null
null
null
design-patterns/structural/adapter.py
verthais/exercise-python
d989647e8fbfe8a79b9b5f2c3ab003715d238851
[ "MIT" ]
null
null
null
class Korean: """Korean speaker""" def __init__(self): self.name = "Korean" def speak_korean(self): return "An-neyong?" class British: """English speaker""" def __init__(self): self.name = "British" #Note the different method name here! def speak_english(self): return "Hello!" clas...
24.907407
123
0.689963
178
1,345
5.005618
0.376404
0.049383
0.037037
0.040404
0.058361
0.058361
0
0
0
0
0
0
0.196283
1,345
53
124
25.377358
0.824237
0.382156
0
0.076923
0
0
0.068365
0
0
0
0
0
0
1
0.269231
false
0
0
0.076923
0.5
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b63f097723b0813436ade51cfc6168ae3228c596
28,932
py
Python
utils/surface.py
fsanges/glTools
8ff0899de43784a18bd4543285655e68e28fb5e5
[ "MIT" ]
165
2015-01-26T05:22:04.000Z
2022-03-22T02:50:41.000Z
utils/surface.py
qeeji/glTools
8ff0899de43784a18bd4543285655e68e28fb5e5
[ "MIT" ]
5
2015-12-02T02:39:44.000Z
2020-12-09T02:45:54.000Z
utils/surface.py
qeeji/glTools
8ff0899de43784a18bd4543285655e68e28fb5e5
[ "MIT" ]
83
2015-02-10T17:18:24.000Z
2022-02-10T07:16:47.000Z
import maya.cmds as mc import maya.OpenMaya as OpenMaya import glTools.utils.base import glTools.utils.curve import glTools.utils.component import glTools.utils.mathUtils import glTools.utils.matrix import glTools.utils.shape import glTools.utils.stringUtils import math def isSurface(surface): ''' Check if the spe...
34.198582
136
0.721658
4,113
28,932
5.045222
0.113542
0.011566
0.020047
0.018216
0.56725
0.504409
0.486531
0.47482
0.462387
0.440509
0
0.011873
0.144097
28,932
845
137
34.239053
0.826112
0.110673
0
0.392308
0
0
0.098271
0
0
0
0
0
0
0
null
null
0
0.025641
null
null
0.007692
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
b64840e86cc87648b3f6e504a007b4a94f6552a2
308
py
Python
page_edits/migrations/0015_delete_howweworktext.py
webspace95/studyhelp
70e0978b4a97cdb45d1574924e7997932bb410fb
[ "MIT" ]
null
null
null
page_edits/migrations/0015_delete_howweworktext.py
webspace95/studyhelp
70e0978b4a97cdb45d1574924e7997932bb410fb
[ "MIT" ]
null
null
null
page_edits/migrations/0015_delete_howweworktext.py
webspace95/studyhelp
70e0978b4a97cdb45d1574924e7997932bb410fb
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2022-03-02 19:32 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('page_edits', '0014_delete_whatsappnumber'), ] operations = [ migrations.DeleteModel( name='HowWeWorkText', ), ]
18.117647
53
0.62013
32
308
5.875
0.875
0
0
0
0
0
0
0
0
0
0
0.084821
0.272727
308
16
54
19.25
0.754464
0.146104
0
0
1
0
0.187739
0.099617
0
0
0
0
0
1
0
false
0
0.1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b655a40ad3e46599e2e209081b5a314b30cd5e8c
5,597
py
Python
rdr_service/model/questionnaire.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
rdr_service/model/questionnaire.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/model/questionnaire.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
from sqlalchemy import ( Boolean, Column, ForeignKey, ForeignKeyConstraint, Integer, String, UniqueConstraint, ) from sqlalchemy import BLOB # pylint: disable=unused-import from sqlalchemy.orm import relationship from typing import List from rdr_service.model.base import Base from rdr_serv...
41.768657
114
0.729319
575
5,597
6.96
0.290435
0.033733
0.041979
0.018991
0.298101
0.235882
0.213393
0.213393
0.213393
0.192404
0
0.003665
0.171342
5,597
133
115
42.082707
0.859207
0.144899
0
0.202532
0
0
0.273597
0.168638
0.025316
0
0
0
0
1
0.012658
false
0
0.113924
0.012658
0.607595
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
b656fab2ba1aca0c087abbf0334456183b4b1cfe
463
py
Python
src/preprocessing.py
ppisarski/DaaS-docker
390b628ff87e6a67b3aa1c1fe91786203bb1168c
[ "MIT" ]
null
null
null
src/preprocessing.py
ppisarski/DaaS-docker
390b628ff87e6a67b3aa1c1fe91786203bb1168c
[ "MIT" ]
null
null
null
src/preprocessing.py
ppisarski/DaaS-docker
390b628ff87e6a67b3aa1c1fe91786203bb1168c
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from src.features import * def get_data(): train_data = pd.read_csv('../data/train.csv') test_data = pd.read_csv('../data/test.csv') return train_data, test_data def main(): train_data, test_data = get_data() train_data = impute_all_features(train_data) ...
19.291667
49
0.688985
70
463
4.157143
0.342857
0.185567
0.134021
0.175258
0.116838
0
0
0
0
0
0
0
0.185745
463
23
50
20.130435
0.771883
0
0
0
0
0
0.088553
0
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.4
0.133333
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
b658a27b5fb49841c9263f0bf1698ebf168e9254
265
py
Python
Python/Week2/regularExpression.py
CoSandu/PythonCourses
0cec199f8f9f335e2c8daf5733eb6685c978fff8
[ "Apache-2.0" ]
null
null
null
Python/Week2/regularExpression.py
CoSandu/PythonCourses
0cec199f8f9f335e2c8daf5733eb6685c978fff8
[ "Apache-2.0" ]
null
null
null
Python/Week2/regularExpression.py
CoSandu/PythonCourses
0cec199f8f9f335e2c8daf5733eb6685c978fff8
[ "Apache-2.0" ]
null
null
null
import re f = open(r'C:\Constantin\Corsi_Online\Python\regx.txt', 'r') interi = [] tot = 0 for line in f: x = re.findall('[0-9]+', line) if x: interi.append(x) for val in interi: for v in val: tot = int(v) + tot print tot f.close()
13.947368
60
0.566038
47
265
3.170213
0.595745
0
0
0
0
0
0
0
0
0
0
0.015544
0.271698
265
18
61
14.722222
0.756477
0
0
0
0
0
0.184906
0.158491
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
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
b65f7582cacbcbf99d936c43a7adb0e8f588732f
2,827
py
Python
src/device/handler.py
OSLL/apagescan
c2d993c0260697aeb2ed70d2f3d2a805b4f8a5f4
[ "MIT" ]
6
2020-08-03T06:17:50.000Z
2021-11-08T20:21:29.000Z
src/device/handler.py
OSLL/apagescan
c2d993c0260697aeb2ed70d2f3d2a805b4f8a5f4
[ "MIT" ]
17
2020-03-04T14:13:10.000Z
2020-03-23T19:12:25.000Z
src/device/handler.py
OSLL/apagescan
c2d993c0260697aeb2ed70d2f3d2a805b4f8a5f4
[ "MIT" ]
null
null
null
import re from itertools import chain from src.utilities import exec_command, list_difference class DeviceHandler: """Class to handle Android devices, connected to PC :ivar __listeners: list of listeners - objects (implementing Listener interface), that are tracking devices' changes :ivar __serial_numbe...
31.065934
120
0.645207
345
2,827
5.028986
0.310145
0.097406
0.078386
0.065706
0.189625
0.043804
0.043804
0
0
0
0
0.001952
0.275203
2,827
90
121
31.411111
0.844802
0.378493
0
0.138889
0
0
0.015676
0
0
0
0
0
0
1
0.222222
false
0
0.083333
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
1
0
0
0
0
0
0
0
1
b66357baffc9f27b646286c589544f0c9a94af93
2,142
py
Python
ShapeLearnerAPI/_server.py
DEKHTIARJonathan/ShapeLearnerAPI
6b8824da28cc5f481b550c8c7912c86097e20536
[ "MIT" ]
null
null
null
ShapeLearnerAPI/_server.py
DEKHTIARJonathan/ShapeLearnerAPI
6b8824da28cc5f481b550c8c7912c86097e20536
[ "MIT" ]
null
null
null
ShapeLearnerAPI/_server.py
DEKHTIARJonathan/ShapeLearnerAPI
6b8824da28cc5f481b550c8c7912c86097e20536
[ "MIT" ]
null
null
null
################################# Loading config File ################################ import sys sys.path.append('../Config/') from loadConf import loadConf ################################# Import Libraries ################################ import os.path import urllib2 import time from sqlalchemy import * from sqlal...
36.305085
147
0.643324
232
2,142
5.909483
0.37931
0.051058
0.070022
0.100656
0.415755
0.415755
0.415755
0.415755
0.415755
0.310722
0
0.019467
0.088702
2,142
58
148
36.931034
0.682889
0.037348
0
0.04878
0
0
0.369334
0.275881
0
0
0
0
0
0
null
null
0
0.219512
null
null
0.02439
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
b66c5f4a049b6ad77a78e2d4cae2ce8fbcea9dea
2,346
py
Python
simple_scheduler/jobs/curl_job.py
In2ItChicago/ndscheduler
f9cc3eadc0fabc0cb9c4250ae65c4c11b81125c2
[ "BSD-2-Clause" ]
null
null
null
simple_scheduler/jobs/curl_job.py
In2ItChicago/ndscheduler
f9cc3eadc0fabc0cb9c4250ae65c4c11b81125c2
[ "BSD-2-Clause" ]
20
2019-01-27T18:40:26.000Z
2019-10-05T21:50:06.000Z
simple_scheduler/jobs/curl_job.py
In2ItChicago/ndscheduler
f9cc3eadc0fabc0cb9c4250ae65c4c11b81125c2
[ "BSD-2-Clause" ]
null
null
null
"""A job to send a HTTP (GET or DELETE) periodically.""" import logging import requests from ndscheduler.corescheduler import job logger = logging.getLogger(__name__) class CurlJob(job.JobBase): TIMEOUT = 30 @classmethod def meta_info(cls): return { 'job_class_string': '%s.%s' % (c...
39.762712
97
0.518755
223
2,346
5.309417
0.403587
0.065034
0.088682
0.050676
0.170608
0.170608
0.148649
0.099662
0.099662
0.099662
0
0.012541
0.35422
2,346
58
98
40.448276
0.768977
0.028986
0
0.045455
0
0
0.257596
0
0
0
0
0
0
1
0.045455
false
0.090909
0.068182
0.022727
0.227273
0.022727
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
b67146d928f69a5146e1d26fe26e5079cb833b63
1,272
py
Python
za.py
zweed4u/residue
b4c397af34d0e67932db454eb486a9935a5d9d39
[ "MIT" ]
null
null
null
za.py
zweed4u/residue
b4c397af34d0e67932db454eb486a9935a5d9d39
[ "MIT" ]
null
null
null
za.py
zweed4u/residue
b4c397af34d0e67932db454eb486a9935a5d9d39
[ "MIT" ]
null
null
null
#!/usr/bin/python #sitekey: 6Lcm qwIT AAAA AD_8 PDdc M-9A hyft RNtF Xn1U 5e_8 import json, random, requests def decrypt_1(cyphertext): plaintext = '' for letter in cyphertext: letter = chr(ord(letter) - 1) plaintext += letter return plaintext url = decrypt_1('iuuqt;00psefs/epnjopt/dpn0qpxfs0hjgudbse.cbmbodf') ...
28.266667
85
0.629717
166
1,272
4.777108
0.596386
0.040353
0.047919
0
0
0
0
0
0
0
0
0.023346
0.191824
1,272
44
86
28.909091
0.748054
0.13522
0
0
0
0
0.29589
0.088584
0
0
0
0
0
0
null
null
0
0.026316
null
null
0.105263
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
b6729cf227c800433d7bb6a4d03bad320ebb49d2
11,447
py
Python
lib/carbon/cache.py
zillow/carbon
07244f98e8ddf305a0b2cc2da1bcc1a86b613ce6
[ "Apache-2.0" ]
null
null
null
lib/carbon/cache.py
zillow/carbon
07244f98e8ddf305a0b2cc2da1bcc1a86b613ce6
[ "Apache-2.0" ]
3
2017-02-17T04:11:13.000Z
2017-05-03T03:22:16.000Z
lib/carbon/cache.py
zillow/carbon
07244f98e8ddf305a0b2cc2da1bcc1a86b613ce6
[ "Apache-2.0" ]
null
null
null
"""Copyright 2009 Chris Davis 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, software dist...
33.47076
152
0.71617
1,520
11,447
5.201974
0.217763
0.025294
0.035412
0.017453
0.28342
0.212723
0.150626
0.104717
0.063488
0.063488
0
0.002934
0.195947
11,447
341
153
33.568915
0.85615
0.115052
0
0.185366
0
0
0.050511
0.025081
0
0
0
0
0
0
null
null
0
0.068293
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
b67314edb609b2d661c738a36e7968705ff7d30d
995
py
Python
danbooru_dump/danbooru_dump_bulkdata_download_missing.py
danya02/booru-mirror-unified
2e4ee827c6b6dd0d2a3fe6b9f18220aafd552abe
[ "MIT" ]
null
null
null
danbooru_dump/danbooru_dump_bulkdata_download_missing.py
danya02/booru-mirror-unified
2e4ee827c6b6dd0d2a3fe6b9f18220aafd552abe
[ "MIT" ]
null
null
null
danbooru_dump/danbooru_dump_bulkdata_download_missing.py
danya02/booru-mirror-unified
2e4ee827c6b6dd0d2a3fe6b9f18220aafd552abe
[ "MIT" ]
null
null
null
import subprocess import os import sys sys.path.append('..') from database import * import time import random import danbooru_dump_transfer_queue_into_redis_from_find os.chdir('/hugedata/booru/danbooru_temp') def download_content(id): print (['rsync', '--recursive', '--verbose', f'rsync://78.46.86.149:873...
41.458333
223
0.702513
140
995
4.807143
0.457143
0.118871
0.059435
0.074294
0.40416
0.40416
0.40416
0.40416
0.279346
0.279346
0
0.057432
0.107538
995
23
224
43.26087
0.70045
0.013065
0
0
0
0.111111
0.29898
0.237755
0
0
0
0
0
1
0.055556
false
0
0.388889
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b6771c944826e5be81f3d435b7cc708dd5ba54c5
1,282
py
Python
beautiful_soup/page_parser.py
akellermann97/college-dump
5c82d93767038709ad71b8f212fdb6243eeb0aec
[ "MIT" ]
null
null
null
beautiful_soup/page_parser.py
akellermann97/college-dump
5c82d93767038709ad71b8f212fdb6243eeb0aec
[ "MIT" ]
null
null
null
beautiful_soup/page_parser.py
akellermann97/college-dump
5c82d93767038709ad71b8f212fdb6243eeb0aec
[ "MIT" ]
null
null
null
# Author: Alexander Kellermann Nieves # Date: September 18th, 2018 # This is a placeholder file. # In theory everything that has to do with beautifulsoup should find its way # here in this file. This is where the parsing of the individual webpage should happen. from bs4 import BeautifulSoup import sys import requests ...
23.740741
87
0.691108
175
1,282
5.028571
0.52
0.034091
0.029545
0.040909
0.061364
0.061364
0.061364
0
0
0
0
0.009231
0.23947
1,282
53
88
24.188679
0.893333
0.465679
0
0.333333
0
0
0.057283
0
0
0
0
0
0
1
0.190476
false
0
0.190476
0.047619
0.714286
0.047619
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
b67b06ba8e6dd02cf4ca0a2c1aadbd51e315110b
5,694
py
Python
ComputingAllSpectralIntegrals.py
llimonta/Alaska2014
2022d37209719c665dc72a5b59fd58ed0b2a867b
[ "MIT" ]
null
null
null
ComputingAllSpectralIntegrals.py
llimonta/Alaska2014
2022d37209719c665dc72a5b59fd58ed0b2a867b
[ "MIT" ]
null
null
null
ComputingAllSpectralIntegrals.py
llimonta/Alaska2014
2022d37209719c665dc72a5b59fd58ed0b2a867b
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import pandas as pd from matplotlib.lines import Line2D from scipy import interpolate from scipy.integrate import trapz from scipy.optimize import curve_fit import itertools #dictionary for plotting color_line = {'Iron':'k','Normal':'orange', 'Na-poor':'g','Na-enhanc...
54.75
183
0.679487
790
5,694
4.682278
0.249367
0.034604
0.038929
0.028116
0.329549
0.260341
0.219248
0.187078
0.187078
0.115166
0
0.027848
0.167545
5,694
103
184
55.281553
0.752532
0.173516
0
0.027397
0
0
0.132366
0.049957
0
0
0
0
0
0
null
null
0
0.109589
null
null
0.027397
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
b67b35eb818dc4e5baf99aad96bee0144538fed9
2,696
py
Python
midnight_news/models.py
webadmin87/midnight
b60b3b257b4d633550b82a692f3ea3756c62a0a9
[ "BSD-3-Clause" ]
1
2015-11-20T12:42:39.000Z
2015-11-20T12:42:39.000Z
midnight_news/models.py
webadmin87/midnight
b60b3b257b4d633550b82a692f3ea3756c62a0a9
[ "BSD-3-Clause" ]
3
2020-02-11T21:21:12.000Z
2021-06-10T17:23:56.000Z
midnight_news/models.py
webadmin87/midnight
b60b3b257b4d633550b82a692f3ea3756c62a0a9
[ "BSD-3-Clause" ]
1
2015-11-04T09:23:31.000Z
2015-11-04T09:23:31.000Z
from django.core.urlresolvers import reverse from django.db import models from midnight_main.models import BaseTree, Base, BreadCrumbsMixin, BaseComment from ckeditor.fields import RichTextField from django.utils.translation import ugettext_lazy as _ from sorl.thumbnail import ImageField from mptt.fields import TreeMan...
27.793814
124
0.706602
309
2,696
5.899676
0.300971
0.138782
0.082282
0.105321
0.43006
0.43006
0.43006
0.43006
0.43006
0.43006
0
0.017841
0.168398
2,696
96
125
28.083333
0.795272
0.025593
0
0.404255
0
0
0.094186
0.018605
0
0
0
0
0
1
0.085106
false
0
0.148936
0.085106
0.851064
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
b67cca26a73f81dbfa87c94981ac89667eb242b4
1,704
py
Python
Src/Morse.py
DragonixAlpha/Kal
2ca941ae91ffc459c821ac1b9139dd96abfec6e2
[ "MIT" ]
null
null
null
Src/Morse.py
DragonixAlpha/Kal
2ca941ae91ffc459c821ac1b9139dd96abfec6e2
[ "MIT" ]
null
null
null
Src/Morse.py
DragonixAlpha/Kal
2ca941ae91ffc459c821ac1b9139dd96abfec6e2
[ "MIT" ]
1
2021-05-16T15:32:56.000Z
2021-05-16T15:32:56.000Z
MORSE_CODE_DICT = { 'A':'.-', 'B':'-...', 'C':'-.-.', 'D':'-..', 'E':'.', 'F':'..-.', 'G':'--.', 'H':'....', 'I':'..', 'J':'.---', 'K':'-.-', 'L':'.-..', 'M':'--', 'N':'-.', 'O':'---', 'P':'.--.', 'Q':'--.-', ...
36.255319
63
0.311033
131
1,704
3.954198
0.656489
0.069498
0.050193
0
0
0
0
0
0
0
0
0.011685
0.3973
1,704
46
64
37.043478
0.492697
0.204225
0
0
0
0
0.191834
0
0
0
0
0
0
1
0.068966
false
0
0
0
0.103448
0.034483
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
b683e527a05953ee9bd12970d53f000c8b55f886
934
py
Python
gui/helpers/native_saver.py
intdata-bsc/idact-gui
68df38dd231b5bd6ce45fd5e6f6450b9951efc50
[ "MIT" ]
3
2019-06-11T19:15:45.000Z
2020-05-16T17:07:43.000Z
gui/helpers/native_saver.py
intdata-bsc/idact-gui
68df38dd231b5bd6ce45fd5e6f6450b9951efc50
[ "MIT" ]
21
2019-06-24T19:47:41.000Z
2020-02-22T14:39:46.000Z
gui/helpers/native_saver.py
intdata-bsc/idact-gui
68df38dd231b5bd6ce45fd5e6f6450b9951efc50
[ "MIT" ]
1
2019-08-20T20:20:20.000Z
2019-08-20T20:20:20.000Z
""" One of the helpers for the gui application. Similar modules: class:`.DataProvider`, :class:`.ParameterSaver`, :class:`.UiLoader`, :class:`.Worker`, :class:`.ConfigurationProvider` """ import json import os class NativeArgsSaver: """ Manages the native arguments. """ def __init__(self): ...
30.129032
81
0.650964
115
934
5.078261
0.434783
0.15411
0.09589
0.068493
0
0
0
0
0
0
0
0
0.229122
934
30
82
31.133333
0.811111
0.332976
0
0
0
0
0.04007
0.038328
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
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
b6861069d6eb9f5bbebb4e747de8688fa5393f07
10,444
py
Python
cinder/tests/unit/volume/drivers/datacore/test_datacore_fc.py
alexisries/openstack-cinder
7cc6e45c5ddb8bf771bdb01b867628e41761ae11
[ "Apache-2.0" ]
2
2019-05-24T14:13:50.000Z
2019-05-24T14:21:13.000Z
cinder/tests/unit/volume/drivers/datacore/test_datacore_fc.py
vexata/cinder
7b84c0842b685de7ee012acec40fb4064edde5e9
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
cinder/tests/unit/volume/drivers/datacore/test_datacore_fc.py
vexata/cinder
7b84c0842b685de7ee012acec40fb4064edde5e9
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# Copyright (c) 2017 DataCore Software Corp. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
40.638132
78
0.618058
1,105
10,444
5.600905
0.158371
0.013572
0.01745
0.019389
0.753595
0.685248
0.664889
0.642107
0.639522
0.609953
0
0.008094
0.278437
10,444
256
79
40.796875
0.813163
0.072578
0
0.665072
0
0
0.110433
0.016456
0
0
0
0
0.086124
1
0.043062
false
0
0.023923
0
0.076555
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
b6862baa381a49c5ef1854fb8bd9b911475f5c62
1,580
py
Python
tests/test_DepthEstimator.py
melkimble/OpticalRS
54404f6c1e4e4a6f625e7b15e9f0489cb3600d79
[ "BSD-3-Clause" ]
17
2016-06-13T02:29:09.000Z
2022-03-22T13:30:39.000Z
tests/test_DepthEstimator.py
melkimble/OpticalRS
54404f6c1e4e4a6f625e7b15e9f0489cb3600d79
[ "BSD-3-Clause" ]
7
2017-09-02T12:50:49.000Z
2019-02-14T18:32:52.000Z
tests/test_DepthEstimator.py
melkimble/OpticalRS
54404f6c1e4e4a6f625e7b15e9f0489cb3600d79
[ "BSD-3-Clause" ]
14
2016-04-02T14:03:34.000Z
2021-05-18T06:00:45.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_DepthEstimator ------------------- pytest Tests for `OpticalRS.DepthEstimator` module. To run these tests, install pytest and run `py.test` in this test directory. """ from OpticalRS.RasterDS import RasterDS from OpticalRS.DepthEstimator import DepthEstimator im...
28.214286
90
0.675316
207
1,580
4.980676
0.410628
0.058196
0.053346
0.046557
0.28807
0.203686
0.129971
0.060136
0
0
0
0.005447
0.186709
1,580
55
91
28.727273
0.796887
0.026582
0
0.121212
0
0
0.085483
0
0
0
0
0
0.090909
0
null
null
0
0.121212
null
null
0.030303
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
b68858b3359450e821dd2966444e4abc86685776
26,328
py
Python
test/test_say.py
andrewvaughan/ansible-message
73b45fd9a09ff69a4221c898b575b1b17701b936
[ "MIT" ]
8
2018-02-27T11:33:33.000Z
2020-07-11T23:59:33.000Z
test/test_say.py
andrewvaughan/ansible-prompt
73b45fd9a09ff69a4221c898b575b1b17701b936
[ "MIT" ]
65
2017-11-01T20:38:30.000Z
2017-12-02T00:19:28.000Z
test/test_say.py
andrewvaughan/ansible-message
73b45fd9a09ff69a4221c898b575b1b17701b936
[ "MIT" ]
1
2017-11-30T22:02:17.000Z
2017-11-30T22:02:17.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2017 Andrew Vaughan <hello@andrewvaughan.io> # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated # documentation files (the "Software"), to deal in the Software without restriction, including without ...
27.568586
118
0.564342
2,798
26,328
5.137598
0.10579
0.050087
0.068174
0.042783
0.781913
0.725774
0.687374
0.64967
0.577809
0.554852
0
0.011546
0.322356
26,328
954
119
27.597484
0.794182
0.307315
0
0.481818
0
0
0.086403
0.007002
0
0
0
0
0.190909
1
0.102273
false
0
0.018182
0
0.125
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b68cd9bab578328a565f2b6f75b5874b0fc24f5f
511
py
Python
opendata/tasks.py
OpenData-NC/open-data-nc
5e1964d5c986f79055e6f018f0f2f9a15a3eaf99
[ "MIT" ]
5
2015-10-31T02:01:24.000Z
2021-03-02T12:34:59.000Z
opendata/tasks.py
OpenData-NC/open-data-nc
5e1964d5c986f79055e6f018f0f2f9a15a3eaf99
[ "MIT" ]
null
null
null
opendata/tasks.py
OpenData-NC/open-data-nc
5e1964d5c986f79055e6f018f0f2f9a15a3eaf99
[ "MIT" ]
4
2016-04-05T06:07:15.000Z
2020-10-18T01:17:17.000Z
from celery import task from django.core.mail import send_mail @task def send_email(subject, message, from_email, recipient_list): """Send email async using a celery worker args: Take sames args as django send_mail function. """ send_mail(subject, message, from_email, recipient_list) @task def u...
26.894737
61
0.753425
73
511
5.109589
0.39726
0.13941
0.096515
0.123324
0.369973
0.369973
0
0
0
0
0
0
0.156556
511
19
62
26.894737
0.865429
0.178082
0
0.272727
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
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
1
0
0
0
0
0
0
0
1
b690e2d5eb8179f10745b17c20d29455f2af53df
3,316
py
Python
store/adminshop/views/__init__.py
vallemrv/my_store_test
2da624fd02c5f1784464f15b751b488f3dd2bae6
[ "Apache-2.0" ]
null
null
null
store/adminshop/views/__init__.py
vallemrv/my_store_test
2da624fd02c5f1784464f15b751b488f3dd2bae6
[ "Apache-2.0" ]
null
null
null
store/adminshop/views/__init__.py
vallemrv/my_store_test
2da624fd02c5f1784464f15b751b488f3dd2bae6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: Manuel Rodriguez <valle> # @Date: 28-Sep-2017 # @Email: valle.mrv@gmail.com # @Last modified by: valle # @Last modified time: 31-Jan-2018 # @License: Apache license vesion 2.0 from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_requir...
31.580952
105
0.666466
391
3,316
5.534527
0.327366
0.064695
0.07902
0.058226
0.309612
0.215342
0.18854
0.174214
0.093346
0.047135
0
0.009317
0.22316
3,316
104
106
31.884615
0.830745
0.087153
0
0.230769
0
0
0.119695
0.024536
0
0
0
0
0
1
0.115385
false
0.012821
0.269231
0.076923
0.538462
0.012821
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
b69231e529d3179611550965950d64e9a25ebb98
378
py
Python
dmriprep/workflows/dwi/conversions/nii_to_mif/edges.py
GalBenZvi/dmriprep
7c4c0e1b01e3d941a7fafcbb6b001605cb1f2b0b
[ "Apache-2.0" ]
null
null
null
dmriprep/workflows/dwi/conversions/nii_to_mif/edges.py
GalBenZvi/dmriprep
7c4c0e1b01e3d941a7fafcbb6b001605cb1f2b0b
[ "Apache-2.0" ]
1
2022-03-22T13:22:18.000Z
2022-03-22T13:22:18.000Z
dmriprep/workflows/dwi/conversions/nii_to_mif/edges.py
GalBenZvi/dmriprep
7c4c0e1b01e3d941a7fafcbb6b001605cb1f2b0b
[ "Apache-2.0" ]
null
null
null
INPUT_TO_DWI_CONVERSION_EDGES = [("dwi_file", "in_file")] INPUT_TO_FMAP_CONVERSION_EDGES = [("fmap_file", "in_file")] LOCATE_ASSOCIATED_TO_COVERSION_EDGES = [ ("json_file", "json_import"), ("bvec_file", "in_bvec"), ("bval_file", "in_bval"), ] DWI_CONVERSION_TO_OUTPUT_EDGES = [("out_file", "dwi_file")] FMAP...
34.363636
61
0.719577
53
378
4.490566
0.320755
0.10084
0.084034
0.193277
0.252101
0.252101
0
0
0
0
0
0
0.103175
378
10
62
37.8
0.702065
0
0
0
0
0
0.306878
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
b6971975b9eaf770ff217af0628bef84c7d15d9a
611
py
Python
modelconfig.py
divyanshrm/Polyth-Net-Classification-of-Polythene-Bags-Using-Deep-Dearning
f52c0887cb12cf1322a37d1042917be5d679c725
[ "MIT" ]
null
null
null
modelconfig.py
divyanshrm/Polyth-Net-Classification-of-Polythene-Bags-Using-Deep-Dearning
f52c0887cb12cf1322a37d1042917be5d679c725
[ "MIT" ]
null
null
null
modelconfig.py
divyanshrm/Polyth-Net-Classification-of-Polythene-Bags-Using-Deep-Dearning
f52c0887cb12cf1322a37d1042917be5d679c725
[ "MIT" ]
null
null
null
from tensorflow.keras.applications.xception import Xception import tensorflow.keras as k def modelconfig(dropout_rate): model=k.models.Sequential() model_efficient=Xception(include_top=False,input_shape=(224,224,3),weights=None) model.add(k.layers.InputLayer((224,224,3))) model.add(model_efficient) mode...
38.1875
82
0.769231
90
611
5.144444
0.4
0.138229
0.136069
0.226782
0.332613
0.289417
0.289417
0.289417
0.289417
0.289417
0
0.040925
0.080196
611
16
83
38.1875
0.782918
0
0
0.142857
0
0
0.025126
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.285714
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
b6991871b344a5cf774115d7f86c5484afbe76ab
1,064
py
Python
examples/data/gen_olf_input.py
neurokernel/sensory_int
1e9f690a3e09812f441313433252eecdfc33f78c
[ "BSD-3-Clause" ]
null
null
null
examples/data/gen_olf_input.py
neurokernel/sensory_int
1e9f690a3e09812f441313433252eecdfc33f78c
[ "BSD-3-Clause" ]
null
null
null
examples/data/gen_olf_input.py
neurokernel/sensory_int
1e9f690a3e09812f441313433252eecdfc33f78c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ Generate sample olfactory model stimulus. """ import numpy as np import h5py osn_num = 1375 dt = 1e-4 # time step Ot = 2000 # number of data point during reset period Rt = 1000 # number of data point during odor delivery period #Nt = 4*Ot + 3*Rt # number of data points in time #Nt = 10000...
26.6
60
0.652256
202
1,064
3.316832
0.391089
0.147761
0.149254
0.067164
0.179104
0.059701
0
0
0
0
0
0.108645
0.195489
1,064
39
61
27.282051
0.674065
0.386278
0
0
1
0
0.037915
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
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
b69c4b997fca33a3fb149b9f7a489a2143e12900
608
py
Python
airnow/api.py
briandconnelly/airnow-py
ebe1b0b18b77038aa3473c5814a34b5eeb908bb6
[ "MIT" ]
1
2020-09-22T15:23:59.000Z
2020-09-22T15:23:59.000Z
airnow/api.py
briandconnelly/airnow-py
ebe1b0b18b77038aa3473c5814a34b5eeb908bb6
[ "MIT" ]
6
2020-09-21T16:01:20.000Z
2020-09-25T01:01:26.000Z
airnow/api.py
briandconnelly/airnow-py
ebe1b0b18b77038aa3473c5814a34b5eeb908bb6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import requests def get_airnow_data(endpoint: str, **kwargs) -> dict: """Query the AirNow API and return the contents :param str endpoint: AirNow API endpoint (e.g., "/aq/observation/zipCode/current") Additional named arguments are passed on as query parameters. All queries ...
32
87
0.694079
84
608
4.988095
0.72619
0.064439
0.057279
0
0
0
0
0
0
0
0
0.004073
0.192434
608
18
88
33.777778
0.849287
0.547697
0
0
0
0
0.157258
0
0
0
0
0
0
1
0.2
false
0
0.2
0
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
b69fbe77289f7235767b0bd63da00b1ed896dee8
459
py
Python
CursoEmVideo-Python3-Mundo1/desafio035.py
martinsnathalia/Python
0cabf894dc9c0d0307bd1136831e011580b497c5
[ "MIT" ]
null
null
null
CursoEmVideo-Python3-Mundo1/desafio035.py
martinsnathalia/Python
0cabf894dc9c0d0307bd1136831e011580b497c5
[ "MIT" ]
null
null
null
CursoEmVideo-Python3-Mundo1/desafio035.py
martinsnathalia/Python
0cabf894dc9c0d0307bd1136831e011580b497c5
[ "MIT" ]
null
null
null
# Desenvolva um programa que leia o comprimento de três retas e diga ao usuário se elas podem ou não formar um triângulo. print('Suas retas formam um triângulo?') r1 = float(input('Digite a primeira reta: ')) r2 = float(input('Digite a segunda reta: ')) r3 = float(input('Digite a terceira reta: ')) if r1 < (r2+r3) an...
38.25
121
0.690632
75
459
4.226667
0.52
0.138801
0.160883
0.160883
0
0
0
0
0
0
0
0.032258
0.189542
459
11
122
41.727273
0.819892
0.259259
0
0
0
0
0.502959
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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