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
9e8cafb2c456c939276fa7b36defae1fd39c2b09
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_96/1723.py
028964e961b94931cc852a9b35fd218244d6ad08
[]
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
737
py
from __future__ import division import sys infile = sys.stdin t = int(infile.readline()) for j in xrange(t): l = list(map(int, infile.readline().split())) n=l[0] s=l[1] p=l[2] l=l[3:] triplet=[] for each in l: tick=0 triplet.append(int(each/3)) triplet=sorted(triplet,reverse=True) l=sorted(l,reverse=True)...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2fd6ba96536f0dace87e7a1f79753c6e0a482ca9
990e3ee59a741c546353283a6fa8234327a64e75
/topicexplorer/train.py
5963c479356635d0bb6c751a97164eb0c82f7927
[ "MIT" ]
permissive
juneLLL/topic-explorer
3ae9671ebaed7da0a235f9bf161156dd2f0677c4
c752806899ca760afbe7b51a0a7c5630c9488503
refs/heads/master
2020-04-26T02:08:23.564688
2019-02-23T18:22:44
2019-02-23T18:22:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,374
py
""" Train topic models on a corpus using Latent Dirichlet Allocation. Topic Modeling ---------------- Topic models represent documents as mixtures of topics, which correspond to common themes in the collection. The topic model is trained by an algorithm that finds latent (hidden) relationships among the documents. To...
[ "jaimie.murdock@gmail.com" ]
jaimie.murdock@gmail.com
48bf8d632a03e6727e54e58ba280eade118b6ad4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02264/s714981721.py
afa87c67512705793d1305e58038e3c84a7ec5bf
[]
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
338
py
from collections import deque n, q = (int(s) for s in input().split()) que = deque() for i in range(n): name, ts = input().split() que.append((name, int(ts))) t = 0 while que: name, time = que.popleft() if time <= q: t += time print(name, t) else: t += q que.append...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3d58579fa9cfb0d1c0c703a23a286d353494ff4e
e559ee90bcf7078b2c5a3f3266f8a67436470bbe
/theanolm/layers/grulayer.py
c7439411d1d08969f0e8bd88381d8adf885f7c8b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
anirudh9119/theanolm
d63e31b5df93a5dd373725a04efc6efa3a1420fb
5ce8a92ccc37b275a141d1a90eadd8c7f06e7a33
refs/heads/master
2021-01-12T13:10:07.908450
2016-03-07T09:01:23
2016-03-07T09:01:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,243
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from collections import OrderedDict import numpy import theano import theano.tensor as tensor from theanolm.matrixfunctions import get_submatrix from theanolm.layers.basiclayer import BasicLayer class GRULayer(BasicLayer): """Gated Recurrent Unit Layer for Neural Net...
[ "seppo.git@marjaniemi.com" ]
seppo.git@marjaniemi.com
df03cea40c9caa188468249c71d5423fb85e6352
d18d589494066526b8b8b7117156d733773e30db
/src/scale.py
4c6ca8e0408dbd39d6f417acedfc3743888df0fa
[ "MIT" ]
permissive
alexdawn/battle-cogitator
d0c8a836c6e25dc7f332554f260217355cc8caa1
ec1cc7283c5c5c656f8892d0351dfe4879fdcb2d
refs/heads/master
2023-02-19T02:08:11.401132
2021-01-25T21:31:54
2021-01-25T21:31:54
291,942,531
1
0
null
null
null
null
UTF-8
Python
false
false
516
py
# suggests a turn is around 5 or so seconds # allow for shooting and fighting too could be maybe 15-30 second per turn SCALE = 64 INCH_TO_CM = 2.54 SECONDS_PER_TURN = 10 def to_real_scale(value: float) -> float: """Convert to scale in meters""" return value * SCALE * INCH_TO_CM / 100 def to_cm(value: float...
[ "al_4242@hotmail.co.uk" ]
al_4242@hotmail.co.uk
ce870fcf5162755cd27ffda9244c02f08e328e36
2d47b52c6a14f0cf0cec0c62ec0207b7de2c113c
/django_app/mysite/views.py
5afe74165a028ad3ce869d30c82b2be22a95836d
[]
no_license
hanabee337/Django_Tutorial
a6095a4699bf54cbe4f1096003f627ba946acd13
812d319906706d99097398c4661e2ef091916ef2
refs/heads/master
2021-01-22T02:17:14.707662
2017-02-08T15:48:58
2017-02-08T15:48:58
81,039,578
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
''' 루트 url (r'^$')에 polls와 admin/으로 갈 수 있는 링크 페이지를 구현한다. 1. 뷰는 mysite/views.py안에 def index(reques)에 작성 2. 템플릿은 templates/index.html을 사용 polls/, admin/ 연결하는 부분은 {% url %} 태그 쓰지 않고 직접 구현 3. URL은 mysite/urls.py안에 ''' from django.shortcuts import render def index(request): return render(request, 'index.html')
[ "hanabee337@gmail.com" ]
hanabee337@gmail.com
1ccd151e8456333d29cb2c490f1f8bb23f28333b
3056736f013b25d1e70adb355082c578e5091314
/ml_quality/datasets/shit/Javascript parser.py
9eb13f5601e897960ac86baebcbf502df23ddf6f
[]
no_license
flerchy/codestyle-core
dcad1385b76678e4473f0804d2ecfaa03866d124
a009bcd2f17dadd440ea5ff24bd3167e38948bff
refs/heads/master
2021-01-20T03:21:16.694322
2017-06-05T05:52:35
2017-06-05T05:52:35
89,524,181
0
1
null
null
null
null
UTF-8
Python
false
false
7,184
py
import sys sys.path.append('/Users/HTX/Documents') import ply.yacc as yacc import ply.lex as lex import jstokens # use our JavaScript lexer from jstokens import tokens # use out JavaScript tokens start = 'js' # the start symbol in our grammar, maybe 'js' sometimes def p_js(p): 'js : elemen...
[ "flerchy@gmail.com" ]
flerchy@gmail.com
3900fc229818b1a6bbb3299c4ac76d4d69873d8b
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/perf/CascadeMaskRCNN_iflytek_for_PyTorch/configs/_base_/models/mask_rcnn_r50_fpn.py
6fc7908249e013376b343c5fc136cbbe5ff29390
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,016
py
# model settings model = dict( type='MaskRCNN', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, ...
[ "zhangjunyi8@huawei.com" ]
zhangjunyi8@huawei.com
43d98922b46d0c06e04fdc1fde7bb4c6acedb7ff
10425fd2f058afb9dd823929314bfede0a4eb513
/websocket_py3/env/Lib/site-packages/gevent/signal.py
544d6b4292b0396240177958c69ac4435b0662e0
[]
no_license
gaozhidf/flask_websocket
60883571a469a7c283e3da9a8fbf81d752f82f71
41653f71b7fd6d07d3592a22a11f29e795ba45d8
refs/heads/master
2022-11-29T04:31:08.953294
2017-08-12T08:53:24
2017-08-12T08:53:24
49,828,952
0
2
null
null
null
null
UTF-8
Python
false
false
3,880
py
""" Cooperative implementation of special cases of :func:`signal.signal`. This module is designed to work with libev's child watchers, as used by default in :func:`gevent.os.fork` Note that each ``SIGCHLD`` handler will be run in a new greenlet when the signal is delivered (just like :class:`gevent.hub.signal`) The i...
[ "gaozhidf@gmail.com" ]
gaozhidf@gmail.com
b6096885181a235c3feaaf8d51b55489bf471e79
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/arcus/all/conanfile.py
8f6e301a393139851b15cfb1cb32ff7cfd1bdaf5
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
Python
false
false
4,215
py
from conan import ConanFile from conan.tools.build import check_min_cppstd from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, rmdir, save from conan.tools.microsoft import is_msvc, is_msvc_static_runtim...
[ "noreply@github.com" ]
conan-io.noreply@github.com
b7b7f62510d24e45dd32346e65f53d670f1c3cea
22dcbf9595c28279b681caac26e43113ce75de5c
/run/events-pubsub/main.py
7b6bdd8ca7ca3746f82304ab23699cfaabfe0514
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jerry-enebeli/python-docs-samples
2e61672e9819405733c94ef824ba0b0f92b3e930
0d78724126ce25dd6203cfd2ee3467b88e5c27b9
refs/heads/master
2022-12-12T18:05:16.899492
2020-09-01T22:35:40
2020-09-01T22:35:40
292,189,370
1
0
Apache-2.0
2020-09-02T05:39:23
2020-09-02T05:39:22
null
UTF-8
Python
false
false
2,561
py
# Copyright 2020 Google, LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
jerry-enebeli.noreply@github.com
69fe22b362fcccd7f36252cb09af606a39c45fe6
5d78424b02afd20e47f437e99ebb469053dd0b2e
/test/list_test.py
46819734b9158f6082f291a3d2b11de5f0aedc7b
[ "Apache-2.0" ]
permissive
cnwarden/simple-mediapipe
35b47e762f679a3aaf7dea3738d183ff1bf71cf9
85dc8a87c9586312c2d057ad587bfccf3b5e2eb6
refs/heads/master
2023-07-04T03:31:01.930286
2021-07-27T06:21:05
2021-07-27T06:21:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
from simple_mediapipe.list import List from logzero import logger import threading import time arr = List() class ProduceThread(threading.Thread): def __init__(self, arr:List): threading.Thread.__init__(self) self.arr = arr def run(self): logger.info('sleep') time.sleep(2) ...
[ "1242733702@qq.com" ]
1242733702@qq.com
a9e2e0b9a98530f61aa028b6014f7c81b985b697
3eac0e589f780ec63ddd9bcd0c5be87544391510
/src/chapter17/chapter17note.py
73fa61bc34fb04184717ba0f8d199b86b1745f31
[ "Apache-2.0" ]
permissive
HideLakitu/IntroductionToAlgorithm.Python
0067a50a16b0efb207aa75033f4711ebb8a09f9d
33662f46dc346203b220d7481d1a4439feda05d2
refs/heads/master
2020-09-26T14:43:07.146692
2019-03-14T05:17:20
2019-03-14T05:17:20
226,275,880
1
0
Apache-2.0
2019-12-06T07:57:52
2019-12-06T07:57:51
null
UTF-8
Python
false
false
22,257
py
# coding:utf-8 # usr/bin/python3 # python src/chapter17/chapter17note.py # python3 src/chapter17/chapter17note.py ''' Class Chapter17_1 Class Chapter17_2 Class Chapter17_3 Class Chpater17_4 ''' from __future__ import absolute_import, division, print_function import math as _math import random as _random import ti...
[ "xpf6677@163.com" ]
xpf6677@163.com
baaf0cb5979dfecc084a0ea46fce59f5901c4556
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/02_preprocessing/combine82/209-tideGauge.py
65b5fa9474ef3bf1699031647f2522bba8cd3197
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,117
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 16 16:11:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories dir_in = '/lustre/fs0/home/mtadesse/er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
d2f0f1651336220fffc0cc75eb0ae97173549848
5c6a533db16073fd43893bebebb6ff1086dc44e0
/quiz/migrations/0004_auto_20201112_1513.py
7f9935be5fb70d6a6b1df3d023c19f2107facecb
[]
no_license
wecode-bootcamp-korea/13-BeautyOfFunction-backend
8ee10adeb924fbaf88bcd0961d355fd4cbe8305b
5a3c9cfd5bf0eda29211451becaaec24dd60a8be
refs/heads/main
2023-01-19T17:32:50.454367
2020-11-19T14:06:12
2020-11-19T14:06:12
309,289,737
1
1
null
2020-11-19T14:06:14
2020-11-02T07:25:36
Python
UTF-8
Python
false
false
407
py
# Generated by Django 3.1.3 on 2020-11-12 15:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('quiz', '0003_auto_20201109_1310'), ] operations = [ migrations.AlterField( model_name='fragrance', name='fragrance_i...
[ "fergith@naver.com" ]
fergith@naver.com
20f0c723de371ab0290b820b72553c5ea71298cc
0cd64f3f67c6a3b130a788906da84ffc3d15396a
/Library/lib/python3.9/site-packages/sympy/solvers/diophantine/tests/test_diophantine.py
1f97568928ab97d5dcb2d01a91b7c99d8c880253
[ "MIT", "BSD-3-Clause", "0BSD", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-python-cwi", "Python-2.0" ]
permissive
Ryorama/codeapp
32ef44a3e8058da9858924df211bf82f5f5018f1
cf7f5753c6c4c3431d8209cbaacf5208c3c664fa
refs/heads/main
2023-06-26T09:24:13.724462
2021-07-27T17:54:25
2021-07-27T17:54:25
388,520,626
0
0
MIT
2021-07-22T16:01:32
2021-07-22T16:01:32
null
UTF-8
Python
false
false
41,518
py
from sympy import (Add, Matrix, Mul, S, symbols, Eq, pi, factorint, oo, powsimp, Rational) from sympy.core.function import _mexpand from sympy.core.compatibility import ordered from sympy.functions.elementary.trigonometric import sin from sympy.solvers.diophantine import diophantine from sympy.solver...
[ "ken.chung@thebaselab.com" ]
ken.chung@thebaselab.com
674dc2d29876b9cd49b520008264e05bdc886e3a
aa058f0f037476e0024205576164c505a5a7f90c
/.history/app_20190910133606.py
9d7ed24750519d0f282d45e1301a4b7c05bf5601
[]
no_license
MorsChen/python-blog
12a2f17c133446cdae3132d41ddf111eab88f430
beb459febc011cb2b3ab6902c527e6681da16778
refs/heads/master
2022-10-10T04:20:04.303818
2019-09-11T10:44:37
2019-09-11T10:44:37
207,223,846
0
0
null
2022-09-16T18:09:43
2019-09-09T04:27:27
Python
UTF-8
Python
false
false
11,733
py
from flask import Flask, request, render_template, redirect, url_for, flash from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_login import LoginManager, login_required, login_user, logout_user, UserMixin, current_user from werkzeug.security import check_password_hash, generate_passwo...
[ "MorsChenArtist@users.noreply.github.com" ]
MorsChenArtist@users.noreply.github.com
c1f738f8f4b2894a582a80c2d8dda22183ba8471
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/surface/sql/instances/delete.py
363498bdaf22793f09472a3c4a9595bcc0572737
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
6,092
py
# Copyright 2013 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...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
d2cb83b16704cd419d708b2d43db70d4b0b09023
1cb0cc435061b6a0156b37813343ae46b1f7346e
/1_learn_step/try_second/glorot_uniform-RMSprop-32.py
1c19797b71f113d5dea4906f29fca46fdcdbde41
[]
no_license
youthliuxi/keras
6370a9de11e152d8ba96e68e9ff02337203b7e66
60a367442f74313d0bd9af01f76068d56e23bec0
refs/heads/master
2020-04-30T19:54:16.628943
2019-08-21T09:47:13
2019-08-21T09:47:13
177,051,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,679
py
# -*- coding:utf-8 -*- from keras import backend as K K.set_image_dim_ordering('th') import numpy as np np.random.seed(123) from keras.layers import * from keras.models import Sequential from keras.utils import np_utils from keras.datasets import mnist # (X_train, y_train), (X_test, y_test) = mnist.load_data() path = "...
[ "lx_einstein@sina.com" ]
lx_einstein@sina.com
a1d345cd84f0b5c23094866a9a24ecf4e94f7200
a394b1053f018ff8be63221c61682df03af4937b
/osf/migrations/0043_set_share_title.py
3a2f366e9fe048ec3b598f82067b22ea56a43ced
[ "Apache-2.0", "LGPL-2.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "MIT", "AGPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "MPL-1.1", "CPAL-1.0", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
RCOSDP/RDM-osf.io
81b11d9511f6248ec9bccb6c586b54a58429e1e7
5d632eb6d4566d7d31cd8d6b40d1bc93c60ddf5e
refs/heads/develop
2023-09-01T09:10:17.297444
2023-08-28T04:59:04
2023-08-28T04:59:04
123,298,542
12
24
Apache-2.0
2023-09-12T08:58:28
2018-02-28T14:46:05
Python
UTF-8
Python
false
false
1,312
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-08-03 15:07 """Sets the share_title field on production PreprintProviders. Makes no updates if the listed providers don't exist in the current envirionment. """ from __future__ import unicode_literals from django.db import migrations # _id => share_title SH...
[ "sloria1@gmail.com" ]
sloria1@gmail.com
6059634c5c856a273edd05e44426e169f4707f19
c97b9ae1bf06757ba61f90905e4d9b9dd6498700
/venv/Lib/site-packages/tensorflow/keras/regularizers/__init__.py
09973e7161adb7730110cc3c6b1d2baf5b70c35c
[]
no_license
Rahulk1p/image-processor
f7ceee2e3f66d10b2889b937cdfd66a118df8b5d
385f172f7444bdbf361901108552a54979318a2d
refs/heads/main
2023-03-27T10:09:46.080935
2021-03-16T13:04:02
2021-03-16T13:04:02
348,115,443
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:77bf0ddee4055542371da5a582f6eaa408d1f72704265495c05baf437951241c size 846
[ "rksc.k1p@gmail.com" ]
rksc.k1p@gmail.com
b23eaa9bed4cbec607f82cb4dce0ce4791b27adc
5ce57ecd89ad85ae690ad04b338ca808a268b009
/excript/app-comerciais-kivy/Int.Ciencia_da Computacao_Python/semana-6/jogo_nim2.py
f21b7077b8596583e1c82b589deb2d5c28f35e4f
[]
no_license
Israelgd85/Pycharm
aa5144b2da92da22255fab7a144050f90e0f0ef1
f75c37d243103721a90471725ae723d16599c06d
refs/heads/master
2021-04-15T19:12:22.596698
2018-07-23T19:13:02
2018-07-23T19:13:02
126,880,163
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
#coding: utf-8 #JOGO do NIM def main (): op = int(input("Escolha opcção 1 ja jogada unica ou 2 para campeonato: ")) i = 0 if op == 1: partida() elif op == 2: while i <= 3: partida() i += 1 print("Fim do Campeonato") def computador_escolhe_jogada (n,m):...
[ "gomesdeconto@gmail.com" ]
gomesdeconto@gmail.com
5aa988f491e2801ad775abe70acc0a9e7d22f063
ccdd61e4813c8a0a9f28d23c2ee5b02790cc7456
/ida-kallsyms.py
85c04f61ff5bf563219bef745a873e18d262eb6f
[]
no_license
freemanZYQ/ida-kallsyms
65084ffa65c3d8456fc227b7391ed0c87fbdbd50
4f0beb659a3b65e4b1c5056ad9ebba6ac4572b21
refs/heads/master
2020-08-15T07:51:23.810578
2019-10-10T18:01:48
2019-10-10T18:04:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
from idaapi import get_bytes, get_inf_structure from ida_name import set_name from ida_segment import get_segm_by_name from find_kallsyms import find_kallsyms_in_rodata rodata_segm = get_segm_by_name('.rodata') rodata_size = rodata_segm.end_ea - rodata_segm.start_ea + 1 rodata = bytearray(get_bytes(rodata_segm.start_...
[ "mephi42@gmail.com" ]
mephi42@gmail.com
c4b4b3d9a3be9d5167373258aba28c3eea86cd39
952a9bc5a54bae037662f3bd5e09aa13780628a2
/vespa/analysis/fileio/dicom_siemens_fidsum.py
b633e152199a73ac4a31a235501dfce95f200985
[ "BSD-3-Clause" ]
permissive
bsoher/vespa_py2
199964d2ffdc6ed576d6d73e55078ed5bc26c784
07cd67de2465607319870a18435da784345198d0
refs/heads/main
2023-04-22T04:24:44.270731
2021-05-06T01:07:57
2021-05-06T01:07:57
364,384,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
# Python modules from __future__ import division # 3rd party modules # Our modules import vespa.analysis.fileio.dicom_siemens as dicom_siemens import vespa.common.mrs_data_raw_fidsum as mrs_data_raw_fidsum from vespa.common.constants import Deflate from vespa.analysis.fileio.util_exceptions import OpenFileAttribut...
[ "bsoher@briansoher.com" ]
bsoher@briansoher.com
043af0bc6e3ee96415bf7cbb06bc6fa899e3b579
a8547f73463eef517b98d1085430732f442c856e
/numpy/distutils/fcompiler/sun.py
d31a49f6cdd5cf05d10c377cefb6d4740dc28a8d
[]
no_license
EnjoyLifeFund/macHighSierra-py36-pkgs
63aece1b692225ee2fbb865200279d7ef88a1eca
5668b5785296b314ea1321057420bcd077dba9ea
refs/heads/master
2021-01-23T19:13:04.707152
2017-12-25T17:41:30
2017-12-25T17:41:30
102,808,884
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
../../../../../../Cellar/numpy/1.13.3/lib/python3.6/site-packages/numpy/distutils/fcompiler/sun.py
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
bc71160214a2fda9d50ddc554e033ac710f62b63
72730564dc94f1e2e777d7efea5cc4a25e1e773a
/scripts/crpo/job/create_job.py
285805242b602d1c23917ae4c15d3ee731d614dc
[]
no_license
Dinesh-Dewangan/UI-Automation
0126f63201f4d3668a1d1a2ae59da99028a662cf
9d81753cc2034dde2699bf8ccb9fdd382cb4c876
refs/heads/master
2020-06-14T10:33:23.620942
2020-03-17T04:50:48
2020-03-17T04:50:48
194,982,742
1
0
null
2020-03-12T14:04:28
2019-07-03T05:02:16
Python
UTF-8
Python
false
false
3,789
py
import time import page_elements import image_capture import test_data_inputpath from logger_settings import api_logger from scripts.crpo.job import job_excel class CreateJob(job_excel.JobExcelRead): def __init__(self): super(CreateJob, self).__init__() self.job_file = test_data_inputpath.attachm...
[ "Vinod-E" ]
Vinod-E
07ce17c60f33d7d20ae8b792325c9fa46dd0480f
f6d3a6562f18e1a8ec14d038b228dc43652a3b35
/早期/测试name_fun-unitest.py
c36a164b92062fb3c41362042d4db1684424be06
[]
no_license
huangno27/learn
be19a65744b588b296961572e8a5292f1230332f
93fe784a3127e76995e9ae018605efbe78238385
refs/heads/master
2020-04-26T12:52:07.692473
2019-03-10T10:31:55
2019-03-10T10:31:55
173,563,469
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import unittest from name_fun import get_formatted_name class NameTestCase(unittest.TestCase): """测试name_fun.py""" def test_first_last_name(self): """能够正确处理像xxx这种名字吗?""" formatted_name = get_formatted_name('jenkis','jmeter') self.assertEqual(formatted_name,'Jenkisjmeter') def test_...
[ "13436918611@163.com" ]
13436918611@163.com
ce77d8cc0c98293937159759a87dcb780e540e4a
2125593138c50b1fba5e46cd4d88d6c04d0b417a
/09_fullstack/TODO_BACK_END/todos/migrations/0001_initial.py
f0a14c55cc3b61ddfdc535046763183361638db1
[]
no_license
minkishome/TIL-master
5f0e6ef61b34a2983961ccf44f7523603ccb5907
d8edc0ff8abff3b2239a2d751eee263b722013a6
refs/heads/master
2023-01-21T00:43:30.165535
2020-08-25T14:56:18
2020-08-25T14:56:18
203,070,283
0
1
null
2023-01-05T01:08:10
2019-08-19T00:18:31
Python
UTF-8
Python
false
false
804
py
# Generated by Django 2.2.7 on 2019-11-19 01:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "minkishome@gmail.com" ]
minkishome@gmail.com
a3000c370e8fd1bf4889181a9a2319a995e19775
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/aiplatform/v1beta1/aiplatform-v1beta1-py/google/cloud/aiplatform_v1beta1/services/model_service/client.py
5cbcdcb63c7aaf1b2fb18e640bb618503bd6d06e
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
56,185
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
942b0b419e07f7432b96ff2ca99be3aa01ba7d80
84d469877bbc3b84d3a21d92e12c688177c38715
/benchmarks/bench_tall.py
1e1dc08ca2083fa4524df1a53e363c2f30dc5e3a
[ "MIT" ]
permissive
iCodeIN/pypipegraph2
e6c459822acf23e67fefdfe9ee2f40e03bef132a
16f5d3a471b3dae71fafca98f63c4c80882dc20a
refs/heads/main
2023-08-11T01:21:47.232920
2021-09-16T07:09:46
2021-09-16T07:09:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
#!/usr/bin/env python3 """This creates one FileGeneratingJob with a few hundred of direct DataLoadingJobs, which exposed a o(n**3) or so bottleneck in runner.modify_dag """ import pypipegraph2 as ppg import shutil from pathlib import Path import os import sys run_dir = (Path(__file__).parent / "run").absolute() try:...
[ "finkernagel@imt.uni-marburg.de" ]
finkernagel@imt.uni-marburg.de
6aedc04c17b07530d68acfdd39017a643d742f17
d272b041f84bbd18fd65a48b42e0158ef6cceb20
/catch/datasets/hepacivirus_j.py
eec8fe1c6145d6eede5a063629c1a08ac2bcf38d
[ "MIT" ]
permissive
jahanshah/catch
bbffeadd4113251cc2b2ec9893e3d014608896ce
2fedca15f921116f580de8b2ae7ac9972932e59e
refs/heads/master
2023-02-19T13:30:13.677960
2021-01-26T03:41:10
2021-01-26T03:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
"""Dataset with 'Hepacivirus J' sequences. A dataset with 1 'Hepacivirus J' genomes. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROGRAM! DO NOT EDIT! """ import sys from catch.datasets import GenomesDatasetSingleChrom ds = GenomesDatasetSingleChrom(__name__, __file__, __spec__) ds.add_fasta_path("data/hepacivir...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
e4f55680f4099563e396598da1f46761b424f3f2
1d74d8847e8c64be7aaa467dec2b74c1c0d1bb3e
/soxs/tests/test_registry.py
c7c92f23564aed0313889ce0b577564dfa7df77f
[ "BSD-3-Clause" ]
permissive
jzuhone/soxs
c10762406081f25c70a2bdc219dfe22961e92443
dee1048f2eb8958aa23c16be896c856d987d6245
refs/heads/main
2023-08-21T17:12:34.213342
2023-07-18T19:48:25
2023-07-18T19:48:25
65,416,590
8
7
NOASSERTION
2023-01-12T00:59:23
2016-08-10T21:07:47
Python
UTF-8
Python
false
false
163
py
from soxs.instrument_registry import show_instrument_registry def test_show(): # Just make sure this doesn't throw any errors show_instrument_registry()
[ "jzuhone@gmail.com" ]
jzuhone@gmail.com
8872071604d93d278d509b1e13e8db0faffb6f4a
bad1fb4b3f259626918056d8031b820cfd28d838
/020-Intermédiaire/060-Supprimer une instance/solution.py
1326b0dff00de4852f2b2c2d4819d98654ba7e48
[]
no_license
pimpim13/30-exercices-orientes-objet
87237a371aeb5b239ab3d8cf1ef420edc3b1a491
8dab943a2d1f8729e5b3cc8a38a33cae2b0b604b
refs/heads/master
2022-04-15T14:06:50.698965
2020-04-13T16:45:48
2020-04-13T16:45:48
256,951,035
1
1
null
2020-04-19T08:33:56
2020-04-19T08:33:55
null
UTF-8
Python
false
false
340
py
etudiants_partis = [] class Etudiant: def __init__(self, prenom, nom): self.prenom = prenom self.nom = nom def __del__(self): etudiants_partis.append("{} {}".format(self.prenom, self.nom)) john = Etudiant("John", "Smith") julie = Etudiant("Julie", "Martin") marc = Etudiant("Marc", "...
[ "houdon.thibault@gmail.com" ]
houdon.thibault@gmail.com
38406ba4a840536d6698ee248867479be0db5218
c6e4bbe71acaed695725bcc90764a4f51f84c67c
/modules/data.py
1467089b12642f148c20668e58565bed6e591053
[ "MIT" ]
permissive
AdamMiltonBarker/ALL-Pytorch-2021
b9ecabc0ddf22e30fbc91c4f7805d6e253f7d484
fadea0c179c13f16d8c2da4606441a0025f75bf3
refs/heads/main
2023-07-10T01:33:04.667200
2021-08-05T10:47:26
2021-08-05T10:47:26
392,326,390
0
0
MIT
2021-08-03T13:25:16
2021-08-03T13:25:16
null
UTF-8
Python
false
false
2,047
py
#!/usr/bin/env python3 """ AI Model Data Class. Provides the AI Model with the required required data processing functionality. MIT License Copyright (c) 2021 Asociación de Investigacion en Inteligencia Artificial Para la Leucemia Peter Moss Permission is hereby granted, free of charge, to any person obtaining a co...
[ "adammiltonbarker@eu.techbubbletechnologies.com" ]
adammiltonbarker@eu.techbubbletechnologies.com
020abd06918dae839160176fd3492623a202b572
0a2fb03e288ab52c9f5c4a7a93151866543de259
/fairseq/models/transformer_align.py
c80cc4341c31977d9f79292d69c209424a7223e3
[ "MIT" ]
permissive
utanaka2000/fairseq
938b93d94a51d059ce55ec2bdc93cfad70249025
5e82514d687289a73a6dec33b555217acd97cb0d
refs/heads/master
2023-03-21T13:08:42.640563
2020-10-03T04:23:15
2020-10-03T04:25:31
299,215,321
33
20
MIT
2020-09-28T06:50:19
2020-09-28T06:50:18
null
UTF-8
Python
false
false
3,532
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from fairseq.models import register_model, register_model_architecture from fairseq.models.transformer import ( base_architecture, tra...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
a02614abc66e0f2eb93dbd74a91ffde4551269b6
9ddee35a496f1b99d4f9b634711d30ad9f05a2fa
/case/p2pswitch/1447_1448.py
4b4536a4b2fd724570c18ad436e003873d86e239
[]
no_license
namesuqi/pirate
79824f231990030bdce9e092b300bb58d4ba0024
9308fbfa021f1238c2bd6faeb7d82c2934570140
refs/heads/master
2020-03-07T04:19:07.041355
2018-03-29T08:44:29
2018-03-29T08:44:29
127,263,075
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
#!/usr/bin/env python # coding=utf-8 # author: zengyuetian from libs.api.etcd_p2p_switch import * if __name__ == "__main__": # disable_p2p_switch('00010023') enable_p2p_switch('00010023')
[ "suqi_name@163.com" ]
suqi_name@163.com
a6d1cc22996181abccfc5086d9276d9e6ad76c2c
f37b170f2033f69a7763a03d4d9de5d99dd9374d
/2381.py
ee02ad07d106435071ddb9555208531048c04786
[]
no_license
Raushan-Raj2552/URI-solution
503effd0c7b541c2a5eb65a9ff955345b5c0dfc8
6fd9d04dc36538228db8d7351574e2c3eecf622c
refs/heads/master
2022-07-01T23:56:56.831157
2020-05-08T03:43:04
2020-05-08T03:43:04
259,172,600
1
0
null
null
null
null
UTF-8
Python
false
false
132
py
n,k = map(int,input().split()) a = [] for i in range(n): name = str(input()) a.append(name) b = a.sort() print(a[k-1])
[ "noreply@github.com" ]
Raushan-Raj2552.noreply@github.com
42e8437a2dfbd7c1eca9d1ed26bccc22d9f628e2
aaad70e69d37f92c160c07e4ca03de80becf2c51
/filesystem/usr/lib/python3.6/ctypes/util.py
61d8b46eba0d577555558d72ef491d68ddc86f5c
[]
no_license
OSWatcher/ubuntu-server
9b4dcad9ced1bff52ec9cdb4f96d4bdba0ad3bb9
17cb333124c8d48cf47bb9cec1b4e1305626b17a
refs/heads/master
2023-02-10T18:39:43.682708
2020-12-26T01:02:54
2020-12-26T01:02:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
{ "MIME": "text/x-python", "inode_type": "REG", "magic_type": "Python script text executable Python script, ASCII text executable", "mode": "-rw-r--r--", "sha1": "63df6a110ce326e2ff798ee33a2616850ed23d81" }
[ "mathieu.tarral@protonmail.com" ]
mathieu.tarral@protonmail.com
1c4ca17bf729a7addd1bc1fbee311d5ace4d3a6d
93f47ba04fc18c4e537f0a48fe6232e2a89a4d30
/examples/adspygoogle/dfp/v201403/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.py
bae430a2fc4f9463a7e28fb66ff50cbc6be8476e
[ "Apache-2.0" ]
permissive
jasonshih/googleads-python-legacy-lib
c56dc52a1dab28b9de461fd5db0fcd6020b84a04
510fad41ecf986fe15258af64b90f99a96dc5548
refs/heads/master
2021-04-30T22:12:12.900275
2015-03-06T15:35:21
2015-03-06T15:35:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,409
py
#!/usr/bin/python # # Copyright 2014 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 b...
[ "emeralddragon88@gmail.com" ]
emeralddragon88@gmail.com
d9c52596df0affaeae45418570b033aa6587c845
482cf96fe9ffa47a186100e186b2178867f7750c
/Simulation/Simulation_TE_Insertion.py
f165e9322b01219cc667fd118937aa057d31e403
[]
no_license
JinfengChen/Relocate_i
3ba7f28903779044d6f9841efcc5a976ca4f363e
487ad6a9d7f80205a2c84e12fe40c8554ac706fd
refs/heads/master
2021-01-23T19:13:20.617646
2016-03-14T21:24:48
2016-03-14T21:24:48
29,314,339
0
1
null
null
null
null
UTF-8
Python
false
false
6,392
py
#!/opt/Python/2.7.3/bin/python import sys from collections import defaultdict import numpy as np import re import os import argparse from Bio import SeqIO from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord import random def usage(): test="name" message=''' python Simulation_TE_Insertion.py --repeat mp...
[ "jinfeng7chen@gmail.com" ]
jinfeng7chen@gmail.com
6d35b64f54e270e764c189f8b906af9a6150e80b
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class2531.py
fa21970abd30cc91b43fd7b3c5607545b2114180
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,206
py
# qubit number=4 # total number=40 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
b22f04cf18c3bf3b6dcf2ff6d3eba5139d4f0fa6
6629ec2f528d4244f0161eb93c02c4a8cf30a654
/common.py
11ed79dd45bf9ca9cd60ae7288de2154c52e65d4
[ "MIT" ]
permissive
spyysalo/multiling-cnn
25fbc6db03e892649424522648781684989a2b73
9a47713d1ae862d974ea558cdb78bb8a120bf644
refs/heads/master
2020-05-31T19:23:57.640306
2019-06-10T06:25:47
2019-06-10T06:25:47
190,455,300
3
1
null
null
null
null
UTF-8
Python
false
false
4,731
py
import numpy as np from collections import OrderedDict def load_word_vectors(path, limit=None, prefix='', base_index=0): # Modified from # https://github.com/facebookresearch/MUSE/blob/amaster/demo.ipynb vectors = [] token_to_idx = {} with open(path, 'r') as f: next(f) for i, line...
[ "sampo.pyysalo@gmail.com" ]
sampo.pyysalo@gmail.com
c95ac079e56e74bb7ff0c2c118bc79d7486bb3a3
9bd861d47402c81f9cc608dc414c9827baa88dd5
/_estudoPython_solid/solid/venv/Scripts/pip-script.py
1ad678d7c5959faac4212ceee0593ad75ef9d079
[ "Apache-2.0" ]
permissive
c4rl0sFr3it4s/Python_Analise_De_Dados
8d4cf637573a5610489a2bd44e2a34c749456e73
74a72772179f45684f4f12acd4ad607c99ed8107
refs/heads/master
2023-02-02T21:13:16.150017
2020-08-03T17:52:19
2020-08-03T17:52:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
#!C:\Users\Ticar\PycharmProjects\solid\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys....
[ "ti.carlosfreitas@outlook.com" ]
ti.carlosfreitas@outlook.com
738b326312a482fe054f60b414e4f07e92d9bda1
727812b1b826a9c7efab420c15383a4e8a2930e2
/test_singletask.py
c291f49bde3b07d22932f492a6d87d97a64fb5d6
[]
no_license
Quving/celery-playground
2854fae7ec90082f981ca0d09a9226a62d1fb791
588ee00c7de4daf46b8d54e84d5f7aa65b611155
refs/heads/master
2023-06-24T19:54:17.916106
2021-07-13T12:17:40
2021-07-13T12:19:14
384,666,580
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
import time from tasks import compute_complex_task if __name__ == '__main__': result = compute_complex_task.delay(4, 4) # Wait for result via polling. result_available = False while not result_available: time.sleep(1) result_available = result.ready() if result_available: ...
[ "vinh-ngu@hotmail.com" ]
vinh-ngu@hotmail.com
09bdf6793ccc96d4c6c010ce546bb5e770c81715
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py
9bbd1c47c1bcce2f57941e820b9a1e7fb8c28e33
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
22,214
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" ]
scbedd.noreply@github.com
24afdd2f195cf4f68faca4fae4592ef4157e837b
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/tests/unittests/test_imperative_data_loader_fds_clear.py
e6b60873273d55da1724051d3419da4f94b76e7c
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
3,574
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
hutuxian.noreply@github.com
a59c0bcb04f9cb7bf9897c8535ef0f7799be3a76
e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7
/flask_api/venv/lib/python3.7/site-packages/vsts/git/v4_1/models/git_recycle_bin_repository_details.py
377c9d6ec2fcadca32815ef9930c938b3b9babf3
[]
no_license
u-blavins/secret_sasquatch_society
c36993c738ab29a6a4879bfbeb78a5803f4f2a57
0214eadcdfa9b40254e331a6617c50b422212f4c
refs/heads/master
2020-08-14T00:39:52.948272
2020-01-22T13:54:58
2020-01-22T13:54:58
215,058,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
[ "usama.blavins1@gmail.com" ]
usama.blavins1@gmail.com
68de74019939605d0c92962cce53ba055be096f0
d234d6a6e6b024596ff999f6564a0ff6b0843ac5
/vacnotify/database.py
f5141d134f1865eeadd67fd66146f9e7c4c14f14
[]
no_license
manishyadav12/vaccination-notify
074d91a7c295e6f0106813d76a2a8300f8efab83
5095b882e5a119d87d4bbe68b27f3183f5957921
refs/heads/master
2023-04-13T18:46:59.997288
2021-04-05T10:13:29
2021-04-05T10:13:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
from contextlib import contextmanager from vacnotify import db @contextmanager def transaction(): try: yield db.session except: db.session.rollback() raise else: db.session.commit()
[ "johny@neuromancer.sk" ]
johny@neuromancer.sk
eca4fe731fe36c2cf4e48a5efdf44cc1313c0748
731882b26c104026a5c16cd5829a1a7eeecbc8c0
/user_input1.py
1ad72a15cf0e4f798425051d2463235a0354a7ae
[]
no_license
PolishDom/COM411
ecb2b816c047aa7be401adcce9371295002cfc3e
a8d49529b996fde9a84235ba918b4917a24ca831
refs/heads/master
2023-01-22T05:18:32.951433
2020-12-06T16:12:45
2020-12-06T16:12:45
300,199,284
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
# Ask user to enter their name print("What is your name human?") name = input() print("It is nice to meet you human", name) whole_number = int(input()) decimal_number = float(input()) print("Your age is " + str(user_age))
[ "replituser@example.com" ]
replituser@example.com
7276b6d41f2e17a8ff22d77a8e0f46e0126a32c5
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/client/gui/impl/gen/resources/videos.py
078869ce0b44772efbcc04b253a29fe7c017d6b7
[]
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
360
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/impl/gen/resources/videos.py from gui.impl.gen_utils import DynAccessor class Videos(DynAccessor): __slots__ = () Logo_All = DynAccessor(19800) _bootcampFinish = DynAccessor(19801) _login = DynAccessor(19802) ...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
9518628cb03099f8554d0ee641abe1eea6696c0f
c291ba4506a8998df8d7f384c911f6a0a1294001
/bai__53/VariableGlobal.py
57e3704895a699026fd3d321c5ada9fdd057d35c
[]
no_license
thanh-falis/Python
f70804ea4a3c127dcb7738d4e7c6ddb4c5a0a9d4
fa9f98d18e0de66caade7c355aa6084f2d61aab3
refs/heads/main
2023-08-18T17:34:29.851365
2021-09-30T12:09:30
2021-09-30T12:09:30
398,952,505
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
""" - Tất cả các biến khai báo trong hàm chỉ có phạm vi ảnh hưởng trong hàm, các biến này gọi là biến local. Khi thoát khỏi hàm thì biến này sẽ không còn truy xuất được nữa. - Biến Global cho phape tham chiếu đến biến toàn cục """ g = 5 def increment(): global g g = 2 g = g+1 increment() print(g) def decr...
[ "thanhelma2020|@gmail.com" ]
thanhelma2020|@gmail.com
5d9e38ab7b16ed21b46a23b83f458fc77650aca0
264ad6220b62896d0dad764eff158c941fad0876
/backend/advisory_2_15075/wsgi.py
89924b3bf3f0da5fbcb9d9c1c1dc8254f568ed10
[]
no_license
crowdbotics-apps/advisory-2-15075
335c68600dc8f0d78504a1e37f1b278e7218d1f5
53b37392b134aa85463e2c58f5b138983c169c55
refs/heads/master
2023-02-07T20:10:23.759591
2020-03-26T00:45:50
2020-03-26T00:45:50
250,125,236
0
0
null
2023-01-26T16:41:43
2020-03-26T00:45:00
JavaScript
UTF-8
Python
false
false
409
py
""" WSGI config for advisory_2_15075 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
02ef2beb11196cc3176992ba518bf6119afec04a
7f54637e347e5773dfbfded7b46b58b50544cfe5
/6-2/todo/chainxy/spiders/fields.py
6e966be2c18423adf75ccdaf94a3bcc58ae7b299
[]
no_license
simba999/all-scrapy
5cc26fd92b1d03366b74d4fff58c4a0641c85609
d48aeb3c00fa2474153fbc8d131cf58402976e1d
refs/heads/master
2021-01-25T14:24:04.715550
2018-03-03T13:43:13
2018-03-03T13:43:13
123,695,640
1
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
import scrapy import json import os from scrapy.spiders import Spider from scrapy.http import FormRequest from scrapy.http import Request from chainxy.items import ChainItem from lxml import etree from selenium import webdriver from lxml import html import time import pdb import unicodedata class fields(scrapy.Spider)...
[ "oliverking8985@yahoo.com" ]
oliverking8985@yahoo.com
01b55dfe91da5aed17ab22135a8aaed3f3ab2905
667ebdcdccf443a6f1ca5ff7cf710ddd03e13eb7
/Lab3/material/material/programs/auxiliar.py
ded24afea960fd6f9394506f27f6519266b241dd
[ "MIT" ]
permissive
krishnakalyan3/SNLP
710d33feb0e643829888242e4a689c48656ae653
d68890adc40e37b764dda317be0623478b03658d
refs/heads/master
2021-01-10T18:21:36.336061
2016-12-02T23:05:22
2016-12-02T23:05:22
69,754,501
0
1
null
2016-10-07T16:54:50
2016-10-01T18:02:10
Jupyter Notebook
UTF-8
Python
false
false
2,740
py
# -*- coding: utf-8 -*- #!/pkg/ldc/bin/python2.5 #----------------------------------------------------------------------------- # Name: auxiliar.py # # Author: Horacio # # Created: 2013/09/10 # auxiliar scripts for labo #-------------------------------------------------------------------------...
[ "krishnakalyan3@gmail.com" ]
krishnakalyan3@gmail.com
95c91b6e65f7bf25ae1db257bbd23f3ff058c204
18c36c0302ce1a76d0dc8e20a7819493ab31f991
/14-4-tp-knn-iris-correction.py
594286ecfe8e360fb70b3154262686f7d5c864ef
[]
no_license
cyrilvincent/pollen
ecc876186a69bc074e9237addc9610b50ddd3db1
8e4934b079fcb23ef92b0bcb1de7a007923f3f0e
refs/heads/master
2020-09-25T17:34:53.256602
2019-12-17T14:04:21
2019-12-17T14:04:21
226,055,140
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
import sklearn.datasets as ds iris = ds.fetch_mldata('iris',data_home='./mnist/') print(len(iris.data)) import numpy as np sample = np.random.randint(150, size=100) data = iris.data[sample] target = iris.target[sample] data = data[:, :2] # Enlève les 2 1ere colonnes print(data) import sklearn.model_selection as ms x...
[ "contact@cyrilvincent.com" ]
contact@cyrilvincent.com
edecd1471d3ef1753e4a275006c79a66813ee7ba
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/__init___parts/StackOverflowException.py
15fd7734fd46af2e55a8eb12d6e092b887197a03
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
1,194
py
class StackOverflowException(SystemException,ISerializable,_Exception): """ The exception that is thrown when the execution stack overflows because it contains too many nested method calls. This class cannot be inherited. StackOverflowException() StackOverflowException(message: str) StackOverflowException(me...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
c28c180d10c10d3b035a80a1c3cbdac0d6befda0
52c43927fc14c45ff0044671f1b7eb09a378dbc2
/server/test/seed.py
4fb889e6a456c8589a70b767ff576c2b9a12a741
[]
no_license
oharsta/ala
6af8008456418f93c300c5d37d0acf72a66ef4ca
19a0c89905af20ea28cb6ae43466aedb5ffd763a
refs/heads/master
2021-06-24T11:53:34.316235
2020-04-22T14:18:39
2020-04-22T14:18:39
213,673,163
1
2
null
2021-03-25T23:00:14
2019-10-08T14:53:56
Python
UTF-8
Python
false
false
2,702
py
import hashlib from datetime import datetime, timedelta from uuid import uuid4 from flask_pymongo import PyMongo from server.db.service_provider import ServiceProvider from server.db.user import User john_eduperson_principal_name = "john@example.com" john_edu_unique_id = str(uuid4()) mary_eduperson_principal_name =...
[ "oharsta@zilverline.com" ]
oharsta@zilverline.com
ae360f0d059b432cb8c098463f3db09ef3975f35
b4a0380acd79a21c5596bfa5fac6eb337ef5359a
/build/lib.linux-x86_64-3.8/maskrcnn_benchmark/modeling/roi_heads/box_head_partial_loss/box_head.py
0515bd9e44e3cfa03d6f21a5003b2f5d8b6e9a94
[]
no_license
xiaofeng-c/Morphable-Detector
781104d8a7221eb03c55a67f51f696e46ded4003
3e50bb20493c3e0b99d37971e51487124aa08b5b
refs/heads/master
2023-08-27T20:53:21.606442
2021-10-18T22:28:38
2021-10-18T22:28:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,967
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch from torch import nn from .roi_box_feature_extractors import make_roi_box_feature_extractor from .roi_box_predictors import make_roi_box_predictor from .inference import make_roi_box_post_processor from .loss import make_roi_box_loss_...
[ "zhaoxiangyun915@gmail.com" ]
zhaoxiangyun915@gmail.com
9db447f7991848ef98ec637f3a57c888ac05fbf3
9f9f4280a02f451776ea08365a3f119448025c25
/plans/hsppw/lcut_hsp-l_025_pwcc_mlpr_hs.py
2b9c40881ecdcaf83e80f8680af9290f327a5438
[ "BSD-2-Clause" ]
permissive
dbis-uibk/hit-prediction-code
6b7effb2313d2499f49b2b14dd95ae7545299291
c95be2cdedfcd5d5c27d0186f4c801d9be475389
refs/heads/master
2023-02-04T16:07:24.118915
2022-09-22T12:49:50
2022-09-22T12:49:50
226,829,436
2
2
null
null
null
null
UTF-8
Python
false
false
2,158
py
"""Plan using all features.""" import os.path from dbispipeline.evaluators import CvEpochEvaluator from sklearn.neural_network import MLPRegressor from sklearn.pipeline import Pipeline from sklearn.preprocessing import MinMaxScaler import hit_prediction_code.common as common from hit_prediction_code.dataloaders impor...
[ "mikevo-uibk@famv.net" ]
mikevo-uibk@famv.net
7a79f9daa4adaa0a44886c23291d266a45d2ef8f
59d782548689adb8fa8eb4de15696b18b34f4e2c
/dags/dv360_api_to_bigquery_dag.py
c92a623cefdf73ca49d43903547a730a37415be2
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
marciopocebon/starthinker
965e5e627fa854917cbe4e088b2e9cca01c908d6
f7674009aa9ac5a48bc88c83a21f21ef32877f57
refs/heads/master
2022-12-24T15:34:17.986174
2020-10-13T19:26:56
2020-10-13T19:27:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,157
py
########################################################################### # # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/l...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
d19ce21bb10ad77d0dc38b325c5ba8042ba9cbde
62f68ffa05b15b6a046aec54b559a85707168123
/reidosrebites/urls.py
e544e8b0db2dd3a7ba94e8f2b13cbc56bf474948
[]
no_license
valdergallo/reidosrebites
979b3411e4d57388d105bfbd7ea357f7ec93c1a2
9feb100c17b4182ed3665f5743dd5cc6935a8d39
refs/heads/master
2021-01-09T05:29:21.546812
2017-02-12T22:49:19
2017-02-12T22:49:19
80,776,648
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
# encoding: utf-8 from django.conf.urls import url from django.conf.urls import include from django.contrib import admin from django.contrib.sitemaps.views import sitemap from leadpage.sitemaps import StaticViewSitemap from leadpage.views import LeadPageView from leadpage.sitemaps import LeadPageSitemap from products.s...
[ "valdergallo@gmail.com" ]
valdergallo@gmail.com
8cf7a4175a63faa6c8459acc5f8c6d100607f019
7e97f8f79b8bceea587af6c2f8424e5d6efca70f
/LowLevelApi/Classic/Python/1Main/Tkinter_ModifyProtocolInt.py
637f81a14aa3c53ab2aaa35ff834be9f5ab0dc3c
[ "MIT" ]
permissive
OpenIxia/IxNetwork
e107b19666f297a4ee646159ac2268894b2f1594
f6100f1e9eed4f1cb622a7922beee20e6a61a714
refs/heads/master
2023-04-08T17:05:35.591102
2023-03-17T21:35:21
2023-03-17T21:35:21
117,154,746
53
69
MIT
2022-12-09T05:15:09
2018-01-11T21:18:42
Python
UTF-8
Python
false
false
5,949
py
#!/usr/local/python2.7.6/bin/python2.7 # By Hubert Gee # # Description: # A sample script using Tkinter to call TCL APIs. # This script sources an API file and the APIs are a combination # of low level and high level APIs. # # This script can load a saved config file or resume from an existing # configura...
[ "hubert.gee@keysight.com" ]
hubert.gee@keysight.com
736f1c7e763ebf8f0331d06b851809fa72025660
0de3b5280354af68bc8c4103100d712d0607e014
/ctp/smart/kb.py
0b356319ee8563d4ca5c86130a5e26affa98a883
[ "MIT" ]
permissive
uclnlp/ctp
e2609a39b8c2663c61fe3f93be937ee3b8f5f5c4
8cd7e639024f2aa28bdae4783e940cad784580ae
refs/heads/master
2023-04-18T05:48:21.788361
2021-04-30T20:47:07
2021-04-30T20:47:07
279,368,568
48
17
null
null
null
null
UTF-8
Python
false
false
14,430
py
# -*- coding: utf-8 -*- import numpy as np import torch from torch import nn, Tensor from ctp.kernels import BaseKernel from ctp.smart.base import BaseSmartModel from ctp.indexing import NPSearchIndex from ctp.indexing import FAISSSearchIndex from ctp.indexing import NMSSearchIndex from typing import List, Tuple, ...
[ "p.minervini@gmail.com" ]
p.minervini@gmail.com
21b1063b8b6bd6c2ab32d4eaf308d12d6574fc39
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/documentdb/get_service.py
b3fdf5a1f51e3ea604e443b1b17ca6a1c47fd18a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,121
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
297794a26943354d805e685a702ba42de65484c5
fd4225729c9d1635c447e14493dda18940d4b35d
/twitter/settings.py
e3bc7d1682b26e97060f2ae3793510b89e11146c
[]
no_license
dspashish/NexaPeak
ce66d02c7e7f0aac761f7772c5e2fda183decf3e
6659d2fc23c6e5419870f1f556495da78b807663
refs/heads/master
2020-04-16T08:07:32.261695
2019-01-12T17:01:08
2019-01-12T17:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,542
py
""" Django settings for twitter project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os #...
[ "you@example.com" ]
you@example.com
2eb484d0c3430db1a19a27fcf8c19c7320b75f8f
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/RSG/CP5RSGPythia8/RSGfragments/RSGravitonToGammaGamma_kMpl001_M_4000_TuneCP5_13TeV_pythia8_cfi.py
281672bc237b05ecba488e508d877ee8f7133236
[]
no_license
uzzielperez/Analyses
d1a64a4e8730325c94e2bc8461544837be8a179d
1d66fa94763d7847011ea551ee872936c4c401be
refs/heads/master
2023-02-09T04:54:01.854209
2020-09-07T14:57:54
2020-09-07T14:57:54
120,850,137
0
0
null
2020-06-17T16:48:16
2018-02-09T03:14:04
C++
UTF-8
Python
false
false
1,158
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(1.09...
[ "uzzie.perez@cern.ch" ]
uzzie.perez@cern.ch
70a55501719fc5fd231b5c975b5e5cf367a2080d
aaa444913d0e5bd7ca96802c321741a0ef3fb922
/backend/imagina_radio_5273/wsgi.py
1e7d14cf111cb98de0b9e046645faeb028842692
[]
no_license
crowdbotics-apps/imagina-radio-5273
101675524dc64c27aa3e22c2156e9b90dc8db810
ba858e15e6b123d8f0e5eb6cab379f2e7e0fd4b8
refs/heads/master
2022-07-12T06:07:06.294891
2019-06-27T12:33:39
2019-06-27T12:33:39
194,091,950
0
0
null
2022-06-23T17:10:28
2019-06-27T12:33:22
Python
UTF-8
Python
false
false
413
py
""" WSGI config for imagina_radio_5273 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('D...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1a94762d1dfba623a8c0b33a32bd3ac54bc930ff
c61882754a5aa97ad8c1a67ab4d92f74af488ba4
/_build/deploy/scripts/remove_okpy_from_data8.py
61c9a880f8fc1c192051b1fe689fae96bdcbf0e5
[]
permissive
rachelim21/zero-to-data-8
11c18c64087ef33657c71e8f1d79bb70c7484e98
715f7fd94df9e8f2cea3a12f8817f5f6cff21814
refs/heads/master
2021-06-02T06:59:41.009591
2020-06-15T21:52:19
2020-06-15T21:52:19
254,317,369
0
0
MIT
2020-04-09T08:42:20
2020-04-09T08:42:20
null
UTF-8
Python
false
false
1,484
py
"""Remove all OKpy server dependencies from a folder with Data 8 materials.""" from subprocess import check_call from glob import glob import os import shutil as sh import argparse from tqdm import tqdm DESCRIPTION = ("Find all Jupyter Notebook files in a folder, and remove all references to the OKpy server." ...
[ "choldgraf@berkeley.edu" ]
choldgraf@berkeley.edu
cf82120c33e29cba2e5eaa9fcf93c510257b67b8
f62fd455e593a7ad203a5c268e23129473d968b6
/keystone-11.0.2/api-ref/source/conf.py
d4e2d89fa0271316d465d5238e531509ebc22dc7
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
7,458
py
# -*- coding: utf-8 -*- # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softwa...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
5a1b076a91600cfff212cd16331602b692adad0d
8552e3b9127c2aa7fd0f31674b5549c0a6b49e1a
/certificateApp/decorators.py
7e486ab831af273f7f6c067af56dac0f3e9916b3
[]
no_license
jhabarsinghbhati/final
a475456e626d446611f1d076e4d9dce739e7e3f3
b003751a274acc2b6e0eb9e11bd427b21e765f5a
refs/heads/master
2022-11-17T03:18:40.478815
2020-07-13T09:35:09
2020-07-13T09:35:09
279,258,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
from django.shortcuts import redirect, reverse from .models import UserProfile from django.core.exceptions import PermissionDenied def is_admin(fun): def authorized(request, *args, **kwargs): if request.user.is_authenticated: if request.user.is_superuser or request.user.is_irscdmin: ...
[ "jhabarsinghbhati23@gmail.com" ]
jhabarsinghbhati23@gmail.com
567d042e3c0b9f9ae6d8aebe91aee3032a91a987
19bf361a513e9ea46cbce8b31dcac35931cc583b
/source/vsm-dashboard/vsm_dashboard/utils/validators.py
3afb3812f6b9d18ad8f4f1d611cda4f9a387aa81
[ "Apache-2.0", "MIT" ]
permissive
YankunLi/virtual-storage-manager
d2ae642b3d5d88952216139ab1ce9005b3bb1bb7
66a78a73be1e5189a69ba1b3ca442f4ccc1f7542
refs/heads/master
2021-01-24T21:19:32.101499
2015-01-09T21:13:58
2015-01-09T21:13:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,516
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2014 Intel Corporation, 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.or...
[ "yaguang.wang@intel.com" ]
yaguang.wang@intel.com
184e05244de480c531d759f94fd0e969f035b41b
cbd261c03563cd5b4138ac50b06abc81163cd0b6
/backend/home/migrations/0002_load_initial_data.py
47d3b94e5d598dcff5100fcda754e296d5590f61
[]
no_license
crowdbotics-apps/brodybeatz-vr-21165
ef03c7f80e542d239e8fb4fcb35af195ba8e9dff
42935f34932e6097a09cc1a674ba758221631812
refs/heads/master
2022-12-25T00:04:09.554598
2020-10-06T15:14:33
2020-10-06T15:14:33
301,767,722
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "Brodybeatz vr" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage")...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5524853556c956246a117688742250785e8c1635
d527e16188f375209087321fade420284029a378
/src/zeo_connector_defaults/environment_generator.py
e4d5ddcb18412c1305c3a561fb756925b5d3aa2c
[ "MIT" ]
permissive
Bystroushaak/zeo_connector_defaults
caa23417b5a5db875c312671cf940a651cf229eb
b54ecb99ddb4665db00fba183ef1d7252b0ca62b
refs/heads/master
2016-09-01T04:33:29.635213
2015-11-24T03:53:46
2015-11-24T03:53:46
44,757,168
0
0
null
null
null
null
UTF-8
Python
false
false
2,909
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Interpreter version: python 2.7 # # Imports ===================================================================== import shutil import random import os.path import tempfile import threading import subprocess from string import Template # Variables ===================...
[ "bystrousak@kitakitsune.org" ]
bystrousak@kitakitsune.org
43da32b8baad087bc5128c2e845adedd5b08da2a
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/cyphon/cyphon/sifter/mailsifter/mailsieves/admin.py
cd80f43be333bc732709b854b34fe4fd5cff58c3
[ "MIT", "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-copyleft" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
1,480
py
# -*- coding: utf-8 -*- # Copyright 2017-2019 ControlScan, Inc. # # This file is part of Cyphon Engine. # # Cyphon Engine is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # Cyphon En...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
033b9808ef53b2d8718082d0b9c9f69f27083e69
37f10a692d0e1a9a396f505af60b04f7db44d3e1
/02 30 Days of Code Challenges/Day12-Inheritance.py
cf9eee5a335f2ec41ccb926174f2b22f0711474b
[]
no_license
nbrahman/HackerRank
95842f5dbda2ab8aedc7808831c12b9f92a37e03
ec5d42d7e578f01efba87a099f42e82512704dca
refs/heads/master
2021-01-19T11:53:59.685444
2017-07-29T16:04:21
2017-07-29T16:04:21
88,003,548
0
0
null
null
null
null
UTF-8
Python
false
false
3,432
py
''' Objective Today, we're delving into Inheritance. Check out the Tutorial tab for learning materials and an instructional video! Task You are given two classes, Person and Student, where Person is the base class and Student is the derived class. Completed code for Person and a declaration for Student are provided fo...
[ "nikhil.brahmankar@gmail.com" ]
nikhil.brahmankar@gmail.com
1e76bc610acf8ad001010c1fba6cf49f49dfd7a6
5f9929cc75706632a2fafb8609e9dc05859166c3
/src/contact/accounts/models.py
7bb1b12f28c2c28145bfc1c606ee5c8971fe2937
[]
no_license
Vazimax/EazyMax
ae81a23365a4d0707af838b1be5aec58728261aa
8bd7d76f817ba2f13de09f8517595b0150af8414
refs/heads/main
2023-06-23T01:19:21.782309
2021-07-10T11:20:44
2021-07-10T11:20:44
378,977,438
1
0
null
null
null
null
UTF-8
Python
false
false
687
py
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver class Profile(models.Model): user = models.OneToOneField(User,on_delete=models.CASCADE) featured = models.BooleanField(default=False) #city = models.C...
[ "aboubakr.elhabti@gmail.com" ]
aboubakr.elhabti@gmail.com
111f96f12a4bb7df57e2c01a3a81d433e730a1b8
bb41131cd97d9c9f0fdec18c9f63e83e46eef947
/cutter/cutter/upload_backends.py
49fd528cfc6c0d296ea5d3244b0493fbc02f4f2e
[ "MIT" ]
permissive
dbuentello/wubloader
e1d8904a6fd1eb5913ea77b5e63f0afeb81a8847
f0546e2ee39d27abbe8f7e757b9d7cc4df6b3e42
refs/heads/master
2023-07-06T23:38:03.525832
2020-11-29T09:33:49
2021-08-17T14:24:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,619
py
import errno import json import logging import os import re import uuid from common.googleapis import GoogleAPIClient class UploadError(Exception): """Upload backends should raise this error when uploading and an expected failure occurs. In particular, they should NOT raise this error if they're unsure whether ...
[ "mikelang3000@gmail.com" ]
mikelang3000@gmail.com
8fbfb28a6d2f2b7c31fa63ec20109120cbd19d93
8059bb1c6f862ef4fc9b8d741a3a4f58db7d2c2f
/src/biokbase/narrative/tests/test_narrativeio.py
db205426b39b958d2fe1f5303074661f5a1d5c07
[ "MIT" ]
permissive
MrCreosote/narrative
c6a53e95a1a3d025735eb599fed6ef9ea1803052
da892a7482f609364dff8c00ff0732f1716021fb
refs/heads/master
2020-08-02T01:15:03.709318
2019-09-20T21:03:49
2019-09-20T21:03:49
28,879,878
0
0
null
2015-01-06T19:34:53
2015-01-06T19:34:53
null
UTF-8
Python
false
false
22,079
py
""" Tests for Mixin class that handles IO between the Narrative and workspace service. """ import unittest from biokbase.narrative.contents.narrativeio import KBaseWSManagerMixin from biokbase.narrative.common.exceptions import WorkspaceError import biokbase.auth from tornado.web import HTTPError import util from biokb...
[ "wjriehl@lbl.gov" ]
wjriehl@lbl.gov
b8b4808dc1a8a8362b6e3a11357fa73881ba6941
7bcb0b7f721c8fa31da7574f13ed0056127715b3
/src/apps/base/models/dimensions/dimension_payment_status.py
790e6b25b9768955426a23e7141ac42f5d079de3
[]
no_license
simonchapman1986/ripe
09eb9452ea16730c105c452eefb6a6791c1b4a69
c129da2249b5f75015f528e4056e9a2957b7d884
refs/heads/master
2022-07-22T05:15:38.485619
2016-01-15T12:53:43
2016-01-15T12:53:43
49,718,671
1
0
null
2022-07-07T22:50:50
2016-01-15T12:53:09
Python
UTF-8
Python
false
false
481
py
from django.db import models from dimension import select_or_insert class DimensionPaymentStatus(models.Model): """ DimensionPaymentStatus Dim to filter down on payments status within the reported data facts """ status = models.CharField(max_length=128, unique=True) class Meta: app_l...
[ "simon-ch@moving-picture.com" ]
simon-ch@moving-picture.com
c34e62cfd02e6e64dd5dbccb70cd0b23ade3a61a
b413fc6da6f1952d23378a8cf9f43406de5c506d
/basics/decisions/simple_decisions/if.py
28bc9a6c67ec957e81d1af9d89cf182609220c80
[]
no_license
Holmanc/COM411
10acc7bd00c273c20499b0248cf28309b0ece71d
9c49e973eec38d50bde46b2fe0970159bae7a8d4
refs/heads/master
2022-12-23T05:46:26.107604
2020-10-06T09:27:26
2020-10-06T09:27:26
299,592,074
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
#What type of Book print("What type of book is this?") book = input() if (book == "adventure"): print("\nI like adventure books!") print("Finished reading book.")
[ "replituser@example.com" ]
replituser@example.com
2b40b58d4d80ae21a261e38e1f77fc74ab9c28d5
a06712c9c2859a67e4d4e38483fb23753636c8d1
/agent.py
52a103dae6ebb1027b92688e190e80fb55514cfc
[]
no_license
ei-grad/track
ce444a2252e54428d56c89fcaa3d2f928f06fad1
38a8b59c3e25dfbdca065ed6c277da32849940c2
refs/heads/master
2021-04-15T09:26:22.999350
2018-03-26T12:31:36
2018-03-26T12:39:28
126,565,535
0
0
null
null
null
null
UTF-8
Python
false
false
2,520
py
#!/usr/bin/env python from os import getenv import json import logging import random import math import numpy as np from tensorforce.agents import Agent from main import App app = App() app.init_screen() app.render() config = json.load(open(getenv('CONFIG', 'ppo.json'))) max_episodes = config.pop('max_episodes',...
[ "andrew@ei-grad.ru" ]
andrew@ei-grad.ru
72aa8af6e072c1fa796cc096995a3d7538587716
eb1148f75215739a7ca5ba35027fe46b9dcc5e30
/practice/0304_practice/SWEA_5097_회전_이정민.py
1b8b4951489e36aa2fc88e9ee5ccb5189a4b9efa
[]
no_license
ljm9748/Algorithm_ProblemSolving
8ee594c0d1226ebe3670e772a7fc1c08ddf62e43
d1ebc34019ae2d795417ef47f74f1407a7f3cb9e
refs/heads/master
2023-05-02T20:00:01.784017
2021-04-26T13:57:29
2021-04-26T13:57:29
339,901,096
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
for tc in range(int(input())): N,M= map(int, input().split()) inputq=list(map(int, input().split())) # M번만큼 순회 for m in range(M): tmp=inputq.pop(0) inputq.append(tmp) print('#{} {}'.format(tc+1, inputq[0]))
[ "ljm9748@naver.com" ]
ljm9748@naver.com
ee0744eaf5a44e7554cb129427265453377f327c
b25ebe0ffcfc76de74eb558b8e5393629edd04aa
/tests/test_postprocess.py
a4b2a536b8f0dfe22261a781df908d12977a3193
[ "MIT" ]
permissive
IMTMarburg/mbf_align
120ff79b62c4c16e2813566f540009f48caab1f4
53b0822eb218b9462cb882140284611d3d84d9c3
refs/heads/master
2023-06-22T21:47:20.032340
2021-07-20T11:43:05
2021-07-20T11:43:05
304,003,552
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
from pathlib import Path import pypipegraph as ppg from mbf_align import Sample, AlignedSample from mbf_sampledata import get_sample_path, get_human_22_fake_genome import mbf_qualitycontrol def test_align_and_extract_umis(new_pipegraph): from mbf_align.post_process import AnnotateFastqBarcodes for folder in ...
[ "finkernagel@imt.uni-marburg.de" ]
finkernagel@imt.uni-marburg.de
24be7173bcd8954f9df6e031da7588cc6f515078
4ec118e2c28d549c71f335550a0f79fc253ed19f
/tools/tensorflow_to_coreml.py
a8560301d3e181290c7bdf03bef41133724fa3be
[ "MIT" ]
permissive
bnMikheili/keras-YOLOv3-model-set
ce1dbf188aa98eff2729bd4334dbb9d8137806f9
7583d791a97a82c7ebfdb2e09877e812df0a602c
refs/heads/master
2022-09-14T12:12:43.387302
2020-06-03T22:58:41
2020-06-03T22:58:41
269,209,210
0
0
MIT
2020-06-03T22:38:58
2020-06-03T22:38:58
null
UTF-8
Python
false
false
3,246
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Script to convert YOLO h5 or pb model to CoreML model """ import os, sys, argparse from tensorflow.keras.models import load_model import tensorflow as tf import tfcoreml sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) from c...
[ "david8862@gmail.com" ]
david8862@gmail.com
a6cf98d15042cdf9aeceddba7f9530c7fda88935
12f006a0e5d75ef2349d4ae519c1c9cac5309761
/Solution_254.py
568b11239088a8e4a98dc76bcf7a9a3b797a120b
[]
no_license
TimothySjiang/leetcodepy
c613db16282eade713e01b7d641c0f5b341ec84b
ef64e46b8833a684b8b0355ce576b767a0e03596
refs/heads/master
2020-07-01T14:48:35.953841
2020-01-12T06:19:44
2020-01-12T06:19:44
201,199,810
1
0
null
null
null
null
UTF-8
Python
false
false
555
py
#Long time class Solution: def getFactors(self, n: int) -> List[List[int]]: results = [] for i in range(2, int(n ** 0.5) + 1): if n % i == 0 and i <= n // i: self.recursion(n // i, i, [i], results) return results def recursion(self, goal, start, result, resul...
[ "shjiang@ucdavis.edu" ]
shjiang@ucdavis.edu
291741685e7ee52392c5a4c8d97c3200e00ed394
b7f4d49ace49ae2affd9adc619f13e2cdd887ff3
/src/training/layers.py
9c18f5b71d1a96f6e870761f6898ddc5ebdd001f
[]
no_license
kylemin/inr-gan
828c5f513387c7cfcf2e6baf4b976f4b572bf685
58d866e8f986f04e8001083dc9be2427fd7f5d30
refs/heads/master
2023-08-28T07:52:59.352021
2021-10-29T13:56:29
2021-10-29T13:56:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,041
py
from typing import Dict, List, Optional, Tuple import torch import torch.nn as nn from torch import Tensor import torch.nn.functional as F import numpy as np from omegaconf import DictConfig from torch_utils import persistence from torch_utils.ops import bias_act from torch_utils import misc #-----------------------...
[ "iskorokhodov@gmail.com" ]
iskorokhodov@gmail.com
762c3109739e036c92dd088002cd235e7bc027de
721406d87f5086cfa0ab8335a936ece839ab2451
/.venv/lib/python3.8/site-packages/azure/functions/_http_wsgi.py
e6e4fc2f5617f0ee790f03459e38d4dd26236a05
[ "MIT" ]
permissive
MarkusMeyer13/graph-teams-presence
661296b763fe9e204fe1e057e8bd6ff215ab3936
c302b79248f31623a1b209e098afc4f85d96228d
refs/heads/main
2023-07-09T03:34:57.344692
2021-07-29T07:16:45
2021-07-29T07:16:45
389,268,821
0
0
MIT
2021-07-29T07:16:46
2021-07-25T05:23:08
Python
UTF-8
Python
false
false
7,703
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from typing import Dict, List, Optional, Any import logging from io import BytesIO, StringIO from os import linesep from urllib.parse import urlparse from wsgiref.headers import Headers from ._abc import Context f...
[ "meyer_markus@gmx.de" ]
meyer_markus@gmx.de
79f458bcd7c2e4ba4620f2e7138185616c0162a9
651d77155bcb104d76fba163060b1d62fc4923f9
/utils/timer.py
3e0712407d9bf0b3b0ce0653f2471f4b1ef0af75
[]
no_license
leisun123/scholar-private
908f0ae5c95b6644bb157587007dfbb5e42d5928
81b93f6f16d2233419894cf45bdf34883f8b0cd2
refs/heads/master
2020-03-22T18:31:49.072513
2019-02-18T07:50:34
2019-02-18T07:50:34
140,465,515
1
0
null
null
null
null
UTF-8
Python
false
false
782
py
#coding:utf-8 """ @file: timer @author: IsolationWyn @contact: genius_wz@aliyun.com @python: 3.5.2 @editor: PyCharm @create: 2017/7/1 17:37 @description: -- """ import time import logging import random class Timer(object): """定时器,定时执行指定的函数 """ def __init__(self, start, int...
[ "genius_wz@aliyun.com" ]
genius_wz@aliyun.com
b013a8a24e47e04295d9aa9fa92e646f596dc12b
ebd9c249d446d809abc9a0f3e4593f34922a1b93
/lintcode/433_number_of_islands.py
babfa16bd64643398da4a885495f073562df1b20
[]
no_license
jaychsu/algorithm
ac7a9dc7366f58c635a68bc46bf1640d2f5ff16d
91892fd64281d96b8a9d5c0d57b938c314ae71be
refs/heads/master
2023-05-11T00:40:39.237813
2022-09-14T07:43:12
2022-09-14T07:43:12
106,277,156
143
39
null
2022-09-14T07:43:13
2017-10-09T11:51:48
Python
UTF-8
Python
false
false
861
py
class Solution: def numIslands(self, grid): """ :type grid: list[list[int]] :rtype: int """ ans = 0 if not grid or not grid[0]: return ans m, n = len(grid), len(grid[0]) for x in range(m): for y in range(n): i...
[ "hi@jaych.su" ]
hi@jaych.su
b91c75042cb766a42e57a7b8173a00aa0fac2ee0
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/scatter/marker/colorbar/_ticktext.py
28f9890f11997a71743a7315a16010afe4fce690
[ "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
437
py
import _plotly_utils.basevalidators class TicktextValidator(_plotly_utils.basevalidators.DataArrayValidator): def __init__( self, plotly_name="ticktext", parent_name="scatter.marker.colorbar", **kwargs ): super(TicktextValidator, self).__init__( plotly_name=plotly_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
5bd0f020eb1d15227d39e754bd19eba007bca92d
dd24d97897dbf036a3933990027c96ff062591aa
/utils/label_utils.py
bfe09c73a5a733865fbd9095dbab11045c58f44b
[]
no_license
wyzhe/attention_ocr
80fde3ab654c4b63be325e0d1421d32206adbc27
e6534251e69de4e63e5671a7bc92aa654bab6973
refs/heads/master
2022-08-02T21:11:08.188615
2020-04-27T15:56:07
2020-04-27T15:56:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,091
py
#!/usr/bin/env python import numpy as np import re import os from Levenshtein import * import logging logger = logging.getLogger("Data_Util") rex = re.compile(' ') from main.conf import * def caculate_edit_distance(preds, labels): distances = [distance(p,l) for p,l in zip(preds, labels)] return sum(distance...
[ "piginzoo@gmail.com" ]
piginzoo@gmail.com
b3598d8b6799b8589dcc5bc92156227b89b4d54a
b38f571182c10eca57ab7015b5ed7b8ea4560768
/neutron/db/migration/alembic_migrations/vswitch_init_ops.py
c2ceb9b9741eb347156446e3a875193cf0e29abd
[ "Apache-2.0" ]
permissive
ericho/stx-neutron
708397936f69c105030d689dafdbbee3cb069c31
d4a8ad548c4afed73269575c48526a704dd09a9c
refs/heads/master
2020-05-21T00:27:10.790255
2018-11-13T21:26:37
2018-11-19T21:17:05
185,827,770
0
0
NOASSERTION
2019-05-09T15:42:30
2019-05-09T15:42:30
null
UTF-8
Python
false
false
4,696
py
# Copyright 2014 OpenStack Foundation # # 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 ...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
8d7a5c60b7700fd445bdf58808819437353c8d39
861db97defcdadae5f10263b9a6d41e7d0b85131
/ex082.py
245d408298086442fbf296edeeca09ddbc709d45
[]
no_license
gguilherme42/CursoEmVideo_Python
0483f092fe6563bc97a260ca07c2d4f1f882ac61
54eec56e98ae71dbb2ba02eb6904cd236a42be70
refs/heads/master
2021-01-06T15:15:25.194038
2020-04-27T22:19:42
2020-04-27T22:19:42
241,374,850
4
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
''' Programa que lê vários números e coloque-os numa lista. Depois disso, cria duas listas: uma com valores pares e outra com os ímpares digitados. No final, mostre: a) O conteúdo das listas. ''' #@Guilherme lista = [] par = [] impar = [] while True: num = int(input('Digite um número: ')) lista.append(num) ...
[ "anoobs@tutamail.com" ]
anoobs@tutamail.com
1b1939a875089981dfa82de01816d263b7a8c3fe
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/UMSAGENT-MIB.py
31bc99b445a8a0c487a16aa4282b6d5324f60fff
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
4,019
py
# # PySNMP MIB module UMSAGENT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/UMSAGENT-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:28:37 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
8c9c126e50c7c51d5f2ebae41a7b9ae23d0b1046
9f79c4f9a8a9154fc3dc9202ab8ed2547a722b5f
/regex/links.py
e4709d7877944d391e113e1c429edab01417ee9c
[]
no_license
grigor-stoyanov/PythonFundamentals
31b6da00bd8294e8e802174dca4e62b231134090
5ae5f1f1b9ca9500d10e95318a731d3b29950a30
refs/heads/main
2023-02-11T12:17:19.010596
2021-01-14T22:14:54
2021-01-14T22:14:54
321,658,096
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
import re regex = r'(w{3}\.[a-zA-Z0-9\-]+(\.[a-z]+)+)' sentence = input() while sentence: websites = [el.group() for el in re.finditer(regex, sentence)] sentence = input() print(*websites, sep='\n') # while sentence: # match = re.findall(regex, sentence) # if match: # websites.append(match...
[ "76039296+codelocks7@users.noreply.github.com" ]
76039296+codelocks7@users.noreply.github.com
fe8e835bbd135cdcfe970ed6447e27bb9cff5a2e
d63222abe326a3c8debd59bb8d24cb7eab3de09e
/leetcode/google/438/test_438.py
27dd013e72b926bf8fe39d02bce6753bc795e39e
[]
no_license
tariqrahiman/pyComPro
91f47e93eb0a077d489659fcf0a75d5c1a65fc17
86ec13f47506a2495ab6b6bbb58d4e8b2a21538b
refs/heads/master
2022-02-10T04:15:40.194828
2019-06-16T10:22:38
2019-06-16T10:22:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
import unittest import l438 class testSolution(unittest.TestCase): def setUp( self ): self.s = l438.Solution() def test_solution( self ): word1 = "horse" word2 = "ros" self.assertEqual(self.s.minDistance(word1, word2), 3) word1 = "intention" word2...
[ "alexsolbiati@hotmail.it" ]
alexsolbiati@hotmail.it
e70151e1e9fef9666b8d076203a98b2b2bedeeb2
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/insights/v20200101preview/management_group_diagnostic_setting.py
8dced695a5c18236d68291467b10bf9b8d9d316b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,255
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
803071591aed81dbcde5ac59e0b716d52ad840a3
20eee94bbdab84536d6308c6c1e46dd1d85ce1a5
/template/hparams.py
1e6c3bbd033f14a72d30de167b71fefe3d857eec
[]
no_license
hccho2/hccho2FirstGitProject
d73fbfd4332c3d81f449e7506695435a0e739e80
fc454f210de6dbd93d047f3c263089a90690715c
refs/heads/master
2023-08-30T03:05:54.533544
2023-08-28T01:35:04
2023-08-28T01:35:04
87,028,484
7
1
null
null
null
null
UTF-8
Python
false
false
362
py
# -*- coding: utf-8 -*- import tensorflow as tf hp = tf.contrib.training.HParams( log_dir = "hccho-ckpt", model_name = "hccho-mm", ckpt_file_name_preface = 'model.ckpt', # 이 이름을 바꾸면, get_most_recent_checkpoint도 바꿔야 한다. PARAMS_NAME = "params.json", learning_rate = 0.01, layer_si...
[ "noreply@github.com" ]
hccho2.noreply@github.com
bf2415d37c5bdc2e637275a9bd87ada8d90052a8
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/eoK63mG5tJDu439nJ_21.py
824eea5c352f2cadc0cfffb11bf249fa29b72003
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
def levenshtein(a, b): if not a: return len(b) if not b: return len(a) return min(levenshtein(a[1:], b[1:])+(a[0] != b[0]), levenshtein(a[1:], b)+1, levenshtein(a, b[1:])+1) ​ def isWordChain(words): leven= [] for i in range(len(words)-1): leven.append((wo...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a5ef701bcdfaccf437d1b957d8505c4b97c61ffe
e79af202563a073609bb442ae702796818894d45
/instagram/urls.py
f0b316ce4b5ff8fc5e858af851e5d5e8c8fe6aa6
[]
no_license
takemurahayato/Portfolio
60645aa5f2676c17e38f291ce39ef67497b44c1c
d4869bc91d274182c7bd9ed17aeac43d4e4bdf88
refs/heads/master
2023-06-03T23:41:57.847142
2021-06-23T12:00:12
2021-06-23T12:00:12
375,363,899
0
0
null
2021-06-23T12:00:13
2021-06-09T13:24:28
Python
UTF-8
Python
false
false
170
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path("insta/", include("insta.urls")), ]
[ "you@example.com" ]
you@example.com