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
7d35ed21178cd3b2718eb13e5db1f8b56550a663
aed31882cb884ae936d61e2300607e1b91cb19f1
/python/test/viewPendingJustifications.py
447f4de360bd48856b3f6e634a2d6242344ac03e
[]
no_license
pablodanielrey/angular
a34c48a1d5f929cf9b04defa76af2221b45c8582
75c05dd467ac686dd5e7ea0d8204a9362f49a2b2
refs/heads/master
2020-04-04T01:21:10.081705
2016-10-31T17:27:17
2016-10-31T17:27:17
27,824,636
1
1
null
null
null
null
UTF-8
Python
false
false
1,143
py
import sys sys.path.append('../../python') import inject inject.configure() import uuid import json import datetime import logging from model.registry import Registry from model.connection.connection import Connection from model.assistance.justifications.status import Status from model.assistance.justifications impor...
[ "pablodanielrey@gmail.com" ]
pablodanielrey@gmail.com
0e863fc83ae62b134df6ca386fe94b2caaa420e5
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/madly.py
164bd00ec522f48a46058943fe64e50d26d23f32
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('madly', __name__, url_prefix='/madly') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('republic....
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
ae72c1c4ef06266f61752dabb07cf4214846ace3
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/tree-169.py
9dab5da2e3b44decf0b27dd3aac3bab30bf46909
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: return self.left.insert(x) elif x > self.value: if self....
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
1ab765949745b7c00967b7cfc0ccb6fbed753f56
5945903ff7b3c0be799d8b228aa96309e8d6b68a
/PTA_2020_4.py
aeebd625485aedfe4f46ae33f6f3ae27c7744359
[]
no_license
freesan44/LeetCode
44fd01fa37e2d7e729ae947da2350b1649c163ae
2ed9f1955c527d43fe1a02e5bebf5a6f981ef388
refs/heads/master
2021-12-07T20:07:02.308097
2021-11-01T23:58:11
2021-11-01T23:58:11
245,178,582
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
N = int(input()) # N = int("305") isChaoguo = False resList = [0,1] while isChaoguo == False: next = resList[-1]+ resList[-2] resList.append(next) # print(resList) if next >= N: isChaoguo = True if abs(resList[-1]-N) >= abs(resList[-2]-N): print(resList[-2]) else: print(re...
[ "freesan44@163.com" ]
freesan44@163.com
c78d91ad33390fe9af9345e19f4091eb7cbd2a28
519a27de1e55d639fefaa86f11b7f7fb8582736a
/launchdarkly_api/models/relay_proxy_configs.py
624ffa681ad6dac0176d21650d9f7774535f8a1b
[ "Apache-2.0" ]
permissive
isabella232/api-client-python
fa3aec6633dc8effffbf9719d777a432492b9afd
36de745c54091357bbfc0a938d537f249c12ad73
refs/heads/master
2023-01-13T08:02:51.811493
2020-11-20T01:07:03
2020-11-20T01:07:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,228
py
# coding: utf-8 """ LaunchDarkly REST API Build custom integrations with the LaunchDarkly REST API # noqa: E501 OpenAPI spec version: 3.9.0 Contact: support@launchdarkly.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
[ "team@launchdarkly.com" ]
team@launchdarkly.com
9cbad239f3f3a928602d7d15dd70716522f7e356
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/crypto-square/84ba5b88c8bf4fa9b10b7c27f0078f74.py
7aaa106cd0e777356c85e7716e499f0b48c3cf99
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
914
py
__author__ = 'Flavio Miranda' import math import re def encode(text): ## Remove all non alphanumeric chars [^a-zA-Z0-9] is the negation text = re.sub(r'([^a-zA-Z0-9])', '', text) if not text: # Empty string after the trimming return encoded matrix = root(len(text)) mapp = squar...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
5957ced10a636401023eb13e3fb13a4170d2985e
1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5
/hackerRank/tracks/tutorials/crackingTheCodingInterview/dataStructures/linkedLists/detectACycle.py
55fc17b7609049074ccf82b200471afac76cb57f
[ "MIT" ]
permissive
sagarnikam123/learnNPractice
f0da3f8acf653e56c591353ab342765a6831698c
1b3b0cb2cff2f478006626a4c37a99102acbb628
refs/heads/master
2023-02-04T11:21:18.211654
2023-01-24T14:47:52
2023-01-24T14:47:52
61,184,927
2
1
MIT
2022-03-06T11:07:18
2016-06-15T06:57:19
Python
UTF-8
Python
false
false
1,799
py
# Detect a Cycle ####################################################################################################################### A linked list is said to contain a cycle if any node is visited more than once while traversing the list. Complete the function provided in the editor below. It has one parameter: a...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
7c532ea22ae8ed77f2ef5ce12e7fd8db4681f61a
3f01eb21ce140e6e8d6e9f6c037a0ed3acfd0e1b
/home/migrations/0006_private_project_report_snippet.py
52f0020beb498b24385935c56c26d9365534698d
[ "MIT" ]
permissive
manushah17/Capstone_2019
01d45e3d8f925dac88c1911d853ec1b8762d5b1f
381094fc778906810e13d7611bfdb2c74cac326e
refs/heads/master
2022-12-16T21:08:29.385969
2019-09-07T15:08:42
2019-09-07T15:08:42
206,984,224
0
0
MIT
2022-12-08T01:22:56
2019-09-07T15:04:22
HTML
UTF-8
Python
false
false
649
py
# Generated by Django 2.1.1 on 2019-04-01 23:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0005_public_project_report_snippet'), ] operations = [ migrations.CreateModel( name='Private_Project_Report_Snippet', ...
[ "manushah@unomaha.edu" ]
manushah@unomaha.edu
913f38801a8f26dabf033b94516904748fc6818c
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/auLEvdvBT5PRnALvn_0.py
235fa9616650a3142f5fb6af2f04d7c17b60a41d
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
def mirror_cipher(message, key="abcdefghijklmnopqrstuvwxyz"): return message.lower().translate(str.maketrans(key, key[::-1]))
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1fabf78cf03964cfe3ff0b47915cfb1cfa0733c3
de8843384ed111a88909cd85b42d10e3ef7f25c0
/socialdiva/items.py
9c9055603921175f23b71782630bbbc7c394cba8
[]
no_license
daniel-kanchev/socialdiva
8e488220dea2c563e676c15a442443508b9b2f6d
9ebfbe49323e9d66f507a3edf1bd3f40b6cf8bb6
refs/heads/main
2023-02-21T16:51:30.402389
2021-01-25T09:39:40
2021-01-25T09:39:40
332,689,055
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
import scrapy class Article(scrapy.Item): title = scrapy.Field() date = scrapy.Field() author = scrapy.Field() categories = scrapy.Field() link = scrapy.Field() content = scrapy.Field()
[ "daniel.kanchev@adata.pro" ]
daniel.kanchev@adata.pro
a5f2dd1a405c84895c422c2ee728e6a5f67b28d5
611872a5b3091d3d368a4e60a94731b64b6a8dbb
/model architecture/cnn1D_individual_model.py
6163f187b82f7b5777d1710c17513caecb045de7
[]
no_license
thepritam/Motor-Imagery-Using-Image-
91da77486144bc41191abdb37330a3fd4db70961
d49af21562f9d0f08b20a331252b40ece7bf0dc2
refs/heads/main
2023-03-31T22:56:56.847185
2021-04-05T14:10:44
2021-04-05T14:10:44
354,827,529
0
0
null
null
null
null
UTF-8
Python
false
false
4,868
py
import numpy as np import boto3 import os import pickle import numpy as np bucketname = 'motorimageryusingeeg' s3 = boto3.resource('s3') fname1 = 'mod_data_set/X_Train' fname2 = 'mod_data_set/Y_Train' dname1 = 'X_Train' dname2 = 'Y_Train' s3.Bucket(bucketname).download_file(fname1, dname1) s3.Bucket(bucketname).down...
[ "you@example.com" ]
you@example.com
454306e4ecb01447609440164c61ce672975a921
859913a3d299b8d07192348c76ca102dac6caab7
/dspider/dspider/spiders/indexCollector.py
ff6ea9cc30d6ae33ee15a351d5558a44d00df3f8
[]
no_license
piaoxue85/smart_deal_tool
29e4cfdb4e13b7d1f83ff95a0a518ff8726de38e
0307bbbaf2b33b9cb565f6cf6f0056353dff8930
refs/heads/master
2020-04-23T02:18:34.405090
2019-02-10T14:11:00
2019-02-10T14:11:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
# -*- coding: utf-8 -*- import scrapy import json import datetime from dspider.items import IndexCollectorItem #定义键值的映射关系 kvmaping={ 'index_name':'name', 'open_value':'7', 'higest_value':'8', 'lowest_value':'9', 'close_value':'10', 'fluctuation':'526792', 'transaction_amount':'19', 'tot...
[ "hellobiek@gmail.com" ]
hellobiek@gmail.com
58e71c2c1c19701eeb8d4856f839dfba289a5f64
31596558d227ca10911a776023aeef1a7eb0d2c9
/Other groups/matheousse/higehiro_06.py
cee41c3717b5cb0d71ee1a70debc00deb7b3d46a
[ "MIT" ]
permissive
Ichunjo/encode-scripts
914a113093670f7d07e652ef50f6f04d09cc58b1
389a9f497e637eaade6f99acee816636856961d4
refs/heads/master
2022-05-03T00:48:54.543905
2022-03-17T17:43:02
2022-03-17T17:43:02
220,536,158
45
8
null
2019-11-08T21:25:59
2019-11-08T19:41:14
Python
UTF-8
Python
false
false
5,820
py
"""HigeHiro script""" __author__ = 'Vardë' from pathlib import Path from typing import Any, Dict, List, NamedTuple, Optional, Tuple, Union, cast import G41Fun as gf import havsfunc as hvf import kagefunc as kgf import lvsfunc as lvf import vardefunc as vdf from vardautomation import (BasicTool, FileInfo, PresetAAC, ...
[ "ichunjo.le.terrible@gmail.com" ]
ichunjo.le.terrible@gmail.com
058dc9bb9b942367f7f6cacbf60b2194af20d533
65abfb2bda48e3a5c8180f28f102e37010a06d63
/app/wordbook/objects_page/flash_card_page.py
cbc5553f904b41f680c3faf26f23f1fb752ae897
[]
no_license
vectorhuztt/study_center_copy
1365c7bf55f8c8353f9343044528485f44bacfc3
1abdb20d7e975b779ad44703842f42c7b7835ecf
refs/heads/master
2023-05-08T22:52:17.286726
2020-06-05T01:35:52
2020-06-05T01:35:52
269,502,981
0
0
null
2021-06-02T02:02:22
2020-06-05T01:32:23
Python
UTF-8
Python
false
false
7,940
py
# @Author : Vector # @Email : vectorztt@163.com # @Time : 2019/8/28 16:24 # ----------------------------------------- import datetime import time import numpy as np from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected...
[ "vectorztt@163.com" ]
vectorztt@163.com
373d9fc132b6c2d2f844ca17ffe182db171fce5f
deea7739afb049c550c0c5e6517df2192ff10bec
/services/exercises/project/__init__.py
e1f626521b2895b20478075acb196cf4380c0230
[]
no_license
nickvandewiele/testdriven-microservices
875e3a80cd43cde2c25dc26e6d417c69bcf79080
20fa9295047fcf165cba7cd3fa79b7965e2fb0f6
refs/heads/master
2021-05-11T14:40:27.682320
2018-07-31T23:26:00
2018-08-01T15:54:32
117,706,955
0
0
null
2018-07-23T21:47:04
2018-01-16T16:08:31
Python
UTF-8
Python
false
false
886
py
# project/__init__.py import os from flask import Flask from flask_cors import CORS from flask_debugtoolbar import DebugToolbarExtension from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate # instantiate db db = SQLAlchemy() migrate = Migrate() # instantiate the extensions toolbar = DebugToolb...
[ "nickvandewiele@gmail.com" ]
nickvandewiele@gmail.com
65058b28ee8a681275df3b2a352f0af5c34932dc
a24ab720f4d86aa964d8a18b41a15a14d6b0c3d7
/regex_07.py
5fade5dd78df71e6853a61862c1059a6e019cf8b
[]
no_license
A-Alexander-code/Python-OneLiners--Soutions
26bc911a8d4864c086c9574ad8df2722f0c8cb7e
622ad5f88879176090806e0ab323026e952c8b29
refs/heads/master
2023-07-10T01:03:06.026564
2021-08-15T19:44:09
2021-08-15T19:44:09
396,471,685
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
# Dependencies import re # Data inputs = ['18:29', '23:55', '123', 'ab:cd', '18:299', '99:99'] # One-liner input_ok = lambda x: re.fullmatch('([01][0-9]|2[0-3]):[0-5][0-9]', x) != None # Result for x in inputs: print(input_ok(x))
[ "b_alx_arboleda@outlook.com" ]
b_alx_arboleda@outlook.com
581af59d9648b80f67343ad558ac06b2a7110a8b
e2168ccd649a834238414c3569947e3086656d33
/app/abbr/tests.py
901119dbc297debf76333563f44f61b9df67c6b6
[ "Apache-2.0" ]
permissive
Tjorriemorrie/abbr
023cd0483efed5f1d547360a23251021d48aef4b
a4a3017a6694eacf6c11e95e76cec6d260750438
refs/heads/master
2021-01-10T15:16:13.474165
2016-02-13T08:19:09
2016-02-13T08:19:09
51,496,621
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
from django.test import TestCase from .classifier import Classifier from profilehooks import profile class ClassifierTests(TestCase): def setUp(self): self.data = [ { 'abbr': 'RADIUS', 'long_form': 'Remote Authentication Dial In User Service', 'simple': True, 'complex': True, 'substring': True, }, ...
[ "jacoj82@gmail.com" ]
jacoj82@gmail.com
14e737b004657abf6540d9cf36ee21cd830fee3f
009f8e81d8a2b4bdcf3255f10a105c5a9534ced9
/backend/home/migrations/0002_load_initial_data.py
a9d7e4f91a5d3c76ed850f531e380e1aec3f4cc3
[]
no_license
crowdbotics-apps/skittles1012345-17939
4132b1fed6a5d829fda4fd27c9aa523eec4e316b
941385843d3f8d430edcb36e0ab843092a11e58a
refs/heads/master
2022-11-07T02:36:35.259684
2020-06-08T18:05:59
2020-06-08T18:05:59
270,772,692
0
0
null
null
null
null
UTF-8
Python
false
false
1,314
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "skittles1012345" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
fb83abcd501a03abe86ea3b5978dd22058c71e8e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02616/s004871868.py
3cc2a2497e9d1387351738c8c400e79f925c148d
[]
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
864
py
n,k=map(int,input().split()) A=list(map(int,input().split())) mod=10**9+7 count=k B,C=[],[] for i in A: if i<=0:B.append(i) else:C.append(i) B.sort(key=lambda x:abs(x)) C.sort() ans,flag=1,1 while k!=0: if k>=2: if len(B)>=2 and len(C)>=2: if B[-1]*B[-2]>C[-1]*C[-2]: an...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
54eb1e3cb5d725c9ed0188484130aff4d805bfda
808966d5fb84ddfd4860ff73fc250a24be9dbeb4
/110_Balanced_Binary_Tree.py
22b34c12ae07eb2cc3f52e994a917be0f6ed1f25
[]
no_license
chloetop/leetcode-1
1f1940137a73f74eb94812b997339bf856319bd1
8453cf66afbd948a5fbdc492aa697e23b6c9a944
refs/heads/master
2021-01-22T08:52:35.817984
2017-05-28T00:39:53
2017-05-28T00:39:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
_author_ = 'jake' _project_ = 'leetcode' # https://leetcode.com/problems/balanced-binary-tree/ # Given a binary tree, determine if it is height-balanced. # A height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1. # Calculate the depth ...
[ "jake_hoare@hotmail.com" ]
jake_hoare@hotmail.com
451782b7a1fa12982520a7930655870cd36ddbd8
30150c7f6ed7a10ac50eee3f40101bc3165ebf9e
/src/leveleditor/SuitPointObj.py
b31f1b9d4aa5abf86ebaae57967aee1fdc12a726
[]
no_license
toontown-restoration-project/toontown
c2ad0d552cb9d5d3232ae6941e28f00c11ca3aa8
9bef6d9f823b2c12a176b33518eaa51ddbe3fd2f
refs/heads/master
2022-12-23T19:46:16.697036
2020-10-02T20:17:09
2020-10-02T20:17:09
300,672,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
from toontown.toonbase.ToontownModules import * class SuitPointObj(NodePath): def __init__(self, editor, dna=None): NodePath.__init__(self) self.editor = editor if dna: self.spDna = dna else: self.spDna = DNASTORE.storeSuitPoint(0, Point3(0)) np = l...
[ "brianlach72@gmail.com" ]
brianlach72@gmail.com
de1c7fd860b7d66be47b20459bb2cf21ffef6ad8
e2081f2f873825a3cc8b529614eb784f5cf5e8c5
/mutiplystring.py
3261f7ac709cc02b5968a54fe171552fe4bba370
[]
no_license
yilinanyu/Leetcode-with-Python
17b454058c673381dbafa5a2a154c4e84b449399
a55d2a3e383f858477170effbf8f6454e5dfd218
refs/heads/master
2021-01-21T04:55:31.025194
2016-07-11T20:10:18
2016-07-11T20:10:18
36,630,923
5
1
null
null
null
null
UTF-8
Python
false
false
674
py
class Solution: # @param num1, a string # @param num2, a string # @return a string def multiply(self, num1, num2): num1 = num1[::-1]; num2 = num2[::-1] arr = [0 for i in range(len(num1)+len(num2))] for i in range(len(num1)): for j in range(len(num2)): ...
[ "ly783@nyu.edu" ]
ly783@nyu.edu
7ad59bbfa56cda908299f7f4a5dfcf82d3c06fb4
e5710631da687ea4a1df3c185e21dc83932e9748
/django_facebook/__init__.py
b1939f849adaeeeca3e577a0343acdfa0450519c
[ "BSD-3-Clause" ]
permissive
muratmeran/Django-facebook
58f4e38ce0bc29d3baede10becf389c236dbad12
709be6c5f88509a8b6053e4022b3c4a7f8481af2
refs/heads/master
2021-01-16T20:07:56.096301
2011-11-27T17:45:55
2011-11-27T17:45:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
__author__ = 'Thierry Schellenbach' __copyright__ = 'Copyright 2010, Thierry Schellenbach' __credits__ = ['Thierry Schellenbach, mellowmorning.com, @tschellenbach'] __license__ = 'BSD' __version__ = '3.3.0' __maintainer__ = 'Thierry Schellenbach' __email__ = 'thierryschellenbach@gmail.com' __status__ = 'Production' ...
[ "thierryschellenbach@gmail.com" ]
thierryschellenbach@gmail.com
2a13ce75068aeabef2de307284377ff0496a07fe
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/_curses_panel.py
02b9903f84fd4d1b5c3a566953335114ce0f803c
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
# encoding: utf-8 # module _curses_panel # from /usr/lib64/python2.6/lib-dynload/_curses_panel.so # by generator 1.136 # no doc # no imports # Variables with simple values version = '2.1' __version__ = '2.1' # functions def bottom_panel(*args, **kwargs): # real signature unknown pass def new_panel(*args, **kw...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
29dcf3a532626a3c6bb98525ed6d95d7d40d1e04
3d14c54de44a752b73f1314308e2ed22ec66bb24
/ecl/exceptions.py
725ebccc585b89b4423d762ace05d8b55ea9630c
[ "Apache-2.0" ]
permissive
kazshinohara/eclsdk
768aafad910882a1e7383d2dfcfe1e02e3927a84
c6eb9ac3ca5e48133bca07f155896ca11b47deb3
refs/heads/master
2021-09-01T09:50:37.541821
2017-12-26T09:56:35
2017-12-26T09:56:35
115,408,733
0
0
null
2017-12-26T09:41:38
2017-12-26T09:41:37
null
UTF-8
Python
false
false
4,632
py
# Copyright 2010 Jacob Kaplan-Moss # Copyright 2011 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
[ "h.ohta@ntt.com" ]
h.ohta@ntt.com
56cf291bdfffe563f6efc7991dcc451d90dd0f42
9c337ea179ce44d1570219647b60b78c84ed54a7
/ad_donation/migrations/0014_auto_20190325_2127.py
e5941c471787fb8e2fbc5a4e585c316260695272
[]
no_license
timshin43/donaddcom
aa9cb5616907f145b388f290429dd9d1fd61f73b
d372b6677a15d699abc634f8f49581b8aa23f9a0
refs/heads/master
2022-12-10T10:10:26.494884
2020-12-08T02:10:48
2020-12-08T02:10:48
180,018,996
0
0
null
2022-12-08T02:31:05
2019-04-07T20:20:16
Python
UTF-8
Python
false
false
809
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.17 on 2019-03-26 04:27 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('ad_donation', '0013_auto_20190325_211...
[ "timshin.sergei@gmail.com" ]
timshin.sergei@gmail.com
43d73559a494d28f9ee14423919e0ed8eea4fbc7
06c9edb02884ced68c62b5527d2be0e1a2e65bf1
/11004.py
e44753c964c1b89988fe0b54a302cf8348946096
[]
no_license
0x232/BOJ
3c5d3973b62036bfe9b761c88c822cf7fe909bce
5f135ac51b1c304eff4630798fb5c516b666a5c6
refs/heads/master
2021-07-03T02:56:00.132987
2020-10-31T02:18:19
2020-10-31T02:18:19
191,161,517
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
import sys import heapq N, K = map(int, sys.stdin.readline().split()) A = list(map(int, sys.stdin.readline().split())) heapq.heapify(A) num = 0 for i in range(K): num = heapq.heappop(A) print(num)
[ "51640066+0x232@users.noreply.github.com" ]
51640066+0x232@users.noreply.github.com
7cb838bdffceaec1281d73911237844ec1ebf6e7
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/NbZ2cMeEfH3KpQRku_7.py
63e5310dd9e1b9d34db9781daecbbd6fbca11f2e
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
def percentage_happy(numbers): happy = 0 for i in range(1,len(numbers) - 1): if numbers[i - 1] == numbers[i] or numbers[i] == numbers[i+1]: happy += 1 if numbers[0] == numbers[1]: happy += 1 if numbers[-1] == numbers[-2]: happy += 1 return happy/len(numbers)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
484bba2b3b70d0689ab91b28dcf27ff7c77f69c2
48202a21204cb0b21cd792afd22e4c16b321cdbd
/r_csv.py
9e0f5cf594a8c0af894026ba8ccd312dc059aa02
[]
no_license
awaddell77/R_server
1783c7077014b99c8543263ac15e962193ff1d4b
8bf811b7a5ecd096a614c567a1b03779f2d71c1d
refs/heads/master
2020-09-09T21:29:05.635836
2020-01-24T00:13:22
2020-01-24T00:13:22
221,576,190
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
import csv def r_csv(x,mode='rt', delim = ','): l = [] csv_in = open(x, mode, encoding = 'utf-8') myreader = csv.reader(csv_in, delimiter = delim) for row in myreader: l.append(row) csv_in.close() return l
[ "waddell.andrew@gmail.com" ]
waddell.andrew@gmail.com
4c4ab613085b22b955e640f9be0db6be9c2c9d02
ab2802cd1db32d58478e979420d6738118aeb114
/venv/bin/easy_install-3.6
465a2751cfc24abdb47589dce8086ebe1d645207
[]
no_license
cosmic-byte/django-seed
2bb9e7eb891a631ac21dfc78e5ce8056fc9d8c4f
4790843cf3545654431dd8c5285f307056da963d
refs/heads/master
2020-03-17T10:07:41.918905
2018-05-15T10:40:57
2018-05-15T10:40:57
133,490,681
0
0
null
null
null
null
UTF-8
Python
false
false
445
6
#!/home/bionic/PycharmProjects/test/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==28.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ...
[ "gregobinna@gmail.com" ]
gregobinna@gmail.com
4e8f6dfe59eaee96cce606f21d45dedf80e39ce6
286b6dc56323f982092ffafbfac8a32dbbaeb7ef
/Day_01/self/dec_to_bin_oct_hex.py
486a83c9cd07ed7ca9a783875addbcd05f00b0b5
[]
no_license
learndevops19/pythonTraining-CalsoftInc
ccee0d90aadc00bfdb17f9578620f6bf92f80a4c
c5f61516b835339b394876edd1c6f62e7cc6f0c3
refs/heads/master
2021-02-05T04:27:17.590913
2019-11-20T17:27:06
2019-11-20T17:27:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
dec = int(input(" Enter the Decimal no : ")) print(" The inputted decimal no is :", dec) print("The binary value of input is :", bin(dec)) print(" The octal value of input is : ", oct(dec)) print("The hexadecimal value is : ", hex(dec))
[ "rajpratik71@gmail.com" ]
rajpratik71@gmail.com
bcc986c38a4c561a71f3b1dd8baabed50ebdd368
fcb10b01ab653bb26b9039d274234551aaecb9c5
/tensorflow/MNIST/mnist/ref.py
7a67f6b1358a7052d54a889c47d620c976f42b9a
[]
no_license
KonroyZhu/ML_learn
cecbd796cf9df578ec82af04d3af2faa892f08f3
a435e52303b58665c5aae44c258a621b34de84e9
refs/heads/master
2021-04-06T11:11:35.047869
2018-03-10T11:47:13
2018-03-10T11:47:13
124,650,127
0
0
null
null
null
null
UTF-8
Python
false
false
2,818
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 applicable ...
[ "1433192948@qq.com" ]
1433192948@qq.com
6faadfbaa76a5344e352c87d531681521e11782a
b248ab2c8d5eebf7afe39db0901cb1e4e1b6d9cb
/NMC/NeuroML2/nmllite/Sweep.py
b66f20c47e25b524c2c3cf19aeef6fbc762f57aa
[ "MIT" ]
permissive
OpenSourceBrain/BlueBrainProjectShowcase
33a2c0abdbf655c73edae3805f77e9b5e822253d
4bd625198c12fb73c359adc2db378bcf2c61a13a
refs/heads/master
2023-08-16T10:24:05.414176
2023-08-11T13:11:19
2023-08-11T13:11:19
17,436,997
29
20
NOASSERTION
2023-03-24T15:11:50
2014-03-05T10:30:26
AGS Script
UTF-8
Python
false
false
7,903
py
import sys import pprint; pp = pprint.PrettyPrinter(depth=6) from neuromllite.sweep.ParameterSweep import ParameterSweep from neuromllite.sweep.ParameterSweep import NeuroMLliteRunner from GenerateExamples import colors if __name__ == '__main__': heatmap_lims=[-110,-20] if '-all' in sys.argv: ...
[ "p.gleeson@gmail.com" ]
p.gleeson@gmail.com
bca6b6b0979cefd20fe74ee0db1c580a2aca8167
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/20d2f1d6-5cc5-11e4-af55-00155d01fe08.py
7644a9f56b70fab86a5829b7e69eb85d7d65089e
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
#!/usr/bin/python ################################################################################ # 20d2f1d6-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
32582da1315dc131b64b91975d6fac0802e9b48b
218b80ce669a5a06729b130dc6a0b7f824872f12
/climetlab/datasets/hurricane_database.py
5feca766b358bdf69d04a952f3adc3b47060cfd8
[ "Apache-2.0" ]
permissive
NewHarmony/climetlab
2147275ec8938a7fac8652d74135ca95403fb81c
a91a1e960033e6d39210cc6f588f6d1ea5235d3d
refs/heads/master
2023-03-25T23:24:08.904920
2021-03-20T16:58:34
2021-03-20T16:58:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,541
py
# (C) Copyright 2020 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernmenta...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
1ecc4d1c932e305124f799a3d8100f0ad456f425
3bb9db98b70cc63151324499f650531fc21df59f
/src/users/urls.py
5ef98774105113262a2e722ed8e5deea157e7144
[ "MIT" ]
permissive
NestorMonroy/docker-django-blog
fbe724d53c565c0fb4b438e80efdcf8bb6b882c4
a1aba04c4b56110a1dab0d4844c670c30f5d58dd
refs/heads/master
2023-04-20T07:40:26.548043
2021-04-23T01:33:04
2021-04-23T01:33:04
354,080,480
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
from django.urls import path, re_path from django.contrib.auth.views import LogoutView from src.users.views import users as users_views app_name = "users" urlpatterns = [ path("signup/", users_views.SingupView.as_view(), name="signup"), path("login/", users_views.LoginView.as_view(), name="login"), path(...
[ "nestor.monroy.90@gmail.com" ]
nestor.monroy.90@gmail.com
a902ec6fa3217ef0e3461790a9f238148c2e3f14
3f2090a9564150506103d41735db2c0f5016e8a5
/test_ui.py
d81d8b46c08e6438a3a0453008523cc158677d8a
[]
no_license
ENPH353/PyQt5_demo
c9b3fb3e5f0358aa1deb0d43ba55cc6e629d5fb3
3c223584514dcab413f743ac82577e23e39677ba
refs/heads/master
2020-09-11T08:37:55.007416
2019-11-15T21:39:26
2019-11-15T21:39:26
222,007,388
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
import sys from PyQt5 import QtCore, QtGui, QtWidgets, uic class Window(QtWidgets.QMainWindow): def __init__(self): super(Window, self).__init__() uic.loadUi("my_test.ui", self) self.myPushButton.clicked.connect(self.printSomething) def printSomething(self): self.myTextEdit.ap...
[ "you@example.com" ]
you@example.com
152d300c9e836dbdcc0934c264f91c40a903a84d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02995/s812355939.py
50ce1f6f26f9a6992b286d5660219344fbd81716
[]
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
300
py
A, B, C, D = map(int,input().split()) def gcd(x,y): if x<y: x, y = y, x r = x%y while r!=0: x = y y = r r = x%y return y def lcm(x,y): return (x*y)//gcd(x,y) L = lcm(C,D) lenB = B-(B//C+B//D-B//L) A-=1 lenA = A-(A//C+A//D-A//L) print(lenB-lenA)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1bf717e56e34d6f7b1aa10cc98425fb0f3dfe06b
59f7175a2ce7a2f8b757a5f3818a8920e2482ab8
/src/run_evaluation_google.py
74cb8362bb58df0487e6f3f12afd7fdebdbe376e
[ "MIT" ]
permissive
indonesian-nlp/multilingual-asr
1b22e9fadca260a8395b7e86f5753f7e4aa53d63
f57b6708761984549e2c7ac0bfd585aa57a08a80
refs/heads/main
2023-05-22T20:50:40.012810
2022-10-05T10:05:50
2022-10-05T10:05:50
422,496,260
37
4
null
null
null
null
UTF-8
Python
false
false
1,788
py
from datasets import load_dataset, load_metric from pathlib import Path import re import unidecode from util.text_processor import TextProcessor transcript_file = Path("transcription_google.tsv") chars_to_ignore = [",", "?", ".", "!", "-", ";", ":", '""', "%", "'", '"', "�", "‘", "’", "’"] chars_to_ignore_regex = f'[{...
[ "cahya.wirawan@gmail.com" ]
cahya.wirawan@gmail.com
14e06051e1420b77e93d97ade1c6d98aa3184095
eb73d6d495b26091fd25d17fd813e5277a2c6da7
/examples/adis16448/init-test/robot.py
427f91ddb252062a5af9e7ed15eb38ed2cad2426
[ "MIT" ]
permissive
robotpy/robotpy-adi
f2f5ebdeee6365f74820d75ecd5d79fe53255123
d68ce95a96e5a05c56a30bc248afab8dea28a0f6
refs/heads/main
2022-01-26T22:40:55.788770
2022-01-09T04:31:16
2022-01-09T04:31:59
247,611,581
0
1
NOASSERTION
2021-01-15T08:08:00
2020-03-16T04:36:04
C++
UTF-8
Python
false
false
549
py
#!/usr/bin/env python3 from wpilib import run, IterativeRobot, SPI from adis16448 import ADIS16448_IMU class MyRobot(IterativeRobot): def robotInit(self): print("Starting gyro init...") self.myGyro = ADIS16448_IMU(ADIS16448_IMU.IMUAxis.kZ, SPI.Port.kMXP, 4) print("Gyro init completed.") ...
[ "dustin@virtualroadside.com" ]
dustin@virtualroadside.com
59f2b789430b909c464e4c9b4e2a18727f35fd9f
037877a31670a85fa78b61df9ceabe981cfdfbf6
/sympy/mpmath/visualization.py
798993fb8e3247c301967816d8c6fab16eb3895e
[ "BSD-3-Clause" ]
permissive
certik/sympy_gamma
6343b02e5d6d1c7d511a3329bbbd27cd11cd7ec8
b0e555ca03f8476533cb1c19575f4461533837de
refs/heads/master
2020-12-25T03:52:40.132034
2010-02-15T08:02:31
2010-02-15T08:02:31
344,391
2
2
null
null
null
null
UTF-8
Python
false
false
5,638
py
""" Plotting (requires matplotlib) """ from mptypes import mpc, inf, isnan, isinf, arange, complex_types from functions import sqrt, arg from colorsys import hsv_to_rgb, hls_to_rgb plot_ignore = (ValueError, ArithmeticError, ZeroDivisionError) def plot(f, xlim=[-5,5], ylim=None, points=200, file=None, dpi=None, ...
[ "ondrej@certik.cz" ]
ondrej@certik.cz
eca0523e4b4d84985910d654935e02840c54c207
765e32aac083e750cf5ccab05e6a9692ef11392f
/generators/thrsend.py
3b88ed5e46008809de3273d4c22597af08276f49
[ "MIT" ]
permissive
Chyi341152/chyi-book
eeed268ba1133e0ab1ef3e6a853fb060f41a2d87
ddeaf49d69a68f5718c20c3b7fe6fd37381d21eb
refs/heads/master
2021-01-25T13:17:16.892385
2018-03-26T15:16:12
2018-03-26T15:16:12
123,544,180
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
# thrsend.py # # Send items to consumer threads from queue import Queue import threading class ConsumerThread(threading.Thread): def __init__(self,target): threading.Thread.__init__(self) self.setDaemon(True) self.in_queue = Queue.Queue() self.target = target def send(self,item):...
[ "chyiyaqing@gmail.com" ]
chyiyaqing@gmail.com
86c1cb9bcee334f622829f4e19954d6ca0119f7d
681d742a69a403bbd3ec24b586fa6c5075fd9da6
/bottle/setup_pypy.py
21acfc2484fad2629a7e54064226e203b0278ae2
[]
no_license
thangchung/FrameworkBenchmarks
3e31fa6800b34f8fa645285ec223fab651e039ef
925dd59dde25bed4aca12f876cf5672d0c567dd7
refs/heads/master
2020-12-25T01:50:10.735493
2013-07-31T00:12:37
2013-07-31T00:12:37
11,941,889
1
1
null
null
null
null
UTF-8
Python
false
false
668
py
import subprocess import setup_util import multiprocessing import os bin_dir = os.path.expanduser('~/FrameworkBenchmarks/installs/pypy/bin') NCPU = multiprocessing.cpu_count() proc = None def start(args): global proc setup_util.replace_text("bottle/app.py", "DBHOSTNAME", args.database_host) proc = subpr...
[ "inada-n@klab.com" ]
inada-n@klab.com
69f48fc66c71495385c542e497ef1e1123cd2cb6
5e8a936891f0687a28425cef248a49480511119d
/pydl/pydlspec2d/spec1d/findspec.py
d695f2be2e8f91819b2e4024ec067dd58417f776
[ "BSD-3-Clause" ]
permissive
bsipocz/pydl
426a4cdae003b8c4e86249ec36005925d8ffa341
f8719699c71806f9b55dd41f843e5f35c64c770b
refs/heads/master
2020-12-07T15:43:01.554352
2015-09-24T03:15:14
2015-09-24T03:15:14
45,721,009
0
0
null
2015-11-07T03:30:30
2015-11-07T03:30:29
null
UTF-8
Python
false
false
6,117
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst # -*- coding: utf-8 -*- from __future__ import print_function # def findspec(*args,**kwargs): """Find SDSS/BOSS spectra that match a given RA, Dec. Parameters ---------- Returns ------- """ import os import os.path imp...
[ "benjamin.weaver@nyu.edu" ]
benjamin.weaver@nyu.edu
1743c3527fa84ef489826f7f2b3e46c0ac05a3e7
fc5fa8501e8a62291a48c82611e1b74b961ca561
/tft/script_hyperparam_opt.py
ea8270fe39d34c1dff67f5b9b9e9265346eb2a5d
[ "Apache-2.0" ]
permissive
hitesh-hk/google-research
fa3d3e31cce995fa6da89322dab4993bf1c1ead8
ddc22300c4cb3223654c9a981f892dc0f6286e35
refs/heads/master
2021-02-17T18:57:31.267570
2020-01-17T14:49:25
2020-01-17T14:54:27
245,119,290
1
1
Apache-2.0
2020-03-05T09:24:01
2020-03-05T09:24:00
null
UTF-8
Python
false
false
7,849
py
# coding=utf-8 # Copyright 2019 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
7a61284ab2cb8d7cf7ad4ae89463da31b88ad669
673f9b85708affe260b892a4eb3b1f6a0bd39d44
/Botnets/App/App Web/PDG-env/lib/python3.6/site-packages/sklearn/mixture/bayesian_mixture.py
8ed280e560bd230f52cfca71337556241f6c93e9
[ "MIT" ]
permissive
i2tResearch/Ciberseguridad_web
feee3fe299029bef96b158d173ce2d28ef1418e4
e6cccba69335816442c515d65d9aedea9e7dc58b
refs/heads/master
2023-07-06T00:43:51.126684
2023-06-26T00:53:53
2023-06-26T00:53:53
94,152,032
14
0
MIT
2023-09-04T02:53:29
2017-06-13T00:21:00
Jupyter Notebook
UTF-8
Python
false
false
504
py
# THIS FILE WAS AUTOMATICALLY GENERATED BY deprecated_modules.py import sys from . import _bayesian_mixture from ..externals._pep562 import Pep562 from ..utils.deprecation import _raise_dep_warning_if_not_pytest deprecated_path = 'sklearn.mixture.bayesian_mixture' correct_import_path = 'sklearn.mixture' _raise_dep_w...
[ "ulcamilo@gmail.com" ]
ulcamilo@gmail.com
f74cd21730fe258498d15bbef18d8bee72fbe12c
6a07912090214567f77e9cd941fb92f1f3137ae6
/cs101/Unit 6/10.py
ad1706059a31a56815fdc8c36609f9c5881217bc
[]
no_license
rrampage/udacity-code
4ab042b591fa3e9adab0183d669a8df80265ed81
bbe968cd27da7cc453eada5b2aa29176b0121c13
refs/heads/master
2020-04-18T08:46:00.580903
2012-08-25T08:44:24
2012-08-25T08:44:24
5,352,942
3
0
null
null
null
null
UTF-8
Python
false
false
446
py
# cs101 ; Unit 6 ; 10 # Define a procedure is_palindrome, that takes as input a string, and returns a # Boolean indicating if the input string is a palindrome. # Base Case: '' => True # Recursive Case: if first and last characters don't match => False # if they do match, is the middle a palindrome? def is_palindrome(...
[ "raunak1001@gmail.com" ]
raunak1001@gmail.com
94d47861a758b46c58b1c97198c254ccc1f68c81
5b93930ce8280b3cbc7d6b955df0bfc5504ee99c
/nodes/Muller17Introduction/H_Chapter7/C_RepresentingText/A_ApplyingBagofWords/index.py
03cf3279b117acb8847f8520f36c08cdbf508b1f
[]
no_license
nimra/module_gen
8749c8d29beb700cac57132232861eba4eb82331
2e0a4452548af4fefd4cb30ab9d08d7662122cf4
refs/heads/master
2022-03-04T09:35:12.443651
2019-10-26T04:40:49
2019-10-26T04:40:49
213,980,247
0
1
null
null
null
null
UTF-8
Python
false
false
5,517
py
# Lawrence McAfee # ~~~~~~~~ import ~~~~~~~~ from modules.node.HierNode import HierNode from modules.node.LeafNode import LeafNode from modules.node.Stage import Stage from modules.node.block.CodeBlock import CodeBlock as cbk from modules.node.block.HierBlock import HierBlock as hbk from modules.node.block.ImageBlock ...
[ "lawrence.mcafee@gmail.com" ]
lawrence.mcafee@gmail.com
d47c2d31dfc536f601e72a935b9d8adcd61b66f7
0df79fddbbf5c345869f3b25ab2f5a0861228173
/cumulus/queue/sge.py
125026bef2176b3fbd1ea18c8e5eee9a8d8ae20d
[ "Apache-2.0" ]
permissive
psavery/cumulus
46268c42afd9b989c7f4867e4825ddc8bbd1602d
23fe761915288383085d09183ee75871fb205b6c
refs/heads/master
2020-03-25T11:48:17.696347
2018-08-08T16:28:01
2018-08-08T16:28:01
143,749,156
0
0
null
2018-08-06T15:37:33
2018-08-06T15:37:32
null
UTF-8
Python
false
false
3,352
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################### # Copyright 2015 Kitware Inc. # # Licensed under the Apache License, Version 2.0 ( the "License" ); # you may not use this file except in compliance with the License. # You may obtain a cop...
[ "chris.harris@kitware.com" ]
chris.harris@kitware.com
a4d0f23a350288a85d106420e5ca0e884e819ad5
eac7ae395c4832ac394087054ab014d1d6a9f6a6
/python_experiments/data_analysis/paper_figures_sigmod18/my_utils.py
2e3078968a431dd062e8b1b1439ebbdeca338b75
[ "MIT" ]
permissive
mexuaz/AccTrussDecomposition
21be22007e1c50ca4b7df6fbbad1dfbf4c2fffae
15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4
refs/heads/master
2022-12-14T03:41:05.133564
2020-09-03T00:35:33
2020-09-03T00:35:33
291,565,779
0
0
MIT
2020-08-30T22:57:55
2020-08-30T22:57:55
null
UTF-8
Python
false
false
262
py
import json def get_name_dict(): with open('config/data_names.json') as ifs: return eval(''.join(ifs.readlines())) def get_algorithm_name_dict(): with open('config/algorithm_info.json') as ifs: return json.load(ifs)["algorithm_abbr"]
[ "yche@cse.ust.hk" ]
yche@cse.ust.hk
a8b47ce283f763c972ecd4be534e5bfe03c497f3
dbde9338e87117397c2a7c8969df614f4dd4eacc
/examples/pytorch/eager/medical_imaging/3d-unet/nnUnet/nnunet/training/network_training/nnUNet_variants/architectural_variants/nnUNetTrainerV2_3ConvPerStage_samefilters.py
19ebdd781078e11f9f1a1571e0159cd743e3983b
[ "Apache-2.0", "MIT", "Intel" ]
permissive
leonardozcm/neural-compressor
9f83551007351e12df19e5fae3742696613067ad
4a49eae281792d987f858a27ac9f83dffe810f4b
refs/heads/master
2023-08-16T17:18:28.867898
2021-09-03T06:44:25
2021-09-03T06:54:30
407,043,747
0
0
Apache-2.0
2021-09-16T07:57:10
2021-09-16T06:12:32
null
UTF-8
Python
false
false
2,203
py
# Copyright 2020 Division of Medical Image Computing, German Cancer Research Center (DKFZ), Heidelberg, Germany # # 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://w...
[ "feng.tian@intel.com" ]
feng.tian@intel.com
4ef1624781289d9cc23002af1f0d3b7947a76f50
ac9e7550b15ab417813a8cf0d21e200a6755c4cc
/z_temp/temp1.py
ed4e0b28b5365db1fd886ffa9399bdd4b08fd88d
[]
no_license
jerryhan88/beacon_projects
16a6df7650317bc0db70872a9ca2b46754259a2f
eca75468b1aa888ac9a188b49912b52ba304d781
refs/heads/master
2021-01-22T09:09:32.129837
2017-04-17T08:59:29
2017-04-17T08:59:31
81,932,100
0
0
null
null
null
null
UTF-8
Python
false
false
2,065
py
import wx class Mywin(wx.Frame): def __init__(self, parent, title): super(Mywin, self).__init__(parent, title=title, size=(350, 250)) panel = wx.Panel(self) vbox = wx.BoxSizer(wx.VERTICAL) hbox1 = wx.BoxSizer(wx.HORIZONTAL) l1 = wx.StaticText(panel, -1, "Text Field") ...
[ "jerryhan88@gmail.com" ]
jerryhan88@gmail.com
86fd1a92e80ffc61f62104a0b8c318f2beb50325
000f57fa43ecf9f5353ca80ced3ad505698dbecb
/modeldelete/school/migrations/0001_initial.py
c43e3e37bcfc26010ba23e88808097c2207b87c0
[]
no_license
kamal0072/imagegallary
846e9ef43f6e0c42c98a4a4ad5cb22faef295936
91effde764710fd9bfc31b7dec238d143833e31e
refs/heads/master
2023-05-02T07:32:35.805297
2021-05-21T05:35:05
2021-05-21T05:35:05
359,541,161
1
0
null
null
null
null
UTF-8
Python
false
false
613
py
# Generated by Django 3.1.6 on 2021-04-07 16:07 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(...
[ "hasan.kamaal0072@gmail.com" ]
hasan.kamaal0072@gmail.com
ff427bf4af0bf56ea5160c5496805e6e3bf51b4f
f1ddac68280cf55252ab4925f13843517caffc0f
/lepidoptera/migrations/0022_auto_20190823_1509.py
b6604d5dad809b924d09418841ce340f0711f85a
[ "BSD-2-Clause" ]
permissive
BelgianBiodiversityPlatform/catalogue-lepidoptera-belgium-webapp
b5d5af5796fbcc2caedc193bd56ee08fb957a276
c0ed7fde78f9af5afbd91c53ed3f543046e8dd41
refs/heads/master
2022-12-02T11:37:28.897214
2019-09-17T11:26:18
2019-09-17T11:26:18
149,598,470
2
0
NOASSERTION
2022-11-22T02:21:23
2018-09-20T11:26:21
Python
UTF-8
Python
false
false
1,475
py
# Generated by Django 2.0.13 on 2019-08-23 13:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lepidoptera', '0021_observation_data_migration'), ] operations = [ migrations.RemoveField( model_name='observation', ...
[ "nicolas@niconoe.eu" ]
nicolas@niconoe.eu
1fd2f86910cb9e65ca688fb2c8926e6d0ad229b5
d117dbfcdd7c952e3d27f6fa9767889442268fc1
/analyses/control_check.py
ca5df5ea2e57935cce2591e88184588eda8b4edc
[]
no_license
Heringer-Epson/routines_DTD
b9ea54cf85e34b3c56956e111e59a42da860b81d
f42714eb4508d7d697407e8c5b90e5460073da99
refs/heads/master
2021-04-12T08:10:19.765251
2019-08-10T19:32:45
2019-08-10T19:32:45
126,042,891
0
0
null
2018-11-29T19:35:54
2018-03-20T15:48:16
Python
UTF-8
Python
false
false
2,917
py
#!/usr/bin/env python import numpy as np import pandas as pd def get_full(fpath, redshift_entry): df = pd.read_csv(fpath, header=0, low_memory=False) ID = df['objID'].values z = df[redshift_entry].values.astype(float) cond = ((z >= .01) & (z <= .2)) #cond = ((z >= .2) & (z <= .4)) ID_z = ID[...
[ "epson.heringer@gmail.com" ]
epson.heringer@gmail.com
b8ab8cf88b9a27d1a83d011e4784d7e8415ad4cc
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2081/60581/250265.py
c10a780cc40c920e923d67287c33f27f919ab3ee
[]
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
758
py
import sys lst = [] for line in sys.stdin: if line.strip()=="": break lst.append(line) input = [] #读入处理 for i in range(0,len(lst)): theLine = [] j = 0 while j < len(lst[i]): str = '' if (lst[i][j]>='A' and lst[i][j]<='Z') or (lst[i][j]>='a' and lst[i][j]<='z'): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
3faf97e6676e44308d5997cbcb8e779ff7342b77
c5812664601b4c4e36f49c2522e637cec397485d
/pytorch_inferno/model_wrapper.py
8af33d0a25ad81cbec16706f4fbcc20a6077eed5
[ "Apache-2.0" ]
permissive
GilesStrong/pytorch_inferno
4e15af05f7e50707a60638fbf9ad160b7bc9e3ba
ebee7305d3fbf5fe50b6b7075294a4ec14033e01
refs/heads/master
2023-04-15T19:59:57.176067
2022-05-24T08:05:42
2022-05-24T08:05:42
299,618,987
5
2
Apache-2.0
2023-04-12T06:06:09
2020-09-29T13:02:27
Jupyter Notebook
UTF-8
Python
false
false
4,427
py
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/01_model_wrapper.ipynb (unless otherwise specified). __all__ = ['ModelWrapper'] # Cell from .callback import AbsCallback, PredHandler from .utils import to_device, device from .data import DataPair, WeightedDataLoader, DataSet from typing import Optional, Union, List, ...
[ "giles.strong@outlook.com" ]
giles.strong@outlook.com
56b977afaa963869265f60e336534e7bc088fa9e
3e5ecad4d2f681f2f4f749109cc99deea1209ea4
/keras/keras19_diabets4.py
8a216f02bd8101656a4232838ea31f79b6da3806
[]
no_license
SunghoonSeok/Study
f41ede390079037b2090e6df20e5fb38f2e59b8f
50f02b9c9bac904cd4f6923b41efabe524ff3d8a
refs/heads/master
2023-06-18T06:47:55.545323
2021-07-05T00:47:55
2021-07-05T00:47:55
324,866,762
1
0
null
null
null
null
UTF-8
Python
false
false
2,176
py
# 실습 : 19_1, 2, 3, 4, 5, EarlyStopping까지 # 총 6개의 파일을 완성하시오. import numpy as np from sklearn.datasets import load_diabetes dataset = load_diabetes() x = dataset.data y = dataset.target print(x[:5]) print(y[:10]) print(x.shape, y.shape) # (442, 10) (442,) print(np.max(x), np.min(x)) print(dataset.feature_names) prin...
[ "76455292+SunghoonSeok@users.noreply.github.com" ]
76455292+SunghoonSeok@users.noreply.github.com
3c6e3d5d7f06f8e6ea12456cfbf278ad21a749c5
551dabfe10ea6778546f380d3ee9f0500f352b0f
/2.2 Logistic Regression/2.2.2.1.py
97e299896b8e6f84a21da8708b514527347d23be
[]
no_license
mohamedalemam/sklearn
c32843b6a04fe4b2a326870ba3658e8c1fc3b424
387c21357b165a1bc3593f8303ac5f9a672bd62a
refs/heads/main
2022-12-29T15:38:06.534505
2020-10-17T21:26:59
2020-10-17T21:26:59
301,839,374
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
#Import Libraries from sklearn.linear_model import SGDClassifier #---------------------------------------------------- #Applying SGDClassifier Model ''' #sklearn.linear_model.SGDClassifier(loss='hinge’, penalty=’l2’, alpha=0.0001,l1_ratio=0.15, fit_intercept=True, # max_iter...
[ "noreply@github.com" ]
mohamedalemam.noreply@github.com
d59fa7bfdc8e46aed9a9d657ed71d407ec77cc95
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2786/60889/273981.py
c34785181a9693e4b295aedda595805cb753a46d
[]
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
494
py
def findLeast(limit,ai): loc = 0 questions = 200001 for i in range(len(ai)): if ai[i]>=limit: if ai[i]<questions: questions = ai[i] loc = i if questions == 200001: return -1 else: return loc days = int(input()) ai = input()...
[ "1069583789@qq.com" ]
1069583789@qq.com
786a83488b5bf517c2570003d9bbc58bc3235727
6ff4a7e4743e6574a9584ef5f672a976d4976baa
/python_idiom/code/list_comprehension_bad_code.py
56b8424a57f7e80f14c0cbb3d82619b5cf754a7a
[ "BSD-2-Clause" ]
permissive
lsieun/learn-python
1c7d6eeb80aa6e47e5e94a055ba9b674fd886cb9
ce067202e8e77351de1fc99897185b6363d98219
refs/heads/master
2021-06-26T07:41:32.393981
2018-10-20T04:21:54
2018-10-20T04:21:54
111,169,474
1
1
BSD-2-Clause
2019-05-07T12:52:34
2017-11-18T02:21:19
Python
UTF-8
Python
false
false
520
py
#!/usr/bin/env python3 # Last modified: 2018-08-24 01:08:51 def is_prime(n): if n == 2 or n == 3: return True if n < 2 or n%2 == 0: return False if n < 9: return True if n%3 == 0: return False r = int(n**0.5) f = 5 while f <= r: print('\t',f) if n%f == 0: return False ...
[ "331505785@qq.com" ]
331505785@qq.com
993a1414244ce8431e4a1b1e95284a9fb2a09fbf
0e52322996589cbd1af830471d3e15111d88fd1e
/alligator/backends/sqs_backend.py
5421a192971c2a5c0b339875352290eff871dfa3
[ "BSD-3-Clause" ]
permissive
philippeowagner/alligator
8285a5f4bb97232b32223194ff5eee5886d533a2
f18bcb35b350fc6b0886393f5246d69c892b36c7
refs/heads/master
2021-01-15T09:56:25.277188
2015-04-01T05:07:46
2015-04-01T05:07:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,928
py
import boto.sqs from boto.sqs.jsonmessage import JSONMessage try: from urllib.parse import urlparse except ImportError: from urlparse import urlparse class Client(object): def __init__(self, conn_string): """ A Amazon SQS-based ``Client``. :param conn_string: The DSN. The region ...
[ "daniel@toastdriven.com" ]
daniel@toastdriven.com
450d9b56b11fba1809472e9f565aedf668f7dec8
8f5043bde2efb30eebbccba5a14467028762b334
/lists/tests/test_forms.py
7149b5c2794741027ee073f8fbd51c4acc9f4ab1
[]
no_license
frimmy/TDD_With_Python
da27947af172c6f2e81df232b1ef1416b40b6249
7e0644941bbd16f9c179e93de4af9cadaa8b7b8a
refs/heads/master
2021-01-22T05:06:25.125756
2017-03-24T19:24:01
2017-03-24T19:24:01
29,847,496
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
from django.test import TestCase from lists.forms import ItemForm from lists.models import Item, List from lists.forms import EMPTY_ITEM_ERROR class ItemFormTest(TestCase): def test_form_renders_item_text_input(self): form = ItemForm() self.assertIn('placeholder="Enter a to-do item"', form.as_p()...
[ "adrian.frimpong@gmail.com" ]
adrian.frimpong@gmail.com
805475566a16b3d6a82b3c8f6938d8c68a204090
b15848c78b6ed07d27cae74b90ae99a27d7acf24
/DataParser/DataParser/wsgi.py
01422b5ee74a14a65b8de16fc02553236f2e8d24
[ "MIT" ]
permissive
CodeBoss86/DataParser
ba988462de6e1cc1ae156e3407fbdea06fa5efc8
c9e09f0975145a4ca0a3645699ee91adee49cd2c
refs/heads/main
2023-01-19T01:51:31.178645
2020-11-17T13:38:47
2020-11-17T13:38:47
316,596,514
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for DataParser project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "mattode@outlook.com" ]
mattode@outlook.com
073ba87e84a2c0db6c2b3aa1fad84756753c3a04
b66be582abfb3715d5d0f1ccc77a8684eb8098ed
/fb/views/create_post/api_wrapper.py
7338909fc063e845deb407ac094ec0c1fa291e82
[]
no_license
naveenvadaga/fb_posts
fe816992ca1d050b36d523ebf1127c3c25d490ac
c4187a3ef7713b8b8da91a88bdf17225de04bcf9
refs/heads/master
2022-05-14T16:15:12.222130
2019-07-29T04:00:31
2019-07-29T04:00:31
197,704,064
0
0
null
2022-04-22T21:57:54
2019-07-19T04:51:46
Python
UTF-8
Python
false
false
744
py
from django_swagger_utils.drf_server.utils.decorator.interface_decorator \ import validate_decorator from .validator_class import ValidatorClass @validate_decorator(validator_class=ValidatorClass) def api_wrapper(*args, **kwargs): from fb.presenters.json_presenter import JsonPresenter from fb.storages.sto...
[ "naveenvadaga@gmail.com" ]
naveenvadaga@gmail.com
6705b90d8b85b505de50ff1592d7e420fad9e061
5f3fb04f8e04f8aa9d15bb9cded75b98fa53422f
/fofo_account_import/__openerp__.py
78cdbf796a914173327c80357bacc8255424ce28
[]
no_license
kittiu/fofo
49a5b9110814bc8512e22fd101e821e6820b2f0a
b73e2009e220fd843e91d9ea414f514ae113b76c
refs/heads/master
2020-04-16T20:12:44.309677
2018-08-03T14:53:12
2018-08-03T14:53:12
63,481,415
0
1
null
2018-08-03T14:53:13
2016-07-16T12:13:16
Python
UTF-8
Python
false
false
1,612
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2015-Today Ecosoft Co., Ltd. (http://Ecosoft.co.th). # # This program is free software: you can redistribute it and/or modify # it under the ter...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
85d032ab840dfd21cb160be4814672a24ea798b5
ac2c3e8c278d0aac250d31fd023c645fa3984a1b
/saleor/saleor/site/migrations/0024_sitesettings_customer_set_password_url.py
46eb90850228292f0736c461a7959c3bb7d3dd21
[ "BSD-3-Clause", "CC-BY-4.0" ]
permissive
jonndoe/saleor-test-shop
152bc8bef615382a45ca5f4f86f3527398bd1ef9
1e83176684f418a96260c276f6a0d72adf7dcbe6
refs/heads/master
2023-01-21T16:54:36.372313
2020-12-02T10:19:13
2020-12-02T10:19:13
316,514,489
1
1
BSD-3-Clause
2020-11-27T23:29:20
2020-11-27T13:52:33
TypeScript
UTF-8
Python
false
false
414
py
# Generated by Django 2.2.6 on 2019-10-21 11:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("site", "0023_auto_20191007_0835")] operations = [ migrations.AddField( model_name="sitesettings", name="customer_set_password_url...
[ "testuser@151-248-122-3.cloudvps.regruhosting.ru" ]
testuser@151-248-122-3.cloudvps.regruhosting.ru
31c53099a4dc85551725edcbcec07bd5ae54dfaa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03363/s869890648.py
32ffc78b4ce7a8f1c4a6958c07a263bde2f9d77b
[]
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
327
py
import collections def subarraySum(nums, k): count = total = 0 cache = collections.defaultdict(int) cache[0] = 1 for num in nums: total += num count += cache[total - k] cache[total] += 1 return count A = input() nums = list(map(int,input().split())) k = 0 print(subarraySum(nu...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
aecffbdedb02559661e713140abafa995183108f
e5a3cfa21f78259dfcf9d991f6f67f0840d9c93c
/python/2_6_6.py
d8b31cf9ecf19dabba1df2d39aba3c74dbf848c4
[]
no_license
Glittering/pythonLearn
ac91ed73cb615e3604d1c4bfde3692cf4efef6e3
0097b8fd5fc587a69f6c1bad95b08fe42481bf7c
refs/heads/master
2021-01-13T05:46:24.974340
2017-04-17T12:58:59
2017-04-17T12:58:59
77,099,698
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
class Rational(object): def __init__(self, p, q): self.p = p self.q = q def __int__(self): return self.p // self.q def __float__(self): return float(self.p) / self.q print float(Rational(7, 2)) print float(Rational(1, 3))
[ "zhaoshichengzhao@sina.com" ]
zhaoshichengzhao@sina.com
058fcb33c9fe4e0acfddd9d3153b9d074a2f52a6
f55a5a67e5485040eef1d53f08fb15306513d227
/melons.py
36394b30d6d7f2646664511f689a3ca2ffc0ffa5
[]
no_license
agstaples/classes-melons
41f8175a760b50ba0caf1daa12a33b138dca7dc3
05bb6d66421fbb1d3979a33d2eb73a2a754ef332
refs/heads/master
2020-03-22T02:27:56.091035
2018-07-02T00:10:58
2018-07-02T00:10:58
139,371,959
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
"""Classes for melon orders.""" class AbstractMelonOrder: """An abstract base class that other Melon Orders inherit from.""" def __init__(self, species, qty, order_type, tax): """Initialize melon order attributes.""" self.species = species self.qty = qty self.shipped = False ...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
e475d0e2579b14323f9d8382ea94b045fd451563
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03673/s251568512.py
d2e6e11c8ff98ec8161145d8f6001f91305fb6a6
[]
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
362
py
from collections import deque def solve(): n = int(input()) A = list(map(int,input().split())) q = deque() for i in range(n): if i % 2 == 0: q.append(A[i]) else: q.appendleft(A[i]) ans = list(q) if n % 2 != 0: ans.reverse() print(*an...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1839e5d49ad3e06db973e90b40c4f85013e63ee5
e9c547bfed55c05dac524e67b758b655d00da587
/tests/test_validator.py
bc15329748ec83ce957abe71cdb50f991ef5140b
[ "Apache-2.0" ]
permissive
hooshmandshr/yass
919009a04fa76e15034e53c687816b85e7bb2535
96fa9a03028d37f0291a4c2a3d9b16b18ee8a539
refs/heads/master
2021-05-01T19:52:46.647709
2018-02-07T16:09:56
2018-02-07T16:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,191
py
import pkg_resources import pytest from yass.config.validator import Validator def test_rejects_dict_with_missing_required_sections(): d = dict(a=1, b=2) required_sections = ['a', 'b', 'c'] optional_sections = dict(d=4) validator = Validator(d, required_sections, optional_sections) message = 'Th...
[ "fkq8@blancas.io" ]
fkq8@blancas.io
6403da2b1d472425cedadbfa95114132ae15381d
11e0b8c2f0ddbc1cc0d49b581908eee495428ffd
/randomword/settings.py
716e3e09ac15967112b144b591bd6d9938e56690
[]
no_license
CaliforniaSoil/Password_Generator
a6983b60718a7caa4296e46a6af69d53efcae7b9
5b9c934944d9edeae7d58162c75f249c2fcd0657
refs/heads/master
2021-07-15T01:20:31.733187
2017-10-18T22:01:04
2017-10-18T22:01:04
107,467,807
0
0
null
null
null
null
UTF-8
Python
false
false
3,132
py
""" Django settings for randomword project. Generated by 'django-admin startproject' using Django 1.10. 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 o...
[ "admin@Admins-MacBook-Pro.local" ]
admin@Admins-MacBook-Pro.local
29396374354a4101d3830b12fe3ff394b75da8b2
d87483a2c0b50ed97c1515d49d62c6e9feaddbe0
/.history/buyOne_20210203142031.py
70f9f28fd38bd5e0cfdf27a7fa1b9cd402ada1d7
[ "MIT" ]
permissive
HopperKremer/hoptrader
0d36b6e33922414003cf689fb81f924da076a54b
406793c10bc888648290fd15c7c2af62cf8c6c67
refs/heads/main
2023-06-12T15:51:00.910310
2021-07-06T16:15:41
2021-07-06T16:15:41
334,754,936
0
2
null
null
null
null
UTF-8
Python
false
false
1,157
py
import requests from tda import auth, client from tda.orders.equities import equity_buy_market from tda.orders import EquityOrderBuilder from tda.orders.common import Duration, Session import os, sys import time from selenium import webdriver import json currentdir = os.path.dirname(os.path.realpath(__file__)) parentd...
[ "hopperkremer@gmail.com" ]
hopperkremer@gmail.com
7e64ed300e36eaee0eec6f18b53e9cb3fd057d65
6dedbcff0af848aa979574426ad9fa3936be5c4a
/cengal/entities/copyable/versions/v_0/copyable.py
3021a456bb93671480cff9409f13c9bb94c6b6eb
[ "Apache-2.0" ]
permissive
FI-Mihej/Cengal
558d13541865e22006431bd1a1410ad57261484a
d36c05f4c90dfdac7296e87cf682df2f4d367e4b
refs/heads/master
2023-06-08T00:39:39.414352
2023-06-05T21:35:50
2023-06-05T21:35:50
68,829,562
10
1
null
null
null
null
UTF-8
Python
false
false
4,449
py
#!/usr/bin/env python # coding=utf-8 # Copyright © 2012-2023 ButenkoMS. All rights reserved. Contacts: <gtalk@butenkoms.space> # # 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:...
[ "gtalk@butenkoms.space" ]
gtalk@butenkoms.space
575a674e42f68a875c1d65bb2e5b3e6df83c0681
13ba7c9ab2f22084d1ea0e64c21191637c6da96b
/examples/policy_gradient/vpg/policy.py
7e46692f4c6ca69a7cda2c95d9a344d2b51dff51
[ "MIT" ]
permissive
lewisKit/lagom
8796806fa84377e03c2fa66860ea0b75c6bfdad7
b5b3c086e4469064879e869ae4a771c73e4dd1e1
refs/heads/master
2020-04-02T11:40:51.370179
2018-10-18T18:13:52
2018-10-18T18:13:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,896
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from lagom.core.networks import BaseNetwork from lagom.core.networks import BaseRNN from lagom.core.networks import make_fc from lagom.core.networks import ortho_init class Network(BaseNetwork): def make_params(self, config): ...
[ "zuoxingdong@hotmail.com" ]
zuoxingdong@hotmail.com
61423904929a28a501c8d500a0cc754dd564e06b
747f759311d404af31c0f80029e88098193f6269
/extra-addons/mgmtsystem_audit/__openerp__.py
d5f807bae08abd38bfb7d1164abde03abccb3a54
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
1,744
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2010 Savoir-faire Linux (<http://www.savoirfairelinux.com>). # # This program is free software: you can redistribute it and/or modify # it...
[ "geerish@omerp.net" ]
geerish@omerp.net
b55835402c9543923119cd7b30dd965f2fe2ce9a
9767ddafea187ebd52c06667175be7089635b652
/python/test/test_terms.py
4ec277249c359fbc74dee0957d73cb3195107e14
[ "MIT" ]
permissive
jacksonloper/celerite2
80a8fe432d7613838feeb257cf37d7fc95d76c16
e413e28dc43ba33e67960b51a9cbbac43c2f58df
refs/heads/main
2023-02-01T05:15:41.330003
2020-12-22T18:23:58
2020-12-22T18:23:58
323,702,767
0
0
MIT
2020-12-22T18:23:14
2020-12-22T18:23:13
null
UTF-8
Python
false
false
4,023
py
# -*- coding: utf-8 -*- import numpy as np import pytest from celerite import terms as cterms from celerite2 import terms test_terms = [ cterms.RealTerm(log_a=np.log(2.5), log_c=np.log(1.1123)), cterms.RealTerm(log_a=np.log(12.345), log_c=np.log(1.5)) + cterms.RealTerm(log_a=np.log(0.5), log_c=np.log(1.12...
[ "foreman.mackey@gmail.com" ]
foreman.mackey@gmail.com
cc1cd697d5fd03baf6fbcd13623eea306e7aa899
eb0711915d6bba2f765f052736e33ac9a9a397a6
/HE0435/model/glee_samp_fix_qso/samp60/glee_chain.py
31167a1d70e2122063fcb7c326bd5f3a3c3a8c7d
[]
no_license
dartoon/GL_HostGalaxy
cd2166f273ae7e0397a7d2d39f760ab59e86f014
7469f1c1e640d176a75cc6e9497920e494ad656a
refs/heads/master
2016-08-11T13:27:17.545360
2016-04-07T19:04:57
2016-04-07T19:04:57
46,524,027
1
0
null
null
null
null
UTF-8
Python
false
false
387
py
import numpy,subprocess file1 = open('HE60.001.mcmc','r') #should changed with right name para = numpy.loadtxt(file1)[-30:,0] file1.close() i=int(para[0]) #subprocess.call(["echo int(para[0])"],shell=True) #subprocess.call(["glee -S ${i} HE60.001.001"],shell=True) #print para.shape #print para.astype(int) g=open('...
[ "dingxuheng@mail.bnu.edu.cn" ]
dingxuheng@mail.bnu.edu.cn
a5b87d65b9cd9c781d7d3fd2ffc88537bd4bee07
e912af291e1457c61606642f1c7700e678c77a27
/python/652_find_duplicate_subtree.py
1bce3d52d89f1729859849c0c553ea9afd953bab
[]
no_license
MakrisHuang/LeetCode
325be680f8f67b0f34527914c6bd0a5a9e62e9c9
7609fbd164e3dbedc11308fdc24b57b5097ade81
refs/heads/master
2022-08-13T12:13:35.003830
2022-07-31T23:03:03
2022-07-31T23:03:03
128,767,837
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # Time Complexity: O(N ^ 2) # Space Complexity: O(N ^ 2) def findDuplicateSubtrees(self, root: TreeNode) -> List[TreeNode]: ...
[ "vallwesture@gmail.com" ]
vallwesture@gmail.com
5ad091ec783e01aac0a2b4a7e6f96c7ae23c4471
cd792e76c3530d4dc0c97f8f4f8a2ea8c9f4fde8
/OpenVenTum/scripts/sklearn_lib/neighbors/__init__.py
9813434ef20268d317121f90b092386ae2b1a521
[]
no_license
ederjc/hackaTUM
4e143b3abf01f7bbed02c657d715a15b2bfeeba2
e819b73c456d2931c7071423f580e576d5ecfb02
refs/heads/master
2022-04-18T13:13:17.630706
2020-04-19T06:48:54
2020-04-19T06:48:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
""" The :mod:`sklearn_lib.neighbors` module implements the k-nearest neighbors algorithm. """ from ._ball_tree import BallTree from ._kd_tree import KDTree from ._dist_metrics import DistanceMetric from ._graph import kneighbors_graph, radius_neighbors_graph from ._graph import KNeighborsTransformer, RadiusNeighborsTr...
[ "50597791+KalinNonchev@users.noreply.github.com" ]
50597791+KalinNonchev@users.noreply.github.com
7fd6f7e8098cd53560f7fefeab4ea820e25d348c
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/botservice/azure-mgmt-botservice/azure/mgmt/botservice/models/email_channel_py3.py
7a9e9af59e743ffab2d62fbd80c7794a3ecb46ed
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
1,343
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
f75f8ffa9733bbd081dcfdc2a738a8db253c3f17
e894e7e1e94c9a9c12aae08b4186b8dbbf7fcfcc
/crawler/quora/instagram_marketing_consultant-k/parse_html.py
3bd034913a4e3c17181fff19b0e69cb4f9bcc975
[]
no_license
SHivam0322/crawler-v2
79fa81c4af838e84e04d1b3940907a767c769959
d636dc2f6e4dea3a8be07243550156b368d293e2
refs/heads/master
2023-05-25T05:07:28.555368
2021-04-01T14:04:18
2021-04-01T14:04:18
353,709,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
from dotenv import load_dotenv from bs4 import BeautifulSoup import json import sys import re import os load_dotenv() sys.path.append(os.path.abspath(os.getenv("system_path"))) from lib import rabbit_mq try: connection = rabbit_mq.create_connection() channel = connection.channel() channel.queue_declare(qu...
[ "shivthakur0322@gmail.com" ]
shivthakur0322@gmail.com
b55cad16fcdcb6852da45efda14c97137f6c8464
a91fcc8dec4a5b41f2b026b00d910ffa086ec22c
/server.py
1807f5a4ef360d8c47d2892176a9d36c875757d1
[ "Unlicense" ]
permissive
thinkAmi-sandbox/Flask_ms_access_with_iis_sample
881f27857ceccf36ff25a38f129d51565aa80899
9660a36e1aaab97f2a05ae304e9780baddaa2a47
refs/heads/master
2021-01-10T02:30:44.242579
2016-04-01T23:59:01
2016-04-01T23:59:01
55,096,945
2
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
from flask import Flask, request, render_template, send_file from sqlalchemy import create_engine from sqlalchemy.sql import text app = Flask(__name__) FILE_PATH = r".\sample.accdb" @app.route('/xml') def response_xml(): return send_file("sample.xml") @app.route('/', methods=['GET', 'POST']) ...
[ "dev.thinkami+git@gmail.com" ]
dev.thinkami+git@gmail.com
05fd12113968774bc769fb87505f093aa9e849de
39b0d9c6df77671f540c619aff170441f953202a
/PYTHON LIBRARY/SUB_13/json_simple_types.py
29e0fe3cacbf211d65ffc55a8d96efc296ef6a37
[]
no_license
yeboahd24/Python201
e7d65333f343d9978efff6bf86ce0447d3a40d70
484e66a52d4e706b8478473347732e23998c93c5
refs/heads/main
2023-02-06T10:24:25.429718
2020-12-26T01:08:04
2020-12-26T01:08:04
306,487,550
2
0
null
null
null
null
UTF-8
Python
false
false
146
py
import json data = [{'a': 'A', 'b': (2, 4), 'c': 3.0}] print('DATA:', repr(data)) data_string = json.dumps(data) print('JSON:', data_string)
[ "noreply@github.com" ]
yeboahd24.noreply@github.com
5d60f54b781b468e159fdc7800dcde4e6eb6db6a
aa3d22701c8f2c1b0cb2eaea13350f629e05beb3
/setup.py
c9d4c2f3d7774a70b73a1e4da66c2c5963a4e333
[ "Apache-2.0" ]
permissive
cdanielmachado/smetana
db7adbec88f773df62ee322c457a58b2538986ab
d2b10434df6d13741614420b933b0870ea598222
refs/heads/master
2021-06-05T09:00:50.689050
2020-05-23T16:15:29
2020-05-23T16:15:29
135,152,625
53
10
NOASSERTION
2019-10-16T13:31:08
2018-05-28T11:35:35
Python
UTF-8
Python
false
false
1,326
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() requirements = ["reframed", "pandas"] test_requirements = requirements + ['cplex'] script_list = [ "scripts/smetana", ] se...
[ "cdanielmachado@gmail.com" ]
cdanielmachado@gmail.com
7b0d484225f4ad9248ab51e4920a0838a8843e25
e206cc00299804ce2271eb5d1513620e44ee9a9b
/course2-data-structures/practice/search_pattern/search_pattern.py
966a6631b7c49b36e207c76a30e13b1c189eb365
[]
no_license
dmitri-mamrukov/coursera-data-structures-and-algorithms
15459cd160f7bbae5464bf53d995bca868a0b415
01dd6f0dadf62a520bcafafddf7bf2b79e8e2603
refs/heads/master
2020-05-24T18:27:00.665642
2019-05-21T20:45:37
2019-05-21T20:45:37
187,410,737
1
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
import random class SearchPattern: @staticmethod def are_equal(s1, s2): if len(s1) != len(s2): return False for i in range(0, len(s1)): if s1[i] != s2[i]: return False return True @staticmethod def poly_hash(text, p, x): """ ...
[ "dmitri.mamrukov@gmail.com" ]
dmitri.mamrukov@gmail.com
6fbaf5c73b5d006de3dbc9047d623a08fc2d055f
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/ItemProperty.py
b7726afa37ee66ed2da321d77977b17c8c6ec80c
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,767
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class ItemProperty(object): def __init__(self): self._prop_key = None self._prop_values = None @property def prop_key(self): return self._prop_key @prop_key.setter...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
18c89abc5a318019067b5c761c432b8132518b56
62814f1168a7bd665decf4b5d0a98089f902d4a8
/Tests/test_BioSQL_MySQLdb.py
bd653e95f07da37f4fb01ebe9f45e576e2ac0e9c
[ "LicenseRef-scancode-biopython" ]
permissive
mswistak/biopython
76f18c50e78aaed466a32c15e3020ccfb40d775f
edb7f54cdc5b0b58569cdd8c10f6c9ebf5d73ac7
refs/heads/master
2021-01-22T07:13:52.216679
2014-11-29T21:36:45
2014-11-29T21:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
#!/usr/bin/env python # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Run BioSQL tests using SQLite""" from Bio import MissingExternalDependencyError from BioSQL import BioSeqDatabase from common...
[ "p.j.a.cock@googlemail.com" ]
p.j.a.cock@googlemail.com
12e6753c42de86dd6cce2734e5e6084e27aa3e04
9186099be7b2fd4bed5e0d15be64207d93f988d9
/pySocks.py
1f5b487a2f99f71d53cd64dc2e2a6fc04f6c61a9
[]
no_license
rocketpy/python_tor
d88fd8f79321fb66caec777095ecf7689e8b37c2
05cba015a5dd754cda82273e2cfc3581b0ab1caa
refs/heads/main
2023-08-16T17:16:10.835413
2021-09-19T15:03:23
2021-09-19T15:03:23
336,047,283
0
0
null
null
null
null
UTF-8
Python
false
false
1,628
py
# A Python SOCKS client module. # Github: https://github.com/Anorov/PySocks # PyPi: https://pypi.org/project/PySocks/ # pip install PySocks # pip install -U requests[socks] # Usage import socks s = socks.socksocket() # Same API as socket.socket in the standard lib s.set_proxy(socks.SOCKS5, "localhost") # S...
[ "noreply@github.com" ]
rocketpy.noreply@github.com
b65eb0a47974fb2c378ae1337a1fea0ea0114452
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/11114083.py
d59d274f6eb34f481f7ffe413051ed2e5798da4c
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,637
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/11114083.py generated: Wed, 25 Jan 2017 15:25:25 # # Event Type: 11114083 # # ASCII decay Descriptor: [B0 -> K+ pi- (Higgs0 -> mu+ mu-)]cc # from Configurables import Generation Generation().EventType = 11114083 Generation().SampleGenerationTool = "Sig...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
63fe3bc99ee33abd170ba2917710de758a6c64ed
8126d1bc2afe0925a24fce039d0f02a3bd7acbae
/tests/test_segfault.py
165d5d4d8ab05fcee621469f3710664b31c4861a
[ "BSD-2-Clause" ]
permissive
rafwiewiora/pytraj
54fb6fe07a754f65b865dd161f64c7af15fc3926
91a019ea406081ccf0043170cc64c48b4a5ea04a
refs/heads/master
2021-01-20T17:33:05.974254
2016-03-11T21:25:32
2016-03-11T21:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
from __future__ import print_function import unittest import pytraj as pt from pytraj.base import * from pytraj import adict from pytraj import io from pytraj.utils.check_and_assert import assert_almost_equal as aa_eq """ try not to get segmentation fault error (due to whatever freaking reason) """ traj = pt.iterload(...
[ "hainm.comp@gmail.com" ]
hainm.comp@gmail.com
a1d7a8a610178d7522bec74bce9b6b89df0db84e
b19653294f87fc2e1af1046d1930245eab2383a0
/code/pyqt第三天/布局管理/09-绝对定位的应用.py
44d596048f85943cfbf6e4340fb62690c0ad0cfe
[]
no_license
victorfengming/pyqt5_projects
7556f4096ee4d474f14dc5f6d8c044859fab08b8
5cae9b80d8d197921776fd4a26a968d70e60e1d3
refs/heads/master
2020-09-11T22:51:22.922833
2019-11-17T08:14:10
2019-11-17T08:14:10
222,216,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Created by xiaoming # 本模块的功能:<> import sys from PyQt5.QtWidgets import QWidget, QLabel, QApplication class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): lbl1 = QLabel('Zetcode', self) ...
[ "fengming19981221@163.com" ]
fengming19981221@163.com
de22c8803e602ed12d2f5f2608f4175adef8bd9e
cdd79cef15bdf6a0b9098e27028bbe38607bc288
/初中級者が解くべき過去問精選100/060_ワーシャルフロイド_GRL_1_A - 単一始点最短経路.py
ca16a581f295c2bbda0a873514ae1f6d5cef60a7
[]
no_license
nord2sudjp/atcoder
ee35a3eb35717485dc62627172de24c9dac102fb
6b1cc5102a615492cc7ff8a33813bbb954641782
refs/heads/master
2023-08-25T11:27:14.205593
2021-09-27T05:43:04
2021-09-27T05:43:04
302,855,505
0
0
null
null
null
null
ISO-8859-7
Python
false
false
743
py
# GRL_1_C # http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_C&lang=ja V,E=map(int,input().split()) D = [[float('infinity')]*V for _ in range(V)] # c޲i,‰‘޲j‚Ζ‚·‚ι‚ƁAcost[i][j]‚Νi->j‚Φ‚Μ‹——£ for i in range(V): D[i][i]=0 # i->i‚ΜƒRƒXƒg‚Ν“–‘R0 for _ in range(E): s,t,d=map(int,input().split(...
[ "nord2sudjp@gmail.com" ]
nord2sudjp@gmail.com
3dd675acec1a8dcfe3ecbedbaf43d366c2a65b12
25ebf226893b44dd8a6b1b85cf80864579372892
/merge-two-sorted-lists/Accepted/7-6-2021, 4:13:20 PM/Solution.py
7c4dd2be824dd238a995b6df11c858c68088db61
[]
no_license
TianrunCheng/LeetcodeSubmissions
db15f5a1a8e1bbecefc45cb0b2b5fbaa036aa6f5
00a5403f1950e039ccc370cb266b752faebb8e79
refs/heads/main
2023-06-29T21:51:43.029300
2021-07-22T03:12:15
2021-07-22T03:12:15
388,305,775
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
// https://leetcode.com/problems/merge-two-sorted-lists # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: dummy = Li...
[ "tc905@georgetown.edu" ]
tc905@georgetown.edu
86be05a1a6023733858e988fe915967cfecca357
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5706278382862336_0/Python/matwetu/a.py
0c33305581af424b87ff7b89fd8ab87dce5cc640
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
758
py
#coding:utf8 import sys result = { "fi": "A-small-attempt1 (1).in", "fo": "a.out", "ct": "" } def myprint(*x): s = ''.join(map(str,x)) sys.stdout.write(s) result['ct'] += s def gcd(a,b): if b == 0: return a return gcd(b, a%b) def main(): with open(result['fi'], 'r') as f: lines = [line...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
b240fa9aef6896d81953ce10b542ac25a6c8ee2c
7c7c6fbfaa0dd9c402d0ee76c3915fcbda1a403f
/scripts/squeeze_alignment.py
5190bdaf375333d0ca4f90aa98f3fc4d53818cdb
[]
no_license
bsmith89/StrainFacts-manuscript
f4b837a8f79683785741a7c4411c142bba4916ee
251009a79ae8396806adeec7726b8c54cca15945
refs/heads/main
2023-04-18T08:28:33.193573
2022-04-21T23:55:03
2022-04-21T23:55:03
428,938,611
1
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
#!/usr/bin/env python3 from Bio.AlignIO import read from tqdm import tqdm import sys import numpy as np from tqdm import TqdmSynchronisationWarning import warnings warnings.simplefilter("ignore", TqdmSynchronisationWarning) def contains_only(col, values): return set(col) - set(values) == set() def main(): ...
[ "me@byronjsmith.com" ]
me@byronjsmith.com
477552224e96110c8fdfa643f80e1f6439e15c41
6b63f4fc5105f3190014e1dd5685a891a74f8c63
/0035_desafio.py
782fa4c3aac3a5d74e317346bad8f470d5e98012
[]
no_license
matheuszei/Python_DesafiosCursoemvideo
a711c7c9c6db022cc8a16a3a1dc59afabb586105
5b216908dd0845ba25ee6d2e6f8b3e9419c074d2
refs/heads/main
2023-05-10T18:13:09.785651
2021-06-04T13:50:48
2021-06-04T13:50:48
370,851,791
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
#Desenvolva um programa que leia o comprimento de três retas e diga ao usuário # se elas podem ou não formar um triângulo print('-=' * 20) print('ANALISANDO TRIÂNGULO') print('-=' * 20) r1 = int(input('Digite o comprimento de A: ')) r2 = int(input('Digite o comprimento de B: ')) r3 = int(input('Digite o compri...
[ "noreply@github.com" ]
matheuszei.noreply@github.com
007cf75290497d14c6cb55eb2326fa790640679e
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5695413893988352_0/Python/Grzesiu/B-source.py
ea0e76ede3e1a64ae359d9c9acb3e61d7eda96fd
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
3,375
py
import imp, sys sys.modules["utils"] = __mod = imp.new_module("utils") exec """#!/usr/bin/python from itertools import chain, repeat, izip def line(*args): L = raw_input().strip().split() L = izip( L, chain( args, repeat(str) ) ) return [ type(data) for data, type in L ] def iline(): return map( int, ...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
4727cd570c3d3097576e9696bbef9421ecaa0785
5a6f498c3abb9848f7513fab81244194d6acde0c
/labs/lab7/student/tests/q2b.py
c06cd58b32f165b492cf530e8b010d60d849e31e
[]
no_license
ramirezmichaelp/134
e4e1f1dc4c5fe6ecf1bd55f5e0459d9c44ab5ec9
ace965a0f95caea3a526f5b709cb35d7991076ce
refs/heads/master
2023-02-18T00:29:04.829406
2020-12-09T18:59:32
2020-12-09T18:59:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
test = { 'name': 'q2b', 'points': 3, 'suites': [{'cases': [{'code': ">>> res_q2b\n'Python:Exercises: PHP exercises.'", 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
[ "syoh@ucsb.edu" ]
syoh@ucsb.edu