blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
2eeffdd8c3020e37afbc8d10c78ce45a43dcaedc
d66818f4b951943553826a5f64413e90120e1fae
/hackerrank/Algorithms/Sansa and XOR/test.py
0acd8aa3d243d22b0bb3960e90776737e4c2f308
[ "MIT" ]
permissive
HBinhCT/Q-project
0f80cd15c9945c43e2e17072416ddb6e4745e7fa
19923cbaa3c83c670527899ece5c3ad31bcebe65
refs/heads/master
2023-08-30T08:59:16.006567
2023-08-29T15:30:21
2023-08-29T15:30:21
247,630,603
8
1
MIT
2020-07-22T01:20:23
2020-03-16T06:48:02
Python
UTF-8
Python
false
false
414
py
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): self.assertEqual(solution.sansaXor([1, 2, 3]), 2) self.assertEqual(solution.sansaXor([4, 5, 7, 5]), 0) def test_case_1(self): self.assertEqual(solution.sansaXor([98, 74, 12]), 110) self.ass...
[ "hbinhct@gmail.com" ]
hbinhct@gmail.com
bc6409d0e34de0d45a0418c21d256f6a2c8d974a
94f5bae62a2ed5bf5bd69995d9604c191b6333a0
/Projects/GAE/src/lib/django/django/core/handlers/wsgi.py
7de39edbf7140313155fd2abf85c79229f74ac9c
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
sethc23/BD_Scripts
5eef664af935fb38ad28581faaedb51075338553
989d62b77ca70d239ae3cf99149c5215f6e6119e
refs/heads/master
2020-04-12T17:36:17.600971
2017-02-22T09:46:27
2017-02-22T09:46:27
30,630,547
2
0
null
null
null
null
UTF-8
Python
false
false
7,025
py
from django.core.handlers.base import BaseHandler from django.core import signals from django.dispatch import dispatcher from django.utils import datastructures from django import http from pprint import pformat from shutil import copyfileobj try: from cStringIO import StringIO except ImportError: from StringIO...
[ "ub2@SERVER2.local" ]
ub2@SERVER2.local
1a435a6353df4d2cdd46951b75bba2167209852b
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/unsignedShort/Schema+Instance/NISTXML-SV-IV-atomic-unsignedShort-enumeration-5-1.py
f6a8a0805c472994db4b6ddcc5b59b64cc19dcd2
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
589
py
from output.models.nist_data.atomic.unsigned_short.schema_instance.nistschema_sv_iv_atomic_unsigned_short_enumeration_5_xsd.nistschema_sv_iv_atomic_unsigned_short_enumeration_5 import NistschemaSvIvAtomicUnsignedShortEnumeration5 from output.models.nist_data.atomic.unsigned_short.schema_instance.nistschema_sv_iv_atomic...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
0ee7ed54c0ee20becb3aac6b32eb9b1e4fa7f9f6
c2f7566a917be17be73cae0fb949a24d6908d1f9
/tests/tests_algorithms/test_baseline.py
27c62b14d6df094c4963172ae91f64861a986160
[ "MIT" ]
permissive
jeisc/mljar-supervised
12a70a8e658e7dfdc8ddf06f9526e163a9bc62f2
aaa34592745433d1531bcef43598865c81ef8bae
refs/heads/master
2022-11-13T19:47:12.774939
2020-07-10T07:15:46
2020-07-10T07:15:46
278,840,661
1
0
MIT
2020-07-11T10:38:49
2020-07-11T10:38:49
null
UTF-8
Python
false
false
2,455
py
import unittest import tempfile import json import numpy as np import pandas as pd from numpy.testing import assert_almost_equal from sklearn import datasets from supervised.algorithms.baseline import ( BaselineClassifierAlgorithm, BaselineRegressorAlgorithm, ) from supervised.utils.metric import Metric impo...
[ "pplonski86@gmail.com" ]
pplonski86@gmail.com
be4958600f59d45a52c317b203f36744286231a0
6005185e6ed7e1329d8973b78a112bbe17dc5f32
/users/models.py
1464dbe20c874089c1314e15dc0d9cdac586b715
[]
no_license
emetowinner/blog_app
126de438d2824a4323f19c3d4e0dc930c7f1c370
8519c57513240d69fc8a5e507c2a6605edd088db
refs/heads/master
2022-08-11T12:46:45.607542
2020-05-21T09:55:31
2020-05-21T09:55:31
265,810,165
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
from django.db import models from django.contrib.auth.models import User from PIL import Image class Profile(models.Model): age = models.IntegerField(blank=True, null=True) country = models.CharField(blank=True, max_length=100) state = models.CharField(blank=True, max_length=100) city = models.CharFiel...
[ "emetowinner@gmail.com" ]
emetowinner@gmail.com
aad64141da6d68c5afc538319875d84dc9b83c5b
b72d355d84eb9bf41b58e3fdfcfeaf7ac1b0b15d
/001_plot_from_matrices.py
1b72d09516434f052bce6067b2f73e3fa097b6fd
[]
no_license
lmether/CoupledBunchAnalysis
3a53819c30b025d5f5fc0a052b8be05484bc10d2
dfe1ec82faf767ca085a319699029e131be2f057
refs/heads/master
2020-05-13T22:32:17.038588
2018-12-09T18:46:04
2018-12-09T18:46:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
import sys, os import numpy as np import matplotlib.pyplot as plt import myfilemanager as mfm tag = 'test3_on_HPC_25ns' tag = 'test9_on_HPC_25ns_correct' tag = 'test11_on_HPC_25ns_more_slices' tag = 'test12_onHPC_288b' ob = mfm.myloadmat_to_obj(tag+'_matrices.mat') x_mat = ob.x_mat y_mat = ob.y_mat n_mat = ob.n_m...
[ "giovanni.iadarola@cern.ch" ]
giovanni.iadarola@cern.ch
40b5be076ad0458e8fd6327d23d4b799d0787c44
f60b0c051d8ba5088dc4246679b870f577646bb0
/146 Mon, 23 Apr 2012 13:15:26.py
6fdcd57c1811c4c3e04019979990ded18c2a44ea
[]
no_license
joopeed/lp1
bbd11fe7749356828a16fc45703e010db5d35464
117bf769a048ec1dff53f779b26c9e7adec052ba
refs/heads/master
2021-01-02T22:50:08.600553
2014-04-03T21:15:40
2014-04-03T21:15:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
# Date: Mon, 23 Apr 2012 13:15:26 +0000 # Question 146 # JOAO PEDRO FERREIRA - 21211940 ## PROGRAMACAO1 - UFCG 2012.1 - JORGE ABRANTES ### QUESTAO 146 def num_espacos(labirinto): conta=0 for i in range(len(labirinto)): for j in range(len(labirinto[0])): ...
[ "joopeeds@gmail.com" ]
joopeeds@gmail.com
50b6152c6cd68b015eec65191ff7ecdcc3901a61
2652fd6261631794535589427a384693365a585e
/trunk/workspace/Squish/src/TestScript/UI/suite_UI_53/tst_UI_53_DeviceTypeBox_NewDevices/test.py
c4a944169ef67e16b04f2b44e9be62ea1f48d3c1
[]
no_license
ptqatester1/ptqa
88c652380167f64a953bfd7a65041e7d8ac48c90
5b5997ea459e9aac17db8da2041e2af331927104
refs/heads/master
2021-01-21T19:06:49.275364
2017-06-19T03:15:00
2017-06-19T03:15:00
92,115,462
0
0
null
null
null
null
UTF-8
Python
false
false
2,135
py
###################### #@author: Pamela Vinco ###################### from API.ComponentBox import ComponentBoxConst from API.Utility.Util import Util from API.Device.Hub.Hub import Hub from API.Device.EndDevice.TV.TV import TV from API.Device.EndDevice.PC.PC import PC from API.Device.EndDevice.VoIP.VoIP import VoIP fr...
[ "ptqatester1@gmail.com" ]
ptqatester1@gmail.com
990ffe710c092da93d93a6e4c124f78eb639a504
c247bf9c750a3198a7433892ed75890840544447
/main.py
47eb9981ff42817ca0bd2af13c7b9dbfdb72e6ca
[]
no_license
johnkerl/python-package-skeleton
10484a8627a3e0df44ef625c1e75797163c5169e
8260ed5ff76a59ba546490da429ed0ed9bc15fb6
refs/heads/main
2023-04-10T03:17:33.702822
2020-08-02T21:11:51
2020-08-02T21:11:51
283,578,402
1
0
null
null
null
null
UTF-8
Python
false
false
150
py
#!/usr/bin/env python import foopkg.foofile for n in range(1, 11): print("%4d %4d %4d" % (n, foopkg.foofile.square(n), foopkg.foofile.cube(n)))
[ "kerl.john.r@gmail.com" ]
kerl.john.r@gmail.com
27ba49e7d85475e810ec5211ee3b4325df7687b8
7a67a87b56d4f394409a8162428c14e3fe63b3bd
/02-web-starter/final_2_blue_yellow_app/setup.py
49f681c4f44541aa7e6019acca66a7195ce7d026
[ "MIT" ]
permissive
rvsp/python-for-entrepreneurs-course-demos
8a80710742ff5da0cc7a779a140bf549c744f37b
c3d9222e20ceade92f4bdd80ec2cb89c55898be0
refs/heads/master
2023-02-17T22:44:48.281254
2021-01-06T04:25:06
2021-01-06T04:25:06
117,702,387
0
0
MIT
2021-01-06T04:25:07
2018-01-16T15:33:30
Python
UTF-8
Python
false
false
1,211
py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.txt')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() requires = [ 'pyramid', 'pyramid_chameleon', 'pyramid_d...
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
28382fe7674ffa9caadf66bfdd4f4abb7387cc91
73dc6b3fdb07592f10b8e02b7ca053deb61a2dc9
/msof_api/comments/models.py
9916e16a93b312f954bc6a513a019cb6ccb5c5e9
[]
no_license
likelion-kookmin/msof_api
4143c09f93b68d219aa20de3bd57ec544c2bdf32
f9fec7d31ebdb465a8935711da715db6d87c0fce
refs/heads/develop
2023-06-28T15:35:45.240871
2021-07-31T16:38:35
2021-07-31T16:38:35
347,298,658
3
1
null
2021-07-31T16:38:36
2021-03-13T07:02:56
Python
UTF-8
Python
false
false
2,217
py
"""# comments models - Comment: 답변/댓글 """ from django.db import models from accounts.models import User from msof_api.base_model import BaseModel from msof_api.questions.models import Question class Comment(BaseModel): """## Comment - 답변 클래스 """ STATUS_CHOICES = ( ('T', 'Trash'), # ...
[ "singun11@kookmin.ac.kr" ]
singun11@kookmin.ac.kr
68fe7a20ad47914159c5bc40182bebdf45b51434
e111233b264eb57467ca12562a3f1d91155f0d18
/일분배.py
747205091e8c55a3f7fe61a4fc1ad2dce383c0d8
[]
no_license
01090841589/ATM
d440a112a47937d11f4c4d8df6817a76971c0888
44fa856a033d15c9281d2597f1b67ee5cec09934
refs/heads/master
2020-07-05T13:24:35.080738
2019-08-29T08:33:24
2019-08-29T08:33:24
202,659,466
7
0
null
null
null
null
UTF-8
Python
false
false
646
py
def search_num(N, cnt, gone, total): global result if total < result: return False if cnt >= N: result = max(result, total) return False for i in range(N): if gone[i] == 1: continue gone[i] = 1 search_num(N, cnt+1 , gone, total*mat[cnt][i]) ...
[ "chanchanhwan@naver.com" ]
chanchanhwan@naver.com
1aa71b443f66c0abcd4bd19b3105cbe65fb0e056
41a7ffb65224e972da82479806c764df25586a1e
/lesson-19/guess-secret-number/main.py
332ab5c126aa0e41b87616b8c1b5c7974144c08f
[]
no_license
smartninja/wd1-py3-exercises
554005a72b5b10eee323800e96eea12e1920877d
8980a0df03bceb9273122ea25124b3c8cc9bd62c
refs/heads/master
2023-05-13T11:38:59.988978
2022-03-04T12:16:57
2022-03-04T12:16:57
165,922,043
3
64
null
2023-05-02T21:31:37
2019-01-15T20:53:58
Python
UTF-8
Python
false
false
1,991
py
import random from flask import Flask, render_template, request, make_response, redirect, url_for from models import User app = Flask(__name__) @app.route("/", methods=["GET"]) def index(): email_address = request.cookies.get("email") if email_address: user = User.fetch_one(query=["email", "==", ema...
[ "matej.ramuta@gmail.com" ]
matej.ramuta@gmail.com
b94e708b343f0d40111d3c027c28efa78d91ce3a
79b9b2ddbd5bd87219c12005d894feb2b7ff1172
/pic24lib_all/default/SCons_build.py
ab921e22c04c059fddcd2a7462f1ffdf31062950
[]
no_license
kpow525/MSU_ECE4723
f9b47ce52918940805c47084d1f5be64f07fa28b
2fe722c9a40f69b0beca91544d0b8c680d201701
refs/heads/master
2022-12-03T17:51:06.738332
2020-08-19T17:31:21
2020-08-19T17:31:21
288,791,416
0
0
null
null
null
null
UTF-8
Python
false
false
6,286
py
# .. "Copyright (c) 2008 Robert B. Reese, Bryan A. Jones, J. W. Bruce ("AUTHORS")" # All rights reserved. # (R. Reese, reese_AT_ece.msstate.edu, Mississippi State University) # (B. A. Jones, bjones_AT_ece.msstate.edu, Mississippi State University) # (J. W. Bruce, jwbruce_AT_ece.msstate.edu, Mississippi Stat...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
c14b049d9a926f3ced2b33442f1d62428318b668
b68e3b8485ea8bef9fc7b3cbf6baa98a51fa533f
/section6/lesson74.py
ad212553695f3f08fb14c2ebe566b9dc549df222
[]
no_license
Naoya-abe/siliconvalley-python
7936b7e779072b23e16c9d50cca44c2e0bf6eb5f
8d226adaea839b64b1e5eb62985349b5bb2e1484
refs/heads/master
2021-05-20T14:40:47.682812
2020-04-27T02:02:43
2020-04-27T02:02:43
252,336,229
1
0
null
null
null
null
UTF-8
Python
false
false
591
py
# 標準ライブラリ # url:https://docs.python.org/ja/3/library/index.html # 今回はよく使うcollectionsを使ってみよう from collections import defaultdict # 特定のアルファベットの個数をカウントする s = 'foearjgietsghnrfjbjr' p = 'fjrifghnetsigulrshli' w = 'fairgjfeorsgjrsbnjld' # 方法1 d = {} for c in s: if c not in d: d[c] = 0 d[c] += 1 print(d) ...
[ "n.abe@gemcook.com" ]
n.abe@gemcook.com
3637b43a875a35cbabb2bd1b54870b625f21e482
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03464/s591112702.py
86a3636c4c640683462fc0916a09cf7022d8e7ac
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
K = int(input()) A = list(map(int, input().split())) l = 0 r = 10 ** 20 while r - l > 1: m = (r + l) // 2 N = m for a in A: N = (N//a)*a if N > 2: r = m else: l = m upper = l l = 0 r = 10 ** 20 while r - l > 1: m = (r + l) // 2 N = m for a in A: N = (...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
459dcd8c7be00e41ec7c9c4ff531a83f204da1f0
1e4c3ea6fadfd2bcffe900a784009e59c9e33202
/Push/consts.py
c215242b0ca5e217635be7f15e1967367b0a2e1a
[]
no_license
mjimserra/AbletonLive9_RemoteScripts
e762e0c761f0af88fc1b9a8b42ef4dec2df02f72
d08eb29fbf1ac4d12f73841023375059de5ba29a
refs/heads/master
2021-05-27T21:34:04.962364
2014-08-03T22:49:15
2014-08-03T22:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,598
py
#Embedded file name: /Users/versonator/Jenkins/live/Binary/Core_Release_static/midi-remote-scripts/Push/consts.py from _Framework.Resource import DEFAULT_PRIORITY import sys DISPLAY_LENGTH = 72 DISPLAY_BLOCK_LENGTH = 18 HANDSHAKE_TIMEOUT = 1.0 SCROLL_SIDE_BUTTON_STATES = {'Pressed': 'DefaultButton.On', 'Enabled': 'Def...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
d28ad03df2cb29541f9b7cc26d804da553829a18
13f5984be7be77852e4de29ab98d5494a7fc6767
/100Cases/1-50/num38矩阵对角线之和.py
e183a6ebc8bfc4110b4b41a109165fb12586ef0d
[]
no_license
YuanXianguo/Python-Interview-Master
4252514763fc3f563d9b94e751aa873de1719f91
2f73786e8c51dbd248341559de171e18f67f9bf2
refs/heads/master
2020-11-26T18:14:50.190812
2019-12-20T02:18:03
2019-12-20T02:18:03
229,169,825
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
"""题目:求一个3*3矩阵主对角线元素之和""" """row1,row2,row3 = [],[],[] sum = 0 for i in range(3): m = eval(input("输入矩阵第一行:")) row1.append(m) for i in range(3): m = eval(input("输入矩阵第二行:")) row2.append(m) for i in range(3): m = eval(input("输入矩阵第三行:")) row3.append(m) sum = row1[0] + row2[1] + row3[2] print(sum)"""...
[ "736913978@qq.com" ]
736913978@qq.com
379fc23ec193a599ff6c67eb030a3ca4ab0d94e8
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/ABC/230_e.py
dea9c35fa36de51b579f4b71d3a5f8df5c768968
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): import sys input = sys.stdin.readline from pprint import pprint import math INF = 1 << 63 def do(): n = int(input()) import math ...
[ "kanai@wide.ad.jp" ]
kanai@wide.ad.jp
232933f5c8b5d582b3fae005db2225ca4fa39c18
4caef3af76c47abc171753f7a8da612418351217
/11.py
2d1698c7f5a28b517080cee74b1c637f8432549d
[]
no_license
iopasd753951/WiL
53028b54fcba21ceed6e66b2a2b47b89fe9f1b30
5ae26fe3b0bc922db044cb3f3dd296bbbcc7ff3a
refs/heads/master
2020-03-26T07:40:14.274970
2018-11-05T14:34:47
2018-11-05T14:34:47
144,664,670
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
y = dict(zip(range(1, 11), [2 ** i for i in range(1, 11)])) print(type(x)) for x in y: print('2**{} - {}' . format(x, y))
[ "iopasd753951@gmail.com" ]
iopasd753951@gmail.com
b4ef027dc5e6abba548d13253e0ccd1179b46fe9
fdb9bdc6c4ab2f14ba71e544493706d5e275899f
/fhir/resources/STU3/contactpoint.py
1a38b37253881c1476230796a8c4dd4b39e5a49d
[ "BSD-3-Clause" ]
permissive
nazrulworld/fhir.resources
6ae8aea8180c611b0c5050759c6dcdf63e4cb061
1fd6ea476b27b3fcb8c4ef8f23bc51cf161e69e3
refs/heads/main
2023-08-30T18:27:27.277249
2023-07-03T19:57:06
2023-07-03T19:57:06
165,297,877
256
83
NOASSERTION
2023-08-24T15:34:05
2019-01-11T19:26:41
Python
UTF-8
Python
false
false
3,785
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/ContactPoint Release: STU3 Version: 3.0.2 Revision: 11917 Last updated: 2019-10-24T11:53:00+11:00 """ from pydantic import Field from . import element, fhirtypes class ContactPoint(element.Element): """Disclaimer: Any field name ends wi...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
d51abab7f6e06eb8f873aa2c4e45e6857688aa62
65296a5ebffe1f0d4d49a3be02114fb8896e1b29
/prawoauth2/PrawOAuth2Mini.py
e33b1e38af7e38e33877784c4e103f96f6015823
[ "MIT" ]
permissive
avinassh/prawoauth2
b76872e6ff8f887971f4e3f67fd0654260cfa097
f4181290204fff6bc34775daa8fa96e2aea0dd01
refs/heads/master
2023-09-04T06:59:00.522063
2023-08-17T04:17:21
2023-08-17T04:17:21
38,559,496
34
10
MIT
2023-08-17T04:17:22
2015-07-05T06:37:27
Python
UTF-8
Python
false
false
4,104
py
#!/usr/bin/env python import time import praw __all__ = ['PrawOAuth2Mini'] REDIRECT_URL = 'http://127.0.0.1:9999/authorize_callback' SCOPES = ['identity', 'read'] EXPIRY_DURATION = 3500 class PrawOAuth2Mini: """ Creates a `PrawOAuth2Mini` instance. `PrawOAuth2Mini` meant to be used in the bot and it ...
[ "hi@avi.im" ]
hi@avi.im
280454a161d1d3d5fb0449927e223a3fabda00fb
97c79f584f8378622cb0c9744409bc5816a86ac4
/callSlidingWindow.py
eec2aefa3de5fa463dac7e3e82a941cb8a905887
[ "MIT" ]
permissive
kapitsa2811/uTAB
2e5178ca9c5d0a77dce177af4c21ec503db6f855
5915c43db521575693181bc040cebce2f10c1158
refs/heads/master
2020-06-11T01:26:20.078151
2019-09-02T13:45:16
2019-09-02T13:45:16
193,815,381
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
from slidingWindow_1 import * ''' this function calls sliding window location: it is assumed that at this location cropText,cropSegment (to store output of sliding_Window) are present it is also assumed that imageWord , segWord containing training images are present ''' location = "/home/kapitsa...
[ "noreply@github.com" ]
kapitsa2811.noreply@github.com
a7b8ed9e5614fa410d11a89a1eac03e51d38b535
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03006/s316611747.py
0a8e3890a1de78a87944ba4afaff9b44fab1210b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
from sys import stdin nii=lambda:map(int,stdin.readline().split()) lnii=lambda:list(map(int,stdin.readline().split())) n=int(input()) xy=[lnii() for i in range(n)] xy.sort(key=lambda x:x[0]) pq=[] for i in range(n-1): for j in range(i+1,n): t_p=xy[j][0]-xy[i][0] t_q=xy[j][1]-xy[i][1] pq.append([t_p,t_q]...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
89a481b8732756000bf3b4297960eeac4572baaa
de707c94c91f554d549e604737b72e6c86eb0755
/supervised_learning/0x05-regularization/5-dropout_gradient_descent.py
4ad9afa525e47d621e3a37d4762e2c648d3aac7c
[]
no_license
ejonakodra/holbertonschool-machine_learning-1
885cf89c1737573228071e4dc8e26304f393bc30
8834b201ca84937365e4dcc0fac978656cdf5293
refs/heads/main
2023-07-10T09:11:01.298863
2021-08-11T03:43:59
2021-08-11T03:43:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
#!/usr/bin/env python3 """ Defines function that updates the weights with Dropout regularization using gradient descent """ import numpy as np def dropout_gradient_descent(Y, weights, cache, alpha, keep_prob, L): """ Updates the weights with Dropout regularization using gradient descent parameters: ...
[ "eislek02@gmail.com" ]
eislek02@gmail.com
da160b1d7059171e6ca57b04bbbd15e915ca3cdb
26329cc5464a2aa69a2bc1636c71772efafdd467
/lab 15/GameObjects/Mesh.py
38b293fd89deb92320ac2655a144d698cfb081f0
[]
no_license
ThomasMGilman/ETGG-2801_2
e71030d7368a929a24e20efddae346bd6b3a6173
209b37e79bd32fc41a544c29bf050e77f91bc71f
refs/heads/master
2020-07-11T13:44:58.623191
2019-12-04T04:22:32
2019-12-04T04:22:32
204,556,761
0
0
null
null
null
null
UTF-8
Python
false
false
5,878
py
from utilityLibs.ImageTexture2DArray import * from utilityLibs import glCommands from toolLibs.math3d import * import os class Mesh: def __init__(self, f, path="assets"): self.fname = os.path.join(path,f) self.materialDict = {} curMat = None VertexPoints = [] # Vertex Vec3...
[ "Thomas.Gilman@ymail.com" ]
Thomas.Gilman@ymail.com
0f8c543e9fb48ddc35808e7339611286f5bb10ed
c792b076cdf8c943c344d90b21817dd501c165ab
/hackerrank/Interview Preparation Kit/Mark and Toys.py
47999a830f5b5750fbdb3a9b70d13817e46c6209
[]
no_license
Jdoublee/CodingTestPractice
d68afa38e64de67aa53ab8c6569e07e7b310a83d
83eb2b84f63d55808a5e9b014e023b72bf4a4e9e
refs/heads/master
2023-06-02T16:48:52.913402
2021-06-16T13:34:40
2021-06-16T13:34:40
290,072,409
6
0
null
null
null
null
UTF-8
Python
false
false
621
py
#!/bin/python3 import math import os import random import re import sys # Complete the maximumToys function below. def maximumToys(prices, k): res = 0 prices.sort() for price in prices: if k - price >= 0: res += 1 k -= price else: break ret...
[ "hyewon3429@gmail.com" ]
hyewon3429@gmail.com
f02d139481df4966f2b59a0b8a490e941682f619
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_210/215.py
b9cce247935dc3f183ed0cbabf679decefab1509
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
import sys import math import heapq from collections import deque import random import sys sys.setrecursionlimit(10000) def get_toks(instrm): return instrm.readline().rstrip().split() def get_ints(instrm): return [int(s) for s in get_toks(instrm)] def parse(instrm): ac, aj = get_ints(instrm) acts =...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a5f62a9008b2ac777594a8c01f8691da391ea3da
b70eb5577099f88ae9f684f2c87647f98e26d42b
/hpc-historias-clinicas/historias/migrations/0004_auto_20150408_2342.py
8e4964eea0647074bbfda6a4e18443a84fdfdb4d
[]
no_license
btenaglia/hpc-historias-clinicas
be1a392a119a72055ba643fba9c9a09b740aef47
649d8660381381b1c591667760c122d73071d5ec
refs/heads/master
2020-06-03T19:05:17.910077
2015-06-10T23:05:31
2015-06-10T23:05:31
32,827,786
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('historias', '0003_auto_20150408_0019'), ] operations = [ migrations.AlterField( model_name='ubicaciones', ...
[ "brunomartintenaglia@gmail.com" ]
brunomartintenaglia@gmail.com
1cb3a1d893b3877e5d365648fc84e0fb9d6a68e0
8e4e66d318fa6f885290935b97ea9f1c6fde3a77
/auto/page7.py
807d48ff09f50713d69d068a713ff2203664023b
[]
no_license
v-komarov/kis
de3a0ee371eb582fe27f449a36a8f8edecd5dc23
8adaee0f0f26550fb6a9be7ceb28b1b9af87333e
refs/heads/master
2021-01-01T04:46:03.369423
2016-05-25T09:39:41
2016-05-25T09:39:41
59,649,804
0
0
null
null
null
null
UTF-8
Python
false
false
2,792
py
#coding:utf-8 from django.http import HttpResponse from django.http import HttpResponseRedirect from django.template import Context, loader, RequestContext from django.core.context_processors import csrf from django.shortcuts import render_to_response from django.core.paginator import Paginator, InvalidPage, EmptyPage...
[ "komarov-krsk@mail.ru" ]
komarov-krsk@mail.ru
5d9ebd94cf161a2f192c3576c9227059d6fbddbf
3ca67d69abd4e74b7145b340cdda65532f90053b
/BOJ/16946.벽 부수고 이동하기 4/6047198844.py
303345e5f42bf78811fb65cfd6f00aaf56082452
[]
no_license
DKU-STUDY/Algorithm
19549516984b52a1c5cd73e1ed1e58f774d6d30e
6f78efdbefd8eedab24e43d74c7dae7f95c2893b
refs/heads/master
2023-02-18T06:48:39.309641
2023-02-09T07:16:14
2023-02-09T07:16:14
258,455,710
175
49
null
2023-02-09T07:16:16
2020-04-24T08:42:27
Python
UTF-8
Python
false
false
1,729
py
import collections import copy N, M = map(int, input().split()) board = [list(map(int, input())) for _ in range(N)] #이 보드에 zero끼리 섬을 나누고 섬에 해당하는 0의 개수와 섬의 번호를 저장한다. zero_board = [[(0, -1) for _ in range(M)] for _ in range(N)] #zero_board를 만든다. #zero_board란 zero끼리 이루는 섬의 zero개수이다. def zero_bfs(i, j, group): #자기 자...
[ "2615240@gmail.com" ]
2615240@gmail.com
ec9f84294fd1877b81dc81cb90140ed8c1a61276
e87d0cee1ce41124a808000850d4af5c7cd04f08
/mark/week07/11.03/1.py
bb299598a0947ee9aa13973f01f636826c908f47
[]
no_license
thinkingjxj/Python
0e8e5f60874c23a30aa8f54412fcf63c453f412a
9e92717b7871083c833612d220d1991d8d906275
refs/heads/master
2021-07-05T23:09:03.610678
2018-12-07T03:39:50
2018-12-07T03:39:50
148,290,201
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import datetime import random def source(): while True: yield datetime.datetime.now(), random.randint(1, 100) src = source() def window(src, handler, width:int, interval:int): start = datetime.datetime.strptime('timestr', '%d/%b/%Y:%H:%M:%S %z') lst = [] # lst = [next(src) for _ in range(3] lst.appe...
[ "thinkingjxj@users.noreply.github.com" ]
thinkingjxj@users.noreply.github.com
c4bf4955e6f53dd7ab407ec250d994f69c76600f
37fef592f365194c28579f95abd222cc4e1243ae
/streamlit/venv/lib/python3.7/site-packages/smmap/__init__.py
696401c8c6158c9fcf9041ba0115c62a06c82d20
[]
no_license
edimaudo/Python-projects
be61e0d3fff63fb7bd00513dbf1401e2c1822cfb
85d54badf82a0b653587a02e99daf389df62e012
refs/heads/master
2023-04-07T03:26:23.259959
2023-03-24T12:03:03
2023-03-24T12:03:03
72,611,253
4
3
null
2022-10-31T18:10:41
2016-11-02T06:37:17
null
UTF-8
Python
false
false
342
py
"""Intialize the smmap package""" __author__ = "Sebastian Thiel" __contact__ = "byronimo@gmail.com" __homepage__ = "https://github.com/gitpython-developers/smmap" version_info = (5, 0, 0) __version__ = '.'.join(str(i) for i in version_info) # make everything available in root package for convenience from .mman import...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
195fccabd8d41df36f35121d9170d9721682adba
4126bac318747280437b985007becfde1c445253
/python project/codingdojo/Python_Fundamentals/dojo_survey/server.py
e5b0d28601161a80d6c056dde88a08de89d76dee
[]
no_license
HaochengYang/Project
887e42b8429055f31cb5edb4474c2e9a8e4557e6
d4d829a1127935daa65b928f8f94a27f9012ca2c
refs/heads/master
2021-01-12T14:41:18.714541
2017-02-15T21:48:58
2017-02-15T21:48:58
72,052,594
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
from flask import Flask, render_template, request, redirect,session app = Flask(__name__) app.secret_key = 'ThisIsSecret' @app.route('/') def index(): return render_template('index.html') @app.route('/result', methods= ['POST']) def new_user(): print"Got your information in here" session['name']= reque...
[ "haocheng0906@gmail.com" ]
haocheng0906@gmail.com
e25c97a524f50846577fd45fd0721750057add81
4c577d9ddf21d8aba5626343f91a4986266f01e2
/eric6/.eric6/eric6plugins/vcsGit/GitMergeDialog.py
5dbcade763f575d220ee9837387628e28a952b20
[]
no_license
metamarcdw/.dotfiles
362199d415ebd7d09247ee0efbda03243aa22faa
3df0c805225a8d4f2709565d7eda4e07a050c986
refs/heads/master
2020-12-30T15:29:25.769345
2017-12-22T05:44:01
2017-12-22T05:44:01
91,143,917
0
0
null
null
null
null
UTF-8
Python
false
false
7,586
py
# -*- coding: utf-8 -*- # Copyright (c) 2014 - 2017 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing a dialog to enter the merge data. """ from __future__ import unicode_literals from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QDialog, QDialogButtonBox from .Ui_GitMergeDialog imp...
[ "metamarcdw@gmail.com" ]
metamarcdw@gmail.com
cc364eb2f728bd8f87f3e536ef8aee72c0c51b5f
2372281d6e08dfc517c60d5a0cce678f15f904db
/experiments/output_perturbation/scikit-learn/sklearn/cluster/tests/test_feature_agglomeration.py
b6fe72da9fdccefb1a80fffc4c535452ca532b31
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
amzn/differential-privacy-bayesian-optimization
b647b8281be0c2ea335104c9c92e717ce07ce63f
07fec631d00bf3381ca24f7d73757aef6dfda9d3
refs/heads/master
2023-03-13T04:10:22.753152
2022-10-03T19:26:44
2022-10-03T19:26:44
252,813,133
27
19
Apache-2.0
2022-10-03T19:26:45
2020-04-03T18:45:17
Python
UTF-8
Python
false
false
1,710
py
""" Tests for sklearn.cluster._feature_agglomeration """ # Authors: Sergul Aydore 2017 import numpy as np from sklearn.cluster import FeatureAgglomeration from sklearn.utils.testing import assert_no_warnings from sklearn.utils.testing import assert_array_almost_equal def test_feature_agglomeration(): n_clusters =...
[ "tdiethe@amazon.com" ]
tdiethe@amazon.com
551ef2550bca0302e57eaac95fdb066a30b980c9
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_container_services_operations.py
01e82865e3910c2ba59e1ac69fdbf59ee9013ec2
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
6,603
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
rdomenzain.noreply@github.com
2c03c0f8919a60bcc631e09fb4a4b16514779b54
f8666599b83d34c861651861cc7db5b3c434fc87
/plotly/validators/streamtube/_lightposition.py
908addda31f6b37365f4f32174ccc6d0b3722943
[ "MIT" ]
permissive
mode/plotly.py
8b66806e88c9f1820d478bab726f0bea81884432
c5a9ac386a40df2816e6c13264dadf14299401e4
refs/heads/master
2022-08-26T00:07:35.376636
2018-09-26T19:08:54
2018-09-26T19:19:31
60,372,968
1
1
MIT
2019-11-13T23:03:22
2016-06-03T19:34:55
Python
UTF-8
Python
false
false
866
py
import _plotly_utils.basevalidators class LightpositionValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name='lightposition', parent_name='streamtube', **kwargs ): super(LightpositionValidator, self).__init__( plotly_name=plotly_name, ...
[ "noreply@github.com" ]
mode.noreply@github.com
39b318023a433f1af1b2431a3bd1ad4b224ffca4
3bcc247a2bc1e0720f0344c96f17aa50d4bcdf2d
/第四阶段/爬虫/day02/jsonTest.py
3c64d306f4156e909abf5729218f480718c94bfb
[]
no_license
qianpeng-shen/Study_notes
6f77f21a53266476c3c81c9cf4762b2efbf821fa
28fb9a1434899efc2d817ae47e94c31e40723d9c
refs/heads/master
2021-08-16T19:12:57.926127
2021-07-06T03:22:05
2021-07-06T03:22:05
181,856,924
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# -*- coding: utf-8 -*- """ Created on Thu Jul 12 16:49:25 2018 @author: Administrator """ import json jsonDict = {"One":"1","Two":"2"} #for key,value in jsonDict.items(): # print(key,value) ## dict --> json str ##json encode jsonDumps = json.dumps(jsonDict) print(jsonDumps) ## json str --> dict ##json decode j...
[ "shenqianpeng@chengfayun.com" ]
shenqianpeng@chengfayun.com
c60baabdb88b65270916edd1c521c0fdbc8b01ed
38bd99c72ca2521489ce1eb02b7604095b02b585
/src/368-LargestDivisibleSubset.py
9dcd503e75f8df160cb3b00d436efe17c87ba3e0
[ "MIT" ]
permissive
Jiezhi/myleetcode
eadbd7d9f1f0ea6a0ee15c2da9040dcfbd28b522
4dd1e54d8d08f7e6590bc76abd08ecaacaf775e5
refs/heads/master
2023-03-16T15:52:21.833622
2023-03-09T14:33:03
2023-03-09T14:33:03
139,965,948
1
2
null
null
null
null
UTF-8
Python
false
false
1,717
py
#!/usr/bin/env python """ CREATED AT: 2021/11/15 Des: https://leetcode.com/problems/largest-divisible-subset/ GITHUB: https://github.com/Jiezhi/myleetcode Difficulty: Medium Tag: See: """ from typing import List class Solution: def largestDivisibleSubset(self, nums: List[int]) -> List[int]: """ ...
[ "Jiezhi@users.noreply.github.com" ]
Jiezhi@users.noreply.github.com
b7f93ebb9a055b56c54d5b64c3656922fdb2b251
fbffb4755c85c0bed72f5e63b5dd21964ae6551f
/accounts/api/serializers.py
db5ff572f3f0ef1ab947189264312db429030f67
[]
no_license
mahdi-asadzadeh/django-shop-rest-full-api
1c00b3bf0476d0cd5843e07b5a4fcc20ce9b75e8
41b76476f0afc1ba2b2951e98f842c53feb4397c
refs/heads/main
2023-06-04T11:02:44.335790
2021-06-19T09:29:49
2021-06-19T09:29:49
378,362,591
25
2
null
null
null
null
UTF-8
Python
false
false
1,793
py
from rest_framework import serializers from rest_framework.serializers import ModelSerializer from django.contrib.auth import get_user_model User = get_user_model() class RegisterUserSerializer(serializers.Serializer): email = serializers.EmailField(max_length=60, required=True) username = serializers.C...
[ "mahdi.asadzadeh.programing@gmail.com" ]
mahdi.asadzadeh.programing@gmail.com
f8a37a2e9d16fa72cf44fad38ce36e73a84659f8
da11f3d8ab43b2def03e7e99ed08aec2d578611f
/python编程从入门到实践/第十四章/14-5/game_stats.py
b90af851626d3c86c1fc9c2884dcf4b0e6b0ed29
[]
no_license
huanglun1994/learn
ff3bbb1b0afe7e9c0812bd71af62707acbb5b0b5
9dc8ddd440e56a9961b118813162323fdfd4f16e
refs/heads/master
2021-01-01T06:30:34.652264
2018-07-09T15:00:21
2018-07-09T15:00:21
97,444,580
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
# -*- coding: utf-8 -*- """统计游戏中的一些数据信息""" __author__ = 'Huang Lun' import json class GameStats: """跟踪游戏的统计信息""" def __init__(self, ai_settings): """初始化统计信息""" self.ai_settings = ai_settings self.reset_stats() # 游戏刚启动时处于非活动状态 self.game_active = False # 在任何情况下...
[ "492593760@qq.com" ]
492593760@qq.com
c80885f03e94be4bae8b23ef04bfaeb2ef7c3068
4692f28f86ee84a76abfac8cc8a0dd41fcd402e4
/test/integration/dogstatsd/testdata/origin_detection/sender.py
ba5094bd20696642b20966597b428e45eb86204f
[ "CC0-1.0", "BSD-3-Clause", "Apache-2.0", "GPL-1.0-or-later", "MIT", "0BSD", "Unlicense", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "BSD-2-Clause-Views", "MPL-2.0" ]
permissive
DataDog/datadog-agent
cc4b89839d6031903bf23aa12eccc2a3f3c7f213
d960cdb7de8fa5d1c7138cfe58e754af80cb796a
refs/heads/main
2023-09-04T10:45:08.138748
2023-09-04T09:13:43
2023-09-04T09:13:43
49,970,739
2,388
1,288
Apache-2.0
2023-09-14T20:06:34
2016-01-19T17:40:41
Go
UTF-8
Python
false
false
216
py
import time import datadog client = datadog.dogstatsd.base.DogStatsd(socket_path="/tmp/scratch/dsd.socket") # Send 4 packets/s until killed while True: client.increment('custom_counter1') time.sleep(0.25)
[ "noreply@github.com" ]
DataDog.noreply@github.com
77a707f5b6a70e023bbee20f744c6ff8999b2fa1
c6ac3248059567fb025e6eaa0521b32cd0e19e71
/RedditRemake/redditsite/urls.py
cc701732a3170562ff68a82875d43610b6c10b28
[]
no_license
AaronScruggs/reddit-remake
c10bbf82cbd6d5895241f27802ec33075e8df2a1
3238627964b0058852237c0f4c1e8c5109895ea0
refs/heads/master
2021-01-17T20:51:48.782681
2016-03-31T03:08:48
2016-03-31T03:08:48
54,669,233
0
0
null
2016-03-24T19:39:04
2016-03-24T19:39:04
null
UTF-8
Python
false
false
1,158
py
from redditsite.views import SubredditCreate, SubredditUpdate, PostCreate,\ PostUpdate, SubredditList, SubredditDetail, PostDetail, CommentCreate, CommentUpdate, CommentDetail from django.conf.urls import url urlpatterns = [ url(r'^subredditlist/$', SubredditList.as_view(), name="list_subreddits"), ...
[ "aarondscruggs@gmail.com" ]
aarondscruggs@gmail.com
d07207ec1c04dc9917d2722b89e3ba43fbfbc464
6e84ecc559f177036ea9cf59f4f67c8a7dfd030f
/freshdesk/v1/tests/test_timesheets.py
c9ff24681a5f2ff045310f81721a01fccf75ef01
[ "BSD-2-Clause" ]
permissive
widyono-cets/python-freshdesk
78732ddb5bfe388df68fa46b88c97eae2f538684
e3bf917bd6e303fefb025e5c3858998ed768ba76
refs/heads/master
2023-07-06T06:24:43.485837
2023-06-22T19:03:43
2023-06-22T19:03:43
162,864,099
3
2
BSD-2-Clause
2023-06-22T18:50:10
2018-12-23T05:10:33
Python
UTF-8
Python
false
false
858
py
import pytest from freshdesk.v1.models import TimeEntry @pytest.fixture def timesheet(api): return api.timesheets.get_timesheet_by_ticket(1) def test_timesheet(timesheet): assert isinstance(timesheet, type([])) assert len(timesheet) == 3 assert isinstance(timesheet[1], TimeEntry) assert timeshe...
[ "sam@sjkwi.com.au" ]
sam@sjkwi.com.au
95064538658396b17d19c16d86b0cf75b33f2dfa
b56907c5e739ded0dc682ef018f47f7e56c67f63
/tests/test_gif.py
06664d6fa124c41c043423d36b80f0e6990e5d0f
[ "LicenseRef-scancode-warranty-disclaimer", "EFL-2.0" ]
permissive
deathbybandaid/Sopel-GifSearch
8f6b5d5ec8505959791a62c3c4ba49b5a59e3353
6422b338176597744ecb7aac15288175b722edb1
refs/heads/master
2020-05-07T19:47:16.336568
2019-04-30T22:14:47
2019-04-30T22:14:47
180,826,125
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#!/usr/bin/env python # coding=utf-8 from __future__ import unicode_literals, absolute_import, division, print_function import unittest from sopel_modules.gif import gif class TestGif(unittest.TestCase): def setUp(self): pass def testSomething(self): pass
[ "sam@deathbybandaid.net" ]
sam@deathbybandaid.net
b7ae55606cafac5dbabb77eaa4f9a77406a60eab
1b45d1162bd60a356844fc4dced068da2e6cc438
/Arrays/Solution.py
a12b1f8e389e217e9e68b9eba7907487fd101d97
[ "MIT" ]
permissive
AnkitAvi11/Data-Structures-And-Algorithms
de9584e439861254cdce265af789c8b484c01c69
703f78819a41d4dd88caf71156a4a515651edc1b
refs/heads/master
2023-02-19T21:53:39.405934
2021-01-24T17:27:21
2021-01-24T17:27:21
297,752,655
6
3
MIT
2021-01-24T17:27:22
2020-09-22T19:33:55
Python
UTF-8
Python
false
false
452
py
# program to find the number which occurs for the maximum number of times # in an array def maxTimes(arr : list) : result = dict() for el in arr : if el in result : result[el] += 1 else : result[el] = 1 count = max([x for x in result.values()]) if coun...
[ "kumar.ankit383@gmail.com" ]
kumar.ankit383@gmail.com
d0f67c1401b0a3c0ad1bd71e852d324f6124f25c
d63b1b36634b68070f6f3c017c0250a7ea646e6f
/SMC/GEM5/gem5/configs/topologies/Crossbar.py
e3dd431e743bb3adab91518eaf4b4bb6c19d7af5
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later" ]
permissive
jiwon-choe/Brown-SMCSim
ccf506d34d85fb3d085bf50ed47de8b4eeaee474
ff3d9334c1d5c8d6a00421848c0d51e50e6b67f8
refs/heads/master
2021-06-30T00:15:57.128209
2020-11-24T03:11:41
2020-11-24T03:11:41
192,596,189
15
8
MIT
2019-06-20T15:43:00
2019-06-18T18:53:40
C++
UTF-8
Python
false
false
2,679
py
# Copyright (c) 2010 Advanced Micro Devices, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this list of conditions...
[ "brandnew7th@gmail.com" ]
brandnew7th@gmail.com
c07ebe1a5c68dd124d8dff346d5ec966f4492325
8c04c2481ccc291bf6b7621ce74ccc33aefb5993
/tools/oneforall/modules/search/shodan_api.py
04bab4b2d5751889d75b7c1d7c3657eb31cef0cd
[]
no_license
T0mcat3r/ShotsScan
7e2bee89fd9ed31772fc79492bde419d0dea05a4
5fd53d8e36f8bada9e9d1ea3d402ee1407801d22
refs/heads/master
2022-06-20T04:23:04.825988
2020-05-08T02:11:53
2020-05-08T02:11:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,649
py
import tools.oneforall.api as api from tools.oneforall.common.search import Search class ShodanAPI(Search): def __init__(self, domain): Search.__init__(self) self.domain = self.register(domain) self.module = 'Search' self.source = 'ShodanAPISearch' self.addr = 'https://api....
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b7e9a2bb54fb96177de8ec55df2795a1d345dd16
66c0680164dcb63dc10fe06c9ac2492d6042c65b
/leadapi/leadapi/manage.py
e302b32472f4043f5456ff3e9f6335a87fdbea82
[]
no_license
sijuaugustin/cog
aa7480fbd7e6253c195aee1a0cffb6c0683fdd6c
0b6ea811aac229b179aa8a33bf2de5b18b760445
refs/heads/master
2021-01-23T12:21:25.967747
2017-06-06T12:16:30
2017-06-06T12:16:30
93,152,250
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "leadapi.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "siju.augustine@cognub.com" ]
siju.augustine@cognub.com
3ab626da4da806e41988d783a7453f6294359de7
cd18f1040324d5a2746a8631b33d83076a970505
/code/python/NLTKTest1.py
6d59ed37eae51aa18d817e2246b9f83433a33465
[]
no_license
ccckmit/ccckmit
99ebd41e2ec413070834aab33af2cfc12c5f5641
318e6b91dcb03238fe4851f111c0ac7b53901ab1
refs/heads/master
2021-05-06T11:17:07.377777
2018-02-24T06:41:43
2018-02-24T06:41:43
114,251,434
34
21
null
null
null
null
UTF-8
Python
false
false
540
py
import nltk print nltk.corpus.gutenberg.files() ''' count = nltk.defaultdict(int) # initialize a dictionary for word in nltk.corpus.gutenberg.words('shakespeare-macbeth.txt'): # tokenize Macbeth word = word.lower() # normalize to lowercase count[word] += 1 print "count=%s"%count ''' print "nltk.corpus.brown.c...
[ "ccckmit@gmail.com" ]
ccckmit@gmail.com
0d27f49b93b79ba920899f4853f498bcf26c387b
705bfc53606c546ace536aa06deb629ed74f069f
/api/serializers.py
4d59be4b2464aad4d2af9ea8d25fdab143f83798
[]
no_license
cesarmarroquin/Christmas-Crowdsource
f20b7880da882cff74b251f7ec28aa61be9f9005
f4979c47695e44122a5d4b9be222d5aebf2e6b08
refs/heads/master
2021-01-12T21:17:43.381214
2015-11-23T16:04:49
2015-11-23T16:04:49
46,446,327
0
0
null
2015-11-18T20:44:38
2015-11-18T20:44:37
null
UTF-8
Python
false
false
1,130
py
from django.contrib.auth.models import User from rest_framework import serializers from christmas_lists.models import WishList, Item, Pledge class WishlistSerializer(serializers.ModelSerializer): class Meta: model = WishList user = serializers.ReadOnlyField(source='user.id') fields = ('titl...
[ "cesarm2333@gmail.com" ]
cesarm2333@gmail.com
b995809373a47c6b14add24fee029446898b2739
241c51904c2501a85e71da62d4a9a79f8656dbb4
/transformers/models/blenderbot_small/__init__.py
0e3b531d085477152f417e22fcad94cc919d59ea
[ "Apache-2.0" ]
permissive
zhouhaoyi/TripletAttention
c3d7a37b00d80286e802324859156841f33841d0
84bb8d7a7a45dfd37c82849c9ae6ed8a41bb0718
refs/heads/main
2023-08-25T22:35:59.828152
2021-10-27T04:27:13
2021-10-27T04:27:13
374,306,104
15
3
Apache-2.0
2021-09-19T08:33:38
2021-06-06T08:22:35
null
UTF-8
Python
false
false
1,257
py
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
[ "1095715895@qq.com" ]
1095715895@qq.com
72cb9653589d57bbc88a1d8082ac2547bf741481
0d72aa07aa5234e804f19640f1e000c115ae3d7f
/tests/utils.py
f033b1c2a9becff85b2bfdea9f6443d5a1197e04
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
solomreb/python-docs-samples
2681454e39a25e222753a989320942f2a1c80d94
1ff6a5bd6543782b310a9feec8f7633314ae40ab
refs/heads/master
2021-01-22T08:06:57.438166
2015-10-23T00:13:34
2015-10-23T00:13:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,467
py
# Copyright 2015, Google, 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, s...
[ "jon.wayne.parrott@gmail.com" ]
jon.wayne.parrott@gmail.com
efdab187f5fc6233d6d2cb611e35400bdc4460a0
0822d36728e9ed1d4e91d8ee8b5ea39010ac9371
/robo/pages/gabriel/eb.py
8e3f8f7eafbed042cb9ebedb0af2b38bb17ca9c2
[]
no_license
diegothuran/blog
11161e6f425d08bf7689190eac0ca5bd7cb65dd7
233135a1db24541de98a7aeffd840cf51e5e462e
refs/heads/master
2022-12-08T14:03:02.876353
2019-06-05T17:57:55
2019-06-05T17:57:55
176,329,704
0
0
null
2022-12-08T04:53:02
2019-03-18T16:46:43
Python
UTF-8
Python
false
false
650
py
# coding: utf-8 import sys sys.path.insert(0, '../../../blog') from bs4 import BeautifulSoup import requests GLOBAL_RANK = 6765 RANK_BRAZIL = 214 NAME = 'www.eb.mil.br' def get_urls(): try: urls = [] link = 'http://www.eb.mil.br/web/noticias/noticiario-do-exercito' req = request...
[ "diego.thuran@gmail.com" ]
diego.thuran@gmail.com
08db715dee46565fec02f7eca1e8729b12f8dccd
0d4339115a34cb8a12b6a1ed85ef178668827edb
/app/modules/vendor/pre_request/__init__.py
5e54b836926a468838c3a54afd72e4109e1224c2
[ "MIT" ]
permissive
Eastwu5788/heron
89d1b0513e0dceda3bafc0b2c8dff235bea6232b
646eeaacea77e293c6eccc6dad82a04ece9294a3
refs/heads/master
2022-12-16T23:12:51.641885
2018-05-10T04:19:09
2018-05-10T04:19:09
117,618,724
7
1
MIT
2022-11-22T02:16:52
2018-01-16T02:11:48
Python
UTF-8
Python
false
false
200
py
# -*- coding: utf-8 -*- # Copyright (c) 2017, Wu Dong # All rights reserved. __version__ = "0.0.1" from .flask import filter_params from .filter_rules import Rule from .filter_rules import Length
[ "wudong@eastwu.cn" ]
wudong@eastwu.cn
08cfcd9504a4a62da357eb5d383cd368554a7273
ae381913c23385f004b82161624097645ba8c4c8
/Huaxian_ssa/projects/esvr_one_step.py
1ee40afb14554e3f5713cf50019d186c4a26672e
[ "MIT" ]
permissive
zjy8006/MonthlyRunoffForecastByAutoReg
aa37910fdc66276d0df9d30af6885209d4a4ebfc
661fcb5dcdfbbb2ec6861e1668a035b50e69f7c2
refs/heads/master
2020-12-12T05:25:48.768993
2020-08-20T07:21:12
2020-08-20T07:21:12
259,588,564
7
3
null
null
null
null
UTF-8
Python
false
false
2,999
py
import sys import matplotlib.pyplot as plt import os root_path = os.path.dirname(os.path.abspath('__file__')) sys.path.append(root_path) from tools.models import one_step_esvr, one_step_esvr_multi_seed from Huaxian_ssa.projects.variables import variables if __name__ == '__main__': # one_step_esvr_multi_seed( ...
[ "zuojianyi@outlook.com" ]
zuojianyi@outlook.com
2a496917fc41476802037797fc476d89cecf9b63
ebe593e0f17cf228683e80885af767bda77c0e2c
/Array/sort-dict.py
0e0e0b3099c33569752121eed02fb8b11b2f62c4
[]
no_license
juliocsg/python-cesar
55c61ea2c1be638c125d3a51145b429d32643364
dbc4a9eea767a181d0cff5f3ce654ffdd22a76dd
refs/heads/master
2020-04-29T19:21:03.529125
2019-04-16T21:52:02
2019-04-16T21:52:02
176,351,226
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
def myFunc(e): return e['year'] cars = [ {'car' : 'Ford', 'year': 2005}, {'car' : 'Mitsubishi', 'year': 2000}, {'car' : 'BMW', 'year': 2019}, {'car' : 'VW', 'year': 2011}, ] cars.sort(key = myFunc) print(cars)
[ "jcesarsaucedo1993@gmail.com" ]
jcesarsaucedo1993@gmail.com
f5c640a2903692af612b0bd25183c10022480425
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20170709/example_dict/01listsize.py
93056d25ef4795664f01718e07f9ef5e4132253c
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
220
py
# import matplotlib # matplotlib.use("AGG") # NOQA import matplotlib.pyplot as plt from pympler.asizeof import asizeof plt.style.use("ggplot") xs = [asizeof(list(range(i))) for i in range(100)] plt.plot(xs) plt.show()
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
95e4a8d84f4edb1314c28b14c2b5793040210bf8
9256d8cc5430bae1b0053679009a8af421f25ee2
/testAnalysis/runAnalysis.py
23c4946c94f65928d6f74e4b387e35574be1f924
[]
no_license
fhoehle/MySCAnalysis
d85700de6b92c9f9855d0afeeb546063fcb1ce4c
3a62ae1f590f7aa62d37d5d70d0bf361b70c4258
refs/heads/master
2021-01-22T17:14:21.994603
2014-10-06T14:43:56
2014-10-06T14:45:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
#!/usr/bin/env python # run cmssw analysis import FWCore.ParameterSet.Config as cms import os,sys sys.path.append(os.getenv('CMSSW_BASE')+'/MyCMSSWAnalysisTools/Tools') import cmsswAnalysisTools import testSamples cfg = os.getenv('CMSSW_BASE')+'/DiLeptonicSelection/patRefSel_diLep_cfg.py' myAnalysis = cmsswAnalysisToo...
[ "hoehle@physik.rwth-aachen.de" ]
hoehle@physik.rwth-aachen.de
e814cbea1d83b8c4816a9357cb426ac100a2280c
49cdf8bb7a4261a31dd3b1bf34069e5c6d914fc9
/timego/configs/common/manage.py
f083d8d7e477988dcd4d11d1040e9a84dc0784fe
[]
no_license
jackbigapple/timego
176c5783ba302da205b5df1241915a005e0ff245
0be47a18084e2c7e1f6aa169cbd1074c4c20899c
refs/heads/master
2021-01-17T21:29:21.089128
2011-08-20T04:09:01
2011-08-20T04:09:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
#!/usr/bin/env python import os import sys from django.core.management import execute_manager # we want a few paths on the python path # first up we add the root above the application so # we can have absolute paths everywhere python_path = os.path.join( os.path.realpath(os.path.dirname(__file__)), '../../../' )...
[ "sean.cheng@geniecapital.com" ]
sean.cheng@geniecapital.com
f035b67bed5182a952ce714804145d73f53cb290
e3fd35a8443aaf2f293ae03a5f6c819046a4dd21
/leetcode-python/medium/_309_best_time_buy_sell_stock_with_cooldown/solution.py
fdf658283c732789abb6069a5ef41e291e0036bd
[]
no_license
hieutran106/leetcode-ht
2223ea6bcd459c2cdbc33344c0ff69df7f8a3c7f
8332eb20e613f82cda2e326218154c7803a32403
refs/heads/main
2023-08-09T02:52:41.360360
2023-07-27T10:12:28
2023-07-27T10:12:28
234,890,448
0
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
from typing import List class Solution: def maxProfit(self, prices: List[int]) -> int: # ┌──────┐ ┌───────────┐ # │ hold │ │ hold │ # │ │ │ │ # ┌────▼──────┴┐ buy ...
[ "hieutran106@gmail.com" ]
hieutran106@gmail.com
ff51de5f0b181ae7f89df829dcec7859b522eca1
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-iot/aliyunsdkiot/request/v20180120/PublishThingModelRequest.py
21f6ba22d511ac0ce5a8f37614901cd81346e5d7
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
2,198
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
c649152c74b5077ae92253d26c6b9e9de3f0b1c7
7b1df382f1f51b4c7b226824542ef3be3850c608
/jetbot_ros/dnn/xy_dataset.py
d3e48bffd300f08198511e0569f8f3ab151b7093
[ "MIT" ]
permissive
NamWoo/jetbot_ros
5b71b1da70166c276dd800cfeb2ea855273a05a9
d8e5ee1b17f5c66d038017b86f8920a496197ea9
refs/heads/master
2023-01-04T19:00:11.007413
2022-04-27T17:03:16
2022-04-27T17:03:16
203,774,685
0
0
null
2019-08-22T10:52:19
2019-08-22T10:52:17
null
UTF-8
Python
false
false
1,635
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import glob import PIL.Image import numpy as np import torch import torchvision.transforms as transforms import torchvision.datasets as datasets def get_x(path, width): """Gets the x value from the image filename""" return (float(int(pa...
[ "dustinf@nvidia.com" ]
dustinf@nvidia.com
4665bab6d5449c30b4c1e4765b429415a6d6d662
9c36503027aa6fc2fa2f841d60f70f2697ae60be
/pygraphc/misc/parse.py
e3c244ec4dbf0943907d672ab17a7e346c700d1a
[ "MIT" ]
permissive
studiawan/pygraphc
bd5517478a6e1ad04220c13fa9f7aea6546225ac
436aca13cfbb97e7543da61d38c8462da64343b5
refs/heads/master
2021-01-23T21:29:41.151025
2018-05-17T07:54:54
2018-05-17T07:54:54
58,362,965
2
2
null
null
null
null
UTF-8
Python
false
false
4,531
py
from operator import itemgetter import subprocess # initialization replaced = {'[': '\[', ']': '\]', '/': '\/', '$': '\$', '"': '\"', '*': '\*'} clusters = {} cluster_index = 0 properties = {} properties['log_path'] = '/home/hudan/Git/labeled-authlog/dataset/Honeynet/forensic-challenge-2010/forensic-challenge-2010-sys...
[ "studiawan@gmail.com" ]
studiawan@gmail.com
0e3ec72841ea98077666a80b6234d053d93ed464
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc082/A/4663006.py
14cebfac4eb49dea008f47adc6e3d4652785b2ee
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
205
py
from collections import Counter n = int(input()) d = Counter(map(int, input().split())) cnt = 0 for i in d: new = d.get(i,0) + d.get(i-1,0) + d.get(i+1,0) if new > cnt: cnt = new print(cnt)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
f1656c9f151762b436b06386ee688867c384c7ae
0501e93413b2c8b0d2ef4ea140349ec39ba0940a
/rpi/managers/users_manager.py
ed0c67ddb93d9e36e230ed42e6ff36629fd75500
[]
no_license
sralloza/rpi
fead0ce03c7a6b4b94808f35dc7abce58efc676d
14c0928fdf4c1ec6a87a296e8715c6fc80884f3a
refs/heads/master
2020-04-05T12:17:17.705563
2019-02-24T12:39:48
2019-02-24T12:39:48
156,863,680
0
0
null
null
null
null
UTF-8
Python
false
false
6,327
py
# -*- coding: utf-8 -*- import json import logging import os import sqlite3 from dataclasses import dataclass, field from json import JSONDecodeError from rpi.dns import RpiDns from rpi.exceptions import UserNotFoundError from rpi.launcher import IftttLauncher, NotifyRunLauncher, BaseLauncher, TelegramLauncher, \ ...
[ "sralloza@gmail.com" ]
sralloza@gmail.com
aada797f14f4dcee6f9358f27eef75a9bc9f6f5c
5c0c0176db0ccf2c24b6b5ed459a8dc144518b13
/examples/nas/cream/lib/utils/op_by_layer_dict.py
47ca509ce4529ba21fd22b417c5e9c8bd525309f
[ "MIT" ]
permissive
petuum/nni
ac4f4a1c4d6df71684eeffa127b7c4858fd29e97
8134be6269902939232482d63649c06f9864be6d
refs/heads/master
2023-02-18T11:21:41.078889
2021-01-20T03:21:50
2021-01-20T03:21:50
302,736,456
4
3
MIT
2020-11-20T20:21:15
2020-10-09T19:34:11
Python
UTF-8
Python
false
false
1,779
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # Written by Hao Du and Houwen Peng # email: haodu8-c@my.cityu.edu.hk and houwen.peng@microsoft.com # This dictionary is generated from calculating each operation of each layer to quickly search for layers. # flops_op_dict[which_stage][which_oper...
[ "noreply@github.com" ]
petuum.noreply@github.com
99e6bb46e98da42ff53bc7c7d1fe5ec8b816fca1
c2fd9c421b225862633f74f99a7a0dad635c5c67
/realQuestion/2.3DeleteMiddleNode.py
0ab4009b09b66e5028a75997a87653abc58db2d5
[]
no_license
yuhangxiaocs/LeetCodePy
3751881dbd78b581a1d75beea737aed28765988b
31012a004ba14ddfb468a91925d86bc2dfb60dd4
refs/heads/master
2020-12-20T19:36:55.421295
2020-11-24T17:01:15
2020-11-24T17:01:15
236,190,313
1
0
null
null
null
null
UTF-8
Python
false
false
573
py
''' delete middle node ''' class ListNode: def __init__(self, x): self.val = x self.next = None def delMiddle(head): slow = fast = head pre = None while fast and fast.next: pre = slow slow = slow.next fast = fast.next.next pre.next = slow.next re...
[ "1248618975@qq.com" ]
1248618975@qq.com
41b78ea26ce29385ab8952cc7d104b437aefb9ba
2a89590b31a0c9009a0671007cd7a6621ebf10d9
/sdk/yapily/models/enrichment_merchant.py
496dbbe6428870ea05dbfa63e5c2be891bd05fd3
[ "MIT" ]
permissive
TrendingTechnology/yapily-sdk-python
de13dac63de8d0336459c75e1a9028c7fc06628a
98fc4c6bb7a82aaae7b7d1d7d26a2a1807f28e57
refs/heads/master
2023-07-19T23:39:22.755559
2021-09-08T12:34:54
2021-09-08T12:34:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,410
py
# coding: utf-8 """ Yapily API To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501 The version of the OpenAPI document: 1.73.0 Generated by: https://openapi-generator.tech """ import pprint import...
[ "systems@yapily.com" ]
systems@yapily.com
787bb4e93f0d1d6a1ed6727986ac566a2f7ccb7a
595b7157cdf72060c88b8f5b0807b984fa3e63a4
/python/jieba_test.py
bebd25cce2d8971caabe76fa48a9fc88f32f3bf4
[]
no_license
HomingYuan/data_science_way
248d15710004eedc1f0fe70ab67318cbdc6e42aa
dd3153f44d3b4cc90b589ae0dc1d4d4f0f671da4
refs/heads/master
2021-01-20T14:34:54.943011
2018-03-06T02:00:29
2018-03-06T02:00:29
90,630,422
1
0
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author: Homing @software: PyCharm Community Edition @file: jieba_test.py @time: 2017/5/14 23:20 """ import jieba k = ['我来自北京清华大学', '我准备学习计算机'] for m in k: t = (jieba.cut(m)) for i in t: print(i)
[ "470034235@qq.com" ]
470034235@qq.com
b5101ac5648d598dbb5b7365086e5ff51904f005
f50114692187a054bf2627695c6380d5ac79a20c
/q0005.py
e09e9dfcb1ced67c509d32443fab699a224b7d89
[]
no_license
petitepirate/interviewQuestions
c0cb8775932f90ff5c8e4ef80be468ef4155052f
209322c1f1ddbe8111dc2c5e9c35aaf787e0196a
refs/heads/master
2023-07-17T12:15:22.847440
2021-06-14T02:32:39
2021-06-14T02:32:39
286,884,022
1
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
# This problem was asked by Jane Street. # cons(a, b) constructs a pair, and car(pair) and cdr(pair) returns the first and last element of that pair. For example, car(cons(3, 4)) returns 3, and cdr(cons(3, 4)) returns 4. # Given this implementation of cons: # def cons(a, b): # def pair(f): # retu...
[ "msmeganmcmanus@gmail.com" ]
msmeganmcmanus@gmail.com
fefa32a6235449661804b47c0f5add0a991f444b
5567274ea4ad778f4dc07592c158488a77a03e51
/SantanderProductRecommendation-master/santander2LagXgb.py
6c4be35314843fd10234f5d0ddbeb0e3144d1d4c
[]
no_license
LiYan1988/santander-production-recommandation
a732278992f8c0f3907c50cda77bf38463c1dd80
b2273f501933c799f146c75aa1db8e1c78e32670
refs/heads/master
2020-03-31T16:31:58.551913
2018-11-09T07:26:53
2018-11-09T07:26:53
152,379,586
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Dec 19 08:54:23 2016 @author: lyaa logloss CV->Mean: 1.03275552048 std: 0.00536395197864 LB->0.0296469 """ from santanderStart import * train, _ = read_data('draft_hebbe3_train.pkl') test_may, test_june = read_data('draft_hebbe3_test.pkl') target_...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
170e5e8764b556950162211725da2b430b381bb6
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2924/58575/305848.py
0d3ee3737171dfb2a500af0572cfa1883a008fe0
[]
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
789
py
def average(score): sum=0 for i in score: sum+=i return sum temp=input().split(" ") n=int(temp[0]) r=int(temp[1]) avg=int(temp[2]) score=[] paper=[] for i in range(n): temp=input().split(" ") score.append(int(temp[0])) paper.append(int(temp[1])) number=0 SumScore=sum(score) NeedScor...
[ "1069583789@qq.com" ]
1069583789@qq.com
f5a6765f8c89ffe8af81536ca4f218a122a26b42
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0280-Wiggle-Sort/soln.py
3799987842c17c9716ed533005c98e865f462b89
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
485
py
class Solution: def wiggleSort(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ # 3 5 2 1 for i in range(len(nums) - 1): if i % 2: if nums[i + 1] > nums[i]: nu...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
8795425019453f7cea862be9ede75072b70d8ab9
38741245fa801009eff387f7c6e2792790f85925
/백준_DFS/2638_치즈.py
6202714d49fa0e67dafa17168a364af5df0f06f8
[]
no_license
bud386/algo-CS
ad6a1ae110f1d52623a0fee219245d0da3f1724c
8ba858d6562ef8fb46a1b4a741fe2149d111cf42
refs/heads/master
2023-08-25T23:31:47.069553
2021-11-07T08:16:02
2021-11-07T08:16:02
361,779,151
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
import sys input = sys.stdin.readline from collections import deque n, m = map(int, input().split()) board = [list(map(int, input().split())) for _ in range(n)] dr = [1, -1, 0, 0] dc = [0, 0, 1, -1] def bfs(): q = deque() q.append([0,0]) visited = [[0]*m for _ in range(n)] while q: r, c = q.p...
[ "vud2009@naver.com" ]
vud2009@naver.com
6133fe4a42c3d38b65070b6d0daff05385819d23
fd173195d07b5a5ce229a0c1a20ee61884d8c8a1
/python_practice/List_programs/convery_dict_to_list.py
84957f6ef38150f2825c3e2cdea20a98def6c4ec
[]
no_license
anitrajpurohit28/PythonPractice
f7e71946144e04b7f9cb9682087e5d4f79839789
8b75b67c4c298a135a5f8ab0b3d15bf5738859f1
refs/heads/master
2023-04-12T07:04:12.150646
2021-04-24T19:52:24
2021-04-24T19:52:24
293,912,662
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# Convert Dictionaries to list of tuples # Making dictionary with with lists alpha_list = ['A', 'B', 'C', 'D', 'E'] edibles_list = ["apple", "banana", "carrot", "drumstick", "Endive"] merge_dict = {} # zipping for alpha, edible in zip(alpha_list, edibles_list): merge_dict[alpha] = edible print("Dictionary: ", me...
[ "anitrajpurohit28@gmail.com" ]
anitrajpurohit28@gmail.com
15f8abe44c90387c0ff0eec31f3e54ba401fb295
42229d7c76c305cfde63659ad715a4e6bef0ea99
/goods/test/demo1/test1.py
cce45e486b130b4a400b16c679b6eeb432c1b8b4
[]
no_license
LRJliurj/GoodsServer
4a043d2f1195e4793aad327732201375495a88f9
c8c1bbda4fa4ba2a0e8a4055a67b7278ddb15b03
refs/heads/master
2020-07-05T14:03:58.536658
2019-09-24T03:01:53
2019-09-24T03:01:53
202,668,466
1
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
import numpy as np import os files_features = {} template_features = {} def get_feature (good_upc,file_feature): img_features = {} with open(file_feature, 'r') as f: lines = f.readlines() for line in lines: feature = line.split(",") filename = feature[0] feat...
[ "908601417@qq.com" ]
908601417@qq.com
53e9d0f383401f4468acbfe5b5c6f2a6be03a2e1
d7979da01af27362fe8197b2a82532a7a553918c
/test/functional/wallet_keypool_topup.py
76d13c66ce058993ecace7f2f5240f9677bbf3dd
[ "MIT" ]
permissive
faetos/QTCoin
c4fe3bbb98adf1dfae7d07caff2edaf0030fb3c5
89df4cd42fc0afb5adee142e045d2e2e08311402
refs/heads/main
2023-07-31T06:59:04.899487
2021-09-28T14:32:38
2021-09-28T14:32:38
367,925,858
0
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
#!/usr/bin/env python3 # Copyright (c) 2017 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 HD Wallet keypool restore function. Two nodes. Node1 is under test. Node0 is providing transactions an...
[ "faetos@yahoo.com" ]
faetos@yahoo.com
91f409929c0506464850ba47dccff4634307cf2f
d01a680c94777da2ae2da778475370e3e70a2d48
/timeseries_replay/publishers/BasePublisher.py
5e0431ae999129979351dc740b303ef7ac36c297
[ "MIT" ]
permissive
Data-drone/timeseries_replay
16286ef40ab1d9f77b148ea1463f22f842c0b1b5
62cf0261f6c963529b2c5e7398d70c02d10ff081
refs/heads/main
2023-03-16T15:20:13.957926
2021-03-21T12:50:47
2021-03-21T12:50:47
334,358,722
1
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
"""A template Publisher class of what methods we need for the runner """ import logging import datetime logger = logging.getLogger(__name__) class BasePublisher: """Base Publisher class """ def __init__(self): pass def json_cleaner(self, item): """Clean json formats Json du...
[ "bpl.law@gmail.com" ]
bpl.law@gmail.com
98d3775afdf2a9e985e6ae9a200a386d6030bd5b
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/timerstuff.py
11677b2304ab1efb552d54d9cc1240ddbe39ad15
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
#Embedded file name: timerstuff.py """This is an autogenerated file to mimic the nasty namespace.""" from carbon.common.script.util.timerstuff import ClockThis from carbon.common.script.util.timerstuff import ClockThisWithoutTheStars from carbon.common.script.util.timerstuff import SimpleTimingContext from carbon.commo...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
3efde15f1303b7db617cd88c6893bb1c33ffa1d5
448d70d59cd2ebf5c6f183de227d66180cef3029
/scripts/addons_extern/metatool_addon/light_trilighting.py
05e04b21d4c1558580e9d2efba87f7c1c2b16fd8
[]
no_license
motorsep/blenderpython
804fb149f7a8d22425e057bf3ae91f36fecb047f
f69bc448ed44875d30fcfda1acb33962015386c9
refs/heads/master
2021-01-18T02:01:54.117018
2016-04-10T06:06:36
2016-04-10T06:06:36
56,364,677
1
0
null
2016-04-16T04:00:56
2016-04-16T04:00:55
null
UTF-8
Python
false
false
6,979
py
#bl_info = { # "name": "Tri-Lighting Creator", # "category": "Object", # "author": "Daniel Schalla", # "version": (1, 0), # "blender": (2, 68, 0), # "location": "Object Mode > Toolbar > Add Tri-Lighting", # "description": "Add 3 Point Lighting to selected Object" #} import bpy import mathutils fr...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
b51bad35ca2314ac2ce2d9a079d170a39e7a4343
77900cdd9a815caf1cd04705321ca93f5072179f
/Project/.history/product_20211027005028.py
bc7f4e3838ab25594ba404590a6725d39bac3b42
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
7,156
py
import data as list_product import random # def __init__(self, Id, Product_code, Product_name, Brand, Year, Size): # self.Id = Id # self.Product_code = Product_code # self.Product_name = Product_name # self.Brand = Brand # self.Year = Year # self.Size = Size # Thêm sản phẩm def AddProduct()...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
260bc9515774f3ca448c51d8d4da348f1b78a1c8
17594c0dc66f37efc19568509bfbe0d440adfce1
/programmers/2021_dev_matching_web_backend/rotating_matrix_borders.py
4a017367d857b07453cdbf063a2229a9e4353036
[]
no_license
jhs851/algorithm
c7cea7d3773871593dea0805bdb9f67a9e36d380
24995cdb0f1100590c9f5cc1df4a7eedd2bfe281
refs/heads/main
2023-07-26T03:09:13.005799
2021-09-09T07:18:29
2021-09-09T07:18:29
362,413,731
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
def solution(rows, columns, queries): answer = [] return answer print(solution(6, 6, [[2, 2, 5, 4], [3, 3, 6, 6], [5, 1, 6, 3]])) # [8, 10, 25] print(solution(1, 3, [[1, 1, 2, 2], [1, 2, 2, 3], [2, 1, 3, 2], [2, 2, 3, 3]])) # [1, 1, 5, 3] print(solution(100, 97, [[1, 1, 100, 97]])) # [1]
[ "jhs851@naver.com" ]
jhs851@naver.com
76b0b332ecace118f8dca4060a19bf221632c112
fa5c1a19f55988cae5717cbd26cf649a2c4bb20e
/models/MResnet2d.py
6f3701e301435eca40db205c5837dc677da4047a
[ "MIT" ]
permissive
chendingliang/Probabilistic_RUL_Prediction
590d944389de5666f4051ef362797ee161fe91e4
e5bfdd01f08cd7961c934887dcbe5a6d18070be2
refs/heads/main
2023-01-24T05:20:34.661574
2020-11-30T16:12:16
2020-11-30T16:12:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,868
py
import torch.nn as nn import torch.utils.model_zoo as model_zoo import math import torch def conv3x1(in_planes, out_planes, stride=1): """3x3 convolution with padding""" return nn.Conv2d(in_planes, out_planes, kernel_size=(3, 1), stride=(stride, 1), padding=(1, 0), bias=False) def co...
[ "646032073@qq.com" ]
646032073@qq.com
bd5a4bb943ab02272c8315fb6f460533a57ae0ae
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories_2to3/190816/MasterThesisDiabeticRetinopathy-master/scripts/old/extract_features.py
08c71a916d44bda73818e97bb880c55c466c215a
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
7,063
py
from caffe.io import load_image import os import sys import numpy as np import multiprocessing as mp import scipy import time from distance.distance import cdist as native_cdist from .lmdbWriter import open_csv from skimage.util import view_as_windows def main(argv): import argparse parser = argpa...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
232605950b87d42f911ff5b644d6724e9c05f986
d93159d0784fc489a5066d3ee592e6c9563b228b
/RecoEgamma/PhotonIdentification/python/Identification/mvaPhotonID_Spring15_25ns_nonTrig_V2_cff.py
250934287c14849ec015f285289d09aa85d38d1c
[]
permissive
simonecid/cmssw
86396e31d41a003a179690f8c322e82e250e33b2
2559fdc9545b2c7e337f5113b231025106dd22ab
refs/heads/CAallInOne_81X
2021-08-15T23:25:02.901905
2016-09-13T08:10:20
2016-09-13T08:53:42
176,462,898
0
1
Apache-2.0
2019-03-19T08:30:28
2019-03-19T08:30:24
null
UTF-8
Python
false
false
4,684
py
from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry import FWCore.ParameterSet.Config as cms # # In this file we define the locations of the MVA weights, cuts on the MVA values # for specific working points, and configure those cuts in VID # # # The following MVA is derived for Spring15 MC s...
[ "lindsey.gray@gmail.com" ]
lindsey.gray@gmail.com
8c9857b0409a62a50cfdcb0844b19eab84c59a30
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_125/ch128_2020_04_01_16_45_51_736997.py
dd02b7fe0647eca4854f55d297c3cbfac52194de
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
a = input('esta se movendo ?') if a=='s': b=input('deveria estar se mover ?') if b=='s': print('sem problemas') elif b=='n': print ('silver Tape') if a=='n': c=input('deveria estar parado ?') if c=='s': print ('sem problemas') elif c=='n': print ('WD-40')
[ "you@example.com" ]
you@example.com
a5776a98f4d5b90d9faea848de81298ac90cbf84
f70d443a4675c72471f66a8f71cb39334016b144
/tests/test_camara/test_deputados.py
3f07f6cc6b263ffd86393468371bb11a845b1251
[]
no_license
congresso-em-numeros/congresso
ae4682898b90791877176f97dcd25f7bb4cafad2
26c82c59308f4a064fccfbc9f0cda4161a4a81c6
refs/heads/master
2021-06-14T20:23:01.147388
2017-03-23T12:24:00
2017-03-23T12:24:00
83,844,530
4
1
null
null
null
null
UTF-8
Python
false
false
353
py
import pytest from unittest import TestCase from congresso_api.camara.deputados import DeputadosClient class Tests(TestCase): @pytest.fixture() def deputados(self): return DeputadosClient() def test_obter_deputados(self): deputados = DeputadosClient() self.assertIsInstance(...
[ "joao.carabetta@gmail.com" ]
joao.carabetta@gmail.com
8e199415cf194eccfcd7d649b9fca0a21d8d5bc4
3fcd2aee1ad3ab7590e1cdabdad79f4b90503612
/plugins/batch.py
ee851d53f22ff58d0119b7bbd6e407d57cdc5e49
[]
no_license
madre/django-xadmin
4c47859f4fff0d435cd9cd05398dd5c531121951
2ca0a32fd2149c069aa40d418ee14db920d696ee
refs/heads/master
2021-01-09T20:32:32.097138
2016-06-12T03:46:45
2016-06-12T03:46:45
60,940,678
1
1
null
null
null
null
UTF-8
Python
false
false
5,875
py
import copy from django import forms from django.db import models from django.core.exceptions import PermissionDenied from django.forms.models import modelform_factory from django.template.response import TemplateResponse from django.utils.encoding import force_unicode from django.utils.safestring import mark_safe fro...
[ "lingnck@gmail.com" ]
lingnck@gmail.com
18558f1c4372f33ba276c89c322bdda78405ab4a
920f0fbb7064f2017ff62da372eaf79ddcc9035b
/lc_ladder/company/fb/Random_Pick_Index.py
f1393cee2d0bbca1a786e282c5db75c481c52913
[]
no_license
JenZhen/LC
b29a1c45d8c905680c7b4ad0017516b3dca80cc4
85219de95e41551fce5af816b66643495fe51e01
refs/heads/master
2021-06-03T10:03:02.901376
2020-08-05T19:44:48
2020-08-05T19:44:48
104,683,578
3
1
null
2020-08-05T19:44:50
2017-09-24T23:30:35
Python
UTF-8
Python
false
false
1,630
py
#! /usr/local/bin/python3 # https://leetcode.com/problems/random-pick-index/submissions/ # Example # Given an array of integers with possible duplicates, randomly output the index of a given target number. # You can assume that the given target number must exist in the array. # Note: # The array size can be very large...
[ "jenzhen.nyc89@yahoo.com" ]
jenzhen.nyc89@yahoo.com
07f10edc94ae925d832609f9f257e825ea9d74c1
9c73eccb0f27ee98452864e6388802e1c0a9e51c
/py_tdlib/constructors/language_pack_string.py
b7d012120e3ccd2b6f7f7fd16d63cc9881d9bf6f
[ "MIT" ]
permissive
Tempah28/python-tdlib
32a684cba6f5b8fcd5673d01a06f926304d29c5b
925781f2ef9e386dab437334048c798fa9cb945f
refs/heads/master
2020-03-31T00:16:06.943269
2018-10-05T14:16:12
2018-10-05T14:16:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from ..factory import Type class languagePackString(Type): # one language pack string @key String key @value String key = None # type: "string" value = None # type: "LanguagePackStringValue"
[ "andrew@localhost" ]
andrew@localhost
51a1cb622d226d7c719c0175fd9cb5c5e520bacd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/33/usersdata/62/10663/submittedfiles/av1_parte3.py
d4a3d2cc1eb2a4ebb55ddbde74eebf9a127f82e9
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
# -*- coding: utf-8 -*- from __future__ import division #COMECE AQUI ABAIXO #ENTRADA n=input("Digite o valor de n: ") j=1 k=0 i=1 soma=0 #PROCESSAMENTO while i<=n: if k%2==0: soma=soma-(1/j*(3**k)) else: soma=soma+(1/j*(3**k)) j=j+2 i=i+1 k=k+1 total=(12**0.5)*soma print ("o valor d...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d286cd469a37dd7ba97117a08d201fcf7fd0fa95
0c8ac66ae050e1a98dd8afd7525c9ed74ec5d300
/django_school_management/students/migrations/0003_auto_20201006_0207.py
8cf1f5a97b548139961b8e12ce87a9530eca1667
[]
no_license
TareqMonwer/Django-School-Management
5b1c8145d04082063bc14fc9db1ce38b4db97a9d
3d425d300a77ad505089a3a4c0a9dc71cacbe89a
refs/heads/master
2023-08-19T23:36:34.359488
2023-08-13T05:53:42
2023-08-13T05:53:42
221,053,244
409
163
null
2023-08-13T05:53:44
2019-11-11T19:22:28
JavaScript
UTF-8
Python
false
false
636
py
# Generated by Django 2.2.13 on 2020-10-06 02:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('students', '0002_auto_20201006_0201'), ] operations = [ migrations.AlterField( model_name='admissionstudent', name=...
[ "tareqmonwer137@gmail.com" ]
tareqmonwer137@gmail.com
82a4741061ccbb9ce9b497a9531745597eca18c2
9f1039075cc611198a988034429afed6ec6d7408
/tensorflow-stubs/contrib/proto/__init__.pyi
07746a552c4b3a9b49b2160eeafe358ac80a5a83
[]
no_license
matangover/tensorflow-stubs
9422fbb1cb3a3638958d621461291c315f9c6ec2
664bd995ef24f05ba2b3867d979d23ee845cb652
refs/heads/master
2020-05-23T12:03:40.996675
2019-05-15T06:21:43
2019-05-15T06:21:43
186,748,093
0
0
null
null
null
null
UTF-8
Python
false
false
400
pyi
# Stubs for tensorflow.contrib.proto (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from tensorflow.contrib.proto.python.ops.decode_proto_op import decode_proto as decode_proto from tensorflow.contrib.proto.python.ops.encode_proto_op import encode_proto as encode_proto from te...
[ "matangover@gmail.com" ]
matangover@gmail.com
6235e2976733e907206ddec738534bac33e6d44e
eb6f1c78b7a38f5386c013a8b453ba7c07a5e76b
/textattack/constraints/semantics/sentence_encoders/thought_vector.py
454e4ec9bd4300c3657ab427fb10993fa56684d9
[ "MIT" ]
permissive
StatNLP/discretezoo
b143306297fe5590800853c71278cc0c4cdd5e68
565552b894a5c9632ac7b949d61a6f71123031e4
refs/heads/master
2023-07-29T04:12:36.355651
2021-09-17T13:21:26
2021-09-17T13:21:26
404,305,923
0
1
null
null
null
null
UTF-8
Python
false
false
1,626
py
""" Thought Vector --------------------- """ import functools import torch from textattack.shared import AbstractWordEmbedding, WordEmbedding, utils from .sentence_encoder import SentenceEncoder class ThoughtVector(SentenceEncoder): """A constraint on the distance between two sentences' thought vectors. Ar...
[ "berger1954@gmail.com" ]
berger1954@gmail.com
b2fb6d3a6d2008bf16e9677db33512229d34559f
9a66a9acebfb324a5303f9bfe0570145e4a31554
/plugin.video.salts/scrapers/moviehubs_scraper.py
72eedc7fe98b7f13c48fe19b2a7986f6357db2c2
[]
no_license
n0490b/tdbaddon
f229e9f7b8587925cfe38acb04c5f5c70bbf1837
21628f1b40e2f854cc3b63acf0d632bb5daecdac
refs/heads/master
2021-01-23T04:58:23.101284
2017-03-26T09:35:56
2017-03-26T09:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,634
py
""" SALTS XBMC Addon Copyright (C) 2014 tknorris This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. T...
[ "tdbaddon@hotmail.com" ]
tdbaddon@hotmail.com
d8643273e590aec1c6f29a58fa5b3c594def039d
52b5773617a1b972a905de4d692540d26ff74926
/.history/leet_20200615171714.py
94fe5573d4e09e28fc6afc0eac03b0aaa58da2df
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
# how a binary tree works is the smaller numbers are # on the left then the bigger ones are on the right # returning the node also returns the children which is what # you want def search(root,val): if root is None: return [] elif root.val == val: print(root) return root else...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
a895bc636cd70c0581170adc235d73684d1140fa
a8d68074db5c2b2697650ed0281979d3e00cf5a8
/python-spider/downloader.py
3f75ddd02fd4139c7cbde92d19278ba18cafe3dd
[]
no_license
15807857476/bogdata-2
9595609ea2ae5ae0a48c511f911df2498456467e
1934cdfa234b77ca91e349b84688db113ff39e8c
refs/heads/master
2023-05-26T19:10:18.439269
2019-05-24T02:50:41
2019-05-24T02:50:41
188,327,526
3
1
null
2023-05-22T21:37:27
2019-05-24T00:53:28
Python
UTF-8
Python
false
false
2,296
py
#-*- coding: UTF-8 -*- import requests from contextlib import closing class ProgressBar(object): def __init__(self, title, count=0.0, run_status=None, fin_status=None, total=100.0, unit='', sep='/', chunk_size=1.0): super(ProgressBar, self).__init__() self.info = "[%s] %s %.2f %s %s %.2f %s...
[ "2397955090@qq.com" ]
2397955090@qq.com
8781b034b03ba28b3faf34b92bb661105643a8b8
6d967da5fd95aa5e66ddbb211da40041006ca5ec
/mysite/urls.py
8f072e8d75e07020c16b3150ee422c782be55430
[]
no_license
gevorkyannaira/my-first-blog
96e4458045a1dd0aa9c1f3ec69f4c829428200e0
42ab12a8c2b0e402b5fa1b8e5a7cdd2629d06c16
refs/heads/master
2022-09-03T21:14:18.946448
2020-05-18T18:15:39
2020-05-18T18:15:39
264,909,108
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "gevorkyannaira5@gmail.com" ]
gevorkyannaira5@gmail.com