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
a242c96ed8bcb13f5bfa9207fd0f74b413f14708
782
py
Python
geotrek/api/v2/views/flatpages.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
geotrek/api/v2/views/flatpages.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
geotrek/api/v2/views/flatpages.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
from django.db.models.query import Prefetch from geotrek.api.v2 import serializers as api_serializers, \ filters as api_filters, viewsets as api_viewsets from geotrek.common.models import Attachment from geotrek.flatpages import models as flatpages_models class FlatPageViewSet(api_viewsets.GeotrekViewSet): f...
43.444444
126
0.758312
84
782
6.869048
0.47619
0.057192
0.086655
0.107452
0.140381
0.140381
0
0
0
0
0
0.001546
0.172634
782
17
127
46
0.890263
0.040921
0
0
0
0
0.033422
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a253d399afde36dab9e685be402b5d69af8b6e70
3,869
py
Python
src/sensing/drivers/radar/umrr_driver/src/smartmicro/Helper/basicThreadHelper/threadHelper.py
P4nos/Aslan
d9ea469cc13c2bf840505b958df9cbb1ed1be050
[ "Apache-2.0" ]
227
2020-07-01T10:13:21.000Z
2022-03-31T10:46:11.000Z
src/sensing/drivers/radar/umrr_driver/src/smartmicro/Helper/basicThreadHelper/threadHelper.py
P4nos/Aslan
d9ea469cc13c2bf840505b958df9cbb1ed1be050
[ "Apache-2.0" ]
30
2020-07-02T09:34:42.000Z
2022-03-23T09:04:59.000Z
src/sensing/drivers/radar/umrr_driver/src/smartmicro/Helper/basicThreadHelper/threadHelper.py
P4nos/Aslan
d9ea469cc13c2bf840505b958df9cbb1ed1be050
[ "Apache-2.0" ]
65
2020-07-01T10:24:05.000Z
2022-02-12T20:37:11.000Z
import threading import logging import time class ThreadHelperException(Exception): pass class ThreadHelper(threading.Thread): """ The class provides a frame for the threads used in the framework. """ # ------------------------------------------------------------------------------...
44.471264
121
0.298268
208
3,869
5.509615
0.355769
0.057592
0.034031
0.044503
0.109948
0.09075
0.045375
0
0
0
0
0.001216
0.362368
3,869
87
122
44.471264
0.463316
0.564487
0
0.189189
0
0
0.080836
0
0
0
0
0
0
1
0.135135
false
0.027027
0.081081
0
0.27027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a25a067fafd17978460682c1ad159134b1e91987
414
py
Python
ContractorApp/migrations/0026_job_employer_email.py
Paul-W-0/FindContractors
d4986a15073856b9cf236f9dac0fdc60bfe96aba
[ "BSD-2-Clause" ]
null
null
null
ContractorApp/migrations/0026_job_employer_email.py
Paul-W-0/FindContractors
d4986a15073856b9cf236f9dac0fdc60bfe96aba
[ "BSD-2-Clause" ]
null
null
null
ContractorApp/migrations/0026_job_employer_email.py
Paul-W-0/FindContractors
d4986a15073856b9cf236f9dac0fdc60bfe96aba
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.2.9 on 2022-01-12 22:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ContractorApp', '0025_job_employer'), ] operations = [ migrations.AddField( model_name='job', name='employer_email',...
21.789474
75
0.611111
46
414
5.391304
0.804348
0
0
0
0
0
0
0
0
0
0
0.07309
0.272947
414
18
76
23
0.750831
0.108696
0
0
1
0
0.128065
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a25ae0c8cdedd62f5fa194770d477041c5cf17da
1,014
py
Python
setup.py
bopopescu/cc-2
37444fb16b36743c439b0d6c3cac2347e0cc0a94
[ "Apache-2.0" ]
null
null
null
setup.py
bopopescu/cc-2
37444fb16b36743c439b0d6c3cac2347e0cc0a94
[ "Apache-2.0" ]
null
null
null
setup.py
bopopescu/cc-2
37444fb16b36743c439b0d6c3cac2347e0cc0a94
[ "Apache-2.0" ]
1
2020-07-25T19:36:05.000Z
2020-07-25T19:36:05.000Z
#!/usr/bin/env python # Copyright [2010] [Anso Labs, LLC] # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
30.727273
77
0.693294
146
1,014
4.794521
0.671233
0.085714
0.037143
0.045714
0
0
0
0
0
0
0
0.014851
0.203156
1,014
32
78
31.6875
0.851485
0.597633
0
0
0
0
0.233503
0.06599
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a260b5fd1743559322be9080f51c6532e9544255
259
py
Python
practice/classes/ex5.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
null
null
null
practice/classes/ex5.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
8
2017-12-29T21:19:00.000Z
2018-04-01T05:05:05.000Z
practice/classes/ex5.py
recursivelycurious/wordnik-repl
9d9e96a8ebc79b95f135d5bc871602b65d2d2b79
[ "MIT" ]
1
2017-12-27T23:45:58.000Z
2017-12-27T23:45:58.000Z
class Animal(object): """Makes cute animals.""" is_alive = True def __init__(self, name, age): self.name = name self.age = age def description(self): print self.name print self.age hippo = Animal("Sally", 22) hippo.description()
18.5
32
0.640927
35
259
4.6
0.542857
0.149068
0
0
0
0
0
0
0
0
0
0.01
0.227799
259
13
33
19.923077
0.795
0
0
0
0
0
0.021368
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
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
a26191aa8a8f3d3f20f69ed87e9115dea4b88cfd
7,235
py
Python
flex/utils/module_loading.py
centergy/flex
4fc11d3ad48e4b5016f53256015e3eed2157daae
[ "MIT" ]
null
null
null
flex/utils/module_loading.py
centergy/flex
4fc11d3ad48e4b5016f53256015e3eed2157daae
[ "MIT" ]
null
null
null
flex/utils/module_loading.py
centergy/flex
4fc11d3ad48e4b5016f53256015e3eed2157daae
[ "MIT" ]
null
null
null
import sys import os import warnings import importlib from importlib.util import find_spec def import_module(name, package=None): return importlib.import_module(name, package=package) def import_string(import_name, package=None, *, silent=False): """Imports an object or module based on a string. """ try: ret...
32.013274
102
0.725501
1,060
7,235
4.777358
0.256604
0.019747
0.01876
0.013033
0.08669
0.056872
0.049368
0.03515
0.03515
0.03515
0
0.001513
0.177885
7,235
226
103
32.013274
0.849866
0.28915
0
0.207407
0
0
0.054954
0
0
0
0
0
0
1
0.111111
false
0.007407
0.251852
0.022222
0.57037
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
a261aa8e6bd3849bda04c863a6ea4d1ee28f446a
614
py
Python
ojos/conv/cipher.py
ojos/python-core
d43f99d31c99493f0966ba7020bdc40f2dc2ed2e
[ "MIT" ]
null
null
null
ojos/conv/cipher.py
ojos/python-core
d43f99d31c99493f0966ba7020bdc40f2dc2ed2e
[ "MIT" ]
null
null
null
ojos/conv/cipher.py
ojos/python-core
d43f99d31c99493f0966ba7020bdc40f2dc2ed2e
[ "MIT" ]
null
null
null
import base64 from typing import Union import pyaes from ..decorator import logging @logging def encrypt(key: Union[str, bytes], raw: bytes) -> bytes: if isinstance(key, str): key = key.encode("utf-8") cipher: pyaes.AESModeOfOperationCTR = pyaes.AESModeOfOperationCTR(key) return base64.urlsafe_b...
26.695652
74
0.71987
76
614
5.789474
0.355263
0.236364
0.05
0.072727
0.504545
0.504545
0.504545
0.504545
0.504545
0.504545
0
0.023346
0.162866
614
22
75
27.909091
0.832685
0
0
0.5
0
0
0.016287
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
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
a276758b8439b17d06d12163b66b6e24bc8b0865
6,460
py
Python
pyGPs/Optimization/scg.py
Corentin-LF/pyGPs
b9d36777584cd53756bd4311c3c20ea52e945451
[ "BSD-2-Clause" ]
196
2015-03-02T06:42:52.000Z
2022-03-01T03:32:00.000Z
pyGPs/Optimization/scg.py
Corentin-LF/pyGPs
b9d36777584cd53756bd4311c3c20ea52e945451
[ "BSD-2-Clause" ]
36
2015-01-16T12:34:46.000Z
2022-03-14T06:32:23.000Z
pyGPs/Optimization/scg.py
Corentin-LF/pyGPs
b9d36777584cd53756bd4311c3c20ea52e945451
[ "BSD-2-Clause" ]
77
2015-01-30T16:25:34.000Z
2021-01-03T18:25:24.000Z
from __future__ import division from past.utils import old_div #=============================================================================== # SCG Scaled conjugate gradient optimization. # # Copyright (c) Ian T Nabney (1996-2001) # updates by Shan Huang 2013 # # Permission is granted for anyone to copy, use...
35.690608
163
0.501858
718
6,460
4.479109
0.33844
0.017413
0.029851
0.020522
0.132463
0.123134
0.100124
0.100124
0.100124
0.100124
0
0.021266
0.381269
6,460
180
164
35.888889
0.783338
0.324768
0
0.372881
0
0
0.027913
0
0
0
0
0
0
1
0.008475
false
0.050847
0.042373
0
0.118644
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
a2787797d9c0ec7766f63433bd0577d773a7a03d
3,227
py
Python
etc/elasticsearch_code/mapping.py
alswhd20/elk
9487d66ba9f7e4bb2db9f0e7c17effd5daf74d5b
[ "MIT" ]
null
null
null
etc/elasticsearch_code/mapping.py
alswhd20/elk
9487d66ba9f7e4bb2db9f0e7c17effd5daf74d5b
[ "MIT" ]
null
null
null
etc/elasticsearch_code/mapping.py
alswhd20/elk
9487d66ba9f7e4bb2db9f0e7c17effd5daf74d5b
[ "MIT" ]
null
null
null
from elasticsearch import Elasticsearch, helpers import os elasticsearch_ip = os.getenv('ELASTICSEARCH_HOST','localhost') elasticsearch_port = os.getenv('ELASTICSEARCH_PORT','9200') es = Elasticsearch(elasticsearch_ip) def create_raw_index(): #인덱스 생성 #raw/twitter/ body = { "mappings": { ...
39.839506
135
0.435699
311
3,227
4.401929
0.485531
0.035062
0.023375
0.052593
0.298028
0.17385
0.17385
0.17385
0.17385
0.17385
0
0.035325
0.403471
3,227
81
136
39.839506
0.675844
0.145336
0
0.142857
0
0
0.259598
0.016088
0
0
0
0
0
0
null
null
0
0.028571
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
a278be6c83de514d660419f0b8239ad8a14c763e
1,932
py
Python
lite_content/lite_internal_frontend/routing_rules.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
1
2021-10-16T16:36:58.000Z
2021-10-16T16:36:58.000Z
lite_content/lite_internal_frontend/routing_rules.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
45
2020-08-11T14:37:46.000Z
2022-03-29T17:03:02.000Z
lite_content/lite_internal_frontend/routing_rules.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
3
2021-02-01T06:26:19.000Z
2022-02-21T23:02:46.000Z
class RoutingRulesList: TITLE = "Maintain case routing rules" CREATE_BUTTON = "Create new routing rule" NO_CONTENT_NOTICE = "There are no registered routing rules at the moment." ACTIVE = "Active" DEACTIVATED = "Deactivated" DEACTIVATE = "Deactivate" REACTIVATE = "Reactivate" EDIT = "Edi...
28
99
0.654762
240
1,932
5.1875
0.3125
0.088353
0.048193
0.032129
0.245783
0.245783
0.200803
0.106024
0.106024
0.106024
0
0
0.265528
1,932
68
100
28.411765
0.877378
0
0
0.145455
0
0
0.458075
0
0
0
0
0
0
1
0
false
0
0
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a27b2807f3c6bf2955a7906bc8f55bf35308b7f8
3,600
py
Python
Bottle_Builder/urls.py
andrewnyhus/Bottle-Builder
177e81a3dc29adab4c720e379921976169b21702
[ "MIT" ]
null
null
null
Bottle_Builder/urls.py
andrewnyhus/Bottle-Builder
177e81a3dc29adab4c720e379921976169b21702
[ "MIT" ]
null
null
null
Bottle_Builder/urls.py
andrewnyhus/Bottle-Builder
177e81a3dc29adab4c720e379921976169b21702
[ "MIT" ]
null
null
null
"""Bottle_Builder URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cl...
65.454545
184
0.751111
535
3,600
4.758879
0.203738
0.042419
0.017675
0.02121
0.243912
0.194423
0.177926
0.151218
0.12176
0.12176
0
0.015337
0.094444
3,600
54
185
66.666667
0.765644
0.1775
0
0
0
0.103448
0.392405
0.267631
0
0
0
0
0
1
0
false
0.172414
0.103448
0
0.103448
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
a27b80ea9a0190c289cac69b1429ec1a709c8f64
3,202
py
Python
VPG/net.py
JojiJoseph/Deep-RL
373ee9dfcea29ac1cf497559e81a559e79d91427
[ "MIT" ]
1
2021-06-24T19:23:59.000Z
2021-06-24T19:23:59.000Z
VPG/net.py
JojiJoseph/Deep-RL
373ee9dfcea29ac1cf497559e81a559e79d91427
[ "MIT" ]
null
null
null
VPG/net.py
JojiJoseph/Deep-RL
373ee9dfcea29ac1cf497559e81a559e79d91427
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import numpy as np class Actor(nn.Module): def __init__(self, state_dim, action_dim, size=256): super().__init__() self.state_dim = state_dim self.action_dim = action_dim self.l1 = nn.Linear(state_dim, size) self.l2 = nn.Linear(size, size)...
33.705263
77
0.615865
473
3,202
4.004228
0.128964
0.038015
0.05227
0.085533
0.762936
0.714889
0.581837
0.535903
0.535903
0.486272
0
0.046396
0.246096
3,202
94
78
34.06383
0.738194
0.014991
0
0.513514
0
0
0
0
0
0
0
0
0
1
0.135135
false
0
0.040541
0
0.324324
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
a27b8d28e79de21501d44a8768d34472d90c3707
305
py
Python
urls.py
Cantemo/GoogleAnalyticsPlugin
a374c3dc8d8c34395723ac8b330dcc616fd433f4
[ "BSD-3-Clause" ]
null
null
null
urls.py
Cantemo/GoogleAnalyticsPlugin
a374c3dc8d8c34395723ac8b330dcc616fd433f4
[ "BSD-3-Clause" ]
null
null
null
urls.py
Cantemo/GoogleAnalyticsPlugin
a374c3dc8d8c34395723ac8b330dcc616fd433f4
[ "BSD-3-Clause" ]
1
2015-10-19T11:15:23.000Z
2015-10-19T11:15:23.000Z
""" .. Copyright 2012 Cantemo AB. All Rights Reserved """ from django.conf.urls import url from .views import GoogleAnalyticsView # We only have one url in this app urlpatterns = [ url(r'^settings/$', GoogleAnalyticsView, kwargs={'template': 'analytics/settings.html'}, name='analytics_settings'), ]
27.727273
120
0.734426
38
305
5.868421
0.789474
0.152466
0
0
0
0
0
0
0
0
0
0.015152
0.134426
305
10
121
30.5
0.829545
0.272131
0
0
0
0
0.280374
0.107477
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a27d28102c791a0c9461a7f65fef5ddd58fe0c72
13,197
py
Python
SpreadsheetProduction/src/loadextract/loadextract.py
NESCent/Chimp-Recs-FieldObservations
3308b37240c762eaa9ef75e70e17f46c051103cb
[ "CC0-1.0" ]
null
null
null
SpreadsheetProduction/src/loadextract/loadextract.py
NESCent/Chimp-Recs-FieldObservations
3308b37240c762eaa9ef75e70e17f46c051103cb
[ "CC0-1.0" ]
null
null
null
SpreadsheetProduction/src/loadextract/loadextract.py
NESCent/Chimp-Recs-FieldObservations
3308b37240c762eaa9ef75e70e17f46c051103cb
[ "CC0-1.0" ]
null
null
null
''' Created on Mar 25, 2011 @author: vgapeyev ''' import os, shutil, csv, codecs import sqlite3 #The headers are expected to be in the same quantity and order as in the loaded files. #The names, however, may differ. The names here will be used in the database. AUDIO_FIELDS = ['wav_file', 'editing_notes', 'rec...
38.475219
329
0.63181
1,738
13,197
4.596087
0.226122
0.027041
0.012394
0.010516
0.274912
0.174887
0.133575
0.081622
0.068728
0.068728
0
0.005629
0.232704
13,197
343
330
38.475219
0.783231
0.04304
0
0.142308
0
0.015385
0.368939
0.020582
0
0
0
0.002915
0
0
null
null
0.007692
0.015385
null
null
0.019231
0
0
0
null
0
0
0
0
0
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
a27f066058e3fe87d4844372e5280ca4f4d3cecd
1,986
py
Python
unittests/conftest.py
jacwah/reframe
d650bbbb2f87c6ae5f354e50b50bcfd98fafe77b
[ "BSD-3-Clause" ]
null
null
null
unittests/conftest.py
jacwah/reframe
d650bbbb2f87c6ae5f354e50b50bcfd98fafe77b
[ "BSD-3-Clause" ]
3
2022-03-11T09:51:33.000Z
2022-03-31T08:20:19.000Z
unittests/conftest.py
jacwah/reframe
d650bbbb2f87c6ae5f354e50b50bcfd98fafe77b
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2016-2022 Swiss National Supercomputing Centre (CSCS/ETH Zurich) # ReFrame Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: BSD-3-Clause # # unittests/conftest.py -- pytest fixtures used in multiple unit tests # import contextlib import pytest import reframe.co...
25.792208
76
0.665156
265
1,986
4.762264
0.403774
0.079239
0.078447
0.044374
0.177496
0.114105
0.071315
0.071315
0.071315
0
0
0.006024
0.247734
1,986
76
77
26.131579
0.838688
0.281974
0
0.190476
0
0
0.010043
0
0
0
0
0
0
1
0.214286
false
0
0.095238
0.02381
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a282cf4493a277d4bb3dbcf5b220206df0a92887
7,757
py
Python
bin/massCalc.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
bin/massCalc.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
bin/massCalc.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
 import sys import os #sys.path.append(r"C:\Program Files\ISIS\Udm\bin") #if os.environ.has_key("UDM_PATH"): # sys.path.append(os.path.join(os.environ["UDM_PATH"], "bin")) import _winreg as winreg with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"Software\META") as software_meta: meta_path, _ = winreg.Qu...
38.211823
151
0.572515
880
7,757
4.895455
0.279545
0.01532
0.016249
0.01857
0.298747
0.23909
0.231198
0.20195
0.188487
0.188487
0
0.015244
0.306562
7,757
202
152
38.40099
0.785462
0.139487
0
0.22069
0
0
0.112367
0.039234
0
0
0
0.004951
0
0
null
null
0.02069
0.117241
null
null
0.02069
0
0
0
null
0
0
0
0
0
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
a289498b8484cc0596bb88cd8f8d0ef8b8c50e12
1,330
py
Python
tests/integration_tests.py
BONSAMURAIS/bonsai_api
27a74ac62041e7a658d20282f0262cfd557f8952
[ "BSD-3-Clause" ]
null
null
null
tests/integration_tests.py
BONSAMURAIS/bonsai_api
27a74ac62041e7a658d20282f0262cfd557f8952
[ "BSD-3-Clause" ]
null
null
null
tests/integration_tests.py
BONSAMURAIS/bonsai_api
27a74ac62041e7a658d20282f0262cfd557f8952
[ "BSD-3-Clause" ]
null
null
null
from bonsai_api import app from unittest import TestCase import json import sys class TestIntegrations(TestCase): def setUp(self): self.app = app.test_client() # We check that a GET request on /activities/ with a "lim" parameter of 5 returns a JSON with 5 entries only. def test_activities_list...
51.153846
207
0.684962
180
1,330
4.966667
0.377778
0.03132
0.036913
0.040268
0.488814
0.488814
0.488814
0.450783
0.355705
0.270694
0
0.015858
0.193985
1,330
26
207
51.153846
0.818097
0.238346
0
0.157895
0
0
0.153465
0
0
0
0
0
0.157895
1
0.210526
false
0
0.210526
0
0.473684
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
a28a76ce051b372fffaf6812029c6fa96d3f1aa6
1,699
py
Python
src/command.py
trunkclub/ontology_etl
097985be505469258ee6c831e789f64fb804f091
[ "MIT" ]
null
null
null
src/command.py
trunkclub/ontology_etl
097985be505469258ee6c831e789f64fb804f091
[ "MIT" ]
null
null
null
src/command.py
trunkclub/ontology_etl
097985be505469258ee6c831e789f64fb804f091
[ "MIT" ]
null
null
null
""" A `Command` is something that causes a change of state to a persistant store. """ class Command(object): """ Inherit `Command` for specific commands that cause a chage of state in a persisted database. """ def __init__(self, *args, **kwargs): pass def run(self): """ ...
27.852459
68
0.637434
193
1,699
5.38342
0.497409
0.020212
0.031761
0
0
0
0
0
0
0
0
0
0.274279
1,699
60
69
28.316667
0.84266
0.338434
0
0
0
0
0.054945
0
0
0
0
0
0
1
0.217391
false
0.043478
0
0
0.391304
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
a291219abb4b7fa7a6ff46204ee78e9dd6c5f80f
1,782
py
Python
store_search/views.py
LuchaComics/comicscantina-django
78e630000fb1e1f6299f80655c8f57a496236ab1
[ "BSD-2-Clause" ]
null
null
null
store_search/views.py
LuchaComics/comicscantina-django
78e630000fb1e1f6299f80655c8f57a496236ab1
[ "BSD-2-Clause" ]
5
2021-03-19T02:58:32.000Z
2022-03-11T23:57:30.000Z
store_search/views.py
lendierickx/comics-django
3f5c6e85c89ff157dbf67179ea3b9007d7de446c
[ "BSD-2-Clause" ]
null
null
null
import json from datetime import datetime from django.shortcuts import render from django.core import serializers from django.http import HttpResponse from django.conf import settings from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from ecantina_project import const...
36.367347
88
0.746352
236
1,782
5.521186
0.326271
0.042978
0.079816
0.092095
0.032233
0
0
0
0
0
0
0
0.176768
1,782
49
89
36.367347
0.888207
0.089787
0
0
0
0
0.053119
0.013589
0
0
0
0
0
1
0.02439
false
0
0.439024
0
0.487805
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
0
0
0
0
1
0
0
0
0
1
a291672964bee924506123760228f6247a289b48
312
py
Python
src/account/urls.py
sadmanbd/Photo-Album-Sharing-Service
665d21af0c5fe92fa3d860bd80a65ee982848e7d
[ "MIT" ]
null
null
null
src/account/urls.py
sadmanbd/Photo-Album-Sharing-Service
665d21af0c5fe92fa3d860bd80a65ee982848e7d
[ "MIT" ]
null
null
null
src/account/urls.py
sadmanbd/Photo-Album-Sharing-Service
665d21af0c5fe92fa3d860bd80a65ee982848e7d
[ "MIT" ]
null
null
null
from django.urls import path from django.contrib.auth import views as auth_views from .views import register, CustomLoginView urlpatterns = [ path("register/", register, name="register"), path("login/", CustomLoginView.as_view(), name="login"), path("logout/", auth_views.logout, name="logout") ]
26
60
0.721154
39
312
5.692308
0.410256
0.09009
0
0
0
0
0
0
0
0
0
0
0.137821
312
11
61
28.363636
0.825279
0
0
0
0
0
0.13141
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a2919324b7f3cfe30b64d0ff15fbcc65daeebd3e
2,114
py
Python
deltasigma/tests/test_mapQtoR.py
michi7x7/python-deltasigma
029e97eb6de748744f62840114ae6725ec5a721b
[ "OLDAP-2.6", "Python-2.0" ]
43
2015-01-11T14:42:21.000Z
2022-01-06T13:07:06.000Z
deltasigma/tests/test_mapQtoR.py
thomasrussellmurphy/python-deltasigma
826ccbcfaadc0597e62f55b2d0eda39b26f7c4c1
[ "OLDAP-2.6", "Python-2.0" ]
33
2015-06-04T10:47:36.000Z
2022-01-07T10:20:44.000Z
deltasigma/tests/test_mapQtoR.py
thomasrussellmurphy/python-deltasigma
826ccbcfaadc0597e62f55b2d0eda39b26f7c4c1
[ "OLDAP-2.6", "Python-2.0" ]
39
2015-02-10T06:55:58.000Z
2022-01-20T19:23:44.000Z
# -*- coding: utf-8 -*- # test_mapQtoR.py # This module provides the tests for the mapQtoR function. # Copyright 2014 Giuseppe Venturini # This file is part of python-deltasigma. # # python-deltasigma is a 1:1 Python replacement of Richard Schreier's # MATLAB delta sigma toolbox (aka "delsigma"), upon which it is heavi...
41.45098
80
0.535951
345
2,114
3.266667
0.376812
0.015972
0.031943
0.037267
0.266193
0.266193
0.266193
0.266193
0.266193
0.266193
0
0.216107
0.295175
2,114
50
81
42.28
0.540268
0.33964
0
0
0
0
0
0
0
0
0
0
0.04
1
0.08
false
0
0.16
0
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a2953fefde64a1677372c9befbd598ed12446895
2,149
py
Python
src/tests/t_general.py
tizenorg/platform.upstream.krb5
a98efd0c8f97aba9d71c2130c048f1adc242772e
[ "MIT" ]
372
2016-10-28T10:50:35.000Z
2022-03-18T19:54:37.000Z
src/tests/t_general.py
tizenorg/platform.upstream.krb5
a98efd0c8f97aba9d71c2130c048f1adc242772e
[ "MIT" ]
317
2016-11-02T17:41:48.000Z
2021-11-08T20:28:19.000Z
src/tests/t_general.py
tizenorg/platform.upstream.krb5
a98efd0c8f97aba9d71c2130c048f1adc242772e
[ "MIT" ]
107
2016-11-03T19:25:16.000Z
2022-03-20T21:15:22.000Z
#!/usr/bin/python from k5test import * for realm in multipass_realms(create_host=False): # Create a policy and see if it survives a dump/load. realm.run_kadminl('addpol fred') dumpfile = os.path.join(realm.testdir, 'dump') realm.run_as_master([kdb5_util, 'dump', dumpfile]) realm.run_as_master([kdb5...
39.796296
76
0.665426
304
2,149
4.605263
0.384868
0.068571
0.064286
0.042857
0.189286
0.141429
0.107143
0.107143
0.062857
0.062857
0
0.011827
0.213122
2,149
53
77
40.54717
0.816085
0.147976
0
0
0
0
0.274273
0
0
0
0
0
0
1
0
false
0.111111
0.027778
0
0.027778
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
a29b5e6869d8a6e0a4452f5798dda7cda3a50ddf
7,194
py
Python
app.py
algonommy/Basic-Stock-Crypto-Prediction
c52c25cda175fdf31ad3ff9f9447c1b679307200
[ "MIT" ]
1
2022-02-10T11:10:01.000Z
2022-02-10T11:10:01.000Z
app.py
algonommy/Basic-Stock-Crypto-Prediction
c52c25cda175fdf31ad3ff9f9447c1b679307200
[ "MIT" ]
null
null
null
app.py
algonommy/Basic-Stock-Crypto-Prediction
c52c25cda175fdf31ad3ff9f9447c1b679307200
[ "MIT" ]
null
null
null
import numpy as np from flask import Flask, session,abort,request, jsonify, render_template,redirect,url_for,flash import pickle import pandas as pd from sklearn.preprocessing import MinMaxScaler as mini import os import stripe import datetime app = Flask(__name__) pub_key ='pk_live_2pO0yUvt9xKyjAo9rca8Vkc600FWtgJuqZ'...
31.278261
165
0.635669
1,068
7,194
4.18633
0.139513
0.01342
0.036234
0.052337
0.740774
0.699843
0.668978
0.658466
0.635652
0.631179
0
0.045407
0.201001
7,194
229
166
31.414847
0.732429
0.071587
0
0.559783
0
0
0.206115
0.012778
0
0
0
0
0
1
0.054348
false
0
0.108696
0.016304
0.211957
0.097826
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
a2a44937449f2dded41030f99cfad79aec1a385e
572
py
Python
browser_calls/models.py
atbaker/browser-calls-django
50f96c36f83729a06d0747f4868e63d0e4d74b12
[ "MIT" ]
33
2015-09-24T18:41:44.000Z
2021-10-01T05:21:20.000Z
browser_calls/models.py
atbaker/browser-calls-django
50f96c36f83729a06d0747f4868e63d0e4d74b12
[ "MIT" ]
216
2015-09-24T19:27:34.000Z
2022-03-31T06:01:59.000Z
browser_calls/models.py
atbaker/browser-calls-django
50f96c36f83729a06d0747f4868e63d0e4d74b12
[ "MIT" ]
16
2016-03-08T22:41:51.000Z
2022-01-19T00:47:07.000Z
from django.db import models from phonenumber_field.modelfields import PhoneNumberField class SupportTicket(models.Model): """A support ticket submitted by an unsatisfied customer :(""" name = models.CharField(max_length=100) phone_number = PhoneNumberField( help_text='Must include international ...
31.777778
77
0.72028
72
572
5.569444
0.777778
0.0399
0
0
0
0
0
0
0
0
0
0.03617
0.178322
572
17
78
33.647059
0.817021
0.097902
0
0
0
0
0.188235
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0.090909
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a2a83dbe7d97abdf662a124566268eeb3ede007e
835
py
Python
IA/AC1-IA-Parte2/buscaBFS/GrafoDados.py
y0naha/IMPACTA
6950d96b505a687d2e8e2519699ac4a4e07a8c87
[ "MIT" ]
null
null
null
IA/AC1-IA-Parte2/buscaBFS/GrafoDados.py
y0naha/IMPACTA
6950d96b505a687d2e8e2519699ac4a4e07a8c87
[ "MIT" ]
null
null
null
IA/AC1-IA-Parte2/buscaBFS/GrafoDados.py
y0naha/IMPACTA
6950d96b505a687d2e8e2519699ac4a4e07a8c87
[ "MIT" ]
null
null
null
#conexoes entre pontos conexoes = {} conexoes["Casa"] = {"Santo Amaro"} conexoes["Santo Amaro"] = {"Pinheiros","Santa Cruz"} conexoes["Santa Cruz"] = {"Santo Amaro", "Sé"} conexoes["Pinheiros"] = {"República", "Luz","Presidente Altino"} conexoes["Presidente Altino"] = {"Barra Funda"} conexoes["República"] = {"Barra Fu...
28.793103
64
0.658683
100
835
5.5
0.31
0.109091
0.098182
0
0
0
0
0
0
0
0
0.027027
0.113772
835
28
65
29.821429
0.716216
0.062275
0
0
0
0
0.373556
0
0
0
0
0.035714
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a2a8b1405d997cf741899f0570ba236edb342ac5
1,272
py
Python
src/car.py
njordhov/RoboticCar
7a9a7507b823566d59c280a748154f7db8f7d40d
[ "OML" ]
2
2019-09-13T12:42:00.000Z
2020-01-10T20:34:09.000Z
src/car.py
njordhov/RoboticCar
7a9a7507b823566d59c280a748154f7db8f7d40d
[ "OML" ]
null
null
null
src/car.py
njordhov/RoboticCar
7a9a7507b823566d59c280a748154f7db8f7d40d
[ "OML" ]
2
2020-06-22T15:35:04.000Z
2021-07-19T04:36:56.000Z
#!/usr/bin/env python ## Controller for a Mindstorms NXT robotic car. ## (C)2012 Terje Norderhaug <terje@in-progress.com> ## Open source license to be determined. ## ## Requires nxt-python-2.2.1 from time import sleep import nxt.locator from nxt.motor import * from nxt.sensor import Light, Sound, Touch, Ultrasonic f...
23.555556
54
0.625
174
1,272
4.477011
0.41954
0.041078
0.033376
0.04878
0
0
0
0
0
0
0
0.025641
0.264151
1,272
53
55
24
0.806624
0.174528
0
0
0
0
0.022244
0
0
0
0
0
0
0
null
null
0
0.16129
null
null
0.032258
0
0
0
null
0
0
0
0
0
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
a2b84630f7e2e5d1ff894f112af0f414343a176a
828
py
Python
nxcl/core/config/utils.py
yuneg11/NXCL
98a0f39071d7ae97aaf9dc5f1284faecfb7663ce
[ "MIT" ]
null
null
null
nxcl/core/config/utils.py
yuneg11/NXCL
98a0f39071d7ae97aaf9dc5f1284faecfb7663ce
[ "MIT" ]
1
2022-03-26T19:50:17.000Z
2022-03-26T19:51:41.000Z
nxcl/core/config/utils.py
yuneg11/NXCL
98a0f39071d7ae97aaf9dc5f1284faecfb7663ce
[ "MIT" ]
null
null
null
from os import PathLike from pathlib import Path import yaml from .base import ConfigDict from .yaml import NXCLLoader, NXCLDumper __all__ = [ "load_config", "save_config", ] # TODOs # - Support stream as file input. def load_config(file: PathLike, Loader=NXCLLoader): """ Load config from file. ...
18.4
86
0.654589
107
828
4.953271
0.411215
0.056604
0.045283
0.083019
0
0
0
0
0
0
0
0
0.222222
828
44
87
18.818182
0.822981
0.099034
0
0.1
0
0
0.077031
0
0
0
0
0.022727
0
1
0.1
false
0
0.25
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a2bc3854d3e132841dd55ee9b5e2c8738e633d2a
781
py
Python
DQM/SiStripMonitorClient/python/RecoForDQM_Cosmic_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/SiStripMonitorClient/python/RecoForDQM_Cosmic_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/SiStripMonitorClient/python/RecoForDQM_Cosmic_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # Digitiser #### # SiStrip from EventFilter.SiStripRawToDigi.SiStripDigis_cfi import * siStripDigis.ProductLabel = 'source' # SiPixel from EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi import * siPixelDigis.InputLabel = 'source' # Local Reco Cosmic #### from RecoLo...
26.931034
104
0.797695
75
781
8.226667
0.666667
0.04376
0
0
0
0
0
0
0
0
0
0.002886
0.112676
781
28
105
27.892857
0.887446
0.254802
0
0
0
0
0.022099
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a2c226ded713c430631626795539ca0ff030e947
1,230
py
Python
phonenumbers/shortdata/__init__.py
ayushgoel/FixGoogleContacts
e49e58db6718bef8f95b6f767241605441c7fe41
[ "MIT" ]
2
2019-02-22T05:27:22.000Z
2020-12-30T19:33:18.000Z
phonenumbers/shortdata/__init__.py
ayushgoel/FixGoogleContacts
e49e58db6718bef8f95b6f767241605441c7fe41
[ "MIT" ]
null
null
null
phonenumbers/shortdata/__init__.py
ayushgoel/FixGoogleContacts
e49e58db6718bef8f95b6f767241605441c7fe41
[ "MIT" ]
null
null
null
"""Auto-generated file, do not edit by hand.""" # Copyright (C) 2010-2013 The Libphonenumber Authors # # 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/LICENS...
45.555556
277
0.682927
191
1,230
4.282723
0.732984
0.07335
0.031785
0.03912
0
0
0
0
0
0
0
0.012116
0.127642
1,230
26
278
47.307692
0.750233
0.497561
0
0
1
0
0.210351
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a2c25a887bd6892a4903beefe9be9bcf8ca5c287
520
py
Python
add_one.py
jima80525/ctypes-presentation
1c7a30917e441a9f4f61621e21a07329a9b024da
[ "MIT" ]
null
null
null
add_one.py
jima80525/ctypes-presentation
1c7a30917e441a9f4f61621e21a07329a9b024da
[ "MIT" ]
null
null
null
add_one.py
jima80525/ctypes-presentation
1c7a30917e441a9f4f61621e21a07329a9b024da
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import ctypes as ct if __name__ == '__main__': libc = ct.CDLL("./libmyCLib.so") x = 19 # uint8_t add_one(uint8_t value); print(f"sent:{x}, returned:{libc.add_one(x)}") input("Press Return for next result") print() x = 1999 print(f"sent:{x}, returned:{libc.add_on...
23.636364
50
0.611538
79
520
3.848101
0.455696
0.078947
0.131579
0.144737
0.526316
0.526316
0.526316
0.526316
0.526316
0.427632
0
0.070388
0.207692
520
21
51
24.761905
0.667476
0.101923
0
0.533333
0
0
0.466667
0.167742
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.466667
0
0
0
null
0
0
0
0
0
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
a2c8a0216644994cdd0d6f4e04c0d0835953e231
681
py
Python
core/headway/migrations/0002_auto_20191105_0752.py
stuartalexwhitehead/headway
d8f2020006b07a569ab41fa7c98677a04705c07b
[ "MIT" ]
null
null
null
core/headway/migrations/0002_auto_20191105_0752.py
stuartalexwhitehead/headway
d8f2020006b07a569ab41fa7c98677a04705c07b
[ "MIT" ]
6
2021-05-10T20:14:21.000Z
2022-01-22T09:53:36.000Z
core/headway/migrations/0002_auto_20191105_0752.py
stuartalexwhitehead/headway
d8f2020006b07a569ab41fa7c98677a04705c07b
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-11-05 07:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('headway', '0001_initial'), ] operations = [ migrations.AddField( ...
26.192308
121
0.631424
74
681
5.716216
0.621622
0.056738
0.066194
0.104019
0
0
0
0
0
0
0
0.037624
0.258443
681
25
122
27.24
0.8
0.066079
0
0.210526
1
0
0.094637
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
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
a2c8b115fa2abb34422338b9db6c7a61da544ccc
686
py
Python
setup.py
CogSystems/tftpy
0ec8265bc1304245e19a3e95f3b0bdf7044eb6bb
[ "MIT" ]
null
null
null
setup.py
CogSystems/tftpy
0ec8265bc1304245e19a3e95f3b0bdf7044eb6bb
[ "MIT" ]
null
null
null
setup.py
CogSystems/tftpy
0ec8265bc1304245e19a3e95f3b0bdf7044eb6bb
[ "MIT" ]
1
2019-05-16T07:05:07.000Z
2019-05-16T07:05:07.000Z
#!/usr/bin/env python from distutils.core import setup setup(name='tftpy', version='0.6.1', description='Python TFTP library', author='Michael P. Soulier', author_email='msoulier@digitaltorque.ca', url='http://tftpy.sourceforge.net', packages=['tftpy'], scripts=['bin/tftpy_cl...
29.826087
60
0.593294
71
686
5.690141
0.830986
0.039604
0
0
0
0
0
0
0
0
0
0.007813
0.253644
686
22
61
31.181818
0.78125
0.029155
0
0
0
0
0.532331
0.037594
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
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
a2cba92c5e4acecb9a3faee0c2d8d23663f2f602
256
py
Python
atividades/ex028.py
leonardoarthur/PythonAtividades
9bb2b6e1d7788d99276730de5f199cb0e9ab782f
[ "MIT" ]
1
2021-05-02T09:03:27.000Z
2021-05-02T09:03:27.000Z
atividades/ex028.py
leonardoarthur/PythonAtividades
9bb2b6e1d7788d99276730de5f199cb0e9ab782f
[ "MIT" ]
null
null
null
atividades/ex028.py
leonardoarthur/PythonAtividades
9bb2b6e1d7788d99276730de5f199cb0e9ab782f
[ "MIT" ]
null
null
null
import random pc = random.randint(0, 5) u = int(input('Adivinhe no número que eu estou pensando de 0 a 5:')) if pc == u: print('Parabéns desafiante, fui derrotado!') else: print('Você foi derrotado por mim HA HA HA, pensei no numero {}'.format(pc))
36.571429
80
0.6875
44
256
4
0.75
0.045455
0
0
0
0
0
0
0
0
0
0.019139
0.183594
256
7
80
36.571429
0.822967
0
0
0
0
0
0.548638
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a2dd12036b14dd27efd81de59f6a4c327a48f794
23,452
py
Python
src/info_server.py
moibenko/enstore
6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9
[ "Intel", "Unlicense" ]
4
2021-10-17T11:17:59.000Z
2022-02-28T16:58:40.000Z
src/info_server.py
moibenko/enstore
6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9
[ "Intel", "Unlicense" ]
17
2021-10-05T21:44:06.000Z
2022-03-31T16:58:40.000Z
src/info_server.py
moibenko/enstore
6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9
[ "Intel", "Unlicense" ]
8
2021-09-02T18:55:49.000Z
2022-03-09T21:05:28.000Z
#!/usr/bin/env python ############################################################################## # # $Id$ # ############################################################################## ''' Readonly access to file and volume database ''' # system import import Queue import select import socket import string imp...
39.749153
117
0.574194
2,684
23,452
4.747019
0.139717
0.020328
0.018837
0.025351
0.456479
0.409466
0.366455
0.348952
0.326662
0.297229
0
0.008271
0.324621
23,452
589
118
39.816638
0.796136
0.112997
0
0.394009
0
0
0.089919
0.002217
0
0
0
0
0
0
null
null
0
0.043779
null
null
0.004608
0
0
0
null
0
0
0
0
0
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
a2de36de1098027c775d1d3be99b42a7554aae77
752
py
Python
Beginner_Day_1_14/Day7/challenge1.py
fredtheninja/100-Days-of-Code
d66b156d307c14d3b9d93559030d58294cc736bb
[ "MIT" ]
null
null
null
Beginner_Day_1_14/Day7/challenge1.py
fredtheninja/100-Days-of-Code
d66b156d307c14d3b9d93559030d58294cc736bb
[ "MIT" ]
null
null
null
Beginner_Day_1_14/Day7/challenge1.py
fredtheninja/100-Days-of-Code
d66b156d307c14d3b9d93559030d58294cc736bb
[ "MIT" ]
null
null
null
#Step 1 word_list = ["aardvark", "baboon", "camel"] #TODO-1 - Randomly choose a word from the word_list and assign it to a variable called chosen_word. import random #chosen_word = word_list[random.randint(0,len(word_list)-1)] #facit chosen_word = random.choice(word_list) #TODO-2 - Ask the user to guess a letter...
25.931034
114
0.708777
123
752
4.243902
0.447154
0.114943
0.086207
0.065134
0
0
0
0
0
0
0
0.009885
0.192819
752
28
115
26.857143
0.850082
0.582447
0
0
0
0
0.278689
0
0
0
0
0.035714
0
1
0
false
0
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
1
0
0
0
0
0
0
0
0
0
0
1
a2e097216ac8bfc1f5c5831828a2017f95363199
521
py
Python
databass/exprutil.py
ivychen/databass-public
ddb706dfb14c828075842e49d086b7fe5aa29a83
[ "MIT" ]
6
2019-11-06T20:57:19.000Z
2022-01-06T22:09:14.000Z
databass/exprutil.py
ivychen/databass-public
ddb706dfb14c828075842e49d086b7fe5aa29a83
[ "MIT" ]
1
2020-09-13T02:04:02.000Z
2020-09-13T14:59:19.000Z
databass/exprutil.py
ivychen/databass-public
ddb706dfb14c828075842e49d086b7fe5aa29a83
[ "MIT" ]
22
2019-01-31T15:20:06.000Z
2022-03-22T19:52:18.000Z
from itertools import chain from .exprs import * def predicate_to_cnf(e): """ Split AND tree into a list of conditions """ if not e: return [] if e.is_type("Expr") and e.op.lower() == "and": return list(chain(*map(predicate_to_cnf, [e.l, e.r]))) if e.is_type("Paren"): return [e.c] return [e] ...
19.296296
58
0.6238
88
521
3.602273
0.454545
0.069401
0.088328
0.094637
0
0
0
0
0
0
0
0.004988
0.230326
521
26
59
20.038462
0.785536
0.15547
0
0
0
0
0.036145
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a2e21036169f2bfbdca9e1024cd2ee6c785e9e5d
491
py
Python
RAPID/urls.py
brewst001/RAPID
f7aa702be1136d5d51db1b9bb2f11729216c6445
[ "MIT" ]
10
2017-07-11T19:49:47.000Z
2020-10-09T20:27:47.000Z
RAPID/urls.py
brewst001/RAPID
f7aa702be1136d5d51db1b9bb2f11729216c6445
[ "MIT" ]
null
null
null
RAPID/urls.py
brewst001/RAPID
f7aa702be1136d5d51db1b9bb2f11729216c6445
[ "MIT" ]
3
2017-08-29T17:25:24.000Z
2020-03-19T07:35:23.000Z
from django.conf.urls import patterns, include, url from django.contrib import admin import core.urls import profiles.urls import pivoteer.urls import monitors.urls urlpatterns = patterns('', url(r'^$', core.views.HomePage.as_view(), name="home"), url(r'^navigation/', include(core.urls)), url(r'^profile/'...
30.6875
59
0.698574
67
491
5.104478
0.373134
0.070175
0.093567
0
0
0
0
0
0
0
0
0
0.1222
491
16
60
30.6875
0.793503
0
0
0
0
0
0.109756
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a2e6cf7ca20bee323503fcc77e9240e455fd6512
678
py
Python
combustion/final/beta.py
nicholasmalaya/paleologos
11959056caa80d3c910759b714a0f8e42f986f0f
[ "MIT" ]
1
2021-11-04T17:49:42.000Z
2021-11-04T17:49:42.000Z
combustion/final/beta.py
nicholasmalaya/paleologos
11959056caa80d3c910759b714a0f8e42f986f0f
[ "MIT" ]
null
null
null
combustion/final/beta.py
nicholasmalaya/paleologos
11959056caa80d3c910759b714a0f8e42f986f0f
[ "MIT" ]
2
2019-01-04T16:08:18.000Z
2019-12-16T19:34:24.000Z
import numpy as np import numpy as np import pylab as pl import scipy.special as ss def beta(a, b, mew): e1 = ss.gamma(a + b) e2 = ss.gamma(a) e3 = ss.gamma(b) e4 = mew ** (a - 1) e5 = (1 - mew) ** (b - 1) return (e1/(e2*e3)) * e4 * e5 def plot_beta(a, b): Ly = [] Lx = [] mews = ...
19.371429
46
0.511799
128
678
2.609375
0.359375
0.02994
0.053892
0.08982
0.107784
0
0
0
0
0
0
0.075789
0.29941
678
34
47
19.941176
0.627368
0
0
0.064516
0
0
0.026549
0
0
0
0
0
0
0
null
null
0
0.129032
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
a2fad6003d4af210559ed7ddc0c0659f893acbd2
2,093
py
Python
remo/events/migrations/0002_auto_20160407_1156.py
Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d
23ca8d46496b491fbdb2b8a72c91e75372932f23
[ "BSD-3-Clause" ]
27
2015-01-02T18:47:56.000Z
2021-08-14T11:48:24.000Z
remo/events/migrations/0002_auto_20160407_1156.py
Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d
23ca8d46496b491fbdb2b8a72c91e75372932f23
[ "BSD-3-Clause" ]
450
2015-01-02T12:29:50.000Z
2020-10-27T21:41:38.000Z
remo/events/migrations/0002_auto_20160407_1156.py
Mozilla-GitHub-Standards/6f6b18ac63685c6bf60fff95a3bbcc598378c77ceb14c7404172c570dd1e971d
23ca8d46496b491fbdb2b8a72c91e75372932f23
[ "BSD-3-Clause" ]
81
2015-01-10T23:59:32.000Z
2021-08-19T17:08:56.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('reports', '0001_initial'), ('events', '0001_initial'), migr...
34.311475
161
0.601051
199
2,093
6.135678
0.296482
0.117936
0.150696
0.176904
0.468468
0.404586
0.10647
0.07371
0
0
0
0.011148
0.271381
2,093
60
162
34.883333
0.789508
0.010033
0
0.444444
0
0
0.179227
0.023188
0
0
0
0
0
1
0
false
0
0.074074
0
0.12963
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
0c020d7397d9370dbb6ede96a638ac1e13776634
3,822
py
Python
python/GafferSceneUI/BoundQueryUI.py
ddesmond/gaffer
4f25df88103b7893df75865ea919fb035f92bac0
[ "BSD-3-Clause" ]
561
2016-10-18T04:30:48.000Z
2022-03-30T06:52:04.000Z
python/GafferSceneUI/BoundQueryUI.py
ddesmond/gaffer
4f25df88103b7893df75865ea919fb035f92bac0
[ "BSD-3-Clause" ]
1,828
2016-10-14T19:01:46.000Z
2022-03-30T16:07:19.000Z
python/GafferSceneUI/BoundQueryUI.py
ddesmond/gaffer
4f25df88103b7893df75865ea919fb035f92bac0
[ "BSD-3-Clause" ]
120
2016-10-18T15:19:13.000Z
2021-12-20T16:28:23.000Z
########################################################################## # # Copyright (c) 2021, Cinesite VFX Ltd. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions ...
26.915493
117
0.665882
435
3,822
5.850575
0.418391
0.041257
0.040864
0.033006
0.304126
0.275049
0.275049
0.245187
0.245187
0.203536
0
0.001315
0.204082
3,822
141
118
27.106383
0.835306
0.412611
0
0.480769
0
0
0.46319
0.152607
0
0
0
0
0
1
0
true
0
0.038462
0
0.038462
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
0c0246663f8ef3b4cc23b3d3d0e6bae199d01c4e
1,069
py
Python
base/models.py
onerbs/treux
3ec3a80a49de2860efcc0b1806e9063975c35023
[ "MIT" ]
null
null
null
base/models.py
onerbs/treux
3ec3a80a49de2860efcc0b1806e9063975c35023
[ "MIT" ]
null
null
null
base/models.py
onerbs/treux
3ec3a80a49de2860efcc0b1806e9063975c35023
[ "MIT" ]
null
null
null
from uuid import uuid4 from django.db import models from core.responses import WithResponses class BaseModel(models.Model, WithResponses): uuid = models.UUIDField(default=uuid4(), unique=True) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) deleted_at = mode...
24.860465
60
0.731525
141
1,069
5.439716
0.460993
0.031291
0.082138
0.065189
0.073012
0
0
0
0
0
0
0.006515
0.138447
1,069
42
61
25.452381
0.826276
0.114125
0
0.222222
0
0
0.04189
0
0
0
0
0
0
1
0.148148
false
0
0.111111
0.037037
0.814815
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
0c044b7b8c76f9e0b21da2d974e98d7564d4ee57
2,928
py
Python
esp32/frozen/Custom/wdttask.py
rodgergr/pycom-micropython-sigfox
50a31befc40a39b1e4c3513f20da968792227b0e
[ "MIT" ]
null
null
null
esp32/frozen/Custom/wdttask.py
rodgergr/pycom-micropython-sigfox
50a31befc40a39b1e4c3513f20da968792227b0e
[ "MIT" ]
null
null
null
esp32/frozen/Custom/wdttask.py
rodgergr/pycom-micropython-sigfox
50a31befc40a39b1e4c3513f20da968792227b0e
[ "MIT" ]
1
2019-09-22T01:28:52.000Z
2019-09-22T01:28:52.000Z
#!/usr/bin/env python """wdttask.py: PowerPilot python WDT """ __version__="0.6.0" __author__="Rodger Griffiths" __copyright__="ElectroNet Ltd 2018" import uos from machine import WDT import _thread import time from logging import Logger import logging from globs import * import gc import machine def wdtTask(): ...
31.826087
113
0.552254
327
2,928
4.697248
0.244648
0.091146
0.067708
0.077474
0.483724
0.141276
0
0
0
0
0
0.014591
0.344604
2,928
91
114
32.175824
0.785826
0.020833
0
0.226667
0
0
0.102448
0
0
0
0
0
0
1
0.013333
false
0.12
0.12
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0c08294c7e2620c648ac5d95949513c3a7d28e8a
551
py
Python
src/blog/migrations/0012_auto_20161024_2159.py
codingforentrepreneurs/Django-Models-Unleashed
df4dc7cbf52e21bacc34cb8975793b0c43e2d40f
[ "MIT" ]
24
2016-10-25T17:21:01.000Z
2022-02-03T05:13:09.000Z
src/blog/migrations/0012_auto_20161024_2159.py
ugtern/Django-Models-Unleashed
df4dc7cbf52e21bacc34cb8975793b0c43e2d40f
[ "MIT" ]
null
null
null
src/blog/migrations/0012_auto_20161024_2159.py
ugtern/Django-Models-Unleashed
df4dc7cbf52e21bacc34cb8975793b0c43e2d40f
[ "MIT" ]
32
2016-10-28T15:43:39.000Z
2021-08-24T12:02:31.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-24 21:59 from __future__ import unicode_literals import blog.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0011_auto_20161024_2158'), ] operations = [ ...
25.045455
121
0.656987
63
551
5.555556
0.761905
0.08
0
0
0
0
0
0
0
0
0
0.084507
0.22686
551
21
122
26.238095
0.737089
0.123412
0
0
1
0
0.1
0.047917
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0c09efefb26c7bc17612283f596fff49b9cef921
1,368
py
Python
setup.py
eric-czech/data_pipeline
561d8bfcf86a6e2ff31cd51413dfcb5b5d0aaeeb
[ "Apache-2.0" ]
17
2018-10-23T17:10:36.000Z
2021-03-11T19:39:19.000Z
setup.py
eric-czech/data_pipeline
561d8bfcf86a6e2ff31cd51413dfcb5b5d0aaeeb
[ "Apache-2.0" ]
239
2018-09-25T09:53:41.000Z
2021-04-20T16:45:19.000Z
setup.py
eric-czech/data_pipeline
561d8bfcf86a6e2ff31cd51413dfcb5b5d0aaeeb
[ "Apache-2.0" ]
12
2018-09-28T12:40:46.000Z
2021-06-07T17:06:44.000Z
#!/usr/bin/env python # encoding: utf-8 from setuptools import setup import mrtarget as p setup(name=p.__pkgname__, version=p.__version__, description=p.__description__, author=p.__author__, author_email=p.__author__, maintainer='mkarmona', maintainer_email='carmona@ebi.ac.uk', url=p.__...
25.811321
125
0.701023
160
1,368
5.7625
0.69375
0.006508
0
0
0
0
0
0
0
0
0
0.038396
0.143275
1,368
52
126
26.307692
0.748294
0.244883
0
0
0
0
0.388293
0.150244
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
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
0c0fc41e54083bb035829816ec6ce6cd988e5456
437
py
Python
Service_Components/settings.py
mydata-sdk/mydata-sdk-1.x
74064d7a42fc0435511eae6e77e49ddc7d9723f3
[ "MIT" ]
null
null
null
Service_Components/settings.py
mydata-sdk/mydata-sdk-1.x
74064d7a42fc0435511eae6e77e49ddc7d9723f3
[ "MIT" ]
2
2018-04-20T23:07:01.000Z
2018-04-21T01:01:20.000Z
Service_Components/settings.py
fititnt/mydata-sdk--hiit
19d7a2ddbc3b5a05665539fbcc7f461c13793e03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- timeout = 8 keysize = 512 operator_root_path="/api/1.2" operator_cr_path="/cr" operator_slr_path="/slr" account_management_url="http://myaccount.dy.fi/" account_management_username="test_sdk" account_management_password="test_sdk_pw" operator_url="http://localhost:5000" service_url ="http://...
23
48
0.762014
65
437
4.738462
0.507692
0.165584
0.103896
0.11039
0.136364
0
0
0
0
0
0
0.037129
0.075515
437
19
49
23
0.725248
0.048055
0
0
0
0
0.342169
0
0
0
0
0
0
1
0
false
0.153846
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
0c1112b7968369ada0b4e53eb7a2840dae1b8416
491
py
Python
02 - Curso Em Video/Aula 19/E - 091.py
GabrielTrentino/Python_Basico
f13f6448c275c14896337d2018b04cbf5a54efd3
[ "MIT" ]
null
null
null
02 - Curso Em Video/Aula 19/E - 091.py
GabrielTrentino/Python_Basico
f13f6448c275c14896337d2018b04cbf5a54efd3
[ "MIT" ]
null
null
null
02 - Curso Em Video/Aula 19/E - 091.py
GabrielTrentino/Python_Basico
f13f6448c275c14896337d2018b04cbf5a54efd3
[ "MIT" ]
null
null
null
from random import randint from time import sleep from operator import itemgetter jogada = {'jogador 1': randint(1,6), 'jogador 2': randint(1,6), 'jogador 3': randint(1,6), 'jogador 4': randint(1,6)} print('Valores Sorteados: ') for i,a in jogada.items(): print('O {} jogou {...
25.842105
49
0.596741
72
491
4.069444
0.458333
0.109215
0.122867
0.163823
0
0
0
0
0
0
0
0.047368
0.226069
491
18
50
27.277778
0.723684
0
0
0
0
0
0.17759
0
0
0
0
0
0
1
0
false
0
0.176471
0
0.176471
0.294118
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
0c22ce28c350d7cd39adc69b5c490eba502d759d
4,458
py
Python
tests/test_gamessparser.py
nomad-coe/electronic-parsers
defb47be6ac22b2e48d4fb9204c85390a3c2f328
[ "Apache-2.0" ]
null
null
null
tests/test_gamessparser.py
nomad-coe/electronic-parsers
defb47be6ac22b2e48d4fb9204c85390a3c2f328
[ "Apache-2.0" ]
null
null
null
tests/test_gamessparser.py
nomad-coe/electronic-parsers
defb47be6ac22b2e48d4fb9204c85390a3c2f328
[ "Apache-2.0" ]
null
null
null
# # Copyright The NOMAD Authors. # # This file is part of NOMAD. See https://nomad-lab.eu for further info. # # 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/licen...
39.803571
96
0.715343
685
4,458
4.525547
0.293431
0.09871
0.05871
0.045161
0.313871
0.24871
0.207419
0.094516
0.026452
0
0
0.082353
0.141992
4,458
111
97
40.162162
0.728105
0.170929
0
0.074627
0
0
0.063656
0.035909
0
0
0
0
0.567164
1
0.074627
false
0
0.044776
0.029851
0.149254
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0c2411d5f9dbf54f7ce5eefe23bcb3f48a9105ab
9,608
py
Python
slimgbm/gbm.py
zgw21cn/slimgbm
576430b7122be1624842b92e89cccda64626eda1
[ "MIT" ]
1
2017-11-17T13:54:55.000Z
2017-11-17T13:54:55.000Z
slimgbm/gbm.py
zgw21cn/slimgbm
576430b7122be1624842b92e89cccda64626eda1
[ "MIT" ]
null
null
null
slimgbm/gbm.py
zgw21cn/slimgbm
576430b7122be1624842b92e89cccda64626eda1
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from collections import defaultdict import pandas as pd import numpy as np from loss import SquareLoss, LogisticLoss, CustomizeLoss from slimgbm.slimgbm.utils import get_tree_depth,draw_tree from tree import Tree from metric import get_metric class TGBoost(object): """ Tiny Gradient Bo...
41.413793
138
0.588988
1,192
9,608
4.517617
0.16443
0.03714
0.028969
0.028227
0.328134
0.291922
0.270381
0.23454
0.194986
0.194986
0
0.007123
0.327852
9,608
231
139
41.593074
0.826727
0.054746
0
0.245161
0
0.006452
0.094551
0.009455
0
0
0
0.004329
0.006452
0
null
null
0
0.064516
null
null
0.032258
0
0
0
null
0
0
0
0
0
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
0c262ce09bdee28ef6b9c8e186a7ea605d5ed052
393
py
Python
setup.py
a-random-lemurian/GitSpammer
721cf4117508c350e6e276c6ff9c7d56d41646b0
[ "MIT" ]
null
null
null
setup.py
a-random-lemurian/GitSpammer
721cf4117508c350e6e276c6ff9c7d56d41646b0
[ "MIT" ]
null
null
null
setup.py
a-random-lemurian/GitSpammer
721cf4117508c350e6e276c6ff9c7d56d41646b0
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='GitSpammer', version='0.1.0', packages=find_packages(), install_requires=[ 'Click' ], entry_points={ 'console_scripts': [ 'gitspam = gitspammer.entry:cli' ], }, description="Experiment with Git's...
26.2
109
0.625954
43
393
5.604651
0.813953
0.099585
0
0
0
0
0
0
0
0
0
0.010309
0.259542
393
15
110
26.2
0.817869
0
0
0.133333
0
0
0.395939
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
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
0c31c7ca76d4f2236f2f95bd0f64393ab4059f00
2,060
py
Python
2017/day11/day11.py
mdelmage/advent2019
eae18fd8010c9816b22578d6eb8988139aef131d
[ "MIT" ]
2
2020-12-02T20:44:33.000Z
2020-12-09T23:35:35.000Z
2017/day11/day11.py
mdelmage/advent2019
eae18fd8010c9816b22578d6eb8988139aef131d
[ "MIT" ]
null
null
null
2017/day11/day11.py
mdelmage/advent2019
eae18fd8010c9816b22578d6eb8988139aef131d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # The hexagons ("hexes") in this grid are aligned such that adjacent hexes # can be found to the north, northeast, southeast, south, southwest, and northwest: # # \ n / # nw +--+ ne # / \ # -+ +- # \ / # sw +--+ se # / s \ # Opposite directions cancel...
28.611111
83
0.498544
266
2,060
3.808271
0.409774
0.027641
0.041461
0.023692
0.140178
0.112537
0.112537
0.112537
0.112537
0.112537
0
0.020664
0.342233
2,060
72
84
28.611111
0.726937
0.280583
0
0.146341
0
0
0.105191
0
0
0
0
0
0
0
null
null
0
0
null
null
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0c3467ea3096613b6cf195578daff0c32614af71
2,086
py
Python
db/serializer.py
Triagle/speller
47de39a9ecf7fb4c4af6281ed3fb029ada272d83
[ "MIT" ]
null
null
null
db/serializer.py
Triagle/speller
47de39a9ecf7fb4c4af6281ed3fb029ada272d83
[ "MIT" ]
null
null
null
db/serializer.py
Triagle/speller
47de39a9ecf7fb4c4af6281ed3fb029ada272d83
[ "MIT" ]
null
null
null
''' Serialize objects into SQLITE database calls. ''' class Serializable: ''' Serializable class that implements methods for objects wishing to serialize to SQLITE tables. This is done with a serialize table that maps property names to SQLITE table columns. When insert_into is called it takes the prop...
43.458333
92
0.626079
236
2,086
5.368644
0.322034
0.088398
0.071034
0.047356
0.145225
0.145225
0.145225
0.09629
0.09629
0.09629
0
0
0.258869
2,086
47
93
44.382979
0.819534
0.560882
0
0
0
0
0.089385
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0c37cece0282eb58c96b4d8b1b3e9f07e606cf67
9,373
py
Python
bib2web/main.py
Juvawa/bib2web
8d6c2244e46eefee1a519f8b3b656a143aa8bd9e
[ "MIT" ]
null
null
null
bib2web/main.py
Juvawa/bib2web
8d6c2244e46eefee1a519f8b3b656a143aa8bd9e
[ "MIT" ]
null
null
null
bib2web/main.py
Juvawa/bib2web
8d6c2244e46eefee1a519f8b3b656a143aa8bd9e
[ "MIT" ]
null
null
null
# coding=utf-8 from bibtexparser import load, loads, dump, dumps from bibtexparser.bwriter import BibTexWriter from bibtexparser.bibdatabase import BibDatabase from pybtex.database import Person from merge import merge, add_field, intersect import ConfigParser import logging import logging.config import glob import os...
32.432526
101
0.675451
1,343
9,373
4.59866
0.214445
0.018944
0.020725
0.01101
0.213731
0.149288
0.099903
0.085006
0.079825
0.061529
0
0.007048
0.197696
9,373
288
102
32.545139
0.814229
0.164408
0
0.159817
0
0.004566
0.151399
0.011547
0
0
0
0
0
0
null
null
0
0.09589
null
null
0.059361
0
0
0
null
0
0
0
0
0
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
0c399f36fb195b401f4665e5c4fff449f2623ae7
1,168
py
Python
application/frontend/migrations/0001_initial.py
opencbsoft/kids-worksheet-generator
ab4a7be4e84a22171ac005bb999e3d06ff49c276
[ "MIT" ]
null
null
null
application/frontend/migrations/0001_initial.py
opencbsoft/kids-worksheet-generator
ab4a7be4e84a22171ac005bb999e3d06ff49c276
[ "MIT" ]
null
null
null
application/frontend/migrations/0001_initial.py
opencbsoft/kids-worksheet-generator
ab4a7be4e84a22171ac005bb999e3d06ff49c276
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-23 12:13 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Subscriber', f...
33.371429
121
0.595034
115
1,168
5.93913
0.513043
0.035139
0.040996
0.064422
0.231332
0.231332
0.231332
0.231332
0.231332
0.231332
0
0.022432
0.274829
1,168
34
122
34.352941
0.783943
0.038527
0
0.37037
1
0
0.094558
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.259259
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
0c3e9fb2824051dab294b603b2feac5b6f2b9119
2,460
py
Python
accountifie/common/auth_urls.py
imcallister/accountifie
094834c9d632e0353e3baf8d924eeb10cba0add4
[ "MIT", "Unlicense" ]
4
2017-06-02T08:48:48.000Z
2021-11-21T23:57:15.000Z
accountifie/common/auth_urls.py
imcallister/accountifie
094834c9d632e0353e3baf8d924eeb10cba0add4
[ "MIT", "Unlicense" ]
3
2020-06-05T16:55:42.000Z
2021-06-10T17:43:12.000Z
accountifie/common/auth_urls.py
imcallister/accountifie
094834c9d632e0353e3baf8d924eeb10cba0add4
[ "MIT", "Unlicense" ]
4
2015-12-15T14:27:51.000Z
2017-04-21T21:42:27.000Z
""" Adapted with permission from ReportLab's DocEngine framework """ from django.conf import settings from django.conf.urls import include, url from django.views.generic.base import TemplateView import django.contrib.auth from accountifie.common.forms import CommonAuthenticationForm, CommonPasswordChangeForm, \ ...
42.413793
103
0.657724
249
2,460
6.220884
0.273092
0.159458
0.076824
0.108457
0.205294
0
0
0
0
0
0
0.002073
0.215447
2,460
57
104
43.157895
0.800518
0.029675
0
0.12766
0
0
0.377366
0.206142
0
0
0
0
0
1
0
false
0.531915
0.12766
0
0.12766
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
0c3fa4e36758f135005497fcf8192c6e35d7aacb
5,482
py
Python
tests/test_pipe.py
mitchute/Open-GHX
7a88872c36200c620cfd07994119cfb243a998c9
[ "MIT" ]
4
2017-10-09T21:08:44.000Z
2020-11-18T11:09:56.000Z
tests/test_pipe.py
mitchute/Open-GHX
7a88872c36200c620cfd07994119cfb243a998c9
[ "MIT" ]
1
2017-08-18T01:44:13.000Z
2017-08-18T02:23:21.000Z
tests/test_pipe.py
mitchute/Open-GHX
7a88872c36200c620cfd07994119cfb243a998c9
[ "MIT" ]
3
2016-09-08T14:57:21.000Z
2021-06-29T08:42:08.000Z
import numpy as np import unittest from ghx.pipe import PipeClass class TestPipeClass(unittest.TestCase): def test_init(self): """ Test initialization """ dict_pipe = { 'Outside Diameter': 0.0267, 'Wall Thickness': 0.00243, 'Cond...
29.315508
96
0.526997
561
5,482
4.964349
0.16934
0.067864
0.068223
0.078995
0.76553
0.712747
0.678995
0.678995
0.630521
0.551167
0
0.100607
0.369026
5,482
186
97
29.473118
0.704539
0.05436
0
0.609756
0
0
0.1179
0
0
0
0
0
0.146341
1
0.04065
false
0
0.02439
0
0.073171
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
0c48a119c4214e9785bd44a411a5313bc05af76b
249
py
Python
main.py
mborders/rpi-temp-humidity
dd68dc21687ddffb46388a342e1d9a23e7a32ec6
[ "MIT" ]
null
null
null
main.py
mborders/rpi-temp-humidity
dd68dc21687ddffb46388a342e1d9a23e7a32ec6
[ "MIT" ]
null
null
null
main.py
mborders/rpi-temp-humidity
dd68dc21687ddffb46388a342e1d9a23e7a32ec6
[ "MIT" ]
null
null
null
from time import sleep from sensor import Sensor import config sensor = Sensor(config.SENSOR_PIN) while True: t = sensor.readTemperature() h = sensor.readHumidity() print("Temp: {:.1f} F Humidity: {}%".format(t, h)) sleep(2.0)
19.153846
57
0.666667
34
249
4.852941
0.617647
0.145455
0
0
0
0
0
0
0
0
0
0.015075
0.200803
249
12
58
20.75
0.81407
0
0
0
0
0
0.124498
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0c4dbc8fd7f9c39e68311c9e22ef02b95c398a49
4,193
py
Python
setup.py
afi-dev/Termsteel
32edcb159129b00b7972c3d0880261e48c72cdac
[ "MIT" ]
null
null
null
setup.py
afi-dev/Termsteel
32edcb159129b00b7972c3d0880261e48c72cdac
[ "MIT" ]
null
null
null
setup.py
afi-dev/Termsteel
32edcb159129b00b7972c3d0880261e48c72cdac
[ "MIT" ]
null
null
null
# /*! # * Termsteel V.0.0.1 # * (c) 2022 Afi # * Released under the CC BY-NC-SA 3.0 Attribution-NonCommercial-ShareAlike 3.0 License. # */ # /*! # * Termsteel V.0.0.1 # * (c) 2022 Afi # * Released under the CC BY-NC-SA 3.0 Attribution-NonCommercial-ShareAlike 3.0 License. # */ print(""" ...
39.556604
205
0.525876
411
4,193
5.291971
0.481752
0.025747
0.08046
0.083678
0.192184
0.192184
0.138851
0.138851
0.138851
0.138851
0
0.020917
0.22466
4,193
105
206
39.933333
0.648108
0.075125
0
0.070588
0
0.035294
0.665335
0.142173
0
0
0
0
0
1
0
false
0
0.070588
0
0.070588
0.023529
0
0
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
0c517752b79d8aaca50f8c3b0effed35a9858c8b
3,888
py
Python
Mountain_Car_3D_Simulation.py
SB-BISS/RLACOSarsaLambda
95786b39b9ee8c5e004e71ccfa790304cbb3f684
[ "MIT" ]
7
2019-04-13T11:09:11.000Z
2021-11-25T10:43:26.000Z
Mountain_Car_3D_Simulation.py
SB-BISS/RLACOSarsaLambda
95786b39b9ee8c5e004e71ccfa790304cbb3f684
[ "MIT" ]
null
null
null
Mountain_Car_3D_Simulation.py
SB-BISS/RLACOSarsaLambda
95786b39b9ee8c5e004e71ccfa790304cbb3f684
[ "MIT" ]
null
null
null
import gym from gym import envs from agents import TabularSarsaAgent from agents import ApproximatedSarsaLambdaAgent from agents import APHARSSarsaLambdaAgent from agents import StaticHeuristicApproximatedSarsaLambdaAgent from agents import HAApproximatedSarsaLambdaAgent from static_heuristics.M3DHeuristic impor...
37.028571
178
0.598765
419
3,888
5.360382
0.357995
0.026714
0.035619
0.024933
0.134016
0.10374
0.10374
0.10374
0.084595
0.084595
0
0.030404
0.306327
3,888
105
179
37.028571
0.802373
0.265432
0
0
0
0
0.095238
0.01978
0
0
0
0
0
0
null
null
0
0.234375
null
null
0.046875
0
0
0
null
0
0
0
0
0
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
0c52f372c22a0daab438574e3fa944bf0bdbd570
2,723
py
Python
.leetcode/145.binary-tree-postorder-traversal.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/145.binary-tree-postorder-traversal.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/145.binary-tree-postorder-traversal.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
# @lc app=leetcode id=145 lang=python3 # # [145] Binary Tree Postorder Traversal # # https://leetcode.com/problems/binary-tree-postorder-traversal/description/ # # algorithms # Easy (58.69%) # Likes: 2675 # Dislikes: 117 # Total Accepted: 497.1K # Total Submissions: 846.1K # Testcase Example: '[1,null,2,3]' # # ...
17.914474
79
0.583548
340
2,723
4.638235
0.297059
0.025365
0.019023
0.060241
0.302473
0.256817
0.256817
0.188332
0.188332
0.149651
0
0.042796
0.22769
2,723
152
80
17.914474
0.707085
0.410577
0
0.48
0
0
0.185404
0
0
0
0
0
0
1
0.02
false
0.04
0.02
0
0.1
0.8
0
0
0
null
0
0
0
0
0
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
0c588c86a1102c6d801bef84d6bef9ba7babb367
429
py
Python
mvm_gui/gui/settings/settingsbar.py
nlourie/vent-flowmeter
7aa6e3814a7bf8a7da4d81eb80da69ceb5e8da80
[ "MIT" ]
2
2020-04-13T19:22:45.000Z
2020-04-14T17:17:12.000Z
mvm_gui/gui/settings/settingsbar.py
nlourie/vent-flowmeter
7aa6e3814a7bf8a7da4d81eb80da69ceb5e8da80
[ "MIT" ]
null
null
null
mvm_gui/gui/settings/settingsbar.py
nlourie/vent-flowmeter
7aa6e3814a7bf8a7da4d81eb80da69ceb5e8da80
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Settings bar helper """ from PyQt5 import QtWidgets, uic class SettingsBar(QtWidgets.QWidget): """ Settings bar class """ def __init__(self, *args): """ Initialize the SettingsBar container widget. Provides a passthrough to underlying widgets. ...
19.5
53
0.631702
45
429
5.844444
0.711111
0.08365
0
0
0
0
0
0
0
0
0
0.006231
0.251748
429
21
54
20.428571
0.813084
0.354312
0
0
0
0
0.103139
0.103139
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
0c59c7140fc6f02872bb26b2d99aef66e28cc523
1,340
py
Python
go_server_app/game_engine/client_thread.py
benjaminaaron/simple-go-server
0ebe6756f72f896fd014d060252c27c2907e7ae8
[ "MIT" ]
1
2017-11-29T22:39:05.000Z
2017-11-29T22:39:05.000Z
go_server_app/game_engine/client_thread.py
benjaminaaron/simple-go-server
0ebe6756f72f896fd014d060252c27c2907e7ae8
[ "MIT" ]
1
2017-11-09T18:41:41.000Z
2017-11-09T19:14:08.000Z
go_server_app/game_engine/client_thread.py
benjaminaaron/simple-go-server
0ebe6756f72f896fd014d060252c27c2907e7ae8
[ "MIT" ]
null
null
null
from subprocess import Popen, PIPE from threading import Thread from queue import Queue, Empty # from eyalarubas.com/python-subproc-nonblock.html # TODO wire this up to gnugo class NonBlockingStreamReader: def __init__(self, stream): self._s = stream self._q = Queue() def _populateQueue(...
25.769231
84
0.627612
166
1,340
4.981928
0.518072
0.018138
0
0
0
0
0
0
0
0
0
0.004141
0.279104
1,340
51
85
26.27451
0.851967
0.173881
0
0.060606
0
0
0.033667
0
0
0
0
0.019608
0
1
0.090909
false
0.030303
0.090909
0
0.30303
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
1
0
0
0
0
0
0
0
0
0
0
1
0c5dd31d96ceff1646d31d7bcfc08c3643958067
733
py
Python
arduino_chat.py
lyriarte/polar-scanner
53f5c4066f47dc3676d3f088ba82254660c37113
[ "BSD-2-Clause" ]
5
2017-09-03T21:00:09.000Z
2020-07-22T15:39:02.000Z
arduino_chat.py
ThingAgora/polar-scanner
2d3d61724f211e5a2e9a5d91d86f7cc437531261
[ "BSD-2-Clause" ]
null
null
null
arduino_chat.py
ThingAgora/polar-scanner
2d3d61724f211e5a2e9a5d91d86f7cc437531261
[ "BSD-2-Clause" ]
2
2018-04-10T21:54:34.000Z
2018-06-11T03:04:32.000Z
#!/usr/bin/python import serial, sys if len(sys.argv) < 2: print "Usage:", sys.argv[0], "<device> <speed> [word]*" exit() device = sys.argv[1] speed = 9600 chatscript = [] if len(sys.argv) >= 3 : speed = int(sys.argv[2]) if len(sys.argv) > 3 : chatscript = sys.argv[3:] chatscript.append("") tty = serial.Serial...
17.452381
86
0.593452
111
733
3.918919
0.342342
0.112644
0.073563
0.082759
0.225287
0.165517
0.165517
0.165517
0.165517
0.165517
0
0.030508
0.195089
733
41
87
17.878049
0.70678
0.021828
0
0.258065
0
0
0.050562
0
0
0
0
0
0
0
null
null
0.032258
0.032258
null
null
0.16129
0
0
0
null
0
0
0
0
0
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
0c5ef13fd2c5def3262ba99346d86f1fd87a43c1
754
py
Python
majestic-monolith-django/distribution/models.py
kokospapa8/majestic-monolith-django
a0879989a651ecef6761ee7fce619ab17738bb35
[ "Apache-2.0" ]
1
2022-03-12T09:55:36.000Z
2022-03-12T09:55:36.000Z
majestic-monolith-django/distribution/models.py
kokospapa8/majestic-monolith-django
a0879989a651ecef6761ee7fce619ab17738bb35
[ "Apache-2.0" ]
6
2022-03-09T10:42:44.000Z
2022-03-31T08:27:25.000Z
majestic-monolith-django/distribution/models.py
kokospapa8/majestic-monolith-django
a0879989a651ecef6761ee7fce619ab17738bb35
[ "Apache-2.0" ]
null
null
null
import uuid import logging from django.db import models logger = logging.getLogger("django.eventlogger") class DistributionCenter(models.Model): uuid = models.UUIDField(default=uuid.uuid4, editable=False, db_index=True) center_code = models.CharField(max_length=16, db_index=True, unique=True) name = mod...
32.782609
78
0.692308
91
754
5.549451
0.571429
0.041584
0.065347
0.09505
0
0
0
0
0
0
0
0.008237
0.19496
754
22
79
34.272727
0.823723
0.045093
0
0
0
0
0.190808
0.114206
0
0
0
0
0
1
0.066667
false
0
0.2
0.066667
0.733333
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
0c61d51178f02be883526a4e9368430a839c4e71
1,328
py
Python
sdks/blue-krill/blue_krill/monitoring/prometheus/setups.py
alex-smile/bkpaas-python-sdk
cabae275358e015af3c15b105f339ec4d52dcafd
[ "MIT" ]
17
2021-08-03T03:15:35.000Z
2022-03-18T06:10:04.000Z
sdks/blue-krill/blue_krill/monitoring/prometheus/setups.py
alex-smile/bkpaas-python-sdk
cabae275358e015af3c15b105f339ec4d52dcafd
[ "MIT" ]
7
2021-08-03T07:10:12.000Z
2022-03-23T04:47:22.000Z
sdks/blue-krill/blue_krill/monitoring/prometheus/setups.py
alex-smile/bkpaas-python-sdk
cabae275358e015af3c15b105f339ec4d52dcafd
[ "MIT" ]
9
2021-08-03T03:20:36.000Z
2022-03-08T13:47:50.000Z
# -*- coding: utf-8 -*- """ * TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-蓝鲸 PaaS 平台(BlueKing-PaaS) available. * Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in co...
44.266667
118
0.745482
195
1,328
4.974359
0.646154
0.061856
0.049485
0.03299
0
0
0
0
0
0
0
0.010166
0.185241
1,328
29
119
45.793103
0.886322
0.673946
0
0
0
0
0.2125
0.06
0
0
0
0
0
1
0.090909
false
0.090909
0.090909
0
0.181818
0.090909
0
0
0
null
0
0
0
0
0
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
0c62162fc57fdc096c1fddf7bdd246e712c3b614
2,603
py
Python
tests/gui/utils/oneprovider/data_tab/file_uploader.py
aoxiangflysky/onedata
5fe5783f4fb23e90e6567d638a165a0bfcc2f663
[ "Apache-2.0" ]
2
2017-09-15T10:38:56.000Z
2017-09-20T12:48:55.000Z
tests/gui/utils/oneprovider/data_tab/file_uploader.py
aoxiangflysky/onedata
5fe5783f4fb23e90e6567d638a165a0bfcc2f663
[ "Apache-2.0" ]
31
2016-09-07T11:50:15.000Z
2017-10-31T11:47:50.000Z
tests/gui/utils/oneprovider/data_tab/file_uploader.py
aoxiangflysky/onedata
5fe5783f4fb23e90e6567d638a165a0bfcc2f663
[ "Apache-2.0" ]
1
2017-08-31T11:55:09.000Z
2017-08-31T11:55:09.000Z
"""Utils and fixtures to facilitate operations on file uploader in oneprovider web GUI. """ import re from tests.gui.utils.core.common import PageObject from tests.gui.utils.core.web_elements import ItemListWebElement, TextLabelWebElement, WebElement from tests.gui.utils.generic import nth from tests.gui.utils.onepro...
34.706667
97
0.637342
283
2,603
5.678445
0.40636
0.031114
0.029869
0.042315
0.026136
0
0
0
0
0
0
0.003631
0.259316
2,603
74
98
35.175676
0.829876
0.03227
0
0.092593
0
0
0.16043
0.021497
0
0
0
0
0
1
0.148148
false
0
0.092593
0.092593
0.574074
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
0c63949faf0a4a92883f50fc16bd281bee40195d
11,363
py
Python
h3/defs/proj.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
h3/defs/proj.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
h3/defs/proj.py
holy-crust/reclaimer
0aa693da3866ce7999c68d5f71f31a9c932cdb2c
[ "MIT" ]
null
null
null
############# Credits and version info ############# # Definition generated from Assembly XML tag def # Date generated: 2018/12/03 04:56 # # revision: 1 author: Assembly # Generated plugin from scratch. # revision: 2 author: Lord Zedd # Portin' # revision: 3 author: Moses_of_Egypt # Cleaned up and conv...
31.829132
86
0.665141
1,254
11,363
5.562998
0.282297
0.055046
0.020069
0.010321
0.115682
0.051892
0.026663
0.018922
0.018922
0.018922
0
0.026923
0.202411
11,363
357
87
31.829132
0.7428
0.025609
0
0.087948
1
0
0.357076
0.13822
0
0
0
0
0
1
0.003257
false
0
0.013029
0.003257
0.019544
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
0c65bb9fea1af6d8c9abcd0840c9e945c923422d
3,235
py
Python
helper.py
edmondchuc/voc-view
57bd965facacc77f40f218685c88e8b858d4925c
[ "MIT" ]
3
2021-07-31T16:23:26.000Z
2022-01-24T01:28:17.000Z
helper.py
edmondchuc/voc-view
57bd965facacc77f40f218685c88e8b858d4925c
[ "MIT" ]
null
null
null
helper.py
edmondchuc/voc-view
57bd965facacc77f40f218685c88e8b858d4925c
[ "MIT" ]
1
2019-08-07T06:02:52.000Z
2019-08-07T06:02:52.000Z
from markdown import markdown from flask import url_for from rdflib.namespace import DCTERMS from rdflib import BNode, URIRef from bs4 import BeautifulSoup from config import Config # from triplestore import Triplestore import re from urllib.parse import quote_plus from datetime import datetime, timedelta def rende...
32.029703
221
0.592581
445
3,235
4.206742
0.316854
0.012821
0.017094
0.016026
0.03312
0.03312
0.018162
0.018162
0.018162
0.018162
0
0.015091
0.221638
3,235
100
222
32.35
0.728356
0.243277
0
0.037037
0
0.055556
0.239703
0.121499
0
0
0
0
0
1
0.148148
false
0
0.166667
0.074074
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a7411a3a58db3a0dd9b8212980fd3e48f9d229e0
2,185
py
Python
trainer/ATMSKLearnDecisionTreeRegressorGridSearch.py
automatic-dot-ai/automatic
39e00547850be2b7697b9331e0239bdbf2903d7e
[ "MIT" ]
null
null
null
trainer/ATMSKLearnDecisionTreeRegressorGridSearch.py
automatic-dot-ai/automatic
39e00547850be2b7697b9331e0239bdbf2903d7e
[ "MIT" ]
null
null
null
trainer/ATMSKLearnDecisionTreeRegressorGridSearch.py
automatic-dot-ai/automatic
39e00547850be2b7697b9331e0239bdbf2903d7e
[ "MIT" ]
null
null
null
# # @component { # "kind" : "trainer", # "language" : "py", # "description" : "Performs grid search over the 'hyper' parameter for a decision tree regressor trained on the input data", # "permissions": "public", # "properties": [ # { "name": "Hyperparameter" , "field": "hyper...
44.591837
160
0.636613
262
2,185
5.20229
0.480916
0.029347
0.04182
0.02788
0.068966
0.068966
0.068966
0.068966
0.068966
0
0
0.022624
0.190847
2,185
48
161
45.520833
0.748303
0.467735
0
0
0
0
0.041992
0
0
0
0
0
0
0
null
null
0
0.227273
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
a74206b3286e38af07ce337215eae9fcdc3a9f9d
7,463
py
Python
modules/mbox/uatg_mbox_divu_insts_01.py
incoresemi/chromite_uatg_tests
ff3116407c16eef0e73a1f3527075efdb2a4eb14
[ "BSD-3-Clause" ]
3
2021-09-17T04:53:08.000Z
2021-09-17T06:14:23.000Z
modules/mbox/uatg_mbox_divu_insts_01.py
incoresemi/chromite_uatg_tests
ff3116407c16eef0e73a1f3527075efdb2a4eb14
[ "BSD-3-Clause" ]
3
2022-01-04T06:52:50.000Z
2022-02-09T13:25:29.000Z
modules/mbox/uatg_mbox_divu_insts_01.py
incoresemi/chromite_uatg_tests
ff3116407c16eef0e73a1f3527075efdb2a4eb14
[ "BSD-3-Clause" ]
2
2022-01-04T04:36:40.000Z
2022-01-04T05:32:24.000Z
from random import choice, getrandbits from typing import Dict, List, Union, Any from uatg.instruction_constants import base_reg_file, mext_instructions from yapsy.IPlugin import IPlugin class uatg_mbox_divu_insts_01(IPlugin): """ The class contains the division instructions ( div, divu, divw, divuw, ...
42.645714
80
0.399571
745
7,463
3.845638
0.253691
0.034206
0.025131
0.015707
0.191623
0.14555
0.102269
0.102269
0.09459
0.09459
0
0.032585
0.510653
7,463
174
81
42.890805
0.751917
0.15396
0
0.247788
0
0
0.149348
0.003705
0
0
0.001611
0
0
1
0.026549
false
0
0.035398
0
0.088496
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
a7457f0c8f4a24cb283c412e7b1043e269729314
9,122
py
Python
src/rib-origins-lt.py
smlng/bgp-origins
1ff54f1e4dec41fccb42d56aa1cef54a3b68ebaf
[ "MIT" ]
null
null
null
src/rib-origins-lt.py
smlng/bgp-origins
1ff54f1e4dec41fccb42d56aa1cef54a3b68ebaf
[ "MIT" ]
null
null
null
src/rib-origins-lt.py
smlng/bgp-origins
1ff54f1e4dec41fccb42d56aa1cef54a3b68ebaf
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import calendar import json import logging import os import re import string import sys import multiprocessing as mp from datetime import datetime from subprocess import PIPE, Popen from pymongo import MongoClient, DESCENDING, ASCENDING from _pybgpstream import BGPStream, BGPRec...
35.913386
95
0.57005
1,121
9,122
4.473684
0.218555
0.023928
0.023729
0.020937
0.307278
0.241276
0.210967
0.198604
0.189033
0.189033
0
0.009473
0.305635
9,122
253
96
36.055336
0.782286
0.047687
0
0.253731
0
0
0.144194
0.007048
0
0
0
0
0
0
null
null
0.004975
0.064677
null
null
0.034826
0
0
0
null
0
0
0
0
0
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
a74c7e623d1bc4da8e709149a369ddd6546c0d1d
1,128
py
Python
tr_control/src/tr_control/driver.py
hasahmed/tr_ros
ea10376ea0a1b7a3baeb4928ec6173d9ab4bd7c4
[ "MIT" ]
null
null
null
tr_control/src/tr_control/driver.py
hasahmed/tr_ros
ea10376ea0a1b7a3baeb4928ec6173d9ab4bd7c4
[ "MIT" ]
3
2019-06-19T17:24:26.000Z
2019-07-10T14:23:33.000Z
tr_control/src/tr_control/driver.py
hasahmed/tr_ros
ea10376ea0a1b7a3baeb4928ec6173d9ab4bd7c4
[ "MIT" ]
3
2019-01-19T07:45:14.000Z
2020-03-04T15:54:48.000Z
class DriverBase(object): def __init__(self, wheel_radius=0.06, wheel_track=0.33): self.wheel_speeds = [0.0, 0.0, 0.0, 0.0] self.wheel_radius = wheel_radius self.wheel_track = wheel_track def set_motors(self, linear, angular): raise NotImplementedError() class DriverStraight...
28.923077
91
0.655142
145
1,128
4.793103
0.2
0.207194
0.151079
0.028777
0.633094
0.633094
0.591367
0.417266
0.417266
0.410072
0
0.024419
0.237589
1,128
38
92
29.684211
0.783721
0
0
0.238095
0
0
0
0
0
0
0
0
0
1
0.190476
false
0
0
0
0.333333
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
a74f834dcfcbc8c7a244db554fe53816ab4b0937
17,820
py
Python
Scripts/TransferPoints/Library/transfer_broker_strategies.py
Vasar007/Streamlabs-Chatbot-Scripts
5f3dacf249100ef5054a17f0eb15bb0c39e60a4d
[ "Apache-2.0" ]
1
2021-04-15T14:48:09.000Z
2021-04-15T14:48:09.000Z
Scripts/TransferPoints/Library/transfer_broker_strategies.py
Vasar007/Streamlabs-Chatbot-Scripts
5f3dacf249100ef5054a17f0eb15bb0c39e60a4d
[ "Apache-2.0" ]
null
null
null
Scripts/TransferPoints/Library/transfer_broker_strategies.py
Vasar007/Streamlabs-Chatbot-Scripts
5f3dacf249100ef5054a17f0eb15bb0c39e60a4d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod import transfer_config as config import transfer_helpers as helpers from transfer_broker_models import TransferAmount from transfer_broker_models import TransferValidationIssueType as IssueType from transfer_broker_models import TransferValidationResult...
37.674419
80
0.670314
1,893
17,820
5.949287
0.10037
0.019712
0.040757
0.032321
0.743651
0.707512
0.683893
0.659563
0.609217
0.558338
0
0.001221
0.264871
17,820
472
81
37.754237
0.858473
0.069192
0
0.576023
0
0
0.014668
0
0
0
0
0
0
1
0.160819
false
0
0.026316
0.038012
0.298246
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
a7538e48bc082529a9dbae4fff672ee6149f1d87
3,382
py
Python
altimeter/avionicsdwell.py
taiwenko/python
c13c170405f4cac1d1c191413f8b61e21052d8b3
[ "MIT" ]
null
null
null
altimeter/avionicsdwell.py
taiwenko/python
c13c170405f4cac1d1c191413f8b61e21052d8b3
[ "MIT" ]
null
null
null
altimeter/avionicsdwell.py
taiwenko/python
c13c170405f4cac1d1c191413f8b61e21052d8b3
[ "MIT" ]
1
2019-08-30T04:00:34.000Z
2019-08-30T04:00:34.000Z
#!/usr/bin/env python import aeroflex import altitude import argparse import math import ppc4 from datetime import datetime from time import sleep from tools import shell parser = argparse.ArgumentParser(description='Avionics Calibration Script') parser.add_argument('majortom', help='Serial port connected to ...
32.834951
75
0.670018
443
3,382
5.051919
0.354402
0.080429
0.068365
0.039321
0.183199
0.131367
0.131367
0.093834
0.043789
0
0
0.014796
0.180662
3,382
102
76
33.156863
0.792855
0.047014
0
0.126437
0
0
0.308458
0.060945
0
0
0
0
0
0
null
null
0
0.091954
null
null
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a755e310a84b2075ddcac5a37d6d2acb9305d86a
374
py
Python
auth/users/migrations/0017_alter_customuser_options.py
rochdikhalid/auth-system-v1
4ba956d28988a02e8b2e54e2fdff286773952004
[ "MIT" ]
null
null
null
auth/users/migrations/0017_alter_customuser_options.py
rochdikhalid/auth-system-v1
4ba956d28988a02e8b2e54e2fdff286773952004
[ "MIT" ]
null
null
null
auth/users/migrations/0017_alter_customuser_options.py
rochdikhalid/auth-system-v1
4ba956d28988a02e8b2e54e2fdff286773952004
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-20 14:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0016_auto_20211020_1414'), ] operations = [ migrations.AlterModelOptions( name='customuser', options=...
20.777778
54
0.580214
37
374
5.72973
0.837838
0
0
0
0
0
0
0
0
0
0
0.119691
0.307487
374
17
55
22
0.698842
0.120321
0
0
1
0
0.2
0.074194
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
a75f50600759bc104ed93cfeefea0f3f4d052f1e
526
py
Python
code/Exercises/Chapter_5/Exercise5_2.py
DersoViveiros/ThinkPython2
98eb71c4566d24c6170877caa646b15d10a8798b
[ "MIT" ]
1
2020-07-12T23:11:43.000Z
2020-07-12T23:11:43.000Z
code/Exercises/Chapter_5/Exercise5_2.py
DersoViveiros/ThinkPython2
98eb71c4566d24c6170877caa646b15d10a8798b
[ "MIT" ]
null
null
null
code/Exercises/Chapter_5/Exercise5_2.py
DersoViveiros/ThinkPython2
98eb71c4566d24c6170877caa646b15d10a8798b
[ "MIT" ]
null
null
null
#Exercise 5.2.1 def check_fermat(a,b,c,n): a = int(a) b = int(b) c = int(c) n = int(n) if n>2 and a>0 and b>0 and c>0 and a**n + b**n == c**n: print('Holy smokes, Fermat was wrong!') else: print("No, that doesn't work") #Exercise 5.2.2 def prompting_fermat(): a = int(input('...
26.3
59
0.56654
106
526
2.773585
0.292453
0.027211
0.163265
0.163265
0.102041
0.102041
0
0
0
0
0
0.025575
0.256654
526
20
60
26.3
0.726343
0.053232
0
0
0
0
0.279678
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
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
a75f5d9e352044c0ef4af97fcf847c0ea6ed0fa7
1,008
py
Python
application/routes.py
Kotidhana/qr-generator
c6de3d6382e1d28717a8796ddaf8076ba39e558e
[ "BSD-3-Clause" ]
null
null
null
application/routes.py
Kotidhana/qr-generator
c6de3d6382e1d28717a8796ddaf8076ba39e558e
[ "BSD-3-Clause" ]
1
2022-02-21T07:13:16.000Z
2022-02-21T07:13:16.000Z
application/routes.py
Kotidhana/qr-generator
c6de3d6382e1d28717a8796ddaf8076ba39e558e
[ "BSD-3-Clause" ]
null
null
null
from flask import Flask, render_template, url_for, request, redirect, send_file, session from application import app from application.forms import GenerateForm import pyqrcode import png import os @app.route('/') @app.route('/home') def index(): session['name']=False gForm = GenerateForm() return rende...
29.647059
88
0.635913
124
1,008
5.112903
0.419355
0.050473
0.066246
0
0
0
0
0
0
0
0
0.001247
0.204365
1,008
33
89
30.545455
0.789277
0
0
0
1
0
0.125
0
0
0
0
0
0
1
0.103448
false
0
0.206897
0
0.413793
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
a766ebaeb843ba0b9d7236de61cf13e289ed50c7
9,758
py
Python
src/python/packages/atm_tier1b/gev_r_uvcdat-serial.py
UV-CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
3
2017-03-03T21:28:06.000Z
2017-05-23T02:03:22.000Z
src/python/packages/atm_tier1b/gev_r_uvcdat-serial.py
CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
192
2015-01-05T19:39:56.000Z
2017-01-17T22:28:34.000Z
src/python/packages/atm_tier1b/gev_r_uvcdat-serial.py
UV-CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
6
2016-02-26T19:03:46.000Z
2017-07-12T16:55:33.000Z
#!/usr/bin/env python # Calls the evd package in r to compute gev paramater estimates. # Uses MPI import logging import numpy from scipy.io import netcdf from netCDF4 import Dataset #from mpi4py import MPI import math import time import rpy2 import rpy2.robjects as robjects logger = logging.getLogger(__name...
33.303754
124
0.563948
1,260
9,758
4.114286
0.184127
0.069444
0.067708
0.09375
0.393519
0.358603
0.27064
0.210069
0.154707
0.12037
0
0.01252
0.287866
9,758
292
125
33.417808
0.733487
0.153003
0
0.146067
0
0.016854
0.191733
0.005714
0
0
0
0
0
0
null
null
0
0.061798
null
null
0.011236
0
0
0
null
0
0
0
0
0
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
a775c94a44bfbba1ee70a6fee8945b3bac8723b4
2,434
py
Python
phonebook_server/server/phonebook_server/__init__.py
kassisdion/Simple_linux_script
2773902d64f5499e578e944d21fdca4b0c19255a
[ "MIT" ]
null
null
null
phonebook_server/server/phonebook_server/__init__.py
kassisdion/Simple_linux_script
2773902d64f5499e578e944d21fdca4b0c19255a
[ "MIT" ]
null
null
null
phonebook_server/server/phonebook_server/__init__.py
kassisdion/Simple_linux_script
2773902d64f5499e578e944d21fdca4b0c19255a
[ "MIT" ]
null
null
null
#!/usr/bin/python from flask import Flask, request, jsonify import logging from logging.handlers import RotatingFileHandler # create our little application :) app = Flask(__name__) app.debug = True app.config['SECRET_KEY'] = 'F34TF$($e34D'; app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///phonebook_server.db' from...
25.092784
72
0.735415
346
2,434
4.988439
0.268786
0.078216
0.075319
0.115875
0.521437
0.480301
0.403824
0.387022
0.387022
0.387022
0
0.004677
0.121611
2,434
97
73
25.092784
0.802619
0.117913
0
0.393443
0
0
0.116822
0.024299
0
0
0
0.010309
0
1
0.081967
false
0
0.065574
0
0.229508
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
a77838a3035c0561135f6e4db0a8ec42237099ff
1,922
py
Python
kuwala/common/jupyter/modules/poi_controller.py
bmahmoudyan/kuwala
7951ed49ac1c31c874a4446bb4661152c4d69c90
[ "Apache-2.0" ]
381
2021-04-08T13:04:57.000Z
2022-03-29T09:49:46.000Z
kuwala/common/jupyter/modules/poi_controller.py
bmahmoudyan/kuwala
7951ed49ac1c31c874a4446bb4661152c4d69c90
[ "Apache-2.0" ]
92
2021-04-20T12:28:40.000Z
2022-03-30T17:55:36.000Z
kuwala/common/jupyter/modules/poi_controller.py
bmahmoudyan/kuwala
7951ed49ac1c31c874a4446bb4661152c4d69c90
[ "Apache-2.0" ]
27
2021-04-26T17:52:32.000Z
2022-03-21T19:36:34.000Z
import json import os from geojson import Polygon from kuwala.modules.common import polyfill_polygon # Get the aggregated number of a specific POI category per H3 index at a given resolution def get_pois_by_category_in_h3(sp, category, resolution, polygon_coords): polygon_cells = None if polygon_coords: ...
40.041667
115
0.617066
237
1,922
4.860759
0.375527
0.042535
0.069444
0.044271
0.374132
0.290799
0.290799
0.269965
0.217882
0.217882
0
0.019959
0.244017
1,922
47
116
40.893617
0.772884
0.065557
0
0.102564
0
0.128205
0.62744
0.238148
0
0
0
0
0
1
0.025641
false
0.025641
0.102564
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a77cef286540aaba2830d198d6d97ed2a4e04057
294
py
Python
notebooks/init_notebook.py
adhocmaster/netmad
fe6c115d71ebeb8c689cdd1b8bed80ac35757681
[ "MIT" ]
null
null
null
notebooks/init_notebook.py
adhocmaster/netmad
fe6c115d71ebeb8c689cdd1b8bed80ac35757681
[ "MIT" ]
null
null
null
notebooks/init_notebook.py
adhocmaster/netmad
fe6c115d71ebeb8c689cdd1b8bed80ac35757681
[ "MIT" ]
null
null
null
import os, sys currentFolder = os.path.abspath('') try: sys.path.remove(str(currentFolder)) except ValueError: # Already removed pass projectFolder = 'C:\\muktadir\\netmad\\netmad' sys.path.append(str(projectFolder)) os.chdir(projectFolder) print( f"current working dir{os.getcwd()}")
24.5
46
0.738095
38
294
5.710526
0.684211
0.064516
0
0
0
0
0
0
0
0
0
0
0.108844
294
11
47
26.727273
0.828244
0.05102
0
0
0
0
0.216607
0.101083
0
0
0
0
0
1
0
false
0.1
0.1
0
0.1
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a78419d38ec0e3298e1dc735f667d0da4b1b57ea
484
py
Python
set_0/p0_4.py
PedroBernini/ipl-2021
048e19b89cb20d172b0b617ae89f7afa206dd770
[ "MIT" ]
null
null
null
set_0/p0_4.py
PedroBernini/ipl-2021
048e19b89cb20d172b0b617ae89f7afa206dd770
[ "MIT" ]
null
null
null
set_0/p0_4.py
PedroBernini/ipl-2021
048e19b89cb20d172b0b617ae89f7afa206dd770
[ "MIT" ]
null
null
null
# Programa baseado no algoritmo de Zeller, que calcula o dia da semana em que uma determinada data caiu (ou cairá). year = 2017 month = 1 day = 9 def zellerAlgorithm(year, month, day): if month in [1, 2]: y1 = year - 1 m1 = month + 12 else: y1 = year m1 = month y2 = y1 % 10...
24.2
115
0.557851
78
484
3.461538
0.576923
0.140741
0.177778
0.2
0
0
0
0
0
0
0
0.10574
0.316116
484
20
116
24.2
0.70997
0.233471
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.133333
0.066667
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
a789b49994674a0b4b5324469bf26d44ccb5787e
470
py
Python
ai/rl/random_player.py
aquintero/HandOfDog
517e25d4f9625053fa73d86202038476db71a2b4
[ "MIT" ]
null
null
null
ai/rl/random_player.py
aquintero/HandOfDog
517e25d4f9625053fa73d86202038476db71a2b4
[ "MIT" ]
null
null
null
ai/rl/random_player.py
aquintero/HandOfDog
517e25d4f9625053fa73d86202038476db71a2b4
[ "MIT" ]
null
null
null
import numpy as np from ai.go.go_player import GoPlayer class RandomPlayer(GoPlayer): def play(self, color, history, move_history, current_move, mask): size = history[0].shape[0] policy = np.random.uniform(size=(size, size)) policy = np.minimum(policy, mask) point = np.unr...
33.571429
70
0.619149
62
470
4.629032
0.532258
0.083624
0
0
0
0
0
0
0
0
0
0.014493
0.265957
470
13
71
36.153846
0.817391
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a78cbf816821476300f323c5a19feb563a679e58
672
py
Python
tests/stubs/api/v2_urls.py
WinaZar/restdoctor
2ea2db69228e5425805a2b17160f54cda077aa46
[ "MIT" ]
20
2020-09-28T17:54:26.000Z
2022-02-16T21:35:09.000Z
tests/stubs/api/v2_urls.py
WinaZar/restdoctor
2ea2db69228e5425805a2b17160f54cda077aa46
[ "MIT" ]
32
2020-10-04T17:26:31.000Z
2022-03-29T01:19:14.000Z
tests/stubs/api/v2_urls.py
pashaandsik/restdoctor
2465039729b31420518ac0f047dd289d8c84dfa3
[ "MIT" ]
19
2020-10-01T16:54:14.000Z
2022-01-18T14:41:53.000Z
from __future__ import annotations import typing from django.urls import path, include from restdoctor.utils.api_prefix import get_api_path_prefixes from tests.stubs.views import EmptyView if typing.TYPE_CHECKING: from restdoctor.django.custom_types import URLPatternList api_prefixes = get_api_path_prefixes() ...
28
75
0.78869
87
672
5.770115
0.425287
0.053785
0.039841
0.071713
0.111554
0.111554
0
0
0
0
0
0.001689
0.119048
672
23
76
29.217391
0.846284
0
0
0
0
0
0.065476
0.034226
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a78e9be15f695a0ec03fd0036aec6dbcdb96a48d
23,967
py
Python
MatchingMarkets/two_sided.py
UTokyoMDcenter/matching
3d19ddb8d7a4cb95ce63c0477d1ba47bbe141973
[ "MIT" ]
4
2021-05-24T06:49:19.000Z
2021-12-07T04:37:04.000Z
MatchingMarkets/two_sided.py
UTokyoMDcenter/matching
3d19ddb8d7a4cb95ce63c0477d1ba47bbe141973
[ "MIT" ]
null
null
null
MatchingMarkets/two_sided.py
UTokyoMDcenter/matching
3d19ddb8d7a4cb95ce63c0477d1ba47bbe141973
[ "MIT" ]
null
null
null
""" Basic two sided matching markets. """ import numpy as np from MatchingMarkets.util import InvalidPrefsError, InvalidCapsError, MaxHeap, \ generate_prefs_from_random_scores, generate_caps_given_sum, round_caps_to_meet_sum from MatchingMarkets.matching_alg import deferred_acceptance class ManyToOneMarket(objec...
33.851695
94
0.567447
2,894
23,967
4.4651
0.089496
0.024919
0.024919
0.021359
0.592323
0.524377
0.451478
0.423851
0.407754
0.397075
0
0.020445
0.344891
23,967
707
95
33.899576
0.80256
0.159678
0
0.450777
1
0
0.074161
0.008557
0
0
0
0
0
1
0.041451
false
0.007772
0.010363
0
0.090674
0.005181
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
a78f3e33f4da4e5a6225970b8d7c1f34070f1814
6,270
py
Python
game_master/models.py
0x55AAh/anthill_gaming
475af798bd08d85fc0fbfce9d2ba710f73252c15
[ "MIT" ]
1
2018-11-30T21:56:14.000Z
2018-11-30T21:56:14.000Z
game_master/models.py
0x55AAh/anthill_gaming
475af798bd08d85fc0fbfce9d2ba710f73252c15
[ "MIT" ]
null
null
null
game_master/models.py
0x55AAh/anthill_gaming
475af798bd08d85fc0fbfce9d2ba710f73252c15
[ "MIT" ]
null
null
null
# For more details, see # http://docs.sqlalchemy.org/en/latest/orm/tutorial.html#declare-a-mapping from anthill.framework.db import db from anthill.framework.utils import timezone from anthill.framework.utils.asynchronous import as_future, thread_pool_exec as future_exec from anthill.framework.utils.translation import ...
36.034483
94
0.701595
770
6,270
5.541558
0.284416
0.050621
0.051558
0.055777
0.226389
0.188423
0.157488
0.102414
0.047809
0.030466
0
0.005114
0.189155
6,270
173
95
36.242775
0.834186
0.069856
0
0.108333
0
0
0.088098
0.007946
0
0
0
0.00578
0
1
0.033333
false
0.016667
0.133333
0.008333
0.641667
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
a78f69a5f76acf5c91e506986649d4aadf303616
463
py
Python
draftin/migrations/0005_auto_20151213_1630.py
whatisjasongoldstein/django-draftin
d63804f7370d498b3bb29324ec271ebd328a6926
[ "MIT" ]
1
2017-04-25T10:53:31.000Z
2017-04-25T10:53:31.000Z
draftin/migrations/0005_auto_20151213_1630.py
whatisjasongoldstein/django-draftin
d63804f7370d498b3bb29324ec271ebd328a6926
[ "MIT" ]
null
null
null
draftin/migrations/0005_auto_20151213_1630.py
whatisjasongoldstein/django-draftin
d63804f7370d498b3bb29324ec271ebd328a6926
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-13 21:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('draftin', '0004_draft_date_published'), ] operations = [ migrations.AlterField...
22.047619
52
0.62851
51
463
5.470588
0.803922
0
0
0
0
0
0
0
0
0
0
0.06414
0.259179
463
20
53
23.15
0.749271
0.140389
0
0
1
0
0.139241
0.063291
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a790fdc5effcb427ea5a16e724ca5826dd2e1703
26,608
py
Python
cdata/region.py
cnschema/cdata
893e2e1e27b61c8551c8b5f5f9bf05ec61490e23
[ "Apache-2.0" ]
16
2017-06-20T07:59:27.000Z
2020-12-26T10:47:31.000Z
cdata/region.py
cnschema/cdata
893e2e1e27b61c8551c8b5f5f9bf05ec61490e23
[ "Apache-2.0" ]
3
2017-07-12T07:15:42.000Z
2017-08-17T00:38:32.000Z
cdata/region.py
cnschema/cdata
893e2e1e27b61c8551c8b5f5f9bf05ec61490e23
[ "Apache-2.0" ]
9
2017-06-23T11:04:36.000Z
2019-09-17T09:30:44.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: Li Ding import os import sys import json import logging import codecs import hashlib import datetime import logging import time import argparse import urlparse import re import collections from core import * from table import * from misc import main_subtask impo...
32.687961
140
0.51135
3,036
26,608
4.341238
0.170619
0.023065
0.024279
0.013657
0.319879
0.254021
0.213354
0.188543
0.155387
0.146737
0
0.010911
0.352413
26,608
813
141
32.728167
0.75399
0.131427
0
0.223614
0
0.001789
0.092897
0.015468
0
0
0
0
0.012522
0
null
null
0.007156
0.030411
null
null
0.001789
0
0
0
null
0
0
0
0
0
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
a791e35c35457e9d37a6067e037a72c6a39369d5
1,581
py
Python
share/baby-cpt/analysis/generate/generate_distrib.py
ucla-pbpl/pbpl-compton
a5afcdffc778f61a4726d7c5a231af2bca466900
[ "MIT" ]
2
2019-09-24T23:52:58.000Z
2020-06-03T20:59:33.000Z
share/baby-cpt/analysis/generate/generate_distrib.py
ucla-pbpl/pbpl-compton
a5afcdffc778f61a4726d7c5a231af2bca466900
[ "MIT" ]
null
null
null
share/baby-cpt/analysis/generate/generate_distrib.py
ucla-pbpl/pbpl-compton
a5afcdffc778f61a4726d7c5a231af2bca466900
[ "MIT" ]
null
null
null
import scipy.stats as stats import matplotlib.pyplot as plt import numpy as np import numpy.random as rnd def generate_distrib(lower, upper, stats_func, num, param=[]): nrm=stats_func.cdf(upper, *param)-stats_func.cdf(lower, *param) xrng=np.arange(lower,upper,(upper-lower)/50) yr=rnd.rand(num)*(n...
28.232143
68
0.640101
249
1,581
3.943775
0.285141
0.07943
0.04888
0.045825
0.294297
0.12831
0.052953
0.052953
0
0
0
0.056664
0.207464
1,581
55
69
28.745455
0.727055
0.075269
0
0.2
1
0
0.022808
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.175
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
a798415fcc1063321c016d8f2fd8e5b45ecde4f5
1,375
py
Python
fastflix/widgets/panels/info_panel.py
ObviousInRetrospect/FastFlix
26c53d10fb9b2d9e73382a78a7276bb2389bd5c5
[ "MIT" ]
388
2019-03-11T12:45:36.000Z
2022-03-29T19:18:21.000Z
fastflix/widgets/panels/info_panel.py
neoOpus/FastFlix
26c53d10fb9b2d9e73382a78a7276bb2389bd5c5
[ "MIT" ]
239
2019-02-19T20:05:59.000Z
2022-03-30T23:27:49.000Z
fastflix/widgets/panels/info_panel.py
neoOpus/FastFlix
26c53d10fb9b2d9e73382a78a7276bb2389bd5c5
[ "MIT" ]
44
2019-08-22T21:41:29.000Z
2022-03-03T08:16:39.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging import re from itertools import chain from pathlib import Path from typing import List, Union from box import Box, BoxList from PySide6 import QtCore, QtGui, QtWidgets from fastflix.language import t from fastflix.models.encode import AttachmentTrack from ...
29.891304
118
0.668364
175
1,375
5.142857
0.508571
0.066667
0.06
0.048889
0.06
0
0
0
0
0
0
0.00466
0.219636
1,375
45
119
30.555556
0.83411
0.030545
0
0
0
0
0.071375
0.042074
0
0
0
0
0
1
0.060606
false
0
0.363636
0
0.484848
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
a799abd617c9287c8dde1f8ef35b5208cfcda4da
720
py
Python
pms/pms/doctype/stock_entry/stock_entry.py
barathprathosh/pms
92aa5f46e8bc79d75ce85148c04682968aee4682
[ "MIT" ]
null
null
null
pms/pms/doctype/stock_entry/stock_entry.py
barathprathosh/pms
92aa5f46e8bc79d75ce85148c04682968aee4682
[ "MIT" ]
null
null
null
pms/pms/doctype/stock_entry/stock_entry.py
barathprathosh/pms
92aa5f46e8bc79d75ce85148c04682968aee4682
[ "MIT" ]
null
null
null
# Copyright (c) 2021, Barath Prathosh and contributors # For license information, please see license.txt import frappe from frappe.model.document import Document class StockEntry(Document): def on_submit(self): for child_t in self.stock_detail: product_list = frappe.get_doc("Product List",child_t.product_name) ...
32.727273
69
0.766667
109
720
4.844037
0.40367
0.1875
0.079545
0.049242
0.632576
0.632576
0.632576
0.632576
0.632576
0.632576
0
0.006472
0.141667
720
22
70
32.727273
0.847896
0.138889
0
0.588235
0
0
0.038835
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.294118
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
a7a585fd968b4277f1363f2d940a47d93f565157
1,983
py
Python
pytorch_toolkit/action_recognition_2/model_templates/gesture-recognition/tools/data/split_msasl_annotation.py
abhatikar/training_extensions
1c96e0f5f39688f8b79735e8dfa90646afc3d5e6
[ "Apache-2.0" ]
2
2021-01-07T05:09:17.000Z
2021-10-15T05:13:46.000Z
pytorch_toolkit/action_recognition_2/model_templates/gesture-recognition/tools/data/split_msasl_annotation.py
abhatikar/training_extensions
1c96e0f5f39688f8b79735e8dfa90646afc3d5e6
[ "Apache-2.0" ]
9
2021-09-08T03:12:59.000Z
2022-03-12T00:57:19.000Z
pytorch_toolkit/action_recognition_2/model_templates/gesture-recognition/tools/data/split_msasl_annotation.py
abhatikar/training_extensions
1c96e0f5f39688f8b79735e8dfa90646afc3d5e6
[ "Apache-2.0" ]
null
null
null
""" Copyright (c) 2020 Intel Corporation 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 wri...
27.541667
83
0.680282
274
1,983
4.766423
0.445255
0.048239
0.036753
0.024502
0
0
0
0
0
0
0
0.006394
0.211296
1,983
71
84
27.929577
0.828645
0.283409
0
0.055556
0
0
0.032787
0
0
0
0
0
0.055556
1
0.194444
false
0
0.055556
0.111111
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
a7afb74c539aa6cf0dd936247ca42e8c7e830d84
1,183
py
Python
serialization.py
rayjustinhuang/BitesofPy
03b694c5259ff607621419d9677c5caff90a6057
[ "MIT" ]
null
null
null
serialization.py
rayjustinhuang/BitesofPy
03b694c5259ff607621419d9677c5caff90a6057
[ "MIT" ]
null
null
null
serialization.py
rayjustinhuang/BitesofPy
03b694c5259ff607621419d9677c5caff90a6057
[ "MIT" ]
null
null
null
from datetime import date import os from pathlib import Path import pickle from typing import Sequence, NamedTuple from urllib.request import urlretrieve TMP = Path(os.getenv("TMP", "/tmp")) S3 = "https://bites-data.s3.us-east-2.amazonaws.com" PICKLE_INFILE = TMP / 'input.pkl' PICKLE_OUTFILE = TMP / 'output.pkl' cla...
26.288889
72
0.671175
159
1,183
4.924528
0.440252
0.051086
0.043423
0.043423
0.05364
0
0
0
0
0
0
0.008667
0.21978
1,183
45
73
26.288889
0.839653
0.158073
0
0
0
0
0.093911
0
0
0
0
0
0
1
0.107143
false
0
0.214286
0
0.535714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a7cd36001fb624d5894ebc7ae51292f691795475
953
py
Python
test.py
Gongsta/AutoML
bef44bbf1a3eb2db235050aede7a5cd2bdb1ee4e
[ "MIT" ]
1
2019-10-18T04:15:18.000Z
2019-10-18T04:15:18.000Z
test.py
Gongsta/AutoML
bef44bbf1a3eb2db235050aede7a5cd2bdb1ee4e
[ "MIT" ]
null
null
null
test.py
Gongsta/AutoML
bef44bbf1a3eb2db235050aede7a5cd2bdb1ee4e
[ "MIT" ]
null
null
null
#importing the autokeras library and renaming to ak (shortened version) import autokeras as ak from autokeras.image.image_supervised import load_image_dataset #x_train, y_train = load_image_dataset(csv_file_path="") import numpy as np #mnist is a dataset wof handwritten digits, used for testing a lot from keras.dat...
36.653846
99
0.772298
162
953
4.358025
0.432099
0.05949
0.03966
0.067989
0.209632
0.184136
0.184136
0.184136
0.121813
0.121813
0
0.018248
0.137461
953
26
100
36.653846
0.840633
0.411333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
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
0
0
0
0
1
0
0
0
0
1
a7d67475d151785eea2dbc2424b20163417cf320
1,147
py
Python
setup.py
lincolnloop/django-debug-logging
dc2f60b5abaf5f344de45a791f3a3473873ae304
[ "BSD-3-Clause" ]
14
2015-02-13T08:23:59.000Z
2021-09-01T22:38:48.000Z
setup.py
lincolnloop/django-debug-logging
dc2f60b5abaf5f344de45a791f3a3473873ae304
[ "BSD-3-Clause" ]
null
null
null
setup.py
lincolnloop/django-debug-logging
dc2f60b5abaf5f344de45a791f3a3473873ae304
[ "BSD-3-Clause" ]
2
2016-04-18T03:07:47.000Z
2017-05-24T08:35:27.000Z
from setuptools import setup, find_packages setup( name='django-debug-logging', version=__import__('debug_logging').__version__, description='A plugin for django_debug_toolbar that logs results to the database for aggregated review.', long_description=open('README.rst').read(), author='Brandon Konk...
40.964286
109
0.686138
125
1,147
6.128
0.672
0.071802
0.070496
0.041775
0.117493
0.117493
0.117493
0.117493
0
0
0
0.001068
0.183958
1,147
27
110
42.481481
0.817308
0.040976
0
0
0
0
0.54827
0.020947
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
a7db25939a59be0ddb02968eb24f210320013b22
1,765
py
Python
tests/test_usage.py
dbwebb-se/ooadv
36bcc9cd7193b8859b8cb6519bfcbe11c4c9baf4
[ "MIT" ]
null
null
null
tests/test_usage.py
dbwebb-se/ooadv
36bcc9cd7193b8859b8cb6519bfcbe11c4c9baf4
[ "MIT" ]
null
null
null
tests/test_usage.py
dbwebb-se/ooadv
36bcc9cd7193b8859b8cb6519bfcbe11c4c9baf4
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Unittest for the usage module.""" import unittest from usage import Usage class TestUsageModule(unittest.TestCase): """Test cases.""" def setUp(self): """Setup each testcase.""" self.usage = Usage() def test_silent_verbose(self): """Check options for s...
25.57971
72
0.590935
179
1,765
5.648045
0.223464
0.106825
0.110781
0.166172
0.628091
0.600396
0.510386
0.444115
0.343225
0.232443
0
0.000766
0.260057
1,765
68
73
25.955882
0.773354
0.134844
0
0.454545
0
0
0.080679
0
0
0
0
0
0.363636
1
0.121212
false
0
0.060606
0
0.212121
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
a7db6714020d52f8e90cf74d4b2a4d138947d1ea
2,774
py
Python
reinforce/tmp.py
gebob19/rl_with_jax
a30df06de3035c460e5339611974664a2130ca6e
[ "MIT" ]
5
2021-08-31T22:35:08.000Z
2021-12-15T23:07:36.000Z
reinforce/tmp.py
gebob19/rl_with_jax
a30df06de3035c460e5339611974664a2130ca6e
[ "MIT" ]
null
null
null
reinforce/tmp.py
gebob19/rl_with_jax
a30df06de3035c460e5339611974664a2130ca6e
[ "MIT" ]
null
null
null
#%% import numpy as np import gym from gym import spaces from gym.utils import seeding class Navigation2DEnv_Disc(gym.Env): def __init__(self, task={}, low=-0.5, high=0.5, max_n_steps=100): super().__init__() self.low = low self.high = high self.max_n_steps = max_n_steps se...
24.990991
84
0.578947
421
2,774
3.655582
0.263658
0.040936
0.023392
0.038986
0.193632
0.168941
0.08707
0.040286
0
0
0
0.036221
0.263518
2,774
110
85
25.218182
0.717083
0.033165
0
0.1
0
0
0.012355
0
0
0
0
0
0.0125
0
null
null
0
0.075
null
null
0.025
0
0
0
null
0
0
0
0
0
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
38fca84a13f5ad497a648fa8567925e84e0122f0
521
py
Python
calendar_app.py
oyeyemidamilola/python-practice
e7194327ccb6f7e9eba358ec654045f924bd67c3
[ "MIT" ]
null
null
null
calendar_app.py
oyeyemidamilola/python-practice
e7194327ccb6f7e9eba358ec654045f924bd67c3
[ "MIT" ]
null
null
null
calendar_app.py
oyeyemidamilola/python-practice
e7194327ccb6f7e9eba358ec654045f924bd67c3
[ "MIT" ]
null
null
null
# Program to display calendar of the given month and year # importing calendar module import calendar from datetime import date, datetime mydate = datetime.now() year_ = mydate.strftime("%Y") month_ = mydate.strftime("%B") # To take month and year input from the user comment the block above and uncomment the one ...
24.809524
96
0.71785
74
521
4.945946
0.472973
0.043716
0.065574
0
0
0
0
0
0
0
0
0
0.165067
521
20
97
26.05
0.841379
0.587332
0
0
0
0
0.086957
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
38fd6f8467e688cae8b282ec41a79823464fa08b
457
py
Python
faas/restart.py
futuresimple/faas
70dd284ad795264440642850d88d923d2233a258
[ "Apache-2.0" ]
20
2018-06-13T13:41:02.000Z
2021-09-13T14:42:29.000Z
faas/restart.py
futuresimple/faas
70dd284ad795264440642850d88d923d2233a258
[ "Apache-2.0" ]
null
null
null
faas/restart.py
futuresimple/faas
70dd284ad795264440642850d88d923d2233a258
[ "Apache-2.0" ]
null
null
null
import os from faas import app from faas.utils import set_crash_loop, get_crash_loop_file_identifier from faas.auth_wrapper import verify_token from flask import request @app.route('/restart') @verify_token() def restart(): exit_code = request.args.get('exit_code', default=0, type=int) crash_loop = request.a...
26.882353
69
0.765864
71
457
4.619718
0.422535
0.192073
0.109756
0.091463
0.231707
0.231707
0.231707
0.231707
0
0
0
0.002538
0.137856
457
16
70
28.5625
0.829949
0
0
0
0
0
0.059081
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
38fe24cb0024511f28c77c612fcd45d9fabf1e11
1,404
py
Python
odoo-13-docker/addons/odoo-debrand/models/models.py
kmrul/odoo-docker-ce
16ed329913ebb6a76d5f5f2edfa8f9050afb8946
[ "MIT" ]
1
2020-06-20T13:00:25.000Z
2020-06-20T13:00:25.000Z
odoo-13-docker/addons/odoo-debrand/models/models.py
kmrul/odoo-docker-ce
16ed329913ebb6a76d5f5f2edfa8f9050afb8946
[ "MIT" ]
null
null
null
odoo-13-docker/addons/odoo-debrand/models/models.py
kmrul/odoo-docker-ce
16ed329913ebb6a76d5f5f2edfa8f9050afb8946
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################# # # Cybrosys Technologies Pvt. Ltd. # # Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). # Author: Tintuk Tomin(<https://www.cybrosys.com>) # # You can modify it under the terms o...
36.947368
80
0.606838
179
1,404
4.687151
0.564246
0.052443
0.042908
0.067938
0.202622
0.202622
0.140644
0.140644
0.095352
0
0
0.008598
0.171652
1,404
37
81
37.945946
0.712812
0.508547
0
0
0
0
0.205426
0.114341
0
0
0
0
0
1
0.2
false
0
0.1
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ac0d85abca07332a32b7bfee621cfea6146d0094
1,324
gyp
Python
gyp/experimental.gyp
scroggo/skia
792c80f5a7b66e75d42664ccb298f31962c6654c
[ "BSD-3-Clause" ]
2
2019-05-09T17:06:47.000Z
2020-07-06T16:14:13.000Z
gyp/experimental.gyp
scroggo/skia
792c80f5a7b66e75d42664ccb298f31962c6654c
[ "BSD-3-Clause" ]
null
null
null
gyp/experimental.gyp
scroggo/skia
792c80f5a7b66e75d42664ccb298f31962c6654c
[ "BSD-3-Clause" ]
3
2015-03-13T14:30:30.000Z
2020-07-06T16:13:36.000Z
# GYP file to build experimental directory. { 'targets': [ { 'target_name': 'experimental', 'type': 'static_library', 'include_dirs': [ '../include/config', '../include/core', ], 'sources': [ '../experimental/SkSetPoly3To3.cpp', '../experimental/SkSetP...
24.072727
59
0.513595
113
1,324
5.752212
0.380531
0.092308
0.086154
0.101538
0.227692
0
0
0
0
0
0
0.008715
0.306647
1,324
54
60
24.518519
0.699346
0.030967
0
0.471698
0
0
0.559719
0.320062
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1