blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
35c79bd5bff7a7463816fcbb46640eb7cb4d5b5f
272c1920e168c41bc48d10b8d82cd22aa6d82fc7
/tools/core_tools_WGCI.py
bf6b60658c9e52f1bcf199a9f8371989c2bbe863
[ "MIT" ]
permissive
passion4energy/Kalman-Filter
e3facd79140d15b3fbeee09b37c4a2c985ac480c
1f4b567fdf9b6465d27ffcaba8da8404f3f80c62
refs/heads/master
2022-03-21T09:48:53.432907
2019-12-10T07:27:38
2019-12-10T07:27:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,980
py
"""重要工具包 计算 WGCI Copyright: ---------- Author: AutuanLiu Date: 2019/2/22 """ import numpy as np import scipy.io as sio from kalman_estimation import (Kalman4ARX, Kalman4FROLS, Selector, get_terms_matrix, get_txt_data, make_func4K4FROLS, make_linear_func, plot_term_ERR, save_3Da...
[ "autuanliu@163.com" ]
autuanliu@163.com
039e9d24e8edc1ee061d4c9a63df92916244d2fc
4a8784c47e5382a33e90792088fa679c6f70ab92
/P1.py
f78df7fe30f2a35f1ecf73e2adbc1e6cf7dabbf2
[]
no_license
bobemv/ProjectEulerProblems
1838ecad4533896b424f611dd136db6f4c18fd90
5a3e06a47cf835610a74ad433e7e5c662ed6674a
refs/heads/master
2021-01-19T04:07:10.268057
2016-07-30T19:57:27
2016-07-30T19:57:27
64,561,757
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
def sumaDivisores(n, numeros = 999): "Se calculan el numero de divisores en el" "intervalo de cierto n y se realiza el sumatorio" numDiv = numeros // n; return n*(numDiv*(numDiv+1))/2; __author__ = 'Roberto Moreno' "Solucion mala" resultado = 0; for i in range(1000): "En range(1000) va de 0 a 999"...
[ "bobemv@gmail.com" ]
bobemv@gmail.com
882d5cbe8f3e470e18e8bba1a15c94b66f3461e1
81463a26ce2e320082d13429cd1cdae68612cdd9
/tetromino.py
81e2aef9993093842df07cba794e9713cb1fb42e
[]
no_license
jeonlego012/coding
a09c498bfb32b40d54a393f6c32ee6d17aec5770
178a65eb60cd1f9a4041037a168253c2d33813be
refs/heads/master
2023-04-17T22:36:03.710887
2021-05-04T14:57:38
2021-05-04T14:57:38
352,631,802
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
def check_range(y, x) : return y>=0 and y<n and x>=0 and x<m def calculate(y, x) : max_sum = 0 for tetromino in range(19) : tempY, tempX = y, x tetro_sum = paper[y][x] for move in range(3) : moveY, moveX = tempY + tetrominoY[tetromino][move], tempX + tetrominoX[tetromino...
[ "jeon-yeong-won@MacBook-Pro-4.local" ]
jeon-yeong-won@MacBook-Pro-4.local
37d200a86c845be6d5609336099e569145bc106c
9ce891fdd998efea19f79dae4ce971f6e2d74528
/tests/test_apps/test_poller/test_managment_commands/test_poll_dynamics.py
75ef46f2e0cacc6d23b73546bdbd47d07322fe95
[ "MIT" ]
permissive
uktrade/legal-basis-api
fba0876e4e2f35223afbf29e5a096e8d38f721c4
036f0defc84e485c935d93ecc77c1c2bf60e2477
refs/heads/master
2023-08-31T15:17:02.303317
2023-08-25T08:41:56
2023-08-25T08:41:56
227,385,913
4
1
MIT
2023-09-06T18:49:38
2019-12-11T14:31:55
Python
UTF-8
Python
false
false
2,535
py
import io import pytest from mixer.backend.django import mixer from server.apps.main.models import Consent, LegalBasis from server.apps.poller.management.commands import poll_dynamics class TestDynamicsCommand: pytestmark = pytest.mark.django_db def test_email_consent_creates_if_missing(self): Cons...
[ "nick.ir.ross@gmail.com" ]
nick.ir.ross@gmail.com
ed2d8cceda1c6115ee5238065408039b818e629d
3b479ffc70ecf55508583913c66e66b3e97fe205
/mysite/urls.py
3cd96a7422e975eebc0f097a7ebf1b7efe634ee0
[]
no_license
divyavutukuri/Text-Utils
f590045f5fbb2dd0096d6cf732c009e74a0149c3
6700d58e2b904baa1dccbffa1aef36c95a10c6dc
refs/heads/master
2023-08-07T22:26:41.474476
2020-04-24T12:53:19
2020-04-24T12:53:19
258,499,241
0
0
null
2021-09-22T18:55:28
2020-04-24T11:56:00
Python
UTF-8
Python
false
false
898
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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 ...
[ "vutukuridivya8@gmail.com" ]
vutukuridivya8@gmail.com
c9b1db4e8471b7360ba7dcf6e6ef8d6a306c89dc
4e5cb79c8dcc6e78bf8cffc04ef279a2405a0236
/pyconbalkan/speaker/migrations/0001_initial.py
1b49b6a1d147dfe0c96c545f04cf0d81862628f3
[]
no_license
PythonBalkan/pyconbalkan
907a72abfc6de4ce2d254dbc1d1539a6571911f9
833deed488ba3ad2fa80ff144465a5755b5e1f15
refs/heads/master
2022-12-12T19:38:13.148694
2022-04-22T21:12:24
2022-05-02T23:16:30
127,753,413
32
24
null
2023-02-06T16:20:00
2018-04-02T12:30:08
Python
UTF-8
Python
false
false
1,225
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-04-26 21:50 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "katia@kiwi.com" ]
katia@kiwi.com
411d1702f625cb2279a9e58d45a57edae9f55cfb
f1ac2187b7a7cd603f0f24c82ff762a9d7d9035b
/cdk/web_stack.py
394940957968d54338a3069e41627d73552b329e
[]
no_license
Martin605/ITP4104-Cloud-Services-Project
e91d285cf936bda3b6016211820bb50f54c7cff2
f78e886d20242565394964509302889b573bbbf6
refs/heads/master
2020-09-29T08:50:58.355864
2020-04-23T01:19:50
2020-04-23T01:19:50
227,003,923
2
2
null
null
null
null
UTF-8
Python
false
false
24,563
py
from aws_cdk import ( aws_ec2 as ec2, aws_iam as iam, aws_logs as logs, aws_cloudformation as cloudformation, aws_elasticloadbalancingv2 as elasticloadbalancingv2, aws_ssm as ssm, core ) class WebStack(core.Stack): def __init__(self, scope: core.Construct, id: str, **kwargs) -> None: ...
[ "nganmc2012@gmail.com" ]
nganmc2012@gmail.com
f5c1dd7878185c0c4b4b8389012857aebf4f13cb
035b1a64a5fb1b839603ace74b2a5cf057d4cc7b
/Conversor moeda/App.py
0d57be7cf3b2e640ba8c093c2a2d255c8047c691
[ "MIT" ]
permissive
LuanFaria/Conversor_de_Moedas
c0ef20b9ca19d9c7e850f8f1e6b6ee67d4f1bfa6
6273da4739bef1427c63b6cf906b5a90239dd39b
refs/heads/main
2023-06-15T13:04:10.464329
2021-07-10T03:34:52
2021-07-10T03:34:52
384,600,166
3
0
null
null
null
null
UTF-8
Python
false
false
7,364
py
from PyQt5.QtWidgets import QApplication, QMainWindow import sys from interface import * from Coletor import * import datetime class Converter(QMainWindow, Ui_MainWindow): def __init__(self): super().__init__(None) super().setupUi(self) # Fixar o Tamanho self.setFixedSize(313, 164...
[ "noreply@github.com" ]
noreply@github.com
354576907f5498701abdb951f5c1359827eeacec
288c275059393a9a858b93530a08226ecf8ecb96
/test.py
1fa9b919f2c903d351d804cddc3fb6e68bd258e7
[]
no_license
L3-S6-Projet/test_server
cfae24b6106d8e593f403b24617397a8b6d17684
bd3811d320f3decc98d1c4043f729291b695ce35
refs/heads/master
2022-08-23T19:47:49.920740
2020-05-09T11:08:27
2020-05-09T11:08:27
266,430,251
0
0
null
null
null
null
UTF-8
Python
false
false
8,276
py
import unittest import requests BASE_URL = 'http://127.0.0.1:3030/api/' # Tests assume the following account are created, and will be re-created as-is with a POST to /api/reset: # {'first_name': 'Admin', 'last_name': 'User', 'username': 'admin', 'password': 'admin'} # {'first_name': 'Teacher', 'last_name': 'User', 'u...
[ "dev@nicolasb.fr" ]
dev@nicolasb.fr
9a96327791724d1b20140f28c67f7738ba9fefab
04a344a58278fb01a4cfda67624403b5a0870e26
/Divisible_Sum_Pairs.py
41fa8dfb1d4141a93cb7413d7fc6c855a3c2889f
[]
no_license
aleksiheikkila/HackerRank_Python_Problems
ed33f4a161e72003f45eabd3df58d7d537767934
c758911abede97196883b0909d21879616d12d33
refs/heads/master
2023-01-09T02:55:48.952599
2022-12-27T19:33:00
2022-12-27T19:33:00
201,996,607
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
''' HackerRank problem Domain : Python Author : Aleksi Heikkilä Created : Aug 2019 Problem : https://www.hackerrank.com/challenges/divisible-sum-pairs/problem ''' #!/bin/python3 import math import os import random import re import sys # Complete the divisibleSumPairs function below. def divisibleSumPairs(n...
[ "aleksi.heikkila@elisa.fi" ]
aleksi.heikkila@elisa.fi
f56bfe1662a5f51d41b144269ef27b7a458bc3ee
47a18d699d29f8a617f8c53c67208df2739ac4f4
/home/migrations/0006_forgetpass.py
f9da5622bc3dc3a349aded8e147e968027888b11
[]
no_license
achieverz-sport/Achieverz
c79b154ae3814c14a84acd55b6817c0279303680
09eead46159b8434b8718aa7b2aab51a7e26c4db
refs/heads/main
2022-12-24T23:57:23.156024
2020-10-05T10:46:27
2020-10-05T10:46:27
301,354,863
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# Generated by Django 3.1.1 on 2020-09-24 13:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0005_auto_20200924_1155'), ] operations = [ migrations.CreateModel( name='forgetpass', fields=[ ...
[ "noreply@github.com" ]
noreply@github.com
0a8e2bc6532dbb507eb9601893e5e6fd4777f437
3f5a7cd3b55349e63344972829abe47cf8b26987
/canshu_a.py
ccf5f05c9711bd8eab63aa5fc9f46e2ef04f0fec
[]
no_license
cruzereiz/-
266ef5ef0db66d69a592e46c66459aebf9ae4abd
9d7826b203e2e1d345a863961be09d1116edb370
refs/heads/main
2023-04-15T21:55:54.633605
2021-04-28T01:26:27
2021-04-28T01:26:27
362,299,900
2
0
null
null
null
null
UTF-8
Python
false
false
354
py
import json def canshu_a(id): model_id = '{"rid":"R_SO_4_1492901593","threadId":"R_SO_4_1492901593","pageNo":"1","pageSize":"50","cursor":"-1","offset":"0",' \ '"orderType":"1","csrf_token":""}' b = json.loads(model_id) b['rid'] = 'R_SO_4_{}'.format(id) b['threadId'] = 'R_SO_4_{}'.form...
[ "noreply@github.com" ]
noreply@github.com
deb2567b32d956ed4e674ed4a6c3b42550b00a4f
21b965f430ee6fd5772d65b2ce54287d461479ee
/python/setup.temp.py
23c01c8b4b42c53bc870791a1788a41415ce5b6b
[ "MIT" ]
permissive
hoojaoh/taichi
9610266386229957a2c0bb7f6afcaaad3c83a746
641c4b83bcf98e7354b135964cd23759b0110c6b
refs/heads/master
2023-08-31T07:33:58.991208
2019-11-01T20:01:46
2019-11-01T20:01:52
78,141,490
0
0
MIT
2019-11-01T22:20:18
2017-01-05T19:24:06
C++
UTF-8
Python
false
false
1,142
py
import setuptools import glob classifiers = [ 'Development Status :: 1 - Planning', 'Topic :: Multimedia :: Graphics', 'Topic :: Games/Entertainment :: Simulation', 'Intended Audience :: Science/Research', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Program...
[ "yuanmhu@gmail.com" ]
yuanmhu@gmail.com
7b185abe18bf28f13c874b2a769fb91bd47c5b9b
b2f01680e78cf5b64c779425790e10b31ab82fc0
/A_plot_Bacteria/taxonomy_tree.py
ff79577f0b8644bddf8d8b65a47b89bcd7dce471
[]
no_license
stormlovetao/rnaSeq
fcdfca39434aaa26dc5ef17ed84ea99b8743f7ff
61b5051024f701a983acb52278fef4a9a03af1dc
refs/heads/master
2021-01-10T03:30:55.952913
2017-03-07T21:22:35
2017-03-07T21:22:35
47,236,130
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
#export PATH=~/anaconda_ete/bin:$PATH from ete3 import NCBITaxa ncbi = NCBITaxa() ####### BRAINCODE viruses taxonomy tree ######## fp_in = open("/PHShome/tw786/localView/overview/Tree/BRAINCODE_viruses.txt") viruses1 = fp_in.readlines() viruses1 = [x.strip() for x in viruses1] viruses_taxid = ncbi.get_name_translator(...
[ "wangtao.shandong@gmail.com" ]
wangtao.shandong@gmail.com
f5108df754338fad2dcde10f801f7e363935eaff
20035d7de00f51adbfd43b6c08ecc4f651f45ab4
/backend/services/text_similarity/application/configuration.py
eb0d765bae34d702cf38ee30afffda3ab96d6fe9
[ "MIT" ]
permissive
R-aryan/Text-Similarity-Using-BERT
3f40d2deb8b8b73f5428f47be37662251fa0d436
edba09c0da2b21d50532facc1237c2e7ffae10bd
refs/heads/main
2023-08-07T19:50:13.727391
2021-09-27T06:06:37
2021-09-27T06:06:37
409,261,165
0
0
null
2021-09-27T06:06:38
2021-09-22T15:38:08
Python
UTF-8
Python
false
false
639
py
from injector import Module, singleton from common.logging.console_logger import ConsoleLogger from services.text_similarity.application.ai.inference.prediction import PredictionManager from services.text_similarity.application.ai.training.src.preprocess import Preprocess from services.text_similarity.settings import ...
[ "aryan.rritesh@gmail.com" ]
aryan.rritesh@gmail.com
b4377f15b5571bc63d5c60b1a5df7257600bce43
a479a5773fd5607f96c3b84fed57733fe39c3dbb
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/as_external_lsa/types_of_service/type_of_service/state/__init__.py
868a2ec6db7e8ae231952e4752d89bc0dcf1bd68
[ "Apache-2.0" ]
permissive
napalm-automation/napalm-yang
839c711e9294745534f5fbbe115e0100b645dbca
9148e015b086ebe311c07deb92e168ea36fd7771
refs/heads/develop
2021-01-11T07:17:20.226734
2019-05-15T08:43:03
2019-05-15T08:43:03
69,226,025
65
64
Apache-2.0
2019-05-15T08:43:24
2016-09-26T07:48:42
Python
UTF-8
Python
false
false
40,677
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
fc77fc4b71fbf255ed35ce57035c54569e418768
9617203960dccb356b775c69d901ad815b9282bb
/racf_audit/racf_audit.py
a33f5d2417d86bffc64a7f1a41158eb9d84e8230
[ "MIT" ]
permissive
smlbiobot/SML-Cogs
5b97e7df0b1126a6daf22829f82adb84c3e35ee0
31e8553183b87dce76fdf7744fc9fb1434ccc67f
refs/heads/master
2021-10-27T13:02:38.591310
2021-10-26T15:56:17
2021-10-26T15:56:17
80,660,432
17
18
MIT
2018-06-15T00:05:54
2017-02-01T20:23:30
Python
UTF-8
Python
false
false
64,137
py
# -*- coding: utf-8 -*- """ The MIT License (MIT) Copyright (c) 2017 SML 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...
[ "smlbiobot@gmail.com" ]
smlbiobot@gmail.com
5b05fd125f8e4a01b95fc570dc9749b52d706066
dc8809c77c53af6b9e5f66f52fe9d8e9e32ece51
/finalCDSTest.py
51b7a48e9f5374683351c66ed3f1a98a52c8765b
[]
no_license
psykodan/FYP
afb2263e862aad0640722fcd546a39a73653c79a
6cba87fab509a78355e20f177192bfcc148c2918
refs/heads/master
2021-05-10T13:05:18.635337
2018-05-04T12:54:21
2018-05-04T12:54:21
118,461,257
0
0
null
null
null
null
UTF-8
Python
false
false
6,127
py
import numpy as np import cv2 import os from advancedHaarColourThreshold import casualtyDetectionImageStream def main(): holdoutSets=[] holdoutSets.append("/home/daniel/Documents/FYP/FYP/data/CloudyChopSurfFanore/holdout/1/positive/") holdoutSets.append("/home/daniel/Documents/FYP/FYP/data/CloudyChopSurfFanore/...
[ "dan.danielkelly@gmail.com" ]
dan.danielkelly@gmail.com
703c14122a9d7e68d954f28abd98d67fb76e61b7
b7eed26cf8a0042a61f555eed1e9bf0a3227d490
/students/medrek_tomasz/lesson_06_dicts_tuples_sets_args_kwargs/uppercase.py
5b34196d30840304fa45a907fd4681223a0cee82
[]
no_license
jedzej/tietopythontraining-basic
e8f1ac5bee5094c608a2584ab19ba14060c36dbe
a68fa29ce11942cd7de9c6bbea08fef5541afa0f
refs/heads/master
2021-05-11T11:10:05.110242
2018-08-20T12:34:55
2018-08-20T12:34:55
118,122,178
14
84
null
2018-08-24T15:53:04
2018-01-19T12:23:02
Python
UTF-8
Python
false
false
604
py
#!/usr/bin/env python3 def capitalize(lower_case_word): first_letter_no = ord(lower_case_word[0:1]) if first_letter_no in range(ord('a'), ord('z') + 1): return chr(first_letter_no - 32) + lower_case_word[1:] else: return lower_case_word def capitalize_message(message): output = ' ' ...
[ "tomasz.medrek@tieto.com" ]
tomasz.medrek@tieto.com
09f5a82abfe71544df6b67e4dceb7dd68152b887
4b2ed102f94d4e96a423300c789d31d49e6ee3cb
/app/rrhh/migrations/0005_alter_detallerolpersonal_options.py
2423db787f8e3b7d271329466ee6dcfda0481d84
[]
no_license
peilflores/controlasistencia
34fedda4f052d8892eca328687ce5718dcb86266
dcb99e2687d32abe896c66c68719bc3d8296b7f1
refs/heads/main
2023-06-05T01:56:13.466041
2021-06-30T06:56:50
2021-06-30T06:56:50
381,582,563
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
# Generated by Django 3.2 on 2021-06-21 04:51 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('rrhh', '0004_alter_detallerol_rol'), ] operations = [ migrations.AlterModelOptions( name='detallerolpersonal', options={'verbo...
[ "peil_ffa10@hotmail.com" ]
peil_ffa10@hotmail.com
efcad0606abc2253c9cdfa4e89175cfb0feee50e
ebdc72111b5140919e8ac7736c597e33e31b190b
/ImprovedVersion/comparison.py
fa27d4806b8c72c41c4f68bf93bb208859c73d28
[]
no_license
lordChipotle/ML-SIM-Improved
c031ee733b65d083f585fa73f806494b8550a48c
e756b6e427af37c25a4eacd761510880e43023d2
refs/heads/master
2023-01-07T12:43:45.451340
2020-11-05T15:09:34
2020-11-05T15:09:34
280,270,221
0
0
null
null
null
null
UTF-8
Python
false
false
18,322
py
import torch from torch import nn import pandas as pd import os from datetime import date, datetime import matplotlib.pyplot as plt import numpy as np import json import matplotlib font = {'size' : 18} matplotlib.rc('font', **font) from datetime import timedelta import matplotlib.dates as mdates import matplotlib....
[ "k1894633@kcl.ac.uk" ]
k1894633@kcl.ac.uk
c5bbcb3afe3dfc342a8782caf16175ea2abeb6cc
ade52c685a0d5faf1b28d256cd4372e7082b3401
/gradient_boosting_trees/gradient_boosting_regressor.py
a707d71d18c26b572c93da98f68ba857b03c4acc
[]
no_license
AfekIlayAdler/BootStrapDesicionTree
7eb5244536e9eda0736207b432d6906256001918
fb57ef8bc05c674123b883ae2c7d22b76d3f9a04
refs/heads/master
2020-09-05T09:17:13.200553
2020-04-13T13:43:28
2020-04-13T13:43:28
220,054,309
0
0
null
null
null
null
UTF-8
Python
false
false
8,032
py
from numpy import mean from pandas import DataFrame, Series from Tree.node import Leaf from Tree.tree import CartRegressionTree, CartRegressionTreeKFold, MIN_SAMPLES_LEAF, MAX_DEPTH, MIN_IMPURITY_DECREASE, \ MIN_SAMPLES_SPLIT from Tree.tree_feature_importance import node_based_feature_importance from gradient_boos...
[ "afekilayadler@gmail.com" ]
afekilayadler@gmail.com
e3933c8422621cc69a76c38c56832a4776a372b5
610466c56a623c3e02af88f637f586a278786f94
/Chapter-6-Trees/6.4-Minimum-Sum-Level.py
94579af346476bfb31773d84c4c87791ce7604e7
[]
no_license
HypeDis/DailyCodingProblem-Book
b8ed52e62531d2e12a8a92c00138f64361c473fb
771f513c165ae9d7c3c2e36eddd8e3ba22e62ad2
refs/heads/master
2020-04-30T02:13:54.045570
2020-04-09T16:00:27
2020-04-09T16:00:27
176,553,559
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
# find the level with the smallest sum in a binary tree import collections deque = collections.deque defaultdict = collections.defaultdict from TreeNode import Node root = Node(1) root.left = Node(-10) root.right = Node(5) root.left.left = Node(-11) root.left.right = Node(-1) root.right.left = Node(4) root.right.rig...
[ "m.bae@live.com" ]
m.bae@live.com
c7e7f8cef351cbec96b2f59afb5bcf996fd9fe7c
70beea16c1086732ae8f08b6e2f07739daf6f861
/python/cac_tripplanner/destinations/migrations/0032_auto_20171220_1407.py
18fa060f7b57db4b62d1e10c4f54ec67a5a9300e
[ "Apache-2.0" ]
permissive
flibbertigibbet/cac-tripplanner
63bd0d744f85097e07cc27eb5aec7844c21b2cf2
53b493361f05db7af08df24039c9e5c0968a2fd7
refs/heads/develop
2021-05-23T04:49:47.815711
2020-10-21T16:21:16
2020-10-21T16:21:16
31,267,987
2
1
null
2017-01-03T18:23:53
2015-02-24T16:00:30
JavaScript
UTF-8
Python
false
false
623
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-12-20 19:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('destinations', '0031_remove_relax_category'), ] operations = [ migrations.AlterField( model_name='dest...
[ "kkillebrew@azavea.com" ]
kkillebrew@azavea.com
3a2b365370c237b7be1266a276c875045c6571b9
480e33f95eec2e471c563d4c0661784c92396368
/HeterogeneousCore/CUDAServices/scripts/cudaPreallocate.py
331ddd30f73bd19b66fea42b3c13512c272e1f22
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
1,285
py
#!/usr/bin/env python from __future__ import print_function import re import sys import argparse def main(opts): device = [] host = [] device_re = re.compile("Device.*allocated new device block.*\((?P<bytes>\d+) bytes") host_re = re.compile("Host.*allocated new host block.*\((?P<bytes>\d+) bytes") ...
[ "matti.kortelainen@cern.ch" ]
matti.kortelainen@cern.ch
a69a28824ea7ca56ddf8ed693760d7af22bb38c5
48ffc4798649c5f80ca1796768d27f7387e314c9
/ex45.py
49f4c7e2fe57fa03c3b22ced4c8b790b18279047
[]
no_license
DanielDavid48/Exercicios-PY
fb4e633b3bd61eebc6f6b98772015d2752f4e674
7e5bc9f1cb6586a376de7f398b9b6093558eb1a5
refs/heads/main
2023-04-19T09:41:42.828417
2021-05-06T17:31:15
2021-05-06T17:31:15
355,333,494
2
1
null
null
null
null
UTF-8
Python
false
false
1,665
py
import emoji from random import choice print('Seja bem vindo ao JOKENPO"') print('\033[32mVocê terá 3 opções para jogar: pedra; papel e tesoura.\033[m') print("""Opções: pedra papel tesoura""") opcao = str(input('\033[32mInsira uma opção: \033[m')) comandos = ['pedra', 'papel', 'tesoura'] sorteio = choic...
[ "noreply@github.com" ]
noreply@github.com
162d8945cb75bcdebb266800438923f8d7ffb325
384d0be5ac54b306b945cf38c10d9b0a44c975ea
/stack/glance/glance/tests/functional/keystone_utils.py
397fae9f593ff18fb7d69ebb6075a5c3d45caf71
[ "Apache-2.0" ]
permissive
ashokcse/openstack-bill
05ae313637b3cfecba946d2a9b32e8c7609fc721
1a3d7575d4b341f64fa1764ed47e47a7504a9bcc
refs/heads/master
2021-01-18T14:05:24.696165
2012-09-12T11:29:20
2012-09-12T11:29:20
5,424,267
5
2
null
null
null
null
UTF-8
Python
false
false
12,329
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 OpenStack, LLC # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/...
[ "ashokcse@live.com" ]
ashokcse@live.com
f4c60a6b9683e8bff777b2c1770eff89ad84842e
6e8f2e28479566dbaa338300b2d61f784ff83f97
/.history/code/datasetup_20210414095452.py
f5a12d33d825aade94f6256ddefae15b5c5a1929
[]
no_license
eeng5/CV-final-project
55a7d736f75602858233ebc380c4e1d67ab2b866
580e28819560b86f6974959efb1d31ef138198fc
refs/heads/main
2023-04-09T21:28:21.531293
2021-04-21T19:57:22
2021-04-21T19:57:22
352,703,734
0
0
null
null
null
null
UTF-8
Python
false
false
3,652
py
from PIL import Image import numpy as np import matplotlib.pyplot as plt import matplotlib.image as mpimg import pandas as pd import cv2 import os import glob from pathlib import Path def cleanTestDirs(): for f in Path('/Users/Natalie/Desktop/cs1430/CV-final-project/data/test').glob('*.jpg'): try: ...
[ "natalie_rshaidat@brown.edu" ]
natalie_rshaidat@brown.edu
89e45a5cc761cc4a4a3c992bcb906b1d81f2e26d
e0b5a869c687fea3c9dda138734d25b3c5e68b88
/venv/Lib/site-packages/hupper/cli.py
b6c0f6a609fb989443332a91ab55d53443a9b502
[]
no_license
asen-krasimirov/Python-OOP-Course
b74de5f83fb3e287cb206d48c3db79d15657c902
c6df3830168d8b8d780d4fb4ccfe67d1bb350f7e
refs/heads/main
2023-02-01T04:09:33.796334
2020-12-15T14:56:59
2020-12-15T14:56:59
309,389,119
2
0
null
null
null
null
UTF-8
Python
false
false
1,853
py
import argparse import runpy import sys from .logger import LogLevel from .reloader import start_reloader def interval_parser(string): """Parses the shutdown or reload interval into an int greater than 0.""" msg = "Interval must be an int greater than 0" try: value = int(string) if value ...
[ "68907559+asen-krasimirov@users.noreply.github.com" ]
68907559+asen-krasimirov@users.noreply.github.com
03db626ae713ce0b0c3f4ee45b458daf28cdd3b7
f764ceff10c7f4a636d8bb7002075cb1b543426b
/py/tests/day05_test.py
c3ef7c38e54ffb9edcc66f09f1d8ef8197e82686
[]
no_license
gunnihinn/advent-2018
73eec4457c0b4abc4b0f871a42e0e58770ac457f
d4e2e05e2c6af11c28a07ec9d9178bc9f353c67b
refs/heads/master
2020-04-09T07:27:48.009540
2018-12-12T14:00:50
2018-12-12T14:00:50
160,156,692
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
import unittest from py.day05 import * class TestExample(unittest.TestCase): def test_reduce1(self): self.assertEqual(reduce('aA'), []) def test_reduce2(self): self.assertEqual(reduce('abBA'), []) def test_reduce3(self): self.assertEqual(reduce('abAB'), list('abAB')) def te...
[ "gunnar.magnusson@booking.com" ]
gunnar.magnusson@booking.com
3ae3c619c3f36bab8818e6ecf5b6d3e41d1ddced
6e5c625136c36d845c72f7a4fdea482f05384590
/venv/lib/python3.9/site-packages/setuptools/command/bdist_egg.py
87a325c16db5f0dc5ea237611fd9406af7ea49b9
[]
no_license
DvdCp/BattleWebApp
26fe9e714c090add337d951a1672ef7747a1db33
f8eeeccdb0e73bd4bcc9529adfe74436d8cf5c13
refs/heads/master
2023-07-08T09:53:10.640382
2021-08-08T18:09:13
2021-08-08T18:09:13
379,716,474
0
0
null
null
null
null
UTF-8
Python
false
false
18,183
py
"""setuptools.command.bdist_egg Build .egg distributions""" from distutils.errors import DistutilsSetupError from distutils.dir_util import remove_tree, mkpath from distutils import log from types import CodeType import sys import os import re import textwrap import marshal from setuptools.extern import six from pk...
[ "davidecap00@hotmail.it" ]
davidecap00@hotmail.it
77e75cde2e9917f1df2476fea3c616112c507065
d3919225e9a0af652eddd333cb5540ca065d6512
/scirex/predictors/__init__.py
5d33845887b44b1580dc4a24ed467e098d594d7d
[ "Apache-2.0" ]
permissive
viswavi/SciREX
ed230bf16f142950b60fbe4cd0bd4a49be65bb16
8e4b402e95d438c92eeecee315d389903a963b8d
refs/heads/master
2023-05-19T08:38:16.709227
2021-05-24T15:50:30
2021-05-24T15:56:30
294,549,661
0
1
Apache-2.0
2021-06-09T16:30:06
2020-09-11T00:02:13
Python
UTF-8
Python
false
false
97
py
# Because Allennlp decoding api won't work. # Need to combine paragraph stuff into document stuff
[ "successar@gmail.com" ]
successar@gmail.com
ffaa0033881a2acb5b23949e5974638c8cc10895
64bc2537c5a05dd1c53eaf0684383c8f841f2cf3
/src/player/MediaPlayer.py
62fde0cb7743dd8c8b7708d28bd1c62cc916af99
[]
no_license
fvcastellanos/pi-player
a8865221988f6658b77b8059458096a2b737a6d7
99edd22644d09974e62eb4161b20cea3aaa4401b
refs/heads/main
2023-08-29T12:10:32.096032
2021-10-24T05:44:39
2021-10-24T05:44:39
417,582,149
0
0
null
null
null
null
UTF-8
Python
false
false
3,046
py
import vlc import logging import discid from player.AudioDisc import AudioDisc from player.Track import Track logger = logging.getLogger(__name__) class MediaPlayer: __mediaPath: str __player : vlc.MediaPlayer __mediaList : vlc.MediaList __mediaListPlayer : vlc.MediaListPlayer __e...
[ "fvcastellanos@gmail.com" ]
fvcastellanos@gmail.com
4cb2ac17b39afa644185ebcf5031f1894d4ba203
c64713cee6f47b5ac3448ff5ecb358d9f4bd5542
/todo_list/todo_list/urls.py
b18144eab99eb3d5218d3d86ecef2e95a6f2d8ea
[ "MIT" ]
permissive
ptyadana/django3-todo-app
ce902681d07e1f0ce47be6def70196a9e25168ef
0cc753e25f2ace219e51539ee511e5ed844a1d7c
refs/heads/master
2021-03-25T23:23:04.626284
2020-03-16T12:52:12
2020-03-16T12:52:12
247,654,283
1
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
"""todo_list 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-bas...
[ "ptyadana@users.noreply.github.com" ]
ptyadana@users.noreply.github.com
193c66f9c3f80d05c19b0f91adaa16272a94ff58
8ffaaedd45732f077a3b20dcfd1e6a11c8cd779b
/deck_chores/parsers.py
236d855ccb0ee5589e938b8724f8ba9455fdd29f
[ "ISC" ]
permissive
mumblepins-docker/deck-chores
84dc72684767dad5d31fbf9e481b9e248da44ca2
36ee7501837154581c19d1ad1cead401539eb568
refs/heads/master
2020-04-05T18:53:29.369373
2018-10-25T19:04:58
2018-10-25T19:04:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,708
py
from functools import lru_cache from collections import defaultdict import logging from typing import DefaultDict, Dict, Optional, Tuple, Type, Union # noqa: F401 from apscheduler.triggers.cron import CronTrigger # type: ignore from apscheduler.triggers.date import DateTrigger # type: ignore from apscheduler.trigge...
[ "funkyfuture@riseup.net" ]
funkyfuture@riseup.net
5223dd247001b502827063554b4efad3205d446e
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4441501.3.spec
e67e344e2f6159571cddc2df4d0a27d1a2583ac7
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
13,964
spec
{ "id": "mgm4441501.3", "metadata": { "mgm4441501.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
4b8cc3d566e7d58bc9404bd86ae945be8cf6d1cd
5f1c96bd362e5344210aa828e92f33f3382974bd
/src/core/table.py
03410095bd7a8d5de9080f36584cf484967d9160
[]
no_license
huagor/doudizhu-3
d7fc8408b068a86179ce96f35a85ad1733ab4b7c
ca3ba87f7b0d2553a47584e03c499b191f471563
refs/heads/master
2021-06-20T11:02:40.254917
2017-07-05T15:39:04
2017-07-05T15:39:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,977
py
import logging import random from typing import List from tornado.ioloop import IOLoop from core.robot import AiPlayer from net.protocol import Protocol as Pt logger = logging.getLogger('ddz') class Table(object): WAITING = 0 PLAYING = 1 END = 2 CLOSED = 3 def __init__(self): self.uid...
[ "mailgyc@163.com" ]
mailgyc@163.com
c45ce4f83dd33f28f821f06e41f9651f9bd68f9c
daedd7d771bcb3179b9c9bada700a15f20bdad66
/preprocess.py
0d0efa59213f1e187d5364cf7b31b3633440d948
[]
no_license
BenaichaA/MURA-Deep-Learning-Project
ba15ceb8417fbe9d992672e76400354853844bdd
a188c5c88943bc1b25032f1c9f9752450e7bf006
refs/heads/master
2020-05-14T13:36:45.450858
2019-05-01T20:46:29
2019-05-01T20:46:29
181,816,148
1
0
null
null
null
null
UTF-8
Python
false
false
1,906
py
import csv import numpy as np import tensorflow as tf def format_labels(): paths = "MURA-v1.1/valid_image_paths.csv" labels = "MURA-v1.1/valid_labeled_studies.csv" filePaths = [] with open(paths) as pathsfile: readPaths = csv.reader(pathsfile, delimiter=',') for row in readPaths: ...
[ "amine.benaicha@mail.utoronto.ca" ]
amine.benaicha@mail.utoronto.ca
ef70822fe7bc5e5ed1a9943009eca03accec250d
485f4cd1643b38dcdca46510a32f333b31742b61
/src/simple-potentiometer.py
64cc615a673357c493fb2efcf546663807e26694
[ "Apache-2.0" ]
permissive
athenian-programming/cpx-crickit-tutorial
c3b66ab27295ab53b5882955d2fccf4afc9963d6
0c7c6b82e44e4389fcee0977e064e651c7cb3678
refs/heads/master
2020-04-09T01:18:48.578300
2018-12-02T18:58:19
2018-12-02T18:58:19
159,899,405
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
import time import board from analogio import AnalogIn # A2 is used here, but A1 and A3 are also candidates analogin = AnalogIn(board.A2) while True: voltage = analogin.value / 65536 print((voltage,)) time.sleep(0.1)
[ "pambrose@mac.com" ]
pambrose@mac.com
396232a34fba1ca17fea228d8ca0ede2baf546f0
81549b7fb2464574c275cc4c6f71e42c3018be4e
/packager/file.py
339a541d69dd4851413fcd84098d185d845dddd3
[]
no_license
jeffbowman/packager
e4a499ef6d3b2db74ff213c9db4f685a88867588
60bea84b916a0c83fce8087ff72d12a508c283d0
refs/heads/master
2021-01-10T09:02:21.147680
2016-04-05T15:38:22
2016-04-05T15:38:22
55,028,691
0
0
null
null
null
null
UTF-8
Python
false
false
3,285
py
from abc import ABCMeta, abstractmethod from command import Command import shutil import os import logging class File(Command): """Base class for commands to handle file operations. Should not be instantiated, rather use `Move` or `Copy` commands. """ __metaclass__ = ABCMeta def __init__(self, o...
[ "jeff@appnovation.com" ]
jeff@appnovation.com
b551f6a67c562c1ba60365cb11afee1bb21d6d0e
f902bfafd93fe96515f5b12fa8630b365cf71ce9
/tests/events/test_group.py
c0a25f25ff814c12d580094ebf7f0a857a69ae97
[]
no_license
hickb/Houdini-Toolbox
69e999a924f387313382c254de2771d66c649f64
5309b2608f86b12aab8e90e754269ed2d2a44653
refs/heads/master
2022-06-18T23:08:45.481414
2020-05-06T19:25:02
2020-05-06T19:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
"""Tests for ht.events.group module.""" # ============================================================================= # IMPORTS # ============================================================================= # Houdini Toolbox Imports import ht.events.group # =======================================================...
[ "captainhammy@gmail.com" ]
captainhammy@gmail.com
2d0dc2c09a870c30cd508203de167546dc1deb35
aff27667091f8f9217784d1918722caeb2ec124c
/runp-heroku.py
ee2fc08e61973a8d081df9faf97c92ed730f96a2
[]
no_license
PritishC/flask-microblog
2353d74ba3268c1ec6aa4ee1e314b359d347d361
00f87d4112a63f0eedb14293c34363c93e90078d
refs/heads/master
2016-09-05T20:26:48.161299
2014-09-02T07:11:42
2014-09-02T07:11:42
22,011,745
1
0
null
null
null
null
UTF-8
Python
false
false
62
py
#!/home/pritishc/Envs/ircflask/bin/python from app import app
[ "chakrabortypritish@gmail.com" ]
chakrabortypritish@gmail.com
8093a2ae2e4f724c10c39558d775be3dd8e508b5
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=32/sched.py
a11fb9d9a8e363d961dbdb7bb6a5f953e71cec31
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
-X FMLP -Q 0 -L 1 66 250 -X FMLP -Q 0 -L 1 57 200 -X FMLP -Q 0 -L 1 57 400 -X FMLP -Q 0 -L 1 53 250 -X FMLP -Q 0 -L 1 45 200 -X FMLP -Q 1 -L 1 42 150 -X FMLP -Q 1 -L 1 40 125 -X FMLP -Q 1 -L 1 34 125 -X FMLP -Q 1 -L 1 32 150 -X FMLP -Q 1 -L 1 31 150 -X FMLP -Q 2 -L 1 29 100 -X FMLP -Q ...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
67600faad0af4b5d359fc64839e03d55c8fa8155
dce438aec547bb36a48c5f1667db20f6c877e4a6
/work.py
501af3eeafcbd13b6f7f2a248a92eadfa26b8b7c
[]
no_license
tuhin47/Signature-Recognition
139d9ce808dc1bb23ca68155010ebf625b6eb656
483f8e114c824b81a748c66edb585813000a1e7b
refs/heads/master
2020-03-07T13:56:55.717869
2018-03-31T08:40:32
2018-03-31T08:40:32
127,514,624
0
0
null
null
null
null
UTF-8
Python
false
false
6,349
py
import prepross import tensorflow as tf import os from numpy.random import seed seed(1) from tensorflow import set_random_seed set_random_seed(2) batch_size = 30 #classes = ['A','B','C', 'D', 'E', 'F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','W','X','Y','Z'] classes =["1","10","11","12","13","14"...
[ "tuhintowhidul9@gmail.com" ]
tuhintowhidul9@gmail.com
94b75392a59f3e245de35e339c21bdd3032fb6b9
1162986e591732abb8e165046e838a23ba7c1614
/Final_Project/object-detection/detect.py
76d9118d15bcd50d4329ea251711e5d0f2c58ebc
[]
no_license
ering0427/Interactive-Lab-Hub
6dc69da247c7e78626e2d3b4c2d4bc58a8086178
f0492b6428ae30fe8163e96060e95b4e38374c59
refs/heads/Spring2021
2023-04-20T16:14:10.593078
2021-05-16T18:16:05
2021-05-16T18:16:05
337,768,758
0
0
null
2021-03-24T13:20:38
2021-02-10T15:36:47
Python
UTF-8
Python
false
false
7,917
py
# How to load a Tensorflow model using OpenCV # Jean Vitor de Paulo Blog - https://jeanvitor.com/tensorflow-object-detecion-opencv/ # David edited some stuff from __future__ import print_function import numpy as np import cv2 import sys from pyimagesearch.notifications import TwilioNotifier from pyimagesearch.utils imp...
[ "yg545@cornell.edu" ]
yg545@cornell.edu
c1fd06e65d5b13122d537fbad5112f1dbf409c67
d98ee572bfc1bb67415f791603ad912b33f08aa0
/main.py
ee1850cefde429b4bcb73521b38113218cadfd49
[]
no_license
august-Garra96/ejemploGit2
0f5066606c5163f14c2e1ad3591a502f98d9ad9b
e35038c72caeb7cf692075130f8b7b77bb1af141
refs/heads/master
2022-12-13T14:04:51.578019
2020-09-13T20:46:51
2020-09-13T20:46:51
295,235,672
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# This is a sample Python script. # Press Mayús+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. def print_hi(name): # Use a breakpoint in the code line below to debug your script. print(f'Hi, {name}') # Press ...
[ "za16011264@zapopam.tecmm.edu.mx" ]
za16011264@zapopam.tecmm.edu.mx
3e499bdabe692c7f2499dfa1097f3d676afb1eb0
2bdb914b6e3fe80ffaeeb2b4e1c0acacba9c94fd
/2019/42/Oppgave 8.py
4ece68e605b32991928c59fb18da44ba0f4986f2
[]
no_license
havardnyboe/ProgModX
9a38c104d09c356a3146f6920e21567d3910569b
222dcb5bf354953e22ab9fb2d1b8ddd2422a427f
refs/heads/master
2022-10-06T17:19:22.895947
2020-06-10T16:02:05
2020-06-10T16:02:05
261,474,216
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
liste = ["Tekst", 42, 3.1415, True, [1, 2], (2, 3)] neste = 0 for i in liste: print(i, "er en", type(liste[neste])) neste+=1
[ "havard.nyboe@gmail.com" ]
havard.nyboe@gmail.com
369a652da5dd92413eb7e654dfd2414a1d5eb23f
ad5c146994748e0605e9c17e34f2777b02c3acfc
/progress/todos/urls.py
ae46e61f33eaf83a13fcbbb7cc22ccd94c0f0a78
[]
no_license
riteshghorse/progress-tracker
173435c7d693bb1eafdc30048f8742bf79d736be
1c6e2e0246781caac1b9e8cbf0a1a16165b06f63
refs/heads/master
2021-05-16T01:31:05.095964
2020-06-12T23:16:12
2020-06-12T23:16:12
107,129,159
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
from django.conf.urls import include, url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^newEntry$', views.newEntry, name='newEntry'), ]
[ "riteshghorse@gmail.com" ]
riteshghorse@gmail.com
d30883a494d959001c238d295767929e6d16f5eb
b3c4ec7e3a8db4c18f81a2ada9274497211eb2b1
/E2Ppy/plot_field.py
5fda0a880ca6885aeefb50be84808446c684a5d1
[]
no_license
PNMZR/Python3_FEM_Codes_Recomposed_from_Other_Programming_Languages
fe1de520ba642881e4eebaa8a3e8b41edb3f688b
28c20d3204a3d3aa9500e85bf7944c193037a8d1
refs/heads/master
2022-12-11T16:14:00.309967
2020-09-09T03:56:31
2020-09-09T03:56:31
288,892,351
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
# -*- coding: utf-8 -*- """ Created on Mon Sep 7 09:50:08 2020 @author: lenovo """ import matplotlib.tri as mtri import mesh_region as mesh import matplotlib as mpl import numpy as np def plot_field(pt1, pt2, pt3, pt4, numx, numy, fac, u_x, u_y, field, fig, ax, elemType='T3'): """ Forms a col...
[ "675732635@qq.com" ]
675732635@qq.com
d6985200f3c6aa0ed01ddf7d13cc1ecf1ef31fec
d70cdc9a46676acb4c4396cd69f1e8253921858b
/migrations/versions/e0f3844e1176_.py
f86933a8560816039d7de1598b57efd9fad11afd
[]
no_license
Lemon000/Blog
c57105b1260bcfa13bb413713fb8e2bd57400b15
4654a94a72039c8b4664c15787ca6d5a56c67d61
refs/heads/master
2022-12-13T04:31:46.968468
2020-01-08T08:41:45
2020-01-08T08:41:45
232,509,848
0
0
null
2022-12-08T01:07:18
2020-01-08T07:57:39
HTML
UTF-8
Python
false
false
983
py
"""empty message Revision ID: e0f3844e1176 Revises: Create Date: 2020-01-02 17:16:06.788196 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'e0f3844e1176' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "2221487809@qq.com" ]
2221487809@qq.com
9681745e47d6259063c31935e92c174f3594e7ae
dc8aa9a5735611ef1cf4002a3bf589bbf8499978
/coursera.org/ciencia-computacao-python-conceitos/semana4/digitos_adjacentes.py
1bb4f4b6905b34cfcfcd9ae3f14bd958db24194b
[]
no_license
pilgerowski/bricabraque
03d7d4abffcfc206c776b96d84eca8b48a3663f0
a2570adcc39bdfcbda6c6f434f6de698ceb0611d
refs/heads/master
2021-01-22T22:13:36.899246
2017-07-27T00:38:35
2017-07-27T00:38:35
92,764,006
0
1
null
2017-07-27T00:38:36
2017-05-29T18:10:45
Python
UTF-8
Python
false
false
330
py
iNumero = int(input("Digite um número inteiro: ")) bHaAdjacenteIgual = False iAnterior = iNumero % 10 while(iNumero > 0): iNumero = iNumero // 10 iDigito = iNumero % 10 if(iDigito == iAnterior): bHaAdjacenteIgual = True iAnterior = iDigito if(bHaAdjacenteIgual): print("sim") else: print...
[ "charles.pilger@serpro.gov.br" ]
charles.pilger@serpro.gov.br
dc16006d123ff7fe0d618a47f7c7bc1f3b5d8f56
99bfe0755549458de6431e6a7376e164d56ddb46
/test.py
20025aec21bd0990db3190ed2192e720dbf706be
[]
no_license
wisch628/spotify-python
8deebbe4843cdcb570426f21ffa482f356d49928
41e3bbd9025e77a67191b9da896ab6d3bbca1938
refs/heads/main
2023-06-24T17:21:16.194499
2021-07-28T07:29:55
2021-07-28T07:29:55
390,256,075
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
import requests import os CLIENT_ID=os.environ.get('CLIENT_ID') CLIENT_SECRET=os.environ.get('CLIENT_SECRET') AUTH_URL = 'https://accounts.spotify.com/api/token' auth_response = requests.post(AUTH_URL, { 'grant_type': 'client_credentials', 'client_id': CLIENT_ID, 'client_secret': CLIENT_SECRET, }) auth_re...
[ "hannahwischnia@gmail.com" ]
hannahwischnia@gmail.com
b160afb6ee8b864232cf72c473b0df3fc5fed880
0bc334d987b3742d26fb9b8a78d9efc4ca39e926
/main.py
b1e6b63ee826d9cc85b07d949084fb02672b522f
[]
no_license
LiuZH-enjoy/word2vec
822f0b8b302b869dfa0d1c01c2ce2aaa5a5cda0f
0edd078da3b48eecde2bc5765219af6250ab86ff
refs/heads/main
2023-05-13T21:32:51.343580
2021-06-11T07:03:15
2021-06-11T07:03:15
375,935,112
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
import torch import argparse import train import preprocess import module import matplotlib.pyplot as plt parser = argparse.ArgumentParser() parser.add_argument('--batch_size', type=int, default=8, help='batch大小(默认为8)') parser.add_argument('--epochs', type=int, default=2000, help='epoch数(默认为2000)') parser.add_argument...
[ "1582037626@qq.com" ]
1582037626@qq.com
5a475209b7b16ea0b71a631ccc0dbad6bbfff20f
bf668891c4f8f26b746f83a9c412b7ed9addc835
/demo.py
2fdd67c0cd0428326f993fc06c7307e8f4bd91f0
[ "MIT" ]
permissive
AlbertXu233/RDIE-for-SR-IQA
94f4ab59574b29045c687ba2d25dd713630d1ecd
814831af09f6d166b4b7ad24730499fe2b1a164e
refs/heads/main
2023-06-21T02:05:08.494621
2021-07-09T01:18:18
2021-07-09T01:18:18
384,162,586
0
0
MIT
2021-07-08T15:19:08
2021-07-08T15:03:38
null
UTF-8
Python
false
false
1,150
py
import os import cv2 from RDIE import * hrImgNames = os.listdir('imgs/hr') srImgNames = os.listdir('imgs/sr') hrImgNames.sort(key=lambda x:x.split('.')[0]) srImgNames.sort(key=lambda x:x.split('.')[0]) hrImgNames = ['imgs/hr/'+name for name in hrImgNames] srImgNames = ['imgs/sr/'+name for name in srImgNames] #for calcu...
[ "845995433@qq.com" ]
845995433@qq.com
2bc9e59e83813ef8d9d7d458526f16966d131ff3
33a424e56d9f843c5052464d035cb1cca807ddca
/agent/temboardagent/version.py
bb3bb25db908f2a69980f1fecc915047114ac13e
[ "PostgreSQL" ]
permissive
pgiraud/temboard
9dd6cfb5d6cb5ad5cacd21b079138e9f4b7b7c49
4967cf27de8f731a05167d56a6d3bbd7550c4a3b
refs/heads/master
2022-10-12T18:34:26.950034
2022-09-23T14:25:06
2022-09-23T14:25:06
84,056,172
0
0
NOASSERTION
2021-05-21T14:37:21
2017-03-06T09:45:21
Python
UTF-8
Python
false
false
28
py
__version__ = "8.0b1.post9"
[ "etienne.bersac@dalibo.com" ]
etienne.bersac@dalibo.com
748cba2b3befffb2fb4003ded47dc999b5531b0a
95d7f71d2467d48e91f9e9b2ee6b668794d92b66
/official/core/base_trainer_test.py
a346173a587b1c4e65d6d4d62c357debcafb6a81
[ "Apache-2.0" ]
permissive
ChulanZhang/models
e130d43033d2f34a05fc31f345e3364ad69b4590
341fe24b69d5f9a15872641dbec6aab8a09e1d8e
refs/heads/master
2021-06-24T08:02:58.397775
2021-06-20T15:48:15
2021-06-20T15:48:15
218,371,200
1
0
Apache-2.0
2019-10-29T19:50:47
2019-10-29T19:50:46
null
UTF-8
Python
false
false
13,715
py
# Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
28c329cdb87b9bf4ba6938afa96149d6b26b45ee
52b5773617a1b972a905de4d692540d26ff74926
/.history/compareVersions_20200909131716.py
d622cfb2cc1588914ad6545a8a07d595eeab93c4
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
def compare(version1,version2): # split where there are , # then loop through both of them # if v1 > v2 return 1 # if v1 < v2 return -1 # otherwise return 0 v1 = version1.split(".") v2 = version2.split(".") v1 = [int(i) for i in v1] v2= [int(i) for i in v2] for a,b in zip(v1,...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
323eafb63b51c67a491bec0c7b176cf634a5ceee
e2fe70d710cc50c5400a26f13281c0b9d68c772f
/module10/les1/first.py
4a98916e3ea0617a633c0a87d29c30efb9290352
[]
no_license
ronylitv/GOIT-Tasks
cca9d95329bbc5810fa1a2be7dc1ab16ac6efaf2
cfeaedefc11a986bd9b146972ef576eadd851abf
refs/heads/master
2023-07-17T05:54:17.694438
2021-08-30T13:15:31
2021-08-30T13:15:31
381,319,034
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
class Rectangle: def __init__(self, high, width): self.width = width self.height = high def perimeter(self): return 2 * (self.height + self.width) def square(self): return self.height * self.width r = Rectangle(2, 10) print(r.perimeter()) print(r.square())
[ "rostislavlitvinets@gmail.com" ]
rostislavlitvinets@gmail.com
64645b490d8995485103c138e3f412e789ddca2e
017b699d94c0365e3d390bbe9549a0804fa8978c
/Ticket.py
6319e3f93e919ca123da06534d536e82dea3256a
[]
no_license
AlchemistsLab/CovalentSupportBot
4db0e8036ff9034b3c11fba9071c6046620b4b33
8204bad64dbe025dcda1c225ce2513d935e7337c
refs/heads/main
2023-06-20T11:05:10.362695
2021-07-14T09:25:55
2021-07-14T09:25:55
386,060,622
1
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
import datetime class Ticket(): def __init__(self, ticketnumber, userid): self._ticketnumber = ticketnumber self._staffmember = None self._userid = userid self._questions_and_response = None self.open() def assign(self, staff): self._staffmember = staff ...
[ "noreply@github.com" ]
noreply@github.com
be0321b94907337ffa106f6da1095856ad39c9fa
b66c276111707d8f2444e75e66b8a4fb5b6da733
/backend/base/urls/post_urls.py
446387b5ec901fe4e97d6f966c27b9168c8886ca
[]
no_license
anuupadhyay/CodingHub
27ea15faa68c7d4421c077277d85d7904656cc74
c7aefd7ce751201fde59cfbc8f100d9d5ef7e0cc
refs/heads/master
2023-07-06T20:01:33.701908
2021-08-16T06:48:00
2021-08-16T06:48:00
381,011,689
2
0
null
null
null
null
UTF-8
Python
false
false
186
py
from django.urls import path from base.views import post_views as views urlpatterns = [ path('', views.getPosts, name="posts"), path('<str:pk>/', views.getPost, name="post"), ]
[ "anu.upadhyay.1994@gmail.com" ]
anu.upadhyay.1994@gmail.com
75bf6c3354e8a55ffb564b64b2e850e75902a4ce
3790aba36d7f266a31e1b21d11e2f238e968166b
/XGB/constants.py
a8ea2fa352ee7458a3e12676c7476570524db6be
[]
no_license
gautamverma/MLAnalysisGH
4a6aaad21f3e9f9f9ba560011661857c92163c77
7c46e2ca3358367ae8cf0cdf801f43352295910e
refs/heads/master
2020-12-04T03:42:32.339804
2020-05-06T19:16:50
2020-05-06T19:16:50
231,595,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
# Batch size of 10000 CHUNKSIZE = 250000 REGRESSION = 'regression' CLASSIFICATION = 'classification' # Default value ACTUAL SIZE 75% TRAIN_ITERATION = 30 TRAIN_MOD_COUNT = 10 CONSTANT_FILLER = 'missing' NUMERIC_FILLER = 0 # All Customer filler ALL_CONSUMER = 'allCustomer' ## Data Input Keys IBUCKET_KEY = 'input_buc...
[ "gautamve@amazon.com" ]
gautamve@amazon.com
40c5ca732a65d5ae956e19fbce0b726834470f36
80690771010aced98d399c40eb92e109c0624076
/Ros5E_GlobalAlignment.py
8d880f98f02efe48f09f7ccb7f402594df104e09
[]
no_license
ahmdeen/Bioinformatic-Algorthims
f9624a44108ce3978641c168ee30ca1a6ec6fd5d
7cae61bb45535911f220da290f9ecf609b964058
refs/heads/master
2021-01-18T13:58:32.126215
2015-03-25T21:03:59
2015-03-25T21:03:59
27,619,419
0
0
null
null
null
null
UTF-8
Python
false
false
2,248
py
""" Global Alignment Problem Find the highest-scoring alignment between two strings using a scoring matrix. Given: Two protein strings. Return: The maximum alignment score of these strings followed by an alignment achieving this maximum score. """ import os '''Classes''' class blosum62(object): '''Class to score...
[ "ahmdeen@gmail.com" ]
ahmdeen@gmail.com
cae9000152e64553d4650ba35f9b7dbeed67727c
f2a0cbbe779ce69743757d95e3bba39c8c10fc78
/中国诗词大会/txt导入数据库.py
8fbad9dbc6ebaea9f1552d0f3cd8611d4075a6da
[]
no_license
xffffffffffff/nickYang
43077a214ed550bb0e2fd7eb41196883551b1909
dfbe3942babd7843e159a9e2b569c975a93bb34c
refs/heads/master
2022-08-04T07:40:17.978237
2020-05-25T04:58:35
2020-05-25T04:58:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
import sys import re import os,time import pymysql conn = pymysql.connect(host='localhost', port=3306, user='root', passwd='newbegin',db='lsj',charset='utf8') cur = conn.cursor(cursor=pymysql.cursors.DictCursor) class WordCreate(): def __init__(self,path): ''' 导入文件进行解析 ''' with...
[ "1160132795@qq.com" ]
1160132795@qq.com
40eca71d9ce52576b62b9e0810fe6b9f28fd475f
dd045d8cfe5acb54c23ef6d5c677333a596f15ea
/visAnalytics/urls.py
64e92f761f64bbbf10e9b16fd6825871c6ebc880
[]
no_license
Septien/VA_WebService
e1007c7b6bda3c02c7830bb87b1a9ded71a42060
cd54f3c163d57fa51f320e6f735a4d26f133761a
refs/heads/master
2020-03-21T20:53:07.738341
2018-05-28T16:00:11
2018-05-28T16:00:11
139,034,419
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from django.urls import path from . import views urlpatterns = [ #https://stackoverflow.com/questions/3711349/django-and-query-string-parameters # The main entry point path('', views.index), # For requesting a script path('script', views.getScript), # For teh ||-coord path(r'pcoordinates',...
[ "jaseptienh@gmail.com" ]
jaseptienh@gmail.com
80b6dd5d4f076bb909efb9384c58ede6d4315e41
38d8d88063bd44c34c5c448eafbb343632fe9dfd
/PythonNumpy/array.py
c073f7fb7e70556cd26e991a9d824cee6dee92a5
[]
no_license
ChocolateOriented/mechainLearning
3d1af54e898fc7eb49e1cb94c04e5c22c48458ff
d9242bd1c2552917b0f1c61bb7d97e56eb379fa8
refs/heads/master
2020-03-11T02:23:38.557891
2018-04-20T10:56:12
2018-04-20T10:56:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
import numpy as np randMat = np.mat(np.random.rand(4,4)); invRandMat = randMat.I print(randMat * invRandMat) np.tile()
[ "lijx@mo9.com" ]
lijx@mo9.com
16c159d6f2c02f6dc602a3c379faeef88a8d5337
b032efc400f540d31e1728df5817c9779d036387
/venv/bin/python-config
b6ea19279a56f966b4146179e7d7899347706819
[]
no_license
mathv96/bebidas
718f480408a92b00a46559d5cb87084d8b5dac7b
4a469af1373995d6946a95c99907f49f5af38191
refs/heads/master
2021-01-20T21:46:23.738484
2017-08-29T21:55:45
2017-08-29T21:55:45
101,790,592
0
0
null
null
null
null
UTF-8
Python
false
false
2,371
#!/home/matheus96/Documentos/FATEC/Lab.Eng/bebidas/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abifla...
[ "matheus.victor@ymail.com" ]
matheus.victor@ymail.com
aebaec9b986b01f8e3d1909282c5c696ec7684f6
c2964a5777ab2add5e5c7dddabcd9ee0555482e7
/dash-2019-coronavirus/history_version/app_replaced_20200326.py
770a3e978bcb36c823a998bca156acc2732e45bb
[ "MIT" ]
permissive
lizeyujack/data-visualisation-scripts
b3fdf7e175307493fc6b23e79b63fc42a34cd6a6
d6af7f9a141331378c02417267c4a5f3e114f711
refs/heads/master
2022-04-22T11:12:26.412377
2020-04-25T02:04:20
2020-04-25T02:04:20
258,697,271
1
0
MIT
2020-04-25T05:45:56
2020-04-25T05:45:55
null
UTF-8
Python
false
false
84,070
py
# -*- coding: utf-8 -*- import pandas as pd import numpy as np from datetime import datetime, timedelta import math import os import base64 import plotly.graph_objects as go from plotly.subplots import make_subplots import dash import dash_table import dash_core_components as dcc import dash_html_components as html i...
[ "perishleaf@gmail.com" ]
perishleaf@gmail.com
dcf26e4fbc990deff46d1ca28274644d2c882a7c
24dccc981b29ae7837b3db6b7ba85cc2534ab5e9
/MIC Data Exploration Tools/MIC_Data_Exploration_Tools.py
0284bbcb2f45ba453a969739b5ece3b41f518cb2
[]
no_license
burtonbiomedical/vitek_data_project
6bfcf921a7b7c6c1a4620a1940350ac56a166145
4435b6a67084089fb29f1999c28b9274789e71b3
refs/heads/master
2021-05-16T14:50:35.609674
2018-02-25T00:31:02
2018-02-25T00:31:02
118,652,673
0
0
null
null
null
null
UTF-8
Python
false
false
17,393
py
#Import Dependencies import pymongo import sys import os import pandas as pd import re import pickle import matplotlib.pyplot as plt import numbers import numpy as np import seaborn as sns from datetime import datetime, date class ExtractData: def __init__(self, db_name, mongo_client): """Inintialise datab...
[ "ross@burtonbiomedical.com" ]
ross@burtonbiomedical.com
974ee489d6a9c2f187bc44cac0470cd633d1623c
dd673cc90672dc272e866c225a17442a0ac18123
/Lesson02/easy.py
259b74ac74cc0550bb5f95f3b64cf3ef91d66e33
[]
no_license
sigma7i/PythonLessons
6069019b97701ff3bcb3df23de607ea0a7a696fe
fe216ea9c5ea8cd998ee6b5a2b661eb385411d95
refs/heads/master
2021-01-24T12:12:06.780923
2018-03-21T10:47:43
2018-03-21T10:47:43
123,123,564
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
#задача 1 list_of_fruits = ["яблоко", "банан", "киви", "арбуз"] counter = 1 for fruit in list_of_fruits: print(f"{counter}.{fruit}") counter +=1 #задача 2 list1 = ['a', 'b', 'c', 'd', 'e'] list2 = ['a', 'z', 'x', 'y', 'e'] difference = set(list1) - set(list2) print(difference) # задача 3 integer_list = rang...
[ "zinatylin@gmail.com" ]
zinatylin@gmail.com
7702bf4de1212f401127beb699b460c50a1bdb54
1f187ab1fea83acec04fed50aeb4e406670124cc
/django_events/events/views.py
fb8851436aa8716ec41cee1b84cb60f8ae118555
[ "MIT" ]
permissive
chrisBrookes93/django-events-management
b231e4f7ff275a0910640e8138c06256b525f1fe
93886448a7bb85c8758324977ff67bcacc80bbec
refs/heads/master
2022-11-14T03:04:13.807371
2020-07-07T23:11:18
2020-07-07T23:11:18
275,236,675
0
0
null
null
null
null
UTF-8
Python
false
false
3,308
py
import logging from django.shortcuts import render from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from django.views.generic import View, TemplateView, UpdateView, CreateView from django.http import HttpResponse...
[ "dev@net.com" ]
dev@net.com
2d0a0c2e59cc654c8eaad2585ef80daaf1d740ff
805d464569360ea6732febf6eb1e3be19f2b5f29
/education_loan.py
e62d5cd5c3251b21778a60e715c22ab439dd4ae3
[]
no_license
Mathan08/bank_loan
334841a9a1a08f62eab1bc7fed5f1235ce96fd23
b0dd9399da4439e21d56054f143affa63571795f
refs/heads/main
2023-07-13T08:35:07.564352
2021-08-17T06:45:59
2021-08-17T06:45:59
397,138,076
0
0
null
null
null
null
UTF-8
Python
false
false
2,036
py
import mysql.connector mydb=mysql.connector.connect(host="localhost",user="root",password="Janakiraman123!@#",database="education_loan") mycursor=mydb.cursor() class accountdetails: def __init__(self, username,Account_number): self.username = username self.Account_number = Account_number ...
[ "noreply@github.com" ]
noreply@github.com
bad121f3a1eeed6c74fe0f00ecc8248920f59431
cc590780b4ca4edced303e0899c4d753340e22f6
/login/bulk_data.py
50558e71e694f78f9c6758c1a70263cbc2def1c6
[]
no_license
guojiankaipython/-
b66c3f7293c04e67b8a4aee2e568046c6afe8a64
73a0ea7a402c9c7f5a1d7c040ee1f750b5d40801
refs/heads/master
2021-05-23T17:07:26.820290
2020-04-06T08:05:51
2020-04-06T08:05:51
253,394,467
1
0
null
null
null
null
UTF-8
Python
false
false
482
py
# import os # # if __name__ == '__main__': # # os.environ.setdefault("DJANGO_SETTINGS_MODULE", "login.settings") # import django # django.setup() # # # from app01 import models # # c_list = [] # # for i in range(521): # # obj = models.Customer( # qq=f'{i+1}{i+2}{i+3}', # ...
[ "2524624096@qq.com" ]
2524624096@qq.com
07decb370299fda3f2ff899234b18278db953261
575959a55ce2412ac1ecec7d0a75b55a43044d43
/opy/_regtest/src/core/process_test.py
b5dc459802d8d83829352f7df294d190a96880f1
[ "Apache-2.0" ]
permissive
afunsten/oil
aa74a94db79ebe43c44d040149ea3b1bfb872bb7
e52071e10a78157db1e4f0befc439a36ca1cbc01
refs/heads/master
2020-04-18T10:13:17.177302
2019-01-25T01:08:31
2019-01-25T01:08:31
167,460,658
1
0
Apache-2.0
2019-01-25T00:48:20
2019-01-25T00:48:20
null
UTF-8
Python
false
false
3,552
py
#!/usr/bin/env python """ process_test.py: Tests for process.py """ import os import unittest from osh.meta import Id from core import builtin from osh.meta import ast from core import process # module under test from osh.meta import runtime from core import util from core.cmd_exec_test import InitExecutor # helpe...
[ "andy@oilshell.org" ]
andy@oilshell.org
62d283bb94abee18862867a046831544f6f502da
a8b89eadc948be2d4478702624752157c0657f0c
/keylog.py
5a19e62ae25a23c2e74596b3249d33696126a8e0
[]
no_license
ghdic/keylogger
0820e117491db26d7d6c51bf4fe1706792d405fd
45b3213a04710a0e2448662529319303f2e5d514
refs/heads/master
2023-03-09T05:44:59.986377
2021-03-01T09:58:47
2021-03-01T09:58:47
330,139,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
import time from pynput.keyboard import Listener import ctypes import psutil import pickle class Keylogger: def __init__(self, controller): self.controller = controller def on_press(self, key): data = pickle.dumps({'info': 1, 'key': key}) self.controller.send(data) def get_title...
[ "ghdic@naver.com" ]
ghdic@naver.com
9fc475508ae898d890fc912806d1b63456174705
3825940585ae0af37c5d1c621db65e027058b3ec
/python/python_fundamentals/Functions Intermediate I.py
bad95566007c5c36f4061bfc2a552db189fc1a5f
[]
no_license
HalaAlmulhim/Python-
4a5fc2a98df3fe46441c5f71d824f9c159a8cac3
ffffddbcbb21755bc0ccb54b653ccbc0e3bf4ed1
refs/heads/main
2023-06-22T19:07:11.512270
2021-07-12T13:53:37
2021-07-12T13:53:37
385,262,302
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
import random def randInt(min= 0, max= 100): num = random.random() * (max-min) + min return round(num) print(random.random()) ## should print a random integer between 0 to 50 print(random.random() * 50) # should print a random integer between 0 to 50 print(randInt(min=50)) # should print a random int...
[ "hkalmulhim@gmail.com" ]
hkalmulhim@gmail.com
bda8a2cc40c609fd85cabbaae0e183194330c3e7
64794b57c199e0cb9bd7d15c1791d8698652aa81
/venv/bin/naked
6ccc40dc2a4708d8f2e6bef125031fda49d08377
[]
no_license
rid3thespiral/pyethwallet
7897905a5330936e50f14b4d1056b99ee7fb4877
81764b58758f9b7933165bf85036a83b8e226d9a
refs/heads/master
2021-04-11T10:52:40.813837
2020-03-21T16:13:10
2020-03-21T16:13:10
249,013,150
0
0
null
null
null
null
UTF-8
Python
false
false
252
#!/Users/davide/PycharmProjects/pyethwallet/venv/bin/python # -*- coding: utf-8 -*- import re import sys from Naked.app import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "davidebattaglia1993@gmail.com" ]
davidebattaglia1993@gmail.com
a0d65f2aa3c2bd0f3e9352e624e89f8a134efd89
5d39a4c647e09a7af941786d06ff40196afc6d16
/binance-stream-receiver/DAL/Tick.py
0b8f833ac94369973d22e33614c207d3e07d8e75
[]
no_license
adriancr/btc-realtime-data
5c98b82f45a35aa74ab1067941070ae4d5a10afd
ef2f514136a8ae67852350ff1af8647f13bf382c
refs/heads/main
2023-06-06T21:18:51.110082
2021-07-07T01:22:51
2021-07-07T01:22:51
379,719,875
0
0
null
null
null
null
UTF-8
Python
false
false
2,809
py
# from pymongo import MongoClient import pymongo import os class Tick: DB_HOST = os.environ['MONGODB_HOSTNAME'] DB_USER = os.environ['MONGODB_USERNAME'] DB_PSW = os.environ['MONGODB_PASSWORD'] DB_PORT = 27017 DB_NAME = os.environ['MONGODB_DATABASE'] DB_COLLECTION_NAME = 'Ticks' DB_COLS = ...
[ "adrian@kapiwebdev.com" ]
adrian@kapiwebdev.com
019b37e958ac81bfffbd96be019f7ec28387189b
e5ae6dc424dc82455a8479b0cdb0a2031ec67fbe
/dashboard/migrations/0028_auto_20210627_1648.py
67b49d3905acb2cfccf5c78251e833d08c29f212
[]
no_license
NumanIbnMazid/auspicious
93851c47e2bc5c48386d5058b9bac9016191c8c9
6c34c51acae0c72fcd55645ff428f00db4b5c467
refs/heads/master
2023-06-17T10:08:32.907112
2021-07-11T08:47:47
2021-07-11T08:47:47
361,688,175
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
# Generated by Django 3.2 on 2021-06-27 16:48 import ckeditor_uploader.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('dashboard', '0027_alter_news_description'), ] operations = [ migrations.AlterField( model_name='job', ...
[ "setusakilanasrin@gmail.com" ]
setusakilanasrin@gmail.com
cc2797a54a4803d037a2651128ce94b755dbb47d
1d71724e7d097ce1e82afd492e48af4a29925f6c
/HM_ip.py
2ba600edaa7f06f56dd697a015adced2ecd6bb01
[]
no_license
13285707631/safety_automation
9e93c05b089ec699a80318ecd08b717383227d49
f0a9c96a69bbf9d5bcccfe866cf5e292ea8d6072
refs/heads/main
2023-04-22T02:37:20.595312
2021-05-12T03:44:16
2021-05-12T03:44:16
366,579,359
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
import time import xlrd import re import xlwt from xlutils.copy import copy from selenium import webdriver data = xlrd.open_workbook('md5.xls') sheet1 = data.sheet_by_index(1) data1 = copy(data) sheet2 = data1.get_sheet('sheet2') md5_list = sheet1.col_values(0) option2 = webdriver.ChromeOptions() option2.add_argument(r...
[ "zouyingtong@360.cn" ]
zouyingtong@360.cn
9972c126e935fc0202bd7b53c071493d7ca7de1f
f4c37b6eeaf85a995050b3a6ec83c04f774d53b8
/Lesson_6/Task3.py
c799bf5906fc0682249e361299d5f2cc58a48363
[]
no_license
nsimonova/GeekBrains
fee907d7d9ad1916f715721a60c16055853ab2c3
17a95cd4ce70bc33d7bfac7ea8edefd1f032fa1d
refs/heads/master
2023-01-31T18:29:18.431511
2020-12-16T18:33:49
2020-12-16T18:33:49
314,333,286
0
0
null
null
null
null
UTF-8
Python
false
false
1,931
py
# Реализовать базовый класс Worker (работник), в котором определить атрибуты: name, surname, position (должность), income (доход). # Последний атрибут должен быть защищенным и ссылаться на словарь, содержащий элементы: оклад и премия, # например, {"wage": wage, "bonus": bonus}. Создать класс Position (должность) на баз...
[ "sim.100@mail.ru" ]
sim.100@mail.ru
670b78f9e4287cb9ad30cfc92198c09f4a3dfb34
3a3220cc2961f39fd0bdb86dc1c045446fef1122
/apps/editors/tests/test_helpers.py
de57f41bf9803c6304d167d40d924e9b1496e28a
[]
no_license
zuzelvp/zamboni
03a445c8c01a868d45e56015d1973822d807b873
d900fde75ed69b55a19dbffea612d9ccae04bb82
refs/heads/master
2021-01-18T17:07:05.012750
2011-01-21T19:54:00
2011-01-21T23:16:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,024
py
# -*- coding: utf8 -*- import os from mock import Mock from nose.tools import eq_ from pyquery import PyQuery as pq import test_utils import amo from amo.urlresolvers import reverse from editors.helpers import ViewEditorQueueTable class TestViewEditorQueueTable(test_utils.TestCase): def setUp(self): su...
[ "kumar.mcmillan@gmail.com" ]
kumar.mcmillan@gmail.com
59f07782e0d05489a26c8339eafa084c234b9684
aec4c4d6a6dcbb53fad5ee6bd8d723ea46f50ed6
/list_advanced_exercise/01_which_are_in_2.py
e1f787a1ef97a16c5f2898b0351a7b1fe961d6d3
[]
no_license
Bukacha88/softuni_python_fundamentals
46efaff70dbb141e9a3dff9cb0cb8fff7001ef59
6ef6389c957015cfa6277353710509bf7d8e4d39
refs/heads/master
2023-02-17T19:30:16.249434
2021-01-13T09:31:04
2021-01-13T09:31:04
298,317,593
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
substrings = input().split(", ") strings = input() print([substring for substring in substrings if substring in strings])
[ "noreply@github.com" ]
noreply@github.com
0021a0c6a9b202c958bfd57efd3630e61ab29301
adc3abab7ce04ba10b7a0606475f7ce7e275e9eb
/leetcode.37. 解数独.py
6eab14963905ba0deb1087cc612c3b91e0d7c641
[]
no_license
NonCover/-
ca4e994938318d9fccea173e07679e6029b653ef
0cc970aaa03aa9300319a1e39e052e4beeec6698
refs/heads/master
2020-12-12T06:26:00.019090
2020-06-20T04:40:56
2020-06-20T04:40:56
234,063,173
2
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
''' author: noc time: 2020年4月10日 url: https://leetcode-cn.com/problems/sudoku-solver/ ''' ''' 递归每一种可能性,当前的值无法满足条件的时候就回溯,修改之前的值,直到每一个值符合条件的时候就返回True。 当我插入board[i][j]的值时,前提要求这个位置为空,我们依次插入["1","2","3","4","5","6","7","8","9"],如果某一个值成立的话,就填下一个空, 当下一个空,无论填哪一个值都无法满足条件,就说明我们即将回溯到之前的空修改,修改后依然无法满足,那就继续回溯,直到满足条件 由于数据量是固定的,所以计算机最...
[ "51185019+NonCover@users.noreply.github.com" ]
51185019+NonCover@users.noreply.github.com
d4537bb78fde457f220b6842619b4619f7525dfc
cb0c6a71c47b78cf0511fafc8e31deafcd77dbf2
/capitals.py
28b1c55e4cf8b43fc0c956d4c46910cd4e274a7a
[]
no_license
kaismithereens/realpython
123ef939c1822508980ba8a042d5d1ed442c2e75
7c57efbe12a3eaa4e8245b72486a77fc2cf78c74
refs/heads/master
2021-04-27T08:50:01.159261
2018-11-03T10:30:40
2018-11-03T10:30:40
122,499,501
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
capitals_dict = { "Alabama": "Montgomery", "Alaska": "Juneau", "Arizona": "Phoenix", "Arkansas": "Little Rock", "California": "Sacramento", "Colorado": "Denver", "Connecticut": "Hartford", "Delaware": "Dover", "Florida": "Tallahassee", "Georgia": "Atlanta", }
[ "kai.nevermind@gmail.com" ]
kai.nevermind@gmail.com
e219220037b9c26b07219a3a6cdc3dcfc8a7cf92
4128ff7064d0e5442d08e30e7878f249311bb3e3
/jubakit/test/stub.py
6c6d4673b64ae18513470a41f8d0c4e1bb693ea8
[ "MIT" ]
permissive
vishalbelsare/jubakit
ce4d53ccd61b8569de61ba55f02bd451df3d4b73
f6252ba627ce4e2e42eb9aafaaf05c882bc1c678
refs/heads/master
2021-06-10T01:21:27.557264
2019-05-16T05:19:40
2019-05-16T05:19:40
129,505,666
0
0
MIT
2021-04-04T15:07:16
2018-04-14T10:11:15
Python
UTF-8
Python
false
false
1,295
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from unittest import TestCase import jubatus from jubakit.base import BaseLoader, BaseSchema, BaseDataset, BaseService, BaseConfig, GenericConfig class StubLoader(BaseLoader): DATA = [1,2,3] def rows(sel...
[ "webmaster@kenichimaehashi.com" ]
webmaster@kenichimaehashi.com
e9518d10a5e6eb07e2fad892a857807646a924e5
870f94dd167d5aa11f66979782af2f35f7c3ed34
/codecademy/battleship6.py
d9ec03ad63a43d7fee8b171d9ee7d80f6cd94290
[]
no_license
alblaszczyk/python
52f993844e681fbb455b924cf733923f3b377177
02504c066d0f2d1b8cca08a17f25f383df6247ad
refs/heads/master
2021-09-20T00:57:12.299353
2018-08-01T20:23:44
2018-08-01T20:23:44
108,529,581
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
board = [] for i in range(5): board.append(['O'] * 5) def print_board(board_in): for row in board: print " ".join(row) print_board(board)
[ "stuff@alblaszczyk.oib.com" ]
stuff@alblaszczyk.oib.com
34024dbd22ffbb9e00c862b4b6b7328d4d2a250a
49ab3747f5376c6346285179b03bffb4883b595d
/setup.py
53b3b3a7d572827f946d45c32cb7c5f97cb73559
[]
no_license
henryiii/blocklint
529d1bc4d8b2b20a92944d30421248e6b5a718a9
9aedb4335fd7a9d1118c3848d0c9b4adb9ae7397
refs/heads/master
2022-11-29T11:25:55.305289
2020-08-07T18:19:12
2020-08-07T18:19:12
285,908,733
0
0
null
2020-08-07T19:46:09
2020-08-07T19:46:07
null
UTF-8
Python
false
false
248
py
from setuptools import setup setup( name='blocklint', description='Lint for blocklisted words', python_requires='>=2.7', entry_points={ 'console_scripts': [ 'blocklint=blocklint.main:main', ], }, )
[ "troycomi@gmail.com" ]
troycomi@gmail.com
78b43379948036f344af666a9ad009ee67a3f4a7
7a4785af3fd65693e7816d40506f2e31440105b0
/longest_substring_without_repeating_characters/solution.py
2862a2d4a9d97077c3fbd35f540c8992e91d59a5
[]
no_license
KevinBaileyCrum/leet_n_skeet
f595cd79a7e67beac14ec0420aa29d937cce18bc
bfdc43018a1da020aee2cc1629902f7d989ac196
refs/heads/master
2021-07-08T13:57:08.998841
2020-08-04T18:15:30
2020-08-04T18:15:30
172,585,915
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
# Kevin Crum # finds the longest substring without repeating characters # https://leetcode.com/problems/longest-substring-without-repeating-characters/ # input data from infile presented in a comma seperated list of form # string, expected_integer_length_substring def lengthOfLongestSubstring(s: 'str') -> 'int':...
[ "kevinbaileycrum@gmail.com" ]
kevinbaileycrum@gmail.com
74999f5e0be6261cf5e43d3d3da7c5c4171b16e5
572cfd22ed2431912c902bd8faf6a3c0c4a511bb
/pig_latin.py
1adfedd5a9eae674195676dee85b10ab2e986328
[]
no_license
gambitvixi/Python
d0b3e8af64f5c7ae36c2ff432b519998a0ea75d6
5fbddb1e21d83ccdd6301e8d730d2cd87f363fcf
refs/heads/master
2021-10-08T06:34:42.924194
2018-12-09T15:08:04
2018-12-09T15:08:04
160,976,926
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
word = str(input("Please input the word to be translated: ")).lower() samoglasnici = ["a", "e", "u", "i", "o"] pig_latin = "" sufiks = "" mickete = False for slovo in word: for glas in samoglasnici: if slovo == glas: broj = word.index(glas) mickete = True break if mi...
[ "strahinja.dzever.93@gmail.com" ]
strahinja.dzever.93@gmail.com
98d87b958fdbce0ac2c183e181145b0b53a88560
8ab09de71584752ee3d9d16c48fd2e812477b924
/items/migrations/0013_item_neues feld.py
97ad730f24ac745a7ebbd48c2177fce1b81c5d6b
[]
no_license
KaiPonel/CatalogWS
c81a7e8e1f43074990bdc10eda4474793f027a49
63c744073b5131fe86bdc9a3789aab4b08f44dc4
refs/heads/master
2023-04-07T22:43:25.750236
2021-04-21T17:35:12
2021-04-21T17:35:12
360,243,239
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# Generated by Django 2.1.5 on 2021-03-25 13:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('items', '0012_remove_item_neuesfeld'), ] operations = [ migrations.AddField( model_name='item', name='Neues Feld', ...
[ "ponelkai@gmail.com" ]
ponelkai@gmail.com
86676b1cd142281ea4f4a88b62f32a919fa49e1c
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_9_v3/I_w_Mgt_to_Wxyz_focus_to_Cxy_focus_series_Pyramid/pyramid_3side/bce_s001_tv_s0p1_L4/step10_b1_train.py
484deffac40d6f97e12e293ee566e739a6a6ad9c
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
4,892
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
60593c1e4021b0b3d0a887f3e857b9f644dece6f
6d11e5bf852ab78df53c9894b725e34edbf24c03
/upgrade_tasks/Helpers/Test/cmd_test.py
617aed546df7bcae4fac1acd38bca5187d3fa83c
[]
no_license
abodup/Avamar-Upgrade-Tasks
cc7996c12a8320b77cce3252fe72c08e28b007bc
029b5242e9b3c72dfcc5eb190bd1c63919954505
refs/heads/master
2021-07-09T15:58:57.122194
2017-10-11T10:09:34
2017-10-11T10:09:34
104,316,622
1
2
null
2017-10-06T08:30:07
2017-09-21T07:36:59
Python
UTF-8
Python
false
false
703
py
#!/usr/bin/python import os from datetime import datetime ############### Start cmd() ############### def cmd(command): printLog("Command: %s" %command) os.system("%s 2>&1 | tee -a upgrade_tasks.log" %command) ############### End cmd() #################### ############## Start printLog() ############## def print...
[ "p.abdou99@gmail.com" ]
p.abdou99@gmail.com
a96e31de7b7dd8c370234800c07105d2d148bc98
df2da399fa30beef60714469293d0061670b893f
/flaskblog/tasks.py
4b0d635d950b79efca54ff8995b43799d803db3d
[]
no_license
JoyceYang2018/project_flaskblog
00a5a96bb5cf535bb2c0009319730462775f0156
8596c76bc3ce7748dcaba6d8d78e0e2e42f21c1f
refs/heads/master
2022-12-15T19:03:46.168447
2018-06-02T08:14:24
2018-06-02T08:14:24
135,800,134
0
0
null
2022-11-22T02:32:28
2018-06-02T08:16:06
JavaScript
UTF-8
Python
false
false
978
py
#coding:utf-8 import smtplib import datetime from models import Reminder from email.mime.text import MIMEText from flask_mail import Message from flaskblog.extensions import flask_celery,mail @flask_celery.task( bind=True, ignore_result=True, default_retry_delay=300, max_retries=5 ) def remind(self...
[ "384381523@qq.com" ]
384381523@qq.com
7c4e06d38bcec0ab8cf210950af58101a7b2f52f
1e987bd8b8be0dc1c139fa6bf92e8229eb51da27
/util/photolib/photolib-csv.py
5b03d345efb884102370e0bb6bee17c0c47ce10e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tszdanger/phd
c97091b4f1d7712a836f0c8e3c6f819d53bd0dd5
aab7f16bd1f3546f81e349fc6e2325fb17beb851
refs/heads/master
2023-01-01T00:54:20.136122
2020-10-21T18:07:42
2020-10-21T18:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
"""A linter for ensuring that a Photo Library is organized correctly.""" import os import pathlib import sys import typing from labm8.py import app from util.photolib import linters from util.photolib import workspace FLAGS = app.FLAGS app.DEFINE_boolean("write_header", True, "Write the CSV header row.") class Csv...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
b6e2f2f1363bb8eb81ac7377d4925a5bd346d9e4
e52dc36d3c4894cb04b7cd2159869592798ac5fa
/demo0/test3/booktest/models.py
c8557ba267620c94a1bfdb81841b4e4f9b51acf9
[]
no_license
lck137/Py1904_lichaokang
26184e778a598996c52a1d2dff03ed62e3fd9538
e90048b4dbae42fa327bc8cc7937750bf2c3f052
refs/heads/master
2022-11-26T12:26:34.726156
2019-07-15T06:38:27
2019-07-15T06:38:27
194,625,303
1
0
null
2022-11-22T04:07:41
2019-07-01T07:50:55
JavaScript
UTF-8
Python
false
false
773
py
from django.db import models # Create your models here. class Bookinfo(models.Model): title=models.CharField(max_length=20) def __str__(self): return self.title class HeroManage(models.Manager): def addhero(self, _name, _content, _gender, _book): hero = Heroinfo() hero.name = _...
[ "1372199437@qq.com" ]
1372199437@qq.com
34c4d9a681c48ff93096b0ff1409aea316d9f809
d9b425f7dc5633dc76a5078be14519b5bf1de312
/text-generation2.py
14aa14dbaf7f747b8e4f9af35957bde16bb9896f
[]
no_license
joeyism/tf-text-generation
f90c7eb34b6be694b245bb051eb79c090a6b60b8
f7221f91d218264454d1db3aa1d09da6f3ca66c6
refs/heads/master
2021-07-08T05:36:05.015663
2017-10-06T03:18:45
2017-10-06T03:18:45
103,059,128
0
0
null
null
null
null
UTF-8
Python
false
false
6,203
py
import numpy as np import tensorflow as tf print("Setup") filename = './wonderland.txt' data = open(filename, 'r').read() unique_chars = list(set(data)) no_unique_chars = len(unique_chars) num_to_char = {i:char for i, char in enumerate(unique_chars)} char_to_num = {char:i for i, char in enumerate(unique_chars)} no_...
[ "sham.joey@gmail.com" ]
sham.joey@gmail.com
f6b4eed5733ebb43bff4396dafd7b8badc4164f9
ae2308622f2801e78ee4348fba2c650dcec5f340
/venv/lib/python3.6/site-packages/fixture/test/test_loadable/test_sqlalchemy_loadable.py
0205ba55df9162e695e503099931a26498e91e3a
[]
no_license
formika92/PyQtApp
425e49923312b35ef549ef58e8bf73361a54018d
460c6ba336fdb964d208585b3afab0d3ad829ea0
refs/heads/main
2023-08-01T05:33:29.130245
2021-09-12T13:22:50
2021-09-12T13:22:50
403,931,964
0
0
null
null
null
null
UTF-8
Python
false
false
18,698
py
import unittest from six import print_ from fixture.examples.db.sqlalchemy_examples import * from fixture.loadable.sqlalchemy_loadable import * from fixture.test import conf, env_supports from fixture.test.test_loadable import * def get_transactional_session(): if sa_major < 0.5: session = scoped_sessio...
[ "formika92@gmail.com" ]
formika92@gmail.com
fae323274d9df5df19c5909ba46c9c97b3b98cfc
afce5c1f6499ef73c91fcdffc8f75200bf3b71f7
/microblog/migrations/versions/45e73e1d8309_users_table.py
6e58a4e702813c1b8d29ed936149dbb7167180d6
[]
no_license
michaelzh17/flaskmega
e15d69f2d3856c157bbeafd10a1cf533f2354cd1
b2a3e6bd5bb7f24d93a79765904564f399166446
refs/heads/master
2022-12-09T20:42:21.377754
2018-11-05T16:10:17
2018-11-05T16:10:17
146,813,855
0
0
null
2022-12-08T02:59:04
2018-08-30T22:39:18
Python
UTF-8
Python
false
false
1,131
py
"""users table Revision ID: 45e73e1d8309 Revises: Create Date: 2018-09-18 12:01:15.130771 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '45e73e1d8309' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto genera...
[ "macalzhang@gmail.com" ]
macalzhang@gmail.com
d0639903d08987691bc44256257a865b8c550fa8
c69764ddde1b5338101f2d10d6281eb513c0bc4e
/api_reader/asgi.py
63f39b670f0e8a457620a9d26e416c9abfb87421
[]
no_license
mentally-gamez-soft/trains-manager-app
b51d2caa98e58bb3e3e947cc7d7f1a378b554ec0
04e4e8dc7a5af96233ac4aa8568a77546d6e26d7
refs/heads/master
2023-03-21T02:19:04.779210
2021-03-15T20:12:35
2021-03-15T20:12:35
348,110,891
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for api_reader project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "mentally.gamez.soft@gmail.com" ]
mentally.gamez.soft@gmail.com
4ce9c6dba4806b29f781d19a3fd908153c5b1fbc
83eabb30d0e3c826e02e9169c7bfa86458be5407
/reports/Krechko/5/src/lab_5_Krechko.py
9d6bc90e8f12180978814887429ff53fd06823e5
[]
no_license
kroschenko/miapr_po4_2020
1fdac30f84a3110f70b45352208eb15eb1e3824f
353314f2372735006e98720381e54a3fcffb54ae
refs/heads/master
2023-02-07T14:27:40.295206
2020-12-24T16:27:10
2020-12-24T16:27:10
295,746,775
1
44
null
2020-12-27T12:15:17
2020-09-15T14:02:51
Jupyter Notebook
UTF-8
Python
false
false
6,112
py
import numpy as np def sigmoid(x): return np.tanh(x) def dsigmoid(x): return 1 - (sigmoid(x) ** 2) # Среднеквадратична ошибка def error(y,Y): yy = y.ravel() YY = Y.ravel() return np.mean((yy.reshape(1,len(yy)) - YY.reshape(1,len(YY))) ** 2) def adaptive(errors,outputs,inputs): return np.divi...
[ "kirilkrechko@gmail.com" ]
kirilkrechko@gmail.com