blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
3c67ba89cafbbb153d4b3b5ee164d65a99332ec0
82f1b4c0bccd66933f93d02703a3948f08ebc1a9
/tests/pytests/unit/states/test_bower.py
ed8cb9cfa178fe7804e3a3179833d7640555b57a
[ "Apache-2.0", "MIT", "BSD-2-Clause" ]
permissive
waynew/salt
ddb71301944b64f5429e0dbfeccb0ea873cdb62d
ac9f139f795295de11be3fb1490ab8cec29611e5
refs/heads/master
2023-01-24T10:43:53.104284
2022-03-29T04:27:22
2022-03-29T13:45:09
163,890,509
1
0
Apache-2.0
2019-01-02T21:17:12
2019-01-02T21:17:11
null
UTF-8
Python
false
false
7,232
py
""" :codeauthor: Alexander Pyatkin <asp@thexyz.net> """ import pytest import salt.states.bower as bower from salt.exceptions import CommandExecutionError from tests.support.mock import MagicMock, patch @pytest.fixture def configure_loader_modules(): return {bower: {"__opts__": {"test": False}}} def test_rem...
[ "megan.wilhite@gmail.com" ]
megan.wilhite@gmail.com
31b9b6a3e0c762b25c62148a0f116ae13ab70605
e7164d44058a06331c034cc17eefe1521d6c95a2
/tools/tieba/full-posts/auto-train/gen-title-content.old.py
193e2a457612b3d90743df8ac1988f0cb02b821d
[]
no_license
chenghuige/gezi
fbc1e655396fbc365fffacc10409d35d20e3952c
4fc8f9a3c5837e8add720bf6954a4f52abfff8b5
refs/heads/master
2021-01-20T01:57:18.362413
2016-11-08T15:34:07
2016-11-08T15:34:07
101,304,774
0
3
null
null
null
null
UTF-8
Python
false
false
1,440
py
#!/usr/bin/env python #coding=gbk # ============================================================================== # \file gen-title-content.py # \author chenghuige # \date 2014-05-21 17:31:30.584101 # \Description # ==================================================================...
[ "chenghuige@fa64baa9-71d1-4fed-97ae-c15534abce97" ]
chenghuige@fa64baa9-71d1-4fed-97ae-c15534abce97
b0c5d00acebe8abe21fa37f6cac605126880291f
3da991a057cd81de802c40da2edd640878685258
/caffe2/contrib/fakelowp/test/test_batchnorm_nnpi_fp16.py
bf4c83960ff3eb5a474c942dbdc2df0f0f429444
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
sjx0451/pytorch
9f5b1c0c7c874f9da72c0190dc131944ba828ab7
3544f60f7602081398ee62bc5d652a87f4743dab
refs/heads/master
2022-12-01T22:30:29.888370
2020-08-13T23:45:58
2020-08-13T23:48:31
287,421,291
2
0
NOASSERTION
2020-08-14T02:06:11
2020-08-14T02:06:11
null
UTF-8
Python
false
false
5,108
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import numpy as np import unittest import caffe2.python.fakelowp.init_shared_libs # noqa from hypothesis import given, settings from hypothesis import strategies as st ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
db391bcdfb9e854d008093d70ead2c93ce64fcb7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2374/60670/275031.py
203cead93aeb306fc075e927ff4736ec0456a0ed
[]
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
229
py
t=int(input()) for k in range(0,t): n=int(input()) a=list(map(int,input().split())) dic={} for i in a: if i in dic: dic[i]+=1 else: dic[i]=1 ss=dic.items() print(ss)
[ "1069583789@qq.com" ]
1069583789@qq.com
e8715164e3ce1aec3c5360de9ccb127390c598ab
5ba3115523fb052d32db827e09443248ec5f6629
/algorithm/시험대비문제풀이/0306/반나누기.py
79a87a236295dcaff684f3b0ea5b681bc05b80f7
[]
no_license
oliviaspark0825/TIL
841095003ae794e14bd8c7e8c883826667c25f37
8bc66836f9a1eea5f42e9e1172f81f005abc042d
refs/heads/master
2023-01-10T22:14:15.341489
2019-08-22T09:09:52
2019-08-22T09:09:52
162,099,057
0
0
null
2023-01-04T07:52:28
2018-12-17T08:32:43
Jupyter Notebook
UTF-8
Python
false
false
1,562
py
import sys sys.stdin = open('반나누기.txt') T = int(input()) for i in range(1): N, k_min, k_max = [int(i) for i in input().split()] test_score = list(map(int,input().split())) test_score.sort() print(test_score) max = 0 min = 101 scorelist = [0]*(N+1) # 점수 갯수 분포테이블 score = sorted(list(set(te...
[ "suhyunpark0825@gmail.com" ]
suhyunpark0825@gmail.com
379f0d8f15a6af51620f3bf5bbfaf8f9c66c05bd
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/hyperbolic_discount/run_experiment_local.py
6c1a91c1e8e3ae0b5a9c0ef818e5863247a6c99f
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
2,970
py
# coding=utf-8 # Copyright 2023 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
ec576283d8bf50229e5af272fd8e0dd5488c18bb
51da71a26628a3c6d1814e6da38f5c48f3101d9b
/uri/1189.py
e0cff1e77c7a09e65f260f08c26d28319a3cc77f
[]
no_license
da-ferreira/uri-online-judge
279156249a1b0be49a7b29e6dbce85a293a47df1
6ec97122df3cb453ea26e0c9f9206a2e470ba37d
refs/heads/main
2023-03-30T11:47:05.120388
2021-04-02T19:45:25
2021-04-02T19:45:25
309,744,456
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
matriz = [] for i in range(12): linha = [0] * 12 matriz.append(linha) operacao = input() for i in range(12): for j in range(12): matriz[i][j] = float(input()) soma = 0 comeco = 1 fim = 11 for i in range(0, 5): for j in range(comeco, fim): soma += matriz[j][i] ...
[ "noreply@github.com" ]
da-ferreira.noreply@github.com
0233325600dfb9a088aa16e8e37c0238ae901baa
8f5f0c3ef83fdd482387973149738f6178477a42
/medium/intervals/interval_list_intersections.py
b15b462795b0e1d71b17696e3e612ddd56c31022
[]
no_license
nicokuzak/leetcode
79a5771ad83786cc7dbfd790f8fffcf1ce58794e
39b0235dc429a97a7cba0689d44641a6af6d7a32
refs/heads/main
2023-04-06T21:02:09.553185
2021-04-14T22:21:20
2021-04-14T22:21:20
336,847,511
0
0
null
null
null
null
UTF-8
Python
false
false
1,763
py
"""You are given two lists of closed intervals, firstList and secondList, where firstList[i] = [starti, endi] and secondList[j] = [startj, endj]. Each list of intervals is pairwise disjoint and in sorted order. Return the intersection of these two interval lists. A closed interval [a, b] (with a < b) denotes the set ...
[ "nicokuzak95@gmail.com" ]
nicokuzak95@gmail.com
55d659d2380723315476b965fc470c2a4405d138
8af47d2e88cabda034c662cc4ead32f0def6432a
/setup.py
c07280af686cf2e3ddba19ff2d2751c064775757
[]
no_license
akashp1997/asv_mq
fd8d8f840280ccf967f1e97b5976106d641821e7
c9835cee664db5eab35c64d836ea3e6406b72189
refs/heads/master
2022-01-07T04:45:12.780140
2019-05-21T07:53:42
2019-05-21T07:53:42
146,132,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,001
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) if (sys.version_info.major!=3): raise SystemError("Python version 2 is installed. Please use Python 3.") try: from setuptools import setup except ImportError: from distutils.core impo...
[ "akash.p1997@gmail.com" ]
akash.p1997@gmail.com
39095e1cece00399cfad8be38450b5aab546fe7c
9ecd7568b6e4f0f55af7fc865451ac40038be3c4
/tianlikai/SX/hanzhong_zhongbiao.py
19c8cfb174fede2f6399d8672131e6c7f3dcea80
[]
no_license
jasonTLK/scrapy
f5ac6e575e902c077a07dc0eb9d228506f1a173f
2de8245fbc8731cfd868bbd91168e26271045300
refs/heads/master
2021-01-20T04:22:23.080864
2017-04-28T07:46:29
2017-04-28T07:46:29
89,681,374
1
0
null
null
null
null
UTF-8
Python
false
false
2,751
py
# -*- coding: utf-8 -*- import scrapy from scrapy import Request from scrapy.selector import Selector try: from scrapy.spiders import Spider except: from scrapy.spiders import BaseSpider as Spider import datetime from items.biding import biding_gov from utils.toDB import * # 陕西汉中招投标网站 # 中标信息 class hz_gov_Spide...
[ "18723163167@163.com" ]
18723163167@163.com
b40a8d788ac3f01474354bd0045bc9d7531c86b0
34a70bf642b6f678dce2b22efc598656a1a7d90a
/Divide&ConQuer/power_function.py
2357352c48b27f5f36964bbbef76c4e5dda0473e
[]
no_license
CodeForContribute/Algos-DataStructures
ce89a313b3e32de57f23b263966a84bb020e6a18
d0ddc7c8f94270f9269a9a5233b3a07fe59c9a1f
refs/heads/master
2022-03-28T03:08:17.934077
2019-11-23T21:58:03
2019-11-23T21:58:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
# Method1 : Time Complexity : O(n) def power(x, y): if y == 0: return 1 elif int(y % 2) == 0: return power(x, int(y / 2)) * power(x, int(y / 2)) else: return x * power(x, int(y / 2)) * power(x, int(y / 2)) # Method2: Time Complexity : O(log(n)) def power_function(x, y): if y =...
[ "RAUSHAN.KUMAR2@otis.COM" ]
RAUSHAN.KUMAR2@otis.COM
28161b65df0415fb7d18df691fd621ba62f44931
b8a3e758eff2922ff6abc77947d879e3f6d1afa3
/ws_moveit/build/moveit_msgs/catkin_generated/pkg.installspace.context.pc.py
c5447721e45ed6e844d1ce5e5589e2682fa2417b
[]
no_license
rrowlands/ros-baxter-coffee
ab7a496186591e709f88ccfd3b9944428e652f3e
32473c3012b7ec4f91194069303c85844cf1aae7
refs/heads/master
2016-09-05T20:58:20.428241
2013-12-02T23:10:44
2013-12-02T23:10:44
14,313,406
0
1
null
null
null
null
UTF-8
Python
false
false
603
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/p/peth8881/robotics/ws_moveit/install/include".split(';') if "/home/p/peth8881/robotics/ws_moveit/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "std_msgs;actionlib_msgs;sensor_msgs;geom...
[ "peth8881@csel-112-02.csel.loc" ]
peth8881@csel-112-02.csel.loc
9edbd1f48165c22827863683209e238077040bcf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02714/s605942361.py
f4180629c2b27da485494f42a20a4afeac754abc
[]
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
649
py
N = int(input()) S = input() Rr = 0 Gr = 0 Br = 0 Rl = 0 Gl = 0 Bl = 0 for i in range(1,N): if S[i] == "R": Rr += 1 elif S[i] == "G": Gr += 1 else: Br += 1 ans = 0 for i in range(N-1): if S[i] == "R": ans += Gl*Br ans += Bl*Gr Rl += 1 elif S[i] == "G": ans += Rl*Br ans += Bl...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a0c37510531af69b6631e296f87085445fa7a23e
bc441bb06b8948288f110af63feda4e798f30225
/alert_service_sdk/model/metadata_center/stream_aggregate_states_pb2.pyi
546f81ca45a8d88483572852856bec57a264fe15
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
2,420
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from alert_service_sdk.model.metadata_center.stream_aggregate_rule_pb2 import ( StreamAggregateRule as alert_service_sdk___model___metadata_center___stream_aggregate_rule_pb2___StreamAggregateRule, ) from google.protobuf.descriptor import ( ...
[ "service@easyops.cn" ]
service@easyops.cn
6debcfb4dd4e6eabe94ddd35f9f2a9eb878f9569
056adbbdfb968486ecc330f913f0de6f51deee33
/223-rectangle-area/rectangle-area.py
51a8aac8e9b5ef9b29a6e1361d9e359a96848a5e
[]
no_license
privateHmmmm/leetcode
b84453a1a951cdece2dd629c127da59a4715e078
cb303e610949e953b689fbed499f5bb0b79c4aea
refs/heads/master
2021-05-12T06:21:07.727332
2018-01-12T08:54:52
2018-01-12T08:54:52
117,215,642
0
1
null
null
null
null
UTF-8
Python
false
false
981
py
# -*- coding:utf-8 -*- # Find the total area covered by two rectilinear rectangles in a 2D plane. # Each rectangle is defined by its bottom left corner and top right corner as shown in the figure. # # # # # Assume that the total area is never beyond the maximum possible value of int. # # # Credits:Special thanks t...
[ "hyan90@ucsc.edu" ]
hyan90@ucsc.edu
9519f539345630a854d6e0c72ce0572206e9fc1c
61df7d015ebdee4d0b16338e040aa08d3c9b9c5f
/main/schema/components/leaf_type.py
51c661aa5471229c1e498246a3389220ae6b04a6
[ "MIT" ]
permissive
namphongpt/tator
95524823a1e92feefcf7f44b65d5ca88029620e5
0ca5ca588b86303ba8c23ba0717bc23bb0e9f097
refs/heads/master
2023-03-21T22:00:02.915690
2021-03-08T22:44:21
2021-03-08T22:44:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
leaf_type_properties = { 'name': { 'description': 'Name of the leaf type.', 'type': 'string', }, 'description': { 'description': 'Description of the leaf type.', 'type': 'string', 'default': '', }, 'attribute_types': { 'description': 'Attribute type de...
[ "jonathan.takahashi@cvisionai.com" ]
jonathan.takahashi@cvisionai.com
c6223dc4f09480b95a64ae989caea9ab4d424757
cd4b7913aa2941b82796cea4df9474b7ae5af93f
/filterpy/common/__init__.py
fbcf9fd5bd60d946c117c30f80eef1da78bc8978
[ "MIT" ]
permissive
bakfoo/filterpy
12023bdc1e2d7b006f991172d2d0f9ef414d9ffc
780881756d449591f60927529ef5322b49243081
refs/heads/master
2020-12-03T08:14:05.603670
2015-07-05T04:06:20
2015-07-05T04:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
"""Copyright 2015 Roger R Labbe Jr. FilterPy library. http://github.com/rlabbe/filterpy Documentation at: https://filterpy.readthedocs.org Supporting book at: https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python This is licensed under an MIT license. See the readme.MD file for more information. """ from ...
[ "rlabbejr@gmail.com" ]
rlabbejr@gmail.com
85b4db89872aad8239bc1826bb6c901f96f8da14
58d0cb1ee51bc33d6cc793e89af251f8e4ce0e2e
/src/leetcode/medium/remove-nth-node-from-end-of-list/remove_nth_node_from_end_of_list.py
5e319c6b786dc8cc4a2d92c5646ab2c33b51538f
[ "MIT" ]
permissive
nwthomas/code-challenges
8998da07537cf5c02bf0d13fe4fc91416d5c2977
27ffb6b32d6d18d279c51cfa45bf305a409be5c2
refs/heads/master
2023-06-25T06:45:28.430194
2023-06-17T20:15:51
2023-06-17T20:15:51
166,868,294
2
8
MIT
2023-01-04T21:49:19
2019-01-21T19:27:31
Python
UTF-8
Python
false
false
1,096
py
""" https://leetcode.com/problems/remove-nth-node-from-end-of-list Given the head of a linked list, remove the nth node from the end of the list and return its head. Example 1: Input: head = [1,2,3,4,5], n = 2 Output: [1,2,3,5] Example 2: Input: head = [1], n = 1 Output: [] Example 3: Input: head = [1,2], n = 1 Out...
[ "nwthomas@me.com" ]
nwthomas@me.com
e4a4ea3880896a2c831d2bbc53ec1b723b5cf94a
625daac7e73b98935f9fe93e647eb809b48b712e
/Challenges/cyclicString.py
6c8a493a5f7e005714b1d373f0f2155ae258892d
[]
no_license
aleksaa01/codefights-codesignal
19b2d70779cc60f62511b6f88ae5d049451eac82
a57a5589ab2c9d9580ef44900ea986c826b23051
refs/heads/master
2022-03-15T04:46:40.356440
2019-12-08T15:41:37
2019-12-08T15:41:37
112,034,380
1
0
null
null
null
null
UTF-8
Python
false
false
571
py
def cyclicString(s): for i in range(len(s)): for j in range(i + 1, len(s) + 1): sub = s[i:j] if s in sub * 15: return len(sub) """ You're given a substring s of some cyclic string. What's the length of the smallest possible string that can be concatenated to itself ...
[ "some12curious@gmail.com" ]
some12curious@gmail.com
2dbfa43b78aa836cbc808b9aa556848c15c60824
9267da344111bde2278d0054e899352314c254a3
/src/server/apps/reduction/models/spectrometry/sns/hyspec/__init__.py
0364eabc87e1b358fff7699379ab667ce174794e
[]
no_license
bidochon/WebReduction
5badd7467b8c9d5cbd87c36f7dea1932e17f0950
507ff81617abf583edd4ef4858985daefc0afcbe
refs/heads/master
2020-09-03T18:05:11.846179
2019-07-03T15:59:38
2019-07-03T15:59:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from .models import ReductionHYSPEC as Reduction from .models import RegionHYSPEC as Region __all__ = [ 'Reduction', 'Region', ]
[ "ricleal@gmail.com" ]
ricleal@gmail.com
98c4b1a10ed3d965b85cc88258a0accf2a6a6bfe
6e68ef0a53ce48da79b4906d85fc9785deee4ca5
/discussion/consumers.py
7c63d239f205b3278e96653fa51b81dbd3415255
[]
no_license
shubhamkharose/CODEDAEMON
e3ed8050b5c43ec146c6d253d06121fc37cdb2d4
6df7af35c51f5f54b2e2167e3d64d163c9a688f9
refs/heads/master
2021-04-06T00:58:01.515828
2018-03-15T11:04:31
2018-03-15T11:04:31
125,353,062
1
4
null
2019-10-28T04:03:58
2018-03-15T10:48:53
JavaScript
UTF-8
Python
false
false
716
py
import json from channels import Group from channels.auth import channel_session_user @channel_session_user def ws_connect(message): print 'connecting..' message.reply_channel.send({ 'accept': True }) @channel_session_user def ws_receive(message): data = json.loads(message.content.get('text...
[ "vvt5676@gmail.com" ]
vvt5676@gmail.com
51916f0bcc4852581a1390ffda6023dc70c4f65a
c8a38e65e71de888fc5b22fbd027bbaa0f3f6ef1
/Python/100.py
3405d35a04e5175b2c89d7ae724e26c8128aee8b
[]
no_license
skywhat/leetcode
e451a10cdab0026d884b8ed2b03e305b92a3ff0f
6aaf58b1e1170a994affd6330d90b89aaaf582d9
refs/heads/master
2023-03-30T15:54:27.062372
2023-03-30T06:51:20
2023-03-30T06:51:20
90,644,891
82
27
null
null
null
null
UTF-8
Python
false
false
1,367
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution(object): def isSameTree(self, p, q): """ :type p: TreeNode :type q: TreeNode ...
[ "gangzh@uber.com" ]
gangzh@uber.com
4792c46d0c600e9904c05498d2dfe7060a2dad72
f3eba94061ae88d179c66fd0d2c12676ad251b8f
/automatas_celulares/particle.py
6186a9ed3af503b6540c9bc6efa77bd31465abfd
[ "Unlicense" ]
permissive
binary-hideout/sistemas-adaptativos
46151dd4f29b760eb6fa539112f310fec109c878
b0d57c3b98a6f8c3da9ee33fd063b19b4af71b82
refs/heads/master
2020-07-05T07:28:40.594286
2019-11-03T19:12:47
2019-11-03T19:12:47
202,571,851
0
0
null
null
null
null
UTF-8
Python
false
false
4,077
py
import pygame, sys, random from math import cos from pygame.locals import * FPS = 30 WINDOWWIDTH = 640 WINDOWHEIGHT = 480 FIRE = pygame.image.load('fire.png') PIXEL = pygame.image.load('white.png') FIRE_YELLOW = pygame.image.load('fire_yellow.png') def main(): global FPSCLOCK, DISPLAYSURF pygame.init() FPSCLOCK = ...
[ "neto.otz@hotmail.com" ]
neto.otz@hotmail.com
bedd83d14ffdcad67d03805d9d49dfa71327b1be
e62bcf5cc7062bca85839f071be41153daf153ff
/doc/source/conf.py
29f1c33084a537a7e9cf0a14e6addb14d15198ad
[ "Apache-2.0" ]
permissive
MountainWei/senlin
e1a9f51adf657ae9f261a929d0fe6d6a57bef2c4
8fe640df673f929147284781565faa48a89077ab
refs/heads/master
2020-12-13T20:55:03.145516
2015-10-21T13:36:07
2015-10-21T13:36:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,521
py
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software...
[ "tengqim@cn.ibm.com" ]
tengqim@cn.ibm.com
58c8953c4b0e590e6da96b0f238378d213361523
a139de988c9c79a368bd3cee13f0fbb3d1a1e905
/2_Estrutura_Decisão (novo)/14estD.py
d255bec3b63ff87ed958221997ab4286894b2708
[]
no_license
brunodantascg/listaExercicioPythonBR
1e6942af06180fd05556de06daa7e745254f894d
8309e877cb6f63e9195ae34e040860a0c24f50e8
refs/heads/master
2021-07-04T00:24:04.080851
2020-10-25T05:20:53
2020-10-25T05:20:53
192,741,417
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
# 14 - Faça um programa que lê as duas notas parciais obtidas por um aluno numa disciplina ao longo de um semestre, e calcule a sua média. A atribuição de conceitos obedece à tabela abaixo: # Média de Aproveitamento Conceito # Entre 9.0 e 10.0 A # Entre 7.5 e 9.0 B # Entre 6.0 e 7.5 C # Ent...
[ "brunodedantas@gmail.com" ]
brunodedantas@gmail.com
e132618e5a93782d6a9306b36d52db07c2de1dff
775822912186176ced195cc224659f2b4f5994d3
/whoville/cloudbreak/models/structured_event_container.py
f61cf1d81b101951a80868fa62d9c5df1a219d44
[ "Apache-2.0" ]
permissive
Chaffelson/whoville
7885d7d0994659dd1d1c02b4bcd87d48b161c5d0
f71fda629c9fd50d0a482120165ea5abcc754522
refs/heads/master
2021-06-04T06:17:29.603774
2021-02-11T13:35:28
2021-02-11T13:35:28
93,987,343
31
32
Apache-2.0
2019-10-01T04:59:13
2017-06-11T06:57:39
Python
UTF-8
Python
false
false
5,463
py
# coding: utf-8 """ Cloudbreak API Cloudbreak is a powerful left surf that breaks over a coral reef, a mile off southwest the island of Tavarua, Fiji. Cloudbreak is a cloud agnostic Hadoop as a Service API. Abstracts the provisioning and ease management and monitoring of on-demand clusters. SequenceIQ's Cloud...
[ "chaffelson@gmail.com" ]
chaffelson@gmail.com
c5477488fb4bac77644b149baa3eab68e031e998
2391005dee2848fcf36c0499bef15c726bcf218e
/sphinxpro/settings.py
de6aa1d2b2ca47f9ec2c59ce2aeb8f0cedc760e2
[]
no_license
GanapathiAmbore/Django_Sphinxsearch_Pro
05caf64f50941da89ea0e9c6d97fadfe75f00f6b
a43f1cea0842f128e8e4d077a42a0c6f4cb16c36
refs/heads/master
2020-07-21T00:09:33.241108
2019-09-06T06:34:53
2019-09-06T06:34:53
206,729,076
0
0
null
null
null
null
UTF-8
Python
false
false
3,171
py
""" Django settings for sphinxpro project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "ganapathiambore@gmail.com" ]
ganapathiambore@gmail.com
44885eb6d3883986024c59c8b1dd8e6bc291fab5
bef93432b7745ba5492f11e709e47a5a372590f0
/modules/xia2/Wrappers/CCP4/Truncate.py
8e23b271fbcc9f7965ee3ae0964bb6c8c9bae947
[ "BSD-3-Clause" ]
permissive
BlenderCN-Org/dials-dev20190819
939378744d546692e3de33d106a1b5218a584c2a
1b719b88a1642c13a5a8d488addbb215d0fa290c
refs/heads/master
2020-07-19T17:00:06.944870
2019-08-19T21:36:25
2019-08-19T21:36:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,398
py
#!/usr/bin/env python # Truncate.py # Copyright (C) 2006 CCLRC, Graeme Winter # # This code is distributed under the BSD license, a copy of which is # included in the root directory of this package. # # 26th October 2006 # # A wrapper for the CCP4 program Truncate, which calculates F's from # I's and gives a few ...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
e8db6cddb755df8eb65e4ad727c5c16988917856
b1c3326df1b72de39be0e96da9c01c842ca25a64
/srhapp/migrations/0003_auto_20190712_1433.py
1a9dc3a5c1e640214cdc48f904ff90bc905893f8
[]
no_license
harakzf/oscar_search_test
b03ee53504fa35ce0a4fd076361d3b8f8d82622d
7cef383ba606a3956ff0e0efad15476ced8064d5
refs/heads/master
2023-04-30T02:04:14.994803
2019-07-30T02:51:57
2019-07-30T02:51:57
199,562,532
0
0
null
2023-04-21T20:36:16
2019-07-30T02:50:10
Python
UTF-8
Python
false
false
407
py
# Generated by Django 2.1 on 2019-07-12 05:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('srhapp', '0002_auto_20190620_1843'), ] operations = [ migrations.AlterField( model_name='good', name='title', ...
[ "you@example.com" ]
you@example.com
5a62dafd21dc9a38cb45ca335e83bf0012cf9556
6331a82d741ac3c8d27c983c0a9d932ea15c6e1e
/uttu/uttu_1/migrations/0001_initial.py
8929990e4e5ba2324ab97579d3466e3b82361a91
[]
no_license
samirpatil2000/django_pratice
27fd40c4adfb201d6420d239e4f9182668a72227
8c324cbe245f97ee01f2041f3d5b594dfbff5b04
refs/heads/master
2022-12-28T22:42:04.135127
2020-09-21T10:59:44
2020-09-21T10:59:44
292,592,460
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
# Generated by Django 3.0.4 on 2020-03-11 18:33 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Manufacture', fields=[ ...
[ "samirspatil742099@gmail.com" ]
samirspatil742099@gmail.com
c82075a78e141b03c99399ba5faa066f8d3e0a7e
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-AVFoundation/PyObjCTest/test_avaudiounitgenerator.py
e0dc76137a8f3acfa21c033038262e2f3a19c554
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from PyObjCTools.TestSupport import * import AVFoundation class TestAVAudioUnitEffect(TestCase): @min_os_level("10.10") def testMethods10_10(self): self.assertResultIsBOOL(AVFoundation.AVAudioUnitGenerator.bypass) self.assertArgIsBOOL(AVFoundation.AVAudioUnitGenerator.setBypass_, 0) if __na...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
371a57e00abc94448295159ad0cbcf70df1ad3c2
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AoiUser.py
f1464928dd071c90be78ba78f78eb6aa5b80e7fa
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,310
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AoiUser(object): def __init__(self): self._user_id = None self._user_name = None @property def user_id(self): return self._user_id @user_id.setter def us...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
14150f11112f3c92d38915a38307a0c3dab72088
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D99A/PRODEXD99AUN.py
fb38595d0e085e2d11abc5c44ae99cd86a0e83ee
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
968
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD99AUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 2}, {ID: 'MEA', MIN: 1, MAX: 1}, {ID: 'NAD'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
d1b8388bee2cc425552126091de228ba16dd8e75
5b9f9b4ea1494943e6f7f842df55909599ed1304
/python/onshape_client/oas/models/transform_group.py
48feaba53bcc7527b3f055fc9bc8659766a0df5b
[]
no_license
jenniferyoung02/onshape-clients
f50534f033428027515b7fc0b801b1caab4d0aec
8ee31a17d7af32f105b851e45f69fd4a3006e1ba
refs/heads/master
2020-09-07T06:44:37.682545
2019-10-08T18:52:06
2019-10-08T18:52:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,839
py
# coding: utf-8 """ Onshape REST API The Onshape REST API consumed by all clients. # noqa: E501 The version of the OpenAPI document: 1.104 Contact: api-support@onshape.zendesk.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class Transfo...
[ "ekeller@onshape.com" ]
ekeller@onshape.com
1b62042c0d2c3745194a27db18e6434a2bb26b36
a8db8ac98b1df5e3020e15bd4b191582b983f655
/PKUTreeMaker/test/CrabJobsSrc/SingleEle/crab3_analysis_seleE.py
ce860a09ae24c787c31cf05199208745fb169742
[]
no_license
JINGFFF/fullRun2VBSWG
9ced38082fbe6794207acb06dd3efaf75df4f7d1
8d26c28e93c1562ce38e7b3dabd07902b68420ab
refs/heads/master
2023-01-12T08:22:52.450034
2020-11-08T07:26:22
2020-11-08T07:26:22
258,943,758
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'fullrun2_2017_seleE_v1' config.General.transferLogs = True config.section_("JobType") config.JobType.maxMemoryMB = 3000 config.JobType.pluginName = 'Analysis' config.JobType.inputFiles =[...
[ "15827238926@163.com" ]
15827238926@163.com
bc453a69f69ddb02b7d3f8d5ffb9e3d84809d5d2
3ea104409b5ab5f1d1928af7d31b4a58b11d220a
/venv/Lib/site-packages/networkx/algorithms/centrality/tests/test_second_order_centrality.py
903bbe9a82d1e432b28be0f91110184af616264d
[ "Apache-2.0" ]
permissive
farhananwari07/flask-image-processing
0103ab0600995a760e27ffc644ffb313de4eaade
a4a4ad717ffd074afbe31cbf8803060764034375
refs/heads/main
2023-09-02T01:21:27.328049
2021-11-10T07:58:17
2021-11-10T07:58:17
425,517,466
0
0
Apache-2.0
2021-11-07T13:55:56
2021-11-07T13:55:56
null
UTF-8
Python
false
false
1,921
py
""" Tests for second order centrality. """ import pytest pytest.importorskip("numpy") pytest.importorskip("scipy") import networkx as nx class TestSecondOrderCentrality: def test_empty(self): with pytest.raises(nx.NetworkXException): G = nx.empty_graph() nx.second_order_centrali...
[ "agoes.minarno@gmail.com" ]
agoes.minarno@gmail.com
a9731b75609fd3be10e9dc65cbf587c87c60e72f
d384e15a0b40660d9026608995b34e410e923de7
/core/mixins.py
f8628a0f65bc9865c90ed1da35a42a0a659fcdd3
[]
no_license
Naveendata-ux/QuickAd-Django-Classified-App
93deb6283228adce03ff2cd448791317df4148e3
dc65b657d7b47d5c0321bd33640c3ca677e30ba6
refs/heads/master
2022-07-04T18:52:02.125969
2020-05-15T19:20:15
2020-05-15T19:20:15
265,176,361
1
0
null
2020-05-19T07:27:39
2020-05-19T07:27:38
null
UTF-8
Python
false
false
476
py
from django.contrib.auth.mixins import LoginRequiredMixin from django.urls import reverse_lazy class CustomLoginRequiredMixin(LoginRequiredMixin): """Verify that the current user is authenticated.""" login_url = reverse_lazy('accounts:login') # def dispatch(self, request, *args, **kwargs): # if n...
[ "rumimanzurulhoque@gmail.com" ]
rumimanzurulhoque@gmail.com
561f0e1ec3949085391efe913aeb375796f89186
e4c6741c0d264e7c274c14fadababd08505627aa
/sdepy/core.py
cf72142dda99889a83cebe054900f278a741c1ec
[]
no_license
JonasRSV/mc-sde
860d1168496795fa7d40665437915eb226942815
a002b3c550177e717aa345a206f7f9c8142a8c77
refs/heads/master
2021-04-10T20:35:18.533947
2020-04-27T09:42:47
2020-04-27T09:42:47
248,963,572
0
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
from abc import ABC, abstractmethod from typing import Tuple, List import numpy as np class SDE(ABC): @abstractmethod def __init__(self, *args, **kwargs): raise NotImplementedError() @abstractmethod def step(self) -> Tuple[np.float64, np.ndarray]: raise NotImplementedError() @ab...
[ "jonas@valfridsson.net" ]
jonas@valfridsson.net
9982d44f64826f7373273a38161d571be7f2b7e4
45870a80cbe343efe95eb9e8d0bd47c8c88353d1
/机器学习竞赛/NLP-master/DataDetail.py
14b794ee6683469b741b4c6f00b737b618ecb9f6
[]
no_license
pippichi/IntelliJ_PYTHON
3af7fbb2c8a3c2ff4c44e66736bbfb7aed51fe88
0bc6ded6fb5b5d9450920e4ed5e90a2b82eae7ca
refs/heads/master
2021-07-10T09:53:01.264372
2020-07-09T13:19:41
2020-07-09T13:19:41
159,319,825
0
0
null
null
null
null
UTF-8
Python
false
false
2,564
py
import jieba from ReadFile import ReadCsv, cut2wd, get_feature_words, Count import codecs import pandas as pd import numpy as np def loan_csv(filename): # lists = [] # with codecs.open(filename, 'r', 'utf-8') as f: # for each in f.readlines(): # if each != '': # l...
[ "874496049@qq.com" ]
874496049@qq.com
139414f0e8b9b21c35efbb0689213127dfe4b510
71e43068e82c91acbb3849169d1723f1375ac27f
/test/test_customer_profile_audience_request_item.py
1fe2fd857c07d66bb7cacc4e09f20aaa9f622080
[ "MIT" ]
permissive
talon-one/talon_one.py
aa08a1dbddd8ea324846ae022e43d441c57028f6
917dffb010e3d3e2f841be9cccba5bba1ea6c5c3
refs/heads/master
2023-05-11T18:50:00.041890
2023-05-03T20:17:39
2023-05-03T20:17:39
79,575,913
1
7
MIT
2023-05-03T15:10:14
2017-01-20T16:29:46
Python
UTF-8
Python
false
false
2,433
py
# coding: utf-8 """ Talon.One API Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-...
[ "noreply@github.com" ]
talon-one.noreply@github.com
50d23df1eb5403f0531c6bb52eeeebebeb32a255
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/eliben_deep-learning-samples/deep-learning-samples-master/cs231n/linear_svm.py
13629f57fb24c4ac3ac5f3ed95a8e21653dad6e9
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
4,590
py
# Linear SVM classifier. # See http://cs231n.github.io/classification/ for background. # And http://cs231n.github.io/optimization-1/ for the gradient parts. import numpy as np import random import linear_classifier def svm_loss_naive(W, X, y, reg): """Structured SVM loss function, naive implementation (with loop...
[ "659338505@qq.com" ]
659338505@qq.com
67d6bd91027cc51bd4be86eb9ac25c2d6f6ded2f
ad25a84cac4eb9c0bfaf81c9172d4ed3864b3f7a
/fintech/fintech/pipelines.py
0228db3d8d199e6f9a2959e0ee1cf30a3062ab1a
[]
no_license
kishanpython/Let-Scrape-It
69b3ea756e95dc0d81074d671ff77197f072dbe3
f4c98a4ba9a5865831f228547a43a2787a5709bd
refs/heads/main
2023-04-30T18:22:41.872076
2021-05-24T15:21:03
2021-05-24T15:21:03
367,649,124
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
# Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html # useful for handling different item types with a single interface from scrapy.pipelines.images import ImagesPipeline class CustomImagePipeline(Imag...
[ "kishanyadav3223@gmail.com" ]
kishanyadav3223@gmail.com
39798be77a8da68cbe120c29e855228e768f59a8
a430ecc74572bf6c7ff0ece3eef6a737a7b615a3
/Code/wanfang分布式 2/build/lib/wanfang/pipelines.py
409d033998c5fb8aa2fc125a2de2cc764d198687
[]
no_license
wangxuyongkang/chengxuyuanhh
084e3ab086499a7fc18a477f0ef6234fa1eea152
15e1322dcc36de4f1d1e467525761746cadb58fa
refs/heads/master
2022-12-26T00:46:10.693454
2019-12-25T12:16:40
2019-12-25T12:16:40
230,065,182
1
0
null
2022-12-11T18:23:10
2019-12-25T07:54:47
HTML
UTF-8
Python
false
false
1,322
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html import json import pymysql class WanfangPipeline(object): def __init__(self): # self.mysql_client = pymysql.Conn...
[ "2238366634@qq.com" ]
2238366634@qq.com
9bef8c1994469795e37ace2d29a3aea6bf4b167e
bbec348efb79c6588a4cb6bb565c813fe3fe86ad
/pyVpx/sample/vmPrincipalUser.py
81641a033a522bad50da1693ac19d07f31bcbede
[]
no_license
free-Zen/pvc
2be60fdc0fd0345039219c802223f987fce3b113
8428a84481be319ae739dfbb87715f31810138d9
refs/heads/master
2022-02-24T12:13:31.599398
2019-10-14T07:49:13
2019-10-14T07:49:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
#!/usr/bin/python """ Simple command-line program for getting/setting the vmPrincipalUser """ from pyVim.connect import Connect from pyVim import host from optparse import OptionParser def GetOptionsAndArgs(): """ Supports the command-line arguments listed below. """ parser = OptionParser() parse...
[ "liuzhen@vmware.com" ]
liuzhen@vmware.com
9fe9f1c5f135c8b98d7329f1d2ba8497aa831cc7
8b5fe2b82b2323a1329d22a131b50ff3f6be7ef3
/xos/tosca/resources/service.py
5a57418f585d79fd951e9a6a3a5f36be66b16c13
[ "Apache-2.0" ]
permissive
nareshblu/xos
822c33d8cf5054bd7eb062f97565f1b56b1d539d
e39ec4850f3dc066c5b02b9700a10f211ef4dc2a
refs/heads/master
2020-12-25T05:02:41.270079
2016-06-27T09:22:20
2016-06-27T09:22:20
62,042,102
1
0
null
2016-06-27T09:13:11
2016-06-27T09:13:10
null
UTF-8
Python
false
false
1,702
py
import os import pdb import sys import tempfile sys.path.append("/opt/tosca") from translator.toscalib.tosca_template import ToscaTemplate import pdb from core.models import Service,User,CoarseTenant,AddressPool from xosresource import XOSResource class XOSService(XOSResource): provides = "tosca.nodes.Service" ...
[ "smbaker@gmail.com" ]
smbaker@gmail.com
bf197e793718ee1c57d11ae875b3a0a74cd80441
d9a490dc36da08051b2685489a8e6af3d29fa903
/example7_4.py
2e02840bb73f5f5f1be770939048cbd8cbb76e35
[]
no_license
freephys/numeric-for-engineer
403679c3f055164bf8b7097c360ad8bfc2cb9978
a98d318e8cdff679cc02a575d32840fa87a4717d
refs/heads/master
2020-04-16T01:33:43.530839
2009-11-28T18:42:12
2009-11-28T18:42:12
388,559
1
0
null
null
null
null
UTF-8
Python
false
false
510
py
## example7_4 from numarray import array,zeros,Float64 from printSoln import * from run_kut4 import * def F(x,y): F = zeros((2),type=Float64) F[0] = y[1] F[1] = -0.1*y[1] - x return F x = 0.0 # Start of integration xStop = 2.0 # End of integration y = array([0.0, 1.0]) # ...
[ "freephys@gmail.com" ]
freephys@gmail.com
68bb03315877a635672ed4e0a62821abdfd375b6
a6d2727d76b0fec48848cab8f4965ecd594cc8f7
/Learning_Python_part1/lettersinstring.py
7ef73273e04daefbfee5a250226edaa6fe3e4492
[]
no_license
ccsreenidhin/Learning_Python_Part1
b31adbcd4c27f97f90ec40c8c5eacf58b9e12a7c
3d92400ada3bb0c07a1da1e6ef4a5573d3b6ce08
refs/heads/master
2022-10-15T13:31:58.396233
2017-04-17T09:35:00
2020-06-11T11:46:07
271,532,403
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
str=raw_input("enter the line: ") tmem=len(str) i=tmem-1 print(tmem) while i!=0: if str[i] == ' ': tmem-=1 i-=1 print("no of letters: %d", tmem)
[ "ccsreenidhin@gmail.com" ]
ccsreenidhin@gmail.com
997850d4abeb537cbb1abef68c48e6fb6a3fd59c
517d461257edd1d6b239200b931c6c001b99f6da
/Circuit_Playground/CircuitPython/libraries/adafruit-circuitpython-bundle-6.x-mpy-20211013/examples/lis331_low_pass_filter.py
e2d0c1fba73d83b2ef9aa8cd0158519d5be8c8a5
[]
no_license
cmontalvo251/Microcontrollers
7911e173badff93fc29e52fbdce287aab1314608
09ff976f2ee042b9182fb5a732978225561d151a
refs/heads/master
2023-06-23T16:35:51.940859
2023-06-16T19:29:30
2023-06-16T19:29:30
229,314,291
5
3
null
null
null
null
UTF-8
Python
false
false
855
py
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT import time import board from adafruit_lis331 import LIS331HH, Rate, Frequency i2c = board.I2C() # uses board.SCL and board.SDA # un-comment the sensor you are using # lis = H3LIS331(i2c) lis = LIS331HH(i2c) ...
[ "cmontalvo@southalabama.edu" ]
cmontalvo@southalabama.edu
8011b0c3f8cec9359b3077eb0f429e5acbdcbc2e
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/qiskit/noisy/startQiskit_noisy275.py
17927721fcc43ec618fafeb52df84b209728b72f
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,304
py
# qubit number=2 # total number=17 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import IBMQ from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
45ecd3e371af713635f538969fcab20f1985be98
9699577e6ac81ead34b809e2551d3bf1a25d198c
/merge_test/demo.py
28cada470095ea3136aa9692c327688bc1379f9c
[]
no_license
zolcsika71/CodeInGames_PY
b8efbb7206e9872636ac419e3ac56449a473a573
d127e736451326176973d24b1261fc1d2ab6e5ae
refs/heads/main
2023-06-13T02:06:59.464269
2021-07-06T14:44:34
2021-07-06T14:44:34
335,744,751
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# Normal library imports # NOTE: imports declared in imported functions need to be # manually added here for now... import sys import math import time # etc... # IMPORT from lib.functions.Util_ import * from lib.functions.Second_ import * from lib.functions.First_ import * # END_IMPORT def run(): init_t...
[ "bushdoctor2008@gmail.com" ]
bushdoctor2008@gmail.com
7a61ac1527f4a58cfe8d094d86da082483f7743f
d01055a7e08b158b65d1fb39d92e529692956537
/python/moneysocket/message/__init__.py
4e4c8cd3e7a037aa3510ec03163b13363e11b11f
[ "MIT" ]
permissive
moneysocket/prototype
8da14038ce026ab03c5f9723882bcfbf0830f064
c0c3cbf7f3176c0e9ff9d77a6941b53a9a5edae1
refs/heads/master
2023-02-16T16:46:26.253371
2021-01-18T18:37:18
2021-01-18T18:37:18
285,721,497
5
3
MIT
2021-01-18T18:37:19
2020-08-07T02:48:59
JavaScript
UTF-8
Python
false
false
369
py
# Copyright (c) 2020 Jarret Dyrbye # Distributed under the MIT software license, see the accompanying # file LICENSE or http://www.opensource.org/licenses/mit-license.php # import to register subclasses with superclass from moneysocket.message.request.request import MoneysocketRequest from moneysocket.message.notifica...
[ "jarret.dyrbye@gmail.com" ]
jarret.dyrbye@gmail.com
0ab5347140a40a59b7d085d88915dcb29f170f9b
91d7987874dcfa0d8dbbd9a3a3831ed9b67691f8
/IPProxyPool/IPProxy.py
27e2b4afa3c1e65f191e47ab59be4b1694f1769a
[]
no_license
lsz1995/amazon
c9388cc78f8465804b53e8759940ebc9625cbdd6
e648ff21f642632e30925ffab1d3a4608eb201ca
refs/heads/master
2020-03-19T05:55:23.726649
2018-06-04T05:31:22
2018-06-04T05:31:22
135,974,959
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
# coding:utf-8 from validator.Validator import validator, getMyIP from multiprocessing import Value, Queue, Process from api.apiServer import start_api_server from db.DataStore import store_data from spider.ProxyCrawl import startProxyCrawl from config import TASK_QUEUE_SIZE if __name__ == "__main__": myip = ge...
[ "qqlsz87@126.com" ]
qqlsz87@126.com
91230769810c7749e457b9e839b5203295de47ec
20e3010608e40a6ec5ea56f69d122a62182e4bdb
/arrays/list comprehension.py
d0f2f8a8aa771399df5c56918500ac6b0b22d8fd
[]
no_license
LarisaOvchinnikova/Python
ee65eac221cd03563d60110118175692564c5b2d
9cc86a260828662995dec59a6d69528f96d37e79
refs/heads/master
2021-08-22T21:41:02.351589
2021-05-25T18:37:09
2021-05-25T18:37:09
253,842,826
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
arr = ['asff', 'fdlkdld', 's'] list_length = [len(word) for word in arr] print(list_length) arr = [1,3,4,5] newarr = [str(el) for el in arr] print(newarr) even = [el for el in arr if el % 2 == 0] print(even) arr = ['sfsfj', 'xd', 'kfhfhjhfsh'] arr = [word.rjust(10) for word in arr] # like arr.map() print(arr) fib ...
[ "larisaplantation@gmail.com" ]
larisaplantation@gmail.com
e9267182bff3276c1af4ca9613ccd0c11a75be5c
dbe7e1d9fe2457c26f83095d941e4392e7d30f8c
/django_dashboard/migrations/0022_auto_20180208_1621.py
d8135ce56ed3463b01f3f4b94d069029fc7a64ee
[ "MIT" ]
permissive
keepexploring/smartbiogas
51e124735ec04bc6b87a8ac75c66c83de6865001
ca663435b05666113e3c0cb55e6f087c61497208
refs/heads/master
2022-12-12T10:42:37.412038
2018-07-18T15:29:04
2018-07-18T15:29:04
111,402,799
0
0
MIT
2022-12-08T00:56:54
2017-11-20T11:39:05
JavaScript
UTF-8
Python
false
false
551
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-02-08 16:21 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('django_dashboard', '0021_auto_20180208_1609'), ] operations = [ migrations.RemoveFi...
[ "joel.c@scene.community" ]
joel.c@scene.community
a7af016bb84a1a55a8a81a27abaf108fe93f7e29
97afa34a118378827e579de9ab3ceced71488dfa
/dedupsqlfs/db/mysql/table/hash_sizes.py
655ebc3f11315758306984e1a0fcc569b5f89868
[ "MIT" ]
permissive
himadrisd/dedupsqlfs
4d07dbd4f8f0294ce5352777525085cf80fc7c99
9a0e5ee3e2bfd1bc25f2e604d4f1fb584c43bffc
refs/heads/master
2020-04-24T14:52:30.804688
2018-06-09T06:38:37
2018-06-09T06:38:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,929
py
# -*- coding: utf8 -*- __author__ = 'sergey' from dedupsqlfs.db.mysql.table import Table class TableHashSizes( Table ): _table_name = "hash_sizes" def create( self ): cur = self.getCursor() # Create table cur.execute( "CREATE TABLE IF NOT EXISTS `%s` (" % self.getName()...
[ "sergey.dryabzhinsky@gmail.com" ]
sergey.dryabzhinsky@gmail.com
17eeb3e8b9ed2045f7a91decd487c5618bbc831f
7c9919126b96122c1a8c6353769e209d850e4564
/bnk_asset/models/bnk_asset.py
d6f1eeee892c4bddeeb702d98e3e4a42e574a06d
[]
no_license
Duongnv-dev/hr
8ee34c904d481a4d0f4182c3c6bfd6c28ef25ffe
962e0edab5b824304f4a2b2dff23458135f94c3c
refs/heads/master
2023-06-19T06:54:00.337453
2021-07-13T01:53:34
2021-07-13T01:53:34
385,439,085
0
0
null
null
null
null
UTF-8
Python
false
false
6,223
py
from odoo import models, fields, api, tools from odoo.exceptions import ValidationError import datetime class Asset(models.Model): _inherit = 'account.asset.asset' user_id = fields.Many2one('res.users', 'User') employee_id = fields.Many2one('hr.employee', 'Employee', readonly=True, track_visibility='onch...
[ "duong.nguyen@bnksolution.com" ]
duong.nguyen@bnksolution.com
c38434dd7cee1767e7a3f3f468998f69f33b280b
82b495a208ebdeb71314961021fbfe767de57820
/chapter-04/sample001.py
fc5521ad3b1c7679d112c56cf067ed031d795687
[ "MIT" ]
permissive
krastin/pp-cs3.0
7c860794332e598aa74278972d5daa16853094f6
502be9aac2d84215db176864e443c219e5e26591
refs/heads/master
2020-05-28T02:23:58.131428
2019-11-13T13:06:08
2019-11-13T13:06:08
188,853,205
0
0
MIT
2019-11-13T13:06:09
2019-05-27T13:56:41
Python
UTF-8
Python
false
false
780
py
'Aristotle' 'Isaac Newton' '' print(len('Albert Einstein')) print(len('123!')) print(len('')) print('Albert' + ' Einstein') print("Alan Turing" + '') print("" + 'Grace Hopper') #print('NH' + 3) #error #print(9 + ' planets') #error print('Four score and ' + str(7) + ' years ago') print(int('0')) print(int("11")) prin...
[ "krastin@hashicorp.com" ]
krastin@hashicorp.com
5376b409dc4406212c78d338e49ccd504a8234f1
546ef5cf37c46bb378b310004e812d24bda6cd9a
/code/load_radius.py
680d7f9bc69b7dd2e7245d8bd699e64e7988a6ab
[ "MIT" ]
permissive
annayqho/SN2018gep
edf888ce0f7928f357d5093e558fdab2164845c9
93cd64a1aab326771199f9093339df5bc4eb8002
refs/heads/master
2021-07-11T19:45:24.867867
2020-06-19T02:40:47
2020-06-19T02:40:47
156,262,433
2
1
null
2019-10-15T00:42:08
2018-11-05T18:17:37
Python
UTF-8
Python
false
false
458
py
import numpy as np def load_radius(): DATA_DIR = "/Users/annaho/Dropbox/Projects/Research/ZTF18abukavn/data" dat = np.loadtxt("%s/physevol.dat" %DATA_DIR, dtype=str) mjd = dat[:,0].astype(float) mjd0 = 58370.1473 dt = mjd-mjd0 Rsun = 6.955E10 AU = 1.496e+13 rad = dat[:,2].astype(float) ...
[ "annayqho@gmail.com" ]
annayqho@gmail.com
2def0ac500f2c316f8ce4f30ba725b89f691f571
9b1f196163b2489f5292712d82b0afc538ac8c49
/setup.py
2179d83b5c6923c3978b58fb9ff465d6d7c274b0
[ "MIT" ]
permissive
furious-luke/django-main
18728249e03730e5163cd806a56ba365910b7fc8
0d76ff93b0bfe5afb7615ee9fbc33e0de25ebc58
refs/heads/master
2021-01-19T22:10:58.651765
2017-04-23T02:29:32
2017-04-23T02:29:32
88,768,512
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import os from setuptools import setup, find_packages setup( name='django-main', version='0.1', author='Luke Hodkinson', author_email='furious.luke@gmail.com', maintainer='Luke Hodkinson', maintainer_email='furious.luke@gmail.com', url='https://github.com/furious-luke/django-main', desc...
[ "furious.luke@gmail.com" ]
furious.luke@gmail.com
4436f6cf9699760cecaa788c5ab445d04c11ade2
c741f04141784a2571d2d27d95e0d994e4584ab1
/learning/py3/Python3 运算符/算术运算符.py
815b51e6916feb9e81b4eea8f6d6cb77008b2dac
[]
no_license
haodonghui/python
bbdece136620bc6f787b4942d6e1760ed808afd4
365062ba54297c81093b7f378742e76d438658b7
refs/heads/master
2022-02-03T23:52:37.288503
2022-01-27T05:23:25
2022-01-27T05:23:25
191,729,797
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
""" 以下假设变量a为10,变量b为21: 运算符 描述 实例 + 加 - 两个对象相加 a + b 输出结果 31 - 减 - 得到负数或是一个数减去另一个数 a - b 输出结果 -11 * 乘 - 两个数相乘或是返回一个被重复若干次...
[ "haodonghui@yestae.com" ]
haodonghui@yestae.com
3c6bff3848f851830ac2218aa707f785c103dc38
b7d642b29ec27f2b1402dd3e1428b534c2508f3f
/Python/Worksheets/Worksheet5/3.py
2e0daf044f1f86b7203c68f945f670a635d1fade
[]
no_license
liuya2360/H2-Computing
57b604d3807381d2777dd913491d23b4300caadd
2472c22b09ce27d7be745851e27354cb1ba0f134
refs/heads/master
2021-07-12T01:54:07.470996
2020-08-13T11:21:00
2020-08-13T11:21:00
177,277,298
9
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
class Trapezium(): def __init__(self, top, bottom, side1, side2 ,height): self.top = top self.bottom = bottom self.height = height self.side1 = side1 self.side2 = side2 def area(self): return 0.5*(self.top+self.bottom)*height def perimeter(self): return self.top+self.bottom+self.side1+self.side2 cla...
[ "liuya2360@gmail.com" ]
liuya2360@gmail.com
26df3d7b2323591c5c7c1f4daea61c7bd7a1522f
038af1bfd275530413a7b4e28bf0e40eddf632c6
/parsifal/utils/test.py
226950eb05d782901ec424349ec63921ab902b76
[ "MIT" ]
permissive
vitorfs/parsifal
5c5345ff75b48c5596977c8e0a9c4c537ed4726c
68c3ce3623a210a9c649a27f9d21ae6130541ea9
refs/heads/dev
2023-05-24T16:34:31.899776
2022-08-14T16:30:06
2022-08-14T16:30:06
11,648,402
410
223
MIT
2023-05-22T10:47:20
2013-07-25T00:27:21
Python
UTF-8
Python
false
false
508
py
from django.conf import settings from django.shortcuts import resolve_url from django.utils.http import urlencode def login_redirect_url(url): """ Utility function to be used as the "expected_url" param of the test case assertRedirects. :param url: Model instance, url pattern, url :return: String...
[ "vitorfs@gmail.com" ]
vitorfs@gmail.com
a7c85eac0f99c02323cd077c689485f336824451
fb5d2c4c76b311871b23c1d7266f074d4a709ef6
/plotting/plot_w0omegak.py
23a1a7798ee11bc52f9e102ca6f4e4e46a21d864
[ "AFL-3.0" ]
permissive
philbull/RadioFisher
50be8d49d7bdde2712bd35682a359c43f22e3a28
fe25f969de9a700c5697168ba9e0d2645c55ed81
refs/heads/master
2023-01-20T01:27:39.982180
2020-11-24T07:44:51
2020-11-24T07:44:51
315,553,003
4
2
null
null
null
null
UTF-8
Python
false
false
4,637
py
#!/usr/bin/python """ Plot 2D constraints on (w0, wa). """ import numpy as np import pylab as P from rfwrapper import rf import matplotlib.patches import matplotlib.cm import matplotlib.ticker from units import * from mpi4py import MPI import os import euclid cosmo = rf.experiments.cosmo names = ["cNEWexptL", "cNEW2...
[ "philbull@gmail.com" ]
philbull@gmail.com
e08860a1e1569a8e0fdbbedd335f8be4123f0957
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/linetools_linetools/linetools-master/linetools/lists/tests/test_use_linelist.py
d48184f46bb64b6636db97a598702da9b38bbb38
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
4,700
py
# Module to run tests on Generating a LineList # Also tests some simple functionality from __future__ import (print_function, absolute_import, division, unicode_literals) # TEST_UNICODE_LITERALS import os, pdb import pytest import astropy.io.ascii as ascii from astropy import units as u from astropy.table import Q...
[ "659338505@qq.com" ]
659338505@qq.com
641a62d84d5eeef5e1ab0a631f99c3f697d0f655
d9aece850fb295c43c42cb907f200285c33e0087
/aizu/lectures/algorithm_and_data_structure/reqursion_divide_and_conquer/the_number_of_inversions.py
782fbda52c715aed907638705d9e1243fc15346f
[]
no_license
memicq/ProgrammingContestAnswers
02a8f9ba76819cb04fb9934c6945a5de0735e6d4
b679894cadcbab1b84037db6fb8fd496079cf63a
refs/heads/master
2020-03-30T23:12:10.570349
2019-04-18T06:33:53
2019-04-18T06:33:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
#! python3 # the_number_of_inversions.py def merge(A, left, mid, right): count = 0 L = A[left: mid] R = A[mid: right] L.append(10e9 + 1) R.append(10e9 + 1) i, j = 0, 0 for k in range(left, right): if L[i] <= R[j]: A[k] = L[i] i += 1 else: ...
[ "jgr9ey2ug8@gmail.com" ]
jgr9ey2ug8@gmail.com
60586dfcac559f5f73517d083e70bd20263b4f43
f338eb32c45d8d5d002a84798a7df7bb0403b3c4
/DQM/TrigXMonitorClient/python/test/l1t_scalerclient_cfg.py
bde19bf5e95e018995364d9df90c4801813ad974
[]
permissive
wouf/cmssw
0a8a8016e6bebc611f1277379e12bef130464afb
60da16aec83a0fc016cca9e2a5ed0768ba3b161c
refs/heads/CMSSW_7_3_X
2022-06-30T04:35:45.380754
2015-05-08T17:40:17
2015-05-08T17:40:17
463,028,972
0
0
Apache-2.0
2022-02-24T06:05:30
2022-02-24T06:05:26
null
UTF-8
Python
false
false
5,929
py
import FWCore.ParameterSet.Config as cms process = cms.Process("DQM") process.load("DQMServices.Core.DQM_cfg") ### L1TGT unpacking from DQM.L1TMonitor.L1TGT_unpack_cff import * l1tgtpath = cms.Path(l1GtUnpack*l1GtEvmUnpack*cms.SequencePlaceholder("l1tgt")) #----------------------------- # DQM SOURCES #------------...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
734eedcef3f7b42297bb0ec03bf4e1945ce02be8
f698c042812612f94691ee2fafd8347e7dc9ed39
/dashboard/models.py
9317f757ebe7868bc4177bd5e18026bdd07b25b6
[]
no_license
boyuan12/CustomEmail
b589454718b875d227d4e1f65d6e419a1d5b1c82
a7a388c94b0fd812d89784ecd83a93f0875f17f6
refs/heads/master
2023-03-08T03:49:10.143793
2021-02-24T07:07:54
2021-02-24T07:07:54
341,792,932
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
from django.db import models # Create your models here. class Email(models.Model): timestamp = models.CharField(max_length=15) subject = models.CharField(max_length=255) body = models.TextField() from_email = models.EmailField() to_email = models.EmailField()
[ "boyuanliu6@yahoo.com" ]
boyuanliu6@yahoo.com
76f7c48e61a150bca12e600c03b16bf1156a99cd
e916a80eba284b399f9bff3a1f4c676502946059
/p1-text-calls/Task0.py
684e444967d0f2c3853f78348fcf9bdb57df6aa0
[]
no_license
valmsmith39a/u-data-structures-algorithms
109e7d9345bbf19bfd5896bb72afb0020f67c39f
26c2ce76f46fe43f8ea40314b69b41784c461c40
refs/heads/master
2020-12-12T20:25:18.490231
2020-05-24T23:22:50
2020-05-24T23:22:50
234,222,105
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
""" Read file into texts and calls. It's ok if you don't understand how to read files. """ import csv with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) with open('calls.csv', 'r') as f: reader = csv.reader(f) calls = list(reader) """ TASK 0: What is the first record of text...
[ "valmsmith39a@gmail.com" ]
valmsmith39a@gmail.com
358a5f616c3b2a110eb84fc04e64deb019b6fb0a
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/VBF_HToTauTau_M-145_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467467/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_20/run_cfg.py
b5626623dbc9edc9319c93f758292157d4169fc8
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,483
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/VBF_HToTauTau_M-145_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467467/HTT_24Jul_newTES_manzoni_Up_Jobs...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
98a98b97d50faf8e95c58e69b97c07808c039099
57dccf7b8da26753b66a9eecb9eb6cd1ae5584b5
/solov2/r50_fpn_1x.py
06bc648493aad8d49a515aba75ccab0709914694
[]
no_license
vbvg2008/benchmarks
4b743d6b19a4d0b41fa78b8db2a3f3a3f4e86018
29e2e445e6701529e048e8ffa283b5b071295566
refs/heads/master
2022-12-12T21:50:51.082085
2022-12-06T22:09:26
2022-12-06T22:09:26
187,144,413
0
0
null
null
null
null
UTF-8
Python
false
false
3,969
py
# model settings model = dict( type='SOLOv2', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), # C2, C3, C4, C5 frozen_stages=1, style='pytorch'), neck=dict( type='FPN', in...
[ "shawnmengdong@gmail.com" ]
shawnmengdong@gmail.com
a6098d7bb89d051c31f79eda75fc3f2d4af00911
cae9ca1dda110cd6f65d5021c5891fdee76ec6fe
/day1/strings/3.py
1c3f4fa0268caa9f6b56734e23fcd26ddb9ab709
[]
no_license
shobhit-nigam/yagami
fb33d6de76a698a160f9e8df9d7d9f5b836797d8
283e2a464f74ac07c21ae7095b9a45fa632aa38a
refs/heads/main
2023-07-04T09:46:51.057558
2021-08-10T05:13:27
2021-08-10T05:13:27
391,846,901
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
place = "india" country = 'india' stra = 'i love "sienfeld"' print(stra) strb = "she does'nt love me" print(strb) # error # area = "hind'
[ "noreply@github.com" ]
shobhit-nigam.noreply@github.com
6bb1a1cf8a55d6d8626ed43abfd39b9a66de6c5d
c34c8479b4534d98c967311861e2d33f7738df6d
/data/tools.py
7a5df54a58767251e89130a37ef96aa06a9932a0
[ "MIT" ]
permissive
PFCM/slack-ml
94e30c088867da1f0f5d6828702420a77b602e35
ed3fe68a13668bfc5df9343fa78a0f7cd1e4eeed
refs/heads/master
2021-04-26T14:32:47.225414
2016-01-15T22:50:23
2016-01-15T22:50:23
48,972,024
1
0
null
null
null
null
UTF-8
Python
false
false
586
py
"""Tools for other people to use the data biz. """ import datetime import models def store_msg(msg): """Actually puts a message into storage. Also checks whether or not there are enough messages to do a batch of training and if so, starts that process. Args: msg (dict) - the parsed JSON repre...
[ "pfcmathews@gmail.com" ]
pfcmathews@gmail.com
a7467deab0675894a34a28bcb0025792b569ca30
ee79e734486c0ca550bb8238ef54c78c7727384a
/Composite Profiler/Composite.py
2cf00d629eac460f289b23ab3b635b141de7d7c2
[]
no_license
neilrobertson/BICRCode
212636e5395f0c0e4dfb3ac3c133f01eb07273ee
7b3f4da9cdefd7680f07b707339aee59faece1d2
refs/heads/master
2020-03-30T16:07:22.637571
2018-10-03T10:12:57
2018-10-03T10:12:57
151,394,096
0
0
null
null
null
null
UTF-8
Python
false
false
7,395
py
''' Created on 25 Jul 2012 @author: mcbryan ''' import collections from itertools import izip import csv import math # composite gene class class CompositeGene(): keys = None # keys def __init__(self, name, regionBehaviour,dataBehaviour,avgFunction,validRow): # Stores parameters...
[ "neil.alistair.robertson@hotmail.co.uk" ]
neil.alistair.robertson@hotmail.co.uk
d829730efc735cbc6ac9369fac3ae3dffe0c67d0
f4c0172e70ca5ffbe01695245e82a28291f88d04
/v0.3/Controller/Algorithm.py
3e0095e81b4864bf3d50235addea2d2ce3801968
[]
no_license
huangxinkid/DeepLearning_Wavelet-LSTM
a84e667d5f2db477ac5a9993d8ae329ec9fd115f
b726f99a8631fc48e6943655ace222b0f6b0290b
refs/heads/master
2020-03-24T07:11:52.832149
2018-05-30T18:43:38
2018-05-30T18:43:38
142,556,218
0
1
null
2018-07-27T09:21:18
2018-07-27T09:21:18
null
UTF-8
Python
false
false
1,624
py
# -*- coding: utf-8 -*- ''' ***** 计算包 ***** ''' import numpy as np import pywt #小波分析包 from scipy import signal def MyPywtCWT(data): pass ''' --原始数据信息初始化--''' # Fs = 500000 #采样频率:500 000 Hz ; 采样周期:2 us ''' --尺度计算-- ''' wavename = 'gaus1' totalscal = 256 #尺度序列的长度 #Fc = 2000...
[ "hello.sea@qq.com" ]
hello.sea@qq.com
1d705786d7fa0d53d73234849ae53cb166fa2a17
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part005588.py
305693770a044e0eb4eb602d15ef79ef2212cc9c
[]
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
3,559
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
193b2dcbd810673d2f4bf5c9e7f66da963b0ddbb
9875dfce571669d8ce3f6523651dc8e1ebf661d4
/apps/users/middleware.py
70db7af8c9c826af40f487afae7f587af677f090
[ "MIT" ]
permissive
AppforallHQ/users
a80c0a08e3d660aed21af744383c3d42288c58c5
bb5f393ef3966dbde019a1a07f244b71a342a7ac
refs/heads/master
2020-06-30T20:17:37.641107
2016-11-21T10:53:52
2016-11-21T12:57:38
74,354,420
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
class DisableCSRF(object): def process_request(self, request): # because i use Ajax call and form submit from another system i need it setattr(request, '_dont_enforce_csrf_checks', True)
[ "hi@appforall.ir" ]
hi@appforall.ir
d06300467f74a49f3dcee22bb6accd8a5ecbd128
3b3b78da400b23ea480e437d4ab620da648f6525
/script.py
dad8b85d8238898a3a71bbbfd46c9e23be6475c0
[]
no_license
gaybro8777/Apokalypsis
d1c419fa24807636e211ee54def4399b1baa7e56
eefa59f8e0ff4ff72d411bcf4521e3cdd9ac86f6
refs/heads/main
2023-01-20T10:11:22.803144
2020-11-30T02:17:16
2020-11-30T02:17:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,338
py
import numpy as np import PIL import pyllusion as ill # Test # ill.pareidolia( # pattern="patterns/logo.png", # n=[20, 300, 4000], # sd=[4, 2, 1], # weight=[3, 2, 1], # alpha=80, # blur=0.2) # Logo logo = ill.pareidolia( pattern="patterns/logo.png", n=[20, 300, 4000], sd=[4, 2, 1]...
[ "dom.mak19@gmail.com" ]
dom.mak19@gmail.com
bfe25251929173fa052d679fdd5236e028ac0634
b2041d50df277d3bb6b1b6512811f3dfed88df32
/jc/parsers/w.py
65682166606e265b80e33cf2dfbb9b170fe667fe
[ "MIT" ]
permissive
kasulani/jc
67b4bc076f3646070da4f8c51b339cbdb19bc01f
30cff5f28140a5b20a617c8145c13e43b7b6685b
refs/heads/master
2023-08-17T07:57:08.143292
2021-09-27T17:35:08
2021-09-27T17:35:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,778
py
"""jc - JSON CLI output utility `w` command output parser Usage (cli): $ w | jc --w or $ jc w Usage (module): import jc.parsers.w result = jc.parsers.w.parse(w_command_output) Schema: [ { "user": string, # '-' = null "tty": string, # '-' = n...
[ "kellyjonbrazil@gmail.com" ]
kellyjonbrazil@gmail.com
a8060407becaf0a010d49e498661497187ac4776
d80ef8c716bcc5ea54e87540dbf0463f15bf44ce
/Proxy/test/pathod/test_pathoc.py
4b50e2a76e18587ad486817ba5b5a914e0711afc
[ "MIT" ]
permissive
YagiGo/YPTN
5043d22eb131c7164d3fa575f0c4e3d8a963dbf4
d7692a68ee1bf578536b4c09c566272210fc8b69
refs/heads/master
2018-10-16T03:44:18.024169
2018-07-24T08:53:57
2018-07-24T08:53:57
107,633,669
4
1
MIT
2018-06-08T09:04:29
2017-10-20T04:55:22
JavaScript
UTF-8
Python
false
false
7,770
py
import io from unittest.mock import Mock import pytest from mitmproxy.net import http from mitmproxy.net.http import http1 from mitmproxy import exceptions from pathod import pathoc, language from pathod.protocols.http2 import HTTP2StateProtocol from mitmproxy.test import tutils from . import tservers def test_res...
[ "jeremywu1995@gmail.com" ]
jeremywu1995@gmail.com
cc18cdf5ec88d2e1c641ebc8d35c0b33e3954614
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/common/Lib/json/tests/test_decode.py
034213fe0a12220df7d326ee605216939dcc8117
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,850
py
# 2017.05.04 15:32:48 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/json/tests/test_decode.py import decimal from StringIO import StringIO from collections import OrderedDict from json.tests import PyTest, CTest class TestDecode(object): def test_decimal(self): rval = self.loads('1.1...
[ "info@webium.sk" ]
info@webium.sk
41cfcc72d802cd54cd3984cb735f5ab70df06312
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R4/benchmark/startPyquil125.py
8f452637b1307ee94e925a1a28f92d86a6a67300
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
# qubit number=4 # total number=12 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=1 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
2e9dddf344054ea39d08047c8f848aabd8ec720b
8534f1109cbd6bdae8e5110e2438331ded6f1134
/test_be.py
5079e98a2e08731fe7f7b26f5816aa1a6d8b8243
[]
no_license
laike9m/TestPython
dc802053fd0eee329aca8517ccd6f2e97846f221
0587c33764b8f88975d1156b73400926e77014c6
refs/heads/master
2022-12-21T12:29:45.570030
2022-01-05T06:13:32
2022-01-05T06:13:32
195,931,990
0
0
null
2022-12-13T23:41:15
2019-07-09T04:21:59
Python
UTF-8
Python
false
false
209
py
from birdseye import eye, server class A: def __init__(self, x, y): self.x = x self.y = y @eye def f(): a = A(1, 2) b = A(3, a) f() server.app.run(host="0.0.0.0", port=7777)
[ "laike9m@gmail.com" ]
laike9m@gmail.com
fbe77b70ea1246c6d8bbf2a4286df9a36dd20496
c0c1103a4e8b526fc417010ac9a7d5413acbf62c
/server/app.py
bbf77b5a926c813e56ed3b0e0be5a0f0b676747e
[]
no_license
zedoul/url-shorten
0d7c95a49f3543d1e64bcd0bed24ab9f3e534aca
176b304a456fa0b7302f051537bc1a375790323d
refs/heads/master
2021-01-10T00:57:25.256718
2015-10-14T02:52:13
2015-10-14T02:52:13
44,220,024
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
# -*- coding: utf-8 -*- import os import config from flask import Flask from server.api import api from server.word import Word def create_app(settings_overrides=None): app = Flask(__name__) app.config.from_object('config') configure_settings(app, settings_overrides) configure_blueprints(app) app....
[ "shyeon.kim@scipi.net" ]
shyeon.kim@scipi.net
3c087284efaeefb27e84aa2f5941cb9a64946470
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/little_number/woman_or_same_government/do_time_after_own_company/man/big_eye.py
ac1641e6b110d4de26f550d9cbe4f340c25978d5
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
#! /usr/bin/env python def group(str_arg): new_work_and_other_world(str_arg) print('year_or_thing') def new_work_and_other_world(str_arg): print(str_arg) if __name__ == '__main__': group('long_fact_and_thing')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
efd9b9d1affe8cfe53ccb336becdd3c96d4232d6
d28501318adf2b95690a1d44c0ddc5c71b89cbc9
/nircam_calib/pipeline_testing/saturation/modify_sat_map.py
f6d7f4bf0edc34cba5e8339609ded98cc5672d35
[]
no_license
spacetelescope/nircam_calib
67b9df6c32f0ec1da6d369c6979b584ec6dac29c
2471a70785884f70e1bf5f546ba9f971b15d77fe
refs/heads/master
2023-02-26T08:38:35.436644
2022-06-20T17:22:23
2022-06-20T17:22:23
74,314,514
2
17
null
2023-02-11T00:31:12
2016-11-21T01:20:19
Jupyter Notebook
UTF-8
Python
false
false
965
py
#! /usr/bin/env python ''' Modify an existing saturation map reference file in order to more completely test the pipeline step Flag a couple pixels with no_sat_check, one with the saturation value set to 0 (as it usually is in the reference file), and the other with some non-zero value, just to make sure that it is ...
[ "noreply@github.com" ]
spacetelescope.noreply@github.com
055e6e256f7b4e98c925cdd583c303c700180173
d1742451b25705fc128acc245524659628ab3e7d
/Codeforces with Python/B. Bad Prices.py
cceda8a63f653e6f267356a7b1334164a2e898ef
[]
no_license
Shovon588/Programming
ebab793a3c97aedddfcad5ea06e7e22f5c54a86e
e4922c9138998358eed09a1be7598f9b060c685f
refs/heads/master
2022-12-23T18:29:10.141117
2020-10-04T17:29:32
2020-10-04T17:29:32
256,915,133
1
0
null
null
null
null
UTF-8
Python
false
false
223
py
for _ in range(int(input())): n=int(input()) a=list(map(int,input().split())) a=a[::-1] bad=0 check=a[0] for i in a: if check<i: bad+=1 check=min(check,i) print(bad)
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
ba6dde35036cc09f75099493ddd7bce259bb7981
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/network/latest/get_ddos_protection_plan.py
a9f464342a673d2fa7a57ce6fa5ee6df98c55f77
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
5,799
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...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
de2dd4fb6cb12e29ac93e2b19c0685cea3da3579
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_RelativeDifference/model_control_one_enabled_RelativeDifference_Lag1Trend_Seasonal_MonthOfYear_AR.py
ae4615b7c8fb265b5454bb1ba6bbe5a82f93c1df
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
176
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['RelativeDifference'] , ['Lag1Trend'] , ['Seasonal_MonthOfYear'] , ['AR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
baead4af65aac01182a9b5f529ca9fa2f0e73076
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_None/trend_LinearTrend/cycle_12/ar_/test_artificial_32_None_LinearTrend_12__20.py
a0c4fd563b742db20a231fa41f78c7c3452b63b4
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
266
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 12, transform = "None", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
328ab5856b3a3f826d156704fe27061cea5e53f2
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/v2022_01_01_preview/models/__init__.py
21d9474c1ea607f8bcfd75f5d21e4c6745d83586
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
5,565
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
9cba653d2bb957f09c90d01b76976d7b4fbbbf2c
eb8d4e39a14e2a9c6a982c7b0fa467175371854b
/kids/utils.py
36fcae70df6025faedb7e58326b54faacd0a50fd
[]
no_license
fatelei/kidspy
5df2312238733af661c3c238c722a608ff49df61
ac9630b1b55cab476d39c5997a2ce7b0cf8978ef
refs/heads/master
2021-01-21T14:01:52.358052
2016-06-06T08:27:24
2016-06-06T08:27:24
47,865,336
2
0
null
null
null
null
UTF-8
Python
false
false
764
py
# -*- coding: utf8 -*- """ kids.utils ~~~~~~~~~~ Kids utilities. """ import logging from .log_handler import KidsHandler def setup_kids(level=logging.INFO, port=3388, host="localhost", topic=None): """Setup kids, add `KidsHandler` to root logger. :p...
[ "fatelei@gmail.com" ]
fatelei@gmail.com
4ab4e493acd6943bfa5c5663513522e6742342a3
6444622ad4a150993955a0c8fe260bae1af7f8ce
/djangoenv/lib/python2.7/site-packages/django/conf/locale/zh_Hant/formats.py
77f25d0322d7582dadbce9305b2f69394c2da5a6
[]
no_license
jeremyrich/Lesson_RestAPI_jeremy
ca965ef017c53f919c0bf97a4a23841818e246f9
a44263e45b1cc1ba812059f6984c0f5be25cd234
refs/heads/master
2020-04-25T23:13:47.237188
2019-03-22T09:26:58
2019-03-22T09:26:58
173,138,073
0
0
null
2019-03-22T09:26:59
2019-02-28T15:34:19
Python
UTF-8
Python
false
false
1,663
py
# -*- encoding: utf-8 -*- # This file is distributed under the same license as the Django package. # from __future__ import unicode_literals # The *_FORMAT strings use the Django date format syntax, # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date DATE_FORMAT = "Y年n月j日" # 2016年9月5日 TIME_FORMAT ...
[ "jeremyrich@free.fr" ]
jeremyrich@free.fr
c53ee2e0f93e980c58699ae131b8906d7b73e36c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/303/113340/submittedfiles/testes.py
59df6d6091bc1c7081466969047a53d3b612690c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
# -*- coding: utf-8 -*#notas=[] #for i in range(0,50,1): # notas.append(float(input('DIGITE A NOTA%d[%d]:' %(i+1 , i))) nome=input('Digite o nome de usuário:') verifica=[] n=str(input('Digite a senha:')) verifica.append(n) for i in range(1,verifica,1): if verifica[i-1]==verifica[i]: prin...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
91898b151a5f4686627a0d145e22e70e9c49065a
1a9013a86b5c3866b8d3133a0e73b40474e2381c
/config.py
0c3a75bcbd85d0cd94f9b1de6d337fe32b217271
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
Stanford-PERTS/qdirector
9591797308e941d8d247d04a4c3c8e6c4f384080
20bd9feead2e7517cd42d07b093c9fb12a573f9d
refs/heads/master
2022-10-29T09:39:35.798678
2020-06-14T17:37:25
2020-06-14T17:37:25
272,250,406
0
0
null
null
null
null
UTF-8
Python
false
false
2,846
py
"""Hard coded configuration parameters.""" # Lowercase letters, numbers, and underscore. cohort_code_regex = r'^[a-z0-9_]{4,}$' anonymous_link_regex = r'^https?://.*' unit_test_directory = 'unit_testing' prm_admins = [] boolean_url_arguments = [ ] integer_url_arguments = [ ] # UTC timezone, in ISO date format: YY...
[ "chris@perts.net" ]
chris@perts.net
2521fde1fac369839bb3a45bce890927e631e4ff
d96787f92bd86c8d8bcf01a4e7ec8f7feec24194
/kattis/veci/solution.py
82a4b65521b91e8e01a7f71943ef00cdc8c94e9d
[]
no_license
iandioch/solutions
133cbc3af58fadcde0b2e981fb0e7d05801070a7
8b3e458b3c01179ddf776bfbb897f263f22f3693
refs/heads/master
2023-04-09T03:39:16.952817
2023-03-15T20:00:53
2023-03-15T20:00:53
47,693,495
48
40
null
2019-10-22T14:52:59
2015-12-09T13:36:55
Python
UTF-8
Python
false
false
247
py
def get_digits(n): return sorted(str(n)) n = int(input()) digs = get_digits(n) dig_n = len(digs) i = n + 1 while True: new_digs = get_digits(i) if new_digs == digs: print (i) break elif len(new_digs) > dig_n: print (0) break i += 1
[ "iandioch11@gmail.com" ]
iandioch11@gmail.com
ad1e9727722dbe9f4ae6e592dbc09757c166744e
55defa28b5bd395e7ead2f9ca848f378ee2c8b13
/python/tvm/meta_schedule/utils.py
ceb5f72106041750285f662a26ecbaa43e60f73b
[ "Apache-2.0", "BSD-3-Clause", "Zlib", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-2-Clause" ]
permissive
neo-ai/tvm
456d48c8d80bd7190c91b488b8f9d6cf22918706
da529bf421fcfddd914b41bbe9bf9d5863671266
refs/heads/dev
2023-03-06T03:28:18.303189
2022-05-09T04:25:16
2022-05-09T04:25:16
167,632,700
101
43
Apache-2.0
2023-02-17T20:49:09
2019-01-26T00:35:54
Python
UTF-8
Python
false
false
8,140
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...
[ "ylchobe@gmail.com" ]
ylchobe@gmail.com
5f7d8d8cbcdf942bf9c24e1cc9b618edee85dfb0
90e2c40819b50a512c38f7ea8b8c53c8a11b1103
/requests_test.py
2afe3a177f1b57760b3e3109109a647033d00878
[]
no_license
z6833/EnvProtect
6b93d8413aa3c42a453f17ff09758f54c8722ce6
09619e63264398d8f5b2ac4397dfd1bf7a26f43a
refs/heads/master
2020-04-18T01:32:46.022389
2019-01-23T05:32:28
2019-01-23T05:32:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,861
py
import time import math from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By from openpyxl import Workbook from lxml import etree def save_data(item_dicts): workbook ...
[ "184419810@qq.com" ]
184419810@qq.com
af2a5758dbcd89c3ca38d3f816a417fd564b1d03
76be7830882f7840949239a3a4c3760fde085464
/backend/home/migrations/0002_load_initial_data.py
ed1005248defdd4c566fa00c2707b1f0e6781a27
[]
no_license
crowdbotics-apps/templatecheck4-dev-6979
d433393a79ab46b4c07dcb76e37896842cf756aa
4f4852535215b50745817c9213c98543f13a464f
refs/heads/master
2022-11-12T00:09:05.630079
2020-07-02T20:15:51
2020-07-02T20:15:51
276,733,663
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "TemplateCheck4" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage"...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
624cb514c92074f37db1e935ea5c74b38f393a7c
6a683f5a74863e55b60fdcbb4d0e61008744e364
/Problem Solving/Algorithms/Birthday Cake Candles/solution.py
c378945273c9caed20d253b1632ebef60e4c9dd0
[]
no_license
hercules261188/HackerRank
a9b7ddb16ea4e0c8a127c563b3f41aafbced47af
fc5db02b286ccb4ba0ec53d4716971f2de7d2ee5
refs/heads/master
2022-01-09T16:10:55.009660
2018-04-16T22:20:08
2018-04-16T22:20:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
#!/bin/python3 import sys def birthdayCakeCandles(n, ar): m = max(ar) sum = 0 for i in ar: if(i == m): sum += 1 return(sum) n = int(input().strip()) ar = list(map(int, input().strip().split(' '))) result = birthdayCakeCandles(n, ar) print(result)
[ "noreply@github.com" ]
hercules261188.noreply@github.com
e06182272cd94022fe05c43ac446d317d0b13a88
b0649339b23354610f63e0dc25795cc4d7c7ae06
/django_interface_project/interface_main/migrations/0004_task_taskinterfacerelation.py
0bebd64ca132b1b8acaf840a174a890edb021147
[]
no_license
harter123/test-dev2
65afb6e4f40533629b91c76b3e6cb6ebd4245c27
fa859efae69351ec79b3d8a56e9948797ab76b31
refs/heads/master
2021-07-11T03:43:39.673795
2019-11-24T03:30:10
2019-11-24T03:30:10
196,722,309
7
5
null
2020-09-10T04:34:55
2019-07-13T13:02:55
Python
UTF-8
Python
false
false
1,192
py
# Generated by Django 2.1.7 on 2019-11-03 02:33 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('interface_main', '0003_mock'), ] operations = [ migrations.CreateModel( name='Task', ...
[ "harter@126.com" ]
harter@126.com