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
218d3ed1c58ad7f4bfc7b1ce49d8780eb94c0a57
ab8a34e5b821dde7b09abe37c838de046846484e
/twilio/sample-code-master/api/v2010/authorized_connect_app/fetch-default/fetch-default.6.x.py
511f053b487454f45e009737f2279a5ad002bea5
[]
no_license
sekharfly/twilio
492b599fff62618437c87e05a6c201d6de94527a
a2847e4c79f9fbf5c53f25c8224deb11048fe94b
refs/heads/master
2020-03-29T08:39:00.079997
2018-09-21T07:20:24
2018-09-21T07:20:24
149,721,431
0
1
null
null
null
null
UTF-8
Python
false
false
465
py
# Download the helper library from https://www.twilio.com/docs/python/install from twilio.rest import Client # Your Account Sid and Auth Token from twilio.com/console account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' auth_token = 'your_auth_token' client = Client(account_sid, auth_token) authorized_connect_app = cl...
[ "sekharfly@gmail.com" ]
sekharfly@gmail.com
70b09e5245552f40904f0ac5b1dabf0e8ef879b3
341bd2d71b6b6e3af734f16989aeb450e3e73624
/HMC6343A.py
5c8c749d819dc0cab48d0b18bb3f51cb5f52419b
[]
no_license
ControlEverythingCommunity/CE_PYTHON_LIB
5c170f7e3763ab3b160a5fc33f2bb96d4798c7e2
736b29434a451a384c2f52490c849239c3190951
refs/heads/master
2021-01-12T00:39:25.374689
2017-08-30T21:54:47
2017-08-30T21:54:47
78,751,564
7
7
null
2017-12-15T11:08:48
2017-01-12T14:05:11
Python
UTF-8
Python
false
false
4,911
py
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works. # HMC6343A # This code is designed to work with the HMC6343A_I2CS I2C Mini Module available from ControlEverything.com. # https://www.controleverything.com/content/Acceloromet...
[ "ryker1990@gmail.com" ]
ryker1990@gmail.com
0615cccaa29d7378c2edef98d3e1ab29fa9a44ba
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/HanoiDocumentsGetRequest.py
a8388d7a45fc9eab1cb0d78258a5e7a11749c1d2
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class HanoiDocumentsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.code = None self.current_page = None self.id = None self.name = None self.p...
[ "poorevil@gmail.com" ]
poorevil@gmail.com
6fb4f0d13f849eb1b5e059fec7712d6d8c2ea181
8647d911c5a1b765f363c6d904923bfdd9035276
/4.py
0d2993fae7b0e616700256e8c21d30b624b7512f
[]
no_license
Thilagaa22/pythonsql
693f334405d074deffb3dded33be32c2d6a05a49
41ef9ffac38adf9501be88e8d6881bc10ebaf37d
refs/heads/master
2020-05-22T22:43:45.410818
2019-05-14T08:45:31
2019-05-14T08:45:31
186,551,457
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
s = input() print(s+'.')
[ "noreply@github.com" ]
Thilagaa22.noreply@github.com
1d56cb579b4790f733317d1a79f0a8d3c8cd7f52
1fdc846f4e5b7bda56e8740b859c8340d9b5141a
/tests/test_input_biot_npbc_lagrange.py
cc685e4db4201cb225b7adde4304c90956861222
[ "BSD-3-Clause" ]
permissive
olivierverdier/sfepy
b824fdab7d91e137a371c277901fbb807b316b02
83aefb7b33ea17f4acb83388ba8bc7314c77616c
refs/heads/master
2021-01-18T05:39:13.127137
2010-10-25T13:13:18
2010-10-25T17:31:37
1,022,869
1
0
null
null
null
null
UTF-8
Python
false
false
164
py
input_name = '../examples/biot/biot_npbc_lagrange.py' output_name = 'test_biot_npbc_lagrange.vtk' from testsBasic import TestInput class Test(TestInput): pass
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
e1eca558e5cbce67053dce1a670a4aa3069896cd
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.12.28/5/1569571946.py
af429088f6ad955c7b65295f7f9a893d0bbe5fc1
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def mysum(xs: list) -> int: return sum(xs) ## Lösung Teil 2. (Tests) def test_mysum(): assert mysum([1,2,3]) == 6 ######################################################################
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
e83344bc5686876da9d4a28fdd9a32c2540bccf5
a7b5adc5f72b9ef71c0c71691492f8af8a32c868
/Minseo-Kim/leetcode/206_Reverse_linked_list.py
73148fa6b52f9be00ce91fc881e9ae477ff1fd88
[]
no_license
mintheon/Practice-Algorithm
535ff607e36d1bfa9f800a28091a52c48748221c
3a653a1d8cc6e1438cab47a427ccd0b421a10010
refs/heads/master
2023-04-10T17:43:10.434210
2021-04-10T18:46:26
2021-04-10T18:46:26
347,719,297
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next # Time complexity: O(n), ** Space complexity: O(1)** # Runtime: 32 ms, faster than 87.13% of Python3 # Memory Usage: 15.5 MB, less than 93.25% of Python3 class Soluti...
[ "noreply@github.com" ]
mintheon.noreply@github.com
3f53f5573681c9ce0fc51b144d84850bc70bcfb1
7a87b2701dedeab6ad0c237feebdb3434d28231e
/ui_framework/page/index_page.py
623efd36b370587149fe71e05467bb3cc8843856
[]
no_license
tingyu-ui/test_dwpytest
002a81f897b61c1e593d0f07f973b8380a725f9c
4765ed74b64582453ddce6e318aa626049b133e8
refs/heads/master
2023-08-28T02:25:25.814423
2021-10-06T17:58:00
2021-10-06T17:59:02
375,302,284
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
#!/usr/bin/env python # -*- coding:utf-8 -*- #雪球首页page #可以直接继承basepage,调用已经封装好的UI操作 import yaml from ui_framework.base_page import BasePage class IndexPage(BasePage): def goto_market(self): #xpath等同于By.xpath # self.find("xpath", "//*[@text='行情']").click() # print(data) #data格式 {'...
[ "you@example.com" ]
you@example.com
11f67c0308b87d360a68ff26de26d4697538d0de
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/sql/register_sql.py
9fac3d26fe0e079d1338a20b332cb6855862c0c9
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
''' Created on Aug 14, 2013 @author: asaf ''' import sys sys.path.append("/home/asaf/miner2.0") import miner_globals sys.path.append("/home/asaf/miner2-tools") from sql import sql_target miner_globals.addTargetToClassMapping("sql",None,"sql_target.sqlDump","Write To SQL DB")
[ "afeset@gmail.com" ]
afeset@gmail.com
7808b767d59251d668304489971025bb095ee8da
b207f16445f98cdf18ce4eb06ca8c1b292f7a096
/mysite/urls.py
149018110f85268095b7a27c3ed9a664fd15aeec
[]
no_license
Hugekyung/rest-board
653adac144244eddab65edf9754061b1046df182
038fb71b8cccc91e828b29025b40a15d249bb41a
refs/heads/main
2023-02-24T16:45:48.320337
2021-01-27T14:08:27
2021-01-27T14:08:27
331,324,674
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "kiki9510@gmail.com" ]
kiki9510@gmail.com
841815712a69ec53210e65b2409387ca65d4c2ba
50a00c194afddf2298504605f8a3dc1e1f854721
/sqlparse1/engine/grouping.py
e4f0cbf794843a12f84c397700779cc511b450d1
[]
no_license
CudaText-addons/cuda_fmt_sql_uroboro
ee57f8d600f4f838458519eb6a89a0690b6687c7
bbebcfee9ecfe3c317f62a1c8259b58f1da5b9c2
refs/heads/master
2020-06-18T21:38:40.678645
2019-07-11T21:25:46
2019-07-11T21:25:46
196,459,066
0
0
null
null
null
null
UTF-8
Python
false
false
18,236
py
# -*- coding: utf-8 -*- import itertools from sqlparse1 import sql from sqlparse1 import tokens as T import sys try: next except NameError: # Python < 2.6 next = lambda i: i.__next__() def _group_left_right(tlist, ttype, value, cls, check_right=lambda t: True, c...
[ "support@uvviewsoft.com" ]
support@uvviewsoft.com
d6b4388855a0884a32f7d4a5d924a2e063dda428
03e4e75a00044df181adbebf5f44b5076d97a15f
/example/0_Basic_usage_of_the_library/python_motor/3_delete.py
944d7f2e83b32bde74bae3324bcb045b7ab6c39c
[ "MIT" ]
permissive
RecluseXU/learning_spider
3820b15654bb5824b1f92c53389d24799ff2bb88
43831e2fbbd5de0cf729ce8c12c84d043b56e855
refs/heads/master
2023-06-08T09:36:26.307395
2023-05-19T02:48:08
2023-05-19T02:48:08
234,718,806
64
14
null
2020-01-20T11:54:29
2020-01-18T10:38:06
null
UTF-8
Python
false
false
820
py
# -*- encoding: utf-8 -*- ''' @Time : 2021-06-09 @Author : EvilRecluse @Contact : https://github.com/RecluseXU @Desc : 删除 ''' # here put the import lib from motor.motor_asyncio import AsyncIOMotorClient import asyncio async def do_delete(client: AsyncIOMotorClient): """ 删除一条记录 """ collecti...
[ "444640050@qq.com" ]
444640050@qq.com
ba5b46a31f4fb683772f0bbe00da6ac8986514ce
b03878679b1e07e0ec962083dd4d058d1503180f
/pyoxford/translator_api.py
50ec01c31e66fc1aef9305b12d2977aaffa05fc1
[ "MIT" ]
permissive
jhoelzl/pyoxford
d3a8abfb822706fbba17792e8519ac3d2d05e36d
9e3f2e0130951e0ccb3c3f7fd8798219e1c36ee2
refs/heads/master
2020-12-28T12:07:27.963018
2015-11-28T14:33:44
2015-11-28T14:33:44
58,353,003
0
0
null
2016-05-09T06:17:24
2016-05-09T06:17:23
null
UTF-8
Python
false
false
2,222
py
import urllib.parse from xml.etree import ElementTree import requests class Translator(object): AUTH_URL = "https://datamarket.accesscontrol.windows.net/v2/OAuth2-13" API_ROOT = "http://api.microsofttranslator.com/v2/Http.svc" TRANSLATE_URL = "http://api.microsofttranslator.com/v2/Http.svc/Translates" ...
[ "icoxfog417@yahoo.co.jp" ]
icoxfog417@yahoo.co.jp
2ae95574f310aa8df7b035537d7208bc72e1225f
5e381364c2ab31ff3618369085afffba6caa8edb
/recipes/squirrel/all/test_package/conanfile.py
5789855d52cb28e63a00eaa87670af8ce596836e
[ "MIT" ]
permissive
CAMOBAP/conan-center-index
16aea68a6d22da22831ba985773125e8eda08f00
67d57532bdad549fef3fa6cb8fcdfa86bc55e4f1
refs/heads/master
2023-07-30T08:58:57.285571
2021-10-02T14:57:54
2021-10-02T14:57:54
323,262,699
1
0
MIT
2021-05-29T13:37:04
2020-12-21T07:30:02
Python
UTF-8
Python
false
false
559
py
from conans import ConanFile, CMake, tools import os class TestPackageConan(ConanFile): settings = "os", "compiler", "build_type", "arch" generators = "cmake", "cmake_find_package_multi" def build(self): cmake = CMake(self) cmake.definitions["SQUIRREL_SHARED"] = self.options["squirrel"].s...
[ "noreply@github.com" ]
CAMOBAP.noreply@github.com
23b3665560b2105af94061d1dfb27c99ee78e8e3
709c35fded3567512c1eec3bb7facb63e4891903
/mark2cure/task/ner/models.py
5c8d298d572b68cf492693848e88e40401c9c0fc
[ "MIT" ]
permissive
SuLab/mark2cure
da8ddca9d35cc10116417451d8a4caea29f279c5
63d20e75b8817ad75c6766b4d8a7a8ee8207d512
refs/heads/master
2023-02-04T08:51:22.372167
2018-02-28T02:50:25
2018-02-28T02:50:25
54,926,527
17
14
null
2023-01-11T22:31:16
2016-03-28T21:58:29
Python
UTF-8
Python
false
false
790
py
from django.db import models from .managers import EntityRecognitionAnnotationManager from django.forms.models import model_to_dict class EntityRecognitionAnnotation(models.Model): # Only access through Document.Annotation.metadata.RelationAnnotation DISEASE = 0 GENE = 1 TREATMENT = 2 TYPE_CHOICES...
[ "max@maxnanis.com" ]
max@maxnanis.com
93751656fda3d971cc190873ece55248d3a8d757
58a87e847f8c6cd5b83cbe5758e779679563cc66
/Exercícios complementares/ExercícioG.py
cceba6383e0aa814ccbfd132a91df968d153333a
[]
no_license
suzanamfp/Atividades-complementares-Python
9444dec6cd952db3cdeaf26648f0eb60a89a0862
d1a04f3f4d70298aa8448a37ba3e4b5313ced472
refs/heads/master
2022-12-02T21:23:55.261903
2020-08-18T19:28:34
2020-08-18T19:28:34
288,545,350
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
def main(): cores = ['azul', 'vermelho', 'cinza', 'amarelo'] cores.remove('vermelho') print(cores) main()
[ "noreply@github.com" ]
suzanamfp.noreply@github.com
b7559dc7812e5200464d1e7279d70aedf5f87fb3
d73b14bd20cfc1320e1911247b28c5109c51b5d1
/training/train_openpose.py
75a4569e1b897416ebc493dee676ee8e17f683fe
[]
no_license
rainyucool/openpose-pytorch
9c7e32bdab53417fef30d81a2dc53019dc3dbd84
4bc9cf4c927fdb507d89198724a237800cad9b3e
refs/heads/master
2020-04-01T13:25:04.702843
2018-05-07T13:12:11
2018-05-07T13:12:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,292
py
import torch from torch.utils.data import DataLoader from config import cfg from datasets.coco_dataset import CocoDataset from models import model_openpose from skeletons.gt_generators.gt_generator_openpose import GroundTruthGeneratorOpenPose from skeletons.skeleton_config_openpose import SkeletonConfigOpenPose from t...
[ "Dennis.Ludl@reutlingen-university.de" ]
Dennis.Ludl@reutlingen-university.de
1a6e7eb51c70cb8fd43657c64d233264aef82988
d70a4ec35ac91c914c42611e8b0ee05525371f7a
/src/lwc/settings_old.py
392a0df76f497a6832088dac3f360cb7bffbefc8
[]
no_license
jwilsontt/lwc
b662de74e47f350a732cc5e1e52a80bd4da46524
975a45aab16019f03880dafcd1b1ee7931613613
refs/heads/master
2021-01-21T07:53:44.348760
2015-08-21T04:05:36
2015-08-21T04:05:36
33,587,522
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
""" Django settings for lwc project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import...
[ "jwilsontt@gmail.com" ]
jwilsontt@gmail.com
46ab94c8a8e2a2f0c3ac17d32ed98651ad8589fb
0849923ebcde8f56a6e8550ae4f3c5ee3e2e0846
/desktop/core/ext-py/MySQL-python-1.2.3c1/setup_posix.py
5895984e6cb9da83ebb46ef3be36f4b55e2e0b0d
[ "GPL-2.0-only", "GPL-1.0-or-later", "Apache-2.0" ]
permissive
thinker0/hue
511a5796cdfe45e0b27f1d3309557ca60ce8b13b
ee5aecc3db442e962584d3151c0f2eab397d6707
refs/heads/master
2022-07-10T02:37:23.591348
2014-03-27T20:05:00
2014-03-27T20:05:00
12,731,435
0
0
Apache-2.0
2022-07-01T17:44:37
2013-09-10T14:13:42
Python
UTF-8
Python
false
false
2,947
py
from ConfigParser import SafeConfigParser # This dequote() business is required for some older versions # of mysql_config def dequote(s): if s[0] in "\"'" and s[0] == s[-1]: s = s[1:-1] return s def compiler_flag(f): return "-%s" % f def mysql_config(what): from os import popen f = pope...
[ "bcwalrus@cloudera.com" ]
bcwalrus@cloudera.com
cc5fa549674d5f7f51c7555601bb75a5d2f426f5
9b0bdebe81e558d3851609687e4ccd70ad026c7f
/数据结构/链表/10.链表相交.py
f407d7d61aadf869f8133d2993fdec96d025f9a8
[]
no_license
lizenghui1121/DS_algorithms
645cdad007ccbbfa82cc5ca9e3fc7f543644ab21
9690efcfe70663670691de02962fb534161bfc8d
refs/heads/master
2022-12-13T22:45:23.108838
2020-09-07T13:40:17
2020-09-07T13:40:17
275,062,257
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
""" @Author: Li Zenghui @Date: 2020-07-17 14:47 """ class ListNode: def __init__(self, val): self.val = val self.next = None def getIntersectionNode(headA, headB): def getLength(head): count = 0 while head: count += 1 head = head.next return ...
[ "954267393@qq.com" ]
954267393@qq.com
d665df43152a171e231c0793371cf072aca4f3a1
31bd9276e74446a05cb41644dc8baf55d8662f93
/xnr_0429/xnr/weibo_xnr_knowledge_base_management/utils.py
f3093366cccee8bd07fb22b3e81de8f8d384c4a2
[]
no_license
SDsonghuiui/xnr2
4938a73adcafdc5881a81ffc9eaa93b08fb770e3
30d1d41566c58ee7925da6c2c6d741e229cda852
refs/heads/master
2020-04-06T08:25:42.176438
2018-11-12T14:10:32
2018-11-12T14:10:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,301
py
#!/usr/bin/python #-*- coding:utf-8 -*- import time import json import pinyin import numpy as np from xnr.global_config import S_TYPE,S_DATE from xnr.global_utils import es_xnr as es from xnr.global_utils import es_user_portrait,es_user_profile,es_flow_text,flow_text_index_name_pre,flow_text_index_type from xn...
[ "bingqulee@gmail.com" ]
bingqulee@gmail.com
175dac1813e30dfc38d2330b3134a90625c9dacc
3d192f5ebe208a9603460d7bc248a5e983bd49e1
/main_list.py
dc59cc6d0f399323fb087d8c5a02697e1a5038f5
[]
no_license
535521469/list_shc
43e83705127b601fdfa3f1688f450d9ddae96bb9
0d93baec3a64a532ab95498805247784262dd684
refs/heads/master
2021-01-15T21:10:03.980779
2013-11-28T05:44:17
2013-11-28T05:44:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,202
py
# encoding=utf8 ''' Created on 2013-3-20 @author: corleone ''' from crawler.shc.fe.const import FEConstant as const from multiprocessing import Process from sched import scheduler from scrapy.cmdline import execute from scrapy.settings import CrawlerSettings import collections import datetime import time from bot.confi...
[ "535521469@qq.com" ]
535521469@qq.com
8876284a7a38ed4b8daedc0a42e8722bf52cf232
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/AbnormalRecovery-bak/bak/XOGW_RESTART_PGJK_IPO.py
4445242cb1451a5c0c23ad77987bf2e8101fe124
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,296
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test") from Autocase_Result.AbnormalRecovery.ARservice.ARmainservice import * from utils.env_restart import * from service.ServiceConfig import * from xtp.api.xtp_test_case import * from xtp.api.config import ALL_USER # 执...
[ "418033945@qq.com" ]
418033945@qq.com
a2c06d42d13a74881d8ce2770a42a240f90ffa8b
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/nxr.py
78b3d4076a27f4f810c52838a61eaa9ef5ab7d72
[]
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
315aad6b034c11627f71ff2689bea84cf59bba2b
4a48593a04284ef997f377abee8db61d6332c322
/python/pyqt/pyqt5/widget_QTableWidget.py
ac6b9f412cde6986dc866f49d1e4a4e191922386
[ "MIT" ]
permissive
jeremiedecock/snippets
8feaed5a8d873d67932ef798e16cb6d2c47609f0
b90a444041c42d176d096fed14852d20d19adaa7
refs/heads/master
2023-08-31T04:28:09.302968
2023-08-21T07:22:38
2023-08-21T07:22:38
36,926,494
26
9
MIT
2023-06-06T02:17:44
2015-06-05T10:19:09
Python
UTF-8
Python
false
false
2,001
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # See https://pythonspot.com/en/pyqt5-table/ import sys from PyQt5.QtWidgets import QApplication, QWidget, QTableWidget, QTableWidgetItem, QVBoxLayout from PyQt5.QtCore import pyqtSlot class MyTableWidget(QWidget): def __init__(self): super().__init__() ...
[ "jd.jdhp@gmail.com" ]
jd.jdhp@gmail.com
88d4fa2d0076946d04bbd1b4a6f4885cde020362
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/Gdk/EventTouchpadSwipe.py
d2868a48bee0f1424400e2bd2a7e6dbbb90e218c
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
5,968
py
# encoding: utf-8 # module gi.repository.Gdk # from /usr/lib64/girepository-1.0/Gdk-2.0.typelib # by generator 1.147 # no doc # imports import gi as __gi import gi.overrides as __gi_overrides import gi.overrides.GObject as __gi_overrides_GObject import gi.repository.Gio as __gi_repository_Gio import gobject as __gobje...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
9e90bb8d779df640147384a893d77b07f2666499
e44d00ffcea03f8656c40b3d4d993d51a38af3b0
/leetcode/June/J30_WordSearch.py
b5d00f420d9170ce3aba83d26afc9c78c2c1d6ed
[]
no_license
Ayushmanglani/competitive_coding
d6beec4f2b24aef34ea44c3a4a72074985b4a766
12325b09ae2bc6b169578b6a0a091069e14c9227
refs/heads/master
2023-06-12T04:43:41.130774
2021-07-03T13:01:37
2021-07-03T13:01:37
262,079,363
1
0
null
null
null
null
UTF-8
Python
false
false
2,032
py
WORD_KEY = '$' trie = {} for word in words: node = trie for letter in word: # retrieve the next node; If not found, create a empty node. node = node.setdefault(letter, {}) # mark the existence of a word in trie node ...
[ "ayush.manglani@gmail.com" ]
ayush.manglani@gmail.com
bcf362efa27bf9b944a7809c71d7d948778c7f5b
6351221d588668804e2df01936732eede4d96ed0
/leetcode-cn/Python/75.颜色分类.py
4313aa9c973f61f6ebfa98ea1f9aed7a874433b6
[]
no_license
LogicJake/code-for-interview
8e4ec9e24ec661a443ad42aa2496d78a1fbc8a3f
5990b09866696c2f3e845047c755fa72553dd421
refs/heads/master
2021-09-20T20:19:17.118333
2021-09-14T13:46:30
2021-09-14T13:46:30
102,202,212
3
2
null
null
null
null
UTF-8
Python
false
false
611
py
# # @lc app=leetcode.cn id=75 lang=python3 # # [75] 颜色分类 # # @lc code=start from typing import List class Solution: def sortColors(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ p0 = 0 p2 = len(nums) - 1 i = 0 ...
[ "835410808@qq.com" ]
835410808@qq.com
39cf2d0c2245eb8d9b2517f31f7b202604cb3c5d
7f6ad639d41ad522ae73cb87ee61da48d83dcd27
/hamnadmin/hamnadmin/mailqueue/management/commands/send_queued_mail.py
301c769bebde70fefdcdf2b48a8d818b20aa583a
[]
no_license
mhagander/hamn
0aedaea24c32903480b580273ce272e26cc25d5b
c7271662c7726749d11e47f3064bec80b0e95c4a
refs/heads/master
2023-08-31T05:05:07.160357
2023-08-24T09:02:52
2023-08-24T09:02:52
729,253
2
2
null
2017-06-08T07:32:48
2010-06-19T13:48:04
Python
UTF-8
Python
false
false
1,411
py
# Script to send off all queued email. # # This script is intended to be run frequently from cron. We queue things # up in the db so that they get automatically rolled back as necessary, # but once we reach this point we're just going to send all of them one # by one. # from django.core.management.base import BaseComma...
[ "magnus@hagander.net" ]
magnus@hagander.net
c476dffe1424e9b39be4b00edfc9aad451a77a0f
a7c4478e6fdec7cf1a5f22b9eba5e11afc537503
/app/main/errors.py
129fff301ce85ae5f1f6f5d546092fe5a73a525a
[]
no_license
deveshaggrawal19/waasle
457fe686a18ce9d5162abc9b3fd5041d7938ee23
69e00a29175d0771d8ff920397dc08d37d3cc3dc
refs/heads/master
2021-04-26T22:19:32.317110
2016-11-17T18:51:17
2016-11-17T18:51:17
71,818,197
0
1
null
null
null
null
UTF-8
Python
false
false
186
py
from flask import render_template from ..main import main @main.app_errorhandler(404) # Will route all the errors def page_not_found(e): return render_template('404.html'), 404
[ "deveshaggrawal19@gmail.com" ]
deveshaggrawal19@gmail.com
ea193671f595da467bd64814a0cf7ba0d1e8566d
74515f9e059aa8a73e63d735abbac69d99713c69
/src/tournai/urban/dataimport/interfaces.py
c03599111093db2e481981427c2974da1bb70e5b
[]
no_license
IMIO/tournai.urban.dataimport_22
b7285eaf15aec02dfa778881d4c53b02cfcc1466
c1e9db3edeab1da154fdff2d078d88802ea7bb24
refs/heads/master
2020-12-30T16:02:30.853395
2018-03-23T14:14:23
2018-03-23T14:14:23
90,954,037
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
# -*- coding: utf-8 -*- """Module where all interfaces, events and exceptions live.""" from plone.theme.interfaces import IDefaultPloneLayer from imio.urban.dataimport.interfaces import IUrbanDataImporter class ITournaiUrbanDataimportLayer(IDefaultPloneLayer): """ Marker interface that defines a Zope 3 browser ...
[ "julien.jaumotte@imio.be" ]
julien.jaumotte@imio.be
d98242cf54552fe3ac8c77d0b97a6bdf536e0756
f93998e1c5c5c50bf20aed8d5b3517b12c333fdb
/wellsfargo/migrations/0003_auto_20160524_1127.py
2d1bd6aa4fbbf69c580061fe78dd97723e4b7eab
[ "ISC" ]
permissive
pombredanne/django-oscar-wfrs
637130651ab0d15289c4b3b3b86a42ada306fe96
991b79d2bd8a22512861bb3117c2bb5444c467b2
refs/heads/master
2021-01-17T23:41:10.424343
2016-05-28T01:20:30
2016-05-28T01:20:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,623
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-24 11:27 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependen...
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
6d5fc62c7c29032963e791bf480302878fd25bf3
e70a5960b60bf6c11df4248625d0188ededdd4c7
/Function/GUI/GUI_main/note_string.py
f13b73e15b9279706e1d53de8d8a68e661cfbc22
[]
no_license
wx2000qq/MoDeng
70be2802b6191855667cce5fe3cd89afda5fb9a9
9144bb79c237c0361b40f314b2c3123d58ac71cc
refs/heads/master
2020-11-24T11:52:08.829630
2019-12-15T04:54:25
2019-12-15T04:54:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,525
py
# encoding=utf-8 """ 将提示字符串规整在一起,防止在代码中占用太多地方 统一用note开头 """ # 初始化图片提示 note_init_pic = \ """ ---------------------------------------------------------------------------------- 小提示: 当前正在生成“三大指数”、“持仓stk”和“关注stk”的小时、日、周和月的MACD图! 以及日级别的KD、MOM、RSI、SAR等指标的图。 小时级别的MACD图半小时更新一次,其余图片启动软件时生成最新的,软件开启后暂不更...
[ "1210055099@qq.com" ]
1210055099@qq.com
2644c8ca38324e9a27a0a32fe48c7fa1e3a4b2ca
9d8a3a2c0a15dbf1f90d801e6d705d1212cf09af
/services/web__rionegro_com_ar.py
cd01900105e6f20fc372cc37095e8cfcbc691854
[]
no_license
rudolphos/NewsGrabber
f9bddc9a9b3a9e02f716133fd746f48cee635b36
86354fb769b2710ac7cdd5bd8795e43158b70ad2
refs/heads/master
2021-01-12T12:07:55.335079
2016-10-09T22:39:17
2016-10-09T22:39:17
72,316,773
0
0
null
2016-10-30T00:35:08
2016-10-30T00:35:08
null
UTF-8
Python
false
false
213
py
refresh = 4 version = 20160403.01 urls = ['http://www.rionegro.com.ar/', 'http://www.rionegro.com.ar/diario/ultimas-noticias.aspx'] regex = [r'^https?:\/\/[^\/]*rionegro\.com\.ar'] videoregex = [] liveregex = []
[ "Arkiver@hotmail.com" ]
Arkiver@hotmail.com
28bafc6808151dfca0608b676e7311af110fe7cd
926b3c52070f6e309567c8598248fd5c57095be9
/src/mmdeploy/mmdeploy/backend/ncnn/quant.py
7bddda80b7addab282d7ccd92746cae829ba53ec
[ "Apache-2.0" ]
permissive
fengbingchun/PyTorch_Test
410f7cd2303707b0141d433fb9d144a961e1f4c8
df5c2169f0b699bcd6e74adb4cb0e57f7dcd9348
refs/heads/master
2023-05-23T16:42:29.711338
2023-03-25T11:31:43
2023-03-25T11:31:43
167,339,907
15
4
null
2023-03-25T11:31:45
2019-01-24T09:24:59
C++
UTF-8
Python
false
false
2,119
py
# Copyright (c) OpenMMLab. All rights reserved. import os.path as osp from subprocess import call from typing import List import mmcv from .init_plugins import get_ncnn2int8_path def get_quant_model_file(onnx_path: str, work_dir: str) -> List[str]: """Returns the path to quant onnx and table with export result....
[ "fengbingchun@163.com" ]
fengbingchun@163.com
612a9cfe6c7e2307b32cf0a91d982b8221012697
5a648d5c62e640a8df8d18549eaf6e84a36dbd28
/findk.py
eb35c580c67910fc18867b2273ac68599fcf99ef
[ "MIT" ]
permissive
quake0day/oj
f5f8576f765a76f0f3a8b2c559db06279e93ef25
c09333d1738f8735de0d5d825db6f4b707585670
refs/heads/master
2021-01-21T04:27:34.035319
2016-03-30T02:19:15
2016-03-30T02:19:15
30,592,861
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
a = "leetcode" b = "codyabs" k = 3 def findK(a,b, k): m = len(a) n = len(b) h = {} for i in xrange(m-k): h[a[i:i+k]] = True #dp = [[False] * n for _ in range(m)] #dp[0][0] = True for j in xrange(n-k): if b[j:j+k] in h: return True def findKDP(a,b,k): m = len...
[ "quake0day@gmail.com" ]
quake0day@gmail.com
7b5f1ea57196f64b077d3972a4c3dce973abb7c2
7d8a4d58fc4c5a73ce8c85e513253a86d6290d3b
/plugin.video.destinyds/default.py
1b500fb03a19198561fad5bb03af7b19238f1903
[]
no_license
bopopescu/icon
cda26d4463d264b7e2080da51f29d84cc48dfb81
e385a6225dd11b7fea5a11215d655cf5006bb018
refs/heads/master
2022-01-12T19:00:04.951604
2019-07-10T05:35:44
2019-07-10T05:35:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
610,962
py
# -*- coding: utf-8 -*- import xbmcaddon,os,xbmc,xbmcgui,urllib,urllib2,re,xbmcplugin,sys,logging,time,random from os import listdir from os.path import isfile, join Addon = xbmcaddon.Addon() import pyxbmct import requests,json import xbmcvfs import koding import socket import threading global done_nextup global all_...
[ "kodi15887@gmail.com" ]
kodi15887@gmail.com
fe0cc4da59a94d0df78036600816503cfbc23403
b2472967910be9c12576f0f97d33bca0576a8667
/atcoder-old/2014/0510_abc008/a.py
4994aed624cbe5ab8c5fa344b8f2893e6fc4367a
[]
no_license
ykmc/contest
85c3d1231e553d37d1235e1b0fd2c6c23f06c1e4
69a73da70f7f987eb3e85da503ea6da0744544bd
refs/heads/master
2020-09-01T22:56:10.444803
2020-07-14T11:36:43
2020-07-14T11:36:43
217,307,953
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Python3 (3.4.3) import sys input = sys.stdin.readline # ------------------------------------------------------------- # function # ------------------------------------------------------------- # ------------------------------------------------------------- # main # -------------------------------------------------...
[ "34961813+ykmc@users.noreply.github.com" ]
34961813+ykmc@users.noreply.github.com
e72b191ffe48b81cecb98695841bbeb849806378
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/typeshed/stubs/pynput/pynput/_util.pyi
4202bcb5464e285fb3440fe793aaaedd606e541d
[ "Apache-2.0", "MIT" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
2,715
pyi
import sys import threading from _typeshed import Self from collections.abc import Callable from queue import Queue from types import ModuleType, TracebackType from typing import Any, ClassVar, Generic, TypeVar from typing_extensions import ParamSpec, TypedDict _T = TypeVar("_T") _AbstractListener_T = TypeVar("_Abstra...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
251ac003ca5d4741bf87599906a0b4ccc9411585
a4f5d92264f6ff32021945fd70041dc90840af49
/docstrings/tt_postscript.py
55f971456aebc0ad3762348da706a64aa6edf0f4
[ "BSD-2-Clause-Views" ]
permissive
matplotlib/freetypy
95da1c583f05726de8bd4a18ec5008cd0539909d
601be6e816511a304302d6aafdbc24031c4df5df
refs/heads/master
2023-08-20T05:33:00.601874
2017-10-23T18:35:10
2017-10-23T18:35:10
11,617,229
5
7
null
2017-10-23T18:35:11
2013-07-23T19:32:39
Python
UTF-8
Python
false
false
2,488
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Michael Droettboom All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, t...
[ "mdboom@gmail.com" ]
mdboom@gmail.com
db77fde274d2b3dadccad3cddd3774d816d1ebe2
f571590e3c1787d183e00b81c408362e65671f76
/Exercisebolean.py
d76a0e8a16cc68826d3b91a1c9b8e7aaaa67d698
[]
no_license
neymarthan/project1
0b3d108dd8eb4b6fa5093525d469d978faf88b88
5e07f9dff181bb310f3ce2c7818a8c6787d4b116
refs/heads/master
2022-12-26T08:44:53.464398
2020-10-06T09:14:29
2020-10-06T09:14:29
279,528,778
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
string=input('Enter the string: ') print('This is what I found about that string:') if string.isalnum(): print('The string is alphanumeric') if string.alphanumeric(): print('The string contains only alphabetic characters') if string.alphanumeric(): print('The letters in the string are all lowercase') ...
[ "INE-02@Admins-iMac-5.local" ]
INE-02@Admins-iMac-5.local
02e6babb21c73f39d790ed41dff2417ab0a89fd8
056ff03373c07ec60f715333f8af17ea6ad3c615
/labs/test_core.py
1bdffa5a16592f3036993621d1b6ab5f58b4bdd1
[ "MIT" ]
permissive
MITLLRacecar/racecar-daniel-chuang
f7da7f0c6ea7b86c5dff007996d6eb6d7a9de26c
5d22aac5cbbd77d9380f3e4afaf3e0009a1791de
refs/heads/master
2023-06-18T11:10:28.771574
2021-07-23T01:30:10
2021-07-23T01:30:10
383,568,872
0
0
MIT
2021-07-23T01:30:10
2021-07-06T18:47:38
Jupyter Notebook
UTF-8
Python
false
false
6,335
py
""" Copyright MIT and Harvey Mudd College MIT License Summer 2020 A simple program which can be used to manually test racecar_core functionality. """ ######################################################################################## # Imports #####################################################################...
[ "66690702+github-classroom[bot]@users.noreply.github.com" ]
66690702+github-classroom[bot]@users.noreply.github.com
fa47f633b556f75ecc66e442fe8d82e3c675b25d
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-sdrs/huaweicloudsdksdrs/v1/model/reverse_protection_group_request_body.py
8eae3df950173a01db830f9ccf7363fab8f36972
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,564
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ReverseProtectionGroupRequestBody: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The k...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
f9e1ce59ea2595225385d5cf3e7a38a4f69b189e
5f27bc1a0460a078f6fe33a544f494a5dff7f452
/script/old/D_0617_printTEST.py
e51523cee1881ac200bba959c53948d221a0e939
[]
no_license
A-Why-not-fork-repositories-Good-Luck/arm_move
3e381f0310265f47da14beaac136c358fb318f92
e2e6182cfd93df1935bd3b8e9158134964dc44fa
refs/heads/master
2023-03-15T18:37:17.337770
2020-11-18T06:46:06
2020-11-18T06:46:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
x = 1 y = 'a' print "asdfasfd %s,%s" % (x, y)
[ "welovehun91@gmail.com" ]
welovehun91@gmail.com
d12b7c803c0ee26c17895955b0173ae850f57ec0
96933e173dcebcd611188b6fba982ca9cf975e1c
/qa/migrations/0007_remove_question_tags.py
fc3e9673ea51d72cfd2f1b2f275a7f9e3423e08b
[]
no_license
hift/django-qa
7d640181312c672936a6f0b7fa2f8041350a0e4f
57bc418e0b9f611872b50968862dd469353cb050
refs/heads/master
2021-01-10T10:41:16.437404
2015-11-22T07:54:48
2015-11-22T07:54:48
45,435,624
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('qa', '0006_question_tags'), ] operations = [ migrations.RemoveField( model_name='question', name='ta...
[ "=" ]
=
f4d577e2f19b9ff16f9ff16c9b44e3f73ed349cd
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/HWWSemiLepHighMass/nanoAODv4v5/2016/Mix/nuisances.py
9e45ef184499d676695781cd4842074beab43449
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
6,767
py
import os SITE=os.uname()[1] xrootdPath='' if 'iihe' in SITE : xrootdPath = 'dcap://maite.iihe.ac.be/' treeBaseDir = '/pnfs/iihe/cms/store/user/xjanssen/HWW2015/' elif 'cern' in SITE : treeBaseDir = '/eos/cms/store/group/phys_higgs/cmshww/amassiro/HWWNano/' elif 'sdfarm' in SITE: xrootdPath = 'root://...
[ "soarnsoar@gmail.com" ]
soarnsoar@gmail.com
b2ee99ab61869de3e0076e3216e7a06574b7fbc5
75e1d9446cb1fca5c6a79ad0ba7f38268df1161f
/Python Programs/both-adjacent-elements-odd-or-even.py
cc2b13fa70a753c1820a7d007e5bebba5611bfd7
[ "CC0-1.0" ]
permissive
muhammad-masood-ur-rehman/Skillrack
6e9b6d93680dfef6f40783f02ded8a0d4283c98a
71a25417c89d0efab40ee6229ccd758b26ae4312
refs/heads/main
2023-02-03T16:45:54.462561
2020-12-23T08:36:28
2020-12-23T08:36:28
324,221,340
4
1
CC0-1.0
2020-12-24T19:12:54
2020-12-24T19:12:54
null
UTF-8
Python
false
false
953
py
Both Adjacent Elements - Odd or Even Both Adjacent Elements - Odd or Even: Given an array of N positive integers, print the positive integers that have both the adjacent element values as odd or even. Boundary Condition(s): 3 <= N <= 1000 Input Format: The first line contains N. The second line contains N elements sep...
[ "36339675+hemanthtejadasari@users.noreply.github.com" ]
36339675+hemanthtejadasari@users.noreply.github.com
226db6ef29278e9c5bed42cffc9f0ecef5632813
53c224a6eee8c6869bc5c292cc8783ea934f0656
/data_generator.py
b0417b0ce56cec970cf6c200a3ac5465138a59c4
[ "MIT" ]
permissive
kunato/Deep-Image-Matting
05909d276dd86cc3d59eacf1865511375d6b3f54
84baf4ce893083a940d9bfe224515f09787e9289
refs/heads/master
2020-05-22T18:35:43.610713
2019-05-14T15:44:34
2019-05-14T15:44:34
186,475,076
0
0
MIT
2019-05-13T18:33:15
2019-05-13T18:33:14
null
UTF-8
Python
false
false
5,986
py
import math import os import random from random import shuffle import cv2 as cv import numpy as np from keras.utils import Sequence from config import batch_size from config import fg_path, bg_path, a_path from config import img_cols, img_rows from config import unknown_code from utils import safe_crop kernel = cv.g...
[ "foamliu@yeah.net" ]
foamliu@yeah.net
2e3c056ddb9c2a6b10f4f8034e24097ff42c81da
2dfbb97b47fd467f29ffb26faf9a9f6f117abeee
/leetcode/1191.py
9521fa28400a3f61456c8bb3b23adb9a49256601
[]
no_license
liuweilin17/algorithm
0e04b2d36dfb6b7b1b0e0425daf69b62273c54b5
d3e8669f932fc2e22711e8b7590d3365d020e189
refs/heads/master
2020-12-30T11:03:40.085105
2020-04-10T03:46:01
2020-04-10T03:46:01
98,844,919
3
1
null
2018-10-05T03:01:02
2017-07-31T03:35:14
C++
UTF-8
Python
false
false
1,534
py
########################################### # Let's Have Some Fun # File Name: 1191.py # Author: Weilin Liu # Mail: liuweilin17@qq.com # Created Time: Sun Sep 15 11:17:08 2019 ########################################### #coding=utf-8 #!/usr/bin/python #1191. K-Concatenation Maximum Sum class Solution: # notice th...
[ "liuweilin17@qq.com" ]
liuweilin17@qq.com
6366a51b34c9707afc49632e677013a815ca55db
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/jSjjhzRg5MvTRPabx_19.py
eb3db41a4579e7f71b9bfce3b4dbb68b86841701
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
""" Given a list of strings (nouns), list them up in a complete sentence. ### Examples sentence(["orange", "apple", "pear"]) ➞ "An orange, an apple and a pear." sentence(["keyboard", "mouse"]) ➞ "A keyboard and a mouse." sentence(["car", "plane", "truck", "boat"]) ➞ "A car, a plane, a truck a...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
133ecc63c3b8010b2e081e25503fe33369029499
f9a5e7233875989f994438ce267907d8210d60a1
/test/pump_sensor/metalearning/knn_ranking/RMSE/k=5/univariate_statistical_test_F-test/sensor_prediction_F-test_AUCROC.py
07f3ad3de4c6f7b7527d340a0b8f360e9da3c1b9
[]
no_license
renoslyssiotis/When-are-Machine-learning-models-required-and-when-is-Statistics-enough
da8d53d44a69f4620954a32af3aacca45e1ed641
6af1670a74345f509c86b7bdb4aa0761c5b058ff
refs/heads/master
2022-08-29T20:21:57.553737
2020-05-26T18:03:46
2020-05-26T18:03:46
256,439,921
0
0
null
null
null
null
UTF-8
Python
false
false
2,201
py
import sys, os, pickle from pathlib import PurePath current_dir = os.path.realpath(__file__) p = PurePath(current_dir) sys.path.append(str(p.parents[7])+'/metalearners/knn_ranking_method/RMSE') from KNN_ranking_k_5_RMSE import KNN_ranking #Load the selected meta-dataset after performing zero-variance threshold with op...
[ "rl554@cam.ac.uk" ]
rl554@cam.ac.uk
ccdaa4456177883986864fd3be8c8e5ff907ebe3
5e944167564f1c85431b2244cb9181a058b0ceeb
/homework1/exercise1.py
cdcc8f97bf7ceb91f7685291401cf5dc92596cd6
[]
no_license
uwhpsc-2016/homework1_solution
4519ddec35e29b0b15561cd5b066a593edb3c499
d2b68d2c6aaf6a84d34405ec3b352a6ecc6c346c
refs/heads/master
2020-12-26T21:37:31.910378
2016-05-05T02:58:46
2016-05-05T02:58:46
55,077,710
0
5
null
null
null
null
UTF-8
Python
false
false
804
py
def collatz_step(n): """Returns the result of the Collatz function. The Collatz function C : N -> N is used in `collatz` to generate collatz sequences. Parameters ---------- n : int Returns ------- int """ if (n < 1): raise ValueError('n must be >= 1') if (n =...
[ "cswiercz@gmail.com" ]
cswiercz@gmail.com
6ff1497c503be08c386828ec59da8a6dcd17b03b
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/raw/GLX/_glgets.py
76bcbaca63d3763cb619e8e125e243064e9565cc
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
279
py
"""glGet* auto-generation of output arrays (DO NOT EDIT, AUTOGENERATED)""" try: from OpenGL.raw.GL._lookupint import LookupInt as _L except ImportError: def _L(*args): raise RuntimeError( "Need to define a lookupint for this api" ) _glget_size_mapping = _m = {}
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
683a3f3492255066d1463b56418bfee089e6a0e2
779be2cae4bcfa24d47c2f681dd77bd2419099e9
/atcoder_py/Archive/ABC204_A_20210606.py
b1a175022a1720a474395bc6e55552573ed9b8db
[]
no_license
ynanigashi/til
f72d586427981c5b4543546193f8bfcb0d65a8c8
9de4453300ea5b084f4348a3e25ccedb0627d10c
refs/heads/master
2023-08-10T18:30:44.599474
2021-09-26T12:50:39
2021-09-26T12:50:39
274,137,816
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
x, y = map(int, input().split()) if x == y: print(x) else: print(3 - x -y)
[ "26033486+ynanigashi@users.noreply.github.com" ]
26033486+ynanigashi@users.noreply.github.com
5a8684e4aee28c9d8a04f66bf08b0763bd885b1b
d04f2c6d22ec189cd725cf2e7c882e841cbada67
/nonlineer-3.py
5098029431ddac53df11179b3f63fffc6f3d2471
[ "Unlicense" ]
permissive
nyucel/numerical-methods
e2d0c13b7ae752da4d765bc76a04499ad998da6f
14824fa3b85b4337b9c95c0b79b2b91a644ac18d
refs/heads/master
2021-12-15T11:55:12.250619
2018-04-17T18:58:21
2018-04-17T18:58:21
82,589,234
52
83
Unlicense
2023-08-15T22:28:25
2017-02-20T18:28:56
Python
UTF-8
Python
false
false
254
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- def f(x,y): return(x**2+x*y-10) def g(x,y): return(y+3*x*y**2-57) xi = float(input("x için başlangıç değerini girin: ")) yi = float(input("y için başlangıç değerini girin: ")) print(xi,yi)
[ "necdetyucel@gmail.com" ]
necdetyucel@gmail.com
5123cbb3e967f205b9a8fe82e3a467da31dd9ff5
1508b3e3f56e750e38db4334343beedcbb2f9c95
/519/client.py
20c724b5ee583cac67e228e1cc2fa1481b071e6d
[]
no_license
kellyseeme/pythonexample
3bb325e31c677160c1abd6c3f314f7ef3af55daa
3eab43cdfa5c59a0f4553de84c9de21e5ded44bb
refs/heads/master
2021-01-21T13:52:43.076697
2016-05-30T06:32:37
2016-05-30T06:32:37
51,348,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
#!/usr/bin/env python import socket import time import processbar import time HOST = '192.168.1.60' PORT = 9999 def recv_all(socketobj,file_name,file_size): f = open(file_name,'w') while file_size > 0: if file_size <= 1024: processbar.progressbar(10,10) data = socketobj.recv(10...
[ "root@python.(none)" ]
root@python.(none)
1356e86996b557a0fb21231df0e57fbd65351d5c
f99cca94f74c69bc518e298c14140534e18eabd3
/OrcApi/Run/Test/TestServiceRun.py
9c2a51fb2de8a7362bf3f8d3d40beca6dcf424bc
[]
no_license
pubselenium/OrcTestToolsKit
d6d838d9937d2c4d86941e317cb3ff096b58e52d
f3ccbbceaed4f4996f6907a2f4880c2fd3f82bbb
refs/heads/master
2021-04-29T05:15:53.240714
2016-12-30T09:42:53
2016-12-30T09:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
import unittest from OrcLib.LibTest import OrcTest from OrcApi.Run.RunDefMod import RunCore class TestService(unittest.TestCase): def test_get_case_list(self): """ Get page usl :return: """ OrcTest.test_print_begin() _service = RunCore() _service.search_l...
[ "orange21cn@126.com" ]
orange21cn@126.com
3313864acba61b42751b05e32ea6f94bb50c4c20
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/Default/FPythonCode/ColumnDefinitionUtils.py
d2f8e37da770a652927cd264b31a059f22ee2a8e
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
def GetPairOffParentReference(settlement): pairOffReference = None if settlement.PairOffParent(): pairOffReference = settlement.PairOffParent() if not pairOffReference: for child in settlement.Children(): pairOffReference = GetPairOffParentReference(child) if pairOff...
[ "81222178+nenchoabsa@users.noreply.github.com" ]
81222178+nenchoabsa@users.noreply.github.com
0da214ab4195098228be3d27bdd5023c72c5940a
b9de33c6fb310ef69cba728b9de1a31165c3a031
/chapter_32/class-gotchas-super-multiple-inheritance.py
e2a2df1637b44a0d8209f30663b0da3f7c77b3d2
[]
no_license
bimri/learning-python
2fc8c0be304d360b35020a0dfc16779f78fb6848
5f2fcc9a08f14e1d848530f84ce3b523d1f72aad
refs/heads/master
2023-08-12T20:30:09.754468
2021-10-15T20:53:49
2021-10-15T20:53:49
377,515,946
0
0
null
null
null
null
UTF-8
Python
false
false
3,261
py
"Multiple Inheritance: Order Matters" # Python always searches superclasses from left to right, according to their order in the header line. # class ListTree: # def __str__(self): ... # class Super: # def __str__(self): ... # class Sub(ListTree, Super): # Get List...
[ "bimri@outlook.com" ]
bimri@outlook.com
1ad0170d04bbb39c701cdfaf7bd3851389d77a8f
149a3d107891201582653d00cce23678bea91c59
/tipagem.py
619b4d71a6997a7fd87f130c2b30cb39bd03b529
[]
no_license
LondonComputadores/dio_es6_essentials_recap_jul19
8dfd25c8e2bcf1efed4f1f7f8b26481e82eefdde
c440161cae8c2e919f5bd9912110bbd8e1d920c5
refs/heads/master
2020-06-19T16:22:34.391088
2019-07-16T00:38:06
2019-07-16T00:38:06
196,781,917
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
meuNumero = 20 meuTexto = "String" # Error is on purpose just for comparison print(meuNumero + " " + meuTexto)
[ "london.computadores@gmail.com" ]
london.computadores@gmail.com
313570f597eb15ae6444830bf79aed976b250e96
80a3d98eae1d755d6914b5cbde63fd10f5cc2046
/autox/autox_video/mmaction2/mmaction/models/localizers/ssn.py
3136d651f6d76f4be04410605d7dcf7a2d0a34a4
[ "Apache-2.0" ]
permissive
4paradigm/AutoX
efda57b51b586209e1d58e1dab7d0797083aadc5
7eab9f4744329a225ff01bb5ec360c4662e1e52e
refs/heads/master
2023-05-24T00:53:37.109036
2023-02-14T14:21:50
2023-02-14T14:21:50
388,068,949
752
162
Apache-2.0
2022-07-12T08:28:09
2021-07-21T09:45:41
Jupyter Notebook
UTF-8
Python
false
false
5,160
py
# Copyright (c) OpenMMLab. All rights reserved. import torch import torch.nn as nn from .. import builder from ..builder import LOCALIZERS from .base import BaseTAGClassifier @LOCALIZERS.register_module() class SSN(BaseTAGClassifier): """Temporal Action Detection with Structured Segment Networks. Args: ...
[ "caixiaochen@4ParadigmdeMacBook-Pro.local" ]
caixiaochen@4ParadigmdeMacBook-Pro.local
4f7d9e2c17b601aaa0a2a0c3417e9963182cc6cf
9b1e97850f55d839c1c6f7d93187af90bf9120a5
/0x0F-python-object_relational_mapping/model_state.py
ee5227fff95d5feb70eb50c3b7eeefad7a80192e
[]
no_license
PilarPinto/holbertonschool-higher_level_programming
543271fb7f85a23745f54ac44e2fd1ef0ff452ce
8be531a14a280235c2a9cee7f072d88cea8b9921
refs/heads/master
2020-09-29T00:19:01.460334
2020-05-15T01:58:51
2020-05-15T01:58:51
226,900,539
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
#!/usr/bin/python3 '''Using sqlalchemy for State definition''' from sqlalchemy import Column, Integer, String from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class State(Base): __tablename__ = 'states' id = Column(Integer, unique=True, nullable=False, primary_key=True) n...
[ "piapintoch@unal.edu.co" ]
piapintoch@unal.edu.co
1a7e8fc0d4c54d2afcb5cebbc52d6fda2888386d
f5ffd566166948c4202eb1e66bef44cf55a70033
/openapi_client/model/user_acl_no_id.py
12e3eb161421688aa7f70cd8bf579034b5b627b9
[]
no_license
skyportal/skyportal_client
ed025ac6d23589238a9c133d712d4f113bbcb1c9
15514e4dfb16313e442d06f69f8477b4f0757eaa
refs/heads/master
2023-02-10T02:54:20.757570
2021-01-05T02:18:03
2021-01-05T02:18:03
326,860,562
0
1
null
null
null
null
UTF-8
Python
false
false
8,227
py
""" Fritz: SkyPortal API SkyPortal provides an API to access most of its underlying functionality. To use it, you will need an API token. This can be generated via the web application from your profile page or, if you are an admin, you may use the system provisioned token stored inside of `.tokens.yaml`. ### ...
[ "profjsb@gmail.com" ]
profjsb@gmail.com
237f5c9434aa81b5dc82ca5b556e349347c56299
3ae73fa03a2e99bb108a923606c293674b3db304
/Django/beltreview bck_up/apps/login_reg/migrations/0001_initial.py
aeabc3aa8caef9da17f0c79b92cb6f91ada3f336
[]
no_license
asdfkerub/DojoAssignments
51bef584783d799469db85ff66983bac4f404e7f
1eb0b5fa8ac881ce6d0b6765b104f806bdb71f5c
refs/heads/master
2021-01-11T16:47:51.207662
2017-03-06T01:11:28
2017-03-06T01:11:28
79,671,651
0
0
null
2017-03-06T01:11:29
2017-01-21T20:43:04
Python
UTF-8
Python
false
false
875
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-22 20:29 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User',...
[ "q.kerubkim@gmail.com" ]
q.kerubkim@gmail.com
54e239592280383f005aee0b8c80612e8cc24ee2
e05e2d26e38ce80530e3458ce3c8e02f16e5cbe6
/CoinAnalysis/vs_non.py
9d16ac66cce5ad8d5800e2c994c9734be85bd377
[]
no_license
jegutman/hearthstone_decks
96acca7e040cb9b89253a867217655ce8cdf2756
95d4563c46618a9efccc10dbb34094258ec5bce7
refs/heads/master
2020-12-25T08:16:29.892068
2019-09-12T05:28:16
2019-09-12T05:28:16
102,289,609
3
0
null
2018-07-06T22:35:17
2017-09-03T19:40:44
Python
UTF-8
Python
false
false
2,182
py
from archetypes import aggro archetypes = [] data = {} line_data = [] decks = [] with open('CoinData.csv') as f: for line in f: if line[0] == "#": continue tmp = line.strip().split(',') deck_a, deck_b, first, pct, games = tmp if deck_a not in aggro or deck_b in aggro: c...
[ "jegutman@gmail.com" ]
jegutman@gmail.com
554fb914629e5e2cba22ade77f00e4a6143b04ab
bdce502dce36a5f53ed7e376c5783c8bcbe6a98e
/migrations/versions/55bd2e159b91_added_type_to_coach.py
0b8c796002c87ae489801a7c293d32952ecaf4fb
[ "MIT" ]
permissive
jeffthemaximum/jeffPD
b05b02300653b34c235adb2de46c91e18604bcf4
4ac2584117c45c70b77bebe64676b0138577e14f
refs/heads/master
2021-01-01T19:38:30.041034
2015-11-17T14:35:57
2015-11-17T14:35:57
41,260,368
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
"""added type to coach Revision ID: 55bd2e159b91 Revises: 1abfb1cdc0ea Create Date: 2015-10-10 11:52:37.381983 """ # revision identifiers, used by Alembic. revision = '55bd2e159b91' down_revision = '1abfb1cdc0ea' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alem...
[ "frey.maxim@gmail.com" ]
frey.maxim@gmail.com
8ec2fb53dc07004d77a1ec97066dcbe63aa762c7
165e706d485e90f4e4f63cfb9f2c35acda14cfc0
/safemrl/algorithm/agents.py
c13f34a7a21b223bf7f2ffd034e82299bd8873fd
[ "Apache-2.0" ]
permissive
Tarkiyah/googleResearch
65581f3bbbe2ffe248c9e613c0ea7eac336d5372
dea327aa9e7ef7f7bca5a6c225dbdca1077a06e9
refs/heads/master
2022-12-07T12:04:44.153221
2019-11-21T16:03:48
2019-11-21T16:18:28
223,229,888
11
2
Apache-2.0
2022-11-21T21:39:10
2019-11-21T17:38:31
Jupyter Notebook
UTF-8
Python
false
false
9,870
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
979ad3afa724f60333fec8a0444de42bd250d08f
9a46784244d544445c01c6f0d564f4da65efcfaf
/CodeUltimateFlaskCourse/06. Member API/authentication/app.py
a94fe21a10ee8b8a8bc2c9372c5c21fd4617e606
[]
no_license
ammbyrne/Flask
f55a606ec234c6a00b4d264a48e11b2f487d4ef7
7922ab46b8a4c388346043d2393173e7e49e43bb
refs/heads/main
2023-04-19T16:07:08.224824
2021-05-07T03:21:44
2021-05-07T03:21:44
365,101,770
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
from flask import Flask, g, request, jsonify from database import get_db app = Flask(__name__) api_username = 'admin' api_password = 'password' @app.teardown_appcontext def close_db(error): if hasattr(g, 'sqlite_db'): g.sqlite_db.close() @app.route('/member', methods=['GET']) def get_membe...
[ "andy_m_byrne@yahoo.co.uk" ]
andy_m_byrne@yahoo.co.uk
d21741515b51c9b3f25b2293bec7070258246c98
a829617f9ad158df80a569dd02a99c53639fa2c6
/test/hep/table/exception1.py
826950668cd50b0628b9344a6d73d01ea3f9fb31
[]
no_license
alexhsamuel/pyhep
6db5edd03522553c54c8745a0e7fe98d96d2b7ae
c685756e9065a230e2e84c311a1c89239c5d94de
refs/heads/master
2021-01-10T14:24:08.648081
2015-10-22T13:18:50
2015-10-22T13:18:50
44,745,881
1
0
null
null
null
null
UTF-8
Python
false
false
897
py
#----------------------------------------------------------------------- # imports #----------------------------------------------------------------------- from __future__ import division import hep.table from hep.test import compare, assert_ #-----------------------------------------------------------------------...
[ "alex@alexsamuel.net" ]
alex@alexsamuel.net
5b22188159510783109706d9d6aee73b30184cd5
7ac1f3e38dab2899d6dc0d02cc1ace3934fb0805
/pygame/tank_game/code.py
250360ff8a4e559005ce17747cd5bdc67f609b6e
[]
no_license
amanbhal/pythonCodes
3fd9357211fe7d06c6972e7a4f469df1ff3cf60a
49d17ce395d15e7c8497af8455790ecb876a0d49
refs/heads/master
2016-08-12T06:12:19.108863
2015-11-16T20:42:11
2015-11-16T20:42:11
46,301,101
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
num = int(raw_input()) bnum = bin(num) convert = [] for x in bnum[2:]: if x=='0': convert.append('1') else: convert.append('0') print convert convert = "".join(convert) result = int(convert,2) print result
[ "amandeep.bhal92@gmail.com" ]
amandeep.bhal92@gmail.com
b8830ee9a2275eae167cf660353d0f991769fe44
19f1612a24a343198302fe1b88d15a2d94a5d91f
/Mod_Divmod.py
67fedd76cd0160039410121cd5b1209d8232ae5e
[]
no_license
TheShubham-K/HackerRank
0a8f15051e5466292d880ba3d334bc19733c4ab7
a51bcfa4dee85258787cc5bc96976045b05a963f
refs/heads/master
2022-11-09T16:24:35.595762
2020-06-29T15:56:39
2020-06-29T15:56:39
266,571,298
1
0
null
null
null
null
UTF-8
Python
false
false
135
py
from __future__ import division n = int(input()) m = int(input()) ans = divmod(n,m) print(str(ans[0])+"\n"+str(ans[1])+"\n"+str(ans))
[ "subham.kumar032@gmail.com" ]
subham.kumar032@gmail.com
516a9d17099ff146518573d7cc216f94fe6fd594
7fa02f8480152e2656b083ef99a17741533f254c
/pyscf/ao2mo/incore.py
c8d03c4811e9e0d1db54621c40df8797c0eecceb
[ "Apache-2.0" ]
permissive
kcbhamu/pyscf
b59c66974f36578c35150afd1967d23b78dad35a
adbdcbdd426356485d9a249d7461f668d19d6f9e
refs/heads/master
2022-10-14T07:38:56.826857
2020-06-12T17:13:45
2020-06-12T17:13:45
272,482,387
1
0
Apache-2.0
2020-06-15T15:57:28
2020-06-15T15:57:27
null
UTF-8
Python
false
false
9,496
py
#!/usr/bin/env python # Copyright 2014-2020 The PySCF Developers. 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 # # U...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
1e3807db28c7349317eeba39285686bc12b95757
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/immutability_policy_properties_py3.py
feb15f507cfde35317d9e13017493cd6dc5c0c5a
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,478
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 ...
[ "laurent.mazuel@gmail.com" ]
laurent.mazuel@gmail.com
8c492766c5f8adb62877bbbcc99d29864d40fc45
5a29fbaa46a71eff0ac677b42e393b449e313085
/upsea/Ea_11_Dma_pg_01/EA/Analyzer.py
2ce51633ca7eb8fbc4a8352f2e2861911de253d8
[ "MIT" ]
permissive
UpSea/PyAlgoTradeMid
548d181d5d18448f75f205214e9d19b7356a5730
c8edcbc089d92dbfbb8bb25af92a039146f6c6da
refs/heads/master
2021-01-20T19:57:21.406976
2016-07-25T17:23:00
2016-07-25T17:23:00
62,429,518
0
1
null
null
null
null
UTF-8
Python
false
false
2,460
py
import numpy as np import matplotlib.dates as mpd import sys,os xpower = os.path.abspath(os.path.join(os.path.dirname(__file__),os.pardir,os.pardir,os.pardir,os.pardir,'thirdParty','pyqtgraph-0.9.10')) sys.path.append(xpower) import pyqtgraph as pg xpower = os.path.abspath(os.path.join(os.path.dirname(__file__),os.par...
[ "upsea@upsea.cn" ]
upsea@upsea.cn
3e799491be2198eeecb6afab23a3bc4df7ac236a
d785e993ed65049c82607a1482b45bddb2a03dda
/nano2017/cfg_fr_2018/ZZTo4L_ext2_cfg.py
ada0a293740e2508a83fed849b413d5fd23bc72b
[]
no_license
PKUHEPEWK/ssww
eec02ad7650014646e1bcb0e8787cf1514aaceca
a507a289935b51b8abf819b1b4b05476a05720dc
refs/heads/master
2020-05-14T04:15:35.474981
2019-06-28T23:48:15
2019-06-28T23:48:15
181,696,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
from WMCore.Configuration import Configuration from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = Configuration() config.section_("General") config.General.requestName = 'ZZTo4L_ext2_2018' config.General.transferLogs= False config.section_("JobType") config.JobType.pluginName = 'Analysis' con...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
f74eb99bfc1bda4bca7cabb334cbd30400f2bc04
73e53e16fc1557447ac8b6d280d916adaa36c846
/server
e15c737999e7404d2c732e48fad8b6e4ab1df6f6
[]
no_license
apkallum/monadical.com
abc92cdd6ce49c7d6024df710ec67de102c787ed
7b8fa76072ad0eeae2cb515591b345ce29a64dd6
refs/heads/master
2020-08-24T18:53:32.470134
2019-10-22T03:42:32
2019-10-22T03:42:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
#!/usr/bin/env python3 import sys import json from datetime import datetime from flask import Flask, render_template, redirect ### Config app = Flask(__name__) CONFIG_FILE = 'content.json' HOST = 'http://127.0.0.1:5000' def load_config(fname=CONFIG_FILE): """read the content.json file and load it as a dictiona...
[ "git@nicksweeting.com" ]
git@nicksweeting.com
5f05a3951089f1baf3863c3630cf00d923676bdb
37f1563cdacf4b37b5b927b892538218aae79c77
/hard/array/firstMissingPositive.py
b4c1f73b2ee27e1d1e11c3720b64cf11a4bd523c
[]
no_license
unsortedtosorted/elgoog
9dee49a20f981305910a8924d86e8f2a16fe14c2
5be9fab24c0c1fd9d5dc7a7bdaca105f1ca873ee
refs/heads/master
2020-04-15T00:51:12.114249
2019-05-19T04:37:24
2019-05-19T04:37:24
164,254,079
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
""" 41. First Missing Positive Runtime : O(N) """ class Solution(object): def firstMissingPositive(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: return 1 for i, num in enumerate(nums): whil...
[ "noreply@github.com" ]
unsortedtosorted.noreply@github.com
55412c60ad3960f8a8780d3ffcf2369eac11a1b9
98c86ee65aac21c8363f627f99b9da3acd777b35
/Actividades en Clases/Actividad 04/Solución/botella.py
43df3345b727c6c4c291d9e75fc5811d85f464a2
[]
no_license
bcsaldias/syllabus
ef7e5eff0c8fc1ab5a28d12cc3f18ae998ad5c52
ce30d74fc62861c3464301b5277ca68545209371
refs/heads/master
2021-01-24T01:11:22.739918
2015-03-20T00:24:54
2015-03-20T00:24:54
32,551,385
1
0
null
2015-03-19T23:20:50
2015-03-19T23:20:50
null
UTF-8
Python
false
false
350
py
__author__ = 'patricio_lopez' class Botella: def __init__(self, litros=1): self.litros = litros @property def etiqueta(self): return "DCC-Cola" def beber(self): print("Deliciosa bebida {}".format(self.etiqueta)) def __str__(self): return "{} de {} litros.".forma...
[ "lopezjuripatricio@gmail.com" ]
lopezjuripatricio@gmail.com
cbe81a3493a79fc65b094d0b27ab6eec20764273
638929e3a47b9ea8c0cc98336edca104c6af5e3a
/lib_catalog/catalog/migrations/0001_initial.py
172abe90b7e0935c09374bc69fe83df2b3708d7c
[]
no_license
burbaljaka/lib_catalog
190e944c798c8d80685c5c9a65b663fa116f5404
15e971b6d17dfc8f01959ba538b304969c0f51a9
refs/heads/master
2023-06-01T06:39:47.841908
2022-05-17T19:52:46
2022-05-17T19:52:46
217,097,504
0
1
null
2023-05-07T02:35:21
2019-10-23T15:57:50
JavaScript
UTF-8
Python
false
false
3,038
py
# Generated by Django 3.0.5 on 2020-05-02 10:11 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Author', fields=[ ...
[ "kapitonov.timur@gmail.com" ]
kapitonov.timur@gmail.com
c4e9905bd883b4712ef399d33cc6ee6c5c84f343
c04d4692492e898573c69a9a90ac071b291a3840
/keys.py
187fa2f831ecf6c0cd12eab3f6fe35060a85bd78
[]
no_license
namhyun-gu/SmuLibraryAppEngine
1c698e21561a3a3df2d2d12c360aea7375a5b33a
36b2d8e6057b26fb96a543a4c4ff529da9d8a5e4
refs/heads/master
2021-01-18T02:28:52.302652
2016-04-04T07:09:35
2016-04-04T07:09:35
37,923,529
0
0
null
2020-06-06T14:54:32
2015-06-23T14:21:45
Python
UTF-8
Python
false
false
120
py
#!/usr/bin/env python __author__ = 'namhyun' # memcache key ROOM_LIST_KEY = 'roomlist_cache' ROOM_KEY = 'room_%d_cache'
[ "mnhan0403@gmail.com" ]
mnhan0403@gmail.com
7e125b5f5c7032b1a6311ab010c2cd68bed0d063
4fdb8e90ab2bed9bc534155806314d4b6d0047ae
/database/migrations/0009_auto_20150224_1925.py
e56dc8666a88493c29a8c0aee5569d0da248cc57
[]
no_license
gbriones1/MODB
8ca04df5bc665d5b3dcc3a4f89fa167b21047d7d
b2aa15efe155a1e813917c720107c33cb56eef1b
refs/heads/master
2021-01-18T23:21:16.545638
2016-07-28T15:42:37
2016-07-28T15:42:37
32,994,355
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('database', '0008_auto_20150223_1141'), ] operations = [ migrations.RenameField( model_name='lending_product', ...
[ "gabriel.briones.sayeg@intel.com" ]
gabriel.briones.sayeg@intel.com
1236b634dc1a2d71b4f154a6a96f2a43ec0635f3
cdd6e64cb8a60156157eca1812224cb38036e0c6
/5일차/9655 돌게임/hwan9655.py
4076b7b60d3999d5f444390d6b078db290ff3e4e
[]
no_license
kkbwilldo/boostcamp
abb0371f28a98b78a8e254021433680cf9bfdab0
47090c261c0ca1e3eca503c8332640d5721e7750
refs/heads/master
2023-04-02T00:02:24.834732
2021-03-31T07:53:50
2021-03-31T07:53:50
341,049,036
0
0
null
2021-03-02T12:58:58
2021-02-22T01:45:38
Python
UTF-8
Python
false
false
102
py
from sys import stdin N = int(stdin.readline()) if N % 2 == 1: print("SK") else: print("CY")
[ "john175258@gmail.com" ]
john175258@gmail.com
64ac34971a4420b2371d118512fb9cd91ef116ce
5a9464a9d1543a072adf9c0dc07cbf3d3f5e5207
/src/examples_sensor_tests.py
45016d5ba083c576414ced1228d1329e54f55497
[]
no_license
moyersjm/rosebotics2
e4f30196fd153a3ef86de4157cbfef31b6622096
15a008fba44b770540ea943fe495629a368af560
refs/heads/master
2020-04-02T13:45:37.339009
2018-11-14T19:43:53
2018-11-14T19:43:53
154,495,978
1
1
null
2018-10-24T12:20:01
2018-10-24T12:20:01
null
UTF-8
Python
false
false
2,216
py
""" Capstone Project. Code for testing basics. Author: David Mutchler, based on work by Dave Fisher and others. Fall term, 2018-2019. """ import rosebotics_even_newer as rb import time def main(): """ Runs tests. """ run_test_sensors() def run_test_sensors(): """ Print sensor values each time t...
[ "mutchler@rose-hulman.edu" ]
mutchler@rose-hulman.edu
54448b37275c1c6533fe3de3b724a8161ddad67e
caceb60f71165772b6d6155f619e79189e7c80a9
/第一期/上海-棒棒糖/第二次任务-每日代码练习/2017-1/1-24/str__test.py
92856b7febfee9c2c466704f18d9f9ea1ffca57c
[ "Apache-2.0" ]
permissive
beidou9313/deeptest
ff41999bb3eb5081cdc8d7523587d7bc11be5fea
e046cdd35bd63e9430416ea6954b1aaef4bc50d5
refs/heads/master
2021-04-26T23:06:08.890071
2019-04-03T02:18:44
2019-04-03T02:18:44
123,931,080
0
0
Apache-2.0
2018-03-05T14:25:54
2018-03-05T14:25:53
null
UTF-8
Python
false
false
186
py
class Student(object): def __init__(self, name): self.name = name def __str__(self): return self.name # __repr__ = __str__ # s=Student('Michael') print(s)
[ "879106261@qq.com" ]
879106261@qq.com
6dc60740658b89808ba69fe241f7f9dd670cacca
2acf2f926441eadb1c32879bfa6f0e800055b9d9
/oblig6/gaussian_white_noise.py
475e30a109b61bf14bcbcf5cec905bcee957d390
[]
no_license
Linueks/fys2130
26b400bbf878ef56d26fdc618f85b62a44515eff
761bef68476cb210266758ea00e17020e417a174
refs/heads/main
2023-02-24T10:05:33.951748
2021-01-23T13:23:34
2021-01-23T13:23:34
332,214,599
0
0
null
null
null
null
UTF-8
Python
false
false
1,583
py
''' Program that generates Gaussian white noise. Each frequency component is generated randomly b/w 0 and the a value assigne by Normal distribution. Each phase component is generated randombly b/w 0 and 2pi. The finished signal is Fourier transformed. Sebastian G. Winther-Larsen (2017) ''' import numpy as np ...
[ "noreply@github.com" ]
Linueks.noreply@github.com
9faa3bfbaffa598e35f9d61fdffcf2ea69476498
c0d9e2b2135956031bbad6abef22be5a205696db
/src/Inc/Import.py
af20358268dbff2b4c09395c2ae747c47d55b783
[]
no_license
VladVons/py-relay
22758805b796c23546c97f8f42c664a2ff1b4fba
c57c205c49b7bbb6a91c98ec326b02a36c3daaef
refs/heads/master
2023-02-05T22:15:40.884753
2019-03-08T06:48:07
2019-03-08T06:48:07
127,041,974
1
0
null
null
null
null
UTF-8
Python
false
false
2,221
py
''' Copyright: (c) 2017, Vladimir Vons Author: Vladimir Vons <VladVons@gmail.com> Created: 2017.10.20 License: GNU, see LICENSE for more details Description: Import = TDynImport() Import.ParseDir('Plugin/Devices') Import.GetInstance(ClassName) TClass = Import.GetInstance(ClassName) Result = TClass(None)...
[ "vladvons@gmail.com" ]
vladvons@gmail.com
b1128e67e55a4bf39f2b5f933b18923292afc875
14bad9231bef3ae79ba7b0c3837b34f6c89bc49b
/128.py
d3aa82690555de9a5610c6c30e95a0f891ec5564
[]
no_license
Nagajothikp/Nagajothi
80dc36d167a1143c203c594d25d9dc31892bd239
0d80c40c47d315cbcbc2d43bb2d77887d17414d4
refs/heads/master
2022-01-25T18:58:24.173042
2019-08-07T06:36:11
2019-08-07T06:36:11
194,424,732
0
1
null
null
null
null
UTF-8
Python
false
false
36
py
x=input("Enter a number") print(x)
[ "kpnagajothi1999@gmail.com" ]
kpnagajothi1999@gmail.com
b3b0f9e662f65e09d8aae750a859c059a09e7cb8
0ea22107790ef695ad80ddba9d6a6c1ae95e7c6e
/kalibr-cde/cde-root/opt/ros/hydro/lib/python2.7/dist-packages/geometry_msgs/msg/_PointStamped.py
b28032463564931641d9984243a9a26ef4912b22
[]
no_license
wangrui996/camera_imu_calibration
0f9bc0cf737641b352fa71ae9710c735da69a732
4296aeac1001f21502355d8ca98d4ae214e30ffc
refs/heads/main
2023-06-19T15:19:42.618423
2021-07-15T06:52:20
2021-07-15T06:52:20
386,193,412
2
1
null
null
null
null
UTF-8
Python
false
false
6,270
py
"""autogenerated by genpy from geometry_msgs/PointStamped.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import geometry_msgs.msg import std_msgs.msg class PointStamped(genpy.Message): _md5sum = "c63aecb41bfdfd6b7e1fac37c7cbe7bf" _type = "geomet...
[ "wangrui957@163.com" ]
wangrui957@163.com
5714dbdd0d286db2b3c543a6e67af447e969ff56
7780f59da5cac72501b4f9b0bb0b96e8f3ded6e1
/tests/test_cinema.py
446816a08120ffe33fed7e2b9150514842fff8fb
[]
no_license
kimbugp/movie-bookings
7286593b10897c27d936650e538e84e2cbd12791
63121b88c6e022fcb849ff7ab8da7be9844f391a
refs/heads/master
2022-12-10T01:41:01.648098
2020-01-21T08:36:17
2020-01-21T08:36:17
199,335,252
0
2
null
2022-12-08T03:17:06
2019-07-28T20:43:15
Python
UTF-8
Python
false
false
4,209
py
import json from .basetest import BaseTestCase class TestCinema(BaseTestCase): def test_create_cinema_fails_with_no_authentication(self, test_client): data = json.dumps({}) response = test_client.post( "/api/v1/cinema", data=data, headers={"Content-Type": "app...
[ "kimbsimon2@gmail.com" ]
kimbsimon2@gmail.com
9fb1b2820e595de7d35630b709b9417006ff18af
431c7b40b9bb283dde761b4748fe742a70941762
/textress/account/tests/test_views.py
bf9088f3324b66071ed0ab8724e9e0bbd276f05d
[]
no_license
aaronlelevier/textress_project
0b01960664eff9c83703f08cf0e33177b3369236
927519fec52f6df54d81e393597b55b3755103dd
refs/heads/master
2021-06-01T04:42:21.783010
2016-07-15T13:42:39
2016-07-15T13:42:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,731
py
import datetime from django.conf import settings from django.test import TestCase from django.core.urlresolvers import reverse from django.contrib.auth.models import User, Group from model_mommy import mommy from account.forms import AcctCostForm from account.models import (AcctStmt, TransType, AcctTrans, AcctCost, ...
[ "pyaaron@gmail.com" ]
pyaaron@gmail.com
d3f3032c4627dd131772f1abe4d43e3da33a3083
cfd4cc45dc558eba3c45797dbb5335e51a90b581
/gopython3/core/tests/test_unit.py
02e68291594bb6c1efdd15444a5a57d4ed507f59
[ "MIT" ]
permissive
futurecolors/gopython3
8724ae4e458e156b82161d6b4083ac7c5a4f3eeb
cfff51f86edb962bba2a51c8f7691454af54809d
refs/heads/dev
2020-05-18T21:50:11.638433
2014-01-21T18:28:01
2014-01-21T18:28:01
12,966,604
1
0
null
2014-05-17T08:38:23
2013-09-20T05:52:19
Python
UTF-8
Python
false
false
4,991
py
# coding: utf-8 from unittest.mock import patch from django.utils import timezone import warnings from collections import namedtuple from django.test import TestCase from ..factories import SpecFactory, JobFactory from ..models import Job, Package, Spec from ..tasks import query_pypi def fake_distributions(*distrib...
[ "baryshev@gmail.com" ]
baryshev@gmail.com
675b01dcde98168800671ad211778faa2ce9b622
5b9ac627bf39b01917f75d18d8ca83211a04c718
/cahoots/confidence/normalizers/character.py
eb3454f1cbed230ef870e1d916a85b2295aff56f
[ "MIT" ]
permissive
SerenitySoftware/cahoots
dbfa109e4c65d20ef01c2d97d3087e7a8aede838
866336c51436343ff5e56f83f89dddc82a5693a3
refs/heads/master
2021-05-28T20:00:32.827485
2015-08-23T00:31:11
2015-08-23T00:31:11
21,884,335
6
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
""" The MIT License (MIT) Copyright (c) Serenity Software, LLC 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, m...
[ "ryan.vennell@gmail.com" ]
ryan.vennell@gmail.com
fcc28c4fb295fc56e743a94f929317d9aac54d4f
085ce75a507df6e755cabb7a65c4a2a8c98762ba
/dockerfiles/root/.pycharm_helpers/python_stubs/-252567642/_yaml/__init__/SequenceNode.py
2cc52374a86f60654ef8c8168c3539260e1b19ab
[]
no_license
Arhzi/habr-docker-article
d44302db1fe157d81fe0818e762e82218f50e31f
6fb094860b612e307beadaeb22981aa0ee64e964
refs/heads/master
2021-01-23T20:41:47.398025
2015-12-10T08:56:33
2015-12-10T08:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
# encoding: utf-8 # module _yaml # from /usr/local/lib/python2.7/site-packages/_yaml.so # by generator 1.137 # no doc # imports import yaml as yaml # /usr/local/lib/python2.7/site-packages/yaml/__init__.pyc import __builtin__ as __builtins__ # <module '__builtin__' (built-in)> import yaml.error as __yaml_error import ...
[ "sirnikolasd@yandex.ru" ]
sirnikolasd@yandex.ru
dbed30c53f73497797ddbe0811d3e196d96974ef
288865b3b519222370b00cda04ffab96f46b046d
/dd/deal/urls.py
96efada9c080d2357cb3a4f0720c588ba3262eac
[]
no_license
bcattle/dolores-deals
9c49daefb83f35eff65262dd14d5756a06eea66f
d45914c9afbeca9dbd655eee5b8ba021b2e07760
refs/heads/master
2020-12-24T16:59:28.981973
2011-05-08T08:29:47
2011-05-08T08:29:47
1,445,375
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
from django.conf.urls.defaults import * urlpatterns = patterns('deal.views', # regex, view fxn, args, label for get_absolute_url() (r'^(?P<city_slug>[-\w]+)/(?P<neighborhood_slug>[-\w]+)/(?P<deal_slug>[-\w]+)/$', 'show_deal', { 'template_name': 'deal.html' }, 'deal_page'), (r'^$', 'default_deal'), )
[ "bryan.cattle@gmail.com" ]
bryan.cattle@gmail.com
41eeb3b1e3a7cf61c0e2b16ae63ce4c9826894f2
d785e993ed65049c82607a1482b45bddb2a03dda
/loose/loose_SingleMuon_G_cfg.py
46a90679fcd22958110855f1922ec226777629c0
[]
no_license
PKUHEPEWK/ssww
eec02ad7650014646e1bcb0e8787cf1514aaceca
a507a289935b51b8abf819b1b4b05476a05720dc
refs/heads/master
2020-05-14T04:15:35.474981
2019-06-28T23:48:15
2019-06-28T23:48:15
181,696,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,424
py
from WMCore.Configuration import Configuration from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = Configuration() config.section_("General") config.General.requestName = 'loose_SingleMuon_G' config.General.transferLogs= True config.section_("JobType") config.JobType.pluginName = 'Analysis' co...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
5f8ee58ee1001869ac9653bf17b97fc00ea6d69b
c9952dcac5658940508ddc139344a7243a591c87
/tests/lab09/test_ch09_t01_befor_we_begin.py
deb2a8cafff91ac4cfaf68983409b92dd410c622
[]
no_license
wongcyrus/ite3101_introduction_to_programming
5da1c15212528423b3df91997327fe148abef4de
7cd76d0861d5355db5a6e2e171735bee2e78f829
refs/heads/master
2023-08-31T17:27:06.193049
2023-08-21T08:30:26
2023-08-21T08:30:26
136,574,036
3
2
null
2023-08-21T08:30:28
2018-06-08T06:06:49
Python
UTF-8
Python
false
false
384
py
import unittest from tests.unit_test_helper.console_test_helper import * class TestOutput(unittest.TestCase): def test(self): temp_globals, temp_locals, content, output = execfile("lab09/ch09_t01_befor_we_begin.py") expected = """Adam Alex Mariah Martine Columbus """ self.assertEqual(exp...
[ "cywong@vtc.edu.hk" ]
cywong@vtc.edu.hk
9bd90299eaa46d54955252ca6e3183a2d1ae3d21
f72c689bd0d756b4817cc03cb434a228343c8936
/test/functional/rpc_getchaintips.py
c71c2d08d2237c1b28f7c8b61f61971edd4ffe9d
[ "MIT" ]
permissive
CircuitProject/Circuit-Core
7f68a8b4cb180a715cb24e247b899d8d8dc29e95
831dc33d57050ea2955983b2e8f1fc088a819e97
refs/heads/main
2023-04-09T00:08:37.954538
2021-04-12T19:09:42
2021-04-12T19:09:42
357,308,816
0
1
null
null
null
null
UTF-8
Python
false
false
2,177
py
#!/usr/bin/env python3 # Copyright (c) 2014-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the getchaintips RPC. - introduce a network split - work on chains of different lengths - join th...
[ "development@SpectreSecurity.io" ]
development@SpectreSecurity.io
5f6cb6c94ca4f16d8f6f26845918c9f4b4708db8
54d2887e3c910f68366bd0aab3c692d54245e22a
/abc/abc_042_125/abc067/c.py
b4ed060ee9fec1215b76ac1a828de13f9a096cb0
[]
no_license
Kevinrobot34/atcoder
7aec367fd2c6b589e9d583dae7b3c7520ce9fa12
482ea508f098f81e4f19522fe518dd22c781aca9
refs/heads/master
2022-07-10T23:44:45.290022
2022-06-29T11:30:26
2022-06-29T11:30:26
158,081,477
1
1
null
null
null
null
UTF-8
Python
false
false
170
py
n = int(input()) a = list(map(int, input().split())) s = sum(a) s1 = 0 ans = 10**15 for i in range(n-1): s1 += a[i] ans = min(ans, abs(s1 - (s-s1))) print(ans)
[ "kevinrobot34@yahoo.co.jp" ]
kevinrobot34@yahoo.co.jp
59cbd00de94ea0b4a3b7608732f8325b879b67fe
1ddbd4f7194fb52ea8344e8f80dcbd87e8d41cfc
/restconf/pagination.py
67556c262f5a6216f1bf85d067790445fbcf1af1
[]
no_license
TruthTheDeveloper/Huggie-backend
cc9444571a5e147e789c2dcfaae51a694d37d917
8a686beb2635557f4235047cde3eccd79d3ea3b7
refs/heads/master
2023-08-20T06:12:31.465811
2021-10-31T18:21:15
2021-10-31T18:21:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
from rest_framework import pagination class CFEAPIPagination(pagination.PageNumberPagination): page_size = 10 # default_limit = 6 # max_limit = 20 # limit_query_param = 'lim'
[ "henrysempire111gmail.com" ]
henrysempire111gmail.com
8ceb95bec95f8eb8abb7c04384ce7ca03d720ffd
48faee5b845e43e6c102cb027f43c8b886ecaa5e
/utils/ansible_drive/test/ansibleApi_pbtest.py
106e2ab5ed5e1582930d2804371155ee451f57a4
[]
no_license
hornLK/LonedayAdmin
66c0a8b978967a0144a216f621c872a6d2197229
36ba3fe763788423801ad5ab14462624114da804
refs/heads/master
2022-12-26T06:57:47.675915
2018-05-15T13:08:34
2018-05-15T13:08:34
131,375,220
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
import json from ansible import constants as C from collections import namedtuple from ansible.parsing.dataloader import DataLoader from ansible.vars import VariableManager from ansible.playbook.play import Play from ansible.executor.task_queue_manager import TaskQueueManager from ansible.executor.playbook_executor imp...
[ "bjlkq546449541@gmail.com" ]
bjlkq546449541@gmail.com