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
2a99a7db473372aeeb7fa4a6ffac6b7e5ed25760
5058401352fd2b80bf33bd4a0c0acc77b0e05231
/python/makeexec/makeexec.py
a4205f5d195154aaa03e44e18c1d69e964d28ad9
[]
no_license
pgl/mcandre
3b81ee64bf10ccaf02b9a1d44ed73e20cbcad4b6
81055895d872e2f93cd055f5a832c6d89848e3a3
refs/heads/master
2021-01-24T20:25:24.672765
2013-10-24T09:06:25
2013-10-24T09:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,189
py
#!/usr/bin/env python """Properly shebang and mark a file as executable""" __author__ = "Andrew Pennebaker (andrew.pennebaker@gmail.com)" __date__ = "3 Apr 2006" __copyright__ = "Copyright 2006 Andrew Pennebaker" import sys import getopt INTERPRETERS = { "py":"#!/usr/bin/env python", "pl":"#!/usr/bin/env perl",...
[ "andrew.pennebaker@gmail.com" ]
andrew.pennebaker@gmail.com
369600eb04fb78121977a41f64c63cab8ecd8243
6fa0d5d3b61fbce01fad5a7dd50258c09298ee00
/Algorithm/BOJ/1051.py
267eb1c6bd32d770b9a4e55572968cf549d5ad9d
[]
no_license
athletejuan/TIL
c8e6bd9f7e2c6f999dbac759adcdb6b2959de384
16b854928af2f27d91ba140ebc1aec0007e5eb04
refs/heads/master
2023-02-19T13:59:06.495110
2022-03-23T15:08:04
2022-03-23T15:08:04
188,750,527
1
0
null
2023-02-15T22:54:50
2019-05-27T01:27:09
Python
UTF-8
Python
false
false
1,216
py
N,M = map(int, input().split()) base = [input() for _ in range(N)] def rectangular(l): while l: for i in range(M-l): for j in range(N-l): if base[j][i] == base[j][i+l] == base[j+l][i] == base[j+l][i+l]: return (l+1)**2 return rectangular(l-1) retu...
[ "vanillasky84.0627@gmail.com" ]
vanillasky84.0627@gmail.com
44bb08d1eb1cf06afe26eafcbb135c4b3e59f333
e31d6c6c74a71daf27d618de4debf59e8cb9f188
/gluon/losses.py
22f050cb0f61e493be60803078e9ba0ce4e905eb
[ "MIT" ]
permissive
vlomonaco/imgclsmob
574ebfbfe4be7a11c8742f34261bc4e7cc1f30be
d0d1c49a848ab146213ef4cbd37239799d0102d8
refs/heads/master
2022-04-18T16:03:11.361053
2020-04-14T06:17:36
2020-04-14T06:17:36
255,555,032
0
1
MIT
2020-04-14T08:39:59
2020-04-14T08:39:58
null
UTF-8
Python
false
false
5,009
py
""" Loss functions. """ __all__ = ['SegSoftmaxCrossEntropyLoss', 'MixSoftmaxCrossEntropyLoss'] from mxnet.gluon.loss import Loss, _reshape_like, _apply_weighting class SegSoftmaxCrossEntropyLoss(Loss): """ SoftmaxCrossEntropyLoss with ignore labels (for segmentation task). Parameters ----------...
[ "osemery@gmail.com" ]
osemery@gmail.com
830510183c1a21c8df0759aa9047cb4d65f415a3
639c1f8c8bec57cb49665142ae2985d50da8c757
/mysite/admin.py
5bf0c8b4754467c15524a98be087b8fd1762af6d
[]
no_license
info3g/hospitalevent
4c7d66d3af5b1e0e3f65cdd375b99324042f7c9b
fdd17bd7ae0828bd5bbdcf8fc61689f5485a571f
refs/heads/master
2022-11-05T12:47:23.700584
2019-04-23T05:51:05
2019-04-23T05:51:05
166,350,181
0
1
null
2022-10-28T12:29:33
2019-01-18T05:39:27
Python
UTF-8
Python
false
false
464
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(promisAnswers) admin.site.register(diseases) admin.site.register(symptoms) admin.site.register(treatments) admin.site.register(userProfile) admin.site.register(userProfileSymptom) admin.site.register(userProfileSympt...
[ "infothreeg@gmail.com" ]
infothreeg@gmail.com
3b64b90411be6f00cfcba8c6d834c3c044629f05
8bb4a472344fda15985ac322d14e8f4ad79c7553
/Python3-Core/src/test/prompto/runtime/o/TestFilter.py
2b491c5cd234908a06c3b10241185209545c0ad8
[]
no_license
prompto/prompto-python3
c6b356f5af30c6826730ba7f2ad869f341983a2d
64bd3d97d4702cc912097d41d961f7ab3fd82bee
refs/heads/master
2022-12-24T12:33:16.251468
2022-11-27T17:37:56
2022-11-27T17:37:56
32,623,633
4
0
null
2019-05-04T11:06:05
2015-03-21T07:17:25
Python
UTF-8
Python
false
false
550
py
from prompto.parser.o.BaseOParserTest import BaseOParserTest from prompto.runtime.utils.Out import Out class TestFilter(BaseOParserTest): def setUp(self): super(type(self), self).setUp() Out.init() def tearDown(self): Out.restore() def testFilterFromIterable(self): ...
[ "eric.vergnaud@wanadoo.fr" ]
eric.vergnaud@wanadoo.fr
8a87d3c15006f967d5b0d48dbd228929680398d2
1a23cc660649efe857808fef96740b4046f14713
/mysite/views.py
201c61bd6daca2e61d1d912d5faaef4ddd4cd0ba
[]
no_license
itd/djtest
b1df94b0651bf94582778338d472d42e583c1497
4903d0624892501ca3a361ce2feca18c12d8d082
refs/heads/master
2021-01-10T10:24:08.491299
2015-12-10T13:55:27
2015-12-10T13:55:27
47,764,800
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def index(request): return HttpResponse("Hello world. Polls index.")
[ "kurt@tool.net" ]
kurt@tool.net
0d10c4b5302f777b5282afe718c2615460335268
b7b8cac59c24c28efb3002f639865121d3b1f3e1
/hyperion/densities/flared_disk.py
2d8a944f205b11a0c8019c98cbbcd14e8881149c
[ "BSD-2-Clause" ]
permissive
koepferl/hyperion
51a461f3cde30faa6dc82f63803b659a831273d1
d43e1d06889e8b649038b85ef6721c64dd269a4e
refs/heads/master
2020-04-01T19:11:18.373471
2015-01-14T13:31:36
2015-03-30T15:38:08
34,328,089
0
0
null
2015-04-21T13:17:41
2015-04-21T13:17:40
null
UTF-8
Python
false
false
13,172
py
from __future__ import print_function, division import numpy as np from astropy import log as logger from ..dust import SphericalDust from ..util.constants import pi from ..util.convenience import OptThinRadius from ..util.integrate import integrate_powerlaw from ..util.validator import validate_scalar from .core im...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
d0ac59455b0338b38c3c6fb28dd4f59a9259b261
6eb35cb8d53ad226de2a6f78e16cb665644fbbdf
/orca/topology/alerts/matcher.py
b842957d8317f0f69e8a4cdeb3fccd3a67d98a4b
[ "Apache-2.0" ]
permissive
openrca/orca
631fbc55f72d7dd01563ebc784a259bf0fa75d22
3b3ddcb2c14cc550c586f64eb6ca01e827fbc451
refs/heads/master
2023-05-30T22:38:55.431661
2022-09-11T09:33:24
2022-09-11T09:33:24
218,142,874
88
18
Apache-2.0
2023-05-01T21:16:56
2019-10-28T20:51:10
Python
UTF-8
Python
false
false
1,211
py
# Copyright 2020 OpenRCA Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
[ "zurkowski.bartosz@gmail.com" ]
zurkowski.bartosz@gmail.com
7909f7285c70e1cd8f35d44e1e0df1567e7c7104
d4a7ed22a20599c2f12a550b782327eea312cdc1
/doc/src/tutorial/src-odespy/osc2.py
de868146836989337530b80f18b4bb76a3852882
[]
no_license
rothnic/odespy
dcfca8593d738604fc7b6b66fbe8083c7358fc5c
dd50508030ab61047ca885bf0e842f1ad4ef38f4
refs/heads/master
2021-01-15T10:51:19.854871
2015-05-02T03:51:30
2015-05-02T03:51:30
35,228,290
1
0
null
2015-05-07T15:33:52
2015-05-07T15:33:52
null
UTF-8
Python
false
false
1,357
py
"""As osc1.py, but testing several solvers and setting sin(theta) to theta.""" from math import pi, sqrt class Problem: def __init__(self, c, Theta): self.c, self.Theta = float(c), float(Theta) self.freq = sqrt(c) self.period = 2*pi/self.freq def f(self, u, t): theta, omega =...
[ "hpl@simula.no" ]
hpl@simula.no
35c4bdebc781d3d87cdc25b59b881a5ba5da2bed
a438748ac89d53b19e7f4130529906896f059b25
/Композиция.py
8cc2c2abe97d5c1760e95ec575d7544e5ac3e6d1
[]
no_license
Alexfordrop/Basics
90ead9294727a823eb044e5f2f69d8f29133d150
eda400424b2c72bd5e01a6c7cb14ad7ae29477d4
refs/heads/master
2023-06-08T16:42:26.704163
2021-06-27T20:46:27
2021-06-27T20:46:27
329,421,907
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
class Salary: def __init__(self, pay): self.pay = pay def getTotal(self): return (self.pay*12) class Employee: def __init__(self, pay, bonus): self.pay = pay self.bonus = bonus self.salary = Salary(self.pay) def annualSalary(self): return "Total: " + st...
[ "mishechkin.aleksei@mail.ru" ]
mishechkin.aleksei@mail.ru
5aef16b6aeb2d157280392287cf28cad33e25528
9ac205e4d8f111608d1abbcfa78b5b6598c17955
/33.搜索旋转排序数组.py
d447ed77448cc4578fc79c195a6ccb85bf544fb8
[]
no_license
oceanbei333/leetcode
41ff0666da41750f7d3c82db53ec6f7f27125d3e
5d29bcf7ea1a9e489a92bc36d2158456de25829e
refs/heads/main
2023-03-16T18:17:25.232522
2021-02-28T04:56:40
2021-02-28T04:56:40
319,561,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
# # @lc app=leetcode.cn id=33 lang=python3 # # [33] 搜索旋转排序数组 # # @lc code=start from typing import List class Solution: def search(self, nums: List[int], target: int) -> int: return nums.index(target) if target in nums else -1 def search(self, nums: List[int], target: int) -> int: left, rig...
[ "hyram@wudun.net" ]
hyram@wudun.net
61334443dff95bdd7751b514c74720f8be96eb4f
1ab788ce84e446a98b085b62e1e17f8a2afa148d
/문제풀기/2112. [모의 SW 역량테스트] 보호 필름.py
f68fa9c9fa62e32bd2c49165bc5c321e56ed8bda
[]
no_license
kimjy392/exception
884dd26e1ec6f1c0357c1fe000742b1562adbeaa
b37e9c2f70adae6b93b94b86f96512469f431739
refs/heads/master
2022-12-11T20:33:25.632561
2020-08-29T13:26:08
2020-08-29T13:26:08
195,989,162
1
0
null
2022-12-06T23:20:02
2019-07-09T10:43:35
Python
UTF-8
Python
false
false
3,783
py
# def count(): # global isuse # isuse = [False] * W # for j in range(W): # i, start, cnt = 0, 0, 0 # while i < D: # if tboard[start][j] == tboard[i][j]: # cnt += 1 # else: # cnt = 0 # start = i # continue ...
[ "kimjy392@gmail.com" ]
kimjy392@gmail.com
5f82420827fe3d84a27b93bdb272851e78b8640a
2970291ff52e98915abb47848aeb71517ed1fbab
/machines/migrations/0028_auto_20200321_2338.py
7e985c1f5a57f54e980268faea52817ba7736ccf
[]
no_license
dannyswolf/MLShop_Django_Service_boook
dd33f4bb0352836897448bc45bbb09b7c49252c2
9ac5f85468487a53465e244ba31b9bc968300783
refs/heads/master
2023-07-15T15:06:53.298042
2021-08-29T11:49:42
2021-08-29T11:49:42
255,998,699
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# Generated by Django 3.0.4 on 2020-03-21 21:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('machines', '0027_auto_20200321_2337'), ] operations = [ migrations.AlterField( model_name='machines', name='Μοντέλο'...
[ "ntinisiordanis@gmail.com" ]
ntinisiordanis@gmail.com
805acfed79164fc851df2a9a99715665096fee50
b004204644dd3cf9ad922a6cd5c0aab0c0e97598
/addons_custom/res_partner_phonecall/models/__init__.py
b1530e36cc8f58540eb0fa9d228170ce9c4d9c39
[]
no_license
butagreeza/korea_spa
7a2fdd92ca73205945632ead6582ef1df424074e
1524f87b62998eba29e491d0836714abec7059fd
refs/heads/master
2023-04-26T09:45:51.931127
2021-05-17T16:45:33
2021-05-17T16:45:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
from . import res_users from . import phonecall from . import res_partner
[ "tungpd@izisolution.vn" ]
tungpd@izisolution.vn
e68a12ed2dd20f27609111b77d780a6bbe47ed92
e72ed9dfc5f90f4772d0b36da249ff7b2d39fd5f
/bible/forms.py
748bfa871e6d5c9e2b1441ce2ce0f51c7a384224
[]
no_license
mparkcode/django-retroplay
58b0626bb4c6e80f96232a0e4886d1a6c2805bbd
3f76b630469a7105d35708b450eaacb94d384ee4
refs/heads/master
2022-12-10T23:26:27.842708
2019-10-21T13:46:17
2019-10-21T13:46:17
143,025,309
1
3
null
2022-12-08T02:49:53
2018-07-31T14:25:44
HTML
UTF-8
Python
false
false
186
py
from django import forms class IgdbSearchForm(forms.Form): igdb_search = forms.CharField(max_length=100, widget=forms.TextInput(attrs={'placeholder': 'Search the bible'}), label="")
[ "mparkcode@gmail.com" ]
mparkcode@gmail.com
bfa7526cf02028ee81f5be260236d207fd71ada4
88cfeb8f7076450e7a38d31ab2d11883c1818c8d
/net/densenet.py
f37cd38d0ead26afb7480a9c9c2189f1ef9a2c08
[]
no_license
ZQPei/Alibaba_Cloud_German_AI_Challenge_for_Earth_Observation
4e5a127c12e0c02ed1914ab000a131e1a7f7d844
c2efb32763af0a56a3a7ecb9d83c0744f71d5c14
refs/heads/master
2020-04-26T04:31:57.731178
2019-02-17T01:10:55
2019-02-17T01:10:55
173,305,034
2
0
null
null
null
null
UTF-8
Python
false
false
7,159
py
import math import torch import torch.nn as nn import torch.nn.functional as F import torch.utils.checkpoint as cp from collections import OrderedDict def _bn_function_factory(norm, relu, conv): def bn_function(*inputs): concated_features = torch.cat(inputs, 1) bottleneck_output = conv(...
[ "dfzspzq@163.com" ]
dfzspzq@163.com
e05bcb65006e0ceeb16eb2c70a9ef633d6e7c8b5
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_6404600001200128_0/Python/knabbers/A.py
bbd8fd315049627fb82af60f5c2e8854e2c57ff3
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
691
py
from collections import defaultdict with open('in.txt','rb') as fin, open('output.txt','w') as fout: case = 1 it = iter(fin.readlines()) _ = next(it) # cases for line in it: print ("\n") print ("case " + str(case)) N = int(line) line=next(it) xs = [int(c) for c in line.split(" ")] print...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
63dfb28677eaa87faeab89b154711257dc907fc9
1f9897e86f93438eed2555d6da1716099df54147
/2020/jokenpo.py
c69ace473e1326c65b70a76621b05b55119baf5f
[]
no_license
AfonsoArtoni/PUG-PE-Dojo
10371ec321dc11d0280b8ac01dd70f47d29127a3
974a5293f58a721491915b2ee4d2e95e2247e745
refs/heads/master
2020-12-21T00:44:18.466602
2020-01-25T22:03:59
2020-01-25T22:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
"""Jokenpo. Jokenpo é uma brincadeira japonesa, onde dois jogadores escolhem um dentre três possíveis itens: Pedra, Papel ou Tesoura. O objetivo é fazer um juiz de Jokenpo que dada a jogada dos dois jogadores informa o resultado da partida. As regras são as seguintes: - Pedra empata com Pedra e ganha de Tesoura -...
[ "marcusgabriel.ds@gmail.com" ]
marcusgabriel.ds@gmail.com
f59b0e05422e2f0ed0e20fd76f2efe583c8387d0
afd2087e80478010d9df66e78280f75e1ff17d45
/test/dynamo/test_subclasses.py
938215cb807c44ef22ce95b85305d0d6a3a17192
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
pytorch/pytorch
7521ac50c47d18b916ae47a6592c4646c2cb69b5
a6f7dd4707ac116c0f5fb5f44f42429f38d23ab4
refs/heads/main
2023-08-03T05:05:02.822937
2023-08-03T00:40:33
2023-08-03T04:14:52
65,600,975
77,092
24,610
NOASSERTION
2023-09-14T21:58:39
2016-08-13T05:26:41
Python
UTF-8
Python
false
false
3,096
py
# Owner(s): ["module: dynamo"] import contextlib import torch import torch._dynamo.test_case import torch._dynamo.testing import torch._functorch.config import torch.utils.checkpoint class MockSubclass(torch.Tensor): @classmethod def __torch_function__(cls, func, types, args=(), kwargs=None): if kwa...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
c0546b68f5584ad3b7da2cf791a2c1c65b27dbfe
c4e2e1aded20c81fa9ab2a38620cfda71639c4c8
/print_updates.py
c63e212818cd24e22e2d09f8972571f4a4a7c587
[ "MIT" ]
permissive
russss/pydsn
118f341191f2ce6c702e9a81b3c0fd4da00f54b4
84e3b441effded7cfb4716cfa04e7b69d98d8ac1
refs/heads/master
2020-12-25T17:25:11.405678
2020-09-05T11:51:54
2020-09-05T11:51:54
21,252,624
7
5
null
null
null
null
UTF-8
Python
false
false
1,098
py
# coding=utf-8 from __future__ import division, absolute_import, print_function, unicode_literals import logging from dsn import DSN def to_GHz(freq): if freq is None: return None return str(round(float(freq) / 10 ** 9, 4)) def update_callback(antenna, old, new): if len(new['down_signal']) == 0:...
[ "russ@garrett.co.uk" ]
russ@garrett.co.uk
b4c98948d06b56b3abe16f50d15b2211226c7ba5
9e9d1a5b711191f87a849f2ea34eb00e17587080
/chalk_line/materials/rhythm/segment_03/rhythm_makers.py
f283ec2f8c528fd879e5d10bb8a44e8c6e0db308
[]
no_license
GregoryREvans/chalk_line
c72e3bbdd383d6032e8afd8eba6f41d895f1c673
e333343ccb039b83393690d46d06e4d5225d6327
refs/heads/master
2022-02-23T17:40:38.569781
2022-02-10T13:52:13
2022-02-10T13:52:13
241,491,131
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
import evans rmaker_one = evans.RTMMaker( rtm=[ "(1 ((2 (1 1 1)) 1 -1))", "(1 (1 2 3))", "(1 (1 3))", "(1 (1 1 2))", "(1 (1 1))", "(1 (1))", "(1 (2 2 1 -1))", "(1 (1))", "(1 ((2 (1 1 1)) 1 -1))", "(1 (1 2 3))", "(1 (1 3))", ...
[ "gregoryrowlandevans@gmail.com" ]
gregoryrowlandevans@gmail.com
0cc8dc6447958f0d1ae2c4592706c40edc3f05ca
4ef688b93866285bcc27e36add76dc8d4a968387
/moto/support/__init__.py
560832ad6cc4d47ff83106b5e3ee71520a925355
[ "Apache-2.0" ]
permissive
localstack/moto
cec77352df216cac99d5e0a82d7ada933950a0e6
b0b2947e98e05d913d7ee2a0379c1bec73f7d0ff
refs/heads/localstack
2023-09-01T05:18:16.680470
2023-07-10T09:00:26
2023-08-07T14:10:06
118,838,444
22
42
Apache-2.0
2023-09-07T02:07:17
2018-01-25T00:10:03
Python
UTF-8
Python
false
false
127
py
from .models import support_backends from ..core.models import base_decorator mock_support = base_decorator(support_backends)
[ "info@bertblommers.nl" ]
info@bertblommers.nl
c5b24563692c7be59ada5e6c4bae377ad2ee98b4
7bf617f77a55d8ec23fa8156c1380b563a5ac7f6
/CG/SciPy/circle_1.py
58a991f780e853de703aa238f4858b7803f7d0fc
[]
no_license
anyatran/school
c06da0e08b148e3d93aec0e76329579bddaa85d5
24bcfd75f4a6fe9595d790808f8fca4f9bf6c7ec
refs/heads/master
2021-06-17T10:45:47.648361
2017-05-26T12:57:23
2017-05-26T12:57:23
92,509,148
1
1
null
null
null
null
UTF-8
Python
false
false
976
py
""" Program name: circle_1.py Objective: A circle is a special case of an oval. Keywords: canvas, oval, circle ============================================================================79 Explanation: A circle is a special case of an oval and is defined by the box it fits inside. The bounding box is specifie...
[ "panhtran249@gmail.com" ]
panhtran249@gmail.com
1a2c312399d2472dde204fc5e36017a06ffad7c6
6336828aeab3ea2ba3e1cf9452a8a3f3a084b327
/fundooNotes-master/virtual-env/bin/nosetests-3.4
121dcd17ab6d074ffdd65beef38adefe3c734d61
[ "MIT" ]
permissive
kalereshma96/DjangoNewRepository
85f2eaed6b689be273af48d328c0a388244bbe2b
37fd232c2ac91eb6940300f20118f93d17926f9a
refs/heads/master
2020-04-12T18:12:15.698279
2019-01-21T13:46:37
2019-01-21T13:46:37
162,672,682
0
0
null
null
null
null
UTF-8
Python
false
false
288
4
#!/home/admin1/PycharmProjects/mynewpythonproject/fundooNotes-master/virtual-env/bin/python # -*- coding: utf-8 -*- import re import sys from nose import run_exit if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_exit())
[ "kalereshma96@gmail.com" ]
kalereshma96@gmail.com
5c40de5392621022c043aa6b16b4466166b125b6
466912406272829982f75854cf0104c6ce8c9814
/data/spider2/crawler/news/sspai_news.py
bb4925dc81d735b591cce05730a0c9da5dc5cc28
[]
no_license
logonmy/Codes
9631fa103fc499663361fa7eeccd7cedb9bb08e4
92723efdeccfc193f9ee5d0ab77203c254f34bc2
refs/heads/master
2021-09-21T18:07:22.985184
2018-08-30T05:53:26
2018-08-30T05:53:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,219
py
# -*- coding: utf-8 -*- import os, sys, re import datetime, time from lxml import html from pyquery import PyQuery as pq from pymongo import MongoClient reload(sys) sys.setdefaultencoding("utf-8") sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '..')) import BaseCrawler sys.path.append(os....
[ "hush_guo@163.com" ]
hush_guo@163.com
b9e96932a14e41fe2293414f813539a41dac1547
e60487a8f5aad5aab16e671dcd00f0e64379961b
/python_stack/Algos/Fundamentals/bracesValid.py
1cf44dec62b3abd0f888db3f006ddf5ae829bf98
[]
no_license
reenadangi/python
4fde31737e5745bc5650d015e3fa4354ce9e87a9
568221ba417dda3be7f2ef1d2f393a7dea6ccb74
refs/heads/master
2021-08-18T08:25:40.774877
2021-03-27T22:20:17
2021-03-27T22:20:17
247,536,946
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
# it are valid. For example, given the input string # "w(a{t}s[o(n{c}o)m]e)h[e{r}e]!" , return # true . Given "d(i{a}l[t]o)n{e" , return # false . Given "a(1)s[O(n]0{t)0}k" , return # false . def bracesValid(str): mapping={"(":")","{":"}","[":"]"} myStack=[] for c in str: if c in ('(','{','['): ...
[ "reena.dangi@gmail.com" ]
reena.dangi@gmail.com
091a9424420358b3ed9ba3e230a989f86525cafd
c3998b61e8644efc51aff860372b80247666232c
/backend/tracim_backend/tests/library/test_webdav.py
c7b6d9a2b2ee9c26c50c3ca240763664e43e8477
[ "MIT" ]
permissive
buxx/tracim
55c60201d44ff87c73c0201ef881dde9af484578
3348e5c169859da9204068071d6a17cb1661841a
refs/heads/master
2021-01-21T03:49:22.447651
2019-02-15T13:11:56
2019-02-15T13:11:56
45,355,659
0
0
null
2018-01-21T06:36:47
2015-11-01T20:10:51
JavaScript
UTF-8
Python
false
false
21,186
py
# -*- coding: utf-8 -*- from unittest.mock import MagicMock from wsgidav import util from tracim_backend import WebdavAppFactory from tracim_backend.fixtures.content import Content as ContentFixtures from tracim_backend.fixtures.users_and_groups import Base as BaseFixture from tracim_backend.lib.core.notifications im...
[ "guenael.muller@algoo.fr" ]
guenael.muller@algoo.fr
912e0ef322d0210628742b89e0e9105897dc42f6
1e14e73b66aa4e60a528addf6358d5c009705e9e
/scripts/visualize.py
8f3dca025adabe11f2e73709dd4ea46d5d23a0ed
[ "MIT" ]
permissive
cannin/covid-sicr-test
aeaa5935c5ddc99e616bdf1b9527a82eedcaa641
f842946357428730265b7d0a6640172dc757ecae
refs/heads/master
2022-10-08T04:46:31.415917
2020-06-11T21:06:30
2020-06-11T21:06:30
271,634,733
0
0
null
null
null
null
UTF-8
Python
false
false
5,321
py
#!/usr/bin/env python # coding: utf-8 import argparse import logging from multiprocessing import Pool import pandas as pd import papermill as pm from pathlib import Path from tqdm import tqdm import warnings warnings.simplefilter(action='ignore', category=FutureWarning) for lib in ['blib2to3', 'papermill']: logger...
[ "rgerkin@asu.edu" ]
rgerkin@asu.edu
809e15e8c97fec14f1187a7f5c9189c43e53ad04
a1b8b807a389fd3971ac235e46032c0be4795ff1
/testrepo/Zips/script.module.streamhublive/resources/modules/downloader.py
97608f2e48e1c7d67e403ad3122dc6daeb436677
[]
no_license
sClarkeIsBack/StreamHub
0cd5da4b3229592a4e2cf7ce3e857294c172aaba
110983579645313b8b60eac08613435c033eb92d
refs/heads/master
2020-05-23T09:09:54.898715
2020-02-29T12:15:32
2020-02-29T12:15:32
80,440,827
9
20
null
2017-10-04T07:32:52
2017-01-30T16:43:46
Python
UTF-8
Python
false
false
2,512
py
import xbmcgui import urllib import time from urllib import FancyURLopener import sys class MyOpener(FancyURLopener): version = '[COLOR ffff0000][B]StreamHub[/B][/COLOR]' myopener = MyOpener() urlretrieve = MyOpener().retrieve urlopen = MyOpener().open def download(url, dest, dp = None): start_tim...
[ "mediahubiptv@gmail.com" ]
mediahubiptv@gmail.com
8f91301ee92109eaebdec1ed72f4f25409581a1b
9d69d37c930821f4ebf265f3c1f214c2cc558502
/scripts/extra/csv_to_coco_json_result.py
3fc14bfbe55bbd61d296159e00b5d157b88d6e32
[ "Apache-2.0" ]
permissive
mayanks888/mAP
255b35e25384659dfaf97e6e3eec53bafb5bb3cc
7e6a6c4b916223e737d30c76ebb11a75ed15d984
refs/heads/master
2023-01-29T11:05:21.099541
2020-12-13T20:54:44
2020-12-13T20:54:44
278,285,070
0
0
Apache-2.0
2020-07-09T06:44:56
2020-07-09T06:44:55
null
UTF-8
Python
false
false
1,600
py
from collections import namedtuple import os import pandas as pd import json from utils import * coco91class = coco80_to_coco91_class() csv_path='yolo_txt_to_csv.csv' # csv_path='yolo1.csv' data = pd.read_csv(csv_path) print(data.head()) def split(df, group): data = namedtuple('data', ['filename', 'object']) #...
[ "mayank.sati@gwmidc.in" ]
mayank.sati@gwmidc.in
e86947e81e355edde5f00faccb2b3b4b7adfe1b7
4de28b1f6d97640834e4a795e68ca9987f9e2cd5
/check plugins 2.0/dell_powervault_me4/checks/agent_dellpowervault
872a4202350c171f757ac3e0fb517852ad2a04de
[]
no_license
Yogibaer75/Check_MK-Things
affa0f7e6e772074c547f7b1df5c07a37dba80b4
029c546dc921c4157000d8ce58a878618e7bfa97
refs/heads/master
2023-09-01T15:52:28.610282
2023-08-29T06:18:52
2023-08-29T06:18:52
20,382,895
47
16
null
2023-07-30T15:52:22
2014-06-01T18:04:07
Python
UTF-8
Python
false
false
1,216
#!/usr/bin/env python3 # -*- encoding: utf-8; py-indent-offset: 4 -*- # (c) Andreas Doehler <andreas.doehler@bechtle.com/andreas.doehler@gmail.com> # This 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 i...
[ "andreas.doehler@gmail.com" ]
andreas.doehler@gmail.com
906e43db8bb1001f90d120dced7b2b11273ffe1e
35f7c36a55a98cd4150abe51c24bf6b2313ee9d5
/pytestFrame_demon1/TestCase/testmy.py
4d60e67571f998cd5a788db480a9d3cbf2532dcf
[]
no_license
jingshiyue/zhongkeyuan_workspace
58b12e46223d398b184c48c4c6b799e5235e4470
aa0749f4a237ee76a61579dc5984635a7127a631
refs/heads/master
2021-07-15T15:18:40.186561
2020-08-12T05:32:45
2020-08-12T05:34:20
197,749,776
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
import sys import os path0 = os.path.realpath(__file__) #'D:\\workfile\\workspace\\pytestFrame_demon1\\TestCase\\testmy.py' path1 = os.path.dirname(path0) GRANDFA = os.path.dirname(path1) sys.path.append(GRANDFA ) # 将祖父路径加入sys中 print("ok") sys.path.append(sys.path.append(sys.path[0] + r"\..\..")) sys.path.append(sys....
[ "173302591@qq.com" ]
173302591@qq.com
7ba10f0c3964f4661b5d6b9a7ceeb672eab5cd06
f8777c76ec7c8da686c72a2975c17bbd294edc0e
/eden/integration/hg/rebase_test.py
760939f42d2236172ff58608b16ec5ab79b6e6be
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
jmswen/eden
3a8e96bf0fbbf6c987f4b17bbd79dcbe0964c033
5e0b051703fa946cc77fc43004435ae6b20599a1
refs/heads/master
2020-06-06T06:08:28.946268
2019-06-19T04:45:11
2019-06-19T04:45:11
192,659,804
0
0
NOASSERTION
2019-06-19T04:43:36
2019-06-19T04:43:36
null
UTF-8
Python
false
false
11,213
py
#!/usr/bin/env python3 # # Copyright (c) 2016-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
f3e8686fcdc11a92cf10d7b6bd5f7a314cd2ce1b
b94bb6b6e2fac5fb8f02354a2d05374b8f00ff60
/mandelbrot/numpy_vector_numexpr/numpy_vector_numexpr.py
484ad304db72cf8701216640e58a2e7b8f1d35dc
[]
no_license
janus/EuroPython2011_HighPerformanceComputing
17ff9e6d7d5634c424983103ad45442acfe2502e
1a15b5e66a22bd11422a1bb9ad749c5d906e3f98
refs/heads/master
2021-01-16T22:41:04.249856
2011-06-28T22:32:50
2011-06-28T22:32:50
1,973,541
1
0
null
null
null
null
UTF-8
Python
false
false
2,837
py
import datetime import sys import numpy as np import numexpr # area of space to investigate x1, x2, y1, y2 = -2.13, 0.77, -1.3, 1.3 # use numexpr library to vectorise (and maybe parallelise) the numpy expressions def calculate_z_numpy(q, maxiter, z): output = np.resize(np.array(0,), q.shape) for ...
[ "ian@ianozsvald.com" ]
ian@ianozsvald.com
dd4afdb6db252146efbf72714ce2914c07933fec
20343e8a8435b3f839d5abd0c4063cf735f43341
/Experiment/price_with_basic/JQ_Demo.py
7f7010abf4084044ea5f6bd90bd0cf54ea8c9477
[]
no_license
alading241/MoDeng
948f2099e2f7e4548d6e477b6e06b833bdf4f9bb
01819e58943d7d1a414714d64aa531c0e99dfe22
refs/heads/master
2021-05-23T11:39:41.326804
2020-04-05T06:06:01
2020-04-05T06:06:01
253,269,397
1
0
null
2020-04-05T15:38:33
2020-04-05T15:38:33
null
UTF-8
Python
false
false
2,699
py
# encoding=utf-8 # from JQData_Test.auth_info import * import pandas as pd from SDK.MyTimeOPT import convert_str_to_date from matplotlib import pyplot as plt import seaborn as sns """ 使用JQ数据进行研究 """ stk_code = normalize_code('000001') # 查询300508的市值数据 q = query(valuation.pe_ratio, valuation.pb_ratio, ...
[ "1210055099@qq.com" ]
1210055099@qq.com
793e4320d3064724680bb351c892080960854d23
5e9bda2d6082f62d889df1c28973436af905faaa
/demo/Joystick.py
e5ff4b5a7e6ec783bfa22dc96ae45c3d4bd74c90
[]
no_license
FXCMAPI/Phoenix
cab74db4e8f141f4d27b4b2e3d5bab06994b2e52
040763282f04a5b98f89c054b254993d1a8ca618
refs/heads/master
2020-03-16T15:42:10.660845
2018-05-09T01:41:51
2018-05-09T01:45:33
132,755,174
1
1
null
2018-05-09T12:41:54
2018-05-09T12:41:53
null
UTF-8
Python
false
false
35,148
py
#!/usr/bin/env python #---------------------------------------------------------------------------- # Name: Joystick.py # Purpose: Demonstrate use of wx.Joystick # # Author: Jeff Grimmett (grimmtoo@softhome.net), adapted from original # .wdr-derived demo # # Created: 02-Jan-2004 # Copy...
[ "robin@alldunn.com" ]
robin@alldunn.com
4ede01c900ccfbb8f6ca47a02a125acfb6428bd3
be70e130f53c7703f942057923577adf607687a6
/src/biotite/file.pyi
a2139f3eef3966c7794d5746f092780f16322213
[ "BSD-3-Clause" ]
permissive
Dr-Moreb/biotite
4043eadb607e9ede13ce049ade554546ce58afe0
c34ccb7a7a7de923bf8a238944dfb7e1e635bb28
refs/heads/master
2020-04-01T19:02:08.086093
2018-10-10T16:01:45
2018-10-10T16:01:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
744
pyi
# This source code is part of the Biotite package and is distributed # under the 3-Clause BSD License. Please see 'LICENSE.rst' for further # information. from typing import Generic, TypeVar, Union, TextIO, BinaryIO from .copyable import Copyable _T_io = TypeVar("_T_io", TextIO, BinaryIO) class File(Copyable, Gener...
[ "patrick.kunzm@gmail.com" ]
patrick.kunzm@gmail.com
2a1087e05acebcf01639fe47aff07188a44ebec8
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/services/services/carrier_constant_service/__init__.py
80069d6c6385daed2583921ed17c9252426c9a92
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
694
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" ]
GerhardusM.noreply@github.com
f692be9989677461e8cb5d3829593c3c761017f4
bd72c02af0bbd8e3fc0d0b131e3fb9a2aaa93e75
/Design/implement_stack_using_queues.py
90c0e731a480e74cfb57531edf2b51ea640c72b6
[]
no_license
harvi7/Leetcode-Problems-Python
d3a5e8898aceb11abc4cae12e1da50061c1d352c
73adc00f6853e821592c68f5dddf0a823cce5d87
refs/heads/master
2023-05-11T09:03:03.181590
2023-04-29T22:03:41
2023-04-29T22:03:41
222,657,838
1
0
null
null
null
null
UTF-8
Python
false
false
866
py
from queue import Queue class MyStack: def __init__(self): """ Initialize your data structure here. """ self.stack = Queue() def push(self, x: int) -> None: """ Push element x onto stack. """ self.stack.put(x); i = 1; while i...
[ "iamharshvirani7@gmail.com" ]
iamharshvirani7@gmail.com
9fb7ec8bf614b85657848553a6966bddee75bccb
795df757ef84073c3adaf552d5f4b79fcb111bad
/r8lib/r83col_print_part.py
457c5bdb95cdf27c187fd4287858d3c0b6468785
[]
no_license
tnakaicode/jburkardt-python
02cb2f9ba817abf158fc93203eb17bf1cb3a5008
1a63f7664e47d6b81c07f2261b44f472adc4274d
refs/heads/master
2022-05-21T04:41:37.611658
2022-04-09T03:31:00
2022-04-09T03:31:00
243,854,197
3
0
null
null
null
null
UTF-8
Python
false
false
3,243
py
#! /usr/bin/env python # def r83col_print_part ( n, a, max_print, title ): #*****************************************************************************80 # ## R83COL_PRINT_PART prints "part" of an R83COL. # # Discussion: # # An R83COL is a (3,N) array of R8's. # # The user specifies MAX_PRINT, the maximum num...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
7dda127c3c00949baafaf34b60be20df495fd4e2
2f4f6efd1963aa4e8e749f17b078720c437ae9ac
/time_process.py
b6100d34aff621e09ccb32022c48bbdd9b09ece0
[]
no_license
FlashRepo/Flash-Storm
d248f4ed615096539048be1ec65f1fcb31f1d2ee
2dd953350a5d690c409996512dec30196d8e9199
refs/heads/master
2021-07-15T02:58:36.421446
2017-10-23T07:03:47
2017-10-23T07:03:47
107,943,717
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
import pickle import numpy as np dict = pickle.load(open('time.p')) problems = sorted(dict.keys()) print ', '.join(['Problem', 'MOEAD', 'NSGAII', 'SPEA2']) for problem in problems: print problem, algorithms = sorted(dict[problem].keys()) # print algorithms # print algorithms for algorithm in algor...
[ "vivekaxl@gmail.com" ]
vivekaxl@gmail.com
e329f90cf89024a973e4360bf56a43969742fe39
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658571765186560_1/Python/jfguo/main.py
5cdb0cbc380443d34ead8f2010a9a0172066645e
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
999
py
import os import sys import glob import subprocess import random import fileinput next_line = 0 lines = [line.strip() for line in fileinput.input()] def get_line(): global next_line i = next_line next_line += 1 return lines[i] def calc(): s = get_line().split(' ') X = int(s[0]) R = int(...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
82660f2d91527c4a4c020cc6bd64fd6a5a183eed
be6e6d8af85adf044bf79676b7276c252407e010
/spec/python/test_params_call_extra_parens.py
5035e7de4b9cff4c0b219268de38ae4498a8fa5d
[ "MIT" ]
permissive
kaitai-io/kaitai_struct_tests
516e864d29d1eccc5fe0360d1b111af7a5d3ad2b
3d8a6c00c6bac81ac26cf1a87ca84ec54bf1078d
refs/heads/master
2023-08-19T19:42:47.281953
2023-08-04T20:26:50
2023-08-04T20:26:50
52,155,797
12
41
MIT
2023-07-30T23:30:30
2016-02-20T13:55:39
Ruby
UTF-8
Python
false
false
378
py
# Autogenerated from KST: please remove this line if doing any edits by hand! import unittest from params_call_extra_parens import ParamsCallExtraParens class TestParamsCallExtraParens(unittest.TestCase): def test_params_call_extra_parens(self): with ParamsCallExtraParens.from_file('src/term_strz.bin') a...
[ "greycat@altlinux.org" ]
greycat@altlinux.org
9e4a72cfaa5d511cbc35bccab33d6d759a585c40
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2976/49361/276731.py
c934f824ceb2d2636866731a7c096aa5606facba
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
315
py
import re lines = [] while True: try: lines.append(input()) except: break outputStr = "" for index in range(1, len(lines)): afterStr = re.sub(lines[0].replace(" ", ""), "", lines[index].replace(" ", ""), flags=re.IGNORECASE) outputStr += afterStr + "\n" print(outputStr.strip("\n"))
[ "1069583789@qq.com" ]
1069583789@qq.com
b22f31b6aadd19380527790ab5aa79ebdec743c4
633b695a03e789f6aa644c7bec7280367a9252a8
/samplepy/3-21_nest_example.py
127cdbb495205706506f0903ba1a7d345e90446b
[]
no_license
tnakaicode/PlotGallery
3d831d3245a4a51e87f48bd2053b5ef82cf66b87
5c01e5d6e2425dbd17593cb5ecc973982f491732
refs/heads/master
2023-08-16T22:54:38.416509
2023-08-03T04:23:21
2023-08-03T04:23:21
238,610,688
5
2
null
null
null
null
UTF-8
Python
false
false
94
py
for a in range(1, 4): print('a=', a) for b in range(1, 4): print(' b=', b)
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
3f04bfd5dc6f5a148c9f8957f359a211e6e91bd0
0e834094f5e4274b279939b81caedec7d8ef2c73
/m2/d05/fork.py
0f760582ce1b6de41ccd05f7672b9e7300500889
[]
no_license
SpringSnowB/All-file
b74eaebe1d54e1410945eaca62c70277a01ef0bf
03485c60e7c07352aee621df94455da3d466b872
refs/heads/master
2020-11-27T23:54:36.984555
2020-01-21T08:42:21
2020-01-21T08:42:21
229,651,737
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
import os print("-----------------") a = 1 pid = os.fork()#子进程从此处开始执行 if pid < 0: print("fail") elif pid ==0: print("child a=",a)#1 a = 10000 else: print("parent a=",a) #1 print("over a=",a) #子进程10000,父进程1
[ "tszxwsb@163.com" ]
tszxwsb@163.com
121d893f28582fff0641fac5f6b9adc78fb4fd4b
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/ALCATEL-IND1-VLAN-STACKING-MIB.py
e69667e7960c0ccd5dbafcc31d4d1f6bbefc2552
[ "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
17,347
py
# # PySNMP MIB module ALCATEL-IND1-VLAN-STACKING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALCATEL-IND1-VLAN-STACKING-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:20:26 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
e36502d092eb4d4f11257c8b70b8846bfef0a973
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/histogram/marker/colorbar/_yanchor.py
5d929c6570d7a6ea82df360ef7b79e5066a0b291
[ "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
507
py
import _plotly_utils.basevalidators class YanchorValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__( self, plotly_name="yanchor", parent_name="histogram.marker.colorbar", **kwargs ): super(YanchorValidator, self).__init__( plotly_name=plotly_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
a2b750917d590f2cad5dfbac283319542556e13c
fd717fe6ca74f6d77210cdd57a8c365d27c5bfc6
/pychron/experiment/utilities/mass_spec_utilities.py
e439853d44c9878143faa78ab7e9391af8a64b9f
[ "Apache-2.0" ]
permissive
stephen-e-cox/pychron
1dea0467d904d24c8a3dd22e5b720fbccec5c0ed
681d5bfe2c13e514859479369c2bb20bdf5c19cb
refs/heads/master
2021-01-19T15:40:03.663863
2016-07-14T14:37:16
2016-07-14T14:37:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,294
py
# =============================================================================== # Copyright 2016 Jake Ross # # 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...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
351ffee98beaac269739f12103d72257fded664c
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/12267141.py
fde8c5e02df48c536fc9078ec662b3e30932602c
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
3,212
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/12267141.py generated: Fri, 27 Mar 2015 16:10:10 # # Event Type: 12267141 # # ASCII decay Descriptor: [B+ -> (D~0 -> (KS0 -> pi+ pi-) K+ K-) K+ pi- pi+]cc # from Configurables import Generation Generation().EventType = 12267141 Generation().SampleGenerati...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
91f2f0326c39a0175aa8510fe1f285d347efdc54
fb383c3550cdcb1514df17a2e5d87b453240e4a5
/baekjoon/13706.py
ee0b9f933b5e253d683e4f1962ab3f59ba8fa62b
[]
no_license
mingxoxo/Algorithm
5ba84afebe1b0125d43011403610619804c107be
dc352f591c6c8ed84f7dbbeb37a2df4178270605
refs/heads/master
2023-07-30T17:38:00.190966
2023-07-30T08:51:23
2023-07-30T08:51:23
205,862,682
1
2
null
null
null
null
UTF-8
Python
false
false
381
py
# 제곱근 # 23.05.11 # https://www.acmicpc.net/problem/13706 def square_root(n: int) -> int: start, end = 1, n // 2 while start <= end: mid = (start + end) // 2 if mid * mid == n: return mid elif mid * mid < n: start = mid + 1 else: end = mid - 1...
[ "noreply@github.com" ]
mingxoxo.noreply@github.com
ea57c7126e4dac9e0f5ce7e56a0f128fa3a91ef5
a0dfeb01fd15550961b7e15c504327ea37ce4dea
/home_and_login/migrations/0001_initial.py
0436e1fa98f1ffce003621db14932c8e78e495f9
[]
no_license
theparadoxer02/Colossus
34c4d99f7d14caa0c464036d25b776dde31c4ec0
7d95024acea42b46b598923aef80080cd7890fa2
refs/heads/master
2021-01-19T22:59:25.057466
2017-09-25T18:03:37
2017-09-25T18:03:37
88,902,426
2
1
null
2020-07-11T12:45:14
2017-04-20T19:20:42
CSS
UTF-8
Python
false
false
1,320
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-26 19:50 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "abhimanyu98986@gmail.com" ]
abhimanyu98986@gmail.com
ffd724c24a3e8a69f6d6d092e453a4544c9d2d41
311b08b547e51907fe88e177817f10e5754dedbe
/tests/test_module.py
6e800f1af7fe1dbdbb9dbd206ee1e3478bbd22a4
[ "BSD-3-Clause" ]
permissive
kernc/dill
a17187545ffd6fa3c410ae4763579744f8238326
11effa42b8c486b2139125d094988f6f68595b3c
refs/heads/master
2020-07-05T14:11:30.681507
2016-11-16T12:27:42
2016-11-16T12:27:42
74,115,619
0
0
null
2016-11-18T09:34:14
2016-11-18T09:34:14
null
UTF-8
Python
false
false
1,620
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 2008-2016 California Institute of Technology. # License: 3-clause BSD. The full license text is available at: # - http://trac.mystic.cacr.caltech.edu/project/pathos/browser/dill/LICENSE import sys import dill import ...
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
236514cc0ec78312be28461c4e33da0ed917ada1
b06bceb8fdc24e0c890fb2201c535cb660a94f86
/onmt/legacy/old_models/memory_transformer.py
0780b03908c7b58a6a7004d0cda272b70159d5a7
[ "MIT" ]
permissive
quanpn90/NMTGMinor
7f294b40763b3f586d34ef4985799b851052f2ed
5e1e424d0d9c2135a456e372a2ea9ee49de5bd2c
refs/heads/master
2023-08-22T14:53:31.420276
2023-08-21T08:26:49
2023-08-21T08:26:49
116,663,163
92
39
NOASSERTION
2023-07-31T15:07:35
2018-01-08T10:33:56
HTML
UTF-8
Python
false
false
32,849
py
import torch import torch.nn as nn import torch.nn.functional as F from onmt.modules.relative_attention import RelPartialLearnableMultiHeadAttn from onmt.models.transformer_layers import PositionalEncoding, PrePostProcessing from onmt.models.transformer_layers import EncoderLayer, DecoderLayer from onmt.models.transfor...
[ "quanpn90@gmail.com" ]
quanpn90@gmail.com
9394c9c8fd1b27eac0dd7b4bc2d82db67266668f
1d2bbeda56f8fede69cd9ebde6f5f2b8a50d4a41
/easy/python3/c0009_28_implement-strstr/00_leetcode_0009.py
3f3da727753e9087912c82010101009b9d93cff2
[]
no_license
drunkwater/leetcode
38b8e477eade68250d0bc8b2317542aa62431e03
8cc4a07763e71efbaedb523015f0c1eff2927f60
refs/heads/master
2020-04-06T07:09:43.798498
2018-06-20T02:06:40
2018-06-20T02:06:40
127,843,545
0
2
null
null
null
null
UTF-8
Python
false
false
892
py
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #28. Implement strStr() #Implement strStr(). #Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. #Ex...
[ "Church.Zhong@audiocodes.com" ]
Church.Zhong@audiocodes.com
80a26aad0a1f115f682e53ed5d47c9cbfd137809
03f9666687a147bfd6bace2adfbab6de8879e207
/plugins/action/device_credential.py
2d88230b22e84c11fad07c6f85152d6c6fde77a6
[ "MIT" ]
permissive
robertcsapo/dnacenter-ansible
a221c8dc6ab68d6ccbc710e5e5f3061b90b0de59
33f776f8c0bc7113da73191c301dd1807e6b4a43
refs/heads/main
2023-07-17T08:27:59.902108
2021-09-06T15:58:05
2021-09-06T15:58:05
376,349,036
0
0
MIT
2021-06-12T17:32:27
2021-06-12T17:32:27
null
UTF-8
Python
false
false
2,797
py
from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible.plugins.action import ActionBase try: from ansible_collections.ansible.utils.plugins.module_utils.common.argspec_validate import ( AnsibleArgSpecValidator, ) except ImportError: ANSIBLE_UTILS_IS_INST...
[ "rcampos@altus.cr" ]
rcampos@altus.cr
9f5e950d9099755d4c2e22f43dda1ea777edf4d7
4a0ed9c079286428e44bf8bcfc82034dac041897
/gallery/views.py
6afa3b8cfd519dce4b362fd22970809cab865f38
[ "MIT" ]
permissive
lilianwaweru/Gallery
3b57fed326e1d868c83944037fe203f35204a650
de9b02e59dac22f45df8c7cbc0570fe7ac685d3f
refs/heads/master
2020-05-21T07:06:38.468356
2019-05-14T13:03:09
2019-05-14T13:03:09
185,950,002
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
from django.shortcuts import render from .models import Image,Category,Location # Create your views here. def welcome(request): images = Image.objects.all() return render(request,'welcome.html',{'images':images}) def search_category(request): if 'category' in request.GET and request.GET["category"]: ...
[ "lilowesh.lw@gmail.com" ]
lilowesh.lw@gmail.com
eeaef235caf718137abbbe3d6139aac575687bbc
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/oan.py
af3f217dc52107525f28568b79685a2e8f0957c2
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
9855c9b0200842716863d96c8193f9f091dcf658
70bcdd97318a85acc5bc3f4d47afde696fb7a33b
/jqdata/gta_tables/MAC_INDUSTRY_EMPLOYWAGEQ.py
2ebaaaaaf34a003becdbd973ddf86f715001b314
[]
no_license
Inistlwq/tulipquant-code
f78fe3c4238e98014f6d4f36735fb65a8b88f60d
5959bfe35b6ae2e0e2a204117bda66a13893c64c
refs/heads/master
2020-03-31T11:25:12.145593
2018-04-22T02:16:16
2018-04-22T02:16:16
152,175,727
2
0
null
2018-10-09T02:31:34
2018-10-09T02:31:33
null
UTF-8
Python
false
false
693
py
# coding: utf-8 from sqlalchemy import BigInteger, Column, DateTime, Integer, Numeric, SmallInteger, String, Table, Text, text from sqlalchemy.dialects.mysql.base import LONGBLOB from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() metadata = Base.metadata class MAC_INDUSTRY_EMPLOYWAG...
[ "wonghiu45@163.com" ]
wonghiu45@163.com
236b2156772d0785fdcae77e42fa711d3fe46373
9259591e4794aecd85c199b645ffb05ccbebd993
/vendor/gevent/_sslgte279.py
6941dcc0895fec259f5992087c7d35ce77bea1b7
[ "Apache-2.0" ]
permissive
swdotcom/swdc-sublime
000e20b2d2d9fa214480d2a94fcb97a88b83f67f
eab2007ab408e44d38163a121bf95c5d2018d6e4
refs/heads/main
2022-03-10T05:57:44.701151
2022-03-09T23:53:14
2022-03-09T23:53:14
127,207,312
14
5
Apache-2.0
2022-03-09T23:53:15
2018-03-28T22:47:16
Python
UTF-8
Python
false
false
28,202
py
# Wrapper module for _ssl. Written by Bill Janssen. # Ported to gevent by Denis Bilenko. """SSL wrapper for socket objects on Python 2.7.9 and above. For the documentation, refer to :mod:`ssl` module manual. This module implements cooperative SSL socket wrappers. """ from __future__ import absolute_import # Our impo...
[ "bo@software.com" ]
bo@software.com
f35954923107394313f1f954760bca011b8ce868
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/CISCO-EVC-CAPABILITY.py
454b6d6567630d64f7fd37b6bc76b1264ec7ba05
[ "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
3,608
py
# # PySNMP MIB module CISCO-EVC-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-EVC-CAPABILITY # Produced by pysmi-0.3.4 at Wed May 1 11:57:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
eb09ae376760615f5b04d20e921dc431942061bc
c85b91bfdd7eb2fa5a7d6c6a9b722c8548c83105
/vscode/extensions/ms-python.python-2020.3.69010/languageServer.0.5.31/Typeshed/stdlib/3/posix.pyi
d99a4584d6d9a6efe91e80408d29b4bf3a3e89ff
[ "MIT", "Apache-2.0" ]
permissive
ryangniadek/.dotfiles
ddf52cece49c33664b56f01b17d476cf0f1fafb1
be272baf6fb7d7cd4f4db1f6812b710196511ffe
refs/heads/master
2021-01-14T07:43:12.516127
2020-03-22T20:27:22
2020-03-22T20:27:22
242,632,623
0
0
MIT
2020-09-12T17:28:01
2020-02-24T02:50:06
Python
UTF-8
Python
false
false
2,650
pyi
# Stubs for posix # NOTE: These are incomplete! from typing import NamedTuple, Tuple class stat_result: # For backward compatibility, the return value of stat() is also # accessible as a tuple of at least 10 integers giving the most important # (and portable) members of the stat structure, in th...
[ "ryan@gniadek.net" ]
ryan@gniadek.net
cb5a7ad60c72cc52d78ddfbdca5cecf634886a08
539815f896acbc88b72338992f1adcd55bd7700f
/demo/movie_svc/app_instance.py
d7fce6337abd89e14700e0110df3a57cb570f72d
[ "MIT" ]
permissive
talkpython/responder-webframework-minicourse
dcb0f38ead081b75a536aca99c6f52fc172c1c0e
321d52d8ddb434952f373a127b51ef3bbfbeb6af
refs/heads/master
2021-06-16T13:39:19.149560
2021-03-11T20:29:24
2021-03-11T20:29:24
178,065,735
29
21
MIT
2021-03-11T20:29:25
2019-03-27T19:58:30
null
UTF-8
Python
false
false
251
py
import responder # CORS wasn't demoed in the course, but is required to be used from # external apps like movie exploder. cors_params = { 'allow_origins': '*', 'allow_methods': '*', } api = responder.API(cors=True, cors_params=cors_params)
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
64876e9ed6c56a785bda85f43297a2f5c6c1aaa3
5f8baed3acceaf7b3127f8fbe0ed417070c0e809
/DiSAN/src/utils/logger.py
81b83bca491c2b056252a64abcb03365dde710a0
[ "MIT" ]
permissive
satwik77/Transformer-Computation-Analysis
ead241d848af51fefd85fe365a3ff87b9251bac5
82341f5f2f9cd0831e390f44b338165e45cd6413
refs/heads/main
2022-12-29T01:32:12.081865
2020-10-10T07:04:27
2020-10-10T07:04:27
301,588,833
5
3
null
null
null
null
UTF-8
Python
false
false
3,007
py
import logging import pdb import pandas as pd # Ignore warnings import warnings warnings.filterwarnings("ignore") import json '''Logging Modules''' #log_format='%(asctime)s | %(levelname)s | %(filename)s:%(lineno)s - %(funcName)5s() ] | %(message)s' def get_logger(name, log_file_path='./logs/temp.log', log...
[ "satwik55@gmail.com" ]
satwik55@gmail.com
4344dd113c53ec44e77b7beb867a74a0a9abcdd1
773f6abee91e5368e43b34d8ad179c4ab9056da1
/gen/referencegenome.py
5733374a02094277fbde4887efd4b26c7b446068
[]
no_license
richstoner/aibs
3dc9489ee6a1db836d58ec736b13d35a7cffc215
bfc7e732b53b4dff55f7c3edccdd0703f4bab25f
refs/heads/master
2021-01-10T05:11:09.484238
2013-03-03T06:19:34
2013-03-03T06:19:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# -*- coding: utf-8 -*- # Rich Stoner, 2013 class ReferenceGenome(object): '''aibs.model.referencegenome (autogen)''' # Fields self.id = 0 self.name = '' self.build = '' self.organism_id = 0 # Associations self.organism = None # belongs_to Organism self.genome_locuses = [] # has_m...
[ "stonerri@gmail.com" ]
stonerri@gmail.com
371d452b19b3f9165eca4b33766c6a00481cdab6
6ce8390b9d508d66da381c467852091116c2be33
/.history/neutrinos_20210602142705.py
013d2287e5d4170efcfeab0d5e8ebaf7530e108e
[]
no_license
MichaelCullen2011/QuantumAndNeutrinos
0a269f44f35826f541b79b22d4b0f6927e0b10f8
9fd999e5e3b4248248b0e5803789d88015d5bd7d
refs/heads/master
2023-05-07T20:43:14.766929
2021-06-02T16:27:34
2021-06-02T16:27:34
317,365,182
0
0
null
null
null
null
UTF-8
Python
false
false
16,793
py
import numpy as np import matplotlib.pyplot as plt ''' To Do - tau interactions - clean up constant variables into dicts or lists ''' ''' Variables and Constants ''' # # Constants # Mass difference squared between two flavour states delta_m_sq = {'eu': 7.53e-5, 'tu': 2.44e-3, 'te': 2.44e-3...
[ "michaelcullen2011@hotmail.co.uk" ]
michaelcullen2011@hotmail.co.uk
6dc7210e4f8cd00b9dae94dcc3d074d9cbffc1d3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02686/s844095657.py
f1ab4403c5eb0d0f166d68bd4338ad075c24471f
[]
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
767
py
N = int(input()) S = [input() for _ in range(N)] def solve() : T = [] for s in S : open = 0 close = 0 for c in s : if c == ')' : if open > 0 : open -= 1 else : close += 1 else : open += 1 T.append((open, close)) if sum(op - cl for op, cl ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fd06fd94704d0b738825aa9fc484c78bdf8ee26e
933f2a9f155b2a4f9746bf2020d1b828bfe49e81
/python基础/day1/if 语句.py
fb1eb4aef52c801e5390c18364af092d427d9f15
[]
no_license
WuAlin0327/python3-notes
d65ffb2b87c8bb23d481ced100d17cda97aef698
1d0d66900f6c4b667b3b84b1063f24ee7823e1bb
refs/heads/master
2020-03-26T04:49:34.937700
2018-12-31T11:12:58
2018-12-31T11:12:58
144,524,404
2
0
null
null
null
null
UTF-8
Python
false
false
204
py
monny = int(input("你有多少钱:")) if monny > 5000: print("I want buy a macbook") elif monny >=3000: print("I want buy a iadp") elif monny >= 2000: print("buy a phone") else: print("no monny")
[ "1032298871@qq.com" ]
1032298871@qq.com
b3d6b5d093ad2b6d91232e7018a503b54c028c46
e1faf332197eef7c57d63d562b42d2cb227f0f1a
/zolo/base.py
ca4421ff76cf2e12a3e8bb966fcf15848765e781
[ "MIT" ]
permissive
firefirer1983/zolo
29ae6cfa5568a28d2a0b53a51054edf784a03ce0
889409b491363eb54c2997e01333b77bc81e0c89
refs/heads/main
2023-07-15T04:52:56.039301
2021-08-31T14:17:48
2021-08-31T14:17:48
347,134,578
4
0
null
null
null
null
UTF-8
Python
false
false
13,002
py
from abc import ABC, abstractmethod from datetime import datetime from typing import List, Iterable, ItemsView, Union, Type, Callable, Dict import logging from zolo.consts import BLOCKING_ORDER_TIMEOUT from .dtypes import Timer, Message from .hub import evt_hub from .utils import create_timer, create_filter from .dty...
[ "fyman.zhang@gmail.com" ]
fyman.zhang@gmail.com
cf37da3f5b81520ea9ba19cc258a0363291042d6
89bcfc45d70a3ca3f0f1878bebd71aa76d9dc5e2
/scrapy_demo/sina_news/sina_news/middlewares.py
819f2c24c10afaf9fbaced6ef0f1b0f49ec5c423
[]
no_license
lichao20000/python_spider
dfa95311ab375804e0de4a31ad1e4cb29b60c45b
81f3377ad6df57ca877463192387933c99d4aff0
refs/heads/master
2022-02-16T20:59:40.711810
2019-09-10T03:13:07
2019-09-10T03:13:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,601
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class SinaNewsSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy...
[ "64174469@qq.com" ]
64174469@qq.com
e1ee11936044cee591fa34caea14fe7c48692724
a990bd26d3a69d1ea6699c85efa2cea99452c3df
/pytriplets/pythagoreanTriplets.py
9800357dc2720a809abc7bcffed191203f31baa3
[]
no_license
abecus/DS-and-Algorithms
5f1a948a085465ae165090ec957a9d5307ce729d
3259e8183382265a27cf8c91e37d0086175a5703
refs/heads/master
2022-05-05T07:07:08.194243
2022-04-05T16:23:39
2022-04-05T16:23:39
193,111,610
11
6
null
2020-11-18T16:19:18
2019-06-21T14:27:25
Python
UTF-8
Python
false
false
2,315
py
from math import ceil, sqrt def EratosthenesSieve(N:int)-> list: ''' Calculating SPF (Smallest Prime Factor) for every number till N. Time Complexity : O(NloglogN) ''' N+=1 # stores smallest prime factor for every number spf = [*range(N)] # separately marking spf for every even...
[ "insaaone@gmail.com" ]
insaaone@gmail.com
4ce7e9375fb540a78e89c6052c9ac31834889e7a
90f2cbe1c940a20dcc893837b6033a51d3233931
/python 进阶/面向对象5.py
e0cdc5256497aaf75db084c7e20d655c6faec438
[]
no_license
MaxNcu/Learn_Python
71501f38f6442f3ff2a1de1ff685b8975e50af20
5a1c6edf353ed7447b2ffd4126ad7668d8c5a407
refs/heads/master
2022-01-15T18:56:04.814476
2019-07-20T03:02:02
2019-07-20T03:02:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
# -*- coding: utf-8 -*- # @Time : 2018/5/3 0003 17:27 # @Author : Langzi # @Blog : www.langzi.fun # @File : 面向对象5.py # @Software: PyCharm import sys import requests reload(sys) sys.setdefaultencoding('utf-8') class gg: url = 0 stat = 0 # 因为使用classmethod后会传入新的变量,所以一开始是需要自己先定义类变量 def __init__(se...
[ "982722261@qq.com" ]
982722261@qq.com
9d3d24b465ffb8dc9148555c52358627c3f4e05b
3551f1150dee2772b1949a199250e4960a71989e
/focusgrouplogs/web.py
0391b7ec78d6461332a0c6ec9d81af8e275f140c
[ "MIT" ]
permissive
ccpgames/focusgrouplogs-frontend
868f4398fb5e965f3a27f66bbba46086dc6906c6
42bd2bac04bbdc49d87ed9218f6b32a1d239c1ee
refs/heads/master
2021-01-17T06:38:04.869762
2018-05-08T18:02:28
2018-05-08T18:02:28
50,437,131
0
2
null
null
null
null
UTF-8
Python
false
false
2,456
py
"""Web routes for focusgrouplogs.""" import os import sys import traceback from flask import render_template from flask import Response from focusgrouplogs import app from focusgrouplogs import cache from focusgrouplogs import FOCUS_GROUPS from focusgrouplogs.datastore import all_content from focusgrouplogs.datastor...
[ "github@talsma.ca" ]
github@talsma.ca
39fd5781c172d7c39966c2f8e8ac762b9ae943b6
6b64338c3453d896310a381929fdf61cd846bbb7
/biaobei-pretrain/tacotron/utils/symbols.py
f1e84a10e8d9e07c6bc1ba5b035ec7a4a17c205e
[]
no_license
Tubbz-alt/Taco_Collection
b0e9234ca8309300783b6a258adb0255d3119f93
fb30bab5231c5c22ff03184f428aa43a0700d47d
refs/heads/master
2022-02-28T21:41:15.275047
2019-09-23T14:45:54
2019-09-23T14:45:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
''' Defines the set of symbols used in text input to the model. The default is a set of ASCII characters that works well for English or text that has been run through Unidecode. For other data, you can modify _characters. See TRAINING_DATA.md for details. ''' import os import glob AUTO_DETECT_SYMBOLS=True train_text_...
[ "ascyx1218@163.com" ]
ascyx1218@163.com
165877fef4819cb2279ba767229c479c1f17b7e2
a26c8bbd67c614354c72c3eade71981adea28eea
/src/main/resources/devops-as-code/add_ci_to_env.py
9f51d350a015afba8071c5eea1e0e26b41597529
[ "MIT" ]
permissive
xebialabs-community/xld-ansible-step-plugin
481e25350728f50cebcb5a15c64e8d388b2d16ed
c05eec5767214ed91f6e42819212bf0bc5d164b6
refs/heads/master
2021-06-16T01:56:12.030162
2021-02-08T12:19:36
2021-02-08T12:40:12
140,391,653
2
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
# # Copyright 2021 XEBIALABS # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subli...
[ "bmoussaud@xebialabs.com" ]
bmoussaud@xebialabs.com
9d5c116670e57e518c30bc5967961c6a87ecc804
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/__init___parts/PlatformNotSupportedException.py
01352985b0163c59e7d7ded23ed6bdf1af466c25
[ "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,210
py
class PlatformNotSupportedException(NotSupportedException,ISerializable,_Exception): """ The exception that is thrown when a feature does not run on a particular platform. PlatformNotSupportedException() PlatformNotSupportedException(message: str) PlatformNotSupportedException(message: str,inner: Exception) ...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
4287da8a49bf1158ca40e7e1ea59381b3a4f26dd
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/magical-string/286608581.py
a40ef5d904e5cc169a0d044c1fefbec7c63a3043
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
858
py
# title: magical-string # detail: https://leetcode.com/submissions/detail/286608581/ # datetime: Tue Dec 17 18:06:50 2019 # runtime: 108 ms # memory: 27.3 MB class Solution: magical_string = [[1, 1], [2,1 ], [2, 1]] index = 2 def magicalString(self, n: int) -> int: i = self.index magical_st...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
7c62641e69e5474f174e7f451b799644b70e2c93
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/intermitt.py
85759ce65aff2cf6852ec5b6f5d92a234f43ab13
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
295
py
ii = [('ProuWCM.py', 1), ('LeakWTI3.py', 2), ('PeckJNG.py', 7), ('ClarGE2.py', 4), ('KiddJAE.py', 1), ('LyelCPG.py', 4), ('SoutRD2.py', 1), ('BackGNE.py', 1), ('LeakWTI4.py', 2), ('LeakWTI.py', 2), ('WheeJPT.py', 1), ('FitzRNS4.py', 1), ('AinsWRR2.py', 1), ('MereHHB2.py', 2), ('ClarGE3.py', 2)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
7bafee4b562b3ea3a9bc7a61db78cfd37ada3ea3
7b74696ff2ab729396cba6c203984fce5cd0ff83
/tradeaccounts/migrations/0049_auto_20200607_1333.py
46a52b8fab8cd24ab327a01dd31af3e81a8c975e
[ "MIT" ]
permissive
webclinic017/investtrack
e9e9a7a8caeecaceebcd79111c32b334c4e1c1d0
4aa204b608e99dfec3dd575e72b64a6002def3be
refs/heads/master
2023-06-18T12:57:32.417414
2021-07-10T14:26:53
2021-07-10T14:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 3.0.2 on 2020-06-07 05:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tradeaccounts', '0048_auto_20200607_1302'), ] operations = [ migrations.AlterField( model_name='tradeaccountsnapshot', ...
[ "jie.han@outlook.com" ]
jie.han@outlook.com
f852fac9e6a96838dd00315f50b067ab55750dbd
3147716595f28ebb81516ec15e4f454358967b1e
/blogit/models.py
07e206423ef39238ea32b9a8c1632946afbe1bd0
[ "BSD-3-Clause" ]
permissive
selectnull/djangocms-blogit
04bef2b4ab3ad4c70f4ac39a4d88bc7ad4aa796b
599da6acd756c611d74219c7378e0a0771090bcd
refs/heads/master
2021-01-17T17:22:31.414023
2019-04-18T10:58:41
2019-04-18T10:58:41
39,001,497
0
0
null
2015-07-13T08:52:59
2015-07-13T08:52:59
null
UTF-8
Python
false
false
9,133
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from cms.models.fields import PlaceholderField from cms.utils.i18n import get_current_language from django.conf import settings from django.db import models from django.urls import reverse from django.utils import timezone from django.utils.encoding impor...
[ "dino.perovic@gmail.com" ]
dino.perovic@gmail.com
0c2a8e2225a636a1c778cc23813b081284f9b3c5
dffc22f1e363172d91c72582f54edf088ca96ea8
/lib/ffmpeg/vppbase.py
4b49b69842ed9fdd3fbb8bca01a3d3fef7767102
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
FocusLuo/vaapi-fits-1
975d0eec398d91dcb904660b7cfda4c7b02fb01f
52dbc2decf68cf89cb3ed7a11fa7b86e6903e829
refs/heads/master
2023-07-26T07:49:59.857414
2023-05-09T23:25:00
2023-05-11T06:43:06
170,789,770
0
0
BSD-3-Clause
2019-02-15T02:29:44
2019-02-15T02:29:44
null
UTF-8
Python
false
false
3,902
py
### ### Copyright (C) 2022 Intel Corporation ### ### SPDX-License-Identifier: BSD-3-Clause ### import slash from ...lib.common import timefn, get_media, call, exe2os, filepath2os from ...lib.ffmpeg.util import have_ffmpeg, BaseFormatMapper from ...lib.mixin.vpp import VppMetricMixin from ...lib import metrics2 @sla...
[ "ullysses.a.eoff@intel.com" ]
ullysses.a.eoff@intel.com
3d27b8603e7399f16a976fd41a6dda3461f31a61
a1cbe24cb8646e7af91a64d1fbfce4a4d7adce99
/teesta/config/desktop.py
0b643613f46c5abe037d298f362e72a3fa2b58c6
[ "MIT" ]
permissive
mbauskar/teesta
a4d32f8ec941be42f08d832ad922f092bf77b2b8
004bacefec97759e8abf525a58da2f4b17fb9448
refs/heads/master
2021-01-24T01:28:06.474339
2016-06-22T10:01:29
2016-06-22T10:01:29
61,936,561
1
0
null
2016-06-25T09:37:11
2016-06-25T09:37:11
null
UTF-8
Python
false
false
261
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "module_name": "Teesta", "color": "grey", "icon": "octicon octicon-file-directory", "type": "module", "label": _("Teesta") } ]
[ "mbauskar@gmail.com" ]
mbauskar@gmail.com
730fd4d9ec2574b3ee5ec4a4b6f7490e1b36834c
e089f2598400d4115f9f1a91c48c7eef40e6d251
/vgg16_2.py
423a087f0d1ad03d149d1deda559efc8d94e0215
[]
no_license
cwarny/flower-teller
c261ef10077f0b65d96bdb0e28a3e013ef32cef5
36b4350e7257ac11d3e89cb594f047963c65b3ac
refs/heads/master
2021-01-21T15:49:39.393488
2017-06-26T02:13:47
2017-06-26T02:13:47
95,398,519
0
0
null
null
null
null
UTF-8
Python
false
false
3,280
py
import json import csv import numpy as np from numpy.random import random, permutation from scipy import misc, ndimage from scipy.ndimage.interpolation import zoom from matplotlib import pyplot as plt from PIL import Image from sklearn.preprocessing import OneHotEncoder import keras from keras import backend as K f...
[ "cedric.warny@gmail.com" ]
cedric.warny@gmail.com
456f8a27016afc6e1e5da8a314af1625002e861a
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4352/codes/1649_2445.py
c823fb8e8c5b6c16933c41968349e882bb866230
[]
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
225
py
escala = (input("digite a escala: (C/F)")) valor = float(input("digite a temperatura: ")) formula1 = 5/9 * (valor - 32) formula2 = 9*valor/5 + 32 if escala == "F": print(round(formula1, 2)) else: print(round(formula2, 2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
ad4a165dfc6950d2c638cdd134f1deeef8352d52
cde2f83809b89ae0b01a7b30b9caae83183d09a0
/correlation.py
9825fc5f79db4b3d456117cd1171a2f4a5337ad5
[]
no_license
airbaggie/judgmental_eye
264fa8f4aaec452f4acbf34dbb99d070408c2c22
67cb86e450133d253c74b07950a846bf2bb4f06f
refs/heads/master
2020-06-08T21:32:54.271881
2019-06-24T04:12:58
2019-06-24T04:12:58
193,310,214
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
from math import sqrt def pearson(pairs): """Return Pearson correlation for pairs. Using a set of pairwise ratings, produces a Pearson similarity rating. """ series_1 = [float(pair[0]) for pair in pairs] series_2 = [float(pair[1]) for pair in pairs] sum_1 = sum(series_1) sum_2 = sum(ser...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
7dc433e6a444ecf139658897f4b616a313f2c5ee
050fc5ca698dfd7612dee42aa980fc7b5eee40a2
/tests/plugin/data/sw_kafka/test_kafka.py
30f9f02021b73bbc4f9a958cb224e19b9557fff7
[ "Apache-2.0" ]
permissive
apache/skywalking-python
8ac6ce06630c519f9984a45e74c1fcc88cf5b9d6
1a360228c63cd246dd4c5dd8e1f09bdd5556ad7d
refs/heads/master
2023-09-05T02:45:56.225937
2023-08-28T22:19:24
2023-08-28T22:19:24
261,456,329
178
122
Apache-2.0
2023-08-28T22:19:26
2020-05-05T12:13:49
Python
UTF-8
Python
false
false
1,352
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
[ "noreply@github.com" ]
apache.noreply@github.com
695e6a3453693a6839a8274d69b5d35e909f9015
a87f87e71d971bc8d6c205400052a47f8d957e5d
/psuedo_train.py
b0fd34acf099b173fe37b8a78a74967baf39f36e
[]
no_license
bcaitech1/p1-img-MaiHon
045eef675a92bb9b26532ff930f919fe3c6e6919
d17a925e301349e167327c5eab9d3b65f06d61a3
refs/heads/master
2023-04-08T10:22:25.803079
2021-04-19T12:22:12
2021-04-19T12:22:12
359,440,859
2
1
null
null
null
null
UTF-8
Python
false
false
3,604
py
import os import torch import random import argparse import numpy as np import pandas as pd import albumentations as A from tqdm import tqdm from src.models import * from src.configs.config import InferConfig from src.dataset import PseudoDataset import torch.nn.functional as F from torch.utils.data import DataLoader...
[ "mai.hong0924@gmail.com" ]
mai.hong0924@gmail.com
f44312a56f753dec7e321a13f2d402666c08d473
779af874adf1647461981b0c36530cf9924f5f01
/python3/dist-packages/plainbox/impl/exporter/text.py
c8889b30876cfff0a422e3a3d37debfa5f7bf396
[]
no_license
hitsuyo/Library_Python_3.5
8974b5de04cb7780b0a1a75da5cb5478873f08e7
374e3f9443e4d5cae862fd9d81db8b61030ae172
refs/heads/master
2022-11-05T23:46:47.188553
2018-01-04T19:29:05
2018-01-04T19:29:05
116,093,537
1
2
null
2022-10-26T03:07:06
2018-01-03T05:02:20
Python
UTF-8
Python
false
false
3,001
py
# This file is part of Checkbox. # # Copyright 2012 Canonical Ltd. # Written by: # Zygmunt Krynicki <zygmunt.krynicki@canonical.com> # # Checkbox is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3, # as published by the Free Software Foundation. #...
[ "nguyentansang3417@gmail.com" ]
nguyentansang3417@gmail.com
3d248b9822e566b434bc50291ba5c73e7f9d7aa3
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/aio/operations/_virtual_machine_run_commands_operations.py
ae68dd96f544a951679e1e4b41833dc0b708fe85
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
7,966
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" ]
paultaiton.noreply@github.com
3a6ccd4f7a0edffa6f93e9687c076417d0a1b0d7
7b5828edda7751700ca7002b40a214e39e5f48a8
/EA/simulation/__hooks__.py
85e30235b7cb2d5c0d2088433d93d3f9f0f6c835
[]
no_license
daniela-venuta/Sims-4-Python-Script-Workspace
54c33dac02f84daed66f46b7307f222fede0fa62
f408b28fb34626b2e3b2953152343d591a328d66
refs/heads/main
2023-03-29T18:08:39.202803
2021-03-30T19:00:42
2021-03-30T19:00:42
353,111,243
1
0
null
null
null
null
UTF-8
Python
false
false
479
py
RELOADER_ENABLED = False __enable_gc_callback = True import gc try: import _profile except: __enable_gc_callback = False def system_init(gameplay): import sims4.importer sims4.importer.enable() print('Server Startup') if __enable_gc_callback: gc.callbacks.append(_profile.notify...
[ "44103490+daniela-venuta@users.noreply.github.com" ]
44103490+daniela-venuta@users.noreply.github.com
19effaf2fd28cbfbcc5bf1197122f93d208d746b
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-res/huaweicloudsdkres/v1/model/show_res_datasource_request.py
174e9c77405184d91a01ce3c43989fd6fba03d2b
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,956
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowResDatasourceRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is att...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
f83d582584b1f3898d024e48b6fb7fe03a1db33f
fdab0c18eab28477d0980723c5ac5b4ba10c506f
/shelf/__init__.py
7a691c178c4a1e6817a33c9fb6cc581431763af4
[ "MIT" ]
permissive
MIT-Informatics/PreservationSimulation
58b53595841c39e1fe00a05241be43ed0bcf6430
38c6641a25108022ce8f225a352f566ad007b0f3
refs/heads/master
2021-08-25T10:35:46.066554
2021-08-24T20:17:13
2021-08-24T20:17:13
17,369,426
9
0
NOASSERTION
2021-03-20T02:55:37
2014-03-03T15:03:30
R
UTF-8
Python
false
false
30
py
# Nothing to say here, yet.
[ "landau@ricksoft.com" ]
landau@ricksoft.com
c810b83e4d978275269dbf2edf81ba3749d40a39
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/general_remark_3.py
37e4e5426aafa26b117cdb81d48dcfa92904cffc
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
4,367
py
from __future__ import annotations from dataclasses import dataclass, field from xsdata.models.datatype import XmlDate, XmlDateTime from travelport.models.type_direction_3 import TypeDirection3 from travelport.models.type_element_status_4 import TypeElementStatus4 from travelport.models.type_product_3 import TypeProduc...
[ "chris@komposta.net" ]
chris@komposta.net
30acd6fabbb86e2029fe9bdb373bcb1912239b99
7b4820948845f55274b211d676ab8a6253a6298b
/addons/plugin.video.phstreams/default.py
165d263833b1730268ad874343597e83e0a9e838
[]
no_license
bopopescu/mw
524c57d4b859751e298b907a12e44e9711ef72a6
5ef2acea0fb4150578e53201463c6bc5da37be20
refs/heads/master
2021-05-30T19:33:11.750160
2016-01-11T05:28:46
2016-01-11T05:28:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,159
py
# -*- coding: utf-8 -*- ''' Phoenix Add-on Copyright (C) 2015 Blazetamer Copyright (C) 2015 lambda This program 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, either version 3 o...
[ "bialagary@Garys-Mac-mini.local" ]
bialagary@Garys-Mac-mini.local
6da402554a5677cc3feb6dd00f350a495e2d3355
2dc9ee4a8c39d00c255f52e8af2486e7c2891a98
/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/aio/operations/_private_endpoint_connections_operations.py
742624e8eb6a11c2dcc7c8daf69f8f34d2441314
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
JoshuaLai/azure-sdk-for-python
fd780c2ab145a35ec0bf9519c4d08c928081e79c
07614796a332bcfeed35dddee9dbfc2f5487a39f
refs/heads/master
2023-04-04T17:49:58.177790
2021-04-06T21:31:48
2021-04-06T21:31:48
348,842,434
0
0
MIT
2021-03-17T20:24:55
2021-03-17T20:24:54
null
UTF-8
Python
false
false
23,467
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" ]
JoshuaLai.noreply@github.com
59b02c1565c66a501284ae2b8e71274d82d42d8e
ce6cb09c21470d1981f1b459293d353407c8392e
/lib/jnpr/healthbot/swagger/models/command_rpc.py
95cb417debd31ead46f6fe1b6170628878d617e1
[ "Apache-2.0" ]
permissive
minefuto/healthbot-py-client
c4be4c9c3153ef64b37e5344bf84154e93e7b521
bb81452c974456af44299aebf32a73abeda8a943
refs/heads/master
2022-12-04T07:47:04.722993
2020-05-13T14:04:07
2020-05-13T14:04:07
290,145,286
0
0
Apache-2.0
2020-08-25T07:27:54
2020-08-25T07:27:53
null
UTF-8
Python
false
false
8,149
py
# coding: utf-8 """ Healthbot APIs API interface for Healthbot application # noqa: E501 OpenAPI spec version: 1.0.0 Contact: healthbot-hackers@juniper.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class CommandRpc(o...
[ "nitinkr@juniper.net" ]
nitinkr@juniper.net
6a1ca19e78e7528364bc0b93d19a51ccb649f761
f4be3422b28dda8802ea75368d665d17b634b83f
/babo/__init__.py
5d6700be06951195e3f22bed513d5b4a0e966b6e
[]
no_license
carpedm20/babo
0bab8abee49058fb4c0c6ab629f174d8a85d50a7
1fae47214918b4a64fc305787fb6a4df07c49768
refs/heads/master
2020-04-15T16:12:10.274756
2014-08-15T12:00:33
2014-08-15T12:00:33
22,943,235
2
1
null
null
null
null
UTF-8
Python
false
false
429
py
# -*- coding: utf-8 -*- """ babo ~~~~ The world will have a generation of idiots.. by Albert Einstein :copyright: (c) 2014 by Taehoon Kim. :license: BSD, see LICENSE for more details. """ __copyright__ = 'Copyright 2014 by Taehoon Kim' __version__ = '0.0.1' __license__ = 'BSD' __author__ = 'Taeho...
[ "carpedm20@gmail.com" ]
carpedm20@gmail.com
a1250d373944bf65cff70e384219809151ab23bf
fadf50987ab3aaefc993f00187d8a833457e9e97
/torchstat/model_hook.py
3ff8d3a0ebcaae409b34f6e8da4cdb375d8cf88d
[ "MIT" ]
permissive
Hulalazz/torchstat
4cff14e2b272246d9fd7136b969eaab6165abfeb
b533d917ba8f2e0871a60c3ff73704e294b769eb
refs/heads/master
2020-04-04T08:59:07.626893
2018-11-01T09:21:35
2018-11-01T09:21:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,980
py
import time from collections import OrderedDict import numpy as np import torch import torch.nn as nn from torchstat import compute_madd from torchstat import compute_flops class ModelHook(object): def __init__(self, model, input_size): assert isinstance(model, nn.Module) assert isinstance(input_...
[ "technext.jpn@gmail.com" ]
technext.jpn@gmail.com
e037a3f03bb035f9294a2db24cabd7bccc5d1501
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/demo/time.py
56ab715a7f7ed7eb6c4c24c99973845bd00f6ad4
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
1,515
py
"""Demo platform that offers a fake time entity.""" from __future__ import annotations from datetime import time from homeassistant.components.time import TimeEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import Devi...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
be55d9627d221ef15a7208f8625d6dac784efb54
64ae307de1a6966ec948662df695cd09cefd5eff
/Day_6/mm_project/mm_project/tests/conftest.py
b924ef165574f9638d0da245dcbadd78736a65fc
[ "BSD-3-Clause" ]
permissive
janash/mm_project_sss2019
3a4d61c4f4dbe7eee5af401d831e7483480bb509
84f9da3efe335a7024213ddae6fd56113d4fda09
refs/heads/master
2020-05-19T23:03:53.143517
2019-07-26T23:03:08
2019-07-26T23:03:08
185,258,555
0
2
BSD-3-Clause
2019-07-09T17:33:19
2019-05-06T19:26:20
Python
UTF-8
Python
false
false
682
py
""" Fixtures for monte carlo tests """ # Import package, test suite, and other packages as needed import mm_project as mc import numpy as np import os import pytest import sys @pytest.fixture def nist_file(): current_directory = os.path.dirname(os.path.abspath(__file__)) nist_file = os.path.join(current_direc...
[ "ben@bennyp.org" ]
ben@bennyp.org