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
3905f5f1c9b86468bc04cf0f37ce790e482ffe99
7c0026e4e6e47114c93bd8a49c4d2759cf7a8613
/starter_code_section_7/tests/system/models/test_system_user.py
0cc5b14a8a835e16cc7eb267ebbef77c11866c73
[]
no_license
ikostan/automation_with_python
5edf9bca971629fc7621af2957d26c3f0f73fe9e
131a0699f927ac40ea625a3526c9193863b1cc1c
refs/heads/master
2020-05-05T09:42:14.360826
2019-07-03T01:49:38
2019-07-03T01:49:38
179,913,090
0
0
null
null
null
null
UTF-8
Python
false
false
2,443
py
from starter_code_section_7.tests.base_test import BaseTest from starter_code_section_7.models.user import UserModel import json class UserSystemTest(BaseTest): # Test User registration: def test_register_user(self): with self.app() as client: with self.app_context(): usern...
[ "igorkostan@gmail.com" ]
igorkostan@gmail.com
83d01be9053a9d3d262a71ece694582b6fa24bb6
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/C/colby_neeb/swr3_twitter_search_1.py
03b363ad975f75f06e90c4374e6f58115dd8bf9c
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,430
py
############################################################################### # Twitter scraper - designed to be forked and used for more interesting things ############################################################################### import scraperwiki import simplejson import urllib2 # Change QUERY to your sear...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
45f489be1aa74e7d787ad35306662e37defc136b
e1c900578859ab537d0ca626b8446152b140d0e7
/ntds/views.py
e2876669a41e303609eecb4f6a21cca83edfe99e
[]
no_license
apavluck/SMS
521202865e240b365a2e9425415b897ba475b419
5da660391a3788c3858eb51c82f4cd729fdc90b5
refs/heads/master
2020-04-09T10:16:44.814700
2015-01-27T09:25:21
2015-01-27T09:25:21
29,913,863
0
0
null
null
null
null
UTF-8
Python
false
false
16,348
py
import os from django.template import RequestContext from django.shortcuts import redirect, get_object_or_404, render_to_response from django.conf import settings from rapidsms_xforms.models import XForm, XFormSubmission from generic.views import generic from django.contrib.auth.decorators import user_passes_test from...
[ "mossplix@gmail.com" ]
mossplix@gmail.com
e931234a89b9968113423e19b604d36d8cbe450c
4da471a4f93d4365547078dc370d5b2fc627f909
/K in S.py
4d2c9ae87b5e4757e7dd80df2eabe9675ac98b54
[]
no_license
divyamadhurikalluri/pythonprogramming
2b7b54d355213a44213e59f9137dfba1184cc548
f7eaf97c7c2aa47358e6494da064d390329971a7
refs/heads/master
2020-03-26T23:26:12.631881
2019-11-22T14:37:23
2019-11-22T14:37:23
145,541,952
0
1
null
null
null
null
UTF-8
Python
false
false
37
py
S=raw_input() K=input() print(S[:K])
[ "noreply@github.com" ]
divyamadhurikalluri.noreply@github.com
f0b7e9b2949c6da520a21ecbd4335a424a92f82d
20b1642035f3d52607ccde30cfdb3ee89552c9f1
/backend/detector/service.py
694ae0e3ad9a4bd835afb863ebc19b4642961e4b
[]
no_license
ScrollPage/Course-work
26341fc194a8f5acb0b2fa33e3725d72ce09d5e5
e5de9c6afa393da7065a6468b92a7e48620cb8de
refs/heads/master
2023-02-13T18:04:32.158034
2021-01-05T14:40:31
2021-01-05T14:40:31
317,627,823
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
from django.conf import settings import json from random import uniform, randint def get_data(id): lower_limit = settings.LOWER_DETECTOR_DATA_LIMIT higher_limit = settings.HIGHER_DETECTOR_DATA_LIMIT d = { 'id': id, 'temp': round(uniform(lower_limit, higher_limit), 2), 'Co2': round(...
[ "54814200+reqww@users.noreply.github.com" ]
54814200+reqww@users.noreply.github.com
4cafa17a8364e9198707ce77a3f2512935633502
38144f6bf69812ee7cde65c4c1cd1748a0711352
/scripts/pyperfprof
e42eff1cf844ad4772e4ca42948c4f857d57bcef
[ "MIT" ]
permissive
ogrisel/pyperfprof
d1ecbb3ed6ca28b367189a291281845aa9c0ce18
6a29278857d86814b4f96cf0c90853eec80fa4d6
refs/heads/master
2020-06-09T02:27:53.628483
2013-10-29T13:53:22
2013-10-29T13:53:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
102
#!/usr/bin/env python from pyperfprof.commandline import main if __name__ == '__main__': main()
[ "olivier.grisel@ensta.org" ]
olivier.grisel@ensta.org
420485c92ef6a53b2f95460695bd7fac891eeb19
c026581b6c3855c75e7c9f9c6397acadc7833fb7
/idm_core/organization/migrations/0005_auto_20170730_0837.py
4b1297ed480e1e8fa7b7f304ecc27dae6d827fe2
[]
no_license
mans0954/idm-core
5734fd08a3c8c5deaec62167c9470336f0c6c6ef
2a3cf326e0bb3db469e2b318b122033a7dd92b83
refs/heads/master
2021-07-24T04:13:47.021951
2017-11-02T22:09:25
2017-11-02T22:09:25
109,317,967
1
0
null
2017-11-02T20:56:01
2017-11-02T20:55:58
null
UTF-8
Python
false
false
878
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-07-30 07:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('organization', '0004_auto_20170730_0835'), ] operations = [ migrations.Alte...
[ "alexander.dutton@it.ox.ac.uk" ]
alexander.dutton@it.ox.ac.uk
b3db4e93af61bb05a18da0a3896c467c3c863720
4589a9ea76e458793ad78059839b81d365f433de
/athena_automation/athenataf/tests/user_management/user_account_settings/UserAccountSettings.py
a655eab509ba12f775b6cb6e5fdba1f6d8c0f8eb
[]
no_license
cash2one/reautomation_handoff
5e2c4c432d8f658d1b57211782744bd0b56c52f6
7ef83572d659db35036189eb394f99de1369db5a
refs/heads/master
2020-05-22T17:56:33.214080
2015-07-13T07:51:18
2015-07-13T07:51:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
import logging logger = logging.getLogger('athenataf') from athenataf.lib.functionality.test.AthenaGUITestCase import AthenaGUITestCase class UserAccountSettings(AthenaGUITestCase): ''' Test class to validate the user maintenance info ''' def test_ath_8214_validate_user_interface(self): self.TopPanel.validate_u...
[ "raju_set@testmile.com" ]
raju_set@testmile.com
33ee35caf546fe61d1dea7525568c641b2011f77
bc6b561958649c391c159d4dd3363c60eeabc7e4
/mayan/apps/common/migrations/0013_auto_20190725_0452.py
1a8d0b92cd3b1fc9fc3b6c322f3f6323185be7d8
[ "Apache-2.0" ]
permissive
chrisranjana/Mayan-EDMS
37deb105cda268768fea502491ae875ff905e0e9
34b414ce49a2eb156e27dc1a2915e52121c9d1b7
refs/heads/master
2020-12-22T13:50:41.263625
2020-01-28T18:45:24
2020-01-28T18:45:24
236,804,825
0
1
NOASSERTION
2020-01-28T18:12:53
2020-01-28T18:12:52
null
UTF-8
Python
false
false
18,413
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-07-25 04:52 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('common', '0012_auto_20190711_0548'), ] operations = [ migrations.AlterFiel...
[ "roberto.rosario@mayan-edms.com" ]
roberto.rosario@mayan-edms.com
f2d40a5292c310b764bec1b7376a825777ec117b
d7b3b2bb269934deee2ff49078ab602d642f5c88
/atspy/ssa.py
98a39e01a0606e4d9f6a0629277d1995f90e92b1
[]
no_license
MindaugasVaitkus2/atspy
4b7239f95b17ba3f59eae756611f096fe9c7138a
48ca00db115c3de1a99b3dc57cffb5339dfa46c7
refs/heads/master
2020-12-28T01:15:52.993999
2020-02-04T05:52:43
2020-02-04T05:52:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,205
py
import numpy as np import pandas as pd from numpy import matrix as m from scipy import linalg try: import seaborn except: pass from matplotlib.pylab import rcParams rcParams['figure.figsize'] = 11, 4 class mySSA(object): '''Singular Spectrum Analysis object''' def __init__(self, time_series): ...
[ "islashires@gmail.com" ]
islashires@gmail.com
f9a01659bf39a63cdd339d284da8f4b70134e253
a564b8277e33eb27009089ec2e216a4d266a8861
/官方配套代码/11/11.5/ttk_test.py
5be23b3a31f839e1487702c786002ba43db633c6
[ "Unlicense" ]
permissive
yifengyou/crazy-python
3cb50f462e4ddb921c365e2f0cb3e846e6539383
28099bd5011de6981a7c5412783952cc7601ae0c
refs/heads/main
2023-06-18T18:10:52.691245
2021-07-18T14:21:03
2021-07-18T14:21:03
387,088,939
1
0
null
null
null
null
UTF-8
Python
false
false
2,131
py
# coding: utf-8 ######################################################################### # 网站: <a href="http://www.crazyit.org">疯狂Java联盟</a> # # author yeeku.H.lee kongyeeku@163.com # # # # version 1.0 ...
[ "842056007@qq.com" ]
842056007@qq.com
479d1aeeff3bb58b0fe996c995e56889a34455b3
6bdb32ddbd72c4337dab12002ff05d6966538448
/gridpack_folder/mc_request/LHEProducer/Spin-1/Wprime_Wh_Whadhbb/Wprime_Wh_Whadhbb_narrow_M3500_13TeV-madgraph_cff.py
4a14e9796316d1a471cfe37d24b515494d0bcdc6
[]
no_license
cyrilbecot/DibosonBSMSignal_13TeV
71db480de274c893ba41453025d01bfafa19e340
d8e685c40b16cde68d25fef9af257c90bee635ba
refs/heads/master
2021-01-11T10:17:05.447035
2016-08-17T13:32:12
2016-08-17T13:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
import FWCore.ParameterSet.Config as cms # link to cards: # https://github.com/cms-sw/genproductions/tree/master/bin/MadGraph5_aMCatNLO/cards/production/13TeV/exo_diboson/Spin-1/Wprime_Wh_Whadhbb/Wprime_Wh_Whadhbb_narrow_M3500 externalLHEProducer = cms.EDProducer("ExternalLHEProducer", args = cms.vstring('/cvmfs...
[ "syu@cern.ch" ]
syu@cern.ch
08dfd039fb10960d1b3682f7d5d8df927decb3e6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_207/ch147_2020_04_12_19_01_16_048371.py
8523a46d0bf284b44d23c7a6f18a43e0bf7b00f6
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
def conta_ocorrencias (lista_palavras): dicio = {} for word in lista_palavras: if word in dicio: dicio[word] +=1 else: dicio[word] =1 return dicio new_dicio = conta_ocorrencias(lista_palavras) def mais_frequente (conta_ocorrencias): max = 0 for v in ne...
[ "you@example.com" ]
you@example.com
5b3db41f2da38a3972e9b3c5e8d65841ed63c755
8afc9a84162f82b8afb586c56befca0703e5c4cc
/mercurius/core/http/HTTPParser.py
5fc4e05df93d1861c5e9a110e8a1152f829ef2c0
[ "BSD-2-Clause" ]
permissive
bossiernesto/mercurius
70028d4fdc360f7dcd51df5084efea8e60202463
9c4bc26f45a317d4e22137b412f63f18976461fe
refs/heads/master
2021-01-19T05:46:58.848795
2017-02-26T20:19:43
2017-02-26T20:19:43
27,944,892
2
0
null
null
null
null
UTF-8
Python
false
false
764
py
class HTTPHeader(object): pass class HTTPParser(object): def parse_header(self, rfile): headers = {} name = '' while 1: line = rfile.readline() if line == '\r\n' or line == '\n': break if line[0] in ' \t': # continued ...
[ "bossi.ernestog@gmail.com" ]
bossi.ernestog@gmail.com
c169615d4389cd23ed594af719981407e753774b
fa346a2d5886420e22707a7be03599e634b230a9
/temboo/Library/Amazon/EC2/RunInstances.py
e62821a18b03d9fa0cdd7880b3f414ee896991aa
[]
no_license
elihuvillaraus/entity-resolution
cebf937499ed270c3436b1dd25ab4aef687adc11
71dd49118a6e11b236861289dcf36436d31f06bc
refs/heads/master
2021-12-02T17:29:11.864065
2014-01-08T04:29:30
2014-01-08T04:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,722
py
# -*- coding: utf-8 -*- ############################################################################### # # RunInstances # Launches the specified number of instances of an AMI for which you have permissions. # # Python version 2.6 # ############################################################################### from ...
[ "cedric.warny@gmail.com" ]
cedric.warny@gmail.com
55b3249472d35e55db8967d38f1ac71a1ec55abd
1b5630e4fd275540aac3b5653ebccacd4067a124
/stpipeline/common/clustering.py
f9e6ea870c6af674eafcc5819b1a7772a25602ba
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dhtc/st_pipeline
aa25845d3b787bdc3e32a78d14ec96fa1565076a
766ad6f039ac27609934d1c7e7d70c34a0f3df73
refs/heads/master
2023-04-15T19:35:14.464233
2021-05-06T12:51:15
2021-05-06T12:51:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,455
py
""" This module contains some functions to cluster molecular barcodes (UMIs) by hamming distance """ import numpy as np from scipy.cluster.hierarchy import linkage, fcluster from sklearn.cluster import AffinityPropagation from collections import defaultdict from stpipeline.common.cdistance import hamming_distance imp...
[ "jc.fernandez.navarro@gmail.com" ]
jc.fernandez.navarro@gmail.com
e66349eb51113b722d1e45f10283c997625af004
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_job_target_groups_operations.py
32caa1fd6c61fe42ac7c638deda512b1f0c2103f
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
19,269
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
b5b0eda2ff81030eeb4431d1b82a28006d6c50e1
81cac5d646fc14e52b3941279d59fdd957b10f7e
/homeassistant/components/motioneye/config_flow.py
84a6d0771e6ed5972d3e9aa1ba08fceffc0e0d28
[ "Apache-2.0" ]
permissive
arsaboo/home-assistant
6b6617f296408a42874a67a71ad9bc6074acd000
554e51017e7b1b6949783d9684c4a0e8ca21e466
refs/heads/dev
2023-07-27T20:56:52.656891
2022-01-19T19:30:57
2022-01-19T19:30:57
207,046,472
2
0
Apache-2.0
2019-09-08T01:35:16
2019-09-08T01:35:16
null
UTF-8
Python
false
false
8,630
py
"""Config flow for motionEye integration.""" from __future__ import annotations from typing import Any, cast from motioneye_client.client import ( MotionEyeClientConnectionError, MotionEyeClientInvalidAuthError, MotionEyeClientRequestError, ) import voluptuous as vol from homeassistant.components.hassio ...
[ "noreply@github.com" ]
arsaboo.noreply@github.com
9a99a3346de89b4d3b489a277a7773de3b3a22ae
b7d6b8918a5d32ee2e22fc2e97c25b96ffe24110
/project/users/views.py
966ae886f3753c49b76bf66d8d8b40eaa5915bdb
[]
no_license
Briankr33/FlaskTaskr
d935d2a97b2a36288c2aec297f6d1fbf21a9ca1e
18e0290b08cef973c5f67bd3fb50970b104a534a
refs/heads/master
2020-04-14T23:13:32.879566
2019-02-05T20:43:03
2019-02-05T20:43:03
164,194,629
0
0
null
null
null
null
UTF-8
Python
false
false
2,754
py
# project/users/views.py ################# #### imports #### ################# from functools import wraps from flask import flash, redirect, render_template, \ request, session, url_for, Blueprint from sqlalchemy.exc import IntegrityError from .forms import RegisterForm, LoginForm from project import db, bcryp...
[ "you@example.com" ]
you@example.com
fc5dd4af74160a03bd97cc7c32cd9f983cfa7f43
a4f3e7f4f0d28f2c072a6378487760a067e838e6
/Array Values From User.py
cdd6dcee4acd5a44c0a567747aa9ae2c9296aed5
[]
no_license
algebra-det/Python
50cacdb517a863ef914dd8ce8b835091f28aa9f6
c4506f4df0c2ec103b1bcebcfedca78cbe705541
refs/heads/master
2020-12-14T15:35:26.727430
2020-05-01T10:21:09
2020-05-01T10:21:09
234,789,421
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
""" Here we will learn how to take array values from the user """ from array import * arr = array('i',[]) y = int(input("Enter the length of the array ")) for z in range(y): a = int(input("Enter the next value ")) arr.append(a) print(arr) b = int(input("which number do you want to se...
[ "noreply@github.com" ]
algebra-det.noreply@github.com
6c7260b28424b01279f297879ffc39b9b925ae24
0fd7a471a63e2bed2857976d8bf2c28bb7f6d1bb
/小练习/557.反转字符串中的单词.py
826b71429220ffeb669e00d1cd3967030832822e
[]
no_license
zjf201811/LeetCode__exercises
0432f97d314303a5b2305d745cae9d998b92a851
6e5975172dfd17d71b0c6bacc34d51e9e96b6a36
refs/heads/master
2020-04-18T01:47:52.285975
2019-01-27T00:28:58
2019-01-27T00:28:58
167,134,587
1
0
null
null
null
null
UTF-8
Python
false
false
314
py
# Author:ZJF class Solution: def reverseWords(self, s): """ :type s: str :rtype: str """ str_list=s.split(" ") for i in range(len(str_list)): str_list[i]=str_list[i][-1::-1] return " ".join(str_list) print(Solution().reverseWords("12 12 12"))
[ "thor201105@163.com" ]
thor201105@163.com
7a0a3e64463202ee168755c2e84375ca5feb28fd
52b5773617a1b972a905de4d692540d26ff74926
/.history/permutations_20200723154606.py
437d1c04ed157dfb596f458593ff9ff7960a1e5c
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
def perm(arr): # sort the array arr.sort() perm = set(arr) print(arr) perm([4,1,3,2])
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
aeb0cf39d35aac50a81a46cef5ddeaaf6d247c96
be3d301bf8c502bb94149c76cc09f053c532d87a
/python/GafferTest/PathFilterTest.py
e2c2749e516f4438ce09f52a932096caaf67d2a0
[ "BSD-3-Clause" ]
permissive
ljkart/gaffer
28be401d04e05a3c973ef42d29a571aba6407665
d2ce0eb7134a33ceee375d0a3676129a9bdcfbc6
refs/heads/master
2021-01-18T08:30:19.763744
2014-08-10T13:48:10
2014-08-10T13:48:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,264
py
########################################################################## # # Copyright (c) 2011, John Haddon. All rights reserved. # Copyright (c) 2012, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided t...
[ "thehaddonyoof@gmail.com" ]
thehaddonyoof@gmail.com
bd4a60acea7ad6f199bcb3f98e075600430ce483
e7ba4626bd239c20f48a49e8b198dace1391b403
/Plotter/test/testPlot.py
8d7cb251cad176a82b7f5cde5fb9d603af112911
[]
no_license
ArturAkh/TauFW
b6952edb7ce6f1e29ee8c9f4501a035a7bd1729e
df209f865d3aacb72ffecb2e02126d57e4646181
refs/heads/master
2023-02-19T18:14:40.269908
2021-01-20T23:02:50
2021-01-20T23:04:15
293,569,311
0
12
null
2020-09-07T15:47:06
2020-09-07T15:47:06
null
UTF-8
Python
false
false
2,640
py
#! /usr/bin/env python # Author: Izaak Neutelings (June 2020) # Description: Test script for Plot class # test/testPlot.py -v2 && eog plots/testPlot*.png from TauFW.Plotter.plot.utils import LOG, ensuredir from TauFW.Plotter.plot.Plot import Plot, CMSStyle from ROOT import TH1D, gRandom def plothist(xtitle,hists,ra...
[ "iwn_@hotmail.com" ]
iwn_@hotmail.com
ce40f7f0feca28259d678a1a8d0daf5153c8a968
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02796/s921715617.py
f4b6921f3b9803e4c79bddb581b27d145fb52df9
[]
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
249
py
N = int(input()) robots = [tuple(map(int,input().split())) for _ in range(N)] robots = [(x+l,x-l) for x,l in robots] robots.sort() cnt = 0 last = -float('inf') for r,l in robots: if last <= l: cnt += 1 last = r print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eac6d6b3556237519c304e69f5902010cad91848
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/plugwise/switch.py
8639826e37a7e890708b33604b2e0102551bff17
[ "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
3,593
py
"""Plugwise Switch component for HomeAssistant.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from plugwise.constants import SwitchType from homeassistant.components.switch import ( SwitchDeviceClass, SwitchEntity, SwitchEntityDescription, ) from homeassis...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
79c18c16a152bb69f091ecc1823996773ca60131
64ee2a144acbaf7565560aa51ba6dd7eb4f6b8b8
/小甲鱼练习/小甲鱼练习题辅助文档/习题051/bb测试.py
9d0394cb977db9f079b5071b42305fc611fd1d6d
[]
no_license
HimriZngz/Code
c61c5ecd9b18157089b49089f22bb7d335a6f4f5
a7eb93ddcde88075bb2217fc285c19ca349af8d7
refs/heads/master
2020-09-14T01:32:19.819942
2020-03-24T06:16:49
2020-03-24T06:16:49
222,969,316
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
import Pack_a.a as a a.x()
[ "yingqi1561@qq.com" ]
yingqi1561@qq.com
72d53a8968b10d535de42aabd8740462fb1ca955
77e5ed0d08a5187ca323a30f0d41591c38e82963
/src/lib/reprlib.py
827e2561295f8c01c797981d7ccbe4f1df130be6
[ "MIT", "Python-2.0" ]
permissive
maliaoMJ/skulpt
9f40012dc234c58017531bc278b0753d485ea9ad
f812dc1f0d0c58855478bd8b4afbde70886a9180
refs/heads/master
2022-03-29T02:19:24.718295
2020-01-27T17:34:43
2020-01-27T17:34:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,272
py
"""Redo the builtin repr() (representation) but with limits on most sizes.""" __all__ = ["Repr", "repr", "recursive_repr"] from itertools import islice from _thread import get_ident def recursive_repr(fillvalue='...'): 'Decorator to make a repr function return fillvalue for a recursive call' def decorating_...
[ "acbart@vt.edu" ]
acbart@vt.edu
a4b92b26eeaf9e77e86e6cd45ae5432c84e829cf
bc441bb06b8948288f110af63feda4e798f30225
/artifact_sdk/api/version/get_clean_version_list_pb2.py
d08e1aead6b5fefc2296fc8e4603377aa5af8c3c
[ "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
true
9,239
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: get_clean_version_list.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goog...
[ "service@easyops.cn" ]
service@easyops.cn
ff84efeb02608cd2c2eb9a7672ddf1a671751511
4879f75dc2cfe3e983bdec07782cb0986b61103e
/util/time_multi.py
7020446cb4c0f7b15d391a7de194d53657f9b1aa
[ "MIT", "CC0-1.0" ]
permissive
haosu1987/duktape
befe386c330e20c32e5bb8221a33af9c6062924d
4c1d4bfc12f16bb389a12bbc930568afe12a71e8
refs/heads/master
2016-09-06T12:14:09.269999
2015-08-04T09:06:59
2015-08-04T09:06:59
39,752,467
1
0
null
2015-08-04T09:07:00
2015-07-27T03:07:59
JavaScript
UTF-8
Python
false
false
759
py
#!/usr/bin/python # # Small helper for perftest runs. # import os import sys import subprocess def main(): count = int(sys.argv[1]) time_min = None for i in xrange(count): cmd = [ 'time', '-f', '%U', '--quiet', sys.argv[2], # cmd sys.argv[3] # testcase ] #print(repr(cmd)) p = subproce...
[ "sami.vaarala@iki.fi" ]
sami.vaarala@iki.fi
00aac13e36808410e6f5c29082c0af2fadedbab6
1bdc746ecd775dcd3cf0965deb23a9c86f826706
/bcbiovm/shared/retriever.py
06e7c8e895a073df4ee0e518acc7e505731e80e4
[ "MIT" ]
permissive
bcbio/bcbio-nextgen-vm
84b681a258ddacd8656f8cdbca7a2ec8d3ed7a0b
cd703e9d0dd5c6e25ddefc39efd9fd87ec815615
refs/heads/master
2021-06-08T13:32:03.854484
2020-06-03T14:37:01
2020-06-03T14:37:01
15,653,572
10
6
MIT
2020-06-03T14:37:03
2014-01-05T15:37:31
Python
UTF-8
Python
false
false
8,045
py
"""Shared code for retrieving resources from external integrations. """ import os import yaml import six import toolz as tz from bcbio import utils def get_resources(genome_build, fasta_ref, config, data, open_fn, list_fn, find_fn=None, normalize_fn=None): """Add genome resources defined in con...
[ "chapmanb@50mail.com" ]
chapmanb@50mail.com
9180db9fbe7b19367e0b3ec313c3e0e46559ccf1
f2c6ecbb99e8e606cd47a02045ad1bb6c881cfbd
/castjeeves/sqltables/TableLoader.py
d301f68460220e1e51f5aa8cda5a7bd17a74a8d7
[ "BSD-3-Clause" ]
permissive
dkauf42/bayota
36dc37f5f6fc8072567d970b1d8a379d8fb55b99
104ba91746231be10419390a9d7ed8f2593a21bc
refs/heads/master
2023-04-10T18:22:56.979432
2021-11-17T15:54:48
2021-11-17T15:54:48
180,859,770
2
0
NOASSERTION
2021-11-17T15:54:49
2019-04-11T19:03:09
Python
UTF-8
Python
false
false
2,238
py
import pandas as pd class TableLoader(object): def __init__(self, tableSet): object.__setattr__(self, "tableSet", set(tableSet)) def __getattribute__(self, attr): if attr == "tableSet": raise AttributeError("instance <attr>:tableSet is not directly accessible, use ...
[ "dkauf42@gmail.com" ]
dkauf42@gmail.com
21c11c3fb01b55fd8c0c50c00c4455cbb7d1f743
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v11/services/services/ad_group_criterion_label_service/client.py
22d5a89e5ec3805b8bfcfc64cdc041016290e1a3
[ "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
22,120
py
# -*- coding: utf-8 -*- # Copyright 2022 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
7aed7b9ed202249c59c62c752ec52f0d75b18f27
f1738cd603e0b2e31143f4ebf7eba403402aecd6
/ucs/management/univention-directory-manager-modules/scripts/proof_kerberos_deactivation
7c56f2eaf92fa5f45cb3010e4ca890f1c778bc7b
[]
no_license
m-narayan/smart
92f42bf90d7d2b24f61915fac8abab70dd8282bc
1a6765deafd8679079b64dcc35f91933d37cf2dd
refs/heads/master
2016-08-05T17:29:30.847382
2013-01-04T04:50:26
2013-01-04T04:50:26
7,079,786
8
6
null
2015-04-29T08:54:12
2012-12-09T14:56:27
Python
UTF-8
Python
false
false
4,758
#!/usr/bin/python2.6 # -*- coding: utf-8 -*- # # Univention Directory Manager Modules # sync posix flags to kerberos flags # # Copyright 2004-2012 Univention GmbH # # http://www.univention.de/ # # All rights reserved. # # The source code of this program is made available # under the terms of the GNU Affero General Pub...
[ "kartik@debian.org" ]
kartik@debian.org
561784c981e82de125085710eae2d409b6574fe5
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/761.employee-free-time/761.employee-free-time_134959127.py
4ab403cf8042979a9028ef45e7132ecc3206df1a
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
# Definition for an interval. # class Interval(object): # def __init__(self, s=0, e=0): # self.start = s # self.end = e class Solution(object): def employeeFreeTime(self, avails): """ :type avails: List[List[Interval]] :rtype: List[Interval] """ schedule ...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
3a63964aaa86ddd207c4953e4157339d539b2660
e121dcc5d23e225891420e730549b9cc7ebe8e88
/python/lib/direct/extensions/NurbsSurfaceEvaluator.py
7cdf5e0a01a26643840d05f6d9cb94eaf7642328
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
PlumpMath/panda3d-3
4f4cf7627eddae9b7f30795e0a0657b01fdf670d
5c0be0e1cd46b422d28d5b81ffb1e8b28c3ac914
refs/heads/master
2021-01-25T06:55:36.209044
2014-09-29T14:24:53
2014-09-29T14:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
""" NurbsSurfaceEvaluator-extensions module: contains methods to extend functionality of the NurbsSurfaceEvaluator class """ def getUKnots(self): """Returns the U knot vector as a Python list of floats""" knots = [] for i in range(self.getNumUKnots()): knots.append(self.getUKnot(i)) return kno...
[ "ralf.kaestner@gmail.com" ]
ralf.kaestner@gmail.com
ceda5f266f4d61d019be258bfcb20c68883dd20a
648f5af4f4e95b0f7ad4943254abcacfe520c685
/Labs_4/Scripting labs/cast_list.py
b1643ca7af1b9d7e220d663f19e3e835548a1647
[ "MIT" ]
permissive
damiso15/we_japa_data_science_lab
64a1ccbcff10554505dc55172991a9ed920f1295
ada2a358753e1f1db087d410808524e7546284f6
refs/heads/master
2022-11-30T12:57:55.920142
2020-08-13T21:20:01
2020-08-13T21:20:01
283,690,866
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
# You're going to create a list of the actors who appeared in the television programme Monty # Python's Flying Circus. # Write a function called create_cast_list that takes a filename as input and returns a list of # actors' names. It will be run on the file flying_circus_cast.txt (this information was collected # ...
[ "damiso15@yahoo.com" ]
damiso15@yahoo.com
28a7e27fedcf4fc6f018822c08f203e5a447e126
c85aede0797e73dd719646a0f7671594b0d4e4e9
/docs/support/pcsv_example_2.py
80e6f2247fa5e47cd8f9fa880a93077fd2edcb53
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mtiid/putil
c0493535ed5ee7694546ee9193cad0a764c440fc
a99c84ee781aa9eb6e45272f95b82ac35648ba4b
refs/heads/master
2021-01-18T09:05:50.437577
2016-01-20T16:01:12
2016-01-20T16:01:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
# pcsv_example_2.py # Copyright (c) 2013-2016 Pablo Acosta-Serafini # See LICENSE for details # pylint: disable=C0111,C0410,W0104 import putil.misc, putil.pcsv def main(): ctx = putil.misc.TmpFile with ctx() as ifname: with ctx() as rfname: with ctx() as ofname: # Create fi...
[ "pmasdev@gmail.com" ]
pmasdev@gmail.com
2904bf6014e3068e49cc729e4052857b4387ca52
d99ac626d62c663704444a9cce7e7fc793a9e75e
/crypto_implementations/virgil-crypto-c/wrappers/python/virgil_crypto_lib/foundation/_c_bridge/_vscf_hybrid_private_key.py
8947131a381161d91493cb49fb7178371e71ba0a
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Experiment5X/CryptoFunctionDetection
3ab32d5573a249d24db1faf772721bc80b8d905d
dac700193e7e84963943593e36844b173211a8a1
refs/heads/master
2023-04-19T09:12:35.828268
2021-05-13T22:39:27
2021-05-13T22:39:27
355,299,557
1
0
null
null
null
null
UTF-8
Python
false
false
6,617
py
# Copyright (C) 2015-2020 Virgil Security, Inc. # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # (1) Redistributions of source code must retain the above copyright # notice, this li...
[ "xmeadamx@gmail.com" ]
xmeadamx@gmail.com
fdbd8ab6dd8434081f22a6b4b6f184edcf9ca47e
95d34e34c000710b000f094b0b51f91c9637f928
/.circleci/cimodel/data/pytorch_build_data.py
ba5510a9c2558b934a4f456535c9cb5d555041be
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
kerbowa/pytorch
ead4f726b1cbf3646755dbf5ac2bf9ec3cc74be2
655960460ccca936fa5c06df6bbafd25b5582115
refs/heads/master
2023-08-14T22:30:56.911535
2021-10-06T05:48:42
2021-10-06T05:48:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,574
py
from cimodel.lib.conf_tree import ConfigNode, X, XImportant CONFIG_TREE_DATA = [ ("xenial", [ ("gcc", [ ("5.4", [ # All this subtree rebases to master and then build ("3.6", [ ("important", [X(True)]), ]), ]), # TODO:...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
ca04af47cfd93b5d7ecf1ff6e78f5cbdec860b7e
d485ac12220d6febfe383bde45d55b3160cdc930
/info_system/migrations/0009_auto_20170130_2303.py
9f8f2f82e021335ef285819d5d7a7138f7db4229
[]
no_license
argon2008-aiti/lcidarkuman
03ef2b2c200ca21b57f7b8089976c8b3a1c03612
3e54fffdf9605edd87e7bfce134d0c5203dc72a9
refs/heads/master
2021-01-13T03:09:32.388512
2019-05-19T14:16:48
2019-05-19T14:16:48
77,407,801
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime class Migration(migrations.Migration): dependencies = [ ('info_system', '0008_auto_20170127_2125'), ] operations = [ migrations.AlterField( model_name='me...
[ "yunguta@gmail.com" ]
yunguta@gmail.com
c3359088dd949acb690856b2887ae91fd9aee11e
9a8d9125009e24b883c6883030c9cffa31d46ad6
/vim.py
5a787256dc52786928b71f55af4bbf654796aaaa
[ "MIT" ]
permissive
liveforeverx/actualvim
f2c43fa56bde6eab53babca082d707f324012fec
694f7b6ce13fe551c054d9765650c5de17a536ec
refs/heads/master
2021-01-22T00:19:40.917273
2013-11-07T01:32:00
2013-11-07T01:32:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,264
py
#!/usr/bin/env python2 # vim.py # launches and manages a headless vim instance import itertools import os import pty import select import socket import sublime import subprocess import threading from .edit import Edit from .term import VT100 VISUAL_MODES = ('V', 'v', '^V', '\x16') replace = [ ('\\', '\\\\'), ...
[ "lunixbochs@gmail.com" ]
lunixbochs@gmail.com
77fad9c6a8296a55f65e79ad21de98f7209e2477
f324dba8769c8fb0f23693faa0cf8cba0dd66e0b
/setup.py
5912fc516eee8aed5bbe84c6e3e67b05b0dc469f
[ "BSD-3-Clause" ]
permissive
sourcery-ai-bot/roles
e3587829ca2870c4f5848cbea4605330cc985383
e945d4d4a265cc41216cf46b2325d0bba15f03ad
refs/heads/master
2022-11-05T11:33:27.802375
2020-06-18T10:53:16
2020-06-18T10:53:16
273,213,490
0
0
null
2020-06-18T10:53:09
2020-06-18T10:53:09
null
UTF-8
Python
false
false
1,013
py
""" Setup script for roles module. """ try: from setuptools import setup except ImportError: from distutils.core import setup from contextlib import closing import glob VERSION = '0.10' with closing(open('README.txt')) as f: doc = f.read() setup( name='roles', version=VERSION, description=...
[ "gaphor@gmail.com" ]
gaphor@gmail.com
53592dc4b0ddb1d02dce8614f5215fc71d2939bb
e1429633ac8989e9cee6089c43c4f54e3553cab3
/UefiTestingPkg/AuditTests/UefiVarLockAudit/Windows/UefiVarAudit.py
c97d8b1543b2852d24a92f95699fbe94f0bcf1ac
[ "BSD-2-Clause" ]
permissive
Perry31/mu_plus
7bfd4a3c773384ff44df53a794382c7a047b1702
4cee2caffa0344517ce713c4066629160f1968d8
refs/heads/release/20180529
2022-07-09T09:08:27.770548
2018-10-22T19:51:46
2018-10-22T19:51:46
154,810,652
0
0
BSD-2-Clause
2022-07-04T15:08:56
2018-10-26T09:30:49
C
UTF-8
Python
false
false
5,383
py
# # Script to iterate thru an xml file and # check the UEFI variable read/write properties of a given variable # # Copyright (c) 2016, Microsoft Corporation # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following condition...
[ "brbarkel@microsoft.com" ]
brbarkel@microsoft.com
d81dbf76ee1a57f5b2cbec719ab8285289bca57e
a7926ba10e6c3717c27884eaacacfd02e86e0e7e
/0x04-python-more_data_structures/10-best_score.py
db9c1ecd229810b012783f95512468c924d4266a
[]
no_license
Yosri-ctrl/holbertonschool-higher_level_programming
e7516d33a49b7001eab1c33ca3ec236025a81fe5
4654b00f8ea7e8e013b131ffd4fc835de2f986fa
refs/heads/master
2023-01-05T17:03:59.350837
2020-11-04T17:40:46
2020-11-04T17:40:46
259,329,715
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
#!/usr/bin/python3 def best_score(a_dictionary): max = 0 maxi = "" if a_dictionary is None: return None for i, j in a_dictionary.items(): if max <= j: max = j maxi = i if j is None: max = None maxi = None return maxi
[ "yosribouabid@gmail.com" ]
yosribouabid@gmail.com
a08d5e055b20803571c91a862d0c579d8e4518f4
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2188/60634/257261.py
03165fc942fd1f7a8effcb92592e622dbddad9a9
[]
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
713
py
def equal(s1,s2): if len(s1) == len(s2): size = len(s1) i = 0 while i <= size: if i == size: return True if s1[i] != s2[i]: return False i += 1 return False temp = input().split(" ") n = int(temp[0]) k = int(temp[1]) A ...
[ "1069583789@qq.com" ]
1069583789@qq.com
1bbdce025b29c7652d4da8243f6310d769b29477
a799a105ab2aba39a475bf2ce086405def0351c2
/src/gluonts/transform/_base.py
15545292fb649a4c9b0dd15bdcaea3571bfd2db0
[ "Apache-2.0" ]
permissive
mbohlkeschneider/gluon-ts
d663750d13798624eca5c9d6f12a87e321ce7334
df4256b0e67120db555c109a1bf6cfa2b3bd3cd8
refs/heads/master
2021-11-24T06:09:49.905352
2021-10-14T09:30:38
2021-10-14T09:30:38
192,546,557
54
10
Apache-2.0
2022-08-31T18:36:44
2019-06-18T13:33:36
Python
UTF-8
Python
false
false
6,305
py
# Copyright 2018 Amazon.com, Inc. or its affiliates. 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. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license...
[ "noreply@github.com" ]
mbohlkeschneider.noreply@github.com
300a1a301ecff5601a2b72f089d95804f11bc764
aca2258cf58e0d2c7e4939e73bcb82b6c135282c
/libs/telepot/telepot/aio/helper.py
e561c78ed7141f16499f90b24d476a44d0fc594c
[]
no_license
masomel/py-import-analysis
cfe6749a1d7430b179559b9e0911b8c8df507be7
7edf8148e34b9f73ca6433ceb43a1770f4fa32c1
refs/heads/master
2021-03-16T10:00:24.205301
2019-08-01T20:32:34
2019-08-01T20:32:34
112,668,748
1
0
null
null
null
null
UTF-8
Python
false
false
13,715
py
import asyncio import traceback from .. import filtering, helper, exception from .. import ( flavor, chat_flavors, inline_flavors, is_event, message_identifier, origin_identifier) # Mirror traditional version from ..helper import ( Sender, Administrator, Editor, openable, StandardEventSchedul...
[ "msmelara@gmail.com" ]
msmelara@gmail.com
eddc61c0bbe5792595dcde6f06089a235541632d
7bb556d5789d5100ca67b78e4adb4fe9fa58bc88
/AnalysisFW/python/submit.py
47df8cedcffec93b599bfdf546cc4ac476b1d369
[]
no_license
MLBasedJEC/2011-jet-inclusivecrosssection-ntupleproduction-optimized
dd20989c3f42f54a9348a3bc7d66fbafc310e7b3
b41a63698fb285d0676924d78b8a1fb5ecd3c979
refs/heads/master
2021-09-08T19:40:21.984668
2018-03-12T02:48:45
2018-03-12T02:48:45
117,272,435
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
import os samples = ['CMS_MonteCarlo2011_Summer11LegDR_QCD_Pt-120to170_TuneZ2_7TeV_pythia6_AODSIM_PU_S13_START53_LV6-v1_00000_file_index', 'CMS_MonteCarlo2011_Summer11LegDR_QCD_Pt-170to300_TuneZ2_7TeV_pythia6_AODSIM_PU_S13_START53_LV6-v1_00000_file_index', 'CMS_MonteCarlo2011_Summer11LegDR_QCD_Pt-...
[ "jduarte@caltech.edu" ]
jduarte@caltech.edu
779c2d4dfe0865a97f1f214fdff1975bed61c2ca
759d6ff0c4688abf0a3cc6f37f9a8e361fbdeaa0
/jam/third_party/sqlalchemy/util/langhelpers.py
09aa94bf2bcfd22d137861ebe44ea9bfe6853f88
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
jam-py/jam-py
a2ee9489aa2fe52578c39f1aa9745e362090b1f6
c3617b7757985287ebec2d8504b23b0c503d0aed
refs/heads/master
2023-08-31T12:59:36.985233
2023-08-02T18:16:41
2023-08-02T18:16:41
27,813,428
437
99
BSD-3-Clause
2023-08-28T19:15:56
2014-12-10T09:57:38
JavaScript
UTF-8
Python
false
false
50,850
py
# util/langhelpers.py # Copyright (C) 2005-2020 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Routines to help with the creation, loading and introspection of modules, cla...
[ "yushevaa@gmail.com" ]
yushevaa@gmail.com
34e34b57a15f76966c9e27ff6ef2ed51cbc7481b
441f0b4b4f2016ace7bed37431779b3352b9c2e4
/Book Introdução Programação com Python/6 - Listas/06.06 - Calculo da media com notas digitadas.py
bb7d337bfbc147548494e910e77d646532c873ca
[]
no_license
AlexGalhardo/Learning-Python
936b2eae814d148b0b3b77cc76cf81b45fbb4a02
b710952101a0409f585ba975e2854bf0e0286ac7
refs/heads/master
2020-05-19T23:32:49.285710
2019-09-04T17:37:27
2019-09-04T17:37:27
134,312,273
1
0
null
null
null
null
UTF-8
Python
false
false
868
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2014 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Primeira reimpressão - Outubro/2011 # Segunda reimpressão - ...
[ "aleexgvieira@gmail.com" ]
aleexgvieira@gmail.com
a44a3e6650365ff9d37092a330edb5c10091ad47
a5688a923c488414ecffcb92e3405d3876f1889d
/examples/computer_vision/mmdetection_pytorch/configs/sabl/sabl_cascade_rcnn_r101_fpn_1x_coco.py
ab39c49a7335453756504a84235c99c4463cfda5
[ "Apache-2.0" ]
permissive
armandmcqueen/determined
ae6e7a4d5d8c3fb6a404ed35519643cf33bd08e4
251e7093b60a92633b684586ac7a566379442f15
refs/heads/master
2023-05-28T17:52:18.915710
2021-06-09T23:55:59
2021-06-09T23:55:59
259,449,481
0
0
Apache-2.0
2021-04-09T12:13:11
2020-04-27T20:47:23
Go
UTF-8
Python
false
false
3,686
py
_base_ = [ "../_base_/models/cascade_rcnn_r50_fpn.py", "../_base_/datasets/coco_detection.py", "../_base_/schedules/schedule_1x.py", "../_base_/default_runtime.py", ] # model settings model = dict( pretrained="torchvision://resnet101", backbone=dict(depth=101), roi_head=dict( bbox_he...
[ "noreply@github.com" ]
armandmcqueen.noreply@github.com
bfb7ae8370d6c159723df606e7ca1d00215c9bd5
d1c427249d1161c1f4f848e1de23d95c03ae40a3
/501_practitioner_rate_input_landing.py
ae9c1309902dd59363e1fbc687283a03b1e721c4
[]
no_license
Sangee2610/pythonscripts_march1
94b80ab3b037793022d114d7cd3604d69ba82147
2fb224fc0753beb3d65d873f658cdae247425cf1
refs/heads/master
2020-04-26T05:03:00.998024
2019-03-01T15:07:46
2019-03-01T15:07:46
173,321,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
import psycopg2 import config as cfg conn = cfg.DATABASE_CONNECT cur = conn.cursor() import csv cur.execute(""" DROP TABLE IF EXISTS Landing_Partitioner_Rate; CREATE TABLE Landing_Partitioner_Rate( Name text, ContactKey text, Contact text, PayBand text, Boundary text, StartDate text, EndDate text,...
[ "noreply@github.com" ]
Sangee2610.noreply@github.com
8c46c93984d57edb4696caf91058e8aa7b2ff09e
ba4f99f24a0a13ff20a07d12adfcc4eba73b874a
/setup.py
6d3e3b0b140952ba5b5052ee8976dfad14dea044
[ "MIT" ]
permissive
chenwang12/whitebox-python
d65f7cb774218fe1776f939742d5f90d0cc23b39
23d88860332bfe498ac2830fb03b8fd5e4755906
refs/heads/master
2023-04-10T10:18:52.885997
2021-04-21T01:26:44
2021-04-21T01:26:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = ['Click>=6.0', ] setup_requirements =...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
1224fa8663e7f8ddcd037f1d3789e5caf813d63e
c4b94158b0ac8f1c4f3d535b6cdee5d1639743ce
/Python/377__Combination_Sum_IV.py
4435fd17e5f9fb491a78890b190d9d7d2eafecaa
[]
no_license
FIRESTROM/Leetcode
fc61ae5f11f9cb7a118ae7eac292e8b3e5d10e41
801beb43235872b2419a92b11c4eb05f7ea2adab
refs/heads/master
2020-04-04T17:40:59.782318
2019-08-26T18:58:21
2019-08-26T18:58:21
156,130,665
2
0
null
null
null
null
UTF-8
Python
false
false
557
py
class Solution(object): def combinationSum4(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ self.dic = {} def helper(s): if s in self.dic: return self.dic[s] if s == 0: re...
[ "junou_cui@berkeley.edu" ]
junou_cui@berkeley.edu
5359c90102abe3c637b3160593118e340ddb6395
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/outposts_write_1/outpost_create.py
352d0b4588fd7900394d3db6690e24f3bc11c552
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,129
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/outposts/create-outpost.html if __name__ == '__m...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
8289c203d520271f1af4b250c4cd28f9e98a894d
d22f8cd1a834f706d2c0cd77a814414cb4650265
/data/data/models/structures/character/limits.py
f053282a268cf6c670541a5371fa985bd90c5b0e
[ "MIT" ]
permissive
teris1994/L2py
9e7535935f58d729453f39bee998f21240b85e8b
07cc5d7c5d52ac4179378b29ef4873b11f6daa0c
refs/heads/master
2023-09-01T06:21:10.625029
2021-10-24T12:48:18
2021-10-24T13:21:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
from dataclasses import dataclass, field from common.dataclass import BaseDataclass @dataclass class Limits(BaseDataclass): inventory: Int32 warehouse: Int32 freight: Int32 sell: Int32 buy: Int32 dwarf_recipe: Int32 common_recipe: Int32
[ "yurzs@icloud.com" ]
yurzs@icloud.com
ae0fde02f81e4d5fc05921176c8b982fddf3e2d4
7e69ef0295a00d413b79b6c7646ca837e8dcb4fa
/conductor/feeds.py
27b3f2c14076785163645c18ee493a2b71aefb7d
[ "MIT" ]
permissive
random-labs/conductor
1d2ac1e2bb4a7d4833636f7a7a8bea432126191c
547dfb2c2b36c16d828fcaaf11db49d3bdece527
refs/heads/master
2021-06-24T21:43:31.372914
2017-09-08T20:43:11
2017-09-08T20:43:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
import time import traceback from steem import Steem from .config import witness from .markets import Markets from .utils import unlock_steempy_wallet steem = Steem() settings = { "sleep_time_seconds": 10 * 60, "minimum_spread_pct": 2.0, } def get_last_published_price(witness_name): my_info = steem.get...
[ "_@furion.me" ]
_@furion.me
713c2b2c5286ea101228bc49bbc219e3083f413c
e2d22f12f8e540a80d31de9debe775d35c3c5c22
/blousebrothers/confs/migrations/0027_auto_20161209_1619.py
b224d425b525fa31c181a087f8fe4458290b4a7d
[ "MIT" ]
permissive
sladinji/blousebrothers
360c3b78ec43379977dbf470e5721e6a695b2354
461de3ba011c0aaed3f0014136c4497b6890d086
refs/heads/master
2022-12-20T10:24:07.631454
2019-06-13T13:17:35
2019-06-13T13:17:35
66,867,705
1
0
NOASSERTION
2022-12-19T18:15:44
2016-08-29T18:04:33
Python
UTF-8
Python
false
false
2,510
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-12-09 16:19 from __future__ import unicode_literals import blousebrothers.confs.models from decimal import Decimal from django.db import migrations, models import django.db.models.deletion import image_cropping.fields class Migration(migrations.Migration): ...
[ "julien.almarcha@gmail.com" ]
julien.almarcha@gmail.com
6c2f8aa083e3f008c65511b61390b8d865a33b09
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/openpyxl/openpyxl/utils/units.pyi
6264bc8263e8765abc985e5b35777a99076350cf
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
692
pyi
from typing_extensions import Final DEFAULT_ROW_HEIGHT: Final[float] BASE_COL_WIDTH: Final = 8 DEFAULT_COLUMN_WIDTH: Final = 13 DEFAULT_LEFT_MARGIN: Final[float] DEFAULT_TOP_MARGIN: Final[float] DEFAULT_HEADER: Final[float] def inch_to_dxa(value): ... def dxa_to_inch(value): ... def dxa_to_cm(value): ... def cm_to_dx...
[ "noreply@github.com" ]
sobolevn.noreply@github.com
4d59d2813350d10612df8936d180ef40f296eed9
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/f56387ebf1894a488924586759d551df.py
76000a8d0392cc004c9488d8f5416a627db04e28
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
724
py
from string import punctuation whiteSpace = " \t\n" numbers = "1234567890" def isCapsLock(stuff): strippedStuff = "" for i in stuff: if i.isalpha(): strippedStuff += i if strippedStuff == "": return False elif strippedStuff.upper() == strippedStuff: return True else: return False def isNotEnglish(s...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
7ff052bddfeed588e5781b786468c13fa0e360ff
41e2cf24f0ff3a11a98bb00e03c598dde35452c4
/reportview/migrations/0020_auto_20180802_1306.py
dedffeb085b6e16e63c3bef27d3101cbb3aed9dd
[]
no_license
anushamokashi/mob
f5dbedc729073092f94323feca6d95dee24087a2
37bc0eb033bc23d37e9d4fb9bb8b2b456553ff7f
refs/heads/master
2020-04-24T08:36:56.008212
2019-02-21T09:09:04
2019-02-21T09:09:04
171,810,613
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-08-02 07:36 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('reportview', '0019_auto_20180802_1246'), ] operations = [ migrations...
[ "anusha.mokashi@gmail.com" ]
anusha.mokashi@gmail.com
79b9eedd6f17c01c7de1fa837f1e31fcb1e6ac50
03c9cd5bd96874d6117fb17c37ac4d7450c15933
/django-tutorial/chapter04/orm_field_demo/article/migrations/0005_person_signature.py
872309e8204b1b99c5fd56c8430551defb6db66c
[]
no_license
atiger808/opencv-tutorial
603de35e97679d6beae104298ae355edfdd9036a
2ea9bb3818284fb75f85697e36fde37b6479d1c6
refs/heads/master
2020-05-29T23:16:30.462022
2019-11-05T10:08:20
2019-11-05T10:08:20
189,425,004
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# Generated by Django 2.0 on 2019-05-14 09:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0004_auto_20190514_1622'), ] operations = [ migrations.AddField( model_name='person', name='signature', ...
[ "atiger0614@163.com" ]
atiger0614@163.com
a3a7782413ebcec1c92fcaa6dae3cb78c21a3113
135f967e9dbbc681e031b9b0adbd85a5dbe43649
/reveal_graph_embedding/embedding/laplacian.py
8f6b4e431bdb3bf0c320838624481b8e2ee028ab
[ "Apache-2.0" ]
permissive
gm0907/reveal-graph-embedding
9d1c9501c542b2f473c73b22c3cc6373910ec8ef
72d4af794536f97b8ede06c0f27f261ea85d8c4b
refs/heads/master
2021-02-26T23:42:09.514887
2019-07-08T11:12:43
2019-07-08T11:12:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,602
py
__author__ = 'Georgios Rizos (georgerizos@iti.gr)' import numpy as np import scipy.sparse as spsp from reveal_graph_embedding.embedding.implicit import get_implicit_combinatorial_adjacency_matrix,\ get_implicit_directed_adjacency_matrix def get_unnormalized_laplacian(adjacency_matrix): # Calculate diagonal ...
[ "georgevrizos@gmail.com" ]
georgevrizos@gmail.com
c76711de951568a3ad9478239d5c98cbf869d606
16d32837fe02613774e64c4b19a3fba20de60d3d
/pebble_tool/version.py
54b0d2159865cd281768546eeee92d416b9eeda7
[ "MIT" ]
permissive
bboehmke/pebble-tool
c42558d696c9bceed7f283ef1a1f98b2f5e3d1bd
64caa870714042df601288463272e17e4f4165b4
refs/heads/master
2021-01-17T21:22:11.337174
2015-12-15T06:43:24
2015-12-15T06:43:24
48,221,683
0
0
null
2015-12-18T07:45:53
2015-12-18T07:45:53
null
UTF-8
Python
false
false
372
py
version_base = (4, 0, 0) version_suffix = None if version_suffix is None: __version_info__ = version_base else: __version_info__ = version_base + (version_suffix,) __version__ = '{}.{}'.format(*version_base) if version_base[2] != 0: __version__ += '.{}'.format(version_base[3]) if version_suffix is not No...
[ "katharine@getpebble.com" ]
katharine@getpebble.com
7cef6d955fd4d1a75af3860ab27581432f225c11
7d096568677660790479d87c22b47aae838ef96b
/stubs-legacy/System/ComponentModel/__init___parts/DisplayNameAttribute.py
6564ffaab714f51b11aa1f4215aabc8dcb0b85d1
[ "MIT" ]
permissive
NISystemsEngineering/rfmx-pythonnet
30adbdd5660b0d755957f35b68a4c2f60065800c
cd4f90a88a37ed043df880972cb55dfe18883bb7
refs/heads/master
2023-02-04T00:39:41.107043
2023-02-01T21:58:50
2023-02-01T21:58:50
191,603,578
7
5
MIT
2023-02-01T21:58:52
2019-06-12T16:02:32
Python
UTF-8
Python
false
false
2,076
py
class DisplayNameAttribute(Attribute,_Attribute): """ Specifies the display name for a property,event,or public void method which takes no arguments. DisplayNameAttribute() DisplayNameAttribute(displayName: str) """ def Equals(self,obj): """ Equals(self: DisplayNameAttribute,obj: object) -> b...
[ "sean.moore@ni.com" ]
sean.moore@ni.com
5a10e7dcbb01bcb35ecece0ac1088042ad6fe0ec
ac66a6aa244878a1e0a40b1aa95dd7734d3b9e50
/scripts/injectr.py
b99799561b0cda07ff24ef3696bcd224b66f4f43
[ "MIT" ]
permissive
MontyTRC89/TOMB5
5fdcb11d1e0909a04ae703f4fe2a74fd56904242
8c0c5bc3f6fc04ab13b76126818e95d823b4db03
refs/heads/master
2020-08-30T10:52:14.568009
2019-10-26T23:53:30
2019-10-26T23:53:30
218,357,222
1
0
MIT
2019-10-29T18:35:46
2019-10-29T18:35:46
null
UTF-8
Python
false
false
28,271
py
#!/usr/bin/env python # _ _ _ _ # ______| (_)_ __ ___ ___ _ __ ___(_) ___ _ __( )__ # |_ / _` | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __| # / / (_| | | | | | | | __/ | | \__ \ | (_) | | | \__ \ # /___\__,_|_|_| |_| |_|\___|_| |...
[ "zippedfire@free.fr" ]
zippedfire@free.fr
c79f144acca2207d3e4d4d90e89aa916295f9227
b53a84f6b0463cd8459e282b77cf3edc61735f61
/jaraco/mongodb/service.py
8c14e6c5be8de1b98928e8c672e98fd23982105d
[ "MIT" ]
permissive
jaraco/jaraco.mongodb
6619f8019d474c7d419346b3a90faa66b6f43e81
a852399c506c5d2ed71950ecd9b5f469ff4a4040
refs/heads/main
2023-08-31T16:42:20.542742
2023-08-31T13:26:45
2023-08-31T13:26:45
45,183,461
5
1
MIT
2023-09-01T20:06:43
2015-10-29T13:04:03
Python
UTF-8
Python
false
false
7,994
py
import os import sys import tempfile import subprocess import glob import collections import importlib import shutil import functools import logging import datetime import pathlib import contextlib from typing import Dict, Any import portend from jaraco.services import paths from jaraco import services from tempora i...
[ "jaraco@jaraco.com" ]
jaraco@jaraco.com
b05c7d7aed407916a5a7b0fd8464bc22975e7d0c
2ba4fa5cb252c7c3d303b456fe8d9afb212f8b1b
/meuprojeto/meuprojeto/urls.py
05900c38c826b0df661fd7b1fc402a2d70201576
[]
no_license
marcoribeirojr/aprendendo-django
eb7c72d5cf90e3a9ef3678b2b13bde88f7c4146b
71104acc68c7b9f0ae4f42234467a53f339522ba
refs/heads/master
2020-05-05T13:08:49.347476
2019-04-11T20:09:56
2019-04-11T20:09:56
180,062,279
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
"""meuprojeto URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "=" ]
=
f66ddbefcac3491e18bd0349b504dd7153773ab6
286b6dc56323f982092ffafbfac8a32dbbaeb7ef
/training_assignments/Day01_Assignments/sample_script.py
65a667fdae2ff91bbab32ae286a3098f284439d4
[]
no_license
learndevops19/pythonTraining-CalsoftInc
ccee0d90aadc00bfdb17f9578620f6bf92f80a4c
c5f61516b835339b394876edd1c6f62e7cc6f0c3
refs/heads/master
2021-02-05T04:27:17.590913
2019-11-20T17:27:06
2019-11-20T17:27:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
#!usr/bin/env python """ This is module level docstring """ # import statement to import external lib in the current module import sample_lib # Function definition with argument `limit` def get_all_prime(limit): # This is a docstring of a function """ This is function level docstring Args: li...
[ "rajpratik71@gmail.com" ]
rajpratik71@gmail.com
497387657e44a2b62a1cecc699a680722893a502
03e5f1fc05a65d6591964341bb90ca20ee9ae687
/path_finder.py
81680d22f3823108eb3319b80d4568c78f57d269
[]
no_license
orenovadia/word_chains
391ba7c603d20880830ef01fc0fc42b87dee9e1e
2253c7f808b2d0978581e437232853f8d0eb58bb
refs/heads/master
2020-06-22T09:38:25.460906
2019-07-19T03:34:18
2019-07-19T03:34:18
197,692,056
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
from typing import Optional, Dict, List from oneedgraph import OneEdGraph class PathFinder(object): def __init__(self, graph: OneEdGraph) -> None: super().__init__() self._graph = graph def shortest_path(self, source, destination) -> Optional[List[str]]: if len(source) != len(destina...
[ "orenovad@gmail.com" ]
orenovad@gmail.com
f3e0686647a601213f779653cb8e50d2cd76685a
7a2ad6c274add0f88cab8f6f89de551ff86597c9
/AOC2018/days/day4/tests/test_Day4Puzzle2.py
15151e77987d77062fa679b325f6d1a71dc2718b
[]
no_license
Akivashi/AOC
8b66cecc9c6cf32c318d5b605f7f9ee952aad373
cbd3a766db1a4b6560c4adcf978ec79b30707032
refs/heads/master
2023-01-29T17:57:39.704089
2020-12-08T18:41:15
2020-12-09T18:55:10
318,249,828
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from unittest import TestCase from Day4Puzzle2 import Day4Puzzle2 class Day4Puzzle2Test(TestCase): def setUp(self): self.puzzle = Day4Puzzle2() def test_puzzle(self): self.assertEqual(self.puzzle.solution("tests/Day4_test_input1.txt"), 4455)
[ "rene@infi.nl" ]
rene@infi.nl
47f43ed12c629953828429ec2c172a3ec9873cfc
a00fcfa8158316fceff0dc9b5d936bba96cca4c3
/smodels-database/8TeV/CMS/CMS-SUS-14-021/validation/T2bbWW_2EqMassAx_EqMassBy.py
3de0776e24c485a42cb569b05e37f110a82cc5fd
[]
no_license
andlessa/stopsEFT
414fac7493c385c5b6d9fda2f17f9ef4658d7884
9fae9ef9c96432fecadd7abbb3578b154edc9282
refs/heads/master
2020-06-15T06:59:20.544277
2019-11-12T19:48:55
2019-11-12T19:48:55
195,229,257
0
0
null
null
null
null
UTF-8
Python
false
false
21,932
py
validationData = [{'slhafile': 'T2bbWW_156_77_156_77.slha', 'axes': {'x': 156.596211235, 'y': 77.6349199208}, 't': 0.023210111065445658, 'signal': 53521.6659, 'UL': 74832.696, 'condition': 0.0, 'dataset': None, 'kfactor': 1.0}, {'slhafile': 'T2bbWW_123_44_123_44.slha', 'axes': {'x': 123.861152477, 'y': 44.0152891989}, ...
[ "lessa.a.p@gmail.com" ]
lessa.a.p@gmail.com
46a9ffa4ccd9fe2bae9d06ccad77a6be1c64fab1
c867b7d1b26547f76605676725367eee89a9c6bb
/appimagebuilder/context.py
ad0994d1daa39762a43b8aead53128cb2ca43e72
[ "MIT" ]
permissive
jclab-joseph/appimage-builder
a6ceae075eb0e6d2e61df9e1fe38371606a0c4e7
e757003a6c60ea72721c866758befa2dc6a50058
refs/heads/master
2023-08-24T06:20:51.154749
2021-09-21T02:15:09
2021-09-21T02:15:09
412,281,434
0
0
MIT
2021-10-01T08:48:38
2021-10-01T01:10:51
null
UTF-8
Python
false
false
2,438
py
# Copyright 2021 Alexis Lopez Zubieta # # 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, publi...
[ "contact@azubieta.net" ]
contact@azubieta.net
9ed19f3d4dcddbbdb88440d766807fbdb9b7ba36
aab4acf5f144985ef0ba69fa122ecdb0973a61e3
/python_experiments/algorithm_vis/pscan_algo_vis.py
2a16fd7c491dbf95d0b2faacd32a4a9f8c8df1ff
[ "MIT" ]
permissive
zzerain/ppSCAN
1f2e07fed7b7bb6ae40a7f5f6b7721d92f74eb0c
691b39309da1c6b5df46b264b5a300a35d644f70
refs/heads/master
2023-03-19T06:41:15.712172
2020-06-04T03:24:55
2020-06-04T03:24:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,070
py
import networkx as nx import matplotlib.pyplot as plt from pscan_algo_naive import to_csr_graph from itertools import chain def vis_input(graph, min_cn, similar_deg_lst, min_pts, graph_name): """ :type graph: nx.Graph """ # draw background graph pos = nx.circular_layout(graph) nx.draw_network...
[ "yche@cse.ust.hk" ]
yche@cse.ust.hk
b66862f3d3d6cc0b77fbbf720f0a11fe8c797d1e
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/markdown/markdown/html4.py
08f241d57aaec2c04ed55d69f14938f1aba3e631
[ "Apache-2.0" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
9,672
py
# markdown/html4.py # # Add html4 serialization to older versions of Elementree # Taken from ElementTree 1.3 preview with slight modifications # # Copyright (c) 1999-2007 by Fredrik Lundh. All rights reserved. # # fredrik@pythonware.com # http://www.pythonware.com # # --------------------------------------------------...
[ "bcwalrus@cloudera.com" ]
bcwalrus@cloudera.com
7b154a6aa46aa7e5bed42941b1f2b03e772e3274
d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3
/chromium/buildtools/checkdeps/checkdeps_test.py
6442d5bd667d685cf208f853881fe353d10e64e3
[ "BSD-3-Clause" ]
permissive
Csineneo/Vivaldi
4eaad20fc0ff306ca60b400cd5fad930a9082087
d92465f71fb8e4345e27bd889532339204b26f1e
refs/heads/master
2022-11-23T17:11:50.714160
2019-05-25T11:45:11
2019-05-25T11:45:11
144,489,531
5
4
BSD-3-Clause
2022-11-04T05:55:33
2018-08-12T18:04:37
null
UTF-8
Python
false
false
9,781
py
#!/usr/bin/env python # Copyright (c) 2012 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. """Tests for checkdeps. """ import os import unittest import builddeps import checkdeps import results class CheckDepsTest(uni...
[ "csineneo@gmail.com" ]
csineneo@gmail.com
bea85b6452243cf0efd563ed4b68fecc1a744fba
0cdf69c4dbb89d1d57e74b160375764119e9edba
/tlouesports/tlou/views.py
558b22b6d56534916a19f9db1a6e1c23ce50dc8f
[]
no_license
rabbanibcs/Allauth
6b250fcfca810ac9fdd2e433dea21bd9d705be13
dafe7e307f4bd649eb9111405f0217b9444ac2b0
refs/heads/main
2023-06-18T03:40:34.078037
2021-07-12T09:24:33
2021-07-12T09:24:33
369,312,474
1
0
null
null
null
null
UTF-8
Python
false
false
14,000
py
from datetime import datetime from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect from django.shortcuts import render, HttpResponse, redirect from django.contrib import messages from django.contrib.auth import authenticate, login, logout from django.contrib.auth.model...
[ "rabbanibcs@gmail.com" ]
rabbanibcs@gmail.com
d80e4d99aa7149abf90c4aaf998e1594efcb78f9
e93690e8ac06fd6aa2f7fe7d3ea56978e787e496
/optimizeDLM/perSentence/optimizePerVerb/optimizeDependencyLength_POS_NoSplit_ByOcc_Amortized_Optim4.py
6cd6b2feaeee1eae42159d0e54c62f388a63ec0a
[]
no_license
m-hahn/optimization-landscapes
8446fbb0ae783f7aa76278e8a5f4cf5e6f4b2cd8
b16f640dd855a912f52844882b3de701e5b9eca6
refs/heads/master
2023-08-12T01:44:18.434912
2021-10-03T14:37:11
2021-10-03T14:37:11
273,661,277
0
0
null
2021-04-15T04:39:52
2020-06-20T07:36:12
TeX
UTF-8
Python
false
false
17,928
py
# Optimizing a grammar for dependency length minimization import random import sys objectiveName = "DepL" import argparse parser = argparse.ArgumentParser() parser.add_argument('--language', type=str) parser.add_argument('--entropy_weight', type=float, default=0.001) parser.add_argument('--lr_grammar', type=float,...
[ "mhahn29@gmail.com" ]
mhahn29@gmail.com
01e0c980fc1f652ee966283c3a6a783c0446f6fa
2b85d16098aaae7c9aa0cc0e670b0a67df658d78
/app/user/admin.py
2d5d9594b3a908835a95ad51aee272ab59f8fe70
[]
no_license
fuadaghazada/fampact-backend
2c9ac7ba4b3e7efd5278f75ee32f7484a7409bcb
6f0f9e3b7e2e544a4fe3a9bfa2451712e1dd1307
refs/heads/master
2023-03-08T09:21:33.728770
2021-02-21T13:09:14
2021-02-21T13:09:14
340,579,319
1
0
null
2021-02-20T06:43:59
2021-02-20T06:23:59
null
UTF-8
Python
false
false
1,575
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.utils.translation import gettext_lazy as _ from scoring.models import Score from .models import User, Family class UserAdminInline(admin.StackedInline): model = User extra = 1 class UserAdmin(BaseU...
[ "fuad.aghazada98@gmail.com" ]
fuad.aghazada98@gmail.com
be585520b660cff0acce377f5f031333de1360bc
148ac8d601369aaae6918cf0a55a4d4f5afb5e75
/decision_tree.py
9a755464423d1acfd379b30272aafd32ac13f513
[]
no_license
MrVersatile007/ML-with-Rishi
a7800e27f5cbac9b68d526469beb380ed59bb029
db76aa26ef5d349237d0fa1f0bdd677352dfb392
refs/heads/main
2023-06-02T15:53:00.902907
2021-06-27T15:15:01
2021-06-27T15:15:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
# -*- coding: utf-8 -*- """ Created on Wed May 26 20:44:13 2021 @author: RISHBANS """ import pandas as pd dataset = pd.read_csv("Apply_Job.csv") X = dataset.iloc[:, 0:2].values y = dataset.iloc[:, 2].values from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y...
[ "rishibansal02@gmail.com" ]
rishibansal02@gmail.com
43cb66f4ba8525d2f2ac814c63860c31289b6fec
8d161515037cd42dcd6404a068620c11b2597ae8
/LeetCode/__Contest__/Day6/n_unique_with_zero_sum.py
8c46dd891297268ec0052581421805d84ade21e0
[]
no_license
YiseBoge/CompetitiveProgramming
433526d18a7bfe754f9e1c8d20b2b234d7b7568c
26b720623bcc1afe054101a13ca37b65ff518ce1
refs/heads/master
2021-12-03T17:52:00.048476
2021-11-23T17:40:14
2021-11-23T17:40:14
225,392,780
1
0
null
null
null
null
UTF-8
Python
false
false
428
py
class Solution: def sumZero(self, n: int) -> list: half = n // 2 result = [] for i in range(1, half + 1): result.append(i) result.append(-i) if n % 2 != 0: result.append(0) return result def solution(l1): s = Solution() return s...
[ "Ethiopia1!" ]
Ethiopia1!
ab5a9fce2084bd6d7cef5bc3ab7c1ca5a3c03263
d14193a5d565c4f8ad9d69a975ae24e62c26943a
/easystack_dashboard/dashboards/admin/volumes/panel.py
dce68793b44c8fbd1409a0af964fe708730b8fea
[ "Apache-2.0" ]
permissive
oksbsb/horizon-acc
b84783c5a81a2678195c45d31a24ca214b69562f
9524f1952461c83db485d5d1702c350b158d7ce0
refs/heads/master
2020-03-19T03:20:52.007840
2017-11-14T09:17:04
2017-11-14T09:17:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
from django.utils.translation import ugettext_lazy as _ # noqa import horizon from easystack_dashboard.dashboards.admin import dashboard class Volumes(horizon.Panel): name = _("Volumes") slug = 'volumes' permissions = ('openstack.services.volume',) dashboard.EasyStack_Admin.register(Volumes)
[ "zhoub1986@aliyun.com" ]
zhoub1986@aliyun.com
daf6eb50c0ad9b90364b4f70c429ab710dba025b
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_206/1661.py
bf7150e7305f8acd5fc0af408e39ef0d48d99b88
[]
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,817
py
import numpy as np with open('in.txt') as f: lines = f.readlines() lines = [l.split('\n')[0] for l in lines] t = int(lines[0]) def count_speed(d, horses): d = float(d) if len(horses) == 1: horse = horses[0] t = (d - horse[0]) / horse[1] return d / t else: horses = sort...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
85e55310a98606e59016c33c42ad15b467158b08
5c0a253bf2fb83db01abc99097871c965f4cf565
/spark/crm/PROC_O_LNA_XDXT_IND_EDUCATION.py
1bea83ed976210cbffd85a9d0c063cf7a6807107
[]
no_license
airuibel/python-1
3b16553ede9d069ec56efbb12a89a4de6917a447
94f387e2d406fab2128bcfffce6146da720b2ccc
refs/heads/master
2020-07-05T15:43:00.957221
2017-09-17T14:05:48
2017-09-17T14:05:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,241
py
#coding=UTF-8 from pyspark import SparkContext, SparkConf, SQLContext, Row, HiveContext from pyspark.sql.types import * from datetime import date, datetime, timedelta import sys, re, os st = datetime.now() conf = SparkConf().setAppName('PROC_O_LNA_XDXT_IND_EDUCATION').setMaster(sys.argv[2]) sc = SparkContext(conf = co...
[ "cysuncn@126.com" ]
cysuncn@126.com
b8e1f6454943395c9f5d4751831e30f28927d1b3
43e5657beca9836215e43f16da8f274e613ccb18
/experiment_impact_tracker/emissions/common.py
d833313e4c68463176009a6397e92725ec32b41b
[ "MIT" ]
permissive
ml-lab/experiment-impact-tracker
eaa99b8ef7efec8c624ccc84e19602b7df8e8241
7017ed2c88526c2323603b254f8b81710db23ffa
refs/heads/master
2022-04-01T20:03:19.736764
2020-02-14T02:16:16
2020-02-14T02:16:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
import experiment_impact_tracker.emissions.us_ca_parser as us_ca_parser import numpy REALTIME_REGIONS = { "US-CA" : us_ca_parser } def is_capable_realtime_carbon_intensity(*args, region=None, **kwargs): return region in list(REALTIME_REGIONS.keys()) def get_realtime_carbon_source(region): return REAL...
[ "peter.henderson@mail.mcgill.ca" ]
peter.henderson@mail.mcgill.ca
9d3754884cbbf3bb4fc1923201fceb1d8b22683c
adaa06e70db86a395c76fe9945c04381321ac127
/neurokernel/routing_table.py
6bf5a28e9cd5656d5632a3ad5576e1b51544e456
[ "BSD-3-Clause" ]
permissive
hihihippp/neurokernel
d9a45dbc26ec1b307c8be696469a0e20db809fe2
f25252a2a2a4443f16ad25b7c5b5eff943f36440
refs/heads/master
2020-12-25T23:47:10.899818
2014-03-30T18:07:58
2014-03-30T18:07:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,485
py
#!/usr/bin/env python """ Routing table class. """ import numpy as np import la class RoutingTable(object): """ Routing table. Parameters ---------- t : la.larry Labeled array to use when initializing table. Notes ----- Inserting rows or columns of values is not currently sup...
[ "lev@columbia.edu" ]
lev@columbia.edu
c4487150dcd4a86c20e4becad5574f8dd4551904
a7587f813492163433202e244df2237c9993a1a1
/Cart/context_processors.py
06195e7f77f9cfb23960d2a52fa0e5c627c1280f
[]
no_license
kamran1231/E-COM-WEBSITE-2021
3a10bc0059f4d29fc52ee029e4919d4f965174c6
32214468cf716cc312a63f6346b8c844f720abda
refs/heads/master
2023-06-01T03:18:03.137405
2021-07-04T14:20:16
2021-07-04T14:20:16
381,634,544
1
0
null
null
null
null
UTF-8
Python
false
false
511
py
from .models import CartItem,Carts from .views import _cart_id def cart_quantity(request): cart_count = 0 if 'admin' in request.path: return {} else: try: cart = Carts.objects.filter(cart_id=_cart_id(request)) cart_items = CartItem.objects.all().filter(cart=cart[:1]) ...
[ "khanbrother805@gmail.com" ]
khanbrother805@gmail.com
42e83e33a8338c5cb56b9fb7dea82cb9285197d7
b54b6168ba35ce6ad34f5a26b5a4a3ab8afa124a
/kratos_3_0_1/applications/incompressible_fluid_application/python_scripts/monolithic_solver_lagrangian_compressible_two_fluids_3d_tube.py
3701ce5bc582106c68ccd276d5568c95ced27d56
[]
no_license
svn2github/kratos
e2f3673db1d176896929b6e841c611932d6b9b63
96aa8004f145fff5ca6c521595cddf6585f9eccb
refs/heads/master
2020-04-04T03:56:50.018938
2017-02-12T20:34:24
2017-02-12T20:34:24
54,662,269
2
1
null
null
null
null
UTF-8
Python
false
false
23,624
py
#importing the Kratos Library from KratosMultiphysics import * from KratosMultiphysics.IncompressibleFluidApplication import * from KratosMultiphysics.PFEMApplication import * from KratosMultiphysics.MeshingApplication import * CheckForPreviousImport() def AddVariables(model_part): model_part.AddNodalSolutionStepV...
[ "pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a" ]
pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a
44020a2430f1ee4d677ebf2e72f517311b4c61fc
a01fb7bb8e8738a3170083d84bc3fcfd40e7e44f
/python3/test/skip_test.py
a678856ad3b4261a4ba7525d1720c9bb602fa589
[]
no_license
jk983294/CommonScript
f07acf603611b4691b176aa4a02791ef7d4d9370
774bcbbae9c146f37312c771c9e867fb93a0c452
refs/heads/master
2023-08-21T17:50:19.036159
2023-08-16T00:22:03
2023-08-16T00:22:03
42,732,160
5
0
null
null
null
null
UTF-8
Python
false
false
541
py
import unittest import os import platform class Tests(unittest.TestCase): def test_0(self): self.assertTrue(True) @unittest.skip('skipped test') def test_1(self): self.fail('should have failed!') @unittest.skipIf(os.name == 'posix', 'Not supported on Unix') def test...
[ "jk983294@gmail.com" ]
jk983294@gmail.com
37d6d2d4799abb3252b0037faeff26b63b15947e
77900cdd9a815caf1cd04705321ca93f5072179f
/Project/.history/product_20211026233548.py
4c3e77961db96c2cb4baab24e8753d3719e59621
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
6,893
py
import data as list_product import random # def __init__(self, Id, Product_code, Product_name, Brand, Year, Size): # self.Id = Id # self.Product_code = Product_code # self.Product_name = Product_name # self.Brand = Brand # self.Year = Year # self.Size = Size # Thêm sản phẩm def AddProduct()...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
b4ab245bcbf76e57839fcc1722d1ddd565a89c78
fe82835f39ec48daa8e9d425f66ededac0347d2a
/python全栈开发/网络爬虫/myscrapy/movie/movie/spiders/douban.py
c52070006e5218aad783dc97f510a089c396ec4e
[]
no_license
Abel-Fan/UAIF1907
3a43d7c93b71f64d76b4b7ea2e668a46c8fa10fa
dc53af8cbf3d15f356d52c032c62251fd2536222
refs/heads/master
2023-01-10T16:32:07.760465
2019-10-29T02:55:01
2019-10-29T02:55:01
199,558,420
2
3
null
2023-01-04T22:47:49
2019-07-30T02:20:57
Python
UTF-8
Python
false
false
738
py
# -*- coding: utf-8 -*- import scrapy class DoubanSpider(scrapy.Spider): name = 'douban' allowed_domains = ['movie.douban.com'] index = 0 url = 'https://movie.douban.com/top250?start=' start_urls = ['https://movie.douban.com/top250?start=0'] def parse(self, response): for sel in respo...
[ "842615663@qq.com" ]
842615663@qq.com
25189a323700e225e6f96c440e680102061762f0
509823ea14f04d5791486b56a592d7e7499d7d51
/parte05/ex5.09_suma_valores_diccionario.py
618b2f2b3e475e6ab8a3018557ce2d1f48b3d8d1
[]
no_license
Fhernd/Python-CursoV2
7613144cbed0410501b68bedd289a4d7fbefe291
1ce30162d4335945227f7cbb875f99bc5f682b98
refs/heads/master
2023-08-08T05:09:44.167755
2023-08-05T19:59:38
2023-08-05T19:59:38
239,033,656
64
38
null
null
null
null
UTF-8
Python
false
false
223
py
# Ejercicio 5.9: Sumar todos los valores de un diccionario. productos = {'Mouse': 29.9, 'Teclado': 119.9, 'Audífonos': 35.9, 'Monitor': 299} total = sum(productos.values()) print('El total de los productos es:', total)
[ "johnortizo@outlook.com" ]
johnortizo@outlook.com
b0fa16737a686df72fd98cff9f7fd566d0d5e80a
2ed0ab730b62665b3a36841ab006eea961116f87
/Hash/MaximumSizeSubArray.py
4c44f5c8ae5645363b1ad573c522e8e3413e73b1
[]
no_license
scarlettlite/hackathon
0f0a345d867b9e52823f10fe67c6ec210a40945f
179ba9038bbed4d48cb2f044fd8430cf2be2bab3
refs/heads/master
2021-07-04T00:55:17.665292
2019-03-04T09:10:59
2019-03-04T09:10:59
141,269,070
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
class Solution: def maxSubArrayLen(self, nums, k): index, l, sm = {}, 0, 0 """ if some subarray adds up to zero, then include it """ index[0] = -1 for i, num in enumerate(nums): sm += num """ sm - (sm - k) = k "...
[ "shivanirathore496@gmail.com" ]
shivanirathore496@gmail.com
c7bdf27bb365b6e35ca7896779eabc935dc9456e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02410/s129903146.py
f4bc923b5e62b74d7db52836dc67ef4179c3d122
[]
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
305
py
n,m = map(int,input().split()) mat = list() vec = list() ans = [0 for _ in range(n)] for _ in range(n): mat.append(list(map(int,input().split()))) for _ in range(m): vec.append(int(input())) for i in range(n): for j in range(m): ans[i] += mat[i][j]*vec[j] for k in ans : print(k)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5c512f565ac92a4de97031a9ab515142b7a4c682
9a066d64eb81bd65fb51790579b7e9ea874beb3b
/seisma/conf/default.py
05ffc3b4464d0bd1557433dc5584a97bcaacda7b
[]
no_license
crisscuola/seisma-server
377e56ec6d636b056f95c6b425cbfebd62f8ec3e
1ea66ac986e4e3bd6911d572e278daf7ff728c75
refs/heads/master
2021-06-12T08:26:16.442942
2017-03-17T20:14:16
2017-03-17T20:14:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
# -*- coding: utf-8 -*- import sys # Application settings DEBUG = False TESTING = False # Database settings DATABASE = { 'HOST': '127.0.0.1', 'PORT': 3306, 'USER': 'root', 'PASSWORD': '', 'NAME': 'seisma', 'POOL_SIZE': 10, 'POOL_TIMEOUT': 10, 'POOL_RECYCLE': 60 * 5, 'MAX_OVERF...
[ "mikhail.trifonov@corp.mail.ru" ]
mikhail.trifonov@corp.mail.ru
c3cf8759732213d7cdc16a9c500a9158886bd928
3784495ba55d26e22302a803861c4ba197fd82c7
/venv/lib/python3.6/site-packages/keras_applications/mobilenet_v2.py
56709fb0afee73883a7f9ea263cddedbf7d12854
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
20,430
py
"""MobileNet v2 models for Keras. MobileNetV2 is a general architecture and can be used for multiple use cases. Depending on the use case, it can use different input layer size and different width factors. This allows different width models to reduce the number of multiply-adds and thereby reduce inference cost on mob...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
aa5bd5a0f7c81ee9514591e0bfa78361be291fc8
e75a40843a8738b84bd529a549c45776d09e70d9
/samples/openapi3/client/petstore/python-aiohttp/petstore_api/api/another_fake_api.py
3ba5d212b863746d51bea35a12aa8f8ac687322d
[ "Apache-2.0" ]
permissive
OpenAPITools/openapi-generator
3478dbf8e8319977269e2e84e0bf9960233146e3
8c2de11ac2f268836ac9bf0906b8bb6b4013c92d
refs/heads/master
2023-09-02T11:26:28.189499
2023-09-02T02:21:04
2023-09-02T02:21:04
133,134,007
17,729
6,577
Apache-2.0
2023-09-14T19:45:32
2018-05-12T09:57:56
Java
UTF-8
Python
false
false
8,023
py
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ The version of the OpenAPI document: 1.0.0 Generated by OpenAPI Generator (https://openapi-generator.tech) ...
[ "noreply@github.com" ]
OpenAPITools.noreply@github.com
4d5bb08ad0851016b6f091607bf9b92d5e42a7de
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/nose-1.3.7/functional_tests/support/issue130/test.py
9778eefb68cb9f67413a8e0e9ed80549769d2243
[ "Apache-2.0", "LGPL-2.1-only" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
65
py
def setup(): raise "KABOOM" def test_foo(): assert(1==1)
[ "ranade@cloudera.com" ]
ranade@cloudera.com
d6cb7279f5266fe1ccfbfb7eab62fa9820400359
4af394289f00e654b5f1611d3acc11956ff40250
/doc/samples/qdiipred.py
212ca14acc9f14e692e177602bbf7c9ef6e67f1a
[ "MIT" ]
permissive
vensentzhou/xalpha
159b6d4d325878f830abae1fcd8c8e27bbd41b4f
03537dc009c4c15416bfe385a07c7068950d1152
refs/heads/master
2023-03-05T00:11:50.186495
2021-02-14T05:32:21
2021-02-14T05:32:21
319,993,901
0
0
MIT
2021-02-14T05:32:22
2020-12-09T15:11:13
null
UTF-8
Python
false
false
3,672
py
""" 一个简单展示 qdii 实时净值预测的例子,最大限度的利用缓存而减少网络请求 """ import pandas as pd import xalpha as xa import logging xa.set_backend(backend="csv", path="../../../lof/data", precached="20200103") logger = logging.getLogger("xalpha") logger.setLevel(logging.DEBUG) ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) logger.addHan...
[ "kcanamgal@foxmail.com" ]
kcanamgal@foxmail.com