blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
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
777 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
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
e697a647f909d1a951d270950ace2ebc78ca5671
ef1989ac573384c32659ac21303293abee8a4e22
/2021/14891.py
ffa2b145d421f67bf7bdfd02f6c011f088bc8f89
[]
no_license
Algorithm-P0/meanjung
f3605fd4e515d61d3aeedf420932a029b6037f00
028906eb7275485a5e739c10b8dda85dff63e341
refs/heads/master
2023-06-05T18:52:16.708158
2021-06-24T07:41:12
2021-06-24T07:41:12
262,729,336
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
import sys from collections import deque gear = {} # 재귀 # deque rotate # 나눠서 생각하기 def check_right(i, d): if i>4 or gear[i-1][2]==gear[i][6]: return if gear[i-1][2]!=gear[i][6]: check_right(i+1, -d) gear[i].rotate(d) def check_left(i, d): if i<1 or gear[i][2]==gear[i+1][6]: re...
[ "meanjunghong@naver.com" ]
meanjunghong@naver.com
613431600f0648b62bd10a565833d8aaeda1f2eb
3637fe729395dac153f7abc3024dcc69e17f4e81
/personal/pythonic/rules/rule5.py
71ecaef39ca7a650889c9ab08c8644e32b512339
[]
no_license
madmonkyang/cda-record
daced6846c2456f20dddce7f9720602d1583a02a
c431e809e8d0f82e1bca7e3429dd0245560b5680
refs/heads/master
2023-06-15T08:16:46.230569
2021-07-15T16:27:36
2021-07-15T16:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,171
py
# ----------- 通过添加空行让代码布局更优雅 ----------------- # 优雅布局的代码可读性更好 # 1)在一组代码表达完一个完整的思路之后,应该用空白行进行间隔 # 2)尽量保持上下文语义的易理解性 # 3)避免过长的代码行,每行最好不要超过80个字符 # 4)不要为了保持水平对齐而使用多余的空格,其实使阅读者尽可能容易地理解代码所要表达的意义更重要。 # X = 5 # Year = 2013 # name = "Jam" # d2 = {'spam': 2, 'eggs': 3} # 5)...
[ "silentbalanceyh@126.com" ]
silentbalanceyh@126.com
591d5fcd74502a62b74291cf6934fd4674f013be
6569158699caec02fca237748b537863b861460c
/src/model/edge/comoto/matches/SolutionMatch.py
a41b596e224df0250e719fe3f13e476ed010f441
[]
no_license
wfnuser/RicherPathSIM
7c570ed35680c99643408ca9d1ccc40e935b4a36
253906f9a2fe4fb4d3451ebd1d3b51de51e0d239
refs/heads/master
2021-01-11T06:19:12.669466
2013-06-20T23:05:46
2013-06-20T23:05:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
from src.model.edge.comoto.Match import Match __author__ = 'jontedesco' class SolutionMatch(Match): """ Represents a match from the semester between a student and solution """
[ "jon@jontedesco.net" ]
jon@jontedesco.net
08ed8d0a336e64e7e75c5196b3b90b21fa62f712
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02759/s366840134.py
1552966cf614a583db0563fbec44ee5307d7d101
[]
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
70
py
d = int(input()) if d % 2 == 0: print(d//2) else: print((d//2)+1)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
87de4551c681fee5d25a358b92517313273b6b09
e780a5bd72f98ca2513c993d64a85b08578166a6
/buildout-cache/eggs/dexterity.membrane-2.0.1-py2.7.egg/dexterity/membrane/behavior/user.py
cf4775ae8452bcb8fd1e9cfa252ddff3dd25edd8
[]
no_license
vedantc98/Plone-test
023246597ffe848e2a49b9f65742ff49127b190b
9fd520fc78481e2c0b9b7ec427821e7f961c777e
refs/heads/master
2021-03-30T22:14:33.368739
2018-03-11T19:22:58
2018-03-11T19:22:58
124,671,713
0
0
null
null
null
null
UTF-8
Python
false
false
7,433
py
# -*- coding: utf-8 -*- from borg.localrole.interfaces import ILocalRoleProvider from dexterity.membrane.behavior import settings from plone.app.content.interfaces import INameFromTitle from plone.registry.interfaces import IRegistry from plone.uuid.interfaces import IUUID from Products.CMFCore.utils import getToolByNa...
[ "vedantc98@gmail.com" ]
vedantc98@gmail.com
cfc9ccdb03d86cdfbfd9d8b62707bac5c28662bd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/446/usersdata/342/106080/submittedfiles/diagonaldominante.py
bb47f7c46502c4423f2b36ab00b07a6481a6e033
[]
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
293
py
# -*- coding: utf-8 -*- n = int(input('digite a ordem da matriz')) m = [] for i in range (0,n,1): l = [] for j in range (0,n,1): val = int(input('digite os elementos')) l.append(val) m.append(l) if m[i][i] > sum(m[i]): print ('SIM') else: print ('NAO')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4da4d93e2ea86715422e5085e0a64bef81ba28ab
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/7Y2C8g3fXXyK2R9Bn_4.py
ac6c499928b63fbcf153c7a50618e2be7495083f
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
import string def build_alphabet(key): alphabet = list(string.ascii_lowercase) if not key: return alphabet prefix = list() for k in key: if k not in set(prefix): prefix.append(k) return list(prefix) + [x for x in alphabet if x not in set(prefix)] ​ def keyword_cipher(key, message): ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4761778c36303c419770e2fc656774686c586088
1281018ab4041ef5d1e96c0c9b347b7cb4e7e19a
/apps/beeswax/src/beeswax/server/dbms.py
757a186064f572685ce968d15aa352cc5a4a3e2e
[ "Apache-2.0" ]
permissive
dsc/hue
5351969332839e670ea34641207c66a9b9ae182a
f03f970527e0867337dafb68ed6228c5acd28a9f
refs/heads/master
2023-07-31T20:35:19.820356
2013-03-07T19:50:47
2013-03-08T17:24:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,046
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "romain@cloudera.com" ]
romain@cloudera.com
e02e7fff4504c1018796e2e44a222d20b951ba04
629606ef6e0ce252f74729ac60f57ca8805c3c78
/hw_001_Django/hw_001_PhotoAlbum/venv/bin/django-admin
d3381f2997cc16f09e92b2314b3669a67eeaa421
[]
no_license
LeeXyan/lxgzhw006
cc31024874725f60b766c9d5d24c2dafc66b8de3
621a73544262df7e104806579242deeaa8dbe2c2
refs/heads/master
2021-10-10T17:41:52.381843
2019-01-15T00:25:08
2019-01-15T00:25:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
322
#!/home/lxgzhw/PythonWork/hw_001_Django/hw_001_PhotoAlbum/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line()...
[ "1156956636@qq.com" ]
1156956636@qq.com
ad581fc795295d46848829c74be7b294f589f8f7
037a03d4b8b81bc39dc41cb4f3726f8297c8b672
/0328.py
7e71cf6a7e97dbefff3a5a4a1a225a50def183f2
[]
no_license
Agchai52/Leetcode1
ee3433ef6f6c3ddd800204c25a456dc7c3fd0053
9535d038bee690b7c7aeca352a4ab32d188684bb
refs/heads/master
2021-08-22T02:59:45.632548
2020-05-21T00:31:45
2020-05-21T00:31:45
185,273,962
1
0
null
null
null
null
UTF-8
Python
false
false
618
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def oddEvenList(self, head): """ :type head: ListNode :rtype: ListNode """ if not head or not head.next: retu...
[ "noreply@github.com" ]
Agchai52.noreply@github.com
c088c53d6f57c328df2ee1417ecce330e4f9fdf9
ae3f23efcdc4b7fdd1c224043d0ece002955956e
/xplace/xplace/base/api_settings.py
0ebdcfb3181beddaf06ffdce4c7e44c860257333
[]
no_license
alexeysofin/xplace
4466682fe76c808288d69f2808ddbca38a583bc4
9f12f066a62fae4e789bee94e5e554cc6de26d90
refs/heads/master
2023-01-12T01:02:40.137609
2021-02-14T20:41:30
2021-02-14T20:41:30
208,021,139
0
0
null
2023-01-04T10:18:46
2019-09-12T10:07:17
Python
UTF-8
Python
false
false
701
py
from rest_framework.settings import APISettings as OAPISettings class APISettings(OAPISettings): def __init__(self, user_settings=None, defaults=None, import_strings=None): super().__init__(user_settings=user_settings, defaults=defaults, import_strings=import_strings) self...
[ "sofin.moffin" ]
sofin.moffin
d2af94c4f0c53d185501c28cda8f07558f47b8ac
6c26a9bd075d3d54a307d7c1e5a0bc67b50df8c2
/python_basics/python5/01_data_set.py
052c51df9a7e35b72aaa60b177847f19b9b8ad31
[]
no_license
marialobillo/dataquest
86efc49c0339c07e6263d428b5ecd2f80d395ecb
49e8b653adf23a12fb9eb6a972d85bc1797dba0a
refs/heads/master
2021-08-28T08:01:36.301087
2017-12-11T16:02:18
2017-12-11T16:02:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
# Weather has been loaded in. first_element = weather[0] print(first_element) last_element = weather[len(weather) - 1] print(last_element)
[ "maria.lobillo.santos@gmail.com" ]
maria.lobillo.santos@gmail.com
78ccbc04e473d4627af7a410f35e9807e834cea9
597f847f0bd2112e45ca50979acec403a5f969cf
/python/day13/code/mypack/menu.py
8bfdef381050f7728b055b3e480aa4ed88c1cc37
[]
no_license
wangyuhui12/AID1804
e5d26aa6d505655cd885784cc0645c9ea8323df5
7291fc9411b541d17e540dd829166e64887fd9f7
refs/heads/master
2022-09-11T23:10:47.631426
2022-08-03T09:01:13
2022-08-03T09:01:13
136,152,631
2
0
null
null
null
null
UTF-8
Python
false
false
148
py
def show_menu(): print("1) 魂斗罗") print("2) 超级玛丽") print("3)坦克大战") print("mypack里的menu模块被加载")
[ "noreply@github.com" ]
wangyuhui12.noreply@github.com
ceb806c731576085adcbf00ef6a9ae0b8c8950a1
648fbac90569e520540a14ad7be6714dc3aa303d
/scripts/cell/card_10000279.py
47f507c2bd180bd1377a9958ad792273a1caec95
[]
no_license
zhlhmjz/kbe_lscs
e573c1eac74c12005cb6c50288a952b2874e231b
6dc4eae5ab7fee66e929204abc80125f4f6be8f6
refs/heads/master
2021-08-24T13:43:42.208183
2017-11-21T08:39:14
2017-11-21T08:39:14
111,522,225
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
# -*- coding: utf-8 -*- import KBEngine from KBEDebug import * from interfaces.GameObj import GameObj class card_10000279(GameObj): #卡牌名称:血骑士 #卡牌描述:<b>战吼:</b>所有随从失去<b>圣盾</b>。每有一个随从失去圣盾,便获得+3/+3。 def __init__(self): GameObj.__init__(self) #-------------------------------------------------------------------------...
[ "752612571@qq.com" ]
752612571@qq.com
9e619be8d420eb905c81a65f773a5354e7a08a49
da1dbb0e1c8c323bbf7ba0eac43b5815ce075282
/python/ccxt/async_support/hitbtc2.py
d38472a28e1a4d346ce3f6c078dd74cab728f52e
[ "MIT" ]
permissive
alexander-dev-hub/ccxt
d339662d527bdf0d99380c61ccce233c4475d1a1
eba5dbe98cf106361c45cec9debda3d2722ea878
refs/heads/master
2022-07-10T05:03:35.809978
2019-09-02T19:10:10
2019-09-02T19:10:10
205,919,117
1
1
MIT
2022-06-22T15:56:21
2019-09-02T19:00:14
JavaScript
UTF-8
Python
false
false
54,357
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.hitbtc import hitbtc import base64 import math from ccxt.base.errors import ExchangeError from ccxt.base.errors imp...
[ "wangming19871126@gmail.com" ]
wangming19871126@gmail.com
29299dbc76677cb83758ef9a3df3d24950417c7c
04bdc02b4498024fc9df02bdb0dc57377e1fde0a
/ModelSerializer/manage.py
ccc875f9b7883137dbdc4a86430eeb3b1f4f0fce
[]
no_license
rutuja0897/DjangoRestFramework
3a06ac083fc4be5e903264e3c4b5dad7857af36b
1e343ef526370d782ddc03a4b2efbfa183c4bf77
refs/heads/master
2023-04-04T02:10:15.877630
2021-04-06T08:48:58
2021-04-06T08:48:58
355,118,822
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ModelSerializer.settings') try: from django.core.management import execute_from_command_line exc...
[ "kharatrutuja0897@gmail.com" ]
kharatrutuja0897@gmail.com
1754acbd467454f53ca609880be6c240a327236e
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/model_test.runfiles/com_google_fhir/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/learn/python/learn/ops/seq2seq_ops.py
2398792890008bbac159ba1f3ce8e2185df1b2c8
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/learn/python/learn/ops/seq2seq_ops.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
069e3823a91d9842fe658fab43c067db5b0df0b8
95b6f547270557a99c435b785b907896f62e87d1
/wrapper.py
8c621efaae2a1ed941a28cc0f2b395fbff264b38
[]
no_license
phizaz/seeding-strategy-ssl
6b3b58c9b1f556f8cd42fea5e3dc20e623462a08
85655ce3297130b273d5f86075ee6bdf1f12be0a
refs/heads/master
2021-01-10T06:18:26.618009
2016-04-02T14:50:08
2016-04-02T14:50:08
49,761,712
0
0
null
null
null
null
UTF-8
Python
false
false
16,144
py
from sklearn.cluster import KMeans, AgglomerativeClustering from sklearn.neighbors import KNeighborsClassifier, KernelDensity from sklearn.linear_model import LinearRegression import numpy as np import l_method from badness import * from pipe import Pipe from pipetools import * from util import * from kde import * from...
[ "the.akita.ta@gmail.com" ]
the.akita.ta@gmail.com
fdade0df630e4265b8fa596466515f5a14ccc8da
8eef99280d8c821ac7ea8b275140e356f84bc7df
/Lab Exercise 9.23.2020/Problem2.py
0040aa6daa2be548823281ff521a24d991ef66a9
[]
no_license
nmessa/Python-2020
7f609f383b6771bc77ea4b82be381beacb0f0fa0
8860a3563a89596becf897a2763a169be7f3027f
refs/heads/master
2023-04-03T22:37:02.221375
2021-04-18T15:20:03
2021-04-18T15:20:03
269,480,165
3
2
null
null
null
null
UTF-8
Python
false
false
426
py
##Lab Exercise 9/23/2020 Problem 2 ##Author: ##Program to determine eligibility #get age from user and store in the integer age #Add code here #get gender from the user and store in the string gender #Add code here #if age is 10, 11, or 12 and gender is "f" then print "Eligible" or #else print "Not...
[ "noreply@github.com" ]
nmessa.noreply@github.com
54d1507f10f2b350386bac0193e5951068fa4148
3940b4a507789e1fbbaffeb200149aee215f655a
/lc/1694.ReformatPhoneNumber.py
5c7694df7ec4e745adb976884d304977e0d6c2fb
[]
no_license
akimi-yano/algorithm-practice
15f52022ec79542d218c6f901a54396a62080445
1abc28919abb55b93d3879860ac9c1297d493d09
refs/heads/master
2023-06-11T13:17:56.971791
2023-06-10T05:17:56
2023-06-10T05:17:56
239,395,822
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
# 1694. Reformat Phone Number # Easy # 9 # 28 # Add to List # Share # You are given a phone number as a string number. number consists of digits, spaces ' ', and/or dashes '-'. # You would like to reformat the phone number in a certain manner. Firstly, remove all spaces and dashes. Then, group the digits from left...
[ "akimi.mimi.yano@gmail.com" ]
akimi.mimi.yano@gmail.com
67ddaedc7b7fe3ae6bb5b72544ebb43aae336758
9fa50ad6e4967ea9145ba2f35449a43f79215cad
/dtcwt/keypoint.py
342aa48e7b479c39100e34ffa5bf7a1021b3b0ca
[ "BSD-2-Clause" ]
permissive
hgomersall/dtcwt
b92e338c982b96525333911a8d253c28d1975de2
b08b5197a740cf7412ec226a6a5848212129fc4c
refs/heads/master
2021-01-18T08:14:08.144017
2016-04-11T11:16:32
2016-04-11T11:17:04
21,161,189
1
0
null
null
null
null
UTF-8
Python
false
false
10,864
py
from __future__ import absolute_import import numpy as np from dtcwt.sampling import upsample_highpass, upsample __all__ = [ 'find_keypoints' ] def find_keypoints(highpass_highpasses, method=None, alpha=1.0, beta=0.4, kappa=1.0/6.0, threshold=None, max_points=None, upsample_keypoint_energy=N...
[ "rjw57@cam.ac.uk" ]
rjw57@cam.ac.uk
c5595e65df555691013e4c38b86a7b5f8795267b
d29cdf02e55ead8aa859986e10e43c8946a80c86
/predict0628.py
edb196a1599cee66e12fd612213eeb396f2914d6
[]
no_license
lijiahong/fin_lstm
3e8e70c8ecc3d15cb7915be8c89d37553543164c
cc5e08d5404ceb4c42bf7b7e34324b01f5c6b6c0
refs/heads/master
2021-01-18T11:23:03.021007
2018-10-20T10:34:42
2018-10-20T10:34:42
84,324,181
0
0
null
null
null
null
UTF-8
Python
false
false
11,790
py
# -*- coding: utf-8 -*- from __future__ import print_function import time import warnings import numpy as np import pandas as pd import time from keras import regularizers from numpy import newaxis from keras.layers.core import Dense, Activation, Dropout from keras.layers.recurrent import LSTM from keras...
[ "lijiahongasdf@163.com" ]
lijiahongasdf@163.com
0085bc58e3d1ed3eec775a079d98c35cc47b4d1a
b483c598fa375e9af02348960f210b9f482bd655
/pythonbrasil/exercicios/repeticao/ER resp 25.py
c20174fd71d029b7c13d4e549412f2cfaa861532
[ "MIT" ]
permissive
brunofonsousa/python
6f766d08bf193180ea9a4903cb93ffd167db588d
8f2f26c77015c0baaa76174e004406b4115272c7
refs/heads/master
2022-09-30T14:58:01.080749
2020-06-08T09:55:35
2020-06-08T09:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
''' Faça um programa que peça para n pessoas a sua idade, ao final o programa deverá verificar se a média de idade da turma varia entre 0 e 25,26 e 60 e maior que 60; e então, dizer se a turma é jovem, adulta ou idosa, conforme a média calculada. ''' print('\n') soma = 0 n = int(input('Digite o número de pessoas: '))...
[ "brunofonsousa@gmail.com" ]
brunofonsousa@gmail.com
f3b40363871c5b16e73b3f283505daa6f9e73806
e3477a9b47b8bec432504a3cfc7e302728f0ca51
/honeybot/plugins/greet.py
da31905e16ea11acf3f028765f03d718fb0608d4
[ "MIT" ]
permissive
ajimenezUCLA/honeybot
bea4f195e09aa0ff3dec8f864e5de6951d2835a6
63f4cf8cd8a41f7bb15b98a611275bc7b3cebcb3
refs/heads/master
2020-04-26T22:52:12.934848
2019-03-08T08:02:43
2019-03-08T08:02:43
173,886,111
1
0
MIT
2019-03-08T06:36:35
2019-03-05T06:13:42
Python
UTF-8
Python
false
false
571
py
# -*- coding: utf-8 -*- """ [greet.py] Greet Plugin [Author] Abdur-Rahmaan Janhangeer, pythonmembers.club [About] responds to .hi, demo of a basic plugin [Commands] >>> .hi returns hoo """ class Plugin: def __init__(self): pass def run(self, incoming, methods, info): try: # if ...
[ "arj.python@gmail.com" ]
arj.python@gmail.com
70c37bf50b9dd474d91826d6f8649f6552ca805b
3a02bff6397eb23afd55cc17faf81c24a8751f2d
/fsoft/Week 2/BT_Numpy/bai5.py
e5be2ef3cacc5184231f41dcd504db1c9ec515b8
[]
no_license
cothuyanninh/Python_Code
909fd4d798cbd856e8993f9d4fea55b4b7c97a1f
7f657db61845cf8c06725a2da067df526e696b93
refs/heads/master
2022-11-06T01:00:39.939194
2019-01-13T15:27:38
2019-01-13T15:27:38
164,468,626
0
1
null
2022-10-13T16:16:21
2019-01-07T17:40:51
Python
UTF-8
Python
false
false
382
py
import numpy as np array_zero_default = np.zeros(10) array_zero = np.zeros(10, dtype = "int16") array_one_default = np.ones(10) array_one = np.ones(10, dtype = "int16") array_empty_default = np.empty(10) array_empty = np.empty(10, dtype = "int16") print(array_one_default) print(array_zero) print(array_one_default) p...
[ "cothuyanninh@gmail.com" ]
cothuyanninh@gmail.com
b250b3e4d9d118f1dba6bb2499c3221c2a358749
a98bb4ac1b8c38c78a2c9f7ae4933249efa04902
/venv/bin/easy_install
4ccf76ff4ccb24ad718270422ab1bab57e9ecb38
[]
no_license
MonRes/object_programming_actual
258ea0c2080eb5a4702e9c874aa0314b69fdc5d5
a93b72ee8ca69ed8071a4c895b4bf00f86860e13
refs/heads/master
2020-03-19T16:50:56.840260
2018-06-09T14:57:51
2018-06-09T14:57:51
136,732,796
0
0
null
null
null
null
UTF-8
Python
false
false
452
#!/home/student/PycharmProjects/object_programming/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|...
[ "Restek87@gmail.com" ]
Restek87@gmail.com
91d626c6fd8661d0c77e0305e47d04c97d71d5ac
0cb4725b3950b2ec0afa9eb11de065fae839d1e1
/lstm_seq2seq_jg_keras.py
a4ab1c0cba43bea5140409c7fde91d4d4d1df977
[ "CC-BY-2.0" ]
permissive
jeonggwanlee/seq2seq_tutorial
682be3b84dc3573a897c4af3632a7f8051a42ac7
3483647a13f9dde9b20213ff8c901ec82941a011
refs/heads/master
2020-04-27T16:14:19.162957
2019-03-14T13:24:26
2019-03-14T13:24:26
174,477,558
0
0
null
null
null
null
UTF-8
Python
false
false
5,872
py
''' This script demonstrates how to implement a basic character-level seq2seq model. We apply it to translating short English sentenses into short French sentences, character-by-character. Note that it is fairly unusual to do character-level machine translation, as word-level models are more common in this domain. *...
[ "leejk526@gmail.com" ]
leejk526@gmail.com
9831abec16a99a9a34d749f1d206fb7f0a53fcfb
46f2834ae92da9e17463def0c635f75bf05886a1
/abc/abc187/E/main.py
4157fb655f7eeabba73e1903a446b3b9f3a3b624
[]
no_license
replu/atcoder
bf3da10c937c955ca1bc3fa33b8f24c74d2d6c50
a6183d03355058bccc2b89db5e07b7f72598fea3
refs/heads/master
2023-03-30T15:03:47.879783
2021-03-28T17:08:19
2021-03-28T17:08:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
#!/usr/bin/env python3 import sys def solve(N: int, a: "List[int]", b: "List[int]", Q: int, t: "List[int]", e: "List[int]", x: "List[int]"): return # Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom templa...
[ "n.small.island@gmail.com" ]
n.small.island@gmail.com
050e2474a0d4583de4c91c8f9eaaf4c19446a8c8
714268a27bd4cc34ec053cb3d991012151554aad
/InterviewCake/AMAZON/GREEDY-StockPrice/AMAZON-stock-price.py
e09f49dd176ba41ad26315eb6b9ccd09db1d13b0
[]
no_license
yashhR/competitive
2b649011c2cea74eea8d9646bcfafc73743651eb
37f2ec68b33828df4692bc23f28d532cb8d4a358
refs/heads/master
2022-11-10T04:53:47.634062
2020-06-22T16:43:03
2020-06-22T16:43:03
274,190,602
0
0
null
2020-06-22T16:36:02
2020-06-22T16:36:02
null
UTF-8
Python
false
false
2,197
py
''' Writing programming interview questions hasn't made me rich yet ... so I might give up and start trading Apple stocks all day instead. First, I wanna know how much money I could have made yesterday if I'd been trading Apple stocks all day. So I grabbed Apple's stock prices from yesterday and put them in a list ca...
[ "17131a05h5@gvpce.ac.in" ]
17131a05h5@gvpce.ac.in
dc08f628ed3aaa2048ed47c0f499c55b863e2d9c
9335efe35993239fd92f3101876d8660372d9a4e
/Programmers/Lv2/Lv2_다리를지나는트럭.py
1e3c672bce94d2f3bb6904caefc7396e56195adb
[]
no_license
Seung-minnn/Programmers-Algorithm-1
a4bc98e37a4b9f1a22160bdbc6ffa86c2fc52fb6
2434eabb0d5aaa9c1c2dabd1a70befad908be576
refs/heads/master
2022-04-15T12:05:01.448760
2020-03-29T09:09:56
2020-03-29T09:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
def solution(bridge_length, weight, truck_weights): q = [] time = 0 total = 0 while len(truck_weights) > 0 or len(q) > 0: time += 1 if len(q) > 0 and time - q[0][1] == bridge_length: temp = q.pop(0)[0] total -= temp if len(truck_weights) > 0 and total + ...
[ "93negaro@gmail.com" ]
93negaro@gmail.com
3f47631e7c72f4230e4cbc09dcf909e4e4275721
244214ceac1f07216b6ddb19957c9e93bb20d9b6
/src/yolo_viz/src/tactile_image_generator_total_pressures_visualizer.py
dde280cfac10c020abff9061cc5772f156c3bc9a
[ "MIT" ]
permissive
robertokcanale/ros-yolov5
fb19a8777ca355fbe675c3c9e4d45f476184178e
fb39975857c7020e198c15943b1259899743ea18
refs/heads/main
2023-06-13T22:17:51.707541
2021-06-30T08:06:00
2021-06-30T08:06:00
353,715,449
1
0
null
null
null
null
UTF-8
Python
false
false
2,943
py
import pyrobotskinlib as rsl import numpy as np import rospy from cv2 import cvtColor, resize, imshow, waitKey, INTER_AREA, COLOR_GRAY2RGB from cv_bridge import CvBridge from time import sleep from functions import * from sensor_msgs.msg import Image from visualization_msgs.msg import MarkerArray from f...
[ "robyrugby95@gmail.com" ]
robyrugby95@gmail.com
628a358847e045d2204d23b15c63fdd443d8ebc0
dcdd30463a719e3509a3160071c2fbdd30295056
/mmp_backend/mmp_backend/settings.py
39878c2683448f6b295c2ba2b4a6bb50571bf01d
[]
no_license
sat0635/mmp_server_django
924d7e595729bd3e6b891b6ab74ef37948ee5a90
9594720e75b6e0558bff14ea271bf59bf3a93049
refs/heads/master
2020-06-25T10:34:07.779557
2019-09-23T00:13:51
2019-09-23T00:13:51
199,284,202
1
0
null
2019-07-28T12:25:41
2019-07-28T12:25:41
null
UTF-8
Python
false
false
3,779
py
""" Django settings for mmp_backend project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import ...
[ "=" ]
=
f58c97dd09b561c90d23be17ed12c6f0fd9d49e5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02720/s489776415.py
f469569ee5617ad74a19db78e035a6f200ce5696
[]
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
292
py
from collections import deque que=deque([i for i in range(1,10)]) k=int(input()) count=0 while count!=k: a=que.popleft() count+=1 if a%10==9: que.extend([10*a+8,10*a+9]) elif a%10==0: que.extend([10*a,10*a+1]) else: b=a*10+(a%10)-1 que.extend([b,b+1,b+2]) print(a)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
93a870b8433ac121ebe1ee1a76865b3d456aa81b
36adee39f12ab755f4e8692f2812fbe09e01e53b
/DjangoProject/Day03/index/models.py
4828bbeb0a6b8a08897442694263b72037696cd0
[]
no_license
LLjh2017/web-
0a2fe1eb125be341ab820843bd02ada5c90bb5d3
87ad93bfd85798920e24631883fb6d02ea3e4e92
refs/heads/master
2020-04-28T21:14:15.390275
2019-03-14T08:06:45
2019-03-14T08:06:45
175,575,184
0
0
null
null
null
null
UTF-8
Python
false
false
2,491
py
from django.db import models # Create your models here. # 1.name:出版社名称 - varchar # 2.address:出版社地址 - varchar # 3.city:出版社所在城市 - varchar # 4.country:出版社所在国家 - varchar # 5.website:出版社网址 - varchar class Publisher(models.Model): name = models.CharField(max_length=30,verbose_name='出版社') address = models.CharField...
[ "tarena@tedu.cn" ]
tarena@tedu.cn
c62eccfa4b340086c34b0d52afb58accc901000e
e4fc5b6cc64ca7f00ebea87dde6eb206a0d99f82
/y2019/d18/day18.py
3c1b9c4758fa987724b151a792c5e0d6da7e3adb
[]
no_license
Zahariel/adventofcode
2c077592c79b4048c1fc6e48e05845a02ff43150
57c84bab1a7f28183b151d3cdf1c2acbbcd0ec2f
refs/heads/master
2023-04-13T16:11:59.059321
2023-04-09T06:57:01
2023-04-09T06:57:01
162,377,245
2
0
null
null
null
null
UTF-8
Python
false
false
2,794
py
from breadth_first import breadth_first with open("input.txt") as f: map = [line.strip() for line in f] allkeys = set() start_x, start_y = 0, 0 for y, row in enumerate(map): for x, cell in enumerate(row): if cell == '@': start_x, start_y = x, y elif cell in 'qwertyuiopasdfghjklzxc...
[ "paul@zag.net" ]
paul@zag.net
95f6991401b934713b2f12fea873cdbd7207c56f
ff5d91e9eee4dd41e85d418120f11daec71cf93b
/2020/territoriali/download/managers/validator.py
608e33f08cf8067fdc70365113c2161023db0faa
[]
no_license
olimpiadi-informatica/oii
d0023c5fa00100cadc6a13b1e153fca0017177ca
ce6bc7e8b40a32c01611f4b20ee72f8a9318eafd
refs/heads/master
2021-05-16T02:35:15.742339
2020-03-14T21:56:18
2020-03-14T21:56:18
28,759,072
31
6
null
2019-12-15T12:37:53
2015-01-04T00:55:52
C++
UTF-8
Python
false
false
333
py
#!/usr/bin/env python3 from limits import MAXN import sys f = sys.stdin.readlines() T = int(f[0]) row = 0 for i in range(T): row += 1 assert len(f[row].strip()) == 0 row += 1 N, F, C = map(int, f[row].split()) assert 1 <= N <= MAXN assert 1 <= F <= MAXN assert 1 <= C <= MAXN assert len(f...
[ "williamdiluigi@gmail.com" ]
williamdiluigi@gmail.com
b692feb230e5959bb7fe56bbb055d45ae7819fc2
2432996ac1615cd36d61f0feeff8a359d2b438d8
/env/lib/python3.8/site-packages/PyInstaller/hooks/hook-PyQt5.QtNetwork.py
aef1b9ef6d33e411b9cb895792641cbf5f363dd7
[ "Apache-2.0" ]
permissive
Parveshdhull/AutoTyper
dd65d53ece7c13fbc1ead7ce372947483e05e2e3
7fabb30e15b770d790b69c2e4eaf9bbf5a4d180c
refs/heads/main
2023-05-08T14:10:35.404160
2023-05-07T20:43:15
2023-05-07T20:43:15
315,415,751
26
18
Apache-2.0
2023-05-07T20:43:16
2020-11-23T19:13:05
Python
UTF-8
Python
false
false
1,427
py
#----------------------------------------------------------------------------- # Copyright (c) 2013-2020, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License (version 2 # or later) with exception for distributing the bootloader. # # The full license is in the file COPYING.txt...
[ "parvesh.dhullmonu@gmail.com" ]
parvesh.dhullmonu@gmail.com
304e76a2e5bf3e6b3037da4c3082aeb0a4f24db7
85accf9f9ef7caeb53aef8344fc6bc3c14d9ef97
/astroNN/apogee/downloader.py
b640bb3f0ffbe20f8b5a7dc006956ae47706809d
[ "MIT" ]
permissive
bkmgit/astroNN
6051b43a249f2ce912c110ad4e468e79bf2e77a4
1d6ddbecff9d587b9c6c07d6ab69951d8cf8bfd4
refs/heads/master
2023-06-01T04:15:59.019534
2021-06-23T18:22:26
2021-06-23T18:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
35,617
py
# ---------------------------------------------------------# # astroNN.apogee.downloader: download apogee files # ---------------------------------------------------------# import getpass import os import urllib.request, urllib.error import warnings import numpy as np from astroNN.apogee.apogee_shared import apogee...
[ "henryskyleung@gmail.com" ]
henryskyleung@gmail.com
a59fc9fa71abd980501d4b5dd85bae20a493dc15
e53616ee3aa934ed9afdb7c14cb025a4dd4dcbb6
/bootstrap.py
f696a45294ef8319fa479950df6cfcfb1690b99f
[ "ZPL-2.1" ]
permissive
Zojax/zojax.formatter
336db8362c298512d05622c61676c14c0d7c3864
a4284a9da9ed1bf83568b00045f1fb30396f6c37
refs/heads/master
2016-09-06T15:58:54.543717
2014-11-24T11:07:10
2014-11-24T11:07:10
2,034,952
0
0
null
null
null
null
UTF-8
Python
false
false
1,736
py
############################################################################## # # Copyright (c) 2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "andrey.fedoseev@gmail.com" ]
andrey.fedoseev@gmail.com
e32398882e83fb6d20d5aa031c0c5d069bff9a47
f82a5fd1495ac6ae1d736cf1c2591fcbfb9c384c
/sample codes/topic3/python/api_test2.py
643962a9799bf891fb3b78d0877ed80e8a02cf20
[]
no_license
tertiarycourses/RobotArmControlTraining
12e6f575cc15035e038509dbcde3401e0f47aee6
4a3e0c08bdef9e4c4942b464b8468224a9e74eed
refs/heads/main
2023-02-17T07:07:25.932638
2021-01-16T05:04:26
2021-01-16T05:04:26
330,029,229
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
#!/usr/bin/env python # To use the API, copy these 4 lines on each Python file you create from niryo_one_python_api.niryo_one_api import * import rospy import time import math rospy.init_node('test_api2') print "--- Start" n = NiryoOne() # Move n.set_arm_max_velocity(30) n.move_pose(0.2, 0, 0.2, 0, math.rad...
[ "angch@tertiaryinfotech.com" ]
angch@tertiaryinfotech.com
a91058c4483a72ebd436d2977800af1ae5690695
143eb3ced0ff1f9cad745c620fcb572f72d66048
/Assignment4/atom3/Kernel/Obsolete/EZDialog.py
f4d486ce2cb5c1112c5f5f8268596a95c10246c5
[]
no_license
pombreda/comp304
2c283c60ffd7810a1d50b69cab1d5c338563376d
d900f58f0ddc1891831b298d9b37fbe98193719d
refs/heads/master
2020-12-11T07:26:19.594752
2014-11-07T12:29:28
2014-11-07T12:29:28
35,264,549
1
1
null
2015-05-08T07:18:18
2015-05-08T07:18:18
null
UTF-8
Python
false
false
2,212
py
""" This file is used by the appearenceDialog.py """ from MyDialog import * import string class _QueryDialog(MyDialog): def __init__(self, title, prompt, initialvalue=None, minvalue = None, maxvalue = None, parent = None): if not parent:...
[ "shankland@bigvikinggames.com" ]
shankland@bigvikinggames.com
2725db2be5b1b4ab6f120b4f7ec08d28dd1dcc8f
861fb6e46bfd1ef4ef94b82269babe8fd8e04da1
/src/test/processors/post/test_cleanup.py
05b0c0930f2abdcd2b4f72b34672925a1e655bf9
[ "MIT" ]
permissive
Doshmaku/program-y
5b436b83f409feeddb9fe626c156a426e1170187
6c2e14eebaa92fb61b27deba1b28e6775090c327
refs/heads/master
2021-01-18T20:45:29.330015
2017-03-31T23:35:30
2017-03-31T23:35:30
86,988,411
0
0
null
2017-04-02T13:35:03
2017-04-02T13:35:03
null
UTF-8
Python
false
false
612
py
import unittest from programy.processors.post.cleanup import CleanUpPostProcessor from programy.bot import Bot from programy.brain import Brain from programy.config.brain import BrainConfiguration from programy.config.bot import BotConfiguration class PostCleanUpTests(unittest.TestCase): def setUp(self): ...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
57b3e8adf30fe5b9835abdf7214f6739b64f34f5
ee4db47ccecd23559b3b6f3fce1822c9e5982a56
/Machine Learning/Rebuildmodel.py
af4ef77c610285dd68015304b526bf4e4d7d9511
[]
no_license
meoclark/Data-Science-DropBox
d51e5da75569626affc89fdcca1975bed15422fd
5f365cedc8d0a780abeb4e595cd0d90113a75d9d
refs/heads/master
2022-10-30T08:43:22.502408
2020-06-16T19:45:05
2020-06-16T19:45:05
265,558,242
0
1
null
null
null
null
UTF-8
Python
false
false
1,264
py
import seaborn as sns import matplotlib.pyplot as plt import pandas as pd from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error streeteasy = pd.read_csv("https://raw.githubusercontent.com/sonnynomnom/Codecademy-Machine-Lea...
[ "oluchukwuegbo@gmail.com" ]
oluchukwuegbo@gmail.com
3d0a322a3006e827ee15784909325c52856c63d0
c85ec51b920350e095b6fc67435a490352cef1f4
/dl/imagedetection.py
88fe1a2aa0ee6bf1d0df0e46ea09dafdfebcef31
[ "Apache-2.0" ]
permissive
huachao2017/goodsdl
195dbc959d424248982b61f2fe2c22dbc4347746
3616d53b90696a97a5d56a064e2a14d484b821d7
refs/heads/master
2021-06-11T01:55:16.235507
2019-09-24T07:49:08
2019-09-24T07:49:08
109,931,837
3
0
null
null
null
null
UTF-8
Python
false
false
6,784
py
import tensorflow as tf import os from PIL import Image import numpy as np from object_detection.utils import label_map_util from object_detection.utils import visualization_utils as vis_util import threading from dl import common from goods.models import ExportAction import logging logger = logging.getLogger("detect")...
[ "21006735@qq.com" ]
21006735@qq.com
81ebb983f7f41aa550485849880172ac91380a06
e0980f704a573894350e285f66f4cf390837238e
/.history/news/models_20201124145237.py
4c34e442f21717292ae577d764edb144f3e57611
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,622
py
from django.db import models from modelcluster.models import ParentalKey from wagtail.contrib.forms.models import AbstractEmailForm from wagtail.admin.edit_handlers import FieldPanel, InlinePanel from wagtail.images.edit_handlers import ImageChooserPanel from wagtail.core.fields import RichTextFields # Create your...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
a86e8d78e6323c86ab0b8c5733a01a3d391aea72
4feffdce21164f5bb1d311c1d608d16e7d3ad68b
/Postify/urls.py
3902cf6098edbfb736eac4973dcc0eafd69c0564
[]
no_license
yannickkiki/postify-api
d012c1882da8925454fc0dededd2bcbfd6f9710e
b42c7bd2c136845ca185a8f97fcc6e23aadeef03
refs/heads/main
2023-06-26T00:33:49.966417
2021-08-02T06:03:35
2021-08-02T06:03:35
389,338,176
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
from django.contrib import admin from django.urls import path, include from rest_framework import routers from post.viewsets import PostViewSet from user.viewsets import UserViewSet, EmailVerificationViewSet router = routers.DefaultRouter() router.register(r'post', PostViewSet, basename='post') router.register(r'us...
[ "seyive.kiki@gmail.com" ]
seyive.kiki@gmail.com
3f96273d4440bc3e53cfb5ce1bb26b5282acb254
8d15427c02f7ea265985159c7bf67df2f9731991
/HmVideoCode/hm_python_basic/13_文件/venv/Scripts/easy_install-3.7-script.py
315767586c0c35a2d9b82f293e1f1b7e1e213b04
[]
no_license
yolotester/learngit
aa862b7f0ecbeb5c056b8ca576c8a00efc55f62c
d885b520757097c1d984d1cdda5d242ee5c6a5d6
refs/heads/master
2023-04-07T19:48:23.153638
2023-03-17T02:03:05
2023-03-17T02:03:05
248,145,547
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
466
py
#!D:\Git\learngit\hm_python_basic\13_Îļþ\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\...
[ "yolo@ying31.com" ]
yolo@ying31.com
bb1a5d995e1a249dcf695a9dcdc4e90a0b1622e3
26f8a8782a03693905a2d1eef69a5b9f37a07cce
/test/test_destiny_entities_vendors_destiny_vendor_component.py
3dd3f2f8b8ca49a4b70553117f7ec1a6b7fe50e4
[]
no_license
roscroft/openapi3-swagger
60975db806095fe9eba6d9d800b96f2feee99a5b
d1c659c7f301dcfee97ab30ba9db0f2506f4e95d
refs/heads/master
2021-06-27T13:20:53.767130
2017-08-31T17:09:40
2017-08-31T17:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
# coding: utf-8 """ Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. OpenAPI spec version: 2.0.0 Contact: support@bungie.com Generated by: ...
[ "adherrling@gmail.com" ]
adherrling@gmail.com
f55cf683c44f2b08d9a3c55a3ee37667b7f6b4d9
aa64c62a3d246b87f3f1e5810a8f75b1d166aaf6
/paradrop/daemon/paradrop/confd/__init__.py
110736ffe72939e495fc1bf54912c13dd0d494c2
[ "Apache-2.0" ]
permissive
ParadropLabs/Paradrop
ca40b3373c0732c781f9c10d38da9b6e9fbd3453
c910fd5ac1d1b5e234f40f9f5592cc981e9bb5db
refs/heads/master
2023-02-26T17:51:53.058300
2022-03-01T17:46:10
2022-03-01T17:46:10
37,789,450
88
31
Apache-2.0
2023-02-16T05:24:46
2015-06-20T23:18:38
Python
UTF-8
Python
false
false
89
py
from __future__ import absolute_import from . import main assert main # silence pyflakes
[ "hartung@cs.wisc.edu" ]
hartung@cs.wisc.edu
4bd591aaa890d8a67ffb45704731e6d8c36f7c03
ef2b12fd0731124426dc415c8bcbd2d110582883
/mem_aglaia/understanding_tfrecord/read_tfrecord_dataset.py
21c6bf2c340e37080c96e02edebe17865b06e432
[]
no_license
SilviaAmAm/qml_scripts
ce5164950977e46349aac2596e34f3ca46eed210
eac972a41a7df69a4aeb6cf11dcae3560b564e1b
refs/heads/master
2020-03-31T13:32:52.823361
2018-10-09T13:58:37
2018-10-09T13:58:37
152,260,237
3
0
null
null
null
null
UTF-8
Python
false
false
1,692
py
import numpy as np import h5py import tensorflow as tf def _read_from_tfrecord(example_proto): feature = { # 'n_atoms': tf.FixedLenFeature([], tf.int64), # 'n_space': tf.FixedLenFeature([], tf.int64), # 'n_feat': tf.FixedLenFeature([], tf.int64), 'g_raw': tf.FixedLenFeature([], tf....
[ "walfits@gmail.com" ]
walfits@gmail.com
2ebf52749bb777d66d8320e01dac498eb71f1883
d4a4a2ffc4e4f385ffda3154c449e160dc6cd8f3
/yauber_algo/_algo/tests/test_tstoolbox_roc.py
969fb56748e4cba04a4c6a205f0064fbee8fb5f5
[ "MIT" ]
permissive
LongNguyen1012/yauber-algo
09a2b3db2d4e3a5b6c28d1f3349b26107225d8e3
40f7d805408a788e7f363ec02d3315ff379cc069
refs/heads/master
2020-03-31T18:15:19.782116
2018-10-10T17:19:36
2018-10-10T17:19:36
152,451,472
0
0
MIT
2018-10-10T16:01:59
2018-10-10T16:01:59
null
UTF-8
Python
false
false
5,805
py
import unittest from yauber_algo.errors import * class RocTestCase(unittest.TestCase): def test_roc(self): import yauber_algo.sanitychecks as sc from numpy import array, nan, inf import os import sys import pandas as pd import numpy as np from yauber_algo.a...
[ "i@alexveden.com" ]
i@alexveden.com
5f4019e3d2b26d615f449e480eab9826879a1a62
7a0144da5a567d8497551b09875298ea224bb5bd
/동빈나/동빈나 그리디 3.py
4c9e3c667f378c5e762c3593a9fc8394c6798509
[]
no_license
SLT-DJH/algorithm
dba34614bb0fbbad0ecf5d85b02cb541ab047c5a
e33c843be4efdfc6c6a7300ab4e53b9a7c4b2e67
refs/heads/master
2023-03-08T08:27:01.476793
2021-02-25T15:06:42
2021-02-25T15:06:42
297,017,366
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
N, K = map(int, input().split()) count = 0 while N != 1 : if N % K == 0 : count += 1 N = N // K else : count += 1 N = N - 1 print(count)
[ "jydwww@naver.com" ]
jydwww@naver.com
3f80cf4a70b7ae4ab6691f4bd9a7c1b7f1356b8d
372f10717543ddfb6b1970a7fb1bcb6a1f20d3b5
/callector/whichanimal/python/lite_call_runtime_top.py
a65f7159dd4ffe97e1dd43bacf869e37acfb91ea
[]
no_license
ntsourakis/callector-django
495fe7780891355eddcc279918f2adc22a9b3602
f03416f3cd6bbb15fae5db0d75b8ad292280290d
refs/heads/master
2021-06-12T20:17:51.691745
2019-08-26T22:36:11
2019-08-26T22:36:11
202,735,213
0
0
null
2021-06-10T22:00:53
2019-08-16T13:46:20
Python
UTF-8
Python
false
false
3,704
py
#!/usr/bin/python import whichanimal.python.lite_call_runtime as call_main import os dir_path = os.path.dirname(os.path.realpath(__file__)) # NEW INTERFACE def load_tables(TableFile, MatchingFile): return call_main.load_tables(TableFile, MatchingFile) def get_initial_state(Namespace, Domain, L1): ...
[ "Nikolaos.Tsourakis@unige.ch" ]
Nikolaos.Tsourakis@unige.ch
6c9767979818744437fa13bf01df4c2a8ac05874
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/540/540.single-element-in-a-sorted-array.233599322.Accepted.leetcode.py
3a0c0be01bbd95dafe3f5da7f08c7d6da1d81da5
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
393
py
class Solution(object): def singleNonDuplicate(self, nums): left, right = 0, len(nums) - 1 while left < right: mid = (left + right) // 2 if mid % 2 == 1: mid -= 1 if mid + 1 == len(nums) or nums[mid + 1] != nums[mid]: right = mid ...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
2fad448ae848cc79e3a12b3a1b0e975f7fc6d989
681ebea3d65467fb8702ff33d6be50eedcee1c35
/ntp_projesi/urls.py
cf43e890a489516179a4163c7482f7c893021c0f
[]
no_license
canyilmaz1/ntpproje-live
124806b056ee207e9f77fb89a1ceff4ac668a8bd
7109048f85341e0f669f004bf5c9bba16b0b3d4b
refs/heads/main
2023-04-19T03:27:30.989077
2021-04-27T19:59:14
2021-04-27T19:59:14
362,081,477
0
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
"""ntp_projesi URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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-b...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
1aa18c9a76215d123a83b0563ecabbf1fd018b1d
e6e5141787917abdb07308f832a36a467cc664f6
/source/codegen/codeGenCompFromDb/script/domain/ActivityClassInfo.py
defb78e98eb5ed3132cd4e83111be3c6d1f6fc70
[]
no_license
temp9999gi/projectautomation
a34ef13dc371c018bbb5808e0d8dec285e396dc9
4e1f3eed5fb481956d045019034d5fb4bd5828dd
refs/heads/master
2020-05-17T10:58:45.758691
2007-08-21T14:36:14
2007-08-21T14:36:14
33,873,113
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# start from CommonUtil import * aCommonUtil = CommonUtil() class ActivityClassInfo: def __init__(self): self.tableList = [] def setAttributes(self, da_Query_ID): self.da_Query_ID = da_Query_ID self.classId = aCommonUtil.getClassName(da_Query_ID) self.packageId = string.lower(self.classId[0]) +...
[ "kusung25@40af2166-402a-0410-87ae-1d88bcb22c19" ]
kusung25@40af2166-402a-0410-87ae-1d88bcb22c19
2c275740f90d7d728616f8346c5e1462985b84fc
1069f860ee117086e87ce31b5640496f26794cd6
/mark_work_space/lightfm_dataset_test.py
074b32b8b8cced8195c1615d1787e93ea66ae345
[]
no_license
Sandy4321/KDD_CUP_2020
2b8db605f02bc607f6a485af678577050629e6f1
0407547d1daf98ad81b0e9bf465f4d36d2965be9
refs/heads/master
2022-08-02T18:20:37.393008
2020-05-31T14:32:02
2020-05-31T14:32:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
import pandas as pd import numpy as np from lightfm import LightFM from scipy.sparse import csr_matrix, coo_matrix from pandas.api.types import CategoricalDtype from lightfm.data import Dataset log = print train_path = "/Users/mark/Documents/local_code/kdd_competition/data" test_path = "/Users/mark/Documents/local_cod...
[ "iamwh1temark@outlook.com" ]
iamwh1temark@outlook.com
e515e1aa0cca2a463beee653e11ffd9bfa1685ff
a10b34f7a16c002e9f8d43b82ced62dbf3a47c36
/curl.py
20fc2fa56bdafb0b48e6e980a0deb28806742bb0
[]
no_license
schef/biblija
7a9fe0ee78f774e61c5b62d6bf3cf8e892cb185b
b7856132b995fdf5c5d08e88d516810de7ceb2d1
refs/heads/master
2021-01-20T11:41:43.115452
2019-07-12T13:28:06
2019-07-12T13:28:06
32,081,900
0
0
null
null
null
null
UTF-8
Python
false
false
5,434
py
#!/usr/bin/env python3 from urllib.request import urlopen import re delimiters = ["<", ">"] regexPattern = '|'.join(map(re.escape, delimiters)) class bcolors: ENDC = '\033[0m' CBOLD = '\33[1m' CITALIC = '\33[3m' CURL = '\33[4m' CBLINK = '\33[5m' CBLINK2 = '\33[6m' CSELECTED = '\33[7m' ...
[ "zvanstefan@gmail.com" ]
zvanstefan@gmail.com
64ad0b12406b298b6ee4800b56513c6e0ef030ce
013499ff51d58ef30ef731ee25863e87b632501a
/QIAO/多线程/17.py
5185bccaab1867212ff180dea6aa7d48abf8aa23
[]
no_license
joevers/python
f1aed08d6a23fe8f87cc93447576244739ef1a96
bdba4d5678b91e12896110782cb99fcfbe0dfe68
refs/heads/master
2020-03-23T16:16:26.674091
2018-08-25T08:48:57
2018-08-25T08:48:57
141,801,657
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
import threading import time def func(): print("I am running......") time.sleep(4) print("I am done......") if __name__ == "__main__": t = threading.Timer(6, func) t.start() i = 0 while True: print("{0}***************".format(i)) time.sleep(3) i += 1
[ "15632681735@163.com" ]
15632681735@163.com
a3351a9010ce9b60232f13e62b30343edb4f5ac2
4a36b5979b0753b32cff3956fd97fb8ed8b11e84
/0.23/_downloads/9699c2d8bf0be5b3bd27041dca28dc54/mne_inverse_envelope_correlation_volume.py
803fe8890bbe876a20efc1e9d12442caaf84c577
[]
permissive
mne-tools/mne-tools.github.io
8aac7ae10bf2faeeb875b9a351a5530dc0e53154
495e878adc1ef3374e3db88604504d7542b01194
refs/heads/main
2023-09-03T07:06:00.660557
2023-09-03T04:10:18
2023-09-03T04:10:18
35,639,371
12
16
BSD-3-Clause
2023-05-05T19:04:32
2015-05-14T22:04:23
HTML
UTF-8
Python
false
false
3,736
py
""" ==================================================== Compute envelope correlations in volume source space ==================================================== Compute envelope correlations of orthogonalized activity :footcite:`HippEtAl2012,KhanEtAl2018` in source space using resting state CTF data in a volume sour...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
f31187be440a6b1f72a7eb96e93044abd673bfa6
3d59ff1c53ba5d7d74b1425522315fd44afbcfb4
/places/serializers.py
0665f962614b9ee56e6ec2d557fff85934d45b6b
[ "MIT" ]
permissive
moshthepitt/afya360
28f7981201f6596e29866e33eec6383be5f85fae
62d1019e0486b3420964ebe41c6759f4a156aa0d
refs/heads/master
2021-07-04T04:43:00.997786
2016-05-05T07:12:06
2016-05-05T07:12:06
44,392,108
1
0
MIT
2021-06-10T17:58:52
2015-10-16T14:57:41
Python
UTF-8
Python
false
false
2,237
py
from rest_framework import serializers from places.models import County, Constituency, Province, District from places.models import Division, Location, SubLocation class ProvinceSerializer(serializers.ModelSerializer): class Meta: model = Province fields = ('id', 'created_on', 'updated_on', 'sl...
[ "kelvin@jayanoris.com" ]
kelvin@jayanoris.com
6c8c24fa6ea7d00955eeeb64955d90a866ee95d9
1f0831db24ae2772d4944faf05289599bb37aca7
/linear_models/06/metrics.py
00c190e0cfc52d0c4b5e2dc5c5d5854981cec31c
[]
no_license
smaystr/rails_reactor
2123f39ae97f38acb647363979fe4a09b896670e
69c8aac5860527768b4a8b7bce027b9dea6b1989
refs/heads/master
2022-08-19T05:35:21.535933
2019-08-28T12:46:22
2019-08-28T12:46:22
189,264,026
1
0
null
2022-07-29T22:34:56
2019-05-29T16:47:08
Jupyter Notebook
UTF-8
Python
false
false
1,328
py
import numpy as np # regression metrics def mse(y_true, y_pred): return ((y_true - y_pred) ** 2).sum() / y_true.shape[0] def rmse(y_true, y_pred): return np.sqrt(mse(y_true, y_pred)) def mae(y_true, y_pred): return np.abs(y_true - y_pred).sum() / y_true.shape[0] def mape(y_true, y_pred): return 100 ...
[ "smaystr@gmail.com" ]
smaystr@gmail.com
6d533528fccb98f25cbc0eea3b4254575b204407
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ec/huaweicloudsdkec/v1/model/create_ecn_access_point_request.py
2126a76b46648b102bd01bc499f6fb47439d75c5
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,942
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateEcnAccessPointRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
fa8510693a4fc5a153051170707c1d0379700c29
0760fb4901a75766921a205b55686d6d6f049b30
/python/ray/tune/search/search_generator.py
ab21d5124fb1586b5a21bc5b1ecb3f5cfc5524b7
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
ray-project/ray
a4bb6940b08b59a61ef0b8e755a52d8563a2f867
edba68c3e7cf255d1d6479329f305adb7fa4c3ed
refs/heads/master
2023-08-31T03:36:48.164405
2023-08-31T03:20:38
2023-08-31T03:20:38
71,932,349
29,482
5,669
Apache-2.0
2023-09-14T21:48:14
2016-10-25T19:38:30
Python
UTF-8
Python
false
false
8,339
py
import copy import logging from typing import Dict, List, Optional, Union from ray.tune.error import TuneError from ray.tune.experiment import Experiment, _convert_to_experiment_list from ray.tune.experiment.config_parser import _make_parser, _create_trial_from_spec from ray.tune.search.search_algorithm import SearchA...
[ "noreply@github.com" ]
ray-project.noreply@github.com
043bef3217fead4a7e3d1113b72a21e28061f73e
1d3ccfb4330475f12ecd1e6f1396bfa064a7019c
/output/drivers/ssd1306.py
a58a21aa5822f2c08f12dbdf696466de6c3c5fef
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
ZeroPhone/ZPUI
c4efaa730315c8c220e7cc76ed8ab9ee7251020c
430a4b6e1e869cbd68fd89bbf97261710fd7db6b
refs/heads/master
2021-06-06T05:07:29.859464
2018-12-23T08:18:39
2018-12-23T08:24:43
81,014,670
56
27
NOASSERTION
2019-03-22T19:05:00
2017-02-05T19:01:36
Python
UTF-8
Python
false
false
524
py
#!/usr/bin/python from luma_driver import LumaScreen from luma.oled.device import ssd1306 from output.output import OutputDevice class Screen(LumaScreen, OutputDevice): """An object that provides high-level functions for interaction with display. It contains all the high-level logic and exposes an interface for...
[ "crimier@yandex.ru" ]
crimier@yandex.ru
7154177a5c033017c08070f903a4f89e390cf70e
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/allergies/ea349bebc03c46aa97f2ce0eb482e945.py
040b75c8d1273ae3649a8e6867928c94e2275890
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
775
py
class Allergies: def __init__(self,allergy_score): self.score = allergy_score allergy_score = allergy_score % 256 self.list = [] allergy_list = [('cats', 128), ('pollen', 64), ('chocolate', 32), ('tomatoe...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
e2e7595768d30ccb8729239596d0f70863136bb1
87140007e96872d3611f0778eb0eebe5799616d7
/runs/src8-tgt4/seq-nobro-iter00700.cfg.py
cf04b5e4f6e0420b07c3232fde9fb66047e32b4d
[ "MIT" ]
permissive
janpawellek/broeval
49499fa302abff916ffced201034d3b9394503cd
57e31aa6e354d0bba88103b44910483e8d982d00
refs/heads/master
2021-01-11T12:19:13.619220
2016-12-20T16:23:27
2016-12-20T16:23:27
76,468,134
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
# Write results to this file OUTFILE = 'runs/src8-tgt4/seq-nobro-iter00700.result.csv' # Source computers for the requests SOURCE = ['10.0.0.11', '10.0.0.12', '10.0.0.13', '10.0.0.14', '10.0.0.31', '10.0.0.32', '10.0.0.33', '10.0.0.34'] # Should Bro be enabled on the source machines? SOURCE_BRO = [False, False, Fals...
[ "pawellek@stud.uni-heidelberg.de" ]
pawellek@stud.uni-heidelberg.de
73cf8c242100bf2d806826bee02d9b947438de4e
6d39bbe870917a9f759cc1342c51cc67bb3c3001
/pyobjc-framework-Metal/PyObjCTest/test_mtlbinaryarchive.py
97b3bdddc29532a4b85c191f61e10b1ed4c87187
[ "MIT" ]
permissive
beOn/pyobjc
6cb1887d0a050d63c9885a9c5ecb8fbe1f402b43
acf71801c5915a5a632afe7a265faa7c9a7209b1
refs/heads/master
2023-06-04T13:46:39.855437
2021-06-25T19:44:40
2021-06-25T19:44:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
import Metal import objc from PyObjCTools.TestSupport import TestCase, min_sdk_level class TestMTLBinaryArchiveHelper(Metal.NSObject): def addComputePipelineFunctionsWithDescriptor_error_(self, a, b): return 1 def addRenderPipelineFunctionsWithDescriptor_error_(self, a, b): return 1 def ...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
d6e00f8f803ee4ee7268df871b2673b601fda2c0
95d1dd5758076c0a9740d545a6ef2b5e5bb8c120
/PY/algorithm/infix_expression.py
7155eba6c5f0672b7ec09e97c8b35ddab9461473
[]
no_license
icoding2016/study
639cb0ad2fe80f43b6c93c4415dc6e8a11390c85
11618c34156544f26b3b27886b55c771305b2328
refs/heads/master
2023-08-31T14:15:42.796754
2023-08-31T05:28:38
2023-08-31T05:28:38
117,061,872
2
0
null
null
null
null
UTF-8
Python
false
false
12,471
py
""" prefix/infix/postfix notation ----------------------------- e.g. Infix Expression Prefix Expression Postfix Expression A + B * C + D + + A * B C D A B C * + D + (A + B) * (C + D) * + A B + C D A B + C D + * A * B + C * D + * A B * C D ...
[ "icoding2016@gmail.com" ]
icoding2016@gmail.com
41e3306e9f406eccaf2c49addf034b4eb92bf148
28d38dd37703302d8b9d11e962a45ea66be63013
/company/xiaomi/a.py
dca7b9e6de5198b6d4824b2518f2dc094771ec39
[]
no_license
ArronHZG/algorithm-with-python
e2e3aba4083e815bd5a341a54338ecad010ee0d3
7eb4325700dfb6ec28a29a8a3bae2fe62bab8211
refs/heads/master
2022-12-14T14:43:29.587746
2020-09-18T07:24:54
2020-09-18T07:24:54
285,980,714
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
line = [int(x) for x in input().split()] n = line[0] m = line[1] grid = [] for i in range(n): line = [int(x) for x in input().split()] grid.append(line) def fun(grid, n, m): def go(i, j): tmp[0] += grid[i][j] if i == n - 1 and j == m - 1: res.append(tmp[0]) if i + 1 < n...
[ "hou.zg@foxmail.com" ]
hou.zg@foxmail.com
014b4a156c163a35ce2ebc2ad33bd876050d5b0b
b13e14f89716f06f299f65d4884f7ab1428d9016
/changelogs/custom/pypi/django_haystack.py
9e157d594c8869d5819f6f55980e6254a1728602
[ "MIT" ]
permissive
infotrustconsulting/changelogs
c89c16203ba8ef6734c7b0fa2a58cc83241d76f1
0cdb929ac4546c766cd7eef9ae4eb4baaa08f452
refs/heads/master
2020-04-02T23:14:40.824531
2018-04-03T08:05:35
2018-04-03T08:05:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
URL = 'https://raw.githubusercontent.com/django-haystack/django-haystack/master/docs/changelog.rst' def get_urls(releases, **kwargs): return {URL}, set()
[ "ja.geb@me.com" ]
ja.geb@me.com
789065e150a623ea2fe8f895cd5363504b3e5915
7c551e749064b25af706b9167211050f8c6ad0a9
/signatures/android/application_sent_sms_messages.py
09abc6217a47aeba8f93657ddd7e9bc952b73e61
[]
no_license
dashjuvi/Cuckoo-Sandbox-vbox-win7
fa382828b4895c5e1ee60b37a840edd395bf1588
a3a26b539b06db15176deadeae46fc0476e78998
refs/heads/master
2020-03-12T08:33:06.231245
2019-01-14T23:09:02
2019-01-14T23:09:02
130,529,882
6
1
null
null
null
null
UTF-8
Python
false
false
580
py
# Copyright (C) Check Point Software Technologies LTD. # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # See the file 'docs/LICENSE' for copying permission. from lib.cuckoo.common.abstracts import Signature class AndroidSMS(Signature): name = "application_sent_sms_messages" description = ...
[ "diegovm14@gmail.com" ]
diegovm14@gmail.com
8652c8ece1cd6e9ea2583347d651a652d2b277e0
555b9f764d9bca5232360979460bc35c2f5ad424
/google/ads/google_ads/v1/services/ad_group_simulation_service_client.py
6730ac6ec5b86e988f23ccce0f2ac6b59dd89ac2
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
juanmacugat/google-ads-python
b50256163782bc0223bcd8b29f789d74f4cfad05
0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a
refs/heads/master
2021-02-18T17:00:22.067673
2020-03-05T16:13:57
2020-03-05T16:13:57
245,215,877
1
0
Apache-2.0
2020-03-05T16:39:34
2020-03-05T16:39:33
null
UTF-8
Python
false
false
9,723
py
# -*- coding: utf-8 -*- # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "noreply@github.com" ]
juanmacugat.noreply@github.com
eb08b093688ef1b846275bf9cf6dd62491b6625c
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/Avaya-46xxIPTelephone-MIB.py
657fd6e877e21165ce214db94f9fb04b7bfd6301
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
90,610
py
# # PySNMP MIB module Avaya-46xxIPTelephone-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Avaya-46xxIPTelephone-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:33:25 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3....
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
af9758824022d06a49fd1c8ad96d53279c1a0ccd
bd87d8947878ccb2f5b720e70a22493b00868fd3
/fluent/10_seq_hashing_slicing/sliceable_sequence.py
dd8d3a617f630fa8b7cbc42e5f8d53c676e5da55
[]
no_license
damiansp/completePython
4cbf12ef682a1d4a5498f77e407dc02e44a7d7ac
3f5e2f14d79c93df5147b82d901190c054535158
refs/heads/master
2023-09-01T20:50:03.444440
2023-08-28T00:27:57
2023-08-28T00:27:57
99,197,610
0
1
null
null
null
null
UTF-8
Python
false
false
1,989
py
import math import numbers import reprlib from array import array class Vector: typecode = 'd' def __init__(self, components): self._components = array(self.typecode, components) def __iter__(self): return iter(self._components) def __repr__(self): components = reprlib.repr(...
[ "damiansp@gmail.com" ]
damiansp@gmail.com
878e2ebda5422f0227df3e608c200febf2d55eca
ff1b6c65ae8e773349dff2c73e52036ad98979b2
/CBV/CBV/settings.py
ec9d29c87236eb631ea82aed7a8accb18429cfe2
[]
no_license
bhupal147/bhupal
6bb7d05be6e252363f1367935e952ea0b3cb6f7e
8f71e4de090de3ce9a64a88f175e829762ca9159
refs/heads/master
2020-07-19T03:47:23.212522
2019-09-05T15:58:36
2019-09-05T15:58:36
206,368,633
0
0
null
null
null
null
UTF-8
Python
false
false
3,175
py
""" Django settings for CBV project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bui...
[ "you@example.com" ]
you@example.com
83a13e89823f669b8fe900f096e20f0a07c71d2d
bf79a856c8a9dd2d72190883dc31f5e652a3b9e7
/dataflow/gpu-examples/tensorflow-landsat/main.py
408268dfa6d700cd1c5f8556ba57b00ddc882c52
[ "Apache-2.0" ]
permissive
aog5/python-docs-samples
5630c2864ee4f141e09d6909de3a3b7ac211703a
300527f4b12369f6b0ad59fba42cc66159853bdd
refs/heads/master
2022-10-28T04:48:52.060095
2022-10-18T06:50:12
2022-10-18T06:50:12
157,914,880
2
0
Apache-2.0
2018-11-16T19:55:30
2018-11-16T19:55:30
null
UTF-8
Python
false
false
12,337
py
#!/usr/bin/env python # Copyright 2021 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 or...
[ "noreply@github.com" ]
aog5.noreply@github.com
281444ec00d007edd4fedd7b27b936031c7b0074
0dcf78e319956f2cb2327c5cb47bd6d65e59a51b
/Contest/LeetCodeWeeklyContest/WeeklyContest170/GetWatchedVideosByYourFriends.py
5578992e4789c3360231fe95963c8ae2ea72fc5b
[]
no_license
daviddwlee84/LeetCode
70edd09a64a6f61492aa06d927e1ec3ab6a8fbc6
da1774fd07b7326e66d9478b3d2619e0499ac2b7
refs/heads/master
2023-05-11T03:16:32.568625
2023-05-08T05:11:57
2023-05-09T05:11:57
134,676,851
14
4
null
2018-05-29T14:50:22
2018-05-24T07:18:31
Python
UTF-8
Python
false
false
1,057
py
from collections import deque, Counter, defaultdict from typing import List class Solution: def watchedVideosByFriends(self, watchedVideos: List[List[str]], friends: List[List[int]], id: int, level: int) -> List[str]: visited = set([id]) queue = deque([(id, 0)]) count = defaultdict(int) ...
[ "daviddwlee84@gmail.com" ]
daviddwlee84@gmail.com
d02308978ba96c514c9d899f82d3eaf9f5290517
22903b998f7d981c93bf14c27f7ba71697cdd19d
/From_Scratch/09_SBEND_Sims/00_NoSC/PyORBIT/Plot_Tunes.py
24bcf5e10cbf4efff5a860fca34b141c1916dd27
[]
no_license
HaroonRafique/PS-injection-bump
d062e96e6051090c59a09b34118803975c2baf9d
a751e2df42818f0de3ff2b158840eb6f5148da8b
refs/heads/master
2023-01-19T18:47:48.313522
2020-11-26T23:10:34
2020-11-26T23:10:34
189,207,614
0
1
null
2019-05-29T10:55:43
2019-05-29T10:55:38
null
UTF-8
Python
false
false
46,535
py
# Plots all available plottable data from output.mat as individual files import matplotlib.pyplot as plt from matplotlib.lines import Line2D import numpy as np import scipy.io as sio import matplotlib.cm as cm plt.rcParams['figure.figsize'] = [8.0, 4.0] plt.rcParams['figure.dpi'] = 300 plt.rcParams['savefig.dpi'] = 3...
[ "haroon.rafique@protonmail.com" ]
haroon.rafique@protonmail.com
d0ff0ec09be60f2a582d532f39299c23943c2a52
c0b6da793db606476bd601b5c1e5671a0fdeaa1c
/scripts/SpArcFiRe-pyvenv/lib/python2.7/site-packages/astropy/stats/biweight.py
35785a99bf4326ed256de09230cbc7bc819ffa2f
[]
no_license
waynebhayes/SpArcFiRe
201ba0a3724a4349568dfae6c7f7d7952caa2565
6d95873226badedbb14f9c355365d692c7b3ea03
refs/heads/master
2023-06-08T17:27:21.319312
2023-05-28T00:06:32
2023-05-28T00:06:32
120,016,157
8
23
null
2023-09-08T17:21:55
2018-02-02T18:26:09
Python
UTF-8
Python
false
false
23,679
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This module contains functions for computing robust statistics using Tukey's biweight function. """ from __future__ import (absolute_import, division, print_function, unicode_literals) import numpy as np from .funcs import me...
[ "dlcheng@andromeda-32.ics.uci.edu" ]
dlcheng@andromeda-32.ics.uci.edu
67fcd0b642e82910542e073eff8cf0c146540a5e
d55f3f715c00bcbd60badb3a31696a1a629600e2
/teacher/15/blog/post/migrations/0001_initial.py
ef9f3a621c14cd42b7f12974fb3897a56e22913f
[]
no_license
zdimon/wezom-python-course
ea0adaa54444f6deaca81ce54ee8334297f2cd1a
5b87892102e4eb77a4c12924d2d71716b9cce721
refs/heads/master
2023-01-29T02:22:54.220880
2020-12-05T11:27:48
2020-12-05T11:27:48
302,864,112
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# Generated by Django 3.1.4 on 2020-12-02 17:14 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(aut...
[ "zdimon77@gmail.com" ]
zdimon77@gmail.com
30957b3e593e7efae28369d1417054420efb9303
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/1811.py
24d684df68f6ee33f08942942d1b27f0656b0d0e
[]
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,854
py
import sys import copy f = open(sys.argv[1]) if len(sys.argv)==3: debug = sys.argv[2] else: debug = False T = int(f.readline()) output = open('output', 'w') def casesolve(case): if debug: print('CASETEST' + str(case)) guess1 = int(f.readline()) line1 = [] for line in ra...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5c1d0f7016b5172e69d32f53290c738001aee3ab
0cf3a74494ed92bcdeaf0220ad44475c1b6b2c1c
/airflow/providers/papermill/operators/papermill.py
36e8539b1e9c15e9f5dbb2f1ed096b0bcfc76226
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
bolkedebruin/airflow
064a0c32dff267f586c3fd4dc4beaae12273d180
e1fe30c70d0fe9c033db9daf9d4420f7fa815b2d
refs/heads/master
2023-06-09T11:37:57.734560
2022-02-23T12:38:27
2022-02-23T12:38:27
38,505,714
2
7
Apache-2.0
2022-03-01T01:22:16
2015-07-03T18:27:44
Python
UTF-8
Python
false
false
2,961
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...
[ "noreply@github.com" ]
bolkedebruin.noreply@github.com
4130b0a68b6201aa7b142c7cf75d703f81cfde2f
316b8375a7ef8095f09973d13f5a49bc7fbe7580
/leetcode/1093.py
f5dfa02f08fbbf48a48816cb7c5e036358713e5c
[]
no_license
zhaolijian/suanfa
9a8d23fbca01d994f7eef24631783c4b7ed25683
4f3b25f360f30c0e604ba4dc4d5774ccb5f25b32
refs/heads/master
2023-06-08T17:12:41.522937
2021-06-27T08:13:16
2021-06-27T08:13:16
313,269,459
1
0
null
null
null
null
UTF-8
Python
false
false
2,092
py
# 我们对 0 到 255 之间的整数进行采样,并将结果存储在数组 count 中:count[k] 就是整数 k 的采样个数。 # 我们以 浮点数 数组的形式,分别返回样本的最小值、最大值、平均值、中位数和众数。其中,众数是保证唯一的。 # 我们先来回顾一下中位数的知识: # 如果样本中的元素有序,并且元素数量为奇数时,中位数为最中间的那个元素; # 如果样本中的元素有序,并且元素数量为偶数时,中位数为中间的两个元素的平均值 class Solution: def sampleStats(self, count): res = [float(0)] * 5 # 最小值 f...
[ "820913569@qq.com" ]
820913569@qq.com
73f0205273307b144d076cca33149e9dee2f214f
59348c26320756133d628dc19bcdc92f407cfb40
/project/locations/residential_complexes/views.py
10e881a58c6b67878a06798e961c367defdcfd46
[ "MIT" ]
permissive
CODE-Easyy/dash-back
7f9a7518ab22a9b92d13bfe4a8ede6453a405013
202df5d46c09b3639a37de6d65189a55e966be25
refs/heads/main
2023-01-04T20:21:12.053420
2020-11-02T12:22:00
2020-11-02T12:22:00
306,854,549
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
from rest_framework.generics import DestroyAPIView from rest_framework.generics import UpdateAPIView from rest_framework.generics import ListAPIView from rest_framework.generics import RetrieveAPIView from rest_framework.generics import CreateAPIView from rest_framework.filters import SearchFilter from .serializers i...
[ "mr.esenyazov@gmail.com" ]
mr.esenyazov@gmail.com
17c5b3d4ffaa2adc199062186ab8a77de3ce7bda
c06d18ac5b87b3b82fc486454c422b119d6c1ee9
/src/demo/_tensorflow/notebooks/3_NeuralNetworks/image_transformation.py
0948e5eb143cc9acd80b9c26c87b22010d7eca82
[ "MIT" ]
permissive
tangermi/nlp
b3a4c9612e6049463bf12bc9abb7aff06a084ace
aa36b8b20e8c91807be73a252ff7799789514302
refs/heads/master
2022-12-09T12:33:15.009413
2020-04-03T04:03:24
2020-04-03T04:03:24
252,056,010
0
0
null
2022-12-08T07:26:55
2020-04-01T02:55:05
Jupyter Notebook
UTF-8
Python
false
false
4,104
py
# -*-coding:utf-8-*- from __future__ import absolute_import, division, print_function from IPython.display import Image as IImage, display import numpy as np import PIL from PIL import Image import random import requests import tensorflow as tf #%% # Download an image. d = requests.get("https://www.paristoolkit.com/...
[ "n10057862@qut.edu.au" ]
n10057862@qut.edu.au
5dc694343024dd81ff0a0bbd67dcca79ba7974ff
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/hCAStny5sJwYP3evS_7.py
d2c24458cdea582e9527d4e8e33699a3dbd63495
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
def is_early_bird(limit, n): seq = ''.join(str(i) for i in range(limit+1)) L, n_str, j, l_str = [], str(n), 0, len(str(n)) while seq.find(n_str, j) != -1: temp = [] start = seq.find(n_str, j) for k in range(l_str): temp.append(start+k) j = start + 1 L.app...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7c3fb3ba5a9428a21a6108bcf7f5db896dfdec62
a364a8df0bfc6a5d00fb4daa3350f90e3c9ef4d5
/social_media_pinger/bin/pyrsa-encrypt
6c9131456bc11554debc7fb043a796dfcb896e0d
[]
no_license
Maikflow/freelancer_jobs
40029eafc669353e865c5fb44cd6426b147d95db
d9c7af876b85ce772f9e8a27d264304d5cd01544
refs/heads/master
2020-04-26T18:02:56.246824
2015-10-01T09:36:58
2015-10-01T09:36:58
39,971,165
0
0
null
null
null
null
UTF-8
Python
false
false
364
#!/home/maikflow/Documents/python/Freelancer-jobs/social_media_pinger/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'rsa==3.1.4','console_scripts','pyrsa-encrypt' __requires__ = 'rsa==3.1.4' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('rsa==3.1.4', ...
[ "dhimango@hotmail.com" ]
dhimango@hotmail.com
a7cd9c9748f2b638ae946e86425c9900069ed338
eda2b670f365abafffedc884d617ab8c4b495804
/APC40_MkII/APC40_MkII.py
5f9d8feb4eee15cfdd01617a874f35e38e54da95
[]
no_license
garyclarkmusic/AbletonLive9_RemoteScripts
1bc4d9d91d29d4cfb660f61aa87b830b0a49dcc7
2ba7b2336939b050fc7e0102e9dd39df695b71d2
refs/heads/master
2021-01-21T07:34:29.291213
2015-08-29T21:12:15
2015-08-29T21:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,894
py
#Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/midi-remote-scripts/APC40_MkII/APC40_MkII.py from __future__ import with_statement from functools import partial from _Framework.ButtonMatrixElement import ButtonMatrixElement from _Framework.ComboElement import ComboElement, DoublePressEl...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
021c42057ecbf9e46b37d8a06b0d8951db6218f7
5d48aba44824ff9b9ae7e3616df10aad323c260e
/tree/285.inorder_successor_in_BST.py
8ac2cf30d9326a47827ba78a36bc0f9010db6cb3
[]
no_license
eric496/leetcode.py
37eab98a68d6d3417780230f4b5a840f6d4bd2a6
32a76cf4ced6ed5f89b5fc98af4695b8a81b9f17
refs/heads/master
2021-07-25T11:08:36.776720
2021-07-01T15:49:31
2021-07-01T15:49:31
139,770,188
3
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
""" Given a binary search tree and a node in it, find the in-order successor of that node in the BST. The successor of a node p is the node with the smallest key greater than p.val. Example 1: Input: root = [2,1,3], p = 1 Output: 2 Explanation: 1's in-order successor node is 2. Note that both p and the return value is...
[ "eric.mlengineer@gmail.com" ]
eric.mlengineer@gmail.com
d6a36655b2adac983979a0ef9a167d3a81c1ed4d
8a2f6867eca5d40d1770b58ab73e8a9f01a9ddc5
/ListasFabio/Lista2/fabio02_q26.py
f48b95c4500bbbc19be85b2421332e1eb086a1c8
[]
no_license
PauloVilarinho/algoritmos
822eaae631de1660df553d87d2f168c2646efa60
a3cfed6081bbf5ae0b17766a027abcd558b9e9d0
refs/heads/master
2020-03-13T18:31:50.980839
2018-06-21T21:17:28
2018-06-21T21:17:28
131,236,984
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
""" Questão: Lista 2 26 Descrição: le os 3 lados do triangulo e identifique quais são os catetos e qual é a hipotenusa """ def main(): #entrada ladoa = float(input("digite o tamanho do lado A: ")) ladob = float(input("digite o tamanho do lado B: ")) ladoc = float(input("digite o tamanho do lado C: ")) #processa...
[ "paulotarsobranco@gmail.com" ]
paulotarsobranco@gmail.com
ff00d45641941a75f1f0bead1fef50382730c47f
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/emulators/pubsub/env_init.py
f82a2411dae66b044f759c2f88b89c28ce38cb5a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
1,254
py
# Copyright 2015 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 required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
85d06fdf0c25e0dabc0529f18b88fe703959c888
fd21d6384ba36aa83d0c9f05f889bdbf8912551a
/a10sdk/core/gslb/gslb_zone_service_dns_a_record_dns_a_record_ipv6.py
fee0578e489d84ae6a2e3d82e51d44fe2e5d272e
[ "Apache-2.0" ]
permissive
0xtobit/a10sdk-python
32a364684d98c1d56538aaa4ccb0e3a5a87ecd00
1ea4886eea3a1609b2ac1f81e7326758d3124dba
refs/heads/master
2021-01-18T03:08:58.576707
2014-12-10T00:31:52
2014-12-10T00:31:52
34,410,031
0
0
null
2015-04-22T19:05:12
2015-04-22T19:05:12
null
UTF-8
Python
false
false
2,589
py
from a10sdk.common.A10BaseClass import A10BaseClass class DnsARecordIpv6(A10BaseClass): """Class Description:: Specify DNS Address Record. Class dns-a-record-ipv6 supports CRUD Operations and inherits from `common/A10BaseClass`. This class is the `"PARENT"` class for this module.` :param as...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
4dcddd3d3341476980364ef1f79651fb2d54fc5e
ce9b61a57d1bc6fa2a46493eee8aa158e8bb3751
/376.摆动序列.py
d9823637d5fd1d864f821d72580eea9e8eaedcd8
[]
no_license
westqzy/leetcodes
615cead8dcbed6b39578f036866bb010daa473ad
3c22d15459665ec08e49f7077f65fa8d80b11522
refs/heads/master
2023-04-01T00:56:39.465307
2021-04-07T15:38:14
2021-04-07T15:38:14
310,255,758
0
0
null
null
null
null
UTF-8
Python
false
false
2,134
py
# # @lc app=leetcode.cn id=376 lang=python3 # # [376] 摆动序列 # # @lc code=start class Solution: def wiggleMaxLength(self, nums: List[int]) -> int: # if len(nums) <= 1: # return len(nums) # dp = [[]]*len(nums) # for i in range(len(nums)): # dp[i] = [nums[i]] # f...
[ "997673296@qq.com" ]
997673296@qq.com
9125ad168461d1178f06518d1b68d914f1266fa9
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/authorization/v20210601/get_policy_definition_at_management_group.py
2458c06cc2f15fedace3979324fcaa41325e914a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,058
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
aa2cea6492486b637239cdafd4b9f20a007ad323
4530bd210cd2032937027b772a190e02dbb32931
/students/ljc/VTKrotate.py
1af503d4a5fe584c101b9b7b310763fea72f2334
[]
no_license
ophwsjtu18/ohw20s
6c4470946f50e1c9d6a059c32f4fb9ab6fdbeb78
d75336cdf7827e0033b03738e617ffe87e7146a0
refs/heads/master
2022-10-25T22:11:39.655917
2022-10-12T10:50:28
2022-10-12T10:50:28
252,063,917
5
2
null
null
null
null
UTF-8
Python
false
false
1,933
py
import vtk import time import serial cone = vtk.vtkConeSource() mapper = vtk.vtkPolyDataMapper() mapper.SetInputConnection(cone.GetOutputPort()) actor = vtk.vtkActor() actor.SetMapper(mapper) # create coordinate axes in the render window axes = vtk.vtkAxesActor() axes.SetTotalLength(10, 20, 30) axe...
[ "noreply@github.com" ]
ophwsjtu18.noreply@github.com
07f756a11cadf89ca78f194047dc2f27b9e4019d
2d2ef049d450ef9ac6459bcdd1ea25fccc0305d5
/file_name.py
b880bd9fa4e1601b88bd1c97a0d3c1934b924cfb
[]
no_license
iotmember/code-fights
fc119f53cc42f9fea8a40f43335d93d076c92e9d
e7f1fdb9d5068bd2ed67d9df07541f306097bd19
refs/heads/master
2021-05-31T06:03:41.497371
2016-04-08T05:40:39
2016-04-08T05:40:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
def fileName(docs): r = [] for i in docs: if i in r: for x in range(1, len(docs)): if i+"({})".format(x) not in r: r.append(i+"({})".format(x)) break else: r.append(i) return r print fileName(["doc", "doc", "i...
[ "nasa.freaks@gmail.com" ]
nasa.freaks@gmail.com
f54631a44af8a5f6501763a6504d6715e62f8d40
c2d436fecd486a412eae5171882110e324b2fc1c
/chap8/73.py
909a9a3844efb6872f1bf1abfa72cec24c9baf19
[]
no_license
uenewsar/nlp100fungos
0150bacf835f3734dd76a25b079ec6c61efb4d83
7f745abb97c3129818ec6cf5f69abca15c50e451
refs/heads/master
2020-04-14T23:47:20.482910
2019-01-12T13:32:09
2019-01-12T13:32:36
164,216,276
0
0
null
null
null
null
UTF-8
Python
false
false
5,510
py
# -*- coding: utf-8 -*- ''' 73. 学習 72で抽出した素性を用いて,ロジスティック回帰モデルを学習せよ. ''' import re import sys import stemming.porter2 from sklearn.linear_model import LogisticRegression # as stemming.porter2.stem is a little bit slow, use cache. stem_cache = {} def stem(inp): if inp not in stem_cache: stem_cache[inp] = s...
[ "none@none" ]
none@none
d2294a0d1e5d12ffc191c2a9eee4209305fbc4e7
d5292505eb7b8b93eca743eb187a04ea58d6b6a3
/venv/Lib/site-packages/networkx/algorithms/tests/test_dag.py
d184d755a39ef6888292a65dbc600b04b7c4a372
[ "Unlicense" ]
permissive
waleko/facerecognition
9b017b14e0a943cd09844247d67e92f7b6d658fa
ea13b121d0b86646571f3a875c614d6bb4038f6a
refs/heads/exp
2021-06-03T10:57:55.577962
2018-09-04T19:45:18
2018-09-04T19:45:18
131,740,335
5
1
Unlicense
2020-01-19T10:45:25
2018-05-01T17:10:42
Python
UTF-8
Python
false
false
17,706
py
from itertools import combinations from nose.tools import assert_equal from nose.tools import assert_false from nose.tools import assert_in from nose.tools import assert_raises from nose.tools import assert_true from nose.tools import raises from nose.tools import ok_ import networkx as nx from networkx.testing.utils...
[ "a.kovrigin0@gmail.com" ]
a.kovrigin0@gmail.com
0d8085a06067f2e930251a0fd95d2cc19cc0ddde
3e381dc0a265afd955e23c85dce1e79e2b1c5549
/hi-A4/metin1.py
4126790a9c8dbd6e1ef440e1ba017b707b5fe9b7
[]
no_license
serkancam/byfp2-2020-2021
3addeb92a3ff5616cd6dbd3ae7b2673e1a1a1a5e
c67206bf5506239d967c3b1ba75f9e08fdbad162
refs/heads/master
2023-05-05T04:36:21.525621
2021-05-29T11:56:27
2021-05-29T11:56:27
322,643,962
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
import turtle as t t.shape("turtle") t.Screen().setup(600,600) t.Screen().bgcolor("light green") metin=input("yaz:") t.penup() t.goto(0,250) metin=metin.upper() metin=metin.lower() metin=metin.strip() # metin=metin.replace("u","i") metin=metin.replace("h","") isimler=metin.split(",") t.write(metin,font=("Arial",20,...
[ "sekocam@gmail.com" ]
sekocam@gmail.com