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
11674a3f0d3e56f5156c92dbc2833e200511d2f2
a38180435ac5786185c0aa48891c0aed0ab9d72b
/S4/S4 Library/simulation/situations/complex/single_job_situation.py
567ee8821eebf3d57e66f878dfe22edeb8aac7d7
[ "CC-BY-4.0" ]
permissive
NeonOcean/Environment
e190b6b09dd5dbecba0a38c497c01f84c6f9dc7d
ca658cf66e8fd6866c22a4a0136d415705b36d26
refs/heads/master
2022-12-03T13:17:00.100440
2021-01-09T23:26:55
2021-01-09T23:26:55
178,096,522
1
1
CC-BY-4.0
2022-11-22T20:24:59
2019-03-28T00:38:17
Python
UTF-8
Python
false
false
1,366
py
from role.role_state import RoleState from sims4.tuning.tunable import TunableTuple from situations.situation import Situation from situations.situation_complex import SituationComplexCommon, SituationState, SituationStateData from situations.situation_job import SituationJob class SingleJobSituation(SituationComplexC...
[ "40919586+NeonOcean@users.noreply.github.com" ]
40919586+NeonOcean@users.noreply.github.com
c88bbd34f0f67cb174f84f0b4cff4aa4f6cd855c
3969f8402eaa015eb850e041e3dede4978ab9a4c
/pkg/eventlet-0.12.1/tests/patcher_psycopg_test.py
80988e51fdde3eb2a4aa7f68b40ee7bb7f24f738
[ "MIT" ]
permissive
seewindcn/pycocos2d
e333bf8ae29d8244e6540ed3d39d76d4002e2908
b88c8c5df127f9bf82f62c8b4365f4babcdee105
refs/heads/master
2023-03-07T10:07:47.167364
2013-06-03T10:45:19
2013-06-03T10:45:19
9,958,133
18
7
null
2013-05-14T03:57:47
2013-05-09T11:43:46
C
UTF-8
Python
false
false
1,811
py
import os from tests import patcher_test, skip_unless from tests import get_database_auth from tests.db_pool_test import postgres_requirement psycopg_test_file = """ import os import sys import eventlet eventlet.monkey_patch() from eventlet import patcher if not patcher.is_monkey_patched('psycopg'): print "Psycop...
[ "none@none" ]
none@none
d58ae3c7d5f559290e4ad6aba0e009878635ebe6
625daac7e73b98935f9fe93e647eb809b48b712e
/Arcade/Intro/adjacentElementsProduct.py
07c848e4a7c18445ca0d1d6cf05d6044c620be21
[]
no_license
aleksaa01/codefights-codesignal
19b2d70779cc60f62511b6f88ae5d049451eac82
a57a5589ab2c9d9580ef44900ea986c826b23051
refs/heads/master
2022-03-15T04:46:40.356440
2019-12-08T15:41:37
2019-12-08T15:41:37
112,034,380
1
0
null
null
null
null
UTF-8
Python
false
false
473
py
def adjacentElementsProduct(arr): max_pair = arr[0]*arr[1] for i in range(1, len(arr)-1): if arr[i]*arr[i+1] > max_pair: max_pair = arr[i]*arr[i+1] return max_pair """ Given an array of integers, find the pair of adjacent elements that has the largest product and return that product. ...
[ "some12curious@gmail.com" ]
some12curious@gmail.com
c6492508982755a4e1e8b20b63f7fa75931cdd05
fbd4ecf7046171c4e96267c5982c964db54578f5
/business/p201904/110111_2300/server.py
0872fb79fab8ceec11b2a306e6bc2a815aee5719
[]
no_license
Alvin2580du/alvin_py
6dddcfbfae214694e9f3dafd976101e681f2a66d
82d3e9808073f2145b039ccf464c526cb85274e3
refs/heads/master
2021-05-05T16:01:43.544783
2019-10-29T02:23:59
2019-10-29T02:23:59
117,328,713
12
2
null
2021-03-20T00:06:37
2018-01-13T08:51:49
Python
UTF-8
Python
false
false
3,200
py
import os.path import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web from tornado.options import define, options import sys from gensim.models.word2vec import Word2Vec import numpy as np import jieba from sklearn.externals import joblib ports = sys.argv[1] define("port", default=por...
[ "ypducdtu@163.com" ]
ypducdtu@163.com
f43b801df2a2396b5627c17b19e71a5d8c8eeef8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_258/ch30_2019_03_10_21_05_56_563616.py
c59f95da9501a2311605f0176a60d8e35f2f4a9f
[]
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
255
py
import math v=int(input('Qual a velocidade do lançamento? ')) a=int(input('Qual o ângulo do lançamento? ')) d=(v**2)*math.sin(2*math.degrees(a))/9.8 if d<96: print('Muito perto') elif d>104: print('Muito longe') else: print('Acertou!')
[ "you@example.com" ]
you@example.com
1f66c2f28360a924a6ad07d2b8c8af414203518d
50f8d8975b1f17c4c6bcb9be29d4f0ed49cb42a5
/Week_04/lemonade-change.py
5e567df5df1217ba3921dd4a56cf9268dd95ae3f
[]
no_license
Jiangjao/-algorithm015
098491b7a9b80626c1d9e15a9125e4e460ee8668
a6969617f4cde1d948cb064c1078d4d510140758
refs/heads/master
2023-01-10T17:42:49.495871
2020-11-16T07:35:04
2020-11-16T07:35:04
289,441,446
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
class Solution(object): def lemonadeChange(self, bills): """ :type bills: List[int] :rtype: bool """ five = ten = 0 for bill in bills: if bill == 5: five += 1 elif bill == 10: if not five: return False ...
[ "918718278@qq.com" ]
918718278@qq.com
5f249cf5e48d2382470baa0a978bc3a0abafafc6
d2ca1ab6ed63983d1bd6497f26a63f0445451844
/2015/05/fc_2015_05_31.py
dc41dc9178467c3c8859ffc19ce4fdb301b45b7d
[ "MIT" ]
permissive
mfwarren/FreeCoding
96636367f4f4a53351535372c5691d7805199f23
58ac87f35ad2004a3514782556762ee0ed72c39a
refs/heads/master
2021-01-19T14:30:09.057354
2015-07-05T05:59:53
2015-07-05T05:59:53
24,469,988
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
#!/usr/bin/env python3 # imports go here # # Free Coding session for 2015-05-31 # Written by Matt Warren # def factors(x): values = [] cursor = x i = 2 while i <= cursor: v = cursor / i if int(v) == v: cursor = v values.append(i) else: i += 1...
[ "matt.warren@gmail.com" ]
matt.warren@gmail.com
5229abb6be00316ff90cd09e352230cb2bc258fe
a2d5681a37be0d3b0753a0e979cb4fa7b0398f32
/indexedcorpus.py
84aa2ea572d830a6ae74aed8e35b0c416de90ad2
[]
no_license
stephenroller/class-nlp-project
f7c09281336985ac55d25e886e7aa180e2225580
0362ec1182dc6d3ab54990bbb097339e7bc386a0
refs/heads/master
2020-05-29T23:26:56.024802
2011-05-13T18:30:49
2011-05-13T18:30:49
1,606,152
3
0
null
null
null
null
UTF-8
Python
false
false
1,429
py
#!/usr/bin/evn python import sqlite3 import os from itertools import groupby from util import context_windows class IndexedCorpus(object): def __init__(self, indexfile, corpus_directory=''): self.indexfile = indexfile self.corpus_directory = corpus_directory self.conn = sqlite3.connect(i...
[ "roller@cs.utexas.edu" ]
roller@cs.utexas.edu
72de8eb136efd770ba9db06215d9ea846c6dd7c9
ceb4ac75c40cd53f24d8f7e0a2f763de309bcfdb
/main4.py
24ac83b28e32c4c98c305c1e1b012cf1ea9f8cf3
[]
no_license
kevinelong/bo
c706d0771dbbf427a67d240f552eef4b7529b877
e08e2d0e07e240cab440733173578f627e0f25ec
refs/heads/master
2022-11-08T22:18:04.053714
2020-07-12T17:17:31
2020-07-12T17:17:31
279,112,257
0
0
null
null
null
null
UTF-8
Python
false
false
2,184
py
class Coordinate: def __init__(self, x, y): self.x = x self.y = y class Size: def __init__(self, width, height): self.width = width self.height = height class Box: def __init__(self, origin:Coordinate, box_size:Size): self.origin = origin self.size = box_size class Item: def __init__(self, name:str, loc...
[ "kevinelong@gmail.com" ]
kevinelong@gmail.com
54b883b64ef60b20fe3d570fc00563c41892ba76
0bc8d6abec44e1187499f93803f82514f2b53fc6
/Base/BaseReq1.py
fa5421d9d89f69e236d3949b433faf8e14ac7258
[]
no_license
IamBiJav/auto_http_api
932db2b4f2e1b67f2c0760806afd086494d92007
5a7ff01845e43d441fef8ae955b056085ab2dd10
refs/heads/master
2023-03-16T22:20:50.102610
2021-03-16T13:41:07
2021-03-16T13:41:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,054
py
import requests import json import ast from Base.BaseElementEnmu import Element from Base.BaseParams import BaseFuzzParams from Base.BaseStatistics import writeInfo class Config(object): def __init__(self, sessions): self.sessions = sessions def config_req(self, kw): app = {} header = ...
[ "284772894@qq.com" ]
284772894@qq.com
9db0cb4a0ab5668893f4ed5fcb8d6a4515118cab
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-smn/huaweicloudsdksmn/v2/model/list_topics_item.py
941aeb67db97af3db8459de64cdaa873c70458bf
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,993
py
# coding: utf-8 import re import six class ListTopicsItem: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in def...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
7f7621b29075cba866d4c2b7508de19821719201
2c6bc39f2adf3731109519bfaf8a3a24ae913834
/admin/admin/settings.py
60c38e44516af552aee83c9bf875de446377cff1
[]
no_license
aliensmart/django-admin
a1289e1a01d64b416f64db1ed435ba23f4c2b8ca
0732358e4ace57abbf621df66c75b85219226d07
refs/heads/master
2022-09-01T15:28:54.664846
2020-05-20T20:34:54
2020-05-20T20:34:54
265,679,957
0
0
null
null
null
null
UTF-8
Python
false
false
3,085
py
""" Django settings for admin project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # B...
[ "kaoua17@gmail.com" ]
kaoua17@gmail.com
07cab7f377e53810bca7f3ea6fd25e8f93c45bf2
ae7884af1ec3965b7c0eec22edad6b74f78b7ba6
/server/src/uds/core/workers/stats_collector.py
23a2506832f5b1b824b8e41f3fa32e05c785c451
[]
no_license
glyptodon/openuds
f4eefa319a3ead827dad999d24e5ee3854d1345d
3908c875d30ec332490fc8c049bb537e10f10d08
refs/heads/master
2021-07-12T20:58:49.281242
2021-03-05T22:42:55
2021-03-05T22:42:55
62,921,174
0
1
null
2016-07-08T22:33:44
2016-07-08T22:33:44
null
UTF-8
Python
false
false
4,456
py
# -*- coding: utf-8 -*- # # Copyright (c) 2013-2020 Virtual Cable S.L.U. # 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 copyright not...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
115c7c7c5a07a0ed5e1214fc406d01cf55ee2eef
f1267f4a0fae414f16b2429a5c3b1cbd42df8794
/lib/Daemon.py
dded7072b2770aaa31cf9b096453386af2a21d63
[]
no_license
oraant/learn_zabbix_odbm
3ff3b0318e802ebff9603c8daefdf67cda772b94
35a010b5dc0a8bc2989b4d3618f795b08a637063
refs/heads/master
2020-12-24T05:46:10.358982
2016-03-21T10:25:29
2016-03-21T10:25:29
73,452,172
0
0
null
null
null
null
UTF-8
Python
false
false
1,800
py
# coding:utf-8 import sys,os class Daemon: def __init__(self,stdin='/dev/null',stdout='/dev/null', stderr='dev/null'): '''初始化,指定标准输入输出文件''' self.stdin = stdin self.stdout = stdout self.stderr = stderr def daemonize(self): '''Fork当前进程为守护进程,重定向标准文件描述符''' #Per...
[ "oraant777@gmail.com" ]
oraant777@gmail.com
f41facc51474c9c8b75bdf9eb8cbff2452c343ac
f409f0b5be2bccdc76041a308b28964b00565c2b
/untitled/urls.py
93f59be44255ae6fefe35db65a6c61417a4d3618
[]
no_license
yingliufengpeng/demo_django_blog
b9df1e9176ffd66fe9cf6b8fcbad34092aaa8c53
27b3e88ebc7e84f8b4d2a8844abd35104bec2bdb
refs/heads/master
2021-01-17T07:50:52.081607
2017-06-26T18:48:56
2017-06-26T18:48:56
95,317,444
0
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
"""untitled URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/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') Class-ba...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c2113be94bd6ef86abbc7380563b0a18cabd088f
f45cc0049cd6c3a2b25de0e9bbc80c25c113a356
/LeetCode/动态规划法(dp)/背包问题/474. 一和零.py
ee1171e6057672507a105886d84a225938f263c0
[]
no_license
yiming1012/MyLeetCode
4a387d024969bfd1cdccd4f581051a6e4104891a
e43ee86c5a8cdb808da09b4b6138e10275abadb5
refs/heads/master
2023-06-17T06:43:13.854862
2021-07-15T08:54:07
2021-07-15T08:54:07
261,663,876
2
0
null
null
null
null
UTF-8
Python
false
false
2,788
py
""" 474. 一和零 给你一个二进制字符串数组 strs 和两个整数 m 和 n 。 请你找出并返回 strs 的最大子集的大小,该子集中 最多 有 m 个 0 和 n 个 1 。 如果 x 的所有元素也是 y 的元素,集合 x 是集合 y 的 子集 。   示例 1: 输入:strs = ["10", "0001", "111001", "1", "0"], m = 5, n = 3 输出:4 解释:最多有 5 个 0 和 3 个 1 的最大子集是 {"10","0001","1","0"} ,因此答案是 4 。 其他满足题意但较小的子集包括 {"0001","1"} 和 {"10","1","0"} 。{"1110...
[ "1129079384@qq.com" ]
1129079384@qq.com
56f16db5640a5744b67e7f88a950990ad72782a6
21b0b4c27193898207751c91b8b2ed168a1b1638
/py/py_0383_divisibility_comparison_between_factorials.py
6e66399ac758ee89f0245e09912ace51ce300130
[ "MIT" ]
permissive
lcsm29/project-euler
67560a4e66968f1671a3d7ecf2dda6c956893dca
fab794ece5aa7a11fc7c2177f26250f40a5b1447
refs/heads/main
2023-07-04T11:45:24.374841
2021-08-07T08:20:41
2021-08-07T08:20:41
371,808,781
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
# Solution of; # Project Euler Problem 383: Divisibility comparison between factorials # https://projecteuler.net/problem=383 # # Let f5(n) be the largest integer x for which 5x divides n. For example, # f5(625000) = 7. Let T5(n) be the number of integers i which satisfy # f5((2·i-1)!) < 2·f5(i!) and 1 ≤ i ≤ n. It c...
[ "lcsm29@outlook.com" ]
lcsm29@outlook.com
da31943f12cab72657cccbf301ca3e51137991fa
6b29d66ba7927129b68bc00db769f0edf1babaea
/SoftLayer/CLI/mq/endpoints_list.py
179663919c224900057d00eea255084ae140b781
[ "MIT" ]
permissive
tdurden82/softlayer-python
65f42923c347a164995dfc267829721032de261d
0eed20fa4adedd3228d91d929bb8befb1e445e49
refs/heads/master
2021-01-17T10:01:48.087450
2015-10-19T18:38:53
2015-10-19T18:38:53
46,301,339
0
1
null
null
null
null
UTF-8
Python
false
false
699
py
"""List SoftLayer Message Queue Endpoints.""" # :license: MIT, see LICENSE for more details. import SoftLayer from SoftLayer.CLI import environment from SoftLayer.CLI import formatting import click @click.command() @environment.pass_env def cli(env): """List SoftLayer Message Queue Endpoints.""" manager = ...
[ "k3vinmcdonald@gmail.com" ]
k3vinmcdonald@gmail.com
92916397d8bf8d6741c6ac3a5ea1959e5458d171
4d87e41fa51a3f777512982553b9bf4f32325c2f
/Scripts/pip3-script.py
7e22278ba12539d9a302792add86e495297ccf05
[]
no_license
Leno1993/RecommendSystem
75bc8a045abbd83a127133cac80feb3149ce2802
c97126126e86dd309804aa7b5da8df62b6491472
refs/heads/master
2020-05-09T12:59:28.410270
2019-03-24T13:53:48
2019-03-24T13:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
#!D:\PycharmWorkSpace\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "gaojiaming24@163.com" ]
gaojiaming24@163.com
6cd99aa856870945383ad551d176b967727db0ba
4851d160a423b4a65e81a75d5b4de5218de958ee
/Pig Sursurunga.py
cd4d4594217fdde6c6d1df1dd137ceb730f8f010
[]
no_license
LarisaOvchinnikova/python_codewars
519508e5626303dcead5ecb839c6d9b53cb3c764
5399f4be17e4972e61be74831703a82ce9badffd
refs/heads/master
2023-05-05T14:52:02.100435
2021-05-25T18:36:51
2021-05-25T18:36:51
319,399,343
1
0
null
null
null
null
UTF-8
Python
false
false
655
py
https://www.codewars.com/kata/5536aba6e4609cc6a600003d import re def sursurungal(txt): arr = re.split(r'(\W+)', txt) res = [] i = 0 while i < len(arr): if arr[i].isdigit(): n = int(arr[i]) if n in [0,1]: res.append(f"{arr[i]} {arr[i+2]}") else:...
[ "larisaplantation@gmail.com" ]
larisaplantation@gmail.com
8865db146159f578256de4ca7df771ec7049b312
d2f4eb41c95e35a21c257554efbaf18a557d4f4a
/KneiborsClassfier.py
9ebdbadd0a59fb28173de4d19d2b21347c5b7885
[ "Apache-2.0" ]
permissive
madcow2021/Insect_Identification
1d7fbf5ce4a5d72d4994e5af2078701787eb08b4
ae9e30c09f47b343664b3cb18e893fedcd84b335
refs/heads/master
2022-02-03T22:31:17.108726
2019-06-05T01:34:46
2019-06-05T01:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
# coding=utf-8 import pandas as pd # 创建特征列表 column_names = ['P_rect', 'P_extend', 'P_spherical', 'P_leaf', 'P_circle', 'Species'] # column_names = ['P_rect', 'P_extend', 'P_spherical', 'P_leaf', 'P_circle','P_complecate', 'Species'] data = pd.read_csv('data/data.csv', names=column_names) # print data.shape # 这个功能快要...
[ "veraposeidon@gmail.com" ]
veraposeidon@gmail.com
cea43589a7bb31e1bf0c658d9ea1813573b2e2bc
ab67bf011764b6c0b6803cd44985a5a2ad3f2593
/udpsocket.py
2b222871dc47eb1b8e436bd7d76fd4d52cdb877e
[]
no_license
pr0logas/streamSockets
cba0616ead596bf331eda4f54b6112a212e462fc
3f759509dfcb556d3b6a25f11c9f512fb7be430b
refs/heads/master
2022-11-25T06:09:17.503818
2020-07-27T13:53:15
2020-07-27T13:53:15
285,097,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,970
py
import socket import os, sys, time from time import sleep MCAST_GRP = '10.10.10.10' MCAST_PORT = 9004 MULTICAST_TTL = 10 bytes_size_to_process = 1024 time_between_data_seconds = 5 time_between_packets_float = 0.0055 def startSocket(): s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP) s....
[ "prologas@protonmail.com" ]
prologas@protonmail.com
4ca7dd8882f263f5749f1eecebddf59f13b12871
0969f7c85e5ae0a19982077d6bb702c41b2b1e1f
/nets/mobilenet/mobilenet_v2.py
02f5fa0510270fecc4ea3bd20c7f4da25bad20b1
[ "MIT" ]
permissive
353622088/tianchi
544e49bb6720c4978188cdbddd88a0ebe9f5669c
e1f378e5fd783eb4cfbfaf8ecdd944b8fcfdd733
refs/heads/master
2020-04-19T09:06:35.946147
2019-01-30T09:30:05
2019-01-30T09:30:05
168,099,897
0
0
null
null
null
null
UTF-8
Python
false
false
7,434
py
# Copyright 2018 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...
[ "chk0125@126.com" ]
chk0125@126.com
e74010a40ad06fe82916fea9a7e6c222b087a685
cb83b02ead1cb77c87e117118f7e5cd3ecf46ba1
/sistema_plantilla/settings/settings.py
6652e9955e4d55b35976610917e962c7d8b0c985
[]
no_license
danielhuamani/sistema-plantilla-saas
f834d90157b3d0ab1724fe7d3be5e9224cf753ae
8802a4b429fdce9ce433539684b52e2177042c35
refs/heads/master
2020-12-11T01:48:45.313743
2016-01-18T16:10:24
2016-01-18T16:10:24
48,857,325
0
0
null
null
null
null
UTF-8
Python
false
false
2,996
py
""" Django settings for settings project. Generated by 'django-admin startproject' using Django 1.8.2. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build pat...
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
80793db4fcb6d003bcd7f9d86fe4acae5bc1a6c0
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/6ae12eacdae24553a91c0270cb101e66.py
5d6e3848a1fa367f700bac002a2b381e701f99cc
[]
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
281
py
# # Skeleton file for the Python "Bob" exercise. # def hey(what): if what is None or what.strip() == "": return "Fine. Be that way!" if what.isupper(): return "Whoa, chill out!" if what.endswith("?") or what.endswith(" "): return "Sure." return "Whatever."
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
89e0353d4de23f2ac613d436afbbec0a40354e19
e8ef02248600525a114c9ed9a6098e95d8007063
/qtlab/scripts/sal/ff_powersweep.py
7966c043a04204757185031af05d8a6ff6e2df04
[]
no_license
mgely/papyllon
ac264e202298728f6ca69d566c1fe45a9de0dc1c
490c756da8f08c971864dcd983ea82c944bc8c85
refs/heads/master
2021-01-10T06:28:17.250944
2016-02-26T13:49:21
2016-02-26T13:49:21
46,259,620
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
#prepare environment import qt import visa import numpy as np from numpy import pi, random, arange, size, array, sin, cos, diff, absolute,zeros, sign,ceil,sqrt,absolute from time import time, sleep, localtime, strftime execfile('metagen.py') #Check and load instrument plugins instlist = qt.instruments.get_instrum...
[ "m.a.cohen@tudelft.nl" ]
m.a.cohen@tudelft.nl
eddb1083f72d566a9ba78588b02c0de1582230e7
8cb101991346bd6403cfaca88b0445f917e52254
/tuneuptechnology/tickets.py
d5ccf178b5ba56d3c933e59ce7abdad16b3a0163
[ "MIT", "Python-2.0" ]
permissive
TrendingTechnology/tuneuptechnology-python
a06742fbf404fb1afc525ccf1d432c4c374866f1
479bbece1722f7e233dbc0f7642205e1afa971c1
refs/heads/main
2023-06-08T17:26:41.108769
2021-06-22T02:15:45
2021-06-22T02:15:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
class Tickets(): def __init__(self, base_url, make_http_request): self.base_url = base_url self.make_http_request = make_http_request def create(self, data): """Create a ticket based on the data passed""" endpoint = f'{self.base_url}/tickets' response = self.make_http_re...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
3ba4d9a3323a8bb7a9dd944f28bff4943cd98968
266947fd84eed629ed0c21f6d91134239512afd9
/BeginnerContest_B/061.py
8605568528a2b38ba911c5cdf7aae2aba95aad32
[]
no_license
SkiMsyk/AtCoder
c86adeec4fa470ec14c1be7400c9fc8b3fb301cd
8102b99cf0fb6d7fa304edb942d21cf7016cba7d
refs/heads/master
2022-09-03T01:23:10.748038
2022-08-15T01:19:55
2022-08-15T01:19:55
239,656,752
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
N, M = map(int, input().split()) res = [0]*N for _ in range(M): a, b = map(int, input().split()) res[a-1] += 1 res[b-1] += 1 for _ in range(N): print(res[_])
[ "sakaimasayuki@sakaimasayukinoMacBook-puro.local" ]
sakaimasayuki@sakaimasayukinoMacBook-puro.local
3740b278f395768c4a255c2166677022992d93a9
85574bab97569bae7368dc4e2d2aa73c73743a9b
/DSPFromGroundUp/Python/016RunningSumV2/main.py
9bf1bb6d344340923a786a4e595a379f76fda9cf
[]
no_license
saradhimpardha/UdemyDSPFromGroundUpOnARMProcessors
3c0fcd7272e892f222871dc412fc214851477aea
576d4a38992533ed0733278d6b4b6444db58706b
refs/heads/main
2023-05-04T15:45:30.184864
2021-05-28T14:40:46
2021-05-28T14:40:46
458,248,148
1
0
null
null
null
null
UTF-8
Python
false
false
922
py
# # Imports # from matplotlib import pyplot as plt from matplotlib import style import mysignals as sigs # # Global variables # # # Private functions # # def calc_running_sum(sig_src_arr,sig_dest_arr): for x in range(len(sig_dest_arr)): sig_dest_arr[x] = 0 for x in range(len(...
[ "franco.polo@ii-vi.com" ]
franco.polo@ii-vi.com
0751238896833b73c9818850c8150c8aff389c4b
f4b74154a7e50a9cfd325b45046b6c86c1682847
/src/settings.py
ccb98801ea3144dc52ce825ead5c542150f3330b
[]
no_license
toxicOxygen/personal_website-
826225a979ef0e62aaddf9730d1fd5d533400310
1826ef3de43fc4d162a509f48a1f90392ac136e5
refs/heads/master
2021-09-23T09:28:51.103637
2020-03-30T02:12:58
2020-03-30T02:12:58
251,178,977
0
0
null
2021-09-22T18:54:41
2020-03-30T02:13:38
HTML
UTF-8
Python
false
false
3,619
py
""" Django settings for src project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # impo...
[ "kwakukusi30@outlook.com" ]
kwakukusi30@outlook.com
27cb43ce03426ae33a2a613a5b551d5332371f3c
4a995ce459f42c372d548eb397e95a7793b8b965
/cursoshandler/models.py
fe22f8853dc98344edddb248959e587b5692a3c5
[]
no_license
astandre/chatbot-system
edb1d1835fe61a2140bad53e7f68ce2bc724018a
99aab3e1e63a05bd475c5af8733b8c771d5e69f5
refs/heads/master
2022-12-12T01:37:13.498987
2018-10-13T23:03:03
2018-10-13T23:03:03
145,641,189
0
0
null
2022-12-08T02:47:10
2018-08-22T01:49:28
Python
UTF-8
Python
false
false
2,784
py
from neomodel import * from neomodel import install_all_labels, remove_all_labels # remove_all_labels() # install_all_labels() # clear_neo4j_database(db) # TODO set label and help_text class Curso(StructuredNode): uid = UniqueIdProperty() nombre = StringProperty(required=True, unique_index=True) cod = ...
[ "andreherrera97@hotmail.com" ]
andreherrera97@hotmail.com
45da61cb3415eb8e07c8366c7b8f0ed58e3c101e
982539edb302b6bee5dd9285e9de00ad866b4cfd
/Tongji/Mode/PlatUserConf.py
0128446c9127bba03b5fb549b02ac0e89e624e1b
[]
no_license
chennqqi/OpenSaaSProj
2149a2066c607636ce2106801be2cb722cc0934d
0f861a61d1bd1499599207a70a8e180930d96573
refs/heads/master
2020-04-04T16:14:08.943396
2017-06-01T06:50:32
2017-06-01T06:50:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
# -*- coding: utf-8 -*- from datetime import date from pony.orm import * def define_user_conf(db): class Plat_user_conf(db.Entity): id = PrimaryKey(int, sql_type="int(20)", auto=True) tm = Optional(date) ver = Optional(str) pub = Optional(str) nameid = Optional(str) ...
[ "sudazhuang1@163.com" ]
sudazhuang1@163.com
94b48fd60ae2a1848557d45847013a281ca0bb72
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/VoucherAvailableOutItemInfo.py
d0133f8f8df9195637a3cad5457d1610e907a92c
[ "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
1,440
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class VoucherAvailableOutItemInfo(object): def __init__(self): self._item_app_id = None self._out_item_id = None @property def item_app_id(self): return self._item_app_...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
bcf1581afef31e7569bc8ef68a094cb8fad143ea
70f5f279e051360310f95be895320d8fa6cd8d93
/extraPackages/matplotlib-3.0.2/examples/userdemo/connectionstyle_demo.py
1ea2bf5fe8fd2ff9ac9da4674adfb762654d93bd
[ "BSD-3-Clause" ]
permissive
spacetime314/python3_ios
4b16ab3e81c31213b3db1e1eb00230621b0a7dc8
e149f1bc2e50046c8810f83dae7739a8dea939ee
refs/heads/master
2020-05-09T20:39:14.980041
2019-04-08T15:07:53
2019-04-08T15:07:53
181,415,024
2
0
BSD-3-Clause
2019-04-15T05:00:14
2019-04-15T05:00:12
null
UTF-8
Python
false
false
1,845
py
""" ==================== Connectionstyle Demo ==================== """ import matplotlib.pyplot as plt fig, axs = plt.subplots(3, 5, figsize=(8, 4.8)) x1, y1 = 0.3, 0.3 x2, y2 = 0.7, 0.7 def demo_con_style(ax, connectionstyle, label=None): x1, y1 = 0.3, 0.2 x2, y2 = 0.8, 0.6 ax.plot([x1, x2], [y1, y2...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
7d2794d66c8af7463d80b6feb07f0a139da4daf6
6f54ce52f08806075f0445e7dd206baae96ebdca
/IssueTracker/controllers/default.py
f6f0ad38bfb5a2d5fa0f37f28e66d7e27f9f3aff
[ "BSD-3-Clause" ]
permissive
ykanggit/web2py-appliances
a93d318a214aa5b3e5cd6b47b642f2c12addba46
5ca7a04d5403f04aad9e90e99e10dbc05a08a50a
refs/heads/master
2022-05-06T08:55:11.089350
2022-04-14T19:25:02
2022-04-14T19:25:02
49,680,074
0
0
null
2016-01-14T22:41:45
2016-01-14T22:41:45
null
UTF-8
Python
false
false
7,707
py
# -*- coding: utf-8 -*- def index(): return dict(message=T('Hello World')) def projects(): #COLUMNS=('project.name','project.author','project.repo','project.license') FIELDS=(db.project.id,db.project.name,db.project.created_by,db.project.manager,db.project.phase,db.project.repo) LINKS=[lambda row: A(...
[ "massimodipierro@Massimos-MacBook-Air.local" ]
massimodipierro@Massimos-MacBook-Air.local
52327f791bad53af1e5f123f7f1b3f296bffe0bb
dc940e2aa628eff693af36584cfad935990ebe7d
/v3.1.0/tool/SaveBookInfoToMySqlTool.py
c32721874dd569c804662a6f57f96fbcb50f3b77
[]
no_license
520wsl/getXs8Novels
865572ea488e0bf3d4e21664eb576237b6dd18be
ecf6d0bc5dfdbe4b5c3e8a9aac313bf7abce614b
refs/heads/master
2020-04-18T00:59:56.777416
2019-02-15T08:52:11
2019-02-15T08:52:11
167,101,111
0
0
null
null
null
null
UTF-8
Python
false
false
2,620
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ __title__ = '书籍数据存储工具类' __author__ = 'Mad Dragon' __mtime__ = '2019/1/24' # 我不懂什么叫年少轻狂,只知道胜者为王               ┏┓      ┏┓             ┏┛┻━━━┛┻┓             ┃      ☃      ┃             ┃  ┳┛  ┗┳  ┃             ┃      ┻      ┃             ┗━┓      ┏━┛                 ┃     ...
[ "395548460@qq.com" ]
395548460@qq.com
2e4d4ad192fac1e61c9f8874b8b0b4a41791f5d5
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_4/Areseye/D_a.py
e133bb845631ab5660737f81985ed9f3e3c0f065
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
585
py
#encoding:utf8 import os import pdb def solve(K,C,S): ret = [1,] gap = K**(C-1) cur = 1 for i in range(0,K-1): cur += gap ret.append(cur) return ret; if __name__ == '__main__': with open('d.in','r') as fin: for ind,line in enumerate(fin): if ind is 0: ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
6b688c2274d062b107eef215f2f6857853970569
1333357d463006bb6540fb6f68f140c383d4e676
/data/data_clean.py
3bcfe42405065c6c3c2b46f2e42f29c6764ba91d
[]
no_license
markWJJ/classifynetwork
ced1ff5eaa9e1c7e9e6440e08e6744070689a305
d65f22486434fdfbdce38d063e176eb31c5d7354
refs/heads/master
2023-01-09T03:12:01.540254
2018-09-17T07:50:02
2018-09-17T07:50:02
149,088,397
0
1
null
2022-12-21T03:34:27
2018-09-17T07:48:54
Python
UTF-8
Python
false
false
8,090
py
# -*- coding: UTF-8 -*- import re from collections import OrderedDict import jieba import codecs from hanziconv import HanziConv import os import string import json import jieba.posseg as pseg import numpy as np FH_NUM = ( (u"0", u"0"), (u"1", u"1"), (u"2", u"2"), (u"3", u"3"), (u"4", u"4"), (u"5", u"5"), (u"...
[ "363451547@qq.com" ]
363451547@qq.com
ac9bc264069f3b02a22624cafb6308e8ec8ae4bf
79e19819aec49b500825f82a7de149eb6a0ba81d
/leetcode/303.py
f778311ff580a2a44b295e3a1440ef7bab29626f
[]
no_license
seoyeonhwng/algorithm
635e5dc4a2e9e1c50dc0c75d9a2a334110bb8e26
90406ee75de69996e666ea505ff5d9045c2ad941
refs/heads/master
2023-05-03T16:51:48.454619
2021-05-26T00:54:40
2021-05-26T00:54:40
297,548,218
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
class NumArray: def __init__(self, nums: List[int]): self.nums = nums if nums: self.memo() def memo(self): self.dp = [0] * len(self.nums) self.dp[0] = self.nums[0] for i in range(1, len(self.nums)): self.dp[i] = self.dp[i-1] + self.nu...
[ "seoyeon@nowbusking.com" ]
seoyeon@nowbusking.com
723c8b2001a43c9aa112cd5eba3a02f98544b6f5
58ade65dffc7cbe103d93d7c769096a20d9f9815
/src/smach_based_introspection_framework/online_part/data_collection/StoreVectorToRedisProc.py
d94e5e8102adc6af5a29654d7877be2d0b34a276
[ "BSD-3-Clause" ]
permissive
birlrobotics/smach_based_introspection_framework
2cff69ecec030a5b5046dea99f9e15105f52361b
f16742339cddfc86effba4dbf6e5062304704b89
refs/heads/master
2021-05-09T12:02:26.946473
2019-05-29T02:46:47
2019-05-29T02:46:47
119,001,821
7
1
null
2018-07-05T04:58:40
2018-01-26T03:37:58
Python
UTF-8
Python
false
false
1,512
py
import multiprocessing from ConvertTagTopicToInterestedVectorProc import ( data_frame_idx, smach_state_idx, data_header_idx, ) class StoreVectorToRedisProc(multiprocessing.Process): def __init__( self, com_queue, node_name="StoreVectorToRedisProc_node", ): multiproc...
[ "sk.law.lsq@gmail.com" ]
sk.law.lsq@gmail.com
7b5ebbb6b02299b7f47b6077cba156000ceeb9c3
8efe9a6c9489d798b5f5b610eb531d86924a1548
/src/wix/urls.py
c74a0f134076e607c3999dbed8538b6643de2a2f
[]
no_license
MarekBiczysko/naklisze_public
e8e6f7e61cdb83b74ea68862b40c061c0253767b
e53c0e8fefffbcfc3a8859976eb7b81cf6270847
refs/heads/master
2022-12-12T02:27:09.824803
2019-07-23T10:54:47
2019-07-23T10:54:47
198,410,666
0
0
null
2022-12-08T01:03:08
2019-07-23T10:46:57
Python
UTF-8
Python
false
false
288
py
from django.views.generic import RedirectView from django.conf.urls import url from .views import wix_page urlpatterns = [ # url(r'^$', RedirectView.as_view(url='https://biczysko.wix.com/foto')), url(r'^$', wix_page, name='wix'), url(r'^', RedirectView.as_view(url='/')), ]
[ "marek.biczysko@stxnext.pl" ]
marek.biczysko@stxnext.pl
61abe84b1c8861332157ee57244832fe731b1498
f9bcdd8fe51e94b884752574229bc592a84be6bd
/python/315_Count_of_Smaller_Numbers_After_Self.py
33e899cb414d1e0faa68834085f58c7d725813e5
[]
no_license
HankerZheng/LeetCode-Problems
cf46a24444cfc3e6bcff38c10a5bb5945e410b5b
d308e0e41c288f23a846b8505e572943d30b1392
refs/heads/master
2021-01-12T17:49:40.072069
2017-08-17T04:37:20
2017-08-17T04:37:20
69,397,987
2
0
null
null
null
null
UTF-8
Python
false
false
1,656
py
# You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smaller elements to the right of nums[i]. # Example: # Given nums = [5, 2, 6, 1] # To the right of 5 there are 2 smaller elements (2 and 1). # To the right of 2 there is...
[ "zhenghan991@gmail.com" ]
zhenghan991@gmail.com
688bac0891c7135030e8bf35d07f7a9518baae31
c5d87c7f25e3fe9b17c1e88993b0ed6831e52acb
/Socket/GPS_Server_Test/GPS_Server_testData.py
2d6e0b37aa0f879b89e87aa831bf512762c6fe1c
[]
no_license
GIS90/python_base_use
e55d55f9df505dac45ddd332fb65dcd08e8e531f
7166ca85975bb7c56a5fbb6b723fd8300c4dd5d1
refs/heads/master
2020-04-02T08:33:49.461307
2018-10-23T03:33:41
2018-10-23T03:33:41
154,249,857
1
1
null
null
null
null
UTF-8
Python
false
false
1,941
py
# -*- coding: utf-8 -*- """ ------------------------------------------------ describe: this tool be used to ------------------------------------------------ """ import SocketServer import codecs import datetime import os import threading from SocketServer import BaseRequestHandler SOCKET_DATA_MAX =...
[ "mingliang.gao@qunar.com" ]
mingliang.gao@qunar.com
7e45a200414423d396becba56436abd46f1d731e
66862c422fda8b0de8c4a6f9d24eced028805283
/slambook2/3rdparty/opencv-3.3.0/samples/python/floodfill.py
1b988d3763ef61c3f84e1e5039da4e6540f9914f
[ "MIT", "BSD-3-Clause" ]
permissive
zhh2005757/slambook2_in_Docker
57ed4af958b730e6f767cd202717e28144107cdb
f0e71327d196cdad3b3c10d96eacdf95240d528b
refs/heads/main
2023-09-01T03:26:37.542232
2021-10-27T11:45:47
2021-10-27T11:45:47
416,666,234
17
6
MIT
2021-10-13T09:51:00
2021-10-13T09:12:15
null
UTF-8
Python
false
false
2,007
py
#!/usr/bin/env python ''' Floodfill sample. Usage: floodfill.py [<image>] Click on the image to set seed point Keys: f - toggle floating range c - toggle 4/8 connectivity ESC - exit ''' # Python 2/3 compatibility from __future__ import print_function import numpy as np import cv2 if __name__ ...
[ "594353397@qq.com" ]
594353397@qq.com
fe547b0d6f92c919781366e3a1059ab975ea9b14
725abfa74e3800622837e60615dc15c6e91442c0
/venv/Lib/site-packages/django/contrib/messages/storage/session.py
7dbd24a8da5c105a8955f5695fe53d22b05df70b
[]
no_license
Malak-Abdallah/TODOlist
4840e2e0a27e6499ae6b37524bb3e58455d08bfb
fd35754e8eac9b262fae17ec16ad9fb510a12f5d
refs/heads/master
2023-07-16T11:38:48.759232
2021-08-31T09:43:11
2021-08-31T09:43:11
401,600,246
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
import json from django.contrib.messages.storage.base import BaseStorage from django.contrib.messages.storage.cookie import MessageDecoder, MessageEncoder class SessionStorage(BaseStorage): """ Store messages in the session (that is, django.contrib.sessions). """ session_key = "_messages" def _...
[ "malkobeidallah@gmail.com" ]
malkobeidallah@gmail.com
0c49b984bf9f2ac8bae5046c1f435df4c90cd46f
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/SSD/mmdet/models/builder.py
05efb838ed26ce7d0c12f1cdf8a678b15d583bdd
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,225
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
d06ab34fea0bac11e8aa864a35184490730e2a5a
02b495111594a367405b2bfbf220e38da3a5f7b0
/devel/lib/python2.7/dist-packages/brics_actuator/msg/_JointValue.py
0723b3357a381bbe1f9fbd1dbb79f58932d32bef
[ "BSD-2-Clause" ]
permissive
Ashuditya/Rebellious-Cowards
3f7c6afd314e4bf2ffb72b99ecf58be23f309e97
56ec395147f2fc59a26669a74a04fe02227bc7b7
refs/heads/master
2023-01-24T10:57:47.533839
2020-10-01T15:58:07
2020-10-01T15:58:07
218,202,193
0
3
BSD-2-Clause
2020-10-01T17:07:44
2019-10-29T04:09:46
Makefile
UTF-8
Python
false
false
6,583
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from brics_actuator/JointValue.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import genpy class JointValue(genpy.Message): _md5sum = "c8dad5a006889ad7de711a684999f0c6...
[ "srujannwankhede786@gmail.com" ]
srujannwankhede786@gmail.com
f32e61acab543b074d8350bb2c926e937628cbb7
97f285b6f8016a8d1d2d675fffb771df3c9e37b9
/study/algorithms/sorting/selection_sort.py
b1177b6f5b9e1b1dd7feb0d3974b2999b7447124
[]
no_license
oskomorokhov/python
ef5408499840465d18852954aee9de460d0e7250
8909396c4200bd2fca19d3f216ed5f484fb2192a
refs/heads/master
2021-05-14T09:27:25.413163
2019-12-12T21:00:05
2019-12-12T21:00:05
116,327,306
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
# selection sort def ssort(lst): """ The algorithm divides the input list into two parts: the sublist of items already sorted, which is built up from left to right at the front (left) of the list, and the sublist of items remaining to be sorted that occupy the rest of the list. Initially, the sorted sublist ...
[ "oskom85@gmail.com" ]
oskom85@gmail.com
8ca1e09fb7ee173a14faeb5049dd0aa0737a9ba0
eff2fc11905f6118dcd70050392f168cd7aea086
/leetcode/40_combination_sum_ii/solution1.py
df0fa9abba6a73cfa6548fd39c14982c906e75fb
[]
no_license
algobot76/leetcode-python
28f1e1107fa941a3b40006f074eec6231e674ac1
ec8bff8978d6915bfdf187c760b97ee70f7515af
refs/heads/master
2021-07-05T17:06:40.581977
2020-09-19T22:02:38
2020-09-19T22:02:38
199,255,699
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
class Solution: def combinationSum2(self, candidates, target): candidates.sort() combs = [] self.dfs(candidates, target, 0, [], combs) return combs def dfs(self, candidates, target, start, comb, combs): if target < 0: return if target == 0: ...
[ "xkaitian@gmail.com" ]
xkaitian@gmail.com
0703e5f22212b00ffaf7e02dd00eeaa7b1966ce3
cc578cec7c485e2c1060fd075ccc08eb18124345
/cs15211/TopKFrequentWords.py
7733837228f8d83367a4b89021aa264f1154d5e3
[ "Apache-2.0" ]
permissive
JulyKikuAkita/PythonPrac
18e36bfad934a6112f727b4906a5e4b784182354
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
refs/heads/master
2021-01-21T16:49:01.482561
2019-02-07T06:15:29
2019-02-07T06:15:29
91,907,704
1
1
Apache-2.0
2019-02-07T06:15:30
2017-05-20T18:12:53
Python
UTF-8
Python
false
false
5,923
py
__source__ = 'https://leetcode.com/problems/top-k-frequent-words/' # Time: O() # Space: O() # # Description: Leetcode # 692. Top K Frequent Words # # Given a non-empty list of words, return the k most frequent elements. # # Your answer should be sorted by frequency from highest to lowest. # If two words have the same ...
[ "b92701105@gmail.com" ]
b92701105@gmail.com
01651216a026d86c1a68fac21316efefe8e285b4
6b05bddf2e294c8e1b39846aecadfa06b4ff805d
/kubevirt/models/v1_secret_volume_source.py
a4149f175fdbc18ed8d07833b30451edf27ea370
[ "Apache-2.0" ]
permissive
kubevirt/client-python
5ca82fe55d48c07f62796d2bed3605a7c189922c
235fe17f58d41165010be7e4122cb67bdc866fe7
refs/heads/master
2023-09-03T12:25:27.272479
2023-08-17T00:33:31
2023-08-17T00:33:31
105,017,761
29
25
Apache-2.0
2022-10-20T13:52:10
2017-09-27T12:51:32
Python
UTF-8
Python
false
false
5,318
py
# coding: utf-8 """ KubeVirt API This is KubeVirt API an add-on for Kubernetes. OpenAPI spec version: 1.0.0 Contact: kubevirt-dev@googlegroups.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class V1Secret...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
08777ef56a0df912e73d6c15c9f138bd8b2e87c3
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_pii_entities_async.py
7c580718d21294e4c46f62a5a71fbf2a0867ba92
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
4,031
py
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
yunhaoling.noreply@github.com
414558f8f2f2f959546e50c46144100f193f178d
6d429c1bc185fc8180fc69f1d49fd781e9a90748
/appuser/codemanager.py
98381f12400d2cfb23c1cb65a163547d03f84290
[]
no_license
FirayMa/store
6bc5d350da4170d0ef87d25748635cd1a32aa717
542a955451f78f9f904010383b1c661e2fbef471
refs/heads/master
2023-05-28T05:33:13.867339
2017-09-07T01:00:30
2017-09-07T01:00:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
from django.db import models import pdb import random import string from django.conf import settings from common.e_mail import EmailEx class CodeManager(models.Manager): """ 验证码的manager """ email = EmailEx() def send_code(self, email): result={} if not self.email.EMAIL_R...
[ "281475120@163.com" ]
281475120@163.com
cbfdc2132564815458464e1f64c86110d7b3e056
db3d4aa39bc6b3f521ba21afbfedd8164a68e4d5
/asgiref/conformance_async.py
5aeeeeacffef2d0bc4747777b7306d1a0c04b24e
[ "BSD-3-Clause" ]
permissive
EdwardBetts/asgiref
808c55b5089d9c9d8ae33583b0a1728a6313f930
0ad52409735109a85238b5b068c77c0f4e60e59e
refs/heads/master
2021-01-21T22:19:00.404420
2017-08-23T03:33:56
2017-08-23T03:33:56
102,147,619
0
0
null
2017-09-01T19:45:30
2017-09-01T19:45:30
null
UTF-8
Python
false
false
743
py
import asyncio def test_receive_async(self): """ Tests that the asynchronous receive() method works. """ # Make sure we can run asyncio code self.skip_if_no_extension("async") try: import asyncio except ImportError: raise unittest.SkipTest("No asyncio") # Test that recei...
[ "andrew@aeracode.org" ]
andrew@aeracode.org
de6ff1b606ca0939e9cc25ea37d7b88e7f76c315
b9b19792e1890b56679dc167fb99f9612af477f7
/deeppy/graph/nodes.py
17893ad9ede4ed472d8bf3fcd5e5d7a6a94a5bf0
[ "MIT" ]
permissive
fullstackenviormentss/deeppy_experimental
7990674a8eda0655671940d3baf25256af8a384b
dc06e294e37a30340c7d02ac12c4d00653baf96c
refs/heads/master
2020-03-18T22:01:01.964338
2015-08-25T18:15:28
2015-08-25T18:15:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
from ..base import Model, ParamMixin, PickleMixin, PhaseMixin class Node(PhaseMixin, PickleMixin): def _setup(self, **shapes): pass def fprop(self, **arrays): pass def bprop(self, **arrays): pass def out_shapes(self, **shapes): pass class SupervisedBatch(Node): d...
[ "anders.bll@gmail.com" ]
anders.bll@gmail.com
98809dfea4ff4dba9a3ba0d6f49603d5b7cd8938
f1d67722dcd4c2209eedc0a61e5ea0ee27c95470
/examples/farmer/farmer_ama.py
00a79662b473eef48f1d277a7ec361a36bbfb408
[]
no_license
wangcj05/mpi-sppy
08204019b466da5e0812b16dd5cb53da1bdbd793
42aff4c11dc42fcba8a9520da00e48c6e9ab7d85
refs/heads/main
2023-08-25T04:36:58.606490
2021-11-01T21:40:14
2021-11-01T21:40:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
# Copyright 2021 by B. Knueven, D. Mildebrath, C. Muir, J-P Watson, and D.L. Woodruff # This software is distributed under the 3-clause BSD License. """ An example of using amalgomator and solving directly the EF To execute this: python farmer_ama.py --num-scens=10 --crops-multiplier=3 --farmer-with-integer ...
[ "noreply@github.com" ]
wangcj05.noreply@github.com
4ede039a5f8e824cee79fba2efaf8cbcedf0a1bc
11195ea809c363f834f3fb31eb7de26437e2eb53
/course3/reachability.py
a1a09b13ad880b57067f789a2d3918fe4ab64d7b
[ "MIT" ]
permissive
ropable/algorithmic_toolbox
e8d517dbc00541ef10fdc8c3e586194ebbd1b30b
b4dcf4fda19c394da2baa6eced0732bf50585237
refs/heads/master
2021-09-09T12:15:37.378207
2018-03-16T01:58:41
2018-03-16T01:58:41
110,786,531
1
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# python3 import sys def reach(adj, x, y): # Determine if x can reach y by exploring all of the nodes that x can reach. visited = [False] * len(adj) # List of all the edges, and whether they have been visited. return explore(adj, x, y, visited) def explore(adj, x, y, visited): # Explore each edge ...
[ "ashley@ropable.com" ]
ashley@ropable.com
f4a6ff61bd09f097e3f78db368e0296793dad68d
f1e9f557c5d724dcabbfa17903de93bb82767e35
/py_opencv_playrtsp.py
48961e3539f940982eb4128f70fc2a9f5ce1a858
[]
no_license
gregsheu/python
e5e9ff83dc0ce90541591e726c940e8a1f71a3d4
4a77295d58a522974ee85b201ab99cdbe410fd08
refs/heads/master
2023-08-18T08:30:15.611727
2023-08-08T06:55:44
2023-08-08T06:55:44
181,270,205
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
import cv2 import ffmpeg import time vcap = cv2.VideoCapture("rtsp://admin:admin12345@192.168.1.77:554/cam/realmonitor?channel=1&subtype=0") while(1): ret, frame = vcap.read() print(frame.tobytes()) cv2.imshow('channel2', frame) cv2.waitKey(1)
[ "greg@mymacpro.bluefinops.io" ]
greg@mymacpro.bluefinops.io
c78e0f7af5816b19efcea2334f9803e925c03c0c
d25eebb25595c25b73fdc64447f7cf5998204b0d
/gtkApi/ReportEditor.py
ca6d3ae8746a0c2d9fb7a526f2f18423739f3bc5
[]
no_license
BackupTheBerlios/baseui
a3867c0cc4aa30cf2a7b0dcaf9dbeec68dc5ef0b
a8296aa42f0de42c18f7dfb5d20966bad695709b
refs/heads/master
2021-01-15T22:28:52.114731
2012-12-05T16:31:03
2012-12-05T16:31:03
39,894,612
1
1
null
null
null
null
UTF-8
Python
false
false
1,685
py
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- #=============================================================================== # ReportEditor module. # by Mark Muzenhardt, published under LGPL-License. #=============================================================================== import pygtk pygtk.re...
[ "devnull@localhost" ]
devnull@localhost
97dc0dee0ef8ce0ada8c9102b035a98d5717adee
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/account_voucher/__manifest__.py
34480401b13ad5043af7067acd03109289d910d1
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. { 'name' : 'Sale & Purchase Vouchers', 'version' : '1.0', 'summary': 'Manage your debts and credits thanks to simple sale/purchase receipts', 'description': """ TODO old description: Invoicing & Paymen...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
b56d4fe821cd8462bbda70acd89752b0fbce8a74
7c91f92d2d82e0d9fd85af09f9d18226c747f7fa
/rhoci/forms/test.py
bb9d6fe3cf671e23e1b037366251aa9886986d9a
[ "Apache-2.0" ]
permissive
bregman-arie/rhoci
5488afe8d884cb72a3475eef68ebc54944b45453
bae1f1d737a12ede50d263a6496faf2b698515b5
refs/heads/master
2023-02-25T10:53:01.642377
2022-12-10T14:37:40
2022-12-10T14:37:40
90,493,854
12
8
Apache-2.0
2023-02-16T07:11:11
2017-05-06T22:06:20
CSS
UTF-8
Python
false
false
1,117
py
# Copyright 2019 Arie Bregman # # 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 agree...
[ "abregman@redhat.com" ]
abregman@redhat.com
0fa2b8c8ec819233bc34543f46cd4fd13fe8509b
7d75018c3d8e2ac85ea0f5bbaf52ce5eae9761ca
/project/gohelp/settings.py
3bfa30ab59e9abf68240589b9a17501126484713
[]
no_license
AVS18/sdp-sem5
fff484331d9b588558b928e557a974f05652adcb
238dcc7dfe50dda9678383590a43b23bbcd99553
refs/heads/main
2023-01-14T01:01:18.297711
2020-11-14T13:43:55
2020-11-14T13:43:55
288,098,284
1
0
null
null
null
null
UTF-8
Python
false
false
3,850
py
""" Django settings for gohelp project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "avsadityavardhan18bcs@iiitkottayam.ac.in" ]
avsadityavardhan18bcs@iiitkottayam.ac.in
4443aa6863038875ca5ad3372f122475c4993118
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2015_04_01/aio/_monitor_management_client.py
5640ee566505865cb91ec42008e9408f5e7a74d8
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
5,526
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
712dba93a2621c8f100b375020d6fe1a26b33587
155cfef4bb35d20bc574f63f3443039bfcc1ab7e
/srcs/mahjong/admin/admin/admin.py
dae8ebe48a3a7b3d835c15ac939a653d4622e62b
[]
no_license
rolllyroman/fish_web
3116481a6a16484283f428eb7c98ecea7cee99d4
eb5a05ea3d56c7d9f599009e8ab6f4cb322e9023
refs/heads/master
2020-03-28T01:08:57.346228
2018-09-06T03:34:05
2018-09-06T03:34:05
147,480,922
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
#-*- coding:utf-8 -*- #!/usr/bin/python """ Author:$Author$ Date:$Date$ Revision:$Revision$ Description: 后台APP应用入口 """ from bottle import Bottle from common.install_plugin import install_redis_plugin,install_session_plugin admin_app = Bottle() install_redis_plugin(admin_app) install_session_plugin(admin_app) i...
[ "1983654762@qq.com" ]
1983654762@qq.com
911744a0becf71a9d8142dc9e796c3949f6243a8
26c0f80688f75a188097a232c229a73c8e7cc6ed
/user/migrations/0016_auto_20210511_1700.py
c17235302b993169c5ae1b568f59d2271a6b2144
[]
no_license
creep1g/DjangoWebstore
8207d7ea53c478fb7e5745e1c6ae6699102b5df5
bd27340b86bf2289b8c14216462d932ccdf4986d
refs/heads/main
2023-05-06T09:50:04.846489
2021-05-28T14:40:40
2021-05-28T14:40:40
371,730,158
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
# Generated by Django 3.2 on 2021-05-11 17:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('user', '0015_auto_20210511_1655'), ] operations = [ migrations.AlterField( model_name='profile', ...
[ "thorgilshjalmarsson@gmail.com" ]
thorgilshjalmarsson@gmail.com
31c63484ece90ef1a58d4d8a1c917875e71e42ba
0729bc2e2236fadb8fb2eac8b30534d939a45b2e
/DistAnnot/Annot/tests.py
e0c741e72f672231d4fd71b9ee91a723a70a444e
[]
no_license
JudoWill/pyMutF
8ecdc24fbb2efe2a0a721aab164a2b060de11832
aaf41ab41eb897c10a721c62913bb49c79f2cefc
refs/heads/master
2021-01-16T20:34:06.705933
2010-10-11T16:55:08
2010-10-11T16:55:08
710,208
8
1
null
null
null
null
UTF-8
Python
false
false
535
py
""" This file demonstrates two different styles of tests (one doctest and one unittest). These will both pass when you run "manage.py test". Replace these with more appropriate tests for your application. """ from django.test import TestCase from django.core.urlresolvers import reverse from DistAnnot.Interaction.mode...
[ "judowill@gmail.com" ]
judowill@gmail.com
37321511f55b483428e71701554e9e17bf1df771
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_7/hrnali002/question1.py
bddd72a0b19d90ef62d339aa08a5e015b73c2dc2
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
"""A program to print a list with not duplicated words Alison Hoernle HRNALI002 27 April 2014""" # get input and convert to a list list = [] strings = input("Enter strings (end with DONE):\n") while strings != "DONE": list.append(strings) strings = input() print() print("Unique list:") # create an empty...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
f3a2ad5c32de8876caeae5f5f9095fdd0ef824c5
400c569b19d003d0b9d1b31bc1b698ae510cbc46
/Celestial classification/models.py
d4b60dffc8e997aebb887787f6bf21975ed96fb3
[]
no_license
as950118/dacon
05a203ab36375a69549ac39ba3b02a90431c860a
a1489a55a7a53a755d6cf50081522bd7c1c48b4f
refs/heads/master
2021-02-13T20:06:38.169482
2020-03-03T19:51:51
2020-03-03T19:51:51
244,727,899
0
0
null
null
null
null
UTF-8
Python
false
false
2,054
py
import pandas as pd from sklearn.model_selection import train_test_split from catboost import CatBoostClassifier from lightgbm import LGBMClassifier from xgboost import XGBClassifier from data_processing import DataProcessing random_seed = 0 train_data_path = "./data/train.csv" test_data_path = "./data/test.csv" sampl...
[ "na_qa@icloud.com" ]
na_qa@icloud.com
3994ec01676f94e3b0ed9d34c4e51522f1548082
6b3ec47ee410a7d2ed2102cc5bcfa13c7a6342e2
/bin/easy_install-3.6
5d6f8c4e10d68c760d508456eeaaa31b7e59754b
[]
no_license
makkar-nishant123/Refermeframework
fddb912304bdb4ffe3e169fda2d60b4171d8b6c1
a152f42f6ab63c037bf3f117aa5be1ceb3a1d178
refs/heads/master
2020-05-15T23:29:18.684101
2019-04-28T17:31:22
2019-04-28T17:31:22
182,555,118
0
0
null
null
null
null
UTF-8
Python
false
false
460
6
#!/Users/nishantmakkar/PycharmProjects/RefermeFramework/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "makkar.nishant123@gmail.com" ]
makkar.nishant123@gmail.com
f529c2813ffd27be60a2c246cf2853fcf650896f
78912badbaa634d84a93ac03872f18b3f14092a0
/photosorter-readbuckets.py
21e4410b93a348af18e57021e9ae46609456fa81
[]
no_license
mperry8889/photosorter
fc556054ce2af1a50c91c585c80eb6d65ff23f4f
d20c7a51a6e0e7aef4e4eb9260a344d54c52e539
refs/heads/master
2021-05-29T06:55:32.482767
2011-05-08T17:04:59
2011-05-08T17:04:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
#!/usr/bin/env python from photosorter import PhotoSorter from photosorter import Bucket from photosorter import Photo if __name__ == "__main__": p = PhotoSorter() for bucket in p.buckets: for state in ["during", "after", "before", "unknown", "unsorted"]: for photo in getattr(bucket, stat...
[ "none@none" ]
none@none
da8775e18d3b0e6f3cfa5b7ce00126f7f11d9688
b819632a899cc4919c4efb097b87009a9d07d209
/testbed_nodel11_vm_container.py
a54514a0093d7fb87304a63cdeb2ee24793ed008
[]
no_license
NuthanChandra/ctools
bb2570786d9b1a584c5b08800f48b02ed8664480
bcb967c53375104e32b32c8f0d2b3ca25ed69e49
refs/heads/master
2022-11-28T04:25:30.092129
2020-04-14T12:38:27
2020-04-14T12:38:27
255,604,269
1
1
null
2020-07-23T16:29:45
2020-04-14T12:34:11
Python
UTF-8
Python
false
false
4,050
py
from fabric.api import env import os host1 = 'root@10.204.216.115' host2 = 'root@10.204.216.116' host3 = 'root@10.204.216.117' host4 = 'root@10.204.216.118' host5 = 'root@10.204.216.119' host6 = 'root@10.204.216.125' kvm_nodel12 = '10.204.216.114' ext_routers = [('hooper','10.204.217.240')] ...
[ "nuthanc@juniper.net" ]
nuthanc@juniper.net
8f377dbae4bdfac6f266dec47f88176f4f0e1eca
b50f07920a48df36c5303e6bbd35ff1eafbece16
/jms/expression.py
0668bf0f294aef112c6ee929ab72cafc5af0faa2
[]
no_license
principia12/project_re
ed21cd369412d440ae794fd7ff422400988be5e3
d165026e08cd1efd27ed9a0147aaf790f9374916
refs/heads/master
2020-08-27T19:39:08.872522
2019-11-07T09:31:04
2019-11-07T09:31:04
217,472,878
0
0
null
null
null
null
UTF-8
Python
false
false
2,657
py
from abc import ABC, abstractmethod from .common import ConsumeFailException, is_valid_char, is_whitespace, is_word_char, is_numeric from .tokenizer import TokenType class Expr(ABC): @abstractmethod def consume(self, text, idx): pass @classmethod def from_token(cls, token): if token...
[ "jms7446@gmail.com" ]
jms7446@gmail.com
75d3392dc40e06676c640968578a29a6e4230e6b
1e139784a36ce2a26dafaac0bb795b168ca91776
/electron_project/abstract/migrations/0003_delete_workeraccount.py
bda3728b90ddb267ad2ad6addfa863d7ca628b2e
[]
no_license
TestAccount2077/Mas-Electronics
a9f4431be7ea740b99616cb4ce4acf9bba46096f
6bb887805900affdcd905deb33b341892bebd41f
refs/heads/master
2020-03-28T15:11:57.044686
2019-01-26T16:01:55
2019-01-26T16:01:55
148,566,318
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-10-20 04:57 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('abstract', '0002_workeraccount'), ] operations = [ migrations.DeleteModel( ...
[ "maselectronics594@gmail.com" ]
maselectronics594@gmail.com
c82c8b8c6b31aa7a2fbea0a59b5f32fd34dcd6e1
d9f4400d47e0ce914be636698365e26f836b766c
/apps/screen/urls.py
71d2c6af754bfffc99bcf77e2a85e73445a03918
[]
no_license
otonelunico/prevex
deffc3cfd82354b20e61ac636b2b7fb4dd48d360
e32efb317a05031a5e0c454d3343748ea7ff534e
refs/heads/master
2021-01-22T08:39:26.389747
2017-06-24T20:52:27
2017-06-24T20:52:27
92,628,288
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
from django.conf.urls import url, include from apps.screen.views import index, Settings, Prevent_, Video_ from django.contrib.auth.decorators import login_required urlpatterns = [ url(r'^$', index, name='index'), url(r'^settings/$', login_required(Settings), name="settings"), url(r'^prevent/(?P<funct>\w+)/...
[ "ocubillosj@gmail.com" ]
ocubillosj@gmail.com
734a353a9b4a5f50f3a72adeae60c79376b0e30d
e82245a9e623ef3e2b4b9c02f0fd932c608c4484
/firecode.io/08-find_the_transpose_of_a_square_matrix.py
3d2ba5c22dcb19e7aba1339638498c7d1921455a
[]
no_license
Zylophone/Programming-for-Sport
33e8161028cfddce3b7a1243eb092070107342e3
193d6184f939303d8661f68d6fd06bdec95df351
refs/heads/master
2020-06-16T23:11:44.719286
2017-05-21T17:10:46
2017-05-21T17:10:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
''' Args: - matrix (list of lists) - a square matrix Modifies: - arg into its transpose in-place Returns: - nothing (None) Complexity: - O(n^2) time - O(1) extra space, in-place ''' def transpose_matrix(matrix): if matrix is None: return None n= len(matrix) ...
[ "jfv33@cornell.edu" ]
jfv33@cornell.edu
5db1fbf5131e9fcb3b1160d38c497df02b701c2d
12a5b72982291ac7c074210afc2c9dfe2c389709
/online_judges/Codeforces/113/A/code.py
6a269bbf442e5a4f164b88db14eb1cdb942cc845
[]
no_license
krantirk/Algorithms-and-code-for-competitive-programming.
9b8c214758024daa246a1203e8f863fc76cfe847
dcf29bf976024a9d1873eadc192ed59d25db968d
refs/heads/master
2020-09-22T08:35:19.352751
2019-05-21T11:56:39
2019-05-21T11:56:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
s = ["lios","liala","etr","etra","initis","inites"] input_string = raw_input().split() answer = True for e in input_string: flag = False for k in s: if e.endswith(k): flag = True if not flag: answer = False break if (answer): print "YES" else: print "NO"
[ "mariannelinharesm@gmail.com" ]
mariannelinharesm@gmail.com
653c6ee77e55fe39bf26522d6e3e04161daa0ce3
022104aa2456429356bdd26c701a2949381a83cf
/install/lib/python2.7/dist-packages/robotnik_msgs/msg/_SetElevatorFeedback.py
fe9731c70b42e53a2afd11197435c3aea3f8e08d
[]
no_license
nachocz/campero_ws
204f313d5fbdb81d1f7cc568341a1170ddd2b4cf
f2b09f96165166c0e867e3f5f3dcd092dbac1c1b
refs/heads/master
2023-02-02T03:25:56.603172
2020-12-11T11:28:42
2020-12-11T11:28:42
320,539,897
0
0
null
null
null
null
UTF-8
Python
false
false
6,506
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from robotnik_msgs/SetElevatorFeedback.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import robotnik_msgs.msg class SetElevatorFeedback(genpy.Message): ...
[ "nachocz@gmail.com" ]
nachocz@gmail.com
a67d6079a5eec64bc07497534737ee8ef949dd51
3ab1f37b4372d0796c85ef24343dd8c03accb6ef
/CoinBase/ConnectFour.py
aa65bc2e3204e93c5a8b26877efbaf25d28eb2c3
[]
no_license
Blossomyyh/leetcode
2be6a99534801fc59fe9551317ca49c3704b1c3d
38615779eb43d147587467e11dc22761ac0726cb
refs/heads/master
2023-01-22T16:56:26.624677
2020-11-20T13:47:43
2020-11-20T13:47:43
266,845,278
2
1
null
null
null
null
UTF-8
Python
false
false
3,135
py
""" Connect 4 use get column and line and diagonals to find wins 4 ->wins https://codereview.stackexchange.com/questions/225840/a-simple-connect-4-game-in-python https://github.com/KeithGalli/Connect4-Python/blob/master/connect4.py Better solution: focus on the current move's row and col! to check wins """ TEAM1 = ...
[ "blossomyyh@163.com" ]
blossomyyh@163.com
339700e4ddf899c0336dd7012c4c6385c8eb3cbb
9716a77ef1d0ba5ef9a61be04f6229494744d5d5
/chapter06 정렬/위에서 아래로.py
158d19ce05bdd45aaedf7a1c03c28402fb6a8ac5
[]
no_license
korea-space-codingmonster/Algorithm_Study
98b00c81839cf8ac8365d3982c25650a21226ce9
8c92857e458994a2d1d77dc3ea0d4b645b8b6a4b
refs/heads/main
2023-06-03T20:00:52.915447
2021-06-20T05:51:47
2021-06-20T05:51:47
329,354,196
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# 하나의 주열에는 다양한 수가 존재한다. 이러한 수의 크기에 상관없이 나열되어 있다. # 이 수를 큰 수부터 작은 수의 순서로 정렬해야한다. 수열을 내림차순으로 정렬하는 프로그램을 만드시오. # 입력조건 # 첫째 줄에 수열에 속해 있는 수의 개수 N이 주어진다.(1 < N <= 500) # 둘째 줄부터 N + 1번째 줄까지 N개의 수가 입려된다. 수의 범위는 1이상 100000이하의 자연수이다. # 입력예시 # 3 # 15 # 27 # 12 # 출력예시 # 27 15 12 n = int(input()) array = [] for i in range(n)...
[ "replituser@example.com" ]
replituser@example.com
0eb8c05f44ce6192a839496e20dd39bbaf464182
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_RelativeDifference/trend_Lag1Trend/cycle_5/ar_/test_artificial_1024_RelativeDifference_Lag1Trend_5__100.py
f07285216a3cc7ff2114694287b967c65119eace
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
275
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 5, transform = "RelativeDifference", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
24b6342cfd9d6f470842e7b811d8251cdbf6b932
c85a6d674679780ee510b5c8c3dbcbdecc859f64
/test/test_alert_config.py
b935b925e2b7e72d3f4f6959ec9d5a61a7aa6c8d
[]
no_license
cbrowet-axway/APIM_sdk
d4f4a124e86a7b2e65d0ef07b54c68e95de68337
4f82df67ebe3dd6eae645bab8f86e72c0347ee24
refs/heads/master
2020-05-25T13:22:35.802350
2020-04-16T09:25:21
2020-04-16T09:25:21
187,820,389
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
# coding: utf-8 """ API Manager API v1.3 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.3.0 Contact: support@axway.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future_...
[ "cbro@semperpax.com" ]
cbro@semperpax.com
f12c7e78f6cc76322a20f97f04b8731c60d73ac0
5474905a26e356fe2742e62567718173b81b616d
/templates/python.flask/{{cookiecutter.project_safe_name}}/test/test_demo.py
52e109dcd4a6b06c2716df9480549aeac5797cf5
[ "MIT" ]
permissive
by46/recipe
16dd24a8a83f2a00beab84c5b6522c0bff073233
203abd2141a536b66b4e57d073169a49395be1f0
refs/heads/master
2020-04-13T22:41:27.865516
2016-09-09T10:09:20
2016-09-09T10:09:20
65,368,302
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
import unittest import app from app import create_app class HelloWorldTestCase(unittest.TestCase): def setUp(self): self.client = create_app('test').test_client() def test_hello_world(self): response = self.client.get('/{{cookiecutter.project_slug}}', follow_redirects=True) ...
[ "ycs_ctbu_2010@126.com" ]
ycs_ctbu_2010@126.com
9106c5d1a7b95165084dd263e4a7421c8030d12e
e95eeb123f3772da8d2dc7677e7afdc1287f1276
/bot.py
a1f32743e20491dec9bd1bd4b5ce00cf5bfb409e
[ "MIT" ]
permissive
jayrav13/presidency
3cf880bf51d211f8fb21d5c4bc564f22c2a8ae4f
f18721d5df9af161cc01f503b6657d9b06fea0e9
refs/heads/master
2022-09-29T22:53:40.867506
2017-03-03T18:57:04
2017-03-03T18:57:04
72,818,604
15
2
MIT
2022-09-16T17:46:42
2016-11-04T05:56:54
Python
UTF-8
Python
false
false
5,501
py
""" Imports """ from presidency.models import * from lxml import html import requests import json import datetime from twython import Twython import os import time import sys """ Set UTF-8 for everything. """ reload(sys) sys.setdefaultencoding("utf-8") # Establish Base URL. base_url = os.environ.get('WHITE_HOUSE_URL'...
[ "jayrav13@gmail.com" ]
jayrav13@gmail.com
a2300d6a94ca2cefd91d8d13d10b57d752bcefa4
1ade02a8e0c6d7e442c9d9041f15518d22da3923
/w2/d5/sqlite_db/schema.py
99c0917574b62199a3263ba8d784e3cfc122ffc9
[]
no_license
fodisi/ByteAcademy-Bootcamp
7980b80636a36db6da3e0fc0e529fbc6b8e097e0
d53e3f4864f6cba1b85e806c29b01c48e3c2e81d
refs/heads/master
2020-03-19T12:55:31.489638
2018-07-25T16:19:19
2018-07-25T16:19:19
136,550,128
0
1
null
null
null
null
UTF-8
Python
false
false
458
py
#!/usr/bin/env python3 import sqlite3 # create a connection to the database connection = sqlite3.connect("securities_master.db", check_same_thread=False) # create a cursor object to represent the "gaze" of the database management system cursor = connection.cursor() cursor.execute( """CREATE TABLE rippleUSD( pk I...
[ "fodisi@users.noreply.github.com" ]
fodisi@users.noreply.github.com
606c6daa39403e1f7813670974620cd5c5c62c6f
9c8b45b2b2be2e4c7063675965fa25538114e660
/namseoul/urls.py
85b13d914746388b20e042876187df50d8b64b07
[]
no_license
gloweean/namseoul
1a8f8b85b7ff4213c078b8e3cca409dfadfac5f4
9acc0c3c0e12f61d5ad399c32364bff2d11cbcfb
refs/heads/master
2020-04-07T01:49:23.669077
2018-12-22T05:44:37
2018-12-22T05:44:37
157,953,505
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
"""namseoul URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "gaius827@gmail.com" ]
gaius827@gmail.com
28a57877699840d447b57131eafedbf97d4ffd13
9e15ada895e90d033bc3b65c2666065bddd62605
/08/8.1.repr_test.py
06248a91f25680a03388cc1f6d0487d858914dcf
[]
no_license
zhyErick/fengkuang_python
b0f0c78273420fd862691799bfd7e4f1b6eadf80
6d50ad3b7d4ae05d06379c2dc87d91081964ec6d
refs/heads/master
2021-02-14T08:23:26.616211
2020-05-06T13:08:07
2020-05-06T13:08:07
244,788,500
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
class Apple: # 实现构造器 def __init__(self, color, weight): self.color = color self.weight = weight # 重写__repr__()方法,用于实现Apple对象的自我描述 def __repr__(self): return "Apple[color=" + self.color + ", weight=" + str(self.weight) + "]" a = Apple("红色", 5.68) print(a)
[ "xingzhishangyang@163.com" ]
xingzhishangyang@163.com
387f78efedf54707074b3d54e433ca863301716b
9c9701f79c8eeaa05f684442d2d03f7de4bba1f1
/Korpora/korpus_namuwiki.py
2e75dd8d2a48c3a78b50a187af42870c394678d6
[ "CC-BY-4.0" ]
permissive
hank110/Korpora
e54708fe2d7910df4e6ec5cff1cf1ca0696636bf
b0e014f5c8c4ba71aba335285d0be48cbb802a0d
refs/heads/master
2023-01-10T04:24:14.386097
2020-09-21T03:42:25
2020-09-21T03:42:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,007
py
import os from .korpora import Korpus, SentencePairKorpusData from .utils import fetch, default_korpora_path, load_wikitext NAMUWIKI_FETCH_INFORMATION = [ { 'url': 'https://github.com/lovit/namuwikitext/releases/download/v0.1/namuwikitext_20200302.v0.1.train.zip', 'destination': 'namuwikitext/namu...
[ "soy.lovit@gmail.com" ]
soy.lovit@gmail.com
d60e972614e566bef7cbc20eb726db3227df9346
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/pointcloud/_y.py
dfc46fe42092562d7111c7b05c2ec21d2a386694
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
400
py
import _plotly_utils.basevalidators class YValidator(_plotly_utils.basevalidators.DataArrayValidator): def __init__(self, plotly_name='y', parent_name='pointcloud', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, edit_type...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
7a218a01ecbfc594cc00ff334d30ebe2489e5c13
c324a6d923bae3a00bd1dc69a43d0e5c707a104a
/addons-vauxoo/hr_expense_replenishment/__openerp__.py
f75805678aedf47bc322db43b9213897c5e35bdc
[]
no_license
meswapnilwagh/odoo-adr
5c593c2240d23b79811ccd7b5297b634e5ffe19d
442c8d5fa52cab30028a26dd93bd8eae88d58fed
refs/heads/master
2020-01-27T10:03:27.142715
2015-09-04T14:36:59
2015-09-04T14:36:59
50,238,226
0
4
null
2016-01-23T12:53:28
2016-01-23T12:53:25
null
UTF-8
Python
false
false
2,537
py
# -*- encoding: utf-8 -*- ############################################################################### # Module Writen to OpenERP, Open Source Management Solution # Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>). # All Rights Reserved ############# Credits ########################################...
[ "tecnologia@obsdr.com" ]
tecnologia@obsdr.com
b51ac12b70717c54b15760648a95a50bb8013523
b36c065d9fe10a6a9bf42415f3a716565ba26756
/old_code/basicdatas/dicts.py
e4c860a52e2b343ae12c7d32c9bedfb1cc78cc21
[]
no_license
fanghongbin/nmc_met_class
a447255ce43b2b8f33ee2db584e55483ce68d82c
b59e5ab68c47d83c70c0d7081ca23dce72bf8c75
refs/heads/master
2022-02-13T05:25:40.201333
2019-05-09T06:54:58
2019-05-09T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,942
py
#!/usr/bin/python3.6 # -*- coding:UTF-8 -*- import mymethods.str_finder as finder gds_station_data_element_name_id = { "经度":1, "纬度":2, "测站高度":3, "测站级别(short)":4, "测站类型(short)":5, "气压传感器海拔高度":6, "温湿传感器离地面高度":7, "温湿传感器距水面高度":8, "风速传感器距地面高度":9, "风传感器距甲板平台高度":10, "风速传感器距水面高度":11...
[ "liucouhua@163.com" ]
liucouhua@163.com
1e14a12fb0353af32a9218ab79645ee9b390dfb1
51554f9c49231e4a0c7a0356456050e927ce2884
/accounts/views.py
901b9709e55d1d06d857e863436a139628cc653d
[ "Apache-2.0" ]
permissive
geoffreynyaga/ANGA-UTM
10a2958e172faad66e414b561ec035a2162571e7
68d3033529490d3fb57ac727c8c2a2f77fcffae6
refs/heads/master
2022-12-09T18:30:25.622423
2022-01-10T18:07:29
2022-01-10T18:07:29
232,053,896
8
3
Apache-2.0
2022-11-22T03:59:59
2020-01-06T08:10:06
JavaScript
UTF-8
Python
false
false
4,576
py
from django.shortcuts import render from django.contrib.auth import login, logout from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.models import User from django.contrib.auth.mixins import LoginRequiredMixin from django...
[ "noreply@github.com" ]
geoffreynyaga.noreply@github.com
23dc496b373f870ec52009d414579d71d99fa082
8807958eab34f289cc8b1b07e180af757bde7124
/design2/test_LineClassifier.py
75cb3a10fcec6095c64c62655aa304d8f43531da
[ "BSD-2-Clause" ]
permissive
davidjamesbeck/IJAL-interlinear
4f34cbb8626403f7bc52db96f0349d10ca2ce674
cb5dbb1d6aea98cce76668aa868a9189f31baf3f
refs/heads/master
2020-03-30T11:00:46.001171
2018-10-01T13:50:02
2018-10-01T13:50:02
151,148,840
0
0
BSD-2-Clause
2018-10-01T19:45:38
2018-10-01T19:45:37
null
UTF-8
Python
false
false
3,028
py
import re import sys import unittest from Line import * from LineClassifier import * import importlib pd.set_option('display.width', 1000) import pdb def runTests(): test_recognizeDegenerateLine() test_recognizeCanonicalLine() test_recognizeWordsAsElementsLine() test_MonkeyAndThunder_allLinesRecognized...
[ "paul.thurmond.shannon@gmail.com" ]
paul.thurmond.shannon@gmail.com
2674d077dcd3e48cf5445537f600e6171777c48d
3f7c4de996894d83f0e999ab9e60302be5ab195f
/tests/test_fleet_telematics_api.py
08355ed115f5e5d2e7b808128cec81a2981e98ee
[ "MIT" ]
permissive
tungson-pm/HerePy
3f18ffddd181434c63f94abe67844c0fcb02747d
a9e2797f251ff157cf89cfae7c1605833bfee75f
refs/heads/master
2022-12-25T06:08:21.880054
2020-10-05T19:54:51
2020-10-05T19:54:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,376
py
#!/usr/bin/env python import os import time import unittest import json import responses import herepy class FleetTelematicsApiTest(unittest.TestCase): def setUp(self): api = herepy.FleetTelematicsApi('api_key') self._api = api def test_initiation(self): self.assertIsInstance(self....
[ "abdullahselek@gmail.com" ]
abdullahselek@gmail.com
a85cc8cf2b49e89ca79b5d93c0af0d7e1dcec4ee
c55083d8a23a9d093b677066a5a827634c09357b
/chstrings/__init__.py
39796432eff779705b6f260f03ae6661e1d07d2b
[ "MIT" ]
permissive
earwig/citationhunt
211a44c7bdb67e675872ca44aeae982d33fcf359
b6084d2958989c9082db7a8d4556a4e51b78bdb3
refs/heads/master
2021-01-15T16:11:11.563650
2016-07-21T11:08:43
2016-07-21T11:08:43
62,332,946
1
0
null
2016-06-30T18:16:46
2016-06-30T18:16:46
null
UTF-8
Python
false
false
1,902
py
import flask import os import json def _preprocess_variables(config, strings): in_page_link = flask.Markup( '<a target="_blank" href=%s>%s</a>') strings['in_page'] = \ flask.Markup(strings['in_page']) % in_page_link if config.lead_section_policy_link: lead_section_policy_link = fl...
[ "guilherme.p.gonc@gmail.com" ]
guilherme.p.gonc@gmail.com
7f2bc13f3b49ac4bb99cd8a03c9d886de3c9552c
a59d55ecf9054d0750168d3ca9cc62a0f2b28b95
/.install/.backup/platform/gsutil/gslib/help_provider.py
adf4c90d50cad5e50dfe990e242fb236c5bc9fdd
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/google-cloud-sdk
bb2746ff020c87271398196f21a646d9d8689348
b34e6a18f1e89673508166acce816111c3421e4b
refs/heads/master
2022-11-26T07:33:32.877033
2014-06-29T20:43:23
2014-06-29T20:43:23
282,306,367
0
0
NOASSERTION
2020-07-24T20:04:47
2020-07-24T20:04:46
null
UTF-8
Python
false
false
3,604
py
# Copyright 2012 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 a...
[ "alfred.wechselberger@technologyhatchery.com" ]
alfred.wechselberger@technologyhatchery.com
9e86b3518912ee7ce4ce5497fb45ab9c6eb765ab
295ecf4f254c42e9201657ef0a13ec2c68c40c9b
/info/views.py
6a2850c2b723ff267061ff6b95988447a8586342
[]
no_license
zwolf21/StockAdmin-pre2
0236061284a6fe8801591608591d21129d4ea7c0
b21d069ff215c17ce3bca040ecf9b8f48b452ed4
refs/heads/master
2021-05-01T09:28:59.818469
2016-11-30T17:33:30
2016-11-30T17:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,923
py
from django.shortcuts import render, render_to_response from django.core.urlresolvers import reverse_lazy from django.views.generic.edit import FormView from django.views.generic import ListView, DetailView, CreateView, TemplateView from django.conf import settings from django.db.models import Q import os, sys from ....
[ "pbr112@naver.com" ]
pbr112@naver.com
50f14085ebf1fa050502627f08de7bacfbbf9444
74c04ef3ed2bc71e728b3bb840c927a86352c6e1
/djangotesting/jango/resturant/forms.py
226cb77012fce96d306543ca927164a3764be1ac
[]
no_license
zamanehsani/restaurant
06b658b277dda8fa8d4f5b598d389767ab61f876
0f21ce268fdc21402c32dee1ecc64850a24fcc2a
refs/heads/main
2023-01-12T04:52:09.541112
2020-11-16T05:44:04
2020-11-16T05:44:04
313,192,805
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from resturant.models import Profile class UserRegisterForm(UserCreationForm): email = forms.EmailField() first_name = forms.CharField(max_length=150) last_name = forms.CharField(max_...
[ "zamanehsani@gmail.com" ]
zamanehsani@gmail.com
d27d3af2bdcba02d17e1eab4c19c711a2074e5b4
e45d2faad9389886a82ff5176853b1ff6e37caae
/argparse/055_argparse_add_argument_nargs_questionMark.py
c28aa7baa511d22b3e9de4adc7c5adf3ead24488
[]
no_license
allenmo/python_study
6320aa4cd80fe46ccf73076015c67bdcb6338d30
7aff5d810ca6e791d62235d57c072a8dc14457ca
refs/heads/master
2021-03-24T12:00:33.079530
2016-11-22T23:35:58
2016-11-22T23:35:58
55,770,379
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
import argparse parser = argparse.ArgumentParser() parser.add_argument('--foo', nargs='?', const='c', default='d') parser.add_argument('bar', nargs='?', default='d') print parser.parse_args('XX --foo YY'.split()) print parser.parse_args('XX --foo'.split()) print parser.parse_args(''.split())
[ "allen02403@gmail.com" ]
allen02403@gmail.com
1a3e9cae56843f2b9167840ccb12e915ec8f7161
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/SqbyWYwqChQroXfhu_10.py
ada02ff817a159ee3621064c542db76a15142950
[]
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
159
py
def lower_triang(arr): for i in range(len(arr)): for j in range(len(arr[0])): if j > i: arr[i][j] = 0 return arr
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
78ad653bda4fe0bb743b72f0f9938f240fc28738
1929ce01411908ebe5f04f9db4ae1c7afef085e1
/home/migrations/0002_load_initial_data.py
ab7698763aa5dbf140368dc4b936b332fafab746
[]
no_license
crowdbotics-apps/wislister-15050
81ad2bc3b804de790adb0606c0902915269c4990
2e7d08e9359d011448187a428a90ef21638ade5f
refs/heads/master
2022-12-10T08:08:17.564321
2020-03-25T06:57:42
2020-03-25T06:57:42
249,908,377
0
0
null
2022-12-08T06:06:15
2020-03-25T06:57:27
Python
UTF-8
Python
false
false
1,290
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "wislister" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com