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
0189a50f15557b57e5dd47c6ad38deada72bbd5f
08e6b46769aa36da479f29ef345bdb15e5d0d102
/admin_mysql_purge_binlog.py
3cd6ca5344c7563aad947373aba1ea153792b032
[]
no_license
speedocjx/lepus_python
30a33852efdef5b24402cbe81b8d9798072f9309
27d61c154d4cde97e004e3851203420f77a63c5d
refs/heads/master
2021-06-14T22:37:50.936419
2017-03-21T06:18:12
2017-03-21T06:18:12
70,157,618
0
1
null
null
null
null
UTF-8
Python
false
false
2,114
py
#!//bin/env python #coding:utf-8 import os import sys import string import time import datetime import MySQLdb path='.\include' sys.path.insert(0,path) import functions as func from multiprocessing import Process; def admin_mysql_purge_binlog(host,port,user,passwd,binlog_store_days): datalist=[] try: ...
[ "changjingxiu1@163.com" ]
changjingxiu1@163.com
3f6f08ef5f468cb2d54278ec26f951ab44045747
02508aa773dcbd9939eb879952ee2cb3dd90bcad
/test/test_static_runtime.py
9b38a5a7e36a8c0e2dea89f3a54fcde58e30a11d
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
dhivyadharshin/pytorch
d8a3b7f3c03e21e776ea34788d13743467b738c8
6a170011876bb8bd1909e8f60fba1270ac7a5577
refs/heads/master
2023-07-18T07:31:52.918955
2021-08-17T18:12:01
2021-08-17T18:12:01
397,330,616
5
0
NOASSERTION
2021-08-17T18:12:02
2021-08-17T16:57:16
null
UTF-8
Python
false
false
12,355
py
import unittest from typing import Dict, Optional import numpy as np import torch from torch import nn from torch.testing._internal.common_utils import TestCase, run_tests class StaticModule: def __init__(self, scripted): # this is an nn.Module if hasattr(scripted, "_c"): self.static_...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
76428ce31dbddb8a14d11a3a0fa372bea28b6157
9b422078f4ae22fe16610f2ebc54b8c7d905ccad
/xlsxwriter/test/comparison/test_chart_doughnut01.py
7048957c7e5110ea5f6179445573456bacf51b58
[ "BSD-2-Clause-Views" ]
permissive
projectsmahendra/XlsxWriter
73d8c73ea648a911deea63cb46b9069fb4116b60
9b9d6fb283c89af8b6c89ad20f72b8208c2aeb45
refs/heads/master
2023-07-21T19:40:41.103336
2023-07-08T16:54:37
2023-07-08T16:54:37
353,636,960
0
0
NOASSERTION
2021-04-01T08:57:21
2021-04-01T08:57:20
null
UTF-8
Python
false
false
1,121
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
ad358bf4d32aea80191fa3241fe832f390353029
41311e8bbed80e1f819157d24d7943c05ba6b2e6
/ProblemSet1/loadWords/loadWords.py
3a94e083edcd22587507bf4aeaa2b961c0adee1b
[]
no_license
tanglan2009/MITx6.00.2x_Introductin_Computational_Thinking_and_Data_Science
c0bb39cb0964014661823e1301f05af7837ff3c5
334726fca7f87eae55f5f45c3cdc4dbac02cfac4
refs/heads/master
2021-01-10T02:49:34.663406
2016-03-06T19:49:44
2016-03-06T19:49:44
53,272,724
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
import string PATH_TO_FILE = 'words.txt' def loadWords(): inFile = open(PATH_TO_FILE, 'r', 0) line = inFile.readline() wordlist = string.split(line) print " ", len(wordlist), "words loaded." return wordlist loadWords() # Uncomment the following function if you want to try the code template def loadWords2(): ...
[ "tanglan2009@gmail.com" ]
tanglan2009@gmail.com
3c143d64c0a9ee24662b8197f431c8e59eaedb17
5864e86954a221d52d4fa83a607c71bacf201c5a
/eve/client/script/ui/shared/planet/pinContainers/CommandCenterContainer.py
0f9f7fe007c59f3f24d139453aa6cabc5bd2683c
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
17,300
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\client\script\ui\shared\planet\pinContainers\CommandCenterContainer.py from carbonui.primitives.container import Container from eve.client.script.ui.control.eveLabel import Label, EveLabelSmall import evetypes import uiprimitives im...
[ "le02005@163.com" ]
le02005@163.com
e728f33e5d0da7256dab52088914b8554fcfb53b
2fb0af0a30e3133ef4c5e649acd3f9911430062c
/src/otp/level/ZoneEntity.py
dd4b697f834eeffe4a6e4330b73a50fe508dda0f
[]
no_license
Teku16/Toontown-Crystal-Master
4c01c0515f34a0e133441d2d1e9f9156ac267696
77a9345d52caa350ee0b1c7ad2b7461a3d6ed830
refs/heads/master
2020-05-20T06:02:58.106504
2015-07-25T07:23:59
2015-07-25T07:23:59
41,053,558
0
1
null
2015-08-19T18:51:11
2015-08-19T18:51:11
null
UTF-8
Python
false
false
1,244
py
import ZoneEntityBase import BasicEntities class ZoneEntity(ZoneEntityBase.ZoneEntityBase, BasicEntities.NodePathAttribs): def __init__(self, level, entId): ZoneEntityBase.ZoneEntityBase.__init__(self, level, entId) self.nodePath = self.level.getZoneNode(self.entId) if self.nodePath is Non...
[ "vincentandrea15k@gmail.com" ]
vincentandrea15k@gmail.com
cf1f4af51afa41b4dec936aee3e234c05d0c1381
fbf8bbc67ee98632531bb79b0353b536427d7572
/variables_and_scope/exe1_function.py
6687c59c3573e3f5e48fd39f5c3f3b5cafce1c0a
[]
no_license
bartoszmaleta/3rd-Self-instructed-week
c0eea57a8b077d91fe09fe53c1109d3a79e3f37c
4d00306e64ba2f7c2dd8213fd776ce8d3da142fc
refs/heads/master
2020-08-20T22:31:17.675733
2019-10-28T12:24:22
2019-10-28T12:24:22
216,073,199
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
def my_funcion(a): b = a - 2 # print(b) return b c = 1 if c > 2: d = my_funcion(5) print(d) # my_funcion(5)
[ "bartosz.maleta@gmail.com" ]
bartosz.maleta@gmail.com
6c365f68c5d1ed3c3e601bb023af3f91a5b78b92
14b44aa2b73fb3df08c9c085219ebfd320d5d63a
/register_service/venv/bin/jp.py
be778c22379e6ca2900eb32e774e96139bfddb56
[]
no_license
sande2jm/CI-CD-Service
c46f95f380872e9aca02d5c5e5a88578ba6e88b0
34535e69a3c39a78cd1d1ca785587d5e78a03580
refs/heads/master
2020-03-27T02:16:00.843764
2018-08-25T00:28:32
2018-08-25T00:28:32
145,778,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,714
py
#!/Users/jacob/Desktop/_ML/CI-CD-Service/venv/bin/python3 import sys import json import argparse from pprint import pformat import jmespath from jmespath import exceptions def main(): parser = argparse.ArgumentParser() parser.add_argument('expression') parser.add_argument('-f', '--filename', ...
[ "sande2jm@gmail.com" ]
sande2jm@gmail.com
08b8127958744b568e48462f5aed02e97b1ddad2
62bbef9472f343adea9804e29f403798434455df
/octaveimp/dictgen.py
3a9e93641d4d9b0d46bbce71a0195c6000186de2
[]
no_license
drdhaval2785/SamaasaClassification
d46658abce7ea7d7b6c89522ecc22a9d4391c011
f71be804d2b6fb0ec370d0917adf1a58079df550
refs/heads/master
2020-12-24T08:55:08.230647
2016-08-07T09:17:39
2016-08-07T09:17:39
38,927,628
2
0
null
null
null
null
UTF-8
Python
false
false
2,408
py
# -*- coding: utf-8 -*- import sys, re import codecs import string import datetime """ Usage - python dictgen.py step2.csv step3.csv dict.txt class.txt Creates a dictionary and index of unique words in step2.csv. The replacements are stored in step3.csv. dict.txt file has the dictionary. class.txt file has unique clas...
[ "drdhaval2785@gmail.com" ]
drdhaval2785@gmail.com
687ff0dd4534bcef0bd6a6f15d062ca2605815a3
83319338fd174cbbbc53e77ee4f5e8c959dd1efa
/Userregistration/settings.py
258566225e98c1fe3b2909ebfa60f885aa33c384
[]
no_license
syedarfa459/Django-User-Login
9959a05ac03f14be79e90d929c6021a304665566
724aa4c3d98590731929be848f80e32005eb72c1
refs/heads/master
2023-01-02T10:18:54.366768
2020-10-29T05:43:22
2020-10-29T05:43:22
308,228,749
0
0
null
null
null
null
UTF-8
Python
false
false
3,153
py
""" Django settings for Userregistration project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ fro...
[ "arfashahji@gmail.com" ]
arfashahji@gmail.com
0052186786f9135544da4bbd4cbbd0182d70d987
2c9db62ddaffd77c097b3da4990021270912ea40
/프로그래머스/42626.py
0fee2888d34a12c55c57058eb42adda113a2d477
[]
no_license
nahyun119/algorithm
9ae120fbe047819a74e06fc6879f55405bc9ea71
40e291305a4108266073d489e712787df1dbae4b
refs/heads/master
2023-08-27T23:18:44.133748
2021-10-03T11:32:12
2021-10-03T11:32:12
326,661,962
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
import heapq def solution(scoville, K): answer = 0 q = [] for s in scoville: heapq.heappush(q, s) is_done = False while q: s = heapq.heappop(q) if not q: if s >= K: is_done = True break if s < K: # 맨처음 원소가 작다면 ...
[ "nahyun858@gmail.com" ]
nahyun858@gmail.com
fae041b6f545357627db8a4e4d1117a61ad3b850
507daab36fdc1be0008d5dbcdb4402e299f6da8a
/mysite/mysite/urls.py
461a1e33e3c7ee75eabf8812862d0bc858b88bf1
[]
no_license
atmosphere1365/mastered
057cf80b9969bfba690aef4009e4f6b39703471d
b777728eb656b4fc209c1cb2592ed35fc0864b83
refs/heads/master
2020-09-16T09:35:50.941166
2019-11-24T11:24:43
2019-11-24T11:24:43
223,729,344
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('grappelli/', include('grappelli.urls')), # grappelli URLS path('admin/', admin.site.urls), path('', include('mainApp.urls')), path('007', include('blog.urls')), path('news/', include('news.urls')), ]
[ "you@example.com" ]
you@example.com
6f1a8f80c6cc21deb42ee605ff08484974623be8
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_interviewed.py
661432027101ffd3f901f39af597b5a42f7dd1a0
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from xai.brain.wordbase.verbs._interview import _INTERVIEW #calss header class _INTERVIEWED(_INTERVIEW, ): def __init__(self,): _INTERVIEW.__init__(self) self.name = "INTERVIEWED" self.specie = 'verbs' self.basic = "interview" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
3e0526a246b75f146753bdf4fc42abc23114aa4e
c87a510d79eb216a4602c8dac5165fb8f954b297
/trunk/models/system.py
fd362ef1dee2a3e05bcc36c7807ef1d3f2513188
[]
no_license
hanjiangfly/python-admin
cf77adfbb0a3ce870c3668a02b5314a7c8393748
df69d300e4027b772b3fc839e5eb6f79e378ac53
refs/heads/master
2022-06-19T10:49:01.990119
2020-05-06T09:22:54
2020-05-06T09:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,525
py
#!/usr/bin/env python # -*- coding:UTF-8 -*- ''' @Description: 系统相关的几张表结构 @Author: Zpp @Date: 2019-09-05 15:57:55 @LastEditTime: 2020-05-06 16:28:05 @LastEditors: Zpp ''' from models import db import datetime import json InterfaceToMenu = db.Table( 'db_interface_to_menu', db.Column('menu_id', db.String(36), d...
[ "375532103@qq.com" ]
375532103@qq.com
3c4f0d6329fae0254ec8bb1115b4712d8a53553f
a8314fb4e71a229f2288ca0588bbb3ebd58b7db0
/leet/number_of_islands/test.py
2920c806eccab6da138ebbf27ddc5c6f99a14a53
[]
no_license
blhwong/algos_py
6fc72f1c15fe04f760a199535a0df7769f6abbe6
9b54ad6512cf0464ecdd084d899454a99abd17b2
refs/heads/master
2023-08-30T17:45:51.862913
2023-07-24T18:56:38
2023-07-24T18:56:38
264,782,652
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
from leet.number_of_islands.main import Solution s = Solution() def test_1(): grid = [ ['1','1','1','1','0'], ['1','1','0','1','0'], ['1','1','0','0','0'], ['0','0','0','0','0'] ] assert s.numIslands(grid) == 1 def test_2(): grid = [ ['1', '1', '0', '0', '0']...
[ "brandon@yerdle.com" ]
brandon@yerdle.com
77e3a994f5aac16a79d46f57d851b6e0b920b3ba
eaa68c471c333336a7facad1ecb42f97aeca74f5
/backend/msm_gtfrd051101_dev_14630/urls.py
3c48dcc5318541339f45d7dca954cd710ed6dfa9
[]
no_license
crowdbotics-apps/msm-gtfrd051101-dev-14630
d1ba14f914db0ba5eb55a27f2828fa172c0c2a3a
9e1ef45aec6d690b8279aac71242e664cd4055d9
refs/heads/master
2023-01-04T19:29:24.277234
2020-11-05T05:49:43
2020-11-05T05:49:43
310,202,536
0
0
null
null
null
null
UTF-8
Python
false
false
1,965
py
"""msm_gtfrd051101_dev_14630 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
92fad4e71acbdd48c5803a52796be580d18dab58
407e2e0448c92cb258c4b8c57f7b023efcbbd878
/MachineLearning/DeepLearningNN_KerasTensorFlow/env4keras2/lib/python3.9/site-packages/qtpy/QtWebEngineWidgets.py
69f40d9e067a6ce159fdb5a7f338eccaec47aa68
[]
no_license
KPAdhikari/PythonStuff
f017aa8aa1ad26673263e7dc31761c46039df8c4
bea3a58792270650b5df4da7367686e2a9a76dbf
refs/heads/master
2022-10-19T05:04:40.454436
2022-02-28T06:02:11
2022-02-28T06:02:11
98,236,478
1
1
null
2022-09-30T18:59:18
2017-07-24T21:28:31
Python
UTF-8
Python
false
false
1,846
py
# # Copyright © 2014-2015 Colin Duquesnoy # Copyright © 2009- The Spyder development Team # # Licensed under the terms of the MIT License # (see LICENSE.txt for details) """ Provides QtWebEngineWidgets classes and functions. """ from . import PYQT5, PYQT6, PYSIDE2, PYSIDE6, PythonQtError # To test if ...
[ "kpadhikari@MyMacs-MacBook-Air.local" ]
kpadhikari@MyMacs-MacBook-Air.local
0e0887a54e76dea68a4c769949c2d9f6ddbe309c
8b3ca44ee3d990233e74655b7131d616094f70c2
/experiments/runtime/drug_sensitivity_gdsc/gaussian_laplace_inversegaussian.py
f9bb4292ab74f6fba25423f0efab7ffe599636c1
[]
no_license
zshwuhan/BMF_Priors
8b8c54271285a72d2085a56a9475c0756f375e67
6a600da1c41f1ccde2f2ba99298b40e68fb9910a
refs/heads/master
2021-05-13T19:10:07.203215
2017-12-01T13:30:21
2017-12-01T13:30:21
116,883,181
1
0
null
2018-01-09T23:36:13
2018-01-09T23:36:13
null
UTF-8
Python
false
false
905
py
''' Measure runtime on the GDSC drug sensitivity dataset, with the Gaussian + Laplace + IG model. ''' project_location = "/Users/thomasbrouwer/Documents/Projects/libraries/" import sys sys.path.append(project_location) from BMF_Priors.code.models.bmf_gaussian_laplace_inversegaussian import BMF_Gaussian_Laplace_IG fro...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
b3d59022b1fba8710896fc6c879618c2dcb414f9
ab8b066221447d9dc8b02f5fa83a561e164a82c0
/variation/src/analyzePhenotype.py
9821cef5ea9c041c4509993f2562e96f1ed1849a
[]
no_license
polyactis/gwasmodules
52729435a91933cfd8409973e1afda5514615d93
b9333b85daed71032a1cba766585d0be1986ffdb
refs/heads/master
2021-01-17T12:16:19.813899
2015-03-14T00:30:40
2015-03-14T00:30:40
32,554,385
0
1
null
2020-07-24T15:51:39
2015-03-20T00:50:11
Python
UTF-8
Python
false
false
62,764
py
""" This class provides functionality (in python) to evaluate which transformation to choose. """ import phenotypeData, gwaResults, gc, plotResults import math #import matplotlib #matplotlib.use('Agg') #import matplotlib.pyplot as plt import pylab as plt def drawHistogram(phed, p_i, title = None , pdfFile = None, ...
[ "tom@phantom" ]
tom@phantom
691326cf620d757d749fd0cea91b4c52d295a97c
78d17c3a7332be85078b513eee02f7ae4f18b3db
/lintcode/best_time_to_buy_and_sell_stockIII.py
98aa9d43dbefced47f890d948e90f8c6c0446edd
[]
no_license
yuhanlyu/coding-challenge
c28f6e26acedf41cef85519aea93e554b43c7e8e
9ff860c38751f5f80dfb177aa0d1f250692c0500
refs/heads/master
2021-01-22T21:59:27.278815
2017-11-26T07:34:04
2017-11-26T07:34:04
85,498,747
2
0
null
null
null
null
UTF-8
Python
false
false
399
py
class Solution: """ @param prices: Given an integer array @return: Maximum profit """ def maxProfit(self, prices): buy1, buy2, sell1, sell2 = -2 ** 32, -2 ** 32, 0, 0 for price in prices: buy2, sell2 = max(buy2, sell1 - price), max(sell2, buy2 + price) buy1, s...
[ "yuhanlyu@gmail.com" ]
yuhanlyu@gmail.com
f8ac9401d36296f4a1f0612d0736446bc3cdb4ca
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2849/60673/267341.py
eaf3ff20eb6312f521c762fbe44ab3b471ce01c9
[]
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
299
py
inp = int(input()) nums = input().split(" ") res = -1 for i in range(inp): nums[i]=int(nums[i]) allposs = [] for i in range(1,min(nums)): res = i for j in range(inp): if(j%i!=0): res = -1 break if(res!=-1): allposs.append(res) print (max(allposs))
[ "1069583789@qq.com" ]
1069583789@qq.com
7643cfd178b387b8b06cff656e50bb6d918ebaaa
471c3ad9912423763295c353c3dcbb7e2e74b818
/seqmod/modules/encoder.py
d9a24cc8d3e8309c5359bdf3fba1972041ed9d17
[]
no_license
mikekestemont/seqmod
a3bfcbf4c7418005e71cb5381c30a837cff88aec
7d8c976a03836fcf347395c192987dba531c2144
refs/heads/master
2021-01-21T22:05:18.518306
2017-06-21T10:26:39
2017-06-21T10:26:39
95,155,787
0
0
null
2017-06-22T20:55:51
2017-06-22T20:55:51
null
UTF-8
Python
false
false
3,168
py
import torch import torch.nn as nn from torch.autograd import Variable import seqmod.utils as u class Encoder(nn.Module): """ RNN Encoder that computes a sentence matrix representation of the input using an RNN. """ def __init__(self, in_dim, hid_dim, num_layers, cell, dropout=0...
[ "enrique.manjavacas@gmail.com" ]
enrique.manjavacas@gmail.com
2534b2fee587754dc076a37e9e6e118570ce4945
d7be997e821923c296e6c74699515b4f62bd4e5f
/lunchbreak/lunch/__init__.py
150d6f295419e00936ce6130ad86ec89d24197a2
[]
no_license
ssprasad100/Lunchbreak_backend_again
1563f5b3590f19f1caf827c8be7cdae9f30b40b9
31c99fbf13ea1ae85bfdac94d052c7475f422b38
refs/heads/master
2020-05-05T02:14:50.312761
2019-04-03T04:16:20
2019-04-03T04:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
default_app_config = 'lunch.apps.LunchConfig' from . import transformations # noqa
[ "andreas@backx.org" ]
andreas@backx.org
0bb3df088c46abb2f9a2f47d4e354b816b0342e3
780b01976dad99c7c2ed948b8473aa4e2d0404ba
/backtester/reports/campaign_report.py
8e64e3371ffa925313d9cc8be657c6b8328cc0db
[]
no_license
trendmanagement/tmqrexo_alexveden
a8ad699c2c3df4ce283346d287aff4364059a351
4d92e2ee2bc97ea2fcf075382d4a5f80ce3d72e4
refs/heads/master
2021-03-16T08:38:00.518593
2019-01-23T08:30:18
2019-01-23T08:30:18
56,336,692
1
1
null
2019-01-22T14:21:03
2016-04-15T17:05:53
Python
UTF-8
Python
false
false
15,113
py
import os import sys import warnings from collections import OrderedDict from datetime import datetime, date import pandas as pd from exobuilder.data.exceptions import QuoteNotFoundException from tradingcore.campaign import Campaign from exobuilder.data.assetindex_mongo import AssetIndexMongo from exobuilder.data.dat...
[ "i@alexveden.com" ]
i@alexveden.com
c72dcbc745508edb37b6bfd454e99223aa888a0d
94a511b7b31858d383be63ee5a3c1d3272bb6bf3
/week_2/2_12.py
c2c728ccca1175842f85ad3c14238b72a14c012f
[]
no_license
kolevatov/python_lessons
90bb3c2139e23cfc0f25f993c4ee636737e7daa8
ff9290d87a5bdc20ddfb7109015ddb48429a4dd8
refs/heads/master
2021-01-13T01:18:15.997795
2018-03-06T15:03:03
2018-03-06T15:03:03
81,450,169
1
0
null
null
null
null
UTF-8
Python
false
false
1,711
py
# Шашки # На доске стоит белая шашка. Требуется определить, # может ли она попасть в заданную клетку, делая ходы по правилам # (не превращаясь в дамку). Белые шашки могут ходить по черным клеткам # по диагонали вверх-влево или вверх-вправо. Ходов может быть несколько! # Формат ввода # Вводится клетка, где стоит шаш...
[ "kolevatov@bpcbt.com" ]
kolevatov@bpcbt.com
396f618507110469fb3700af03b351713222ae05
dded9fb6567928952a283fc1c6db6a5a860bc1a6
/nerodia/elements/d_list.py
a4897b8ded9bf4603dc2794d59fdbd088c35962b
[ "MIT" ]
permissive
watir/nerodia
08b84aca4b72eae37e983006c15b824412335553
7e020f115b324ad62fe7800f3e1ec9cc8b25fcfe
refs/heads/master
2023-04-15T20:02:34.833489
2023-04-06T23:46:14
2023-04-06T23:46:14
87,383,565
88
14
MIT
2023-04-06T23:42:29
2017-04-06T03:43:47
Python
UTF-8
Python
false
false
311
py
import six from .html_elements import HTMLElement from ..meta_elements import MetaHTMLElement @six.add_metaclass(MetaHTMLElement) class DList(HTMLElement): def to_dict(self): keys = [e.text for e in self.dts()] values = [e.text for e in self.dds()] return dict(zip(keys, values))
[ "lucast1533@gmail.com" ]
lucast1533@gmail.com
0a01821ba0aab521ea8241cf8c72d240e40870cf
4a90ed83fce4632d47f7eb2997eb742d0230c7e2
/tests/brython_jinja2/test_context.py
7ccd7b92e76b4fef6102670685bbc548234ba4ae
[ "BSD-3-Clause" ]
permissive
jonathanverner/brython-jinja2
943b0eecc435ee5551ee464e3134164aad7aef27
cec6e16de1750203a858d0acf590f230fc3bf848
refs/heads/master
2022-12-14T15:04:11.668530
2017-09-29T02:18:08
2017-09-29T02:18:08
100,823,068
2
0
BSD-3-Clause
2021-06-01T21:48:13
2017-08-19T21:47:17
Python
UTF-8
Python
false
false
875
py
import asyncio import pytest from brython_jinja2.context import Context def test_extension(): base = Context() base.a = 10 base.c = 30 child = Context(base=base) # Child should have access to parent assert child.a == 10 # The _get method should work for accessing parent assert chil...
[ "jonathan.verner@matfyz.cz" ]
jonathan.verner@matfyz.cz
3887e47d266aa37eeacf4a8d0fe2ecb63c05ffc8
342a3af41306cf607eb49bde49348926c6dcd73b
/Packages/Dead/demo/Lib/geoparse.py
d9d4d2a17606539c34e5ed8e9a9790b3b39a6a6c
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause" ]
permissive
CDAT/cdat
17e5de69a0d9d3bb5b79aaaecb4198ae9d92ed47
5133560c0c049b5c93ee321ba0af494253b44f91
refs/heads/master
2022-06-05T02:41:12.155720
2022-05-18T22:31:18
2022-05-18T22:31:18
6,660,536
72
17
NOASSERTION
2022-05-18T22:31:19
2012-11-12T20:58:18
Fortran
UTF-8
Python
false
false
1,158
py
############################################################################# # File: geoparse.py # # Author: Velimir Mlaker, mlaker1@llnl.gov # # Date: 05-Aug-2005 # # Desc:...
[ "doutriaux1@meryem.llnl.gov" ]
doutriaux1@meryem.llnl.gov
aeaf592f72b9d0bb705e1c4cdd9ed1b97ee88ac1
20810657fed82d4fce65487a83e8b057da6dd794
/python1/validate_input.py
130007da5b8ee27bb6ceb9d662bc17c7f8aff8f4
[]
no_license
jmwoloso/Python_1
a2ddc7e2a3e9caeefe21c90c618c0c91871239b7
ce49a142f96bca889684261f997c6ac667bd15ce
refs/heads/master
2016-09-05T11:13:24.296676
2015-06-08T17:35:51
2015-06-08T17:35:51
37,082,580
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
#!/usr/local/bin/python3 """Validate user input.""" while True: s = input("Type 'yes' or 'no': ") if s == 'yes': break if s == 'no': break print("Wrong! Try again.") print(s)
[ "jmwoloso@asu.edu" ]
jmwoloso@asu.edu
de53fed39a76f4a71654451bf454b8401756b843
5a0f6aeb6147115a8318d5f517cc62f01cfd3f1c
/python/example_publish.py
c621fbd7d9fe24deb9f6f8ab9f14f6b5e2950d00
[ "MIT" ]
permissive
magictimelapse/mqtt-iota
2ec61b31281af91dd9f18b9f764d4c5b8789c0a5
d5c06c4193ca1519c110856c1967dfea01ed9050
refs/heads/master
2020-04-14T11:50:53.276082
2019-01-02T18:48:42
2019-01-02T18:48:42
163,824,361
1
1
null
null
null
null
UTF-8
Python
false
false
332
py
#!/usr/bin/env python import paho.mqtt.client as paho import json broker = 'localhost' port = 1883 client = paho.Client() client.connect(broker,port) data = {'temperature':22, 'humidity': 15} # stringify the json data: stringified_data = json.dumps(data, separators=(',',':')) ret = client.publish('sensors/data',string...
[ "michael.rissi@gmail.com" ]
michael.rissi@gmail.com
2c118bb2cfb4390ce34d88766238155d957b2817
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_8/kpprya001/question2.py
35d0a565502a114e8a6ac7400df28b01ba4b664a
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
word = input("Enter a message:\n") string1 = word pairs = 0 def count_characters(string1,pairs): if(string1[1:2]!=""): if(string1[0:1]==string1[1:2]): pairs += 1 return count_characters(string1[2:],pairs) else: return count_characters(string1[2:],pairs) ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
c67f3c2d5b47b1adbad2d799d01f3bb7792dc3a5
52855d750ccd5f2a89e960a2cd03365a3daf4959
/ABC/ABC118_A.py
ad973aa79ebf7f7aab79ef27a1e9bd77a051dff0
[]
no_license
takuwaaan/Atcoder_Study
b15d4f3d15d48abb06895d5938bf8ab53fb73c08
6fd772c09c7816d147abdc50669ec2bbc1bc4a57
refs/heads/master
2021-03-10T18:56:04.416805
2020-03-30T22:36:49
2020-03-30T22:36:49
246,477,394
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
A, B = map(int, input().split()) ans = (A + B if B % A == 0 else B - A) print(ans)
[ "takutotakuwan@gmail.com" ]
takutotakuwan@gmail.com
870d8432b7bd7ef532bd4460e8619c7b327af57e
ff441ab720623b522ba522d0fbd6232215a1dc85
/src/CreateFakeDataForTesting.py
266512ed534858b229c871fdc88ad1b49d1f56fa
[]
no_license
LeeHuangChen/2017_12_21_ADDA_ExecutionWrapper_versionControlled
0872dbb76598b4fb0695fcd8a27a12566fd7c96f
04e6117de3164b12815d195831d6e591d321038f
refs/heads/master
2021-09-06T22:53:25.693378
2018-02-12T23:52:42
2018-02-12T23:52:42
115,046,464
0
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
import os, random def random_AA_seq(length): seq = ''.join(random.choice('ACDEFGHIKLMNPQRSTVWY') for i in range(length)) # return "TaxonA "+seq return seq def appendFile(filepath, message): with open(filepath, "a") as f: f.write(message) def toFastaSeq(name, seq, taxa): header = ">" + ...
[ "lhc1@rice.edu" ]
lhc1@rice.edu
d6fc4824750ae5886e59f819e7cd36f2ad6e2073
714f0c4a37771b98de3cb817c1950fd08b18a8eb
/WebFrame/WebFrame.py
9eb045e30a633f1ff641dfabdb4ea0efbb120a55
[]
no_license
haoen110/http-server
8543fd6e3cebc63f1390468e44b032c3b0f493fd
809dcbeed4d2cd10c0f91a5c9b247984e1d28625
refs/heads/master
2020-09-14T14:58:17.213936
2019-11-21T11:49:37
2019-11-21T11:49:37
223,162,132
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
# coding = utf - 8 from socket import * import time from setting import * from urls import * from views import * class Application(object): def __init__(self): self.sockfd = socket() self.sockfd.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1) self.sockfd.bind(frame_addr) def start(self): ...
[ "haoenwei@outlook.com" ]
haoenwei@outlook.com
c7ce27bd37e52a5d67cf6f140e15d898a4b4a87f
cadfcc0879aa94cc0a5b4b4993bf9bcbddbf424d
/is_livraison_16831/urls.py
40ce640e380c9119a0a6eeed1b119514dd4a30de
[]
no_license
crowdbotics-apps/is-livraison-16831
72ab3f68a4cd0a10c7ad2bf4d3e22f07168dfd90
5105eda2fcd9ae1ab27cccbc3aa4b547dc9cb839
refs/heads/master
2023-05-29T11:31:43.194218
2020-05-10T08:23:05
2020-05-10T08:23:05
262,741,914
0
0
null
2021-06-12T03:02:34
2020-05-10T08:19:28
Python
UTF-8
Python
false
false
2,430
py
"""is_livraison_16831 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a309fd2997f541b938f725a4a3034e26bdaf4f12
5bc589ae06cd11da557bb84553fcb10330abf980
/warunek.py
6506a250c40625aa10f344b3f7863c5ab714fda7
[]
no_license
keinam53/Zrozumiec_Programowanie
b06d8260a4f227f521d0b762b9cbfb0ad8a17989
5da9fc9eaaedd6962b225517c4c02297ae18c800
refs/heads/master
2023-06-04T17:31:10.114679
2021-07-03T19:23:39
2021-07-03T19:23:39
358,726,195
1
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
# jablka = 3 # banany = 4.5 # gruszki = 3 # print(f"Czy jabłka są droższe od bananów?\t\t\t\t {jablka>banany}") # print(f"czy gruszki mają taką samą cenę jak banany?\t\t{gruszki==banany}") # # result = jablka==banany # print(type(result)) # name = "Mariusz" # result = name =="Mariusz" # print(result) # name = input("...
[ "mariusz.baran536@gmail.com" ]
mariusz.baran536@gmail.com
f07a987ce8d79b004f67e63ac870971f4bc7b1b7
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part001088.py
d44bfe80ca43817a7cad73759d1a8d2507d6d110
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
4,978
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
8eadc0f79a7b8575a34f645f947de6a744f43919
c9f67529e10eb85195126cfa9ada2e80a834d373
/lib/python3.5/site-packages/torch/distributions/chi2.py
ff789c17370fb76cf21ee26e22e1025d3ff63a63
[ "Apache-2.0" ]
permissive
chilung/dllab-5-1-ngraph
10d6df73ea421bfaf998e73e514972d0cbe5be13
2af28db42d9dc2586396b6f38d02977cac0902a6
refs/heads/master
2022-12-17T19:14:46.848661
2019-01-14T12:27:07
2019-01-14T12:27:07
165,513,937
0
1
Apache-2.0
2022-12-08T04:59:31
2019-01-13T14:19:16
Python
UTF-8
Python
false
false
759
py
from torch.distributions import constraints from torch.distributions.gamma import Gamma class Chi2(Gamma): r""" Creates a Chi2 distribution parameterized by shape parameter `df`. This is exactly equivalent to Gamma(alpha=0.5*df, beta=0.5) Example:: >>> m = Chi2(torch.tensor([1.0])) >...
[ "chilung.cs06g@nctu.edu.tw" ]
chilung.cs06g@nctu.edu.tw
7bfed9146727f6bf33c206145d54f8f7e691afc7
cf457dacc75ade598d52a4cfd58c2120192da84c
/Python1808/第一阶段/打飞机/game01/04-动画效果.py
ff0c9a113d67985f54c3802c8f4eb93e0598e79f
[]
no_license
LYblogs/python
b62608d73eb0a5a19306cabd4fd5706806fd557b
1ee0bcecc3a78c6d2b191600872a1177e9c8df60
refs/heads/master
2020-04-12T10:12:01.478382
2018-12-19T10:59:47
2018-12-19T10:59:47
162,422,214
0
1
null
null
null
null
UTF-8
Python
false
false
1,484
py
"""__author__ = 余婷""" """ 动画原理:不断的刷新界面上的内容(一帧一帧的画) """ import pygame from random import randint def static_page(screen): """ 页面上的静态内容 """ # 静态文字 font = pygame.font.SysFont('Times', 40) title = font.render('Welcome', True, (0, 0, 0)) screen.blit(title, (200, 200)) def animation_title(scree...
[ "2271032145@qq.com" ]
2271032145@qq.com
8a19f905ec49cb35ed33920e86912dccf5e9c127
f2a2f41641eb56a17009294ff100dc9b39cb774b
/old_session/session_1/_188/_188_best_time_to_buy_and_sell_stock_4.py
e9c2d60469b92cb5e4467a4d0984402cb459fd56
[]
no_license
YJL33/LeetCode
0e837a419d11d44239d1a692140a1468f6a7d9bf
b4da922c4e8406c486760639b71e3ec50283ca43
refs/heads/master
2022-08-13T01:46:14.976758
2022-07-24T03:59:52
2022-07-24T04:11:32
52,939,733
3
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
""" 188. Best Time to Buy and Sell Stock IV Total Accepted: 35261 Total Submissions: 150017 Difficulty: Hard Contributors: Admin Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most k transact...
[ "yunjun.l33@gmail.com" ]
yunjun.l33@gmail.com
39f7c7acf75f6b9a74c34de56a6e06a69f0ccd96
93e9bbcdd981a6ec08644e76ee914e42709579af
/backtracking/526_Beautiful_Arrangement.py
44a4d02c074bc1b7a25249856c55e2ac84376c9c
[]
no_license
vsdrun/lc_public
57aa418a8349629494782f1a009c1a8751ffe81d
6350568d16b0f8c49a020f055bb6d72e2705ea56
refs/heads/master
2020-05-31T11:23:28.448602
2019-10-02T21:00:57
2019-10-02T21:00:57
190,259,739
6
0
null
null
null
null
UTF-8
Python
false
false
2,116
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ https://leetcode.com/problems/beautiful-arrangement/description/ Suppose you have N integers from 1 to N. We define a beautiful arrangement as an array that is constructed by these N numbers successfully if one of the following is true for the ith position (1 <= i <=...
[ "vsdmars@gmail.com" ]
vsdmars@gmail.com
a9ba0366d74eb0694176c79d13f83932130643ee
3a1fea0fdd27baa6b63941f71b29eb04061678c6
/src/ch10/rtda/heap/ConstantPool.py
a3c1c48aa318b84890d2ffb6c8daf0408f4390cf
[]
no_license
sumerzhang/JVMByPython
56a7a896e43b7a5020559c0740ebe61d608a9f2a
1554cf62f47a2c6eb10fe09c7216518416bb65bc
refs/heads/master
2022-12-02T17:21:11.020486
2020-08-18T06:57:10
2020-08-18T06:57:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,922
py
#!/usr/bin/env python # encoding: utf-8 """ @author: HuRuiFeng @file: ConstantPool.py @time: 2019/9/16 17:25 @desc: 运行时常量池,主要存放两类信息:字面量和符号引用,字面量包括整数、浮点数和字符串字面量; 符号引用包括类符号引用、字段符号引用、方法符号引用和接口符号引用。 """ class ConstantPool: def __init__(self, clazz, consts): self._class = clazz self.consts = consts ...
[ "huruifeng1202@163.com" ]
huruifeng1202@163.com
6d13df9f1490f790caa07de014986fd9c92569f8
d0e953d791920b508104d5f3ca298eab2f6e7bea
/面向对象编程/test5.py
4ec9b113ff3b5cd1eaafc7fdb07d9173c3233d98
[]
no_license
JKFjkf/Practise
97ebabc376e0929f50fd542d0ede77739e3f9088
3371d5cc878bdb64f645311f2eb097f59c492c3c
refs/heads/master
2023-07-03T21:28:06.873370
2021-08-11T12:19:39
2021-08-11T12:19:39
394,978,548
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
class Father(): def __init__(self): self.money = 0 def action(self): print("调用了父类方法") class Son(Father): def __init__(self): self.money = 1000 def action(self): print("子类重写父类方法") son = Son()#子类son继承父类father的所有属性和方法 son.action()#子类son调用自身的action而不是父类的action方法 print(son....
[ "1920578919@qq.com" ]
1920578919@qq.com
db76ae5a9d42054ec2eb762f17657fd4835fe398
b019cb48889c67b1818605154e757dfeba626cf5
/Lecon_un/06_02_1.py
d4a889965401a77a1e6a8055206be5a82ad17a3c
[]
no_license
citroen8897/Python_2
0ee5d46501bb8b42fe2ed686fbffc98843c8f046
035a6384e857221eca0f9d88fb3758313998d5f9
refs/heads/main
2023-03-02T20:47:42.150668
2021-02-14T23:03:48
2021-02-14T23:03:48
336,619,109
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
class A: def __init__(self, name, years): self.name = name self.years = years print('Hello class A!') def test(self): print(f'Hello {self.name}\nYou are {self.years} years...') def test_2(self): self.name = input('Введите имя: ') self.years = input('Ваш возр...
[ "citroen8897@gmail.com" ]
citroen8897@gmail.com
98dead09577ada0f018d2403a2bcaa0dac33096a
c0c3f303ff6407f055bb24b4d13e3a4a3e796988
/peachpy/encoder.py
5353c1f42a4182be6dee5a674f49bd91de441ec4
[ "BSD-2-Clause" ]
permissive
lemire/PeachPy
d610700476c9ff805fa5dd0d3554b21ecbfef012
650a4d866bd67d007371effdc7c096788f0acf20
refs/heads/master
2023-08-18T23:50:35.026362
2015-09-17T05:24:18
2015-09-17T05:24:18
42,653,254
1
1
null
2015-09-17T11:49:26
2015-09-17T11:49:26
null
UTF-8
Python
false
false
7,810
py
# This file is part of Peach-Py package and is licensed under the Simplified BSD license. # See license.rst for the full text of the license. from peachpy.abi import Endianness class Encoder: def __init__(self, endianness, bitness=None): assert endianness in {Endianness.Little, Endianness.Big} ...
[ "maratek@gmail.com" ]
maratek@gmail.com
57108dea039fca66dfd1781469adfe35ca38ca46
72612d94e07649586dda53c94a058a26af5ed3e6
/amr_maldi_ml/deprecated/mean_intensities.py
e2e3b8e8f74586a0b063ad466cd78fa16eb5bbf1
[ "BSD-3-Clause" ]
permissive
SanmiAndreSofa/maldi_amr
91e88d0a23d2cb1e5007f73a8ba04be6828d6b6e
cc084d73a2d14c5936878e609f6d44fad0b524c7
refs/heads/master
2023-08-06T10:26:58.989597
2021-10-04T09:12:05
2021-10-04T09:12:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,091
py
"""Calculate mean intensity values of a given scenario for both classes.""" import argparse import dotenv import json import logging import pathlib import os import sys import numpy as np from maldi_learn.driams import DRIAMSDatasetExplorer from maldi_learn.driams import DRIAMSLabelEncoder from maldi_learn.driams i...
[ "bastian.rieck@bsse.ethz.ch" ]
bastian.rieck@bsse.ethz.ch
6e90f2dd477e7c47bc2b9d1496d59b963db72248
97f88c3382903ea93391e67523744e4c8aba5214
/2018_cfg.py
ce7bddea6f14a0730474802697bbe677b48d661a
[]
no_license
diemort/pps-quick-test
60194090be5de3ec3ae4e9a164051b1f8628d8ca
0b599608689bb2bfde13b41581cf269d29f7a685
refs/heads/master
2023-07-15T19:41:22.552022
2019-12-12T16:19:46
2019-12-12T16:19:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.Eras import eras process = cms.Process('TEST', eras.Run2_2018) from base import * SetDefaults(process) #process.source.fileNames = cms.untracked.vstring("/store/data/Run2018D/ZeroBias/RAW/v1/000/320/688/00000/601A721D-AD95-E811-B21A-FA163E...
[ "jan.kaspar@cern.ch" ]
jan.kaspar@cern.ch
546ebf18503cfe45d623bc097095c2ce40c8e910
905da4dc6a829845dba931c18517a4d8b38cc163
/docs/conf.py
7743f60c6077222d7cbbde52915a7d7598bbb39f
[ "BSD-2-Clause" ]
permissive
interrogator/drum
3995cefa9b0e7751b149355a4e19c7a1863549cd
7a25c574941f9da8b89b0ae162b205f0e3fd5eba
refs/heads/master
2020-04-29T12:14:24.490049
2019-03-20T23:46:35
2019-03-20T23:46:35
176,129,523
0
0
BSD-2-Clause
2019-03-17T16:34:44
2019-03-17T16:34:43
null
UTF-8
Python
false
false
149
py
from __future__ import unicode_literals # This file is automatically generated via sphinx-me from sphinx_me import setup_conf; setup_conf(globals())
[ "steve@jupo.org" ]
steve@jupo.org
3f8c40b2684440089f9b5afdd7e2549878803c84
575ab9f0027d82a26041f37a443cda16cf010379
/DeepLearning/ReinforcementLearning/__init__.py
bf5fdbd2a46e8c62f704b5dcdc0cce5d7ddbd326
[]
no_license
huning2009/MachineLearning
ca665d63c6924d6229bcdea09d0e9fe715d2d1c8
016b98eae7e31aab4e2ca5a14e86150f31e97bba
refs/heads/master
2022-04-08T06:01:05.370260
2020-03-12T04:24:16
2020-03-12T04:24:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
#-*- coding:utf-8 _*- """ @author:charlesXu @file: __init__.py.py @desc: @time: 2018/03/26 """
[ "charlesxu86@163.com" ]
charlesxu86@163.com
321503ad2d0b60331c3b699e7713e9775b995570
592498a0e22897dcc460c165b4c330b94808b714
/9000번/9656_돌 게임 2.py
42c39e9c69e7e35dc98e8bf3285314e7fb09d23e
[]
no_license
atom015/py_boj
abb3850469b39d0004f996e04aa7aa449b71b1d6
42b737c7c9d7ec59d8abedf2918e4ab4c86cb01d
refs/heads/master
2022-12-18T08:14:51.277802
2020-09-24T15:44:52
2020-09-24T15:44:52
179,933,927
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
n = int(input()) print("SK" if n % 2 == 0 else "CY")
[ "zeezlelove@gmail.com" ]
zeezlelove@gmail.com
906fb2da3da63cf9e71cc8a9c157b1c6b497cd0b
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc039/A/4882474.py
c2ea3729c7876f55faa106340633522238bf101b
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
58
py
A,B,C = map(int,input().split()) print(2*A*B+2*A*C+2*B*C)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
5f873cf2ba2a4f40f7e64fce82de01710715ef70
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/ListDataServiceApisRequest.py
db47ea5b60789ea1e5ddd70c65b2e677d34e8dad
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,519
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
2672a1e1230d39d2ec8eb0b54f8fc7cc59b208b4
5726f72427fa9f9881c4610749427c33dba84714
/ginga/misc/plugins/Operations.py
2ecb4a0b6c5e85c40d2218c28935e527e530d044
[ "BSD-3-Clause" ]
permissive
saimn/ginga
ff73829b540dfb53c06c38b482e09d877e36887f
9daf1875b4c1b0fad0a053c5f258bf7d4c0f3455
refs/heads/master
2020-12-24T23:10:25.305394
2016-08-29T20:34:17
2016-08-29T20:34:17
12,879,828
0
0
null
null
null
null
UTF-8
Python
false
false
6,681
py
# # Operations.py -- Operations management plugin for Ginga viewer # # Eric Jeschke (eric@naoj.org) # # Copyright (c) Eric R. Jeschke. All rights reserved. # This is open-source software licensed under a BSD license. # Please see the file LICENSE.txt for details. # from ginga import GingaPlugin from ginga.misc import ...
[ "eric@naoj.org" ]
eric@naoj.org
b62bc2db0a6ee6b5f3cb7e989a85c62fde7672cf
eebafeddcdbb520ab2afcac4e9d7dd75c58318af
/APO/prep_data/featurize_dihedrals.py
affde20d60e2e428fb455bda72382b599b473c49
[ "MIT", "CC-BY-4.0" ]
permissive
choderalab/SETD8-materials
0e91f1c7c0348d4aa100df6bc33b16ab3ab96555
60a03632c8667ca91514f41a48cb27a255a47821
refs/heads/master
2021-09-21T04:12:22.596465
2018-08-20T00:36:45
2018-08-20T00:36:45
145,294,223
6
1
null
null
null
null
UTF-8
Python
false
false
552
py
import pyemma import mdtraj as md import glob import numpy as np fnames = glob.glob('data_cut_start_noH_stride10/*/*.h5') traj = md.load(fnames[0]) top = traj.top feat = pyemma.coordinates.featurizer(top) feat.add_backbone_torsions(cossin = True) feat.add_chi1_torsions(cossin = True) source = pyemma.coordinates.sou...
[ "rafwiewiora@gmail.com" ]
rafwiewiora@gmail.com
cee870482805f37c8d778e6d1300cb40e5facb92
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2587/60693/238740.py
ee8c7a54d56f3a4755d187c9812d54cb532e7ef9
[]
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
303
py
pnum=int(input()) points=[] for i in range(pnum): co=list(map(int,input().split(','))) points.append(co) steps=0 for i in range(pnum-1): pax,pay=points[i][0],points[i][1] pbx,pby=points[i+1][0],points[i+1][1] disx,disy=abs(pbx-pax),abs(pby-pay) steps+=max(disx,disy) print(steps)
[ "1069583789@qq.com" ]
1069583789@qq.com
e913cf4c9f8ca280ae64674e4b5b530734accc8b
c61c27a778f0d11502acbd76ec69e77745c920ee
/go/apps/rapidsms/vumi_app.py
85c7b8b0548cce8db5dd3a694e30fb48ea960d8e
[ "BSD-2-Clause" ]
permissive
ChrisNolan1992/vumi-go
baf852b2b8a85aa5f3d43b1362409cddc407d4b1
be8d358a0a6efc0799c758644b6c8759a22db180
refs/heads/master
2020-12-31T03:56:45.262961
2014-08-19T13:56:08
2014-08-19T13:56:08
23,417,739
0
1
null
null
null
null
UTF-8
Python
false
false
3,883
py
# -*- test-case-name: go.apps.rapidsms.tests.test_vumi_app -*- # -*- coding: utf-8 -*- """Vumi Go application worker for RapidSMS.""" from twisted.internet.defer import inlineCallbacks, returnValue from vumi.application.rapidsms_relay import RapidSMSRelay from vumi import log from go.vumitools.app_worker import ( ...
[ "hodgestar@gmail.com" ]
hodgestar@gmail.com
91eac5619a238e229992da106d3038013dd9373e
caf8cbcafd448a301997770165b323438d119f5e
/.history/mercari/mercari_search_20201124184532.py
60067c2157e28c296d99956f5b4b379b1aeb19a2
[ "MIT" ]
permissive
KustomApe/nerdape
03e0691f675f13ce2aefa46ee230111247e90c72
aef6fb2d1f8c364b26d91bf8570b4487a24de69a
refs/heads/main
2023-01-23T10:13:26.584386
2020-11-28T22:29:49
2020-11-28T22:29:49
309,897,105
0
0
null
null
null
null
UTF-8
Python
false
false
2,653
py
from selenium import webdriver from selenium.webdriver.support.ui import Select import pandas as pd import re import numpy as np import matplotlib.pyplot as plt import seaborn as sns import PyQt5 import time """[Initial Settings] 初期設定 """ options = webdriver.ChromeOptions() options.add_argument('--headeless') options.a...
[ "kustomape@gmail.com" ]
kustomape@gmail.com
787612f8fc43ee97d1b22bd8b708397309dc26ec
c3a61c9420c941722bad57a8cbcb7a58e3072012
/sb3.py
4375afbe9250308a448a01ec8cb8320797ed787d
[]
no_license
vwxyzjn/microrts-sb3
e18db9427fd7cd3622c1356437c8fdbcbf796e19
72f4382f2926e3de61671d943b625391c8cc98f6
refs/heads/master
2023-08-22T14:54:27.869007
2021-09-20T01:59:28
2021-09-20T01:59:28
408,281,216
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
import wandb from sb3_contrib import MaskablePPO from sb3_contrib.common.wrappers import ActionMasker from stable_baselines3.common.vec_env import VecVideoRecorder, VecMonitor from wandb.integration.sb3 import WandbCallback from gym_microrts import microrts_ai from gym_microrts.envs.new_vec_env import MicroRTSGridModeV...
[ "costa.huang@outlook.com" ]
costa.huang@outlook.com
1218380ea622e8b2a378a0b78684ff6c0fa38617
66862c422fda8b0de8c4a6f9d24eced028805283
/slambook2/3rdparty/opencv-3.3.0/modules/ts/misc/summary.py
96826998507bf5e5af019fbdb1b222cbe317cb6a
[ "MIT", "BSD-3-Clause" ]
permissive
zhh2005757/slambook2_in_Docker
57ed4af958b730e6f767cd202717e28144107cdb
f0e71327d196cdad3b3c10d96eacdf95240d528b
refs/heads/main
2023-09-01T03:26:37.542232
2021-10-27T11:45:47
2021-10-27T11:45:47
416,666,234
17
6
MIT
2021-10-13T09:51:00
2021-10-13T09:12:15
null
UTF-8
Python
false
false
13,963
py
#!/usr/bin/env python import testlog_parser, sys, os, xml, glob, re from table_formatter import * from optparse import OptionParser numeric_re = re.compile("(\d+)") cvtype_re = re.compile("(8U|8S|16U|16S|32S|32F|64F)C(\d{1,3})") cvtypes = { '8U': 0, '8S': 1, '16U': 2, '16S': 3, '32S': 4, '32F': 5, '64F': 6 } convert...
[ "594353397@qq.com" ]
594353397@qq.com
a3a8a56f4fea1271db284ab6c7e85df83934a615
e780a5bd72f98ca2513c993d64a85b08578166a6
/buildout-cache/eggs/Products.Archetypes-1.15-py2.7.egg/Products/Archetypes/BaseObject.py
0359330d276e3e34176865053bd92e22a9fc9663
[]
no_license
vedantc98/Plone-test
023246597ffe848e2a49b9f65742ff49127b190b
9fd520fc78481e2c0b9b7ec427821e7f961c777e
refs/heads/master
2021-03-30T22:14:33.368739
2018-03-11T19:22:58
2018-03-11T19:22:58
124,671,713
0
0
null
null
null
null
UTF-8
Python
false
false
43,273
py
import sys from App.class_init import InitializeClass from Products.Archetypes import PloneMessageFactory as _ from Products.Archetypes.debug import log_exc from Products.Archetypes.utils import DisplayList from Products.Archetypes.utils import mapply from Products.Archetypes.utils import fixSchema from Products.Arche...
[ "vedantc98@gmail.com" ]
vedantc98@gmail.com
bcd7cdf5f1d890ad89e2d3e52a30b2bfaf74c894
c6d4fa98b739a64bb55a8750b4aecd0fc0b105fd
/ScanPi/QRbytes2/170.py
d2146bccd06e7a996200e1bdc39ff5a14f567951
[]
no_license
NUSTEM-UK/Heart-of-Maker-Faire
de2c2f223c76f54a8b4c460530e56a5c74b65ca3
fa5a1661c63dac3ae982ed080d80d8da0480ed4e
refs/heads/master
2021-06-18T13:14:38.204811
2017-07-18T13:47:49
2017-07-18T13:47:49
73,701,984
2
0
null
null
null
null
UTF-8
Python
false
false
23,746
py
data = [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ...
[ "lists@quernstone.com" ]
lists@quernstone.com
1a0155105047bf78d9a8c8e733b0206d8aa10225
7813f41039c4fc96c56849792d4a411688696fd9
/12.py
9b2f1b5f7c2df2c6fc7d7f250b907cba32047d6a
[]
no_license
vkurup/project-euler
497e00d4b7e22cfc27feb06837f87fa7ba0d3158
fb357b9c4a8ba681fa1b638d4e82223502be5687
refs/heads/master
2021-01-02T22:58:49.737821
2012-04-29T10:31:20
2012-04-29T10:31:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
#!/usr/bin/env python2 # triangle numbers: 1, 3, 6, 10, 15, 21, 28, 36, 45 # What is the value of the first triangle number to have over 500 # divisors? import math def divisors(n): "Return all factors of n" divisors = [] for i in range(1, int(math.sqrt(n))+1): if n%i == 0: divisors.ap...
[ "vinod@kurup.com" ]
vinod@kurup.com
1be71155adf6f95d31377bd9bbad76fdcef9006f
d93159d0784fc489a5066d3ee592e6c9563b228b
/CondCore/RunInfoPlugins/test/inspect.py
7bcf713503af8db60a91ef3b1e1c9d820f80d829
[]
permissive
simonecid/cmssw
86396e31d41a003a179690f8c322e82e250e33b2
2559fdc9545b2c7e337f5113b231025106dd22ab
refs/heads/CAallInOne_81X
2021-08-15T23:25:02.901905
2016-09-13T08:10:20
2016-09-13T08:53:42
176,462,898
0
1
Apache-2.0
2019-03-19T08:30:28
2019-03-19T08:30:24
null
UTF-8
Python
false
false
752
py
import os,sys, DLFCN sys.setdlopenflags(DLFCN.RTLD_GLOBAL+DLFCN.RTLD_LAZY) from pluginCondDBPyInterface import * a = FWIncantation() os.putenv("CORAL_AUTH_PATH","/afs/cern.ch/cms/DB/conddb") rdbms = RDBMS() dbName = "oracle://cms_orcoff_prod/CMS_COND_21X_RUN_INFO" logName = "oracle://cms_orcoff_prod/CMS_COND_21X_POP...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
8000208a5a8cd01f009a2662de9c7ec575a7e34c
eb0882f59cecc12c043764f2d51ab3cad1c1b5a0
/example_designs/test/test_bist.py
ad07927f6d25640a21525b04befbff9ce7e7fb7c
[ "BSD-2-Clause" ]
permissive
mithro/litesata
10a664a6d8895f64c3847612947b77e350d6aa29
410a73e89ee27c65915f0212f676f50719f4978c
refs/heads/master
2021-09-02T03:14:41.917515
2017-12-29T22:01:58
2017-12-29T22:01:58
115,756,739
1
0
null
2017-12-29T21:58:20
2017-12-29T21:58:20
null
UTF-8
Python
false
false
8,771
py
import time import argparse import random as rand from collections import OrderedDict from litex.soc.tools.remote import RemoteClient KB = 1024 MB = 1024*KB GB = 1024*MB logical_sector_size = 512 class Timer: def __init__(self): self.value = None def start(self): self._start = time.time() ...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
fc6f84346460d776b8a6cbd2b89fb45637a259b6
321e58ab3e6b2385bb3549aaaefd56a58c2a51e7
/python/tests/tokyoperf_test.py
04b1583da6c773994ccef0548f9749143f7f2646
[]
no_license
alexmadon/atpic_photosharing
7829118d032344bd9a67818cd50e2c27a228d028
9fdddeb78548dadf946b1951aea0d0632e979156
refs/heads/master
2020-06-02T15:00:29.282979
2017-06-12T17:09:52
2017-06-12T17:09:52
94,095,494
0
0
null
null
null
null
UTF-8
Python
false
false
3,392
py
# -*- coding: utf-8 -*- """ Unit tests for Tokyo Cabinet Compare the speed of the different drivers Conclusion: google tc is 5X faster than atpic ctypes implementation """ import unittest import os import time import atpic.tokyoctypes as tc import tc as tc2 import tokyo.cabinet as tc3 from pyrant import Tyrant, Q "...
[ "alex.madon@gmail.com" ]
alex.madon@gmail.com
a4f63492557f24270930521e041d540a6598d393
0178e6a705ee8aa6bb0b0a8512bf5184a9d00ded
/Sungjin/Bruteforce/1436.py
f234d2c7ee02122bc2abe3d99724475881e3efb1
[]
no_license
comojin1994/Algorithm_Study
0379d513abf30e3f55d6a013e90329bfdfa5adcc
965c97a9b858565c68ac029f852a1c2218369e0b
refs/heads/master
2021-08-08T14:55:15.220412
2021-07-06T11:54:33
2021-07-06T11:54:33
206,978,984
0
1
null
2020-05-14T14:06:46
2019-09-07T14:23:31
Python
UTF-8
Python
false
false
205
py
import sys input = sys.stdin.readline N = int(input()) word = '666' cnt = 0 num = 666 while True: if word in str(num): cnt += 1 if cnt == N: print(num) break num += 1
[ "comojin1994@gmail.com" ]
comojin1994@gmail.com
d7cae89b1fe581e2ffda58f40388a10988806fa0
5da023dcc3ea1a4ad5d92c610de4aed981d6acf6
/day05/migrations/0002_auto_20200917_0101.py
8140298f7df4d9be525d5f37994e1ef4e7e77bae
[]
no_license
zwy-888/drf03
a2bf9deea7badc3f070bd2515b1d273b71df0909
53e512376e2a52fea6978cbe30376fddb950cfbe
refs/heads/master
2022-12-18T14:55:50.728061
2020-09-17T06:02:51
2020-09-17T06:02:51
295,579,356
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
# Generated by Django 3.0 on 2020-09-16 17:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('day05', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='employee2', options={'verbose_name': '员工', 'verb...
[ "l" ]
l
ef6a5849becb23b9f3c407f12ac2a9e8c0e7e182
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-oms/huaweicloudsdkoms/v2/model/task_group_dst_node_resp.py
e8c3ba6f581dcca705484bddfff656f83caf8ce8
[ "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
4,971
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class TaskGroupDstNodeResp: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribu...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
53156ad796a1dc172b66692e05d181102af1ebdc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02957/s228425638.py
1e2c730b208275c68561a4e2d64ea2cf336e38f8
[]
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
99
py
A, B = map(int, input().split()) K = A + B if K%2 == 0: print(K//2) else: print("IMPOSSIBLE")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6010bd42f0854269a3b919f84f88b5380165c751
485cf3c70fcaa68689a2b690b6465f1d6bcf21bd
/string_process/30_decorator_test_1.py
3722bcbbd44c4c78e85834f45eaf86b6b10019b7
[]
no_license
lxz0503/study_20190608
5ffe08c4704bb00ad8d1980baf16b8f5e7135ff4
47c37798140883b8d6dc21ec5da5bc7a20988ce9
refs/heads/master
2022-12-23T17:23:45.039015
2021-06-23T14:50:19
2021-06-23T14:50:19
190,884,812
1
3
null
2022-12-15T23:17:33
2019-06-08T12:22:56
Python
UTF-8
Python
false
false
1,748
py
# http://c.biancheng.net/view/2270.html refer to this link # 装饰器本身就是一个函数,不会修改被修饰函数里面的代码,不能修改函数的调用方式。这是原则 # 可以理解为在一个函数外面加另外一个函数,来实现某些功能 # 应用场景,例如, 不能修改函数体 # 装饰器 = 高阶函数 + 函数嵌套 + 闭包 # 带固定参数的装饰器 # import time # # def deco(f): # 以函数名作为参数,就是高阶函数 high level function # def wrapper(a,b): # 函数嵌套 ...
[ "lxz_20081025@163.com" ]
lxz_20081025@163.com
dcb848e9f8e9bdc7e8cfdd036e3b5d1bb2d2f373
077e5ab67f2936b0aa531b8ee177ecf83a0a2e18
/实例/4、sqlite3/Alchemy.py
7a31d9808ded210b4e777112dda0dde8c0ee12c4
[]
no_license
MKDevil/Python
43ef6ebcc6a800b09b4fb570ef1401add410c51a
17b8c0bdd2e5a534b89cdec0eb51bfcc17c91839
refs/heads/master
2022-02-02T08:34:06.622336
2022-01-28T08:52:25
2022-01-28T08:52:25
163,807,236
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
''' Author: MK_Devil Date: 2022-01-13 11:13:09 LastEditTime: 2022-01-14 14:13:31 LastEditors: MK_Devil ''' #!/usr/bin/env python # -*- coding:utf-8 -*- import sqlite3 # 建立数据库连接 conn = sqlite3.connect(r'.\实例\4、sqlite3\Alchemy.db') # 创建游标 cur = conn.cursor() # 查询输出所有 # cur.execute(r'select * from material') # print(cur...
[ "MK_Devil@163.com" ]
MK_Devil@163.com
e1d3a7a6134ce85427165e02d10c1fba15cdbe2b
377d86194fd6d23c8ef3df3e6f7d90092dd8f9b4
/workout_tracker/manage.py
76a004d4e4b649ce5ac4f7982c4afddcbc13aa8f
[ "MIT" ]
permissive
e-dang/Workout-Tracker
f20f44b012e895244bad413a46103415ffae5732
00a27597ea628cff62b320d616f56b2df4f344a0
refs/heads/master
2022-12-28T07:49:34.179307
2020-10-12T20:48:28
2020-10-12T20:48:28
293,937,958
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'workout_tracker.settings') try: from django.core.management import execute_from_command_line exc...
[ "edang830@gmail.com" ]
edang830@gmail.com
b34d92c61e668e83b5eee607b7d5a8f484f82506
571a89f94f3ebd9ec8e6b618cddb7d05811e0d62
/abc141/e/main.py
45d936346360e80af662a6a165b30c1659e9bbe2
[]
no_license
ryu19-1/atcoder_python
57de9e1db8ff13a107b5861f8f6a231e40366313
cc24b3c2895aad71d40cefbb8e2893dc397b8f4f
refs/heads/master
2023-05-10T05:32:16.507207
2021-05-19T17:48:10
2021-05-19T17:48:10
368,954,430
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
# Z-algorithmで解いてみる N = int(input()) S = input() ans = 0 for h in range(N): T = S[h:] M = len(T) Z = [0] * M c = 0 for i in range(1, M): l = i - c # 今見ている場所が計算済みcからどれだけ離れているか if i + Z[l] < c + Z[c]: Z[i] = Z[l] else: j = max(0, c + Z[c] - i) ...
[ "ryu1007kami@gmail.com" ]
ryu1007kami@gmail.com
e85a3f6d0b811cbb9545632cd020fd96c7bd4d2f
fff54b01b46cef0bbc70a6469c88c01c82af5a57
/programming/language/python3/python3-qt5/actions.py
a166a816f0eb75c9660606d54552c2b738686a23
[]
no_license
LimeLinux/Packages
e51deae6c0d1406e31f06caa5aaa7749466bef0b
d492e075d8b051df68b98c315ad0628e33a8fac4
refs/heads/master
2021-01-11T12:37:22.150638
2018-08-30T18:24:32
2018-08-30T18:24:32
77,054,292
5
19
null
2018-02-02T17:24:06
2016-12-21T13:33:45
Python
UTF-8
Python
false
false
1,558
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import pythonmodules from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from p...
[ "ergunsalman@hotmail.com" ]
ergunsalman@hotmail.com
d86de11a83b6047dbc1dfc7aaddb0246e1930762
430791dcde1596a554984e38c554a367b85c9951
/classes_and_instances/exercises/account.py
66b666b637c2f594a8d2e92bc5a0a9e2e627fe1c
[]
no_license
mialskywalker/PythonOOP
5fa8606cfe7c9ceb72ada8e62ff89513bac10d32
e7f2d5f46983e9c8c50d9356497fcc9ed9f6d4dc
refs/heads/master
2023-04-06T05:43:13.408741
2021-04-03T13:22:13
2021-04-03T13:22:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
class Account: def __init__(self, id, name, balance=0): self.id = id self.name = name self.balance = balance def credit(self, amount): self.balance += amount return self.balance def debit(self, amount): if amount > self.balance: return "Amount e...
[ "kalqga123@gmail.com" ]
kalqga123@gmail.com
2e4b626d7a5009c01affd1651a2db5942cd936bd
d1ef84d05beedc811161314800193ded398bff07
/tests/views/test_user_login.py
b65e0155aebd90b9a9ed87c86cd81702f49cffb2
[ "MIT" ]
permissive
spookey/observatory
8f4a98aeb214182124bc6a4ab6d1ddac697cd0bc
be5cc92f53f12e6341e7e3040f26360e54cfdf7d
refs/heads/master
2023-04-22T03:31:34.879735
2021-01-16T17:50:07
2021-01-16T17:50:07
224,500,136
0
0
MIT
2021-05-12T03:53:02
2019-11-27T19:11:24
Python
UTF-8
Python
false
false
3,122
py
from flask import url_for from flask_login import current_user from pytest import mark from tests.conftest import USER_PASS ENDPOINT = 'user.login' @mark.usefixtures('session') class TestUserLogin: @staticmethod @mark.usefixtures('ctx_app') def test_url(): assert url_for(ENDPOINT) == '/user/logi...
[ "frieder.griesshammer@der-beweis.de" ]
frieder.griesshammer@der-beweis.de
cc39d1f7c55512474c929007c0a06a66c8e2a5d6
378eea7cbb49d52c13c3bd0bb86bc93fc93d3d56
/100Days/Day13/process_ex3.py
26f733e1574e399722e49c9603b1001315678062
[]
no_license
Zpadger/Python
b9e54524841e14d05e8f52b829c8c99c91e308b8
f13da6d074afac50396621c9df780bf5ca30ce6b
refs/heads/master
2020-08-16T01:10:00.534615
2020-04-12T15:15:53
2020-04-12T15:15:53
172,426,365
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# 进程间通信 from multiprocessing import Process from time import sleep counter = 0 def sub_task(string): global counter while counter<10: print(string,end='',flush=True) counter += 1 sleep(0.01) def main(): Process(target=sub_task,args=('Ping',)).start() Process(target=sub_task,a...
[ "noreply@github.com" ]
Zpadger.noreply@github.com
077aef3b071444c6c746bae01a97d8a8d91de4e3
be5ea20226c37d81f1ccb2f704d8825d36e88765
/05. Inheritance/LAB/03_hierarchical_inheritance/cat.py
d8e9e9ab312bd902582d72bbd922c2385e74aa58
[]
no_license
dimDamyanov/PythonOOP
3845e450e5a48fef4f70a186664e07c0cd60e09b
723204f5b7e953874fac9314e48eb1d1628d6ff5
refs/heads/main
2023-04-07T18:00:36.735248
2021-04-19T20:57:14
2021-04-19T20:57:14
341,329,346
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
from .animal import Animal class Cat(Animal): @staticmethod def meow(): return 'meowing...'
[ "dim.damianov@gmail.com" ]
dim.damianov@gmail.com
b5e17615285ca3c14fc8f5b3719570fdd384c7b7
795c2d7e2188f2ecb3e72bbb4053726856009c0d
/ctrl/cmorph/old/cmorph_extract_asia_ctrl.py
2963d584be19522945de2a631d07ec2836a70891
[ "Apache-2.0" ]
permissive
markmuetz/cosmic
3a4ef310cb9cb92b81ff57b74bb1511841f790a5
f215c499bfc8f1d717dea6aa78a58632a4e89113
refs/heads/master
2023-08-01T10:55:52.596575
2021-09-20T19:26:33
2021-09-20T19:26:33
217,045,140
0
1
null
null
null
null
UTF-8
Python
false
false
356
py
from pathlib import Path SCRIPT_PATH = 'cmorph_extract_asia.py' BASEDIR = Path('/gws/nopw/j04/cosmic/mmuetz/data/cmorph_data') years = range(1998, 2020) CONFIG_KEYS = years BSUB_KWARGS = { 'job_name': 'cmorph_cv', 'queue': 'new_users', 'max_runtime': '00:30', } SCRIPT_ARGS = {} for year in CONFIG_KEYS...
[ "markmuetz@gmail.com" ]
markmuetz@gmail.com
5b6406cdc05d879e8f344ee3f33b1933286a85aa
d3e51b088f77ccd7ad21393136731667c4c91282
/doc/source/usage_np.py
5271c67d9107890a5a8b6d2ee4b918af7cc62567
[ "MIT" ]
permissive
ForeverWintr/function-pipe
2283e99902cdfd30b5ebdb26c928a545cdc36968
36f8653dbc6916c6e60d4a405a547a5a3ddf395f
refs/heads/master
2021-07-04T03:32:27.723479
2017-01-24T17:13:50
2017-01-24T17:13:50
80,170,802
0
0
null
2017-01-27T00:56:12
2017-01-27T00:56:12
null
UTF-8
Python
false
false
5,604
py
import sys import argparse from functools import reduce import numpy as np import function_pipe as fpn class PixelFontInput(fpn.PipeNodeInput): SHAPE = (5,5) def __init__(self, pixel='*', scale=1): super().__init__() self.scale = scale self.pixel = pixel @fpn.pipe_node def frame...
[ "ariza@flexatone.com" ]
ariza@flexatone.com
239da3b98f1e473cb137fac0bdb1d421e1cd0590
b394bb6bd3e8848688b525f55e82962f152c1bb3
/demos/upload/linear_systems/Elimination Matrices II.py
c988e68a06b987615742f555122112da1b5d72cc
[]
no_license
lukeolson/cs450-f20-demos
02c2431d7696348cf9ca1ab67bdd5c44a97ac38b
040e7dfa15c68f7f426cf69655cb600926f9f626
refs/heads/master
2023-01-22T19:12:33.394521
2020-12-03T19:48:18
2020-12-03T19:48:18
288,542,898
5
10
null
2020-10-05T19:39:07
2020-08-18T19:13:52
null
UTF-8
Python
false
false
502
py
#!/usr/bin/env python # coding: utf-8 # # Behavior of Elimination Matrices # In[3]: import numpy as np # In[30]: n = 4 # ---------------- # Let's create some elimination matrices: # In[40]: M1 = np.eye(n) M1[1,0] = 0.5 M1 # In[41]: M2 = np.eye(n) M2[3,0] = 4 M2 # In[42]: M3 = np.eye(n) M3[2,1] = 1....
[ "luke.olson@gmail.com" ]
luke.olson@gmail.com
1ab2b623e06bba1dcbe4c824cacaa054bbb4d5a7
288952acfb81b217ac9cdc920c65d00aad1146c4
/vendor/views.py
6af0d4958fc56c1d2f724cd0268e0317aebb1e4c
[]
no_license
turamant/CompShop
054e16cf929976b7246897cdfdcd6bc5dc984bbe
b30e17e6eabfa1f4b4a5ccbb74da81b53a926f82
refs/heads/main
2023-09-03T12:03:02.833691
2021-10-28T15:49:22
2021-10-28T15:49:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
from django.contrib.auth import login from django.contrib.auth.forms import UserCreationForm from django.shortcuts import redirect, render from vendor.models import Vendor def become_vendor(request): if request.method == 'POST': form = UserCreationForm(request.POST) if form.is_valid(): ...
[ "tur1amant@gmail.com" ]
tur1amant@gmail.com
01e9ab4a6e000a580c29b7ed2c47633aa2770d19
5d34003423b4bcf641cb31b3d58c062d2011c7b7
/venv/lib/python3.6/site-packages/panflute/utils.py
73d5795605bcf6ed4e139db515ca7db7d58a0bc2
[]
no_license
feiwl/Coding
a9f84cb867f7a84f0924b848a412dc1bedbb7d84
85973fe3d839b65f4f0b73c35ca0d0134588a76d
refs/heads/main
2023-02-17T21:54:04.441162
2021-01-07T04:25:19
2021-01-07T04:25:19
327,518,641
1
0
null
null
null
null
UTF-8
Python
false
false
3,463
py
""" Auxiliary functions that have no dependencies """ # --------------------------- # Imports # --------------------------- from collections import OrderedDict import sys import os.path as p from importlib import import_module # --------------------------- # Functions # --------------------------- def get_caller_...
[ "feiwl8378@163.com" ]
feiwl8378@163.com
65b3d0fc12f1eea856eb29b11f3d9dbbd33601c2
65ffed7634bb8f4fdb063d7c1baf2f0028c3bea4
/NLI-VC-Thesaurus/lib/python3.6/site-packages/numpy/lib/nanfunctions.py
cfbdba7bbb1af92b23a8fee55997d795b290aae1
[]
no_license
ygherman/NLI-VC-Thesaurus
b94325dcbdf25d9756ed54e8b1414568e8dc4250
9c1355447b7a885cff7b1a76a0124ddf9bc4cca6
refs/heads/master
2021-08-16T22:52:15.818540
2017-11-20T13:07:50
2017-11-20T13:08:24
108,041,265
0
0
null
null
null
null
UTF-8
Python
false
false
50,823
py
""" Functions that ignore NaN. Functions --------- - `nanmin` -- minimum non-NaN value - `nanmax` -- maximum non-NaN value - `nanargmin` -- index of minimum non-NaN value - `nanargmax` -- index of maximum non-NaN value - `nansum` -- sum of non-NaN values - `nanprod` -- product of non-NaN values - `nancumsum` -- cumul...
[ "gh.gherman@gmail.com" ]
gh.gherman@gmail.com
257e1b6036b865b0f7704c9e85a02415ed2160b6
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/predaci.py
ff955d595760aa90d5826445d9f40489e524f567
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
44
py
ii = [('RogePAV2.py', 2), ('WestJIT.py', 5)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
3858c9e67177860c510d2efa26a438da7c05c325
1986f044d6476fab476a9b5eb9a95cc30d6a8eac
/Chapter07/pygal_2.py
276356af1474708c96e1e1f0a2509f75e8be4717
[ "MIT" ]
permissive
PacktPublishing/Mastering-Python-Networking
711f47ecff9ca2fec51f948badff22cd8c73ada4
52a2827919db1773f66700f3946390f200bd6dab
refs/heads/master
2023-02-08T01:39:44.670413
2023-01-30T09:03:30
2023-01-30T09:03:30
82,666,812
138
127
MIT
2020-11-05T11:34:15
2017-02-21T10:25:34
Python
UTF-8
Python
false
false
263
py
#!/usr/bin/env python3 import pygal line_chart = pygal.Pie() line_chart.title = "Protocol Breakdown" line_chart.add('TCP', 15) line_chart.add('UDP', 30) line_chart.add('ICMP', 45) line_chart.add('Others', 10) line_chart.render_to_file('pygal_example_3.svg')
[ "echou@yahoo.com" ]
echou@yahoo.com
40842236d29a3fe65789a8875561df71b77fc1bd
113d0858a2476e5bd1b39ff25e41da33970b5dda
/blendernc/nodes/outputs/BlenderNC_NT_preloader.py
9dddc69f3a5ec5b4c18f41c9326904028d0d8055
[ "MIT" ]
permissive
peterhob/blendernc
aa52d387b74720f90950b8fb2df23f041ce25588
61eef2670fd299637633060ad5597bc3c6b53a02
refs/heads/master
2023-06-13T08:33:59.694357
2021-07-05T10:57:51
2021-07-05T10:57:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,476
py
#!/usr/bin/env python3 # Imports import bpy class BlenderNC_NT_preloader(bpy.types.Node): # === Basics === # Description string """A netcdf node""" # Optional identifier string. If not explicitly defined, # the python class name is used. bl_idname = "netCDFPreloadNode" # Label for nice nam...
[ "josue.martinezmoreno@anu.edu.au" ]
josue.martinezmoreno@anu.edu.au
5aadf807bfd7c7562417684c05b510a369cbab93
8d47af9482444b07b52cf44cebcaf4b992df4d09
/agents/31_StochasticMaxStochasticDeletionPRB/StochasticMaxStochasticDeletionPRB.py
2e72a6673349262ca21c05cd26f5be8d587ef0ce
[]
no_license
w0lv3r1nix/retro-agents
f4dbce2db558c880b161062796e5397be65bdd10
c7f93a737dc6c6fc5d8343c099e14bd2bc97aaf1
refs/heads/master
2020-08-01T01:19:41.660018
2018-06-13T04:28:09
2018-06-13T04:28:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,087
py
import numpy as np import random from math import sqrt from anyrl.rollouts import PrioritizedReplayBuffer class StochasticMaxStochasticDeletionPRB(PrioritizedReplayBuffer): """ A prioritized replay buffer with stochastic maximum collection, stochastic deletion and loss-proportional sampling. """ ...
[ "seungjaeryanlee@gmail.com" ]
seungjaeryanlee@gmail.com
a76830600e020b9c16b8bc42c056f49e358bb5a0
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/plugin/core/functiongraph/mvc/LazySaveableXML.pyi
0ac3ad1a85c90eb8dc01e18e730a2294cdc70003
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,245
pyi
from typing import List import ghidra.app.plugin.core.functiongraph.mvc import ghidra.util import java.lang import org.jdom class LazySaveableXML(ghidra.app.plugin.core.functiongraph.mvc.SaveableXML): def __init__(self): ... def equals(self, __a0: object) -> bool: ... def getClass(self) -> java.la...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
de252d7d6be728353eb46d94dd4648cc6fa950b6
046c1141399890afa13fd243e55da3dbf31085c5
/corl/wc_test/test1.py
dcc721a40aa8d1c33ced4c39281c74deb2bacee8
[]
no_license
carusyte/tflab
1d0edf87282352aeb5a38b83c58ab9c0189bbb1a
2324c3b0ad22d28c50a4fd8db56e36a2836735c3
refs/heads/master
2021-05-12T06:58:26.270868
2019-03-24T14:57:44
2019-03-24T14:57:44
117,232,451
0
0
null
null
null
null
UTF-8
Python
false
false
5,248
py
from __future__ import print_function # Path hack. import sys import os sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/..") import tensorflow as tf # pylint: disable-msg=E0401 from model import base as model0 from wc_data import base as data0 from time import strftime import os import numpy as np impor...
[ "carusyte@163.com" ]
carusyte@163.com
d547ea2ba4d64c65dab0c2bb26a6c4c03f3992af
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/storage/v20190601/list_storage_account_sas.py
d80c546cf9140068777a371bf7a7064bb5ddf67a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,714
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
6021843176ab0f3c5177da202fa8526cd66f5582
633ab8880dc367feefdb6ef565ed0e70a4094bc1
/10001-11000/10953.py
9c3a615dcf5c0ebcae823dc2f97ebf611b933531
[]
no_license
winston1214/baekjoon
2e9740ee2824d7777f6e64d50087b5c040baf2c6
20125255cd5b359023a6297f3761b2db1057d67d
refs/heads/master
2023-03-04T09:07:27.688072
2021-02-16T13:51:49
2021-02-16T13:51:49
284,832,623
3
1
null
null
null
null
UTF-8
Python
false
false
119
py
# @Author YoungMinKim # baekjoon N=int(input()) for i in range(N): a,b = map(int,input().split(',')) print(a+b)
[ "winston1214@naver.com" ]
winston1214@naver.com
1e1a343dc5ae02796835273443f4f1bc06e98ac6
04f4f051ebbbcf5fdd4ffe4a8d24697c2dc55735
/virtual/bin/alembic
3694c1a6b7c9f67c9c6ab9abf81897de9d5ed23d
[ "MIT" ]
permissive
Pnshimiye/blog-app
854a9ddea8387989ca487d308badc000d261fbd4
ae6d7e7118d798c3f90cea660e13ba58ae649b63
refs/heads/master
2020-04-26T09:03:21.936209
2019-03-06T07:22:24
2019-03-06T07:22:24
173,442,705
0
0
null
null
null
null
UTF-8
Python
false
false
267
#!/home/pauline/Documents/core-projects/Self_Pitch/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from alembic.config import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "pnshimiye@gmail.com" ]
pnshimiye@gmail.com
c2ad586c7ddc7ca370f5fc12f0ae2ffcbbefdb8b
cf1d45f536a5922f1a15e0340b6ccb6f2124b7f8
/main.py
8f91e2f4ea22e418d3c5123d8ad21225c1f6ab77
[]
no_license
purpleyoung/A-star-maze
4a658c633dcf5cab0cd28cf9f16647c16e35d78c
60a1250da044366e332e19abf2bc80490d71fbe1
refs/heads/main
2023-02-01T00:09:19.225081
2020-12-08T09:02:43
2020-12-08T09:02:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
import time from opt import Node, FQueue, h, g, valid_neighbors, add_close from maze import maze import argparse parser = argparse.ArgumentParser() parser.add_argument("-w", "--width", help="window width", default=7, type=int) parser.add_argument("-he", "--height", help="window height", default=5, type=int) parser.add...
[ "morvanzhou@hotmail.com" ]
morvanzhou@hotmail.com
aed31ff15357a0315ac03bf1a02ac63151ca3b76
ebb0bd236009cb203035ab31ce136df45584ad35
/resources/admin.py
8283c744d589b640f060e0139d45490978ec158b
[]
no_license
the-akira/Django-GraphQL-Tutorial
7a798b0fdfc4c1d8c7cb47ac31a71ec1ccae29b6
74c543467fd0e93b75411f34215513fa3d498dfd
refs/heads/master
2023-04-28T22:28:11.051719
2021-09-25T03:16:14
2021-09-25T03:16:14
248,372,724
2
0
null
2023-04-21T20:53:09
2020-03-19T00:21:32
Python
UTF-8
Python
false
false
150
py
from django.contrib import admin from resources.models import Artista, Disco classes = [Artista, Disco] for c in classes: admin.site.register(c)
[ "gabrielfelippe90@gmail.com" ]
gabrielfelippe90@gmail.com
ced4d8baa28a26a118b0acb4155d12e6cdef3d5f
8c39ba92cc71ff78242477d3256f6ee3daa872c7
/conans/test/unittests/util/test_encrypt.py
749a81bd3de44ecdc928a477a0923d413788d743
[ "MIT" ]
permissive
conan-io/conan
eb4427e534a0edbb1fb06c753d5d9587faaef93c
bac455d1329b6744cdc41747354a727c9233179f
refs/heads/release/2.0
2023-09-03T18:51:54.345761
2023-09-03T17:30:43
2023-09-03T17:30:43
47,190,624
7,754
1,182
MIT
2023-09-14T15:16:09
2015-12-01T13:17:02
Python
UTF-8
Python
false
false
1,463
py
import uuid import pytest from conans.util import encrypt def test_encryp_basic(): key = str(uuid.uuid4()) message = 'simple data ascii string' data = encrypt.encode(message, key) assert type(message) == type(data) assert message != data assert message != data decoded = encrypt.decode(...
[ "noreply@github.com" ]
conan-io.noreply@github.com
049931e552b123be245a259edb76d7fa1ba55f9b
6733716dcdcacfcc739ae5c4af976db81ead852b
/ROOT/Project/functions/rootHist_TXT/func/D1H_rootHist_TXT_conversion_largeBin.py
846d3c15ee2fe360a962709ea5b6f410983abfb4
[]
no_license
StudyGroupPKU/fruit_team
45202a058d59057081670db97b9229ee720fa77e
9f9f673f5ce22ce6d25736871f3d7a5bd232c29d
refs/heads/master
2021-01-24T08:15:37.909327
2018-05-11T08:53:06
2018-05-11T08:53:06
122,975,404
0
5
null
2018-04-05T02:37:14
2018-02-26T13:41:24
Python
UTF-8
Python
false
false
5,645
py
#Author : Junho LEE #input/output txt format :: Nth_bin Start_of_bin End_of_bin Entry #filename :: D1H_rootHist_TXT_conversion.py def D1H_roothist_to_txt_largeBin(filename, outputpath = ''): from ROOT import TFile, TCanvas, TPad import os if(filename[0]=="/"): filename = filename elif(filena...
[ "skyblue1293@naver.com" ]
skyblue1293@naver.com
4270325a4df263a86fc3fec300870a7c3a26fb92
81cf04ed71fb1e141d7531e9cc9a82138adf1903
/tensorflow_federated/python/research/gans/experiments/emnist/emnist_data_utils_test.py
6ef867732cc5aefe49d2935761b1b59c50b2ba85
[ "Apache-2.0" ]
permissive
tf-encrypted/federated
1671fcae7c939dbe142f78c97ac43c1329db870c
7797df103bf965a9d0cd70e20ae61066650382d9
refs/heads/master
2021-03-09T17:08:47.491876
2020-05-06T18:06:59
2020-05-27T20:37:50
246,360,226
1
2
Apache-2.0
2020-05-08T02:43:41
2020-03-10T17:06:06
Python
UTF-8
Python
false
false
3,770
py
# Copyright 2018, The TensorFlow Federated 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 applicable law o...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
aa32e29c4b9131c0574be5bfb4f0959e114502b6
2d21730e5625cde259703bf6df8f74aef5cc6a58
/tests/test_augments.py
8f5896508facc2bdacf51cab344e9aadfc96375e
[ "MIT" ]
permissive
pattonw/augment
b0ea35bd774c760320a74e35d59c5ba54ccf3266
3643873d7b818da417c3d4fbf662bc36164ca10c
refs/heads/master
2023-04-07T14:19:32.229258
2023-03-22T16:07:10
2023-03-22T16:07:10
202,191,635
0
0
MIT
2019-08-13T17:20:10
2019-08-13T17:20:09
null
UTF-8
Python
false
false
856
py
from augment import ( create_elastic_transformation, create_identity_transformation, create_rotation_transformation, ) import numpy as np def test_basics(): rot_transform = create_rotation_transformation((2, 2), 90) id_transform = create_identity_transformation((2, 2)) el_transform = create_e...
[ "pattonw@hhmi.org" ]
pattonw@hhmi.org
e5914b3dbc97d8b3fbbab18f94c22d54dbd77dd8
03bbb27095d2afc03d0bd1a62caa91356292e5d5
/MapMyPlaylist/MapMyPlaylist/urls.py
a86722dce18423a3169e51caedf2e8e7a5614f81
[]
no_license
LindaAlblas/MapMyPlaylist
d624728daa6be2bed04018cdf1ab4dea609e9605
2e5b7a9c10231369d2c7722a4d8ae35dc8ac2f8f
refs/heads/master
2020-12-24T22:39:34.805944
2013-02-20T15:21:27
2013-02-20T15:21:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'MapMyPlaylist.views.home', name='home'), # url(r'^MapMyPlaylist/', include('MapMyPlaylist.foo.u...
[ "finlaymccourt@gmail.com" ]
finlaymccourt@gmail.com