blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
e5f55207dd9a043e94437287cbd5b94a341aeb9a
5ec3dc6d172d758f9f547686b68cbbe903ab3161
/test/no_running_jobs_test.py
7740a6977d3edacfdbd71a677bae1499bce61a23
[]
no_license
dixudx/jenkinsflow
ea8bdf4b8abdfb06ab6e05f5c5a83a1c0744f849
2c07f8fc2951d9167dcd08ae2e1f6a8afc32f7f5
refs/heads/master
2020-12-26T00:25:27.092813
2015-05-19T19:41:47
2015-05-19T19:41:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,964
py
# Copyright (c) 2012 - 2015 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. from pytest import raises from jenkinsflow.flow import serial, JobNotIdleException from jenkinsflow.mocked import hyperspeed from .cfg import ApiType from .framework import api_sele...
[ "lhn@hupfeldtit.dk" ]
lhn@hupfeldtit.dk
7d3fc3ee1fbadfbfdeae383c58c42296cb0e2128
73b158f51285300c1d3456b7af9163939ee206f2
/DevOps/sprint03/t00_lambda/expression.py
0ddfdb9345aef1a2a08f49f12d1afab8728d3beb
[]
no_license
nnocturnnn/DevOps
2e332b3552a5b294b36d2af7de854aa18f2da46f
173c75938e65be8fbbb5c02c3d655d09df9a2931
refs/heads/master
2023-06-11T07:21:14.097930
2021-06-30T13:58:15
2021-06-30T13:58:15
352,070,911
1
0
null
null
null
null
UTF-8
Python
false
false
141
py
n = int(input('n: ')) a = int(input('a: ')) b = int(input('b: ')) result = lambda a, b, n : n % a == 0 and n % b == 0 print(result(a,b,n))
[ "vikchehovich@gmail.com" ]
vikchehovich@gmail.com
14d21ba34e1b8337cb0439ea712b203c5317703c
2a8abd5d6acdc260aff3639bce35ca1e688869e9
/telestream_cloud_qc_sdk/telestream_cloud_qc/models/audio_loudness_itest.py
387597f5a62e6090eec6343a0872aa4c534e52f5
[ "MIT" ]
permissive
Telestream/telestream-cloud-python-sdk
57dd2f0422c83531e213f48d87bc0c71f58b5872
ce0ad503299661a0f622661359367173c06889fc
refs/heads/master
2021-01-18T02:17:44.258254
2020-04-09T11:36:07
2020-04-09T11:36:07
49,494,916
0
0
MIT
2018-01-22T10:07:49
2016-01-12T11:10:56
Python
UTF-8
Python
false
false
7,273
py
# coding: utf-8 """ Qc API Qc API # noqa: E501 The version of the OpenAPI document: 3.0.0 Contact: cloudsupport@telestream.net Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from telestream_cloud_qc.configuration import Configuration class...
[ "cloudsupport@telestream.net" ]
cloudsupport@telestream.net
937175e4b5291adf7936b6fa829b3bbd28c7c340
3af2998fe7bc3c48fbe6eae476f7e0ec5bfc0ca6
/control_flow/while_loop.py
503c2959186fb69a16e04e59916b7b694844032c
[]
no_license
east825/python-inference-playground
22acb8f2c71eb07e13293a9fec1d67a6f5aa25cf
f60387604a1c535ad30b7f3f44acf08cbd7d88c7
refs/heads/master
2020-06-01T01:29:00.399986
2014-04-15T12:28:18
2014-04-15T12:28:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
while False: if True: a1 = 42 break else: a1 = 'spam' print(a1) while False: if True: a2 = 42 else: a2 = 'spam' print(a2) a3 = 42 while False: if True: a3 = 'spam' print(a3) while False: if True: a4 = 42 else: a4 = 'spam' print(a4)
[ "mikhail.golubev@jetbrains.com" ]
mikhail.golubev@jetbrains.com
b4571590ec6a3e3ec47fcc2114275054d35df44f
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/container/builds/describe.py
c3386e7ed0435df473c1cbd30730d4657cc15fba
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
2,193
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...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
86cfe8a6f28681768008e205860dc50ea646a073
76af5f63e173850a461dd104d696a3ad86958b6d
/ObjectDetectionDeps/Generate_Labelmap.py
543168988a48df229884cc695dd2deda73776def
[]
no_license
Danny-Dasilva/Tensorflow_Object_Detection
599b76d86918b1425a8d9e35d6dc5644224e6692
b0386dfac730b516594d511849560ff59a2bf979
refs/heads/master
2022-03-30T11:34:08.595899
2020-02-08T16:35:20
2020-02-08T16:35:20
197,986,897
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
import os path = os.environ['IMAGEPATH'] + '/Train_labels.csv' import csv col = [] with open(path, newline='') as csvfile: reader = csv.DictReader(csvfile) for row in reader: #print(set(row['class'])) col.append(row['class']) classes = list(set(col)) print(classes) count = 0 pbtxt_label ...
[ "yahchayildasilva@gmail.com" ]
yahchayildasilva@gmail.com
8f608eb54cc99e4c496150d0edecc71a52d4e030
3cda2dc11e1b7b96641f61a77b3afde4b93ac43f
/nni/experiment/config/utils/__init__.py
c4b8b586d0953435188171ce60154e6e190380ee
[ "MIT" ]
permissive
Eurus-Holmes/nni
6da51c352e721f0241c7fd26fa70a8d7c99ef537
b84d25bec15ece54bf1703b1acb15d9f8919f656
refs/heads/master
2023-08-23T10:45:54.879054
2023-08-07T02:39:54
2023-08-07T02:39:54
163,079,164
3
2
MIT
2023-08-07T12:35:54
2018-12-25T12:04:16
Python
UTF-8
Python
false
false
237
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. """ Utility functions for experiment config classes. Check "public.py" to see which functions you can utilize. """ from .public import * from .internal import *
[ "noreply@github.com" ]
Eurus-Holmes.noreply@github.com
891869c00f24639fa8d33f4d0a3dea0f62cc2f18
5b1eb22194cb2f4c9df63765f78a6998a6ad3de2
/src/helpsys.py
ad173e7ce6e17082de7d532ab17840bb10f89ca2
[]
no_license
Jawmo/akriosmud
85c2ecd520fd15ba86d0210b018055146b9e2192
aac434919586f5590f089e8e87e0f2e946a80aa9
refs/heads/master
2020-10-01T23:26:47.290481
2019-12-09T01:11:05
2019-12-09T01:11:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,804
py
#! usr/bin/env python # Project: Akrios # Filename: helpsys.py # # File Description: Module to handle the help system. # # By: Jubelo from collections import namedtuple import glob import logging import json import os import olc import world log = logging.getLogger(__name__) WRITE_NEW_FILE_VERSION = False # Defi...
[ "phippsb@gmail.com" ]
phippsb@gmail.com
6da9faa43719b34fe1f5824aa6c271c993fb4534
7ad0ea6e17c6505c419f70b956a06f36b734779b
/BizchoolLab/project/urls.py
e8a928037905962c68a0c309904a81b359a0d1ac
[]
no_license
yoongyo/BizLab
34cb2e6386030fb091853d90065063367ae32521
dfe5f1e69d6a711e96f0f456f36ecfbccf010892
refs/heads/master
2020-04-12T13:08:55.782891
2018-12-20T02:09:54
2018-12-20T02:09:54
162,513,450
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from django.urls import path, re_path from . import views urlpatterns = [ re_path(r'^new/$', views.project_new, name="project_new"), re_path(r'^$', views.project_list, name="project_list"), re_path(r'^(?P<pk>\d+)/$', views.project_detail, name="project_detail"), re_path(r'^(?P<pk>\d+)/Edit/$', views.pro...
[ "jyg0172@naver.com" ]
jyg0172@naver.com
d90fcac0e12cd0f321dbfa11976d0074cb2a681c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/200.py
fffe0758681ce42de20ca4fef4e35391db502cce
[]
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
1,091
py
def checkCase(data): elements=[] nonbase=[] opposed=[] for i in xrange(0, int(data[0])): nonbase.append((data[i+1][0],data[i+1][1],data[i+1][2])) data=data[int(data[0])+1:] for i in xrange(0, int(data[0])): opposed.append((data[i+1][0],data[i+1][1])) data=data[-1] for cm...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f2536c6d3f382ecd5d7c0ab7aa19a39a61db1aff
453d2e699d218fdb3bc1e535a707988194ac6717
/lib/opengl/postproc/base.py
e38f2f67f6835325a7416c113e3b01a34d8e7a81
[ "MIT" ]
permissive
defgsus/thegame
d54ffcd343c7e1805d2c11e24cd38b02243e73d4
38a627d9108f1418b94b08831fd640dd87fbba83
refs/heads/master
2023-07-23T06:32:40.297591
2022-04-11T12:02:32
2022-04-11T12:02:32
127,875,178
1
0
MIT
2023-07-06T22:07:07
2018-04-03T08:21:31
Python
UTF-8
Python
false
false
1,264
py
from ..RenderSettings import RenderSettings from ..RenderNode import RenderNode from ..ScreenQuad import ScreenQuad from ..core.Shader import Shader class PostProcNode(RenderNode): def __init__(self, name): super().__init__(name) self.quad = ScreenQuad(name="pp-quad-%s" % self.name) self...
[ "s.berke@netzkolchose.de" ]
s.berke@netzkolchose.de
038243668ac16b39e17fbc3ecc4dfe6eb39856d0
2031771d8c226806a0b35c3579af990dd0747e64
/pyobjc-framework-Photos/PyObjCTest/test_phphotolibrary.py
7174dd32bc9163fff070ec2f446bfa8aa62aa0cf
[ "MIT" ]
permissive
GreatFruitOmsk/pyobjc-mirror
a146b5363a5e39181f09761087fd854127c07c86
4f4cf0e4416ea67240633077e5665f5ed9724140
refs/heads/master
2018-12-22T12:38:52.382389
2018-11-12T09:54:18
2018-11-12T09:54:18
109,211,701
2
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
from PyObjCTools.TestSupport import * import sys if sys.maxsize > 2 ** 32: import Photos class TestPHPhotoLibrary (TestCase): def testConstants(self): self.assertEqual(Photos.PHAuthorizationStatusNotDetermined, 0) self.assertEqual(Photos.PHAuthorizationStatusRestricted, 1) ...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
30fb72f40582c23a9f9dd19a02d75877810dce08
44b9fa8d1113299d327d087da73febf26bef61e7
/WINDOW_openMDAO/AEP/FastAEP/farm_energy/wake_model_mean_new/wake_overlap.py
ff871ca75c2e2612402c55bb235094bbeda88a94
[]
no_license
sebasanper/WINDOW_openMDAO
828e6d38546e706d23e4920b1c6e857c6be10825
3779fa8380874bc2cd7380df90339b37806a6a60
refs/heads/master
2023-04-12T22:09:42.951295
2023-04-05T08:54:15
2023-04-05T08:54:15
107,442,976
3
9
null
2019-01-20T16:32:42
2017-10-18T17:47:04
HTML
UTF-8
Python
false
false
789
py
from math import sqrt def root_sum_square(array_deficits): # This is one model, root sum square of individual wind speed deficits. total_deficit = sqrt(sum([deficit ** 2.0 for deficit in array_deficits])) return total_deficit def multiplied(array_deficits): total_deficit = 1.0 for element in ar...
[ "s.sanchezperezmoreno@tudelft.nl" ]
s.sanchezperezmoreno@tudelft.nl
a3058160dea228fc765e45cdcec942bd35ec57a9
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/core/data/db/tests/test_dbms.py
cf0aed0578e3412ae13b214eeeea0442098cd14d
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,053
py
# -*- coding: UTF-8 -*- """ Copyright 2013 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af 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 version 2 of the License. w3af is distributed in the h...
[ "everping@outlook.com" ]
everping@outlook.com
bd5007f5ea485e97bda7e458055eb62fbd663a8a
8520c991dc543f5f4e1efe59ab401824173bb985
/457-circular-array-loop/solution.py
e31ba44f932755442e14be18a59b1756d31061c2
[]
no_license
katryo/leetcode
d44f70f2853c4f5ea9a462d022feb0f5436c2236
0da45559271d3dba687858b8945b3e361ecc813c
refs/heads/master
2020-03-24T12:04:53.859047
2020-02-18T04:27:55
2020-02-18T04:27:55
142,703,107
0
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
class Solution(object): def circularArrayLoop(self, nums): """ :type nums: List[int] :rtype: bool """ def next(idx): return (idx + nums[idx]) % len(nums) for i in range(len(nums)): if nums[i] == 0: continue pslow =...
[ "katoryo55@gmail.com" ]
katoryo55@gmail.com
b728b7a1c74922c4b5ecc77fd20377d3924e6d66
0821d92db624dada6bc50887f6e435ef1e1c03e2
/norm/common.py
f8233b282b34e20c3f2abe8c3bf385be4388f6bb
[ "MIT" ]
permissive
jcollie/norm
a29a3052705e805ba240232aec1fd6aac59897ba
db303b28e4184cae08228d92868f9409c013096a
refs/heads/master
2021-01-18T04:19:45.679791
2013-07-22T22:34:09
2013-07-22T22:34:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,735
py
# Copyright (c) Matt Haggard. # See LICENSE for details. from zope.interface import implements from twisted.internet import defer from collections import deque, defaultdict from norm.interface import IAsyncCursor, IRunner, IPool class BlockingCursor(object): """ I wrap a single DB-API2 db cursor in an asy...
[ "haggardii@gmail.com" ]
haggardii@gmail.com
53f105e9a16c218d5698c35ab3d888d4d9d69c58
9baa9f1bedf7bc973f26ab37c9b3046824b80ca7
/venv-bck/bin/easy_install
f306fde1138489c4a226dd5e0a062fb6a8fad8e7
[]
no_license
shakthydoss/suriyan
58774fc5de1de0a9f9975c2ee3a98900e0a5dff4
8e39eb2e65cc6c6551fc165b422b46d598cc54b8
refs/heads/master
2020-04-12T05:36:59.957153
2017-01-08T06:12:13
2017-01-08T06:12:13
59,631,349
0
0
null
null
null
null
UTF-8
Python
false
false
256
#!/Users/saksekar/suriyan/venv/bin/python # -*- coding: utf-8 -*- import sys import re from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "shakthydoss@gmail.com" ]
shakthydoss@gmail.com
311069543284b2bc146f63a4419a6b1c1c2286b8
08607218396a0269a90e8b4e6d099a5e99e39a8b
/database/schemes/easyTest/script/testCase/U商城项目/U商城管理端/站点设置/友情链接/worm_1482819508/友情链接.py
a743fe0cfcbaa179d5cb2864b7ab079e770d7400
[ "MIT" ]
permissive
TonnaMajesty/test
4a07297557669f98eeb9f94b177a02a4af6f1af0
68b24d1f3e8b4d6154c9d896a7fa3e2f99b49a6f
refs/heads/master
2021-01-19T22:52:18.309061
2017-03-06T10:51:05
2017-03-06T10:51:05
83,779,681
1
0
null
null
null
null
UTF-8
Python
false
false
3,227
py
# coding=utf-8 from time import sleep, time from SRC.common.decorator import codeException_dec from SRC.unittest.case import TestCase from script.common import utils class EasyCase(TestCase): def __init__(self, webDriver, paramsList): # 请不要修改该方法 super(EasyCase, self).__init__(webDriver, paramsList) @codeExcep...
[ "1367441805@qq.com" ]
1367441805@qq.com
49c9b831d7494a17b8b9e2e2a8847fe9fb7f86e6
f928edfc876d715159521589a22485d9de45cc89
/import_hourly_csv_to_mariadb_09.py
666d2da36d65dde7c7db69c75b28ea5fa5820375
[]
no_license
guitar79/AirKorea_Python
cd06432740e0b292ca6ad3cde7144717967f5190
8077eaa0b6c444d575a25c7f7b992477a36c8294
refs/heads/master
2020-08-05T01:05:47.209200
2019-10-28T03:36:14
2019-10-28T03:36:14
212,342,300
0
0
null
null
null
null
UTF-8
Python
false
false
5,349
py
''' -*- coding: utf-8 -*- Auther guitar79@naver.com ''' #import numpy as np import os import pymysql from datetime import datetime #import warning #import time start_time=str(datetime.now()) #mariaDB info db_host = '10.114.0.121' db_user = 'modis' db_pass = 'rudrlrhkgkrrh' db_name = 'AirKorea' tb_name = 'hourly_vc...
[ "noreply@github.com" ]
guitar79.noreply@github.com
6d5d2be5a463e58fc1862feabe2bcc443fce727b
f07391f481150ad07cd5652a7b09cf1cd60d345f
/cmsplugin_container/cms_plugins.py
ee489a8a5b52902cedc985968117762177b4c1a3
[]
no_license
django-cms-plugins/django-cmsplugin-container
39dc956d1b7aa29132c0c841aa1d187da779e568
c35d7111a6bd2c73de3d5df6a673497214df8e76
refs/heads/master
2021-01-21T15:07:12.658207
2013-07-23T14:56:19
2013-07-23T14:56:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,735
py
#-*- coding: utf-8 -*- from django.utils.translation import ugettext_lazy as _ from cms.plugin_pool import plugin_pool from cms.plugin_base import CMSPluginBase from cms.models import CMSPlugin from cmsplugin_container.models import Container, Grid from cmsplugin_container.forms import ContainerForm class ContainerPl...
[ "jacob.rief@gmail.com" ]
jacob.rief@gmail.com
ae1e8444b7e83511169be63c369f1ce2d53da1bd
f9462f3768fa058bd895a56b151da694664ce588
/examples/713_no-op.py
1a3dcf7281703f179d38d40bd7d138b5afd82c90
[ "MIT" ]
permissive
ryanpennings/workshop_swinburne_2021
16a9a7e2c7134832f8f714b7b430376f1b67dfb2
820ef4e36e73ac950f40e1846739087180af2e1c
refs/heads/main
2023-05-31T16:35:16.535310
2021-06-17T06:24:51
2021-06-17T06:24:51
377,373,107
0
0
MIT
2021-06-17T06:24:51
2021-06-16T04:45:02
null
UTF-8
Python
false
false
418
py
import compas_rrc as rrc if __name__ == '__main__': # Create Ros Client ros = rrc.RosClient() ros.run() # Create ABB Client abb = rrc.AbbClient(ros, '/rob1') print('Connected.') # No operation done = abb.send_and_wait(rrc.Noop()) # Print feedback print('Feedback = ', done)...
[ "casas@arch.ethz.ch" ]
casas@arch.ethz.ch
eb5c2010387158948bc1e2996332dbd8a800d330
17bdb906c2c0886d6451b55ac84633d416d5c50a
/chapter_one/test_list.py
28308ca52a00ce387a5426c39769e05cde52ba57
[ "MIT" ]
permissive
vyahello/unittest-bootcamp
10053994dc834720b76df90a37d4756a6f1437c7
af24c5c00032ab7265a0c00da5955a26d25dff33
refs/heads/master
2021-07-17T03:42:30.058662
2020-05-09T22:21:17
2020-05-09T22:21:17
139,250,120
4
1
null
null
null
null
UTF-8
Python
false
false
1,026
py
from typing import List from unittest import TestCase class TestListMethods(TestCase): """ This test case is verifying basic list data type methods. """ def test_append(self) -> None: """ Test checks if given elements are adding to array """ flist: List[...] = [] for i in range(1, 4)...
[ "vyahello@gmail.com" ]
vyahello@gmail.com
86047464007e688dadd3b3c27012b467b686a566
bb150497a05203a718fb3630941231be9e3b6a32
/framework/api/optimizer/reader.py
ebbceb27d15008ded7a2c8cd080b7547fb67cd48
[]
no_license
PaddlePaddle/PaddleTest
4fb3dec677f0f13f7f1003fd30df748bf0b5940d
bd3790ce72a2a26611b5eda3901651b5a809348f
refs/heads/develop
2023-09-06T04:23:39.181903
2023-09-04T11:17:50
2023-09-04T11:17:50
383,138,186
42
312
null
2023-09-13T11:13:35
2021-07-05T12:44:59
Python
UTF-8
Python
false
false
222
py
#!/bin/env python # -*- coding: utf-8 -*- # encoding=utf-8 vi:ts=4:sw=4:expandtab:ft=python """ reader """ import numpy as np reader = np.random.random(size=[1, 1, 10]) reader_img = np.random.random(size=[1, 3, 16, 16])
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
5679e7a79c5e5694fc959140e9c696630b307830
2a6dbece45c391e6dc3d28f04c7c02b18d17b24b
/myapi/views.py
e7798b0b48cf6abbd44a3179bd4bbeac4e5ba3e6
[]
no_license
KassadReda/Rest_API_Blender
3b1e43b2a488541d8d8a9aa9f95a39c4e70c34ae
ee9e5216462902a5cfee98a5502b4580b3af12e6
refs/heads/main
2023-04-17T06:35:49.204734
2021-05-03T22:45:52
2021-05-03T22:45:52
364,080,036
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
""" class BlenderViewSet this class define how to display a model. by Reda """ # coding=utf-8 from django.shortcuts import render from rest_framework import viewsets from .serializers import BlenderModelSerializer from .models import BlenderModel # Create your views here. class BlenderViewSet(viewsets.Mo...
[ "=" ]
=
d7e35795109593422c728043090178b3c899e3ec
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/65/usersdata/159/31031/submittedfiles/investimento.py
5b61ed3d81f3cbef16ed56e9d8cb401d0f95499a
[]
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
385
py
# -*- coding: utf-8 -*- from __future__ import division a=float(input('Valor do investimento')) x=float(input('')) b=a+(x*a) print('%.2f' %b) c=b+(x*b) print('%.2f' %c) d=c+(x*c) print('%.2f' %d) e=d+(x*d) print('%.2f' %d) f=e+(x*e) print('%.2f' %f) g=f+(x*f) print('%.2f' %g) h=g+(x*g) print('%.2f' %h) i=h+(x*h) print...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4062480923890be48ce91948af01567a73be9bed
6573a45c4389688666821621c26a5a95a0765e4d
/archived_envs/20190625_100746/bin/google-oauthlib-tool
ed107688f59c3ccd9c6f360932ed99b926c0aff3
[]
no_license
ilhmndn/Warehouse-Management-System-With-Frappe
66a41be2286dbdb556ab51a4788fc42987d6ed2e
bd9864c5a04a6e2f2f625a8755fba3df4b6409be
refs/heads/master
2022-10-23T11:13:57.810948
2019-07-02T05:18:19
2019-07-02T05:18:19
194,467,571
2
2
null
2022-10-15T16:16:10
2019-06-30T02:40:05
Python
UTF-8
Python
false
false
264
#!/home/ilhmndn/frappe-training/env/bin/python # -*- coding: utf-8 -*- import re import sys from google_auth_oauthlib.tool.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ilhmndn@localhost.localdomain" ]
ilhmndn@localhost.localdomain
c82d3a37fc944204f5db277b2c98979ab8efef44
76d4430567b68151df1855f45ea4408f9bebe025
/test/functional/test_framework/coverage.py
7f4c1c66546c66896b4314f57e91dcf935f48336
[ "MIT" ]
permissive
MicroBitcoinOrg/MicroBitcoin
f761b2ff04bdcb650d7c0ddbef431ef95cd69541
db7911968445606bf8899903322d5d818d393d88
refs/heads/master
2022-12-27T10:04:21.040945
2022-12-18T05:05:17
2022-12-18T05:05:17
132,959,214
21
33
MIT
2020-06-12T04:38:45
2018-05-10T22:07:51
C++
UTF-8
Python
false
false
3,386
py
#!/usr/bin/env python3 # Copyright (c) 2015-2018 The MicroBitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Utilities for doing coverage analysis on the RPC interface. Provides a way to track which RPC com...
[ "iamstenman@protonmail.com" ]
iamstenman@protonmail.com
19c37356466ad944b8cb042d417054ce008b1f64
17bdf40c2bbdf3dd09bf0fa683d471f4e07159fd
/asymmetric_jwt_auth/apps.py
be5200a58c04ac73f83aa2863dfef64592b567c1
[ "ISC" ]
permissive
chiranthsiddappa/asymmetric_jwt_auth
c8c9f0a11b36994b72c87f2d834189df94ef6fee
a95d28ba61e38395da483243a6f536bf25a41e74
refs/heads/master
2020-12-25T17:56:18.972703
2016-05-24T05:16:06
2016-05-24T05:16:06
59,540,392
0
0
null
2016-05-24T04:30:18
2016-05-24T04:30:18
null
UTF-8
Python
false
false
151
py
from django.apps import AppConfig class JWTAuthConfig(AppConfig): name = 'asymmetric_jwt_auth' verbose_name = "Asymmetric Key Authentication"
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
3018d83ac2e45b567d543161d4efa6c95141ef00
f45cc0049cd6c3a2b25de0e9bbc80c25c113a356
/LeetCode/石子游戏/5611. 石子游戏 VI.py
ea53be09b91192af8790730394fd8bcd26bf5197
[]
no_license
yiming1012/MyLeetCode
4a387d024969bfd1cdccd4f581051a6e4104891a
e43ee86c5a8cdb808da09b4b6138e10275abadb5
refs/heads/master
2023-06-17T06:43:13.854862
2021-07-15T08:54:07
2021-07-15T08:54:07
261,663,876
2
0
null
null
null
null
UTF-8
Python
false
false
3,385
py
""" 5611. 石子游戏 VI Alice 和 Bob 轮流玩一个游戏,Alice 先手。 一堆石子里总共有 n 个石子,轮到某个玩家时,他可以 移出 一个石子并得到这个石子的价值。Alice 和 Bob 对石子价值有 不一样的的评判标准 。 给你两个长度为 n 的整数数组 aliceValues 和 bobValues 。aliceValues[i] 和 bobValues[i] 分别表示 Alice 和 Bob 认为第 i 个石子的价值。 所有石子都被取完后,得分较高的人为胜者。如果两个玩家得分相同,那么为平局。两位玩家都会采用 最优策略 进行游戏。 请你推断游戏的结果,用如下的方式表示: 如果 Alice 赢,返...
[ "1129079384@qq.com" ]
1129079384@qq.com
58c456b9e168ba17eb5cc5d6e3bc8715df702e0d
f4dd8aa4e5476ffde24e27273dd47913c7f9177a
/Dlv2_safe2/tests/parser/edbidb.2.test.py
7ca82d647d28036317512550cf746da486a374b1
[ "Apache-2.0" ]
permissive
dave90/Dlv_safe2
e56071ec1b07c45defda571cb721852e2391abfb
f127f413e3f35d599554e64aaa918bc1629985bc
refs/heads/master
2020-05-30T10:44:13.473537
2015-07-12T12:35:22
2015-07-12T12:35:22
38,256,201
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
input = """ g(3,4). g(4,1). h(X,Y):- h(Y,X). g(X,Y):- h(X,Z), g(Z,Y). h(3,4). g(5,2). """ output = """ g(3,4). g(4,1). h(X,Y):- h(Y,X). g(X,Y):- h(X,Z), g(Z,Y). h(3,4). g(5,2). """
[ "davide@davide-All-Series" ]
davide@davide-All-Series
39488c26270cabe7fb0720f02e7f86e06baa8868
db5264994305e8c926f89cb456f33bd3a4d64f76
/Sklep zielarski/orders/migrations/0001_initial.py
c21bd1168a45aeac59c66f7e35c2afffd875dd47
[]
no_license
marcinpelszyk/Django
7842e20d5e8b213c4cd42c421c1db9ab7d5f01d5
aff2b9bd20e978a22a4a98994bf8424892d3c82f
refs/heads/main
2023-05-01T19:20:37.267010
2021-05-18T17:51:53
2021-05-18T17:51:53
356,532,628
0
0
null
null
null
null
UTF-8
Python
false
false
2,201
py
# Generated by Django 3.1.7 on 2021-05-08 19:15 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('stor...
[ "marcin.pelszyk90@gmail.com" ]
marcin.pelszyk90@gmail.com
7a2d804bfeae7d288dc2c166ea105a91da40ca97
3cd19164c17d9793ea506369454b8bacd5cebfa9
/Backend/clubmg_bak_20190726/clubserver/urls.py
48019cb3399c4c52f203ca02e80992ee2532ec11
[]
no_license
Myxg/BadmintonClubSystem
337a17728122ab929d37e7f2732850beb49d8be0
1c51236098ab3770cadd925212f9d3978ed83c2a
refs/heads/master
2022-12-27T10:13:55.129630
2020-09-16T10:21:36
2020-09-16T10:21:36
295,998,099
0
0
null
null
null
null
UTF-8
Python
false
false
3,500
py
#coding: utf-8 from django.conf.urls import include, url from rest_framework_jwt.views import obtain_jwt_token from . import views urlpatterns = [ url(r'^token-auth$', obtain_jwt_token), url(r'^useradd$', views.UserAdd.as_view()), url(r'^user$', views.UserView.as_view()), url(r'^user/password$', vie...
[ "15234407153@163.com" ]
15234407153@163.com
882dd051b7a1fff21dee017e84de337271d6bcb6
39329ae5773c9b4c1f9c91eec393507f5e8ae1c0
/server/.history/server_20200307213734.py
40e4aa62a922652973d3ff4b8b8636ddb900856f
[]
no_license
dobreandrei1/legal
083267aae7faa10775e5a634679869fce0ac3136
dd05fad8df599f9fc34f56628ebd8861f7a004b4
refs/heads/master
2021-09-08T20:16:29.926214
2020-03-08T09:24:04
2020-03-08T09:24:04
245,785,262
0
0
null
2021-09-03T00:42:33
2020-03-08T09:22:37
Python
UTF-8
Python
false
false
1,712
py
from pathlib import Path from flask import Flask, render_template, request, send_file, send_from_directory, safe_join, abort, current_app # from werkzeug import secure_filename import pandas as pd import os import time import json from flask_cors import CORS from haikunator import Haikunator import unidecode import PyP...
[ "dobreandrei1@yahoo.com" ]
dobreandrei1@yahoo.com
2ff3d6352d5241a08ded28a3f45e2e30c903eee7
1841c29ffb26901bc7830b2ce4ea712197f1b740
/models/GraphNN/DTNN.py
e2ad09c182e6617d8bbdf55b57b5fb2b13b136e6
[ "MIT" ]
permissive
chubbymaggie/Deep_Learning_On_Code_With_A_Graph_Vocabulary
756bdd54b17d351d31200cc0ceacf8f639e0c678
29ee2fdffc5bc05582a91025697e256980e75ef2
refs/heads/master
2020-03-28T12:33:33.820671
2018-09-10T22:54:14
2018-09-10T22:54:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,446
py
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. from collections import OrderedDict from mxnet import gluon from models.FITB.FITBModel import FITBModel from models.GraphNN.MPNN import MPNN class DTNN(MPNN): ''' Deep Tensor Neural Network from https://www.nature.com/articles/ncomms1...
[ "mwcvitkovic@gmail.com" ]
mwcvitkovic@gmail.com
f3e029ef5acbe8e796a4ba75d99292456d5d7dd7
8832f83436809e8e918e60e5526d95add9fe8dbd
/books_app/migrations/0069_auto_20191002_1610.py
825b2b23a78d57c127bd9697fe680eaecabd9d58
[]
no_license
HCDigitalScholarship/booksofduchesses
e31e56eaba253b92a1362de5918b5b005cb27f3c
3f0e27515963c92a56714c5bada3b6a68a8665df
refs/heads/master
2022-12-09T18:41:20.019687
2021-10-25T14:58:18
2021-10-25T14:58:18
190,254,161
0
3
null
2022-12-08T05:21:54
2019-06-04T18:05:08
Python
UTF-8
Python
false
false
849
py
# Generated by Django 2.2.2 on 2019-10-02 16:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("books_app", "0068_auto_20190930_1758")] operations = [ migrations.AddField( model_name="text", name="estc_link", fiel...
[ "apjanco@gmail.com" ]
apjanco@gmail.com
da05f206093955bc97ef19a62bc0a70e69711fc6
5e9dacbb7a9613b7c8d8c92398bb66926a314c38
/script.py
ecff88305875f987118660b170ce2849290d9f87
[]
no_license
pol9111/tencent_WechatOffAcc_auto
645b95bfd893706df4651f1e8f67ea1dc57a03de
3aa2a9a8a78796d5b829f9bf49cc849713ed41b7
refs/heads/master
2020-03-24T16:24:08.783424
2018-07-30T04:07:14
2018-07-30T04:07:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
import json import pymongo import re from config import * def response(flow): global like_num, title, pub_time, read_num, comment_num client = pymongo.MongoClient(MONGO_URL) db = client[MONGO_DB] table = db[MONGO_COLLECTION] # 获取微信广告json文件, 里面有阅读数和点赞数 url_msg = 'mp.weixin.qq.com/mp/getappmsgex...
[ "biscuit36@163.com" ]
biscuit36@163.com
a2d6c12a2bd7956f2c562f8cfe0e2ac7678d9769
3003a8663135aa10f5a152a8642bc6ab270995b9
/ggCloudSDK/google-cloud-sdk/lib/googlecloudsdk/sql/lib/instances.py
9580cc32edf3f272d2994243b0b16c424ce6e6fb
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/packmybot
1b4d199b36d196e5e769a781b520019bb4d0bdbc
92de1e72cfc51b41447366ffc81a9dcd9a5e7870
refs/heads/master
2022-11-25T23:46:06.946645
2015-10-22T08:22:04
2015-10-22T08:22:04
282,313,675
0
0
null
2020-07-24T20:50:10
2020-07-24T20:50:10
null
UTF-8
Python
false
false
7,040
py
# Copyright 2015 Google Inc. All Rights Reserved. """Common utility functions for sql instances.""" from googlecloudsdk.calliope import exceptions class _BaseInstances(object): """Common utility functions for sql instances.""" @classmethod def _SetBackupConfiguration(cls, sql_messages, settings, args, origin...
[ "cboussicaud@leaseplan.fr" ]
cboussicaud@leaseplan.fr
f9da954cdcb17cee51e9d873568d288fdf2c9cdb
f6f29c2fa719c53eee73de2acd86db9e1278182e
/code_wars/calculating_with_functions.py
a3f2c7e84a244f5b3dd4d6052494c5ab40d538cb
[]
no_license
byt3-m3/python_code_practice
ca08320e1778449d30204b65f15903d5830b7975
40e215c4d4ab62cf7d55d2456d94550335825906
refs/heads/master
2023-07-24T08:29:06.624850
2021-09-04T02:39:32
2021-09-04T02:39:32
256,984,457
0
0
null
null
null
null
UTF-8
Python
false
false
2,290
py
''' This time we want to write calculations using functions and get the results. Let's have a look at some examples: seven(times(five())) # must return 35 four(plus(nine())) # must return 13 eight(minus(three())) # must return 5 six(divided_by(two())) # must return 3 Requirements: There must be a function for each nu...
[ "cbaxtertech@gmail.com" ]
cbaxtertech@gmail.com
e3baf698b803e39d4869c69af482d97836496848
91d96fc4084a55a74f761ed7bc7d0adba533618a
/projects/pset2.0_Forkable_Difficulty_Adjusting/blockchain-visualizer/visualize.py
352b2f7230f8cd77c28efa64538cda9744295698
[ "MIT" ]
permissive
Averylamp/mas.s62
169bb76f1289a3d4569a952075bfb8e7842e1dca
382dc036ae014785be4c464ed8c4aef533fd52ab
refs/heads/master
2020-03-17T16:14:56.613227
2018-05-17T03:56:09
2018-05-17T03:56:09
133,741,785
4
1
null
null
null
null
UTF-8
Python
false
false
3,143
py
import pickle from datetime import datetime from datetime import timedelta import matplotlib.pyplot as plt import graphviz def mine_rate_info(endpoint_block, origin_block, block_information, time_interval): endpoint_dt = datetime.fromtimestamp(highest_block[0]['timestamp']) origin_dt = datetime.fromtimestamp(block_i...
[ "averylamp@gmail.com" ]
averylamp@gmail.com
447215391bd91ac4d5a721c47f8d0298d4eb5b3f
c001d8cff7e634bfa19d682ccdcf5261bc7bf397
/cotizacionweb/migrations/0005_auto_20160420_1104.py
f9051f65ba22309b3fc40fa1bad989072d8ebdc8
[]
no_license
yusnelvy/mtvmcotizacionv02
4053a6883519901e3652a141ef83c297c5aa0ccd
f0d94faff9c721f25018b7db12a07786508da565
refs/heads/master
2021-01-21T12:58:49.014716
2016-05-06T20:49:59
2016-05-06T20:49:59
50,135,715
0
0
null
2016-05-25T12:32:34
2016-01-21T20:48:27
CSS
UTF-8
Python
false
false
2,464
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('contenedor', '0005_contenedortipicopormueble_tipo_de_contenido'), ('cotizacionweb', '0004_auto_20160414_1529'), ] operations...
[ "yusnelvy@gmail.com" ]
yusnelvy@gmail.com
2bc647123df644c429a647698050cb197c682e88
5b5a49643c75aa43d5a876608383bc825ae1e147
/tests/lists/p121_test.py
22041a3cf5ee7085bd6f9c855959da66c5eaec06
[]
no_license
rscai/python99
281d00473c0dc977f58ba7511c5bcb6f38275771
3fa0cb7683ec8223259410fb6ea2967e3d0e6f61
refs/heads/master
2020-04-12T09:08:49.500799
2019-10-06T07:47:17
2019-10-06T07:47:17
162,393,238
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
from python99.lists.p121 import insert_at, insert_at_mutable def test_insert_at(): assert insert_at([1, 2, 3, 4, 5, 6], 2, 'a') == [1, 'a', 2, 3, 4, 5, 6] assert insert_at([1, 2, 3, 4, 5, 6], 1, 'a') == ['a', 1, 2, 3, 4, 5, 6] assert insert_at([1, 2, 3, 4, 5, 6], 7, 'a') == [1, 2, 3, 4, 5, 6, 'a'] def tes...
[ "ray.s.cai@icloud.com" ]
ray.s.cai@icloud.com
f340f6fe2ce9cef2755406e2d7327934041ad8c1
6fe477c7b32f0020a5fffe6affbc7546b16ab879
/healthpoints/src/healthpoints/apps/tracks/migrations/0003_auto__add_field_activity_shard_id__add_field_activity_note_id.py
aca19183adb724bd430c79164d590c788b213d1b
[]
no_license
rootart/healthpoints
cb79cc4b8e3ceb9401eb5894518e026673f98545
c33f8e2d0d62e66b3e967f3e464097482abebd91
refs/heads/master
2021-01-01T05:52:06.661165
2014-10-12T05:45:11
2014-10-12T05:45:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,555
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Activity.shard_id' db.add_column(u'tracks_activity', 'sha...
[ "dijakroot@gmail.com" ]
dijakroot@gmail.com
bf811162014e14e26b71ed53ffec58e618d594a3
2157782cf5875767f8d1fe0bb07243da2e87600d
/send_email/email_helper.py
5012f4ab74d9a69b947ea3e386bf2d903abaa39f
[]
no_license
mouday/SomeCodeForPython
9bc79e40ed9ed851ac11ff6144ea080020e01fcd
ddf6bbd8a5bd78f90437ffa718ab7f17faf3c34b
refs/heads/master
2021-05-09T22:24:47.394175
2018-05-11T15:34:22
2018-05-11T15:34:22
118,750,143
1
1
null
null
null
null
UTF-8
Python
false
false
3,112
py
#email_helper.py ''' 参考:https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432005226355aadb8d4b2f3f42f6b1d6f2c5bd8d5263000 封装成简单邮件发送模块 ''' from email import encoders from email.header import Header from email.mime.text import MIMEText from email.utils import parseaddr, formataddr im...
[ "1940607002@qq.com" ]
1940607002@qq.com
762824112bf390cf4f8ff8ee2d484e6524fbca21
c95f245a5252ec1185e13ef5d37ff599dd451fee
/telethon/network/connection/tcpfull.py
fd9fd1cf58e9bd9932053d283a5d676b226f6cd5
[ "MIT" ]
permissive
perryyo/Telethon
6f95ce09ad86a94c44fe697ba6d49df4914cb321
0046291254f9c96f8824ff7b42fa695fa3f71fc5
refs/heads/master
2020-04-07T17:08:15.994174
2019-02-11T07:13:44
2019-02-11T07:13:44
158,558,142
0
0
MIT
2018-11-21T14:12:22
2018-11-21T14:12:21
null
UTF-8
Python
false
false
1,463
py
import struct from zlib import crc32 from .connection import Connection from ...errors import InvalidChecksumError class ConnectionTcpFull(Connection): """ Default Telegram mode. Sends 12 additional bytes and needs to calculate the CRC value of the packet itself. """ def __init__(self, ip, port, ...
[ "totufals@hotmail.com" ]
totufals@hotmail.com
5bf1c3fcd512c1e389e2f7280476b3433ecf2119
c1b8ff60ed4d8c70e703f71b7c96a649a75c0cec
/ostPython1/multuple.py
c6e25d4906e5ab8d55c5aa5fce4761928a3d621c
[]
no_license
deepbsd/OST_Python
836d4fae3d98661a60334f66af5ba3255a0cda5c
b32f83aa1b705a5ad384b73c618f04f7d2622753
refs/heads/master
2023-02-14T17:17:28.186060
2023-01-31T02:09:05
2023-01-31T02:09:05
49,534,454
1
2
null
null
null
null
UTF-8
Python
false
false
685
py
#!/usr/bin/env python3 # # # multiple.py # # Lesson 7: String Formatting # # by David S. Jackson # 11/30/2014 # # OST Python1: Beginning Python # for Pat Barton, Instructor # """ takes as data a tuple of two-element tuples, such as ((1,1), 2,2), (12,13), (4,4), (99,98)). This and/o...
[ "deepbsd@yahoo.com" ]
deepbsd@yahoo.com
1347ece238e08d92a8903165e9b040ea820981c3
9531e597cd3f865cc6b6f780498a18281c2413f8
/user_notifications/views.py
82f196088698131ef8e60ab25accfb76388764e8
[]
no_license
dpitkevics/DevNet
7133b80ce5d56b9c11aa4c500d530faed7cb13f4
98ebc3916346e6c2bda79711a3896f7c2a8e2ac8
refs/heads/master
2020-04-15T12:04:00.245848
2015-09-14T17:45:39
2015-09-14T17:45:39
41,320,800
0
0
null
null
null
null
UTF-8
Python
false
false
2,663
py
import json import redis from notifications import notify from django.http import HttpResponse, JsonResponse from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from django.db.models import Q from django.db.models.signals import post_save from django.dispatch import r...
[ "daniels.pitkevics@gmail.com" ]
daniels.pitkevics@gmail.com
4d9685bae094c34f6844353f599ed8a19c912a5c
d305e9667f18127e4a1d4d65e5370cf60df30102
/tests/st/ops/gpu/test_unpack_op.py
9a0d8cfda90f7c500d8e6fae7395c0f17d50f593
[ "Apache-2.0", "MIT", "Libpng", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "IJG", "Zlib", "MPL-1.1", "BSD-3-Clause", "BSD-3-Clause-Open-MPI", "MPL-1.0", "GPL-2.0-only", "MPL-2.0", "BSL-1.0", "LicenseRef-scancode-unknow...
permissive
imyzx2017/mindspore_pcl
d8e5bd1f80458538d07ef0a8fc447b552bd87420
f548c9dae106879d1a83377dd06b10d96427fd2d
refs/heads/master
2023-01-13T22:28:42.064535
2020-11-18T11:15:41
2020-11-18T11:15:41
313,906,414
6
1
Apache-2.0
2020-11-18T11:25:08
2020-11-18T10:57:26
null
UTF-8
Python
false
false
5,063
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "513344092@qq.com" ]
513344092@qq.com
123692f1d83c0d850298be8ebd18dc3df003f4e0
fb4b70ad38d0fc810cb9ee034c8fb963c079f64b
/easy/Self_Dividing_Numbers.py
33c51ce1cd72ee84467d7802a1ee8de8713c2bb0
[]
no_license
ChrisLiu95/Leetcode
0e14f0a7b7aa557bb2576589da8e73dbeeae8483
baa3342ebe2600f365b9348455f6342e19866a44
refs/heads/master
2021-07-11T12:01:00.249208
2018-09-26T21:27:42
2018-09-26T21:27:42
117,451,180
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
""" A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 % 2 == 0, and 128 % 8 == 0. Also, a self-dividing number is not allowed to contain the digit zero. Given a lower and upper number bound, output a list of every pos...
[ "xiangchong95@gmail.com" ]
xiangchong95@gmail.com
c5726f75c757c38f8cbd21289f63e73ea05370c2
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/examples/PyQt_PySide_book/004_Main components/001_Inscription/171_setScaledContents - toClass.py
338077f7a2d487be688c7007a97764ffd712864a
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
522
py
from PySide import QtCore, QtGui import sys class SampleWindow(QtGui.QWidget): def __init__(self): super(SampleWindow, self).__init__() window.setWindowTitle("Класс QLabel") window.resize(300, 150) label = QtGui.QLabel() label.setText("Текст надписи") label.setFrameStyle(QtGui.QFrame.Box | QtGui.QFrame.P...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
c54e99a0862974e1abc8b7eaf5a168c002dff248
a5a4cee972e487512275c34f308251e6cc38c2fa
/dev/potential/EamPotential/dev_EamPotential.py
1587069d5e39deda89368cb54c938837b9a44bfc
[ "MIT" ]
permissive
eragasa/pypospack
4f54983b33dcd2dce5b602bc243ea8ef22fee86b
21cdecaf3b05c87acc532d992be2c04d85bfbc22
refs/heads/master
2021-06-16T09:24:11.633693
2019-12-06T16:54:02
2019-12-06T16:54:02
99,282,824
4
1
null
null
null
null
UTF-8
Python
false
false
804
py
import pypospack.potential as potential symbols = ['Ni'] pot = potential.EamPotential(symbols=symbols) print('pot.potential_type == {}'.format(\ pot.potential_type)) print('pot.symbols == {}'.format(\ pot.symbols)) print('pot.param_names == {}'.format(\ pot.param_names)) print('pot.is_charge =...
[ "eragasa@ufl.edu" ]
eragasa@ufl.edu
7a529d56ccc005bfccfb9d8c19c6f483390fffa9
46bef3a57cb663991387e02f3cc6c0282bd17496
/ie/si23tinyyolov2/tflite/Tensor.py
0cc948eaa14ee73dcd9f9a7202d91d57e2d163ea
[]
no_license
k5iogura/vinosyp
36964f4c51b9d695d46e19d64a49156eaaac0042
1ef35532c6ba392761f73504ed787c074781c400
refs/heads/master
2020-04-08T04:27:57.905968
2019-09-30T07:34:18
2019-09-30T07:34:18
159,017,659
7
1
null
null
null
null
UTF-8
Python
false
false
3,271
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: tflite import flatbuffers class Tensor(object): __slots__ = ['_tab'] @classmethod def GetRootAsTensor(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = Tensor() ...
[ "k5i.ogura.v40@gmail.com" ]
k5i.ogura.v40@gmail.com
2e6ecb54b480a398f319df68538b50b978a06dc3
f34d3948b707e461151ee33296a61fb23a6d3f44
/month01/day11/day11/day10_exercise/exercise01.py
2661ccd6399fb82f85eed30d55de03d907cdb447
[]
no_license
xiao-a-jian/python-study
f9c4e3ee7a2f9ae83bec6afa7c7b5434e8243ed8
c8e8071277bcea8463bf6f2e8cd9e30ae0f1ddf3
refs/heads/master
2022-06-09T17:44:41.804228
2020-05-05T07:48:07
2020-05-05T07:48:07
256,927,969
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
# 定义函数, 删除列表中相同元素(只保留一个) # list01 = [6, 54, 65, 677, 6, 65, 6, 65] # 更节省内存 # def delete_duplicates(list_target): # for r in range(len(list_target) - 1, 0, -1): # for c in range(r): # if list_target[r] == list_target[c]: # del list_target[r] # break # # # 测试 # lis...
[ "1261247299@qq.com" ]
1261247299@qq.com
4cd9fac0659f565ca93a4ac5eb56440c5998707d
b77565a023a88480bb3330b18be929a19775f5dc
/정승호/키로거/solution.py
570bd7078f7eb72449816e49fd2e0b55166a2674
[]
no_license
Jeoungseungho/python-coding-study
5af34bff429e24a93f6af4b0473d793ea2b791ee
431e02d12d0834c71f423471701a2182f66a3776
refs/heads/master
2023-08-11T07:38:09.122123
2021-10-06T06:32:44
2021-10-06T06:32:44
283,200,892
20
12
null
2021-10-06T05:22:50
2020-07-28T12:07:21
Python
UTF-8
Python
false
false
591
py
import sys input = sys.stdin.readline N = int(input()) for _ in range(N): pass_word = input().rstrip() left_stack = [] right_stack = [] for word in pass_word: if word == '<': if left_stack: right_stack.append(left_stack.pop()) elif word == '>': ...
[ "platoon07@khu.ac.kr" ]
platoon07@khu.ac.kr
d29da2fa6b389a1e61c922b0468ca492e288956d
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/securitycenter/v1p1beta1/resources.py
204b6a0c852d1fd7a975618ac6a38fa929b91cb3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
2,453
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. 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 requir...
[ "gcloud@google.com" ]
gcloud@google.com
3db27f60c4eb7ce5a20739d242ecf35db354cf90
c329057d1561b8ffde0cf26677bb932b4c044826
/py32.py
25f958ea6850f7c2c14aa2456d3b6012da3874a1
[]
no_license
kimotot/pe
b3611662110ca8a07b410a8e3d90c412c9decbd3
8d12cc64b0f9ad5156e2b1aed0245726acb9a404
refs/heads/master
2021-01-19T11:53:17.683814
2017-04-03T05:05:09
2017-04-03T05:05:09
82,271,607
0
0
null
null
null
null
UTF-8
Python
false
false
2,341
py
# coding:UTF-8 import copy import time def permutations(origin): ''' 与えられたリスト要素の順列を求める関数 引数はリストなど、イテーラブルなもの 戻値は全ての順列を要素としてリストにしたもの 再帰呼び出し関数''' if len(origin) == 0: return [[]] else: ans = [] for index,header in enumerate(origin): new_orign = cop...
[ "god4bid@hear.to" ]
god4bid@hear.to
89855498cc5ffedc6599b095d035b074719742e2
0bed1250a4805866f871d037c1bce3e5c8757101
/MATH PROB/factorsum.py
49ad0da6391d712e6d693b28e7c0123975692580
[]
no_license
Srinjana/CC_practice
13018f5fd09f8a058e7b634a8626668a0058929a
01793556c1c73e6c4196a0444e8840b5a0e2ab24
refs/heads/main
2023-08-02T05:42:49.016104
2021-09-20T15:39:24
2021-09-20T15:39:24
358,312,714
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
# for a given number from a list of numbers find the factors and add the factors . If the sum of factors is present in the original list, sort the factors in acsending order # and print them. If sum not in the original list, print -1. # Author @Srinjana def findFactorSum(n): factor = [1] for i in range (2 ,n+...
[ "srinjanap.official@gmail.com" ]
srinjanap.official@gmail.com
4c2e0128f87a1e1cd437f60867570b90acb4259e
714a22e87e5ae6a2b670a10437409100015f171b
/meshzoo/__init__.py
2e6201faacd3e0de9e0015493737a24f245fd3a2
[ "MIT" ]
permissive
krober10nd/meshzoo
ce3aa71a8a87a0749df78c6939e7d893a05f91d1
5e8b04d81ee5c23887e3d0244273b3d90b2eba9a
refs/heads/master
2021-02-17T00:04:36.319498
2020-02-24T15:52:48
2020-02-24T15:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
from meshzoo.__about__ import __author__, __author_email__, __version__, __website__ from .cube import cube from .helpers import create_edges, plot2d, show2d from .hexagon import hexagon from .moebius import moebius from .rectangle import rectangle from .simple_arrow import simple_arrow from .simple_shell import simpl...
[ "nico.schloemer@gmail.com" ]
nico.schloemer@gmail.com
a292d226c79e5613f782f0ea465e9a03c06b0e6d
de725b742e69f38318c04cd44ac970e7135857a5
/assets/forms.py
0173d7e2fd8182e88243ee75191332c9c8f1868c
[]
no_license
haochenxiao666/itelftool
e5c0811b48e01d0eeff13d15d33b89960091960a
8558dce6d97e7443c95513aa1389910c3902043f
refs/heads/master
2020-04-14T22:55:46.732111
2018-10-18T09:00:44
2018-10-18T09:00:44
164,183,750
1
0
null
2019-01-05T05:05:32
2019-01-05T05:05:31
null
UTF-8
Python
false
false
4,458
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from django import forms from django.forms.widgets import * from .models import Asset, IDC, HostGroup, Cabinet ''' class AssetForm(forms.ModelForm): class Meta: model = Asset exclude = ("id",) widgets = { 'hostname': TextInput(at...
[ "420521738@qq.com" ]
420521738@qq.com
22851ce7e83e2aef32c5620caf346fae7a63488a
e2f507e0b434120e7f5d4f717540e5df2b1816da
/097-yield-2.py
e7bd0b03ff61e85bbac2470ad044513187273938
[]
no_license
ash/amazing_python3
70984bd32ae325380382b1fe692c4b359ef23395
64c98940f8a8da18a8bf56f65cc8c8e09bd00e0c
refs/heads/master
2021-06-23T14:59:37.005280
2021-01-21T06:56:33
2021-01-21T06:56:33
182,626,874
76
25
null
null
null
null
UTF-8
Python
false
false
330
py
# Using yield def f(): for i in range(100): yield i # not "return" # Why do you need this assignment? g1 = f() # generator object g2 = f() # another generator print(next(g1)) # value from generator 1 print(next(g2)) # from generator 2 print(next(g1)) # again 1 print(next(g2)) # ... print(next(g1)) print(...
[ "andy@shitov.ru" ]
andy@shitov.ru
b4f738393d2222e9668e9e7f689cb0733806ef01
87dc1f3fc40565138c1e7dc67f1ca7cb84b63464
/03_Hard/10_Knapsack_Problem/Knapsack_Problem.py
4151b0f9027ccdcdfa7f6ccba3270994d39e40ac
[]
no_license
CodeInDna/Algo_with_Python
8424f79fd3051dbc5861ba171ac2b33c76eec8b9
a238e9e51effe76c530a4e0da7df871e45ec268a
refs/heads/master
2021-07-25T08:33:42.475255
2021-07-20T16:53:48
2021-07-20T16:53:48
229,921,183
3
0
null
null
null
null
UTF-8
Python
false
false
2,045
py
# ---------------------------------- PROBLEM 10 (HARD)--------------------------------------# # Knapsack Problem # You are given an array of arrays. Each subarray in this array holds two integer values and # represents an item; the first integer is the item's value, and the second integer is the item's # weight. You...
[ "ykarelia323@gmail.com" ]
ykarelia323@gmail.com
48329fba254e4b07d3988292bb905c7739573dfe
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544841/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_217/run_cfg.py
589bc3616bc9bbb96cd7a0726131bdbacc21691c
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544841/HTT_24Jul_newTES_manzoni_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
9ba139bcaa98b5c19be7ed4307c47d44abe13cff
2db1a0038d26ccb6adc572b536cb5cd401fd7498
/tryTen/Lib/site-packages/setuptools/py31compat.py
0f1753a87be81de04522e4b1d674aee34dfb2e8c
[]
no_license
syurk/labpin
e795c557e7d7bcd4ff449cb9a3de32959a8c4968
04070dd5ce6c0a32c9ed03765f4f2e39039db411
refs/heads/master
2022-12-12T02:23:54.975797
2018-11-29T16:03:26
2018-11-29T16:03:26
159,692,630
0
1
null
2022-11-19T12:15:55
2018-11-29T16:04:20
Python
UTF-8
Python
false
false
1,646
py
import sys import unittest __all__ = ['get_config_vars', 'get_path'] try: # Python 2.7 or >=3.2 from sysconfig import get_config_vars, get_path except ImportError: from distutils.sysconfig import get_config_vars, get_python_lib def get_path(name): if name not in ('platlib', 'purelib'): ...
[ "syurk738@students.bju.edu" ]
syurk738@students.bju.edu
2e445e4f56c622f6f5d41a6de407c6c9d92f5b20
83b8b30ebb633eecd29ca0a7a20cc43a293c9333
/tests/basics/subclass_native2_list.py
9ad0b77ef6dd1c7659097492eec0ebb77099b017
[ "MIT", "GPL-1.0-or-later" ]
permissive
adafruit/circuitpython
430ec895149d1eb814b505db39b4977a35ee88a7
506dca71b0cbb7af749bb51f86b01021db5483b3
refs/heads/main
2023-08-21T16:30:46.781068
2023-08-20T00:39:44
2023-08-20T00:39:44
66,166,069
3,806
1,560
MIT
2023-09-14T19:23:51
2016-08-20T20:10:40
C
UTF-8
Python
false
false
587
py
class Base1: def __init__(self, *args): print("Base1.__init__", args) class Clist1(Base1, list): pass a = Clist1() print(len(a)) # Not compliant - list assignment should happen in list.__init__, which is not called # because there's Base1.__init__, but we assign in list.__new__ #a = Clist1([1, 2, 3]) ...
[ "pfalcon@users.sourceforge.net" ]
pfalcon@users.sourceforge.net
34a1e201add585aa04483afc9282d5dd3ebcab53
60d5ea4f007d49768d250ef394003f554003e4d0
/python/Linked List/148.Sort List.py
df0485a4e3990534fe5b2bb38f8196871282c2ac
[]
no_license
EvanJamesMG/Leetcode
dd7771beb119ea1250dbb3b147a09053298cd63b
fa638c7fda3802e9f4e0751a2c4c084edf09a441
refs/heads/master
2021-01-10T17:11:10.896393
2017-12-01T16:04:44
2017-12-01T16:04:44
46,968,756
5
1
null
null
null
null
UTF-8
Python
false
false
2,437
py
# coding=utf-8 ''' Sort a linked list in O(n log n) time using constant space complexity. ''' # Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None ''' 归并排序,最佳时间复杂度O(n log n) 最坏的时间复杂度O(n log n) 由于题目对时间复杂度和空间复杂度要求比较高,所以查看了各种解法,最好的解法就是归并排序,...
[ "Evan123mg@gmail.com" ]
Evan123mg@gmail.com
d8e06bb45fd1f90be90bb45e0c0cc52f227b3187
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-eps/huaweicloudsdkeps/v1/model/link.py
a9a92750cec83aea4939f5cad6e9fa7a51be5167
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
3,044
py
# coding: utf-8 import pprint import re import six class Link: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key i...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
0508b18ea031c12502a6dff30485a63fa71a0660
d17a8870ff8ac77b82d0d37e20c85b23aa29ca74
/lite/tests/unittest_py/pass/common/test_conv_scale_fuse_pass_base.py
a071233f2ff5d5725c9fc9aede18f373c5baff9c
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle-Lite
4ab49144073451d38da6f085a8c56822caecd5b2
e241420f813bd91f5164f0d9ee0bc44166c0a172
refs/heads/develop
2023-09-02T05:28:14.017104
2023-09-01T10:32:39
2023-09-01T10:32:39
104,208,128
2,545
1,041
Apache-2.0
2023-09-12T06:46:10
2017-09-20T11:41:42
C++
UTF-8
Python
false
false
3,376
py
# Copyright (c) 2021 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
fec483ec7ffc645dc6d83b08f1f7592805d9a5fc
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Jx4mjwEoFdfYuF9ky_10.py
a723d6a308abbe962a25372403471fc9bbe9f518
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
""" Write a function that takes an integer and: * If the number is a multiple of 3, return `"Hello"`. * If the number is a multiple of 5, return `"World"`. * If the number is a multiple of both 3 and 5, return `"Hello World"`. ### Examples hello_world(3) ➞ "Hello" hello_world(5) ➞ "World" ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3ecf9b834c4eb9b27f4030875f86d478ca91f7a7
f8dd1dfb0f81de16b9c8f681c85c6995b63ce037
/tensorflow/contrib/estimator/__init__.py
6b9f9575b606f1822d760e8597c55994dd8af04c
[ "Apache-2.0" ]
permissive
DandelionCN/tensorflow
74688926778ae06da1f406967baf6b251b3f3c4e
1712002ad02f044f7569224bf465e0ea00e6a6c4
refs/heads/master
2020-03-06T19:10:37.847848
2018-03-27T17:11:49
2018-03-27T17:11:49
127,022,134
1
0
Apache-2.0
2018-03-27T17:24:51
2018-03-27T17:24:51
null
UTF-8
Python
false
false
2,130
py
# Copyright 2017 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
4d1e52f60ebc4c8d4a60d85a6e0d46289da1a4c4
f176975a314b6f8f4c7b931c6057caf20988d12d
/problems/uri_2448_postman/uri_2448_postman.py
dbf9f4c68510cb044c5e4c8853107f7c203b51a4
[]
no_license
fgmacedo/problems_ads
4b3226307e66a37fd1848dcc25f3fa6c78567d98
d510a9f8788f99c2559efddd54235cb3a134989a
refs/heads/main
2023-05-20T03:29:57.814018
2021-06-15T01:54:56
2021-06-15T01:54:56
352,163,858
5
0
null
null
null
null
UTF-8
Python
false
false
394
py
#!/usr/bin/env python3 import sys rl = sys.stdin.readline rl() # discart n, m info houses = {x: idx for idx, x in enumerate(rl().split())} cum_time = 0 current_house_index = 0 for order in rl().split(): order_house_index = houses[order] cum_time = cum_time + abs(order_house_index - current_house_index) c...
[ "fgmacedo@gmail.com" ]
fgmacedo@gmail.com
3aa4f597847a981fc4c28f61c442c768e551b919
2d3aba0bf1d3a5e018ded78218859b31dd0930dd
/3.문자열/str_to_int.py
253d92331801b779fa6170d23a73a965f2dfaee0
[]
no_license
CS-for-non-CS/Data-Structure
7018203de7d14a0be7da2308963082b93fac8e21
efce4c13578bd3d143aa570e9317c505b6424c40
refs/heads/master
2022-12-17T14:04:05.521164
2020-09-21T02:18:24
2020-09-21T02:18:24
297,205,549
0
1
null
null
null
null
UTF-8
Python
false
false
400
py
str1 = "123" str2 = "12.3" print(int(str1),type(int(str1))) # 123 print(float(str2),type(float(str2))) # 12.3 str3 = "1+2" print(str3) print(repr(str3)) print(eval(str3)) print(eval(repr(str3))) print(eval(eval(repr(str3)))) num1 = 123 num2 = 12.3 print(str(num1),type(str(num1))) print(repr(num1),type(...
[ "onsy2788@gmail.com" ]
onsy2788@gmail.com
4ffe88ba899c6533dbf898c44501f57ee3a17dcc
714b28c006b3c60aa87714f8777a37486b94e995
/accounts/migrations/0006_auto_20210522_1401.py
992a110f8f0095db91399a635e9b3b4465af91f9
[]
no_license
kyrios213/django_tutorial
3f0bdce5c0e5faa4f7e08a238ac6d77bba35c92e
771d209c4b198df9361254deefd1c9a49c4a0746
refs/heads/main
2023-04-25T23:11:06.356823
2021-05-30T05:31:32
2021-05-30T05:31:32
368,026,339
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
# Generated by Django 3.2.3 on 2021-05-22 06:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0005_auto_20210519_1035'), ] operations = [ migrations.AddField( model_name='order', name='note', ...
[ "kyrios213@gmail.com" ]
kyrios213@gmail.com
decc0276a133d3ca4d2bfdc0f34fc1ff7ee92055
a1730de4b50c17ecd388a995a1526c2eab80cb7d
/Plugins/Aspose-Cells-Java-for-Python/setup.py
49e93716140f94069b1d526135d2a7a8348415f5
[ "MIT" ]
permissive
aspose-cells/Aspose.Cells-for-Java
2dcba41fc99b0f4b3c089f2ff1a3bcd32591eea1
42d501da827058d07df7399ae104bb2eb88929c3
refs/heads/master
2023-09-04T21:35:15.198721
2023-08-10T09:26:41
2023-08-10T09:26:41
2,849,714
133
89
MIT
2023-03-07T09:39:29
2011-11-25T13:16:33
Java
UTF-8
Python
false
false
705
py
__author__ = 'fahadadeel' from setuptools import setup, find_packages setup( name = 'aspose-cells-java-for-python', packages = find_packages(), version = '1.0', description = 'Aspose.cells Java for Python is a project that demonstrates / provides the Aspose.Cells for Java API usage examples in Python....
[ "fahadadeel@gmail.com" ]
fahadadeel@gmail.com
d615b760898802dc9155d05c5fee311838b3ece0
485be21ebe0a956b7f4a681968e160a463903ecc
/KnowledgedRank/BoePRFReranker.py
59319910dfd622e0a334dfd716a1ba920c9b8fb2
[]
no_license
xiongchenyan/cxPyLib
e49da79345006d75a4261a8bbd4cc9a7f730fad2
8d87f5a872458d56276a2a2b0533170ede4d5851
refs/heads/master
2021-01-10T20:43:20.147286
2016-01-14T04:02:45
2016-01-14T04:02:45
17,610,431
1
0
null
null
null
null
UTF-8
Python
false
false
4,418
py
''' Created on Dec 7, 2015 7:24:56 PM @author: cx what I do: I rerank doc in the BOE space with simple PRF re-ranking what's my input: doc with hEntity what's my output: evaluation results ''' import site site.addsitedir('/bos/usr0/cx/PyCode/cxPyLib') from cxBase.base import cxBaseC from cxBase.Con...
[ "xiongchenyan@gmail.com" ]
xiongchenyan@gmail.com
e758759b714c65ed9bcc448e5fe5615004c2826b
336d52bb53eb24d09e8433018525fa54aa7f1592
/Agents/Actor_Critic_Agents/DDPG.py
ad6aa0593f8c9d0c9925aaa9282afb929428cf7d
[]
no_license
crashmatt/Deep-Reinforcement-Learning-Algorithms-with-PyTorch
8a1901344df0fc499731515cbd53670c77c9c677
9c487dc51a483d2130cb9bb2a4d771f9748949cb
refs/heads/master
2020-05-16T06:20:14.048294
2019-04-22T16:38:02
2019-04-22T16:38:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,653
py
import copy import torch import torch.nn.functional as functional from nn_builder.pytorch.NN import NN from torch import optim from Base_Agent import Base_Agent from Replay_Buffer import Replay_Buffer from Utilities.OU_Noise import OU_Noise class DDPG(Base_Agent): """A DDPG Agent""" agent_name = "DDPG" de...
[ "p.christodoulou2@gmail.com" ]
p.christodoulou2@gmail.com
71ac3b38241ab179de7aa4edc58a6750b7cb02a3
4ddc6604f0c8160c7637d036b835faf974d48556
/nova/policies/networks.py
a4d065f47d0a291902d07878202cf7f44eb9cdf1
[ "Apache-2.0" ]
permissive
tjjh89017/nova
a8513a806f24ca0d1c60495fd1f192b7d402b05d
49b85bd2e9c77c6e0bd8141b38cd49efa5c06dc2
refs/heads/master
2021-01-21T10:16:18.970238
2017-05-18T10:35:32
2017-05-18T10:35:32
91,682,422
1
0
null
2017-05-18T10:50:38
2017-05-18T10:50:38
null
UTF-8
Python
false
false
1,072
py
# Copyright 2016 Cloudbase Solutions Srl # 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 r...
[ "cbelu@cloudbasesolutions.com" ]
cbelu@cloudbasesolutions.com
0980ec9b29cae8ca8eb4d166d4157dbe4b3c392b
4ce5022078c53b3bd75493b12a38237618b52fc8
/prodsys/migrations/0068_job_number_of_events.py
c18fcdcbc318a34d2627aee7d52bbe11aa900c43
[]
no_license
virthead/COMPASS-ProdSys
90180e32c3a23d9fd05b252a6f8ded234525a780
6dfaa3e9ca40845282d3004ac61f386db5abdbe9
refs/heads/master
2023-02-23T18:16:02.789709
2022-09-28T09:37:59
2022-09-28T09:37:59
144,685,667
0
1
null
2018-10-13T10:07:42
2018-08-14T07:38:34
Python
UTF-8
Python
false
false
452
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-12-14 13:48 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('prodsys', '0067_task_files_source'), ] operations = [ migrations.AddField( ...
[ "root@vm221-123.jinr.ru" ]
root@vm221-123.jinr.ru
afe2e3497fcf2748a39df150b3000ee0cd199b92
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/documentdb/v20210301preview/get_sql_resource_sql_stored_procedure.py
ad0982c8a942b15814d0f916e6958ee808ba44f3
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,150
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
6456afdcfb72444d01ad09e4f851c86cb9b4ddef
d3cabb25e9af022fa3ca7818668a3267c16f31ed
/queroMeiaWebapp/settings.py
1501cd1e7a333c3b286235d56186badea80dcd3e
[]
no_license
fafaschiavo/mobileQueroMeiaWebapp
6e8df6bdb17ad82b0d1c43a8d78f71e4fd4dccb4
83584cf81f7a28b36fa9a699986aaf111d4b3eb5
refs/heads/master
2021-01-09T20:52:37.544906
2016-07-11T16:31:49
2016-07-11T16:31:49
58,693,307
0
0
null
null
null
null
UTF-8
Python
false
false
4,420
py
""" Django settings for queroMeiaWebapp project. Generated by 'django-admin startproject' using Django 1.10.dev20160307181939. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/se...
[ "fayschiavo@gmail.com" ]
fayschiavo@gmail.com
9a497a06ee18928dfc7bc17f59d25523f920e47e
671067c93d251635ed1360936c7ec84a59ece10c
/doublecop.py
419ad0c817fd5955ddadc9233606416bb494dcd7
[ "BSD-2-Clause" ]
permissive
nd1511/ccw_tutorial_theano
48773052ec99da95aa50300399c943834ca29435
f92aa8edbb567c9ac09149a382858f841a4a7749
refs/heads/master
2020-04-03T13:10:35.753232
2017-02-01T21:54:14
2017-02-01T21:54:14
155,276,374
1
0
BSD-2-Clause
2018-10-29T20:25:01
2018-10-29T20:25:01
null
UTF-8
Python
false
false
577
py
from theano import Apply from theano.gof import COp from theano.tensor import as_tensor_variable class DoubleCOp(COp): __props__ = () def __init__(self): COp.__init__(self, ["doublecop.c"], "APPLY_SPECIFIC(doublecop)") def make_node(self, x): x = as_tensor_variable(x)...
[ "abergeron@gmail.com" ]
abergeron@gmail.com
aa342583e7f64224e167db39abc398760268e22e
187ec84de1e03e2fe1e154dcb128b5886b4d0547
/chapter_05/exercises/05_alien_colors_3.py
bba30d284c7891d8e409c681d5c751e6804d47bc
[]
no_license
xerifeazeitona/PCC_Basics
fcbc1b8d5bc06e82794cd9ff0061e6ff1a38a64e
81195f17e7466c416f97acbf7046d8084829f77b
refs/heads/main
2023-03-01T07:50:02.317941
2021-01-27T21:08:28
2021-01-27T21:08:28
330,748,942
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
# 5-5. Alien Colors #3 # Turn your if-else chain from Exercise 5-4 into an if-elif-else chain. # If the alien is green, print a message that the player earned 5 # points. alien_color = 'green' if alien_color == 'green': print('You just earned 5 points!') elif alien_color == 'yellow': print('You just earned 1...
[ "juliano.amaral@gmail.com" ]
juliano.amaral@gmail.com
cf1c95226b738e88e5ece8b394896f8d6b81bf09
d806dd4a6791382813d2136283a602207fb4b43c
/sirius/blueprints/api/remote_service/tula/passive/hospitalization/xform.py
e1eb90b2defe6e898e8d65d353d0acc7a8ea2d35
[]
no_license
MarsStirner/sirius
5bbf2a03dafb7248db481e13aff63ff989fabbc2
8839460726cca080ca8549bacd3a498e519c8f96
refs/heads/master
2021-03-24T12:09:14.673193
2017-06-06T16:28:53
2017-06-06T16:28:53
96,042,947
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
#! coding:utf-8 """ @author: BARS Group @date: 13.10.2016 """ from sirius.lib.xform import XForm from sirius.blueprints.api.remote_service.tula.entities import TulaEntityCode from sirius.blueprints.api.remote_service.tula.passive.hospitalization.schemas import \ HospitalizationSchema from sirius.models.system im...
[ "paschenko@bars-open.ru" ]
paschenko@bars-open.ru
22c4d7f96a6349a7d19d0b2069f885a37474aa47
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/plotly/py2/plotly/validators/sankey/textfont/__init__.py
7a16a4ec501428eb068d80f780f31eca40f57f29
[ "MIT", "Apache-2.0" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
1,471
py
import _plotly_utils.basevalidators class SizeValidator(_plotly_utils.basevalidators.NumberValidator): def __init__(self, plotly_name="size", parent_name="sankey.textfont", **kwargs): super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "robot-piglet@yandex-team.com" ]
robot-piglet@yandex-team.com
a83c3362a529d970c8d74dc9a41e928ad7f6aa12
36764bbdbe3dd6bb12cd8eb78e4b8f889bd65af0
/mysortmat.py
b231fa573b16f020be2aaa0e3b636ee9e073a985
[]
no_license
tristaaa/lcproblems
18e01da857c16f69d33727fd7dcc821c09149842
167a196a9c36f0eaf3d94b07919f4ed138cf4728
refs/heads/master
2020-05-21T14:38:14.920465
2020-02-23T01:49:23
2020-02-23T01:49:23
186,085,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
class Solution(object): def mySortMat(self, mat): """ sort the input matrix, size of n*n, and the output should be in this order [[9,8,6], [7,5,3], [4,2,1]] :type mat: List[List[int]] :rtype: List[List[int]] """ n = len(mat) arr = [] for i in range(n): arr+=mat[i]...
[ "tristaaa56@126.com" ]
tristaaa56@126.com
131da4ef6887fa5704722436717046f8e50c0a34
2f0bde4d37b7ea1aad91ab44b5b4526d0bec30ce
/examples/strike-slip-example/okada_driver.py
b09fae0728d457d440530d09f1f90b57ca4f9062
[ "MIT" ]
permissive
kmaterna/Elastic_stresses_py
5c78a628136f610ec68e7ee38d8bc76515319e4f
549a13c6c7fa3c80aac9d63548fdbf3b1ec7b082
refs/heads/master
2023-08-28T21:54:42.500337
2023-08-18T01:45:18
2023-08-18T01:45:18
141,371,162
42
11
MIT
2022-08-09T14:22:15
2018-07-18T02:37:59
Python
UTF-8
Python
false
false
1,128
py
#!/usr/bin/env python import Elastic_stresses_py.PyCoulomb.fault_slip_object as fso from Elastic_stresses_py.PyCoulomb import run_dc3d, configure_calc, output_manager, io_additionals # Definitions lon0_sys, lat0_sys = -120.5, 36; bbox = (-121.5, -119.5, 35.2, 36.8); lonlatfile = "Inputs/lon_lats.txt"; source_slip_di...
[ "kathrynmaterna@gmail.com" ]
kathrynmaterna@gmail.com
f3e8df6eeb1ec9952a151a19f157255fcab78423
1ee9081e345c125eddaa88931197aed0265aafb8
/glearn/task_scheduler/__init__.py
0dcd17d4997e7fd770ca54277a53d1ef15fe2dca
[]
no_license
WeiShiwei/tornado_classify
1d45bc16473842fea8d853ba5e2c57a773fed978
57faa997c205630c7f84a64db0c2f5ffd8fda12a
refs/heads/master
2021-01-01T04:44:53.981312
2016-05-02T12:06:29
2016-05-02T12:06:29
57,887,029
0
1
null
null
null
null
UTF-8
Python
false
false
519
py
# -*- coding: utf-8 -*- from tasks_classify import gldjc, gldzb IDENTITY_APP_DICT = { 'gldjc':gldjc, 'gldzb':gldzb } class TaskScheduler(object): """docstring for TaskScheduler""" def __init__(self, arg): super(TaskScheduler, self).__init__() self.arg = arg @classmethod def apply_async(self, identity, docs...
[ "weishiwei920@163.com" ]
weishiwei920@163.com
58a0b89d9a44e9b44d96235ba45354df6142d209
b15848c78b6ed07d27cae74b90ae99a27d7acf24
/DataParser/DataParser/settings.py
dae1081c2349a6f3414aead9e32dbee48c5bbd29
[ "MIT" ]
permissive
CodeBoss86/DataParser
ba988462de6e1cc1ae156e3407fbdea06fa5efc8
c9e09f0975145a4ca0a3645699ee91adee49cd2c
refs/heads/main
2023-01-19T01:51:31.178645
2020-11-17T13:38:47
2020-11-17T13:38:47
316,596,514
0
0
null
null
null
null
UTF-8
Python
false
false
3,872
py
""" Django settings for DataParser project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ # from co...
[ "mattode@outlook.com" ]
mattode@outlook.com
ca34e03ef4a90a8d5d4c34a0ada17be32fc3c867
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/BuildLinks1.10/test_input/CJ_16_1/16_1_1_evan176_solve.py
176dc3d014d5ea7ed28dc4e8bea96de713789acf
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
581
py
#!/usr/bin/python # -*- coding: utf-8 -*- import sys import math import time def compute(word): result = [word[0]] for i in range(1, len(word)): alpha = word[i] if alpha >= result[0]: result.insert(0, alpha) else: result.append(alpha) return ''.join(result) ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
62fc3c89e7939ee66309da0c228d3a0ca205b6c6
71eb367210e8ffd3b4964a8c99e3ac6f2920fdbb
/wedding/management/commands/make_backup.py
f92cd208fa723e3a4afbcc78c347424c2bb91e03
[ "MIT" ]
permissive
jsayles/wedding
392771dc894fb311414b2d34ceb4319318d8eefb
242d28d0271d58909b2c5ff5457d909efaecd3c0
refs/heads/master
2020-04-18T01:26:57.433729
2015-09-04T15:18:03
2015-09-04T15:18:03
28,720,827
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
import os import time import urllib import sys import datetime from django.core.management.base import BaseCommand, CommandError from wedding.backup import BackupManager class Command(BaseCommand): help = "Creates a backup containing an SQL dump and the media files." args = "" requires_model_validation = False ...
[ "jsayles@gmail.com" ]
jsayles@gmail.com
f8b71f47242faeeccc05326262d862d05d57a7fe
e7b7cc34f77c71e61aa0fa05bcc62f54fc2fc0e1
/BinarySearch/q374_guess_number_higher_or_lower.py
000686ff073c0f98c294124c4f8a8ca531d32f01
[]
no_license
sevenhe716/LeetCode
41d2ef18f5cb317858c9b69d00bcccb743cbdf48
4a1747b6497305f3821612d9c358a6795b1690da
refs/heads/master
2020-03-16T16:12:27.461172
2019-04-22T13:27:54
2019-04-22T13:27:54
130,221,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,562
py
# Time: O(n) # Space: O(1) # 解题思路: # 二分查找 # The guess API is already defined for you. # @param num, your guess # @return -1 if my number is lower, 1 if my number is higher, otherwise return 0 import bisect pick = 0 def guess(num): if num == pick: return 0 elif num > pick: return -1 els...
[ "429134862@qq.com" ]
429134862@qq.com
b1347c88770f1eb0a81a06dfaf9e693cbf5b465a
b4afd14e3b4e9cff0a99906a69587e348b243aeb
/mocc/beida/pythonds/stackop.py
424989f76facb6d29739792e959118a1d1b1b7d9
[]
no_license
zhankq/pythonlearn
d694df23826cda6ba662e852e531e96a10ab2092
cb714fbb8257193029f958e73e0f9bd6a68d77f1
refs/heads/master
2021-12-16T13:51:23.381206
2021-12-03T01:13:36
2021-12-03T01:13:36
205,632,135
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
class Stack: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] def push(self,item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): return self.items[len(self.items)-1] def size(self): r...
[ "zhankq@163.com" ]
zhankq@163.com
7a81a710368d8388719fd9da8283fa4d6989e5c2
d13ee6238418d047f9fe6ddbd5525fd0487d4233
/hc/front/tests/test_channels.py
1007a821f8abff8784f2b2d318f195c0357cf4d7
[ "BSD-3-Clause" ]
permissive
iphoting/healthchecks
b4ffb7cd2a254c1a8daa490608ff4d5a96c560da
924fc7df60dbf97b82a1f82989507459802f7028
refs/heads/heroku
2022-03-06T08:32:11.626016
2019-10-07T14:37:20
2022-02-19T09:37:57
82,822,882
11
7
BSD-3-Clause
2021-09-28T07:59:39
2017-02-22T15:51:02
Python
UTF-8
Python
false
false
6,130
py
import json from hc.api.models import Channel from hc.test import BaseTestCase class ChannelsTestCase(BaseTestCase): def test_it_formats_complex_slack_value(self): ch = Channel(kind="slack", project=self.project) ch.value = json.dumps( { "ok": True, "te...
[ "cuu508@gmail.com" ]
cuu508@gmail.com
3cd329b8c34f33fda57e67ec19ffd58aa08cc7d6
6044266e775c87afed99397c8bb88366fbbca0e7
/scrapy_projt/python_itertools/zip_longest_fillvalue.py
b9edce215a1bab2bb5e70645bae16021409cd99a
[]
no_license
ranafge/all-documnent-projects
e4434b821354076f486639419598fd54039fb5bd
c9d65ddea291c53b8e101357547ac63a36406ed9
refs/heads/main
2023-05-08T20:01:20.343856
2021-05-30T10:44:28
2021-05-30T10:44:28
372,186,355
0
1
null
null
null
null
UTF-8
Python
false
false
1,270
py
from itertools import zip_longest import re from itertools import chain dates = ['21/11/2044', '31/12/2018', '23/9/3000', '25/12/2007'] text = ['What are dates? ', ', is an example.\n', ', is another format as well.\n', ', also exists, but is a bit ludicrous\n', ', are examples but more commonly used'] print(...
[ "ranafge@gmail.com" ]
ranafge@gmail.com
b6c69394d9cb24e853932d6a9d1f96608694f81a
79b1d3d8ffbda5297fff6fefe2528e303bf2110a
/RSGGenFragment/RSToQQ/RSGravitonToQuarkQuark_W-0p25_M_1500_TuneCUETP8M1_13TeV_pythia8_cfi.py
6e503b562929e62717577f7d52137212a9732aca
[]
no_license
yguler/MCFragments-1
25745a043653d02be3a4c242c1a85af221fc34b3
7c4d10ee59e00f997221109bf006819fd645b92f
refs/heads/master
2021-01-13T14:09:12.811554
2016-12-11T15:57:37
2016-12-11T15:57:37
76,184,433
0
0
null
2016-12-11T15:59:22
2016-12-11T15:59:22
null
UTF-8
Python
false
false
1,323
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(0.00000782),...
[ "emine.gurpinar@cern.ch" ]
emine.gurpinar@cern.ch
567e938c3da300c10dac470fe7bba73fefa308e1
8ca34f6da28f4b2cb2ae7a242e2156581426a950
/apps/customer/migrations/0006_remove_job_job_type_remove_job_status.py
501fd52e93fbb98072802b9b099caa2cb8297ea6
[]
no_license
gray-adeyi/prime
7e2360424560beb24742f93aa3f7b3b5cd484150
83b728db767e6f1b2237e10400fa95861ce1c8f3
refs/heads/main
2022-06-17T19:00:52.432315
2022-05-19T10:19:56
2022-05-19T10:19:56
225,469,493
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# Generated by Django 4.0.3 on 2022-05-04 10:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('customer', '0005_alter_job_copies'), ] operations = [ migrations.RemoveField( model_name='job', name='job_type', ), ...
[ "adeyigbenga005@gmail.com" ]
adeyigbenga005@gmail.com
b581261136eb5820caa1c37ee4e42eee9145a808
32dda10669e459cf37c31f426fa709001d2c75b0
/leetcode_cn/solved/pg_709.py
3d384ea50d36704b8ae5931bf4436c70958659b5
[]
no_license
fastso/learning-python
3300f50d06871245d0bfcbe9d201224580f70852
d21dbd1b9f31017cdb1ed9b9ffd1e53ffe326572
refs/heads/master
2023-02-10T14:43:53.726247
2023-01-26T10:14:59
2023-01-26T10:14:59
193,454,718
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
class Solution: def toLowerCase(self, s: str) -> str: l = list(s) for i in range(len(l)): o = ord(l[i]) if 64 < o < 91: o += 32 l[i] = chr(o) return ''.join(l)
[ "fastso.biko@gmail.com" ]
fastso.biko@gmail.com
6e638314f02ee8aa6919f68c5b79ab506004a312
df9a467c0d47eafde9bf5d2181347ad00bf53c06
/leetcode/most_liked/739_daily_temperatures.py
b1783bb29cf96d7abdb26011f592ae371ea26b9f
[]
no_license
eunjungchoi/algorithm
63d904d92e16ab0917faa585326e9281d61d6000
1c9528e26752b723e1d128b020f6c5291ed5ca19
refs/heads/master
2023-01-06T20:54:06.567512
2020-11-14T11:13:05
2020-11-14T11:13:05
288,323,344
1
0
null
null
null
null
UTF-8
Python
false
false
1,646
py
# Given a list of daily temperatures T, return a list such that, for each day in the input, # tells you how many days you would have to wait until a warmer temperature. # If there is no future day for which this is possible, put 0 instead. # # For example, given the list of temperatures T = [73, 74, 75, 71, 69, 72, 76,...
[ "im.your.energy@gmail.com" ]
im.your.energy@gmail.com
c949fe10046ed1243b9b5b457337815e7cd492b2
124df74bce796598d224c4380c60c8e95756f761
/pythonPackages/matplotlib/doc/conf.py
f5e23c3021a3bf6281ee5318d4e0041ff5fd7269
[]
no_license
Mapoet/AWIPS-Test
19059bbd401573950995c8cc442ddd45588e6c9f
43c5a7cc360b3cbec2ae94cb58594fe247253621
refs/heads/master
2020-04-17T03:35:57.762513
2017-02-06T17:17:58
2017-02-06T17:17:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,924
py
# -*- coding: utf-8 -*- # # Matplotlib documentation build configuration file, created by # sphinx-quickstart on Fri May 2 12:33:25 2008. # # This file is execfile()d with the current directory set to its containing dir. # # The contents of this file are pickled, so don't put values in the namespace # that aren't pick...
[ "joshua.t.love@saic.com" ]
joshua.t.love@saic.com
805056a25de493b432d80c6096bb9e9609fc3573
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/EjjBGn7hkmhgxqJej_11.py
ad87f45d4681248fbbf11c2febfac2a7ccef7ffa
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
""" A word nest is created by taking a starting word, and generating a new string by placing the word _inside_ itself. This process is then repeated. Nesting 3 times with the word "incredible": start = incredible first = incre|incredible|dible second = increin|incredible|credibledible third = in...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
bceec50928f3d2382b8e0575b6918c9538c23f91
6bd223ac5bbfe95d45a5f2f052b8b26cf4a4722d
/hydrocode/scripts/dump_replayer.py
bf86ab19442023e3bed9a08314cbb4866c61ebf3
[ "BSD-3-Clause" ]
permissive
ajaykumarr123/software
ff2ddf9589571e5ed62f6f1e2325e4553686f436
e0b46eed87636afedc9be3a671edf70fc6cc6cb5
refs/heads/master
2022-04-23T11:36:55.535254
2020-04-27T02:16:34
2020-04-27T02:18:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
#!/usr/bin/env python3 #Script for replaying raw FPGA data dumps. Read Hydrophones Code wiki entry. import socket, time, sys import scipy.io import numpy PKT_LEN = 512 #total number of samples in an FPGA packet NO_CH = 4 #number of channels SAMPL_RATE = 200000 ADDR = "127.0.0.1" #local host because we are...
[ "leader@cuauv.org" ]
leader@cuauv.org
d5b520dadfbbdd4d46f80f779e68c7bee555ae7c
0613b082bd90462e190bc51943356ce6ce990815
/baseinfo/forms.py
f92317a93a34016d026958d648ff845db9dae301
[]
no_license
Hamidnet220/salary
1068aac4bc921436c03b627899370a86ca5e99be
4dc1f32dfa1d990e6c9f527b4a8d0e1df939262a
refs/heads/master
2020-05-04T18:09:24.086491
2019-04-22T20:22:32
2019-04-22T20:22:32
179,342,004
0
1
null
2019-04-11T10:43:29
2019-04-03T17:53:36
Python
UTF-8
Python
false
false
6,158
py
from django import forms from .models import * from django.utils.translation import ugettext_lazy as _ class EmployerForm(forms.ModelForm): class Meta: model= Employer fields='__all__' def save_record(self): Employer.objects.create(**self.cleaned_data) def update_record(self,id): ...
[ "kiani.hamidreza@gmail.com" ]
kiani.hamidreza@gmail.com