blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
fcd760062115725444cb9e272a9278e304d34a66
83924510277a85ab7719598877f1cc56741854d3
/qatrack/notifications/service_log_scheduling/tasks.py
1fe758d5a5cd4ff71c7b2b8867ad29e161950829
[ "MIT" ]
permissive
tguiot/qatrackplus
3cc07ed6320c9f92a2d848e3429c89f2f0051712
c587cb2ddbfbc116a3ce5124537b2160af09d8e1
refs/heads/master
2023-06-01T01:30:53.619027
2021-07-02T10:35:52
2021-07-02T10:35:52
381,009,929
0
0
NOASSERTION
2021-07-02T10:35:53
2021-06-28T11:39:21
null
UTF-8
Python
false
false
2,897
py
import logging from django.conf import settings from django.utils import timezone from django_q.models import Schedule from django_q.tasks import schedule from qatrack.notifications.models import ServiceEventSchedulingNotice from qatrack.qatrack_core.email import send_email_to_users from qatrack.qatrack_core.tasks im...
[ "randle.taylor@gmail.com" ]
randle.taylor@gmail.com
c5c2760d2fc07bd602141fc4bf0326bacc3903b6
1b2369715f47c9276f3dd458541d0b62cf5ba237
/core/templator.py
e520946dd891c205f610bf01a342298ab7428e33
[]
no_license
Virucek/gb_framework
5a68cdf4f09867db3704ec589e937ddbe68b27f0
50893554c80583243ed301ab52e4bc46875ad241
refs/heads/main
2023-02-13T14:01:57.808400
2021-01-04T22:20:07
2021-01-04T22:20:07
319,729,864
0
0
null
2021-01-04T22:20:20
2020-12-08T18:44:10
Python
UTF-8
Python
false
false
630
py
import os from jinja2 import Template, Environment, FileSystemLoader def render(template_name, folder='templates', **kwargs): # file = os.path.join('templates', template_name) # with open(file, encoding='utf-8') as file: # template = Template(file.read()) env = Environment() env.loader = File...
[ "aykin.yakov@gmail.com" ]
aykin.yakov@gmail.com
e2d5e9208c5d6b345a80365e423c67dd11e07d48
4f510470b3093ab2c60f929221af82c79b121ca7
/ML/SCIENCE/day07/bi.py
c23037e4121ee3dd657696790e8fe62a76e9e0f4
[]
no_license
q737645224/python3
ce98926c701214f0fc7da964af45ba0baf8edacf
4bfabe3f4bf5ba4133a16102c51bf079d500e4eb
refs/heads/master
2020-03-30T07:11:17.202996
2018-10-30T06:14:51
2018-10-30T06:14:51
150,921,088
2
0
null
null
null
null
UTF-8
Python
false
false
796
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import numpy as np import matplotlib.pyplot as mp outcomes = np.random.binomial(9, 0.5, 10000) chips = [1000] for outcome in outcomes: if outcome >= 5: chips.append(chips[-1] + 1) else: chips.append(chips[-1] - 1) chips...
[ "764375224@qq.com" ]
764375224@qq.com
1126c2887c7bf5192117f4eaef69b0120a23243f
29b1b15e4fef90717ff7bf8b13ab9a23cdc17c51
/postsproject/testapp/views.py
cc8ee2c2ba5629d911722b4ea30e6bdf9aaf35a5
[]
no_license
deepawalekedar319/DjangoProjects
93fe59812593a1e1b8f542c8c5b1642bc95f6da4
1780b703a3022ea17dc188ad98b0f17bb14fa12f
refs/heads/main
2023-09-03T04:48:21.201822
2021-11-08T05:28:00
2021-11-08T05:28:00
425,706,071
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
from django.shortcuts import render , get_object_or_404 from testapp.models import Posts def post_view(request): post_list = Posts.objects.all() return render(request,'testapp/posts_list.html',{'post_list':post_list}) def post_detail_view(request , year , month , day , post): post = get_object_or_404(post , slug ...
[ "deepawalekedar319@gmail.com" ]
deepawalekedar319@gmail.com
06f63f7eb1f9eb33e61b437d376faf87f4639603
a4191cc76c1d733c58bbb6692a75b0885bb74e13
/Control-Planning-master/Planning/planning_tools/carla_global_path.py
35d4fa8e7156ab76d6e1b702c5d87efd4b43ee7e
[]
no_license
js7850/sonjunseong
69173d67e34ce2085d2e0617fbefa02cbc6676b5
0d8bb7c87fac07634abd4b002f1111108b42e939
refs/heads/main
2023-07-16T15:28:00.459349
2021-08-28T13:08:19
2021-08-28T13:08:19
400,545,944
0
0
null
null
null
null
UTF-8
Python
false
false
2,383
py
import rospy from sensor_msgs.msg import JointState from geometry_msgs.msg import PoseStamped import csv import matplotlib import threading import math rospy.init_node("carla_glodal_path") class publisher: def __init__(self): self.x=0 self.y=0 self.nodes = [] self.node_x = [] ...
[ "noreply@github.com" ]
js7850.noreply@github.com
c139c36375ea4de3c9eed6ff3bcc1abc1ea29fd7
e1ef59f60ecc011305e50d12f3fa480937b61e34
/Problem Solving/Implementations/Utopian Tree.py
8c3cddf1addfff4bddbb325756151b9b8708273f
[]
no_license
prashanthr11/HackerRank
7ef3c32c3b697f54880fcd5a607245d313b12e05
2a01cb28f2f1a8ef616026a126d95bc9e76dd903
refs/heads/master
2021-07-08T21:17:13.273389
2020-12-27T19:00:25
2020-12-27T19:00:25
222,383,894
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
#!/bin/python3 import math import os import random import re import sys # Complete the utopianTree function below. def utopianTree(n): height = 1 for i in range(n): if i % 2: height += 1 else: height *= 2 return height if __name__ == '__main__':...
[ "noreply@github.com" ]
prashanthr11.noreply@github.com
868926954c42f7c803e11a7d7309f3de7949bd8e
f2b31c29d30959ab484187ed5754552a644c0256
/setup.py
847e732192b6e4fa4a48c36cf0cb2976f239929d
[ "Apache-2.0" ]
permissive
pkimber/old_moderate
d385dd679909eaf3249204f39626a7f711465cc9
761233f9a9c660026f5197d0b5812bf5db28afbe
refs/heads/master
2016-09-05T15:34:53.960675
2014-01-07T14:34:53
2014-01-07T14:34:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
import os from distutils.core import setup def read_file_into_string(filename): path = os.path.abspath(os.path.dirname(__file__)) filepath = os.path.join(path, filename) try: return open(filepath).read() except IOError: return '' def get_readme(): for name in ('README', 'README.r...
[ "code@pkimber.net" ]
code@pkimber.net
911812232fc6d726abaf7d55d5532bc31478dddd
a560269290749e10466b1a29584f06a2b8385a47
/Notebooks/py/andyyang/titanic-survival-project/titanic-survival-project.py
7c134a9a6ff8bbf40ffc7c24c0e56fa07c3b4c8e
[]
no_license
nischalshrestha/automatic_wat_discovery
c71befad1aa358ae876d5494a67b0f4aa1266f23
982e700d8e4698a501afffd6c3a2f35346c34f95
refs/heads/master
2022-04-07T12:40:24.376871
2020-03-15T22:27:39
2020-03-15T22:27:39
208,379,586
2
1
null
null
null
null
UTF-8
Python
false
false
21,700
py
#!/usr/bin/env python # coding: utf-8 # ## Introduction # The Data set I analyzed is **Titanic Data**. # At first we need understand data, then ask question. # We can find the descriptions of this csv file. # These are definitions of variables. # # VARIABLE DESCRIPTIONS: # survival Survival # ...
[ "bitsorific@gmail.com" ]
bitsorific@gmail.com
ff1f8886eaa249084c6246e1aa3f939e2a40708b
38a9e2780ac8b800c336207a5c0a621eb1277a53
/tests/test_planners/test_planner_latin_hypercube.py
6c1b96b0e2543493d9ea123d6a11489bec8a8f51
[ "MIT" ]
permissive
priyansh-1902/olympus
2454850413bb0562a1bfe20ab35fa7e770367323
f57ad769918c0d5d805c439ab5ffbd180af698fa
refs/heads/main
2023-06-21T05:58:49.118264
2021-08-07T22:19:41
2021-08-07T22:19:41
342,454,516
0
0
MIT
2021-08-07T22:19:41
2021-02-26T03:43:08
Python
UTF-8
Python
false
false
1,148
py
#!/usr/bin/env python import pytest from olympus import Observations, ParameterVector from olympus.planners import LatinHypercube # use parametrize to test multiple configurations of the planner #@pytest.mark.parametrize("disp, eps, ftol, gtol, maxcor, maxfun, maxiter, maxls", # [(None, 1e-8, 2.220446049250313...
[ "hase.florian@gmail.com" ]
hase.florian@gmail.com
c06d4f9d071a700255fe8bf3776aadae2ec31041
29c3595a4e1f8de9382650610aee5a13e2a135f6
/venv/Lib/site-packages/twisted/internet/defer.py
254bc9e1dac9e254c90db12291cd31402cf64fe4
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
zoelesv/Smathchat
1515fa56fbb0ad47e1859f6bf931b772446ea261
5cee0a8c4180a3108538b4e4ce945a18726595a6
refs/heads/main
2023-08-04T14:47:21.185149
2023-08-02T15:53:20
2023-08-02T15:53:20
364,627,392
9
1
MIT
2023-08-02T15:53:21
2021-05-05T15:42:47
Python
UTF-8
Python
false
false
73,792
py
# -*- test-case-name: twisted.test.test_defer -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Support for results that aren't immediately available. Maintainer: Glyph Lefkowitz @var _NO_RESULT: The result used to represent the fact that there is no result. B{Never ever ever use th...
[ "ZoomLee@users.noreply.github.com" ]
ZoomLee@users.noreply.github.com
5c70d23d8d54bf46d7d2e8547bf4ec59236ac4ab
fb9bfe18889cdcb1efad2544bec05d1551ec14f8
/home-assistant/custom_components/hacs/repositories/theme.py
0831694927efa2d466e194c26034207a18209395
[ "MIT" ]
permissive
macbury/SmartHouse
b5cac3db82ad2350dc613a7fbb19584082ac29a0
796afdf7552c7798fc6a2a238537a36fa1073efe
refs/heads/master
2022-12-25T10:30:47.115121
2022-07-10T15:03:00
2022-07-10T15:03:00
188,223,508
166
65
MIT
2022-12-10T15:46:43
2019-05-23T11:47:23
Python
UTF-8
Python
false
false
3,631
py
"""Class for themes in HACS.""" from __future__ import annotations from typing import TYPE_CHECKING from ..enums import HacsCategory, HacsDispatchEvent from ..exceptions import HacsException from ..utils.decorator import concurrent from .base import HacsRepository if TYPE_CHECKING: from ..base import HacsBase ...
[ "me@macbury.ninja" ]
me@macbury.ninja
bd2641b8e5b2b74521b6620cea1f61afcd186eae
77077a391973d1f8c05647d08fc135facd04fc5e
/xlsxwriter/test/comparison/test_background02.py
25a76b75104c00aaf83a899b79d12ccfe831151a
[ "BSD-2-Clause-Views" ]
permissive
DeltaEpsilon7787/XlsxWriter
28fb1012eaa42ea0f82e063f28c0c548ca016c5e
550b9c5bd678c861dcc9f6f4072b33a69566e065
refs/heads/main
2023-08-02T09:14:10.657395
2021-09-06T10:51:56
2021-09-06T10:51:56
384,948,081
0
0
NOASSERTION
2021-07-11T12:57:26
2021-07-11T12:57:25
null
UTF-8
Python
false
false
1,300
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook from io import BytesIO class TestCompareXLSXFiles(ExcelC...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
f3b5b32158007db75f97c4df7a3bdae34ab46ac3
37cfcdfa3b8f1499f5899d2dfa2a48504a690abd
/test/functional/mining_prioritisetransaction.py
fe0256f3a78b06dd52f4dbc84cd78a7169c450e4
[ "MIT" ]
permissive
CJwon-98/Pyeongtaekcoin
28acc53280be34b69c986198021724181eeb7d4d
45a81933a98a7487f11e57e6e9315efe740a297e
refs/heads/master
2023-08-17T11:18:24.401724
2021-10-14T04:32:55
2021-10-14T04:32:55
411,525,736
0
0
null
null
null
null
UTF-8
Python
false
false
7,616
py
#!/usr/bin/env python3 # Copyright (c) 2015-2018 The Pyeongtaekcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the prioritisetransaction mining RPC.""" import time from test_framework.messages import ...
[ "cjone98692996@gmail.com" ]
cjone98692996@gmail.com
be05c884bf49420daeef4374a004c5cda9062076
306afd5282d9c24d58297478a1728a006c29e57e
/python3/0213_House_Robber_II.py
4d1ea3b9abd8dcecdc9fed21a9a7723218c62808
[]
no_license
ytatus94/Leetcode
d2c1fe3995c7a065139f772569485dc6184295a9
01ee75be4ec9bbb080f170cb747f3fc443eb4d55
refs/heads/master
2023-06-08T17:32:34.439601
2023-05-29T04:33:19
2023-05-29T04:33:19
171,921,974
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
class Solution: def rob(self, nums: List[int]) -> int: if len(nums) == 1: return nums[0] # 第一棟和最後一棟房子相連,所以不能同時偷 # 要拆開成兩種情況討論,變成兩個普通的 house robber I 問題 res1 = self.house_robber(nums[:-1]) # 不偷第一棟房子 res2 = self.house_robber(nums[1:]) # 不偷最後一棟房子 return max(r...
[ "noreply@github.com" ]
ytatus94.noreply@github.com
6e61066574e483ec40858762d15e0fdd68ac4c3e
f6e6d10fefa38303fcc63e924232856c69c3a456
/dev/buildtool/changelog_commands.py
2576cdff1b508a2bc671955d60245f08374fa7d0
[ "Apache-2.0" ]
permissive
zer09/spinnaker
bd5a470db1c4918977984bbc2321fded5a980373
22cfbc9b640cc9536b16333ff2f5b412347e7223
refs/heads/master
2020-03-10T00:20:33.709888
2018-04-05T16:40:36
2018-04-05T17:34:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,604
py
# Copyright 2017 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...
[ "ewiseblatt@google.com" ]
ewiseblatt@google.com
9cbb8de9fa1b82364b1435e1745f5a067f0bce6a
3669cd260bdab697376feca747d1635d35f42c83
/lang/clang-devel/files/patch-utils_llvm-build_llvmbuild_main.py
2bbe4511dd58f04fbedcf24691c3bcbe18e71267
[]
no_license
tuxillo/DPorts
58072bc88887c7a53a51988c76a70366bef44a93
f523fb13a9d3ecc5ce9a8045fdf146ae05de5399
refs/heads/master
2020-04-03T08:02:44.297511
2013-03-04T07:56:00
2013-03-04T07:56:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
$FreeBSD: ports/lang/clang-devel/files/patch-utils_llvm-build_llvmbuild_main.py,v 1.2 2012/11/17 05:58:48 svnexp Exp $ --- utils/llvm-build/llvmbuild/main.py.orig +++ utils/llvm-build/llvmbuild/main.py @@ -633,7 +633,13 @@ # We handle a few special cases of target names here for historical # reasons, as t...
[ "nobody@home.ok" ]
nobody@home.ok
bb2aef030b5b31e6b3dc6710d92c38df6a019f77
e968c7b2a81eac674fe90d4988d49dc76cd6ea90
/Chap0/project/guess_number_advanced.py
c7469c5b549b102d7e4fce82232709e7f0821658
[]
no_license
AIHackerTest/0x0o_Py101-004
f27c2988ef4b755546a2a64bf5f8e225c1c46c93
cf3fcd4d2618b63e04732ddc0cc9dfdd36e94b8d
refs/heads/master
2021-06-28T20:05:03.110594
2017-09-13T03:41:25
2017-09-13T03:41:25
103,240,170
0
0
null
null
null
null
UTF-8
Python
false
false
1,957
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Program name: 猜数字进阶 Author: 0x0 Github: https://github.com/0x0o Edition: Edit date: 2017.08.15 游戏介绍:程序内部用 0 - 9 生成一个 4 位数,每个数位上的数字不重复,且首位数字不为零,如 1942 用户输入 4 位数进行猜测,程序返回相应提示 用 A 表示数字和位置都正确,用 B 表示数字正确但位置错误 用户猜测后,程序返回 A 和 B 的数量 比如:...
[ "xiaowan5219@gmail.com" ]
xiaowan5219@gmail.com
fa3d745753daff8cdc2dae59e1518e0bf8f81b84
1c7b5b866b505b7b8c47dce504c5bd27a34d5992
/TargetOffer/和为S的两个数字.py
9b7088871e2e866064899912df859868121c9059
[]
no_license
ii0/algorithms-6
2dbcb3df504810ea52b41e5129b334f62136d70a
3eddc77d2f3dafffd177f2a9ee28e9850da2f020
refs/heads/master
2022-04-25T23:17:53.332297
2019-09-19T14:52:04
2019-09-19T14:52:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
""" author: buppter datetime: 2019/8/15 16:34 题目描述 输入一个递增排序的数组和一个数字S,在数组中查找两个数,使得他们的和正好是S,如果有多对数字的和等于S,输出两个数的乘积最小的。 解决思路: 1. 已经排序,所以可以使用双指针 2. 对于未排序的,可以使用 y = s - x,借助Map, LeetCode 第一题。但要判断最小乘积,略显的复杂 """ class Solution: def FindNumbersWithSum1(self, array: list, tsum: int) -> list: if not array: ...
[ "shixintian@aliyun.com" ]
shixintian@aliyun.com
ca5a807578a341ab6150858ebc98582151ea5b7b
f3b233e5053e28fa95c549017bd75a30456eb50c
/tyk2_input/55/55-42_wat_20Abox/setin.py
a052af3560b39d0ff4ffd8b4721a1f81128a90d8
[]
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
2,006
py
import os final_common = ["C1", "C2", "C3", "C4", "C5", "C6", "CL1", "C8", "O9", "N10", "C11", "C12", "C13", "N14", "C15", "C16", "N17", "C18", "O19", "CL2", "H1", "H2", "H6", "HN10", "H12", "H13", "H16", "HN17"] dir = '/mnt/scratch/songlin3/run/tyk2/L55/wat_20Abox/ti_one-step/' res1i='55' res1='NNN' res2list=LIST1 ...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
d6d6e742047319fd822c0f16e580902ce8b79fad
9b20743ec6cd28d749a4323dcbadb1a0cffb281b
/09_Data_Preparation_for_Machine_Learning/18/04_transform_evaluate.py
5a5532223e4999a7b4f4ff6f9f11674e3a596ea3
[]
no_license
jggrimesdc-zz/MachineLearningExercises
6e1c7e1f95399e69bba95cdfe17c4f8d8c90d178
ee265f1c6029c91daff172b3e7c1a96177646bc5
refs/heads/master
2023-03-07T19:30:26.691659
2021-02-19T08:00:49
2021-02-19T08:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
# evaluate knn on the diabetes dataset with robust scaler transform from numpy import mean from numpy import std from pandas import read_csv from sklearn.model_selection import RepeatedStratifiedKFold from sklearn.model_selection import cross_val_score from sklearn.neighbors import KNeighborsClassifier from sklearn.pip...
[ "jgrimes@jgrimes.tech" ]
jgrimes@jgrimes.tech
4bc4b731c7f905446543b704195279a8088cf9af
77e9e68cd6da7b7268b9c1bdfa43c6b31c19ed09
/metrics.py
f4626d370caf73da1065d238ac6f0708bea01c4b
[]
no_license
abhishekdiphu/Automatic-keypoint-localization-in-2dmedical-images
4fd07da82cb31bdeb7ed987563beae3db5768578
9caf76b94ee43fe6917a78e43601974397f3dea2
refs/heads/main
2023-03-18T00:23:01.771151
2021-03-03T20:00:14
2021-03-03T20:00:14
308,170,915
5
0
null
null
null
null
UTF-8
Python
false
false
10,348
py
import torch import numpy as np import matplotlib.pyplot as plt import hiwi eps = 1e-8 import datasets.img as I class Options(object): ''' Presetting : Args : self.outputRes : output resolution of the model self.nStack : No of stack hour glass used in the generator network ...
[ "abhishekdiphu@gmail.com" ]
abhishekdiphu@gmail.com
1787a9d7699255bd09744b9a3cdb66697a4b4de1
468f397949b514c03b8b497bdff0c7dc6dff753c
/addons/hc_person/__openerp__.py
542444eb5404795bd7d17d31403ebb8ab04d8f9e
[]
no_license
LasLabs/odoo-fhir
bc1750de277c71a453a1c75a2f3fbe6ffc8faf4b
4eaccbd218f89587217b932651f4eb38feb43047
refs/heads/master
2021-01-20T05:09:11.970604
2017-04-28T21:44:17
2017-04-28T21:44:17
89,753,143
1
0
null
2017-04-29T00:00:03
2017-04-29T00:00:03
null
UTF-8
Python
false
false
1,736
py
# -*- coding: utf-8 -*- { 'name': "Person", 'summary': """ A person independent of a specific health-related context """, 'description': """ Demographics and administrative information about a person independent of a specific health-related context. **Scope and Usage*...
[ "lsison@moxylus.com" ]
lsison@moxylus.com
23432df9eef11bab3e6a972cfdcc73e473190c62
c43c88015f9498aed5f3b5a339d245c31781444e
/Free/l10n_ru/__manifest__.py
9b57e4476142649d8c7f06a54fccc7adfca950b0
[]
no_license
mulaudzicalvin/perpul
65106d41d5197fea17628ac1a7fa7e581d29d75e
00e3a5ee1771d2e09a48460ca23c2e9c2ef507d6
refs/heads/master
2020-03-09T18:39:33.131420
2018-02-05T05:17:36
2018-02-05T05:17:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,046
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2013-2016 CodUP (<http://codup.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU ...
[ "daniel.podvesker@perpul.co" ]
daniel.podvesker@perpul.co
65932c9daac0c0d74e2dfd51da456a1788016eff
a55fa75d170dec85b230b68046aae7cb18a7ea55
/backend/mobile_8_dec_dev_16442/wsgi.py
8eb7242448c4fc2456e1d329215a5f4645042dc1
[]
no_license
crowdbotics-apps/mobile-8-dec-dev-16442
be0c8274472d7d396bbf12722a80cda25b371590
50cc76003f526ed3cfdb811988812663f449918e
refs/heads/master
2023-06-30T04:40:18.561586
2020-12-08T09:16:42
2020-12-08T09:16:42
319,529,324
0
0
null
2021-08-03T20:05:31
2020-12-08T04:50:35
JavaScript
UTF-8
Python
false
false
421
py
""" WSGI config for mobile_8_dec_dev_16442 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
bd8e7ae6df45a567320e605bd58c48a15da5e7c5
dcb1904a6acbee6a4102a86468f7f805dd4326f6
/hackerrank_tuple.py
1292ffd1494d12e6826137c66f939a1a62f1472f
[]
no_license
Rabbi50/HackerRank-Problem-Solve
b7304eaaf42a9a4b85cfd9d53646d4c69f066ee1
1501a802f86f13c98acd75936ce79e71c862128d
refs/heads/master
2020-09-21T19:21:16.883823
2020-07-14T14:40:06
2020-07-14T14:40:06
224,897,275
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
# if __name__ == '__main__': # n = int(input()) # # integer_list = map(int, input().split()) # # print() # input_line=input() # input_list=input_line.split() # for i in range(n): # input_list[i]=int(input_list[i]) # #print(input_list) # t=tuple(input_list) # print(hash(3)) #...
[ "jasrabbi50@gmail.com" ]
jasrabbi50@gmail.com
42baf2d7ff0468903f6f4794c8562724d5b3a362
8bb4a472344fda15985ac322d14e8f4ad79c7553
/Python3-Core/src/test/prompto/translate/omo/TestCategories.py
00b03872c5e6ee79505515f577f99228f18b9296
[]
no_license
prompto/prompto-python3
c6b356f5af30c6826730ba7f2ad869f341983a2d
64bd3d97d4702cc912097d41d961f7ab3fd82bee
refs/heads/master
2022-12-24T12:33:16.251468
2022-11-27T17:37:56
2022-11-27T17:37:56
32,623,633
4
0
null
2019-05-04T11:06:05
2015-03-21T07:17:25
Python
UTF-8
Python
false
false
1,677
py
from prompto.parser.o.BaseOParserTest import BaseOParserTest class TestCategories(BaseOParserTest): def setUp(self): super(type(self), self).setUp() def testAttributeConstructor(self): self.compareResourceOMO("categories/attributeConstructor.poc") def testCopyFromAscendant(self):...
[ "eric.vergnaud@wanadoo.fr" ]
eric.vergnaud@wanadoo.fr
64aa5b08d5c62364013595552c7828a2a2d1976f
df0461f16c82af1fd5c580dd9ab91094158e4c43
/artifacts/proxy.py
e514b2eee728675f2f21105934a81b76fe67406e
[ "Apache-2.0" ]
permissive
lucaschultz/unearth
738021310178062f0d1893a86fe68e99eaf98b74
60bbc887415205b23483d0cb99c3774ab47c9c66
refs/heads/master
2020-04-22T17:20:34.191739
2019-02-25T15:21:44
2019-02-25T15:21:44
170,538,069
2
0
Apache-2.0
2019-02-13T16:12:55
2019-02-13T16:12:54
null
UTF-8
Python
false
false
623
py
from SystemConfiguration import SCDynamicStoreCreate, SCDynamicStoreCopyValue factoid = 'proxies' def fact(): '''Returns the current dns servers''' proxies = 'None' net_config = SCDynamicStoreCreate(None, "net", None, None) proxy_info = SCDynamicStoreCopyValue(net_config, "State:/Network/Global/Proxi...
[ "chilcote+github@gmail.com" ]
chilcote+github@gmail.com
07eee5fb5e2ef6d4bba6977b2f628b3aa2179927
c957fbcb133093d3331731259c557cef5ccf45d1
/src/contentbase/json_renderer.py
9f0b60111957e16ac2aaf8bf69633c4a3d46a99c
[ "MIT" ]
permissive
ClinGen/clincoded
da2aa2c08cf98f7af4953f81b13b94653b9c8264
5624c74546ce2a44eda00ee632a8de8c2099da10
refs/heads/dev
2022-09-27T15:48:08.000844
2021-08-03T19:05:54
2021-08-03T19:05:54
36,758,056
31
10
MIT
2022-09-16T19:33:53
2015-06-02T19:54:12
JavaScript
UTF-8
Python
false
false
1,358
py
from pyramid.threadlocal import get_current_request import json import pyramid.renderers import uuid def includeme(config): config.add_renderer(None, json_renderer) class JSON(pyramid.renderers.JSON): '''Provide easier access to the configured serializer ''' def dumps(self, value): request =...
[ "laurence@lrowe.co.uk" ]
laurence@lrowe.co.uk
884229c842df85409ab4a26013a3943a54b8d419
685038d4be188fa72e9dba1d2213a47ee3aa00a2
/ECOS2021/Demands/Inputs/Surveys/A/S7/Oct_S7_A.py
ea3279e31338f885612c658133f974cb1e135206
[]
no_license
CIE-UMSS/Tradeoff-between-Installed-Capacity-and-Unserved-Energy
e5599e4e4ac60b97f0c4c57c5de95e493b1b5ac4
459f31552e3ab57a2e52167ab82f8f48558e173c
refs/heads/master
2023-06-01T18:09:29.839747
2021-06-19T15:56:26
2021-06-19T15:56:26
343,720,452
0
0
null
null
null
null
UTF-8
Python
false
false
2,789
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jan 31 14:33:07 2020 @author: alejandrosoto Script for 2 class of household in Raqaypampa. """ # -*- coding: utf-8 -*- """ @author: Alejandro Soto """ from core import User, np User_list = [] #User classes definition HI = User("high income",1) Us...
[ "asm19971997@gmail.com" ]
asm19971997@gmail.com
15ad905cd84616800887959795f7b7b25d2c0bc8
f47fe8a7d8cd87b3bfa2e172b4a9fc93e3a4abc2
/2015/AST1/vezbovni/Ivan/treci.py
92de3fe389d536db156a2b47a60dfee2cec9d33a
[]
no_license
ispastlibrary/Titan
a4a7e4bb56544d28b884a336db488488e81402e0
f60e5c6dc43876415b36ad76ab0322a1f709b14d
refs/heads/master
2021-01-17T19:23:32.839966
2016-06-03T13:47:44
2016-06-03T13:47:44
60,350,752
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
def fahr(a): F = (9.0/5)*a + 32 print("temperatura je: ", F) return F def cels(a): C = (a-32)*(5/9) print("temperatura je:", C) return C prvo = fahr(100) drugo = cels(212)
[ "ispast.library@gmail.com" ]
ispast.library@gmail.com
a79fbdaf7b77d609257fa8ea0f0ee08500283919
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03167/s857237201.py
ed807852eb80a79aa87a94d4e96803a8c9ee4e1c
[]
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
1,538
py
def add(a, b): mod = 1e9+7 c = a + b if c >= mod: c -= mod return c H, W = [int(x) for x in input().split()] sl = [input() for _ in range(H)] dp = [[0 for _ in range(W)] for _ in range(H)] dp[0][0] = 1 for i in range(H): for j in range(W): for frm in [[i-1, j], [i, j-1]]: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
754965cb553d4700b0aea09f00514c8478a8e968
1bf9f6b0ef85b6ccad8cb029703f89039f74cedc
/src/mixed-reality/azext_mixed_reality/vendored_sdks/mixedreality/models/_mixed_reality_client_enums.py
3c095b5688815dc47d4e0a5d9e8e2dad0cf60b42
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
VSChina/azure-cli-extensions
a1f4bf2ea4dc1b507618617e299263ad45213add
10b7bfef62cb080c74b1d59aadc4286bd9406841
refs/heads/master
2022-11-14T03:40:26.009692
2022-11-09T01:09:53
2022-11-09T01:09:53
199,810,654
4
2
MIT
2020-07-13T05:51:27
2019-07-31T08:10:50
Python
UTF-8
Python
false
false
2,085
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" ]
VSChina.noreply@github.com
96f7a3504263209d18bf80116a1946eb5dd546ca
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_sql_vulnerability_assessment_baseline_operations.py
5b4020b6bf6c9ef2299df4eac6647c9adb74d137
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
15,139
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
rdomenzain.noreply@github.com
36d142620364d13b8ee4ffa85e69d9eede13dc46
ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31
/TrackLater-master/tracklater/main.py
72e022c9b512b865703c592e30c9a97c5fa8c49a
[ "MIT" ]
permissive
babiato/flaskapp1
84de2d0b26a54f5820d3bbe97926782ad41e005c
530beb9e3b8516e0e93960b99521c23a523ef546
refs/heads/master
2023-02-26T16:36:49.760632
2021-02-04T09:08:40
2021-02-04T09:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,766
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- import importlib from typing import Dict from types import ModuleType from tracklater import settings from tracklater.timemodules.interfaces import AbstractParser from tracklater.models import ApiCall, Entry, Issue, Project from tracklater.database import db import lo...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
d96a9159f7e818a5432f964d54d8790c633a202a
3458efd930792fc768f53d773603c917d172ac3d
/webapp/store_frontend/StoreFrontendController.py
6eb3e4be6e6f7a353059d8204ad8dd15017c0497
[]
no_license
binary-butterfly/shared-delivery
0a4a90d9c42d7948267d674da1d1ec323d345c1b
63167a6f7d80c822ac02ffc6dd698fcf1ff9e37e
refs/heads/master
2022-08-17T15:03:04.568889
2020-04-28T16:05:00
2020-04-28T16:05:00
249,144,165
15
9
null
2022-07-20T23:00:35
2020-03-22T08:42:59
JavaScript
UTF-8
Python
false
false
6,031
py
# encoding: utf-8 """ Copyright (c) 2017, Ernesto Ruge All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions an...
[ "mail@ernestoruge.de" ]
mail@ernestoruge.de
6fec5b707195f997de20929632b6dabf2412d1e1
aa6059b13468595a872897694572767d278318d1
/RemoveVideoWaterMark/LightVideo.py
d31d6d5dfb4b69a7001b0e7f4d10a0d15614204c
[]
no_license
18708111002/Tools
3845273724fc9bd2b1e31991339053448d08bfa2
c81f6df8ac7e57c0c544be78a706c919c3c57384
refs/heads/master
2022-11-09T10:47:33.608418
2018-06-08T09:14:11
2018-06-08T09:14:11
127,995,521
1
2
null
2022-11-02T07:22:24
2018-04-04T02:27:44
Python
UTF-8
Python
false
false
1,625
py
#encode-UTF-8 from watchdog.observers import Observer from watchdog.events import * import time class FileEventHandler(FileSystemEventHandler): def __init__(self): FileSystemEventHandler.__init__(self) def on_moved(self, event): if event.is_directory: print("directory moved from {...
[ "18708111002@163.com" ]
18708111002@163.com
08e727a142804947d5964e26d273b8b082b12aed
a560269290749e10466b1a29584f06a2b8385a47
/Notebooks/py/kbc8894/tutorial-titanic-with-tensorflow/tutorial-titanic-with-tensorflow.py
c8538ff8a97bc15c9974578f4967ebb584534c9d
[]
no_license
nischalshrestha/automatic_wat_discovery
c71befad1aa358ae876d5494a67b0f4aa1266f23
982e700d8e4698a501afffd6c3a2f35346c34f95
refs/heads/master
2022-04-07T12:40:24.376871
2020-03-15T22:27:39
2020-03-15T22:27:39
208,379,586
2
1
null
null
null
null
UTF-8
Python
false
false
10,790
py
#!/usr/bin/env python # coding: utf-8 # In[4]: # This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python # For example, here's several helpful packages to load in import numpy as np # linear algebra i...
[ "bitsorific@gmail.com" ]
bitsorific@gmail.com
5154db3907a3d17cdf26b8e4ff5596f31844b55c
f9f1f887629855bbf12ecb0b7358fed5946b3caa
/.history/app_blog_forum/views_20201117201218.py
bd4632b14091e7318696c02acc68f232583f1721
[]
no_license
hibamohi5/blog_forum
4f687cee3ca6bdb1d0302b3657a77c01945404b3
d6380eb7149355c79276b738da7da94c2ee03570
refs/heads/main
2023-01-14T18:33:53.043754
2020-11-20T01:52:22
2020-11-20T01:52:22
314,417,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
from django.shortcuts import render, redirect from .models import * from django.contrib import messages def index(request): return render(request, "index.html") def register_new_user(request): errors = User.objects.user_registration_validator(request.POST) if len(errors) > 0: for key, value in ...
[ "hibamohi5@gmail.com" ]
hibamohi5@gmail.com
65e81cbf10ea4356c9f7ac0ff7f733020f175a0b
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01/models/_models_py3.py
7e8a77c9e75187edeeaefb7f66b43bb743db9604
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
50,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. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
b8e36c49cbb92f1d4a8ac4bf7b7e9fb0fd876631
f8376e83352d2dfab28c41f24345071a77a45fd9
/functions/global_local.py
03db0337c256d7c65d4f6b36c16185a9deb2b290
[]
no_license
harihavwas/pythonProgram
2111ee98eccda68165159db0305c413ee53ee38a
126df8b3a418dbaf618575b450fd4cfde44c80a7
refs/heads/master
2023-07-27T23:39:10.867329
2021-09-16T15:35:00
2021-09-16T15:35:00
402,320,797
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
x=5 def fun(): x=3 #global x x+=10 print("Local : ",x) fun() print("Global : ",x)
[ "hkk4harikrishnan@gmail.com" ]
hkk4harikrishnan@gmail.com
91d6fab35d81a28c33317763a9190bc23875ccc4
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/aon.py
6dc3567d7e22619be9c11b26f76c74afac1934e5
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
50e3b6211cb784adbca528e697dca518ab8b7ac8
50f202b7068abcac204e795ee7a2dc9f13ab07e3
/mchck_swd.py
e01cd7996edaa5390d5e681d593db025609fb332
[]
permissive
twitchyliquid64/PySWD
7830dd9213167d82f567bf5d912b930fa9bfb0e7
2981d4dcc385cd58f3c2423b359f3f53623184e0
refs/heads/master
2020-03-22T17:17:41.642609
2018-07-19T01:05:19
2018-07-19T01:05:19
140,386,338
0
0
BSD-3-Clause
2018-07-10T06:19:43
2018-07-10T06:19:43
null
UTF-8
Python
false
false
1,567
py
import time import logging import serial from SWDAdapterBase import * CMD_HANDSHAKE = "?SWD?" CMD_HANDSHAKE_REPLY = "!SWD1" CMD_WRITE_WORD = 0x90 CMD_WRITE_BITS = 0xa0 CMD_WRITE_BYTE = CMD_WRITE_BITS | (8 - 1) CMD_READ_WORD = 0x10 CMD_READ_BITS = 0x20 CMD_CYCLE_CLOCK = 0x28 class Adapter(SWDAdapterBase): def ...
[ "pfalcon@users.sourceforge.net" ]
pfalcon@users.sourceforge.net
2cc1de21342c8d7f3e1a2426bfa787d969a5c08f
61174b68f49f8f78243a4b67eed727bd7e107481
/extras/sample_site/sample_site/urls.py
dcacf4f406c4d6887b4be3a4a21e6153ec9d7278
[ "MIT" ]
permissive
cltrudeau/django-yaset
b586a90780a758a36103edf6b0790c49d2227f43
1b27eeb3f4bdb638609e2045b1c2902f7af96141
refs/heads/master
2022-05-05T05:19:35.665955
2019-07-26T21:00:35
2019-07-26T21:00:35
198,712,577
0
0
MIT
2022-04-22T22:00:01
2019-07-24T21:33:40
Python
UTF-8
Python
false
false
127
py
from django.contrib import admin from django.urls import include, path urlpatterns = [ path('admin/', admin.site.urls), ]
[ "ctrudeau@arsensa.com" ]
ctrudeau@arsensa.com
07f19b1600350ce134465c5c2401089bbc90b0d0
8567438779e6af0754620a25d379c348e4cd5a5d
/testing/xvfb.py
a5620e7cde4072d7bd8b5f6bef54b27af767d9e1
[ "BSD-3-Clause" ]
permissive
thngkaiyuan/chromium
c389ac4b50ccba28ee077cbf6115c41b547955ae
dab56a4a71f87f64ecc0044e97b4a8f247787a68
refs/heads/master
2022-11-10T02:50:29.326119
2017-04-08T12:28:57
2017-04-08T12:28:57
84,073,924
0
1
BSD-3-Clause
2022-10-25T19:47:15
2017-03-06T13:04:15
null
UTF-8
Python
false
false
2,751
py
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Runs tests with Xvfb and Openbox on Linux and normally on other platforms.""" import os import platform import signal import su...
[ "hedonist.ky@gmail.com" ]
hedonist.ky@gmail.com
a9ddf2c7ce753bd52658b66a00fbd265e29339f3
2049bda43e392d5f5981fbfdb70090ba226e4ef8
/apps/user/management/commands/proxy_detection.py
933792ab6086b2d3cab311183442d44cbdc89ce0
[]
no_license
embedded1/django-package-forwarding
2ef84a1fde5ba6817d42d89f983512bdc3d77bc3
8c3286e9a7da8f4ae0401a81c8037585b3bb7ba6
refs/heads/master
2020-06-22T17:05:36.637695
2019-07-26T09:34:40
2019-07-26T09:34:40
197,738,052
0
0
null
null
null
null
UTF-8
Python
false
false
3,026
py
from django.utils.translation import ugettext as _ from django.core.management.base import BaseCommand from django.template import loader, Context from django.core import mail from django.conf import settings from django.contrib.auth.models import User from decimal import Decimal as D import requests import logging l...
[ "asili@usendhome.com" ]
asili@usendhome.com
a9fd8d74fd2eb83202790909a6fdb4ff546cd49d
5d3acf19a31749111bc9332632d56cfa8f229872
/testing/tests/001-main/003-self/200-json/001-users.py
ace465f0ccc2064551dac140ac940ae4add24ee0
[ "MIT", "Apache-2.0" ]
permissive
fragmede/critic
217adea764b96b028fe6d95ee8f0ec82bc38b606
f32a41b8c209440b2cbf208b1790320ef6ba3ecb
refs/heads/master
2020-12-28T07:47:37.603777
2015-06-23T08:15:38
2015-07-14T09:12:28
39,280,420
0
0
NOASSERTION
2022-09-02T20:59:50
2015-07-18T00:03:57
Python
UTF-8
Python
false
false
7,042
py
# @dependency 001-main/001-empty/003-criticctl/002-adduser-deluser.py # @dependency 001-main/001-empty/004-mixed/003-oauth.py # @dependency 001-main/001-empty/004-mixed/004-password.py # @dependency 001-main/003-self/028-gitemails.py frontend.json( "users", expect={ "users": [user_json("admin", "Testing Admini...
[ "jl@opera.com" ]
jl@opera.com
869a50983066c01546bfa59c724d88e8d2fa2d10
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/44730c28cc28b124da727c569ddc9706715f50b1-<main>-bug.py
a18ff146bef3def4007632f225c584366ee5ef90
[]
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
3,947
py
def main(): module = AnsibleModule(argument_spec=dict(login_user=dict(default=None), login_password=dict(default=None, no_log=True), login_host=dict(default='localhost'), login_port=dict(default='27017'), login_database=dict(default=None), replica_set=dict(default=None), database=dict(required=True, aliases=['db'...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
a352a0a1b1ee3450f63f90b6486011d84e3b1868
e87c04d6c2bbba383f9c75620b16f02358039ab5
/보충/미로1.py
889bc61652d663fee00031279caf1f6e9ba1bf6d
[]
no_license
yoonwoo123/Algorithm
2bf6e103009572cbcf3abfd783f6c28762529340
5d1e76f1bf6c2fc6acb25dc5296d62b2ca453ec6
refs/heads/master
2022-06-18T14:06:06.248906
2022-05-29T10:41:15
2022-05-29T10:41:15
221,483,283
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
import sys sys.stdin = open("미로1_input.txt") dx = [1, 0, -1, 0] # 우, 하, 좌, 상 dy = [0, 1, 0, -1] def dfs(x, y): maze[y][x] = 9 # 방문표시 for i in range(4): global flag nx = x + dx[i] ny = y + dy[i] if maze[ny][nx] == 3: flag = 1 break if maze[ny]...
[ "lkkjasd@korea.ac.kr" ]
lkkjasd@korea.ac.kr
8f90f53f4f8b98f34c6f21170636a11a3faf3b30
456433ac78b70cb8ae076ae166a85e349f181d7f
/systems/KURSSKLAD/KURSTERM/TRANSUNITRETURN/transunitreturn.py
014805c78aeb006058805d3a66217c259c87f717
[]
no_license
shybkoi/WMS-Demo
854c1679b121c68323445b60f3992959f922be8d
2525559c4f56654acfbc21b41b3f5e40387b89e0
refs/heads/master
2021-01-23T01:51:20.074825
2017-03-23T11:51:18
2017-03-23T11:51:18
85,937,726
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
3,269
py
# -*- coding: cp1251 -*- from systems.KURSSKLAD.KURSTERM.common import TCommonTerm from systems.KURSSKLAD.KURSTERM.TRANSUNITRETURN.templates.index import index from systems.KURSSKLAD.KURSTERM.TRANSUNITRETURN.templates.auto import auto from systems.KURSSKLAD.KURSTERM.TRANSUNITRETURN.templates.autoTransUnit import autoT...
[ "s.shybkoi@gmail.com" ]
s.shybkoi@gmail.com
925ca8233ec1f869327ec17b01779d58af3a7eeb
ad9bd58a3ec8fa08dfcc994d4101ee815a9f5bc0
/02_algorithm/04.Stack/20190819/stack_practice_03/stack_practice_03.py
a2b7c341e89dea47790118435e6561dd2c2769d4
[]
no_license
wally-wally/TIL
93fc1d0e3bc7d030341ed54155294c68c48b4c7d
936783bc86f563646c0398c24e2fcaa707f0ed23
refs/heads/master
2023-04-28T08:59:48.235747
2023-04-12T12:06:52
2023-04-12T12:06:52
195,918,111
40
7
null
2020-09-29T16:20:46
2019-07-09T02:31:02
Python
UTF-8
Python
false
false
632
py
# 문제를 재귀적으로 푼다 # 재귀적 정의를 구현할 때 재귀호출이 좋다. # 재귀적 정의 --> 좀 더 작은 문제의 답을 사용해서 더 큰 문제의 답을 구하는 방법 # 팩토리얼 예제 # 문제의 크기는 자연수로 표현 # 1, n = 1 or 0 # (n-1)! * n, n > 1 def factorial(n): # n(매개변수) : 문제(크기)를 나타내는 값 # 반환값 = n!의 값(문제의 해) if n == 0 or n == 1: # 기저 사례 # 재귀호출 하지 않고 종료 return 1 ...
[ "wallys0213@gmail.com" ]
wallys0213@gmail.com
dde95a6598f20b7d186a996cf811781d6e534b9e
9633f30e171550a5008ffe1a90d21254e7fe9c19
/0x0C-python-almost_a_circle/models/base.py
b9ce9c1c1c3eaf425240be1a6412718d8d35b1ae
[]
no_license
jj131204/holbertonschool-higher_level_programming
95e2b528bc68e7a3897c5ff49a23b1f37e9abee4
be2afa3b2a54e88d7dd4e39e5116c9bd1b941ba6
refs/heads/master
2023-08-30T16:56:37.834970
2021-09-22T22:34:37
2021-09-22T22:34:37
361,829,671
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
#!/usr/bin/python3 """create class Base""" import json class Base: """class base""" __nb_objects = 0 def __init__(self, id=None): """ def __init__(self, id=None): """ if id is not None: self.id = id else: Base.__nb_objects += 1 self.id = Base...
[ "jj131204@gmail.com" ]
jj131204@gmail.com
c9b09b68eed4b34734399a88a6c0a55d7be9401c
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/test/test_access_policy_category.py
11c2017c46bf3867b915f353ab0c59fca1768429
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
3815f5be00e1ab76b95e2bb5b78305f5c93ec47d
d33ae935a34431c5757eaaea31d250819ff3dac0
/modules/folderDict.py
73cf9cb9e10b80f89536e332cf7590ec0c412ffd
[]
no_license
OliPelz/linminUP
d23e36765a5c2015b770e0e0f24e3ff6c2fe9134
50ec012038267a5cabefdae2b231738515a3713e
refs/heads/master
2021-01-09T06:24:12.635693
2016-04-21T10:57:01
2016-04-21T10:57:01
56,667,433
0
0
null
2016-04-20T07:56:32
2016-04-20T07:56:31
null
UTF-8
Python
false
false
9,751
py
#!/usr/bin/python # -*- coding: utf-8 -*- # -------------------------------------------------- # File Name: folderDict.py # Purpose: # Creation Date: 04-11-2015 # Last Modified: Wed Mar 9 11:38:05 2016 # Author(s): The DeepSEQ Team, University of Nottingham UK # Copyright 2015 The Author(s) All Rights Reserved # Credi...
[ "matt.loose@nottingham.ac.uk" ]
matt.loose@nottingham.ac.uk
67356b560bdcc2411922d7c19c8c1593edebbd9e
7cbdb437946c7c79ca514f52c352ae3bfe5b1aaf
/recipe/tests.py
ee043909e2b45e6e4aff36e23350a72f8a89a11c
[]
no_license
SamirIngley/Recipes-Blog
435311fab3cb27f0b288729805a2aed50bfb9a3f
7b12f50738b4f65557c0e1f92f905ddd83de2ebf
refs/heads/master
2020-11-26T22:27:49.239843
2019-12-26T01:21:19
2019-12-26T01:21:19
229,217,552
0
0
null
2020-06-06T01:05:46
2019-12-20T07:55:06
Python
UTF-8
Python
false
false
1,838
py
# wiki/tests.py from django.test import TestCase from django.contrib.auth.models import User from recipe.models import Page class RecipeTestCase(TestCase): def test_true_is_true(self): """ Tests if True is equal to True. Should always pass. """ self.assertEqual(True, True) def test_page_slugif...
[ "samir.ingle7@gmail.com" ]
samir.ingle7@gmail.com
90d4aab70505bc32d8460fdc76a1d6a0bc6b0724
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/compute/v20191201/get_log_analytic_export_throttled_requests.py
3a6f0ea7758156897c6c5bbd943793b12d7e02fe
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
3,608
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
test-wiz-sec.noreply@github.com
566b632913cca4028b7dccc5d3de8e7c512bb74d
de33ba7be349eed5e2a1fc3f2bd9fce5bfdb9f13
/phenocube/lib/python3.8/site-packages/pip/_vendor/pyparsing.py
97b8ed608dac27cf268b983335667de73c67fb65
[ "MIT" ]
permissive
SteveMHill/phenocube-py
9bebf239e24af3f97e59b080560228605e6611c5
cb262aef1c0925efd2e955170bacd2989da03769
refs/heads/main
2023-02-24T03:35:11.461869
2020-12-22T12:15:22
2020-12-22T12:15:22
334,703,261
0
0
MIT
2021-01-31T16:37:21
2021-01-31T16:36:47
null
UTF-8
Python
false
false
279,207
py
# -*- coding: utf-8 -*- # module pyparsing.py # # Copyright (c) 2003-2019 Paul T. McGuire # # 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 limitatio...
[ "steven.smhill@gmail.com" ]
steven.smhill@gmail.com
71422348907630e0d2bf271ab6308a48ea7cc115
6ddcb131e5f2806acde46a525ff8d46bfbe0990e
/enaml/core/parse_tab/lextab.py
4fef6763304b572db5738b3ca643facb224ae474
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agrawalprash/enaml
5ce1823188eb51e5b83117ebee6c3655f53e5157
96828b254ac9fdfa2e5b6b31eff93a4933cbc0aa
refs/heads/master
2021-01-15T23:35:21.351626
2012-09-05T03:40:07
2012-09-05T03:40:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,273
py
# enaml.core.parse_tab.lextab.py. This file automatically created by PLY (version 3.4). Don't edit! _tabversion = '3.4' _lextokens = {'LPAR': 1, 'ENDMARKER': 1, 'LESS': 1, 'AMPEREQUAL': 1, 'CIRCUMFLEX': 1, 'WS': 1, 'WITH': 1, 'MINUS': 1, 'NEWLINE': 1, 'EXCEPT': 1, 'PLUS': 1, 'PERCENTEQUAL': 1, 'ELLIPSIS': 1, 'EQEQ...
[ "sccolbert@gmail.com" ]
sccolbert@gmail.com
288e76ce905f639a74ba721fd38b41fc04c40f45
16e498600e8e9f1c0f3f0e2c4b2df2dcb56b9adc
/registration/admin.py
ea137c1ff68e3fdf9cd248567b622cc64d6f5948
[ "BSD-3-Clause" ]
permissive
kklimonda/django-registration
b220338f0775ea7313a481438cade9341ef078c3
9d4099011c64d0e9d1a502a7b230fa2547d7f771
refs/heads/master
2021-01-17T07:28:05.795437
2013-04-14T03:06:20
2013-04-14T03:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
from django.contrib import admin from django.contrib.sites.models import RequestSite from django.contrib.sites.models import Site from django.utils.translation import ugettext_lazy as _ from .models import RegistrationProfile class RegistrationAdmin(admin.ModelAdmin): actions = ['activate_users', 'resend_activat...
[ "rochacbruno@gmail.com" ]
rochacbruno@gmail.com
64b4dc3e651ef1a0377081e5697aad87c4789d60
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/73/usersdata/214/39782/submittedfiles/triangulo.py
fc7eb86f1197185aca4df06deba4e940fa9bee35
[]
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
475
py
# -*- coding: utf-8 -*- import math a=int(input('Digite a:')) b=int(input('Digite a:')) c=int(input('Digite a:') a>=b>=c>0 if a<b+c: print('S') else: print('N') if a+b<c: if(a**2)==(b**2)+(c**2): print ('Re') if(a**2)==(b**2)+(c**2): print('Ob') if(a**2)==(b**2)+(c**2): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
99df5d6a98c97acee2ab5bf8db8f1a542093aa9b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/195/61824/submittedfiles/testes.py
569ee6ed3f4b3b4a00c2e1c54c88be2f1a92f096
[]
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
296
py
# -*- coding: utf-8 -*- import numpy as np def transposta(b): b=[] for i in range(0,b.shape[0],1): for j in range(0,b.shape[1],1): b[i,j]==a[j,i] b[i,j]=float(input('elemento:')) n=int(input('linas:')) m=int(input('colunas:')) b=b.zeros((n,m)) print(transposta(b))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5bae0b9fbbefb10205ba1adbbadbfbd3ca07d7f8
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_funnelled.py
1b5788bd13ce44f929c9be42befa4a4c2f4fd558
[ "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
226
py
#calss header class _FUNNELLED(): def __init__(self,): self.name = "FUNNELLED" self.definitions = funnel self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['funnel']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f94c61f57bdbdc5ec8ae4d562de764d1a624b3f0
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/util/tf_inspect_test.py
d8ddf34a5d3a75abc3f3553698994a227450044c
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
24,023
py
# Copyright 2017 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...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
fdbc362014380cedc9ec820a8c28b657237f2444
dd8511e1209646823f7ec2a2ce669171f9b0a5cc
/plato/tools/common/test_symbolic_predictors.py
3dfd88b375367eee00f840f7afbef08a991bd643
[]
no_license
codeaudit/plato
9e8df28e589d6c43aef2271e9f940076ef4a143d
ba19f92a42729e9d3cf5da05746dead83db3f41c
refs/heads/master
2021-01-12T11:32:34.796675
2016-10-07T14:05:00
2016-10-07T14:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,025
py
from plato.tools.mlp.mlp import MultiLayerPerceptron from plato.tools.optimization.cost import negative_log_likelihood_dangerous from plato.tools.common.online_predictors import GradientBasedPredictor from plato.tools.optimization.optimizers import SimpleGradientDescent from utils.benchmarks.train_and_test import perce...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
e8d66db9f808801439a592d691e8ab8563e3eb6b
1eb7fa8b1745d4e51cefb4eceb44621862516aa6
/Company Interview/FB/SerializeAndDeserialize.py
33ca3c4b67d0cd6cb974244469491f275d5f25f1
[]
no_license
geniousisme/CodingInterview
bd93961d728f1fe266ad5edf91adc5d024e5ca48
a64bca9c07a7be8d4060c4b96e89d8d429a7f1a3
refs/heads/master
2021-01-10T11:15:31.305787
2017-03-06T00:03:13
2017-03-06T00:03:13
43,990,453
0
1
null
null
null
null
UTF-8
Python
false
false
1,175
py
class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Codec(object): def serialize(self, root): def serializer(root): if root is None: res.append('#') return res.append(str(roo...
[ "chia-hao.hsu@aiesec.net" ]
chia-hao.hsu@aiesec.net
3ea21ddb2ae9b03c9181387ce1af7ce6b652d1cb
e18b3cb22c09cb6b2fff7555eeaeddba1513ac1f
/python_stack/flask_fundamentals/whats_my_name/app.py
4bafe3b4c5f7d1bd350de8f8e61c352ad859b72d
[]
no_license
LawerenceLee/coding_dojo_projects
e71760850f3164fbd217004d0ea2f38c5bddd2d8
099b1f862ec520bab93c58235151680bb74c0bf6
refs/heads/master
2021-05-10T16:11:40.466412
2018-05-09T02:24:04
2018-05-09T02:24:04
118,569,970
1
1
null
2018-03-24T22:37:58
2018-01-23T06:48:41
Python
UTF-8
Python
false
false
417
py
from flask import (Flask, render_template, redirect, request, url_for) DEBUG = True PORT = 8000 HOST = "0.0.0.0" app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') @app.route("/process", methods=['POST']) def process(): print(request.form['your-name']) return redir...
[ "lucifitz.edward@gmail.com" ]
lucifitz.edward@gmail.com
8b648420b85b3333e48cd30d97adff051fcc4d67
2a1969afe3818412140efb25921f35610dd9023d
/python/pythonGUI/PyQt5/my note/examples/3_3_box_layout_vbox_hbox.py
dedee22f54e3d8a2e9f2906c1cc1aad0231bdc2f
[]
no_license
Light2077/LightNote
149cf42089f15bbebd62e27fe5aa6afe67f25779
cd733014f8be44207d624a5fd02dfddcd776aad1
refs/heads/master
2023-09-01T07:49:05.494481
2023-08-24T10:00:09
2023-08-24T10:00:09
224,410,710
4
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
import sys from PyQt5.QtWidgets import ( QApplication, QMainWindow, QWidget, QVBoxLayout, QHBoxLayout, QPushButton, ) class Example(QMainWindow): def __init__(self, parent=None): super().__init__(parent=parent) self.setGeometry(200, 200, 300, 150) self.setWindowTitl...
[ "435786117@qq.com" ]
435786117@qq.com
fc7df984c9bb03b366acaf1ce8f789b720508ac0
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/purchase_stock/models/purchase.py
9489f3eb572c7eb8f7d435338ab2b54fb00278bf
[]
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
19,123
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. from odoo import api, fields, models, _ from odoo.tools.float_utils import float_compare from odoo.exceptions import UserError from odoo.addons.purchase.models.purchase import PurchaseOrder as Purchase class Purcha...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
223995c1aa28ee01b0a3621450a20580925c9a85
f8ff84f02d6dfa66d003890c4f51ea575232ba93
/cinder/cinder/tests/unit/test_huawei_drivers.py
52bf49c2f41a37016e480d8a8f05c0c4cacec09b
[ "Apache-2.0" ]
permissive
zarson/stack
8d341463bdf0136447bf1ada5be943df8ba55a4b
827003bc566ed992f754618063a771694e51cfca
refs/heads/master
2021-06-03T00:49:19.075199
2016-05-12T07:45:35
2016-05-12T07:45:35
58,616,957
0
1
null
2020-07-24T01:59:08
2016-05-12T07:08:17
Python
UTF-8
Python
false
false
148,572
py
# Copyright (c) 2016 Huawei Technologies Co., Ltd. # 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 # # ...
[ "zhangsheng1730@hotmail.com" ]
zhangsheng1730@hotmail.com
c5aed1e631b4cec0b812399ab18123634d8a5671
c3dc08fe8319c9d71f10473d80b055ac8132530e
/challenge-165/roger-bell-west/python/ch-1.py
460191357b2828a60f49ec73f416a12739c54f30
[]
no_license
southpawgeek/perlweeklychallenge-club
d4b70d9d8e4314c4dfc4cf7a60ddf457bcaa7a1e
63fb76188e132564e50feefd2d9d5b8491568948
refs/heads/master
2023-01-08T19:43:56.982828
2022-12-26T07:13:05
2022-12-26T07:13:05
241,471,631
1
0
null
2020-02-18T21:30:34
2020-02-18T21:30:33
null
UTF-8
Python
false
false
1,280
py
#! /usr/bin/python3 import fileinput points = [] lines = [] x = [] y = [] for line in fileinput.input(): line=line.rstrip() f = [int(i) for i in line.split(',')] for i in range(len(f)): if i % 2 == 0: x.append(f[i]) else: y.append(f[i]) if len(f) == 4: lines.append(f) if len(f) == ...
[ "roger@firedrake.org" ]
roger@firedrake.org
2a2eedd00c5d7719d072f84307fedc954789ea25
32b46b0955d1abd963077c7ed6f614c8fa1403e9
/BT/pyobjc-core-3.0.4/build/lib.macosx-10.11-intel-2.7/PyObjCTest/test_inspect_signatures.py
91eb53069c7804e7efe4a7ac50b850519d493a79
[ "MIT" ]
permissive
ivanmolera/Raspberry
3771f74ce4e4667c95081bfa38a2b39ec6375a26
30d16fdb88efc2aec347047eef26da213346cd1a
refs/heads/master
2021-01-19T20:27:51.424504
2018-02-10T16:48:30
2018-02-10T16:48:30
88,509,424
2
0
null
null
null
null
UTF-8
Python
false
false
1,624
py
from PyObjCTools.TestSupport import * import objc import types import inspect class TestInspectSignatures (TestCase): @min_python_release("3.4") def test_module_functions_signature(self): for nm in dir(objc): obj = getattr(objc, nm) if isinstance(obj, types.BuiltinMethodType): ...
[ "ivan.molera@gmail.com" ]
ivan.molera@gmail.com
ce452c20e4b8d2186443529b945ac3386d21abc2
552320aa1aed946ac6e83a149355d495252e09f4
/rule/rule-code/oracle/DML_SORT.py
89a12a34f4f23ee4c2386b611357ac74181aa3cc
[]
no_license
kk71/sqlaudit
59bab5765a67f56f1dd2f3103812051c5acbbc49
51b4a3b188ab31da5511bb68f617933d771a3d51
refs/heads/main
2023-02-04T18:38:46.125746
2020-06-30T06:06:51
2020-06-30T06:06:51
323,559,338
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
import re def code(rule, entries, **kwargs): single_sql: dict = kwargs.get("single_sql") sql_text: str = single_sql["sql_text_no_comment"] dml_sort = re.compile(r"(\s)?((update )|(delete )).*order by", re.M+re.I) if dml_sort.search(sql_text): yield single_sql code_hole.append(code)
[ "kai.fang@kirintech.cn" ]
kai.fang@kirintech.cn
685d1a7c6b36d028af2b4c5681e232e478642a48
10720eba1c8d483ed1e360b86a4f7a9016bdd344
/source/py3exiv2-arm/pyexiv2/xmp.py
4edf01cf6978c882caacd436331ef2b64b756bd6
[ "MIT" ]
permissive
pageauc/pi-timolo
8faffad6d60f98f99ae364fad5647907e179a37c
66b550228d24037773434d53be3f324a3ffb6908
refs/heads/master
2023-08-06T16:27:28.327055
2022-10-26T15:55:12
2022-10-26T15:55:12
28,255,076
556
127
MIT
2023-09-11T06:24:00
2014-12-20T03:09:16
Python
UTF-8
Python
false
false
18,011
py
# -*- coding: utf-8 -*- # ****************************************************************************** # # Copyright (C) 2006-2011 Olivier Tilloy <olivier@tilloy.net> # Copyright (C) 2015-2016 Vincent Vande Vyvre <vincent.vandevyvre@oqapy.eu> # # This file is part of the py3exiv2 distribution. # # py3exiv2 is free s...
[ "pageauc@gmail.com" ]
pageauc@gmail.com
5160d3321356517efa62024bc797cf05922ac1ac
9947f5315175584c049d3690da3bd3b695c959a2
/ch-09-system-design-and-scalability/01-stock-data.py
664ed8d2aacd05cf4da2de998399540e43322f80
[]
no_license
GeorgeUofT/ctci-questions
3c32a2af59f980ee952386e3784fa6cb1e88ea56
99f65e56592b2e709984c85401a2faf8d01e620e
refs/heads/master
2021-05-04T05:51:02.011012
2018-02-05T19:41:29
2018-02-05T19:41:29
120,345,490
0
1
null
null
null
null
UTF-8
Python
false
false
42
py
# Design a system to deliver stock data.
[ "greg@whatcode.net" ]
greg@whatcode.net
8571604395b1648e6b411f1aa7fd5c76a1acea6e
9f91fa2910d13273a50ae416c116e16385a4eb95
/bsestarmfapi/custcreation.py
5e53c81e1a44c3937ae275c55bf08d3c460f1b8d
[]
no_license
natrayanp/mysb_v2
cac811e7f66670f8546cccdbca386ba6ff4f8cd6
24dea04e2a631ca6b465b3f62077a83a5dce9758
refs/heads/master
2022-11-20T16:49:30.341095
2018-07-31T17:18:04
2018-07-31T17:18:04
116,319,931
0
1
null
2022-11-14T21:09:17
2018-01-05T00:05:13
Python
UTF-8
Python
false
false
21,514
py
from bsestarmfapi import app #from .hello_world import app from flask import request, make_response, jsonify, Response, redirect from bsestarmfapi import settings from datetime import datetime import requests import json import zeep @app.route('/custcreation',methods=['GET','POST','OPTIONS']) def create_user_bse(): ...
[ "natrayan@localhost.localdomain" ]
natrayan@localhost.localdomain
1841e5f59a2690cdc2fb0f3fe2a6685186d96ab9
ce7fb81204902a49786b6b9cbf29647d159f28c3
/node/SQL/mysql/tbl_vector_style_insert.py
961d1c50619e01fe8b7ec63c6907d31cdb4ffd3a
[]
no_license
seefs/Source_Insight
cddc11b80b2ffe7d01200867d9db5185521ed201
130d807d99333d11a708e59a80b06b0a5377f1a3
refs/heads/master
2023-08-16T21:16:19.543498
2023-08-06T18:17:11
2023-08-06T18:17:11
165,578,073
7
3
null
null
null
null
UTF-8
Python
false
false
1,831
py
import pymysql import re # 打开数据库连接 db = pymysql.connect("localhost","root","s0f0s0","jiebanew" ) # 使用cursor()方法获取操作游标 cursor = db.cursor() match_str = '_' dict = {} sql_rd = "SELECT * FROM tbl_base_all" sql_rd = "SELECT * FROM tbl_base_all" #sql_wr_pre = "UPDATE tbl_vector SET `VC%s` =%s where VID = %s;" sql_w...
[ "seefs@163.com" ]
seefs@163.com
29f4630dce6ed1e24ddcb6b1e4a73d2781516456
60325d386df03a8a5d2602139b9b6a7422c8e79c
/Python/SOP/SOP_create_gizmo.py
c0be55f579105a0634ea62df51c95a0e96d13af0
[]
no_license
jsa4000/SideFX-HOUDINI
98f5aacfda4709a721a7cadb3c61171f1b8012ae
2366b4b87c0e780dbc9ccecfc8bc04f8e59a01c9
refs/heads/master
2021-01-22T09:27:57.533881
2017-04-28T11:23:22
2017-04-28T11:23:22
81,961,380
5
3
null
null
null
null
UTF-8
Python
false
false
1,149
py
node = hou.pwd() geo = node.geometry() # Add code to modify contents of geo. # Use drop down menu to select examples. attrib = geo.addAttrib(hou.attribType.Point,"Cd",(0,0,0)) # Vector X (Side) sidevector = hou.Vector3((1.0,0.0,0.0)) sidevector.normalized() attribSide = geo.addAttrib(hou.attribType.Point,"Side",side...
[ "jsa4000@gmail.com" ]
jsa4000@gmail.com
2fc2533d27af5189679f1be9017cff8d67e35c0d
02e5b1240db2ef04b4f8b661a9ac4ce060144d74
/test/geweke_ct_test.py
5b96979aa97f893c391cdafaa57f3d088f12b1fa
[ "MIT" ]
permissive
jayeshchoudhari/pyhawkes
b3b143a5040730826c23a9b3703159dbeb9bf21d
f4b0e6e3ce7f74e647f0ed2254ea334c22d6e82b
refs/heads/master
2021-06-12T12:55:54.740142
2017-03-27T06:47:16
2017-03-27T06:47:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,149
py
import numpy as np np.random.seed(1234) import matplotlib.pyplot as plt from scipy.stats import gamma, t, probplot from pyhawkes.models import ContinuousTimeNetworkHawkesModel from pybasicbayes.util.text import progprint_xrange def test_geweke(): """ Create a discrete time Hawkes model and generate from it. ...
[ "scott.linderman@gmail.com" ]
scott.linderman@gmail.com
744b752fdc73caa1bf598b98daad68d6aa243493
d2226b6a225e56cab534f4c7afabc3d0ac3b0b3f
/vaemodelHNTriplet.py
ab6c1d701ab28363976271edaeedeb0ad5620223
[]
no_license
xixiareone/vae-crossmodal-retrieval
74b384fc676d20d41023a8938d10e33bacc0564a
31bcc443d2a25ad33803751ee5e3ddd9e5404e5e
refs/heads/master
2022-12-24T17:03:29.304549
2020-10-10T14:50:19
2020-10-10T14:50:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,969
py
#vaemodel import copy import torch import torch.backends.cudnn as cudnn import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.autograd as autograd from torch.utils import data from data_loader import DATA_LOADER as dataloader from dataloader import Flickr30k as dataLoader import...
[ "noreply@github.com" ]
xixiareone.noreply@github.com
cd694d8462a1f2b71eb76f7f4cdc2aca77dba37f
b6fc54cff7037f5e4ef26cb4a645d5ea5a6fecdf
/001146StepikPyBegin/Stepik001146PyBeginсh09p03st05TASK04_20210127.py
82cd17e8322c2feb3ea34e49298c9d2e4d3f1eaa
[ "Apache-2.0" ]
permissive
SafonovMikhail/python_000577
5483eaf2f7c73bc619ce1f5de67d8d689d2e7dd4
f2dccac82a37df430c4eb7425b5d084d83520409
refs/heads/master
2022-12-08T10:53:57.202746
2022-12-07T09:09:51
2022-12-07T09:09:51
204,713,341
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
s1 = 'a' s2 = s1.upper() print(s1, s2)
[ "ms33@inbox.ru" ]
ms33@inbox.ru
454486b360222d0be71121c0c3b0766b377b6de8
4369c5a214f8c4fb1f8a286f72d57cfa9c3f02c7
/geotrek/tourism/migrations/0004_auto_20190322_1908.py
f03a350395c6ef760026fa83bddfb5dc1f73f878
[ "BSD-2-Clause" ]
permissive
GeotrekCE/Geotrek-admin
c13d251066e92359c26f22d185b8bd2e26e622ef
a91b75261a876be51ad2a693618629900bea6003
refs/heads/master
2023-08-21T12:45:25.586551
2023-08-09T12:28:33
2023-08-09T12:28:33
9,886,107
71
56
BSD-2-Clause
2023-09-13T09:40:33
2013-05-06T12:17:21
Python
UTF-8
Python
false
false
1,182
py
# Generated by Django 1.11.14 on 2019-03-22 18:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tourism', '0003_auto_20190306_1417'), ] operations = [ migrations.AlterModelOptions( name='touristiccontenttype1', ...
[ "gael.utard@makina-corpus.com" ]
gael.utard@makina-corpus.com
3b9e645996132a272316f8928612a8d743e4ee43
026f12a5fdd4b3bfee00713091267aaef71047c1
/end/demo1/bookdemo/polls/forms.py
59f1ce8aebd950796aeffb0769d69f030a0e8aaa
[]
no_license
zzy0371/py1911project
64c64413ea0107926ae81479adc27da87ee04767
7ce2a2acfc1dade24e6e7f8763fceb809fabd7a1
refs/heads/master
2023-01-08T07:51:13.388203
2020-03-19T03:31:33
2020-03-19T03:31:33
239,649,431
0
1
null
2023-01-05T09:04:53
2020-02-11T01:22:35
JavaScript
UTF-8
Python
false
false
1,112
py
from django import forms from .models import User class LoginForm(forms.Form): """ 定义一个登录表单用于生成html登录表单 """ username = forms.CharField(max_length=150,min_length=3, label="输入用户名", help_text="用户名最小6,最大150",) password = forms.CharField(min_l...
[ "496575233@qq.com" ]
496575233@qq.com
6eea14cd8ff6d3489b18e1c0a58b2528c6b0370c
a4deea660ea0616f3b5ee0b8bded03373c5bbfa2
/concrete_instances/register-variants/vrsqrtps_xmm_xmm/instructions/vrsqrtps_xmm_xmm/vrsqrtps_xmm_xmm.gen.vex.py
9f8d295f1eb314cbe69055e099f7208efc7b0bdf
[]
no_license
Vsevolod-Livinskij/x86-64-instruction-summary
4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd
c276edab1b19e3929efb3ebe7514489f66087764
refs/heads/master
2022-02-02T18:11:07.818345
2019-01-25T17:19:21
2019-01-25T17:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
import angr proj = angr.Project('./instructions/vrsqrtps_xmm_xmm/vrsqrtps_xmm_xmm.o') print proj.arch print proj.entry print proj.filename irsb = proj.factory.block(proj.entry).vex irsb.pp()
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
b63fa9d1cd2d5f05bba5cf59b8e7584e386ff9ef
25d081c82bf9adc2a8d96c254df0239a9f982a71
/tools/file_search.py
11469d4167adeef4ce416653eba9b2256b77e6d2
[ "MIT" ]
permissive
asiekierka/z2
f102de582aaa9fc51b6b598a1fb07c58be4f540f
d926408423dc98d71d5e7fc2fda3202c03c309de
refs/heads/master
2021-06-15T15:09:41.614135
2021-02-23T02:44:54
2021-02-23T02:44:54
146,348,922
1
0
MIT
2018-08-27T20:14:46
2018-08-27T20:14:46
null
UTF-8
Python
false
false
2,140
py
import django import os import re import sys import zipfile sys.path.append("/var/projects/museum") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "museum.settings") django.setup() from museum_site.models import File # noqa: E402 from museum_site.constants import SITE_ROOT # noqa: E402 def main(): shortcuts ...
[ "doctordos@gmail.com" ]
doctordos@gmail.com
de3366ed069ff8116b3bfe89dc977aaa79c406f6
ea35facf6d823e93706b5f551408250b1e089be9
/共通問題/14_12.py
d02d6ce9cf4df2e35aed12e8c7dfc19af3116257
[]
no_license
YukiNGSM/PythonStudy
7a2d24f4762e384531eadd691858296b00b6a6b3
26310d0e007745ff4920ccd0fc3e51771cb2d5f1
refs/heads/master
2023-07-19T00:06:29.061255
2021-09-22T01:29:49
2021-09-22T01:29:49
409,025,304
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
address_str = input("住所を入力してください:") index = 0 if address_str.find("東京都") != -1: index = address_str.find("都") elif address_str.find("北海道") != -1: index = address_str.find("道") elif address_str.find("大阪府") != -1 or address_str.find("京都府") != -1: index = address_str.find("府") elif address_str.find("県") != -1...
[ "ykh2135239@o-hara.ac.jp" ]
ykh2135239@o-hara.ac.jp
2206ac9cfa6da743114677db3d089f306b0497aa
3f9e960174cfc5c8bd6827ce5362124c467a3952
/python/prep/find-max.py
e9a8c5f30d079fb61552d3949305b9912db251da
[]
no_license
monobinab/python
f3ec6d462d7149c007ac9e14e72132eae73b4acd
265621b045969c819eb86fa7ba2a3bdfad34ecb6
refs/heads/master
2020-12-03T00:04:29.185880
2017-07-01T18:53:11
2017-07-01T20:06:16
95,982,002
0
0
null
null
null
null
UTF-8
Python
false
false
2,057
py
# some functions to work with loop def find_max(data): biggest = data[0]; print(biggest) for val in data: if val > biggest: biggest = val; return biggest; print(find_max([1000, 1, 2, 3, 7, 7, 100, 4])) def find_min(data): smallest = data[0]; for val in data: if va...
[ "monobina.saha@searshc.com" ]
monobina.saha@searshc.com
82c64dbf0b000b43b1611773f5fc004e0c6e24e6
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/Data2vec_for_PyTorch/fairseq/models/speech_to_text/utils.py
33117446a5e2f3b71c64f0a7b6b8122a1ac7c182
[ "MIT", "BSD-3-Clause", "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
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
18,584
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import logging from collections.a...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
259a015c82d514ec77e650e0acb5a9afebc642d2
8f48d12b88048e424ebb0d72ca6dfab5cf12ae0f
/0600_0999/923.py
0da37c61c3b5051a81a5e025ce875afd0d36cebc
[]
no_license
renjieliu/leetcode
e1caf13c18a8107ed9252588b339fb76bcb1b246
4668b64fcb9320b6c316d8608fc61911ce43b6c7
refs/heads/master
2023-03-18T18:16:06.187741
2023-03-14T20:31:59
2023-03-14T20:31:59
128,823,819
7
0
null
null
null
null
UTF-8
Python
false
false
2,542
py
class Solution: def threeSumMulti(self, arr: 'List[int]', target: int) -> int: # O(N2LogN | N) hmp = {} for a in arr: if a not in hmp: hmp[a] = 0 hmp[a] += 1 output = 0 arr = sorted(hmp.keys()) seen = set() fact = lambda x: 1 if...
[ "anlrj@qq.com" ]
anlrj@qq.com
65d45ee320837f03ec2327071590305732848200
af7a8e1fcacb1ac50ae6c8072db608ca3e80a839
/tests/test_linearize.py
7e5bb8ea9c414b953f498ee4f92ab10ba1a07ebb
[ "MIT" ]
permissive
wszhang/devito
3c497af69a8420bae00b17ad8c0b9c08ca1de704
a7dbdabe505ded73781ca06e0a1c40b4d582655d
refs/heads/master
2023-09-06T00:33:43.694995
2021-10-13T07:51:29
2021-10-13T07:51:29
416,707,398
0
0
null
null
null
null
UTF-8
Python
false
false
6,806
py
import pytest import numpy as np import scipy.sparse from devito import (Grid, Function, TimeFunction, SparseTimeFunction, Operator, Eq, MatrixSparseTimeFunction) from devito.ir import Expression, FindNodes def test_basic(): grid = Grid(shape=(4, 4)) u = TimeFunction(name='u', grid=grid)...
[ "f.luporini12@imperial.ac.uk" ]
f.luporini12@imperial.ac.uk
9934aca3276aec7f5db8547b6452a74f26e0922c
54bb9ba6d507cd25b2c2ac553665bc5fc95280d1
/tests/onegov/gazette/test_views_categories.py
f4a276ee54ff21d4de1bd1636e5d63f25c6af2d0
[ "MIT" ]
permissive
href/onegov-cloud
9ff736d968979380edba266b6eba0e9096438397
bb292e8e0fb60fd1cd4e11b0196fbeff1a66e079
refs/heads/master
2020-12-22T07:59:13.691431
2020-01-28T08:51:54
2020-01-28T08:51:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,759
py
from freezegun import freeze_time from tests.onegov.gazette.common import login_editor_1 from tests.onegov.gazette.common import login_publisher from pyquery import PyQuery as pq from webtest import TestApp as Client from xlrd import open_workbook def test_view_categories(gazette_app): with freeze_time("2017-10-2...
[ "denis.krienbuehl@seantis.ch" ]
denis.krienbuehl@seantis.ch
4219927749366d39a842c23f600cc6771f74d51a
3784495ba55d26e22302a803861c4ba197fd82c7
/venv/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/canned/linear_optimizer/python/utils/sharded_mutable_dense_hashtable.py
b73d3f8878dd4a6f649ad6783b7a54e4bc242a91
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
14,573
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...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
8106dce1761f9380a357a6fea81f564b15eecbf6
82d588161a8f8cd27c3031c779120ea4380791b9
/minjoo/Codility/CountDiv.py
3da57e4f57e8f12ec1b46b4f62a80179f7909600
[]
no_license
Yejin6911/Algorithm_Study
3aa02a7d07169382a78c049d1de8251a52da816c
98c968bfeed17ab6b62e3a077280e0310f08190a
refs/heads/master
2023-09-01T00:31:07.212413
2021-10-24T07:56:21
2021-10-24T07:56:21
345,009,057
1
1
null
2021-09-20T13:08:33
2021-03-06T04:57:34
Python
UTF-8
Python
false
false
131
py
import math def solution(A, B, K): aq = A / K bq = B / K a = math.ceil(aq) b = math.floor(bq) return b - a + 1
[ "mjson1954@gmail.com" ]
mjson1954@gmail.com
da37b96591b53f54d4027e1195cb8b282365e5e6
0f0484e60c4bffca000a41ec79d9bfe340f306dd
/mainclean.py
7ae80fac601fb3115d4f86177d63d9182d66a454
[]
no_license
drewlinsley/girik_tracker
a0e40d6baa3ac6ebb8a03ae75aefa157c21c2579
1f533637dc1d1c9b95f66a5642ef36fe0a985b9c
refs/heads/main
2023-05-25T17:28:59.249668
2021-01-18T19:24:57
2021-01-18T19:24:57
330,765,699
0
0
null
null
null
null
UTF-8
Python
false
false
15,971
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 21 14:04:57 2019 """ import os import time import torch from torchvision.transforms import Compose as transcompose import torch.nn.parallel import torch.optim import numpy as np # from utils.dataset import DataSetSeg from utils.TFRDataset import t...
[ "drewlinsley@gmail.com" ]
drewlinsley@gmail.com
a8585cd8a0146d0882917a004252adfda2b8a5ce
46853d317dcb7784dc84504c86cb0719a4fe471b
/project/settings.py
5601662d65f43cacad8db8f4973817faa03c7486
[ "MIT" ]
permissive
naritotakizawa/django-inlineformset-sample
f9d41a2f4fee5db7f0b769ddb9696ae773aae61b
f4a3e4420b20ab677cb535f7778c48dbc32ea70b
refs/heads/master
2020-05-05T13:12:34.783845
2019-04-08T04:12:39
2019-04-08T04:12:39
180,066,167
1
1
null
null
null
null
UTF-8
Python
false
false
3,186
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "toritoritorina@gmail.com" ]
toritoritorina@gmail.com
bcf66c3d94df586464daf88e9c71a471c5b330e1
b011e7ef91fc42265a7eec23e606666b91656caf
/EmployeeApplicationProject/EmployeeApplicationApp/apps.py
0048d61da207f875ed1a8f0700a06c3e7e5d97ff
[ "Apache-2.0" ]
permissive
cs-fullstack-2019-spring/django-formclassv2-cw-bettyjware11
baf683ac37408c87406796d0a049cb64e0077161
f3c5bab69044ef4d783c784dbf6d2672b50445ba
refs/heads/master
2020-04-25T17:28:48.717233
2019-03-01T20:06:56
2019-03-01T20:06:56
172,949,668
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from django.apps import AppConfig class EmployeeapplicationappConfig(AppConfig): name = 'EmployeeApplicationApp'
[ "bettyjcawthon@gmail.com" ]
bettyjcawthon@gmail.com
1dbb63f19b1ee2220310935ef14589378a92a1d4
be9f862686ac12926d10b6bae4673da68460dfad
/constants.py
4cfd552fc1773c7e91676a3667e6b0203ada9367
[]
no_license
SHAKOTN/hopper
c95da58b11dc81bbb28196946b13f5e9e709621f
536e7dc7ed695e6b1d5e7ba4f958f4b273668544
refs/heads/main
2023-02-11T11:05:08.777006
2021-01-08T20:07:02
2021-01-08T20:07:02
324,402,667
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from enum import Enum class WaysToTravel(Enum): BY_SEA = "by-sea" AIRBORNE = "airborne"
[ "jadecoresky@gmail.com" ]
jadecoresky@gmail.com
be1600bc1975659320667879170d3beef2f42c17
3b3585bb12becfe72af03814cec645b0c8e6c779
/satchmo/product/factories.py
c455d7c2e2cd3167f6f5ae085bd3097dcc955e76
[ "BSD-2-Clause" ]
permissive
juderino/jelly-roll
aac548073487511c5b935d9fb20c5a995c665b9b
ccac91bf3aab06fec4f83a7f9eabfa22d41b922a
refs/heads/master
2021-01-18T21:04:15.232998
2015-07-21T20:35:26
2015-07-21T20:35:26
36,597,803
0
0
null
2015-05-31T10:16:21
2015-05-31T10:16:21
null
UTF-8
Python
false
false
1,062
py
import factory from decimal import Decimal from django.contrib.sites.models import Site from django.template.defaultfilters import slugify from satchmo.product.models import ( ConfigurableProduct, Product, Price, ) class ProductFactory(factory.django.DjangoModelFactory): class Meta: model = ...
[ "tony@ynottony.net" ]
tony@ynottony.net
a26207237f873a85d24db735c0e883f1fc52fa4a
3e8234adc26292085a78418d8475ca5fe83ef92a
/jupyterhub/sample_configs/cilogon/00-preamble.py
644223ca6b98635583d6caeec1e984103bd820af
[ "MIT" ]
permissive
womullan/jupyterlabdemo
5cef774de875606df5b2d759f1da9c1e766b5195
e8da8920627d32d2d6fa60e2083a88a630ad5209
refs/heads/master
2021-08-14T06:59:29.128152
2017-11-13T21:34:23
2017-11-13T21:34:23
110,708,695
0
0
null
2017-11-14T15:32:30
2017-11-14T15:32:30
null
UTF-8
Python
false
false
571
py
""" This is the JupyterHub configuration directory that LSST DM-SQuaRE uses. Different subconfiguration files in this directory do different things. The major components are the options form, the spawner, the authenticator, and the JupyterHub environment. These files are mapped into the JupyterHub configuration as a...
[ "athornton@gmail.com" ]
athornton@gmail.com
fe0c2abe2824f50000d7ed13b9919502d8a2cff1
a331ac86bf0dc281b1b819f70110deb873833698
/python/python-cookbook/web.py
421d3226809df35308d9acda67c1f97259eb17d1
[]
no_license
sunhuachuang/study-demo
f0c2bbaca78a6735442039a33a051a8b715f8490
822dfec043d53678c62f5dce407477f9fdd42873
refs/heads/master
2020-07-22T06:16:00.361964
2018-01-08T09:50:50
2018-01-08T09:50:50
66,520,404
0
0
null
null
null
null
UTF-8
Python
false
false
23,511
py
from urllib import request, parse import requests from socketserver import BaseRequestHandler, StreamRequestHandler, ThreadingTCPServer, TCPServer, UDPServer #from socket import socket, AF_INET, SOCK_STREAM import time import ssl import multiprocessing # 13 发送和接受大型数组 memoryviews def send_from(arr, dest): view ...
[ "huachuang20@gmail.com" ]
huachuang20@gmail.com
04b790b2a3106481a3b23156f43208a786867d2a
98b9521915fc87b963344e33ebfd779b02e9c33f
/virtual/bin/symilar
3b07a38d2af2742b5df49d3a7a393f6597f2422c
[ "MIT" ]
permissive
Jeffmusa/smartFridge
33f35483ddfd310f54b4aea7ccae4f6caf57c8bf
89c5dfca68ca80a36c062aa1bb195e6cf8f1a10f
refs/heads/master
2020-04-03T15:49:34.854722
2018-11-01T12:41:07
2018-11-01T12:41:07
155,379,225
0
0
MIT
2018-10-30T12:10:30
2018-10-30T12:10:29
null
UTF-8
Python
false
false
255
#!/home/vicklyne/smartFridge/virtual/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pylint import run_symilar if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_symilar())
[ "jeffmusa@gmail.com" ]
jeffmusa@gmail.com
a31b97f409e4a93874a09654a33245ce9caf47fb
6531a7c162f83cfd5e7a3c4ea8a93dae58717ff4
/le_social/openid/middleware.py
518b4a19c9f0638872c23ef170a66d27aae3753d
[]
no_license
brutasse/django-le-social
4a9103a4f24abcc054cdaaa222af9f349f24a03b
abf8a3bc57cf5f25d83b9806406cef8f9b87da63
refs/heads/master
2021-07-11T18:00:14.420981
2016-10-17T12:06:00
2016-10-17T12:06:00
1,677,246
26
4
null
2016-09-25T18:05:17
2011-04-28T19:07:01
Python
UTF-8
Python
false
false
199
py
class OpenIDMiddleware(object): """ Populates request.openid and request.openids """ def process_request(self, request): request.openids = request.session.get('openids', [])
[ "buburno@gmail.com" ]
buburno@gmail.com