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
b29111b4533b8cadb9b96928fa63e0886e842c2d
4d259f441632f5c45b94e8d816fc31a4f022af3c
/brdcast/mysqltest/dbconnect.py
632d78af59ce0bebd599209d2dd7d7e9e2ab08e5
[]
no_license
xiaoruiguo/lab
c37224fd4eb604aa2b39fe18ba64e93b7159a1eb
ec99f51b498244c414b025d7dae91fdad2f8ef46
refs/heads/master
2020-05-25T01:37:42.070770
2016-05-16T23:24:26
2016-05-16T23:24:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,305
py
#!/usr/bin/python import MySQLdb mysqlserver = 'localhost' user = 'root' password = 'hello' dbname = 'hostdb6' table = 'haha' def create_db(): print mysqlserver, user, password db = MySQLdb.connect(mysqlserver,user,password) cursor = db.cursor() try: sql = """CREATE DATABASE %s"""%dbname ...
[ "junmein@junmeinde-macbook-pro-3.local" ]
junmein@junmeinde-macbook-pro-3.local
04326f4119f72c0152c2bff4a2cba412e97f1a0e
b61d462a8ac4e97dee8047fb3106934a1250576c
/bin/ssh-connect
eebc95bb4fc86bca3995691638cbad659c6d1846
[ "Apache-2.0" ]
permissive
soyangel/ds
57232170f54d1f8769e20d69e606a80ec4fa9f31
95b97662f48927092e74fed855ea678cb5f4dfe5
refs/heads/master
2021-01-24T02:06:15.210126
2015-02-08T23:03:32
2015-02-08T23:03:32
30,511,027
0
0
null
2015-02-09T00:10:28
2015-02-09T00:10:28
null
UTF-8
Python
false
false
1,020
#!/usr/bin/env python from __future__ import absolute_import import os import subprocess import sys from tempfile import NamedTemporaryFile from ds.config import create_app, db from ds.models import Repository app = create_app() app_context = app.app_context() app_context.push() def get_repo(url): repo = Re...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
99950d8c832c25c069a6bdc3c78263285e6ebb06
80301f1cffc5afce13256e2ecab6323c5df00194
/cn.fc/py/T0031.调试地图.py
a85dc1718d844f0e5df9879565b18cb49e0a9ace
[]
no_license
ZhenjianYang/SoraVoiceScripts
c1ddf7c1bbcb933243754f9669bd6b75777c87b9
94a948090aba0f63b10b2c69dc845dc99c822fc4
refs/heads/master
2023-04-18T04:54:44.306652
2023-04-06T11:15:17
2023-04-06T11:15:17
103,167,541
43
11
null
2021-03-06T08:52:54
2017-09-11T17:36:55
Python
UTF-8
Python
false
false
71,481
py
from ED6ScenarioHelper import * def main(): # 调试地图 CreateScenaFile( FileName = 'T0031 ._SN', MapName = 'map1', Location = 'T0030.x', MapIndex = 1, MapDefaultBGM = "ed60010", Flags = 0, En...
[ "zj.yang@qq.com" ]
zj.yang@qq.com
9afd6e15f22e6230c1b3d1f53f4dcad21dc3b639
71c8b1cebba7fe6fda00aec21b6db2c4cd864853
/pcc_exercises/chapter_7/deli.py
e8dc47022ec84e331269816da2d21d2e92416c9a
[]
no_license
williamwbush/prework
497428c11576423366c8b1ff0178f738ed9027d7
b92117ccd7c4e7896e8517c4a6149a348c2151b9
refs/heads/main
2023-02-17T22:28:35.256429
2021-01-05T22:32:50
2021-01-05T22:32:50
320,407,922
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
sandwich_orders = [ 'cuban', 'pastrami', 'blt', 'brie', 'ham', ] finished_sandwiches = [] while sandwich_orders: sandwich = sandwich_orders.pop() print("\nI made your " + sandwich + " sandwich.") finished_sandwiches.append(sandwich) print('\nThese sandwiches have been made:') for san...
[ "wbush89@gmail.com" ]
wbush89@gmail.com
38890e996ee2fc5ae6f7f08f49d0500633052db5
517a904955033092aec11288151d725548226abc
/python_tutorial/logging/log_study01.py
f88ff2a8d651fca65241206824aa7fefc1ade82f
[]
no_license
MinSu-Kim/python_tutorial
ae0a4e3570aa4cb411626cefbc031777364764d5
ed0c08892822d7054161c9e8f98841370868e82d
refs/heads/master
2021-06-16T16:15:30.349719
2021-05-26T04:59:47
2021-05-26T04:59:47
207,266,202
1
0
null
null
null
null
UTF-8
Python
false
false
232
py
import logging logging.debug('This is a debug message') logging.info('This is an info message') logging.warning('This is a warning message') logging.error('This is an error message') logging.critical('This is a critical message')
[ "net94.teacher@gmail.com" ]
net94.teacher@gmail.com
2e454f8e2b7bc8d2990477a895445536d7b46368
c7e765a9bed33d3bfb21774e3995bf4a09e04add
/adminmgr/media/code/A2/python/task/BD_0012_0792_0948_1324_FjY7mQR.py
043ed44c7ad20d764ae93da2140f3a5fff3a3226
[ "Apache-2.0" ]
permissive
IamMayankThakur/test-bigdata
13dd2ac7fb76c9baed6c3a0aa943057a22e2d237
7f507918c7bec31c92eedcd94491a83486623049
refs/heads/master
2022-05-03T00:59:44.127494
2022-02-10T19:50:16
2022-02-10T19:50:16
201,585,028
10
4
Apache-2.0
2022-04-22T23:39:45
2019-08-10T05:34:09
Python
UTF-8
Python
false
false
2,243
py
from __future__ import print_function import re import sys from operator import add from pyspark.sql import SparkSession def computeContribs(url, rank): num_urls = len(url) for i in url: yield (i, rank / num_urls) def parseNeighbors(url): prts = re.split(r',', url) avg = int(prts[2])/int(prts[3]) retu...
[ "ubuntu@ip-172-31-18-251.ap-south-1.compute.internal" ]
ubuntu@ip-172-31-18-251.ap-south-1.compute.internal
178738fd0b085e0dbb846272f575edf814278f5d
9952e0c68e04cef995b6c1bd7c71c382e0673e8b
/mqueue/admin.py
434945f7ad9e6245915a010ca1fdd5bba06711db
[ "MIT" ]
permissive
pombredanne/django-mqueue
e44477c6bc351a36bc9451e09fbf0fdba509e9b6
5c70818118b00aa13b15f35fcb459eb885c01af7
refs/heads/master
2020-12-03T05:17:24.373446
2016-05-20T21:55:59
2016-05-20T21:55:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,837
py
# -*- coding: utf-8 -*- from django.core.exceptions import ImproperlyConfigured from django.conf import settings from django.http import HttpResponseForbidden from django.utils.translation import ugettext_lazy as _ from django.contrib import admin from mqueue.models import MEvent from mqueue.conf import EVENT_CLASSES,...
[ "synwe@yahoo.fr" ]
synwe@yahoo.fr
239f988c751cc49ac22d45c0fdaa6ea6fbd0654a
15ca7e16b74e62f13faee8cadd1d944ebdf826e6
/tests/settings.py
e650be914e1a0179e855919e25eacc9f2ce2286c
[]
no_license
isabella232/django-tagging-1
1222ed282fa57adf8739b53cb30bc5bdba056718
ac9448a343058cd1a9a8442dcb3a9c092556d4cc
refs/heads/master
2023-03-15T22:38:43.263948
2008-10-01T18:13:41
2008-10-01T18:13:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
import os DIRNAME = os.path.dirname(__file__) DEFAULT_CHARSET = 'utf-8' DATABASE_ENGINE = 'sqlite3' DATABASE_NAME = os.path.join(DIRNAME, 'tagging_test.db') #DATABASE_ENGINE = 'mysql' #DATABASE_NAME = 'tagging_test' #DATABASE_USER = 'root' #DATABASE_PASSWORD = '' #DATABASE_HOST = 'localhost' #DATABASE_P...
[ "me@mylesbraithwaite.com" ]
me@mylesbraithwaite.com
6538ff895ce9d8dcff525995132bdd8aed57c1f1
fed6c6bdb6276d195bc565e527c3f19369d22b74
/mylib/hk_plot_tool.py
048753e04b237f28868b7012e2c029d005b594af
[]
no_license
hekunlie/astrophy-research
edbe12d8dde83e0896e982f08b463fdcd3279bab
7b2b7ada7e7421585e8993192f6111282c9cbb38
refs/heads/master
2021-11-15T05:08:51.271669
2021-11-13T08:53:33
2021-11-13T08:53:33
85,927,798
0
0
null
null
null
null
UTF-8
Python
false
false
11,375
py
import platform import matplotlib # if platform.system() == 'Linux': # matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.ticker as mtick import numpy from matplotlib.colors import ListedColormap class Image_Plot: def __init__(self, fig_x=5, fig_y=4, xpad=0.1, ypad=0.1, fontsize=18, xy_l...
[ "hekun_lee@sjtu.edu.cn" ]
hekun_lee@sjtu.edu.cn
8c3f0945cc7ad0a36587812bd0de4bad3e934895
1122bcd042953f085835483ca7809c7dfeac21e2
/NDArray/Convolution_Neural_Network_Using_builtin_BN_with_NDArray/model.py
49eaefeb3f133d6321c71b97fb9c0d45ff9b5dd8
[]
no_license
nguyen-viet-hung/Mxnet_Tutorial
7b293db2f415720e144e4e506d5fd3678fbedeb4
9892dbd91377476f8482baff473ae2c74105faff
refs/heads/master
2020-12-29T13:56:58.804003
2018-03-07T18:39:39
2018-03-07T18:39:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,268
py
import numpy as np import mxnet as mx import mxnet.gluon as gluon import mxnet.ndarray as nd import mxnet.autograd as autograd from tqdm import * import os def transform(data, label): return nd.transpose(data.astype(np.float32), (2,0,1))/255.0, label.astype(np.float32) #MNIST dataset def MNIST(batch_size): ...
[ "medical18@naver.com" ]
medical18@naver.com
d69e1578514eb61f184147cc79f743b8f0bfd18f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_balked.py
9a5fc14b72804a5fc789fe260ee1099a562d75c5
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
from xai.brain.wordbase.nouns._balk import _BALK #calss header class _BALKED(_BALK, ): def __init__(self,): _BALK.__init__(self) self.name = "BALKED" self.specie = 'nouns' self.basic = "balk" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f8c0bdb193dc8354583ede81c2b184642a5ce048
0c1d6b8dff8bedfffa8703015949b6ca6cc83f86
/lib/worklists/operator/CT/v4.0/business/LAN_4LAN/WLAN_WEP/script.py
22dde8d65e1f57d13476c54b0de54a1e2c4c26e0
[]
no_license
samwei8/TR069
6b87252bd53f23c37186c9433ce4d79507b8c7dd
7f6b8d598359c6049a4e6cb1eb1db0899bce7f5c
refs/heads/master
2021-06-21T11:07:47.345271
2017-08-08T07:14:55
2017-08-08T07:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,877
py
#coding:utf-8 # -----------------------------rpc -------------------------- import os import sys #debug DEBUG_UNIT = False if (DEBUG_UNIT): g_prj_dir = os.path.dirname(__file__) parent1 = os.path.dirname(g_prj_dir) parent2 = os.path.dirname(parent1) parent3 = os.path.dirname(parent2) parent4 = os...
[ "zhaojunhhu@gmail.com" ]
zhaojunhhu@gmail.com
f1c3ee27dc47bae1281c53a8dffb60a42ba552a3
3691259d4be62b60d8d52f38b36d6a24e5fd4536
/contrib/trigger_rtd_build.py
60ff793d2ee3dd8584000a13641d7ee701a683b2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
chenjiang1985/libcloud
f385fac278777c2bbfedaf440d353c9ad9eb5c69
587212da626dfe0e2936737108bcc49d666cf4b4
refs/heads/master
2021-07-16T14:29:21.821490
2019-11-27T02:20:43
2019-11-27T02:20:43
222,844,781
1
2
Apache-2.0
2020-10-27T22:06:36
2019-11-20T03:41:31
Python
UTF-8
Python
false
false
1,159
py
#!/usr/bin/env python3 # 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 "Lice...
[ "jacob.cj@alibaba-inc.com" ]
jacob.cj@alibaba-inc.com
0071aa3a3cf3935b1336766166e7d5b7f2adcc44
ea12fed4c32e9c7992956419eb3e2bace91f063a
/zombie/code/conjurer/conjurer/gui/debugcmds.py
92e5d01c62ec17e3fa1afc95db4ee586dc60fecd
[]
no_license
ugozapad/TheZombieEngine
832492930df28c28cd349673f79f3609b1fe7190
8e8c3e6225c2ed93e07287356def9fbdeacf3d6a
refs/heads/master
2020-04-30T11:35:36.258363
2011-02-24T14:18:43
2011-02-24T14:18:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,943
py
##\file debugcmds.py ##\brief Debug menu commands import wx import pynebula import app import debugopsdlg import logdlg import menu import monitordlg import reloaddlg import servers import watcherdlg # Debug menu IDs ID_ToggleAI = wx.NewId() ID_DebugOptions = wx.NewId() ID_LogInspector = wx.NewId() ID_OutGUIReload...
[ "magarcias@c1fa4281-9647-0410-8f2c-f027dd5e0a91" ]
magarcias@c1fa4281-9647-0410-8f2c-f027dd5e0a91
0d91732526a9c0d9731331a30c1cb9b39e715adb
9ec58308459dc95405d1a32fcf8fae7f687a207b
/kattis/k_ferryloading4.py
1ecd70d403e6d4d4ec720e6f468b7674930729c3
[ "MIT" ]
permissive
ivanlyon/exercises
067aed812486dbd7a3d7de6e47a692c8b9383163
0792976ae2acb85187b26a52812f9ebdd119b5e8
refs/heads/master
2021-05-24T04:17:29.012329
2021-05-11T17:26:50
2021-05-11T17:26:50
65,584,450
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
''' Determine number of ferry crossings Status: Accepted ''' from collections import deque ############################################################################### def main(): """Read input and print output""" for _test_case in range(int(input())): meters, cars = [int(i) for i in input().spl...
[ "roblyon00@gmail.com" ]
roblyon00@gmail.com
ec67a6523148f222527148c1bd93027f7b5d2d15
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_noisy478.py
ff8df9f774fa0eb136a0197db3b70fe50a57a563
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,167
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=17 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode def make_circuit(n: int, input_qubit): c = cirq.Ci...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
e050ee1ee3808b992f0a13ed848d56af6405ec21
8d23f941ade6e18df9094760c4e3ad5676e96fef
/advanced/15数据分析/pandas/09时间序列.py
8513e80493e4dd5f3f545ec53a196efceb0422cb
[]
no_license
asdwsxzc123/python
95c7b6ed39d47a48e5a2630a3f221c20a8347764
b2422a7c6b62d4bfa9d1488a6dff322a57ba4c48
refs/heads/master
2020-04-03T14:34:06.299282
2019-02-05T13:14:16
2019-02-05T13:14:16
155,326,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
import pandas as pd import numpy as np from matplotlib import pyplot as plt # pd.date_range(start=None,end=None,periods=None,freq='D') # start='20171230' # end='20180131' # freq = # 10D 十天 # M 月 # D 天 # H 时 # pd.to_datetime(df['timeStamp'], format='') # resample 频率的转换(降采样,升采样) # periodIndex 时间段 pd.Pe...
[ "sbfgeyygy@126.com" ]
sbfgeyygy@126.com
4e5e624d33d100137fe1147ba52949f8ad71f8c3
25d5996ae29b3359c60b338075e9ed224c57fa29
/core/urls.py
1bea6b4b541349d3ded7fd167a0c5aa7781dcff4
[ "Unlicense" ]
permissive
gurnitha/django-torang-bisa-apa
7d3bc87453bccdb6218cac450b6c44eca8839fde
538c67944b86010832594ffa9558a3b2b41205eb
refs/heads/main
2023-08-25T22:32:43.795699
2021-10-27T05:33:53
2021-10-27T05:33:53
420,282,643
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
# core/urls.py # Django modules from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # decors path('', include('apps.decors.urls', namespace='decors')), # projects path('', include('apps...
[ "ingafter60@outlook.com" ]
ingafter60@outlook.com
b3ac4a8848ca6be7f8977b061f57105400e80f20
2ca07aecfa6ff25b0baae6dc9a707a284c2d1b6d
/boot_images/QcomPkg/Tools/sectools/sectools/common/utils/c_data.py
d1f8e385f7308ef129496f961e4ab5b4212d0c73
[ "BSD-3-Clause", "OpenSSL", "MIT", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "BSL-1.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhilangtaosha/msm8996-wp-1-0_test_device
ef05af263ba7955263ff91eb81d45b2437bc492e
6af9b44abbc4a367a9aaae26707079974c535f08
refs/heads/master
2023-03-19T02:42:09.581740
2021-02-21T01:20:19
2021-02-21T01:20:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,219
py
#=============================================================================== # # Copyright (c) 2014 Qualcomm Technologies, Inc. All Rights Reserved. # Qualcomm Technologies Proprietary and Confidential. # #=============================================================================== """ Created on Nov 19, 2014 ...
[ "lonelyjskj@gmail.com" ]
lonelyjskj@gmail.com
91ab2638812ba2da33f2d919f2dd682dc762915f
50c2e632e04c86aca1be33dfe2b2671468456595
/topcoder/675/LengthUnitCalculator.py
d5aee4eef32c50ae857cad0019a05a827691fd94
[]
no_license
rohith2506/Algo-world
b413b4c4b572ec1d0c9539af526fa7edfa584444
064241d0c8f3ec43f9abc7905cab75214db1b9e0
refs/heads/master
2022-08-03T13:37:56.406913
2019-08-16T12:23:28
2019-08-16T12:23:28
24,947,086
0
0
null
2022-07-21T22:32:16
2014-10-08T15:28:36
Python
UTF-8
Python
false
false
3,446
py
# -*- coding: utf-8 -*- import math,string,itertools,fractions,heapq,collections,re,array,bisect class LengthUnitCalculator: def calc(self, amount, fromUnit, toUnit): if fromUnit == "in": fromUnit = "inch" if toUnit == "in": toUnit = "inch" mi = {'mi': 1, 'yd': 1760.0, 'ft': 1760*3, 'inch': 1760*36} ft =...
[ "rohith.uppala369@gmail.com" ]
rohith.uppala369@gmail.com
d62173d71f1543b9ce313fa74d7c2d7d644eb39d
f65e740c52f0199307c3fc1e210a27a604bb3142
/MorSnek.py
9f14e2d9472c78cff9ab7a41b2d4d6bc893272ce
[]
no_license
ninjafrostpn/PythonProjects
69ce67af4714edbf53477ff9233262c6df439a7d
26e2edca16a1dc198858f7e6f60684e343775329
refs/heads/master
2022-10-22T02:53:04.380713
2022-10-21T09:05:43
2022-10-21T09:05:43
106,318,953
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
trans = ".- -... -.-. -.. . ..-. --. .... .. .--- -.- .-.. -- -. --- .--. --.- .-. ... - ..- ...- .-- -..- -.-- --..".split() while True: words = input("Input words\n>>> ").split() code = [] for word in words: for letter in word: code.append(trans[ord(letter) - ord('a')]) code....
[ "cst1g16@soton.ac.uk" ]
cst1g16@soton.ac.uk
87c2fc49427111b3a1106eb70ebb615fc9595bd6
ef23624233d701a024b1fb8702efb6bd9f84d67c
/setup.py
b3c2af44f77de5b830173fb6430b7280c08b059a
[ "Apache-2.0" ]
permissive
girder/girder_pacs
5d34d6e8b80cfd384dd29f1be314c1611ac77a8a
4dba51c19b4818144d68982621b922c4c91312eb
refs/heads/master
2020-04-16T20:38:15.031722
2019-01-22T19:18:17
2019-01-22T19:18:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() requirements = [ 'girder>=3.0.0a1' ] setup( author="Zach Mullen", author_email='zach.mullen@kitware.com', classifiers=[ 'Developme...
[ "zach.mullen@kitware.com" ]
zach.mullen@kitware.com
68d5e1b7b6301b0bbee50d4ace6de9b87b5475e7
20364c02f3b3318e0ce132b6f2ffd858975ae096
/brax/experimental/composer/components/ant.py
8535a79ad3f06c9ae6b7c5771834b04ea64baa31
[ "Apache-2.0" ]
permissive
ViktorM/brax
69df3d2d3cb5228c95a8c75782f4177a77ef5033
263151c72768ab8fd7e05c3d4869ce4833c8e360
refs/heads/main
2023-08-07T11:59:07.290433
2021-10-05T00:17:15
2021-10-05T00:17:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,969
py
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
[ "erikfrey@google.com" ]
erikfrey@google.com
dc2c9242ee14a990a4d482fb3e261f5a1ac34d34
aaf7c9076b7c836f0cbb6fa4807784e8b0973989
/catkin_ws/build/code/cargo-ants-ros-pkgs/at_drive_sim/catkin_generated/pkg.installspace.context.pc.py
3997e1605e0c80028390ec2cc9671754d9164e72
[]
no_license
Forrest-Z/Backup
8a6c7cd3af1c34f1784343dffc10eaea232f2d4f
7f56abe56afeabeeb2c89eae7dd9ce51fb456a51
refs/heads/master
2021-12-14T22:18:11.600438
2017-06-16T10:33:16
2017-06-16T10:33:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "cargo_ants_msgs;roscpp;rospy;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "...
[ "jenniferdavid87@gmail.com" ]
jenniferdavid87@gmail.com
210817e582c8e61f2ce1105fbddb7de5fac5f14a
c9094a4ed256260bc026514a00f93f0b09a5d60c
/homeassistant/components/devolo_home_control/cover.py
7514a9b7c9f90f026339c9da713013bbc2519e02
[ "Apache-2.0" ]
permissive
turbokongen/home-assistant
824bc4704906ec0057f3ebd6d92788e096431f56
4ab0151fb1cbefb31def23ba850e197da0a5027f
refs/heads/dev
2023-03-12T05:49:44.508713
2021-02-17T14:06:16
2021-02-17T14:06:16
50,231,140
4
1
Apache-2.0
2023-02-22T06:14:30
2016-01-23T08:55:09
Python
UTF-8
Python
false
false
2,304
py
"""Platform for cover integration.""" from homeassistant.components.cover import ( DEVICE_CLASS_BLIND, SUPPORT_CLOSE, SUPPORT_OPEN, SUPPORT_SET_POSITION, CoverEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.helpers.typing import HomeAssistantType from .const import...
[ "noreply@github.com" ]
turbokongen.noreply@github.com
2c8227c9f0e4c1b75559a7db06b9099f1558ba65
7dc240e587213e4b420676c60aa1b24905b1b2e4
/src/app/files.py
fa7f366fb91c4e2a337ff7a5f2dda3012bee25a0
[ "MIT" ]
permissive
denokenya/education-backend
834d22280717f15f93407108846e2eea767421c8
3b43ba0cc54c6a2fc2f1716170393f943323a29b
refs/heads/master
2023-08-27T09:07:48.257108
2021-11-03T00:19:04
2021-11-03T00:19:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
import os import uuid from django.utils.deconstruct import deconstructible @deconstructible class RandomFileName: """Random filename generator Usage: from app.files import RandomFileName class MyModel(models.Model): image = models.ImageField(upload_to=RandomFileName('images/fold...
[ "noreply@github.com" ]
denokenya.noreply@github.com
27d7c4c64eb0824e31bb19e9728bf99ceb4913f3
debffca14a39dbeaf6af2f1b73ea530913e2cdad
/astromodels/sources/particle_source.py
fbfcf222c23c20f8c192a798755dc3321fde0e36
[ "BSD-3-Clause" ]
permissive
BjoernBiltzinger/astromodels
6986695abfc4510a62254854fd0977b1e96e192f
d94a3d3bc607def2b5e3cd145c3922e0a00a7b15
refs/heads/master
2022-11-03T19:28:16.949036
2019-03-12T17:05:59
2019-03-12T17:05:59
175,420,543
0
0
BSD-3-Clause
2019-03-13T12:53:03
2019-03-13T12:53:03
null
UTF-8
Python
false
false
2,935
py
__author__ = 'giacomov' import collections import numpy from astromodels.core.spectral_component import SpectralComponent from astromodels.core.tree import Node from astromodels.core.units import get_units from astromodels.sources.source import Source, PARTICLE_SOURCE from astromodels.utils.pretty_list import dict_t...
[ "giacomo.vianello@gmail.com" ]
giacomo.vianello@gmail.com
277df517fa19f0f8cba8b4caff627f8b436c170a
27a066c48096e30e3cf4a795edf6e8387f63728b
/mysite/polls/tests.py
c59a6371de27e26d00710508f8761d0a6021a96c
[]
no_license
26huitailang/django-tutorial
2712317c3f7514743e90fb4135e5fe3fed5def90
28a0b04ee3b9ca7e2d6e84e522047c63b0d19c8f
refs/heads/master
2023-01-07T11:55:37.003245
2019-09-04T09:19:50
2019-09-04T09:19:50
113,199,279
1
0
null
2023-01-03T15:24:01
2017-12-05T15:27:52
Python
UTF-8
Python
false
false
2,260
py
import datetime from django.test import TestCase from django.utils import timezone from django.urls import reverse from .models import Question class QuestionModelTests(TestCase): def test_was_published_recently_with_future_question(self): """ was_published_recently() returns False for question...
[ "26huitailang@gmail.com" ]
26huitailang@gmail.com
e9839263b163ef3ca7fa73c1dc903397ce9798ab
d2cf8891d8ccf6cf3e8640e0941c558d8251c206
/courses/views.py
5c696159672a1a53f3eef0ad43c48ed188f406fb
[]
no_license
artrey/netology-problems20210726
baaeb7913504bfb2bbea063f433d8ed1999fe0f2
2f75534b7c39cfb805201b1ca37b17bca7d6e82a
refs/heads/master
2023-06-30T06:36:21.077275
2021-07-26T18:15:47
2021-07-26T18:15:47
389,728,925
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
from django.shortcuts import render from django.views.generic import ListView from rest_framework.authentication import TokenAuthentication from rest_framework.permissions import IsAuthenticated from rest_framework.viewsets import ModelViewSet from courses.models import Course, HomeworkTask from courses.permissions im...
[ "oz.sasha.ivanov@gmail.com" ]
oz.sasha.ivanov@gmail.com
450d70c160ab6b728ecf64d6a4cbb0164894bb04
de4c519557357830e39cd7f970b4813afda259d4
/0x0B-python-input_output/0-read_file.py
8900a27f0b20c4851f587fcc27d22fdb8b1fd0b3
[]
no_license
lancewburklin/holbertonschool-higher_level_programming
096013cefcd2eefdf0dc16e1282bf15cd056792a
56e40025c748d4f9eca2da268a1dd36923f148ff
refs/heads/master
2022-12-17T00:12:43.896896
2020-09-24T22:29:56
2020-09-24T22:29:56
259,383,019
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
#!/usr/bin/python3 """ Opening a file """ def read_file(filename=""): """Reading a file""" with open(filename, encoding='utf-8') as file_desc: print(file_desc.read(), end="")
[ "1677@holbertonschool.com" ]
1677@holbertonschool.com
8e978810927f16326ca0927650d8e46abc74b7b4
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_reconstructions.py
c71bd16524c4ae5d7e9c8b3647c77c5ba3e51b2c
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
from xai.brain.wordbase.nouns._reconstruction import _RECONSTRUCTION #calss header class _RECONSTRUCTIONS(_RECONSTRUCTION, ): def __init__(self,): _RECONSTRUCTION.__init__(self) self.name = "RECONSTRUCTIONS" self.specie = 'nouns' self.basic = "reconstruction" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
d0af8c0f5d9b77517e6ffbfdde75c2a6cca61f8d
633c052b070368a421bec248211950688c72c473
/website/blog/views.py
74428916c21f860bc8f77e1ab94daf34e1b20f49
[]
no_license
allenlgy/my_blog
24b0423b5d6fcb90cd76be1d75c48cc2b70692ab
9e76e5af4eb93a814ae99de6d6217f8a0fc8de7f
refs/heads/master
2020-07-18T01:18:29.901945
2019-08-22T08:32:40
2019-08-22T08:32:40
206,141,673
0
0
null
null
null
null
UTF-8
Python
false
false
9,115
py
from django.shortcuts import render,HttpResponse,get_object_or_404,redirect from . import models import markdown,pygments from django.db.models import Q from django_comments.models import Comment from django_comments import models as comment_models from django.core.paginator import Paginator,EmptyPage,PageNotAnInteger ...
[ "1006547624@qq.com" ]
1006547624@qq.com
c89c98ce14065609476d503b217b6ade9af6acd7
d89bd73d657105c0884b9283d821127695afa746
/retrobiocat_web/retro/generation/pathway_generation/best_first_search.py
8978b65f06021bf13a5cfa9f056e4c4ed4286bc9
[ "MIT" ]
permissive
zhangdachuanfoodies/RetroBioCat
d3e922e0b30220b9d819cc4d377f55fe8e631590
52fa42f11a02621da1934cce8d8420b3b87b5fe4
refs/heads/master
2023-06-11T15:41:07.552720
2021-07-02T09:48:25
2021-07-02T09:48:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,156
py
""" Module for generating pathways using best first search """ import retrobiocat_web.retro.generation.node_analysis from retrobiocat_web.retro.generation import node_analysis from retrobiocat_web.retro.generation.pathway_generation.pathway import Pathway from retrobiocat_web.retro.generation.network_generation.network...
[ "wjafinnigan@gmail.com" ]
wjafinnigan@gmail.com
7ceb17bb40185a5c9860fa9d2d3d7955e3eba9d5
9b422078f4ae22fe16610f2ebc54b8c7d905ccad
/xlsxwriter/test/comparison/test_chart_data_labels28.py
b283e74533b19780c0ce0f3cf5f37db9d9af05b2
[ "BSD-2-Clause-Views" ]
permissive
projectsmahendra/XlsxWriter
73d8c73ea648a911deea63cb46b9069fb4116b60
9b9d6fb283c89af8b6c89ad20f72b8208c2aeb45
refs/heads/master
2023-07-21T19:40:41.103336
2023-07-08T16:54:37
2023-07-08T16:54:37
353,636,960
0
0
NOASSERTION
2021-04-01T08:57:21
2021-04-01T08:57:20
null
UTF-8
Python
false
false
1,646
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
bbb7f2704f301d56bc36350c9637ecf1c407630a
2b8c1dacd9ea4f20591170c8362fd99daae458e8
/backend/chat/api/v1/serializers.py
70a1400e90cc2f19885c9c5c269f4113becd356e
[]
no_license
crowdbotics-apps/relimas-29009
01edee9cdf436a7c24793b56e50cc900a24a1b08
c98f0aae970752ff9bcd4c07388b0bb31408fd37
refs/heads/master
2023-06-20T11:30:34.756977
2021-07-21T18:10:23
2021-07-21T18:10:23
388,201,405
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
from rest_framework import serializers from chat.models import ( ForwardedMessage, Message, MessageAction, Thread, ThreadAction, ThreadMember, ) class ForwardedMessageSerializer(serializers.ModelSerializer): class Meta: model = ForwardedMessage fields = "__all__" class Me...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d1117d0a77af8503feafedabe1787e0c752b145a
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano2319.py
659113c0b560d4e6f42f7e6ea22cea5171cbe52b
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
c829475ede6710c2e1a638b23565139ea2dc3478
61aa319732d3fa7912e28f5ff7768498f8dda005
/src/arch/generic/BaseTLB.py
a090a0640a74b3d022a77ee71a8d4a3c24c31c66
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
TeCSAR-UNCC/gem5-SALAM
37f2f7198c93b4c18452550df48c1a2ab14b14fb
c14c39235f4e376e64dc68b81bd2447e8a47ff65
refs/heads/main
2023-06-08T22:16:25.260792
2023-05-31T16:43:46
2023-05-31T16:43:46
154,335,724
62
22
BSD-3-Clause
2023-05-31T16:43:48
2018-10-23T13:45:44
C++
UTF-8
Python
false
false
2,195
py
# Copyright (c) 2008 The Hewlett-Packard Development Company # Copyright (c) 2018 Metempsy Technology Consulting # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code mu...
[ "sroger48@uncc.edu" ]
sroger48@uncc.edu
5f3a0d402eb0361edd2a48cd60e5ff95aa797157
f2da63de512183804290bfcabfa60eaca3649e05
/exercises/ML/general/geron-handson-ML/07-randomForests/src/splitIrisData.py
d5790df84643c654d3af5af5d37cbf8d3dae6c94
[]
no_license
paradisepilot/statistics
a94bb57ebe453d49c06815c523e8f633423cb68e
50daf644baca1f40253edf91083ed42d4c5f9342
refs/heads/master
2022-07-25T16:19:07.751886
2022-06-26T21:18:38
2022-06-26T21:18:38
5,012,656
0
2
null
2019-04-22T06:52:55
2012-07-13T01:11:42
HTML
UTF-8
Python
false
false
1,138
py
import numpy as np from sklearn.model_selection import train_test_split ############################## def splitIrisData( irisData, testSize, randomState ): print("\n### ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ###") print("splitIrisData()\n") ### ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ### irisFull = np.c_[ ...
[ "paradisepilot@gmail.com" ]
paradisepilot@gmail.com
aca0aaff9291c00119bfd28120f20fc26b7e8f1f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02264/s124432070.py
33df7de33084de77db528503b0f1f2045324578a
[]
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
343
py
pnum,mtime = map(int,input().split(" ")) total = [list(input().split(" ")) for _ in range(pnum)] cnt=0 tcnt=0 while len(total) > 0: ztime = int(total[0][1]) - mtime if ztime <= 0: tcnt += int(total[0][1]) print(total[0][0],int(tcnt)) total.pop(0) else: total.append([total[0][0],ztime]) total.pop(0) tc...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
feb92778dca264cea4993128ba46beda341a1108
3dbc74df3a97ce8254935a08608e8a7966a1bba6
/supervised_learning/0x06-keras/12-test.py
ae6b53c8ffe8c869ec468c107c73fddf5198333b
[]
no_license
s0m35h1t/holbertonschool-machine_learning
9c0475da64eea87565dd90d70eeb23016ef17600
2eb7965900fd018f4092d2fb1e2055d35ba4899e
refs/heads/master
2023-02-28T21:57:50.558030
2021-02-07T20:44:01
2021-02-07T20:44:01
279,866,501
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
#!/usr/bin/env python3 """builds a neural network with the Keras librarys""" import tensorflow.keras as keras def test_model(network, data, labels, verbose=True): """Test a model using keras Args: network: the network model to test data: the input data to test the model with labels: a...
[ "adib.grouz@gmail.com" ]
adib.grouz@gmail.com
f30de038f36322d592a2fdc75dd0b6fa2012aa6a
09a7f3a9277b1635e5bc78af2644138aa20cf331
/fastapi/staticfiles.py
299015d4fef268cde91273790251f35192e1c8a6
[ "MIT" ]
permissive
samuelcolvin/fastapi
9352e6359e7fc000e1c0c68e424768488f0c1377
8ac8d70d52bb0dd9eb55ba4e22d3e383943da05c
refs/heads/master
2023-08-31T07:54:06.149147
2023-04-25T19:12:33
2023-04-25T19:12:33
212,307,119
5
1
MIT
2023-02-23T11:25:58
2019-10-02T10:04:50
Python
UTF-8
Python
false
false
69
py
from starlette.staticfiles import StaticFiles as StaticFiles # noqa
[ "noreply@github.com" ]
samuelcolvin.noreply@github.com
99a33e79ed18d8f79e1fbcbb43a66caf9c77a31a
da9cfbd32bf29e7ee5c30703f5d42d360b02826c
/Tiro Vertical.py.bak
2543756a895ac2b6ec6456305570f4b213c1551e
[]
no_license
Victorjcb28/Simulador
6190982c5f1702df7b1f8835215839d5479434b3
24b149e00eaee3961c4266a6ab667981ae019235
refs/heads/master
2021-01-13T12:29:06.526857
2016-11-02T14:02:29
2016-11-02T14:02:29
72,595,911
0
0
null
null
null
null
ISO-8859-1
Python
false
false
4,229
bak
#!/usr/bin/env python # -*- coding: CP1252 -*- # # generated by wxGlade 0.6.7 (standalone edition) on Thu Jan 09 20:24:47 2014 # import wx import funcionesSimu as f # begin wxGlade: dependencies import gettext # end wxGlade # begin wxGlade: extracode # end wxGlade class Principal(wx.Frame): def...
[ "noreply@github.com" ]
Victorjcb28.noreply@github.com
9a4ee26c7af0ac11d5cb092e559fbbb977c30d0e
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/131_NeuralNetworks/fig/mnist.py
276c02295f3fe1ceda65e2c995be930a7b38a1d3
[ "MIT" ]
permissive
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
12,210
py
""" mnist ~~~~~ Draws images based on the MNIST data.""" #### Libraries # Standard library import pickle import sys # My library sys.path.append('../src/') import mnist_loader # Third-party libraries import matplotlib import matplotlib.pyplot as plt import numpy as np def main(): training_set, validation_set, ...
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
523b0139d20da3d537ed829bc1271455499bd48b
36de14c6b188886df6a284ee9ce4a464a5ded433
/Solutions/0036/0036.py
0b360486cca987d4e644fd4ff3b2c6b2abb03f7f
[]
no_license
washing1127/LeetCode
0dca0f3caa5fddd72b299e6e8f59b5f2bf76ddd8
b910ddf32c7e727373449266c9e3167c21485167
refs/heads/main
2023-03-04T23:46:40.617866
2023-02-21T03:00:04
2023-02-21T03:00:04
319,191,720
3
0
null
null
null
null
UTF-8
Python
false
false
679
py
# -*- coding:utf-8 -*- # Author: washing # DateTime: 2021/9/17 14:40 # File: 0036.py # Desc: import numpy as np class Solution: def isValidSudoku(self, board: List[List[str]]) -> bool: npb = np.asarray(board) for i in range(9): cs = [] cs.append(collections.Coun...
[ "1014585392@qq.com" ]
1014585392@qq.com
768e55610aee8a95a656f12d3bcf549eb248da7d
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/storage/cases/test_KT1R6mbWnmMD2HTmdudkmYjtTe5snY6sfR4N.py
69239bed75ebd34f887a21c1384965ad31761e56
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
1,130
py
from unittest import TestCase from tests import get_data from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline, micheline_to_michelson class StorageTestKT1R6mbWnmMD2HTmdudkmYjtTe5snY6sfR4N(TestCase): @classmethod def setUpClass(cls): cls.maxDiff = None cls....
[ "mz@baking-bad.org" ]
mz@baking-bad.org
be96e07ad2dcab8fbfc97176e6d0b4309f91f8b7
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/RxHjtFqu3w8L9i5fx_3.py
fc4fa2558ab1a50d835e6e5f6dd3419faf29c5b5
[]
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
249
py
def bell(n): b = [[0 for i in range(n+1)] for j in range(n+1)] b[0][0] = 1 for i in range(1, n+1): b[i][0] = b[i-1][i-1] for j in range(1, i+1): b[i][j] = b[i-1][j-1] + b[i][j-1] return b[n][0]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
2cf6ba1239ea756740dc9c1f32deb14e1582930c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/344/84395/submittedfiles/testes.py
785c0bb0f230eeabbe55b49f0e7579c1c6ca916a
[]
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
114
py
n=input('digite o valor de n:') i=1 cont=0 white i>n: if i%2==1 cont=cont+1 i=i+1 print(cont)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d74ff94176652d6adab9b08993e6f045e331f79d
a561673adf29beb7939052b898dad5bf9167cefc
/pkg/codegen/internal/test/testdata/simple-yaml-schema/python/pulumi_example/other_resource.py
0584b7c74dcc815a5e1d5ec927caebef481142d5
[ "Apache-2.0" ]
permissive
orionstudt/pulumi
50fd75d4ec7bb48646cd3c83198afcf4a556a5fa
7ef0b83c0cc7c4f9093e2a8fc0303e875d35c15c
refs/heads/master
2023-08-12T13:57:32.605402
2021-10-18T12:24:46
2021-10-18T12:24:46
312,097,288
0
1
Apache-2.0
2021-01-11T17:12:44
2020-11-11T21:43:03
null
UTF-8
Python
false
false
4,262
py
# coding=utf-8 # *** WARNING: this file was generated by test. *** # *** 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 from .resource import Res...
[ "noreply@github.com" ]
orionstudt.noreply@github.com
a21e158de77afbb91a94e2ee4d41116e637d0c82
d3015a77d06ba67ce1277f4c905b10fb8bcbca58
/CaninoApp/apps/caninos/forms.py
4c1293cc008f63399b7997106e3fc909dd0df7c8
[]
no_license
sanidadpepper/pepper
32d78737d5e6a4ec9f357349d3e1cab2a97c4e12
229faa1fc9cf712910b0e593c19458405f9da66e
refs/heads/master
2021-01-22T04:23:59.330517
2017-05-29T18:10:53
2017-05-29T18:10:53
92,461,220
0
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
# -*- encoding: utf-8 -*- from django.forms import * from django import forms from .models import * class CaninoForm(forms.ModelForm): class Meta: model = Canino fields = '__all__' exclude = ('propietario_canino',) widgets = { 'nombre_canino': forms.TextInput(attrs = {'class': 'form-control',' required': ...
[ "alka65@hotmail.com" ]
alka65@hotmail.com
3451ec045a19945a3daa42e0aa73e318a3a640cf
30c2083aa14417b67c16cadcccb6a597244fe3b1
/freakin_traders_30197/urls.py
f884cbcbdd2e0fd3d8d8fb1149756180f62f9ecd
[]
no_license
crowdbotics-apps/freakin-traders-30197
117b6d60280dc6bb5433227a9149e2bd421d5518
82f298f0360ae1d485359259ab773d3ee3a5c942
refs/heads/master
2023-07-13T04:02:29.217194
2021-08-30T14:54:51
2021-08-30T14:54:51
401,382,131
0
0
null
2021-08-30T15:29:12
2021-08-30T14:54:48
Python
UTF-8
Python
false
false
2,070
py
"""freakin_traders_30197 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2f82c2a75a14fdca740fc0ee2453952e35ab6b5b
3c934c97bd5748237ac8963c8be779a7d77be629
/addDigits.py
531a319e724f44234ab49b96f12e6be5a795dc95
[]
no_license
Franktian/leetcode
2b0d0280d18e3401b9f337f027c5d70f26237f02
98e7852ba144cefbdb02f705651b1519155ee4d6
refs/heads/master
2021-06-12T15:23:09.733650
2020-06-17T23:09:18
2020-06-17T23:09:18
128,710,359
1
0
null
null
null
null
UTF-8
Python
false
false
209
py
def addDigits(num): if num < 10: return num s = sumOfDigit(num) return addDigits(s) def sumOfDigit(num): s = 0 while num != 0: s += num % 10 num /= 10 return s
[ "tianyawen201209@hotmail.com" ]
tianyawen201209@hotmail.com
5b2cb2f36f6a64eacc4892aa6f3b63ca2af75bf8
1d892928c70ee9ddf66f2a37a8e083d2632c6e38
/nova/tests/test_netapp.py
01dc1aa47388aae9c4ce03114c32776848cae0d9
[ "Apache-2.0" ]
permissive
usc-isi/essex-baremetal-support
74196c3f1332ee3cdeba9c263faff0ac0567d3cf
a77daf8ef56cf41e38de36621eda25ed3f180156
refs/heads/master
2021-05-19T03:12:11.929550
2020-07-24T14:15:26
2020-07-24T14:15:26
4,702,421
0
1
Apache-2.0
2020-07-24T14:15:27
2012-06-18T15:19:41
null
UTF-8
Python
false
false
35,390
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2012 NetApp, 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.or...
[ "dkang@isi.edu" ]
dkang@isi.edu
a07d37754b3972b83b7ee21057ac6e08f46968d8
1fa414c3518804dcf113915efd41d3364b5d999b
/customed_gru_cell.py
232e1679c3ae9aaf172ba80ba949869f91745845
[]
no_license
crystal22/HierTCN
c6cdedce958cca863ae665fbc20a7257e557aa02
a76f2c538660e0bda630402ddf2ab8a8963e8df0
refs/heads/master
2022-04-05T17:08:52.207849
2020-02-19T23:53:54
2020-02-19T23:53:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
59,185
py
# Copyright 2015 The TensorFlow 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 applica...
[ "youjiaxuan@gmail.com" ]
youjiaxuan@gmail.com
1978637febe4a5b4d7c178cc33033cd9d6f05d31
eaec4f10a99cbf232332dd451a27ac12b416a05b
/yengine/apps/api/admin.py
77b227e23decb904fda2298b5184d0d3b3f1c64e
[]
no_license
MouvementY/y-engine
439c0e7042580197b633d3a3b5dc2127e4a08c79
c2112a2236ea543542cab14269d6d4c4bf5c32d0
refs/heads/master
2021-01-18T08:10:19.464199
2017-05-04T14:25:24
2017-05-04T14:25:24
26,560,813
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
from django.contrib import admin from . import models @admin.register(models.Blacklist) class BlacklistAdmin(admin.ModelAdmin): pass
[ "dulacpier@gmail.com" ]
dulacpier@gmail.com
b04408742e79f6a51800359f4c6833ffb4ea34cb
af8135e28ba126dd914ddcb9da4db1bb9fc43e12
/common/userAuthCheck.py
9d23a17132e3cfa161343a874b093969a09b2e77
[]
no_license
DICKQI/MindMapEnd
1851ac26755cac52589dc91d66fcb20a9ec62577
eef21ea0603cba9c490709b25ea0513d1b3e03c7
refs/heads/master
2022-11-06T11:58:29.502222
2020-07-01T04:03:30
2020-07-01T04:03:30
275,343,643
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
from django.http import JsonResponse from App.account.models import UserInfo def check_login(func): """ 用于检查是否登录的修饰器 :param func: :return: """ def wrapper(self, request, *args, **kwargs): if request.session.get('login') is not None: return func(self, request, *args, **kwarg...
[ "dickqi87@gmail.com" ]
dickqi87@gmail.com
7fbb14be5683fb73173ff59faf37dbdbacf0172d
fe6fe31cda7c367ba480faeadb119e5074d7c8a4
/src/uproot/models/TMatrixT.py
e71422ddcda0fa1c202e1a74638ec7a2eb246b15
[ "BSD-3-Clause" ]
permissive
scikit-hep/uproot5
a03ec9f8f20d8b5f45957ccf280e1cd75bfab89a
cb70ce0715276bbc403cb48a511c8a3b27cffe7f
refs/heads/main
2023-09-02T10:09:29.669547
2023-08-24T13:30:06
2023-08-24T13:30:06
262,422,450
51
20
BSD-3-Clause
2023-09-14T17:04:36
2020-05-08T20:30:09
Python
UTF-8
Python
false
false
2,641
py
# BSD 3-Clause License; see https://github.com/scikit-hep/uproot5/blob/main/LICENSE """ This module defines versioned models for ``TLeaf`` and its subclasses. """ import struct import numpy import uproot import uproot._util import uproot.model class Model_TMatrixTSym_3c_double_3e__v5(uproot.model.VersionedModel)...
[ "noreply@github.com" ]
scikit-hep.noreply@github.com
8868b2c6fd1f43510cbe29f9dd7cb33e02ff95cf
f99a36ce05caaba331a9f59f65d952ab4b7c7549
/docs/conf.py
c323dfd7e03e5b16821bef11bbef2d4174b7ba53
[ "Apache-2.0" ]
permissive
timkpaine/durga
e18c3fc74d206a9b22ba0d3a6b824ca86ee7eb7d
8689ff81b32f3c515a6150f67cfce219a14b0f4f
refs/heads/main
2022-11-24T11:26:13.823217
2022-11-22T01:44:42
2022-11-22T01:44:42
97,534,458
5
2
Apache-2.0
2023-09-11T11:28:16
2017-07-18T00:30:42
Python
UTF-8
Python
false
false
7,327
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # durga documentation build configuration file, created by # sphinx-quickstart on Fri Jan 12 22:07:11 2018. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # auto...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
93b6214085aa67e902a5ec9c020374974fac78f8
f829d2c4347ce85ae6dd769f0aab2491d8ee4751
/old/.history/a_20201125194218.py
2c79b6089143ab7c7e5146613df7bd606e0a0361
[ "LicenseRef-scancode-mulanpsl-2.0-en", "MulanPSL-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pscly/bisai1
0ef18d4aa12541322947a5be250ef7f260c93276
257c02c8f23e373834a6275683470f3f081b7373
refs/heads/18ti
2023-01-21T22:02:15.582281
2020-11-29T09:30:33
2020-11-29T09:30:33
316,918,262
0
0
NOASSERTION
2020-11-29T12:33:33
2020-11-29T09:39:21
Python
UTF-8
Python
false
false
961
py
# for n in range(400,500): # i = n // 100 # j = n // 10 % 10 # k = n % 10 # if n == i ** 3 + j ** 3 + k ** 3: # print(n) # 第一道题(16) # input("请输入(第一次):") # s1 = input("请输入(第二次):") # l1 = s1.split(' ') # l2 = [] # for i in l1: # if i.isdigit(): # l2.append(int(i)) # for i in l2: # ...
[ "pscly@outlook.com" ]
pscly@outlook.com
b92dab12f975848c179783603005412c4d189b58
3365e4d4fc67bbefe4e8c755af289c535437c6f4
/.history/src/core/dialogs/waterfall_dialog_20170816143248.py
a97e4c50942a2ddefa8b1dd3242b85a9c144c2ca
[]
no_license
kiranhegde/OncoPlotter
f3ab9cdf193e87c7be78b16501ad295ac8f7d2f1
b79ac6aa9c6c2ca8173bc8992ba3230aa3880636
refs/heads/master
2021-05-21T16:23:45.087035
2017-09-07T01:13:16
2017-09-07T01:13:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,485
py
''' Refs: Embedding plot: https://sukhbinder.wordpress.com/2013/12/16/simple-pyqt-and-matplotlib-example-with-zoompan/ ''' from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar import matplotlib.pyplot a...
[ "ngoyal95@terpmail.umd.edu" ]
ngoyal95@terpmail.umd.edu
9979d358c3b472703c439499696ee4d3aebc704f
d6daaa548fa6fd31be6b9c03d8ce0a9a960a4717
/sigpy/app.py
fb754151611c21b5921e77e9551d2875d04a8ce5
[ "BSD-3-Clause" ]
permissive
davidyzeng/sigpy
90ef9efb5a9abe716256679e89fb25614247dfbc
56f8eb9be57b5a80e53ae09f2ba0802586fe69bc
refs/heads/master
2020-03-29T21:24:31.016970
2018-09-26T03:47:55
2018-09-26T03:47:55
150,365,140
0
0
BSD-3-Clause
2018-09-26T03:46:42
2018-09-26T03:46:41
null
UTF-8
Python
false
false
17,513
py
# -*- coding: utf-8 -*- """Applications. """ import numpy as np from tqdm import tqdm from sigpy import linop, prox, util, config from sigpy.alg import PowerMethod, GradientMethod, \ ConjugateGradient, PrimalDualHybridGradient if config.cupy_enabled: import cupy as cp class App(object): """Iterative alg...
[ "frankong@berkeley.edu" ]
frankong@berkeley.edu
0465c8b9fedf0ff5ab8ab8cb05b73f11242ca9be
8ca4992e5c7f009147875549cee21c0efb7c03eb
/tools/get_flops.py
f5b8be763ba1774e8342fca3ccc51a2737793dd6
[ "Apache-2.0" ]
permissive
JiayuZou2020/DiffBEV
0ada3f505fc5106d8b0068c319f0b80ed366b673
527acdb82ac028061893d9d1bbe69e589efae2a0
refs/heads/main
2023-05-23T07:25:39.465813
2023-04-04T02:53:05
2023-04-04T02:53:05
613,895,691
181
8
null
null
null
null
UTF-8
Python
false
false
1,763
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse from mmcv import Config from mmcv.cnn import get_model_complexity_info from mmseg.models import build_segmentor def parse_args(): parser = argparse.ArgumentParser(description='Train a segmentor') parser.add_argument('config', help='t...
[ "noreply@github.com" ]
JiayuZou2020.noreply@github.com
cd9538db92888d72d0f04fb42009e5c2550b2e95
4ce2cff60ddbb9a3b6fc2850187c86f866091b13
/tfrecords/src/wai/tfrecords/object_detection/metrics/oid_challenge_evaluation_utils_test.py
457f4cffbf6a3f5d2c145573863d6eba49197f72
[ "MIT", "Apache-2.0" ]
permissive
8176135/tensorflow
18cb8a0432ab2a0ea5bacd03309e647f39cb9dd0
2c3b4b1d66a80537f3e277d75ec1d4b43e894bf1
refs/heads/master
2020-11-26T05:00:56.213093
2019-12-19T08:13:44
2019-12-19T08:13:44
228,970,478
0
0
null
2019-12-19T03:51:38
2019-12-19T03:51:37
null
UTF-8
Python
false
false
12,883
py
# Copyright 2018 The TensorFlow 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 applica...
[ "coreytsterling@gmail.com" ]
coreytsterling@gmail.com
b49f6765bb82e6b241db1bc83ea85d1028b443f5
2dd9b049e4a2d933fba4114fad70411ba8e25935
/test/test_match_score_breakdown_2016.py
92f22cd3165e02df0f9f6848fc246d3239597286
[]
no_license
MHuguenard/tba-api-client-python
c58ab4f90f3820dd33e5231bd9a5b51fcb28f6f7
7bb6e254fad793ba6204279b5d45fb94266b9860
refs/heads/master
2020-04-30T16:39:07.317247
2019-03-05T20:27:18
2019-03-05T20:27:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
# coding: utf-8 """ The Blue Alliance API v3 # Overview Information and statistics about FIRST Robotics Competition teams and events. If you are looking for the old version (v2) of the API, documentation can be found [here](/apidocs/v2). # Authentication All endpoints require an Auth Key to be passed i...
[ "travis@example.org" ]
travis@example.org
b18980db2228a4dcd941d536795f00b367b31b16
b9ca689e2994507beb8f97816fd3178c920cea3e
/production/pygsl-0.9.5/examples/wavelet2.py
938d348ff000473bfd015504eb69d893ed7690f4
[ "GPL-2.0-only", "MIT" ]
permissive
juhnowski/FishingRod
78f117f1d91c55ed5ba0aa0e582d0837ca5f3872
457e7afb5cab424296dff95e1acf10ebf70d32a9
refs/heads/master
2021-03-12T23:46:24.171759
2014-12-27T20:56:13
2014-12-27T20:56:13
28,544,669
0
1
MIT
2018-10-02T06:27:42
2014-12-27T19:38:05
C
UTF-8
Python
false
false
1,258
py
#!/usr/bin/env python # # Example for a wavelet analysis # Authors: Fernando Vargas, Pierre Schnizer # Date: October 2006 # # To use the same numerical array package as pygsl. # I only use it here, so not to import a package not installed on the user # side. Normaly I directly import the array package I use for all...
[ "info@phreebie.net" ]
info@phreebie.net
47cccc52ddbce1d30b8ec97acddaa6e20b6814e6
c141e36dd668c67882942ba1dcd307c6ca6b8665
/website/utils/require_apikey_decorator.py
65c7efdab94202da8ee2652b3f7b2da2c5bda1e9
[ "MIT" ]
permissive
dchud/Thor-Server
7675bdbc1a95735daba1f5c5bfa7a7e504bd6150
d8f5fc06320a63a4ee5e79c913bd46edc954d834
refs/heads/master
2021-01-02T22:37:38.007952
2017-09-27T12:03:53
2017-09-27T12:03:53
99,358,011
0
0
null
2017-08-04T15:47:43
2017-08-04T15:47:43
null
UTF-8
Python
false
false
690
py
from functools import wraps from flask import request, abort from ..models import User from .. import db # The actual decorator function. def require_apikey(view_function): @wraps(view_function) # The new, post-decoration function. Note *args and **kwargs here. def decorated_function(*args, **kwargs): ...
[ "jamesbrofos@gmail.com" ]
jamesbrofos@gmail.com
5df9af2752119b10e59a1924f9d5cf6b60a30e6d
e2b8b76eb85c5949945760371752eca170061000
/app/models.py
5f6ced85cfeded984858892049b63f220dbae370
[]
no_license
captain204/Mkobo-challenge
dfc4f59f2203e0dbb361d25747c08434a739f97e
8118da4adf1dc2ee326d1fc8ea5fd9044fd0b01f
refs/heads/master
2022-11-23T00:54:42.909332
2020-07-09T17:16:55
2020-07-09T17:16:55
276,913,727
0
0
null
2020-07-04T05:47:40
2020-07-03T14:03:48
Python
UTF-8
Python
false
false
5,597
py
from datetime import datetime import hashlib from werkzeug.security import generate_password_hash, check_password_hash from itsdangerous import TimedJSONWebSignatureSerializer as Serializer from markdown import markdown import bleach from flask import current_app, request, url_for from flask_login import UserMixin, Ano...
[ "nurudeenakindele8@gmail.com" ]
nurudeenakindele8@gmail.com
afd328ec642eda2e0ca111164a529ed8493233fa
620323fc090cebaf7aca456ff3f7fbbe1e210394
/qbittorrent_examples/torrent_list__sort_by_added_on.py
d6ffe6d7b558af5e5b89dec20f78d0cf9514f21c
[ "CC-BY-4.0" ]
permissive
gil9red/SimplePyScripts
bd2733372728bf9b9f00570e90316fa12116516b
773c2c9724edd8827a1dbd91694d780e03fcb05a
refs/heads/master
2023-08-31T04:26:09.120173
2023-08-30T17:22:59
2023-08-30T17:22:59
22,650,442
157
46
null
2023-09-08T17:51:33
2014-08-05T16:19:52
Python
UTF-8
Python
false
false
322
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "ipetrash" # SOURCE: https://github.com/qbittorrent/qbittorrent/wiki/WebUI-API-Documentation#get-torrent-list from common import get_client, print_torrents qb = get_client() torrents = qb.torrents(sort="added_on", reverse="true") print_torrents(torrents...
[ "ilya.petrash@inbox.ru" ]
ilya.petrash@inbox.ru
a1a5c84bdaa3a21b92dafc6f409367770d23f774
4abe2ed78c68473a4e22b5d86f8e631a0bab06e8
/py-polars/tests/test_pandas.py
419940d9476d80f2040ec95cfeab360c1116c8c0
[ "MIT" ]
permissive
FlorianWilhelm/polars
dfde03c703341eaba7015ac424cdc4ded037d5f8
ccf901bec47ad78603a9f6ba2a20ee586f8116bc
refs/heads/master
2023-05-06T13:12:54.643300
2021-05-14T09:49:00
2021-05-14T10:46:23
367,397,569
1
0
MIT
2021-05-14T15:03:00
2021-05-14T15:02:59
null
UTF-8
Python
false
false
310
py
import pandas as pd import datetime import polars as pl def test_from_pandas_datetime(): ts = datetime.datetime(2021, 1, 1, 20, 20, 20, 20) s = pd.Series([ts, ts]) s = pl.from_pandas(s.to_frame("a"))["a"] assert s.hour()[0] == 20 assert s.minute()[0] == 20 assert s.second()[0] == 20
[ "ritchie46@gmail.com" ]
ritchie46@gmail.com
d3fbb9932cbb934501385c0aad7c6923d9b6f3ce
114c199c91e8102b9f1aeab456b15e1947ed305b
/napalm_yang/models/openconfig/bgp/peer_groups/peer_group/as_path_options/state/__init__.py
445167020d1d898184b5367a912e5868fe83f67a
[ "Apache-2.0" ]
permissive
luke-orden/napalm-yang
5987ba64df572f3428d9d314a449d5cf93066198
1effbcc8c34e75dbaa701235fff4d0840352acc0
refs/heads/master
2021-06-17T01:45:00.879203
2017-03-30T14:53:19
2017-03-30T14:53:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
54,357
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from decimal import Decimal from bitarray import bitar...
[ "noreply@github.com" ]
luke-orden.noreply@github.com
7954147ded88dcbfc295603d136bb951e941d63c
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20190319/example_spinner/02yaspin.py
9141c334641a13f888959a166e1313a6ca25f267
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
275
py
import time from random import randint from yaspin import yaspin with yaspin(text="Loading", color="yellow") as spinner: time.sleep(2) # time consuming code success = randint(0, 1) if success: spinner.ok("✅ ") else: spinner.fail("💥 ")
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
68393adf038b9830ac975f1d055b13cdb2d4bc7e
08cfc4fb5f0d2f11e4e226f12520a17c5160f0a2
/kubernetes/client/models/v2beta1_object_metric_source.py
d72d82d5eef33b634e5381d0b2b1aeaf1f1024a5
[ "Apache-2.0" ]
permissive
ex3cv/client-python
5c6ee93dff2424828d064b5a2cdbed3f80b74868
2c0bed9c4f653472289324914a8f0ad4cbb3a1cb
refs/heads/master
2021-07-12T13:37:26.049372
2017-10-16T20:19:01
2017-10-16T20:19:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,257
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.8.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
[ "mehdy@google.com" ]
mehdy@google.com
1463939515dda119758747bd3cea778c1c62f93a
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/FenxiaoDiscountsGetRequest.py
0da92cd4797d1bb4d9e3304126c04a7227569c59
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class FenxiaoDiscountsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.discount_id = None self.ext_fields = None def getapiname(self): return 'tao...
[ "poorevil@gmail.com" ]
poorevil@gmail.com
ee54a26d1ff3c1f9cfeaff8a99aed768a51c9495
ef441fc5fc3e463d5d80a6b14965cccbf720cc09
/other/test_server.py
7d0e8613468d9933c9aa2bb622408b91303954f6
[]
no_license
reinhardtken/py-code
25de61b81f81900da2fe0be3088fbfb70746cb99
bf190df1a08e3be0f0862e808e0bdaeb4fabe96e
refs/heads/master
2022-06-21T21:28:14.883822
2022-06-11T12:10:38
2022-06-11T12:10:38
129,590,127
0
0
null
null
null
null
UTF-8
Python
false
false
2,004
py
# coding:utf-8 import socket import re from multiprocessing import Process # 设置静态文件根目录 HTML_ROOT_DIR = "./html" def handle_client(client_socket): """ 处理客户端请求 """ # 获取客户端请求数据 request_data = client_socket.recv(1024) print("request data:", request_data) request_lines = re...
[ "reinhardtken@hotmail.com" ]
reinhardtken@hotmail.com
33a4744e3f1057dbe6f189b68d83e27fb316329d
7093871c1e05da957860905ce2010e6deb5c86d5
/entm/resources.py
e671dbef2c79f2e574698377ea13b0d08c26d298
[]
no_license
yf956613/bsc2000
a80c6ef3ded61ccdcc212ac4c53f1e809beebdfb
d51626d542340d59087e45f7d079e876e5c5b681
refs/heads/master
2022-12-18T03:00:12.433434
2020-09-30T10:00:28
2020-09-30T10:00:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,771
py
# -*- coding:utf-8 -*- from import_export import resources,fields from accounts.models import User,MyRoles from core.models import Organization from bsc2000.middleware import get_current_user import datetime from entm import constant #https://stackoverflow.com/questions/1108428/how-do-i-read-a-date-in-excel-format...
[ "apengok@163.com" ]
apengok@163.com
cf239354464507b7b80a9a8cdd95b72e75f22b32
353b1065e5dfce1878d367bf9758387cf34ce52f
/marketing/migrations/0005_auto_20200705_1750.py
eff1ab2372b1c57bea8b7ff067884fd6ca8f8d6a
[]
no_license
Vaibhav-21-git/Gym-Website-Project
62d19c2708f602b165fb4fecd0659a56b38d3008
9ff78ae40a8e14ffdbce4f87e2b9915a8fe5bc0d
refs/heads/master
2022-11-28T04:16:44.877412
2020-08-06T09:48:04
2020-08-06T09:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
# Generated by Django 3.0.5 on 2020-07-05 13:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('marketing', '0004_guestmarketing'), ] operations = [ migrations.AlterField( model_name='guestmarketing', name='guest...
[ "6438087-Noferesti@users.noreply.gitlab.com" ]
6438087-Noferesti@users.noreply.gitlab.com
3d1195dc0da1729216275c527e057b9482cde28d
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/dossier/upgrades/20161122103454_add_dossier_templates/upgrade.py
80ccfcfb3f40885c82e8bd58ce15dc93ed5c7f9a
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
180
py
from ftw.upgrade import UpgradeStep class AddDossierTemplates(UpgradeStep): """Add dossier templates. """ def __call__(self): self.install_upgrade_profile()
[ "e.schmutz@4teamwork.ch" ]
e.schmutz@4teamwork.ch
634ef4542eb2c5f526d30e109302f6fa3e7247ed
aac5982c8dcf26221419086fb90c399b9f4324ef
/DFTB/SlaterKoster/slako_tables/c_cl.py
a653a2c0978143549859d1a7a548ecb05e09338a
[]
no_license
by-student-2017/DFTBaby-0.1.0-31Jul2019
99184d3fa2976d4e02f7f1bddee97e56526d9365
92cb73f1a6472f88588986561349d7f2ad1b1c15
refs/heads/master
2022-12-12T00:12:50.449505
2020-09-01T21:05:59
2020-09-01T21:05:59
290,116,049
1
0
null
null
null
null
UTF-8
Python
false
false
96,481
py
# This file has been generated automatically by ./generate_slakotables.py # from /home/humeniuka/DFTB-0.1.0/DFTB/SlaterKoster/confined_pseudo_atoms/c.pyc and /home/humeniuka/DFTB-0.1.0/DFTB/SlaterKoster/confined_pseudo_atoms/cl.pyc. from numpy import array Z1 = 6 Z2 = 17 # overlaps S[(l1,l2,i)] and hamilton matrix elem...
[ "studentsctest@gmail.com" ]
studentsctest@gmail.com
6f3ef70561df322cf1014645fc799c2e3dcde943
bbc972524d9f0ccf95fbac30de2f7a7c0a1badf2
/arcade/experimental/shapes_buffered_2_glow.py
a60f2fbe2ab806fa6dd175be5c47acd914ebd297
[ "MIT" ]
permissive
JFincher42/arcade
e0049b84b0317a0fd9eee3702e4e6e843cc2ebac
f9eebfc4c6989e0e99d7b6dfe0409f248bfd5a44
refs/heads/master
2021-06-29T20:41:31.850895
2021-03-18T14:43:01
2021-03-18T14:43:01
226,012,595
0
0
NOASSERTION
2021-03-18T14:45:09
2019-12-05T04:00:26
Python
UTF-8
Python
false
false
4,303
py
""" Shapes buffered in ShapeElementList Show how to use a ShapeElementList to display multiple shapes on-screen. If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.shapes_buffered """ import random import arcade from arcade.experimental import postprocess...
[ "jfincher42@gmail.com" ]
jfincher42@gmail.com
2f0417238cd9c482fc1325827f3a2206f0702b67
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/414d0e92acb75bcb533bf65b35cd8dc718261d50-<_update_check_external_network_providers>-bug.py
cf57a474a3faf25fd91ae4178e795f670c18b0c3
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
def _update_check_external_network_providers(self, entity): if (entity.external_network_providers is None): return (not self.param('external_network_providers')) entity_providers = self._connection.follow_link(entity.external_network_providers) entity_provider_ids = [provider.id for provider in enti...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
ce52e050a59bcc98db8ee7dcf55ee17dadd645e1
ea01aabe0a0b1c303a9c8c85502d09292537b7d9
/farm/decorators.py
5d018503c28eca6759345694458ac347ebbfb9ee
[]
no_license
alheddadi/Meerar
e5d66512901134fc39235699a210a3eee041b97f
7999844f9e306cfeb38bec7d5a39ab8b69c45547
refs/heads/main
2023-03-02T02:41:59.406089
2021-02-11T13:51:58
2021-02-11T13:51:58
338,042,191
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
from django.http import HttpResponse from django.shortcuts import redirect def unauthenticated_user(view_func): def wrapper_func(request, *args, **kwargs): if request.user.is_authenticated: return redirect('home') else: return view_func(request, *args, **kwargs) ...
[ "root@kali" ]
root@kali
7681aee208e1da1fc9d23bc8d5fd375092ac5932
759113a52c58d6c4123b97a8037cf65e8f33867d
/trimesh/visual.py
ff9d5a1520f90ea6d55fc645c060dd20bc7de29b
[ "MIT" ]
permissive
rjaworzyn/trimesh
0d5c4075a5f9c8350c1cf886923bf88d3a8d4c7b
fa8de92d02904cee6f7d765508986c0c900419be
refs/heads/master
2021-01-17T23:31:36.428979
2016-08-16T09:53:25
2016-08-16T09:53:25
65,807,221
0
0
null
2016-08-16T09:34:28
2016-08-16T09:34:27
null
UTF-8
Python
false
false
10,787
py
import numpy as np from colorsys import hsv_to_rgb from collections import deque from . import util from .util import is_sequence, is_shape, Cache, DataStore from .constants import log COLORS = {'red' : [205,59,34,255], 'purple' : [150,111,214,255], 'blue' : [119,158,203,255], ...
[ "mik3dh@gmail.com" ]
mik3dh@gmail.com
48859de37102f529c12f99ac7822c52197bc21d2
706dd00183f5f4a3ccb80e78efc35c9173a7d88b
/backend/user_manage/urls.py
7f345dc4da0c02137bc7326f34e896027c7a6958
[]
no_license
jiaweioss/2021_Summer_Project
d82e89e431c500cde07201b150a4390ecf09ce6f
136f007f1a4449710659b7424025d15402b7344a
refs/heads/main
2023-07-14T14:17:39.239612
2021-08-29T12:59:03
2021-08-29T12:59:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
from django.urls import path from . import views urlpatterns = [ path('register', views.register, name='register'), path('login', views.login, name='login'), path('info', views.info, name='info'), path('search', views.search, name='search'), path('set_end', views.set_endTime, name='set_end'), ]
[ "455436082@qq.com" ]
455436082@qq.com
ec758ec2c9406c8937244ce1a7da3e865f82f4ef
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_189/ch84_2019_06_06_12_14_44_547463.py
bf2015dad5993b90a23fb42f1d8c12352f86a98d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
def inverte_dicionario(): dict.keys()=dk dict.values()=dv dkey=[] dvalue=[] for a in dk: dvalue.append(a) for b in dv: dkey.append(b) z=dict dkey=dict.keys(z) dvalue=dict.values(z) return (z)
[ "you@example.com" ]
you@example.com
400ccacff51a0c8de08987185969a0822989da4c
59d5a801dd8361fe2b68f0cdfc1a0c06bbe9d275
/Competition/恶意样本检测/features/backup/usb.py
8696f17856dbe619d29054427c306620c876c4fd
[]
no_license
HanKin2015/Machine_to_DeepingLearning
2ff377aa68655ca246eb19bea20fec232cec5d77
58fa8d06ef8a8eb0762e7cbd32a09552882c5412
refs/heads/master
2023-01-25T01:16:41.440064
2023-01-18T08:23:49
2023-01-18T08:23:49
134,238,811
0
1
null
null
null
null
UTF-8
Python
false
false
232
py
import win32com.client wmi = win32com.client.GetObject ("winmgmts:") for usb in wmi.InstancesOf ("Win32_USBHub"): print(usb.DeviceID) for usb in wmi.InstancesOf ("win32_usbcontrollerdevice"): print(usb.Dependent)
[ "1058198502@qq.com" ]
1058198502@qq.com
a634cdd862364770805a6e9336fc8f6e6e8502e7
bc28c8d355be102e57a82d5c1d3db86afacd956c
/Examples/FontUsage/FamilyUsage.py
360c2702483cdd57c29a18de2d6c12ebf74d9bd8
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pathumego/PageBot
3d194f7b68d928e69bc8e7c0e26e1e49fae517d2
88023d21392f41a5c53ca0b8051a917fb592cf7b
refs/heads/master
2021-07-20T15:32:45.723589
2017-10-24T03:02:12
2017-10-24T03:02:12
109,038,879
1
0
null
2017-10-31T18:47:33
2017-10-31T18:47:33
null
UTF-8
Python
false
false
3,060
py
# ----------------------------------------------------------------------------- # Copyright (c) 2016+ Buro Petr van Blokland + Claudia Mens & Font Bureau # www.pagebot.io # # P A G E B O T # # Licensed under MIT conditions # Made for usage in DrawBot, www.drawbot.com # ------------------------------...
[ "buro@petr.com" ]
buro@petr.com
5955879bcfba28e76b1322c02eef5e70aca53cef
77a9cd9d2a8410d12c0db2d865b5398795369327
/app/rise/apps/surveys/migrations/0006_auto_20150614_0227.py
801d6917ba1dc7c79d80ff1080472f2a616bef95
[]
no_license
dgpratt/RISE_Survey
706d3366e84bab21b17843a8e8b53d88471f5c71
5745f4257d9e1258f4c8c1cf3d6104b24bf11078
refs/heads/master
2021-05-30T01:28:35.419103
2015-06-14T13:32:07
2015-06-14T14:10:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('surveys', '0005_auto_20150614_0224'), ] operations = [ migrations.AddField( m...
[ "colin.powell@gmail.com" ]
colin.powell@gmail.com
bc3fa1e2b3e098c7fdc97e6f4c6c1ad4066c1a30
5c1531b47fb4dc4d7e5998d44f7200bf1786b12b
/__UNSORTED/223_rectangle_area/rectangle_area.py
815340f78f7db052b2d31c26130a5312c79330f6
[]
no_license
Web-Dev-Collaborative/Leetcode-JS-PY-MD
d1f560051aad1896a80eccdd4b4fbb389e7033e3
675b94fa5da8d40f0ea79efe6d3ef1393221425f
refs/heads/master
2023-09-01T22:30:32.313793
2021-10-26T02:17:03
2021-10-26T02:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
class Solution: # @param {integer} A # @param {integer} B # @param {integer} C # @param {integer} D # @param {integer} E # @param {integer} F # @param {integer} G # @param {integer} H # @return {integer} def computeArea(self, A, B, C, D, E, F, G, H): square1 = abs(C - A) ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
26ac08ee00cad93d4bc1812ea57f2bd9131c8152
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp/sblp_ut=3.5_rd=0.8_rw=0.06_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=33/params.py
58468ad2c30195d40cb01c2a72438675eb559d92
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
{'cpus': 4, 'duration': 30, 'final_util': '3.652190', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.8', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'RUN', 'trial': 33, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
07ebf2ef9a1807cdaed357a7fa733b170c67aa4a
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-iotanalytics/huaweicloudsdkiotanalytics/v1/model/delete_group_request.py
b0ccb89c6c27179f11abd2510021f1cf4a503246
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,030
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class DeleteGroupRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
e449bb378480a96b99c04f8c2ef532fa768b3c5d
b0ea541c0aef0fa8946aef3130490dc4fa068e9b
/ABC_PS1_Final/catkin_ws/devel/lib/python3/dist-packages/stdr_msgs/msg/_SpawnRobotActionGoal.py
de0638c01cb579ae519e8948b36f9781471b523e
[]
no_license
ABCaps35/ECSE473_ABC
b66c8288412a34c72c858e16fd2f93540291b8ff
f03b9ec90317dd730aa723cb7fa7254ea03e412f
refs/heads/master
2023-03-09T09:46:47.963268
2021-02-11T03:44:19
2021-02-11T03:44:19
337,913,499
0
0
null
null
null
null
UTF-8
Python
false
false
39,470
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from stdr_msgs/SpawnRobotActionGoal.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import actionlib_msgs.msg import genpy import geometry_msgs.msg import st...
[ "acapelli345@gmail.com" ]
acapelli345@gmail.com
5f22fa292edb6857daeb80f83b819895bd0c083c
5e9b2d0d2a4399fd028c738a082921a1df1f8321
/python_3 by pythonguru/args.py
d4e68b31c43b126bd1299104a3f05298593752b6
[]
no_license
sunilsm7/python_exercises
42e5a1aee0a0d5402b585e1b1631517145aa1e00
b2754c51464dcd81319c8514c24249a13e18d825
refs/heads/master
2020-12-02T16:19:20.266436
2017-10-27T10:22:37
2017-10-27T10:22:37
96,534,650
0
1
null
null
null
null
UTF-8
Python
false
false
475
py
# *args example def sum(*args): s = 0 for i in args: s += i print("sum is ", s) sum(1, 2, 3) # **kwargs example def my_func(**kwargs): for i,j in kwargs.items(): print(i,j) my_func(name='tim', sport='football', roll=19) # Using *args and **kwargs in function call def my_three(a, b, c): print(a, b, c) a...
[ "sunil9766@gmail.com" ]
sunil9766@gmail.com
a195990ad3eda06e6983d8e8fb370cf9b45b0a07
6b070890ca894f8b9856a25c54411ac0cba14c6e
/docs/source/conf.py
073a36af188aea92e047cd95fec52fce54b4f214
[ "MIT" ]
permissive
kinow/cf-python
415a7a6ce30044420d4d50968252e8596d6ddcae
e5f380e23d8549bba9c5e4a3687d30eb4e00fda4
refs/heads/master
2021-07-06T16:53:16.635612
2019-11-04T16:57:40
2019-11-04T16:57:40
217,493,101
0
0
null
2019-10-25T08:54:06
2019-10-25T08:54:05
null
UTF-8
Python
false
false
16,103
py
# -*- coding: utf-8 -*- # # Python cf muodule documentation build configuration file, created by # sphinx-quickstart on Wed Aug 3 16:28:25 2011. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated fi...
[ "d.c.hassell@reading.ac.uk" ]
d.c.hassell@reading.ac.uk
8dd16c32134b4d11e140c45390d647876829835d
66a2276f011feb5386db5e480bc0f9c2da6f4f3f
/3ProjectEuler/i1_25/i17Number letter counts.py
bcb5d4b5fd09fcaaf6e7b182c99eb7b105692551
[]
no_license
greatabel/puzzle_I_cracked
09edee29464974f9b5358910c5097aa1b4d9aec2
7dc252923f17fd89de201dc2ac7540d54d69420d
refs/heads/master
2021-06-02T11:05:19.962065
2019-10-19T14:21:56
2019-10-19T14:21:56
31,331,091
13
1
null
null
null
null
UTF-8
Python
false
false
1,899
py
# If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. # If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters would be used? # # NOTE: Do not count spaces or hyphens. For example, 34...
[ "myreceiver2for2github@gmail.com" ]
myreceiver2for2github@gmail.com
35fa1733f84f0514940f71a35d0fc64e5e226041
18c99e7d06cb18570a7a2177066e5da2372f895c
/resources/Rougier Tutorial/scripts/antialiased.py
3b42c284b16bd49ea75befafcb7912f3c5a14c42
[ "MIT", "CC-BY-SA-4.0" ]
permissive
nstarman/2019-10-22-dotAstronomy-Plotting-Workshop
00a7d9cc17a32effa0bb6cf758c02efa25d33bd8
31e1a10b3d0f051a2cd197ce390bcf96753f153c
refs/heads/master
2021-07-13T12:14:28.031574
2019-10-22T16:00:54
2019-10-22T16:00:54
214,871,831
7
0
MIT
2020-10-10T07:10:38
2019-10-13T18:27:13
Jupyter Notebook
UTF-8
Python
false
false
384
py
from pylab import * size = 128,16 dpi = 72.0 figsize= size[0]/float(dpi),size[1]/float(dpi) fig = figure(figsize=figsize, dpi=dpi) fig.patch.set_alpha(0) axes([0,0,1,1], frameon=False) rcParams['text.antialiased'] = True text(0.5,0.5,"Anti-aliased",ha='center',va='center') plt.xlim(0,1),plt.ylim(0,1), plt.xticks([])...
[ "nstarkman@protonmail.com" ]
nstarkman@protonmail.com
a9a3c8b833da15f56d22cf197b3b8718d6cf6694
0e7864a673553f6d2a9c10e8804aab375f909198
/Utilities/scripts/submit_job.py
047747ab46046e3ec86175b8f404578870f064ee
[]
no_license
jjswan33/FinalStateAnalysis
5917044ff9580bd62ff137927605eb60209e30d8
d1d44806068570f7223abc1e3ea02dc6e9764919
refs/heads/master
2021-01-23T21:33:19.682884
2012-05-20T12:07:30
2012-05-20T12:07:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,548
py
#!/usr/bin/env python ''' Create a script file to submit jobs to condor. The script is written to stdout, some logging information is sent to stderr. Example to make submit script for VH analysis: submit_job.py VH 2012-03-14-Trileptons trilepton_ntuples_cfg.py \ "--input-dir={myhdfs}/2012-03-05-EWK...
[ "evan.friis@cern.ch" ]
evan.friis@cern.ch
312fc88cde8bd8e53cf17feae0f8c4b97d9d5ad2
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/vmware/nsx/manager/backuprestore/clusterbackuprestore/api/nsx70_crud_impl.py
12c963eae711fdaca48a44ce3aac0ea73ac992e1
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
import schema.backup_request_schema as backuprequestschema import vmware.common.global_config as global_config import vmware.nsx.manager.api.base_crud_impl as base_crud_impl import vmware.nsx_api.manager.clusterbackup.issueclusterbackuprequest \ as issueclusterbackuprequest import vmware.nsx_api.manager.clusterba...
[ "bpei@vmware.com" ]
bpei@vmware.com
08d3802cfecc57c3f783e3228d2cff0988bacf60
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/debug/lib/debug_utils_test.py
24a127ea5a00033e1eb49d62e6f5dc26901f99d7
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
14,283
py
# Copyright 2016 The TensorFlow 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...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
2c9ded6af09c831f1b63c608c6ea69a0f39f69fa
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/80/usersdata/149/44896/submittedfiles/moedas.py
2e6b9c3011216a713971daece045f00127009e69
[]
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
395
py
# -*- coding: utf-8 -*- from __future__ import division a=int(input('digite o valor de a:')) b=int(input('digite o valor de b:')) c=int(input('digite o valor de c:')) if a%c=0 and b%c=0: print('N') else: soma=0 i=a while i<=c: if a%c=0 or b%c=0: soma=soma+1 i=i+a print(soma) j=b somab=0 resto=c%a whil...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
29d9498f32eaa43e7a874cd7c674caf41f0b145b
f569978afb27e72bf6a88438aa622b8c50cbc61b
/douyin_open/EnterpriseImEnterpriseIm/models/body.py
e9c6b0b242fba3148dbf2478144e17b505d9089e
[]
no_license
strangebank/swagger-petstore-perl
4834409d6225b8a09b8195128d74a9b10ef1484a
49dfc229e2e897cdb15cbf969121713162154f28
refs/heads/master
2023-01-05T10:21:33.518937
2020-11-05T04:33:16
2020-11-05T04:33:16
310,189,316
1
0
null
null
null
null
UTF-8
Python
false
false
6,763
py
# coding: utf-8 """ 企业号发送消息 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six cl...
[ "strangebank@gmail.com" ]
strangebank@gmail.com
ced494fe52545f142626eba0543acd434ba5894b
f5f7a1ae04a999f3f193cca647397b29806edf73
/drivers/orin_bcap/bcapclient.py
47add4c9a50c17629fe031f8170498b62e92dbf6
[ "MIT" ]
permissive
kazuki0824/wrs
bf88d1568f591c61870332436bfcd079d78b87d7
03c9e59779a30e2f6dedf2732ad8a46e6ac3c9f0
refs/heads/main
2023-07-24T05:20:02.054592
2021-05-31T14:38:18
2021-05-31T14:38:18
368,829,423
1
0
MIT
2021-05-19T10:25:48
2021-05-19T10:25:47
null
UTF-8
Python
false
false
26,108
py
''' Software License Agreement (MIT License) @copyright Copyright (c) 2017 DENSO WAVE INCORPORATED 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...
[ "wanweiwei07@gmail.com" ]
wanweiwei07@gmail.com