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
c9f5fd15b9a9b8cdb9c8a4b0b6ccc98fe50bcce8
cb57a9ea4622b94207d12ea90eab9dd5b13e9e29
/lintcode/python/1848_word_search_III.py
149199ea7231ff1ff97f0ad45a00b43d6288f963
[]
no_license
boknowswiki/mytraning
b59585e1e255a7a47c2b28bf2e591aef4af2f09a
5e2f6ceacf5dec8260ce87e9a5f4e28e86ceba7a
refs/heads/master
2023-08-16T03:28:51.881848
2023-08-10T04:28:54
2023-08-10T04:28:54
124,834,433
1
0
null
null
null
null
UTF-8
Python
false
false
2,359
py
#!/usr/bin/python -t # dfs and trie class TrieNode: def __init__(self): self.is_word = False self.children = {} class Trie: def __init__(self): self.root = TrieNode() def insert(self, word): node = self.root for c in word: if c not in node.children: ...
[ "boknowswiki@gmail.com" ]
boknowswiki@gmail.com
43038f826388bb8ee48aa18f6fe9860f9eacbeed
5189b657618c4041041836e6697b69caa965229f
/Cal/migrations/0014_auto_20200903_2011.py
90fe06489e4f02acaf79bb66c87e8228b87e23a1
[]
no_license
MuellerBettina/ba2020_573561
b653a0c48569ebaecaaee6dd99c69d7e584514e8
41b6ba9f40c1fc63fa9dfdfba629c26f756abfa9
refs/heads/master
2023-04-06T16:12:03.229605
2020-09-10T16:26:12
2020-09-10T16:26:12
269,595,480
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
# Generated by Django 2.2.13 on 2020-09-03 18:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Cal', '0013_auto_20200903_2005'), ] operations = [ migrations.AlterField( model_name='event', name='color', ...
[ "BettinaMueller@pm.me" ]
BettinaMueller@pm.me
13178b2f08f5e68a39254805efd53209d68485b3
40fe0709a4d953334843bba9c140441c4a2cb92a
/01.essence_of_machine_learning/solver/lasso.py
86e36031d1ae4e746a0694a5c71d059f7360f414
[]
no_license
predora005/machine-learning-playground
534b21429860c1f1e813ceabaf6801bef07654c8
4471fc26abbe2148dbe71362e60bd932d45317d1
refs/heads/master
2023-07-06T12:30:41.405552
2021-08-09T11:01:01
2021-08-09T11:01:01
291,417,404
0
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
import numpy as np # x > 0のとき、0以上の値を返し、 # x < 0のとき、0以下の値を返す。 # y > |x|のとき、0を返す。 def soft_thresholding(x, y): return np.sign(x) * max(abs(x) - y, 0) class Lasso: # tol: トレランス(収束判定のための許容度) # max_iter: 最大繰り返し回数 def __init__(self, lambda_, tol=0.0001, max_iter=1000): self.lambda_ = lambda_ ...
[ "46834065+predora005@users.noreply.github.com" ]
46834065+predora005@users.noreply.github.com
81cdfe62ec0c56294ad99d89d70a0eebe708df6a
f344f0ac68f5bc5e7b45f630e334a3bd72793492
/Find_Using_Xpath/AbsoultePath_1.py
8979fbfb6adea54939ee28af90902dcc7c585f35
[]
no_license
Swethahiremath/seleniumpycham
dfa2138e7d951d28b128f2ca108f9d72c98e0a27
73402b0f273d6c9b2199aec084791e6adc9f2107
refs/heads/master
2020-09-28T12:48:39.501194
2019-12-09T04:05:51
2019-12-09T04:05:51
226,781,781
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from selenium import webdriver #from selenium.webdriver.common import by import time driver=webdriver.Chrome() driver.get("D://Pythonpractice//seleniumpycham//Find_Using_Xpath//Sametags.html") time.sleep(2) driver.find_element_by_xpath("/html/body/input[1]").send_keys("Swetha") driver.find_element_by_xpath("/html/body...
[ "swhirema@oradev.oraclecorp.com" ]
swhirema@oradev.oraclecorp.com
1d88eb28d39a5eb904af2d871d96cfde8dd398fc
6e61b7ce4357f888cd0d46239a830548e5d10f89
/Code/matthew/django/mainsite/todosajax2/models.py
5327797a5770a43e7fc7e55470efc5b77bebd993
[]
no_license
PdxCodeGuild/20170724-FullStack-Night
a42f612e686a906f312224dcd5d9c55cbcb4a81e
24a6c9db8d65cf254e1b5a5d55dd00711065c048
refs/heads/master
2021-01-01T17:39:32.970027
2017-12-04T22:26:24
2017-12-04T22:26:24
98,124,598
1
2
null
null
null
null
UTF-8
Python
false
false
304
py
from django.db import models class TodoItemAjax2(models.Model): text = models.CharField(max_length=200) date_entered = models.DateTimeField() date_completed = models.DateTimeField(null=True, blank=True) completed = models.BooleanField() def __str__(self): return self.text
[ "flux2341@gmail.com" ]
flux2341@gmail.com
c00628cbed4b81e526e9196eba2175c31db94f29
73b5d880fa06943c20ff0a9aee9d0c1d1eeebe10
/tinyos-1.x/contrib/handhelds/swtest/testSerialSetTime/shimmerUtil.py
73f96582e27f9c9bbcc24abdf1eee19d62ce3c19
[ "Intel" ]
permissive
x3ro/tinyos-legacy
101d19f9e639f5a9d59d3edd4ed04b1f53221e63
cdc0e7ba1cac505fcace33b974b2e0aca1ccc56a
refs/heads/master
2021-01-16T19:20:21.744228
2015-06-30T20:23:05
2015-06-30T20:23:05
38,358,728
0
1
null
null
null
null
UTF-8
Python
false
false
6,328
py
#! /usr/bin/env python # # $Id: shimmerUtil.py,v 1.1 2010/03/31 19:35:39 ayer1 Exp $ # # Copyright (c) 2007, Intel Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # Redistributions...
[ "lucas@x3ro.de" ]
lucas@x3ro.de
3e4cf72ed755b2b04a84022cf4b6418033e70306
6188f8ef474da80c9e407e8040de877273f6ce20
/python_modules/libraries/dagster-dbt/dagster_dbt_tests/utils.py
37d8685c1dd6049f458123ac1915b44cef5a0a9e
[ "Apache-2.0" ]
permissive
iKintosh/dagster
99f2a1211de1f3b52f8bcf895dafaf832b999de2
932a5ba35263deb7d223750f211c2ddfa71e6f48
refs/heads/master
2023-01-24T15:58:28.497042
2023-01-20T21:51:35
2023-01-20T21:51:35
276,410,978
1
0
Apache-2.0
2020-07-01T15:19:47
2020-07-01T15:13:56
null
UTF-8
Python
false
false
1,981
py
from dagster import AssetKey, FreshnessPolicy def assert_assets_match_project(dbt_assets, prefix=None, has_non_argument_deps=False): if prefix is None: prefix = [] elif isinstance(prefix, str): prefix = [prefix] assert len(dbt_assets) == 1 assets_op = dbt_assets[0].op assert asset...
[ "noreply@github.com" ]
iKintosh.noreply@github.com
966830d2626eae8f003f7ecad3576315a31fc482
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02660/s286982540.py
a63b3a07b27f047b28a6c166fdc40fd5eb93d4e1
[]
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
474
py
N = int(input()) n = min(N, 10**6) is_Prime = [True] * (n + 1) is_Prime[0] = False is_Prime[1] = False for i in range(2, int(n**(1/2)+1)): for j in range(2*i, n+1, i): if j % i == 0: is_Prime[j] = False P = [i for i in range(n+1) if is_Prime[i]] count = 0 for p in P: count_p = 0 while N...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
58ce42d08016b4b5fd23b5ef186e83d4c7337495
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/7_graph/drawGraph.py
cf673d6f383bc56468410ab80d4a6b6aa8be01cd
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
1,047
py
from typing import List, Tuple import matplotlib.pyplot as plt import networkx as nx def drawGraph(edges: List[Tuple[int, int, int]], isDirected: bool) -> None: graph = nx.DiGraph() if isDirected else nx.Graph() for u, v, w in edges: graph.add_edge(u, v, weight=w) edgeLabels = {(u, v): w[...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
084ae2115cbf8d9cb55bb234da2e93775196f499
9b74d7c6f8ef10f1b9dcee006769a5235d24479f
/python/mesh_004_cube_normalmap/cube_normalmap.py
e39144fefec2e930ac92e0611d1e856dd440a600
[]
no_license
jackhub/graphics-snippets
0a2d44ca7b116a96c379377655c6c68ea5fbe0b0
205fe3fd6dfd5a5bc223b297f7d47f2d0765bf07
refs/heads/master
2023-02-05T06:16:57.073125
2020-12-28T10:44:18
2020-12-28T10:44:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,803
py
import os import sys currentWDir = os.getcwd() print( 'current working directory: {}'.format( str(currentWDir) ) ) fileDir = os.path.dirname(os.path.abspath(__file__)) # det the directory of this file print( 'current location of self: {}'.format( str(fileDir) ) ) parentDir = os.path.abspath(os.path.join(fileDir, os.par...
[ "Gernot.Steinegger@gmail.com" ]
Gernot.Steinegger@gmail.com
556f59586d1b29270d108a7ddf2843e3d57cb3d6
78d949674cd1e6261ee23372e6ff24897ba6bc9a
/mobileplan/urls.py
e72da3efdcad4c3320b0ba298ec0b64dde7ccaea
[]
no_license
Aravindhan-M/first_project
60377a65dec777ce6a55a57358dccb96ef6c396d
68f5815aa7a7d7fa695bb753b5312f66bb201fe1
refs/heads/master
2022-12-14T11:23:56.782700
2019-08-09T09:53:17
2019-08-09T09:53:17
185,782,547
2
0
null
2022-12-08T01:45:24
2019-05-09T11:02:59
Python
UTF-8
Python
false
false
228
py
from django.urls import path from .views import MobilePlanView,MobilePlanHome urlpatterns = [ path('', MobilePlanHome.as_view(), name='mobileplans'), path('<slug:slug>', MobilePlanView.as_view(),name="mobile" ), ]
[ "aravindhan@sayonetech.com" ]
aravindhan@sayonetech.com
f9dd79183bbf6440659cb45eaf920cbb38418d6b
e5a044708032b853f1cdf8906da63502716fd410
/test/test_score_only_request.py
513026b3e84ca0882f5b58233c873eafcc2d7014
[]
no_license
GBSEcom/Python
4b93bab80476051fc99f379f018ac9fa109a8a6a
5fa37dba8d0c3853686fdc726f863743376060c9
refs/heads/master
2021-12-04T12:55:29.605843
2021-11-19T22:01:03
2021-11-19T22:01:03
136,058,345
1
2
null
null
null
null
UTF-8
Python
false
false
1,106
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
fa7582e18e06bf75063cb5b7037921ae699a196e
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2894/60799/238324.py
1ad9b66853d7d3d2fe7b359cf25b416a3c494e40
[]
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
178
py
VK = input().strip() n = VK.count('VK') VK = VK.replace('VK', '') for i in range(len(VK)-1): if VK[i:i+1] != 'V' and VK[i+1:i+2] == 'K': n += 1 break print(n)
[ "1069583789@qq.com" ]
1069583789@qq.com
3c07e976aa0e39a36f970b5066ae21a7deae3652
34a26b713021f15d94d416b9728bac50d283ed5f
/interno_pymedigital-9.0/l10n_ec_hr_payroll_payment/models/hr_payslip.py
566fcb8377a3960d24e74f65e12d6f2d8d4a8900
[]
no_license
Brahim820/odoo-1
7641b2a0ef411fb3b82f806a11e88b9880875a46
d8ee18a7dc467ff250113a0a3df3fcf1e876b321
refs/heads/master
2020-04-07T10:58:09.517097
2018-11-19T16:56:45
2018-11-19T16:56:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,893
py
# -*- coding: utf-8 -*- from openerp import _, api, fields, models class HrPayslipRun(models.Model): _inherit = 'hr.payslip.run' payment_ids = fields.One2many('account.payment', 'payroll_slip_run_id', string=_('Payments')) state = fields.Selection(selection_add=[('paid', _('Paid'))]) class HrPayslip(m...
[ "ceduardodch@gmail.com" ]
ceduardodch@gmail.com
d13bd625ab33233e3ab580df5ea7e6c488584a91
52b5773617a1b972a905de4d692540d26ff74926
/.history/selectionSort_20200731124859.py
a2f6c060f7c7c6452ae250554bcf149350ec023d
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# sort them in increasing order # search through the list # unsorted list # first item min value = first item # find a min value re assign # search for smallest item # move to first position # def selection(arr): for i in range(len(arr)): minValue = arr[i] for j in range(i+1,len(arr)): ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
a24e88a17ec4e7bf03a6f82fc840afb446193d89
35db0a5eed7629e1d88efcb813908bb8ee934712
/glassdoor_top_ceo.py
8cabc6480988ced310b17bf36f039b48cabafe40
[]
no_license
ZhouningMan/data_scrapper
2aadd60dc4a6e594387d105b3d4edfdf93ff2563
c2ec72207fc5bc78e4183f9d94ff303e8758a8e5
refs/heads/master
2022-12-10T04:50:37.633571
2018-08-05T16:18:08
2018-08-05T16:18:08
134,154,343
0
0
null
null
null
null
UTF-8
Python
false
false
2,849
py
import requests import json from bs4 import BeautifulSoup import os import lib.data_model as data_model def processTopCeos(): ceoData = retrieveCeoHtmls() topCeos = [] for yearlyData in ceoData: yearlyTopCeos = {} yearlyTopCeos["size"] = yearlyData["size"] yearlyTopCeos["year"] = ye...
[ "linfenglee321@gmail.com" ]
linfenglee321@gmail.com
95eaaaeb680ded7248310cff2f7dc48e77ce1ee5
8b11fb374dca3b0515dc804aae66921201653a19
/longest_sub_seq.py
0fe8193e7e13f775242ff3b4a3e3e6fa6e77d926
[ "Giftware" ]
permissive
nptit/python-snippets
670b8d672e2ad3a6de264f21187bb497a7b0779b
b1eab44b50765e1710529747fd07a5ce320dd860
refs/heads/master
2021-01-25T11:27:32.989352
2016-04-26T17:28:22
2016-04-26T17:28:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
''' Programming Interview: Longest Increasing Sub-sequence (Dynamic Programming) ''' def longest_sub_seq(L): # S[i] = S[i-1]+1 if L[i] > L[i] else S[i-1] S = [1] * len(L) for i in xrange(1,len(L)): S[i] = max(S[:i]) + 1 if L[i] > L[i - 1] else 1 return max(S) def longest_consecutive_sub_seq(L): # continous inc...
[ "qpxu007@gmail.com" ]
qpxu007@gmail.com
a9af7bc3dac9466ceb5b7a798e428c880244044f
204c5937cdea475f5c3dafde6d770a74ae9b8919
/leetcode/113.py
800fc42cb12d906be9ec11740efa7d10b685992c
[]
no_license
mlz000/Algorithms
ad2c35e4441bcbdad61203489888b83627024b7e
495eb701d4ec6b317816786ad5b38681fbea1001
refs/heads/master
2023-01-04T03:50:02.673937
2023-01-02T22:46:20
2023-01-02T22:46:20
101,135,823
7
1
null
null
null
null
UTF-8
Python
false
false
410
py
class Solution(object): def pathSum(self, root, sum): if not root: return [] if root.left == None and root.right == None: if sum == root.val: return [[sum]] else: return [] a = self.pathSum(root.left, sum - root.val) + se...
[ "njumlz@gmail.com" ]
njumlz@gmail.com
186c7fb564ee951ee7f682b1fd3b7f5d8f504657
b32d21f595ede7b2870a58cd6bd3d138ba4fbfdb
/control/test/simple_action_server.py
ffd2755c4c630e762ef649f92998791d90b70c52
[]
no_license
GantryBot/GantryBot-core
69f6439db705888205fa0b1c9b834dc6518cbe9c
18de00c3743022d598cf6882b448dd725a9a7cd9
refs/heads/master
2021-01-10T17:24:59.370761
2016-08-22T07:24:56
2016-08-22T07:24:56
51,153,195
1
3
null
2016-04-20T17:00:48
2016-02-05T15:03:34
null
UTF-8
Python
false
false
1,890
py
#!/usr/bin/env python import rospy, actionlib from control_msgs.msg import FollowJointTrajectoryAction from trajectory_msgs.msg import JointTrajectory from diagnostic_msgs.msg import * class FollowController(): """ A controller for joint chains, exposing a FollowJointTrajectory action. """ def __init__(self...
[ "prrraveen@gmail.com" ]
prrraveen@gmail.com
4d7b351077bccb114868b31cfb8f31fda8ca6c94
d43556fc74be85ba50f057cc02cd3d2be2b7329b
/Sherbrooke_numpy_seminar_2014/course/script.py
6fdd310858bb3f76057f50ce06be225cd873734d
[]
no_license
Garyfallidis/meta_didaktoriko
3cbb2c7979d910c4d80f6f537bfbe9fa481c575d
b78922e0977b615655f131c29f3e4ada4c42991e
refs/heads/master
2020-05-19T12:20:27.427152
2015-11-12T18:05:58
2015-11-12T18:05:58
9,013,230
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
import numpy as np def f2(a, b): f1(a) @profile def f1(a): a = np.array([1, 0, 1]) t = 1 def plot_test_pylab(): plot(np.arange(12)) def plot_test_pyplot(): import matplotlib.pyplot as plt plt.plot(np.arange(12)) if __name__ == '__main__': a = 2 print(a) f2(a, 2) #...
[ "garyfallidis@gmail.com" ]
garyfallidis@gmail.com
eaeb64f8180231b5a88fd731083c8e22ed91820d
4584508523dd1e4a6e693509d2bbe4443c08f841
/trinket/code.py
bd9c3bc0914092a667d80d794b9c3714ac77a4be
[ "CC-BY-4.0" ]
permissive
jadudm/zoom-controller
9da21da5ccff02598b74015c8e4c4740fc66f5ae
07e1569de36ba705e2773ee48181f770c5142764
refs/heads/main
2023-02-04T15:25:13.575029
2020-12-24T21:01:15
2020-12-24T21:01:15
324,199,959
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
import board import digitalio import touchio import time import usb_hid from adafruit_hid.keyboard import Keyboard from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS from adafruit_hid.keycode import Keycode AUDIO = 0 VIDEO = 1 def cmd(opt): if opt == AUDIO: keyboard.press(Keycode.COMMAND, Keycode.SHIFT...
[ "matt@jadud.com" ]
matt@jadud.com
c1cfd0995b3099e82ca6c5ed69d4efed592d1cfb
ba58e12b64fd570a1bb573ce8a4de0373d6ef680
/utils.py
b2b177803f7bd93cdc83e6f91a238cf3b9a52941
[]
no_license
mengke88/ihrm_departement
b5b8d25931fdcd9f4ff125fcb1fa20efc79dcf9e
4dee8d8bd563daba20a8a2d491af3543cf136a9c
refs/heads/master
2022-10-20T16:21:22.125492
2020-06-13T02:16:37
2020-06-13T02:16:37
265,486,660
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
""" 工具类文件,用于对一些文件数据的读取,设置断言方法 """ import json # 设置通用断言方法 def assert_test(httpcode, success, code, message, response, self): self.assertEqual(httpcode, response.status_code) self.assertEqual(success, response.json().get("success")) self.assertEqual(code, response.json().get("code")) self.assertIn(me...
[ "email@example.com" ]
email@example.com
e223daedead4447156349e0c4a4dbdafec1e91dc
a4deea660ea0616f3b5ee0b8bded03373c5bbfa2
/concrete_instances/register-variants/pmovzxwq_xmm_xmm/instructions/pmovzxwq_xmm_xmm/pmovzxwq_xmm_xmm.gen.vex.py
43f8fb76b359b4de1be3146d8380440e7dd9d25e
[]
no_license
Vsevolod-Livinskij/x86-64-instruction-summary
4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd
c276edab1b19e3929efb3ebe7514489f66087764
refs/heads/master
2022-02-02T18:11:07.818345
2019-01-25T17:19:21
2019-01-25T17:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
import angr proj = angr.Project('./instructions/pmovzxwq_xmm_xmm/pmovzxwq_xmm_xmm.o') print proj.arch print proj.entry print proj.filename irsb = proj.factory.block(proj.entry).vex irsb.pp()
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
bd1131ad1f9222987ae7f329be89211b018b5d79
b898b840422a679bdb68cc987a11320740f9208f
/hotel/urls.py
d0e7b8fe09d72dbc2aa9dba58520be82e579a216
[]
no_license
aakashres/hotelpashupati
57710f67f89b9776a0c7e9629c31afbc2b3b2485
9633de7d7ebaa689aa541707acc4d9b8a9c4f9be
refs/heads/master
2023-06-18T06:00:29.716783
2021-07-23T16:51:50
2021-07-23T16:51:50
347,289,305
0
0
null
null
null
null
UTF-8
Python
false
false
2,606
py
"""XXX_PROJECT_NAME_XXX URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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'...
[ "aakash.shres@gmail.com" ]
aakash.shres@gmail.com
33635deeab02ccbd30684652f7573ca1f34e082f
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/oscar/a/api/yang/modules/tech/content/qwilt_tech_content_line/tech/content/line/analyzer/unit/system_defaults/logging/conditional/conditional_data_gen.py
61dba9e27af91c51592e9ef916581f031c23a5f4
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,448
py
# Copyright Qwilt, 2011 # # The code contained in this file may not be used by any other entities without explicit written permission from Qwilt. # # Author: orens from a.infra.misc.enum_with_value import EnumWithValue from a.infra.basic.return_codes import ReturnCodes import socket class ConditionalData(obje...
[ "afeset@gmail.com" ]
afeset@gmail.com
450c7b1795fa403f90e8c2789f87c2fb22055cfa
936c893f29a7e3c99450b49512d5ad6dd7e63d12
/api/migrations/0054_auto_20180405_0915.py
030c8ee26942020478a751310d1505ea3fa557fd
[]
no_license
pavithra994/cormack_dev
0d3f5f794173013f3219c786b83779df2f2ae344
78927eaeea27320908b117aa50380ddacd6e2662
refs/heads/master
2023-04-09T22:34:33.746134
2021-04-13T20:12:08
2021-04-13T20:12:08
357,628,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
# -*- coding: utf-8 -*- # # Copyright (C) 2019 Ocom Software- All Rights Reserved # Unauthorized copying of this file, via any medium is strictly prohibited # Proprietary and confidential # Written by Ocom Software <licence@ocom.com.au, 2019 # # # Generated by Django 1.10.7 on 2018-04-04 23:15 from __future__ imp...
[ "scott.hooper@hordernit.com.au" ]
scott.hooper@hordernit.com.au
54408673200341ee7a2b184727977b7f5e2025e1
afa941797e0efe3f7963b1c7c0edbcb7855d4e4d
/src/twitterlize/test/suite/test_datastore/test_mongo.py
dca657852ed4924a52831514f957cabc3c38b396
[]
no_license
paolo2299/twitterlize
92722c7c90dccaa44e6c384bb2d8eaa7c9ab4180
ba4289c66248f8ba4e379a36163e03578fac4779
refs/heads/master
2016-09-09T18:56:30.359969
2013-09-23T22:11:33
2013-09-23T22:11:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,037
py
from twitterlize.test.framework import fixture from twitterlize.test.framework.mongo import Mongo from twitterlize.test.framework.redis import Redis from twitterlize.test.framework.memcache import Memcache from twitterlize.datastore.mongo.store import MongoStore from twitterlize.cache import CacheType from twitterlize....
[ "=" ]
=
63aa7e140b4aff14b030a5febe844648f6d2794b
8e90afd3f0dc945d9ebd6099a60094807c0067cf
/Kangho/pro_kakako_recommend_new_id.py
46458fb1981a18da910ffa69d3d97c112f906b7f
[]
no_license
Deserve82/KK_Algorithm_Study
ffa109e02f1c9297597c9e07c7c3006628046740
d3ec01b66d6e3852b7d68adaa8ba87c7e9617e24
refs/heads/master
2021-11-10T00:23:30.711422
2021-10-23T02:37:04
2021-10-23T02:37:04
231,358,800
0
1
null
null
null
null
UTF-8
Python
false
false
895
py
def solution(new_id): valid = 'abcdefghijklmnopqrstuvwxyz.-_0123456789' answer = '' # 1 new_id = new_id.lower() # 2 tmp = '' for char in new_id: if char in valid: tmp += char new_id = tmp point_cnt = 0 tmp = '' for char in new_id: if char == '.':...
[ "noreply@github.com" ]
Deserve82.noreply@github.com
d70d80bcc657f3528dca2c7e4fbebe405c159270
46f53e9a564192eed2f40dc927af6448f8608d13
/testing/legion/examples/subprocess/subprocess_test.py
1a28ddd5dabdc536568bf50f4348294dbea14835
[ "BSD-3-Clause" ]
permissive
sgraham/nope
deb2d106a090d71ae882ac1e32e7c371f42eaca9
f974e0c234388a330aab71a3e5bbf33c4dcfc33c
refs/heads/master
2022-12-21T01:44:15.776329
2015-03-23T17:25:47
2015-03-23T17:25:47
32,344,868
2
2
null
null
null
null
UTF-8
Python
false
false
2,680
py
#!/usr/bin/env python # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """A host test module demonstrating interacting with remote subprocesses.""" # Map the legion directory so we can import the host cont...
[ "scottmg@chromium.org" ]
scottmg@chromium.org
da918a74b8831a507dc0f12151b0bd86579915cd
cf0d8d989da051a81afc60d9f4986c50c1462fb7
/python高级/12协程和异步IO/t04_gen_close.py
56e549924d94e459a67ee73e4095e660af9a4d03
[]
no_license
pankypan/PythonNotes
6a8da81a0e79f8bdc757f8493985321ef7873b44
48660b00b3b65cca409e61d34c32a024702d5a6e
refs/heads/master
2023-04-29T01:51:12.930856
2021-05-13T00:43:33
2021-05-13T00:43:33
274,271,807
1
0
null
null
null
null
UTF-8
Python
false
false
470
py
def gen_func(): # 1. 可以产出值, 2. 可以接收值(调用方传递进来的值) try: yield "http://projectsedu.com" except BaseException: pass yield 2 yield 3 return "bobby" if __name__ == "__main__": gen = gen_func() print(next(gen)) # GeneratorExit 是继承自BaseException, Exception gen.close() #...
[ "1356523334@qq.com" ]
1356523334@qq.com
9fef076dcf01f2aeb6c97f50b6c0cd62edb60c02
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/day10/已经封装好的协程.py
8bb7b144441e405748d37845c7415e9645cbcbf1
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
607
py
# -*- coding:utf-8 -*- # Author:caiqinxiong # -*- coding:utf-8 -*- # greenlet是一个用C实现的协程模块,相比与python自带的yield,它可以使你在任意函数之间随意切换,而不需把这个函数先声明为generator # 感觉确实用着比generator还简单了呢,但好像还没有解决一个问题,就是遇到IO操作,自动切换,对不对? from greenlet import greenlet def test1(): print(12) gr2.switch() print(34) gr2.switch() def test2...
[ "13269469526@163.com" ]
13269469526@163.com
125ba86a512776ecbab6c4b7f7eb3cec513d4d6e
5fafb42edb412eb94b207a97f9a87c6fd813a86b
/03_Sets/Set .discard(), .remove() & .pop().py
e555c95f1c95b9a1ea1f4e5a8c8c6ccd001b7baa
[]
no_license
JSerwatka/HackerRank_Python
c923157472ab7ed0b6869025bffc5ceaa75e7ad2
4e306b1b073949ad478a04726d75826fa3c83de1
refs/heads/master
2023-02-15T15:23:54.938169
2021-01-05T12:52:07
2021-01-05T12:52:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
n = int(input()) s = set(map(int, input().split())) m = int(input()) for _ in range(m): command = list(input().split()) if len(command) > 1: eval("s." + command[0] + "(" + command[1] + ")") else: eval("s." + command[0] + "()") print(sum(s)) ''' for i in range(int(input())): eval('s.{0...
[ "kubaserw@gmail.com" ]
kubaserw@gmail.com
c80cc40d012f2fc75f87e01742e26fc6dc82913c
83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1
/v8_7_5/tools/testrunner/local/testsuite_unittest.py
1cca79c2051eff99eb53513af27e89bd7fee90db
[ "Apache-2.0", "bzip2-1.0.6", "BSD-3-Clause", "SunPro" ]
permissive
cool2528/miniblink49
d909e39012f2c5d8ab658dc2a8b314ad0050d8ea
7f646289d8074f098cf1244adc87b95e34ab87a8
refs/heads/master
2020-06-05T03:18:43.211372
2019-06-01T08:57:37
2019-06-01T08:59:56
192,294,645
2
0
Apache-2.0
2019-06-17T07:16:28
2019-06-17T07:16:27
null
UTF-8
Python
false
false
2,671
py
#!/usr/bin/env python # Copyright 2016 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import itertools import os import sys import tempfile import unittest # Needed because the test runner contains relative imports. TO...
[ "22249030@qq.com" ]
22249030@qq.com
0a8ad60b34b5e9a6532aae99f906107db002019b
9b1eda0abdc5dea7c6e9695ff4e1098abe0a708b
/tests/test_loop.py
87ef97da76de330949a9aeb57450124321ac9cae
[ "MIT" ]
permissive
Textualize/textual
b8cf4b5d18069fccc7623b3116436f479e1ef446
b74ac1e47fdd16133ca567390c99ea19de278c5a
refs/heads/main
2023-08-30T21:40:21.563823
2023-08-30T10:18:27
2023-08-30T10:18:27
355,959,597
14,818
588
MIT
2023-09-14T20:22:02
2021-04-08T15:24:47
Python
UTF-8
Python
false
false
1,058
py
from textual._loop import loop_first, loop_first_last, loop_last def test_loop_first(): assert list(loop_first([])) == [] iterable = loop_first(["apples", "oranges", "pears", "lemons"]) assert next(iterable) == (True, "apples") assert next(iterable) == (False, "oranges") assert next(iterable) == (...
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
a5872fdd7c53e8a459c1f6210809d1315d4e284b
99293731f817bbae9ebf1f20354ebbca965f6c56
/my_project/settings.py
1d962e2cbbf54f9add0c2052b3e5b339fc126827
[]
no_license
AwesomeZaidi/Login-PAY
a6fd802a1a8fc8946a754f88e339c5e13091729d
5ee103625571ffa5b94c1f18f792c2f767ed0080
refs/heads/master
2020-06-14T23:19:42.772860
2019-07-04T05:49:30
2019-07-04T05:49:30
195,153,038
0
0
null
null
null
null
UTF-8
Python
false
false
3,401
py
""" Django settings for my_project project. Generated by 'django-admin startproject' using Django 2.1.3. 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...
[ "asimzaidih@gmail.com" ]
asimzaidih@gmail.com
bdb0d65068cb450c2cdb2ff366859f3ea6877628
a3972cb6ba32abd18b374975f4abd5318bc95f09
/project/src/config/settings/dev_ssr.py
a100383d7f118eca4f0201bd937e33c18eb9c71e
[]
no_license
ssr03/MiniDelivery
c57bb45e497cab34787473925663ace46dbb6b2d
659d9757d1f369a6713aa5a66bab2aa5d6381b8e
refs/heads/master
2020-07-30T15:05:01.401229
2019-09-23T11:52:51
2019-09-23T11:52:51
210,267,973
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
from django.urls import reverse_lazy from .base import * from .utils import get_env_var DEBUG = True INSTALLED_APPS += [ 'debug_toolbar', 'django_extensions', ] MIDDLEWARE += [ 'debug_toolbar.middleware.DebugToolbarMiddleware', ] INTERNAL_IPS = ('127.0.0.1',) SECRET_KEY = get_env_var("SECRET_KEY") DA...
[ "43363127+ssr03@users.noreply.github.com" ]
43363127+ssr03@users.noreply.github.com
97c522377c629e53f8a779ed02b7c6dceb22414e
b8fa6e0a088c371b7dc69001d2ac745c960601ca
/Exercicios/secao07_colecoes_python_parte1/exercicio18.py
0b1216a53b88a5546945bb2a16c99a301aae591a
[]
no_license
DanielMalheiros/geekuniversity_programacao_em_python_essencial
45fb5265c8e0a4e8d435f8341f2b2eb23cfd3f73
0e4590defb2510ef71f4ce7039c29873f87d399f
refs/heads/master
2020-08-05T20:05:04.765817
2019-10-09T01:20:35
2019-10-09T01:20:35
212,689,293
1
0
null
null
null
null
UTF-8
Python
false
false
465
py
"""18- Faça um programa que leia um vetor de 10 números. Leia um número X. Conte os múltiplos de um número inteiro X no vetor e mostre-os na tela.""" indice = 0 vetor = [] while indice < 10: valor = int(input(f"Digite um número para o vetor ({indice+1}/10): ")) vetor.append(valor) indice += 1 x = int(inp...
[ "d.o.malheiros@gmail.com" ]
d.o.malheiros@gmail.com
c93b8ccf69ed5af376fc2c4c52ee12d733047f23
bb598592744413b1500b85853a990cbc3bde7d1b
/random_demos/subprocess_run.py
2f2bbb749392808379dfd78aad45cdbc3c206e5f
[ "MIT" ]
permissive
t4d-classes/advanced-python_11012021
dabe784a81f4c45c85575aef4c7b9aeb054024f6
a365382c6d8f06ae13fa54719935dcb229a35053
refs/heads/main
2023-08-30T10:25:04.345819
2021-11-06T00:05:58
2021-11-06T00:05:58
423,454,737
1
1
null
null
null
null
UTF-8
Python
false
false
252
py
import subprocess result = subprocess.run("where chkdsk.exe") print(f"result: {result}") print(f"return code: {result.returncode}") result = subprocess.run("where chkdsk12.exe") print(f"result: {result}") print(f"return code: {result.returncode}")
[ "eric@t4d.io" ]
eric@t4d.io
b0ff080615e84ef9b06715e9d1a2009f8541e6c1
5cba661aa6b835d24edf09d9fc0e9a44ec252336
/backend/drams/settings.py
4a181853da0e4b0c72e09e11bb63f49c0f88a1ad
[]
no_license
aaronsnig501/drams
9c3d4733ecb646b6a0505395d6a00f0f2a868550
3fa600d67c82559694612a0634590a205b1790eb
refs/heads/main
2023-08-22T14:24:40.691939
2021-10-11T17:15:32
2021-10-11T17:15:32
372,319,221
0
0
null
null
null
null
UTF-8
Python
false
false
4,929
py
""" Django settings for drams project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from ...
[ "aaronsnig@gmail.com" ]
aaronsnig@gmail.com
9838dfc3c187ea6ad1f4313c7aae17b9952cb069
fbc50ad72c1b41ee0a7d548eb1a5a14a4a9287aa
/pydefect/cli/vasp/main_vasp_util_functions.py
ed85d09b291979c785bf5e040f9a605314815be2
[ "MIT", "Python-2.0" ]
permissive
WeiLiweili/pydefect
0217529ed5d76bd06d94fe42bf18056050587bdd
5889d3d7afe19c9eac65a96c194eac18cc93dbd0
refs/heads/master
2023-05-27T00:29:31.898194
2021-06-07T11:17:25
2021-06-07T11:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,513
py
# -*- coding: utf-8 -*- # Copyright (c) 2020 Kumagai group. import os from pathlib import Path from monty.serialization import loadfn from pydefect.analyzer.calc_results import CalcResults from pydefect.analyzer.grids import Grids from pydefect.analyzer.refine_defect_structure import refine_defect_structure from pyde...
[ "yuuukuma@gmail.com" ]
yuuukuma@gmail.com
0e5da1bf7e3d932a3e266125c54e7048f9e5bceb
6a41dd36ddd3e501b62ff253b40bf9bbbaa722c2
/코딩예제/while_with_condition.py
6f4079247f8b31e3b4c3472ca822a83497bcf164
[]
no_license
skysamer/first_python
9ba79b194d838e0cdeab6f2e7a4207d71c73ed63
638622f51434eda65ef3300e3ce5db3a2a79db2a
refs/heads/master
2023-02-03T08:21:23.370285
2020-12-27T13:39:20
2020-12-27T13:39:20
307,953,829
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
# 변수를 선언합니다. list_test=[1, 2, 1, 2] value=2 # list_test 내부에 value가 있다면 반복 while value in list_test: list_test.remove(value) print(list_test)
[ "skyslayer123@naver.com" ]
skyslayer123@naver.com
b305f9e4f487d86fc807dcf47f8a21d6725cef7e
4bd9a3671102821bb64dde8a8d89a0ccb89a1667
/scripts/common/async.py
3b3fee6bb39db7c191525be711a9f427166f057b
[]
no_license
webiumsk/WOT0.9.10
13c4ff7ecb7cdb44b7ae9c314c2b2ef256b3bf36
11e20a5d47e735aefeddb42816ba44de5a994049
refs/heads/master
2016-09-01T22:58:21.178074
2015-09-03T20:47:20
2015-09-03T20:47:20
41,882,656
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
# Embedded file name: scripts/common/async.py import sys import BigWorld from functools import partial, wraps import inspect def async(f): if 'callback' not in inspect.getargspec(f).args: @wraps(f) def caller(*args, **kwargs): callback = kwargs.pop('callback', None) gen = f...
[ "info@webium.sk" ]
info@webium.sk
6c4e8435b1b2f7676f567547dd9b786ddd60f12f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/424/usersdata/316/92790/submittedfiles/divisores.py
0f47a5377c962818c1e942c95d2f0748e0d01ba1
[]
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
278
py
# -*- coding: utf-8 -*- import math n=int(input('digite o numero de dividores que devem ser mostrados:')) n1=int(input('digite um numero:')) n2=int(input('digite um numero:')) for [x] in range (n1,n+1,1): print(x) for [y] in range (n2,n+1,1): print(y) z=(x+y) print(z)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ee8671d1c3e4558fe9a4ad0a327394ed583813bb
90f41cf195a1929978cddf06c2f7145efe9477b5
/twisted/plugins/mimir_aggregator.py
bbfd9eb1ded2c9ee2aaa8c07ce202a7d083891db
[ "MIT" ]
permissive
Cloudxtreme/mimir
efd7d774a6592359d174a7ebee3aabdfeb1078a2
1e507d9e973bde9ed2d75355c42de5cbfecf691d
refs/heads/master
2021-05-27T16:13:20.546036
2012-05-10T14:09:14
2012-05-10T14:09:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
# Copyright (c) 2005-2008 Ralph Meijer # See LICENSE for details try: from twisted.application.service import ServiceMaker except ImportError: from twisted.scripts.mktap import _tapHelper as ServiceMaker mimirAggregator = ServiceMaker( "Mimir Aggregator", "mimir.aggregator.tap", "Mimir...
[ "ralphm@ik.nu" ]
ralphm@ik.nu
f755787a8d928d259e834b28354e29803debbe22
a2b20597759990445081057d35d113434cfcf970
/stubs/typeshed/typeshed/stdlib/distutils/dist.pyi
dfffdc5e11bb7ba1ffdfd6b5393789e7b4ec5bb5
[ "Apache-2.0", "MIT" ]
permissive
facebook/pyre-check
34059599c02b65605c574f13555229f3b931fd4e
fe8ccedc572cc1faa1fd01e9138f65e982875002
refs/heads/main
2023-09-03T19:10:11.587028
2023-09-02T07:40:35
2023-09-02T07:40:35
110,274,488
6,703
575
MIT
2023-09-13T17:02:32
2017-11-10T17:31:36
OCaml
UTF-8
Python
false
false
4,357
pyi
from _typeshed import FileDescriptorOrPath, Incomplete, SupportsWrite from collections.abc import Iterable, Mapping from distutils.cmd import Command from re import Pattern from typing import IO, Any command_re: Pattern[str] class DistributionMetadata: def __init__(self, path: FileDescriptorOrPath | None = None) ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
bfc8f4eb61cae22f005c48b28dcec2bfca68194e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_228/ch166_2020_06_22_15_22_25_559269.py
50696f7c700c8462b4cd6349208023d0f277950d
[]
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
251
py
def total_do_semestre_por_bairro(empresa): semestral={} soma=0 for bairro in empresa: for gasto in empresa[bairro][6:]: soma+=empresa[bairro][6:] semestral[bairro]=soma return semestral
[ "you@example.com" ]
you@example.com
923a0fcfa99ceda64d9665e7cba38084c8d45327
70ff8787b07a84299ec09db91c96370f69681778
/todo2_1/settings.py
5d22d0163acde450af92789dba291ae186497edd
[]
no_license
babor99/Todo2_1
a9fddb6049ee452684d9d9985aa80a9d9af19490
c9524fedf7974fa03908f325e4f872d80cd5d755
refs/heads/main
2023-01-21T21:40:14.063604
2020-11-28T19:40:58
2020-11-28T19:40:58
316,808,956
0
0
null
null
null
null
UTF-8
Python
false
false
3,227
py
""" Django settings for todo2_1 project. Generated by 'django-admin startproject' using Django 3.1. 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 pathlib i...
[ "islambabor947@gmail.com" ]
islambabor947@gmail.com
7de47ab3b67232ce9b95cf9b44f615eab1aa1f3a
1f2f8581608853d78ac8a3fd1e59879517c122fa
/计算机与信息类/算法基础/lab-徐云/lab3/lcs.py
ffa1122619ad1da2c7361a66bfde52f386f1bfd4
[ "MIT" ]
permissive
qianggui/USTC-CS-Courses-Resource
c02b48da99edcd5aea514fdb78d134cb812c2a3f
773871ac6ad3f6e6b227af5ae28ceea57a1c629f
refs/heads/master
2023-02-26T00:58:27.333487
2019-01-20T04:28:41
2019-01-20T04:28:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
''' mbinary ######################################################################### # File : lcs.py # Author: mbinary # Mail: zhuheqin1@gmail.com # Blog: https://mbinary.coding.me # Github: https://github.com/mbinary # Created Time: 2018-08-25 12:00 # Description: ###########################################...
[ "zhuheqin1@gmail.com" ]
zhuheqin1@gmail.com
86ef8afc644eac1b83d3074f5c821807877d0179
6710c52d04e17facbc9fb35a7df313f7a2a7bd53
/Templates/0787. Cheapest Flights Within K Stops.py
48f1418acb6f7bdcd9bc64679454c2006f50022c
[]
no_license
pwang867/LeetCode-Solutions-Python
535088fbe747a453360457728cc22cf336020bd2
188befbfb7080ba1053ee1f7187b177b64cf42d2
refs/heads/master
2022-11-13T16:20:28.211707
2020-06-28T06:01:14
2020-06-28T06:01:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# Dijkstra, time K*(V+E)*log(E), space O(n*K) import heapq class Solution(object): def findCheapestPrice(self, n, flights, src, dst, K): """ :type n: int :type flights: List[List[int]] :type src: int :type dst: int :type K: int :rtype: int """ ...
[ "gemingshangweichenggong@gmail.com" ]
gemingshangweichenggong@gmail.com
b4f28caf1ffd9cf194e97ca9d884b1e0007df9be
95718ee7888170449287037609bb16ffc9d35437
/evennia/web/website/views/accounts.py
4964d3d567fa7ec9e91389acfca91cebf273fb63
[ "BSD-3-Clause" ]
permissive
jrsteensen/evennia
70ddaeb2bf7d2ac4638812947b17c6c16f9c8a3b
74d470a4f64be6dd64ff66fadce8ba5aceb15af7
refs/heads/main
2023-01-14T19:32:06.379258
2023-01-07T23:08:29
2023-01-07T23:08:29
586,394,410
0
0
BSD-3-Clause
2023-01-08T01:11:42
2023-01-08T00:58:01
null
UTF-8
Python
false
false
2,168
py
""" Views for managing accounts. """ from django.conf import settings from django.contrib import messages from django.http import HttpResponseRedirect from django.urls import reverse_lazy from evennia.utils import class_from_module from evennia.web.website import forms from .mixins import EvenniaCreateView, Typecl...
[ "griatch@gmail.com" ]
griatch@gmail.com
a490ed295d2b60cb5f252679e9c56c6a9061d954
4074db4436d5fc5fa5395de072557def620f993e
/0x06-python-classes/6-square.py~
b29076e183c8b83ddb204c1b227d5ce3fd433f69
[]
no_license
Hunt66/holbertonschool-higher_level_programming
49b4a93a8b565cdd588e26e6348bed5d3e9d6953
b26f42c1d41bb24842d77bf5cf86c441bd8fcf51
refs/heads/master
2020-03-28T11:11:52.204554
2019-03-25T19:45:28
2019-03-25T19:45:28
148,187,536
0
1
null
null
null
null
UTF-8
Python
false
false
2,395
#!/usr/bin/python3 class Square: __size = 0 position = (0, 0) def __init__(self, new_size=0, new_position=(0,0)): #initialization if not isinstance(new_position, tuple): raise TypeError("position must be a tuple of 2 positive integers") elif not isinstance(new_position[0], int)...
[ "489@holbertonschool.com" ]
489@holbertonschool.com
b4ba72e7e3148a8d93aae2a4503061f4785523a8
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1794231/homework03/program01.py
3a4ae55c40afafa5e5e96337daf0a2051cee92bc
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,911
py
# -*- coding: utf-8 -*- """ Created on Thu Nov 16 20:01:52 2017 @author: VALERIO """ def load(fname): with open(fname, mode='rb') as f: reader = png.Reader(file=f) w, h, png_img, _ = reader.asRGB8() img = [] for line in png_img: l = [] for i in r...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
3aed3b400c3e0263fd33b578f8d815809f5e1534
3b4c2fa85a358648614c60d295cc9d77eb7e4c81
/chapter 8.py/06_pr.py
e3c87b202e1e50bfff73374215d0701a465e6508
[]
no_license
abbhowmik/PYTHON-Course
465e2e6c42b41f6dd731562c57d5c53c6ca2e711
223071569ce9b98d6725e2a33fb271ac0add6f49
refs/heads/main
2023-06-05T11:28:36.632080
2021-06-29T18:14:47
2021-06-29T18:14:47
381,456,413
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
def calculate(inch): return inch * 2.54 f = calculate(5) print("centemeter is " + str(f)) # def a(cm): # return cm / 2.54 # s = a(34) # print("inch is " + str(s))
[ "ashisbhowmikisp@gmail.com" ]
ashisbhowmikisp@gmail.com
a13a196fee63c66a10186bdb6e3c4a7c4dcd91b8
4d673f5762be3ceff39be9944872a943a3f75422
/Companies/Facebook/longest_path_in_bst.py
91af5637f850db9057a8bd33da5b6a62d1537628
[]
no_license
leeo1116/Algorithms
f41d525a413249fc81b2b579cbad0f783138fd73
5959400492dc1403d06b884ea81a269671d420de
refs/heads/master
2021-01-22T06:22:52.402124
2018-08-16T02:52:50
2018-08-16T02:52:50
31,132,742
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
from collections import deque def longest_path_in_BST(root): max_path = 0 def longest_path_in_BST_helper(root): """Return the maximum depth of a BST""" nonlocal max_path if not root: return 0 left_depth = longest_path_in_BST_helper(root.left) right_depth = ...
[ "leeo1116@gmail.com" ]
leeo1116@gmail.com
0d9193c5cf7928f0e1e7dbf068e58996268a3345
334549c59136053ef8fe74949021c400ba7d372e
/instagram/admin.py
8a48223dae03f1ce756fc10299581eb8711b84d2
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Kadas36/Instagram-clone
8c6e613f9da5935c0d06f05718f1deaf8eba24cd
992915b8c72a5a97ae86178dfa50843ee22be4b6
refs/heads/master
2023-02-17T23:29:22.760583
2021-01-19T19:23:22
2021-01-19T19:23:22
329,972,511
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
from django.contrib import admin from .models import Image,Profile,Comment # Register your models here. admin.site.register(Image) admin.site.register(Comment) admin.site.register(Profile)
[ "oduorthomas14@gmail.com" ]
oduorthomas14@gmail.com
a553c7ca0763faab2248e956bbd5a849ab72ec2c
effce116340b7d937bd285e43b49e1ef83d56156
/data_files/generate-static.py
770c4c31268b55e4722b83bfca93e3a124f1377e
[]
no_license
DL2021Spring/CourseProject
a7c7ef57d69bc1b21e3303e737abb27bee3bd585
108cdd906e705e9d4d05640af32d34bfc8b124da
refs/heads/master
2023-04-11T18:52:30.562103
2021-05-18T09:59:59
2021-05-18T09:59:59
365,733,976
0
1
null
null
null
null
UTF-8
Python
false
false
3,609
py
import sys import os try: import argparse except ImportError: from os.path import basename from sys import path as sys_path sys_path.append(join_path(basename(__file__), '../server/lib')) import argparse known_filename_extensions = [".txt", ".a1", ".a2"] def argparser(): ap=arg...
[ "1042448815@qq.com" ]
1042448815@qq.com
91587c2537ff1711ac06761c2e1089892349357b
8698757521458c2061494258886e5d3cdfa6ff11
/core/CrossEntropy.py
63236e09d16363a6c88df3bb151989ec39a6bf6a
[ "MIT" ]
permissive
ricvo/argo
546c91e84d618c4bc1bb79a6bc7cba01dca56d57
a10c33346803239db8a64c104db7f22ec4e05bef
refs/heads/master
2023-02-25T01:45:26.412280
2020-07-05T22:55:35
2020-07-05T22:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,479
py
import tensorflow as tf from argo.core.network.AbstractModule import AbstractModule from argo.core.utils.argo_utils import NUMTOL, tf_f1_score from argo.core.utils.argo_utils import create_panels_lists class CrossEntropy(AbstractModule): def __init__(self, multiclass_metrics = False, name="CrossEntropy"): ...
[ "volpi@rist.ro" ]
volpi@rist.ro
e12c136a5ea2371e74ac7dd24e31d8babcf95c59
33836016ea99776d31f7ad8f2140c39f7b43b5fe
/fip_collab/2016_03_23_spectral_crystal_plasticity/constants_old.py
76ba75a02ea8b89575ad349f596feb744cd6dace
[]
no_license
earthexploration/MKS-Experimentation
92a2aea83e041bfe741048d662d28ff593077551
9b9ff3b468767b235e7c4884b0ed56c127328a5f
refs/heads/master
2023-03-17T23:11:11.313693
2017-04-24T19:24:35
2017-04-24T19:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,095
py
import gsh_cub_tri_L0_16 as gsh import numpy as np def const(): C = {} """general constants""" C['path'] = '/gpfs/pace1/project/me-kalidindi/shared/dir_nhp_test' """for read_input_data""" C['read_njobs'] = 60 C['read_mem'] = 8 C['read_walltime'] = 4 C['read_scriptname'] = 'read_inpu...
[ "noahhpaulson@gmail.com" ]
noahhpaulson@gmail.com
fa3b1e3c35d5f3b1320ea6b00868c355e39b7932
c77148a25435b50a35fceab36112fba18dbb0866
/backup/Jun17/units/Centrifuge.py
9934eb8565a355fda36c3efb2cf3af18c6e39637
[]
no_license
SozBroz/PrismataBot
51fbecf90950d13eb52606a5b18984b5474746ba
f375ca8dc396abbca4134f70cb262fc78b90a17e
refs/heads/master
2020-05-31T13:37:50.102010
2019-06-06T02:48:01
2019-06-06T02:48:01
136,826,949
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin.python3.6 class Centrifuge: def __init__(self,owner): self.owner=owner self.lifespan=-1 self.frontline=False self.cooldown=3 self.defaultBlocking=False self.health=1 self.attack=0 self.startTurnDict={ "gold":3, "green":2, "blue":2, "red":2 } def __str__(self): return "Centrifug...
[ "Phil@oc1140302110.ibm.com" ]
Phil@oc1140302110.ibm.com
6e3fcbd73b3c64745d409874229d3a53f12bdfba
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_8/models/network_interface_trace.py
68b5aa6034970a0cc526a16e5d3fa1d94bd1faaf
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
4,051
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.8, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.8 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
0b7392e684f7003737eac60ef1e8aaff036397a2
5d622c4b5df54f880f9476931ffb697afc63a9e2
/build/code/runtime/components/guard/add_user/add_user.py
2346707cb503367f66a7791e3ee85650ef156b61
[]
no_license
anirudh458/final-lab-test
96d27219387c91f7f7fd346899324dd672eb21cb
e9aab1cd5c82993941d605cfa4a045a8db01036f
refs/heads/master
2021-06-16T19:06:41.569044
2017-05-31T19:22:59
2017-05-31T19:22:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
import traceback from runtime.exceptions.app.exception import AppException from runtime.utils.type_utils.type_utils import check_pred from runtime.datatypes.cmd.cmd import Cmd from runtime.objects.session.session import Session from runtime.objects.role.role import Role from runtime.datatypes.instr.add_user.add_user_i...
[ "ravulaanirudh7@gmail.com" ]
ravulaanirudh7@gmail.com
392659e15182e2acc88c338b51e850e5441755bf
60a8cec8f886d15aca576985fb0c9a9357485b32
/PA3/Candidate.py
49cd1772f4f12fc54babe3ad6b99c8e139e1ca25
[]
no_license
geniousisme/ADB-Fall-2016
e95f1377332164713d88547e3e95b8d7f5431d04
d3fce0ab2f157cb21bc11eec5e49599eb4277373
refs/heads/master
2021-01-14T13:16:16.047639
2016-12-06T21:19:57
2016-12-06T21:19:57
68,466,293
0
0
null
null
null
null
UTF-8
Python
false
false
3,884
py
import sys from collections import OrderedDict from Error import KeyMustBeSetError, CantAppendError SETITEM = "setitem" GETITEM = "getitem" DELITEM = "delitem" GET = "get" APPEND = "append" EXTEND = "extend" class ItemSet(object): def __init__(self, itm_set=tuple(), supp=0.0, conf=0.0): if not isinstanc...
[ "chia-hao.hsu@aiesec.net" ]
chia-hao.hsu@aiesec.net
1cb760209a3958fa9d80ddbcee8b2f715a4f3d1a
9c368c9fe78a2dd186daeed2d0714651c1c27d66
/budgets/plot_gas_metallicities_winds_axes.py
e59e1e93a67762ad31bf76b7fe2ddc8123f5684a
[]
no_license
sarahappleby/cgm
5ff2121919e36b10069692f71fb1dc03f3678462
656bf308771dd3ff2f8c2e77107cdc14507c7ce7
refs/heads/master
2023-01-24T03:10:01.610418
2023-01-20T11:04:31
2023-01-20T11:04:31
160,820,718
2
0
null
null
null
null
UTF-8
Python
false
false
5,207
py
import matplotlib.pyplot as plt from matplotlib.lines import Line2D from matplotlib import cm import h5py import os import sys import caesar import numpy as np from plotting_methods import * from get_mhalo_mstar import get_mhalo_axis_values plt.rc('text', usetex=True) plt.rc('font', family='serif', size=17) palette_n...
[ "sarahappleby20@gmail.com" ]
sarahappleby20@gmail.com
6aacf0dd504ad74920718d95ae2192449bee2292
8edd63a42469bf09fcad1c1070995ceda6e49646
/env/lib/python2.7/site-packages/observations/r/bechtoldt_2.py
e9611ee21911c527f7a298f455a100732469e74b
[]
no_license
silky/bell-ppls
fa0b5418f40dab59de48b7220ff30caba5945b56
369e7602c810b694a70ac1e875017480c8910ac8
refs/heads/master
2020-04-06T08:40:28.588492
2018-11-01T06:51:33
2018-11-01T06:51:33
157,312,221
1
0
null
2018-11-13T03:04:18
2018-11-13T03:04:18
null
UTF-8
Python
false
false
1,812
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def bechtoldt_2(path): """Seven data sets showing a bifactor solution. ...
[ "akobeid.1@gmail.com" ]
akobeid.1@gmail.com
e8d64834aa1db61077ec6b9fe7c499b8eba99705
fc83844345e7d28f73eb5769baf5c1acbd469164
/mininet/wifiAssociationControl.py
7a4169112f8b2d9ddb8715e1126213668fa60d69
[]
no_license
patgrosse/mininet-wifi
4b885ef2238da4dd6a39ed3ce71549c4f6851c8a
9f3c293eef63fc1f8f936c553fc2159ee1dc8e42
refs/heads/master
2020-07-01T19:24:06.536028
2017-04-11T23:07:23
2017-04-11T23:07:23
74,742,970
1
1
null
2017-08-29T12:21:27
2016-11-25T09:13:50
Python
UTF-8
Python
false
false
1,542
py
from mininet.wifiChannel import setChannelParams from mininet.log import debug class associationControl (object): changeAP = False def __init__(self, sta, ap, wlan, ac): self.customAssociationControl(sta, ap, wlan, ac) def customAssociationControl(self, sta, ap, wlan, ac): """Mechanisms ...
[ "ramonreisfontes@gmail.com" ]
ramonreisfontes@gmail.com
48bbfeddb7ad7a604af2043476b30b4d1c0a12e6
5189b657618c4041041836e6697b69caa965229f
/blockit/migrations/0076_auto_20200806_2314.py
e5e46c498a698e35b172763e52b1da51a16ed76d
[]
no_license
MuellerBettina/ba2020_573561
b653a0c48569ebaecaaee6dd99c69d7e584514e8
41b6ba9f40c1fc63fa9dfdfba629c26f756abfa9
refs/heads/master
2023-04-06T16:12:03.229605
2020-09-10T16:26:12
2020-09-10T16:26:12
269,595,480
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# Generated by Django 2.2.13 on 2020-08-06 21:14 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('blockit', '0075_auto_20200806_2311'), ] operations = [ migrations.AlterField( ...
[ "BettinaMueller@pm.me" ]
BettinaMueller@pm.me
7300044dc6c50ade145f998a63fcb47da8eb8fd0
11e826cd207343446cd44dbb6ac9f9a6e59e624c
/Python/Django/AJAX_Notes/myPosts/apps/posts/models.py
b76a13dfe7312d9bd8b6b3b082565b020b103ab4
[]
no_license
sbishop7/DojoAssignments
1395022f9c693f757889461410d96543f8552fa2
29a378830f8de5bbbdc6d397228c2c09329c0d38
refs/heads/master
2021-01-22T23:29:33.527805
2017-07-06T15:01:11
2017-07-06T15:01:11
85,643,842
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models class PostManager(models.Manager): pass class Post(models.Model): post = models.TextField(max_length=1000) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True)...
[ "seth.bishop@gmail.com" ]
seth.bishop@gmail.com
a10acb8f0f314af9e3c62acb087073aa22ac2836
67553d46a257631810f394908013b82c337e0fbd
/goat/chapter19/19.5/pygal_guangzhou_weather.py
dcbbfff6be01beb3f240ca2ee38e16e8ce4daa11
[]
no_license
bopopescu/goat-python
3f9d79eb1a9c2733345d699c98d82f91968ca5fa
c139488e2b5286033954df50ae1ca834144446f5
refs/heads/master
2022-11-21T11:25:27.921210
2020-03-06T01:02:57
2020-03-06T01:02:57
281,066,748
0
0
null
2020-07-20T09:00:08
2020-07-20T09:00:08
null
UTF-8
Python
false
false
988
py
# coding: utf-8 import csv import pygal filename = 'guangzhou-2017.csv' # 打开文件 with open(filename) as f: # 创建cvs文件读取器 reader = csv.reader(f) # 读取第一行,这行是表头数据。 header_row = next(reader) print(header_row) # 准备展示的数据 shades, sunnys, cloudys, rainys = 0, 0, 0, 0 for row in reader: if...
[ "34465021+jwfl724168@users.noreply.github.com" ]
34465021+jwfl724168@users.noreply.github.com
dd88fe4a9e6afa137e120305485513c8a74bc3fa
f74956183c1a6cf59f586781b6d0d6fd78693575
/setup.py
572c820a5ab362a6e1bb09219dcbfce565da3e6a
[ "MIT" ]
permissive
gitter-badger/py-kerapu
64c9b50f6a27e7e3486fe94d1f223f804cab66a5
71442872ab9830d36533878ae7ee0dc20f9237fb
refs/heads/master
2021-01-11T14:44:44.099500
2017-01-27T11:46:56
2017-01-27T11:46:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='Kerapu', version='0.9.30', description='Een implementatie van de grouper', long_d...
[ "p.r.water@setbased.nl" ]
p.r.water@setbased.nl
1e9a8911ce7354197f9d5becc06308df4e542105
73758dde83d1a1823c103e1a4ba71e7c95168f71
/nsd2011/py01/day02/game.py
d5003404c441c86cfc1390d890ef42335f13cefd
[]
no_license
tonggh220/md_5_nsd_notes
07ffdee7c23963a7a461f2a2340143b0e97bd9e1
a58a021ad4c7fbdf7df327424dc518f4044c5116
refs/heads/master
2023-07-02T01:34:38.798929
2021-05-12T08:48:40
2021-05-12T08:48:40
393,885,415
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
import random all_choice = ['石头', '剪刀', '布'] # 计算机随机出拳 computer = random.choice(all_choice) # 人出拳 player = input('请出拳(石头/剪刀/布): ') # 输出人机的选择, 字符串加上前缀f,可以在字符串中使用{}来书写变量 print(f'计算机出拳:{computer}, 你出拳:{player}') # 判断胜负,并输出结果 if player == '石头': if computer == '石头': print('\033[32;1m平局\033[0m') elif comput...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
97ca31b3ce7d12b617d45ff06a457c5ff3f048ef
423e4cc0276f93a9e3ac47213015bcce4645cb37
/Array/118.pascalTriangel.py
234e815ef6bf14ff85c260797dec6210d8a5b9c1
[]
no_license
moonclearner/leetcode
4521b9c8dec5993bf4fb5565ddbbf0aeab993c9d
edccd4b62719c700713e3db78493564e2dc768c4
refs/heads/master
2020-12-30T11:40:19.955206
2017-06-28T12:41:55
2017-06-28T12:41:55
91,520,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
""" Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ] """ class Solution(object): def generate(self, numRows): """ :type numRows: int :rtype: List[List[int]] """ ...
[ "718857460@qq.com" ]
718857460@qq.com
7915b3be993380eef200346b69b0004c1e4d521d
885c89c56923565117b6244afa6c16664e25094f
/vspk/v5_0/nuvnfcatalog.py
98a35587b5d33b5165f2920ae6929930a0a59374
[ "BSD-3-Clause" ]
permissive
ikbalcam/vspk-python
0017f5c7c4f9aaca604fb4da42884eddc497ee00
1c6d28c8f8f7bcadbd1722cdc3046b01dbf1d9e8
refs/heads/master
2021-10-01T16:14:00.380613
2017-11-02T21:43:41
2017-11-02T21:43:41
115,129,333
0
0
null
2017-12-22T15:52:11
2017-12-22T15:52:11
null
UTF-8
Python
false
false
3,849
py
# -*- coding: utf-8 -*- # # Copyright (c) 2015, Alcatel-Lucent Inc # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # no...
[ "corentin.henry@nokia.com" ]
corentin.henry@nokia.com
f2cb3a4beea5bc4db97e3264d505576707b704e3
bd9f8d73bc1a35f0e95612368ea5a8d835ef10ef
/cursoemvideo/ex022.py
e17411ac51a19dd6279bcf97793f10030843fe32
[]
no_license
EmersonBraun/python-excercices
86ed043494a217371ae0d562b88b44bc1558a9a9
934ccda17d8318ab7bf692653fcbe6afd172772c
refs/heads/master
2023-08-04T08:21:48.339144
2023-02-02T20:25:03
2023-02-02T20:25:03
156,902,579
0
0
null
2023-07-25T21:10:55
2018-11-09T18:30:49
Python
UTF-8
Python
false
false
534
py
# Crie um programa que leia o nome completo de uma pessoa e mostre: # – O nome com todas as letras maiúsculas e minúsculas; # – Quantas letras ao todo (sem considerar espaços); # – Quantas letras tem o primeiro nome. nome = str(input('Digite seu nome completo: ')).strip() print('Em maiúsculas: {}'.format(nome.upper()))...
[ "emersonfbraun@gmail.com" ]
emersonfbraun@gmail.com
5d5a53a624fbdf189597fa3772cd6b6ffa5e7a3a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2346/61019/285553.py
1c6638cbc9271270598f4c7925c2a52692652ae7
[]
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
805
py
t = eval(input()) for _ in range(t): n, m = [int(x) for x in input().split(' ')] elem = [int(x) for x in input().split(' ')] mat = [elem[i:i + m] for i in range(0, m * n, m)] x, y = 0, 0 ways = [[1, 0], [0, -1], [-1, 0], [0, 1]] way_i = 0 visited = [[0] * 4 for _ in range(4)] def avai...
[ "1069583789@qq.com" ]
1069583789@qq.com
57dd2a1e20d87d8e57fa485603f15f249d272cc4
5cb33f0b2f58145ccf9c183b6366af9284227957
/home/migrations/0098_auto_20210408_1714.py
c04af8f6cb678399010a61714fc1979b05a2a6ef
[]
no_license
joel081112/ArdsProject
a72b3038349d5cf949e55037989644d0f26fab65
d7867be34cdd199d4c07f4a637b89f5f7305ac36
refs/heads/main
2023-04-24T04:55:40.296316
2021-04-29T09:30:41
2021-04-29T09:30:41
336,305,114
0
0
null
2021-04-29T09:30:42
2021-02-05T15:06:40
HTML
UTF-8
Python
false
false
380
py
# Generated by Django 3.1.5 on 2021-04-08 16:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('home', '0097_auto_20210408_1712'), ] operations = [ migrations.AlterUniqueTogether( name='bowling', unique_together={('membe...
[ "joel081112@icloud.com" ]
joel081112@icloud.com
f4ec2f6cd219a3f3a5a60d212203c83a4a6ec823
e0760295cc8221dff41af7e98fb49dd77a8fca1e
/converting_sorted_list_to_binary_search_tree.py
1eb3ee4e2e2eebd56e1f464aeda7c9aaca2d8887
[ "MIT" ]
permissive
jaebradley/leetcode.py
422dd89749482fd9e98530ca1141737a6cdbfca4
b37b14f49b4b6ee9304a3956b3b52f30d22fac29
refs/heads/master
2023-01-24T08:32:11.954951
2023-01-18T13:21:56
2023-01-18T13:21:56
177,721,059
1
0
MIT
2021-07-23T03:52:32
2019-03-26T05:32:18
Python
UTF-8
Python
false
false
2,108
py
from tree_node import TreeNode """ https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree/ Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of t...
[ "noreply@github.com" ]
jaebradley.noreply@github.com
5dc1c4ae900a37c9ab236d59ac208d2993016835
a6fc9cec97fbbd6ecc08715c43e4dd53606e2110
/SqlIndex/A4p4.py
27954f682b0866885ed37ac52471dc616698cf68
[]
no_license
BennyJane/python-demo
2848acaaa81d5011d9dfc1585b3d6b685178f88e
75098ec4f9c8288d637ee1f9585f824fcb5267ee
refs/heads/master
2023-04-11T12:24:30.245205
2021-04-24T23:47:56
2021-04-24T23:47:56
264,815,200
5
0
null
null
null
null
UTF-8
Python
false
false
2,787
py
import time import random import sqlite3 from threading import Thread from settings import DB_NAMES from utils import load_country_data from utils import get_average from utils import change_index # PART4 查询随机选择的国家中最大price的值 EXECUTE_NUMS = 100 SELECT_SQL_Q1 = "select count(m.partNumber) from Parts m where not exists(...
[ "3355817143@qq.com" ]
3355817143@qq.com
50f0f48da391c777b1c732ce312db3adc0055e7e
663d429e1f552ef958d37cfe4a0707354b544a9a
/rimi_linux_mysql/tcp_ip_socket/socket_chat/p1805/test13.py
e2a654f914a05a6d0c120c0c25127790b09f1bf2
[]
no_license
nie000/mylinuxlearn
72a33024648fc4393442511c85d7c439e169a960
813ed75a0018446cd661001e8803f50880d09fff
refs/heads/main
2023-06-20T07:46:11.842538
2021-07-15T13:46:43
2021-07-15T13:46:43
307,377,665
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
import socket from concurrent.futures import ThreadPoolExecutor class Client: def __init__(self, ip='0.0.0.0', port=21805): self.ip = ip self.port = port self.bind_ip = (ip, port) self.ss = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.pools = ThreadPoolExecutor(5...
[ "1073438012@qq.com" ]
1073438012@qq.com
eef04f05db97394ff52a5fc7b8c9eab5ed528e73
077e2802cc4dfb1e9cff720c35803b0e95bef9aa
/venv/bin/f2py3.8
3b76e91b32411097d91cda70320197ace54c74ce
[]
no_license
Anveena/WOWScript
ff6b897e542e460a00bbf79c98c4b5d2c962fab5
2ab5b79a2add2c2291d9c06bf654a7a560358d60
refs/heads/main
2023-02-09T13:27:56.617457
2021-01-11T16:52:12
2021-01-11T16:52:12
324,855,123
0
0
null
null
null
null
UTF-8
Python
false
false
254
8
#!/Users/panys/PycharmProjects/WOWScript/venv/bin/python # -*- coding: utf-8 -*- import re import sys from numpy.f2py.f2py2e import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "panys@panyushideMac-mini.local" ]
panys@panyushideMac-mini.local
148700066c61b316f5fb6107fa6922bbec637d36
592135f312f5891324e9378d4e2b927cbc334f9c
/blocks/channels.py
5ef4c385da6d94af7aae4257143759625c8ee843
[]
no_license
rogalski/dsp-project
b8181e65b49824ab85bdfc9dabc7a3e23712b632
d6ffbc6225f8b1f518a48cc23dbde351f1a7dfb5
refs/heads/master
2021-01-17T17:14:48.416348
2015-01-19T21:58:40
2015-01-19T21:58:40
59,985,190
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
import numpy as np from blocks.meta import AbstractBlock class MultiPathChannel(AbstractBlock): def __init__(self, delay=120, paths=5): super(MultiPathChannel, self).__init__() self._init_impulse_response(delay, paths) def _init_impulse_response(self, delay, paths): rng = 4 i...
[ "rogalski.91@gmail.com" ]
rogalski.91@gmail.com
26d8fca7844adb46fd1b426a48aad5c93afa8fc1
29d09c634ffdd8cab13631d62bc6e3ad00df49bf
/Algorithm/swexpert/2383_점심_식사시간.py
d40aee5c1b0d513a11ece8b62ed144fb8ebba976
[]
no_license
kim-taewoo/TIL_PUBLIC
f1d32c3b4f46344c1c99f02e95cc6d2a888a0374
ae86b542f8b1805b5dd103576d6538e3b1f5b9f4
refs/heads/master
2021-09-12T04:22:52.219301
2021-08-28T16:14:11
2021-08-28T16:14:11
237,408,159
2
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
def calc_time(comb, group): if len(comb) == 0: return 0 comb.sort() if len(comb) > 3: for j in range(3, len(comb)): comb[j] = max(comb[j], comb[j-3] + stairs_len[group]) return comb[-1] + 1 + stairs_len[group] T = int(input()) for t in range(1, T+1): n = int(input()) ...
[ "acoustic0419@gmail.com" ]
acoustic0419@gmail.com
4a44c21b04c622327387eb0effb7aecdb3cfb48b
ae9fc81dd2a93a614c8e579b570ac3f4d2962392
/Application/ReclamaCaicoProject/ReclamaCaicoApp/migrations/0015_reclamacao_curtidas.py
c905782ffff49ba001f49c11fd522588d1a49569
[ "MIT" ]
permissive
WesleyVitor/ReclamaCaico
c3743d40771a808c8238a93513ef54829413d314
df67997821fc00236f1d9c77e8685ed8e4a6934b
refs/heads/master
2022-12-10T21:43:23.615702
2020-09-17T17:18:34
2020-09-17T17:18:34
260,520,207
0
0
MIT
2020-09-17T17:18:35
2020-05-01T17:38:45
Python
UTF-8
Python
false
false
397
py
# Generated by Django 2.2.5 on 2019-09-08 05:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ReclamaCaicoApp', '0014_auto_20190908_0158'), ] operations = [ migrations.AddField( model_name='reclamacao', name='c...
[ "wesleydemorais@outlook.com.br" ]
wesleydemorais@outlook.com.br
f3c4e4dde16e614c9ad69be27e3946190d076f02
04e19fff8ab97f4db9ede6042e17218fe7838aee
/app/core/tests/test_models.py
e7089afaf57dce7a265ae805e30dd8a54a36d415
[ "MIT" ]
permissive
luyang93/recipe-app-api
50cad45a7d4d0056bc43fb5bcfacc2144551fb39
adfe84504e30baa86425201e0d328dcd2c1f94e6
refs/heads/master
2023-06-24T04:30:57.103117
2021-07-19T07:54:22
2021-07-19T07:54:22
384,388,838
0
0
null
null
null
null
UTF-8
Python
false
false
3,067
py
from unittest.mock import patch from django.contrib.auth import get_user_model from django.test import TestCase from core.models import Tag, Ingredient, Recipe, recipe_image_file_path def sample_user(email='test@singleronbio.tk', password='testpassword'): """ Create a sample user """ return get_user...
[ "510426762@qq.com" ]
510426762@qq.com
b28f647eec4494f84f9fee875d991999b9d6680e
e9f096e564afc9f0cfabaeaac67c2ff2b1c46d24
/pytest03/Demo12.py
65642f9e3aa1714c27ad659af9f9a903bc357eb1
[]
no_license
zh199609/pythonLearning
dcb4bfb4560fab0ac66a88934af278489abff38d
430c70f1892966cf8f6b01e30e3a7996e83cc7ff
refs/heads/master
2021-11-21T12:49:21.522780
2021-08-31T13:14:55
2021-08-31T13:14:55
238,373,672
0
0
null
null
null
null
UTF-8
Python
false
false
2,232
py
""" fixture 传参数 request的详细使用 假设不同的用例想登录不同的测试账号,那么登录fixture就不能把账号写死,需要通过传参的方式来完成登录操作 """ import pytest @pytest.fixture def login(request): name = request.param print(f"==账号是:{name}==") return name def getData_1(): data_1 = ['pyy1', 'zl2'] return data_1 ids = [f'login_test_name is:{name}' for n...
[ "1120123073@qq.com" ]
1120123073@qq.com
1f533611390b15687b162ae31ab788170016516c
d272b041f84bbd18fd65a48b42e0158ef6cceb20
/catch/datasets/influenza_a_segment1.py
98c45f6c581fd3ca4ea6ba9bf4c6176fce13ecad
[ "MIT" ]
permissive
jahanshah/catch
bbffeadd4113251cc2b2ec9893e3d014608896ce
2fedca15f921116f580de8b2ae7ac9972932e59e
refs/heads/master
2023-02-19T13:30:13.677960
2021-01-26T03:41:10
2021-01-26T03:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
"""Dataset with 'Influenza A virus [segment 1]' sequences. A dataset with 25014 'Influenza A virus [segment 1]' genomes. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROGRAM! DO NOT EDIT! """ import sys from catch.datasets import GenomesDatasetSingleChrom ds = GenomesDatasetSingleChrom(__name__, __file__, __spec_...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
ea5ac06a0ae1386a19a4fc1831861bebd9f18cba
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007/applications/security/gnupg/actions.py
207f99555f823f74d5cddd6bc55bca16f8e34660
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,044
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005,2006 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.ac...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
b3c07baaa64c08cf2669b8a4ae237350340f639f
4766d241bbc736e070f79a6ae6a919a8b8bb442d
/archives/20190519python/0929. Unique Email Addresses.py
bf79a2f3581025a48372386a222203ea215c6413
[]
no_license
yangzongwu/leetcode
f7a747668b0b5606050e8a8778cc25902dd9509b
01f2edd79a1e922bfefecad69e5f2e1ff3a479e5
refs/heads/master
2021-07-08T06:45:16.218954
2020-07-18T10:20:24
2020-07-18T10:20:24
165,957,437
10
8
null
null
null
null
UTF-8
Python
false
false
498
py
class Solution: def numUniqueEmails(self, emails: List[str]) -> int: email_set=set() for email in emails: cur_email=self.getEmail(email) email_set.add(cur_email) return len(email_set) def getEmail(self,email): cur=email.split('@') tmp=cur[0].r...
[ "noreply@github.com" ]
yangzongwu.noreply@github.com
d6197d9beaed3a8212f70b9cd25d26b355f5ef5f
0b03746cf78477b88032616110aa92f85db7eb69
/law/contrib/matplotlib/__init__.py
8e72f84e48ca29ee6a3c999afbaca206dc1b6165
[ "MIT" ]
permissive
erikgeiser/law
ad3a7361cb057b5022aaf81898da46e2655bc52a
2c8a0d5161ea2b44063a79860f2bebdf66ff67d4
refs/heads/master
2020-03-21T05:48:45.748030
2018-07-13T14:47:04
2018-07-13T14:47:04
138,182,389
1
1
MIT
2018-06-21T14:34:57
2018-06-21T14:34:57
null
UTF-8
Python
false
false
208
py
# -*- coding: utf-8 -*- # flake8: noqa """ Matplotlib contrib functionality. """ __all__ = ["MatplotlibFormatter"] # provisioning imports from law.contrib.matplotlib.formatter import MatplotlibFormatter
[ "marcelrieger@me.com" ]
marcelrieger@me.com
fd638dc9e2e6ada738e12d0d9217884fd42bc280
c89e59b4d018e8a2d7dc0dbc3bb7a3768024f849
/before2021/python/day5_string_study/venv/Scripts/pip3.6-script.py
22ee13b87a5b46946cc623f252a1b33e024520cc
[]
no_license
leeiopd/algorithm
ff32103a43e467a5a091257cc07cf35365ecbf91
e41647d3918c3099110d97f455c5ebf9a38d571e
refs/heads/master
2023-03-08T23:46:34.919991
2023-02-22T09:39:46
2023-02-22T09:39:46
166,131,885
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
#!C:\Users\student\Desktop\algorithm\day5_string_study\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|...
[ "leeiopd@hanmail.net" ]
leeiopd@hanmail.net
cf0a500e4bf72ae6ca6ada70a3832571ef74e11a
e164451209c4f5ff5f433a40f0b784ed4b7bfe25
/macros/Lepton-Isolation-studies/checkIsolation_signal.py
9bb07d2798848425b6cd0fd042c90e2cb5db8ae0
[]
no_license
longlivedpeople/Galapago-Framework
bd556a71d1baf2c95d36786f24b33fbe2ee2446c
e4966b5f280b8c72cd53eb3215f4ab11e87ed9a0
refs/heads/master
2023-08-19T00:19:26.740105
2023-08-11T14:57:41
2023-08-11T14:59:33
196,342,305
1
0
null
2023-04-12T09:01:03
2019-07-11T07:26:38
Python
UTF-8
Python
false
false
5,122
py
import ROOT as r from ROOT import gROOT, TCanvas, TFile, TGraphErrors, SetOwnership, TVector3 import math, sys, optparse, array, copy, os import gc, inspect, __main__ import numpy as np runningfile = os.path.abspath(__file__) WORKPATH = '' for level in runningfile.split('/')[:-1]: WORKPATH += level WORKPATH...
[ "celia.fernandez.madrazo@cern.ch" ]
celia.fernandez.madrazo@cern.ch
ee9dd7269091c2d0a008dbc47f55685fc531e782
507182ac75df4509c3e15996311811fb08aea8ce
/get_couler_range.py
60f1d746e92eb36aaf3bb1c727890b5991a7f5b0
[]
no_license
clambering-goat/auto_exspence_repoting
8bc425fb85b79ad0722f079f5e9fa14fa96f2dc4
b13c41719a01698a1b0272a967c96a9956cdf156
refs/heads/master
2020-09-16T16:14:09.262778
2019-11-25T01:29:42
2019-11-25T01:29:42
223,825,844
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
import cv2 file_dir = "teast_img_1.jpg" # file_dir="teast_2.PNG" img = cv2.imread(file_dir) hsv_nemo = cv2.cvtColor(img, cv2.COLOR_RGB2HSV) list_vaule_r = [] list_vaule_g = [] list_vaule_b = [] for y in range(1340, 3815): for x in range(960, 1700): list_vaule_r.append(hsv_nemo[y][x][0]) list_vaul...
[ "camerondrain@gmail.com" ]
camerondrain@gmail.com
d28c08f7d55d920ead3c7bc55f96ff05d5d4027a
47c85253c30ca3bca9b499acd2d120843d6160fb
/_python/OOP/An_Jaehyun_Intro_to_TDD/function_list.py
b7f2c105f5660a8504e1eaf9f9e6db0fcd7f5c2c
[]
no_license
jaehyunan11/Python
d97b7d42d981a56e8e640c93d93aeeb37af4b999
f33a686b55f331cfafaf7a93d2882ad13bb3a262
refs/heads/master
2023-01-23T21:01:08.847430
2020-12-04T07:50:51
2020-12-04T07:50:51
307,580,669
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
def reverseList(list): for i in range(int(len(list)/2)): list[i], list[len(list)-i-1] = list[len(list)-i-1], list[i] return list def isPalidrome(list): for i in range(int(len(list)/2)): if str(list[i]) != str(list[len(list)-i-1]): return False return True def coins(amount):...
[ "jaehyuna11@gmail.com" ]
jaehyuna11@gmail.com
13aa77de7e43fcada6729bc48a664184f37081af
53ccc4f5198d10102c8032e83f9af25244b179cf
/SoftUni Lessons/Python Development/Python Advanced January 2020/Python OOP/REDO2022/04 - Classes and Objects - Exercise/08_library/project/registration.py
2eafa22d71438e8ce20edba7eddfb645024ce239
[]
no_license
SimeonTsvetanov/Coding-Lessons
aad32e0b4cc6f5f43206cd4a937fec5ebea64f2d
8f70e54b5f95911d0bdbfda7d03940cb824dcd68
refs/heads/master
2023-06-09T21:29:17.790775
2023-05-24T22:58:48
2023-05-24T22:58:48
221,786,441
13
6
null
null
null
null
UTF-8
Python
false
false
1,396
py
from project.user import User from project.library import Library class Registration: # def __init__(self): def add_user(self, user: User, library: Library): if user not in library.user_records: library.user_records.append(user) else: return f"User with id =...
[ "noreply@github.com" ]
SimeonTsvetanov.noreply@github.com
fd9d4542d18ee95b9802e14c5f3b75f0248b2830
10935d9ecdec507eecd8918074ef4018822ea2cc
/BookReviewProject/urls.py
d8029ac50cd6235e7ecb43b99133788704aaf9b5
[]
no_license
Malrhis/tgc10-django
d4bb3b14839a05adecb15442cf03764d27bfcc1f
57db2b7c61855ac50cb0978d5ba6b35137428f88
refs/heads/master
2023-04-05T06:10:37.306072
2021-03-15T11:58:22
2021-03-15T11:58:22
347,942,820
0
0
null
2021-03-15T11:58:23
2021-03-15T11:29:30
null
UTF-8
Python
false
false
1,054
py
"""BookReviewProject 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') C...
[ "chorkunxin@yahoo.com" ]
chorkunxin@yahoo.com
3080ec0e3d453c99af606a967430a9fccc621afd
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/catapult/telemetry/telemetry/internal/actions/play.py
dfa0af2da8e0cb5115308224c4618d074ed664dd
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
2,187
py
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """A Telemetry page_action that performs the "play" action on media elements. Media elements can be specified by a selector argument. If no selector is defi...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
f3a34e71c07f95c1f779d8256589c61a8aec188e
2c28159645a3e2a629a020f7d5a3e67e762f997a
/pyrustic/manager/handler/relink_handler.py
22dd4783da3083506d35da9081af90316c3bc487
[ "MIT", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
TrendingTechnology/pyrustic
14ac3bb86da249b9ea5d01669bfb4c1529abccc6
956603b8867552cdcfdbf847474e89755a24eb4f
refs/heads/master
2023-03-19T10:53:00.392051
2021-03-08T18:54:02
2021-03-08T18:54:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
from pyrustic.manager import constant from pyrustic.jasonix import Jasonix from pyrustic.manager.handler.link_handler import LinkHandler import os.path class RelinkHandler: """ Description ----------- Link again the previous Target or one of last Targets. Usage ----- - Description: Link a...
[ "pyrustic@protonmail.com" ]
pyrustic@protonmail.com
45cb95ebc021cfeb4cf30e61286646e57b3a1e6b
a0602c250256b96e7737c2c736a4d7415a83100a
/mpas_analysis/ocean/climatology_map_mld.py
174f065a68f4f9285073e8d6abf8d8ec2c123653
[]
no_license
zengxiaoqing/MPAS-Analysis
e6a497fea0f7555352873863e79511dc71c27e00
e56da52b9885a79c051e2f0f7c2619e14caf8a21
refs/heads/master
2020-03-23T16:28:27.560440
2018-01-26T17:48:25
2018-01-26T17:48:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,963
py
from __future__ import absolute_import, division, print_function, \ unicode_literals import xarray as xr import numpy as np from ..shared import AnalysisTask from ..shared.io.utility import build_config_full_path from ..shared.climatology import RemapMpasClimatologySubtask, \ RemapObservedClimatologySubtask...
[ "xylarstorm@gmail.com" ]
xylarstorm@gmail.com
d98aadeff1d03b2f75ec61d624b1f00559b4a54e
cb6461bfae8b0935b7885697dad0df60670da457
/pychron/experiment/experiment_scheduler.py
a234ef02d2fed5352c1a1aea4012c5706a7edcbf
[ "Apache-2.0" ]
permissive
USGSMenloPychron/pychron
00e11910511ca053e8b18a13314da334c362695a
172993793f25a82ad986e20e53e979324936876d
refs/heads/develop
2021-01-12T14:09:18.983658
2018-02-06T14:25:05
2018-02-06T14:25:05
69,751,244
0
0
null
2016-10-01T16:59:46
2016-10-01T16:59:46
null
UTF-8
Python
false
false
2,063
py
# =============================================================================== # Copyright 2016 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/licenses/LICE...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
b00e7b491532a919c62e741c28462a7dd4862e61
368c66467b78adf62da04cb0b8cedd2ef37bb127
/SW expert/python/1959_두개의숫자열_alone.py
2c5eaebf757e7d57ceb91e318803ce5d31263eaf
[]
no_license
DJHyun/Algorithm
c8786ddcd8b5693fc9b3b4721fdf1eeda21611c5
fd6ae800886dac4ec5ff6cf2618bc2c839a76e7a
refs/heads/master
2020-07-30T16:32:49.344329
2020-02-25T07:59:34
2020-02-25T07:59:34
210,289,983
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
# SW Expert Academy import sys sys.stdin = open('input (24).txt', 'r') T = int(input()) for test_case in range(1, T + 1): a, b = map(int, input().split()) arr_a = list(map(int, input().split())) arr_b = list(map(int, input().split())) result = 0 if a > b: for i in range(a - b + 1): ...
[ "djestiny4444@naver.com" ]
djestiny4444@naver.com
2abe8be8bcfc95b4d91d9a9d535a854f08549b83
9185ddefedb06f88769e0995cfed8e687b0e5e0d
/8_classes_and_objects/9_create_new_kind_class_instance_attrib.py
0e87dfd6bfdf398c1dc89f5cac22b4c356195d75
[]
no_license
mccarvik/cookbook_python
bbc069175f2281df3823152989aedf7637f6994a
3ad0aa7933613aef50a01931fa2ef04a980b08a2
refs/heads/master
2020-12-05T03:09:39.386470
2020-07-31T00:27:30
2020-07-31T00:27:30
231,992,516
0
0
null
null
null
null
UTF-8
Python
false
false
2,406
py
# Descriptor attribute for an integer type-checked attribute class Integer: def __init__(self, name): self.name = name def __get__(self, instance, cls): if instance is None: return self else: return instance.__dict__[self.name] def __set__(self, instance, ...
[ "ec2-user@ip-172-31-91-31.ec2.internal" ]
ec2-user@ip-172-31-91-31.ec2.internal