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
c8b243efd063fed8dd957b4317b0331cf4e761c9
1,505
py
Python
network_utils/client.py
elerson/NetworkedRobotsProject
d2b9d0a121c5421a40e806a93e6a8f1315f24441
[ "MIT" ]
null
null
null
network_utils/client.py
elerson/NetworkedRobotsProject
d2b9d0a121c5421a40e806a93e6a8f1315f24441
[ "MIT" ]
null
null
null
network_utils/client.py
elerson/NetworkedRobotsProject
d2b9d0a121c5421a40e806a93e6a8f1315f24441
[ "MIT" ]
null
null
null
#!/usr/bin/python from Routing import Routing from network import Network import time class Client: def __init__(self, essid, yaml_file): self.routing = Routing(essid, yaml_file) self.network = Network() self.my_id = self.routing.getID() self.all_ids = self.getAllIDs(yaml_file) # self....
28.942308
96
0.607309
208
1,505
4.173077
0.264423
0.041475
0.0553
0.097926
0.251152
0.223502
0.131336
0.073733
0
0
0
0.014965
0.245183
1,505
51
97
29.509804
0.74912
0.010631
0
0.075
0
0
0.035088
0
0
0
0
0
0
0
null
null
0
0.075
null
null
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c8c032ae85c612c75ac712318b4796958b5dd32d
2,574
py
Python
jedeschule/pipelines/db_pipeline.py
k-nut/jedeschule-scraper
feb8141513174b1fc0c52433dcc8d99f0a141586
[ "MIT" ]
15
2017-03-15T11:06:13.000Z
2022-02-10T12:20:56.000Z
jedeschule/pipelines/db_pipeline.py
k-nut/jedeschule-scraper
feb8141513174b1fc0c52433dcc8d99f0a141586
[ "MIT" ]
80
2016-11-29T14:42:46.000Z
2021-08-14T15:41:18.000Z
jedeschule/pipelines/db_pipeline.py
k-nut/jedeschule-scraper
feb8141513174b1fc0c52433dcc8d99f0a141586
[ "MIT" ]
14
2017-06-06T14:36:26.000Z
2021-09-26T12:39:04.000Z
from __future__ import annotations # needed so that update_or_create can define School return type import logging import os from geoalchemy2 import Geometry, WKTElement from sqlalchemy import String, Column, JSON from sqlalchemy.exc import SQLAlchemyError from sqlalchemy.ext.declarative import declarative_base from ...
31.390244
105
0.676379
302
2,574
5.625828
0.357616
0.098882
0.02472
0.021189
0.02472
0
0
0
0
0
0
0.003011
0.225719
2,574
81
106
31.777778
0.849473
0.023699
0
0.030303
0
0
0.058941
0
0
0
0
0
0
1
0.075758
false
0
0.166667
0.015152
0.590909
0
0
0
0
null
0
0
0
0
0
0
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
c8c1ac1aa353cae35edc36c11a411a95ea49fa32
444
py
Python
src/www/views.py
RogerTangos/datahub-stub
8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89
[ "MIT" ]
null
null
null
src/www/views.py
RogerTangos/datahub-stub
8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89
[ "MIT" ]
null
null
null
src/www/views.py
RogerTangos/datahub-stub
8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89
[ "MIT" ]
null
null
null
from django.shortcuts import render_to_response from django.http import HttpResponse import json ''' @author: Anant Bhardwaj @date: Mar 21, 2013 Datahub Console ''' def index(request): try: c = {'login': request.user.get_username()} return render_to_response("index.html", c) except Exception...
21.142857
50
0.65991
55
444
5.218182
0.727273
0.069686
0.111498
0
0
0
0
0
0
0
0
0.017442
0.225225
444
20
51
22.2
0.81686
0
0
0
0
0
0.095745
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c8c288baca22d67287c0e3be005027c1d54850b7
1,464
py
Python
examples/gallery/submaps_and_cropping.py
s0nskar/sunpy
60ca4792ded4c3938a78da7055cf2c20e0e8ccfd
[ "MIT" ]
null
null
null
examples/gallery/submaps_and_cropping.py
s0nskar/sunpy
60ca4792ded4c3938a78da7055cf2c20e0e8ccfd
[ "MIT" ]
null
null
null
examples/gallery/submaps_and_cropping.py
s0nskar/sunpy
60ca4792ded4c3938a78da7055cf2c20e0e8ccfd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ ========================================= Submaps and Cropping ========================================= In this example we demonstrate how to get a submap of a map. """ ############################################################################## # Start by importing the necessary module...
35.707317
88
0.511612
162
1,464
4.518519
0.518519
0.057377
0.065574
0.043716
0.101093
0
0
0
0
0
0
0.009112
0.10041
1,464
41
89
35.707317
0.546697
0.386612
0
0.153846
0
0
0
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.384615
0
0
0
null
0
0
0
0
0
0
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
c8c31d3f5be2c6d93b5d7ac19b236edd3cb44a7d
630
py
Python
examples/basic/views.py
jeromelebleu/django-tapeforms
72d141a904ece6568c081591e902d040b353b0b9
[ "MIT" ]
null
null
null
examples/basic/views.py
jeromelebleu/django-tapeforms
72d141a904ece6568c081591e902d040b353b0b9
[ "MIT" ]
1
2018-12-10T09:12:36.000Z
2018-12-10T09:12:36.000Z
examples/basic/views.py
jeromelebleu/django-tapeforms
72d141a904ece6568c081591e902d040b353b0b9
[ "MIT" ]
null
null
null
from django.views.generic import FormView from .forms import ( SimpleBootstrapForm, SimpleForm, SimpleMultiWidgetForm, SimpleWithOverridesForm) class SimpleView(FormView): form_class = SimpleForm template_name = 'basic/simple_view.html' class SimpleWithOverridesView(FormView): form_class = SimpleWi...
25.2
84
0.788889
61
630
7.95082
0.393443
0.098969
0.140206
0.142268
0.212371
0.212371
0.148454
0
0
0
0
0
0.14127
630
24
85
26.25
0.896488
0
0
0.2
0
0
0.144444
0.144444
0
0
0
0
0
1
0
false
0
0.133333
0
0.933333
0
0
0
0
null
0
0
0
0
0
0
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
c8c46c77ecde806a5338e1dbc4dc662f1b199d59
791
py
Python
radical_translations/agents/migrations/0013_merge_libraries.py
kingsdigitallab/radical_translations
c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a
[ "MIT" ]
3
2022-02-08T18:03:44.000Z
2022-03-18T18:10:43.000Z
radical_translations/agents/migrations/0013_merge_libraries.py
kingsdigitallab/radical_translations
c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a
[ "MIT" ]
19
2020-05-11T15:36:35.000Z
2022-02-08T11:26:40.000Z
radical_translations/agents/migrations/0013_merge_libraries.py
kingsdigitallab/radical_translations
c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2021-01-13 10:12 from django.db import migrations def merge_libraries(apps, schema_editor): Organisation = apps.get_model("agents", "Organisation") try: libraries = Organisation.objects.filter(name="British Library").order_by("id") first = libraries.first() ...
22.6
86
0.664981
90
791
5.755556
0.633333
0.081081
0
0
0
0
0
0
0
0
0
0.032733
0.22756
791
34
87
23.264706
0.815057
0.058154
0
0.090909
1
0
0.0821
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c8c48cdc9e7f8a4333860c39fc739030e558d972
8,590
py
Python
csv_parse.py
conradmuan/csv-parser
b43d47f49f00282cc4aa45cee6ae0b6c3cdc6d50
[ "Unlicense" ]
null
null
null
csv_parse.py
conradmuan/csv-parser
b43d47f49f00282cc4aa45cee6ae0b6c3cdc6d50
[ "Unlicense" ]
null
null
null
csv_parse.py
conradmuan/csv-parser
b43d47f49f00282cc4aa45cee6ae0b6c3cdc6d50
[ "Unlicense" ]
null
null
null
import sys import os import json import csv # Const - list of files CSV_FILES = [] # Header row for the final file OUTPUT_HEADER = ['Outlet Type', 'Outlet', 'Link', 'Date', 'AuthorId', 'AuthorName', 'Followers', 'Region', 'Title', 'Snippet'] # Output File handler OUTPUT_FILE_HANDLER = '' # w or a depending on if ex...
42.736318
381
0.594179
1,068
8,590
4.569288
0.228464
0.092213
0.094057
0.098361
0.420902
0.407377
0.390984
0.381352
0.364959
0.364959
0
0.002294
0.289523
8,590
200
382
42.95
0.797313
0.114552
0
0.38
0
0
0.156638
0.003563
0
0
0
0.005
0
0
null
null
0
0.026667
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c8ca5d81c24204a42ec3b4f5527728c07e369ea1
2,245
py
Python
nordnet/tests/test_session.py
vegardde/funStuff
ba02747df7f051ee5b72de99d6717a63c3a0bcf7
[ "MIT" ]
null
null
null
nordnet/tests/test_session.py
vegardde/funStuff
ba02747df7f051ee5b72de99d6717a63c3a0bcf7
[ "MIT" ]
null
null
null
nordnet/tests/test_session.py
vegardde/funStuff
ba02747df7f051ee5b72de99d6717a63c3a0bcf7
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Unit tests for all session-related stuff """ import pprint import socket import ssl import json from nordnet.restsession import * def test_make_hash(): """ Testing to make a hash-key """ hashkey = make_hash() print hashkey def test_connect(): """ Connecting to the HTTP s...
23.882979
119
0.592428
258
2,245
5.023256
0.356589
0.054012
0.034722
0.023148
0.123457
0.095679
0.095679
0.095679
0.095679
0
0
0.003086
0.278396
2,245
93
120
24.139785
0.796914
0.034298
0
0.213115
0
0
0.181537
0
0
0
0
0
0
0
null
null
0
0.081967
null
null
0.213115
0
0
0
null
0
0
0
0
0
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
c8caf588d45105ad1afc8f39cc447c9f76139f3c
3,288
py
Python
nblog/config/urls.py
NestorMonroy/BlogTemplate
82dfc7eb26e8a8ff0d51f29176c3b4d537092be7
[ "MIT" ]
null
null
null
nblog/config/urls.py
NestorMonroy/BlogTemplate
82dfc7eb26e8a8ff0d51f29176c3b4d537092be7
[ "MIT" ]
8
2020-07-22T02:06:35.000Z
2021-09-22T19:22:27.000Z
nblog/config/urls.py
NestorMonroy/BlogTemplate
82dfc7eb26e8a8ff0d51f29176c3b4d537092be7
[ "MIT" ]
null
null
null
"""nblog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
37.793103
112
0.683698
444
3,288
4.948198
0.252252
0.029131
0.08193
0.118343
0.330451
0.264907
0.152936
0.099681
0.078289
0.078289
0
0.008015
0.165146
3,288
86
113
38.232558
0.79235
0.260341
0
0.040816
0
0.020408
0.285537
0.145868
0
0
0
0
0
1
0
false
0.244898
0.22449
0
0.22449
0
0
0
0
null
0
0
0
0
0
0
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
c8d06129ec49eeed15f76cb335883bae665459c4
2,853
py
Python
cloudcafe/designate/v1/server_api/client.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
null
null
null
cloudcafe/designate/v1/server_api/client.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
null
null
null
cloudcafe/designate/v1/server_api/client.py
rcbops-qa/cloudcafe
d937f85496aadafbb94a330b9adb8ea18bee79ba
[ "Apache-2.0" ]
1
2020-04-13T17:44:28.000Z
2020-04-13T17:44:28.000Z
""" Copyright 2013 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
40.757143
77
0.667368
324
2,853
5.641975
0.330247
0.139497
0.035558
0.092998
0.413567
0.365427
0.327133
0.254923
0.188184
0.188184
0
0.006027
0.243954
2,853
69
78
41.347826
0.841446
0.228181
0
0.368421
0
0
0.017059
0
0
0
0
0
0
1
0.210526
false
0
0.078947
0.052632
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c8d972e67d7e34c6a1d354b7d675237fafdce0b5
1,330
py
Python
mdmm/settings/production.py
aminabromand/mdmm
e8f995e886b4042d33079977935a0ad546fa82e3
[ "Apache-2.0" ]
null
null
null
mdmm/settings/production.py
aminabromand/mdmm
e8f995e886b4042d33079977935a0ad546fa82e3
[ "Apache-2.0" ]
6
2020-02-11T23:39:54.000Z
2021-09-08T00:43:26.000Z
mdmm/settings/production.py
aminabromand/mdmm
e8f995e886b4042d33079977935a0ad546fa82e3
[ "Apache-2.0" ]
null
null
null
""" Django settings for rpamanager project. Generated by 'django-admin startproject' using Django 1.11.4. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import...
27.142857
87
0.735338
194
1,330
4.943299
0.510309
0.015641
0.114703
0.130344
0.232534
0.20438
0.20438
0.20438
0.085506
0
0
0.018119
0.128571
1,330
48
88
27.708333
0.809318
0.627068
0
0
1
0
0.154812
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
0
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
c8d9d9dafa74e07c7d3b57b5d4a6ee8ac181ed63
2,191
py
Python
gb_clasiifier.py
pranjaypatil/Click-Through-Rate-Prediction
2cbac2561c2c7ac60875614bcaff4e1dbc4b14fc
[ "MIT" ]
3
2017-05-10T13:57:23.000Z
2019-10-26T09:14:02.000Z
gb_clasiifier.py
pranjaypatil/Click-Through-Rate-Prediction
2cbac2561c2c7ac60875614bcaff4e1dbc4b14fc
[ "MIT" ]
null
null
null
gb_clasiifier.py
pranjaypatil/Click-Through-Rate-Prediction
2cbac2561c2c7ac60875614bcaff4e1dbc4b14fc
[ "MIT" ]
3
2016-12-22T09:19:06.000Z
2019-07-17T16:00:50.000Z
from pyspark.sql import SparkSession, SQLContext from pyspark.ml.classification import RandomForestClassifier, RandomForestClassificationModel from pyspark.ml.evaluation import MulticlassClassificationEvaluator from pyspark.ml.classification import GBTClassifier import sys def main(): spark = SparkSession \ ...
37.135593
109
0.677316
197
2,191
7.385787
0.431472
0.028866
0.026804
0.131959
0.296907
0.251546
0.074227
0
0
0
0
0.011461
0.20356
2,191
59
110
37.135593
0.82235
0.114103
0
0
0
0
0.193164
0.027965
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.171429
0
0
0
null
0
0
0
0
0
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
c8ebf391866de8db49469e93294c5548f5c65316
2,657
py
Python
conch/analysis/pitch/praat.py
mmcauliffe/Conch
7668612d7a610d0f5ae3332f990e71b26c5e8b34
[ "MIT" ]
33
2015-06-10T19:36:54.000Z
2017-09-18T23:57:46.000Z
conch/analysis/pitch/praat.py
mmcauliffe/Conch
7668612d7a610d0f5ae3332f990e71b26c5e8b34
[ "MIT" ]
5
2015-03-22T07:05:21.000Z
2017-08-16T03:48:19.000Z
conch/analysis/pitch/praat.py
mmcauliffe/Conch
7668612d7a610d0f5ae3332f990e71b26c5e8b34
[ "MIT" ]
10
2015-04-29T05:51:51.000Z
2017-07-12T18:52:18.000Z
import os from ..praat import PraatAnalysisFunction from pyraat.parse_outputs import parse_track_script_output def track_pulse_parse_output(text): track_text = [] pulse_text = [] blank_count = 0 add_track = True for line in text.splitlines(): line = line.strip() if line: ...
40.257576
108
0.668047
331
2,657
4.978852
0.217523
0.048544
0.033981
0.038835
0.648058
0.648058
0.648058
0.648058
0.648058
0.648058
0
0.024963
0.246142
2,657
65
109
40.876923
0.797803
0
0
0.491228
0
0
0.0414
0.034249
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
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
c8ecda783b1738bb0a20c8c82fb400b51115172e
2,907
py
Python
source/frontend/resources/user_assistance.py
aaronkurz/hitl-ab-bpm
36b00f147e7809768250edf76396cc549a28d971
[ "MIT" ]
1
2022-03-26T14:44:35.000Z
2022-03-26T14:44:35.000Z
source/frontend/resources/user_assistance.py
aaronkurz/hitl-ab-bpm
36b00f147e7809768250edf76396cc549a28d971
[ "MIT" ]
9
2022-03-24T16:16:45.000Z
2022-03-29T07:35:51.000Z
source/frontend/resources/user_assistance.py
aaronkurz/hitl-ab-bpm
36b00f147e7809768250edf76396cc549a28d971
[ "MIT" ]
1
2022-03-30T19:36:04.000Z
2022-03-30T19:36:04.000Z
""" User assistance/help texts """ AGGREGATE_DATA = """ Here you can see an overview and aggregated data over all batches. Please note that only \ the data from instances that are part of experimental batches is considered here, not data from instances that \ have been started in between batches. """ CUSTOMER_CATEGOR...
36.797468
117
0.762298
454
2,907
4.823789
0.460352
0.019178
0.018265
0.012785
0.058904
0.022831
0.022831
0
0
0
0
0.011711
0.177503
2,907
78
118
37.269231
0.904224
0.008944
0
0.16129
0
0.064516
0.853115
0
0
0
0
0
0
1
0
false
0
0.016129
0
0.016129
0
0
0
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
c8ee68e2c76d1f882ee2c4e2d924c8f8e30e81b9
1,718
py
Python
DevOlogy/core/admin.py
Python-Freak/DevOlogy
94bd21cecce956bb6b9d344eaf903c7519f13116
[ "MIT" ]
1
2021-11-02T13:37:32.000Z
2021-11-02T13:37:32.000Z
DevOlogy/core/admin.py
Python-Freak/DevOlogy
94bd21cecce956bb6b9d344eaf903c7519f13116
[ "MIT" ]
null
null
null
DevOlogy/core/admin.py
Python-Freak/DevOlogy
94bd21cecce956bb6b9d344eaf903c7519f13116
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Post, Link, Comment, PostLike, CommentLike, Follow, Bookmark, FollowRequest, PostList # Register your models here. class PostAdmin(admin.ModelAdmin): fields = ('picture', 'user', 'caption') list_display = ('user', 'pk') class LinkAdmin(admin.ModelAdmin):...
30.678571
105
0.745634
201
1,718
6.119403
0.248756
0.068293
0.12439
0.081301
0.290244
0.170732
0.086179
0.086179
0.086179
0.086179
0
0
0.119907
1,718
55
106
31.236364
0.813492
0.015134
0
0.057143
0
0
0.247337
0.09645
0
0
0
0
0
1
0
false
0
0.057143
0
0.742857
0
0
0
0
null
0
0
0
0
0
0
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
c8eeb21c768b46a42caaaf179b8e450ebe7dc4ac
5,350
py
Python
sigmod16/performance-evaluation/merge-tree-index/merge-tree-index-performance.py
awuyz0214/data-polygamy
b95d9d1344b55b7cb24de83d5d8673fee325b316
[ "BSD-3-Clause" ]
4
2019-03-16T03:18:40.000Z
2020-05-14T07:19:20.000Z
sigmod16/performance-evaluation/merge-tree-index/merge-tree-index-performance.py
awuyz0214/data-polygamy
b95d9d1344b55b7cb24de83d5d8673fee325b316
[ "BSD-3-Clause" ]
null
null
null
sigmod16/performance-evaluation/merge-tree-index/merge-tree-index-performance.py
awuyz0214/data-polygamy
b95d9d1344b55b7cb24de83d5d8673fee325b316
[ "BSD-3-Clause" ]
5
2019-03-05T03:51:09.000Z
2020-11-19T18:32:25.000Z
# Copyright (C) 2016 New York University # This file is part of Data Polygamy which is released under the Revised BSD License # See file LICENSE for full license details. import os import sys import math import matplotlib matplotlib.use('Agg') matplotlib.rc('font', family='sans-serif') import matplotlib.pyplot as plt ...
31.28655
121
0.645607
785
5,350
4.24586
0.235669
0.036004
0.036004
0.040804
0.720372
0.69937
0.681068
0.666667
0.625863
0.625863
0
0.054503
0.190654
5,350
170
122
31.470588
0.715242
0.033645
0
0.575758
0
0
0.085205
0
0
0
0
0
0
1
0.022727
false
0
0.060606
0
0.128788
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
c8f93dcc5a65715948b216aca4e1b376387d4ec2
502
py
Python
mysite/stocks/migrations/0008_auto_20210511_0726.py
JasoDing/DjangoPractice
bde710e4766805e69002ca6bca3dea3216910686
[ "MIT" ]
null
null
null
mysite/stocks/migrations/0008_auto_20210511_0726.py
JasoDing/DjangoPractice
bde710e4766805e69002ca6bca3dea3216910686
[ "MIT" ]
null
null
null
mysite/stocks/migrations/0008_auto_20210511_0726.py
JasoDing/DjangoPractice
bde710e4766805e69002ca6bca3dea3216910686
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-05-11 11:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('stocks', '0007_auto_20210511_0702'), ] operations = [ migrations.RemoveField( model_name='favourite', name='stock', ...
21.826087
61
0.573705
51
502
5.529412
0.764706
0.06383
0.12766
0.156028
0
0
0
0
0
0
0
0.095376
0.310757
502
22
62
22.818182
0.719653
0.089641
0
0.25
1
0
0.127473
0.050549
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c8ff067ce3db7d18af3284b32db0970a4b8cf0ef
2,968
py
Python
account/views.py
joshuariveramnltech/projectIE
9f707f6f1a30ca728580ba738877c77785155ae5
[ "MIT" ]
null
null
null
account/views.py
joshuariveramnltech/projectIE
9f707f6f1a30ca728580ba738877c77785155ae5
[ "MIT" ]
5
2021-02-08T20:32:43.000Z
2021-09-08T01:13:03.000Z
account/views.py
joshuariveramnltech/projectIE
9f707f6f1a30ca728580ba738877c77785155ae5
[ "MIT" ]
null
null
null
from django.shortcuts import render, reverse from django.contrib.auth.decorators import login_required from django.contrib.auth.views import PasswordChangeForm from django.contrib import messages from django.http import HttpResponseRedirect from django.contrib.auth import update_session_auth_hash from .forms import Per...
43.647059
96
0.709906
319
2,968
6.373041
0.191223
0.086572
0.093458
0.043286
0.363502
0.340384
0.308903
0.258731
0.258731
0.258731
0
0
0.206536
2,968
67
97
44.298507
0.86327
0.007749
0
0.322034
0
0
0.07985
0.03228
0
0
0
0
0
1
0.050847
false
0.186441
0.118644
0.016949
0.254237
0
0
0
0
null
0
0
0
0
0
0
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
740240179c5b4ab1e8b5e2145e53e650f670521c
4,756
py
Python
tax_rank_comparison.py
leejz/scripts
ab23af0bac5a5051df83fb9f59f23e7c413fd81a
[ "MIT" ]
1
2021-05-24T06:15:16.000Z
2021-05-24T06:15:16.000Z
tax_rank_comparison.py
leejz/misc-scripts
ab23af0bac5a5051df83fb9f59f23e7c413fd81a
[ "MIT" ]
1
2015-09-08T16:40:49.000Z
2015-09-08T16:40:49.000Z
tax_rank_comparison.py
leejz/misc-scripts
ab23af0bac5a5051df83fb9f59f23e7c413fd81a
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ -------------------------------------------------------------------------------- Created: Jackson Lee 5/19/12 This script reads a tab file containing reference taxonomy and a file containing classified taxonomy and compares each rank. The script outputs how many of the comparison match...
39.966387
106
0.562447
504
4,756
5.202381
0.329365
0.039664
0.01373
0.020595
0.215866
0.215866
0.215866
0.215866
0.190694
0.160946
0
0.006966
0.245374
4,756
119
107
39.966387
0.7236
0.08831
0
0.108108
0
0
0.207055
0.037281
0
0
0
0
0
0
null
null
0
0.027027
null
null
0.310811
0
0
0
null
0
0
0
0
0
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
74027af5389eaba07bbd3902313a1795c84d17cd
1,695
py
Python
rnaseq_pipeline/targets.py
ppavlidis/rnaseq-pipeline
8de5506dd86091c7c35b99781cfb4b054325a22a
[ "Unlicense" ]
null
null
null
rnaseq_pipeline/targets.py
ppavlidis/rnaseq-pipeline
8de5506dd86091c7c35b99781cfb4b054325a22a
[ "Unlicense" ]
null
null
null
rnaseq_pipeline/targets.py
ppavlidis/rnaseq-pipeline
8de5506dd86091c7c35b99781cfb4b054325a22a
[ "Unlicense" ]
null
null
null
import os from os.path import join, exists import luigi import requests from requests.auth import HTTPBasicAuth from .gemma import GemmaApi class RsemReference(luigi.Target): """ Represents the target of rsem-prepare-reference script. """ def __init__(self, prefix, taxon): self.prefix = prefix...
31.981132
120
0.670206
206
1,695
5.296117
0.305825
0.109991
0.146654
0.128323
0.262145
0.229148
0.229148
0.168653
0.095325
0.095325
0
0.000765
0.228319
1,695
52
121
32.596154
0.833333
0.143363
0
0.21875
0
0
0.071174
0.030605
0
0
0
0
0
1
0.21875
false
0
0.1875
0.09375
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
1
0
0
0
0
0
0
0
1
7403067b66ee683d5d34035e517ebf15a005f125
1,579
py
Python
tagapp/serializers.py
muhammedayman/tagproject
d30577cb165a2881939e4f38a214a5d6e5d00c6e
[ "MIT" ]
null
null
null
tagapp/serializers.py
muhammedayman/tagproject
d30577cb165a2881939e4f38a214a5d6e5d00c6e
[ "MIT" ]
null
null
null
tagapp/serializers.py
muhammedayman/tagproject
d30577cb165a2881939e4f38a214a5d6e5d00c6e
[ "MIT" ]
null
null
null
from tagapp.models import TagModel, TagUser from rest_framework import serializers from drf_writable_nested.serializers import WritableNestedModelSerializer class TagSerializer(serializers.ModelSerializer): class Meta: model = TagModel fields='__all__' class TagUserSerializer(serializers.ModelSeri...
33.595745
90
0.70171
152
1,579
7.072368
0.342105
0.145116
0.065116
0.058605
0.4
0.303256
0.217674
0.217674
0.217674
0.217674
0
0
0.207093
1,579
47
91
33.595745
0.858626
0
0
0.487179
0
0
0.08613
0.037365
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.564103
0
0
0
0
null
0
0
0
0
0
0
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
cdab608c4d64f6d17c95ca5a714442c1d5d5bb6f
912
py
Python
cla_frontend/apps/core/middleware.py
ministryofjustice/cla_frontend
51a6c5a05597384c780041dd810c9108c9b575bb
[ "MIT" ]
3
2018-02-19T09:50:06.000Z
2022-01-13T10:17:05.000Z
cla_frontend/apps/core/middleware.py
ministryofjustice/cla_frontend
51a6c5a05597384c780041dd810c9108c9b575bb
[ "MIT" ]
171
2015-01-02T09:27:37.000Z
2022-03-24T08:56:57.000Z
cla_frontend/apps/core/middleware.py
ministryofjustice/cla_frontend
51a6c5a05597384c780041dd810c9108c9b575bb
[ "MIT" ]
3
2019-03-14T08:31:47.000Z
2021-05-04T16:01:42.000Z
from django.core.exceptions import PermissionDenied from django.http import HttpResponse from django.conf import settings from django.shortcuts import redirect class HttpResponseForbidden(HttpResponse): status_code = 401 class Cla401Middleware(object): def process_exception(self, request, exception): ...
32.571429
74
0.739035
97
912
6.814433
0.42268
0.060514
0.054463
0.075643
0.087746
0
0
0
0
0
0
0.008108
0.188596
912
27
75
33.777778
0.885135
0
0
0
0
0
0.050439
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cdb079461c15b4d283b84a346ee5c5bdf04ad8a7
442
py
Python
setup.py
alinaciuysal/SimplaPlatoon
e54473e1cb2b3aa8b01141334f03d9cb46b9d060
[ "Apache-2.0" ]
2
2020-08-06T08:02:52.000Z
2020-11-20T03:40:50.000Z
setup.py
alinaciuysal/SimplaPlatoon
e54473e1cb2b3aa8b01141334f03d9cb46b9d060
[ "Apache-2.0" ]
1
2021-12-26T13:46:49.000Z
2021-12-27T01:06:13.000Z
setup.py
alinaciuysal/SimplaPlatoon
e54473e1cb2b3aa8b01141334f03d9cb46b9d060
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages # this is a python install script # call it with >setup.py install # to install all dependencies setup( name='Sumo-Platooning', version='0.2', long_description="Platooning in SUMO as an extension to Simpla", packages=find_packages(), include_package_data...
23.263158
68
0.676471
56
442
5.214286
0.767857
0.082192
0
0
0
0
0
0
0
0
0
0.005848
0.226244
442
19
69
23.263158
0.847953
0.20362
0
0
0
0
0.260745
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
cdb6f120ce64e0dae8e37bb8344a04ad2c664b35
668
py
Python
modulo_10/src/3_la_aventura_de_huck.py
SRendonn/analisis-diseno-algoritmos
16afc95f7a473c067a6bade5b70e458da53f70f7
[ "MIT" ]
null
null
null
modulo_10/src/3_la_aventura_de_huck.py
SRendonn/analisis-diseno-algoritmos
16afc95f7a473c067a6bade5b70e458da53f70f7
[ "MIT" ]
null
null
null
modulo_10/src/3_la_aventura_de_huck.py
SRendonn/analisis-diseno-algoritmos
16afc95f7a473c067a6bade5b70e458da53f70f7
[ "MIT" ]
null
null
null
from math import inf def river_travelling(cost_matrix): N = len(cost_matrix) M = [[0 for x in range(N)] for x in range(N)] for steps in range(1, N): for i in range(N - steps): j = i + steps lowest = cost_matrix[i][j] for k in range(i + 1, j): lowe...
29.043478
79
0.51497
113
668
2.964602
0.292035
0.208955
0.053731
0.149254
0.080597
0.080597
0
0
0
0
0
0.013304
0.32485
668
23
80
29.043478
0.72949
0
0
0
0
0
0.001495
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.15
0.05
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
cdb7cc0bac1b0a900a0dd42169025fc0617ee091
3,100
py
Python
TnH_app/models.py
algorithm-ssau/toast-n-honey
ada4db10771a8d90422ce6e16d473026e10b4889
[ "MIT" ]
1
2020-05-20T17:16:40.000Z
2020-05-20T17:16:40.000Z
TnH_app/models.py
algorithm-ssau/toast-n-honey
ada4db10771a8d90422ce6e16d473026e10b4889
[ "MIT" ]
29
2020-02-23T19:33:47.000Z
2020-06-09T09:29:39.000Z
TnH_app/models.py
algorithm-ssau/toast-n-honey
ada4db10771a8d90422ce6e16d473026e10b4889
[ "MIT" ]
1
2020-06-08T13:14:07.000Z
2020-06-08T13:14:07.000Z
from . import db class Orders(db.Model): id = db.Column(db.Integer, primary_key=True) customerId = db.Column(db.Integer, db.ForeignKey('customers.id'), nullable=False) productId = db.Column(db.Integer, db.ForeignKey('products.id'), nullable=False) optionId = db.Column(db.Integer, db.ForeignKey('option...
36.046512
145
0.66
404
3,100
4.95297
0.128713
0.07996
0.09995
0.110445
0.373813
0.273863
0.215892
0.198901
0.16092
0.16092
0
0.007984
0.191935
3,100
85
146
36.470588
0.790818
0
0
0.262295
0
0.032787
0.117742
0
0
0
0
0
0
1
0.163934
false
0
0.016393
0.081967
0.754098
0
0
0
0
null
0
0
0
0
0
0
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
cdb9255d9fe68f13cf8d91942e67880d06ba9e00
681
py
Python
AlgoExpert/Sorted Squared Array.py
akhil-ece/160Days
545d1c70c79c6ef2341137a88e6a09f81f330ea4
[ "MIT" ]
null
null
null
AlgoExpert/Sorted Squared Array.py
akhil-ece/160Days
545d1c70c79c6ef2341137a88e6a09f81f330ea4
[ "MIT" ]
null
null
null
AlgoExpert/Sorted Squared Array.py
akhil-ece/160Days
545d1c70c79c6ef2341137a88e6a09f81f330ea4
[ "MIT" ]
null
null
null
#O(nlog(n)) time and O(n) space def sortedSquaredArrayLambda(array): lst = list(map(lambda x: x ** 2, array )) return sorted(lst) def sortedSquaredArrayLoopSquaresPythonic(array): lst2 = [i**2 for i in array] return sorted(lst2) #O(n) both time and Space def sortedSquaredArray(array): sampleList ...
26.192308
49
0.543319
94
681
3.925532
0.37234
0.086721
0.092141
0.113821
0
0
0
0
0
0
0
0.030238
0.320117
681
26
50
26.192308
0.766739
0.079295
0
0.095238
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
cdbddb6b160f3a9798bc6b6d5171cc93611edaf6
3,223
py
Python
postDos.py
lorawoodford/api-training
aa4bc60886fea2f9b6ba2ad5b3a8cd14bac71e85
[ "MIT" ]
7
2018-03-20T13:19:08.000Z
2020-02-14T13:59:43.000Z
postDos.py
lorawoodford/api-training
aa4bc60886fea2f9b6ba2ad5b3a8cd14bac71e85
[ "MIT" ]
null
null
null
postDos.py
lorawoodford/api-training
aa4bc60886fea2f9b6ba2ad5b3a8cd14bac71e85
[ "MIT" ]
null
null
null
import json, requests, csv, time, secrets startTime = time.time() # import secrets baseURL = secrets.baseURL user = secrets.user password = secrets.password # test for successful connection def test_connection(): try: requests.get(baseURL) print 'Connected!' return True except requests.exceptions.Connection...
39.304878
370
0.733168
441
3,223
5.201814
0.380952
0.051003
0.032694
0.034874
0.119442
0.107236
0.034002
0
0
0
0
0.005622
0.116972
3,223
81
371
39.790123
0.800422
0.158858
0
0.037736
0
0.037736
0.348924
0.147365
0
0
0
0
0
0
null
null
0.037736
0.018868
null
null
0.113208
0
0
0
null
0
0
0
0
0
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
cdbe0143749abc45fd582469599fffe19b26f00d
2,279
py
Python
uob_scripts/check-attendance.py
alemottura/PyCAPI
2b1c5c1698495c52afec640f3f9005f8c0f59223
[ "MIT" ]
1
2017-03-12T20:22:29.000Z
2017-03-12T20:22:29.000Z
uob_scripts/check-attendance.py
alemottura/PyCAPI
2b1c5c1698495c52afec640f3f9005f8c0f59223
[ "MIT" ]
null
null
null
uob_scripts/check-attendance.py
alemottura/PyCAPI
2b1c5c1698495c52afec640f3f9005f8c0f59223
[ "MIT" ]
1
2019-07-01T15:17:46.000Z
2019-07-01T15:17:46.000Z
# # check-attendance.py # # This code checks interaction by students with a particular # course over a period of time. # # course_id = 34797 course_id = 35270 year = 2018 # # import sys sys.path.append("../module/") import PyCAPI import datetime import json import uob_utils import matplotlib import matplotlib.pyplot...
27.457831
104
0.731022
341
2,279
4.709677
0.392962
0.059776
0.039228
0.02802
0.117061
0.117061
0.075965
0.075965
0
0
0
0.025909
0.119351
2,279
82
105
27.792683
0.77429
0.048267
0
0.046875
0
0
0.069077
0
0
0
0
0
0
0
null
null
0
0.140625
null
null
0.078125
0
0
0
null
0
0
0
0
0
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
cdc0000b32811703c26f4e4294caaafa31f84fe4
2,138
py
Python
newsfeed/views.py
janhavilande/Blogs_Website
4d07395d8b4f956bdca3ce7a0eb77bb28c088597
[ "MIT" ]
null
null
null
newsfeed/views.py
janhavilande/Blogs_Website
4d07395d8b4f956bdca3ce7a0eb77bb28c088597
[ "MIT" ]
null
null
null
newsfeed/views.py
janhavilande/Blogs_Website
4d07395d8b4f956bdca3ce7a0eb77bb28c088597
[ "MIT" ]
5
2021-01-16T12:04:26.000Z
2021-03-11T07:12:15.000Z
import json from asgiref.sync import async_to_sync from channels.layers import get_channel_layer from django.shortcuts import render, redirect from django.urls import reverse_lazy from django.views.generic import CreateView from friends.models import CustomNotification from friends.serializers import NotificationSeria...
36.862069
144
0.67072
243
2,138
5.744856
0.37037
0.039398
0.045129
0.053725
0.163324
0.047278
0
0
0
0
0
0
0.220299
2,138
57
145
37.508772
0.837433
0.374649
0
0.074074
0
0
0.110266
0.044106
0
0
0
0
0
1
0.037037
false
0
0.333333
0
0.444444
0.037037
0
0
0
null
0
0
0
0
0
0
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
cdc2e9cb5880dd6ddbb443eb7ff6e2f5aae079b8
792
py
Python
lesson3/task2.py
kati-Ist/python_geekbrains
fdafd6134ab4287d80fbf5b6c1750142d2013238
[ "MIT" ]
null
null
null
lesson3/task2.py
kati-Ist/python_geekbrains
fdafd6134ab4287d80fbf5b6c1750142d2013238
[ "MIT" ]
null
null
null
lesson3/task2.py
kati-Ist/python_geekbrains
fdafd6134ab4287d80fbf5b6c1750142d2013238
[ "MIT" ]
null
null
null
# 2. Реализовать функцию, принимающую несколько параметров, # описывающих данные пользователя: имя, фамилия, год рождения, город проживания, email, телефон. # Функция должна принимать параметры как именованные аргументы. # Реализовать вывод данных о пользователе одной строкой. def statistic(name, surname, year, count...
41.684211
119
0.747475
91
792
6.505495
0.527473
0.101351
0
0
0
0
0
0
0
0
0
0.001445
0.126263
792
18
120
44
0.854046
0.339646
0
0
0
0.111111
0.343629
0
0
0
0
0
0
1
0.111111
false
0
0
0.111111
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
cdc72bb1747cb2c8fd0f5bde4db478a8785919b8
1,816
py
Python
main.py
Server1567/CryptoSMS
7ccb951c9d718748b142d9f44baf9d11b9188e43
[ "MIT" ]
1
2018-12-27T05:13:45.000Z
2018-12-27T05:13:45.000Z
main.py
Server1567/CryptoSMS
7ccb951c9d718748b142d9f44baf9d11b9188e43
[ "MIT" ]
null
null
null
main.py
Server1567/CryptoSMS
7ccb951c9d718748b142d9f44baf9d11b9188e43
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- # CIFRADO CÉSAR import sys, time # MÉTODO DE CIFRADO CÉSAR def coded(): file = input("Nombre del archivo a cifrar => ") try: txt = open(file, "r") text = txt.read() except Exception as e: print("Asegurese de que el archivo se encuentre en la misma carpeta :/") ...
20.636364
74
0.602974
257
1,816
4.202335
0.412451
0.041667
0.022222
0.036111
0.189815
0.025926
0
0
0
0
0
0.011573
0.191079
1,816
87
75
20.873563
0.721579
0.056718
0
0.265625
0
0
0.326112
0.05445
0
0
0
0.011494
0
1
0.046875
false
0
0.015625
0
0.078125
0.234375
0
0
0
null
0
0
0
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
cdcc4ec932bd008d21dfc6ec49f201a78fe9c4ee
536
py
Python
backend/repl_app/migrations/0003_devicetoken.py
whiteceric/ipad-repl
152bc3ea4be6ef4da9b91bb505a17a5073483c18
[ "MIT" ]
null
null
null
backend/repl_app/migrations/0003_devicetoken.py
whiteceric/ipad-repl
152bc3ea4be6ef4da9b91bb505a17a5073483c18
[ "MIT" ]
null
null
null
backend/repl_app/migrations/0003_devicetoken.py
whiteceric/ipad-repl
152bc3ea4be6ef4da9b91bb505a17a5073483c18
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-11-09 04:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('repl_app', '0002_auto_20211106_1832'), ] operations = [ migrations.CreateModel( name='DeviceToken', fields=[ ...
25.52381
117
0.591418
57
536
5.421053
0.807018
0
0
0
0
0
0
0
0
0
0
0.085714
0.281716
536
20
118
26.8
0.716883
0.083955
0
0
1
0
0.104294
0.047035
0
0
0
0
0
1
0
false
0
0.071429
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
cdcd55d6629cdd31fe95313c07db669abced4dfd
3,038
py
Python
emr_mine_python_scipts/pq_tree/common_intervals.py
debprakash/emr-view
6b5690c2335482e97b8dabbdec616c8a1d7df898
[ "MIT" ]
null
null
null
emr_mine_python_scipts/pq_tree/common_intervals.py
debprakash/emr-view
6b5690c2335482e97b8dabbdec616c8a1d7df898
[ "MIT" ]
null
null
null
emr_mine_python_scipts/pq_tree/common_intervals.py
debprakash/emr-view
6b5690c2335482e97b8dabbdec616c8a1d7df898
[ "MIT" ]
1
2018-10-24T02:54:40.000Z
2018-10-24T02:54:40.000Z
''' Created on Dec 29, 2010 @author: patnaik ''' #def naive_common_interval(pi_AB, C_prev = None): # n = len(pi_AB) # C = set() # for x in xrange(n-1): # l = u = pi_AB[x] # for y in xrange(x+1, n): # l = min(l, pi_AB[y]) # u = max(u, pi_AB[y]) # if u - l - (y -...
24.699187
79
0.502633
528
3,038
2.763258
0.185606
0.035641
0.01645
0.041124
0.35915
0.260452
0.200137
0.179575
0.179575
0.131597
0
0.049275
0.318631
3,038
123
80
24.699187
0.655556
0.198815
0
0.027778
0
0
0.019011
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.055556
0
0
0
null
0
0
0
0
0
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
cdcf3856515539573b5cf2fd464fe2c406be8d05
1,875
py
Python
{{cookiecutter.project_name}}/generate_deploy_pyc.py
leotang1218/cookiecutter-flask-restful
fce15fefaa86a8818f9ea4cdb1f841066ca9efec
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/generate_deploy_pyc.py
leotang1218/cookiecutter-flask-restful
fce15fefaa86a8818f9ea4cdb1f841066ca9efec
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/generate_deploy_pyc.py
leotang1218/cookiecutter-flask-restful
fce15fefaa86a8818f9ea4cdb1f841066ca9efec
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ obfuscate.py ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 遍历工程目录,并对目录里的*.py文件进行混淆 :author: leo :copyright: (c) 2020, Tungee :date created: 2020-04-27 11:14 """ import os import shutil import click APP_NAME = '{{cookiecutter.app_name}}' @clic...
31.779661
118
0.5904
250
1,875
4.108
0.364
0.085686
0.074976
0.035054
0.253165
0.253165
0.223953
0.179163
0.179163
0.179163
0
0.014768
0.2416
1,875
58
119
32.327586
0.707454
0.3056
0
0.08
0
0
0.144462
0.020064
0
0
0
0.017241
0
1
0.04
false
0
0.12
0
0.16
0.08
0
0
0
null
0
0
0
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
cde0a1e7efd4dab375a34a6d3b21d0a43ebeb6cb
1,036
py
Python
Python_Questions/test_closure.py
QAlexBall/Learning_Py
8a5987946928a9d86f6807555ed435ac604b2c44
[ "MIT" ]
2
2019-01-24T15:06:59.000Z
2019-01-25T07:34:45.000Z
Python_Questions/test_closure.py
QAlexBall/Learning_Py
8a5987946928a9d86f6807555ed435ac604b2c44
[ "MIT" ]
1
2019-12-23T09:45:11.000Z
2019-12-23T09:45:11.000Z
Python_Questions/test_closure.py
QAlexBall/Learning_Py
8a5987946928a9d86f6807555ed435ac604b2c44
[ "MIT" ]
1
2019-07-18T14:21:35.000Z
2019-07-18T14:21:35.000Z
def count(): fs = [] for i in range(1, 4): def f(): print(i) return i * i fs.append(f) return fs # fs = [function f1, function f2, function f3] f = count() print(f) f1, f2, f3 = count() # 返回的函数引用了变量i,等到3个函数都返回时,i变成了3,再调用f函数结果为9 # 执行f(): i = 3 print(f1, f1(...
18.175439
77
0.588803
153
1,036
3.973856
0.300654
0.049342
0.019737
0.026316
0.289474
0.230263
0.230263
0
0
0
0
0.065637
0.25
1,036
56
78
18.5
0.71686
0.271236
0
0.409091
0
0
0
0
0
0
0
0
0
1
0.227273
false
0
0
0.045455
0.431818
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
cde611c714e7d5bb1068b350f0716533f45a9bf2
1,395
py
Python
leetcode/389.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
leetcode/389.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
leetcode/389.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
""" File: 389.py Title: Find the Difference Difficulty: Easy URL: https://leetcode.com/problems/find-the-difference/ """ import unittest class Solution: def findTheDifference(self, s: str, t: str) -> str: sorted_s = list(sorted(s)) sorted_t = list(sorted(t)) for i in range...
21.461538
66
0.541219
152
1,395
4.848684
0.348684
0.04749
0.054274
0.16825
0.507463
0.507463
0.459973
0.459973
0.459973
0.459973
0
0.008658
0.337634
1,395
64
67
21.796875
0.788961
0.11828
0
0.333333
0
0
0.025021
0
0
0
0
0
0.111111
1
0.138889
false
0
0.027778
0
0.277778
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
cdebcef084ebaaaf91a118c50fc72026f521ff4a
1,638
py
Python
setup.py
xmnfw/pywim
5d8b1ca467af80444551082588c2c713c3074e77
[ "MIT" ]
4
2017-03-05T14:32:42.000Z
2021-06-14T02:16:34.000Z
setup.py
xmnfw/pywim
5d8b1ca467af80444551082588c2c713c3074e77
[ "MIT" ]
14
2016-01-07T17:44:30.000Z
2020-12-16T18:06:59.000Z
setup.py
OpenWIM/pywim
5d8b1ca467af80444551082588c2c713c3074e77
[ "MIT" ]
4
2016-01-07T19:43:14.000Z
2020-12-16T18:38:57.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'numpy', 'scipy', 'matplotlib', 'pandas', 'ipython', ...
22.438356
57
0.606227
175
1,638
5.525714
0.628571
0.049638
0.077559
0.080662
0
0
0
0
0
0
0
0.006504
0.249084
1,638
72
58
22.75
0.779675
0.066545
0
0.033898
0
0
0.3524
0.015779
0
0
0
0.013889
0
1
0.016949
false
0
0.050847
0
0.084746
0
0
0
0
null
0
0
0
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
cdeff143e9fa773626a3fadddef2d3c88a0b5489
651
py
Python
rest2pdf/tests/fakeapp/models.py
rhouse2/django-rest2pdf
13f378fae6b649e92e486a31b7dc7011eea68265
[ "BSD-3-Clause" ]
null
null
null
rest2pdf/tests/fakeapp/models.py
rhouse2/django-rest2pdf
13f378fae6b649e92e486a31b7dc7011eea68265
[ "BSD-3-Clause" ]
null
null
null
rest2pdf/tests/fakeapp/models.py
rhouse2/django-rest2pdf
13f378fae6b649e92e486a31b7dc7011eea68265
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ models.py for test """ # models.py for knowledgebase from django.db import models class Faq(models.Model): """A simple model for testing""" question = models.TextField(blank=False) answer = models.TextField(blank=True) category = models.CharField(blank=True...
23.25
76
0.668203
87
651
4.873563
0.609195
0.084906
0.051887
0.113208
0.165094
0.165094
0.165094
0
0
0
0
0.009653
0.204301
651
27
77
24.111111
0.80888
0.168971
0
0
0
0
0.011429
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0.142857
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
1
0
0
0
1
cdf0e52d89ce05620b810aaf5ef18881b5868c61
2,263
py
Python
pds_pipelines/Recipe.py
eabovre/PDS-Pipelines
4a7a82fa3c309485154e632946c7c95008def228
[ "Unlicense" ]
null
null
null
pds_pipelines/Recipe.py
eabovre/PDS-Pipelines
4a7a82fa3c309485154e632946c7c95008def228
[ "Unlicense" ]
null
null
null
pds_pipelines/Recipe.py
eabovre/PDS-Pipelines
4a7a82fa3c309485154e632946c7c95008def228
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import os import subprocess import sys import redis import json from collections import OrderedDict from pds_pipelines.Process import Process from pds_pipelines.RedisQueue import RedisQueue from pds_pipelines.config import recipe_base class Recipe(Process): """ Parameters --------...
19.508621
79
0.502872
201
2,263
5.59204
0.323383
0.053381
0.042705
0.037367
0.163701
0.124555
0.124555
0.124555
0.124555
0.124555
0
0
0.371631
2,263
115
80
19.678261
0.790436
0.191781
0
0.051282
0
0
0.015572
0
0
0
0
0.008696
0
1
0.179487
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cdf60b1119873141840a3da31d78db246d5a0aad
4,873
py
Python
app.py
jonshern/photoorganizer
daf564f80d2794325b95da188735ad0010547d85
[ "Unlicense" ]
null
null
null
app.py
jonshern/photoorganizer
daf564f80d2794325b95da188735ad0010547d85
[ "Unlicense" ]
null
null
null
app.py
jonshern/photoorganizer
daf564f80d2794325b95da188735ad0010547d85
[ "Unlicense" ]
null
null
null
import exifread import json import os import csv import sys import argparse from dateutil import parser from datetime import datetime DATE_TAKEN_KEY = 'Image DateTime' DATE_ORIGINAL = 'EXIF DateTimeOriginal' DATE_DIGITIZED = 'EXIF DateTimeDigitized' #constants YEARS = ['2000', '2001', '2002', '2003', '2004', '2005',...
29.005952
99
0.602914
571
4,873
5.022767
0.323993
0.021967
0.020921
0.014644
0.127615
0.065551
0.022315
0
0
0
0
0.032986
0.272112
4,873
167
100
29.179641
0.775585
0.076339
0
0.073395
0
0
0.16767
0
0
0
0
0
0
0
null
null
0
0.073395
null
null
0.073395
0
0
0
null
0
0
0
0
0
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
cdfdbe385925e7a446c614055ca5ea6cf9185cf4
2,558
py
Python
thermodynamics/heatEngines/WorkAndPressureVolumeDiagrams.py
dsmith2598/FlipItPhysics-Physics2
41b105dcf849e1bbd4cc8d132859db2476f90617
[ "MIT" ]
1
2021-06-16T07:28:46.000Z
2021-06-16T07:28:46.000Z
thermodynamics/heatEngines/WorkAndPressureVolumeDiagrams.py
Rohit212/FlipItPhysics-Physics2
41b105dcf849e1bbd4cc8d132859db2476f90617
[ "MIT" ]
null
null
null
thermodynamics/heatEngines/WorkAndPressureVolumeDiagrams.py
Rohit212/FlipItPhysics-Physics2
41b105dcf849e1bbd4cc8d132859db2476f90617
[ "MIT" ]
null
null
null
# coding=utf-8 """ Work & PV Diagrams ------------------ An ideal gas contained in a piston can change from State i to State f by three different process, all of which are depicted in the P vs. V graph shown at the right. The gas always starts in State i with a pressure of 6.71 × 10 ^ 5 Pa and a volume of 6.6 m^3. The ...
31.975
97
0.641908
491
2,558
3.327902
0.266802
0.02448
0.011016
0.031824
0.372093
0.29743
0.247246
0.247246
0.247246
0.195838
0
0.054816
0.265442
2,558
79
98
32.379747
0.813731
0.004691
0
0
0
0
0.191136
0
0
0
0
0
0
0
null
null
0
0
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a80264ea1db34de3eb0713d195179c2440144e56
12,862
py
Python
main.py
galactaknife/webchat
eff610365128989ff2d58a6d75a51d735b16dd98
[ "Apache-2.0" ]
2
2021-03-13T15:27:19.000Z
2021-03-13T15:27:21.000Z
main.py
galactaknife/webchat
eff610365128989ff2d58a6d75a51d735b16dd98
[ "Apache-2.0" ]
null
null
null
main.py
galactaknife/webchat
eff610365128989ff2d58a6d75a51d735b16dd98
[ "Apache-2.0" ]
null
null
null
from flask import redirect, url_for, render_template, request, session, Markup, Blueprint, send_from_directory import uuid, string, random, json, re from subprocess import call import database as db main = Blueprint("main", __name__) # All colors that a user can choose from in a chat room colors = [ "#e0383e", "i...
54.5
266
0.597419
1,560
12,862
4.840385
0.153846
0.048868
0.068865
0.035757
0.544829
0.500728
0.455834
0.407231
0.343663
0.298636
0
0.010211
0.26139
12,862
235
267
54.731915
0.784632
0.121132
0
0.342697
0
0
0.174778
0.009591
0
0
0
0
0
1
0.067416
false
0.073034
0.022472
0.011236
0.353933
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a80a6d792f597ec9fd07d1679e922c098a4d7e69
269
py
Python
dev_wsgi.py
chadwhitacre/confidant
dd788147b355f760767cf3b9487671c67948ade3
[ "Apache-2.0" ]
1,820
2015-11-04T17:57:16.000Z
2022-03-31T16:47:24.000Z
dev_wsgi.py
chadwhitacre/confidant
dd788147b355f760767cf3b9487671c67948ade3
[ "Apache-2.0" ]
186
2015-11-04T18:21:52.000Z
2022-01-14T20:31:31.000Z
dev_wsgi.py
isabella232/confidant
3dac318c3e1f29bae5771084ad29a4bc121f1771
[ "Apache-2.0" ]
136
2015-11-04T19:23:14.000Z
2022-02-25T01:51:29.000Z
from confidant import settings from confidant.app import create_app if __name__ == '__main__': app = create_app() app.run( host=settings.get('HOST', '127.0.0.1'), port=settings.get('PORT', 5000), debug=settings.get('DEBUG', True) )
24.454545
47
0.628253
36
269
4.416667
0.527778
0.207547
0
0
0
0
0
0
0
0
0
0.047847
0.223048
269
10
48
26.9
0.712919
0
0
0
0
0
0.111524
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
a80d062c2d255b51f125404b329000bddd0f0b22
331
py
Python
menu.py
DevMarcus007/Programas_de_Teste_Para_Avaliacao
20edb0a45d0afbe35282d8049940403b84b852a0
[ "MIT" ]
null
null
null
menu.py
DevMarcus007/Programas_de_Teste_Para_Avaliacao
20edb0a45d0afbe35282d8049940403b84b852a0
[ "MIT" ]
null
null
null
menu.py
DevMarcus007/Programas_de_Teste_Para_Avaliacao
20edb0a45d0afbe35282d8049940403b84b852a0
[ "MIT" ]
null
null
null
#exercicío que cria uma espécie de Menu em um restaurante tecnológico lanche = ['Hamburguer R$ 9,50', 'Hot-Dog R$ 7,00', 'Bauru R$ 25,00', 'Pizza R$ 22,00']; bebida = ['Refrigerante R$ 5,00', 'Suco R$ 6,00', 'MilkShake R$ 8,00'] print ("COMITECH\n") for i in lanche: print (i) print ("\n\nBEBITECH\n") for i in bebida...
30.090909
87
0.655589
61
331
3.557377
0.622951
0.036866
0.046083
0.064516
0
0
0
0
0
0
0
0.083032
0.163142
331
11
88
30.090909
0.700361
0.205438
0
0.25
0
0
0.509506
0
0
0
0
0
0
1
0
false
0
0
0
0
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
a813b905d4fc90354f4c34de0c51c93a0e25016b
7,179
py
Python
bosh-setup/scripts/setup_env.py
Signal7Crypto/azure-quickstart-templates
2aec2f605bc4a5eebf518d04915d84df39c5866c
[ "MIT" ]
4
2017-10-23T13:12:20.000Z
2019-09-11T04:01:01.000Z
bosh-setup/scripts/setup_env.py
Signal7Crypto/azure-quickstart-templates
2aec2f605bc4a5eebf518d04915d84df39c5866c
[ "MIT" ]
null
null
null
bosh-setup/scripts/setup_env.py
Signal7Crypto/azure-quickstart-templates
2aec2f605bc4a5eebf518d04915d84df39c5866c
[ "MIT" ]
2
2016-12-11T18:22:51.000Z
2021-02-14T10:55:05.000Z
#!/usr/bin/env python import json import netaddr import os import random import re import requests import sys from azure.storage.blob import AppendBlobService from azure.storage.table import TableService import azure.mgmt.network from azure.common.credentials import ServicePrincipalCredentials from azure.mgmt.network ...
37.586387
247
0.671681
897
7,179
5.076923
0.204013
0.017567
0.018445
0.047431
0.377251
0.286561
0.256039
0.160738
0.095301
0.076416
0
0.010567
0.209082
7,179
190
248
37.784211
0.791476
0.01783
0
0.115385
0
0
0.162599
0.052355
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.00641
0
0
0
null
0
0
0
0
0
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
a818463badf964d910be5acd454896c2b1a31635
420
py
Python
apps/amcm/migrations/0004_alter_cuotaevento_fechavencimiento.py
agsneutron/asociacion_mexicana_cuarto_milla
4657e1f494eb572e9b40b2804e012cdfd6193c51
[ "MIT" ]
null
null
null
apps/amcm/migrations/0004_alter_cuotaevento_fechavencimiento.py
agsneutron/asociacion_mexicana_cuarto_milla
4657e1f494eb572e9b40b2804e012cdfd6193c51
[ "MIT" ]
null
null
null
apps/amcm/migrations/0004_alter_cuotaevento_fechavencimiento.py
agsneutron/asociacion_mexicana_cuarto_milla
4657e1f494eb572e9b40b2804e012cdfd6193c51
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-24 02:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('amcm', '0003_auto_20211024_0256'), ] operations = [ migrations.AlterField( model_name='cuotaevento', name='fechaVenc...
22.105263
72
0.621429
44
420
5.818182
0.840909
0
0
0
0
0
0
0
0
0
0
0.100977
0.269048
420
18
73
23.333333
0.732899
0.107143
0
0
1
0
0.198391
0.061662
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
a82a8d8d20175bc30923c23c00c7491b86fce8fb
2,147
py
Python
lifoid/logging/config.py
romaryd/lifoid
f0c96d2c58cc7980ef7a3747251928f6da9015f5
[ "Apache-2.0" ]
1
2018-06-27T07:04:24.000Z
2018-06-27T07:04:24.000Z
lifoid/logging/config.py
LifoidLabs/lifoid
f0c96d2c58cc7980ef7a3747251928f6da9015f5
[ "Apache-2.0" ]
5
2018-05-23T07:06:45.000Z
2018-10-09T20:08:29.000Z
lifoid/logging/config.py
LifoidLabs/lifoid
f0c96d2c58cc7980ef7a3747251928f6da9015f5
[ "Apache-2.0" ]
1
2019-03-25T17:34:28.000Z
2019-03-25T17:34:28.000Z
import os ISO8601_DATETIME = "%Y-%m-%dT%H:%M:%S.%s%z" CONFIGURATION = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'simple': { 'format': '%(name)s\t%(user)s\t%(levelname)s\t[%(asctime)s]\t%(message)s', 'datefmt': ISO8601_DATETIME, }, ...
31.573529
86
0.51048
190
2,147
5.642105
0.331579
0.083955
0.11194
0.177239
0.513993
0.373134
0.25
0.25
0.25
0.126866
0
0.025641
0.309735
2,147
68
87
31.573529
0.697706
0.006055
0
0.245614
0
0.035088
0.43621
0.196529
0
0
0
0
0
1
0
false
0
0.017544
0
0.017544
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
a831a89bf2feb82e4af9db3878fe0aad4020b30f
16,032
py
Python
plugins/_inline.py
FastmoreCrak/Fantasmas
1ce7a55b956ccf84660ceb91fdc39fedd0384c2a
[ "CC0-1.0" ]
1
2021-10-04T08:02:29.000Z
2021-10-04T08:02:29.000Z
plugins/_inline.py
FastmoreCrak/Fantasmas
1ce7a55b956ccf84660ceb91fdc39fedd0384c2a
[ "CC0-1.0" ]
null
null
null
plugins/_inline.py
FastmoreCrak/Fantasmas
1ce7a55b956ccf84660ceb91fdc39fedd0384c2a
[ "CC0-1.0" ]
null
null
null
#FastmoreCrak import re import time from datetime import datetime from math import ceil from os import remove from platform import python_version as PyVer from git import Repo from pyUltroid import __version__ as UltVer from support import * from telethon import Button, __version__ from telethon.tl.types import Inpu...
27.546392
88
0.524763
1,819
16,032
4.473337
0.186366
0.047192
0.030355
0.022121
0.57429
0.553644
0.491459
0.459506
0.422146
0.422146
0
0.006896
0.339696
16,032
581
89
27.593804
0.755243
0.006612
0
0.519849
0
0
0.145352
0.014259
0
0
0
0
0
0
null
null
0.003781
0.022684
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
a831ec3a4fd7ccdcbb2239cea55188606ac938d7
635
py
Python
todo/migrations/0002_todoitem_user.py
nigarkhan12/todoio
50a4580a49df6388a03b04c80ad1498513da9954
[ "MIT" ]
1
2020-03-09T07:52:12.000Z
2020-03-09T07:52:12.000Z
todo/migrations/0002_todoitem_user.py
nigarkhan12/todoio
50a4580a49df6388a03b04c80ad1498513da9954
[ "MIT" ]
3
2020-02-11T23:17:48.000Z
2021-06-10T20:55:31.000Z
todo/migrations/0002_todoitem_user.py
nigarkhan12/todoio
50a4580a49df6388a03b04c80ad1498513da9954
[ "MIT" ]
null
null
null
# Generated by Django 2.0.8 on 2018-10-01 09:33 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), ('todo', '0001_...
27.608696
125
0.64252
71
635
5.619718
0.619718
0.06015
0.070175
0.110276
0
0
0
0
0
0
0
0.040254
0.256693
635
22
126
28.863636
0.805085
0.070866
0
0
1
0
0.04947
0
0
0
0
0
0
1
0
false
0
0.1875
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a8349fdd79280568999960a112c72713cf729f31
3,633
py
Python
bin/svd/do-svd.py
khj77/twitter_news
1ee6371f2aee3d19038dd9bc1d0b0398bbe39bc9
[ "BSD-3-Clause" ]
null
null
null
bin/svd/do-svd.py
khj77/twitter_news
1ee6371f2aee3d19038dd9bc1d0b0398bbe39bc9
[ "BSD-3-Clause" ]
null
null
null
bin/svd/do-svd.py
khj77/twitter_news
1ee6371f2aee3d19038dd9bc1d0b0398bbe39bc9
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from scipy import sparse from scipy import linalg from scipy import matrix from scipy.sparse.linalg.eigen.arpack import * import math import sys import pickle import numpy numEig = 120 minDF = 10 path = sys.argv[1] wordToWordID = dict() wordIDToWord = list() tweetIDTo...
22.849057
141
0.58354
459
3,633
4.607843
0.204793
0.006619
0.022695
0.034043
0.226005
0.201891
0.133333
0.133333
0.133333
0.133333
0
0.016154
0.284338
3,633
158
142
22.993671
0.797308
0.118084
0
0.411765
0
0
0.034764
0
0
0
0
0
0
0
null
null
0
0.078431
null
null
0.068627
0
0
0
null
0
0
0
0
0
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
a837c9306a42bc5073fe1dc535e4cb58a4c684f6
9,669
py
Python
test.py
Venefyxatu/holding-pattern
afd21814963a35dfb13b6b47b178a721f515d096
[ "MIT" ]
1
2021-03-27T04:41:03.000Z
2021-03-27T04:41:03.000Z
test.py
Venefyxatu/holding-pattern
afd21814963a35dfb13b6b47b178a721f515d096
[ "MIT" ]
null
null
null
test.py
Venefyxatu/holding-pattern
afd21814963a35dfb13b6b47b178a721f515d096
[ "MIT" ]
null
null
null
import pytest from main import get_reciprocal from main import get_parallel_limits from main import get_entry from main import is_clockwise_between from main import Entries from main import Turns @pytest.mark.parametrize('degrees, reciprocal', [(180, 360), (179, 359), (1, 181), (360, 180), (359, 179), (90, 270)]) de...
56.54386
118
0.423208
947
9,669
4.267159
0.106653
0.175699
0.029696
0.034645
0.728285
0.689186
0.67508
0.127196
0.108389
0.108389
0
0.222074
0.458372
9,669
170
119
56.876471
0.549551
0
0
0.020548
0
0
0.019547
0
0
0
0
0
0.027397
1
0.027397
false
0
0.047945
0
0.075342
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b51b3b6ef997fe76785a44d0c36d8406594e226e
4,492
py
Python
plot_multiple_traj.py
UBC-MOAD/analysis_saurav_wcvi
16a348a3a828b04f20cac019a3ef1f1476ae9c4e
[ "Apache-2.0" ]
null
null
null
plot_multiple_traj.py
UBC-MOAD/analysis_saurav_wcvi
16a348a3a828b04f20cac019a3ef1f1476ae9c4e
[ "Apache-2.0" ]
null
null
null
plot_multiple_traj.py
UBC-MOAD/analysis_saurav_wcvi
16a348a3a828b04f20cac019a3ef1f1476ae9c4e
[ "Apache-2.0" ]
null
null
null
import matplotlib matplotlib.use('Agg') # Must be before importing matplotlib.pyplot or pylab! import matplotlib.pyplot as plt import numpy as np import pandas as pd import numpy.ma as ma import glob from collections import namedtuple, OrderedDict import netCDF4 as nc import os import scipy import scipy.io as sio from ...
34.030303
184
0.689225
715
4,492
4.117483
0.348252
0.040761
0.096807
0.070992
0.22894
0.142663
0.112772
0.091033
0.063859
0.063859
0
0.043028
0.161843
4,492
131
185
34.290076
0.738911
0.06545
0
0
0
0
0.154177
0.077566
0
0
0
0
0
1
0.010989
false
0
0.32967
0
0.340659
0
0
0
0
null
0
0
0
0
0
0
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
b51f4c208666c1958f75a799f6143e686b153ccb
7,919
py
Python
src/rdml_graph/core/Node.py
ianran/rdml_graph
83f3896a2a0f5ceb7e092f4e719fb35254c5a5f8
[ "MIT" ]
4
2020-09-01T17:52:18.000Z
2022-01-18T22:36:48.000Z
src/rdml_graph/core/Node.py
ianran/rdml_graph
83f3896a2a0f5ceb7e092f4e719fb35254c5a5f8
[ "MIT" ]
null
null
null
src/rdml_graph/core/Node.py
ianran/rdml_graph
83f3896a2a0f5ceb7e092f4e719fb35254c5a5f8
[ "MIT" ]
null
null
null
# Copyright 2020 Ian Rankin # # Permission is hereby granted, free of charge, to any person obtaining a copy of this # software and associated documentation files (the "Software"), to deal in the Software # without restriction, including without limitation the rights to use, copy, modify, merge, # publish, distribute, ...
32.858921
92
0.607274
1,114
7,919
4.263016
0.252244
0.023584
0.011792
0.019162
0.332912
0.280691
0.277322
0.268478
0.240682
0.218151
0
0.002516
0.29726
7,919
240
93
32.995833
0.850854
0.49236
0
0.349515
0
0
0.019346
0
0
0
0
0
0
1
0.203884
false
0
0.038835
0.07767
0.524272
0
0
0
0
null
0
0
0
0
0
0
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
b524461616a3e1345e007aa31d1d714eb65357bd
8,684
py
Python
ambari-server/src/main/resources/scripts/configs.py
runningt/ambari
7b91469e68a80bfcabe4b79d855caa684bf51378
[ "Apache-2.0" ]
16
2018-05-24T10:28:24.000Z
2021-08-05T03:13:26.000Z
ambari-server/src/main/resources/scripts/configs.py
cas-packone/ambari-chs
68033fbd4b810b6642853f2ad9128cbbd4e0cb7b
[ "Apache-2.0" ]
2
2018-10-24T11:06:24.000Z
2019-09-09T08:51:21.000Z
ambari-server/src/main/resources/scripts/configs.py
cas-packone/ambari-chs
68033fbd4b810b6642853f2ad9128cbbd4e0cb7b
[ "Apache-2.0" ]
17
2018-07-06T08:57:00.000Z
2021-11-04T11:00:36.000Z
#!/usr/bin/env python ''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License")...
34.054902
151
0.714763
1,154
8,684
5.179376
0.196707
0.050192
0.068262
0.050192
0.329429
0.254475
0.212983
0.14355
0.107579
0.078969
0
0.011974
0.163289
8,684
254
152
34.188976
0.810625
0.003915
0
0.158974
0
0.005128
0.130159
0.014103
0
0
0
0
0
0
null
null
0.025641
0.025641
null
null
0.071795
0
0
0
null
0
0
0
0
0
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
b528635709c10bb3a60d2427150ffc0a799ec28e
880
py
Python
setup.py
521274311/pyeasytd
dbbda166ad081959a28a4b99a12996016a446e3c
[ "Apache-2.0" ]
1
2020-02-15T20:56:00.000Z
2020-02-15T20:56:00.000Z
setup.py
521274311/pyeasytd
dbbda166ad081959a28a4b99a12996016a446e3c
[ "Apache-2.0" ]
null
null
null
setup.py
521274311/pyeasytd
dbbda166ad081959a28a4b99a12996016a446e3c
[ "Apache-2.0" ]
null
null
null
try: from setuptools import setup except: from distutils.core import setup import setuptools setup( name='pyeasytd', author='dragons', version='0.0.4', description='使Python开发变的更简单', long_description='Python 简化处理工具,轻松、快捷编码,使Python开发变的更简单。', author_email='521274311@qq.com', url='https...
26.666667
62
0.578409
104
880
4.846154
0.673077
0.011905
0
0
0
0
0
0
0
0
0
0.070783
0.245455
880
33
63
26.666667
0.688253
0.125
0
0.076923
0
0
0.378272
0.039267
0
0
0
0
0
1
0
true
0
0.115385
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b53271ce73235ca674b7d60df637e6e92470eeec
1,771
py
Python
finepixf470/Device.py
Monolite/evdp
11b3136a5e74c3405cdc8007cc010c406d7c6c06
[ "MIT" ]
null
null
null
finepixf470/Device.py
Monolite/evdp
11b3136a5e74c3405cdc8007cc010c406d7c6c06
[ "MIT" ]
null
null
null
finepixf470/Device.py
Monolite/evdp
11b3136a5e74c3405cdc8007cc010c406d7c6c06
[ "MIT" ]
null
null
null
from pandac.PandaModules import * import direct.directbase.DirectStart from direct.showbase import DirectObject from CameraApp import CameraApp import OptionManager from EventDispatcher import EventDispatcher from PhotoApp import PhotoApp import datetime class Device: def __init__(self): self.model = load...
27.246154
91
0.63467
205
1,771
5.414634
0.4
0.043243
0.037838
0.043243
0
0
0
0
0
0
0
0.009863
0.255788
1,771
64
92
27.671875
0.832322
0
0
0
0
0
0.08131
0
0
0
0
0
0
0
null
null
0
0.16
null
null
0.06
0
0
0
null
0
0
0
0
0
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
b534a6345ee51dbd5df47005680d37f3bc9abae2
5,831
py
Python
cgt/nn_ops/cross_channel_lrn.py
rohanraja/cgt_distributed
3d8ee39460eadc96739d55eb46eed92f12ea1e22
[ "MIT" ]
698
2015-08-25T08:17:42.000Z
2022-02-08T10:08:01.000Z
cgt/nn_ops/cross_channel_lrn.py
xiaohu2015/cgt
90b15ab041fc2137e62b96e8612ccee605f71ceb
[ "MIT" ]
59
2015-08-25T17:45:24.000Z
2021-11-14T16:58:52.000Z
cgt/nn_ops/cross_channel_lrn.py
xiaohu2015/cgt
90b15ab041fc2137e62b96e8612ccee605f71ceb
[ "MIT" ]
111
2015-08-25T20:35:17.000Z
2021-09-18T03:35:28.000Z
import ctypes import cgt from cgt import core from collections import namedtuple LRNInfo = namedtuple("LRNInfo",["localsize","alpha","beta"]) def make_closure(info): return [ ("localsize",ctypes.c_int,info.localsize), ("alpha",ctypes.c_double,info.alpha), ("beta",ctypes.c_double,info.beta)...
51.149123
199
0.58875
682
5,831
4.895894
0.180352
0.067086
0.016173
0.026954
0.618748
0.618748
0.564241
0.545073
0.522312
0.493561
0
0.007903
0.262219
5,831
113
200
51.60177
0.768247
0.005488
0
0.42
0
0.13
0.637619
0.129077
0
0
0
0
0.04
1
0.11
false
0
0.04
0.05
0.28
0
0
0
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
b53b5c87cec20def0a40d5ade8608dad97654bcf
361
py
Python
mongo.py
mhgzadeh/web-crawling
ac910c43b5c98efba86bd17da2a33b4a7c38d2c5
[ "MIT" ]
null
null
null
mongo.py
mhgzadeh/web-crawling
ac910c43b5c98efba86bd17da2a33b4a7c38d2c5
[ "MIT" ]
null
null
null
mongo.py
mhgzadeh/web-crawling
ac910c43b5c98efba86bd17da2a33b4a7c38d2c5
[ "MIT" ]
null
null
null
from pymongo import MongoClient class MongoDatabase: instance = None @classmethod def __new__(cls, *args, **kwargs): if cls.instance is None: cls.instance = super().__new__(*args, **kwargs) return cls.instance def __init__(self): self.client = MongoClient() ...
22.5625
59
0.626039
39
361
5.487179
0.589744
0.154206
0
0
0
0
0
0
0
0
0
0
0.265928
361
15
60
24.066667
0.807547
0
0
0
0
0
0.019391
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b543c383836e503f24ac8dc7d6e07b6b37f1977d
28,694
py
Python
velodyn/velocity_ci.py
calico/velodyn
b98a1d15a031feff48479dc4e2963c4f62ba07d6
[ "Apache-2.0" ]
16
2020-04-09T11:05:34.000Z
2022-01-01T17:51:21.000Z
velodyn/velocity_ci.py
calico/velodyn
b98a1d15a031feff48479dc4e2963c4f62ba07d6
[ "Apache-2.0" ]
null
null
null
velodyn/velocity_ci.py
calico/velodyn
b98a1d15a031feff48479dc4e2963c4f62ba07d6
[ "Apache-2.0" ]
1
2020-12-17T05:26:52.000Z
2020-12-17T05:26:52.000Z
"""Generate confidence intervals for RNA velocity models by bootstrapping across reads. Our bootstrapping procedure is as follows: 1. Given a spliced count matrix ([Cells, Genes]) S and an unspliced matrix U, create a total counts matrix X = S + U. 2.1 For each cell X_i \in X, fit a multinomial distribution. Sample D...
36.184111
100
0.583815
3,421
28,694
4.793335
0.175387
0.020856
0.01677
0.006952
0.166606
0.129406
0.102634
0.087877
0.071533
0.071533
0
0.004997
0.330452
28,694
792
101
36.229798
0.848532
0.461804
0
0.202279
1
0
0.115085
0.004341
0
0
0
0
0.002849
1
0.039886
false
0
0.019943
0
0.099715
0.039886
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
b548bcf7bff008c75f5617f479bb3328bddb10ad
378
py
Python
sumprimeslist.py
AbhishekBhattacharya/Python-MOOC
f9796e02ae88dd6684f1d2737dfa7271c8c35a5c
[ "MIT" ]
null
null
null
sumprimeslist.py
AbhishekBhattacharya/Python-MOOC
f9796e02ae88dd6684f1d2737dfa7271c8c35a5c
[ "MIT" ]
null
null
null
sumprimeslist.py
AbhishekBhattacharya/Python-MOOC
f9796e02ae88dd6684f1d2737dfa7271c8c35a5c
[ "MIT" ]
null
null
null
def factors(n): factorlist=[] for i in range(1,n+1): if n%i==0: factorlist=factorlist+[i] return(factorlist) def isprime(n): return(factors(n)==[1,n]) def sumprimes(l): sum=0 for i in range(0,len(l)): if isprime(l[i]): sum=s...
14
38
0.436508
50
378
3.3
0.34
0.09697
0.072727
0.133333
0
0
0
0
0
0
0
0.027397
0.420635
378
26
39
14.538462
0.726027
0
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0
0.071429
0.214286
0
0
0
0
null
0
0
0
0
0
0
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
b5504b4850fbadf74e3f6439ee077c5c2ae787a5
6,288
py
Python
controllers/gear/migrations/0001_initial.py
rhaamo/camgear
38200cc616120ac381892bfc1996a1e97dbbfc83
[ "MIT" ]
null
null
null
controllers/gear/migrations/0001_initial.py
rhaamo/camgear
38200cc616120ac381892bfc1996a1e97dbbfc83
[ "MIT" ]
37
2019-01-04T04:30:33.000Z
2022-03-11T23:36:05.000Z
controllers/gear/migrations/0001_initial.py
rhaamo/camgear
38200cc616120ac381892bfc1996a1e97dbbfc83
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-04-26 16:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Manufacturer", fields=[ ...
42.77551
119
0.377226
455
6,288
5.12967
0.353846
0.047986
0.08569
0.089117
0.46401
0.354327
0.325193
0.261782
0.206941
0.206941
0
0.063004
0.487595
6,288
146
120
43.068493
0.66139
0.007156
0
0.309353
1
0
0.11777
0
0
0
0
0
0
1
0
false
0
0.014388
0
0.043165
0
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
b555157b93889f136b2d2bcb78bd51849847713b
2,688
py
Python
books_library/navigation/models.py
Ilyes-Hammadi/books-library
cba0df1ae95c3467b8d16caca16383c0af9a98cd
[ "MIT" ]
9
2017-07-20T15:25:51.000Z
2019-08-26T22:48:01.000Z
books_library/navigation/models.py
Ilyes-Hammadi/bookslib
cba0df1ae95c3467b8d16caca16383c0af9a98cd
[ "MIT" ]
null
null
null
books_library/navigation/models.py
Ilyes-Hammadi/bookslib
cba0df1ae95c3467b8d16caca16383c0af9a98cd
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.conf import settings from django.contrib.auth.models import User from django.db import models from books_library.books.models import Book, Category # Create your models here. class Search(models.Model): terms = models.TextField() created = models.DateTi...
27.428571
76
0.677827
310
2,688
5.735484
0.325806
0.070866
0.098425
0.11811
0.330709
0.250281
0.177165
0.150169
0.150169
0.12036
0
0.007526
0.209077
2,688
97
77
27.71134
0.828786
0.052455
0
0.206897
0
0
0.037067
0
0
0
0
0
0
1
0.12069
false
0
0.086207
0.086207
0.844828
0
0
0
0
null
0
0
0
0
0
0
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
b55713f65b6944e5d67d974e6133333ad4f0125e
2,375
py
Python
projects/06/Assembler.py
adyavanapalli/nand2tetris
6103a72116e8bf1de1fb138a18d65109d28499f5
[ "Unlicense" ]
1
2017-08-05T14:52:57.000Z
2017-08-05T14:52:57.000Z
projects/06/Assembler.py
adyavanapalli/nand2tetris
6103a72116e8bf1de1fb138a18d65109d28499f5
[ "Unlicense" ]
null
null
null
projects/06/Assembler.py
adyavanapalli/nand2tetris
6103a72116e8bf1de1fb138a18d65109d28499f5
[ "Unlicense" ]
1
2021-01-01T22:23:28.000Z
2021-01-01T22:23:28.000Z
#!/usr/local/bin/python3 import Parser, Code, SymbolTable, sys # Usage: Assembler.py file.asm # Reads file.asm and outputs file.hack - the assembled machine code as a text file. class Assembler(object): def __init__(self): self.symbols = SymbolTable.SymbolTable() self.symbol_addr = 16 ...
34.42029
91
0.572211
279
2,375
4.724014
0.37276
0.054628
0.031866
0.027314
0.179818
0.118361
0.118361
0.118361
0.118361
0.118361
0
0.007407
0.317895
2,375
69
92
34.42029
0.806173
0.145684
0
0.211538
0
0
0.027682
0
0
0
0
0
0
1
0.115385
false
0.096154
0.019231
0
0.230769
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b558b8800a66309326343ed7ed18584f41faa171
5,504
py
Python
mysite/settings.py
weilunn97/WhatStat-Django
278364bb694ccbf7e2f21f77c1503c60dbd0bf98
[ "MIT" ]
null
null
null
mysite/settings.py
weilunn97/WhatStat-Django
278364bb694ccbf7e2f21f77c1503c60dbd0bf98
[ "MIT" ]
9
2021-03-18T22:29:24.000Z
2021-09-22T18:22:16.000Z
mysite/settings.py
weilunn97/WhatsAnalyzer--Django-
278364bb694ccbf7e2f21f77c1503c60dbd0bf98
[ "MIT" ]
null
null
null
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # Bu...
27.383085
94
0.699491
670
5,504
5.649254
0.41194
0.058388
0.035931
0.046235
0.162483
0.136063
0.094848
0.094848
0.056011
0
0
0.009709
0.176599
5,504
201
95
27.383085
0.825463
0.225109
0
0
1
0.009709
0.4962
0.39772
0
0
0
0
0
1
0
false
0.048544
0.009709
0
0.009709
0
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
b55f555935cd56687005a6e59d438a03b3e1f52d
2,459
py
Python
pKaTool/pKaTool_utility.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
3
2016-11-11T06:11:03.000Z
2021-09-12T22:13:51.000Z
pKaTool/pKaTool_utility.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
null
null
null
pKaTool/pKaTool_utility.py
shambo001/peat
7a26e896aa9914b084a9064df09ed15df4047cf3
[ "MIT" ]
2
2016-02-15T16:10:36.000Z
2018-02-27T10:33:21.000Z
#!/usr/bin/env python # # pKaTool - analysis of systems of titratable groups # Copyright (C) 2010 Jens Erik Nielsen # # This program 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 Lice...
35.128571
121
0.613257
360
2,459
4.094444
0.441667
0.071235
0.043419
0.030529
0.130258
0.090909
0.029851
0.029851
0
0
0
0.026903
0.289549
2,459
69
122
35.637681
0.816829
0.414803
0
0.24
0
0.04
0.062745
0
0
0
0
0
0
0
null
null
0
0
null
null
0.08
0
0
0
null
0
0
0
0
0
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
b564056010511d9eaaa2ade8e4d9a972d88cf7dd
456
py
Python
src/py27/create_versionedviews.py
mattyschell/geodatabase-toiler
c8231999c3156bf41f9b80f151085afa97ba8586
[ "CC0-1.0" ]
null
null
null
src/py27/create_versionedviews.py
mattyschell/geodatabase-toiler
c8231999c3156bf41f9b80f151085afa97ba8586
[ "CC0-1.0" ]
4
2021-04-05T16:03:30.000Z
2022-03-02T21:28:06.000Z
src/py27/create_versionedviews.py
mattyschell/geodatabase-toiler
c8231999c3156bf41f9b80f151085afa97ba8586
[ "CC0-1.0" ]
null
null
null
"""Enable versioned views from ArcGIS (python 27) """ import os import sys # these are the skeleton 2.7 classes here in py27 import gdb import fc # C:\matt_projects\geodatabase-toiler>set SDEFILE=XX:\GIS\Internal\Connections\oracle19c\dev\bldg.sde # no arcpy2path environmental, we are already being called from the ol...
19.826087
101
0.741228
68
456
4.955882
0.764706
0
0
0
0
0
0
0
0
0
0
0.052219
0.160088
456
22
102
20.727273
0.827676
0.627193
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b56cb430d63f97b3a259c21122b18c7d6ab3ac3e
3,121
py
Python
data-science-in-python/introduction_to_data_science_in_python/pandas_date.py
ysoftman/test_code
4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8
[ "MIT" ]
3
2017-12-07T04:29:36.000Z
2022-01-11T10:58:14.000Z
data-science-in-python/introduction_to_data_science_in_python/pandas_date.py
ysoftman/test_code
4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8
[ "MIT" ]
14
2018-07-17T05:16:42.000Z
2022-03-22T00:43:47.000Z
data-science-in-python/introduction_to_data_science_in_python/pandas_date.py
ysoftman/test_code
4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # author: ysoftman # python version : 3.x # desc : pandas test import matplotlib.pyplot as plt import numpy as np import pandas as pd # pandas 에는 Timestamp, DatetimeIndex, Period, PeriodIndex 클래스가 있다. # 타임스탬프 형식들 print(pd.Timestamp('2/15/2019 07:20PM')) print(pd.Timestamp('2019-02-15 07:20PM')...
25.169355
79
0.654598
552
3,121
3.688406
0.387681
0.070236
0.062868
0.041749
0.215128
0.187132
0.168468
0.14391
0.111984
0.111984
0
0.139332
0.15604
3,121
123
80
25.373984
0.633637
0.303749
0
0.227273
0
0
0.188936
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0.712121
0
0
0
null
0
0
0
0
0
0
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
b57af1019e4fa19ecfe8779a7b02590f37a72757
700
py
Python
operations/fleet_management/migrations/0060_auto_20180710_1407.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/fleet_management/migrations/0060_auto_20180710_1407.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/fleet_management/migrations/0060_auto_20180710_1407.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-07-10 12:07 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fleet_management', '0059_merge_20180709_1407'), ] operations = [ migrations...
26.923077
73
0.637143
70
700
6.157143
0.614286
0.092807
0.116009
0.134571
0.417633
0.417633
0.199536
0
0
0
0
0.06334
0.255714
700
25
74
28
0.763916
0.097143
0
0.333333
1
0
0.228935
0.038156
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b57ee301a4c81c3cf9af331dcdb271711a35d2c0
2,353
py
Python
facebookTools/groups/fb_groups.py
justani98/FacebookTools
31ee1be1ce88cc03fe946f19ed071e42f354eed6
[ "MIT" ]
null
null
null
facebookTools/groups/fb_groups.py
justani98/FacebookTools
31ee1be1ce88cc03fe946f19ed071e42f354eed6
[ "MIT" ]
null
null
null
facebookTools/groups/fb_groups.py
justani98/FacebookTools
31ee1be1ce88cc03fe946f19ed071e42f354eed6
[ "MIT" ]
null
null
null
from selenium import webdriver import getpass def login(username, password): driver = webdriver.Chrome() driver.get("https://www.facebook.com") username_entry = driver.find_element_by_css_selector('input[type="email"]') username_entry.send_keys(username) password_entry = driver.find_element_by_css_selector('i...
29.78481
132
0.732682
333
2,353
4.990991
0.375375
0.042118
0.054753
0.068592
0.181107
0.134176
0.134176
0.052948
0.052948
0
0
0.0035
0.150021
2,353
78
133
30.166667
0.8275
0.036974
0
0.033898
0
0
0.272527
0.022085
0
0
0
0
0
1
0.067797
false
0.118644
0.033898
0
0.152542
0.084746
0
0
0
null
0
0
0
0
0
0
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
b581d87beb9a8e80335cd4c1977cacebe82e1da9
1,429
py
Python
Human-Visible-Project-Blender-3D-manual-coarseBl293curvesMERGER.py
moueza/Human-Visible-Project-Blender-3D
c12b1681bd7adcadc5e3f71cbdc29256ea2b7b61
[ "Apache-2.0" ]
3
2021-09-20T13:47:39.000Z
2022-01-20T12:26:16.000Z
Human-Visible-Project-Blender-3D-manual-coarseBl293curvesMERGER.py
moueza/Human-Visible-Project-Blender-3D
c12b1681bd7adcadc5e3f71cbdc29256ea2b7b61
[ "Apache-2.0" ]
7
2021-09-08T07:25:45.000Z
2021-10-05T11:47:14.000Z
Human-Visible-Project-Blender-3D-manual-coarseBl293curvesMERGER.py
moueza/Human-Visible-Project-Blender-3D
c12b1681bd7adcadc5e3f71cbdc29256ea2b7b61
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -* #Bl2.93.3 #10by10 #TODO delete own coll #TODO delete img import bpy import os #import bpy ; import os ; filename420547 = os.path.join(os.path.dirname(bpy.data.filepath), "Human-Visible-Project-Blender-3D-manual-coarseBl293curvesMERGER.py"); exec(compile(open(filename420547).read(), filename420...
35.725
229
0.743877
213
1,429
4.957746
0.502347
0.019886
0.053977
0.073864
0.170455
0.143939
0.079545
0
0
0
0
0.046311
0.108467
1,429
40
230
35.725
0.782575
0.491253
0
0
0
0.055556
0.286713
0.239161
0
0
0
0.025
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b587d2de525e7deada3329cb9fdf7cb0fc958ffd
1,697
py
Python
chatbot/logic/image/image_adapter.py
zgj0607/ChatBot
3c6126754b9d037a04bd80d13874e2ae16b2c421
[ "Apache-2.0" ]
null
null
null
chatbot/logic/image/image_adapter.py
zgj0607/ChatBot
3c6126754b9d037a04bd80d13874e2ae16b2c421
[ "Apache-2.0" ]
null
null
null
chatbot/logic/image/image_adapter.py
zgj0607/ChatBot
3c6126754b9d037a04bd80d13874e2ae16b2c421
[ "Apache-2.0" ]
null
null
null
import re from PIL import Image from chatterbot import ChatBot from chatterbot.logic import LogicAdapter from pytesseract import pytesseract from chatbot.logic.unknown import get_unknown_response from chatbot.processor import tokenizer from chatbot.settings import logger, BASE_DIR from chatbot.vocabulary import Word ...
33.27451
119
0.670595
212
1,697
5.165094
0.419811
0.057534
0.065753
0.065753
0.169863
0.140639
0.080365
0.080365
0.080365
0.080365
0
0.010503
0.214496
1,697
50
120
33.94
0.810953
0.050088
0
0.058824
0
0.058824
0.080846
0.070896
0
0
0
0
0
1
0.088235
false
0
0.264706
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
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
b587fb4ae492fb0f8fdf19aeac47e2a576ba0cb4
809
py
Python
utils/rename_files.py
hengxyz/MIDV_2020_det
3e4074bcb2766da2be122876365e4826c6b32fb9
[ "Apache-2.0" ]
1
2021-08-11T01:15:38.000Z
2021-08-11T01:15:38.000Z
utils/rename_files.py
hengxyz/MIDV_2020_det
3e4074bcb2766da2be122876365e4826c6b32fb9
[ "Apache-2.0" ]
null
null
null
utils/rename_files.py
hengxyz/MIDV_2020_det
3e4074bcb2766da2be122876365e4826c6b32fb9
[ "Apache-2.0" ]
null
null
null
import os import glob #path = "/data/zming/datasets/MIDV2020/clips_det/images/" #path = "/data/zming/datasets/MIDV2020/perfect_scan_det/images/" #path = "/data/zming/datasets/MIDV2020/photo_det/images/" path = "/data/zming/datasets/MIDV2020/shift_scan_det/images/" folders = os.listdir(path) folders.sort() for folder...
32.36
85
0.642769
126
809
4
0.277778
0.063492
0.103175
0.166667
0.728175
0.670635
0.670635
0.325397
0.325397
0.325397
0
0.04507
0.122373
809
24
86
33.708333
0.664789
0.542645
0
0
0
0
0.211111
0.144444
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.1
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
b591d963005fb42961b5361af48eb35aeddc82ee
95
py
Python
Scripts/addition.py
ankitbharti1994/Python
86308694cc13910850dc9bd69f6f0d1eaac69bcf
[ "Apache-2.0" ]
null
null
null
Scripts/addition.py
ankitbharti1994/Python
86308694cc13910850dc9bd69f6f0d1eaac69bcf
[ "Apache-2.0" ]
null
null
null
Scripts/addition.py
ankitbharti1994/Python
86308694cc13910850dc9bd69f6f0d1eaac69bcf
[ "Apache-2.0" ]
null
null
null
from calendar import isleap print(isleap(2019)) def add(a, b): print(a + b) add(5, 6)
8.636364
27
0.621053
17
95
3.470588
0.705882
0.067797
0
0
0
0
0
0
0
0
0
0.082192
0.231579
95
10
28
9.5
0.726027
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0.4
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
b595ae469333f123c2b37e549713dbe60a71ca68
2,386
py
Python
benchmarks/benchmarks/bench_core.py
akesandgren/numpy
08fc49e1b33e4da9e14e375f399ba92c615eb569
[ "BSD-3-Clause" ]
1
2019-04-27T16:03:46.000Z
2019-04-27T16:03:46.000Z
benchmarks/benchmarks/bench_core.py
joferkington/numpy
cc51ba88af13175d4bdf9e7bf9675a88e3cb10ea
[ "BSD-3-Clause" ]
null
null
null
benchmarks/benchmarks/bench_core.py
joferkington/numpy
cc51ba88af13175d4bdf9e7bf9675a88e3cb10ea
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import, division, print_function from .common import Benchmark import numpy as np class Core(Benchmark): def setup(self): self.l100 = range(100) self.l50 = range(50) self.l = [np.arange(1000), np.arange(1000)] self.l10x10 = np.ones((10, 10)) d...
21.889908
64
0.605197
349
2,386
3.954155
0.200573
0.131884
0.050725
0.043478
0.284783
0.162319
0.133333
0.05942
0.05942
0
0
0.109721
0.262783
2,386
108
65
22.092593
0.674815
0
0
0.054795
0
0
0.011316
0
0
0
0
0
0
1
0.39726
false
0
0.041096
0
0.506849
0.013699
0
0
0
null
0
0
0
0
0
0
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
b59a2bf87307c42629688f4ddf81fd675144183c
1,263
py
Python
visulization.py
eagerming/Semantic-Trajectory-Mining
12ac26aa3792b6964d1c87a3a846d37a3742f410
[ "MIT" ]
2
2018-12-06T14:59:42.000Z
2019-11-07T08:29:30.000Z
visulization.py
eagerming/Semantic-Trajectory-Mining
12ac26aa3792b6964d1c87a3a846d37a3742f410
[ "MIT" ]
null
null
null
visulization.py
eagerming/Semantic-Trajectory-Mining
12ac26aa3792b6964d1c87a3a846d37a3742f410
[ "MIT" ]
2
2021-07-02T04:29:56.000Z
2022-02-16T12:07:11.000Z
import json import zipfile import numpy as np import pandas as pd import matplotlib.pyplot as plt # reading training data df = pd.read_csv('train.csv', converters={'POLYLINE': lambda x: json.loads(x)[:]},nrows=1000) latLong = np.array([]) allTrajectoryLatLong=[p for p in df['POLYLINE'] if len(p)>0] #for oneTrajecto...
32.384615
101
0.684877
195
1,263
4.34359
0.358974
0.01889
0.028335
0.016529
0.056671
0.056671
0.056671
0.056671
0.056671
0.056671
0
0.027726
0.14331
1,263
39
102
32.384615
0.755083
0.565321
0
0
0
0
0.084906
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b5acc6382db69bcc982b9e2792f6a60c4e2da4ab
553
py
Python
setup.py
cgtx/toleo-cli
3ad7a8a9f307939d30df9c88fcfd9fd9a1a0b45c
[ "Apache-2.0" ]
null
null
null
setup.py
cgtx/toleo-cli
3ad7a8a9f307939d30df9c88fcfd9fd9a1a0b45c
[ "Apache-2.0" ]
null
null
null
setup.py
cgtx/toleo-cli
3ad7a8a9f307939d30df9c88fcfd9fd9a1a0b45c
[ "Apache-2.0" ]
null
null
null
import setuptools import sys if not sys.version_info >= (3, 4): sys.exit('requires Python 3.4 or newer') setuptools.setup( name='toleo-cli', version='0.0.1', description='CLI interface to toleo library.', author='Carl George', author_email='carl@cgtx.us', url='https://github.com/carlgeor...
26.333333
64
0.660036
72
553
4.972222
0.652778
0.089385
0.044693
0
0
0
0
0
0
0
0
0.019481
0.164557
553
20
65
27.65
0.755411
0
0
0
0
0
0.435805
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b5b1fae47703e382e91479221f345f6638f7c6b7
984
py
Python
demo_tests/demo_app/tests.py
OmenApps/django-fieldbustier
4189f419eafa67648d65ed50195a7bb5d9ee159c
[ "MIT" ]
1
2020-03-03T22:46:02.000Z
2020-03-03T22:46:02.000Z
demo_tests/demo_app/tests.py
OmenApps/django-fieldbustier
4189f419eafa67648d65ed50195a7bb5d9ee159c
[ "MIT" ]
1
2020-01-20T20:31:40.000Z
2020-02-10T15:54:08.000Z
demo_tests/demo_app/tests.py
OmenApps/django-fieldbustier
4189f419eafa67648d65ed50195a7bb5d9ee159c
[ "MIT" ]
1
2020-01-18T00:39:52.000Z
2020-01-18T00:39:52.000Z
from decimal import Decimal from django.db.utils import DataError from django.test import TestCase from .models import DummyModel class DummyModelUnModifiedTest(TestCase): def test_dummy_charfield(self): with self.assertRaises(DataError): DummyModel.objects.create(char_field="a_long_name_mor...
36.444444
91
0.757114
120
984
5.933333
0.366667
0.146067
0.067416
0.113764
0.408708
0.372191
0.146067
0
0
0
0
0.019277
0.156504
984
26
92
37.846154
0.838554
0
0
0
0
0
0.053862
0.039634
0
0
0
0
0.263158
1
0.210526
false
0
0.210526
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b5b24183681561658532a827820b123a7382b885
377
py
Python
Python/lc_1167_min_cost_connect_sticks.py
cmattey/leetcode_problems
fe57e668db23f7c480835c0a10f363d718fbaefd
[ "MIT" ]
6
2019-07-01T22:03:25.000Z
2020-04-06T15:17:46.000Z
Python/lc_1167_min_cost_connect_sticks.py
cmattey/leetcode_problems
fe57e668db23f7c480835c0a10f363d718fbaefd
[ "MIT" ]
null
null
null
Python/lc_1167_min_cost_connect_sticks.py
cmattey/leetcode_problems
fe57e668db23f7c480835c0a10f363d718fbaefd
[ "MIT" ]
1
2020-04-01T22:31:41.000Z
2020-04-01T22:31:41.000Z
# Time: O(nlogn) # Space: O(n) class Solution: def connectSticks(self, sticks: List[int]) -> int: import heapq heapq.heapify(sticks) cost = 0 while len(sticks)>1: cur_cost = heapq.heappop(sticks) + heapq.heappop(sticks) heapq.heappush(sticks, cur_cost) ...
18.85
68
0.551724
44
377
4.659091
0.568182
0.102439
0.17561
0.22439
0
0
0
0
0
0
0
0.008065
0.342175
377
19
69
19.842105
0.818548
0.068966
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.4
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
b5b465991ebc72971da95e1d3a5f3fd094d73b72
6,930
py
Python
pipeline/integration_tests/functional_tests/integ_tests_junit.py
tsu-denim/strafer-duty
a561e107dc1abc2dce6b4a51c090245831f8cfc8
[ "MIT" ]
9
2018-11-16T19:34:54.000Z
2021-05-26T03:44:18.000Z
pipeline/integration_tests/functional_tests/integ_tests_junit.py
tsu-denim/strafer-duty
a561e107dc1abc2dce6b4a51c090245831f8cfc8
[ "MIT" ]
1
2019-01-28T13:51:20.000Z
2019-01-28T13:51:20.000Z
pipeline/integration_tests/functional_tests/integ_tests_junit.py
tsu-denim/strafer-duty
a561e107dc1abc2dce6b4a51c090245831f8cfc8
[ "MIT" ]
null
null
null
import pytest import requests import os from functions.lib.manifest import JasmineManifest from functions.lib.junit_formatter import JunitHelper def test_junit_passed(report_path): report = JunitHelper(report_path) case_list = report.get_test_attributes() contains_pass = False for case in case_list:...
35.357143
158
0.690043
915
6,930
4.923497
0.143169
0.047947
0.0404
0.071476
0.65616
0.641953
0.557825
0.557825
0.50788
0.501221
0
0.003396
0.235209
6,930
195
159
35.538462
0.846604
0.013853
0
0.513333
0
0
0.135266
0.009808
0
0
0
0
0.173333
1
0.073333
false
0.06
0.033333
0
0.106667
0.006667
0
0
0
null
0
0
0
0
0
0
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
b5b7882f3599d2835108c80a0f780d1ba3461689
1,659
py
Python
anpylar/application_styles.py
anpylar/anpylar-cli
702e5d029305d7332a344dcd51d7a10ff685f20b
[ "MIT" ]
1
2018-01-29T04:54:17.000Z
2018-01-29T04:54:17.000Z
anpylar/application_styles.py
anpylar/anpylar-cli
702e5d029305d7332a344dcd51d7a10ff685f20b
[ "MIT" ]
1
2018-01-13T18:56:59.000Z
2018-01-13T18:59:43.000Z
anpylar/application_styles.py
anpylar/anpylar-cli
702e5d029305d7332a344dcd51d7a10ff685f20b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8; py-indent-offset:4 -*- ############################################################################### # Copyright 2018 The AnPyLar Team. All Rights Reserved. # Use of this source code is governed by an MIT-style license that # can be found in the LICENSE file at http://anpyla...
20.231707
79
0.606992
211
1,659
4.767773
0.50237
0.049702
0.059642
0.071571
0.364811
0.307157
0.274354
0.200795
0.200795
0.200795
0
0.037846
0.17179
1,659
81
80
20.481481
0.694323
0.149488
0
0.228571
0
0
0.978365
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b5b7d86fc0753378a8e6349921aaca18a47cf41a
5,082
py
Python
hostmanager/tomato/api/accounting.py
dswd/ToMaTo
355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4
[ "BSD-4-Clause-UC" ]
2
2016-11-10T06:12:05.000Z
2016-11-10T06:12:10.000Z
hostmanager/tomato/api/accounting.py
dswd/ToMaTo
355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4
[ "BSD-4-Clause-UC" ]
2
2015-01-19T16:00:24.000Z
2015-01-20T11:33:56.000Z
hostmanager/tomato/api/accounting.py
dswd/ToMaTo
355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4
[ "BSD-4-Clause-UC" ]
1
2016-11-10T06:12:15.000Z
2016-11-10T06:12:15.000Z
# -*- coding: utf-8 -*- # ToMaTo (Topology management software) # Copyright (C) 2010 Dennis Schwerdel, University of Kaiserslautern # # This program 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 vers...
41.317073
136
0.695396
730
5,082
4.828767
0.20274
0.025532
0.06383
0.07234
0.700142
0.68227
0.609645
0.580142
0.56539
0.56539
0
0.023286
0.239473
5,082
123
137
41.317073
0.888745
0.757182
0
0
0
0
0.0223
0
0
0
0
0
0
1
0.272727
false
0
0.272727
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b5b8d368f46df7faf73bf43cf4083e17f5bcfadd
515
py
Python
numpy/numpy5.py
changeui99/python-study
a0226ff2361d5a08ea0661d23b7af0a4feab4876
[ "MIT" ]
null
null
null
numpy/numpy5.py
changeui99/python-study
a0226ff2361d5a08ea0661d23b7af0a4feab4876
[ "MIT" ]
null
null
null
numpy/numpy5.py
changeui99/python-study
a0226ff2361d5a08ea0661d23b7af0a4feab4876
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt if __name__ == "__main__" : #linalg submodule #역행렬 x = np.random.randn(3, 3) print(x) print(np.linalg.inv(x)) print(np.linalg.inv(x) @ x) #행렬 곱 a = np.array([[1, 1], [2, 4]]) b = np.array([25, 64]) print(a) print(b) a =...
21.458333
67
0.530097
94
515
2.819149
0.425532
0.10566
0.14717
0.10566
0.411321
0.132075
0
0
0
0
0
0.066489
0.269903
515
24
67
21.458333
0.638298
0.087379
0
0
0
0
0.017167
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.466667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
a91a11e3cf721dc16c4c6aef82548c5bdf1ae82f
5,367
py
Python
ZooKeeper/SimpleClientSession/orig-zkclient.py
asgokhale/DistributedSystemsCourse
9ae24ed65e7a7ef849c7e39ec5a1a8cc5973c12f
[ "Apache-2.0" ]
4
2022-01-16T17:36:49.000Z
2022-02-07T16:57:33.000Z
ZooKeeper/SimpleClientSession/orig-zkclient.py
asgokhale/DistributedSystemsCourse
9ae24ed65e7a7ef849c7e39ec5a1a8cc5973c12f
[ "Apache-2.0" ]
null
null
null
ZooKeeper/SimpleClientSession/orig-zkclient.py
asgokhale/DistributedSystemsCourse
9ae24ed65e7a7ef849c7e39ec5a1a8cc5973c12f
[ "Apache-2.0" ]
1
2022-01-25T23:51:51.000Z
2022-01-25T23:51:51.000Z
# # Author: Aniruddha Gokhale # Vanderbilt University # CS 6381 Distributed Systems Principles # Created: Spring 2018 # Modified: Spring 2019 # # This is a sample code showing a variety of commands # using a Python client for ZooKeeper. We assume that the # ZooKeeper server is running. # # For now we are ass...
35.309211
83
0.627166
744
5,367
4.512097
0.327957
0.022937
0.037534
0.047959
0.235627
0.225499
0.217754
0.188561
0.188561
0.166518
0
0.007254
0.255077
5,367
151
84
35.543046
0.832416
0.473822
0
0.508475
0
0
0.415485
0
0
0
0
0
0
1
0.016949
false
0
0.050847
0
0.067797
0.491525
0
0
0
null
0
0
0
0
0
0
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
a91f34ef102bdc7f8de31e68f937e008f6645eea
221
py
Python
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/linecache/linecache_missing_file.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/linecache/linecache_missing_file.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/linecache/linecache_missing_file.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
# """ """ # end_pymotw_header import linecache # Errors are even hidden if linecache cannot find the file no_such_file = linecache.getline("this_file_does_not_exist.txt", 1) print("NO FILE: {!r}".format(no_such_file))
18.416667
67
0.746606
35
221
4.428571
0.742857
0.077419
0.129032
0
0
0
0
0
0
0
0
0.005181
0.126697
221
11
68
20.090909
0.797927
0.334842
0
0
0
0
0.301471
0.205882
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a924fcff1e0c968b5659a75d1e40f2f713e4e170
1,904
py
Python
atomic6ghg/factors/__init__.py
GE-Atomic6/ghg
feea44a4a4bd1f6674a9c8be807f2c9f59f5da08
[ "BSD-3-Clause" ]
3
2022-03-30T00:06:06.000Z
2022-03-30T15:56:45.000Z
atomic6ghg/factors/__init__.py
GE-Atomic6/ghg
feea44a4a4bd1f6674a9c8be807f2c9f59f5da08
[ "BSD-3-Clause" ]
null
null
null
atomic6ghg/factors/__init__.py
GE-Atomic6/ghg
feea44a4a4bd1f6674a9c8be807f2c9f59f5da08
[ "BSD-3-Clause" ]
null
null
null
""" init """ from .heat_content_factors import HeatContentFactors from .stationary_combustion_emission_factors import StationaryCombustionEmissionFactors from .refrigerants_gwp_factors import RefrigerantsGwpFactors from .refrigeration_and_ac_equipment_emission_factors import RefrigerationAndAcEquipmentEmissionFactors f...
61.419355
103
0.913866
167
1,904
9.928144
0.275449
0.109771
0.088661
0.04222
0.247286
0.168878
0.118215
0
0
0
0
0.006659
0.053571
1,904
30
104
63.466667
0.91343
0.002101
0
0.142857
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a92c7cffe614446f005728d61e57d9a099fd49f0
1,955
py
Python
digsby/src/gui/uberwidgets/panelframe.py
ifwe/digsby
f5fe00244744aa131e07f09348d10563f3d8fa99
[ "Python-2.0" ]
35
2015-08-15T14:32:38.000Z
2021-12-09T16:21:26.000Z
digsby/src/gui/uberwidgets/panelframe.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
4
2015-09-12T10:42:57.000Z
2017-02-27T04:05:51.000Z
digsby/src/gui/uberwidgets/panelframe.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
15
2015-07-10T23:58:07.000Z
2022-01-23T22:16:33.000Z
import wx from gui.uberwidgets import UberWidget from gui import skin from gui.skin.skinobjects import SkinColor,Margins from cgui import SimplePanel objget = object.__getattribute__ class PanelFrame(SimplePanel, UberWidget): ''' Frame for panels in the buddylist ''' def __init__(self, parent, panel,...
30.076923
82
0.612788
246
1,955
4.772358
0.361789
0.099659
0.030664
0.044293
0.168654
0.168654
0.156729
0.156729
0.156729
0.156729
0
0.015257
0.262404
1,955
64
83
30.546875
0.79889
0
0
0.086957
0
0
0.02256
0
0
0
0
0
0
0
null
null
0
0.108696
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
a92dd4015663df4245651d84e3cad39671236444
9,982
py
Python
dqn/replay_memory.py
Richardxxxxxxx/DQN-tensorflow
e4672f0402d2232002ea3e6c0ae9caf89c71a674
[ "MIT" ]
null
null
null
dqn/replay_memory.py
Richardxxxxxxx/DQN-tensorflow
e4672f0402d2232002ea3e6c0ae9caf89c71a674
[ "MIT" ]
null
null
null
dqn/replay_memory.py
Richardxxxxxxx/DQN-tensorflow
e4672f0402d2232002ea3e6c0ae9caf89c71a674
[ "MIT" ]
null
null
null
"""Code from https://github.com/tambetm/simple_dqn/blob/master/src/replay_memory.py""" import os import random import logging import numpy as np from .utils import save_npy, load_npy class ReplayMemory: def __init__(self, config, model_dir): self.model_dir = model_dir self.cnn_format = config.cnn_format ...
42.476596
211
0.665999
1,358
9,982
4.768778
0.121502
0.050957
0.068252
0.045398
0.725139
0.711859
0.692866
0.644843
0.622915
0.581223
0
0.015481
0.216991
9,982
234
212
42.65812
0.813076
0.214686
0
0.535484
0
0
0.024663
0
0
0
0
0
0.03871
1
0.064516
false
0
0.032258
0
0.187097
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a92ea7b5a39cbea6265157ab640a9d2dc0da70b6
1,319
py
Python
userprofiles/tests/test_auth_backends.py
swarajakode/Saasproject1
79227566abe53ee9b834709b35ae276b40114c0b
[ "BSD-3-Clause" ]
18
2015-01-12T21:17:12.000Z
2022-03-07T13:27:04.000Z
userprofiles/tests/test_auth_backends.py
swarajakode/Saasproject1
79227566abe53ee9b834709b35ae276b40114c0b
[ "BSD-3-Clause" ]
5
2021-03-18T21:39:04.000Z
2022-03-11T23:35:24.000Z
userprofiles/tests/test_auth_backends.py
swarajakode/Saasproject1
79227566abe53ee9b834709b35ae276b40114c0b
[ "BSD-3-Clause" ]
5
2018-11-23T14:01:52.000Z
2019-08-13T05:39:54.000Z
from django.contrib.auth import authenticate from django.contrib.auth.models import User from django.test import TestCase from django.test.utils import override_settings class AuthBackendTests(TestCase): def setUp(self): self.existing_user = User.objects.create_user(username='test', email='tes...
36.638889
77
0.713419
145
1,319
6.365517
0.268966
0.104009
0.156013
0.121343
0.572048
0.539545
0.539545
0.539545
0.52221
0.52221
0
0.003676
0.175133
1,319
35
78
37.685714
0.844669
0
0
0.461538
0
0
0.137983
0.04094
0
0
0
0
0.230769
1
0.153846
false
0.269231
0.153846
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
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
a9309aeee17f97410bfa0ce50f0d9cf43a52e636
2,628
py
Python
storage.py
bozhu/eprint-updates
6abc75ed4194b7bc6a77c0ac4a9eb988c3f4243a
[ "PostgreSQL", "MIT" ]
null
null
null
storage.py
bozhu/eprint-updates
6abc75ed4194b7bc6a77c0ac4a9eb988c3f4243a
[ "PostgreSQL", "MIT" ]
null
null
null
storage.py
bozhu/eprint-updates
6abc75ed4194b7bc6a77c0ac4a9eb988c3f4243a
[ "PostgreSQL", "MIT" ]
null
null
null
#!/usr/bin/env python import psycopg2 import urlparse import pickle from config import DATABASE_URL, DATABASE_KEY_STRING class Storage(): def __init__(self): _database_url = urlparse.urlparse(DATABASE_URL) self._con = psycopg2.connect( database=_database_url.path[1:], use...
33.692308
68
0.482877
252
2,628
4.801587
0.365079
0.063636
0.069421
0.049587
0.173554
0.12562
0.12562
0.12562
0.12562
0.12562
0
0.016383
0.41933
2,628
77
69
34.12987
0.77654
0.082953
0
0.254237
0
0
0.297545
0.010404
0
0
0
0
0.016949
0
null
null
0.016949
0.067797
null
null
0.135593
0
0
0
null
0
0
0
0
0
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
a9342cb3e14818917edc22b010744770f3f1422b
437
py
Python
ejemplo1.py
JoseFernandez16/Laboratorio_6_TPL
84455463b48858ea979f295fd5155dfe76ed0757
[ "MIT" ]
null
null
null
ejemplo1.py
JoseFernandez16/Laboratorio_6_TPL
84455463b48858ea979f295fd5155dfe76ed0757
[ "MIT" ]
null
null
null
ejemplo1.py
JoseFernandez16/Laboratorio_6_TPL
84455463b48858ea979f295fd5155dfe76ed0757
[ "MIT" ]
null
null
null
from kivy.app import App from kivy.uix.popup import Popup from kivy.uix.relativelayout import RelativeLayout class Pestaña(Popup): pass class MyRelativeLayout(RelativeLayout): def open_popup(self): pops = Pestaña() pops.open() class PopUpWindow(App): def build(self...
19
51
0.643021
47
437
5.787234
0.489362
0.088235
0.080882
0
0
0
0
0
0
0
0
0
0.267735
437
23
52
19
0.85
0
0
0
0
0
0.019231
0
0
0
0
0
0
1
0.133333
false
0.066667
0.2
0.066667
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
1
0
0
0
0
0
1
a9371829da3c730322dc500f96c90157065ad9a4
2,217
py
Python
course/migrations/0001_initial.py
reyadussalahin/monga
6ffc1c1e86f863826fdfb1babd2961b55472abf5
[ "Apache-2.0" ]
4
2019-05-26T01:10:29.000Z
2021-08-13T03:19:53.000Z
course/migrations/0001_initial.py
reyadussalahin/monga
6ffc1c1e86f863826fdfb1babd2961b55472abf5
[ "Apache-2.0" ]
null
null
null
course/migrations/0001_initial.py
reyadussalahin/monga
6ffc1c1e86f863826fdfb1babd2961b55472abf5
[ "Apache-2.0" ]
2
2019-05-26T01:11:03.000Z
2022-01-21T16:06:46.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2019-03-17 19:03 from __future__ import unicode_literals from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dep...
45.244898
121
0.626071
238
2,217
5.647059
0.34874
0.029762
0.041667
0.065476
0.497768
0.497768
0.439732
0.439732
0.381696
0.381696
0
0.016598
0.239062
2,217
48
122
46.1875
0.780083
0.030672
0
0.35
1
0
0.087139
0
0
0
0
0
0
1
0
false
0
0.125
0
0.225
0
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
a937c0773547df23bcf9e3bfb39b7ac578c36ee6
1,592
py
Python
organize/filters/extension.py
GermanFab/organize
b0e29ca24dee81bbd14207187dbd06bc6be07fc0
[ "MIT" ]
1
2022-02-08T06:22:57.000Z
2022-02-08T06:22:57.000Z
organize/filters/extension.py
GermanFab/organize
b0e29ca24dee81bbd14207187dbd06bc6be07fc0
[ "MIT" ]
null
null
null
organize/filters/extension.py
GermanFab/organize
b0e29ca24dee81bbd14207187dbd06bc6be07fc0
[ "MIT" ]
null
null
null
from typing import Union from fs.base import FS from organize.utils import flatten from .filter import Filter, FilterResult class Extension(Filter): """Filter by file extension Args: *extensions (list(str) or str): The file extensions to match (does not need to start with a colon). ...
26.983051
88
0.604899
189
1,592
4.989418
0.407407
0.074231
0.04666
0
0
0
0
0
0
0
0
0.001756
0.284548
1,592
58
89
27.448276
0.826163
0.187814
0
0
0
0
0.041401
0
0
0
0
0
0
1
0.147059
false
0
0.117647
0.029412
0.558824
0
0
0
0
null
0
0
0
0
0
0
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
a947b63cb784ea07454f7633dd99b1115d359123
5,905
py
Python
sdk/python/pulumi_oci/identity/get_tag_namespaces.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/identity/get_tag_namespaces.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/identity/get_tag_namespaces.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
40.724138
252
0.692125
654
5,905
6.009174
0.259939
0.069466
0.024427
0.045802
0.129771
0.066412
0.048601
0.011705
0
0
0
0.000217
0.220322
5,905
144
253
41.006944
0.853388
0.263844
0
0.1
1
0
0.169183
0.076204
0
0
0
0
0
1
0.1
false
0
0.077778
0.022222
0.288889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a94906abf9c3bb7c8f474456444723658efc4f57
231
py
Python
voice-conversion/encode/__init__.py
mberkanbicer/torch-light
facd5e12f45127e81951ca1e6119960e196c6165
[ "MIT" ]
310
2018-11-02T10:12:33.000Z
2022-03-30T02:59:51.000Z
voice-conversion/encode/__init__.py
mberkanbicer/torch-light
facd5e12f45127e81951ca1e6119960e196c6165
[ "MIT" ]
14
2018-11-08T10:09:46.000Z
2021-07-30T08:54:33.000Z
voice-conversion/encode/__init__.py
mberkanbicer/torch-light
facd5e12f45127e81951ca1e6119960e196c6165
[ "MIT" ]
152
2018-11-02T13:00:49.000Z
2022-03-28T12:45:08.000Z
import os import sys curdir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(curdir) from .utils import * from .model import Model from .writer import Writer from .data_loader import get_loader from .radam import RAdam
23.1
51
0.796537
37
231
4.810811
0.459459
0.067416
0
0
0
0
0
0
0
0
0
0
0.121212
231
10
52
23.1
0.876847
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.777778
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
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
a953b6d09a6c8408dff7c4233be7732dc6ee1ee4
30,607
py
Python
app.py
mahou-neko/api-chatcat
00b55a9ab5fbab6689b1950f77db7059703755e7
[ "Apache-2.0" ]
null
null
null
app.py
mahou-neko/api-chatcat
00b55a9ab5fbab6689b1950f77db7059703755e7
[ "Apache-2.0" ]
null
null
null
app.py
mahou-neko/api-chatcat
00b55a9ab5fbab6689b1950f77db7059703755e7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function from future.standard_library import install_aliases install_aliases() from urllib.parse import urlparse, urlencode from urllib.request import urlopen, Request from urllib.error import HTTPError import json import os from flask import Flask from flask impor...
65.963362
873
0.702454
4,069
30,607
5.259769
0.252888
0.010934
0.014017
0.009111
0.186478
0.16648
0.150547
0.137744
0.128866
0.114242
0
0.002333
0.215604
30,607
463
874
66.105832
0.888995
0.035384
0
0.329377
0
0.133531
0.69982
0.015163
0
0
0
0
0
1
0.05638
false
0.002967
0.032641
0.002967
0.181009
0.017804
0
0
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
a953d09df5c21541ae56061501c1950900b8c019
7,648
py
Python
code/svhn.py
HirahTang/SVHN-single
40c6bcc51f5920bf8b6b16edece34373e6e80bcd
[ "MIT" ]
null
null
null
code/svhn.py
HirahTang/SVHN-single
40c6bcc51f5920bf8b6b16edece34373e6e80bcd
[ "MIT" ]
null
null
null
code/svhn.py
HirahTang/SVHN-single
40c6bcc51f5920bf8b6b16edece34373e6e80bcd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """svhn.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1cr_mqeEfw7how-r9MAqqZqJqyepX31yS """ import numpy as np import matplotlib.pyplot as plt #import seaborn as sns import h5py #import tensorflow as tf #import os #impor...
32
117
0.672202
1,095
7,648
4.542466
0.254795
0.045034
0.015481
0.030961
0.263571
0.215923
0.210294
0.187977
0.187977
0.187977
0
0.041214
0.194168
7,648
239
118
32
0.765861
0.205936
0
0.164286
1
0
0.078855
0
0
0
0
0
0
1
0.064286
false
0
0.1
0
0.221429
0.021429
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
a964b3831ade8eac28a8b6de35b8030552b88843
2,090
py
Python
geocode-adi/__main__.py
AyushDoshi/geocode-adi
846932f44a0c2856f8b72822c6c422121de6ee4e
[ "MIT" ]
null
null
null
geocode-adi/__main__.py
AyushDoshi/geocode-adi
846932f44a0c2856f8b72822c6c422121de6ee4e
[ "MIT" ]
null
null
null
geocode-adi/__main__.py
AyushDoshi/geocode-adi
846932f44a0c2856f8b72822c6c422121de6ee4e
[ "MIT" ]
null
null
null
"""Address to Area Deprivation Index Geocoder This script allows the user to convert a list addresses to Area Deprivation Indices through U.S. Census Block Groups. The tool accepts a comma delimited file (e.g. .csv) that contains at least 4 columns: Address, City, State, and ZIP Code. The Address column must include ...
31.19403
117
0.678469
289
2,090
4.816609
0.439446
0.047414
0.036638
0.037356
0.193966
0.119253
0.119253
0.119253
0.119253
0
0
0.001255
0.237321
2,090
66
118
31.666667
0.87202
0.357895
0
0.060606
0
0.060606
0.457719
0
0
0
0
0
0
1
0.060606
false
0.060606
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a9693a7d719b7659ee8fc552f237619803ef4e0b
7,325
py
Python
util/spi_flash/serialflash.py
leaflabs/willow-hdl
26d5b006a12b8a821fa073f7a61a7881511aab07
[ "MIT" ]
3
2015-07-28T14:02:55.000Z
2016-04-27T23:21:52.000Z
util/spi_flash/serialflash.py
leaflabs/willow-hdl
26d5b006a12b8a821fa073f7a61a7881511aab07
[ "MIT" ]
null
null
null
util/spi_flash/serialflash.py
leaflabs/willow-hdl
26d5b006a12b8a821fa073f7a61a7881511aab07
[ "MIT" ]
1
2015-06-18T10:18:19.000Z
2015-06-18T10:18:19.000Z
# Copyright (c) 2010-2011, Emmanuel Blot <emmanuel.blot@free.fr> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # noti...
34.71564
113
0.682867
929
7,325
5.288482
0.374596
0.020151
0.043965
0.016283
0.088337
0.046407
0.027682
0.027682
0.027682
0.027682
0
0.00923
0.230853
7,325
210
114
34.880952
0.862797
0.356177
0
0.152941
0
0
0.021799
0
0
0
0.015045
0
0
0
null
null
0.011765
0.129412
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
a96a41ed485dc29789a55afa3bc1efca112a2d11
7,739
py
Python
Forca.py
M4rcusVinicius/Jogos_em_Python
430b8461ff422b3ec7da28f3f728b14c2472c95c
[ "MIT" ]
4
2020-09-22T21:20:12.000Z
2020-11-05T16:25:03.000Z
Forca.py
M4rcusVinicius/Jogos_em_Python
430b8461ff422b3ec7da28f3f728b14c2472c95c
[ "MIT" ]
null
null
null
Forca.py
M4rcusVinicius/Jogos_em_Python
430b8461ff422b3ec7da28f3f728b14c2472c95c
[ "MIT" ]
null
null
null
import random import os def jogar(): tema = define_tema() arquivo = arquivo_do_tema(tema) palavra_secreta = sorteia_palavra(arquivo) loop_jogo_forca(palavra_secreta) def loop_jogo_forca(palavra_secreta): lista_historico = [] print(f"\nA palavra secreta tem {len(palavra_secreta)} letras\n")...
29.425856
125
0.443985
755
7,739
4.343046
0.194702
0.112839
0.105215
0.079292
0.385178
0.292162
0.169259
0.16072
0.147606
0.147606
0
0.039056
0.397855
7,739
263
126
29.425856
0.664592
0
0
0.367713
0
0.004484
0.283592
0.013566
0
0
0
0
0
1
0.071749
false
0
0.008969
0
0.103139
0.461883
0
0
0
null
0
0
0
0
0
0
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
a96ac74cb4cb7cb6ef6958994c3a880e4b1c401e
10,346
py
Python
model/scripts/companies/companies.py
ayanchoudhary/digialpha-inter-IIT
4a683830949b44029ddfd73ebd52f27d441ad8ab
[ "MIT" ]
null
null
null
model/scripts/companies/companies.py
ayanchoudhary/digialpha-inter-IIT
4a683830949b44029ddfd73ebd52f27d441ad8ab
[ "MIT" ]
3
2022-03-19T17:37:30.000Z
2022-03-26T07:47:33.000Z
model/scripts/companies/companies.py
ayanchoudhary/digialpha-inter-IIT
4a683830949b44029ddfd73ebd52f27d441ad8ab
[ "MIT" ]
1
2022-03-16T11:32:26.000Z
2022-03-16T11:32:26.000Z
from pymongo import MongoClient import requests import re companies = [ "2U INC", "30DC INC", "3D PIONEER SYSTEMS INC", "8X8 INC", "A10 NETWORKS INC", "ACI WORLDWIDE INC", "ACTUA CORP", "ADEXA INC", "ADOBE INC", "ADVANCED VOICE RECOGNITION", "ADVANT-E CORP", "ADVANTEGO C...
28.11413
451
0.611444
1,199
10,346
5.256047
0.485405
0.022215
0.009521
0.035227
0.077912
0.077912
0.077912
0.029832
0.029832
0.029832
0
0.023498
0.247245
10,346
367
452
28.190736
0.785696
0.020781
0
0
0
0.016997
0.611177
0.053712
0
0
0
0
0
1
0.005666
false
0.002833
0.008499
0
0.01983
0.008499
0
0
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