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
744fba312f2b3ca31eb82c521b058139f9d7e0db
a8be4698c0a43edc3622837fbe2a98e92680f48a
/SSAFY알고리즘정규시간 Problem Solving/9월 Problem Solving/0930/3752가능한시험점수.py
e7305e71e4818c10983b34c211bc0b4567250260
[]
no_license
blueboy1593/algorithm
fa8064241f7738a12b33544413c299e7c1e1a908
9d6fdd82b711ba16ad613edcc041cbecadd85e2d
refs/heads/master
2021-06-23T22:44:06.120932
2021-02-21T10:44:16
2021-02-21T10:44:16
199,543,744
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
import sys sys.stdin = open("3752_input.txt", "r") T = int(input()) # 그거 해보자 list에 index로 점수 기입해보기. def DFS(i, jumsoo): jumsoo += grade[i] grade_set.add(jumsoo) for j in range(i + 1, N): TF[j] = False DFS(j, jumsoo) TF[j] = True for tc in range(1, T + 1): N = int(input()) ...
[ "snb0303@naver.com" ]
snb0303@naver.com
550425985d4b721c0fee84ae9bcc6571903970de
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/KPicBthv6WhHFGapg_21.py
b72401fb304ce28ac7d951cec22bc9d33168f6f1
[]
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
617
py
""" Create a function that returns the **number of syllables** in a simple string. The string is made up of _short repeated words_ like `"Lalalalalalala"` (which would have _7 syllables_ ). ### Examples count_syllables("Hehehehehehe") ➞ 6 count_syllables("bobobobobobobobo") ➞ 8 count_syllable...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
386610dd251f9e3784e15ef74695779b95f74588
9c20b0f0ad729b77e970dedaf4a138c99b4364bc
/Lib/site-packages/phonenumbers/data/region_TN.py
876916c6ca828f0dbe4ce8ea6dd9787c2e55166d
[]
no_license
GlovesMaker/Sklepinternetowy
4459f8651d2280e4840cfb293de28f9413df68af
d05372e96f7238c9459caf4f7a890a5a6f2bb2c3
refs/heads/master
2022-12-22T02:43:33.628016
2018-09-11T18:20:37
2018-09-11T18:20:37
167,855,928
0
1
null
2022-12-08T05:55:04
2019-01-27T20:36:42
Python
UTF-8
Python
false
false
1,103
py
"""Auto-generated file, do not edit by hand. TN metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_TN = PhoneMetadata(id='TN', country_code=216, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='[2-57-9]\\d{7}', possible_length=(8,)), ...
[ "buchar123@gmail.com" ]
buchar123@gmail.com
8e8bfc220f7a7cb3625dcb6c3cd32dbb38472d3e
d82b4a4e710642dd38c944890671f21b2099232f
/Algorithm-python/_review/section4_ReverseSequence.py
b165ed2587bf79af6edb642fd01521716347485f
[]
no_license
somsomdah/Algorithm
31a36d01bc0e1873dee3d95789dcff3dd68a9b09
cd7f6f25fda5aef17495e11c20b54561d83674c5
refs/heads/master
2023-05-24T20:04:32.466801
2023-05-19T10:53:27
2023-05-19T10:53:27
236,322,519
1
0
null
null
null
null
UTF-8
Python
false
false
254
py
# 해결 못함 n=int(input()) seq=list(map(int,input().split())) res=[0]*n for i in range(0,n): count=0 for j in range(0,n): if res[j]==0: count+=1 if count==seq[i]: res[j]=i+1 print(res)
[ "somdah98@gmail.com" ]
somdah98@gmail.com
0c30d9ccebce25bb64383a0092ff2a31ff517dfa
b9ed8f5edf787f1a7df567a1b01086dc045427ba
/official/projects/mae/configs/mae.py
00691534b0760e4f37705c52d877976ffcc55079
[ "Apache-2.0" ]
permissive
stjordanis/models
787183f973f8cd4152f328de2368dbef17376488
84e1f30cdb5015848cb0d9e38e5b3f0551953b7c
refs/heads/master
2023-03-18T08:46:29.986735
2023-03-07T23:26:36
2023-03-07T23:27:43
143,071,287
0
0
Apache-2.0
2018-07-31T21:18:06
2018-07-31T21:18:05
null
UTF-8
Python
false
false
3,612
py
# Copyright 2022 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
0328881cc74e66f9635e839f9d1e6dcc0f05d091
5748b92c451efe67fabc9e588dcd5dcedbe29c36
/buildout/Naaya/zope210/bootstrap.py
1fc174920923155818686f3b128bdbba7d09e16c
[]
no_license
Hamzahashmi4444/Salman
146d30303ff738f9c78525466b039e7a6a7bd1bb
611ac05be7771a46b26ff243359cfcafce738cb1
refs/heads/master
2023-02-16T14:05:35.070709
2021-01-18T06:56:23
2021-01-18T06:56:23
330,587,900
1
0
null
null
null
null
UTF-8
Python
false
false
4,248
py
############################################################################## # # Copyright (c) 2006 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # T...
[ "hamza@gmail.com" ]
hamza@gmail.com
6ff49b287f974270f1f0ae428a47faaa8bfd7917
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03018/s719990159.py
1ca3886d16372d3fff541701f826d87af32d984f
[]
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
194
py
s=input().replace("BC","X") ans=0 acc=0 for i in range(len(s)): if s[i]=="B" or s[i]=="C": acc=0 elif s[i]=="A": acc+=1 elif s[i]=="X": ans+=acc print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a9c5137c80c6300de125d4f72e847585701420f7
d0e80cae1af4ced7b0fe7e7dc178fcf8ff3b3c86
/pocean/dsg/timeseriesProfile/r.py
29111700d91ad7b66887fe596d262e36b6f755d9
[ "MIT" ]
permissive
TomasTorsvik-tools/pocean-core-TTfork
5d8d1276e7476662259162691b3e2ac56c4a0e1e
de28a80cd234573e42e25de7e13fcc97e1b819ea
refs/heads/master
2022-12-21T05:27:15.691034
2020-09-22T14:58:02
2020-09-22T14:58:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,629
py
#!python # coding=utf-8 from copy import copy from collections import OrderedDict import six import numpy as np import pandas as pd from pocean.utils import ( create_ncvar_from_series, dict_update, downcast_dataframe, generic_masked, get_default_axes, get_dtype, get_mapped_axes_variables, ...
[ "kyle@axiomdatascience.com" ]
kyle@axiomdatascience.com
e55bb7d0e2394ed842d96643697053021e38e637
4142b8c513d87361da196631f7edd82f11465abb
/python/round550/1144A.py
58cb00fccbaacef165270928c128d3c682aaeb87
[]
no_license
npkhanhh/codeforces
b52b66780426682ea1a3d72c66aedbe6dc71d7fe
107acd623b0e99ef0a635dfce3e87041347e36df
refs/heads/master
2022-02-08T17:01:01.731524
2022-02-07T10:29:52
2022-02-07T10:29:52
228,027,631
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
from sys import stdin for _ in range(int(stdin.readline())): s = sorted(list(stdin.readline().strip())) direction = 0 res = 'Yes' for i in range(1, len(s)): cur = ord(s[i]) - ord(s[i-1]) if cur != 1: res = 'No' break print(res)
[ "npkhanh93@gmail.com" ]
npkhanh93@gmail.com
32a501f2fc6eb9540010a9ef115e67b914460788
f7630fd6c829cb306e72472296e3a513844d99af
/lib/python3.8/site-packages/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_system_replacemsggroup_utm.py
5c9a7947333fb6d15ac03c289003d0af40a4c779
[]
no_license
baltah666/automation
6eccce20c83dbe0d5aa9a82a27937886e3131d32
140eb81fe9bacb9a3ed1f1eafe86edeb8a8d0d52
refs/heads/master
2023-03-07T10:53:21.187020
2023-02-10T08:39:38
2023-02-10T08:39:38
272,007,277
0
0
null
null
null
null
UTF-8
Python
false
false
12,263
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function # Copyright 2019-2021 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the ...
[ "baltah666@gmail.com" ]
baltah666@gmail.com
0edac64487d82dd2cf104d28b0e826a21bc6b79f
347569ec4be307e9ae78286da0280e95f2689d27
/updates/api/views.py
5459b3e9930bbcbebfcb0667eb7554762f17a222
[]
no_license
rahulsayon/Django-api
f45763330e91ffb9ccb12b686b9c0cb2af7d6fbb
f7d042086ad34f59a6ae92d920f2426b91ddda7b
refs/heads/master
2022-12-11T01:33:48.193457
2020-09-19T19:26:14
2020-09-19T19:26:14
296,937,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,645
py
#from django.shortcuts import render # Create your views here. from updates.models import Update as UpdateModel from django.views.generic import View from django.http import HttpResponse from updates.mixin import CSRFExemptMixin from cfeapi.mixins import HttpResponseMixin import json class UpdateModelDetailAPIView(H...
[ "rahulsayon95@gmail.com" ]
rahulsayon95@gmail.com
5748278cb172838464abd74abc7813dda1031e03
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-Cocoa/PyObjCTest/test_nsfilewrapper.py
8f242fb17d835c1952adda1f7f75d57c09d1e3a9
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
2,001
py
import AppKit import Foundation from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSFileWrapper(TestCase): def test_enum_types(self): self.assertIsEnumType(Foundation.NSFileWrapperReadingOptions) self.assertIsEnumType(Foundation.NSFileWrapperWritingOptions) def testMethods(...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
f1d8ef12acecd27c70767e80673ba6b6dba7adba
52f68b99981d16a6297ecacd4e8b92790daf0ef9
/23.py
05b94be1851770ce14ec01cce3b09e51adce1d35
[]
no_license
ComputahSaysNo/AOC_2019
a960214257016d2f376b20381a84bc3ba60f9f63
35867882647e1923a27216dae85388f13e402a68
refs/heads/master
2020-11-24T01:55:00.153911
2020-07-18T08:58:09
2020-07-18T08:58:09
227,914,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
from processInputs import get_formatted_input from intcode import IntcodeComputer def part_1_and_2(data): outputs = [] for part in (1, 2): packetQueue = [] def inf(): return -1 network = [IntcodeComputer(data, inf) for i in range(50)] for i in range(50): ...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
bc784b221bfe2c3829ae2b9ef8a9c755c1dee450
f07b0142e37afe0bf8ed4d56399a0a49f5b1801b
/lino_xl/lib/beid/views.py
2eeb93702cb6494e66469ccf7a09193753635492
[ "BSD-2-Clause" ]
permissive
khchine5/xl
af70fb21e4caeb05ff62e9618113c278d71a75ed
b1634937a9ce87af1e948eb712b934b11f221d9d
refs/heads/master
2021-01-20T22:51:01.193260
2018-08-22T07:47:43
2018-08-22T07:47:43
52,145,840
1
0
BSD-2-Clause
2018-08-19T12:29:06
2016-02-20T09:21:19
Python
UTF-8
Python
false
false
2,578
py
# -*- coding: UTF-8 -*- # Copyright 2018 Rumma 6 Ko Ltd # License: BSD (see file COPYING for details) """Views for `lino.modlib.bootstrap3`. """ from __future__ import division from os.path import join import time import json # from django import http # from django.conf import settings from django.views.generic impo...
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
2e2d8dd31cf7a6ea046fe522c3c9294575c558db
0369fb3fa86b09ea8472741a4d71c658d9d7eb0a
/tensorflow_model_analysis/metrics/tf_metric_wrapper_test.py
7bf0412531ee1852be74cc9d0be9479e1e0beb97
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
dhruvesh09/model-analysis
ec85883490529b54bb9d1850baee669db06b56cf
3fddfbecf1e31b7f5edc84ecd4d935dbf66d8022
refs/heads/master
2021-12-04T05:36:02.118840
2021-09-20T16:42:28
2021-09-20T16:43:52
287,142,586
0
0
Apache-2.0
2020-08-13T00:24:11
2020-08-13T00:24:11
null
UTF-8
Python
false
false
37,537
py
# Lint as: python3 # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
a330663f1e5ce3fc16f9eef56bfaed1bdf134cee
2ed7f1e1f59832e91fe0402eca82ecf6fea2be40
/0x05-python-exceptions/2-safe_print_list_integers.py
70935bd34066cc1d54b184070aff6075e7e38cb5
[]
no_license
Leidysalda/holbertonschool-higher_level_programming
abf3159db916ec293fc219b591e2c44f74afe3f3
46c04cdc7b76afbd79c650ff258f85aef7d2d5fe
refs/heads/master
2020-09-29T02:40:47.437740
2020-09-23T05:37:10
2020-09-23T05:37:10
259,387,894
0
1
null
null
null
null
UTF-8
Python
false
false
284
py
#!/usr/bin/python3 def safe_print_list_integers(my_list=[], x=0): acum = 0 for i in range(0, x): try: print('{:d}'.format(my_list[i]), end='') acum += 1 except (ValueError, TypeError): pass print('') return (acum)
[ "leidysalda1@gmail.com" ]
leidysalda1@gmail.com
da7c8635ae11fd4b2b872ed62822f2e8814197d9
6cffc8421453dd8b21f1e10bbeff58d4ba01dfc7
/strut.py
301d55b2989640baaac933deb2146ce84a6ad97f
[ "Apache-2.0" ]
permissive
zignig/cqparts_bucket
196150e3b32a2c12d34b3027af27539ca704995a
9707b0948a9dd1ed514e03c291a3b96fddc4a22d
refs/heads/master
2021-08-08T17:59:18.576133
2020-03-29T02:19:06
2020-03-29T02:19:06
134,233,074
12
2
null
2018-12-09T05:01:46
2018-05-21T07:18:51
Python
UTF-8
Python
false
false
113
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 13 08:33:24 2018 @author: simonk """ # a threaded strut for the
[ "obeygiantrobot@gmail.com" ]
obeygiantrobot@gmail.com
5efdcea0b197ce67a1ce02ffb34ddfc54e626264
d88ede90d3434d56b00bdc530711208e1673b245
/从字符串中提取省-市-区/main.py
5c40573f246b912751d8027fc17bad7edbbbf992
[]
no_license
SmallPotY/SmallUtil
0ec84fab01ce7b46cf44f839ed0f7b2d63bad0cb
0761283fc1f41ac909a1705aa3f31d925691189f
refs/heads/master
2020-06-13T22:49:12.060011
2019-08-12T06:08:33
2019-08-12T06:08:33
194,813,481
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# -*- coding:utf-8 -*- import cpca import os path = os.path.dirname(__file__) file = path + "/地址字符串.txt" location_str = [] with open(file, 'r', encoding='utf-8') as f: while True: line = f.readline().splitlines() if not line: break location_str.append(line[0]) # print(locatio...
[ "1041132457@qq.com" ]
1041132457@qq.com
aa51bdfd1ab45a3eedf68789a160f94e29bc0da1
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/shipbuild.py
864b47f125621ea058f9681fa8ad565ed9efb8be
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
275
py
ii = [('CoolWHM2.py', 1), ('RogePAV.py', 1), ('AubePRP2.py', 3), ('WilkJMC3.py', 1), ('ClarGE2.py', 1), ('CoolWHM.py', 2), ('ClarGE.py', 1), ('LeakWTI.py', 1), ('BachARE.py', 2), ('FitzRNS.py', 2), ('MackCNH2.py', 1), ('WilbRLW3.py', 1), ('JacoWHI.py', 1), ('ClarGE3.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
b12910bde72865270b33d213ed7d7729845c413b
c3b739b07214507bf1023b926c19d30784623e98
/segme/metric/sad.py
6a214ab8ef8f566f2f85cda2e1f6aa8e227f5ec3
[ "MIT" ]
permissive
templeblock/segme
20a96787500c46483cb7af0db917207fcedafb0b
8192ed066558c1ea1e7283805b40da4baa5b3827
refs/heads/master
2023-08-30T12:31:39.327283
2021-11-11T17:08:40
2021-11-11T17:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,015
py
import tensorflow as tf from keras.metrics import SumOverBatchSize, metrics_utils from keras.utils import losses_utils from keras.utils.generic_utils import register_keras_serializable @register_keras_serializable(package='SegMe') class SAD(SumOverBatchSize): def __init__(self, divider=255., name='sad', dtype=Non...
[ "shkarupa.alex@gmail.com" ]
shkarupa.alex@gmail.com
7ef99ad9f507c2e36be022a636cfdda823f8a2ae
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/compute/v20171201/availability_set.py
aecfc2e33bb449a16a533577137ae609e1aa7964
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
9,030
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
1d3ab882c43c70cb14004d2256ccf46c2ffbd651
050ca74a2b304d49709050585424114f0a6bc1a7
/tools/generate_taint_models/get_REST_api_sources.py
01752c36104efc14cf8da804112946938b1fcb26
[ "MIT" ]
permissive
tholiao/pyre-check
fcc1019c63ad27dcec920ecee1464c0507a68672
f5705fb5dae6a78623a058e5972461e89e283634
refs/heads/master
2020-06-23T15:25:36.468656
2019-07-24T15:33:38
2019-07-24T15:33:38
198,662,804
0
0
MIT
2019-07-24T15:30:31
2019-07-24T15:30:30
null
UTF-8
Python
false
false
1,357
py
# Copyright (c) 2016-present, Facebook, Inc. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # pyre-strict import inspect import types from typing import Callable, Iterable from .inspect_parser import extract_annotation, extract_name, ext...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
d8a2c27e6abe1ff0606d58ea519950a06e4de596
70f5264401822933a25a94101f648d385362b87b
/demo1.py
6ba70b66f563d654ef5538db55f502ec3cb763c0
[]
no_license
aspiringguru/COVID_data_analysis
aa859ecc5bc76b4c68a526efd52ae2fc0a8f67db
86004246a7199807d3b7751f42d934ffe3e6bf41
refs/heads/master
2021-05-22T22:06:33.358741
2020-04-05T07:25:38
2020-04-05T07:25:38
253,117,930
0
0
null
null
null
null
UTF-8
Python
false
false
2,860
py
import pandas as pd import os mypath = "../data.bls.gov/unemployment_rate/" file_list = [] for file in os.listdir(mypath): if file.endswith(".xlsx"): print(os.path.join(mypath, file)) file_list.append(os.path.join(mypath, file)) file_list col_names = [] combined_results = pd.Data...
[ "bmatthewtaylor@gmail.com" ]
bmatthewtaylor@gmail.com
03eb72d66aa8bc393d0357dc165bae29b0a9d6eb
609d5408f302c9188b723998762c2c1f7b883af9
/.closet/jython.configurator.efr32/1.0.0.201606231656-435/host_py_rm_studio_internal/host_py_rm_studio_internal_efr32xg1xfull/revA3/MODEM_register.py
3ccf95ee71730128fd2ba0cbc59db14a96c32a36
[]
no_license
acvilla/Sundial-Beta
6ea4fd44cbf7c2df8100128aff5c39b6faf24a82
9f84e3b5a1397998dfea5287949fa5b1f4c209a6
refs/heads/master
2021-01-15T15:36:19.394640
2016-08-31T20:15:16
2016-08-31T20:15:16
63,294,451
1
0
null
null
null
null
UTF-8
Python
false
false
169,977
py
from static import Base_RM_Register from MODEM_field import * class RM_Register_MODEM_STATUS(Base_RM_Register): def __init__(self, rmio, label): self.__dict__['zz_frozen'] = False super(RM_Register_MODEM_STATUS, self).__init__(rmio, label, 0x40086000, 0x000, 'STATUS', 'MOD...
[ "acvilla@bu.edu" ]
acvilla@bu.edu
9ccc834aebd99d7f4a512631c7877a943ff2424a
11a24575d88d01238edf40ad75dcc45cb148a578
/RNASeq.py
7168f26a710c0cb2251c218d715fc44f9fb5d195
[ "Apache-2.0" ]
permissive
warrenmcg/altanalyze
2b20b7b830ff5a2f938a6f596a2349bcaa51d0be
b132f0bca3baaeab4afbe5475f6e47a496b79d46
refs/heads/master
2020-04-06T04:12:51.598146
2017-02-27T08:37:29
2017-02-27T08:37:29
83,016,611
0
0
null
2017-02-24T07:58:47
2017-02-24T07:58:47
null
UTF-8
Python
false
false
281,168
py
###RNASeq #Copyright 2005-2008 J. David Gladstone Institutes, San Francisco California #Author Nathan Salomonis - nsalomonis@gmail.com #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software wi...
[ "nsalomonis@gmail.com" ]
nsalomonis@gmail.com
c7a6d37da7b8e7990c140909ac230c2be4083302
31ee112d47d3a2b2383498646eff5eb8c7368465
/collective/scss/stylesheet.py
b1f5bf14ca3b9447bed8f60b56a3b2af06a037bd
[]
no_license
collective/collective.scss
acf7f8313d4584e0a0e2c08756f5bf8ed639149c
b4d86613d3be1d433a118033395416e84df4ad54
refs/heads/master
2023-07-15T10:01:19.302332
2011-11-25T23:34:21
2011-11-25T23:34:21
2,681,508
2
0
null
null
null
null
UTF-8
Python
false
false
459
py
from Products.Five.browser import BrowserView from scss import parser class SCSSView(BrowserView): """SCSS base stylesheet view""" def __call__(self): # defer to index method, because that's what gets overridden by the template ZCML attribute scss = self.index().encode('utf-8') p = pa...
[ "toutpt@gmail.com" ]
toutpt@gmail.com
6b5d92329e27f257d4c76bf12497abf7ddf3c060
2628a2f1723e19f3c88e40684f7ce7518470f358
/product.py
fe651d0bd24e6c65b7e86b197c30a95dddbaf033
[]
no_license
Somi-Singh/python_loop_Questions
0f3dc5d821a3eb90a7bc47733a947921b2d89f90
67b224dbdc76f00de6d90216b99d26c7e7eed7d3
refs/heads/main
2023-06-08T07:03:46.624140
2021-07-01T10:48:49
2021-07-01T10:48:49
381,999,268
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
num=int(input("enter any num")) i=1 product=1 while i<=num: product=product*i i+=1 print(product)
[ "noreply@github.com" ]
Somi-Singh.noreply@github.com
4ae44a52ae0a90f5ce6d3046a79f21566eb04efa
22dcd52b6a07e82e8db9bf8b7ad38711d12f69a8
/venv/Lib/site-packages/sklearn/utils/seq_dataset.py
738c8a6be16c864aebeade2eb9ded721332807e8
[]
no_license
MrGreenPepper/music_cluster
9060d44db68ae5e085a4f2c78d36868645432d43
af5383a7b9c68d04c16c1086cac6d2d54c3e580c
refs/heads/main
2023-08-15T09:14:50.630105
2021-10-01T09:45:47
2021-10-01T09:45:47
412,407,002
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
# THIS FILE WAS AUTOMATICALLY GENERATED BY deprecated_modules.py import sys from . import _seq_dataset from ..externals._pep562 import Pep562 from ..utils.deprecation import _raise_dep_warning_if_not_pytest deprecated_path = 'sklearn.utils.seq_dataset' correct_import_path = 'sklearn.utils' _raise_dep_warni...
[ "sebastian_truemper@posteo.de" ]
sebastian_truemper@posteo.de
564fd5a85ad260577bd5d9828960654f8cfe79e5
0e448933dd67f9233e8dbd198ea6d27e6afd67d9
/account/forms.py
0a610959a986d3a1036d3f5c2db086249e5f414e
[]
no_license
achiengcindy/bookmarks
1ef1d301508eb45775f724b6da2b343df8543fbb
e4c47b02f13bd55c2773775bc4843f63efa5264f
refs/heads/master
2021-08-27T20:28:32.644574
2017-11-28T07:32:04
2017-11-28T07:32:04
111,144,899
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
from django.contrib.auth.models import User from django import forms from .models import Profile class LoginForm(forms.Form): username = forms.CharField() password = forms.CharField(widget=forms.PasswordInput) class UserRegistrationForm(forms.ModelForm): password = forms.CharField(label='Password', widget=forms...
[ "achiengcindy36@gmail.com" ]
achiengcindy36@gmail.com
80d95487a6b28adfb22e35b787fdbcbc59a88fdc
c7edeca1b88a769247476368a25326d61b1d2b66
/backend/captchapays_28298/settings.py
df19b6a88d56cb7013391b4fc6b76d8507bbeecb
[]
no_license
crowdbotics-apps/captchapays-28298
3bcb7847d7dd01de25a3364addf9e39d85df2600
6ac32f590a4a11d00ec2a0da5d19cbbd60ac704c
refs/heads/master
2023-06-04T21:24:02.480428
2021-06-29T13:33:39
2021-06-29T13:33:39
381,376,230
0
0
null
null
null
null
UTF-8
Python
false
false
7,117
py
""" Django settings for captchapays_28298 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
bf7109f50229483de9c56643983853642b4a9be2
aa0270b351402e421631ebc8b51e528448302fab
/sdk/compute/azure-mgmt-compute/generated_samples/availability_set_list_minimum_set_gen.py
48e735b6f464e2d63ad6b9743a6a88a861b86956
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
1,595
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
fd236e862a9bfd7c3bfe8192e30f9f77cfa9536d
cbb450f658bec796e26061bdeafcd1cc44ee1159
/fzhtzj/fjhtzj/apps/news/migrations/0001_initial.py
e8f29fe37d553fa16e883eac1c3fe7a915ccbd1c
[]
no_license
ylz1990/htzj
4ddd4701ead6a49d254ff6df94d9db6a69066a79
6bf1192032b985a484dc9b2221f17410eb4475dc
refs/heads/master
2022-01-06T16:11:46.918336
2019-07-10T06:33:34
2019-07-10T06:33:34
192,693,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
# Generated by Django 2.2 on 2019-06-27 08:32 from django.db import migrations, models import tinymce.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='News', fields=[ ('id', ...
[ "pyvip@Vip.tz.cn" ]
pyvip@Vip.tz.cn
cdea9475506ef06acc12eeb3f1d3d8b27d47ca55
f26937e8cd0b07589ba1cf6275596d97488cda7e
/scrapySpider/mongoTest/build/lib/mongoTest/items.py
29119a5da459eab04fe94c97ff82d545bd0fe6ff
[]
no_license
HezhouW/hive
4aa46a045d22de121e2903075e74c3c9fd75ec1f
3a7de0c18cbe0ec81e0b40c3217dd5b1a15cf464
refs/heads/master
2022-02-27T04:52:42.704501
2019-05-24T02:40:49
2019-05-24T02:40:49
123,524,369
1
0
null
2018-03-02T03:18:07
2018-03-02T03:18:07
null
UTF-8
Python
false
false
349
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class MongotestItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() title = scrapy.Field() movieName ...
[ "954316227@qq.com" ]
954316227@qq.com
bec4142b26da34cb0e079f5600d4f9ab3ce563bf
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_070/ch32_2020_03_26_21_55_29_000008.py
802d7b3dde9f7a743884523a2716fe29a7ee7fd9
[]
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
341
py
def lista_primos(n): a=2 i=3 x=0 lista=[0]*n while x<n: lista[x]=a a+=1 if a%2==0: while a%2==0 or (a%i==0 and a>i): i=3 a+=1 while a%i!=0 and a>i: i+=2 x+=1 else: ...
[ "you@example.com" ]
you@example.com
bc264ae9d065b64acd9d84fbc3f04a67c2052ea3
048c4c7a0a7956e976a0cd0512ca9536c8aeb82d
/tefla/core/image_quality.py
455ca6156c6fccba2695fb40016fc2844ff044e9
[ "MIT" ]
permissive
mkulariya1/tefla
40d41242f08b4431a08f7dc6680088a234da5191
8de25c1b67dcf025535f5e8c40539de59acd7fb8
refs/heads/master
2020-04-24T15:46:51.866942
2019-02-04T18:33:49
2019-02-04T18:33:49
172,082,029
0
0
NOASSERTION
2019-02-22T14:41:53
2019-02-22T14:41:53
null
UTF-8
Python
false
false
5,967
py
"""Python implementation of MS-SSIM.""" import numpy as np from scipy import signal from scipy.ndimage.filters import convolve def FSpecialGauss(size, sigma): """Function to mimic the 'fspecial' gaussian MATLAB function.""" radius = size // 2 offset = 0.0 start, stop = -radius, radius + 1 if size % 2 == 0: ...
[ "mrinal.haloi11@gmail.com" ]
mrinal.haloi11@gmail.com
4f32bf298e54f2f7987c626a660c4c19e9fadff2
9645bdfbb15742e0d94e3327f94471663f32061a
/Python/1034 - Coloring A Border/1034_coloring-a-border.py
2b493c2baf0f2c8e7cf4f6570d80120a55d84abc
[]
no_license
aptend/leetcode-rua
f81c080b2260adb2da677612e5c437eda256781d
80e44f4e9d3a5b592fdebe0bf16d1df54e99991e
refs/heads/master
2023-06-22T00:40:05.533424
2021-03-17T13:51:28
2021-03-17T13:51:28
186,434,133
2
0
null
2023-06-21T22:12:51
2019-05-13T14:17:27
HTML
UTF-8
Python
false
false
1,109
py
from leezy import solution, Solution class Q1034(Solution): @solution def colorBorder(self, grid, r0, c0, color): # 152ms 87.36% M, N = len(grid), len(grid[0]) old_c = grid[r0][c0] dirs = [(1, 0), (-1, 0), (0, 1), (0, -1)] def dfs(i, j, border): is_border_cel...
[ "crescentwhale@hotmail.com" ]
crescentwhale@hotmail.com
73a825ef1c4e66bae05685af1cb2546236b23287
651802447b606e46fe1aee0490458bf4261661a0
/snafu/__main__.py
9ef2a936acf4d4f5457ea42a60652dafd000886a
[ "ISC" ]
permissive
MysteriousSonOfGod/snafu
e90a9101dd41c0523c4da529c28fffbe1814b13f
ddcbf8dc8f26fbab6f352058d4b3e62fd01ea331
refs/heads/master
2022-03-01T15:19:37.822762
2019-10-28T06:31:03
2019-10-28T06:31:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,625
py
import click class SnafuGroup(click.Group): """Force command name to 'snafu'. """ def make_context(self, info_name, *args, **kwargs): return super().make_context('snafu', *args, **kwargs) @click.group(cls=SnafuGroup, invoke_without_command=True) @click.option('--version', is_flag=True, help='Pri...
[ "uranusjr@gmail.com" ]
uranusjr@gmail.com
c793e91c6245dd84a9885fc97963c0193af6dcff
1ae95a907eda38bc49dba5ce24309a0d134a2fd8
/vladetina1/asgi.py
ede8d3a4e475252fb3a279974f137e0c6ed195b8
[]
no_license
ivanurban/vladetina_1-webapp
e43472edbf87485d1b606c9827988f7353adcf02
c37eea232b2fde654cb2de006a2c3d2fea838047
refs/heads/master
2022-12-08T04:56:11.729653
2020-08-28T22:36:35
2020-08-28T22:36:35
289,579,399
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for vladetina1 project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "ivanurban_bg@yahoo.com" ]
ivanurban_bg@yahoo.com
e3860c147e56b05bdb47ca332ac3184f12e860cd
3326e1455f857704d144d069ffd0291ef3da830e
/torch2trt_dynamic/plugins/create_gridsample_plugin.py
d42250f0bd94f558c33dc7cb0ab0ea86bf1ecba4
[ "MIT" ]
permissive
AlanLu0808/torch2trt_dynamic
efc5b3d6cbaffffa43ad28f107ab3588bf135d5e
df864f906a8ae0b7b98680c1612903bdea58c744
refs/heads/master
2023-04-30T12:52:20.907104
2021-05-09T03:28:19
2021-05-09T03:28:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
import numpy as np import tensorrt as trt def create_gridsample_plugin(layer_name, mode, padding_mode, align_corners): creator = trt.get_plugin_registry().get_plugin_creator( 'GridSamplePluginDynamic', '1', '') pfc = trt.PluginFieldCollection() pf_mode = trt.PluginField("mode", np.ar...
[ "streetyao@live.com" ]
streetyao@live.com
6164689de25188831b5f04895aff856313ea43e2
9495b91cbed933a55be172c2397c4083b5354faa
/app/user/models.py
0049a926fd00e9db2e3cfc84072e7112ed029ab6
[]
no_license
huyquyet/MMS_project
2f20fff079d201716bdd3f38f204dc3d06f1bada
01596fe39b41b4c1de29b15233fdf22639a21770
refs/heads/master
2021-01-10T10:09:44.045152
2015-11-16T10:37:41
2015-11-16T10:37:41
45,814,493
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
from django.contrib.auth.models import User from django.db import models # Create your models here. from MMS_project import settings from app.position.models import Position from app.team.models import Team class Profile(models.Model): user = models.OneToOneField(User, related_name='profile') avata = models...
[ "nguyenhuyquyet90@gmail.com" ]
nguyenhuyquyet90@gmail.com
378560693767fc3e496063fd398b2f9089fa2f87
677002b757c0a1a00b450d9710a8ec6aeb9b9e9a
/tiago_public_ws/build/pal_gazebo_plugins/catkin_generated/pkg.installspace.context.pc.py
aff47d5416fc2d4516ff0ba1d7c77a8e4c7b486c
[]
no_license
mrrocketraccoon/tiago_development
ce686c86459dbfe8623aa54cf4279021342887fb
a0539bdcf21b67ab902a4649b516dcb929c54042
refs/heads/main
2023-06-16T19:39:33.391293
2021-07-08T21:20:03
2021-07-08T21:20:03
384,249,894
0
0
null
null
null
null
UTF-8
Python
false
false
5,163
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include;/usr/include;/usr/include/gazebo-9;/usr/include/bullet;/usr/include/simbody;/usr/include/sdformat-6.0;/usr/include/ignition/math4;/usr/include/OGRE;/usr/include/OGRE/Terrain;/usr/incl...
[ "ricardoxcm@hotmail.com" ]
ricardoxcm@hotmail.com
5c4f76c6e2b0ef09d415ea9640c17610cfa0689b
01fa2aca31eb73a559d192fd29e44350f26a13a9
/HAX/18.CocoJoe/script.module.civitasscrapers/lib/civitasscrapers/sources_civitasscrapers/en/reddit.py
4cd237137522d81a2fb22aa55a6be1f0a9cdb1f0
[]
no_license
RandomIntermition/k4y108837s
b4beedeff375645bd4fa9ad348631a9a9f3640b6
e9115aad49795dfe30a96c278cedaf089abcc11d
refs/heads/master
2022-05-01T18:45:57.298903
2022-03-30T03:41:08
2022-03-30T03:41:08
109,356,425
1
0
null
2019-11-08T02:20:47
2017-11-03T05:36:48
Python
UTF-8
Python
false
false
2,249
py
# -*- coding: utf-8 -*- ''' Eggman Add-on This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This progra...
[ "github+github@github.github" ]
github+github@github.github
56b08623e6f1caaa20f3bd30c23264c4a592c151
5085dfd5517c891a1f5f8d99bf698cd4bf3bf419
/087.py
05cfccf10e07977157fcd34d680304b9ba743426
[]
no_license
Lightwing-Ng/100ExamplesForPythonStarter
01ffd4401fd88a0b997656c8c5f695c49f226557
56c493d38a2f1a1c8614350639d1929c474de4af
refs/heads/master
2020-03-10T22:07:37.340512
2018-04-15T13:16:30
2018-04-15T13:16:30
129,611,532
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ """ * @author: Lightwing Ng * email: rodney_ng@iCloud.com * created on Apr 15, 2018, 7:37 PM * Software: PyCharm * Project Name: Tutorial 题目:回答结果(结构体变量传递)。 程序分析:无。 """ class student: x, c = 0, 0 def f(stu): stu.x = 20 stu.c = 'c' a = student() a.x = 3 ...
[ "rodney_ng@icloud.com" ]
rodney_ng@icloud.com
84edb83be95037a7358797df88f5c9ca2978d486
53312f6eea68e95990923f9159e721f1c018b630
/app/services/company_services.py
6e5e4e381b04cd4c20520d51516a4a6b66c59af5
[]
no_license
BrunoGehlen/stocks_app
22978ba22c48af73263ce4bd18a2f985609eefe7
c496bafb8475f6557de29043fb98b366f1b01371
refs/heads/master
2023-04-14T20:46:45.786460
2021-05-03T20:35:42
2021-05-03T20:35:42
363,943,042
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
from . import datetime, timedelta, HTTPStatus from app.serializers.company_schema import CompanySchema from app.models.company_model import CompanyModel class CompanyServices: def __init__(self, session): self.session = session self.todays_datetime = datetime( datetime.today().year, da...
[ "you@example.com" ]
you@example.com
15a91ca627f134ace4c89c131bedcf65cb1b99c4
00a086a141acc551c9e3aa23356013cdc8d61b61
/LeetCode/python/lc021.py
088a2b04cf2168f0f69ff793b21152f69dd47441
[]
no_license
ZwEin27/Coding-Training
f01cebbb041efda78bca4bf64e056133d7b7fad7
409109478f144791576ae6ca14e2756f8f2f5cb0
refs/heads/master
2021-01-18T12:25:06.081821
2016-09-04T17:43:44
2016-09-05T17:43:44
29,571,156
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
#!/usr/bin/env python # Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: ...
[ "zwein27@gmail.com" ]
zwein27@gmail.com
dfb5b716af7edd4891035a8b4764032f76c0481d
42229d7c76c305cfde63659ad715a4e6bef0ea99
/goods/util/kmean_util.py
35e57660a3523cb8e084c78760968bd33856d814
[]
no_license
LRJliurj/GoodsServer
4a043d2f1195e4793aad327732201375495a88f9
c8c1bbda4fa4ba2a0e8a4055a67b7278ddb15b03
refs/heads/master
2020-07-05T14:03:58.536658
2019-09-24T03:01:53
2019-09-24T03:01:53
202,668,466
1
0
null
null
null
null
UTF-8
Python
false
false
9,076
py
from set_config import config import os import numpy as np from goods.util.distance_util import pdis # 线上保存kmean模型获取特征的util,保存后,重新排序 class online_util: save_sort_feature_path = config.goods_params['kmean_params']['online']["kmean_predict_features_path"] top_n = config.goods_params['kmean_params']['top_n'] #...
[ "908601417@qq.com" ]
908601417@qq.com
3980853af39a2d0a86828f26258a712df25ceefd
a47e4026ab8f791518d0319c5f3ec8c5a8afec2e
/Terrain/midlout2h.py
84d08a8f8039a4bade027f5f33d7513e5de75c2f
[]
no_license
bobbyrward/horrible-terrain-demo
715064fd020a620751b0c99f0a324300dd4e387e
55c9add73f5179b4272538950ec8a713dbed88b2
refs/heads/master
2016-09-06T08:29:53.623401
2009-10-28T19:20:24
2009-10-28T19:20:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,840
py
import re import sys hresult_re = re.compile(r'STDMETHOD\((.*?)\)\(\s*THIS_?\s*(.*?)\)\s*PURE\s*;\s*') rval_re = re.compile(r'STDMETHOD_\((.*?), (.*?)\)\(\s*THIS_?\s*(.*?)\)\s*PURE\s*;\s*') # this """STDMETHOD(EndStateBlock)(THIS_ IDirect3DStateBlock9** ppSB) PURE; """ # to this """HRESULT EndStateBlock(IDirect3DSta...
[ "bobbyrward@gmail.com" ]
bobbyrward@gmail.com
c905281a43641c6a9fe6fea83f5366746deb0ea9
ffa8a728f43b6de2b9a4dbfda18f3eb8518fbbbd
/snmp-mibs/SOURCE-ROUTING-MIB.py
a5513535109769810f0bc8e436eb6afe1d580ff4
[]
no_license
oriordan/pysnmp_mibs
60e0d80e3f50490d9e6ab29d21627fec59ab0cfc
92d39abf358a952e55a426e2a4658f4b0824182f
refs/heads/master
2021-01-09T23:37:59.137750
2014-11-26T20:07:28
2014-11-26T20:07:28
20,253,987
11
15
null
2020-07-26T02:49:32
2014-05-28T10:43:18
Python
UTF-8
Python
false
false
14,125
py
# PySNMP SMI module. Autogenerated from smidump -f python SOURCE-ROUTING-MIB # by libsmi2pysnmp-0.1.3 at Thu May 22 11:58:14 2014, # Python version sys.version_info(major=2, minor=7, micro=2, releaselevel='final', serial=0) # Imports ( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Inte...
[ "oriordan@devel.hu" ]
oriordan@devel.hu
64466beaf3a967d6e4a630cb489949ec77b7de52
17a655d21d7ddaf8cf60e23055e107cb602bd9bc
/project/bookmarker/signals.py
f25b97e867ff7e735283ada57d8066db7ebe124d
[]
no_license
geofferyj/YouTubeVideoBookmarker
fedb6913a8c5118c0a51f011244233630cf6f58c
fbf10230c5184cd1479dddafbcfd3609d5ac98f1
refs/heads/master
2023-08-04T22:30:37.636957
2021-03-01T08:09:46
2021-03-01T08:09:46
278,203,783
0
0
null
2021-09-22T19:46:09
2020-07-08T22:05:00
JavaScript
UTF-8
Python
false
false
1,646
py
from django.db.models.signals import post_save from django.contrib.auth.models import User from django.dispatch import receiver from bookmarker.models import Token, Video, ResetableViews, Subscription, VoicePause, VoicePlay # VoicePause @receiver(post_save, sender=User) def create_voicepause(sender, instance, created,...
[ "geofferyjoseph1@gmail.com" ]
geofferyjoseph1@gmail.com
0efe422b2d4a7ed61c38d320817a656491c43136
4809471274d6e136ac66d1998de5acb185d1164e
/pypureclient/flasharray/FA_2_5/models/alert_event_get_response.py
277b06b6969aff3effbb0edb3555fb2a5e1c3824
[ "BSD-2-Clause" ]
permissive
astrojuanlu/py-pure-client
053fef697ad03b37ba7ae21a0bbb466abf978827
6fa605079950765c316eb21c3924e8329d5e3e8a
refs/heads/master
2023-06-05T20:23:36.946023
2021-06-28T23:44:24
2021-06-28T23:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,805
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ....
[ "hubert.chan@purestorage.com" ]
hubert.chan@purestorage.com
196be9077ae178f63ed463bc211d805e9e2ae2c5
c8069f89af457ba9cea5f3e0306aecc289f53da6
/backend/manage.py
f8fb179532211c6515a0bc0779af29a70e2390d1
[]
no_license
crowdbotics-apps/bz-chat-24445
3f988ad908bb32c9bbaf147aff0f5360177c8ad2
464fe7a3ccd4105c020cdea1762b34be1aec38a1
refs/heads/master
2023-03-10T14:50:17.136207
2021-02-11T08:58:12
2021-02-11T08:58:12
337,975,621
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bz_chat_24445.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
fef2f7c9212ccab6017d6dd21a22597a88f51592
fa6612470d814f365280b0480b14748f27c1333c
/Data Visualization with Matplotlib/23_sharexAxis.py
5e67e5f9cf5ee0bce913dac588aef4e1792b6f97
[]
no_license
SaretMagnoslove/Practical_Machine_Learning_with_python
ffca9da49774d6bf4c459960a691b8dc351f8f1f
2e426cecb99831bba75ff2faad1d61f1b802dacb
refs/heads/master
2020-03-23T02:16:24.274694
2018-09-25T23:19:51
2018-09-25T23:19:51
140,965,770
1
2
null
null
null
null
UTF-8
Python
false
false
3,683
py
import matplotlib.pyplot as plt import matplotlib.dates as mdates import matplotlib.ticker as mticker from matplotlib.dates import bytespdate2num from matplotlib.finance import candlestick_ohlc from matplotlib import style import numpy as np import urllib # style.use('ggplot') style.use('fivethirtyeight') MA1 = 10 MA...
[ "magnoslove@gmail.com" ]
magnoslove@gmail.com
8427a365418b51b3933a3c9fc1d994443f00f617
a3eb732ead7e1d10a85a88e42dc639eb16a40265
/instagram_api/response/archived_stories_feed.py
e0ea4adece55f9e2c80964fe8585b77857ed3be3
[ "MIT" ]
permissive
carsam2021/instagram_api
7654c0f485c22935cf478016e46e65acbeda9344
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
refs/heads/master
2023-03-16T14:06:27.515432
2020-10-17T04:39:19
2020-10-17T04:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
from .mapper import ApiResponse, ApiResponseInterface from .mapper.types import Timestamp, AnyType from .model import ArchivedStoriesFeedItem __all__ = ['ArchivedStoriesFeedResponse'] class ArchivedStoriesFeedResponseInterface(ApiResponseInterface): items: [ArchivedStoriesFeedItem] num_results: int more_...
[ "root@proscript.ru" ]
root@proscript.ru
d5639c623837332fced341fd3abdf47957f070cd
b24ce5acced59ef367a20706949953f3ea81d57a
/tensorflow/contrib/seq2seq/python/ops/basic_decoder.py
d19e2b0d5e469b484a16e9290a1cb09684c16638
[ "Apache-2.0" ]
permissive
BoldizsarZopcsak/Image-Classifier
b57dd3b72cf368cc1d66a5e318003a2a2d8338a4
c0d471a55a70b3118178488db3c005a9277baade
refs/heads/master
2022-11-19T12:28:49.625532
2018-01-20T15:48:48
2018-01-20T15:48:48
118,253,026
1
1
Apache-2.0
2022-11-01T09:24:24
2018-01-20T15:04:57
Python
UTF-8
Python
false
false
5,584
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 applica...
[ "zboldi@gmail.com" ]
zboldi@gmail.com
c69bb2f790f1d53f574bc2e900a0ceffb5445294
f7ee578df2ef14dca614ea2238520405a7bc1010
/emission/tests/storageTests/TestMoveFilterField.py
c371fc9aefc1b17ab39a5500b2cbb2002ccf0933
[ "BSD-3-Clause" ]
permissive
jeffdh5/e-mission-server
5a02583d7a06b902fa4c1af7858df58c0bd65145
c4e3ebdb77133a58b5e2796c8850b479ffa8a096
refs/heads/master
2020-12-11T07:38:18.620865
2015-12-31T01:05:37
2015-12-31T01:05:37
30,099,294
0
0
null
2015-01-31T02:14:15
2015-01-31T02:14:15
null
UTF-8
Python
false
false
3,565
py
# Standard imports import unittest import datetime as pydt import logging import json # Our imports import emission.core.get_database as edb import emission.storage.timeseries.format_hacks.move_filter_field as estfm # Test imports import emission.tests.common as etc class TestTimeSeries(unittest.TestCase): def s...
[ "shankari@eecs.berkeley.edu" ]
shankari@eecs.berkeley.edu
01d2e4527f7d2563f3902393cf341ec5f00e4969
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/nws/rtoverridefwpol.py
307c8d55e48a35eeb21395c77fc39efe8dff02b8
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
4,958
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
e046c899eb7005cc67025d7f39e0ab584c58c2a5
3e7a772a74dca544c241c2a4bf34790b7cb13b50
/trig/tests/gitinterface_tests
9055befdd3519434e2f15a03e1ee2dea0bf2ff31
[]
no_license
rrdrake/vvtools
2af490f2dff6462320c14caa8b78463c640a51f6
2d07558737127077f97e9347d84e6ca46885b0bc
refs/heads/master
2022-10-29T11:14:30.640460
2020-06-13T12:25:06
2020-06-13T12:25:06
109,034,639
5
0
null
null
null
null
UTF-8
Python
false
false
42,076
#!/usr/bin/env python # Copyright 2018 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. #RUNTEST: import sys sys.dont_write_bytecode = True sys.excepthook = sys.__excepthook__ impo...
[ "rrdrake@sandia.gov" ]
rrdrake@sandia.gov
43351e79c4609abf8ba1a0ba88d5fa8762844870
9259591e4794aecd85c199b645ffb05ccbebd993
/vendor/billiard/spawn.py
9d04b23446e46a9a832530e23ef9003e84a9da00
[ "Apache-2.0" ]
permissive
swdotcom/swdc-sublime
000e20b2d2d9fa214480d2a94fcb97a88b83f67f
eab2007ab408e44d38163a121bf95c5d2018d6e4
refs/heads/main
2022-03-10T05:57:44.701151
2022-03-09T23:53:14
2022-03-09T23:53:14
127,207,312
14
5
Apache-2.0
2022-03-09T23:53:15
2018-03-28T22:47:16
Python
UTF-8
Python
false
false
11,664
py
# # Code used to start processes when using the spawn or forkserver # start methods. # # multiprocessing/spawn.py # # Copyright (c) 2006-2008, R Oudkerk # Licensed to PSF under a Contributor Agreement. # from __future__ import absolute_import import io import os import pickle import sys import runpy import types impor...
[ "bo@software.com" ]
bo@software.com
2e9f0ae01fbad3c4bae02bb7427a5b127c6d02ff
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/stypy/sgmc/sgmc_cache/taxonomy/builtin_functions/str/error_str_return_type.py
cffaa9f073b7b8d8146ea300f49c0b12c05ebde2
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
2,866
py
# -*- coding: utf-8 -*- """ ORIGINAL PROGRAM SOURCE CODE: 1: # coding=utf-8 2: __doc__ = "str builtin is invoked and its return type is used to call an non existing method" 3: 4: if __name__ == '__main__': 5: # Call options 6: # () -> <type 'str'> 7: # (AnyType) -> <type 'str'> 8: 9: 10: # Call the...
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
f9c609f789f2003f98166ffdddef23ee00af7fa2
a5909624f890a5f4d45c5c5400b18facfc4b14e5
/torch/testing/_internal/opinfo/core.py
8b1f3f69450903fd3e81a983f960ac19d6d640e4
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
yueyericardo/pytorch
cbd21ecb35553bb932655140f1965832a618c165
a61c96492b042947467bb603244301400f0e8d1a
refs/heads/master
2022-09-03T06:01:31.199274
2022-08-05T15:29:00
2022-08-07T03:04:46
136,817,183
0
0
null
2018-06-10T14:44:34
2018-06-10T14:44:34
null
UTF-8
Python
false
false
99,198
py
from dataclasses import dataclass, asdict import collections.abc import operator from typing import Any, Callable, List, Optional, Tuple, Iterable from enum import Enum import unittest import math from functools import partial from itertools import product import torch from torch.testing import make_tensor from torch....
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
d818f2b57247fda0d8236a1bd190811a8475a46a
6f917fb1840ea950b21941995ea96c3ec17d0a18
/Study/keras2/keras77_07_cifar10_InceptionV3.py
06f20232131f71809ece548e20bab695e8a87d22
[]
no_license
maiorem/Artificial-Intelligence
504a1656921c6d206237f17cd053ae38e1b4705c
367fbffb678bd1761105ae4f37f015f90120d3f0
refs/heads/main
2023-02-03T00:24:20.571707
2020-12-18T08:24:48
2020-12-18T08:24:48
311,254,233
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
import numpy as np from tensorflow.keras.applications import InceptionV3 from tensorflow.keras.layers import Dense, Flatten, Input, BatchNormalization, Dropout, Activation from tensorflow.keras.models import Sequential, Model from tensorflow.keras.datasets import cifar10 from tensorflow.keras.utils import to_categorica...
[ "maiorem00@gmail.com" ]
maiorem00@gmail.com
c9638982979fe9123e4137a7d6a755d188484b69
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg/scg_DCHP_Server/test_c139270.py
09792a397e1f38790b7d1ba0d50c6c908e764c4c
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
import pytest import time import sys from os.path import dirname, abspath sys.path.insert(0, dirname(dirname(abspath(__file__)))) from page_obj.scg.scg_def_physical_interface import * from page_obj.scg.scg_def_vlan_interface import * from page_obj.scg.scg_def_bridge import * from page_obj.common.rail import * ...
[ "15501866985@163.com" ]
15501866985@163.com
d89fb20582b7a2b2efe09169d26ca73fe3e9f35d
31a0b0749c30ff37c3a72592387f9d8195de4bd6
/python/ray/_private/runtime_env/_clonevirtualenv.py
d50d2d3c98989f2653fb5b966584708fb5ad1eae
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
longshotsyndicate/ray
15100bad514b602a3fa39bfe205288e7bec75d90
3341fae573868338b665bcea8a1c4ee86b702751
refs/heads/master
2023-01-28T15:16:00.401509
2022-02-18T05:35:47
2022-02-18T05:35:47
163,961,795
1
1
Apache-2.0
2023-01-14T08:01:02
2019-01-03T11:03:35
Python
UTF-8
Python
false
false
10,825
py
#!/usr/bin/env python from __future__ import with_statement import logging import optparse import os import os.path import re import shutil import subprocess import sys import itertools __version__ = "0.5.7" logger = logging.getLogger() env_bin_dir = "bin" if sys.platform == "win32": env_bin_dir = "Scripts" ...
[ "noreply@github.com" ]
longshotsyndicate.noreply@github.com
9d6bbb76470fb5d0e262f7b536a47205de61ce1e
e1abd868bfad11bf93c50eee1dc9976674de2358
/setup.py
af6a5de4baca477cae84d74eba1926d6aac1f4f6
[]
no_license
markmuetz/scaffold_analysis
5c7e9d04b24abe3462c8946381f4cab264bf09e0
c02d32536c801b23ac8a71e36d25fa922e7cfd94
refs/heads/master
2022-06-03T16:13:54.775718
2022-05-31T13:22:24
2022-05-31T13:22:24
92,677,664
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
#!/usr/bin/env python import os try: from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension from scaffold.version import get_version def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: retur...
[ "markmuetz@gmail.com" ]
markmuetz@gmail.com
c631ce14fa9545f28ff4141ddc75270876ae683c
da459298c4bdbb745f4ed80ce1c9da15dd8fbb34
/demisto_sdk/commands/format/update_genericmodule.py
6dae063b2baf56525d321cab77a0cde0727d3fff
[ "MIT" ]
permissive
demisto/demisto-sdk
af998a87523d03097f725ed8f31f6a44f4605ef2
3169757a2f98c8457e46572bf656ec6b69cc3a2e
refs/heads/master
2023-08-22T03:44:31.654275
2023-08-21T14:45:22
2023-08-21T14:45:22
219,291,269
63
75
MIT
2023-09-14T14:41:12
2019-11-03T11:36:13
Python
UTF-8
Python
false
false
2,162
py
from typing import Tuple from demisto_sdk.commands.common.constants import ( FILETYPE_TO_DEFAULT_FROMVERSION, FileType, ) from demisto_sdk.commands.common.logger import logger from demisto_sdk.commands.format.format_constants import ( ERROR_RETURN_CODE, SKIP_RETURN_CODE, SUCCESS_RETURN_CODE, ) from...
[ "noreply@github.com" ]
demisto.noreply@github.com
70b47bc20fa0747f8ebdcddca39cee6d773a59b7
b9b967c8154ffb3c3622c4b46065132a33e785f6
/server/migrations/versions/25bdca95116e_backfill_usernames_history.py
9d47ccf0e197217c90187c58165fcf84ba31396d
[ "Apache-2.0" ]
permissive
SURFscz/SBS
5917561656caec042e5a6c966aeb54b82e96f51d
b159eeb7a5b8246aebd9849b4b3b61b9af1a8514
refs/heads/main
2023-08-31T12:42:52.473898
2023-08-31T11:58:51
2023-08-31T11:58:51
162,148,147
4
1
Apache-2.0
2023-09-12T12:07:41
2018-12-17T15:05:54
JavaScript
UTF-8
Python
false
false
736
py
"""Backfill usernames history Revision ID: 25bdca95116e Revises: 3cda08121a2f Create Date: 2021-04-07 08:04:36.467191 """ from alembic import op from sqlalchemy import text # revision identifiers, used by Alembic. revision = '25bdca95116e' down_revision = '3cda08121a2f' branch_labels = None depends_on = None def u...
[ "oharsta@zilverline.com" ]
oharsta@zilverline.com
8f61f314bcc16cd58a2e225568d2e117e5a2418f
40c796dc77d6b3ba85a8d5a48f047de1d3e0e4fb
/scripts/extrapolation_uncertainty.py
457527bcaeeb1e59966de81725637d91a7af8b96
[]
no_license
zhangzc11/WVZLooper
d55c24127a65a36bd4a0ac25a8c53c007b5a71a1
e9d8c80ebb6bd5b54a00a39538c964588f4ce44b
refs/heads/master
2020-05-20T16:28:18.838367
2019-10-14T20:02:11
2019-10-14T20:02:11
185,660,975
0
0
null
2019-05-08T18:39:19
2019-05-08T18:39:19
null
UTF-8
Python
false
false
35,813
py
#!/bin/env python from plottery import plottery as ply import plottery_wrapper as p import ROOT as r import glob import sys import read_table as rt from errors import E from array import array import pyrootutil as pr import math Ntuple_Version = "v0.1.12.7" Baseline_Version = "syst" syst_list_all = ["Nominal", "ElLe...
[ "sgnoohc@gmail.com" ]
sgnoohc@gmail.com
528a8ce895effa2425984fb1b4778eb503f97668
66c7b0da6ee27ddce0943945503cdecf199f77a2
/rllib/dataset/transforms/clipper.py
ae5dc975babb030a2182a4fe53278f08e935ae14
[ "MIT" ]
permissive
tzahishimkin/extended-hucrl
07609f9e9f9436121bcc64ff3190c966183a2cd9
c144aeecba5f35ccfb4ec943d29d7092c0fa20e3
refs/heads/master
2023-07-09T22:57:28.682494
2021-08-24T08:50:16
2021-08-24T08:50:16
383,819,908
0
0
null
null
null
null
UTF-8
Python
false
false
2,708
py
"""Implementation of a Transformation that clips attributes.""" import numpy as np import torch import torch.jit import torch.nn as nn from .abstract_transform import AbstractTransform class Clipper(nn.Module): """Clipper Class.""" def __init__(self, min_val, max_val): super().__init__() se...
[ "shi.tzahi@gmail.com" ]
shi.tzahi@gmail.com
25ba0535997991ef82b8d6d879ed5f81d8b47140
88ae8695987ada722184307301e221e1ba3cc2fa
/tools/metrics/histograms/merge_xml_test.py
3dab9df3b524089bca4f33a13110782a250d6cbe
[ "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
7,500
py
# Copyright 2020 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import unittest import xml.dom.minidom import expand_owners import histogram_paths import merge_xml class MergeXmlTest(unittest.TestCase): def testMergeFiles(self): """C...
[ "jengelh@inai.de" ]
jengelh@inai.de
6976ae2c9bf1b5aab381348924e7be61e3d86826
aa28417be8935d6fa369fcb526174f9e1e30479a
/playstation/practice/字符串变形.py
5e62f23e5ed85d838abb9634296be22909aa5c37
[]
no_license
YYN117/Demo
d6fca95ed8a1a433ef06f1f3fc2e768414e863cb
40690040a7422fd5d8f03a0d68f20f1be5d4a836
refs/heads/master
2020-04-14T12:29:30.129709
2019-01-02T13:31:10
2019-01-02T13:31:10
163,841,708
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
# -*- coding:utf-8 -*- def trans(s, n): # write code here a = s.split(' ') a.reverse() b = [] for i in a: if len(i)==1: if 65 <= ord(i) <= 90: b.append(chr(ord(i) + 32)) elif 97 <= ord(i) <= 122: b.append(chr(ord(i) - 32)) else:...
[ "41251061+YYN117@users.noreply.github.com" ]
41251061+YYN117@users.noreply.github.com
e286a3cb60b4dd2d5a5af2a6bb82d585ff0217de
2d9a17e2b896d2f6a90913a4ba02d41f0ede5dd0
/_court/_court_gx/_court_gx.py
a0dd7108f66078af69f115728efe44969c0cd40a
[]
no_license
wolfwhoami/xxxxx
1cf2ed2c8ed78048d87cccf2953ca86c0871a783
670787ec71127bc05c1645cc3d8ef7c3a91fe84b
refs/heads/master
2020-03-30T00:44:55.864817
2016-12-16T01:45:03
2016-12-16T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,608
py
#!/usr/bin/env python # -*- coding:utf8 -*- import datetime import json import os import re import time import sys from court.save import CourtStore from court.util import remove_file from spider.savebin import FileSaver from spider.spider import Spider class CData(): @staticmethod def split_param(url): ...
[ "jianghao@ipin.com" ]
jianghao@ipin.com
c3e2b659072f60e2a9c3b9710ef26d0bc548581f
81a069a740a557e7b89ad03a33ec306f5ea5b293
/cristianoronaldoyopmailcom_223/settings.py
9d9ce5cab0ee854b478d3b331a3f7610bdfc262f
[]
no_license
payush/cristianoronaldoyopmailcom-223
0c1113b5417ab0f51c9796c7f158a7d3c38827be
f6b26672613a880e9638070cf616c7a40fc803ad
refs/heads/master
2020-03-23T12:27:37.229193
2018-07-19T09:57:58
2018-07-19T09:57:58
141,560,180
0
0
null
null
null
null
UTF-8
Python
false
false
4,157
py
""" Django settings for cristianoronaldoyopmailcom_223 project. Generated by 'django-admin startproject' using Django 1.11.5. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/s...
[ "ayushpuroheet@gmail.com" ]
ayushpuroheet@gmail.com
5bd988b720a123e3d2023d60f781fc45f6f0bd9e
d5a786c47e171b8e0ce1634d28b4f13be5bedb32
/blog/views.py
987eb902f61f82096ae2a964ad9e8e65773a7f55
[]
no_license
RaphaelfsOliveira/djeven
9b48728e026572a74273c32b7b6cb09821b3e6fb
689b3c91617bbbe147122d029ec0906b99da1e66
refs/heads/master
2021-01-09T06:17:21.335289
2017-04-26T20:09:51
2017-04-26T20:09:51
80,952,374
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
from django.shortcuts import render, get_object_or_404 from django.utils import timezone from .models import Post # Create your views here. def post_list(request): posts = Post.objects.filter(published_date__lte=timezone.now()).order_by('published_date') return render(request, 'blog/post_list.html', {'posts': ...
[ "raphaelbrf@gmail.com" ]
raphaelbrf@gmail.com
cf0ab34e186cb551aefd62312852dd5ccd9505fc
73f7cc0e71bfd38d3bfe97367324f1e7a5d8b451
/engine_code/gapi/modules/auth/text_xml.py
1434494619269625c21fba9be8e04088f6e542ee
[]
no_license
cash2one/my-test
ccc0ae860f936262a601c1b579d3c85196b562f9
8bd23f5963f4dc7398b7670e28768a3533bd5d14
refs/heads/master
2021-01-18T03:20:30.889045
2017-01-19T02:52:02
2017-01-19T02:52:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,456
py
#!/usr/bin/python # -*- coding=utf-8 -*- # author : wklken@yeah.net # date: 2012-05-25 # version: 0.1 import sys import os from xml.etree.ElementTree import ElementTree,Element def read_xml(in_path): '''''读取并解析xml文件 in_path: xml路径 return: ElementTree''' tree = ElementTree() ...
[ "zhizhi1908@yeahh.net" ]
zhizhi1908@yeahh.net
a177b3a2aa4e806f6e522fe1e7879d42657393ec
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/goodhumor.py
ca0bbac3068e7296e4baaf277cb4e54b22e989e5
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
44
py
ii = [('BentJDO2.py', 1), ('CoopJBT.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
1fd3a2b4c611dfa98d2db9ba170171832ca778b9
7355c7a5fb5f636b07598d4b4018491b435b553c
/tfx/types/standard_artifacts.py
3dc2bf6db3dda9323c32b5efe52d9cef9a70bd89
[ "Apache-2.0" ]
permissive
DevenLu/tfx
4a3ce025594ad006d37f9c4c69f08d8d49f09e8f
1b99e7f33017bcd0e49a5a4ae1dc13440da35d3e
refs/heads/master
2020-07-08T13:23:54.033534
2019-08-21T22:07:54
2019-08-21T22:08:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
# Copyright 2019 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 required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
8a7e8108b39245ac5e4056d21b8905f678e233e7
f40086079bdcb465da32bfc4c244d0a699a735e3
/informatics/previous informatics/Informatics-2/series 8/smoke_s.py
fe64e9c0b638bb058af2b71ee21b2d04345759c0
[]
no_license
isk02206/python
e6dfc1e219ae3a51bde80fed75412bed98b3defe
b2fc6d1aa1155c0758883677eb2e37d9f92a4382
refs/heads/master
2022-12-06T15:14:55.264792
2020-09-02T01:02:11
2020-09-02T01:02:11
292,142,661
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
''' Created on 2015. 12. 2. @author: User ''' def observed(int1,int2):
[ "67949037+isk02206@users.noreply.github.com" ]
67949037+isk02206@users.noreply.github.com
353bf95f32bbe15d426b90b4624987d5ebe0dcab
fa38f67a6f5296ba64de8d771492f9db230cf5ed
/beatspread.py
6f758e79570b8c1438f107d9eb05417058cedc2a
[]
no_license
traffaillac/traf-kattis
5ebc2b0411c9f27da5d9080c269ad0add227a79c
1b6bfdad48f3fab31902d85ed48b1bd0a8f44d0f
refs/heads/master
2023-08-16T21:44:56.885553
2023-08-12T15:04:43
2023-08-12T15:04:43
236,475,020
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
for _ in range(int(input())): s,d = (int(i) for i in input().split()) a,b = (s+d)//2, (s-d)//2 print(f'{a} {b}' if b>=0 and s&1==d&1 else 'impossible')
[ "traf@kth.se" ]
traf@kth.se
5e81735f195751bfe4e5f1a58955022619eb4706
1fc45a47f0e540941c87b04616f3b4019da9f9a0
/src/sentry/south_migrations/0278_auto__add_releaseproject__add_unique_releaseproject_project_release__a.py
87c1274037842200012d598a03852a460ba09ad7
[ "BSD-2-Clause" ]
permissive
seukjung/sentry-8.15.0
febc11864a74a68ddb97b146cc1d2438ef019241
fd3cab65c64fcbc32817885fa44df65534844793
refs/heads/master
2022-10-28T06:39:17.063333
2018-01-17T12:31:55
2018-01-17T12:31:55
117,833,103
0
0
BSD-3-Clause
2022-10-05T18:09:54
2018-01-17T12:28:13
Python
UTF-8
Python
false
false
63,344
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 model 'ReleaseProject' db.create_table('sentry_release_project',...
[ "jeyce@github.com" ]
jeyce@github.com
6829b76481bf86e1a23ec83e3e05484de249d009
bb150497a05203a718fb3630941231be9e3b6a32
/models/PaddleScience/tests/test_api/test_FCNet.py
76b10aae7b71bcaadf357e383b365d8317bbf919
[]
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
7,160
py
""" # Copyright (c) 2022 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 a...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
05d3daed5c13842cea79650ff0c744df26f7e996
3adbf4c196ce225f6bbf41d77d17fe312e5d4620
/flexx/__main__.py
ccff891543f31cf807265ab42e5a2635d70df8cb
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
drorhilman/flexx
9c818576aec1888092ab9819e2269d18b26f326b
8de99132d0fa25b0fea81ed8ac7ff8f8f9e95661
refs/heads/master
2020-03-24T10:15:44.048180
2018-07-05T13:26:31
2018-07-05T13:26:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,326
py
""" Flexx has a command line interface to perform some simple tasks. Invoke it via ``python -m flexx``. Additional command line arguments can be provided to configure Flexx, see :func:`configuring flexx <flexx.config>`. .. code-block:: none """ import sys ALIASES = {'-h': 'help', '--help': 'help', '--ve...
[ "almar.klein@gmail.com" ]
almar.klein@gmail.com
f1c1843044b9c187c5c7ffae3a14625d3b7e6f86
796613525c40a241b0f88ceb761838a5bca311e1
/biasTF/BIAS_V2/src/MoreTransferFunctions.py
a243b13f8131edb9f58a22317611f42685ef40cc
[]
no_license
UAEDF/vbfHbb
377e956a2d002eacd2090a4abbaa6bffb141454e
ecd5bfefa3db8d2c8283e306d68da42de44f7e39
refs/heads/master
2020-04-22T16:54:48.622168
2015-12-26T16:07:44
2015-12-26T16:07:44
12,751,620
0
0
null
null
null
null
UTF-8
Python
false
false
5,460
py
#!/usr/bin/env python import ROOT from ROOT import * import sys,re,os from optparse import OptionParser #################################################################################################### def parser(): mp = OptionParser() return mp ###################################################################...
[ "sara.alderweireldt@cern.ch" ]
sara.alderweireldt@cern.ch
7c9e1c0a5c012818be68148a3a2adfb9fe3cdd8f
43a1e9c15132398433ef1bd941e49eb0372136e6
/day21/class_test.py
1ef6ff0a6a57edd645b641af0ca7dd32e4a6df21
[]
no_license
dlatnrud/pyworks
3eaf253f7e9cf74e6504770885e4a63fd1c4e293
745ae5c6a85015800d049176b7d5aeb0df0f000a
refs/heads/master
2023-08-12T16:14:50.936403
2021-10-15T00:48:04
2021-10-15T00:48:04
402,286,633
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
from libs.myclass import Car, Student s1 = Student("콩쥐", 3) print(s1) s1.learn() s2 = Student("팥쥐", 2) print(s2) car1 = Car("소나타", "흰색", 2500) car2 = Car("BMW", "black", 3000) print("\t 모델명 \t색상 \t배기량") print("차량1 " + car1.model + '\t' + car1.color + '\t' + str(car1.cc)) print("차량2 " + car2.model + '\t ' + car2...
[ "dlatnrud2268@naver.com" ]
dlatnrud2268@naver.com
aa2bde45f02c21dde8c35da4febe185068b1d850
172189e030da9b1cd55877ba8e76ed3ad7ab8e2a
/venv/Scripts/pip3-script.py
b8d0f92f006d806cd6fd661c6200993d17351521
[]
no_license
class-yoo/practice02
8f3d44de85d2d39d5979840f0a86029bb925c995
cc6ee1f472de7f0e84e17566ab629e6ea2871b39
refs/heads/master
2022-01-31T05:11:18.175308
2019-06-13T10:31:12
2019-06-13T10:31:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
#!D:\cafe24\dowork\pycharmProjects\practice02\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys....
[ "mynameisyjh@gmail.com" ]
mynameisyjh@gmail.com
dcc20f5683f3d92aa30cd10bbd9d1b271ee391ce
c380659f6a79eee18c2ea41ec2cff8b55d725243
/src/pyAHP/where.py
77a23578a1feab2cb7fb007809940bc0c440ad11
[]
no_license
ai-se/softgoals
49b0c7f8fa010697c339831bf0561f54f0e10910
41e9b467811c7a491aeedcc88d76910a83fe5c50
refs/heads/master
2021-01-17T00:11:04.123534
2017-06-04T02:56:11
2017-06-04T02:56:11
41,162,015
1
4
null
2015-12-01T03:45:40
2015-08-21T15:03:25
Python
UTF-8
Python
false
false
5,731
py
from __future__ import print_function, division import sys,os sys.path.append(os.path.abspath(".")) sys.dont_write_bytecode = True from utilities.lib import * __author__ = 'panzer' def default_settings(): return O( min_size = 8, max_depth = 10, prefix = "|.. " ) class Row(O): """ Row Of a Binary...
[ "george.meg91@gmail.com" ]
george.meg91@gmail.com
7669a41a8804ee7b4055f88380962bbbc771ea49
2daa10000d265cd039ee4489d5ade35837e48bb0
/log/tasks/post_schedule.py
1061173a98933287b3c1d908047a2a98453d201c
[]
no_license
mohsenamoon1160417237/invites
ef2d23e6e21965b99f0861efa9f2c36a5ead131e
eacef16787f8bfecfe10e5ab9500116419aa4643
refs/heads/master
2023-08-22T11:35:09.071118
2021-10-24T12:15:03
2021-10-24T12:15:03
420,020,584
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
from celery import shared_task from celery.utils.log import get_task_logger from log.models.PostLog import PostLog from django.shortcuts import get_object_or_404 logger = get_task_logger(__name__) @shared_task def post_schedule(post_id): post = get_object_or_404(PostLog , id=post_id) post.status = PostLog.PU...
[ "dramatic225@gmail.com" ]
dramatic225@gmail.com
0c14fbbc574d2ff198fe9688adc63b8361eee419
908ad8a65600996b263bb53dd3054e742c533dab
/akshare/stock/stock_info.py
5999c616aa544102b154cd70c65aef64b35bc27c
[ "MIT" ]
permissive
pangyouzhen/akshare
47c7d9e944ac197d3df5cce81eb33da5feccd518
5050cda92624c642d70a196d93a343e53a12fe17
refs/heads/master
2023-05-09T00:27:26.011181
2021-05-30T07:58:59
2021-05-30T07:58:59
371,892,903
0
0
MIT
2021-05-29T10:07:23
2021-05-29T05:57:53
null
UTF-8
Python
false
false
8,743
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2020/12/28 16:31 Desc: 股票基本信息 """ import json from io import BytesIO import pandas as pd import requests def stock_info_sz_name_code(indicator: str = "B股列表") -> pd.DataFrame: """ 深圳证券交易所-股票列表 http://www.szse.cn/market/product/stock/list/index.html ...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
b3889823658d4ea8723d6e2206876dad2817f7e7
2a1b8a671aceda6bc446f8ce26400aa84fa444a6
/Packs/CommonScripts/Scripts/DomainReputation/DomainReputation.py
63cc309711c1842d76d42b7efd6895d62bd3645f
[ "MIT" ]
permissive
demisto/content
6d4722d46f0ff0beea2748e9f7de585bf91a78b4
890def5a0e0ae8d6eaa538148249ddbc851dbb6b
refs/heads/master
2023-09-04T00:02:25.618032
2023-09-03T21:56:22
2023-09-03T21:56:22
60,525,392
1,023
1,921
MIT
2023-09-14T20:55:24
2016-06-06T12:17:02
Python
UTF-8
Python
false
false
975
py
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 def domain_reputation(): results = demisto.executeCommand('domain', {'domain': demisto.get(demisto.args(), 'domain')}) for item in results: if isError(item): if is_offset_error(item): # call to is_...
[ "noreply@github.com" ]
demisto.noreply@github.com
a45f0830634e474ce6dad420e01827de758b3d2b
af10bcb9ee5b61f82081c63dd275134c62baa21e
/dagsearch/env.py
b4e47c0653f6426db23f51b3a387a8033075fc41
[]
no_license
zbyte64/pytorch-dagsearch
2ed7ed648d7e361744f129ace10a2c65d9f3036d
c52fe84f52b76bdc6c9d2e74f140bdf3fd119244
refs/heads/master
2020-04-14T05:24:31.565200
2019-01-23T03:27:06
2019-01-23T03:27:06
163,659,872
3
0
null
null
null
null
UTF-8
Python
false
false
71
py
import torch device = 'cuda' if torch.cuda.is_available() else 'cpu'
[ "zbyte64@gmail.com" ]
zbyte64@gmail.com
f21bc36aca61bad4889e5e3463d4efea8fa18d04
23fb7793e9d94e56714b618faacc4e85db8d74f9
/explore/transform_angles.py
7c1065a9ff9c1163f802df1697413f0c57cb4d89
[ "BSD-3-Clause" ]
permissive
SasView/sasmodels
b4b6432c083deeaf77a96d352afbf10c696f4527
00fd0242007be2023cf7b4887b33da6247a6adcc
refs/heads/master
2023-08-30T23:58:16.030202
2023-08-15T13:47:45
2023-08-15T13:47:45
30,761,174
17
31
BSD-3-Clause
2023-09-12T13:27:39
2015-02-13T15:04:20
Python
UTF-8
Python
false
false
2,048
py
#!/usr/bin/env python """ Small application to change theta, phi and psi from SasView 3.x models to the new angle definition in SasView 4.x and above. Usage: python explore/transform_angles.py theta phi psi """ from __future__ import print_function, division import sys import numpy as np from numpy import pi, cos, s...
[ "pkienzle@nist.gov" ]
pkienzle@nist.gov
3d44f956b37985fb6c1fff55f9c60a82d9c0bde3
ed1e81a2325d310de7961274a06bfe6cdb7993d0
/basic-python/xmlcreation.py
f448a461e86acb8db27c96bd5449e8453674cf27
[]
no_license
fahimkhan/python
ce573298adf30ca8426b74f3ab275ab7f8047a91
1733ad39cf214362c8a76f8996740715888d2101
refs/heads/master
2021-01-15T15:50:27.323739
2016-08-24T11:02:56
2016-08-24T11:02:56
20,254,607
1
1
null
null
null
null
UTF-8
Python
false
false
364
py
#!/usr/bin/python import xml.etree.cElementTree as ET root = ET.Element("root") doc = ET.SubElement(root, "doc") field1 = ET.SubElement(doc, "field1") field1.set("name", "blah") field1.text = "some value1" field2 = ET.SubElement(doc, "field2") field2.set("name", "asdfasd") field2.text = "some vlaue2" tree = ET.E...
[ "fahim.elex@gmail.com" ]
fahim.elex@gmail.com
a7a9b9af5f5f6b54cbafe242f0bc5ab853a93079
1ebba24841912613f9c70dffee05270c4f1f4adb
/willie/willie/modules/github.py
5f3e46c6ca0161e15e3072ecb311d7baab7b42af
[ "MIT", "EFL-2.0" ]
permissive
freifunk-darmstadt/ffda-jarvis
4953af0cd8629c9b9632806eb0a7440fcf94da57
127f3333c837c592177f84b361e3c050e00f2d3f
refs/heads/master
2020-04-06T06:56:21.472931
2017-10-23T23:00:57
2017-10-23T23:10:03
32,585,430
0
8
MIT
2017-12-20T00:46:26
2015-03-20T13:32:00
Python
UTF-8
Python
false
false
8,251
py
# coding=utf8 """ github.py - Willie Github Module Copyright 2012, Dimitri Molenaars http://tyrope.nl/ Licensed under the Eiffel Forum License 2. http://willie.dftba.net/ """ from __future__ import unicode_literals from datetime import datetime import sys if sys.version_info.major < 3: from urllib2 import HTTPErr...
[ "mweinelt@gmail.com" ]
mweinelt@gmail.com
2d11dd2f6d92cd3a3ddcd2c943eb1e114be0e46e
99cba296261b41781f642e98e4427853bf15a6ea
/modules/s3/s3anonymize.py
fc9a4ca0ea58462b93c7577a0c5d7f3b7234fb62
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sahana/SAMBRO
6f2b06060d5abc05b260337a45a63cca6d7439c9
afeef1ebb38e9e893a79c5e6824860a6e7ba09d5
refs/heads/master
2020-05-23T02:53:42.579167
2019-06-12T22:37:05
2019-06-12T22:37:05
191,917,305
1
1
NOASSERTION
2019-10-20T23:45:43
2019-06-14T09:40:54
Python
UTF-8
Python
false
false
19,447
py
# -*- coding: utf-8 -*- """ S3 Person Record Anonymizing @copyright: 2018-2019 (c) Sahana Software Foundation @license: MIT 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 wi...
[ "dominic@nursix.org" ]
dominic@nursix.org
ef82b63e0e7dbbd1085825847ec183ac0f11b914
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano2615.py
b9cfb7d4b3e6f3a41db23aa2782f28b088a22c4b
[]
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
bfae3709907e8c2bfdecf0b16044bc79c317d929
abad82a1f487c5ff2fb6a84059a665aa178275cb
/Codewars/8kyu/multiply-the-number/Python/test.py
65310c35d9c4b0fb2c4cc05b73d6733837d2db71
[ "MIT" ]
permissive
RevansChen/online-judge
8ae55f136739a54f9c9640a967ec931425379507
ad1b07fee7bd3c49418becccda904e17505f3018
refs/heads/master
2021-01-19T23:02:58.273081
2019-07-05T09:42:40
2019-07-05T09:42:40
88,911,035
9
0
null
null
null
null
UTF-8
Python
false
false
235
py
# Python - 2.7.6 Test.describe('Basic Tests') Test.assert_equals(multiply(10), 250) Test.assert_equals(multiply(5), 25) Test.assert_equals(multiply(200), 25000) Test.assert_equals(multiply(0), 0) Test.assert_equals(multiply(-2), -10)
[ "d79523@hotmail.com" ]
d79523@hotmail.com
dbc68db512ec1e4767fb5aa260cf368e4c11642e
29d09c634ffdd8cab13631d62bc6e3ad00df49bf
/Algorithm/swexpert/1216_회문2.py
f7bb26f33e8ca6571a0314bcc3dffae1b790dea9
[]
no_license
kim-taewoo/TIL_PUBLIC
f1d32c3b4f46344c1c99f02e95cc6d2a888a0374
ae86b542f8b1805b5dd103576d6538e3b1f5b9f4
refs/heads/master
2021-09-12T04:22:52.219301
2021-08-28T16:14:11
2021-08-28T16:14:11
237,408,159
2
0
null
null
null
null
UTF-8
Python
false
false
814
py
T = 10 def chk_palindrome(list_to_chk, length): for i in range(length//2): if list_to_chk[i] != list_to_chk[-1-i]: return False return True for _ in range(1, T+1): t = int(input()) a = [list(input()) for _ in range(100)] found = False for l in range(100, 0, -1): # 가장 긴 10...
[ "acoustic0419@gmail.com" ]
acoustic0419@gmail.com
88147435253293e973a357dbd1eb71c9efe2242f
ec95cf11db88a7aad1ae6bf4daf321fc38a3ca43
/evennia/evennia/evennia/commands/command.py
17902b36026fe73f8637abf0af816f2171423fb3
[ "BSD-3-Clause" ]
permissive
castlelorestudios/EvenniaPluginSampleProject
25d68adf7fe2b716a7e1d317d1aeca568f67fcdd
095ad7a2fe583033fb7e2070f3f8920a6e88b323
refs/heads/master
2022-12-14T08:19:07.572206
2019-09-19T01:11:16
2019-09-19T01:11:16
195,511,481
3
3
BSD-3-Clause
2022-11-22T03:00:00
2019-07-06T07:32:23
Python
UTF-8
Python
false
false
17,147
py
""" The base Command class. All commands in Evennia inherit from the 'Command' class in this module. """ from builtins import range import re from django.conf import settings from evennia.locks.lockhandler import LockHandler from evennia.utils.utils import is_iter, fill, lazy_property, make_iter from future.utils ...
[ "corneelbooysen@hotmail.com" ]
corneelbooysen@hotmail.com
08506cafbe766926973725265dc18f740b64100d
a9ca402cc2a0757831d355781f388443067bae76
/swagger_server/controllers/bsdf_material_controller.py
d4c0836bc326159fa12808677a6507173f728866
[]
no_license
AntoineDao/LadyBugToolsAPIServer
23a21fbc0a492df35923e33d096be5151adb7f52
2c13c96ed3e7c9e44f22875f80c2dd7c10cb2727
refs/heads/master
2020-03-26T18:23:51.461620
2018-09-10T22:40:47
2018-09-10T22:40:47
145,210,777
0
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
import connexion import six from swagger_server.models.bsdf_material_schema import BSDFMaterialSchema # noqa: E501 from swagger_server.models.error_model_schema import ErrorModelSchema # noqa: E501 from swagger_server.models.succesfully_created_schema import SuccesfullyCreatedSchema # noqa: E501 from swagger_server...
[ "antoinedao1@gmail.com" ]
antoinedao1@gmail.com
351fe2da8b0c829785ddfedfdeb245bb586d9f7b
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/image_classification/invariance-equivariance_ID2466_for_PyTorch/eval_fewshot.py
9c4cbe8bfed5b4736a93c1af7c925be9f0e067f0
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
6,704
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # 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 must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
309fc39980c3f32d8daa830f99857d0155d49716
c6b9b9f2fbc6c62e7a86b02718954661af3c564f
/configs/_base_/schedules/schedule_s_short.py
dea71cb530411533af0eec5170b5d1105c0c0d92
[ "Apache-2.0" ]
permissive
open-mmlab/mmflow
a90ff072805ac79cbc0b277baded1e74d25cccf0
9fb1d2f1bb3de641ddcba0dd355064b6ed9419f4
refs/heads/master
2023-05-22T05:19:48.986601
2023-01-10T16:05:18
2023-01-10T16:05:18
428,493,460
808
110
Apache-2.0
2023-09-05T13:19:38
2021-11-16T02:42:41
Python
UTF-8
Python
false
false
413
py
# optimizer optimizer = dict( type='Adam', lr=0.0001, weight_decay=0.0004, betas=(0.9, 0.999)) optimizer_config = dict(grad_clip=None) # learning policy lr_config = dict( policy='step', by_epoch=False, gamma=0.5, step=[300000, 400000, 500000]) runner = dict(type='IterBasedRunner', max_iters=600000) checkpoint_c...
[ "meowzheng@outlook.com" ]
meowzheng@outlook.com