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
b644fdae6c47bf17c9975e034e80c39484262a6e
cafefb0b182567e5cabe22c44578bb712385e9f5
/lib/gcloud/datastore/query.py
15519a01f15b6211619350226205630a2d216c9a
[ "BSD-3-Clause" ]
permissive
gtaylor/evennia-game-index
fe0088e97087c0aaa0c319084e28b2c992c2c00b
b47f27f4dff2a0c32991cee605d95911946ca9a5
refs/heads/master
2022-11-25T20:28:23.707056
2022-11-07T17:47:25
2022-11-07T17:47:25
55,206,601
2
2
BSD-3-Clause
2018-04-19T05:41:12
2016-04-01T05:40:15
Python
UTF-8
Python
false
false
17,855
py
# Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "snagglepants@gmail.com" ]
snagglepants@gmail.com
adb49559807c17d8ad1f202ae8ecd3b0b3c20d5c
3338cc681e9760dbf7f7a3ed9bfe14e6ec57ad45
/gcm_sender/apps.py
6841decee05cccaa9e3ab7c7156fc3b97a7c4050
[]
no_license
linxaddict/gcm_web_sender
bd72aed83d848f5924471766bd26d0bf725208a3
30ac733f72173327b8a910ae2a9c5a87a0fbe7c6
refs/heads/master
2021-01-10T08:45:30.030267
2016-02-29T20:03:15
2016-02-29T20:03:15
52,820,528
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from django.apps import AppConfig class GcmSenderConfig(AppConfig): name = 'gcm_sender'
[ "mprzepiorkowski@gmail.com" ]
mprzepiorkowski@gmail.com
55ba0ca91879be3c1ad97a693770b8fd4d88b8bc
cf0779621df542169096d73476de493c0eb7eecd
/setup.py
9454c7f1200e950f028e3ec48532a413397f72cd
[ "MIT" ]
permissive
aixpact/microservices-api
e16884d204dbcc63e1f49a1feb707e5980bdbeec
639725be630f4f049cef9251cb5946dfd846d234
refs/heads/master
2020-05-20T02:55:32.561419
2019-05-08T07:21:47
2019-05-08T07:21:47
185,343,743
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from setuptools import setup setup( name='HelloApp-CLI', version='1.0', packages=['cli', 'cli.commands'], include_package_data=True, install_requires=[ 'click', ], entry_points=""" [console_scripts] hello_app=cli.cli:cli """, )
[ "frank@aixpact.com" ]
frank@aixpact.com
416b80855f6461627677d64403c3f36b99959cfc
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v11/enums/types/conversion_origin.py
636cddf2770b73e0085cb89f0705b9b6c383f762
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
1,240
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
efd46d8641ce515dc35ba0086dd38668077077c3
986a8c5de450fc436897de9aaff4c5f737074ee3
/剑指offer/字符串/正则表达式匹配.py
aebcc76c678aad65e62c9dd65bc9248eb931a8d6
[]
no_license
lovehhf/newcoder_py
7a0ef03f0ea733ec925a10f06566040f6edafa67
f8ae73deef1d9422ca7b0aa9f484dc96db58078c
refs/heads/master
2020-04-27T18:20:19.082458
2019-05-24T15:30:13
2019-05-24T15:30:13
174,564,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
# -*- coding:utf-8 -*- __author__ = 'huanghf' """ 题目描述 请实现一个函数用来匹配包括'.'和'*'的正则表达式。模式中的字符'.'表示任意一个字符,而'*'表示它前面的字符可以出现任意次(包含0次)。 在本题中,匹配是指字符串的所有字符匹配整个模式。例如,字符串"aaa"与模式"a.a"和"ab*ac*a"匹配,但是与"aa.a"和"ab*a"均不匹配 """ class Solution: def match(self, s, p): """ # s, pattern都是字符串 dp[i][j]: s的前i个字符与...
[ "853885165@qq.com" ]
853885165@qq.com
72c5c0b01ae2c2fd37c6514e631e20eaf84a2f41
0cfd2faf3f52af67888f082bd9dc29f34ffdc810
/python/2_0/watchdog.py
e434d9b6e239ae27fd1be2db6b4b5b98b0e61458
[]
no_license
rsprenkels/kattis
28bd078a797a9cfa76509145e39db77fe6a895cd
7d51e8afb841c4bd4debaf5aef0c37f6da6f3abd
refs/heads/master
2023-08-11T00:07:06.308151
2023-07-29T22:04:04
2023-07-29T22:04:04
69,284,864
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
import math from typing import Tuple, Sequence class Point: def __init__(self, x, y): self.x = x self.y = y def __add__(self, other): return Point(self.x + other.x, self.y + other.y) def __sub__(self, other): return Point(self.x - other.x, self.y - other.y) ...
[ "ron.sprenkels@gmail.com" ]
ron.sprenkels@gmail.com
697c6ce021892e01d425df78101ae11b6bfd2b4f
c418bd9d730bc17653611da7f0642bdd25cba65f
/djangosite/users/forms.py
55126f872392526a2768044a49fa73651634d1de
[]
no_license
ErDeepakSingh/Ajax-State-City
ae18a4f4b8ef8e90932d8aed74553897d7ac9b3b
72a31424bd9402ef2c76198ee80934ac399fccf9
refs/heads/master
2020-08-16T02:29:36.081445
2019-10-16T02:51:22
2019-10-16T02:51:22
215,443,208
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserChangeForm class UserUpdateForm(UserChangeForm): password = None class Meta: model = User fields = ['first_name', 'last_name', 'email'] # exclude = ['first_name']
[ "deepakthakur755@gmail.com" ]
deepakthakur755@gmail.com
4e3fac772aa2d67c2aab6d3965c3ef63863ca614
574e874ebd7889c23a6292705dcd89594567bae8
/code/Scheduler_Class.py
3e9aa38a4a331038c83d92063010e9f28ec5c2e7
[]
no_license
hammadhaleem/Switching-Fabric-Simulator
6bb9c65b983c7a23b11fd60f5e6472bc269878c9
279a22c349d02fd061bc52fd77e4c6be223041b7
refs/heads/master
2021-01-17T06:28:08.162967
2015-05-08T08:52:18
2015-05-08T08:52:18
34,894,625
0
2
null
null
null
null
UTF-8
Python
false
false
1,442
py
from Queue_Class import * import time class StandardScheduler(object): def __init__(self, number_of_queue,data): super(StandardScheduler, self).__init__() self.number_of_queue = number_of_queue self.input_queue_object = SuperMultiQueue(int(self.number_of_queue)) self.output_queue_object = SuperMultiQueue(int...
[ "hammadhaleem@gmail.com" ]
hammadhaleem@gmail.com
6d6487a513d54348666f0ce244513f8c0b0773b1
58f095f52d58afa9e8041c69fa903c5a9e4fa424
/examples_UQ/TEST2.py
3519916d32cf9db375c1fa916e9fb27bb71fdba2
[ "BSD-3-Clause" ]
permissive
cdeil/mystic
e41b397e9113aee1843bc78b5b4ca30bd0168114
bb30994987f36168b8f09431cb9c3823afd892cd
refs/heads/master
2020-12-25T23:18:52.086894
2014-08-13T14:36:09
2014-08-13T14:36:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,723
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 2009-2014 California Institute of Technology. # License: 3-clause BSD. The full license text is available at: # - http://trac.mystic.cacr.caltech.edu/project/mystic/browser/mystic/LICENSE ############################...
[ "mmckerns@968178ea-60bd-409e-af13-df8a517b6005" ]
mmckerns@968178ea-60bd-409e-af13-df8a517b6005
e4d4a51da27b89cb326de521ee285f8a1a09faee
f6b9758ed08708b9394e35b51a993c33c7f205da
/NtupleAnalyzer/test/compare_14-11-2016/compare_CERN.py
0733a2528a019ed066d98887bc74c6173886d2a9
[]
no_license
cirkovic/tHFCNC_sync
706da41c3eaf3e372bc477d0ac92c73824e038b1
c6126fd9a80f03f32734f5207a7651c28c8a0a6d
refs/heads/master
2020-07-31T01:12:59.951839
2016-11-30T20:18:31
2016-11-30T20:18:31
73,612,471
0
0
null
null
null
null
UTF-8
Python
false
false
21,672
py
from ROOT import * import sys def checkIfMerged(vals): if True: if vals[0].count('.') > 0: v = vals[0] vals[0] = v[:6] vals.insert(1, v[6:]) #print vals #if True: # for j,v in enumerate(vals): # if v.count('.') == 2: # if...
[ "predrag.cirkovic@cern.ch" ]
predrag.cirkovic@cern.ch
5fdfc19ffacd51059a30914512e970f4bc922a3d
d1742451b25705fc128acc245524659628ab3e7d
/Codeforces with Python/1144B. Parity Alternated Deletions.py
928f29fb4554e6e84745a2c4f5cd70b8baf7e179
[]
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
460
py
n=int(input()) a=list(map(int,input().split())) codd=0;ceven=0;odd=[];even=[] for i in a: if i%2==0: ceven+=1 even.append(i) else: codd+=1 odd.append(i) even.sort(reverse=True) odd.sort(reverse=True) if abs(codd-ceven)<=1: print(0) else: if ceven>codd: ...
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
62d61a289e5ed0d3b6b96274a6af852f57c89682
6b29d66ba7927129b68bc00db769f0edf1babaea
/SoftLayer/CLI/image/list.py
74de2d02dfd63f8749ad77dcae506a180c1ccca1
[ "MIT" ]
permissive
tdurden82/softlayer-python
65f42923c347a164995dfc267829721032de261d
0eed20fa4adedd3228d91d929bb8befb1e445e49
refs/heads/master
2021-01-17T10:01:48.087450
2015-10-19T18:38:53
2015-10-19T18:38:53
46,301,339
0
1
null
null
null
null
UTF-8
Python
false
false
1,731
py
"""List images.""" # :license: MIT, see LICENSE for more details. import SoftLayer from SoftLayer.CLI import environment from SoftLayer.CLI import formatting from SoftLayer.CLI import image as image_mod from SoftLayer import utils import click @click.command() @click.option('--public/--private', is_fl...
[ "k3vinmcdonald@gmail.com" ]
k3vinmcdonald@gmail.com
93d181edc316819ffb8293d1f14bd6c16374f7a0
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/rectanglebinpack/all/conanfile.py
f77182eff1815c5c7427bd8ec64b4c03ec271b88
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
Python
false
false
3,295
py
import os from conan import ConanFile from conan.tools.build import check_min_cppstd from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, load, save required_conan_version = ">=1.53.0" class RectangleBinPackCona...
[ "noreply@github.com" ]
conan-io.noreply@github.com
7a774c68112f02b6e66c5d7a1627a7cd16eb9b9e
1e33b2117a8b601ffb1c7e3af4d7663a7a8969d1
/Sprint4_3ReportJesse.py
b66c3eaba5f4e9ea60132599e3780adcdab7afee
[]
no_license
Botany-Downs-Secondary-College/mathsquiz-patchigalla
5d72a52116928857b532495bf0360dc76d5e01b4
73959cb31e68a7676a41b4cde53c6a0a48c42bd7
refs/heads/main
2023-03-18T22:13:24.168785
2021-03-10T21:45:01
2021-03-10T21:45:01
337,604,400
0
1
null
null
null
null
UTF-8
Python
false
false
10,017
py
#MathsQuiz.py #MathsQuiz app for primary students #P.Patchigalla, Feb 21 '''importing required modules - tkinter, ttk and random''' from tkinter import* from tkinter import ttk from random import* import datetime '''Declare Parent class called MathsQuiz. All objects created from parent class''' class Maths...
[ "noreply@github.com" ]
Botany-Downs-Secondary-College.noreply@github.com
9f08f06ac70f9695835d58acef5f3052583856ea
6f47c9a25cacc91c83f520f040bbebe7479f433d
/python/ccxt/async_support/poloniexfutures.py
bee0ef2e586314a470cb2fec4bd86b45253197a3
[ "MIT" ]
permissive
l3dlp-sandbox/ccxt
ae0a3b96a68d4d53cd725e96df2d245527995f51
60b2b2aa1f0a07086aa52f37bf8a22fd0e43cae1
refs/heads/master
2023-08-08T16:05:33.733548
2023-08-07T17:41:03
2023-08-07T17:41:03
205,384,557
0
0
MIT
2023-09-14T08:58:12
2019-08-30T13:09:25
Python
UTF-8
Python
false
false
76,886
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange from ccxt.abstract.poloniexfutures import ImplicitAPI import hashlib from ccxt.base.t...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
aaf71114a0ea633a8470abae97853ce02b109f69
365c85a280596d88082c1f150436453f96e18c15
/Python/Interview/电梯与爬楼.py
40bfb9e1b5e9d4195c9faf6bda94d32585345960
[]
no_license
Crisescode/leetcode
0177c1ebd47b0a63476706562bcf898f35f1c4f2
c3a60010e016995f06ad4145e174ae19668e15af
refs/heads/master
2023-06-01T06:29:41.992368
2023-05-16T12:32:10
2023-05-16T12:32:10
243,040,322
1
1
null
null
null
null
UTF-8
Python
false
false
489
py
import sys class Solution: def find_floor(self, floor, nums): res = [0 for i in range(floor)] min_res, min_index = sys.maxsize, 0 for i in range(floor): for j in range(len(nums)): res[i] += abs(i - nums[j]) if min_res > res[i]: min_...
[ "zhaopanp2018@outlook.com" ]
zhaopanp2018@outlook.com
56087d81dafd62bf5c993992aa00023609074dce
acc7137e34fdc950fbb2593b2c4b0355c975faa3
/diffy_api/schemas.py
4efb43587c24a360186b0e9ac3a5e8e8c37271bb
[ "Apache-2.0" ]
permissive
kevgliss/diffy
ba8b01b2c0daa81faa39d69e1380eea16b84d732
681d5edd4a72e47a924d4b1b1136d40efa52b631
refs/heads/master
2020-03-14T20:10:21.797782
2018-05-01T22:09:16
2018-05-01T22:09:16
131,772,394
0
0
null
2018-05-01T23:10:15
2018-05-01T23:10:14
null
UTF-8
Python
false
false
1,166
py
""" .. module: diffy.schemas :platform: Unix :copyright: (c) 2018 by Netflix Inc., see AUTHORS for more :license: Apache, see LICENSE for more details. .. moduleauthor:: Kevin Glisson <kglisson@netflix.com> """ from marshmallow import fields from diffy.schema import ( TargetPluginSchema, Persistenc...
[ "kevgliss@gmail.com" ]
kevgliss@gmail.com
697bac709aa09a2bdbb3d97f1417cfb4bbcc306d
f4b011992dd468290d319d078cbae4c015d18338
/Array/Container_With_most_Water.py
1c1adf9cf2aa2c41e70c6b93616bcd5d35dbfaf5
[]
no_license
Neeraj-kaushik/Geeksforgeeks
deca074ca3b37dcb32c0136b96f67beb049f9592
c56de368db5a6613d59d9534de749a70b9530f4c
refs/heads/master
2023-08-06T05:00:43.469480
2021-10-07T13:37:33
2021-10-07T13:37:33
363,420,292
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
def container(li): max = 0 for i in range(len(li)-1): for j in range(i+1, len(li)): a = j-i b = min(li[i], li[j]) c = a*b if max < c: max = c print(max) n = int(input()) li = [int(x) for x in input().split()] container(li)
[ "nkthecoder@gmail.com" ]
nkthecoder@gmail.com
f78f2203b461289608061f69e6fbe921db6e52b3
8afb5afd38548c631f6f9536846039ef6cb297b9
/GIT-USERS/TOM-Lambda/CSEU2-Graphs-gp/src/challenge2/isl.py
ac24bdb92ca489c6b326e7896af3ef9e3e78d855
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,689
py
from util import Queue <<<<<<< HEAD # island count problem def island_counter(arr): rows = len(arr) cols = len(arr[0]) count = 0 for i in range(rows): for j in range(cols): if arr[i][j] == 1: deleteOnes(arr, i, j, rows, cols) count += 1 return count def deleteOnes(grid, i, j, ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
97b2ab61542ae094603a2691a04ef0fffc95cf21
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/eBay/Trading/EndItem.py
87aa0de2ea3a105cb636525193a819e0e0d694df
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
4,780
py
# -*- coding: utf-8 -*- ############################################################################### # # EndItem # Ends the specified item listing before the date and time that it is scheduled to end per the listing duration. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the A...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
65261f757b8d466feca4479d5346beec5a78e31b
e6d862a9df10dccfa88856cf16951de8e0eeff2b
/Core/worker/python-aiohttp/api_server/models/worker_performance_event_duty_details.py
f29762066c70ea15c67959153241105705c85d5b
[]
no_license
AllocateSoftware/API-Stubs
c3de123626f831b2bd37aba25050c01746f5e560
f19d153f8e9a37c7fb1474a63c92f67fc6c8bdf0
refs/heads/master
2022-06-01T07:26:53.264948
2020-01-09T13:44:41
2020-01-09T13:44:41
232,816,845
0
0
null
2022-05-20T21:23:09
2020-01-09T13:34:35
C#
UTF-8
Python
false
false
3,121
py
# coding: utf-8 from datetime import date, datetime from typing import List, Dict, Type from api_server.models.base_model_ import Model from api_server import util class WorkerPerformanceEventDutyDetails(Model): """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). D...
[ "nigel.magnay@gmail.com" ]
nigel.magnay@gmail.com
0f79ee95751b41818a702247f7f40d6f88f71c80
7950c4faf15ec1dc217391d839ddc21efd174ede
/leetcode-cn/1220.0_Count_Vowels_Permutation.py
01e3682d75f3280c9a127e70607bc6363f6959ee
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
709
py
''' 执行用时:120 ms, 在所有 Python3 提交中击败了63.64% 的用户 内存消耗:15.1 MB, 在所有 Python3 提交中击败了59.09% 的用户 通过测试用例:43 / 43 ''' class Solution: def countVowelPermutation(self, n: int) -> int: ''' a -> e e -> a/i i -> a/e/o/u o -> i/u u -> a ''' MOD = 10 ** 9 + 7 a...
[ "laoxing201314@outlook.com" ]
laoxing201314@outlook.com
f19f605ddf8db8b480c00c74ed23b523b12ed70d
319d3dfc79d6249bf6d6dab1c51a7d5d0af3c860
/tests/test_line_set_data.py
00aa7bc5bec56fa3340c23db28ff5477fc06cb6e
[ "MIT" ]
permissive
jameshensman/matplotlib2tikz
1d365b6a9e91453492a17ec28c5eb74f2279e26e
450712b4014799ec5f151f234df84335c90f4b9d
refs/heads/master
2023-01-24T07:59:53.641565
2022-02-28T11:27:51
2022-02-28T11:27:51
169,421,478
1
0
MIT
2019-02-06T14:47:09
2019-02-06T14:47:08
null
UTF-8
Python
false
false
320
py
# from <https://github.com/nschloe/tikzplotlib/issues/339> import matplotlib.pyplot as plt def plot(): fig = plt.figure() line = plt.plot(0, 0, "kx")[0] line.set_data(0, 0) return fig def test(): from .helpers import assert_equality assert_equality(plot, "test_line_set_data_reference.tex")
[ "nico.schloemer@gmail.com" ]
nico.schloemer@gmail.com
b56d1a4f34a8e9cc9ae7192fc5b710a3e1a0ee47
c3523080a63c7e131d8b6e0994f82a3b9ed901ce
/django/hello_world/hello_world_project/my_app/views.py
93892aad6dc8f05c979061a01916dbfbfe83c670
[]
no_license
johnlawrenceaspden/hobby-code
2c77ffdc796e9fe863ae66e84d1e14851bf33d37
d411d21aa19fa889add9f32454915d9b68a61c03
refs/heads/master
2023-08-25T08:41:18.130545
2023-08-06T12:27:29
2023-08-06T12:27:29
377,510
6
4
null
2023-02-22T00:57:49
2009-11-18T19:57:01
Clojure
UTF-8
Python
false
false
655
py
from django.shortcuts import render # Create your views here. from django.http import HttpResponse import datetime def index(request): return HttpResponse( "Hello, World!" "<a href='secret'>secrets</a>" "<a href='geeks_view'>geeks_view</a>" "<a href='template'>template</a>" ) ...
[ "github@aspden.com" ]
github@aspden.com
7b1190e83ad63f84b348c940915312eff30c3b58
444a9480bce2035565332d4d4654244c0b5cd47b
/research/nlp/gpt2/src/utils/metric_method.py
721d3f0619b1251f5d85a89639ac74cfe067a333
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
6,095
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "chenhaozhe1@huawei.com" ]
chenhaozhe1@huawei.com
8c77d762715a190f6a21873d09291edc7d9199dd
491c1e520a64e3ebd5349130f35047aaed1e70ec
/stack/monotonic_stack/739 dailyTemperatures.py
c8944e497eca5d5c03af42c94c50ed5f70a3e33b
[]
no_license
pangyouzhen/data-structure
33a7bd7790c8db3e018114d85a137f5f3d6b92f8
cd46cf08a580c418cc40a68bf9b32371fc69a803
refs/heads/master
2023-05-26T12:02:30.800301
2023-05-21T08:07:57
2023-05-21T08:07:57
189,315,047
0
0
null
null
null
null
UTF-8
Python
false
false
1,414
py
from typing import List class Solution: # 暴力解法 def dailyTemperatures_(self, temperatures: List[int]) -> List[int]: if not temperatures: return [] l = len(temperatures) res = [0] * l for i in range(l): for j in range(i + 1, l): ...
[ "pangyouzhen@live.com" ]
pangyouzhen@live.com
301c10bb286366de50022142a49a5e4c3d4219c9
c80b3cc6a8a144e9858f993c10a0e11e633cb348
/plugins/gateway-acl/acl/api/group.py
a647f836086fc9940457cbd96486ebaae5fd5068
[]
no_license
cristidomsa/Ally-Py
e08d80b67ea5b39b5504f4ac048108f23445f850
e0b3466b34d31548996d57be4a9dac134d904380
refs/heads/master
2021-01-18T08:41:13.140590
2013-11-06T09:51:56
2013-11-06T09:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,462
py
''' Created on Aug 7, 2013 @package: gateway acl @copyright: 2012 Sourcefabric o.p.s. @license: http://www.gnu.org/licenses/gpl-3.0.txt @author: Gabriel Nistor API specifications for access group. ''' from .domain_acl import modelACL from acl.api.acl import IAclPrototype from acl.api.compensate import ICompensatePro...
[ "gabriel.nistor@sourcefabric.org" ]
gabriel.nistor@sourcefabric.org
9377ca1d4e1a8f7e874803665efdc587668509ce
4bc19f4dd098ebedcb6ee78af0ae12cb633671fe
/rekvizitka/templatetags/signin_tags.py
8226953cbaa61707f115f701fe9c2a6a61ba2593
[]
no_license
StanislavKraev/rekvizitka
958ab0e002335613a724fb14a8e4123f49954446
ac1f30e7bb2e987b3b0bda4c2a8feda4d3f5497f
refs/heads/master
2021-01-01T05:44:56.372748
2016-04-27T19:20:26
2016-04-27T19:20:26
57,240,406
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
# -*- coding: utf-8 -*- from django import template from rek.rekvizitka.forms import SigninForm, SignupForm register = template.Library() @register.inclusion_tag("includes/navigation/index.html", takes_context=True) def signin_form(context): result = {} for d in context: result.update(d) ...
[ "kraevst@yandex.ru" ]
kraevst@yandex.ru
430c29e62b60c6a030c6eebfbbf4f5c8806ae29f
f48f9798819b12669a8428f1dc0639e589fb1113
/office/misc/zekr/actions.py
7f611db22f147aa0500f55fdb6215f5233806360
[]
no_license
vdemir/PiSiPackages-pardus-2011-devel
781aac6caea2af4f9255770e5d9301e499299e28
7e1867a7f00ee9033c70cc92dc6700a50025430f
refs/heads/master
2020-12-30T18:58:18.590419
2012-03-12T03:16:34
2012-03-12T03:16:34
51,609,831
1
0
null
2016-02-12T19:05:41
2016-02-12T19:05:40
null
UTF-8
Python
false
false
1,131
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2011 TUBITAK/BILGEM # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools ...
[ "kaptan@pisipackages.org" ]
kaptan@pisipackages.org
30d47c3b4db546a33d6f8b9cc2e181c424689c59
23e0629881270a881e68b2b07c6b8bc8b53c4127
/glmtools/test/residual_test_int_scaling_nc.py
746dcf06ef19d887e7e25f87429c712f3319eb1e
[ "BSD-3-Clause" ]
permissive
fluxtransport/glmtools
7a78ed697ef3515869fa5c46afa9cd1b03700514
ae17d95b61af011cf966392ba94863c5928053b7
refs/heads/master
2022-09-12T00:20:31.378392
2020-06-05T16:25:48
2020-06-05T16:25:48
266,206,763
1
1
BSD-3-Clause
2020-05-22T21:02:06
2020-05-22T21:02:06
null
UTF-8
Python
false
false
1,655
py
""" This set of tests reads the GLM data two ways, one by applying the unsigned integer conversion manually, and the other by using the automatic method implemented in the library. It was used to test PR #658 developed in response to issue #656 on the unidata/netcdf4-python library. The second, full-auto method should...
[ "eric.bruning@gmail.com" ]
eric.bruning@gmail.com
165573a4fe8aadb00a0a2ffec9a278040aa43dc8
3c8c2af952f2a785ca648c44954961a198c2ac6b
/tensorflower/Examples/NeuralNetworkExample/simple_neural_network_with_eager.py
a0be16daa338f9e52c6f3ae4318fdfcd600cdaf4
[]
no_license
SCismycat/TensorFlowLearning
0b8db07ca24f6a7ac75ddc9a91f7a13c71709104
e5fe6359e2ae9fdfc6a6824efdfc2660c7a9d061
refs/heads/master
2020-11-25T18:30:55.859591
2020-01-03T12:45:24
2020-01-03T12:45:24
228,793,975
1
0
null
null
null
null
UTF-8
Python
false
false
3,190
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : Leslee # @Email : leelovesc@gmail.com # @Time : 2019.11.27 14:05 import tensorflower as tf tf.enable_eager_execution() tfe = tf.contrib.eager # Import MNIST data from tensorflower.examples.tutorials.mnist import input_data mnist = input_data.read_data_s...
[ "leelovesc@gmail.com" ]
leelovesc@gmail.com
c3a297697958ee4ea8b8da950940b83f77a8ac04
72c01ee9f863f2b6ab02bf01e0e0e16595aeee4a
/session_3/hello.py
57d217a9b41da8d94c1986b8db70f3dfb7cbb708
[]
no_license
voronind/la
1151d3066b0500864e59fda6d665e47d1f329f95
4f73f9e68c085b1d60cdc435f0c850ff27976182
refs/heads/master
2021-05-27T11:37:06.035679
2013-12-03T19:15:43
2013-12-03T19:15:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
#!/usr/bin/env python import os print('Hello, {user}!'.format(user=os.environ['USER']))
[ "dimka665@gmail.com" ]
dimka665@gmail.com
65949528935c33a7194c89fc9126372595d6568f
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/recipes/python/wtforms.py
d5f3bc0b4cb6ebf88755c2e29ac9acc1dcd3dcdf
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
from .base import PipBaseRecipe class WTFormsRecipe(PipBaseRecipe): def __init__(self, *args, **kwargs): super(WTFormsRecipe, self).__init__(*args, **kwargs) self.sha256 = 'ffdf10bd1fa565b8233380cb77a304cd' \ '36fd55c73023e91d4b803c96bc11d46f' self.name = 'wtforms' ...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
ee4aa5b7b8776a3802c3d5fa8988bbc65c97c2f1
169cf85b51fc4aec751292e75d671f5df3afc6fb
/tests/test_pyutils.py
c8d938400f6a91bd6d7e9f475afe110cbabb4017
[]
no_license
juliotux/astropop
e1461e377783710b7ad529700c3e399977489e23
f6cb6f4aa9183be4c171779a35bad6624afbbbf9
refs/heads/main
2023-08-31T06:40:34.474068
2023-07-09T15:08:10
2023-07-09T15:08:10
127,958,109
14
12
null
2023-04-03T12:06:23
2018-04-03T19:25:33
Python
UTF-8
Python
false
false
11,701
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst # flake8: noqa: F403, F405 import pytest import shlex from astropop.py_utils import string_fix, process_list, \ check_iterable, batch_key_replace, \ run_command, IndexedDict, check_number, \ ...
[ "juliocampagnolo@gmail.com" ]
juliocampagnolo@gmail.com
fb2ae029326cdc5260c2c34c847575975d292b52
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03449/s515079577.py
ed708e8b8f9b546f606183d8cdb3a5cc6cd6ae6f
[]
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
929
py
import math from math import gcd,pi,sqrt INF = float("inf") MOD = 10**9 + 7 import sys sys.setrecursionlimit(10**6) import itertools import bisect from collections import Counter,deque def i_input(): return int(input()) def i_map(): return map(int, input().split()) def i_list(): return list(i_map()) def i_row(N): retu...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3a60fe79b32100607536ae6536cd91c46be9e2ed
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/mediatranslation/v1beta1/mediatranslation-v1beta1-py/noxfile.py
235477334e1e16d28e4cf484fb7e4a2071eaf77b
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
d6c5fb6544862ff09a8094ced5cad5531d23f3bd
ede51c5a9031e896155d6abc2c43295e94bc2abe
/apps/account/views.py
2bbe7486e5275e07307fc6759e35f1f5250a6e5b
[ "MIT" ]
permissive
ChinaParrot/loonflow
1b49ae352476dae8dfc8156ab89a79b5174160f1
5cc57fbb0ab328cd90aaeb6dd9daf16bf39c49be
refs/heads/master
2020-05-20T03:08:19.538246
2019-05-06T15:52:21
2019-05-06T15:52:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,688
py
import json from django.shortcuts import redirect from django.utils.decorators import method_decorator from django.views import View from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from service.account.account_base_service import AccountBaseService ...
[ "blackholll@163.com" ]
blackholll@163.com
7b2e484e63c5fc45c04b1b476c54ad6f48df39f1
a34b9c6cb03e13e0b13f55f3fcd23e974187a19b
/ample/utils.py
c31b1cbbbeb76b55ddb36918d3661cf0b51c3a1e
[ "MIT" ]
permissive
hhcho/ample
a9496e18943da1116a804cee27a2759905ce29a1
cdb28d1ff1d285d851350e0446d0dc5e48a7a561
refs/heads/master
2020-04-10T19:08:10.569231
2018-12-12T17:42:03
2018-12-12T17:42:03
161,224,274
0
0
MIT
2018-12-12T17:42:04
2018-12-10T19:14:06
Python
UTF-8
Python
false
false
1,633
py
import errno from fbpca import pca import datetime import numpy as np import os from sklearn.random_projection import SparseRandomProjection as JLSparse import sys # Default parameters. DIMRED = 100 def log(string): string = str(string) sys.stdout.write(str(datetime.datetime.now()) + ' | [ample] ') sys.st...
[ "brianhie@mit.edu" ]
brianhie@mit.edu
9206f7deeac420809be8a7ba2e64e36170b26ce7
254f1c347c1c9412b8e7d2c41d4b53eae57e8ead
/analysis/hchii_candidates.py
e69ab1aa3cec535cb56308252e05a014f131f73c
[]
no_license
keflavich/MGPS
16d9b2343e4e78609d77c9138341c04273d62b10
a9f9dbaead132c42dd74de9915d2996c1fb0cf02
refs/heads/master
2021-06-03T06:33:49.335347
2020-11-04T01:21:45
2020-11-04T01:21:45
136,971,627
1
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
from dendrocat.aperture import Circle, Annulus from astropy import wcs from astropy.io import fits from astropy.stats import mad_std from astropy.convolution import convolve_fft, Gaussian2DKernel from astropy import units as u from astropy import coordinates from astropy.table import Column, Table import regions import...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
3bcaece774afadaf9337a2966e2f51dc0850ba20
cb25407fc1480f771391bb09e36dad123ec9fca2
/bin/backupz.py
48644d780bc7d83d269ca55a769e30ee3e83314d
[]
no_license
prataprc/zeta
f68925c9dfbf70331eae59ff5cf173956d249696
9c3bc88c56c67d0fff5c0790d768ad6cac79642f
refs/heads/master
2021-01-20T01:51:20.194893
2017-04-25T08:07:41
2017-04-25T08:07:41
89,334,343
0
1
null
null
null
null
UTF-8
Python
false
false
3,182
py
#! /usr/bin/env python # This file is subject to the terms and conditions defined in # file 'LICENSE', which is part of this source code package. # Copyright (c) 2009 SKR Farms (P) LTD. # Gotcha : # Notes : # * The back-up direcotry structure, # <bkpdir> # |---<name> # |---<...
[ "prataprc@gmail.com" ]
prataprc@gmail.com
963002037c164929ea7727c36d3bf9cd05df3dd9
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories/126714/kaggle-avazu-master/script/rare.py
43114a58f77b0a7a3318461e834e50e3edd2f92b
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
870
py
import marshal def stat(input,isTest): f = open(input) line = f.readline() count = 0 while True: line = f.readline() if not line: break count += 1 if count % 100000 == 0: print count lis = line.split(",") index = 11 if isT...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
ffc88f94db44f760091df1a143e9f2971d8b52db
3700369b3c560e47dbc27c8b059b6f000a361f83
/webapp/models.py
9dc630d78b90b422702a3c3562405d4fb3819577
[]
no_license
Aitmatow/instagram
0a44bc05db6308ccb4648d55932613d1377915d1
2b8e19e899316720d1f0626a7587f1b895c77a6f
refs/heads/master
2022-11-23T00:14:05.189119
2019-12-16T08:47:42
2019-12-16T08:47:42
227,972,959
1
0
null
2022-11-22T04:54:20
2019-12-14T05:46:03
Python
UTF-8
Python
false
false
929
py
from django.db import models QUOTE_NEW = 'new' QUOTE_APPROVED = 'approved' QUOTE_STATUS_CHOICES = ( (QUOTE_NEW, 'Новая'), (QUOTE_APPROVED, 'Подтверждена') ) # Create your models here. class Quote(models.Model): text = models.TextField(max_length=2000, verbose_name='Текст цитаты') created_at = models.D...
[ "aitmarowd@gmail.com" ]
aitmarowd@gmail.com
3de72fca9b59c9ff80421a1ee18a4fe0e90610bd
7e743d01ab6e3c23d24ac9d31db6f46628826958
/cmasher/colormaps/waterlily/waterlily.py
ac10a3c72f8f0d71627bbf6f5fabf50cbe3408a5
[ "BSD-3-Clause" ]
permissive
telegraphic/CMasher
603fdbeaabd4e2404d199c596dc6436b180f025d
0c518b8b7cdea2207eacaaf28b460da73f6b2903
refs/heads/master
2022-11-18T10:46:19.238033
2020-07-21T07:00:00
2020-07-21T07:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,668
py
# %% IMPORTS # Package imports from matplotlib.cm import register_cmap from matplotlib.colors import ListedColormap # All declaration __all__ = ['cmap'] # Author declaration __author__ = "Ellert van der Velden (@1313e)" # Package declaration __package__ = 'cmasher' # %% GLOBALS AND DEFINITIONS # Type of this color...
[ "ellert_vandervelden@outlook.com" ]
ellert_vandervelden@outlook.com
cd94f45eb0dc8a9695b7edda556ed08c23785c4f
663d89c6d26b66673d2df136366dab6f36f17ee9
/audiovisual/indico_audiovisual/blueprint.py
f281f0bd19160c861bf5b607ed314e0150b5c730
[ "MIT" ]
permissive
rama270677/indico-plugins-cern
1a0a421bd45ce3f8bcea60d04ab4edca92fc5421
4ab66be5d633f31922be1ee8fd9d3a0905610924
refs/heads/master
2022-12-01T04:44:28.861197
2020-08-21T14:35:13
2020-08-21T14:35:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
# This file is part of the CERN Indico plugins. # Copyright (C) 2014 - 2020 CERN # # The CERN Indico plugins are free software; you can redistribute # them and/or modify them under the terms of the MIT License; see # the LICENSE file for more details. from __future__ import unicode_literals from indico.core.plugins i...
[ "adrian.moennich@cern.ch" ]
adrian.moennich@cern.ch
34f23e5d5803c1e8ef372ec6d8a00f6416b33083
d5ba475a6a782b0eed5d134b66eb8c601c41421c
/terrascript/data/docker.py
e4f799274d97d85094ebb96f999803db056d4c25
[ "BSD-2-Clause", "Python-2.0" ]
permissive
amlodzianowski/python-terrascript
ab42a06a5167e53ad8093b656a9bf14a03cb031d
142b1a4d1164d1012ac8865d12fdcc72f1e7ae75
refs/heads/master
2021-05-19T11:59:47.584554
2020-03-26T07:13:47
2020-03-26T07:13:47
251,688,045
0
0
BSD-2-Clause
2020-03-31T18:00:22
2020-03-31T18:00:22
null
UTF-8
Python
false
false
225
py
# terrascript/data/docker.py import terrascript class docker_registry_image(terrascript.Data): pass class docker_network(terrascript.Data): pass __all__ = [ "docker_registry_image", "docker_network", ]
[ "markus@juenemann.net" ]
markus@juenemann.net
62038fb02730d5e2937c4c3c32633477e176b0f2
66f1bfc0c12a7491dd4cb7b5767ba1f0e39d9f37
/image_classification/utils/file_processing.py
49b111c2eff61a391d905df091019195df2619b2
[]
no_license
CaravanPassenger/pytorch-learning-notes
a3352c8715f17841f4cbf297f20c58f7f040ec03
d3e44fad42809f23762c9028d8b1d478acf42ab2
refs/heads/master
2023-08-29T09:05:36.018059
2021-09-30T10:23:40
2021-09-30T10:23:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,337
py
# -*-coding: utf-8 -*- """ @Project: IntelligentManufacture @File : file_processing.py @Author : panjq @E-mail : pan_jinquan@163.com @Date : 2019-02-14 15:08:19 """ import glob import os <<<<<<< HEAD import os, shutil import numpy as np import json import pandas as pd def read_json_data(json_p...
[ "pan_jinquan@163.com" ]
pan_jinquan@163.com
b8a56eb177c481f347143f82e27e2e8e2fac50ec
4d790ddf9f1432f5b682009c0e4e953e7443c768
/Gardener/python/variables/allBtagPogScaleFactorsICHEP.py
9fa3911f38b57d39c2cc82b63f036ad6bae798c2
[]
no_license
pmatorras/LatinoAnalysis
cc6d80ce18efd4ef2d99548477a0498f811b0cca
4b34d0d4f473088c30db3cd5a00ffece7127a3e8
refs/heads/master
2023-07-20T06:02:48.097585
2019-09-13T09:25:56
2019-09-13T09:25:56
210,785,511
1
0
null
2019-09-25T07:43:46
2019-09-25T07:43:46
null
UTF-8
Python
false
false
41,154
py
import optparse import numpy import ROOT import os.path from LatinoAnalysis.Gardener.gardening import TreeCloner #from HWWAnalysis.ShapeAnalysis.triggerEffCombiner import TriggerEff #___. __ __________ _________ ___________ __ ...
[ "lorenzo.viliani@cern.ch" ]
lorenzo.viliani@cern.ch
f5ebb98bb66da12d55b669a91f4934411791b362
629f2bcdfb0902e013c16792184d4d809e40b775
/notebooks/tests/group_images_by_cycle_for_panoramic_stitching/test_group_images_by_cycle.py
f438b251676b15c959701135a2187adec3264157
[ "BSD-3-Clause" ]
permissive
neutronimaging/python_notebooks
7d7a1df33300c4b952873efdfb358098a658896d
70a43a76eaf08f4ac63db3df7fbfb2e5cdb1216e
refs/heads/next
2023-08-30T20:05:20.225198
2023-07-05T16:38:10
2023-07-05T16:38:10
99,945,953
8
7
BSD-3-Clause
2022-11-03T12:03:30
2017-08-10T16:56:26
Jupyter Notebook
UTF-8
Python
false
false
4,106
py
from pathlib import Path from notebooks.__code.group_images_by_cycle_for_panoramic_stitching.group_images_by_cycle import GroupImagesByCycle import glob class TestGroupImagesByCycle: def setup_method(self): data_path = Path(__file__).parent.parent self.data_path = str(data_path) tiff_pat...
[ "bilheuxjm@ornl.gov" ]
bilheuxjm@ornl.gov
294de16b645cac37a71d2da6cad69031b535576e
274563cbc93b8dfb93eb574babc4ab5109a20de2
/basic/simple_draw_text.py
b0220f9f159a97fc9bc3f69992c39cab7a2cb8b9
[]
no_license
land-pack/opencv-example
ed349cc4196b017ecfadc20d3419542dbb580111
bef764c31e7fb3aaaa91fdceddc4617d5c9baedd
refs/heads/master
2021-09-12T19:42:41.570268
2018-04-20T07:01:55
2018-04-20T07:01:55
109,978,004
1
0
null
null
null
null
UTF-8
Python
false
false
255
py
import numpy as np import cv2 img = np.zeros((512, 512, 3), np.uint8) font = cv2.FONT_HERSHEY_SIMPLEX cv2.putText(img, 'Frank AK', (10, 500), font, 4, (255, 255, 255), 2, cv2.LINE_AA) cv2.imshow('Text', img) cv2.waitKey(0) cv2.destroyAllWindows()
[ "landpack@sina.com" ]
landpack@sina.com
bc9e7e89d2e6baf54b81ba09c4a086e283f0e331
d67bd00f8fe819bd3011ce154c19cbc765d59f1d
/branches/4.0_buildout/openlegis/sagl/skins/cadastros/auxiliares/tipo_norma_juridica/titulo_salvar_pysc.py
74f5c0d14c877874fc08a3e7eefbbd31d9f42463
[]
no_license
openlegis-br/sagl
90f87bdbbaa8a6efe0ccb5691ea8424575288c46
eabf7529eefe13a53ed088250d179a92218af1ed
refs/heads/master
2023-08-31T12:29:39.382474
2023-08-29T16:12:01
2023-08-29T16:12:01
32,593,838
17
1
null
2023-08-29T06:16:55
2015-03-20T16:11:04
Python
UTF-8
Python
false
false
376
py
## Script (Python) "titulo_salvar_proc" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=id, title ##title= ## if hasattr(context.sapl_documentos.modelo.norma,id): arquivo = getattr(context.sapl_documentos.modelo.norma,id) arqui...
[ "contato@openlegis.com.br" ]
contato@openlegis.com.br
89659d4b65962b9ea76b4d78d503da8bc52d4d1e
9fa490196c2f7b2e102ed1b3c512403a9a5655e3
/src/examples/lookup_example.py
518da3720badec9cef9a519de4d0c031e807af3f
[]
no_license
TRomijn/EMAworkbench
742d29d997e05d8dce4150dc09207d2b1fe10e95
02a211f95c1e0a634aba1d1cadadbeba33b1e27e
refs/heads/master
2021-01-18T20:49:47.501239
2017-03-10T13:31:00
2017-03-10T13:31:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,657
py
''' Created on Oct 1, 2012 This is a simple example of the lookup uncertainty provided for use in conjuction with vensim models. This example is largely based on `Eker et al. (2014) <http://onlinelibrary.wiley.com/doi/10.1002/sdr.1518/suppinfo>`_ @author: sibeleker @author: jhkwakkel ''' from __future__ import (div...
[ "j.h.kwakkel@tudelft.nl" ]
j.h.kwakkel@tudelft.nl
0684fd9bf23ea4983d08f5962ec01b548213fbe2
870639af1487cf59b548f56c9cd1a45928c1e2c2
/homeassistant/components/fronius/__init__.py
f605e57bac24ef8b38185962242913b82a2bc039
[ "Apache-2.0" ]
permissive
atmurray/home-assistant
9f050944d26c084f8f21e8612a7b90c0ae909763
133cb2c3b0e782f063c8a30de4ff55a5c14b9b03
refs/heads/dev
2023-03-19T04:26:40.743852
2021-11-27T05:58:25
2021-11-27T05:58:25
234,724,430
2
0
Apache-2.0
2023-02-22T06:18:36
2020-01-18T11:27:02
Python
UTF-8
Python
false
false
8,197
py
"""The Fronius integration.""" from __future__ import annotations import asyncio from collections.abc import Callable import logging from typing import TypeVar from pyfronius import Fronius, FroniusError from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_MODEL, ATTR_SW_VERSION,...
[ "noreply@github.com" ]
atmurray.noreply@github.com
e3b04d3b778413a7f94a95da22d271e008cd9655
02a0fff2786e5c24eb3f5aa505475705bf460196
/tests/test_openapi_schema.py
914f84912e37c7b5fb5c2630232f6b138132a2e5
[ "MIT" ]
permissive
ismohamedi/django-ninja
5b63b0d45c0b22a36996e97f82fa289e91ccdffb
774f7f2af536dbedf527376f1ed6724b2456a54f
refs/heads/master
2023-03-12T22:30:16.991598
2021-02-19T14:55:30
2021-02-19T14:55:30
341,249,874
1
0
null
null
null
null
UTF-8
Python
false
false
3,295
py
from typing import List from unittest.mock import patch from ninja import NinjaAPI, Schema from django.test import Client, override_settings from copy import copy api = NinjaAPI() class Payload(Schema): i: int f: float class Response(Schema): i: int f: float @api.post("/test", response=Response)...
[ "ppr.vitaly@gmail.com" ]
ppr.vitaly@gmail.com
88d46720752a93211916300c547dbdb1f076b09f
0bb474290e13814c2498c086780da5096453da05
/diverta2019/A/main.py
9d653fcacf100b95d6cac66ff44625485aa86670
[]
no_license
ddtkra/atcoder
49b6205bf1bf6a50106b4ae94d2206a324f278e0
eb57c144b5c2dbdd4abc432ecd8b1b3386244e30
refs/heads/master
2022-01-25T15:38:10.415959
2020-03-18T09:22:08
2020-03-18T09:22:08
208,825,724
1
0
null
2022-01-21T20:10:20
2019-09-16T14:51:01
Python
UTF-8
Python
false
false
560
py
#!.//usr/bin/env python3 import sys def solve(N: int, K: int): print(N-(K-1)) return # Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template) def main(): def iterate_tokens(): for line in...
[ "deritefully@gmail.com" ]
deritefully@gmail.com
08787715e5c39a2256e078d7d66ba33fc723d3cb
b2b9cd537c4c6a216d9b1ee32008cc8e98552405
/Oriented_crawler/simple_thread/needheader.py
b7e1afc46eb45b39712ffaf80679f9f2e63e5943
[]
no_license
liyanfeng0127/python2_bdrw
ce982813645294b884d73cd2bbc4de5a33fa2cd5
52eba0d67d30ed5ce23e01dde69db35a8ed65787
refs/heads/master
2021-05-08T06:50:53.916210
2017-10-12T10:41:05
2017-10-12T10:41:05
106,676,637
1
0
null
null
null
null
UTF-8
Python
false
false
960
py
#-*—coding:utf8-*- import requests import re #下面三行是编码转换的功能,大家现在不用关心。 import sys reload(sys) sys.setdefaultencoding("utf-8") #hea是我们自己构造的一个字典,里面保存了user-agent #在页面中右键“审查元素”,刷新后“Network”,随便选择左边一个,然后选“Headers”,找'User-Agent' hea = {'User-Agent':'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko...
[ "yanfeng.li@lejent.com" ]
yanfeng.li@lejent.com
c273bf8f309abad0d41156555a5b0f898dfb8ff1
6bf492920985e3741440ba53e1c7f8426b66ac1f
/snakemake_rules/rules/gatk/gatk_variant_indel_JEXL_filtration.smk
1bcc6f56005ae9290a2133ced08430e36f8d7e21
[ "MIT" ]
permissive
ukaraoz/snakemake-rules
5b2ba7c9ec19d88b56067a46f66fd0c72e48c368
07e96afeb39307cdf35ecc8482dc1f8b62c120b9
refs/heads/master
2020-03-31T15:20:44.444006
2018-09-07T08:53:47
2018-09-07T08:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,512
smk
# -*- snakemake -*- include: 'gatk.settings.smk' include: 'gatk_select_indel_variants.smk' config_default = {'gatk' :{'variant_indel_JEXL_filtration' : _gatk_config_rule_default.copy()}} config_default['gatk']['variant_indel_JEXL_filtration'].update( { 'expressions': ["QD < 2.0", "ReadPosRankSum < ...
[ "per.unneberg@scilifelab.se" ]
per.unneberg@scilifelab.se
fb291cab56eb80122ba5cbe060bfae906dc43ad0
6baac3bec174cbb3542d844b34cec3870633e7bf
/red_blue.py
f1ecc21136b6b888b03b5d416a9b4635190f2a47
[]
no_license
tyday/RedBlue
abcbdbe65fe13ae468cffaf7d9b1b5b1aba34a0f
4e54d3e4ca67981cc32ba659ec8f0b5aed93b291
refs/heads/main
2023-01-07T19:26:40.147228
2020-11-07T01:32:50
2020-11-07T01:32:50
310,451,484
0
0
null
null
null
null
UTF-8
Python
false
false
6,067
py
# a program to play red vs blue # It's played on a board. Each side gets to choose an open # square per side. Selecting a square turns each adjacent square # your color. The game ends when all squares are filled. # the winner is the side with the most squares # created from this idea # https://red-blue.herokuapp.com/ ...
[ "tyrday@gmail.com" ]
tyrday@gmail.com
c8a08a597f157e4b39c207a5d7d93895a325beea
d93fe0484fc3b32c8fd9b33cc66cfd636a148ec4
/AtCoder/ARC-C/004probC.py
2dc3017bd13cc5dfe8e5d05bb87bb841727be9e2
[]
no_license
wattaihei/ProgrammingContest
0d34f42f60fa6693e04c933c978527ffaddceda7
c26de8d42790651aaee56df0956e0b206d1cceb4
refs/heads/master
2023-04-22T19:43:43.394907
2021-05-02T13:05:21
2021-05-02T13:05:21
264,400,706
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
import sys input = sys.stdin.readline from fractions import gcd X, Y = map(int, input().split("/")) g = gcd(X, Y) x = X//g y = Y//g n_min = (2*x-y)//(y**2) n_max = (2*x+y)//(y**2) + 1 ans = [] for n in range(n_min, n_max+1): if n <= 0: continue N = y*n M = N*(N+1)//2 - x*n if 0 < M <= N: ans....
[ "wattaihei.rapyuta@gmail.com" ]
wattaihei.rapyuta@gmail.com
97db4c0934c93d276c97cbd3a46d2f0cca960220
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/matchfields_39df33112bb1cfa56367ea58e168f287.py
b28dfcdf950a34519daeb7518998011e1a36711d
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
15,566
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
16fe148351f93eee112d2d7bab5ba1c951af710b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/ncLp4ZXvz4x4oEHYh_13.py
08497f878c8c64402f937ecba818958c517619e3
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
""" Given two unique integer lists `a` and `b`, and an integer target value `v`, create a function to determine whether there is a pair of numbers that add up to the target value `v`, where one number comes from one list `a` and the other comes from the second list `b`. Return `True` if there is a pair that adds up...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3986b9709cf9dcf81efc3c9876fd534eb9896f84
bdda6f43c4c72f4819208f6f5e0480e570a5d09c
/fintech_24659/settings.py
694d25428e56f459066372422eb99ca7150a2f9c
[]
no_license
crowdbotics-apps/fintech-24659
b5fcbdee03f47f297678201a6e82dcc4b4cd06bb
4a384d5e4eaf0621680417e8b7f0246e317b35db
refs/heads/master
2023-03-04T10:23:50.654065
2021-02-22T13:19:15
2021-02-22T13:19:15
341,206,661
0
0
null
null
null
null
UTF-8
Python
false
false
6,772
py
""" Django settings for fintech_24659 project. Generated by 'django-admin startproject' using Django 2.2.2. 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...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
21326e3552bdb8a7d4600a442d82b4a5930e105e
5dcdc5720f59280e6e22e78534dc565e9b299048
/数学/Angles of a Clock.py
6883e79b5bbaa586ecf7db879518fbfeaa58e64d
[]
no_license
Stella2019/10-24
4fc944ba397d8f9494f4fc7ceead3065b4572a55
d62572831235e8e608f259aa7b3608ae6752a64a
refs/heads/main
2023-01-01T12:46:06.021044
2020-10-24T20:53:12
2020-10-24T20:53:12
306,967,300
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
def calcAngle(h, m): hour_angle = (360 / (12 * 60.0)) * (h * 60 + m) min_angle = 360 / 60.0 * m angle = abs(hour_angle - min_angle) return min(angle, 360 - angle) print(calcAngle(3, 15)) # 7.50 print(calcAngle(3, 00)) # 90
[ "noreply@github.com" ]
Stella2019.noreply@github.com
bbc4ce153225199aee5e7a81923cc97c398f5eec
d47b841f7e64d83cebbe63a25bac47adc495a760
/cfbd/models/scoreboard_game.py
5454322ed36376d7222b319f2c6aa0cf161cf8c2
[]
no_license
CiscoNeville/cfbd-python
810029240de30a2b7a205cbc3bb009599481206c
5775ff7ce7464e881f1940a7c0a534b0c26c1ce8
refs/heads/master
2023-09-04T18:27:23.773119
2021-11-19T01:49:07
2021-11-19T01:49:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,431
py
# coding: utf-8 """ College Football Data API This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. # noqa: E501 OpenAPI spec...
[ "radjewwj@gmail.com" ]
radjewwj@gmail.com
b82cce8fe7e0e430c2cb38d742aab8c0b680be5f
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/bar/_yperiod0.py
225b424a1703b373d93e4772e32dd4b730f629cb
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
392
py
import _plotly_utils.basevalidators class Yperiod0Validator(_plotly_utils.basevalidators.AnyValidator): def __init__(self, plotly_name="yperiod0", parent_name="bar", **kwargs): super(Yperiod0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ed...
[ "nicolas@plot.ly" ]
nicolas@plot.ly
082d4dfee16d6f707373ba16b2d564dda78ec509
d61a1050874abc9883d4787e4fd52c47dada55cb
/faster_rcnn_mxnet/faster_rcnn/core/tester.py
fa9ef4f6d61d87c6a8f85fa6f973ae31a2c3d149
[]
no_license
larsoncs/focal-loss
84d842ca13b94549c5ee473c6dcb91a744a9eae7
f238924eabc566e98d3c72ad1c9c40f72922bc3f
refs/heads/master
2021-04-06T10:04:10.655371
2017-12-20T04:30:15
2017-12-20T04:30:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,332
py
# -------------------------------------------------------- # Deformable Convolutional Networks # Copyright (c) 2016 by Contributors # Copyright (c) 2017 Microsoft # Licensed under The Apache-2.0 License [see LICENSE for details] # Modified by Yuwen Xiong # -------------------------------------------------------- impor...
[ "2081264@qq.com" ]
2081264@qq.com
6eeba5437fbc07d0f6fd5a93ffba6c90b5d28a83
1751ea577fb63c0e34e469193c0de0519fa5d32b
/manage.py
43213755618f352dfdc6090a6f0056cb9895fc95
[]
no_license
zakuro9715/uragf
a987f0ae51c15496e48214eaffc5440a1dbc641e
060658d2dc5a5a15bdd5f2301a60d050b38ddf3d
refs/heads/master
2021-01-10T00:57:47.417420
2016-04-03T05:26:13
2016-04-03T05:26:13
36,533,479
0
2
null
2015-06-23T23:30:42
2015-05-29T23:01:38
Python
UTF-8
Python
false
false
248
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "uragf.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "zakuro@yuzakuro.me" ]
zakuro@yuzakuro.me
97a31da16586f6ec9bbf6358ba911523bc468f8d
02d0714edfef5a2d3630d7659c553c157e291e52
/tempest/api/compute/security_groups/test_security_groups_negative.py
120d327e3b83cbae71e3e514138e91218808ccef
[ "Apache-2.0" ]
permissive
atulbangar09/tempest
f07dced592481a7ec71a9c7469b7d50d30cdc171
9f5644ce2784cd882e86ac89236f8f8f828d7c43
refs/heads/master
2023-02-06T10:26:40.112917
2020-01-21T16:17:16
2020-01-21T16:17:16
234,520,093
0
0
Apache-2.0
2020-01-17T09:52:53
2020-01-17T09:52:52
null
UTF-8
Python
false
false
9,953
py
# Copyright 2013 Huawei Technologies Co.,LTD. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unl...
[ "jignasha.vithalani@triliodata.com" ]
jignasha.vithalani@triliodata.com
522c6512806730f37abd8e337751cf53e361a3fb
0566cf76b456518875edecece15e763a36a4795f
/scrapers/1channelmovie_com.py
9fdd83bce3433ea161b1b921f96d70c7f22a427f
[]
no_license
theclonedude/Scraping_BeautifulSoup_phantomjs
684b1f7a993e0d2555daa7a5455cf19bd29b0b1b
faf653feae46c21a72d13b2123cdebdb2f7c05d8
refs/heads/master
2023-03-16T19:36:14.867361
2018-06-14T14:21:02
2018-06-14T14:21:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,172
py
import re from sandcrawler.scraper import ScraperBase, SimpleScraperBase, ScraperFetchException class OneChannelMovieCom(SimpleScraperBase): BASE_URL = 'http://www.1channelmovie.com' OTHERS_URLS = ['http://1channelmovie.com', 'http://www.1channelmovie.com'] # it seems we can merge this with PrimewireAg...
[ "stryokka@gmail.com" ]
stryokka@gmail.com
75ade63013c6ce66d590705e4b19781f46ef7b7e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03573/s700443478.py
585b517bf86ef42cb4ad1f8379936f4ffc195509
[]
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
94
py
X=list(map(int,input().split())) Y=sorted(X) if Y[0]==Y[1]: print(Y[2]) else: print(Y[0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fa5e3a6fc50b302b03a1dc690503f0ab53d00c0e
bb45e66a1b438cb9bb8eb2cdcd54d82287338fdf
/pyiem/nws/products/lsr.py
b4e889ea5e7190bcf1cbdd8fe991683969be9c86
[]
no_license
aarande/pyIEM
685c50b6af3e2cc936e434d7152e67f4ffc1e0ed
e9467710e6908ca147ebe88c2ee3559484503fe2
refs/heads/master
2021-01-21T00:02:22.123066
2015-02-27T15:27:45
2015-02-27T15:27:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,383
py
''' Local Storm Report ''' # Stand Library Imports import datetime import re # Third party import pytz from shapely.geometry import Point as ShapelyPoint SPLITTER = re.compile(r"(^[0-9].+?\n^[0-9].+?\n)((?:.*?\n)+?)(?=^[0-9]|$)", re.MULTILINE) from pyiem.nws.product import TextProduct, TextPro...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
8083e994eaa7d834c3bfa85f4db0f2406e2291d2
709bd5f2ecc69a340da85f6aed67af4d0603177e
/saleor/account/backends/google.py
6c8e205b957de89d66aa8f067b3271926f386c40
[ "BSD-3-Clause" ]
permissive
Kenstogram/opensale
41c869ee004d195bd191a1a28bf582cc6fbb3c00
5102f461fa90f2eeb13b9a0a94ef9cb86bd3a3ba
refs/heads/master
2022-12-15T02:48:48.810025
2020-03-10T02:55:10
2020-03-10T02:55:10
163,656,395
8
0
BSD-3-Clause
2022-12-08T01:31:09
2018-12-31T09:30:41
Python
UTF-8
Python
false
false
222
py
from social_core.backends.google import GoogleOAuth2 from . import BaseBackend from ...site import AuthenticationBackends class CustomGoogleOAuth2(BaseBackend, GoogleOAuth2): DB_NAME = AuthenticationBackends.GOOGLE
[ "Kenstogram@gmail.com" ]
Kenstogram@gmail.com
56c555025b131f114b3d96bcf46ab5d8b4e5c909
4252102a1946b2ba06d3fa914891ec7f73570287
/pylearn2/scripts/jobman/tester.py
6c7685167c84cb7e7757a0b616da9bcc0868a95a
[]
no_license
lpigou/chalearn2014
21d487f314c4836dd1631943e20f7ab908226771
73b99cdbdb609fecff3cf85e500c1f1bfd589930
refs/heads/master
2020-05-17T00:08:11.764642
2014-09-24T14:42:00
2014-09-24T14:42:00
24,418,815
2
3
null
null
null
null
UTF-8
Python
false
false
3,032
py
""" This an example script inserting a pylearn2 yaml code into a jobman database. The code below defines a yaml template string in state.yaml_template, and the values of its hyper-parameters in state.hyper_parameters, and run the code that is located in state.extract_results on this model using jobman. Actually, we a...
[ "lionelpigou@gmail.com" ]
lionelpigou@gmail.com
77f509fce29adca2f0ee33c911a594f1f01a20a5
f2e503885666f35f9c50c9cff411c3a47fb81093
/andelabs1.py
fd8af25851ab59ffa321b1e06b42dd65a50dd245
[]
no_license
SamwelOpiyo/andelabs
87c7a6b0ae078afd0a4b620dc4f0a7ba898e006c
fa7b6fe14f3942d2ee47f81e6a78a375dd7e2210
refs/heads/master
2021-01-09T20:43:23.986700
2017-01-22T19:45:19
2017-01-22T19:45:19
65,727,292
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
def prime(): integer = int(raw_input("Enter an Integer:")) prime_list = list() if integer==2: prime_list.append(integer) elif integer==3: prime_list.append(2) prime_list.append(integer) else: prime_list.append(2) prime_list.append(3) for k in range(4,i...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
58aad0ee9098bd5db56320c38d09085fce097091
9023909d2776e708755f98d5485c4cffb3a56000
/oneflow/compatible_single_client_python/nn/optimizer/adamw.py
a4f8cddbc181f472ebc8eeb4a1f3cbfcd18a3c89
[ "Apache-2.0" ]
permissive
sailfish009/oneflow
f6cf95afe67e284d9f79f1a941e7251dfc58b0f7
4780aae50ab389472bd0b76c4333e7e0a1a56ef7
refs/heads/master
2023-06-24T02:06:40.957297
2021-07-26T09:35:29
2021-07-26T09:35:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,090
py
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
[ "noreply@github.com" ]
sailfish009.noreply@github.com
b24e15bf9e9d28c0fd5e65f95e1533732b603aff
8c95c48d48a5a6a351de57d90b56eb6e2642914c
/TransformGenotypes_ClassesTop.py
f75e5fd761662d53e65396980603dbd5c1f2af52
[ "curl", "Apache-2.0" ]
permissive
janaobsteter/Genotype_CODES
e24dafcf00476a9e0cc989b3c822bd13a391f76f
8adf70660ebff4dd106c666db02cdba8b8ce4f97
refs/heads/master
2021-08-09T14:50:50.721598
2021-01-27T14:23:16
2021-01-27T14:23:16
63,061,123
1
1
null
null
null
null
UTF-8
Python
false
false
16,607
py
# -*- coding: utf-8 -*- #This is a script to add newly genotyped individuals and downloaded GeneSeek zip file (Final Reports) #to the existing database of the latest genotypes #Pipeline: #1)define chip, dictionary, dictionary to hold chip: genotype package: animal ids, dictionary to hold genotype package : download da...
[ "obsteter.jana@gmail.com" ]
obsteter.jana@gmail.com
b6eb79f493fa5f99d269963e332bfdb0f53613f0
f8c3c677ba536fbf5a37ac4343c1f3f3acd4d9b6
/ICA_SDK/test/test_subscription.py
b9856eade3bbf9f75b638633d6bce99d475b5031
[]
no_license
jsialar/integrated_IAP_SDK
5e6999b0a9beabe4dfc4f2b6c8b0f45b1b2f33eb
c9ff7685ef0a27dc4af512adcff914f55ead0edd
refs/heads/main
2023-08-25T04:16:27.219027
2021-10-26T16:06:09
2021-10-26T16:06:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,819
py
# coding: utf-8 """ IAP Services No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest ...
[ "siajunren@gmail.com" ]
siajunren@gmail.com
2a254ef86f045c6f89a9e764f306c7e7d2475cca
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/nos/v7_2_0/hide_virtual_ip_holder/chassis/__init__.py
fed935303c48d8ee6197a3b1b604d38e4c2f9692
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,753
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
a89de6c602a550c947a03e246638a7a409ca8899
878a3094430bb914717d641a4f4b06574e872518
/hm_00_python/hm_0x_编辑用.py
e3e42e7d8c6ae0ec59b41a29d979116092a16cdf
[]
no_license
2020668/python2019
3f33eea85fdd3f2866d867859d5694abb71effe9
f8a98389fa09f95e72914afa4935afc5c68eaccd
refs/heads/master
2020-06-07T23:36:17.871376
2019-08-29T09:45:10
2019-08-29T09:45:10
193,116,002
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
def sum_2_num(num1,num2): """对两个数字求和""" return num1 + num2 # 调用函数,并使用result变量接收计算结果 result = sum_2_num(10,20) print("计算结果是: %d" % result)
[ "keen2020@outlook.com" ]
keen2020@outlook.com
a361e33242f19d9a4224e3176f42124b93cac1ef
daf7f2ba83c57819e85356906919309933af4526
/util/validate-outputs.py
246d094723a6c9142614278f5d233e876eb43baa
[ "MIT" ]
permissive
ihmwg/python-ihm
158514e6148fa6f2651548077cf386d4bbdf1483
ab685eaabd537a46184172cffe7a2f057343d390
refs/heads/main
2023-09-01T16:15:00.148446
2023-08-31T00:45:21
2023-08-31T00:45:21
123,497,102
17
8
MIT
2023-07-10T19:00:38
2018-03-01T21:57:40
Python
UTF-8
Python
false
false
976
py
#!/usr/bin/python3 """Check the output of each example for validity against the PDBx and IHM dictionaries. This should be periodically rechecked in case the PDBx and IHM dictionaries are updated. """ import sys import os import subprocess import ihm.dictionary import urllib.request with urllib.request.urlo...
[ "ben@salilab.org" ]
ben@salilab.org
4a318f935f352e1c80115d618d78044b026f739e
0133d8d56ee611a0c65ef80693ae263692557b96
/spira/yevon/geometry/ports/port_list.py
31f160cc38564e31df0c0739c6945d3478e93dc1
[ "MIT" ]
permissive
JCoetzee123/spira
e77380df2e79333b0c48953faae2d3dae50a8d27
dae08feba1578ecc8745b45109f4fb7bef374546
refs/heads/master
2021-06-25T23:32:52.289382
2019-07-17T13:25:50
2019-07-17T13:25:50
198,605,222
1
0
MIT
2019-07-24T09:42:07
2019-07-24T09:42:06
null
UTF-8
Python
false
false
8,221
py
from spira.core.typed_list import TypedList from spira.core.transformable import Transformable from spira.core.parameters.variables import FloatParameter from spira.core.parameters.descriptor import ParameterDescriptor from spira.core.parameters.restrictions import RestrictType from spira.yevon.geometry.ports.base impo...
[ "rubenvanstaden@gmail.com" ]
rubenvanstaden@gmail.com
21e7a9d8d8ebbd2404e408c669c67da0b5559eb7
b0cdab54c5e81681125c01801148c287605ee8d0
/speciality/urls.py
74bbfe233256fb4a38f2fe7a7aa9036aae4aa4f5
[]
no_license
lpd76/rdavid2
5528746749acc51d4d0f5efd77886929798e2569
18aa5120fe4ba0ea44f611dd52b008db52641f17
refs/heads/master
2020-04-13T20:47:58.141579
2019-01-17T16:51:31
2019-01-17T16:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
from django.urls import path from . import views urlpatterns = [ path('index', views.speciality_list, name='speciality_list'), ]
[ "louisphilippe.david@gmail.com" ]
louisphilippe.david@gmail.com
dc82be647e361b442c5007d4a567670023744ff1
b420377a638dc9a5d8c09ebc39b0448d47ddb74e
/ddd-django/polls_app/base_site/views.py
6fe6e69eeec0dc6328f6242d5cb592395cd53429
[]
no_license
shimakaze-git/drf-sample
d4e4e8e4d380f0b77e807d4bbf4e3f0d98ee6bcd
4294cd5adeea0ef51d3b7eee6a154d23dd089afc
refs/heads/master
2022-05-02T20:19:09.901257
2019-09-15T12:46:51
2019-09-15T12:46:51
205,698,781
0
0
null
2022-04-22T22:29:32
2019-09-01T15:52:14
Python
UTF-8
Python
false
false
626
py
from django.shortcuts import render from django.http import HttpResponse from django.views import View class IndexView(View): template_name = 'index.html' def get(self, request): context = {} # return HttpResponse('test') return render(request, self.template_name, context) def po...
[ "shimakaze.soft+github@googlemail.com" ]
shimakaze.soft+github@googlemail.com
c355a985943e570ffb642a4967e78a28c1b18b0d
aca7ba7e5f801f89374ac4be3544ceb49889e59f
/data/diseases/importPgkbDis.py
81aac7a5322e0da4f0bbb60386ea2f6e8c024c63
[]
no_license
strbean/pubMunch
582e47eadaeb5e204960c21d84d2eaf5d10b9726
c81d9935505779508df8e99577dd71cc104ea4ee
refs/heads/master
2020-03-21T10:22:57.685056
2018-06-24T05:05:37
2018-06-24T05:05:37
138,448,203
0
0
null
2018-06-24T02:43:32
2018-06-24T02:43:32
null
UTF-8
Python
false
false
258
py
for line in open("diseases.tsv"): if line.startswith("PharmGKB"): continue fields = line.split("\t") name = fields[1] syns = fields[2].split('","') syns = [s.strip('",') for s in syns] print "%s\t%s" % (name, "|".join(syns))
[ "max@soe.ucsc.edu" ]
max@soe.ucsc.edu
9fbbcf8154c05f7064a216d1d47c4fefd91bb5af
fa114e6fa2c642613ac67960911a21b91bfa5089
/Home-Services/store/migrations/0001_initial.py
fa40f81506df6858bf11007e732078db786f4829
[]
no_license
AbdurRahman111/Home-Work-Services
122c533d440da82199a3d4b647cd0feadb582d54
7cb8495d90f980264f97606da120662c7cf56d47
refs/heads/master
2023-04-06T22:53:34.590306
2021-04-12T08:23:49
2021-04-12T08:23:49
357,113,994
0
0
null
null
null
null
UTF-8
Python
false
false
5,280
py
# Generated by Django 3.1.4 on 2021-02-28 08:30 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', ...
[ "mdabdurrahmanchowdhury1122@gmail.com" ]
mdabdurrahmanchowdhury1122@gmail.com
1bd5242816fc5adefb64d1509e8712a63499e48a
1c0509a06cec726735048f00f63d2529f5e43ce6
/code_gasoline_france/analysis/analysis_dispersion/graphs/graphs_macro_trends.py
433290f30b21187244f88206ba00b34d93d9613b
[]
no_license
etiennecha/master_code
e99c62e93aa052a66d4cdd3f3e3aa25a3aec4880
48821f6c854a1c6aa05cf81b653b3b757212b6f8
refs/heads/master
2021-01-23T14:35:45.904595
2018-03-11T18:57:38
2018-03-11T18:57:38
16,312,906
2
0
null
null
null
null
UTF-8
Python
false
false
7,465
py
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import print_function import add_to_path from add_to_path import path_data from generic_master_price import * from generic_master_info import * path_dir_built = os.path.join(path_data, u'data_gasoline', ...
[ "echamayou@gmail.com" ]
echamayou@gmail.com
43a5269c653fb02480325cb8c86fd6ac270b6181
ce661026009d622db924080d85ab529f1cae6b60
/codingbat.com/not_string.py
3a13b969ff38b7af6b31a1ef6b1b887e7e4db819
[]
no_license
predavlad/projecteuler
d54f5d85ab0133b19b54b4168990b90f09a0184c
58e1637733bb7e01e44bfac707353ecfe84d9b19
refs/heads/master
2021-01-23T15:29:26.257019
2019-02-09T10:11:23
2019-02-09T10:11:23
12,952,194
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
def not_string(str): if str[0:3] == 'not': return str return "not " + str assert not_string('candy') == 'not candy' assert not_string('x') == 'not x' assert not_string('not bad') == 'not bad'
[ "preda.vlad@yahoo.com" ]
preda.vlad@yahoo.com
cb6b8fbf448bffc9b9d83e18ac9a48867102116a
465ee73eb52b22b4fae19c76c37c88fa97d9249a
/chasm_webservice/chasm_webservice.py
c76bc2913465e3447bb6f5854a4d188b0231e94e
[ "MIT" ]
permissive
fw1121/galaxy_tools
a8ed090c2f38fba78cd45c4cb1164a8ec0ca14c1
0dc830fb100213bc8b2275519206fcdaaf500ec5
refs/heads/master
2020-03-30T09:17:00.855200
2014-12-18T11:16:57
2014-12-18T11:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,644
py
#!/usr/bin/python """ The MIT License (MIT) Copyright (c) 2014 Saket Choudhary, <saketkc@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitati...
[ "saketkc@gmail.com" ]
saketkc@gmail.com
c137abb7879efd8cba96903b886443f16417a424
e1292fb9f2b359f71fbc54a4eb6ae4cf0c1ff51d
/machines/towermain/temperature.py
0f2911f2ee9401ba811d95d931d6a99320f76880
[]
no_license
JNRiedel/PyExpLabSys
879d5c6bf552e89134629f0c6ca011af67937c3d
b69daaa9c932b9264d9f731cc3f2091f31f5d36e
refs/heads/master
2020-04-08T08:45:17.466865
2014-08-22T11:06:24
2014-08-22T11:06:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,371
py
# -*- coding: utf-8 -*- """This script read the sample temperature from an Omega CNi3244_C24 temperature control unit and makes it available on a data socket. Furthermore, it also log significant temperature points to the database. """ import time from PyExpLabSys.drivers.omega import CNi3244_C24 from PyExpLabSys.comm...
[ "k.nielsen81@gmail.com" ]
k.nielsen81@gmail.com
929c36a16c6510056a32e3a51fdc66da8a0b0bae
47deebe6fefedb01fdce5d4e82f58bb08f8e1e92
/python core/Lesson_35/own_filter.py
88b22438ef99e205d34e4d28385a56a6dc930970
[]
no_license
developeryuldashev/python-core
5bb162603bdb5782acf05e3fb25ca5dd6347067a
08fca77c9cfde69d93a7875b3fb65b98f3dabd78
refs/heads/main
2023-08-21T03:33:12.160133
2021-10-19T04:56:53
2021-10-19T04:56:53
393,383,696
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
from telegram.ext import MessageFilter class HandlePython(MessageFilter): name='Filters.python' def filter(self, message): return 'python' in message python=HandlePython() class FilterAwesome(MessageFilter): def filter(self, message): return 'Dilshod' in message.text filter_awesome=Filter...
[ "81365808+developeryuldashev@users.noreply.github.com" ]
81365808+developeryuldashev@users.noreply.github.com
ef244246907dc513e7d6480d145bca83363884b1
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/sql/v20210201preview/get_sync_agent.py
c041588b469bf583ea5fe3162b8e9d913380dff9
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,746
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, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
79cd366aeeb329a3b587ec905738a51e0b4b27ca
9f495456202ecbfdcbc17aae96f8db47116f7adf
/myenv/bin/django-admin.py
ea04fb36ad23374794a12481f9eeae5847dd1e0f
[]
no_license
nknaveenkumar760/pythontutorial
8dfae178e5ffa1942722a3754bd1b0c1fc99aa3b
22df07acad252040c6b9b68c935fef5add9cf974
refs/heads/master
2022-02-19T18:06:40.386333
2019-08-02T08:12:11
2019-08-02T08:12:11
171,852,495
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
#!/home/ubuntu/pythontutorial/myenv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "nknaveenkumar760@gmail.com" ]
nknaveenkumar760@gmail.com
72536ffc2001ee0a6739dd5cbc5f200e014063a0
5ed2d0e107e4cdcd8129f418fdc40f1f50267514
/Medium/WordBreak/test.py
b3be093b1de892e18dfc3f8c3a1b7047621616fd
[]
no_license
tliu57/Leetcode
6cdc3caa460a75c804870f6615653f335fc97de1
c480697d174d33219b513a0b670bc82b17c91ce1
refs/heads/master
2020-05-21T03:14:07.399407
2018-07-08T18:50:01
2018-07-08T18:50:01
31,505,035
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
class Solution(object): def wordBreak(self, s, wordDict): dp = [0 for i in range(len(s)+1)] dp[0] = 1 for i in range(1, len(s)+1): for j in range(0, i): dp[i] = dp[j] and (s[j:i] in wordDict) if dp[i]: break return dp[len(s)] sol = Solution() print sol.wordBreak("leetcode", ["leet", "code"]) ...
[ "tliu57@asu.edu" ]
tliu57@asu.edu
43db92d549c4350589805bb14e755300ffbd27b8
29345337bf86edc938f3b5652702d551bfc3f11a
/python/src/main/python/pyalink/alink/tests/examples/operator/batch/test_fpgrowth.py
320e2b8f49396dfb6cd99a9decade08889f1534a
[ "Apache-2.0" ]
permissive
vacaly/Alink
32b71ac4572ae3509d343e3d1ff31a4da2321b6d
edb543ee05260a1dd314b11384d918fa1622d9c1
refs/heads/master
2023-07-21T03:29:07.612507
2023-07-12T12:41:31
2023-07-12T12:41:31
283,079,072
0
0
Apache-2.0
2020-07-28T02:46:14
2020-07-28T02:46:13
null
UTF-8
Python
false
false
733
py
import unittest import numpy as np import pandas as pd from pyalink.alink import * class TestFpGrowth(unittest.TestCase): def test_fpgrowth(self): data = np.array([ ["A,B,C,D"], ["B,C,E"], ["A,B,C,E"], ["B,D,E"], ["A,B,C,D"], ]) ...
[ "shaomeng.wang.w@gmail.com" ]
shaomeng.wang.w@gmail.com
5bdcfff19eab4786af18070910c55548fcd426dc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02909/s681576776.py
241c49b560159f84603785465ffd994ee3525f21
[]
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
253
py
import sys readline = sys.stdin.readline MOD = 10 ** 9 + 7 INF = float('INF') sys.setrecursionlimit(10 ** 5) def main(): S = input() p = ["Sunny", "Cloudy", "Rainy"] print(p[(p.index(S) + 1) % 3]) if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c96f6aeeabc58d40d4d44ece2ada2adcf6232c01
66fc3d58e94e8340a0d825501776a1dea37c0198
/share/clf/process_clf_test_frames.py
aa63846e8c287609b0713bda9dd25814f6949612
[ "CC-BY-4.0", "BSD-3-Clause" ]
permissive
AcademySoftwareFoundation/OpenColorIO
dad370b54be147ae94f18ed6414d53bd76e9ef74
96f528fdfb7f9fb24388e33f6a968d29a3909cf8
refs/heads/main
2023-08-29T08:51:45.625957
2023-08-29T01:42:37
2023-08-29T01:42:37
775,131
843
236
BSD-3-Clause
2023-09-14T02:56:01
2010-07-14T18:22:06
C++
UTF-8
Python
false
false
3,582
py
# SPDX-License-Identifier: BSD-3-Clause # Copyright Contributors to the OpenColorIO Project. # Use OpenColorIO to apply the CLF files from the CLF test kit to the CLF target image # and produce a directory of processed OpenEXR images at the specified location. # Run the script with "-h" for usage information. # This ...
[ "noreply@github.com" ]
AcademySoftwareFoundation.noreply@github.com
8a5f6c810c7991adc091d743259b6ed996eb5cd7
e49d49b54f2d5cd25674050419f991477363c46b
/myshop/myshop/settings.py
0a395ec79e6d309382afe3967821b0a84079f336
[]
no_license
akashgiricse/online-shop
0d87323e016f5c8a48020abd1d973987abd86035
94438876b8b2dd530ec05cb3c8df1b6a049fa514
refs/heads/master
2020-04-10T12:00:02.644277
2018-12-24T17:27:06
2018-12-24T17:27:06
161,008,658
2
0
null
null
null
null
UTF-8
Python
false
false
3,310
py
""" Django settings for myshop project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os fro...
[ "akashgiricse@gmail.com" ]
akashgiricse@gmail.com
f80bb33e5349f60b61a5f79be62824f534c30071
52a0e6c0be7eebfde22c886ff7b8e605a27428ce
/src/looped/__init__.py
22239d5ad5b39afa66288653d476cd7ead07ba1e
[]
no_license
vied12/LoopED
42d5663c36d7b0026196faa152a75576993fb30d
4126a2b655f68c20bd1029a4d69597dd877c18cb
refs/heads/master
2022-07-01T04:42:02.150799
2017-07-26T12:55:39
2017-07-26T12:55:39
84,230,616
1
1
null
2022-06-17T21:14:14
2017-03-07T18:05:26
CSS
UTF-8
Python
false
false
204
py
from .Led import create_led from .animations import Jump, Tuner, Intro, Metronome from .gamepads import WebGamePad __all__ = [ 'create_led', 'Jump', 'WebGamePad', 'Tuner', 'Intro', ]
[ "edou4rd@gmail.com" ]
edou4rd@gmail.com
dec105911efbe7e1fcfffd57f3a39b128a4b12f8
4bd9d17a8697c0e87ce8b35e6189913d9f7dd1db
/legtool/gait/test_leg_ik.py
2ce98243e4217c2bdb3a010821e25e54a5c1ce3f
[ "Apache-2.0" ]
permissive
jpieper/legtool
c72fe8a77871720f217634bb07602c709ba52583
ab3946051bd16817b61d3073ce7be8bd27af90d0
refs/heads/master
2020-05-21T11:34:15.762189
2014-12-01T02:15:46
2014-12-01T02:15:46
21,541,872
10
9
null
null
null
null
UTF-8
Python
false
false
4,133
py
# Copyright 2014 Josh Pieper, jjp@pobox.com. # # 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...
[ "jjp@pobox.com" ]
jjp@pobox.com
dd539a81c74353ac014e0b9b7bf8636a6b5d7ef4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04020/s011481880.py
cd16b5ea063aa01e01e9a52b7814e2636bd9e260
[]
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
413
py
n = int(input()) a = [int(input()) for _ in range(n)] lsts = [] temp = [] for aa in a: if aa == 0: if temp: lsts.append(temp) temp = [] else: temp.append(aa) if temp: lsts.append(temp) ans = 0 for lst in lsts: for i, aa in enumerate(lst): ans += aa // 2 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
78ea63e50440ee9e3830cc8df7eb1b07d9a104d5
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/want_part/know_great_company.py
48b6a068bf3763ad3f82345d0496999bf868095a
[]
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
176
py
#! /usr/bin/env python def say_thing(str_arg): world(str_arg) print('week') def world(str_arg): print(str_arg) if __name__ == '__main__': say_thing('life')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com