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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
243b41e4fe63085b30eb5cf8b63cd67590a2a0b6 | 81,270 | py | Python | intrepyd/tests/A7E_requirements.py | bobosoft/intrepyd | 13f0912b31f86f9bcc50f52ef4ad870e33f0cf65 | [
"BSD-3-Clause"
] | 2 | 2021-04-25T17:38:03.000Z | 2022-03-20T20:48:50.000Z | intrepyd/tests/A7E_requirements.py | bobosoft/intrepyd | 13f0912b31f86f9bcc50f52ef4ad870e33f0cf65 | [
"BSD-3-Clause"
] | 1 | 2016-11-30T22:25:00.000Z | 2017-01-16T22:43:39.000Z | intrepyd/tests/A7E_requirements.py | bobosoft/intrepyd | 13f0912b31f86f9bcc50f52ef4ad870e33f0cf65 | [
"BSD-3-Clause"
] | null | null | null | import intrepyd as ip
import intrepyd.scr
import intrepyd.circuit
import collections
from . import from_fixture_path
class SimulinkCircuit(ip.circuit.Circuit):
def __init__(self, ctx, name):
ip.circuit.Circuit.__init__(self, ctx, name)
def _mk_naked_circuit_impl(self, inputs):
input_keys = lis... | 53.117647 | 189 | 0.65542 | 10,617 | 81,270 | 4.789865 | 0.107092 | 0.19143 | 0.205018 | 0.129803 | 0.666516 | 0.585716 | 0.367306 | 0.259567 | 0.249872 | 0.249872 | 0 | 0.127423 | 0.217436 | 81,270 | 1,529 | 190 | 53.152387 | 0.67218 | 0.174529 | 0 | 0 | 0 | 0 | 0.177711 | 0.151478 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007744 | false | 0.005808 | 0.00484 | 0 | 0.019361 | 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 |
243cee6a2d485166a72cb4091ffd65db1d0e6244 | 6,379 | py | Python | app/urls.py | silop4all/iam | 691316ca9ea7d3d10a3197b4d028e44e333c7060 | [
"Apache-2.0"
] | 2 | 2018-02-27T20:51:08.000Z | 2019-11-25T10:11:59.000Z | app/urls.py | silop4all/iam | 691316ca9ea7d3d10a3197b4d028e44e333c7060 | [
"Apache-2.0"
] | null | null | null | app/urls.py | silop4all/iam | 691316ca9ea7d3d10a3197b4d028e44e333c7060 | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import patterns, url, include
from app.views import *
# Endpoints for views
endpoints = patterns(
'',
url(r'^signup-request/$', EmailForm.as_view(), name='signup_request_form'),
url(r'^signup/$', ... | 118.12963 | 234 | 0.50196 | 589 | 6,379 | 5.26146 | 0.195246 | 0.047757 | 0.064537 | 0.071313 | 0.391417 | 0.27525 | 0.242659 | 0.206196 | 0.16102 | 0.16102 | 0 | 0.008074 | 0.339865 | 6,379 | 54 | 235 | 118.12963 | 0.727856 | 0.006427 | 0 | 0.044444 | 0 | 0.133333 | 0.347182 | 0.227794 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.044444 | 0.044444 | 0 | 0.044444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
243d81dcf344a2faba2df31a69da9d81b705581d | 394 | py | Python | workouts/migrations/0009_auto_20180417_0936.py | patcurry/patcurryworks.com | 1b8aac688ca0925ca843683bba97e8ec59dea18a | [
"MIT"
] | null | null | null | workouts/migrations/0009_auto_20180417_0936.py | patcurry/patcurryworks.com | 1b8aac688ca0925ca843683bba97e8ec59dea18a | [
"MIT"
] | null | null | null | workouts/migrations/0009_auto_20180417_0936.py | patcurry/patcurryworks.com | 1b8aac688ca0925ca843683bba97e8ec59dea18a | [
"MIT"
] | null | null | null | # Generated by Django 2.0.4 on 2018-04-17 07:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('workouts', '0008_auto_20180417_0934'),
]
operations = [
migrations.AlterField(
model_name='exercise',
name='exercise... | 20.736842 | 48 | 0.606599 | 42 | 394 | 5.571429 | 0.833333 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109541 | 0.281726 | 394 | 18 | 49 | 21.888889 | 0.717314 | 0.114213 | 0 | 0 | 1 | 0 | 0.149856 | 0.066282 | 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 |
243e1ab1c1e6e1aac758f59036bc58edcc0b399c | 5,027 | py | Python | scienz/covid/the_racial_covid_data_tracker.py | Vibrant-Planet/aorist | 067e119ef4d0d40802ce74a8e47d882e557ce195 | [
"MIT"
] | 16 | 2021-08-14T10:20:16.000Z | 2022-03-31T04:19:26.000Z | hub/covid/the_racial_covid_data_tracker.py | scie-nz/aorist | ac1e31251af7d851c4491a310b417de880b79d09 | [
"MIT"
] | 5 | 2021-08-15T23:19:10.000Z | 2021-09-26T20:50:41.000Z | scienz/covid/the_racial_covid_data_tracker.py | Vibrant-Planet/aorist | 067e119ef4d0d40802ce74a8e47d882e557ce195 | [
"MIT"
] | 1 | 2022-01-06T01:26:24.000Z | 2022-01-06T01:26:24.000Z | from aorist import (
Attribute,
NaturalNumber,
StringIdentifier,
DateString,
POSIXTimestamp,
PositiveFloat,
default_tabular_schema,
RowStruct,
StaticDataTable,
DataSchema,
StorageSetup,
RemoteStorageSetup,
Storage,
RemoteStorage,
RemoteLocation,
CSVEncodin... | 35.907143 | 101 | 0.67217 | 417 | 5,027 | 7.865707 | 0.309353 | 0.355488 | 0.107012 | 0.047561 | 0.048171 | 0.017683 | 0 | 0 | 0 | 0 | 0 | 0.005591 | 0.217227 | 5,027 | 139 | 102 | 36.165468 | 0.827954 | 0 | 0 | 0.037313 | 0 | 0 | 0.279292 | 0.105431 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007463 | 0 | 0.007463 | 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 |
244274aed34752d9995f8d45a9df657835220bb7 | 10,287 | py | Python | ensemble/management/commands/seeddata.py | evanlouie/activelearning | 7ee6e9d2d795f85a441ad70e70ac0d8de9c25e31 | [
"MIT"
] | null | null | null | ensemble/management/commands/seeddata.py | evanlouie/activelearning | 7ee6e9d2d795f85a441ad70e70ac0d8de9c25e31 | [
"MIT"
] | null | null | null | ensemble/management/commands/seeddata.py | evanlouie/activelearning | 7ee6e9d2d795f85a441ad70e70ac0d8de9c25e31 | [
"MIT"
] | 1 | 2019-01-03T18:03:18.000Z | 2019-01-03T18:03:18.000Z | """
Test data scaffolding.
Read: https://docs.djangoproject.com/en/dev/howto/custom-management-commands/
"""
import json
from random import randint
from django.core.management.base import BaseCommand, CommandError
from ensemble.models import (
Classification,
Model,
ModelVersion,
MediaFile,
VideoPre... | 48.523585 | 704 | 0.652085 | 1,220 | 10,287 | 5.451639 | 0.32377 | 0.021501 | 0.054729 | 0.074275 | 0.384303 | 0.377237 | 0.334837 | 0.310179 | 0.289581 | 0.225831 | 0 | 0.017818 | 0.252552 | 10,287 | 211 | 705 | 48.753555 | 0.846794 | 0.031788 | 0 | 0.278947 | 0 | 0.131579 | 0.756285 | 0.056638 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015789 | false | 0 | 0.021053 | 0 | 0.063158 | 0 | 0 | 0 | 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 |
2443028bd1f3dc0b8fea3a8e6493e8138104f5b7 | 5,088 | py | Python | module1-introduction-to-sql/rpg_queries.py | moviedatascience/DS-Unit-3-Sprint-2-SQL-and-Databases | 28ba92de2213b595dd693892f3cf04bbf029571d | [
"MIT"
] | null | null | null | module1-introduction-to-sql/rpg_queries.py | moviedatascience/DS-Unit-3-Sprint-2-SQL-and-Databases | 28ba92de2213b595dd693892f3cf04bbf029571d | [
"MIT"
] | null | null | null | module1-introduction-to-sql/rpg_queries.py | moviedatascience/DS-Unit-3-Sprint-2-SQL-and-Databases | 28ba92de2213b595dd693892f3cf04bbf029571d | [
"MIT"
] | null | null | null | import sqlite3 as sql
import pandas as pd
from tabulate import tabulate
connect = sql.connect("rpg_db.sqlite3")
cursor = connect.cursor()
def total_char_count():
""" Total all characters """
print(pd.read_sql_query('''SELECT COUNT(distinct character_id)
FROM charactercreator_character;''', connect))
... | 45.026549 | 103 | 0.553656 | 534 | 5,088 | 5.026217 | 0.153558 | 0.069672 | 0.058122 | 0.031297 | 0.628912 | 0.541356 | 0.496274 | 0.456781 | 0.406855 | 0.368852 | 0 | 0.004064 | 0.371266 | 5,088 | 112 | 104 | 45.428571 | 0.834948 | 0.070755 | 0 | 0.373134 | 0 | 0 | 0.625066 | 0.077737 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134328 | false | 0 | 0.044776 | 0 | 0.179104 | 0.149254 | 0 | 0 | 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 |
24519ef2668459d9f777877b65690f1c784b5bd4 | 8,070 | py | Python | single_synthetic_comparison.py | wflynny/miseq-analysis | 960467933c11ea4dea949f3043e4e92a00767401 | [
"MIT"
] | null | null | null | single_synthetic_comparison.py | wflynny/miseq-analysis | 960467933c11ea4dea949f3043e4e92a00767401 | [
"MIT"
] | null | null | null | single_synthetic_comparison.py | wflynny/miseq-analysis | 960467933c11ea4dea949f3043e4e92a00767401 | [
"MIT"
] | null | null | null | import os
import sys
import csv
import glob
import sqlite3
import numpy as np
import pandas as pd
from itertools import combinations, izip_longest
from utils.wildtype import WILDTYPE_PRO
from utils.mut_freqs import DB_LOCATION
#MUT_PAIRS = ['30-88', '54-82', '73-90', '46-82', '24-74', '35-36', '69-84',
# '... | 48.323353 | 149 | 0.640397 | 1,177 | 8,070 | 4.216653 | 0.159728 | 0.04191 | 0.024179 | 0.018134 | 0.389885 | 0.313319 | 0.232924 | 0.202297 | 0.134596 | 0.100746 | 0 | 0.051366 | 0.20632 | 8,070 | 166 | 150 | 48.614458 | 0.723497 | 0.089839 | 0 | 0.083333 | 0 | 0 | 0.056028 | 0.006049 | 0 | 0 | 0 | 0 | 0.058333 | 0 | null | null | 0 | 0.083333 | null | null | 0.041667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
2451b7ca11d5bb732c09f8c5ec0112a32409448a | 4,424 | py | Python | Inventario/migrations/0001_initial.py | yorlysoro/INCOLARA | ce09cac91a2fc0d3afa6a238369c59a0ae32f245 | [
"BSD-3-Clause"
] | null | null | null | Inventario/migrations/0001_initial.py | yorlysoro/INCOLARA | ce09cac91a2fc0d3afa6a238369c59a0ae32f245 | [
"BSD-3-Clause"
] | null | null | null | Inventario/migrations/0001_initial.py | yorlysoro/INCOLARA | ce09cac91a2fc0d3afa6a238369c59a0ae32f245 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.2.13 on 2020-07-08 18:54
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Atributo',
fields=[
... | 51.44186 | 190 | 0.597423 | 439 | 4,424 | 5.856492 | 0.252847 | 0.119798 | 0.023337 | 0.060288 | 0.455465 | 0.436017 | 0.347336 | 0.347336 | 0.310774 | 0.274212 | 0 | 0.017167 | 0.262658 | 4,424 | 85 | 191 | 52.047059 | 0.770999 | 0.010398 | 0 | 0.384615 | 1 | 0 | 0.211152 | 0.01851 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 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 |
24552b505f579c23274eb1a3f24409d591f02721 | 1,834 | py | Python | backend/algorithms/ls_backend/engine.py | AroMorin/DNNOP | 271e65811fe7cadcffc8155049e256fa78c0c5c6 | [
"MIT"
] | 6 | 2020-01-14T00:01:34.000Z | 2021-12-28T14:31:05.000Z | backend/algorithms/ls_backend/engine.py | AroMorin/DNNOP | 271e65811fe7cadcffc8155049e256fa78c0c5c6 | [
"MIT"
] | null | null | null | backend/algorithms/ls_backend/engine.py | AroMorin/DNNOP | 271e65811fe7cadcffc8155049e256fa78c0c5c6 | [
"MIT"
] | 1 | 2020-09-06T10:44:29.000Z | 2020-09-06T10:44:29.000Z | """base class for pool
The pool object will contain the models under optimization.
"""
from .noise import Noise
from .analysis import Analysis
import torch
class Engine(object):
def __init__(self, model, hyper_params):
self.vector = torch.nn.utils.parameters_to_vector(model.parameters())
self.nois... | 33.962963 | 92 | 0.660851 | 236 | 1,834 | 5.012712 | 0.300847 | 0.092984 | 0.071006 | 0.116653 | 0.172443 | 0.172443 | 0.144548 | 0.10989 | 0.10989 | 0.10989 | 0 | 0.002837 | 0.231189 | 1,834 | 53 | 93 | 34.603774 | 0.83617 | 0.22301 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0 | 0.1 | 0 | 0.366667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
245a8d9d9c67b8e67660a53952f4baf20840c230 | 1,127 | py | Python | pyteleport/tests/_test_teleport_try_w_stack.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | 9 | 2021-06-21T09:17:42.000Z | 2022-01-28T10:34:36.000Z | pyteleport/tests/_test_teleport_try_w_stack.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | null | null | null | pyteleport/tests/_test_teleport_try_w_stack.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | 1 | 2021-09-25T02:03:41.000Z | 2021-09-25T02:03:41.000Z | """
[True] loop 0
[True] try
[True] teleport
[True] vstack [!<class 'range_iterator'>, !<class 'range_iterator'>]
[True] bstack [122/1, 122/1]
[False] vstack [!<class 'range_iterator'>, !<class 'range_iterator'>]
[False] bstack [122/1, 122/1]
[False] raise
[False] CustomException('hello')
[False] handle
[False] finally... | 23.978723 | 97 | 0.601597 | 137 | 1,127 | 4.715328 | 0.364964 | 0.06192 | 0.111455 | 0.088235 | 0.188854 | 0.188854 | 0.130031 | 0 | 0 | 0 | 0 | 0.027811 | 0.266193 | 1,127 | 46 | 98 | 24.5 | 0.753325 | 0.318545 | 0 | 0.083333 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.041667 | 0.083333 | 0 | 0.125 | 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 |
245b45ab62fe8c710268f382c976ce972894f666 | 1,690 | py | Python | w3/python/core/exception.py | Hepheir/Python-HTML-parser | 038098c198f5a34178e1e7d1b54da01e42e51178 | [
"MIT"
] | 4 | 2021-05-29T06:39:32.000Z | 2021-06-04T01:47:02.000Z | w3/python/core/exception.py | Hepheir/Python-HTML-parser | 038098c198f5a34178e1e7d1b54da01e42e51178 | [
"MIT"
] | 25 | 2021-05-22T12:29:51.000Z | 2021-06-11T02:38:09.000Z | w3/python/core/exception.py | Hepheir/Python-HTML-parser | 038098c198f5a34178e1e7d1b54da01e42e51178 | [
"MIT"
] | 1 | 2021-05-29T19:41:23.000Z | 2021-05-29T19:41:23.000Z | from ctypes import c_ushort
class DOMException(Exception):
"""Exception `DOMException`
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform
(either for logical reasons, because data is lost, or because the implementation has become unstable... | 48.285714 | 141 | 0.756805 | 242 | 1,690 | 5.057851 | 0.533058 | 0.131536 | 0.081699 | 0.089869 | 0.156863 | 0.073529 | 0 | 0 | 0 | 0 | 0 | 0.007948 | 0.181065 | 1,690 | 34 | 142 | 49.705882 | 0.876445 | 0.560947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
245b7bfcc5e3acb7390210b448e0a83c48b769bc | 14,020 | py | Python | libica/openapi/libgds/models/aws_s3_temporary_upload_credentials.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | null | null | null | libica/openapi/libgds/models/aws_s3_temporary_upload_credentials.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | 4 | 2021-11-15T10:47:51.000Z | 2022-02-22T04:43:20.000Z | libica/openapi/libgds/models/aws_s3_temporary_upload_credentials.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Genomic Data Store Service
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
imp... | 37.386667 | 339 | 0.66826 | 1,673 | 14,020 | 5.381351 | 0.107591 | 0.047095 | 0.102188 | 0.136621 | 0.693436 | 0.614795 | 0.54193 | 0.481173 | 0.355881 | 0.242142 | 0 | 0.023551 | 0.257989 | 14,020 | 374 | 340 | 37.486631 | 0.841873 | 0.463338 | 0 | 0.089744 | 1 | 0 | 0.079375 | 0.02625 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.025641 | 0 | 0.320513 | 0.012821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
245de81ee3fb2c3848f1921251df3e1e4b581648 | 1,240 | py | Python | playlists/migrations/0006_auto_20210316_2355.py | KibetRonoh/Movie_Zone_-Django | 901b211540943a98b531db2bc77d6b3a483a694a | [
"MIT"
] | 58 | 2021-03-13T21:00:01.000Z | 2022-03-29T05:59:39.000Z | playlists/migrations/0006_auto_20210316_2355.py | KibetRonoh/Movie_Zone_-Django | 901b211540943a98b531db2bc77d6b3a483a694a | [
"MIT"
] | 1 | 2021-05-21T16:40:00.000Z | 2021-05-21T16:40:00.000Z | playlists/migrations/0006_auto_20210316_2355.py | KibetRonoh/Movie_Zone_-Django | 901b211540943a98b531db2bc77d6b3a483a694a | [
"MIT"
] | 35 | 2021-03-17T12:04:30.000Z | 2022-03-18T02:06:31.000Z | # Generated by Django 3.2b1 on 2021-03-16 23:55
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('videos', '0012_alter_video_video_id'),
('playlists', '0005_remove_playlist_videos'),
]
operations = [
... | 36.470588 | 136 | 0.600806 | 122 | 1,240 | 5.967213 | 0.532787 | 0.043956 | 0.057692 | 0.090659 | 0.151099 | 0.151099 | 0.151099 | 0.151099 | 0.151099 | 0.151099 | 0 | 0.026172 | 0.260484 | 1,240 | 33 | 137 | 37.575758 | 0.767721 | 0.03629 | 0 | 0.074074 | 1 | 0 | 0.187762 | 0.062029 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.185185 | 0 | 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 |
245f4bc38e13de9cf166aa2c56f878ad96394a84 | 826 | py | Python | ProjectSimulator/Labels.py | awzdevelopers/SimulatorOfAWZ | 772108ed086066095dcd0c895b82b9b0bcb43a77 | [
"MIT"
] | null | null | null | ProjectSimulator/Labels.py | awzdevelopers/SimulatorOfAWZ | 772108ed086066095dcd0c895b82b9b0bcb43a77 | [
"MIT"
] | null | null | null | ProjectSimulator/Labels.py | awzdevelopers/SimulatorOfAWZ | 772108ed086066095dcd0c895b82b9b0bcb43a77 | [
"MIT"
] | null | null | null | import pygame as py
def TitleOfSim(title,displayGame):
font=py.font.SysFont("B-Zar",25)
text=font.render(title,True,(50,200,155))
displayGame.blit(text,(50,50))
def Messages(title,displayGame):
font=py.font.SysFont("B-Zar",25)
text=font.render(title,True,(50,0,155))
displayGame.blit(text,(300,... | 30.592593 | 58 | 0.680387 | 130 | 826 | 4.323077 | 0.292308 | 0.017794 | 0.071174 | 0.120996 | 0.533808 | 0.533808 | 0.533808 | 0.533808 | 0.533808 | 0.533808 | 0 | 0.073611 | 0.128329 | 826 | 26 | 59 | 31.769231 | 0.706944 | 0.225182 | 0 | 0.470588 | 0 | 0 | 0.031546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2462bb9b8ce0bfd343822e1f4af979fc397548f6 | 781 | py | Python | converted.py | Bmillidgework/Misc-Maths | 4e186920fbc6e3592bee57a64d56ad3a7c5bd178 | [
"MIT"
] | null | null | null | converted.py | Bmillidgework/Misc-Maths | 4e186920fbc6e3592bee57a64d56ad3a7c5bd178 | [
"MIT"
] | null | null | null | converted.py | Bmillidgework/Misc-Maths | 4e186920fbc6e3592bee57a64d56ad3a7c5bd178 | [
"MIT"
] | null | null | null | from kaffe.tensorflow import Network
class (Network):
def setup(self):
(self.feed('input')
.conv(1, 1, 3, 1, 1, group=3, relu=False, name='data_lab')
.conv(11, 11, 96, 4, 4, padding='VALID', name='conv1')
.max_pool(3, 3, 2, 2, padding='VALID', name='pool1')
... | 48.8125 | 71 | 0.491677 | 122 | 781 | 3.114754 | 0.360656 | 0.047368 | 0.073684 | 0.071053 | 0.376316 | 0.35 | 0.213158 | 0.213158 | 0.213158 | 0 | 0 | 0.152574 | 0.303457 | 781 | 16 | 72 | 48.8125 | 0.545956 | 0 | 0 | 0 | 0 | 0 | 0.101023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.066667 | 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 |
24671278c6a6905c5e07554b85ebe9c03e3cdb21 | 618 | py | Python | pynex/hello_msg.py | Pixelsuft/pynex | c129244d4b8148a4b155425c1f7207892d51aaeb | [
"MIT"
] | null | null | null | pynex/hello_msg.py | Pixelsuft/pynex | c129244d4b8148a4b155425c1f7207892d51aaeb | [
"MIT"
] | null | null | null | pynex/hello_msg.py | Pixelsuft/pynex | c129244d4b8148a4b155425c1f7207892d51aaeb | [
"MIT"
] | null | null | null | import os
import sys
is_already_inited = sys.modules.get('pygame') is not None
hide_msg = os.getenv('PYGAME_HIDE_SUPPORT_PROMPT') is not None
if is_already_inited:
if not hide_msg:
print('pynex integrated')
elif not hide_msg:
os.environ['PYGAME_HIDE_SUPPORT_PROMPT'] = 'True'
import pygame # type:... | 32.526316 | 84 | 0.687702 | 87 | 618 | 4.62069 | 0.505747 | 0.052239 | 0.126866 | 0.171642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003884 | 0.166667 | 618 | 18 | 85 | 34.333333 | 0.776699 | 0.019417 | 0 | 0 | 0 | 0 | 0.369205 | 0.129139 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.1875 | 0.1875 | 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 |
246ac2c1a7d374c87b6d65d1fb436d4605f74dfd | 444 | py | Python | users/migrations/0002_endworker_group.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | null | null | null | users/migrations/0002_endworker_group.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | 11 | 2019-11-12T23:26:45.000Z | 2021-06-10T17:37:23.000Z | users/migrations/0002_endworker_group.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.8 on 2018-12-16 12:59
from django.db import migrations, models
import users.models.utils.utils
class Migration(migrations.Migration):
dependencies = [
('users', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='endworker',
... | 22.2 | 89 | 0.630631 | 50 | 444 | 5.52 | 0.68 | 0.07971 | 0.115942 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057402 | 0.254505 | 444 | 19 | 90 | 23.368421 | 0.776435 | 0.101351 | 0 | 0 | 1 | 0 | 0.078086 | 0 | 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 |
79e21e3228c6415468cb2f001a97551f2eaf8633 | 780 | py | Python | Object oriented programming.py | fatimatswanya/fatimaCSC102 | cab70bd696d39a9e16bcb57e0180e872be4f49bc | [
"MIT"
] | null | null | null | Object oriented programming.py | fatimatswanya/fatimaCSC102 | cab70bd696d39a9e16bcb57e0180e872be4f49bc | [
"MIT"
] | null | null | null | Object oriented programming.py | fatimatswanya/fatimaCSC102 | cab70bd696d39a9e16bcb57e0180e872be4f49bc | [
"MIT"
] | null | null | null | class Coffee:
coffeecupcounter =0
def __init__(self, themilk, thesugar, thecoffeemate):
self.milk = themilk
self.sugar = thesugar
self.coffeemate = thecoffeemate
Coffee.coffeecupcounter=Coffee.coffeecupcounter+1
print(f'You now have your coffee with {self.milk} milk, {s... | 45.882353 | 114 | 0.74359 | 101 | 780 | 5.70297 | 0.29703 | 0.052083 | 0.055556 | 0.083333 | 0.34375 | 0.262153 | 0.262153 | 0.262153 | 0.262153 | 0.262153 | 0 | 0.015129 | 0.152564 | 780 | 17 | 115 | 45.882353 | 0.856278 | 0 | 0 | 0 | 0 | 0.0625 | 0.43662 | 0.119078 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.1875 | 0.4375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
79f17b0dc466449847bea66546af6c9d958315f5 | 876 | py | Python | Python 3 exercises/44 python answers/Ordem 3) Par Impar.py | Matheus-R-Sena/Python | c047288ad126e8d14c3186a912f1a1aa5a8a55d6 | [
"MIT"
] | 2 | 2022-03-18T00:04:42.000Z | 2022-03-25T11:45:37.000Z | Python 3 exercises/44 python answers/Ordem 3) Par Impar.py | Matheus-R-Sena/Python | c047288ad126e8d14c3186a912f1a1aa5a8a55d6 | [
"MIT"
] | null | null | null | Python 3 exercises/44 python answers/Ordem 3) Par Impar.py | Matheus-R-Sena/Python | c047288ad126e8d14c3186a912f1a1aa5a8a55d6 | [
"MIT"
] | null | null | null | n = int(input())
P = [] #pares
I = [] #ímpares
V = [] #Vetor principal
t = 0
for i in range (n):
V.append(int(input()))
for i in range(len(V)): #dividindo o vetor em 2 vetores menores (Par e Impar)
if V[i]%2==0:
P.append(V[i]) #dividindo para par
else:
I.append(V[i]) #dividindo para impar
... | 20.372093 | 77 | 0.449772 | 150 | 876 | 2.626667 | 0.233333 | 0.142132 | 0.091371 | 0.167513 | 0.385787 | 0.243655 | 0.162437 | 0 | 0 | 0 | 0 | 0.014898 | 0.386986 | 876 | 43 | 78 | 20.372093 | 0.718808 | 0.206621 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.033333 | 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 |
79f218067fdd93862616a413ed28a8ec76a9e160 | 5,555 | py | Python | streaming/jobs/twitter-in.py | andrewreece/cs205-final-project | adcbf6f6e40b8eafa92d81f1adcb68864cf0a226 | [
"Unlicense"
] | null | null | null | streaming/jobs/twitter-in.py | andrewreece/cs205-final-project | adcbf6f6e40b8eafa92d81f1adcb68864cf0a226 | [
"Unlicense"
] | null | null | null | streaming/jobs/twitter-in.py | andrewreece/cs205-final-project | adcbf6f6e40b8eafa92d81f1adcb68864cf0a226 | [
"Unlicense"
] | null | null | null |
from kafka import SimpleProducer, KafkaClient
from os.path import expanduser
import requests
from requests_oauthlib import OAuth1
import urllib, datetime, time, json, sys, boto3
import creds # we made this module for importing twitter api creds
client = boto3.client('emr')
s3res = boto3.resource('s3')
bucket_name ... | 35.158228 | 102 | 0.725833 | 817 | 5,555 | 4.831089 | 0.390453 | 0.03547 | 0.019002 | 0.026349 | 0.11173 | 0.096529 | 0.080314 | 0.069927 | 0.055232 | 0.03395 | 0 | 0.011593 | 0.161476 | 5,555 | 157 | 103 | 35.382166 | 0.835766 | 0.127273 | 0 | 0.17284 | 0 | 0 | 0.150907 | 0.015544 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.08642 | null | null | 0.061728 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
79fcf62a1f352b071844ce1495996eda7af8f693 | 4,386 | py | Python | ahserver/server/protocol/__init__.py | ifplusor/ahserver | 26a6315d7a3b781d424c81bb3985016d9233e1b7 | [
"BSD-3-Clause"
] | 1 | 2019-10-08T07:57:32.000Z | 2019-10-08T07:57:32.000Z | ahserver/server/protocol/__init__.py | ifplusor/ahserver | 26a6315d7a3b781d424c81bb3985016d9233e1b7 | [
"BSD-3-Clause"
] | null | null | null | ahserver/server/protocol/__init__.py | ifplusor/ahserver | 26a6315d7a3b781d424c81bb3985016d9233e1b7 | [
"BSD-3-Clause"
] | null | null | null | # encoding=utf-8
__all__ = [
"HttpMethod",
"HttpVersion",
"HttpStatus",
"HttpHeader",
"PopularHeaders",
]
from enum import Enum
from ahserver.util.parser import FieldNameEnumParser, IntPairEnumParser
from . import httpheader as HttpHeader
@FieldNameEnumParser("http_method")
class HttpMethod(En... | 31.328571 | 79 | 0.654811 | 484 | 4,386 | 5.743802 | 0.46281 | 0.01295 | 0.010791 | 0.011511 | 0.019424 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056775 | 0.22093 | 4,386 | 139 | 80 | 31.553957 | 0.756804 | 0.032376 | 0 | 0.055046 | 0 | 0 | 0.245929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045872 | false | 0 | 0.027523 | 0.027523 | 0.825688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
79fd8c6ce233d4c7c58007694fcc63d3fd30ed18 | 949 | py | Python | examples/HelloAPI/app/__init__.py | neo1218/rest | 8bf7369aaa9da5cc4a300c625e4d7fea21f52681 | [
"MIT"
] | 3 | 2015-12-05T20:57:04.000Z | 2017-04-26T03:02:43.000Z | examples/HelloAPI/app/__init__.py | misakar/rest | 8bf7369aaa9da5cc4a300c625e4d7fea21f52681 | [
"MIT"
] | 1 | 2015-12-09T18:27:26.000Z | 2015-12-10T16:19:30.000Z | examples/HelloAPI/app/__init__.py | misakar/rest | 8bf7369aaa9da5cc4a300c625e4d7fea21f52681 | [
"MIT"
] | 4 | 2015-12-11T03:20:27.000Z | 2016-02-03T04:47:52.000Z | # coding: utf-8
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
from config import config
app = Flask(__name__)
"""
config
-- 'default': DevelopmentConfig
-- 'develop': DevelopmentConfig
-- 'testing': TestingConfig
-- 'production': ProductionConfig
you can... | 19.770833 | 48 | 0.765016 | 127 | 949 | 5.543307 | 0.385827 | 0.038352 | 0.085227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001211 | 0.12961 | 949 | 47 | 49 | 20.191489 | 0.85109 | 0.02529 | 0 | 0 | 0 | 0 | 0.057994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.421053 | 0 | 0.421053 | 0.157895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
030555cbf9426dbf0f5ea08ed1283d06552e2fca | 2,220 | py | Python | application.py | dyphen12/vibra | 48d71958ab0498f2fa9d8b6633f5fc212b07879c | [
"MIT"
] | null | null | null | application.py | dyphen12/vibra | 48d71958ab0498f2fa9d8b6633f5fc212b07879c | [
"MIT"
] | null | null | null | application.py | dyphen12/vibra | 48d71958ab0498f2fa9d8b6633f5fc212b07879c | [
"MIT"
] | null | null | null | # Made by @dyphen12
from flask import Flask, request
from flask_cors import CORS
from flask_restful import reqparse, abort, Api, Resource
import json
import os
from vibra.api.core import api_version
from vibra.api.users import handler as uhd
app = Flask(__name__)
api = Api(app)
CORS(app)
class Hello(Resource):
... | 21.142857 | 81 | 0.602252 | 277 | 2,220 | 4.65704 | 0.357401 | 0.043411 | 0.043411 | 0.04186 | 0.037209 | 0.037209 | 0 | 0 | 0 | 0 | 0 | 0.011283 | 0.241441 | 2,220 | 105 | 82 | 21.142857 | 0.754751 | 0.057658 | 0 | 0.033898 | 0 | 0 | 0.10791 | 0.022461 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0.101695 | 0.118644 | 0.016949 | 0.355932 | 0.016949 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
0309ca2de7206405c79a52c8d1fa62aa60e1cd29 | 1,974 | py | Python | jyserver/Flask.py | ftrias/jyserver | 84e96672686020dc5e75d44b5b29f33a24773a37 | [
"MIT"
] | 10 | 2020-05-11T11:36:29.000Z | 2021-09-14T06:00:06.000Z | jyserver/Flask.py | ftrias/jyserver | 84e96672686020dc5e75d44b5b29f33a24773a37 | [
"MIT"
] | 1 | 2021-11-25T13:20:11.000Z | 2021-11-25T13:20:11.000Z | jyserver/Flask.py | ftrias/jyserver | 84e96672686020dc5e75d44b5b29f33a24773a37 | [
"MIT"
] | 3 | 2020-05-11T11:36:34.000Z | 2022-03-09T06:17:31.000Z | '''
Module for using jyserver in Flask. This module provides to new
decorators.
Decorators
-----------
* @use
Link an application object to the Flask app
* @task
Helper that wraps a function inside a separate thread so that
it can execute concurrently.
Example
-------------
```html
<p id="time">TIME</... | 22.953488 | 77 | 0.604863 | 242 | 1,974 | 4.88843 | 0.438017 | 0.02705 | 0.025359 | 0.033812 | 0.074387 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006241 | 0.269504 | 1,974 | 86 | 78 | 22.953488 | 0.814147 | 0.56383 | 0 | 0 | 0 | 0 | 0.058537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.16 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
030fd2dfb8a4fa6185ed55acabcf1eed72bf0ff0 | 2,347 | py | Python | rbk_shares_grab.py | adamrfox/rbk_nas_bulk_add | 4784e0671a7abcb2b03df4f25ee8977eb2666636 | [
"MIT"
] | 3 | 2019-04-29T20:54:49.000Z | 2022-03-23T18:11:53.000Z | rbk_shares_grab.py | adamrfox/rbk_nas_bulk_add | 4784e0671a7abcb2b03df4f25ee8977eb2666636 | [
"MIT"
] | null | null | null | rbk_shares_grab.py | adamrfox/rbk_nas_bulk_add | 4784e0671a7abcb2b03df4f25ee8977eb2666636 | [
"MIT"
] | null | null | null | #!/usr/bin/python
from __future__ import print_function
import sys
import rubrik_cdm
import getopt
import getpass
import urllib3
urllib3.disable_warnings()
def usage():
sys.stderr.write("Usage: rbk_share_grab.py [-h] [-c creds] [-p protocol] [-t token] [-o outfile] rubrik\n")
sys.stderr.write("-h | --help: P... | 30.089744 | 114 | 0.558585 | 296 | 2,347 | 4.331081 | 0.364865 | 0.049142 | 0.076443 | 0.070203 | 0.049922 | 0.049922 | 0 | 0 | 0 | 0 | 0 | 0.005294 | 0.275671 | 2,347 | 77 | 115 | 30.480519 | 0.748824 | 0.006817 | 0 | 0.121212 | 0 | 0.015152 | 0.256664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0.106061 | 0.090909 | 0 | 0.121212 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
0310a3f412e38098f32e0ef6e645cc58b02cafe4 | 440 | py | Python | Pacote/Python/teste.py | Rezende31/Primeiros-programas-em-Python | 69b4cdde36fdb2fa9193eac7c0f279fbeea21350 | [
"MIT"
] | null | null | null | Pacote/Python/teste.py | Rezende31/Primeiros-programas-em-Python | 69b4cdde36fdb2fa9193eac7c0f279fbeea21350 | [
"MIT"
] | null | null | null | Pacote/Python/teste.py | Rezende31/Primeiros-programas-em-Python | 69b4cdde36fdb2fa9193eac7c0f279fbeea21350 | [
"MIT"
] | null | null | null | maior = 0
menor = 0
totalPessoas = 10
for pessoa in range(1, 11):
idade = int(input("Digite a idade: "))
if idade >= 18:
maior += 1
else:
menor += 1
print("Quantidade de pessoas maior de idade: ", maior)
print("Quantidade de pessoas menor de idade: ", menor)
print("Porcentagem de pessoas menores de idad... | 29.333333 | 82 | 0.670455 | 62 | 440 | 4.758065 | 0.435484 | 0.122034 | 0.115254 | 0.162712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047486 | 0.186364 | 440 | 15 | 83 | 29.333333 | 0.776536 | 0 | 0 | 0 | 0 | 0 | 0.403628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.307692 | 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 |
03238ca23c3c7570a1e23790a0fd110cb3b831d7 | 407 | py | Python | discord/types/enums/stickerformattype.py | AA1999/Disthon | fcf4e550750938b87a1fb48ff3006bdeeecd73e3 | [
"MIT"
] | 14 | 2021-09-20T10:50:03.000Z | 2022-03-01T16:01:08.000Z | discord/types/enums/stickerformattype.py | Rashaad1268/Disthon | 50c191fc2750bcb28280006e1f9bbd1fa65bac33 | [
"MIT"
] | 25 | 2021-12-12T15:52:19.000Z | 2022-03-31T19:45:46.000Z | discord/types/enums/stickerformattype.py | Rashaad1268/Disthon | 50c191fc2750bcb28280006e1f9bbd1fa65bac33 | [
"MIT"
] | 12 | 2021-09-22T10:40:50.000Z | 2021-11-25T15:47:42.000Z | from __future__ import annotations
from enum import IntEnum
class StickerFormatType(IntEnum):
png = 1
apng = 2
lottie = 3
@property
def file_extension(self) -> str:
lookup: dict[StickerFormatType, str] = {
StickerFormatType.png: "png",
StickerFormatType.apng: "png... | 21.421053 | 48 | 0.611794 | 39 | 407 | 6.25641 | 0.615385 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.299754 | 407 | 18 | 49 | 22.611111 | 0.845614 | 0 | 0 | 0 | 0 | 0 | 0.02457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
0326a1642c11c61dec31a86e0466b9ade9a04445 | 69,686 | py | Python | run_pasta_gui.py | koditaraszka/pasta | 2f14d5ae5b256ce1cd6bc49e44cc84a7b25be7f9 | [
"Python-2.0",
"BSD-Source-Code",
"OLDAP-2.7"
] | 1 | 2018-06-22T03:27:55.000Z | 2018-06-22T03:27:55.000Z | run_pasta_gui.py | kodicollins/pasta | 2f14d5ae5b256ce1cd6bc49e44cc84a7b25be7f9 | [
"Python-2.0",
"BSD-Source-Code",
"OLDAP-2.7"
] | null | null | null | run_pasta_gui.py | kodicollins/pasta | 2f14d5ae5b256ce1cd6bc49e44cc84a7b25be7f9 | [
"Python-2.0",
"BSD-Source-Code",
"OLDAP-2.7"
] | null | null | null | """Main script for PASTA GUI on Windows/Mac/Linux
"""
# This file is part of PASTA which is forked from SATe
# PASTA, like SATe is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License... | 64.464385 | 20,662 | 0.632939 | 8,305 | 69,686 | 5.165563 | 0.15593 | 0.022284 | 0.023916 | 0.024056 | 0.381072 | 0.307366 | 0.238392 | 0.192657 | 0.164079 | 0.138578 | 0 | 0.026561 | 0.205809 | 69,686 | 1,080 | 20,663 | 64.524074 | 0.748591 | 0.077433 | 0 | 0.302381 | 0 | 0.004762 | 0.381803 | 0.326098 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0.002381 | 0.044048 | 0.005952 | 0.147619 | 0.00119 | 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 |
03381189e2ef61ec33adddf77a23ff4319aaca5b | 2,341 | py | Python | install.py | Trick-17/arch-installer | 7759da8198ec11e695964253217a879d7455ab5f | [
"Unlicense"
] | 9 | 2017-02-18T17:52:31.000Z | 2021-03-20T16:42:19.000Z | install.py | Trick-17/arch-installer | 7759da8198ec11e695964253217a879d7455ab5f | [
"Unlicense"
] | 62 | 2017-01-01T20:39:52.000Z | 2018-02-16T09:39:16.000Z | install.py | GPMueller/arch-installer | 7759da8198ec11e695964253217a879d7455ab5f | [
"Unlicense"
] | 4 | 2017-06-12T15:12:55.000Z | 2020-08-06T04:05:36.000Z | """
Installs Arch-Linux when called from a live-iso
"""
import argparse
from pyscripts import s000_detect_hardware as hardware
from pyscripts import s00_user_input as user_input
from pyscripts import s01_partitions as partitions
from pyscripts import s02_basic_arch as basic_arch
from pyscripts import s03_package_m... | 36.015385 | 72 | 0.805639 | 316 | 2,341 | 5.737342 | 0.341772 | 0.114727 | 0.167678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015888 | 0.112772 | 2,341 | 65 | 73 | 36.015385 | 0.857005 | 0.083298 | 0 | 0 | 0 | 0 | 0.119081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.352941 | 0 | 0.352941 | 0.156863 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
033b815efd46e0d1a664d3f11c268118691a5667 | 315 | py | Python | wol/views/pages.py | JleMyP/wol | 02693fe79df1628e9fa773bd677bf79114fd4868 | [
"WTFPL"
] | null | null | null | wol/views/pages.py | JleMyP/wol | 02693fe79df1628e9fa773bd677bf79114fd4868 | [
"WTFPL"
] | 1 | 2021-05-09T02:52:10.000Z | 2021-05-09T03:35:07.000Z | wol/views/pages.py | JleMyP/wol | 02693fe79df1628e9fa773bd677bf79114fd4868 | [
"WTFPL"
] | null | null | null | from flask import Blueprint, render_template
from ..logic.crud import get_all_targets
pages = Blueprint('web', __name__, template_folder='../templates')
@pages.route('/targets/', methods=['GET'])
def get_web_targets():
targets = get_all_targets()
return render_template('targets.html', targets=targets)
| 26.25 | 66 | 0.746032 | 40 | 315 | 5.55 | 0.525 | 0.126126 | 0.117117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 315 | 11 | 67 | 28.636364 | 0.795699 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
034052e3e3d54baafeafaa4d2da6b4e8c641a704 | 3,867 | py | Python | osvc_python/osvc_python_connect.py | rajangdavis/osc_python | c67000d4df246764b0125a06734c926a23952693 | [
"MIT"
] | 7 | 2018-06-27T06:42:45.000Z | 2021-04-13T00:43:17.000Z | osvc_python/osvc_python_connect.py | rajangdavis/osc_python | c67000d4df246764b0125a06734c926a23952693 | [
"MIT"
] | 1 | 2018-05-27T09:38:37.000Z | 2018-05-27T09:38:37.000Z | osvc_python/osvc_python_connect.py | rajangdavis/osc_python | c67000d4df246764b0125a06734c926a23952693 | [
"MIT"
] | 1 | 2018-05-27T09:37:22.000Z | 2018-05-27T09:37:22.000Z | import requests
import json
from .osvc_python_file_handling import OSvCPythonFileHandler
from .osvc_python_config import OSvCPythonConfig
from .osvc_python_validations import OSvCPythonValidations
from .osvc_python_examples import CLIENT_NOT_DEFINED,CLIENT_NO_INTERFACE_SET_EXAMPLE,CLIENT_NO_USERNAME_SET_EXAMPLE,CLIENT_... | 37.182692 | 146 | 0.74347 | 499 | 3,867 | 5.490982 | 0.214429 | 0.047445 | 0.039416 | 0.038321 | 0.189416 | 0.067518 | 0.067518 | 0 | 0 | 0 | 0 | 0.002967 | 0.128523 | 3,867 | 104 | 147 | 37.182692 | 0.810089 | 0 | 0 | 0.119048 | 0 | 0.011905 | 0.160031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.083333 | 0.071429 | 0 | 0.464286 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
0346123d4e8b36b1a22364f3527038880f8016ac | 231 | py | Python | src/apis/image/image/restoration.py | theunifai/unifai-apis-core | 1f2a9051c1e3df1bd19a96f22e4a07767ef3973a | [
"MIT"
] | 2 | 2021-11-09T07:18:06.000Z | 2022-01-04T19:37:17.000Z | src/apis/image/image/restoration.py | theunifai/unifai-apis-core | 1f2a9051c1e3df1bd19a96f22e4a07767ef3973a | [
"MIT"
] | 4 | 2021-11-04T08:28:59.000Z | 2021-11-07T05:59:59.000Z | src/apis/image/image/restoration.py | theunifai/unifai-apis-core | 1f2a9051c1e3df1bd19a96f22e4a07767ef3973a | [
"MIT"
] | 1 | 2022-01-07T09:12:22.000Z | 2022-01-07T09:12:22.000Z | from fastapi import APIRouter
from gladia_api_utils.submodules import TaskRouter
router = APIRouter()
TaskRouter(
router=router,
input="image",
output="image",
default_model="bringing-old-photos-back-to-life",
)
| 17.769231 | 53 | 0.735931 | 28 | 231 | 5.964286 | 0.75 | 0.191617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 231 | 12 | 54 | 19.25 | 0.85641 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.138528 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0347d78cdbcf07e87eb4636ff1c0bcb164181fcc | 3,393 | py | Python | views/views_users.py | SideShowBoBGOT/EPAM-project | f96ce88c81a8c075daafc6f37b4df47186395320 | [
"Unlicense"
] | 1 | 2021-12-04T21:46:12.000Z | 2021-12-04T21:46:12.000Z | views/views_users.py | SideShowBoBGOT/EPAM-project | f96ce88c81a8c075daafc6f37b4df47186395320 | [
"Unlicense"
] | null | null | null | views/views_users.py | SideShowBoBGOT/EPAM-project | f96ce88c81a8c075daafc6f37b4df47186395320 | [
"Unlicense"
] | null | null | null | """
Module contains all functions working on users page.
Functions:
users_page()
edit_user(id)
delete_user(id)
check_session()
"""
import os
import sys
import urllib.parse
from flask_login import login_user, login_required
from flask import render_template, request, redirect, Blueprint, session
sys.pa... | 35.715789 | 126 | 0.639257 | 463 | 3,393 | 4.591793 | 0.224622 | 0.033866 | 0.059266 | 0.035278 | 0.450611 | 0.425212 | 0.389464 | 0.389464 | 0.316087 | 0.281279 | 0 | 0.009377 | 0.214265 | 3,393 | 94 | 127 | 36.095745 | 0.788072 | 0.2402 | 0 | 0.245283 | 0 | 0.037736 | 0.263137 | 0.146726 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0.132075 | 0.113208 | 0 | 0.339623 | 0.037736 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0348b3151492f1bf80185687c781237ee59205a5 | 1,722 | py | Python | polls/migrations/0001_initial.py | zzZ5/compost | 00cc2cbc74df6626e07072c8c1e638ffd9bac8f1 | [
"MIT"
] | 1 | 2020-11-28T00:06:06.000Z | 2020-11-28T00:06:06.000Z | polls/migrations/0001_initial.py | zzZ5/compost | 00cc2cbc74df6626e07072c8c1e638ffd9bac8f1 | [
"MIT"
] | null | null | null | polls/migrations/0001_initial.py | zzZ5/compost | 00cc2cbc74df6626e07072c8c1e638ffd9bac8f1 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-11-23 11:30
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('account', '0003_confirmstring'),
]
operations = [
migrations.CreateModel(
n... | 35.875 | 116 | 0.542973 | 158 | 1,722 | 5.753165 | 0.411392 | 0.072607 | 0.079208 | 0.105611 | 0.377338 | 0.347635 | 0.347635 | 0.347635 | 0.347635 | 0.347635 | 0 | 0.026316 | 0.315912 | 1,722 | 47 | 117 | 36.638298 | 0.745331 | 0.026132 | 0 | 0.45 | 1 | 0 | 0.161194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.15 | 0 | 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 |
0348d60d31e7478967314ca6fb318726da997b7d | 2,644 | py | Python | models/python/hypothalamus/dynamical/miro_experiments/recurrent_3_mot.py | ABRG-Models/MammalBot | 0b153232b94197c7a65156c1c3451ab2b9f725ae | [
"MIT"
] | null | null | null | models/python/hypothalamus/dynamical/miro_experiments/recurrent_3_mot.py | ABRG-Models/MammalBot | 0b153232b94197c7a65156c1c3451ab2b9f725ae | [
"MIT"
] | null | null | null | models/python/hypothalamus/dynamical/miro_experiments/recurrent_3_mot.py | ABRG-Models/MammalBot | 0b153232b94197c7a65156c1c3451ab2b9f725ae | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
N = 100
T = 20000
# nonlinearilties
qg= 0.950997659088
xg= 26.594968159566278
bg= 0.2818239551304378
A= 3.5505937843746906
qf= 0.8274882807912485
xf= 26.594968159566278
bf= 0.2818239551304378
# Presynaptic nonlinearity
def f(x):
return 0.5*(2*qf-1.+np.tanh(bf*(x... | 22.793103 | 109 | 0.541982 | 551 | 2,644 | 2.598911 | 0.212341 | 0.026536 | 0.03352 | 0.01676 | 0.074022 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116169 | 0.202345 | 2,644 | 115 | 110 | 22.991304 | 0.562826 | 0.262481 | 0 | 0 | 0 | 0 | 0.035863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.027027 | null | null | 0.013514 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
034b34fdf1049f91f02d84b8a1eb633f22e1bc51 | 2,044 | py | Python | fabfile.py | clemsos/fabric-node-deploy | 496ea7373db4303d41c9da9b0d5bee9c76fdfc94 | [
"CC0-1.0"
] | null | null | null | fabfile.py | clemsos/fabric-node-deploy | 496ea7373db4303d41c9da9b0d5bee9c76fdfc94 | [
"CC0-1.0"
] | null | null | null | fabfile.py | clemsos/fabric-node-deploy | 496ea7373db4303d41c9da9b0d5bee9c76fdfc94 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from fabric.api import *
from fabric.contrib import files
import os
from settings import *
# create
RUN_DIR=os.path.join(HOME_DIR, "run")
LOG_DIR=os.path.join(HOME_DIR, "log")
REMOTE_REPO_DIR = os.path.join(HOME_DIR, APP_NAME)
OUT_LOG_FILE = os.path.join(LOG_DIR, 'out.lo... | 25.55 | 128 | 0.624266 | 318 | 2,044 | 3.823899 | 0.308176 | 0.034539 | 0.074836 | 0.065789 | 0.325658 | 0.274671 | 0.15625 | 0.070724 | 0.055921 | 0.055921 | 0 | 0.004403 | 0.222114 | 2,044 | 79 | 129 | 25.873418 | 0.760377 | 0.201076 | 0 | 0.156863 | 0 | 0.019608 | 0.163188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.254902 | false | 0.019608 | 0.078431 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
035243c41a2fb6bdd10ac6c5768361efd5db9457 | 1,147 | py | Python | komoog/paths.py | benmaier/komoog | 5b6613a5ba31c71be28f2642681cb01c2cb67e41 | [
"MIT"
] | 2 | 2021-10-05T20:03:42.000Z | 2021-10-07T12:13:19.000Z | komoog/paths.py | benmaier/komoog | 5b6613a5ba31c71be28f2642681cb01c2cb67e41 | [
"MIT"
] | null | null | null | komoog/paths.py | benmaier/komoog | 5b6613a5ba31c71be28f2642681cb01c2cb67e41 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Path handling
"""
import pathlib
from pathlib import Path
import simplejson as json
customdir = Path.home() / ".komoog"
def _prepare():
customdir.mkdir(exist_ok=True)
cred_file = customdir / "komoot.json"
if not cred_file.exists():
data = {
"email"... | 20.854545 | 87 | 0.529207 | 120 | 1,147 | 4.908333 | 0.458333 | 0.067912 | 0.142615 | 0.078098 | 0.183362 | 0.091681 | 0 | 0 | 0 | 0 | 0 | 0.001276 | 0.316478 | 1,147 | 54 | 88 | 21.240741 | 0.75 | 0.199651 | 0 | 0.08 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.08 | false | 0.12 | 0.12 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0358bad369ac30bcb876f6ad3eac9566fac65812 | 40,713 | py | Python | rest_gae/rest_gae.py | emarinizquierdo/xentinels | 596b51c332543bae1fb8ce2d1d271ebe05a117dc | [
"Apache-2.0"
] | 56 | 2015-02-25T02:04:59.000Z | 2020-06-10T06:00:04.000Z | rest_gae/rest_gae.py | emarinizquierdo/xentinels | 596b51c332543bae1fb8ce2d1d271ebe05a117dc | [
"Apache-2.0"
] | 5 | 2016-01-25T06:55:53.000Z | 2016-08-27T12:29:03.000Z | rest_gae/rest_gae.py | emarinizquierdo/xentinels | 596b51c332543bae1fb8ce2d1d271ebe05a117dc | [
"Apache-2.0"
] | 13 | 2015-01-11T15:25:03.000Z | 2018-02-27T19:27:27.000Z | """
Wraps NDB models and provided REST APIs (GET/POST/PUT/DELETE) arounds them. Fully supports permissions.
Some code is taken from: https://github.com/abahgat/webapp2-user-accounts
"""
import importlib
import json
import re
from urlparse import urlparse
from datetime import datetime, time, date
from urllib import u... | 41.375 | 189 | 0.618034 | 4,850 | 40,713 | 5.035052 | 0.124124 | 0.016216 | 0.01638 | 0.00905 | 0.247461 | 0.165192 | 0.121622 | 0.086446 | 0.062695 | 0.056552 | 0 | 0.003303 | 0.300911 | 40,713 | 983 | 190 | 41.417091 | 0.854683 | 0.168054 | 0 | 0.237548 | 0 | 0.001916 | 0.080766 | 0.015075 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.005747 | 0.045977 | 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 |
035c251c4c248ccb50b1534a85f228e49bcae5e4 | 4,431 | py | Python | gallery/mode/photo_manager.py | bob-chen/gallery | 623c522bee7b6a469c3ef89396cabd1ac25dec46 | [
"MIT"
] | null | null | null | gallery/mode/photo_manager.py | bob-chen/gallery | 623c522bee7b6a469c3ef89396cabd1ac25dec46 | [
"MIT"
] | null | null | null | gallery/mode/photo_manager.py | bob-chen/gallery | 623c522bee7b6a469c3ef89396cabd1ac25dec46 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
Created on Mar 19, 2015
@author: Bob.Chen
'''
import sys
import urllib2
import time
from PIL import Image
from constant import PHOTO_DATA_ROOT
from common import Logger, RandomID, getPhotoUrl, getPhotoPath
from error_api import Err
from gallery.models import Photo
from StringIO import Strin... | 35.166667 | 116 | 0.536448 | 425 | 4,431 | 5.52 | 0.331765 | 0.046036 | 0.034527 | 0.038363 | 0.244672 | 0.244672 | 0.244672 | 0.244672 | 0.244672 | 0.244672 | 0 | 0.01216 | 0.368991 | 4,431 | 126 | 117 | 35.166667 | 0.826896 | 0.032047 | 0 | 0.219512 | 0 | 0 | 0.031589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.109756 | null | null | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
035eef11fbf5d60293a71487c390191332e516a1 | 1,140 | py | Python | hddcoin/hodl/cli/cmd_profits.py | u4ma-hdd/hddcoin-blockchain | 4199d1f1d87e129ae9c08bf50dd48ec3b2c08727 | [
"Apache-2.0"
] | 37 | 2021-07-08T23:42:01.000Z | 2022-03-26T21:30:10.000Z | hddcoin/hodl/cli/cmd_profits.py | u4ma-hdd/hddcoin-blockchain | 4199d1f1d87e129ae9c08bf50dd48ec3b2c08727 | [
"Apache-2.0"
] | 13 | 2021-07-11T15:12:01.000Z | 2022-03-15T08:36:18.000Z | hddcoin/hodl/cli/cmd_profits.py | u4ma-hdd/hddcoin-blockchain | 4199d1f1d87e129ae9c08bf50dd48ec3b2c08727 | [
"Apache-2.0"
] | 19 | 2021-07-10T14:09:07.000Z | 2022-03-14T11:17:05.000Z | # -*- coding: utf-8 -*-
from __future__ import annotations
import decimal
import json
import blspy #type:ignore
from hddcoin.hodl.hodlrpc import HodlRpcClient
from hddcoin.hodl.util import vlog
from .colours import *
from .colours import _
async def cmd_profits(hodlRpcClient: HodlRpcClient,
... | 35.625 | 100 | 0.652632 | 137 | 1,140 | 5.284672 | 0.525547 | 0.033149 | 0.041436 | 0.030387 | 0.077348 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010369 | 0.238596 | 1,140 | 31 | 101 | 36.774194 | 0.823733 | 0.02807 | 0 | 0 | 0 | 0.08 | 0.277828 | 0.01991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.32 | 0 | 0.32 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
036da201f76a97f3bd6dd5bdbe4284b68396ee50 | 463 | py | Python | 19. Backtracking/subsets of an array.py | Ujjawalgupta42/Hacktoberfest2021-DSA | eccd9352055085973e3d6a1feb10dd193905584b | [
"MIT"
] | 225 | 2021-10-01T03:09:01.000Z | 2022-03-11T11:32:49.000Z | 19. Backtracking/subsets of an array.py | Ujjawalgupta42/Hacktoberfest2021-DSA | eccd9352055085973e3d6a1feb10dd193905584b | [
"MIT"
] | 252 | 2021-10-01T03:45:20.000Z | 2021-12-07T18:32:46.000Z | 19. Backtracking/subsets of an array.py | Ujjawalgupta42/Hacktoberfest2021-DSA | eccd9352055085973e3d6a1feb10dd193905584b | [
"MIT"
] | 911 | 2021-10-01T02:55:19.000Z | 2022-02-06T09:08:37.000Z | #Input: nums = [1,2,3]
#Output: [[],[1],[2],[1,2],[3],[1,3],[2,3],[1,2,3]]
def subsets(self, nums: List[int]) -> List[List[int]]:
self.result = []
self.helper(nums, 0, [])
return self.result
def helper(self, nums, start, subset):
self.result.append(subset[::])
... | 28.9375 | 56 | 0.492441 | 65 | 463 | 3.507692 | 0.369231 | 0.035088 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052147 | 0.295896 | 463 | 15 | 57 | 30.866667 | 0.647239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
03731b307ec6331bb69d499df497733f21d49ef0 | 305 | py | Python | tests/test_version.py | marten-cz/citools | 452251b376c48bc8a9e1a8666d892a8e5a309108 | [
"MIT"
] | null | null | null | tests/test_version.py | marten-cz/citools | 452251b376c48bc8a9e1a8666d892a8e5a309108 | [
"MIT"
] | null | null | null | tests/test_version.py | marten-cz/citools | 452251b376c48bc8a9e1a8666d892a8e5a309108 | [
"MIT"
] | null | null | null | import click
from click.testing import CliRunner
from cctools.commands.version.commands import cli
def test_version():
runner = CliRunner()
result = runner.invoke(cli, ['raw', '--show', '--file', './tests/stubs/version.txt'])
assert result.exit_code == 0
assert '2.5.3' in result.output
| 27.727273 | 89 | 0.695082 | 42 | 305 | 5 | 0.690476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015564 | 0.157377 | 305 | 10 | 90 | 30.5 | 0.801556 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 0.081967 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
cee35a0c038d5a35a076a859296711fc3b4238b6 | 3,932 | py | Python | rtgraph/ui/mainWindow_ui.py | spewil/RTGraph | 0e3f4502988a36866ac2aaa27e232ade2128d7ea | [
"MIT"
] | null | null | null | rtgraph/ui/mainWindow_ui.py | spewil/RTGraph | 0e3f4502988a36866ac2aaa27e232ade2128d7ea | [
"MIT"
] | null | null | null | rtgraph/ui/mainWindow_ui.py | spewil/RTGraph | 0e3f4502988a36866ac2aaa27e232ade2128d7ea | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWin... | 48.54321 | 76 | 0.71236 | 441 | 3,932 | 6.206349 | 0.251701 | 0.051151 | 0.076726 | 0.069054 | 0.219949 | 0.173913 | 0.025575 | 0 | 0 | 0 | 0 | 0.020724 | 0.177772 | 3,932 | 80 | 77 | 49.15 | 0.825858 | 0.046033 | 0 | 0 | 1 | 0 | 0.069979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.030303 | 0 | 0.075758 | 0 | 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 |
ceee14d65f071777843767860f0b7d4cc2b7e26c | 4,105 | py | Python | generator_app/utils.py | badf00d21/JSD2021 | 0af83e671bdc2570b617ed29b395db4193dd7daf | [
"MIT"
] | null | null | null | generator_app/utils.py | badf00d21/JSD2021 | 0af83e671bdc2570b617ed29b395db4193dd7daf | [
"MIT"
] | null | null | null | generator_app/utils.py | badf00d21/JSD2021 | 0af83e671bdc2570b617ed29b395db4193dd7daf | [
"MIT"
] | null | null | null | # author: badf00d21
import os
from os.path import dirname, join
from textx import metamodel_from_file
from textx.export import metamodel_export, model_export
from datetime import datetime
from distutils.dir_util import copy_tree
CURRENT_DIR = dirname(__file__)
PROJECT_DIRECTORY_TREE = {}
PROJECT_GENERAL_INFO = {}
def... | 40.245098 | 147 | 0.707917 | 477 | 4,105 | 5.773585 | 0.234801 | 0.191721 | 0.232389 | 0.095861 | 0.234205 | 0.152869 | 0.068991 | 0.043573 | 0.043573 | 0 | 0 | 0.00206 | 0.172229 | 4,105 | 101 | 148 | 40.643564 | 0.808417 | 0.004141 | 0 | 0 | 0 | 0 | 0.160832 | 0.007099 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.073171 | 0.012195 | 0.219512 | 0.04878 | 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 |
ceef19c41376f45364d4e99a91be8b81f66a7009 | 1,286 | py | Python | maskrcnn_benchmark/layers/_utils.py | cxq1/paddle_VinVL | f9136871c43b033cd209ddc7579fa986208e37db | [
"MIT"
] | null | null | null | maskrcnn_benchmark/layers/_utils.py | cxq1/paddle_VinVL | f9136871c43b033cd209ddc7579fa986208e37db | [
"MIT"
] | null | null | null | maskrcnn_benchmark/layers/_utils.py | cxq1/paddle_VinVL | f9136871c43b033cd209ddc7579fa986208e37db | [
"MIT"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
import glob
import os.path
import os
import paddle
try:
from paddle.utils.cpp_extension import load as load_ext
# from torch.utils.cpp_extension import CUDA_HOME#todo
cuda_home = os.environ.get('CUDA_HOME') or os.environ.get('CUDA_PAT... | 29.906977 | 80 | 0.693624 | 191 | 1,286 | 4.408377 | 0.361257 | 0.083135 | 0.059382 | 0.083135 | 0.17696 | 0.089074 | 0.089074 | 0 | 0 | 0 | 0 | 0.001923 | 0.191291 | 1,286 | 42 | 81 | 30.619048 | 0.807692 | 0.09409 | 0 | 0 | 0 | 0 | 0.103359 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 1 | 0.032258 | false | 0 | 0.225806 | 0 | 0.290323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
cefdf491da32c65dfd43ba1c5f43f8392677e962 | 1,354 | py | Python | python/app/plugins/port/Mysql/Mysql_Weakpwd.py | taomujian/linbing | fe772a58f41e3b046b51a866bdb7e4655abaf51a | [
"MIT"
] | 351 | 2020-02-26T05:23:26.000Z | 2022-03-26T12:39:19.000Z | python/app/plugins/port/Mysql/Mysql_Weakpwd.py | taomujian/linbing | fe772a58f41e3b046b51a866bdb7e4655abaf51a | [
"MIT"
] | 15 | 2020-03-26T07:31:49.000Z | 2022-03-09T02:12:17.000Z | python/app/plugins/port/Mysql/Mysql_Weakpwd.py | taomujian/linbing | fe772a58f41e3b046b51a866bdb7e4655abaf51a | [
"MIT"
] | 99 | 2020-02-28T07:30:46.000Z | 2022-03-16T16:41:09.000Z | #!/usr/bin/env python3
import pymysql
from urllib.parse import urlparse
class Mysql_Weakpwd_BaseVerify:
def __init__(self, url):
self.info = {
'name': 'Mysql 弱口令漏洞',
'description': 'Mysql 弱口令漏洞',
'date': '',
'exptype': 'check',
'type': 'Weakpwd'
... | 27.08 | 130 | 0.495569 | 140 | 1,354 | 4.642857 | 0.55 | 0.073846 | 0.067692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.384786 | 1,354 | 50 | 131 | 27.08 | 0.759904 | 0.055391 | 0 | 0.055556 | 0 | 0 | 0.125806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.111111 | 0.055556 | 0 | 0.194444 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
30153dd44ea6e8ce8941eb233f0c9ad38a2fdb9b | 510 | py | Python | src/apps/blog/forms.py | snicoper/snicoper.com | 22c17b5ead6096227a3415770c0cbd2923f2f14a | [
"MIT"
] | 2 | 2017-04-22T11:35:21.000Z | 2017-09-01T19:49:59.000Z | src/apps/blog/forms.py | snicoper/snicoper.com | 22c17b5ead6096227a3415770c0cbd2923f2f14a | [
"MIT"
] | null | null | null | src/apps/blog/forms.py | snicoper/snicoper.com | 22c17b5ead6096227a3415770c0cbd2923f2f14a | [
"MIT"
] | null | null | null | from django import forms
class ArticleRecommendForm(forms.Form):
"""Formulario para recomendar articulo."""
name = forms.CharField(
label='Nombre'
)
from_email = forms.EmailField(
label='Tu email',
widget=forms.EmailInput()
)
to_email = forms.EmailField(
label='... | 23.181818 | 46 | 0.613725 | 48 | 510 | 6.479167 | 0.583333 | 0.106109 | 0.122187 | 0.160772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272549 | 510 | 21 | 47 | 24.285714 | 0.838275 | 0.070588 | 0 | 0.111111 | 0 | 0 | 0.106838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.333333 | 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 |
3015bb26c571eef72566233c384c496194c64fab | 1,020 | py | Python | thermister_table.py | thesteg/thermister_table | 08d0f08009fc8db20224b21971f0396762c816f4 | [
"MIT"
] | null | null | null | thermister_table.py | thesteg/thermister_table | 08d0f08009fc8db20224b21971f0396762c816f4 | [
"MIT"
] | null | null | null | thermister_table.py | thesteg/thermister_table | 08d0f08009fc8db20224b21971f0396762c816f4 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import math
import sys
#bValue = float(sys.argv[1])
#nomOhm = float(sys.argv[2])
#nomTemp = float(sys.argv[3])
#seriesR = float(sys.argv[4])
#adcRes = int(sys.argv[5])
bValue = 3750
nomOhm = 10000
nomTemp = 250
seriesR = 4700
adcRes = 10
adcMax = 2**adcRes
adcVal = 0
vals = [0] * adcMax
while ad... | 20.816327 | 134 | 0.519608 | 133 | 1,020 | 3.977444 | 0.323308 | 0.170132 | 0.226843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 0.285294 | 1,020 | 49 | 135 | 20.816327 | 0.639232 | 0.148039 | 0 | 0.1875 | 0 | 0 | 0.072917 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0.09375 | 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 |
3019bbbf445a8edf5dc9ccd702eacd957bed02fc | 1,636 | py | Python | hivs_administrative/migrations/0006_add area type model.py | tehamalab/hivs | db7dfa7f89174be07d42bd469fd23c8553c0eff2 | [
"MIT"
] | null | null | null | hivs_administrative/migrations/0006_add area type model.py | tehamalab/hivs | db7dfa7f89174be07d42bd469fd23c8553c0eff2 | [
"MIT"
] | null | null | null | hivs_administrative/migrations/0006_add area type model.py | tehamalab/hivs | db7dfa7f89174be07d42bd469fd23c8553c0eff2 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.7 on 2018-09-19 18:38
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('hivs_administrative', '0005_set_extras_default_value_to_callable'),
]
operations = [
migrations.CreateModel... | 40.9 | 223 | 0.622249 | 168 | 1,636 | 5.85119 | 0.452381 | 0.078332 | 0.042726 | 0.067141 | 0.134283 | 0.134283 | 0.069176 | 0 | 0 | 0 | 0 | 0.017989 | 0.252445 | 1,636 | 39 | 224 | 41.948718 | 0.785773 | 0.027506 | 0 | 0.272727 | 1 | 0 | 0.210824 | 0.088735 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 0 | 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 |
3019d0d0d66845d80647867288d3a7213f851ae7 | 1,642 | py | Python | mlxtend/mlxtend/evaluate/__init__.py | WhiteWolf21/fp-growth | 01e1d853b09f244f14e66d7d0c87f139a0f67c81 | [
"MIT"
] | null | null | null | mlxtend/mlxtend/evaluate/__init__.py | WhiteWolf21/fp-growth | 01e1d853b09f244f14e66d7d0c87f139a0f67c81 | [
"MIT"
] | null | null | null | mlxtend/mlxtend/evaluate/__init__.py | WhiteWolf21/fp-growth | 01e1d853b09f244f14e66d7d0c87f139a0f67c81 | [
"MIT"
] | null | null | null | # Sebastian Raschka 2014-2020
# mlxtend Machine Learning Library Extensions
# Author: Sebastian Raschka <sebastianraschka.com>
#
# License: BSD 3 clause
from .bootstrap import bootstrap
from .bootstrap_outofbag import BootstrapOutOfBag
from .bootstrap_point632 import bootstrap_point632_score
from .cochrans_q import c... | 38.186047 | 62 | 0.781973 | 186 | 1,642 | 6.575269 | 0.295699 | 0.053966 | 0.041701 | 0.058872 | 0.063778 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018773 | 0.156516 | 1,642 | 42 | 63 | 39.095238 | 0.86426 | 0.08648 | 0 | 0 | 0 | 0 | 0.236948 | 0.093708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.676471 | 0 | 0.676471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3019d8b3a9a8b78def5cd463705dfbff73a5928e | 1,222 | py | Python | pygears/lib/rounding.py | bogdanvuk/pygears | a0b21d445e1d5c89ad66751447b8253536b835ee | [
"MIT"
] | 120 | 2018-04-23T08:29:04.000Z | 2022-03-30T14:41:52.000Z | pygears/lib/rounding.py | FZP1607152286/pygears | a0b21d445e1d5c89ad66751447b8253536b835ee | [
"MIT"
] | 12 | 2019-07-09T17:12:58.000Z | 2022-03-18T09:05:10.000Z | pygears/lib/rounding.py | FZP1607152286/pygears | a0b21d445e1d5c89ad66751447b8253536b835ee | [
"MIT"
] | 12 | 2019-05-10T19:42:08.000Z | 2022-03-28T18:26:44.000Z | from pygears import gear, datagear, alternative, module
from pygears.typing.qround import get_out_type, get_cut_bits
from pygears.typing import Uint, code, Bool, Int, Fixp, Ufixp
@datagear
def qround(din,
*,
fract=0,
cut_bits=b'get_cut_bits(din, fract)',
signed=b'din.signed... | 23.056604 | 74 | 0.590835 | 183 | 1,222 | 3.770492 | 0.273224 | 0.101449 | 0.052174 | 0.057971 | 0.492754 | 0.473913 | 0.473913 | 0.368116 | 0.286957 | 0.202899 | 0 | 0.012101 | 0.256137 | 1,222 | 52 | 75 | 23.5 | 0.746975 | 0.318331 | 0 | 0.291667 | 0 | 0 | 0.085158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.125 | 0.125 | 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 |
302008241a81889fef104c6dbb37a96238533df2 | 4,674 | py | Python | sdk/python/pulumi_aws_native/glue/get_trigger.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/glue/get_trigger.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/glue/get_trigger.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... | 34.622222 | 145 | 0.655755 | 537 | 4,674 | 5.458101 | 0.201117 | 0.028659 | 0.061412 | 0.081883 | 0.213579 | 0.145343 | 0.145343 | 0 | 0 | 0 | 0 | 0.00028 | 0.2362 | 4,674 | 134 | 146 | 34.880597 | 0.820728 | 0.062901 | 0 | 0.141509 | 1 | 0 | 0.138978 | 0.022089 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113208 | false | 0 | 0.056604 | 0.075472 | 0.283019 | 0 | 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 |
3020ebc2057f5b57aef317088f78b4f30a1889dd | 1,273 | py | Python | main/migrations/0001_initial.py | Mohsen7640/PicoSchool | 69d8658111b27e843928f2458f9a7108ab8bd4e0 | [
"Apache-2.0"
] | 48 | 2022-02-05T10:07:33.000Z | 2022-03-30T18:14:45.000Z | main/migrations/0001_initial.py | Mohsen7640/PicoSchool | 69d8658111b27e843928f2458f9a7108ab8bd4e0 | [
"Apache-2.0"
] | 2 | 2022-02-10T11:56:42.000Z | 2022-02-16T13:27:26.000Z | main/migrations/0001_initial.py | Mohsen7640/PicoSchool | 69d8658111b27e843928f2458f9a7108ab8bd4e0 | [
"Apache-2.0"
] | 14 | 2022-02-05T13:46:17.000Z | 2022-02-23T16:23:12.000Z | # Generated by Django 3.2 on 2022-02-04 11:22
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='SiteSetting',
fields=[
('id', models.BigAutoF... | 42.433333 | 191 | 0.597015 | 138 | 1,273 | 5.333333 | 0.57971 | 0.119565 | 0.032609 | 0.048913 | 0.089674 | 0.089674 | 0.089674 | 0 | 0 | 0 | 0 | 0.023933 | 0.24509 | 1,273 | 29 | 192 | 43.896552 | 0.741935 | 0.033778 | 0 | 0 | 1 | 0 | 0.238599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.227273 | 0 | 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 |
30210087e33980eb24daf4d679f8868eeef662a7 | 294 | py | Python | 0000 hihoOnce/175 Robots Crossing River/main.py | SLAPaper/hihoCoder | 3f64d678c5dd46db36345736eb56880fb2d2c5fe | [
"MIT"
] | null | null | null | 0000 hihoOnce/175 Robots Crossing River/main.py | SLAPaper/hihoCoder | 3f64d678c5dd46db36345736eb56880fb2d2c5fe | [
"MIT"
] | null | null | null | 0000 hihoOnce/175 Robots Crossing River/main.py | SLAPaper/hihoCoder | 3f64d678c5dd46db36345736eb56880fb2d2c5fe | [
"MIT"
] | null | null | null | from math import ceil
z, y, x = sorted(int(x) for x in raw_input().split())
if x <= y + z:
print int(ceil((x + y + z) / 20.0)) * 6
else:
run = (y + z) / 10
xr = x - 10 * run
nxr = (y + z) % 10
xr -= 15 - nxr if nxr < 8 else nxr
print int(run + 1 + ceil(xr / 15.0)) * 6
| 24.5 | 53 | 0.486395 | 59 | 294 | 2.40678 | 0.457627 | 0.056338 | 0.042254 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091371 | 0.329932 | 294 | 11 | 54 | 26.727273 | 0.629442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
30222ed6a4345098e7f0e289697b8a0a1570b94f | 3,176 | py | Python | script/Isin google Nordnet/isin-nordnet.py | pettersoderlund/fondout | 99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31 | [
"BSD-3-Clause"
] | null | null | null | script/Isin google Nordnet/isin-nordnet.py | pettersoderlund/fondout | 99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31 | [
"BSD-3-Clause"
] | 4 | 2016-10-18T18:30:08.000Z | 2016-11-05T09:22:29.000Z | script/Isin google Nordnet/isin-nordnet.py | pettersoderlund/fondout | 99b14eaa8c6eb56fd862ab9bdf6acc8d537d4a31 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
import unicodedata
import openpyxl.reader.excel
import time
import datetime
import codecs
import mechanize
import cookielib
import re
import sys
from random import randint
def getNordnetIsin(br, nordnetUrl):
r = br.open(nordnetUrl)
result = re.search( r'<iframe src="?\'?([^"\'"]*)', ... | 25.206349 | 137 | 0.62563 | 431 | 3,176 | 4.552204 | 0.433875 | 0.017839 | 0.033639 | 0.030581 | 0.059123 | 0.059123 | 0.059123 | 0.059123 | 0.059123 | 0.059123 | 0 | 0.027686 | 0.238035 | 3,176 | 125 | 138 | 25.408 | 0.782231 | 0.146725 | 0 | 0.119048 | 0 | 0 | 0.138085 | 0.012992 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.011905 | 0.119048 | null | null | 0.119048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
3022766db89202607c22a14256bc547026ec8d98 | 582 | py | Python | src/examples/g_lists_and_tuples/main.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-rObErT-a93 | dfcbe42ce835b65db15928f89a37f32b599495ba | [
"MIT"
] | null | null | null | src/examples/g_lists_and_tuples/main.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-rObErT-a93 | dfcbe42ce835b65db15928f89a37f32b599495ba | [
"MIT"
] | null | null | null | src/examples/g_lists_and_tuples/main.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-rObErT-a93 | dfcbe42ce835b65db15928f89a37f32b599495ba | [
"MIT"
] | null | null | null | import lists
nums = [99,100,101,102]
lists.loop_list_w_for(nums)
print('----------')
for n in nums:
print(n)
print('*************')
num = [99,100,101,102]
lists.loop_list_w_while(num)
print('----------')
for n in num:
print(n)
print('**************')
lists.collect_home_values()
print('-----------------3/... | 16.628571 | 62 | 0.54811 | 82 | 582 | 3.756098 | 0.463415 | 0.032468 | 0.051948 | 0.071429 | 0.162338 | 0.162338 | 0.162338 | 0.162338 | 0 | 0 | 0 | 0.062124 | 0.142612 | 582 | 34 | 63 | 17.117647 | 0.55511 | 0 | 0 | 0.173913 | 0 | 0 | 0.277108 | 0.089501 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 0.434783 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3028563b4b9152c8a112821120d579b425227167 | 1,611 | py | Python | aionasa/exoplanet/_tests.py | nwunderly/aio-nasa | 9a083746eee6fe92e5663fdd2a8ebe38b192ac87 | [
"MIT"
] | 2 | 2020-07-09T00:20:37.000Z | 2020-07-09T00:25:06.000Z | aionasa/exoplanet/_tests.py | nwunderly/aio-nasa | 9a083746eee6fe92e5663fdd2a8ebe38b192ac87 | [
"MIT"
] | null | null | null | aionasa/exoplanet/_tests.py | nwunderly/aio-nasa | 9a083746eee6fe92e5663fdd2a8ebe38b192ac87 | [
"MIT"
] | 1 | 2020-07-14T23:17:06.000Z | 2020-07-14T23:17:06.000Z | from .api import Exoplanet
async def _test_method(ref, name, *args, **kwargs):
try:
result = await ref(*args, **kwargs)
try:
iter(result)
iterable = True
except TypeError:
iterable = False
print(
f"exoplanet.{name} success\n\t",
... | 25.571429 | 85 | 0.514587 | 157 | 1,611 | 5.031847 | 0.363057 | 0.088608 | 0.113924 | 0.182278 | 0.425316 | 0.351899 | 0.339241 | 0.288608 | 0.174684 | 0.174684 | 0 | 0.002018 | 0.384854 | 1,611 | 62 | 86 | 25.983871 | 0.795156 | 0.00807 | 0 | 0.358491 | 0 | 0 | 0.142231 | 0.013158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 0.056604 | 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 |
302e2929f58992709dad8ed5380ff8b83767af39 | 2,357 | py | Python | tortoise/tests/test_init.py | EtzelWu/tortoise-orm | 6a79c87169c10ff25b0d84bca4db24f0c0737432 | [
"Apache-2.0"
] | null | null | null | tortoise/tests/test_init.py | EtzelWu/tortoise-orm | 6a79c87169c10ff25b0d84bca4db24f0c0737432 | [
"Apache-2.0"
] | null | null | null | tortoise/tests/test_init.py | EtzelWu/tortoise-orm | 6a79c87169c10ff25b0d84bca4db24f0c0737432 | [
"Apache-2.0"
] | null | null | null | from tortoise import Tortoise
from tortoise.contrib import test
from tortoise.exceptions import ConfigurationError
from tortoise.tests.testmodels import Tournament
class TestInitErrors(test.SimpleTestCase):
async def setUp(self):
self.apps = Tortoise.apps
self.inited = Tortoise._inited
Tor... | 37.412698 | 90 | 0.640221 | 240 | 2,357 | 6.1 | 0.258333 | 0.032787 | 0.119536 | 0.205601 | 0.486339 | 0.390027 | 0.315574 | 0.243169 | 0.185792 | 0.094262 | 0 | 0.000586 | 0.276199 | 2,357 | 62 | 91 | 38.016129 | 0.857562 | 0 | 0 | 0.326923 | 0 | 0 | 0.118371 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 1 | 0.134615 | false | 0.038462 | 0.076923 | 0 | 0.230769 | 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 |
303212f2de3163447a24ff07aa13ecbe61acaf1d | 1,137 | py | Python | rurusetto/wiki/migrations/0008_auto_20210802_2042.py | siddhantdixit/rurusetto | ed3aad56d20fbdc15e9ab7d2b77335de65009b7f | [
"MIT"
] | 19 | 2021-05-09T12:05:40.000Z | 2022-03-02T19:26:36.000Z | rurusetto/wiki/migrations/0008_auto_20210802_2042.py | siddhantdixit/rurusetto | ed3aad56d20fbdc15e9ab7d2b77335de65009b7f | [
"MIT"
] | 121 | 2021-05-04T19:18:13.000Z | 2022-03-21T22:11:25.000Z | rurusetto/wiki/migrations/0008_auto_20210802_2042.py | siddhantdixit/rurusetto | ed3aad56d20fbdc15e9ab7d2b77335de65009b7f | [
"MIT"
] | 12 | 2021-05-03T04:44:02.000Z | 2021-10-19T05:40:08.000Z | # Generated by Django 3.2.5 on 2021-08-02 20:42
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),
('wiki', '0007_alter_rules... | 35.53125 | 149 | 0.676341 | 132 | 1,137 | 5.583333 | 0.356061 | 0.089552 | 0.075984 | 0.119403 | 0.565807 | 0.5346 | 0.480326 | 0.480326 | 0.480326 | 0.480326 | 0 | 0.021324 | 0.216359 | 1,137 | 31 | 150 | 36.677419 | 0.805836 | 0.039578 | 0 | 0.36 | 1 | 0 | 0.134862 | 0.069725 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.12 | 0 | 0.24 | 0 | 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 |
3034af2279daaa6bfb2fc3c5e9c4af5f13761aa2 | 1,200 | py | Python | scripts/motion_controller.py | SaeedAlRahma/baxter-object-manipulation | 16ebc8872993d4f0a296d7e15bd400b8592bc180 | [
"BSD-2-Clause"
] | null | null | null | scripts/motion_controller.py | SaeedAlRahma/baxter-object-manipulation | 16ebc8872993d4f0a296d7e15bd400b8592bc180 | [
"BSD-2-Clause"
] | null | null | null | scripts/motion_controller.py | SaeedAlRahma/baxter-object-manipulation | 16ebc8872993d4f0a296d7e15bd400b8592bc180 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/python
# Motion Controller
""" IMPORT MODULES """
import sys, struct, time, json
sys.path.insert(0, "/home/saeed/Klampt/iml-internal/Ebolabot")
#-----------------------------------------------------------
#Imports require internal folders
from Motion import motion
from Motion import config
#===========... | 25.531915 | 68 | 0.553333 | 122 | 1,200 | 5.262295 | 0.590164 | 0.068536 | 0.065421 | 0.05919 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000991 | 0.159167 | 1,200 | 46 | 69 | 26.086957 | 0.635282 | 0.328333 | 0 | 0 | 0 | 0 | 0.278274 | 0.162202 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.157895 | null | null | 0.157895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
30389a732bffc046d9a331b9ce96d0127f8d599d | 1,903 | py | Python | operations/pg/sprites_light.py | Sam-prog-sudo/MacGyver | 4048044bc18a06d2d37f0c0901f3b530c48cec02 | [
"MIT"
] | null | null | null | operations/pg/sprites_light.py | Sam-prog-sudo/MacGyver | 4048044bc18a06d2d37f0c0901f3b530c48cec02 | [
"MIT"
] | 4 | 2020-10-22T17:10:16.000Z | 2020-12-27T13:42:49.000Z | operations/pg/sprites_light.py | Sam-prog-sudo/MacGyver | 4048044bc18a06d2d37f0c0901f3b530c48cec02 | [
"MIT"
] | null | null | null | # encoding: utf-8
import pygame
from assets import constants as C
class Decor(pygame.sprite.Sprite):
def __init__(self, name, pos_tuple):
pygame.sprite.Sprite.__init__(self)
self.name = name
self.image = pygame.image.load(
self.full_path(C.IMAGES[name])
).convert()
... | 29.276923 | 78 | 0.586442 | 259 | 1,903 | 4.07722 | 0.332046 | 0.068182 | 0.045455 | 0.034091 | 0.083333 | 0.083333 | 0.083333 | 0.083333 | 0 | 0 | 0 | 0.005212 | 0.294272 | 1,903 | 64 | 79 | 29.734375 | 0.781087 | 0.073568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204545 | false | 0 | 0.045455 | 0.022727 | 0.340909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3038e041781965ef085fd084ac47bd2ee1d01ca1 | 6,596 | py | Python | pyopt/packing/rectangular/drawer.py | stonelake/pyoptimization | 6e2a4acbaa6eac9716e9ef9e46ca23986dbb6c71 | [
"Apache-2.0"
] | null | null | null | pyopt/packing/rectangular/drawer.py | stonelake/pyoptimization | 6e2a4acbaa6eac9716e9ef9e46ca23986dbb6c71 | [
"Apache-2.0"
] | null | null | null | pyopt/packing/rectangular/drawer.py | stonelake/pyoptimization | 6e2a4acbaa6eac9716e9ef9e46ca23986dbb6c71 | [
"Apache-2.0"
] | null | null | null | __author__ = "Alex Baranov"
from random import randrange
from visual import *
from reports import ReportsBuilder
class BoxDrawer(object):
"""
Draws the boxes
"""
def __init__(self, packing_params=None, display_labels=True, **kwargs):
"""
Start the box drawing.
... | 36.043716 | 111 | 0.498181 | 710 | 6,596 | 4.469014 | 0.209859 | 0.036874 | 0.037819 | 0.037819 | 0.22849 | 0.21872 | 0.184053 | 0.183738 | 0.073747 | 0.073747 | 0 | 0.018717 | 0.392511 | 6,596 | 182 | 112 | 36.241758 | 0.773147 | 0.032141 | 0 | 0.108108 | 0 | 0 | 0.040629 | 0.017808 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.027027 | null | null | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
303d526540636dddcd088aaf9e7d83eb0eef0af8 | 1,744 | py | Python | moire/nn/functions/indexing.py | speedcell4/moire | d5acaee4ee0690627f1382debdd6a6f11cec77c7 | [
"MIT"
] | 2 | 2018-03-12T19:53:35.000Z | 2018-04-12T08:36:22.000Z | moire/nn/functions/indexing.py | speedcell4/moire | d5acaee4ee0690627f1382debdd6a6f11cec77c7 | [
"MIT"
] | 4 | 2018-03-11T06:01:04.000Z | 2020-01-15T16:27:35.000Z | moire/nn/functions/indexing.py | speedcell4/moire | d5acaee4ee0690627f1382debdd6a6f11cec77c7 | [
"MIT"
] | null | null | null | import dynet as dy
import numpy as np
import moire
from moire import Expression
__all__ = [
'argmax', 'argmin',
'epsilon_argmax', 'epsilon_argmin',
'gumbel_argmax', 'gumbel_argmin',
]
def argmax(x: Expression, axis: int = None) -> int:
return int(x.npvalue().argmax(axis=axis))
def argmin(x: Expres... | 32.296296 | 99 | 0.645642 | 272 | 1,744 | 4.044118 | 0.213235 | 0.038182 | 0.06 | 0.076364 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0 | 0.023061 | 0.179472 | 1,744 | 53 | 100 | 32.90566 | 0.745632 | 0 | 0 | 0.277778 | 0 | 0 | 0.042431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.111111 | 0.055556 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
3043218abb082abd2bfe18a0babcb350c48b33b1 | 983 | py | Python | Project/Unit_Tests/test_Window.py | gmgoodale/Team19-Zoltar-Stock-Trader | c5157a6e40fd74461c414527070b818bb5fba9d2 | [
"MIT"
] | null | null | null | Project/Unit_Tests/test_Window.py | gmgoodale/Team19-Zoltar-Stock-Trader | c5157a6e40fd74461c414527070b818bb5fba9d2 | [
"MIT"
] | null | null | null | Project/Unit_Tests/test_Window.py | gmgoodale/Team19-Zoltar-Stock-Trader | c5157a6e40fd74461c414527070b818bb5fba9d2 | [
"MIT"
] | null | null | null | # Class to test the GrapherWindow Class
class GrapherTester:
def __init__(self):
subject = Grapher()
testFileName = 'TestData.csv'
testStockName = 'Test Stock'
testGenerateGraphWithAllPositiveNumbers(testFileName, testStockName)
def createTestData(xAxis, yAxis):
# Genera... | 42.73913 | 79 | 0.678535 | 100 | 983 | 6.63 | 0.5 | 0.012066 | 0.075415 | 0.102564 | 0.187029 | 0.187029 | 0.187029 | 0.187029 | 0.187029 | 0.187029 | 0 | 0.025873 | 0.213632 | 983 | 22 | 80 | 44.681818 | 0.831824 | 0.073245 | 0 | 0 | 0 | 0 | 0.061674 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.235294 | false | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
30454978649b2dfb583e18b9df9d4e7ed82702f9 | 1,562 | py | Python | kfac/layers/__init__.py | saeedsoori/kfac_pytorch | a49d6f30daf6d1e989df9b13e1ca42f1d0742a44 | [
"MIT"
] | 35 | 2020-05-15T16:51:23.000Z | 2022-02-23T20:23:44.000Z | kfac/layers/__init__.py | MLHPC/Distributed_KFAC_Pytorch | cfd6d54012cf23d832818ce302d2d2d049da4936 | [
"MIT"
] | 18 | 2020-04-27T19:36:05.000Z | 2022-03-25T22:14:16.000Z | kfac/layers/__init__.py | MLHPC/Distributed_KFAC_Pytorch | cfd6d54012cf23d832818ce302d2d2d049da4936 | [
"MIT"
] | 14 | 2020-05-24T17:22:14.000Z | 2022-03-17T19:31:07.000Z | import torch.nn as nn
import kfac.modules as km
from kfac.layers.conv import Conv2dLayer
from kfac.layers.embedding import EmbeddingLayer
from kfac.layers.linear import LinearLayer
from kfac.layers.linear import LinearMultiLayer
__all__ = ['KNOWN_MODULES', 'get_kfac_layers', 'module_requires_grad']
KNOWN_MODULES = {... | 38.097561 | 80 | 0.685659 | 189 | 1,562 | 5.539683 | 0.386243 | 0.057307 | 0.053486 | 0.074499 | 0.145177 | 0.064947 | 0 | 0 | 0 | 0 | 0 | 0.00321 | 0.202305 | 1,562 | 40 | 81 | 39.05 | 0.837079 | 0.15493 | 0 | 0 | 0 | 0 | 0.16433 | 0.03972 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.24 | 0 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
30455c24d40d043c2b2e52a29833a6122193cce5 | 3,062 | py | Python | src/pycomposite/composite_decorator.py | BstLabs/py-composite | d839303de51000c9afd1568f63ba02e7bdebbc8c | [
"MIT"
] | 4 | 2022-03-10T12:43:53.000Z | 2022-03-11T21:22:16.000Z | src/pycomposite/composite_decorator.py | BstLabs/py-composite | d839303de51000c9afd1568f63ba02e7bdebbc8c | [
"MIT"
] | null | null | null | src/pycomposite/composite_decorator.py | BstLabs/py-composite | d839303de51000c9afd1568f63ba02e7bdebbc8c | [
"MIT"
] | null | null | null | from collections import deque
from functools import reduce
from inspect import getmembers, isfunction, signature
from typing import Any, Iterable, List
from deepmerge import always_merger
def _constructor(self, *parts: List[Iterable[Any]]) -> None:
self._parts = parts
def _make_iterator(cls):
def _iterator... | 34.022222 | 113 | 0.635206 | 372 | 3,062 | 5.045699 | 0.384409 | 0.018647 | 0.017581 | 0.023974 | 0.036761 | 0.025573 | 0 | 0 | 0 | 0 | 0 | 0.004977 | 0.27825 | 3,062 | 89 | 114 | 34.404494 | 0.844344 | 0.281515 | 0 | 0 | 0 | 0 | 0.012558 | 0 | 0 | 0 | 0 | 0.011236 | 0 | 1 | 0.188679 | false | 0 | 0.09434 | 0.037736 | 0.415094 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
305ad04b531275575806e4dde57d0281d296f3a1 | 6,267 | py | Python | file_sync_tool/__main__.py | jackd248/file-sync-tool | 68fbca562f232c2bc064f546d9eade20a2ae456f | [
"MIT"
] | null | null | null | file_sync_tool/__main__.py | jackd248/file-sync-tool | 68fbca562f232c2bc064f546d9eade20a2ae456f | [
"MIT"
] | null | null | null | file_sync_tool/__main__.py | jackd248/file-sync-tool | 68fbca562f232c2bc064f546d9eade20a2ae456f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: future_fstrings -*-
import argparse, sys, os
from collections import defaultdict
from db_sync_tool.utility import helper
# Workaround for ModuleNotFoundError
sys.path.append(os.getcwd())
from file_sync_tool import sync
def main(args={}):
"""
Main entry point for the comma... | 35.811429 | 142 | 0.529759 | 673 | 6,267 | 4.820208 | 0.190193 | 0.049938 | 0.094328 | 0.086313 | 0.381936 | 0.338779 | 0.333231 | 0.333231 | 0.29254 | 0.215166 | 0 | 0.000982 | 0.349928 | 6,267 | 174 | 143 | 36.017241 | 0.795287 | 0.048987 | 0 | 0.320611 | 0 | 0 | 0.210088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022901 | false | 0.061069 | 0.030534 | 0 | 0.068702 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
305fbb0c2a18407f12a620fb455d66ee0b1e4534 | 265 | py | Python | convokit/tests/run_all_tests.py | sophieball/Cornell-Conversational-Analysis-Toolkit | da65358baffc34a518114be2d94f1748f8e01240 | [
"MIT"
] | null | null | null | convokit/tests/run_all_tests.py | sophieball/Cornell-Conversational-Analysis-Toolkit | da65358baffc34a518114be2d94f1748f8e01240 | [
"MIT"
] | null | null | null | convokit/tests/run_all_tests.py | sophieball/Cornell-Conversational-Analysis-Toolkit | da65358baffc34a518114be2d94f1748f8e01240 | [
"MIT"
] | null | null | null | from unittest import TestLoader, TextTestRunner
if __name__ == "__main__":
loader = TestLoader()
tests = loader.discover('.')
testRunner = TextTestRunner()
test_results = testRunner.run(tests)
if len(test_results.errors) > 0:
exit(1)
| 22.083333 | 47 | 0.671698 | 28 | 265 | 6 | 0.714286 | 0.130952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.215094 | 265 | 11 | 48 | 24.090909 | 0.798077 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
306394c81660e163df8c60a47a7468258af7a301 | 6,907 | py | Python | mykonos/locator/locator_element.py | monicadanesa/mykonos | 06370a4349ecaba3c2e05561da622b7174435495 | [
"MIT"
] | 17 | 2019-06-10T07:52:17.000Z | 2019-07-20T15:57:44.000Z | mykonos/locator/locator_element.py | monicadanesa/robotframework-mykonos | 06370a4349ecaba3c2e05561da622b7174435495 | [
"MIT"
] | 11 | 2019-07-23T10:05:46.000Z | 2020-09-13T17:48:26.000Z | mykonos/locator/locator_element.py | monicadanesa/robotframework-mykonos | 06370a4349ecaba3c2e05561da622b7174435495 | [
"MIT"
] | 4 | 2019-11-14T00:09:29.000Z | 2021-05-18T10:37:21.000Z | import traceback
from alog import debug, info, error
from mykonos.core.core import Core
from mykonos.keywords.management_device import ManagementDevice
from mykonos.keywords.decorators import Parallel
class LocatorElement(Core):
def __init__(self):
self.device_mobile = self.device()
self.manageme... | 30.697778 | 98 | 0.588968 | 701 | 6,907 | 5.704708 | 0.178317 | 0.072018 | 0.059515 | 0.07877 | 0.463366 | 0.424606 | 0.380595 | 0.273568 | 0.208052 | 0.208052 | 0 | 0.003729 | 0.301144 | 6,907 | 224 | 99 | 30.834821 | 0.824736 | 0.417403 | 0 | 0.253333 | 0 | 0 | 0.026647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.186667 | false | 0 | 0.066667 | 0 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3066a68f25a0b8f12738cd73460642da98c0609a | 2,832 | py | Python | validproxy-master/proxyon.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | validproxy-master/proxyon.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | validproxy-master/proxyon.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | import requests
import argparse
import sys
import os
import urllib3
import random
def user_agent():
useragent = [
"Mozilla/5.0 CK={ } (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/7... | 44.952381 | 173 | 0.610876 | 428 | 2,832 | 4.011682 | 0.397196 | 0.041934 | 0.047175 | 0.048923 | 0.218404 | 0.193943 | 0.151427 | 0.037274 | 0.037274 | 0.037274 | 0 | 0.121114 | 0.239054 | 2,832 | 62 | 174 | 45.677419 | 0.675638 | 0 | 0 | 0.117647 | 0 | 0.254902 | 0.52852 | 0.015884 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.019608 | 0.117647 | 0 | 0.235294 | 0.078431 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
30685e05831381d8f7de6843e88f41f59b9c2942 | 1,794 | py | Python | 2017.d/1-echiquier-grain-de-ble.d/src/grain-de-ble.py | homeostasie/petits-pedestres | bf20d94a5f2b12d2bb860ebb06a6b18641271020 | [
"MIT"
] | 1 | 2018-12-29T12:46:53.000Z | 2018-12-29T12:46:53.000Z | 2017.d/1-echiquier-grain-de-ble.d/src/grain-de-ble.py | homeostasie/petits-pedestres | bf20d94a5f2b12d2bb860ebb06a6b18641271020 | [
"MIT"
] | null | null | null | 2017.d/1-echiquier-grain-de-ble.d/src/grain-de-ble.py | homeostasie/petits-pedestres | bf20d94a5f2b12d2bb860ebb06a6b18641271020 | [
"MIT"
] | null | null | null | # On est sur la première case.
# On a un grain de blé sur la première case.
# On a un grain de blé sur l'échéquier.
# Nombre de grain de blé par case.
# case est un nombre entier.
case = 1
# Nombre de grain blé au total sur l'échiquier.
# blé est un nombre entier.
ble = 1
# Coefficient d'augmentation du nombre de gr... | 34.5 | 124 | 0.687848 | 325 | 1,794 | 3.781538 | 0.289231 | 0.056957 | 0.056957 | 0.04882 | 0.328723 | 0.283157 | 0.256306 | 0.215622 | 0.215622 | 0.215622 | 0 | 0.029957 | 0.218506 | 1,794 | 51 | 125 | 35.176471 | 0.846648 | 0.544593 | 0 | 0 | 0 | 0 | 0.480454 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.411765 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3072b72e99113472148324ff54733901999cc011 | 3,080 | py | Python | SIFTS/SIFTS2Table.py | ajing/SIFTS.py | e6bfef6cd047fe90fba4cfa77b09c405ea3caa4b | [
"MIT"
] | null | null | null | SIFTS/SIFTS2Table.py | ajing/SIFTS.py | e6bfef6cd047fe90fba4cfa77b09c405ea3caa4b | [
"MIT"
] | 1 | 2015-01-16T03:45:07.000Z | 2015-01-16T03:47:36.000Z | SIFTS/SIFTS2Table.py | ajing/SIFTS.py | e6bfef6cd047fe90fba4cfa77b09c405ea3caa4b | [
"MIT"
] | null | null | null | '''
SIFTS data to a table, so I can load to MySQL database.
'''
from SIFTSXMLMapControl import processOneXML
from SIFTSXMLMapModel import XMLDIR
import os
## parameters
OUTFILE = "./SIFTS/sift_sql_table_test.txt"
#OUTDIR = "./SIFTS/sift_sql_test/"
OUTDIR = "./SIFTS/sift_sql/"
MOADPDB = "./Data/MOADPDB.txt"
MULT... | 30.49505 | 145 | 0.619805 | 355 | 3,080 | 5.332394 | 0.360563 | 0.015848 | 0.019017 | 0.019017 | 0.156366 | 0.144744 | 0.144744 | 0.144744 | 0.144744 | 0.144744 | 0 | 0.00397 | 0.263961 | 3,080 | 100 | 146 | 30.8 | 0.831054 | 0.219156 | 0 | 0.078125 | 0 | 0 | 0.045455 | 0.01342 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.078125 | null | null | 0.015625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
307bbc5138ee2f7503540b7554891898a4c7e155 | 435 | py | Python | members/crm/migrations/0017_profile_qb_realm_id.py | ocwc/ocwc-members | 3ede8e0ff830e2aaff4ae09f9aaefd3eaa83146b | [
"MIT"
] | null | null | null | members/crm/migrations/0017_profile_qb_realm_id.py | ocwc/ocwc-members | 3ede8e0ff830e2aaff4ae09f9aaefd3eaa83146b | [
"MIT"
] | 7 | 2015-11-27T15:59:52.000Z | 2022-01-13T00:38:38.000Z | members/crm/migrations/0017_profile_qb_realm_id.py | ocwc/ocwc-members | 3ede8e0ff830e2aaff4ae09f9aaefd3eaa83146b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.14 on 2019-01-20 12:04
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("crm", "0016_profile")]
operations = [
migrations.AddField(
model_name="prof... | 22.894737 | 60 | 0.627586 | 51 | 435 | 5.176471 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067073 | 0.245977 | 435 | 18 | 61 | 24.166667 | 0.737805 | 0.158621 | 0 | 0 | 1 | 0 | 0.090909 | 0 | 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 |
061ce201158d27d7729ca028543c403f4ac3915a | 3,083 | py | Python | osdria/views/draftbar_element_view.py | soberleitner/osdriaApp | 8b4638e6edc2d265afd09098cfc4a8db34403cce | [
"MIT"
] | null | null | null | osdria/views/draftbar_element_view.py | soberleitner/osdriaApp | 8b4638e6edc2d265afd09098cfc4a8db34403cce | [
"MIT"
] | 20 | 2019-01-17T10:31:10.000Z | 2019-03-15T07:12:11.000Z | osdria/views/draftbar_element_view.py | soberleitner/osdriaApp | 8b4638e6edc2d265afd09098cfc4a8db34403cce | [
"MIT"
] | null | null | null | from math import ceil
from PySide2.QtCore import QRect, QSize, Qt, QAbstractTableModel, QMimeData, QByteArray
from PySide2.QtGui import QPainter, QStandardItemModel, QStandardItem, QPen
from PySide2.QtWidgets import *
from models.constants import PropType, MimeType
from views.draftbar_element_view_ui import Ui_DraftE... | 35.034091 | 87 | 0.687642 | 368 | 3,083 | 5.494565 | 0.342391 | 0.04451 | 0.05638 | 0.032641 | 0.159248 | 0.110781 | 0.081108 | 0.049456 | 0.049456 | 0 | 0 | 0.004975 | 0.217645 | 3,083 | 87 | 88 | 35.436782 | 0.833333 | 0.105417 | 0 | 0.072727 | 0 | 0 | 0.00189 | 0 | 0 | 0 | 0 | 0.011494 | 0 | 1 | 0.163636 | false | 0 | 0.109091 | 0.036364 | 0.436364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0620e768a7fbf1dee0b88c0596c61846cf5102f5 | 1,333 | py | Python | neo4s/bin/neo4j.py | omerl13/neo4s | 5471818838099310a153d2c0844cc3c0f1943b79 | [
"Apache-2.0"
] | 2 | 2019-03-12T06:33:14.000Z | 2020-02-07T05:57:26.000Z | neo4s/bin/neo4j.py | omerl13/neo4s | 5471818838099310a153d2c0844cc3c0f1943b79 | [
"Apache-2.0"
] | 1 | 2019-02-22T20:49:11.000Z | 2020-06-21T08:13:29.000Z | neo4s/bin/neo4j.py | omerl13/neo4s | 5471818838099310a153d2c0844cc3c0f1943b79 | [
"Apache-2.0"
] | 4 | 2018-02-16T22:11:29.000Z | 2020-10-01T10:26:16.000Z | import json
import sys
import time
from splunklib.searchcommands import dispatch, GeneratingCommand, Configuration, Option, validators
from neo4j import GraphDatabase, basic_auth
from neo4j.graph import Node, Relationship
from fields_extractor import FieldsExtractor
@Configuration()
class Neo4jCommand(GeneratingComman... | 33.325 | 99 | 0.660915 | 137 | 1,333 | 6.313869 | 0.430657 | 0.075145 | 0.062428 | 0.086705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00398 | 0.246062 | 1,333 | 39 | 100 | 34.179487 | 0.856716 | 0.024006 | 0 | 0 | 0 | 0 | 0.005389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.15625 | 0.21875 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
0622be91e71ec680b6eb184671caee406ba87623 | 489 | py | Python | data_loader.py | imdeepmind/GenerateFace | a88268597a42cea87bd8179b3151a222261e64b8 | [
"MIT"
] | null | null | null | data_loader.py | imdeepmind/GenerateFace | a88268597a42cea87bd8179b3151a222261e64b8 | [
"MIT"
] | null | null | null | data_loader.py | imdeepmind/GenerateFace | a88268597a42cea87bd8179b3151a222261e64b8 | [
"MIT"
] | null | null | null | from torch.utils.data import Dataset
from PIL import Image
import torch
import os
class FaceDataset(Dataset):
def __init__(self, path, transform=None):
self.__images = os.listdir(path)
self.__path = path
self.__transform = transform
def __len__(self):
return len(self.__images)
def __getitem... | 24.45 | 71 | 0.711656 | 65 | 489 | 4.923077 | 0.4 | 0.075 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188139 | 489 | 20 | 72 | 24.45 | 0.806045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.25 | 0.0625 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
06299431284ea5f52f9c6bead3c645272c604cd5 | 14,196 | py | Python | src/zope/dublincore/interfaces.py | zopefoundation/zope.dublincore | c6e3478bf14e29070e5b859216a0c215b874f893 | [
"ZPL-2.1"
] | 2 | 2015-02-03T21:22:01.000Z | 2021-02-01T06:13:46.000Z | src/zope/dublincore/interfaces.py | zopefoundation/zope.dublincore | c6e3478bf14e29070e5b859216a0c215b874f893 | [
"ZPL-2.1"
] | 8 | 2015-02-03T14:16:22.000Z | 2020-11-23T07:43:59.000Z | src/zope/dublincore/interfaces.py | zopefoundation/zope.dublincore | c6e3478bf14e29070e5b859216a0c215b874f893 | [
"ZPL-2.1"
] | 1 | 2015-04-03T08:41:24.000Z | 2015-04-03T08:41:24.000Z | ##############################################################################
#
# Copyright (c) 2002 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOF... | 31.616927 | 79 | 0.661736 | 1,559 | 14,196 | 6.014112 | 0.191148 | 0.031677 | 0.038716 | 0.027197 | 0.468003 | 0.458191 | 0.332231 | 0.302368 | 0.212671 | 0.212671 | 0 | 0.001516 | 0.256692 | 14,196 | 448 | 80 | 31.6875 | 0.887036 | 0.571569 | 0 | 0.04 | 0 | 0 | 0.167566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368 | false | 0 | 0.016 | 0 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0631e112bec29f16c5eb17d9c69bab9e634fcc33 | 1,203 | py | Python | backend/django/campsignup/backend/migrations/0018_auto_20200812_1752.py | Ring-deutscher-PfadfinderInnenverbande/campsignup | 1e182322d31dc41083fa06138d709eddc4f448be | [
"MIT"
] | null | null | null | backend/django/campsignup/backend/migrations/0018_auto_20200812_1752.py | Ring-deutscher-PfadfinderInnenverbande/campsignup | 1e182322d31dc41083fa06138d709eddc4f448be | [
"MIT"
] | null | null | null | backend/django/campsignup/backend/migrations/0018_auto_20200812_1752.py | Ring-deutscher-PfadfinderInnenverbande/campsignup | 1e182322d31dc41083fa06138d709eddc4f448be | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-08-12 17:52
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),
('backend', '0017_particip... | 42.964286 | 371 | 0.699917 | 146 | 1,203 | 5.636986 | 0.636986 | 0.029162 | 0.034022 | 0.053463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020812 | 0.201164 | 1,203 | 27 | 372 | 44.555556 | 0.835588 | 0.037406 | 0 | 0.190476 | 1 | 0.047619 | 0.314014 | 0.025087 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
06379da7ba190aa5c83bba0f35c8dcaf9f310e0c | 2,835 | py | Python | awacs/crowd.py | MicrohexHQ/awacs | 91800082135167d1e2e24a7f14b5e5800ef17a83 | [
"BSD-2-Clause"
] | null | null | null | awacs/crowd.py | MicrohexHQ/awacs | 91800082135167d1e2e24a7f14b5e5800ef17a83 | [
"BSD-2-Clause"
] | null | null | null | awacs/crowd.py | MicrohexHQ/awacs | 91800082135167d1e2e24a7f14b5e5800ef17a83 | [
"BSD-2-Clause"
] | null | null | null | # Copyright (c) 2012-2013, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
from aws import Action as BaseAction
from aws import BaseARN
service_name = 'Amazon Mechanical Turk Crowd'
prefix = 'crowd'
class Action(BaseAction):
def __init__(self, action=None):
sup = ... | 39.375 | 70 | 0.8 | 210 | 2,835 | 10.719048 | 0.404762 | 0.007108 | 0.01155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003123 | 0.096296 | 2,835 | 71 | 71 | 39.929577 | 0.875488 | 0.03739 | 0 | 0 | 0 | 0 | 0.305433 | 0.145007 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.033898 | 0 | 0.101695 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
064201ab68fe8026b9f8054b2d6766bf8202e591 | 9,582 | py | Python | data_api/api.py | xpenalosa/Degree-Final-Project | 5d6c1a6aa034c41bf88ae0c8b16d7c0ddb0c3eec | [
"Unlicense"
] | null | null | null | data_api/api.py | xpenalosa/Degree-Final-Project | 5d6c1a6aa034c41bf88ae0c8b16d7c0ddb0c3eec | [
"Unlicense"
] | null | null | null | data_api/api.py | xpenalosa/Degree-Final-Project | 5d6c1a6aa034c41bf88ae0c8b16d7c0ddb0c3eec | [
"Unlicense"
] | null | null | null | #!/usr/bin/python3
import logging
from datetime import datetime, timedelta
import json
import re
from kazoo.client import KazooClient
from kazoo.recipe.lock import Lock, ReadLock
from kazoo.exceptions import LockTimeout, NoNodeError
from data_api.errors import DataApiErrors, DataApiException
class DataAPI():
"""Da... | 28.099707 | 68 | 0.704863 | 1,236 | 9,582 | 5.309871 | 0.188511 | 0.068261 | 0.056986 | 0.014627 | 0.305501 | 0.22505 | 0.206918 | 0.170197 | 0.170197 | 0.146884 | 0 | 0.005325 | 0.196514 | 9,582 | 340 | 69 | 28.182353 | 0.847123 | 0.418389 | 0 | 0.317365 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0.002941 | 0 | 1 | 0.065868 | false | 0.065868 | 0.047904 | 0 | 0.173653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0649416e59c002f159dae001d775831978782720 | 3,935 | py | Python | final_16042020/final_alessandro-reggiani.py | allereggiani22/programming_alessandro_reggiani | 4b8f9ee1805a29cc6cd3a8b8d93bda5a7efb97ea | [
"MIT"
] | 1 | 2020-01-13T13:46:48.000Z | 2020-01-13T13:46:48.000Z | final_16042020/final_alessandro-reggiani.py | allereggiani22/programming_alessandro_reggiani | 4b8f9ee1805a29cc6cd3a8b8d93bda5a7efb97ea | [
"MIT"
] | null | null | null | final_16042020/final_alessandro-reggiani.py | allereggiani22/programming_alessandro_reggiani | 4b8f9ee1805a29cc6cd3a8b8d93bda5a7efb97ea | [
"MIT"
] | null | null | null | """
Pseudocode:
-import s1, s2, BLOSUM62 from input_data.py
-def function that takes as input s1, s2, BLOSUM and gap value to return F (SW) and P matrices
-defining F and P and filling with 0s, no need to initialise first row/column
-iterate SW algorithm
-return F,P
-def function that take F, P, s1 and s2 a... | 43.241758 | 117 | 0.613723 | 679 | 3,935 | 3.530191 | 0.265096 | 0.009178 | 0.008761 | 0.018356 | 0.177722 | 0.147685 | 0.125156 | 0.095953 | 0.050063 | 0.021694 | 0 | 0.032235 | 0.29047 | 3,935 | 90 | 118 | 43.722222 | 0.826289 | 0.242948 | 0 | 0.285714 | 0 | 0.017857 | 0.066856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017857 | null | null | 0.089286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 |
064b361f15c8216c7e88077e123c596203e3f817 | 555 | py | Python | bookbar/auth_app/urls.py | trenev/bookbar | bccfdf52293f7cf105d6768bb2a1a643c9a58bb7 | [
"MIT"
] | null | null | null | bookbar/auth_app/urls.py | trenev/bookbar | bccfdf52293f7cf105d6768bb2a1a643c9a58bb7 | [
"MIT"
] | null | null | null | bookbar/auth_app/urls.py | trenev/bookbar | bccfdf52293f7cf105d6768bb2a1a643c9a58bb7 | [
"MIT"
] | null | null | null | from django.urls import path
from bookbar.auth_app.views import UserRegistrationView, UserLoginView, logout_user, ChangeUserPasswordView, \
ChangeUserEmailView
urlpatterns = (
path('register/', UserRegistrationView.as_view(), name='register user'),
path('login/', UserLoginView.as_view(), name='login user'... | 42.692308 | 110 | 0.735135 | 61 | 555 | 6.57377 | 0.42623 | 0.05985 | 0.099751 | 0.079801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113514 | 555 | 12 | 111 | 46.25 | 0.815041 | 0 | 0 | 0 | 0 | 0 | 0.218018 | 0.03964 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
064b5656f8557e5883dd8696145c8db2cd075ae8 | 4,604 | py | Python | Data Visualization/School/code4.py | ALDOR99/Python | a76f37bb3e573cd3fdcfc19f4f73494cafa9140e | [
"MIT"
] | 2 | 2021-05-27T19:13:02.000Z | 2021-06-02T13:26:35.000Z | Data Visualization/School/code4.py | ALDOR99/Python | a76f37bb3e573cd3fdcfc19f4f73494cafa9140e | [
"MIT"
] | null | null | null | Data Visualization/School/code4.py | ALDOR99/Python | a76f37bb3e573cd3fdcfc19f4f73494cafa9140e | [
"MIT"
] | 1 | 2021-06-07T18:17:35.000Z | 2021-06-07T18:17:35.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Jun 15 13:36:53 2021
@author: ali_d
"""
#code3
import numpy as np
import pandas as pd
# plotly
from plotly.offline import init_notebook_mode, iplot, plot
import plotly as py
init_notebook_mode(connected=True)
import plotly.graph_objs as go
from wordcloud import WordCloud... | 14.75641 | 92 | 0.572763 | 574 | 4,604 | 4.529617 | 0.290941 | 0.030769 | 0.020769 | 0.043846 | 0.668462 | 0.668462 | 0.668462 | 0.668462 | 0.668462 | 0.602308 | 0 | 0.07156 | 0.292789 | 4,604 | 311 | 93 | 14.803859 | 0.726966 | 0.105995 | 0 | 0.62069 | 0 | 0 | 0.145473 | 0.01806 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
064c2f71cbe050b6b37e718ae911c458233562a6 | 479 | py | Python | tests/settings.py | Francislley/CrudDajndo2017.2 | 355a442670d28cd91526fd0127b7a01ce733cf2b | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tests/settings.py | Francislley/CrudDajndo2017.2 | 355a442670d28cd91526fd0127b7a01ce733cf2b | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tests/settings.py | Francislley/CrudDajndo2017.2 | 355a442670d28cd91526fd0127b7a01ce733cf2b | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | SECRET_KEY = 'testing'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
INSTALLED_APPS = [
'django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.admin',
'django.contrib.staticfiles',
'django.contrib.sessions',
'c... | 20.826087 | 71 | 0.643006 | 55 | 479 | 5.527273 | 0.727273 | 0.256579 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002625 | 0.204593 | 479 | 22 | 72 | 21.772727 | 0.795276 | 0.14405 | 0 | 0 | 0 | 0 | 0.539216 | 0.32598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0657e352b713da508a397e3b0b9f84963e91c583 | 301 | py | Python | Old/src/com/up/oop3.py | exchris/Pythonlearn | 174f38a86cf1c85d6fc099005aab3568e7549cd0 | [
"MIT"
] | null | null | null | Old/src/com/up/oop3.py | exchris/Pythonlearn | 174f38a86cf1c85d6fc099005aab3568e7549cd0 | [
"MIT"
] | 1 | 2018-11-27T09:58:54.000Z | 2018-11-27T09:58:54.000Z | Old/src/com/up/oop3.py | exchris/pythonlearn | 174f38a86cf1c85d6fc099005aab3568e7549cd0 | [
"MIT"
] | null | null | null | # -*- coding:UTF-8 -*-
class Person(object):
def __init__(self,name,gender,birth,job):
self.name = name
self.gender = gender
self.birth = birth
self.job = job
xiaoming = Person('Xiao Ming', 'Male', '1990-1-1', job='Student')
print xiaoming.name
print xiaoming.job | 25.083333 | 65 | 0.621262 | 41 | 301 | 4.463415 | 0.512195 | 0.087432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030043 | 0.225914 | 301 | 12 | 66 | 25.083333 | 0.755365 | 0.066445 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
065a36ba274adc42303ce240127779695fadeb05 | 899 | py | Python | web/mainApp/migrations/0001_initial.py | njw1204/golf-online-judge | adb22653c457e97d5a239aa562725144235a2ab8 | [
"MIT"
] | 3 | 2019-07-22T20:00:07.000Z | 2021-12-17T17:54:09.000Z | web/mainApp/migrations/0001_initial.py | njw1204/golf-online-judge | adb22653c457e97d5a239aa562725144235a2ab8 | [
"MIT"
] | null | null | null | web/mainApp/migrations/0001_initial.py | njw1204/golf-online-judge | adb22653c457e97d5a239aa562725144235a2ab8 | [
"MIT"
] | 2 | 2019-06-18T18:41:10.000Z | 2021-04-15T09:57:31.000Z | # Generated by Django 2.1.8 on 2019-04-28 10:47
from django.db import migrations, models
import mainApp.models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='ProblemPost',
fields=[
... | 32.107143 | 114 | 0.606229 | 90 | 899 | 5.911111 | 0.644444 | 0.067669 | 0.101504 | 0.135338 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048558 | 0.266963 | 899 | 27 | 115 | 33.296296 | 0.758725 | 0.050056 | 0 | 0 | 1 | 0 | 0.078639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
066a6ecaf81a95bd428e102c57d2580b02a5ba55 | 8,113 | py | Python | src/ostorlab/agent/message/proto/v3/asset/ip/v4/geolocation/geolocation_pb2.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 113 | 2022-02-21T09:30:14.000Z | 2022-03-31T21:54:26.000Z | src/ostorlab/agent/message/proto/v3/asset/ip/v4/geolocation/geolocation_pb2.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 2 | 2022-02-25T10:56:55.000Z | 2022-03-24T13:08:06.000Z | src/ostorlab/agent/message/proto/v3/asset/ip/v4/geolocation/geolocation_pb2.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 20 | 2022-02-28T14:25:04.000Z | 2022-03-30T23:01:11.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: v3/asset/ip/v4/geolocation/geolocation.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.proto... | 48.291667 | 710 | 0.72957 | 1,147 | 8,113 | 4.940715 | 0.139494 | 0.064937 | 0.036527 | 0.081172 | 0.68943 | 0.677784 | 0.662961 | 0.642845 | 0.577554 | 0.529204 | 0 | 0.048832 | 0.129175 | 8,113 | 167 | 711 | 48.580838 | 0.753291 | 0.031431 | 0 | 0.554054 | 1 | 0.006757 | 0.214722 | 0.184794 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033784 | 0 | 0.033784 | 0 | 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 |
06700b590dcc47592c65834acabe47782bd4ec63 | 2,383 | py | Python | world/dominion/migrations/0031_auto_20180804_2115.py | stesla/arxcode | a0ebf7c4d310de8c1980a8ba2a48948a68bb5a0a | [
"MIT"
] | 5 | 2019-03-16T08:26:53.000Z | 2019-11-27T15:42:16.000Z | world/dominion/migrations/0031_auto_20180804_2115.py | stesla/arxcode | a0ebf7c4d310de8c1980a8ba2a48948a68bb5a0a | [
"MIT"
] | 7 | 2018-09-29T05:08:15.000Z | 2021-06-10T21:35:32.000Z | world/dominion/migrations/0031_auto_20180804_2115.py | stesla/arxcode | a0ebf7c4d310de8c1980a8ba2a48948a68bb5a0a | [
"MIT"
] | 7 | 2018-09-19T21:11:29.000Z | 2019-11-19T12:46:14.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-08-04 21:15
from __future__ import unicode_literals
from django.db import migrations, models
def convert_modifiers_to_influence(apps, schema_editor):
from django.db.models import F
Organization = apps.get_model('dominion', 'Organization')
Organ... | 33.097222 | 106 | 0.596307 | 211 | 2,383 | 6.507109 | 0.336493 | 0.06555 | 0.12236 | 0.145666 | 0.571741 | 0.539694 | 0.388201 | 0.224326 | 0.212673 | 0.120903 | 0 | 0.031026 | 0.296685 | 2,383 | 71 | 107 | 33.56338 | 0.788186 | 0.028535 | 0 | 0.596774 | 1 | 0 | 0.189014 | 0.020761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016129 | false | 0 | 0.048387 | 0 | 0.112903 | 0 | 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 |
0670c5a5fe9ae16928e3705c60cd1a58c8a4c92a | 1,490 | py | Python | board/migrations/0001_initial.py | ev350/webchess | 50a23a47f03de4cab33767ac8cc23f743d354fa5 | [
"MIT"
] | null | null | null | board/migrations/0001_initial.py | ev350/webchess | 50a23a47f03de4cab33767ac8cc23f743d354fa5 | [
"MIT"
] | 5 | 2018-05-12T17:29:11.000Z | 2018-06-23T14:22:24.000Z | board/migrations/0001_initial.py | ev350/webchess | 50a23a47f03de4cab33767ac8cc23f743d354fa5 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.5 on 2018-05-12 23:42
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 39.210526 | 130 | 0.614094 | 164 | 1,490 | 5.426829 | 0.45122 | 0.035955 | 0.047191 | 0.074157 | 0.370787 | 0.370787 | 0.296629 | 0.296629 | 0.296629 | 0.177528 | 0 | 0.022442 | 0.252349 | 1,490 | 37 | 131 | 40.27027 | 0.776481 | 0.030201 | 0 | 0.333333 | 1 | 0 | 0.106029 | 0.029799 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.233333 | 0 | 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 |
0671e85cf1d1be82c5d6d702e01485edb93f61d2 | 1,987 | py | Python | openstack_exporter/BaseCollector.py | sapcc/openstack-exporter | d9472fcf5790bd02664bf57a890ca4d3eab73960 | [
"Apache-2.0"
] | null | null | null | openstack_exporter/BaseCollector.py | sapcc/openstack-exporter | d9472fcf5790bd02664bf57a890ca4d3eab73960 | [
"Apache-2.0"
] | 3 | 2020-10-22T14:49:22.000Z | 2022-03-23T13:53:51.000Z | openstack_exporter/BaseCollector.py | sapcc/openstack-exporter | d9472fcf5790bd02664bf57a890ca4d3eab73960 | [
"Apache-2.0"
] | null | null | null | # All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 31.539683 | 78 | 0.667338 | 239 | 1,987 | 5.426778 | 0.468619 | 0.077101 | 0.032382 | 0.039322 | 0.035466 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.239054 | 1,987 | 62 | 79 | 32.048387 | 0.851852 | 0.304479 | 0 | 0.210526 | 0 | 0 | 0.15176 | 0.019795 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.078947 | 0.131579 | 0 | 0.289474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0679e338380b9ea02aa378e254fa20ca3cb8a03c | 224 | py | Python | Pacote download/ex012.py | SheilaLCC/Python-no-celular-android | e49b509da37714f0d05c153e947af468cdbef9fe | [
"MIT"
] | 2 | 2022-01-12T15:20:30.000Z | 2022-03-13T23:07:58.000Z | Pacote download/ex012.py | SheilaLCC/Python-no-celular-android | e49b509da37714f0d05c153e947af468cdbef9fe | [
"MIT"
] | null | null | null | Pacote download/ex012.py | SheilaLCC/Python-no-celular-android | e49b509da37714f0d05c153e947af468cdbef9fe | [
"MIT"
] | null | null | null | #crie um programa que leia o preço de um
#produto e mostre seu novo preço com 5%
#de desconto
p=float(input('Digite o preço do produto:R$ '))
pn=p-(p*5/100)
print ('O novo preço com desconto de 5% é:R$ {:.2f}'.format (pn))
| 32 | 65 | 0.683036 | 46 | 224 | 3.326087 | 0.608696 | 0.078431 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037634 | 0.169643 | 224 | 6 | 66 | 37.333333 | 0.784946 | 0.392857 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
067a5e96c9e5811e431a9520c09c70d269fa0a4d | 339 | py | Python | developmentHub/contacts/admin.py | MariiaBel/developmentHub | 74474e5543a37350049dea8a304d9ced13d3660d | [
"BSD-3-Clause"
] | null | null | null | developmentHub/contacts/admin.py | MariiaBel/developmentHub | 74474e5543a37350049dea8a304d9ced13d3660d | [
"BSD-3-Clause"
] | null | null | null | developmentHub/contacts/admin.py | MariiaBel/developmentHub | 74474e5543a37350049dea8a304d9ced13d3660d | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Contact
class ContactAdmin(admin.ModelAdmin):
list_display = ("name", "email", "subject", "body", "is_answered")
# добавляем интерфейс для поиска по тексту постов
search_fields = ("email",)
empty_value_display = "-пусто-"
admin.site.register(Con... | 30.818182 | 71 | 0.722714 | 40 | 339 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 339 | 11 | 72 | 30.818182 | 0.842105 | 0.138643 | 0 | 0 | 0 | 0 | 0.147766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
067b57b5fcb9714446093a5cc9f8697160d3918e | 2,806 | py | Python | gitlab/gitlab_mgr/gitlabmgr.py | charlessoft/docker_script | 5c9af6fe7c87cf7dc272d3ce05b96e996fd5fc87 | [
"Apache-2.0"
] | null | null | null | gitlab/gitlab_mgr/gitlabmgr.py | charlessoft/docker_script | 5c9af6fe7c87cf7dc272d3ce05b96e996fd5fc87 | [
"Apache-2.0"
] | null | null | null | gitlab/gitlab_mgr/gitlabmgr.py | charlessoft/docker_script | 5c9af6fe7c87cf7dc272d3ce05b96e996fd5fc87 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import click
import gitlab
from colored import fg, bg, attr
from core import gitlabwrapper
from config import Config
from configparser import ConfigParser
from core.utils import read_config, print_green, print_red, create_gl
g_namespace_lst = {}
from prettytable import PrettyTable
# def re... | 25.743119 | 95 | 0.624733 | 383 | 2,806 | 4.407311 | 0.29765 | 0.037322 | 0.047393 | 0.05628 | 0.264218 | 0.171209 | 0.136848 | 0.074645 | 0.035545 | 0 | 0 | 0.002742 | 0.220242 | 2,806 | 108 | 96 | 25.981481 | 0.768739 | 0.163222 | 0 | 0.304348 | 0 | 0 | 0.11006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072464 | false | 0.072464 | 0.115942 | 0 | 0.202899 | 0.144928 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
068385efca2856ded22bcb8cce1f8b92076783ce | 6,879 | py | Python | app/main/forms.py | zhuojianyun/ubuntukgt | d04d253b485c03e21fb5626205f292df112dccbb | [
"MIT"
] | null | null | null | app/main/forms.py | zhuojianyun/ubuntukgt | d04d253b485c03e21fb5626205f292df112dccbb | [
"MIT"
] | null | null | null | app/main/forms.py | zhuojianyun/ubuntukgt | d04d253b485c03e21fb5626205f292df112dccbb | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, TextAreaField, BooleanField, SelectField,\
SubmitField,IntegerField,DateField
from wtforms.validators import DataRequired, Length, Email, Regexp
from wtforms import ValidationError
from flask_pagedown.fields import PageDownField
from ..models im... | 42.99375 | 79 | 0.653002 | 649 | 6,879 | 6.893683 | 0.29584 | 0.113098 | 0.083594 | 0.093429 | 0.574207 | 0.536209 | 0.446357 | 0.372374 | 0.372374 | 0.372374 | 0 | 0.014151 | 0.198721 | 6,879 | 159 | 80 | 43.264151 | 0.797533 | 0.175462 | 0 | 0.321739 | 0 | 0 | 0.097103 | 0.004372 | 0 | 0 | 0 | 0.006289 | 0 | 1 | 0.026087 | false | 0 | 0.052174 | 0 | 0.86087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0688abce3e934249ce6c97bba6efb253d1740e95 | 2,010 | py | Python | misc/main.py | vishalbelsare/interpolation.py | 116d144700a1c78b5ad86eee097d064610be8325 | [
"BSD-2-Clause"
] | 110 | 2015-03-16T05:40:06.000Z | 2022-03-17T22:32:51.000Z | misc/main.py | vishalbelsare/interpolation.py | 116d144700a1c78b5ad86eee097d064610be8325 | [
"BSD-2-Clause"
] | 70 | 2016-01-18T11:51:30.000Z | 2021-09-27T13:21:41.000Z | misc/main.py | vishalbelsare/interpolation.py | 116d144700a1c78b5ad86eee097d064610be8325 | [
"BSD-2-Clause"
] | 32 | 2016-06-15T16:27:21.000Z | 2022-03-24T16:33:16.000Z | if True:
import numpy as np
d = 3
K = 50
N = 10 ** 6
a = np.zeros(3)
b = np.ones(3)
orders = np.array([K for i in range(d)])
coeffs = np.random.random([k + 2 for k in orders])
points = np.random.random((N, d)) # each line is a vector
points_c = points.T.copy() # each column i... | 36.545455 | 83 | 0.651244 | 318 | 2,010 | 3.918239 | 0.232704 | 0.134831 | 0.202247 | 0.134831 | 0.577047 | 0.561798 | 0.561798 | 0.544141 | 0.52488 | 0.52488 | 0 | 0.026465 | 0.210448 | 2,010 | 54 | 84 | 37.222222 | 0.758664 | 0.078607 | 0 | 0.222222 | 0 | 0 | 0.066739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.088889 | 0 | 0.088889 | 0.2 | 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 |
068db5f85677758fda292c1c8ed782424fbdc715 | 494 | py | Python | ews/migrations/0008_auto_20200731_0820.py | mrustl/plattform | 7c9fce2a697b7c9d3de0bd08382571ed89469281 | [
"MIT"
] | null | null | null | ews/migrations/0008_auto_20200731_0820.py | mrustl/plattform | 7c9fce2a697b7c9d3de0bd08382571ed89469281 | [
"MIT"
] | 3 | 2021-06-07T10:30:55.000Z | 2021-06-07T14:00:32.000Z | ews/migrations/0008_auto_20200731_0820.py | mrustl/plattform | 7c9fce2a697b7c9d3de0bd08382571ed89469281 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-07-31 06:20
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('ews', '0007_auto_20200729_1039'),
]
operations = [
migrations.AlterField(
model_name='featureda... | 24.7 | 123 | 0.645749 | 57 | 494 | 5.491228 | 0.666667 | 0.076677 | 0.089457 | 0.140575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081794 | 0.232794 | 494 | 19 | 124 | 26 | 0.744063 | 0.091093 | 0 | 0 | 1 | 0 | 0.138702 | 0.051454 | 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 |
0697e6d51a78ae7b1c4868e96ff0b634b1314e46 | 3,759 | py | Python | touchdown/tests/test_aws_elb_load_balancer.py | yaybu/touchdown | 70ecda5191ce2d095bc074dcb23bfa1584464814 | [
"Apache-2.0"
] | 14 | 2015-01-05T18:18:04.000Z | 2022-02-07T19:35:12.000Z | touchdown/tests/test_aws_elb_load_balancer.py | yaybu/touchdown | 70ecda5191ce2d095bc074dcb23bfa1584464814 | [
"Apache-2.0"
] | 106 | 2015-01-06T00:17:13.000Z | 2019-09-07T00:35:32.000Z | touchdown/tests/test_aws_elb_load_balancer.py | yaybu/touchdown | 70ecda5191ce2d095bc074dcb23bfa1584464814 | [
"Apache-2.0"
] | 5 | 2015-01-30T10:18:24.000Z | 2022-02-07T19:35:13.000Z | # Copyright 2015 Isotoma Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 33.864865 | 88 | 0.651237 | 405 | 3,759 | 5.730864 | 0.293827 | 0.211978 | 0.090478 | 0.118914 | 0.605343 | 0.582077 | 0.582077 | 0.567428 | 0.54847 | 0.54847 | 0 | 0.004708 | 0.265496 | 3,759 | 110 | 89 | 34.172727 | 0.835929 | 0.146316 | 0 | 0.540541 | 0 | 0 | 0.061659 | 0.008451 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.054054 | false | 0 | 0.027027 | 0 | 0.108108 | 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 |
06a87a14f775f772ea8a415d8274858d0fe71c88 | 982 | py | Python | intro.py | tydyus/HardZone_enjam2017_exterieur | 6966389bbfd2176a3466c0e7191d88e87e3457af | [
"MIT"
] | null | null | null | intro.py | tydyus/HardZone_enjam2017_exterieur | 6966389bbfd2176a3466c0e7191d88e87e3457af | [
"MIT"
] | null | null | null | intro.py | tydyus/HardZone_enjam2017_exterieur | 6966389bbfd2176a3466c0e7191d88e87e3457af | [
"MIT"
] | null | null | null | import pygame
from pygame.locals import *
import time
from assets import *
from terrain import *
from player import *
from pnj import *
from carte import *
class intro():
time = 0
end = 670
def intro():
intro.time += 1
# arrivé dans le monde
s1 = 35
#vue du hl
s2 = ... | 23.380952 | 44 | 0.510183 | 131 | 982 | 3.824427 | 0.381679 | 0.143713 | 0.131737 | 0.189621 | 0.293413 | 0.293413 | 0.219561 | 0.169661 | 0.115768 | 0 | 0 | 0.090469 | 0.369654 | 982 | 41 | 45 | 23.95122 | 0.718901 | 0.068228 | 0 | 0 | 0 | 0 | 0.039691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.25 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
06acef4dad7a22308dcda78076df6778baa86028 | 387 | py | Python | app1/migrations/0004_auto_20200131_1129.py | awzdevelopers/FlightStrips_django | f7d89be6804c583bc9d2a86822b3538d8a340e92 | [
"MIT"
] | null | null | null | app1/migrations/0004_auto_20200131_1129.py | awzdevelopers/FlightStrips_django | f7d89be6804c583bc9d2a86822b3538d8a340e92 | [
"MIT"
] | null | null | null | app1/migrations/0004_auto_20200131_1129.py | awzdevelopers/FlightStrips_django | f7d89be6804c583bc9d2a86822b3538d8a340e92 | [
"MIT"
] | 1 | 2019-07-17T11:53:37.000Z | 2019-07-17T11:53:37.000Z | # Generated by Django 2.0.3 on 2020-01-31 07:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app1', '0003_auto_20200129_0337'),
]
operations = [
migrations.AlterField(
model_name='flight',
name='stripImage',
... | 20.368421 | 50 | 0.594315 | 41 | 387 | 5.487805 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 0.286822 | 387 | 18 | 51 | 21.5 | 0.699275 | 0.116279 | 0 | 0 | 1 | 0 | 0.126471 | 0.067647 | 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 |
06ad8916ff463408fd38fdd3b0644bb6c948b9d9 | 1,008 | py | Python | _includes/code/shopping/cart.py | rajat19/grokking-system-design | 4c5834ff9f3f7a9586bd732ab6fe0bc879243b3b | [
"MIT"
] | 4 | 2020-12-11T17:28:45.000Z | 2021-12-23T12:01:19.000Z | _includes/code/shopping/cart.py | rajat19/grokking-system-design | 4c5834ff9f3f7a9586bd732ab6fe0bc879243b3b | [
"MIT"
] | 1 | 2020-11-27T11:30:42.000Z | 2020-11-27T11:30:42.000Z | _includes/code/shopping/cart.py | rajat19/system-design | 4c5834ff9f3f7a9586bd732ab6fe0bc879243b3b | [
"MIT"
] | null | null | null | class Item:
def __init__(self, id, quantity, price):
self.__product_id = id
self.__quantity = quantity
self.__price = price
def update_quantity(self, quantity):
None
class ShoppingCart:
def __init__(self):
self.__items = []
def add_item(self, item):
None
def remove_item(self, item... | 19.384615 | 63 | 0.695437 | 132 | 1,008 | 4.848485 | 0.265152 | 0.098438 | 0.06875 | 0.05 | 0.328125 | 0.190625 | 0.190625 | 0.190625 | 0.190625 | 0.190625 | 0 | 0.001255 | 0.209325 | 1,008 | 52 | 64 | 19.384615 | 0.801757 | 0 | 0 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.351351 | false | 0 | 0 | 0.027027 | 0.486486 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.