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
33c8c7e6cc382a9dbcd9a3eb49171fbcf67e4e72
bedf68a6e2bb337d2848a4a55a24c71fd62484c7
/tests/test_NMT_architectures/bidir_deep_LSTM_ConditionalGRU.py
0151b7f437481dcaae0d6cdc7546fecde3951030
[ "MIT" ]
permissive
19ai/nmt-keras
941d5bbffe1889d72e4d58ae77fd92d8db3b0df7
ec56acb619b0c4be0558f737d5d848971fa282db
refs/heads/master
2020-03-11T16:37:06.633273
2018-04-18T11:46:03
2018-04-18T11:46:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,746
py
import argparse import pytest from keras import backend as K from config import load_parameters from data_engine.prepare_data import build_dataset from main import train_model, apply_NMT_model from sample_ensemble import sample_ensemble from score import score_corpus def load_tests_params(): params = load_param...
[ "lvapeab@gmail.com" ]
lvapeab@gmail.com
fe8974fa7e751cfea487290d10694d7ad661d211
491f29501fa7d484a5860f64aef3fa89fb18ca3d
/examples/mechanics/GeometricPrimitives/disk_on_box.py
275e8e9cb3d623f8b232906ba95792f7316f040e
[ "Apache-2.0" ]
permissive
siconos/siconos-tutorials
e7e6ffbaaea49add49eddd317c46760393e3ef9a
0472c74e27090c76361d0b59283625ea88f80f4b
refs/heads/master
2023-06-10T16:43:13.060120
2023-06-01T07:21:25
2023-06-01T07:21:25
152,255,663
7
2
Apache-2.0
2021-04-08T12:00:39
2018-10-09T13:26:39
Jupyter Notebook
UTF-8
Python
false
false
4,596
py
#!/usr/bin/env python # # Example of one object under gravity with one contactor and a ground # using the Siconos proposed mechanics API # from siconos.mechanics.collision.tools import Contactor from siconos.io.mechanics_run import MechanicsHdf5Runner, MechanicsHdf5Runner_run_options from siconos.mechanics.collision....
[ "vincent.acary@inria.fr" ]
vincent.acary@inria.fr
128763e94d58774059e8218f401b3f0fd84cad73
bc9ebb347af6804c1bce6e960148ece1fbb34a47
/1_python/bronze/10870.py
d22572f825e791fd8b0ffbb53df9d5bdaad4045a
[]
no_license
mooncs/BOJ
48416fec1a059197a72de61c8d6e72f7fc8b542b
45d2d5a8a6bf0f10d026f3846b70009914aa90d3
refs/heads/main
2023-08-13T15:30:47.395359
2021-10-11T13:37:04
2021-10-11T13:37:04
392,885,432
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
# 피보나치 수 5 def fibo(x): if x <= 1: return x return fibo(x-2) + fibo(x-1) n = int(input()) print(fibo(n)) # # for문 # def fibo(x): # a, b = 0, 1 # for _ in range(x): # a, b = b, a+b # return(a) # n = int(input()) # print(fibo(n))
[ "mooncs528@gmail.com" ]
mooncs528@gmail.com
40aa8ad79278c7537cdc7550405b8ad12b72d6e7
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4081/codes/1643_1055.py
5bb3ece083af6c50c3772003c55246d4aea20a12
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Teste seu código aos poucos. # Não teste tudo no final, pois fica mais difícil de identificar erros. # Use as mensagens de erro para corrigir seu código. from math import* v=float(input("velocidade inicial:")) a=radians(float(input("angulos de tiro:"))) d=float(input("valor da distancia: ")) r=((v**2)*sin(2*a))/9.8 p...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
6c2b98a894099f068a128d68de56fc0ff0dcdde7
2b11e7aa28b84af2e2a7fd8719af89f5fffd8a5b
/tests/test_models/test_user.py
4b734786dc7c17a6ae7e51cd396963dfe334a4dd
[]
no_license
nikolasribeiro/AirBnB_clone
6a3e3d65314a0131252461757943468628394ced
4529c56a706f0d956a238522d912cf6260f2fa28
refs/heads/main
2023-03-10T22:10:10.665939
2021-02-27T19:33:11
2021-02-27T19:33:11
338,063,410
0
1
null
null
null
null
UTF-8
Python
false
false
2,112
py
#!/usr/bin/python3 """ Module tests/test_models/test_user""" import models from models.base_model import BaseModel import os import unittest class TestBase_Model(unittest.TestCase): """ class TestBase_Model """ def test_docstring(self): """ function test_docstring """ msj = "Módulo does not...
[ "nikolasribeiro2@outlook.com" ]
nikolasribeiro2@outlook.com
9315cc8bf5f6132cf366ce7e7d880acd7293cd3f
88eeba6df8382687f36a4765bb298f76465c8e81
/general/chainerrl/chainerrl/tests/links_tests/test_noisy_linear.py
49b094838cec68f4f40aa91df7f9371a2755ba50
[ "MIT" ]
permissive
daniellawson9999/quick_start
db0b6e382efd640754ca1e7800753c94e668423a
947d61f118433dcd4cb845f27649ebfbc8062ecc
refs/heads/master
2022-02-23T21:54:16.273530
2019-09-27T01:46:41
2019-09-27T01:46:41
197,873,032
0
0
null
2019-07-20T03:12:34
2019-07-20T03:12:31
null
UTF-8
Python
false
false
2,798
py
import unittest import chainer from chainer import cuda from chainer import testing from chainer.testing import attr from chainer.testing import condition import numpy from chainerrl.links import noisy_linear @testing.parameterize(*testing.product({ 'size_args': [ (5,), # uninitialized fr...
[ "daniellawson9999@gmail.com" ]
daniellawson9999@gmail.com
e68cd4e6bd9c58300783c58ef5af7d4a342b9a02
a5fe2130ea434f958f6151cd4d8c92d43f1c1ca1
/src/tests/test_foo.py
58530c34370ed3e758e56350196a2c76cf087398
[]
no_license
DavidArmendariz/django-movies-app
44da33cc200773ef473ea21f67a1dfff57ea0e96
b77f1f538bae4a906d0b00597fef8fef97ea409b
refs/heads/master
2023-03-11T16:43:02.956765
2021-02-23T04:28:17
2021-02-23T04:28:17
338,206,453
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
def test_hello_world(): assert "hello_world" == "hello_world" assert "foo" != "bar"
[ "darmendariz1998@outlook.com" ]
darmendariz1998@outlook.com
a7d4d5bf7c36dad18109efd3495f3312e958580c
931515a9fdd4404cb548fb6b80c91590f5d5e3c9
/presalytics/client/presalytics_ooxml_automation/models/chart_column_collections.py
91c556a70437a9633b3b183127aef59d065963d3
[ "MIT" ]
permissive
presalytics/python-client
2e2fbd617b493ed8be90b844e23b736f294065e3
5d80b78562126feeeb49af4738e2c1aed12dce3a
refs/heads/master
2021-08-18T02:41:06.938468
2020-12-07T15:04:18
2020-12-07T15:04:18
203,414,411
4
1
MIT
2020-03-31T19:27:47
2019-08-20T16:31:57
Python
UTF-8
Python
false
false
3,705
py
# coding: utf-8 """ OOXML Automation This API helps users convert Excel and Powerpoint documents into rich, live dashboards and stories. # noqa: E501 The version of the OpenAPI document: 0.1.0-no-tags Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import si...
[ "kevin@chart-a-lot.com" ]
kevin@chart-a-lot.com
5a0826ad9f7cbc75cb16320948b0a920328fccb2
a0d6cbae196c24254fb6f1411d756da0029e092a
/trunk/src/appserver/apps/user_srv_d/main.py
e626d55800d34accfb379fe41899e7ed973f72ca
[]
no_license
newguangzhou/haha-cluster
8101ee1cb5b5ddbf916268029a33336c6fa0b06d
4cee4172f3bd7939e0369d46603a62087e206277
refs/heads/master
2021-05-16T10:21:38.245881
2017-09-25T03:36:07
2017-09-25T03:36:07
104,700,121
0
0
null
null
null
null
UTF-8
Python
false
false
6,348
py
# -*- coding: utf-8 -*- import sys sys.path.append("../../") sys.path.append("../terminal_srv_d/") reload(sys) sys.setdefaultencoding('utf-8') #import setproctitle from tornado import ioloop, gen from tornado.web import Application, url import tornado.options from tornado.options import define, options from lib.con...
[ "bingodongtian@gmail.com" ]
bingodongtian@gmail.com
828855bc5a1f6617ef25c47b606649d873810864
1d49dcfe7a725ed9c21d5e614b7e61c81aae1c88
/modules/critics/CentralV.py
62f3043f15838fbfacbcde6b6d31b5066599a20e
[ "Apache-2.0" ]
permissive
xiaojize/SMAC-1
c405aa22d30a7f176b4b2a29669ae82ea7f0b3c7
7aaf4673b0eecafc4ab25f381eea20fc762af56a
refs/heads/master
2023-06-30T14:37:44.870652
2021-07-23T15:15:49
2021-07-23T15:15:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
import torch.nn as nn import torch.nn.functional as F class CentralV_Critic(nn.Module): def __init__(self, input_shape, args): super(CentralV_Critic, self).__init__() self.args = args self.fc1 = nn.Linear(input_shape, 128) self.fc2 = nn.Linear(128, 128) self.fc3 = n...
[ "jk96491@naver.com" ]
jk96491@naver.com
6cc03fb54250c0b2f6556012d2bf83b75474b3f2
9d278285f2bc899ac93ec887b1c31880ed39bf56
/ondoc/cart/migrations/0006_merge_20190326_1307.py
67a383ce2f25bfc403a88150e01f3f911f341528
[]
no_license
ronit29/docprime
945c21f8787387b99e4916cb3ba1618bc2a85034
60d4caf6c52a8b70174a1f654bc792d825ba1054
refs/heads/master
2023-04-01T14:54:10.811765
2020-04-07T18:57:34
2020-04-07T18:57:34
353,953,576
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
# Generated by Django 2.0.5 on 2019-03-26 07:37 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('cart', '0005_auto_20190315_1612'), ('cart', '0004_auto_20190318_1424'), ] operations = [ ]
[ "sonamsinha@policybazaar.com" ]
sonamsinha@policybazaar.com
bbc9346e361617f40137e996c9caee2f66e94355
032a0c939d96d0e5307dbce86e11faf7060f4ed9
/lte/gateway/python/magma/pipelined/tests/test_ipv6_prefix_mapper.py
d33410b7b423133760753874c76ffd7d50ae75a6
[ "BSD-3-Clause" ]
permissive
radha0018/magma
cac9ff3491dd2661e5dc0aa1f9a304a5428e2d2a
8436966a4bb3cf7fdc3f567704062b6f9568db25
refs/heads/master
2023-05-05T08:26:07.132969
2021-05-27T18:44:44
2021-05-27T18:44:44
371,097,174
0
2
NOASSERTION
2021-05-26T16:26:21
2021-05-26T16:15:53
Go
UTF-8
Python
false
false
2,280
py
""" Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES O...
[ "noreply@github.com" ]
radha0018.noreply@github.com
17261e523784bf2f34722edf40c070552af6fe36
3e77a86429ba0f6968f709e77e204cdfe920a041
/python/python/src/python_problems/webAutomationTestScripts/testSuites/glbRestTests/getMasterBillingAccount.py
5169d96ece8bece21ea979551aafa018b45765e0
[]
no_license
ramyamango123/test
a2d9bb6cafe8d7406b76eba526ddded2acf2a3b2
85420c9406109a72e1b1d455ea29a5cae9def5a3
refs/heads/master
2020-06-07T23:34:08.344051
2014-03-12T05:19:05
2014-03-12T05:19:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,701
py
#Get Master Plan Billing Account #Includes both positive and negative test cases. #Created by Tarja Rechsteiner on 12.01.09. import sys from testSuiteBase import TestSuiteBase from selenium import selenium import time CLIENTIPADDRESS = '127.0.0.1' FIRSTNAME = 'Tester' LASTNAME = 'Dummy' ADDRESS1 = '123 ...
[ "ramya@Ramyas-MacBook-Air.local" ]
ramya@Ramyas-MacBook-Air.local
285c58cff6bab461a2a96c005792abe48c41134e
a713542969e64a251266e215f55ef7f753d83874
/src/base/nets/vgg.py
90c96d662c8a34a3a982255da29f7d2a93f35b27
[]
no_license
czczup/MusesStyle
874aeae17d1eb017c6f7de012839867371d0e0a6
0f6f767c5e58e16101fa63e4b524da6dffd2381c
refs/heads/master
2022-04-16T12:29:28.051394
2020-04-08T13:45:42
2020-04-08T13:45:42
166,505,943
0
1
null
null
null
null
UTF-8
Python
false
false
11,258
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "wztxy89@163.com" ]
wztxy89@163.com
d581e305ac079f2af1725f50e4bd33b9987b30cf
79b1d3d8ffbda5297fff6fefe2528e303bf2110a
/RSGGenFragment/RSToQQ/RSGravitonToQuarkQuark_W-0p1_M_3250_TuneCUETP8M1_13TeV_pythia8_cfi.py
4743fb46d70ff29d63a01653fe65bceda8571ccf
[]
no_license
yguler/MCFragments-1
25745a043653d02be3a4c242c1a85af221fc34b3
7c4d10ee59e00f997221109bf006819fd645b92f
refs/heads/master
2021-01-13T14:09:12.811554
2016-12-11T15:57:37
2016-12-11T15:57:37
76,184,433
0
0
null
2016-12-11T15:59:22
2016-12-11T15:59:22
null
UTF-8
Python
false
false
1,323
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(0.00000782),...
[ "emine.gurpinar@cern.ch" ]
emine.gurpinar@cern.ch
651829bd3adb0e1664849bd3a398cbaf87f47495
81f7d86117e5701673f2c302544c4081bcd66067
/pytorch_forecasting/utils.py
92c1bbbf8ede65c4045eb66799d10202a39f32cd
[ "MIT" ]
permissive
kashif/pytorch-forecasting
3bc46cf4bdf7248201d35a17483927188cbce122
a60367a5014c972cd648f901b7d1a7caa95e8cd1
refs/heads/master
2023-06-05T07:27:26.390368
2021-06-16T06:50:41
2021-06-16T07:21:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,877
py
""" Helper functions for PyTorch forecasting """ from contextlib import redirect_stdout import os from typing import Any, Callable, Dict, List, Tuple, Union import torch from torch.fft import irfft, rfft import torch.nn.functional as F from torch.nn.utils import rnn def integer_histogram( data: torch.LongTensor,...
[ "beitner.jan@bcg.com" ]
beitner.jan@bcg.com
0997db820df5512beb330aedeb592bcd7ec5f840
cb7c3673ad937c282a39be74d0aee8628e75928d
/tests/test_utils/output/uriandcurie.py
2c0bb6edc92ee3846661835fdd4a574c30b2da97
[ "CC0-1.0" ]
permissive
bpow/linkml
649d6d48f39a8c51efa92fba7eb25c1d8854b472
ab83c0caee9c02457ea5a748e284dee6b547fcd6
refs/heads/main
2023-05-05T18:46:04.501897
2021-05-13T21:17:03
2021-05-13T21:17:03
371,163,928
0
0
CC0-1.0
2021-05-26T20:42:13
2021-05-26T20:42:12
null
UTF-8
Python
false
false
4,918
py
# Auto generated from uriandcurie.yaml by pythongen.py version: 0.9.0 # Generation date: 2021-03-26 14:22 # Schema: uriandcurie # # id: http://example.org/test/uriandcurie # description: # license: import dataclasses import sys import re from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses im...
[ "action@github.com" ]
action@github.com
b6e2ce22fb67076c267ba2e1fd71f0b24c1d2878
20dba145fd988d5901cfd335efe238c0dce8ac5b
/analytics/decorators/cache_dec.py
df12f6fbc3b61d39bd1710094aebd7c6bc2533c3
[ "BSD-3-Clause" ]
permissive
ModelDBRepository/228604
10be01bf0eeea3ea07ef4c38ebb3b4c771000923
8f641f73bcac2700b476663fe656fcad7d63470d
refs/heads/master
2020-05-29T18:25:57.095212
2019-05-31T03:47:54
2019-05-31T03:47:54
189,299,677
0
0
null
null
null
null
UTF-8
Python
false
false
1,489
py
""" a simple caching of function return values using the decorator "cached", e.g. @cached def foo(a, b, c): return a*b-c will cache the result of the calculation foo does, which of course better not be this trivial. works also for numpy arrays in the parameters. should of course only be used on functi...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
52a9cfb92f3c0dad0659e22d6a6cb0ad3a802dd1
e37a8fbfad0172f5e952219d77f9cac4525ded5f
/doctr/__init__.py
20b78857e757acf3aefefd7d7fa5d8ff77f9275e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kapitsa2811/doctr
4c4cce4b6c5852d2fe811e8b8484ecf99d36d9d2
63b1ceec7a1532c9218351234c23eda6f210d5fb
refs/heads/main
2023-04-22T14:55:56.568309
2021-04-28T16:51:40
2021-04-28T16:51:40
362,700,910
1
0
Apache-2.0
2021-04-29T05:31:07
2021-04-29T05:31:06
null
UTF-8
Python
false
false
98
py
from .version import __version__ # noqa: F401 from . import documents, models, transforms, utils
[ "noreply@github.com" ]
kapitsa2811.noreply@github.com
119a8220aff09fff6e4a24259634f20681f8b04d
238e46a903cf7fac4f83fa8681094bf3c417d22d
/output/python37/Lib/test/test_smtplib.py
06168e1cb07685c76cf317c32142c808ca20aef4
[ "BSD-3-Clause", "bzip2-1.0.6", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-newlib-historical", "OpenSSL", "Python-2.0", "TCL" ]
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
52,178
py
import asyncore import base64 import email.mime.text from email.message import EmailMessage from email.base64mime import body_encode as encode_base64 import email.utils import hmac import socket import smtpd import smtplib import io import re import sys import time import select import errno import text...
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
a108d8f0631873f4b65550ed4b7d482f12e3e8a6
02422812b5e93225f6c842ec57aae601cb939a8d
/tests/client/internal_messaging/test_producer.py
fc80a258c21a90b32dbe40386e709df21e14b6aa
[ "Apache-2.0" ]
permissive
gcollard/lightbus
1af20564bb05df76ed7302f6eb93487c5b17592d
d04deeda8ccef5a582b79255725ca2025a085c02
refs/heads/master
2022-12-27T01:02:45.505846
2020-10-02T02:18:05
2020-10-02T02:18:05
300,042,306
0
0
Apache-2.0
2020-10-02T02:18:06
2020-09-30T19:44:52
Python
UTF-8
Python
false
false
2,372
py
import asyncio import logging import pytest from _pytest.logging import LogCaptureFixture from lightbus.client.internal_messaging.producer import InternalProducer pytestmark = pytest.mark.unit @pytest.mark.asyncio async def test_queue_monitor(producer: InternalProducer, caplog: LogCaptureFixture, fake_coroutine): ...
[ "adam@adamcharnock.com" ]
adam@adamcharnock.com
3b5adac9dca8f817319ada3b9e7cefa9ca0912f5
8f9ea3f14bdf2187de759939b2bbc87fe68ccfc0
/tensorflow/python/training/optimizer.py
a9287a0f0d0391cc6e0b297cce18eebaf9f64291
[ "Apache-2.0" ]
permissive
davidstanke/bazel-mvn-demo
4ea43f0ba293a28b916a27eab5f0812e9b753c2c
cff14dddce15ea7152988da576673bd15bab6c6e
refs/heads/master
2022-10-20T07:52:29.651851
2018-11-22T13:17:51
2018-11-22T13:17:51
157,782,756
2
0
Apache-2.0
2022-10-04T23:47:05
2018-11-15T22:54:09
C++
UTF-8
Python
false
false
48,470
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "davidstanke@gmail.com" ]
davidstanke@gmail.com
cb2c66246218d18c73711d4760222ad0c1230cb8
571a89f94f3ebd9ec8e6b618cddb7d05811e0d62
/chokudai_S001/h/main.py
dee5983b58febe63c07ef1f8bf5b7db686e13a53
[]
no_license
ryu19-1/atcoder_python
57de9e1db8ff13a107b5861f8f6a231e40366313
cc24b3c2895aad71d40cefbb8e2893dc397b8f4f
refs/heads/master
2023-05-10T05:32:16.507207
2021-05-19T17:48:10
2021-05-19T17:48:10
368,954,430
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
#!/usr/bin/env python3 import sys from collections import deque, Counter from heapq import heappop, heappush from bisect import bisect_left from itertools import accumulate sys.setrecursionlimit(10**6) INF = 10**12 m = 10**9 + 7 def main(): N = int(input()) a = list(map(int, input().split())) dp = [INF] ...
[ "ryu1007kami@gmail.com" ]
ryu1007kami@gmail.com
eac93448f682961cac9392c005e6e93abf7cac29
e5664b40c9d0a828c009b30ed8fe62666d04bf62
/falcon_marshmallow/_version.py
ceaa700e54e94982b6e19e2fb7dede45e5f07725
[ "MIT" ]
permissive
evilr00t/falcon-marshmallow
9eb348fd68e1b0c85927e77f62bc02fc093ad28e
97f169c78f11a638b1f21b3a977bb5df8d071be5
refs/heads/master
2022-02-23T05:04:37.315682
2019-10-12T19:37:11
2019-10-12T19:37:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
# -*- coding: utf-8 -*- """ version.py module The version set here will be automatically incorporated into setup.py and also set as the __version__ attribute for the package. "dev", "rc", and other verison tags should be added using the ``setup.py egg_info`` command when creating distributions. """ from __future__ im...
[ "msplanchard@gmail.com" ]
msplanchard@gmail.com
93c094ec3ff67c2547a4273d6b6d7dd5b2d36e17
528c811306faa4a34bf51fca7955b7a24ac2e30c
/Python/Number of Islands II.py
ea9b85418e2cf1f4baca66002f08cbad1d4cd15e
[]
no_license
ganjingcatherine/LeetCode-1
1addbd7e4d9254a146601f9d5e28b8becb8235a6
488782d3f1e759da2d32b4e82dbf55b96c431244
refs/heads/master
2021-05-11T03:15:16.810035
2016-02-06T06:19:18
2016-02-06T06:19:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,429
py
""" A 2d grid map of m rows and n columns is initially filled with water. We may perform an addLand operation which turns the water at position (row, col) into a land. Given a list of positions to operate, count the number of islands after each addLand operation. An island is surrounded by water and is formed by connec...
[ "anthonyjin0619@gmail.com" ]
anthonyjin0619@gmail.com
8b5353bb413efa3cbabe1730e3767936265568a8
0d0efed91a1e320509a7625bd72ebea1b64fc95b
/numpy_learn/5_numpy_function.py
0fc81c094aa3704f8098fde5e9b67f07f7783576
[]
no_license
starryrbs/python_ai
ed74a3c2d53378b47b2be910d97255f2706fd25e
80f8fd361d7b366ba0607417f0272bbaa3672e51
refs/heads/master
2020-04-24T03:48:52.260392
2019-02-20T13:56:42
2019-02-20T13:56:42
171,681,894
0
0
null
null
null
null
UTF-8
Python
false
false
4,783
py
import numpy as np # numpy的随机数函数 # numpy的random子库:np.random.*,主要有np.random.rand() np.random.randn() np.random.randint() # rand(d0,d1,d2,……,dn) : 根据d0-dn创建随机数组,浮点数,范围是[0,1),均匀分布 a = np.random.rand(2, 3, 4) print(a) """ [[[0.4506612 0.5296636 0.9747625 0.90105177] [0.25850117 0.90704491 0.87144252 0.004189...
[ "1322096624@qq.com" ]
1322096624@qq.com
6aec87a1fbe7be776d760cf637c53614801b725b
35286efd76814a1f3bc05da07f2968d05737c238
/esim/test.py
b013aa69540a306acd2cfacf63915c5ba49b3226
[ "Apache-2.0" ]
permissive
jiniaoxu/text_matching
ac41c7de8f66f61a6958a35dfd4584539cd97c51
154de91000e8677703192cf5eae49fc6c3c09eea
refs/heads/master
2020-06-04T05:45:09.320991
2019-06-13T02:50:54
2019-06-13T02:50:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), '../')) from esim.graph import Graph import tensorflow as tf from utils.load_data import load_data os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE" os.environ['CUDA_VISIBLE_DEVICES'] = '2' p, h, y = load_data('ccb/test.csv', data_size=1000) m...
[ "zjiuzhou@gmail.com" ]
zjiuzhou@gmail.com
561107764d55ee75983f3adc71f5cf85b27d5ea0
5a45981c89d0d9c0f2e9453abdefc333deb53e80
/nanodet/model/fpn/fpn.py
b031c6c81b0d7eacf7b045c53975dc5b07aa5c94
[ "Apache-2.0" ]
permissive
zhiqwang/nanodet
fd0b2e9c4badf492649aef7c3b397394c3110d1d
dd94177c0cb411ee21f4fc4ebc2ef01647e64823
refs/heads/main
2023-03-17T12:23:12.788037
2021-03-15T12:00:19
2021-03-15T12:00:19
348,642,567
2
0
Apache-2.0
2021-03-17T09:01:43
2021-03-17T09:01:43
null
UTF-8
Python
false
false
3,241
py
# Modification 2020 RangiLyu # Copyright 2018-2019 Open-MMLab. # 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 applicabl...
[ "lyuchqi@gmail.com" ]
lyuchqi@gmail.com
f1b6f23525382617a5501166f87ecca57e0d62c3
938a496fe78d5538af94017c78a11615a8498682
/algorithms/401-500/442.find-all-duplicates-in-an-array.py
6a7dfa1426ec528b0bb7cf1b4da44bb4ceb85ca5
[]
no_license
huilizhou/Leetcode-pyhton
261280044d15d0baeb227248ade675177efdb297
6ae85bf79c5a21735e3c245c0c256f29c1c60926
refs/heads/master
2020-03-28T15:57:52.762162
2019-11-26T06:14:13
2019-11-26T06:14:13
148,644,059
8
1
null
null
null
null
UTF-8
Python
false
false
752
py
# 数组中重复的数据 class Solution(object): def findDuplicates(self, nums): """ :type nums: List[int] :rtype: List[int] """ # 我的写法,不合题意。时间复杂度上 # dic = {} # res = [] # for i in nums: # dic[i] = dic.get(i, 0) + 1 # if dic[i] > 1: #...
[ "2540278344@qq.com" ]
2540278344@qq.com
f2b3256c22467e1b32dda229247fffda1cde9b95
e3bb63f93e36aab4a78356ba9d0e82f935325906
/bitmovin/resources/models/manifests/hls/vtt_media.py
78827f4ae4353e744ea3c2459772045c4d003fa8
[ "Unlicense" ]
permissive
camberbridge/bitmovin-python
1668367980df49f9088b93e4b6764563cbdb8bcf
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
refs/heads/master
2020-04-09T17:51:46.786389
2018-11-30T14:46:34
2018-11-30T14:46:34
160,493,890
0
0
Unlicense
2018-12-05T09:31:18
2018-12-05T09:31:17
null
UTF-8
Python
false
false
1,259
py
from .abstract_media import AbstractMedia class VttMedia(AbstractMedia): def __init__(self, name, group_id, vtt_url, language=None, assoc_language=None, is_default=None, autoselect=None, characteristics=None, id_=None): super().__init__(id_=id_, name=name, group_id=group_id, language=lan...
[ "dominic.miglar@netunix.at" ]
dominic.miglar@netunix.at
3c32af0c8c3dd971d0aaa4bddbac2f32bc78ea47
93d361d1cfaf5065aada52ff53833b67302c2b1c
/project/urls.py
9cef54d5038b91c04d21c889fda0d9087dcbd3ed
[]
no_license
append-knowledge/restapi-with-jwt-token
0fe573cd45633829645544447f66e6d6b43458ad
fbd276fb38cbd687253176b1dd96f07e16707dfd
refs/heads/master
2023-08-27T02:55:20.826945
2021-10-09T18:33:52
2021-10-09T18:33:52
415,391,422
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
from django.urls import path from project import views urlpatterns=[ path('accounts/signup',views.SignUpview.as_view(),name='signup'), path('accounts/signin',views.SignInView.as_view(),name='signin'), path('accounts/signout',views.SignOutView.as_view(),name='logout'), path('accounts/home',views.HomeVie...
[ "lijojose95@gmail.com" ]
lijojose95@gmail.com
ff867b19969fb12f7c9a4f8cd4865f82f49e6c70
9c8857d980cc53bc4f69eee3355226fcd0b42746
/app/main.py
0712ce2ce6088a1f2105ac717532b0ac3b048a3f
[]
no_license
moh-hosseini98/FastAPI-crud-tortoise-orm-and-postgres
bbaf9a305504d45e0db549edf11fe00b625404f9
75f2c5d4eeee38113f5bb0d19956f721c0836db1
refs/heads/main
2023-08-17T22:16:54.912308
2021-10-20T14:41:08
2021-10-20T14:41:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
import uvicorn if __name__=="__main__": uvicorn.run("server.app:app",host="0.0.0.0",port=8000,reload=True)
[ "mamadhss@yahoo.com" ]
mamadhss@yahoo.com
94792a1bda13eac1d3f97a44481616c63e24d376
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/1642.py
c31871167442ed89cb0e8fb17031677d335e0e83
[]
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
1,477
py
#------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: Nishant # # Created: 12-04-2014 # Copyright: (c) Nishant 2014 # Licence: <your licence> #------------------------------------------------------------------------------- ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b05399a6ff94cb5efa0799a162c6431e21c5440a
e68a40e90c782edae9d8f89b827038cdc69933c4
/res_bw/scripts/common/lib/plat-mac/carbon/carbonevt.py
a403e280d89920be14e1e2e9b2990efb37dd6195
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
372
py
# 2016.10.11 22:21:54 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-mac/Carbon/CarbonEvt.py from _CarbonEvt import * # okay decompyling c:\Users\PC\wotsources\files\originals\res_bw\scripts\common\lib\plat-mac\carbon\carbonevt.pyc # decompiled 1 files: 1 okay, 0 failed, 0 verify failed # 201...
[ "info@webium.sk" ]
info@webium.sk
7331db6bbc26b8c2088cca46dffdc7622db5ffc5
aa15002c5316b4c7e0a9563a40826057729e0b13
/tensorflow/python/keras/layers/preprocessing/table_utils.py
f5397da1f3eb482547e40b4ab293d3051753f429
[ "Apache-2.0" ]
permissive
kkimdev/tensorflow
8238c5594ae44f084725ddf9b34d6d41645d4072
2fb75db6ad4f4a7f01ef4755b96b49f8eb6108db
refs/heads/master
2020-07-07T18:09:40.662883
2020-05-14T18:59:11
2020-05-14T19:05:05
203,429,154
0
0
Apache-2.0
2019-08-20T18:07:46
2019-08-20T18:07:46
null
UTF-8
Python
false
false
7,427
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ae2f3de1b7eacdc7cfaca05fea27de5ee8f08410
da1d21bb8d0760bfba61cd5d9800400f928868aa
/misc/scripts/category_transformation_001.py
0226537d27ec40ac6726d5b97eb9d427f608ba0e
[]
no_license
biznixcn/WR
28e6a5d10f53a0bfe70abc3a081c0bf5a5457596
5650fbe59f8dfef836503b8092080f06dd214c2c
refs/heads/master
2021-01-20T23:53:52.887225
2014-05-13T02:00:33
2014-05-13T02:00:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
# -*- coding: utf-8 -*- from circuits.models import Circuit from circuits.utils import CircuitCategory """ Transformaciones Literary + Culture + Music + Art + Academic & Education => Arts & Culture 3 4 8 10 19 => 4 Lifestyle + Green + Fashion + Design + Technology + Busi...
[ "mbc@Mathiass-MacBook-Pro.local" ]
mbc@Mathiass-MacBook-Pro.local
8c5db1946658ab443d7300038473c82702e1de90
04125b74273ad8b648343691565ab0cd6e25fa50
/image_comp_test.py
b32b911b4decb827e8360a480808f031846c8d3a
[]
no_license
alpha0080/spineToolAdv
32918fa10b47ec9f19586b8878b243afd9dae945
c394e382502c11fb2b19f86f1e6352dee76444b5
refs/heads/master
2021-07-25T09:10:38.883564
2018-12-11T00:56:12
2018-12-11T00:56:12
142,319,584
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
import os, math,time try: sys.path.append("C:/Program Files/Pixar/RenderManProServer-22.1/lib/python2.7/Libs/ite-packages") #sys.path.append("C:/Program Files/Pixar/RenderManProServer-21.7/lib/python2.7/Lib/site-packages") import ice except: pass import ice max_frames_row = 10.0 frames = [] ti...
[ "alpha@mail.chungyo.net" ]
alpha@mail.chungyo.net
2d51f24f75bb3b6b21fb1210c3409e1c3063acde
f7778bf3b8173915c97193f51ff8a1ac2260a68a
/Section 3 code files/Code/webdirbuster.py
8645d7b32c1044ce087596ec1ac46444c4785168
[ "MIT" ]
permissive
PacktPublishing/Python-for-Automating-Information-Security
35f5ab480c430788e881017ec8c919be1524cc30
d6d1eaa053c3a5f5b103e17fefe8b4d9b33c0858
refs/heads/master
2023-05-25T12:34:43.912975
2023-01-30T09:16:51
2023-01-30T09:16:51
245,961,846
26
24
MIT
2023-05-22T22:44:20
2020-03-09T06:39:43
Python
UTF-8
Python
false
false
3,798
py
import argparse import json import re import requests from typing import List from urllib3.exceptions import InsecureRequestWarning quiet = False def print_message(message: str): """ Print message to STDOUT if the quiet option is set to False (this is the default). :param message: message to print :r...
[ "noreply@github.com" ]
PacktPublishing.noreply@github.com
34fc5d7be9fdfc130eb473c15b4b7bdb80a10ee2
463c053bcf3f4a7337b634890720ea9467f14c87
/python/ray/workflow/tests/test_lifetime.py
ece91c8445d32ee09fe290f16ece2e35641d73c0
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
pdames/ray
e8faddc4440976211a6bcead8f8b6e62c1dcda01
918d3601c6519d333f10910dc75eb549cbb82afa
refs/heads/master
2023-01-23T06:11:11.723212
2022-05-06T22:55:59
2022-05-06T22:55:59
245,515,407
1
1
Apache-2.0
2023-01-14T08:02:21
2020-03-06T20:59:04
Python
UTF-8
Python
false
false
1,596
py
import os import ray import time import pytest from ray._private.test_utils import ( run_string_as_driver_nonblocking, run_string_as_driver, ) from ray.tests.conftest import * # noqa from ray import workflow from unittest.mock import patch driver_script = """ import time import ray from ray import workflow ...
[ "noreply@github.com" ]
pdames.noreply@github.com
56da124f05b01e70233a87435baf0156aca9e476
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/own_year/new_thing.py
49f9081472a90473e35618be695869cba50090c3
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
#! /usr/bin/env python def way_or_great_work(str_arg): same_way_or_group(str_arg) print('year') def same_way_or_group(str_arg): print(str_arg) if __name__ == '__main__': way_or_great_work('few_point_or_different_thing')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
6b7f77fe2120e75b0a3c0d682447587076ab6d0d
f93f03dac8e7340f35ddb8ac75e9fdbb19b935a8
/toontown/golf/DistributedGolfHole.py
0b98a83f3d638d695be462c2a35497eeb5967066
[]
no_license
toontown-classic/toontown-otp-ai
5d07f26658ca23e52c65254f23a70cbc5936ae6d
b0be971b4689f811f6abacb7af33242b06d8f9be
refs/heads/develop
2022-03-10T10:42:37.203938
2022-03-08T05:56:52
2022-03-08T05:56:52
158,168,681
5
5
null
2022-02-26T19:32:31
2018-11-19T05:50:36
Python
UTF-8
Python
false
false
71,952
py
import math import random import time from pandac.PandaModules import TextNode, BitMask32, Point3, Vec3, Vec4, deg2Rad, Mat3, NodePath, VBase4, OdeTriMeshData, OdeTriMeshGeom, OdeRayGeom, CollisionTraverser, CollisionSegment, CollisionNode, CollisionHandlerQueue from direct.distributed import DistributedObject from dir...
[ "anythingtechpro@gmail.com" ]
anythingtechpro@gmail.com
504420d710edfc66b1f1a47c0510b3db3d98bd57
8f3336bbf7cd12485a4c52daa831b5d39749cf9b
/Python/remove-invalid-parentheses.py
dcc6a2c8e851f973a63f3c1085274a85e39313e6
[]
no_license
black-shadows/LeetCode-Topicwise-Solutions
9487de1f9a1da79558287b2bc2c6b28d3d27db07
b1692583f7b710943ffb19b392b8bf64845b5d7a
refs/heads/master
2022-05-30T22:16:38.536678
2022-05-18T09:18:32
2022-05-18T09:18:32
188,701,704
240
110
null
2020-05-08T13:04:36
2019-05-26T15:41:03
C++
UTF-8
Python
false
false
2,367
py
# Time: O(C(n, c)), try out all possible substrings with the minimum c deletion. # Space: O(c), the depth is at most c, and it costs n at each depth class Solution(object): def removeInvalidParentheses(self, s): """ :type s: str :rtype: List[str] """ # Calculate th...
[ "noreply@github.com" ]
black-shadows.noreply@github.com
2a0c7b9841901436c823d4d5e7c6ff16f4b4e7cc
38f765bc213d2c90e46f22922a7425cba28e6f00
/fetchr/packages/amplify.py
6632a0726d9f8c686a9b5f19a4ddb18a79ad98d3
[]
no_license
yejianye/fetchr
0d0572dc87beba93c7de3ece625682a4d753626e
90f8922617d35fcf24d902f21af398009d80ded4
refs/heads/master
2021-01-10T02:48:41.737322
2013-01-19T09:10:12
2013-01-19T09:10:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
from fetchr.packages.base import package, SimplePackage @package class Amplify(SimplePackage): """A set of tools solve problems of request, store, pub/sub""" version = '1.1.0' @property def cdn_urls(self): return ['//cdnjs.cloudflare.com/ajax/libs/amplifyjs/$version/amplify.min.js']
[ "yejianye@gmail.com" ]
yejianye@gmail.com
139b52a654e7e288a4b0a4ebaec109926cb274a6
2a67dc681af4c4b9ef7a8e18c2ff75377dc5b44f
/aws.cloudwatch.EventPermission.organization-access-python/__main__.py
96a5858ff755253665d97a47249d9fe835f082f2
[]
no_license
ehubbard/templates-aws
e323b693a18234defe6bd56ffcc64095dc58e3a1
2ae2e7a5d05490078017fed6d132dcdde1f21c63
refs/heads/master
2022-11-17T13:53:14.531872
2020-07-10T21:56:27
2020-07-10T21:56:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
import pulumi import pulumi_aws as aws organization_access = aws.cloudwatch.EventPermission("organizationAccess", condition={ "key": "aws:PrincipalOrgID", "type": "StringEquals", "value": aws_organizations_organization["example"]["id"], }, principal="*", statement_id="Organizati...
[ "jvp@justinvp.com" ]
jvp@justinvp.com
9c2d9a898db1b9765259f287859f7910b04c5de5
c2092dbf89e74e1484f0468d21badfda2eafe19d
/backend/users/migrations/0002_auto_20201113_0020.py
2383bc55cf5cafb959552769c381e49d82d28c70
[]
no_license
crowdbotics-apps/jd-searcher-22572
1a47422d2c4f393562fc4389422b0906fed594b8
a194536595837400bf0e1fe0c1be5bbd262ff6b2
refs/heads/master
2023-01-06T21:14:55.102493
2020-11-13T00:20:57
2020-11-13T00:20:57
312,428,665
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# Generated by Django 2.2.17 on 2020-11-13 00:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', name='last_updated', ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4c340b330451ba30962d6b42b55c433d5c586d23
704976ea552111c6a5af9cd7cb62b9d9abaf3996
/dotviewer/drawgraph.py
e247c773bafd2411cfdb7998286c36a81e749422
[ "BSD-3-Clause" ]
permissive
mesalock-linux/mesapy
4f02c5819ce7f2f6e249d34840f1aa097577645d
ed546d59a21b36feb93e2309d5c6b75aa0ad95c9
refs/heads/mesapy2.7
2023-08-16T21:33:02.239581
2019-08-13T10:29:43
2019-08-13T18:06:45
136,080,721
396
33
NOASSERTION
2020-04-01T03:05:18
2018-06-04T20:45:17
Python
UTF-8
Python
false
false
44,450
py
""" A custom graphic renderer for the '.plain' files produced by dot. """ from __future__ import generators import re, os, math import pygame from pygame.locals import * from strunicode import forceunicode this_dir = os.path.dirname(os.path.abspath(__file__)) FONT = os.path.join(this_dir, 'font', 'DroidSans.ttf') F...
[ "mssun@mesalock-linux.org" ]
mssun@mesalock-linux.org
5ea079a246153c51efaee0a478cb091326370e2d
82c50f82f9e743b93dcb581d7ec95dd5e3a44380
/browseapp/browse_main.py
3dabd002cc8ff02326dfbfaac5cdff7b3bd4642e
[]
no_license
ivanerill/collecTF
4f1c7981e616989d1044db9dd308377b3e3450c6
541f8f3852fdc740798f4f892d8ff1ef8b2225df
refs/heads/master
2021-01-18T12:34:56.368336
2013-07-15T18:07:35
2013-07-15T18:07:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
from browse_site import browse_by_site from browse_curation import browse_curation
[ "sefakilic@gmail.com" ]
sefakilic@gmail.com
1a95d366947058c89f9419baffce0086c13280a6
36978086cf5f34e16ceac7c2649b49ccb4c5ac90
/config/munin/mongodb_replset_lag
0c2f3ed4bdbabde170d68abc6b6e9b74d14b19de
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
aragilar/NewsBlur
04e754093cd52bc2d9957ea767747d6d604dfbba
64ecd83bf4cea175f1bdeeb6e475fd5cadb679c9
refs/heads/master
2021-08-28T17:39:50.734396
2013-06-06T01:52:20
2013-06-06T01:52:37
10,520,281
0
0
MIT
2021-08-13T05:35:33
2013-06-06T06:26:24
Objective-C
UTF-8
Python
false
false
1,790
#!/usr/bin/env python # -*- coding: utf-8 -*- from munin.mongodb import MuninMongoDBPlugin PRIMARY_STATE = 1 SECONDARY_STATE = 2 class MongoReplicaSetLag(MuninMongoDBPlugin): vlabel = "seconds" title = "MongoDB Replica Set Lag" fields = [("optimeLag", {'label': "Oldest secondary lag"}), ("oplogLength", ...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
4680394e14442b9e016dc3834172a4f40eede73b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/63/usersdata/239/32114/submittedfiles/swamee.py
aac7bfcabaa9fa811d2304d01539530e593c0d46
[]
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
506
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO AQUI f = float(input("Digite aqui o valor de f: ")) l = float(input("Digite aqui o valor de l: ")) q = float(input("Digite aqui o valor de q: ")) DH = float(input("Digite aqui o valor de Delta H: ")) v = float(input("Digite aqui o valor de v: ")) g = 9.81 e = 0.000...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
dbf52a834f34fa4f3c3318bcab831ea4e23f15a0
2748d523c4ced916b61e8f2a0ebd6c7237705f69
/core/forms.py
8d56e99d1aec9c278839b44ba66ef4cdee9daa37
[]
no_license
Titowisk/meubaz
52d5101bc107081c7175f27bb538efc6fecf5b24
1af586195123ffd13818695cff8cc286018a1c7b
refs/heads/master
2021-08-23T16:47:54.960522
2017-12-05T19:02:09
2017-12-05T19:02:09
106,558,018
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from django import forms from django.conf import settings from django.core.mail import send_mail class ContactForm(forms.Form): name = forms.CharField(label="Nome", max_length=100) email = forms.EmailField(label="E-mail") message = forms.CharField(label="Mensagem", widget=forms.Textarea) def sen...
[ "rabelo51@gmail.com" ]
rabelo51@gmail.com
6fd67b6b693b6c301e3654e90e09871256f29eb2
7b09d131ba09c3ef5c7658eeea9075e0b4a7ec5a
/updateBlynk.py
5d9c051f86d7db79d4f3dad8d5b0e5c7ba8a9dfd
[]
no_license
deepcore2/SDL_Pi_SkyWeather
38afe43466fbf078629966504e010c5fe2fafb5e
492d1df40b49a2896280cc1ddfb64e98d38e2045
refs/heads/master
2022-02-20T13:41:59.418699
2019-09-30T01:30:03
2019-09-30T01:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,691
py
# provides routine to update SGS Blynk Display import time import requests import json import util import state import traceback # Check for user imports try: import conflocal as config except ImportError: import config DEBUGBLYNK = False def stopFlash(): r = requests.get(con...
[ "jshovic@switchdoc.com" ]
jshovic@switchdoc.com
ed3962679f3569de0efc57197373f7139220afbe
be0edc20433a6ad3bf4b8f448f1c457437de4c52
/huxley/core/admin/delegate.py
6f7e07e1c80d5f269090bfe38f1d8dd13775523a
[ "BSD-3-Clause" ]
permissive
ethanlee16/huxley
eca8c3c1d4ea543a5875c28d4cb5c81dc4e4eddb
5d601e952c711e9b6703170c78fb23fcc2734ead
refs/heads/master
2021-01-15T09:20:25.310737
2014-12-03T14:51:33
2014-12-03T14:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
# Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved. # Use of this source code is governed by a BSD License (see LICENSE). import csv from django.conf.urls import patterns, url from django.contrib import admin from django.http import HttpResponse from huxley.core.models import Delegate cla...
[ "k.mehta@berkeley.edu" ]
k.mehta@berkeley.edu
769c233947bb21e73d616adc9283780a1161b902
43277f3962edfd5f16d116a3ed35cc08000a0707
/modular/badger_utils/sacred/experiment_config_diff.py
5d352aa5b1beb2c014775fb68bf4df78bac4dffd
[]
no_license
GoodAI/badger-2020
0cbeb60bf5b5fa2959504b1ba4489d5725646474
bb3822dbcbb04ed9c153c4deffa25a81011c8ce5
refs/heads/master
2021-07-15T12:49:44.227988
2021-03-02T19:06:06
2021-03-02T19:06:06
243,016,754
7
1
null
2020-08-10T13:13:51
2020-02-25T14:15:24
Jupyter Notebook
UTF-8
Python
false
false
3,324
py
from typing import Dict, Any, List, Tuple import pandas as pd from badger_utils.view.config_utils import tuple_to_dict class ExperimentConfigDiff: _diff: Dict[List[Tuple[str, Any]], List[int]] _common: Dict[str, Any] def __init__(self, common: Dict[str, Any], diff: Dict[List[Tuple[str, Any]], List[int]...
[ "jaroslav.vitku@goodai.com" ]
jaroslav.vitku@goodai.com
66335d806ccf0a4f3148e4dabc2ca3baa18b55b8
e1fada3a9846a5593e3d3d2fdc32b23b832e38b4
/tests/unit/cli/tools/test_eval.py
76eee501f89daf8095a5032255767270ab304ab5
[ "Apache-2.0" ]
permissive
GalyaZalesskaya/openvino_training_extensions
fd1ebb189900008b16b85568449e5c62d8edbad5
6116639caeff100b06a6c10a96c7e7f5951f20c7
refs/heads/develop
2023-09-03T19:32:44.702497
2023-03-15T06:48:24
2023-03-15T06:48:24
202,568,309
0
0
Apache-2.0
2019-10-28T16:16:27
2019-08-15T15:41:59
Python
UTF-8
Python
false
false
4,079
py
import argparse import pytest from otx.cli.tools import eval as target_package from otx.cli.tools.eval import get_args, main from tests.test_suite.e2e_test_system import e2e_pytest_unit @e2e_pytest_unit def test_get_args(mocker): mock_options = { "--test-data-roots": "test/data/root", "--load-we...
[ "noreply@github.com" ]
GalyaZalesskaya.noreply@github.com
cfe29c23297e0b8167a1f1a3e388e74ad9a83c5c
c8cd3dbcb783b6daad866be07be950bbc4cd9fe9
/boards/models.py
95ad56c05b421ac32e2b4d6d8490dcb0569a8431
[]
no_license
pauloendoh/django-boards
d6b42b829dee0c96c4bda676da5e2ac1977f0922
640c0672b049d190213f5bf318f390b40e697262
refs/heads/master
2020-03-13T03:43:19.604777
2018-04-26T02:22:58
2018-04-26T02:22:58
130,949,060
0
0
null
null
null
null
UTF-8
Python
false
false
2,223
py
from markdown import markdown from django.db import models from django.contrib.auth.models import User from django.utils.safestring import mark_safe from django.utils.text import Truncator import math class Board(models.Model): name = models.CharField(max_length=30, unique=True) description = models.CharField...
[ "paulo.endoh@gmail.com" ]
paulo.endoh@gmail.com
82147037ffb32a42caafdb8859d25db1cbd55b59
4f804508c78c331d7985db936d099522a5739303
/dcorch/api/proxy/apps/controller.py
53f93e012e597b6aacf6235591087795391f5261
[ "Apache-2.0" ]
permissive
starlingx-staging/stx-kingbird
406f6ada829fe285329670d81d5c9e4bcc58884e
9869ad4640e76384fa14f031a59134cd439929a8
refs/heads/master
2020-03-18T00:56:00.772399
2018-05-20T04:28:15
2018-05-20T04:35:38
134,110,148
0
0
null
null
null
null
UTF-8
Python
false
false
23,493
py
# Copyright 2017 Wind River # # 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, so...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
a56284f885fa48ed63884b6ce71bc6af019845e8
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/Others/past/past201912-open/g/main.py
54e6af8dac7ce0af88307994ac3cc8aa07ba57a3
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
1,159
py
# -*- coding: utf-8 -*- def get_pairs(group): from itertools import combinations pairs = list() for p1, p2 in combinations(group, 2): if p1 > p2: continue pairs.append((p1, p2)) return pairs def main(): import sys from itertools import product input = sys...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
c3e09bab0bfed296d9c0504d22539054f33298af
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/RSG/CP2RSGPythia8/RSGfragments/RSGravitonToGammaGamma_kMpl01_M_4750_TuneCP2_13TeV_pythia8_cfi.py
fb6cecf4012af20bf07d74d1f2cf406820e124f7
[]
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,157
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP2Settings_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
5f3de75aad1afc4cfe886a3e0fe4d562ec53a65a
1a03664e4dd5f5fb12434d32129e612a76bf6d61
/core/loaders.py
ec96d2b6531d033017d8a3b7ea1fae80ede688e7
[]
no_license
SergioAnd95/refactored-adventure
6601dabaa0b7125a94f0010157e17862c84c1d32
553d1425b6d59f69b9c526eecff07df0f18835b4
refs/heads/master
2020-03-30T09:05:05.893448
2018-10-17T15:10:40
2018-10-17T15:10:40
151,059,439
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import importlib from settings import settings def autodiscover_app_module(module_name): for app in settings.INSTALLED_APPS: importlib.import_module(f'{app}.{module_name}') def discover_urls(): """ Find and return all routes from apps :return: list """ urlpatterns = [] for ...
[ "developinc@yandex.ru" ]
developinc@yandex.ru
f975e0a4d12496012b500813cfc94786bb7d9803
644b13f90d43e9eb2fae0d2dc580c7484b4c931b
/2019 baekjoon/Math/1676_factorial2.py
2481524d4c177197c939031d86cfa79bd6a652e5
[]
no_license
yeonnseok/ps-algorithm
c79a41f132c8016655719f74e9e224c0870a8f75
fc9d52b42385916344bdd923a7eb3839a3233f18
refs/heads/master
2020-07-09T11:53:55.786001
2020-01-26T02:27:09
2020-01-26T02:27:09
203,962,358
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
# def factorial(num): # if num == 1: # return 1 # return num * factorial(num - 1) # # # def factorial_count(num): # target = list(str(factorial(num))) # count = 0 # for i in reversed(range(len(target))): # if target[i] == '0': # count += 1 # else: # re...
[ "smr603@snu.ac.kr" ]
smr603@snu.ac.kr
61a56e8f561435c4a10d86df63ea689a20d4c8df
49f61714a6f78d984fd2194d6064d84e891bc5b7
/2019-1/220/users/4266/codes/1693_1879.py
55a2e7d2215d87de2d3bec79e75dfecd21f22dde
[]
no_license
psbarros/Variaveis3
b5c4e1517e7d94a846ee03791d25d5821a1c651c
3dcf6f810709ce03c78335acf9533e008a2ae125
refs/heads/master
2023-06-13T07:05:00.878430
2021-07-06T17:51:37
2021-07-06T17:51:37
383,549,597
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
# Ao testar sua solução, não se limite ao caso de exemplo. extras = float(input("Digite o numero de horas extras: ")) faltou = float(input("Digite o numero de horas que faltou: ")) h = extras - ((1/4)*faltou) if (h>400): g = 500.0 else: g = 100.0 print(extras, " extras e ", faltou, " de falta") print("R$ ",g)
[ "psb@icomp.ufam.edu.br" ]
psb@icomp.ufam.edu.br
976024538682c39ea666ce8a446262993b29caed
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/test/test_get_credit_memo_item_typewith_success_finance_information.py
7a33e49537112879bd23b6dc4151bca3264a0e5d
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,982
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
056be20ed1e3365c7fdde9a90eaa63c5dcb36b19
cce1e235c2c8e58d83af6dbadeb471ca62b710a1
/hackerrank/data_structures/linked_lists/print_in_reverse.py
2ce2ada1121b872bcca83b376be97f1e9c07e040
[]
no_license
SebastianThomas1/coding_challenges
6b51ce046b458c44db809687b6809d16d066566f
bd3bc6be7a975b6255e4b2198c953d56bd74e75a
refs/heads/master
2023-03-03T00:18:00.147369
2021-02-08T21:52:02
2021-02-08T21:52:02
336,688,955
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
# Sebastian Thomas (coding at sebastianthomas dot de) # https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse # # Print in Reverse class SinglyLinkedListNode: def __init__(self, node_data): self.data = node_data self.next = None def reverse(head): current_node ...
[ "sigma.online@gmx.de" ]
sigma.online@gmx.de
15aa12ee133e35281060e4580a88fe2e75fd98f9
7f0481f1f3508b6a957f71bf49478ceb592fe945
/F9744/Keras/Ch02/Ch2_3.py
2d96fd756a615e339fc8234a3768a8308657e512
[]
no_license
dsalearning/tf.keras_python
d8c8174fac793cd5266e4aded9e83c2631311c15
f06950d035c6aff0fd518eafcc09caffa348aefe
refs/heads/main
2023-01-20T03:23:10.826040
2020-12-01T01:56:00
2020-12-01T01:56:00
309,405,021
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
num = 10 print(num) if num >= 10: print("數字是10")
[ "alvinlin98@gmail.com" ]
alvinlin98@gmail.com
828390637851af3ac878569b4c3b034030f07415
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-css/huaweicloudsdkcss/v1/model/setting.py
0c3511543b950ff7b9b7c9005a2fe6122a67016d
[ "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
9,314
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class Setting: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
718f5c466bcb072ac392b31093e06e95e765a778
c065ff2a6a377aea2303b7b8482558049958a7ec
/toydrill/1562239369/tactile.tac
bc08dcae3533cc9df2a88b7b7c9676aaa4f9f19f
[]
no_license
waedbara/vision2tactile
7bc9861eecb4247fd254ea58dc508ed18a03b1af
edbc9dfee61b4a4b1f0caebb2f16faef090dff32
refs/heads/master
2022-04-02T20:43:16.621687
2019-12-11T08:07:39
2019-12-11T08:07:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
tac
,3504,3675,3514,3654,3568,3467,3700,3569,3528,3402,3457,3599,3046,3296,3498,3420,3527,3532,3031,2852,3668,3676,3627,3561,2031,2034,1725,2050,2640,3328,3514,3353,3403,3289,3248,3462,3366,3348,3171,3256,3488,3320,3340,3234,3339,3344,3299,2877,2753,3504,3489,3478,3352,1909,1901,3056,2093,2473
[ "brayan.inf@gmail.com" ]
brayan.inf@gmail.com
8585c66c448b22e2add5a38e02bc37cc636d7286
395b2e9718eeb5035995130b2377c47b8df05614
/tests/attack/test_pgd.py
87973fe5b11c7e424ec3918db6a543beef229bab
[]
no_license
gatheluck/fourier-attack
0a6d773e268bf1e480f04a43dcc72905af804b43
1668f0d2eed6182cb69904c49fe223e78cb5d0cc
refs/heads/master
2023-03-10T05:15:10.897205
2021-03-01T08:19:10
2021-03-01T08:19:10
320,191,916
1
0
null
2021-03-01T08:19:11
2020-12-10T07:21:19
Python
UTF-8
Python
false
false
2,035
py
import pathlib from typing import Final import torch import torchvision import fourier_attack.attack.pgd from fourier_attack.util import Denormalizer class TestPgdAttack: def test__forward( self, pretrained_cifar10_resnet50, cifar10_stats, normalize_cifar10_loader ): input_size: Final = 32 ...
[ "gatheluck+tech@gmail.com" ]
gatheluck+tech@gmail.com
ee47a4b6d23e2e42d141640137a6287efceccf21
951f4f4611e5bf2dc3970cc38aa545a54b78690b
/google/cloud/billing/budgets_v1/services/budget_service/pagers.py
7dd43d59a473e66b6fa0df2247a29735ee27397a
[ "Apache-2.0" ]
permissive
renovate-bot/python-billingbudgets
e54771361e1e9239697e23255b00f6551a1d18b7
2b1e66fa19415f56e33713d57fcc516efca6d03a
refs/heads/master
2023-06-08T01:23:04.490451
2021-08-18T15:42:00
2021-08-18T15:42:00
227,000,311
0
0
Apache-2.0
2019-12-10T01:13:52
2019-12-10T01:13:51
null
UTF-8
Python
false
false
5,860
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 or...
[ "noreply@github.com" ]
renovate-bot.noreply@github.com
c764dffcf73e377fbeab0b1e3fe032ab8004b975
5b19ced6bd173baf11c4b5e9d1c08f17ca635773
/Python/数字在排序数组中出现的次数.py
3f6a48c6ebcbfd2edb992331e21d261b5f5d29a5
[]
no_license
zhaoqun05/Coding-Interviews
8efe579b6a1a6186107f599a31a9e96389df52f3
e05c1e6390b3df49dd02571e13fb8a3822eae649
refs/heads/master
2022-01-08T13:30:06.542796
2019-06-18T14:00:55
2019-06-18T14:00:55
282,934,693
2
0
null
2020-07-27T15:13:54
2020-07-27T15:13:53
null
UTF-8
Python
false
false
1,253
py
''' 统计一个数字在排序数组中出现的次数。 ''' # -*- coding:utf-8 -*- class Solution: def GetNumberOfK(self, data, k): # 直观的想法从前到后的顺序遍历,但是算法题几乎不会将顺序查找作为考察要点…… def getFirst(nums): start, end = 0, len(nums) - 1 while start <= end: mid = (start + end) // 2 if da...
[ "1215470124@qq.com" ]
1215470124@qq.com
104aa7236b2381b4af5aa9d9053a24f682ac2631
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/39/usersdata/86/15445/submittedfiles/dec2bin.py
0fccfb359d06440edc18ae24c0887321b3568f73
[]
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
168
py
# -*- coding: utf-8 -*- from __future__ import division d = int(input('d:')) soma=0 cont=0 while d>0: soma=soma+d%2*10**cont d=d//2 cont=cont+1 print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
847428dbe3d202faf10a5e562519c1f606de2698
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/catapult/telemetry/bin/run_snap_it_unittest
288474f3a3d87e0d7a4684e5fbb8c7beafe91870
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
1,727
#!/usr/bin/env python # Copyright (c) 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys TELEMETRY_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..') sys.path.append(TELEMETRY_DIR)...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
77632dadb07288923599339f046b2e666610bf45
6679fd1102802bf190294ef43c434b6047840dc2
/openconfig_bindings/routing_policy/policy_definitions/policy_definition/statements/statement/conditions/match_tag_set/state/__init__.py
3afc3b819cdfb034d5fee85b9dba1b707dd4a68d
[]
no_license
robshakir/pyangbind-openconfig-napalm
d49a26fc7e38bbdb0419c7ad1fbc590b8e4b633e
907979dc14f1578f4bbfb1c1fb80a2facf03773c
refs/heads/master
2023-06-13T17:17:27.612248
2016-05-10T16:46:58
2016-05-10T16:46:58
58,091,515
5
0
null
null
null
null
UTF-8
Python
false
false
9,728
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "rjs@jive.com" ]
rjs@jive.com
4e2d44d096408a816838502d7c6b3b8ddca6a483
737a67744a98a536eccf5e2012628271f9120f79
/django/integration/apps/coursesApp/urls.py
6d242cf48c1525964f3352f9758845e37abff9d8
[]
no_license
iota-cohort-dc/Daniel-Perez
31d581cf6494d69404925685ca55ec9a9b97611c
57b6a69e4f6e02f8b0694787ab195e08ad5dc52b
refs/heads/master
2021-01-20T16:59:30.730460
2017-07-03T04:12:16
2017-07-03T04:12:16
82,850,732
0
1
null
null
null
null
UTF-8
Python
false
false
443
py
from django.conf.urls import url, include from . import views urlpatterns = [ url(r'^$', views.index, name= "my_index"), url(r'^addcourse$', views.addcourse), url(r'^remove/(?P<id>\d+)$', views.remove, name= "remove"), url(r'^remove/nah$', views.nah), url(r'^delete/(?P<id>\d+)$', views.delete, name...
[ "perez0231@yahoo.com" ]
perez0231@yahoo.com
e6f473220e6ba826010f02a19ed5052645008b2f
179c9b2983ba3d4a3757f84fd55ac1356850c363
/jinete/algorithms/heuristics/local_search/strategies/routes/one_shift.py
67ed11e8558cde8355886ac88d94ef2aa23b27ae
[ "MIT" ]
permissive
garciparedes/jinete
0d2fbf68a88b0ec565b8c1ed5c417f8f7cacceb0
6ed5687b2016aa7eb1f6499470c6ea21a9a57b8a
refs/heads/master
2023-03-29T00:35:34.575828
2020-09-19T11:02:05
2020-09-19T11:02:05
150,865,909
9
2
MIT
2023-03-16T21:41:17
2018-09-29T13:17:05
Python
UTF-8
Python
false
false
1,834
py
import logging from ......models import ( Route, Stop, ) from ..abc import ( LocalSearchStrategy, ) logger = logging.getLogger(__name__) class OneShiftLocalSearchStrategy(LocalSearchStrategy): def _improve(self) -> None: logger.info(f'Starting to improve "Result" with "{self.__class__.__name...
[ "sergio@garciparedes.me" ]
sergio@garciparedes.me
8cef7439cfc2680d9b2889fa9559a4c1184b7d58
f508da1fd2e65491e1e6b5dd3a64d8bf6039bc6c
/eho/openstack/common/jsonutils.py
f800779f11987bc90c847efa74d36a2629bee971
[ "Apache-2.0" ]
permissive
senhuang/eho
b9595739b109829b44e6d538b36348ac84529af8
ca4dba1d0e7ab24d748b746e115ca6dc2191997a
refs/heads/master
2021-01-21T00:36:50.271363
2013-03-19T07:55:50
2013-03-19T07:55:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,110
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011 Justin Santa Barbara # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may #...
[ "slukjanov@mirantis.com" ]
slukjanov@mirantis.com
79ce11ae807730b501809588bdbc2b9dec1e9067
effce116340b7d937bd285e43b49e1ef83d56156
/data_files/662 Maximum Width of Binary Tree.py
ee04fcc76e296c46188c5e41ed7b3c9c54194e8b
[]
no_license
DL2021Spring/CourseProject
a7c7ef57d69bc1b21e3303e737abb27bee3bd585
108cdd906e705e9d4d05640af32d34bfc8b124da
refs/heads/master
2023-04-11T18:52:30.562103
2021-05-18T09:59:59
2021-05-18T09:59:59
365,733,976
0
1
null
null
null
null
UTF-8
Python
false
false
668
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def widthOfBinaryTree(self, root: TreeNode) -> int: if not root: return 0 ret = 0 q = [(0, root)] while q: cur...
[ "1042448815@qq.com" ]
1042448815@qq.com
e94107b3d0f8b3efc736784daf10fda144d7be2a
e86f40099817f4bf16f695040ef6096bc026b4a5
/week9/day1/daily_challenge/gif_site/manage.py
69f2d398a2f26f2fd87b99bfa13532d95d43e9bd
[]
no_license
idosarue/DI_django
7474e38c8b8cd668df3af5a0d88c021ada8da887
cd3f91e51458941a5834fb65d6b8d6698770fc6c
refs/heads/main
2023-07-16T12:10:07.549009
2021-09-02T17:42:30
2021-09-02T17:42:30
396,374,075
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gif_site.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "dodojoker67@gmail.com" ]
dodojoker67@gmail.com
881083827d5bbb4da11a5b9d7edec6b217bc34d4
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/21. Cleaning Data in SQL Server Databases/Chapter/04. Combining, splitting, and transforming data/01-Combining cities and states using +.py
c42e7743cf2ea24d935eb8842b2408c0e660b1ad
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
''' Combining cities and states using + In this lesson, you learned how to combine columns into one. The clients table has one column, city, to store the cities where the clients live, and another column, state, to store the state of the city. | client_id | client_name | client_surname | city | state | |-...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
956a4a1dda129b01c57a16b2b87b7d0254c5efd0
d2845579ea6aa51a2e150f0ffe6ccfda85d035ce
/common/python/calculation/spark/table.py
d6895cad3dcd329649fa6bfc23376bd7b4b0091c
[ "Apache-2.0" ]
permissive
as23187/WeFe
d8de9ff626f9f3e5d98e0850b0b717a80fd73e72
ba92871d4b1d2eef6c606c34795f4575e84703bd
refs/heads/main
2023-08-22T12:01:06.718246
2021-10-28T01:54:05
2021-10-28T01:54:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,065
py
# Copyright 2021 Tianmian Tech. 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 la...
[ "winter.zou@welab-inc.com" ]
winter.zou@welab-inc.com
65f649c9c12a0a4648e29cef731ddb6c40fbe6ef
100193a599cd9961356b2c2ee13c734e467b9713
/cc/apps/coder/migrations/0003_auto__add_participant.py
e0a754b87b3635d299c77eea42dd6f992853ed21
[ "MIT" ]
permissive
mavroskardia/codechallenge
bd3678003d933b834eddc1d36dda74e53b5afa52
a5fee4ba73be186d90daafca50819a6817ad3d27
refs/heads/master
2016-09-09T17:16:57.818465
2015-01-13T14:45:00
2015-01-13T14:45:00
15,058,542
0
0
null
2014-03-21T21:25:37
2013-12-09T20:42:54
Python
UTF-8
Python
false
false
6,721
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Participant' db.create_table('coder_participant', ( ...
[ "chryso@gmail.com" ]
chryso@gmail.com
f6de5f780c60294f59c4fd49a6ee574b9a0d8d34
1316cd6763e784811c769c1de577235c921af0de
/Apps/AlignOnBPMs/SAMPL/sourceCode/SAMPLcore/Components/ComponentBase.py
f2ed9848ab5bc4adadc7b8a0aa16629bf0f7f015
[]
no_license
VELA-CLARA-software/Software
a6fb6b848584e5893fd6939a447d23134ce636cc
2e2a88ac0b2b03a495c868d2e11e6481e05097c3
refs/heads/master
2023-02-05T07:40:58.260798
2023-01-27T09:39:09
2023-01-27T09:39:09
69,860,536
7
3
null
2021-04-07T14:17:07
2016-10-03T10:20:46
Mathematica
UTF-8
Python
false
false
565
py
# SAM to Python Conversion # DJS August 2017 # Version 0.1 # from ..SAMPLlab import Beam class ComponentBase(object): def __init__(self, length=0, name="", aperture=[]): #super(ComponentBase, self).__init__(**kwargs) # device length, in meters self.length = length # device name, str...
[ "david.dunning@stfc.ac.uk" ]
david.dunning@stfc.ac.uk
9b2e55341c9f7148c5dfe553e2bec953871d0db2
377fc6e13101a2a45826cd118110c790f396a805
/utpc2014-a.py
9ac43857b565674f15f63bbc23a3181047f353ff
[]
no_license
number09/atcoder
4076e7223f424b9923754e73992d6442e0bb0de7
f521ca1205b254d99744abaf6a7a5bfe69845fe0
refs/heads/master
2021-06-04T23:16:39.021645
2021-01-19T08:30:39
2021-01-19T08:30:39
132,128,927
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
li_w = input().split() li_answer = list() flag = False for w in reversed(li_w): if w != 'not': flag = True li_answer.append(w) else: if flag == False: li_answer.append(w) else: if li_answer[-1] == 'not': li_answer = li_answer[:-1] ...
[ "cielo.abierto09@gmail.com" ]
cielo.abierto09@gmail.com
f98658569da2852dc39597141a14f473e098e230
d51b4c766661af65b4ee6e7c30f8cb4bdd8603e3
/python/algorithm/leetcode/91.py
514aea9145662dfce4819b437de33ec85483955a
[]
no_license
yanxurui/keepcoding
3e988c76b123d55b32cf7cc35fbffb12c4ccb095
d6b9f07e2d1437681fa77fee0687ea9b83cab135
refs/heads/master
2021-01-24T09:01:41.306597
2020-05-21T05:36:04
2020-05-21T05:36:04
93,400,267
1
1
null
null
null
null
UTF-8
Python
false
false
1,072
py
# https://leetcode.com/problems/decode-ways/discuss/30358/Java-clean-DP-solution-with-explanation class Solution(object): def numDecodings(self, s): """ :type s: str :rtype: int """ if len(s) == 0: return 0 table = [0] * (len(s)+1) table[0] = 1 ...
[ "617080352@qq.com" ]
617080352@qq.com
0812527774fef2d427c2e1e56a7966441f10632c
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_005_20180620140617.py
2ded808b8af91e0513d070dc92160645c14e005e
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
4,433
py
from random import randint sudoku1 = [ [5, 9, 8, 6, 1, 2, 3, 4, 7], [2, 1, 7, 9, 3, 4, 8, 6, 5], [6, 4, 3, 5, 8, 7, 1, 2, 9], [1, 6, 5, 4, 9, 8, 2, 7, 3], [3, 2, 9, 7, 6, 5, 4, 1, 8], [7, 8, 4, 3, 2, 1, 5, 9, 6], [8, 3, 1, 2, 7, 6, 9, 5, 4], [4, 7, 2, 8, 5, 9, 6, 3, 1], [9, 5, 6, 1,...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
24c90e773275e7f451a54c1d751508a4e0f170da
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/securitycenter/v1/securitycenter-v1-py/google/cloud/securitycenter_v1/services/security_center/pagers.py
bef157b5d55df896bbcd1981ea658c13a78e2b7b
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,304
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 or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
8e4afcc449f15b7d6b73cbcd4fc8e9b213912c94
bc441bb06b8948288f110af63feda4e798f30225
/container_sdk/api/workload/get_summary_pb2.pyi
14f7cdbe1ae990f7ac049e645c1ccfa3bde880a7
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,748
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from container_sdk.model.container.pod_detail_pb2 import ( PodDetail as container_sdk___model___container___pod_detail_pb2___PodDetail, ) from container_sdk.model.container.workload_pb2 import ( Workload as container_sdk___model___container...
[ "service@easyops.cn" ]
service@easyops.cn
fce03c8e1456ccbcd305145c27e222f513c4d844
c2f92d75d235ff5ed7b213c02c4a0657545ba02f
/oliveapp/home/urls.py
ab2bdd20079d2d83da9374cda7ebebccbcb65b68
[]
no_license
cash2one/tstpthon
fab6112691eb15a8a26bd168af3f179913e0c4e0
fc5c42c024065c7b42bea2b9de1e3874a794a30d
refs/heads/master
2021-01-20T01:52:06.519021
2017-04-14T09:50:55
2017-04-14T09:50:55
89,338,193
0
1
null
2017-04-25T08:46:06
2017-04-25T08:46:06
null
UTF-8
Python
false
false
715
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() from home import views import os css_media = os.path.join( os.path.dirname(__file__),'templates/css/' ) images_media = os.path.join( os.path.dirname(__file__),'templates/images/' ) js_media = os.path.join(...
[ "yxlz_0910@163.com" ]
yxlz_0910@163.com
429ff554ac3fbec982f6543fabdf502cbf11eaf3
520cc1c536985f72a19e4183e736537a0660029c
/Network/urls.py
4985dd2a706da8aafe87702c72f79b12e4def8ee
[]
no_license
kswelch53/Network
9bcce1ebec1ae75100a3198dde779e353daaeb0e
646a01cb52ffae63ea5d59635f06e9324c248b13
refs/heads/master
2021-09-09T04:44:46.666563
2018-03-13T23:24:06
2018-03-13T23:24:06
125,127,156
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
"""Network URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') ...
[ "kswelch53@gmail.com" ]
kswelch53@gmail.com
f9a7d373fd0a22027404c7c536075e139ac3a6b3
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/site-packages/django/contrib/gis/db/models/__init__.py
9c0171e697081762f1b1e195bdfdad25bd682f41
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:051de440079f22fe0ed4d92c8950944a1c2548ee0e08da1419a9fa7424462325 size 817
[ "aqp1234@naver.com" ]
aqp1234@naver.com
9bed6ed6c401fac8dd4b07157b505d6d45bf5404
0a65d42f4f0e491cb2aada408401b94909f821c2
/Attendance_Monitoring/hrg/hrg_hr/migrations/0007_auto_20200625_1027.py
f121581d75c52217f396b1f22613076fa26f7155
[]
no_license
jmadlansacay/_Office
3acde7655784e91c7dcecfc853d4f36cdfeef028
7f46449b9f7e8e892e2e0025ba493259197fa592
refs/heads/main
2023-07-28T10:23:54.680822
2021-09-11T02:28:07
2021-09-11T02:28:07
379,155,026
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 2.2.5 on 2020-06-25 02:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('hrg_hr', '0006_auto_20200625_1006'), ] operations = [ migrations.AlterField( model_name='tblmas...
[ "Q034800@mhi.co.jp" ]
Q034800@mhi.co.jp
a5016bfefccde0f94ae1caf65fdcdc907a1c441f
fa7f66e12223a11a17d42c9a672d03c845b604bd
/pyvisa/resources/helpers.py
4fa00202bba32d4cd5c69c74c7aa0cf9c8952d9e
[ "MIT" ]
permissive
caryan/pyvisa
5756e65c42810553f6f4b9f14800b5007b9dee0a
1529fce2ac42ac8b47cf6f2c8ad1de22c9e88488
refs/heads/master
2020-12-03T03:31:59.688014
2014-08-29T22:44:24
2014-08-29T22:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,584
py
# -*- coding: utf-8 -*- """ pyvisa.resources.helpers ~~~~~~~~~~~~~~~~~~~~~~~~ Helper functions. This file is part of PyVISA. :copyright: 2014 by PyVISA Authors, see AUTHORS for more details. :license: MIT, see LICENSE for more details. """ from __future__ import division, unicode_literals, p...
[ "hernan.grecco@gmail.com" ]
hernan.grecco@gmail.com
26e8321387d7acb7136a76bcf11db56c990ad589
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/notifications/client/controls/notificationScrollContainer.py
430068214b444982858c2a3b313c78d2ca6a9572
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,742
py
#Embedded file name: notifications/client/controls\notificationScrollContainer.py from carbonui.control.scrollContainer import ScrollContainer from carbonui.primitives.base import ReverseScaleDpi, ScaleDpiF from carbonui.primitives.container import Container import carbonui.const as uiconst from carbonui.primitives.fra...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
794aec261c5a2a0b22f17b996021749049c4c913
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200321145335.py
eca006aa8c88a49574cbf23f7e9263b1bfe377c0
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
import os import subprocess import re from datetime import datetime import time process = subprocess.Popen(['./algo_tabou.exe', '1000', '1000', '50', 'distances_entre_villes_50.txt'],stdout=subprocess.PIPE,stderr=subprocess.PIPE) stdout, stderr = process.communicate() result = st print(result)
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
17049ed6b3705fb01190a0f5025f74cd714f8f3e
1b26d0023ad7eb302a9dd7d0d6696ef836c17c05
/HyeonJinGithub/2020-10-07/12100 2048 (Easy).py
20832b880e18018074fca0d6cc9aa019aaeb8ae8
[ "MIT" ]
permissive
Team-NTO/NTO
93e643ddd3c6cad308f1f984aaa9abc43d9e3bb8
133f19e1e15e423589bd7b94b698d2afc76c3ef6
refs/heads/master
2023-06-23T06:26:16.374869
2021-07-11T06:43:08
2021-07-11T06:43:08
298,460,899
1
3
MIT
2021-07-11T06:43:09
2020-09-25T03:47:51
Java
UTF-8
Python
false
false
2,831
py
import sys from copy import deepcopy def print_max(arr): global res for i in range(len(arr)): for j in range(len(arr[i])): res = max(res, arr[i][j]) def dfs(tmp_board, n): if n == 5: print_max(tmp_board) return dfs(move_left(deepcopy(tmp_board)), n + 1) dfs(move...
[ "skymilk95@naver.com" ]
skymilk95@naver.com
b2e11180449c5cbd4123a1f6c4e49af8b9b06064
ba3c06f9ae89479fa4987fe841ac09b5b5d71383
/python_for_kids/book/Examples/mean.py
1d733629a2eb40a1124f5270aca68952c682f52e
[]
no_license
mary-tano/python-programming
6d806e25011e770a04a0922d0b71bf38c222d026
829654a3274be939fa529ed94ea568c12f7f1a27
refs/heads/master
2021-05-17T15:30:32.710838
2020-04-01T13:37:18
2020-04-01T13:37:18
250,846,188
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# Среднее значение print("Введи число: ", end="") Sum = 0 Value = int(input()) for Number in range(1,Value+1) : Sum += Number Mean = Sum / Value print("Результат: " + str(Mean))
[ "masha.mary.tano@gmail.com" ]
masha.mary.tano@gmail.com
358893e35bbd56734f3c0df20f6129c87583d727
abf4757a51e38b3cde6fc55b0251e77652521a2d
/models.py
2e4f0d45edd16ef57cc997df440fe3bae2aa42ca
[]
no_license
stephenroller/relationstest
fd5284e6035682e0bfe1b13ff3c51dfec8e6f5ab
92b66e3dd800107b5489f662264f87d5d178af61
refs/heads/master
2021-01-21T11:45:20.095298
2016-01-26T23:24:21
2016-01-26T23:24:21
37,383,124
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
#!/usr/bin/env python import numpy as np from sklearn import svm, linear_model from custom_classifiers import ThresholdClassifier SETUPS = { # baseline "unsupervised" 'cosine': ('threshold', 'cosine'), # baseline memorizations 'lhs': ('linear', 'lhs'), 'rhs': ('linear', 'rhs'), 'concat': ('l...
[ "roller@cs.utexas.edu" ]
roller@cs.utexas.edu
599c16f31a7bdd1841ee6346e94922f0cb6d2c86
3ec50b750e788d018ff0f6afd3528350a8956f6a
/ch_04/tests/test_classifier.py
680a46568379375ea3e6dcaf7eb588014dcb498b
[ "MIT" ]
permissive
jegarciaor/Python-Object-Oriented-Programming---4th-edition
45fb68f04c905a27865c40a48705da803fbdc27a
2f3d6b09326dab6a0488c72c96d7368bee28fef4
refs/heads/main
2023-06-05T05:02:54.428716
2021-06-26T15:23:11
2021-06-26T15:23:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
""" Python 3 Object-Oriented Programming Case Study Chapter 4, Expecting the Unexpected """ import base64 import csv from pathlib import Path from pytest import * import classifier @fixture(scope="module") def app_client(): test_users = [ classifier.User( username='noriko', ...
[ "slott56@gmail.com" ]
slott56@gmail.com
0551c05c3a0fcbffde3afd42eec059f9cc7d51a4
4d675034878c4b6510e1b45b856cc0a71af7f886
/configs/gcnet/mask_rcnn_x101_32x4d_fpn_syncbn-backbone_r16_gcb_c3-c5_1x_coco.py
7fb8e82ece225ab6f88f1f4f83bea56a42cf1a57
[ "Apache-2.0", "BSD-2-Clause-Views", "MIT", "BSD-2-Clause" ]
permissive
shinya7y/UniverseNet
101ebc2ad8f15482ee45ea8d6561aa338a0fa49e
3652b18c7ce68122dae7a32670624727d50e0914
refs/heads/master
2023-07-22T08:25:42.646911
2023-07-08T18:09:34
2023-07-08T18:09:34
263,555,721
407
58
Apache-2.0
2023-01-27T01:13:31
2020-05-13T07:23:43
Python
UTF-8
Python
false
false
376
py
_base_ = '../mask_rcnn/mask_rcnn_x101_32x4d_fpn_1x_coco.py' model = dict( backbone=dict( norm_cfg=dict(type='SyncBN', requires_grad=True), norm_eval=False, plugins=[ dict( cfg=dict(type='ContextBlock', ratio=1. / 16), stages=(False, True, True, Tru...
[ "noreply@github.com" ]
shinya7y.noreply@github.com
1799efdff1eb4bb6b7e8ba832d454375c9017ab7
e40091711a9900350939556374cee5f3e41c2c3c
/tourism/ratting/models.py
129148c4edcd9dd3177d7a74515f01a81254f5d7
[]
no_license
rg3915/drf-tourism
951249f64450b6b710bb971aa52ed4d2efe2a85d
c6648a42eed77ab82cf10af242ffb20690404fc0
refs/heads/main
2023-03-25T21:15:08.185176
2021-03-24T08:49:28
2021-03-24T08:49:28
347,816,562
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
from django.contrib.auth.models import User from django.db import models class Ratting(models.Model): comment = models.CharField('comentário', max_length=100, unique=True) user = models.ForeignKey( User, on_delete=models.CASCADE, verbose_name='usuário', related_name='ratting_us...
[ "regis42santos@gmail.com" ]
regis42santos@gmail.com
30841bd3f6a6a979eeeab80457b83222c00be2d3
3330ed9c8f0aed91638b3a07ad697668346db930
/meiduo_mall/meiduo_mall/apps/payment/views.py
efbe83168b0fcbd31e9b45953a65fa112fb21d9b
[]
no_license
chengong825/meiduo_mall_django
fcee163bb6256672cbc5dcbd649aad2605bfb5e6
e3ca5e48f0c043d3f3f6d24a198ac2812df6d719
refs/heads/master
2020-03-29T09:48:09.189141
2018-09-21T14:33:43
2018-09-21T14:33:43
149,774,584
0
0
null
null
null
null
UTF-8
Python
false
false
3,574
py
import os from alipay import AliPay from django.conf import settings from django.shortcuts import render # Create your views here. from rest_framework import status from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from rest_framework.views import APIView from orders...
[ "252918372@qq.com" ]
252918372@qq.com