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
ee59ea8489cc423e5053c5e1f04f3b92b54998cf
15e4e57f1e49ec38fe6c6e86f8309b0105093960
/python/runFakeRateExtrapolation.py
6220e321b8681c80102aeda3773d4360f19c1fe6
[]
no_license
govoni/FlatNtStudy
eb621eb12d3a35bd58cd7f2de2a1c371d81b9eb3
e58cbfed0c9a5e11822a254a554ecb62a7457ebc
refs/heads/master
2020-12-24T16:59:17.649955
2015-05-13T10:31:05
2015-05-13T10:31:05
27,048,572
0
2
null
null
null
null
UTF-8
Python
false
false
18,639
py
#! /usr/bin/env pythony ## example python python/runLumiExtrapolation.py --datacardDIR output/DataCards_WW_SS_Inclusive/Card1D/lumiExtrapolation/ --inputVariable ptjj --outputDIR computeAsymptotic --makeAsymptotic --injectSignal 1 --nToys 100 --rMin 0.85 --rMax 1.15 import os import glob import math from array import ...
[ "raffaele.gerosa@cern.ch" ]
raffaele.gerosa@cern.ch
6f227c5ce3a2d188622f589658f80e019ffc2ec6
7e4460c85790fae2d470182732289bcd1b8777b2
/Process/process_scripts.py
c6028329d884b48f3b57d3958e624f02c6d43b3a
[]
no_license
khamukkamu/swconquest-msys
5b23654c8dd2e8b2f25bc7914252eedc05a5cc1e
71337a4ae9c507b9440e84cf49d31fc67a781978
refs/heads/master
2021-04-29T19:00:10.389224
2019-05-01T15:11:11
2019-05-01T15:11:11
121,704,753
1
1
null
2018-02-16T01:40:58
2018-02-16T01:40:58
null
UTF-8
Python
false
false
1,812
py
import string from module_info import * from module_scripts import * from process_common import * from process_operations import * from module_info import wb_compile_switch as is_wb def save_scripts(variable_list,variable_uses,scripts,tag_uses,quick_strings): file = open(export_dir + "scripts.txt","w")...
[ "swyterzone@gmail.com" ]
swyterzone@gmail.com
9c06c0a29a8845ed289678b35982f9e2dbc2a720
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03957/s736073526.py
4d07ff9077817797927326fee3fdb9b2cb662fdf
[]
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
167
py
s=input() ans="No" for i in range(len(s)): if s[i]=="C": for j in range(i+1,len(s)): if s[j]=="F": print("Yes") exit() else: print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a546526b405a6825d7312a49a2cd25bcb0d101ae
0abd812a50ba3330734fcbb0088a74c5ad6735a2
/python/asKeyword.py
77dc239390af38863bc903a53b3a7baf0e65c86c
[]
no_license
scMarth/Learning
a914af6f6327454234e5f98dfc8cf95d6d4f8077
ae696461c2c8edc9944879503cce01d525cf4ce0
refs/heads/master
2023-08-03T05:13:03.162533
2023-07-28T22:58:51
2023-07-28T22:58:51
120,689,926
2
0
null
2022-12-11T13:14:07
2018-02-08T00:33:42
JavaScript
UTF-8
Python
false
false
56
py
import re import re as regex print(id(re) == id(regex))
[ "vlantaca@gmail.com" ]
vlantaca@gmail.com
7c02d2ad4e1e378078eab256ef590b3dbb318934
43d8b1639320fbafb9635f47c17e56fceed9faba
/edashi_1428/urls.py
f5d1d9d26e849b64a4b3c7e0ed6e30da099c7ba3
[]
no_license
crowdbotics-apps/edashi-1428
fd731df62fb45e554031f56fd85700149a2acb18
30615d9118d998e82c463df6bddcc1f858d9bb86
refs/heads/master
2022-12-10T04:09:32.671280
2019-03-17T09:38:05
2019-03-17T09:38:05
176,081,279
0
0
null
2022-12-08T04:55:54
2019-03-17T09:37:04
Python
UTF-8
Python
false
false
1,042
py
"""edashi_1428 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
bafd53e16b68d5c5315f2de4dc3a24be45844475
ae9bb7babce2a0349ae932985cf418a03057c670
/test_ProjectPractice/test_requests/wework/__init__.py
3c6ed16fe565082753b7192859a99a55e588806c
[]
no_license
Veraun/HogwartsSDET17-1
d2592fcb4c9c63724c19bcf9edde349ebcd2c8af
6648dbfb640b065ff2c76cb6889a8f9e4f124b91
refs/heads/main
2023-07-02T05:20:32.161248
2021-08-06T03:55:13
2021-08-06T03:55:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
''' #!/usr/bin/python3 # -*- coding: utf-8 -*- @author: wangwei @project: HogwartsSDET17 @file: __init__.py.py @time: 2021/3/28 19:30 @Email: Warron.Wang '''
[ "wei1.wang@ximalaya.com" ]
wei1.wang@ximalaya.com
13fe7acffc167ef651043847166ade55dfbe7fad
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/thienthientanvn.py
80cce4c40f006fcc7e32a7cdf2085a62934bb55f
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@class='mytextarea']/span", 'price' : "//span/div[@class='price']", 'category' : "//div[@id='accordion']/ul/li", 'descri...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com
5ae2c762306e5a94e26a671d98093c5b02e5db3d
f167dffa2f767a0419aa82bf434852069a8baeb8
/lib/youtube_dl/extractor/arcpublishing.py
ca6a6c4d87f9f13a259f8402f5e7ef51ad097088
[ "MIT" ]
permissive
firsttris/plugin.video.sendtokodi
d634490b55149adfdcb62c1af1eb77568b8da3f5
1095c58e2bc21de4ab6fcb67a70e4f0f04febbc3
refs/heads/master
2023-08-18T10:10:39.544848
2023-08-15T17:06:44
2023-08-15T17:06:44
84,665,460
111
31
MIT
2022-11-11T08:05:21
2017-03-11T16:53:06
Python
UTF-8
Python
false
false
7,970
py
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import ( extract_attributes, int_or_none, parse_iso8601, try_get, ) class ArcPublishingIE(InfoExtractor): _UUID_REGEX = r'[\da-f]{8}-(?:[\da-f]{4}-){3}[\da-f]{12}' _VALID_URL = r'...
[ "noreply@github.com" ]
firsttris.noreply@github.com
483cc434f7750ca41c1475f6670f1c174d708d87
8ef8e6818c977c26d937d09b46be0d748022ea09
/nlp/dialogue_generation/cpm/pytorch/iluvatar/cpm/config/layers/fast_self_multihead_attn_func.py
01c7eedcf77eaaaf34487a80bdb34ae4fd3a42be
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
13,572
py
import torch # import fast_self_multihead_attn try: import ext_ops as fast_self_multihead_attn_bias except: pass # import fast_self_multihead_attn_bias_additive_mask class FastSelfAttnFunc(torch.autograd.Function) : @staticmethod def forward(ctx, use_time_mask, is_training, heads, inputs, input_weights...
[ "jia.guo@iluvatar.ai" ]
jia.guo@iluvatar.ai
b1effa43176d77ba4cd5d71fe491629591f33413
978a0ff297cfe68baa8b62a30aaacefa3efdd48d
/flaskfiles/flaskpractice.py
4fe3f0d5817107d5f5eb70af42986722a0a65e5e
[]
no_license
pavi535/pythonpratice
d55f263cf4170ace3fa8ba7f4a26d67f950af7ce
9f66be3e609f2b4fbc1a035e67d6fcf08992818a
refs/heads/main
2023-08-27T06:38:30.446752
2021-11-10T03:03:24
2021-11-10T03:03:24
426,094,134
0
0
null
2021-11-10T03:03:25
2021-11-09T04:46:11
Python
UTF-8
Python
false
false
2,593
py
from datetime import datetime from flask import Flask, render_template, url_for, flash, redirect from flask_sqlalchemy import SQLAlchemy from forms import RegistrationForm, LoginForm app = Flask(__name__) app.config['SECRET_KEY'] = '5791628bb0b13ce0c676dfde280ba245' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///s...
[ "you@example.com" ]
you@example.com
8a995bd441b1bf0410c40c17856e88cacb7fdc00
840ca6face6cb369104eec228fe7b51630bd10f1
/剑指offer/52-两个链表的第一个公共节点.py
ca8ed7ed73921386ff21cac0c21a687a57434913
[]
no_license
Leofighting/Practice-on-LeetCode
56e6245eb03f76ca254e54dc0a0cdd2c71ec3dd0
6d7dad991922abe862f19009b261b5146e059955
refs/heads/master
2021-08-16T04:21:04.699124
2020-06-29T22:48:38
2020-06-29T22:48:38
197,718,371
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# -*- coding:utf-8 -*- __author__ = "leo" # 输入两个链表,找出它们的第一个公共节点。 class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def get_intersection_node(self, headA, headB): node1, node2 = headA, headB while node1 != node2: node1 = node1....
[ "leoxiaojw@gmail.com" ]
leoxiaojw@gmail.com
b06e3ace791dfcd120050816b47cf3cea36e3caf
056adbbdfb968486ecc330f913f0de6f51deee33
/609-find-duplicate-file-in-system/find-duplicate-file-in-system.py
369212a29b568e52d671b267faa76bb344d532b9
[]
no_license
privateHmmmm/leetcode
b84453a1a951cdece2dd629c127da59a4715e078
cb303e610949e953b689fbed499f5bb0b79c4aea
refs/heads/master
2021-05-12T06:21:07.727332
2018-01-12T08:54:52
2018-01-12T08:54:52
117,215,642
0
1
null
null
null
null
UTF-8
Python
false
false
2,759
py
# -*- coding:utf-8 -*- # Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups of duplicate files in the file system in terms of their paths. # # A group of duplicate files consists of at least two files that have exactly the s...
[ "hyan90@ucsc.edu" ]
hyan90@ucsc.edu
7863e3a9c1b084f2424bfe6b8e926d7afd714b98
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04030/s580737724.py
e5017d598b9bc2f7e817eadffadd9076c0229da3
[]
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
308
py
S = input() Z = [] X = len(S) i = 0 while i < X : if S[i] == "0": Z.append(0) elif S[i] == "1": Z.append(1) elif S[i] == "B": if len(Z)== 0: pass else: Z.pop() i += 1 i = 0 X = len(Z) while i < X: print(Z[i] , end ="") i +=1
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
98e8cfe4279ac7e1dfe3f4566e407a589595201e
82f993631da2871933edf83f7648deb6c59fd7e4
/w2/L6/11.py
2cf14d2b9a804b5ec5eaec7caa0a54bb13eddce8
[]
no_license
bobur554396/PPII2021Summer
298f26ea0e74c199af7b57a5d40f65e20049ecdd
7ef38fb4ad4f606940d2ba3daaa47cbd9ca8bcd2
refs/heads/master
2023-06-26T05:42:08.523345
2021-07-24T12:40:05
2021-07-24T12:40:05
380,511,125
1
0
null
null
null
null
UTF-8
Python
false
false
99
py
a = ['a', 'b', 'c'] b = ['hello', 'hi', 'hola'] c = [12, 30, 20] for i in zip(a, b, c): print(i)
[ "bobur.muhsimbaev@gmail.com" ]
bobur.muhsimbaev@gmail.com
3267827c6172fd22712c30402e7fc68868d81061
42b84b02e64d21234372501a20bf820e0bcbf281
/site/threath/apps/user_profiles/views.py
2054832130d5f203d6bf0ea498dde605276bad9c
[]
no_license
gage/proto
861d1e1190770b0cc74f51a6fe140157cc0ac12e
e13ac7d0ee5c6acce2557dcf71a00a941543c006
refs/heads/master
2020-04-06T06:44:01.712532
2013-06-28T06:30:59
2013-06-28T06:30:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,876
py
import time from django.contrib.auth.decorators import login_required from django.shortcuts import render_to_response from django.template import RequestContext from django.http import Http404, HttpResponse, HttpResponseRedirect from django.template.loader import render_to_string from django.conf import settings from d...
[ "sean.cheng@geniecapital.com" ]
sean.cheng@geniecapital.com
0039e5a8aec878cb771be2ecdc89116f71a7cd5f
48ff6b01dabc631c8924f3c51996010d9e0d2086
/psypl/experiments/variable_count.py
8f9bdaeef8f1030d231ba50b2ed17beb7e2c70bb
[]
no_license
willcrichton/psypl-experiments
b4522908f17ba9fbc023fa627a260e645a511bc4
7b0a134cc17919e62707d005fc03f2e22938eb13
refs/heads/master
2022-12-18T01:41:20.964024
2021-02-13T00:46:55
2021-02-13T00:46:55
219,410,440
3
0
null
2022-12-07T14:42:13
2019-11-04T03:33:04
Jupyter Notebook
UTF-8
Python
false
false
3,326
py
from enum import Enum from ..utils import random_tree, ConstNode, OpNode, all_names, shuffle, try_int from random import sample from itertools import combinations, product from ..base import Experiment from pprint import pprint import pandas as pd import numpy as np import experiment_widgets class VariableCountExperim...
[ "wcrichto@cs.stanford.edu" ]
wcrichto@cs.stanford.edu
ab5a8efe6ee474ebb3d0874bd150540fd5990e8f
b05ae08859d3b593b6c815a10e0705e13c1ae1eb
/RinoNakasone/RinoNakasone/spiders/piaohua.py
46b6392f62d63419047047495d160ab00d756622
[]
no_license
jacksonyoudi/Rino_nakasone_backend
32425bcd9087384fa25db1fe51e854b7a4f1fa12
e838668a6f67a6a4eca52d7658ad84b61b4123db
refs/heads/master
2021-04-15T18:21:17.678794
2019-03-02T15:16:30
2019-03-02T15:16:30
126,698,903
1
0
null
null
null
null
UTF-8
Python
false
false
2,131
py
# -*- coding: utf-8 -*- import scrapy from urllib.parse import urljoin from bs4 import BeautifulSoup from RinoNakasone.settings import PIAOHUA class PiaohuaSpider(scrapy.Spider): name = 'piaohua' allowed_domains = ['www.piaohua.com'] start_urls = ['http://www.piaohua.com/'] def parse(self, response):...
[ "liangchangyoujackson@gmail.com" ]
liangchangyoujackson@gmail.com
187166ea2567f6b8c7bba448205dd30a929a7111
f156beb6c5d911e86c28ea71f70f7422391a2c12
/ipynb/biplot.py
8dce7fa3067b700bbaf52f0c0f3842ed253917e4
[]
no_license
knightlab-analyses/office-study
31382dc259b1b21c3288709e5a49070186c5e66b
506e1d037c982e23538aec4742305ccd2508d844
refs/heads/master
2021-01-12T14:36:42.088868
2017-08-20T23:46:57
2017-08-20T23:46:57
72,040,888
0
2
null
2017-08-20T23:46:58
2016-10-26T20:17:35
Jupyter Notebook
UTF-8
Python
false
false
17,786
py
from __future__ import division import matplotlib.pyplot as plt import matplotlib.patches as mpatches import matplotlib.colors as colors import matplotlib.cm as cmx import numpy as np import pandas as pd from collections import OrderedDict def make_biplot(samples, features=None, sample...
[ "jamietmorton@gmail.com" ]
jamietmorton@gmail.com
9565c6008d359c9ef4776815146440ba81e91136
a4f2d74559b00191454d7d3492f8d35d118332b5
/src/atra/plot/network_air.py
15d33b561b56963e9c5b77d2ee76eb5a2084872d
[ "MIT" ]
permissive
nfontan/argentina-transport
c4b6f06a33034ce1c3ce905f901ff5086013b38b
f1583b077844e6b20b2c81144dec0872c88bdb80
refs/heads/master
2023-03-18T10:23:44.580084
2019-08-11T22:01:34
2019-08-11T22:01:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
"""Plot air network """ import os import cartopy.crs as ccrs import geopandas import matplotlib.patches as mpatches import matplotlib.pyplot as plt from atra.utils import load_config, get_axes, plot_basemap, scale_bar, plot_basemap_labels, save_fig def main(config): """Read shapes, plot map """ data_pa...
[ "tomalrussell@gmail.com" ]
tomalrussell@gmail.com
2264e15313f69e818f1bbdd697aae79e592592ad
4273f162abb12ef1939271c2aabee9547ac6afee
/crowd/utils/config.py
054ef5faf1c8d84308890a15230a3b194adf10e5
[]
no_license
xiyuhao/subins_tutorials
2717c47aac0adde099432e5dfd231606bf45a266
acbe4fe16483397e9b0f8e240ca23bdca652b92d
refs/heads/master
2023-07-28T13:42:41.445399
2021-09-12T11:02:37
2021-09-12T11:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
''' config.py 0.0.1 Date: January 15, 2019 Last modified: June 14, 2019 Author: Subin. Gopi(subing85@gmail.com) # Copyright(c) 2019, Subin Gopi # All rights reserved. # WARNING! All changes made in this file will be lost! Description None. ''' def get_conig(): return 'Linux', 'maya', '2016', '2.7.5' def...
[ "subing85@gmail.com" ]
subing85@gmail.com
6ef4885b55b2959e9db0e836280c30f7bf832629
a2860dd0acbb7b85d30fad1be52512fa7bc4c611
/cerebralcortex/core/file_manager/read_handler.py
f1d9eb4c750b94afc422959e5232bc2448e3825c
[ "BSD-2-Clause" ]
permissive
hippietilley/CerebralCortex-Kernel
b1783c8156744f7809c9a3810b990c45945da936
c7dac033d9561f14bdb72430577db6ae4e3c7911
refs/heads/master
2020-04-18T15:15:47.199601
2019-01-18T16:05:14
2019-01-18T16:05:14
167,607,878
0
0
BSD-2-Clause
2019-01-25T20:16:54
2019-01-25T20:16:54
null
UTF-8
Python
false
false
6,069
py
# Copyright (c) 2018, MD2K Center of Excellence # - Nasir Ali <nasir.ali08@gmail.com> # 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 cop...
[ "nasir.ali08@gmail.com" ]
nasir.ali08@gmail.com
996925f5530dd5af83fba2da9dd72a0012fcef11
a0f27e45f598a5c4145efa44ae05edf431b7e06f
/seqmod/modules/ff.py
4d6a8e6043e089cd4a0ed05da4145de8fd6bf3c5
[]
no_license
cmry/seqmod
af4d2e6227247f5d3630a53818328cea493672f4
ddc57cd36c6b6204263db770f4c98923ffb4ba0b
refs/heads/master
2021-09-11T23:50:01.261133
2018-01-09T15:51:23
2018-01-09T15:51:23
113,448,571
0
0
null
2017-12-07T12:31:43
2017-12-07T12:31:43
null
UTF-8
Python
false
false
5,677
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Function class MLP(nn.Module): """ Standard MLP """ def __init__(self, inp_size, hid_size, nb_classes, nb_layers=1, dropout=0.0, act='relu'): self.inp_size, self.hid_size = inp_size,...
[ "enrique.manjavacas@gmail.com" ]
enrique.manjavacas@gmail.com
fd75ee444727d1fd69c72d0457b9ea145dcba2b1
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/homework02/maoyanspiders/maoyanspiders/pipelines_20200627225401.py
2181904c869c47b47b88084f2f73feb9b48ff6f0
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
523
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html class MaoyanspidersPipeline(object): def process_item(self, item, spider): films_name = item['films_name'] ...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
8536e0cce05e6fee39144b2b1c6e1b5c482b510f
8064bbf3dadc70c3aceeecd885bc69cfddf06549
/ZeeAnalyzer/test/runElectronPlots_Skim_v1.py
9dc1a84ee437d62c8d259a0380e2392dbbaec102
[]
no_license
taroni/ZeeAnalyzer
6faf7e4d9785ab9b15559d096a2b98d5e7483be7
44046f7095a22a9b5486a5ab0aee2dee52b430ae
refs/heads/master
2022-01-17T20:12:06.695267
2017-11-24T13:51:25
2017-11-24T13:51:25
110,087,363
0
0
null
null
null
null
UTF-8
Python
false
false
3,560
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TestElectrons") process.load("FWCore.MessageService.MessageLogger_cfi") process.load("Configuration.StandardSequences.GeometryRecoDB_cff") from Configuration.AlCa.GlobalTag import GlobalTag process.load("Configuration.StandardSequences.FrontierConditio...
[ "Silvia.Taroni@cern.ch" ]
Silvia.Taroni@cern.ch
e4ede140050fb8c241173693253719a2d0235799
799c9d7e1436232a02b213178ed0bda9d5c673e8
/Chapter15/example2.py
b3c8ae550f592b84515a5257e78fd403bf0171f4
[ "MIT" ]
permissive
KrisNguyen135/Advanced-Python-Programming-Second-Edition
a32578116805285983df8eac2dba584e0e77ea0d
e5d473e3efc5f6590028cb3f318e1f4aeb0aadd1
refs/heads/main
2023-08-14T18:14:09.087485
2021-09-19T17:57:03
2021-09-19T17:57:03
373,899,665
0
0
MIT
2021-06-04T16:23:55
2021-06-04T16:23:55
null
UTF-8
Python
false
false
686
py
import time import threading COUNT = 50000000 def countdown(n): while n > 0: n -= 1 ########################################################################### start = time.time() countdown(COUNT) print('Sequential program finished.') print(f'Took {time.time() - start : .2f} seconds.') ###############...
[ "nguyenminhquan135@gmail.com" ]
nguyenminhquan135@gmail.com
a38e00bd15b7f69cd0501f9e2a9343c1615f935c
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/83f8ec00a3cf40a78f2fd2fa2dedcd3a.py
76cb33cce300805428c65c319f8169dd9e0ef049
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
270
py
import re def hey(input): clean_input = input.strip() if clean_input == '': return 'Fine. Be that way!' if clean_input.isupper(): return 'Whoa, chill out!' if clean_input.endswith('?'): return 'Sure.' return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
bcee99a9a701fa5486e9c1baba62c7e8182cc60d
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/worksheet/test_date_time_01.py
50180b311c94a156c9af3597a1e11e5fb953c101
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
6,888
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # import unittest from datetime import datetime from ...worksheet import Worksheet class TestConvertDateTim...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
e445e69c3f4201e6a82f43d62ce2eed19fa2b935
bb47a173f6e17e5b20f4d19830466767a47b5988
/models/system_jobs.py
76f165893f3bd50394463b7ab4e35ae9ae355a3b
[]
no_license
gmancoder/MailChimp-Management-Console
c0ad1d7d6995d573b962eaeb2e2194b1b2ff01d7
93a7fc61348c57c1c8d45f60a3614171f6307c95
refs/heads/master
2020-03-07T06:46:09.251318
2018-03-29T20:52:50
2018-03-29T20:52:50
127,331,057
0
0
null
null
null
null
UTF-8
Python
false
false
10,980
py
#!/usr/bin/env python from models.shared import db from models.imports import * from models.exports import * from models.tracking import * import datetime import os import csv class SystemJob(db.Model): __tablename__ = "system_job" id = db.Column(db.Integer, primary_key=True) brand_id = db.Colu...
[ "grbrewer@grbrewer.com" ]
grbrewer@grbrewer.com
d0bc437a44318504958582938e6622cdb01b23a9
33836016ea99776d31f7ad8f2140c39f7b43b5fe
/fip_collab/2016_01_20_gsh_database_red/integrate_parallel.py
19794112e938772715aa9bad100ef9986045d7cc
[]
no_license
earthexploration/MKS-Experimentation
92a2aea83e041bfe741048d662d28ff593077551
9b9ff3b468767b235e7c4884b0ed56c127328a5f
refs/heads/master
2023-03-17T23:11:11.313693
2017-04-24T19:24:35
2017-04-24T19:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,702
py
import numpy as np # import itertools as it import db_functions as fn import gsh_hex_tri_L0_16 as gsh import h5py import time import sys tnum = np.int64(sys.argv[1]) filename = 'log_integrate_parallel_%s.txt' % str(tnum) """ Load Y vec """ f = h5py.File('var_extract_total.hdf5', 'r') var_set = f.get('var_set') sinp...
[ "noahhpaulson@gmail.com" ]
noahhpaulson@gmail.com
e1f86e42b1651b24b49a852a30e9ba287c876154
36126f91a2d5903483b84ba2d8be77e160803058
/tests/test_model.py
2fcf991147d46894fa7d917d389309988844fd6e
[ "Apache-2.0" ]
permissive
open-risk/transitionMatrix
9962bb2656eb637ba56afc3adecf42bbe68f9593
d05e75cbc251f01842dd8c5ce225894b988f4d99
refs/heads/master
2023-03-05T08:01:20.816425
2023-02-22T20:46:38
2023-02-22T20:46:38
110,365,127
73
29
Apache-2.0
2022-12-08T11:37:12
2017-11-11T17:25:08
Python
UTF-8
Python
false
false
5,126
py
# encoding: utf-8 # (c) 2017-2022 Open Risk, all rights reserved # # TransitionMatrix is licensed under the Apache 2.0 license a copy of which is included # in the source distribution of TransitionMatrix. This is notwithstanding any licenses of # third-party software included in this distribution. You may not use this...
[ "openrisk@outlook.com" ]
openrisk@outlook.com
d1df29cfcfd4dace82fa7e4e728abf9975d61641
94615230d5733282fb69ae5d35411c04a337d353
/sublime-text-3/Packages/HTML-CSS-JS Prettify/src/py/utils/constants.py
2d082675e21dc88f0f92e4c331ef81174d4f9007
[ "Unlicense" ]
permissive
EnTeQuAk/dotfiles
fcef6a885891c3c132da3ea970dd21aee16b72c1
b00890fa64a01b3a0e4eaaada13e90c1ef36b9e0
refs/heads/master
2023-01-04T21:09:37.330838
2019-09-16T14:49:45
2019-09-16T14:49:45
1,558,950
1
0
Unlicense
2023-01-04T05:01:57
2011-04-02T08:31:38
Vim script
UTF-8
Python
false
false
623
py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. """Various constants used by this plugin""" from sublime import platform, version PLATFORM = platform() SUBLIME_VERSION...
[ "cg@webshox.org" ]
cg@webshox.org
1b02cbd81e6d0d70e6c61416944602b6e863075c
e15b2ebbb9bf30a50d1e720624e9853aa269fc05
/CoverSlasher/items.py
563945642bcb4b389d94c4ea6bdfbf3d8b5cf0e0
[]
no_license
Hodo7amShichiYA/WnacgCoverSlasher
e42ce1ec438558c2890d1bf34f9a192eb1ab4f81
5734d58caedb3defff622bb45de6cd073f8b656d
refs/heads/master
2020-04-27T16:03:02.225473
2019-03-08T09:05:06
2019-03-08T09:05:06
174,470,262
1
2
null
null
null
null
UTF-8
Python
false
false
326
py
# -*- coding: utf-8 -*- import scrapy class CoverslasherItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() image_urls = scrapy.Field() #保存图片地址 images = scrapy.Field() #保存图片的信息 image_names = scrapy.Field() #保存图片的信息
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
91f92c326775e661700467fed42718d9b09d1adb
e53d8488ffea72db3f3618f5639f2ddfa929f11b
/perpustakaan/migrations/0002_delete_buku.py
63677b59c0a8886eaae0991e502bc4c513f0449e
[]
no_license
writerlab/perpus
60473fa2b51d67617525bfc25b75656141e9529b
9cf7676a543c3414ac2e7fca88c3d26ac403be3b
refs/heads/master
2023-07-15T05:27:23.859264
2021-08-29T02:02:34
2021-08-29T02:02:34
262,490,216
5
10
null
null
null
null
UTF-8
Python
false
false
288
py
# Generated by Django 2.2.12 on 2020-05-11 07:13 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('perpustakaan', '0001_initial'), ] operations = [ migrations.DeleteModel( name='Buku', ), ]
[ "netspytux@gmail.com" ]
netspytux@gmail.com
2a930f8fc17f6a4af9fdfaeb6ff31fb3020b1552
6be845bf70a8efaf390da28c811c52b35bf9e475
/windows/Resources/Python/Core/Lib/lib2to3/main.py
21120209a72ee4a781dc2b7ce9223426acd4d8bd
[]
no_license
kyeremalprime/ms
228194910bf2ed314d0492bc423cc687144bb459
47eea098ec735b2173ff0d4e5c493cb8f04e705d
refs/heads/master
2020-12-30T15:54:17.843982
2017-05-14T07:32:01
2017-05-14T07:32:01
91,180,709
2
2
null
null
null
null
UTF-8
Python
false
false
6,385
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: main.py """ Main program for 2to3. """ from __future__ import with_statement import sys import os import difflib import logging import shutil import ...
[ "kyeremalprime@gmail.com" ]
kyeremalprime@gmail.com
f1aff488cc397a61c84e4bf306f6c1cf8961a77a
4557846c914c259bd520f6c8bd358e8c5fb8e820
/bin/__init__.py
b78fa2a4678d9ddf5c8ca9c763a457facdb431cf
[]
no_license
ninthDevilHAUNSTER/EasyEnglishTerminal
7c854475b6f472d296a1f8ee25c9f5c9b961a641
3f68209b5ff9b3e35e9660b60b91ebddd99ac33b
refs/heads/master
2020-12-11T23:13:57.678840
2020-01-15T02:59:37
2020-01-15T02:59:37
233,981,587
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
from bin.base import EasyEnglishTerminal
[ "luotianhan@126.com" ]
luotianhan@126.com
f92227c51ec1996e3e31c2e0073f8916609625b5
e4bab7fc4e8eacb62ad35b4b58b9a5093bae44c7
/spec/rift/data/models/tenant.py
a7a4d5803847af6a42bab44665e8cd139f2cfdba
[ "Apache-2.0" ]
permissive
mkam/Rift
972d5c571ead01480519509b783ec70b0636d10f
802892f7c119845e0f2ec5b0798463f210e7061f
refs/heads/master
2021-06-01T12:33:58.147207
2015-08-27T19:35:51
2015-08-27T19:35:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
import uuid from specter import Spec, expect from rift.data.models.tenant import Tenant class TenantModel(Spec): def can_convert_to_dictionary(self): tmp_uuid = str(uuid.uuid4()) tenant = Tenant(name=tmp_uuid, tenant_id=tmp_uuid) tenant_dict = tenant.as_dict() test_dict = Tenant....
[ "john.vrbanac@linux.com" ]
john.vrbanac@linux.com
c6181955ae958e8e09f7d70d6cabc46465b949a8
9930f08717594022e0f7fde2a96baaa7fcfce784
/assignment3_prime number or not.py
c6ba297b1ad4aab747f95704e77a94145abc75b2
[]
no_license
dinesh5555/python_assignments
72bd2d1cc35a92a01826536eeb4107953d8d73c7
33fbcbe1de8f92bd6ffe07fa66640ce1ab84a756
refs/heads/master
2022-11-11T18:42:41.621053
2020-07-03T09:12:49
2020-07-03T09:12:49
276,854,185
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python # coding: utf-8 # In[19]: num=int(input("enter a number")) if num>1: for i in range(2,num): if (num%i)==0: print(num,"is not a prime number") break else: print(num,"is a prime number")
[ "noreply@github.com" ]
dinesh5555.noreply@github.com
7f78820ec7b0fb9e06f0c1b1bdf198ef2b2cabe4
77900cdd9a815caf1cd04705321ca93f5072179f
/Project2/Project2/.history/blog/views_20211114212413.py
9aa8a5a017e67a14ca1de498d7a75944f750328a
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
486
py
from django.shortcuts import get_object_or_404, render from .models import Blog # Create your views here. def all_blogs(request): blogs = Blog.objects.filter(status=1).order_by('-created_on') return render(request, 'blog/all_blogs.html', {'blogs': blogs}) def detail(request, slug): blog = get_object_or...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
73a769860358682887712313fed38e62177e3612
55815c281f6746bb64fc2ba46d074ca5af966441
/medium/299.py
4b6e196e858ad7ee70a73d1e40dbf8f868f06bf8
[]
no_license
brandoneng000/LeetCode
def5107b03187ad7b7b1c207d39c442b70f80fc2
c7a42753b2b16c7b9c66b8d7c2e67b683a15e27d
refs/heads/master
2023-08-30T23:38:04.845267
2023-08-30T08:42:57
2023-08-30T08:42:57
199,584,584
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
import collections class Solution: def getHint(self, secret: str, guess: str) -> str: cows = 0 bulls = 0 for i in range(len(secret)): if secret[i] == guess[i]: bulls += 1 secret_counter = collections.Counter(secret) guess_counter = colle...
[ "brandoneng000@gmail.com" ]
brandoneng000@gmail.com
610dffc1617cd22bd7b8e889c292a9d1ef1e3346
677002b757c0a1a00b450d9710a8ec6aeb9b9e9a
/tiago_public_ws/build/tiago_bringup/catkin_generated/pkg.develspace.context.pc.py
dd49ac14d12608a0d4daa23f54bf5fb2b0e9670f
[]
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
393
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "tiago_bringup" PROJECT_SPACE_DIR = "/...
[ "ricardoxcm@hotmail.com" ]
ricardoxcm@hotmail.com
4af74a933a0a3e003647d10696dc9afb71b9e739
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/framework/experimental/math_ops.py
bb168de21996ba1f8aa825afb66054bf16c1f338
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
# Copyright 2020 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...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
29d682db283e2dc08722ab6dd840796f0e982a94
e67a0139092d3389fea0075de9ecf12ab209649f
/scripts/addons_extern/AF_3dview_specials/VIEW3D_MT_armature_specials.py
47b9a6cae734433af79d7e3a2b6eef5aca78063f
[]
no_license
amagnoni/blenderpython
9fe864d287f992b7cd71cd584fca4a501a6ac954
d2fec1a35369b7b171e2f0999196b87e242e08f3
refs/heads/master
2021-01-18T11:28:55.372759
2015-10-17T20:16:57
2015-10-17T20:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,882
py
# 3Dビュー > アーマチュア編集モード > 「W」キー import bpy import re ################ # オペレーター # ################ class CreateMirror(bpy.types.Operator): bl_idname = "armature.create_mirror" bl_label = "Select bones mirroring." bl_description = "Mirrored at any axes selected bone." bl_options = {'REGISTER', 'UNDO'} def execute...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
14258aac0b0a7e639801a834cddbdf0089e45ea8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_240/ch140_2020_04_01_19_19_15_085921.py
4c86827b303c447f074e6de350d868de44996204
[]
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
204
py
def faixa_notas(notas): a = 0 b = 0 c = 0 for i in notas: if i < 5: a += 1 elif i <= 7: b += 1 else: c += 1 return [a ,b ,c]
[ "you@example.com" ]
you@example.com
9d4fa0a1977714a0290798e157f5b22310e8461f
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/hdinsight/v20210601/_enums.py
edcf6d44105644a4c49b3c3c4900f7f15073a76f
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,314
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! *** from enum import Enum __all__ = [ 'DaysOfWeek', 'DirectoryType', 'JsonWebKeyEncryptionAlgorithm', 'OSType', 'PrivateIPAllocationMe...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
a7e651038218c9e972e369896ec435d505b8823a
a4135d6b14b05cb1aacfaa9548e5bf9db1ef8585
/pddlstream/language/stream.py
8f7b912af7192e42f26c74ade003ef963f7c1a42
[ "MIT" ]
permissive
yijiangh/pddlstream
e3b05a237c3e510b1fb2aad4d0bcd62c35f0f49b
8d3782fc65a2c44c77ae34eba9769d855925c10e
refs/heads/master
2023-03-11T00:17:24.716411
2018-11-02T19:02:42
2018-11-02T19:02:42
155,922,752
1
0
MIT
2018-11-02T21:21:11
2018-11-02T21:21:10
null
UTF-8
Python
false
false
18,592
py
import time from collections import Counter, defaultdict, namedtuple, Sequence from itertools import count from pddlstream.algorithms.downward import make_preconditions, make_parameters from pddlstream.language.constants import AND, get_prefix, get_args, is_parameter from pddlstream.language.conversion import list_fro...
[ "caelan@mit.edu" ]
caelan@mit.edu
3a86a7e83c8d88aa0d7e0a5952a56771bd01f41a
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902Combine/604-tideGauge.py
6e967f2eb7f15063af6ad0c01079f2c24d39111e
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:28:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories # dir_name = 'F:\\01_erainterim\\01_er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
282178eb96083ed7af80ea573a1dde94a35cd474
1bad7d2b7fc920ecf2789755ed7f44b039d4134d
/ABC/141/D.py
d02d4346f436cb62c503781981a2c46b5f3839df
[]
no_license
kanekyo1234/AtCoder_solve
ce95caafd31f7c953c0fc699f0f4897dddd7a159
e5ea7b080b72a2a2fd3fcb826cd10c4ab2e2720e
refs/heads/master
2023-04-01T04:01:15.885945
2021-04-06T04:03:31
2021-04-06T04:03:31
266,151,065
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
n,m=map(int,input().split()) a=list(map(int,input().split())) for i in range(m): a[a.index(max(a))]//=2 print(sum(a))
[ "kanekyohunter.0314@softbank.ne.jp" ]
kanekyohunter.0314@softbank.ne.jp
d8697fb977edd87fe504d6ffb8a9a877b8389dfc
9be7dd059042e382bc68d2da0e9db929770c36a1
/madgraph/aloha/aloha_object.py
8da8fee9f9e7b8286a6b1d6d08387d081f5a6cb2
[]
no_license
restrepo/SimplifiedDM-SSSFDM-Toolbox
ee891d51d252e3087e6287fb9e3ce055f55e1354
bbdefde970b7016159f2f9f51eaf9cefc127f220
refs/heads/master
2021-01-12T17:15:48.830510
2017-11-11T22:13:54
2017-11-11T22:13:54
71,532,276
2
1
null
null
null
null
UTF-8
Python
false
false
41,974
py
################################################################################ # # Copyright (c) 2010 The MadGraph5_aMC@NLO Development team and Contributors # # This file is a part of the MadGraph5_aMC@NLO project, an application which # automatically generates Feynman diagrams and matrix elements for arbitrary # h...
[ "restrepo@udea.edu.co" ]
restrepo@udea.edu.co
77b74a14ad5a1874eb757c258db26fc759163437
43e900f11e2b230cdc0b2e48007d40294fefd87a
/laioffer/remove-certain-characters.py
ba414a70cff9fca8d6bb41e33f8626f682e9c25a
[]
no_license
DarkAlexWang/leetcode
02f2ed993688c34d3ce8f95d81b3e36a53ca002f
89142297559af20cf990a8e40975811b4be36955
refs/heads/master
2023-01-07T13:01:19.598427
2022-12-28T19:00:19
2022-12-28T19:00:19
232,729,581
3
1
null
null
null
null
UTF-8
Python
false
false
496
py
class Solution: def remove(self, string, t): array = list(string) uniq_t = set(t) slow = 0 fast = 0 for fast in range(0, len(array)): if array[fast] not in uniq_t: array[slow] = array[fast] slow += 1 res = "" for i ...
[ "wangzhihuan0815@gmail.com" ]
wangzhihuan0815@gmail.com
87b5b1013121a670da7f12288049e9aa81b73e98
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-9528.py
9b6ba89efb100cc35e49f496f579cb54f9ede179
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,756
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
e856c3512502cc8ddd31849054c4633d661bca3c
9d6271fd3851acb797a5120e0d884130f7548833
/kmeans.py
4950fd689a0074d89dbcfb3e82ec63e3d12597e9
[]
no_license
Wenbin94/toolbox
f5d69e1b3a158ad076562829e2d83738e282da04
e88e1ba51e5a4c963626000b434072b6aa64e09d
refs/heads/master
2020-08-22T02:50:57.779313
2019-10-08T10:57:52
2019-10-08T10:57:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,233
py
''' 2019.10.8 ming71 功能: 对box进行kmeans聚类 注意: - 停止条件是最小值索引不变而不是最小值不变,会造成早停,可以改 - 暂时仅支持voc标注 - 如需改动再重写get_all_boxes函数即可 ''' import numpy as np import glob import os from decimal import Decimal class Kmeans: def __init__(self, cluster_number, all_boxes, save_path): self.cluster_number = cluste...
[ "chaser.ming@gmail.com" ]
chaser.ming@gmail.com
65b8808ec3e1a0d27451e396ee0d6a134cdabb91
a98cab2f9c24a85a5f46b2cbec7506b79f4ea634
/app/src/models/sentence_model.py
1588e64f2771d2064366357aaa9e173d0246e6a2
[]
no_license
DIS-SIN/ODSC-2019
b8b8d10b41d95925219a0be36b5ef8b541396681
c2a606471452e358f0e245841e78f562c570bbf5
refs/heads/master
2020-05-17T18:27:08.591454
2019-04-30T03:02:35
2019-04-30T03:02:35
183,884,786
3
0
null
null
null
null
UTF-8
Python
false
false
486
py
from neomodel import ( StructuredNode, StringProperty, DateTimeProperty, UniqueIdProperty ) from datetime import datetime class Sentence(StructuredNode): nodeId = UniqueIdProperty() sentence = StringProperty(required=True) addedOn = DateTimeProperty(default_now=True) updatedOn = DateT...
[ "omardev9898@gmail.com" ]
omardev9898@gmail.com
184895f8be106c50e7efd39383cec128bad28d48
8780bc7f252f14ff5406ce965733c099034920b7
/pyCode/pagesize/pagesize/wsgi.py
dfa911c708e95d9a1ec3be3f2f82bcdcfb628314
[]
no_license
13661892653/workspace
5e4e458d31b9355c67d67ba7d9faccbcc1ac9f6b
17960becabb3b4f0fc30009c71a11c4f7a5f8330
refs/heads/master
2020-12-24T20:00:15.541432
2018-08-14T13:56:15
2018-08-14T13:56:15
86,225,975
1
0
null
null
null
null
UTF-8
Python
false
false
394
py
""" WSGI config for pagesize project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "470563152@qq.com" ]
470563152@qq.com
72400fc6b6ffce55fbd9162fc62cecddf26120d2
d8169f7c2efdeb40fe9dcdd59ce040138804d2af
/2nd/mysite/settings.py
b80fdf7c56fd69ac13acd7925dd80038a10abed8
[]
no_license
KimDoKy/pyDjango
d9ab67b6da6541ebd04658945922d9924a85b107
53ef776dd20488f0dfda6b7e3fd5281e8f3e98fd
refs/heads/master
2020-12-30T13:08:15.951633
2017-10-04T10:01:15
2017-10-04T10:01:15
91,325,691
0
0
null
null
null
null
UTF-8
Python
false
false
3,604
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.11.1. 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/settings/ """ import os ...
[ "makingfunk0@gmail.com" ]
makingfunk0@gmail.com
52bc7f128792a60754a8768605b64ec973f3a0b1
c61f41a8655b39098ffa257fb994979d17dfb10c
/cremilda/parser.py
f9fd5a4c5ff50d4043307e03b5cbf47de4a5c04b
[]
no_license
luizpaulosilva/compiladores-1
48f09085c0f61b2f1bea0507adde9a03473b2d23
f553d9de0b6cd764d11bd533cec6bde9877d6587
refs/heads/master
2020-03-18T10:50:01.200756
2018-05-03T17:13:41
2018-05-03T17:13:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
import ox from .lexer import tokens from .ast import BinOp, FCall, Atom, Assign def make_parser(): return ox.make_parser([ ('module : statement SEMICOLON', lambda x, _: [x]), ('module : statement SEMICOLON module', statements), ('statement : NAME EQ expr', var_def), ('expr : atom OP expr', op_ca...
[ "fabiomacedomendes@gmail.com" ]
fabiomacedomendes@gmail.com
51ed26d155d3ac70a5b01ef59f20d79a642bf07f
ef6229d281edecbea3faad37830cb1d452d03e5b
/ucsmsdk/mometa/adaptor/AdaptorIscsiAuth.py
85653c123f5847d9bf6701d752efdd160c69cfe0
[ "Apache-2.0" ]
permissive
anoop1984/python_sdk
0809be78de32350acc40701d6207631322851010
c4a226bad5e10ad233eda62bc8f6d66a5a82b651
refs/heads/master
2020-12-31T00:18:57.415950
2016-04-26T17:39:38
2016-04-26T17:39:38
57,148,449
0
0
null
null
null
null
UTF-8
Python
false
false
2,402
py
"""This module contains the general information for AdaptorIscsiAuth ManagedObject.""" import sys, os from ...ucsmo import ManagedObject from ...ucscoremeta import UcsVersion, MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class AdaptorIscsiAuthConsts(): pass class AdaptorIscsiAuth(ManagedObject): ...
[ "test@cisco.com" ]
test@cisco.com
b07068e53d5ceac86d2431c09b775cdc9a8e872a
159aed4755e47623d0aa7b652e178296be5c9604
/data/scripts/templates/object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_gray.py
7b3c9de5103bfa24a894b44ac8e8c59d5f7349ac
[ "MIT" ]
permissive
anhstudios/swganh
fb67d42776864b1371e95f769f6864d0784061a3
41c519f6cdef5a1c68b369e760781652ece7fec9
refs/heads/develop
2020-12-24T16:15:31.813207
2016-03-08T03:54:32
2016-03-08T03:54:32
1,380,891
33
44
null
2016-03-08T03:54:32
2011-02-18T02:32:45
Python
UTF-8
Python
false
false
469
py
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Tangible() result.template = "object/tangible/lair/base/shared_poi_all_lair_insecthill_small_fog_gray.iff" result...
[ "rwl3564@rit.edu" ]
rwl3564@rit.edu
123bd91eada7ece3d6f864c35413bb2c53b6a044
156d054848b211fd4ca75057b9b448c9260fdd7d
/python-data-analysis/python_data_analysis/ch06/ch06-6.py
9c509a860d71e83883edf980f1ddaa56f8617c1d
[]
no_license
wwxFromTju/Python-datascience
adfc06030dc785901b5fd33824529f86fcf41c54
7c58526ef54a6f10cbe1d4c7e5e024ddc423908a
refs/heads/master
2021-01-20T17:36:51.701638
2016-09-04T11:21:56
2016-09-04T11:21:56
58,730,506
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
#!/usr/bin/env python # encoding=utf-8 from urllib2 import urlopen from lxml.html import parse import pandas as pd import numpy as np from pandas.io.parsers import TextParser from pandas import Series, DataFrame # XML和HTML # 通过指定kind来获得列名或数据 def _unpack(row, kind='td'): elts = row.findall('.//%s' % kind) retu...
[ "wxwang@tju.edu.cn" ]
wxwang@tju.edu.cn
0243fca320209c2522051b1b89d64c9a349e4937
7160f0637ba4fdd85feeb43aca2125c3479c474c
/config/spec.py
b1b021a751d98f14b75db187ffcdf0c648646468
[ "MIT" ]
permissive
RENCI/pdspi-mapper-parallex-example
86a39e513f1e07f73be1281c81b2b143ed7e5d80
1c99fa42b7b9bc2c09e9cad2f1c55ea10549814a
refs/heads/master
2023-05-11T04:29:58.354329
2021-03-03T23:14:21
2021-03-03T23:14:21
260,721,734
0
2
MIT
2023-05-01T21:42:44
2020-05-02T15:54:12
Python
UTF-8
Python
false
false
5,561
py
from pdsphenotypemapping.clinical_feature import * from tx.dateutils.utils import strtodate from dateutil.relativedelta import relativedelta requested_patient_variable_ids = get_patient_variable_ids(patientVariables) timestamp_datetime = strtodate(timestamp) for patient_id in patientIds: patient_data = deref(data, ...
[ "xuh@cs.unc.edu" ]
xuh@cs.unc.edu
206494e27a4e33018dcfbb23b90c5fa250dea24c
eda67cc12434d1b661da46771ce4280842798bf9
/google-cloud-sdk/lib/googlecloudsdk/api_lib/compute/instance_template_utils.py
d86efba15894b77281d3fcbb6bb137c11602be46
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
hexingren/data-pipeline
b48870618bbbcb428dd060b64f91e049815e9980
ea1eda9977bb21b1bf58df4e74655640c50cb080
refs/heads/master
2021-01-11T16:48:46.202556
2017-05-14T23:10:38
2017-05-14T23:10:38
79,674,630
0
3
null
2020-07-25T05:43:03
2017-01-21T21:40:38
Python
UTF-8
Python
false
false
8,248
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "hexingren@gmail.com" ]
hexingren@gmail.com
33df19f351ae1e38a5fef7a942b3eaaee767871b
6e46a850cc4ece73476a350e676ea55ce72b200a
/aliyun-python-sdk-reid/aliyunsdkreid/request/v20190928/ImportSpecialPersonnelRequest.py
fb397d0415577135ad8be89532374fbb0d1edd62
[ "Apache-2.0" ]
permissive
zhxfei/aliyun-openapi-python-sdk
fb3f22ca149988d91f07ba7ca3f6a7a4edf46c82
15890bf2b81ce852983f807e21b78a97bcc26c36
refs/heads/master
2022-07-31T06:31:24.471357
2020-05-22T17:00:17
2020-05-22T17:00:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,552
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
0565407cdfc58de77957fbefb50611a9c24c4748
d9720a7b4bfe713426f766547062aaeacdfa2566
/models/city.py
44ade30d3614b334699e4c1bc26318d31b39b2b7
[ "MIT" ]
permissive
AlisonQuinter17/AirBnB_clone
b90a96bc2256e32f648bb2b9a8e1dbdba90ca4eb
c890e3b4f9eb7a3ded96ac756387109351e6b13f
refs/heads/main
2023-01-19T05:10:39.635975
2020-11-18T17:36:59
2020-11-18T17:36:59
308,370,255
1
2
MIT
2020-11-03T16:03:36
2020-10-29T15:27:01
Python
UTF-8
Python
false
false
144
py
#!/usr/bin/python3 from models.base_model import BaseModel class City(BaseModel): """ city attributes """ state_id = "" name = ""
[ "afarizap@gmail.com" ]
afarizap@gmail.com
2b117cb43b2993dc5748ae809156750eb0e3a3f7
6bf005128fb95ea21994325ace59cf0664d0159e
/U3DAutomatorClient/script/windows/PPT3DTestCase/FirstStageTestCase/InsertWordArtTestCase.py
101fe499da4ad6957383cee6f9715c1d14d63a4c
[]
no_license
Bigfishisbig/U3DAutomatorTest
5ab4214fc6cda678a5f266fb013f7dd7c52fcaf8
93a73d8995f526f998ff50b51a77ef0bbf1b4ff8
refs/heads/master
2023-01-07T11:59:19.025497
2019-09-20T06:06:55
2019-09-20T06:06:55
209,458,914
0
0
null
2022-12-27T15:35:30
2019-09-19T03:58:43
Python
UTF-8
Python
false
false
1,796
py
#!/usr/bin/env python # coding=utf-8 """ 文件名称:InsertWordArtTestCase.py 作者:ycy 版本:PPTPro 创建时间:2019/1/18 15:51 修改时间: 软件:PyCharm """ from script.windows.Operation import * from script.windows.SystemDialog import SystemDiaglog from script.windows.PPT3DTestCase.Action import Action from script.windows.PPT3DSetting.SourcePat...
[ "1227479796@qq.com" ]
1227479796@qq.com
e9e5d9560e3538cf8acd44dda5426de0b90d8434
2d7237e1b35a7feb659c34c04da7e3069b1ed1ee
/virtual/bin/easy_install
ccf28af20e903607266746a93b5af7a4f57b5faa
[ "MIT" ]
permissive
Juru-10/STA
c204dfc6d58f5322eece46e84ad038ba51bc6f88
df9fdef0c70dece49cca09018ad4f57583d05b73
refs/heads/master
2020-04-21T06:20:39.004444
2019-05-08T10:20:35
2019-05-08T10:20:35
169,363,398
0
1
null
null
null
null
UTF-8
Python
false
false
267
#!/home/wecode/Desktop/DJANGO/STA/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jurassu10@gmail.com" ]
jurassu10@gmail.com
6c3521f7f8735e45cd7fa0cd7ff651fbf0bf0d51
717171ed7a14ad60dd42d62fe0dd217a0c0c50fd
/19年7月/7.02/base64处理图形验证码.py
bd54377e9b458358c19bb62f61375ac74e346fcc
[]
no_license
friedlich/python
6e9513193227e4e9ee3e30429f173b55b9cdb85d
1654ef4f616fe7cb9fffe79d1e6e7d7721c861ac
refs/heads/master
2020-09-04T14:34:48.237404
2019-11-18T14:54:44
2019-11-18T14:54:44
219,756,451
1
0
null
null
null
null
UTF-8
Python
false
false
3,693
py
import requests,base64,sys,csv from PIL import Image address_url = 'https://www.ele.me/restapi/bgs/poi/search_poi_nearby?' place = input('请输入你的收货地址:') params = { 'geohash': 'wtw3sjq6n6um', 'keyword': place, 'latitude': '31.23037', 'limit': '20', 'longitude': '121.473701', 'type': 'nearby' }...
[ "1164166295@qq.com" ]
1164166295@qq.com
19acfeedde17e2b77e96900b01d98cd205499e10
35dbf8489dc1cb63087dd01ba9de57643e9b3aba
/ogb/io/save_dataset.py
c128812f1b2e3be2f34a5ec6971ef796d8831fd0
[ "MIT" ]
permissive
edwardelson/ogb
9c6c6fcfeb04ae042919c05b7a060c143c7f3d5c
c783060c5ada3641c0f08527acd1d53626f9f9c9
refs/heads/master
2023-06-02T05:12:08.056741
2021-06-16T17:55:42
2021-06-16T17:55:42
356,612,389
2
1
MIT
2021-06-16T17:55:43
2021-04-10T14:51:59
Python
UTF-8
Python
false
false
28,886
py
import torch import pandas as pd import os import os.path as osp from datetime import date import shutil from tqdm import tqdm import numpy as np from ogb.io.read_graph_raw import read_binary_graph_raw, read_binary_heterograph_raw from ogb.utils.torch_util import all_numpy class DatasetSaver(object): ''' A...
[ "weihua916@gmail.com" ]
weihua916@gmail.com
05be3d589bb0eef2a4cd064c43dcf7e93a68c7a2
e8b38b8dfa348ff006eb197a7906ca8e491a23dc
/tests/conftest.py
79144b69789b7a96597410997a9f0eea0252414d
[ "MIT" ]
permissive
pyccel/pyccel
d79a81dbdff1172839a6a1227abfcc1f97e6c97b
1896b761ba662c90b14c195bbb6eb5cddc57cbfc
refs/heads/devel
2023-08-30T12:15:25.244401
2023-08-28T09:31:32
2023-08-28T09:31:32
100,463,736
307
39
MIT
2023-09-14T19:29:26
2017-08-16T07:59:14
Python
UTF-8
Python
false
false
2,423
py
# pylint: disable=missing-function-docstring, missing-module-docstring import logging import os import shutil import pytest from mpi4py import MPI from pyccel.commands.pyccel_clean import pyccel_clean github_debugging = 'DEBUG' in os.environ if github_debugging: import sys sys.stdout = sys.stderr @pytest.fixt...
[ "noreply@github.com" ]
pyccel.noreply@github.com
41a3917f248cec7eca19c81329335ccd0bd32c96
696799b824503429a3ac65ebdc28890bfbcaebe0
/plugins/com.astra.ses.spell.gui.cots_4.0.2.201806070922/win32/spell/spell/lib/adapter/value.py
4d84f6d6e65da20cf8515b2f88d5d692597a2fe7
[]
no_license
CalypsoCubesat/SPELL_GUI_4.0.2_win32_x86
a176886b48873b090ab270c189113a8b2c261a06
9275ecfff2195ca4d4c297f894d80c1bcfa609e3
refs/heads/master
2021-08-03T08:04:25.821703
2019-10-28T04:53:50
2019-10-28T04:53:50
217,968,357
0
0
null
2021-08-02T17:03:44
2019-10-28T04:50:59
Python
UTF-8
Python
false
false
3,989
py
############################################################################### """ (c) SES-ASTRA 2008 PACKAGE spell.lib.adapter.value FILE user.py DESCRIPTION Variant value helper class COPYRIGHT This software is the copyrighted work of SES ASTRA S.A. All rights reserved. PROJECT ...
[ "matthew.travis@aresinstitute.org" ]
matthew.travis@aresinstitute.org
7969080b1179beb14ddaf543f8a32366a6d882ae
253cd5d6074d322a233bda37da4b1c663b6027b3
/cooking/timestamp/broadcast_utils/user_utils.py
13c1fc1ea72b1fe54f12287338a2f130e94404fa
[]
no_license
ZandTree/idea_project
85321156149f9365c6380537d34f05f98e8885ae
e48ea39ef05b54c197b635313fb7b5304bd5691c
refs/heads/main
2023-08-29T11:12:48.561578
2021-11-15T16:18:18
2021-11-15T16:18:18
417,647,191
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
def get_ip(req): """ if x_forward present return it; otherwise remote_addr or empty string """ try: forward = req.META.get('HTTP_X_FORWARDED_FOR') if forward: return req.META.get('HTTP_X_FORWARDED_FOR', req.META.get('REMOTE_ADDR', '')).split(',')[0].strip() else: ...
[ "diafox2015@gmail.com" ]
diafox2015@gmail.com
6d73d4509904137b281d8d1e94290549eded70ac
dab869acd10a3dc76e2a924e24b6a4dffe0a875f
/Laban/LabanLib/dumpLabanRecognizer.py
23f896b8fb16ae97cc5714311bc2eb2e59973fba
[]
no_license
ranBernstein/Laban
d82aff9b0483dd007e03a06e51f7d635f62ed05d
54c88afa9493deacbdd182904cc5d180ecb208b4
refs/heads/master
2021-01-23T13:17:51.777880
2017-02-14T09:02:54
2017-02-14T09:02:54
25,508,010
3
1
null
2017-02-14T09:02:55
2014-10-21T07:16:01
Tcl
UTF-8
Python
false
false
382
py
import pickle import LabanUtils.util as labanUtil X = pickle.load( open( "X", "r" ) ) Y_laban = pickle.load( open( "Y_Laban", "r" ) ) labanClf, selectedIndices = labanUtil.getMultiTaskclassifier(X, Y_laban) f = open('labanClf', 'w') f.flush() pickle.dump(labanClf, f) f.close() f = open('selectedIndices',...
[ "bernstein.ran@gmail.com" ]
bernstein.ran@gmail.com
eb03fe561672b829d8ba86e36d4ee415da5ad41c
38258a7dd9acbfb7adf72983015de68a948a4826
/B_15000~/B_15652.py
cc6422a80ae1ddbd9b06ca5b3cf7a4710db163d2
[]
no_license
kangsm0903/Algorithm
13a7fe5729039a1d0ce91a574c4755a8a92fb02b
7d713d1c9e2e4dc30141d4f409ac1430a357065b
refs/heads/master
2022-10-04T00:33:49.247977
2022-09-26T12:51:16
2022-09-26T12:51:16
219,265,010
5
1
null
null
null
null
UTF-8
Python
false
false
620
py
# 중복 허용 # 비내림차순 N,M=list(map(int,input().split())) result=[] def is_promising(): base=int(result[0]) for i in range(1,len(result)): if base>int(result[i]): # 비내림차순이 아닐 때 return False else: base=int(result[i]) # 비교값을 최신으로 갱신 continue return True def Bru...
[ "kangsm0903@naver.com" ]
kangsm0903@naver.com
0307636f3350b41783f6bc369c9b7562faa04092
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/1154.py
d57c56b69272d0a44af0fad344cc5e916a3e8b59
[]
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
654
py
infile = open('D:\study\codejam\codejam2014\B-large.in','r') outfile = open('D:\study\codejam\codejam2014\B-large.out','w') def main(): T = int(infile.readline()) for case in range(1,T+1): doCase(case) infile.close() outfile.close() def doCase(case): c,f,x = [float(x) for x in inf...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5ed81142cd358de803a556ca744bc771369920b6
3db7d6e2aea7c47b68776443ba27f9fa68546e35
/py/h2o_perf.py
4853b21b06ac9dda9248be8276096289f75a268d
[ "Apache-2.0" ]
permissive
alixaxel/h2o
edb349168d1856ec0f6d2c6c33a4117e2229db24
0868c9df624edb3fd7d946dcd7d5092499bf96cc
refs/heads/master
2021-01-16T22:44:49.012401
2013-04-20T22:55:36
2013-04-20T22:55:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,673
py
import logging, psutil import h2o import time, os class PerfH2O(object): # so a test can create multiple logs def change_logfile(self, subtest_name): # change to another logfile after we've already been going # just want the base name if we pointed to it from somewhere else short_subtes...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
ab39ec8dc7ed3dc0a971ff1d720fcf1da8835483
5a01497e7c29e2488b6a4cb0478405239375eb66
/apetools/commons/broadcaster.py
c2cb2070a7ee15ecdd67b7b8e8a1da9bc821e7bf
[ "Apache-2.0" ]
permissive
russell-n/oldape
8b4d9e996181dc1c7175f72d75c6193443da591b
b4d1c77e1d611fe2b30768b42bdc7493afb0ea95
refs/heads/master
2021-05-30T20:02:18.895922
2016-03-27T04:38:18
2016-03-27T04:38:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,651
py
from apetools.baseclass import BaseClass class Broadcaster(BaseClass): """ A broadcaster sends a single datum to multiple targets """ def __init__(self, receivers): """ :param: - `receivers`: an iterable of callable receivers """ super(Broadcaster, self).__in...
[ "necromuralist@google.com" ]
necromuralist@google.com
30119e16f12f09d9fa55d967a0bb62f049303183
2f5ab43956b947b836e8377370d786e5ee16e4b0
/sklearn2code/sym/test/test_function.py
c0ae2740f50a0419fbe09bbe835b40e8516be96a
[ "MIT" ]
permissive
modusdatascience/sklearn2code
b175fb268fa2871c95f0e319f3cd35dd54561de9
3ab82d82aa89b18b18ff77a49d0a524f069d24b9
refs/heads/master
2022-09-11T06:16:37.604407
2022-08-24T04:43:59
2022-08-24T04:43:59
115,747,326
4
2
MIT
2018-05-01T00:11:51
2017-12-29T19:05:03
Python
UTF-8
Python
false
false
3,495
py
from sklearn2code.sym.function import Function from nose.tools import assert_list_equal, assert_equal from operator import __add__, __mul__, __sub__ from six import PY3 from sklearn2code.sym.expression import RealVariable, RealNumber def test_map_symbols(): fun0 = Function(('x', 'y'), tuple(), (RealVariable('x') +...
[ "jcrudy@gmail.com" ]
jcrudy@gmail.com
f0ddcfc1386615bfe664efdcc8da103a73ee296d
05cde6f12d23eb67258b5a21d4fb0c783bcafbe5
/almebic/models/engine/db_engine.py
1078b54006ced768772dd3efb6b54c9b7762b300
[]
no_license
alejolo311/DataInMotion
f5aff692bcaf9a795969951146f6ab7dc6557b08
75014600785f9d7f8a4771a9bb24e322e812d08f
refs/heads/master
2023-05-13T00:57:41.407175
2020-07-26T00:51:49
2020-07-26T00:51:49
267,895,607
3
2
null
2023-05-01T21:26:16
2020-05-29T15:46:04
CSS
UTF-8
Python
false
false
2,083
py
#!/usr/bin/python3 """ Controls the ORM transactions using postgres db """ from models.base import BaseNode, Base from models.user import User from models.board import Board from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker class DBEngine: __engine = None __session ...
[ "danrodcastillo1994@gmail.com" ]
danrodcastillo1994@gmail.com
35fe9e8d12cff46a0e0ea7b51843e2426507bb4a
59e87634c67508bf7eba8c8b9845354aefa57bc7
/ML/naiveBayes/bayes-titanic.py
b9caec4be2a8acf3fb164902e7017e85f90efa1c
[]
no_license
Caohengrui/MLAndDL
48729b94b2232e628b699cf8d0d4a6c6e81a36f5
d0637f58f45e9c091cd90bbfe9c207223d0994f3
refs/heads/master
2023-03-16T01:06:03.316463
2020-04-14T07:44:15
2020-04-14T07:44:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,446
py
""" Author:wucng Time: 20200110 Summary: 朴素贝叶斯对titanic数据分类 源代码: https://github.com/wucng/MLAndDL 参考:https://cuijiahua.com/blog/2017/11/ml_4_bayes_1.html """ from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler,MinMaxScaler # from sklearn.neighbors import KNeighborsRegre...
[ "gzcl_wcon@126.com" ]
gzcl_wcon@126.com
38a90854558605e5a014f7e6272b4f3c11060c65
265a07a2becd232b292872d1d7136789463874be
/lianxi代码/erchashu.py
5543da1004e52bdcd18148677402156b24dcc306
[]
no_license
Lz0224/Python-exercise
f4918b8cd5f7911f0c35c0458c2269959937d07d
3d09f54aebc653f4a5b36765b25c7241e3960764
refs/heads/master
2020-12-24T22:20:55.573019
2017-08-11T07:18:16
2017-08-11T07:18:16
100,005,776
1
1
null
null
null
null
UTF-8
Python
false
false
1,647
py
#!/usr/bin/python #coding=utf-8 ''' created bu zwg in 2017-7-8 ''' import copy class node(object): def __init__(self, name, data): self.data = data self.name = name self.Rchild = None self.Lchild = None self.child_number = 0 self.parent = None def add_...
[ "Lz0o_o0@outlook.com" ]
Lz0o_o0@outlook.com
b8e02a80dd4ae30959b434085ed27933a2f54964
ae3d0e3c2fb614d96f6c787583c6e2e4cb654ad4
/leetcode/89. 格雷编码.py
6efb740a93fba7e0c11adf3290a8e415330f35cf
[]
no_license
Cjz-Y/shuati
877c3f162ff75f764aa514076caccad1b6b43638
9ab35dbffed7865e41b437b026f2268d133357be
refs/heads/master
2023-02-02T10:34:05.705945
2020-12-14T01:41:39
2020-12-14T01:41:39
276,884,136
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
from typing import List class Solution: def grayCode(self, n: int) -> List[int]: if n == 0: return [0] current = '0' * n ans = [current] use = set() use.add(current) while current: next = None sl = list(current) fo...
[ "cjz.y@hotmail.com" ]
cjz.y@hotmail.com
0b573c7d0218cd57688f0d50721997333fe6315d
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-cbn/aliyunsdkcbn/request/v20170912/CreateTransitRouteTableAggregationRequest.py
33fc8ff3c8ce5418023c4de179e733b508294cf5
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
4,095
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
38038a954baf0435cc4b0471fb337429e94d0cc5
50a39c462fac7e889f6257cc2c3e3c84986e4bb2
/RANSAC_example.py
b25e7be454f49d1f4943e0a29be496fb6270413e
[]
no_license
chickenbestlover/MSDN2
2b16f70eb58bcc67893ec65ed1a58db3f0dd79a9
58a0c6aa8e8e8953572567145ffecd5b10bdfb5a
refs/heads/master
2020-03-25T07:37:54.873304
2018-11-05T05:46:02
2018-11-05T05:46:02
143,572,068
0
0
null
null
null
null
UTF-8
Python
false
false
8,701
py
import numpy as np import pcl points = np.array([[ 594.6663 , -1617.9456 , -797.36224], [ 600.5656 , -1638.1005 , -806.5441 ], [ 599.16583, -1638.3135 , -805.9235 ], [ 597.76605, -1638.5264 , -805.3029 ], [ 596.36633, -1638.7394 , -804.6823 ], [ 594.96655, -1638.9523 , -8...
[ "jmpark@rit.kaist.ac.kr" ]
jmpark@rit.kaist.ac.kr
6c6dace090ac4698a71aa96258aa378ca9e059f0
aec9a1f3d1d36f19724e745ca4d09a20f67208dc
/matching/migrations/0006_auto_20210114_2030.py
799634392703d79e913d7c68e61a37828e2927c9
[]
no_license
endlessor/open-united-backend
b1b1c3411d0d48bc79b35895c70f24d773ac7344
86f6905cce14b834b6bf059fd33157249978bd14
refs/heads/main
2023-04-29T13:35:28.529360
2021-05-17T14:16:39
2021-05-17T14:16:39
368,211,786
1
0
null
null
null
null
UTF-8
Python
false
false
765
py
# Generated by Django 3.1 on 2021-01-15 20:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('matching', '0005_auto_20210113_1839'), ] operations = [ migrations.RemoveField( model_name='taskclaimrequest', name='s...
[ "robcoder@hotmail.com" ]
robcoder@hotmail.com
22c03deb0d8157383f3c1246c029e58a5a3f8e90
6ab67facf12280fedf7cc47c61ae91da0bcf7339
/service/yowsup/yowsup/layers/protocol_media/protocolentities/message_media_vcard.py
2d57fbcbadbf58e9a66ad180420dd4e70030640f
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
PuneethReddyHC/whatsapp-rest-webservice
2f035a08a506431c40b9ff0f333953b855f9c461
822dfc46b80e7a26eb553e5a10e723dda5a9f77d
refs/heads/master
2022-09-17T14:31:17.273339
2017-11-27T11:16:43
2017-11-27T11:16:43
278,612,537
0
1
MIT
2020-07-10T11:04:42
2020-07-10T11:04:41
null
UTF-8
Python
false
false
5,305
py
from yowsup.structs import ProtocolEntity, ProtocolTreeNode from .message_media import MediaMessageProtocolEntity class VCardMediaMessageProtocolEntity(MediaMessageProtocolEntity): ''' <message t="{{TIME_STAMP}}" from="{{CONTACT_JID}}" offline="{{OFFLINE}}" type="text" id="{{MESSAGE_ID}}" notify="{{NOTIFY...
[ "svub@x900.svub.net" ]
svub@x900.svub.net
c737c2c9df7e4e431e045cdd97aecd4aa4483742
dcbb4a526f6cf6f490063a6e4b5f1353fda48a1f
/tf_agents/drivers/tf_driver.py
de16194c74cf80ce5e092c4607046a47a02b73ac
[ "Apache-2.0" ]
permissive
Bhaney44/agents
91baf121188f35024c09435276d108600ba6f07e
792d7c6e769d708f8b08d71926ccb9e8a880efef
refs/heads/master
2023-08-09T03:51:16.188708
2023-07-21T17:50:18
2023-07-21T17:50:18
177,231,436
0
0
Apache-2.0
2019-03-23T01:46:03
2019-03-23T01:46:02
null
UTF-8
Python
false
false
5,527
py
# coding=utf-8 # Copyright 2020 The TF-Agents Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
9e25a76b082548ee94432dc821353a29a8e5f423
107973063f26b791ccd6deca0026acb338eb4d6b
/harvest.py
8631b158987a039be018791b790f53b2a123623b
[]
no_license
sonya-sa/melon-objects
322b46138ee9287b74cf8eb50bae64f56eb50e23
a035db0be16e749a0654cc8518315f408efc72bc
refs/heads/master
2020-03-10T10:15:07.606336
2018-04-13T01:09:39
2018-04-13T01:09:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,986
py
############ # Part 1 # ############ class MelonType(object): """A species of melon at a melon farm.""" def __init__(self, code, first_harvest, color, is_seedless, is_bestseller, name): """Initialize a melon.""" self.code = code self.first_harvest = first_harvest self.color ...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
5c8494e379adb3963beead9dc40e803a8116cb46
3de3dae722829727edfdd6cc3b67443a69043475
/cave/com.raytheon.viz.gfe/localization/gfe/userPython/procedures/SnowAmtQPFPoPWxCheck.py
9d7c3a3c8577a8c463d088e2adc2ec0c09f4fe61
[ "LicenseRef-scancode-public-domain", "Apache-2.0" ]
permissive
Unidata/awips2
9aee5b7ec42c2c0a2fa4d877cb7e0b399db74acb
d76c9f96e6bb06f7239c563203f226e6a6fffeef
refs/heads/unidata_18.2.1
2023-08-18T13:00:15.110785
2023-08-09T06:06:06
2023-08-09T06:06:06
19,332,079
161
75
NOASSERTION
2023-09-13T19:06:40
2014-05-01T00:59:04
Java
UTF-8
Python
false
false
61,851
py
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to ...
[ "mjames@unidata.ucar.edu" ]
mjames@unidata.ucar.edu
caa61f239dd804cfd346a5bfbdd0c96f9db3019c
aa853a9094fff4b6e9b0ddc7469be29ad5f0f811
/poi_account_discount/__init__.py
fbcb99378cb4816bc628da5b14f4c85a93bfbda9
[]
no_license
blue-connect/illuminati
40a13e1ebeaceee39f17caa360f79e8deeaebf58
6682e60630064641474ddb2d8cbc520e30f64832
refs/heads/master
2022-01-06T00:55:58.465611
2018-11-24T04:30:03
2018-11-24T04:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2010 Poiesis Consulting (<http://www.poiesisconsulting.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the G...
[ "yori.quisbert@poiesisconsulting.com" ]
yori.quisbert@poiesisconsulting.com
69ce65da047bda6776179e27ce17ebcda32a87e1
040a6cc313a6200da1d176191707bfb896053db4
/descarteslabs/catalog/catalog_base.py
0729318b9da2c1d50cf45c9f6c684f13b12fdd4c
[ "Apache-2.0" ]
permissive
aashish24/descarteslabs-python
77747984994609205887262bafeec5e9d38fcd0c
00149115e8ef6cd1f48b0a6c689f5da07f69c306
refs/heads/master
2022-11-19T02:02:00.959896
2020-07-24T16:23:55
2020-07-24T16:42:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,013
py
from six import add_metaclass, iteritems, ensure_str, wraps from types import MethodType import json from descarteslabs.client.exceptions import NotFoundError from .attributes import ( AttributeMeta, AttributeValidationError, AttributeEqualityMixin, DocumentState, Timestamp, ListAttribute, ...
[ "support@descarteslabs.com" ]
support@descarteslabs.com
d5d7bc6f783064bdf9f3c5a83dec9a899defc356
060967fa3e6e390ac0504172e6dea8421ffb9d98
/2022/python2022/aoc/day01.py
f8899599170d8fd6ebfed8fd5aa9f6cefed79066
[]
no_license
mreishus/aoc
677afd18521b62c9fd141a45fec4b7bc844be259
e89db235837d2d05848210a18c9c2a4456085570
refs/heads/master
2023-02-22T12:00:52.508701
2023-02-09T04:37:50
2023-02-09T04:39:44
159,991,022
16
3
null
2023-01-05T10:00:46
2018-12-01T22:00:22
Python
UTF-8
Python
false
false
901
py
#!/usr/bin/env python """ Advent Of Code 2022 Day 1 https://adventofcode.com/2022/day/1 """ from typing import List import heapq def parse(filename: str) -> List[int]: """ Parse the input file into a list of integers. Each integer is the sum of the numbers in a block. """ with open(filename) as fi...
[ "mreishus@users.noreply.github.com" ]
mreishus@users.noreply.github.com
9e011f833190c003c501b34093c98fea67323259
6bf492920985e3741440ba53e1c7f8426b66ac1f
/snakemake_rules/rules/gatk/gatk_combine_variants.smk
4aeb72ab60e819d714f462e05f027c1fd761730a
[ "MIT" ]
permissive
ukaraoz/snakemake-rules
5b2ba7c9ec19d88b56067a46f66fd0c72e48c368
07e96afeb39307cdf35ecc8482dc1f8b62c120b9
refs/heads/master
2020-03-31T15:20:44.444006
2018-09-07T08:53:47
2018-09-07T08:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
smk
# -*- snakemake -*- include: 'gatk.settings.smk' include: 'gatk_variant_snp_JEXL_filtration.smk' include: 'gatk_variant_indel_JEXL_filtration.smk' config_default = {'gatk': {'combine_variants': _gatk_config_rule_default.copy()}} update_config(config_default, config) config = config_default cmd = re.sub("-Xmx[0-9a-zA...
[ "per.unneberg@scilifelab.se" ]
per.unneberg@scilifelab.se
d052fff3e9a8ca167ab284868d1d61e0dbb654ce
23f6dbacd9b98fdfd08a6f358b876d3d371fc8f6
/rootfs/usr/lib/pymodules/python2.6/papyon/sip/transport.py
20fe3f535a9615f5870fc8c179f1e13f2a9f1010
[]
no_license
xinligg/trainmonitor
07ed0fa99e54e2857b49ad3435546d13cc0eb17a
938a8d8f56dc267fceeb65ef7b867f1cac343923
refs/heads/master
2021-09-24T15:52:43.195053
2018-10-11T07:12:25
2018-10-11T07:12:25
116,164,395
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
/usr/share/pyshared/papyon/sip/transport.py
[ "root@xinli.xinli" ]
root@xinli.xinli
bcdd0abe6750285e7fa6b8a7a95cdf85baaf302a
3bb1cf4309e0e6488aeb3e5ae8b78138cfdaa002
/kyopro_tenkei/90_54.py
8de332b75aa23b0227743cdd237feacaa92f0a7a
[]
no_license
show2214/atcoder
18a2dd0c2167fadeda2725a67d2d68d593b0bef9
7aae17b41b07bece746b34258b9514e145186327
refs/heads/master
2022-06-27T19:17:46.514876
2022-06-19T23:21:48
2022-06-19T23:21:48
249,148,332
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
N, M = map(int, input().split()) g = [[] for _ in range(N + M)] for i in range(M): input() for j in map(int, input().split()): g[N + i] += j - 1, g[j - 1] += N + i, from collections import * q = deque([0]) v = [0] + [-1] * (N + M) while q: c = q.popleft() for b in g[c]: if v[b...
[ "show2214@icloud.com" ]
show2214@icloud.com
f1c5e69189bc8a90462b021c01db2e9eb96a1b0a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03239/s478967614.py
7b473b8df981d413d6bb9ee6fe7d2eb9b2bdec4c
[]
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
201
py
n, t = map(int, input().split()) ans = 100000 for i in range(n): c, tt = map(int, input().split()) if tt <= t: ans = min(ans, c) if ans == 100000: print("TLE") else: print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
01ba65d8da0f32d363289cae1846027df987e112
28a462a28f443c285ca5efec181ebe36b147c167
/tests/compile/basic/es2017/EscapeRegExpPattern.spec
2289280aaa2efa7ea17a57ad0c73afcb15409c9a
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kaist-plrg/jstar
63e71f9156860dc21cccc33a9f6c638dfee448ea
1282919127ea18a7e40c7a55e63a1ddaaf7d9db4
refs/heads/main
2022-07-22T08:12:34.947712
2022-02-27T04:19:33
2022-02-27T11:06:14
384,045,526
6
4
NOASSERTION
2022-02-27T11:05:26
2021-07-08T07:53:21
Python
UTF-8
Python
false
false
1,405
spec
1. Let _S_ be a String in the form of a |Pattern[~U]| (|Pattern[+U]| if _F_ contains `"u"`) equivalent to _P_ interpreted as UTF-16 encoded Unicode code points (<emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>), in which certain code points are escaped as described below. _S_ may or m...
[ "h2oche22@gmail.com" ]
h2oche22@gmail.com
a18b89fb83c54798265c1232a5612a39c65e53ff
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/ke4FSMdG2XYxbGQny_5.py
3eb2cfb5e413340d184121753557a8220852eae5
[]
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
203
py
def even_odd_transform(lst, n): l=lst if len(l)==0: return l for i in range(n): for j in range(len(l)): if l[j]%2==0: l[j]=l[j]-2 else: l[j]=l[j]+2 return l
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a1dd46d126b3b32636fc69f0ddcb514cf076741c
ea35facf6d823e93706b5f551408250b1e089be9
/共通問題/9_2.py
e241ba9b38b5616e7210f25d70710da375922582
[]
no_license
YukiNGSM/PythonStudy
7a2d24f4762e384531eadd691858296b00b6a6b3
26310d0e007745ff4920ccd0fc3e51771cb2d5f1
refs/heads/master
2023-07-19T00:06:29.061255
2021-09-22T01:29:49
2021-09-22T01:29:49
409,025,304
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
def hello(): for i in range(10): print(('Hello')) hello()
[ "ykh2135239@o-hara.ac.jp" ]
ykh2135239@o-hara.ac.jp
9fce20f8fc036410b74c53272e3f3ba7e0bbea05
9468507c1beeb2cb69591889605ea155d2cb7a63
/mysite/urls.py
3c3cb29f215257dcd4b0b3f45a2b59dd078c5b1b
[]
no_license
nimal54/drf-polls
2375e2f5b78670de40c72b51eb616a69e7f49a65
9b29230998146eb225e0cffa0703d6bed1cc876a
refs/heads/master
2020-04-25T00:21:14.952917
2018-03-16T11:54:53
2018-03-16T11:54:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
from django.urls import include, path from django.contrib import admin urlpatterns = [ path('api/', include('polls.urls')), path('admin/', admin.site.urls), ]
[ "will@wsvincent.com" ]
will@wsvincent.com
dc07e4c5023b62bbac3b5ed25bf1cbde99182341
54516826a15e4588decd4a040c3f3ae73b1f49df
/supplier/admin.py
d4cd50319ed56dfbd6c7cc180afdbbb36f403d02
[]
no_license
boyombo/shylock
9454b53ef285af692675be4fe7a176d1aa29ced1
c63ac02b3ee18160ec94c9e8462165eaf7e0f3b5
refs/heads/master
2021-05-05T11:10:13.523616
2018-02-06T08:10:47
2018-02-06T08:10:47
118,116,949
0
1
null
2018-02-06T08:10:48
2018-01-19T11:24:14
JavaScript
UTF-8
Python
false
false
147
py
from django.contrib import admin from supplier.models import Supplier @admin.register(Supplier) class SupplierAdmin(admin.ModelAdmin): pass
[ "bayokrapht@gmail.com" ]
bayokrapht@gmail.com
39ab273dae34141056fb99b2a557a0c095a9ee09
8cd90c5b92fe85158226de32b1fbb4c34ebd658b
/oscar_docdata/models.py
f3295ad74437b13549e68019e34d3e7aedc771ad
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
mvantellingen/django-oscar-docdata
772ec3db372f9571cf62932ad2fe945c65fd2d7f
983d3f8144e1feb67d4a2c5bb98b499e69e4ad44
refs/heads/master
2023-08-25T06:33:59.105290
2016-06-14T12:41:37
2016-06-14T12:41:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,043
py
from decimal import Decimal as D from django.db import models from django.utils.translation import ugettext_lazy as _ from oscar_docdata.managers import DocdataOrderManager from . import appsettings try: from polymorphic.models import PolymorphicModel # django-polymorphic 0.8 except ImportError: from polymorp...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
264aa98cdced1e3a3b21e731910d92a4f81a7489
5db3d51ff9a0bd7647c2315a358cb4ec9299d9d5
/analyzeBusReportFnv2.py
f24d495ec4b04167e7b50dce7763a807fe53f163
[]
no_license
bikiranguha/Thesis_project
866385f51bd476448730c8169eb0b3c1dacba84e
1a52ba0fed86afb522bda067b8011b6940b4088d
refs/heads/master
2020-03-31T06:52:16.627848
2018-12-28T02:59:33
2018-12-28T02:59:33
151,997,984
1
0
null
null
null
null
UTF-8
Python
false
false
2,684
py
""" Function which generates a bus flow report of comed buses """ def BusReport(flowReportFile,Raw): from getBusDataFn import getBusData BusDataDict = getBusData(Raw) ComedPlusBoundarySet = set() flowDict = {} #FromBusLines = [] #ToBusLines = [] class flowReport(object): def __init__(self): self.toBusL...
[ "bikiranguha@gmail.com" ]
bikiranguha@gmail.com