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
4df9bc50ac2c592bccd0426d6011c97ff2d0b362
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/rihSbQq6x8R2D4aoa_9.py
3e356f033f949374071534aae585fb0fbbe6eded
[]
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
2,286
py
""" As you know, the function `range()` returns a range of numbers, but it doesn't work on alphabets. In this challenge, we try to fill this gap. Write a function `alpha-range()` which takes three arguments `start`, `stop`, and `step` (which its default value is one). The function must return a list of alphabetical...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
810b973f3daffeae7e9ec96715c0a41d5c404fb7
c85e68eda2058433d9b43256a121dcc3190af38f
/npx/command/plot.py
a4a0fb901c734b18bc3f10792496253b8cc489ff
[]
no_license
nickstenning/npx
f87686d11b6612af373ada850878856b0bab36a3
385816c7725b6ce196fc2ddff369d199985683cb
refs/heads/master
2023-06-22T11:13:53.405289
2011-11-30T01:07:22
2011-11-30T01:07:22
2,723,145
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
import os import sys from matplotlib import pyplot as plt def main(): data = [float(line) for line in sys.stdin] plt.plot(data) if os.isatty(sys.stdout.fileno()): plt.show() else: plt.savefig(sys.stdout, format='png') if __name__ == '__main__': main()
[ "nick@whiteink.com" ]
nick@whiteink.com
3893842b288a7438c1453710f3e9b12b003c6a7a
5c5fdbda26a8a066e2023c73d5a4188a37223c2d
/validator/wsgi.py
17da9409496b4f2266e66efb74e831077241167e
[]
no_license
Vivekyadv/SE-validator
abb806d6ac8217a3846476106d4ba27de98e9d2d
c11671cc9ecc3538a8fba522f9b6b350dce966bb
refs/heads/master
2023-04-25T15:17:10.587731
2021-05-19T10:27:12
2021-05-19T10:27:12
358,607,618
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for validator 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "vivek.yadav2611@gmail.com" ]
vivek.yadav2611@gmail.com
20f4ecd5a05204c7e126e3e65438821d69d637de
97f0fe78c0a2c440d96fe920a21b2e07c9e639bf
/examples/drawing/knuth_miles.py
3c691e5917d5d769af732a776d42c89db35ad3c0
[ "BSD-3-Clause" ]
permissive
drewconway/networkx
09702b860a61b6717152610e05935a000988d1d5
7469e2fd808bac393e55cd6769256655fe26ba16
refs/heads/master
2020-12-25T14:23:12.169674
2011-07-26T19:59:55
2011-07-26T19:59:55
2,037,974
14
3
null
null
null
null
UTF-8
Python
false
false
23
py
../graph/knuth_miles.py
[ "none@none" ]
none@none
68c5f217b3f515a70496a04ae87399d87f2d2d50
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/googlecloudsdk/api_lib/container/binauthz/kms.py
dd5eb041a8db3904921f0db96705cb7e2d0eee0c
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
3,213
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
9173692ea365b340a64f0d8af8f685daf1708995
b0d763b2eace81e82eb3405fba13f2da04495f34
/alshamelah_api/apps/users/migrations/0022_auto_20200713_0050.py
ca98b7fbb84ab28cb6e208b7cca1f6bcbf7b8500
[ "MIT" ]
permissive
devna-dev/durar-backend
7b57fe93e2687a64168ac75758b436109394bd9c
36ea29bafd4cb95098e4057eb71df211dc923008
refs/heads/master
2022-12-15T08:25:30.079110
2020-07-29T11:50:19
2020-07-29T11:50:19
295,212,229
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
# Generated by Django 3.0.8 on 2020-07-13 00:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0021_auto_20200703_0223'), ] operations = [ migrations.CreateModel( name='PasswordOTP', fields=[ ...
[ "adhm_n4@yahoo.com" ]
adhm_n4@yahoo.com
97258bed67c0ef562954fa2a7300ced997d0377e
2dd4f43f5d519f5533b65ff9f844eb3fe2d57fb6
/FusionIIIT/applications/office_module/views.py
8350173e8671a501a040d3af489a78d7de0067e7
[]
no_license
sumitkumar15061977/FusionIIIT
840c5b736eb7d4f221ee16cb5cdb246fa930a49c
67cac264c34f5fe1a10a766eef573cf840def84c
refs/heads/master
2021-09-09T08:21:25.167091
2018-03-14T10:58:52
2018-03-14T10:58:52
125,206,505
1
0
null
2018-03-14T12:06:44
2018-03-14T12:06:43
null
UTF-8
Python
false
false
749
py
from django.shortcuts import render def officeOfDeanStudents(request): context = {} return render(request, "officeModule/officeOfDeanStudents/officeOfDeanStudents.html", context) def officeOfPurchaseOfficr(request): return render(request, "officeModule/officeOfPurchaseOfficer/officeOfPurchaseOfficer.ht...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3fd73e4197c65c49fbfae88fa986693566e107bf
9e2f24027e4044252639563461116a895acce039
/biosteam/units/facilities/_cleaning_in_place.py
c878effb78118dc3773aec8f7b0f67780f21eac1
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "NCSA" ]
permissive
yalinli2/biosteam
5010b5d430cc746f6fa00a23805a1c1f5cac7a81
e7385ca1feac642881a357ffbc4461382549c3a4
refs/heads/master
2022-03-20T23:57:06.824292
2022-02-22T15:55:11
2022-02-22T15:55:11
190,422,353
0
0
MIT
2019-06-05T15:39:04
2019-06-05T15:39:03
null
UTF-8
Python
false
false
635
py
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020-2021, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module is under the UIUC open-source license. See # github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt # for license details...
[ "yoelcortes@gmail.com" ]
yoelcortes@gmail.com
e6fab0f4066de7f9c522035dbe66caa6aaa0bb4d
489a45659476fafb66934427e42bfce3d60a0116
/Assets/Python/Smeagolheart/StarSigns.py
888b3d9cc9c20597e8dbe168ab8c0669687215cf
[]
no_license
billw2012/Caveman2Cosmos
3a8c6ea347e75dbe2de9519fe70e6b38e0cf6dbe
2382877536e1669972dd024ce2d0f3d0d5ffd988
refs/heads/master
2020-07-19T00:14:48.856106
2019-09-03T23:20:42
2019-09-03T23:21:02
197,989,388
1
3
null
null
null
null
UTF-8
Python
false
false
986
py
# Star Signs from CvPythonExtensions import * import CvUtil def give(GC, TRNSLTR, GAME, CyUnit, CyPlayer, CyCity = None, iPlayer = None): aStarSignList = ( "PROMOTION_AQUARIUS", "PROMOTION_ARIES", "PROMOTION_CANCER", "PROMOTION_CAPRICORN", "PROMOTION_GEMINI", "PROMOTION_LEO", "PROMOTION_LIBRA", "PROM...
[ "alberts2@live.de" ]
alberts2@live.de
897cf237b24d935398d13bf5539afb7950f6e027
8bd6b0784de9a1e6a39d0f5f23f2d8fb50c73d49
/MethodRefine-Abs/blocks-world/MethodRefine/blockworld_benchmark-mid/validating/validating_17.py
0a88642e5064667fcf0c11e786072baad5f28a04
[]
no_license
sysulic/MethodRefine
a483d74e65337dff4bc2539ce3caa3bf83748b48
adbb22d4663041d853d3132f75032b7561bf605c
refs/heads/master
2020-09-14T10:45:55.948174
2020-05-01T09:13:59
2020-05-01T09:13:59
223,104,986
3
2
null
2020-04-27T11:01:36
2019-11-21T06:33:16
Python
UTF-8
Python
false
false
1,276
py
#!/usr/bin/env python # coding=utf-8 import sys sys.path.insert(0, './') from blockworld import * import new_tihtn_planner state0 = new_tihtn_planner.State('state0') allow = False state0.on = {'block-2':'block-5','block-3':'block-2','block-5':False,'block-1':False,'block-4':False,} state0.down = {'block-2':'block-3...
[ "526552330@qq.com" ]
526552330@qq.com
55548e1bdf4fe09c27ce7c0c0ad3ff691558058c
9b0bdebe81e558d3851609687e4ccd70ad026c7f
/算法思想/数学/03.判断质数.py
77655309944993d93033d7fbcc954a4636e287ec
[]
no_license
lizenghui1121/DS_algorithms
645cdad007ccbbfa82cc5ca9e3fc7f543644ab21
9690efcfe70663670691de02962fb534161bfc8d
refs/heads/master
2022-12-13T22:45:23.108838
2020-09-07T13:40:17
2020-09-07T13:40:17
275,062,257
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
""" @Author: Li Zenghui @Date: 2020-08-08 16:39 """ def is_prime(a): if a < 2: return False for i in range(2, a // 2 + 1): if a % i == 0: return False return True print(is_prime(17)) print(is_prime(19)) print(is_prime(21))
[ "954267393@qq.com" ]
954267393@qq.com
68096293210ed5bcaffcdbc2a75c9b67bd4cea6c
57f733a3b470505e582528042cd37cb87eb5f03f
/probabilistic_programming/chapter1_4_text_msg.py
4d612268f91df622674e0b1baf626dd797c126a6
[]
no_license
auroua/test
23246df57fc8644f0c2fd480d0f8c69e9b01a295
8bf601c886db42e0abe4f86fbcf33adef21a6470
refs/heads/master
2016-08-12T02:55:49.118185
2015-12-11T05:19:27
2015-12-11T05:19:27
44,439,899
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
__author__ = 'auroua' import numpy as np import matplotlib.pyplot as plt import scipy.stats as stats count_data = np.loadtxt("txtdata.csv") n_count_data = len(count_data) plt.bar(np.arange(n_count_data), count_data, color="#348ABD") plt.xlabel("Time (days)") plt.ylabel("count of text-msgs received") plt.title("Did the...
[ "auroua@yeah.net" ]
auroua@yeah.net
61304fc69048fd47ea1dede9b57c3795c6fe7a29
7d90d2ce27c6ee0af74391b09909edbd45fdc2f0
/renix_py_api/api_gen/StartStreamArpCommand_Autogen.py
ff74cef8ed9094594b147ae8c531f391544f731c
[]
no_license
gaoxingyu-hub/54testframework-master-e284
d7ea0d4a715b65c8652430e963a86b9522a7237a
57dd2197e7d91b8ad8fb2bd0e3503f10afa08544
refs/heads/master
2023-04-30T05:50:41.542402
2021-05-28T09:19:37
2021-05-28T09:19:37
309,922,838
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
""" Auto-generated File Create Time: 2019-12-27 02:33:25 """ from .ROMEnum_Autogen import * from renix_py_api.renix_common_api import * from renix_py_api import rom_manager from .ROMCommand_Autogen import ROMCommand @rom_manager.rom class StartStreamArpCommand(ROMCommand): def __init__(self, StreamHandles=None, ...
[ "gaoxingyu@example.com" ]
gaoxingyu@example.com
0f0f7133bbb4c192676318d7b0272d8169f50a7f
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/opflex/ovshppaghist1h.py
dfd53ebbdac4873efb0cdfa342ac43ccad09b0b9
[]
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
31,935
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
92d9ebe5980d4ffdc0a6b8bd7097185bf06741ad
ebf7427c8605d8654c67e3386b8adb2bd7503b44
/LeetCode Pattern/8. LinkedList/237_easy_delete_node_in_a_linked_list.py
180eb686a740d132ad848e352f5d77c15b8f1bac
[]
no_license
ryoman81/Leetcode-challenge
78e5bc4800a440052f8515c75829e669484fed40
fac3a49c49d2f62eafffb201a9d9cfac988ad30a
refs/heads/master
2023-09-04T05:21:54.569459
2021-10-26T14:14:08
2021-10-26T14:14:08
291,615,959
7
2
null
null
null
null
UTF-8
Python
false
false
1,229
py
''' Write a function to delete a node in a singly-linked list. You will not be given access to the head of the list, instead you will be given access to the node to be deleted directly. It is guaranteed that the node to be deleted is not a tail node in the list. Example 1: Input: head = [4,5,1,9], node = 5 Output: [4...
[ "sqygg1002@gmail.com" ]
sqygg1002@gmail.com
b08b1c91edffb24ecff9cb2287e3d35255dd7fcb
4656c9b22bee48b4156eb3524bab3215a1993d83
/packages/gui/__init__.py
1999100759b2efb9cb603a4fdc0524162e60863b
[]
no_license
mikebourbeauart/tempaam
0bc9215de0d967788b3c65b481a5fd3c7153dddc
c2582b5cc1fc45042c5b435f703786d7c04a51a2
refs/heads/master
2021-03-27T10:35:43.378899
2018-09-06T04:46:18
2018-09-06T04:46:18
120,359,405
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from publish import PubTab from main_window import MainAAM from .folders_widget import FoldersWidget from .assets_widget import AssetsWidget from .selection_tab import SelTabWidget from .options_tab import OptionsTabWidget
[ "borbs727@gmail.com" ]
borbs727@gmail.com
3e54d34efb3d978167a45f797aa25c0d34098665
238e46a903cf7fac4f83fa8681094bf3c417d22d
/VTK/vtk_7.1.1_x64_Debug/lib/python2.7/site-packages/vtk/tk/__init__.py
19d7f3c0b6596ecf6b8b6844c8c2c89d0d7ea161
[ "BSD-3-Clause" ]
permissive
baojunli/FastCAE
da1277f90e584084d461590a3699b941d8c4030b
a3f99f6402da564df87fcef30674ce5f44379962
refs/heads/master
2023-02-25T20:25:31.815729
2021-02-01T03:17:33
2021-02-01T03:17:33
268,390,180
1
0
BSD-3-Clause
2020-06-01T00:39:31
2020-06-01T00:39:31
null
UTF-8
Python
false
false
155
py
"""Tkinter widgets for VTK.""" __all__ = ['vtkTkRenderWidget', 'vtkTkImageViewerWidget', 'vtkTkRenderWindowInteractor', 'vtkTkPhotoImage']
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
9226ed8ba885ea45ad7f7bb2eb7bc69649bcb9de
8a92f5860a44c8ca6816af18295f26d3b364a25f
/tests/cli/test_nuttercli.py
e9367a5e8c9afd2f412e418b32ff14d76ee3941f
[ "MIT" ]
permissive
microsoft/nutter
b86dd58acbac02a25f2fc6e590e28073202862c2
368248bb3c2ed88a60ba6f5953b89fcc2cd0364e
refs/heads/master
2023-06-29T23:59:12.723142
2022-12-16T16:30:53
2022-12-16T16:30:53
219,394,533
225
36
MIT
2023-09-14T10:57:09
2019-11-04T01:43:34
Python
UTF-8
Python
false
false
8,129
py
""" Copyright (c) Microsoft Corporation. Licensed under the MIT license. """ import pytest import os import json import cli.nuttercli as nuttercli from cli.nuttercli import NutterCLI from common.apiclientresults import ExecuteNotebookResult import mock from common.testresult import TestResults, TestResult from cli.rep...
[ "noreply@github.com" ]
microsoft.noreply@github.com
217b1de8d4c07839bfa55e381c6b8ea32bf45360
d8cbc94a4207337d709a64447acb9c8fe501c75a
/correspondence_retrieval/code/feature.py
1131c54b3b9d2cf9174b74c8a8c0d3673e09ef25
[ "MIT" ]
permissive
sripathisridhar/acav100m
6f672384fa723a637d94accbbe11a9a962f5f87f
13b438b6ce46d09ba6f79aebb84ad31dfa3a8e6f
refs/heads/master
2023-09-06T01:05:21.188822
2021-11-18T08:08:08
2021-11-18T08:08:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,140
py
from functools import partial from collections import defaultdict from tqdm import tqdm import torch import torchvision import torchvision.transforms as transforms from model import get_model def get_loaders(num_workers): # Datasets and Dataloaders mean, std = [0.4914, 0.4822, 0.4465], [0.2023, 0.1994, 0.2...
[ "sangho.lee@vision.snu.ac.kr" ]
sangho.lee@vision.snu.ac.kr
d088f9806c9ae54531c32bef8fa1818a989c00e1
f6a9b1a1b66f369c00e8bfeb3907f927b999e77f
/test/onnx/test_onnx_opset.py
5c701e3d48a1a095609335eeebcffdea39b2ef71
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
cjlovering/pytorch
62f1606be4190c910a44186a3046cd36df1be9db
78a376592d39859b06a10ce47b77db7be5118ebb
refs/heads/master
2020-06-01T06:56:35.753689
2019-06-07T03:47:49
2019-06-07T03:57:12
190,688,055
0
0
NOASSERTION
2019-06-07T04:31:17
2019-06-07T04:31:16
null
UTF-8
Python
false
false
5,395
py
from test_pytorch_common import TestCase, run_tests import torch import torch.onnx from torch.nn import Module import onnx import io from torch.onnx.symbolic_helper import _export_onnx_opset_version from torch.onnx import ir_version, producer_name, producer_version def check_onnx_opset_operator(model, ops, opset_...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
361b46fce3ad72fb981975dd6658176bb786c53e
86e904c75d0140eea3e4169d216955e1c34801b3
/python10/화면만들기/나의윈도우3.py
49e8462a11be1cca1561d6ddab6b2a9b3f019792
[]
no_license
reharmony/cloudpython
d62f61749e5b5862d3b81e449d5154e188a14d21
98e033e537d763ba86d162f58d0fe8f64249a291
refs/heads/master
2020-04-29T16:58:55.281917
2019-05-15T12:11:43
2019-05-15T12:11:43
176,281,740
0
0
null
null
null
null
UTF-8
Python
false
false
11,109
py
''' Created on 2019. 4. 10. @author: user ''' from tkinter import * from db.DB연결테스트 import * id_input, pw_input, name_input, tel_input, data, record = None, None, None, None, None, None def insert_ui(): global id_input,pw_input,name_input,tel_input w = Tk() # 윈도우 생성 w.ge...
[ "noreply@github.com" ]
reharmony.noreply@github.com
f88444e475a9343e565e7690680f1c21bae132aa
5a4436884af5341ce855c0e84866b972a0f61c05
/day5/recursion/6.py
04c04f75d05c5974bac22c2c6d636a59e4b74582
[]
no_license
sreejithev/pythoncodes
74a420c4f025b893e27f17ba85632a4a096f17fd
70df14871a9687916d1c4ada76c055607f13e8ce
refs/heads/master
2021-01-21T20:59:47.056167
2017-06-19T09:43:17
2017-06-19T09:43:17
92,292,259
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
# handling tree-like structure my_expression = 12 def eval(expr): if isinstance(expr, int): return expr print eval(my_expression)
[ "sreejithevwyd@gmail.com" ]
sreejithevwyd@gmail.com
799893b61cb92573ebd28b6e1e155e97ada16636
2e6f37e664d2cc85d0c704f20de05b2cae86771d
/options/options.py
102d63f4a1736cad3d0d940bb8cd7134dcaf4736
[ "MIT" ]
permissive
LEOGML/cv_template
5bee5e43efb490649f63a7c4e1b77e62a3e1d948
c1a87465f0aeb79dab63b0cae88861a6282c045c
refs/heads/master
2023-01-30T21:32:38.240103
2020-12-15T09:39:14
2020-12-15T09:39:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,594
py
import argparse import sys import torch import misc_utils as utils """ Arg parse opt = parse_args() """ def parse_args(): # experiment specifics parser = argparse.ArgumentParser() parser.add_argument('--tag', type=str, default='cache', help='folder name to save the outp...
[ "523131316@qq.com" ]
523131316@qq.com
03d5235b29d6899ba1a9e5331c8d10a36d39d072
34087e6a9bb41d9240de4c1bf91cb14a044126bc
/scripts/phono4py
5f744ab2966b77122dd03edd3d290e23d2b6b800
[]
no_license
materialsvirtuallab/phonopy
62117e757f98447de2b247e4b6aa186b0b141aab
97888bac864f8d8e5eee799b2eeef232e627f018
refs/heads/master
2020-12-01T03:09:31.707376
2014-09-08T15:42:54
2014-09-08T15:42:54
21,427,440
2
1
null
null
null
null
UTF-8
Python
false
false
17,084
#!/usr/bin/env python # Copyright (C) 2013 Atsushi Togo # All rights reserved. # # This file is part of phonopy. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the ab...
[ "atz.togo@gmail.com" ]
atz.togo@gmail.com
d7ef09e9673d8e4d70b066dfb8bcaaa93f049652
225a2183a702b4808436526464f73692899a7242
/presentation/request/baseclient.py
c62184c0d7ccbe995de74a90dcc75e82389519ab
[]
no_license
bateternal/p2p
9b890fd25dc2d021cec7fce9786f2c88753f1a27
fa4c804e64e818f70d849fb6dfd94c176d008208
refs/heads/master
2023-09-04T03:33:53.741518
2021-10-26T19:51:51
2021-10-26T19:51:51
284,138,608
3
0
null
null
null
null
UTF-8
Python
false
false
93
py
class BaseClient: def __init__(self,host,port): self.host = host self.port = int(port)
[ "bateternali@gmail.com" ]
bateternali@gmail.com
933f4b58c7854b784701dd2df483ef4272ae3cfc
77683abaded7f9f4f538c6b02635fcf342d26886
/settings/base.py
a6c5df5d9c28a0a57e9c45082891ffd76cf32125
[]
no_license
tchappui/flask-model
6a3a79ef04f0e6e437b7e97be789690b69d14bd4
5238534b4ba6450e92cf9ff413eb0edc282305e5
refs/heads/main
2023-06-03T20:02:20.419972
2021-06-11T09:32:51
2021-06-11T09:32:51
375,974,162
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import os import pathlib BASE_DIR = pathlib.Path(__file__).resolve().parent INSTALLED_BLUEPRINTS = [ {"module": "flaskt.home", "name": "home", "prefix": ""} ] SECRET_KEY = os.environ.get("SECRET_KEY", "very secret and unguessable value") SQLALCHEMY_TRACK_MODIFICATIONS = False
[ "tchappui@gmail.com" ]
tchappui@gmail.com
1f0bedae459bf6d8f4e19b7d5042a0d02edeffc7
25040bd4e02ff9e4fbafffee0c6df158a62f0d31
/www/htdocs/wt/lapnw/data/item_20_6.tmpl.py
6315b38d936cbe899af9e04cbed51763e6399ddc
[]
no_license
erochest/atlas
107a14e715a058d7add1b45922b0f8d03bd2afef
ea66b80c449e5b1141e5eddc4a5995d27c2a94ee
refs/heads/master
2021-05-16T00:45:47.585627
2017-10-09T10:12:03
2017-10-09T10:12:03
104,338,364
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from lap.web.templates import GlobalTemplate, SubtemplateCode class main(GlobalTemplate): title = 'Page.Item: 20.6' project = 'lapnw' class page(SubtemplateCode): pass
[ "eric@eric-desktop" ]
eric@eric-desktop
66edb24833ca5e1a04c44358218a3c5742502084
3637fe729395dac153f7abc3024dcc69e17f4e81
/reference/ucmdb/discovery/vcloud_director_by_vcloud_api.py
8e70ff594f25df698f6a246a425441fca52ea0a9
[]
no_license
madmonkyang/cda-record
daced6846c2456f20dddce7f9720602d1583a02a
c431e809e8d0f82e1bca7e3429dd0245560b5680
refs/heads/master
2023-06-15T08:16:46.230569
2021-07-15T16:27:36
2021-07-15T16:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
#coding=utf-8 import logger import vcloud_discover from appilog.common.system.types.vectors import ObjectStateHolderVector import vcloud_report TRIGGER_IPS = "ip_addresses" TRIGGER_VCD_ID = "vCloudDirectorId" PARAM_REPORT_POWERED_OFF_VMS = "reportPoweredOffVms" def DiscoveryMain(Framework): OSHVResult =...
[ "silentbalanceyh@126.com" ]
silentbalanceyh@126.com
da919e0179455f6b53d11e7136b6f369f5bed978
ebe7c57183b0eeba9af1bdc72f0f81b9b8129ca9
/1. backtracking/047.py
d0866e064c3641441032f85b63db44d36015a6ae
[]
no_license
proTao/leetcode
f2e46392b56b69606e1dd25cf5738cb0ad275645
97533d53c8892b6519e99f344489fa4fd4c9ab93
refs/heads/master
2021-11-24T10:23:56.927122
2021-11-18T04:28:05
2021-11-18T04:28:05
110,225,265
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
class Solution: def permuteUnique(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ res = [] if len(nums) == 0: return [] distinct_nums = set(nums) rest = {} for i in nums: if i in rest: ...
[ "836807627@qq.com" ]
836807627@qq.com
4dbf967617143afff7502d5004d540220460004e
fa58068fa4e0fd4c1c3713d27752c9c36efe8a44
/paket/main.py
c8843f50bd8aa984c6277fdbd565fab3476ac472
[]
no_license
Zadrayca/Kourse
f611f4d3627286eeb5f1eedb7ce9bc5d06454cdc
e9a1bf6b658573eab556d9d1fa1297d452a6dfff
refs/heads/master
2020-06-14T09:41:41.631712
2017-03-09T19:00:41
2017-03-09T19:00:41
75,203,830
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from calk import pow, multi, summa from calk.pow import pow as r y = multi.multi(3, 5) x = summa.summa(5, 7) z = r(3, 5) print(x, y, z) print(dir(pow))
[ "coxatiy@gmail.com" ]
coxatiy@gmail.com
ea2f608d540ed8ad36f731c18dc431613e5ab8fb
2db5bf5832ddb99e93bb949ace1fad1fde847319
/beginLearn/googleclass/class3/test.py
7ffd1cdf702097daef8aa3a03597ae2ab5d4ac2c
[]
no_license
RoderickAdriance/PythonDemo
2d92b9aa66fcd77b6f797e865df77fbc8c2bcd14
98b124fecd3a972d7bc46661c6a7de8787b8e761
refs/heads/master
2020-04-06T17:36:46.000133
2018-11-15T07:07:03
2018-11-15T07:07:03
157,666,809
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
from __future__ import print_function import math from sklearn import metrics from IPython import display from matplotlib import cm from matplotlib import gridspec from matplotlib import pyplot as plt import numpy as np import pandas as pd import tensorflow as tf from tensorflow.python.data import Dataset tf.logging....
[ "1371553306@qq.com" ]
1371553306@qq.com
a87804e82e918b9342cafbd8410b9e04151ab2e4
aee5f372ba1b5fbb1c8acf6080c4c86ae195c83f
/java-stubs/security/acl/__init__.pyi
e7af442f7ef702bb8b5218efb30dde7f6f0f22a0
[]
no_license
rdemaria/pjlsa
25221ae4a4b6a4abed737a41a4cafe7376e8829f
e64589ab2203338db4253fbc05ff5131142dfd5f
refs/heads/master
2022-09-03T13:18:05.290012
2022-08-16T13:45:57
2022-08-16T13:45:57
51,926,309
1
5
null
2019-07-11T11:50:44
2016-02-17T13:56:40
Python
UTF-8
Python
false
false
2,887
pyi
import java.lang import java.security import java.util import typing class AclEntry(java.lang.Cloneable): def addPermission(self, permission: 'Permission') -> bool: ... def checkPermission(self, permission: 'Permission') -> bool: ... def clone(self) -> typing.Any: ... def getPrincipal(self) -> java.s...
[ "michi.hostettler@cern.ch" ]
michi.hostettler@cern.ch
55f4632468c9a46223772b259e528fabae433016
ee6074aad7bef8b8279130fa561b6eb0a6e66b1e
/modules/sample.py
20032a1959f97a7f6c2401e185e308b900bece59
[ "MIT" ]
permissive
antiquefu/pycameresp
23ca208c2a19d445d164fbdc25303d4be040f381
d86814625a7cd2f7e5fa01b8e1652efc811cef3a
refs/heads/main
2023-08-01T01:40:04.384937
2021-09-19T17:30:48
2021-09-19T17:30:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,045
py
# Distributed under MIT License # Copyright (c) 2021 Remi BERTHOLET from server.httpserver import HttpServer from htmltemplate import Br,ButtonCmd,Option,SwitchCmd,Tag,SliderCmd,ComboCmd,Paragraph from webpage.mainpage import * from tools import useful # Called when the button pressed @HttpServer.addRoute(b'...
[ "remi_bertholet@yahoo.fr" ]
remi_bertholet@yahoo.fr
3f3cbc27b98cf2f962ea71902a23a95e4451122e
ee6acbd5fcd0fcd16230e96a4a539de41a02c97e
/operators/ibmcloud-iam-operator/python/pulumi_pulumi_kubernetes_crds_operators_ibmcloud_iam_operator/_tables.py
0e341dd0c30a19d942a6a75299bc8fdb6db597f2
[ "Apache-2.0" ]
permissive
isabella232/pulumi-kubernetes-crds
777e78137aaf6525a44b61a02dccf91bf0d87a14
372c4c0182f6b899af82d6edaad521aa14f22150
refs/heads/master
2023-03-15T04:29:16.039753
2020-12-30T19:35:54
2020-12-30T19:35:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,128
py
# coding=utf-8 # *** WARNING: this file was generated by crd2pulumi. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** SNAKE_TO_CAMEL_CASE_TABLE = { "access_group_def": "accessGroupDef", "access_group_id": "accessGroupID", "access_group_name": "accessGroupName", "acce...
[ "albertzhong0@gmail.com" ]
albertzhong0@gmail.com
e5ee33c78f39ec07d8e46db54f732e895ef0f629
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/203.py
5e6817c4973f210cb1eb8eadcf2f4966ec3e3bb1
[]
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
520
py
import sys in_ = sys.stdin T = int(in_.readline()) for t in xrange(T): r1 = int(in_.readline()) a1 = [map(int, in_.readline().split(' ')) for i in xrange(4)] r2 = int(in_.readline()) a2 = [map(int, in_.readline().split(' ')) for i in xrange(4)] res = set(a1[r1 - 1]).intersection(a2[r2 - 1]) pr...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0212152bb1f6064565aed07a3aab1458cca979a3
b97e1d652346fb3bd82a2eddf714fb4a95330405
/src/visualize_san_v2.py
d737f8aada0f0f69d129df0b44ac3553093e9bda
[ "MIT" ]
permissive
satwik77/Transformer-Formal-Languages
565d49a1500e934a573dade04446710b66307852
48eea2ea6e2802ba827868723f75fa6c82401cde
refs/heads/main
2022-12-26T08:14:38.513836
2020-10-10T12:17:59
2020-10-10T12:17:59
301,586,833
17
8
null
null
null
null
UTF-8
Python
false
false
13,479
py
import os import torch import torch.nn as nn import torch.nn.functional as F import numpy as np from src.utils.dyck_generator import DyckLanguage from src.utils.helper import * from src.utils.logger import get_logger from src.utils.sentence_processing import sents_to_idx from src.components.transformers import Transfor...
[ "satwik55@gmail.com" ]
satwik55@gmail.com
1cef9ac509fda187576f823cea484153218edfac
a00a5d4b0c280e9bd3de5be38bcca0c6adf92971
/zaza/openstack/utilities/swift.py
67daca04372ee45e1323472a742f3417babace40
[ "Apache-2.0" ]
permissive
jguedez/zaza-openstack-tests
ea9e02c5669668651eb911f1a8d6cd775d3b07ad
49a01c8318078ea262bd61eddc5241fd8a878315
refs/heads/master
2020-09-25T12:11:14.411917
2019-12-11T19:33:03
2019-12-11T19:33:03
226,002,576
0
0
NOASSERTION
2019-12-05T02:52:10
2019-12-05T02:52:09
null
UTF-8
Python
false
false
10,407
py
# Copyright 2019 Canonical Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
[ "liam.young@canonical.com" ]
liam.young@canonical.com
50c09f69645df647c57d349e755ae1932eb71d95
f07392633118f7f6aff0a5a9b2a5c9eaab1a0299
/Examples/debugging/wikidef/html2text.py
1540a7b91357475a72d9628c762fce825fdec14c
[]
no_license
UWPCE-PythonCert/Py300
afc4abca736cfea031292db6bed996465f37604f
7f93d20ae66ba9a56c4dcc0c1fdafcf79db15349
refs/heads/master
2020-05-26T13:43:38.098926
2018-03-05T07:11:48
2018-03-05T07:11:48
85,002,542
4
7
null
null
null
null
UTF-8
Python
false
false
26,163
py
#!/usr/bin/env python3 """html2text: Turn HTML into equivalent Markdown-structured text.""" __version__ = "3.1" __author__ = "Aaron Swartz (me@aaronsw.com)" __copyright__ = "(C) 2004-2008 Aaron Swartz. GNU GPL 3." __contributors__ = ["Martin 'Joey' Schulze", "Ricardo Reyes", "Kevin Jay North"] # TODO: # Support deco...
[ "PythonCHB@gmail.com" ]
PythonCHB@gmail.com
dbfd8897256d294f2d33a2b3cbedbd18f900bc80
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-6963.py
1c234b97e7345024f5b01b294817698a1358d75f
[]
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
23,291
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
90218a595c5ced9205138e11fb5e03416aa92719
fe75ab418adfd723f48b8eafc80515c9fd913395
/LeetCode/!0232. Implement Queue using Stacks.py
7230a81dac20ba8732640c59c0492c589d73a031
[]
no_license
AshkenSC/Programming-Practice
d029e9d901f51ef750ed4089f10c1f16783d2695
98e20c63ce1590deda6761ff2f9c8c37f3fb3c4a
refs/heads/master
2021-07-20T06:41:12.673248
2021-06-25T15:44:06
2021-06-25T15:44:06
127,313,792
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
''' 0232. Implement Queue using Stacks 请你仅使用两个栈实现先入先出队列。队列应当支持一般队列的支持的所有操作(push、pop、peek、empty)。 ''' class MyQueue: def __init__(self): """ Initialize your data structure here. """ self.stk = [] self.temp = [] self.current_queue = 0 def push(self, x: int) ->...
[ "393940378@qq.com" ]
393940378@qq.com
7476d47d2554a91d4a8cb9c7d91816e908594d7e
830a0667f2e70177e83ef394bce9972533ea449c
/arrayMaxConsecutiveSum.py
cd8969f3e5943780526236b2440a188963b4a77c
[]
no_license
porosya80/codesignal
8659fba8cd9001efdca798590bacbfb4d41dc5b5
f26d5c739b093019a149047317cc32d9aa92541b
refs/heads/master
2020-03-22T21:54:23.342397
2018-12-05T05:05:51
2018-12-05T05:05:51
140,720,714
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
def arrayMaxConsecutiveSum(a, k): res = [sum(a[0:k])] for i in range(1, len(a)-k+1): res.append(res[i-1]-a[i-1]+a[i+k-1]) return(max(res)) inputArray = [1, 3, 2, 4] k = 3 # , the output should be print(arrayMaxConsecutiveSum(inputArray, k)) # = 9. # All possible sums of 2 consecutive elem...
[ "porosya@gmail.com" ]
porosya@gmail.com
2984b7bfb6e62a07535587dad44f16d99b08ffe2
9647524c0f4d93fb1c8a992c20fe9f9d2710cde3
/2-content/Python/pcc-master/chapter_12/ship.py
0df9da197640b0152c6bf885473c945151b024c2
[ "MIT" ]
permissive
bgoonz/web-dev-notes-resource-site
16161aa68e8eecafeaba4dc7abeb957aaee864c5
e7dc9c30393597cb39830c49c3f51c1486b97584
refs/heads/master
2023-09-01T14:04:20.867818
2021-06-17T07:56:20
2021-06-17T07:56:20
329,194,347
7
5
MIT
2021-07-05T06:36:49
2021-01-13T04:34:20
JavaScript
UTF-8
Python
false
false
1,417
py
import pygame class Ship(): def __init__(self, ai_settings, screen): """Initialize the ship, and set its starting position.""" self.screen = screen self.ai_settings = ai_settings # Load the ship image, and get its rect. self.image = pygame.image.load('images/ship.bmp') ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
8cb6535c3e1792c0646c81b62e0b3497165a47f3
bb976142e482afa6843271ed5c994734eca53e74
/FPV_ANN_pureRes_4D/utils/AdamW.py
314264d226666363e86465213d0d5b1a050a1c7e
[ "MIT" ]
permissive
mhansinger/combustionML
552a7540864a2d6b173204cccfdc82ef8c8b2f8c
9e60324bbd026979d4241fbdd62faaff873ce2a9
refs/heads/master
2021-07-09T18:34:09.462100
2020-05-20T11:16:31
2020-05-20T11:16:31
102,774,653
0
2
MIT
2019-02-27T17:55:15
2017-09-07T18:57:16
Jupyter Notebook
UTF-8
Python
false
false
5,130
py
"""From built-in optimizer classes. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import six import copy from six.moves import zip from tensorflow.keras import backend as K from tensorflow.keras.utils.generic_utils import serialize_keras_object from t...
[ "maximilian.hansinger@unibw.de" ]
maximilian.hansinger@unibw.de
e664fe95ab614d5939008f413cf277a1b48a0f36
3017b7399869057a8be7fb11ee9341b9c8f97ba4
/qa/elgs/pix_area.py
87c35a1217fde6a4aa8aaa86526db6b23f0097de
[]
no_license
michaelJwilson/SV-QA
8f486422eb71b3fbd0d395904fd654ba432bd777
dd6095d570442852bb28ac9da0f18be7b83cddce
refs/heads/master
2020-07-29T16:04:55.759155
2019-12-20T14:37:23
2019-12-20T14:37:23
209,872,086
0
0
null
null
null
null
UTF-8
Python
false
false
4,625
py
import os import sys import glob import fitsio import matplotlib import pylab as pl import pandas as pd import numpy as np import astropy.io.fits as fits import matp...
[ "mjwilson@lbl.gov" ]
mjwilson@lbl.gov
9558a3c81f1188302d59f528f70fd25f55607ec0
7d5f4e79ceb58bb8efadef11cd34435ac9ae7ea2
/Labs/L01/3.py
a7babd169979229958ad8bae4697b962192be005
[]
no_license
rjherrera/IIC1103
7cc58b06103ed12a1534f86b89bec0615ae707cf
e48706b14f16d437bc667bd65c17af9311aca851
refs/heads/master
2021-01-21T14:34:11.064502
2014-11-20T23:59:25
2014-11-20T23:59:25
95,306,076
3
1
null
null
null
null
UTF-8
Python
false
false
95
py
import sys x=float(sys.stdin.readline().strip()) c=(x**3)+((5/2)*(x**2))+(6*x)-6 print(c)
[ "rjherrera@uc.cl" ]
rjherrera@uc.cl
2f566142ff25a00fdbacb0a7a723b1cd6b2bad90
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/90/usersdata/197/60329/submittedfiles/matriz2.py
85af8758f0a532d442df4077a2a04b076b7f95fe
[]
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
176
py
# -*- coding: utf-8 -*- import numpy AS np n=int(input('Digite o numero de linhas e colunas:')) a=np.zeros((n,n)) for i in range (0, a.shape[0] def somas iguais(a):
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5dc345bc932009a8b62c1f5f0ee1a5f1c621fe79
faf4c1055f50ca4dd81d0fc2f16f5e95905e3827
/protocol/split_mutations.py
ec227caabe40b8148918a621e55bf3e32706bad5
[]
no_license
Ningshiqi/protocol
07e0e95c57d74e0ea2bbbfd7d49f9dc42c5dc37e
8a906a79a2835a61d252cafc2452b407230c4409
refs/heads/master
2021-01-20T07:27:38.880511
2016-06-22T18:39:15
2016-06-22T18:39:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
from random_split import RandomSplit import pandas as pd import sys import argparse import os def mymkdir(dir_path): try: os.mkdir(dir_path) except OSError: pass def parse_arguments(): d = ('Generate splits of the data while respecting the proportion ' 'of each tumor type in the ...
[ "collintokheim@gmail.com" ]
collintokheim@gmail.com
2421c173dbdd049106e02be81e7dfa5430fd987e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02629/s238693041.py
ab02df2f11872200d5371b13356ba05aa505c465
[]
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
418
py
import sys , math from bisect import bisect N=int(input()) alp="abcdefghijklmnopqrstuvwxyz" R=[] i=1 tot = 0 while tot < 1000000000000001: tar = 26**i tot+=tar R.append(tot+1) i+=1 keta = bisect(R , N)+1 if keta == 1: print(alp[N-1]) sys.exit() ans = "" M = N - R[keta - 1] for i in range(keta...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
da07d731ba5449ac6f1e1a753266a1d267e42d87
99af867b8112a2a7ca55b204d795141ccf6a3906
/ironbox/evaluation_models/classify_fcnet.py
7a5e081fc1718e43c924985a3198e2a21d39fccc
[]
no_license
evanthebouncy/class_and_style
5f165f75e3850919e90a05a72533209429efed04
d434e2414526bece7d6757f4c9c1ccb94263769f
refs/heads/master
2020-03-29T18:09:36.417411
2019-02-04T22:10:33
2019-02-04T22:10:33
150,197,318
3
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.autograd import Variable # ===================== FC NN CLASSIFIER ===================== def to_torch(x, dtype, req = False): tor_type = torch.cuda.LongTensor if dtype == "int" else torch.cuda...
[ "evanthebouncy@gmail.com" ]
evanthebouncy@gmail.com
b761885bc3e88a2116f44fd2680442026270b9cd
30b4d3122db7146d07a6eb431f6c1030f716aaa8
/memegen/memegen/routes/examples.py
a25caff591e76aece6f65e128a388b085439301a
[ "MIT" ]
permissive
flavienbwk/memegen
b00df3d2a2fb68f7b2de88e0ed158280f99f7fa7
dcb5635ad556d1c855fc3851609b32b1be133441
refs/heads/master
2020-11-25T03:38:56.626649
2019-12-16T23:59:24
2019-12-16T23:59:24
228,484,764
0
0
NOASSERTION
2019-12-16T22:09:08
2019-12-16T22:09:07
null
UTF-8
Python
false
false
482
py
from flask import Blueprint, render_template, current_app, make_response from ._utils import samples blueprint = Blueprint('examples-page', __name__) @blueprint.route("/examples") def get(): sample_images = list(samples()) html = render_template( "examples.html", sample_images=sample_images...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
d003a7c6ff75f74dbe0eb5bd94675975cd7a687c
b7a31624f827b16f2b6e1cc6b61bf8529191ff0f
/matplotlib/多序列堆积条状图.py
49140fe1a9bbbb3e291ee0348f5d86c95563913a
[]
no_license
thj120000/python
eb7daddefef6b9a1039e8ef58c3af88e05ffb794
a52aad1e57b100064db3e1e3a2af3c02eded4bf7
refs/heads/master
2020-04-24T19:29:48.741308
2019-03-03T11:11:12
2019-03-03T11:11:12
172,213,828
2
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
#!@Author : Sanwat #!@File : .py import numpy as np import pandas as pd import matplotlib.pyplot as plt ''' bar()类型,可以将pandas 的dataframe he series用图表表示出来 ''' plt.figure(1) series1= np.array([3,4,5,3]) series2= np.array([1,2,2,5]) series3= np.array([2,3,3,4]) index= np.arange(4) plt.axis([0,4,0,15]) plt.bar(index,serie...
[ "2464237217@qq.com" ]
2464237217@qq.com
c2a45a4d33438fa9313023600490c3ba37f977e5
751b094918ae9200afe7824d58804549082caa95
/src/python/WMComponent/DBS3Buffer/Oracle/DBSBufferFiles/SetLocationByLFN.py
b5ca849beb2bedc814bf1f1956da2893d1dd3764
[]
no_license
cinquo/WMCore
7ebd13269f42eb97f416f8f2bdaca05fa93c6afc
122f9332f2e944154dd0df68b6b3f2875427b032
refs/heads/master
2021-01-09T06:28:58.947626
2013-06-05T08:31:53
2013-06-05T08:31:53
2,965,330
1
0
null
null
null
null
UTF-8
Python
false
false
597
py
#!/usr/bin/env python """ _SetLocationByLFN_ Oracle implementation of DBSBuffer.SetLocationByLFN """ from WMComponent.DBS3Buffer.MySQL.DBSBufferFiles.SetLocationByLFN import SetLocationByLFN as MySQLSetLocationByLFN class SetLocationByLFN(MySQLSetLocationByLFN): """ Set the location of files using lfn as ...
[ "sfoulkes@4525493e-7705-40b1-a816-d608a930855b" ]
sfoulkes@4525493e-7705-40b1-a816-d608a930855b
15c3b44a518019dd9db25700f49622a3c9501ea3
488ae9723f148082e949448eed2fdcb4c111e784
/bill-calculator.py
61c9064f33cd5cda10414550cac73be05a057b70
[]
no_license
priyanka-advani/hba_functions_exercise
91b55ab221557d6358a6364bc8d26bb9644b12fc
d4a1d6cbfc90cc3fbee8157ba2e8707d36ef8484
refs/heads/master
2021-01-20T02:39:11.656709
2017-04-26T04:20:16
2017-04-26T04:20:16
89,437,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
""" This is Part 4 of the Hackbright Prep functions exercise """ def calculate_tip(bill_amt, tip_percentage): """Given the bill amount and tip percentage, calculates the tip.""" # ENTER YOUR CODE HERE tip_amt = bill_amt * tip_percentage return tip_amt def calculate_total(bill_amt, tip_amt): ...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
493c4d78f5463a27107352a23c732fa1f16841e4
def4838e05acb0932f3b51ce689b5b264bf4ebfd
/apps/users/forms.py
bfaf6e3a5f29e314158102103fa93e41451581f5
[]
no_license
shishengjia/Django_By_Example_Bookmarks
6ce125b2f15348b6b2fec26c4ff8694f000194e6
377d7ce31ea66e5e55032fcf47d84a1afd9acdbe
refs/heads/master
2021-01-19T14:16:52.566325
2017-04-27T12:23:41
2017-04-27T12:23:41
88,141,126
7
0
null
null
null
null
UTF-8
Python
false
false
599
py
from django import forms from .models import UserProfile class LoginForm(forms.Form): username = forms.CharField(error_messages={'required': '请填写您的姓名'}) password = forms.CharField(min_length=6, error_messages={'required': '请填写您的密码', 'min_length': '密...
[ "shishengjia1@live.com" ]
shishengjia1@live.com
d50e226c0416782f1bbf88fe9f0570b0fca3618a
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_idcard_request.py
b0ea673ab51acb3c850cea2011a6aae59dd80fec
[ "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
6,613
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class RecognizeThailandIdcardRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
ad74b9faa2c23ac8cee70d2afbcfb959ddcb1216
eca2012b2b3d970219d59b369cbeec54b1fa6cd9
/App_Customer/views.py
780ba1df5fe3d5a04b1b2121a07a5df1350445ab
[]
no_license
tasim313/softwareengineeringdesigncapstoneproject
0874ca003f64d6d079a201193d1246a8c485362c
6f4910a024c4233d360321347ab9e0679502b23b
refs/heads/master
2023-06-08T15:55:36.905104
2020-12-15T17:20:10
2020-12-15T17:20:10
320,646,708
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from django.shortcuts import render def main(request): return render(request, 'App_Customer/customer_login.html')
[ "mostasimmahmudtasim@gmail.com" ]
mostasimmahmudtasim@gmail.com
c4cf4c885cd3eb01d8f58c317d42c028c234ea00
2103809bc3df62449488328946d0914241ced863
/Project Specific Demo/TrackingInput.py
d24851795ed6c84c16062e6b02261e832b991cd9
[]
no_license
PMiskew/Year9DesignCS4-PythonPM
b5fb4382091cd8be63a43371ac614be74fb4c268
eeeace0b0ff89e1e4a65361f4e40167e7f4c3cc4
refs/heads/master
2021-06-23T17:09:22.626668
2019-09-21T23:30:25
2019-09-21T23:30:25
148,173,334
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
import tkinter as tk def submit(): print("Submit pressed") list.append(ent.get()) print(list) lab.config(text = "Changed") #This function will parse a string and #add a new element to the list for all #values #creates an empty list list = [] root = tk.Tk() lab = tk.Label(root, text = "Input Food") lab.pack...
[ "paul.miskew@gmail.com" ]
paul.miskew@gmail.com
61b9db032c2ab839765d189ba8fcfa04f26494d8
6a6984544a4782e131510a81ed32cc0c545ab89c
/src/production-histograms/.svn/pristine/61/61b9db032c2ab839765d189ba8fcfa04f26494d8.svn-base
65cb661716719f6def08c48e49a24dc9e8215348
[]
no_license
wardVD/IceSimV05
f342c035c900c0555fb301a501059c37057b5269
6ade23a2fd990694df4e81bed91f8d1fa1287d1f
refs/heads/master
2020-11-27T21:41:05.707538
2016-09-02T09:45:50
2016-09-02T09:45:50
67,210,139
1
0
null
null
null
null
UTF-8
Python
false
false
878
from math import cos, log10, isnan from I3Tray import I3Units from icecube import icetray, dataclasses from icecube.production_histograms.histograms.histogram import Histogram from icecube.production_histograms.histogram_modules.histogram_module import HistogramModule class CORSIKAWeightModule(HistogramModule): d...
[ "wardvandriessche@gmail.com" ]
wardvandriessche@gmail.com
2efbf244a54953af90a9268a39fcbe2a09738c25
ac15eda44e8dcfee6dff62f514c5b98a3382f50d
/python/pygame/ftetris/lib/main.py
a645b4bdff5dcc5af6ca9c0ec63994b06f58037b
[]
no_license
yangruihan/raspberrypi
5789c1a2e72d4012d46563d0644b08d032d346e6
22bc1a06b25e129a4314f4bc9cec5112affda136
refs/heads/master
2022-12-27T09:27:05.102020
2020-10-13T09:41:24
2020-10-13T09:41:24
32,977,936
4
0
null
2022-12-16T01:47:53
2015-03-27T09:30:43
Java
UTF-8
Python
false
false
374
py
import tetris class Main: def __init__(self, screen): self.screen = screen def run(self, elapse): return self.tetris.update(elapse) def start(self, kind): if kind == 6: self.tetris = tetris.Tetris(self.screen) else: self.tetris = eval( ...
[ "yangruihan@vip.qq.com" ]
yangruihan@vip.qq.com
5a8960b4e94e566305e39cc4e66dbd7bf77d4ab6
1dadb20cff6127dd950521aa5a747f6309eac7cd
/users/models.py
c3e6b289a6deca7d3547d180502d55e9938f8027
[]
no_license
profmcdan/csu-core
a40ca42104728146e5951bdb2856c75d0090a96a
24091936f167fb03988da9226b76a90d1a6259d9
refs/heads/master
2022-12-12T12:15:06.106113
2019-11-17T13:04:09
2019-11-17T13:04:09
220,621,544
0
0
null
2022-12-08T06:51:12
2019-11-09T09:44:07
Python
UTF-8
Python
false
false
1,955
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin from django.db import models from .managers import UserManager class User(AbstractBaseUser, PermissionsMixin): created_on = models.DateTimeField( auto_now_add=True, ...
[ "danielale9291@gmail.com" ]
danielale9291@gmail.com
40a7027d6d97d67adb0811ae98b4be1e70558c8a
05a70c12df808455100598d8a6fdb5635c641ab8
/Ago-Dic-2019/Ejemplos/Design Patterns/Strategy/ShellSortStrategy.py
a79568c20a8f1ce41d829d0bea6a44c82658e388
[ "MIT" ]
permissive
Jonathan-aguilar/DAS_Sistemas
991edcc929c33ba9bb8bc84e741b55c10a8420a3
4d02efc64161871084df1bff258112351e5d1241
refs/heads/development
2023-07-24T12:26:54.698452
2021-09-02T20:52:26
2021-09-02T20:52:26
289,764,892
1
0
MIT
2021-09-02T20:52:27
2020-08-23T20:54:55
Python
UTF-8
Python
false
false
192
py
from SortStrategy import SortStrategy class ShellSortStrategy(SortStrategy): """docstring for ShellSortStrategy""" def sort(self, my_list = []): return "Lista ordenada con Shell Sort!"
[ "anhell.death999@gmail.com" ]
anhell.death999@gmail.com
9370579be77282af8b2b53e2f4fac9a305ab7f6d
825c73b9a0db8f65d948a127bd8ed772192f42a3
/tsai/models/RNN.py
138e27f0cfda1214a4fe9ca97f9c829c59e52f4c
[ "Apache-2.0" ]
permissive
avimec13/tsai
d9dd5b7529554f238984ac82ab74cc41cc419b83
8ffa0afbcac6f886c3cb8310fa60d636becb1799
refs/heads/main
2023-06-15T16:34:44.215741
2021-07-17T19:34:32
2021-07-17T19:34:32
388,736,804
1
0
Apache-2.0
2021-07-23T08:47:26
2021-07-23T08:47:26
null
UTF-8
Python
false
false
1,203
py
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/105_models.RNN.ipynb (unless otherwise specified). __all__ = ['RNN', 'LSTM', 'GRU'] # Cell from ..imports import * from .layers import * # Cell class _RNN_Base(Module): def __init__(self, c_in, c_out, hidden_size=100, n_layers=1, bias=True, rnn_dropout=0, bidirecti...
[ "“oguiza@gmail.com”" ]
“oguiza@gmail.com”
8eecc943b82223f0ac6ee54536b2991412a8e8e1
af2e728ecbec0c55b183dbbfc9ee58f0da7ae1a5
/django/contrib/contenttypes/migrations/0002_remove_content_type_name.py
1b91437dbc5b33a0bc3cc8ac834231ca7fcea139
[ "BSD-3-Clause" ]
permissive
mdiener21/django
797f366d506a590e4d9dd52d20bfa12436b0c183
c62791bfe4e9e18304bb125e5619c34d8afeb19f
refs/heads/master
2021-01-22T13:02:52.947589
2015-01-23T10:13:27
2015-01-23T10:13:27
29,727,259
1
0
null
2015-01-23T10:06:18
2015-01-23T10:06:18
null
UTF-8
Python
false
false
1,107
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations def add_legacy_name(apps, schema_editor): ContentType = apps.get_model('contenttypes', 'ContentType') for ct in ContentType.objects.all(): try: ct.name = apps.get_model(ct.app_label, c...
[ "info@markusholtermann.eu" ]
info@markusholtermann.eu
cce788f7d4808adac6a84342dfe4fc04fb0035c7
5e27c7f5426c169fd348b26e94b65c35f9cdc459
/tutorial/canvas/start3/workers/coloredtextbox_panda.py
c908c7a9b44518334e0eeb4234d8fe945f96a599
[ "BSD-2-Clause" ]
permissive
agoose77/hivesystem
e2c9c27408233b5794151ca74f541d2e6063d58a
e1f55c5ea530a989477edb896dcd89f3926a31b8
refs/heads/master
2020-07-21T23:07:37.178856
2014-08-23T02:13:19
2014-08-23T02:13:19
20,776,359
1
1
null
null
null
null
UTF-8
Python
false
false
2,519
py
# try to import Panda3D, but delay exceptions until the class is actually used try: from panda3d.core import NodePath, TextNode import panda3d except ImportError: panda3d = None #coloredtextbox class: this will be converted to a canvas drone using "build_canvasdrone" class coloredtextbox(object): #...
[ "goosey15@gmail.com" ]
goosey15@gmail.com
056827d6726415be64604877d04fdf1f8782a92d
7704dfa69e81c8a2f22b4bdd2b41a1bdad86ac4a
/nailgun/nailgun/test/unit/test_node_nic_handler.py
f4ff78924c63dfae2129231aece7f06a7027e081
[ "Apache-2.0" ]
permissive
andrei4ka/fuel-web-redhat
8614af4567d2617a8420869c068d6b1f33ddf30c
01609fcbbae5cefcd015b6d7a0dbb181e9011c14
refs/heads/master
2022-10-16T01:53:59.889901
2015-01-23T11:00:22
2015-01-23T11:00:22
29,728,913
0
0
Apache-2.0
2022-09-16T17:48:26
2015-01-23T10:56:45
Python
UTF-8
Python
false
false
17,786
py
# -*- coding: utf-8 -*- # Copyright 2013 Mirantis, 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 requi...
[ "akirilochkin@mirantis.com" ]
akirilochkin@mirantis.com
f7a5b18fb6689bbd853554059f87649d777be39e
d5214b1331c9dae59d95ba5b3aa3e9f449ad6695
/qPloneSkinDump/tags/0.7.1/skin_template/Extensions/utils.py
212ba116cffafeb43b484f18f88823b5577413df
[]
no_license
kroman0/products
1661ee25a224c4b5f172f98110944f56136c77cf
f359bb64db22f468db5d1e411638790e94d535a2
refs/heads/master
2021-01-10T07:58:04.579234
2014-06-11T12:05:56
2014-06-11T12:05:56
52,677,831
0
0
null
null
null
null
UTF-8
Python
false
false
21,200
py
import os, sys, re, string from StringIO import StringIO from time import gmtime, strftime from zLOG import LOG, INFO from zExceptions import BadRequest from App.config import getConfiguration from Products.CMFCore.utils import getToolByName from Products.CMFCore.DirectoryView import addDirectoryViews from Products.%(S...
[ "mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946" ]
mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946
52a3f85e87f9b45fb9ac69bf0e8ce6265b792311
933376c11498a6567da8d7eb7d2675100895c3ba
/pyzoo/zoo/tfpark/text/estimator/bert_classifier.py
1e804709fef7c112b4e4207be94bb878986e0527
[ "Apache-2.0" ]
permissive
intel-analytics/analytics-zoo
320a461765f86d41dd456b598b1cf1d51d57f4c4
7cc3e2849057d6429d03b1af0db13caae57960a5
refs/heads/master
2023-08-13T20:47:58.621714
2023-07-06T00:49:11
2023-07-06T00:49:11
90,328,920
3,104
996
Apache-2.0
2023-09-06T01:51:18
2017-05-05T02:27:30
Jupyter Notebook
UTF-8
Python
false
false
4,312
py
# # Copyright 2018 Analytics Zoo 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...
[ "noreply@github.com" ]
intel-analytics.noreply@github.com
35034f2bbcde81a629eb94fa9af1209164b3add8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_174/ch37_2020_09_25_14_11_43_800333.py
148f46760e910d9c6b64d5146199139abafcb9df
[]
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
116
py
x=True while x: resposta=input("Qual a palavra?") if resposta=="desisto" print("Você acertou a senha!")
[ "you@example.com" ]
you@example.com
73f56c7dd6bb05eaef9d510dce43223ccdce3a6e
25a362a695a33a2c5766d56974a541888ac6a783
/permeability/scripts/Analyze.py
b73d1fc9de7acd6904114fd27edc501922c0ece7
[ "MIT" ]
permissive
ahy3nz/permeability
86f5137c73cc8df8755e4c560f297df6051e5b3a
809b92f15c0a8edb775f95910511079429c5e741
refs/heads/master
2020-12-14T08:48:00.434712
2018-02-27T22:53:25
2018-02-27T22:53:25
95,495,251
0
0
null
2018-02-15T23:04:51
2017-06-26T22:35:52
Python
UTF-8
Python
false
false
3,292
py
import os import permeability as prm import matplotlib.pyplot as plt import pickle as pickle from os import system import pdb import numpy as np import mdtraj as mdt #data_dir = '/Users/rmhartkamp/Dropbox/PostDoc_2_Vanderbilt/Simulation/Permeability/DSPC_C12OH_3_1' #data_dir = '/raid6/homes/ahy3nz/Trajectories/Data/1...
[ "alexander.h.yang@vanderbilt.edu" ]
alexander.h.yang@vanderbilt.edu
6aaba650193d59b002abe106baec671a25cc7974
99f43f4591f63d0c57cd07f07af28c0b554b8e90
/python/beckjun/백준_2169_로봇 조종하기_백트래킹.py
566123bd84b9a58d89a268e73e253affbd74684f
[]
no_license
SINHOLEE/Algorithm
049fa139f89234dd626348c753d97484fab811a7
5f39d45e215c079862871636d8e0306d6c304f7e
refs/heads/master
2023-04-13T18:55:11.499413
2023-04-10T06:21:29
2023-04-10T06:21:29
199,813,684
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
from collections import deque n, m = map(int, input().split()) mat = [list(map(int, input().split())) for _ in range(n)] di = (0,0,1) dj = (1,-1,0) dp = [[[-1000000001] * 3 for _ in range(m)] for _ in range(n)] q = deque([(mat[0][0], 0, 0, 0)]) dp[0][0][0] = max(dp[0][0][0], mat[0][0]) c = 0 while q: cnt, x, y, ...
[ "dltlsgh5@naver.com" ]
dltlsgh5@naver.com
fb05e50ae82b67f2faf5468a91a946c9c47ed1ab
193b261c4e5a893a5798ade17dea172af0be8dd4
/tools/code_coverage/package/tool/parser/llvm_coverage_segment.py
17d7c18975ff94a6a24b56b5638cfea90b9a0633
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
ahirner/pytorch
616291823ddab5def3d35d5bd5693d62789bd710
fb620a27d08fc5ad00b386505e23e2a51f02366b
refs/heads/master
2021-07-25T14:19:44.053789
2021-06-10T19:25:58
2021-06-10T19:29:57
153,104,181
1
2
NOASSERTION
2021-06-12T06:35:46
2018-10-15T11:51:36
C++
UTF-8
Python
false
false
1,975
py
from typing import List, NamedTuple, Optional, Tuple class LlvmCoverageSegment(NamedTuple): line: int col: int segment_count: int has_count: int is_region_entry: int is_gap_entry: Optional[int] @property def has_coverage(self) -> bool: return self.segment_count > 0 @prope...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
ac86c3b861f846bc1a6d184ec38203ecdc991814
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L46/46-32_wat_20Abox/set_5.py
a41d48053aff78204b6fa52c4c6467f61d81071f
[]
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
738
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L46/wat_20Abox/ti_one-step/46_32/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_5.in' temp_pbs = filesdir + 'temp_5.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 lambd...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
fd9f613fe8dd68c55baa2d858595c5ba3d42bf88
8576b91843e77d5ffefe973280fe62e9da3e27b3
/manipulation/regrasp/regriptppass.py
083a666645288e3ebac831cfe50c104243e80176
[]
no_license
MiaoLi/pyhiro
aa335164bb3482d6f070e0c767dad5335585702a
77e42ce2247a969f91e7cbae48e5e904459785cc
refs/heads/master
2021-01-23T06:15:17.315529
2017-04-11T23:25:15
2017-04-11T23:25:15
93,016,532
1
0
null
2017-06-01T04:30:31
2017-06-01T04:30:31
null
UTF-8
Python
false
false
33,527
py
#!/usr/bin/python import os import itertools import MySQLdb as mdb import numpy as np from manipulation.grip.robotiq85 import rtq85nm from panda3d.bullet import BulletWorld from panda3d.core import * from shapely.geometry import LinearRing from shapely.geometry import Point from shapely.geometry import Polygon impor...
[ "wanweiwei07@gmail.com" ]
wanweiwei07@gmail.com
16f59fda29cf8113314e0316016f0a0ce62a268b
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4042/149004042.py
a1fcdf274ced8b3da938a656143708a70d73b544
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,788
py
from bots.botsconfig import * from records004042 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'NT', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 99999}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
8b15c70ba21396494d75e7deb3f8b022da626582
1403d8670aa2e3ad6b72524688ca6318a84cd1f2
/Chapter 12/nest_egg_mcs_1st_5yrs.py
a61e2eff6343367a5e2e3d49f1a142488cc3f307
[]
no_license
afettouhi/ImpracticalPythonProjects-py38
033037a9b9b4af1401b968fa6f51fa0adde8be3f
074b9f8b77d72cac2bb33f57a918c509a4f0ef17
refs/heads/master
2023-01-07T08:05:42.849002
2020-11-02T06:12:58
2020-11-02T06:12:58
304,799,612
0
0
null
null
null
null
UTF-8
Python
false
false
7,641
py
""" Retirement nest egg calculator using Monte Carlo simulation. """ import sys import random import matplotlib.pyplot as plt def read_to_list(file_name): """ Open a file of data in percent, convert to decimal & return a list. """ with open(file_name) as in_file: lines = [float(line.strip()) f...
[ "A.Fettouhi@gmail.com" ]
A.Fettouhi@gmail.com
25f0f93e00812237893b74b780d979cce30a1d81
5a1eea357eb4fc0c5a1d1478e69ff7779b8a686a
/test/view_helpers/test_Maps_Views.py
34f1185e2d51515ee91331a2041ac2d85e7a2bc9
[ "Apache-2.0" ]
permissive
dariovillalon/OSBot-browser
77059951bb0d2bc6bae13559e17fc84f5268d837
bcb7e9f4b8c6980afb32d9ba1299c20fc744bf9d
refs/heads/master
2021-05-18T20:05:01.597025
2020-03-29T23:17:27
2020-03-29T23:17:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,846
py
from unittest import TestCase from osbot_aws.apis.Lambda import Lambda from pbx_gs_python_utils.utils.Dev import Dev from osbot_browser.browser.Browser_Lamdba_Helper import Browser_Lamdba_Helper from osbot_browser.view_helpers.Maps_Views import Maps_Views from gw_bot.Deploy import Deploy class Test_Maps_Views(TestC...
[ "dinis.cruz@owasp.org" ]
dinis.cruz@owasp.org
e6f1611a6eb8c993d49fa2bcc2526dd8bfc0c6dc
6d4e31ef0e828db01775dbb22a43b11680f86059
/mysql_proto/plugins/plugin.py
ba82307a5223e7938bcaaa46ecdaa8922781fd69
[ "MIT" ]
permissive
alvinzane/PyMP
a81a1e07a962604f96d5c68ef89cbf9947cbbccf
cfe426dbca4afae95714d6026903d2678a46ddc4
refs/heads/master
2020-04-07T20:12:49.004874
2019-01-05T15:18:43
2019-01-05T15:18:43
158,679,588
0
0
null
2018-11-22T10:08:29
2018-11-22T10:08:29
null
UTF-8
Python
false
false
996
py
# coding=utf-8 class Plugin(object): def init(self, context): raise NotImplementedError() def read_handshake(self, context): raise NotImplementedError() def send_handshake(self, context): raise NotImplementedError() def read_auth(self, context): raise NotImplemented...
[ "kormoc@gmail.com" ]
kormoc@gmail.com
594a901265ccc41397cbed360de2d2e85a9e531b
91da8a59561d6f2c7852c0548298434e0ede2ac7
/Tree/Construct_Binary_Tree_from_Preorder_and_Postorder_Traversal.py
2c68547cd8733c752bd84ee60f23b160ede1ed3f
[]
no_license
prashant97sikarwar/leetcode
6d3828772cc426ccf53dad07edb1efbc2f1e1ded
e76054e27a5d4493bd1bcef2ebdeb21d257afb63
refs/heads/master
2023-08-23T05:06:23.181869
2021-10-28T18:19:10
2021-10-28T18:19:10
286,057,727
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
#Problem Link :- https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal/ """Return any binary tree that matches the given preorder and postorder traversals. Values in the traversals pre and post are distinct positive integers.""" # Definition for a binary tree node. class TreeNode: ...
[ "prashant97sikarwar@gmail.com" ]
prashant97sikarwar@gmail.com
8ede1ff4e6d2f58b5266da7f5c33d2592bcb46ca
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp-obt/sblp_ut=3.5_rd=0.8_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=29/params.py
8755b15b27c0b917e2860a10c7ce53504eaaa02b
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
{'cpus': 4, 'duration': 30, 'final_util': '3.547667', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.8', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'RUN', 'trial': 29, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
391dd31b81e74cd0e0f234e71ed4001eaee94ad6
0478abafc05f1dd55ddf6054d95fef73e9fa03e9
/quati/features.py
30821e305cafde7bfdb2a894b5c9975c70a85fb5
[ "MIT" ]
permissive
deep-spin/quati
89bce0868b36b0d7902659507b72acfbd01ada98
62a6769475090182fe2990b2864d66f8e2081a32
refs/heads/master
2023-03-12T09:22:31.520259
2021-03-02T15:13:22
2021-03-02T15:13:22
330,678,540
2
1
null
null
null
null
UTF-8
Python
false
false
2,683
py
"""Useful for sequence tagging tasks like POS or NER.""" from quati import opts from quati.dataset.fields.affixes import AffixesField from quati.dataset.fields.caps import CapsField def build(options): prefixes_field = AffixesField() suffixes_field = AffixesField() caps_field = CapsField() fields_tup...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
80d6da4ad8540d5da3fd49cc9e8e50e91ea0b833
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03673/s956353086.py
bb1c4270936c6d0fa8f2322285846a5e4b4a2c72
[]
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
493
py
n = int(input()) a = list(map(int,input().rstrip().split(" "))) b1 = [] b2 = [] ans = [] if n % 2 == 0: for i in range(n): if i % 2 == 0: b1.append(a[i]) else: b2.append(a[i]) b2.reverse() ans = b2 + b1 print(" ".join(str(i) for i in ans)) else: for i in range...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7a98373803beb4dd79354dd8d95b1d9369c097d6
9eec6ca0e14c50298d0ecaa6e2f75b8a7c0f76c4
/resolwe/flow/migrations/0015_refactor_relations_1.py
96ddbc7acd5f125e651bdcc17c9c5d09d0c47f30
[ "Apache-2.0" ]
permissive
mzagmajster/resolwe
81e65fca94bd14c59b6da718e2f6c4c0b41481b1
da371a3ec0260a45ccab848704c6a339a0de79cc
refs/heads/master
2022-02-20T05:23:41.953200
2019-08-27T16:36:25
2019-08-27T16:36:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,768
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-08-06 02:13 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('flow', '0014_track_resources'), ] operations = [ ...
[ "domen@blenkus.com" ]
domen@blenkus.com
d12a24546543e5d538bcf9f62e9a5d56191d6267
661ed0d6372d11d81e8fe11e638956325c289648
/src/ui/__init__.py
64faf0e51e734171e52f45a9476bf9b23f12ca5a
[ "Apache-2.0" ]
permissive
fanqyyy/RT-Flash
7b9dd7ceefed1296ec2602b08a8f8c6349524d05
5bf1549ef3cea76e96b554b2e519436af0084f36
refs/heads/master
2020-07-27T19:38:03.322046
2019-09-18T12:25:39
2019-09-18T12:25:39
209,198,017
0
0
Apache-2.0
2019-09-18T02:19:06
2019-09-18T02:19:06
null
UTF-8
Python
false
false
82
py
#!/usr/bin/env python import uicore import uidef __all__ = ["uicore", "uidef"]
[ "jie.heng@nxp.com" ]
jie.heng@nxp.com
e9e391dcd37dfd9a072ffaaf80a20be09106b74f
8578ae5be776b49559fa95ce30f6b45b6a82b73a
/test/functional/feature_filelock.py
c25d6215ebf2c07361b684e43b155e7f75109040
[ "MIT" ]
permissive
devcoin/core
3f9f177bd9d5d2cc54ff95a981cfe88671206ae2
f67e8b058b4316dd491615dc3f8799a45f396f4a
refs/heads/master
2023-05-25T03:42:03.998451
2023-05-24T07:59:22
2023-05-24T08:02:14
21,529,485
16
13
MIT
2022-01-07T17:04:18
2014-07-05T22:42:13
C
UTF-8
Python
false
false
2,539
py
#!/usr/bin/env python3 # Copyright (c) 2018-2020 The Bitcoin Core and Devcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Check that it's not possible to start a second devcoind instance using the same datadi...
[ "fernando@develcuy.com" ]
fernando@develcuy.com
62a27c6887146dc8333e488d19690b93747bab0d
3697d04e8daa01e880f8078bc38426eb23389b90
/oireachtas_api/models/inline_response2004_member_membership.py
f4e7ce6a8ec47a0c9e42fe2f565bb8c2449df1e1
[]
no_license
Irishsmurf/OireachtasAPI
3e4ed3b6a1a0fd815cc929f16af0b3ef39d76e13
979d354d39cc2957c4009c62ef205215ae8ba123
refs/heads/master
2023-08-02T14:56:29.951977
2020-04-13T18:33:56
2020-04-13T18:33:56
255,411,309
3
0
null
null
null
null
UTF-8
Python
false
false
9,188
py
# coding: utf-8 """ Houses of the Oireachtas Open Data APIs The Houses of the Oireachtas is providing these APIs to allow our datasets to be retrieved and reused as widely as possible. They are intended to be used in conjunction with https://data.oireachtas.ie, from where our datasets can be accessed directly...
[ "dave@paddez.com" ]
dave@paddez.com
e8b4f296e257361089611d6c61f6e971a91144f8
4feaf520374804d6f3feebe3700fb448692a44ba
/pullenti/ner/booklink/internal/EpNerBooklinkInternalResourceHelper.py
903e0b5ab200e9414e8adbf15e7a5c0b1f55b3a4
[]
no_license
MihaJjDa/APCLtask
f7be3fb6b0f31801196bf779f6a7e62ce245493b
4745b45e199887d433ab256bb2e2ebf5dbe3f7cd
refs/heads/master
2020-04-16T17:15:10.846647
2020-02-24T16:06:43
2020-02-24T16:06:43
165,769,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
# Copyright (c) 2013, Pullenti. All rights reserved. Non-Commercial Freeware. # This class is generated using the converter UniSharping (www.unisharping.ru) from Pullenti C#.NET project (www.pullenti.ru). # See www.pullenti.ru/downloadpage.aspx. import io from pullenti.unisharp.Utils import Utils class EpNerB...
[ "danila.puchkin@mail.ru" ]
danila.puchkin@mail.ru
236c70ae19c2fddd07ffe7943e00c0eec9afbb56
6e92586ae20e4c59e9d3d264a3aaf06c6fe3e572
/user/admin.py
4bbc827084b60807a8dd34714ce21e2ad3c3db4f
[]
no_license
aktanaktan/hackathon
93777c51c5442a3540e4318b8bfa9eb8b2402ac5
ed7e97b6eab8ae2fd61139778ef01965663612fa
refs/heads/master
2023-05-22T16:23:59.661007
2021-06-18T15:51:34
2021-06-18T15:51:34
377,857,087
0
2
null
2021-06-18T10:21:46
2021-06-17T14:22:15
Python
UTF-8
Python
false
false
103
py
from django.contrib import admin from user.models import CustomUser admin.site.register(CustomUser)
[ "aktan2222@gmail.com" ]
aktan2222@gmail.com
89525c39e243900cdcdb007d0a3d31922db4db1d
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/ml/azure-ai-ml/azure/ai/ml/_schema/_feature_set/feature_set_specification_schema.py
761c250e8023cf2bbbee0291d9fdcfb5aa45d48e
[ "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "HPND", "ODbL-1.0", "GPL-3.0-only", "Z...
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
660
py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- # pylint: disable=unused-argument,no-self-use from marshmallow import fields, post_load from azure.ai.ml._schema.core.schema import Patch...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
d3f2ade7125fbc5347a5c7961cb691e2c8b5d211
a5826609647289ca4c3406a99114da0abacacc2f
/vycontrol/config/models.py
010b353f1efba2c54df058bcac17af6d89cad9c8
[ "MIT" ]
permissive
Akmon47/vycontrol
a18f50dcaeaf350525858b20bd33e4d6ac2ee7a0
898c2ec0e5d315f89c37f07e87a6bc1b096b0e8e
refs/heads/master
2023-03-29T16:42:03.361002
2021-04-05T07:38:52
2021-04-05T07:38:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
from django.db import models from django.contrib.auth.models import Group class Instance(models.Model): hostname = models.CharField(max_length=120, primary_key=True) alias = models.CharField(max_length=30) port = models.IntegerField() key = models.CharField(max_length=100) https = models.BooleanFi...
[ "roberto.berto@gmail.com" ]
roberto.berto@gmail.com
fe0dca761fc20048bba333252839b707f4c21d9d
1cf380b819a399c3f58a7ad13f5daeb5659cead3
/wrf_management/modules/compress_cli.py
ddd637fdc060ad1c63957c75b5fa0d272afc416e
[]
no_license
daliagachc/wrf_management
dd88cf5d6279457f4e2b414acfa0d0cbaaad3873
4ee88c668ed0252e68713aa756b74344ecada615
refs/heads/master
2021-06-13T09:39:08.477315
2021-04-09T14:43:21
2021-04-09T14:43:21
171,271,686
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# project name: wrf_management # created by diego aliaga daliaga_at_chacaltaya.edu.bo # todo still under construction import sys import wrf_management.modules.CompressOut as CO import os zip_path = os.path.join(os.path.dirname(sys.argv[1]),'compresser_log_xxx') input_dic = dict( source_path = sys.argv[1], zip_...
[ "diego.aliaga@helsinki.fi" ]
diego.aliaga@helsinki.fi
dc44b2f609558f860a5b9afec10dfdf9fedc3d50
78b7b3e27553ccf0b89c24cbd11662600db26b4c
/ScrapeNASAPicDayWebsite/.history/scraper_20190701160044.py
59d3cf70adc9b86d844ece27249a8b2220f9b34b
[]
no_license
web3-qa/intermediatePython
2c23408bd6d6dffc070b92e1155d3c072cfe040c
b4791db2bcb59aaf9c447cf50ffd4d21cacbe16b
refs/heads/master
2023-02-08T14:18:54.288227
2019-07-18T13:31:23
2019-07-18T13:31:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
import urllib.request import urllib.parse import urljoin from bs4 import BeautifulSoup baseURL = "http://apod.nasa.gov/apod/archivepix.html" content = urllib.request.urlopen(baseURL).read() BeautifulSoup(content, "lxml").findAll("a")
[ "dcolmer@statestreet.com" ]
dcolmer@statestreet.com
4646d73a7577d2a17ca8a2c885d77ab9eac866e3
3670f2ca6f5609e14cce8c31cb1348052d0b6358
/xacro/geometry_tutorials/turtle_tf2/nodes/dynamic_tf2_broadcaster.py
19ed163e4729d54006864bd9232a374a93da9573
[]
no_license
jincheng-ai/ros-melodic-python3-opencv4
b0f4d3860ab7ae3d683ade8aa03e74341eff7fcf
47c74188560c2274b8304647722d0c9763299a4b
refs/heads/main
2023-05-28T17:37:34.345164
2021-06-17T09:59:25
2021-06-17T09:59:25
377,856,153
5
0
null
null
null
null
UTF-8
Python
false
false
3,038
py
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code...
[ "shuyuanhao@cetiti.com" ]
shuyuanhao@cetiti.com
2ad9d5f7d2ec70ad70aa35eac7b92eab5a4abe65
7a27e217bf51ed0232e1a4cc988687998d72795c
/examples/bad.py
baf1843415058c898dd3d4f8fa99755c6095b180
[ "MIT" ]
permissive
sobolevn/mypy-test
3989559a89382b487ac1ed7d4f46365da9acfe10
7ab0fa440dee37b441824eb24ac9b0af2ebde9c5
refs/heads/master
2023-06-17T15:03:12.648991
2021-07-15T12:13:52
2021-07-15T12:13:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
13
py
a = 1 a = ""
[ "mail@orsinium.dev" ]
mail@orsinium.dev
4aa24890760eacd11b6fda1407e944b639c1e938
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02418/s464405021.py
0a3f0c6199f7906606d605bc55148ec8cdb0c8dd
[]
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
75
py
s = input() p = input() s = s*2 if p in s: print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2be0c0e3c831afe398c67d50454cbc3f21f0f197
68c4805ad01edd612fa714b1e0d210115e28bb7d
/CoreSource/speechRec.py
56cbe4229ae9f989177c560c5608cfb22f72d205
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Happy-Egg/redesigned-happiness
ac17a11aecc7459f4ebf0afd7d43de16fb37ae2c
08b705e3569f3daf31e44254ebd11dd8b4e6fbb3
refs/heads/master
2022-12-28T02:40:21.713456
2020-03-03T09:04:30
2020-03-03T09:04:30
204,904,444
2
1
Apache-2.0
2022-12-08T06:19:04
2019-08-28T10:18:05
Python
UTF-8
Python
false
false
561
py
# coding=<encoding name> from aip import AipSpeech # 百度智能云账户参数配置 APP_ID = '17134145' API_KEY = 'yDTW0ljcQd24ZKyaHYRTDleX' SECRET_KEY = 'O6de7NZmhxd6KZILjZj2oHoqITdRoHyg' client = AipSpeech(APP_ID, API_KEY, SECRET_KEY) # 读取文件 def get_file_content(file_path): with open(file_path, 'rb') as fp: return fp.rea...
[ "yangyang4910709@163.com" ]
yangyang4910709@163.com
b6dfbdbb85b92e08ea92fb40b6b8d4f6337b17e6
525c6a69bcf924f0309b69f1d3aff341b06feb8e
/sunyata/layer/recurrent/gru.py
acaaf611f7d5a7031bf259e99180d2c6b3d077f7
[]
no_license
knighton/sunyata_2017
ba3af4f17184d92f6277d428a81802ac12ef50a4
4e9d8e7d5666d02f9bb0aa9dfbd16b7a8e97c1c8
refs/heads/master
2021-09-06T13:19:06.341771
2018-02-07T00:28:07
2018-02-07T00:28:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,559
py
from ... import backend as Z from ... import init from ..base import LinkBuilder from .base import RecurrentLayer, RecurrentSpec class GRULayer(RecurrentLayer): def __init__(self, forward, last, input_kernel, recurrent_kernel, bias): dim = input_kernel.shape[1] // 3 dtype = input_kernel.dtype.name...
[ "iamknighton@gmail.com" ]
iamknighton@gmail.com
4a0ccc2edeb0ad94a72db5238966a8e5fe4d0216
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/api_lib/compute/networks_utils.py
20c83238fe96135876a0ed78af16ad4cb15c5574
[ "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
1,052
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
b1125a3e2b251056d0f0fe3c80abe500ca8d6117
3ae62276c9aad8b9612d3073679b5cf3cb695e38
/easyleetcode/leetcodes/Leetcode_685_Redundant_Connection_II.py
13fe787471a52795e9edcc8704bc9384895a7294
[ "Apache-2.0" ]
permissive
gongtian1234/easy_leetcode
bc0b33c3c4f61d58a6111d76707903efe0510cb4
d2b8eb5d2cafc71ee1ca633ce489c1a52bcc39ce
refs/heads/master
2022-11-16T17:48:33.596752
2020-07-13T02:55:03
2020-07-13T02:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
print('Leetcode_685_Redundant_Connection_II')
[ "425776024@qq.com" ]
425776024@qq.com
aeccd1e46dde4148b0683a43aaf35d79b4119967
5932b41c973fb4f0d61ea2668a3036bd2af31903
/ue4docker/infrastructure/BuildConfiguration.py
30d53fc7710820b4646512a3355a42b508a2ec20
[ "MIT" ]
permissive
hackertron/ue4-docker
d711290fba75cfdf4509762cd301dec7796191f5
f849ae89f75644c5f34276e8ebe76ef03528029c
refs/heads/master
2020-04-19T22:51:26.502673
2019-01-29T08:48:54
2019-01-29T08:48:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,589
py
from .PackageUtils import PackageUtils from .WindowsUtils import WindowsUtils import humanfriendly, os, platform, random # Import the `semver` package even when the conflicting `node-semver` package is present semver = PackageUtils.importFile('semver', os.path.join(PackageUtils.getPackageLocation('semver'), 'semver.py...
[ "adam.rehn@my.jcu.edu.au" ]
adam.rehn@my.jcu.edu.au
c3503b21d2104e0e4b8f3d87ebe23954c6c35551
d12cadea9d18ec6599b2ef650ce6af1a0d39afb1
/Server.py
5b0908b7852dfeadf2bb64c4853ad4c9596f6219
[]
no_license
zhantong/wetwo-server
074facf45695f054855eaff26bd2dc3272a1aba0
7271acc9047da65d647a572160683b043b8163a1
refs/heads/master
2021-08-27T19:41:40.549066
2017-11-28T05:19:50
2017-11-28T05:19:50
103,080,897
0
0
null
null
null
null
UTF-8
Python
false
false
6,088
py
from flask import Flask, request, render_template, redirect, jsonify, g import flask_login from WeTwo import WeTwo app = Flask(__name__) app.secret_key = '\xecG>\xc3\xe6\xe5\xbds\xa5\xf1\xae\x81u\x19\xb0`\x88W\xc6\\\xb7\xfeL\xcc' login_manager = flask_login.LoginManager() login_manager.init_app(app) class User(flas...
[ "zhantong1994@163.com" ]
zhantong1994@163.com