blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
1b8bf4767e7e81816c259accadb336a80b752300
1a13cf55de87bf9fd7cd5911ab7bd9d9c1f88241
/tests/programscache.py
2382802032fded66be7aa14c186b0adc155ddd14
[ "Apache-2.0" ]
permissive
jeperez/winreg-kb
c59ead2d593b4ec375b77d7a9c49fbec35b9f156
a50fcfc89e3fac282f276b12fb67807ddb56ef10
refs/heads/master
2021-01-19T11:34:33.293074
2017-04-03T06:28:00
2017-04-03T06:28:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,086
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the Programs Cache information collector.""" import unittest from dfwinreg import registry as dfwinreg_registry from winregrc import collector from winregrc import output_writer from winregrc import programscache from tests import test_lib as shared_test_lib ...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
2fc9220228c1f7be5a72a6931698bff8c43fa069
f43d1ed4a7a0a89f011e21a380974f7aa94caad2
/src/vgg19net.py
e935644faa019cadb09d034a59bae8c36f3b9866
[ "MIT" ]
permissive
nirmorgo/vae-photo-masher
60b62f60cef832381eb9d353a56ed85612e5f63e
251d87d65d23ebca8a6fd4a0cc0249c310974540
refs/heads/master
2020-03-30T14:15:43.866076
2018-11-04T21:03:28
2018-11-04T21:03:28
151,309,559
1
0
null
null
null
null
UTF-8
Python
false
false
4,336
py
import numpy as np import scipy.misc import scipy.io import tensorflow as tf VGG_MODEL = 'saved_models/VGG19/imagenet-vgg-verydeep-19.mat' # The mean to subtract from the input to the VGG model. This is the mean that # when the VGG was used to train. Minor changes to this will make a lot of # difference to the perform...
[ "nirmorgo@gmail.com" ]
nirmorgo@gmail.com
fa05b68b68103da6eba41cb3eace31abf9f4ba74
4a5a39858bab54d9fe06364ecfe8edc2747b87f6
/Code Jam 2018/Round 1C/ant-stack.py
ddc1e8535674f7ccbaa880e66e31d6b637f53b28
[]
no_license
gsakkas/code-jam
d85a63c11d13ba405b9df4be1e6739ef5c5394ae
8e81a4d9b2ea11d9bbb9b3e206951a2261798458
refs/heads/master
2021-01-22T19:54:24.732574
2018-05-17T12:14:06
2018-05-17T12:14:06
85,257,349
0
1
null
null
null
null
UTF-8
Python
false
false
888
py
def read_int(): return int(raw_input()) def read_many_ints(): return map(int, raw_input().split()) def solve(n): ws = read_many_ints() large = 10 ** 100 sums = [[large] * min(139, n) for _ in xrange(n)] for i in xrange(n): sums[i][0] = ws[i] # sums = {} # sums[0] = ws[0] ...
[ "george.p.sakkas@gmail.com" ]
george.p.sakkas@gmail.com
af7343241d25adfa0239fc48d6b1c29e0fd2cfcf
360ae1188ad79e71ccc72da0b9ae709bda678f91
/ryu/services/protocols/__init__.py
340a42305b81a40727ffe472e0a96ccaa638aed4
[ "Apache-2.0" ]
permissive
faucetsdn/ryu
47b3523e7ccb381f3bdf2877a3f9f01cb1876054
d6cda4f427ff8de82b94c58aa826824a106014c2
refs/heads/master
2023-09-05T06:37:21.991029
2022-06-09T23:09:40
2022-06-09T23:09:40
2,945,007
385
215
Apache-2.0
2022-11-13T10:50:25
2011-12-09T03:43:50
Python
UTF-8
Python
false
false
682
py
# Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2013 Isaku Yamahata <yamahata at private email ne jp> # # 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 # # h...
[ "fujita.tomonori@lab.ntt.co.jp" ]
fujita.tomonori@lab.ntt.co.jp
6114b62911bc8b004342e18dd2ca4b7eaed01aaa
8bba06939a8cce6b5ecce25d15f9f9062b8206d8
/pyrelacs/NixIterators.py
31b3b33958cc313e684a0b3aa724840915e1bf49
[]
no_license
jpresern/pyrelacs
e72c82d999e5d97eaecde2eed1bee94041fe46f3
62eefec7541406eeb30d932b8a844ea5abef2fd6
refs/heads/master
2021-01-18T02:30:25.237867
2016-03-11T14:47:20
2016-03-11T14:47:20
27,421,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
from IPython import embed import nix import numpy as np def trial_iterator(multi_tag): traces = {r.name:np.asarray(r.data) for r in multi_tag.references if r.dimensions[0].dimension_type.name == 'Set'} sample_interv = {r.name:r.dimensions[0].sampling_interval for r in multi_tag.references if r.dimensions[0].d...
[ "fabian.sinz@uni-tuebingen.de" ]
fabian.sinz@uni-tuebingen.de
e6b1231d380c090b085d6fbd5dd39d9f6f7f2b19
63db68b84ce01c38ab5ebe902f1c29cae6a97c79
/crawler/test03.py
c2ff873ad378be2321918b460d14a0d5a91c4c0e
[]
no_license
f1ybird/spider-test
d590870c441222f1a9ea230808644e2ed6cd226b
7176e92fe1de8f6e8420a076d32f1b7ae800e915
refs/heads/master
2020-03-31T05:43:37.155179
2018-10-14T13:02:22
2018-10-14T13:02:22
151,956,832
0
0
null
null
null
null
UTF-8
Python
false
false
2,606
py
# !/usr/bin/python # -*- coding:UTF-8 -*- import requests from lxml import etree ''' Python爬取大量数据时,如何防止IP被封 以下是爬取猪八戒的被封IP的代码 ''' def getUrl(): for i in range(70): url = 'http://task.zbj.com/t-ppsj/page{}.html'.format(i + 1) spiderPage(url) def spiderPage(url): if url is None: ...
[ "kevin_love_it@163.com" ]
kevin_love_it@163.com
cff296cda398e409006e98b2fad275b35328f553
bad8f98c907afe26bb4e57597f8d1f91489f8bf3
/main.py
207b9df2fe66635f6e4b5135a77446b7bd745708
[]
no_license
Splagoon/ScreenCloud-Uguu
cdb103ccd1e12de6b2c8d50b88799e9ec7bf3d65
3be560eaaecb31f646d37b188c2a0187cd367529
refs/heads/master
2021-06-11T06:53:22.929986
2017-02-06T22:07:08
2017-02-06T22:07:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
import ScreenCloud from PythonQt.QtCore import QFile, QSettings, QStandardPaths from PythonQt.QtGui import QMessageBox from PythonQt.QtUiTools import QUiLoader import time, requests class UguuUploader(): def __init__(self): self.uil = QUiLoader() self.loadSettings() def isConfigured(self): ...
[ "rob@kelle.tt" ]
rob@kelle.tt
b96de974ca34505ea68a7002e1eaca1fdf7e1661
076e0ebd618ed406808e9009a70d886e8bdb1bbf
/grafeas/grafeas_v1/__init__.py
98e1ad1c8c28a4c25705f3c56a2ad03ad7d539b0
[ "Apache-2.0" ]
permissive
isabella232/python-grafeas
8edb1c3b79e51292f1612489775b51a96033049c
a806330d0f344eb0b97e351d7e5ba34b8ae9b740
refs/heads/master
2022-12-15T09:53:51.979968
2020-09-22T22:15:19
2020-09-22T22:15:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,916
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "noreply@github.com" ]
isabella232.noreply@github.com
58bf54ea5b49b65fb07e0ed13be7583dec589531
8575196670d2bb1b5fb6ef41ca165614165441c5
/app/user/tests/test_user_api.py
7b0cb57a41198dcfae30e2cd5b5caf048ea93114
[ "MIT" ]
permissive
pandey-mohan/recipe-app-api
f6a9dce807cfb0161fb62a9977139a1cba268a77
154a4289bbeeace4b84e863c5adcea57e66dbab9
refs/heads/master
2023-08-22T06:08:43.401723
2020-07-12T15:28:52
2020-07-12T15:28:52
272,213,292
0
0
MIT
2021-09-22T19:14:38
2020-06-14T14:00:38
Python
UTF-8
Python
false
false
5,012
py
from django.test import TestCase from django.contrib.auth import get_user_model from django.urls import reverse from rest_framework.test import APIClient from rest_framework import status CREATE_USER_URL = reverse('user:create') TOKEN_URL = reverse('user:token') ME_URL = reverse('user:me') def create_user(**params...
[ "mohan.pandey@telekom-digital.com" ]
mohan.pandey@telekom-digital.com
9c5ff2715749470a7b98c0feea06a408bf368b99
a7261331ed7e8b80e035c037979d0eb32b1c43ae
/tests/terraform_ci/test_strip_backend.py
e2e27fd2e15d335d757ccbbd9ecb489811859177
[]
no_license
tamaskozak/terraform-ci
d03baee25c54e7a3f391fa9041ede97209dbcb02
bc5aec0b8a5caf90e559431dbdb5e21a4032b47a
refs/heads/master
2020-08-01T08:35:00.400627
2020-04-20T04:03:54
2020-04-20T04:03:54
210,934,296
0
0
null
2019-09-25T20:26:31
2019-09-25T20:26:31
null
UTF-8
Python
false
false
439
py
"""Tests for strip_backend() function.""" from os import path as osp from terraform_ci import strip_backend def test_strip_backend(tmpdir): """Check that main.tf is copied.""" original_tf_dir = tmpdir.mkdir("original") tf_file = original_tf_dir.join("main.tf") tf_file.write("") with strip_backend...
[ "noreply@github.com" ]
tamaskozak.noreply@github.com
c7cc1d54cf51603fe23648a534d153efafdaa73b
fa351318b655b98c62b10a5f6fa675c878b4dbaa
/ck101.py
34f12b736b963b38c2e7253ee80182a6b4a202cf
[ "Apache-2.0" ]
permissive
nsdown/DriveIt
e236acdec25e6d7d82e268875a5e64b98aeb9d08
1f001c8f54bd8a864070182aec6532519b874ce4
refs/heads/master
2021-01-17T23:10:32.755938
2016-01-29T14:35:05
2016-01-29T14:35:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
from base import SharedBase import re class Ck101(SharedBase): def __init__(self, url): self.flyleaf_url = url self.flyleaf_data = self.get_data(self.flyleaf_url).decode('utf-8') def get_name(self): name = re.findall(r'<li><h1\sitemprop="name">(.+?)<\/h1><\/li>', self.flyleaf_data)[0]...
[ "admin@niconiconi.rocks" ]
admin@niconiconi.rocks
fc1bfcd8f32729a560c5de4916cce98dd96143b0
bded5c00b2d7239cc4cbc4908c125bb759ff7de4
/keras_frcnn/squeezenet.py
4987d2b28bb539ae2ca2ff8bb6f5635f6bb6179f
[]
no_license
Shiro-LK/keras_frcnn
08167039ab665cc80be2f2ed655e49acacb5b15c
4f5a75f3b0161cff4504c2f0113b3f9983ee1324
refs/heads/master
2020-03-17T09:28:52.785653
2018-07-06T19:04:11
2018-07-06T19:04:11
133,476,851
1
0
null
2018-05-15T07:26:57
2018-05-15T07:26:57
null
UTF-8
Python
false
false
9,774
py
# -*- coding: utf-8 -*- """ Created on Sun Mar 25 15:30:03 2018 @author: shiro """ from __future__ import print_function from __future__ import absolute_import import keras.backend as K import warnings from keras.applications.mobilenet import MobileNet from keras.models import Model from keras.layers import Flatten,...
[ "kunludovic@europe.essilor.group" ]
kunludovic@europe.essilor.group
ade057decffd38ff7aa4e2488f4d46cdce9592c0
1d7b91472a193718bd569b23d607b5fbc55efce9
/chapter-3.py
b1b03937da905d6c15b7dc526ccb7b2f36a00a91
[ "MIT" ]
permissive
PrateekshaRebecca/opencv-computerVision
b990f5cdd79f3adf0798535ee8015f979e63fd8d
b2446c7c99e9a7c8d06c9cfaf096140203408f4b
refs/heads/master
2023-03-20T04:52:01.434711
2020-07-03T16:47:18
2020-07-03T16:47:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,826
py
#Accessing the webcam ''' import cv2 cap = cv2.VideoCapture(0) # Check if the webcam is opened correctly if not cap.isOpened(): raise IOError("Cannot open webcam") while True: ret, frame = cap.read() frame = cv2.resize(frame, None, fx=0.5, fy=0.5,interpolation=cv2.INTER_AREA) cv2.imshow('Input',...
[ "noreply@github.com" ]
PrateekshaRebecca.noreply@github.com
07149dd3258d1a4bcf5c06dd29bf4920a2913ff3
62fba3c7fe99d29985f12d2915853c4269f5d2fc
/test/functional/feature_nulldummy.py
8c6f5d9e4d7eea4da36d75a1008353a7fd11920f
[ "MIT" ]
permissive
cnccdev/wes_coind
fe88222d5f5ac9f0b91b54d2b97e34700175c912
a15d64caa24dec050f997fe2031d518ee1d76836
refs/heads/master
2020-05-22T23:49:06.733413
2019-05-22T01:53:20
2019-05-22T01:53:20
186,550,211
0
0
null
null
null
null
UTF-8
Python
false
false
6,442
py
#!/usr/bin/env python3 # Copyright (c) 2016-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test NULLDUMMY softfork. Connect to a single node. Generate 2 blocks (save the coinbases for later). G...
[ "cncc.dev@gmail.com" ]
cncc.dev@gmail.com
263884e8abf41927260ccc9371f5b38ee469439b
cf8b3b4c1cf1325c757424a8ea54c6ee53519648
/Python/3、Tree/pre_in_Tree.py
68b92268a066f41f25fcadb58f6d64a813ddc423
[]
no_license
YeQiang1075736553/DataStructureAndAlgorithm
df7dea036dcaed6ef1ea94e7402b3f5a17cc2d8e
1d6651e49b56980c7ef44e2c679c81038db5a3f8
refs/heads/master
2020-03-26T23:43:22.890795
2018-08-21T23:18:44
2018-08-21T23:18:44
145,562,245
0
0
null
null
null
null
UTF-8
Python
false
false
3,130
py
# -*- coding:UTF-8 -*- ''' 前序序列和中序序列构造二叉树 思路: 参见 编程环境: Python3.5.2 作者: CSDN博客:https://my.csdn.net/yeqiang19910412 Github:https://github.com/YeQiang1075736553 日期: 2018.8.13 ''' class Node(): """节点类""" def __init__(self,data=None,lchild=None,rchild=None): self.data = data # 表示数据域 self.lchil...
[ "1075736553@qq.com" ]
1075736553@qq.com
a123b05a0d90ab5de3dad6be2814c36888231339
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/uzi.py
aa6e8089d0fcbff6ad8c6136fb49730dbf1ce425
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
6592fd4e7614f3aa792b9305227977f7af952754
6994917b9d22e9e15e578a0e5c75dcf4ce3cb022
/perfil/migrations/0025_auto_20200724_2157.py
e5dd79e636927224e5bd7b39a7907b3d99b39094
[]
no_license
linikerunk/rh-ticket
59ad6411a3d08c90c2704b37ba9bba67ea7f7754
bd8edd3eb1ea6cfe04fee03a4f41049a84c1e14a
refs/heads/master
2023-01-06T21:25:06.851369
2020-10-29T20:32:53
2020-10-29T20:32:53
250,346,547
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
# Generated by Django 2.2.9 on 2020-07-25 00:57 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('perfil', '0024_auto_20200724_2049'), ] operations = [ migrations.AlterField( model_name='funcio...
[ "linikerenem@gmail.com" ]
linikerenem@gmail.com
c2708ee7ab95a79f4a154cf48f91ac0a4fc2e003
9a00a586da1f78e2136e8576fe68a83664313f68
/food/users/routes.py
7c174cf83c7df5551550547ba47061a002a778b9
[]
no_license
moinmir/Food-for-Thought
b76648c2053bd21a6221c87bd562c6664d198016
1da536449dbcf91296898f2a29cba34d619d2e88
refs/heads/main
2022-12-26T02:13:35.591555
2020-10-10T18:16:10
2020-10-10T18:16:10
300,952,958
0
1
null
null
null
null
UTF-8
Python
false
false
5,010
py
from flask import render_template, url_for, flash, redirect, request, Blueprint from flask_login import login_user, current_user, logout_user, login_required from food import db, bcrypt from food.models import User, Campaign from food.users.forms import ( RegistrationForm, LoginForm, UpdateAccountForm, ...
[ "moin@princeton.edu" ]
moin@princeton.edu
bfca5740597c9e3e15c4023c95ef63b75418ae47
43950752bd0559ca04676c164e08cf398d0f28a6
/passengers/views.py
f7eb5bf0b1645e8489ef3415d38b7f5ca907ffdd
[]
no_license
Asceryx/Covoiturage
68ce7dbf10a9eed829cd81e0c9331c8d1a7cb35c
770503f5a38ab38a579fd84ef919703a2820056a
refs/heads/master
2020-12-10T00:17:19.199660
2020-04-13T14:43:53
2020-04-13T14:43:53
233,455,752
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
from django.http import HttpResponse from django.contrib.auth.decorators import login_required @login_required() def passenger(request): return HttpResponse("Main interface for passenger")
[ "jhayrault@gmail.com" ]
jhayrault@gmail.com
3aa830318348cdd53f43460df111b7d29145f640
283eb1c6c7ddbb19a0f99715ac8f4c29930de3da
/setup.py
ac5c9c4928bf978cf89b6852cf1cc9667a4b1454
[ "MIT" ]
permissive
seekingalpha/aws-roleshell
b15db53f5e0e45098c7ea11ba294f14ff6e28bff
d3c8ecbecc9019767eec4c823a2f650b229d30b4
refs/heads/master
2020-04-05T23:31:53.396744
2016-09-06T09:33:13
2016-10-09T12:08:33
52,449,900
1
0
null
2016-02-24T14:49:21
2016-02-24T14:49:20
null
UTF-8
Python
false
false
201
py
from setuptools import setup setup(name='aws-roleshell', version='0.0.1', author="Josh Snyder", py_modules=['aws_roleshell'], author_email="hashbrowncipher@gmail.com", )
[ "josh@code406.com" ]
josh@code406.com
a21dda371ce4e2c2fd2dd233af514f872d8204cd
0f2b7f4117d03a101ffb5b3646bfd7094c19907b
/Model/PyTorch/Predict Winner Model/Predict_Model.py
a2cb6b3a6e611666510e6b7c2f72f33f4df10a43
[]
no_license
antoniojkim/Ultimate-Tic-Tac-Toe-Zero
f046b82cfd6c22c59380d98f8008c5c8f5173d91
66548ae61347a9726bd888da817a22c3f5f50ba1
refs/heads/master
2021-06-09T08:43:21.700796
2021-02-06T21:07:26
2021-02-06T21:07:26
110,311,636
0
2
null
null
null
null
UTF-8
Python
false
false
4,690
py
import platform import sys if platform.platform() == "Windows": sys.path.append("..\\..\\..\\") else: sys.path.append("../../../") import torch import torch.nn.functional as F import numpy as np from numba import jit import random from UTTT import * ''' Policy Idea: Simple Artificial Neural Network with th...
[ "antoniok9130@gmail.com" ]
antoniok9130@gmail.com
58a033ee28badd70d250749748d034a404e2e97b
f1f2c5333585c650f8a5e08b3bac16e5449b1948
/puzzle/puzzle.py
b8f912847fd8628853d9a3fc072aabf2e97d8a0c
[]
no_license
AMIRmh/AI_search
7f3e8c6eb1c36807ac106e2195778ffd556eaf33
0eee90352fbe347f309ad44616aa7ead21d1da19
refs/heads/master
2021-08-20T05:24:09.203453
2017-11-28T07:49:06
2017-11-28T07:49:06
112,302,452
1
0
null
null
null
null
UTF-8
Python
false
false
2,636
py
class state: def __init__(self): self.path = [] self.val = [[] for i in range(3)] self.heuristic = 0 self.paid = 0 def full_paid(self): return self.heuristic + self.paid def __lt__(self, other): return self.full_paid() < other.full_paid() def __eq__(sel...
[ "amir.haghollahi@gmail.com" ]
amir.haghollahi@gmail.com
15261973dd39d79408de00f20eb9f216067056de
e56214188faae8ebfb36a463e34fc8324935b3c2
/test/test_hyperflex_st_platform_cluster_resiliency_info_ref.py
b4d5a1014524481f5a6bfa8835557ef078252d03
[ "Apache-2.0" ]
permissive
CiscoUcs/intersight-python
866d6c63e0cb8c33440771efd93541d679bb1ecc
a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4
refs/heads/master
2021-11-07T12:54:41.888973
2021-10-25T16:15:50
2021-10-25T16:15:50
115,440,875
25
18
Apache-2.0
2020-03-02T16:19:49
2017-12-26T17:14:03
Python
UTF-8
Python
false
false
2,123
py
# coding: utf-8 """ Cisco Intersight Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen...
[ "ucs-build@github.com" ]
ucs-build@github.com
b2e93044857996da4f7864f49e1ad69a6546cb0b
7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d
/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/aio/__init__.py
154a90083e55b0b0e6ba806098e8782f6d24a683
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.python
cc4bfbf91ae11535731cad37cedd6b733edf1ebd
a00d7aaa3753ef05cb5a0d38c664a90869478d44
refs/heads/main
2023-09-03T06:58:44.246200
2023-08-31T20:11:51
2023-08-31T20:11:51
100,315,955
47
40
MIT
2023-09-14T21:00:21
2017-08-14T22:58:33
Python
UTF-8
Python
false
false
865
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
457b3c5c3ef7b6c87f2a2cb3e30e182a396b8713
7eadfc1711278719d4f02cb506f1d1df88cc66af
/model/supervised/cnn.py
4110058df864f680190dd1ee7dbbb410a1114a2a
[]
no_license
fagan2888/Trading_by_Imitation_Learning
33a88060e45e38d83b9b0972072cc1bcddcf0bdc
0f6820609c64dd0a1e697ec2ac4566b60478025d
refs/heads/master
2020-11-30T23:06:21.280800
2019-05-16T06:27:01
2019-05-16T06:27:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,477
py
""" Train a supervised CNN model using optimal stock as label """ from keras.models import Sequential from keras.layers import Dense, Dropout, Flatten from keras.layers import Conv2D from keras.models import load_model from keras.optimizers import Adam from ..base_model import BaseModel from utils.data impor...
[ "noreply@github.com" ]
fagan2888.noreply@github.com
f728396dde2da2e70035d43cde8fbfc230b9f0e2
1c5d8e6d1fa23ee899862d1f8d5bae58897902bc
/docs/conf.py
e399d1d2f9a27c4e8a70e5d99bf696e317b344b7
[ "MIT" ]
permissive
mbe9a/EndpointPlotter
9aa4ffcd8eb64a8864caa97562c5183a8b258a56
037cf1b71c75b659b0fde48fca0c4b0eb8395fa7
refs/heads/master
2020-12-08T04:42:05.070206
2020-08-21T16:02:08
2020-08-21T16:02:08
232,888,268
0
0
null
null
null
null
UTF-8
Python
false
false
2,584
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- ...
[ "mbe9a@virginia.edu" ]
mbe9a@virginia.edu
d1b54684da8c3cac3eb4b8f014adcc67f8fb93cd
7025e8602cd7fa4632339b9716c2d7a67d03d906
/nextpage.py
78fc2bb0773debb065475dedfcb012564abaf61c
[]
no_license
Likho1969/tkinter-login
b2688de16b1dde4227b1bd19f4f130ee379b8f89
59b24a98f8276be078ba3d994832ac899391c7cb
refs/heads/main
2023-04-30T23:31:52.514144
2021-05-24T14:59:28
2021-05-24T14:59:28
370,390,331
0
0
null
null
null
null
UTF-8
Python
false
false
2,563
py
from tkinter import * # importing everything in the tkinter module from tkinter import messagebox # import the messagebox from the tkinter module root = Tk() # create window root.title("NextPage") # name the window root.geometry("600x600") # setting the window size root.config(bg="dark slate gray") ...
[ "likhokapesi04@gmail.com" ]
likhokapesi04@gmail.com
890b7cd1fdb1476cebafe5b3f330f5fda0a0a879
35498bf65ff403e05c6ffcd06c0fd980b81cc921
/web_app/app.py
2ed35dfc0613e71b2a162dfd0384d429edb8fc4d
[]
no_license
teguhteja/flask01
6cd297a054071e2dd7c8f9ece18d0a874fe20e3d
6b589001cf15217ccf9e48958a5f5924aac14a46
refs/heads/master
2020-12-15T19:02:00.135111
2017-12-15T06:42:38
2017-12-15T06:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
from flask import Flask, render_template from flask_admin import Admin from flask_admin.contrib.sqla import ModelView from models import db, Page, Menu from views import PageModelView def create_app(): app = Flask(__name__) app.config.from_pyfile('settings.py') db.init_app(app) admin = Admin(app, n...
[ "eko@monetizemore.com" ]
eko@monetizemore.com
8e962c66a9d91dae37bddea35a9bff26c992c521
7a550d2268bc4bc7e2fec608ffb1db4b2e5e94a0
/1101-1200/1110-Delete Nodes And Return Forest/1110-Delete Nodes And Return Forest.py
3219a3ad56f0c557fe3ebbf9025c4afa1c801801
[ "MIT" ]
permissive
jiadaizhao/LeetCode
be31bd0db50cc6835d9c9eff8e0175747098afc6
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
refs/heads/master
2021-11-05T04:38:47.252590
2021-10-31T09:54:53
2021-10-31T09:54:53
99,655,604
52
28
MIT
2020-10-02T12:47:47
2017-08-08T05:57:26
C++
UTF-8
Python
false
false
803
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def delNodes(self, root: TreeNode, to_delete: List[int]) -> List[TreeNode]: td = set(to_delete) result = [] def dfs(root, p...
[ "jiadaizhao@gmail.com" ]
jiadaizhao@gmail.com
4db824ca06fcb183b3cdd4afb8c1407541610ba5
d8c1f119d1349dd8ad2e48619a8c258967cd9a31
/Baekjun/Dijkstra/10282. 해킹.py
57994f6df0e2f7d52580d8b02723c1259ebd1a75
[]
no_license
Seonghyeony/DataStructure-Algorithm
c7c006ee705b68fc4d2d04dc6baaf0aeb80fc83e
4121289cafd0050bda408934fcb14d88052c956f
refs/heads/master
2023-04-12T16:30:17.039109
2021-05-08T10:31:05
2021-05-08T10:31:05
286,371,604
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
import heapq def dijkstra(graph, n, start): distances = [float('inf') for _ in range(n + 1)] distances[start] = 0 queue = [] heapq.heappush(queue, [0, start]) while queue: current_distance, current_node = heapq.heappop(queue) if distances[current_node] < current_distance: ...
[ "sunghyun7949@naver.com" ]
sunghyun7949@naver.com
a467cc78728963d989a66e2ae338212b606e652f
037d5d18b9b81205305e158d7d9fdad131d318cb
/tests/test_custom_version_base_class.py
cc5e981dbda96d06ba8914b794c8350a37b1e0a2
[]
permissive
kvesteri/sqlalchemy-continuum
ee7acf2c961b27eab3dd8f61598d9159d801ee21
a7a6bd7952185b1f82af985c0271834d886a617c
refs/heads/master
2023-08-24T09:14:33.515416
2022-11-17T05:41:09
2023-07-24T23:37:12
10,312,759
479
134
BSD-3-Clause
2023-09-12T20:07:04
2013-05-27T10:30:55
Python
UTF-8
Python
false
false
1,114
py
import sqlalchemy as sa from sqlalchemy_continuum import version_class from tests import TestCase class TestCommonBaseClass(TestCase): def create_models(self): class TextItem(self.Model): __tablename__ = 'text_item' __versioned__ = {} id = sa.Column(sa.Integer, autoinc...
[ "konsta.vesterinen@gmail.com" ]
konsta.vesterinen@gmail.com
ae0940b35e81f01bdb421943a6cebeb0d4228588
627c0492f21d5fc4a35469cf4297f53e5ef887ac
/webpersonal/webpersonal/settings.py
f955fed803bd05ff0fd117823e408d3d8160af1b
[]
no_license
rulomoscoso/django3Webs
50a278a1ceb94b9f84ae80caf5d58add208b5049
04337c45e1cba20f7c81645ab0dbd00f3cc54b96
refs/heads/main
2023-02-20T23:43:05.261057
2021-01-20T14:59:50
2021-01-20T14:59:50
329,947,011
0
0
null
null
null
null
UTF-8
Python
false
false
3,232
py
""" Django settings for webpersonal project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "raul.moscoso84@gmail.com" ]
raul.moscoso84@gmail.com
1794efdeb3c983dd7ab79c42f207bfedf837745d
adb1cab5223ecfe8643f40b846c270b072ff9912
/tests/components/isy994/test_config_flow.py
bf08e6526ba10874ec7c574d39df66d53a54b675
[ "Apache-2.0" ]
permissive
Chris-V/home-assistant
ec7e139595d0412323acad267800673d0b1545a8
7224012016b8f0965081edd546fa200902432f71
refs/heads/dev
2023-03-11T01:43:00.458758
2021-05-13T09:15:02
2021-05-13T09:15:02
72,964,787
0
0
Apache-2.0
2023-02-22T06:15:14
2016-11-06T02:08:03
Python
UTF-8
Python
false
false
13,770
py
"""Test the Universal Devices ISY994 config flow.""" from unittest.mock import patch from homeassistant import config_entries, data_entry_flow, setup from homeassistant.components import dhcp, ssdp from homeassistant.components.isy994.config_flow import CannotConnect from homeassistant.components.isy994.const import ...
[ "noreply@github.com" ]
Chris-V.noreply@github.com
526bb90dae918179636a5a32825b05ab796d9e57
f9629630eaa5367f6943aa35def2e4f3fd9aaeb2
/server/home_network.py
86e4ce0630ce15b04aae61ba921b4f3178cd68fb
[]
no_license
maxtkl/marioKart
723b5f7a4c7dccda88fd687939963bc0d25fdd84
3e55c2ad2d61228676d97637edb506f7412f2046
refs/heads/master
2020-04-16T12:12:33.680895
2019-01-14T00:15:58
2019-01-14T00:15:58
165,568,911
1
0
null
null
null
null
UTF-8
Python
false
false
544
py
from struct import pack from struct import unpack from struct import calcsize as sizeof from struct import error CONNECT_TO_CAR = 1 MOVE_CAR = 2 GET_MALUS = 3 SEND_MALUS = 4 FORWARD = 10 BACKWARD = 11 LEFT = 12 RIGHT = 13 def create_packet(op_code, data): return pack("!I{}s".format(len(data)), op_code, data.enc...
[ "noreply@github.com" ]
maxtkl.noreply@github.com
d28d63f6fdadbd9ee21a1e5ac93114fe39836063
e8bf6c148196a5a9d85f02ca6e392dbc580c9caa
/servico/migrations/0004_auto_20190728_1156.py
92fcdbcbbabbe4b29f7a152b4958fd41b1930a46
[]
no_license
elisvaldol/servicos
8cf34b4daf52f05c47286e3c4faf63418d689ca4
a6e7d164cf9a5f3aaf6058760ac76d33738f075e
refs/heads/master
2022-05-31T17:41:59.629090
2019-07-30T02:46:22
2019-07-30T02:46:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
# Generated by Django 2.2.3 on 2019-07-28 14:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('servico', '0003_auto_20190728_1121'), ] operations = [ migrations.RenameField( model_name='cliente', old_name='cpf_c...
[ "elisvaldolj@gmail.com" ]
elisvaldolj@gmail.com
5e14ac1175f45b85ceb256c7a8522a73237bc1f4
2aa84f9553a0593593afff720f7dfd8c6df3adde
/tests/test_query_parser.py
3c2d26f25e088261c212386f85d9a8ce25602370
[]
no_license
Pavel-Guseynov/sqlalchemy-searchable
c492f37e10e0e9054914af1f20cf799a58b9e8aa
6baa13193f2f2a39ba96b231ee7f88843bdd6fd0
refs/heads/master
2021-07-25T14:02:07.876195
2017-11-06T16:17:05
2017-11-06T16:17:05
109,388,493
0
0
null
2017-11-03T11:35:01
2017-11-03T11:35:01
null
UTF-8
Python
false
false
1,746
py
# -*- coding: utf-8 -*- from pyparsing import ParseException from pytest import raises from sqlalchemy_searchable.parser import SearchQueryParser class TestSearchQueryParser(object): def setup_method(self, method): self.parser = SearchQueryParser() def test_unicode(self): assert self.parser....
[ "konsta.vesterinen@gmail.com" ]
konsta.vesterinen@gmail.com
db70f690f06a6f4c0580e1bdd538a5ad29836c6b
8ea657e6fc53378038093cb5a3a914786fe98ad4
/basicConcepts.py
beea7bff13d184f854653e63a284905e9c969d74
[]
no_license
KianaAguilar/Concept_Python
2319f91ed714fb8eb9c39c1bfa8d026c6308c12d
8386e1fc092e38dfd5ef98cd088da8880508b00e
refs/heads/main
2023-02-22T00:05:49.103672
2021-01-25T01:53:35
2021-01-25T01:53:35
332,602,854
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
# como hacer comentarios? con un numeral! # print(3+2) # operadores matematicos como +,-,/,*,resto, cociente print((3+3)-5) print((6*5)/2) #operador exponenciales print(2**5) #operador de cociente print(20//4) #operador resto print(20 % 6) #Booleanos , variable de dos estados isSwitchActivated = False;
[ "58793146+KianaAguilar@users.noreply.github.com" ]
58793146+KianaAguilar@users.noreply.github.com
683dad2c7f40652de53cc3bd61a9377094975e2a
4f856a87be2ca95330416d8a1d461a03b8590674
/django_rs/rs/migrations/0004_session_number_users.py
29846dd78db4d11d0bbabcfc64273dd6f5e7cd10
[]
no_license
oscarcorreag/PhD-code
ea71f3b7cdbd0e42f9f0a141790f73b1bfdd13bb
2a1a9bb22f5cd0332f6cf8491be9fa801966e89a
refs/heads/master
2021-06-26T12:47:20.497517
2020-11-04T12:03:56
2020-11-04T12:03:56
143,695,016
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-10-19 00:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rs', '0003_sessionuser_vehicle'), ] operations = [ migrations.AddField( ...
[ "oscarcorreag@gmail.com" ]
oscarcorreag@gmail.com
645ad372e31431d01fda2367f9d0be99efc010dd
4a65275fcf23a4b881aa730ece5495956fa596ed
/venv/Scripts/easy_install-3.8-script.py
491617aed90a381b0c120e01f6785df40e3a4a71
[]
no_license
Abhijit-ops/WebApp
57f8cc5a0c48a590ac02e66da4438d2e00d1b1e1
0d9d9edaa0077a08dffbeacfa54e2380b269c025
refs/heads/master
2022-12-28T03:15:56.547527
2020-09-17T21:00:12
2020-09-17T21:00:12
296,429,182
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
#!C:\Users\Abhijit\PycharmProjects\WebApp\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.py...
[ "abhijitkalita1984@gmail.com" ]
abhijitkalita1984@gmail.com
65cc4b40f81149e478236ca1e329f99ffc8fcb82
e63c1e59b2d1bfb5c03d7bf9178cf3b8302ce551
/uri/uri_python/ad_hoc/p2456.py
fd6b70e0c37682c826aa6690b0340d8b59f32ede
[]
no_license
GabrielEstevam/icpc_contest_training
b8d97184ace8a0e13e1c0bf442baa36c853a6837
012796c2ceb901cf7aa25d44a93614696a7d9c58
refs/heads/master
2020-04-24T06:15:16.826669
2019-10-08T23:13:15
2019-10-08T23:13:15
171,758,893
5
0
null
null
null
null
UTF-8
Python
false
false
241
py
entry = input().split(" ") a = int(entry[0]) b = int(entry[1]) c = int(entry[2]) d = int(entry[3]) e = int(entry[4]) if a < b and b < c and c < d and d < e: print('C') elif a > b and b > c and c > d and d > e: print('D') else: print('N')
[ "gabrielestevam@hotmail.com" ]
gabrielestevam@hotmail.com
20dc5890b9b93d045ce94089c746abe19eb71702
8a526c3f6d3eedfd309a17d1fbf185385e779472
/字典和集合/字典/带计数的字典.py
bb80bfbea08e99481799da3ef0a8e77e8778a5f9
[]
no_license
link9c/FluentPython
a8eda93a27f3dd4e0cdb7c6ac76a2a3eceb03d5a
059c9dfeff0115a2361a6ff4bc4ea24ab9113a5f
refs/heads/master
2020-11-28T05:19:35.959694
2019-12-26T13:51:41
2019-12-26T13:51:41
229,714,580
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
import collections ct = collections.Counter('abcdeeaa') print(ct) ct.update('aaa') print(ct) print(ct.most_common(2))
[ "chenyulei@MicroPort.local" ]
chenyulei@MicroPort.local
2555d67c9356f76316ca075fb7052e0bc3678ccc
0c43ae8365998144ebc23156c12768711114e6f9
/web_flask/4-number_route.py
1aa7ec504db5b6beaf7e14f834086abdbf92165a
[]
no_license
Nesgomez9/AirBnB_clone_v2
74e343ade1c418b49c8ebaee79f6319f8e971ff6
055c4e92c819fd0e9dec369e687c1601f243f02c
refs/heads/master
2021-05-19T12:50:35.656686
2020-04-23T03:33:41
2020-04-23T03:33:41
251,707,487
0
2
null
null
null
null
UTF-8
Python
false
false
746
py
#!/usr/bin/python3 from flask import Flask app = Flask(__name__) @app.route("/", strict_slashes=False) def hello_route(): return "Hello HBNB!" @app.route("/hbnb", strict_slashes=False) def hbnb_route(): return "HBNB" @app.route("/c/<text>", strict_slashes=False) def c_route(text): text = text.replace(...
[ "nicolico99@hotmail.com" ]
nicolico99@hotmail.com
e1fee3842a2ba41bf122a82af2236ea8f8fad717
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/v_sniper/sniper-master/cron.py
39485faf71647c6676d5605dd32b483c4befdc2b
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
3,777
py
#!/usr/bin/env python """ This represents the cronjob that runs to check for course openings""" from flaskext.mail import Message import urllib from models import db, Snipe from soc import Soc from app import mail, app import datetime from collections import namedtuple soc = Soc() EMAIL_SENDER = "Course Sniper <snip...
[ "659338505@qq.com" ]
659338505@qq.com
18376e8e4a3c1295d113d89e9a7f184fafa79207
48e3facc2aca286beae29d9f3fe8713c0a603064
/insertSubcommentReaction.py
083d2087bb05685f37391e3b7c0a7a1d6e2f8023
[]
no_license
marie-elia/facebook-mongodb-database
84011bece0a5b459d297ce88d5921376f019ad35
fb804a10478e84144852c26a913def2a8e53b4be
refs/heads/master
2020-07-28T13:39:47.188011
2019-09-19T00:24:29
2019-09-19T00:24:29
209,427,311
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
import datetime import pymongo from pymongo import MongoClient from bson.objectid import ObjectId client = MongoClient() client = MongoClient('localhost', 27017) db = client.facebook.accounts id = "firstpost" number1 = { "name" : "Marie Elia", "pics.img_id": "firstimage" } number2 = { "...
[ "noreply@github.com" ]
marie-elia.noreply@github.com
e4f5036c71ab319072332f4c65c6f40154c2c1c7
54d408d9be3a99f2d2f02c48fd092e96eb267e6f
/src/Libraries.py
62ceb49d25e199b77158fa871e05513295e22d23
[]
no_license
liipeandre/pacman
b2a73eb1c25076c9c69f3b388059f4d8f9b8b907
aba31e90195902abd56db5fc5b72f959398b56b1
refs/heads/master
2023-04-01T14:19:51.693538
2021-04-08T21:13:06
2021-04-08T21:13:06
151,121,246
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
# blbliotecas utilizadas from pygame import * from random import shuffle, choice from os import system, environ from typing import * from threading import Thread from numpy import *
[ "andrefelipepereira@hotmail.com" ]
andrefelipepereira@hotmail.com
782877b0172ab41578299f3423b6a6d8d69965e9
fccffc0de27d30fc508201bcac5ecb189c109075
/portfolio/admin.py
014c4d41db0297d16a868e5804aec42da57d2b82
[ "MIT" ]
permissive
robalford/ahi_django
7fa847a73fc5fa0f5d822c751b19992dc049d1dd
3e32be3a90140774c34f29f9f907e8217afe788b
refs/heads/master
2021-06-13T10:22:18.496744
2017-02-12T23:14:58
2017-02-12T23:14:58
80,779,352
0
1
null
null
null
null
UTF-8
Python
false
false
1,371
py
from django.contrib import admin from imagekit.admin import AdminThumbnail from .models import LandingPage, AboutPage, Project, Photo, Press class LandingPageAdmin(admin.ModelAdmin): admin_thumbnail = AdminThumbnail(image_field='thumbnail') list_display = ('__str__', 'admin_thumbnail') readonly_fields =...
[ "robertsalford@gmail.com" ]
robertsalford@gmail.com
8952aa9f1b61af489e11144d5f44fa1ef4518d3c
962d42197c56346d348d334dd7435224d4aed99d
/Inventationery/apps/Inventory/migrations/0012_auto_20151227_1216.py
fbed11045d9ab2d771817012eb1c4368885e13e6
[ "BSD-3-Clause" ]
permissive
huarmenta/Inventationery
e5750274c0b281208fa1f33590f0402349f7e8da
1bf9ee2c56492ab66947886590b7ec17fa3a6195
refs/heads/master
2021-05-30T08:31:15.368712
2016-01-06T03:23:45
2016-01-06T03:23:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,732
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Vendor', '0001_initial'), ('Inventory', '0011_auto_20151226_2308'), ] operations = [ migrations.CreateModel( ...
[ "h.alexarmenta@gmail.com" ]
h.alexarmenta@gmail.com
f10137f2cd422b97ed7dcd9b1260ef629779f649
5638b76686262e5c9f1a8540de83dcd7a17d61f3
/api/urls.py
e37f1ce62c302e9860ffd98a53313287600b2c99
[]
no_license
whitehat0917/test-rest-api
0802e66611018073ac3bfd1f5c8849fbaa4f5281
e3a4d3f158c3e282246eea5a6ddd4a95a76f99a1
refs/heads/main
2023-03-29T06:26:09.320138
2021-03-29T15:35:40
2021-03-29T15:35:40
352,693,715
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'users', views.users, name='index'), ]
[ "whitehat0917@gmail.com" ]
whitehat0917@gmail.com
f044e21b7decd864e43dd31f8936ab2b0969a9aa
0ae22471220c5a2a0810d3034fea34aa8b033419
/PE_Analysis.py
8398f3dcc164f52911c1561183b1ab9bf7e791eb
[]
no_license
PepperYouth/PE_analysis
136e89229bb18e1f3eabfa4f14f6f733429e61a9
8d2b6c219e1bf969a8edf75fdcd3550dada62491
refs/heads/master
2022-12-05T09:59:26.385609
2020-08-26T09:51:04
2020-08-26T09:51:04
132,348,241
0
0
null
null
null
null
UTF-8
Python
false
false
5,539
py
import sys import collections def PrintALL(dic): print(dic['name']+':\n'+'_'*56) n = 0 for i in dic['data']: sys.stdout.write('%02X' % ord(i) + ' ') if (n+1)%8 == 0: sys.stdout.write(' ') if (n+1)%16 == 0: sys.stdout.write('\n') n += 1 sys.stdout...
[ "591772502@qq.com" ]
591772502@qq.com
56f367f795975a518e9c881a9cacb28fbc13c280
9d59088bb0fd2827aa3d4ecde4ed38184d74f25b
/basic_learn/hello.py
936190aae461ee4f7be2f74409dc4247b949a488
[]
no_license
mrwangsg/py_test
1de1f9b141b1ccb3da18e19366455a2ec1e74de9
80674801da595e48549d72b1c35fdbfee480c9eb
refs/heads/master
2022-11-10T11:22:55.176884
2018-01-21T14:13:02
2018-01-21T14:13:02
115,670,652
0
1
null
2022-10-25T08:58:50
2017-12-29T00:36:48
Python
UTF-8
Python
false
false
25
py
print("hello, 敏敏!")
[ "wangsg2@yonyou" ]
wangsg2@yonyou
ba8d9cd4e406de9132641c870ee69edbd84913a0
cdc2a429197daab83d64072a5132d30b4ff273d0
/gridworld.py
5180492981bb77e57720b978d5f64a0d4034da00
[]
no_license
gopeshh/Deep-Reinforcement-Learning
a4daf6959d94b423499203a1b90d71587a02e917
f9a68e6120a27c455fd37352d11e05b1206f0da7
refs/heads/master
2020-08-30T07:37:40.631184
2019-10-29T14:36:19
2019-10-29T14:36:19
218,307,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
from __future__ import print_function import numpy as np import time start_time = time.time() WORLD_SIZE = 20 REWARD = -1.0 ACTION_PROB = 0.25 world = np.zeros((WORLD_SIZE, WORLD_SIZE)) # left, up, right, down actions = ['L', 'U', 'R', 'D'] nextState = [] for i in range(0, WORLD_SIZE): nextState.append([]) ...
[ "noreply@github.com" ]
gopeshh.noreply@github.com
8563f1c564497428eb080f5585823d7eef26080c
fbda8e738aa75dd0bb3a6b0f323f7279ff231c32
/base/web_driver_factory.py
0a7d4196c9ef25849cd814877039a5b15c79591f
[]
no_license
prtv23/Psmi
ccc40c95796d1fcac037baf5701f70ef44ba491b
cdd59484210ecee3a69ff830ec9ac09495799301
refs/heads/master
2021-02-07T10:08:30.380803
2020-05-08T15:24:18
2020-05-08T15:24:18
244,012,841
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
from selenium import webdriver import os class WebDriverFactory: def __init__(self, browser): self.browser = browser def get_driver_instance(self): # choose the baseURL base_url = "http://50.108.46.90:6080/" # browser driver path Firefox & Chrome cur_work_dir = os.g...
[ "prithlak@gmail.com" ]
prithlak@gmail.com
58aff4c1de4e599bea863f9887eb8a58999e695c
62dc209888fef3c5c4f822bb0846df536d5b1949
/octoprint_anywhere/utils.py
bc051ad25cb1272812c0af0d194f48c39f89e332
[ "MIT" ]
permissive
luttapy/OctoPrint-Anywhere
c2bbb8675c397ff59b31259fb9f3bca34b92562c
05c8b6b92a600fc28ac4206efe63fc67c7aae2c5
refs/heads/master
2020-03-31T22:24:35.991077
2018-10-04T00:00:54
2018-10-04T00:00:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
# coding=utf-8 from __future__ import absolute_import def ip_addr(): ip_addresses = [] try: from subprocess import check_output ip_addresses = check_output(['hostname', '--all-ip-addresses']).split() except: pass import socket s = socket.socket(socket.AF_INET, socket.SOCK_D...
[ "kenneth.jiang@gmail.com" ]
kenneth.jiang@gmail.com
3119ea6af239d63712279b5d9972ab77083b0507
d906b38849fcb8eb26dc584dfb03d9ed5a133abb
/pendulum.py
cdc8f0dcaa2b2591c1eb4e512b073da368453a54
[]
no_license
basicmachines/sim-dynamics
dd5213f10b7a8bbc325e492b41714ceee45e0c1c
3430651a5b684ecca4a0ceb282213070f379c2fd
refs/heads/master
2020-03-08T14:11:40.689788
2018-04-10T05:53:21
2018-04-10T05:53:21
128,178,397
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
#!/usr/bin/env python """Dynamic simulation of a pendulum. """ from pygame.locals import K_z, K_x, K_c, K_b, K_n, K_m from simulator import Simulator # Import the model you want to simulate from models import Pendulum # Import the controller(s) you want to simulate from controllers import PIDController, KeyboardInp...
[ "bill.tubbs@me.com" ]
bill.tubbs@me.com
042595c5cf1ec0ffd2c74728f0032e11e1534636
778092d2415fb6e812790c45e9e02f7572ef78e7
/data-node.py
d861638e98c5f70eb542e929767de001bc9a71df
[]
no_license
JpGallegos/simple_dfs
0ea0302ab2edb393eee2bd3f5fa0e712dcf7a9f9
8e7066bf8799d3c359f3b6a0cc6c7556ff29a76b
refs/heads/master
2016-09-11T06:14:35.071906
2014-12-12T17:55:10
2014-12-12T17:55:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,830
py
############################################################################### # # Filename: data-node.py # Author: Jose R. Ortiz and ... (hopefully some students contribution) # # Description: # data node server for the DFS # from Packet import * import sys import socket import SocketServer import uuid import os i...
[ "jp.gallegos.diaz@gmail.com" ]
jp.gallegos.diaz@gmail.com
45c47b7c35fa0ce608bf392a516ea7c7190e9edc
ea0d8c98f2edadac853d7b42de8e243c2ee9ed1e
/minesweep/layout.py
4563db0a1a8bac7c32f16d9e4ad0491fe45a853c
[]
no_license
fxs123456/Artificial_Intelligence
e790fda357c4ee6c804c74946cb6932f06052dc7
3cd746120a0da69d939da9f2484e7c3a6487cca9
refs/heads/master
2020-04-03T19:39:47.169315
2020-03-06T14:38:59
2020-03-06T14:38:59
155,530,623
1
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
from tkinter import * from tkinter.messagebox import * import minesweep class Layout: def __init__(self): self.MAP_WIDTH = 10 self.BOMBS_NUM = 10 self.frame = Tk() self.frame.minsize(300, 200) self.frame.title('layout') self.createWights() self.frame.mainloo...
[ "913239973@qq.com" ]
913239973@qq.com
16eb4f0e51d45f39b17d70bcf2a407765c928ad8
5bd4893a793ed739127f15becd9558cacf461540
/scripts/hit_endpoint.py
b86fbea7d7419186ef9c482e8f1b00b6d7f17c8a
[]
no_license
hauensteina/ahn-repo
d3aa665eeef846e426b866d587e8649c8283e74c
93bd7c54548a083f39510fc562c9e7540c4f672a
refs/heads/master
2023-07-24T05:34:51.289699
2023-07-13T16:10:25
2023-07-13T16:10:25
99,860,476
0
1
null
2023-07-15T01:33:35
2017-08-09T23:20:28
Python
UTF-8
Python
false
false
739
py
#!/usr/bin/env python # Python 3 script hitting a REST endpoint # AHN, Jun 2019 import requests from pdb import set_trace as BP URL = 'https://ahaux.com/leela_server/select-move/leela_gtp_bot?tt=1234' ARGS = {'board_size':19,'moves':[],'config':{'randomness':0.5,'request_id':'0.6834311059880898'}} #------------- de...
[ "hauensteina@gmail.com" ]
hauensteina@gmail.com
073d927bf2d53a5643dc50ffb5497163554adf63
28bf56eb5f37414d034e2744a12fe7be1c34b6b7
/Zadania Programowanie/4. Miejsca zerowe trójmianu.py
52305a8b71b55ed4335e33545f552c17c967e275
[]
no_license
lucjaesterastaniek/Zaliczenie---programowanie-
9c25f770e43e4a9b290c0bc0ca5005c3476a3be4
a5feffb18b6b64686ffa74fc5a5cd93e020c31c6
refs/heads/master
2020-12-22T14:27:18.336510
2020-01-28T20:17:19
2020-01-28T20:17:19
236,822,690
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
print ("Ten program znajduje miejsca zerowe trójmianu kwadratowego.") print ("Jeśli twój trójmian zapisany jest w postaci: a * x^2 + bx + c = 0") print ("Podaj a:") a=int(input()) print ("Podaj b:") b=int(input()) print ("Podaj c:") c=int(input()) delta = (b**2) - 4*a*c if (delta > 0): x1 = (-b + ...
[ "noreply@github.com" ]
lucjaesterastaniek.noreply@github.com
552ac5116d0dbc29272076004d4a9b916cb2a96e
a9fc496e0724866093dbb9cba70a8fdce12b67a9
/scripts/field/q59000_tuto.py
5925ba6e70b43edd7737755c40baf93619dad4ae
[ "MIT" ]
permissive
ryantpayton/Swordie
b2cd6b605f7f08f725f5e35d23ba3c22ef2ae7c0
ca6f42dd43f63b1d2e6bb5cdc8fc051c277f326e
refs/heads/master
2022-12-01T09:46:47.138072
2020-03-24T10:32:20
2020-03-24T10:32:20
253,997,319
2
0
MIT
2022-11-24T08:17:54
2020-04-08T05:50:22
Java
UTF-8
Python
false
false
1,222
py
# Arboren : Stump Town if not sm.hasQuest(59000): # The Town Prankster if not sm.hasQuestCompleted(59000): # The Town Prankster sm.removeEscapeButton() if sm.sendAskYesNo("Would you like to skip the tutorial cutscenes?"): #todo add after skipping tutorial sm.dispose() ...
[ "thijsenellen@outlook.com" ]
thijsenellen@outlook.com
ec7fa1f86c2a000110ed3e35ad2f81201ff443b7
cb062c48280311134fe22573a41f9c4d6631b795
/src/xm/core/txs/multisig/MultiSigVote.py
a05b6202d10dcb74e58f0c5ec2605ebb1c0396e9
[ "MIT" ]
permissive
xm-blockchain/xm-core
da1e6bb4ceb8ab642e5d507796e2cc630ed23e0f
2282b435a02f061424d656155756d8f50238bcfd
refs/heads/main
2023-01-15T19:08:31.399219
2020-11-19T03:54:19
2020-11-19T03:54:19
314,127,428
0
0
null
null
null
null
UTF-8
Python
false
false
6,528
py
from pyxmlib.pyxmlib import bin2hstr from xm.core.State import State from xm.core.StateContainer import StateContainer from xm.core.misc import logger from xm.core.txs.Transaction import Transaction from xm.crypto.misc import sha256 class MultiSigVote(Transaction): """ MultiSigSpend for the transaction of xm...
[ "74695206+xm-blockchain@users.noreply.github.com" ]
74695206+xm-blockchain@users.noreply.github.com
2c8dac7180c8c32bed7b659ef471e00ce7431b22
7daadc7fe1c7276fd4b2cf253d04f18b51baab13
/src/emotion.py
ad7b3fcbc14482b028c35b36d09a96973b109f21
[]
no_license
Pbatch/FacebookEmotions
bb21a286115909f67eb48034db83e254d3ba2af2
f54edb929de8f1efc9d356385ef244ccfe48ece8
refs/heads/main
2023-02-25T13:14:45.608964
2021-02-04T18:13:45
2021-02-04T18:13:45
336,028,787
3
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
from transformers import BertTokenizer from model import BertForMultiLabelClassification from multilabel_pipeline import MultiLabelPipeline from tqdm import tqdm class Emotion: def __init__(self, threshold=0.8, batch_size=5): self.threshold = threshold self.batch_size = batch_size self.mod...
[ "peter_batchelor1@hotmail.com" ]
peter_batchelor1@hotmail.com
2c1f894ce32d930a564aa1411b74807e59aa783e
4803130273c8eaf06485fb8db309c15732037104
/3rdday/mysite/mysite/settings.py
82f5a169df7fec921807c5066b7bd362dd84680e
[]
no_license
imimran/django-practice
b385650495c11880cf202d300caefe5172e7682c
7307855ca0906e05f4710323175f6fb8a13d074c
refs/heads/master
2021-09-12T17:59:01.846483
2018-04-19T14:30:47
2018-04-19T14:30:47
113,576,619
1
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # Bu...
[ "engr.aih@gmail.com" ]
engr.aih@gmail.com
35bf4c7a9b21ab23ef52b6c6f0f8175b0648633a
61afd923551491846ae827821f55c4fb5fd04c98
/packages/levylab_lib_levylab_instruments/levylab_lib_levylab_instruments-1.4.2.53.spec
04f92bcc228f4e1c73706452894072f1ab9ff991
[ "BSD-3-Clause" ]
permissive
laserengineer/levylabpitt.github.io
b74b711aff2a5eb1b46f880a1071ac0873f1a9ac
cdf9aeb6faaf136211291ce2232c239229d85bbe
refs/heads/master
2023-04-29T02:36:48.736236
2021-05-14T19:20:40
2021-05-14T19:20:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,436
spec
[Package] Name="levylab_lib_levylab_instruments" Version="1.4.2.53" Release="" ID=26edd37d85e86c8ffd7cf08a57fa4313 File Format="vip" Format Version="2017" Display Name="Instruments" [Description] Description="Abstract instrument.lvclass" Summary="" License="BSD-3" Copyright="Copyright (c) 2020, Levylab" Distribution=...
[ "p.irvin@levylab.org" ]
p.irvin@levylab.org
d742b93351c54cfb4adc14548d05f3ad528ce73b
f13e28c12c3bc56b44b952d80b67cc5579cfb50a
/source/validation.py
de230416f125ad9a138d9e8308da5e01f4f9761e
[ "MIT" ]
permissive
Julia-chan/ml_engineering_example
e805298a729f1a17235b50ad4831c1c89acba3c8
29d05b7046e74b2848816e4c71de942d9497139a
refs/heads/main
2023-04-26T01:10:07.594564
2021-05-27T12:21:46
2021-05-27T12:21:46
370,355,827
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
def month_hardcode_split(pandas_df, month_column='month_n'): max_month = pandas_df[month_column].max() pandas_df_copy = pandas_df.copy() train = pandas_df_copy[pandas_df_copy[month_column] < max_month] test = pandas_df_copy[pandas_df_copy[month_column] == max_month] return train, test
[ "yaantok1@mts.ru" ]
yaantok1@mts.ru
073109a1808364b51f6c6f0eca2a28dead822370
1045a1b49c91ba6b57c2f82fbb6b70ee74e8fa0f
/ApiAutoTest/utils/__init__.py
e12566fb0e8390d3e5390aae969517548a3c0118
[]
no_license
NewDragonZhong/AutomationTest
acd3fd861971d23f60703126f2c42f7f6663ccc1
7636ed8c6e0260c7c1b8937599c597ab9a152802
refs/heads/master
2020-07-28T02:27:31.861430
2019-10-16T07:30:38
2019-10-16T07:30:38
209,280,237
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# -*- coding: utf-8 -*- #@Time : 2018/5/3 14:44 #@Author : chenjinlin #@Email : chenjinlin@bbdservice.com #@File : __init__.py #@Software: PyCharm
[ "change@qq.com" ]
change@qq.com
fe7ec225c5974261c1e5b62ab61c82217aea3869
50435cc917161e9feaf3bf4c4034dec317827b15
/Comb.py
44fbe5a67f25537a177bb7f56009cde982c30973
[]
no_license
MirzaRaiyan/Program-For-Comb-Sort.py
a679f6b2a62c1a6b8704049205dff2c001e4160a
f3ca97bd54f7c35230ed7104c92c32061ee69686
refs/heads/main
2023-02-16T19:39:53.765818
2021-01-17T09:10:48
2021-01-17T09:10:48
330,352,379
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
# Python program for implementation of CombSort # To find next gap from current def getNextGap(gap): # Shrink gap by Shrink factor gap = (gap * 10)/13 if gap < 1: return 1 return gap # Function to sort arr[] using Comb Sort def combSort(arr): n = len(arr) ...
[ "noreply@github.com" ]
MirzaRaiyan.noreply@github.com
ec75d5d8759e948bbae77fefe5d6d84140b13b9d
066c0043afd9f8f2a0178f1864dc5169e1930d05
/house/migrations/0027_house_favorite.py
b5b71cb8af083c9b1a7057a9a7a832b7747f8478
[]
no_license
okcenmmustafa/DjangoProject
1941cfda4fd8c7a8e8ac60b7ac6b6a4876da25b7
b6a210417021a03b8884ece337b7c74919579db0
refs/heads/master
2022-09-02T20:47:31.281567
2020-05-26T13:44:45
2020-05-26T13:44:45
251,619,107
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# Generated by Django 3.0.4 on 2020-05-25 00:02 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('house', '0026_auto_20200525_0009'), ] operations...
[ "mustafaokcen@gmail.com" ]
mustafaokcen@gmail.com
9cb7715468af782c612db7ce54ca692ec0455255
dc1a3796c97438a9e62325ab928e81eea052aca0
/spam_classifier/runMLModels.py
4424df6b0b8040e8da57d509729e5655b277265e
[]
no_license
Prajakta16/Spam-email-classifier
e3ae6b9c43357b8f8809a2efb327c979a376548c
9c37f63d30064c85b76493a77b2526fc6934f0a6
refs/heads/master
2022-12-13T20:07:41.446703
2020-09-17T22:57:37
2020-09-17T22:57:37
296,344,168
1
0
null
null
null
null
UTF-8
Python
false
false
2,331
py
from pandas import np from sklearn.linear_model import LogisticRegression from sklearn.metrics import roc_auc_score from sklearn.tree import DecisionTreeClassifier from sklearn.naive_bayes import MultinomialNB from getTrainTestData import prepareTrainingDataPart1, read_data_from_ES from getTrainTestData import prepare...
[ "prajakta@Prajaktas-MacBook-Pro.local" ]
prajakta@Prajaktas-MacBook-Pro.local
23fc787c792a031893f18ff36949854abf5f4aa8
ed5758e192cc608f5e00ef0028b94c8d7b7a34f2
/GIBSDownloader/tile.py
3305ff71944125bf720b7a93cf6b3d02355e63e3
[]
no_license
bigdatasciencegroup/GIBS-Downloader
8757557038548a2efa3f3c73ffbb767a642a90e6
707aac63a53800200ab70a92a4ec66df13b962fc
refs/heads/main
2023-08-03T09:45:35.105815
2021-09-21T14:46:54
2021-09-21T14:46:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
# Stores tiling information class Tile(): def __init__(self, width, height, overlap, handling): self.width = width self.height = height self.overlap = overlap self.handling = handling
[ "flisboa@fnal.gov" ]
flisboa@fnal.gov
57719b6c5d96224d88bb804591da97a639e2342e
e0a243c3302bad31a31d18aac7e77290fc94f1ff
/MySpider/MySpider/items.py
f9bf3b8869ad9645d1aa279e63eb37a949d5a944
[]
no_license
SibasisDash/Webscrape-Build-API
f36d57dcb1f9e5357c1b1564336e3f5dc547db74
9fb03c0b2f2330e9ede6a5587b2756fedaea28cf
refs/heads/master
2022-12-14T23:27:08.363468
2020-09-23T13:16:17
2020-09-23T13:16:17
297,968,020
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class RedditItem(scrapy.Item): ''' Defining the storage containers for the data we plan to scrape ''' date = scrapy.Field() da...
[ "sibasis@LAPTOP-7GC8JEUG.localdomain" ]
sibasis@LAPTOP-7GC8JEUG.localdomain
b5aa9f19a9d125eb3707e06d131800bfce86c1d8
50be5bf642b14bc04a1bccb087468eb708016bbf
/kili/mutations/label/__init__.py
d2a4cfd8920037072dd4a1edb70797896035b733
[ "Apache-2.0" ]
permissive
marcenacp/kili-playground
706ac55d3e83da60fb15c6fabafe18b1bb53c002
d3a711d1908725d127cc99ceb504301482bf41d8
refs/heads/master
2022-04-20T09:33:58.662465
2020-04-10T15:54:29
2020-04-10T15:54:29
254,937,647
0
0
Apache-2.0
2020-04-11T19:13:51
2020-04-11T19:13:50
null
UTF-8
Python
false
false
2,837
py
from json import dumps from typing import List from ...helpers import format_result from .queries import (GQL_APPEND_TO_LABELS, GQL_CREATE_HONEYPOT, GQL_CREATE_PREDICTIONS, GQL_UPDATE_LABEL, GQL_UPDATE_PROPERTIES_IN_LABEL) def create_predictions(client, project_id: str, ex...
[ "edouard@kili-technology.com" ]
edouard@kili-technology.com
a1aadb6d641395324d851879b73a6b06411f9e31
49c65ec1525873452d3dd2c9a08021124e89ab67
/usb_video.py
b22e170c709875a0e562bb7760d8b96a693f8cd3
[]
no_license
heyiheng1024/SimpleFaceRec
2f170f712045e53126a84e96396c20b19916df13
c4c0a01cbde3b520d07f726f0173fa6d42ea986f
refs/heads/master
2020-09-17T10:07:26.009782
2019-11-26T01:57:40
2019-11-26T01:57:40
224,072,179
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
#coding utf-8 import cv2 import sys #视频流来源(摄像头or本地视频) cap = cv2.VideoCapture("迪丽热巴.jpg") # cap.set(cv2.CAP_PROP_FRAME_WIDTH, 720) # cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 480) #人脸分类器 classfire = cv2.CascadeClassifier("Classifier/haarcascade_frontalface_alt2.xml") #颜色BGR blue = (255,0,0) green = (0,255,0) red = (0,0...
[ "noreply@github.com" ]
heyiheng1024.noreply@github.com
75528b21f1eac2877ca966946d1370e81593004b
05c6b9f1f769ff359b757a913e0d43aeb1dfb9c6
/hcf.py
f5cd7c9c45512a220634fefb6a6049cfbdbaad6c
[]
no_license
samarthchadda/pypi
bc92c0f7086ead65cb7242f7ea827470817a3b55
0c3308be995c8952c8db6b56aae46e58722d4d82
refs/heads/master
2020-04-01T16:48:13.337978
2018-11-04T10:17:59
2018-11-04T10:17:59
153,399,057
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
def computeHCF(x,y): if x>y: smaller=y else: smaller=x for i in range(1,smaller+1): if((x%i==0) and (y%i==0)): hcf=i return hcf num1=int(input("Enter first number:")) num2=int(input("Enter second nunber:")) print("H.C.F of",num1,"and",num2,"is",computeHCF(num1,num2...
[ "samarthchadda@gmail.com" ]
samarthchadda@gmail.com
74642e8877743f8591bc0e8ec061ab3c92d67f5a
6a803f0be359651a68107ccc2452be58e178d54b
/test/test_tojson.py
ba97f228529b58dca993c52a07690caadab47f87
[ "MIT" ]
permissive
pombredanne/javaproperties-cli
14c8a067ec8a4af6bb8ac25e64117fafb7e0238e
192f96a9ffa504ed3c0fd9636f7a321b65f8cad4
refs/heads/master
2020-12-25T18:42:39.656917
2017-05-17T13:10:48
2017-05-17T13:10:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,347
py
from click.testing import CliRunner from javaproperties_cli.tojson import properties2json def test_properties2json_empty(): r = CliRunner().invoke(properties2json, input=b'') assert r.exit_code == 0 assert r.output_bytes == b'{}\n' def test_properties2json_comment_only(): r = CliRunner...
[ "git@varonathe.org" ]
git@varonathe.org
8ba38a6f5ef8558650a4ba5c6605d6a09cbf9ae5
860aa5bf3e9bd4de9d9b1d6826663e95c4363d0e
/Python/DynamicProgramming/LongestPalindromicSubSeq.py
6d1f4b846479d46c4c6dcc0fe7b1c35c24a4a9de
[]
no_license
anirudh-deshpande/Old-Programming
e0e72e691ac094bdcc5180d3777010121f03b9ae
c5a1d9513264ebfe699af304b054ce9e477d04d9
refs/heads/master
2020-12-11T05:23:59.157076
2016-04-08T01:04:57
2016-04-08T01:04:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,142
py
__author__ = 'Anirudh' # Recursive def LCSRec(s1,s2): l1 = len(s1) l2 = len(s2) ret = "" if l1 is 0 or l2 is 0: return ret if s1[l1-1] is s2[l2-1]: ret=s1[l1-1]+LCSRec(s1[0:l1-1],s2[0:l2-1]) else: l1rem = LCSRec(s1[0:l1-1],s2) l2rem = LCSRec(...
[ "deshpana@usc.edu" ]
deshpana@usc.edu
32ff723e88cc0136c0d4eff75b81dc9ae0a3acb7
91100e58fb55b1a0f17f4e0bf4d1be2430f910ef
/numpy_exercises.py
0b5d8df1d8fc2e6524349fe95337334d0a76875b
[]
no_license
mdalton87/numpy-pandas-visualization-exercises
54c0b964477d7e1dde2c59710160b5c6dfd53923
429794f30bbd755d35c3bebc48adae9236acb98d
refs/heads/main
2023-04-25T22:20:57.307144
2021-05-02T12:31:58
2021-05-02T12:31:58
331,115,779
0
0
null
null
null
null
UTF-8
Python
false
false
8,371
py
import numpy as np a = np.array([4, 10, 12, 23, -2, -1, 0, 0, 0, -6, 3, -7]) # 1. How many negative numbers are there? len(a[a < 0]) # 2. How many positive numbers are there? len(a[a > 0]) # 3. How many even positive numbers are there? a_pos = a[a > 0] len(a_pos[a_pos % 2 == 0]) # 4. If you were to add 3 to ea...
[ "matthew.w.dalton@gmail.com" ]
matthew.w.dalton@gmail.com
5f7c0cdac07becdf70d55f1915794e2a91b1e177
8c51aff248eb6f463d62e934213660437c3a107b
/django_project/users/views.py
fe5316a90de09acd0372252d67941f52e802b19c
[]
no_license
wonjun0901/WJ_Develop_Individually
5f839932c189adf2b2b34f7dadbdeaa8744f8d0e
e0402f5dbdda8ae8292cace124d381e29f707183
refs/heads/master
2021-01-02T00:13:38.851832
2020-02-18T01:10:15
2020-02-18T01:10:15
239,406,395
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
from django.shortcuts import render, redirect #from django.contrib.auth.forms import UserCreationForm from django.contrib import messages from .forms import UserRegisterForm def register(request): if request.method == 'POST': form = UserRegisterForm(request.POST) if form.is_valid(): fo...
[ "wonjun0901@gmail.com" ]
wonjun0901@gmail.com
e82585fce52c800d045ff51b94242a83f0126930
653a3d9d66f3d359083cb588fc7c9ece8bb48417
/test/runtime/frontend_test/onnx_test/defs_test/math_test/max_test.py
8aaf5db7ac2b8cfd0529aa58330acb3221cbd3dc
[ "Zlib", "MIT" ]
permissive
leonskim/webdnn
fec510254b15f3dec00f5bed8f498737b372e470
f97c798c9a659fe953f9dc8c8537b8917e4be7a2
refs/heads/master
2020-04-15T18:42:43.632244
2019-01-10T10:07:18
2019-01-10T10:07:18
164,921,764
0
0
NOASSERTION
2019-01-09T19:07:35
2019-01-09T19:07:30
Python
UTF-8
Python
false
false
1,306
py
import numpy as np from test.runtime.frontend_test.onnx_test.util import make_node, make_tensor_value_info, make_model from test.util import wrap_template, generate_kernel_test_case from webdnn.frontend.onnx import ONNXConverter @wrap_template def template(n_x, x_shape, description: str = ""): vxs = [np.random.r...
[ "y.kikura@gmail.com" ]
y.kikura@gmail.com
ce84cfc7e6a9774842cef1a393e8ef625284ae06
7f189b1d917785da079276674276f68baa30df7f
/kmmall/pipelines.py
1d30292b0e08e1835ac775ee2d640e6b34c9e8bb
[]
no_license
eninem123/kangmeimallspider
b79ed43781328d67e893652433e59ed094ec941a
b2bcca0efe0b634ca97f331242351e9cfd52c2f7
refs/heads/master
2022-12-24T04:31:31.169097
2018-09-20T09:58:41
2018-09-20T09:58:41
149,369,473
1
0
null
2022-12-08T00:45:48
2018-09-19T00:38:33
Python
UTF-8
Python
false
false
2,637
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html # import json # from scrapy.exporters import CsvItemExporter import csv # class KmmallPipeline(object): # def process_item...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
7f85583384768b3415318e38004daf64dd0a996d
e2def11fa25b0852d4535d45384a6f1c9c762a02
/Projeto/projetoTCC/projetoTCC/settings.py
db0aaebc745c5ccd3b04c71620ce5d508d6d89f2
[]
no_license
Olinad21/APIDjango
4de4ac76c2646632bab313ce4a53c2e8082b7777
0e1157855380d233e848e1b1ee7e5487c06c997c
refs/heads/master
2020-04-01T06:36:45.587500
2019-02-06T19:58:53
2019-02-06T19:58:53
152,955,346
0
0
null
null
null
null
UTF-8
Python
false
false
3,283
py
""" Django settings for projetoTCC project. Generated by 'django-admin startproject' using Django 2.1.2. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os...
[ "danilooliveira79@gmail.com" ]
danilooliveira79@gmail.com
003b68e7579fb96c1792d86a0205dfe552beed1d
2db79faca4bd9b1753b6d7091abb4821c0c59c77
/Code Snippets/Windows7PrefetchHash.py
2a4812fbfc33cbeede47e12cf13b284c8a0bd901
[]
no_license
bufukejo/anti-for-troj-def
24467b90c89d0f58ca74598760522f0eefb2029f
0df22100d1c09cda07a7ed69395c3bd47ea2bb68
refs/heads/master
2021-01-01T05:23:12.617020
2016-04-12T02:15:20
2016-04-12T02:15:20
56,022,540
1
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
def hashw7(filepath): #Convert filepath to unicode + uppercase path="" for character in filepath: path += character.upper() + '\x00' #Windows' algorithm begins here hash=314159 numof8 = int(len(path)/8) #For th...
[ "brett@jerry" ]
brett@jerry
70a5a2a8d97d47e4470a414ce3590f34bca83b74
22e076588057d200c7119f87d330678e7ed7d168
/posts/forms.py
8094a686d31545ae191391fd805ca09373a1291f
[]
no_license
DylanMsK/Insta_clone_project
16088926bda8f66fe412016f1764076dd46a7629
7921bef90aad1128021bd4e2bb60f96fd0efab01
refs/heads/master
2020-05-05T13:03:29.896332
2019-04-18T09:01:33
2019-04-18T09:01:33
180,057,187
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
from django import forms from .models import Post, Comment class PostModelForm(forms.ModelForm): content = forms.CharField( label='content', widget=forms.Textarea( attrs={ 'class': '', 'rows': 5, 'cols': 50, 'placeholder': '지금 뭘 하고 계신가요?'...
[ "kms920612@gmail.com" ]
kms920612@gmail.com
2310513ea34ee18675a9e0138f458cbe5884acc4
e169fd5ea9e79bb3be21e7148900eae700778a50
/gis_utils/out_parsers/geojson_to_topojson.py
6258ba5f0c3b1614e7b5b2490765fb29c0cd6e34
[ "MIT" ]
permissive
Daniel-M/gis_utils
e1b8c8f1b6fd0949e57ae41fa17aa0b0c77eabf9
a3497d5e235b57fb2db3f3e780e7efa6e4b4cbad
refs/heads/master
2021-09-07T12:08:58.295120
2018-02-20T22:00:56
2018-02-20T22:00:56
122,255,346
1
0
null
null
null
null
UTF-8
Python
false
false
792
py
import os import sys import subprocess as sp from pathlib import PurePath PARSER_PATH = sys.modules[__name__].__file__ def geojson_to_topojson(infile,outfile): """ geojson_to_topojson converts a geojson file into a topojson file. This function uses [https://github.com/topojson/topojson-server](https://git...
[ "danielmejia55@gmail.com" ]
danielmejia55@gmail.com
e41d0c75f331e9e116ec8f60283bcfd4f5d53701
def49b9d97c44b54d5efd4e88c759b26949221b3
/schemas.py
44c72ad8072d2d3bca43c73e326f15bf21713190
[]
no_license
Keovkevin/fast_api
28576244213231f8e67bc0304231cf61fba2aebd
4b71a197844c9bcc7c3f1fa85c5abd820ff544c7
refs/heads/main
2023-06-01T10:55:46.166407
2021-07-03T16:11:41
2021-07-03T16:11:41
382,623,253
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
import pydantic as _pydantic import datetime as _dt class Store(_pydantic.BaseModel): id:int name:str code:str active:bool address:str gst_no:int email:str mobile_no:int service_tax:int commission_percentage:int is_online_payment:bool class config: orm_mode=Tru...
[ "shubhamshekhar089@gmail.com" ]
shubhamshekhar089@gmail.com
0a3c21e99a75a04a3fc14ba53e02be8c8efebdcc
8e81186012ecbee07ad901ae9dbb79a7e3e4a72d
/Snake.py
5cfe623c7291c3247f68f72394014d30700d457d
[]
no_license
spnarkdnark/snek
9dbb67a47ff21c32341421debba00195fe0e8c59
048436e7cd578b9f80782d0902a306ece6012a60
refs/heads/master
2020-04-15T04:29:21.427487
2019-01-09T02:46:30
2019-01-09T02:46:30
164,385,526
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
import operator UP = (0,1) class Snake: """ A Snake Object """ def __init__(self,body,direction): """ Initialize the snake with a body and direction :param body: an array of tuples containing snakes position during game :param direction: UP,DOWN,LEFT, or RIGHT "...
[ "samuelfudala@gmail.com" ]
samuelfudala@gmail.com
24789063096590a802a1056294cdd304c87b6226
b07525d4470aa7f2f38e972e3c9b49b4b4f2d031
/exercism/python/word-count/word_count_test.py
f22a7a3807d35183ee6214a4b0c781259582b954
[]
no_license
Supakron123/testPython
82721df5ce61e85967d1b61f96993bdea8fefcbf
18303eb605a44fe68c02ed935f04f61b351eb28d
refs/heads/master
2021-05-13T20:14:25.608935
2018-01-15T11:07:50
2018-01-15T11:07:50
116,908,345
0
0
null
null
null
null
UTF-8
Python
false
false
2,967
py
import unittest from word_count import word_count class WordCountTests(unittest.TestCase): def test_count_one_word(self): self.assertEqual( word_count('word'), {'word': 1} ) def test_count_one_of_each(self): self.assertEqual( word_count('one of ea...
[ "supakron.o@codium.co" ]
supakron.o@codium.co
e15fa7f87879efa8feb072d967fe6fed1b84646c
be4f4362cca2761706e0b23321f7c456f78e49fc
/Algorithms/Quick Union-Find - Application (Percolation).py
59c8362d733345a4b746f4645dde3628f3dda027
[]
no_license
Suhail727/GeneralProgramming
8947ded48c970fa8975445523c42e1d0371d0c44
80fb482960f5bd1cdace78b552d3cd08a914bd72
refs/heads/master
2021-11-28T07:12:51.198277
2021-10-06T15:38:17
2021-10-06T15:38:17
167,709,868
0
0
null
null
null
null
UTF-8
Python
false
false
2,908
py
#----------------------------------------------------------------------- # percolation.py #----------------------------------------------------------------------- import stdio import stdarray #----------------------------------------------------------------------- # isOpen is a matrix that represents the open sites ...
[ "noreply@github.com" ]
Suhail727.noreply@github.com
6c3a45b7e30af37035ddeb17f4a158de42f658c1
af3b8f03ac53cafada0394a46306bdca5d4c8fce
/timaknormblog/asgi.py
8ba0d46a0fdca52732f7375adc7b7dee409c9a2b
[]
no_license
timaknormtak/timaknormblog-project
95869bc9d6186621e806a512c874beb5bec8c2f9
34c346cafa64196a2e80842d8569250b5b93cf97
refs/heads/main
2023-01-19T10:06:17.370618
2020-11-23T06:37:56
2020-11-23T06:37:56
312,988,272
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for timaknormblog 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "timakov.1308@gmail.com" ]
timakov.1308@gmail.com
60c9b57a2eda6c2eaf8e4755cfd166017886804e
af172343e2d564dacefd382ea4689dd8c6646e7d
/backend/selenium/driverFactory.py
e1e510dd7a7052a6ffc03464008a437060419efa
[]
no_license
simalda/Quiz
ba6187d600e8b7f93640ecac82b00a6d165e43b8
5a66d85a4dce4dc98db67212c11cdf556c49c8a2
refs/heads/master
2021-06-23T15:28:45.422751
2020-06-02T11:47:06
2020-06-02T11:47:06
194,924,234
0
0
null
2021-03-12T10:12:10
2019-07-02T19:37:32
JavaScript
UTF-8
Python
false
false
449
py
from selenium import webdriver # import LogInPage from "./LogInPage"; class DriverFactory(): def createDriverChrome(self): driver = webdriver.Chrome() driver.implicitly_wait(10) return driver def createAndOpenChrome(self): driver = webdriver.Chrome() driv...
[ "simalda83@gmail.com" ]
simalda83@gmail.com
fc88ba2c959cbb2126c1a6c8c7c8164e058a2dd8
af25301cb505594b63dba2753c394e1660263e36
/plot_ccf.py
8360a3f180557cc2540ec7d5ad5fa753d270b01a
[]
no_license
nzarifi/tsmodels
03229338d510daea3002bc03cabdc5c70bba658c
243b8ff730d7c8817d2a3f292c040b8762ed2032
refs/heads/master
2023-02-02T01:02:12.035018
2020-12-15T13:25:57
2020-12-15T13:25:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,590
py
import numpy as np import pandas as pd from math import sqrt import matplotlib.pyplot as plt def plot_ccf(x, y, lags=20, figsize=(14,6)): ''' This function plots the cross correlation between two time series. ''' xname = pd.DataFrame(x).columns.values[0] yname = pd.DataFrame(y).colu...
[ "noreply@github.com" ]
nzarifi.noreply@github.com
ffc250bf877ff503e92d4c78eb2aec0583876523
741df1fd9f835f86e864fe82d964c90e6e6a7d9a
/accounts/migrations/0001_initial.py
09a59efd72c6d66b999ae43d4c685981fd6a534e
[]
no_license
RishavRaj19/OnlineExam
8dd6c09cd643bd915eaec8498567286896fc064e
358f6f0a34928fa1abe075d65083d8bbbe4ddef8
refs/heads/master
2022-11-13T00:32:51.617367
2020-07-03T16:37:10
2020-07-03T16:37:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,946
py
# Generated by Django 2.2.13 on 2020-07-02 21:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ...
[ "rishavraj.sbg@gmail.com" ]
rishavraj.sbg@gmail.com
d7da85ffc7cbcb65f57bb197ce31ee9419b6cef7
806dba902649dbc8c26db0bc105b26217c9f5f45
/src/react_ssr/mixins/default_state.py
ffabcb8706782061d655ce9672c26501e847b5c3
[ "BSD-2-Clause" ]
permissive
urantialife/react-ssr-backend
b03ec62fd1b745e82ac8f7a7d239de5c4dd42be4
f4d094fbd15ff1eb2178aeac0bf9bec8c70414f7
refs/heads/master
2020-06-09T06:54:23.345503
2019-06-03T16:23:55
2019-06-03T16:23:55
193,395,009
1
0
BSD-2-Clause
2019-06-23T20:59:54
2019-06-23T20:59:54
null
UTF-8
Python
false
false
1,462
py
import requests from ..exceptions import GetDefaultStateError from ..settings.default_state import ( DEFAULT_STATE_TIMEOUT, DEFAULT_STATE_URL, DEFAULT_STATE_HEADERS ) class DefaultStateMixin(object): default_state_timeout = DEFAULT_STATE_TIMEOUT default_state_url = DEFAULT_STATE_URL default_...
[ "16756928+alexseitsinger@users.noreply.github.com" ]
16756928+alexseitsinger@users.noreply.github.com
18e350c9f21878bc1409a1ec2b3304e103c6c660
528c811306faa4a34bf51fca7955b7a24ac2e30c
/Python/Triangle.py
da2d8206529278895eea530d8c2d8f3d4bc40ef4
[]
no_license
ganjingcatherine/LeetCode-1
1addbd7e4d9254a146601f9d5e28b8becb8235a6
488782d3f1e759da2d32b4e82dbf55b96c431244
refs/heads/master
2021-05-11T03:15:16.810035
2016-02-06T06:19:18
2016-02-06T06:19:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,529
py
""" Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the following triangle [ [2], [3,4], [6,5,7], [4,1,8,3] ] The minimum path sum from top to bottom is 11 (i.e., 2 + 3 + 5 + 1 = 11). Note: Bonus point if you...
[ "anthonyjin0619@gmail.com" ]
anthonyjin0619@gmail.com
81e95253e7fc79ef1c6289862335413d5a76dbba
7d38fb1baff08bb2f438f4b2c2972ef506bafcf9
/cbi.py
0923fc86360da717b7b2cb9bf4c1330cc7dafda5
[]
no_license
rendinam/CBPM
a301eab02a9925782d02ecae99a2361a60646c4e
d3662f1279848da0bf8aea660ca8b062c3e47c17
refs/heads/master
2023-03-07T00:23:26.680674
2021-02-09T17:45:05
2021-02-09T17:45:05
337,477,219
0
0
null
null
null
null
UTF-8
Python
false
false
3,502
py
#---------------------------------------------- # Automatically generated python3 module code # for core communication data structures. #---------------------------------------------- from cbi_core import * #--------------------------------------- # Necessary constants imported from # header files. #-----------------...
[ "matt.rendina@gmail.com" ]
matt.rendina@gmail.com
229180ad1e2533852864dffc7899175eec257119
44175eeef9109b9879ca1318b7e73af8f50dbbc5
/Lab2_11.py
2ea93603a2bd578efee6485b1983ebc77fd1a73e
[]
no_license
Alhzz/Python3
fb0dd79d8839bdfef5569958bfdbe289d30cf0aa
c20db5e6f14d4b2875846f56be55b1174fdb0eab
refs/heads/master
2020-03-26T05:23:48.399950
2018-11-16T17:02:11
2018-11-16T17:02:11
144,554,764
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
''' FoodGrade I ''' def main(): ''' Main Function ''' good = 0 good += check() good += check() good += check() good += check() print(good) def check(): ''' Input and Check ''' good = 0 num = int(input()) if 50 <= num <= 70: good += 1 num = int(input()) if 50...
[ "Aloha_sonza@hotmail.com" ]
Aloha_sonza@hotmail.com
717bca05b8a8d2018645de701f06918e166c9a41
7d8f781b4d20cb61f9acbad0be3af677183f2a45
/main.py
4a68b7219b6e8bcc17e332bd5365bebf4bb300d2
[]
no_license
viicrow/yes_no
a0985d7243180299b5d10bc58f4375ef607046d2
783d0e7ce596dbddaadaeb14536b87db6d7ad709
refs/heads/master
2023-04-27T08:59:09.380913
2021-05-20T22:23:32
2021-05-20T22:23:32
369,353,575
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
# functions go here... def yes_no(question): valid = False while not valid: response = input(question).lower() if display_instructions == "yes" or display_instructions == "y": response = "yes" return response elif display_instructions == "no" or display_instructions == "n": resp...
[ "" ]
870f951e60904860957c4cbf1986c8aaa11fa262
7dab00e63b7193010344a0f05e0cc641d7091f5f
/students/david_russo/lesson07/RDBMS/RDBMS/personjobdepartment_model.py
8b75c2d98afa74545922c5fed997878bc21a5157
[]
no_license
aurel1212/Sp2018-Online
9307e872c14c5ddd795bdc738b325de087895d55
263685ca90110609bfd05d621516727f8cd0028f
refs/heads/master
2020-04-05T18:35:49.761140
2018-06-19T18:24:27
2018-06-19T18:24:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,855
py
""" Simple database example with Peewee ORM, sqlite and Python Here we define the schema Use logging for messages so they can be turned off """ import logging from peewee import * logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) logger.info('One off program to build the classes...
[ "david.luiz.russo@gmail.com" ]
david.luiz.russo@gmail.com
adb17ca10b7a353fcc42e56c097b7fa3a4337871
43f0952a8e5f99e4e63d8155c27d7a3d4819bb05
/model/decoder2.py
7085389fbe968928e65c008c9a98ea28d2bab531
[]
no_license
DeepLearnXMU/ABD-NMT
dc39b7f7a92d543111162958214cda800ba46766
833d28d0c55faf5b644e744837ac17124141736f
refs/heads/master
2021-01-23T14:21:54.345472
2017-09-12T08:20:27
2017-09-12T08:20:27
102,686,231
35
9
null
null
null
null
UTF-8
Python
false
false
9,157
py
import itertools import theano import theano.tensor as T import nn import ops from bridge import attention, map_key class Decoder: def __init__(self, n_src, dim_y, dim_hid, dim_key, dim_value, n_y_vocab, *args, **kwargs): """ :param dim_y: :param dim_hid: dimension of decoder's hidden s...
[ "angel123goo@gmail.com" ]
angel123goo@gmail.com
f6e1d812b7b8da141c5f17cca2a99a1ec105bdae
7b6b96be5e7dbc3cdda900f11614c161c2821200
/lib_wp_remover_2014_10_24/get_items.py
ecdb77af4fb571e2ecb443396f686174a2d6fc33
[]
no_license
polymorphm/wp-remover
8c59715ebe63969ca467de93c2d8d549eb26c310
e1efb8a458991c9774dc3c3c4b2c7a7d6450245c
refs/heads/master
2021-01-01T16:13:46.928136
2014-10-24T16:03:23
2014-10-24T16:03:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,146
py
# -*- mode: python; coding: utf-8 -*- # # Copyright (c) 2012, 2013, 2014 Andrej Antonov <polymorphm@gmail.com> # # 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, includin...
[ "polymorphm@gmail.com" ]
polymorphm@gmail.com
c0d01549392c14b63f25cf3ca994a4bb47d47047
770537437474c63f6878c26a10a5853a9687c649
/Service/app/subscriber.py
fc7c5667b54bc22b29bbde8c6796ec4cd403f98a
[]
no_license
Makalolu/BRKACI-2945-CLUS
89013da0a2c828abe43b2ab39f8bb85587c625ff
197702202ca146e6c82cb39ad48fad8569d1393d
refs/heads/master
2022-02-22T19:00:47.438095
2018-06-17T17:27:52
2018-06-17T17:27:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,783
py
import logging, sys from .utils import (setup_logger, get_app, pretty_print, db_is_alive, init_db, get_apic_session, get_class, subscribe, ) # module level logging logger = logging.getLogger(__name__) def dns_subscriptions(db): """ build subscription to APIC dns objects and keep consistent values in ...
[ "agossett@cisco.com" ]
agossett@cisco.com