blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
c7945b0ae7a7348d5f9f33d0bfc103b0f6793d0e
2db7597686f33a0d700f7082e15fa41f830a45f0
/Python/DP/5545. Best Team With No Conflicts.py
d6c798caa31ce2b8f6c96deb6aea66497eb72290
[]
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
736
py
class Solution: def bestTeamScore(self, scores: List[int], ages: List[int]) -> int: info = {} for i, j in zip(ages, scores): if i in info: info[i].append(j) else: info[i] = [j] sortedInfo = sorted(info.items(), key = lambda x:x[0]) ...
[ "leahxuliu@gmail.com" ]
leahxuliu@gmail.com
f13acc19f4b2109bec0bab31abafc82015822dca
165cf753693ae02a4d669dfb5ec7f1eaaaa06719
/asyn_demos.py
1c9a7e6d20c127da11b7b42a875a1ca88aa7d403
[ "MIT" ]
permissive
cefn/micropython-async
8014773f64e4f9bf9f4124b8cfb4a34f6f89b0f5
f9f870cbe9fbf049bcd9e8cc9c71998aadc0bfba
refs/heads/master
2021-09-02T12:13:57.488224
2018-01-02T14:18:07
2018-01-02T14:18:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,266
py
# asyn_demos.py Simple demos of task cancellation # Test/demo of official asyncio library and official Lock class # The MIT License (MIT) # # Copyright (c) 2017 Peter Hinch # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Softw...
[ "peter@hinch.me.uk" ]
peter@hinch.me.uk
0e3cf78f3f1a677a28e529fc45c4c286e3071da2
9651dba1049c91097e8bde56d49a60dbed2cee53
/dandi/tests/fixtures.py
8c6f77cf317cfb94c5a8eb87b0d16277131a598b
[ "Apache-2.0", "MIT" ]
permissive
kyleam/dandi-cli
780563cb90f480f57b2d6284fd480e1c34b10d71
d283587a45864a4d0ad809736efdffe21e658332
refs/heads/master
2020-08-08T05:12:22.818688
2019-10-20T00:28:18
2019-10-20T00:28:18
213,727,610
0
0
Apache-2.0
2019-10-08T18:57:22
2019-10-08T18:57:21
null
UTF-8
Python
false
false
1,502
py
from datetime import datetime from dateutil.tz import tzutc import pynwb from ..pynwb_utils import metadata_fields import pytest # TODO: move into some common fixtures. We might produce a number of files # and also carry some small ones directly in git for regression testing @pytest.fixture(scope="session") d...
[ "debian@onerussian.com" ]
debian@onerussian.com
03cf7254df8405e69ca902148a6f186e30894300
4526e30e14bd9b93c9f10a6a78a3e3fdbad3d64c
/LeetCode/0350_Intersection_Of_Two_Arrays_II.py
0e47ceb684eecccdabfb56e2259ef3d35c90084f
[]
no_license
bijeshofficial/coding_solutions
a7b217256101a2d82e6fb0b4c748c4b077c00f0a
e4fe972c199dce6a8700d23623995e898d59f11a
refs/heads/master
2023-04-07T10:19:18.879019
2021-04-14T16:50:47
2021-04-14T16:50:47
268,123,881
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
class Solution: def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]: emp = [] if len(nums1) < len(nums2): temp = nums1 nums1 = nums2 nums2 = temp print(nums1, nums2) for i in range(len(nums2)): if nums2[i] in nums1: ...
[ "bijeshr.kunwar@gmail.com" ]
bijeshr.kunwar@gmail.com
aec7e6ed87d2a654cd0d7f354c15dc07b0ba4298
9f1330409ab56771ff4934823fdb8c8ab28e22f8
/python/ql/test/query-tests/Security/CWE-089/sql_injection.py
b312241b809985558a61adf947e84c53f8e2bb9c
[ "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "LicenseRef-scancode-free-unknown", "Python-2.0", "Apache-2.0" ]
permissive
aschackmull/ql
a26f4bd82755a5edbef5d7ce413b0fc5e902f522
742c9708a9888c59391b49041ebb2f18ef2e1ffb
refs/heads/master
2023-08-30T23:38:07.249712
2019-09-02T07:43:40
2019-09-02T07:43:40
143,422,705
2
0
Apache-2.0
2023-08-08T07:36:59
2018-08-03T12:07:28
C#
UTF-8
Python
false
false
997
py
from django.conf.urls import patterns, url from django.db import connection, models from django.db.models.expressions import RawSQL class Name(models.Model): pass def save_name(request): if request.method == 'POST': name = request.POST.get('name') curs = connection.cursor() #GOOD -- ...
[ "mark@hotpy.org" ]
mark@hotpy.org
c7bfd5390605483a0f5a07ad660e0c7eab5de49b
09ce9635b0e74ba178e98efd0d5229a25995713e
/submissions/dp/e.py
cd6d6126f5bbbf9aa97254230a98b7d1494674d0
[ "Unlicense" ]
permissive
m-star18/atcoder
7575f1e1f3ee1dfa4a765493eb17b4ef0ad5f1f0
08e475810516602fa088f87daf1eba590b4e07cc
refs/heads/main
2023-07-14T09:16:42.807150
2021-08-22T15:59:48
2021-08-22T15:59:48
364,458,316
1
0
Unlicense
2021-08-22T15:59:49
2021-05-05T04:13:03
Python
UTF-8
Python
false
false
413
py
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) import numpy as np n, w = map(int, readline().split()) wv = [list(map(int, readline().split())) for i in range(n)] dp = np.full(n * 1000 + 1, w + 1, dtype=int) dp[0] = 0 f...
[ "31807@toyota.kosen-ac.jp" ]
31807@toyota.kosen-ac.jp
2a30996adf8d9e2ca5d503127526b85f752b36e3
2f19adddc875673df742475c1c97b5aca720cac7
/ex030.py
cefc96e7806fced51dabbd5c78db8def6d7f1132
[]
no_license
rosepcaldas/Cursoemvideo
4e71b1ce0fe6e5c2ac83a15ff9e18768778d1dab
c722b1f7f902e43168279cd4e0414215b8395dc6
refs/heads/master
2020-07-28T20:19:46.004918
2019-09-19T10:24:31
2019-09-19T10:24:31
209,524,974
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
# Crie um programa que leia u, número inteiro e # mostre na tela se ele é par ou impar n = int(input('Informe o número: ')) na = len([n]) nu = n % 2 # pega o resto da divisão se for par a resposta é 0 if nu == 0: print('O número {:.0f} é par'.format(n)) else: print('O número {:.0f} é ímpar'.format(n))
[ "rosepcaldas@gmail.com" ]
rosepcaldas@gmail.com
dde7523ce9aadc11cfd56ea8e600c096b2231c90
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/deregister_scenes2_response.py
c72dc10527a917326ae4cca1bfb29ce14f17f061
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,187
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class DeregisterScenes2Response(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and t...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
330dbe929772d931b49b5c6f6440c69e0432307d
02c4c52f2f630df77bc25994aee13a7530e3136d
/022016/python/usernameModeling.py
d87e679070348c4c30c0a1033506429ded0dec4b
[]
no_license
abgoswam/2016
ac7d61828bc5fda8c003f135bc250ed57d03ae4c
307844ba74bf302c290a4e2b4792a096e0c3cb56
refs/heads/master
2020-04-15T14:03:49.674650
2016-12-09T02:19:44
2016-12-09T02:19:44
57,982,844
1
0
null
null
null
null
UTF-8
Python
false
false
2,255
py
# -*- coding: utf-8 -*- """ Created on Sun Feb 21 22:37:52 2016 @author: agoswami """ import pandas as pd import numpy as np import matplotlib.pyplot as plt df = pd.read_csv(r'E:\hackerreborn\022016\csharp\ConsoleAppsFeb\okcFeaturizerFull\bin\Debug\data\Results2.csv') df['TrainingError'] = 1.0 - df['TrainingAccurac...
[ "abgoswam@gmail.com" ]
abgoswam@gmail.com
5838af29b6da9a3985e9dc1b5e17d977649c7b89
95cdf7753fc4022be239666a902df217a93f7125
/po_appium_2/page_object/personal_page.py
e03251ae4a2105cde922b3640126a840d17b3e35
[]
no_license
he9mei/python_appium
ffe1b872d3732b9e8510da0dd24f7a791c534be0
9fc5dcb67769d2d103756b9fca82d2cfeae40e72
refs/heads/master
2022-06-01T03:24:36.821931
2022-05-22T07:55:58
2022-05-22T07:55:58
223,714,095
0
1
null
null
null
null
UTF-8
Python
false
false
465
py
from po_appium_2.base.base_page import BasePage from selenium.webdriver.common.by import By class PersonalPage(BasePage): # el_tab_personal=(By.ID,"com.dangdang.reader:id/tab_personal_iv") el_tab_personal = (By.ID, "com.dangdang.reader:id/tab_personal_rl") el_nickname = (By.ID, "com.dangdang.reader:id/nic...
[ "396167189@qq.com" ]
396167189@qq.com
87fe92f2b3582497a98964e17b90f56b052bc59a
0958db6bf636722685f33501408b3e28a45b2b14
/pyopengl/translate/translate.py
661b6aa7c524fa9d2daa3204da53c42a0b1fb275
[ "MIT" ]
permissive
KeitaIto123/pygame
eee68fe59f7bf3eb408ff98737150a7d5fe258fc
cf5ba2331dc6b4a930f9c3dacbaa7954f51498db
refs/heads/master
2020-03-26T10:57:52.613169
2017-03-12T14:06:35
2017-03-12T14:06:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
#!/usr/bin/env python #coding:utf-8 from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * import sys angle = 0.0 def main(): glutInit(sys.argv) glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH) glutInitWindowSize(300, 300) glutInitWindowPosition(100, 100) glutCreateWind...
[ "f2forest@gmail.com" ]
f2forest@gmail.com
0b04d50732ff204a480e58a43f5281513816e8f7
f45cc0049cd6c3a2b25de0e9bbc80c25c113a356
/LeetCode/链表(Linked list)/83. 删除排序链表中的重复元素.py
92cf915db301df29cfab1bcbe8646e997ca7ea08
[]
no_license
yiming1012/MyLeetCode
4a387d024969bfd1cdccd4f581051a6e4104891a
e43ee86c5a8cdb808da09b4b6138e10275abadb5
refs/heads/master
2023-06-17T06:43:13.854862
2021-07-15T08:54:07
2021-07-15T08:54:07
261,663,876
2
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
""" 给定一个排序链表,删除所有重复的元素,使得每个元素只出现一次。 示例 1: 输入: 1->1->2 输出: 1->2 示例 2: 输入: 1->1->2->3->3 输出: 1->2->3 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 """ # Definition for singly-linked list. class ListNode: def __init__(self, x): s...
[ "1129079384@qq.com" ]
1129079384@qq.com
4cd930a0616e8e1254e94300e7f02a3c21ed4225
cf6c67790393b4d1ad75f5f30fef00455bc9a541
/conftest.py
58b0ad75949358fbc4d91cdeca4171c183a80a85
[ "MIT" ]
permissive
ohsu-comp-bio/icgc_dataobjects
fe3b231838875c9dadb9eacb17004fc59790689c
3cbb676d2e1a9a21e03f3cfb8a3853752aa97916
refs/heads/master
2022-10-09T01:04:14.259700
2017-05-05T20:28:50
2017-05-05T20:28:50
90,410,194
0
0
MIT
2022-09-23T20:52:26
2017-05-05T19:33:26
Python
UTF-8
Python
false
false
373
py
#!/usr/bin/env python """ configure tests - returns a reference to the app """ from icgc_dataobjects import run import pytest import os from json import dumps @pytest.fixture def app(request): # get app from main app = run.app app.config['PRESERVE_CONTEXT_ON_EXCEPTION'] = False return app @pytest.f...
[ "brian@bwalsh.com" ]
brian@bwalsh.com
1ae29137775eef7dfaad0d712c47d5e155f15ca9
35cf6fc79b8d6c335add8e55e0f4dca6f2816d1d
/Python_Study/第四模块学习/Day04/协程/select版_socket/select_server.py
b1694d5229e301ddff7b6776263e86caa632c743
[]
no_license
KongChan1988/51CTO-Treasure
08b4ca412ad8a09d67c1ea79c7149f8573309ca4
edb2e4bd11d39ac24cd240f3e815a88361867621
refs/heads/master
2021-07-04T15:57:56.164446
2019-07-24T15:28:36
2019-07-24T15:28:36
97,453,749
5
8
null
2019-10-30T22:05:12
2017-07-17T08:34:59
Python
UTF-8
Python
false
false
2,646
py
# -*- coding:utf-8 -*- # Author:D.Gray import select import socket import queue server = socket.socket() server.bind(('localhost',6969)) server.listen(100) print('等待链接...') dic = {} inputs = [server,] #想要监测的链接列表 不能为空列表否则会报错 解决办法:先把自己server(socket实例)交给内核监测 outputs = [] #往outputs放啥链接就出啥链接内核不监测(这里就是要返回给客户端的数据放到output...
[ "wangwei_198811@163.com" ]
wangwei_198811@163.com
2bbef8021c2496eff02de32f64d4f4d7042f8aba
856fce4cdc5c01159a3864837b1a34341d324b92
/.circleci/cimodel/lib/miniyaml.py
ccd888ab2b0c312d274ea16519a2ebe02fada392
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
ChinmayLad/pytorch
4c04a75854b85e42855dc16c0a081b718a34a1e4
4086f7432b1172ab0bcd26d3ac1327ca081a0c5c
refs/heads/master
2020-08-04T11:20:43.326352
2019-10-01T14:12:23
2019-10-01T14:14:01
212,119,066
3
0
NOASSERTION
2019-10-01T14:35:14
2019-10-01T14:35:14
null
UTF-8
Python
false
false
1,329
py
#!/usr/bin/env python3 from collections import OrderedDict LIST_MARKER = "- " INDENTATION_WIDTH = 2 def is_dict(data): return type(data) in [dict, OrderedDict] def is_collection(data): return is_dict(data) or type(data) is list def render(fh, data, depth, is_list_member=False): """ PyYaml does...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
15c8b37460ae72ca555cae097753bfb6d20bee95
b6c675de39e9c10beb967087b1033680cf1632b2
/methods/opennmt_based/OpenNMT-py/onmt/bin/translate.py
b0a7820ac696ca2c82b801b4dd93ec8157694134
[ "MIT" ]
permissive
INK-USC/CommonGen
d0a870be5188f0b43942b112fe95dd57b731f823
1584f0689282b9faf76dcce87ca2c4ff142b5d09
refs/heads/master
2023-08-24T19:46:34.013502
2021-12-09T02:28:25
2021-12-09T02:28:25
237,142,704
135
25
MIT
2023-09-06T17:33:08
2020-01-30T05:03:14
Python
UTF-8
Python
false
false
1,347
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals from itertools import repeat from onmt.utils.logging import init_logger from onmt.utils.misc import split_corpus from onmt.translate.translator import build_translator import onmt.opts as opts from onmt.utils.parse import ArgumentP...
[ "yuchen.lin@usc.edu" ]
yuchen.lin@usc.edu
c84249cfb2e542d088d8cde9f155baaee5efcc83
fcbedcc2f7483a4b3ce9111c9c889bd4a5079496
/client-side/htmlrequest2.py
e10c9a32348a730f2adcc4d3fbe34cd9b894b96a
[]
no_license
kevlab/RealPython2
aab94de91d0824290bfce4a318f57f4fe5282f19
a85f92563b414830431a79d2448682da0c12d645
refs/heads/master
2021-01-10T19:10:46.035344
2015-05-27T02:24:48
2015-05-27T02:24:48
31,555,269
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
import requests r = requests.get("http://python.org") with open("test_requests.html", "wb") as code: code.write(r.content)
[ "greenleaf1348@gmail.com" ]
greenleaf1348@gmail.com
b8ee031ea7fb4b94246e7a5aa19ae676d4b74c07
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/453/usersdata/283/109103/submittedfiles/programa.py
c7ca4ac5ac6af5db82570a8b4d98f3c060568c7a
[]
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
620
py
# -*- coding: utf-8 -*- a=[] b=int(input('Digite a dimensão do tabuleiro: ')) while b<=0: print('Digite outro valor') b=int(input('Digite a dimensão do tabuleiro: ')) a.append(b) c=[] for i in range(0,b,1): l=[] for j in range(0,b,1): l.append(int(input('Digite um número para a linha ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
088899e126da15a18ed348ffe8ebb386653acbb4
2ac98353664e38023bb63923166058526656795a
/course10_flask/flask_examples/with_forms.py
841b7df464a55e3617e712fcf5fa187ecb039d47
[]
no_license
MrgLuK/tceh_python_dev
aa2ffc851c9b21964e20a7056e011d162a98d411
481e0bad43c57abb8567d4199ba684b0f8625096
refs/heads/master
2020-09-08T18:34:28.196420
2018-03-03T10:06:18
2018-03-03T10:06:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import datetime from flask import Flask, request # pip install flask-WTF from flask_wtf import FlaskForm from wtforms import StringField, validators, DateField class ContactForm(FlaskForm): name = StringField(label='Name', validators=[ validators.Length(min=4, max=25) ]) email = StringField(label...
[ "weoz@ukr.net" ]
weoz@ukr.net
ea6f03bcbb19dba25df08b1f6cf228185fed3421
a899b523608bbb015d64f22edf6587101707d728
/share/examples/nrniv/nmodl/tstpnt1.py
f0cc4ac50b80a390881519f536f2337d2f4f4b6f
[ "BSD-3-Clause" ]
permissive
evanblasy/nrn
5188b7bf17fdc93049993d596a627531ed1c7e94
922a024b0d065ed80cd367b6c33cd5a7e0b63405
refs/heads/master
2020-05-20T08:36:16.529850
2019-05-07T17:55:00
2019-05-07T17:55:00
185,477,580
0
0
NOASSERTION
2019-05-07T21:01:32
2019-05-07T21:01:32
null
UTF-8
Python
false
false
358
py
from neuron import h a = h.Section() vec = h.Vector(10).indgen().add(100) tp = [] for i in range(0, 10): tp.append(h.t1(.5, sec=a)) a.v = 10 tp[2].f1() h.setpointer(a(.5)._ref_v, 'p1', tp[0]) for i in range(1, 10): h.setpointer(vec._ref_x[i], 'p1', tp[i]) for i in range(0, 10): print i, tp[i].p1, tp[i].f1() ...
[ "michael.hines@yale.edu" ]
michael.hines@yale.edu
ddded41d3edabd68fd58552fe29244a82e5c916f
b6083fe9796a5183c499cc4cb6db3b3c3f88252f
/dcf/__init__.py
12274544b3184b7935e8b7ecb5af3214376324ba
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
fagan2888/dcf
c2ca747811fc6c3d2213341f0c4fcd41e468af61
758431c1cbbf503bd4a6b9b669c45d031d41d337
refs/heads/master
2021-03-16T21:18:36.312701
2019-09-18T12:57:31
2019-09-18T12:57:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
# -*- coding: utf-8 -*- # dcf # --- # A Python library for generating discounted cashflows. # # Author: sonntagsgesicht, based on a fork of Deutsche Postbank [pbrisk] # Version: 0.3, copyright Wednesday, 18 September 2019 # Website: https://github.com/sonntagsgesicht/dcf # License: Apache License 2.0 (see LICENS...
[ "sonntagsgesicht@icloud.com" ]
sonntagsgesicht@icloud.com
c8333ed04c27546a7deac064a44642faf6c1dd4f
3a28b1a12d0710c06f6360381ad8be6cf3707907
/modular_model/triHPC/triHPCThermo/HPCAllTrays14CstmVapEtlp.py
f933ed1c08c46ec667dcacb53908d941bad3237a
[]
no_license
WheatZhang/DynamicModelling
6ce1d71d3b55176fd4d77a6aedbaf87e25ce4d02
ea099245135fe73e8c9590502b9c8b87768cb165
refs/heads/master
2020-06-15T14:12:50.373047
2019-07-05T01:37:06
2019-07-05T01:37:06
195,319,788
4
0
null
null
null
null
UTF-8
Python
false
false
318
py
def VapEtlp(P,T,x_N2): x = (P-5.55760488e+02)/3.71707300e-01 y = (T--1.77199707e+02)/4.48098000e-02 z = (x_N2-9.31022717e-01)/7.67438050e-03 output = \ 1*2.72324902e+00+\ z*-3.07164849e+00+\ y*-1.72389421e+00+\ x*3.47256757e-01 vap_etlp = output*1.01938238e+01+-6.05953573e+03 return vap_etlp
[ "1052632241@qq.com" ]
1052632241@qq.com
6e5eb1f10b5699839960bd679a3a6ac1a15e6678
72863e7278f4be8b5d63d999144f9eaec3e7ec48
/venv/lib/python2.7/site-packages/sslyze/plugins/plugins_repository.py
4f0471ebd2619affa4e39c56e673b79575cfda0e
[ "MIT" ]
permissive
sravani-m/Web-Application-Security-Framework
6e484b6c8642f47dac94e67b657a92fd0dbb6412
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
refs/heads/master
2020-04-26T11:54:01.334566
2019-05-03T19:17:30
2019-05-03T19:17:30
173,532,718
3
0
null
null
null
null
UTF-8
Python
false
false
3,004
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import unicode_literals from sslyze.plugins.certificate_info_plugin import CertificateInfoPlugin from sslyze.plugins.compression_plugin import CompressionPlugin from sslyze.plugins.fallback_scsv_plugin import FallbackScsvPlugin from ...
[ "sravani.manukonda7@gmail.com" ]
sravani.manukonda7@gmail.com
60506dcb44a7159c3b8bc894cc42738a24c0aa62
bcacadcac6d9121956a3fe2c3107f7caaba47ff3
/users/migrations/0010_myuser_enrollment.py
b4d05d94fea9c69a840124c1ac44db4fbc71f32b
[]
no_license
rohitchaudhry362/ProjectWithPython-Django-
43be8b4cccc07d21caafdfa97ff4658b56911ba4
6a2bb2b6c03d217a8ea6c138927f6b10c76ac746
refs/heads/master
2022-11-16T15:11:55.774437
2020-07-09T01:13:58
2020-07-09T01:13:58
278,227,872
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# Generated by Django 2.1.3 on 2019-02-17 11:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0009_auto_20190217_0939'), ] operations = [ migrations.AddField( model_name='myuser', name='enrollment', ...
[ "rchaudhry0339@conestogac.on.ca" ]
rchaudhry0339@conestogac.on.ca
7a79cfda0f10f36c0888725399f6cea5885a3081
2ae478f2991d34c8e1165372a2c175fad6dc8733
/backend/home/migrations/0002_load_initial_data.py
5498de2b37e65831b308a31f2bf342023cddf751
[]
no_license
crowdbotics-apps/hello18-nov-dev-15266
cd5ce94bdd7370cddbbb2b88459262d14c83ff7b
95f2a7bd83b25e2cbaf04cb783d49b6eba2cecee
refs/heads/master
2023-01-11T08:15:31.285420
2020-11-18T13:21:52
2020-11-18T13:21:52
313,941,320
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "hello18 nov" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3890a73e6d7dde9cc5ad1f4cdf88a3c52c790142
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L79/79-80_wat_20Abox/set_3.py
7043347459366f7928d6b8cc071d78bcaeda53b7
[]
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
739
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L79/wat_20Abox/ti_one-step/79_80/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_3.in' temp_pbs = filesdir + 'temp_3.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lamb...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
2c082a3de5f8ebcfb9c15ea01da7ea14bb7815ff
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/b92dae6ee6d9a4018bd81ef25b1b496cef136d4131f2d8418e5e2e3f22a69356/pyexpat/errors.py
a95c32693566db399bb1ef0e498f350e726b7dd6
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
5,517
py
# encoding: utf-8 # module pyexpat.errors # from C:\Users\Doly\Anaconda3\lib\site-packages\tables\_comp_lzo.cp37-win_amd64.pyd # by generator 1.147 """ Constants used to describe error conditions. """ # no imports # Variables with simple values XML_ERROR_ABORTED = 'parsing aborted' XML_ERROR_ASYNC_ENTITY = 'asynchro...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
73bab1fe0db94fd1b195beb012c1e2e0a6737573
f9c8295ad3e0d5a0c2c8cfe34146696881c46f23
/backend/app/crud.py
aafe9808ef47fda893e55fcad6dbb709f47aa6bd
[]
no_license
mary-lev/concordances2.0
60fa72405d75b65bf7eceb92312c644636146c03
8c3da6d684e61d3c4395a985a8d798f2bb2d3d65
refs/heads/master
2023-08-08T15:29:33.045917
2023-07-29T20:14:33
2023-07-29T20:14:33
32,200,125
1
0
null
null
null
null
UTF-8
Python
false
false
6,500
py
from typing import List from sqlalchemy.orm import Session import app.models as models import app.schemas as schemas # AuthorSchema CRUD operations def get_author(db: Session, author_id: int): return db.query(models.Author).filter(models.Author.id == author_id).first() def get_authors(db: Session, skip: int = 0,...
[ "marylevchenko@gmail.com" ]
marylevchenko@gmail.com
c124acf38230990fd2099c859343bba4e8fdcfa6
faa83d63a23aec7c4f45c6ce6d140985a9fb2d50
/package/diana/cli/commands/oputm.py
5c09ce365b6358c13c81bb937a526c20b00802fb
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
thomasyi17/diana2
dbf23382f5f84bd9cf86ce531f46452f0083e7f6
983e58ef0a5fe0d820a56c41c823369754019171
refs/heads/master
2023-03-24T15:13:29.421614
2022-06-12T21:42:28
2022-06-12T21:42:28
167,248,482
0
0
MIT
2019-06-25T19:41:36
2019-01-23T20:22:50
Python
UTF-8
Python
false
false
529
py
import click from crud.cli.utils import ClickEndpoint, CLICK_MAPPING from diana.apis import Orthanc @click.command() @click.argument("source", type=ClickEndpoint(expects=Orthanc)) @click.argument("item", type=click.STRING) # oid or fn @click.argument("updates", type=CLICK_MAPPING) @click.pass_context def oputm(ct...
[ "derek_merck@brown.edu" ]
derek_merck@brown.edu
06024385ee1e1af9c3908d3d86970024690f97cd
5699aa9e3a90e556508674ff49fea9eccac19a43
/Caffe_/Square_Diamond/SquareDiamond.py
fa29b88dad32ada9a7cea2b0b3e698e4a38d2e0d
[]
no_license
nagababu-avula/ML-Deep-Learning
e8166cdd7fc1ed2015d2a604afd64eeaf6fbbc29
68359eab6e86d786bcf44ac0ce1734170cced3b8
refs/heads/master
2021-05-02T09:10:44.177857
2018-03-20T20:58:05
2018-03-20T20:58:05
120,817,489
0
0
null
null
null
null
UTF-8
Python
false
false
5,747
py
# %%%%%%%%%%%%% Deep Learning %%%%%%%%%%%%%%%%%%%%%%%%%%% # %%%%%%%%%%%%% Authors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Dr. Martin Hagan----->Email: mhagan@okstate.edu # Dr. Amir Jafari------>Email: amir.h.jafari@okstate.edu # %%%%%%%%%%%%% Date: # V1 Jan - 01 - 2017 # V2 Nov - 12 - 2017 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
[ "amir.h.jafari@okstate.edu" ]
amir.h.jafari@okstate.edu
664b206bcd3608ce8d86019f23fef74bd7818711
939070009a546b90e866da89b3a3df76e215d567
/toga/platform/win32/widgets/container.py
c9b223a0f9701131996dcdaba2329a0d5a2e3dad
[ "BSD-3-Clause" ]
permissive
dyxushuai/toga
0470ef04bca72565a3d388b71ce960a30af09452
08ba8b1c436f19c6ddae88f46e4582075335b745
refs/heads/master
2021-05-26T15:15:16.403171
2014-08-06T23:54:50
2014-08-06T23:54:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
from __future__ import print_function, absolute_import, division from toga.cassowary.widget import Container as CassowaryContainer class Win32Container(object): def add(self, widget): pass class Container(CassowaryContainer): def __init__(self): super(Container, self).__init__() self...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
05e5078df589a817714f81253d39d47e0d0ed558
92b3ef25a80ba58d0fcfa288001a7455106089a1
/salvia/wallet/puzzles/cc_loader.py
ff50fc7656ec451a192ddd069b80f0dbc1d2de5b
[ "Apache-2.0" ]
permissive
mikando/salvia-blockchain
bb97b7b52277c683c48fcad9a4697ea89e514c47
02181d0b5a063374f01eea951570dbc661bddc34
refs/heads/main
2023-08-26T15:50:48.931823
2021-11-07T21:57:27
2021-11-07T21:57:27
408,143,294
0
0
Apache-2.0
2021-09-19T14:32:22
2021-09-19T14:04:37
Python
UTF-8
Python
false
false
207
py
from salvia.wallet.puzzles.load_clvm import load_clvm CC_MOD = load_clvm("cc.clvm", package_or_requirement=__name__) LOCK_INNER_PUZZLE = load_clvm("lock.inner.puzzle.clvm", package_or_requirement=__name__)
[ "contact@salvianetwork.net" ]
contact@salvianetwork.net
0d1267630e0b20b76046be06d6c15bddf9c2000c
b30beadce04e6871bc15886891fc6ea2f16afd4f
/02_26_tue/dictionaires.py
6d51155fd5bb8f2964a5923b9863da9b81ce0092
[]
no_license
martin-martin/python-crashcourse
4d566a7114f4a1b2fdadde5d419c141a48a850ac
4b335b676f10736297b9034c2c91c8f71dbe0ce4
refs/heads/master
2022-12-09T12:41:26.143372
2020-03-03T09:02:57
2020-03-03T09:02:57
172,666,704
0
0
null
2021-06-01T23:33:41
2019-02-26T08:12:06
HTML
UTF-8
Python
false
false
234
py
locations = ["indonesia", "spain", "thailand", "mexico", "usa"] visited = [] while locations: visited.append(locations.pop()) # for loc in locations.copy(): # visited.append(locations.pop()) print(locations) print(visited)
[ "breuss.martin@gmail.com" ]
breuss.martin@gmail.com
5849613f068902e073ff951e58b019aa228a8a0d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02713/s902191382.py
f6e3b253ad44da91aece60ce5a5433f35e9bde4b
[]
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
265
py
import math from functools import reduce def gcd_list(num_list): return reduce(math.gcd, num_list) K = int(input()) sum = 0 for a in range(1, K+1): for b in range(1, K+1): for c in range(1, K+1): sum += gcd_list([a, b, c]) print(sum)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5028fad0185c2d19a1a845e507a38657508b92bf
6056a1191228cae3f31b9a92772ff3c23cab06d8
/In/field/admin/form/field_formatter_config.py
8f75921a0cbc3f8ac8ba7d168e72d40014f17353
[ "Apache-2.0" ]
permissive
vinoth3v/In
2e98f941f4367cf3e0dcbbc56dc30a359bc3f564
d5b3651ff909c55a48566f7b8b33d38103ff09b1
refs/heads/master
2021-01-22T14:38:58.870835
2016-01-15T07:53:58
2016-01-15T07:53:58
41,109,563
3
1
null
null
null
null
UTF-8
Python
false
false
7,794
py
from collections import OrderedDict #******************************************************************** # FieldFormatterConfigForm #******************************************************************** class FieldFormatterConfigFormBase(Form): '''Base entity Form class''' @IN.register('FieldFormatter', ...
[ "vinoth.3v@gmail.com" ]
vinoth.3v@gmail.com
5b92b7c5c9c5f6ccf8d4a746246862fb0b3f83f8
be01d0d54723d1e876c9a15618921dffe2b2255a
/Python/68.text_justification.py
6e85a53d48bbb05d8c2b34be0b42c08e02700a7a
[]
no_license
jxlxt/leetcode
17e7f25bf94dd334ac0d6254ffcffa003ed04c10
a6e6e5be3dd5f9501d0aa4caa6744621ab887f51
refs/heads/master
2023-05-26T22:10:03.997428
2023-05-24T02:36:05
2023-05-24T02:36:05
118,216,055
0
0
null
2018-01-20T06:31:57
2018-01-20T06:30:06
null
UTF-8
Python
false
false
1,128
py
class Solution: def _format(self, line, maxWidth): if len(line) == 1: return line[0] + ' ' * (maxWidth - len(line[0])) length = sum([len(w) for w in line]) s, gap = line[0], len(line) - 1 for index, w in enumerate(line[1:]): if index < (maxWidth - length) % ga...
[ "xli239@ucsc.edu" ]
xli239@ucsc.edu
9c40961fc7d3d2ce703c3ea60020d4943339373e
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1144+615/sdB_pg_1144+615_lc.py
f1d3919134d960ed9ea5f41b43fb9557f3e86b36
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[176.811042,61.258867], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_pg_1144+615/sdB_pg_1144+615_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name_...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
b7090c0c25147b923f308d494615564aaf25264b
b5550fc728b23cb5890fd58ccc5e1668548dc4e3
/virt/hyperv/basevolumeutils.py
186ef7c49b04c0bcb647d9b6bdcef63f8b6836f4
[]
no_license
bopopescu/nova-24
0de13f078cf7a2b845cf01e613aaca2d3ae6104c
3247a7199932abf9718fb3260db23e9e40013731
refs/heads/master
2022-11-20T00:48:53.224075
2016-12-22T09:09:57
2016-12-22T09:09:57
282,140,423
0
0
null
2020-07-24T06:24:14
2020-07-24T06:24:13
null
UTF-8
Python
false
false
5,702
py
#coding:utf-8 # # Copyright 2012 Pedro Navarro Perez # Copyright 2013 Cloudbase Solutions Srl # 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:...
[ "719184289@qq.com" ]
719184289@qq.com
fbc7aaecdf29ccad24af1f0dfe4866af0bf02366
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/3995/codes/1635_2446.py
80aab3f9c9d993e1a7c19611e2471a80ff300a06
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
193
py
s=int(input("senha:")) x=s//100000 y=(s//10000)%10 w=(s//1000)%10 z=(s//100)%10 u=(s//10)%10 v=s%10 h=(y+z+v)%(x+w+u) if(h==0): msg=("acesso liberado") else: msg=("senha invalida") print(msg)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
7158b83f898290c38b52f25b5b508a6370b9b60d
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20180314/example_es/insert_elastic2.py
4228f9d48c2e71f733272e7c4da7f97e888094c9
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
360
py
import bson import uuid from elasticsearch import Elasticsearch from elasticsearch import helpers es = Elasticsearch() actions = [] for i in range(1000): doc = {"id": str(bson.ObjectId()), "value": uuid.uuid4().hex, "workspaceId": str(bson.ObjectId())} actions.append({'_index': 'values', '_type': 'values', '_s...
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
15f5a9c569d1fb6ab529c5ad039d4b5a70bdb43e
d533f99716f1b8e2cae41f4cb5874a0e835ff87a
/game/settings.py
b9cc78bab50e724b892d9430499ba578e637392a
[]
no_license
fahadnalm/final_project
ccbb90ba9adfd5810b520ae92f098f8e4535e330
92149b2321c7ff049ae32dca3f19a42648d70468
refs/heads/master
2021-05-08T19:23:55.873786
2018-02-11T14:54:57
2018-02-11T14:54:57
119,567,670
0
0
null
null
null
null
UTF-8
Python
false
false
3,209
py
""" Django settings for game project. Generated by 'django-admin startproject' using Django 2.0.1. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # Bu...
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
06af9ac26ebe573e0695bb8d8afe4b8b9ea1cdbf
8c205f3596ab0cb6a77fd5ae7040fabaf3350c1c
/File I-O/XML/xml1.py
7e39f9771993da973572238eb07885dd0f9cf2e4
[]
no_license
deesaw/PythonD-04
5c093c5ccafbc956a144f76d70bb2918cd768d50
41f24e9d721c081fe73a8f8fcd51425ca3b9245a
refs/heads/master
2023-03-27T19:06:16.075274
2021-03-02T14:00:54
2021-03-02T14:00:54
343,792,528
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
import xml.etree.ElementTree as ET root = ET.Element("root") doc = ET.SubElement(root, "doc") ET.SubElement(doc, "color", name="blue").text = "Ocean" ET.SubElement(doc, "color", name="green").text = "Tree" tree = ET.ElementTree(root) tree.write("1.xml")
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
2bce49d1cadf7fc736977c710f9e4bc442d0f412
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02690/s308076339.py
29f603b162be9a9d266e57d08a46017ebf808eba
[]
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
148
py
x = int(input()) y = 10**4 for i in range(y): for j in range(-y,y): if i ** 5 - j ** 5 == x: print(i, j) exit()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5e748272d64595abfc4c1e52bb35fd895bb44e40
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/client/gui/prb_control/items/prb_items.py
05d9ac631c370c2d670ab069c85463eb5b657bd7
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
5,458
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/prb_control/items/prb_items.py from collections import namedtuple from account_helpers import getAccountDatabaseID, getPlayerID from gui.prb_control.prb_helpers import BadgesHelper from helpers import dependency from constants i...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
e4b8ba9ec439d04ff7398718c427387851a30075
30a24e8957356f973fbc6fadcda5c13881222f03
/np-tools/show_tree
5300e81cea19ae6d9fc4491e213a6fe7adfac55a
[]
no_license
matthew-brett/curious-git
8e6e29e1f4d85cf5f2011a756631e20b9ed0411e
cff74420b45e645245dc0ba3a82f8a48fa9df99f
refs/heads/main
2022-02-14T09:44:52.528222
2022-02-04T11:25:38
2022-02-04T11:25:38
62,210,683
15
5
null
2021-11-22T11:26:22
2016-06-29T08:48:07
Python
UTF-8
Python
false
false
3,170
#!/usr/bin/env python """ Apply ordering to directories in base repo Print out directory using some custom ordering """ from __future__ import print_function import sys from os import listdir from os.path import (dirname, join as pjoin, abspath, isdir, isfile, basename) from time import strptime, mktime, localtime M...
[ "matthew.brett@gmail.com" ]
matthew.brett@gmail.com
ee6c95789cb17109d43b76140955ac3300ba7125
eabc80fd1bb8a8abb65432dabf3714de7772ca2c
/fig1_1d2map/spotcheck.py
dc1f2cde260e90f3c4dbbd6e13559e7ae4e9fbdb
[]
no_license
ahwillia/rnn_remapping_paper
57c7c90b3071ff59a80e0232ee072cc97c0c33ba
d68e1738be8a475d858ec7aae186bb2640236d29
refs/heads/main
2023-07-20T05:50:15.045215
2023-07-06T21:28:48
2023-07-06T21:28:48
489,425,190
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import sys sys.path.insert(1, '../model_scripts/') sys.path.insert(1, '../utils/') import os import json from model import RemapManualRNN from debug_plots import plot_trial, plot_init_pos_perf from tqdm import trange import matplotlib.pyplot as plt import numpy as np import torch import argparse MODEL_PATH = "../data/...
[ "alex.h.willia@gmail.com" ]
alex.h.willia@gmail.com
14352c0437e86a345aca051fec6eea45c2437347
0e38beda0f7782f3d34d0523bc9fc742df1a3347
/setting/wms_requests/wms_data_put.py
5b4d1f8557f937a1b833f662ccc57a76d5b8effe
[]
no_license
qq183727918/vevor-wms
552d3cb37d935c4c1574f714327cfd29373417ef
3001e1a1ba7916a95ad3e664292bbaf4a48ff182
refs/heads/master
2023-02-26T03:41:33.151388
2021-01-26T06:26:12
2021-01-26T06:26:12
330,854,839
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
# _*_ coding: UTF-8 _*_ # @Time : 2020/10/19 20:25 # @Author : LiuXiaoQiang # @Site : http:www.cdtest.cn/ # @File : lxq_put.py # @Software : PyCharm import requests from setting.config.config import wms_config from setting.config.config import wms_headers def put_request(path, payload, querystring): ...
[ "lxq13925731395@163.com" ]
lxq13925731395@163.com
a72c4c322307b3dc4222368aac86a643869531c0
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part007736.py
dd985fe08051a59942d89578131d11cd7e6c6d00
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
4,002
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
32b00011f23595fb4d87317fced001b69cbd3ee5
fced6d12377347966ca914657959fcc018f4c764
/edgetpuvision_orig/camera.py
cfc7d58e093e2b4f36307d8e698ab61d7901688d
[]
no_license
Danny-Dasilva/Google_Coral_Flask_v2
bb47ded20cf72b5761cee889f43273fb5a8e8dad
dc57764d016e90d402d9f29a55afc820f506489a
refs/heads/master
2020-09-17T08:59:29.893049
2020-01-05T23:58:45
2020-01-05T23:58:45
224,061,835
0
1
null
2019-12-04T05:06:29
2019-11-25T23:37:02
Python
UTF-8
Python
false
false
3,173
py
# Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "yahchayildasilva@gmail.com" ]
yahchayildasilva@gmail.com
69cee61c0e3ea9ab854b588b10fc446775ea6512
86393bd0d16c69363aa1afb4c4841fff6314493c
/examples/mnist_triton_e2e/train.py
5bdc75a0e5118d7308280303d092ea22aac151b6
[ "Apache-2.0" ]
permissive
SeldonIO/seldon-core
0179fc490c439dbc04f2b8e6157f39291cb11aac
6652d080ea10cfca082be7090d12b9e776d96d7a
refs/heads/master
2023-08-19T08:32:10.714354
2023-08-15T12:55:57
2023-08-15T12:55:57
114,898,943
3,947
885
Apache-2.0
2023-09-13T11:29:37
2017-12-20T14:51:54
HTML
UTF-8
Python
false
false
1,636
py
import numpy as np np.random.seed(123) # for reproducibility from tensorflow.keras.layers import (Activation, Convolution2D, Dense, Dropout, Flatten, MaxPooling2D) from tensorflow.keras.models import Sequential from tensorflow.keras.utils import to_categorical from tensorflow.k...
[ "noreply@github.com" ]
SeldonIO.noreply@github.com
2f45dfa18258a1198dcb2c01261cc30453830e4f
35fb8ef7f2b6673931b951c4e85a6f817238c528
/LeetCode/342.py
5e28b90dae9b014487b6c5b3e182ef343f029745
[]
no_license
cylinder-lee-cn/LeetCode
0baa3cc663d54305100affa394391325abdc8766
62ccbdedf4e1fb9788acfeb2a5bfce70f86c68b6
refs/heads/master
2021-07-09T15:41:56.980481
2021-01-11T03:14:24
2021-01-11T03:14:24
219,885,860
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
""" 342. 4的幂 给定一个整数 (32 位有符号整数),请编写一个函数来判断它是否是 4 的幂次方。 示例 1: 输入: 16 输出: true 示例 2: 输入: 5 输出: false 进阶: 你能不使用循环或者递归来完成本题吗? """ class Solution: def isPowerOfFour(self, num): """ :type num: int :rtype: bool """ if (num <= 0): return F...
[ "noreply@github.com" ]
cylinder-lee-cn.noreply@github.com
963c942768552d49cf6f1ab486f13d8330e1d011
53867809d8964576b3c61d29248cc6709c2932e5
/my_detr/intermediate_layer_getter.py
c73db6c285dffdc524e87dd2a5be6c03a3ed1d9e
[]
no_license
thunder95/paddle_papers_reproduce
bc7442349a86ec98b8c374ab4a34e0e8dd2df8a0
7421a0d382af2302e08b5843fbcf7f55c1fe40fa
refs/heads/main
2023-06-06T09:52:17.627044
2021-06-27T03:54:01
2021-06-27T03:54:01
380,636,833
0
0
null
null
null
null
UTF-8
Python
false
false
3,396
py
# ------------------------------------------------------------------------ # Modified from PyTorch-IntermediateLayerGetter (torchvision.models._utils.py) # ------------------------------------------------------------------------ from collections import OrderedDict from typing import Dict import paddle.nn as nn...
[ "you@example.com" ]
you@example.com
fbce4118aabb8e07144d1c5f2798def34633e661
1c390cd4fd3605046914767485b49a929198b470
/leetcode/unique-binary-search-trees.py
96851b35f3aa7b2b31116173d1f05ad76e2083e3
[]
no_license
wwwwodddd/Zukunft
f87fe736b53506f69ab18db674311dd60de04a43
03ffffee9a76e99f6e00bba6dbae91abc6994a34
refs/heads/master
2023-01-24T06:14:35.691292
2023-01-21T15:42:32
2023-01-21T15:42:32
163,685,977
7
8
null
null
null
null
UTF-8
Python
false
false
175
py
class Solution: def numTrees(self, n: int) -> int: z = 1 for i in range(n): z = z * (2 * n - i) // (i + 1) z //= n + 1 return z
[ "wwwwodddd@gmail.com" ]
wwwwodddd@gmail.com
f2d2b8f3ae7514a8ab989e185592b61daa8a4cb0
cd7edd08c0276f695bf38cc3d12c7d544b1a4f2d
/task3.py
17f0f2dcdb3a70b847a7f376a855e8d786a7e2bd
[]
no_license
chelm/uber-data
7370d274a721d886df9718ab4f5bb2f8b69b519c
00ae6babdab17aad9643b6e2da3a5d713638c480
refs/heads/master
2021-01-02T08:34:25.433126
2012-04-03T19:21:02
2012-04-03T19:21:02
3,913,855
1
2
null
null
null
null
UTF-8
Python
false
false
712
py
import gzip import os.path from scrubber import Scrubber s = Scrubber(.025) file = './all.tsv.gz' # Make sure we've got the data file locally if not os.path.exists(file): print 'Missing GPS data:', file else: gps = gzip.open(file, 'r').readlines() # secondary j iterator used to prevent doulbe testing / drop...
[ "christopher.helm@gmail.com" ]
christopher.helm@gmail.com
b17cf93464aead89866d4fb2ac1abf336328186e
5e4284f6293187bcaafb1599750619347f8de321
/manage.py
d9a0bb65044516dd077575d37c1a5be08d462cd1
[]
no_license
crowdbotics-users/imranoraclegmailcom-imrano-569
bf39ef0f0bfc2be297a34e2be2c7c26a0138d8bf
650758f549a38878d3c38866b70f953347e2f306
refs/heads/master
2020-04-05T09:07:26.353495
2018-11-08T17:27:22
2018-11-08T17:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "imranoraclegmailcom_imrano_569.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other r...
[ "sp.gharti@gmail.com" ]
sp.gharti@gmail.com
b927dc2cd5bf15106617e5758007a95988733606
ee4152e9b5eafa7afafe05de04391a9a3606eea3
/server/Autentication/Password/database.py
b673584976fe3872f220421504f88a92573859d4
[]
no_license
adibl/password_saver
3a06c8c04905d82f01fc14b41b646a6578af2b70
2ea73781db92ce750f91039251f2c06e929da7bb
refs/heads/master
2020-04-09T23:51:34.804870
2019-06-16T10:13:42
2019-06-16T10:13:42
160,665,348
0
0
null
null
null
null
UTF-8
Python
false
false
5,346
py
""" name: date: description """ from datetime import datetime import pymongo from bson.objectid import ObjectId from passlib.hash import bcrypt import server.Resorce.database as resorce_database from HTTPtolls import * from server.database_errors import * EXPIRE_TIME_HOUERS = 48 # FIXME: should be the same as resor...
[ "bleyer23@gmail.com" ]
bleyer23@gmail.com
f976aab636e90af2ce863fa0ea6b06eac9bac27b
2c03b472e4a62df759bf648f4c05a25b7311505d
/server.py
ccfd7905c9150084b8f3c740b35f9fc6a74d2d8d
[]
no_license
akini123456/flaskbase
449adbc6228eedb8d952778e91f334edafaa6abb
409ce24d14cfb0c26697dbb1d7360d865452d5dd
refs/heads/master
2022-12-16T05:52:54.619328
2020-09-12T17:56:46
2020-09-12T17:56:46
294,997,573
0
0
null
2020-09-12T17:56:47
2020-09-12T17:56:02
null
UTF-8
Python
false
false
216
py
from flask import Flask from flask import render_template from flask import request import model app = Flask(__name__) @app.route("/") def home(): return "Hello world!" if __name__ == "__main__": app.run()
[ "none" ]
none
f24a845b03c8f85ed725b528ce5c89a4c58edc70
0f4d72e1d30d2986e5fdfc98723b260166132e03
/tests/integration/test_model_serialization.py
e80a056865d035f6be2b2265821b3befb777e73d
[ "Apache-2.0" ]
permissive
vishalbelsare/GPflow
4991c238b7f8021c155940f3dfe99fb6bf0186ca
b716d22c7428f1bbe6bf4b361fdd0c7cb342a000
refs/heads/develop
2023-08-17T12:04:09.178253
2023-08-09T07:05:49
2023-08-09T07:05:49
392,794,283
0
0
Apache-2.0
2023-08-09T11:34:26
2021-08-04T18:42:41
Python
UTF-8
Python
false
false
1,393
py
# Copyright 2022 the GPflow 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 applicable law or agreed to in writi...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
0dbb5dc6e957410a1138ba84bcad1da0c610d4d7
43d8fd08c95ab0b7d73c4ab78529fdd5b0278892
/kubernetes/client/models/v1beta1_priority_class_list.py
8989f6a782e6f6b53d4c5071be2f36475debe171
[ "Apache-2.0" ]
permissive
btaba/python
7d160b26ea02f668e599857bb3913276213a54f7
08561d6477e9be1b39d67ea51dc024a4899fcc07
refs/heads/master
2020-04-01T11:47:59.498995
2018-10-13T19:03:25
2018-10-13T19:03:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,672
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "haoweic@google.com" ]
haoweic@google.com
081083442072900a7cb78b1c1f0143fb0a0bcf84
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/layout/annotation/_bgcolor.py
fa70f3b79dc6586815714e57fefa0cab26947d00
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
424
py
import _plotly_utils.basevalidators class BgcolorValidator(_plotly_utils.basevalidators.ColorValidator): def __init__( self, plotly_name="bgcolor", parent_name="layout.annotation", **kwargs ): super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=...
[ "noreply@github.com" ]
hugovk.noreply@github.com
a9239793befcf277b7aef885cdfdf89bfe043544
d23cc2e92a029961e52c81fd657fc827afe4f561
/realtime/webserver/views.py
489f52a17adcb96e505114cc9a1c03e069b9828b
[ "MIT" ]
permissive
PierreRochard/realtime-flask-experiment
c3f28f2c9c23bff5e365dc318dacd8517276b82b
775651e6a0bc07f54e2223cc0597f7ba31e6ea77
refs/heads/master
2022-01-22T22:48:27.862578
2022-01-02T02:08:34
2022-01-02T02:08:34
63,951,442
27
3
null
null
null
null
UTF-8
Python
false
false
436
py
from flask_admin import Admin from flask_admin.contrib.sqla import ModelView from realtime.database.models import TodoItems from realtime.database.adapter import db admin = Admin(name='realtime', template_mode='bootstrap3', url='/') class RealtimeModelView(ModelView): list_template = 'realtime.html' column_...
[ "pierre@rochard.org" ]
pierre@rochard.org
4f75711e25fd28bd5c228c43df6fb9af4e6100b2
1dd7fecaa182c1d7a29460dc5385066b68bcf676
/Files only - no directories/files_only_no_directories.py
025de9fc9f4a3fd0049f5bdd5afea850f122901e
[]
no_license
mainka1f/PythonUtilities
f081df31e6ea4311d4973ef7ba6bc0ff6be75fb1
f310d088a7a7a5f2c95c27cba3a7985207568d62
refs/heads/master
2021-12-02T19:21:11.915510
2012-05-01T21:43:57
2012-05-01T21:43:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
# list of files only, not directories # Ref: # "Python Phrasebook," p. 80ff import os import time cwd="c:\documents and settings\dwbarne" os.chdir(cwd) # get list of files files=os.listdir('.') def dump(file_tuple): mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime = file_tuple print " -size:", si...
[ "dwbarne@gmail.com" ]
dwbarne@gmail.com
3f8c39cb3822d13cee516a3443d27ffa941229f2
d54476a109bb7a75ab18c742e53425358eae2df7
/order/migrations/0001_initial.py
35257efce323ab459893b8704ac4c46eb2b3afa0
[]
no_license
OmarGonD/stickers_gallito
8b46673a73d3fa6fdbdeb9726804f3e3c176543b
4aa4f5aeb272b393410ed8b518aa39040f46a97b
refs/heads/master
2022-12-09T20:38:23.672740
2019-12-13T14:41:41
2019-12-13T14:41:41
163,198,792
0
1
null
2022-04-22T21:00:01
2018-12-26T16:35:33
HTML
UTF-8
Python
false
false
3,314
py
# Generated by Django 2.1.3 on 2019-05-21 00:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Order', fields=[ ...
[ "oma.gonzales@gmail.com" ]
oma.gonzales@gmail.com
3eb7dd76a43fd48fe40ce6cbd6f7ad759c30db7b
3ea93149149bbe9fc5e4b02bd7f95e3756bced23
/appone/migrations/0033_auto_20191001_2227.py
73038ec116d8649e022b616a0dd83fe9f71312cf
[]
no_license
dani75i/BlogPython
4d08865ab75db48f7d5f3e30208af2f7d05e5574
17a0ff3743e812187fd600205e8554bb8d59a5bd
refs/heads/master
2020-07-26T07:30:06.411079
2019-10-15T20:50:29
2019-10-15T20:50:29
208,578,140
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# Generated by Django 2.2.5 on 2019-10-01 20:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('appone', '0032_auto_20190930_2253'), ] operations = [ migrations.AlterField( model_name='newpost_likes_dislikes', na...
[ "you@example.com" ]
you@example.com
74ff14b77cd808f2e568077589f5cc3b607fbb11
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/others/Pix2Pix/options/test_options.py
6cfb04e2813e048beabade16e77d2c78b9def29a
[ "BSD-3-Clause", "BSD-2-Clause", "Apache-2.0", "MIT", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,906
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
1daf609eefdd5d1bbd54231a0384c0d5bd54607a
6f679ef9e8866039b5060f388f88eb9dd2f48046
/world/rent.py
9fa38ee4788208550a504f4e105f5ab65e75b11f
[]
no_license
NeilW/hosny
c2b4eff299bace2230574b4bb47ebdca30176453
df8c96209a0e97da881d35a6aa83b11d5cae6195
refs/heads/master
2021-01-22T21:52:53.977244
2017-03-16T21:18:54
2017-03-16T21:18:54
85,482,355
0
1
null
2017-03-19T14:28:18
2017-03-19T14:28:18
null
UTF-8
Python
false
false
3,207
py
""" estimate a rent distribution and probability of home ownership by neighborhood per year this probably isn't very accurate, but other data for this was surprisingly hard to find """ import random import numpy as np import pandas as pd from cess.util import random_choice from scipy.stats import gaussian_kde # prep...
[ "f+accounts@frnsys.com" ]
f+accounts@frnsys.com
ffabbca2c3aea4a31186a7b9ed94307a2047ce24
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/lib/third_party/monotonic/__init__.py
1920571e62f887fc426e7b1eee0a25d9c3dc3ea1
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
6,953
py
# -*- coding: utf-8 -*- """ monotonic ~~~~~~~~~ This module provides a ``monotonic()`` function which returns the value (in fractional seconds) of a clock which never goes backwards. On Python 3.3 or newer, ``monotonic`` will be an alias of ``time.monotonic`` from the standard library. On older versions, ...
[ "toork@uw.edu" ]
toork@uw.edu
34ecea61b05f8eb7c382a42fe3ecd9ddfd4bf2d4
88a1eb9e038fed34617cde04a3b526600fa311b4
/solutions/94.iterative.py
3d22d876bc1ad03f42bf4eaabcfc7078ed4fb03d
[ "MIT" ]
permissive
Jian-jobs/leetcode-notes
7ceacc6eff1b3b56e33fd005c038dd8337ba366b
c7dc3ead0f4fc660d7b59f90eb61ba9721280132
refs/heads/master
2020-05-15T01:00:39.825128
2019-02-12T16:39:27
2019-02-12T16:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
""" { "author": "Yucheng Huang", "difficulty": "medium", "link": "https://leetcode.com/problems/binary-tree-inorder-traversal/description/", "beats": 0.9807, "category": ["tree"], "tags": ["DFS","traversal"], "questions": [] } """ """ 思路 - 压栈时记录递归方向state """ # Definition for a binary tree...
[ "huangyc96@gmail.com" ]
huangyc96@gmail.com
af00d8a2247b802f47cf9cf4edf7fab1b57ce495
ffeacff13af906bf5e7a02018a2543902f5dc8ef
/01-Python核心编程/代码/04-数据序列/06-公共操作/hm_01_公共操作之运算符加号.py
783cd73ac789c887591af452b7c03e422808c906
[ "MIT" ]
permissive
alikslee/Python-itheima-2019
457080ee83d0f5f7eaba426da0ea86405d2d5248
691035d5ff0e362139c7dbe82f730ec0e060fd2e
refs/heads/main
2023-01-01T16:27:20.062463
2020-10-22T16:20:29
2020-10-22T16:20:29
305,959,901
1
0
null
null
null
null
UTF-8
Python
false
false
268
py
str1 = 'aa' str2 = 'bb' list1 = [1, 2] list2 = [10, 20] t1 = (1, 2) t2 = (10, 20) dict1 = {'name': 'Python'} dict2 = {'age': 30} # +: 合并 print(str1 + str2) print(list1 + list2) print(t1 + t2) # print(dict1 + dict2) # 报错:字典不支持合并运算
[ "lee079074256@gmail.com" ]
lee079074256@gmail.com
c02a55f5e06645080f6b3bba79d25fc7375d3dec
3075cf31d4d69cd1d66ab8df2bb05c26df26fee4
/yatr/tests/test_parse.py
7fe0ac3db5bb4a10a1f57d36ed19f37f8c58a02d
[ "MIT" ]
permissive
mbodenhamer/yatr
580a673c00ab46047f724482b692e54df9e7887f
9ebc0de3e474e38d9d79effe3e9c0fec11053024
refs/heads/master
2021-07-09T15:13:30.286166
2018-06-20T20:29:21
2018-06-20T20:29:21
65,609,207
1
1
MIT
2021-05-08T16:56:58
2016-08-13T09:07:03
Python
UTF-8
Python
false
false
2,602
py
import os from nose.tools import assert_raises import yatr.context as yc from yatr import Document, ValidationError from yatr.parse import get_delete DIR = os.path.abspath(os.path.dirname(__file__)) #------------------------------------------------------------------------------- # Utilities def test_get_delete(): ...
[ "mbodenhamer@mbodenhamer.com" ]
mbodenhamer@mbodenhamer.com
46f28081dba1e2532f8d196507c68b763c2eecf3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_bantering.py
7d479f5930937dc5379575c240f7a20c24209db8
[ "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 _BANTERING(): def __init__(self,): self.name = "BANTERING" self.definitions = banter self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['banter']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
61b92602c40f7f2e9184d041da4f15a13d6c2727
718bd345d88ce39b1b81d5b1f06ce25f8442574d
/routeros_diff/utilities.py
3648cdc5a381002311f353fec2c560f25fa5c675
[ "MIT" ]
permissive
gardunha/routeros-diff
9e667d9acaeb713eaf43ea8cdfb1923733b0fd3b
c79f7c52d2ab265a4374f577fe675e9720947eda
refs/heads/main
2023-06-10T10:55:18.321716
2021-06-28T09:12:33
2021-06-28T09:12:33
345,214,128
9
2
null
null
null
null
UTF-8
Python
false
false
1,571
py
import re def find_expression(key, value, settings, *args): """Create an expression which can be used as a value for Expression.find_expression""" from routeros_diff.arguments import ArgList, Arg from routeros_diff.expressions import Expression if key == "comment-id": # Match an ID in the com...
[ "adam@adamcharnock.com" ]
adam@adamcharnock.com
a2e5f25fdd19b4b9903f21cad4610726a9b8b570
b00a8bc0fdc224c56b45cc40addc800c883c375a
/myapp/models.py
51f77123c41accf328211f62f4cd79b0c26749d1
[]
no_license
rutuja0897/loginapp
5c9c1a4fed2a195da26eb5a9b67d1d5b52719dcb
be041d34e300acc17bac37dfda525e9e43da6ceb
refs/heads/master
2023-08-21T09:00:41.836052
2021-10-10T15:28:53
2021-10-10T15:28:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
from django.db import models # Create your models here. class User(models.Model): uname=models.CharField(max_length=20) uemail = models.EmailField() upassword = models.CharField(max_length=30) uconfirmpassword= models.CharField(max_length=30) uaddress= models.CharField(max_length=90)
[ "kharatrutuja0897@gmail.com" ]
kharatrutuja0897@gmail.com
b5e8b9e6590edf8315299424318d931c84048dfb
9c23657e4521a4873d6f3438aa5cbd521e325787
/backend/home/migrations/0001_load_initial_data.py
069928c00d84a99004225b1409afd9608732b138
[]
no_license
crowdbotics-apps/new-game-28781
2827379b02f16b4b20c619f52784e306d380888e
ee9217c5edd25b968160328dadae716642e38af1
refs/heads/master
2023-05-31T19:48:09.011465
2021-07-12T23:27:10
2021-07-12T23:27:10
385,410,695
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
from django.db import migrations def create_site(apps, schema_editor): Site = apps.get_model("sites", "Site") custom_domain = "new-game-28781.botics.co" site_params = { "name": "new game", } if custom_domain: site_params["domain"] = custom_domain Site.objects.update_or_create...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2696217f3f6eda1eb4e66190eacd2ea0bf9f2aa5
421f2328fb03c3fd6ebc249f871c81cd9c664c64
/asb/settings.py
0601ba0ed15b913a6383b47bbfa374274cfb9567
[]
no_license
SimeonYS/asb
91ec3a4d832157bb73e660b321d0c132bd5fd5b6
ab9eccc186984cdc194b2cd21bcf33502247eb92
refs/heads/main
2023-04-09T01:31:22.609905
2021-04-23T06:19:23
2021-04-23T06:19:23
360,519,701
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
BOT_NAME = 'asb' SPIDER_MODULES = ['asb.spiders'] NEWSPIDER_MODULE = 'asb.spiders' FEED_EXPORT_ENCODING = 'utf-8' LOG_LEVEL = 'ERROR' DOWNLOAD_DELAY = 0 USER_AGENT="Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" ROBOTSTXT_OBEY = True ITEM_PIPELINES...
[ "simeon.simeonov@adata.pro" ]
simeon.simeonov@adata.pro
1a0a3814f766f167819a25b803078e8ebe3a92f1
a722faf9fb50c794555861bb4858c3ed8a7a25f3
/contest/atcoder/abc123/A_Five_Antennas/1.py
bc52a612ed158895497c687373150330b7a0ed30
[]
no_license
ar90n/lab
31e5d2c320de5618bc37572011596fee8923255d
6d035e12f743e9ba984e79bfe660967b9ca8716b
refs/heads/main
2023-07-25T17:29:57.960915
2023-07-22T12:08:18
2023-07-22T12:08:18
77,883,405
4
0
null
2023-07-17T08:45:14
2017-01-03T04:15:49
Jupyter Notebook
UTF-8
Python
false
false
241
py
import sys a = int(sys.stdin.readline()) b = int(sys.stdin.readline()) c = int(sys.stdin.readline()) d = int(sys.stdin.readline()) e = int(sys.stdin.readline()) k = int(sys.stdin.readline()) ret = ':(' if k < (e - a) else "Yay!" print(ret)
[ "argon.argon.argon@gmail.com" ]
argon.argon.argon@gmail.com
8c8560a838a2b05fa2d60b744c7e7615ab3f7da3
930c207e245c320b108e9699bbbb036260a36d6a
/BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/Fire_Safety_System.py
91df344c209ecd3aab171e309239037647622374
[]
no_license
InnovationSE/BRICK-Generated-By-OLGA
24d278f543471e1ce622f5f45d9e305790181fff
7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2
refs/heads/master
2021-07-01T14:13:11.302860
2017-09-21T12:44:17
2017-09-21T12:44:17
104,251,784
1
0
null
null
null
null
UTF-8
Python
false
false
367
py
from rdflib import Namespace, Graph, Literal, RDF, URIRef from rdfalchemy.rdfSubject import rdfSubject from rdfalchemy import rdfSingle, rdfMultiple, rdfList from brick.brickschema.org.schema._1_0_2.Brick.Equipment import Equipment class Fire_Safety_System(Equipment): rdf_type = Namespace('https://brickschema.or...
[ "Andre.Ponnouradjane@non.schneider-electric.com" ]
Andre.Ponnouradjane@non.schneider-electric.com
8ef97ccce672ea1354c6c4ed1ab3414028d505a2
0afe1d07c12f65b901489b0bf60b0024ae8e39bb
/data/gaze_data.py
42ae1e9b234e3ad0e17d60a8ba0551cfc836e11f
[]
no_license
xielm12/simulated-unsupervised-tensorflow
40fd3321a105443140b6312975df3b84fdc4d4f0
ba1f3402277fd8e7e87006c995aea0e0bc4428a1
refs/heads/master
2021-01-13T03:59:43.970338
2017-01-05T15:01:31
2017-01-05T15:12:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,783
py
import os import sys import json import fnmatch import tarfile from PIL import Image from glob import glob from tqdm import tqdm from six.moves import urllib import numpy as np from utils import loadmat, imread, imwrite DATA_FNAME = 'gaze.npz' def save_array_to_grayscale_image(array, path): Image.fromarray(array)...
[ "carpedm20@gmail.com" ]
carpedm20@gmail.com
fa898edf647ce0c0b6ce3154f8fc18f2e9330a17
7839d009f3ae0a0c1bc360b86756eba80fce284d
/build/stereo_msgs/catkin_generated/generate_cached_setup.py
5e0c49179835fc8e0793bf0e87bacdf097acdfad
[]
no_license
abhat91/ros_osx
b5022daea0b6fdaae3489a97fdb1793b669e64f5
39cd8a79788d437927a24fab05a0e8ac64b3fb33
refs/heads/master
2021-01-10T14:43:41.047439
2016-03-13T23:18:59
2016-03-13T23:18:59
53,812,264
1
1
null
null
null
null
UTF-8
Python
false
false
1,287
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/jade/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.pat...
[ "abhat@wpi.edu" ]
abhat@wpi.edu
4c5d8c77eefdae044e2cc83be6698dfd21a8dac6
0c5ab5c69ed77ed9a0613e4cefd3fc1b418ceef6
/Python 100 Problem/Problem42.py
8b771c899a2ba363b754b8b2c02ec489aa9c0978
[]
no_license
Neil-Do/HUS-Python
00831eb1121690f76752867ccfdcb8bd98973af6
630849717bb27b99a9ddfb33ae479485ebb032d4
refs/heads/master
2020-09-13T10:54:50.523791
2020-01-17T06:53:43
2020-01-17T06:53:43
222,749,058
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
def createTuple(): t = tuple(i for i in range(1, 11)) t2 = tuple(i for i in t if i % 2 == 0) print(t2) createTuple()
[ "dotatthanhk60@gmail.com" ]
dotatthanhk60@gmail.com
56f2f84186ac90ad8dc6e553def5f237383749bd
bb87579e47fc04b299694b8a8fe318f022f54ee8
/Statistics for Financial Analysis/Week 4/AssociationBetween2Variables.py
2ec91403b6e39c26dce6611ec6acf7b0b4feb125
[]
no_license
QaisZainon/Learning-Coding
7bbc45197085dfa8f41ac298d26cf54e99e7b877
a3991842e79c30f24d7bc0cca77dbd09bc03372f
refs/heads/master
2022-12-23T05:47:26.512814
2020-09-25T08:10:20
2020-09-25T08:10:20
297,945,320
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
import pandas as pd import matplotlib.pyplot as plt #Import the housing information for analysis Consumption = pd.read_csv( 'C:\\Users\\Dr. Wan Asna\\Desktop\\Python Projects\\Statistics for Financial Analysis\\Week 4\\TourismConsumption.csv', encoding = 'unicode_escape', index_col= 0 ) print(Cons...
[ "noreply@github.com" ]
QaisZainon.noreply@github.com
821b89c72ee59f60077872f4ed3dd24476fae3a3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/117/usersdata/251/26965/submittedfiles/al2.py
3434377b1f6955d905d81e90b16a3d9326b3ab69
[]
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
146
py
# -*- coding: utf-8 -*- n = float (input('Indique um numero real qualquer: ')) i = int (n) d = (n-i) print ('A parte inteira do numero é %d '%i)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a9c7819e79f9590904da7ea8ff91cee2d3d9bc6c
f08e50d55bbbb90e4c8f9a8811eaede98ede2694
/erpbee/erpbee_integrations/doctype/amazon_mws_settings/amazon_mws_settings.py
8ed0a66c72bb27a24d8bc41829a77153d5e2cf05
[]
no_license
mohrezbak/erpbee
bc48472a99a7f4357aa7b82ff3a9c1a4c98ba017
1134156ad337fd472e14cf347479c17bd8db7b33
refs/heads/main
2023-02-12T01:32:07.858555
2021-01-08T17:25:23
2021-01-08T17:25:23
327,872,762
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
# -*- coding: utf-8 -*- # Copyright (c) 2018, Frappe Technologies and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document import dateutil from frappe.custom.doctype.custom_field.custom_field import create_custom...
[ "bakhtiar2k6@gmail.com" ]
bakhtiar2k6@gmail.com
46884698f462f2cb61cfa3e5d59467d9c6511fad
0d4e4e25f79f851c0e8b9fe0dc288f78a24301b0
/python/physicsobjects/Ds.py
55ba8736321485b27a4928cb0013486794d15ffc
[]
no_license
rmanzoni/ExclusiveW
f4c5980d14866aa4581bc14e183ad39830376d0d
02c58841eee2ef97379c6ed078904ae7af267d98
refs/heads/master
2021-08-26T08:38:48.983225
2017-11-22T17:04:11
2017-11-22T17:04:11
110,976,113
0
0
null
null
null
null
UTF-8
Python
false
false
2,545
py
import math import numpy as np from itertools import combinations, product # from copy import deepcopy as dc from PhysicsTools.HeppyCore.utils.deltar import deltaR, deltaPhi from ROOT import TVector3, Math global m_k ; m_k = 0.493677 # GeV global m_pi ; m_pi = 0.13957061 # GeV global m_ds ; m_ds = 1.96828 ...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
4ccf51f7f60ac9bbbf3b8bf22a198b7c15c194ff
11aefee7da35e2c8f029741f9adcb3a582bf59b1
/app/models.py
29a93dbb93939f78e6e6cc4b4ed9782c8f4bb40c
[]
no_license
njokuifeanyigerald/portfolio
ce2287a2823954283370bad49c1b987c62bf980c
e10c32adb8991b471374cbdc89b3922c2c101e2b
refs/heads/main
2023-01-31T15:53:40.915772
2020-12-18T06:07:40
2020-12-18T06:07:40
316,677,093
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from django.db import models class Work(models.Model): picture = models.ImageField() name_of_project = models.CharField(max_length=100) link = models.URLField() def __str__(self): return self.name_of_project
[ "brainboyrichmond@gmail.com" ]
brainboyrichmond@gmail.com
36f0da864c69a14e4ef3761013a78062da5e50af
8fcc27160f8700be46296568260fa0017a0b3004
/client/windowsutilities/__init__.py
685ad9a67cc2aa53269100c8d92db862d410b6cc
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
129
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\windowsutilities\__init__.py pass
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
df7a35941c08ae7ea06cd5f592da34b6771adc3e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_155/1710.py
d4dde0e643fcb12b897f68cd91e988f4975119ee
[]
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
462
py
def friends(a): n=0 s=0 for j in range(len(a)): if(s<j): n=n+j-s s=s+j-s s=s+int(a[j]) return str(n) def ovation (file): f=open(file) g=open('output.ou',mode='w') b=int(f.readline()[:-1]) for x in range(b): (m,a)=f.readline(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1f672b7bb43f9660532564554a5f2e34975b4207
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc028/C/1292116.py
53b42f6ca88c8634efe2664f2a0ac6d0c41b80b7
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
1,283
py
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools sys.setrecursionlimit(10**7) inf = 10**20 mod = 10**9 + 7 def LI(): return [int(x) for x in sys.stdin.readline().split()] def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()] def LF(): return ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
e566992f0d4bdffd9a2e1ea20bb96b52ca439d61
17ea4b621cc6f19b25b50949dfe0a2e6b5c77cf0
/build/abb/abb_driver/catkin_generated/pkg.installspace.context.pc.py
04aa34f2535e510a5ff1e0bc258c699c53092c9f
[]
no_license
Sinchiguano/yumi_ROS
a5fead77a2f50a3b147e87509f827c16e4c4319e
0d5973eb8a00d9037f9de33631f0ab6263cbaf3a
refs/heads/master
2020-04-16T08:42:35.187091
2019-01-13T11:15:47
2019-01-13T11:15:47
165,434,778
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "industrial_robot_client".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "abb_driver" PR...
[ "cesarsinchiguano@hotmail.es" ]
cesarsinchiguano@hotmail.es
1400bdd919ad27fb4c76b2e469b123ebf86fd22e
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/bokeh-0.11.1-py27_0/Examples/bokeh/models/linked_tap_server.py
d1264c1b08c5615ca4434c84901b1a2da3471312
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
2,105
py
from __future__ import print_function import numpy as np from bokeh.client import push_session from bokeh.document import Document from bokeh.models import ( ColumnDataSource, DataRange1d, Plot, Circle, VBox, HBox, Button, TapTool ) document = Document() session = push_session(document) N = 9 x = np.linspace(...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
de535f81d64726b5d6b93f9e1271a34faab727df
3e917645a0e1375189c8ee8c1e93ed15348111ef
/projects/usxp/stages/post/cdl/parallel_cdl_fnc.py
cf56bbc4b211c8705162ca13ae407328e1ce0963
[]
no_license
mbougie/gibbs
d4544e688ce2b63530535e1f5102328aece30e0d
39d5dc0866fc0dd149d0cf1f22bfd20911a9d29e
refs/heads/master
2021-01-12T06:59:27.214123
2020-01-07T15:48:12
2020-01-07T15:48:12
83,906,717
1
0
null
null
null
null
UTF-8
Python
false
false
5,813
py
import arcpy from arcpy import env from arcpy.sa import * import multiprocessing from sqlalchemy import create_engine import pandas as pd import psycopg2 import os import glob import sys import time import logging from multiprocessing import Process, Queue, Pool, cpu_count, current_process, Manager sys.path.append('C:\...
[ "mbougie@wisc.edu" ]
mbougie@wisc.edu
37ba35fb90cd93b258282011dedef5566b8037ae
53f3eb1730f94f89d9d9d3d80a4182360d4e4420
/03/spiral_memory.py
15c197efac2ad7ec06a14974cdb16f00931c7b02
[ "MIT" ]
permissive
Magnificent-Big-J/advent-of-code-2017
964b1da28b4e4f4398a3562baa130d5fdd701e9a
b83a849752c9a045978a0ea5eceb409adbfca0f4
refs/heads/master
2021-09-01T06:59:10.604222
2017-12-23T14:52:22
2017-12-23T14:52:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
""" --- Day 3: Spiral Memory --- You come across an experimental new kind of memory stored on an infinite two-dimensional grid. Each square on the grid is allocated in a spiral pattern starting at a location marked 1 and then counting up while spiraling outward. For example, the first few squares are allocated like t...
[ "chris@chrxs.net" ]
chris@chrxs.net
a63a65aea0a3b2af6e1e50df839af9ea4947a111
bc54edd6c2aec23ccfe36011bae16eacc1598467
/simscale_sdk/models/one_of_wind_comfort_mesh_reynolds_scaling_type.py
ca1c160a1b8ca27270498b5d4192906dc2acc737
[ "MIT" ]
permissive
SimScaleGmbH/simscale-python-sdk
4d9538d5efcadae718f12504fb2c7051bbe4b712
6fe410d676bf53df13c461cb0b3504278490a9bb
refs/heads/master
2023-08-17T03:30:50.891887
2023-08-14T08:09:36
2023-08-14T08:09:36
331,949,105
17
5
null
null
null
null
UTF-8
Python
false
false
5,805
py
# coding: utf-8 """ SimScale API The version of the OpenAPI document: 0.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from simscale_sdk.configuration import Configuration class OneOfWindComfortMeshReynoldsScalingType(object): """NOTE: This ...
[ "simscale" ]
simscale
92875053e961427203292746709a951d2dbeff15
37e87b3d5e1ee9009f0ea0671bc0c6edf0e233b7
/055_4.py
6e357be76ec9796847a18446939389869498bf08
[]
no_license
Jane11111/Leetcode2021
d9f4987792938597bf89ff72ba6bbcb4a3f9d081
a95b871578aae0103066962c33b8c0f4ec22d0f2
refs/heads/master
2023-07-14T21:29:41.196752
2021-08-23T03:28:02
2021-08-23T03:28:02
344,804,297
2
0
null
null
null
null
UTF-8
Python
false
false
333
py
# -*- coding: utf-8 -*- # @Time : 2021-07-14 13:35 # @Author : zxl # @FileName: 055_4.py class Solution: def canJump(self, nums ) -> bool: max_len = nums[0] for i in range(len(nums)): if i>max_len: return False max_len = max(max_len,i+nums[i]) ...
[ "791057615@qq.com" ]
791057615@qq.com
8bbce2ed426c2fd7b306edc7d095e227a660fb7b
6fb4dbb9f2e639d13af584ada1cc4f7e1ab801bc
/accountapp/views.py
05f7de0605fc77cbc0129e843c6ad6fc491e7cbc
[]
no_license
21nkyu/SCD_SUB
677d8029d2c10653d035787cc9564aaef6c78bf7
233174a64fb13471fabf85ef750713e9d57c78fd
refs/heads/master
2023-07-09T05:35:06.191916
2021-08-14T14:43:21
2021-08-14T14:43:21
396,031,096
0
0
null
null
null
null
UTF-8
Python
false
false
2,286
py
from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render from django.urls import reverse, reverse_lazy from django.utils.deco...
[ "adele7178@naver.com" ]
adele7178@naver.com
96e31c02614fb39cb920b987b6d80e9311cdd295
cb5dc505b8a1b24a85016018a238c86ecab55b4e
/code/scrapyBaidu.py
18e01de79887910ceaaa54bfcac064357df4018f
[]
no_license
ahwi/PythonNote
3becff3f015497302e7d4f65425dbc958f46dd96
3f3e0e263be6fdf79f0cd8425a4b57a080d8fb17
refs/heads/master
2023-05-12T15:36:13.464358
2023-01-17T23:06:52
2023-01-17T23:06:52
171,092,344
0
0
null
2023-05-01T20:23:55
2019-02-17T07:05:57
Jupyter Notebook
UTF-8
Python
false
false
606
py
import socket def sync_way(): for i in range(100): sock = socket.socket() sock.connect(('www.baidu.com', 80)) print('connected') request = 'GET {} HTTP/1.0\r\nHost: www.baidu.com\r\n\r\n'.format('/s?wd={}'.format(i)) sock.send(request.encode('ascii')) response = b'' ...
[ "jyws66@qq.com" ]
jyws66@qq.com
2862b37352783aab1235ac22c4815ae938435f6c
55ab64b67d8abc02907eb43a54ff6c326ded6b72
/scripts/addon_library/local/uvpackmaster3/scripted_pipeline/engine_scenarios/pack-groups_to_tiles/scenario.py
4b5024e23dcdab518db692154874050211299e92
[ "MIT" ]
permissive
Tilapiatsu/blender-custom_config
2f03b0bb234c3b098d2830732296d199c91147d0
00e14fc190ebff66cf50ff911f25cf5ad3529f8f
refs/heads/master
2023-08-16T14:26:39.990840
2023-08-16T01:32:41
2023-08-16T01:32:41
161,249,779
6
2
MIT
2023-04-12T05:33:59
2018-12-10T23:25:14
Python
UTF-8
Python
false
false
3,080
py
# from scripted_pipeline import from pack_utils import PackScenario from uvpm_core import (PackParams, PackTask, StageParams, StdStageTarget, InputError) from utils import eprint from collections import defaultdict class TexelDensit...
[ "tilapiatsu@hotmail.fr" ]
tilapiatsu@hotmail.fr
49c2136e75b296d303f6fd205ca981c194e15867
30df77c6148d652d2bed33a7f87ef775d81d3c3e
/setup.py
7fec6d3e5890b2134d5272f6c75c3dc4b6d120e4
[ "MIT" ]
permissive
dwhswenson/binding_md
f8b3044193b381ecbe9f655ddbbf2fd5b39eeec8
e9b52eae3cd5816da9e9d61d30d6c9206b84f33c
refs/heads/master
2021-01-21T10:25:21.285735
2018-05-11T00:40:10
2018-05-11T00:40:10
83,422,242
0
1
MIT
2018-05-11T00:40:11
2017-02-28T10:58:19
Python
UTF-8
Python
false
false
5,970
py
""" setup.py for binding_md """ import os import subprocess import inspect from setuptools import setup ########################## VERSION = "0.1.0" IS_RELEASE = False DEV_NUM = 0 # always 0: we don't do public (pypi) .dev releases PRE_TYPE = "" # a, b, or rc (although we rarely release such versions) PRE_NUM = 0 ...
[ "dwhs@hyperblazer.net" ]
dwhs@hyperblazer.net
0b0d5ea0bb32e86f9f26847c75bb13877fa48936
54dea98e2fda28f043116f4275234b5603f3ed57
/jactorch/transforms/__init__.py
80cfb032596f0323e6f1cbc5dd45e4603928e88d
[ "MIT" ]
permissive
ExplorerFreda/Jacinle
aae89fc97d3ed764b30a3ffe2d4fd1ac965eb73f
2a86e9fb126ba136f5a48300591753bea0a17d9b
refs/heads/master
2020-03-09T06:08:52.336853
2018-04-06T08:58:29
2018-04-06T08:58:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
# -*- coding: utf-8 -*- # File : __init__.py # Author : Jiayuan Mao # Email : maojiayuan@gmail.com # Date : 03/03/2018 # # This file is part of Jacinle.
[ "maojiayuan@gmail.com" ]
maojiayuan@gmail.com
e9a9d26fa0efa54ea51a0d946b932fcd67c85bdb
e57d7785276053332c633b57f6925c90ad660580
/sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/v2021_06_01_preview/aio/operations/_kql_scripts_operations.py
fb3bf363ab00d6343f901dea47d8736409a1f7a8
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
5,317
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" ]
adriananeci.noreply@github.com