blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
cbb1f4d634b5c2931e92070446640ee4d89d33d8
efd55bc63da8ab6ee964ec82bd0b761fd36107cc
/leetcode/number-of-enclaves.py
ee0c5737871c26a66fb05b99c26e3ff45578e1bb
[]
no_license
gsantam/competitive-programming
f9a2c9999470eeae9ef4aada6af43b91a65fcb50
0b208516a6ae3e72bc7b79ef0ac83dcbfa100496
refs/heads/master
2021-06-20T23:27:30.274275
2021-06-20T19:44:51
2021-06-20T19:44:51
162,201,988
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
class Solution: def numEnclaves(self, A: List[List[int]]) -> int: visited = set() numEnclaves = 0 for i in range(len(A)): for j in range(len(A[0])): if (i,j) not in visited and A[i][j]==1: can_visit_boundary = False stack = ...
[ "santamaria.guille@gmail.com" ]
santamaria.guille@gmail.com
f472551f1d884a042278fd5068b8812e440a9674
f73bcada5ab8432d2af07b5cb7fd7a38109d3e3a
/.history/parser_20201108183309.py
ccfb07d5c586abb5736efc84264c3f2c979c39ba
[]
no_license
mariajbp/gedcomparser
837bf4ae5628a81e535d233c7c35313c6d86d78c
6fc55899e5a82c4071991ab94a344b64c014b84d
refs/heads/master
2023-01-23T09:01:27.459597
2020-11-19T23:58:53
2020-11-19T23:58:53
310,900,559
0
0
null
null
null
null
UTF-8
Python
false
false
2,988
py
#!/usr/bin/python3 #python3 parser.py input/bible.gedcom > test.txt import sys from re import * filename = sys.argv[1].split('/')[1] assetPath = "assets" indPath = "individuals" famPath = "families" cssPath = "assets/gedcom.css" def createIndi(ik,iv): f = open('assets/individuals/'+ik+'.html', 'w') f.writ...
[ "mariajbp00@gmail.com" ]
mariajbp00@gmail.com
bb727947846d46686b610f372e783a5b27bcc74b
434cdc852799abf4377effdf6e4bd810b4af649a
/python2/pracmln/mln/mrf.py
2c9db874e907742ff9e98859d2dda0ed5d2ca7b2
[ "BSD-2-Clause" ]
permissive
yawenEholder/pracmln
576f1ffc5f046cd9b0540d4f8799dadc5b1f4e22
65287963cc0df86ae0a0d5323ffa6a1a8a9b92cb
refs/heads/master
2020-04-07T22:41:12.006506
2018-02-05T17:39:51
2018-02-05T17:39:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,017
py
# -*- coding: utf-8 -*- # # Ground Markov Random Fields # # (C) 2012-2013 by Daniel Nyga (nyga@cs.uni-bremen.de) # (C) 2006-2011 by Dominik Jain (jain@cs.tum.edu) # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to...
[ "mareikep@cs.uni-bremen.de" ]
mareikep@cs.uni-bremen.de
a9710d3e6cebed174b49ca7389a2ff5cedf15dbf
33c23cb18917d6b1255fa45a4f1944f1774fdb99
/scripts/local_lcs_pam_250.py
0b29540cf2ff0ac610c6d0b89c4448edfd3265f0
[]
no_license
sjuvekar/Bioinformatics
ff0c0f4d4b77c322ce59cd98ae0036d71305710f
97bf341f2b8b63b7eba78e736be6703a2f651e90
refs/heads/master
2020-05-17T00:18:18.056611
2013-12-11T02:46:34
2013-12-11T02:46:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
#!/usr/bin/env python from util.lcs_util import LCSUtil import sys if __name__ == "__main__": f = open(sys.argv[1]) dna = LCSUtil(f.readline().strip()) dna.parse_score_matrix("../matrices/PAM250.txt") other_dna = LCSUtil(f.readline().strip()) (best_score, seq1, seq2) = dna.graph_based_local_alignme...
[ "sjuvekar@gmail.com" ]
sjuvekar@gmail.com
a2785bd0b41bd5bb7bb9d3b20b2e2922d476bae4
a9f38bb28ff9bd04b151d86c653cde9f46768c7c
/medium/validateBST.py
ce4596ddfbf18317b96c151cb041324fd72f9669
[]
no_license
Xynoclafe/leetcode
02388516b10b8ee6bec6ee1b91ab5681c3254d33
4a80f02683e7fc14cb49c07170651ea3eeb280ac
refs/heads/master
2020-12-01T21:05:44.656581
2020-02-02T09:05:32
2020-02-02T09:05:32
230,770,600
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isValidBST(self, root: TreeNode) -> bool: def inOrderT(root, inOrder): if root == None: ...
[ "gokulprem.94@gmail.com" ]
gokulprem.94@gmail.com
1323bf6ec05675b2462147830b71f4051ac71fc7
1dc67a30f9af553243088668d51bc4e75e87d83d
/pythonNet/udp_client.py
2d2eeb35ecd220d4b54e3db4f2dd9be943735345
[]
no_license
houyinhu/AID1812
00db45b3e8905bd069b31f2e7689f83bca3fa61f
8eeb9f06ed9f4e742d480354ef0e336dfe8c2f17
refs/heads/master
2020-04-27T16:33:57.275890
2019-04-10T01:09:51
2019-04-10T01:09:51
174,486,040
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
from socket import * #服务器地址 host = '127.0.0.1' port = 9999 addr = (host,port) #创建套接字 sockfd = socket(AF_INET,SOCK_DGRAM) #收发消息 while True: #发送消息 data = input("Msg>>") if not data: break sockfd.sendto(data.encode(),addr) #接受消息 msg,addr = sockfd.recvfrom(1024) print("Receive from ...
[ "ahu@163.com" ]
ahu@163.com
a39c4901cd3ea3b970eac16df6e9449edf83b9bf
ed0780889408c9968f3c987fbace61aa11770ba1
/rythmize/__init__.py
7fbe776402cfcb70ac2e582492b9d2840232a719
[]
no_license
maleksal/rythmize-api
b45af58c594e882dbbe248a479d6f88064332cf4
6d538a7eae617c32b5405c8c92f1cd4f7f42ce3c
refs/heads/main
2023-07-18T18:40:54.718307
2021-09-13T14:14:17
2021-09-13T14:14:17
304,356,537
5
1
null
2020-11-04T13:43:10
2020-10-15T14:43:15
Python
UTF-8
Python
false
false
875
py
""" Create flask application. """ import os from flask import Flask from .admin import admin_settings from .api.v1.views import api_views from .extensions import cors, db, guard, ma, mail from .models.user import User def create_app(config_env): """Initiate app using Flask Factory Pattern.""" app = Flask(_...
[ "malek.salem.14@gmail.com" ]
malek.salem.14@gmail.com
433a20c2b321ceee12bcc5ba041c9f6638a6c4b4
e2a6cc522daca1a0060644fcc487b684a0849c34
/ecommerce_project/login_app/forms.py
ad20e0f8b1d8ef135c0e16ae8659bb72fb9fe0b8
[]
no_license
Tanzin-Ul-Islam/Django_Ecommerce_sslcommerz
0c341ab0f045479a8cd7fce6a736ebfa62db55c4
fdec49a5c4ed7e943d4e7c8778c8f254117f87cd
refs/heads/main
2023-02-08T17:19:11.283296
2020-12-29T22:02:31
2020-12-29T22:02:31
321,987,204
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
from django.forms import ModelForm from login_app.models import User, Profile from django.contrib.auth.forms import UserCreationForm class ProfileForm(ModelForm): class Meta: model = Profile exclude = ('user',) class SignUpForm(UserCreationForm): class Meta: model = User fields...
[ "tanzin.cse@gmail.com" ]
tanzin.cse@gmail.com
dd8412c8a6aece59b5d524a5c1c11c537bc38c52
fc29ccdcf9983a54ae2bbcba3c994a77282ae52e
/Leetcode/325-presum.py
c3e5f9dbbe27aeaad335dcc81cdb202360b980a3
[]
no_license
linnndachen/coding-practice
d0267b197d9789ab4bcfc9eec5fb09b14c24f882
5e77c3d7a0632882d16dd064f0aad2667237ef37
refs/heads/master
2023-09-03T19:26:25.545006
2021-10-16T16:29:50
2021-10-16T16:29:50
299,794,608
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
from typing import List class Solution: def maxSubArrayLen(self, nums: List[int], k: int) -> int: memo = {} res = 0 cur_sum = 0 memo[cur_sum] = -1 for idx, val in enumerate(nums): cur_sum += val if cur_sum - k in memo: res...
[ "lchen.msc2019@ivey.ca" ]
lchen.msc2019@ivey.ca
b7a63f283bc4352d3165fd8aae7a005711aa608d
c97b9ae1bf06757ba61f90905e4d9b9dd6498700
/venv/Lib/site-packages/tensorflow/core/protobuf/data/experimental/snapshot_pb2.py
6ff5b17b88d56e9937049ac3adbb5748da83bf01
[]
no_license
Rahulk1p/image-processor
f7ceee2e3f66d10b2889b937cdfd66a118df8b5d
385f172f7444bdbf361901108552a54979318a2d
refs/heads/main
2023-03-27T10:09:46.080935
2021-03-16T13:04:02
2021-03-16T13:04:02
348,115,443
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:6ddffc53da063702a6f6211385bdd679c42227bb1dd87be76feeacb69fc30bb6 size 10684
[ "rksc.k1p@gmail.com" ]
rksc.k1p@gmail.com
583cfa8145a469e7dbf7f5fa01e42d36462ea762
c5d6e21744f10c6e57d58b57bba2763b82a9726b
/Bimestre_04_Aula_04/02_letras.py
bed4bf61752730b5ca1c49735df58909d70d1e6b
[]
no_license
valeriacavalcanti/ALP-2020-R
bf32af707d49db650deb6d122a1abdf58d94ae4f
62e0be861ad7439b99ae5d0b0e14d97c887424c7
refs/heads/main
2023-05-05T02:05:00.128872
2021-06-04T10:30:05
2021-06-04T10:30:05
316,784,824
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
frase = input('Frase: ') letras = [] for s in frase: if ((s >= 'a' and s <= 'z') or (s >= 'A' and s <= 'Z')) and (s not in letras): letras.append(s) print(letras)
[ "valeria.cavalcanti@ifpb.edu.br" ]
valeria.cavalcanti@ifpb.edu.br
e922ca8c459ceb36f136a75e1fe68b947faf0553
90d3af65fc9900f2abb7eaa7631646856e115da3
/COMP9021/challenge/merge_strings.py
09d6d075032614f7aafc9a7756415ff50498952b
[]
no_license
Tim-hyx/UNSW-Courses
d414b79b6c5b428be12456ba85e1757ac871535b
b7031ea9ac833b5a396e7938ef73cc335a2e37b7
refs/heads/main
2023-07-10T19:48:34.731340
2021-08-10T02:39:14
2021-08-10T02:39:14
300,894,504
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# Written by Eric Martin for COMP9021 def can_merge(string_1, string_2, string_3): if not string_1: return string_2 == string_3 if not string_2: return string_1 == string_3 if string_1[0] == string_3[0]\ and can_merge(string_1[1 :], string_2, string_3[1 :]): return True ...
[ "noreply@github.com" ]
Tim-hyx.noreply@github.com
510d52809fb94163286af1dd16c5f0d892dc29df
3b98ee18977177e10b57e6162a03204e3774d3b8
/Kirk_Byers_Nornir_Automation/env/lib/python3.8/site-packages/nornir_napalm/plugins/tasks/__init__.py
f48b5b83218e80cf28db8c5fb893eb17186ed306
[]
no_license
mattmiller87/practice
0a3d1cae1283abb683dfab0af86e6c569a6104e1
9655a8020038e0f6dfe8df842867debac0fcb1e3
refs/heads/master
2022-06-23T23:47:50.350379
2022-06-14T13:30:51
2022-06-14T13:38:56
51,970,550
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
from .napalm_cli import napalm_cli from .napalm_configure import napalm_configure from .napalm_get import napalm_get from .napalm_ping import napalm_ping from .napalm_validate import napalm_validate __all__ = ( "napalm_cli", "napalm_configure", "napalm_get", "napalm_ping", "napalm_validate", )
[ "mattmiller87@gmail.com" ]
mattmiller87@gmail.com
1684baab9978a790c1a1abaa5ba07d46c9297150
1798bed996931a9e7b6c9a469f86e24589fa9cf0
/huxley/api/tests/test_committee.py
14041809495b2be4aecd91ede104035ddcb95cdd
[ "BSD-3-Clause" ]
permissive
joannejqi/huxley
8eae38af706b4f5d714736c99741541d2c3aae73
b4b5cac213c9605599900eca8ed0225086a5cf4c
refs/heads/master
2020-05-29T08:41:22.712756
2016-10-02T22:18:12
2016-10-02T22:18:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,822
py
# Copyright (c) 2011-2015 Berkeley Model United Nations. All rights reserved. # Use of this source code is governed by a BSD License (see LICENSE). from huxley.api import tests from huxley.api.tests import auto from huxley.utils.test import TestCommittees, TestUsers class CommitteeDetailGetTestCase(auto.RetrieveAPIA...
[ "k.mehta@berkeley.edu" ]
k.mehta@berkeley.edu
acf4f07c5b846474dd3390e18f33eb6453daf203
52b5773617a1b972a905de4d692540d26ff74926
/.history/dominator_20200827125530.py
4033c37b5502fead050650b44dcd3b8bd2988b5c
[]
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
450
py
def leader(A): # create a dictionary the element that occurs more than n//2 times # once I find it I return the index store = {} candidate = -1 for i in A: if i in store: store[i] +=1 else: store[i] = 1 for i in store: if store[i] > (len(A) //...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
e435b233f1d458a10d2400e3ce0e0c5739b80ec8
d687773b56813a684454542b55953289fd2d6fb9
/tensorflow/python/ops/linalg/linear_operator_block_lower_triangular.py
43107c092e36d13b03290c38145b7b62a0df0dde
[ "Apache-2.0" ]
permissive
danielyou0230/tensorflow
988cc69f47153b5d1c8045e6cc5d0852091977f5
c7c3c5c9e602c5670c15d7a81d440ed6cc1d13f6
refs/heads/master
2022-12-13T04:57:08.347868
2020-08-31T19:10:52
2020-08-31T19:16:12
279,970,720
2
1
Apache-2.0
2020-07-17T18:29:15
2020-07-15T20:26:27
C++
UTF-8
Python
false
false
37,270
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
0fe855a596925a8feaac09b26bd6830c252b6375
d996edcd595c565c5725a16286ce8d338af67246
/src/rl/environments/bandit.py
40ded8fedcd9633048d32e37660a86d830ceaa5b
[]
no_license
preddy5/dltemplate
fbbfce7660c451495e255cf8d8437e4b4e207f9c
77b04b767cbd4914e0a3d3609c645e475aabcc43
refs/heads/master
2020-04-28T19:37:04.893001
2019-03-13T13:35:04
2019-03-13T13:35:04
175,517,056
1
1
null
2019-03-13T23:59:40
2019-03-13T23:59:39
null
UTF-8
Python
false
false
3,429
py
""" From https://courses.edx.org/courses/course-v1:Microsoft+DAT257x+2T2018/course/ (errors and redundant code included ;) """ import numpy as np import sys # Interface class Environment(object): def reset(self): raise NotImplementedError('Subclasses must override reset.') def actions(self): ...
[ "markmo@me.com" ]
markmo@me.com
a89a60b286af90a01447471f18579f1512a3c20b
a8314fb4e71a229f2288ca0588bbb3ebd58b7db0
/leet/merge_two_sorted_lists/main.py
810455adabdede95f2ff4ba1f28c025393049b90
[]
no_license
blhwong/algos_py
6fc72f1c15fe04f760a199535a0df7769f6abbe6
9b54ad6512cf0464ecdd084d899454a99abd17b2
refs/heads/master
2023-08-30T17:45:51.862913
2023-07-24T18:56:38
2023-07-24T18:56:38
264,782,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
from data_structures.list_node import ListNode class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: curr1 = l1 curr2 = l2 head = None tail = None def add_to_tail(val): nonlocal head nonlocal tail if not head: ...
[ "brandon@yerdle.com" ]
brandon@yerdle.com
29262b4bc686b91c5cee62b93f08b580f4d31284
e838076bc1c8aedbb8c77710b1a1a32efc3a4da1
/site_selection/apps.py
b4f50ec62e3c821e21b1a8a29ac8fa68633ac19f
[]
no_license
abbasgis/ferrp
5f2f7768f0e38e299498c2e74379311698b6321f
77736c33e7ec82b6adf247a1bf30ccbc4897f02e
refs/heads/master
2023-05-25T09:59:45.185025
2021-06-12T09:15:07
2021-06-12T09:15:07
376,236,936
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
from django.apps import AppConfig class SiteSelectionConfig(AppConfig): name = 'site_selection'
[ "abbas123@abc" ]
abbas123@abc
88748958f155fdf6f5309640b3a89f748bad225e
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Logit/model_control_one_enabled_Logit_MovingAverage_Seasonal_Second_SVR.py
14fcfd600f9d3e0f16af66b34160eb3958b35e58
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
163
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Logit'] , ['MovingAverage'] , ['Seasonal_Second'] , ['SVR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
712e14f4ca6830112d3e199b7a2dddaf97f50512
9cc1b58d0319308da98187d071295b2fabf1f080
/0608/a0608_03_matplotlib模組試用2.py
97333bfaef57ef352a284ad83d82ab346c07fd2f
[ "MIT" ]
permissive
Arwen0905/Python_Test
60d1dee383c9cf27df6b93cfde7884c91092229c
c75357e4354a684a9fae41f751dae60d4cf0716c
refs/heads/master
2023-01-13T13:14:55.355898
2020-10-31T18:52:07
2020-10-31T18:52:07
265,150,874
0
1
null
null
null
null
UTF-8
Python
false
false
912
py
import matplotlib.pyplot as plt import random # list_x1 = [1,5,7,9,13,16] # list_y1 = [15,50,80,40,70,50] # list_x2 = [2,6,8,11,14,16] # list_y2 = [10,40,30,50,80,60] list_x1 = [] list_y1 = [] list_x2 = [] list_y2 = [] for i in range(4): list_x1.append(random.randint(1,50)) list_y1.append(random.randint(1,50))...
[ "qq23378452@gmail.com" ]
qq23378452@gmail.com
3f9e0de70db659c1bc01acd9909894dc74a0c1a2
a87eed5b49858ee547c2363a9d29a5c625db254f
/examples/log_requests.py
035cc4e95d5243acbcfef0c810012b8089ee290d
[ "BSD-2-Clause" ]
permissive
parkerhancock/requests-cache
3a58d8829eba27796dd551d98d93237f24fd2179
e3ae526cba37a4ea2d8a48b05aaeff062847c644
refs/heads/master
2023-05-31T11:59:29.964100
2021-07-09T21:01:11
2021-07-09T21:01:11
371,452,485
1
0
BSD-2-Clause
2021-07-09T14:03:50
2021-05-27T17:25:43
Python
UTF-8
Python
false
false
1,522
py
#!/usr/bin/env python3 """ An example of testing the cache to prove that it's not making more requests than expected. """ from contextlib import contextmanager from logging import basicConfig, getLogger from unittest.mock import patch import requests from requests_cache import CachedSession from requests_cache.sessio...
[ "jordan.cook@pioneer.com" ]
jordan.cook@pioneer.com
85ed8f1963ad348e607ad90fca7242976a2638a6
eb99769b7c9e0eb1cf3b88878934a400ba42f0bf
/users/migrations/0002_auto_20180614_1023.py
7649e59641c40a952777371d5d47701aa6f2a3bf
[]
no_license
Levalife/petsterr2.0
3657b200b9e236b81896f4ac104932e85517ceb3
43d20e65362596d72942fe624c29fd4f84d90f9a
refs/heads/master
2023-01-13T04:58:23.496527
2018-09-13T09:50:48
2018-09-13T09:50:48
203,134,329
0
0
null
2023-01-05T21:55:18
2019-08-19T08:48:32
Python
UTF-8
Python
false
false
3,743
py
# Generated by Django 2.0.6 on 2018-06-14 10:23 import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('countries', '0003_auto_20180614_1023'), ('users', '0001_initial'), ] operatio...
[ "levushka14@gmail.com" ]
levushka14@gmail.com
b58bc1f53f284b177d9a168c3cd8522e9ce5c134
30d02ec6dd309dced011d266ca40bace293fb23e
/20210315/swapping_nodes_in_a_linked_list.py
6c72e9f8fb965b8d2a1629cd4d2d42b7e2144379
[]
no_license
jyeoniii/algorithm
b72f5e9f7fe63098c251bcc1585787ba39ca750c
7d80e27aec8fbac936911ee78a92c47b00daa3ba
refs/heads/master
2023-04-15T01:39:41.149528
2021-04-22T13:55:58
2021-04-22T13:55:58
316,533,879
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
# https://leetcode.com/explore/challenge/card/march-leetcoding-challenge-2021/589/week-2-march-8th-march-14th/3671/ from common.common_data import ListNode class Solution: def swapNodes(self, head: ListNode, k: int) -> ListNode: length = 0 node, node1 = head, None while node: ...
[ "jaykim9438@gmail.com" ]
jaykim9438@gmail.com
745625739eb2a5d142639ae759a2c01bc73b0535
69da8d0f4d5d50b40019959a83dda09aa75f6dd3
/test/test_columndatatypegetter.py
19b486d3dce2c01e583932793a1daac2d5f241ce
[ "MIT" ]
permissive
Peter-32/neatdata
62e8fbccd28257ec7e533eeec1cd5f579ae93247
8796ca9f027ad727440b2f11479ad5ab22aa8e09
refs/heads/master
2021-05-10T09:52:34.488575
2018-03-31T23:12:29
2018-03-31T23:12:29
118,937,405
0
0
null
null
null
null
UTF-8
Python
false
false
2,276
py
import unittest import pandas as pd import numpy as np from neatdata.neatdata import * class TestColumnDataTypeGetter(unittest.TestCase): def testColumnDataTypeGetter_Execute(self): # Assemble now = pd.datetime.now() trainX = pd.DataFrame({'col1': [1,1,1,1,1,1,1], ...
[ "peter@impactradius.com" ]
peter@impactradius.com
25d958bd368dc46714b98ad965f5d05421db8589
190aad44ef1892d413ce29ee3b3bf08d78622181
/notebooks/Easily_creating_MAB_problems.py
d63694f86e4ed918545d1903e9b03048a216a8c1
[ "MIT" ]
permissive
choltz95/SMPyBandits
0ea40ed50a0d4db1833cba028b3f1cf779137a0c
04bc2b2bf10f8043afa5cac6589c191745735d9c
refs/heads/master
2021-01-04T13:10:46.724834
2020-02-14T15:04:07
2020-02-14T15:04:07
240,565,363
1
0
MIT
2020-02-14T17:39:19
2020-02-14T17:39:19
null
UTF-8
Python
false
false
11,872
py
# coding: utf-8 # # Table of Contents # <p><div class="lev1 toc-item"><a href="#Easily-creating-MAB-problems" data-toc-modified-id="Easily-creating-MAB-problems-1"><span class="toc-item-num">1&nbsp;&nbsp;</span>Easily creating MAB problems</a></div><div class="lev2 toc-item"><a href="#Constant-arms" data-toc-modifie...
[ "lbesson@ens-cachan.fr" ]
lbesson@ens-cachan.fr
634bc45cb7e7a4fac71119db55fdd5b876c9f2c1
d2a2546165b3db6295a3f21972dda8ab9aab7846
/src/vehicles/witch_hill_dump.py
1c97fe495c9bea288903b47daf6afdd2b767a4a8
[]
no_license
andythenorth/road-hog
bab12b133dd674f0e6d7ae87498675f8da96b982
1800d57d4ce904e7041f24646c393b37903d9466
refs/heads/main
2022-09-26T19:57:31.006800
2022-09-17T10:09:37
2022-09-17T10:09:37
214,848,659
1
2
null
null
null
null
UTF-8
Python
false
false
775
py
from road_vehicle import DumpHauler, DieselRoadVehicle consist = DumpHauler(id='witch_hill_dump', base_numeric_id=500, name='Witch Hill', road_type='HAUL', power=900, speed=50, # dibbled up above RL for game balan...
[ "mail@andythenorth.co.uk" ]
mail@andythenorth.co.uk
79ad6dc22c43fed47a393c0aff8caff6d7af35e4
f93ecb6738037629d6a7f81ccdc278a0e6051859
/backend/users/migrations/0002_auto_20210107_1422.py
0fcc43097aae6dd692bacb76114aaf83f58efae8
[]
no_license
crowdbotics-apps/rntest-23713
5b30bda09e0023387c8f831655fc2c61178e54e9
1e08218f2b705815a63bba73a00590c439543e0d
refs/heads/master
2023-02-10T01:12:56.843111
2021-01-07T15:52:33
2021-01-07T15:52:33
327,614,935
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# Generated by Django 2.2.17 on 2021-01-07 14:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('course', '0001_initial'), ('users', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e0576df71c2522cdb2051d37f75b5bdada967a89
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v10/services/services/audience_service/transports/base.py
ff56552e7c1a9f7d86489c08a7f4d73273e0a941
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
5,929
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
e7d8a1682099ac7153d8ad000c1e50c2359043a1
c87397b08516625c178040e736cf87e61b227fa5
/inversioncount.py
73a7f1595a4acf8fc7b6152a498cb1a0cc991c25
[]
no_license
sainihimanshu1999/HackerRank-Solution
26cb839aeb46c373643d5ad347a348103c1a147e
ad1e9e450474782b06add3c0c66108e3890d56ec
refs/heads/master
2022-12-24T07:16:48.576461
2020-09-11T15:16:34
2020-09-11T15:16:34
271,944,521
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
#!/bin/python3 import math import os import random import re import sys # Complete the countInversions function below. def countInversions(arr): n = len(arr) temp = [0]*n return _mergeSort(arr,temp,0,n-1) def _mergeSort(arr,temp,left,right): count = 0 if left<right: mid = (left+right)//...
[ "sainihimanshu.1999@gmail.com" ]
sainihimanshu.1999@gmail.com
69cc6cdd46138f0cab03ad3c1137e1b4b13e2da9
b3d552675b36cb88a1388fcfc531e497ad7cbee9
/day2/filter_demo/filter_demo/views.py
096b4b76668d64379b9b12eb6c60b5e53333f08f
[]
no_license
gaohj/1902_django
3cea1f0935fd983f25c6fd832b103ac5165a2e30
822af7b42120c6edc699bf97c800887ff84f5621
refs/heads/master
2022-12-11T10:02:50.233398
2019-11-26T08:33:38
2019-11-26T08:33:38
209,241,390
2
0
null
2022-12-08T07:28:24
2019-09-18T07:05:48
Python
UTF-8
Python
false
false
733
py
from django.shortcuts import render from datetime import datetime def greet(word): return "hello world %s" % word def index(request): context = { 'greet':greet } return render(request,'index.html',context=context) def add_view(request): context = { 'value1': ['1','2','3','4'], ...
[ "gaohj@126.com" ]
gaohj@126.com
fac49fce5a9dca3eb4fba19fc3f0b99240d3b0d7
4bf344f5069a0048b7ee4fb49dc9a1126256f2ee
/fotalora_project/settings.py
48ec2c322f17cbee166e3cbc7f38246c16bcca96
[]
no_license
rikicop/fotalora
1377881f866990ad96a90b3d3add04583c6a9175
4313bfce6423bcd6cdd79850e5c3975ae42b9de3
refs/heads/main
2023-04-12T02:22:05.124849
2021-05-15T23:07:32
2021-05-15T23:07:32
345,458,802
0
0
null
null
null
null
UTF-8
Python
false
false
2,870
py
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = 'j1v0z5+s9%9_iaczr^8#!y%!xcmta93p3y_afjyor7w=^pf^%9' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [...
[ "ruperto1@protonmail.com" ]
ruperto1@protonmail.com
9f430d239d4708d95d76a6d4db2165837fcbc7e6
94bfb1346a9ce4cf6ca8bfeeb5194b7a467731a6
/aclark/db/migrations/0017_profile_twitter_username.py
b51796a7afd925ff83b1d5063aa2f2333263afca
[ "MIT" ]
permissive
aclark4life/aclarknet-best-pro
4006cad37c2eec166a98a73e988b9b490a10e5cb
e256bfdd63ad4445bf0a75ef0b91f6e1fd2479ea
refs/heads/master
2023-03-01T09:10:04.041913
2020-12-01T18:40:07
2020-12-01T18:40:07
140,634,961
0
0
MIT
2021-02-10T01:57:38
2018-07-11T22:49:33
CSS
UTF-8
Python
false
false
398
py
# Generated by Django 2.1.9 on 2019-06-14 15:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("db", "0016_auto_20190614_1208")] operations = [ migrations.AddField( model_name="profile", name="twitter_username", f...
[ "aclark@aclark.net" ]
aclark@aclark.net
7301b9b8125559dd52eb5fc208f1086b7c2c123a
169e75df163bb311198562d286d37aad14677101
/tensorflow/tensorflow/contrib/ffmpeg/__init__.py
484ffee3e7afe55c63cab2a463454353b2663e18
[ "Apache-2.0" ]
permissive
zylo117/tensorflow-gpu-macosx
e553d17b769c67dfda0440df8ac1314405e4a10a
181bc2b37aa8a3eeb11a942d8f330b04abc804b3
refs/heads/master
2022-10-19T21:35:18.148271
2020-10-15T02:33:20
2020-10-15T02:33:20
134,240,831
116
26
Apache-2.0
2022-10-04T23:36:22
2018-05-21T08:29:12
C++
UTF-8
Python
false
false
1,329
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "thomas.warfel@pnnl.gov" ]
thomas.warfel@pnnl.gov
9da5dce08297733c59ac76e87bfeff418f8cd12d
3a9379132ef3ebb5ab9ae67a3baea146006381e6
/Pc_06_Beautiful Soup/pc_02_基本用法.py
328e49540567d5e34da008278433b7fa3527d567
[]
no_license
ahaoao/PySpider
9c8280affcee27985105a09ea354ac77773d77a6
9c32bd56a8b198050f3b467fe233a3699de73ecf
refs/heads/master
2020-08-09T21:29:37.666947
2019-10-10T12:09:03
2019-10-10T12:09:03
214,172,820
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
from bs4 import BeautifulSoup import requests url = 'http://www.baidu.com/' html = requests.get(url) soup = BeautifulSoup(html.text, 'lxml') # 调用prettify()方法,这个方法可以 把解析的字符串以标准的缩进格式输出 # 对于不标准的HTML字符串BeautifulSoup可以自动更正格式。这一步不是由prettify做的,而是由BeautifulSoup初始化时完成的 print(soup.prettify()) print(soup.script.string) # soup.s...
[ "18985242014@163.com" ]
18985242014@163.com
dfe78435554de2c451f2c5930ffba74f7560af9e
e8fe313e5598fd123f8055b811b1a09f6224bd00
/service/actions.py
2d24e26c5fac500e6b0656499ab358da363f26db
[ "MIT" ]
permissive
getcircle/python-soa
2a6a7cfd6a3ccaa92b6f57b82debe48434a9fa1c
590b53691ff959713e331c25353d8c9280e10100
refs/heads/master
2021-04-30T23:35:04.385252
2016-12-05T04:50:12
2016-12-05T04:50:12
27,792,550
0
0
null
null
null
null
UTF-8
Python
false
false
8,994
py
import traceback import service.control from . import settings from .paginator import Paginator class Action(object): class ActionError(Exception): def __init__(self, error, details=None, *args, **kwargs): self.error = error self.details = details super(Action.ActionE...
[ "mwhahn@gmail.com" ]
mwhahn@gmail.com
5f0d9d471cca84f57ebe03ec9ef0319c27f74a5a
5f64c8189e195f6b1f530e8c6acd0e843c72c02a
/feets/libs/ls_fap.py
9493f4c88361313d2aef2185e49c194c74a04c2e
[ "MIT" ]
permissive
LVFerrero/feets
388967873fabb592c89f04dcd758a402d99dd8b9
9938db85c80721eeae621c0a41630e757c23da68
refs/heads/master
2022-10-03T22:24:20.955364
2020-06-03T02:47:01
2020-06-03T02:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,374
py
""" Utilities for computing periodogram statistics. """ import numpy as np from scipy.special import gammaln from astropy.stats.lombscargle import LombScargle def _weighted_sum(val, dy): return (val / dy ** 2).sum() def _weighted_mean(val, dy): return _weighted_sum(val, dy) / _weighted_sum(np.ones_like(val...
[ "jbc.develop@gmail.com" ]
jbc.develop@gmail.com
565efacfb179f927cd8af26c61ae0c3ba3ef8487
81d0bfe1262008587ddf5ac12ae034d6922b9747
/.history/Smart/__init___20201119002524.py
cbb9b10af0ff19c067a3b2a07463887dced7e82c
[]
no_license
elvinyeka/Smart-Mobile
525fffac14b8c460e85002bbf154bf54b4a341fe
a32f557306ae1bfe3ae01f5a8beef93727cfbc47
refs/heads/master
2023-06-09T09:52:18.446572
2021-07-06T11:35:34
2021-07-06T11:35:34
313,988,596
2
0
null
null
null
null
UTF-8
Python
false
false
242
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['SECRET_KEY'] = 'mysecretkey' app.config['SQLALCHEMY_FATABASE_URI'] = 'sqlite:///smart.db' db = SQLAlchemy(app) from Smart.admin import routes
[ "elvinyeka@gmail.com" ]
elvinyeka@gmail.com
db6fcccd53af36e20f21c598728bfabd1fd1670b
07504838d12c6328da093dce3726e8ed096cecdb
/pylon/resources/datapoints/count_f.py
bb3f91dd8f3a573a6949efe5dc7b8e474bfb55b5
[]
no_license
lcoppa/fiat-lux
9caaa7f3105e692a149fdd384ec590676f06bf00
7c166bcc08768da67c241078b397570de159e240
refs/heads/master
2020-04-04T02:47:19.917668
2013-10-10T10:22:51
2013-10-10T10:22:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
"""count_f standard datapoint type, originally defined in resource file set standard 00:00:00:00:00:00:00:00-0. """ # Copyright (C) 2013 Echelon Corporation. All Rights Reserved. # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (th...
[ "lcoppa@rocketmail.com" ]
lcoppa@rocketmail.com
144be98081d6a3fcf808759973235a49fa3db8bf
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/7/r2h.py
fac514c85439c28023704dae8965d97ca969d91f
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
5d3c950baf2810efddb7193b9a250d54b794cb01
6a6d8c0c8ddd6f5a1c03788f35320dd4b82314ea
/yamtbx/dataproc/cbf.py
f0cfd76d63abd9e9a3ee424e9184619b4ec59abc
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "MIT" ]
permissive
nsls-ii-mx/yamtbx
b817a131a8f6f515db99bc1743f81218997ac4ed
311cf5a20e27a035a9e89c2abcb3c7d5e3684d67
refs/heads/master
2021-01-11T12:05:38.166937
2017-01-24T16:26:44
2017-01-24T16:26:44
76,574,177
1
0
null
2016-12-15T16:00:06
2016-12-15T16:00:06
null
UTF-8
Python
false
false
3,840
py
""" (c) RIKEN 2015. All rights reserved. Author: Keitaro Yamashita This software is released under the new BSD License; see LICENSE. """ import os import pycbf import numpy from cbflib_adaptbx import cbf_binary_adaptor, CBFWriteAdaptor def load_cbf_as_numpy(filein, quiet=True): assert os.path.isfile(filein) ...
[ "keitaroyam@users.noreply.github.com" ]
keitaroyam@users.noreply.github.com
d1551b299452133a0b0cbed2ff1bbd265b8010d5
999a0db734e9fc858a3708831fa9a55d7672ebf3
/Code/EnhanceCWE-master/muo/admin.py
b2c20e11f2828ccd88165fb9605a84e0f8f9ac25
[]
no_license
coredamage/MORE
45acc0499ec9af5ddca1783459966e58fdd83fb2
72d3464cf4e737fd1c0cb67f73f1bcf0ffbc98f8
refs/heads/master
2020-05-23T18:32:37.769720
2016-06-14T13:35:52
2016-06-14T13:35:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,133
py
# @OPENSOURCE_HEADER_START@ # MORE Tool # Copyright 2016 Carnegie Mellon University. # All Rights Reserved. # # THIS SOFTWARE IS PROVIDED "AS IS," WITH NO WARRANTIES WHATSOEVER. # CARNEGIE MELLON UNIVERSITY EXPRESSLY DISCLAIMS TO THE FULLEST EXTENT # PERMITTEDBY LAW ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, # IN...
[ "rmditmore@cert.org" ]
rmditmore@cert.org
0ade154f6e8c21659fa6a191193b26eca83f5fed
d439cfe7ae0b01026ba1a821fa2ab853ccee9600
/bi_eval/negativePointer1.py
5164723a9738a64080ea3830beee70725268479a
[]
no_license
luofang0212/synyi_test
6e16a7d52aab8aba39605e09df1a4115bd7af39e
386d1c7a72bd7eae8d16c64492cd0ca3bc6cd775
refs/heads/master
2023-08-29T17:30:23.307048
2021-11-03T08:10:01
2021-11-03T08:10:01
411,960,666
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from bi_eval.score_color import to_color ''' 负向指标-情况1 当(参考值/实际值)>=150% , 则指标得分=分值权重满分*150% 否则指标得分= (参考值/实际值)*分值权重满分 ''' # 实际值 actual_value = 200.76 # 参考值 reference_value = 32 # 分值 score = 100 # 分值权重 score_weight = 0.4 # 分值权重满分:指标分值 full_score = score * ...
[ "warm_homel@163.com" ]
warm_homel@163.com
2a5399b7ae8b60b9ef91e4857e333b52637e45aa
d305e9667f18127e4a1d4d65e5370cf60df30102
/mindspore/nn/layer/activation.py
2ff36e3771ea3bb61485c355d5c49b02dd9ac886
[ "Apache-2.0", "MIT", "Libpng", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "IJG", "Zlib", "MPL-1.1", "BSD-3-Clause", "BSD-3-Clause-Open-MPI", "MPL-1.0", "GPL-2.0-only", "MPL-2.0", "BSL-1.0", "LicenseRef-scancode-unknow...
permissive
imyzx2017/mindspore_pcl
d8e5bd1f80458538d07ef0a8fc447b552bd87420
f548c9dae106879d1a83377dd06b10d96427fd2d
refs/heads/master
2023-01-13T22:28:42.064535
2020-11-18T11:15:41
2020-11-18T11:15:41
313,906,414
6
1
Apache-2.0
2020-11-18T11:25:08
2020-11-18T10:57:26
null
UTF-8
Python
false
false
15,984
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "513344092@qq.com" ]
513344092@qq.com
5787255ed323fe6e376304ba1c7501341403c07f
720668c26680d91db9e19cca9a9e348ec8f615ee
/app/snippets/serializers/users.py
a79228232b8b1679fbb934783f51016ae39dbbca
[]
no_license
orca9s/drf-tutorial
a619f4669d5cf38d5450e19f27491ddaa0fbe4b3
4a214a51b94e7449ad16e061e3b799e215059955
refs/heads/master
2020-03-23T07:41:01.865456
2018-08-22T12:18:04
2018-08-22T12:18:04
141,285,479
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
from django.contrib.auth import get_user_model from rest_framework import serializers User = get_user_model() __all__ = ( 'UserListSerializer', ) class UserBaseSerializer(serializers.ModelSerializer): class Meta: model = User fields = ( 'pk', 'username', ) c...
[ "sang93423@gmail.com" ]
sang93423@gmail.com
66f36110ab14cc56a6425df036cd827d82a1dd07
81c85850747f97ccc6ed36e3e0a859b99ef38fe8
/agesprot/settings.py
6630d034f511e8d362388af3c9ce8257d623e610
[]
no_license
agesprot1/agesprot
f5047447a37ea8e92b4ffa2d72ae7814d0af8950
34c14a176bca5523999d27d5b9f695a6fac9df96
refs/heads/master
2021-01-20T22:11:18.686295
2016-08-23T22:38:57
2016-08-23T22:38:57
61,495,314
0
0
null
null
null
null
UTF-8
Python
false
false
4,306
py
""" Django settings for agesprot project. Generated by 'django-admin startproject' using Django 1.9.6. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "alka65@hotmail.com" ]
alka65@hotmail.com
ee7b9a746e26d3d7ca43bc6c61e95f16d6ebf222
e9c3e8f6ae05b0144237d01671f9a02404c43154
/miltiple_leds_blink.py
82014aa46d4c8b36a31d58522a17bd32d2b2ee2b
[]
no_license
vtt-info/micropython-stm32-examples
b836fe8a54119fcfdd95046d4edae043a156b695
b6bbcb98a23b615914a015c7cbdedd550f5807ed
refs/heads/master
2022-07-27T17:38:31.202661
2020-05-13T10:57:20
2020-05-13T10:57:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
# File: miltiple_leds_blink.py # Date: 2020-05-12 import utime as time from machine import Pin, Timer from micropython import const import pyb LED_ON = const(0) LED_OFF = const(1) pin_names = ['PB7', 'PB8', 'PB9'] leds = [] timers = [] def timer_cb(t): for i in range(len(leds)): if t is timers[i]: ...
[ "noreply@github.com" ]
vtt-info.noreply@github.com
0546778d3f2fa010ce9c2c93f6bc71b9f51e646d
28dbe47aba287ed94ef7bba734203736bcc06249
/.history/dmac_20200622205638.py
77543d6f6b94646db2f428cbd9cca2864dcb43d5
[]
no_license
ntung88/Trading_Algorithms
242fd816b19df95e02e9fcd8c5c91c862d2ede40
d96488b1754e3751f739d9c3f094a8f8dc54a0a9
refs/heads/master
2022-11-19T16:04:07.800344
2020-07-17T21:14:10
2020-07-17T21:14:10
276,239,640
1
0
null
null
null
null
UTF-8
Python
false
false
3,030
py
import yfinance as yf import numpy as np from scipy.stats import norm import pandas as pd from pandasgui import show from scipy.optimize import minimize, LinearConstraint def clean_data(data): incomplete_idxs = False for col in data.columns: incomplete_idxs |= np.isnan(data[col]) return data[~incom...
[ "nathantung@Nathans-MacBook-Pro.local" ]
nathantung@Nathans-MacBook-Pro.local
c7d3a8082fd97115e80cd4558e5ee03d7cbd7f89
64b8f6bdb761f9f278599f43ebc5207b9dc92089
/RVFollowupCalculator.py
e29841d72dc78326eaea1252c1e9dbf71885d2d2
[]
no_license
r-cloutier/RVFollowupCalculator
86f20dcf3ae95dcf9b38b170ff5d6ff4fc84b9a7
001742eec53d14854e89b372f4d5ae52faf89561
refs/heads/master
2023-01-07T23:48:41.093636
2020-11-16T22:01:39
2020-11-16T22:01:39
114,957,184
0
0
null
null
null
null
UTF-8
Python
false
false
19,996
py
from imports import * from compute_sigmaRV import * from sigmaRV_activity import * from sigmaRV_planets import * from compute_nRV_GP import * from Teff2color import * global G G = 6.67e-11 def nRV_calculator(Kdetsig, input_planet_fname='InputFiles/user_planet.in', input_star_fnam...
[ "cloutier@astro.utoronto.ca" ]
cloutier@astro.utoronto.ca
9d125524877cbebcf436f96886124726b5d7b8dc
f89be43b609ba7adbd810d9e6be9a86535a5534b
/backend/manage.py
3e49221ec710bb29434a7e4c802f8bcf2662d32c
[]
no_license
crowdbotics-apps/job10-1-21205
1bbe9e590bb56f0d9b79dd880fdc09eddb35365a
03fecd5de5044b5cebd251db956fe488a2c5ddae
refs/heads/master
2022-12-24T17:43:08.725348
2020-10-07T02:34:28
2020-10-07T02:34:28
301,907,760
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'job10_1_21205.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3a66b93859d7e2856ed8ab9d2d6816eb7ec770a5
6437a3a4a31ab9ad233d6b2d985beb50ed50de23
/PythonistaAppTemplate/PythonistaKit.framework/pylib_ext/sympy/core/singleton.py
5c6a0cf0ef5674d9b1f789df47abc4b97246a080
[]
no_license
sreyemnayr/jss-lost-mode-app
03ddc472decde3c17a11294d8ee48b02f83b71e7
3ff4ba6fb13f4f3a4a98bfc824eace137f6aabaa
refs/heads/master
2021-05-02T08:50:10.580091
2018-02-08T20:32:29
2018-02-08T20:32:29
120,813,623
1
0
null
null
null
null
UTF-8
Python
false
false
10,396
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "ryanmeyersweb@gmail.com" ]
ryanmeyersweb@gmail.com
c9d96c82ef607caa0e93a5186ec8e99a4d87c8f7
22279487bee5c983c13887ba11e6a4cd40e8bbe3
/PreprocessData/all_class_files/MediaObject.py
1b3bdb85b4d8431bc6d31f3557fa26747e9361d0
[ "MIT" ]
permissive
DylanNEU/Schema
018c9f683c683068422ed7b6392dcebd4ab4d4cd
4854720a15894dd814691a55e03329ecbbb6f558
refs/heads/main
2023-08-30T01:50:20.541634
2021-11-01T15:30:41
2021-11-01T15:30:41
425,238,713
1
0
MIT
2021-11-06T12:29:12
2021-11-06T12:29:11
null
UTF-8
Python
false
false
6,727
py
from PreprocessData.all_class_files.CreativeWork import CreativeWork import global_data class MediaObject(CreativeWork): def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None, potentialAction...
[ "2213958880@qq.com" ]
2213958880@qq.com
860f69580f038a5ee95e9bb3716a5de3706cd5e9
22b93005b05aa4cbfa6287c42e07244b9bf83be9
/examples/evaluation/evaluate_on_binary_classifier.py
401e318d6e536120fd59d628d4797c48f373b8c1
[ "Apache-2.0" ]
permissive
dbczumar/mlflow
63ede1f21966def17ded0da9c8e92a207b34b90d
e293a73b510c924cbca50b6337b6d6f9fd9f8f1b
refs/heads/master
2023-08-31T23:40:55.475707
2023-07-15T04:22:18
2023-07-15T04:22:18
138,797,518
1
3
Apache-2.0
2023-08-23T23:01:08
2018-06-26T21:51:19
Python
UTF-8
Python
false
false
1,138
py
import xgboost import shap import mlflow from mlflow.models import infer_signature from sklearn.model_selection import train_test_split # Load the UCI Adult Dataset X, y = shap.datasets.adult() # Split the data into training and test sets X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33, rando...
[ "noreply@github.com" ]
dbczumar.noreply@github.com
86f7dca124eb48e1a49eadf8555a03606c97d20a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_206/1234.py
642dcec803933335fa83ea5efbed092fd01d0f03
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
import sys def compute_velocity(destination, horses, case): horses.sort(reverse=True) worst_time = (destination - horses[0][0]) / horses[0][1] # time = space / velocity for horse in horses: todo = destination - horse[0] time = todo / horse[1] if time > worst_time: worst...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
fa991b25b0077691bcdb0f4aebfdd7fbd9cfffa7
247d58856bb5f3ac70d115e78243af24dd9afec1
/examples/riscv/llbin/macro_verilog_pp.py
92dc3e6d3b92bbd421a4a9822bcc85546671297b
[]
no_license
greenblat/sv2v
f69d9b9c6312b770aadac7d88dc145cfd4f661ae
7b69e7675b0f4f04fe7088f4223578c9e9c451d6
refs/heads/master
2020-03-28T15:47:29.133374
2018-11-14T11:12:10
2018-11-14T11:12:10
148,626,320
0
0
null
null
null
null
UTF-8
Python
false
false
18,856
py
#! /usr/bin/python ''' help: invocation: macro_verilog_pp.py [-h] [-y Dir] [-I Dir] [-o <filename>] [-split [dir]] File1 File2 .... this script massages verilog files. it interprets ifdef/elsif/else/endif directives it includes include files it replaces all macro definitions it computes co...
[ "greenblat@mac.com" ]
greenblat@mac.com
486fee25f44daefb4a45ef3fdc8399fa53757948
26d6c34df00a229dc85ad7326de6cb5672be7acc
/msgraph-cli-extensions/beta/teams_beta/azext_teams_beta/vendored_sdks/teams/operations/_chats_tabs_operations.py
5c7bf927ea10d271873b7c5d09f4c2b248533be7
[ "MIT" ]
permissive
BrianTJackett/msgraph-cli
87f92471f68f85e44872939d876b9ff5f0ae6b2c
78a4b1c73a23b85c070fed2fbca93758733f620e
refs/heads/main
2023-06-23T21:31:53.306655
2021-07-09T07:58:56
2021-07-09T07:58:56
386,993,555
0
0
NOASSERTION
2021-07-17T16:56:05
2021-07-17T16:56:05
null
UTF-8
Python
false
false
12,692
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
67f5408bdbe2f902601c09601cf989801f06e51d
80b7f2a10506f70477d8720e229d7530da2eff5d
/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp6serversessions_cca5dcfe9b97a6a418479e240dcecfb7.py
c5b265aae20c3442542996d86f4810141e245cd3
[ "MIT" ]
permissive
OpenIxia/ixnetwork_restpy
00fdc305901aa7e4b26e4000b133655e2d0e346a
c8ecc779421bffbc27c906c1ea51af3756d83398
refs/heads/master
2023-08-10T02:21:38.207252
2023-07-19T14:14:57
2023-07-19T14:14:57
174,170,555
26
16
MIT
2023-02-02T07:02:43
2019-03-06T15:27:20
Python
UTF-8
Python
false
false
20,885
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
8fcc98ef1e17399e656b2982f4f3df049be9a227
4fd7e936dd38213a74f19abd760cc2b5f2c9be3f
/119-guild-incorrectly-importing-flags-from-other-modules/test.py
ad3831b26d04ee89bf89cde77a645ab19b3aed9c
[ "Apache-2.0" ]
permissive
guildai/issue-resolution
8eae7c74ffd71f018e62d7374ac173671e81c0be
7fc5f6dac9090c7a7838715e99cef2e8d9867729
refs/heads/master
2023-08-04T00:44:29.549711
2023-07-31T18:42:46
2023-07-31T18:43:44
200,896,019
0
3
null
2023-07-03T08:13:20
2019-08-06T17:29:37
Python
UTF-8
Python
false
false
231
py
import argparse import submod # Unused but triggers the bug. See submod.py p = argparse.ArgumentParser() p.add_argument("--foo", default=123) if __name__ == "__main__": args = p.parse_args() print("foo: %s" % args.foo)
[ "g@rre.tt" ]
g@rre.tt
0fbb084607b6a8f4c9a5e8d59df82a86c66aefe8
5b58a332c6bea0688d196aabedfc8ccc49bdd134
/experiments/models_angles_10s/train.py
ed7fba7dc84e9805e65f5d67ac01dc274ec22035
[]
no_license
ver228/classify_strains
5420c2b3ea8e93b6ba46900c385f52f664f1cbd7
dc61e7431410e25ab7c2da0acb6d090cc2ebaabb
refs/heads/master
2021-09-20T08:52:14.505868
2018-08-07T12:26:22
2018-08-07T12:26:22
108,448,619
0
1
null
null
null
null
UTF-8
Python
false
false
2,703
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Nov 17 10:43:03 2017 @author: ajaver """ import os import sys import time import torch from torch import nn #Be sure to use abspath linux does not give the path if one uses __file__ _BASEDIR = os.path.dirname(os.path.abspath(__file__)) src_dir = os.pa...
[ "ajaver@MRC-8791.local" ]
ajaver@MRC-8791.local
df90a8b291201afd2ac6f43b22b4e233d8ae03ba
185f30795be9a8fec6539fe17753fb909e258e4c
/ljy_16并发编程/ljy_06守护进程.py
4bc8faf01e00183b143fd3a907f0a7d528374fa2
[]
no_license
OPBrother/LearningPython
bd375430ce013abd9a4279f60e5f9457e965bdf7
9d264acb269a6191f7ec49abba25c98002f4fcd1
refs/heads/main
2023-03-31T06:47:43.071370
2021-04-12T07:09:16
2021-04-12T07:09:16
350,307,686
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
""" 守护进程:父进程活着子进程活着,父进程死亡子进程死亡,该子进程就是守护进程 """ from multiprocessing import Process import time def task(name): print("%s总管正在活着" % name) time.sleep(3) print("%s总管正在死亡" % name) if __name__ == '__main__': p = Process(target=task, args=("egon", )) p.daemon = True # 将p设置成守护进程,这句一定要放在start前面,否则报错 ...
[ "2276720277@qq.com" ]
2276720277@qq.com
e3bf33f81a6bf24febb67c78fecdd9915a355ad3
b6d475893a3d5a83d17c4219eaa2c154d1f77ec6
/app/auth/views.py
af6e8155eb39d7642ebc5d16fafcbb90bec1f4ba
[ "MIT" ]
permissive
MungaiKeren/Pitch-It
6de28bac0ef7392952bfe2e9df6ec40b2a4962a8
ae0d85ea9437da4aacadc297e9e0a20ae955debf
refs/heads/master
2020-07-25T10:09:52.369506
2019-10-02T06:46:20
2019-10-02T06:46:20
208,254,162
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
from flask import render_template,request,redirect, url_for, flash from . import auth from ..models import User from .forms import RegistrationForm,LoginForm from .. import db from flask_login import login_user,logout_user,login_required # from ..email import mail_message @auth.route('/login',methods=['GET','POST']) ...
[ "wambukeren@gmail.com" ]
wambukeren@gmail.com
4c383fb4bc9641f2ae9c5ba17ecc3744790fd8fd
19c6e23d87d7b304f5674ebcdb0f56e602663446
/amqpstorm/tests/connection_tests.py
008fa1300af618af9e16bfff8c5984dfc2deb678
[ "MIT" ]
permissive
gitter-badger/amqpstorm
088bf0d697bd545ec5a5a497315acce0b701bb8f
47023ab652a63487dcbcd89ebf30768217aef113
refs/heads/master
2020-12-11T01:50:55.828417
2016-07-14T23:11:34
2016-07-14T23:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,807
py
import logging import socket import ssl import threading from mock import MagicMock try: import unittest2 as unittest except ImportError: import unittest from amqpstorm.io import IO from amqpstorm import Connection from amqpstorm.exception import * from pamqp.specification import Basic as spec_basic from pa...
[ "me@eandersson.net" ]
me@eandersson.net
7a7f0c99c26ddd39486ccc9e7cac0ca8934dce27
e41651d8f9b5d260b800136672c70cb85c3b80ff
/Notification_System/temboo/Library/Facebook/Actions/General/Follows/ReadFollows.py
91b6517f195a642d85b17b6b03768d222d7f5d93
[]
no_license
shriswissfed/GPS-tracking-system
43e667fe3d00aa8e65e86d50a4f776fcb06e8c5c
1c5e90a483386bd2e5c5f48f7c5b306cd5f17965
refs/heads/master
2020-05-23T03:06:46.484473
2018-10-03T08:50:00
2018-10-03T08:50:00
55,578,217
1
0
null
null
null
null
UTF-8
Python
false
false
5,265
py
# -*- coding: utf-8 -*- ############################################################################### # # ReadFollows # Retrieves one or more follow actions. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this fi...
[ "shriswissfed@gmail.com" ]
shriswissfed@gmail.com
3d592a84a2929f37cce6ce6273455084be52287f
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-Cocoa/PyObjCTest/test_nsdebug.py
a28db7783a27caf49e4e9f84f4f5836d944f21a2
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
1,110
py
import Foundation from PyObjCTools.TestSupport import TestCase class TestNSDebug(TestCase): def testFunctions(self): self.assertResultIsBOOL(Foundation.NSIsFreedObject) Foundation.NSRecordAllocationEvent Foundation.NSFrameAddress Foundation.NSReturnAddress Foundation.NSCoun...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
4d0e2b1e5bf9f1ce7f7948c69c1941894264bfbf
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/dhcp/lbldef.py
41ea0cb28d90949a7936280f0ea202625be425e1
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
19,448
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
82fe38e752875c45d8e077fbd4e2bd5dd55b4f04
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_middleweights.py
56d926d6a9b798ce9d565d446c1f67605078abf6
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from xai.brain.wordbase.nouns._middleweight import _MIDDLEWEIGHT #calss header class _MIDDLEWEIGHTS(_MIDDLEWEIGHT, ): def __init__(self,): _MIDDLEWEIGHT.__init__(self) self.name = "MIDDLEWEIGHTS" self.specie = 'nouns' self.basic = "middleweight" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2fba743f49ec0a3a286e945e1e913510556c9323
d7f2007f2f9d87b314f59027d591226152a8aa8b
/pcaps/dnsreduce.py
3451f328624af2ebbde081bac998cc094e0876a0
[]
no_license
jwde/comp116-jdestories
ad824d44c54cabfe4546113dfac113338e329a1f
8b0756f13e79c73b8da9e345788017dbda6a6a70
refs/heads/master
2021-01-18T13:20:36.410966
2015-12-15T22:26:49
2015-12-15T22:26:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
import fileinput import re lines = [] for line in fileinput.input(): lines.append(line) for i in range(len(lines)): if not i == 0: match = re.search('.* (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).*', lines[i]) if match: ip = match.group(1) print "\t".join([ip, lines[i - 1][18:]])
[ "root@localhost.localdomain" ]
root@localhost.localdomain
250f0548ad501d762e33ffc702fc874c85f97b85
fdec477002fb0c5f013faf369d2a1e782172a1d6
/COVID19/Vaccine/views.py
4ac499c5b50e3f84443b7b97adaadf63287c01d4
[]
no_license
aimiranarzhigitova/API_projects
19fb416479e5a76dab760f38621e643e2db609cb
8256cc1bc8dc939453c61a39215e89dbd96fecb1
refs/heads/master
2023-05-16T08:52:51.209458
2021-06-06T09:44:53
2021-06-06T09:44:53
374,322,074
1
0
null
null
null
null
UTF-8
Python
false
false
2,644
py
from collections import OrderedDict from django.http import JsonResponse from rest_framework.response import Response from rest_framework.generics import ListAPIView, ListCreateAPIView, RetrieveUpdateDestroyAPIView from rest_framework.filters import SearchFilter from rest_framework.pagination import PageNumberPaginati...
[ "aymira.narzhigitova@gmail.com" ]
aymira.narzhigitova@gmail.com
9e7b09a6a4c2d1b2618300fb8c999147a2987994
700f9f9e319ebd26d2557d64ea3827808dfad2f5
/tests/fixtures/test_references_json/content_16_expected.py
44ae2665689e10ebe81b405d34d6a9fb9c33332b
[ "MIT" ]
permissive
elifesciences/elife-tools
1b44e660e916a82ef8ff64dd5a6ee5506e517359
bc16e7dd5d6245077e39f8561b99c9acd510ddf7
refs/heads/develop
2023-03-06T08:37:47.424282
2023-02-20T20:40:49
2023-02-20T20:40:49
30,274,058
13
11
MIT
2023-02-20T20:40:50
2015-02-04T01:14:41
Python
UTF-8
Python
false
false
2,083
py
from collections import OrderedDict expected = [ OrderedDict( [ ("type", "unknown"), ("id", u"bib11"), ("date", u"2006"), ( "authors", [ OrderedDict( [ ("t...
[ "gnott@starglobal.ca" ]
gnott@starglobal.ca
9beb538b5dcf7efc3b834e8a9a8cf283d7bb8f56
f3d7aad9fae3275f232cdfd6417f1c9c8a610cc1
/titlesFotos.py
33d0eeb575494eab64b8877cc711de14be6bc006
[]
no_license
LKingJ23/Python_Flask_Headlines
7b4a8c0f675e7e92cab29e99737ef487239a276e
886ca997846dcc82ed31033468e35d9958b1061b
refs/heads/master
2020-03-17T12:21:07.545431
2018-05-15T23:56:58
2018-05-15T23:56:58
133,584,653
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
from lxml import etree import urllib2 ns={"Atom" : "http://www.w3.org/2005/Atom"} parser=etree.XMLParser() tree=etree.parse(urllib2.urlopen('https://api.flickr.com/services/feeds/photos_public.gne?tags=sevilla'),parser) for node in tree.xpath('//Atom:entry/Atom:title', namespaces=ns) : print node.text
[ "lkingj23@gmail.com" ]
lkingj23@gmail.com
bece8694dfc647bf047112a1a9968ab83d6c43a9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03860/s734303213.py
5c5cec8efcb1a3649bc607fcd3b9df520b3850e0
[]
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
62
py
inp=list(input().split()) index=inp[1][0] print("A"+index+"C")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
87ff49ec6b62039abc4b66959c36345ef52853ab
19bc4d44dc7303e23a6949b1bc7b98b65bcf80e9
/python/Hypothesis_Testing_with_Python/Experimental_Design/Sample_Size_Determination_with_Simulation/introduction.py
c3366c4c4a904b84707b4f9e2198df81eb5a06b7
[]
no_license
henry1034/Challenge-Project-of-CodeCademy
c66190ff3a318e22f263fcf78344632773065c24
61ebe84696cec120393acca62b4fce4bdea0fb30
refs/heads/master
2023-07-04T01:04:16.978374
2021-07-29T17:27:56
2021-07-29T17:27:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
import pandas as pd from scipy.stats import chi2_contingency data = pd.read_csv("ab_data.csv") print(data.head()) # calculate contingency table here ab_contingency = pd.crosstab(data.Web_Version, data.Purchased) print(ab_contingency) # run your chi square test here pval = chi2_contingency(ab_contingency)[1] print(pv...
[ "noreply@github.com" ]
henry1034.noreply@github.com
d4f4358369b0e45816e7faef51d89207e706197f
6ed86bcacca9d065251171a0b53498d630a3b340
/src/edrn/labcas/ui/views/_metadata.py
d2541bd601b050ff06a6233d1794ae1919ebb079
[]
no_license
EDRN/edrn.labcas.ui
595f56b60a72632d1b816d2414a6887f0099e70a
54a5c947d1a93d73c13b33517e3f1fd0acaec3b5
refs/heads/master
2021-01-24T07:12:40.324545
2020-03-12T19:49:45
2020-03-12T19:49:45
38,981,139
1
0
null
2018-02-22T20:18:12
2015-07-12T22:55:12
Python
UTF-8
Python
false
false
4,148
py
# encoding: utf-8 from edrn.labcas.ui import PACKAGE_NAME from edrn.labcas.ui.interfaces import IBackend from edrn.labcas.ui.utils import ( LabCASWorkflow, re_python_rfc3986_URI_reference, LabCASCollection, createSchema, addIdentifiersForStringFields, ID_NUMBER_HUNTER ) from pyramid.httpexceptions import HTTPF...
[ "kelly@seankelly.biz" ]
kelly@seankelly.biz
41d226f467c29b6749b5ff10392a729eccb01326
015efe8cf8e2740d76a8d0b378f1e75de182103a
/test/unitTestSuite.py
c3c6bfc137471219de330689fae11f42a4c88238
[ "MIT" ]
permissive
Samakwa/PyGeodesy
d6dbe7f825ee1858cd58e677aae37fd6c60570ee
4a5b6ac584c12bafc243d08dfc18d872707126d0
refs/heads/master
2020-03-28T04:11:51.548133
2018-09-05T17:35:01
2018-09-05T17:35:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,680
py
# -*- coding: utf-8 -*- # Module to run all PyGeodesy tests as python setup.py test from glob import glob from os.path import abspath, dirname, join import sys import unittest _test_dir = dirname(abspath(__file__)) # extend sys.path to include the ../.. directory if _test_dir not in sys.path: # Python 3+ ModuleNo...
[ "mrJean1@Gmail.com" ]
mrJean1@Gmail.com
bb4072ebe6c3e4a99fb1a57b8d0f722c97f38521
3e276ce46afcdaf365fd62b45ceba19327535f14
/src/libs/github/request.py
183377038e90b8e73a10a612875176a72e106be5
[ "MIT" ]
permissive
17Y9E81/QQ-GitHub-Bot
1ca28ccc4b1a2bbbbb24419271389599dcd8ceb4
35c20d28aafaedc1813c6213ede9f2f51e56d5a2
refs/heads/master
2023-07-13T12:26:33.201661
2021-08-25T09:17:20
2021-08-25T09:17:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,030
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @Author : yanyongyu @Date : 2021-03-09 17:34:53 @LastEditors : yanyongyu @LastEditTime : 2021-06-15 22:14:45 @Description : None @GitHub : https://github.com/yanyongyu """ __author__ = "yanyongyu" import base64 import urllib.parse fro...
[ "yanyongyu_1@126.com" ]
yanyongyu_1@126.com
3def651405ae307c54ab931f32c357ee7db71021
fae559bba4c7b7818628c808e909acfe0856662a
/java-debug-class
d99d620d93a5bca08b66895621e8697000081f69
[]
no_license
pixzels69/cmd-tools
01811536b04603810a9547e827673d9569bcc655
91e9f3647379b30899d94daf5812f279014f7878
refs/heads/master
2020-05-01T12:11:04.313317
2017-09-30T07:20:10
2017-09-30T07:20:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,575
#!/usr/bin/python # -*- coding: utf-8 -*- import os as mod_os import os.path as mod_path import sys as mod_sys import utils.optparser as mod_optparser opt_parser = mod_optparser.OptParser() delete = opt_parser.has_param( short_name = 'd', long_name = 'delete', comment = 'Delete' ) no_compress = opt_parser.has_param(...
[ "tkrajina@gmail.com" ]
tkrajina@gmail.com
2759d8c95ba6f43470bfd97c99a7dbf69b9fdb76
077de1b3c5b1e5531e96f999be95a63c02a0208a
/yabgp/config.py
6db8b9fa05bb91bc46dd9943570b1090f96d741a
[ "Apache-2.0" ]
permissive
unixian97/yabgp
5171f3dfa9070fbf91bd2a34fad6d4f32b0b9534
1b6752376a43f3c2958ead0afbf3f33ec311ddbd
refs/heads/master
2021-01-24T18:12:31.133442
2017-02-10T08:10:14
2017-02-10T08:10:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,436
py
# Copyright 2015 Cisco Systems, Inc. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
[ "xiaoquwl@gmail.com" ]
xiaoquwl@gmail.com
9debf401bbd7759e2274873f21dbb4f2e291d155
892a20e473b51538a1297842c05e3dddc13d55d7
/indigo_pl/toc.py
5c61df032672fce31ffa1e95f6bbdf97b5ac11ae
[]
no_license
epforgpl/pl-indigo
1eaa5662ed287610bc80bec8c3b363a036ea6de7
2722f65c27572c935b838979defcd1b282499419
refs/heads/master
2021-06-27T17:06:10.208890
2019-05-02T15:32:31
2019-05-02T15:32:31
143,410,269
1
1
null
2019-05-02T15:32:33
2018-08-03T09:52:39
Python
UTF-8
Python
false
false
860
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from indigo.analysis.toc.base import TOCBuilderBase from indigo.plugins import plugins @plugins.register('toc') class TOCBuilderPL(TOCBuilderBase): locale = ('pl', 'pol', None) toc_elements = ["article", "chapter", "conclusions", "coverpage", "...
[ "greg@kempe.net" ]
greg@kempe.net
7cbadac299d6d1aa1aa7c1bf6d8c12eef42f1ec9
20a3cc1106fa86fc2d45cd1728cc87d5db97e1f7
/dnce/synth8.py
09101dc78c48d9e56e0944a1335bcecf7fe268ec
[]
no_license
sarahboufelja54/galatea
f5664f0b3117629b2c5bbe078a1bd52bb5e359e6
002a9f2905868be25b71770190fb2d5eda11c861
refs/heads/master
2020-12-04T13:45:07.697189
2018-12-12T16:27:09
2018-12-12T16:27:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,399
py
#An experiment with synthetic data to test whether DNCE works. #For the data-dependent noise model we use additive gaussian noise #The data is just samples from a zero mean, unit precision univariate #gaussian. We initialize the model with the wrong precision and see #how close we can come to recovering the correct pre...
[ "goodfellow.ian@gmail.com" ]
goodfellow.ian@gmail.com
2aecf525c7041dcb9c7c2cf97f75b7d1334847e7
e2ae5c6d1d3ff9c512d526b1b4d7d7b64d50e87d
/py/leetcode/405.py
f3f4193e0aac1cae5a84217d9e3aab33fa3a9ee4
[]
no_license
wfeng1991/learnpy
59ed66d0abc2947c2f73c0bfe3901ef45ba5eb56
e5b018493bbd12edcdcd0434f35d9c358106d391
refs/heads/master
2021-01-23T07:35:08.376547
2018-09-28T02:16:31
2018-09-28T02:16:31
86,430,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
class Solution(object): def toHex(self, num): """ :type num: int :rtype: str """ if num==0: return '0' d = {'0000':'0', '0001':'1', '0010':'2', '0011':'3', '0100':'4', '0101':'5', '011...
[ "jkwangfeng@qq.com" ]
jkwangfeng@qq.com
1496d3188e68081c95d6988cf1f24525fc62d41d
2fc6766f36a9f8c0abc536d7c582102315bce1ba
/services/common/msg_service.py
e95e8e47df679ced6c81046bc1978d23e4e00521
[ "MIT" ]
permissive
freedream520/loonblog
0cb153f28c14cced89738e297ee909494ba057b6
63d1f06d04047f220f550de914e542f535bb61a3
refs/heads/master
2021-06-22T13:53:24.492717
2017-08-25T01:53:33
2017-08-25T01:53:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
import os import multiprocessing from multiprocessing import Process from django.core.mail import send_mail,EmailMultiAlternatives from services.base_service import BaseService from services.common.auto_log_service import auto_log import logging logger = logging.getLogger('default') class MsgService(BaseService): ...
[ "blackholll@163.com" ]
blackholll@163.com
d728ab2d2395985d3d16ea123321c8da086c8be3
e9744e750f02674235bb2748bf6b2f88b2b6015e
/python/ql/test/query-tests/analysis/suppression/test.py
17c495ff1a44ed622ff66cbb2aadb5b62b51767e
[ "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "LicenseRef-scancode-free-unknown", "Python-2.0", "MIT" ]
permissive
lecoursen/codeql
88b9887cfa3021b19aa3fa881ec2fc0160dc8ce7
0f710b1981031a00f8f223effe57a7da5e66b727
refs/heads/main
2023-04-02T21:08:39.295521
2021-03-29T17:18:45
2021-03-29T17:18:45
352,731,731
12
0
MIT
2021-03-29T17:40:05
2021-03-29T17:40:05
null
UTF-8
Python
false
false
1,536
py
# Formatting tests: "" # lgtm "" # lgtm[py/line-too-long] "" # lgtm[py/line-too-long, py/non-callable-called] "" # lgtm[@tag:security] "" # lgtm[@tag:security,py/line-too-long] "" # lgtm[@expires:2017-06-11] "" # lgtm[py/non-callable-called] because I know better than lgtm "" # lgtm: blah blah "" # lgtm blah blah #fa...
[ "mark@hotpy.org" ]
mark@hotpy.org
d9c24f7f6e438efd40050a757067aa092a6f3a23
c083825cabec4920e3e24ea79d907112b1b3497d
/bin/sshtool.py
876c0c2e650d46eeeb54cfbaa7509a8c1a1ade80
[]
no_license
fsxchen/ssh-tool
bf767187c8c8354a39dc1f6e211fe96999cafec8
b5e65b4f071ff7494d8c75a7885d8acc70701c54
refs/heads/master
2021-01-18T22:47:36.032425
2016-11-23T09:40:27
2016-11-23T09:40:27
62,549,177
0
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
#!/usr/bin/env python #coding:utf-8 import os import sys import pwd import getpass from paramiko import SSHClient from paramiko import AutoAddPolicy, SSHException client = SSHClient() # client.load_system_host_keys() LOCAL_USER_NAME = pwd.getpwuid(os.getuid()).pw_name def sync_public_key(host, port=22, username=No...
[ "--global" ]
--global
2c8a7ffc46f660df02634a1f90d9b9bf6f612e88
d8a1e25c1af97abc651e1fc7883adb201c85eac2
/income/urls.py
ac6abd25555e12b9f704c72ad1ea0d459fb5822c
[]
no_license
taeheechoi/python-incomeexpense-api
710709fa29418f038e9dd68f453eec3d43e646a6
c3f95d7c02ab897f6b7ccb0fdca184c4fb877aa3
refs/heads/main
2023-07-13T21:03:43.876212
2021-08-16T01:37:02
2021-08-16T01:37:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
from django.urls import path from . import views urlpatterns = [ path('', views.IncomeListAPIView.as_view(), name='incomes'), path('<int:id>', views.IncomeDetailAPIView.as_view(), name='income'), ]
[ "dadac76@hotmail.com" ]
dadac76@hotmail.com
8e51c1b3480b0e04785035065d04d12fb381a05b
2a922e742c5a914b8eea504f992b2f253944cb4f
/Importing-data-in-python-part-2_course6/importing-data-from-the-internet_lesson-1/Turning_a_webpage_into_data_using_BeautifulSoup_getting_the_hyperlinks.py
86a757203ef257a2004b34601ef84f4981427a5d
[]
no_license
anujaraj10/DataCampPythonCourses
f2bc7a0d4062c056f920c45fbd454227874aca1f
51e74bf15703dfeae49ab1c64c5e680819a425cc
refs/heads/master
2021-08-16T22:04:53.310531
2017-11-20T11:11:22
2017-11-20T11:11:22
108,404,625
1
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
#In this exercise, you'll figure out how to extract the URLs of the hyperlinks from the BDFL's webpage. In the process, you'll become close #friends with the soup method find_all(). #Instructions #Use the method find_all() to find all hyperlinks in soup, remembering that hyperlinks are defined by the HTML tag <a>; sto...
[ "anujaraj10@gmail.com" ]
anujaraj10@gmail.com
a7aaec1ba8d079c0d38ada0c435bd9504e86795b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02394/s756995345.py
31e1e4013e6d13e2664d67f309eb1480666dffa1
[]
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
100
py
w,h,x,y,r=map(int,input().split()) print("Yes" if x-r>=0 and x+r<=w and y-r>=0 and y+r<=h else "No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
98ea4e85d3a130b7d8ed60081050f61defefe8fe
34ef83114e02b173bd2d55eb53ad399e738a8e3c
/django/search2/sample_app/sample_app/settings.py
76e5f88c03cc4cee9ab9e147c3eecc5b148713bc
[]
no_license
vavilon/Python3
e976a18eb301e4953696d1e3f4730ed890da015a
8c79729747ce51d60ad685e6a2e58292954ed7eb
refs/heads/master
2023-01-09T13:44:37.408601
2018-01-25T22:41:14
2018-01-25T22:41:14
100,892,055
0
1
null
2022-12-26T20:29:27
2017-08-20T22:23:06
Python
UTF-8
Python
false
false
3,220
py
""" Django settings for sample_app project. Generated by 'django-admin startproject' using Django 1.10.1. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import...
[ "overon4ek@gmail.com" ]
overon4ek@gmail.com
a50bdabdce5a97a9861b18e6086594080a3a8d8e
03abf1d207d8e2d2f9387617dcf7cd49663cf41d
/tests/test_array.py
5100f412a996f6570749db525fd3c809235b2093
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mgeier/sfs-python
8cd1bd3d7fd2737de53fdf78d3cbfd1d0b89297f
c89f53d08a1f631e41dfe39f6cafe57c8ca48055
refs/heads/master
2021-07-13T18:02:01.732602
2019-09-04T12:45:40
2019-09-04T12:45:40
228,433,867
0
0
MIT
2019-12-16T16:58:08
2019-12-16T16:58:07
null
UTF-8
Python
false
false
2,107
py
import numpy as np from numpy.testing import assert_array_equal import pytest import sfs def vectortypes(*coeffs): return [ list(coeffs), tuple(coeffs), np.array(coeffs), np.array(coeffs).reshape(1, -1), np.array(coeffs).reshape(-1, 1), ] def vector_id(vector): if...
[ "Matthias.Geier@gmail.com" ]
Matthias.Geier@gmail.com
217b1f98f4c9c25d443e1b7559c4c49ca79d54ee
60b48df762a515a734cfbedd7ca101df43f04824
/python/ray/air/train/integrations/rl/__init__.py
391b59c60777c8c27ad21e3de27eebd269a3b844
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
LuBingtan/ray
a02b13c4dceab2b0d54870fd3abae5c11bae916e
298742d7241681ee1f307ec0dd3cd7e9713a3c7d
refs/heads/master
2023-03-05T16:32:35.596725
2022-06-05T23:21:53
2022-06-05T23:21:53
223,334,544
0
1
Apache-2.0
2023-03-04T08:56:53
2019-11-22T06:01:51
Python
UTF-8
Python
false
false
124
py
from ray.air.train.integrations.rl.rl_trainer import RLTrainer, load_checkpoint __all__ = ["RLTrainer", "load_checkpoint"]
[ "noreply@github.com" ]
LuBingtan.noreply@github.com
554809587637d919463df1b5db0b15218f11beca
b6f8b81f2b895b1b0b27c1a6267b6f5c1ea52e81
/eventsourcing/application/multiprocess.py
10ce0c26367849071f776187e764d60f33734e38
[ "BSD-3-Clause" ]
permissive
pjvds/eventsourcing
62c79d80c94adf7b2121b1b03c544f00d73738d6
8404c5b26719ed9d9d1d257ebba774879c7243c4
refs/heads/master
2020-04-18T09:42:17.037336
2018-07-15T09:17:22
2018-07-15T09:17:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,120
py
import multiprocessing from multiprocessing import Manager from time import sleep import six from eventsourcing.application.process import Prompt from eventsourcing.application.system import System from eventsourcing.domain.model.decorators import retry from eventsourcing.domain.model.events import subscribe, unsubsc...
[ "john.bywater@appropriatesoftware.net" ]
john.bywater@appropriatesoftware.net
4ece04618e14620c18d05f65a12122fcf3f71fca
996fd22214f9d83ecdb0163e6f38568c4596bf56
/union.py
88c0950145a20502c5634d6cac8d9a5bdd7d913c
[]
no_license
1024Person/ProxyPool
cdabe5d6e29fd98109e4ae1dbb86391bb511310f
1ec3a79ca02f5e7d6d3d39bb34d6ba922a217a55
refs/heads/master
2023-03-21T19:16:30.370551
2021-03-14T05:24:52
2021-03-14T05:24:52
344,514,686
1
0
null
null
null
null
UTF-8
Python
false
false
3,984
py
# 整合模块 # 发现在扩展的时候,因为这个只调用调度模块,导致第二个调度模块的检查器会将之前检查的代理ip再次检查一遍这样非常的费事, # 已经检查过一次了就不需要在重复检查了,所以这里有两个解决方案: # 1、重构scheduler模块,让他可以实现多个爬取器,然后一个检查器 # 2、添加整合模块,将每一个调度器的爬取器,爬去下来的ip存放到不同的文件中,然后检查的时候也只是检查这个调度器下的文件中的ip, # 所有的调度器都结束工作之后,利用整合模块将所有文件中的ip整合到一个文件中 import sys import os import pandas as pd from scheduler import Scheduler...
[ "239903524@qq.com" ]
239903524@qq.com
e995a49bf1c95011475c2e732e5b352d136705b9
5b8d55b89f7f33e1a2dcdd36e406eee8334e4678
/convert.py
f0a9ce47e91333881d030eebe5a88d1e59fa885e
[]
no_license
manasRK/document_rating
b9fda56511d8cbe0a438a924718ca1e6fb63a154
e3caced4586c058d8239235cfe44fac6802e097f
refs/heads/master
2020-04-08T17:33:07.090176
2015-11-12T07:12:36
2015-11-12T07:12:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
__author__ = 'NLP-PC' from load_data import load_pickle from save_data import dump_picle def convert(source_file): s = load_pickle(source_file) dump_picle(s, str(source_file)[:-2] + '_v2.7.p', protocol=2) convert('./web_api/embedding_matrix_CVAT.p') convert('./web_api/word_idx_map_CVAT.p')
[ "yunchaohe@gmail.com" ]
yunchaohe@gmail.com
e6ba65eb534a04b8a0a6d2d01a017523e94bf4b8
547df2c76e6c3f4b7ac84441a14541eb0122f369
/input.py
bd899bfd115eddce0a04a80fcaedc1ff8b53ab29
[]
no_license
daeken/space_game
8fa0d727faa7bb79f802546ca530f70312c3e48a
a02195f2ea9f442d5775ec75caa3464a3fa001de
refs/heads/master
2021-01-15T17:29:30.210249
2010-09-09T04:06:25
2010-09-09T04:06:25
897,841
3
1
null
null
null
null
UTF-8
Python
false
false
1,164
py
import pygame MOVE_DOWN = 1 MOVE_UP = 2 MOVE_LEFT = 4 MOVE_RIGHT = 8 class Input: def __init__(self, spaceship): self.spaceship = spaceship pygame.key.set_repeat(1, 500) pygame.mouse.set_visible(False) def Handler(self, event): if event.type == pygame.KEYDOWN: if e...
[ "cody.brocious@gmail.com" ]
cody.brocious@gmail.com
fc7e6c14a12e070749479e2756b316ba15f6fed5
8fc49ff594f49977f1a920c4be31b54981b41ada
/plastering/inferencers/scrabble_new.py
d6644868bc47686aa9c009f8aaca25148ae3bae8
[ "MIT" ]
permissive
PeterYang21/plastering
02a342ceaf938d67de62866d0eb60d3643711e5c
7c7a21b2f18df78a9d8ec29f3d1d9f47d82c658f
refs/heads/master
2020-04-27T03:52:45.088534
2019-04-08T18:33:02
2019-04-08T18:33:02
174,037,728
0
0
MIT
2019-03-05T23:44:11
2019-03-05T23:44:11
null
UTF-8
Python
false
false
9,328
py
import os import sys import importlib.util import pdb from . import Inferencer sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/scrabble') # The above line is just for the convenience of the dev. from ..metadata_interface import * from ..rdf_wrapper import * from ..common import * POINT_POSTFIXES = ['s...
[ "bk7749@gmail.com" ]
bk7749@gmail.com
6a4ebac6a8704073f44d41ac912763d71549f5fc
d571d407cfda435fcab8b7ccadb1be812c7047c7
/guild/tests/samples/projects/op-main-package/src/pkg/main_impl.py
08fd61a59013765c65c20cd7f671f686d23f1706
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
guildai/guildai
2d8661a2a6bf0d1ced6334095c8bf5a8e391d8af
149055da49f57eaf4aec418f2e339c8905c1f02f
refs/heads/main
2023-08-25T10:09:58.560059
2023-08-12T20:19:05
2023-08-12T20:19:05
105,057,392
833
86
Apache-2.0
2023-08-07T19:34:27
2017-09-27T18:57:50
Python
UTF-8
Python
false
false
70
py
def run(): print("hello from %s in %s" % (__name__, __package__))
[ "g@rre.tt" ]
g@rre.tt
b5fe3e11facb05abce4691b745886774e4236525
e71d132abc96a77ca8a4cc8bebc229ff2c403e4a
/src/sphinx_bulma/logo/__init__.py
b6a7114d781c34f2522d6e143993789149a8f973
[ "Apache-2.0" ]
permissive
pauleveritt/sphinx_bulma
2b2d423412c7ddcbc322d2c38f845ec4a6429e1e
01a18be12f1c896a8bcd80e01b78ab6bec760b4b
refs/heads/master
2021-06-20T07:37:16.314710
2017-07-22T15:27:47
2017-07-22T15:27:47
94,641,378
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from sphinx_bulma.base import BaseComponent class LogoComponent(BaseComponent): name = 'logo'
[ "pauleveritt@me.com" ]
pauleveritt@me.com
672fa16630e8a40cf8b1e7b43f8c5612ba1a17f4
25b4fc4a54faf0f4217f3661477fa8f26cd60164
/Basket/views.py
2bcc37ebdf2ff013c67b218b2632fbe21f46d96d
[]
no_license
AshtiNematian/Book_Store_Nematian_
6f601f69f0a25522ac351e4ad963f17011254289
b83ea7319dbead2be5812e2d001c58e7d906fff9
refs/heads/master
2023-07-21T03:56:48.386869
2021-09-03T17:03:17
2021-09-03T17:04:24
402,333,026
0
0
null
null
null
null
UTF-8
Python
false
false
1,878
py
from django.http import JsonResponse from django.shortcuts import get_object_or_404, render from Basket.models import Basket from Coupon.forms import CouponApplyForm from Product.models import Book def basket_summary(request): basket = Basket(request) return render(request, 'summary.html', {'basket': basket})...
[ "you@example.com" ]
you@example.com
71e602bd3e84c341393cd3c2e541ba225c4b8f71
99da8a6d2392472cb66e5b12c03142c90640186a
/BOJ/Tree/1967.py
ffb3ad1267e97478a1e3e17f42bfe629009b13f3
[]
no_license
chorwonkim/__Algorithms__
cf6cf4ae5cf091d856397369b6db1bb41f925377
0c1e58410ae90b72c0d7e44a6179b8fedc786131
refs/heads/master
2022-09-28T16:59:20.841482
2022-09-25T09:57:58
2022-09-25T09:57:58
130,082,803
0
0
null
null
null
null
UTF-8
Python
false
false
2,486
py
from sys import stdin from collections import deque Read = stdin.readline n = int(Read()) graph = [[] for _ in range(n)] # for _ in range(n-1): # x, y, z = map(int, Read().split()) # # graph[x-1].extend((y-1, z)) # graph[y-1].extend((x-1, z)) # # print(graph) # # # def func_1967(start, node): # d = deq...
[ "upheaval212@gmail.com" ]
upheaval212@gmail.com
678b47d50d09ef3f8ac499494056aa244eebee12
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_373/ch5_2020_03_03_19_35_15_420500.py
6f2309b27579eb0ede06aa46817d5dd51c1d1ec1
[]
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
57
py
def libras_para_kg(l,kg): l= 0.45359*kg return l
[ "you@example.com" ]
you@example.com
ad5cbe674f4cef422f926c7db5c381867b4edf17
0744c9a278ad397efb8a6981f8a67014dfd78894
/textt/apps.py
0d8f304725a2575f0a7f3d7298de895ccefcb320
[]
no_license
chris-baby/test
c2b7623b5ba253a7c412b5d0a2ffd42cf262dd13
aa2e3c25a6c0191474e4a001113478f3b5daa980
refs/heads/master
2022-11-19T23:09:35.375254
2020-07-27T02:56:37
2020-07-27T02:56:37
282,777,391
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
from django.apps import AppConfig class TexttConfig(AppConfig): name = 'textt'
[ "918128078@qq.com" ]
918128078@qq.com