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
6f68dbe5c21f5ff632c5bcf0935523504b5bb6aa
f06695d00cf0057a8b60d2db05a942fe6ac020c4
/剑指/30_包含min函数的栈.py
279e197be59d8d5f5b0be8df935c697e44b94ee6
[]
no_license
dpaustman/niuKeCode
b13ab2f89b9d959a30cebf20b9529ea7c3b5bcbe
7cac9fd2afd38c1713baeefb0f4b932ec58aa193
refs/heads/master
2022-04-21T18:57:19.039747
2018-09-21T14:04:55
2018-09-21T14:04:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
''' 题目描述 定义栈的数据结构, 请在该类型中实现一个能够得到栈中所含最小元素的min函数 (时间复杂度应为O(1))。 ''' # -*- coding:utf-8 -*- class Solution: def __init__(self): self.stack = [] self.minnum = [] #重点在最小数辅助栈上 def push(self, node): # write code here if len(self.stack)==0: self.stack.append(node) ...
[ "laippmiles@gmail.com" ]
laippmiles@gmail.com
80e4d68709ce8bca1b72c73c2f57a07b68172788
8419f7d24df69a2cb92f04d7369c11c8141b0fcd
/packages/vaex-server/vaex/server/client.py
d02beedff9ae261d27c2eb02720544bbe1ebd56f
[ "MIT" ]
permissive
heyuqi1970/vaex
c1768eac9d5126e7efd1e139522feb9d65a7ecc9
867c180427a23e3b71df47305d7e8866b6673a98
refs/heads/master
2021-07-09T08:45:21.634354
2020-04-23T17:23:58
2020-04-23T17:23:58
242,555,084
2
0
MIT
2020-04-24T03:40:17
2020-02-23T16:54:13
Python
UTF-8
Python
false
false
2,925
py
import numpy as np import uuid import vaex from .dataframe import DataFrameRemote def create_df(name, info, executor): _dtypes = {name: np.dtype(dtype) for name, dtype in info['dtypes'].items()} df = DataFrameRemote(name=name, length_original=info['length_original'], ...
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
05d8080e82636932f1ee3e099d98303c95011858
1280a859456e1f2b763abde432a73c9c6a3460ab
/annversion1/__init__.py
397e8d6da0c0b8fd65960f28c70542cbafc47105
[]
no_license
qf8809090/juchao_ants
c4f4fd7efed3a0266351fd359c7e99895fa5d8cc
b671939e7071fc7644b4a2ab79a345fbda913556
refs/heads/master
2023-03-18T04:03:38.272492
2021-03-13T02:01:35
2021-03-13T02:01:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
# 第一版本的爬虫 # 在版本 1 2 切换后可废弃
[ "furuiyang0715@gmail.com" ]
furuiyang0715@gmail.com
f69ff5b567394db1a89c0785e239caf8e95fe924
6fbe0f338cd87d875b2b99e27bf79c359f23f7de
/work/work2.py
b88ef707399e745582d0f219df2b3c218129b3ca
[]
no_license
1769778682/python07
e5ec03607d180b1d918ac44ca2b4f65535f7e71a
a2db1969786af2a9cda6d711bab8848fd097db96
refs/heads/master
2023-01-02T12:15:13.067461
2020-10-28T12:50:25
2020-10-28T12:50:25
308,014,726
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
# 需求: # 1. 小明 体重 75.0 公斤 # 2. 小明每次 跑步 会减肥 0.5 公斤 # 3. 小明每次 吃东西 体重增加 1 公斤 # 类的设计 """ 类名:人类(Person) 属性:名字(name)/体重(weight) 方法:跑步(run)/eat(吃东西) """ class Person(object): """人类""" def __init__(self, name, weight): self.name = name self.weight = weight def __str__(self): """打印对象输出的内容"...
[ "1769778682@qq.com" ]
1769778682@qq.com
482dab5dd957dff431567de70ab34b065a7c299b
7000c1dabab777203536b85c90ece5b327a483c1
/CIFAR100/models/Elliott_VGG.py
edb5ef4c2596402ce26a7dae6de91cadb91f325d
[]
no_license
stjordanis/ActivationFunctions
40876b65f1b9e3e930ac3b60a32d181d604ef283
3f23154e2ea7a2a3723482799a2336dfdeda9346
refs/heads/main
2023-08-05T16:25:40.173924
2021-10-05T16:50:30
2021-10-05T16:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
'''VGG11/13/16/19 in Pytorch.''' import torch import torch.nn as nn import torch.nn.functional as F from Activations import Elliott cfg = { 'VGG11': [64, 'M', 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'], 'VGG13': [64, 64, 'M', 128, 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'], 'VGG16'...
[ "noreply@github.com" ]
stjordanis.noreply@github.com
9aa026daf2aa70dcfb97130d28fb8096afe79e11
49ade11859ebeac2b2d5c45f3b1e788954cfa173
/backend/home/migrations/0002_load_initial_data.py
a57db733badd6524bd2204d97c12e7138e403883
[]
no_license
crowdbotics-apps/test5-4895-dev-16187
903251f290f8dc477ca2e16da817a12d1369f8b0
696cd11366ec5a6ceaecebda35fa569f46f26a9c
refs/heads/master
2023-01-28T02:24:15.243085
2020-12-03T09:41:21
2020-12-03T09:41:21
318,143,420
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "test5-4895" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
44ce5c3d5aad4b40a305466169106c372f39fe40
659a7a65c877f2eb0adbb6001a1f85f063d01acd
/mscreen/screening/prepare_gpf4zn.py
fdc4fb3d86f1526a31ee39b35d2e82dabd6ed1d7
[ "MIT" ]
permissive
e-mayo/mscreen
da59771be250ebe341feb102e0cbf41aab70de43
a50f0b2f7104007c730baa51b4ec65c891008c47
refs/heads/main
2023-06-21T17:47:06.519307
2021-08-09T16:06:29
2021-08-09T16:06:29
345,008,321
10
1
null
null
null
null
UTF-8
Python
false
false
13,036
py
#!/usr/bin/env python # # # # $Header: /opt/cvs/python/packages/share1.5/AutoDockTools/Utilities24/prepare_gpf4.py,v 1.16.2.2 2011/06/14 17:25:12 rhuey Exp $ # import string import os.path import glob, sys sys.path.append('../autodocktools_prepare_py3k') sys.path.append('autodocktools_prepare_py3k') sys.path.append(...
[ "eduardomayoyanes@gmail.com" ]
eduardomayoyanes@gmail.com
e26b4f9f4091633e3227838fb48fc9caa19e6264
7769cb512623c8d3ba96c68556b2cea5547df5fd
/configs/foveabox/fovea_align_gn_ms_r50_fpn_4gpu_2x.py
42691a46184ff281f7fa55a0eb7d3cecb07af3fd
[ "MIT" ]
permissive
JialeCao001/D2Det
0e49f4c76e539d574e46b02f278242ca912c31ea
a76781ab624a1304f9c15679852a73b4b6770950
refs/heads/master
2022-12-05T01:00:08.498629
2020-09-04T11:33:26
2020-09-04T11:33:26
270,723,372
312
88
MIT
2020-07-08T23:53:23
2020-06-08T15:37:35
Python
UTF-8
Python
false
false
3,770
py
# model settings model = dict( type='FOVEA', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='pytorch'), neck=dict( type='FPN', in_channels=[256, 51...
[ "connor@tju.edu.cn" ]
connor@tju.edu.cn
5ccbe7ce0f9f1c1e48e14ea1d5e7bb73d5b42e73
cad91ae76d2746a6c28ddda0f33a58f9d461378f
/PyTorch/Detection/Efficientdet/data/__init__.py
eebe00d8d78cff0e5d833fa7766a2eadebc13664
[ "Apache-2.0" ]
permissive
NVIDIA/DeepLearningExamples
fe677521e7e2a16e3cb0b77e358f9aab72f8c11a
a5388a45f71a949639b35cc5b990bd130d2d8164
refs/heads/master
2023-08-31T20:57:08.798455
2023-08-23T10:09:12
2023-08-23T10:09:12
131,881,622
11,838
3,124
null
2023-08-28T16:57:33
2018-05-02T17:04:05
Jupyter Notebook
UTF-8
Python
false
false
705
py
# Copyright (c) 2021, NVIDIA CORPORATION. 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 applic...
[ "kkudrynski@nvidia.com" ]
kkudrynski@nvidia.com
90871aa4f55c4d553969ef69c1ebe4ab3f5dcbe7
1b2d5f0635459a02f82b574e5de632f67679210a
/4/23_mnist_plot_tf.py
d7a97021fada4d6f20aca27c70d4595d0d9e341d
[]
no_license
ydocore/deeplearning-keras-tf2-torch
f9b117e693b4a122bfb37fc77ae082de2140afd7
19aa983de1b0f55985179549603327281b92fcb2
refs/heads/master
2022-12-22T16:26:11.249773
2020-09-15T12:54:26
2020-09-15T12:54:26
276,814,737
0
1
null
2020-07-03T05:24:38
2020-07-03T05:24:38
null
UTF-8
Python
false
false
4,629
py
''' 4.5.1.2 学習の可視化 - TensorFlow (MNIST) ''' import numpy as np import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.utils import shuffle import tensorflow as tf from tensorflow.keras import datasets from tensorflow.keras.models import Model from tensorflow.keras.layers impo...
[ "me@yusugomori.com" ]
me@yusugomori.com
bb930bf8da2b5263ef81bed6698ff19ea7366622
c96a1942ccffbe59308aafb204d7dbca17aa450d
/property/admin.py
d73d0c240543458905c4ed0cea09bce5392f81e3
[]
no_license
godfreyJo/Nane
d79046d278a169437d5b356e02f6b676a38a2cbe
5b61f3536268ecf485ab5e45187d632ed51deb1d
refs/heads/master
2022-12-01T22:56:50.047261
2021-07-08T14:16:05
2021-07-08T14:16:05
201,345,897
0
0
null
2022-11-22T05:58:48
2019-08-08T22:21:31
Python
UTF-8
Python
false
false
102
py
from django.contrib import admin from .models import Customer_reg admin.site.register(Customer_reg)
[ "godfreyoyugi@gmail.com" ]
godfreyoyugi@gmail.com
a08ab6b31be0d726a4a4dfe7421f0b9c16ef685d
cd4bbecc3f713b0c25508d0c5674d9e103db5df4
/toontown/uberdog/DistributedDataStoreManagerUD.py
c1864d2d2991b668656f61db62d2438a44d78bda
[]
no_license
peppythegod/ToontownOnline
dce0351cfa1ad8c476e035aa3947fdf53de916a6
2e5a106f3027714d301f284721382cb956cd87a0
refs/heads/master
2020-04-20T05:05:22.934339
2020-01-02T18:05:28
2020-01-02T18:05:28
168,646,608
11
2
null
null
null
null
UTF-8
Python
false
false
534
py
from direct.directnotify import DirectNotifyGlobal from direct.distributed.DistributedObjectUD import DistributedObjectUD class DistributedDataStoreManagerUD(DistributedObjectUD): notify = DirectNotifyGlobal.directNotify.newCategory( "DistributedDataStoreManagerUD") def startStore(self, todo0): ...
[ "47166977+peppythegod@users.noreply.github.com" ]
47166977+peppythegod@users.noreply.github.com
c1d974e7e6cf768747ece37ba5b34fdb442db5c0
58c07f23c63bfb0ac69c7aa7de03973f1b1b4234
/scripts/gen_keys.py
d25c93ca9ee2d285c3affdd89e8514fa1607dc31
[ "MIT" ]
permissive
zconnect-iot/zconnect-django
4d32e7535bebce4e94d1eb1a532d7e3b82326ca7
5c569f54f100e23d72e2ac4de795739ea461a431
refs/heads/master
2020-03-21T15:35:35.361709
2018-07-05T11:00:25
2018-07-05T11:00:25
138,721,705
2
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
#!/usr/bin/env python import json import click @click.command() @click.option("--key-size", default=2048) def gen_keys(key_size): try: from jwcrypto.jwk import JWK, JWKSet except ImportError as e: msg = "You have to install jwcrypto to use this function" print(msg) raise Impor...
[ "boulton@zoetrope.io" ]
boulton@zoetrope.io
d36cda5b64b965e0b79297d5bd1071cb8c0aa807
f3e6b05498f0c3922f493c66230a7fef5dbed5d2
/python/CopyData.py
dbeae38bba4dba9f94500467cb09fdcb8a489575
[]
no_license
edelmann/CRAB2
99dbc1c51db6ab6d5169e17e171dcbed5d308e0f
c810426678206a3559387ffab301dc4e3b1abebc
refs/heads/master
2020-04-05T23:33:10.672514
2014-04-10T15:57:05
2014-04-10T15:57:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,402
py
__revision__ = "$Id: CopyData.py,v 1.30 2012/08/23 13:21:41 belforte Exp $" __version__ = "$Revision: 1.30 $" from Actor import * from crab_util import * from crab_exceptions import * import common import string class CopyData(Actor): def __init__(self, cfg_params, nj_list, StatusObj): """ constr...
[ "giulio.eulisse@cern.ch" ]
giulio.eulisse@cern.ch
983905009d611aa5df69e476320e5405728cf778
84a55714ce7f1fa026f554ab631c9b30ad80d94d
/python_/list_test.py
e92e727f932146975ad422b2dcef3bfe9c1796d6
[]
no_license
casterbn/my_program
d16499797aaf9e402394141f85b23e60dab343c2
52ff4bb3c5709a1c023d69d8697ba0810b3bf52b
refs/heads/master
2022-04-02T13:12:37.580488
2020-02-11T05:14:51
2020-02-11T05:14:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
#!/usr/bin/python list = ["dai",123,10.02] list_1 = ["chenghe"] list[2] = "hehe" print list[0] print list print list[0:1] print list * 2 print list + list_1 print "********************" print list[1:2]
[ "41727862+geqian@users.noreply.github.com" ]
41727862+geqian@users.noreply.github.com
1a90d0428125a62a0333bfd680b3f959b2a56cf0
8aa0d1d407bb1c66d01261f7e2c4e9832e856a2d
/experiments/experiments_ccle_ec/model_selection/plots/plot_nmf_vb_model_selection.py
08a1098ec84def388644268fa9a7ba8f2524b4ef
[]
no_license
garedaba/BNMTF_ARD
59e3ec1dbfd2a9ab9f4ec61368ec06e3783c3ee4
0a89e4b4971ff66c25010bd53ee2622aeaf69ae9
refs/heads/master
2022-01-16T06:57:12.581285
2018-06-10T10:22:12
2018-06-10T10:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
""" Plot the performances of the normal vs ARD model for NMF VB. """ import matplotlib.pyplot as plt import numpy ''' Plot settings. ''' metrics = ['MSE']#['MSE','R^2','Rp'] MSE_min, MSE_max = 0, 100 values_K = [1,2,3,4,5,6,7,8,9,10,12,14,16,18,20] folder_plots = "./" folder_results = "./../results/" plot_file = fo...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
a1d5b9cec13c072f440e93bf6abec6bc752b4a1f
5db0fab37c2b8a618d85d3b60fab9f806c416474
/src/python/pants/backend/python/dependency_inference/default_unowned_dependencies.py
15790cb72db23449f955ea62c94b7132c6613182
[ "Apache-2.0" ]
permissive
pantsbuild/pants
4988d1ac5474ec95f94ce2218aeb759401e4b011
98cbda8545f0d58c586ed2daa76fefd729d5e0d5
refs/heads/main
2023-09-05T03:44:17.646899
2023-09-01T19:52:09
2023-09-01T19:52:09
7,209,075
2,708
593
Apache-2.0
2023-09-14T19:33:33
2012-12-17T17:39:04
Python
UTF-8
Python
false
false
5,154
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from typing import List _STDLIB_MODULES = [ # See https://docs.python.org/3/library/sys.html#sys.stdlib_module_names # No modules should be removed, unless the version of Python t...
[ "noreply@github.com" ]
pantsbuild.noreply@github.com
e3c4c5911c911a3ba263921f2551574bb31b789b
4f54a1933e0ce1014703ebc7a23de7ebc67fe4c8
/banbrick/xpanel/adminx/__init__.py
114e988b335aed0d6e6945170bd2d36b944f8137
[]
no_license
nicholaswan/banbrick
294ac8d98b9c69bcf74dec4cf7adefaaf2cc91cc
2c372ac3d6507053d35c8e23609a6ec1ab4241e7
refs/heads/master
2021-01-12T02:21:51.073734
2015-09-27T11:58:49
2015-09-27T11:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
import xadmin from xadmin import views from django.utils.translation import ugettext_lazy as _ from core import models from .item import ( MonitorItemAdmin, MonitorItemHistoryAdmin, ) from .project import ( ProjectAdmin, ) from .trigger import( TriggerAdmin, ) class BaseAdminViewSetting(object): ena...
[ "imyikong@gmail.com" ]
imyikong@gmail.com
26e0e94e534391ff8f609d82be615f7dde112dc4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/48/usersdata/108/16942/submittedfiles/estatistica.py
86554aef122767dd8d31ade832ddaf00f6c43d4f
[]
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
764
py
# -*- coding: utf-8 -*- from __future__ import division def media(lista): soma = 0 for i in range(0,len(lista),1): soma = soma + lista[i] resultado = soma/len(lista) return resultado def desviopadrao (lista): somatorio=0 for i in range (0,len(lista),1): somatorio= somatorio + (...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ad6b0d21c18fd59ebab3b1ce3e72471d29e83d32
4f21e3301c1a8699745528177b3210b4f1a1f1d5
/week10/codingbat/front9.py
09d2e8cc3c0ef01f1cada5760ea635ba1edb0161
[]
no_license
ndina/webdev2019
7fd0250b662b378d55e24e931f82d0b2538d63a5
eae4808e2f0bfcdd5a366fd4692c041b96faaa0b
refs/heads/master
2020-05-03T22:05:12.392913
2019-05-04T02:46:56
2019-05-04T02:46:56
167,550,783
0
1
null
null
null
null
UTF-8
Python
false
false
197
py
def array_front9(nums): if len(nums) <= 4: for num in nums: if num == 9: return True else: for i in range(0, 4): if nums[i] == 9: return True return False
[ "dbom12360@gmail.com" ]
dbom12360@gmail.com
4a66170e965ea9f02cf73dfe28a031f8fcad3614
19e37b1aed63a5e519feab8c0207f0d6a8761f45
/solarsanweb/cluster/management/commands/cluster_beacon.py
8383b77e2abce500a072c3ea68849c172e1d1d4f
[]
no_license
akatrevorjay/solarsanweb
8391a6dc970c79ce94803c960f73306168c8038b
9bc47e6eeff2944f98a0db4fcab32c5dd95fd025
refs/heads/master
2020-12-03T04:03:02.819026
2013-01-13T14:38:13
2013-01-13T14:39:06
18,650,835
1
1
null
null
null
null
UTF-8
Python
false
false
723
py
from __future__ import with_statement from django.core.management.base import BaseCommand, CommandError from django.conf import settings import logging import time from beacon import Beacon class Command(BaseCommand): help = 'Run SolarSan Cluster Beacon' #args = 'tag' #label = 'annotation tag (TODO, FIXM...
[ "trevorj@localhostsolutions.com" ]
trevorj@localhostsolutions.com
13f032fe3c4839bbda38771af6d200de84bc95b6
d29293cbaef904a8b1cae69b94ff215fe5e52af3
/website-sosokan/sosokan/migrations/0074_auto_20170109_1613.py
565d590f7c8aa6d340e2a6e82e23a8ab1a23fa8e
[]
no_license
Sosoking328/BeautyContest
e00e22a8b8539846e5f39802fab927804bf81e3e
5689640be30d92a81a9f4d50e348fec26705a149
refs/heads/master
2022-12-11T22:53:31.419871
2017-07-21T20:56:39
2017-07-21T20:56:39
97,427,120
1
0
null
2022-12-07T23:57:43
2017-07-17T02:29:38
Python
UTF-8
Python
false
false
4,545
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2017-01-09 21:13 from __future__ import unicode_literals import datetime from django.db import migrations, models import django.db.models.deletion import sosokan.models class Migration(migrations.Migration): dependencies = [ ('sosokan', '0073_auto_2...
[ "king@sosokanapp.com" ]
king@sosokanapp.com
a2bb4dbc5de25ea146d0d4fdfb856ea56dd02857
a25aa09af984d08084a395f9b6df427d3756f11a
/leetcode_practice-master/leetcode_contest/week/week145/week145.py
617836b9cacb48ef94ba35a53dfb1a9e782986bb
[]
no_license
luyihsien/leetcodepy
31971e851a4ae77942a5d9e3ff07faea6e504c66
a54bd09f4b28f106196a6cd8a0f9c056bcd237e6
refs/heads/master
2020-05-19T13:21:57.854086
2019-10-16T14:23:00
2019-10-16T14:23:00
185,037,569
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
class Solution: def relativeSortArray(self, arr1, arr2): d={} for i in arr1: if i in arr2 and i in d: d[i]+=1 elif i in arr2: d[i]=1 a=[] for i in arr2: a.extend([i]*d[i]) arr=[x for x in arr1 if x not in arr...
[ "luyihsien@gmail.com" ]
luyihsien@gmail.com
fe37dd49d83242d75a135fbe1e13a6e6d5bc0f62
7d5bd2facea611c51a2abf7ef036b827d3053c74
/venv/Scripts/pip3.7-script.py
f8afc588bf65f79398c7decd0a30cb73a0742603
[]
no_license
freemanwang/PythonLearning
d2c35abc364a2554624d43abfdd6a8aeff35ec32
ed55162e1f19090831fb855838007a9863b09d12
refs/heads/master
2020-06-29T19:45:39.180367
2019-08-05T07:47:04
2019-08-05T07:47:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
#!C:\Users\FZF\PycharmProjects\day01\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __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.argv[0]...
[ "121689123@qq.com" ]
121689123@qq.com
76764993a82fa996a2b615556a28e9214c731367
7c5fb33929116bb77b438de3ead93b3978b5af71
/alf/networks/preprocessor_networks.py
92792bf49006a039f576f8474328fb2f32c5b1f4
[ "Apache-2.0" ]
permissive
HorizonRobotics/alf
d6dac891322a81ccb7e2a9749139627b1eda28cb
b00ff2fa5e660de31020338ba340263183fbeaa4
refs/heads/pytorch
2023-08-21T18:51:41.370566
2023-08-16T00:07:22
2023-08-16T00:07:22
178,459,453
288
57
Apache-2.0
2023-09-14T20:40:20
2019-03-29T18:44:07
Python
UTF-8
Python
false
false
7,090
py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. 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...
[ "noreply@github.com" ]
HorizonRobotics.noreply@github.com
fd3bfc51bccaabcd4a635ea31a98b1b494f8e036
76e62ddbfdfba19c80b37e855a4df67672ef0808
/IVTa/2014/SAVCHENKOV_A_M/task_1_28.py
5f1babfeaa215707d37f84a6fbfd72f88443e789
[ "Apache-2.0" ]
permissive
stasvorosh/pythonintask
9d30f3cd492e89783b7221402375c1ebe4690baa
8169ed26510022fe0d589f4013f11749131957df
refs/heads/master
2021-01-17T16:49:32.778063
2016-10-10T14:08:04
2016-10-10T14:08:04
52,255,539
6
0
null
2016-02-22T07:33:16
2016-02-22T07:33:15
null
UTF-8
Python
false
false
661
py
# Задача 1. Вариант 28 # Напишите программу, которая будет сообщать род деятельности и псевдоним под # которым скрывается Норма Бейкер. После вывода информации программа должна # дожидаться пока пользователь нажмет Enter для выхода. print("Норма Бейкер, более известная как Мэрилин Монро - американская \nкиноактриса, ...
[ "stasyan.v@gmail.com" ]
stasyan.v@gmail.com
b75936d0d354973075178911191c40e4d58f41ea
1929443c8e4ec6ccd79777f18d161546867e17ef
/methods/transformers/src/transformers/pipelines.py
a3be3ee296094100d2adcd1404042490c4302bc8
[ "MIT", "Apache-2.0" ]
permissive
INK-USC/RiddleSense
6f4b00546d7f4d5ada12db50929c1f0d7713d541
a3d57eaf084da9cf6b77692c608e2cd2870fbd97
refs/heads/main
2023-08-14T19:01:01.478946
2021-07-05T04:06:01
2021-07-05T04:06:01
376,487,870
8
2
null
null
null
null
UTF-8
Python
false
false
127,233
py
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # 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...
[ "yuchen.lin@usc.edu" ]
yuchen.lin@usc.edu
db88473cf64487a1b30b863997998f29d70c10be
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_1/pdykey001/question1.py
40550d076abafc974318c05055dbada3820e1af2
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
#PDYKEY001 #Question 1 print(" ____ ____ ___ ____ _____ _ _ _ _ _ ") print(" / ___/ ___|_ _/ ___|| ___| | | | \ | | |") print("| | \___ \| |\___ \| |_ | | | | \| | |") print("| |___ ___) | | ___) | _| | |_| | |\ |_|") print(" \____|____/___|____/|_| \___/|_| \_(_)")
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
7c150c3158227dabc2f1d5ea210d37911f04bfe1
13131e0e4805aa48bf64647f5da666e2e72dab9a
/misc/sync_experts.py
1e12d4ec2f0160da4865b57331732442a0fb9d28
[]
no_license
m-bain/collaborative-experts
4ae6632f0ec36b612b768048b2daa623d8b4c385
3a224ecad6fe36722112181c3ac48f918a799081
refs/heads/master
2021-01-08T19:43:14.689074
2020-02-16T06:05:06
2020-02-16T06:05:06
242,124,924
1
0
null
2020-02-21T11:35:41
2020-02-21T11:35:40
null
UTF-8
Python
false
false
4,872
py
"""A small utility for transferring features to/from the webserver. Example usage: To fetch features for LSMDC, run the following in the project root folder: python misc/sync_experts.py --dataset MSRVTT """ import os import time import subprocess import argparse from pathlib import Path def upload_to_server(web_dir,...
[ "albanie@robots.ox.ac.uk" ]
albanie@robots.ox.ac.uk
d935c4fcce930d8986daef12318e2ff68c2a6a24
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5756407898963968_0/Python/alantian/a.py
620f5157fc9c686e0141816212d144468cc95f04
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
462
py
#!/usr/bin/env python3 def rl(): return [ int(_) for _ in input().split() ] T, *_ = rl() for C in range(1,T+1): r1, *_ = rl() l1 = [ rl() for i in range(4) ] [r1-1] r2, *_ = rl() l2 = [ rl() for i in range(4) ] [r2-1] s = set(l1) & set(l2) if len(s) == 0: answer = 'Volunteer cheate...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
728e2c339b4d5197fff7581acfccced65e058450
bf3a266294c62cafc9508f7d85102c1d318c9bde
/project/spiders/ics/task/todo/zhong_guo_ting_shen_gong_kai_wang/task.py
b0567b185dbd71c536a851573d0d58aeddf145fd
[]
no_license
stonegithubs/spiders
417442c94d2531b4b7e58990c5611de8dd9c1789
eeafe77fc8ab816e946522e99f02ba53b5350484
refs/heads/master
2020-07-15T09:17:03.305808
2019-08-30T08:40:30
2019-08-30T08:40:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'wu_yong' from ics.scheduler import app from ics.utils import get_ics_logger from ics.scheduler.new_task import StableTask from ics.utils.decorator import stable2 from ics.utils.exception_util import LogicException from ics.crawler.ktgg.spiders.province.qg.z...
[ "31926990@qq.com" ]
31926990@qq.com
97c973f1be1bdc5ee31baf94f312cb2536e83a18
f9d409bbd664b236624198e3204bc2756a105347
/viceversa/urls.py
9a2d8b8258576ee50d18405ddad7d36fa04a0923
[]
no_license
Kadirov777/viceversa-project
f08c1df9c9567da90b1b82597ae171c40c0d14e2
3d07ed9fab99af48e390d3dd09172447f80b10ff
refs/heads/main
2022-12-27T11:26:17.110360
2020-10-08T15:15:07
2020-10-08T15:15:07
302,134,955
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
"""viceversa URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "you@example.com" ]
you@example.com
5c646ba38130642398a2192d79fab6764e1356e3
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/classification/EfficientNet-B3/pycls/datasets/imagenet.py
460bf2860b619bc305332ff95dd9609f676f892d
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer" ]
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
4,628
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may n...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
33d642ee6c7813d774860a3695a20f0b5d0d7afa
46201552303331f68418e67231cce5f4688b85e3
/awesome_gans/datasets.py
50480bfc6f6f9087c491fc02efff2349a59b2c71
[ "MIT" ]
permissive
kozistr/Awesome-GANs
6c8d7a62eefe4f60b3b8e4261d073c74f22dd52c
6548b49d8c05459f7b252c17d0959b5825d2fc69
refs/heads/master
2023-07-19T09:37:55.311749
2022-06-25T12:03:10
2022-06-25T12:03:10
92,664,599
820
195
MIT
2021-03-30T01:46:01
2017-05-28T14:00:08
Python
UTF-8
Python
false
false
33,462
py
import os import sys from glob import glob from multiprocessing import Pool import cv2 import h5py import numpy as np import tensorflow as tf from sklearn.model_selection import train_test_split from tqdm import tqdm seed = 1337 def one_hot(labels_dense, num_classes: int = 10): num_labels = labels_dense.shape[0...
[ "kozistr@gmail.com" ]
kozistr@gmail.com
205dc9ce13583e17f7619d278d4b74b78c219fb4
87828431072e3c60a92dc274b078d7cf1e5705be
/back_python/feedback/migrations/0009_orgactivityhistory_fee.py
bbd94bee3dfe3ef80e5ab0903e5ee5927e9f5ee0
[]
no_license
cash2one/habit
90adfd80427a0c0d04104ea5cf8123cf025b2d8b
3782e498e1e40d6b638aaf2c7c1ac087c0739a36
refs/heads/master
2021-01-19T12:32:51.627847
2017-04-11T15:41:28
2017-04-11T15:41:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-30 15:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('feedback', '0008_orgactivityhistory_activitydays'), ] operations = [ migrat...
[ "jiangyong@qq.com" ]
jiangyong@qq.com
32d46eda68ca1cf69714cd01750ed807675c290e
e0e6ef2f917a84eca1683db5d590e670a99219ff
/parser/generated/python/CheckLst.py
11152e0b339f09a8a713cc78c7a964928277b9ed
[]
no_license
mabudrais/LCLBinding
57bf4ee255493e7d492f04f21e67544edebe70a9
10adee21f65ee0cf5ff533adfc3a402b389442cf
refs/heads/master
2020-04-10T13:20:38.788353
2018-12-22T14:36:07
2018-12-22T14:36:07
161,047,806
0
0
null
null
null
null
UTF-8
Python
false
false
7,803
py
from StdCtrls import * from Controls import * from Graphics import * from GraphType import * from Classes import * from MainPasObject import * import LCLBindingUtil #import end #class TCustomCheckListBox start class TCustomCheckListBox(TCustomListBox): # pointer=c_void_p() def __init__(self):#TCustomCheckListBox...
[ "m.abudrais@yahoo.com" ]
m.abudrais@yahoo.com
d0906b10d0008eb4d0ad79ba9290eefcdcf46adb
5b4fe473179b5fadaf59ec96d55b2ec4cb326f65
/src/graph_transpiler/webdnn/backend/webgl/optimize_rules/simplify_channel_mode_conversion/simplify_nonsense_channel_mode_conversion.py
265219107791b84d56ed4ff95317ed8213ca1c2c
[ "Zlib", "MIT" ]
permissive
TarrySingh/webdnn
13d3f1ec4936916abacfb67e270f48571e2fcff2
b31b19de0798d8ca198b78d19cb06e4fce1bc260
refs/heads/master
2021-05-07T02:24:47.500746
2017-11-13T13:00:24
2017-11-13T13:00:24
110,582,816
0
1
null
2017-11-13T18:03:46
2017-11-13T18:03:46
null
UTF-8
Python
false
false
2,174
py
from webdnn.backend.webgl.operators.convert_r_to_rgba import ConvertRtoRGBA from webdnn.backend.webgl.operators.convert_rgba_to_r import ConvertRGBAtoR from webdnn.graph import traverse from webdnn.graph.graph import Graph from webdnn.graph.optimize_rule import OptimizeRule from webdnn.graph.variable import Variable ...
[ "y.kikura@gmail.com" ]
y.kikura@gmail.com
58744573f5be63eaa194a30c1861f62d672b49d5
d811552a40a5e492986218f856698f962826be79
/datapackage_pipelines_budgetkey/pipelines/reports/calc-score.py
6be2fe9a895b9d88f2d7440aab82981d30a4ace8
[]
no_license
OpenBudget/budgetkey-data-pipelines
0ef2d78210a043e7e3fd56af3890aaa5c8756ff1
4a3f23475fa2ff769f5430b61b18a205796760c0
refs/heads/master
2023-08-07T15:12:00.768875
2023-08-06T12:07:16
2023-08-06T12:07:16
82,576,993
8
40
null
2022-12-26T19:36:56
2017-02-20T16:10:38
Python
UTF-8
Python
false
false
662
py
import math import datetime import logging from datapackage_pipelines.wrapper import process curyear = datetime.datetime.now().date().year + 1 def modify_datapackage(dp, *_): dp['resources'][0]['schema']['fields'].append({ 'name': 'score', 'type': 'number', 'es:score-column': True }) ...
[ "adam.kariv@gmail.com" ]
adam.kariv@gmail.com
43e20616b45012de89269abcf17cad609a647109
e68f58486012ca184242b611d21d73885a25ac0e
/user_account/tasks.py
72cd814d639742970d828820706a89c5d28be969
[]
no_license
aaogoltcov/DjangoRestAPIPythonDiplom
a8bb38cdc7ee3cf54e923180d0d3cc8b179ab9fb
5c5e8078f27e00744993f027f6935147f103de35
refs/heads/master
2022-12-24T23:44:10.892444
2020-10-13T10:23:51
2020-10-13T10:23:51
298,267,991
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
from celery import shared_task from django.core.mail import EmailMultiAlternatives from Orders import settings from user_account.models import ConfirmEmailToken @shared_task def new_user_registered(user_id, **kwargs): """ Отправляем письмо с подтрердждением почты """ # send an e-mail to the user ...
[ "aaogoltcov@mail.ru" ]
aaogoltcov@mail.ru
a07e2a62664aae5f3ced63af1a552eebfca2c7c6
e60487a8f5aad5aab16e671dcd00f0e64379961b
/python_stack/django/django_ORM/manage.py
1385ba1a47c4afc848fa3f55dc1c0429c70ec44c
[]
no_license
reenadangi/python
4fde31737e5745bc5650d015e3fa4354ce9e87a9
568221ba417dda3be7f2ef1d2f393a7dea6ccb74
refs/heads/master
2021-08-18T08:25:40.774877
2021-03-27T22:20:17
2021-03-27T22:20:17
247,536,946
0
0
null
null
null
null
UTF-8
Python
false
false
630
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', 'django_ORM.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "reena.dangi@gmail.com" ]
reena.dangi@gmail.com
2bd4aa9411df5e470365134cd751a076abf95508
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03488/s110514454.py
4a602a55adb1bcc3ec17b50faa7704492561997c
[]
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
718
py
def Xok(): s=set([xp]) for i in X: tmp=set() for c in s: tmp.add(c+i) tmp.add(c-i) s=tmp return True if x in s else False def Yok(): s=set([0]) for i in Y: tmp=set() for c in s: tmp.add(c+i) tmp.add(c-i) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
66fe898890fb1c92495aa7abb10388717c6c4588
d1d79d0c3889316b298852834b346d4246825e66
/blackbot/core/wss/ttp/art/art_T1070.006-1.py
9d0aff5eb9f240fed454d7224abb07b7b12c7856
[]
no_license
ammasajan/Atomic-Red-Team-Intelligence-C2
78d1ed2de49af71d4c3c74db484e63c7e093809f
5919804f0bdeb15ea724cd32a48f377bce208277
refs/heads/master
2023-07-17T12:48:15.249921
2021-08-21T20:10:30
2021-08-21T20:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,891
py
from blackbot.core.utils import get_path_in_package from blackbot.core.wss.atomic import Atomic from terminaltables import SingleTable import os import json class Atomic(Atomic): def __init__(self): self.name = 'DefenseEvasion/T1070.006-1' self.controller_type = '' self.external_id = 'T1070...
[ "root@uw2artic201.blackbot.net" ]
root@uw2artic201.blackbot.net
effeb3debd81ab4dc155b9797e513a3c26790e87
029948b3fd0e41d80d66c84d808abff4fcb24ac8
/dnac_api_client/models/client_health_response.py
1f566b6f54c11a990c99c276605b094b148d403c
[]
no_license
yijxiang/dnac-api-client
842d1da9e156820942656b8f34342d52c96d3c37
256d016e2df8fc1b3fdad6e28f441c6005b43b07
refs/heads/master
2021-09-25T21:10:09.502447
2018-10-25T14:39:57
2018-10-25T14:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,067
py
# coding: utf-8 """ Cisco DNA Center Platform v. 1.2.x (EFT) REST API (EFT) # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class ClientHealthResponse(object): """NOTE: This class is auto generated by...
[ "cunningr@cisco.com" ]
cunningr@cisco.com
48d9ea44cd0518c1aee6cae4eeda6364c6cd2498
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/pydev/pydevd_attach_to_process/winappdbg/win32/defines.py
187e4294c7bc4dac568e314f727f86245511be38
[ "Apache-2.0", "EPL-1.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
22,799
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2009-2014, Mario Vilas # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above...
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com
8965dffb279cd0250d6dedd078be3726bf17b195
2080d84cbeafe9853cca61ed0879203c3a87c1f4
/evaluation/evaluation.py
e7801ba9774160fd494b229663601f7cc3410bce
[]
no_license
yxliang/OpenDL
2f2c27acb54f790bd3d2b7715f5ef5fd2faabb40
86db2fa814f7de4aa4c9c477391932ff04bf945f
refs/heads/master
2021-01-20T13:44:23.893057
2017-05-07T02:03:53
2017-05-07T02:03:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,200
py
import os,argparse,sys,time,shutil import numpy as np import sys sys.path.append(r'../../python') import caffe def clearlasterrors(args): print "Clearing last errors" subdirs=os.listdir(args.errordir) for subdir in subdirs: print subdir files=os.listdir(args.errordir+"/"+subdir) fo...
[ "1293830063@qq.com" ]
1293830063@qq.com
05d7351c6a9690a59a048844908faa3efb08bbc9
29c821fc98e3009536aa69ccfe55a0ada9de72f2
/scripts/farhan_homodimer_scripts/doAll_interchain_protein.py
6e55ef5dc2041ce0709de1fcc206c04d62562c57
[]
no_license
rnaimehaom/DeepComplex
a01d3f6c6086f2372f116ef575bdf61723356976
a52ebb511351392c5a45fc6028c5edc26406faf0
refs/heads/master
2023-05-31T00:59:11.356737
2021-06-03T00:25:47
2021-06-03T00:25:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 5 09:48:37 2019 @author: farhan """ #this script does the interchain contacts of the .atom files of a particular protein with the highest number of lines #usage python doAll_interchain_protein.py <protein_name> <.atom folder> <dist> <out_dir> imp...
[ "[fqg7h@mail.missouri.edu]" ]
[fqg7h@mail.missouri.edu]
3a9d55bc108e5fb60fcd11d85cedd320c6a8075a
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp179_8500.py
2966bf707df9041bb2b12668eaca8792858cbdf9
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,700
py
ITEM: TIMESTEP 8500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -1.5938446874152888e+02 2.0658446874157320e+02 -1.5938446874152888e+02 2.0658446874157320e+02 -1.5938446874152888e+02 2.0658446874157320e+02 ITEM: ATOMS id type xs ys zs 12 1 0.783266 0.0318576 0.0170192 1387 1 0.489613 0.111742 0.0139734 1293 1 0...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
248c6094243a56268185bc7c1ddabbce140e048f
86957fcfa608cb3d2786c815f1cbaa10f1586c8f
/airflow/providers/apache/hive/transfers/hive_to_mysql.py
b1a3669d7171cb8de42502c2506f040e5b4e4d60
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
XD-DENG/airflow
4843cf413755d7328c0a0c6fddbad030a950829e
75da113f5bd801488accc4f29653b394e05b721c
refs/heads/main
2023-02-17T04:08:28.141062
2022-12-18T03:33:44
2022-12-18T03:33:44
142,260,154
1
2
Apache-2.0
2022-12-10T06:52:06
2018-07-25T06:55:49
Python
UTF-8
Python
false
false
5,208
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
XD-DENG.noreply@github.com
e589782f7bbd182d8ff4854e3c9a83a285c5f16d
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/common/Lib/ctypes/test/test_pep3118.py
280fc536c74a000fefb4f160a28cd9c406d16fb5
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
6,097
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/Lib/ctypes/test/test_pep3118.py import unittest from ctypes import * import re, sys if sys.byteorder == 'little': THIS_ENDIAN = '<' OTHER_ENDIAN = '>' else: THIS_ENDIAN = '>' OTHER_ENDIAN = '<' def normalize(format)...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
95ae5e5b616eb17e4f8c56a6de9903b20d2315a2
522cbeb324df9843f9433d190af60f090119b4b1
/PythonAulas_Desafios/Desafios/Desafio68.py
bea523b48f6c1f75fa00273095e9a4ef73589489
[]
no_license
Andremarcucci98/CursoEmVideo
52d7c78d42b9dc2a28eef8f7db77972c774dece6
751d1fcd0f37da1201218d23828a6cf526f9d029
refs/heads/master
2023-05-29T03:38:36.002154
2021-06-23T14:28:50
2021-06-23T14:28:50
353,194,123
0
0
null
null
null
null
UTF-8
Python
false
false
1,292
py
print('{:=^40}'.format(' PAR OU ÍMPAR ')) print('Vamos jogar PAR ou ÍMPAR...') from random import randint pessoa = '' cont = 0 while True: jogador = int(input('Digite um valor: ')) computador = randint(1,11) paridade = (jogador + computador) % 2 pessoa = str(input('Escolha entre Par ou Ímpar [P/I]: '))....
[ "marcuccimaciel.andre@gmail.com" ]
marcuccimaciel.andre@gmail.com
a4c4c33fea02b1bba72d6ac3873899a220f04f7b
49536aafb22a77a6caf249c7fadef46d63d24dfe
/tensorflow/tensorflow/contrib/layers/python/layers/layers.py
4d58c896d03de3fdb4c6883107f9f0da3b33bb1f
[ "Apache-2.0" ]
permissive
wangzhi01/deeplearning-1
4e5ad93f0d9ecd302b74352f80fe1fa6ae70bf0d
46ab82253d956953b8aa98e97ceb6cd290e82288
refs/heads/master
2020-05-28T03:14:55.687567
2018-09-12T16:52:09
2018-09-12T16:52:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
132,272
py
# -*- coding: utf-8 -*- # 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...
[ "hanshuobest@163.com" ]
hanshuobest@163.com
af794b504deedfe7c3100af5f6f718a4615d1fb4
aa2ae30a88361b4b80ffa28c4d8a54600bbee542
/Chapter09/00_slow_grads.py
bf9e8b7338dfd168abaa283035e45b60e8ffd0fc
[ "MIT" ]
permissive
PacktPublishing/Deep-Reinforcement-Learning-Hands-On-Second-Edition
6728fadb38076f6243da3d98b1cf18faf6b287af
d5a421d63c6d3ebbdfa54537fa5ce485bc2b9220
refs/heads/master
2023-07-05T23:08:32.621622
2022-01-17T12:18:54
2022-01-17T12:18:54
195,020,985
963
491
MIT
2023-03-25T01:00:07
2019-07-03T09:21:47
Jupyter Notebook
UTF-8
Python
false
false
5,977
py
#!/usr/bin/env python3 import gym import ptan import ptan.ignite as ptan_ignite from datetime import datetime, timedelta import argparse import random import warnings import torch import torch.optim as optim import torch.nn as nn from ignite.engine import Engine from ignite.metrics import RunningAverage from ignite.c...
[ "max.lapan@gmail.com" ]
max.lapan@gmail.com
cfe69bf2b19435d4ce2dff8f6b12b438453ca07d
9f0d20840cdc4332bd72e5bf9be8b046d7910a27
/libcst/codegen/transforms.py
0fcf49980b4c2de68fb4c6ccb319372cdf389bd6
[ "MIT", "Python-2.0", "Apache-2.0" ]
permissive
petersktang/LibCST
d16a59b17bb18107b534cbde80ea1915518581d9
242bd7a7f6b06a04216750a741af03cdec9f5422
refs/heads/master
2020-08-14T01:16:03.914485
2019-10-11T01:04:31
2019-10-11T19:37:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # This holds a series of transforms that help prettify generated code. # The design is such that any of them could be left out and the code # ...
[ "dragonminded@dragonminded.com" ]
dragonminded@dragonminded.com
dbd1c3f2a57951268cfb9ac9d51d5b9639ecae82
9dab41a71bf19a9ad17ee3e9f77c0f58aebd1d6d
/python/uline/uline/uline/handlers/app/official/reconciliation/urls.py
84cc9e54a8972bd0d794c5deefc75794033c5974
[]
no_license
apollowesley/Demo
f0ef8ec6c4ceb0aec76771da8dd9a62fb579eac8
471c4af95d3a7222d6933afc571a8e52e8fe4aee
refs/heads/master
2021-02-15T04:01:51.590697
2018-01-29T01:44:29
2018-01-29T01:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: Ficapy # Create: '10/8/16' from tornado.web import URLSpec as url from .reconTransactionErrorIndex import ReconTransactionErrorIndexHandler from .reconTransactionErrorList import ReconTransactionErrorListHandler from .reconRefundErrorIndex import ReconRefundErr...
[ "36821277@qq.com" ]
36821277@qq.com
2aa0362872a35cdd96a2f48cd6fcf1c08e505ef7
41fd80f9ccc72a17c2db16b7019312a87d3181e8
/zhang_local/pdep/network3126_1.py
e00b25408c9898ec0d1b5efa98aa1a3463738ed9
[]
no_license
aberdeendinius/n-heptane
1510e6704d87283043357aec36317fdb4a2a0c34
1806622607f74495477ef3fd772908d94cff04d9
refs/heads/master
2020-05-26T02:06:49.084015
2019-07-01T15:12:44
2019-07-01T15:12:44
188,069,618
0
0
null
null
null
null
UTF-8
Python
false
false
61,908
py
species( label = '[CH2]C1(CO1)O[C]1CC1(11589)', structure = SMILES('[CH2]C1(CO1)O[C]1CC1'), E0 = (184.988,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([2750,2830,2910,2990,3070,3150,900,940,980,1020,1060,1100,3000,3100,440,815,1455,1000,300,800,800,800,800,800,800,800,800,800,800,1600,16...
[ "dinius.ab@husky.neu.edu" ]
dinius.ab@husky.neu.edu
07e04b29b303f6cb506b28cafd22c65e7edaca32
d9841b45d855c7e6452a22fc021c350b2ea67046
/tasks/models.py
513fac78c370d1d6fcc26bcd39cb0970e06a85e7
[]
no_license
Zhoroev/todolist
3a6437b4322978178d05f5b50842c9c0d67b2f38
ec1da5781d7520ba81e24c8a9b001082d61eb1be
refs/heads/main
2023-07-13T15:32:42.056883
2021-08-20T09:40:19
2021-08-20T09:40:19
395,919,066
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from django.db import models from django.contrib.auth import get_user_model User = get_user_model() class Task(models.Model): creator = models.ForeignKey(User, on_delete=models.CASCADE, related_name='tasks', null=True) body = models.TextField() estimated_finish_time = models.DateTimeField() created_d...
[ "erjan.joroev.kg@gmail.com" ]
erjan.joroev.kg@gmail.com
c671f31c1baccc8d9f54d2b90a41537c4b0c4b56
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/testing/test_programs/without_classes/comparations/stypy_test_files/multiple_comparations__type_data.py
3fea2e25d376503fb68d532cc88109804a103542
[]
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
244
py
import types test_types = { '__main__': { 'a': int, 'c': int, 'b': int, 'd': int, 'TypeDataFileWriter': types.ClassType, 'c2': bool, 'c3': bool, 'c1': bool, }, }
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
fd0a427e7c0cd8e269292beb215f705b45798a91
fd899e63d4c33261911f0e35fb8cb286332b7a95
/algorithm_202108/baek7567.py
c4a70a402f2f068cfbb52d164fe976691d753bc0
[]
no_license
choyj0920/algorithm
948452d652455973e928ef537729174109972252
e1287799e7073232cbf8904cea7c348a2f2a9c30
refs/heads/master
2023-05-25T22:23:11.044049
2021-09-08T03:40:42
2021-08-13T08:04:46
225,736,983
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
# baek7567 그릇 arr=input().strip() ans=10 for i in range(1,len(arr)): if arr[i-1] == arr[i]: ans+=5 else: ans +=10 print(ans)
[ "44551544+choyj0920@users.noreply.github.com" ]
44551544+choyj0920@users.noreply.github.com
c4ec2835391bdf00347e74cb95b676c4a7d55a84
45ad7a3690ae72b833e90d600308a98b24b6f42f
/Challenge/MagicGame.py
b983792b390804c420f77f8c0365fa534ec66a94
[]
no_license
Aabid-Hussain/PythonLearningProg
514402ee565ef3e51d9fe7e4b548312cdcedd589
f535fd71d80a7634fed9bec6d82b464b52a0e64a
refs/heads/master
2021-01-11T14:44:22.671770
2019-11-01T07:11:12
2019-11-01T07:11:12
80,202,647
1
2
null
null
null
null
UTF-8
Python
false
false
2,715
py
import random import math # warrior & Battle Class class Warrior(object): def __init__(self, name="warrior", health=0, attackMax=0, blockMax=0): self.name = name self.health = health self.attackMax = attackMax self.blockMax = blockMax def attack(self): atkAmt = self.a...
[ "er.aabidhussain@outlook.com" ]
er.aabidhussain@outlook.com
a2251a5aaf50d46e0baa72963ad392e55a5eba1f
d042b8895dc8347356fa4d5984d07bff41eecc73
/sendfile/__init__.py
925e30aa149c0b84fe6c09b5a73f3b093d69d787
[ "Apache-2.0" ]
permissive
jzx1230/obtainfo
257b075c32c3448096391f258f42dd7f0c081350
883c29ab0a462d11682b60b9b52b2fc93031b816
refs/heads/master
2021-05-08T04:19:33.810848
2015-10-13T10:10:10
2015-10-13T10:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,175
py
VERSION = (0, 3, 6) __version__ = '.'.join(map(str, VERSION)) import os.path from mimetypes import guess_type def _lazy_load(fn): _cached = [] def _decorated(): if not _cached: _cached.append(fn()) return _cached[0] def clear(): while _cached: _cached.pop()...
[ "pczhaoyun@gmail.com" ]
pczhaoyun@gmail.com
ba71dda9f20189a4b6a8b303818d531497a7ac9a
0a27d046e21c3ae385e0109e41b90717b12ed3c7
/apps/arena/migrations/0004_auto_20180903_1230.py
666248b8457d12ca321252c42341d478a91cfd5b
[]
no_license
bbright3493/gz_v1.0.0
375716b26ed4b3221090adc58755de564aa12c3c
9205dfd8dd0c822a9f5352db845fc12c319db3e3
refs/heads/master
2020-03-26T01:17:25.085015
2019-02-11T07:40:23
2019-02-11T07:40:23
144,360,492
0
2
null
2018-09-23T05:58:35
2018-08-11T06:13:02
JavaScript
UTF-8
Python
false
false
950
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-09-03 12:30 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('arena', '0003_auto_20180831_0846'), ] operations = [ migrat...
[ "44704708@qq.com" ]
44704708@qq.com
59c0de0a7285b0fc47ea513f886cfefcbef41daf
1186e0f758d930960aeb5319200ca50e09ff1d35
/cplvm/models/cplvm.py
2fae9e5ed5b93746548d72f16a7ca1683cfab935
[ "MIT" ]
permissive
ethanweinberger/cplvm
c182ee3a960f20ce2975cec5492ec5b1f434dd71
f4bbcfc4b2e9a9cec7d01eb5f7ff3a169d6e3ff6
refs/heads/main
2023-06-17T15:23:15.604291
2021-07-07T12:04:57
2021-07-07T12:04:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,152
py
import functools import warnings import matplotlib.pyplot as plt import numpy as np import seaborn as sns import tensorflow.compat.v2 as tf import tensorflow_probability as tfp from tensorflow_probability import distributions as tfd from tensorflow_probability import bijectors as tfb from scipy.stats import multiv...
[ "ajones788@gmail.com" ]
ajones788@gmail.com
f2758e5a5fdc18e7414175c6d71266557bfd94be
df30cf9f8ae3dbe57e19f29527163fddd1ee8e3c
/.history/section4/pp_01_20200730232838.py
6ca130463d849b62cc954e865ef1014ad533becc
[ "MIT" ]
permissive
KustomApe/python_engineer
d938b5b687a12a9e69341ef72a291b7084c1e1ce
cb931f5c685be87ea518c7a0a6dd89154dce03a8
refs/heads/master
2022-11-26T07:37:26.216587
2020-07-30T23:50:00
2020-07-30T23:50:00
280,748,339
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
s = ['a', 'b', 'c', 'd', 'e', 'f', 'g'] print(s[0]) s[0] = 'X' print(s[2:5]) s[2:5] = ['C', 'D', 'E'] print(s) s[2:5] = [] print(s)
[ "kustomape@gmail.com" ]
kustomape@gmail.com
f7ba0a248d764637e28f12d4ba63988fa453d9df
d9d0d3a82d5ba4016097491c276409b9b1ea778a
/Kattis/boundingrobots.py
ec7c8d6f44b15ffc48a446efa3cf2459977af673
[ "MIT" ]
permissive
ruidazeng/online-judge
311b9f2c3120b47da91da2d404e2ea1d9a2a24dd
6bdf8bbf1af885637dab474d0ccb58aff22a0933
refs/heads/master
2022-02-16T00:35:11.852600
2022-01-26T02:28:53
2022-01-26T02:28:53
191,827,952
0
1
MIT
2019-07-31T10:25:36
2019-06-13T20:21:18
Python
UTF-8
Python
false
false
1,120
py
while True: x, y = map(int, input().split()) if x == 0 and y == 0: break botX, botY = 0, 0 actX, actY = 0, 0 n = int(input()) for _ in range(n): move, distance = input().split() distance = int(distance) if move == 'u': actY += distance ...
[ "ruida.zeng@vanderbilt.edu" ]
ruida.zeng@vanderbilt.edu
39da751936cf7c33df1229c907b4f8fe884c12ef
d3d4653b37346eefa1461008b77630cd782ecd5f
/VBF/plotting/w_lep.py
e907264e7c6e056597b84f05e39588c161cac948
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
dr-stringfellow/PandaAnalysis
267c4bfca79e64b85422e236f36f2ec30e718cec
3f09b8d16ef978ace9a03c216a3eb8bd55c8893b
refs/heads/master
2021-09-19T21:20:40.943068
2018-05-09T09:27:15
2018-05-09T09:27:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,611
py
#!/usr/bin/env python from os import system,mkdir,getenv from sys import argv from array import array import argparse from numpy import arange import numpy as np basedir = getenv('PANDA_FLATDIR') + '' infile = basedir+'/WJets.root' parser = argparse.ArgumentParser(description='plot stuff') parser.add_argument('--ou...
[ "sidn@mit.edu" ]
sidn@mit.edu
64a57e2d644e073358bf75e93f9b4442c5f7ffb8
946d72e6b44e5fdad5b10a9cbca40260d3202413
/political_values.py
ffe351d8dd49eb66c160c3281e70f35046f60b35
[]
no_license
pudo/wahlprogramme
323527b7271a5a2af53530a8b2e2357b3bf1144e
2cf794f10001d183678c3cc1a39b73f4c87035c3
refs/heads/master
2020-06-06T04:56:09.890984
2013-08-09T14:58:39
2013-08-09T14:58:39
11,253,695
1
1
null
null
null
null
UTF-8
Python
false
false
1,414
py
import math import json from sections import load_platforms from pprint import pprint from collections import defaultdict def load_values(): values = {} with open('data/values.txt', 'rb') as fh: for line in fh: if line.strip().startswith('#'): continue label, te...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
7b38aaf0fab6ac560b4d8c2ba868c0781f5d8491
c4b39bdccbc32dd181f8c318c0b781268b25394a
/ProgramForLeetCode/Recruit/yitu3.py
c90cd24822026d7106441a372c43e1605e3aaa34
[]
no_license
DQDH/Algorithm_Code
5224add1939f319e6de534e5f7b8d58d3263e3cf
f1d780b7e8b91b4df704651514018143c6931f9d
refs/heads/master
2022-11-10T02:36:10.187123
2020-06-17T11:43:40
2020-06-17T11:43:40
272,929,211
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
st = input().split(' ') m = int(st[0]) k = int(st[1]) st = input().split(' ') def Q2(st,k): th_one = [] th_two = [] cnt = 0 for ss in st: if int(ss) % 3 != 0: if int(ss) % 3 == 1: th_one.append(1) else: th_two.append(2) ...
[ "1606074918@qq.com" ]
1606074918@qq.com
cff62a242fa0ae5f84a3c2cb1abb1d2accd7436f
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ec/huaweicloudsdkec/v1/model/show_ecn_with_ieg_request.py
a2b4cbe5c9b091f857b77e42668563c682abe790
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,887
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowEcnWithIegRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attrib...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
a7b014b6d88ad77654e8f7bd1eab4bbca28602fc
f90522eee8d87c1486f32f3801a67141f7aee15f
/0274.H-Index/solution.py
7f32834b43a69051844afb62652ae19c14dbcd40
[ "Apache-2.0" ]
permissive
zhlinh/leetcode
15a30af8439e664d2a5f1aa328baf96f0f1791da
6dfa0a4df9ec07b2c746a13c8257780880ea04af
refs/heads/master
2021-01-15T15:49:25.525816
2016-09-20T03:24:10
2016-09-20T03:24:10
48,949,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' ***************************************** Author: zhlinh Email: zhlinhng@gmail.com Version: 0.0.1 Created Time: 2016-05-07 Last_modify: 2016-05-07 ****************************************** ''' ''' Given an array of citations (each citation...
[ "zhlinhng@gmail.com" ]
zhlinhng@gmail.com
96b5e0a6d7db23412a66414d38f10cefe8a34449
7b05b1cc9bfd2c62fbc907a0e60f6c4786a973d8
/goodafternoon.py
1676cdea060e5a5d05d214e1a03150c710ec3032
[]
no_license
zzywxf12/test
3adfc5b944bbd6679482aaf1b7d48a8714a72039
e2596c7db665f15bb3637edb1999420d26d4d4bf
refs/heads/main
2023-08-17T03:04:03.269801
2021-09-25T05:49:20
2021-09-25T05:49:20
409,977,857
0
0
null
null
null
null
UTF-8
Python
false
false
12
py
print("ga")
[ "123@qq.com" ]
123@qq.com
8373ac4bea6b574e297920d7d8e6fd6832f14a2e
7060196e3773efd535813c9adb0ea8eca9d46b6c
/stripe/api_resources/sku.py
cf2203cbe76591836e9bcf1c1f8d8d129d5e4488
[ "MIT" ]
permissive
henry232323/stripe-python
7fc7440a8e8e0a57a26df577d517d9ba36ca00d0
953faf3612522f4294393d341138800691f406e0
refs/heads/master
2020-05-01T06:27:05.154381
2019-03-23T19:21:20
2019-03-23T19:21:20
177,330,547
0
0
MIT
2019-03-23T19:17:54
2019-03-23T19:17:54
null
UTF-8
Python
false
false
398
py
from stripe.api_resources.abstract import CreateableAPIResource from stripe.api_resources.abstract import DeletableAPIResource from stripe.api_resources.abstract import UpdateableAPIResource from stripe.api_resources.abstract import ListableAPIResource class SKU( CreateableAPIResource, UpdateableAPIResource, ...
[ "ob@stripe.com" ]
ob@stripe.com
1c930c7455a6d8963cab9cc7ba5d746668848dba
0cbc02dd7d1efbe61de04dcf1c6eccb6496bf074
/month02/day11_IO并发/demo/myhttp.py
a5f189391d43b572387778baca3adfd30adfe2df
[]
no_license
fsym-fs/Python_AID
0b1755c15e20b214940041e81bedb2d5ec99e3f9
f806bb02cdb1670cfbea6e57846abddf3972b73b
refs/heads/master
2021-03-20T06:57:45.441245
2020-05-27T14:13:45
2020-05-27T14:13:45
247,187,064
0
0
null
null
null
null
UTF-8
Python
false
false
3,365
py
""" 搭建一个http服务,当浏览器发起请求的时候向浏览器发送 index.html 网页 * 将http处理部分封装为函数 * 分析请求内容,如果请求内容是 / 则响应 index.html网页 如果请求内容是其他的则响应404 思路:参考http_test,将响应体改为index.html内容即可 如果分析响应内容则使用split函数切割获取响应内容,看看是不是/ 升级: 使用IO多路复用方法形成IO的并发操作处理 使用类进行封装 网页有多个页面 重点代码 """ from socket import * from select import * class HTTP_two:...
[ "1085414029@qq.com" ]
1085414029@qq.com
64f411a5108320ee6afd0b71b6701849a222569f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/289/106569/submittedfiles/minha_bib.py
3cc70d3b0b753360cb897d158681a8d5da80adf2
[]
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
8,441
py
# -*- coding: utf-8 -*- # COLOQUE SUA BIBLIOTECA A PARTIR DAQUI def simbolo_escolhido (): s = str(input("Qual símbolo você deseja utilizar no jogo? ")) while (s!="X" and s!="O"): print("Símbolo inválido! Tente novamente.") s = str(input("Qual símbolo (X ou O) você deseja utilizar no jogo? ")) ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
402e4cb1997d18e36c5e3e09b08ef27d809f9cf9
bca9c2fa3c4c3d06dd612280ce39090a9dfab9bd
/neekanee/job_scrapers/plugins/com/silkroad/getwellnetwork.py
2cb4ea67f165d65d6a820570503a122aeca88501
[]
no_license
thayton/neekanee
0890dd5e5cf5bf855d4867ae02de6554291dc349
f2b2a13e584469d982f7cc20b49a9b19fed8942d
refs/heads/master
2021-03-27T11:10:07.633264
2018-07-13T14:19:30
2018-07-13T14:19:30
11,584,212
2
0
null
null
null
null
UTF-8
Python
false
false
1,827
py
import re, mechanize, urlparse from neekanee.jobscrapers.jobscraper import JobScraper from neekanee.htmlparse.soupify import soupify, get_all_text from neekanee_solr.models import * COMPANY = { 'name': 'GetWellNetwork', 'hq': 'Bethesda, MD', 'home_page_url': 'http://www.getwellnetwork.com', 'jobs_pa...
[ "thayton@neekanee.com" ]
thayton@neekanee.com
a843dde8e02311813634fd9558a5c9511651c6e9
d5fbb40c8fa95970a6b1dd10920071a3330c6de8
/too_complicated/work_out_common_results.py
a35a6e63b723fa027d1dccfef2fde72635c38b8c
[]
no_license
Pooleyo/theta.py
622000e04a7834a7b12d371337992f6063c3f332
7bdf96f7494db7fda8dbe8d1e8bb536a5b39e39d
refs/heads/master
2021-06-18T06:03:47.176742
2019-09-18T16:02:02
2019-09-18T16:02:02
137,497,437
0
0
null
null
null
null
UTF-8
Python
false
false
2,785
py
def run(width, height, x_scale, y_scale, view_x, view_y, offset, normal, source_position, debug): import math import numpy as np print "Working out common results..." central_pixel = [int(math.ceil(width/2.0) - 1), int(math.ceil(height/2.0) - 1)] width_mm_per_pixel = float(x_scale)/widt...
[ "ajp560@york.ac.uk" ]
ajp560@york.ac.uk
b3c1d9651bb430cba50495358f16117f2ebfdfb6
c1bac16b7d327952b6622cb540396d657fc4b2d8
/sniper/analysis/metric_store.py
7b97fd9bf25004594254f31358c8f113552b8fb2
[]
no_license
williamsyb/Sniper
c3a7fda75b190ec851e6f7564fa42a529cfed929
7bcd99c4e14bf71ef43dc2b378e83d6b5c919ea9
refs/heads/master
2023-03-10T18:08:10.587043
2021-02-25T06:20:01
2021-02-25T06:20:01
326,569,361
2
0
null
null
null
null
UTF-8
Python
false
false
3,726
py
# -*- coding: utf-8 -*- # @Time : 2019/6/14 17:24 # @Author : Yibin Sun # @File : metric_store.py # @Software: PyCharm import copy import empyrical import pandas as pd from data_handler.data_handler import DataHanlder from config import WORKING_DIR class MetricStore: def get_annual_return(self, data): ...
[ "william_sun1990@hotmail.com" ]
william_sun1990@hotmail.com
bf66291b3aca3505cdc8b683624dd89118082878
4d332c45578246847ef2cdcdeb827ca29ab06090
/modules/Bio/Graphics/GenomeDiagram/_Colors.py
311bda79cc0d15862c1b18838f3acc76ae4cc1b7
[ "MIT" ]
permissive
prateekgupta3991/justforlearn
616cc297a2a6119fa959b9337a5e91c77a11ebf7
3984c64063b356cf89003e17a914272983b6cf48
refs/heads/master
2021-03-12T22:09:12.184638
2014-01-28T10:37:07
2014-01-28T10:37:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
/usr/share/pyshared/Bio/Graphics/GenomeDiagram/_Colors.py
[ "prateekgupta.3991@gmail.com" ]
prateekgupta.3991@gmail.com
87dc473349c2c2ee25fdc3cf3c61efeaab6fb2a8
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/HWWSemiLepHighMass/nanoAODv5/v6_production_function_based/2017/Boosted/nuisances.py
923f20cf1136590675614d60e5944cf796cefb3f
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
4,142
py
import os SITE=os.uname()[1] xrootdPath='' if 'iihe' in SITE : xrootdPath = 'dcap://maite.iihe.ac.be/' treeBaseDir = '/pnfs/iihe/cms/store/user/xjanssen/HWW2015/' elif 'cern' in SITE : treeBaseDir = '/eos/cms/store/group/phys_higgs/cmshww/amassiro/HWWNano/' elif 'sdfarm' in SITE: xrootdPath = 'root://...
[ "soarnsoar@gmail.com" ]
soarnsoar@gmail.com
eee97a7c9d8fa6ab6a5a76b3e39f342098a815f1
d8c974fdff3d660657082cb9c5e4c7357718bb23
/migen/bank/description.py
8632dd2c13d1af45d6788009d725082ae2660918
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
stiggy87/migen
804ab2e1e6ca322a6b8179d10f1d3d72de33cff7
bf6ab2b4f67382661fa183d01b7443c2aeb2cadd
refs/heads/master
2020-12-27T21:30:25.302482
2014-02-17T16:40:15
2014-02-17T16:40:15
17,274,561
1
0
null
null
null
null
UTF-8
Python
false
false
4,417
py
from migen.util.misc import xdir from migen.fhdl.std import * from migen.fhdl.tracer import get_obj_var_name class _CSRBase(HUID): def __init__(self, size, name): HUID.__init__(self) self.name = get_obj_var_name(name) if self.name is None: raise ValueError("Cannot extract CSR name from code, need to specify....
[ "sebastien@milkymist.org" ]
sebastien@milkymist.org
1dabe2329e5b336b856250ea3024864c7010c259
67793fa8765a28c10fd8a230f79dd90e29b4b75c
/scrapers/youtube_video_scraper.py
2ec321c4344f00ef2a8ffc0d05cb1ff5e2e56a34
[]
no_license
Samyak2/Recipe-viewer-flask-app
3de6e732ecebb676a636c605499cb87977ea5718
7dafd2ab8c012773ae0cf4d5f7d115ef486d4462
refs/heads/master
2021-10-24T14:37:47.111756
2019-12-27T15:34:02
2019-12-27T15:34:02
189,729,809
1
1
null
2021-10-06T23:12:35
2019-06-01T12:24:08
Python
UTF-8
Python
false
false
2,797
py
import scrapy import subprocess from scrapy.crawler import CrawlerProcess class YouTubeSpider(scrapy.Spider): name = "youtube_spider" #spider name # search_term = "video" def __init__(self, search_terms): self.count = 0 self.search_terms = search_terms.split(",") # print(self.search...
[ "samyak201@gmail.com" ]
samyak201@gmail.com
f90f941e28a99d3bf0f557591125fd0c77538321
466796688d56a88da704b36d249c4e053c454c93
/navx-rotate-to-angle-arcade/physics.py
ed60d950eec5204c68c322de6bcac600748e42ea
[]
no_license
TAKBS2412/examples
78a21bd460d3bad1d0252f305ec361ac34b09d9e
08a212e7d1e18fd8acacfdcb27f225f2f586e7db
refs/heads/master
2020-03-08T01:16:39.289233
2018-04-02T06:02:22
2018-04-02T06:02:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
from pyfrc.physics import drivetrains class PhysicsEngine(object): def __init__(self, physics_controller): ''' :param physics_controller: `pyfrc.physics.core.PhysicsInterface` object to communicate simulation effects to ''' sel...
[ "dustin@virtualroadside.com" ]
dustin@virtualroadside.com
3fa6a812dd8181f72269edeb3f594a63e83b8f55
9511dbe7655c9f8e043edbc112ea2d540bbd5f11
/workaround-3/pb_generated/foo_pb2.py
8818e4b7d6ee4cd82e3f4d55b24f0c6f8a040fb0
[]
no_license
fsufitch/protobuf-issue-1491
ada2b7cc9f5e38e89629940c851c1962798b2f2c
94544b2b6bcc479d4316ec2c08fecbb55e74008b
refs/heads/master
2023-02-26T07:28:26.939388
2021-02-03T18:15:44
2021-02-03T18:15:44
335,714,546
0
0
null
null
null
null
UTF-8
Python
false
true
3,026
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: foo.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf im...
[ "fsufitchi@gmail.com" ]
fsufitchi@gmail.com
0aecce62e7d792afe74b118f018c2e005ef22892
be0c2a4b3258e6e2e43285ef02ddce837260d61c
/2020_05_09/biss_983.py
f21f8311158d9e0865bb7c542c5435942988c5b7
[]
no_license
university-of-southampton-1920/qiuzhao2020
7da11d87c7ba90b38025d35efde146a32597c875
c9118186ebdd905607e69d62f9961a6dccf31eeb
refs/heads/master
2020-12-19T15:42:58.400641
2020-06-07T19:33:18
2020-06-07T19:33:18
235,778,110
0
1
null
null
null
null
UTF-8
Python
false
false
495
py
class Solution: def mincostTickets(self, days: List[int], costs: List[int]) -> int: dp = [10**8 for i in range(366)] dp[0] = 0 day_set = set(days) for i in range(1, 366): if i not in day_set: dp[i] = dp[i-1] else: dp[i] = min(dp...
[ "879837607@qq.com" ]
879837607@qq.com
dfac48486a876e5d8bca03cd65f330f2405ed4d6
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/576420_Get_posix_timestamp_type_1/recipe-576420.py
28c25b8b3adfb6b3d22f938ee1d9ac41ac6165e5
[ "MIT" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
246
py
def get_posixtime(uuid1): """Convert the uuid1 timestamp to a standard posix timestamp """ assert uuid1.version == 1, ValueError('only applies to type 1') t = uuid1.time t = t - 0x01b21dd213814000 t = t / 1e7 return t
[ "betty@qburst.com" ]
betty@qburst.com
f79cf4fb983dab770772eb8d789dfd576f698a2b
0103046cd77e9f86ccde477736de36bba766ceb6
/src/sentry/integrations/pagerduty/utils.py
f2a62d6e70bac11b50a3d22e99c07ba5828ad435
[ "BUSL-1.1", "Apache-2.0" ]
permissive
kaozdl/sentry
ad41ada649a20300e9f2fe69050200cfbf738a63
63d698f5294f64a8c206b4c741e2a11be1f9a9be
refs/heads/master
2021-06-21T18:24:21.713064
2021-03-04T19:45:20
2021-03-04T19:45:20
198,681,569
0
0
BSD-3-Clause
2019-07-24T17:32:29
2019-07-24T17:32:28
null
UTF-8
Python
false
false
2,735
py
import logging from django.http import Http404 from sentry.incidents.models import IncidentStatus from sentry.integrations.metric_alerts import incident_attachment_info, incident_status_info from sentry.models import PagerDutyService from sentry.shared_integrations.exceptions import ApiError from .client import Page...
[ "noreply@github.com" ]
kaozdl.noreply@github.com
721440bb92ac9011517bd24627131520baa6af95
26dec2f8f87a187119336b09d90182d532e9add8
/mcod/organizations/migrations/0008_auto_20190227_1108.py
2acf27f3e272e4003549c87b97056bd3a7f4a06e
[]
no_license
olekstomek/mcod-backend-dane.gov.pl
7008bcd2dbd0dbada7fe535536b02cf27f3fe4fd
090dbf82c57633de9d53530f0c93dddf6b43a23b
refs/heads/source-with-hitory-from-gitlab
2022-09-14T08:09:45.213971
2019-05-31T06:22:11
2019-05-31T06:22:11
242,246,709
0
1
null
2020-02-24T22:39:26
2020-02-21T23:11:50
Python
UTF-8
Python
false
false
708
py
# Generated by Django 2.1.4 on 2019-02-27 10:08 from django.db import migrations, models import modeltrans.fields class Migration(migrations.Migration): dependencies = [ ('organizations', '0007_organization_i18n'), ] operations = [ migrations.AlterField( model_name='organiza...
[ "piotr.zientarski@britenet.com.pl" ]
piotr.zientarski@britenet.com.pl
78af0774e2e0578ebc55bbc83a5a27f72539880a
2d3dd69635ba17404e11fe8ae59a11fa0631cace
/apps/travel/views.py
6c27db4829f4c959ccf8b1fbaebb59b8ba832546
[]
no_license
klandon94/travel_guide
74b36d58017576b998e33088fd7548ab55aa1177
25732508924a278fa288204ebf254a8c3b4b6a8a
refs/heads/master
2020-03-21T06:23:01.507865
2018-06-22T15:03:02
2018-06-22T15:03:02
138,215,798
0
0
null
null
null
null
UTF-8
Python
false
false
4,351
py
from django.shortcuts import render,redirect from django.contrib import messages from .models import User, Trip from datetime import datetime import bcrypt def index(req): return redirect('/main') def main(req): if 'logged_in' not in req.session: req.session['logged_in'] = False if 'justloggedout'...
[ "kenny.landon88@gmail.com" ]
kenny.landon88@gmail.com
10d8288b6c22f58131968d575efa39bd1685241e
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/sympy-1.0-py27_0/lib/python2.7/site-packages/sympy/simplify/tests/test_powsimp.py
8e4011c44b4e8fe71d06970e376953b8ceb87ecf
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
11,832
py
from sympy import ( symbols, powsimp, symbols, MatrixSymbol, sqrt, pi, Mul, gamma, Function, S, I, exp, simplify, sin, E, log, hyper, Symbol, Dummy, powdenest, root, Rational) from sympy.abc import x, y, z, t, a, b, c, d, e, f, g, h, i, k def test_powsimp(): x, y, z, n = symbols('x,y,z,n') f = Fu...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
73718db110f452ced2a97c4394202c4c0af47e0f
3d4ab3856dc498e30cc50f936205a03b57666ed8
/orco/export.py
b76f45f60d9ed24e71113b991e978e14f1bba87b
[ "MIT" ]
permissive
gavento/orco
83adf052d0e240468169f482dc5cf132e564809c
07e90bf87246f4577c8e3653b34474a69cc5338e
refs/heads/master
2020-07-14T14:19:05.662792
2020-02-27T00:14:18
2020-02-27T00:14:18
205,333,433
0
0
MIT
2019-08-30T07:54:43
2019-08-30T07:54:42
null
UTF-8
Python
false
false
329
py
import pandas as pd def export_builder_to_pandas(runtime, builder_name): """ Export builder into pandas DataFrame """ data = [(entry.config, entry.value, entry.comp_time) for entry in runtime.db.get_all_entries(builder_name)] return pd.DataFrame(data, columns=["config", "value", "comp...
[ "spirali@kreatrix.org" ]
spirali@kreatrix.org
0d8e3eabddd92a757609e562f167ff51c98c5bc1
d4d7c65bd4a4283b60caf1d8cea69a4aec9e594d
/04. Mid Exam Tasks/01. Black Flag.py
be11c2726569fdbe1e57f8fba6e409bacb21fbcc
[]
no_license
tony-andreev94/Python-Fundamentals
db806d05168c1bb61763e5b3d27f495f045e7667
32032d37e3a8f70e156db6ccad2d9f25aac62c23
refs/heads/master
2021-08-07T12:32:27.624459
2020-12-24T12:47:05
2020-12-24T12:47:05
233,568,246
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
# Create a program that checks if a target plunder is reached. First you will receive how many days the pirating lasts. # Then you will receive how much the pirates plunder for a day. Last you will receive the expected plunder at the end. # Calculate how much plunder the pirates manage to gather. Each day they gather p...
[ "tony.andreev94@outlook.com" ]
tony.andreev94@outlook.com
1f012e8cb348f9fce92ed4591a1c4a1c18c19a5a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_143/546.py
7a31e15712d4dc0f5e0489abb8ab668bb6d3ac04
[]
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
384
py
import sys input = open(sys.argv[1], 'r') t = int(input.readline()) for case in range(1, t + 1): [a, b, k] = map(int, input.readline().split()) winning_pairs = 0 for a_i in range(a): for b_i in range(b): winning_pairs += ((a_i & b_i) < k) sys.stdout.write('Case #' + str(case) + ': ') sys.stdout.write(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
29d4154aaabf62a307513eb3dbeddc1a469cab8f
801a66a93ab783128777b022dc5bae892e7100c9
/sdk/search/azure-search/azure/search/_index/_search_index_client.py
c7dd7997f1e981dec495286e203c1dc577b53608
[ "LicenseRef-scancode-generic-cla", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jongio/azure-sdk-for-python
bd1600dfbbdb62db4fab2613f561b308561fff91
c36a95b902c8233ad436c63e596b0c6900f6d5dc
refs/heads/master
2020-06-23T00:04:54.744352
2020-03-13T20:59:26
2020-03-13T20:59:26
198,433,401
0
1
MIT
2019-07-23T13:11:53
2019-07-23T13:11:52
null
UTF-8
Python
false
false
13,828
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from typin...
[ "noreply@github.com" ]
jongio.noreply@github.com
910d8705287a540b1a3e089d14b90bfca2afc1f7
9b656ba6461920e094b0e6874c131869bb250724
/l10n_ve_withholding_iva/model/partner.py
e1c4d2f54af475c55f401eb90c3dff4057e84d30
[]
no_license
Tecvemar/l10n_ve
8c3050ce388765f34a69ad5f32c66e3d22b53211
d1f5f7bf0b5f6cf77bfbe985b19ca0f704555cb0
refs/heads/master
2021-01-23T11:50:54.759893
2019-06-11T12:31:00
2019-06-11T12:31:00
102,636,594
0
1
null
2019-06-11T12:31:01
2017-09-06T17:12:57
Python
UTF-8
Python
false
false
2,003
py
#!/usr/bin/python # -*- encoding: utf-8 -*- ########################################################################### # Module Writen to OpenERP, Open Source Management Solution # Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>). # All Rights Reserved ###############Credits##########################...
[ "juanvmarquezl@gmail.com" ]
juanvmarquezl@gmail.com
9594433b608290d26ee4aa7cfaeefcea0e425e8e
dac2bcf1d313b02a37458c3ae89ca8ddfa84be63
/CRUD_project/my_CRUD_project/CRUD_app1/views.py
9253cd7450043d9d2733a9ffc3b7bd7131ab8e99
[]
no_license
nishikaverma/Django_examples
f74396dc3e0477cc1d245c8a2341da111624bd1a
43d06299f30753d5a7b2320ad9892914a23f5e2d
refs/heads/master
2022-07-18T07:14:46.606814
2020-05-16T14:26:45
2020-05-16T14:26:45
264,444,967
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
from django.shortcuts import render from CRUD_app1.models import Employee def home(request): return render(request,"CRUD_app1/home.html") def createit(request): return render(request, 'CRUD_app1/create.html') def create(request): # for inserting a new record emp_id=request.GET['e_id'] name=request.GET...
[ "nishika.verma@live.com" ]
nishika.verma@live.com
a2f48bdc9bd9f4db3157be7d1930fb4a0a0a4c6a
aa0647eaf1d6c3e45ff40718312d5e50da6007ad
/touchdown/aws/kms/grant.py
6f49f9135abc0d1077b3cded204fc7368bf9598d
[ "Apache-2.0" ]
permissive
yaybu/touchdown
bd9164893d93fda02bfd8ea1932020d9486fc226
70ecda5191ce2d095bc074dcb23bfa1584464814
refs/heads/master
2021-07-26T19:28:17.430492
2019-08-23T13:27:02
2019-08-23T13:27:02
23,874,177
14
5
Apache-2.0
2019-08-23T20:15:45
2014-09-10T12:47:51
Python
UTF-8
Python
false
false
2,335
py
# Copyright 2015 Isotoma Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "john.carr@unrouted.co.uk" ]
john.carr@unrouted.co.uk
f8423403058300388e9253dc8d3577552603b8f2
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/769.max-chunks-to-make-sorted/769.max-chunks-to-make-sorted_137111167.py
9683dab2ad4d7826638393864aaf29f8011e6f01
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
class Solution: def maxChunksToSorted(self, arr): """ :type arr: List[int] :rtype: int """ N = len(arr) idx = list(range(N)) idx.sort(key=lambda x: arr[x]) seg = 0 rChk = 0 for i in range(N): if idx[i] > seg: ...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
d5c957e350ea3813f8e3be8434f7aef083fb38e9
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/CXtsRKiRyAcGe2iEj_10.py
543e2b966ed24fd75069a5324a2fc2338faadb09
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
def time_to_finish(full, part): return len([i for i in full[len(part):] if i!=' '])/2
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c933a3efc280b4e15a008e7dbcb09d395b67f716
09bb17f07b127ac7d7d44969d55c92fa979111e2
/.PyCharmCE2019.2/system/python_stubs/-2066100795/_signal.py
42be097bf8b74a22ac6fce4ca4513557b0783581
[]
no_license
Tusharec82/ROCKY
ea19201275f853603870a68275bdf7d1e64a6084
d9812b0fefde8c3d9ffe7947cf331af12dd25ab5
refs/heads/master
2020-08-09T00:34:50.707405
2019-10-09T18:13:26
2019-10-09T18:13:26
213,957,191
0
0
null
null
null
null
UTF-8
Python
false
false
11,083
py
# encoding: utf-8 # module _signal # from (built-in) # by generator 1.147 """ This module provides mechanisms to use signal handlers in Python. Functions: alarm() -- cause SIGALRM after a specified time [Unix only] setitimer() -- cause a signal (described below) after a specified float time and the tim...
[ "TPatel@.dal.ca" ]
TPatel@.dal.ca
9240f5f014f8ec4abdec64dbc30bb4bd02955e8f
5c9025f455b1b1c08ba0f509323f9d4a67b1322b
/test_settings/__init__.py
2b4ceff491ac6a797d10013965af34ea95122b20
[]
no_license
ThatGreenSpace/django-tenancy
7bd86eb4ea8ab80b15601b42d21f83c7bb2f205d
d21fd0e12b48f16e74ff396e70b7a22678c54cfa
refs/heads/master
2020-04-15T08:51:42.775328
2014-11-23T09:17:41
2014-11-23T09:17:41
25,197,929
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
SECRET_KEY = 'not-anymore' INSTALLED_APPS = [ 'django.contrib.contenttypes', 'django.contrib.auth', 'tenancy', ] ROOT_URLCONF = 'tenancy.tests.urls' SILENCED_SYSTEM_CHECKS = ['1_7.W001'] try: import mutant except ImportError: pass else: INSTALLED_APPS.append('mutant')
[ "charette.s@gmail.com" ]
charette.s@gmail.com
9eed05a6fb9fa8705819499dd927bba610349389
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/compute/subcommands/replica_pools/replicas/restart.py
58f75255796d7b65f633af51da18565394264454
[ "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,089
py
# Copyright 2014 Google Inc. All Rights Reserved. """replicapool replicas restart command.""" from apiclient import errors from googlecloudsdk.api_lib.compute import rolling_updates_util as util from googlecloudsdk.calliope import base from googlecloudsdk.calliope import exceptions from googlecloudsdk.core import lo...
[ "joe@longreen.io" ]
joe@longreen.io