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
f06a21f022b3d3742cee8df6c8048fcc34022202
a51854991671a4389902945578288da34845f8d9
/libs/UserInterface/TestPages/LampHolderTest.py
e9567659c28b0e4822d07ddbb3702556f7e9276b
[]
no_license
wuyou1102/DFM_B2
9210b4b8d47977c50d92ea77791f477fa77e5f83
69ace461b9b1b18a2269568110cb324c04ad4266
refs/heads/master
2020-04-13T18:54:20.045734
2019-06-17T12:46:23
2019-06-17T12:46:23
163,387,873
0
0
null
null
null
null
UTF-8
Python
false
false
1,838
py
# -*- encoding:UTF-8 -*- import wx import logging import Base from libs import Utility from libs.Config import Font from libs.Config import Color from libs.Config import String logger = logging.getLogger(__name__) class LampHolder(Base.TestPage): def __init__(self, parent, type): Base.TestPage.__init__(s...
[ "jotey@qq.com" ]
jotey@qq.com
a22ffc16dfff771c3f037f2cf3410d17066bbd79
1f080333f1714ba88d4f41d6ce2676f0b299e05e
/.venv/bin/maf_extract_ranges_indexed.py
011751629233c72c0d998a7fdd8de77cfa72ed42
[]
no_license
venice-juanillas/EIB-hackathon
b66bf128144dcef893c91af84dc28ff48be08e1b
6b73babff2b88dccbd5ec2e74bd5737ff0a4270b
refs/heads/master
2022-11-17T23:52:24.365210
2018-04-05T01:56:17
2018-04-05T01:56:17
120,545,413
0
1
null
2022-10-25T18:54:52
2018-02-07T01:19:48
Python
UTF-8
Python
false
false
4,702
py
#!/home/galaxy/data/galaxy_17.09/.venv/bin/python2.7 """ Reads a list of intervals and a maf. Produces a new maf containing the blocks or parts of blocks in the original that overlapped the intervals. It is assumed that each file `maf_fname` has a corresponding `maf_fname`.index file. NOTE: If two intervals overlap...
[ "v.juanillas@irri.org" ]
v.juanillas@irri.org
dcda4ae98e5ceea8422c2a9d5b281462addc5b6e
4047b91585245c3ee5ea6c50a620dadf74636bc3
/phylobot/phylobot/admin.py
e38df56d65328e8a83b088332fe4a4404c4facb6
[]
no_license
httang12/phylobot-django
fd371cc870f444cf94179d6a3cc6d23e9895186c
b535edfd1ee09dab02421ba22d96d48b3f611dad
refs/heads/master
2020-04-15T12:53:13.349661
2018-02-15T08:46:08
2018-02-15T08:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
from django.contrib import admin admin.autodiscover() from phylobot.models import * from phylobot.models_aws import * print "\n\n\n phylobot admin\n\n\n" admin.site.register(UserProfile) admin.site.register(AncestralLibrary) admin.site.register(AWSConfiguration) admin.site.register(ViewingPrefs) admin.site.register(An...
[ "victorhansonsmith@gmail.com" ]
victorhansonsmith@gmail.com
5dd9789f49b6bf5e26968ad8d2ac344ebc993ed3
fcca7ebb332ae400b82f7d75d424ace30e35963c
/apps/elasticity/stegoton/plot_comparison.py
6f3eaab6264e7dee56852f1672d4f2d87a7f8564
[]
no_license
clawpack/sharpclaw
5d2812149b28a09bfb626daf057fd27e4ab2f6a5
7c9782d932a449b92c875ff341a16bf00f0cc630
refs/heads/master
2021-01-04T14:06:42.001372
2013-11-28T15:19:26
2013-11-28T15:19:26
1,613,567
2
1
null
null
null
null
UTF-8
Python
false
false
1,147
py
from pyclaw.data import ClawPlotData from pyclaw.plotting import plotframe plotdata = ClawPlotData() plotdata.outdir = '.' # Figure: plotfigure = plotdata.new_plotfigure(name='Solution', figno=1) plotfigure.kwargs = {'figsize':[5,3]} # Axes: plotaxes = plotfigure.new_plotaxes(name='Strain') #plotaxes.xlim = [73,79] ...
[ "dketch@gmail.com" ]
dketch@gmail.com
fead5b51476cb0ee7d01cbd4d92adfe47ece5082
32a6ac6cbec63296ba68838ad4699b995810c6cd
/compiled/construct/debug_enum_name.py
f557f7c82a5e810c80400f8ac4c1aa17e88d975e
[ "MIT" ]
permissive
smarek/ci_targets
a33696ddaa97daa77c0aecbdfb20c67546c729bc
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
refs/heads/master
2022-12-01T22:54:38.478115
2020-08-10T13:36:36
2020-08-19T07:12:14
286,483,420
0
0
MIT
2020-08-10T13:30:22
2020-08-10T13:30:21
null
UTF-8
Python
false
false
914
py
from construct import * from construct.lib import * def debug_enum_name__test_subtype__inner_enum1(subcon): return Enum(subcon, enum_value_67=67, ) def debug_enum_name__test_subtype__inner_enum2(subcon): return Enum(subcon, enum_value_11=11, ) debug_enum_name__test_subtype = Struct( 'field1' / debug_enum_na...
[ "kaitai-bot@kaitai.io" ]
kaitai-bot@kaitai.io
39f1ab98e67afeba433bba71016769cf604ee099
b7e6cdf094baaee9d6e5034c2355641fbf9138d7
/824. 山羊拉丁文.py
fcd4e950c0e3c85ebf53f970708644e021c0f2ce
[]
no_license
heshibo1994/leetcode-python-2
04296c66cd6d1fe58880062aeafdbe9d474b7d2e
3ea32f03bd453743b9b81de9871fad7ac67ced90
refs/heads/master
2020-05-23T21:49:01.367969
2019-09-30T03:31:27
2019-09-30T03:31:27
186,961,972
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
# 给定一个由空格分割单词的句子 S。每个单词只包含大写或小写字母。 # # 我们要将句子转换为 “Goat Latin”(一种类似于 猪拉丁文 - Pig Latin 的虚构语言)。 # # 山羊拉丁文的规则如下: # # 如果单词以元音开头(a, e, i, o, u),在单词后添加"ma"。 # 例如,单词"apple"变为"applema"。 # # 如果单词以辅音字母开头(即非元音字母),移除第一个字符并将它放到末尾,之后再添加"ma"。 # 例如,单词"goat"变为"oatgma"。 # # 根据单词在句子中的索引,在单词最后添加与索引相同数量的字母'a',索引从1开始。 # ...
[ "csuheshibo@163.com" ]
csuheshibo@163.com
c74363ec7f3ffb330ff7eb6cc99754b2dfbc69e4
0e7be557833f38fef17b5eaa57c331a96148ad5e
/Assets/Python/StrategyOnly/Heroes.py
895ee42ac8234f910d9e6bebc4e54df85577387d
[]
no_license
Thunderbrd/Caveman2Cosmos
9f38961c638b82099b0601c22f8e90a1c98daa1e
b99aca8e56fb2a1fae48abd424dc0060a1d1fc1a
refs/heads/master
2022-01-12T19:40:32.586456
2019-07-21T22:00:09
2019-07-21T22:00:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,886
py
## By StrategyOnly converted to BUG by Dancing Hoskuld from CvPythonExtensions import * import CvEventInterface import CvUtil import BugUtil import PyHelpers import Popup as PyPopup import SdToolKit as SDTK gc = CyGlobalContext() localText = CyTranslator() PyPlayer = PyHelpers.PyPlayer PyInfo = PyHelpers...
[ "raxo2222@8bbd16b5-4c62-4656-ae41-5efa6c748c97" ]
raxo2222@8bbd16b5-4c62-4656-ae41-5efa6c748c97
f7e3e4d0eb43e1b66081962b0ee6cdd9d6a3694b
39c80306080defbde999f1af05ae5993f22d7fd7
/oxford_astrazeneca/tests/q_calc_efficiency.py
07076b1e2e93744fc876d8399910625d47330256
[]
no_license
uob-cfd/spe
47931d724792fbe812de49ac489a7e88cca52e1d
f7c76b766bffec71b80febd0dbc79e12aec3a11c
refs/heads/master
2023-02-04T20:45:44.411481
2020-12-27T19:03:52
2020-12-27T19:03:52
321,508,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
test = { 'name': 'Question calc_efficiency', 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" >>> # You need to define the function 'calc_efficiency' >>> 'calc_efficiency' in vars() True """, 'hidden': False, 'locked': Fal...
[ "matthew.brett@gmail.com" ]
matthew.brett@gmail.com
fbbbc52eab2329bda34461328893fba1754e20a0
70934fe6d0feed93994a98650a543832897e69ae
/sinaweibo.bak/weibo_factory.py
95cfe4e1548a4d14a120107301c0a8c022bd7623
[]
no_license
zy-sunshine/sunblackshineblog
d1d3f0f69d6b8c006e70a0601bc0d520ec5002bb
ea7d1e2f8477a238501cecf8e63fd3d7a2a945c9
refs/heads/master
2021-01-01T16:19:52.954701
2011-10-29T17:12:59
2011-10-29T17:12:59
2,570,586
1
0
null
null
null
null
GB18030
Python
false
false
1,878
py
#encoding=utf8 #file:weibo_factory.py #@author:carlos #@date:2011-2-13 #@link:tieniuzai.com from weibopy.auth import BasicAuthHandler from weibopy.api import API class SinaWeibo: def __init__(self,username,password): self.username = username self.password = password self.source ="app key" #在申请新浪微博开发者帐号并创建应用后获得 ...
[ "zy.netsec@gmail.com" ]
zy.netsec@gmail.com
918bf5948ed9490633028cdeed9ea000c19a2374
560af8e32aa77bfb6c5d837e93d0dc2dd7c9142c
/client_project/wsgi.py
fec9bea087df286ce54366f90bbc4c61b4f9094f
[]
no_license
anirudhasj441/Fake-Api
c7a4aef6bf9eadc16709fe10f4cd3b526664cd4e
86b6e496cbecf314ef6e6366a84b8f93ce7c775b
refs/heads/master
2023-06-26T00:00:00.914657
2021-07-29T06:35:39
2021-07-29T06:35:39
390,625,402
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for client_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANG...
[ "anirudhasj441@gmail.com" ]
anirudhasj441@gmail.com
e4a88b54323db57cc2d1b09b8b6560d91291a6cd
0bfb55b41282803db96b90e7bba73d86be7e8553
/administration/migrations/0011_auto_20161109_1845.py
fad5aaa70cdd3596ffe76dba25b75bc51d8583f1
[ "MIT" ]
permissive
OpenFurry/honeycomb
eebf2272f8ae95eb686ad129555dbebcf1adcd63
c34eeaf22048948fedcae860db7c25d41b51ff48
refs/heads/master
2021-01-11T01:52:40.978564
2016-12-29T18:08:38
2016-12-29T18:08:38
70,649,821
2
2
null
2016-12-29T18:08:39
2016-10-12T01:22:38
Python
UTF-8
Python
false
false
465
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-09 18:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('administration', '0010_auto_20161109_0552'), ] operations = [ migrations.Al...
[ "madison.scott-clary@canonical.com" ]
madison.scott-clary@canonical.com
b0173056cf09e20ef265ae0bf916c84bfd972b1a
86cd22354f2431087c9b3ff06188f071afb3eb72
/383. Ransom Note.py
cf3b994fb40efd594dc1c7d269120b8b5583c390
[]
no_license
tlxxzj/leetcode
0c072a74d7e61ef4700388122f2270e46c4ac22e
06dbf4f5b505a6a41e0d93367eedd231b611a84b
refs/heads/master
2023-08-31T11:04:34.585532
2023-08-31T08:25:51
2023-08-31T08:25:51
94,386,828
2
0
null
null
null
null
UTF-8
Python
false
false
408
py
class Solution: def canConstruct(self, ransomNote: str, magazine: str) -> bool: letters = {} for c in magazine: if c in letters: letters[c] += 1 else: letters[c] = 1 for c in ransomNote: if letters.get(c, 0) == 0: ...
[ "tlxxzj@qq.com" ]
tlxxzj@qq.com
b307447339363ba5a9bc02068f4df4126d5e6527
bb824786f095fbf6e6cf627ef9c04afdb5152477
/apps/pages/migrations/0013_partnerspage.py
e96243788314b36b0fda1ef2712514fcbd92c772
[]
no_license
Emilnurg/anas.ru
19000063c7db98c15261056bb9590382db362d42
20cee1aee02da192c9c79a51bd0898c1dba0c98f
refs/heads/master
2021-05-20T12:09:08.155749
2017-12-26T13:49:12
2017-12-26T13:49:12
252,287,670
0
0
null
2021-03-31T19:34:29
2020-04-01T21:10:48
JavaScript
UTF-8
Python
false
false
6,865
py
# -*- coding: utf-8 -*- # flake8: noqa # Generated by Django 1.10.7 on 2017-06-08 15:27 from __future__ import unicode_literals import ckeditor_uploader.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pages', '0012_auto_20170531_1612'), ] ...
[ "wizzzet@gmail.com" ]
wizzzet@gmail.com
71c44b270f1029386b8c8079cc4f51467a806a60
8690ca0028c54b62d68badf1753fc6151ae03525
/Part3 Levels of Aggregation/esem_data/Act/tpot_mnist_pipeline_triangulateAggregationLevelParticipantSplitaggr_5_groups7.py
d83ecdf48b217bda826b409cdf96307576b5488a
[]
no_license
brains-on-code/conducting-and-analyzing-human-studies
fd74ee77fdc56cc61bdc1e0cf9bf423780f5dddc
548e7443f4d2bdb2db1f2858289b7d3518593c59
refs/heads/master
2021-06-26T21:30:56.386121
2020-12-22T13:49:16
2020-12-22T13:49:16
195,975,817
2
0
null
null
null
null
UTF-8
Python
false
false
867
py
import numpy as np import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.model_selection import train_test_split from sklearn.pipeline import make_pipeline from sklearn.preprocessing import StandardScaler # NOTE: Make sure that the class is labeled 'target' in the data file tpot_data = p...
[ "fmriml@fmriml.com" ]
fmriml@fmriml.com
9b8b6f9bda493cd1e8800f462021606cf91863d6
641f76328bfeb7e54f0793a18c5b7c00595b98fd
/apps/sms/serializers.py
4d653e2794abcb0dbb3ce297e9d2919f02b8d8f4
[ "Apache-2.0" ]
permissive
lianxiaopang/camel-store-api
1d16060af92eb01607757c0423377a8c94c3a726
b8021250bf3d8cf7adc566deebdba55225148316
refs/heads/master
2020-12-29T13:23:18.118617
2020-02-09T08:38:53
2020-02-09T08:38:53
238,621,246
0
0
Apache-2.0
2020-02-07T14:28:35
2020-02-06T06:17:47
Python
UTF-8
Python
false
false
207
py
from rest_framework import serializers from .models import SmsRecord class SmsRecordSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = SmsRecord fields = '__all__'
[ "lyh@gzqichang.com" ]
lyh@gzqichang.com
b7750a59ddd97731a3db15d7ff43b162bbc4a22b
b9ca99a0244e5d5a07e0b27be8192ad01c4eda6c
/EIP/EIP系统所有流程.py
fad26b441598bfd879662694afe6d03b21d1d15c
[]
no_license
Boomshakal/spider
c3fdbf18f874ec9953509e4ce984b5476d25839f
e6779a3961f48325dd4992d88f88b8b3938225d7
refs/heads/master
2021-06-17T06:22:19.679444
2021-03-05T06:33:36
2021-03-05T06:33:36
154,489,684
1
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
import requests import json from lxml import etree url="http://eip.megmeet.com:8008/km/review/km_review_index/kmReviewIndex.do?" maxpage=5 headers={ "Cookie": "j_lang=zh-CN; JSESSIONID=40ABBC9A619C5860068184B1E339BC4D", "User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chro...
[ "362169885@qq.com" ]
362169885@qq.com
fd337b75f0eb10484074e08ba64c0b939849c29f
ed756885498f009618c4be880f255e5c2402d537
/web/feeds.py
d65fd10180cb506fc5739ed0d781aa1940d95fda
[]
no_license
GunioRobot/BlancoWeb
c6d1d242960918a6170ed0b1432ac36ea686546f
cff8540c8f5bc0a372cc3500b035f1fdbbc7eab8
refs/heads/master
2021-01-20T11:31:50.434756
2011-02-21T22:43:42
2011-02-21T22:43:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
# -*- coding: utf-8 -*- from django.contrib.syndication.feeds import Feed; from web.models import Evento; class EventoFeed(Feed): title = "Blanco Irish Tavern"; link = "web/feeds/eventos/"; description = "Suscríbete para conocer todas nuestras fiestas" def items(self): return Evento.object...
[ "jneight@gmail.com" ]
jneight@gmail.com
943eb7ef872e91eecdf173c1d2bcf133d8a02938
484f9502f2d1fa35df77df8d3a08bd2bfd2d253d
/src/testers/unittests/test_ast_utils.py
3debbde14f5a9683c67c251be3268860790f2dd6
[ "Apache-2.0" ]
permissive
pmeerw/Triton
5d1c58e93ed257f06f1586a1aa542d1ba307dcbb
82f11d6b15302e7900ed7f9eb3d686b6313d5b37
refs/heads/master
2020-08-04T17:01:47.442181
2019-09-30T08:16:44
2019-09-30T08:16:44
212,212,395
0
0
Apache-2.0
2019-10-01T22:38:58
2019-10-01T22:38:58
null
UTF-8
Python
false
false
1,494
py
#!/usr/bin/env python2 ## -*- coding: utf-8 -*- """Test AST utils.""" import unittest from triton import * class TestAstUtils(unittest.TestCase): """Testing the AST utilities.""" def setUp(self): self.ctx = TritonContext() self.ctx.setArchitecture(ARCH.X86_64) self.astCtxt = self....
[ "jonathan.salwan@gmail.com" ]
jonathan.salwan@gmail.com
c4a35b1184ddc9951b0bf9e8a1ceeaccd2c708a0
b951ee6d2de741e84f7bfe2dc5a66853c1d5cd4e
/Array/LinkedInstead.py
5960eaa4dc231e2a7ddbf5349c752a8df806be84
[]
no_license
Chongkai-Ma/Fundamentals-of-Python-Data-Structures
e78569f79dfad16ebc18121c250c25d91bb94754
170e58d23d9ee73c53b2ab596d7fcfc3e63eccc9
refs/heads/master
2020-09-21T03:46:04.980838
2019-12-04T14:18:27
2019-12-04T14:18:27
224,669,370
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
#!/usr/bin/python3 from node import Node head = None for count in range(1, 10): head = Node(count, head) probe = head targetItem = 5 while probe != None and targetItem != probe.data: probe = probe.next if probe != None: probe.data = 88888 print ("The item has been changed") else: print ("The it...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
da2c797441188d198de8c57c9a59473cbd5ed769
c36fdb4d07aeaf0b1e568c45e8020b34c6fa5aca
/usps_integration/models/__init__.py
136e6ed2d4acabb36fa173d1a7051621eeeb8395
[]
no_license
planetodooofficial/usps_integration_v13
c6cf33c49d753c44831d3f6e1da10271d37f0e82
ad69aa442b0ee65d1b7589b7f7ca409313f908aa
refs/heads/master
2022-12-24T10:05:39.397215
2020-09-30T19:14:55
2020-09-30T19:14:55
258,160,591
0
3
null
2020-09-30T19:14:56
2020-04-23T09:52:32
Python
UTF-8
Python
false
false
1,098
py
# -*- encoding: utf-8 -*- ############################################################################## # Copyright (c) 2015 - Present Planet Odoo. All Rights Reserved # Author: [Planet Odoo] # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Pu...
[ "https://Anjeel@bitbucket.org" ]
https://Anjeel@bitbucket.org
7e57dcbf4f48f8fcfe88cb68a3ebfbe549f6d2ab
e944d912def98d7546d17c4303169f52517348ca
/interview_questions/basic/sum_of_rows_1.py
046b5461ff003408ecb4ae700d527c671bb16873
[]
no_license
balajich/python-crash-course
0710854de3cd04695f969cbfe774ef336f707f48
e62b578f7dc93f6a47fbae00dac2d496b985fe8d
refs/heads/master
2021-07-30T16:00:45.392119
2021-07-29T11:41:49
2021-07-29T11:41:49
192,034,679
9
0
null
null
null
null
UTF-8
Python
false
false
425
py
''' Take matrix as input and returns sum of rows` ''' import numpy as np def rowsum(matrix): """ :param matrix (list): A list of lists where each inner list represents a row. :returns: (list) A list containing the sum of each row. """ result=[] for sub_list in matrix: result.append(sum(...
[ "balaji.chopparapu@gmail.com" ]
balaji.chopparapu@gmail.com
e7a6da8b913047441c8ecbd61af44920ea566c1b
95d20fe737d711cf92d68130eb59b6aef4435ec2
/pyecharts数据可视化/中国国内生产总值.py
20106c170698be17ce82f33a10baa3719363738d
[]
no_license
CCH21/Python
d11b93851579d85f972828c760a96c5be1f79531
33e218810856971f3f1f97a2b8a4c8dce761362e
refs/heads/master
2022-04-29T11:48:01.816283
2022-03-17T11:53:01
2022-03-17T11:53:01
226,452,057
1
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
#!/usr/bin/env python3 import csv from pyecharts import Line Quarter = [] GDP = [] Primary_industry = [] Secondary_industry = [] Tertiary_industry = [] with open('中国国内生产总值.csv', 'r', newline='') as csv_in_file: filereader = csv.reader(csv_in_file) head = next(filereader) for row_list in fil...
[ "1398635912@qq.com" ]
1398635912@qq.com
7b10e1771bc7133cd12e42ff4ced75617ba3270c
826cdefb3554e6bbc7b5e5fa9bc6f55268cd58dd
/src/main/python/basics/itertools.py
4c731ae4d27d12208d8fbb8b22bcd656bceb3a3f
[]
no_license
lj015625/CodeSnippet
67d1f556497948b3db51c67af07f16a21751427e
73e9375c5d7edcc50170569c0bd99fd415557d85
refs/heads/master
2023-09-01T14:59:57.162553
2023-08-24T11:07:37
2023-08-24T11:07:37
61,499,418
0
1
null
null
null
null
UTF-8
Python
false
false
1,043
py
import itertools as it def combinational_dice_rolls(n, m): return list(it.product(range(1, m+1), repeat=n)) combinational_dice_rolls(2,2) def cartesian_product(arr1, arr2): print(*it.product(A, B)) A = [1,2,3] B = [1,2,3] cartesian_product(A,B) s, n = 2, 3 s = sorted(str(s)) n = int(n) for i in it.permutati...
[ "leonardo.ji@cerner.com" ]
leonardo.ji@cerner.com
684e78d298475edf5350934fbb380bb497a3bb7e
0cc9ba497efeae7de808b3063f932cee9449bc20
/akshare/fx/currency_investing.py
41abf6485117ce7ccd18ebed6240baa7a5dd72a6
[ "MIT" ]
permissive
louis100/akshare
08dc7d71c194e973092174dabc307e28a2aaf7d6
0b2ad15982dc1e4081929ed634e96c559bf3ef7e
refs/heads/master
2022-12-12T16:26:38.294899
2020-09-16T04:25:46
2020-09-16T04:25:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,907
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2020/9/9 11:56 Desc: 英为财情-外汇-货币对历史数据 https://cn.investing.com/currencies/ https://cn.investing.com/currencies/eur-usd-historical-data """ import re import pandas as pd import requests from bs4 import BeautifulSoup from akshare.index.cons import short_headers, lon...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
8c66385405873707fcd3fa458d8f11637899adb4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/323/usersdata/278/89121/submittedfiles/mdc.py
3185a3f53219a38653c6a227ae7e28e217f85f66
[]
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
604
py
# -*- coding: utf-8 -*- import math n1 = int(input("Digite o primeiro número inteiro: ")) n2 = int(input("Digite o segundo número inteiro: ")) mdc=1 if n1>n2: for i in range (2,n2,1): resto1=n1%i resto2=n2%i if resto1==0 and resto2==0: mdc=mdc*i if mdc==1: print(mdc) ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e48a135645e3ef4e54e636050eed7af1fa14972e
9d1c260ff8e58335e0f373cfdd530e637ea803a8
/EVENT.py
963c1b66313d4f3a5b72fbc09ebc1ccffb81b482
[ "MIT" ]
permissive
rambasnet/EVENT
e52931e3224b712e8b044e58382e4d170a835dc4
dd3a6507112e4adc054481608d8968706f80d23f
refs/heads/master
2020-06-01T23:39:28.843906
2019-06-09T20:07:02
2019-06-09T20:07:02
190,967,667
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
#----------------------------------------------------------------------------- # Name: event.py # Purpose: # # Author: Ram Basnet # # Created: 2009/10/10 # RCS-ID: $Id: event.py $ # Copyright: (c) 2009 # Licence: All Rights Reserved. #-------------------------------------------...
[ "rambasnet@gmail.com" ]
rambasnet@gmail.com
e8a823a890546c56c66c3bb0dbf0a510a17cf622
13f7adf576114c51f9f806a6fc5797b276d93f97
/devel/lib/python2.7/dist-packages/autoware_msgs/msg/_traffic_light.py
90177962beab0e196bf6f3c7b6ff861fedd20be4
[]
no_license
yunjeongkim/keti_ws
a72a5ebc367b208654bdffb5bb9e8372cd959d33
aaac717c15a7be7431b22fb4ec7a96a734f2e03c
refs/heads/master
2020-04-05T06:18:52.334522
2018-11-21T01:47:34
2018-11-21T01:47:34
156,633,425
1
0
null
null
null
null
UTF-8
Python
false
false
6,252
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from autoware_msgs/traffic_light.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg class traffic_light(genpy.Message): _md5sum = "a4931ba214a0e37e220d...
[ "dallddungi@kaist.ac.kr" ]
dallddungi@kaist.ac.kr
4e3448bfeb4bf56e2ff41fc71a1727b619f401e6
526b6454565583700866463e46f66ede67165e2b
/expenses/pagination.py
d231586502537a64f68fbb878914834860e78b17
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
thangadurairajapandiyan/django-expenses
a0f04ac41d1b02be82642a084545a2b356fd5a59
4a463052a67ac080427857d3fec16cf78eb70c3b
refs/heads/master
2023-03-30T04:24:01.096399
2021-03-31T20:30:17
2021-03-31T20:30:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
# Pretty Pagination # Copyright © 2018-2021, Chris Warrick. # All rights reserved. # License: 3-clause BSD from itertools import zip_longest def pagination(num, maxpage): """Generate a pretty pagination.""" if maxpage <= 5: return list(range(1, maxpage + 1)) page_range = [] if num == 1: ...
[ "kwpolska@gmail.com" ]
kwpolska@gmail.com
a332729be8de4ce9a7e33437066ae82c80110be0
bf7ad5c52e5be4fbf34816b95932d520e0f579d4
/repeat.py
0419ac8f22b5134ed7e2a5bb1e9e31d10d076841
[]
no_license
veronicarose27/vero
4722381a6598e3fc6f87596d52f6ca860219ad19
c943344596dc4398accdd81bd9936ff114b8d738
refs/heads/master
2020-06-11T21:13:32.613495
2019-07-19T17:20:46
2019-07-19T17:20:46
194,087,132
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
y,z=map(int,input().split()) p=list(map(int,input().split())) count=0 for i in range(0,len(p)): for j in range(1,len(p)): if(p[i]==p[j]): count=count+1 if(count==z): print(p[i]) break
[ "noreply@github.com" ]
veronicarose27.noreply@github.com
6110d7d86503b01878af17b0f37d98e5097fece2
f4b7d327581e500dc79079c834cc23af9939737e
/moonlight/models/base/glyph_patches.py
263b33c17cd0a8a9c7f22e54295ce5b1953d0b75
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
abc3436645/moonlight
095eea2b892528b9a3fe5d05af39e4a023c55628
7f8a3ab4e55570dd120e3965f8049dd866d12a6b
refs/heads/master
2020-03-25T19:37:01.849371
2018-08-07T17:42:56
2018-08-07T17:42:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,031
py
# Copyright 2018 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 or agreed to in writing, ...
[ "ringwalt@google.com" ]
ringwalt@google.com
04b61e88739ffadc8d675c0b4f576b5f7122eb69
576cc83449e10fd3f98281970c46016ea7a5aea2
/OpenCV相机标定/CalibrationTest.py
658370ca975416804ff63dff37187d3bdaa30be3
[]
no_license
HotView/PycharmProjects
215ab9edd341e3293daebcf86d97537f8cd28d75
61393fe5ba781a8c1216a5cbe7e0d06149a10190
refs/heads/master
2020-06-02T07:41:53.608742
2019-11-13T08:31:57
2019-11-13T08:31:57
191,085,178
3
2
null
null
null
null
UTF-8
Python
false
false
2,778
py
import cv2 import numpy as np import glob # termination criteria criteria = (cv2.TERM_CRITERIA_EPS+cv2.TERM_CRITERIA_MAX_ITER,30,0.001) # prepare objects points,like(0,0,0),(1,0,0),(2,0,0),....,(6,5,0) objp = np.zeros((6*7,3),np.float32) objp[:,:2] = np.mgrid[0:7,0:6].T.reshape(-1,2) # Arrays to store object points an...
[ "864773190@qq.com" ]
864773190@qq.com
b30f1b39fb3a2a1a6d9299203f6c492cd0e9aa87
a7ca0a372a44bc9cee59a7e1e59734a4814a59b9
/이것이코딩테스트다/병사배치하기.py
8b38d29927c9fad4814ed5bac88c39daec9c4d28
[]
no_license
schw240/Preparing-coding-test
435d6dbdcf90fc8c0c408dfa032ad7f09fdc5a90
758a41270c409312a998152c5298369ec385bfdb
refs/heads/master
2021-11-29T07:54:05.140178
2021-10-03T11:40:36
2021-10-03T11:40:36
245,345,693
1
0
null
null
null
null
UTF-8
Python
false
false
510
py
N = int(input()) scores = list(map(int, input().split(' '))) scores.reverse() # 병사를 배치할 때 전투력이 높은 병사가 앞으로 오도록 내림차순 배치 # 이때 정렬을 쓰는게 아니라 열외를 쓰는 방법으로 배치 dp = [1] * N # 남아있는 병사의 수가 최대가 되도록 하기 위해 열외시켜야 하는 병사의 수 for i in range(1, N): for j in range(i): if scores[j] < scores[i]: dp[i] = max(dp[i], d...
[ "schw240@gmail.com" ]
schw240@gmail.com
a52dfaac37bcd5fa128652b84d5b4b9904f40414
1974b3e9c5f2f677833e1608a41281f377fd331c
/dltesthttp_xuyalin2/www/testcase/dlmall/ts_couponx/getUseFulCoupons.py
e7f7c5c587deb28ea48f702a15f9161b6113a024
[]
no_license
xyl00755/pythonLearning
ed0f540b61247c3560f347853da5886b2e2ba25d
c6aecff86ff34dcd7358d98201627ff84e9bf2cf
refs/heads/master
2021-01-13T08:19:25.171016
2016-12-16T05:43:10
2016-12-16T05:43:10
71,764,553
0
0
null
null
null
null
UTF-8
Python
false
false
2,696
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest from www.api.dlmall import * from www.common.excel import * from www.common.database import * """ /couponx/getUseFulCoupons.html request: get http://123.57.244.205:9003/couponx/getUseFulCoupons.html?goodsId=f4bccbbd84e44f9ba839e082970dccca%2C9c02bcf9737d4...
[ "xuyalin@danlu.com" ]
xuyalin@danlu.com
b9bcf064e318743a5c5030ddf2e243fa9c742794
8537ecfe2a23cfee7c9f86e2318501f745078d67
/Practise_stuff/matplotlib/click_on_point_to_see_timeseries.py
d68c313bc04fa4ac8a3c2008391627668a605bd3
[]
no_license
oolsson/oo_eclipse
91d33501d9ed6c6b3c51bb22b635eb75da88e4e1
1828866bc4e1f67b279c5a037e4a6a4439ddb090
refs/heads/master
2021-01-01T20:17:12.644890
2015-11-30T09:49:41
2015-11-30T09:49:41
23,485,434
0
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
import numpy as np class PointBrowser: """ Click on a point to select and highlight it -- the data that generated the point will be shown in the lower axes. Use the 'n' and 'p' keys to browse through the next and previous points """ def __init__(self): self.lastind = 0 ...
[ "o.h.olsson@gmail.com" ]
o.h.olsson@gmail.com
7851381b34746f3487ce259477ca9681dcb2349a
32cfd6a8df9b24059ed7bee0b7bf99b6c0268f6e
/framework/seocortex/utils/soupselect_old.py
2498bc8d37f106ed475746dca6bdd246a3d6be44
[]
no_license
blorenz/seocortex
5cd7acb647fbc4908e6045d2a89bdd2ade922434
3f1f7e8ac4a12e24e7f2cb58407ce52babfe5cf8
refs/heads/master
2016-09-05T21:36:01.039128
2012-04-23T13:33:46
2012-04-23T13:33:46
3,951,299
0
3
null
null
null
null
UTF-8
Python
false
false
4,621
py
# -*-coding:Utf-8 -* # Copyright 2012 - Peoplze.com <contact@peoplze.com> # Python imports import re def attrInNode(node,atr): for k,val in node.attrs: if k == atr: return True return False def htmlFind(node,selector,n,defaut=""): l = list(node.findSelect(selector)) if len(l) >...
[ "blorenz@gmail.com" ]
blorenz@gmail.com
e68e5d91b7780d3fad236dfa0ad58ca34d4e4f9e
8b3ca44ee3d990233e74655b7131d616094f70c2
/experiments/cross_validation/movielens_100K/poisson_gamma_gamma.py
cc0781ad2618e0f9db05184959fc4e28140035a0
[]
no_license
zshwuhan/BMF_Priors
8b8c54271285a72d2085a56a9475c0756f375e67
6a600da1c41f1ccde2f2ba99298b40e68fb9910a
refs/heads/master
2021-05-13T19:10:07.203215
2017-12-01T13:30:21
2017-12-01T13:30:21
116,883,181
1
0
null
2018-01-09T23:36:13
2018-01-09T23:36:13
null
UTF-8
Python
false
false
1,609
py
''' Run nested cross-validation experiment on the MovieLens 100K dataset, with Poisson likelihood, Gamma priors, and Gamma hierarchical priors. ''' project_location = "/Users/thomasbrouwer/Documents/Projects/libraries/" import sys sys.path.append(project_location) from BMF_Priors.code.models.bmf_poisson_gamma_gamma ...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
f8dcb79496b226693eb440a4735a89a8bb445860
684b61f3405ed01b4184b222da342bd1533e4b90
/shop/migrations/0002_auto_20200406_1505.py
17c49a7cd1d4a26822a3030c54e37da8409a58fd
[]
no_license
Mubashar-javed/myshop
6379d2568e969db9f8dc30354966d4054463959f
0248c2cb6e26500b5fd1404dad45b14ebf1092ac
refs/heads/master
2023-05-26T08:01:09.067626
2022-12-08T09:36:10
2022-12-08T09:36:10
254,266,547
0
0
null
2023-05-23T01:08:14
2020-04-09T03:57:41
Python
UTF-8
Python
false
false
353
py
# Generated by Django 2.2.5 on 2020-04-06 10:05 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shop', '0001_initial'), ] operations = [ migrations.RenameField( model_name='product', old_name='cereated', new_...
[ "mubasharbravo302@gmail.com" ]
mubasharbravo302@gmail.com
aed11a2c4d13c0d479bf8465197e8185bcd75c06
14f0c423c109a75a8cbd10ca8c526f1482e3e385
/Python/Django/multuple_apps/apps/blogs/views.py
56e65b2b27072046cd5e9fc24cc6c724cda4ae09
[]
no_license
thisolivier/dojo-master
21fd5d13e25321cce0558cab3b0c0335774e173c
9486f6b2af2148a296e2a238eee2b814fe0831fe
refs/heads/master
2021-01-01T06:47:07.162851
2017-09-16T00:54:05
2017-09-16T00:54:05
97,511,225
0
0
null
2017-09-16T00:42:26
2017-07-17T18:51:47
Python
UTF-8
Python
false
false
734
py
from django.shortcuts import render # Create your views here. def blog_root(request): print "---> Generating root template" return render(request, 'blogs/index.html') def blog_new(request): print "---> Generating new blog template" return render(request, 'blogs/index.html') def blog_create(request): ...
[ "olivier.butler@gmail.com" ]
olivier.butler@gmail.com
f1010cdff0106ff59ffa22b5b5d3ee835bf5829f
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0689-Maximum-Sum-of-3-Non-Overlapping-Subarrays/soln-1.py
f62c0aa991d5e1a4c2f04b46e6f6e54a54e99d0f
[ "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
996
py
class Solution: def maxSumOfThreeSubarrays(self, nums: List[int], k: int) -> List[int]: idx1, idx2, idx3 = 0, k, k * 2 s1, s2, s3 = sum(nums[idx1:idx1 + k]), sum(nums[idx2:idx2 + k]), sum(nums[idx3:idx3 + k]) bests1, bests12, bests123 = s1, s1 + s2, s1 + s2 + s3 besti1 = 0 be...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
94458562cd7bf5f91df8d4257fc676713c9cdb93
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Python wow/tests/models/spells/test_buff_schema.py
86c88aee46e4d4ca161e2602ae7dee3c807b81df
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e63d9f081f022098267a17e7874b4d2fd1dcffedf91d27fcc4a3820700084f41 size 1940
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
6c01e0c87f1231c1a696e1b6cbdbd868b04e2a06
011a750fae8ade67f726a9749e05cc4afb8e360d
/text_file_analyser/test/main.py
141c4ce62d4e23028bccb531ba11cf934d5e6550
[]
no_license
MartinCarufel/PycharmProjects
c7e50b66a24d4a216b7a217192fcd446f5324d9f
aaa6c95b3e2e6525586fb6a03d1c9d484065899b
refs/heads/master
2023-07-05T22:40:38.650892
2023-06-26T13:55:13
2023-06-26T13:55:13
150,859,642
1
0
null
null
null
null
UTF-8
Python
false
false
648
py
from text_file_analyser import Text_File_analyser import pandas as pd def main(): tf = Text_File_analyser("usb_stress_testIO-04-000979.log") csv_data = tf.data_spliter("\| Date :", " +") df = pd.DataFrame(csv_data) df = df[[3, 4]] print(df) def main2(): # Creating the dataframe df = pd....
[ "maccam6@gmail.com" ]
maccam6@gmail.com
f0438fb43a911298fba48e71620bc3f5ff15ba8b
c16ab2c9c675bdbca43a4603a14106790d9e7da2
/lib/gae_mini_profiler/appstats_profiler.py
d1e30d4d9a70e975ccedc29a5068b4e0987559b9
[ "MIT" ]
permissive
y2bishop2y/microengine
7e7e8b5852188fcceb9559f9d8d339bf6257a0d7
2322fdce0718a06bdc0332682e8ef9e393f8e7af
refs/heads/master
2021-01-01T18:38:17.250888
2013-03-20T08:21:53
2013-03-20T08:22:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,136
py
"""RPC profiler that uses appstats to track, time, and log all RPC events. This is just a simple wrapper for appstats with result formatting. See https://developers.google.com/appengine/docs/python/tools/appstats for more. """ import logging from pprint import pformat from google.appengine.ext.appstats import record...
[ "eberenbaum@okta.com" ]
eberenbaum@okta.com
9471cea9b5d59083fe068b87504590f4027f45eb
ad8b30544480ba1e5f5b1cb2dec2aa77a644e8d2
/BOJ/1238_파티.py
47e4a42bd4b524d433bb52d123cba305548dc8c0
[]
no_license
hyunwoojeong123/Algorithm
79abc82d944ca60342a7f8b6fc44fac20ac55123
0baaf3222fbbec699ffbec5d4cc680067cf293fb
refs/heads/master
2023-07-10T18:28:51.934005
2021-08-18T01:51:23
2021-08-18T01:51:23
284,403,698
1
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
import sys,heapq INF = sys.maxsize input = sys.stdin.readline def dij(x): # d 배열을 INF 로 전부 준다 d = [INF]*n # heap에다가 [0, 출발점] 을 넣는다. heapq.heappush(heap, [0,x]) # d[출발점] = 0 d[x] = 0 # heap 다 빌 때까지 반복 while heap: # w,x 는 현 위치까지의 거리와 현 위치 w,x = heapq.heappop(heap) ...
[ "hw2621@daum.net" ]
hw2621@daum.net
ecb797705d4380b014ac224de86a2b3ca7fbe0de
029b18378b54856f6982cf3a73982b5285c2ff57
/assignment1/cs231n/classifiers/linear_classifier.py
22b624caa7e1dbd171409817f28da4d614335f49
[]
no_license
Allensmile/cs231n_Convolutional-Neural-Networks-for-Visual-Recognition
15f07693757a439776e7da22f2ac4e2cf6f78611
bbae799b71c533ffb52ff9248ce9c92cfa76be6e
refs/heads/cs231n-0821
2021-01-01T19:05:11.608175
2016-08-22T04:39:20
2016-08-22T04:39:20
98,504,340
1
0
null
2017-07-27T07:01:01
2017-07-27T07:01:01
null
UTF-8
Python
false
false
6,325
py
import numpy as np from cs231n.classifiers.linear_svm import * from cs231n.classifiers.softmax import * class LinearClassifier(object): def __init__(self): self.W = None def train(self, X, y, learning_rate=1e-3, reg=1e-5, num_iters=100,batch_size=200, verbose=False): """ Train this linear classifier ...
[ "brightmart@hotmail.com" ]
brightmart@hotmail.com
50587e5954677e11ceae53851f78af9e5bcfa727
458ff3c3611bb969f96ff3d3e15108fa9ec88316
/quiz/migrations/0004_auto_20201209_2057.py
9ddaf47129300087df96cc291ab7fda68b428ff2
[]
no_license
mayank5044/Navigus
8164809d87c5f3112565549229327ea20d090898
aa03a99583efe4b7e9e7d1cb4a450e559f36d475
refs/heads/master
2023-08-11T01:30:21.115338
2021-10-09T06:47:24
2021-10-09T06:47:24
414,919,603
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('student', '0002_remove_student_status'), ('quiz', '0003_result'), ] operations = [ migrations.AlterField( model_name='result', ...
[ "iutkarshyadav192000@gmail.com" ]
iutkarshyadav192000@gmail.com
baed34dff5b6291a245a5b0525a858aeba9dc2b8
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/FwupdPlugin/FirmwareClass.py
41cfcb07d1b2a17378eab46a1dbbc60611507f68
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
5,303
py
# encoding: utf-8 # module gi.repository.FwupdPlugin # from /usr/lib64/girepository-1.0/FwupdPlugin-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attrib...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
944140c7bba8ea526c0edc0595e380ce65ebcc98
690e8f0a853c1f27bae688f021e8c27e62ca9613
/auth/auth/settings.py
9d8a145494269d4ab9cebf00c17bb3722ad9be69
[]
no_license
MaksimLion/django-rest-authentication
d77c8b59e89c80a9f8c98fb7b038bebb431ffc0e
8445354f761d0624a97faa490d8872be5994da5e
refs/heads/master
2020-05-04T15:16:51.320819
2019-04-03T08:22:16
2019-04-03T08:22:16
179,233,291
0
0
null
null
null
null
UTF-8
Python
false
false
3,303
py
""" Django settings for auth project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bu...
[ "maxim226356@mail.ru" ]
maxim226356@mail.ru
d1bdc816ef14dbb9698a37af082dbc2f665ef045
434b6556038ad326ffaa8584a8a91edf8ad5c037
/BST-1/CheckBST-1.py
6677cdfe3c533653ccfc336a478ee2090bd1405b
[]
no_license
Pranav016/DS-Algo-in-Python
60702460ad6639dd3e8a1fdc3caf0821b8e0b4c2
5557e371ccdf801d78ba123ca83c0dd47b3bdb3b
refs/heads/master
2023-01-23T08:29:32.186861
2020-11-01T17:14:12
2020-11-01T17:14:12
284,651,382
3
1
null
null
null
null
UTF-8
Python
false
false
1,634
py
import queue class BinaryTreeNode: def __init__(self,data): self.data=data self.left=None self.right=None def minimumNode(root): if root is None: return 1000000 leftMin=minimumNode(root.left) rightMin=minimumNode(root.right) return min(root.data,leftMin, rightMin...
[ "pranavmendi@gmail.com" ]
pranavmendi@gmail.com
76f5af84fbd35b8169fa79d19c04247b0d84fd00
504c9c2b0d29d946079e11644761ad354fc79715
/_build/jupyter_execute/B_資訊設會必修的12堂Python通識課_何敏煌_博碩_2019/ch08.py
f2a128622353e50d7e7e751299228a9b37946c13
[]
no_license
AaronCHH/jb_pysqlite
2b5b79327778705f8a941b0c5628e9eba0f5be2a
832a70b936800a380c1da0884eed9f7fa0dc2aee
refs/heads/main
2023-03-12T23:17:22.534445
2021-03-06T15:51:10
2021-03-06T15:51:10
340,876,347
0
0
null
null
null
null
UTF-8
Python
false
false
4,816
py
# Ch08 操作資料庫 #顯示學生成績表 import sqlite3 dbfile = "school.db" conn = sqlite3.connect(dbfile) rows = conn.execute("select * from score;") for row in rows: for field in row: print("{}\t".format(field), end="") print() conn.close() #輸入學生成績 import sqlite3 dbfile = "school.db" conn = sqlite3.co...
[ "aaronhsu219@gmail.com" ]
aaronhsu219@gmail.com
b81f41162f15e29f8b808b8521fb7a1cf808a28c
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/sale_crm/__manifest__.py
2ee01b74f3caf0f9facf83b0f88b9115a413b705
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. { 'name': 'Opportunity to Quotation', 'version': '1.0', 'category': 'Hidden', 'description': """ This module adds a shortcut on one or several opportunity cases in the CRM. =============================...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
484644bbb880fdcf085f5e5d6641f10a5231a625
08bfc8a1f8e44adc624d1f1c6250a3d9635f99de
/SDKs/swig/Examples/python/varargs/runme.py
fe1e28e881e6fbf9f29462308bf61efca2de0209
[]
no_license
Personwithhat/CE_SDKs
cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02
7afbd2f7767c9c5e95912a1af42b37c24d57f0d4
refs/heads/master
2020-04-09T22:14:56.917176
2019-07-04T00:19:11
2019-07-04T00:19:11
160,623,495
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:f2ae65c42f8358298afb53751299f1957fed0218e6a36f16022a63aa74858f95 size 705
[ "personwithhats2@Gmail.com" ]
personwithhats2@Gmail.com
734748a7d00403f32a4378d028e322462aeeabe3
09cead98874a64d55b9e5c84b369d3523c890442
/py200421_python2/day14_py200606/tuple_1.py
c02f948ae526bf8546174abec4408a4458357833
[]
no_license
edu-athensoft/stem1401python_student
f12b404d749286036a090e941c0268381ce558f8
baad017d4cef2994855b008a756758d7b5e119ec
refs/heads/master
2021-08-29T15:01:45.875136
2021-08-24T23:03:51
2021-08-24T23:03:51
210,029,080
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
""" tuple read-only list """ # create a tuple my_tuple1 = (1, 2, 3, 4, 5, 6, 7, 8) print(my_tuple1) my_tuple2 = () print(my_tuple2) # create a tuple with only one element my_tuple3 = (1) print(my_tuple3) my_tuple3 = ('abc') print(my_tuple3) my_tuple3 = 1 my_tuple3 = (1,) print(my_tuple3) # create nested tuple my_tu...
[ "lada314@gmail.com" ]
lada314@gmail.com
1d74ef8462950a6d0001f53e3884fb6d831e1a36
e7729e83f4caa78586a57de7c651b8e705e73305
/app/flags/agents/flag_6.py
45cf12711db4e7a9ee386fa13e8ae664ea83a475
[]
no_license
dekoder/training
873674b985a0f2f8d0e3740f3b2004da2e0af02d
c7509ae9d13ba1ebbd127aeb4dadcaf88ffd9749
refs/heads/master
2023-01-01T01:00:56.709768
2020-10-29T19:51:19
2020-10-29T19:51:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
name = 'Contact points' challenge = 'Deploy a new agent, using a different contact point then your first agent' extra_info = """If an adversary deploys all of their agents on a host using the same protocol, say HTTP, then when their agent is detected and shut down, the defenders will likely close access to the C2 over ...
[ "davidhunt@mitre.org" ]
davidhunt@mitre.org
13eafdf4cca9a65dfa2e6bccb504ab6397013fb7
d5292505eb7b8b93eca743eb187a04ea58d6b6a3
/venv/Lib/site-packages/networkx/algorithms/operators/unary.py
71a6303f16c9db7a764e15fa906e9421b5937b55
[ "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
1,646
py
"""Unary operations on graphs""" # Copyright (C) 2004-2018 by # Aric Hagberg <hagberg@lanl.gov> # Dan Schult <dschult@colgate.edu> # Pieter Swart <swart@lanl.gov> # All rights reserved. # BSD license. import networkx as nx from networkx.utils import not_implemented_for __author__ = """\n""".join(['Ari...
[ "a.kovrigin0@gmail.com" ]
a.kovrigin0@gmail.com
3e53ef1658987ecc2bc55594ea180866af5b582c
7c8f6edd87cbee33cf998e9d2cc673fdcd39dd5a
/bots/Voodtwo/python/voodoo.py
149d114051c2baf9989c6c3621aadc1cea98e223
[]
no_license
tarehart/RLBotSpikeLeague
89ce96417d8e201dcfc2f67ed5c1c81c7941131b
311b3753e770cc642fdde87b6d4083db4072af88
refs/heads/master
2020-07-04T11:45:30.564487
2019-08-24T05:31:55
2019-08-24T05:31:55
202,278,639
0
3
null
2019-08-23T14:31:27
2019-08-14T05:09:20
Python
UTF-8
Python
false
false
823
py
from rlbot.agents.base_agent import BOT_CONFIG_AGENT_HEADER from rlbot.agents.executable_with_socket_agent import ExecutableWithSocketAgent from rlbot.parsing.custom_config import ConfigHeader, ConfigObject class Voodoo(ExecutableWithSocketAgent): def get_port(self) -> int: return 19231 def load_conf...
[ "tarehart@gmail.com" ]
tarehart@gmail.com
60a604d51abe28c15f4cbe9b135d530edf6eb603
f87d1ce970ed414f62b90d79d8cf5a38556da592
/repetory_api/migrations/0011_auto_20170609_1056.py
670d2d9ff2b9b11106c16fd09dc242ea35f2ab32
[]
no_license
zhangxu0307/repertory-rest
331d58009c15e014d1a5e39447219817d77b08d9
dc48a8e1e484254e1daa0712ffe66a52ec896ea7
refs/heads/master
2021-07-13T22:30:00.246833
2017-10-19T11:27:30
2017-10-19T11:27:30
107,536,946
0
0
null
null
null
null
UTF-8
Python
false
false
2,712
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-09 02:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('repetory_api', '0010_auto_20170609_1044'), ] operations = [ migrations.Remo...
[ "zhangxu0307@163.com" ]
zhangxu0307@163.com
c1a278d0c191ec9f7a09ffb015bef1cb08eebb82
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil3029.py
4d24e8f4ba438bbba1f8ddf9e36daac828244176
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,914
py
# qubit number=4 # total number=41 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(3) # number=19 prog...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
0a5a10fc5960abab4709c50c8d9d9a98632a00ae
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/alembic/versions/00036_11dbcd6e5ee3_.py
23c7b78690e2f34d72284e8b9134eea9c3b21604
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
1,392
py
"""empty message Revision ID: 11dbcd6e5ee3 Revises: 5aa994117f07 Create Date: 2017-09-28 04:06:18.968893 """ # revision identifiers, used by Alembic. revision = '11dbcd6e5ee3' down_revision = '5aa994117f07' branch_labels = None depends_on = None from alembic import op import sqlalchemy as sa from sqlalchemy_utils....
[ "something@fake-url.com" ]
something@fake-url.com
c5d385b41cade2187400881bf390d7ffe5eb5c55
bd867af5245366ee0abfd0f659fcb42170fff8ca
/hackerRank/algorithms/DiagonalDifference/diagonal_difference.py
954cf6bd5cfc0ee3735dcd2733472402344f7d21
[]
no_license
kruart/coding_challenges
04736a6b66da813fd973e7a57aa084bbdab31183
395ae60ab392e49bb5bc2f0a4eef1dfd232899bb
refs/heads/master
2021-06-16T08:51:21.815334
2019-11-07T08:39:13
2019-11-07T08:39:13
153,890,770
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# https://www.hackerrank.com/challenges/diagonal-difference/problem def diagonal_difference(arr): return abs(sum([arr[i][i] - arr[i][len(arr)-i-1] for i in range(len(arr))])) def main(): matrix1 = [ [1, 2, 3], [4, 5, 6], [9, 8, 9] ] matrix2 = [ [11, 2, 4], [4, 5...
[ "weoz@ukr.net" ]
weoz@ukr.net
a82c76f942927a67392aa0710e1f1969930ee6cf
bbf025a5f8596e5513bd723dc78aa36c46e2c51b
/dfs + tree/graph.py
66496a7005f463b2e1716261d4179eac0bb238f2
[]
no_license
AlanFermat/leetcode
6209bb5cf2d1b19e3fe7b619e1230f75bb0152ab
cacba4abaca9c4bad8e8d12526336115067dc6a0
refs/heads/master
2021-07-11T04:00:00.594820
2020-06-22T21:31:02
2020-06-22T21:31:02
142,341,558
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
class Graph: def __init__(self,mapping={}): ''' Constructs a new empty graph. ''' self.graph = mapping def nodes(self): ''' Returns a list of all nodes in the graph. ''' return self.graph.keys() def get_neighbors(self, node): ...
[ "zy19@rice.edu" ]
zy19@rice.edu
f2bfc11338590eec04ff10e1911a56f28c3461f0
e34cbf5fce48f661d08221c095750240dbd88caf
/python/day06/re_module.py
edd0ec1139439c775c119d49c71c7b07ae65d1f5
[]
no_license
willianflasky/growup
2f994b815b636e2582594375e90dbcb2aa37288e
1db031a901e25bbe13f2d0db767cd28c76ac47f5
refs/heads/master
2023-01-04T13:13:14.191504
2020-01-12T08:11:41
2020-01-12T08:11:41
48,899,304
2
0
null
2022-12-26T19:46:22
2016-01-02T05:04:39
C
UTF-8
Python
false
false
612
py
#!/usr/bin/env python # -*-coding:utf8-*- # __author__ = "willian" import re # 从头匹配,很少使用 re.match("\d+", "341221") # 匹配一次 re.search("\d+", "341221") # 匹配多次 re.findall("\d+", "341221") # 以逗号分割 re.split(",", "341,221") # 匹配到进行替换,默认是替代所有,count指定次数. re.sub("\d{4}", "1995", "1399,2017", count=1) # re.I (忽略大小写) # print(...
[ "284607860@qq.com" ]
284607860@qq.com
276f494e824843392c3efb25c438e23b280c6dbd
0754e2e7aa1ffb90b54d563ce5a9317e41cfebf9
/ml/m03_xor.py
2f5fac7cee0e1b1116a7a60ebc02f9efee5e76ae
[]
no_license
ChaeMyungSeock/Study
62dcf4b13696b1f483c816af576ea8883c57e531
6f726a6ecb43387e4a3b9d068a9c491b115c74c0
refs/heads/master
2023-01-24T20:59:52.053394
2020-12-07T14:54:34
2020-12-07T14:54:34
263,255,793
2
3
null
null
null
null
UTF-8
Python
false
false
538
py
from sklearn.svm import LinearSVC from sklearn.metrics import accuracy_score from sklearn import svm # 1. 데이터 x_data = [[0, 0], [1,0], [0,1], [1,1]] y_data = [0, 1, 1, 0] # 2. 모델 # 모델은 한줄.. 파라미터값으로 늘어남 model = LinearSVC() # 3. 훈련 model.fit(x_data, y_data) # 4. 평가 예측 x_test = [[0,0], [1,0], [0,1], [1,1...
[ "noreply@github.com" ]
ChaeMyungSeock.noreply@github.com
353fbe7250bf1beac4646624a021763b5c94b92a
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/Learn/PyCharm/Algorithmic Toolbox/Algorithmic Warm Up/Last Digit of the Sum of Fibonacci Numbers/last_digit_of_the_sum_of_fibonacci_numbers_unit_tests.py
bb3384e3158b2445f6adca669ed4c4fac09f64be
[ "LicenseRef-scancode-other-permissive" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:a6a99b9bfea384a8802695a7f6eafeab6ae6e1cd091ebf62c01e6e6c0ecac93e size 662
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
7c393120ee51e757a0b0c2bc246dc2a4c934dc23
08706df7e3712ebec7afd2d2f8f964ae9d485386
/server/patients/migrations/0016_attribute_resource.py
3c95316f5e9d660ee4b386204d0e49c148dcc89e
[]
no_license
nickdotreid/take-on-transplant
9129c9ab7c1206291fc1ca616c18c44cd7519587
bf901b987121093787383f3d3726f87dddf4d5fd
refs/heads/master
2023-08-27T06:14:54.521168
2021-11-02T21:41:04
2021-11-02T21:41:04
298,403,103
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
# Generated by Django 3.1.1 on 2020-11-24 02:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('resources', '0006_auto_20201120_1722'), ('patients', '0015_issue_posttransplantissue_pretransplantissue'), ] ...
[ "nickreid@nickreid.com" ]
nickreid@nickreid.com
0598cc55bb3cc9cd48235f6dee023526aede8599
a00ed711e3e08b50ad6e91cc07a2cddc4a1de5ea
/airflow/migrations/versions/0075_2_0_0_add_description_field_to_connection.py
4c3f5835dcbfdf9b443396cbcceb764f421fbf89
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ishiis/airflow
4305794e36b611d01f49e3f2401be3dc49782670
292440d54f4db84aaf0c5a98cf5fcf34303f2fa8
refs/heads/master
2022-07-30T00:51:28.806940
2022-07-14T12:07:11
2022-07-14T12:07:11
209,801,072
1
0
Apache-2.0
2019-09-20T13:47:26
2019-09-20T13:47:26
null
UTF-8
Python
false
false
2,008
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" ]
ishiis.noreply@github.com
c997ae3f2e974662ca89bdc82bccbd2658d4404b
73f7cc0e71bfd38d3bfe97367324f1e7a5d8b451
/engine_code/gapi/modules/proxy/cloud/parse.py
0e1d8a64f87ac9893d254692c67c63c5b528386c
[]
no_license
cash2one/my-test
ccc0ae860f936262a601c1b579d3c85196b562f9
8bd23f5963f4dc7398b7670e28768a3533bd5d14
refs/heads/master
2021-01-18T03:20:30.889045
2017-01-19T02:52:02
2017-01-19T02:52:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,357
py
#!/usr/bin/python # -*- coding=utf-8 -*- from xml.etree.ElementTree import ElementTree,Element def read_xml(in_path): '''读取并解析xml文件 in_path: xml路径 return: ElementTree''' tree = ElementTree() tree.parse(in_path) print tree.parse(in_path) return tree def write_xml(tree, out_path): ...
[ "zhizhi1908@yeahh.net" ]
zhizhi1908@yeahh.net
bfcfe9c39e88787a47af7b24c492c7cb2ba75116
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03150/s056018673.py
ba3699fc1ecf9d7f7a828e88f30db87b5e18b4da
[]
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
159
py
S = input() ans = "NO" for i in range(len(S)): for j in range(len(S)): if S[0:i] + S[i+j:len(S)] == "keyence": print("YES") exit() print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1edcceffcfbf8947bb55c85896d44b45eddc8739
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.HNS/Serif_16/pdf_to_json_test_Latn.HNS_Serif_16.py
14b2d82b21a61c2d50f3845e482493f91f58415d
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
305
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.HNS/Serif_16/udhr_Latn.HNS_Serif_16.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
ae5f27b58b42509c2fb6f82e2e426f521420b5dd
d87f6d9e769709def3efcf30230cd8bf6ac2cef7
/WWTest/autotest/config/xkz/youyanyace/globalconfig/globalConfig.py
e6cc20a18999b112dc5f12dade19633d8c3165fc
[]
no_license
wawj901124/centos8xitong
876dcc45b895871119404ad1899ca59ab5dd90b6
81fc0d1151e3172ceec2093b035d2cd921e1a433
refs/heads/master
2023-02-23T22:33:22.314433
2021-01-31T01:54:35
2021-01-31T01:54:35
290,476,399
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
class GlobalConfig(object): ISONLINE = False ONLINE_WEB_YUMING= "" ONLINE_LOGIN_ACCOUNT = "" ONLINE_LOGIN_PASSWORD = "" TEST_WEB_YUMING = "http://111.207.18.22:22044/" TEST_LOGIN_ACCOUNT = "admin" TEST_LOGIN_PASSWORD = "admin123A" COOKIE_FILE_NAME = "youyanyacelogincookie.json" gc = G...
[ "wawj900805" ]
wawj900805
8fad67f8ce8ce001bfb436e710258ff19d7ff81a
6849f09504c1b9e7e6b4bdc2a924f84ec98ec432
/webapp/manage.py
62c14e20c068799663d30d3c0e974d9a606680f0
[ "Apache-2.0" ]
permissive
likit/lab-instrument-booking-app
a1c9d16635b8cff3511901d5510560349e8e5911
c21b42342376dc54fdd11a7f87bc7609e6204020
refs/heads/master
2021-01-02T09:14:33.291562
2015-06-28T14:57:39
2015-06-28T14:57:39
37,254,301
0
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
#!/usr/bin/env python import os from app import create_app, mongo from flask.ext.script import Manager, Shell # from flask.ext.migrate import Migrate, MigrateCommand from werkzeug.security import generate_password_hash app = create_app(os.getenv('FLASK_CONFIG') or 'default') manager = Manager(app) # migrate = Migrate(...
[ "preeyano@msu.edu" ]
preeyano@msu.edu
3f3eebddf1980d557d39e2eef82f0f178cb64734
2990b0841b63f300a722107933c01c7237a7976b
/all_xuef/code/sicp_code_python/2.2/exer2_36.py
45876f0bdd6ff5e412e92460f44c40c00c5394aa
[]
no_license
xuefengCrown/Files_01_xuef
8ede04751689e0495e3691fc5d8682da4d382b4d
677329b0189149cb07e7ba934612ad2b3e38ae35
refs/heads/master
2021-05-15T04:34:49.936001
2019-01-23T11:50:54
2019-01-23T11:50:54
118,802,861
1
1
null
null
null
null
UTF-8
Python
false
false
802
py
""" exer2.36 accumulate_n ((1 2 3) (4 5 6) (7 8 9) (10 11 12))-->(22 26 30) """ import exer2_33 as funcs import accumulate as accu import operator as oper def accumulate_n(op, init, seqs): # 每个序列等长度,所以如果第一个处理完了,意味着都处理完了 if len(seqs[0])==0: return [] return funcs._append([accu.accumulate(op, ...
[ "643472092@qq.com" ]
643472092@qq.com
2f2897da3ab199c97a2904a7bc4488f42042c775
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/bwobsolete_helpers/PyGUI/FocusManager.py
d63a96b2d06f8769fe8fa7654f13ed3704920427
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,004
py
# 2017.05.04 15:20:45 Střední Evropa (letní čas) # Embedded file name: scripts/client/bwobsolete_helpers/PyGUI/FocusManager.py _focusedComponent = None def getFocusedComponent(): global _focusedComponent return _focusedComponent def setFocusedComponent(newFocus): global _focusedComponent if newFocus ...
[ "info@webium.sk" ]
info@webium.sk
77cc7c9dea37d25900a3ef81b6fe8e5c4ac325d8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02259/s333912873.py
70af1be9d0001017dd4c907d0d466616f478bb16
[]
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
439
py
def bubbles(N): count = 0 for i in range(len(N)): for j in range(len(N)-1, i, -1): if N[j] < N[j-1]: N[j], N[j-1] = N[j-1], N[j] count += 1 c = 1 for i in N: print(i, end='') if c < len(N): print(' ', end='') c +...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5dfd1f2fa0a20f7374881feaa573ca57dd325796
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_040/ch152_2020_04_13_20_50_06_154418.py
4e37d65e1c26223db4521858483a177d0b8585da
[]
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
230
py
def verifica_preco(x,y,z): dic1 = {} dic2 = {} for x, cor in y.items(): dic1[x] = cor for cor2, valor in z.items(): dic2[cor2] = valor if cor == cor2: return valor
[ "you@example.com" ]
you@example.com
b9169e937fabc228e29384360ef65944f5973688
1d87b6e7cd7879fefeaa8f475045de1cc1bc2bf5
/podder_task_foundation/logging/log_setting.py
db6d2ddd99e112b75acd67189097e92a65cda131
[]
no_license
nagisa-sakamoto/podder-task-foundation
2ecb24e07bbfcc1121661fb7d9e7005faf9093e0
8de453bf8f89d5ddcb8e82d394f73f3a8f715329
refs/heads/main
2022-12-30T01:10:23.051183
2020-10-20T08:13:55
2020-10-20T08:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
import logging import os from typing import Any, Dict from podder_task_foundation.config import Config class LogSetting: TASK_NAME_PATH = 'task_name.ini' DEFAULT_FORMAT = '[%(asctime)s.%(msecs)03d] %(levelname)s - %(message)s' DATE_FORMAT = '%Y-%m-%d %H:%M:%S' _log_setting = None def __init__(se...
[ "takaaki.mizuno@gmail.com" ]
takaaki.mizuno@gmail.com
a500d0d54970ec25831ee58b453f03daf5f02059
306baa2ad596e3962e427d587e7b0d4175a1e48e
/configs/ttfnetv3/ttfv3net_r34_0114_3l_128_48_s16twice_basicup_aug_10x.py
847551575ebcdb8c878b17ac7b992f8214941afd
[ "Apache-2.0" ]
permissive
mrsempress/mmdetection
9c7ed7ed0c9f1d6200f79a2ab14fc0c8fe32c18a
cb650560c97a2fe56a9b369a1abc8ec17e06583a
refs/heads/master
2022-04-24T04:34:30.959082
2020-04-26T07:52:23
2020-04-26T07:52:23
258,957,856
0
0
Apache-2.0
2020-04-26T06:33:32
2020-04-26T06:33:32
null
UTF-8
Python
false
false
4,154
py
# model settings model = dict( type='TTFNet', pretrained='modelzoo://resnet34', backbone=dict( type='ResNet', depth=34, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_eval=False, style='pytorch'), neck=None, bbox_head=dict( ...
[ "mrsempress98@gmail.com" ]
mrsempress98@gmail.com
424604fc081fe31949ac6a2ea5e3618af401701a
b6e34dec0831f43d442e89c64f521f77bb2438b2
/fbta/fbta_sequence.py
e2b01b7dfc4e19723ab1165e36d73b524e70cf67
[]
no_license
kandation/FBTAFast
a1a38e09d5964915d46492f84f8fa0fead43185c
505a2f232ef7ef9b6fc153357fb4eec5480cd92a
refs/heads/master
2022-12-31T02:43:09.339384
2020-04-22T19:13:54
2020-04-22T19:13:54
212,693,322
0
0
null
2020-04-22T19:13:56
2019-10-03T22:34:15
HTML
UTF-8
Python
false
false
4,209
py
import time from pprint import pprint from fbta_04_activity_to_card import FBTAActivityToCardsNew from fbta_05_cards_download_manager import FBTACardsDownloadManager from fbta_02_clusters import FBTAClusterInfo from fbta_06_photos_download_manager import FBTAPhotosDownloadManager from fbta_07_dataft import FBTADataft ...
[ "akkhaporn@gmail.com" ]
akkhaporn@gmail.com
c6b360f08562aaddf5900e08cd01d476537105f1
0edb94d9de7222d31ac8350a8cc330179f69ef60
/urls.py
5b7e936fb82222a7f0a25bc6333ac4cee7b25143
[]
no_license
ondrejsika/django-1.6-blank-project
0f503fd661ec38fd3a9977d2e8fb4772d1c6da80
51b59c0a3102d8601c0490d2ee0e3b65afee0b33
refs/heads/master
2016-09-11T00:06:38.522221
2015-04-12T18:54:28
2015-04-12T18:54:28
26,711,648
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'twistedexample.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), )
[ "ondrej@ondrejsika.com" ]
ondrej@ondrejsika.com
1db358528dfe7eb150bfcf52b137cce3df1bb254
027dd49b92ee92c8faa5ea05bce95d28efd2268d
/Documents/django/crudView/crudapp/migrations/0001_initial.py
03b4d87a72cb9fdab2c706d0b7c2ab583aa93a89
[]
no_license
arunkumar27-ank-tech/RestAPIcrud
0ac06a4f0b6cf3373eb76b815e3cd6c5748610d5
387c5fad78f4b72cfbbe47d06e79c1a15038ad69
refs/heads/master
2023-06-13T21:44:08.157685
2021-07-06T14:11:12
2021-07-06T14:11:12
383,477,411
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
# Generated by Django 3.1.5 on 2021-07-06 06:19 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Todo', fields=[ ('id', models.AutoField(aut...
[ "arunkumar834428@gmail.com" ]
arunkumar834428@gmail.com
0527bee5e87be348d59d9a2dceebb0b42f5a6ea2
c2be395eac600d0d853de03cd67070bd8391038f
/ofm_request_reverse_rd/__manifest__.py
39a1213f2bec2e986a4933fa317933ec0a2efee5
[]
no_license
amendoncabh/salary_emp
960cfdb4df48df70ab361886039c790840a5e8d2
2ac2dd9461271153cb2ee406bf70a29f614c25f1
refs/heads/master
2022-03-30T22:35:10.704092
2020-01-05T16:23:20
2020-01-05T16:23:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
# -*- coding: utf-8 -*- # © <YEAR(S)> <AUTHOR(S)> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Trinity Roots :: OFM Request Approve Reverse RD", "summary": "For updating related project modules", "version": "8.0.1.0.0", "category": "Uncategorized", "description": "...
[ "loveprakon@gmail.com" ]
loveprakon@gmail.com
2aa8324aee23f64603e3406c3de9441e9cb98c51
4b4544e5860bf2776ef578ba8e91dd34a9cf2b80
/nodejs/patches/pkgsrc/lang/nodejs/patches/patch-deps_cares_cares.gyp
ba1548a9de0c9d65a856346f95ff4d5904181d81
[ "CC0-1.0" ]
permissive
nabla-containers/rumprun-packages
1e00e5cf0b6995f1772e8dff6b20d7d064ac71cf
687c6dab278ff3dba68b914e1ed0511eb5525551
refs/heads/solo5
2021-07-08T10:42:24.436007
2019-02-21T22:39:36
2019-02-21T22:43:57
137,268,640
1
4
NOASSERTION
2019-02-20T02:29:18
2018-06-13T20:44:12
Makefile
UTF-8
Python
false
false
647
gyp
$NetBSD: patch-deps_cares_cares.gyp,v 1.1 2013/05/22 15:17:07 mspo Exp $ Add support for NetBSD. --- deps/cares/cares.gyp.orig 2013-03-14 10:55:24.000000000 +0900 +++ deps/cares/cares.gyp 2013-03-14 10:55:47.000000000 +0900 @@ -140,6 +140,10 @@ 'include_dirs': [ 'config/freebsd' ], 'sources': [ '...
[ "dahalls@gmail.com" ]
dahalls@gmail.com
def2133f683035964fdbf030fa9a9bec0085cb22
f1fcaf58e53792db786bf6ffb87f67b815ed600e
/Chapter8.py
4e1e60f78cbb1e010b37949f78d483331693bc96
[]
no_license
stephenosullivan/effective-python3
8e414d0aa64eb2a599ba661056809830b6e4a39f
c933b3f80021f9ba3d1f0ad608f563a106d89bd8
refs/heads/master
2021-01-13T07:39:56.418989
2015-10-04T01:27:26
2015-10-04T01:27:26
39,714,317
3
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
__author__ = 'stephenosullivan' class Item55: """ Use repr Strings for debugging output """ def __init__(self): a = "string" print(a) print(repr(a)) print(eval(repr(a))) print('%r' % a) a = Opaque(5,4) print(a) b = BetterClass(6,7) ...
[ "osullisg@gmail.com" ]
osullisg@gmail.com
4344b251328ece82d57f22c21563a169e723a2c2
f94e54d3085cd07a6f4972f2111574ad95fe4d89
/utils/iotools.py
406433fab0cdf5f54f662d8821bdadfae2017c15
[]
no_license
banskt/statsfpl
b4e67ca4ed09a8cdc927ec4cb4ad570d891ad395
b442208fa4d07e3a097445c75a4fd2f8098440ff
refs/heads/master
2021-06-30T01:54:05.461439
2020-09-07T09:41:04
2020-09-07T09:41:04
143,441,341
0
0
null
null
null
null
UTF-8
Python
false
false
2,469
py
import numpy as np import collections import csv from utils.containers import FixtureInfo def get_fixtures(filename, scores): fixtures = [{} for x in range(38)] with open(filename) as csvfile: instream = csv.reader(csvfile, delimiter = ',') for row in instream: team = row[0].strip(...
[ "bnrj.saikat@gmail.com" ]
bnrj.saikat@gmail.com
decc14ec6c9e00b0fbed6e000b45d1b1efb74fa2
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2335/60705/241811.py
ab11ecca95033a28315b69c996ee7f5b73163e7e
[]
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
215
py
x = int(input()) y = int(input()) count = 0 s = {x} while not s.__contains__(y): s2 = set() for i in s: s2.add(2*i) s2.add(i - 1) for j in s2: s.add(j) count += 1 print(count)
[ "1069583789@qq.com" ]
1069583789@qq.com
a30badd10e968213b68d1cab709d7f6258ff4478
921c29354a9065a4f76f816c2b2ec68457f66aef
/todo/tests/test_task.py
e4752471e00904681378c98b7d75e47dcc6c54c8
[]
no_license
AmrAnwar/ToDoList
520fa0529090183832dfd8c274fb3e7dad4d7a3b
de5e9e9887dee857e6169184aa9c7b74f31d32c4
refs/heads/master
2020-04-11T15:51:39.869491
2018-12-15T17:20:11
2018-12-15T17:20:11
161,905,711
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
from .test_init import InitTest class TestList(InitTest): def setUp(self): super(TestList, self).setUp() def test_get_task(self): res = self.client.get(self.task.get_absolute_url()) self.assertEqual(res.status_code, 404) self.client.login(username="anwar", password="password")...
[ "amranwar945@gmail.com" ]
amranwar945@gmail.com
8de9d49675be983416774ae4bf4609d2d1d95145
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/142/usersdata/227/62295/submittedfiles/av2_p3_civil.py
280c0440154f4d960bd1fc3ba353a60f8deb5e93
[]
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
633
py
# -*- coding: utf-8 -*- def media(a): soma = 0 for i in range(0,len(a),1): soma = soma + a[i] media = soma/len(a) return (media) #ESCREVA AS DEMAIS FUNÇÕES def somaA(x,y): mx=media(x) my=media(y) soma=0 for i in range(0,len(x),1): soma=soma+((x[i]-mx)*(y[i])-my) ret...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e7f4f24803a27a38a46f361243a674a5236a571a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03274/s010264861.py
c2235d0bdb18733aa448f6ca2a63b3cad841e71a
[]
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
463
py
import collections n,k = map(int, raw_input().split(' ')) xis = map(int, raw_input().split(' ')) ais = [xi for xi in xis if xi >= 0] bis = [-xi for xi in xis if xi < 0][::-1] m = ais[k -1] if k-1 < len(ais) else +float('inf') m = min(m, bis[k -1] if k-1 < len(bis) else +float('inf')) for i in range(len(ais)): if i +...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
75687bab192a3f68f275a053b3ee4aa69bc1955b
523fb785bda41e33546c929a5c2de6c93f98b434
/专题学习/树/BinaryTreePathDivideConquer.py
63bc4f925a2a8db053b249b643773310f578e34c
[]
no_license
lizhe960118/TowardOffer
afd2029f8f9a1e782fe56ca0ff1fa8fb37892d0e
a0608d34c6ed96c9071cc3b9bdf70c95cef8fcbd
refs/heads/master
2020-04-27T10:33:21.452707
2019-05-02T10:47:01
2019-05-02T10:47:01
174,259,297
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
""" Definition of TreeNode: """ class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None class Solution: """ @param root: the root of the binary tree @return: all root-to-leaf paths """ def binaryTreePaths(self, root): paths = [] ...
[ "2957308424@qq.com" ]
2957308424@qq.com
4eccb52479c5050a8cb64f03d50f62ec22ebf031
083d93a621f0fd411aabd9b1607e83aedd588d2c
/etg/propgridiface.py
847a0e054be21e3f253b5d29483057e83d7d49fc
[]
no_license
jns4u/Phoenix
0a8e5b50326d37048aa58d11023308517ace525b
478e192ccf0d75a04b78c6600963614d1039dd53
refs/heads/master
2021-01-09T06:20:02.546100
2017-02-05T03:33:00
2017-02-05T03:33:00
80,965,252
1
0
null
2017-02-05T03:10:08
2017-02-05T03:10:08
null
UTF-8
Python
false
false
2,648
py
#--------------------------------------------------------------------------- # Name: etg/propgridiface.py # Author: Robin Dunn # # Created: 23-Feb-2015 # Copyright: (c) 2015 by Total Control Software # License: wxWindows License #--------------------------------------------------------------------...
[ "robin@alldunn.com" ]
robin@alldunn.com
f613d66153900cdfab69753db317f2b3e2792278
64c8d431c751b1b7a7cb7224107ee40f67fbc982
/code/python/external/pi3d/constants/__init__.py
a0dfd912eed894eb189c79ca89c51473d892341d
[ "MIT" ]
permissive
silky/echomesh
6ac4755e4ff5ea3aa2b2b671c0979068c7605116
2fe5a00a79c215b4aca4083e5252fcdcbd0507aa
refs/heads/master
2021-01-12T20:26:59.294649
2013-11-16T23:29:05
2013-11-16T23:29:05
14,458,268
1
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
from __future__ import absolute_import, division, print_function, unicode_literals """ pi3d.constants contains constant values, mainly integers, from OpenGL ES 2.0. """ VERSION = '0.06' STARTUP_MESSAGE = """ Pi3D module - version %(version)s Copyright (c) Tim Skillman, 2012-2013 Copyright (c) Patrick Gaunt, ...
[ "tom@swirly.com" ]
tom@swirly.com
49acb7c799821f6f485dc8243c3203145bd9385f
c6db8eccba0f863e464fa23e7c8c5f27d6da277b
/CS/Programming_Languages/Python/Modules/exterior/topics/gui/dearPyGUI/tutorials/_3_item_usage/_3_3_configuration_state_info/configure_items.py
ea4e913f1183433230106f6806d466fcd30d277d
[]
no_license
corridda/Studies
ceabb94f48bd03a31e4414e9af841d6a9b007cf9
1aacf52f2762e05a416c9e73ebe20794cb5d21cf
refs/heads/master
2023-02-05T18:51:04.217528
2023-01-28T09:21:03
2023-01-28T09:21:03
216,492,726
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
import dearpygui.dearpygui as dpg dpg.create_context() with dpg.window(label="Tutorial"): # configuration set when button is created dpg.add_button(label="Apply", width=300) # user data and callback set any time after button has been created btn = dpg.add_button(label="Apply 2") dpg.set_item_labe...
[ "corridda@yandex.ru" ]
corridda@yandex.ru
2d2a0919eaf9d4900549e260e76a29a86aff5212
9f1b8a1ada57198e2a06d88ddcdc0eda0c683df7
/submission - lab9/set 2/VICTORIA ALEXANDRA ALERS_19376_assignsubmission_file_Lab9/VICTORIA ALEXANDRA ALERS_19376_assignsubmission_file_Lab9.py
23b6a370b40815a0efeb963db12ada5ea16a12bf
[]
no_license
sendurr/spring-grading
90dfdced6327ddfb5c311ae8f42ae1a582768b63
2cc280ee3e0fba02e95b6e9f45ad7e13bc7fad54
refs/heads/master
2020-04-15T17:42:10.781884
2016-08-29T20:38:17
2016-08-29T20:38:17
50,084,068
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
#1________________________________ from math import sin, exp class F: def __init__(self, a, w): self.a = a self.w = w def value(self, x): a = self.a w = self.w return exp(-a * w) * sin(w * x) from math import pi f = F(a=1.0, w=0.1) print (f.value(x=pi)) f.a = 2 print...
[ "sendurr@hotmail.com" ]
sendurr@hotmail.com
db65f69a9e0e554a65106f54ff445628c3458f7c
839d8d7ccfa54d046e22e31a2c6e86a520ee0fb5
/icore/high/thread/thread_queue.py
7e1d562ecf087f475cb24370b431819ad85ae3b5
[]
no_license
Erich6917/python_corepython
7b584dda737ef914780decca5dd401aa33328af5
0176c9be2684b838cf9613db40a45af213fa20d1
refs/heads/master
2023-02-11T12:46:31.789212
2021-01-05T06:21:24
2021-01-05T06:21:24
102,881,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
# -*- coding: utf-8 -*- # @Time : 2017/12/29 # @Author : LIYUAN134 # @File : thread_queue.py # @Commment: # # -*- coding: UTF-8 -*- import Queue import threading import time exitFlag = 0 class myThread(threading.Thread): def __init__(self, threadID, name, q): threading.Thread.__init...
[ "1065120559@qq.com" ]
1065120559@qq.com
d5cd69bc39db446dab3c1bfa0714fd10795d9b13
107941a50c3adc621563fe0254fd407ea38d752e
/spider_03.py
ff843e21ab654378dec18c1fae8d152647acbf11
[]
no_license
zhangliang852469/spider_
758a4820f8bd25ef6ad0edbd5a4efbaaa410ae08
718208c4d8e6752bbe8d66a209e6d7446c81d139
refs/heads/master
2020-04-05T07:12:03.790358
2018-11-08T07:17:22
2018-11-08T07:17:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- """节点交互 """ from selenium import webdriver import time # browser = webdriver.Chrome() # browser.get('https://www.taobao.com') # input = browser.find_element_by_id('q') # input.send_keys('iPhone') # time.sleep(1) # input.clear() # input.send_keys('iPad') # button = browser...
[ "710567585@qq.com" ]
710567585@qq.com
f46477242fa911d6e3c8332e24eb1cc7e38b0750
99d436394e47571160340c95d527ecadaae83541
/algorithms_questions/ch14_sorting/q26_2.py
1d3dbab643ddebf9f47062db3e7538e2d0eb1102
[]
no_license
LeeSeok-Jun/Algorithms
b47ba4de5580302e9e2399bcf85d245ebeb1b93d
0e8573bd03c50df3f89dd0ee9eed9cf8716ef8d8
refs/heads/main
2023-03-02T06:47:20.939235
2021-02-08T05:18:24
2021-02-08T05:18:24
299,840,348
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
""" 카드 정렬하기 - 3회차 """ # 풀이 제한 시간 : 30분 # 2021/01/21 14:57 ~ 15:15 # 실패 - 틀린 부분 주석 처리 import heapq n = int(input()) data = [] for _ in range(n): heapq.heappush(data, int(input())) """ sum_value = heapq.heappop(data) while data: now = heapq.heappop(data) sum_value += now heapq.heappush(data, sum_va...
[ "seok9376@gmail.com" ]
seok9376@gmail.com
84a44293453107c4c6dd00597d3f3f1c970b6484
de4e8e0f33dbd8bb39784907b420f05b2d62f65a
/test/test_sub_step_type.py
e57e83c7a9007b51213a5ff59a81bf9107ecdcc5
[ "BSD-3-Clause" ]
permissive
hpcc-systems/uptrends-python
489d7b513d1eeaf57569081363861010492a85e6
2e05ba851a4e65bde3c40514f499c475465bef90
refs/heads/master
2022-11-15T05:32:38.638456
2020-07-10T18:48:45
2020-07-10T18:48:45
256,216,110
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
# coding: utf-8 """ Uptrends API v4 This document describes Uptrends API version 4. This Swagger environment also lets you execute API methods directly. Please note that this is not a sandbox environment: these API methods operate directly on your actual Uptrends account. For more information, please visit ...
[ "SandCr01@risk.regn.net" ]
SandCr01@risk.regn.net
808df8fd000d1100b98a1532e9de2156af996c80
8ee9a85496208ed5f4331d437ec44cc17f7bce08
/FinalPractice/SemanticSegmentation/U_net/model.py
76320a94bd7d5507c70b0f20bc245ce78291b4fc
[]
no_license
Ollitros/ComputerVision
aa93527ef0172874a0034b61d1cae6c31f514734
b0ec5d9f94406b4f8164d0ef7180226156ea1194
refs/heads/master
2020-04-03T19:23:06.898807
2019-06-13T04:56:29
2019-06-13T04:56:29
155,521,472
3
0
null
null
null
null
UTF-8
Python
false
false
3,718
py
from tensorflow.keras.layers import Conv2D, MaxPool2D, UpSampling2D, \ Input, BatchNormalization, concatenate, Activation from tensorflow.keras.models import Model def model(): inputs = Input(shape=(128, 128, 3)) # 128 down1 = Conv2D(64, (3, 3), padding='same')(inputs) down1 = BatchNormalization...
[ "Ollitros@gmail.com" ]
Ollitros@gmail.com
6c137c6126c25690c337197affaf147d9e37e27b
e38f7b5d46fd8a65c15e49488fc075e5c62943c9
/pychron/processing/fits/interpolation_fit_selector.py
d87ba575e0cfa7ff8c9751b69ae6c15e42f3c200
[]
no_license
INGPAN/pychron
3e13f9d15667e62c347f5b40af366096ee41c051
8592f9fc722f037a61b0b783d587633e22f11f2f
refs/heads/master
2021-08-15T00:50:21.392117
2015-01-19T20:07:41
2015-01-19T20:07:41
111,054,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
#=============================================================================== # Copyright 2013 Jake Ross # # 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/license...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
46780ffe28ee6581b83e37f84a8955507f9583fc
80ae9b5cfb45b6e9cf7873ef7c46e17e117e4019
/data/HackerRank-Mathematics/Constructing a Number.py
c87d42e4fdaa23fd44e0b8922ae34ab56bbcd61e
[]
no_license
Ritvik19/CodeBook
ef7764d89b790e902ede5802f36d5ca910d8a50e
2b4ed7938bbf156553d6ba5cba6216449528f0fc
refs/heads/master
2021-07-04T08:25:52.478719
2020-08-08T06:54:14
2020-08-08T06:54:14
138,744,302
3
0
null
null
null
null
UTF-8
Python
false
false
435
py
#!/bin/python3 import math import os import random import re import sys def canConstruct(a): return "Yes" if sum(a) % 3 == 0 else "No" if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') t = int(input()) for t_itr in range(t): n = int(input()) a = list(map(int,...
[ "rastogiritvik99@gmail.com" ]
rastogiritvik99@gmail.com
4abb7fabbd57ff0a857464e0b5557d97d45f5452
7a9034fa0698e9b6481c5de35ffd91c96d7552e9
/personal_site/settings.py
744f94f86bf4b5ecbb9947fff3a52102ef65e017
[]
no_license
k4u5h4L/personal_site
0e3144b62d9be0e08cf803cc5378c75f40425735
807867332e9bca759e2de8a28eb1840d2dd6a451
refs/heads/main
2023-02-07T07:52:11.031056
2020-12-19T16:36:38
2020-12-19T16:36:38
322,577,924
0
0
null
null
null
null
UTF-8
Python
false
false
3,785
py
""" Django settings for personal_site project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from p...
[ "kaushal.v.bhat@gmail.com" ]
kaushal.v.bhat@gmail.com