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
ca30c065fa064d98cd699f2fce97525a36130d24
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/trunk/repy/tests/ut_repytests_encodingcommentisignored.py
6158b4dcedcbf4dd34764b31884788af8eca2271
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
179
py
#!/usr/bin/env python # -*- coding: rot13 -*- #pragma repy #pragma error NameError # this will raise a NameError if this isn't rot13... (cevag == print) cevag('hello world')
[ "USER@DOMAIN" ]
USER@DOMAIN
866ff7508fcdecdbbeb77624b1ce0bde394c5c83
1b78a071c2134beafc265b839ba8acba63142be2
/intersight/models/os_windows_parameters.py
f22edebf6c628538017f34e5c2fad86260c944c0
[ "Apache-2.0" ]
permissive
dyoshiha/intersight-python
59c2ed3f751726a1d7c0e4254f1203e6546f1d47
01d1abcf8a9dcee0fe9150cdec70eb39d76ca290
refs/heads/master
2020-12-30T07:32:16.452334
2020-02-03T21:32:36
2020-02-03T21:32:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,942
py
# coding: utf-8 """ Cisco Intersight OpenAPI specification. The Cisco Intersight OpenAPI specification. OpenAPI spec version: 1.0.9-1295 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class OsWindowsParamete...
[ "ucs-build@github.com" ]
ucs-build@github.com
1412a681a3399d9ea069e81d3912099989b16321
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/YRwZvg5Pkgw4pEWC5_11.py
aecb9fbb1c52ca98444155f4ac40055298714c4d
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
def flick_switch(lst): a=True c=[] for i in range(len(lst)): if lst[i]!="flick": c.append(a) if lst[i]=="flick": a=not a c.append(a) return c
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
262e4ad5a1421368dfd879c840aabfff3ff1235f
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/EightTeV/PYTHIA6/PYTHIA6_Tauola_SM_H_2tau_zh_mH140_lepdecay_8TeV_cff.py
82691bffb6acd1a22174cf7f3d23d9a9bfb00d7a
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
4,537
py
import FWCore.ParameterSet.Config as cms source = cms.Source("EmptySource") from Configuration.Generator.PythiaUEZ2starSettings_cfi import * from GeneratorInterface.ExternalDecays.TauolaSettings_cff import * generator = cms.EDFilter("Pythia6GeneratorFilter", pythiaPylistVerbosity = cms.untracked.int32(1), # p...
[ "sha1-c8b28d70dd1f4235246c4a027e80dcdcf397db6f@cern.ch" ]
sha1-c8b28d70dd1f4235246c4a027e80dcdcf397db6f@cern.ch
c087d32f2facd8e4c3b24b1fd7edf2e63c4c486e
e28009b0a4584e8d128ed6fbd4ba84a1db11d1b9
/1.Two Sum/Two Sum.py
49443b25034a21dc94c2086ac0cca41d3b957794
[]
no_license
jerrylance/LeetCode
509d16e4285296167feb51a80d6c382b3833405e
06ed3e9b27a3f1c0c517710d57fbbd794fd83e45
refs/heads/master
2020-12-02T23:10:27.382142
2020-08-02T02:03:54
2020-08-02T02:03:54
231,141,551
3
0
null
null
null
null
UTF-8
Python
false
false
1,575
py
# LeetCode Solution # Zeyu Liu # 2019.12.31 # 1.Two Sum # method 1 # 暴力 from typing import List class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: renums = [] n = len(nums) for i in range(n): for j in range(i+1,n): if nums[...
[ "noreply@github.com" ]
jerrylance.noreply@github.com
979baf5b9d39a2a3c69640d35c34d92478815b1f
6dfc23ef65e5943712340ef2b4b648cc25ea1fad
/2018/04/12/Creating a Weather App in Django Using Python Requests [Part 1]/weather_app_django/the_weather/weather/views.py
7a14b9b7253bd4e4585a206e82820683967d15e3
[ "Unlicense" ]
permissive
PrettyPrinted/youtube_video_code
6d265c910de18d780cdb99f7ea11b8b963929dc2
5654e5feba854d3b41b8dd75218e0221408e7831
refs/heads/master
2023-09-04T21:28:57.386174
2023-08-11T07:07:45
2023-08-11T07:07:45
186,743,986
698
2,347
Unlicense
2022-10-06T04:06:56
2019-05-15T03:40:45
HTML
UTF-8
Python
false
false
857
py
import requests from django.shortcuts import render from .models import City from .forms import CityForm def index(request): url = 'http://api.openweathermap.org/data/2.5/weather?q={}&units=imperial&appid=YOUR_API_KEY' if request.method == 'POST': form = CityForm(request.POST) form.save() ...
[ "anthony@prettyprinted.com" ]
anthony@prettyprinted.com
cecca4dec78b16568a5dd8a9f07ecf906268784e
49a93012ce18b72abdb85aae1af09504fa039b6c
/20년 2월/1479.py
bcaca841af25e0c185a53b6c16c59829d9464ae7
[]
no_license
JinleeJeong/Algorithm
ca3e755a29537f8d82ef770f174fd055242dd708
a81257d7e4a54a00ac2c9a1dd324cc7eeb765240
refs/heads/master
2020-12-08T13:26:27.917450
2020-05-12T07:16:08
2020-05-12T07:16:08
232,992,516
1
0
null
null
null
null
UTF-8
Python
false
false
514
py
n, m = map(int, input().split()) matrix = [[0]*m for i in range(n)] count = 0 #0부터 3까지 0~4 for i in range(0, n+m-1): # 0 1 2 3 n+m-1인 이유는 2행 3열을 나타내기 때문에, 나열했을 때, i값과 같아야 함!! for j in range(0, m): # 0 1 2 for k in range(0, n): # 0 1 if j+k == i: count += 1 ...
[ "pjjr0118@gmail.com" ]
pjjr0118@gmail.com
8e0c705abcc33c690cb87bdeaeccab37c03a3755
52b43ba9fdba64b9a82f8042ebb19190d811b6de
/ck/incubator/cbench/setup.py
42dbabf39607cae66eddc9c4792a66cbb0107282
[ "Apache-2.0", "CC-BY-SA-3.0", "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cknowledge/ck
4f18f6dd6c6278a8942d7288ae5c68007da190fa
ffcf31d18b14f55b8f20b7a9d078ebd61023ca7e
refs/heads/master
2023-03-15T18:10:57.003077
2023-03-06T12:11:41
2023-03-06T12:11:41
256,570,425
0
0
BSD-3-Clause
2020-04-17T17:40:09
2020-04-17T17:40:08
null
UTF-8
Python
false
false
3,205
py
# # Developer(s): Grigori Fursin # Herve Guillou # import os import sys import imp ############################################################ from setuptools import find_packages, setup, convert_path try: from io import open except ImportError: pass ##########################################...
[ "Grigori.Fursin@cTuning.org" ]
Grigori.Fursin@cTuning.org
0d8b8bb1d3429f2aa1d4bab4fa0f23598807ad86
7985715183962847e4717da8be46ce9415bd4a3f
/tests/parse/parse_bbox_input.py
93ea3eff60dfad44a9f8853288306d6449478cf6
[]
no_license
mgax/pywps-4
68bcd2e3398f2a312715e43135797c6906c1f7c9
03fd63d490d22b86dc1c14cb51eb6fb437812ca6
refs/heads/master
2020-04-10T13:30:09.145281
2013-06-03T20:22:23
2013-06-03T20:22:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,374
py
"""Test parsing of BoundingBoxInput """ import os import sys from io import StringIO from lxml import objectify pywpsPath = os.path.abspath(os.path.join(os.path.split(os.path.abspath(__file__))[0],"..","..")) sys.path.insert(0,pywpsPath) sys.path.append(pywpsPath) import unittest from pywps.request.execute.bbox imp...
[ "jachym.cepicky@gmail.com" ]
jachym.cepicky@gmail.com
fa3703b31c4348a9ad084e7286d2ee6b4c101c05
76adadc595cf0e27f03833036ecb9e7e9387c7d5
/obstacle_avoidance_gazebo_and_tx2/Navigator_2D_gazebo/Pos2PosController.py
551b7e6c1ece177a9ce71037ff31a5155b4b3d49
[ "Apache-2.0" ]
permissive
hddxds/scripts_from_gi
2fdef4dc747b6a269a1aa9df871afaca19bbe178
afb8977c001b860335f9062464e600d9115ea56e
refs/heads/master
2022-12-08T21:32:42.307594
2020-09-07T13:25:40
2020-09-07T13:25:40
293,529,833
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
#encoding=utf-8 def bangbang(error): # on 1 axis: if error>THRES: move(-error) else: pass if error<-THRES: move(error) else: pass def pid(): pass def class Pos2PosController: def __init__(self): pass def main_thread(self): self.init_mavros...
[ "dongshuo@giai.tech" ]
dongshuo@giai.tech
ca3978a5f8b151caf4f1debd0bc43cc60768672a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03971/s931383808.py
524b86c116645356f3c2bf545938cf9268af51e8
[]
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
312
py
n,a,b = map(int , input().split()) s = input() Judgment = 0 rank = 0 overseas=0 for num in range(n): if s[num] == 'a' and rank < a+b: print('Yes') rank = rank+1 elif s[num] == 'b' and rank < a+b and overseas < b: print('Yes') rank = rank +1 overseas = overseas + 1 else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c697e60d74d74ff44aacff3b5a9830ed04f0219a
1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5
/youTube/codebasics/numpyTutorial/2_basicArrayOperations.py
39a039c8f30e1b3b68b438c43594839bac54cbd0
[ "MIT" ]
permissive
sagarnikam123/learnNPractice
f0da3f8acf653e56c591353ab342765a6831698c
1b3b0cb2cff2f478006626a4c37a99102acbb628
refs/heads/master
2023-02-04T11:21:18.211654
2023-01-24T14:47:52
2023-01-24T14:47:52
61,184,927
2
1
MIT
2022-03-06T11:07:18
2016-06-15T06:57:19
Python
UTF-8
Python
false
false
364
py
import numpy as np a = np.array([5, 6, 9]) print('a: ', a) print('a dimension: ', a.ndim) print('access elemeent', a[1]) print('itemsize: ', a.itemsize) print('############### Multidimensional ###############') t = np.array([ [1, 2], [3, 4], [5, 6]]) print('t: ', t) print('t dimension: ', t.ndim) print('access elemen...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
855b7266b343bfa7d96dc95976e72742f81f2cd1
3c1ad0919924ed8d96ae5f9d9a10b97cfdf1ee38
/topic_categories.py
66576dd60242eef788d762326154e23626f8eccc
[]
no_license
emonson/CopyrightScripts
4439ba584840e74ebdc5ab6083887e530757de64
862e5d2eb0af848647bf1cb2d95519071a00adc0
refs/heads/master
2020-05-18T15:37:15.926524
2017-03-16T14:51:08
2017-03-16T14:51:08
1,569,450
0
1
null
null
null
null
UTF-8
Python
false
false
3,256
py
#!/usr/bin/env python """ Script to move articles (e.g. de, de la, d'...) from before last name to after first name in Hilary's FileMaker Pro database through the ODBC connection Takes in an Excel workbook with three sheets: one for the list of articles one for the column and table names (Table, ID name, Last name,...
[ "emonson@cs.duke.edu" ]
emonson@cs.duke.edu
e3696afcd45abc84967cac4f0b35f6872f307c18
1033674d794fd0e09f16486d9f3cbb17a326d764
/_unittests/ut_df/test_streaming_dataframe.py
0e9cba3cbfa0854e73b4b0324757786e3b14596c
[ "MIT" ]
permissive
chanpatrick/pandas_streaming
a074e576abfd7f67ecf524a8e71c325684d1ef17
f24acafcb6faedfa53982a1700d133413e7cce5f
refs/heads/master
2020-06-08T06:34:20.923108
2019-06-10T21:03:42
2019-06-10T21:03:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,509
py
# -*- coding: utf-8 -*- """ @brief test log(time=4s) """ import os import unittest import pandas import numpy from pyquickhelper.pycode import ExtTestCase, get_temp_folder from pandas_streaming.data import dummy_streaming_dataframe from pandas_streaming.exc import StreamingInefficientException from pandas_streamin...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
4a7a97e46437fe38cad331c51922a344587cc1e3
3432efd194137e1d0cb05656eb547c9992229f02
/django/pytest/test5/test5/settings.py
19b1d23ae1de415200eae15591fceee0dd6403bd
[]
no_license
zhanganxia/other_code
31747d7689ae1e91fcf3f9f758df130246e7d495
8d09d9d0b6d6a1a9b8755487f926ac6fafd761fa
refs/heads/master
2021-09-04T02:22:38.632685
2018-01-14T15:37:14
2018-01-14T15:37:14
107,007,482
0
0
null
null
null
null
UTF-8
Python
false
false
2,946
py
""" Django settings for test5 project. Generated by 'django-admin startproject' using Django 1.8.2. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths ...
[ "kk@kk.rhel.cc" ]
kk@kk.rhel.cc
942e8bf47622d8a6e758e7280fef2995844ceadc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02775/s986607651.py
c3546065a4b749bfa2bed51b4f2688ba876de31b
[]
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
219
py
s=input() dp0=[0]*(len(s)+1) dp1=[0]*(len(s)+1) dp1[0]=1 for i in range(1,len(s)+1): n=int(s[i-1:i]) dp0[i]=min(dp0[i-1]+n,dp1[i-1]+10-n) dp1[i]=min(dp0[i-1]+(1 if n+1==10 else n+1),dp1[i-1]+10-n-1) print(dp0[-1])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3ec0809e0b6b7fba80e5361b491f4b5848f0fffb
4012f290d83ae7f4c09d7440f26d2acd7e63efbe
/2705.py
cfa9d3e09805b3d8318fdf0725d78d909b7a3f91
[]
no_license
jinaur/codeup
ffc2d0fdf73892c1f46d80021ad8f4c1293c9e2e
5f75ace909e2b3151171932cc3ee9f3c49dd46d9
refs/heads/master
2023-04-15T07:42:06.244806
2021-04-25T13:59:42
2021-04-25T13:59:42
277,760,813
1
0
null
null
null
null
UTF-8
Python
false
false
437
py
n = int(input()) l, t = list(map(int, input().split())) a = list(map(int, input().split())) r = 0 count = 0 i_count = 0 for i in range(0, n) : if a[i] < i_count + count : continue else : count = 0 for j in range(1, l+1) : if i >= n-j : break if a[i] == a[i+j] : ...
[ "50763720+jinaur@users.noreply.github.com" ]
50763720+jinaur@users.noreply.github.com
6286d7f5c5b65c4e326259f61aa62cddd8a69af4
c39f999cae8825afe2cdf1518d93ba31bd4c0e95
/PYME/DSView/modules/psfTools.py
2f63492b1f9c133f8585b3a6ecc0ab1ce6d6ccc0
[]
no_license
WilliamRo/CLipPYME
0b69860136a9b2533f2f29fc29408d7471cb934d
6596167034c727ad7dad0a741dd59e0e48f6852a
refs/heads/master
2023-05-11T09:50:58.605989
2023-05-09T02:17:47
2023-05-09T02:17:47
60,789,741
3
1
null
2016-06-17T08:52:44
2016-06-09T16:30:14
Python
UTF-8
Python
false
false
13,939
py
#!/usr/bin/python ################## # coloc.py # # Copyright David Baddeley, 2011 # d.baddeley@auckland.ac.nz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License,...
[ "willi4m@zju.edu.cn" ]
willi4m@zju.edu.cn
2f8c934b78b3d3a3e7e7e52ba27a85a4e8cc7054
0760fb4901a75766921a205b55686d6d6f049b30
/rllib/utils/tests/test_taskpool.py
de0fd4919e05832faff78e2270f197ead660328b
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
ray-project/ray
a4bb6940b08b59a61ef0b8e755a52d8563a2f867
edba68c3e7cf255d1d6479329f305adb7fa4c3ed
refs/heads/master
2023-08-31T03:36:48.164405
2023-08-31T03:20:38
2023-08-31T03:20:38
71,932,349
29,482
5,669
Apache-2.0
2023-09-14T21:48:14
2016-10-25T19:38:30
Python
UTF-8
Python
false
false
5,151
py
import unittest from unittest.mock import patch import ray from ray.rllib.utils.actors import TaskPool def createMockWorkerAndObjectRef(obj_ref): return ({obj_ref: 1}, obj_ref) class TaskPoolTest(unittest.TestCase): @patch("ray.wait") def test_completed_prefetch_yieldsAllComplete(self, rayWaitMock): ...
[ "noreply@github.com" ]
ray-project.noreply@github.com
3838bf7b8309dce816bfa0285dca3bdb5173f0a0
3a426d6cd831183fa00a22e426da44692c870f0c
/sidekick-seq/sidekick/seq/util.py
670f4e19ab6178bea6335d246611acef2e759a05
[ "MIT" ]
permissive
fabiommendes/sidekick
d399d57f13ae606a99623af22c63a32343d66592
993ae7b8496347ad9720d3ff11e10ab946c3a800
refs/heads/master
2021-07-09T15:48:04.113881
2021-06-28T16:44:21
2021-06-28T16:44:56
98,376,293
32
5
null
null
null
null
UTF-8
Python
false
false
797
py
import itertools from ..typing import Index INDEX_DOC = """index: Either a number that starts an infinite enumeration or a sequence of indexes that is passed as the first argument to func.""" def to_index_seq(index: Index): """ Convert the index argument of many functions to a proper...
[ "fabiomacedomendes@gmail.com" ]
fabiomacedomendes@gmail.com
e5de69aeef1912a706f33d248d0f5177a7659fe7
62c6884e9597d96a25d274515d6124c46daffec8
/examples/reports/__init__.py
0984649742c7f11520b17547eaebd313405fb49e
[ "MIT" ]
permissive
doncat99/zvt
0f9305442af287e63f15de11cb2e2f6b5f9b3d05
831183bdf7a6d0fc3acd3ea51984df590078eec6
refs/heads/master
2023-03-22T13:35:17.277276
2021-03-10T14:02:08
2021-03-10T14:02:08
284,984,720
13
2
null
null
null
null
UTF-8
Python
false
false
2,753
py
# -*- coding: utf-8 -*- import datetime import json import os from sqlalchemy import or_ from zvt.api.data_type import Region from zvt.utils.pd_utils import pd_is_not_null from zvt.utils.time_utils import to_pd_timestamp, now_time_str from zvt.domain import FinanceFactor, BalanceSheet, IncomeStatement def get_subsc...
[ "doncat99@gmail.com" ]
doncat99@gmail.com
cafb2d5199dac51c6af5f55849443b25a12c4d81
1816378da612c7db376934b033e4fd64951338b6
/gui/services/migrations/0102_auto__add_field_nfs_nfs_srv_udp.py
f1b89b4f6ff1d7c96b614481aab07f36078610ad
[]
no_license
quater/freenas-9.2-xen
46517a7a23546764347d3c91108c70a8bd648ec6
96e580055fa97575f0a0cb23a72495860467bcfb
refs/heads/master
2021-01-16T22:21:38.781962
2014-02-07T05:59:13
2014-02-07T05:59:13
16,609,785
2
0
null
null
null
null
UTF-8
Python
false
false
33,441
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): # Adding field 'NFS.nfs_srv_udp' db.add_column(u'services_nfs', 'nfs_srv_udp'...
[ "wg@FreeBSD.org" ]
wg@FreeBSD.org
9846bc35bfa3391fc47e58f9a2879889ab9fa42e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/17/usersdata/129/7024/submittedfiles/lecker.py
41f8857dcf14a6238bfb49ef35648401bdecabca
[]
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
428
py
# -*- coding: utf-8 -*- from __future__ import division import math a=input('Digite o valor: ') b=input('Digite o valor: ') c=input('Digite o valor: ') d=input('Digite o valor: ') if a>b and a<b>c: print ('N') elif a>b and b<c>d : print ('N') elif a>b and c<d: print ('N') elif a<b>c and b<c>d: p...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5e28c0093f7c78ce2b10fae07e900c56f374c650
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-iot/aliyunsdkiot/request/v20180120/UpdateEdgeInstanceRequest.py
c43811f3b4e4b5c6c68fbb0615a7607275f92b02
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
2,204
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
eb25e9c4b639d7a0427e13c3c6e14a6bbfec3069
dac12c9178b13d60f401c4febff5569af8aa2719
/cvat/apps/iam/apps.py
4f6979b7a7c54e461d2602f06d537cb0802cec40
[ "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
opencv/cvat
39dc66ca20f972ba40b79c44d7ce43590dc0b0b5
899c9fd75146744def061efd7ab1b1c6c9f6942f
refs/heads/develop
2023-08-19T04:27:56.974498
2023-08-18T09:58:25
2023-08-18T09:58:25
139,156,354
6,558
1,887
MIT
2023-09-14T12:44:39
2018-06-29T14:02:45
TypeScript
UTF-8
Python
false
false
368
py
from distutils.util import strtobool import os from django.apps import AppConfig from .utils import create_opa_bundle class IAMConfig(AppConfig): name = 'cvat.apps.iam' def ready(self): from .signals import register_signals register_signals(self) if strtobool(os.environ.get("IAM_OPA_...
[ "noreply@github.com" ]
opencv.noreply@github.com
780ce0fba2444e5a07ea67d6ed14d86a19ea2e4d
ec181b840d3462eb43de5682adde38fa3c0ab570
/towhee/compiler/backends/__init__.py
03b640a4d7eb5f6b90d404c245eb933791a56562
[ "Apache-2.0" ]
permissive
towhee-io/towhee-compiler
37fc26ec87fc20710d2e1b653b2d83fad0dfc63f
e9a724169ae96d3ae73db732ae3d8b4e9e3f9b5c
refs/heads/main
2023-05-23T07:59:11.217347
2022-09-13T11:32:23
2022-09-13T11:32:23
514,104,716
6
6
Apache-2.0
2022-09-13T11:32:24
2022-07-15T02:10:13
Python
UTF-8
Python
false
false
416
py
from typing import Callable from .backend_compiler import BackendCompiler from .nebullvm_compiler import NebullvmCompiler def resolve(name: str) -> Callable: if name in BackendCompiler.backends: return BackendCompiler.backends[name]() from torchdynamo.optimizations.backends import BACKENDS retu...
[ "shiyu.chen@zilliz.com" ]
shiyu.chen@zilliz.com
85d78ffc916b78fe38f01989bed8b03fcf69acd7
e61e664d95af3b93150cda5b92695be6551d2a7c
/vega/core/search_space/__init__.py
62c21622ed68be03022e38e7e52bef05102fab74
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
huawei-noah/vega
44aaf8bb28b45f707ed6cd4e871ba70fc0c04846
12e37a1991eb6771a2999fe0a46ddda920c47948
refs/heads/master
2023-09-01T20:16:28.746745
2023-02-15T09:36:59
2023-02-15T09:36:59
273,667,533
850
184
NOASSERTION
2023-02-15T09:37:01
2020-06-20T08:20:06
Python
UTF-8
Python
false
false
503
py
from vega.core.search_space.ext_hyper_parameter import IntHyperParameter, FloatHyperParameter, \ FloatExpHyperParameter, IntExpHyperParameter, CatHyperParameter, BoolCatHyperParameter, \ AdjacencyListHyperParameter, BinaryCodeHyperParameter, HalfCodeHyperParameter from .search_space import SearchSpace, SpaceSet...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
20367adb74f550000ac708a28b1b02c267317161
ac4ba3868bb87c995772a293360e7cc4e38a3ccc
/one_model_chooser_svm.py
556e321e0d5d3401ea464633f255dce33b9035b7
[]
no_license
greggoren/robustness
8d503370f72c91882e205cd7af00d727997a7906
d9328bb86d66e4767b6d998125c8ef5a5c540c5e
refs/heads/master
2021-01-15T13:33:49.425635
2018-01-29T20:47:54
2018-01-29T20:47:54
99,676,406
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
import preprocess_clueweb as p import single_model_handler as mh import evaluator as e import params import sys if __name__=="__main__": preprocess = p.preprocess() X,y,queries=preprocess.retrieve_data_from_file(params.data_set_file,params.normalized) sys.stdout.flush() number_of_queries = len(set(queri...
[ "grggoren@gmail.com" ]
grggoren@gmail.com
fc39b2c4d90ba07db630ff735ea9f1d228fce7d5
5cea76d53779d466f19a5cf0b51e003586cc4a7b
/python开发技术详解/源文件/09/9.1.6/assert.py
edda342a1eec64a32b4fae7c6342fe51a3b140d9
[]
no_license
evan886/python
40152fdb4885876189580141abe27a983d04e04d
d33e996e93275f6b347ecc2d30f8efe05accd10c
refs/heads/master
2021-06-28T12:35:10.793186
2021-05-26T14:33:40
2021-05-26T14:33:40
85,560,342
2
1
null
2017-10-11T05:31:06
2017-03-20T09:51:50
JavaScript
GB18030
Python
false
false
284
py
#!/usr/bin/python # -*- coding: UTF-8 -*- # assert判断逻辑表达式 t = ("hello",) assert len(t) >= 1 #t = ("hello") #assert len(t) == 1 # 带message的assert语句 month = 13 assert 1 <= month <= 12, "month errors" #assert month >= 1 and month <= 12, "month errors"
[ "evan886@gmail.com" ]
evan886@gmail.com
9ab5da089f7593a59cf5768ebba2bee45058e0c4
9b57629a451471c0d38fbc1d29373938e4856ed5
/pyreto/renderer.py
5d2e46bc1dd781d7dcc392699a78034a020e2287
[ "Apache-2.0" ]
permissive
rwl/pylon
0b9d635f51be6fdf20dbf77b736e3b2f87e76a69
916514255db1ae1661406f0283df756baf960d14
refs/heads/master
2021-01-01T18:34:08.453649
2015-07-07T17:38:09
2015-07-07T17:38:09
107,383
15
12
null
2015-07-07T17:38:09
2009-01-14T16:18:21
Python
UTF-8
Python
false
false
7,339
py
#------------------------------------------------------------------------------ # Copyright (C) 2007-2010 Richard Lincoln # # 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.ap...
[ "r.w.lincoln@gmail.com" ]
r.w.lincoln@gmail.com
7bfc33fa5570e49a7df08895a50f1226f8bcf524
e9be8f5c0b4468d29c798a67a56aa15be504a723
/home/migrations/0003_customtext_name.py
a65a9fbb96ed9638e8ef5a752e341131475ddd4f
[]
no_license
crowdbotics-apps/test-23226
a73aa026e079de4c3419d85d214dbce66b9137fc
c2abc5faac4eba99f2c60a3c2fd2b382700266f3
refs/heads/master
2023-01-21T00:51:18.149767
2020-12-07T02:29:48
2020-12-07T02:29:48
319,181,784
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 2.2.17 on 2020-12-07 02:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("home", "0002_load_initial_data"), ] operations = [ migrations.AddField( model_name="customtext", name="name", ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
04341bccd4121da621985612485cabb3d56736b4
4235c0baec2f75a9ab74ca2b88f9d05559db7969
/posts/migrations/0010_auto_20190422_1123.py
98861078292488d5c2a5d8ba7eb6a539183ee499
[]
no_license
yooseungju/Fake-Instagram
364fc31337449274e0373cce86ebf171cb7c3271
d30767aa4f0705150d4fb430def92ae514565969
refs/heads/master
2020-05-07T21:44:51.621461
2019-04-22T08:36:59
2019-04-22T08:36:59
180,916,794
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# Generated by Django 2.1.8 on 2019-04-22 11:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0009_auto_20190416_1413'), ] operations = [ migrations.CreateModel( name='Hashtag', fields=[ ...
[ "seung338989@gmail.com" ]
seung338989@gmail.com
165df46c501326550a09e354ab5dd3e63c1af15e
f10d45aecbfccb3f469ab0c4ae55fc0f256c9004
/Functions/compile.py
666455168649a3d7f56313f12ddcc095a7f07e45
[]
no_license
Do-code-ing/Python_Built-ins
c34c1cea19a2cef80ab3a16d050e8825af0feb59
03b2f277acde4fce00bb521e3a0b8c0469b39879
refs/heads/master
2023-07-29T15:30:00.693005
2021-09-04T18:48:18
2021-09-04T18:48:18
354,467,767
0
0
null
null
null
null
UTF-8
Python
false
false
2,649
py
# compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1) # source를 편집하거나 번역하여 code나 AST object로 만든다. # eval, exec을 호출할 때, 실제 처리과정에서 과부하를 줄 수 있기에 compile을 사용 # source : 문자열이나, bytes, AST object여야 한다. # filename : code를 읽은 file 이름을 제공하면 된다. # code가 문자열이라면 <string>을 제공하면 된다. # mode : compile하...
[ "zxcvbn658@naver.com" ]
zxcvbn658@naver.com
db6fbc8601791d7f4fbbfa3929297ba4ad395c39
a2b20597759990445081057d35d113434cfcf970
/stubs/typeshed/typeshed/stdlib/asyncio/subprocess.pyi
b8877b3605274c51907e8c6165c7f60aaeee03d0
[ "MIT", "Apache-2.0" ]
permissive
facebook/pyre-check
34059599c02b65605c574f13555229f3b931fd4e
fe8ccedc572cc1faa1fd01e9138f65e982875002
refs/heads/main
2023-09-03T19:10:11.587028
2023-09-02T07:40:35
2023-09-02T07:40:35
110,274,488
6,703
575
MIT
2023-09-13T17:02:32
2017-11-10T17:31:36
OCaml
UTF-8
Python
false
false
9,322
pyi
import subprocess import sys from _typeshed import StrOrBytesPath from asyncio import events, protocols, streams, transports from collections.abc import Callable, Collection from typing import IO, Any from typing_extensions import Literal, TypeAlias __all__ = ("create_subprocess_exec", "create_subprocess_shell") if s...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
253b7329e6fc95b64e65cbc96b5cd33556a88bc3
9c315e3762961668a1fe58ad811ae87c5fbf7539
/apertium-tools/getBookNames.py
f309abe2db7601f668b301f996622c39c83b04b0
[]
no_license
frankier/apertium
f2b893115c413203b1194e5c0d4feb0adf2b1b3e
d3f5515bf2455f3046314a62ea564457bcf504b8
refs/heads/gnulib
2021-01-20T21:00:53.139135
2016-05-27T17:30:01
2016-05-27T17:30:01
59,847,975
0
1
null
2016-07-07T12:39:01
2016-05-27T16:21:14
HTML
UTF-8
Python
false
false
1,248
py
#!/usr/bin/env python3 import os import sys import pprint import argparse #!/usr/bin/env python #langs = ["xal", "chv", "tat", "kaz", "kaz2", "alt", "bua", "kir", "tgk", "tyv", "kaa", "gag", "kum", "aze", "kjh"] #POSSIBLE languages, kaz2 is a second kaz translation of the Bible def todict(langs): langData = {} ...
[ "unhammer@72bbbca6-d526-0410-a7d9-f06f51895060" ]
unhammer@72bbbca6-d526-0410-a7d9-f06f51895060
0137356885a920c1fd4914505128d497798afb4f
ac0894b411507bfd027696b6bf11b5e384ed68fc
/need-to-do/python3------download-problem--of--leetcode/796.rotate-string.py
72980badbb5ee3be57bade30782a99641d9abe38
[]
no_license
mkzpd/leetcode-solution
1d19554628c34c74012fa52582c225e6dccb345c
60c9b218683bcdee86477a910c58ec702185c726
refs/heads/master
2020-05-31T05:56:48.985529
2019-09-20T09:10:49
2019-09-20T09:10:49
190,128,627
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# # @lc app=leetcode id=796 lang=python3 # # [796] Rotate String # # https://leetcode.com/problems/rotate-string/description/ # # algorithms # Easy (49.30%) # Total Accepted: 47.2K # Total Submissions: 95.8K # Testcase Example: '"abcde"\n"cdeab"' # # We are given two strings, A and B. # # A shift on A consists of ...
[ "sodgso262@gmail.com" ]
sodgso262@gmail.com
eb32725b060733641d92539f1dad81793d9e1b55
e7bba3dd662bf2778c36a406f72ee93b2ea05e11
/CardinalityEstimationTestbed/Synthetic/deepdb/deepdb_job_ranges/ensemble_compilation/physical_db.py
49aaa09f09166393579b33846891d7c049f6f700
[ "MIT" ]
permissive
TsinghuaDatabaseGroup/AI4DBCode
37e45b176bc94e77fe250ea45f0ad7b9054c7f11
a8989bfadcf551ee1dee2aec57ef6b2709c9f85d
refs/heads/master
2023-07-07T05:42:15.590000
2023-07-04T01:04:15
2023-07-04T01:04:15
217,175,047
53
35
null
2023-06-20T13:00:17
2019-10-24T00:03:14
Scala
UTF-8
Python
false
false
4,011
py
import pandas as pd import psycopg2 from ensemble_compilation.utils import gen_full_join_query, print_conditions class DBConnection: def __init__(self, db='postgres', db_user='postgres', db_host="/var/run/postgresql", db_password="jintao", db_port="5432"): self.db_user = db_user...
[ "zhouxuan19@mails.tsinghua.edu.cn" ]
zhouxuan19@mails.tsinghua.edu.cn
9561f4f411321b341924c9a0d254730272840d1c
ce6cb09c21470d1981f1b459293d353407c8392e
/tests/unit/modules/test_settings.py
5aef7f7f0ae31d7af5d8157132b9b09f13efe129
[ "Apache-2.0" ]
permissive
minefuto/healthbot-py-client
c4be4c9c3153ef64b37e5344bf84154e93e7b521
bb81452c974456af44299aebf32a73abeda8a943
refs/heads/master
2022-12-04T07:47:04.722993
2020-05-13T14:04:07
2020-05-13T14:04:07
290,145,286
0
0
Apache-2.0
2020-08-25T07:27:54
2020-08-25T07:27:53
null
UTF-8
Python
false
false
19,263
py
import unittest from nose.plugins.attrib import attr from mock import patch from jnpr.healthbot import HealthBotClient from jnpr.healthbot import NotificationSchema from jnpr.healthbot import NotificationSchemaSlack from jnpr.healthbot import SchedulerSchema from jnpr.healthbot import DestinationSchema from jnpr.heal...
[ "nitinkr@juniper.net" ]
nitinkr@juniper.net
9edf384e79dea79baa8bb61cf6401ef072f974a0
a03b30ee77b49e19a72b647e984b98f878c2847a
/Anaconda-files/Programs_13c.py
86e9478978c292b6db68c6833bab67a5bbdf74f5
[ "BSD-2-Clause" ]
permissive
SSalaPla/dynamical-systems-with-applications-using-python
d47f46dfbe7195d2446cdee7f874cc3e4a5ab90a
c80582ae3559230d12e2aee15f94c465e367fdda
refs/heads/master
2021-05-03T16:00:31.561907
2018-02-05T15:16:13
2018-02-05T15:16:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# Programs_13c: The Leslie matrix. See Example 4. # Compute the population distribution after 50 years. # Determine the eigenvalues and eigenvectors of a Leslie matrix. import numpy as np import numpy.linalg as LA L=np.array([[0,3,1],[0.3,0,0],[0,0.5,0]]) X0=np.array([[1000],[2000],[3000]]) X_50=np.dot(LA.matrix_power(...
[ "samuel.dibella@gmail.com" ]
samuel.dibella@gmail.com
82958dfb2f0172c53857321c5004392e3ea3c047
c5d68f58c9523257a8b41954553f5cff2cd5f487
/Secao_06_Lista_Ex_62e/ex_56.py
bd2bccb3ca2646da55f1e255bafaab409a0bf57a
[]
no_license
SouzaCadu/guppe
04bfcde82d4404eb9ec795006c6931ba07dc72b6
1f8a672230c5c27712f522e1e34516591c012453
refs/heads/master
2023-03-13T01:32:51.019871
2021-02-25T17:02:59
2021-02-25T17:02:59
320,908,119
1
0
null
null
null
null
UTF-8
Python
false
false
868
py
""" faça um programa que some todos os números primos abaixo de 2MM Observações 1) Existe um teorema na matemática que diz que se um número não possui divisores até sua raiz quadrada então ele é primo, por isso o num**0.5 2) Este código supõe que o número n inserido será maior que 0, por isso a soma já começa = 2, u...
[ "cadu.souza81@gmail.com" ]
cadu.souza81@gmail.com
016beda8449388bcc4a78f821ef89a6b1d737a78
aee00a21081bb0d6a2ed96218d650663294dd0dc
/pyLibrary/queries/es_query_aggop.py
186257e87b901ca55ba06d4d1801ea4b85e926b0
[]
no_license
klahnakoski/Datazilla2ElasticSearch
8c386b0ed3f52412981cae852e7ecb66f17b43cb
9675cbdb5fb0428a247f38e7088a8f42f19f3e20
refs/heads/master
2021-01-22T09:33:40.958865
2014-10-20T20:19:35
2014-10-20T20:19:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,106
py
# encoding: utf-8 # # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http:# mozilla.org/MPL/2.0/. # # Author: Kyle Lahnakoski (kyle@lahnakoski.com) # from __future__ import unicode_literals from __...
[ "klahnakoski@mozilla.com" ]
klahnakoski@mozilla.com
a047aee51e0337ee44f1cded42f2c410b3866aad
929fba6e9f74cc109d98efdc0f32fa4cadbd4def
/Mathematics/1161.py
ceab72e57e789f3cd59716a281a2cb5cfb4428e1
[ "MIT" ]
permissive
LorranSutter/URI-Online-Judge
2be9d95a27e52fad6bb1ae189d9bb39c72a43228
01822b6124a535aeecbdbdad616b61f2d55dd8d4
refs/heads/master
2023-01-28T00:15:34.569999
2023-01-24T03:08:38
2023-01-24T03:08:38
141,393,679
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
fats = { '0':1, '1':1, '2':2, '3':6, '4':24, '5':120, '6':720, '7':5040, '8':40320, '9':362880, '10':3628800, '11':39916800, '12':479001600, '13':6227020800, '14':87178291200, '15':1307674368000, '16':20922789888000, '17':355687428096000, '18':6402373705728000, '19':121645100408832000, '20':2432902...
[ "lorransutter1836@gmail.com" ]
lorransutter1836@gmail.com
4b874967bf34bdc5d672c7193fca61f4f6696d35
854394f4148e7bee8cd3c6d2a01e97ffbf772103
/0x02-python-import_modules/2-args.py
a3ea363e7986241d9426c33948fa9622f6fa3db5
[]
no_license
garethbrickman/holbertonschool-higher_level_programming
cb3ccb864102d62af72b5e86d53638bd899bfabb
05d65c6c89008cb70cbc1ada5bb9c8ed7a2733e9
refs/heads/master
2021-07-10T08:32:23.397388
2020-10-15T18:40:55
2020-10-15T18:40:55
207,379,469
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
#!/usr/bin/python3 if __name__ == '__main__': from sys import argv argc = len(argv) if argc < 2: print("0 arguments.") for i in range(1, argc): if argc < 3: print("1 argument:") print("1: {}".format(argv[1])) else: if i == 1: pr...
[ "977@holbertonschool.com" ]
977@holbertonschool.com
7065e46a10f60850b0d2b2f007bfe93dcacb0bec
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_206/1318.py
e3cf5015dc7050102c3190364333952ee4a6a424
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
#!/usr/bin/env python # -*- coding: utf-8 -*- def main(inp): D, N = inp.split() D, N = int(D), int(N) horses = [] for i in range(N): K, S = input().split() K, S = int(K), int(S) horses.append((K, S)) slowest_time = 0 for horse in horses: time = (D - horse[0]) / horse[1] if time > slowest_time: slowe...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e7ef237a242c1df8dd3125dd680dfc3a251e39e4
3fda3ff2e9334433554b6cf923506f428d9e9366
/hipeac/migrations/0018_auto_20190131_1245.py
05e389d20c7a24fa3c385a730a8607cce3faedd6
[ "MIT" ]
permissive
CreativeOthman/hipeac
12adb61099886a6719dfccfa5ce26fdec8951bf9
2ce98da17cac2c6a87ec88df1b7676db4c200607
refs/heads/master
2022-07-20T10:06:58.771811
2020-05-07T11:39:13
2020-05-07T11:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# Generated by Django 2.1.5 on 2019-01-31 11:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("hipeac", "0017_membershiprequest"), ] operations = [ migrations.RemoveField(model_name="membershiprequest", name="status",), migrati...
[ "eneko.illarramendi@ugent.be" ]
eneko.illarramendi@ugent.be
c9eaba44939c86fbebd36c85ef891559522ecb86
94e00065cd54c06faf36d1ed78a067d69e94696d
/PPA2/npmrds_data_conflation.py
160324032b54bd582a94d9a4877558e07d5096b4
[ "MIT" ]
permissive
djconly85/PPA2_0_code
98887eebf02738a07358b1e57ab71bf717ffc86e
1d67934eb3bc3c7df16cdd5867639b92c9ea45eb
refs/heads/master
2021-07-01T04:42:58.770965
2021-01-08T22:40:06
2021-01-08T22:40:06
207,445,494
0
0
null
null
null
null
UTF-8
Python
false
false
12,417
py
# Esri start of added imports import sys, os, arcpy # Esri end of added imports # Esri start of added variables g_ESRI_variable_1 = 'fl_splitprojlines' g_ESRI_variable_2 = 'fl_splitproj_w_tmcdata' g_ESRI_variable_3 = "{} = '{}'" g_ESRI_variable_4 = '{} IS NOT NULL' g_ESRI_variable_5 = os.path.join(arcpy.env.packageWor...
[ "dconly@sacog.org" ]
dconly@sacog.org
8e356d3b216be573090d6c6b30dd50936d9c2ba0
a56252fda5c9e42eff04792c6e16e413ad51ba1a
/resources/usr/local/lib/python2.7/dist-packages/scipy/spatial/tests/test_kdtree.py
319d8fecf05b82f9c6f1be17313768eda9911f70
[ "Apache-2.0" ]
permissive
edawson/parliament2
4231e692565dbecf99d09148e75c00750e6797c4
2632aa3484ef64c9539c4885026b705b737f6d1e
refs/heads/master
2021-06-21T23:13:29.482239
2020-12-07T21:10:08
2020-12-07T21:10:08
150,246,745
0
0
Apache-2.0
2019-09-11T03:22:55
2018-09-25T10:21:03
Python
UTF-8
Python
false
false
21,121
py
# Copyright Anne M. Archibald 2008 # Released under the scipy license from __future__ import division, print_function, absolute_import from numpy.testing import (assert_equal, assert_array_equal, assert_almost_equal, assert_array_almost_equal, assert_, run_module_suite) import numpy as np from scipy.spatial impo...
[ "szarate@dnanexus.com" ]
szarate@dnanexus.com
3d42f04e1dbdfd001aec0c19bf420821cdefd8be
d89eea893b1491b545075bc16eb63b9e99aabf45
/store/urls.py
6f8661c1157fed563f0d8f73dbae06037e48e4c3
[]
no_license
kkthecompguy/allsafeshop
ed6d19555e3bfffe54812a399c62380a5189c229
836919d6652fccc72ad95c097f627b82d6d2504e
refs/heads/master
2023-02-06T06:34:16.504053
2021-01-02T16:45:11
2021-01-02T16:45:11
326,227,395
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
from django.urls import path from .views import store, cart, checkout, add_to_cart, place_order app_name = "store" urlpatterns = [ path('', store, name='store'), path('cart', cart, name='cart'), path('checkout', checkout, name='checkout'), path('add-to-cart', add_to_cart, name='add-to-cart'), path('place-ord...
[ "hnkhosamomollo3@gmail.com" ]
hnkhosamomollo3@gmail.com
3ae23f556592d59e06b9d9779437a55a17712b25
14f4d045750f7cf45252838d625b2a761d5dee38
/argo/test/test_io_k8s_api_storage_v1beta1_csi_node_list.py
d6234ac236a906689b94489a832c768f4bfb9f87
[]
no_license
nfillot/argo_client
cf8d7413d728edb4623de403e03d119fe3699ee9
c8cf80842f9eebbf4569f3d67b9d8eff4ba405fa
refs/heads/master
2020-07-11T13:06:35.518331
2019-08-26T20:54:07
2019-08-26T20:54:07
204,546,868
1
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import un...
[ "nfillot@weborama.com" ]
nfillot@weborama.com
c23ec8c67e4e0266f52cc21a90f42748f9f6b3d7
124cabad0cbf1e7249958d087d666231623444dc
/monkeys/post_image.py
d7005028aa1fd7ca8605a23c621b46a87f2eb57d
[]
no_license
shish/code-portfolio
e7bfe0f2f8c357f124e942a4e836dc06f33bede2
a33d65011f26874f0626b4c9ae50affce36c407a
refs/heads/master
2023-07-07T14:12:07.883334
2023-06-21T11:00:54
2023-06-21T11:00:54
4,450,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
# tribes/civicboom/post_image.py from tribes.civicboom import CivicboomMonkey class PostImageMonkey(CivicboomMonkey): def run(self): self.log_in_as("unittest") # create an article response = self.post( "/contents.json", params={ '_authentication_toke...
[ "shish@shishnet.org" ]
shish@shishnet.org
ac519a5a420f5a5d46df514bc6e310ef24fdad7c
747255e913980d401341f164366a67d2a5c302af
/video_slomo.py
76cef827b46a4bc4d055fb691a9a5385d6cf90ce
[]
no_license
zhaoyuzhi/Auto-Crop-Videos-and-Blur-Modelling
5365e5f4eea6521e2251ce41f57b6d30223b961d
345a67316483b1c2c40e63b0a43b87d6de410d51
refs/heads/master
2022-12-03T05:34:24.333430
2020-08-29T03:50:36
2020-08-29T03:50:36
255,800,343
2
0
null
null
null
null
UTF-8
Python
false
false
7,939
py
import argparse import os import cv2 import numpy as np import VideoFrameConversion as vfc import SuperSloMo as vslomo def get_files(path): # read a folder, return the complete path ret = [] for root, dirs, files in os.walk(path): for filespath in files: ret.append(os.path...
[ "noreply@github.com" ]
zhaoyuzhi.noreply@github.com
957f2c59a82039e7ca05cb449191376e312de5d4
56b47728ffe36878096fac0d8fb0deb94a8a9b7c
/SQLdb.py
7140ce7027f76ebad847674b3e3bf46a455fe87a
[]
no_license
CaMeLCa5e/dailyspring2015
1a930fc74930bb7d286956f17fcf36ec48802b4e
1b2039b9908407a31e951e44f66bafebf3d7422b
refs/heads/master
2016-09-05T19:54:44.918992
2015-05-24T23:51:39
2015-05-24T23:51:39
33,795,537
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
#! usr/bin/python import MySQLdb db = MySQLdb.connect("localhost", "testuser", "test123", "TESTDB") cursor = db.cursor() cursor.execute("DROP TABLE IF EXISTS EMPLOYEE") # cursor.execute("SELECT VERSION()") # data = cursor.fetchone() # print "Database version : %s" %data # db.close sql = """CREATE TABLE EMPLOY...
[ "JM273606@gmail.com" ]
JM273606@gmail.com
62da20225b5af908f0ff70e87fb3ad679eae1688
e52c7431f1b14444de52fd943a39fcaabeca21e4
/torch_geometric/sparse/__init__.py
faa61231fd6d50a6b07f253fe18fdf19e1b6117f
[]
no_license
jwyang/pytorch_geometric
72d3a62f6991d90edb3b8da6445e18421f2174a8
31043b182248852768317a4185384390e95217d5
refs/heads/master
2021-08-30T16:16:03.613724
2017-12-18T15:52:08
2017-12-18T15:52:08
114,831,322
0
1
null
2017-12-20T02:02:54
2017-12-20T02:02:53
null
UTF-8
Python
false
false
228
py
from .sparse import SparseTensor from .mm import mm from .mm_diagonal import mm_diagonal from .sum import sum from .eye import eye from .stack import stack __all__ = ['SparseTensor', 'mm', 'mm_diagonal', 'sum', 'eye', 'stack']
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
627d1e6a2cdc3cf718162c2da7f7045a0cc2c408
7978cf6a612816b97beeb34e4ccc4a3f68c44767
/1/1_2.py
2b44561d8277813145276f3ac86f8525dc54c6aa
[]
no_license
nemesmarci/Advent-of-Code-2018
13e9acd01b019ef0e890f0472c0c316a17dd60be
47dfac4afa69636428b722eb96fba2596bf8368c
refs/heads/master
2022-01-01T09:47:46.652193
2019-12-10T23:28:36
2021-12-29T19:48:02
159,982,537
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
with open('input.txt') as data: lines = data.readlines() frequency = 0 frequencies = set() found = False while not found: for line in lines: frequencies.add(frequency) frequency += int(line) if frequency in frequencies: found = True break print(frequency)
[ "nemes@sch.bme.hu" ]
nemes@sch.bme.hu
c8da1b8b4b7af25bda9804933bb7b2f7157e54c2
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2016_schizConnect/supervised_analysis/all_studies+VIP/all_subjects/VBM/03_svm_centered_by_site.py
b562acd6e58bac7146ddd232c6f5774867785958
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
11,397
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Feb 23 10:04:13 2017 @author: ad247405 """ import os import json import numpy as np from sklearn.cross_validation import StratifiedKFold from sklearn.metrics import precision_recall_fscore_support from scipy.stats import binom_test from collections im...
[ "ad247405@is222241.intra.cea.fr" ]
ad247405@is222241.intra.cea.fr
26fabfda61115811b13d95b272a0c78d93ef5adb
2ca91d379b291a4e7f5e804a63bb43f8bf316adf
/transmutator/orchestration.py
4ce766f5a01531d50647193e7696e42afa9455f4
[ "BSD-3-Clause" ]
permissive
benoitbryon/transmutator
918146ebfdd67ca67ac7f97715f8d59d745c32da
865a275a601cd735a131a58576aa12c68510b644
refs/heads/master
2021-01-17T13:21:39.027197
2015-06-24T10:30:58
2015-06-24T10:30:58
12,803,979
0
1
null
2016-06-27T21:40:38
2013-09-13T07:30:30
Python
UTF-8
Python
false
false
7,563
py
import os import shutil from xal.session.local import LocalSession class Orchestrator(object): def __init__(self): root_dir = os.path.abspath(os.getcwd()) self.mutations_dir = os.path.join(root_dir, 'mutations') self.working_dir = os.path.join(root_dir, 'var', 'transmutator') if n...
[ "benoit@marmelune.net" ]
benoit@marmelune.net
0b281d03ea9a0a92a7cdb82652e65812e7c55bce
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2145/60708/269546.py
04f455752d5ae779e8aa18a822389bff6d25d85e
[]
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
336
py
N=int(input()) for n in range(0,N): temp=input().split(" ") l=int(input()) list=[] for item in temp: list.append(int(item)) maxresult=0 for x in range(1,l+1): for y in range(0,l-x+1): h=min(list[y:y+x]) if(h*x>maxresult): maxresult=h*x ...
[ "1069583789@qq.com" ]
1069583789@qq.com
f42c0bc6db94794cbf3dbc31077f0801d2b140d3
804ce3c2897a8720a27e0d86ac3b868ebd41cd20
/project-data/django/mango/mango/wsgi.py
518142e6201c5cda775ff0c78d6761836370bc36
[]
no_license
hoboland21/mango
383359aa85b685bfe77c6336974600038454cf80
be8bf3398612a0c3dbb4498eb5eb18407c574ce3
refs/heads/master
2023-07-13T06:25:39.508434
2021-08-25T03:25:37
2021-08-25T03:25:37
399,520,705
0
1
null
null
null
null
UTF-8
Python
false
false
491
py
import sys,os """ WSGI config for main project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ #if "/usr/local/django/mango" not in sys.path : # sys.path.insert(0,"/usr/local/dj...
[ "jc@saipantech.com" ]
jc@saipantech.com
aa6d701c19dc52cbb0c3abdfa5fa1970d39343be
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2482/60829/280705.py
5973613bdc5d7fe19ce40088faaa5a99d02f2080
[]
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
188
py
n=int(input()) for p in range(n): a=int(input()) b=int(input()) k=a/b if k==1.6666666666666667: k=1.(6) if k==2.6666666666666665: k=2.(6) print(a/b)
[ "1069583789@qq.com" ]
1069583789@qq.com
0ee978c945a22cfd723c0a2e287d0e327ea507df
48fcd5b9203c5f34dcad9483259c0f3d46f5d48b
/codeacademy-python3/files/how_many_lines.py
79a082fa607ebffa16e832bc8a67fed867241a6f
[]
no_license
ssaulrj/codes-python
438dd691815d0a688d264928eb07187ba30c2138
04b75b001de60a5e202ad373f3379864753ce203
refs/heads/master
2022-11-17T11:40:18.883096
2020-07-06T00:57:58
2020-07-06T00:57:58
234,440,220
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
with open('how_many_lines.txt') as lines_doc: #lines_docx = lines_doc.read() for line in lines_doc.readlines(): print(line) #print(lines_docx)
[ "noreply@github.com" ]
ssaulrj.noreply@github.com
ec62c1d46aabfd5b1918edd414451252d7613fff
f8eea4a4cc079ba830a27a2ce239aef451ed6597
/test/ec/test_model.py
b9d4383639a0120de5a832c55c6614b5050ba089
[ "MIT" ]
permissive
qalmaqihir/pyecsca
f37a32a00ea47fff1db0d5bb42b28df7cce6b587
28546dad01a25ce101d6b49924f521c2ef5ffa98
refs/heads/master
2023-02-18T19:59:11.612457
2021-01-22T16:02:25
2021-01-23T00:15:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
from unittest import TestCase from pyecsca.ec.model import (ShortWeierstrassModel, MontgomeryModel, EdwardsModel, TwistedEdwardsModel) class CurveModelTests(TestCase): def test_load(self): self.assertGreater(len(ShortWeierstrassModel().coordinates), 0) self.assertGr...
[ "johny@neuromancer.sk" ]
johny@neuromancer.sk
f2f95abfa48576405b22de0fe042f561eb265d28
c8453f83242cd525a98606f665d9f5d9e84c6335
/lib/surface/container/images/list_tags.py
31d68c01369d00dbd98fec0fd6289bf87e7c0617
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
paulfoley/GCP-Cloud_SDK
5188a04d8d80a2709fa3dba799802d57c7eb66a1
bec7106686e99257cb91a50f2c1b1a374a4fc66f
refs/heads/master
2021-06-02T09:49:48.309328
2017-07-02T18:26:47
2017-07-02T18:26:47
96,041,222
1
1
NOASSERTION
2020-07-26T22:40:49
2017-07-02T18:19:52
Python
UTF-8
Python
false
false
3,412
py
# Copyright 2016 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 ag...
[ "Nexu@Nexu.local" ]
Nexu@Nexu.local
eb100eed015d6d6c69d5645791a5c9cc4b19b5cd
6114a1313ca1193343fac049d0f3cf9e15438829
/Chap0/project/guess.py
d1d399e95d5685e53d126aa80a8656a4ac77bad9
[]
no_license
AIHackerTest/Hansoluo_Py101-004
0d49bb12158d2d6f8c430c407d739336de7d0ef3
1bb2d1810ec286e16cf12165e75472edd7c5d29a
refs/heads/master
2021-06-28T01:54:57.478192
2017-09-12T08:23:02
2017-09-12T08:23:02
103,240,275
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# -*- coding: utf-8 -*- # 功能描述 # 程序随机生成一个20以内的数字,用户有10次机会猜测 # 程序根据用户输入,给予一定提示(大了,小了,正确) # 猜对或用完10次机会,游戏结束 import random # random.randint(a, b):Return a random integer N such that a <= N <= b a = random.randint(1,20) for i in range(1,11): b = int(input("请猜测20以内的数字:")) if a > b: print("小了") elif ...
[ "xiaowan5219@gmail.com" ]
xiaowan5219@gmail.com
79a6440763200a87a0690bc6149639063b1f6735
4fccfbe5c9cdf595dd3bdb182a6214f593bfd808
/nubia/internal/completion.py
f205db47f9a60830fd4226a834539959b0d47836
[ "BSD-3-Clause", "Python-2.0" ]
permissive
MountakBernotas/AzurePython
a3838207cb7ed9f3cd5e5b34aadd0a4eb6ca985d
5f34b13be8aefc08c491eebaf1692b75b813e1f5
refs/heads/master
2020-03-28T16:25:30.226681
2018-09-13T20:37:30
2018-09-13T20:37:30
148,693,461
0
1
NOASSERTION
2018-12-13T13:33:54
2018-09-13T20:22:54
Python
UTF-8
Python
false
false
10,195
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. # import logging import itertools import pyparsing as pp from nubia.internal.helpers impo...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
970e75fa5bf67b2442c0053f46b9b75a1bd89e12
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/__init__.py
bd9846f799c29d00ccefc844e142c82e2631c10c
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
28
py
from xcp2k.cp2k import CP2K
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
8cd41ee8c833fb7d76ec5d6fcc4ef5a36db55050
a5a7c59b04a1a64fe34653c7970c3cf173f9c1df
/io/swig/io/gnuplot_export.py
a8504306a3b7c530dfb745634aee77975fbd973d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
siconos/siconos
a7afdba41a2bc1192ad8dcd93ac7266fa281f4cf
82a8d1338bfc1be0d36b5e8a9f40c1ad5384a641
refs/heads/master
2023-08-21T22:22:55.625941
2023-07-17T13:07:32
2023-07-17T13:07:32
37,709,357
166
33
Apache-2.0
2023-07-17T12:31:16
2015-06-19T07:55:53
C
UTF-8
Python
false
false
3,345
py
import os,sys import h5py import numpy filename = '{0}.hdf5'.format(os.path.splitext(os.path.basename(sys.argv[1]))[0]) withPlot=False print filename out= h5py.File(filename, 'r') def group(h, name): try: return h[name] except KeyError: return h.create_group(name) def data(h, name, nbcolumn...
[ "vincent.acary@inria.fr" ]
vincent.acary@inria.fr
0ed2f6c7c8ca1dc78db9c05e4e5ca005bb389f3d
76a61fa52ab282501992ac889665bce01f2cdd62
/examples/REINFORCE/linear.py
7fb7f97d19853cd61fb1e43f6ee1644fbdf43297
[ "Apache-2.0" ]
permissive
diogo149/treeano
35ae0f9d0c0bbcb9ca1ff8856ba527e2d19b6194
9b3fd6bb5eb2f6738c9e5c357e70bef95dcae7b7
refs/heads/master
2020-04-06T07:05:19.946985
2016-08-11T15:47:58
2016-08-11T15:47:58
34,579,507
45
13
null
2016-02-03T07:32:45
2015-04-25T17:58:17
Python
UTF-8
Python
false
false
2,456
py
from __future__ import division, absolute_import from __future__ import print_function, unicode_literals import numpy as np import theano import theano.tensor as T import treeano import treeano.nodes as tn from treeano.sandbox.nodes import REINFORCE fX = theano.config.floatX TARGET_WEIGHT = np.random.randn(10, 2).a...
[ "diogo149@gmail.com" ]
diogo149@gmail.com
7e3a3bf22bd64c53ffdb6d059ddd55e06a2f0295
e81722d244e8647e64f2ffb44e028a1f4c5df410
/prepare_data.py
98e49fd258646947ae8b42f4672c8a4727556cfe
[]
no_license
bvillasen/volumeRender
9c16419d19e361799ef6c1a371e6236c90139b79
f36586fbf7775d4d39545064b5771cad86d3dfef
refs/heads/master
2021-08-30T19:43:10.127411
2020-10-18T02:05:21
2020-10-18T02:05:21
198,691,927
1
0
null
null
null
null
UTF-8
Python
false
false
2,081
py
import os, sys import numpy as np import h5py as h5 currentDirectory = os.getcwd() srcDirectory = currentDirectory + "/src/" dataDirectory = currentDirectory + "/data_src/" sys.path.extend([ srcDirectory, dataDirectory ] ) from tools import create_directory from load_data_cholla_distributed import load_snapshot_data_d...
[ "bvillasen@gmail.com" ]
bvillasen@gmail.com
fc9da05b724f3cc401ad8e99bf801480a47d99ec
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/bgw/models/LocationSpec.py
69b6f58d03ef8610c8cc7e5db8003c726aa8d3d1
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,533
py
# coding=utf8 # Copyright 2018 JDCLOUD.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 ...
[ "jdcloud-api@jd.com" ]
jdcloud-api@jd.com
1a95c984ef4b479eb1dafc39164ee5b439a1e1ac
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/project/tests/test_project_ui.py
08ef944eea3a788fc496ef58c731307bf53c4486
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Part of ALWAFI. See LICENSE file for full copyright and licensing details. import odoo.tests @odoo.tests.tagged('post_install', '-at_install') class TestUi(odoo.tests.HttpCase): def test_01_project_tour(self): self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('project_tour')", "odo...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
b734607bb98232aba5c08fbf7b0d204352c8348e
cac43e8d506ab79074ea4c5fb469f70ea7e6da81
/simulation/simulation_results_parser.py
85d557483acb2cb51db1cb71f98c18df0047687f
[]
no_license
fubuloubu/ad-hoc-networking
63b14cb80c6013a84764f65b7fcef275dd7c673e
b63f266ab6b90c2b77182cecf2f04749a5e7fa25
refs/heads/master
2020-06-10T20:37:25.883649
2016-12-23T00:07:17
2016-12-23T00:07:17
75,881,214
0
0
null
null
null
null
UTF-8
Python
false
false
4,694
py
#!/usr/bin/python3 import print_data_model # Typical Results looks like: example = ''' Statistics: Total Messages: 64 Succesfully Received Messages: 6 Success Rate: 9.38% Number of Retransmissions: 188 Average Latency: 0.00 [steps] Statistics: Total Messages: 52 Succesfully Received Messages: 4 Success Rate: 7.69% Nu...
[ "fubuloubu@gmail.com" ]
fubuloubu@gmail.com
970052a55f375ecee9553f24eb9852ddfc9a8962
116acf603f5db8d626247355bf786c339ba95ea9
/libs/options.py
2cc4a75cb027d45077396d591f2b05a0f1016b80
[]
no_license
dahunuaa/ZhihuiSMB_python3
0857afeec2337b44571986a9c70c26e716142ccb
8db2708efccd5eefa393738500e326bd7fb65c21
refs/heads/master
2021-01-25T14:32:32.201879
2018-03-11T05:59:10
2018-03-11T05:59:10
123,703,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,854
py
# -*- coding:utf-8 -*- """ alter by:dahu alter on:2016-11-17 """ import os import logging from tornado.options import parse_command_line, options, define from ZhihuiSMB.libs import configlib def get_base_config(): root_path = configlib.root_path os.chdir(root_path+'/configs') cfg=configlib.Config('base.icf...
[ "dahu yao" ]
dahu yao
842b0e029a9d3e87a5e0a33a7d76de2cb72a3ccd
c85a6d674679780ee510b5c8c3dbcbdecc859f64
/swagger_client/__init__.py
3d74d68b52cf9561f2ad3314cd8c0b2e8674ea96
[]
no_license
cbrowet-axway/APIM_sdk
d4f4a124e86a7b2e65d0ef07b54c68e95de68337
4f82df67ebe3dd6eae645bab8f86e72c0347ee24
refs/heads/master
2020-05-25T13:22:35.802350
2020-04-16T09:25:21
2020-04-16T09:25:21
187,820,389
0
0
null
null
null
null
UTF-8
Python
false
false
5,955
py
# coding: utf-8 # flake8: noqa """ API Manager API v1.3 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.3.0 Contact: support@axway.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ ...
[ "cbro@semperpax.com" ]
cbro@semperpax.com
2c7e1af7be7fc0e028d39a61eaecff78f3e51fbf
76e62ddbfdfba19c80b37e855a4df67672ef0808
/PINp/2015/GOLOVIN_A_I/task_6_7.py
f44cf765622b99a9db68592a554beeabdd89cf01
[ "Apache-2.0" ]
permissive
stasvorosh/pythonintask
9d30f3cd492e89783b7221402375c1ebe4690baa
8169ed26510022fe0d589f4013f11749131957df
refs/heads/master
2021-01-17T16:49:32.778063
2016-10-10T14:08:04
2016-10-10T14:08:04
52,255,539
6
0
null
2016-02-22T07:33:16
2016-02-22T07:33:15
null
UTF-8
Python
false
false
812
py
# Задача 6. Вариант 7. # Создайте игру, в которой компьютер загадывает имя одного из двух сооснователей компании #Google, а игрок должен его угадать. # Golovin A.I. # 02.06.2016 import random avtori = ("Ларри Пейдж", "Сергей Михайлович Брин") zagadka = random.choice(avtori) predpologenie = input("Программа загадала...
[ "stasyan.v@gmail.com" ]
stasyan.v@gmail.com
293c0cc89b6d785d75a702398378df58540c5f14
51b6d2fc53d5c632fcf01319842baebf13901e84
/atcoder.jp/abc198/abc198_d/Main.py
84b6d70e1c6e06e31d599ed119a69b9ab833910f
[]
no_license
mono-0812/procon
35db3b2c21eff74fbd7b52db07f249380f6834ef
68a4b53880a228a0164052b23d1326363efcbc20
refs/heads/master
2023-05-30T17:02:58.935074
2021-06-27T12:15:10
2021-06-27T12:15:10
345,896,553
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
import bisect,collections,copy,heapq,itertools,math,string,sys def I(): return input() def IS(): return input().split() def II(): return int(input()) def IIS(): return map(int,input().split()) def LIIS(): return list(map(int,input().split())) INF=float("inf") MOD=10**9+7 ################################################...
[ "frisk02.jar@gmail.com" ]
frisk02.jar@gmail.com
6b8ed594d7010e2c8bdc88e05eaafdead4a82e25
e97e727972149063b3a1e56b38961d0f2f30ed95
/test/test_dispositions_api.py
72054a85865322636021709bc99a39b437ac9845
[]
no_license
knetikmedia/knetikcloud-python-client
f3a485f21c6f3e733a864194c9acf048943dece7
834a24415385c906732437970db105e1bc71bde4
refs/heads/master
2021-01-12T10:23:35.307479
2018-03-14T16:04:24
2018-03-14T16:04:24
76,418,830
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
# coding: utf-8 """ Knetik Platform API Documentation latest This is the spec for the Knetik API. Use this in conjunction with the documentation found at https://knetikcloud.com. OpenAPI spec version: latest Contact: support@knetik.com Generated by: https://github.com/swagger-api/swagger-codeg...
[ "shawn.stout@knetik.com" ]
shawn.stout@knetik.com
de65e17d5e6e9ac507ce87a8fcceec8ca660929e
2e5314c4a1816301508e1d9d8094a5f99c808ff0
/phase_model_svm.py
b916556b431694c261a483e85a9ff3e1405b3f64
[ "MIT" ]
permissive
cahya-wirawan/phase-classification
0ad387547c2bbdce3a1fe4cea785c8f95b04619d
ca65442c4f2a30004a17cf79cbe54cf9c2f6925d
refs/heads/master
2022-12-14T04:58:45.215718
2019-01-11T12:07:29
2019-01-11T12:07:29
119,407,522
2
2
MIT
2022-12-08T00:54:07
2018-01-29T16:18:14
Jupyter Notebook
UTF-8
Python
false
false
478
py
from sklearn import svm from sklearn.model_selection import GridSearchCV # define baseline model def model_svm(layers, dropout=0.1, layer_number=None): params_grid = [ {'C': [1, 10, 100, 1000], 'kernel': ['linear']}, {'C': [1, 10, 100, 1000], 'gamma': [0.001, 0.0001], 'kernel': ['rbf']}, ] ...
[ "cahya.wirawan@gmail.com" ]
cahya.wirawan@gmail.com
cf533b5c6e6480bfc4190c6806832be62525289a
b8fd7e01a7069a0666eb2fe21991753fd5ff7860
/Dynamic Programming/746. Min Cost Climbing Stairs rec.py
82f373d18007ee68c7f89698e1626d4bd217d94d
[]
no_license
Jafoor/Leet-Code-Solved-Problems
0b6be0f3c82b1bc13c0c484782db65601cefa7b8
935e5679e04bf6f9c9d8a0bdf8b204923a2bc7a5
refs/heads/master
2023-07-02T13:38:59.690783
2021-07-19T16:20:48
2021-07-19T16:20:48
256,105,425
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
class Solution(object): def minCostClimbingStairs(self, cost): memo = [0]*(len(cost)+10) m1 = solve(0,cost,memo) m2 = solve(1,cost,memo) return min(m1,m2) def solve(i,cost,memo): if i>=len(cost): return 0 if memo[i] == 0: x1 = cost[i] + solve(i+1,cost,memo) ...
[ "abujafor.cse11@gmai.com" ]
abujafor.cse11@gmai.com
18e9295e97ab81fcc39d33ebd4605505a63da9db
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/7/usersdata/74/4449/submittedfiles/esferas.py
19dc11065165f216271b0a42907b5e5cdbc2e5b2
[]
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
308
py
# -*- coding: utf-8 -*- from __future__ import division e1 = input('Volume da primeira esfera') e2 = input('Volume da segunda esfera') e3 = input('Volume da terceira esfera') e4 = input('Volume da quarta esfera') a = e2+e3+e4 d = e2+e3 if a = e1 and d = e4 and e2 = e3: print('S') else: print('N')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
99760e10fa9e33679326968433083b8d2d910f35
894ed667dae7e299f472a0b531ea1783ed58fd27
/src/Basic.py
162deaa3803d9e523e6464c785115c853ffb4632
[]
no_license
satpreetsingh/OpenAgent
dd2a8ade47159ee6b3345b9328e068e1dc419052
09985fc45c0efa7fffa8a15127a0e7f48d5de30d
refs/heads/master
2021-05-03T07:45:26.230037
2017-04-10T12:42:46
2017-04-10T12:42:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
class Sub: def f (self, inputs): return inputs[0] - inputs[1] class Add: def f (self, inputs): return inputs[0] + inputs[1] class Mult: def f (self, inputs): return inputs[0] * inputs[1] class Less: def f (self, inputs): return inputs[0] < inputs[1] class Equal: def f (self, inputs): return inputs[0]...
[ "carsonjscott14@gmail.com" ]
carsonjscott14@gmail.com
318093ab4b9cf1a820e3d9e389d529875df1f23e
097a7cb751a7c5b311b11fea60278081c751dcc1
/src/twisted/names/test/test_names.py
a1672c64f0a02f411846a0c3b27c1d58c2537a44
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
dchenk/twisted
b12449d968804ebd832d4a814e3fc858420b0e51
4a0ac6edba947c77ea95085e75f5b7bc7ddffb12
refs/heads/master
2021-07-24T15:59:39.735816
2020-08-24T23:12:15
2020-08-24T23:12:15
211,361,245
0
1
NOASSERTION
2019-10-02T18:36:33
2019-09-27T16:34:31
null
UTF-8
Python
false
false
47,789
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Test cases for twisted.names. """ import copy import operator import socket from io import BytesIO from functools import partial, reduce from struct import pack from twisted.trial import unittest from twisted.internet import reactor, defe...
[ "dcherchenko@gmail.com" ]
dcherchenko@gmail.com
63ddf4b52d4ca7de34fe3edee0bee60935ab4325
a73b1f7876cadf0d9bc0c2c3c68400b2007bff4d
/bookmarks/settings.py
ab07f451146cb84b1a36762b0453006937f90105
[]
no_license
mrk24251/social-networking
31c717ace60413086056f396cc786bcb5cef8747
0f8e0c9ea390dbd84df2b1daa1b95f05e58deb1b
refs/heads/master
2022-12-11T05:56:00.652044
2021-06-18T08:36:12
2021-06-18T08:36:12
249,624,656
0
0
null
2022-12-08T04:26:35
2020-03-24T05:53:17
CSS
UTF-8
Python
false
false
5,105
py
""" Django settings for bookmarks project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "mohammadreza.karami22@yahoo.com" ]
mohammadreza.karami22@yahoo.com
32409fe7d932b0f82a86871030a3e70d8e6e1acc
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/evolutionary_algorithms/playground/fusion_V1001/procedure.py
fde6017dbb421b32ef689007b42182c302416ab6
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
1,332
py
import numpy as np from crossover import * from mutation import * from tools import * def objective_function(point_in): x_in = point_in[0] y_in = point_in[1] return (((x_in + 50) ** 2 + (y_in + 15) ** 2) / 4000) - (np.cos(x_in / 4) * np.cos(y_in / 4)) + 1 def initialize(mu_in, boundary_in): x_new_ge...
[ "geemguang@gmail.com" ]
geemguang@gmail.com
07f5b6e825f41b3d2981885837b11dd11464e4c4
5cf9fb9362559a69a3feb2e572c1089fbfd9dc24
/setup.py
11bf68236d6f20392396504839453e5c5e3c99f7
[ "MIT" ]
permissive
akb89/nonce2vec
5f42943271a0054caa645d91c75e0f9cf6eacefe
23d3852904eb337d7ca24ea519463ee9ffa50fa5
refs/heads/master
2021-06-21T23:17:42.035144
2019-07-29T11:53:25
2019-07-29T11:53:25
129,858,554
4
1
MIT
2019-07-29T11:53:26
2018-04-17T06:42:39
Python
UTF-8
Python
false
false
2,006
py
#!/usr/bin/env python3 """nonce2vec setup.py. This file details modalities for packaging the nonce2vec application. """ from setuptools import setup with open('README.md', 'r') as fh: long_description = fh.read() setup( name='nonce2vec', description='A python module to generate word embeddings from tiny...
[ "akb@3azouz.net" ]
akb@3azouz.net
da7cf50f5c8f9940b3e8f242219bd6e283dc4926
9433617418eab26490bb75e73cdd47317cbb935a
/python/script.py
b26f778319248cc21da82ba34ba0c56b0bc366bd
[]
no_license
cdufour/tsrs21-scripting
3033d8413a8ca313986e612b73ef3e7b931c61b8
50b821176d7346001f49854791b6d47c090833c8
refs/heads/master
2022-04-18T10:16:47.048124
2020-04-20T07:50:53
2020-04-20T07:50:53
255,838,020
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# script python # firewall est une variable de type str firewall = "192.168.0.17" nom = "Chris" # type str age = 120 # type int tva = 5.5 # type float contaminé = False # type bool # Affichage print(nom) # affiche le contenu de la variable print("Formation Scripting") # affiche la chaîne de caractères # Récupérer ...
[ "opusidea@gmail.com" ]
opusidea@gmail.com
c6c6ddfa1a690619e1526367e462d7a01825013f
165478aa697ba81d7adc1dc3b081fc97ffafb723
/scripts/bdt_looper/xgboost/python/others/plot_prune.py
b9640c0234a648de143dd8419517f6f39fdcb3e6
[]
no_license
zhangzc11/WVZLooper
d55c24127a65a36bd4a0ac25a8c53c007b5a71a1
4b2eb46392c228672d5a2db30539b49aeb58cd1c
refs/heads/readBDTNtuple
2020-05-20T16:28:18.838367
2019-09-27T19:19:57
2019-09-27T19:19:57
185,660,975
0
0
null
2019-05-08T18:39:19
2019-05-08T18:39:19
null
UTF-8
Python
false
false
681
py
import numpy as np import matplotlib.pyplot as plt import os test_name = 'xgb_wwz_vs_ttz_nbAll_full' plotDir = "/home/users/zhicaiz/public_html/WWZ/BDT/" name = [] AUC = [] with open("result_prune_ttZ.txt") as f: lines = f.readlines() for line in lines: line_items = line.strip('\n').split() n...
[ "zzhang2@caltech.edu" ]
zzhang2@caltech.edu
1fb6a3c298864d61c8bcb5c823457898adc4494b
3e917645a0e1375189c8ee8c1e93ed15348111ef
/projects/synthesis/intensification/archive/intensification_w_napplication/intensification_n_application.py
7c3748d0774424a4b983cf49852706984812818c
[]
no_license
mbougie/gibbs
d4544e688ce2b63530535e1f5102328aece30e0d
39d5dc0866fc0dd149d0cf1f22bfd20911a9d29e
refs/heads/master
2021-01-12T06:59:27.214123
2020-01-07T15:48:12
2020-01-07T15:48:12
83,906,717
1
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
import arcpy, os from arcpy import env from arcpy.sa import * import glob arcpy.CheckOutExtension("Spatial") arcpy.env.overwriteOutput = True env.workspace = 'D:\\projects\\usxp\\deliverables\\maps\\synthesis\\intensification\\eric\\n_application\\n_application.gdb' scene_list = list(range(1, 6)) years_l...
[ "mbougie@wisc.edu" ]
mbougie@wisc.edu
6abf0934b78d45b1ea202bae662d5f97493e2d1b
63e3df8ef8de1de01cf8f2befc1cc1449416deba
/ARE/old/ARE_transposeCnn_linearLayer.py
ea4f1d78b1e42673a6cf107f471ba912dda10ebd
[]
no_license
volpato30/R-D
b0ef1d34ee84f0a82c80840dfdaa53675de887ed
df44b26e9e832a150722d36b528eaa20b2a2ab9b
refs/heads/master
2020-05-29T14:41:17.037872
2016-11-04T03:34:53
2016-11-04T03:34:53
62,595,977
0
0
null
null
null
null
UTF-8
Python
false
false
9,377
py
from __future__ import print_function import os, sys, urllib, gzip try: import cPickle as pickle except: import pickle sys.setrecursionlimit(10000) import numpy as np import lasagne from lasagne.layers import Conv2DLayer, TransposedConv2DLayer, ReshapeLayer, DenseLayer, InputLayer from lasagne.layers import ge...
[ "volpato30@gmail.com" ]
volpato30@gmail.com
f240c30cb5172ea541bcbfd8c0f9809f51eb3e65
e35fd52fe4367320024a26f2ee357755b5d5f4bd
/leetcode/problems/993.cousins-in-binary-tree.py
02241b00093f60a537071aa39a894753f03a8bcc
[]
no_license
liseyko/CtCI
a451967b0a0ce108c491d30b81e88d20ad84d2cd
c27f19fac14b4acef8c631ad5569e1a5c29e9e1f
refs/heads/master
2020-03-21T14:28:47.621481
2019-11-12T22:59:07
2019-11-12T22:59:07
138,658,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
# # @lc app=leetcode id=993 lang=python3 # # [993] Cousins in Binary Tree # # https://leetcode.com/problems/cousins-in-binary-tree/description/ # # algorithms # Easy (51.80%) # Total Accepted: 31.2K # Total Submissions: 60.2K # Testcase Example: '[1,2,3,4]\n4\n3' # # In a binary tree, the root node is at depth 0, a...
[ "liseyko@gmail.com" ]
liseyko@gmail.com
d36c884945479b6457878265527fd5a0c4ee9cf7
c833c6e9c1e1a4c387763cac2cc75079341e3122
/ua/univer/lesson04/matrix7.py
595c9937287e1d3726564633d5bb16e4345a2be3
[]
no_license
mmveres/python05_12_2020
1513aa97d577f4921655ce0e58f28811df2bd14e
d21e6d3ecd90bdc3bd2a9b780bb58b65deb671f1
refs/heads/master
2023-03-02T16:00:26.036232
2021-02-13T17:58:13
2021-02-13T17:58:13
318,794,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
# 7. Характеристикой строки целочисленной матрицы # назовем сумму ее положительных элементов. # Переставляя строки заданной матрицы, # расположить их в соответствии с ростом характеристик def sort_matrix(matrix): sum_row_list = [] for row in matrix: sum = 0 for cell in row: sum+=cel...
[ "mmveres@gmail.com" ]
mmveres@gmail.com
20f55a20d271b66ded1ca1334804084325a6f804
7451cdc3c0a82fbca55268e2456541ca527899ff
/bioutils.py
693c817d3af32b0376bd038094ad58b83cc8b4aa
[]
no_license
sefakilic/genome_parsing
e59bd5893f9f81f358385e18bd81dcd072d49207
abc2a55e8f443dc629b2da9316d0bed58911068b
refs/heads/master
2021-01-01T19:01:16.575138
2013-01-08T21:12:55
2013-01-08T21:12:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,533
py
from Bio import Entrez from Bio import SeqIO Entrez.email = "sefa1@umbc.edu" def read_genbank(genome_accession_no, genbank_file=None): """Read genbank file. If the file is not given, based on the genome_accession_no, grab it from NCBI and parse it. Return Sequence Record object.""" if genbank_file...
[ "sefakilic@gmail.com" ]
sefakilic@gmail.com
fef2bd8363cb76ff03054cdf1de671925adeaa3a
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/eqpt/frupower5min.py
da373519b491b8e0ff8e9dc61ef72f8e2f8412c4
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
11,760
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
a4b9d47b216c8c2e086a0b545b18c0341dd97400
7970601ede43b4a35eb38aa4f04f55b20148af63
/migrations/schemas/app_schema.py
9026f0d5a5bec7659b38f032fae9a7946dc73cd8
[ "Apache-2.0" ]
permissive
pythononwheels/copow
2d4423b12a8be4a13a06c4a7c55b9f2bb6bda542
49260b064223838962eb8cff4364580b3beb0067
refs/heads/master
2020-04-01T22:49:05.366052
2014-08-12T16:55:58
2014-08-12T16:55:58
20,783,739
0
1
null
null
null
null
UTF-8
Python
false
false
614
py
# # # schema for the app model # as an example there are already some attributes filled in. # Generated: 2013/07/06 22:29:03 # app = { "name" : { "type" : "string", "default" : "#APPNAME" }, "path" : { "type" : "string" }, "lastversion" : { "type" :...
[ "khz@tzi.org" ]
khz@tzi.org
7bd99954c1fecb313a53baa279142700dd5f728f
eba3e4a3935d6422d1ed85aaf69337f5ba15fc74
/pylons/tests/test_units/test_decorator_https.py
2275f5de94535a1ec3ecf161f07288940831d9e5
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
arianepaola/tg2jython
2ae74250ca43b021323ef0951a9763712c2eb3d6
971b9c3eb8ca941d1797bb4b458f275bdca5a2cb
refs/heads/master
2021-01-21T12:07:48.815690
2009-03-27T02:38:11
2009-03-27T02:38:11
160,242
1
0
null
null
null
null
UTF-8
Python
false
false
2,689
py
from paste.fixture import TestApp from paste.registry import RegistryManager from routes.middleware import RoutesMiddleware from pylons.decorators.secure import https from pylons.controllers import WSGIController from pylons.testutil import ControllerWrap, SetupCacheGlobal from __init__ import TestWSGIController c...
[ "ariane@venus.(none)" ]
ariane@venus.(none)
a69a9f68f25096e15e868d3dff4bcf6438075a19
d1ab7452d6449a4d6b99177a2c1d44d3231283c5
/reagent/gym/tests/test_gym.py
e24b00f736409f7cfff6788607410c22c0d570ed
[ "BSD-3-Clause" ]
permissive
ojaswa-privado/ReAgent
67e3fb7d52b39e6feb4ab4537691d20c99fde323
e990e66f69369cbe89212e334191180716c9bf4e
refs/heads/master
2023-03-24T22:20:52.342277
2021-03-18T12:38:23
2021-03-18T12:38:23
348,598,068
0
0
BSD-3-Clause
2021-03-18T12:38:24
2021-03-17T06:05:53
null
UTF-8
Python
false
false
13,455
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import logging import os import pprint import unittest from typing import Optional, Dict, Any import numpy as np import pytest import pytorch_lightning as pl import torch from parameterized import parameterized from reagent....
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
b52ec39cb80d05dec46a86f5a6d0b39823d6ce17
5eb9c3473902c20eac6401ec234d0ec496b19b90
/tests/test_utils.py
c04b49a12b01d7c30beaf52edfbc41b51a4d380f
[ "ISC" ]
permissive
associatedpress/datakit-project
236650f61621a6403581d86664d403a096acd0d6
6906a3da3a957cfdc3c798a47dcd9e9cf5166f8f
refs/heads/main
2023-01-15T13:03:42.766693
2022-12-06T14:57:02
2022-12-06T14:57:02
80,869,394
25
4
ISC
2022-12-26T19:45:41
2017-02-03T21:08:31
Python
UTF-8
Python
false
false
1,103
py
import os import cookiecutter.config as cc_config import pytest from datakit_project.utils import resolve_repo_dir # TODO: Update resolve_repo_dir to use cookiecutter DEFAULT_CONFIG # then monkeypatch the variable here def test_repo_dir_for_local_repo(): """ Should be fully-qualified path to local director...
[ "zstumgoren@gmail.com" ]
zstumgoren@gmail.com
124d53870ab1f32476f7396ada3d0a47298746de
162eed4191aef4431f94a0db1ad4185b6daa6f67
/supervised_learning/0x02-tensorflow/5-create_train_op.py
05322a25cd88afe944df96ecf16ba5df91cd92c0
[]
no_license
giovannyortegon/holbertonschool-machine_learning
d6897bfb492f9d266302930927416637be3c172d
8cd5e0f837a5c0facbf73647dcc9c6a3b1b1b9e0
refs/heads/master
2022-12-31T15:34:20.489690
2020-10-24T03:37:01
2020-10-24T03:37:01
279,656,017
1
0
null
null
null
null
UTF-8
Python
false
false
501
py
#!/usr/bin/env python3 """ train operation """ import tensorflow as tf def create_train_op(loss, alpha): """ create_train_op - creates the training operation. Args: loss is the loss of the network’s prediction alpha is the learning rate Returns: an operation that trains the netwo...
[ "ortegon.giovanny@hotmail.com" ]
ortegon.giovanny@hotmail.com
3cbe850887808dfaf2d2e3096c804e2335696bb5
556357a07c95176d8aa260795eb99b15970a1135
/AE/TY_06_REPORT_PART_2.py
f5f3618610c62d4d81891a755b503c33c3f2e628
[]
no_license
sanjaymanegit/testRepo
db11ba5d02d47b78f6c9762c9a0628b22946e446
92a02cbe0add7d14b751b79e612e85a062e37498
refs/heads/master
2023-09-02T07:46:35.164047
2023-08-29T12:53:49
2023-08-29T12:53:49
42,922,622
1
1
null
2023-04-16T18:45:53
2015-09-22T08:53:13
Python
UTF-8
Python
false
false
75,157
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'TY_06_REPORT_PART_2.ui' # # Created by: PyQt5 UI code generator 5.12.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.Qt import QTableWidgetItem import sqlite3 class TY_06_Ui...
[ "sanjaymane1610@gmail.com" ]
sanjaymane1610@gmail.com
d1c996c98e38caf3f89a4b1b7f101c7d1770330d
5bd3122d230471b048429f5e9c49a0b39c8a54fc
/Atcoder_contests/ABC/165A.py
98d42dc081acdb8f08d06c61550ccddab9dc004a
[]
no_license
nao1412/Competitive_Programing_Codes
e230e2fa85027e41c5ee062083801bb299effe9b
98c29b5ba75e75502cf27fcf365a7aedcd6c273c
refs/heads/main
2023-06-05T18:45:59.733301
2021-06-23T15:02:25
2021-06-23T15:02:25
374,061,897
1
0
null
null
null
null
UTF-8
Python
false
false
234
py
k = int(input()) ans = 'OK' a, b = map(int, input().split()) if b-a+1 >= k: ans = 'OK' else: for i in range(a, b+1): if i%k == 0: ans = 'OK' break else: ans = 'NG' print(ans)
[ "naoya_greeeen_0720@icloud.com" ]
naoya_greeeen_0720@icloud.com
3d3bdc439906914e4d1a544305fefc7b801e63fd
6d80c2e28c39b1861d909c7616ce8455f2b28744
/character_stream.py
415517a5c4ef622e0d85ae20ea615fa6c5f81221
[]
no_license
o11c/20131022-parser
ef1778c8469fe397524c0bb9e72fa284cde4af25
7da2dfa3a92dcdf32bfa11bb67c6569d3e1e1767
refs/heads/master
2020-02-26T13:24:06.954176
2013-10-22T22:34:40
2013-10-22T22:34:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
class EOFError(Exception): pass class CharacterStream(object): def __init__(self, stream): self.stream = stream self.adv() def get(self): return self.ch def adv(self): self.ch = self.stream.read(1) if self.ch == '': raise EOFError()
[ "cheery@boxbase.org" ]
cheery@boxbase.org