blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
1c8dcc3f1ad262de6fac4180e5c8b6618dde5d9f
5ebe164e1cf64e03b13298d16d6e865720ec0b45
/supervised_learning/0x0A-object_detection/7-main.py
81c7712ed0de7d821e8164f8ee59fdae3152d908
[]
no_license
rodrigocruz13/holbertonschool-machine_learning
c17a0df1f692eeaa6c3195d00908a0c95cfc8bc3
eb47cd4d12e2f0627bb5e5af28cc0802ff13d0d9
refs/heads/master
2020-12-22T13:56:18.216499
2020-11-14T08:21:05
2020-11-14T08:21:05
236,808,432
4
2
null
null
null
null
UTF-8
Python
false
false
618
py
#!/usr/bin/env python3 if __name__ == '__main__': import numpy as np Yolo = __import__('7-yolo').Yolo np.random.seed(0) anchors = np.array([[[116, 90], [156, 198], [373, 326]], [[30, 61], [62, 45], [59, 119]], [[10, 13], [16, 30], [33, 23]]]) yolo = ...
[ "rodrigocruz13" ]
rodrigocruz13
8c225e4d22f42a09cb512b35d97f30b69e592e2c
389d64906ac8371878b0a020618dae9dfe47e691
/mysite/blog/migrations/0005_auto_20190403_1214.py
de0b4b03724b29762e81112e8382d959ff3f5620
[]
no_license
czhang86/blog
507e5a45ef5c19c6c5c78e3214f4822c132255f1
324e49c03806499a982566317ee68d99f787e646
refs/heads/master
2020-05-04T19:57:40.926193
2019-04-04T04:20:36
2019-04-04T04:20:36
179,414,965
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
# Generated by Django 2.1.2 on 2019-04-03 16:14 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('blog', '0004_auto_20190403_1153'), ] operations = [ migrations.AlterField( ...
[ "1576008952@qq.com" ]
1576008952@qq.com
3780b8a8f5c3e1035a2fb5be411f5088ff20ded0
e303169e4fedbd9d69d76361333ee40d556a247d
/hyperboost/opt.py
13302eb665b0c0a1de54e07ef1ee0854ce67663e
[]
no_license
rpietrusinski/hyperboost
23dce3a986fd54b2e972cc8d5263d79ee6be819d
580ad28f8bd8f0825361875c8a849280a31adaf7
refs/heads/master
2020-03-30T20:54:27.028159
2018-10-08T19:12:19
2018-10-08T19:12:19
151,609,371
0
0
null
null
null
null
UTF-8
Python
false
false
2,786
py
import numpy as np import xgboost as xgb import pickle import os from sklearn.metrics import roc_auc_score from hyperopt import tpe, Trials, space_eval, fmin from sklearn.model_selection import KFold class HyperparametersOptimizer(object): def __init__(self, x: np.ndarray, y: np.ndarray, path: str): """Ob...
[ "pietrusinski.robert@gmail.com" ]
pietrusinski.robert@gmail.com
5760b13b612b0a305cedcee911b325427d81504d
2807aa56f6bae8923d78c10ee4f22fe1970b12f3
/build/pymongo/test/test_threads.py
ec22ffc3476a4f5d74b1d4f8bb95b02e35a7bea3
[ "Apache-2.0" ]
permissive
rutanmedellin/swmanager
7b965b75d419e9be1e25b815b58021ec8e80f9d0
27349c9d85e8de089f29eed1b0413b234a4c1f37
refs/heads/master
2020-06-04T02:27:51.466087
2012-08-21T03:57:13
2012-08-21T03:57:13
3,830,545
1
0
null
null
null
null
UTF-8
Python
false
false
14,420
py
# Copyright 2009-2012 10gen, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "castillobuiles@gmail.com" ]
castillobuiles@gmail.com
d944222d39aa2c0f4eb6c53856e08e6f051fae7a
df541a802b2dfa89d3aab14af627358dc7c76e6e
/接口自动化/Frame5/httpUnittest.py
21a2012f8446211b06c3e9b5b336e248861a73a5
[]
no_license
gupan2018/PyAutomation
de966aff91f750c7207c9d3f3dfb488698492342
230aebe3eca5799c621673afb647d35a175c74f1
refs/heads/master
2021-09-07T19:44:20.710574
2017-12-22T15:58:23
2017-12-22T15:58:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,024
py
__author__ = 'Administrator' import unittest import mysql.connector class Http_Unittest(unittest.TestCase): def __init__(self, test_case_id, test_method, http_method, http, test_url, test_data, cousor): super(Http_Unittest,self).__init__(test_method) self.test_case_id = test_case_id self.te...
[ "610077670@qq.com" ]
610077670@qq.com
435ce25fccf4bd20dbf5ae423dd02ada727c70e2
b07ea8c5a075e3c7e7a0f9aca6bec73a22cdb7df
/PART 1/ch03/10_is_anagram_using_ord.py
469076cacf26d0facbbfc5e8a9ede66cabd8f11c
[]
no_license
jaeehooon/data_structure_and_algorithm_python
bb721bdbcff1804c04b944b4a01ed6be93124462
6d07438bfaaa1ec5283cb350ef4904eb94826c48
refs/heads/master
2023-02-21T10:08:20.765399
2021-01-22T13:37:11
2021-01-22T13:37:11
323,367,191
1
0
null
null
null
null
UTF-8
Python
false
false
972
py
# 3.4.2 애너그램 (2) """ ord() 함수는 인수가 유니코드 객체일 때, 문자의 유니코드를 나타내는 정수를 반환 인수가 8바이트 문자열인 경우 바이트 값을 반환함 문자열에서 모든 문자의 ord() 함수 결과를 더했을 때 그 결과가 같으면 두 문자열은 애너그램 """ import string def hash_func(astring): """ :param astring: :return: """ s = 0 for one in astring: if one in string.whitespace: ...
[ "qlenfr0922@gmail.com" ]
qlenfr0922@gmail.com
ed9bb04561e90339701c63eaba88122fa21c0fd6
be5deac90813d7e9c600f6d01f57bc10ade6a158
/tests/demos/demo_number_and_quantifier_recognition.py
6a8eee91e653fc39cb145be92718227cc60617c4
[ "Apache-2.0" ]
permissive
hankcs/pyhanlp
a49ed4ae3e32b30ed8d9c8010c0a3e87a4e413d0
cda01245d68b3e94d16f37d979427433b20d7c3e
refs/heads/master
2023-08-19T07:04:14.413190
2023-04-04T17:59:25
2023-04-04T17:59:25
125,806,243
3,169
888
Apache-2.0
2022-01-11T16:33:55
2018-03-19T05:34:36
Python
UTF-8
Python
false
false
1,203
py
# # -*- coding:utf-8 -*- # Author:wancong # Date: 2018-04-30 from pyhanlp import * def demo_number_and_quantifier_recognition(sentences): """ 演示数词和数量词识别 >>> sentences = [ ... "十九元套餐包括什么", ... "九千九百九十九朵玫瑰", ... "壹佰块都不给我", ... "9012345678只蚂蚁", ... "牛奶三〇〇克*2", ... "Chin...
[ "wan_cong@126.com" ]
wan_cong@126.com
1352914267c4014c90ed3edb12bed5ff3dcde7ef
f237ca25c78fd1c89a08cce60f70fe1dc7206d89
/Py/src/ueb/stub_aufg15_brackets_test.py
79e64d715d7d8ad0816009e4b162cc49c1032ffa
[]
no_license
KonstantinTwardzik/Theoretical-Computer-Science
2d08632ad26cd572a853e64b9826e254fd7150ea
b33a60ad7a34c090e05e03cf35333ab25aab6238
refs/heads/master
2021-08-22T23:45:31.724166
2017-12-01T18:33:30
2017-12-01T18:33:30
105,768,326
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
# Ihre Loesung fuer Aufgabe 15 import unittest import ueb.aufg10_valid_brackets as candidate # Testfaelle fuer candidate class Test_valid_brackets(unittest.TestCase): # def test_1(self):
[ "twardzk@hochschule-trier.de" ]
twardzk@hochschule-trier.de
d81d21379e5af810c27b2b1d3e4c8f32d8faec6d
9d454ae0d5dd1d7e96e904ced80ca502019bb659
/198_rob.py
9c17186c04b2ad05f74577de361aeef0ece28d64
[]
no_license
zzz686970/leetcode-2018
dad2c3db3b6360662a90ea709e58d7facec5c797
16e4343922041929bc3021e152093425066620bb
refs/heads/master
2021-08-18T08:11:10.153394
2021-07-22T15:58:52
2021-07-22T15:58:52
135,581,395
3
0
null
null
null
null
UTF-8
Python
false
false
196
py
def rob(nums): ## too naive # return max(sum(nums[0::2]), sum(nums[1::2]), sum(nums[0::3], sum(nums[1::3]))) l =r=0 for n in nums: l, r = r, max(n+l, r) return r assert 4 == rob([2,1,1,2])
[ "1564256031@qq.com" ]
1564256031@qq.com
9ff318e046b87d76579e6d5b06d8f22e909203d4
1b596568ef6ced06173e60c71f01141682329ac4
/version-example
0c6ba046e0d538c2d3d1a402526ebec6ad7fb3c5
[]
no_license
pfuntner/gists
4eb1847ef22d3d9cb1e17e870a8434c376c4dbfc
3322c922bd43480b4cc2759b1c31e5c76668c7ef
refs/heads/master
2020-04-17T08:40:29.444378
2019-01-18T16:23:49
2019-01-18T16:23:49
166,421,209
0
0
null
null
null
null
UTF-8
Python
false
false
2,957
#! /usr/bin/env python import os import re import sys import logging import argparse import datetime import subprocess def run(cmd): (rc, stdout, stderr) = (None, '', '') if isinstance(cmd, basestring): cmd = cmd.split() try: p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) ex...
[ "jpfuntne@cisco.com" ]
jpfuntne@cisco.com
909120dd6bc0e5a9a8652a04195635298bb7c5b1
08c25b97c357d4422ae4e7fc893211d46523b82b
/scripts/make_table.py
240f81de22750522e8f3633acac713d8196221ce
[ "MIT" ]
permissive
trulfos/spatial-benchmarker
ecad2e8d89d7e01681df45bddc12df9c7ebced09
44ff7f9a60b9a2d5cd98def48ddff43dd0d64220
refs/heads/master
2021-09-02T04:39:42.450867
2017-12-30T11:32:42
2017-12-30T11:34:30
115,791,961
5
1
null
null
null
null
UTF-8
Python
false
false
3,384
py
#!/usr/bin/python3 from database import Database import argparse def parse_arguments(): parser = argparse.ArgumentParser( description='Make a table similar to the one from the RR* article' ) parser.add_argument( 'index', metavar='<index name>', help='Index for whic...
[ "trulfos@gmail.com" ]
trulfos@gmail.com
065afde0ad990602c145f176bbbaf950115db7e7
4d03e487b60afc85d1f3372fe43f2a7b081f0e41
/file_list/thumbnail_cache.py
88b1134b24f906a6286c8193055960e31d5d945b
[]
no_license
hal1932/Explorer
d051bd0bb09b0952bad35deeeec0d4ad00947666
869ce3323aee499048f98f33910fc05126947942
refs/heads/master
2021-01-19T13:27:22.485124
2017-04-18T14:03:17
2017-04-18T14:03:17
82,392,096
4
0
null
null
null
null
UTF-8
Python
false
false
3,203
py
# encoding: utf-8 from lib import * import cv2 import os import threading import Queue class ThumbnailCache(QObject): load_item_async = Signal() def __init__(self, enable_load_async=False): super(ThumbnailCache, self).__init__() self.__items_dic = {} if enable_load_async: ...
[ "yu.arai.19@gmail.com" ]
yu.arai.19@gmail.com
4f659d9fc0303fc1ebfcc69527ae63585c957b79
e397e996e6ecbda3742980352f8642dfb058fbdb
/src/nodescripts/corenodes/blend/__init__.py
e7c9684c39899c9ddf33aec8b393b96d49b08834
[ "Apache-2.0" ]
permissive
dephora/GimelStudio
bdcac2155b0021af0a60df4ed4df045a86353ab7
0cdaed3ffa93fd735ca8d65a0d99f1be64c2c522
refs/heads/master
2023-08-13T02:53:46.269443
2021-10-08T15:35:39
2021-10-08T15:35:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
from .mix_node import MixNode from .alpha_over_node import AlphaOverNode
[ "noreply@github.com" ]
noreply@github.com
0b697bf8ee814996d74fb061231aeabb70a184c9
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/compute/ssl_policies/describe.py
0546d3f6604bd3a747040e4520dae448783faf92
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
2,150
py
# -*- coding: utf-8 -*- # # Copyright 2017 Google Inc. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
0666f46140d410d989a463d0a2545a97377dfda1
dc349cfb2b18f7abdae47b892c03e2d6bb77fe11
/cube_reinforcement_learning/cube2X2/env_cube.py
4d0b6bd1651f3f31a94f275f25581acfac0e0a7a
[]
no_license
vanviet93/ML
6e88cb4db728af000437042b59155c5efaa7de46
13336226e91dcb3751caa9fb19fbfb6b916124c5
refs/heads/master
2023-01-03T23:36:22.109552
2020-10-25T14:50:41
2020-10-25T14:50:41
307,107,860
0
1
null
null
null
null
UTF-8
Python
false
false
7,545
py
# This environment can be apply for cube 2X2 or 3X3 import numpy as np CUBE_SIZE = 2 REWARD_NOT_SOLVED = -0.10 REWARD_SOLVED = 1.00 class Environment: # action ROTATE_FRONT = 0 ROTATE_RIGHT = 1 ROTATE_UP = 2 ROTATE_LEFT = 3 ROTATE_BACK = 4 ROTATE_DOWN = 5 ROTATE_REVERSE_FRONT = 6 ROTATE_...
[ "phamvanviet93@gmail.com" ]
phamvanviet93@gmail.com
046c39ef298843d7d823a4400810349921c3ac4a
a20e3fbd68ef3a788509bf09f072ad1ff3412735
/app/app.py
515c21ad88f912246877df8c4046ea39278ae514
[]
no_license
datasorcery/genre_classification
4b2f4e11a34dd04eeb59a128a2180689c26ecac0
5026d76f932a9ea7035945330845f53debf28d1a
refs/heads/master
2021-01-11T13:53:33.457105
2017-06-20T23:01:32
2017-06-20T23:01:32
94,877,420
0
0
null
null
null
null
UTF-8
Python
false
false
2,050
py
from flask import Flask from flask import render_template from flask import request import os import string from sklearn.externals import joblib from collections import Counter app = Flask(__name__) MODEL = os.path.join('.','model') vec = joblib.load(os.path.join(MODEL,'vetorizador.pkl.bz2')) mdl = joblib.load(os.pa...
[ "datasorcery@deltasigma.com.br" ]
datasorcery@deltasigma.com.br
35fa6737055a0ebc29fc0f78d895ee7d05208758
c138f28eb1bb3be2227911b80af67bc5b3c29685
/example/server
6f0b9d6eb220a312664a104f7068b3be1d9005f9
[]
no_license
sheepslinky/python-websocketd
39d892c0ee46fa08a19adeda2ff98e2954911b1d
8b6b0edc8a0e9d80d48b78099ce3a78775fa783c
refs/heads/master
2021-04-15T10:12:12.693499
2018-03-17T09:41:37
2018-03-17T09:41:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,109
#!/usr/bin/python3 # vim: set fileencoding=utf-8 foldmethod=marker : # {{{ Copyright 2013-2016 Bas Wijnen <wijnen@debian.org> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either versi...
[ "wijnen@debian.org" ]
wijnen@debian.org
b7aed369d0aa8d680c47f718ba7ec76754ae21c9
6ee33870daa76b5188cb41851b0d73a8fc08e583
/Case 2 -- Muddy River/Other Code/simu.py
a397c186f9e532c622c33dbb31aecd665624d087
[]
no_license
kid3night/FinancialEngineerCaseStudies
423f0e598905f432f6c7fac4f69c1b4940a864e8
73b3b30b0db91b2f44bb63b81713e39b93ad8219
refs/heads/master
2020-08-23T23:17:07.278735
2019-10-22T04:19:07
2019-10-22T04:19:07
216,722,062
2
0
null
null
null
null
UTF-8
Python
false
false
4,266
py
def new_path(eval_para_pos, n = 5000): # N_month = 97 N = 24 N *= 4 dt = 1/48 thetap1 = [39.28, 40.65, 40.48, 42.75, 46.62, 71.88, 86.92, 103.63, 60.78, 35.55, 39.67, 44.47] thetag1 = [2.51, 2.49, 2.66, 2.59, 5.28, 6.33, 6.39, 5.93, 3.12, 2.73, 2.02, 3.07] p_theta_std = np.array([1.45, 1.92,...
[ "kid1994@vip.qq.com" ]
kid1994@vip.qq.com
518bc4aa64f4e5aac711a4ed163b4a5f8f2a09f8
0cf269af0e6f8266c26b3bc68e57368e8c3d9edb
/src/outpost/django/thesis/migrations/0002_discipline_doctoralschool_thesis.py
4dd83c63267a93ce7139bdb7ee8f8290691ea608
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
medunigraz/outpost.django.thesis
c1518aa516d2177b0cacf381432bcdde41f2b5e1
1f0dbaa6edb6d91216d9bd97c79ee8b3bbc153cc
refs/heads/master
2021-09-25T16:47:59.469921
2020-08-04T19:16:07
2020-08-04T19:16:07
184,580,281
0
0
null
null
null
null
UTF-8
Python
false
false
2,819
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-11-08 09:47 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [("thesis", "0001_initial")] operations ...
[ "michael@fladi.at" ]
michael@fladi.at
1f3d51045015821dd085d687dab26a5d6b6a1d8c
ac7c7f114f9ae9086c29f13fe81e9294d0fbb9cc
/py/collections_deque.py
f91a65c21cf7002d2255ffc1b0a22da080be87b0
[]
no_license
yyltwin/backupFile
fa5fe5dd519ea17b1a83cceacf8f052e5405d7e5
0f13a1fbab09d42955b80b424186da213074fc6a
refs/heads/master
2020-04-27T16:45:44.008040
2019-03-08T07:51:36
2019-03-08T07:51:36
174,492,502
0
0
null
null
null
null
UTF-8
Python
false
false
2,133
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # deque , 使用c语言实现 # 可以从队列前和后操作队列 # queue.Queue 内部使用 deque 实现 from collections import deque # ----------- # deque 是线程安全的 # ----------- # 双端队列 deque 已经在字节码级别上达到 线程安全 from collections import deque import time nums = deque(maxlen=30) # 设置最大长度 def get(nums_p): wh...
[ "1513087082@qq.com" ]
1513087082@qq.com
6dd2391b1a566786d194913b72e160c7c445f124
79f6873839b54a21dff11ceeef5160e7b9330864
/Project Euler/009.py
4ebd2beb7a9bb309da5bd351727beba8a2474343
[]
no_license
paperwraith/Project_Euler
45c0890a8e42d0277712da8289972c4d2542c663
07d27231f0137bee0b419e5474173ef086ae529e
refs/heads/main
2023-08-11T14:10:39.373972
2021-09-25T23:11:42
2021-09-25T23:11:42
410,400,150
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
# A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, # a^2 + b^2 = c^2 # For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2. # There exists exactly one Pythagorean triplet for which a + b + c = 1000. # Find the product abc. # TODO: # Generate Triples # Check if sum of triples equals 1...
[ "noreply@github.com" ]
noreply@github.com
0caab767fb4e0d37798b0ac6117ce887812f3619
1cf63e84bf8c87414baed3983b2fa4a07ac7c338
/app1/ml_load_graph.py
16d7518062d969f49e728392bf98560d1668fba4
[]
no_license
mahesh-dilhan/deep-learning
d941349bf09765b3b14b7542268eeaf5d03329d6
427446a7c9d151d33629980c496cdaaae990ab5c
refs/heads/master
2023-06-07T06:46:51.609322
2021-07-04T07:43:21
2021-07-04T07:43:21
382,750,175
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
# Load libraries from pandas import read_csv from pandas.plotting import scatter_matrix from matplotlib import pyplot from sklearn.model_selection import train_test_split from sklearn.model_selection import cross_val_score from sklearn.model_selection import StratifiedKFold from sklearn.metrics import classification_re...
[ "mail.mahesh.lk@gmail.com" ]
mail.mahesh.lk@gmail.com
a8687da378ff2d8a5dc8dd39449c21aaa0e7210e
7c6e8857b42615a8517f5660d15bd7d0e41afdd5
/proxy/proxyauth.cgi
284c6689d84517de615da4760419969d53d17f18
[]
no_license
geobretagne/cacheadmin
12c32a3c1cb74048fc7fe962dec7665fd9ca8afa
4589c2be8320d5461149533b35a63796aaff2d72
refs/heads/master
2020-06-01T12:38:57.229588
2014-04-30T14:44:27
2014-04-30T14:44:27
17,907,193
0
0
null
null
null
null
UTF-8
Python
false
false
3,596
cgi
#!/usr/bin/env python """This is a blind proxy that we use to get around browser restrictions that prevent the Javascript from loading pages not on the same server as the Javascript. This has several problems: it's less efficient, it might break some sites, and it's a security risk because people can use this proxy ...
[ "seb.pelhate@gmail.com" ]
seb.pelhate@gmail.com
1433ed9a66cf8f030d0107507d432670a7d51f0f
58baf0dd6a9aa51ef5a7cf4b0ee74c9cb0d2030f
/tools/testrunner/standard_runner.py
a59fe0839665fe1699fff41e3e9e4b837c952af2
[ "bzip2-1.0.6", "BSD-3-Clause", "SunPro" ]
permissive
eachLee/v8
cce8d6e620625c97a2e969ee8a52cc5eb77444ce
1abeb0caa21301f5ace7177711c4f09f2d6447d9
refs/heads/master
2021-08-14T08:21:44.549890
2017-11-14T20:35:38
2017-11-14T23:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,667
py
#!/usr/bin/env python # # Copyright 2017 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from collections import OrderedDict from os.path import join import multiprocessing import os import random import shlex import su...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
26088ff7733bb15d42a931600351936eaacec3cc
6f401aed6b736b07224c5da774fef5124536e4c3
/python bible/health.py
ec10fb386d8e0e6610e608e3b0a5f7eb0320a013
[]
no_license
Fumitus/First_Python_lessons
871a417cdfe828c68da1003e24d5e93de5a466dd
07a161c886a00ddb86eca3ede32e82df00b938a8
refs/heads/master
2020-04-10T06:49:20.666396
2018-12-07T19:23:41
2018-12-07T19:23:41
160,865,229
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
import random health = 50 difficulty = 1 potion_health = int(random.randint(25, 50) / difficulty) health = health + potion_health print(health)
[ "andrius.baikstis@biotecha.lt" ]
andrius.baikstis@biotecha.lt
a666762fd34411a901f443d2ec06dd10658e150c
e787a46d354e3bf9666cb0d8b0c7d5f8ed0a8169
/ccdproc/tests/make_mef.py
a871eaab6869b53192f486e57ffb6a99680fc3eb
[]
permissive
astropy/ccdproc
25270fec41e64e635f7f22bcf340b2dee9ef88ac
5af6ee5eee16a99591dd9fcbe81735e70c1cc681
refs/heads/main
2023-09-01T11:48:06.969582
2023-06-08T18:01:43
2023-06-08T18:01:43
13,384,007
81
88
BSD-3-Clause
2023-06-08T18:01:45
2013-10-07T13:05:51
Python
UTF-8
Python
false
false
2,156
py
import numpy as np from astropy.utils.misc import NumpyRNGContext from astropy.io import fits from astropy.nddata import CCDData from ccdproc import flat_correct def make_sample_mef(science_name, flat_name, size=10, dtype='float32'): """ Make a multi-extension FITS image with random data and a MEF flat....
[ "mattwcraig@gmail.com" ]
mattwcraig@gmail.com
1dc48a51f14dfb066f1271301f6c7b6f8c4048ff
16f34a866a0fba5352dc9d7c83de741fdbc13df9
/lecture_1/exercise_1.py
7b4f719055861ca0fd3133587ff7c37b0847ebc2
[]
no_license
ethanbar11/haskal_28_6_21
02fd6ae22b83d4e4678a9bba0dd0b90af147a05e
2c6a2a5fc1db2cafdfde88593b3d55048ed86bc3
refs/heads/main
2023-07-10T17:33:20.513451
2021-08-23T16:57:15
2021-08-23T16:57:15
383,196,071
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
num1=5 num2=10 result=num1+num2 print('The result is:',result)
[ "ethanbarbar@gmail.com" ]
ethanbarbar@gmail.com
5215a084044fb39cce1d96120767a0cf0684d3fe
72fd9d49d89a9fc23ca896154fa54cba836c41ca
/tasks.py
0ea3f55768a7233a886cb6707e616c923561b8c6
[ "MIT" ]
permissive
envobe/pydash
15066046fbc07458c29b6b33b1489aaadda5d074
6c0f778f6a2535397706aab68636485702ff3565
refs/heads/master
2023-01-05T18:14:09.923169
2020-10-29T02:16:34
2020-10-29T02:16:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
""" This module provides the CLI interface for invoke tasks. All tasks can be executed from this file's directory using: $ inv <task> Where <task> is a function defined below with the @task decorator. """ from __future__ import print_function from functools import partial from invoke import Exit, UnexpectedEx...
[ "dgilland@gmail.com" ]
dgilland@gmail.com
c9768e8e9428435fc33c6fdc6fdb30504230dd3f
d5f4d4dcad6217a2736cbefb5d091b7b4e822aee
/dk-crypto.py
69a215778e15e4454d6251936df3677c93da6d44
[]
no_license
dknific/dk-crypto
288761e820e60046759247713b0d64c07f189a63
295fb0ff2a683adf942d9514268fa9372f43c546
refs/heads/main
2023-03-15T17:57:29.773739
2021-03-08T23:15:17
2021-03-08T23:15:17
345,809,118
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
import helpers running = True helpers.printIntro() helpers.printOptions() while running: userIn = input('\nType the currency symbol you want a rate for: \n> ') if (helpers.validateUserIn(userIn)): response = helpers.getCurrencies(userIn.upper()) print('\n' + response[0]["name"] + ' (' + respo...
[ "dknific@gmail.com" ]
dknific@gmail.com
6d45bf858d903c9299f1bee1a02048ff896e95e0
f6cc91efee7fdb865923586152ecdee5f73e3214
/image_loader/wsgi.py
2e6383d87daf5e5390fad9ecec1a086b4902efbe
[ "MIT" ]
permissive
PiochU19/image-loader
5e9186cbdd12eae46bcb66b49f604e7dd652e906
7abec95f5d41e859fe65607ab7bd442a855bc2a0
refs/heads/master
2023-05-04T05:41:41.362774
2021-05-18T20:26:44
2021-05-18T20:26:44
368,221,416
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for image_loader project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "792954018@wp.pl" ]
792954018@wp.pl
e9db39b888b252aed531dfd86ac972d05320c65e
980a0013679dd53bc4385087f22b2eb42e84be29
/3-BE_Firefighter_Robot_game/PyPOMDP/pypomdp/replay.py
74a15aea9824cf4affa40dddaf2d586c9d16acaa
[]
no_license
LudovicSterlin/nia-ai-tools
9cb084c74dea3ed1f10e66b63e9814b81a89a8f5
8ceebc77709a8fe9a0e2ed63db175c39729ff4ea
refs/heads/master
2023-04-13T12:44:28.421150
2021-04-09T09:23:21
2021-04-09T09:23:21
320,511,319
0
0
null
null
null
null
UTF-8
Python
false
false
2,800
py
import argparse import os import json import multiprocessing from pomdp_runreplay import PomdpRunReplay from util import ReplayParams if __name__ == '__main__': """ Parse generic params for the POMDP runner, and configurations for the chosen algorithm. Algorithm configurations the JSON files in ./configs ...
[ "ludovic.sterlin@hinfact.com" ]
ludovic.sterlin@hinfact.com
872575137733eefdd93c6b8133bae73913127c46
819897ab3c1aefd1cc966312e722d6e18226697b
/samples/baxter/baxter_mugs.py
e6a78678f666c70fa8310be4131172a83b0fdc8f
[ "MIT" ]
permissive
msieb1/mask-rcnn
29bda1d79add2d83af9412e701bdf30cb085a751
535e6d02b22edc5624516a4eb139ddd480f75a34
refs/heads/master
2020-04-02T23:20:46.047757
2019-05-23T16:26:34
2019-05-23T16:26:34
154,864,394
0
0
null
null
null
null
UTF-8
Python
false
false
9,558
py
""" Mask R-CNN Configurations and data loading code for the synthetic Shapes dataset. This is a duplicate of the code in the noteobook train_shapes.ipynb for easy import into other notebooks, such as inspect_model.ipynb. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Writt...
[ "msieb@andrew.cmu.edu" ]
msieb@andrew.cmu.edu
842240a63093b1ea755d9ef1824ad3d6792f4177
9e658976a6fdfbe031fc3452c69243dc66359f6a
/pythonExercise/four.py
b4fadd64058df0da705a77f23dd57f2e54e2cff1
[]
no_license
zyyxydwl/Python-Learning
b2ed0f80121b284e5fb65cc212ccb84a0eb14cb6
6a5d36aa8805da647229fa747fa96452638d830e
refs/heads/master
2018-10-04T23:42:21.076668
2018-06-08T03:19:33
2018-06-08T03:19:33
107,348,411
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
#!/usr/bin/env python # -*- coding:utf-8 -*- #@Time :2017/12/2 9:57 #@Author :zhouyuyao #@File :four.py # 题目:输入某年某月某日,判断这一天是这一年的第几天? # 程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊情况,闰年且输入月份大于2时需考虑多加一天: # 程序源代码: # 实例(题目:输入某年某月某日,判断这一天是这一年的第几天? # 程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊情况,闰年且输入月份大于2时需考虑多加...
[ "1330101907@qq.com" ]
1330101907@qq.com
ad8ace3d9d368e692a32a964c2ad9c4e137f94dd
474b53e2dfbecab16d92fc44e8246b44fa2d840b
/NaiveBayes_Titanic/NaiveBayesTitanic.py
af1366cf7a34b0eeda5db147f20bb21ac4da3be2
[]
no_license
YYJIANG/classPatternRecognition
db98493b53f28149ad3b828a8e0cd95e6c0e0920
093dfd9d0a80abb126e73a8c3de8ff74d3e49699
refs/heads/main
2023-08-27T10:40:06.280524
2021-10-28T01:23:36
2021-10-28T01:23:36
413,449,657
0
0
null
null
null
null
UTF-8
Python
false
false
3,097
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 4 16:15:26 2021 @author: JYY """ import csv import numpy as np def dataProcess(filename='train.csv',a=0,b=1,c=4,d=5): '''读取csv文件''' train_data = [] with open(filename,'r',newline='') as f: csvreader = csv.reader(f) for line ...
[ "noreply@github.com" ]
noreply@github.com
8a62ea9c003ba8f15a6395525cc0affc3dd20b47
2b0f76f83969d5403e169909e95ec122bc6ac97f
/junk/vector2D.py
768387c6d9e87bf70a2403370b0e8b3499f2f15f
[]
no_license
Ankitdulani/Face-Potriat
64a65131876e3ddae4a0f5bea9e7fd84c1bb290a
322234ae350ab672a2aafcdbb536af23b5d2ca7c
refs/heads/master
2020-04-27T21:04:23.265249
2020-01-18T14:10:24
2020-01-18T14:10:24
174,683,235
0
0
null
2020-01-18T14:10:25
2019-03-09T11:03:29
Python
UTF-8
Python
false
false
545
py
import math class vector: def __init__(self, x = 0, y =0 ): self.x = (x) self.y = (y) def unitVector(self): mag = self.getModulus() if mag == float(0): return (vector2D()) return vector2D(self.x/mag, self.y/mag) def getModulus(self): return math.sqrt( self.x **2 + self.y **2) ## return vector...
[ "ankit.dulani@tesco.com" ]
ankit.dulani@tesco.com
a458806ec8505b651615e5e6abd60a4ff5f646ed
89f8181a659ecaf3af77740eb60e4031b654f728
/onestage/步骤2/utils/trans/__init__.py
c96e724b71b1a5dfd10448b3616e3d224f1afc96
[]
no_license
sealandsigh/python4stage
c6a3eb40ffdb54f7b77a9ae1b2406232b705d0e6
f2e08e7207e796cbb874f8a15f8fedbb24e7c7b0
refs/heads/master
2020-12-01T20:31:52.754076
2020-04-23T09:08:16
2020-04-23T09:08:16
230,760,233
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
# -*- coding: utf-8 -*- # __author__="jiajun.zhu" # DATE:2020/1/15
[ "zhujiajunzhu@qq.com" ]
zhujiajunzhu@qq.com
c81f32fd9551171eca3f5765147895606e3573ff
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2759/60610/245707.py
0d1aca295915e41bef3bdf5a5262c94f0f29f52f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
278
py
num=input(); for i in range(num): string=raw_input(); numList=string.split(); count=0 for j in range(int(numList[0]),int(numList[1])+1): a=int(numList[2]); b=int(numList[3]); if (j%a==0) | (j%b==0): count+=1; print(count);
[ "1069583789@qq.com" ]
1069583789@qq.com
2c041d0cdb86f298fb695188dd4cdb2a03070fe3
fa8016fd0f971a94bd1206b70ff19b9e709d8fa3
/First_site/First_site_2.py
c27f6e399ff29a669577ac0cf2346343611ec28e
[]
no_license
hannahphp/Web-Project-1
fea4276531ed484d45282e7c5bcd947b2ffd31f5
814c998dfb1f09127b44e0dd67012130fe529d31
refs/heads/master
2020-03-23T18:07:35.980453
2018-07-19T18:09:06
2018-07-19T18:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
12
py
First_site_2
[ "40395632+nsb27@users.noreply.github.com" ]
40395632+nsb27@users.noreply.github.com
3d5664d5e503269e5557e6b98623f3cb0c80edbc
e211000d0d843fd944266892f49a7649c7e8918d
/abc/065/python/code_c.py
fc52911095e41bda42258728f4b59ac2a5a9d1b0
[]
no_license
habroptilus/atcoder-src
63dfa16c6d4b80d1e36618377d3201888183281f
4cd54202037996b3f4a4442b1bd19d42d8a46db1
refs/heads/master
2020-04-26T07:14:38.322156
2019-06-08T14:44:26
2019-06-08T14:44:26
173,388,602
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
import math N, M = map(int, input().split()) if abs(N - M) == 1: print(math.factorial(N) * math.factorial(M) % (10**9 + 7)) elif N == M: print(math.factorial(N) * math.factorial(M) * 2 % (10**9 + 7)) else: print(0)
[ "x7deed53bc9k8@softbank.ne.jp" ]
x7deed53bc9k8@softbank.ne.jp
2af082e346df1acaa0004afb1d856e2c49d3ee69
6ac0b1f627976e7fcf69d41b723e155a01d689ce
/m.py
e14330dc53678e40d61224761ef1ec6a03c6b378
[]
no_license
MrFaxel/Sec
954ad750284fe6e33e820e6fb8f2a51941c14d3e
bf7746ab6199f8d746a1c6197b44f982aad01224
refs/heads/master
2022-12-04T12:32:57.340518
2020-09-02T22:41:40
2020-09-02T22:41:40
292,390,782
0
0
null
null
null
null
UTF-8
Python
false
false
2,268
py
#Compiler par Faxel #Twitter https://twitter.com/Faxel2020 import zlib , marshal , base64 from base64 import * exec(zlib.decompress(base64.b16decode('789CCD574B6FE33610BE1BF07F983A073B8B95B3B637ED26410EC576736A4F057A4916022D535E1614A925A9D42E7A29F6984B0BD82850A0A71E8B6C5CF4987FE35FD2A19E9622BF80855B82B0257238CF6F469CA3...
[ "noreply@github.com" ]
noreply@github.com
4c32d982753b0e4db0881f6e9c9fa2a743f9a9eb
a26b60ba7be3251b0cf95542b5b2bb539ca8cc7b
/donatingthings/migrations/0001_initial.py
3cdec032487be9d97bdf7f3f6fb213ee09d7d068
[]
no_license
rokesh27/wadd
3e663def9cf1c5bfa583fc7c99feb4130f6c68a9
ed50633af4d5b89b80d467a9330d3f0588332bb6
refs/heads/main
2023-07-07T00:54:10.970420
2021-08-11T21:19:16
2021-08-11T21:19:16
395,082,237
0
1
null
null
null
null
UTF-8
Python
false
false
2,044
py
# Generated by Django 3.2.1 on 2021-05-09 11:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='contactform', fields=[ ('id', models.BigAut...
[ "kmrokeshreddy@gmail.com" ]
kmrokeshreddy@gmail.com
fd6858277f5f415ab9122b3ca391257c09bda9a1
acaeef460a66ac90e01c28bdec80aa82828f2df6
/src/sort/__init__.py
45f40284a8c3f0e8badc2e9dfa812ce70e060458
[ "Apache-2.0" ]
permissive
dmvieira/algs
e1acd58c2f744dc4e7495ee2ab255eb4ceb7586f
bf88d026ecf7210f0a1d601b36d7fc82364bd46f
refs/heads/master
2020-05-02T01:58:14.427951
2019-04-13T16:55:53
2019-04-13T16:55:53
177,695,293
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
MAX_NUMBER_SIZE=100 class Sort(object): def __init__(self, sample): self.sample = sample
[ "diogo.mvieira@gmail.com" ]
diogo.mvieira@gmail.com
6eb9b2055a467de99b0a35b99f5c540e841ed140
7c135c7d34b1dd6dbad71e2ffa8d5b132a5e3fef
/Chat-dupe.py
bb4e67fd39066f6faf0168ce4a1a4d7adb804877
[]
no_license
theminshew/simplechat
02ef7a9c1683faaaea9e15f4204189fec4b19c4e
a8304782963a54d2ed9bd8c088bb2164e988ce70
refs/heads/Master-Primary
2021-01-20T06:54:32.800617
2018-02-07T21:08:41
2018-02-07T21:08:41
89,943,944
1
0
null
2017-05-18T19:58:58
2017-05-01T17:05:12
Python
UTF-8
Python
false
false
1,787
py
#initial prompting, basic raw_input to variable mapping age = raw_input (" How old are you? ") weight = raw_input (" How much do you weigh? ") real_weight = raw_input (" No really, how much do you really weigh? ") print " Hmm, ok lets see what I can do with that?" # timing inserts pause for simulated thinking effect im...
[ "michael.minshew@gmail.com" ]
michael.minshew@gmail.com
070d2ffacad8dbdcc16c98b9921ba3c9c2b5c0ca
3a21eac318260972a0f50aa6517bebd62d9634f3
/minimarket/settings.py
a6e40467c5437d3caa279c03850dc038c10d6db9
[]
no_license
alviandk/ahp
adaf735c2ad14cfffee41eca37df5ff2452e8812
60764c12bb30cd134bbce53d62cda835503191d2
refs/heads/master
2016-09-05T19:16:02.907235
2015-03-27T09:42:43
2015-03-27T09:42:43
32,963,488
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
""" Django settings for minimarket project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...)...
[ "alviandk@gmail.com" ]
alviandk@gmail.com
9ef217d20fb794abbb33d9876fd5f7161ca24886
5323eac10ecfbbd415c84333e2758c4b05e99aa0
/Practice_Class1.py
5d09060d922d8b41dd7f523003e915a6f228b862
[]
no_license
StanleyCY/Practice
f49b6cf8c501cf91a2ad69fa57c5025e53b786b4
ee05c3e1bde97fefe8bb45e6fae3eafb0df45b34
refs/heads/master
2020-03-30T09:48:57.780739
2018-10-03T00:58:23
2018-10-03T00:58:23
151,093,625
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
class personal(): __number = 18 #__兩個下底線的動作,將calss內的某個元素封閉起來,因此外界無法調用 def __init__(self,name,grade,age): self.name = name self.grade = grade self.age = age def walk(self): print('I always with',self.name) def talk(self): print('I always talk with other I\'m',self....
[ "chenyi_math@hotmail.com" ]
chenyi_math@hotmail.com
10e5d0ab383ecab54b9aadc82335bbeb4294a2c2
90a81de919ad18a2cd88c7f488a8b88136832be2
/data_ub_tasks/__init__.py
dfbaba9df0cd43e290583cabe5521a22ae2d6406
[]
no_license
scriptotek/data_ub_tasks
0305557ed8cebfc28e5cecbd83c3b4f83c708e58
66e4cfc3ffa94bdd2903d04e71aec5491fd43ffc
refs/heads/master
2023-01-10T10:49:00.809131
2023-01-01T20:53:06
2023-01-01T20:53:06
51,712,304
1
0
null
null
null
null
UTF-8
Python
false
false
28
py
from .data_ub_tasks import *
[ "danmichaelo@gmail.com" ]
danmichaelo@gmail.com
c5c561e0a70c1027a7c149cd7ffb4e4f5bb38d0f
9a9f31265c65bec0060271cd337580e7b4f3a7e9
/project/pokupka.py
81819a11dce3c4e08f65498d21c98238d72d5f98
[]
no_license
AnatolyDomrachev/1kurs
efaabde4852172b61d3584237611fe19b9faa462
84ed0dceb670ec64c958bf1901636a02baf8f533
refs/heads/master
2023-02-19T21:42:53.286190
2021-01-19T07:41:15
2021-01-19T07:41:15
292,637,199
0
1
null
2020-09-16T02:29:14
2020-09-03T17:32:29
Python
UTF-8
Python
false
false
586
py
import magazin import etc magazin = magazin.Magazin('magazin.conf') korzina = [] net_v_magazine = [] def pokupka(spisok): for slovar in spisok: est_v_mag = 'No' for tovar in magazin.tovary: if slovar['name'] == tovar['name']: kupil = etc.beru(slovar, tovar)...
[ "you@example.com" ]
you@example.com
84e8e2a34adc392dbabc3541f6defc2c829bdb23
a40f749cb8e876f49890ab8fbbbbf2c07a0dd210
/examples/ad_manager/v201902/adjustment_service/update_traffic_adjustments.py
60a54bd299660da60a8ece16a64cfb2643030b0a
[ "Apache-2.0" ]
permissive
ale180192/googleads-python-lib
77afff4c352ac3f342fc8b3922ec08873d6da5be
783a2d40a49956fb16ed73280708f6f9e322aa09
refs/heads/master
2020-08-10T15:20:06.051974
2019-10-11T07:06:58
2019-10-11T07:06:58
214,367,074
0
0
Apache-2.0
2019-10-11T07:04:21
2019-10-11T07:04:20
null
UTF-8
Python
false
false
3,009
py
#!/usr/bin/env python # # Copyright 2019 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...
[ "davidwihl@users.noreply.github.com" ]
davidwihl@users.noreply.github.com
068e2f98b0b9c31dd0661f4df08b136ee519f3a0
2978e1838c010007972e18e015ef7ae364d7ad1f
/jump7.py
83e200bf486a0e808abbc8c21d39617d57bb4afa
[]
no_license
GodLikesJ/shiyanlou-code
251f9441f11f371aa299ea2f991d60de27776024
d2e0c82d3a34599d7ebe5cecf07fb2fc1ecac2bc
refs/heads/master
2020-07-30T06:56:57.403696
2019-09-22T10:07:10
2019-09-22T10:07:10
210,125,592
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
for i in range(1, 101): if i%7!=0 and i%10!=7 and i//10!=7: print(i)
[ "987093510@qq.com" ]
987093510@qq.com
979286ffb46a102ab49df74f8383e498329ab818
e5eec1428da1d24d3e9b86f5723c51cd2ca636cd
/dynamic_programming/백준/가장큰정사각형_백준.py
4db92f7d4eee1a5199ea97cc10a52e85fa483fca
[]
no_license
jamwomsoo/Algorithm_prac
3c36c381f59277721517d331a8f1640399d80c1d
8393f3cc2f950214c47f3cf0b2c1271791f115d0
refs/heads/master
2023-06-09T06:49:14.739255
2021-06-18T06:41:01
2021-06-18T06:41:01
325,227,295
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
# 백준 DP 난이도 골드 5 # 전형적인 dp문제 # dp[i][j]는 위, 왼쪽, 대각선 위 중 작은 것중에 하나를 자신과 더한 값 # -> 정사각형이라면 변의 길이가 모두 같아야하므로 # 1 1 1 1 1 1 # 1 1 1 -> 1 2 2 # 1 1 1 1 2 3 n, m = map(int, input().split()) arr = [] dp = [[0]*(m+1) for _ in range(n+1)] for i in range(n): arr.append(list(map(int, input()))) for j in range(m):...
[ "41579282+jamwomsoo@users.noreply.github.com" ]
41579282+jamwomsoo@users.noreply.github.com
320c673db21bce86bbbec9d35d068e467d904230
ce79f454483beef0007337219d9415e5feabb0cc
/6/scripts/py_bash.py
93089bb40f79bad8f789d185757f81b179562cdd
[ "MIT" ]
permissive
mohisen/zdotfiles
5be5417dca38f93f44443566737effc0cd0d3514
8c127d0e9ffdc43f9bc12a9d79a1690df063c2b4
refs/heads/master
2021-01-01T17:02:58.296952
2017-01-30T02:08:44
2017-01-30T02:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
import commands result = commands.getoutput("ls")
[ "tazjel@gmail.com" ]
tazjel@gmail.com
41b484284addb15b16578a1ec7343aec2a1fc131
24f85f41cc42f6829d9e711b8cf5355a1b944284
/rest/schema.py
791cedf334f2df5d8319fd7ac50282173d7fe81d
[]
no_license
djm158/rest
4a03d87b3625917cd591b055cde2c64403a08b3c
d52631781adbec7a2a0a848c7f62e8797d1ae3d3
refs/heads/master
2020-12-18T14:55:31.471706
2017-07-14T15:28:04
2017-07-14T15:28:04
235,427,617
0
0
null
2020-01-21T19:45:23
2020-01-21T19:45:22
null
UTF-8
Python
false
false
2,413
py
class Schema(object): @classmethod def combined_errors(self, *args): errors = [] for schema in args: errors.extend(schema._errors.items()) return dict(errors) def __init__(self, **kwargs): self._fields = self._get_fields() self._errors = {} for name, field in self._fields.items():...
[ "tom@vistarmedia.com" ]
tom@vistarmedia.com
1449e09c9233293ca4022000600e95acfe938497
f24b229ac4ee0c0a94e48c400be4b52a7a585871
/home/apps.py
0a6d0b19dce6f1c25e2ae31d407f6fa52c5004ec
[]
no_license
RudreshVeerkhare/GroupChat
462c0f9c98949d418fa10cb2aaf173c8352419ba
39ddaaee0e5d0f36d4e44ae2b16f3a6440171259
refs/heads/master
2021-06-19T11:29:34.372870
2021-03-26T14:40:55
2021-03-26T14:40:55
193,379,367
28
6
null
2021-03-26T14:40:56
2019-06-23T17:57:19
CSS
UTF-8
Python
false
false
134
py
from django.apps import AppConfig class HomeConfig(AppConfig): name = "home" def ready(self): import home.signals
[ "noreply@github.com" ]
noreply@github.com
09e856c62ec6b5f6165f16429120e91e6ae6aea2
019c733ea5c77d04003cd7d828b1e016d7b838b5
/contrib/wallettools/walletunlock.py
a1390d55baac73b4b10acfaa83266f406eb8ce4b
[]
no_license
rsjudge17/Appcoins
ee986ddb60096d7516f84999aa9f67badf0ab9d7
f1311cd289d8c5f55a6efed5922e88c286c90f6e
refs/heads/master
2021-01-15T20:18:52.857056
2014-03-20T11:05:36
2014-03-20T11:05:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from jsonrpc import ServiceProxy access = ServiceProxy("http://127.0.0.1:16556") pwd = raw_input("Enter wallet passphrase: ") access.walletpassphrase(pwd, 60)
[ "appcoinman@outlook.com" ]
appcoinman@outlook.com
132158a21c498725862cc23ae626f36d7f28db28
0c41f2fd4c1ad9b954097b0662e556b3eb288987
/cellbender/remove_background/data/priors.py
3989769165ab538647ccca8e672a97fca80bd06d
[]
permissive
broadinstitute/CellBender
e884a5520fc3e0fc2f422f8cd6dcdc6c594b5094
4990df713f296256577c92cab3314daeeca0f3d7
refs/heads/master
2023-08-21T14:55:33.619290
2023-08-08T18:40:14
2023-08-08T18:40:14
171,951,233
207
40
BSD-3-Clause
2023-08-30T05:27:18
2019-02-21T21:53:57
Python
UTF-8
Python
false
false
15,821
py
"""Functionality for estimating various priors from the data""" import numpy as np import torch from scipy.stats import gaussian_kde from cellbender.remove_background import consts from typing import Dict, Tuple, Union import logging logger = logging.getLogger('cellbender') def _threshold_otsu(umi_counts: np.nda...
[ "noreply@github.com" ]
noreply@github.com
e6f76f3ae72d3982282bf5277e7aba4a0ec5c316
218ad2898e2851f97eb2fb166d2811c80da11a34
/e17-01.py
1eb5fbf035bf21f213d2dec84766b24c80d5963e
[]
no_license
mariane-sm/python_scripts
650b862ab797fa5bfa05fe1052814597ccdf352c
d8ba8c998cb635b155519cd18b7be7cc034395a0
refs/heads/master
2021-01-02T22:30:40.089088
2015-06-06T21:50:41
2015-06-06T21:50:41
35,857,281
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
import copy def calc(n, out, solutions): if sum(out) == n: out.sort() solutions.add(tuple(out)) else: for number in [2,3,7]: x = copy.deepcopy(out) x.append(number) if is_valid(x, n): calc(n, x, solutions) def is_valid(out, n): return sum(out) <= n z = set() calc(12, [], z) print z;
[ "mariane.machado@gmail.com" ]
mariane.machado@gmail.com
47186bd9b8e23ac196e3ad4e78bae3502606a8d1
ed72519cec8f7ca796cd7871c3e4875d852381f7
/layers.py
34addd78fd1d4c842197f01bf208d0683709133f
[ "MIT" ]
permissive
kivicode/keras_layers
140b23228caab68a8eee05dbbed8d65c5bae3f45
e37f70bee1ff39b574895eebc4eee1f2acb4993e
refs/heads/master
2023-07-09T23:54:00.669055
2021-08-10T15:51:44
2021-08-10T15:51:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,154
py
import numpy as np import tensorflow as tf from tensorflow.python.keras import backend as K from tensorflow.python.keras.layers import Layer, Lambda from tensorflow.python.keras.layers import InputSpec from tensorflow.python.ops import nn_ops from tensorflow.python.keras import initializers, regularizers, constraints...
[ "markus.voelk@gmx.de" ]
markus.voelk@gmx.de
71240c639014721fc67dd2c7ff9f05d6c32de443
095a1c126ffaf703d923431ce5279a0dac384740
/timecard/views/auth_views.py
f01ca3273a967bcb926fb3d487993405f8ebdcb9
[]
no_license
patpio/timecard
8bc5c6dbfc3877157dc8bfca7f9f5debd1e7b486
f4a2f2db69410a2b98d9815fbac5048ba8c47126
refs/heads/master
2023-03-22T15:51:06.658738
2021-01-12T22:42:44
2021-01-12T22:42:44
321,773,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,926
py
from flask import Blueprint, render_template, url_for, flash, request, abort from flask_login import login_user, logout_user, login_required, current_user from werkzeug.utils import redirect from timecard import db from ..models import User from ..forms import SignUpForm, LoginForm bp_auth = Blueprint('auth', __name_...
[ "pat_pi@yahoo.com" ]
pat_pi@yahoo.com
3b08d5e5012c6be97d95a34bfaa3fb73f3314425
de9272f47f10a4dd35a10be5c3e0cab31b66feb4
/udpClient-message.py
4b3f72f94452f8abe65373e64c56cbc0646628d2
[]
no_license
ipwave-hackathon-ietf/ipwave-hackathon-ietf-106
1dafcb7de3f3f60a89fa056dea6a44ba9eea12b9
f2015c07bba4e15f4c42012bc3a8dcff9a8840e2
refs/heads/master
2021-06-27T12:18:48.770298
2021-03-03T06:55:04
2021-03-03T06:55:04
220,438,550
5
0
null
null
null
null
UTF-8
Python
false
false
524
py
#!/usr/bin/python2 # by Yiwen Shen (SKKU) # Email: chrisshen@skku.edu import socket import time # IPv4 # server = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # IPv6 server = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM) # server.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) server.settimeout(0.2) #...
[ "shenyiwen7@gmail.com" ]
shenyiwen7@gmail.com
dafd10119274e9bc8f0ee8f596204f2095fbc05a
f823db6961fd815b10a8828188d7b2ab58a1f699
/testchild.py
e8b0c714f9ca3ceb6f4cb88343760c6f8f210842
[]
no_license
mariosebastian-bit/testrepo
26f9262c52b96ac93f2fd41cee3f137353b45b84
22eea3f0b58e5e9ceb44d1d0729ab3ae39ef9d1e
refs/heads/main
2023-03-03T15:29:43.840495
2021-02-08T09:21:27
2021-02-08T09:21:27
336,845,049
0
0
null
2021-02-08T09:21:28
2021-02-07T17:22:07
null
UTF-8
Python
false
false
44
py
## TESTCHILD print ("inside the testchild")
[ "noreply@github.com" ]
noreply@github.com
5399e23352d99fa49189fb77253df88e8639566e
eb82022c0cfc7c8747661cff9624ad2099fa1c3f
/dev_accounting_report/report/sales_delivery_out_rekap_xls.py
195552276cf5b3294ff059aa939ef9c184ff83a4
[]
no_license
dadysuarsa/Odoo
8d026a066c390cc8f72805d2672212e61260c1cb
c9becd0c192fa239520ad3e1a11d81f70832eddf
refs/heads/master
2023-03-11T06:02:06.011575
2021-02-26T02:17:37
2021-02-26T02:17:37
276,346,540
0
0
null
null
null
null
UTF-8
Python
false
false
5,299
py
import time import xlwt, operator from odoo.report import report_sxw from report_engine_xls import report_xls from odoo.tools.translate import _ from datetime import datetime import pytz class ReportStatus(report_sxw.rml_parse): def __init__(self, cr, uid, name, context=None): super(ReportStatus, self).__i...
[ "dads02_zetti@yahoo.com" ]
dads02_zetti@yahoo.com
bc8a973ecdbf81c7111b5f9094c7a8318ec65860
5d1106528200b8c55e4147dbd7ba7a987dbfa368
/src/warzone/warzone.py
bc5187e00aa789289d9dc1c1d870399445b401f8
[ "WTFPL" ]
permissive
Tyewrwerree/warzone
d5d1683dbac559e6cf9689395905e987bc099140
f2d4e0944138ef82f63a2212e9804b3a1e920749
refs/heads/master
2023-05-03T14:35:43.615159
2014-05-26T06:34:45
2014-05-26T06:34:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
#!/usr/bin/env python import argparse import warmerise import interpreter as warzonecmd def main(): parser = create_parser() args = parser.parse_args() #if args.email and args.password: # session = warmerise.login(email=args.email, password=args.password) # pprint(vars(session)) interpreter = warzonecmd.War...
[ "fake.saneki@gmail.com" ]
fake.saneki@gmail.com
866b56f8009fd7f8a034eff87f37008c86df78d1
c79bc3b25aac5f958da011119bf71fcca534bd1a
/hostedpi/cli.py
9b5ae581de90ba5a42336748f8ef5c6dfe1b4a90
[ "BSD-3-Clause" ]
permissive
gnuchu/hostedpi
c4ff4d398bcc8fde0d2d421f8a67b315c40fcc33
325e8035e0bf671daeabb4d696eb5b36a6daa12d
refs/heads/main
2023-03-31T04:07:17.604847
2021-03-28T00:10:22
2021-03-28T00:10:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,699
py
import os import sys import argparse from .picloud import PiCloud from .utils import read_ssh_key, ssh_import_id from .exc import HostedPiException from .__version__ import __version__ class CLI: def __init__(self): self._args = None self._commands = None self._config = None self....
[ "ben@bennuttall.com" ]
ben@bennuttall.com
84fbbae6519e6ef37d423e06fad72516f396cfc5
38902540746c70149ffdfe8e8dc11be0afa14e27
/Homework2/code/ui/pages/segments_page.py
66541a94e77ca1c249dfb03929ec816a1c5a928f
[]
no_license
bubenchikus/2021-1-MAILRU-SDET-Python-V-Tarasenko
a214835bf20c2b28a86450e3809d24350703d48d
9053f430010fcdc221b815028ad79c8a743117db
refs/heads/main
2023-05-12T06:54:09.209535
2021-06-01T00:25:52
2021-06-01T00:25:52
351,537,046
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
from ui.pages.base_page import BasePage from ui.locators.page_locators import SegmentsPageLocators class SegmentsPage(BasePage): locators = SegmentsPageLocators() def go_to_create_new_segment(self): self.driver.get('https://target.my.com/segments/segments_list/new/') def create_segment(self, se...
[ "noreply@github.com" ]
noreply@github.com
eea30e56bd7ad538bbff6138eacfdae145a7a558
72ca10a09bb5d760b2ad6aaed1fdf3b1d2a11421
/manage.py
7b5306d285cedc439c308386e1ed5f95a76ab651
[]
no_license
zhaluza/django-polls-app
fd4002a19dcae30b6ebb1293cbd6aae3b650eaf0
fa9504467541b25b363937b07fb4811c92221884
refs/heads/master
2021-04-14T20:44:19.919929
2020-03-30T02:02:44
2020-03-30T02:02:44
249,265,020
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'docs_tutorial.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "zac.haluza@gmail.com" ]
zac.haluza@gmail.com
bab08e55bdf13a41319af498b14816e44e7fcf85
b6c4fdb823af6b3295b33949f37b8a008610db7a
/3jet/3jet_UFO/decays.py
953903333a52d441a4395a6b50645028ef995063
[]
no_license
tymorrison/gridpacks
d041f6390ea34a340ae0d7805de3c6ee26708c7e
3909df96fd87b290be5edab995a7e4f167c401c2
refs/heads/master
2021-07-03T18:38:52.863659
2017-09-24T19:49:14
2017-09-24T19:49:14
104,660,009
0
0
null
null
null
null
UTF-8
Python
false
false
12,760
py
# This file was automatically created by FeynRules 2.3.21 # Mathematica version: 10.3.1 for Mac OS X x86 (64-bit) (December 9, 2015) # Date: Thu 20 Oct 2016 00:50:38 from object_library import all_decays, Decay import particles as P Decay_b = Decay(name = 'Decay_b', particle = P.b, p...
[ "tyler.philip.morrison@cern.ch" ]
tyler.philip.morrison@cern.ch
08842649a48eb36c8cf0554d9be65a5eb137f4a6
006ff11fd8cfd5406c6f4318f1bafa1542095f2a
/CondTools/L1Trigger/test/L1ConfigWriteRSOnline_cfg.py
64fa0d8ce4623c21378f8483b5e825899465cb4e
[]
permissive
amkalsi/cmssw
8ac5f481c7d7263741b5015381473811c59ac3b1
ad0f69098dfbe449ca0570fbcf6fcebd6acc1154
refs/heads/CMSSW_7_4_X
2021-01-19T16:18:22.857382
2016-08-09T16:40:50
2016-08-09T16:40:50
262,608,661
0
0
Apache-2.0
2020-05-09T16:10:07
2020-05-09T16:10:07
null
UTF-8
Python
false
false
8,202
py
# This script doesn't work yet. PoolDBESSource does not see the IOV updates made earlier in the # same event. import FWCore.ParameterSet.Config as cms process = cms.Process("L1ConfigWriteRSOnline") process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger.cout.placeholder = cms.untracked.bool(Fals...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
55303a17c04c8a0efbd951d112b3225f0d9cb8b7
48983b88ebd7a81bfeba7abd6f45d6462adc0385
/MOG/50.py
4f0d7d569452389c938806754ec6d5d1f0269de2
[]
no_license
lozdan/oj
c6366f450bb6fed5afbaa5573c7091adffb4fa4f
79007879c5a3976da1e4713947312508adef2e89
refs/heads/master
2018-09-24T01:29:49.447076
2018-06-19T14:33:37
2018-06-19T14:33:37
109,335,964
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
# author: Daniel Lozano # source: MatcomOnlineGrader (MOG) ( http://matcomgrader.com ) # problem name: El Numero Decodificado # problem url: http://matcomgrader.com/problem/50/el-numero-decodificado/ n = int(input()) count = 1 def digits_sum(num): add = 0 while num != 0: add += num % 10 num ...
[ "lozanodaniel02@gmail.com" ]
lozanodaniel02@gmail.com
e8ee91c193ae03c4cb6b080a67303d266cfd31f9
29fba8902c6af23622c675992cab8e3d85cf94de
/AIver3.py
91e3c28701f04826af0a3ba9b235ea1257cb77f1
[]
no_license
gulmohar96/Backup_holly
04b078885c97d439b2723f947db071f3b46935d5
66fd8bffce4a08061393e3966f09dd9f44834bed
refs/heads/master
2021-01-10T11:03:00.198410
2016-01-11T03:28:19
2016-01-11T03:28:19
47,603,289
0
0
null
null
null
null
UTF-8
Python
false
false
4,142
py
## _____________OOP Representation____________ ## class Resources(object): def __init__(self,food = 100,sleep = 100,water = 100): self.sleep = sleep self.water = water self.food = food def copy(self): return Resources(self.food, self.sleep, self.water) ## _____IGNORE THIS AS OF...
[ "gulmohar96@gmail.com" ]
gulmohar96@gmail.com
7e45cbd57f56b0f0355d5458456b103b18c6e5ce
aefba5494d3eb3a04ee7c3d11058023447710529
/api/models.py
5de18ecac8682d7653abe1898ab2a52416ad5d63
[]
no_license
752217726/jwt
511691bc9e6381b558bf3859b91186e70e12d161
4b80f60a2e6b811a3661c0d0749e1cc1182af390
refs/heads/master
2022-11-20T11:27:59.198913
2020-07-07T17:47:58
2020-07-07T17:47:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class User(AbstractUser): phone=models.CharField(max_length=11,unique=True) class Meta: db_table="api_user" verbose_name="用户" verbose_name_plural=verbose_name def __str__(se...
[ "752217726@qq.com" ]
752217726@qq.com
8edeeff5764b44cd45bbf5cb023c0d6da482a2ff
3f8cce815acefa97deb3d971415c6f869e106bee
/firmware/python/handlers.py
bc6bf6b6742fc75e5aeb8eb054c699a8b42aaeb3
[]
no_license
enricocirignaco/berry_case
ced80e2140d8b75b87c3952476d82f50152b0eef
8f60dcbe62bf01d76fa8928c66271d89aa8d7e08
refs/heads/master
2023-06-11T09:50:46.820588
2021-06-29T12:14:12
2021-06-29T12:14:12
271,569,305
1
3
null
2021-03-09T09:24:21
2020-06-11T14:34:48
Python
UTF-8
Python
false
false
8,620
py
# Project: berry_case # File: handlers # Autor: Enrico Cirignaco # Created: 29.11.2020 # Import modules ############################################################################# import time import oled_display import parameters import globals import subprocess import fan is_yes_state = False is_fan_...
[ "e.cirignaco@gmail.com" ]
e.cirignaco@gmail.com
517bd5acebde99e8880d3c59fab298bdb6e1de60
6032d8dd4ce8e80c68f5a543fdd367c2f05b0681
/SConstruct
188cd329642b28f85b35351a7a6a754d3fc96322
[ "BSD-2-Clause" ]
permissive
drakedevel/nethatch
dc8b6f478884457345c7ee6d90954a4ee30c3378
0187871129d223f9905ac50367a0e30cac285ef7
refs/heads/master
2021-06-08T08:55:40.509717
2011-05-09T23:51:03
2011-05-09T23:51:03
2,227,979
0
0
null
null
null
null
UTF-8
Python
false
false
135
# -*- Mode: Python -*- Program('nethatch', ['Main.cc'], CC='clang', CXX='clang++', LIBS=['pcap', 'net'], CXXFLAGS=['-g'])
[ "adrake@andrew.cmu.edu" ]
adrake@andrew.cmu.edu
22b9583d4e86075bcd2f54a1ae3c118d1a1510ef
0bb49acb7bb13a09adafc2e43e339f4c956e17a6
/OpenAssembler/Gui/OAS_Window/oas_main04.py
92052edb6cc3e03aebcd64f5fd56a89706efd491
[]
no_license
all-in-one-of/openassembler-7
94f6cdc866bceb844246de7920b7cbff9fcc69bf
69704d1c4aa4b1b99f484c8c7884cf73d412fafe
refs/heads/master
2021-01-04T18:08:10.264830
2010-07-02T10:50:16
2010-07-02T10:50:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,262
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'oas_main04.ui' # # Created: Wed Jul 15 10:23:49 2009 # by: PyQt4 UI code generator 4.4.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_oasWindow(object): def setupUi(self, oasWin...
[ "laszlo.mates@732492aa-5b49-0410-a19c-07a6d82ec771" ]
laszlo.mates@732492aa-5b49-0410-a19c-07a6d82ec771
acc5140eed459a8d0031c36fe860025d7d8e74cc
a05107c0603a4e5bc4015da023ff8b3f3d3feb43
/scratch/zip_func.py
0196e0f033348c9e6488f92b90fc70364f97343a
[]
no_license
kokomyoheinhtet/justAScratch
408377bd521c398aee79b4b55517e1867e1009aa
f7aa385131c8083f1f18b6f1f94797a85c98c943
refs/heads/master
2023-05-05T19:44:56.519003
2021-05-28T02:50:37
2021-05-28T02:50:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
name = ["Max", "Mike", "Dustin"] roll_num = [10, 11, 12] house_num = [22, "2B", "GF"] z = list(zip(name, roll_num)) print(z) z = list(zip(name, roll_num, house_num)) print(z)
[ "kokomyoheinhtet@ascendcorp.com" ]
kokomyoheinhtet@ascendcorp.com
0cbdef8a37a86fe2d3b1635440bd6bb69bce25a1
c516970a5be83f1267876ae389ac724e91d324d1
/tests/sample.py
44499a6ce912a84202bba16d6bd25ff8db6b9e3d
[ "Apache-2.0" ]
permissive
thaichat04/conciliator-python
5938f6bec5da85057099501223930b0f2fb9e559
30063c658bd234a10674098711c3651ceca1c5ef
refs/heads/main
2023-04-29T07:51:02.543089
2021-05-18T14:27:28
2021-05-18T14:27:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
import conciliator as cc import json import datetime config_file = 'password.json' config = json.load(open(config_file, 'r')) #cc.connect(config['onetenant']['username'], config['onetenant']['password']) cc.connect(config['selecttenant']['username'], config['selecttenant']['password'], config['selecttenant...
[ "pdechastellier@dhatim.com" ]
pdechastellier@dhatim.com
d7addf1ab910c3b3d0915f35ba5d16cbad4c059c
cbcb602f3ce73794b926323381dfc9ca65c6f8d4
/python_practise/strings.py
410cc9372f127bd079937dfe0be4e4dd6a0f2d76
[]
no_license
medesiv/ds_algo
820ab7eaab64e5f34b211daae58dce961ca0ef11
70cb1ee0cdc1ddec93861aef56610f7def1472e1
refs/heads/master
2023-07-16T21:41:04.682282
2021-08-31T17:12:32
2021-08-31T17:12:32
372,052,748
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
#Strings: ordered, immutable, text representation my_string = 'I\'m a programmer\n' who_rules = """"who """"rules" print(my_string+who_rules)
[ "medesiv21@gmail.com" ]
medesiv21@gmail.com
6d7a2f0794f08d46abf1e59b99592168d8106756
824fc4e1cd5369d8049f34d6913d605ef5440db3
/chap3_11_practice.py
a5a6da87503a4f3f7f35829373ce866885d3f55f
[]
no_license
rainbowchang/PythonProject
dcd57e77ec80c1afe423af5bf7df1f143dd7cd0a
4362786fc265926b1f8259a5e2bbf016b26fb518
refs/heads/master
2022-12-05T04:14:38.119357
2020-08-26T11:56:39
2020-08-26T11:56:39
284,892,367
0
0
null
null
null
null
UTF-8
Python
false
false
2,441
py
import requests import smtplib import schedule import time from bs4 import BeautifulSoup from email.mime.text import MIMEText from email.header import Header account = input('请输入你的邮箱:') password = input('请输入你的密码:') receiver = input('请输入收件人的邮箱:') index = 0 # index的目的是让程序只运行两次就结束 def movie_spider(): res_movies = ...
[ "rainbow_chang@gotmail.com" ]
rainbow_chang@gotmail.com
454b50fa8f0f2c29380704440f1aae41aa362ceb
45fc9f8a678deb918e7e2c71116812e7e9793047
/cms_test/wsgi.py
e9d452fb71367d70dd646842b013ccd1cf962103
[]
no_license
SanjivVajra/Django-CMS-test
ce48852f0cdb7abdb225f26731bdec1e87588a30
a7d76242861f2b8cea854c976b868d25dbe91a1c
refs/heads/master
2021-06-14T14:23:54.624077
2018-05-07T09:03:52
2018-05-07T09:03:52
131,136,988
0
0
null
2021-06-10T20:16:14
2018-04-26T10:05:38
Python
UTF-8
Python
false
false
394
py
""" WSGI config for cms_test project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "kv.vajra@gmail.com" ]
kv.vajra@gmail.com
9f64b6fde8ce5918644f9e426104b18db422e7c5
f881c10e0d654da82218403dbd2adbdc606dc455
/apps/user_login/models.py
96fff17dd9d564cfa7fed5ca4f762658b6b74462
[]
no_license
alialwahish/restfull_users
1732dceeddf4367d678ff6cdf2668dbc95463182
24d00811b2b46b33e5cf5c311367bd153344dc70
refs/heads/master
2020-03-17T15:37:13.562082
2018-05-16T20:05:21
2018-05-16T20:05:21
133,717,438
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from __future__ import unicode_literals from django.db import models class dojo(models.Model): name=models.CharField(max_length=255) city=models.CharField(max_length=255) state=models.CharField(max_length=2) class ninjas(models.Model): first_name=models.CharField(max_length=255) last_name=models.C...
[ "bayati.ali@icloud.com" ]
bayati.ali@icloud.com
44097da54a0bb03ac14196712111a1489a956689
172d8623d20d374bee782c3eb08a5e2b5382f412
/python/s3_boto3.py
22a5c98b6f60bb3b7dd4c85ed335cfc1011560b7
[]
no_license
Abhishek24094/dev
8124702e3e7da04eb626bd88cbfcc1a0645a8cae
17d6bbc1bc371e60a69f646340e2d851a8a94899
refs/heads/master
2021-06-30T15:56:35.505092
2020-09-25T08:10:52
2020-09-25T08:10:52
162,133,457
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
#proper clarification for requirement is required import boto3 s3_resource = boto3.resource('s3') s3_resource.create_bucket(Bucket=YOUR_BUCKET_NAME, CreateBucketConfiguration={'LocationConstraint': 'eu-west-1'}) s3_resource.Bucket(first_bucket_name).upload_file(Filename=first_file_name, Key=first_file_name) s3_resource...
[ "noreply@github.com" ]
noreply@github.com
6e5bfeee02160589220079caf6d6e3e3b76ab585
629090051b975b5814b4b48e2cb2c784fa6705e4
/pgsmo/objects/sequence/sequence.py
58b4198fa17dee038f943fed6dd518f8db8054e6
[ "MIT" ]
permissive
microsoft/pgtoolsservice
3d3597821c7cae1d216436d4f8143929e2c8a82a
24a048226f7f30c775bbcbab462d499a465be5da
refs/heads/master
2023-08-28T12:55:47.817628
2023-08-25T22:47:53
2023-08-25T22:47:53
80,681,087
68
35
NOASSERTION
2023-09-13T21:46:55
2017-02-02T01:00:33
Python
UTF-8
Python
false
false
6,637
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
noreply@github.com
ce9b8310408ce87449d91271d25e7ac0f517de18
ec2028b4aa5c75559bb5aced9bc3edfcd4b3ad10
/lists/urls.py
ebf149f51b5fd1777abc83ac451abf4722d959b5
[]
no_license
macvatsal/Superlists
04a59b9c62673904df52f8e6828d8b582b58e82f
d0d14b9f1d6628bf19b1383027598772e3ace927
refs/heads/master
2022-12-20T14:53:58.964981
2020-10-01T07:01:44
2020-10-01T07:01:44
300,179,608
0
0
null
2020-10-01T07:00:34
2020-10-01T07:00:33
null
UTF-8
Python
false
false
845
py
"""superlists URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "jaydenshepard@gmail.com" ]
jaydenshepard@gmail.com
5133ca2f594fe1d6dbb95d3a5eabeedc56a82b41
114b9483d72bb6027d6f88a00fab43972177f2e9
/setup.py
942ef5db97bc494cc7d2110177e34d3a0916a319
[]
no_license
dmose/Selenium-Proxy
f1326b054dbe7e24631f76c419d04d927364e856
e959332a08f4d9d56957ff8ae6370aabc4daec8d
refs/heads/master
2021-01-18T07:48:55.882296
2012-08-10T14:53:51
2012-08-10T14:53:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,217
py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup setup(name='SeleniumProxy', version='0.1.0', description='A shim that allows t...
[ "dburns@mozilla.com" ]
dburns@mozilla.com
826d4da8cc659583c4853fb4e2bd9de5bafa1d8d
3d12ddf42d8bf8503792506ff52e7f2e45ecbc76
/prep/evaluate.py
cdfe6218d7ec5552c36ac475e40ec33cf01889f6
[]
no_license
Jinhojeong/Thermal_Display
5f4849410864dc2ddfa43e7d76ae8b51dd31abf8
16f64f373899db381b68c95e274363b9c1aec5fd
refs/heads/main
2023-06-13T03:15:44.526154
2021-07-08T01:29:04
2021-07-08T01:29:04
371,365,383
0
0
null
null
null
null
UTF-8
Python
false
false
2,239
py
import tensorflow as tf import numpy as np from sklearn.model_selection import KFold import matplotlib.pyplot as plt import datetime import os from tqdm import tqdm from config import config #'LSTM40_2hidden_tanhtanh_6432_201109' date = 201130 model_name = '10_2LSTM4020_4hidden_tanhs_641286432_sgfon_201116' model = ...
[ "noreply@github.com" ]
noreply@github.com
cf524498c3c354af1507470178228b9d04709912
9ab59fd67ef2ab343cc3036d2f9d0ad68ab887c5
/Python/word order.py
16a8fbd52ea859f51078c0bf030ace2c343c62d0
[]
no_license
Arifuzzaman-Munaf/HackerRank
ff094dfc6d8a618ab9c54db4460c5190c81583bf
5fd9b6ffa3caf3afddba5d6f35978becf989d3b8
refs/heads/main
2023-06-16T01:09:11.371654
2021-07-14T15:28:53
2021-07-14T15:28:53
385,230,007
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
n = int(input()) distinct = {} for i in range(n): word = input() if word not in distinct : distinct[word] = 1 else : distinct[word] = distinct[word] + 1 print(len(distinct)) for i in distinct.values(): print(i , end=' ')
[ "noreply@github.com" ]
noreply@github.com
048383c825e457044d8a854820e5a6f4faa3051e
76b49bab52dc088828816bf00605471af4536dbc
/cliente/tags/releases/es/rel-1.0.0/password/formulario.py
b9161472b2b974dd775f15370ce37cd505855af9
[]
no_license
mboscovich/Kerberus-Control-Parental
a5352d53c588854805f124febf578345f3033ed2
5025078af9ebdcf7b3feb4b0d5efa6cbde6e6a37
refs/heads/master
2020-12-24T16:58:51.288519
2015-05-25T15:18:25
2015-05-25T15:18:25
23,494,363
1
2
null
null
null
null
UTF-8
Python
false
false
6,546
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'formulario.ui' # # Created: Sat Dec 24 18:02:56 2011 # by: PyQt4 UI code generator 4.8.5 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except Attr...
[ "mboscovich@users.noreply.github.com" ]
mboscovich@users.noreply.github.com
b010903e25916100bf14853c50f2dc3195a2f161
c773ff87e9b0f5e444332b48850f63beee033066
/tests/test_pipeline.py
25b00e475021eacce1654c771166a594e14fc529
[ "Apache-2.0" ]
permissive
DavydovDmitry/absa
f3a3ecd2fbb520c004d98251d22411301ec9aa45
d9da45c2070c00de9ec379dd59f43ff4b5116267
refs/heads/master
2022-12-08T12:27:47.921273
2020-09-05T23:28:39
2020-09-05T23:28:39
293,034,019
2
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
import os from absa.utils.embedding import Embeddings from absa.utils.nlp import NLPPipeline from absa.utils.dump import make_dump, load_dump from absa.io.input.semeval2016 import from_xml from absa.preprocess.dependency import dep_parse_reviews from . import SemEval2016_filename, test_dumps_path, RAW_POSTFIX, DEP_POS...
[ "davydofdmitry@gmail.com" ]
davydofdmitry@gmail.com
b36eebd7908fc5bfc69460c3026340ba9b970673
79bd286af3547115f59944f6aee24d0a8d45db04
/ex/sml231n/W1516_A3/cs231n/classifiers/rnn.py
c65d423806ea6927f22c6dd18575e2bd71f1bb18
[]
no_license
rxl194/cpcv102
aa003c15cbc25d86582b7804af55a28322403f4f
be200650701d34087afabf3cbe97e1f1ea5c383f
refs/heads/master
2023-02-25T15:01:54.214787
2022-09-24T23:16:23
2022-09-24T23:16:23
82,126,640
0
0
null
2023-02-10T20:22:41
2017-02-16T01:47:21
Jupyter Notebook
UTF-8
Python
false
false
12,694
py
import numpy as np from cs231n.layers import * from cs231n.rnn_layers import * class CaptioningRNN(object): """ A CaptioningRNN produces captions from image features using a recurrent neural network. The RNN receives input vectors of size D, has a vocab size of V, works on sequences of length T, has an RN...
[ "Rendong_Lin@yahoo.com" ]
Rendong_Lin@yahoo.com
00a381aeb7167105dd238935079539892169d20b
903cbb9e85a4a236086b07a9a76413431955359e
/2015/Day22/day22.py
667f344c9a0fe9346b8699e997820d53f6705f4a
[]
no_license
mjmeli/AdventOfCode
80a07cd18404bf315a6dd19f384f178ec47cf8b1
5f7baedbb6bec4e53bc7e94a5c268b79d70cd159
refs/heads/master
2021-01-10T06:46:08.010431
2016-12-02T16:56:32
2016-12-02T16:56:32
47,277,975
0
0
null
2015-12-07T00:08:10
2015-12-02T17:48:20
C
UTF-8
Python
false
false
3,618
py
import sys, random, time, copy from spells import * from players import * from enum import Enum """ Possible results from each turn """ class TurnResult(Enum): none = 0 player_cant_cast = 1 player_dead = 2 boss_dead = 3 """ Execute a Player's turn """ def playerTurn(player, boss, spell, hardMode): ...
[ "mjmeli94@gmail.com" ]
mjmeli94@gmail.com
32a9080820f79c628edcd8a11fb345d860e9800a
28b1ed1359bd9539f9a15b64663652ec4eb3f284
/Week_12/matplotlib_example.py
301f43223dac2683ae8891d160b23ec806636397
[]
no_license
achapkowski/Python_for_GIS_and_RS
5fb68cbe1d46f28487e2a41099cf42b942587afa
9b5d8da6b7bdbbfaa2f45b20d8704c317a86e785
refs/heads/master
2021-01-20T02:12:01.785780
2017-04-24T22:44:08
2017-04-24T22:44:08
89,385,947
1
0
null
2017-04-25T17:02:35
2017-04-25T17:02:35
null
UTF-8
Python
false
false
1,115
py
import xlrd file_and_path = r"C:\Users\greg6750\Documents\IPython Notebooks\Python_for_GIS_and_RS\Week_12\SENZA_0_SUNAA_0_CORN.xlsx" print("Reading Workbook") workbook = xlrd.open_workbook(file_and_path) worksheet = workbook.sheet_by_index(0) freq = [] g = [] t = [] print("Creating Arrays") for row in range(workshee...
[ "gbrunner@esri.com" ]
gbrunner@esri.com
d86627e50f23f2b9e75214dbd1da6239295523e1
4e7faaa81c7d46e3a3f98fe8ae3686809485a5f5
/main.spec
a2b2a2f4ecdca508da6f590f7771e7bc466aa96c
[]
no_license
sayntan4u/phoenix
7122f32f9ba8c6e8dbe6507ef3ad0f7806898f2d
438903301cc057dc425f04cd120ae3f373e58e30
refs/heads/main
2023-07-11T07:40:30.676620
2021-08-22T16:43:52
2021-08-22T16:43:52
398,310,782
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['main.py'], pathex=['C:\\Users\\Sayantan\\Desktop\\test\\generated_code'], binaries=[], datas=[], hiddenimports=[], hookspath=[], hooksconfig={}, ...
[ "noreply@github.com" ]
noreply@github.com
cc2c2fe551e045dfe76ee595c5264c0e7f1b2859
1fc4a82d425568b983faaf15dd45caff43d557e5
/src/pythongraph/pygraph/algorithms/heuristics/Euclidean.py
e4f32f024ab19f0dfdbf620fb78b56d5c7e43179
[ "MIT" ]
permissive
rajeshhcu/TemporalPlanning
72464adb39fba88c7ed7827c5d1e659892477857
caa87d40e5d427c48b2a3442d1d0235f4864ba9c
refs/heads/master
2020-12-31T07:33:53.185920
2017-03-29T02:42:08
2017-03-29T02:42:08
86,528,906
0
0
null
null
null
null
UTF-8
Python
false
false
3,469
py
# Copyright (c) 2008-2009 Pedro Matiello <pmatiello@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, including without limitation the rights to use, # copy,...
[ "rtonukun@cisco.com" ]
rtonukun@cisco.com
1d2727bcd9c1d0f2832ab7c4d16b0e3365b13eaa
5a28841b8598ad3bfc9aac824a2d556278f006aa
/rgbd_seg/models/encoders/enhance_modules/registry.py
771c2051c5d35fef2e2cab50b2a5a6a802d6120a
[ "Apache-2.0" ]
permissive
thanyu-hub/ShapeConv
ac60b332c89ea7c51f6d1e3fd310ea200123e9a2
25bee65af4952c10ed4e24f6556765654e56575f
refs/heads/master
2023-07-15T02:02:49.077406
2021-08-30T11:13:21
2021-08-30T11:13:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
from rgbd_seg.utils import Registry ENHANCE_MODULES = Registry('enhance_module')
[ "lhc3538@gmail.com" ]
lhc3538@gmail.com
c674b0a58e029302461e9515a02b8d8294b99a98
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/website_sale/models/product.py
a5439d9d8d7175fb044e2fceb1e9f39ddba127a7
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
20,408
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. from odoo import api, fields, models, tools, _ from odoo.addons import decimal_precision as dp from odoo.addons.website.models import ir_http from odoo.tools.translate import html_translate class ProductStyle(models.M...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
b9d1aac37da008912ab199a5366e09629d26f0ea
90d9af671b450db0c601b97a09a7b83d48093474
/base/urls.py
37891abf98597cde7635fb5896b1001857819e38
[]
no_license
Kailash-Sankar/agog
24a4ff95f607d2c43ce7fe4d435b8ff769ac04bb
2a94bdb471f38de693a98fd5b07c4c84dbada278
refs/heads/master
2020-12-24T12:32:56.995381
2018-11-11T09:32:12
2018-11-11T09:32:12
72,984,097
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
from django.conf.urls import url from . import views urlpatterns = [ #Home url(r'^$', views.home, name='home'), url(r'^dashboard/$', views.dashboard, name='dashboard'), #Auth url(r'^login/$', views.user_login, name='login'), url(r'^logout/$', views.user_logout, name='logout'), #meta d...
[ "kailash.sankar@outlook.com" ]
kailash.sankar@outlook.com
25081511c362930e4fc1566bff2d190c95181841
7fe74e56cd991cb5f4af96daf99193bfbf5af065
/GetData/GetSPECvsHS06data.py
0a239187ec2f8c2f4671e23ae7a36dc80158e82f
[]
no_license
TristanSullivan/CSBS_BMPaper_Analysis
a42f844fb53044f1b0679b8aa108039ece9bfa49
4d1e990d79dc721782190bb06987c3cfd458b443
refs/heads/main
2023-07-23T15:25:11.548398
2021-09-03T22:32:50
2021-09-03T22:32:50
402,901,176
0
0
null
null
null
null
UTF-8
Python
false
false
6,567
py
# Code to extract the data for Figure 1 of the 2021 CSBS Paper import datetime import pandas as pd import json # data file and fix "dashes" filename = 'es_bmk_2018-06-27.pickle' pdf0 = pd.read_pickle(filename) pdf0.columns = [i.replace('-', '_') for i in pdf0.columns] # Print keys #for x in pdf0.keys(): # print(...
[ "tssulliv@uvic.ca" ]
tssulliv@uvic.ca
595b484f51cb641a44fd9d996752f386eb520b68
49f5d57221f9715a635669380da1facad93d29cf
/rest_api_calculator/calc/utils.py
064db2f2b216d24ef6f191166f6b241ddb04cd0c
[]
no_license
marimuthuei/django-rest
35aef6253b8b7c6d5cbd348accee304ad40a3e9c
8398ef89f7f728b9d6d7af0384ee54667b7466e1
refs/heads/master
2022-04-30T17:42:09.286819
2021-04-15T07:39:22
2021-04-15T07:39:22
209,269,881
1
0
null
2022-04-22T22:24:18
2019-09-18T09:27:21
Python
UTF-8
Python
false
false
897
py
import math from rest_framework.exceptions import APIException, ValidationError from core.settings import FACTORIAl_MAX def calculator(operator, a, b): result = None try: if operator == "add": result = a + b elif operator == "sub": result = a - b eli...
[ "noreply@github.com" ]
noreply@github.com
a20f2c17ed8c730672b800ca5e82bdf5b3c6fd1e
b377977d942a7af3052374af064fc17f30b1e76e
/_objective_function.py
a3697cfbd7454caf9905839ece971886ab23cdbd
[]
no_license
qhyseni/CB-CTT
4c510c3c74fa0849a01a23bf963d0cbb68988594
2ddd098987aefc2eebbec748b7945036ea0340a9
refs/heads/master
2021-06-15T17:40:19.238246
2021-02-27T21:13:36
2021-02-27T21:13:36
158,017,374
1
1
null
null
null
null
UTF-8
Python
false
false
12,169
py
import xml_to_od from Models.penalty import penalty from Experiments.statistics import statistics class objective_function: def __init__(self, type, instance_data): self.instance_data = instance_data self.type = type # Penalty scores self.penalties = penalty(type) # Objecti...
[ "Sw1086Xk2797" ]
Sw1086Xk2797
9c8e67cc920ea70707ebc82a24b5f442408fbdc6
07e6d38e8ad4f0b6c327e720f73f9cdf7567b1d0
/src/main/java/com/ipnet/bl/evaluationbl/python/SmartEvaluationDao.py
9e0988f65bdf96143cf4bbb31f981bf3d3a8e482
[]
no_license
YottaLee/IPNET
851bfde982b6ec9059ff468caf830cbb6fd38baa
80c9ce618c917dafe6083c34530d81e1408f2cc6
refs/heads/master
2020-03-22T19:06:03.944672
2018-11-17T06:54:52
2018-11-17T06:54:52
140,504,866
1
2
null
null
null
null
UTF-8
Python
false
false
840
py
from setup import mysql # 执行sql def saveEvaluation(patent,value): with mysql() as cursor: cursor.execute("select patent_id from patent where patent_name = \""+patent+"\"") patentId = cursor.fetchall()[0]['patent_id'] cursor.execute("select * from evaluation where patentid = \""+patentId+"\"...
[ "739312347@qq.com" ]
739312347@qq.com
a7d182b1f7306bd17a60d4829a749ec58ebd4878
cce056258115ff589a658d5cb3187e4145471e3f
/2020 Spring:natural language process/EXP 4:CNN-based NMT/代码/model_embeddings.py
5df1c84c17500d1f365c21c18debea7b972341ff
[]
no_license
huochf/Course-Experiments
cd74c2de92a02bea9565d349fefefd8fa76997b4
a91fd21582b3ac5d8fcaf1f12c4f0814cc4675db
refs/heads/master
2023-06-08T08:43:49.962942
2020-09-24T01:53:24
2020-09-24T01:53:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,488
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CS224N 2019-20: Homework 5 model_embeddings.py: Embeddings for the NMT model Pencheng Yin <pcyin@cs.cmu.edu> Sahil Chopra <schopra8@stanford.edu> Anand Dhoot <anandd@stanford.edu> Michael Hahn <mhahn2@stanford.edu> """ import torch import torch.nn as nn # Do not cha...
[ "noreply@github.com" ]
noreply@github.com