blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
adb868da6a2fbe03af1aa30791dc873c733025ff
e13091c137650cd31c8d9778087b369033d0cf96
/src/main/python/study/boj/search/BOJ-9663.py
47b81d7d0d14185328179878d4ece4c4c6a0d7bc
[]
no_license
jwoojun/CodingTest
634e2cfe707b74c080ddbe5f32f58c1e6d849968
d62479d168085f13e73dfc1697c5438a97632d29
refs/heads/master
2023-08-22T09:03:32.392293
2021-10-31T01:00:33
2021-10-31T01:00:33
300,534,767
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
def check(x): for i in range(x): if row[x] == row[i] or abs(row[x] - row[i]) == x - i: return False return True count = 0 def dfs(x): global count global result count+=1 if x == N: result += 1 else: for i in range(N): row[x] = i ...
[ "jjwjun10@gmail.com" ]
jjwjun10@gmail.com
97e65c06ec0d2681800af36d953c34e8837d5b92
5e8ed29add41ca0a1ac0eacbda447292313874c3
/util/filtering.py
29fc803365aeac248a5ea7046b54fd68df3cd892
[]
no_license
TharinduDR/Offenseval_2020
aa4961937bc98158b2e24c28934411df2a853c2d
a08764ae5980223ae8577c9fd6f160d8a450cfd6
refs/heads/master
2023-07-20T06:12:48.467268
2020-03-03T17:08:30
2020-03-03T17:08:30
224,734,186
2
0
null
2023-07-06T21:55:29
2019-11-28T21:41:28
Jupyter Notebook
UTF-8
Python
false
false
258
py
def filter_supportfile(df, threshold): df['subtask_a'] = df["average"].apply(lambda x: label(x)) filtered_df = df.loc[(df['std'] < threshold)] return filtered_df def label(x): if x > 0.5: return 'OFF' else: return 'NOT'
[ "rhtdranasinghe@gmail.com" ]
rhtdranasinghe@gmail.com
7329182a5d2427fa3630d06e2336b689969f3678
03c9c434c48c56382a253d0eb93f0fb7325668ba
/Day41-55/code/oa/hrs/urls.py
91a2660c9e882fbcb2e04a52f8f12a0aa96fb08e
[]
no_license
simonxu0559/Python-100-Days-master
426a62b4bf7f67b77ad02078affb27fcea4711e4
dd401a42bae4b40d084fa1b8de6b79b0fd20b262
refs/heads/master
2020-06-29T07:10:53.073330
2019-07-17T09:48:13
2019-07-17T09:48:13
200,471,302
6
1
null
2019-08-04T09:01:09
2019-08-04T09:01:09
null
UTF-8
Python
false
false
310
py
from django.urls import path from hrs import views urlpatterns = [ path('depts', views.depts, name='depts'), # url('depts/emps/(?P<no>[0-9]+)', views.emps, name='empsindept'), path('depts/emps/<int:no>', views.emps, name='empsindept'), path('deldept/<int:no>', views.del_dept, name='ddel') ]
[ "=" ]
=
393cb342c592ea2692da2084ebc1893a6b61b46e
b4dd760e79de0db39792b947bacfe2b27c2a89ee
/test_challenge60easy.py
87630f078055e4db45471442e93e83c5ffc9fb2d
[]
no_license
mooja/dailyprogrammer
c23f1a0c5d6e4269b6c03b47d8cc18f6d857a6e1
d12fcb6744ac3b4a5e651f37ea0b3f20ca062f7d
refs/heads/master
2021-01-16T23:47:28.955660
2018-04-09T18:03:50
2018-04-09T18:03:50
23,394,207
3
1
null
null
null
null
UTF-8
Python
false
false
791
py
#!/usr/bin/env python # encoding: utf-8 ####################################################################### # challenge60easy tests # ####################################################################### import pytest from challenge60easy import is_polite @pytest...
[ "max.atreides@gmail.com" ]
max.atreides@gmail.com
3e300edb3ee9b874648b78629ed34568a4432f5b
26aa62e1fab9722f7750b54ad5eaa336427318d3
/project/celery.py
a2428ae1166cd4e2d86408285d1d9ed6c85fe645
[ "MIT" ]
permissive
collingreen/djeroku
b2099511e8ab2b2d4ad365447fc5bb0781a994fd
cbde05de28bedcad42834e18a3ab465ac5683586
refs/heads/master
2020-06-02T08:41:38.056714
2016-01-18T04:56:44
2016-01-18T04:57:00
12,627,354
1
0
null
2016-01-19T08:06:28
2013-09-05T19:55:28
Python
UTF-8
Python
false
false
743
py
""" Celery configuration that uses the Django settings for everything, including autodiscovering tasks by searching installed apps /tasks.py files. """ from __future__ import absolute_import import os from celery import Celery from django.conf import settings # set the default Django settings module for the 'celery'...
[ "collin@collingreen.com" ]
collin@collingreen.com
a58fc1d45640e5cbe947517064399667230eb86c
ea0d838e92f72089298fca3a53404fd7fd35252b
/setup.py
e9557832b20c33d0ca58a386397c26bf1b57a143
[ "BSD-3-Clause" ]
permissive
trallard/scrapbook
6b87d3099c40419ac28e28ffd643dee2e080ce4b
e7aadde95090103b84f94d1148bfa045aab0972f
refs/heads/master
2020-06-19T14:35:15.176252
2019-07-15T21:31:18
2019-07-15T21:31:18
196,745,567
0
0
BSD-3-Clause
2021-11-08T19:36:36
2019-07-13T16:54:31
Python
UTF-8
Python
false
false
3,756
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import os import sys from os import path from setuptools import setup # io.open is needed for projects that support Python 2.7 # It ensures open() defaults to text mode with universal newlines, # and accepts an argument to specify the ...
[ "mseal007@gmail.com" ]
mseal007@gmail.com
0233675063ec9496ee8a077ef1421215f0088930
3160aa15f408a13635e3c01cbb17e1710722e19e
/tests/test_main.py
f802198ee1b5391e15971b90b002997e648d718a
[]
no_license
fdev31/zicbee-workshop
9db24d228014ebf0a0b43c6ecbf5000b428f4a40
04230c176e5e696cb66dd7a338a02bb63bc5f196
refs/heads/master
2016-09-10T09:51:41.340698
2013-03-12T23:40:25
2013-03-12T23:40:25
926,166
0
0
null
null
null
null
UTF-8
Python
false
false
3,343
py
#!/usr/bin/env python import os import shutil import threading from time import sleep from zicbee_lib.commands import execute, commands cwd = os.getcwd() class ServerThread(threading.Thread): def __init__(self): threading.Thread.__init__(self) self.setDaemon(True) def run(self): from z...
[ "fdev31@gmail.com" ]
fdev31@gmail.com
40a0cbcfcd6be1d8cc9d1c0553b01e58c7684ad2
5c724d6e03e4194680c793718a4f72a58ca66bb1
/app/migrations/0096_auto_20180928_1213.py
cdfc01ea71eec173491d127cfc6ecc59c996d40c
[]
no_license
tigrezhito1/bat
26002de4540bb4eac2751a31171adc45687f4293
0ea6b9b85e130a201c21eb6cbf09bc21988d6443
refs/heads/master
2020-05-02T07:13:06.936015
2019-03-26T15:04:17
2019-03-26T15:04:17
177,812,144
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-09-28 17:13 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0095_auto_20180928_1211'), ] operations = [ migratio...
[ "you@example.com" ]
you@example.com
11b1220d76b952f48a2b7b26e84e9f5d67e1237b
f811f1f17cd2b220a92ef607f5b7c5469d2ff5db
/src/pyams_utils/size.py
274a313d6f13736bcb54c665298bad7cae8bfb11
[ "ZPL-2.1" ]
permissive
Py-AMS/pyams-utils
ed30a7eb1fb6948f595b4d04bd14fc664741b089
88253ca166c15a1eb7d9112a025b3a4e130a7db6
refs/heads/master
2023-07-21T17:12:50.567980
2023-07-07T11:55:29
2023-07-07T11:55:29
233,407,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,653
py
# # Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net> # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRAN...
[ "thierry.florac@onf.fr" ]
thierry.florac@onf.fr
cd7a38a2f81889db732182d3973a68a4dba7f541
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4030/150004030.py
c7c7462c23720fade20421e8aba3a931464018e3
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,277
py
from bots.botsconfig import * from records004030 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'TN', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'N1', MIN: 1, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
507bacb3482237b54dae1c0cda09725cef49195c
5c6c222eb68cfb625891b7a7f702fe2b55d98ff2
/apps/DatabaseBackups/migrations/0004_auto_20210519_1053.py
8cc6e40dd2c2a668857268d9aef61b7411d3657e
[]
no_license
chrisstianandres/ferreteria
b85bab87c5ad41024af4b6fd566d1e51746aa621
8459b4461b615c99e6d2418c21b0b6dd59ce85df
refs/heads/master
2023-05-31T01:52:19.948355
2021-06-13T14:44:45
2021-06-13T14:44:45
328,787,472
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
# Generated by Django 3.1.5 on 2021-05-19 15:53 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('DatabaseBackups', '0003_databasebackups_fecha'), ] operations = [ migrations.AlterModelTable( name='databasebackups', table=...
[ "chrisstianandres@gmail.com" ]
chrisstianandres@gmail.com
590f943c70ca0d40c63bcd8dbc58e85d2fdaa3ce
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03049/s758721868.py
08a152315733d6e9586a92e09b42432b51b40208
[]
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
528
py
n = int(input()) _a = 0 b_ = 0 b_a = 0 cnt = 0 for i in range(n): s = input() sa = False sb = False if s[0] == "B": sb = True if s[-1] == "A": sa = True if sa and sb: b_a += 1 elif sa: _a += 1 elif sb: b_ += 1 for j in range(len(s)-1): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b5485ab14d98b3c60be2c639f6d980259b246bd6
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/RSG/RSGfragments/RSGravitonToGammaGamma_kMpl02_M_4500_TuneCP5_13TeV_pythia8_cfi.py
7277280031713381d4ff1c691dac55dd92a77edf
[]
no_license
uzzielperez/Analyses
d1a64a4e8730325c94e2bc8461544837be8a179d
1d66fa94763d7847011ea551ee872936c4c401be
refs/heads/master
2023-02-09T04:54:01.854209
2020-09-07T14:57:54
2020-09-07T14:57:54
120,850,137
0
0
null
2020-06-17T16:48:16
2018-02-09T03:14:04
C++
UTF-8
Python
false
false
1,323
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * from Configuration.Generator.Pythia8aMCatNLOSettings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms...
[ "uzzie.perez@cern.ch" ]
uzzie.perez@cern.ch
a19777475895b4f85fc1f61d0b2baad37728c1cf
2e919a1e9f5d6b0ffef37b626d5dc97a5b2f63cd
/Guia_Ejercicios/13/13_5.py
df3dbb693c23608f5c608f4ff410e628b1ec9856
[]
no_license
lucasguerra91/some-python
c3992ac6c49f015bf14f37996ff3c8b0ed7b4d0a
0678e8d884e0641d592a3a457db11cc2085c8b27
refs/heads/master
2021-01-18T13:06:32.454114
2019-06-24T01:46:58
2019-06-24T01:46:58
80,723,911
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
""" Ejercicio 13.5. Escribir dos funciones mutualmente recursivas par(n) e impar(n) que deter- minen la paridad del numero natural dado, conociendo solo que: • 1 es impar. • Si un número es impar, su antecesor es par; y viceversa """ def es_par(n): if n == 0: return True return es_impar(n - 1) def e...
[ "guerra986@gmail.com" ]
guerra986@gmail.com
fa89239804983b148673a6092535a626a777045f
a7596165a29e5186bc6c4718e3b6e835939b105d
/build/env/bin/lss3
6b4f847cb8dbcc320d40b2bd58aafb3b7e389930
[ "Apache-2.0" ]
permissive
lockhart39/HueQualityAndIngestionApp
f0c778665f0fbe699ec30e0df5e9f3ed8a9c3384
c75e55a43a8bdeb7aa0f5bf2101ec72b01dcac1c
refs/heads/master
2021-08-20T00:31:29.481333
2017-11-27T19:22:16
2017-11-27T19:22:16
112,237,923
1
0
null
null
null
null
UTF-8
Python
false
false
187
#!/home/cloudera/hue3.11/build/env/bin/python2.6 # EASY-INSTALL-SCRIPT: 'boto==2.38.0','lss3' __requires__ = 'boto==2.38.0' __import__('pkg_resources').run_script('boto==2.38.0', 'lss3')
[ "cloudera@quickstart.cloudera" ]
cloudera@quickstart.cloudera
76cb7b3dd97adcbc8efd07b3679c475b0539614b
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/android_webview/browser/DEPS
96eaa9b501768693128a3124b75ba93ad4ea6d4a
[ "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
Python
false
false
2,000
include_rules = [ "-android_webview", "+android_webview/browser", "+android_webview/common", "+android_webview/grit", "+android_webview/jni", "+android_webview/public/browser", "+cc", "-cc/blink", "+components/autofill/android", "+components/autofill/content/browser", "+components/autofill/core/...
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
0c3a4910f57c01cb34b28b0a94e063d07805a72e
c3dfbbcb9a9ab161bbd218175a91a71aae39cdcf
/NPZ_hack/data/clean_data.py
7d641bc5b3eb8382bde44ad44e1ecee10372eea4
[]
no_license
brorfred/bayesian_cbiomes
f900a82787d936756a1a3f482bdfd2889c20ffa7
350e56d54b4d44f837d7ddeac7e60bf69d4cac82
refs/heads/master
2020-12-08T18:42:29.774493
2020-01-10T20:13:58
2020-01-10T20:13:58
233,063,708
0
0
null
2020-01-10T14:26:43
2020-01-10T14:26:42
null
UTF-8
Python
false
false
1,054
py
import numpy as np import pandas as pd import pylab as pl def read_chl(fn="Chl_cleaned.xlsx"): """Read Chl data""" return pd.read_excel(fn, parse_dates=[0,], na_values="nd", index_col="Date") def read_nutrients(fn="nutrientdata-1.xls"): """Read Nutrient data""" return pd.read_excel(fn, na_values="nd"...
[ "brorfred@gmail.com" ]
brorfred@gmail.com
829b4df4240b3e120e1bc51039759abf885320f3
cc5a7e5a5cda6f07bad98852c434a2446eef9171
/automatron_youtube_playlist/config_oauth_requester.py
23bfa1d5bb2bfecac93c86790cfa733c4f3e5221
[ "MIT" ]
permissive
automatron/automatron-youtube-playlist
1ab3a5607d737796045550db498475d6dddb0a3e
180516388691453cccc1407edd99df70f86ad029
refs/heads/master
2021-01-19T09:49:27.162619
2017-05-04T12:42:04
2017-05-04T12:42:04
16,808,121
0
0
null
null
null
null
UTF-8
Python
false
false
2,655
py
from ConfigParser import NoSectionError from txgoogleapi import OAuthRequester from txgoogleapi.oauth_requester import DEFAULT_TOKEN_URI DEFAULT_AUTH_URI = 'https://accounts.google.com/o/oauth2/auth' NOT_SET = object() class ConfigOAuthRequester(OAuthRequester): def __init__(self, factory, server, channel, conf...
[ "iksteen@gmail.com" ]
iksteen@gmail.com
5dfce3fd8f1bdfddd26075287674ed6466806b15
a7173a0b9a2294bf3e4f04bfcb92e6fe81842102
/L16 数据结构与算法/wxhh/models/model_user.py
edaf377210a3119f2f1197f1d528eb1ab3aef382
[]
no_license
yuanchangwang/cheshi
e1c01760675fa97415539b2970d68556b1bebdac
4e101f6b279057aa82d23c5dac61b0c7d1267c23
refs/heads/master
2020-09-13T03:35:08.250776
2019-11-19T08:57:11
2019-11-19T08:57:11
222,645,227
1
0
null
null
null
null
UTF-8
Python
false
false
3,429
py
#coding:utf-8 from sqlalchemy import Column,func from sqlalchemy.types import CHAR, Integer, VARCHAR, DATETIME, SMALLINT, BIGINT from models.base import Base from models.session import sessionCM import datetime import copy import json from share.common_tool import get_md5 class MUser(Base): __tablename__ = 'ibb_...
[ "991552699@qq.com" ]
991552699@qq.com
7ae630e79a3c05d875343e91068880a9881a9993
6e54b5375e527f63c5e5d35f4d95e9268bcfb83c
/docs/python algorithms/mine/leetcode50/symmetric_tree2.py
fe1b1154771f59c3467bbd6255b1a987fe2b2b8b
[]
no_license
dustin181/javareference
06f86aabc48170451231d420433384544b5154b2
417d5bad24d1db081c1d4ba23053a9b964dd51de
refs/heads/master
2021-11-21T04:44:59.729888
2021-10-26T02:43:27
2021-10-26T02:43:27
194,995,590
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
from typing import Optional from typing import List # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right def __repr__(self): return str(self.val) def isSymmetric(root: Optiona...
[ "dustin181@gmail.com" ]
dustin181@gmail.com
30c616d6df36aecc3655eaa2f67411dae54a9a69
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-dwr/huaweicloudsdkdwr/v3/model/update_my_action_template_request.py
baa270ab8d8bd41e66197f8e0e7f33853c5cc0bd
[ "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
4,446
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class UpdateMyActionTemplateRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key i...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
61387d9d766c2f5e55c50a5b7094d8bfa92f1e2b
792fb80e2abfc658e0f5b1de7c3526c416e69a6e
/scripts/rand_add_girl_price.py
9fd8a455109a37f20130f9cb6995adef4b0a05e1
[]
no_license
ThinkmanWang/ThinkClub
56992caa3323a13eecc39ad734c0552ebadaca00
db4ffeaf7e7882ff3bab8e7ce4aff8e23619331e
refs/heads/master
2022-12-29T17:50:56.312911
2020-10-01T10:56:36
2020-10-01T10:56:36
285,783,705
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
# -*- coding: utf-8 -*- import random from service.GirlService import GirlService from service.MenuService import MenuService g_dictBaseMenuPrice = { "1": 100 , "2": 188 , "3": 1500 , "4": 128 , "5": 788 } def rand_gen_menu_price(dictGirl): nItems = random.randint(1, 5) setMenu = set() ...
[ "wangxf1985@gmail.com" ]
wangxf1985@gmail.com
4a18ae9b71b01cf91408fc8b3e66ded0fb99278c
cacb597567b0d5ac99fd5c51c77ca5592165412b
/trello-card-maker
7a0399c9b46f96278522853b5df53708a1711781
[ "MIT" ]
permissive
ashcrow/trello-card-maker
3379209e9a086ce4a7748f2c5bd2b81d342039a6
9f2691660af9fee064e3623653dcbed68299600a
refs/heads/master
2021-01-17T17:34:09.576252
2016-10-09T18:23:37
2016-10-09T19:13:43
70,422,152
1
0
null
null
null
null
UTF-8
Python
false
false
4,697
#!/usr/bin/env python3 # MIT License # # Copyright (c) 2016 Steve Milner # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to us...
[ "stevem@gnulinux.net" ]
stevem@gnulinux.net
224d987ded24c965a580a212b3158b4da37e20b8
1efd2de8bf77ec00eb2fcaf5749278495946d920
/ci/functional/junit_list_unsuccessful
d7e1fb578944df0e4dc48561364a519a5b5ba6bf
[ "BSD-2-Clause", "BSD-2-Clause-Patent" ]
permissive
daos-stack/daos
6f55bf3061fd830d5b8d28506e1295e2d3a27c38
ed5eed5df43a68571afe123132a743824c02637a
refs/heads/master
2023-08-31T21:43:37.606145
2023-08-31T16:38:00
2023-08-31T16:38:00
69,390,670
631
300
NOASSERTION
2023-09-14T18:55:15
2016-09-27T19:21:29
C
UTF-8
Python
false
false
380
#!/usr/bin/env python3 """ list JUnit failures """ from glob import glob import sys from junitparser import JUnitXml, Error, Failure for file in glob(sys.argv[1]): for case in JUnitXml.fromfile(file): try: if isinstance(case.result[0], (Error, Failure)): print(f"{case.classname...
[ "noreply@github.com" ]
daos-stack.noreply@github.com
3de909ee63dbd1256a4dfb84e7a5dda852c66d85
2e7fa13a40dafa81c5852b7a9d70555c45814574
/QT/pyqt/QRadio_btn.py
70b8deb0432a16a017efb4134c569cd174f0e4fc
[]
no_license
Ziaeemehr/miscellaneous
5768c6f5a2fe76468faed4283a3572a44ccd0239
43a62aaa28c577b09f605a135818a2dacc75d67c
refs/heads/master
2021-07-24T02:43:51.032849
2020-09-23T06:17:17
2020-09-23T06:17:17
217,556,017
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import sys from PyQt4.QtCore import * from PyQt4.QtGui import * class Radiodemo(QWidget): def __init__(self, parent=None): super(Radiodemo, self).__init__(parent) layout = QHBoxLayout() self.b1 = QRadioButton("Button1") self.b1.setCheckable(True) self.b1.toggled.connect(lambda:self...
[ "a.ziaeemehr@gmail.com" ]
a.ziaeemehr@gmail.com
29fc11747d7f3a840c5b03e470650fbb4d34d9a1
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/xPB3jeeNRLqRQ3Dwe_9.py
2d0082e77a381e0912976d8f5aaecebde58db030
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
""" Create a function to find `None` in a list of numbers. The return value should be the index where `None` is found. If `None` is not found in the list, then return `-1`. ### Examples find_none([1, 2, None]) ➞ 2 find_none([None, 1, 2, 3, 4]) ➞ 0 find_none([0, 1, 2, 3, 4]) ➞ -1 ### Notes `...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
cf1b71d60262c96821c74ea76bc215fd59048a94
4422b198263c496e05627106464a8ec28ad2e7e7
/impx_leaflink_lite/wizard/models/requests_ll.py
9405284bdc723d047e29610b34663e629dbad460
[]
no_license
dhp-denero/impirixBNK
c9e270e67dc14355e4a53edfe78d009a2346fc15
3c09f6f98890249a3858c5b5dd17e999fa4e2254
refs/heads/master
2023-05-31T06:05:20.971771
2021-07-13T01:42:04
2021-07-13T01:42:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,199
py
from odoo import _ from odoo.exceptions import ValidationError from odoo.http import request import requests import json def requests_ll(**kwargs): api_key = request.env.ref('base.main_company').leaf_link_api_key if not api_key: raise ValidationError(_("The field 'LeafLink API key' is missing, please ...
[ "duong.nguyen@bnksolution.com" ]
duong.nguyen@bnksolution.com
84046926f08271dad3b0ea17c345221bf383e313
5bdd3879094528fb7977b7816b688ac8d8ea68c3
/zacksnyderfir/users/apps.py
43ddf7cc649be18ccb8afbe42d1b0f86cb974380
[ "MIT" ]
permissive
zacksnyder/zacksnyderfir
c956cdb994d10efd56de03caa889ba7e131ec657
34721d06b4b75dd32e97112739c76443e4622551
refs/heads/master
2021-05-14T10:36:58.137372
2018-01-05T08:15:07
2018-01-05T08:15:07
116,359,164
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
from django.apps import AppConfig class UsersConfig(AppConfig): name = 'zacksnyderfir.users' verbose_name = "Users" def ready(self): """Override this to put in: Users system checks Users signal registration """ pass
[ "you@example.com" ]
you@example.com
00bd163530385b4de0783a86da40d41efea5b822
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/306/usersdata/288/69742/submittedfiles/poligono.py
7dc481b44f9f95186a380c975bec808e352f9b6d
[]
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
192
py
# -*- coding: utf-8 -*- n=int(input("digite o número de lados do polígono (n): ")) nd=float((n*(n-3))/2) print("\nEsse polígono tem %d lados e possui %.1f diagonais diferentes." % (n, nd))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
409f8a5444d918b033b08da34a7e48dc570eee30
70450f0c551adf47b450468e424f4f90bebfb58d
/sim-services/resources/gcd_validation/details/generate_gcd_snapshot.py
a7bb30e10597364ac454f531eecc48e2b51f8cb8
[ "MIT" ]
permissive
hschwane/offline_production
ebd878c5ac45221b0631a78d9e996dea3909bacb
e14a6493782f613b8bbe64217559765d5213dc1e
refs/heads/master
2023-03-23T11:22:43.118222
2021-03-16T13:11:22
2021-03-16T13:11:22
280,381,714
0
0
MIT
2020-07-17T09:20:29
2020-07-17T09:20:29
null
UTF-8
Python
false
false
2,666
py
#!/usr/bin/env python # TODO: RunId # TODO: Argparse import argparse from os.path import expandvars from copy import deepcopy from I3Tray import I3Tray from icecube import icetray, dataclasses, dataio from icecube.BadDomList.BadDomListModule import BadDomListModule from icecube import vuvuzela from icecube.gcdserv...
[ "aolivas@umd.edu" ]
aolivas@umd.edu
10caf8b908145c57e1ca00816d32ae139f1397d9
c97ce34d1d16761b8fff63f310fd6567d9b36f7d
/web_1_may_dev_3977/urls.py
d02e644aaf9f74bad56643781fcc67f6aa46686d
[]
no_license
crowdbotics-apps/web-1-may-dev-3977
4fe0755c0d2275de494aac7a9202bb52c05363ce
21693e67dfa94c2b920c387c86339b0e48957adc
refs/heads/master
2023-06-05T16:49:37.308656
2020-05-01T13:08:28
2020-05-01T13:08:28
260,396,771
0
0
null
2021-06-13T10:14:56
2020-05-01T06:46:03
Python
UTF-8
Python
false
false
2,518
py
"""web_1_may_dev_3977 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e71eece799ba7e9a66814290d2c44b00141ab346
819ff9b165795e2eb91b497d016bcebd5770d1d6
/buildlet/utils/hashutils.py
116063e29a0964dbf29b120dbc9348b1941e79b5
[ "BSD-3-Clause" ]
permissive
tkf/buildlet
62d123f0716b6a65c94a5f3baf4a27f5bf4616ed
ab1e272c0db4be24f7ec6efa98d26c2bc1a15c68
refs/heads/master
2021-01-10T21:00:47.739763
2012-10-01T22:37:58
2012-10-01T22:37:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
import hashlib def hexdigest(strings): m = hashlib.md5() for s in strings: m.update(s.encode()) return m.hexdigest()
[ "aka.tkf@gmail.com" ]
aka.tkf@gmail.com
33c551ee161ec838c11f1fa80bbbcbb174236781
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res_bw/scripts/common/lib/lib2to3/fixes/fix_dict.py
1e0f8010a470b7d0eb21deda2e3ac8927e298068
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,751
py
# 2015.11.10 21:36:54 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/lib2to3/fixes/fix_dict.py """Fixer for dict methods. d.keys() -> list(d.keys()) d.items() -> list(d.items()) d.values() -> list(d.values()) d.iterkeys() -> iter(d.keys()) d.iteritems() -> iter(d.items()) d.itervalues() -> iter(d...
[ "info@webium.sk" ]
info@webium.sk
921e2410500061bb0d53e7f32ae0c9713663a92c
534570bbb873293bd2646a1567b63d162fbba13c
/Python/Algorithm/Math/414.Third Maximum Number.py
b2de547f8a56b1b6afc44cd64aa5bccb2b6e0be3
[]
no_license
XinheLIU/Coding-Interview
fa3df0f7167fb1bc6c8831748249ebaa6f164552
d6034c567cef252cfafca697aa316c7ad4e7d128
refs/heads/master
2022-09-17T14:30:54.371370
2022-08-19T15:53:35
2022-08-19T15:53:35
146,382,499
0
1
null
null
null
null
UTF-8
Python
false
false
574
py
class Solution: def thirdMax(self, nums: List[int]) -> int: ans = [-float('inf')]*3 for i in nums: if i>= ans[0]: if i == ans[0]: continue ans[1:]=ans[0:2] ans[0] = i elif i>=ans[1]: if i == a...
[ "LIUXinhe@outlook.com" ]
LIUXinhe@outlook.com
28a2455672a7b689afbb6331fe1ee6ffb17f861c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/prepositions/_behind.py
419a9dc0bd61488f9075326793e485b5425e5c8f
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
#calss header class _BEHIND(): def __init__(self,): self.name = "BEHIND" self.definitions = [u'at the back (of): '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'prepositions' def run(self, obj1 = [], obj2 = []): return self.jsondata
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
249db3d5d04ddfda977ee113c7b9a04b985420a2
2f219eebc2a7bd689d9fb4dba9f074a481919338
/chapter09/problem11729.py
2af4cf768c63baefadcf64fb1a1c090fdcc415e2
[]
no_license
koni114/python-algorithm
1a5bad6050240e53a5bd1b785a3bdfc511a8eae5
ebccf380762a089c538dbe64e1148617cfb7b1b6
refs/heads/master
2021-07-22T00:41:44.165148
2021-07-02T08:20:44
2021-07-02T08:20:44
174,780,663
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
# 하노이 탑 import sys from collections import deque f = sys.stdin n = int(f.readline()) result = deque() def hanoi(start, end, size): empty = 6 - (start + end) if size == 1: result.append((start, end)) return hanoi(start, empty, size-1) result.append((start, end)) hanoi(empty, end, s...
[ "koni114@naver.com" ]
koni114@naver.com
f8e19cb19bddc1df0ef4405865d5422709229089
7d33f3ffd3e8af75abb60959668d070b9d595e30
/common/testClassVariable.py
d2a1a10df76e11217b34b7c257f32740d630e8fb
[]
no_license
XuChongBo/pydemo
33ad4615158b39b79ad81a92dcbf5d27fb60184f
ded0d15a22ed8c606deb35b83357fe7eeb9cb6af
refs/heads/master
2021-06-13T09:11:57.564740
2020-09-13T11:24:32
2020-09-13T11:24:32
15,645,208
0
1
null
2021-03-19T22:24:58
2014-01-05T04:08:47
HTML
UTF-8
Python
false
false
529
py
#!/usr/bin/env python # -*- coding:utf-8 -*- class MyClass(): a = '123' @staticmethod def foo(): print MyClass.a print 'in foo()' @staticmethod def putclass(): c = MyClass() MyClass.c = c c.a = "the statict instance c" b = MyClass() MyClass.b = b b.a = "the statict instance b"...
[ "xcbfreedom@gmail.com" ]
xcbfreedom@gmail.com
0581c788890cde66737f6764c274386ea391d870
a1c9c55e1520356113a320be18e8fcb31654a944
/archive/0.10/generated/seaborn-boxenplot-7.py
c82b5f552daeb6bcf73daf816cb46ddb4d6047d2
[]
no_license
seaborn/seaborn.github.io
bac12a9255b41c7971e9e94ea393d372ef66ef62
f70445bc3456f0216169806c2daf03452ca1eba4
refs/heads/master
2023-01-06T10:50:10.789810
2022-12-30T19:59:55
2022-12-30T19:59:55
70,731,605
16
5
null
2022-06-28T00:32:07
2016-10-12T18:56:12
HTML
UTF-8
Python
false
false
151
py
ax = sns.boxenplot(x="day", y="total_bill", data=tips) ax = sns.stripplot(x="day", y="total_bill", data=tips, size=4, color="gray")
[ "mwaskom@nyu.edu" ]
mwaskom@nyu.edu
9a73e27cf3a0189d830920e3e6de29ace9cfda30
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02779/s933754298.py
a5a05f387386081393913f04c205c91e4d7267ff
[]
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
227
py
import sys N = int(sys.stdin.readline().rstrip()) A = [int(x) for x in sys.stdin.readline().rstrip().split()] A.sort() for i in range(N - 1): if A[i] == A[i + 1]: print("NO") break else: print("YES")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d1610517fbfcf60a21ef6727c8317d96e6e79a5e
4ff15e538ba5d4e3c216a1f6c87cdd03bfd3357a
/scopus/tests/test_ScopusAuthor.py
5273c793ed0a03691d3395d55f964474c4e6eaa1
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Waffleboy/scopus
05c49aace2849763510709bfce5e8e9f0df68fd5
a92b55db78239c702ffdb3125862de330d659c20
refs/heads/master
2021-06-26T07:02:32.381627
2017-09-11T08:52:31
2017-09-11T08:52:31
103,111,244
0
0
null
2017-09-11T08:40:40
2017-09-11T08:40:40
null
UTF-8
Python
false
false
2,868
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `ScopusAuthor` module.""" from collections import Counter from nose.tools import assert_equal, assert_true import scopus au = scopus.ScopusAuthor("7004212771", refresh=True) def test_affiliation_history(): affs = au.affiliation_history assert_true...
[ "Michael.Ernst.Rose@gmail.com" ]
Michael.Ernst.Rose@gmail.com
296a9b2f925c0a9e052c4f63e42a75d5aa83d9ee
5a977855c32226303bdec2585dc7d159a801b12f
/material/codigo/opencv/captura_video.py
e55d46369509beecfe09aff277c80512feb8b139
[]
no_license
javacasm/RaspberryAvanzado
5eecd62c3598b2e36bc4ee91c3e96b33734903bf
bbccc7b8af8c2c9b5e2e298b3e5c063d9aa056c1
refs/heads/master
2021-09-11T16:45:18.263481
2018-04-09T22:06:11
2018-04-09T22:06:11
108,258,204
4
0
null
null
null
null
UTF-8
Python
false
false
482
py
import cv2 videoCapture = cv2.VideoCapture('MyInputVid.avi') fps = videoCapture.get(cv2.cv.CV_CAP_PROP_FPS) size = (int(videoCapture.get(cv2.cv.CV_CAP_PROP_FRAME_WIDTH)),int(videoCapture.get(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT))) videoWriter = cv2.VideoWriter('MyOutputVid.avi', cv2.cv.CV_FOURCC('I','4','2','0'), fps, size)...
[ "javacasm@gmail.com" ]
javacasm@gmail.com
527c09b91b33663183ea8d14bab63e05872bed60
4e88e9af77cd5b2dc5e5c96e2d1462d9b4119015
/pyUbiForge/ACU/type_readers/4579B822.py
04154828f92a3b8816db3fdcee2e08a83d8d7332
[]
no_license
bingxueyouwu/ACExplorer
da55db4d00587a8011b3379d5a8ff35f5d949872
1da5871a1ac052f8ce3c4ded5dccd4130626bd7b
refs/heads/master
2020-05-24T07:41:12.759718
2019-05-16T18:04:30
2019-05-16T18:04:30
187,166,216
0
1
null
2019-05-17T07:14:53
2019-05-17T07:14:53
null
UTF-8
Python
false
false
336
py
from pyUbiForge.misc.file_object import FileObjectDataWrapper from pyUbiForge.misc.file_readers import BaseReader class Reader(BaseReader): file_type = '4579B822' def __init__(self, py_ubi_forge, file_object_data_wrapper: FileObjectDataWrapper): file_object_data_wrapper.read_float_32() file_object_data_wrapper...
[ "james_clare1@yahoo.co.uk" ]
james_clare1@yahoo.co.uk
3ff74ddc554eb7ffa91a6760fcf6d1c2b58b5349
c9aa34a74e9f095c4dec21acf0f63ce33ea54757
/UndocumentedScripts/AllScripts/PhoenixvilleTransitCheck.py
ab31a2b24b052dcc674a96b4204729ac295b6327
[]
no_license
dvrpc/TIM3AnalysisScripts
d4a5308987279da421d4e9e76ca3ff6efe4e6490
cb8d50eead676b2950051a6d527be7a13de19b9f
refs/heads/main
2023-07-30T01:20:52.457588
2021-10-01T15:34:47
2021-10-01T15:34:47
372,885,969
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
import pandas as pd import numpy as np import os print('Reading 2015') trip2015 = pd.read_csv(r'D:\TIM3.1\PhoenixvilleSensitivityTest\SP\scenario\Output\_trip_2.dat', '\t').query('mode == 6') print('Reading 2030') trip2030 = pd.read_csv(r'D:\TIM3.1\PhoenixvilleSensitivityTest\2030\Base\scenario\Output\_trip_2.dat', '\...
[ "jflood@dvrpc.org" ]
jflood@dvrpc.org
8245930d8ccf5ea0b947829f1e63e76a9d3338c1
50402cc4388dfee3a9dbe9e121ef217759ebdba8
/demo/Hexamap/HexagonalMapState.py
d00a5bea50fe1fe4528ba7d6a5f607da958cfc91
[]
no_license
dqyi11/SVNBackup
bd46a69ec55e3a4f981a9bca4c8340944d8d5886
9ad38e38453ef8539011cf4d9a9c0a363e668759
refs/heads/master
2020-03-26T12:15:01.155873
2015-12-10T01:11:36
2015-12-10T01:11:36
144,883,382
2
1
null
null
null
null
UTF-8
Python
false
false
1,575
py
from PyQt4 import QtGui, QtCore import numpy as np class HexagonalMapState(object): def __init__(self, map, valDim=1): self.map = map self.x_num = map.x_num self.y_num = map.y_num self.defaultEdgeColor = QtGui.QColor(0,0,0) self.defaultEdgeWidth = 1 ...
[ "walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39" ]
walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39
37e131b7d633bd165cc07707746140201d7cdb93
1eab574606dffb14a63195de994ee7c2355989b1
/ixnetwork_restpy/testplatform/sessions/ixnetwork/statistics/view/availableprotocolfilter/availableprotocolfilter.py
bbb212771a24710aa41e9dfc49a72c62f35826ec
[ "MIT" ]
permissive
steiler/ixnetwork_restpy
56b3f08726301e9938aaea26f6dcd20ebf53c806
dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9
refs/heads/master
2020-09-04T12:10:18.387184
2019-11-05T11:29:43
2019-11-05T11:29:43
219,728,796
0
0
null
2019-11-05T11:28:29
2019-11-05T11:28:26
null
UTF-8
Python
false
false
2,959
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
819fcc2e66236cb9403bbbf628b2ad08424161c3
25ff4ff1c46bf75c6453d3868651af5a45f95747
/Chapter03/3_4_list_network_interfaces.py
a897f77ffa205ad0a1ed4379d29928ff61751f87
[]
no_license
CodedQuen/Python-Network-Programming-Cookbook
c7e2a159a939dc7b3b821e50ce61c178c99d4dbf
3e5be943e29108e46b2081c7b61369597649264e
refs/heads/master
2022-06-19T00:27:09.772376
2020-05-05T01:25:09
2020-05-05T01:25:09
261,333,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,531
py
#!/usr/bin/env python # Python Network Programming Cookbook, Second Edition -- Chapter - 3 # This program is optimized for Python 2.7.12 and Python 3.5.2. # It may run on any other version with/without modifications. import sys import socket import fcntl import struct import array SIOCGIFCONF = 0x8912 #fro...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
6f7135f525aa94c364bfd0be6421d1758e279d58
029aa4fa6217dbb239037dec8f2e64f5b94795d0
/数据结构练习/Python算法指南数据结构/110_删除排序链表中的重复元素Ⅰ.py
21bbb1b34bac577869b52263dd41129cb7ae207a
[]
no_license
tonyyo/algorithm
5a3f0bd4395a75703f9ee84b01e42a74283a5de9
60dd5281e7ce4dfb603b795aa194a67ff867caf6
refs/heads/master
2022-12-14T16:04:46.723771
2020-09-23T06:59:33
2020-09-23T06:59:33
270,216,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,918
py
class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next class Solution: def deleteDuplicates(self, head): if None == head or None == head.next: return head new_head = ListNode(-1) new_head.next = head parent = new_...
[ "1325338208@qq.com" ]
1325338208@qq.com
2d3bb30255d8e2ae621474b1d55b04ad1508396b
5793b470eea39ba99ff4d16325d462440647b77d
/Gui/Tour/toplevel0.py
b37d9b13ceb1ac0922a6e717f4a9c21089f6764f
[]
no_license
zhongjiezheng/python
01a99438fc4681817d4d0e623673afa1e488864c
5c5725ad0e75d07e016b64d79eddf3d88a524fa0
refs/heads/master
2021-01-17T11:57:12.373343
2015-07-08T09:04:48
2015-07-08T09:04:48
35,549,549
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
import sys from tkinter import Toplevel, Button, Label win1 = Toplevel() win2 = Toplevel() Button(win1, text='Spam', command=sys.exit).pack() Button(win2, text='SPAM', command=sys.exit).pack() Label(text='Popups').pack() win1.mainloop()
[ "zzjie1991@gmail.com" ]
zzjie1991@gmail.com
ec52bd32113d87d8584b11ce195c49567ceddbdb
375f40e8bd67ed63076f877c7d26a8853dd946b5
/summatieve_opdrachten/P1/bucket_sort_1.py
712ce705fe38031c2f381b4939da7414f8e1dff7
[]
no_license
WailAbou/opdrachten
2077add1980d35be8b26dff19fca9498b3652a67
232b7705f8a9357eaf4a3956dc468c90c9bafe8d
refs/heads/main
2023-03-20T16:56:48.387603
2021-03-24T16:55:22
2021-03-24T16:55:22
336,093,477
0
0
null
null
null
null
UTF-8
Python
false
false
2,512
py
# Deze methode neemt de input lijst van (reële) getallen in en sort deze volgens de "bucket_sort" methode def bucket_sort(data): # De `data` wordt in een `postives` en `negatives` nummers lijsten verdeeld postives, negatives = [x for x in data if x >= 0], [-x for x in data if x < 0] # Beide lijsten worden ...
[ "abou.w@hotmail.com" ]
abou.w@hotmail.com
1154c92a75af9c0ca202670e059a959d89f36bcc
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/databoxedge/v20200901/list_order_dc_access_code.py
4207422da6f639a5755149180d78558efb07157e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
7202c9558018a898eabd9da96c4987474acc2cba
99701affb7ae46c42c55484f3301d59f79294a10
/project/Examples/Examples/PP2E/PyGadgets_bar.pyw
4933a1a6965305db915f8cebe39831e5e7b60508
[]
no_license
inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall
1050b9e9bddb335bf42b7debf2abebe51dd9f9e0
0f650a97d8fbaa576142e5bb1745f136b027bc73
refs/heads/master
2021-01-21T21:48:21.326372
2016-04-06T20:05:19
2016-04-06T20:05:19
42,902,523
7
1
null
null
null
null
UTF-8
Python
false
false
178
pyw
# run PyGadgets tool bar only, instead of starting all the # gadgets immediately; filename avoids dos popup on windows import PyGadgets PyGadgets.runLauncher(PyGadgets.mytools)
[ "inteljack2008@gmail.com" ]
inteljack2008@gmail.com
19d404bfa94cda85b4a8b012da42870302f01ebe
cd0ad0e18fafc66bc39ac30adf30fc137178d859
/08模块module/use future.py
32f62c563b71fdb23034f0ab477f117fdb8af7f7
[]
no_license
KlausQIU/liao.xuefeng2.7python-course
938b23f905c71fd7b0d3a5f330d79e15a00dd1fc
9d1f9921e4f769320f4f7ce897c2f2b39a6bacff
refs/heads/master
2021-01-17T06:07:14.676813
2016-07-03T12:10:28
2016-07-03T12:10:28
52,960,541
1
2
null
null
null
null
UTF-8
Python
false
false
671
py
# -*- coding:utf-8 -*- #__future__ module #2.x里的字符串用'xxx'表示str,Unicode字符串用u'xxx'表示unicode,而在3.x中,所有字符串都被视为unicode,b'xxx'才表示str from __future__ import unicode_literals from __future__ import division print '\'xxx\' is unicode?',isinstance('xxx',unicode) #判断在version 2.7下 xxx是否为unicode print 'u\'xxx\'is unicode?',isin...
[ "moon.qiu198909@hotmail.com" ]
moon.qiu198909@hotmail.com
8611fc512e60f7136c65b1f3d4aded919a02e1dd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03385/s804365039.py
2d1ea8431dae628ef38a893634cc77742be2f244
[]
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
163
py
def main(): S = input() if sorted(list(S)) == sorted(list('abc')): return True return False if main(): print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4b0890a73aafeb431a74ba6443c141ddb6c99fcf
c81d7dfef424b088bf2509a1baf406a80384ea5a
/venv/Lib/site-packages/django/core/files/move.py
d4cbc17a0d50c795009ab6db4c33d0b2c16ef212
[]
no_license
Goutham2591/OMK_PART2
111210d78fc4845481ed55c852b8f2f938918f4a
cb54fb21ebf472bffc6ee4f634bf1e68303e113d
refs/heads/master
2022-12-10T01:43:08.213010
2018-04-05T02:09:41
2018-04-05T02:09:41
124,828,094
0
1
null
2022-12-07T23:43:03
2018-03-12T03:20:14
Python
UTF-8
Python
false
false
3,194
py
""" Move a file in the safest way possible:: >>> from django.core.files.move import file_move_safe >>> file_move_safe("/tmp/old_file", "/tmp/new_file") """ import errno import os from shutil import copystat from django.core.files import locks __all__ = ['file_move_safe'] def _samefile(src,...
[ "amatar@unomaha.edu" ]
amatar@unomaha.edu
0597b2b7534783d458e4f4c8da285b5ab2fe170f
4b889219c928b312de903afe18bc9123ed2a6788
/mysites/tools/checkers.py
a224bead6377174b51826c25e8b9897292abea49
[ "MIT" ]
permissive
cmwaura/Newspade
fc60799ad3a01c048b8bf6c46847547e8d46eef0
ac434ea6ab5ae8ce4ae144e6746bfed214316a7c
refs/heads/master
2021-01-15T15:25:43.445773
2016-08-06T21:26:18
2016-08-06T21:26:18
55,442,835
0
2
null
2016-04-12T18:41:20
2016-04-04T20:33:17
JavaScript
UTF-8
Python
false
false
3,230
py
from dynamic_scraper.spiders.django_checker import DjangoChecker from mysites.models import BBCNews, ReutersNews, AljazeeraNews, EconomistNews class NewsChecker(DjangoChecker): ''' The JobChecker class inherits from the DjangoChecker class in the Dynamic Django scraper module hence why we imported it. The main ai...
[ "cmmwaura@ucdavis.edu" ]
cmmwaura@ucdavis.edu
bd4dbe952e308d6007cd8db0b1757f519eba02d7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03776/s511051438.py
6222b44bd2199c98601a716698c9cae99a66e970
[]
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
521
py
from itertools import accumulate as ac t = 3099044504245996706400 # LCM(1..50) N, A, B = map(int, input().split()) V = sorted([int(a) * t for a in input().split()])[::-1] l, r = 0, 1<<200 while r - l > 1: m = (l+r) // 2 if list(ac([v-m for v in V]))[A-1] >= 0: l = m else: r = m fa = [1] for...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5a24211d91bc5250225dde3dfb7a570095c136ea
34d88082307281333ef4aeeec012a3ff5f8ec06e
/w3resource/basic/Q086.py
6254faa5d64de35f4cc644f1ca92d364cfabc82f
[]
no_license
JKChang2015/Python
a6f8b56fa3f9943682470ae57e5ad3266feb47a7
adf3173263418aee5d32f96b9ea3bf416c43cc7b
refs/heads/master
2022-12-12T12:24:48.682712
2021-07-30T22:27:41
2021-07-30T22:27:41
80,747,432
1
8
null
2022-12-08T04:32:06
2017-02-02T17:05:19
HTML
UTF-8
Python
false
false
163
py
# -*- coding: UTF-8 -*- # Q086 # Created by JKChang # Wed, 31/05/2017, 15:34 # Tag: # Description: Write a Python program to get the ASCII value of a character.
[ "jkchang2015@gmail.com" ]
jkchang2015@gmail.com
22a8ca7a308a3697a9f3a692505d901e3277bfac
d9679dc18407a7b6d559ba003b91c013c17ca9f3
/aiozk/test/test_client.py
73eab5da4c77294abff986afe26a351d86f24565
[ "MIT" ]
permissive
packysauce/aiozk
e53e5646592081d12b8bd8ab4f26aac24caa494e
bfb98b03de486a0b980be22477fc3c196aca55a4
refs/heads/master
2021-04-30T00:50:24.518256
2019-01-03T15:32:10
2019-01-03T15:32:10
121,465,736
0
0
null
2018-02-14T03:18:16
2018-02-14T03:18:16
null
UTF-8
Python
false
false
1,475
py
import asyncio import logging import uuid import pytest from aiozk import WatchEvent from .conftest import get_client logging.getLogger('asyncio').setLevel(logging.DEBUG) @pytest.fixture async def full_zk(zk, path): child_1 = f'{path}/{uuid.uuid4().hex}' child_2 = f'{path}/{uuid.uuid4().hex}' await zk....
[ "cybergrind@gmail.com" ]
cybergrind@gmail.com
ee1d30b0e6fca7754c9d542970633385dc257327
e92689dd3cea566585ad8d5ea84deadca78ce489
/Travelling Website/contact/views.py
23d502062cf707cab5bb6eeebc4c25dd24fc0186
[]
no_license
sd8917/Travelling-web
f15e1ec05fcef8b618ed12edb560aa96dec2c697
4e8d86b8a1dbad3e6203b30e69f41e48b127724f
refs/heads/master
2020-06-05T14:43:29.393380
2019-06-18T03:59:49
2019-06-18T03:59:49
192,462,275
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
from django.http import HttpResponse from django.shortcuts import render # Create your views here. def contact(request): print("You are at function Contact") return render(request, 'contact.html')
[ "sudhanshuraj8917@gmail.com" ]
sudhanshuraj8917@gmail.com
7cdd0dffdc34ad573a35e06e25eef9e4d526abaf
7a23870e9b0b56b112f634d26760282ff7a4f46c
/Projects/Archived Tk code/From extensions folder/Pmw/Pmw_1_3/tests/ScrolledCanvas_test.py
c791ca4026f205b37b5eec2480549408cd431fe2
[]
no_license
leo-editor/leo-editor-contrib
0c671998c4ec7fd7c4ce890a201395afe340481b
28c22721e1bc313c120a8a6c288893bc566a5c67
refs/heads/master
2023-06-25T04:28:54.520792
2023-06-14T20:18:12
2023-06-14T20:18:12
16,771,641
6
6
null
2023-06-09T11:26:42
2014-02-12T15:28:36
Python
UTF-8
Python
false
false
3,011
py
import Test import Pmw Test.initialise() c = Pmw.ScrolledCanvas def _createOvals(): w = Test.currentWidget() w.create_oval(50, 50, 150, 100, fill = 'red') w.create_oval(100, 50, 150, 150, fill = 'blue') w.create_oval(50, 100, 200, 350, fill = 'yellow') def _createWindow(): w = Test...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
8cd709f1f81d79c2276aeba104dfd17abeaceafe
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03487/s630663864.py
00e46f3b7b9b3315a0284cdd96ce0e39e1bc072b
[]
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
333
py
import sys input = sys.stdin.readline from collections import Counter def main(): N = int(input()) A = list(input().split()) C = Counter(A) ans = 0 for k, v in C.items(): if v >= int(k): ans += v - int(k) else: ans += v print(ans) if __name__ == '__main__...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a23d4926ca857786a259d41b86b316b270a475fe
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/848c945a2c11e064d860fa494ed567c1606ffd65-<update_host>-fix.py
4c8b06da3c36afcecb18291163288cf24b805d7a
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
def update_host(module, array): changed = True if (not module.check_mode): init_changed = vol_changed = pers_changed = pref_changed = False volumes = array.list_host_connections(module.params['host']) if (module.params['iqn'] or module.params['wwns'] or module.params['nqn']): ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
93264fab2df5f445c82acd57483d951ae9bf16b6
df57770fdcef8cf2a1cb4689585d587aed9da872
/tests/set_trace_debug.py
ff56134784386483250b0030206d3b29c5a08cc2
[ "MIT" ]
permissive
PasaOpasen/true-false-python
40e5310a5c8f29984d8d6b22dc2ccd4938089e83
a26ddd7c61471dd4d60d8ece00c6f03750bb7dca
refs/heads/main
2023-08-23T18:50:49.014677
2021-10-17T09:57:24
2021-10-17T09:57:24
330,133,379
1
0
null
null
null
null
UTF-8
Python
false
false
319
py
# -*- coding: utf-8 -*- """ Created on Sun Feb 14 12:12:46 2021 @author: qtckp """ import sys sys.path.append('..') from truefalsepython import set_trace, debug def f(x, y, z): x = 2*x + y + z return x + y + z debug(f, 1, 2, 3) for i in range(100): if i == 50: set_trace()
[ "qtckpuhdsa@gmail.com" ]
qtckpuhdsa@gmail.com
02954723cc1d8a30094f47b353a805949e40aff9
3fc7a6ffc39390c8228b30b6d53a3429104bf5f3
/August/directory-8-14/嵌套函数.py
a0c976065434995e923e052553c261432b11aa51
[]
no_license
liuluyang/miller
a5463c0f9625570de2cf16a9844ed4c7f82dde76
786f286749972fb2c3a66e068a3874a00aa0f2ee
refs/heads/master
2020-09-21T22:20:22.987833
2019-11-30T03:20:13
2019-11-30T03:20:13
224,952,326
0
0
null
null
null
null
UTF-8
Python
false
false
4,225
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # __author__ = "Miller" # Datetime: 2019/8/14 11:02 # name = "这是全局变量 name" # def change_name(): # name = "change_namer 局部变量" # def inner(): # # global name # 如果声明了这句的话,使用的就会是最外层的 name # # nonlocal name # name = "inner 局部变量" # 如果这里注释了打印...
[ "1120773382@qq.com" ]
1120773382@qq.com
ad7d7fb4c45aaaddc45557716a47811a7f64549e
f5d1e8b54ddbc51a9ef1b868eee93096d9b0fbeb
/weapp/tools/weather/urls.py
13db666dbd23159c7eebdba59ba7e36b01f209d0
[]
no_license
chengdg/weizoom
97740c121724fae582b10cdbe0ce227a1f065ece
8b2f7befe92841bcc35e0e60cac5958ef3f3af54
refs/heads/master
2021-01-22T20:29:30.297059
2017-03-30T08:39:25
2017-03-30T08:39:25
85,268,003
1
3
null
null
null
null
UTF-8
Python
false
false
171
py
# -*- coding: utf-8 -*- __author__ = "liupeiyu" from django.conf.urls import * import views urlpatterns = patterns('', (r'^info/$', views.get_weather_info), )
[ "jiangzhe@weizoom.com" ]
jiangzhe@weizoom.com
e78c8904095a3fba96c940a132621ffb1a3c626a
db0570c48c6647f2f8183ea3633525e24aeee5c8
/spiketoolkit/preprocessing/basepreprocessorrecording.py
38dec54121be329f12db55aae1c3caf5c208768c
[ "MIT" ]
permissive
aliddell/spiketoolkit
2afff36418b9ed441461d5312fed2daee81aa627
20f954db6f400f6675f2d843d804d605b77702b1
refs/heads/master
2023-04-09T09:55:33.246713
2021-04-23T07:23:06
2021-04-23T07:23:06
258,225,271
0
0
null
null
null
null
UTF-8
Python
false
false
1,510
py
from spikeextractors import RecordingExtractor from spikeextractors.extraction_tools import check_get_traces_args class BasePreprocessorRecordingExtractor(RecordingExtractor): installed = True # check at class level if installed or not installation_mesg = "" # err def __init__(self, recording): ...
[ "alejoe9187@gmail.com" ]
alejoe9187@gmail.com
2e595aaeab3f769d42277b3aa41b471c6a3f66fe
e054f555197ccd0ab5191706eeae7e6769c112a6
/WebDev/2021_05_14_WebClass-7/project1/polls/views.py
7d53b2d2bc1264f6c32b1524462bd8944d4bcc17
[ "MIT" ]
permissive
kaptan0428/2021-22-Classes
f1a37306dba887be4407c595791cbaea7041e8da
9e88ed8baf91636e5661148bf58d9839a1b2a8ca
refs/heads/main
2023-04-22T06:46:19.727890
2021-05-14T18:18:22
2021-05-14T18:18:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,116
py
from django.shortcuts import render, HttpResponse, HttpResponseRedirect, reverse from polls.models import Question, Choice def main_page(request): response = "<h1>This page will show list of all questions</h1>" all_questions_list = Question.objects.all() print(all_questions_list) context = { ...
[ "ksh1998@gmail.com" ]
ksh1998@gmail.com
3005b16de64932bdc2d1676e6e98635a761b40b6
6ca946ef3c0e19f274b1f3beddb5d09f3bf5029a
/GitCSVbyLine.py
8264ec57376c0c02a639fccd3e49df732a1f6295
[]
no_license
nanohaikaros/zju_py
36b3a802714472f9a27eb59a1034a6bcb89265d8
a9b73ab52b8b0b7fffca8caeb29fb1691265b3ef
refs/heads/master
2020-09-15T04:22:21.277421
2019-12-11T08:27:13
2019-12-11T08:27:13
223,347,422
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
fo = open("price2016.csv", "r") ls = [] for line in fo: line = line.replace("\n", "") ls = line.split(",") lns = "" for s in ls: lns += "{}\t".format(s) print(lns) fo.close()
[ "1371689491@qq.com" ]
1371689491@qq.com
6dc167f10943b18f287502d2a6151d91459b8106
9dd04a187821186b2f052a8afecc5e2e4450085d
/work1/work1/wsgi.py
134e542e3d5f7090807149d23e96b719665dfa2b
[]
no_license
WwuTT/workspace1
75f377420e7433461a2dd99e210e3739bec4b78c
a882860fbf5587aa6ad265d15a0f82c3d1177047
refs/heads/master
2020-05-03T14:13:27.293838
2019-03-31T13:44:44
2019-03-31T13:44:44
178,671,420
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
""" WSGI config for work1 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
459ed95212a7431026e40a227b916e5febb2f106
7cb3e5e16fd93e6f8a1c07c211cee16dc248ef5d
/venv/lib/python3.6/site-packages/django/db/models/sql/subqueries.py
a2653fb88cda06bb5b5a72654dd9bfdc21dc855a
[]
no_license
JustynaJBroniszewska/Blog
d74a8cb19fa037b834f5218522ff1397eb60d370
cfd8efbcce3e23c7ebeea82b2e732de63c663ac8
refs/heads/master
2022-11-03T22:01:07.165652
2020-06-05T14:25:01
2020-06-05T14:25:01
266,791,768
0
0
null
2020-06-05T14:25:02
2020-05-25T13:52:19
Python
UTF-8
Python
false
false
7,398
py
""" Query subclasses which provide extra functionality beyond simple data retrieval. """ from django.core.exceptions import FieldError from django.db import connections from django.db.models.query_utils import Q from django.db.models.sql.constants import ( CURSOR, GET_ITERATOR_CHUNK_SIZE, NO_RESULTS, ) fro...
[ "jj.broniszewska@gmail.com" ]
jj.broniszewska@gmail.com
5f86e78180d4e0c82be800783eb53aa88bbbcd4e
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/KoubeiMerchantDepartmentShopModifyResponse.py
59514bb3b0a4d357481ee1ebd488661c542828d9
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
467
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class KoubeiMerchantDepartmentShopModifyResponse(AlipayResponse): def __init__(self): super(KoubeiMerchantDepartmentShopModifyResponse, self).__init__() def parse_response_co...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
512daf55c5ff3deabd43c6783792229925d8b3de
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/SimG4Core/PhysicsLists/python/physicsQGSP_BERT_G4104_cfi.py
3a62609eade86045bb84cfc1db264592ada163ff
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
374
py
import FWCore.ParameterSet.Config as cms from SimG4Core.Configuration.SimG4Core_cff import * g4SimHits.Physics.EmaxBERT = cms.double(8.) # in GeV g4SimHits.Physics.EmaxBERTpi = cms.double(8.) # in GeV g4SimHits.Physics.EminFTFP = cms.double(6.) # in GeV g4SimHits.Physics.EmaxFTFP = cms.double(25.) # in GeV g4...
[ "sunanda.banerjee@cern.ch" ]
sunanda.banerjee@cern.ch
3612c2e38379ca28f9f6c9f24a23c2f014da2673
97be97cfc56fb2170b60b91063dbfe5f1449e3c0
/python/ABC093/B.py
fc90b372fa84b685159b10f0c34bd91e2b832555
[]
no_license
iWonder118/atcoder
73d965a0a9ade189733808e47634f2b7776aad4b
3ab7271e838a2903ff0e07f94015ef13c59577e1
refs/heads/master
2022-01-25T10:10:55.007340
2021-12-31T14:04:54
2021-12-31T14:04:54
245,155,997
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
a, b, k = map(int, input().split()) for i in range(a, min(b, a + k - 1) + 1): print(i) for i in range(max(b - k + 1, a + k), b + 1): print(i)
[ "52240372+iWonder118@users.noreply.github.com" ]
52240372+iWonder118@users.noreply.github.com
1e1fb6824ca9011c950efac2b8238522d14dd1a6
9c25fcef2b0d0eedadc818d8a8bc8f6098d13b49
/single-cycle/utils.py
952d1e4841aec3079832cfba95b62c5ca3415726
[]
no_license
onesuper/Hazard
655b5147991fa5996fb8898749e128fb578dec1c
d322217c68fa70f5581987c3ba8024f0c720eb60
refs/heads/master
2021-01-13T16:10:11.928782
2013-04-27T14:44:42
2013-04-27T14:44:42
8,702,599
2
0
null
null
null
null
UTF-8
Python
false
false
958
py
# 16bit -> 32bit def sign_extend(bits): return bits # 2-way multiplexer def mux(control, a, b): return a if control else b def AND(a, b): return a and b def OR(a, b): return a or b def Add(A, B): return A+B def boolize(b): if b == True: return '1' elif b == False: return '0' ...
[ "onesuperclark@gmail.com" ]
onesuperclark@gmail.com
143a29df45c51cb3d4fc3fc98621f5788fc26a8c
b5fabc6c6de064690f8d4ee423001cf9365a3d9f
/flash/text/seq2seq/translation/cli.py
b141e45e60cbe519f1aab4c444a4f0dd2adbca2e
[ "Apache-2.0" ]
permissive
dmarx/lightning-flash
021dfd76bde6e30309f14feb5853020b0babe90d
4cda031c1f9c8d8754fd36b5720d2a5a7d866765
refs/heads/master
2023-09-06T06:24:29.856354
2021-11-24T23:38:14
2021-11-24T23:38:14
422,352,910
0
1
null
null
null
null
UTF-8
Python
false
false
1,819
py
# Copyright The PyTorch Lightning 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 applicable law or agreed to i...
[ "noreply@github.com" ]
dmarx.noreply@github.com
91e783b22e948c67e99f5d26756746a0797d8b45
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_5/models/certificate_group.py
9ea0249368ac9a642dcd09421f18088bb54704ae
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,329
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.5, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
7ed8c6a305f91c22e73f628598b61e830611287c
0492d090e6867d2f5594788e99b17cd80965672a
/02-数据组合/07.json.py
1ae6a2e57eea0398e3ae3a871e65b1f4e96bf7e2
[]
no_license
jackadam1981/LearnPython
2faaa16709fb88c583d7434d5c561f3dfb9186e3
3ba817edd84152c40c52e006a9b948bc4d2350a5
refs/heads/master
2021-07-12T14:59:53.419272
2019-12-17T04:05:17
2019-12-17T04:05:17
153,915,741
1
0
null
2021-03-20T02:29:18
2018-10-20T14:47:12
Python
UTF-8
Python
false
false
676
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2017/11/2 16:23 # @Author : Jackadam # @Email : # @File : 04.json.py # @Software: PyCharm import json user = [ [1, [ 11, 12 ]], [2, [ 21, 22 ]], ] print(user) print(type(user)) json_str = json.dumps(user) pri...
[ "jackadam@sina.com" ]
jackadam@sina.com
2513e0387f535d297a490a3a0489bc57d0270d5e
ef444847b85773158c5718649886dccdd95fe76a
/mcvgui/core/plugins_old/Algorithms/OTModuleSubBackground/OTPColorFilter.py
19be53e370c275033d5b3c932123e5c8761e4f41
[]
no_license
video-annotator/mcv-gui-editor
984ab687dbec73b9887dcff36281d63685b8b251
ddd626afa16a713b1e4fe2d4b9d6ae46369b5d01
refs/heads/master
2020-08-28T02:02:54.343023
2019-03-06T14:09:44
2019-03-06T14:09:44
217,556,079
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
import cv2, time, itertools from numpy import * from math import * from mcvgui.core.controllers.OTPBase import OTPBase class OTPColorFilter(OTPBase): _param_color_domain = None _param_a_min, _param_a_max = 0,255 _param_b_min, _param_b_max = 0,255 _param_c_min, _param_c_max = 0,255 _param_fi...
[ "ricardo.ribeiro@neuro.fchampalimaud.org" ]
ricardo.ribeiro@neuro.fchampalimaud.org
e11bcff8670bceb22de617a8b57eb9520f94dd83
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/see_small_week/large_world_and_bad_year/old_man.py
240bdc077d1a04b541bcce5f3c528d566a937706
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
#! /usr/bin/env python def right_place_and_old_woman(str_arg): want_thing(str_arg) print('case_or_time') def want_thing(str_arg): print(str_arg) if __name__ == '__main__': right_place_and_old_woman('other_point')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
f30922fc7482e4d4c06166afebf175c6b5ec6ca1
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/Lbs/bs-66_MD_NVT_rerun/set_1ns_equi_1_m.py
9cdb3ef76ac2df24c7a5ab413094fcc61bc7ba4c
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/Lbs/MD_NVT_rerun/ti_one-step/bs_66/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_1_m.in' temp_pbs = filesdir + 'temp_1ns_equi_1_m.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
cb9329f82eee081a095f09bcac6daffa1ddc41e9
de01cb554c2292b0fbb79b4d5413a2f6414ea472
/algorithms/Medium/1329.sort-the-matrix-diagonally.py
81b0307aab603a53e8026b1f7e22313168058f1c
[]
no_license
h4hany/yeet-the-leet
98292017eadd3dde98a079aafcd7648aa98701b4
563d779467ef5a7cc85cbe954eeaf3c1f5463313
refs/heads/master
2022-12-10T08:35:39.830260
2020-09-02T23:12:15
2020-09-02T23:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
# # @lc app=leetcode id=1329 lang=python3 # # [1329] Sort the Matrix Diagonally # # https://leetcode.com/problems/sort-the-matrix-diagonally/description/ # # algorithms # Medium (78.42%) # Total Accepted: 18K # Total Submissions: 23K # Testcase Example: '[[3,3,1,1],[2,2,1,2],[1,1,1,2]]' # # Given a m * n matrix mat...
[ "kevin.wkmiao@gmail.com" ]
kevin.wkmiao@gmail.com
66a1a13ecf47a1432df9bb54e3681699beea125c
8dae7ff1c299e9d65e369a52212b01e4741e1c0a
/cluster_repo/__init__.py
77c8e2100830479822ca7f02d5ca1c991795b1d3
[]
no_license
jtwhite79/cluster_repo
8de818bc3b22fe45668740c93896d1a3a0d80b91
d7d712d5fbd1e4a08d7c9d455d22bcaf42bf9d39
refs/heads/master
2021-01-17T15:23:40.062430
2016-05-02T20:36:19
2016-05-02T20:36:19
8,159,417
1
0
null
null
null
null
UTF-8
Python
false
false
198
py
#__init for cluster_repo Package from .MFArrayUtil import * from .MFBinaryClass import * from .MFData import * from .MFInterpolators import * from .pestUtil import * from .shapefile import *
[ "jdhughes@usgs.gov" ]
jdhughes@usgs.gov
2b57537e79e3ad9b4633ca57c2ddddfa0b7e1607
51d7e8c09793b50d45731bd5ab9b531b525cf6db
/tests/garage/tf/policies/test_continuous_mlp_policy.py
bb4469dbe6cb5ee4034d610707f0dcf7980b0402
[ "MIT" ]
permissive
fangqyi/garage
454247849a6a3f547557b3fac3787ba9eeb0391f
ddafba385ef005f46f913ab352f9638760e5b412
refs/heads/master
2023-02-25T00:43:18.903328
2021-01-26T01:52:15
2021-01-26T01:52:15
267,667,220
0
0
MIT
2020-05-28T18:35:08
2020-05-28T18:35:07
null
UTF-8
Python
false
false
4,887
py
"""Tests for garage.tf.policies.ContinuousMLPPolicy""" import pickle from unittest import mock import numpy as np import pytest import tensorflow as tf from garage.tf.envs import TfEnv from garage.tf.policies import ContinuousMLPPolicy from tests.fixtures import TfGraphTestCase from tests.fixtures.envs.dum...
[ "qiaoyi.fang@duke.edu" ]
qiaoyi.fang@duke.edu
36ea7a1026d30a29e20067e7dcb70712ab796b5c
d46f9a699844285d000278b0d5df70977623b100
/target_snowflake/exceptions.py
32a39396d0a3334327fe804af540f7238653216e
[ "Apache-2.0" ]
permissive
transferwise/pipelinewise-target-snowflake
dfaf258e6836f9ec897744b3bf408a6d2586ad13
c0806f07cebf4a899d78051d2a6f773427ef550a
refs/heads/master
2023-08-28T07:53:10.441370
2023-08-09T08:44:48
2023-08-09T08:44:48
189,252,686
50
88
NOASSERTION
2023-09-11T19:55:44
2019-05-29T15:30:57
Python
UTF-8
Python
false
false
1,044
py
"""Exceptions used by pipelinewise-target-snowflake""" class RecordValidationException(Exception): """Exception to raise when record validation failed""" class UnexpectedValueTypeException(Exception): """Exception to raise when record value type doesn't match the expected schema type""" class InvalidValid...
[ "noreply@github.com" ]
transferwise.noreply@github.com
aaa180e801414f4b59f2e0b629795f49f9739303
ac8b725681e25177c5de3daf58afe00135241d0f
/leetcode/0897_increasing_order_search_tree.py
5fa0938303a03d1518808435114a5e32a86f3747
[ "MIT" ]
permissive
jacquerie/leetcode
7af100ea1d7292c8c3da34210cf04d891be5561b
0cb213b9c7bcb6efa11210e9ebc291befb560bb9
refs/heads/master
2022-05-19T22:19:46.284065
2022-03-27T02:41:58
2022-03-27T02:41:58
129,323,741
3
0
MIT
2021-01-04T01:41:50
2018-04-12T23:51:56
Python
UTF-8
Python
false
false
1,571
py
# -*- coding: utf-8 -*- class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None def __eq__(self, other): return ( other is not None and self.val == other.val and self.left == other.left and self.rig...
[ "jacopo.notarstefano@gmail.com" ]
jacopo.notarstefano@gmail.com
7c99059feb0d249b054366f0e02ef315e6c3410b
9124e66c8ec04e61537473437a92b53daa32ce20
/linares/app16.py
9546ce98495113270edd33ed162cbd5c44d52825
[]
no_license
erick1984linares/t10_linares_rojas
28618baccb3472fb8d48b34f5d1107b702c399d0
ba9462b3b881dbd3665907a7a33c4c7d80aa4251
refs/heads/master
2020-12-04T06:38:06.929626
2020-01-10T11:52:29
2020-01-10T11:52:29
231,661,040
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
import libreria def los_canatantes_mas_famosos_en_estados_unidos(): nombre_de_cantante=libreria.pedir_cantante("Nombre del cantante:") pais_de_origen=libreria.pedir_pais_de_origen("Pais de origen:") sexo=libreria.pedir_sexo("Ingrese sexo:") contenido=nombre_de_cantante + "-" + pais_de_origen + "-" + ...
[ "ylinares@unprg.edu.pe" ]
ylinares@unprg.edu.pe
9af8680e7a0b969cea8da6d48ec454e25d144246
b521802cca8e4ee4ff5a5ffe59175a34f2f6d763
/maya/maya-utils/Scripts/Animation/2019-2-15 Tim Cam_Route_Manager/.history/Cam_Main/Cam_Main/Cam_Item_Layout_20190119193035.py
cad94c58a117de16d2ede4c86b26167a57ccd0ae
[]
no_license
all-in-one-of/I-Do-library
2edf68b29558728ce53fe17168694ad0353a076e
8972ebdcf1430ccc207028d8482210092acf02ce
refs/heads/master
2021-01-04T06:58:57.871216
2019-12-16T04:52:20
2019-12-16T04:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,957
py
# -*- coding:utf-8 -*- # Require Header import os import json from functools import partial # Sys Header import sys import traceback import subprocess import plugin.Qt as Qt from Qt.QtCore import * from Qt.QtGui import * from Qt.QtWidgets import * def loadUiType(uiFile): import plugin.Qt as Qt if Qt.__bindin...
[ "2595715768@qq.com" ]
2595715768@qq.com
3fcf08060ff040c45ee6b73f347d5e5f7353f750
4efc32a3f0290bb3d7b166ea0c9626102275daf9
/tests/test_libthumbor.py
5f662c552a4fa6fc0171cd36d1c3c7f3a67c9de1
[]
no_license
andrewsmedina/libthumbor
574563b6444a20c5bf1c7c8eab393822f1ca536e
1b79ffbc6b6379f536bc84edf40907e2caa31db3
refs/heads/master
2020-12-24T23:09:57.293911
2011-04-15T02:28:07
2011-04-15T02:28:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
#!/usr/bin/python # -*- coding: utf-8 -*- # libthumbor - python extension to thumbor # http://github.com/heynemann/libthumbor # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 Bernardo Heynemann heynemann@gmail.com import re import hashlib from thumbor.crypto i...
[ "heynemann@gmail.com" ]
heynemann@gmail.com
a95c82fd6b322361378372e7bbae26f8ebaa13e7
9f15e4318c5a2b6d98989599cc1b1109d61f8ed5
/ddcz/migrations/0017_auto_20180617_1604.py
e2e9f3d2ae8aa05a44b4934b736fe24d7794f6e0
[ "MIT" ]
permissive
indeterminateoutcomesstudios/graveyard
de6661c39aaecced9b9238fe9c515b82ce8ac001
bb1a2dbff1da7a06940ec5ba10b90de4f9357778
refs/heads/master
2020-03-28T16:49:48.217584
2018-07-14T10:14:18
2018-07-14T10:14:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
# Generated by Django 2.0.2 on 2018-06-17 14:04 import ddcz.models.magic from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('ddcz', '0016_auto_20180617_1602'), ] operations = [ migrations.AlterModelOptions( name='gallerypicture', ...
[ "bugs@almad.net" ]
bugs@almad.net
636caabb162a881578998eae2f4753a64b12c501
2ff88e94153e9f469dbe418e48bcaae8e2ab8dc8
/Kivy/Carousel2.py
5ebd2b63010419ee4896d78c2c69c7e34e55b0ed
[]
no_license
HorangApple/TIL
e04b2c65130901f7e20e2932f8175be27c1db583
5ee9f40cfd4d1b4fbfa155740bcd2d3a83c17133
refs/heads/master
2023-01-08T20:58:48.124182
2020-02-05T14:39:19
2020-02-05T14:39:19
163,809,325
2
0
null
2023-01-07T17:54:03
2019-01-02T07:35:52
Python
UTF-8
Python
false
false
432
py
from kivy.app import App from kivy.uix.carousel import Carousel from kivy.uix.image import AsyncImage class CarouselApp(App): def build(self): c = Carousel(direction='right', loop = True) for i in range(10): src = "http://placehold.it/480x270.png& text=Silde- %d" %i image = A...
[ "jongm711@gmail.com" ]
jongm711@gmail.com
5a6a48155fff66d7a48206b591334b9c7717c7ac
e16decc4d9563fb55b63038ffc234caa15d4aba2
/svm_test.py
687ee2303541642baecfc0a37ba6daae8fbdb53e
[ "BSD-3-Clause" ]
permissive
smileyk/kaggle-decmeg2014
01135ad06f072f867c92110334f3782537808cb2
c8824f9c8e41d442d09e317f70c3644162f1f61c
refs/heads/master
2021-01-17T10:36:48.688140
2014-07-28T12:00:50
2014-07-28T12:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
import numpy as np from sklearn.externals.joblib import Memory from sklearn.preprocessing import StandardScaler from sklearn.svm import SVC from sklearn.metrics import accuracy_score from sklearn.pipeline import make_pipeline from utils import load_train_subjects, load_test_subjects import matplotlib.pyplot as plt ...
[ "kastnerkyle@gmail.com" ]
kastnerkyle@gmail.com
f6db688fe13affbd91df6c9a6d485efb1a78d1b1
25295c299b940e214114dcc27237638e9389581b
/train_w2v.py
e5f59c2ddcf59aa858d0204e92ffcf6d0de74063
[]
no_license
weijin214/tmall
3e632059b3055b49688e0ebf9068d38609aea55c
4d28cf06f07d5129103a43000787295b1293f3cc
refs/heads/master
2023-03-19T19:01:48.080724
2021-01-26T03:09:52
2021-01-26T03:09:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,865
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : qichun tang # @Date : 2021-01-22 # @Contact : qichun.tang@bupt.edu.cn import gensim import pandas as pd from lightgbm import LGBMClassifier from sklearn.linear_model import LogisticRegression from sklearn.model_selection import StratifiedKFold, cross_val_...
[ "1468632627@qq.com" ]
1468632627@qq.com
21b2249991d1911e1650868a021d1b3a85e40b6b
a81c1492783e7cafcaf7da5f0402d2d283b7ce37
/google/ads/google_ads/v6/services/shared_criterion_service_client_config.py
b6f7f7ad908475bae08f5e1528d572cc8c02d24e
[ "Apache-2.0" ]
permissive
VincentFritzsche/google-ads-python
6650cf426b34392d1f58fb912cb3fc25b848e766
969eff5b6c3cec59d21191fa178cffb6270074c3
refs/heads/master
2023-03-19T17:23:26.959021
2021-03-18T18:18:38
2021-03-18T18:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
config = { "interfaces": { "google.ads.googleads.v6.services.SharedCriterionService": { "retry_codes": { "retry_policy_1_codes": [ "UNAVAILABLE", "DEADLINE_EXCEEDED" ], "no_retry_codes": [] }, "retry_params": { "retry_policy_1_params": { ...
[ "noreply@github.com" ]
VincentFritzsche.noreply@github.com
a7dc330b36679d0a329a76f68e7bec4c49f12469
59ad8e95e23a503cf81d7097a4d901944149b044
/Phys476/hw2/HW2_nkasmano@umd.edu_1.py
3d10363eb07df6828155348d5bc7f676c14c894d
[]
no_license
nkasmanoff/MLstuff
76ffaab8513bfcafa44749a3415ebb8a1684f059
503eba35429d1aaa1fe668a5588c5272a7683a4c
refs/heads/master
2021-04-26T23:32:49.512202
2018-05-23T14:14:37
2018-05-23T14:14:37
123,987,024
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
#Noah Kasmanoff, HW2 Problem 1 Phys476 #Classify mice using k-nearest-neighbors (KNN) #http://archive.ics.uci.edu/ml/datasets/Mice+Protein+Expression #import the necessary packages import sys import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' stderr = sys.stderr sys.stderr = open(os.devnull, 'w') import numpy as ...
[ "nkasmanoff@gmail.com" ]
nkasmanoff@gmail.com
80f9aa114c383f2a81fb63db7aa8bf4544e72da4
82eb0451478f65551f90f059cddde0855b10bdd5
/mysite/polls/views.py
c570cbcaebca8c131ba81991ecfe4628900455ba
[]
no_license
manishbalyan/mysite
2dcae785748c991262c169408e721f560abd2768
286933c9f8f7a03d1bc9226852200fdc8dd26f2c
refs/heads/master
2021-01-20T19:34:16.933170
2016-07-06T07:12:14
2016-07-06T07:12:14
62,699,597
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponse, HttpResponseRedirect from django.core.urlresolvers import reverse from django.views import generic from .models import Question, Choice # Create your views here. class IndexView(generic.ListView): template_name = 'polls/index...
[ "balyan05.manish@gmail.com" ]
balyan05.manish@gmail.com
25a873894fb591d9410c9593d5ee5285d240227e
9a05e1e8c950b091124d805ea70f24d2837b827c
/daydayup/cema_python/fourday/classmethod.py
b3a33c207eae12999e2302e1f219e66bc2325eab
[]
no_license
fanzongpeng/mywork
20676a9fe0e0599461a756ad194e4bd35aad4668
aa6d044bbab3c0288de48888b2cc7dbd7785c91b
refs/heads/master
2022-05-31T06:03:26.826914
2020-04-30T09:50:22
2020-04-30T09:50:22
257,189,615
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
class Book(object): def __init__(self, title): self.title = title @classmethod def create(cls, title): book = cls(title=title) return book # 为实现不同的初始化 book1 = Book("python") book2 = Book.create("python and django") print(book1.title) print(book2.title)
[ "18210023228.com" ]
18210023228.com
50d876dd72e66a63714cc6ed16e698ece7ac6362
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/lib/python3.6/site-packages/werkzeug/routing.py
43b9666881cd3362bb9a0fcfab099954c9a7b778
[]
no_license
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:91d60dfc3ee77f58fe4bfb984ca480db1063e970db86dc87c5d59560304c0d7b size 82933
[ "Nqk180998!" ]
Nqk180998!
c57090493d5c75f3f2513e8c3e46b603b37a4622
92bfcfaedb69b0d5c032f6a9b3ad70c0e06f7c53
/asterisk.py
fc00c79fbfee39b9c1f12f1bd14e224d14b9501a
[]
no_license
hellstrikes13/sudipython
cf529ed60cca09afa185f3b56fe7ce17059212b0
a789fc33cdab12d64ab674cb1c2ad7849617251f
refs/heads/master
2022-01-03T09:12:14.192724
2021-12-23T05:38:31
2021-12-23T05:38:31
184,371,582
2
1
null
2021-12-23T05:38:31
2019-05-01T05:07:18
Python
UTF-8
Python
false
false
377
py
print "\n\n" #line = input('enter no of lines: ') line = 5 for i in range((line-2),0,-1): print " " * (line-i-1)+ "* " + " " * (i-1) + "*" + " " * (i-1) + " *" print " " * ((line+1)/2) + " * *" print "* " * (line+1) print " " * ((line+1)/2) + " * *" for i in xrange(1,line-1): print " " * (line-i-1)+ "* "...
[ "hellstrikes13@gmail.com" ]
hellstrikes13@gmail.com
df56964ebcbf99dc3947a0c2cd1c8d033a75169b
7997a9581ac4badc53793e32bc85878b8e16094e
/mkwavelibts_at_node.py
effef5b8f79dc8a5d22b62ab975bcc20d4b03476
[]
no_license
jasonfleming/pputils
78adb832c5860a37e1473a43a5b9a54ad4d5ce55
2b34e47e4c3331d5780019d248e3f37c71164665
refs/heads/master
2022-09-29T13:40:38.657005
2022-08-10T19:40:06
2022-08-10T19:40:06
79,500,881
1
0
null
2017-01-19T22:17:09
2017-01-19T22:17:09
null
UTF-8
Python
false
false
6,210
py
#!/usr/bin/env python3 # #+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+!+! # # # mkwavelibts_at_node.py # # ...
[ "pprodano@gmail.com" ]
pprodano@gmail.com
6e8831b052f799fcce2ef0521bf3b54243784e8f
2f9a993813b84c24d505ba3a9b30438aaac7ed2d
/DocumentationGuide/Blueprint/main.py
9db45c2a5660c6911d55336ee870c54dc819be2a
[]
no_license
Twishar/Sanic
f9be35bbfb2652e82dc3e592b0fcb4b3e507e264
c8aed79f96cdf01fec0d888954693a6fba81df41
refs/heads/master
2020-04-30T08:09:06.091676
2019-03-27T10:19:50
2019-03-27T10:19:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from sanic import Sanic from my_blueprint import bp, blueprint_v1, blueprint_v2 app = Sanic(__name__) app.blueprint(bp) app.blueprint(blueprint_v1) app.blueprint(blueprint_v2) app.run(host='0.0.0.0', port=8000, debug=True)
[ "stognienkovv@gmail.com" ]
stognienkovv@gmail.com