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
4fc5cd909ace6525d66a306e4a947a7acf2d7448
8f2f54e3337c13252fd466c3ceab7d8d7781a4ea
/basal/base_model.py
9ca606036c8a62ae8df2d434169ccdab73ef6a7d
[]
no_license
dansand/crustyconvection
c4eded1598920b95c5a866f11a8683d7f88bbf7a
6506bb525a50671e7d8c958d145d834aa8358b2d
refs/heads/master
2021-01-15T08:05:07.182439
2019-02-21T03:52:26
2019-02-21T03:52:26
49,477,935
0
0
null
null
null
null
UTF-8
Python
false
false
45,027
py
# coding: utf-8 # Crameri-Tackley model # ======= # # From Cramer and Tackley 2015 # -------- # # # # # # References # ==== # # # # Load python functions needed for underworld. Some additional python functions from os, math and numpy used later on. # In[19]: import networkx as nx import underworld as uw ...
[ "sonderfjord@gmail.com" ]
sonderfjord@gmail.com
1ccfedd89dc3598e0b125d7c90fb2f24a5542eed
0a2cc497665f2a14460577f129405f6e4f793791
/sdk/deploymentmanager/azure-mgmt-deploymentmanager/azure/mgmt/deploymentmanager/aio/operations/_service_units_operations.py
5809b54b4000f26ae07611e01667bfe29872d3b4
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
hivyas/azure-sdk-for-python
112158aa9e1dd6e30cf6b3dde19f5db6ea2a577b
8b3258fa45f5dc25236c22ad950e48aa4e1c181c
refs/heads/master
2023-06-17T12:01:26.392186
2021-05-18T19:56:01
2021-05-18T19:56:01
313,761,277
1
1
MIT
2020-12-02T17:48:22
2020-11-17T22:42:00
Python
UTF-8
Python
false
false
21,101
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" ]
hivyas.noreply@github.com
977cd26e8a9ce77960696f23c7267eaec7fa0dd3
584db1be8b6bdedaa56d186692ad72da5ee07164
/patron/tests/functional/v3/test_instance_usage_audit_log.py
6a882a19ad76b2c75966c710359475c274d32493
[ "Apache-2.0" ]
permissive
casbin/openstack-patron
66006f57725cf1c3d735cd5529d3459fd77384c8
b41b1262f3a52c8cc9f6b6bdf87be5a1abcf6d25
refs/heads/master
2023-05-31T05:23:37.721768
2015-12-31T12:18:17
2015-12-31T12:18:17
382,054,546
0
0
null
null
null
null
UTF-8
Python
false
false
2,250
py
# Copyright 2012 Nebula, Inc. # Copyright 2013 IBM Corp. # # 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...
[ "hsluoyz@qq.com" ]
hsluoyz@qq.com
306694ae20d0761a8ceb55a2d83fc0495e190317
ff182eeaf59b16f79b7d306eef72ddaadf0f4e71
/Vaffle_interface/testcase/MessageModule/Message_test21_question_answerquestionlist.py
cca8da534dbe3a9cae3189adbf5e7b7bdc28b965
[]
no_license
heyu1229/vaffle
04d6f8b0d3bd0882ff1cdea54d18d5fdde7933b9
2c1c040f78094cf3cfc68f08627a958c4aa5e1d5
refs/heads/master
2023-06-05T09:55:21.894344
2021-03-12T07:26:45
2021-03-12T07:26:45
381,248,658
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
# -*- coding:UTF-8 -*- import unittest,time,json from Vaffle_interface.public_1.func_requests import FuncRequests #---------------QA答题列表--------------------- class Message(unittest.TestCase): def setUp(self): self.r = FuncRequests() #-----------------QA答题列表--------------------------------- def te...
[ "921467314@qq.com" ]
921467314@qq.com
dd53c3727ad67dbcc8f4cc1ff5e0b523226dd686
89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04
/build/android/developer_recommended_flags.gypi
79c201deccb3b99bf444200fbc6d40cbfa1cec79
[ "BSD-3-Clause" ]
permissive
bino7/chromium
8d26f84a1b6e38a73d1b97fea6057c634eff68cb
4666a6bb6fdcb1114afecf77bdaa239d9787b752
refs/heads/master
2022-12-22T14:31:53.913081
2016-09-06T10:05:11
2016-09-06T10:05:11
67,410,510
1
3
BSD-3-Clause
2022-12-17T03:08:52
2016-09-05T10:11:59
null
UTF-8
Python
false
false
2,722
gypi
# Copyright 2013 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. # This is the set of recommended gyp variable settings for Chrome for Android development. # # These can be used by copying this file to $CHROME_SRC/chrome/s...
[ "bino.zh@gmail.com" ]
bino.zh@gmail.com
5f9b9da363ca1b7046a85b9ca50ffd5a17546d0a
6a1e30c699125d05caf4b3443b83c47d1a733851
/EMS/migrations/0002_auto_20200623_1446.py
2cd6aa0e0db237346a0fe2c980b78533bd1e4711
[]
no_license
Subhrans/Keekers
373b259c04bcd277a91e6e7679da5da2b799e184
b971b1a1f5c2436b3068b5003d220ca28fdced0f
refs/heads/main
2023-04-16T17:26:43.207550
2021-04-07T18:10:49
2021-04-07T18:10:49
355,639,412
1
0
null
null
null
null
UTF-8
Python
false
false
414
py
# Generated by Django 3.0.1 on 2020-06-23 09:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('EMS', '0001_initial'), ] operations = [ migrations.AlterField( model_name='employee', name='e_experience', ...
[ "subhransud525@gmail.com" ]
subhransud525@gmail.com
b90768d806834c51f4937d283dcb46b436f8db8a
4e7db10524c938c8c6e687521def2889e20ec646
/P16/1-16.py
a1030b875a6397384fd635bad46dc8338e9e1d13
[]
no_license
mpigrobot/python
e5cf60ca438e0d5e63a1e87a266a9e255bc07271
bf9262657a7401f37de38318db768e630fab97a9
refs/heads/master
2020-03-15T15:37:03.228080
2018-03-31T07:33:07
2018-03-31T07:33:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
#! /usr/bin/env python #coding:utf-8 def del_space(string): split_string = string.split(" ") string_list = [i for i in split_string if i!=""] result_string = " ".join(string_list) return result_string if __name__=="__main__": one_str = "Hello, I am Qiwsir." string = del_space(one_...
[ "noreply@github.com" ]
mpigrobot.noreply@github.com
91f4d3ccee46519af255d5bac95200dd39e71f50
dc86022781700c04d143736d401138881d98fe14
/student_profile/urls.py
ccd89f5b0862df465e50872ee2d29c60807607f2
[]
no_license
SymaxxDigital/college-journal
d4b25901788221793e8c3ce25f7fefd6e150df4b
c188511ad38fc2fe1b3d5cf907b2ce7be46aad5e
refs/heads/master
2023-06-17T00:00:16.057099
2021-07-12T16:45:21
2021-07-12T16:45:21
372,991,491
0
1
null
null
null
null
UTF-8
Python
false
false
1,781
py
from django.urls import path from .views import ( ProfileView, ProfileCreateView, ProfileUpdateView, DemographicListView, DemographicCreateView, DemographicUpdateView, FamilyListView, FamilyCreateView, FamilyUpdateView, EducationListView, EducationCreateView, Educatio...
[ "bukhosizimcode@gmail.com" ]
bukhosizimcode@gmail.com
36674f77a3891e30e9a9320ef731c81cc8fc7b77
ec7591c3f478c43e76257aaa500d8f6a2e763d74
/stanza/utils/datasets/sentiment/process_airline.py
edacb874ed99653b6fc0f5adde34b14c3f9fb636
[ "Apache-2.0" ]
permissive
stanfordnlp/stanza
5cc3dbe70a96dd565639b7dae1efde6b4fa76985
c530c9af647d521262b56b717bcc38b0cfc5f1b8
refs/heads/main
2023-09-01T12:01:38.980322
2023-03-14T16:10:05
2023-03-14T16:10:05
104,854,615
4,281
599
NOASSERTION
2023-09-10T00:31:36
2017-09-26T08:00:56
Python
UTF-8
Python
false
false
2,631
py
""" Airline tweets from Kaggle from https://www.kaggle.com/crowdflower/twitter-airline-sentiment/data# Some ratings seem questionable, but it doesn't hurt performance much, if at all Files in the airline repo are csv, with quotes in "..." if they contained commas themselves. Accordingly, we use the csv module to read...
[ "horatio@gmail.com" ]
horatio@gmail.com
c959374bd1150ba5cf9665a077bc81075a46cbde
933e89e2d45803ff021cc684b4b78cd2e14a5b15
/AllBehaviours/agent_util.py
289676eb5c22b11ea1fdb417fd764da9c32b681b
[]
no_license
Occy88/MultiAgents
8123d2718df5f3ad202410097f821c6d69eadd7b
c49d89caf2db49dcc3571d87fa4fb4bade516226
refs/heads/master
2022-12-14T18:36:02.343056
2021-01-01T13:38:10
2021-01-01T13:38:10
214,148,130
0
0
null
2022-11-22T04:36:34
2019-10-10T10:00:00
Python
UTF-8
Python
false
false
5,716
py
from enum import Enum from vacuumworld.vwc import action, direction import math # RESOLVED AS SINGLE CHARACTERS TO SAVE COMMUNICATION BANDWIDTH class AgentPercepts(Enum): LEFT = '1' RIGHT = '2' TOP = '3' FRONT_LEFT = '4' FRONT_RIGHT = '5' class AgentActions(Enum): TURN_LEFT = '6' TURN_R...
[ "octavio.delser@gmail.com" ]
octavio.delser@gmail.com
6d33d07aa654f0785f0b7306fa9ba31354982ae1
028d788c0fa48a8cb0cc6990a471e8cd46f6ec50
/Python-Fundamentals/Final-Exam/Practice-Exams/Exam-04-04-2020/01_password_reset.py
9a2e5e197669e3de86bca07fdc4681b322e7edb2
[]
no_license
Sheko1/SoftUni
d6b8e79ae545116f4c0e5705ad842f12d77a9c9d
a9fbeec13a30231b6a97c2b22bb35257ac1481c0
refs/heads/main
2023-07-13T15:39:48.826925
2021-08-21T12:51:02
2021-08-21T12:51:02
317,266,200
2
3
null
null
null
null
UTF-8
Python
false
false
1,255
py
def take_odd(password): result = "" for i in range(len(password)): if i % 2 != 0: result += password[i] return result def cut(index_1, length_1, password): sub_string = password[index_1:index_1+length_1] password = password.replace(sub_string, "", 1) return password def ...
[ "martinkypar@gmail.com" ]
martinkypar@gmail.com
a389ef6945b30b5b0a5c5c6f45ca52d6239e2db7
f1ddb0bb268b3b1c3fe512b4753ff60fab5c78cb
/datapipe/image/kill_isolated_pixels.py
b31140cf0a14e5185b5940ec1561c30ed30fc096
[ "MIT" ]
permissive
jjlk/ctapipe-wavelet-cleaning
18ef70f2a68414974b0e5a187855694631f78121
091a657598a0cd493e8494319854bfc1dba3cea0
refs/heads/master
2021-05-11T10:43:55.292322
2018-01-17T14:24:29
2018-01-17T14:24:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,928
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) 2016 Jérémie DECOCK (http://www.jdhp.org) # This script is provided under the terms and conditions of the MIT license: # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (th...
[ "jd.jdhp@gmail.com" ]
jd.jdhp@gmail.com
f930dcaa01af621049c16c525a67e528ced24dd0
bcfa02c21a73798872bbb28303233d1f0039cf00
/server/www/packages/packages-darwin/x64/qrcode/tests/test_qrcode.py
32612e954908ff9d9bc64d772e9c9d534a53b38a
[ "Apache-2.0" ]
permissive
zhoulhb/teleport
6301cd50c951bcbac21cbe24017eb8421ff57adc
54da194697898ef77537cfe7032d774555dc1335
refs/heads/master
2021-11-10T17:10:59.661130
2021-11-09T11:16:19
2021-11-09T11:16:19
192,643,069
0
0
Apache-2.0
2019-06-19T02:20:53
2019-06-19T02:20:52
null
UTF-8
Python
false
false
8,891
py
import warnings import six import sys import qrcode import qrcode.util import qrcode.image.svg try: import qrcode.image.pure import pymaging_png # ensure that PNG support is installed except ImportError: # pragma: no cover pymaging_png = None import qrcode from qrcode.image.base import BaseImage from qr...
[ "apex.liu@qq.com" ]
apex.liu@qq.com
94b87efb8bbc64ecfe8f2e4dc896d8dd597d68d0
64a646a8c72c5a0a6c981a1864a2021c6526f025
/tests/test_printer.py
e95cf30018b49e2a9efed0993940e56173a451f5
[ "BSD-3-Clause" ]
permissive
vmagamedov/kinko
6b11d8bf38196a4100ed5c7679204f55461b7fd1
b65f8ae97bbf5d056781e90e22d2a369f440ed4c
refs/heads/master
2020-04-06T06:58:54.300766
2016-06-29T14:51:32
2016-06-29T14:51:32
38,629,823
5
0
null
null
null
null
UTF-8
Python
false
false
2,100
py
import difflib from textwrap import dedent from kinko.nodes import Tuple, Symbol, Keyword, String, List, Placeholder from kinko.printer import Printer from .base import TestCase class TestPrinter(TestCase): def assertPrints(self, node, output): first = Printer.dumps(node) second = dedent(output...
[ "vladimir@magamedov.com" ]
vladimir@magamedov.com
c080be714d98599463d46bacf36758234d7faf91
0e9e2bfc8d4b5c297ceb4908eb4ca55c4101ea5b
/function_views/migrations/0003_auto_20200420_2102.py
e59be5a859cb9efc08590d349ec9d9af9543c697
[ "MIT" ]
permissive
cyrilleAdelphe/django-views-tutorial
776ee1b08f0c6fc68fb56cf64f57bf20c557b9d0
71cd7fdb0846a61fcff7f1822d58b0e862be352a
refs/heads/master
2023-06-30T10:09:47.021727
2020-12-08T03:50:14
2020-12-08T03:50:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Generated by Django 3.0.5 on 2020-04-21 02:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("function_views", "0002_auto_20200420_2052"), ] operations = [ migrations.AlterField( model_name="user", name="bio", ...
[ "toddbirchard@gmail.com" ]
toddbirchard@gmail.com
824a8bfdd632b45637dadcb4532b085dc7756e6e
2d276785c3663d4798be462115291c4706dbd255
/Python从菜鸟到高手/chapter4/demo4.20.py
f4c7eb45f4e343ffc86089f644684daa5542aa05
[]
no_license
bupthl/Python
81c92433bd955663e6cda5fe7cab5ea3d067c3de
bdb33aeeb179a43100b9ef7129a925c63a133fd3
refs/heads/master
2022-02-21T11:02:40.195265
2019-08-16T05:49:18
2019-08-16T05:49:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
''' --------《Python从菜鸟到高手》源代码------------ 欧瑞科技版权所有 作者:李宁 如有任何技术问题,请加QQ技术讨论群:264268059 或关注“极客起源”订阅号或“欧瑞科技”服务号或扫码关注订阅号和服务号,二维码在源代码根目录 如果QQ群已满,请访问https://geekori.com,在右侧查看最新的QQ群,同时可以扫码关注公众号 “欧瑞学院”是欧瑞科技旗下在线IT教育学院,包含大量IT前沿视频课程, 请访问http://geekori.com/edu或关注前面提到的订阅号和服务号,进入移动版的欧瑞学院 “极客题库”是欧瑞科技旗下在线题库,请扫描源代码根目录中的小程序码安装“极客...
[ "registercn@outlook.com" ]
registercn@outlook.com
15729ac399f50b317aa8bb686eb760418a3e65cf
1b5f653955779f45e78ca6dda925518779d09e8f
/submissions/2779.py
ae704befd917231ea60204a5bca5bfbc3b93854e
[]
no_license
LeonardoSaid/uri-py-solutions
ad285f552934ead54ad2410e23113e84b0724f72
43c10c0e99e99d22b4b5ae2871e5d897f8823b42
refs/heads/master
2020-08-11T00:28:48.661578
2020-04-23T20:21:39
2020-04-23T20:21:39
214,453,627
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
n = int(input()) c = int(input()) m = list() while c > 0: x = int(input()) if x not in m: m.append(x) c -= 1 print(n-len(m))
[ "noreply@github.com" ]
LeonardoSaid.noreply@github.com
7694ec591f3fb364781ff62e28267ea8d3b26a4e
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/pAFxfge35bT3zj4Bs_19.py
d59e6f7d09df6fd8ccc31e7672ecb60bc30a3dd0
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
""" Write a function that accepts `base` (decimal), `height` (decimal) and `shape` ("triangle", "parallelogram") as input and calculates the area of that shape. ### Examples area_shape(2, 3, "triangle") ➞ 3 area_shape(8, 6, "parallelogram") ➞ 48 area_shape(2.9, 1.3, "parallelogram") ➞ 3.77 #...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4269b68f681e3630513770809d1de919fa9e353e
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res_bw/scripts/common/lib/bsddb/test/test_dbshelve.py
723a44f72eb9db34edb2fb3745e46003fdd76de4
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
10,771
py
# 2016.02.14 12:46:57 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/bsddb/test/test_dbshelve.py """ TestCases for checking dbShelve objects. """ import os, string, sys import random import unittest from test_all import db, dbshelve, test_support, verbose, get_new_environment_path, get_new_database...
[ "info@webium.sk" ]
info@webium.sk
fdc6ea27d7950c594da38246cc2d8663b4d8363b
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/proc/applicationcpuhist15min.py
f7bb3a84414b139644153e14fb5cb1aafa198085
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
10,906
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
432eda245cde6554464c98cca73dea1dbe401983
2c5b25d0b5d6ba66d013251f93ebf4c642fd787b
/wrong_answer_codes/Next_Permutation/Next Permutation_279803526.py
0f2f44ba7c182ed06e0f91406f928fa3d8ab7085
[]
no_license
abhinay-b/Leetcode-Submissions
da8099ac54b5d36ae23db42580064d0f9d9bc63b
d034705813f3f908f555f1d1677b827af751bf42
refs/heads/master
2022-10-15T22:09:36.328967
2020-06-14T15:39:17
2020-06-14T15:39:17
259,984,100
2
0
null
null
null
null
UTF-8
Python
false
false
526
py
class Solution: def nextPermutation(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ if len(nums) < 2: return idx = len(nums) - 1 found = False while idx > 0: if nums[idx-1] < nums[i...
[ "abhinayb.sssihl@gmail.com" ]
abhinayb.sssihl@gmail.com
292f6b296954e7cea39ad9a0858abbaba0e99edc
5f86944bdf1b810a84c63adc6ed01bbb48d2c59a
/kubernetes/test/test_v1beta1_certificate_signing_request_status.py
c35e4425ee58df047c2b093e26ce28ab6d3998da
[ "Apache-2.0" ]
permissive
m4ttshaw/client-python
384c721ba57b7ccc824d5eca25834d0288b211e2
4eac56a8b65d56eb23d738ceb90d3afb6dbd96c1
refs/heads/master
2021-01-13T06:05:51.564765
2017-06-21T08:31:03
2017-06-21T08:31:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.6.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
1ecd3331a0fce54de551858fff25267360267370
b8f77ec8e4c6da4a2117140a3eeac0201ab08678
/seleniumbase/plugins/selenium_plugin.py
0516847bad855e38692c817c5c8f90e306b35431
[ "MIT" ]
permissive
CyrilShch/SeleniumBase
b07571172c173278eaf49b88ee24dd0eac779936
269e367d2b7bcd3741840241c5da184d7a3b2bc7
refs/heads/master
2023-06-11T20:42:13.325171
2021-07-04T12:56:30
2021-07-04T12:56:30
381,798,302
0
0
MIT
2021-06-30T18:29:27
2021-06-30T18:29:27
null
UTF-8
Python
false
false
27,689
py
# -*- coding: utf-8 -*- """ This is the Nosetest plugin for setting Selenium test configuration. """ import sys from nose.plugins import Plugin from seleniumbase import config as sb_config from seleniumbase.config import settings from seleniumbase.core import proxy_helper from seleniumbase.fixtures import constants ...
[ "mdmintz@gmail.com" ]
mdmintz@gmail.com
720356dcaeadc6446daf29ea65dc5897ed2614cf
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_227/ch25_2020_03_09_19_08_42_543739.py
28620a9b8ede3883991958f34592cf33371e7b28
[]
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
338
py
import math velocidade = float(input("Qual a velocidade da jaca? ")) ângulo = float(input("Qual o ângulo de lançamento da jaca? ")) distância = (velocidade**2)*(math.sin(math.radians(2*ângulo)))/(9.8) if distância < 98 : print('Muito perto') elif 98 <= distância <= 102 : print('Acertou!') else : print('Mu...
[ "you@example.com" ]
you@example.com
f8f31a1459502f000a301088ec73cfa9af65dd6d
673517e68db4b2540ac3a908a6374aaaa72e0f27
/tests/src/event/MakeBeansProfitEvent.py
06350a8843655b3b21df11747f98205409c96e13
[ "Apache-2.0" ]
permissive
buxx/synergine
3a977b69bc35c1a5af1056f98028f8b7412795d2
da05d762cdbc993362807d4851e1ca74784438ae
refs/heads/master
2021-07-03T19:57:24.486164
2017-09-04T09:19:45
2017-09-04T09:19:45
23,734,878
6
2
Apache-2.0
2021-06-10T14:15:26
2014-09-06T13:15:07
Python
UTF-8
Python
false
false
232
py
from tests.src.event.TestEvent import TestEvent from tests.src.TestSynergyObject import TestSynergyObject class MakeBeansProfitEvent(TestEvent): def _prepare(self, object_id, context, parameters={}): return parameters
[ "sevajol.bastien@gmail.com" ]
sevajol.bastien@gmail.com
4b514a998a289f87349c4cdfda7c3e9cb179742c
f5b4d2f294085565395cb060d0508cc60b331526
/vi/vn_express/spider.py
da6e99ead84c2fcf983dd2bcea95a235f8a1ba71
[]
no_license
HaManhDong/crawler_news
72fd8a18f0fe3358d1033667ee9857755dd07ac8
56171952a7bffef26ccfd397b08936ee259d52aa
refs/heads/master
2021-01-22T20:26:14.036281
2016-11-24T03:33:39
2016-11-24T03:33:39
85,321,142
0
0
null
2017-03-17T14:33:45
2017-03-17T14:33:45
null
UTF-8
Python
false
false
5,742
py
import datetime import scrapy from scrapy.exceptions import CloseSpider from database import database_connection from database.database_connection import NewsData class NewspaperItem(scrapy.Item): url = scrapy.Field() title = scrapy.Field() summary = scrapy.Field() content = scrapy.Field() class N...
[ "haminhcongbkhn@gmail.com" ]
haminhcongbkhn@gmail.com
a2ac3234cd4def8f830856f03044bd7161fbd180
8ff60c41c1cb387271a19b839ddb4ee951b41057
/message/migrations/0001_initial.py
3c0cfe80cb066405982f5f16be2f4526e2d184cb
[]
no_license
ajaypythonmate/codecrux
579306b7691898fe6bce43ac6ba385bb38c89d90
31a0e3b8b92ab3693efe7f053ba3ba94ef614b39
refs/heads/main
2023-04-02T09:51:35.834632
2021-04-06T04:52:27
2021-04-06T04:52:27
355,058,286
0
0
null
null
null
null
UTF-8
Python
false
false
3,028
py
# Generated by Django 3.1.3 on 2021-02-01 10:29 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL)...
[ "ajay.khuswaha@pythonmate.com" ]
ajay.khuswaha@pythonmate.com
184a87884146cb9b01e533a853cb3669cca251cf
50a8942417f2124ffeeedb527bb036d3227e4f52
/src/briefcase/__init__.py
531000413b17257869aed573d1eded5004db2a08
[ "BSD-3-Clause" ]
permissive
Viridescence/briefcase
b711b3334ef8e5fad7cded9eb60076437c94972d
a04adcc0091cbcc83d9c12d57bb6cc9fa705de42
refs/heads/master
2023-03-09T22:52:42.711239
2021-03-01T02:09:28
2021-03-01T02:09:28
342,579,930
0
0
BSD-3-Clause
2021-02-26T13:12:43
2021-02-26T13:12:42
null
UTF-8
Python
false
false
380
py
__all__ = [ '__version__', ] # Examples of valid version strings # __version__ = '1.2.3.dev1' # Development release 1 # __version__ = '1.2.3a1' # Alpha Release 1 # __version__ = '1.2.3b1' # Beta Release 1 # __version__ = '1.2.3rc1' # RC Release 1 # __version__ = '1.2.3' # Final Release # __versio...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
2ef807073708068bda7360e6552b4bd687dc2821
b38264a28f59248454972c54d19e4136aa3f181b
/tp3/algorithm_em.py
c1f399bc42fd5dfca969b15fb951c6e87392bae7
[]
no_license
icannos/machine-learning-medical-data
0ed8e4c47712daae081c2a8536766415b15505e2
8d79db4965a0297e1094f49780e920a75071e4bb
refs/heads/master
2020-12-15T10:01:46.479424
2020-03-18T14:10:34
2020-03-18T14:10:34
235,068,816
0
0
null
null
null
null
UTF-8
Python
false
false
2,465
py
import numpy as np import random from scipy.stats import multivariate_normal, norm class myEM: def __init__(self, n_components=1, dim=1): self.dim = dim self.n_components = n_components self.mu = None self.sigma = None self.reset() def reset(self): self.sigma ...
[ "maxime.darrin@ens-lyon.fr" ]
maxime.darrin@ens-lyon.fr
23a3ae57a468e1f126e12d677509104c6dd7bca9
78d23de227a4c9f2ee6eb422e379b913c06dfcb8
/Interview-prep/merge_list.py
5261ca9770974f95bb58bed058d70e103a38271e
[]
no_license
siddharthcurious/Pythonic3-Feel
df145293a3f1a7627d08c4bedd7e22dfed9892c0
898b402b7a65073d58c280589342fc8c156a5cb1
refs/heads/master
2020-03-25T05:07:42.372477
2019-09-12T06:26:45
2019-09-12T06:26:45
143,430,534
1
0
null
null
null
null
UTF-8
Python
false
false
132
py
import itertools L = [[1,2,3], [4,5], [6,7,8], [9,10,11]] merged = itertools.chain.from_iterable(L) for a in merged: print(a)
[ "sandhyalalkumar@gmail.com" ]
sandhyalalkumar@gmail.com
b5a23212cb338feb0206ac68fd0138470c6b4ef2
08cfc4fb5f0d2f11e4e226f12520a17c5160f0a2
/kubernetes/test/test_v2beta1_object_metric_status.py
dbd605d082a20f5aee5371947ac2a7b38d3ef172
[ "Apache-2.0" ]
permissive
ex3cv/client-python
5c6ee93dff2424828d064b5a2cdbed3f80b74868
2c0bed9c4f653472289324914a8f0ad4cbb3a1cb
refs/heads/master
2021-07-12T13:37:26.049372
2017-10-16T20:19:01
2017-10-16T20:19:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.8.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
d07c88d41d056a346ca71e8dd0c968788a908880
64b33c5c68b2b668f086fd218a1ce0e381f7fb40
/binary_image/PASCAL_VOC/NDUDE.py
59336883d98fe5377da828aee95b6b35171f3a2a
[]
no_license
hongjoon0805/ICE-N-DUDE
ce1f9c498ae490a76259be4d796e252a1ea6dedd
138e76ca56d39bc88a90a70e9c6d08d1c3a24b39
refs/heads/master
2020-04-20T11:43:55.646416
2019-02-02T11:50:54
2019-02-02T11:50:54
148,457,012
0
0
null
null
null
null
UTF-8
Python
false
false
4,724
py
# coding: utf-8 # In[1]: from core import * from tools import * import numpy as np from numpy import * import os import tensorflow as tf import keras as K import sys import argparse # In[4]: # ICML_2019/image class State_Estimation_Process: def __init__(self, n, k, nb_x_classes, nb_z_classes, x, z, param_...
[ "hongjoon0805@gmail.com" ]
hongjoon0805@gmail.com
dbbe06ceccb250198a84188d034663571ac01ebe
d423ac8072d7796ed512a41ee0c4221b0c98325c
/web/raw.py
62e96e88024a6186cce1802c5c7eb0ac52a40929
[ "Apache-2.0" ]
permissive
MagiCircles/frgl
fa579e965c451434e85b1bd7b1704869906fce2c
f8da4d6ff688862bfef0902e8315160ae1049e0a
refs/heads/master
2021-05-29T21:15:33.324305
2015-11-01T01:15:10
2015-11-01T01:15:10
42,368,540
0
1
null
null
null
null
UTF-8
Python
false
false
903
py
# -1 means the value is currently unknown # -2 means the value differs depending on the card cards_data = { 'C': { 'stages': 1, 'experiences': [0, 117, 417], 'performances': [60, 132, 200], 'levels': [0, 10, 20], 'max_level_reward': 10, }, 'R': { 'stages': 2,...
[ "db0company@gmail.com" ]
db0company@gmail.com
e2a001631a36104800fc4d40f2e65499ec59a9f7
b7546fccec3f417ece54d8fd9da369176f9190a8
/yt_auth.py
05ffc67d1740ba122cac09613e557a83a5383596
[]
no_license
Botmasher/yt-captions-languages
327f396c6357fb4ba1a50087b192c838f9e145d9
fa71069fabcfac5e6bfb5aaf9dda469b87c38037
refs/heads/master
2020-06-12T14:12:29.992320
2019-07-01T20:44:15
2019-07-01T20:44:15
194,325,010
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
# -*- coding: utf-8 -*- # Instructions for running these code samples locally: # https://developers.google.com/explorer-help/guides/code_samples#python import os import google_auth_oauthlib.flow import googleapiclient.discovery import googleapiclient.errors scopes = ["https://www.googleapis.com/auth/youtube.readonl...
[ "languagejosh@hotmail.com" ]
languagejosh@hotmail.com
e3c8b16e273d41aa26174d2de74d18df804737f3
183e4126b2fdb9c4276a504ff3ace42f4fbcdb16
/II семестр/Дискретна математика/Лаби/2016-17/Мазан 7109/2/Algorythms.py
4321fec35960e5e539d712a72179c4177fbdbb32
[]
no_license
Computer-engineering-FICT/Computer-engineering-FICT
ab625e2ca421af8bcaff74f0d37ac1f7d363f203
80b64b43d2254e15338060aa4a6d946e8bd43424
refs/heads/master
2023-08-10T08:02:34.873229
2019-06-22T22:06:19
2019-06-22T22:06:19
193,206,403
3
0
null
2023-07-22T09:01:05
2019-06-22T07:41:22
HTML
UTF-8
Python
false
false
3,467
py
from Names import names import networkx as nx import pylab as plt from random import sample,randint class graphs_gen(): def __init__(self,A,B,relation): self.relation = relation self.A = A self.B = B self.graph = nx.DiGraph() def define_graph(self): self.graph.add_nodes...
[ "mazanyan027@gmail.com" ]
mazanyan027@gmail.com
45e245a4a7fedb645ce234ffef4508e98fc3999e
7170e8a71c85bf88c43ae7524ffab25cf853b916
/tests/test_athena_parquet.py
c878725b68b27b5cf81729239b39a1c0b048d876
[ "Apache-2.0" ]
permissive
ibanmarco/aws-data-wrangler
b18aa898e2c0f33f225c44cdebf11b25f6637f63
e99937296075c671e5f8a0998b430879c808687d
refs/heads/master
2022-12-29T21:18:18.351632
2020-10-19T19:13:58
2020-10-19T19:13:58
289,549,549
0
0
Apache-2.0
2020-10-19T19:13:59
2020-08-22T19:01:24
Python
UTF-8
Python
false
false
26,492
py
import datetime import logging import math import time from decimal import Decimal import boto3 import numpy as np import pandas as pd import pytest import awswrangler as wr from ._utils import ensure_data_types, get_df, get_df_cast, get_df_list logging.getLogger("awswrangler").setLevel(logging.DEBUG) def test_pa...
[ "igorborgest@gmail.com" ]
igorborgest@gmail.com
df4bd70ae363af51471337895bdf0d0e88de410a
e78154abbb8bacf5afccda9da371684cbeabad36
/envs/ALPHA-POPEGO/lib/python2.5/site-packages/twisted/web2/dav/method/put.py
17bbf984ea913e62fbe9dbcba0185cc46d7d0d2f
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
enterstudio/popego
1a196fabc374c0f45764e5c74bd7752236424040
2d09e793d9d2f297139edb325b8a70ddda9b2705
refs/heads/master
2021-04-09T16:39:40.781634
2016-10-14T16:53:47
2016-10-14T16:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,519
py
# -*- test-case-name: twisted.web2.dav.test.test_put -*- ## # Copyright (c) 2005 Apple Computer, Inc. All rights reserved. # # 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 restrictio...
[ "santisiri@gmail.com" ]
santisiri@gmail.com
12ff03f8aed23af658ae9feafae2a89b573e0010
0ec51a4bf5013e8601d5fa621f6cde88eeb7b4b5
/CUDA_Python/课程3/solutions/col_sums_solution.py
be380447aa903d7bf52c47c924b00125a632c2dd
[ "MIT" ]
permissive
bobo0810/PytorchNetHub
6228b0dd69ab2b22b81867c99262a0b1675759a1
15312703bc5bf2e1771de1c96402366fa3e727d4
refs/heads/master
2023-08-30T14:35:59.369145
2023-08-14T03:22:58
2023-08-14T03:22:58
132,425,167
383
95
null
null
null
null
UTF-8
Python
false
false
145
py
@cuda.jit def col_sums(a, sums, ds): idx = cuda.grid(1) sum = 0.0 for i in range(ds): sum += a[i][idx] sums[idx] = sum
[ "1055271769@qq.com" ]
1055271769@qq.com
91ab54c692b193ef15b70f550d25cc8e939e0c69
f68cd225b050d11616ad9542dda60288f6eeccff
/testscripts/RDKB/component/CMAgent/TS_CMAGENT_GetParamValues.py
1f450f59ff0d7bd463c9d4fb7aac9399f70ba71d
[ "Apache-2.0" ]
permissive
cablelabs/tools-tdkb
18fb98fadcd169fa9000db8865285fbf6ff8dc9d
1fd5af0f6b23ce6614a4cfcbbaec4dde430fad69
refs/heads/master
2020-03-28T03:06:50.595160
2018-09-04T11:11:00
2018-09-05T00:24:38
147,621,410
0
0
null
null
null
null
UTF-8
Python
false
false
5,681
py
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2016 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use th...
[ "jim.lawton@accenture.com" ]
jim.lawton@accenture.com
d1c71a3a09bf1ab60e9939f0fc2e6fa3d0844338
10d98fecb882d4c84595364f715f4e8b8309a66f
/rouge/test_util.py
041dfba5fa55d03239266f5a3c3157d65409c920
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
1,310
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
2825a5aac7cc59f516e43a1498d6e501bcb4853d
e0fc7493f4339145792f54bcd7124acea500ca45
/cpc/ir/Case.py
9e62727bce0a942a4cb172aec455d5c2ebb9d7ae
[ "BSD-3-Clause" ]
permissive
U-Ar/Cpresto
d52d99e8d44ed01c87c8911614d744cae695d6aa
f723458fb237c9e3e8bc8a6afdf7c81858a65363
refs/heads/main
2023-05-14T15:28:38.449783
2021-06-06T15:07:14
2021-06-06T15:07:14
364,445,894
1
0
null
null
null
null
UTF-8
Python
false
false
315
py
from .IRDumpable import IRDumpable class Case(IRDumpable): def __init__(self,value,label): self._value = value self._label = label def dump(self, dumper): dumper.print_class(self) dumper.print_member("value",self._value) dumper.print_member("label",self._label)
[ "yuma.arakawa82128awakara.amuy@gmail.com" ]
yuma.arakawa82128awakara.amuy@gmail.com
4e201647bd6eeb238b8a73851f58decd7d0a62c2
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/BEGEMOT-MIB.py
d439eec5efeb941a97f775f616d9774521e94746
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
2,166
py
# # PySNMP MIB module BEGEMOT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BEGEMOT-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:36:58 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
4f1a576b5379b63b33bfb71ad1943f8617ab700a
5eaef75ca4638702e79863fff688394d8afdd7bc
/testRunner-res.py
4b1bbc797c93a0c1b3d5a3daf1903873be7efbe3
[ "MIT" ]
permissive
tejastank/domainThing
34045004332947e8ca881b0d0814d1118033b76a
28e1d3f6fc23d88a0487fb85a102b80c6a135117
refs/heads/master
2021-05-30T15:39:39.501489
2016-03-17T23:26:42
2016-03-17T23:26:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
from domainParser import domainReader from domainResolver2 import domainResolver from domainConsumer import domainConsumer import logging from multiprocessing import Process, current_process, active_children if __name__ == "__main__": logger = logging.getLogger() logger.addHandler(logging.StreamHandler()) ...
[ "chrisagallo@gmail.com" ]
chrisagallo@gmail.com
9a975581de93e01be4828e18a85b4e49b68404c0
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/b36bBpsnzyDbd4mzF_0.py
370edaffbb2d97407a6bf21f3389a97d8d057256
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
""" Create a function that calculates the chance of being an imposter. The formula for the chances of being an imposter is `100 × (i / p)` where `i` is the imposter count and `p` is the player count. Make sure to round the value to the nearest integer and return the value as a percentage. ### Examples imposter...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
df939de128f6f9c89f7761cd09c1e121e032004c
37e47457fa95ef39ce18d618c6150bdf3a287161
/python/mono_stack/s42_dp.py
d5089c39aa7a84d5c89d57c71d0d7572b51e4f6d
[]
no_license
TQCAI/Algorithm
7e9c05055b02748c92e134861c78a74857346465
82a6cfdee5f02d56b884cb65872c3d820146ba7b
refs/heads/master
2023-03-19T08:42:00.423944
2021-03-11T04:10:12
2021-03-11T04:10:12
305,140,106
5
1
null
null
null
null
UTF-8
Python
false
false
643
py
from typing import List class Solution: def trap(self, height: List[int]) -> int: sum = 0 n = len(height) max_left = [0] * n max_right = [0] * n for i in range(1, n - 1): max_left[i] = max(max_left[i - 1], height[i - 1]) for i in reversed(range(1, n - 1)...
[ "1468632627@qq.com" ]
1468632627@qq.com
7b1c9612fb7a17754a7b6b29764c37752e059f84
8fe4f275cfc1e4f81addcde950c7d50582ddab6b
/SellerUI/migrations/0006_vehicle_bought.py
404a56d72ae46afeb490603db671f0b031ad4863
[]
no_license
strange-hawk/ResaleValuePrediction
5d09b075fcd8367198f02f69efa0402b435b3531
c0e6cec56e0c3bcf5dcb7e3b46a7ee9152893382
refs/heads/master
2022-11-11T04:50:23.610331
2020-06-26T17:00:35
2020-06-26T17:00:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# Generated by Django 3.0.5 on 2020-06-26 14:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('SellerUI', '0005_auto_20200626_1807'), ] operations = [ migrations.AddField( model_name='vehicle', name='bought', ...
[ "tanmay.ambadkar@gmail.com" ]
tanmay.ambadkar@gmail.com
94eec03dcff4ef92243ac73ed5bd0b161c8f41f1
26bd175ffb3bd204db5bcb70eec2e3dfd55fbe9f
/exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/plugins/modules/netapp_e_asup.py
bb82400d45423fc844e431e87b2d50a769a4f04e
[ "CC0-1.0", "GPL-1.0-or-later", "MIT", "GPL-3.0-or-later", "GPL-3.0-only" ]
permissive
tr3ck3r/linklight
37814ed19173d893cdff161355d70a1cf538239b
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
refs/heads/master
2021-04-11T04:33:02.727318
2020-03-25T17:38:41
2020-03-25T17:38:41
248,992,437
0
0
MIT
2020-03-21T14:26:25
2020-03-21T14:26:25
null
UTF-8
Python
false
false
11,242
py
#!/usr/bin/python # (c) 2018, NetApp, Inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], ...
[ "joshuamadison+gh@gmail.com" ]
joshuamadison+gh@gmail.com
b83fe49dd4b24404a9c5d47f5d730ca86340f1e2
ef701a68d9cd1f1f2e3699cc0b98b138eeb11934
/job.py
f335dbe5a778b9003eb95d2d69d87ff2dc514f8d
[]
no_license
yangxuserene/BBSimulator
b920344bc8abb78835a4ff5f5a17d516bbb241bd
684822d275bb4d180016a9e1a4f4673f7d3755b3
refs/heads/master
2021-01-17T12:30:47.256223
2016-02-23T19:54:02
2016-02-23T19:54:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,068
py
#!/usr/bin/env python from enum import Enum import logging class BBJobTimeStamp(object): """timing statistics""" def __init__(self, submit): super(BBJobTimeStamp, self).__init__() self.submit = float(submit) # when job goes into input queue self.start_in = 0.0 self.finish_in ...
[ "littlepretty881203@gmail.com" ]
littlepretty881203@gmail.com
03ce106bae9066ec66a3695dd6a7d4c52c838338
d4d7c65bd4a4283b60caf1d8cea69a4aec9e594d
/04. Mid Exam Tasks/03. Froggy Squad.py
0af494f78e673e0361b1e6c04525249814f6f788
[]
no_license
tony-andreev94/Python-Fundamentals
db806d05168c1bb61763e5b3d27f495f045e7667
32032d37e3a8f70e156db6ccad2d9f25aac62c23
refs/heads/master
2021-08-07T12:32:27.624459
2020-12-24T12:47:05
2020-12-24T12:47:05
233,568,246
0
0
null
null
null
null
UTF-8
Python
false
false
1,521
py
# Create a program that helps you keep track of the frogs that are on the riverside. # Because you are an extreme animal lover, you also name them. # You will receive the names of the frogs that are already on the riverside on a single line, # separated by a single space in the following format: # "{frog1} {frog2} {fro...
[ "tony.andreev94@outlook.com" ]
tony.andreev94@outlook.com
f41df66c6e1adf697bf2f3d6c03b719db4aa44b3
1f41b828fb652795482cdeaac1a877e2f19c252a
/maya_menus/_MAINMENU_PMC_Rigging/19.Selection/08.Select Destination Connection( ctls, attrs ).py
f8de72daebe0d35b572f115cc222baf4738737b2
[]
no_license
jonntd/mayadev-1
e315efe582ea433dcf18d7f1e900920f5590b293
f76aeecb592df766d05a4e10fa2c2496f0310ca4
refs/heads/master
2021-05-02T07:16:17.941007
2018-02-05T03:55:12
2018-02-05T03:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
import pymel.core sels = pymel.core.ls( sl=1 ) selAttrs = pymel.core.channelBox( 'mainChannelBox', q=1, sma=1 ) targets = [] for sel in sels: for attr in selAttrs: targets += sel.attr( attr ).listConnections( s=0, d=1 ) pymel.core.select( targets )
[ "kimsung9k@naver.com" ]
kimsung9k@naver.com
1548cc5c67c89921883b09489b577fe4434dd082
9e1bda53da4c5e98190f5f25235f528d692ee5a8
/project_3/wsgi.py
9b1534bf529f2f0539fb6479d4dcf2f5817e9563
[]
no_license
Jumayev-A/Project-3
3d373181af6a87e3fe319a13d28fcd18941167b7
34ddd009726cbba9ae52e74a46d554fd735566e2
refs/heads/main
2023-06-10T11:02:06.446151
2021-07-07T06:19:11
2021-07-07T06:19:11
350,375,680
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for project_3 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "abdy.jumayev@gmail.com" ]
abdy.jumayev@gmail.com
252b884b0834fea22df3ad412b0761120fe6d714
6841787dc208198535c90ee76d035d8837f8b973
/alipay/aop/api/domain/AlipayCommerceLogisticsOrderInstantdeliveryCreateModel.py
746bac03311ec824b36480abc385429d1b55f82c
[ "Apache-2.0" ]
permissive
demlution/alipay-sdk-python-all
e56ea12651717476f940212c281b6c2199dd3fa6
c3cb81aa5980913e7cd51edcf754a804495a9a30
refs/heads/master
2022-10-09T02:08:28.789764
2022-09-20T04:32:03
2022-09-20T04:32:03
263,779,638
0
1
null
2020-05-14T00:58:51
2020-05-14T00:58:51
null
UTF-8
Python
false
false
8,366
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.ConsumerNotifyIstd import ConsumerNotifyIstd from alipay.aop.api.domain.GoodsDetailIstd import GoodsDetailIstd from alipay.aop.api.domain.GoodsInfoIstd import GoodsInfoIstd from ali...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
55f8bb4cc636189aed727dbdcd2d0918046f96db
2d0bada349646b801a69c542407279cc7bc25013
/src/vai_quantizer/xnnc4xir/xnnc/proto/tf_pb2/reader_base_pb2.py
1578860ab1cd6daaf243152a58058981a8251456
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-other-permissive...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
Python
false
false
5,019
py
""" Copyright 2019 Xilinx Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
c17d73e8b28549a190e9b51caacf123d8b11d9ec
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/isis/db.py
dfa245b2a4813380fba88996e099bc64cdb6034d
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
5,562
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
ff6b877cf1ff67b550b56f6ef180a404c3b60ca2
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2304/60775/297440.py
2a5c35b05a3f2272ea4b464e9c0bc37c673d30cf
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
2,110
py
in1 = input().split(' ') num_v = int(in1[0]) root = int(in1[1]) tree = [[] for i in range(100)] for i in range(num_v): in2 = input().split(' ') tree[int(in2[0])] = [int(in2[1]),int(in2[2])] #广度优先遍历 stack = [] stack.append(root) this_layer_nodes = 1 layer = 1 while stack != []: next_layer_nodes = 0 pr...
[ "1069583789@qq.com" ]
1069583789@qq.com
6db40a61a9d2f970b2620229d396218da4bbba9a
e8cc093ce857f65882e25f4bfae94a395ffc2fe5
/PESA-BACK/remitapi/utils.py
15b7d841ed5d3fec3b88484e78393b7201794401
[]
no_license
mandelashaban593/Chatting-App
f6d0f7ac3785da690f52a7c1427353956699af4c
0e6e5d9edb0a4f0c91a40391ae5916549e87ec7b
refs/heads/master
2021-01-22T06:01:42.649403
2017-03-20T08:08:55
2017-03-20T08:08:55
92,512,558
0
0
null
null
null
null
UTF-8
Python
false
false
6,063
py
from remitapi.tasks import send_email, send_sms from django.template.loader import render_to_string from django.utils.html import strip_tags from django.conf import settings from django.template import RequestContext import sys from datetime import datetime def mailer(request, subject, template, content, to, sender=F...
[ "mandelashaban593@gmail.com" ]
mandelashaban593@gmail.com
0b7242d707c8fad8e136bfc83589b9de21a0b2a5
bdadee64ca8c143a925ec84736e3966ef0183bce
/Analysis/Tools/timeSeries_returnOuterVariables/FIG8_T_cut2_new_static_argv_chunk.py
8b7b37efaaec670e0393b9c6266677eafa85a50d
[]
no_license
snow-stone/python
fcb69950f5984d654f555ca591583c0a0763bef4
0e79a0fb265a22a409309b1c0f992f00ef588f95
refs/heads/master
2020-03-11T10:51:53.268373
2019-10-18T14:24:45
2019-10-18T14:24:45
129,953,986
1
0
null
null
null
null
UTF-8
Python
false
false
8,613
py
import matplotlib matplotlib.use('agg') import sys sys.path.append('/home/hluo/work/git/thesis/Thesis_hluo_new/reference_database') # for rdb import reference_database as rdb import matplotlib.pyplot as plt from matplotlib import rc rc('font',**{'family':'serif','serif':['Palatino']}) rc('text', usetex=True) plt.s...
[ "haining.luo@doctorant.ec-lyon.fr" ]
haining.luo@doctorant.ec-lyon.fr
3f1a9f74909affc32a3e4eead313c53c10cab52b
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v6/googleads-py/tests/unit/gapic/googleads.v6/services/test_topic_constant_service.py
7b78557082a66257e87e02f0bfec735694281464
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,911
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
5f562dcaa59d40c74a34cfe55ed08f30174a169d
49185bd5cf7e2f5190ce22b5189a09fe1ab6bb0f
/Proper/proper/prop_circular_obscuration.py
626faec83727f75711d6b3eb83c90439547c57bc
[ "MIT" ]
permissive
RupertDodkins/MEDIS
c3f55d8adb6a8c4120593ba6552c9dfe3784d4e2
bdb1f00fb93506da2a1f251bc6780e70e97a16c5
refs/heads/master
2021-07-05T20:06:44.162517
2019-09-05T22:16:12
2019-09-05T22:16:12
160,850,558
2
2
null
null
null
null
UTF-8
Python
false
false
1,649
py
# Copyright 2016, 2017 California Institute of Technology # Users must agree to abide by the restrictions listed in the # file "LegalStuff.txt" in the PROPER library directory. # # PROPER developed at Jet Propulsion Laboratory/California Inst. Technology # Original IDL version by John Krist # Python transla...
[ "rupertdodkins@gmail.com" ]
rupertdodkins@gmail.com
c255da1783f7d52da5f07fbf950c77042766e954
0f6a6edcfbfe5669a78748422c7fc0343d532f42
/src/events/adapters/celery.py
7284036cbe2d0d304bec18de7ae5555363a8f92d
[ "MIT" ]
permissive
jonatasoli/the-eye
f734f814d0cf12ee157f1e69f95f6e2bf73a7a83
0a11334bc24c99dcb7158238bc2ae63a26dc63b1
refs/heads/main
2023-08-22T06:55:27.893110
2021-10-09T14:35:27
2021-10-09T14:35:27
415,181,637
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
import celery from loguru import logger from flask import Flask celery_obj = celery.Celery(__name__) def init_app(app: Flask): logger.info(app.config['CELERY_BROKER_URL']) logger.info(app.config['CELERY_RESULT_BACKEND']) celery_obj.conf.broker_url = app.config['CELERY_BROKER_URL'] celery_obj.conf.res...
[ "contato@jonatasoliveira.me" ]
contato@jonatasoliveira.me
087414c9fb5074b4342290c052f598198db0bc75
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/2460.py
bb3b758e7f02863f07f01b7e76c0a3ec1bdca277
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
import numpy as np T = int(raw_input()) def solve(): S = len(s) # print s, K, S cnt = 0 for ii in xrange(S-K+1): if s[ii] == '-': cnt+=1 for jj in xrange(K): s[ii+jj] = '+' if s[ii+jj] == '-' else '-' if s.count('-') > 0: return 'IMP...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
4d1740d100a8a38bb1f5f3a400475d62046b4555
afbaa5685bf737ec7d16fee2bab54ae13caf96f9
/geekbang/data_analysis/ch04/numpy3.py
7556b5147749407b51b42d1bcc8a0f52d3aa9d31
[]
no_license
ykdsg/myPython
9dcc9afe6f595e51b72257875d66ada1ba04bba6
77d2eaa2acb172664b632cc2720cef62dff8f235
refs/heads/master
2023-06-10T20:11:08.061075
2023-06-03T11:39:53
2023-06-03T11:39:53
10,655,956
0
1
null
null
null
null
UTF-8
Python
false
false
354
py
import numpy as np a = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) print(np.amin(a)) # 延着 axis=0 轴的最小值 print(np.amin(a, 0)) print(np.amin(a, 1)) print(np.amax(a)) print(np.amax(a, 0)) print(np.amax(a, 1)) x = np.array([[0, 1], [2, 3]]) print(np.sum(x, axis=0)) print(np.sum(x, axis=1)) print(np.amin(x, axis=0)) print(...
[ "17173as@163.com" ]
17173as@163.com
a30322bdb05ecc03bd4eae8d604f413144cb093d
0aea9408dceec38dfa4d52be13256cd84367c15f
/my_blog/main/__init__.py
2c91492717aac4766ba8b72f7ad0e954e8ee4d4c
[]
no_license
ezirmusitua/my-blog-with-flask
54d11f4cb0326be5a2dbbebf078282dd68b43e44
d7c2bda06d12359261fe25a24527138f437cef41
refs/heads/master
2021-01-16T21:05:34.267515
2016-06-21T11:09:17
2016-06-21T11:09:17
61,627,467
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from flask import Blueprint main = Blueprint('main', __name__) from . import views
[ "jferroal@gmail.com" ]
jferroal@gmail.com
8c5ce3513996a713016395c9da9fc122a5f8709a
39e1320c74bcf0bbebb855645b4f538e9ef361f4
/src/genui/accounts/urls.py
6a3bd9d8c8926d8932b1dba59f7fc2685aaf3b8f
[ "MIT" ]
permissive
Tontolda/genui
4c684e08e78b848e5afa7e4333bbea46c30d9d51
c5b7da7c5a99fc16d34878e2170145ac7c8e31c4
refs/heads/master
2023-04-14T12:57:31.774323
2021-01-29T08:01:30
2021-01-29T08:01:30
344,443,814
0
0
NOASSERTION
2021-04-24T14:56:35
2021-03-04T11:00:54
null
UTF-8
Python
false
false
657
py
""" urls Created by: Martin Sicho On: 4/30/20, 7:59 PM """ from django.urls import path, include, re_path from django.contrib import admin from allauth.account.views import ConfirmEmailView urlpatterns = [] urlpatterns += [ path('admin/', admin.site.urls), path('accounts/', include('allauth.urls')), re_p...
[ "sicho.martin@gmail.com" ]
sicho.martin@gmail.com
4a4363b17be5d1d57768b191fe9a685a4a95b7a5
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/stdlib-464.py
6fd0b1b2c131801d99e2804b1f0a3ef65bd17f03
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
# ChocoPy library functions def int_to_str(x: int) -> str: digits:[str] = None result:str = "" # Set-up digit mapping digits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"] # Write sign if necessary if x < 0: result = "-" x = -x # Write digits using a recursive call ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
702470c1af3221320eb66ea71b131c25c4d4499f
2da708faf710bcca9b6c75b900bdb98dd4e03b2d
/lib/python/celery/app/task.py
c793fc65b94ca4bf7d50f5103ad95c4f243e7cfe
[]
no_license
mozilla/FlightDeck-lib
7dc8250a863bc92a096ef4939d6b0a5c15646b2f
c9e5405789630c273dca1916b007033bac7f507a
refs/heads/master
2023-07-03T16:19:30.648487
2013-02-25T13:14:11
2013-02-25T13:14:11
1,096,066
0
3
null
2019-03-29T04:42:18
2010-11-19T22:35:44
Python
UTF-8
Python
false
false
30,260
py
# -*- coding: utf-8 -*- """ celery.app.task ~~~~~~~~~~~~~~~ Task Implementation: Task request context, and the base task class. """ from __future__ import absolute_import from __future__ import with_statement from celery import current_app from celery import states from celery.__compat__ import class_pro...
[ "piotr@zalewa.info" ]
piotr@zalewa.info
b55369c3e074890c1d761da477257d3372efcd96
d2e029233e08ea2b7f806728fb6fdb4313992d1d
/Python Fundamentals/for loop.py
303b1615818d69f5568318b74b3521dc1fecb333
[]
no_license
pvr30/Python-Tutorial
f0ccc6c6af2346afc656e5f1f98bae69a58bda6d
3c4b968d0e0efbf454fbf9a9f98cd630a288b2d9
refs/heads/master
2023-06-02T10:08:50.891627
2021-06-21T16:36:11
2021-06-21T16:36:11
378,997,069
1
0
null
null
null
null
UTF-8
Python
false
false
613
py
# for loop for index in range(10): print(index) print("\n") for index in range(5,10): print(index) print("\n") for i in range(1,20,2): print(i) # this will print number between 1 to 20 with difference of 2 # Print list. name = ["Harsh","Sanjay","Sahil","Manthan"] for index in name: print(index) # P...
[ "vishalparmar6958@gmail.com" ]
vishalparmar6958@gmail.com
3cb38ba06488f204e037b03a48de04afff964cc6
ddefb1ad0ba5939b66e3f5e8fae5fb8a88f03d4a
/四级/四级.py
56a7d411d403c8ba85fa9f1d76dcb5e3d96676c2
[]
no_license
github3332422/case
45ea6a8f7528affa9b724bb31088c8c8c9f0cdf2
fb86da7f94c8ce24f142e1d34d2cec1f6e21a81f
refs/heads/master
2020-05-19T13:28:37.379740
2019-05-05T14:15:49
2019-05-05T14:15:49
185,039,295
1
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- # @Time:2018/8/24 9:37 # @Author: wardseptember # @File: CountHighFrequencyWords.py import re excludes = ['the', 'of', 'to', 'and', 'in', 'a', 'is', 'were', 'was', 'you', 'I', 'he', 'his', 'there', 'those', 'she', 'her', 'their', 'that', '[a]', '[b]', '...
[ "mail.zhangqing@gmail.com" ]
mail.zhangqing@gmail.com
dec8f4a34c5465e586dbdbcddfbb3d2c85cc27bc
8f81a0ff4a5bef52bdc23decfdd21183040451f1
/docs/conf.py
e411946184148cfbcbb42fbc600b02373eb15ba1
[ "MIT" ]
permissive
shimw6828/sramongo
22faad838376a2b264cb003c937522b72b67d6d0
7b73a2a71c9c12160da7d0aaa1537a615a356136
refs/heads/master
2022-11-14T18:33:17.122167
2020-07-02T19:42:09
2020-07-02T19:42:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,163
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # sramongo documentation build configuration file, created by # sphinx-quickstart on Thu Jan 5 14:49:04 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # a...
[ "justin.m.fear@gmail.com" ]
justin.m.fear@gmail.com
15ef14fad6965eb4f3742e852d29527029f1f162
09df68c721f724bdfa1d00f18d5ee6fffba548df
/NK_25.py
f53bf49e6d6c9a353293f13fe6d37c671183f4ed
[]
no_license
NeilWangziyu/JZOffer
c8cde80cf54545244ebeb3a9fc88d5ac6b832622
ce29ea836bd20841d69972180273e4d4ec11514d
refs/heads/master
2020-04-23T06:19:48.434829
2019-09-25T12:35:38
2019-09-25T12:35:38
170,969,684
1
0
null
null
null
null
UTF-8
Python
false
false
592
py
n,m = list(map(int,input().split())) def getChildCount(pre,mx): ans = 1 p = 10 while pre * p <= mx: if pre * p + p - 1 <= mx: ans += p else: ans += mx - pre * p + 1 p *= 10 return ans def find(m,mx): ans = 1 while m != 0: v = getChildCoun...
[ "17210720158@fudan.edu.cn" ]
17210720158@fudan.edu.cn
73c1a9a4086a951478d1b79d38eca31ad7308602
84046429e40890d1c0e1064726db0cf359dbadcf
/django_git_deploy/__init__.py
e8400d0c61ee787ebe7d4c3f9c382fed2532bc11
[]
no_license
joakim-hove/django-git-deploy
8cb346ccff632209df8a5d5fcb69eb6b1b7d6191
6413fa7d1b71258a2f176b1630dbc4ac602bbb49
refs/heads/master
2022-06-07T05:42:53.915611
2022-05-23T21:32:59
2022-05-23T21:32:59
183,873,411
1
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
import sys import os import os.path import subprocess import shutil import time import yaml import fnmatch from contextlib import contextmanager @contextmanager def env_context(env): env0 = os.environ.copy() for key,value in env.items(): if value is None: if key in os.environ: ...
[ "joakim.hove@gmail.com" ]
joakim.hove@gmail.com
4aeedb82b2fb9519b3d200ad0e488617b17fae76
b194dbc7889e8175993a76f2d2f65a4b81c5d725
/statistics_hypothesis_testing/18_one_sided_p_value.py
1b94a09124221130a1bc99028b8c1cb0ed6514c0
[]
no_license
rahulsaini/oreilly_math_fundamentals_data_science
f96d40f5684c7b1cd993993d82931694afea6976
888326dfdea37f5a9b336d37e127a72ae4512a5a
refs/heads/main
2023-05-18T22:32:32.928472
2021-06-08T13:07:22
2021-06-08T13:07:22
372,832,069
1
0
null
2021-06-01T13:02:53
2021-06-01T13:02:52
null
UTF-8
Python
false
false
197
py
from scipy.stats import norm # Cold has 18 day mean recovery, 1.5 std dev mean = 18 std_dev = 1.5 # Probability of 16 or less days x = norm.cdf(16, mean, std_dev) print(x) # 0.09121121972586788
[ "thomasnield@live.com" ]
thomasnield@live.com
28643ca7f0873fb86a9b6ce8a36119c0b6719ae3
f1600240f3bbadfa8f190c165bd40b0f74110652
/model/core/XML_CNN.py
77d8c627d999b273d9fe1bfd6474da3313acf7df
[]
no_license
shubhampachori12110095/XMTC
b45801e143710e97ad8098ee028b4c44b22cb110
b93a8a78c7799461b4853006f5cd7a0fc4fcdc67
refs/heads/master
2020-04-22T23:26:19.869742
2018-04-29T01:56:55
2018-04-29T01:56:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,965
py
''' Created on Jan, 2018 @author: FrancesZhou ''' from __future__ import absolute_import import numpy as np import tensorflow as tf class XML_CNN(object): def __init__(self, max_seq_len, word_embedding, filter_sizes, label_output_dim, hidden_dim, args): self.max_seq_len = max_seq_len self.word_e...
[ "zhouxian@sjtu.edu.cn" ]
zhouxian@sjtu.edu.cn
96df624ea6bd582ebb0abe1224a3de5593c6665c
393c8e9d26f89c9b4f1f24a160970dee437a36db
/shortener/forms.py
262f395e21bc7cd33d5826e02a21863f9680c29b
[]
no_license
victorsemenov1980/Shorten-URL-Django
eb12b04573e7cd562e46510afb24062e0383eb39
5a854d8e061ea88c5b7abe992d6414dea1e06120
refs/heads/master
2022-11-05T06:52:24.551215
2020-06-17T11:13:34
2020-06-17T11:13:34
272,881,388
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jun 17 00:10:37 2020 @author: user """ from django import forms from .models import url class UrlForm(forms.Form): url = forms.URLField(label='URL',) hash_ = forms.CharField(label='Hash value - optional', max_length=15,required=False,) ...
[ "vs1378009@icloud.com" ]
vs1378009@icloud.com
eb584a69683572fc29dd1442da6c274d9cd1a144
026991d5749c55910f4c33cc6f35a778494ef89e
/Laboratory Works/Lab_7/Problems/Informatics/Loops/While/3061.py
879e83a2205f46104461678f04a9db5bdac7ec7b
[ "MIT" ]
permissive
diable201/WEB-development
e832df0e35a837fc5464d6b0dada1c8fd8c9783b
370bd731b9a65a1658033a60c63abece11d4e259
refs/heads/master
2023-06-02T03:46:20.786310
2021-06-28T15:57:11
2021-06-28T15:57:11
336,358,294
3
1
null
null
null
null
UTF-8
Python
false
false
62
py
n = int(input()) k = 0 while 2 ** k < n: k += 1 print(k)
[ "diable201@protonmail.com" ]
diable201@protonmail.com
b5c607c76cf485cef3717ca12fb01cacd49003ca
c78ce4f66cc964c230ad60fbf2ced6b4811eab89
/0x04-python-more_data_structures/8-simple_delete.py
80e9e4f0e0199a69a96ccc4a5f11e897b5024a38
[]
no_license
jebichii/holbertonschool-higher_level_programming-1
89026557909851dd775ae355f036db89ebd9adb9
741953aa479af90e8eac6f1315415eff4a20224f
refs/heads/master
2023-03-15T14:58:27.062528
2020-06-11T07:21:23
2020-06-11T07:21:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
#!/usr/bin/python3 def simple_delete(a_dictionary, key=""): """ Delete a dictionary entry """ if a_dictionary is not None: try: del a_dictionary[key] except KeyError: pass return a_dictionary return None
[ "pdeyoreo@gmail.com" ]
pdeyoreo@gmail.com
c326be87999ac18c9ef83bfc0529c64deb3029dd
84e3fa6f0111a48c56184b1239c0ad3e4feada99
/cina_env/bin/django-admin.py
2e78a97b2fa1f113d82502632a5cc1685828ae9e
[]
no_license
shin04/cina_backend
75d0d8383c5e26df860abfa8ab8d6f380b97440f
a918be430f41049b4a154da8c9ab73633d2b4d50
refs/heads/master
2023-08-15T11:05:30.187250
2020-05-24T06:09:47
2020-05-24T06:09:47
254,606,663
0
0
null
2021-09-22T18:51:43
2020-04-10T10:24:48
Python
UTF-8
Python
false
false
177
py
#!/Users/kajiwarataishin/Desktop/cina/cina_backend/cina_env/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "daikon0413@gmail.com" ]
daikon0413@gmail.com
e0e4a5522cfe5345bb65f2fdec29cfc93476dd42
3c19870b8e937e5e360ad3cb97453e7e0d0e755f
/smartphoniker_wiki/urls.py
35b952496d8a0d687a254508c0fce7ab94d72c5a
[]
no_license
M0r13n/wiki
37862d63f52565efc692c41cc762700de686b236
9b263771bb4554c67e52c07b38a845f53d6e97b7
refs/heads/master
2022-11-15T22:51:42.615490
2020-07-11T09:35:51
2020-07-11T09:35:51
278,831,073
0
0
null
null
null
null
UTF-8
Python
false
false
1,240
py
from django.conf import settings from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.http.response import HttpResponse from django.urls import include from django.urls import re_path from django.views.static import serve as static_serve admin.autodiscover() ...
[ "31622033+M0r13n@users.noreply.github.com" ]
31622033+M0r13n@users.noreply.github.com
10e66a88c03e25b636ca4c2dfb9e251d60931935
8ccbadcfaebb9148b60978fc89290291625c14ec
/resolwe/storage/tests/test_views.py
3a61280c490fa45e4e5ce80f30f6490d8fb66848
[ "Apache-2.0" ]
permissive
romunov/resolwe
f7e426c5965917045e23608c6c52a44b78d735c9
11a06a9d741dcc999253246919a0abc12127fd2a
refs/heads/master
2021-07-11T16:07:17.015683
2021-02-21T18:33:07
2021-02-25T13:49:02
229,769,285
0
0
Apache-2.0
2019-12-23T14:36:02
2019-12-23T14:36:01
null
UTF-8
Python
false
false
1,265
py
"""Test resolwe.storage.views.""" import json from unittest.mock import MagicMock, patch from django.test import TestCase from rest_framework import status from resolwe.storage.views import UriResolverView class UriResolverViewTest(TestCase): """Test UriResolverView.""" @patch("resolwe.storage.views.DataB...
[ "zmrzlikar.jure@gmail.com" ]
zmrzlikar.jure@gmail.com
b0e870438ce45f557046f6ba32280a0ed8293072
bee9ab30f3230831030a74ecc4698d951011c0d2
/scripts/cnocr_predict.py
ab3b94ccf9178faec1c4bb57b4e74e16cd0bae31
[ "NCSA", "Zlib", "Intel", "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-2-Clause-Views", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
DCMMC/cnocr
2493f5f175cc4847cd75783eb2922a9c2a4ca789
ea66f8e87c155ff1959fdc1c3e526acd0dac8c74
refs/heads/master
2022-04-24T15:27:14.393242
2020-04-25T13:28:27
2020-04-25T13:28:27
258,252,551
0
0
Apache-2.0
2020-04-23T15:43:07
2020-04-23T15:43:06
null
UTF-8
Python
false
false
1,963
py
# coding: utf-8 # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"...
[ "breezedeus@163.com" ]
breezedeus@163.com
5d19425b9f79dca344d62f5713da2454035970cf
a1bffcd8854e1843e56bb812d4d83b3161a5211e
/tests/unit/module_utils/common/validation/test_check_type_bool.py
193622d5bc7dbf0eb681bea33c6c8f96045faacc
[]
no_license
goneri/ansible.community
1a71f9d98c164b77f8ed2ed7f558b4963005ff8f
f26f612dd0a3154050d90b51a75502018c95f6e4
refs/heads/master
2020-12-29T07:47:35.353515
2020-01-22T17:43:18
2020-01-22T17:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,476
py
# -*- coding: utf-8 -*- # Copyright (c) 2019 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type import pytest from ansible_collections.ansible.community.plugins.module_utils...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
b9eb17b596550fa1751c638e5d554839479d80dd
46279163a543cd8820bdc38133404d79e787c5d2
/test/distributed/_pipeline/sync/skip/test_stash_pop.py
7a5b16a39cff59a886e16432f0db67c0bc9af3fa
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
erwincoumans/pytorch
31738b65e7b998bfdc28d0e8afa7dadeeda81a08
ae9f39eb580c4d92157236d64548b055f71cf14b
refs/heads/master
2023-01-23T10:27:33.628897
2020-12-06T01:22:00
2020-12-06T01:23:40
318,930,000
5
1
NOASSERTION
2020-12-06T01:58:57
2020-12-06T01:58:56
null
UTF-8
Python
false
false
3,050
py
# Copyright 2019 Kakao Brain # # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # # This source code is licensed under the BSD license found in the # LICENSE file in the root directory of this source tree. import pytest import torch from torch import nn from torch.distributed._pipeline.sync.skip...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
9cf468cb3abdeaa9dd1f3c9098ef2ee86b1a3b82
3c522665e79f45ce93728f62201a893261a9fb85
/FlaskDemo05/run01.py
d83d1a1c95cb9fbbca2fc319438f9a042c2de16d
[]
no_license
Chenhuaqi6/Flask
b9cdc33f43f1d5e5aa9a660f051366e56707cb6a
d2c229b429aabb217eb1de781f5f976357a6ab6c
refs/heads/master
2020-04-17T10:54:42.664504
2019-01-19T06:16:32
2019-01-19T06:16:32
166,517,684
0
0
null
null
null
null
UTF-8
Python
false
false
14,224
py
from _operator import or_ from flask import Flask, render_template, request, redirect from flask_sqlalchemy import SQLAlchemy from flask_script import Manager from flask_migrate import Migrate,MigrateCommand from sqlalchemy import func,or_ app = Flask(__name__) #先在mysql中创建一个库----create database flask05 default chars...
[ "466940759@qq.com" ]
466940759@qq.com
cc7446671e306d6a6e487bb6ec3c82bb71b00587
b7125b27e564d2cc80a2ce8d0a6f934aa22c8445
/.history/display_board_20201103142917.py
8c63f44d74fa4ec5b0c7cf268870c0b69d958f52
[]
no_license
JensVL96/Puzzle-solver-for-fun
4c15dcd570c3705b7ac555efb56b52913e81083c
6d8a4378a480372213a596a336a4deca727a00fc
refs/heads/master
2021-07-15T05:19:42.185495
2020-11-08T13:59:49
2020-11-08T13:59:49
224,855,888
1
0
null
null
null
null
UTF-8
Python
false
false
5,433
py
from config import * import pygame as pg class Display_board(): def __init__(self, screen): self.screen = screen self.font_num = pg.font.SysFont("comicsans", NUMBER_SIZE) self.font_cdt = pg.font.SysFont("comicsans", CANDIDATE_SIZE) def draw_val(self, val, x, y): text1 = self....
[ "jle040@uit.no" ]
jle040@uit.no
c695f796fffd594178ab5a19127ff197690acb7c
33836016ea99776d31f7ad8f2140c39f7b43b5fe
/fip_collab/2016_08_31_polycrystal_FIP/plot_err_v_pc.py
ba4dcd807183302d80eb21fd3d85c224651fb99c
[]
no_license
earthexploration/MKS-Experimentation
92a2aea83e041bfe741048d662d28ff593077551
9b9ff3b468767b235e7c4884b0ed56c127328a5f
refs/heads/master
2023-03-17T23:11:11.313693
2017-04-24T19:24:35
2017-04-24T19:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,561
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.cm as cm from constants import const from matplotlib.ticker import AutoMinorLocator import h5py def plterr(par, upbnd, deg, Tvec, Hvec): C = const() colormat = cm.plasma(np.linspace(0, .8, len(Hvec))) # colormat = cm.rainbow(np.linspac...
[ "noahhpaulson@gmail.com" ]
noahhpaulson@gmail.com
83ed30f264265a018a2915a912dc401fb61247ad
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2630/60636/251138.py
6a6bbb79cd34380643c6e73cf9718a1721f76e69
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
2,007
py
def location(source,a): for i in len(source): for j in len(source[0])-1: if(source[i][j]==a): return [i,j] def find(source,i,j,alls): if i==0 and j==0: return min([source[0][1],source[1][0]]) elif i==0 and j==len(source[i])-1: if(not location(alls,min([sou...
[ "1069583789@qq.com" ]
1069583789@qq.com
1e3d6016c25d1b2a8f583b4da27b2234c064d97e
d08b0a2ea1365e96c2143a3076d6f1cfce178321
/learnPython-master/news/ithome/demo.py
ab355ef2de9b7770e0ebab59189751875d274e5d
[]
no_license
xueyes/py3_study
f64060e5dbfcbf11c8d61de8561ce90bbb4e3c19
a7d83b58ef95806f061f375952db604afe98bc13
refs/heads/master
2022-12-11T05:56:03.540612
2019-05-06T13:07:55
2019-05-06T13:07:55
162,883,421
1
0
null
2022-12-08T02:28:21
2018-12-23T11:02:31
HTML
UTF-8
Python
false
false
381
py
from lxml import etree import requests url = 'https://dyn.ithome.com/ithome/getajaxdata.aspx' data = { 'newsID': '326707', 'hash': 'A379730C87B522EA', 'type': 'commentpage', 'page': '3', 'order': 'false', } html = requests.post(url, data=data).text print(html) # urls = 'https://dyn.ithome.com/co...
[ "1401354763@qq.com" ]
1401354763@qq.com
64e61e45e0a348bd5d50ae86d13b5f1dd0a34442
484a348682d9fa515666b94a5cd3a13b1b725a9e
/Data Structure/考试.py
00a3ea41fd9be666a23b1b977479e92d1ce53653
[]
no_license
joseph-mutu/Codes-of-Algorithms-and-Data-Structure
1a73772825c3895419d86d6f1f506d58617f3ff0
d62591683d0e2a14c72cdc64ae1a36532c3b33db
refs/heads/master
2020-12-29T17:01:55.097518
2020-04-15T19:25:43
2020-04-15T19:25:43
238,677,443
0
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
#include <stdio.h> #include <stdlib.h> using namespace std; int N; typedef struct BiTree { int Data; struct BiTree* left, *right; }BiTree; BiTree* CreatTree(int data1[], int data2[], int start, int ends, int &ind) { int mid = data1[ind]; int i; for(i = ends; i >= start; i--) { if(...
[ "josephmathone@gmail.com" ]
josephmathone@gmail.com
5b7db5c2f10832e93c05e4accf948b198fd38fc5
5c4515960dcbfd3861d06d90b8c9bde0bdf3ecf5
/Iserlab/migrations/0044_auto_20170306_0956.py
649dec546e754ed99d60b1d6b99ffde77ce3b431
[]
no_license
Mathilda1992/mcysite
66bb2f51de622b7f7c450664c798eb11ce195cae
def82e43474ecc734c6cbb26842bd87f698b2b88
refs/heads/master
2021-01-11T19:58:23.611196
2017-06-26T08:58:11
2017-06-26T08:58:11
79,434,975
1
1
null
null
null
null
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-03-06 09:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Iserlab', '0043_score_socre_time'), ] operations = [ migrations.AlterField( ...
[ "machenyi2011@163.com" ]
machenyi2011@163.com
ce924970e5c11232b741a9273bf79d4aec02ecf8
42ed6d4e67172522f79ab6f3c8cb650f4234be90
/grpc/client/main.py
55d9fa17b36fef38b4fffb7106dd8f1ebf9684f2
[]
no_license
Hylan129/Self-Learning
81a5143015850c33d5226c4da43d110150661dc7
06ccdc202f62629395900658909e1363a32632fd
refs/heads/master
2020-06-12T19:45:50.479677
2020-05-26T15:38:26
2020-05-26T15:38:26
194,405,633
0
1
null
null
null
null
UTF-8
Python
false
false
408
py
#! /usr/bin/env python # -*- coding: utf-8 -*- import grpc from example import data_pb2, data_pb2_grpc _HOST = 'localhost' _PORT = '8080' def run(): conn = grpc.insecure_channel(_HOST + ':' + _PORT) client = data_pb2_grpc.FormatDataStub(channel=conn) response = client.DoFormat(data_pb2.Data(text='hello,...
[ "jyzyg129@163.com" ]
jyzyg129@163.com
b4953030c41f9a1add974681fbeb2f552d932ccf
beb4d7c16ea8d8da9747b94298891cf01d9466f6
/users/urls.py
c7b3b09544316033c571df99cedc218e2fa6a055
[]
no_license
Chirag-Django/nonstopio_assignment
48985445a19f8d01c1f0565e8058cd032942d903
b1f1561e841857ea64d9a5170974704a347cc0e3
refs/heads/master
2023-03-05T07:05:49.963018
2021-02-20T18:35:29
2021-02-20T18:35:29
340,347,626
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
from django.urls import path from . import views from django.contrib.auth import views as auth_views app_name='users' urlpatterns = [ path('register/', views.register, name='register'), path('update_profile/',views.update_profile,name='update_profile'), path('login/', auth_views.LoginView.as_view(template...
[ "chirag.django@gmail.com" ]
chirag.django@gmail.com
ba0317152df2c5141cbc08cfba662a6ad4943890
e7c1f3af60c030b97916e4f431172ebdbc07b2a9
/django_mindscape/tests/test_dependencies.py
c02066d0898bbc0482536e51e8faff115d00fe83
[]
no_license
podhmo/django-mindscape
d1df56c217750fee3cf3c24a49591bf98bbb6e89
2da92e155b7aaf465d631258f9799eb2e3d59671
refs/heads/master
2016-08-03T12:04:42.090545
2015-03-10T19:12:14
2015-03-10T19:12:14
31,464,195
0
0
null
null
null
null
UTF-8
Python
false
false
6,128
py
# -*- coding:utf-8 -*- import unittest from evilunit import test_target @test_target("django_mindscape:Walker") class ForeignKeyTests(unittest.TestCase): @classmethod def setUpClass(cls): from django.db import models class Group(models.Model): name = models.CharField(max_length=25...
[ "podhmo+altair@beproud.jp" ]
podhmo+altair@beproud.jp
aef95b48318caf1b38584776aca1d4f9936f4928
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_2_1_neat/16_2_1_Math_getting_digit.py
ba10364f80fe35b453998f9f7dfea738adce6858
[]
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
1,233
py
#!/usr/bin/python3 import sys def remove_letters(letters, word, ref_letter): if (ref_letter in letters and letters[ref_letter] > 0): number = letters[ref_letter] for ll in word: letters[ll] -= number return(number) else: return(0) def solve_number(SS, case): let...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
7458e345152467d791ea25abac7dba7b3fe448a1
bc6ebddfd13b36d5e394f7b5eb15444f7467f5e5
/sundial/utils.py
2670fc6d9ad15404fea7729d884697854ba0c8d8
[ "MIT" ]
permissive
Surgo/django-sundial
28bbe8da723ca45fe926750e78ae568b1c5f0092
e6a3f69d61a49a5d7ae2b053cdd79289e11a8a73
refs/heads/master
2021-01-17T06:09:01.327135
2015-03-12T09:13:12
2015-03-12T09:13:12
32,067,215
0
0
null
2015-03-12T09:01:48
2015-03-12T09:01:48
Python
UTF-8
Python
false
false
709
py
from __future__ import unicode_literals from django.core.exceptions import ValidationError from django.conf import settings from django.utils.text import force_text from django.utils.translation import ugettext_lazy as _ import pytz TIMEZONE_SESSION_KEY = getattr( settings, 'SUNDIAL_TIMEZONE_SESSION_KEY', '_time...
[ "charette.s@gmail.com" ]
charette.s@gmail.com
27cfac09bd2fc5432cc9463f81553242ffb3e67f
0de5fbd2c992388d572bfb4c114f82741a351b8e
/0x06-Basic_authentication/api/v1/auth/auth.py
55326846343b39f19a21e2e490782c8f2570f96d
[]
no_license
veromejia/holbertonschool-web_back_end
3fac1ad905d02bb6d351092210d005a211053df4
44258bb53104da95c6df8a69dd066233cb0daae0
refs/heads/main
2023-02-10T01:49:31.439587
2021-01-05T00:44:46
2021-01-05T00:44:46
305,465,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
#!/usr/bin/env python3 """ Define Auth class """ from flask import request from typing import List, TypeVar class Auth: """Auth Class that handle public methods""" def require_auth(self, path: str, excluded_paths: List[str]) -> bool: """Check if path requires authentication""" if path is No...
[ "veromejia.q@gmail.com" ]
veromejia.q@gmail.com
626e573ed0bbb8e22c948eeb92c9e96d8ffb4782
be6e6d8af85adf044bf79676b7276c252407e010
/spec/construct/test_switch_manual_enum_invalid.py
66cd2a7da5b985e6bb318912bb2ad2cc7e62bf3c
[ "MIT" ]
permissive
kaitai-io/kaitai_struct_tests
516e864d29d1eccc5fe0360d1b111af7a5d3ad2b
3d8a6c00c6bac81ac26cf1a87ca84ec54bf1078d
refs/heads/master
2023-08-19T19:42:47.281953
2023-08-04T20:26:50
2023-08-04T20:26:50
52,155,797
12
41
MIT
2023-07-30T23:30:30
2016-02-20T13:55:39
Ruby
UTF-8
Python
false
false
531
py
# Autogenerated from KST: please remove this line if doing any edits by hand! import unittest from switch_manual_enum_invalid import _schema class TestSwitchManualEnumInvalid(unittest.TestCase): def test_switch_manual_enum_invalid(self): r = _schema.parse_file('src/enum_negative.bin') self.assert...
[ "petr.pucil@seznam.cz" ]
petr.pucil@seznam.cz
f71da1fd302633769fc6a1663d9ca71769b093c6
eddbfe4eb1aa3052cb8d03097cca2673ae207ec0
/books/migrations/0003_auto_20210429_1839.py
63f82e9831d65f0c47c2a14623a7f4bae6ac1eab
[]
no_license
luiz158/CRUD_Django
f40d630f09916a0cd2d06a076415873122c02098
852242b34c7ff4781c9704df032865e83ded9bf3
refs/heads/master
2023-07-02T08:58:45.637229
2021-08-04T21:57:03
2021-08-04T21:57:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# Generated by Django 3.2 on 2021-04-29 18:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('books', '0002_alter_book_date_inclusion'), ] operations = [ migrations.RemoveField( model_name='b...
[ "jonathan.mothe@gmail.com" ]
jonathan.mothe@gmail.com
4efd9e8caa0fa82f83d43e5d2702eae94ce0a814
2db7597686f33a0d700f7082e15fa41f830a45f0
/Python/BinaryTree/1448. 统计二叉树中好节点的数目.py
f1622e85dcf75ab740d30faccdc8934d48e9b3c6
[]
no_license
Leahxuliu/Data-Structure-And-Algorithm
04e0fc80cd3bb742348fd521a62bc2126879a70e
56047a5058c6a20b356ab20e52eacb425ad45762
refs/heads/master
2021-07-12T23:54:17.785533
2021-05-17T02:04:41
2021-05-17T02:04:41
246,514,421
2
0
null
null
null
null
UTF-8
Python
false
false
836
py
''' 1448. 统计二叉树中好节点的数目 给你一棵根为 root 的二叉树,请你返回二叉树中好节点的数目。 「好节点」X 定义为:从根到该节点 X 所经过的节点中,没有任何节点的值大于 X 的值。 ''' # Definition for a BT node class TreeNode: def __init__(self, x = 0): self.val = x self.left = None self.right = None def goodNodes(root): if root == None: return 0 ...
[ "leahxuliu@gmail.com" ]
leahxuliu@gmail.com
3f9a50bca0bdd49ad832b81e37cc2acb7ef94337
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/aQWEQDoWiNbryG8xs_13.py
74b473ad6cce9d4cfa59205686035d2b90514e34
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
""" Create a function that takes a number `num` and returns the first 10 multiples of `num` with 1 added to it, separated by commas. ### Examples n_tables_plus_one(7) ➞ "8,15,22,29,36,43,50,57,64,71" n_tables_plus_one(1) ➞ "2,3,4,5,6,7,8,9,10,11" n_tables_plus_one(3) ➞ "4,7,10,13,16,19,22,25,...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
6cb50044646a8ed42437fa9dd67f027154040955
241e8be8fbd310384e5669b64142cf173ecf692b
/mickey/admin.py
65504f3ffe946c80f308fdd06f1d942f53fbe379
[ "MIT" ]
permissive
raihanba13/mickey
a1e61cf71419b61acfc2240336c8a8cebf712ceb
6a151145d11687760eae14749b7ee150c9d5a044
refs/heads/master
2022-06-10T03:22:18.869733
2020-05-07T11:31:20
2020-05-07T11:31:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,993
py
from django.contrib import admin from django.utils.html import format_html from django.contrib import messages from django.contrib.contenttypes.admin import GenericTabularInline from mickey.models import * from mickey.widgets import * import logging logger = logging.getLogger(__name__) # Register your models here. d...
[ "farhapartex@gmail.com" ]
farhapartex@gmail.com