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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73cd3b3cf23e37709316b13d443a2a11cfd5f83b | 12,544 | py | Python | Alex.py | Teddy25112002/AI-----Python-----Alex | 50745f6e3b427ed3b741ed738e2760594bd61722 | [
"Unlicense"
] | 3 | 2020-10-10T13:31:28.000Z | 2021-12-19T03:05:39.000Z | Alex.py | Teddy25112002/AI-----Python-----Alex | 50745f6e3b427ed3b741ed738e2760594bd61722 | [
"Unlicense"
] | null | null | null | Alex.py | Teddy25112002/AI-----Python-----Alex | 50745f6e3b427ed3b741ed738e2760594bd61722 | [
"Unlicense"
] | null | null | null | # Ở bước này, các bạn import các thư viện cần thiết cho quá trình tạo nên con trợ lý ảo nhá. Các bạn nào chạy mà bị lỗi thì lên Google search cách tải thư viện cho python nha.
import os
import playsound
import speech_recognition as sr
import time
import sys
import ctypes
import wikipedia
import datetime
import json
imp... | 35.636364 | 299 | 0.602439 | 1,894 | 12,544 | 3.93981 | 0.304646 | 0.033771 | 0.014741 | 0.005226 | 0.06245 | 0.034307 | 0.034307 | 0.02707 | 0.022514 | 0.015277 | 0 | 0.017045 | 0.293766 | 12,544 | 352 | 300 | 35.636364 | 0.825262 | 0.167172 | 0 | 0.193103 | 0 | 0.006897 | 0.294462 | 0.024475 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.003448 | 0.072414 | null | null | 0.024138 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
73d5652299d28f4b24f0dd5175d3cbd912cf2494 | 4,696 | py | Python | worker/tests.py | PDF2CASH/CRUD | 3bd45c91e5317620ef87532076fafdf47eba61e1 | [
"MIT"
] | 1 | 2018-10-17T14:21:27.000Z | 2018-10-17T14:21:27.000Z | worker/tests.py | PDF2CASH/CRUD | 3bd45c91e5317620ef87532076fafdf47eba61e1 | [
"MIT"
] | 1 | 2018-10-25T20:10:45.000Z | 2018-10-25T20:10:45.000Z | worker/tests.py | PDF2CASH/PDF2CASH_APIGateway | 3bd45c91e5317620ef87532076fafdf47eba61e1 | [
"MIT"
] | null | null | null | from django.test import TestCase
from .models import Worker
import json
# Create your tests here.
class WorkerTest(TestCase):
url = '/api/worker/worker/'
def setUp(self):
self.worker1 = Worker.objects.create_user(
username='aloaloalo',
cpf='94837284799',
email='ca... | 29.534591 | 70 | 0.538543 | 448 | 4,696 | 5.533482 | 0.196429 | 0.04881 | 0.07261 | 0.093586 | 0.58209 | 0.519564 | 0.506253 | 0.496168 | 0.466317 | 0.466317 | 0 | 0.047952 | 0.329429 | 4,696 | 158 | 71 | 29.721519 | 0.739282 | 0.004898 | 0 | 0.428571 | 0 | 0 | 0.165061 | 0.020124 | 0 | 0 | 0 | 0 | 0.082707 | 1 | 0.082707 | false | 0.052632 | 0.022556 | 0.007519 | 0.12782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
73d97b934695860b772d41134108e1d650dd2660 | 171 | py | Python | python_100/Level1/12.use_set2.py | relax-space/python-cy | eaf4650756e7ece5ec97894b65a7495b5c964eb3 | [
"Apache-2.0"
] | 1 | 2020-04-27T03:31:23.000Z | 2020-04-27T03:31:23.000Z | python_100/Level1/12.use_set2.py | relax-space/python-cy | eaf4650756e7ece5ec97894b65a7495b5c964eb3 | [
"Apache-2.0"
] | 1 | 2020-04-14T23:55:19.000Z | 2020-04-15T03:29:37.000Z | python_100/Level1/12.use_set2.py | relax-space/python-cy | eaf4650756e7ece5ec97894b65a7495b5c964eb3 | [
"Apache-2.0"
] | null | null | null | # 12.请写出一段python代码实现删除list里面的重复元素?
a = [1,2,3,4,5,4,3,2,1,0]
b = list(set(a))
print(b)
# 还可以加一个,排序显示方式为根据原始的index进行排序
# b = list(set(a))
# b.sort(key=a.index)
# print(b) | 17.1 | 34 | 0.654971 | 32 | 171 | 3.5 | 0.5625 | 0.089286 | 0.142857 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 0.116959 | 171 | 10 | 35 | 17.1 | 0.662252 | 0.625731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
73de70b67ca2c5a87e964857ba86445b5cceb367 | 1,254 | py | Python | utilities.py | AIasd/adversarial_spatial | 8ab966f4073061367c9c387e2e423ab3070993ea | [
"MIT"
] | null | null | null | utilities.py | AIasd/adversarial_spatial | 8ab966f4073061367c9c387e2e423ab3070993ea | [
"MIT"
] | null | null | null | utilities.py | AIasd/adversarial_spatial | 8ab966f4073061367c9c387e2e423ab3070993ea | [
"MIT"
] | null | null | null | from collections import namedtuple
import json
import numpy as np
def get_config(config_path):
with open(config_path) as config_file:
config = json.load(config_file)
return config
def config_to_namedtuple(obj):
if isinstance(obj, dict):
for key, value in obj.items():
obj[key... | 31.35 | 76 | 0.669059 | 170 | 1,254 | 4.841176 | 0.458824 | 0.029162 | 0.065614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 1,254 | 39 | 77 | 32.153846 | 0.890693 | 0.261563 | 0 | 0 | 0 | 0 | 0.012291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.125 | 0 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
73e236ee2321cb50f09b3349b3d00c291c130da6 | 1,766 | py | Python | benchmark/COMPARE/GG/hyper_parameters.py | victor-estrade/SystGradDescent | 822e7094290301ec47a99433381a8d6406798aff | [
"MIT"
] | 2 | 2019-03-20T09:05:02.000Z | 2019-03-20T15:23:44.000Z | benchmark/COMPARE/GG/hyper_parameters.py | victor-estrade/SystGradDescent | 822e7094290301ec47a99433381a8d6406798aff | [
"MIT"
] | null | null | null | benchmark/COMPARE/GG/hyper_parameters.py | victor-estrade/SystGradDescent | 822e7094290301ec47a99433381a8d6406798aff | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from __future__ import unicode_literals
DA_HP = dict(
archi_name=["L4"]
, n_steps=[2000, 5000]
, n_units=[50, 100, 200, 500]
... | 26.358209 | 50 | 0.420725 | 199 | 1,766 | 3.432161 | 0.326633 | 0.087848 | 0.112738 | 0.153734 | 0.532943 | 0.532943 | 0.532943 | 0.532943 | 0.532943 | 0.532943 | 0 | 0.206681 | 0.457531 | 1,766 | 66 | 51 | 26.757576 | 0.506263 | 0.007361 | 0 | 0.433962 | 0 | 0 | 0.014849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075472 | 0 | 0.075472 | 0.018868 | 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 |
73e89478b7c58149430ed4d00bd0a0efbe0d2cca | 434 | py | Python | ics/structures/s_phy_reg_pkt_clause22_mess.py | intrepidcs/python_ics | 7bfa8c2f893763608f9255f9536a2019cfae0c23 | [
"Unlicense"
] | 45 | 2017-10-17T08:42:08.000Z | 2022-02-21T16:26:48.000Z | ics/structures/s_phy_reg_pkt_clause22_mess.py | intrepidcs/python_ics | 7bfa8c2f893763608f9255f9536a2019cfae0c23 | [
"Unlicense"
] | 106 | 2017-03-07T21:10:39.000Z | 2022-03-29T15:32:46.000Z | ics/structures/s_phy_reg_pkt_clause22_mess.py | intrepidcs/python_ics | 7bfa8c2f893763608f9255f9536a2019cfae0c23 | [
"Unlicense"
] | 17 | 2017-04-04T12:30:22.000Z | 2022-01-28T05:30:25.000Z | # This file was auto generated; Do not modify, if you value your sanity!
import ctypes
import enum
class s_phy_reg_pkt_clause22_mess(ctypes.Structure):
_fields_ = [
('phyAddr', ctypes.c_uint8),
('page', ctypes.c_uint8),
('regAddr', ctypes.c_uint16),
('regVal', ctypes.c_uint16),
... | 22.842105 | 72 | 0.711982 | 58 | 434 | 4.948276 | 0.603448 | 0.097561 | 0.073171 | 0.10453 | 0.229965 | 0.229965 | 0 | 0 | 0 | 0 | 0 | 0.045714 | 0.193548 | 434 | 18 | 73 | 24.111111 | 0.774286 | 0.16129 | 0 | 0 | 1 | 0 | 0.066482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 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 |
73e8a53a4843ab182a923c014c8ab27004fdccdc | 440 | py | Python | src/teams/migrations/0008_team_needs_members.py | flokli/bornhack-website | 9dd6b0b23c2e6b1fb2c5f03a8766d4aa96d4443d | [
"BSD-3-Clause"
] | 7 | 2017-04-14T15:28:29.000Z | 2021-09-10T09:45:38.000Z | src/teams/migrations/0008_team_needs_members.py | flokli/bornhack-website | 9dd6b0b23c2e6b1fb2c5f03a8766d4aa96d4443d | [
"BSD-3-Clause"
] | 799 | 2016-04-28T09:31:50.000Z | 2022-03-29T09:05:02.000Z | src/teams/migrations/0008_team_needs_members.py | flokli/bornhack-website | 9dd6b0b23c2e6b1fb2c5f03a8766d4aa96d4443d | [
"BSD-3-Clause"
] | 35 | 2016-04-28T09:23:53.000Z | 2021-05-02T12:36:01.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-04-02 13:57
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("teams", "0007_teamarea_description")]
operations = [
migrations.AddField(
mo... | 23.157895 | 59 | 0.643182 | 49 | 440 | 5.591837 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062874 | 0.240909 | 440 | 18 | 60 | 24.444444 | 0.757485 | 0.154545 | 0 | 0 | 1 | 0 | 0.127371 | 0.067751 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
73e99b5ecb770674fdee260defa32af93e9be770 | 571 | py | Python | Chapter28/15_1.py | PacktPublishing/GettingStartedwithPythonfortheInternetofThings- | a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6 | [
"MIT"
] | 19 | 2018-06-28T15:48:47.000Z | 2022-01-08T12:40:52.000Z | Chapter28/15_1.py | PacktPublishing/GettingStartedwithPythonfortheInternetofThings- | a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6 | [
"MIT"
] | null | null | null | Chapter28/15_1.py | PacktPublishing/GettingStartedwithPythonfortheInternetofThings- | a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6 | [
"MIT"
] | 13 | 2018-06-30T10:33:52.000Z | 2021-12-29T11:31:31.000Z | import signal
import flicklib
import time
def message(value):
print value
@flicklib.move()
def move(x, y, z):
global xyztxt
xyztxt = '{:5.3f} {:5.3f} {:5.3f}'.format(x,y,z)
@flicklib.flick()
def flick(start,finish):
global flicktxt
flicktxt = 'FLICK-' + start[0].upper() + finish[0].upper()
message(fli... | 19.689655 | 61 | 0.621716 | 76 | 571 | 4.671053 | 0.421053 | 0.025352 | 0.016901 | 0.033803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029478 | 0.227671 | 571 | 29 | 62 | 19.689655 | 0.77551 | 0 | 0 | 0.357143 | 0 | 0 | 0.050699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.107143 | null | null | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
73eb70fa4ad107b044e463581eddb281405afbbf | 1,261 | py | Python | inky_calendar.py | nukes327/inky_utilities | faceb19d8bb72d9c67a34ec01b10127a2ef7de5f | [
"MIT"
] | 2 | 2021-06-13T07:44:29.000Z | 2021-06-25T21:15:11.000Z | inky_calendar.py | nukes327/inky_utilities | faceb19d8bb72d9c67a34ec01b10127a2ef7de5f | [
"MIT"
] | null | null | null | inky_calendar.py | nukes327/inky_utilities | faceb19d8bb72d9c67a34ec01b10127a2ef7de5f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Display a calendar populated from google calendar data on an inky display."""
from PIL import Image, ImageDraw # type: ignore
from typing import Tuple
import time
def draw_what_sheet(image: Image) -> None:
"""Draw a calendar page for a WHAT display.
Args:
... | 25.22 | 80 | 0.592387 | 178 | 1,261 | 4.089888 | 0.449438 | 0.090659 | 0.035714 | 0.032967 | 0.052198 | 0.052198 | 0 | 0 | 0 | 0 | 0 | 0.070968 | 0.26249 | 1,261 | 49 | 81 | 25.734694 | 0.711828 | 0.221253 | 0 | 0.066667 | 0 | 0 | 0.025184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0.066667 | 0.133333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
73ef573f5e5b806cb5c57eb3f18041bd5682a57d | 4,204 | py | Python | sandbox/lib/jumpscale/JumpscaleLibs/clients/zero_stor/data.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | null | null | null | sandbox/lib/jumpscale/JumpscaleLibs/clients/zero_stor/data.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 117 | 2019-09-01T11:59:19.000Z | 2020-07-14T11:10:08.000Z | sandbox/lib/jumpscale/JumpscaleLibs/clients/zero_stor/data.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 2 | 2020-04-06T15:21:23.000Z | 2020-05-07T04:29:53.000Z | # Copyright (C) 2017-2018 GIG Technology NV and Contributors
#
# 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 applicabl... | 31.140741 | 110 | 0.639867 | 523 | 4,204 | 5.066922 | 0.342256 | 0.030189 | 0.042264 | 0.030189 | 0.063396 | 0.023396 | 0 | 0 | 0 | 0 | 0 | 0.010502 | 0.275214 | 4,204 | 134 | 111 | 31.373134 | 0.859206 | 0.447193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0 | 0.054054 | 0 | 0.621622 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
73f170494275ea67b273844958fc5c348667b63c | 2,103 | py | Python | src/utils/pythonSrc/watchFaceParser/models/elements/weather/symbolsElement.py | chm-dev/amazfitGTSwatchfaceBundle | 4cb04be5215de16628418e9b38152a35d5372d3e | [
"MIT"
] | 49 | 2019-12-18T11:24:56.000Z | 2022-03-28T09:56:27.000Z | src/utils/pythonSrc/watchFaceParser/models/elements/weather/symbolsElement.py | chm-dev/amazfitGTSwatchfaceBundle | 4cb04be5215de16628418e9b38152a35d5372d3e | [
"MIT"
] | 6 | 2020-01-08T21:31:15.000Z | 2022-03-25T19:13:26.000Z | src/utils/pythonSrc/watchFaceParser/models/elements/weather/symbolsElement.py | chm-dev/amazfitGTSwatchfaceBundle | 4cb04be5215de16628418e9b38152a35d5372d3e | [
"MIT"
] | 6 | 2019-12-27T17:30:24.000Z | 2021-09-30T08:11:01.000Z | import logging
from watchFaceParser.models.elements.basic.compositeElement import CompositeElement
class SymbolsElement(CompositeElement):
def __init__(self, parameter, parent, name = None):
self._unknown0800 = None
self._minusImageIndex = None
self._degreesImageIndex = None
self.... | 40.442308 | 116 | 0.680456 | 187 | 2,103 | 7.540107 | 0.320856 | 0.06383 | 0.085106 | 0.099291 | 0.243972 | 0.190071 | 0.190071 | 0.190071 | 0.190071 | 0 | 0 | 0.016667 | 0.229672 | 2,103 | 51 | 117 | 41.235294 | 0.853086 | 0.127913 | 0 | 0 | 0 | 0 | 0.039956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.085714 | null | null | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
73f34e537247a70a33acbfdb418bf1b0519f754a | 1,503 | py | Python | src/qtt/instrument_drivers/virtualAwg/settings.py | codecrap/qtt | 39a8bf21f7bcab94940a66f4d553a14bf34f82b0 | [
"MIT"
] | 39 | 2018-09-13T14:14:56.000Z | 2022-03-28T22:02:29.000Z | src/qtt/instrument_drivers/virtualAwg/settings.py | codecrap/qtt | 39a8bf21f7bcab94940a66f4d553a14bf34f82b0 | [
"MIT"
] | 136 | 2018-08-30T19:38:22.000Z | 2022-03-31T13:05:29.000Z | src/qtt/instrument_drivers/virtualAwg/settings.py | codecrap/qtt | 39a8bf21f7bcab94940a66f4d553a14bf34f82b0 | [
"MIT"
] | 21 | 2018-11-04T09:00:02.000Z | 2022-01-20T01:40:08.000Z | from qcodes import Instrument, ManualParameter
from qcodes.utils.validators import Numbers
class SettingsInstrument(Instrument):
""" Instrument that holds settings for the Virtual AWG """
def __init__(self, name, **kwargs):
super().__init__(name, **kwargs)
self._awg_map = {}
self._aw... | 27.327273 | 96 | 0.639388 | 181 | 1,503 | 4.98895 | 0.320442 | 0.100775 | 0.055371 | 0.056478 | 0.079734 | 0.079734 | 0.079734 | 0.079734 | 0.079734 | 0 | 0 | 0.008101 | 0.260812 | 1,503 | 54 | 97 | 27.833333 | 0.80468 | 0.071856 | 0 | 0.135135 | 0 | 0 | 0.014482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0 | 0.054054 | 0.081081 | 0.432432 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
73f4012dc40072e68f96398cdcdc207dcce80a57 | 4,021 | py | Python | Battleships/Source/battleships_functions_check.py | Dorthion/Python-Minigames | 91ba20d42ac7376ccaad60cd948a576800085623 | [
"MIT"
] | null | null | null | Battleships/Source/battleships_functions_check.py | Dorthion/Python-Minigames | 91ba20d42ac7376ccaad60cd948a576800085623 | [
"MIT"
] | null | null | null | Battleships/Source/battleships_functions_check.py | Dorthion/Python-Minigames | 91ba20d42ac7376ccaad60cd948a576800085623 | [
"MIT"
] | null | null | null | def load_config_file(config):
global cfg
cfg = config
def check_column(bmap,y,x):
if bmap[y][x] == 1: #Center
return True
if y - 1 >= 0: #Top Side
if bmap[y - 1][x] == 1:
return True
if y + 1 < cfg["Rules"].get... | 27.923611 | 109 | 0.456354 | 573 | 4,021 | 3.101222 | 0.102967 | 0.029263 | 0.055149 | 0.074283 | 0.736072 | 0.713562 | 0.687676 | 0.653348 | 0.611705 | 0.543613 | 0 | 0.03476 | 0.41333 | 4,021 | 144 | 110 | 27.923611 | 0.718525 | 0.043273 | 0 | 0.59322 | 0 | 0 | 0.041232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0 | 0 | 0.330508 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
73f5cbadff337518a441dc2f921655aac781fb55 | 391 | py | Python | AI_Web/GA/migrations/0003_gastate_all.py | xwy27/ArtificialIntelligenceProjects | e2b0154f07d749084e2d670260fa82f8f5ea23ed | [
"MIT"
] | 4 | 2018-12-19T14:10:56.000Z | 2021-07-12T06:05:17.000Z | AI_Web/GA/migrations/0003_gastate_all.py | xwy27/ArtificialIntelligenceProjects | e2b0154f07d749084e2d670260fa82f8f5ea23ed | [
"MIT"
] | 1 | 2019-08-06T01:57:41.000Z | 2019-08-06T01:57:41.000Z | AI_Web/GA/migrations/0003_gastate_all.py | xwy27/ArtificialIntelligenceProjects | e2b0154f07d749084e2d670260fa82f8f5ea23ed | [
"MIT"
] | null | null | null | # Generated by Django 2.1 on 2019-01-14 03:29
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('GA', '0002_auto_20190113_2240'),
]
operations = [
migrations.AddField(
model_name='gastate',
name='All',
f... | 20.578947 | 66 | 0.590793 | 42 | 391 | 5.380952 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125448 | 0.286445 | 391 | 18 | 67 | 21.722222 | 0.684588 | 0.109974 | 0 | 0 | 1 | 0 | 0.104046 | 0.066474 | 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 |
fb40c0bde3c0c476482d3825584b0c0f5d43712b | 1,024 | py | Python | alive_progress/tools/repl.py | Shinyh29/alive-progress | 767445917e7cb384981c0dc29b3b3204384353b1 | [
"MIT"
] | 3,304 | 2019-08-05T07:16:40.000Z | 2022-03-31T11:50:57.000Z | alive_progress/tools/repl.py | Shinyh29/alive-progress | 767445917e7cb384981c0dc29b3b3204384353b1 | [
"MIT"
] | 126 | 2019-08-07T09:08:32.000Z | 2022-03-31T14:27:17.000Z | alive_progress/tools/repl.py | Shinyh29/alive-progress | 767445917e7cb384981c0dc29b3b3204384353b1 | [
"MIT"
] | 151 | 2019-08-12T19:14:15.000Z | 2022-03-31T07:17:48.000Z | """
Tools intended to be used inside a Python REPL, like ipython or python itself.
"""
def print_chars(line_length=32, max_char=0x20000):
"""Print all chars in the terminal, to help you find that cool one to put in your
customized spinner or bar. Also useful to determine if your terminal do support them.
... | 36.571429 | 89 | 0.602539 | 148 | 1,024 | 4.094595 | 0.594595 | 0.082508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032303 | 0.304688 | 1,024 | 27 | 90 | 37.925926 | 0.81882 | 0.509766 | 0 | 0 | 0 | 0 | 0.03268 | 0 | 0 | 0 | 0.04793 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.083333 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
fb4b80b7015fe4132572e8e2d65819201641a4d9 | 676 | py | Python | src/exoplanet/citations_test.py | ericagol/exoplanet | ec270622f28cd53d3052ed44d20f30b5d2b4dcb6 | [
"MIT"
] | null | null | null | src/exoplanet/citations_test.py | ericagol/exoplanet | ec270622f28cd53d3052ed44d20f30b5d2b4dcb6 | [
"MIT"
] | null | null | null | src/exoplanet/citations_test.py | ericagol/exoplanet | ec270622f28cd53d3052ed44d20f30b5d2b4dcb6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__all__ = ["test_basic"]
import pymc3 as pm
from .citations import CITATIONS, get_citations_for_model
from .light_curves import LimbDarkLightCurve
def test_basic():
with pm.Model() as model:
txt, bib = get_citations_for_model()
assert txt == ""
assert bib == ""
with... | 25.037037 | 57 | 0.640533 | 95 | 676 | 4.357895 | 0.368421 | 0.115942 | 0.144928 | 0.193237 | 0.21256 | 0.125604 | 0 | 0 | 0 | 0 | 0 | 0.025145 | 0.235207 | 676 | 26 | 58 | 26 | 0.775629 | 0.031065 | 0 | 0.222222 | 0 | 0 | 0.05513 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.055556 | false | 0 | 0.166667 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fb5a16506c9ce9491f820d1f0069742ad46a6107 | 445 | py | Python | custom_components/vacuum/automower.py | naijaping/Home-Assistant-Config | b9188cb35eafffb9a6d74c9db51995aec7497b45 | [
"MIT"
] | 30 | 2017-11-06T17:23:00.000Z | 2021-08-17T19:39:37.000Z | custom_components/vacuum/automower.py | DevvAndreas/Home-Assistant-Config | b9188cb35eafffb9a6d74c9db51995aec7497b45 | [
"MIT"
] | 38 | 2017-04-30T07:56:22.000Z | 2017-10-27T21:02:26.000Z | custom_components/vacuum/automower.py | naijaping/Home-Assistant-Config | b9188cb35eafffb9a6d74c9db51995aec7497b45 | [
"MIT"
] | 4 | 2018-10-23T04:41:40.000Z | 2021-04-18T22:40:53.000Z | """
"Vacuum" for Husqvarna Automowers.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/vacuum.automower/
"""
from ..automower import DOMAIN as AUTOMOWER_DOMAIN
DEPENDENCIES = ['automower']
def setup_platform(hass, config, add_devices, discovery_info=No... | 29.666667 | 74 | 0.766292 | 57 | 445 | 5.877193 | 0.701754 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121348 | 445 | 14 | 75 | 31.785714 | 0.856777 | 0.478652 | 0 | 0 | 0 | 0 | 0.073059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fb5b7d8de75434f56e5b77379cf0c0bc4c1de753 | 4,518 | py | Python | shop/backend_base.py | christianbertschy/django-shop | 432a15b17b8d09d8a3fece23709dd91d113f37e3 | [
"BSD-3-Clause"
] | 1 | 2015-09-24T00:36:32.000Z | 2015-09-24T00:36:32.000Z | shop/backend_base.py | christianbertschy/django-shop | 432a15b17b8d09d8a3fece23709dd91d113f37e3 | [
"BSD-3-Clause"
] | null | null | null | shop/backend_base.py | christianbertschy/django-shop | 432a15b17b8d09d8a3fece23709dd91d113f37e3 | [
"BSD-3-Clause"
] | null | null | null | #-*- coding: utf-8 -*-
from django.conf import settings
from django.core import exceptions
from django.utils.importlib import import_module
from shop.models.ordermodel import OrderExtraInfo
from shop.util.order import get_order_from_request
class BaseBackendAPI(object):
'''
A base-baseclass for shop APIs.
... | 37.65 | 94 | 0.624391 | 523 | 4,518 | 5.200765 | 0.357553 | 0.066176 | 0.047059 | 0.042279 | 0.189338 | 0.073529 | 0.053676 | 0.027206 | 0 | 0 | 0 | 0.000639 | 0.307658 | 4,518 | 120 | 95 | 37.65 | 0.868926 | 0.053121 | 0 | 0.268657 | 0 | 0 | 0.086356 | 0.013804 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.119403 | 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 |
fb685815cb43c7988c2244637963950570433fb1 | 4,650 | py | Python | coloredcoinlib/tests/test_txspec.py | petertodd/ngcccbase | 9e346eebaf4461589e5fdce098c8d0c5793c9461 | [
"MIT"
] | 2 | 2021-10-31T19:08:48.000Z | 2021-10-31T19:09:31.000Z | coloredcoinlib/tests/test_txspec.py | petertodd/ngcccbase | 9e346eebaf4461589e5fdce098c8d0c5793c9461 | [
"MIT"
] | null | null | null | coloredcoinlib/tests/test_txspec.py | petertodd/ngcccbase | 9e346eebaf4461589e5fdce098c8d0c5793c9461 | [
"MIT"
] | 1 | 2021-10-31T19:10:02.000Z | 2021-10-31T19:10:02.000Z | #!/usr/bin/env python
import unittest
from coloredcoinlib.colorvalue import SimpleColorValue
from coloredcoinlib.colordef import (UNCOLORED_MARKER, OBColorDefinition,
EPOBCColorDefinition)
from coloredcoinlib.txspec import (ColorTarget, OperationalTxSpec,
... | 33.941606 | 88 | 0.630968 | 526 | 4,650 | 5.378327 | 0.250951 | 0.035348 | 0.036762 | 0.052315 | 0.227996 | 0.137504 | 0.117002 | 0.115235 | 0.074231 | 0.074231 | 0 | 0.027978 | 0.254409 | 4,650 | 136 | 89 | 34.191176 | 0.788001 | 0.004301 | 0 | 0.074074 | 0 | 0 | 0.03262 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.222222 | false | 0.009259 | 0.037037 | 0.055556 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fb6d93fa0639d9d52416f40509059380675f8d03 | 413 | py | Python | home/MaVo/AndSpeRec-Speech.py | rv8flyboy/pyrobotlab | 4e04fb751614a5cb6044ea15dcfcf885db8be65a | [
"Apache-2.0"
] | 63 | 2015-02-03T18:49:43.000Z | 2022-03-29T03:52:24.000Z | home/MaVo/AndSpeRec-Speech.py | hirwaHenryChristian/pyrobotlab | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | [
"Apache-2.0"
] | 16 | 2016-01-26T19:13:29.000Z | 2018-11-25T21:20:51.000Z | home/MaVo/AndSpeRec-Speech.py | hirwaHenryChristian/pyrobotlab | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | [
"Apache-2.0"
] | 151 | 2015-01-03T18:55:54.000Z | 2022-03-04T07:04:23.000Z | #AndroidSpeechRecognition combined with Speech
from java.lang import String
#creating services
asr = Runtime.start("asr", "AndroidSpeechRecognition")
speech = Runtime.start("speech", "Speech")
#recognition-def
def heard(data):
print data
speech.speakBlocking(data);
#asr.sendToClient(data);
asr.startRecognition();... | 24.294118 | 73 | 0.767554 | 46 | 413 | 6.891304 | 0.630435 | 0.07571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094431 | 413 | 16 | 74 | 25.8125 | 0.847594 | 0.27845 | 0 | 0 | 0 | 0 | 0.1843 | 0.081911 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fb755a3e57c95c9bb6332d948272e2f55dd7c95f | 1,744 | py | Python | enum/simple_enums.py | eliben/python3-samples | 3a533b22c97c54de22d9cf950a9a3247739eaddc | [
"Unlicense"
] | 15 | 2015-04-15T05:14:13.000Z | 2021-04-05T10:22:35.000Z | enum/simple_enums.py | eliben/python3-samples | 3a533b22c97c54de22d9cf950a9a3247739eaddc | [
"Unlicense"
] | null | null | null | enum/simple_enums.py | eliben/python3-samples | 3a533b22c97c54de22d9cf950a9a3247739eaddc | [
"Unlicense"
] | 7 | 2015-06-13T07:35:07.000Z | 2019-03-25T03:32:21.000Z | #-------------------------------------------------------------------------------
# Basic examples of using the enum module.
#
# Eli Bendersky (eliben@gmail.com)
# This code is in hte public domain
#-------------------------------------------------------------------------------
from enum import Enum
# Define an enum an... | 30.068966 | 80 | 0.637615 | 247 | 1,744 | 4.502024 | 0.441296 | 0.053957 | 0.023381 | 0.026978 | 0.048561 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011757 | 0.170872 | 1,744 | 57 | 81 | 30.596491 | 0.757261 | 0.423739 | 0 | 0.064516 | 0 | 0 | 0.355263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.322581 | 0.483871 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
fb75bc6a380459dea4137013e2a31b184f518d80 | 1,125 | py | Python | Ex26.py | CarlosDouradoPGR/PythonBR-EstruturasDecs | 727ab33f44c48e2d7026ea85d54791d1885c0bdc | [
"MIT"
] | null | null | null | Ex26.py | CarlosDouradoPGR/PythonBR-EstruturasDecs | 727ab33f44c48e2d7026ea85d54791d1885c0bdc | [
"MIT"
] | null | null | null | Ex26.py | CarlosDouradoPGR/PythonBR-EstruturasDecs | 727ab33f44c48e2d7026ea85d54791d1885c0bdc | [
"MIT"
] | null | null | null | ccc = str(input('Vôce desejas abastecer com Álcool[A] ou Gasolina[A]:\n').upper().strip())
price = float(input('Quantos litros deseja abastecer?\n ').strip())
if ccc in 'AG':
if ccc == 'A' and price > 20:
print("Acima de 20 litrs o cliente reebe uma desconto de 5% equivalente a R${}".format(price*5/100))
... | 62.5 | 113 | 0.620444 | 193 | 1,125 | 3.61658 | 0.305699 | 0.126075 | 0.120344 | 0.08596 | 0.670487 | 0.601719 | 0.590258 | 0.590258 | 0.472779 | 0.472779 | 0 | 0.05977 | 0.226667 | 1,125 | 17 | 114 | 66.176471 | 0.742529 | 0 | 0 | 0 | 0 | 0.058824 | 0.470222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.529412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
fb7a4fcafec06e423b25293341d4a0f9c0a7e1df | 3,072 | py | Python | k8s/io/apimachinery/pkg/util/intstr/generated_pb2.py | katrogan/flyteproto | 7c3548b070c441d228b599aeadc87b5408ccbb74 | [
"Apache-2.0"
] | 6 | 2019-04-12T16:15:22.000Z | 2020-03-20T14:16:41.000Z | k8s/io/apimachinery/pkg/util/intstr/generated_pb2.py | katrogan/flyteproto | 7c3548b070c441d228b599aeadc87b5408ccbb74 | [
"Apache-2.0"
] | 2 | 2019-04-11T23:14:53.000Z | 2019-04-24T23:26:13.000Z | k8s/io/apimachinery/pkg/util/intstr/generated_pb2.py | katrogan/flyteproto | 7c3548b070c441d228b599aeadc87b5408ccbb74 | [
"Apache-2.0"
] | 1 | 2020-12-23T10:58:35.000Z | 2020-12-23T10:58:35.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: k8s.io/apimachinery/pkg/util/intstr/generated.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from googl... | 36.141176 | 262 | 0.756185 | 403 | 3,072 | 5.540943 | 0.295285 | 0.068966 | 0.083744 | 0.103448 | 0.441111 | 0.441111 | 0.414241 | 0.358262 | 0.301836 | 0.214062 | 0 | 0.032389 | 0.11556 | 3,072 | 84 | 263 | 36.571429 | 0.789474 | 0.089518 | 0 | 0.307692 | 1 | 0.015385 | 0.238266 | 0.207453 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fb7cb90664ef647274219a9f20845b54ac844667 | 1,448 | py | Python | tests/functions/list/test_quote.py | sukovanej/mplisp | a3faf8c06936bcc5cde59899abf41a1b379090f5 | [
"MIT"
] | null | null | null | tests/functions/list/test_quote.py | sukovanej/mplisp | a3faf8c06936bcc5cde59899abf41a1b379090f5 | [
"MIT"
] | null | null | null | tests/functions/list/test_quote.py | sukovanej/mplisp | a3faf8c06936bcc5cde59899abf41a1b379090f5 | [
"MIT"
] | null | null | null | import unittest
import mplisp.evaluator as evaluator
class TestQuote(unittest.TestCase):
def simple_test(self):
input1 = """(quote (1 2 3))"""
input2 = """(quote ((1 2) (3 4)))"""
input3 = """(quote ahoj)"""
input4 = """(quote 1)"""
output1 = list(evaluator.evaluate(input... | 32.909091 | 54 | 0.563536 | 160 | 1,448 | 5.08125 | 0.21875 | 0.159902 | 0.258303 | 0.01968 | 0.615006 | 0.590406 | 0.590406 | 0.590406 | 0.590406 | 0.590406 | 0 | 0.07635 | 0.258287 | 1,448 | 43 | 55 | 33.674419 | 0.680633 | 0 | 0 | 0.457143 | 0 | 0 | 0.073895 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.057143 | false | 0 | 0.057143 | 0 | 0.142857 | 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 |
fb7f16f26810ad5b616efb67d758bc2e910f9ade | 7,270 | py | Python | gevent_zeromq/core.py | ContinuumIO/gevent-zeromq | b6d4e4ec802dbd477e2fe4793a4ab9079174f94b | [
"BSD-3-Clause"
] | 2 | 2017-09-17T18:32:38.000Z | 2019-08-26T03:10:07.000Z | gevent_zeromq/core.py | ContinuumIO/gevent-zeromq | b6d4e4ec802dbd477e2fe4793a4ab9079174f94b | [
"BSD-3-Clause"
] | null | null | null | gevent_zeromq/core.py | ContinuumIO/gevent-zeromq | b6d4e4ec802dbd477e2fe4793a4ab9079174f94b | [
"BSD-3-Clause"
] | 3 | 2021-02-23T09:24:52.000Z | 2021-02-23T09:25:04.000Z | """This module wraps the :class:`Socket` and :class:`Context` found in :mod:`pyzmq <zmq>` to be non blocking
"""
import zmq
from zmq import *
# imported with different names as to not have the star import try to to clobber (when building with cython)
from zmq.core.context import Context as _original_Context
from zmq.c... | 34.292453 | 116 | 0.591197 | 891 | 7,270 | 4.703704 | 0.242424 | 0.016702 | 0.020043 | 0.020043 | 0.208781 | 0.153663 | 0.105941 | 0.094011 | 0.057743 | 0 | 0 | 0.004294 | 0.327235 | 7,270 | 211 | 117 | 34.454976 | 0.852586 | 0.101926 | 0 | 0.328125 | 0 | 0 | 0.026063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.09375 | 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 |
fb85b505043b99e46d385e354252b4b5b2afc4e9 | 2,693 | py | Python | enh_rand_sim.py | tmayed/Enh2harTensorFlow | 1a5b4fa0544f2ba7bf280bc93b296e64958bc4d8 | [
"MIT"
] | null | null | null | enh_rand_sim.py | tmayed/Enh2harTensorFlow | 1a5b4fa0544f2ba7bf280bc93b296e64958bc4d8 | [
"MIT"
] | null | null | null | enh_rand_sim.py | tmayed/Enh2harTensorFlow | 1a5b4fa0544f2ba7bf280bc93b296e64958bc4d8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@author: t.maybour
"""
import os
import numpy as np
import enh_class as enh_class
import random
def main():
enh = enh_class.enh_class()
##########################################
################# setup ##################
##########################################
... | 28.956989 | 122 | 0.360564 | 250 | 2,693 | 3.64 | 0.332 | 0.043956 | 0.074725 | 0.079121 | 0.153846 | 0.07033 | 0.07033 | 0.07033 | 0 | 0 | 0 | 0.026047 | 0.201634 | 2,693 | 92 | 123 | 29.271739 | 0.397209 | 0.024879 | 0 | 0.045455 | 0 | 0 | 0.067089 | 0.037975 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.090909 | 0 | 0.113636 | 0.022727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fb869621f7e74112ed810f91c0ff5abd78f4a7cf | 494 | py | Python | gem/migrations/0040_auto_20191121_1556.py | praekelt/molo-gem | ab4f9a16719f6cfc1981ef448f1d42c457e1dad7 | [
"BSD-2-Clause"
] | 3 | 2017-08-03T22:37:13.000Z | 2018-06-14T15:36:01.000Z | gem/migrations/0040_auto_20191121_1556.py | praekelt/molo-gem | ab4f9a16719f6cfc1981ef448f1d42c457e1dad7 | [
"BSD-2-Clause"
] | 635 | 2016-01-12T07:23:46.000Z | 2018-11-16T07:43:13.000Z | gem/migrations/0040_auto_20191121_1556.py | praekelt/molo-gem | ab4f9a16719f6cfc1981ef448f1d42c457e1dad7 | [
"BSD-2-Clause"
] | 6 | 2017-05-11T09:50:34.000Z | 2018-11-16T10:42:56.000Z | # Generated by Django 2.2.7 on 2019-11-21 13:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gem', '0039_gemsettings_enable_comment_threads'),
]
operations = [
migrations.AlterField(
model_name='gemsettings',
... | 26 | 125 | 0.653846 | 57 | 494 | 5.526316 | 0.789474 | 0.08254 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050938 | 0.244939 | 494 | 18 | 126 | 27.444444 | 0.793566 | 0.091093 | 0 | 0 | 1 | 0 | 0.297539 | 0.136465 | 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 |
fb87938460eac1cb3199d288585a106f25112b5e | 16,025 | py | Python | uropa.py | mariakondili/UROPA | d05c02565138d0feb01b7abdbdd978a1756f18f2 | [
"MIT"
] | null | null | null | uropa.py | mariakondili/UROPA | d05c02565138d0feb01b7abdbdd978a1756f18f2 | [
"MIT"
] | null | null | null | uropa.py | mariakondili/UROPA | d05c02565138d0feb01b7abdbdd978a1756f18f2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
uropa.py: UROPA - Universal RObust Peak Annotator
@authors: Maria Kondili, Jens Preussner and Annika Fust
@license: MIT
@version: 1.0
@maintainer: Mario Looso
@email: mario.looso@mpi-bn.mpg.de
"""
from __future__ import division
import os
import sys
import json
import glob
import argparse
im... | 34.611231 | 155 | 0.609797 | 1,948 | 16,025 | 4.860883 | 0.208419 | 0.018587 | 0.015208 | 0.015208 | 0.268349 | 0.18249 | 0.15461 | 0.127785 | 0.093885 | 0.080262 | 0 | 0.003579 | 0.285179 | 16,025 | 462 | 156 | 34.686147 | 0.823047 | 0.073822 | 0 | 0.3297 | 0 | 0.002725 | 0.202177 | 0.003286 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.046322 | null | null | 0.00545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
fb88a8aca286fa6cc08d9c70295242f9ddf274a7 | 3,823 | py | Python | dev/tools.py | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 16 | 2016-05-10T05:50:58.000Z | 2021-10-05T22:16:13.000Z | dev/tools.py | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 7 | 2016-09-05T10:08:33.000Z | 2019-02-13T10:51:07.000Z | dev/tools.py | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 15 | 2015-01-28T20:27:02.000Z | 2021-09-28T19:26:08.000Z | ## ----------------------------------------------------------------------------
## Tools for python generators
## ----------------------------------------------------------------------------
import string, re, sys
import os, stat, filecmp, shutil
def warning (msg):
"Display a warning."
print >>sys.stderr, "Warnin... | 31.858333 | 79 | 0.582265 | 520 | 3,823 | 4.217308 | 0.388462 | 0.029184 | 0.01368 | 0.02052 | 0.182399 | 0.153215 | 0.122207 | 0.122207 | 0.092111 | 0.092111 | 0 | 0.004326 | 0.213968 | 3,823 | 119 | 80 | 32.12605 | 0.725458 | 0.192519 | 0 | 0.123457 | 0 | 0 | 0.16472 | 0 | 0 | 0 | 0 | 0.008403 | 0 | 0 | null | null | 0 | 0.024691 | null | null | 0.049383 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
fb8ac1ef4cef5a82eb562c438d9e81ca8b2e1dc5 | 336 | py | Python | Etap 3/Logia13/Zad2.py | aszokalski/Logia | 5e29745b01623df8a2f162f143656a76056af407 | [
"MIT"
] | null | null | null | Etap 3/Logia13/Zad2.py | aszokalski/Logia | 5e29745b01623df8a2f162f143656a76056af407 | [
"MIT"
] | null | null | null | Etap 3/Logia13/Zad2.py | aszokalski/Logia | 5e29745b01623df8a2f162f143656a76056af407 | [
"MIT"
] | null | null | null | def ostatni(n, k):
stol = [i for i in range(1, n + 1)]
krzesla = stol
while len(stol) < k:
stol += stol
index = 0
while len(stol) > 0:
index = (index + k - 1) % len(stol)
ost = stol[index]
#print(ost, stol, index)
stol = stol[:index] + stol[index + 1:]
... | 19.764706 | 46 | 0.482143 | 48 | 336 | 3.375 | 0.375 | 0.277778 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.375 | 336 | 16 | 47 | 21 | 0.742857 | 0.068452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.181818 | 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 |
fb9293eb624278914a1a7c4ca502a730df19fbd3 | 2,683 | py | Python | cantherm.py | nyee/RMG-Py | 1c8816af340c106967bc877bee0ff9fe71607d7a | [
"MIT"
] | null | null | null | cantherm.py | nyee/RMG-Py | 1c8816af340c106967bc877bee0ff9fe71607d7a | [
"MIT"
] | null | null | null | cantherm.py | nyee/RMG-Py | 1c8816af340c106967bc877bee0ff9fe71607d7a | [
"MIT"
] | 1 | 2021-08-14T13:47:18.000Z | 2021-08-14T13:47:18.000Z | #!/usr/bin/env python
# encoding: utf-8
################################################################################
#
# RMG - Reaction Mechanism Generator
#
# Copyright (c) 2002-2015 Prof. William H. Green (whgreen@mit.edu),
# Prof. Richard H. West (r.west@neu.edu) and the RMG Team (rmg_dev@mit.edu)
#
# ... | 38.328571 | 115 | 0.701826 | 375 | 2,683 | 5.016 | 0.506667 | 0.046784 | 0.013822 | 0.025518 | 0.027645 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008997 | 0.17145 | 2,683 | 69 | 116 | 38.884058 | 0.837157 | 0.742452 | 0 | 0 | 0 | 0 | 0.231855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
fb995a37e68b7da3a306059d0bc87fa7bfe509d0 | 4,823 | py | Python | stream.py | mitliagkas/pyliakmon | 28a22be63646faf39f0f96a779a4579f69bfb41a | [
"MIT"
] | 3 | 2016-05-27T13:46:53.000Z | 2017-04-16T22:43:42.000Z | stream.py | mitliagkas/pyliakmon | 28a22be63646faf39f0f96a779a4579f69bfb41a | [
"MIT"
] | null | null | null | stream.py | mitliagkas/pyliakmon | 28a22be63646faf39f0f96a779a4579f69bfb41a | [
"MIT"
] | null | null | null | import cPickle as pickle
import numpy as np
from fcntl import fcntl, F_GETFL, F_SETFL
import os
import select
class DataStream:
def __init__(self, n=0):
self.n=n
self.name='DataStream'
def __iter__(self):
return self
def __next__(self):
raise StopIteration
def next(se... | 27.403409 | 78 | 0.570185 | 522 | 4,823 | 5.109195 | 0.296935 | 0.029996 | 0.041995 | 0.025497 | 0.16048 | 0.150356 | 0.085489 | 0.057743 | 0.045744 | 0.045744 | 0 | 0.004727 | 0.342111 | 4,823 | 175 | 79 | 27.56 | 0.835802 | 0.125441 | 0 | 0.325203 | 0 | 0 | 0.015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04065 | null | null | 0.00813 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
fb9a9a2f51f92943fcbb58a840d3009ebbdf72b4 | 4,279 | py | Python | litex/soc/cores/clock/efinix_trion.py | yetifrisstlama/litex | b039f5c01d76a712678d2e5abb1496b3a496db31 | [
"ADSL"
] | null | null | null | litex/soc/cores/clock/efinix_trion.py | yetifrisstlama/litex | b039f5c01d76a712678d2e5abb1496b3a496db31 | [
"ADSL"
] | null | null | null | litex/soc/cores/clock/efinix_trion.py | yetifrisstlama/litex | b039f5c01d76a712678d2e5abb1496b3a496db31 | [
"ADSL"
] | null | null | null | #
# This file is part of LiteX.
#
# Copyright (c) 2021 Franck Jullien <franck.jullien@collshade.fr>
# Copyright (c) 2021 Florent Kermarrec <florent@enjoy-digital.fr>
# SPDX-License-Identifier: BSD-2-Clause
from migen import *
from migen.genlib.resetsync import AsyncResetSynchronizer
from litex.build.generic_platform ... | 38.205357 | 104 | 0.617668 | 530 | 4,279 | 4.784906 | 0.281132 | 0.094637 | 0.043375 | 0.025237 | 0.193612 | 0.163644 | 0.098186 | 0.098186 | 0.072161 | 0.072161 | 0 | 0.007362 | 0.23814 | 4,279 | 111 | 105 | 38.54955 | 0.770552 | 0.15097 | 0 | 0.083333 | 0 | 0 | 0.09483 | 0 | 0 | 0 | 0 | 0.009009 | 0.013889 | 1 | 0.097222 | false | 0.055556 | 0.055556 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fb9c07c8525cfbad4e4fdff9e7902d6bd90dde29 | 21,009 | py | Python | interchange/collections.py | py2neo-org/interchange | 5a081adb6358e038dceeb9b7bb166e7f341066bd | [
"Apache-2.0"
] | null | null | null | interchange/collections.py | py2neo-org/interchange | 5a081adb6358e038dceeb9b7bb166e7f341066bd | [
"Apache-2.0"
] | 4 | 2021-10-11T12:24:35.000Z | 2021-11-10T15:55:02.000Z | interchange/collections.py | py2neo-org/interchange | 5a081adb6358e038dceeb9b7bb166e7f341066bd | [
"Apache-2.0"
] | 1 | 2021-11-23T20:24:25.000Z | 2021-11-23T20:24:25.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright Nigel Small
#
# 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 b... | 29.970043 | 99 | 0.49593 | 2,380 | 21,009 | 4.29874 | 0.144118 | 0.026684 | 0.034405 | 0.041052 | 0.40045 | 0.365067 | 0.312188 | 0.263024 | 0.246799 | 0.229205 | 0 | 0.004109 | 0.339759 | 21,009 | 700 | 100 | 30.012857 | 0.733473 | 0.554477 | 0 | 0.302703 | 0 | 0 | 0.009001 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.221622 | false | 0.005405 | 0.021622 | 0.048649 | 0.416216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fb9fa5c6899fd6a72f42e5d1b8e328018f012ef6 | 664 | py | Python | logic/modules/lib/messages.py | FilipBali/VirtualPortfolio-WebApplication | 9236509205e37c2c682b7b2f518f5794a94fd178 | [
"MIT"
] | null | null | null | logic/modules/lib/messages.py | FilipBali/VirtualPortfolio-WebApplication | 9236509205e37c2c682b7b2f518f5794a94fd178 | [
"MIT"
] | null | null | null | logic/modules/lib/messages.py | FilipBali/VirtualPortfolio-WebApplication | 9236509205e37c2c682b7b2f518f5794a94fd178 | [
"MIT"
] | null | null | null | # ======================================================================================================================
# Fakulta informacnich technologii VUT v Brne
# Bachelor thesis
# Author: Filip Bali (xbalif00)
# License: MIT
# ======================================================================================... | 41.5 | 120 | 0.423193 | 46 | 664 | 5.934783 | 0.652174 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003584 | 0.159639 | 664 | 16 | 121 | 41.5 | 0.485663 | 0.512048 | 0 | 0 | 0 | 0 | 0.069182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fba0897c95ffe5f827b91d2ccb85bf8d8dcf0a9e | 4,807 | py | Python | cliocore/geocoder.py | IISH/dpi | 6509b06aa03242f450766d4cb5d8984f14146b11 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | cliocore/geocoder.py | IISH/dpi | 6509b06aa03242f450766d4cb5d8984f14146b11 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | cliocore/geocoder.py | IISH/dpi | 6509b06aa03242f450766d4cb5d8984f14146b11 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | #!/usr/bin/python
# Copyright (C) 2016 International Institute of Social History.
# @author Vyacheslav Tykhonov <vty@iisg.nl>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License, version 3,
# as published by the Free Software Foundation... | 44.925234 | 117 | 0.623882 | 571 | 4,807 | 5.211909 | 0.381786 | 0.030242 | 0.042339 | 0.025538 | 0.217742 | 0.130376 | 0.058468 | 0.035618 | 0.035618 | 0.035618 | 0 | 0.003693 | 0.267735 | 4,807 | 106 | 118 | 45.349057 | 0.841761 | 0.310173 | 0 | 0.112676 | 0 | 0 | 0.080292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.126761 | 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 |
fbaceb10fcf3df8028e5172ccca2354ec117fde7 | 4,425 | py | Python | avg.py | alexfmsu/pyquantum | 78b09987cbfecf549e67b919bb5cb2046b21ad44 | [
"MIT"
] | null | null | null | avg.py | alexfmsu/pyquantum | 78b09987cbfecf549e67b919bb5cb2046b21ad44 | [
"MIT"
] | null | null | null | avg.py | alexfmsu/pyquantum | 78b09987cbfecf549e67b919bb5cb2046b21ad44 | [
"MIT"
] | 2 | 2020-07-28T08:40:06.000Z | 2022-02-16T23:04:58.000Z | # ---------------------------------------------------------------------------------------------------------------------
# sys
import sys
# ---------------------------------------------------------------------------------------------------------------------
# system
from math import sqrt, ceil
# ------------------------... | 34.84252 | 119 | 0.416497 | 438 | 4,425 | 3.974886 | 0.207763 | 0.097071 | 0.076393 | 0.066054 | 0.181505 | 0.139001 | 0.139001 | 0.106835 | 0.106835 | 0.078116 | 0 | 0.017787 | 0.199548 | 4,425 | 126 | 120 | 35.119048 | 0.473744 | 0.348023 | 0 | 0.092105 | 0 | 0 | 0.052116 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0 | false | 0 | 0.223684 | 0 | 0.223684 | 0.118421 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fbad24355c3a8c663116098ed5381562da262467 | 14,754 | py | Python | examples/DuckyNURBSSurfaceFitting.py | idealab-isu/NURBSDiff | d5f6eaec42552e06b8dae60522c363163d8e84f3 | [
"BSD-3-Clause"
] | 4 | 2021-11-29T01:54:13.000Z | 2022-03-04T08:08:20.000Z | examples/DuckyNURBSSurfaceFitting.py | idealab-isu/NURBSDiff | d5f6eaec42552e06b8dae60522c363163d8e84f3 | [
"BSD-3-Clause"
] | 1 | 2022-02-24T07:11:35.000Z | 2022-02-24T07:11:35.000Z | examples/DuckyNURBSSurfaceFitting.py | idealab-isu/NURBSDiff | d5f6eaec42552e06b8dae60522c363163d8e84f3 | [
"BSD-3-Clause"
] | 3 | 2021-12-09T02:28:37.000Z | 2022-02-24T07:29:37.000Z | import torch
import numpy as np
torch.manual_seed(120)
from tqdm import tqdm
from pytorch3d.loss import chamfer_distance
from NURBSDiff.nurbs_eval import SurfEval
from NURBSDiff.surf_eval import SurfEval as SurfEvalBS
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
from... | 49.510067 | 174 | 0.608174 | 2,298 | 14,754 | 3.671889 | 0.145779 | 0.033183 | 0.030813 | 0.011377 | 0.728016 | 0.695307 | 0.686182 | 0.668997 | 0.65845 | 0.634748 | 0 | 0.076259 | 0.222313 | 14,754 | 297 | 175 | 49.676768 | 0.659142 | 0.214044 | 0 | 0.485149 | 0 | 0 | 0.043501 | 0.002431 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014851 | false | 0 | 0.074257 | 0 | 0.09901 | 0.004951 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fbaf79bb0fbcea0fadb50b649a718aae0d881e14 | 961 | py | Python | securityheaders/checkers/headermissingchecker.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 151 | 2018-07-29T22:34:43.000Z | 2022-03-22T05:08:27.000Z | securityheaders/checkers/headermissingchecker.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 5 | 2019-04-24T07:31:36.000Z | 2021-04-15T14:31:23.000Z | securityheaders/checkers/headermissingchecker.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 42 | 2018-07-31T08:18:59.000Z | 2022-03-28T08:18:32.000Z | from securityheaders.checkers import Checker, FindingType, Finding, FindingSeverity
from securityheaders.models import ModelFactory
class HeaderMissingChecker(Checker):
def check(self, headers, opt_options=dict()):
findings = []
headernames = ModelFactory().getheadernames()
for header ... | 43.681818 | 168 | 0.591051 | 85 | 961 | 6.658824 | 0.564706 | 0.067138 | 0.042403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 961 | 21 | 169 | 45.761905 | 0.869432 | 0 | 0 | 0 | 0 | 0 | 0.041623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.052632 | 0.105263 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fbb343c3bc873c44aa88973cea62c3631aa92a67 | 5,103 | py | Python | application.py | ganeshh123/cloudGAN | 563be086b15ddcf27f19f228ddf5cd54ae1c02ce | [
"BSD-3-Clause"
] | 1 | 2021-05-07T09:48:01.000Z | 2021-05-07T09:48:01.000Z | application.py | mohamedmehdigara/cloudGAN | a72dc2973b1e51a5c515d13fb9f70ed030e21dc2 | [
"BSD-3-Clause"
] | null | null | null | application.py | mohamedmehdigara/cloudGAN | a72dc2973b1e51a5c515d13fb9f70ed030e21dc2 | [
"BSD-3-Clause"
] | 1 | 2021-05-07T09:48:09.000Z | 2021-05-07T09:48:09.000Z | import sys
import os
from pathlib import Path
import zipfile
import shutil
print('\n\nCloud Masking Training Set Generator')
## Installing Requirements
print('\n\n------------------------------------------------------')
print('STEP 1 : Installing Requirements, please wait....\n\n')
os.system('python -m pip install... | 35.193103 | 138 | 0.657456 | 606 | 5,103 | 5.478548 | 0.310231 | 0.03253 | 0.02741 | 0.057831 | 0.287349 | 0.190964 | 0.099096 | 0.084036 | 0.062349 | 0.053614 | 0 | 0.004289 | 0.131883 | 5,103 | 145 | 139 | 35.193103 | 0.745147 | 0.043896 | 0 | 0.201923 | 0 | 0 | 0.448871 | 0.120945 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.048077 | 0 | 0.048077 | 0.403846 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
fbbd326e6e28a839de98ea0c6fcd1de2e58d08a9 | 38,903 | py | Python | hypersearch.py | SCLElections/HyperSearch | 0dcad676411b027f01288dd469dcfe40ab3f9540 | [
"MIT"
] | null | null | null | hypersearch.py | SCLElections/HyperSearch | 0dcad676411b027f01288dd469dcfe40ab3f9540 | [
"MIT"
] | null | null | null | hypersearch.py | SCLElections/HyperSearch | 0dcad676411b027f01288dd469dcfe40ab3f9540 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Core Python modules
import pickle
import itertools
import warnings
import collections
import sys
import csv
# User-contributed modules
import numpy as np
import progressbar
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import seaborn as sns
i... | 34.336275 | 100 | 0.536925 | 4,540 | 38,903 | 4.445154 | 0.146916 | 0.011892 | 0.009514 | 0.004906 | 0.282394 | 0.214162 | 0.179575 | 0.150736 | 0.13042 | 0.122194 | 0 | 0.00835 | 0.356579 | 38,903 | 1,132 | 101 | 34.366608 | 0.797891 | 0.044778 | 0 | 0.280992 | 0 | 0.013223 | 0.096713 | 0.001216 | 0.001653 | 0 | 0 | 0 | 0.023141 | 0 | null | null | 0.003306 | 0.019835 | null | null | 0.087603 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
fbbd84b5b72841416c8c56e6dd5396ced16faa62 | 1,217 | py | Python | layers/fc_linear.py | SteliosKliafas/numpy_python_ann | 725946de6829c4e214bce48f028688a567a2cea4 | [
"MIT"
] | null | null | null | layers/fc_linear.py | SteliosKliafas/numpy_python_ann | 725946de6829c4e214bce48f028688a567a2cea4 | [
"MIT"
] | null | null | null | layers/fc_linear.py | SteliosKliafas/numpy_python_ann | 725946de6829c4e214bce48f028688a567a2cea4 | [
"MIT"
] | null | null | null | import numpy as np
class Fully_Connected_Layer:
def __init__(self, neurons, output_units):
self.output_units = output_units # Output dimensions
self.bias = np.zeros((1, output_units)) # initialize bias array
self.weights = np.random.randn(neurons, output_units) * 0.05 # initialize weigh... | 60.85 | 155 | 0.730485 | 177 | 1,217 | 4.847458 | 0.344633 | 0.089744 | 0.052448 | 0.04662 | 0.055944 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005097 | 0.193919 | 1,217 | 19 | 156 | 64.052632 | 0.869521 | 0.346754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.133333 | 0.066667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
fbc22e7faab8dd333349bf03972d14cde7ca8c9f | 718 | py | Python | tests/test_utils.py | wooster/biplist | 4c3d0c94132621188ca4c1fa9bda3b2d4d52ab82 | [
"BSD-3-Clause"
] | 93 | 2015-01-02T00:01:43.000Z | 2022-01-26T18:18:48.000Z | tests/test_utils.py | wooster/biplist | 4c3d0c94132621188ca4c1fa9bda3b2d4d52ab82 | [
"BSD-3-Clause"
] | 7 | 2015-12-04T03:21:10.000Z | 2022-03-24T04:41:43.000Z | tests/test_utils.py | wooster/biplist | 4c3d0c94132621188ca4c1fa9bda3b2d4d52ab82 | [
"BSD-3-Clause"
] | 17 | 2015-01-06T18:50:00.000Z | 2019-06-10T03:17:04.000Z | # -*- coding: utf-8 -*-
import os
import subprocess
import sys
def data_path(path):
return os.path.join(os.path.dirname(globals()["__file__"]), 'data', path)
def fuzz_data_path(path):
return os.path.join(os.path.dirname(globals()["__file__"]), 'fuzz_data', path)
def run_command(args, verbose = False):
"... | 28.72 | 82 | 0.662953 | 101 | 718 | 4.584158 | 0.435644 | 0.069114 | 0.051836 | 0.077754 | 0.224622 | 0.224622 | 0.224622 | 0.224622 | 0.224622 | 0.224622 | 0 | 0.001695 | 0.178273 | 718 | 24 | 83 | 29.916667 | 0.783051 | 0.108635 | 0 | 0 | 0 | 0 | 0.069401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.111111 | 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 | 0 | 1 | 0 | 0 | 0 | 1 |
fbcd72b0c649f09aa3ab4ce10d43835691c734d0 | 228 | py | Python | hokudai_furima/contact/urls.py | TetsuFe/hokuma | b981a52b3bf8d7268bf791c5827bbe8af90afef6 | [
"MIT"
] | 1 | 2021-02-13T03:51:42.000Z | 2021-02-13T03:51:42.000Z | hokudai_furima/contact/urls.py | TetsuFe/hokuma | b981a52b3bf8d7268bf791c5827bbe8af90afef6 | [
"MIT"
] | null | null | null | hokudai_furima/contact/urls.py | TetsuFe/hokuma | b981a52b3bf8d7268bf791c5827bbe8af90afef6 | [
"MIT"
] | 1 | 2021-09-18T09:25:48.000Z | 2021-09-18T09:25:48.000Z | from django.conf.urls import url
from . import views
app_name = "contact"
urlpatterns = [
url(r'^$', views.post_contact, name='post_contact'),
url(r'^success/(?P<pk>\d+)/$', views.post_success, name='post_success'),
]
| 22.8 | 76 | 0.671053 | 33 | 228 | 4.484848 | 0.515152 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135965 | 228 | 9 | 77 | 25.333333 | 0.751269 | 0 | 0 | 0 | 0 | 0 | 0.241228 | 0.096491 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
fbe1aa97d093943c7824caa43dffc7a0fc033e4d | 1,017 | py | Python | randommap.py | pblaas/insdash | 858927a37890398cf38bc707c910da4618979530 | [
"MIT"
] | 3 | 2019-12-26T16:12:51.000Z | 2022-01-11T09:13:21.000Z | randommap.py | pblaas/insdash | 858927a37890398cf38bc707c910da4618979530 | [
"MIT"
] | null | null | null | randommap.py | pblaas/insdash | 858927a37890398cf38bc707c910da4618979530 | [
"MIT"
] | null | null | null | from steam import game_servers as gs
import subprocess
import os
import time
import random
i = open('/home/gamed/inssa/Insurgency/Config/Server/pvemaps.txt', 'r')
o = open('/home/gamed/inssa/Insurgency/Config/Server/MapCycle.txt', 'w')
def randomly(seq):
shuffled = list(seq)
random.shuffle(shuffled)
retu... | 27.486486 | 81 | 0.67355 | 138 | 1,017 | 4.905797 | 0.623188 | 0.044313 | 0.038405 | 0.053176 | 0.301329 | 0.20384 | 0.20384 | 0 | 0 | 0 | 0 | 0.029904 | 0.177974 | 1,017 | 36 | 82 | 28.25 | 0.779904 | 0.078663 | 0 | 0 | 0 | 0 | 0.329764 | 0.195931 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.192308 | null | null | 0.153846 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
836c5225f33014fde3fc1cefa7165033bb665bfa | 980 | py | Python | code/_grid_template.py | jordankeener/ncaa_rosters | 12e66e9ef7502ab6869e7352ae673c46680eedd0 | [
"MIT"
] | null | null | null | code/_grid_template.py | jordankeener/ncaa_rosters | 12e66e9ef7502ab6869e7352ae673c46680eedd0 | [
"MIT"
] | null | null | null | code/_grid_template.py | jordankeener/ncaa_rosters | 12e66e9ef7502ab6869e7352ae673c46680eedd0 | [
"MIT"
] | null | null | null | from urllib.request import urlopen
from urllib.request import FancyURLopener
from bs4 import BeautifulSoup
import pandas as pd
import os
import _proj_functions as proj
import _lookups as lookups
import re
class MyOpener(FancyURLopener):
version = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11)'
myopener = ... | 25.789474 | 117 | 0.712245 | 142 | 980 | 4.760563 | 0.577465 | 0.10355 | 0.050296 | 0.068047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024419 | 0.122449 | 980 | 37 | 118 | 26.486486 | 0.761628 | 0.220408 | 0 | 0 | 0 | 0.041667 | 0.121045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
836d00b9b025070d7c82a879fa0612f8f888afb6 | 772 | py | Python | main_show_cam.py | Suntijra/comsci-project-LPR_Line | 121d6a40d6e71acf6a6defe4012f70415fcb9834 | [
"MIT"
] | null | null | null | main_show_cam.py | Suntijra/comsci-project-LPR_Line | 121d6a40d6e71acf6a6defe4012f70415fcb9834 | [
"MIT"
] | null | null | null | main_show_cam.py | Suntijra/comsci-project-LPR_Line | 121d6a40d6e71acf6a6defe4012f70415fcb9834 | [
"MIT"
] | null | null | null | import cv2
import numpy as np
import os
import sys
import time
import Main
import multiprocessing as mp
if(__name__=='__main__'):
main = mp.Process(target=Main.main())
main.start()
video_input = 'http://192.168.1.109/mjpeg/1'
camera = cv2.VideoCapture(video_input)
while True:
# re... | 28.592593 | 93 | 0.61658 | 111 | 772 | 4.198198 | 0.648649 | 0.051502 | 0.064378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056995 | 0.25 | 772 | 27 | 94 | 28.592593 | 0.74266 | 0.284974 | 0 | 0 | 0 | 0 | 0.075229 | 0 | 0 | 0 | 0.007339 | 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 |
8372d18826749e02261c9df14c1c516b2bf8a9b1 | 904 | py | Python | Testcases/test_login_01.py | trandahang/herokuapp | bbc405f9b291eece0e1bd29bdbb92d6535443cb3 | [
"MIT"
] | null | null | null | Testcases/test_login_01.py | trandahang/herokuapp | bbc405f9b291eece0e1bd29bdbb92d6535443cb3 | [
"MIT"
] | null | null | null | Testcases/test_login_01.py | trandahang/herokuapp | bbc405f9b291eece0e1bd29bdbb92d6535443cb3 | [
"MIT"
] | null | null | null | import sys
import unittest
sys.path.append(".")
from Pages.login_page import LoginPage
from Testcases.base_test import BaseTest
from TestData.test_data import Data
from Pages.result_page import ResultPage
from Objects.account import Account
class HerokuAppLogin1(BaseTest):
@classmethod
def setUp(self):
... | 23.789474 | 82 | 0.707965 | 112 | 904 | 5.482143 | 0.455357 | 0.058632 | 0.052117 | 0.078176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001372 | 0.193584 | 904 | 37 | 83 | 24.432432 | 0.840878 | 0.099558 | 0 | 0 | 0 | 0 | 0.04803 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.130435 | false | 0.043478 | 0.304348 | 0 | 0.478261 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
8375c99ed749b520f29ce9bb3c97c0aba6a5fd07 | 681 | py | Python | api/coreapp/migrations/0002_auto_20190601_0901.py | NeuronQ/histo-bot | 20a6f889de8a2f40bcb4a23cbc97351f25b1350b | [
"MIT"
] | 2 | 2019-07-28T00:04:18.000Z | 2020-08-13T12:38:10.000Z | api/coreapp/migrations/0002_auto_20190601_0901.py | NeuronQ/histo-bot | 20a6f889de8a2f40bcb4a23cbc97351f25b1350b | [
"MIT"
] | 17 | 2020-02-12T01:02:54.000Z | 2022-02-26T15:35:41.000Z | api/coreapp/migrations/0002_auto_20190601_0901.py | NeuronQ/histo-bot | 20a6f889de8a2f40bcb4a23cbc97351f25b1350b | [
"MIT"
] | null | null | null | # Generated by Django 2.1.7 on 2019-06-01 09:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('coreapp', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='datasetimage',
name='purpose',
... | 24.321429 | 61 | 0.559471 | 64 | 681 | 5.828125 | 0.609375 | 0.072386 | 0.134048 | 0.155496 | 0.44504 | 0.44504 | 0.230563 | 0.230563 | 0 | 0 | 0 | 0.040685 | 0.314244 | 681 | 27 | 62 | 25.222222 | 0.75803 | 0.066079 | 0 | 0.333333 | 1 | 0 | 0.137224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.190476 | 0 | 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 |
83793f8beefc87a99ba0f17fb790c69ecd36ccfa | 672 | py | Python | keyboard_events.py | rapirent/junkyard | bbc5fbbda4656313a5848638e4601b9b416fe317 | [
"MIT"
] | null | null | null | keyboard_events.py | rapirent/junkyard | bbc5fbbda4656313a5848638e4601b9b416fe317 | [
"MIT"
] | null | null | null | keyboard_events.py | rapirent/junkyard | bbc5fbbda4656313a5848638e4601b9b416fe317 | [
"MIT"
] | null | null | null | #It is possible to use Python + Tkinter to generate keyboard events.
#Tkinter is a part of the Python.
#Note: this is a console application :-)
import tkinter as tk
def keystroke(event):
print(event.keycode)
def keyboardevent(str):
# Code that simulated 'key' being pressed on keyboard
root.after(10, lambd... | 29.217391 | 76 | 0.717262 | 98 | 672 | 4.908163 | 0.602041 | 0.012474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.14881 | 672 | 22 | 77 | 30.545455 | 0.833916 | 0.4375 | 0 | 0 | 1 | 0 | 0.086486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.214286 | 0.142857 | 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 |
837a57a639f9e3a969b02390c495c6b388c9b345 | 1,858 | py | Python | Insta-Bot-Follow-SendMsg/instabot.py | avinashkranjan/PraticalPythonProjects | 12c1f7cedae57a843ceb6aba68cca48df505f341 | [
"MIT"
] | 930 | 2020-09-05T22:07:28.000Z | 2022-03-30T07:56:18.000Z | Insta-Bot-Follow-SendMsg/instabot.py | maheshdbabar9340/Amazing-Python-Scripts | e2272048cbe49b4bda5072bbdd8479739bb6c18d | [
"MIT"
] | 893 | 2020-09-04T07:57:24.000Z | 2022-02-08T02:12:26.000Z | Insta-Bot-Follow-SendMsg/instabot.py | maheshdbabar9340/Amazing-Python-Scripts | e2272048cbe49b4bda5072bbdd8479739bb6c18d | [
"MIT"
] | 497 | 2020-09-05T08:16:24.000Z | 2022-03-31T00:55:57.000Z | from selenium import webdriver
import time
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from op... | 34.407407 | 127 | 0.727126 | 255 | 1,858 | 5.141176 | 0.4 | 0.05492 | 0.08238 | 0.091533 | 0.088482 | 0.088482 | 0 | 0 | 0 | 0 | 0 | 0.012079 | 0.153391 | 1,858 | 53 | 128 | 35.056604 | 0.82136 | 0 | 0 | 0.229167 | 0 | 0.020833 | 0.192142 | 0.064586 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.104167 | 0.1875 | 0 | 0.1875 | 0.020833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8383e410bd67ed604f40e6f133d29aa97ed36ea3 | 975 | py | Python | setup.py | ZeningQu/nl4dv | 053f98a6b8eb60b67713a2b580e498777ecd612f | [
"MIT"
] | null | null | null | setup.py | ZeningQu/nl4dv | 053f98a6b8eb60b67713a2b580e498777ecd612f | [
"MIT"
] | null | null | null | setup.py | ZeningQu/nl4dv | 053f98a6b8eb60b67713a2b580e498777ecd612f | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='nl4dv',
version='0.1.1',
author='Arpit Narechania, Zening Qu',
author_email='arpitnarechania@gatech.edu, zqu@uw.edu',
packages=find_packages(),
include_package_data=True,
setup_requires=['pytest-runner'],
test_requires=['pytest', ... | 27.857143 | 66 | 0.568205 | 130 | 975 | 4.192308 | 0.576923 | 0.044037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069612 | 0.233846 | 975 | 34 | 67 | 28.676471 | 0.659973 | 0 | 0 | 0 | 0 | 0 | 0.443077 | 0.098462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.030303 | 0 | 0.030303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
838874771d0b27e3003afa9cec2b7cb1a9207433 | 41,501 | py | Python | peering/tests.py | omershtivi/peering-manager | 95ed7fe1dc496bfd3c89cbd823fb1218ffdf2561 | [
"Apache-2.0"
] | null | null | null | peering/tests.py | omershtivi/peering-manager | 95ed7fe1dc496bfd3c89cbd823fb1218ffdf2561 | [
"Apache-2.0"
] | null | null | null | peering/tests.py | omershtivi/peering-manager | 95ed7fe1dc496bfd3c89cbd823fb1218ffdf2561 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
import ipaddress
from django.test import TestCase
from django.urls.exceptions import NoReverseMatch
from .constants import (COMMUNITY_TYPE_INGRESS, COMMUNITY_TYPE_EGRESS,
PLATFORM_JUNOS)
from .models import (AutonomousSystem, Community, InternetExchange... | 40.647405 | 120 | 0.57842 | 4,626 | 41,501 | 4.990705 | 0.06658 | 0.069736 | 0.058215 | 0.087322 | 0.767402 | 0.724564 | 0.686447 | 0.644389 | 0.563347 | 0.505133 | 0 | 0.029532 | 0.324426 | 41,501 | 1,020 | 121 | 40.687255 | 0.793915 | 0.176454 | 0 | 0.357675 | 0 | 0 | 0.164853 | 0.071605 | 0 | 0 | 0 | 0 | 0.083458 | 1 | 0.080477 | false | 0.007452 | 0.067064 | 0 | 0.162444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
8391cd40867b9bffd1340c7e466f61795a1a7db6 | 910 | py | Python | code/form_gexf_data.py | yuxia-zhang/company_collaboration_in_OSS | 2106d45df75d89873c0364eb70fded8541c157b6 | [
"Apache-2.0"
] | null | null | null | code/form_gexf_data.py | yuxia-zhang/company_collaboration_in_OSS | 2106d45df75d89873c0364eb70fded8541c157b6 | [
"Apache-2.0"
] | null | null | null | code/form_gexf_data.py | yuxia-zhang/company_collaboration_in_OSS | 2106d45df75d89873c0364eb70fded8541c157b6 | [
"Apache-2.0"
] | 1 | 2020-01-29T08:57:18.000Z | 2020-01-29T08:57:18.000Z | #!/usr/bin/python
# -*- coding: UTF-8 -*-
from __future__ import division
import sys
import networkx as nx
import numpy as np
reload(sys)
sys.setdefaultencoding('utf8')
path4 = '/Users/amy/Desktop/rls_14/0729/'
nodes = np.loadtxt(path4 + 'rls14_nodes0729.csv', skiprows=1, delimiter=",", dtype=str)
edges = np.loadt... | 26 | 87 | 0.661538 | 153 | 910 | 3.856209 | 0.45098 | 0.050847 | 0.035593 | 0.064407 | 0.142373 | 0.098305 | 0 | 0 | 0 | 0 | 0 | 0.048593 | 0.140659 | 910 | 34 | 88 | 26.764706 | 0.705882 | 0.102198 | 0 | 0.086957 | 0 | 0 | 0.146371 | 0.03813 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.173913 | null | null | 0.173913 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
83930ee7fbed48f929db431f96166541326218a2 | 907 | py | Python | src/estate/migrations/0015_auto_20210815_0741.py | Rey092/SwipeApp | 8451912aeb8b1a8fcd52bd9c58afb09b3e49768d | [
"MIT"
] | null | null | null | src/estate/migrations/0015_auto_20210815_0741.py | Rey092/SwipeApp | 8451912aeb8b1a8fcd52bd9c58afb09b3e49768d | [
"MIT"
] | null | null | null | src/estate/migrations/0015_auto_20210815_0741.py | Rey092/SwipeApp | 8451912aeb8b1a8fcd52bd9c58afb09b3e49768d | [
"MIT"
] | null | null | null | # Generated by Django 3.2.4 on 2021-08-15 07:41
import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("estate",... | 27.484848 | 87 | 0.60419 | 93 | 907 | 5.784946 | 0.591398 | 0.04461 | 0.052045 | 0.081784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059282 | 0.293275 | 907 | 32 | 88 | 28.34375 | 0.780031 | 0.049614 | 0 | 0.153846 | 1 | 0 | 0.1 | 0.040698 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.269231 | 0 | 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 |
839630e4b9ab19d5511071f3c06cec13d487e097 | 1,401 | py | Python | src/training/model.py | saandre15/letter-recognition-dl | 9c400aa4d704d97e20c5306e77e908d5a2494fb9 | [
"MIT"
] | null | null | null | src/training/model.py | saandre15/letter-recognition-dl | 9c400aa4d704d97e20c5306e77e908d5a2494fb9 | [
"MIT"
] | null | null | null | src/training/model.py | saandre15/letter-recognition-dl | 9c400aa4d704d97e20c5306e77e908d5a2494fb9 | [
"MIT"
] | null | null | null | import random
import tensorflow as tf
from tensorflow.python.keras.models import Model
from tensorflow.python.keras import layers
from tensorflow.python.keras import backend
from tensorflow.python.keras.optimizer_v2.adam import Adam
from tensorflow.python.keras.optimizer_v2.rmsprop import RMSprop
from tensorflow.pytho... | 31.133333 | 123 | 0.764454 | 206 | 1,401 | 5.106796 | 0.383495 | 0.046578 | 0.114068 | 0.142586 | 0.245247 | 0.068441 | 0 | 0 | 0 | 0 | 0 | 0.027712 | 0.098501 | 1,401 | 44 | 124 | 31.840909 | 0.805226 | 0 | 0 | 0 | 0 | 0 | 0.050751 | 0.0193 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.264706 | 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 |
83967ad2bb8bb3235a9463ff03b1aaf19d2386a0 | 602 | py | Python | scikit_deploy/scikit_deploy_server/validate.py | fitle-dev/scikit-deploy | 5fddccbb67f335f26410d90dffaeccc7abce98d2 | [
"MIT"
] | 11 | 2018-10-12T10:51:40.000Z | 2020-09-02T09:33:35.000Z | scikit_deploy/scikit_deploy_server/validate.py | fitle-dev/scikit-deploy | 5fddccbb67f335f26410d90dffaeccc7abce98d2 | [
"MIT"
] | 5 | 2018-10-24T15:15:30.000Z | 2019-10-28T19:31:52.000Z | scikit_deploy/scikit_deploy_server/validate.py | fitle-dev/scikit-deploy | 5fddccbb67f335f26410d90dffaeccc7abce98d2 | [
"MIT"
] | 2 | 2020-07-09T11:45:03.000Z | 2020-07-11T11:07:28.000Z |
import pickle
import numpy as np
import json
from server.scoring import predict
from server.config import Config
import os.path as osp
def validate_model(clf, endpoint):
sample = {i['name']: 0.0 for i in endpoint.inputs}
x = predict(clf, sample, endpoint)
json.dumps(x)
if __name__ == "__main__":
wi... | 26.173913 | 82 | 0.669435 | 87 | 602 | 4.505747 | 0.436782 | 0.05102 | 0.081633 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004219 | 0.212625 | 602 | 22 | 83 | 27.363636 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.103161 | 0.049917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.352941 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
839baae022402a954578c216727791f9184b9a08 | 823 | py | Python | Deck/sol.py | kameranis/IEEExtreme-8.0 | 8ba80224b5218eb759ca91508b4f169788ff5571 | [
"MIT"
] | null | null | null | Deck/sol.py | kameranis/IEEExtreme-8.0 | 8ba80224b5218eb759ca91508b4f169788ff5571 | [
"MIT"
] | null | null | null | Deck/sol.py | kameranis/IEEExtreme-8.0 | 8ba80224b5218eb759ca91508b4f169788ff5571 | [
"MIT"
] | null | null | null | def hand(a,b,points):
if a == []:
return 0
i = -1
c = a[0]
if c == 'R':
if b != []:
return max([points[b[i]]+hand(a[1:],b[i+1:], points) for i in xrange(len(b))])
else:
return 0
if c in b:
i = b.index(c)
if 'R' in b:
i = b.index('R'... | 25.71875 | 100 | 0.433779 | 162 | 823 | 2.179012 | 0.271605 | 0.084986 | 0.067989 | 0.07932 | 0.303116 | 0.192635 | 0.084986 | 0 | 0 | 0 | 0 | 0.081034 | 0.295261 | 823 | 31 | 101 | 26.548387 | 0.527586 | 0 | 0 | 0.206897 | 0 | 0 | 0.023086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
839e02735021ab42c6fc910d4ef06cf269e22b5d | 387 | py | Python | lotto/migrations/0002_auto_20190702_0657.py | b14cknc0d3/lotto_api | 6bb6a9c23076428816aa8544b0212304ebcaedf0 | [
"MIT"
] | null | null | null | lotto/migrations/0002_auto_20190702_0657.py | b14cknc0d3/lotto_api | 6bb6a9c23076428816aa8544b0212304ebcaedf0 | [
"MIT"
] | null | null | null | lotto/migrations/0002_auto_20190702_0657.py | b14cknc0d3/lotto_api | 6bb6a9c23076428816aa8544b0212304ebcaedf0 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.7 on 2019-07-02 06:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('lotto', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='saledata',
name='updated_at',
... | 20.368421 | 58 | 0.599483 | 42 | 387 | 5.404762 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068841 | 0.286822 | 387 | 18 | 59 | 21.5 | 0.753623 | 0.116279 | 0 | 0 | 1 | 0 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
83a276c3402375f6d274bca54bbfd2254ae5baa0 | 3,069 | py | Python | src/kivysec/auth/plain.py | ognibit/kivy-security | 69edd716b90f010f1126a959c705dcd8ca535903 | [
"Apache-2.0"
] | null | null | null | src/kivysec/auth/plain.py | ognibit/kivy-security | 69edd716b90f010f1126a959c705dcd8ca535903 | [
"Apache-2.0"
] | null | null | null | src/kivysec/auth/plain.py | ognibit/kivy-security | 69edd716b90f010f1126a959c705dcd8ca535903 | [
"Apache-2.0"
] | null | null | null | from .user import KivyUser, KivyUserSession, anonymous_user
from .errors import LoginError
class PlainAuthService():
"""The simplest authentication service.
How to use:
>>> from kivysec.auth.plain import PlainAuthService
>>> service = PlainAuthService()
>>> service
PlainAuthService()
>>>... | 26.230769 | 74 | 0.569567 | 302 | 3,069 | 5.695364 | 0.271523 | 0.073256 | 0.062791 | 0.036628 | 0.298837 | 0.269186 | 0.134884 | 0.134884 | 0.069767 | 0.069767 | 0 | 0.003307 | 0.310199 | 3,069 | 116 | 75 | 26.456897 | 0.809164 | 0.444444 | 0 | 0.375 | 0 | 0 | 0.00303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0.25 | 0.0625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
83a7f966eacd300b681658a51255d61254ded94b | 14,387 | py | Python | tests/test_foxx.py | aquamatthias/python-arango | 9212461e2349f692312ee4e74756e5bbea2bc582 | [
"MIT"
] | 389 | 2015-10-16T13:26:33.000Z | 2021-08-15T04:26:32.000Z | tests/test_foxx.py | ITIVA-HUB/python-arango | ff990fde4a4403da170d8759adb46a7100e403a6 | [
"MIT"
] | 165 | 2015-10-12T17:28:33.000Z | 2021-07-26T16:46:49.000Z | tests/test_foxx.py | ITIVA-HUB/python-arango | ff990fde4a4403da170d8759adb46a7100e403a6 | [
"MIT"
] | 72 | 2015-12-07T17:29:19.000Z | 2021-08-13T14:30:07.000Z | import json
import os
import pytest
from arango.exceptions import (
FoxxCommitError,
FoxxConfigGetError,
FoxxConfigReplaceError,
FoxxConfigUpdateError,
FoxxDependencyGetError,
FoxxDependencyReplaceError,
FoxxDependencyUpdateError,
FoxxDevModeDisableError,
FoxxDevModeEnableError,
... | 31.829646 | 85 | 0.688538 | 1,700 | 14,387 | 5.656471 | 0.094706 | 0.103577 | 0.041597 | 0.047421 | 0.715058 | 0.647879 | 0.595466 | 0.56562 | 0.525374 | 0.46485 | 0 | 0.009023 | 0.214221 | 14,387 | 451 | 86 | 31.900222 | 0.841575 | 0.11003 | 0 | 0.512658 | 0 | 0 | 0.071843 | 0 | 0 | 0 | 0 | 0 | 0.424051 | 1 | 0.022152 | false | 0 | 0.018987 | 0 | 0.041139 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
83abbd95db41f628d62fd02ed670a904fae7bc4d | 74,548 | py | Python | tests/AlignmentFile_test.py | nspies/pysam | 7702ba0c1565a488977f385898c92e5a2f98ad8a | [
"MIT"
] | 1 | 2018-06-29T01:47:33.000Z | 2018-06-29T01:47:33.000Z | tests/AlignmentFile_test.py | nspies/pysam | 7702ba0c1565a488977f385898c92e5a2f98ad8a | [
"MIT"
] | null | null | null | tests/AlignmentFile_test.py | nspies/pysam | 7702ba0c1565a488977f385898c92e5a2f98ad8a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
'''unit testing code for pysam.
Execute in the :file:`tests` directory as it requires the Makefile
and data files located there.
'''
import pysam
import unittest
import os
import shutil
import sys
import collections
import subprocess
import logging
from TestUtils import checkBinaryEqual
IS_PYTH... | 38.887846 | 1,187 | 0.552516 | 8,507 | 74,548 | 4.777242 | 0.118608 | 0.067175 | 0.016486 | 0.025517 | 0.601698 | 0.557357 | 0.507776 | 0.430143 | 0.386934 | 0.352559 | 0 | 0.06381 | 0.307118 | 74,548 | 1,916 | 1,188 | 38.908142 | 0.722978 | 0.129407 | 0 | 0.360841 | 0 | 0.004854 | 0.116758 | 0.024424 | 0 | 0 | 0 | 0.003132 | 0.197411 | 1 | 0.118123 | false | 0.003236 | 0.007282 | 0 | 0.178803 | 0.002427 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
83ae47bfa80b6dc1b8915cc6e4bc847f51db972c | 4,095 | py | Python | statefulset_autoscaler/docker/slug_statefulset_autoscaler/tools.py | guadaltech/kubernetes-containers-tools | 5d4d9da6bf95162404b927cf23178d86dd99dd85 | [
"Apache-2.0"
] | 6 | 2019-07-16T22:10:30.000Z | 2021-12-27T09:19:49.000Z | statefulset_autoscaler/docker/slug_statefulset_autoscaler/tools.py | guadaltech/kubernetes-containers-tools | 5d4d9da6bf95162404b927cf23178d86dd99dd85 | [
"Apache-2.0"
] | 2 | 2021-04-30T21:26:44.000Z | 2021-06-02T02:52:11.000Z | statefulset_autoscaler/docker/slug_statefulset_autoscaler/tools.py | guadaltech/kubernetes-containers-tools | 5d4d9da6bf95162404b927cf23178d86dd99dd85 | [
"Apache-2.0"
] | 5 | 2019-12-05T17:50:44.000Z | 2020-12-21T13:43:59.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2017 Tedezed
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 35.608696 | 141 | 0.667643 | 585 | 4,095 | 4.504274 | 0.278632 | 0.031879 | 0.039469 | 0.055787 | 0.253131 | 0.166224 | 0.166224 | 0.166224 | 0.140417 | 0.044782 | 0 | 0.008764 | 0.164103 | 4,095 | 114 | 142 | 35.921053 | 0.761028 | 0.162149 | 0 | 0.240964 | 0 | 0 | 0.312244 | 0.123609 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.012048 | 0.012048 | null | null | 0.060241 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
83af738312793fb2508348295aefff8a010769f1 | 2,907 | py | Python | medianOftwoSortedArrays.py | ZhouLihua/leetcode | 7a711e450756fb7b5648e938879d690e583f5957 | [
"MIT"
] | 2 | 2019-05-16T03:11:44.000Z | 2019-10-25T03:20:05.000Z | medianOftwoSortedArrays.py | ZhouLihua/leetcode | 7a711e450756fb7b5648e938879d690e583f5957 | [
"MIT"
] | null | null | null | medianOftwoSortedArrays.py | ZhouLihua/leetcode | 7a711e450756fb7b5648e938879d690e583f5957 | [
"MIT"
] | null | null | null | import sys
try:
maxint = sys.maxint
except AttributeError:
maxint = sys.maxsize
class Solution(object):
def findMedianSortedArrays(self, nums1, nums2):
"""
:type nums1: List[int]
:type nums2: List[int]
:rtype: float
sort first, merge sort, O(m+n)
"""
... | 36.797468 | 96 | 0.541108 | 319 | 2,907 | 4.905956 | 0.23511 | 0.071566 | 0.026837 | 0.01278 | 0.403195 | 0.403195 | 0.334185 | 0.297125 | 0.24345 | 0.071566 | 0 | 0.06524 | 0.340901 | 2,907 | 79 | 97 | 36.797468 | 0.751566 | 0 | 0 | 0.140351 | 0 | 0 | 0.003222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017544 | null | null | 0.122807 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
83b3fdf19a806c887bd029d4ae11a4c090d1fe84 | 4,864 | py | Python | GenomeViewer/views.py | BigDataehealthTools/GOAT_v3.1 | a0a928398ab04983ad8518da7b61f9a7d95c698c | [
"Apache-2.0"
] | null | null | null | GenomeViewer/views.py | BigDataehealthTools/GOAT_v3.1 | a0a928398ab04983ad8518da7b61f9a7d95c698c | [
"Apache-2.0"
] | null | null | null | GenomeViewer/views.py | BigDataehealthTools/GOAT_v3.1 | a0a928398ab04983ad8518da7b61f9a7d95c698c | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 30.024691 | 155 | 0.662007 | 577 | 4,864 | 5.568458 | 0.395147 | 0.018674 | 0.014006 | 0.027078 | 0.118892 | 0.118892 | 0.097106 | 0.036103 | 0.036103 | 0.036103 | 0 | 0.008486 | 0.224712 | 4,864 | 161 | 156 | 30.21118 | 0.843543 | 0.327919 | 0 | 0.280899 | 0 | 0.022472 | 0.146576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.146067 | null | null | 0.05618 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
83b74dc9dc817b4f21a327c0d82e957f660ea835 | 11,214 | py | Python | autoforest/regressor.py | dangraf/autoforest | bfef39d2f880f6b25d2f86f01191f19e2337cdc7 | [
"Apache-2.0"
] | null | null | null | autoforest/regressor.py | dangraf/autoforest | bfef39d2f880f6b25d2f86f01191f19e2337cdc7 | [
"Apache-2.0"
] | 3 | 2021-09-28T05:29:37.000Z | 2022-02-26T09:50:37.000Z | autoforest/regressor.py | dangraf/autoforest | bfef39d2f880f6b25d2f86f01191f19e2337cdc7 | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED! DO NOT EDIT! File to edit: 00_core.ipynb (unless otherwise specified).
__all__ = ['split_data', 'split_data_by_time', 'rmse', 'set_rf_samples', 'reset_rf_samples', 'RfRegressor',
'CorrelatedColumns', 'RfOptimizer']
# Cell
import pandas as pd
from sklearn.ensemble import RandomForestRegress... | 39.347368 | 134 | 0.600767 | 1,588 | 11,214 | 4.013224 | 0.215365 | 0.018829 | 0.017574 | 0.028558 | 0.184685 | 0.13212 | 0.088185 | 0.088185 | 0.07218 | 0.05335 | 0 | 0.014002 | 0.286695 | 11,214 | 284 | 135 | 39.485915 | 0.782723 | 0.133494 | 0 | 0.078049 | 1 | 0.009756 | 0.074437 | 0.0196 | 0 | 0 | 0 | 0.003521 | 0 | 1 | 0.126829 | false | 0 | 0.092683 | 0.014634 | 0.307317 | 0.029268 | 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 |
83b91825f43db828dcb7af13fff9c8b1d7028c71 | 395 | py | Python | app/libs/httper.py | sliveryou/PickLight | 6e88a81f336e7fc239a6aa7afc2c10c80b250829 | [
"MIT"
] | 1 | 2019-04-09T08:48:47.000Z | 2019-04-09T08:48:47.000Z | app/libs/httper.py | sliveryou/PickLight | 6e88a81f336e7fc239a6aa7afc2c10c80b250829 | [
"MIT"
] | null | null | null | app/libs/httper.py | sliveryou/PickLight | 6e88a81f336e7fc239a6aa7afc2c10c80b250829 | [
"MIT"
] | 1 | 2019-04-09T08:49:11.000Z | 2019-04-09T08:49:11.000Z | # -*- coding: UTF-8 -*-
__author__ = 'Sliver'
import requests
class Http:
@staticmethod
def get(url, return_json=True):
'''通过 GET 请求访问一个 URL 并返回请求结果(默认为 JSON 形式)。'''
r = requests.get(url)
if r.status_code != 200: # 如果状态码不为200就返回一个空字典或者空字符串
return {} if return_json else ''... | 26.333333 | 73 | 0.622785 | 49 | 395 | 4.857143 | 0.612245 | 0.12605 | 0.10084 | 0.134454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0.260759 | 395 | 14 | 74 | 28.214286 | 0.780822 | 0.270886 | 0 | 0 | 0 | 0 | 0.021429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
83b9e783ad32443a0b2224fdb86acd691ff1631e | 537 | py | Python | apps/sushi/migrations/0016_counterreporttype_superseeded_by.py | remocrevo/celus | 682b13168eb475d7f970502113e756e40a899877 | [
"MIT"
] | null | null | null | apps/sushi/migrations/0016_counterreporttype_superseeded_by.py | remocrevo/celus | 682b13168eb475d7f970502113e756e40a899877 | [
"MIT"
] | null | null | null | apps/sushi/migrations/0016_counterreporttype_superseeded_by.py | remocrevo/celus | 682b13168eb475d7f970502113e756e40a899877 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.5 on 2019-09-11 11:07
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('sushi', '0015_help_text'),
]
operations = [
migrations.AddField(
model_name='counterreporttype'... | 26.85 | 162 | 0.662942 | 62 | 537 | 5.629032 | 0.629032 | 0.068768 | 0.080229 | 0.126075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045238 | 0.217877 | 537 | 19 | 163 | 28.263158 | 0.785714 | 0.083799 | 0 | 0 | 1 | 0 | 0.169388 | 0.046939 | 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 |
83be98210e5a4422a44f53e07a0416a30b47ddfe | 445 | py | Python | app/migrations/0019_accessright_right.py | olivierpons/evalr | 7c76474ad41769804965a11550501321d7b1889b | [
"MIT"
] | null | null | null | app/migrations/0019_accessright_right.py | olivierpons/evalr | 7c76474ad41769804965a11550501321d7b1889b | [
"MIT"
] | null | null | null | app/migrations/0019_accessright_right.py | olivierpons/evalr | 7c76474ad41769804965a11550501321d7b1889b | [
"MIT"
] | null | null | null | # Generated by Django 2.2.1 on 2019-06-06 22:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0018_accessright'),
]
operations = [
migrations.AddField(
model_name='accessright',
name='right',
... | 23.421053 | 118 | 0.568539 | 50 | 445 | 5.02 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070769 | 0.269663 | 445 | 18 | 119 | 24.722222 | 0.701538 | 0.101124 | 0 | 0 | 1 | 0 | 0.168342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
83c02c9ff7b3e5dad64c60b8ed935c232db29582 | 13,999 | py | Python | qiime2/core/type/primitive.py | emollier/qiime2 | bc9167d844fb4b42eccba8d30ace1eb10ab093c3 | [
"BSD-3-Clause"
] | 1 | 2020-11-23T02:24:42.000Z | 2020-11-23T02:24:42.000Z | qiime2/core/type/primitive.py | emollier/qiime2 | bc9167d844fb4b42eccba8d30ace1eb10ab093c3 | [
"BSD-3-Clause"
] | 1 | 2020-07-13T19:47:48.000Z | 2020-07-13T19:47:48.000Z | qiime2/core/type/primitive.py | emollier/qiime2 | bc9167d844fb4b42eccba8d30ace1eb10ab093c3 | [
"BSD-3-Clause"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (c) 2016-2020, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | 29.348008 | 79 | 0.598971 | 1,610 | 13,999 | 4.993789 | 0.11118 | 0.046269 | 0.024627 | 0.019901 | 0.531841 | 0.437065 | 0.386194 | 0.322388 | 0.286692 | 0.264428 | 0 | 0.002866 | 0.302164 | 13,999 | 476 | 80 | 29.409664 | 0.820145 | 0.051504 | 0 | 0.421829 | 0 | 0 | 0.046456 | 0 | 0 | 0 | 0 | 0.002101 | 0 | 1 | 0.182891 | false | 0.00295 | 0.014749 | 0.100295 | 0.480826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
83c1e9fa4d81b3ffd1354abfc15a80675fd2df14 | 982 | py | Python | homevisit/migrations/0004_feedback_field_renamed_comment.py | curtis628/pastor-visit | 1b4972888f1d21aed58377049790d91ab367abe8 | [
"Apache-2.0"
] | null | null | null | homevisit/migrations/0004_feedback_field_renamed_comment.py | curtis628/pastor-visit | 1b4972888f1d21aed58377049790d91ab367abe8 | [
"Apache-2.0"
] | 9 | 2019-10-21T17:53:41.000Z | 2022-02-10T11:51:59.000Z | homevisit/migrations/0004_feedback_field_renamed_comment.py | curtis628/homevisit | 1b4972888f1d21aed58377049790d91ab367abe8 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.1.4 on 2019-01-08 22:24
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("homevisit", "0003_faq")]
operations = [
migrations.RenameField(
model_name="feedback", old_name="feedback", new_name="comment"
),
... | 31.677419 | 88 | 0.541752 | 97 | 982 | 5.391753 | 0.639175 | 0.051625 | 0.06501 | 0.110899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035659 | 0.343177 | 982 | 30 | 89 | 32.733333 | 0.775194 | 0.045825 | 0 | 0.25 | 1 | 0 | 0.263102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.166667 | 0 | 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 |
83c2efcebb422a77c2dfbc06940aedc96140b02f | 9,968 | py | Python | Jwalk/build/lib/Jwalk/SurfaceTools.py | Topf-Lab/Jwalk | 72fac517b57b3724bb24101679afa8407c98666f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | Jwalk/build/lib/Jwalk/SurfaceTools.py | Topf-Lab/Jwalk | 72fac517b57b3724bb24101679afa8407c98666f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-10-04T20:21:39.000Z | 2021-10-04T20:21:39.000Z | Jwalk/src/Jwalk/SurfaceTools.py | Topf-Lab/Jwalk | 72fac517b57b3724bb24101679afa8407c98666f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-01-04T11:19:07.000Z | 2021-01-04T11:19:07.000Z | #===============================================================================
# This file is part of Jwalk.
#
# Jwalk - A tool to calculate the solvent accessible surface distance (SASD)
# between crosslinked residues.
#
# Copyright 2016 Jwalk Inventor and Birkbeck College University of Lo... | 34.491349 | 141 | 0.501705 | 1,238 | 9,968 | 3.926494 | 0.250404 | 0.015429 | 0.016046 | 0.027155 | 0.329356 | 0.323596 | 0.31187 | 0.283686 | 0.282041 | 0.253857 | 0 | 0.038682 | 0.369783 | 9,968 | 289 | 142 | 34.491349 | 0.735116 | 0.167636 | 0 | 0.397959 | 0 | 0.005102 | 0.121701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.010204 | 0.015306 | null | null | 0.040816 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
83c71c7ffa83f0cc4dec2167345e76cc20332c95 | 2,817 | py | Python | revelation/execute_mov.py | futurecore/revelation | 859de37f5c3ecf5366cc7ba65900754862843366 | [
"BSD-3-Clause"
] | 4 | 2015-09-21T13:52:33.000Z | 2016-12-29T23:24:51.000Z | revelation/execute_mov.py | futurecore/revelation | 859de37f5c3ecf5366cc7ba65900754862843366 | [
"BSD-3-Clause"
] | 59 | 2015-07-17T01:09:12.000Z | 2016-09-19T13:32:19.000Z | revelation/execute_mov.py | futurecore/epiphany-simulator | 859de37f5c3ecf5366cc7ba65900754862843366 | [
"BSD-3-Clause"
] | 1 | 2015-08-01T00:42:03.000Z | 2015-08-01T00:42:03.000Z | from revelation.condition_codes import condition_passed
from revelation.utils import get_mmr_address
def make_movcond_executor(is16bit):
def execute_movcond(s, inst):
"""
IF (Passed) <COND> then
RD = RN
"""
if is16bit:
inst.bits &= 0xffff
rd = inst.r... | 37.065789 | 80 | 0.619808 | 431 | 2,817 | 3.958237 | 0.317865 | 0.028136 | 0.052755 | 0.026377 | 0.409144 | 0.368113 | 0.352286 | 0.320633 | 0.281946 | 0.227433 | 0 | 0.025667 | 0.29464 | 2,817 | 75 | 81 | 37.56 | 0.832914 | 0.43486 | 0 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016075 | 0 | 0 | 1 | 0.162162 | false | 0.054054 | 0.054054 | 0 | 0.297297 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
83cd6f5be2d4c396b21c0ce81aeb77b2ad0be0e2 | 3,340 | py | Python | tests/config/test_regex.py | lpmi-13/cfripper | 36bfdc45855112496977806e1a93d98d010399ed | [
"Apache-2.0"
] | 2 | 2021-01-29T04:24:39.000Z | 2021-04-10T20:11:21.000Z | tests/config/test_regex.py | lpmi-13/cfripper | 36bfdc45855112496977806e1a93d98d010399ed | [
"Apache-2.0"
] | null | null | null | tests/config/test_regex.py | lpmi-13/cfripper | 36bfdc45855112496977806e1a93d98d010399ed | [
"Apache-2.0"
] | null | null | null | import pytest
from cfripper.config.regex import (
REGEX_ARN,
REGEX_CONTAINS_STAR,
REGEX_CROSS_ACCOUNT_ROOT,
REGEX_FULL_WILDCARD_PRINCIPAL,
REGEX_HAS_STAR_OR_STAR_AFTER_COLON,
REGEX_IAM_ARN,
REGEX_IS_STAR,
REGEX_STS_ARN,
REGEX_WILDCARD_POLICY_ACTION,
)
@pytest.mark.parametrize(
... | 47.714286 | 89 | 0.663473 | 442 | 3,340 | 4.617647 | 0.124434 | 0.117589 | 0.066144 | 0.088192 | 0.771681 | 0.712886 | 0.650661 | 0.534052 | 0.372366 | 0.120529 | 0 | 0.052709 | 0.182036 | 3,340 | 69 | 90 | 48.405797 | 0.694363 | 0 | 0 | 0 | 0 | 0 | 0.245509 | 0.176347 | 0 | 0 | 0 | 0 | 0.015152 | 1 | 0.015152 | false | 0 | 0.030303 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
83cf0c869986dc8221eecdb5a4471ba71d498d79 | 2,709 | py | Python | termplanner/terms/migrations/0004_auto_20201203_1922.py | bauersebastian/termplanner | fe82f1db20d000cbc5b008f6c67c7630bbf315f4 | [
"MIT"
] | null | null | null | termplanner/terms/migrations/0004_auto_20201203_1922.py | bauersebastian/termplanner | fe82f1db20d000cbc5b008f6c67c7630bbf315f4 | [
"MIT"
] | 19 | 2020-11-16T18:45:19.000Z | 2021-02-07T14:01:50.000Z | termplanner/terms/migrations/0004_auto_20201203_1922.py | bauersebastian/termplanner | fe82f1db20d000cbc5b008f6c67c7630bbf315f4 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.11 on 2020-12-03 18:22
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import model_utils.fields
class Migration(migrations.Migration):
dependencies = [
('terms', '0003_auto_20201129_1633'),
... | 53.117647 | 253 | 0.647471 | 280 | 2,709 | 6.157143 | 0.385714 | 0.070186 | 0.081207 | 0.050464 | 0.37471 | 0.335267 | 0.308005 | 0.214617 | 0.214617 | 0.153132 | 0 | 0.023321 | 0.208564 | 2,709 | 50 | 254 | 54.18 | 0.780784 | 0.01698 | 0 | 0.227273 | 1 | 0 | 0.161969 | 0.008643 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.113636 | 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 |
83cf84fdf4feed2bf4d99b838bcccde106177d4d | 454 | py | Python | aes_classifier/attributes/ke_brightness.py | tinenbruno/aes_classifier | 31d358c4e34a056cf67a5e602ad945011283a6ed | [
"MIT"
] | null | null | null | aes_classifier/attributes/ke_brightness.py | tinenbruno/aes_classifier | 31d358c4e34a056cf67a5e602ad945011283a6ed | [
"MIT"
] | null | null | null | aes_classifier/attributes/ke_brightness.py | tinenbruno/aes_classifier | 31d358c4e34a056cf67a5e602ad945011283a6ed | [
"MIT"
] | null | null | null | from ml_buff.models.base_feature_record import BaseFeatureRecord
import cv2
IMAGE_PATH = '/home/bruno/Downloads/images4AVA'
class KeBrightness(BaseFeatureRecord):
def calculate(self, input_data):
image = cv2.imread('{0}/{1}.jpg'.format(IMAGE_PATH, input_data.external_id))
if (image is None):
... | 30.266667 | 84 | 0.680617 | 59 | 454 | 5.084746 | 0.711864 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030387 | 0.202643 | 454 | 14 | 85 | 32.428571 | 0.798343 | 0 | 0 | 0 | 0 | 0 | 0.094923 | 0.07064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
83d0ca2f8af0e29fb5af1e5515037d207a9a337f | 1,419 | py | Python | fastsettings/migrations/0001_initial.py | wickeym/django-fastsettings | a1a14248b04415aeb24fc8ece2b12a82b05c0e37 | [
"Apache-2.0"
] | 2 | 2019-09-26T16:34:01.000Z | 2019-11-28T00:39:39.000Z | fastsettings/migrations/0001_initial.py | wickeym/django-fastsettings | a1a14248b04415aeb24fc8ece2b12a82b05c0e37 | [
"Apache-2.0"
] | 2 | 2021-06-04T21:37:26.000Z | 2021-06-09T17:25:32.000Z | fastsettings/migrations/0001_initial.py | wickeym/django-fastsettings | a1a14248b04415aeb24fc8ece2b12a82b05c0e37 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.5 on 2019-09-26 14:53
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Settings',
fields=[
('name', models.CharFie... | 45.774194 | 209 | 0.62086 | 167 | 1,419 | 5.143713 | 0.449102 | 0.055879 | 0.055879 | 0.059371 | 0.062864 | 0.062864 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.250176 | 1,419 | 30 | 210 | 47.3 | 0.784774 | 0.031712 | 0 | 0 | 1 | 0.043478 | 0.338921 | 0.016035 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.217391 | 0 | 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 |
83d52a7fce2d30b85b3b855c562f7637e48af63e | 827 | py | Python | setup.py | fishtown-analytics/tap-purecloud | 84ae83f4c5d13a52d16e2011512a30c38ee1cdd5 | [
"Apache-2.0"
] | null | null | null | setup.py | fishtown-analytics/tap-purecloud | 84ae83f4c5d13a52d16e2011512a30c38ee1cdd5 | [
"Apache-2.0"
] | null | null | null | setup.py | fishtown-analytics/tap-purecloud | 84ae83f4c5d13a52d16e2011512a30c38ee1cdd5 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from setuptools import setup, find_packages
import os.path
setup(name='tap-purecloud',
version='0.0.5',
description='Singer.io tap for extracting data from the Genesys Purecloud API',
author='Fishtown Analytics',
url='http://fishtownanalytics.com',
classifiers=['Pro... | 29.535714 | 85 | 0.59734 | 94 | 827 | 5.170213 | 0.670213 | 0.123457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05153 | 0.249093 | 827 | 27 | 86 | 30.62963 | 0.731079 | 0.024184 | 0 | 0 | 0 | 0 | 0.534739 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
83e3be0967c7ffe4f694469b88056115e5d1dd75 | 2,196 | py | Python | tests/backend/test_tf_import.py | mkeshita/strawberryfields | 670ee5fc08cda9d641af9227472bd8b3e622d906 | [
"Apache-2.0"
] | 1 | 2022-01-06T00:13:27.000Z | 2022-01-06T00:13:27.000Z | tests/backend/test_tf_import.py | tonybruguier/strawberryfields | 298601e409528f22c6717c2d816ab68ae8bda1fa | [
"Apache-2.0"
] | 1 | 2021-11-16T10:51:10.000Z | 2021-11-16T10:51:10.000Z | tests/backend/test_tf_import.py | tonybruguier/strawberryfields | 298601e409528f22c6717c2d816ab68ae8bda1fa | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Xanadu Quantum Technologies Inc.
# 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 agre... | 36.6 | 91 | 0.692168 | 301 | 2,196 | 4.986711 | 0.458472 | 0.039973 | 0.017988 | 0.021319 | 0.263158 | 0.263158 | 0.263158 | 0.263158 | 0.263158 | 0.20453 | 0 | 0.012324 | 0.224044 | 2,196 | 59 | 92 | 37.220339 | 0.868545 | 0.454007 | 0 | 0.307692 | 0 | 0 | 0.161625 | 0.030251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.346154 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
83ecb0cb951f0ebe9faa31b9ae1139af3b113f8b | 6,689 | py | Python | sdk/python/pulumi_aws_native/ec2/get_traffic_mirror_filter_rule.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/ec2/get_traffic_mirror_filter_rule.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/ec2/get_traffic_mirror_filter_rule.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 43.154839 | 235 | 0.708028 | 755 | 6,689 | 5.911258 | 0.157616 | 0.048398 | 0.053775 | 0.067219 | 0.459332 | 0.310553 | 0.242886 | 0.087833 | 0.087833 | 0.041228 | 0 | 0.000748 | 0.20003 | 6,689 | 154 | 236 | 43.435065 | 0.833302 | 0.048438 | 0 | 0.104839 | 1 | 0 | 0.178645 | 0.066814 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112903 | false | 0 | 0.048387 | 0.080645 | 0.274194 | 0 | 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 |
83ee51286bb11b3af3da07664b68ba907d707420 | 6,004 | py | Python | form_api/models/combine_pdfs_data.py | DocSpring/formapi-python | 69fe8b14f78cae57e07a888f97c0903d5f0f545c | [
"MIT"
] | 2 | 2017-10-07T17:38:10.000Z | 2017-10-10T06:14:13.000Z | form_api/models/combine_pdfs_data.py | FormAPI/formapi-python | 69fe8b14f78cae57e07a888f97c0903d5f0f545c | [
"MIT"
] | null | null | null | form_api/models/combine_pdfs_data.py | FormAPI/formapi-python | 69fe8b14f78cae57e07a888f97c0903d5f0f545c | [
"MIT"
] | null | null | null | # coding: utf-8
"""
API v1
FormAPI is a service that helps you fill out and sign PDF templates. # noqa: E501
OpenAPI spec version: v1
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
class CombinePdfsData(object):
"""NOTE: This class is auto ... | 27.541284 | 124 | 0.589107 | 701 | 6,004 | 4.851641 | 0.175464 | 0.061747 | 0.099971 | 0.110262 | 0.417524 | 0.336666 | 0.309027 | 0.195237 | 0.085269 | 0.022346 | 0 | 0.016133 | 0.318621 | 6,004 | 217 | 125 | 27.668203 | 0.815204 | 0.325949 | 0 | 0.072917 | 1 | 0 | 0.075455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.03125 | 0 | 0.34375 | 0.020833 | 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 |
83ee9fae4a8c7283b7eb84399260e87d9e1f5a60 | 6,507 | py | Python | src/react/properties.py | kbza/script-server | ad37a5c7e904ba1c466edebf8e409c6ae2710135 | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2020-11-23T10:38:09.000Z | 2020-11-23T10:38:09.000Z | src/react/properties.py | kbza/script-server | ad37a5c7e904ba1c466edebf8e409c6ae2710135 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/react/properties.py | kbza/script-server | ad37a5c7e904ba1c466edebf8e409c6ae2710135 | [
"Apache-2.0",
"CC0-1.0"
] | 1 | 2020-04-28T14:50:28.000Z | 2020-04-28T14:50:28.000Z | import itertools
from collections import UserList, UserDict
from typing import Optional, Iterable as Iterable, Mapping as Mapping, TypeVar
_T = TypeVar('_T')
_KT = TypeVar('_KT')
_VT = TypeVar('_VT')
class Property:
def __init__(self, value=None):
self._value = value
self._observers = []
... | 28.291304 | 88 | 0.576149 | 726 | 6,507 | 4.858127 | 0.141873 | 0.084775 | 0.047633 | 0.078253 | 0.309612 | 0.274454 | 0.252339 | 0.186561 | 0.185427 | 0.132124 | 0 | 0.00023 | 0.331489 | 6,507 | 229 | 89 | 28.414847 | 0.810575 | 0 | 0 | 0.264151 | 0 | 0 | 0.013678 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.201258 | false | 0 | 0.018868 | 0.012579 | 0.314465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
83eef30ebb2dda95fe01a1e8f8471d0a27c9ba90 | 397 | py | Python | app/users/migrations/0012_rename_username_driver_account_id.py | thevahidal/hoopoe-core | 922a9b44d1b544e23c373faf2d05df90148c9f4f | [
"MIT"
] | 5 | 2021-12-25T12:15:26.000Z | 2022-02-25T10:57:46.000Z | app/users/migrations/0012_rename_username_driver_account_id.py | thevahidal/hoopoe-core | 922a9b44d1b544e23c373faf2d05df90148c9f4f | [
"MIT"
] | 5 | 2022-02-27T09:32:45.000Z | 2022-02-28T22:18:49.000Z | app/users/migrations/0012_rename_username_driver_account_id.py | thevahidal/hoopoe-core | 922a9b44d1b544e23c373faf2d05df90148c9f4f | [
"MIT"
] | null | null | null | # Generated by Django 4.0 on 2021-12-24 22:32
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0011_recipient_username_alter_recipient_unique_together'),
]
operations = [
migrations.RenameField(
model_name='driver',
... | 20.894737 | 77 | 0.622166 | 42 | 397 | 5.642857 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062718 | 0.277078 | 397 | 18 | 78 | 22.055556 | 0.763066 | 0.108312 | 0 | 0 | 1 | 0 | 0.238636 | 0.15625 | 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 |
83fda8b25038e5f40c80d4fb0e0f962fe0004ec7 | 4,099 | py | Python | air/report.py | seasidesparrow/AutomatedIngestReport | c03d477aa0cc817eef726437c7d2c44f5d87d584 | [
"MIT"
] | 1 | 2018-05-26T12:40:32.000Z | 2018-05-26T12:40:32.000Z | air/report.py | seasidesparrow/AutomatedIngestReport | c03d477aa0cc817eef726437c7d2c44f5d87d584 | [
"MIT"
] | 8 | 2018-05-25T12:31:06.000Z | 2021-09-03T13:46:03.000Z | air/report.py | seasidesparrow/AutomatedIngestReport | c03d477aa0cc817eef726437c7d2c44f5d87d584 | [
"MIT"
] | 4 | 2019-05-13T14:54:14.000Z | 2021-06-09T13:35:41.000Z | from __future__ import print_function
from __future__ import absolute_import
from builtins import str
from builtins import object
from string import Template
from .utils import Date
class Report(object):
"""create ingest report based on data that has been gathered and computed
Reports (eventually) are goo... | 36.598214 | 262 | 0.765553 | 620 | 4,099 | 4.764516 | 0.233871 | 0.016926 | 0.014218 | 0.009479 | 0.250846 | 0.165538 | 0.11002 | 0.074137 | 0.042316 | 0.027082 | 0 | 0.003337 | 0.122713 | 4,099 | 111 | 263 | 36.927928 | 0.818131 | 0.046841 | 0 | 0.092105 | 0 | 0.092105 | 0.846411 | 0.333676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039474 | false | 0.013158 | 0.092105 | 0 | 0.171053 | 0.013158 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
8600fa6a4c1d29920722e4afff62d463422c773e | 236 | py | Python | meiduo_mall02/apps/oauto/urls.py | hongyinwang/meiduo_project02 | 3f21773d2d98204400ea2c3738969ac2a593b242 | [
"MIT"
] | null | null | null | meiduo_mall02/apps/oauto/urls.py | hongyinwang/meiduo_project02 | 3f21773d2d98204400ea2c3738969ac2a593b242 | [
"MIT"
] | null | null | null | meiduo_mall02/apps/oauto/urls.py | hongyinwang/meiduo_project02 | 3f21773d2d98204400ea2c3738969ac2a593b242 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
# 定义用户注册页面
url(r'^qq/login/$', views.QQAuthURLView.as_view(), name='qqurl'),
url(r'^oauth_callback/$', views.OautoQQuserView.as_view(), name='qqview')
] | 23.6 | 77 | 0.682203 | 31 | 236 | 5.096774 | 0.677419 | 0.050633 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 236 | 10 | 78 | 23.6 | 0.782178 | 0.033898 | 0 | 0 | 0 | 0 | 0.171806 | 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 |
860280d69d8c5e8532ddb3ae8236f6c2fb0b7bc6 | 541 | py | Python | receiver/hyunjoowhoon_msg_receiver.py | SanghunOh/share_5GUAV_2021 | bdcc272da4bce5e3e56ff7842bff7fb0c802f083 | [
"Apache-2.0"
] | null | null | null | receiver/hyunjoowhoon_msg_receiver.py | SanghunOh/share_5GUAV_2021 | bdcc272da4bce5e3e56ff7842bff7fb0c802f083 | [
"Apache-2.0"
] | null | null | null | receiver/hyunjoowhoon_msg_receiver.py | SanghunOh/share_5GUAV_2021 | bdcc272da4bce5e3e56ff7842bff7fb0c802f083 | [
"Apache-2.0"
] | 3 | 2021-11-30T07:49:08.000Z | 2021-12-01T08:57:48.000Z | import socket
def func_receiver(ip,port):
recevier = socket.socket(family=socket.AF_INET, type=socket.SOCK_DGRAM)
recevier.bind((ip, port))
func_message(recevier)
def func_message(recevier):
while True:
bytepair = recevier.recvfrom(1024)
message = bytepair[0]
address = bytepai... | 21.64 | 75 | 0.621072 | 68 | 541 | 4.735294 | 0.617647 | 0.043478 | 0.118012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 0.251386 | 541 | 25 | 76 | 21.64 | 0.745679 | 0 | 0 | 0 | 0 | 0 | 0.068266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.055556 | 0.055556 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
f7a5454432fdc8e9ee6cf98ee6346c4193b74d2a | 833 | py | Python | website/drawquest/apps/brushes/api.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 19 | 2015-11-10T17:36:20.000Z | 2021-04-12T07:36:00.000Z | website/drawquest/apps/brushes/api.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 1 | 2021-06-09T03:45:34.000Z | 2021-06-09T03:45:34.000Z | website/drawquest/apps/brushes/api.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 6 | 2015-11-11T00:38:38.000Z | 2020-07-25T20:10:08.000Z | from django.shortcuts import get_object_or_404
from canvas.exceptions import ServiceError
from drawquest.api_decorators import api_decorator
from canvas.templatetags.jinja_base import render_jinja_to_string
from canvas.view_guards import require_staff, require_user
from drawquest.apps.brushes import models
from drawqu... | 30.851852 | 73 | 0.77551 | 107 | 833 | 5.813084 | 0.46729 | 0.07074 | 0.064309 | 0.07074 | 0.080386 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.142857 | 833 | 26 | 74 | 32.038462 | 0.866947 | 0 | 0 | 0 | 0 | 0 | 0.054087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.35 | 0 | 0.45 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f7a97e7e314e61a104fb0635e5a4b454b276b623 | 285 | py | Python | numpy1.py | Datagatherer2357/Gareth-Duffy-GMIT-Problem-sets-Python-scripts | f14f62e5b76dc27c04a616d3fe73abfb5052fc3f | [
"Apache-2.0"
] | 2 | 2018-02-25T16:17:26.000Z | 2018-02-25T16:17:36.000Z | numpy1.py | Datagatherer2357/Gareth-Duffy-GMIT-Problem-sets-Python-scripts | f14f62e5b76dc27c04a616d3fe73abfb5052fc3f | [
"Apache-2.0"
] | null | null | null | numpy1.py | Datagatherer2357/Gareth-Duffy-GMIT-Problem-sets-Python-scripts | f14f62e5b76dc27c04a616d3fe73abfb5052fc3f | [
"Apache-2.0"
] | null | null | null | # Gareth Duffy 13-3-2018
# basic numpy WTOP
import numpy as np
x = np.arange(1, 10)
print(x)
print(x ** 2)
M = x.reshape((3, 3)) # multidimensional
print(M)
print(M.T) # transpose
print(np.dot(M, [5, 6, 7])) # matrix vector
print(np.linalg.eigvals(M)) # eigenvalues decompostion
| 15.833333 | 54 | 0.670175 | 50 | 285 | 3.82 | 0.64 | 0.062827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0.164912 | 285 | 17 | 55 | 16.764706 | 0.735294 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
f7a9c6b433a74ce5cc53deb7854c8c57ce567a6e | 17,673 | py | Python | mskpy/models/surfaces.py | mkelley/mskpy | 41f41fd69bae71853abdfd2afbd535cd0b79c530 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T09:52:10.000Z | 2021-01-07T22:29:51.000Z | mskpy/models/surfaces.py | mkelley/mskpy | 41f41fd69bae71853abdfd2afbd535cd0b79c530 | [
"BSD-3-Clause"
] | 7 | 2015-11-29T22:20:57.000Z | 2019-11-01T21:15:07.000Z | mskpy/models/surfaces.py | mkelley/mskpy | 41f41fd69bae71853abdfd2afbd535cd0b79c530 | [
"BSD-3-Clause"
] | 2 | 2015-11-29T21:26:09.000Z | 2016-05-24T08:53:43.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
surfaces --- Models for surfaces
================================
.. autosummary::
:toctree: generated/
Surface Models
--------------
SurfaceRadiation
DAp
DApColor
HG
NEATM
Phase functions
---------------
phaseHG
... | 26.221068 | 79 | 0.537543 | 2,271 | 17,673 | 4.143109 | 0.173492 | 0.018705 | 0.008928 | 0.011478 | 0.385907 | 0.346052 | 0.322245 | 0.305346 | 0.287066 | 0.27665 | 0 | 0.028999 | 0.33073 | 17,673 | 673 | 80 | 26.26003 | 0.766486 | 0.432298 | 0 | 0.292453 | 1 | 0 | 0.021776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122642 | false | 0.009434 | 0.080189 | 0.004717 | 0.330189 | 0.004717 | 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 |
f7b08c5b7fdc9eaa4481db5a6487906044c1b3d7 | 574 | py | Python | ex.py | NagiPragalathan/Practicals | 022305f21b9885cbccb400519c104474e6a142b6 | [
"MIT"
] | null | null | null | ex.py | NagiPragalathan/Practicals | 022305f21b9885cbccb400519c104474e6a142b6 | [
"MIT"
] | null | null | null | ex.py | NagiPragalathan/Practicals | 022305f21b9885cbccb400519c104474e6a142b6 | [
"MIT"
] | null | null | null | import random
user_name = ["none","banu","nagi","naveen","risi","hari","moorthi","priya"]
user_pass_var = [chr(x) for x in range(65,123)]
salary = []
user_pass = []
temp = ''
size = int(input("how many input you want : "))
pass_size = int(input("enter password len : "))
for i in range(size):
user_pass.append(temp)... | 23.916667 | 114 | 0.670732 | 93 | 574 | 4 | 0.505376 | 0.150538 | 0.129032 | 0.05914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012097 | 0.135889 | 574 | 23 | 115 | 24.956522 | 0.737903 | 0 | 0 | 0.125 | 0 | 0.0625 | 0.328671 | 0.094406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5625 | 0.0625 | 0 | 0.0625 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f7c789217632a340b2a4f05d2bcdcd4bdc126400 | 894 | py | Python | linux_scripts/delete_logs.py | bhardwajRahul/scripts | 67edaba4ba84d3aea93fc9ce93e07855c8bea9e0 | [
"MIT"
] | null | null | null | linux_scripts/delete_logs.py | bhardwajRahul/scripts | 67edaba4ba84d3aea93fc9ce93e07855c8bea9e0 | [
"MIT"
] | null | null | null | linux_scripts/delete_logs.py | bhardwajRahul/scripts | 67edaba4ba84d3aea93fc9ce93e07855c8bea9e0 | [
"MIT"
] | 1 | 2021-01-01T11:01:52.000Z | 2021-01-01T11:01:52.000Z | # Copyright (c) Matthew David Miller. All rights reserved.
# Licensed under the MIT License.
# Simple script to clear log files I have setup.
# Libraries to import.
import subprocess
# Variables to edit based on configuration.
log_1 = '/home/matthew/logs/update.log'
log_2 = '/home/matthew/logs/send_ip_address.log... | 28.83871 | 73 | 0.725951 | 134 | 894 | 4.641791 | 0.485075 | 0.088424 | 0.16881 | 0.160772 | 0.287781 | 0.287781 | 0.231511 | 0.231511 | 0.231511 | 0 | 0 | 0.020101 | 0.10962 | 894 | 30 | 74 | 29.8 | 0.761307 | 0.259508 | 0 | 0 | 0 | 0 | 0.408257 | 0.259939 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.083333 | 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 |
f7c7e0b9cfdf1804315594759da18eb9deb9ecee | 6,055 | py | Python | ibc.py | erankeren/ibc | fe417f5865c6abcf41fcbed0eb66d4c80c6fdd68 | [
"Apache-2.0"
] | null | null | null | ibc.py | erankeren/ibc | fe417f5865c6abcf41fcbed0eb66d4c80c6fdd68 | [
"Apache-2.0"
] | null | null | null | ibc.py | erankeren/ibc | fe417f5865c6abcf41fcbed0eb66d4c80c6fdd68 | [
"Apache-2.0"
] | null | null | null | import os, os.path
import random
import string
import sqlite3
import time
import cherrypy
import json
import re
from string import digits
DB_STRING = "ibc.db"
def dict_factory(cursor, row):
d = {}
for idx, col in enumerate(cursor.description):
d[col[0]] = row[idx]
return d
class IbcWebMain(object):
@cher... | 32.379679 | 262 | 0.616846 | 690 | 6,055 | 5.321739 | 0.243478 | 0.038126 | 0.026961 | 0.027233 | 0.445261 | 0.437364 | 0.403595 | 0.308279 | 0.220044 | 0.220044 | 0 | 0.004351 | 0.240793 | 6,055 | 187 | 263 | 32.379679 | 0.794431 | 0.163666 | 0 | 0.385714 | 0 | 0.014286 | 0.257284 | 0.068583 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.021429 | 0.064286 | null | null | 0.042857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
f7c871bf0461df70f3668991a1f89e90277a2ff7 | 307 | py | Python | 5. Exceptions/03exception_handling2.py | ahmadsohail404/helloPython | 7fa0c1c4ae7badecc6adc6e9ce35cce14e86766f | [
"MIT"
] | null | null | null | 5. Exceptions/03exception_handling2.py | ahmadsohail404/helloPython | 7fa0c1c4ae7badecc6adc6e9ce35cce14e86766f | [
"MIT"
] | null | null | null | 5. Exceptions/03exception_handling2.py | ahmadsohail404/helloPython | 7fa0c1c4ae7badecc6adc6e9ce35cce14e86766f | [
"MIT"
] | null | null | null | try:
age = int(input("Age: "))
xfactor = 10/age # it'll crash at age = 0 -> ZeroDivisionError
except (ValueError, ZeroDivisionError) as ex:
print("You didn't enter a valid age 🥲")
# except ZeroDivisionError:
# print("Age cannot be zero 😂")
else:
print("No exceptions found!")
| 30.7 | 77 | 0.631922 | 42 | 307 | 4.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.237785 | 307 | 9 | 78 | 34.111111 | 0.816239 | 0.335505 | 0 | 0 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f7cd2cf84bb90ac6d66feef0b4ffcd4fdb6862f7 | 615 | py | Python | ampel/base/AmpelFlexModel.py | AmpelProject/Ampel-base | e344e4be31f3c009084cbf285693c77389cafae8 | [
"BSD-3-Clause"
] | 1 | 2019-11-21T11:44:04.000Z | 2019-11-21T11:44:04.000Z | ampel/base/AmpelFlexModel.py | AmpelProject/Ampel-base | e344e4be31f3c009084cbf285693c77389cafae8 | [
"BSD-3-Clause"
] | 1 | 2019-03-25T19:24:09.000Z | 2019-03-25T19:24:09.000Z | ampel/base/AmpelFlexModel.py | AmpelProject/Ampel-base | e344e4be31f3c009084cbf285693c77389cafae8 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# File: Ampel-interface/ampel/base/AmpelFlexModel.py
# License: BSD-3-Clause
# Author: valery brinnel <firstname.lastname@gmail.com>
# Date: 17.03.2021
# Last Modified Date: 06.02.2022
# Last Modified By: valery bri... | 30.75 | 82 | 0.663415 | 78 | 615 | 5.102564 | 0.692308 | 0.045226 | 0.110553 | 0.150754 | 0.190955 | 0.190955 | 0 | 0 | 0 | 0 | 0 | 0.036885 | 0.206504 | 615 | 19 | 83 | 32.368421 | 0.778689 | 0.61626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f7d4a99f510ed7b99e2171f9baff76a045dc056e | 3,721 | py | Python | scrap/__main__.py | jdavidls/scrap | cd89e6ad4c26e2e634f033b9ff87ba6d2fff6dd9 | [
"MIT"
] | null | null | null | scrap/__main__.py | jdavidls/scrap | cd89e6ad4c26e2e634f033b9ff87ba6d2fff6dd9 | [
"MIT"
] | null | null | null | scrap/__main__.py | jdavidls/scrap | cd89e6ad4c26e2e634f033b9ff87ba6d2fff6dd9 | [
"MIT"
] | null | null | null | import sys, asyncio, aiohttp, async_timeout, collections, csv
from lxml import html, etree
from tld import get_tld
from urllib.parse import urlparse
USER_AGENT = 'Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1'
'''
analizar doctype html5... | 28.40458 | 139 | 0.675356 | 517 | 3,721 | 4.831721 | 0.332689 | 0.016013 | 0.020416 | 0.021617 | 0.281425 | 0.281425 | 0.165332 | 0.13811 | 0.099279 | 0.099279 | 0 | 0.012846 | 0.18409 | 3,721 | 130 | 140 | 28.623077 | 0.809947 | 0.028487 | 0 | 0.28125 | 0 | 0.010417 | 0.162314 | 0.041 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.041667 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f7d4f6bcc746992f7153ad51b539cc35bbf8cf5b | 1,013 | py | Python | regexport/views/checkbox.py | jonnykohl/ABBA-QuPath-RegistrationAnalysis | d164d619117b400b2de524887fb598b966319518 | [
"MIT"
] | 2 | 2021-09-26T21:48:11.000Z | 2022-02-09T03:02:59.000Z | regexport/views/checkbox.py | jonnykohl/ABBA-QuPath-RegistrationAnalysis | d164d619117b400b2de524887fb598b966319518 | [
"MIT"
] | 2 | 2022-01-28T14:40:20.000Z | 2022-01-31T10:14:27.000Z | regexport/views/checkbox.py | jonnykohl/ABBA-QuPath-RegistrationAnalysis | d164d619117b400b2de524887fb598b966319518 | [
"MIT"
] | 1 | 2021-11-30T15:27:25.000Z | 2021-11-30T15:27:25.000Z | from PySide2.QtCore import Qt
from PySide2.QtWidgets import QCheckBox, QLabel, QWidget, QHBoxLayout
from traitlets import HasTraits, Bool, link, Unicode
from regexport.model import AppState
from regexport.views.utils import HasWidget
class CheckboxModel(HasTraits):
label = Unicode(default_value='')
checked ... | 24.707317 | 69 | 0.687068 | 113 | 1,013 | 6.053097 | 0.415929 | 0.087719 | 0.064327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002509 | 0.213228 | 1,013 | 40 | 70 | 25.325 | 0.855709 | 0 | 0 | 0 | 0 | 0 | 0.021761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.2 | 0 | 0.52 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f7dbe1969ee180ed1f0309c70b9dfa3dfdee3eef | 6,254 | py | Python | core/src/test/bootstrap/automated/configuration.py | MayerRoman/Lagerta | 71091459c4afdae189149f033a98b5975d55dcd3 | [
"Apache-2.0"
] | 4 | 2017-07-12T12:18:03.000Z | 2021-04-01T16:07:06.000Z | core/src/test/bootstrap/automated/configuration.py | MayerRoman/Lagerta | 71091459c4afdae189149f033a98b5975d55dcd3 | [
"Apache-2.0"
] | 3 | 2017-06-22T10:27:02.000Z | 2017-06-27T07:47:00.000Z | core/src/test/bootstrap/automated/configuration.py | MayerRoman/Lagerta | 71091459c4afdae189149f033a98b5975d55dcd3 | [
"Apache-2.0"
] | 6 | 2017-06-22T10:06:57.000Z | 2019-09-02T04:49:35.000Z | #
# Copyright (c) 2017. EPAM Systems
#
# 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 writi... | 38.368098 | 100 | 0.712184 | 768 | 6,254 | 5.476563 | 0.264323 | 0.031621 | 0.034237 | 0.027104 | 0.237993 | 0.146695 | 0.087019 | 0.069425 | 0.031384 | 0.031384 | 0 | 0.004071 | 0.214423 | 6,254 | 162 | 101 | 38.604938 | 0.852025 | 0.097857 | 0 | 0.041322 | 0 | 0 | 0.059556 | 0.008711 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107438 | false | 0.115702 | 0.099174 | 0.057851 | 0.371901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f7dcdb13ada9d3d12aaa9800d91ff8f56cc42410 | 7,949 | py | Python | catkin_ws/src/joy_mapper/src/joy_mapper_node.py | leehorn/Software | 43dbcd90bb07e00c71e0986cdfb66c395a221450 | [
"CC-BY-2.0"
] | null | null | null | catkin_ws/src/joy_mapper/src/joy_mapper_node.py | leehorn/Software | 43dbcd90bb07e00c71e0986cdfb66c395a221450 | [
"CC-BY-2.0"
] | null | null | null | catkin_ws/src/joy_mapper/src/joy_mapper_node.py | leehorn/Software | 43dbcd90bb07e00c71e0986cdfb66c395a221450 | [
"CC-BY-2.0"
] | null | null | null | #!/usr/bin/env python
import rospy
import numpy as np
import math
from duckietown_msgs.msg import Twist2DStamped, BoolStamped
from sensor_msgs.msg import Joy
import time
from __builtin__ import True
class JoyMapper(object):
def __init__(self):
self.node_name = rospy.get_name()
rospy.loginfo("[%s] ... | 46.215116 | 148 | 0.654548 | 1,041 | 7,949 | 4.74928 | 0.193084 | 0.031149 | 0.031553 | 0.036408 | 0.415251 | 0.343042 | 0.265777 | 0.214401 | 0.200243 | 0.200243 | 0 | 0.014645 | 0.244056 | 7,949 | 171 | 149 | 46.48538 | 0.808121 | 0.126808 | 0 | 0.115385 | 0 | 0 | 0.073651 | 0.0191 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.053846 | 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 |
f7dd12409bcb6cec012ca555adb3f373926a89fb | 5,133 | py | Python | src/pytest/test_tags.py | filipecosta90/RediSearch | 5baf48bdb90c36c08f4ab36bd517ebfecd705d88 | [
"Ruby",
"MIT"
] | null | null | null | src/pytest/test_tags.py | filipecosta90/RediSearch | 5baf48bdb90c36c08f4ab36bd517ebfecd705d88 | [
"Ruby",
"MIT"
] | null | null | null | src/pytest/test_tags.py | filipecosta90/RediSearch | 5baf48bdb90c36c08f4ab36bd517ebfecd705d88 | [
"Ruby",
"MIT"
] | 1 | 2019-02-04T11:54:56.000Z | 2019-02-04T11:54:56.000Z |
def search(env, r, *args):
return r.execute_command('ft.search', *args)
def testTagIndex(env):
r = env
env.assertOk(r.execute_command(
'ft.create', 'idx', 'schema', 'title', 'text', 'tags', 'tag'))
N = 10
for n in range(N):
env.assertOk(r.execute_command('ft.add', 'idx', 'doc%d'... | 37.742647 | 116 | 0.515293 | 658 | 5,133 | 3.958967 | 0.118541 | 0.06142 | 0.115163 | 0.130518 | 0.745489 | 0.706334 | 0.698273 | 0.665643 | 0.575048 | 0.540499 | 0 | 0.016133 | 0.275472 | 5,133 | 135 | 117 | 38.022222 | 0.684324 | 0.008767 | 0 | 0.460784 | 0 | 0 | 0.26205 | 0.005312 | 0 | 0 | 0 | 0 | 0.323529 | 1 | 0.068627 | false | 0 | 0 | 0.009804 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f7e30c096dbc6ee7c9efa5f9768e9394df0c010d | 713 | py | Python | csrv/model/actions/rez_ice.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | null | null | null | csrv/model/actions/rez_ice.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | null | null | null | csrv/model/actions/rez_ice.py | mrroach/CentralServer | e377c65d8f3adf5a2d3273acd4f459be697aea56 | [
"Apache-2.0"
] | 1 | 2020-09-20T11:26:20.000Z | 2020-09-20T11:26:20.000Z | """Base actions for the players to take."""
from csrv.model.actions import action
from csrv.model import cost
from csrv.model import errors
from csrv.model import events
from csrv.model import game_object
from csrv.model import parameters
class RezIce(action.Action):
COST_CLASS = cost.RezIceCost
DESCRIPTION = '... | 25.464286 | 80 | 0.723703 | 102 | 713 | 4.95098 | 0.431373 | 0.09505 | 0.154455 | 0.188119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185133 | 713 | 27 | 81 | 26.407407 | 0.869191 | 0.051893 | 0 | 0 | 0 | 0 | 0.064179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.3 | 0.05 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.