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
c55aa9f1a4cb0cce4533cb9dec7d1fd3820b42ba
1,568
py
Python
tides-server/pkg/controller/monitor.py
ji-it/CloudTides
f9d7850fa2e7b8c80c0121938b398b9d8a7d2949
[ "Apache-2.0" ]
3
2019-12-07T17:14:39.000Z
2022-03-31T06:41:51.000Z
tides-server/pkg/controller/monitor.py
makersmelx/CloudTides
a64fc77d96dd72451a4f67ac72fcc7359d340cc5
[ "Apache-2.0" ]
10
2019-12-08T06:37:55.000Z
2022-02-10T11:41:09.000Z
tides-server/pkg/controller/monitor.py
makersmelx/CloudTides
a64fc77d96dd72451a4f67ac72fcc7359d340cc5
[ "Apache-2.0" ]
9
2020-06-28T01:08:35.000Z
2020-07-26T03:51:47.000Z
import psycopg2 import os from config import BASE_DIR, DATABASES, FULL_HOSTNAME import requests import json def main(): db = DATABASES['default']['NAME'] user = DATABASES['default']['USER'] password = DATABASES['default']['PASSWORD'] host = DATABASES['default']['HOST'] port = DATABASES['default']['...
32
100
0.563138
183
1,568
4.721311
0.437158
0.092593
0.027778
0.043981
0.092593
0.092593
0.092593
0.092593
0.092593
0.092593
0
0.013986
0.270408
1,568
48
101
32.666667
0.741259
0.085459
0
0
0
0
0.225332
0.03429
0
0
0
0
0
1
0.028571
false
0.085714
0.142857
0
0.171429
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
c55aac745967f1934adcad35a6b2105c68fd734e
3,570
py
Python
docnado/navtree.py
HEInventions/docnado
8817d8a9856b4babd9a2f81678a9ef0b8a75d4bc
[ "MIT" ]
78
2018-10-09T16:28:26.000Z
2022-02-24T15:25:26.000Z
docnado/navtree.py
HEInventions/docnado
8817d8a9856b4babd9a2f81678a9ef0b8a75d4bc
[ "MIT" ]
27
2018-11-01T16:30:50.000Z
2022-02-22T14:36:11.000Z
docnado/navtree.py
HEInventions/docnado
8817d8a9856b4babd9a2f81678a9ef0b8a75d4bc
[ "MIT" ]
9
2018-11-06T18:50:51.000Z
2020-10-24T00:56:16.000Z
""" Navigation Tree for docnado python -m doctest .\navtree.py """ import re def parse_nav_string(nav): """ Parse a nav string and pull out the `name` and `weight` of each nav item. >>> parse_nav_string('Foo>Bar>Baz') [('Foo', 0), ('Bar', 0), ('Baz', 0)] >>> parse_nav_string('Foo __99__>Bar>Baz') ...
26.25
89
0.516246
474
3,570
3.812236
0.28692
0.0487
0.038738
0.028224
0.116768
0.087991
0.066962
0.041505
0.028777
0
0
0.024278
0.330812
3,570
135
90
26.444444
0.732105
0.494118
0
0.076923
0
0
0.017673
0
0
0
0
0
0
1
0.230769
false
0
0.025641
0.025641
0.461538
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c55bbe29bb5aab86f851a4eb320dc31d50c3485a
2,203
py
Python
main.py
StoicSun/MD-Follow-list
59ec7a0a41c61754a0a89c61019a393690417016
[ "MIT" ]
4
2021-05-12T11:56:18.000Z
2021-06-29T12:26:50.000Z
main.py
StoicSun/MD-Follow-list
59ec7a0a41c61754a0a89c61019a393690417016
[ "MIT" ]
1
2021-05-14T19:59:21.000Z
2021-05-15T22:36:43.000Z
main.py
StoicSun/MD-Follow-list
59ec7a0a41c61754a0a89c61019a393690417016
[ "MIT" ]
null
null
null
import requests import json import csv import os import LastRead def api_call(payload): auth = requests.post("https://api.mangadex.org/auth/login", json=payload) token = auth.json()["token"]["session"] bearer = {"Authorization": f"Bearer {token}"} offset = 0 follow_list = [] initial = {"limit"...
34.968254
116
0.571947
273
2,203
4.56044
0.446886
0.080321
0.038554
0.045783
0.189558
0.141365
0.104418
0.104418
0.104418
0.104418
0
0.008333
0.291875
2,203
62
117
35.532258
0.789744
0
0
0.125
0
0.035714
0.322288
0
0
0
0
0
0
1
0.035714
false
0.053571
0.089286
0
0.142857
0.053571
0
0
0
null
0
0
0
0
0
0
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
c560015c9736db596c559b1053ce9b97559238c5
1,034
py
Python
msvc/libpsl-pc.py
kloczek/libpsl
47bab910ee777e4ad44400ec128b96e7aafd3ff1
[ "MIT" ]
102
2015-01-18T04:04:35.000Z
2022-03-12T02:47:55.000Z
msvc/libpsl-pc.py
kloczek/libpsl
47bab910ee777e4ad44400ec128b96e7aafd3ff1
[ "MIT" ]
149
2015-01-20T12:56:44.000Z
2022-01-16T17:54:31.000Z
msvc/libpsl-pc.py
kloczek/libpsl
47bab910ee777e4ad44400ec128b96e7aafd3ff1
[ "MIT" ]
51
2015-01-20T19:20:02.000Z
2022-02-18T15:54:01.000Z
# !/usr/env/python # Simple script to generate libpsl.pc from libpsl.pc.in # for Visual Studio builds import sys import argparse from replace import replace_multi from pc_base import BasePCItems def main(argv): parser = argparse.ArgumentParser(description='Setup basic libpsl.pc file info') parser...
29.542857
84
0.641199
131
1,034
4.824427
0.412214
0.075949
0.066456
0
0
0
0
0
0
0
0
0.001285
0.247582
1,034
34
85
30.411765
0.811054
0.110251
0
0
1
0
0.173666
0
0
0
0
0
0
1
0.047619
false
0
0.190476
0
0.285714
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
c562a785812b5866c5ab816219f551442c9d9fea
3,226
py
Python
PythonServer/protocol_client.py
watfordxp/Hologram
903d81713a609b7529074c0fed5add39ec2c491f
[ "Apache-2.0" ]
null
null
null
PythonServer/protocol_client.py
watfordxp/Hologram
903d81713a609b7529074c0fed5add39ec2c491f
[ "Apache-2.0" ]
null
null
null
PythonServer/protocol_client.py
watfordxp/Hologram
903d81713a609b7529074c0fed5add39ec2c491f
[ "Apache-2.0" ]
null
null
null
import struct import logging from twisted.protocols.basic import IntNStringReceiver from byte_buffer import ByteBuffer from utility import DataConstants __author__ = 'pryormic' logger = logging.getLogger(__name__) # TCP connection of client. # Expects incoming packets to be prefixed with size of subsequent data. # P...
33.257732
76
0.679169
336
3,226
6.315476
0.318452
0.073516
0.080113
0.05655
0.386899
0.332234
0.299246
0.238454
0.175306
0.159284
0
0.003651
0.235896
3,226
97
77
33.257732
0.857201
0.073156
0
0.408451
0
0
0.042895
0
0
0
0
0
0.070423
1
0.225352
false
0.028169
0.070423
0.084507
0.478873
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
c56dc266cb5b7b8e1746a36951283622d4d81f6e
376
py
Python
taxicab-converter/converter.py
buzanovn/LCMST
935d2091406cd15dd86a0158289a33efccd9f4f8
[ "MIT" ]
null
null
null
taxicab-converter/converter.py
buzanovn/LCMST
935d2091406cd15dd86a0158289a33efccd9f4f8
[ "MIT" ]
null
null
null
taxicab-converter/converter.py
buzanovn/LCMST
935d2091406cd15dd86a0158289a33efccd9f4f8
[ "MIT" ]
null
null
null
import argparse from helpers import dump_np_array from task import Task parser = argparse.ArgumentParser() parser.add_argument("taxicab_task_file", type=str, help="Path to taxicab task file") parser.add_argument("output", type=str, help="Path to output file") args = parser.parse_args() task = Task(args.taxicab_task_...
28.923077
84
0.797872
58
376
4.965517
0.413793
0.114583
0.15625
0.104167
0.118056
0
0
0
0
0
0
0
0.098404
376
12
85
31.333333
0.849558
0
0
0
0
0
0.178191
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c56e8aed9c3d0e38018c52f9a8fb70ec5492fcbf
1,221
py
Python
airflow/plugins/operators/check_coolblue.py
makism/find-a-ps5
3f004be40554595c687a0661998065b08b1f9009
[ "MIT" ]
1
2021-02-10T14:18:49.000Z
2021-02-10T14:18:49.000Z
airflow/plugins/operators/check_coolblue.py
makism/find-a-ps5
3f004be40554595c687a0661998065b08b1f9009
[ "MIT" ]
null
null
null
airflow/plugins/operators/check_coolblue.py
makism/find-a-ps5
3f004be40554595c687a0661998065b08b1f9009
[ "MIT" ]
null
null
null
from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults from helpers import fetch_page from operators import BaseCheck from bs4 import BeautifulSoup class CheckCoolblue(BaseCheck): """Check the Coolblue stock.""" @apply_defaults def __init__(self, link: str, descript...
25.978723
83
0.611794
134
1,221
5.455224
0.529851
0.030096
0
0
0
0
0
0
0
0
0
0.011494
0.287469
1,221
46
84
26.543478
0.828736
0.077805
0
0.133333
0
0
0.080717
0
0
0
0
0
0
1
0.1
false
0.133333
0.166667
0
0.433333
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
c576b07fe513caeca1497385c955ed5c35d60436
2,324
py
Python
memrise/core/responses/course_response.py
kolesnikov-bn/django-memrise-scraper
00dddb53f04ce2f794fe3611ea97190ef8265079
[ "MIT" ]
null
null
null
memrise/core/responses/course_response.py
kolesnikov-bn/django-memrise-scraper
00dddb53f04ce2f794fe3611ea97190ef8265079
[ "MIT" ]
null
null
null
memrise/core/responses/course_response.py
kolesnikov-bn/django-memrise-scraper
00dddb53f04ce2f794fe3611ea97190ef8265079
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Generator, List, Optional from uuid import UUID @dataclass class Category: name: str photo: str @dataclass class Goal: course_id: int goal: int points: int streak: int @dataclass class SelectorClass: session_type: str is_enabled:...
23.009901
98
0.67642
286
2,324
5.356643
0.311189
0.063969
0.039164
0.029373
0.199739
0.199739
0.199739
0.199739
0.199739
0.199739
0
0
0.247418
2,324
100
99
23.24
0.875929
0.114458
0
0.253165
0
0
0
0
0
0
0
0
0
1
0.050633
false
0
0.037975
0
0.78481
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
3d6436596c12e33614cae4fce7585445bd93c90b
480
py
Python
src/cobra/apps/dashboard/autocheck/app.py
lyoniionly/django-cobra
2427e5cf74b7739115b1224da3306986b3ee345c
[ "Apache-2.0" ]
1
2015-01-27T08:56:46.000Z
2015-01-27T08:56:46.000Z
src/cobra/apps/dashboard/autocheck/app.py
lyoniionly/django-cobra
2427e5cf74b7739115b1224da3306986b3ee345c
[ "Apache-2.0" ]
null
null
null
src/cobra/apps/dashboard/autocheck/app.py
lyoniionly/django-cobra
2427e5cf74b7739115b1224da3306986b3ee345c
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from cobra.core.application import Application from cobra.core.loading import get_class class AutoCheckDashboardApplication(Application): name = None index_view = get_class('dashboard.autocheck.views', 'IndexView') def get_urls(self): urls = [ url(r'...
22.857143
74
0.708333
55
480
6.036364
0.509091
0.054217
0.078313
0
0
0
0
0
0
0
0
0
0.189583
480
20
75
24
0.85347
0
0
0
0
0
0.10625
0.052083
0
0
0
0
0
1
0.083333
false
0
0.25
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
0
0
1
0
0
1
3d6ba1cbc04a216e85002cfc90ee700c6e4da065
2,940
py
Python
dashcam3.py
bnbe-club/dashcam-v1-diy-35
e269e8b48b72a8fd3543604f1a9183bce71dd890
[ "CC0-1.0" ]
4
2020-10-02T20:06:36.000Z
2021-06-12T23:44:39.000Z
dashcam3.py
bnbe-club/dashcam-v1-diy-35
e269e8b48b72a8fd3543604f1a9183bce71dd890
[ "CC0-1.0" ]
null
null
null
dashcam3.py
bnbe-club/dashcam-v1-diy-35
e269e8b48b72a8fd3543604f1a9183bce71dd890
[ "CC0-1.0" ]
null
null
null
import picamera import os import psutil import serial import pynmea2 import time import json import itertools import RPi.GPIO as GPIO from picamera import Color DURATION = 60 SPACE_LIMIT = 80 MAX_FILES = 99999 DELETE_FILES = 10 LED_PIN = 4 SWITCH_PIN = 17 folder_root = "/home/pi/" videos_folder = "videos/" port = "/...
25.565217
225
0.690476
436
2,940
4.465596
0.344037
0.071906
0.025681
0.024653
0.1736
0.163328
0.139702
0.104777
0.104777
0.104777
0
0.02424
0.172109
2,940
114
226
25.789474
0.775678
0
0
0.193548
0
0.010753
0.141497
0
0
0
0
0
0
0
null
null
0
0.107527
null
null
0.11828
0
0
0
null
0
0
0
0
0
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
3d6fcb05317a307a561a8440518a86e59ef334a0
409
py
Python
casepro/statistics/migrations/0011_auto_20170605_0657.py
rapidpro/ureport-partners
16e5b95eae36ecbbe8ab2a59f34a2f5fd32ceacd
[ "BSD-3-Clause" ]
21
2015-07-21T15:57:49.000Z
2021-11-04T18:26:35.000Z
casepro/statistics/migrations/0011_auto_20170605_0657.py
rapidpro/ureport-partners
16e5b95eae36ecbbe8ab2a59f34a2f5fd32ceacd
[ "BSD-3-Clause" ]
357
2015-05-22T07:26:45.000Z
2022-03-12T01:08:28.000Z
casepro/statistics/migrations/0011_auto_20170605_0657.py
rapidpro/ureport-partners
16e5b95eae36ecbbe8ab2a59f34a2f5fd32ceacd
[ "BSD-3-Clause" ]
24
2015-05-28T12:30:25.000Z
2021-11-19T01:57:38.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-06-05 06:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("statistics", "0010_existing_case_timings_count")] operations = [ migrations.AlterField(m...
27.266667
113
0.733496
48
409
6.041667
0.8125
0
0
0
0
0
0
0
0
0
0
0.060172
0.146699
409
14
114
29.214286
0.770774
0.166259
0
0
1
0
0.207101
0.156805
0
0
0
0
0
1
0
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d795c19b8a96a9586d55896c435de6fa0e8b0f0
1,331
py
Python
tests/analyze_content.py
c3333/sphereengine-languages
ef76cbffe67407d88519ba1e4bfaa20e3a55ccff
[ "Apache-2.0" ]
5
2019-05-05T15:47:24.000Z
2021-07-22T14:29:13.000Z
tests/analyze_content.py
c3333/sphereengine-languages
ef76cbffe67407d88519ba1e4bfaa20e3a55ccff
[ "Apache-2.0" ]
1
2022-03-29T14:20:04.000Z
2022-03-29T14:20:04.000Z
tests/analyze_content.py
c3333/sphereengine-languages
ef76cbffe67407d88519ba1e4bfaa20e3a55ccff
[ "Apache-2.0" ]
4
2020-02-25T14:30:43.000Z
2021-05-12T10:05:05.000Z
import json import sys import os.path def check_file (filepath, message): global exit_code if not os.path.exists(filepath): print(message % (filepath)) exit_code = 4 if len(sys.argv) < 2: print 'Usage: \npython analyze_content.py {language_id}' sys.exit(1) language_id = sys.argv[1] te...
26.62
79
0.664162
174
1,331
4.925287
0.316092
0.102684
0.099183
0.060677
0.283547
0.215869
0.129522
0.129522
0
0
0
0.006598
0.202855
1,331
49
80
27.163265
0.801131
0
0
0.081081
0
0
0.226316
0
0
0
0
0
0
0
null
null
0
0.081081
null
null
0.054054
0
0
0
null
0
0
0
0
0
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
3d7e4849b4a7c4eaa03a03be6500cc309abdae7a
1,539
py
Python
scripts/grepbetween.py
cogumbreiro/relay-race
8890e889374169dd7649dd9414d54fa75a2226b8
[ "BSD-3-Clause" ]
2
2019-10-05T04:17:01.000Z
2021-03-08T14:30:34.000Z
scripts/grepbetween.py
cogumbreiro/relay-race
8890e889374169dd7649dd9414d54fa75a2226b8
[ "BSD-3-Clause" ]
null
null
null
scripts/grepbetween.py
cogumbreiro/relay-race
8890e889374169dd7649dd9414d54fa75a2226b8
[ "BSD-3-Clause" ]
3
2017-07-04T11:06:22.000Z
2022-02-25T05:55:27.000Z
#!/usr/bin/env python # Does a kind of grep that prints lines between two given regular expressions # (where between is inclusive) import re import sys import optparse #-- main stuff def parsePositionalArgs (argv, parser) : if (len (argv) <= 1) : parser.error("must supply more args") else : s...
26.084746
78
0.545159
179
1,539
4.675978
0.49162
0.038232
0.035842
0.043011
0
0
0
0
0
0
0
0.00997
0.348278
1,539
58
79
26.534483
0.824526
0.093567
0
0.26087
0
0
0.08777
0
0
0
0
0
0
0
null
null
0
0.065217
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
3d7e5cd6393706242b77279f14a2e0ed5594b898
1,004
py
Python
pano/views/radiator.py
jeroenzeegers/panopuppet
5024bf3a8b87a54aade197385438cec80120fac6
[ "Apache-2.0" ]
null
null
null
pano/views/radiator.py
jeroenzeegers/panopuppet
5024bf3a8b87a54aade197385438cec80120fac6
[ "Apache-2.0" ]
1
2021-06-11T00:04:03.000Z
2021-06-11T00:04:03.000Z
pano/views/radiator.py
jeroenzeegers/panopuppet
5024bf3a8b87a54aade197385438cec80120fac6
[ "Apache-2.0" ]
null
null
null
import pytz from django.contrib.auth.decorators import login_required from django.shortcuts import redirect, render from django.views.decorators.cache import cache_page from pano.puppetdb import puppetdb from pano.puppetdb.puppetdb import set_server, get_server from pano.settings import AVAILABLE_SOURCES, CACHE_TIME,...
32.387097
76
0.7251
122
1,004
5.778689
0.401639
0.042553
0.04539
0
0
0
0
0
0
0
0
0
0.169323
1,004
30
77
33.466667
0.845324
0
0
0
0
0
0.111554
0
0
0
0
0
0
1
0.043478
false
0
0.304348
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3d861bff23733040e63b6d5098d5d6854b6b0917
263
py
Python
python/cursoemvideo/010.2.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
python/cursoemvideo/010.2.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
python/cursoemvideo/010.2.py
Gustavo-Martins/learning
a2167b894ab3a4bac5e3d7d4ac6671e1ee89e155
[ "Unlicense" ]
null
null
null
# Reads float and prints BRL money conversion to JPY # In 2020/11/01 JP¥ 1.00 = R$ 0.060 :) brl = float(input('Por favor, digite quanto dinheiro você tem na carteira: R$ ')) jpy = brl / 0.060 print('Com R$ {:.2f} você pode comprar ¥ {:.2f}.'.format(brl, jpy))
32.875
81
0.65019
49
263
3.530612
0.734694
0.046243
0
0
0
0
0
0
0
0
0
0.098131
0.186312
263
7
82
37.571429
0.700935
0.334601
0
0
0
0
0.581395
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
3d8e7f136b7d65ae006f3ced5368122d67870d65
494
py
Python
setup.py
garryFromGermany/rescale_for_vis
ffbc5b64b4884fff575723d63e42677bb30b59cb
[ "MIT" ]
null
null
null
setup.py
garryFromGermany/rescale_for_vis
ffbc5b64b4884fff575723d63e42677bb30b59cb
[ "MIT" ]
null
null
null
setup.py
garryFromGermany/rescale_for_vis
ffbc5b64b4884fff575723d63e42677bb30b59cb
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='rescaleforvis', version='1.0', description='Maps each number of a short list to a whole number, such that the order of the magnitudes of the differences between any two numbers is preserved.', url='https://github.com/garryFromGermany/rescale_for_vis', ...
32.933333
167
0.692308
64
494
5.265625
0.859375
0.029674
0
0
0
0
0
0
0
0
0
0.005051
0.198381
494
14
168
35.285714
0.84596
0
0
0
0
0.090909
0.533469
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
3d8f3fa7a7771d3cba10e8bf6d707d213cc4b08d
351
py
Python
tests/test_record.py
Alzpeta/oarepo-actions
6b46aecf5e1d45a7a6d65c47a1697ff3e2ed99fa
[ "MIT" ]
null
null
null
tests/test_record.py
Alzpeta/oarepo-actions
6b46aecf5e1d45a7a6d65c47a1697ff3e2ed99fa
[ "MIT" ]
4
2021-01-20T09:06:27.000Z
2021-03-09T20:39:24.000Z
tests/test_record.py
Alzpeta/oarepo-actions
6b46aecf5e1d45a7a6d65c47a1697ff3e2ed99fa
[ "MIT" ]
4
2020-09-08T13:07:30.000Z
2020-11-02T17:58:07.000Z
import json def test_response(app, db, client): response = client.post('/records/', data=json.dumps({"title": "necooo"}), content_type='application/json') assert response.status_code == 201 url = "https://localhost:5000/records/kch" response = client.post(url) print("res" + str(response)) ass...
31.909091
110
0.683761
45
351
5.244444
0.666667
0.118644
0.152542
0.20339
0
0
0
0
0
0
0
0.033784
0.156695
351
11
111
31.909091
0.763514
0
0
0
0
0
0.207386
0
0
0
0
0
0.25
1
0.125
false
0
0.125
0
0.25
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
3d9ab9e8c8ab325a894b2d71a23c73a5b0dea83f
1,059
py
Python
fibonacci.py
amoghmadan/CS-101
9a162a09ca19a2cdbf83e54bae90bc98f5786d42
[ "MIT" ]
4
2020-10-30T11:29:36.000Z
2020-12-11T08:41:44.000Z
fibonacci.py
amoghmadan/CS-101
9a162a09ca19a2cdbf83e54bae90bc98f5786d42
[ "MIT" ]
null
null
null
fibonacci.py
amoghmadan/CS-101
9a162a09ca19a2cdbf83e54bae90bc98f5786d42
[ "MIT" ]
1
2021-02-11T09:02:25.000Z
2021-02-11T09:02:25.000Z
class Fibonacci(object): """Generate Fibonacci Numbers""" def __init__(self, length, first=0, second=1): """Set length and initials for the series""" if not isinstance(length, int): raise TypeError("Expected length to be 'int' got '%s'" % (length.__class__.__name__, )) if l...
34.16129
99
0.595845
126
1,059
4.753968
0.333333
0.026711
0.075125
0.125209
0.055092
0
0
0
0
0
0
0.008032
0.294618
1,059
30
100
35.3
0.793842
0.117092
0
0
1
0
0.155604
0
0
0
0
0
0
1
0.105263
false
0
0
0
0.157895
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
3d9bf0a8706d3e02fd0db0d01afefff26477e60e
420
py
Python
db/models/example.py
thesnapdragon/python-cli
52c2a895dd43cc2e6f8fb39ef64461a615c15170
[ "MIT" ]
null
null
null
db/models/example.py
thesnapdragon/python-cli
52c2a895dd43cc2e6f8fb39ef64461a615c15170
[ "MIT" ]
null
null
null
db/models/example.py
thesnapdragon/python-cli
52c2a895dd43cc2e6f8fb39ef64461a615c15170
[ "MIT" ]
null
null
null
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String Base = declarative_base() class Example(Base): __tablename__ = 'examples' id = Column(Integer, primary_key=True) name = Column(String) def __init__(self, id_, name): self.id = id_ ...
22.105263
57
0.664286
52
420
5.038462
0.461538
0.068702
0.076336
0
0
0
0
0
0
0
0
0
0.221429
420
18
58
23.333333
0.801223
0
0
0
0
0
0.059524
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.083333
0.75
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
3daadfc67f8e0720a40af9a9cafe230a1dd5e03a
2,690
py
Python
custom_components/acer_air_monitor/config_flow.py
LeandroIssa/acer-air-monitor-2018
0d394eb6a228d950802fc1f94bbe6189cd902ea3
[ "MIT" ]
null
null
null
custom_components/acer_air_monitor/config_flow.py
LeandroIssa/acer-air-monitor-2018
0d394eb6a228d950802fc1f94bbe6189cd902ea3
[ "MIT" ]
13
2021-10-04T16:27:08.000Z
2022-03-18T16:17:39.000Z
custom_components/acer_air_monitor/config_flow.py
LeandroIssa/acer-air-monitor-2018
0d394eb6a228d950802fc1f94bbe6189cd902ea3
[ "MIT" ]
1
2022-03-02T16:22:40.000Z
2022-03-02T16:22:40.000Z
"""Adds config flow for Acer air monitor.""" import logging from homeassistant import config_entries from homeassistant.helpers.aiohttp_client import async_create_clientsession import voluptuous as vol from .const import CONF_EMAIL, CONF_PASSWORD, DOMAIN, USER_ATTR from .lib.api import AirMonitorAuthApiClient _LOGGE...
34.487179
93
0.625279
303
2,690
5.260726
0.369637
0.079046
0.057089
0.045169
0.096612
0.096612
0.096612
0.096612
0
0
0
0.001042
0.286245
2,690
77
94
34.935065
0.829167
0.126022
0
0.08
0
0
0.01005
0
0
0
0
0
0
1
0.02
false
0.12
0.12
0
0.3
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
3db37484da6d9ea208a9f9fc2eb05a6064df9a1a
683
py
Python
aa_stripe/migrations/0006_subscription_end_cancel.py
Icheka/django-stripe-api-integration
2c26fdc4d4b85786fa933063f6eda2c81a8fd045
[ "MIT" ]
5
2017-07-01T22:28:58.000Z
2018-05-26T01:14:01.000Z
aa_stripe/migrations/0006_subscription_end_cancel.py
Icheka/django-stripe-api-integration
2c26fdc4d4b85786fa933063f6eda2c81a8fd045
[ "MIT" ]
55
2017-06-06T09:21:01.000Z
2019-07-10T11:18:31.000Z
aa_stripe/migrations/0006_subscription_end_cancel.py
Icheka/django-stripe-api-integration
2c26fdc4d4b85786fa933063f6eda2c81a8fd045
[ "MIT" ]
3
2017-11-03T14:40:30.000Z
2019-02-26T05:19:30.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-13 10:14 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('aa_stripe', '0005_auto_20170613_0614'), ] operations = [ migrations.AddFiel...
26.269231
77
0.619327
74
683
5.513514
0.648649
0.088235
0.112745
0.132353
0.377451
0.377451
0.137255
0
0
0
0
0.065737
0.265007
683
25
78
27.32
0.747012
0.099561
0
0.333333
1
0
0.142157
0.037582
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3db6864afe738d95d356d3602fa075ca33b4db26
251
py
Python
index/templatetags/likearticleship_tags.py
knowwinter/monkey
4689e765d0a254abef26a33a51b33a1158bebecd
[ "Apache-2.0" ]
null
null
null
index/templatetags/likearticleship_tags.py
knowwinter/monkey
4689e765d0a254abef26a33a51b33a1158bebecd
[ "Apache-2.0" ]
null
null
null
index/templatetags/likearticleship_tags.py
knowwinter/monkey
4689e765d0a254abef26a33a51b33a1158bebecd
[ "Apache-2.0" ]
null
null
null
from django import template from django.utils.encoding import force_text register = template.Library() @register.filter def pk_list(ship_set): ship_list = [] for ship in ship_set: ship_list.append(ship.user.pk) return ship_list
19.307692
44
0.733068
37
251
4.783784
0.567568
0.135593
0.124294
0.169492
0
0
0
0
0
0
0
0
0.187251
251
12
45
20.916667
0.867647
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3dba4d0220befff0bc767ed9edc2ce85d3b9b9ff
14,737
py
Python
laser_width/first_position/14_mm/pyroot_analyse.py
beckstev/purdue_laser_box
aa4fbf2f3cf6a43fea0a8939d2b22005ffae9bc0
[ "MIT" ]
null
null
null
laser_width/first_position/14_mm/pyroot_analyse.py
beckstev/purdue_laser_box
aa4fbf2f3cf6a43fea0a8939d2b22005ffae9bc0
[ "MIT" ]
null
null
null
laser_width/first_position/14_mm/pyroot_analyse.py
beckstev/purdue_laser_box
aa4fbf2f3cf6a43fea0a8939d2b22005ffae9bc0
[ "MIT" ]
null
null
null
import ROOT as root import numpy as np import time import uncertainties.unumpy as unp from uncertainties import ufloat from uncertainties.unumpy import nominal_values as noms from uncertainties.unumpy import std_devs as stds from uncertainties import correlated_values from array import array import os ##############...
39.615591
166
0.686096
2,178
14,737
4.295684
0.208907
0.126977
0.169303
0.211629
0.680098
0.255451
0.208209
0.159256
0.143865
0.130825
0
0.158158
0.065549
14,737
371
167
39.722372
0.52124
0.053946
0
0.108696
0
0
0.042806
0.021236
0
0
0
0
0
1
0
false
0
0.036232
0
0.036232
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
3dbf177a1e43a5424ad632bdbab739d0ccf6cfdf
7,803
py
Python
objective_functions_tsaiwu.py
bennifuchs/TsaiWu-Python
7508348a58fa9e7f43b50104d79a3b4fa1101af4
[ "MIT" ]
null
null
null
objective_functions_tsaiwu.py
bennifuchs/TsaiWu-Python
7508348a58fa9e7f43b50104d79a3b4fa1101af4
[ "MIT" ]
null
null
null
objective_functions_tsaiwu.py
bennifuchs/TsaiWu-Python
7508348a58fa9e7f43b50104d79a3b4fa1101af4
[ "MIT" ]
2
2017-05-17T19:37:23.000Z
2020-12-14T16:51:58.000Z
''' Created on Jul 6, 2016 @author: benni ''' import numpy as np from YieldFunctions import yfTsaiWuLists import shelve import scipy.optimize as scop import matplotlib.pyplot as plt import scipy.special as special def residuals_yf(params, sig_ax, sig_r, beta, weights): # extract single structural vector a...
33.48927
123
0.548763
1,093
7,803
3.78957
0.224154
0.025109
0.02535
0.02028
0.394013
0.35297
0.278127
0.265814
0.265814
0.242154
0
0.082065
0.309753
7,803
232
124
33.633621
0.686966
0.283737
0
0.186441
0
0
0.056477
0.005465
0
0
0
0
0
0
null
null
0
0.050847
null
null
0.161017
0
0
0
null
0
0
0
0
0
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
3dced3049caa0cf23c67c525a81dea27510c32bb
3,979
py
Python
aiounifi/dpi.py
rfleming71/aiounifi
52cda5c56c384ef2f3892e7569d514dedf48f9df
[ "MIT" ]
null
null
null
aiounifi/dpi.py
rfleming71/aiounifi
52cda5c56c384ef2f3892e7569d514dedf48f9df
[ "MIT" ]
null
null
null
aiounifi/dpi.py
rfleming71/aiounifi
52cda5c56c384ef2f3892e7569d514dedf48f9df
[ "MIT" ]
null
null
null
"""DPI Restrictions as part of a UniFi network.""" import asyncio from typing import List, Optional from .api import APIItem, APIItems GROUP_URL = "/rest/dpigroup" # List DPI Group configuration APP_URL = "/rest/dpiapp" # List DPI App configuration class DPIItems(APIItems): """Custom process method for DPI.""...
26.704698
80
0.603167
489
3,979
4.717791
0.192229
0.051582
0.073255
0.048548
0.435631
0.318162
0.29042
0.259211
0.230603
0.169051
0
0
0.273938
3,979
148
81
26.885135
0.798546
0.0857
0
0.333333
0
0
0.050961
0
0
0
0
0
0
1
0.1875
false
0
0.03125
0.145833
0.447917
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
3dd4295dbfa94564b01d1fad6fa1089a24fc8542
1,863
py
Python
python/graph.py
batterseapower/timeseries-compression
3269a5bb7a5d38b9314b04914e7932d9c71be6b3
[ "Apache-2.0" ]
5
2016-02-01T17:54:11.000Z
2020-04-15T20:56:10.000Z
python/graph.py
batterseapower/timeseries-compression
3269a5bb7a5d38b9314b04914e7932d9c71be6b3
[ "Apache-2.0" ]
null
null
null
python/graph.py
batterseapower/timeseries-compression
3269a5bb7a5d38b9314b04914e7932d9c71be6b3
[ "Apache-2.0" ]
null
null
null
import numpy as np import pandas as pd import ctypes from datetime import date from matplotlib import pyplot as plt def f2l(x): return ctypes.cast((ctypes.c_float*1)(x), ctypes.POINTER(ctypes.c_int)).contents.value vod = pd.read_csv('VOD.csv').set_index('Date') vod.index = pd.DatetimeIndex(vod.index) xs = vod.reind...
33.872727
97
0.663983
298
1,863
4.087248
0.312081
0.019704
0.032841
0.078818
0.269294
0.205255
0.205255
0.155993
0.155993
0.155993
0
0.037318
0.151369
1,863
54
98
34.5
0.73308
0.044015
0
0.170732
0
0
0.155231
0
0
0
0.032621
0
0
0
null
null
0
0.121951
null
null
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3dd91861e4769250892a32c6afa8f97aab8b8500
23,404
py
Python
src/spike_beans/components.py
espenhgn/SpikeSort
68dbc2180609e0e7430453229ab1f3a2b2d59bdc
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/spike_beans/components.py
espenhgn/SpikeSort
68dbc2180609e0e7430453229ab1f3a2b2d59bdc
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/spike_beans/components.py
espenhgn/SpikeSort
68dbc2180609e0e7430453229ab1f3a2b2d59bdc
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
''' Created on Feb 9, 2011 @author: bartosz ''' import spike_sort as sort import base from spike_sort.io.filters import BakerlabFilter, PyTablesFilter from spike_sort import features from spike_sort.ui import plotting from spike_sort.ui import zoomer from spike_analysis import dashboard import numpy as np class Gen...
35.353474
90
0.567809
2,538
23,404
4.967297
0.117415
0.01523
0.031411
0.008091
0.353454
0.313873
0.28032
0.238042
0.198065
0.188784
0
0.004435
0.335242
23,404
661
91
35.406959
0.805888
0.004102
0
0.368526
0
0
0.043076
0
0
0
0
0.001513
0
0
null
null
0
0.017928
null
null
0.005976
0
0
0
null
0
0
0
0
0
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
3ddad7910c26d1505371cce4ad17ca2c1a1a4005
246
py
Python
grabstats/__version__.py
kndo/grabstats
1eb71fe75755097618a28c89fab5a57105b004cd
[ "MIT" ]
null
null
null
grabstats/__version__.py
kndo/grabstats
1eb71fe75755097618a28c89fab5a57105b004cd
[ "MIT" ]
null
null
null
grabstats/__version__.py
kndo/grabstats
1eb71fe75755097618a28c89fab5a57105b004cd
[ "MIT" ]
null
null
null
__title__ = 'grabstats' __description__ = 'Scrape NBA stats from Basketball-Reference' __url__ = 'https://github.com/kndo/grabstats' __version__ = '0.1.0' __author__ = 'Khanh Do' __author_email__ = 'dokhanh@gmail.com' __license__ = 'MIT License'
30.75
62
0.760163
30
246
5.266667
0.833333
0
0
0
0
0
0
0
0
0
0
0.013699
0.109756
246
7
63
35.142857
0.707763
0
0
0
0
0
0.50813
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3de082e387f2853db720c580646614ecc7d56023
2,063
py
Python
dbhandler.py
sgaines/Book-Log
c8380e9d14589b76b7c3012cf3ae65da08997583
[ "MIT" ]
null
null
null
dbhandler.py
sgaines/Book-Log
c8380e9d14589b76b7c3012cf3ae65da08997583
[ "MIT" ]
null
null
null
dbhandler.py
sgaines/Book-Log
c8380e9d14589b76b7c3012cf3ae65da08997583
[ "MIT" ]
null
null
null
import os.path import sqlite3 class DataBase(object): '''Requires the path and name of the dataBase to run operations on.''' def __init__(self, path, user): self.path = path self.user = user # Checks if the user has a database already. if not os.path.isfile('%s/%s.db...
33.819672
75
0.541444
238
2,063
4.621849
0.37395
0.08
0.025455
0.058182
0.22
0.22
0.22
0.22
0.22
0.22
0
0.006565
0.335434
2,063
60
76
34.383333
0.79577
0.113427
0
0.142857
0
0
0.069149
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3de399f38be20d8504e1e7535abd8772faab2064
1,015
py
Python
Python_calculator.py
AnabeatrizMacedo241/Mini-Projects
5066b247383e077e7588edffb8ba1632f05d9af5
[ "MIT" ]
null
null
null
Python_calculator.py
AnabeatrizMacedo241/Mini-Projects
5066b247383e077e7588edffb8ba1632f05d9af5
[ "MIT" ]
null
null
null
Python_calculator.py
AnabeatrizMacedo241/Mini-Projects
5066b247383e077e7588edffb8ba1632f05d9af5
[ "MIT" ]
null
null
null
import math def adição(x, y): return x+y def subtração(x, y): return x-y def multiplicação(x, y): return x*y def divisão(x, y): return x/y def potencia(x, y): return x**y def raiz(x, y): return math.sqrt(x) print("\n***** Python Calculator *****") print('Escolha uma operação (1/2/3/4/5/6)...
18.796296
58
0.596059
153
1,015
3.954248
0.287582
0.036364
0.079339
0.07438
0.130579
0.130579
0.023141
0
0
0
0
0.054945
0.193103
1,015
53
59
19.150943
0.683761
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0.166667
false
0
0.027778
0.166667
0.361111
0.388889
0
0
0
null
0
0
0
0
0
0
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
3de405a9ec482cb6799cc4757c46dd9b300851c0
103,801
py
Python
tcod/libtcodpy.py
Rakaneth/python-tcod
70ff1895fd7ae87bf66f16e388211db389d983fd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tcod/libtcodpy.py
Rakaneth/python-tcod
70ff1895fd7ae87bf66f16e388211db389d983fd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tcod/libtcodpy.py
Rakaneth/python-tcod
70ff1895fd7ae87bf66f16e388211db389d983fd
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
"""This module handles backward compatibility with the ctypes libtcodpy module. """ from __future__ import absolute_import as _ import os import sys import threading as _threading from typing import Any, AnyStr, Optional, Sequence, Tuple import warnings import numpy as _np import numpy as np from tcod.libtcod impo...
34.223871
108
0.632383
14,720
103,801
4.320109
0.075815
0.021905
0.01453
0.004529
0.504309
0.439584
0.400632
0.361728
0.324852
0.298387
0
0.009719
0.256587
103,801
3,032
109
34.235158
0.814364
0.467693
0
0.166369
0
0
0.078048
0.002909
0
0
0.000081
0
0
1
0.242397
false
0.000894
0.020572
0.031306
0.413238
0.008945
0
0
0
null
0
0
0
0
0
0
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
3de485a2f3359de443c93acbb863f9ac3b7a2812
52,215
py
Python
source_code/uqt.py
iagolemos1/Uncertainty-Quantification-Toolbox
453316ea303d874bca12798f8ed1e57d72b3e474
[ "MIT" ]
null
null
null
source_code/uqt.py
iagolemos1/Uncertainty-Quantification-Toolbox
453316ea303d874bca12798f8ed1e57d72b3e474
[ "MIT" ]
null
null
null
source_code/uqt.py
iagolemos1/Uncertainty-Quantification-Toolbox
453316ea303d874bca12798f8ed1e57d72b3e474
[ "MIT" ]
null
null
null
# MIT License # Copyright (c) 2020 Iago Pereira Lemos # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, me...
36.61641
138
0.520349
6,878
52,215
3.833091
0.310701
0.007586
0.009558
0.017524
0.455014
0.436011
0.418411
0.398536
0.384691
0.375588
0
0.212956
0.351681
52,215
1,425
139
36.642105
0.565727
0.182246
0
0.467949
0
0
0.026056
0.005564
0
0
0
0
0
1
0.057692
false
0
0.016667
0.005128
0.091026
0.032051
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
3dee4090c2bc04bc5ff42f79b61daafa05cca60e
391
py
Python
dictionaries.py
EzechielD/twitter_guessing_game
d2bab0766a8f087e5ddf1ef9489b64f9cc3c82ae
[ "BSD-2-Clause" ]
null
null
null
dictionaries.py
EzechielD/twitter_guessing_game
d2bab0766a8f087e5ddf1ef9489b64f9cc3c82ae
[ "BSD-2-Clause" ]
null
null
null
dictionaries.py
EzechielD/twitter_guessing_game
d2bab0766a8f087e5ddf1ef9489b64f9cc3c82ae
[ "BSD-2-Clause" ]
null
null
null
import tweepy from keys import consumer_key, consumer_secret, access_token, access_secret from scrape import auth, api, get_tweets from create import markov, dict_maker auth.set_access_token(access_token, access_secret) #Dictionaries for specific accounts are created here playstation = dict_maker("PlayStation") lil_...
32.583333
75
0.831202
56
391
5.517857
0.607143
0.116505
0.165049
0.148867
0
0
0
0
0
0
0
0
0.102302
391
12
76
32.583333
0.880342
0.130435
0
0
0
0
0.091176
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3df102d0cadf8643def26721b31ba15bfb9b87a8
753
py
Python
app/migrations/0009_auto_20211112_0522.py
EpiReactNative/back
83c0781f134fc3e8e94e0106e61188666b155dda
[ "MIT" ]
null
null
null
app/migrations/0009_auto_20211112_0522.py
EpiReactNative/back
83c0781f134fc3e8e94e0106e61188666b155dda
[ "MIT" ]
null
null
null
app/migrations/0009_auto_20211112_0522.py
EpiReactNative/back
83c0781f134fc3e8e94e0106e61188666b155dda
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-12 04:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0008_alter_user_following'), ] operations = [ migrations.AddField( model_name='post', name='hei...
25.965517
100
0.540505
72
753
5.527778
0.569444
0.067839
0.09799
0.128141
0.356784
0.356784
0
0
0
0
0
0.038153
0.338645
753
28
101
26.892857
0.761044
0.059761
0
0.454545
1
0
0.106195
0.036873
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3df41a6e767335adee2aec4b5d15645845b87cf9
325
py
Python
REST/migrations/0011_remove_user_username.py
KrTG/RunTracker-API
68423269c755fb0e435a51b1587189b447686b26
[ "Apache-2.0" ]
null
null
null
REST/migrations/0011_remove_user_username.py
KrTG/RunTracker-API
68423269c755fb0e435a51b1587189b447686b26
[ "Apache-2.0" ]
null
null
null
REST/migrations/0011_remove_user_username.py
KrTG/RunTracker-API
68423269c755fb0e435a51b1587189b447686b26
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.3 on 2018-04-27 22:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('REST', '0010_auto_20180427_2144'), ] operations = [ migrations.RemoveField( model_name='user', name='username', ), ...
18.055556
47
0.587692
35
325
5.342857
0.857143
0
0
0
0
0
0
0
0
0
0
0.135965
0.298462
325
17
48
19.117647
0.684211
0.138462
0
0
1
0
0.140288
0.082734
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
3df8396fbc811c11df14a148e6fa9a9bd36f3a5b
294
py
Python
Udemy/Boring Stuff with Python/Section 13 -- Web Scraping/req.py
Soluxya/Programming
3abbfc4a099bf7940edde6863c088d123e0de1ab
[ "Apache-2.0" ]
null
null
null
Udemy/Boring Stuff with Python/Section 13 -- Web Scraping/req.py
Soluxya/Programming
3abbfc4a099bf7940edde6863c088d123e0de1ab
[ "Apache-2.0" ]
null
null
null
Udemy/Boring Stuff with Python/Section 13 -- Web Scraping/req.py
Soluxya/Programming
3abbfc4a099bf7940edde6863c088d123e0de1ab
[ "Apache-2.0" ]
null
null
null
import requests res = requests.get('https://automatetheboringstuff.com/files/rj.txt') print(res.status_code) print(len(res.text)) print(res.text[:500]) res.raise_for_status() playFile = open('RomeoAndJuliet.txt', 'wb') for chunk in res.iter_content(100000): playFile.write(chunk) pass
24.5
69
0.748299
43
294
5.023256
0.674419
0.074074
0
0
0
0
0
0
0
0
0
0.033835
0.095238
294
12
70
24.5
0.778195
0
0
0
0
0
0.227119
0
0
0
0
0
0
1
0
false
0.1
0.1
0
0.1
0.3
0
0
0
null
0
0
0
0
0
0
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
3dfccbfdd0b4f90f7ac9b21e270b9edcd2979347
2,460
py
Python
pyne_xmas_elves/server/elves/game/views.py
pythonnortheast/xmas-elves
a8635520a7f17074b5e386c94160781122d84578
[ "MIT" ]
null
null
null
pyne_xmas_elves/server/elves/game/views.py
pythonnortheast/xmas-elves
a8635520a7f17074b5e386c94160781122d84578
[ "MIT" ]
8
2017-12-19T22:53:25.000Z
2022-03-03T22:24:51.000Z
pyne_xmas_elves/server/elves/game/views.py
pythonnortheast/xmas-elves
a8635520a7f17074b5e386c94160781122d84578
[ "MIT" ]
2
2017-12-16T14:06:16.000Z
2017-12-16T15:14:42.000Z
"""Views for Managing a Session. """ from json import dumps from django.http.request import HttpRequest from channels import Group from rest_framework import decorators, response, status, viewsets from .filters import SessionFilterSet from .models import Day, Session from .paginators import ResultsPaginator from .ser...
31.948052
74
0.647561
273
2,460
5.681319
0.344322
0.022566
0.027079
0.018053
0.081238
0
0
0
0
0
0
0.001648
0.260163
2,460
76
75
32.368421
0.850549
0.178049
0
0
0
0
0.015996
0
0
0
0
0
0
1
0.146341
false
0
0.195122
0
0.536585
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
9a78fb90ea50924c8abbb22b67403f8a752ffd4c
1,130
py
Python
backend/corpora/lambdas/api/v1/collection_uuid/publish.py
chanzuckerberg/single-cell-data-portal
d8901ef978ad96de75510d5eb0e459a4790197ea
[ "MIT" ]
7
2021-09-17T23:44:31.000Z
2022-03-25T22:36:07.000Z
backend/corpora/lambdas/api/v1/collection_uuid/publish.py
chanzuckerberg/single-cell-data-portal
d8901ef978ad96de75510d5eb0e459a4790197ea
[ "MIT" ]
784
2021-08-18T23:38:09.000Z
2022-03-31T21:18:54.000Z
backend/corpora/lambdas/api/v1/collection_uuid/publish.py
chanzuckerberg/single-cell-data-portal
d8901ef978ad96de75510d5eb0e459a4790197ea
[ "MIT" ]
2
2021-09-07T19:04:17.000Z
2021-12-23T21:51:36.000Z
from flask import make_response, g from .....common.corpora_orm import CollectionVisibility from .....common.entities import Collection from .....common.utils.exceptions import ConflictException from .....api_server.db import dbconnect from .....common.utils.exceptions import ForbiddenHTTPException from backend.corpo...
38.965517
102
0.767257
131
1,130
6.396947
0.465649
0.047733
0.095465
0.128878
0.073986
0
0
0
0
0
0
0.004137
0.144248
1,130
28
103
40.357143
0.862461
0
0
0
0
0
0.088496
0.026549
0
0
0
0
0
1
0.043478
false
0
0.304348
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
0
0
0
1
0
0
0
0
1
9a7e4358510f69a5e3a9f1dae19323c22aa1bd21
2,209
py
Python
utils.py
cailllev/File_Encription
0b2d8d020ef1fa0bb6c8add53a75c8a7462a0e7e
[ "MIT" ]
null
null
null
utils.py
cailllev/File_Encription
0b2d8d020ef1fa0bb6c8add53a75c8a7462a0e7e
[ "MIT" ]
null
null
null
utils.py
cailllev/File_Encription
0b2d8d020ef1fa0bb6c8add53a75c8a7462a0e7e
[ "MIT" ]
null
null
null
from hashlib import pbkdf2_hmac from string import punctuation from secrets import token_bytes HASH_ROUNDS = 2**16 def create_header(algo: str) -> str: return "======== " + algo + " ========\n" def get_header(cipher: bytes) -> bytes: header = cipher.split(b"\n")[0] return header.replace(b"=", b"").repl...
32.014493
100
0.627886
315
2,209
4.263492
0.320635
0.020104
0.036485
0.067014
0.372301
0.352941
0.31869
0.256143
0.256143
0.256143
0
0.021072
0.248076
2,209
68
101
32.485294
0.787477
0.089181
0
0.181818
0
0
0.193725
0.010458
0
0
0
0
0
1
0.113636
false
0.340909
0.068182
0.045455
0.454545
0.136364
0
0
0
null
0
0
0
0
0
0
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
9a81da2480cce90c772589ddcdabe7d812c8ea61
1,985
py
Python
kubeflow/pipelines/pytorch-mnist/handwritten-digit-recog-pipeline.py
Rajpratik71/stacks-usecase
19272c2d7f9ece306024b4bc9c97a0f9354c5f89
[ "Apache-2.0" ]
15
2019-09-19T09:32:11.000Z
2021-03-25T15:45:11.000Z
kubeflow/pipelines/pytorch-mnist/handwritten-digit-recog-pipeline.py
Rajpratik71/stacks-usecase
19272c2d7f9ece306024b4bc9c97a0f9354c5f89
[ "Apache-2.0" ]
8
2019-11-01T12:13:15.000Z
2020-04-06T19:18:13.000Z
kubeflow/pipelines/pytorch-mnist/handwritten-digit-recog-pipeline.py
Rajpratik71/stacks-usecase
19272c2d7f9ece306024b4bc9c97a0f9354c5f89
[ "Apache-2.0" ]
21
2019-09-19T16:57:41.000Z
2021-09-23T04:57:25.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
27.569444
96
0.66801
269
1,985
4.825279
0.468401
0.046225
0.039291
0.024653
0.1302
0.066256
0
0
0
0
0
0.007129
0.22267
1,985
71
97
27.957746
0.834089
0.276071
0
0.175
0
0
0.238054
0.076455
0
0
0
0
0
0
null
null
0
0.075
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
9a897564b7364b96b13a03c76da93b989bbedb76
1,331
py
Python
ref.neo/sys/linux/process.py
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
ref.neo/sys/linux/process.py
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
ref.neo/sys/linux/process.py
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # process stdin into an M4 macro definition file # recognize three keyword qgl qwgl qglX # # output # global macros keep track of the three intervals for function types: # gl_start gl_end wgl_start wgl_end glX_start glX_end # NOTE: will we need similar thing for extensions? # # each function: # f<...
31.690476
82
0.640872
235
1,331
3.531915
0.353191
0.09759
0.151807
0.216867
0.355422
0.189157
0.122892
0.103614
0
0
0
0.012965
0.130729
1,331
41
83
32.463415
0.704408
0.392938
0
0
0
0
0.224619
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9a8ecdf0fc3de90c6dfa99f99090d3a3a70db6f2
1,779
py
Python
dsapy/Heap.py
GoldExplosion/dsaPython
457408a85f666f859646240c0f82779565cdc2fd
[ "MIT" ]
null
null
null
dsapy/Heap.py
GoldExplosion/dsaPython
457408a85f666f859646240c0f82779565cdc2fd
[ "MIT" ]
null
null
null
dsapy/Heap.py
GoldExplosion/dsaPython
457408a85f666f859646240c0f82779565cdc2fd
[ "MIT" ]
null
null
null
class Heap(): """ Min. Heap Class. PARAMETERS ========== arr: list heap array METHODS ======= parent(n): PARAMETERS ========== n: int index position of the child. RETURNS ======= int parent index...
17.441176
42
0.414278
207
1,779
3.52657
0.246377
0.134247
0.032877
0.041096
0.152055
0.120548
0.120548
0.120548
0.120548
0.120548
0
0.017085
0.440697
1,779
101
43
17.613861
0.716583
0.317032
0
0.102564
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.358974
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
9a8f26f55f6746038bdc4a7893fe046587b3a717
1,124
py
Python
models/VQVAE2/config.py
markpp/pl_bolts
d11b684b9c03dd6ab9dedae034fdf39cf0b8c63f
[ "MIT" ]
null
null
null
models/VQVAE2/config.py
markpp/pl_bolts
d11b684b9c03dd6ab9dedae034fdf39cf0b8c63f
[ "MIT" ]
null
null
null
models/VQVAE2/config.py
markpp/pl_bolts
d11b684b9c03dd6ab9dedae034fdf39cf0b8c63f
[ "MIT" ]
null
null
null
from argparse import Namespace hparams = Namespace(**{# data 'name': 'VQVAE2', 'dataset': 'training', 'data': '../../../data/sewer/paper/', 'save_dir': 'logs/', 'image_size': 128, #...
41.62963
61
0.282028
74
1,124
4.081081
0.756757
0.046358
0
0
0
0
0
0
0
0
0
0.095672
0.609431
1,124
26
62
43.230769
0.592255
0.016904
0
0
0
0
0.208901
0.023615
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
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
9a939011ffff2755ee0cb1382a7c57afbf5875fc
375
py
Python
chess/player.py
taylorzhang2/chessbot
ebc1be0428a4706c1b6087faa4eaacd4650b9176
[ "MIT" ]
4
2018-10-09T04:08:52.000Z
2021-05-17T09:51:36.000Z
chess/player.py
taylorzhang2/chessbot
ebc1be0428a4706c1b6087faa4eaacd4650b9176
[ "MIT" ]
1
2020-06-30T23:25:49.000Z
2020-06-30T23:48:16.000Z
chess/player.py
taylorzhang2/chessbot
ebc1be0428a4706c1b6087faa4eaacd4650b9176
[ "MIT" ]
6
2019-02-08T08:05:38.000Z
2021-06-11T08:04:06.000Z
#player class #constructor: player = white or black class Player: def __init__(self, player, username): self.player = player self.username = username def move(self, move): return def print(self): print(self.player) print(self.username) if __name__ == "__main__"...
22.058824
41
0.594667
43
375
4.906977
0.418605
0.14218
0
0
0
0
0
0
0
0
0
0
0.290667
375
16
42
23.4375
0.793233
0.128
0
0
0
0
0.058462
0
0
0
0
0
0
1
0.25
false
0
0
0.083333
0.416667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9a9dde1fd301ade8e4e1124cd49080250d3eecc2
568
py
Python
set1/c04.py
azuline/cryptopals
22280022fffad3bfb44bfc443abea0bad1125c8b
[ "Apache-2.0" ]
null
null
null
set1/c04.py
azuline/cryptopals
22280022fffad3bfb44bfc443abea0bad1125c8b
[ "Apache-2.0" ]
null
null
null
set1/c04.py
azuline/cryptopals
22280022fffad3bfb44bfc443abea0bad1125c8b
[ "Apache-2.0" ]
null
null
null
""" Detect single-character XOR """ import sys # isort:skip from pathlib import Path # isort:skip sys.path.append(str(Path(__file__).parent.resolve().parent)) from itertools import chain from set1.c03 import get_options, select_option DATA_PATH = Path(__file__).parent / "data" / "04.txt" if __name__ == "__main...
22.72
62
0.700704
80
568
4.675
0.5625
0.048128
0.074866
0
0
0
0
0
0
0
0
0.010549
0.165493
568
24
63
23.666667
0.778481
0.088028
0
0
0
0
0.090373
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.083333
0
0
0
null
0
0
0
0
0
0
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
9aa189ef11e406278925c3212a8d1184df1e277c
2,378
py
Python
chunked_media/utils.py
CerealBoxMedia/chunked_media
324d9b7d76323fa1ca5296d733b82dc5ab5f98c0
[ "BSD-2-Clause" ]
null
null
null
chunked_media/utils.py
CerealBoxMedia/chunked_media
324d9b7d76323fa1ca5296d733b82dc5ab5f98c0
[ "BSD-2-Clause" ]
null
null
null
chunked_media/utils.py
CerealBoxMedia/chunked_media
324d9b7d76323fa1ca5296d733b82dc5ab5f98c0
[ "BSD-2-Clause" ]
null
null
null
import os from django.conf import settings from wagtail import VERSION as WAGTAIL_VERSION if WAGTAIL_VERSION < (2, 5): from wagtail.utils.pagination import paginate else: from django.core.paginator import Paginator DEFAULT_PAGE_KEY = 'p' def paginate(request, items, page_key=DEFAULT_PAGE_KEY, per_pag...
40.305085
137
0.686291
329
2,378
4.796353
0.395137
0.069708
0.047529
0.022814
0.106464
0.072243
0.072243
0.072243
0.072243
0.072243
0
0.003288
0.232548
2,378
59
138
40.305085
0.86137
0.415055
0
0.125
0
0
0.056934
0.054015
0
0
0
0.016949
0
1
0.09375
false
0
0.1875
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9aa6e5e71cae14a45d4d6d619310939fa9f444de
820
py
Python
app/web/wish.py
ttkltll2/fisher_review
01070316d1e0854fb03460956b67c5c2ed0030be
[ "MIT" ]
null
null
null
app/web/wish.py
ttkltll2/fisher_review
01070316d1e0854fb03460956b67c5c2ed0030be
[ "MIT" ]
null
null
null
app/web/wish.py
ttkltll2/fisher_review
01070316d1e0854fb03460956b67c5c2ed0030be
[ "MIT" ]
null
null
null
from flask import flash, redirect, url_for from flask_login import login_required, current_user from app.models.base import db from app.models.wish import Wish from . import web @web.route('/my/wish') def my_wish(): #传入一个uid,就可以得到一个wish列表,只不过,如果转化成书呢,得到的列表, pass @web.route('/wish/book/<isbn>') @login_requ...
21.578947
58
0.67561
117
820
4.57265
0.418803
0.059813
0.052336
0.059813
0.08972
0.08972
0
0
0
0
0
0
0.196341
820
37
59
22.162162
0.811836
0.04878
0
0.115385
0
0
0.152956
0.101542
0
0
0
0
0
1
0.153846
false
0.115385
0.192308
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9aa8b327fdbb67540d3dd53b5511f355f6ca9b7c
2,006
py
Python
ServerData.py
e-ivanov/monitoring_agent
f0a554dad6c2e8b1eabdc8ae54a9fd6a24f4e1f2
[ "Apache-2.0" ]
null
null
null
ServerData.py
e-ivanov/monitoring_agent
f0a554dad6c2e8b1eabdc8ae54a9fd6a24f4e1f2
[ "Apache-2.0" ]
null
null
null
ServerData.py
e-ivanov/monitoring_agent
f0a554dad6c2e8b1eabdc8ae54a9fd6a24f4e1f2
[ "Apache-2.0" ]
null
null
null
from CpuData import CpuData from DiskStats import DiskStats from MemoryStats import MemoryStats from NetworkStats import NetworkStats import datetime, uuid class ServerData: def __init__(self, stat_provider, config): self.__serverId = config.get("server_id", "serverid") self.__stat_provider = stat...
31.84127
71
0.651047
210
2,006
5.633333
0.209524
0.091293
0.108199
0.096365
0
0
0
0
0
0
0
0.00203
0.26321
2,006
62
72
32.354839
0.798376
0
0
0
0
0
0.048853
0
0
0
0
0
0
1
0.196078
false
0.019608
0.098039
0.117647
0.45098
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
9aac57e43210c232bf2e7e8882b123b4251adecd
487
py
Python
seminar-roulette/backend/migrations/0015_auto_20201026_1745.py
olliegardner/seminar-roulette
c8330258778dd7f71b1289c5dfe611e5637cf71d
[ "MIT" ]
null
null
null
seminar-roulette/backend/migrations/0015_auto_20201026_1745.py
olliegardner/seminar-roulette
c8330258778dd7f71b1289c5dfe611e5637cf71d
[ "MIT" ]
null
null
null
seminar-roulette/backend/migrations/0015_auto_20201026_1745.py
olliegardner/seminar-roulette
c8330258778dd7f71b1289c5dfe611e5637cf71d
[ "MIT" ]
1
2020-10-07T16:21:59.000Z
2020-10-07T16:21:59.000Z
# Generated by Django 3.1.2 on 2020-10-26 17:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('backend', '0014_auto_20201026_1745'), ] operations = [ migrations.AlterField( model_name='semin...
24.35
115
0.644764
56
487
5.517857
0.696429
0.07767
0.090615
0.142395
0
0
0
0
0
0
0
0.083333
0.23614
487
19
116
25.631579
0.747312
0.092402
0
0
1
0
0.138636
0.052273
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
9aad7242a6cbd666bdc72b8934dbd402888837fb
4,765
py
Python
symbolic_pymc/relations/theano/distributions.py
josephwillard/symbolic-pymc
7bef08dd572c3ddc32ddc8e8e3c0b1809b4ce654
[ "Apache-2.0" ]
59
2019-02-16T21:07:48.000Z
2022-03-09T01:01:45.000Z
symbolic_pymc/relations/theano/distributions.py
josephwillard/symbolic-pymc
7bef08dd572c3ddc32ddc8e8e3c0b1809b4ce654
[ "Apache-2.0" ]
56
2019-02-20T09:06:04.000Z
2021-01-08T21:22:23.000Z
symbolic_pymc/relations/theano/distributions.py
josephwillard/symbolic-pymc
7bef08dd572c3ddc32ddc8e8e3c0b1809b4ce654
[ "Apache-2.0" ]
9
2019-02-22T06:22:31.000Z
2021-07-05T10:05:35.000Z
"""Relations pertaining to probability distributions.""" from unification import var from etuples import etuple from kanren import conde, eq from kanren.facts import fact, Relation from . import constant_neq from .. import concat from ...theano.meta import mt derived_dist = Relation("derived_dist") stable_dist = R...
34.528986
100
0.594544
686
4,765
3.854227
0.201166
0.03177
0.037821
0.049168
0.378971
0.31997
0.274206
0.233737
0.179274
0.179274
0
0.010938
0.270934
4,765
137
101
34.781022
0.750144
0.414061
0
0.223881
0
0
0.050479
0.008106
0
0
0
0.021898
0
1
0.014925
false
0
0.104478
0
0.134328
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
9ab73b2e9d8ed227bb4a7c0bdf073e86e9b09e9e
29,678
py
Python
spotify_playlist_apple_music.py
rakslice/spotify_playlist_apple_music
d98ae7b91872d8816d55e1f2e48a2b98e233f5b4
[ "MIT" ]
null
null
null
spotify_playlist_apple_music.py
rakslice/spotify_playlist_apple_music
d98ae7b91872d8816d55e1f2e48a2b98e233f5b4
[ "MIT" ]
8
2018-01-25T17:48:56.000Z
2018-01-27T10:56:55.000Z
spotify_playlist_apple_music.py
rakslice/spotify_playlist_apple_music
d98ae7b91872d8816d55e1f2e48a2b98e233f5b4
[ "MIT" ]
null
null
null
# coding=utf-8 import argparse import ctypes import json import os import re import string import traceback import urllib2 import urlparse # noinspection PyPackageRequirements import bs4 import time import pywinauto import pywinauto.base_wrapper import pywinauto.controls import requests import sys from spamutil impor...
37.710292
191
0.597446
3,530
29,678
4.790085
0.148442
0.011828
0.011355
0.014194
0.275415
0.20291
0.160625
0.127743
0.111361
0.102963
0
0.005474
0.3168
29,678
786
192
37.75827
0.828467
0.056641
0
0.216475
0
0.003831
0.086785
0.00205
0
0
0.000155
0
0.070881
0
null
null
0
0.036398
null
null
0.017241
0
0
0
null
0
0
0
0
0
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
9ab777829a90618cdaec9dcb974f04bd79f16e52
1,037
py
Python
peeringdb/tests/test_get_asn.py
mihalysz/peeringdb-py
941902dd6829121134f56f20123ea16b1718ed3a
[ "Apache-2.0" ]
2
2015-08-25T13:46:41.000Z
2020-03-22T19:19:13.000Z
peeringdb/tests/test_get_asn.py
plajjan/peeringdb-py
941902dd6829121134f56f20123ea16b1718ed3a
[ "Apache-2.0" ]
null
null
null
peeringdb/tests/test_get_asn.py
plajjan/peeringdb-py
941902dd6829121134f56f20123ea16b1718ed3a
[ "Apache-2.0" ]
2
2016-11-09T23:13:50.000Z
2020-12-10T06:06:29.000Z
#!/usr/bin/env python import unittest from peeringdb.PeeringDB import PeeringDB class TestASN(unittest.TestCase): PDB = None def setUp(self): self.PDB = PeeringDB(cache=False) # Real networks that exist and have PeeringDB entries def test_exists_768(self): # JANET UK asn =...
23.044444
74
0.650916
138
1,037
4.731884
0.442029
0.064319
0.07657
0.099541
0.203675
0.151608
0.119449
0.119449
0
0
0
0.050649
0.257473
1,037
44
75
23.568182
0.797403
0.226615
0
0.304348
0
0
0.013836
0
0
0
0
0
0.217391
1
0.26087
false
0
0.086957
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9ac546fe9102103b339c6067329c3cde5373a05a
2,576
py
Python
integration/test/check_trace.py
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
integration/test/check_trace.py
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
integration/test/check_trace.py
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # # Copyright (c) 2015 - 2022, Intel Corporation # SPDX-License-Identifier: BSD-3-Clause # """Basic sanity checks of trace files. These methods can be used in other tests, or this script can be run against a set of trace files given as input. """ import sys import glob import unittest impor...
30.305882
93
0.650621
382
2,576
4.212042
0.390052
0.063393
0.02486
0.022374
0.045991
0
0
0
0
0
0
0.020791
0.234472
2,576
84
94
30.666667
0.795132
0.220109
0
0.078431
0
0
0.082075
0
0
0
0
0.011905
0.078431
1
0.039216
false
0
0.098039
0
0.156863
0.019608
0
0
0
null
0
0
0
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
9ac7e1a160b745c66dae14b833cf62652c759b2a
1,077
py
Python
PreferredPlus/urls.py
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
PreferredPlus/urls.py
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
PreferredPlus/urls.py
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls.static import static from django.urls import include, path, re_path from django.views.generic import TemplateView from text.views import MainDetailView, MainView, SiteDataView from listing.views import ListingHomeView from django.contrib import admin urlpattern...
43.08
107
0.755803
139
1,077
5.705036
0.345324
0.063052
0.070618
0.090794
0.15889
0.105927
0.105927
0.105927
0.105927
0
0
0
0.095636
1,077
24
108
44.875
0.814168
0.068709
0
0
0
0
0.188811
0
0
0
0
0
0
1
0
false
0
0.388889
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9acf83519d067dfb8876083d389a4c884ad3a8dc
923
py
Python
more/emit/tests/test_emit.py
morepath/more.emit
1a6734a864e44de4d8ab55c95092f4d22619cb23
[ "BSD-3-Clause" ]
null
null
null
more/emit/tests/test_emit.py
morepath/more.emit
1a6734a864e44de4d8ab55c95092f4d22619cb23
[ "BSD-3-Clause" ]
2
2020-09-07T13:57:03.000Z
2021-04-18T14:36:35.000Z
more/emit/tests/test_emit.py
morepath/more.emit
1a6734a864e44de4d8ab55c95092f4d22619cb23
[ "BSD-3-Clause" ]
null
null
null
from webtest import TestApp as Client from more.emit import EmitApp from io import StringIO def test_emit(): message = StringIO() class App(EmitApp): pass @App.signal.on("myevent") def handler1(arg, request): message.write("handler1 called with %s\n" % arg) @App.signal.on("mye...
20.977273
62
0.614301
115
923
4.913043
0.382609
0.106195
0.092035
0.063717
0.288496
0.219469
0.155752
0.155752
0.155752
0
0
0.011594
0.252438
923
43
63
21.465116
0.807246
0
0
0.206897
0
0
0.209101
0
0
0
0
0
0.068966
1
0.137931
false
0.068966
0.103448
0
0.344828
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9ad5801e10a18524686ee64e49f02fb405463604
3,194
py
Python
collectfast/tests/utils.py
jezdez/collectfast
5df47b94821517cfbb0e7b9fe09198a4d4a4db92
[ "MIT" ]
267
2015-01-19T21:15:49.000Z
2022-03-30T21:29:02.000Z
collectfast/tests/utils.py
jezdez/collectfast
5df47b94821517cfbb0e7b9fe09198a4d4a4db92
[ "MIT" ]
99
2015-02-11T05:29:46.000Z
2022-01-18T10:43:59.000Z
collectfast/tests/utils.py
jezdez/collectfast
5df47b94821517cfbb0e7b9fe09198a4d4a4db92
[ "MIT" ]
55
2015-02-15T23:57:03.000Z
2022-03-15T00:37:29.000Z
import functools import os import pathlib import random import unittest import uuid from typing import Any from typing import Callable from typing import Type from typing import TypeVar from typing import cast import pytest from django.conf import settings as django_settings from django.utils.module_loading import imp...
28.517857
87
0.630244
394
3,194
4.941624
0.299492
0.057524
0.041089
0.032357
0.422188
0.422188
0.360555
0.360555
0.31433
0.269132
0
0.010084
0.254853
3,194
111
88
28.774775
0.807983
0.155917
0
0.289855
0
0
0.027392
0.008488
0
0
0
0
0
1
0.15942
false
0
0.246377
0
0.550725
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
9ad8aefff22a2d977043f909d5b8cf61f74cd104
1,826
py
Python
tests/test_units/test_auth/test_api_key.py
iburinoc/aiogoogle
6f702c0d19599fce1bd36b7a32922e76aaa74008
[ "MIT" ]
null
null
null
tests/test_units/test_auth/test_api_key.py
iburinoc/aiogoogle
6f702c0d19599fce1bd36b7a32922e76aaa74008
[ "MIT" ]
null
null
null
tests/test_units/test_auth/test_api_key.py
iburinoc/aiogoogle
6f702c0d19599fce1bd36b7a32922e76aaa74008
[ "MIT" ]
null
null
null
from aiogoogle.auth.managers import ApiKeyManager from aiogoogle.models import Request from aiogoogle.resource import GoogleAPI import pytest @pytest.fixture def manager(): return ApiKeyManager() @pytest.fixture def key1(): return 'asdasdasidajosnoqwndoasfnwuiefn' @pytest.fixture def key2(): return 'asj...
35.115385
115
0.749726
256
1,826
5.074219
0.257813
0.093149
0.118553
0.065435
0.501155
0.501155
0.449577
0.430331
0.382602
0.382602
0
0.017891
0.142935
1,826
52
116
35.115385
0.812141
0.037788
0
0.315789
0
0
0.109909
0.039863
0
0
0
0
0.131579
1
0.210526
false
0
0.105263
0.078947
0.394737
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
9adcbe042249d0210e3afac449c9fde642503339
818
py
Python
Day_16.py
Devang-25/Leetcode-June-Challenge
9a46ecc2db8198d0ee81606f53d4a6a4cd27151d
[ "MIT" ]
1
2020-07-04T15:11:09.000Z
2020-07-04T15:11:09.000Z
Day_16.py
Devang-25/Leetcode-June-Challenge
9a46ecc2db8198d0ee81606f53d4a6a4cd27151d
[ "MIT" ]
null
null
null
Day_16.py
Devang-25/Leetcode-June-Challenge
9a46ecc2db8198d0ee81606f53d4a6a4cd27151d
[ "MIT" ]
null
null
null
class Solution: def validIPAddress(self, IP: str) -> str: res = 'Neither' if IP.count(".") == 3: for value in IP.split("."): temp_value = re.sub(r'[^0-9]', '', value) if not temp_value or not str(int(temp_value)) == value or...
30.296296
119
0.41687
97
818
3.412371
0.371134
0.271903
0.145015
0.126888
0.344411
0.344411
0.344411
0.344411
0.193353
0.193353
0
0.036117
0.458435
818
27
120
30.296296
0.711061
0
0
0.1875
0
0
0.045177
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.3125
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
9adee5a858174cb89e7e1b5e89ec2d30efa7a6f7
3,404
py
Python
event_signal/signaler.py
justengel/event_signal
ea07bb6c79845e04f137dfb114952224fc617925
[ "MIT" ]
6
2018-08-14T03:51:06.000Z
2022-03-05T06:09:19.000Z
event_signal/signaler.py
HashSplat/event_signal
ea07bb6c79845e04f137dfb114952224fc617925
[ "MIT" ]
null
null
null
event_signal/signaler.py
HashSplat/event_signal
ea07bb6c79845e04f137dfb114952224fc617925
[ "MIT" ]
3
2018-08-06T15:39:33.000Z
2020-02-10T21:38:57.000Z
from .interface import SignalerInstance, SignalerDescriptorInstance, copy_signals_as_bound from .signaler_prop import signaler_property __all__ = ["signaler", "SignalerDecoratorInstance"] class SignalerDecoratorInstance(SignalerDescriptorInstance): def __init__(self, func=None, getter=None, fire_results=False):...
32.113208
110
0.613102
363
3,404
5.443526
0.267218
0.064777
0.060729
0.054656
0.13664
0.073887
0.073887
0.073887
0.073887
0.073887
0
0.000846
0.305523
3,404
105
111
32.419048
0.835025
0.199471
0
0.3
0
0
0.031274
0.00942
0
0
0
0
0
1
0.114286
false
0.085714
0.028571
0.014286
0.257143
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
9adfea4e2cc332731fa42029748a0d209da8b152
811
py
Python
py/cidoc_crm_types/properties/p98_brought_into_life.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/properties/p98_brought_into_life.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/properties/p98_brought_into_life.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
from .p92_brought_into_existence import P92BroughtIntoExistence from dataclasses import dataclass @dataclass class P98BroughtIntoLife(P92BroughtIntoExistence): """ Scope note: This property links an instance of E67 Birth event to an instance of E21 Person in the role of offspring. Twins, triplets etc. are brough...
32.44
253
0.766954
126
811
4.888889
0.603175
0.071429
0.073052
0.043831
0
0
0
0
0
0
0
0.064422
0.15783
811
24
254
33.791667
0.837482
0.696671
0
0
0
0
0.226496
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
0
0
0
1
9ae708dfa7b5411b35ff0d5fd3f13d72f32c71b2
1,497
py
Python
selenium_page_adapter/adapter.py
movermeyer/selenium-page-adapter
bc3d43a346c16526cda7c7e1af83aed6b3ec7ecb
[ "MIT" ]
8
2015-02-04T06:37:14.000Z
2021-07-01T05:53:44.000Z
selenium_page_adapter/adapter.py
movermeyer/selenium-page-adapter
bc3d43a346c16526cda7c7e1af83aed6b3ec7ecb
[ "MIT" ]
2
2015-04-02T07:05:29.000Z
2015-09-06T23:14:52.000Z
selenium_page_adapter/adapter.py
movermeyer/selenium-page-adapter
bc3d43a346c16526cda7c7e1af83aed6b3ec7ecb
[ "MIT" ]
3
2015-02-22T04:20:52.000Z
2018-03-04T21:59:19.000Z
"""Selenium Page Adapter.""" from selenium import webdriver import logging logger = logging.getLogger(__name__) class DeferredPageSource(object): """Wrapper to allow deferred retrieval of driver.page_source.""" def __init__(self, driver): """Stash reference to driver for later use.""" self...
25.810345
69
0.607882
182
1,497
4.807692
0.395604
0.102857
0.091429
0.041143
0.075429
0.075429
0.075429
0
0
0
0
0
0.271877
1,497
57
70
26.263158
0.802752
0.247161
0
0.064516
0
0
0.019517
0
0
0
0
0
0.032258
1
0.225806
false
0
0.064516
0
0.483871
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
9af283b5df550ede43c79228120b1f9b195feadf
590
py
Python
python/src/ProducerDemoCallBack.py
Alfex4936/kafka-Studies
861c4bc0cd3757f61eddea74766b6d22cd4f8f59
[ "MIT" ]
5
2020-12-01T10:41:47.000Z
2021-12-15T09:15:43.000Z
python/src/ProducerDemoCallBack.py
Alfex4936/kafka-Studies
861c4bc0cd3757f61eddea74766b6d22cd4f8f59
[ "MIT" ]
null
null
null
python/src/ProducerDemoCallBack.py
Alfex4936/kafka-Studies
861c4bc0cd3757f61eddea74766b6d22cd4f8f59
[ "MIT" ]
null
null
null
from config import Config from confluent_kafka import Producer def acked(err, msg): if err is not None: print("Failed to deliver message: {0}: {1}".format(msg.value(), err.str())) else: print("Message produced: {0}".format(msg.value())) # binary p = Producer({"bootstrap.servers": Config.MY_...
23.6
83
0.662712
84
590
4.619048
0.630952
0.046392
0.072165
0
0
0
0
0
0
0
0
0.031315
0.188136
590
24
84
24.583333
0.778706
0.140678
0
0
0
0
0.164683
0
0
0
0
0
0
1
0.066667
false
0.066667
0.133333
0
0.2
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9af5054a98c34fd405b63b61e861f4580b8d1aed
2,431
py
Python
engine/sdb/simple_database.py
rmarticedeno/Agent_Platform
12891e96bae4670e50f12e56a2dee258b7b584b4
[ "MIT" ]
2
2019-12-07T00:20:51.000Z
2019-12-23T15:54:27.000Z
engine/sdb/simple_database.py
rmarticedeno/Agent_Platform
12891e96bae4670e50f12e56a2dee258b7b584b4
[ "MIT" ]
null
null
null
engine/sdb/simple_database.py
rmarticedeno/Agent_Platform
12891e96bae4670e50f12e56a2dee258b7b584b4
[ "MIT" ]
null
null
null
from ..utils.network import Tcp_Message from ..utils.logger import getLogger from threading import Thread, Lock from random import randint class SimpleDataBase: def __init__(self, logger=getLogger()): ''' Clase que mantiene un funcionamiento Basico de una Bd de agentes (Thread Safe) ''' ...
31.986842
86
0.421637
273
2,431
3.688645
0.347985
0.090367
0.069513
0.064548
0.135055
0.121152
0.051639
0
0
0
0
0.018225
0.480872
2,431
75
87
32.413333
0.779715
0.113945
0
0.264151
0
0
0
0
0
0
0
0.013333
0
1
0.09434
false
0
0.075472
0
0.226415
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
9af7776cac67f436c14702676d8320bd5c1754a0
499
py
Python
server/src/oscarbundles/migrations/0011_auto_20180319_1121.py
thelabnyc/django-oscar-bundles
d9762595c07a74090da17738b029efae3f952f87
[ "0BSD" ]
5
2017-05-21T08:31:05.000Z
2021-02-08T04:10:21.000Z
server/src/oscarbundles/migrations/0011_auto_20180319_1121.py
thelabnyc/django-oscar-bundles
d9762595c07a74090da17738b029efae3f952f87
[ "0BSD" ]
14
2018-03-12T13:48:02.000Z
2021-06-02T17:26:37.000Z
server/src/oscarbundles/migrations/0011_auto_20180319_1121.py
thelabnyc/django-oscar-bundles
d9762595c07a74090da17738b029efae3f952f87
[ "0BSD" ]
2
2017-10-04T16:18:58.000Z
2018-12-09T14:00:51.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-03-19 15:21 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("catalogue", "0008_auto_20160304_1652"), ("oscarbundles", "0010_auto_20180319_1116"), ] ...
23.761905
74
0.639279
52
499
5.865385
0.846154
0
0
0
0
0
0
0
0
0
0
0.13089
0.234469
499
20
75
24.95
0.667539
0.138277
0
0
1
0
0.241218
0.107728
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
b10272a07ea887dd6e02322fc71c6ee57cb38b3f
647
py
Python
Player.py
shalmi/Guffenshpiel
2d0c4e3b38ca6ee5dcf5aeb208d2af4fdfd6be50
[ "MIT" ]
null
null
null
Player.py
shalmi/Guffenshpiel
2d0c4e3b38ca6ee5dcf5aeb208d2af4fdfd6be50
[ "MIT" ]
null
null
null
Player.py
shalmi/Guffenshpiel
2d0c4e3b38ca6ee5dcf5aeb208d2af4fdfd6be50
[ "MIT" ]
null
null
null
import random as r class Player: """Represents a player in Guffenshpiel""" def __init__(self): self.hand = [1,2,3,4,5,6,7,8,9,10,11,12,13,14] self.discard = [] self.points = [] def autoBets(self,flippedCard): """Computer should make a smart decision but now just plays rand...
30.809524
79
0.605873
87
647
4.45977
0.724138
0.061856
0.046392
0
0
0
0
0
0
0
0
0.044118
0.264297
647
21
80
30.809524
0.771008
0.183926
0
0
0
0
0.083012
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.428571
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b10860e74fc7ea550e2762ed613527e9901bf4e5
3,856
py
Python
teams.py
Azazi/epl-stats
e31cf98688b8c777d5ca86e6075401aba644f957
[ "MIT" ]
1
2020-09-11T22:24:49.000Z
2020-09-11T22:24:49.000Z
teams.py
Azazi/epl-stats
e31cf98688b8c777d5ca86e6075401aba644f957
[ "MIT" ]
1
2021-06-02T00:55:24.000Z
2021-06-02T00:55:24.000Z
teams.py
Azazi/epl-stats
e31cf98688b8c777d5ca86e6075401aba644f957
[ "MIT" ]
null
null
null
FORMER_TEAM_NAME_MAP = { 'AFC Bournemouth': 'AFC Bournemouth', 'Accrington FC': 'Accrington FC', 'Arsenal FC': 'Arsenal FC', 'Aston Villa': 'Aston Villa', 'Barnsley FC': 'Barnsley FC', 'Birmingham City': 'Birmingham City', 'Birmingham FC': 'Birmingham City', 'Blackburn Rovers': 'Blackbur...
39.346939
61
0.638226
428
3,856
5.742991
0.285047
0.007323
0.021969
0.026851
0.019528
0
0
0
0
0
0
0
0.206432
3,856
97
62
39.752577
0.803268
0
0
0
0
0
0.697614
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b11454c8b7f0b0802d600645110af040b5f27b63
1,603
py
Python
fb_api/models.py
felipecerinzasick/blog
fbe2b3d7ecc2937a31a925d50f7112a299b9da3e
[ "MIT" ]
null
null
null
fb_api/models.py
felipecerinzasick/blog
fbe2b3d7ecc2937a31a925d50f7112a299b9da3e
[ "MIT" ]
null
null
null
fb_api/models.py
felipecerinzasick/blog
fbe2b3d7ecc2937a31a925d50f7112a299b9da3e
[ "MIT" ]
null
null
null
from django.contrib.postgres.fields import JSONField from django.db import models from django.utils.translation import ugettext_lazy as _ from social_django.models import UserSocialAuth from fb_api.api_caller import ApiParser class FbAdAccount(models.Model): fb_acc = models.ForeignKey( UserSocialAuth, ...
29.685185
121
0.694947
215
1,603
4.87907
0.367442
0.033365
0.042898
0.037178
0.198284
0.172545
0
0
0
0
0
0.004648
0.194635
1,603
53
122
30.245283
0.807901
0
0
0.157895
0
0
0.06125
0
0
0
0
0
0
1
0.105263
false
0
0.131579
0.078947
0.657895
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
b1146185b8bd8139e8919eb5834e35b75179948f
1,950
py
Python
recipes/Python/578485_First_Class_Enums_in_Python/recipe-578485.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/578485_First_Class_Enums_in_Python/recipe-578485.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/578485_First_Class_Enums_in_Python/recipe-578485.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
#!/usr/bin/env python def enum(*names): """A true immutable symbolic enumeration with qualified value access.""" class EnumValue(object): __slots__ = ("type", "value",) def __init__(self, type, value): self.type = type self.value = value def __hash__(self): ...
24.683544
76
0.550769
231
1,950
4.38961
0.316017
0.078895
0.035503
0.033531
0.057199
0.057199
0.057199
0.057199
0
0
0
0.00301
0.318462
1,950
78
77
25
0.75997
0.010256
0
0.037736
0
0
0.055466
0
0
0
0
0
0
0
null
null
0
0
null
null
0.132075
0
0
0
null
0
0
0
0
0
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
b11692128c7968bc55352d82dd7bbee2e70d3d49
391
py
Python
notecoin/huobi/dataset/upload.py
notechats/notecoin
57e1ed71567ce8864158f24c00ed47addbd9851f
[ "Apache-2.0" ]
null
null
null
notecoin/huobi/dataset/upload.py
notechats/notecoin
57e1ed71567ce8864158f24c00ed47addbd9851f
[ "Apache-2.0" ]
null
null
null
notecoin/huobi/dataset/upload.py
notechats/notecoin
57e1ed71567ce8864158f24c00ed47addbd9851f
[ "Apache-2.0" ]
1
2022-03-26T11:42:18.000Z
2022-03-26T11:42:18.000Z
from notedrive.lanzou import LanZouCloud from notetool.log import logger from notetool.tool.secret import read_secret downer = LanZouCloud() downer.ignore_limits() downer.login_by_cookie() logger.info('begin') #print(downer.sync_directory(path_root='/root/workspace/tmp/coin', folder_id='3358325')) downer.upload_file(...
32.583333
89
0.805627
56
391
5.464286
0.660714
0.078431
0.104575
0.130719
0
0
0
0
0
0
0
0.038147
0.061381
391
11
90
35.545455
0.79564
0.222506
0
0
0
0
0.191419
0.151815
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
b116a38e41adb0c3dba99d49b7b6c074bb51eaee
911
py
Python
test/hipp/dataquery/dataquery.py
cmcneil-usgs/hipp
be6f9f8cccdc32b7b96be92172977a5c4006500c
[ "MIT" ]
12
2020-10-07T22:12:11.000Z
2022-02-15T23:10:53.000Z
test/hipp/dataquery/dataquery.py
cmcneil-usgs/hipp
be6f9f8cccdc32b7b96be92172977a5c4006500c
[ "MIT" ]
7
2020-10-11T23:42:55.000Z
2021-12-15T23:16:43.000Z
test/hipp/dataquery/dataquery.py
cmcneil-usgs/hipp
be6f9f8cccdc32b7b96be92172977a5c4006500c
[ "MIT" ]
4
2020-10-11T19:48:58.000Z
2022-03-08T21:32:13.000Z
import hipp.dataquery import glob import os import getpass # Should this use the installed library? or call the local file like this # import ../hipp.dataquery ENTITY_ID_TEST_DATA = ["AR1LK0000020056"] API_LABEL = "test_download" TEST_OUTPUT_DIR="input_data" def dataquery_test(api_key): hipp.dataquery.EE_downloa...
32.535714
101
0.745335
129
911
4.844961
0.403101
0.0832
0.0768
0.1024
0.2592
0.192
0.1152
0.1152
0.1152
0
0
0.014249
0.15258
911
28
102
32.535714
0.795337
0.105379
0
0
0
0
0.104551
0
0
0
0
0
0.095238
1
0.047619
false
0.095238
0.190476
0
0.238095
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
b117e1fe2ea46bc80d5ce7a3e55b04cbb1c47d33
1,200
py
Python
simplejson_test/testdata/allennlp/data/fields/tmp.py
rahman-mahmudur/PyART
36591cd10b2b7a560bbcb47a6cf744b72466f92a
[ "Apache-2.0" ]
7
2021-03-20T21:12:51.000Z
2022-01-30T09:26:52.000Z
DataFlowEvaluation/data/allennlp/data/fields/tmp.py
PYART0/PyART-demo
9a889662fb2610b7be2687a8304620855e7c76de
[ "Apache-2.0" ]
null
null
null
DataFlowEvaluation/data/allennlp/data/fields/tmp.py
PYART0/PyART-demo
9a889662fb2610b7be2687a8304620855e7c76de
[ "Apache-2.0" ]
4
2021-03-25T14:10:09.000Z
2022-03-09T09:23:30.000Z
from typing import Dict, List from overrides import overrides import torch from allennlp.common.util import pad_sequence_to_length from allennlp.data.vocabulary import Vocabulary from allennlp.data.tokenizers.token import Token from allennlp.data.fields.field import Field class NamespaceSwappingField(Field[torch.Te...
34.285714
94
0.731667
151
1,200
5.463576
0.350993
0.087273
0.077576
0.046061
0.067879
0
0
0
0
0
0
0
0.18
1,200
35
95
34.285714
0.838415
0
0
0.115385
0
0
0.054122
0
0
0
0
0
0
1
0.153846
false
0
0.269231
0.038462
0.538462
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
b11a345e026d68c4d3541e5f39fbe4b5c63f6e4b
6,058
py
Python
poethepoet/executor/base.py
cigani/poethepoet
b1f621d2930bb8dea21ac5d9ba52c97a7ffb14b4
[ "MIT" ]
null
null
null
poethepoet/executor/base.py
cigani/poethepoet
b1f621d2930bb8dea21ac5d9ba52c97a7ffb14b4
[ "MIT" ]
null
null
null
poethepoet/executor/base.py
cigani/poethepoet
b1f621d2930bb8dea21ac5d9ba52c97a7ffb14b4
[ "MIT" ]
null
null
null
import signal from subprocess import Popen, PIPE import sys from typing import Any, Dict, MutableMapping, Optional, Sequence, Type, TYPE_CHECKING from ..exceptions import PoeException from ..virtualenv import Virtualenv if TYPE_CHECKING: from pathlib import Path from ..context import RunContext # TODO: maybe ...
34.420455
87
0.622483
681
6,058
5.359765
0.283407
0.049863
0.039452
0.036164
0.24411
0.216712
0.178904
0.167671
0.126027
0.126027
0
0.000232
0.287554
6,058
175
88
34.617143
0.845459
0.16342
0
0.233333
0
0
0.088597
0.005449
0
0
0
0.011429
0.016667
1
0.083333
false
0
0.075
0
0.316667
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
b11d3ae9894d17febe7ad57270e27186c27f2859
2,309
py
Python
Main.py
afflitto/OP1Kenobi
97d713414ab289c904b0b1a5da72dc94a2140275
[ "MIT" ]
null
null
null
Main.py
afflitto/OP1Kenobi
97d713414ab289c904b0b1a5da72dc94a2140275
[ "MIT" ]
null
null
null
Main.py
afflitto/OP1Kenobi
97d713414ab289c904b0b1a5da72dc94a2140275
[ "MIT" ]
null
null
null
# system imports import sys import time,os,datetime import shutil as sh # resources from Config import * from Resources.Colors import * # services from Services.common.Audio import * from Services.common.Core import * from Services.common.Input import Key # # from Services.pc.pc_video import PCVideo # from Services.p...
23.323232
80
0.648333
247
2,309
5.975709
0.307692
0.065041
0.081301
0.097561
0.189702
0.189702
0.146341
0.146341
0.146341
0.146341
0
0.009855
0.252923
2,309
98
81
23.561224
0.845797
0.143785
0
0.09375
0
0
0.03524
0
0
0
0
0.010204
0
1
0.03125
false
0
0.171875
0
0.203125
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
1
0
0
0
0
0
0
0
0
0
0
1
b11f1bdcfdad4602506e5bc90d72e69c2ae5ad2a
5,881
py
Python
pyne/binaryreader.py
ypark234/pyne
b7c4932c0399e6a0881aea943b392fb97cd0b6bd
[ "MIT" ]
1
2019-10-10T14:14:11.000Z
2019-10-10T14:14:11.000Z
pyne/binaryreader.py
ypark234/pyne
b7c4932c0399e6a0881aea943b392fb97cd0b6bd
[ "MIT" ]
58
2019-01-07T16:13:26.000Z
2019-05-09T15:56:26.000Z
pyne/binaryreader.py
ypark234/pyne
b7c4932c0399e6a0881aea943b392fb97cd0b6bd
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Module for manipulating binary files, especially those with Fortran formatted records. """ import struct from collections import Iterable from warnings import warn from pyne.utils import QAWarning warn(__name__ + " is not yet QA compliant.", QAWarning) class _FortranRecord(object): """A...
30.005102
73
0.578813
785
5,881
4.216561
0.210191
0.048338
0.029003
0.024169
0.333837
0.293656
0.226586
0.181873
0.159517
0.159517
0
0.007115
0.306921
5,881
195
74
30.158974
0.804956
0.249617
0
0.2
0
0
0.060193
0
0
0
0
0
0
1
0.221053
false
0
0.042105
0.010526
0.389474
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
b1206d64e38afbed9c3345648bd759bc83348958
516
py
Python
etl/tests/embedded/test_distance.py
Rockynrcan/nrcan_api
13d8fb306d8185f6bcd082c559ad3fe8b4340cc7
[ "MIT" ]
7
2017-12-15T03:58:29.000Z
2018-04-23T22:48:53.000Z
etl/tests/embedded/test_distance.py
Rockynrcan/nrcan_api
13d8fb306d8185f6bcd082c559ad3fe8b4340cc7
[ "MIT" ]
137
2018-01-24T16:44:57.000Z
2018-06-25T14:02:10.000Z
etl/tests/embedded/test_distance.py
Rockynrcan/nrcan_api
13d8fb306d8185f6bcd082c559ad3fe8b4340cc7
[ "MIT" ]
4
2018-02-15T12:40:52.000Z
2018-07-03T14:22:51.000Z
import pytest from energuide.embedded import distance def test_distance() -> None: output = distance.Distance(1) assert output.metres == 1.0 assert output.feet == pytest.approx(3.28084) def test_from_square_feet() -> None: output = distance.Distance.from_feet(1) assert output.metres == pytest.ap...
23.454545
51
0.703488
68
516
5.25
0.338235
0.179272
0.142857
0.145658
0.156863
0
0
0
0
0
0
0.059102
0.180233
516
21
52
24.571429
0.78487
0
0
0
0
0
0
0
0
0
0
0
0.357143
1
0.214286
false
0
0.142857
0
0.357143
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
b122fbae7be947f0892d65092fbd38f55dd6ebe2
490
py
Python
llluiop/0007/CodeLine.py
saurabh896/python-1
f8d3aedf4c0fe6e24dfa3269ea7e642c9f7dd9b7
[ "MIT" ]
3,976
2015-01-01T15:49:39.000Z
2022-03-31T03:47:56.000Z
llluiop/0007/CodeLine.py
oyesam7/python-1
220734af09fa09a6f615d4f1b4612a0ab75d91d1
[ "MIT" ]
97
2015-01-11T02:59:46.000Z
2022-03-16T14:01:56.000Z
llluiop/0007/CodeLine.py
oyesam7/python-1
220734af09fa09a6f615d4f1b4612a0ab75d91d1
[ "MIT" ]
3,533
2015-01-01T06:19:30.000Z
2022-03-28T13:14:54.000Z
#!/usr/bin.env python import os def main(): f = open('code.cpp') blanks = 0 comments = 0 lines = 0 for line in f.readlines(): if len(line.split()) == 0: blanks += 1 elif line.startswith("//"): comments += 1 elif line.startswith("/*"): c...
17.5
35
0.512245
58
490
4.189655
0.534483
0.041152
0.074074
0.156379
0.226337
0.226337
0
0
0
0
0
0.025
0.346939
490
28
36
17.5
0.734375
0.040816
0
0.105263
0
0
0.112766
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.157895
0
0
0
null
0
0
0
0
0
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
b123adc6602b37d44955618cbe59b48bc11f54d2
3,788
py
Python
pypy/translator/cli/rte.py
benoitc/pypy
a3e1b12d1d01dc29056b7badc051ffc034297658
[ "MIT" ]
1
2020-01-21T11:10:51.000Z
2020-01-21T11:10:51.000Z
pypy/translator/cli/rte.py
benoitc/pypy
a3e1b12d1d01dc29056b7badc051ffc034297658
[ "MIT" ]
null
null
null
pypy/translator/cli/rte.py
benoitc/pypy
a3e1b12d1d01dc29056b7badc051ffc034297658
[ "MIT" ]
null
null
null
""" Support for an automatically compiled Run Time Environment. The source of the RTE is in the src/ directory. """ import os import os.path import shutil import py import subprocess from pypy.translator.cli.sdk import SDK from pypy.tool.ansi_print import ansi_log log = py.log.Producer("cli") py.log.setconsumer("cli",...
29.138462
99
0.624076
475
3,788
4.842105
0.277895
0.034783
0.039565
0.036522
0.261739
0.143478
0.07913
0.07913
0.07913
0.07913
0
0.000356
0.25924
3,788
129
100
29.364341
0.819316
0.049894
0
0.205882
0
0
0.075635
0
0
0
0
0
0.009804
1
0.098039
false
0.019608
0.107843
0.029412
0.568627
0.009804
0
0
0
null
0
0
0
0
0
0
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
b127ddb3267d1b329d7a8dcaaf7854cd9d8b0e84
18,254
py
Python
Pandemic Warrior/main/Related_Diseases_gui.py
varunkm192002/Pandemic-Warrior
04481b74ebacb0086733a2084bbdf6dbb15c1d1f
[ "BSD-3-Clause" ]
null
null
null
Pandemic Warrior/main/Related_Diseases_gui.py
varunkm192002/Pandemic-Warrior
04481b74ebacb0086733a2084bbdf6dbb15c1d1f
[ "BSD-3-Clause" ]
null
null
null
Pandemic Warrior/main/Related_Diseases_gui.py
varunkm192002/Pandemic-Warrior
04481b74ebacb0086733a2084bbdf6dbb15c1d1f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Varun.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui,...
64.274648
479
0.686425
2,747
18,254
4.537677
0.149982
0.08231
0.036582
0.054874
0.658163
0.639551
0.628159
0.614039
0.589651
0.562214
0
0.055106
0.119207
18,254
283
480
64.501767
0.720114
0.014791
0
0.486891
1
0.041199
0.421562
0.076157
0
0
0
0
0
1
0.007491
false
0
0.011236
0
0.022472
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
b128866b01bf15430f91f63ef71400edea29bb4c
1,037
py
Python
setup.py
danr/xmldestroyer
7d0a3da65ad10dc1f12757988c218e43b1a65fa4
[ "MIT" ]
null
null
null
setup.py
danr/xmldestroyer
7d0a3da65ad10dc1f12757988c218e43b1a65fa4
[ "MIT" ]
null
null
null
setup.py
danr/xmldestroyer
7d0a3da65ad10dc1f12757988c218e43b1a65fa4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from setuptools import setup setup(name='xmldestroyer', version='0.2', description='Bottom-up transformation of XML into python generators, XML, JSON or text.', long_description=open('README.rst').read(), classifiers=[ 'Development Status :: 2 - Pre-Alpha', ...
38.407407
125
0.616201
111
1,037
5.702703
0.720721
0.037915
0.06951
0
0
0
0
0
0
0
0
0.007624
0.24108
1,037
26
126
39.884615
0.796696
0.020251
0
0
0
0
0.540434
0.021696
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b1297e20394ffd876b80917efe986cd870d08ad4
446
py
Python
where2_core/itinerary/migrations/0008_alter_activity_cost.py
1LooperTrooper/Where2
59c74a2f80e519fb9e2ced40174ff66ad2078406
[ "MIT" ]
null
null
null
where2_core/itinerary/migrations/0008_alter_activity_cost.py
1LooperTrooper/Where2
59c74a2f80e519fb9e2ced40174ff66ad2078406
[ "MIT" ]
null
null
null
where2_core/itinerary/migrations/0008_alter_activity_cost.py
1LooperTrooper/Where2
59c74a2f80e519fb9e2ced40174ff66ad2078406
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-25 01:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('itinerary', '0007_auto_20211025_1153'), ] operations = [ migrations.AlterField( model_name='activity', name='cost', ...
23.473684
108
0.578475
49
446
5.163265
0.857143
0
0
0
0
0
0
0
0
0
0
0.097264
0.262332
446
18
109
24.777778
0.671733
0.100897
0
0
1
0
0.157895
0.057644
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
b129df1f3e113f486dfa44534556c275ce714b42
1,681
py
Python
tests/test_random.py
katetsu/retworkx
3d2002ba69a831e7eab134b75d3cc9b9832f50ef
[ "Apache-2.0" ]
null
null
null
tests/test_random.py
katetsu/retworkx
3d2002ba69a831e7eab134b75d3cc9b9832f50ef
[ "Apache-2.0" ]
null
null
null
tests/test_random.py
katetsu/retworkx
3d2002ba69a831e7eab134b75d3cc9b9832f50ef
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under th...
37.355556
75
0.733492
228
1,681
5.20614
0.394737
0.050548
0.065712
0.080876
0.572873
0.52401
0.438079
0.438079
0.407751
0.353833
0
0.030568
0.182629
1,681
44
76
38.204545
0.833333
0.309935
0
0.26087
0
0
0
0
0
0
0
0
0.347826
1
0.26087
false
0
0.086957
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
b1323f5f2d2738d27782f86da821492dd7393f98
735
py
Python
src/DungeonsDragons/Game/Language.py
DieAntonie/eventstore-python
1f162a466bcfdf6138248b6a89b4b6df1ce67c6c
[ "BSD-3-Clause" ]
1
2021-10-02T20:59:57.000Z
2021-10-02T20:59:57.000Z
src/DungeonsDragons/Game/Language.py
DieAntonie/eventstore-python
1f162a466bcfdf6138248b6a89b4b6df1ce67c6c
[ "BSD-3-Clause" ]
2
2020-03-24T16:36:16.000Z
2020-03-24T16:51:03.000Z
src/DungeonsDragons/Game/Language.py
DieAntonie/eventstore-python
1f162a466bcfdf6138248b6a89b4b6df1ce67c6c
[ "BSD-3-Clause" ]
null
null
null
from enum import Enum class Script(Enum): Celestial = 1 Common = 2 Draconic = 3 Dwarvish = 4 Elvish = 5 Infernal = 6 class Language(Enum): Common = (Script.Common) Dwarvish = (Script.Dwarvish) Elvish = (Script.Elvish) Giant = (Script.Dwarvish) Gnomish = (Script.Dwarvish) ...
22.272727
39
0.635374
77
735
6.012987
0.415584
0.181425
0.069114
0
0
0
0
0
0
0
0
0.010929
0.253061
735
32
40
22.96875
0.832423
0
0
0
0
0
0
0
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.962963
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
b136616c4c926fc560d9b8ee8652073933cce020
29,100
py
Python
scripts/pughpore/rw.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
8
2016-09-07T01:59:31.000Z
2021-03-06T12:14:31.000Z
scripts/pughpore/rw.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
null
null
null
scripts/pughpore/rw.py
jhwnkim/nanopores
98b3dbb5d36464fbdc03f59d224d38e4255324ce
[ "MIT" ]
4
2017-12-06T17:43:01.000Z
2020-05-01T05:41:14.000Z
# (c) 2017 Gregor Mitscha-Baude """Random walks in Pugh pore on 2D proxy geometry, to determine distribution of attempt time needed to fit binding parameters.""" import numpy as np import scipy as sp import matplotlib.pyplot as plt import tangent import dolfin import nanopores import nanopores.models.randomwalk as rand...
33.680556
90
0.569107
4,397
29,100
3.713896
0.133045
0.008267
0.008818
0.011023
0.521617
0.495591
0.449908
0.402143
0.383833
0.375444
0
0.038874
0.262749
29,100
863
91
33.719583
0.72229
0.231924
0
0.418685
0
0
0.082991
0.007117
0
0
0
0.001159
0
0
null
null
0.013841
0.024221
null
null
0.024221
0
0
0
null
0
0
0
0
0
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
b1394faad06d2bd397916fde81036a497628f87c
1,479
py
Python
setup.py
CWE0/rainflow
7048f1c637f4fd40302c517e54deb3d6eddd6b21
[ "MIT" ]
null
null
null
setup.py
CWE0/rainflow
7048f1c637f4fd40302c517e54deb3d6eddd6b21
[ "MIT" ]
null
null
null
setup.py
CWE0/rainflow
7048f1c637f4fd40302c517e54deb3d6eddd6b21
[ "MIT" ]
null
null
null
from setuptools import setup import os this_dir = os.path.dirname(__file__) with open(os.path.join(this_dir, "README.md"), "rb") as fo: long_description = fo.read().decode("utf8") setup( name='rainflow', package_dir={"": "src"}, py_modules=['rainflow'], description='Implementation of ASTM E1049-...
36.073171
84
0.628127
166
1,479
5.457831
0.566265
0.146799
0.193157
0.143488
0.059603
0
0
0
0
0
0
0.029863
0.207573
1,479
40
85
36.975
0.743174
0
0
0
0
0.027778
0.529412
0.014875
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b13b07d1f20aade8914aa1c0e8d57dd96b95b19c
4,963
py
Python
deep_qa/data/embeddings.py
mrbot-ai/deep_qa
a1731331e12b921b4dbb43433f9c028b362495e8
[ "Apache-2.0" ]
2
2017-01-26T13:07:13.000Z
2019-03-27T16:11:56.000Z
deep_qa-master/deep_qa/data/embeddings.py
RTHMaK/RPGOne
3f3ada7db1762781668bfb2377154fdc00e17212
[ "Apache-2.0" ]
null
null
null
deep_qa-master/deep_qa/data/embeddings.py
RTHMaK/RPGOne
3f3ada7db1762781668bfb2377154fdc00e17212
[ "Apache-2.0" ]
1
2019-01-04T13:08:27.000Z
2019-01-04T13:08:27.000Z
import codecs import gzip import logging import numpy from ..layers.time_distributed_embedding import TimeDistributedEmbedding from .data_indexer import DataIndexer logger = logging.getLogger(__name__) # pylint: disable=invalid-name class PretrainedEmbeddings: @staticmethod def initialize_random_matrix(sh...
48.656863
101
0.607898
616
4,963
4.780844
0.375
0.04584
0.02309
0.012903
0.025806
0
0
0
0
0
0
0.008174
0.334475
4,963
101
102
49.138614
0.883439
0.372154
0
0.071429
0
0
0.068611
0
0
0
0
0.019802
0.017857
1
0.035714
false
0
0.107143
0
0.196429
0.017857
0
0
0
null
0
0
0
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
b1409d8d7144ae8b5eef12bd710393cc2597a908
2,751
py
Python
python/example_read_txt.py
cdfassnacht/CodeCDF
f4a3ed7c3a88c06de2c520c6ed858a3c8de5d703
[ "MIT" ]
1
2015-03-11T19:50:33.000Z
2015-03-11T19:50:33.000Z
python/example_read_txt.py
cdfassnacht/CodeCDF
f4a3ed7c3a88c06de2c520c6ed858a3c8de5d703
[ "MIT" ]
1
2015-03-12T15:35:53.000Z
2015-03-12T21:31:35.000Z
python/example_read_txt.py
cdfassnacht/CodeCDF
f4a3ed7c3a88c06de2c520c6ed858a3c8de5d703
[ "MIT" ]
1
2015-04-22T22:40:35.000Z
2015-04-22T22:40:35.000Z
""" This code is just an example of how to read in columns from a textfile. This can be useful in reading in a SExtractor catalog. To execute this program, just type "python read_textfile_example.py [filename]" where [filename] is the file that you want to read in. Note that triple quotes denote a comment block. Yo...
29.902174
80
0.711741
478
2,751
4.075314
0.39749
0.012834
0.029261
0.032341
0.027721
0
0
0
0
0
0
0.013643
0.200654
2,751
91
81
30.230769
0.872215
0.13486
0
0.115385
0
0
0.164204
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b1439ccd14e23a4633d842ebad753eb6b58d5b79
272
py
Python
tests/locustfile.py
palace22/scrypta-idanodejs
c25846036671458a7689a9f0702c270eecd7069e
[ "MIT" ]
3
2020-06-05T20:39:58.000Z
2021-09-19T01:19:46.000Z
tests/locustfile.py
palace22/scrypta-idanodejs
c25846036671458a7689a9f0702c270eecd7069e
[ "MIT" ]
13
2019-07-15T21:42:48.000Z
2022-02-15T00:48:07.000Z
tests/locustfile.py
palace22/scrypta-idanodejs
c25846036671458a7689a9f0702c270eecd7069e
[ "MIT" ]
5
2019-06-19T21:40:01.000Z
2022-03-31T11:04:21.000Z
import random from locust import HttpUser, task, between class WebsiteUser(HttpUser): wait_time = between(5, 9) @task(2) def getnewaddress(self): self.client.get("/wallet/getnewaddress") @task(1) def index(self): self.client.get("/")
20.923077
48
0.647059
34
272
5.147059
0.647059
0.091429
0.16
0.194286
0
0
0
0
0
0
0
0.018868
0.220588
272
13
49
20.923077
0.806604
0
0
0
0
0
0.080586
0.076923
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
b14445982dc8489fd0b4c0718f2394207dadba82
626
py
Python
testall.py
Krande/CalculiX-Examples
26f50ef87d885e16564f336a76b94defcff107de
[ "MIT" ]
177
2016-01-03T14:33:44.000Z
2022-02-15T11:29:48.000Z
testall.py
xyg1996/CalculiX-Examples
5e28b3d06331f3a958b1758b31cb84b2e253553b
[ "MIT" ]
52
2016-01-05T20:37:04.000Z
2022-02-06T15:30:29.000Z
testall.py
xyg1996/CalculiX-Examples
5e28b3d06331f3a958b1758b31cb84b2e253553b
[ "MIT" ]
73
2016-02-09T12:17:06.000Z
2022-01-22T13:31:00.000Z
#!/usr/bin/python """execute all test scripts in the example collection""" import os, fnmatch, multiprocessing # Enable multithreading for ccx os.environ['OMP_NUM_THREADS'] = str(multiprocessing.cpu_count()) # Locate all files matching supplied filename pattern in and below # current directory. counter=1 for path, di...
32.947368
66
0.698083
88
626
4.931818
0.602273
0.046083
0.046083
0
0
0
0
0
0
0
0
0.001976
0.191693
626
18
67
34.777778
0.855731
0.297125
0
0
0
0
0.111111
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b145deeb2a5941550c9e36241d1659627b08afd9
712
py
Python
setup.py
andrewsx/dedupe
fd9c78795a304f645a3c90f0c4075ee660a92277
[ "MIT" ]
null
null
null
setup.py
andrewsx/dedupe
fd9c78795a304f645a3c90f0c4075ee660a92277
[ "MIT" ]
null
null
null
setup.py
andrewsx/dedupe
fd9c78795a304f645a3c90f0c4075ee660a92277
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name="UnDupe", version="0.0.1", author="Andrew Xiao, Rajat Bapuri, Sean Nordquist", author_email="", description="Remove duplicate texts from a .txt file", long_description="Remove duplicate texts from a .txt file " "by using cosine simil...
30.956522
68
0.63764
80
712
5.5875
0.7625
0.076063
0.116331
0.138702
0.192394
0.192394
0.192394
0.192394
0
0
0
0.014733
0.23736
712
22
69
32.363636
0.808471
0
0
0
0
0
0.48736
0
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
b14abecf642e5628bdbcb9495764e2800d000573
1,787
py
Python
backend/api/__init__.py
kuldeep0020/willy
51d808c3ae777e848f95fa4988c969609763e881
[ "MIT" ]
null
null
null
backend/api/__init__.py
kuldeep0020/willy
51d808c3ae777e848f95fa4988c969609763e881
[ "MIT" ]
2
2021-12-16T07:56:19.000Z
2021-12-27T08:02:06.000Z
backend/api/__init__.py
kuldeep0020/willy
51d808c3ae777e848f95fa4988c969609763e881
[ "MIT" ]
1
2022-02-09T05:58:32.000Z
2022-02-09T05:58:32.000Z
# B"H import os import docker # Import flask and template operators from flask import Flask, jsonify, render_template ,send_from_directory from flask_socketio import SocketIO from flask_cors import CORS # Define the WSGI application object app = Flask(__name__, static_folder='./') CORS(app) # Configurations app.conf...
31.910714
187
0.77728
274
1,787
4.90146
0.430657
0.075949
0.03723
0.068503
0.043187
0
0
0
0
0
0
0.012618
0.113039
1,787
55
188
32.490909
0.8347
0.175713
0
0
0
0.030303
0.181943
0.045828
0
0
0
0
0
1
0.090909
false
0
0.30303
0.060606
0.454545
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b1559e9940990432bccdc174bff6e104e37d6ed5
1,729
py
Python
app/data/bin/admin_panel.py
ssillerom/rebornsdc
851a9f0bbdb83aa945f0a73448973123056dc768
[ "MIT" ]
null
null
null
app/data/bin/admin_panel.py
ssillerom/rebornsdc
851a9f0bbdb83aa945f0a73448973123056dc768
[ "MIT" ]
null
null
null
app/data/bin/admin_panel.py
ssillerom/rebornsdc
851a9f0bbdb83aa945f0a73448973123056dc768
[ "MIT" ]
null
null
null
import streamlit as st import sqlite3 import hashlib def app(): def create_usertable(): conn = sqlite3.connect('/home/dakeh/Escritorio/rebornsdc/app/data/bin/greenchain_users.db') c = conn.cursor() c.execute( 'CREATE TABLE IF NOT EXISTS tablaUsuarios(usern...
34.58
103
0.604974
187
1,729
5.475936
0.411765
0.078125
0.052734
0.064453
0.300781
0.300781
0.300781
0.300781
0.300781
0.300781
0
0.005691
0.288606
1,729
50
104
34.58
0.826829
0
0
0.222222
0
0
0.29422
0.143931
0
0
0
0
0
1
0.166667
false
0.361111
0.083333
0.027778
0.361111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b1582dc31ab2e2c9260e3445942195690cc2bf75
542
py
Python
clock/shifts/migrations/0004_shift_key.py
mimischi/clock
3914da6a48b89cb80ab5205c6ce1c279012472fe
[ "MIT" ]
6
2016-03-02T14:20:14.000Z
2021-01-04T04:30:27.000Z
clock/shifts/migrations/0004_shift_key.py
mimischi/clock
3914da6a48b89cb80ab5205c6ce1c279012472fe
[ "MIT" ]
340
2015-09-24T15:30:12.000Z
2020-03-14T09:05:40.000Z
clock/shifts/migrations/0004_shift_key.py
mimischi/clock
3914da6a48b89cb80ab5205c6ce1c279012472fe
[ "MIT" ]
4
2016-04-04T13:18:18.000Z
2018-08-02T02:16:19.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-06-08 12:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("shifts", "0003_shift_bool_finished")] operations = [ migrations.AddField( model_name="shift", name="key",...
23.565217
59
0.51476
55
542
4.963636
0.836364
0.051282
0
0
0
0
0
0
0
0
0
0.058989
0.343173
542
22
60
24.636364
0.707865
0.123616
0
0
1
0
0.116525
0.050847
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
b165f622273ecf69985d63df89b530fd79d0327c
512
py
Python
database.py
anthonyc1/excelsior-hack
1c75d23ecab302584021832aa97e6aaf5173d9a7
[ "MIT" ]
2
2020-10-18T11:01:00.000Z
2021-06-16T15:25:46.000Z
database.py
anthonyc1/excelsior-hack
1c75d23ecab302584021832aa97e6aaf5173d9a7
[ "MIT" ]
null
null
null
database.py
anthonyc1/excelsior-hack
1c75d23ecab302584021832aa97e6aaf5173d9a7
[ "MIT" ]
null
null
null
import sqlite3 __all__ = ['Database'] class Database(object): __vars__ = [] def __init__(self, name): self._name = name def _execute(self, command, args=None): connection = sqlite3.connect("exel.db") cursor = connection.cursor() if args is None: out = cu...
18.962963
58
0.568359
51
512
5.431373
0.54902
0.057762
0.115523
0.166065
0
0
0
0
0
0
0
0.005747
0.320313
512
26
59
19.692308
0.79023
0
0
0
0
0
0.02947
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.375
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
b1686dfe468aa4d89da771c780b0145999fa4ed6
796
py
Python
bookorbooks/country/api/serializers/district_serializers.py
talhakoylu/SummerInternshipBackend
4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3
[ "MIT" ]
1
2021-08-10T22:24:17.000Z
2021-08-10T22:24:17.000Z
bookorbooks/country/api/serializers/district_serializers.py
talhakoylu/SummerInternshipBackend
4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3
[ "MIT" ]
null
null
null
bookorbooks/country/api/serializers/district_serializers.py
talhakoylu/SummerInternshipBackend
4ecedf5c97f73e3d32d5a534769e86aac3e4b6d3
[ "MIT" ]
null
null
null
from rest_framework.serializers import ModelSerializer from country.models import City, Country, District class CountrySerializer(ModelSerializer): #helper serializer class Meta: model = Country exclude = ["created_at", "updated_at"] class CitySerializer(ModelSerializer): #helper serialize...
33.166667
104
0.698492
82
796
6.682927
0.463415
0.04927
0.076642
0.125912
0.301095
0.164234
0
0
0
0
0
0
0.213568
796
24
105
33.166667
0.875399
0.169598
0
0.3125
0
0
0.139535
0
0
0
0
0
0
1
0
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b16b04f06abf08178a7c59dd4a1a8cf5ec046320
5,583
py
Python
findatapy/util/dataconstants.py
haibolii/findatapy
84b94f686c73136de70bcef39c094bbcf42ce10d
[ "Apache-2.0" ]
6
2019-06-07T10:43:03.000Z
2020-09-19T21:59:11.000Z
findatapy/util/dataconstants.py
ThomasWongMingHei/findatapy
84b94f686c73136de70bcef39c094bbcf42ce10d
[ "Apache-2.0" ]
null
null
null
findatapy/util/dataconstants.py
ThomasWongMingHei/findatapy
84b94f686c73136de70bcef39c094bbcf42ce10d
[ "Apache-2.0" ]
2
2019-09-18T21:32:11.000Z
2020-06-28T16:29:38.000Z
__author__ = 'saeedamen' # Saeed Amen # # Copyright 2016 Cuemacro # # 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 l...
38.770833
128
0.665592
708
5,583
5.04661
0.423729
0.039183
0.039183
0.015113
0.084803
0.02351
0
0
0
0
0
0.009662
0.258463
5,583
144
129
38.770833
0.853382
0.444027
0
0
0
0
0.178399
0.092823
0
0
0
0
0
1
0.016949
false
0.016949
0.033898
0
0.711864
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
b16d065b27bbdebdc2826a33cd3791596ec45c76
814
py
Python
scripts/format.py
alexrudy/supertunnel
4c64e2fedda3382b809a2c3d01c711ec4961f933
[ "BSD-3-Clause" ]
2
2019-09-28T19:48:10.000Z
2021-06-15T13:36:39.000Z
scripts/format.py
alexrudy/supertunnel
4c64e2fedda3382b809a2c3d01c711ec4961f933
[ "BSD-3-Clause" ]
null
null
null
scripts/format.py
alexrudy/supertunnel
4c64e2fedda3382b809a2c3d01c711ec4961f933
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import subprocess import sys from pathlib import Path from typing import Tuple import click from helpers import expand_paths from helpers import gitroot __gitroot__ = gitroot() @click.command() @click.option("-c", "--check", default=False, is_flag=True, help="Check but don't format") @click.ar...
24.666667
90
0.687961
111
814
4.90991
0.576577
0.040367
0.062385
0
0
0
0
0
0
0
0
0.005944
0.173219
814
32
91
25.4375
0.803863
0.061425
0
0
0
0
0.122691
0
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b16dd51266c18e6e37e5568110ba418de2f2d6cf
1,231
py
Python
slm_lab/agent/algorithm/random.py
cclauss/SLM-Lab
a02948a2665c08a9ee85334dd60dac2f3fa9aee3
[ "MIT" ]
null
null
null
slm_lab/agent/algorithm/random.py
cclauss/SLM-Lab
a02948a2665c08a9ee85334dd60dac2f3fa9aee3
[ "MIT" ]
null
null
null
slm_lab/agent/algorithm/random.py
cclauss/SLM-Lab
a02948a2665c08a9ee85334dd60dac2f3fa9aee3
[ "MIT" ]
null
null
null
''' The random agent algorithm For basic dev purpose. ''' from slm_lab.agent.algorithm.base import Algorithm from slm_lab.lib import logger from slm_lab.lib.decorator import lab_api import numpy as np logger = logger.get_logger(__name__) class Random(Algorithm): ''' Example Random agent that works in both di...
21.982143
78
0.636068
162
1,231
4.648148
0.438272
0.063745
0.083665
0.034529
0
0
0
0
0
0
0
0.002252
0.278635
1,231
55
79
22.381818
0.845721
0.226645
0
0.205882
0
0
0
0
0
0
0
0
0
1
0.205882
false
0.029412
0.117647
0
0.470588
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
b172dd273db0c252881b281472affa6e50f409f8
770
py
Python
teacher/firebase.py
26ANSH/Pathshaala
9b2ed94ddd10a7ee5093ec9b5618e339e9f7c4a9
[ "Apache-2.0" ]
null
null
null
teacher/firebase.py
26ANSH/Pathshaala
9b2ed94ddd10a7ee5093ec9b5618e339e9f7c4a9
[ "Apache-2.0" ]
1
2021-09-28T19:34:38.000Z
2021-09-28T19:34:38.000Z
teacher/firebase.py
26ANSH/Pathshaala
9b2ed94ddd10a7ee5093ec9b5618e339e9f7c4a9
[ "Apache-2.0" ]
1
2021-09-28T19:26:58.000Z
2021-09-28T19:26:58.000Z
import pyrebase # Fill your Firebase Details here - CONFIG = { 'apiKey': "", 'authDomain': "", 'databaseURL': "", 'projectId': "", 'storageBucket': "", 'messagingSenderId': "", 'appId': "" }; # start firebase authentication firebase = pyrebase.initialize_app(CONFIG) auth = firebase.auth() storage=fireb...
21.388889
68
0.692208
90
770
5.766667
0.5
0.100193
0.061657
0.077071
0.354528
0.262042
0.262042
0.262042
0.262042
0.262042
0
0.009375
0.168831
770
36
69
21.388889
0.801563
0.083117
0
0.275862
0
0
0.120739
0
0
0
0
0
0
1
0.103448
false
0.137931
0.034483
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b1759972b4a5d51852acd239961c0d6962d532f3
491
py
Python
src/setup.py
hamshif/wield-services
f159c192accb3649e2ec470a25bf9784cf76a409
[ "Apache-2.0" ]
null
null
null
src/setup.py
hamshif/wield-services
f159c192accb3649e2ec470a25bf9784cf76a409
[ "Apache-2.0" ]
1
2020-06-09T08:17:38.000Z
2020-06-09T08:17:38.000Z
src/setup.py
hamshif/wield-services
f159c192accb3649e2ec470a25bf9784cf76a409
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages setup(name='wield_services', version='0.1', description='A reactive debuggable CICD & orchestration management project' 'running a kubernetes micro-service cluster', url='https://github.com/hamshif/wild-services.git', author='gbar', ...
32.733333
81
0.657841
54
491
5.87037
0.814815
0.07571
0
0
0
0
0
0
0
0
0
0.005222
0.219959
491
14
82
35.071429
0.822454
0
0
0
0
0
0.415479
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b1796d35cf3e5acef1b726f13d88dc6133e8950f
790
py
Python
models.py
leebourne/django-social-auth
094788f304836aeb0c90c17172bd11493dcf6326
[ "Apache-2.0" ]
null
null
null
models.py
leebourne/django-social-auth
094788f304836aeb0c90c17172bd11493dcf6326
[ "Apache-2.0" ]
null
null
null
models.py
leebourne/django-social-auth
094788f304836aeb0c90c17172bd11493dcf6326
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Company(models.Model): company_name = models.CharField(max_length=50, blank=False) class Meta: verbose_name_plural = "companies" def __str__(self): return self.company_name # Extra user information in a...
34.347826
84
0.649367
94
790
5.287234
0.521277
0.04829
0.072435
0
0
0
0
0
0
0
0
0.00335
0.244304
790
23
85
34.347826
0.829146
0.086076
0
0.117647
0
0
0.049931
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0.058824
0.823529
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