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
f8c70c1da41cfea53b6d1f02569fd71e0439f618
35e00d1996515ccf3151067ff28ff3357078f0b6
/samples/generated_samples/pubsub_v1_generated_schema_service_validate_message_async.py
add86c6fa8941035f2205bc30efda5abdc9894e2
[ "Apache-2.0" ]
permissive
googleapis/python-pubsub
5bb18674307bd89236a61c0d7c5079f10e19467e
1b9724324c58d27bcee42020b751cda58d80fddb
refs/heads/main
2023-09-03T13:14:22.894233
2023-08-28T13:18:36
2023-08-28T13:18:36
226,992,581
321
195
Apache-2.0
2023-09-10T23:29:10
2019-12-10T00:09:52
Python
UTF-8
Python
false
false
1,876
py
# -*- coding: utf-8 -*- # Copyright 2023 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" ]
googleapis.noreply@github.com
8152f5de1e216e50d57f2ee029225b5144c4beb2
ed2be337ce4b8a3c772862fce99ec99416784a62
/play/models.py
c889f87afcafa52f0ca12af45ece8a4485629983
[ "MIT" ]
permissive
fraferra/PlayPaloAltoServer
e5ecc7557a02b2b14750e929f656a121984a560f
a7128d363efd6059007df2c9da77f7bd033f7987
refs/heads/master
2020-05-20T05:30:19.020450
2014-07-08T02:34:14
2014-07-08T02:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,899
py
from django.db import models from datetime import date from django import forms from django.contrib.auth.models import User,UserManager from django.utils import timezone from django.db.models.signals import post_save from django.utils.translation import ugettext as _ from utils import * from social_auth.models import U...
[ "fraferra@cisco.com" ]
fraferra@cisco.com
fec6a3aa31a220c668b93a5b34d034e735fbae41
233087c1eb99e1d13f80de6f43d2cc3264aa9ca6
/polyaxon_cli/cli/version.py
e1a7f0433468d235fe651db2f75bb5fd16ca9f7f
[ "MIT" ]
permissive
DXist/polyaxon-cli
e33cd3b3633df5b21b9eb3cc48d7a6affed8e4ec
0b01512548f9faea77fb60cb7c6bd327e0638b13
refs/heads/master
2020-07-08T07:02:43.248549
2019-08-15T16:00:05
2019-08-15T16:04:31
203,601,306
0
0
MIT
2019-08-21T14:27:56
2019-08-21T14:27:56
null
UTF-8
Python
false
false
5,988
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import sys import click from polyaxon_deploy.operators.pip import PipOperator from polyaxon_cli import pkg from polyaxon_cli.client import PolyaxonClient from polyaxon_cli.client.exceptions import ( AuthorizationError, ...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
6736e09edf00b418607e71443127f44af7ec6cea
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/DXS3326GSR-SWL3MGMT-MIB.py
b6967e401b97f5dc7cbce020ce7e6f82e3f21569
[ "Apache-2.0" ]
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
43,774
py
# # PySNMP MIB module DXS3326GSR-SWL3MGMT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DXS3326GSR-SWL3MGMT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:40:25 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
1be13eebadb30837a50498bf56c567f3ae17a166
4f00c6a08db5755b294bd519b9377866f5ff6c19
/src/tests/google/appengine/api/xmpp/xmpp_service_stub.py
8071acee686aa1637f430255e904c727b3a3af37
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cooljeanius/cauliflowervest
02035a8455b1dde469ebfd0b202c02456820a679
a9bc209b610a927083bf16274d8451c6c45227bf
refs/heads/main
2022-12-24T15:28:30.616604
2020-09-25T23:55:15
2020-09-25T23:55:15
303,812,548
1
0
Apache-2.0
2023-09-04T16:48:46
2020-10-13T19:46:58
Python
UTF-8
Python
false
false
5,161
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "egall@gwmail.gwu.edu" ]
egall@gwmail.gwu.edu
2f50c5d8fbaf7359990e0e5264f56327e41de7cc
0e2a58dce33bb412f19d019b98168d68af9bdeec
/model.py
9d1eb91c29159a77b3e6e6ab01503bc436ef9099
[]
no_license
Naveenprabaharan/Salary_Prediction
0ea2810a177b7c0d3de8f4044970f35d51efa820
c36cf19545667c4e330cb08bb273c45afa74b06a
refs/heads/master
2023-08-23T16:16:10.834688
2021-10-23T15:39:28
2021-10-23T15:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression import pickle # MODEL TRAINING: # dataset = pd.read_csv('__demo\Salary_Data.csv') # X = dataset.iloc[:, :-1].values # y = dataset.iloc[:, -1].va...
[ "you@example.com" ]
you@example.com
0547381d2254684900dcf79141d5b76f75c00912
65fce73a1e6a36718238cdef09a17493b19532a0
/8/swagger_client/__init__.py
d6ffda23006c1131e1217a75ca10767be0046ebb
[ "Apache-2.0" ]
permissive
apitore/apitore-sdk-python
eb419589609efb86bd279cd1733c2a03cdc03680
c0814c5635ddd09e9a20fcb155b62122bee41d33
refs/heads/master
2020-03-21T10:06:34.557781
2018-06-23T21:26:27
2018-06-23T21:26:27
138,434,217
3
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
# coding: utf-8 # flake8: noqa """ Word2Vec APIs Word2Vec.<BR />[Endpoint] https://api.apitore.com/api/8 # noqa: E501 OpenAPI spec version: 1.0.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import apis into sdk package from s...
[ "keigoht@gmail.com" ]
keigoht@gmail.com
82a8b3eab92e0cf6cf8a43a66206a1eef88a20d0
2212a32833776a5d5d2164d8efd11bd18bd3f768
/tf_agents/networks/sequential_test.py
001323efb5ecede3876c8fdbfa391b5b484a47d9
[ "Apache-2.0" ]
permissive
tensorflow/agents
f39805fb98ef9af712dcaff3ba49e1ac6d42804b
eca1093d3a047e538f17f6ab92ab4d8144284f23
refs/heads/master
2023-08-14T04:56:30.774797
2023-08-02T17:43:44
2023-08-02T17:44:09
157,936,206
2,755
848
Apache-2.0
2023-07-26T02:35:32
2018-11-17T00:29:12
Python
UTF-8
Python
false
false
9,811
py
# coding=utf-8 # Copyright 2020 The TF-Agents 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
d973653f84166354990b4df25cb162438aa56b9e
ed9b286cc1fba177abae3449540e95cde558b7e3
/tests/unit/test_logging.py
57a6cff2087deaf7e117e341b0311904534212d9
[ "Apache-2.0" ]
permissive
AndrewNg/anchore
e706f0a0c47e298be3295d1aa6d167ec58788cd2
308e91881be65dd546dbfc79b9d3982b501252a8
refs/heads/master
2020-09-29T04:58:03.114023
2019-12-09T20:07:08
2019-12-09T20:07:08
226,957,427
0
0
Apache-2.0
2019-12-09T20:06:16
2019-12-09T20:06:15
null
UTF-8
Python
false
false
2,428
py
import logging import unittest import anchore.cli.logs import anchore.cli.common import anchore.util class TestLogging (unittest.TestCase): @staticmethod def do_generic(some_logger, name=None): assert isinstance(some_logger, logging.Logger) some_logger.debug('debug message - ' + name) ...
[ "nurmi@anchore.com" ]
nurmi@anchore.com
630a17eceb74a3892bd59ab00b61f09ff63f75c5
949ebd7bc2ab1526b3d535def4c90c80fab907f0
/Decision_Tree_Classification/decision_tree_classification_f1score.py
543282a5320bd6834cdfb946ee193307187f8799
[]
no_license
mbhushan/ml
1c5c0d79f56dbc374f5163a032900da14ca5bc58
89441760c489bb265339bcdcbe975888686fc8a5
refs/heads/master
2021-05-15T05:31:47.801454
2018-05-12T17:34:23
2018-05-12T17:34:23
116,192,180
0
0
null
null
null
null
UTF-8
Python
false
false
3,358
py
# Decision Tree Classification # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Social_Network_Ads.csv') X = dataset.iloc[:, [2, 3]].values y = dataset.iloc[:, 4].values # Splitting the dataset into the Training set and Te...
[ "manibhushan.cs@gmail.com" ]
manibhushan.cs@gmail.com
7cae145eeb1765e1dc1249a7c25c4f9b5a5a80c0
2612f336d667a087823234daf946f09b40d8ca3d
/python/lib/Lib/site-packages/django/utils/formats.py
c23a37cb2b51c0f4fca23725608c0e1326cc71ee
[ "Apache-2.0" ]
permissive
tnorbye/intellij-community
df7f181861fc5c551c02c73df3b00b70ab2dd589
f01cf262fc196bf4dbb99e20cd937dee3705a7b6
refs/heads/master
2021-04-06T06:57:57.974599
2018-03-13T17:37:00
2018-03-13T17:37:00
125,079,130
2
0
Apache-2.0
2018-03-13T16:09:41
2018-03-13T16:09:41
null
UTF-8
Python
false
false
6,513
py
import decimal import datetime from django.conf import settings from django.utils.translation import get_language, to_locale, check_for_language from django.utils.importlib import import_module from django.utils.encoding import smart_str from django.utils import dateformat, numberformat, datetime_safe from django.util...
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com
112d2d8320692eba6ef70e6342254ab8abb37bd3
875921eb2b486923cfef0c2af249e8f456bdf0c9
/config.py
71df786a370703f818458fa7a87ac6837cb8727c
[ "Apache-2.0" ]
permissive
baozixifan/ASRFrame
c0d3d477409b0e262fbf760860c6c7b6ddd59caf
307596dc729f7611b270b9f6d279fefa05ef488d
refs/heads/master
2020-06-23T07:06:07.973172
2019-07-18T16:26:07
2019-07-18T16:26:07
198,550,805
1
0
null
2019-07-24T03:23:48
2019-07-24T03:23:47
null
UTF-8
Python
false
false
1,964
py
import platform import os project_path = os.path.split(os.path.realpath(__file__))[0] # thu_datapath = None # 目录下应该有data/ dev/ 等目录 z200_datapath = None # 目录下应该有一大堆G../格式的目录 aishell_datapath = None # 目录下应有wav/和transcript/两个目录 prime_datapath = None # 目录下应有一个json文件和一个目录 stcmd_datapath = None # 目录下应该直接是音频文件 wiki_datapat...
[ "sailist@outlook.com" ]
sailist@outlook.com
977922ac36268edcaa041e79fd97eed215a5b6ac
179577ecdd7fda84ad970b3aad573a575fef56bc
/exercicios/ex034.py
cc2175d2d31399159743980d7251f1a8965d04fb
[]
no_license
Elvis-Lopes/Curso-em-video-Python
6c12fa17a5c38c722a7c8e9677f6d9596bc5653c
65f093975af9bd59c8aaa37606ba648b7ba1e1c4
refs/heads/master
2021-02-11T12:15:13.580496
2020-05-05T21:55:06
2020-05-05T21:55:06
244,490,886
1
0
null
null
null
null
UTF-8
Python
false
false
218
py
sal = float(input('Insira o salário: ')) aumento = float() if sal > 1250: aumento = (sal*15)/100 sal = sal + aumento else: aumento = (sal*10)/100 sal = sal + aumento print(f'Novo salario R${sal:.2f}')
[ "elvislopes1996@hotmail.com" ]
elvislopes1996@hotmail.com
3c53e42d5a2371b1683e62b91621f013f2474ebd
7e50b94379132a4156fd693bc73d640ff6752ed9
/tests/conftest.py
6981e1f250018bce62a66937c9462a5ed171ebab
[ "MIT" ]
permissive
Pylons/plaster_pastedeploy
145ac4c5310babf78ea7a0f7ad0639cc1b3f8a33
c0a146cdfac61781057ecaaa1b7938ef53dae9af
refs/heads/main
2023-06-12T04:08:37.382145
2023-01-03T02:44:28
2023-01-03T02:44:28
60,292,293
7
8
MIT
2023-09-09T04:19:56
2016-06-02T19:40:32
Python
UTF-8
Python
false
false
515
py
import os.path import sys import pkg_resources import pytest @pytest.fixture(scope="session") def fake_packages(): # we'd like to keep this scope more focused but it's proven really # difficult to fully monkeypatch pkg_resources and so for now we just # install the packages for the duration of the test s...
[ "michael@merickel.org" ]
michael@merickel.org
a73f8302a9249594d2ed5b77f6688c6768dc5b63
6a2b0db7d6c4ecef8434f3b35fcaef71eeb0d896
/VENV/py3_venv/lib/python3.6/site-packages/pyntc/templates/__init__.py
f9a12282a24b39159158a59ac474ea95c08b289c
[]
no_license
pseudonode/nornircourse
9bf890ecfadd1a08691f113e0cd2acadd4b9bffa
1ad0372f9673de784233937cc15779bc2391e267
refs/heads/master
2022-11-09T20:18:22.714703
2019-10-04T08:06:42
2019-10-04T08:06:42
211,856,983
3
2
null
null
null
null
UTF-8
Python
false
false
926
py
import os import textfsm TEMPLATE_PATH_ENV_VAR = "NTC_TEMPLATES" def get_structured_data(template_name, rawtxt): """Returns structured data given raw text using TextFSM templates """ template_file = get_template(template_name) with open(template_file) as template: fsm = textfsm.TextFSM(te...
[ "andre@recursivenet.com" ]
andre@recursivenet.com
3eb6d193517b5ddaa0e343c16513ad7fff94180c
216ee8ab7ca468638aa2dc6ccb7f89ea76dd0b35
/Project/Solutions/b_print_to_csv/scraper.py
53d02a6e14c5fe2a789323404aefe9f094fd9c4d
[]
no_license
satishkbe/python-level-2
7b44d0f676bc830f0a94f823aeb6e0f628215628
834411f74d54019b9675a87004fd39072dc5fba0
refs/heads/master
2023-03-13T20:32:17.993938
2021-03-16T00:19:07
2021-03-16T00:19:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
import csv import requests from bs4 import BeautifulSoup URL = "https://en.wikipedia.org/wiki/Member_states_of_the_United_Nations" # Todo: Update with your info name = None email = None assert name and email headers = {'User-Agent': f'{name} ({email})'} response = requests.get(URL, headers=headers) assert respons...
[ "ariannedee@gmail.com" ]
ariannedee@gmail.com
7b36da46e9525ecd5334eed1e12a60755f7ecced
3691f0b571612fd550095af0d7c93f22d5a8061c
/ERP/ERP/urls.py
c6682a389f1e01fb60f097995d0cfef7300d1560
[]
no_license
sambapython/db16
29db8c6be5a3628cd3063cc0d8e092ae8ea69d60
98d751ffc7277bb4e28f90b7cb470d667ab47593
refs/heads/master
2021-02-11T22:02:34.251113
2020-03-03T03:43:29
2020-03-03T03:43:29
244,532,780
0
1
null
null
null
null
UTF-8
Python
false
false
931
py
"""ERP URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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-based vie...
[ "sambapython@gmail.com" ]
sambapython@gmail.com
1571db30fcb1897a7c23bbc6da84249efffefe12
13cf11440998376d3b52a49f1e4fb8936c360ac4
/chainer_chemistry/saliency/visualizer/table_visualizer.py
4e27c19c5a807d63f9d5844832ecaecdfb772adc
[ "MIT" ]
permissive
k-ishiguro/chainer-chemistry
87e3db724de0e99042d9585cd4bd5fff38169339
aec33496def16e76bdfbefa508ba01ab9f79a592
refs/heads/master
2021-07-06T22:58:20.127907
2019-02-04T02:51:34
2019-02-04T02:51:34
169,345,375
1
1
MIT
2020-07-30T06:04:13
2019-02-06T02:27:39
Python
UTF-8
Python
false
false
3,289
py
import numpy import matplotlib.pyplot as plt from chainer_chemistry.saliency.visualizer.base_visualizer import BaseVisualizer # NOQA from chainer_chemistry.saliency.visualizer.visualizer_utils import abs_max_scaler # NOQA class TableVisualizer(BaseVisualizer): """Saliency visualizer for table data""" def...
[ "acc1ssnn9terias@gmail.com" ]
acc1ssnn9terias@gmail.com
af23bfe2581b749cad1c35dc75d23d8ece968b41
e756bfb5290cd336d20f0cf0cde04eec2a35caae
/src/actions/custom/utils/pick_card.py
9847ba74cd50d6deef5415fb9cb4dde04b52eee6
[ "MIT" ]
permissive
StetHD/Lonabot
ff1b9113f1e8d6618a271a17752e86679e0c6274
615ce2c176607d6da71c84d38644d8aaaf0d3a0b
refs/heads/master
2021-01-22T10:40:55.989293
2016-08-24T10:17:29
2016-08-24T10:17:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,101
py
from actions.action_base import ActionBase from random import choice, randint class PickCardAction(ActionBase): def __init__(self): super().__init__(name="PICK A CARD FROM THE DECK", keywords=['pick a card (INT)', 'pick (INT) cards?']) def a...
[ "totufals@hotmail.com" ]
totufals@hotmail.com
b26f46287c34e1c977675f1a1da4680ab338880a
d578dc0955028ee86656f06423ceaa4a50c5ba92
/Final Project/Centroid.py
6915378daa05fc205509cf703953b537c1f5ae35
[]
no_license
ohsuz/CSI4106-Repository
1b17482d9215c0dcfff60edb90494833d11e069a
d81c5a2600b7c8bf67dd02fbd30138a7f8245e47
refs/heads/master
2023-06-11T10:29:33.009843
2021-06-26T18:02:50
2021-06-26T18:02:50
230,781,524
3
1
null
null
null
null
UTF-8
Python
false
false
1,509
py
#!/usr/bin/env python # coding: utf-8 # In[33]: #import packages import glob import os import imutils import cv2 #read the images from the folder images = [cv2.imread(file) for file in glob.glob("C:/Users/cjtol/CSI4106/Pocket/*.png")] #covert image to grayscale gray = cv2.cvtColor(image, cv2.COLOR_...
[ "gl_gd@naver.com" ]
gl_gd@naver.com
cd6c93b19fecb396cb0458d2561de26a3b8b110a
f40ad51a600e64f12710fc4847c356a35cd0a3d2
/S08/oop/geometry.py
69181f8bd1a3113ef4a969527338183d111a722a
[]
no_license
pymft/py-mft1
0aa1b854ea80e17e18c0eacc6f4dc7428a71af39
f4657fe17e56b6f54bdc8b1076edfc388b85cb05
refs/heads/master
2020-05-09T09:32:59.020361
2019-07-05T13:59:19
2019-07-05T13:59:19
181,006,072
1
5
null
2019-05-03T20:06:03
2019-04-12T12:42:38
Python
UTF-8
Python
false
false
940
py
import math class Parallelogram: def __init__(self, a, b, angle): print("paralleogram", self.__class__) self.a = a self.b = b self.angle = angle @property def area(self): return self.a * self.b * math.sin(math.radians(self.angle)) @property def perimeter(se...
[ "naeini.v@gmail.com" ]
naeini.v@gmail.com
a40183d91dc5ab741e0f4a91dfb2c05c5b73b66f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02628/s785161467.py
3f9c154f8635eed3d0cb56f4538868a10a28d93d
[]
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
64
py
n,k,*p=map(int,open(0).read().split());print(sum(sorted(p)[:k]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
836236628e6676f74198897e9bb09b26ef6e8926
37b0de1e37bc313ad5c4735d288f0f2ccc6bca88
/tests/test_paired.py
9cf3c361cabf9ee88f9f5d935c87a3044e68aeb9
[ "MIT" ]
permissive
kingdynasty/cutadapt
a65b46eb192fbff00ab404324d5960f1ab22cb79
49aa33ac46c5183a39acddbe85d58103ff7eecb8
refs/heads/master
2020-03-28T14:04:13.798989
2018-09-10T09:21:48
2018-09-10T09:21:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,702
py
import os.path import shutil import tempfile from itertools import product import pytest from cutadapt.__main__ import main from utils import run, assert_files_equal, datapath, cutpath, redirect_stderr, temporary_path @pytest.fixture(params=[1, 2]) def cores(request): return request.param def run_paired(params, ...
[ "marcel.martin@scilifelab.se" ]
marcel.martin@scilifelab.se
56e49ec8b756e2762d4f46ee992731ee54be86f1
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/379.py
45af30e36a16a8b8f0a6a9536d9e5d1ddb753e2b
[]
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,246
py
def hasLine(squares, symbol): for i in range(4): if squares[i][0] == squares[i][1] == squares[i][2] == squares[i][3] == symbol: return True for i in range(4): if squares[0][i] == squares[1][i] == squares[2][i] == squares[3][i] == symbol: return True if squares[0][0] == squares[1][1] == squares[2][2]...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
fd7326df55080e803d9ef5dcf9ef75f5bfd70c6c
2c872fedcdc12c89742d10c2f1c821eed0470726
/pbase/day12/code/text2.py
416a82954f3664da8fa1e1eb23e2cb329b0f8028
[]
no_license
zuigehulu/AID1811
581c3c7a37df9fa928bc632e4891fc9bafe69201
10cab0869875290646a9e5d815ff159d0116990e
refs/heads/master
2020-04-19T16:33:04.174841
2019-01-30T07:58:24
2019-01-30T07:58:24
168,307,918
1
0
null
null
null
null
UTF-8
Python
false
false
479
py
# 编写函数fun 基功能是计算下列多项式的和 # Sn = 1 + 1/1! + 1/2! + 1/3! + .... + 1/n! # (建议用数学模块中的factorial) # 求当n得20时 Sn的值 # 即: # print(fun(20)) # 2.718281828... import math # def sumfun(n): # Sn = 1 # for x in range(1,n+1): # Sn += 1/math.factorial(x) # return Sn # print(sumfun(20)) def ...
[ "442315617@qq.com" ]
442315617@qq.com
e1797abbb517a5b0d9e49e93536eb28f286dff74
a214e706c875e0af7221c0c9ae193d9d93ee20a7
/merge_pedmap.py
a521b00da550343f20052204c786390bad354afb
[]
no_license
inambioinfo/bioinformatics_scripts
fa2292e91ad4134204a09ace27c8a91ae70fa34c
3a23611f382b7f3dd60e5e2abe841b84408c0d44
refs/heads/master
2020-03-20T21:17:10.163061
2017-03-28T23:41:39
2017-03-28T23:41:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,809
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from optparse import OptionParser import os __author__ = "Raony Guimarães" __copyright__ = "Copyright 2012, Filter Analysis" __credits__ = ["Raony Guimarães"] __license__ = "GPL" __version__ = "1.0.1" __maintainer__ = "Raony Guimarães" __email__ = "raonyguimaraes@gmail.co...
[ "raonyguimaraes@gmail.com" ]
raonyguimaraes@gmail.com
dd713f3a180a0c82f82e9b6a9e9358a8c8649ab4
f4d78406cda8cb7e8232873dfd4d735763a36f07
/result/migrations/0004_auto_20170331_2017.py
5ac9fa86e89e90bb810b3663b4339951b7cc5e5d
[]
no_license
pratulyab/ipu-results-bot
722b646a098f95e21bb12a47bcaff69d7e8a034a
aa000f28cad79ad49d14547203877247fae7327d
refs/heads/master
2022-07-13T18:03:39.107959
2019-06-24T20:45:56
2019-06-24T20:45:56
193,555,061
0
0
null
2022-06-21T22:12:19
2019-06-24T18:05:45
Python
UTF-8
Python
false
false
550
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-03-31 14:47 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('result', '0003_auto_20170331_1806'), ] operations = [ migrations.RemoveField(...
[ "pratulyabubna@outlook.com" ]
pratulyabubna@outlook.com
0b3788d4fbdbbf609b1d07cec5135630f51a7c4b
ed7b5c24d9a13d0c717fd6f6293f3464f43d7cbf
/demo/sjh_web/demo55.py
0dd3351eafd4b929e7b8c9d051f64ed3d14dee2a
[]
no_license
befallenStar/python
ccb93d456dc161a8087a78220a7aaab21320ab8b
e44ce8c11b820f03fe2d60dfa84053d8cc356c80
refs/heads/master
2022-12-07T18:34:03.091146
2020-08-20T02:33:56
2020-08-20T02:33:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,659
py
# -*- encoding: utf-8 -*- import urllib3 pcUserAgent = { 'IE-agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windwos NT 6.1; Trident/5.0;', 'firefox-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0', 'chrome-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/5...
[ "sy5622_5@126.com" ]
sy5622_5@126.com
572b84a3f569162ee860e6f7b20ac524c04a19b9
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/katas/kyu_7/linked_lists_get_nth_node.py
1f2b39f86f418fb40df8cc42b845bc21a735c961
[ "MIT" ]
permissive
mveselov/CodeWars
e4259194bfa018299906f42cd02b8ef4e5ab6caa
1eafd1247d60955a5dfb63e4882e8ce86019f43a
refs/heads/master
2021-06-09T04:17:10.053324
2017-01-08T06:36:17
2017-01-08T06:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
class Node(object): def __init__(self, data): self.data = data self.next = None def get_nth(node, index): current = node dex = -1 while current is not None: dex += 1 if dex == index: return current current = current.next raise Exception
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
d47b760098656ec22905595db57af143f04c9a99
b5cf99c4ed0ff18e351394ae85a91068a74dcc16
/libdemo/bs_demo.py
445ff43c30b45cdfd2a3a0e39920958a494e0f96
[]
no_license
srikanthpragada/DEMO_PYTHON_19_NOV_2019
8966d218af8531c8e77accf7e2740094e2c1902f
ac50fdbb7de94d671e0ab5274d6aadd133b70899
refs/heads/master
2020-09-14T08:19:55.453868
2019-12-23T03:00:07
2019-12-23T03:00:07
223,076,035
1
0
null
null
null
null
UTF-8
Python
false
false
204
py
from bs4 import BeautifulSoup st = "<html><body><h1>Title1</h1><h2>Title2.1</h2><h2>Title2.2</h2></body></html>" bs = BeautifulSoup(st, 'html.parser') for tag in bs.find_all("h2"): print(tag.text)
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
5a991fed1d4a0e7596274c8eb7335d9e09592e6a
8f5f0c3ef83fdd482387973149738f6178477a42
/medium/trees/next_right_pointer.py
e1eb4ce5802ddc9adc9779869feb56faa06352f2
[]
no_license
nicokuzak/leetcode
79a5771ad83786cc7dbfd790f8fffcf1ce58794e
39b0235dc429a97a7cba0689d44641a6af6d7a32
refs/heads/main
2023-04-06T21:02:09.553185
2021-04-14T22:21:20
2021-04-14T22:21:20
336,847,511
0
0
null
null
null
null
UTF-8
Python
false
false
1,414
py
"""You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following definition: struct Node { int val; Node *left; Node *right; Node *next; } Populate each next pointer to point to its next right node. If there is no next right nod...
[ "nicokuzak95@gmail.com" ]
nicokuzak95@gmail.com
5b21a4c2067e74e7ff233876453a7bbb84d6ebc6
3bc4b502fdb5ffecdbecc9239a0c25746dc31022
/Ch06/p157.py
9df9fb2464141935daf597c1cf1f74a731857083
[]
no_license
pkc-3/python
68da873bbe7ad9a3e0db4e22ddaa412a9377720f
d8410d897c3784c6017f7edc215ce8763e557518
refs/heads/master
2023-05-31T06:40:30.279748
2021-06-10T09:00:09
2021-06-10T09:00:09
361,634,592
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#self 명령어 예 class multiply3: #멤버 변수 없음 #생성자 없음 #동적 멤버변수 생성/초기화 def data(self,x,y): self.x = x self.y = y #곱셈 연산 def mul(self): result = self.x * self.y self.display(result) #메서드 호출 #결과 출력 def display(self, result): print("곱셈 = %d" % (result)) ...
[ "pkc_3@naver.com" ]
pkc_3@naver.com
1ad1cdf4c211d1ad2cfc0e6db523776b6a91d5d7
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/initial_859.py
a64a24fccf2efc8b865aa813310e625203f34f62
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,330
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
d7f63dcc0bc4be0be92e1b193db9abad6b55f611
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/microsoft_intune/icon_microsoft_intune/actions/get_managed_apps/schema.py
950f7ebf08d7248b32cb5c69cb6007c0c35c5b04
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
4,712
py
# GENERATED BY KOMAND SDK - DO NOT EDIT import insightconnect_plugin_runtime import json class Component: DESCRIPTION = "Returns InTune manageable apps" class Input: APP = "app" class Output: MANAGED_APPS = "managed_apps" class GetManagedAppsInput(insightconnect_plugin_runtime.Input): sc...
[ "noreply@github.com" ]
rapid7.noreply@github.com
d09cbbe00b827f394ca2273cd1219aa9bad0fd43
9c7091f82a5108261cbc3e5209f0e6df42f55530
/node/src/fuzzers/peach_fuzzbang.py
3a1d9883ba450b54c00eee87fd997b6a106f6edc
[ "MIT" ]
permissive
hatRiot/PeachOrchard
881b24bdf8ceb5c1e23c989fdb612f8b70dfd192
cd11ab0ccbcce2349408d5c2e4b651eb99a4e9c1
refs/heads/master
2021-06-18T03:27:03.835834
2019-09-23T19:24:02
2019-09-23T19:24:02
23,305,215
46
26
MIT
2021-06-10T19:48:39
2014-08-25T07:12:20
Python
UTF-8
Python
false
false
3,101
py
from src.core.log import * from src.core import config from src.core import utility from src.core.fuzzer import Fuzzer from re import findall import os class peach_fuzzbang(Fuzzer): """ Class implements the interface for the Peach fuzzer. This has been tested with FuzzBang as well as regular ol' Peach. "...
[ "shodivine@gmail.com" ]
shodivine@gmail.com
9dd49b3cf82fa3b52f4bc3b9c1514bcf1c23dca0
63ba933a294865f65409635f62e0f1d59f725f37
/src/trees/isBalanced.py
7ecb0495d36c1aecf3938a94d2007c4730bf1f19
[ "CC0-1.0" ]
permissive
way2arun/datastructures_algorithms
fc4302bdbb923ef8912a4acf75a286f2b695de2a
4ea4c1579c28308455be4dfa02bd45ebd88b2d0a
refs/heads/master
2021-12-07T04:34:35.732026
2021-09-30T12:11:32
2021-09-30T12:11:32
203,658,808
1
0
null
2020-08-08T15:55:09
2019-08-21T20:23:46
Python
UTF-8
Python
false
false
1,995
py
""" Balanced Binary Tree Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the left and right subtrees of every node differ in height by no more than 1. Example 1: Input: root = [3,9,20,null,null,15,7] Output: true Exam...
[ "way2aru@yahoo.com" ]
way2aru@yahoo.com
64728e5c76187cf4177e6d19c48c73b797430c05
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/perso_arabic_norm/describe_splits.py
70788b7f48dbdc399d1fcc680fe3b99a08017009
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
2,067
py
# coding=utf-8 # Copyright 2023 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
ad55a036719eab54161bb16e9344fa465842a9b0
003ffcf8144565404636f3d74590a8d6b10a90a4
/620-not-boring-movies/620-not-boring-movies.py
649086294562ebc1cd5148e624db643e5a39e3ab
[]
no_license
congve1/leetcode
fb31edf93049e21210d73f7b3e7b9b82057e1d7a
ce1e802b5052da2cdb919d6d7e39eed860e0b61b
refs/heads/master
2020-05-13T19:19:58.835432
2019-05-06T00:44:07
2019-05-06T00:44:07
181,652,371
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
# Write your MySQL query statement below select id,movie,description,rating from cinema where description != 'boring' and id%2 = 1 order by rating DESC
[ "congve1@live.com" ]
congve1@live.com
6c4072c302692caf0fc1eefcb3cc828a7315e998
e56214188faae8ebfb36a463e34fc8324935b3c2
/intersight/models/hyperflex_server_model_all_of.py
00b213f2b14b684bad926afd34710dd805f3dc75
[ "Apache-2.0" ]
permissive
CiscoUcs/intersight-python
866d6c63e0cb8c33440771efd93541d679bb1ecc
a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4
refs/heads/master
2021-11-07T12:54:41.888973
2021-10-25T16:15:50
2021-10-25T16:15:50
115,440,875
25
18
Apache-2.0
2020-03-02T16:19:49
2017-12-26T17:14:03
Python
UTF-8
Python
false
false
5,600
py
# coding: utf-8 """ Cisco Intersight Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen...
[ "ucs-build@github.com" ]
ucs-build@github.com
656400a9a3c0238586b3bc67900a8c9c266c3cfb
5891051796778cfb44a255248ce38789bfef9e70
/DjangoLearn/bgfaith/urls.py
2fae220197d9f146c5fbb61d9e5154182b10d282
[]
no_license
Faithlmy/Python_base
cc546a5d86b123e102a69df1227cde9b6e567493
5a43557e6375dc9dbe5f6701d7c10e549873a5ab
refs/heads/master
2021-01-01T17:07:04.097978
2018-03-31T16:44:01
2018-03-31T16:44:01
98,000,621
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
"""bgfaith URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "lmengyy@126.com" ]
lmengyy@126.com
e5b83f893b2e670a76c3e80afe4f2b7a7c9ecff8
3637fe729395dac153f7abc3024dcc69e17f4e81
/reference/ucmdb/discovery/nnmi_api.py
5f1ad3f66d69e9c7f50fca6f28d7628e45ce3907
[]
no_license
madmonkyang/cda-record
daced6846c2456f20dddce7f9720602d1583a02a
c431e809e8d0f82e1bca7e3429dd0245560b5680
refs/heads/master
2023-06-15T08:16:46.230569
2021-07-15T16:27:36
2021-07-15T16:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
59,922
py
#!/usr/bin/env python # coding: utf8 import re import logger import types import time import os import ip_addr import itertools import nnmi_filters import java.net from java.lang import System, String from com.hp.ucmdb.discovery.library.clients.recorder import ExecutionRecorderManager import com.hp.ov.nms.sdk fro...
[ "silentbalanceyh@126.com" ]
silentbalanceyh@126.com
4fbda2699b9145b694ef3f7a10590380ae779cad
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L54/54-23_MD_NVT_rerun/set_4.py
5cd6d8796cee46fdf49e2b9f80b0d39eff8896aa
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L54/MD_NVT_rerun/ti_one-step/54_23/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_4.in' temp_pbs = filesdir + 'temp_4.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
62be565d1ad0e2bc743c1f5b5682cd2bdeef76c1
2e9ffd88923b1eb90047fe5c6a633a6d29c111a8
/muddery/typeclasses/players.py
76d46460f1c6c62028e28ae5e66dedef392932d5
[ "BSD-3-Clause" ]
permissive
externIE/muddery
4f7424abf2eac4280baef86ba5752e8d8ddee16d
ee4165e97e1510e06fa1e8120a35878a6c2862b7
refs/heads/master
2020-04-06T06:48:41.501309
2016-08-16T12:58:47
2016-08-16T12:58:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
""" This is adapt from evennia/evennia/players/players.py. The licence of Evennia can be found in evennia/LICENSE.txt. Player The Player represents the game "account" and each login has only one Player object. A Player is what chats on default channels but has no other in-game-world existance. Rather the Player puppe...
[ "luyijun999@gmail.com" ]
luyijun999@gmail.com
00e2fbc37e5d8aa5a588fc4185c7bc8bab4c4f22
a39ed5db6c75c9ae1f5e05118794c64102dc5f7a
/2020/01_1/solution.py
091874824ee82bf49cb18909afad5b2272562b7c
[ "MIT" ]
permissive
budavariam/advent_of_code
b656d5caf5d05113b82357754eb225e61e89ac0d
635be485ec691f9c0cdeb83f944de190f51c1ba3
refs/heads/master
2022-12-25T18:12:00.981365
2022-12-20T08:20:51
2022-12-20T08:20:51
114,570,426
1
1
MIT
2022-12-09T09:29:06
2017-12-17T21:36:00
Python
UTF-8
Python
false
false
656
py
""" Advent of code 2020 day 1/1 """ import math from os import path def solution(data): """ Solution to the problem """ lines = data.split("\n") precalculate = dict() for line_value_str in lines: precalculate[2020 - int(line_value_str)] = True for line_value_str in lines: current...
[ "budavariam@gmail.com" ]
budavariam@gmail.com
a765cbe96955bdac735e102715ca63e35d4ceee6
5cc7f0bfadbddf29671419a6a64b6046d055ddee
/database/mysql_connector.py
3e498755590152fdfc82779586e02e71ab1041b6
[ "LicenseRef-scancode-warranty-disclaimer", "CC-BY-NC-4.0", "BSD-2-Clause", "MIT" ]
permissive
webbpinner/openrvdas
270e661b9e4adff76cdb42cc200dfd7e1aa373ae
10342586e7406d55b72031f9b54ce2feb10f2f1a
refs/heads/master
2023-08-20T18:24:23.535467
2023-05-25T15:05:03
2023-05-25T15:05:03
137,220,057
0
0
MIT
2018-06-13T13:33:48
2018-06-13T13:33:45
Python
UTF-8
Python
false
false
12,452
py
#!/usr/bin/env python3 """Tables: data: pk timestamp field_name field_value source_record We don't know what type each value will have, so have a column for int, float, str and bool and leave all but the appropriate value type NULL. Docs claim that NULL values take no space, so... Still so many ways we could make ...
[ "david.cohn@gmail.com" ]
david.cohn@gmail.com
85e231fb8ba4cfd6c1162cb823ec5bb8281d3e38
0920b50773cfd231137d2383695a6730d0678628
/pylib/options.py
aa0c0975c42ce82b8eb23f47fdaaa066b16f3010
[]
no_license
chyser/bin
05b67cf299b0e427e253abc42ca015fcdec8e84c
b54f23c6c5f1f19e426ee06c9e9faf9f561ee9a9
refs/heads/master
2021-01-19T19:35:05.801722
2015-08-19T17:58:29
2015-08-19T17:58:29
17,319,228
1
0
null
null
null
null
UTF-8
Python
false
false
23,201
py
#!/usr/bin/env python """ Library: """ from __future__ import print_function from __future__ import division from __future__ import unicode_literals from __future__ import absolute_import import sys import glob class MOptException(Exception): pass #------------------------------------------------------------------...
[ "chris.hyser@oracle.com" ]
chris.hyser@oracle.com
92c59a1156df87073eec8744b9a4011e1e6fd657
f07e66293cc41a9fe71fc44f765b432fd7a0997c
/selfdrive/controls/lib/cluster/SConscript
97eb4300d4da6618962e0430ca534fc43fb0640f
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
kegman/openpilot
c9ba96a72d905956f02c684e065091e023942883
b35291c91783657a5fc83abfff012d3bb49dd89f
refs/heads/kegman-ultimate
2022-05-22T17:07:16.656336
2021-10-25T13:35:28
2021-10-25T13:35:28
229,979,925
105
212
MIT
2022-03-13T05:47:51
2019-12-24T17:27:11
C
UTF-8
Python
false
false
185
Import('env') fc = env.SharedLibrary("fastcluster", "fastcluster.cpp") # TODO: how do I gate on test #env.Program("test", ["test.cpp"], LIBS=[fc]) #valgrind --leak-check=full ./test
[ "user@comma.ai" ]
user@comma.ai
f68c67977383e7d333b30f0ea34c322410459cb5
4fee75068edcf2fb64074e84b150ad7a744e55df
/stock_market.py
68549a9b79b0e8db27072edb80be07758f86993f
[]
no_license
satee143/zebuapi
5311e1b7011dc86e311fddc0355f02cc89474205
1fa57ffc1802fac2bfa6bee06125a2ea68c0756a
refs/heads/master
2022-12-07T00:20:42.126203
2020-08-26T18:15:28
2020-08-26T18:15:28
280,687,836
1
2
null
null
null
null
UTF-8
Python
false
false
91
py
from nsetools import Nse nse = Nse() q = nse.get_quote('infy') print(type(q)) # pprint(q)
[ "sdoosa@insulet.com" ]
sdoosa@insulet.com
e9529238cbc47916e001451674d12f106fbd8037
4dd5dbebc7b7f6dbfcbd6cc662311c91ad6d47e9
/AtCoder/AGC030A.py
641bf990c39cb0b7b2f7bfded4df6569c61e550e
[]
no_license
sourjp/programming_contest
aa6925b3317bd3aeb646df93a611af1199bfc7aa
2a50e1be45441789e81eb49bfdfc0c598d2a534b
refs/heads/master
2021-04-01T05:08:44.097226
2020-08-20T13:01:55
2020-08-20T13:01:55
248,158,920
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
a, b, c = map(int, input().split()) cnt = 0 if a + b + 1>= c: ans = b + c else: ans = b + a + b + 1 print(ans)
[ "hiro0209.ki@gmail.com" ]
hiro0209.ki@gmail.com
99d58cfffec18317f497271c87e04c101c9d5fbf
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/rdbms/azure-mgmt-rdbms/generated_samples/mysql/server_security_alerts_create_max.py
702f9e0bb6a8a7da00508fb08c8a992824a0c71c
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
2,227
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" ]
Azure.noreply@github.com
db123b88102b476b1f7aa06f89b3742fe4ef29c6
805a795ea81ca8b5cee1dec638585011da3aa12f
/MAIN/2.79/python/lib/test/test_asyncio/test_events.py
28d92a9f4e3eac21e2aed7993f0e60dbd7ff1e89
[ "Apache-2.0" ]
permissive
josipamrsa/Interactive3DAnimation
5b3837382eb0cc2ebdee9ee69adcee632054c00a
a4b7be78514b38fb096ced5601f25486d2a1d3a4
refs/heads/master
2022-10-12T05:48:20.572061
2019-09-26T09:50:49
2019-09-26T09:50:49
210,919,746
0
1
Apache-2.0
2022-10-11T01:53:36
2019-09-25T19:03:51
Python
UTF-8
Python
false
false
102,515
py
"""Tests for events.py.""" import collections.abc import functools import gc import io import os import platform import re import signal import socket try: import ssl except ImportError: ssl = None import subprocess import sys import threading import time import errno import unittest from unittest import mock ...
[ "jmrsa21@gmail.com" ]
jmrsa21@gmail.com
f7a2225fb76bf9459f66776aa69b4cf0239c4723
64d4e61c73d158a81300b4c43767971a512f66e9
/KingPhisherServer
bfe4504a4c49194e930b70de7a8939fcf7654b47
[ "BSD-3-Clause" ]
permissive
nebooben/king-phisher
82f384da8686149f270d0a117a5536fc56bc949a
23ea1f2749cd7af031025802557e9b84d5c74ece
refs/heads/master
2021-01-18T12:17:15.088018
2015-09-22T20:37:42
2015-09-22T20:37:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,103
#!/usr/bin/python -B # -*- coding: utf-8 -*- # # KingPhisherServer # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of co...
[ "zeroSteiner@gmail.com" ]
zeroSteiner@gmail.com
98d4b751487188eba562b6871a2298cb5ea68deb
34d5ebe9e6de9d6742c234dabfa9b38f0adb7774
/carriage_return/ui.py
6b4e0f2958482b03ef044f9c62842f0bd045a463
[]
no_license
campagnola/return-to-carriage
f37acaf8e41ccf04e7089018574732a1fdcd2a64
eeb7f31b16e2c236c875c867a0295173fa6f4b0a
refs/heads/master
2021-08-05T14:02:49.988526
2021-07-31T08:38:17
2021-07-31T08:38:17
84,014,684
0
2
null
2021-07-30T02:48:13
2017-03-06T00:55:55
Python
UTF-8
Python
false
false
4,518
py
import numpy as np import vispy.scene, vispy.app import vispy.util.ptime as ptime from .input import InputDispatcher, CommandInputHandler from .graphics import TextBox from .console import CommandInterpreter class MainWindow: """Implements user interface: graphical panels, key input handling """ def __in...
[ "luke.campagnola@gmail.com" ]
luke.campagnola@gmail.com
e2df404f234ab3d108cbda675d9190679f716fdd
feccf7588777becba68921c0bfade3e21f5210ce
/airflow/providers/google/ads/_vendor/googleads/v12/services/services/feed_mapping_service/client.py
47bde342b33c5b65eb11046e4f5b390987d25d06
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
francescomucio/airflow
f17ed9abd8b41d8a2227deca052508edf12f1cbf
c199b1a10563a11cf24436e38cb167ae82c01601
refs/heads/master
2023-04-14T17:44:53.438246
2023-04-06T06:44:23
2023-04-06T06:44:23
217,327,641
0
0
Apache-2.0
2020-09-09T13:26:47
2019-10-24T15:06:52
Python
UTF-8
Python
false
false
20,872
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" ]
francescomucio.noreply@github.com
89a83059cc975cbb899bcbf35c4ce9000b7da5e0
59166105545cdd87626d15bf42e60a9ee1ef2413
/test/test_watermill_api.py
9b7b62efa75df5f6b212c5921dfa2cb31da4fd6a
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
957
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import dbpedia from dbpedia.api.watermill_api import WatermillApi ...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
ce66f81dd62ef4c454b93bada3202dfdabc764a2
adbb2b958296815f9485bab60c0d38827befeeeb
/build/lib.linux-i686-2.7/gdrivefs/change.py
394f5bedbdc47e5902688e014679cddbd2e96977
[ "MIT" ]
permissive
gryphius/GDriveFS
4b4619e1eefceb562ded6ae13dcc9a2c5b4c0a1b
fadfbdea019cfa4c2a821f4636380edbc8be32bc
refs/heads/master
2021-01-18T14:14:32.028542
2013-04-24T06:17:03
2013-04-24T06:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,892
py
import logging from threading import Lock, Timer from gdrivefs.gdtool import AccountInfo, drive_proxy from gdrivefs.conf import Conf from gdrivefs.cache import PathRelations, EntryCache from gdrivefs.timer import Timers def _sched_check_changes(): logging.debug("Doing scheduled check for changes.") get...
[ "myselfasunder@gmail.com" ]
myselfasunder@gmail.com
5260e5f6e9e62dff2851c2a69b0d9942a5673c04
ccbb7fb8fda4d936e765263f05a435058b397bd9
/src/guiltytargets/ppi_network_annotation/pipeline.py
4556892fb1e8316cdaac58aa4319506234f86649
[ "MIT" ]
permissive
GuiltyTargets/guiltytargets
5a5d3ba9e45867a64c81a91529ae6689f8be447f
c20a5cae6c9cc71c2ca73080a862abe986bc34c0
refs/heads/master
2022-02-13T03:30:49.705239
2021-12-22T12:51:20
2021-12-22T12:51:20
154,318,881
10
5
null
null
null
null
UTF-8
Python
false
false
3,627
py
# -*- coding: utf-8 -*- """Functions to easily set up the network.""" import logging from typing import List, Optional from .model.gene import Gene from .model.network import Network from .parsers import parse_csv, parse_disease_associations, parse_disease_ids, parse_excel, parse_ppi_graph __all__ = [ 'generate...
[ "cthoyt@gmail.com" ]
cthoyt@gmail.com
8f15048573ae6cf53c784fe29bb50ef7345fb154
99701affb7ae46c42c55484f3301d59f79294a10
/project/Examples/Examples/PP2E/Dstruct/Basic/inter2.py
200364cc5828b3f08ae4bba0989169e3e39861b8
[]
no_license
inteljack/EL6183-Digital-Signal-Processing-Lab-2015-Fall
1050b9e9bddb335bf42b7debf2abebe51dd9f9e0
0f650a97d8fbaa576142e5bb1745f136b027bc73
refs/heads/master
2021-01-21T21:48:21.326372
2016-04-06T20:05:19
2016-04-06T20:05:19
42,902,523
7
1
null
null
null
null
UTF-8
Python
false
false
605
py
def intersect(*args): res = [] for x in args[0]: # scan the first list for other in args[1:]: # for all other arguments if x not in other: break # this item in each one? else: res.append(x) # add common items to the end return ...
[ "inteljack2008@gmail.com" ]
inteljack2008@gmail.com
5582e0c04ffcb5fecce6af3812ec4c05c1be9fb2
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/thnhatrangvn.py
220429db599deaabf7822d301bccd557a783a259
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@class='home-center']/div[@class='product-info']/div[@class='product-name']/h1", 'price' : "//div[@class='product-right']/div[@c...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com
9cbdd8a6c6170a9d1d5a9ca37e428a2e16bc6c22
309d17b81cea038713ba67bee72a41d2df4d6869
/Python/Python_basic/Python_OOP/OOP21_composition2.py
86f25cef9fcfcf5256d11e83738ff6e7e74ed70b
[]
no_license
Bongkot-Kladklaen/Programming_tutorial_code
ac07e39da2bce396e670611884436b360536cdc5
cda7508c15c3e3d179c64b9aac163b6173ef3519
refs/heads/master
2023-06-20T13:14:17.077809
2021-07-18T04:41:04
2021-07-18T04:41:04
387,081,622
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
class Printer: def print_page(self, data): print("printing {}".format(data)) class Scanner: def scan_page(self): print("scanning...") class Fax: def fax_page(self,number): print("faxing to {}".format(number)) class Aio: # All in one printer def __init__(self, p, s,f): se...
[ "bongkot.klad@gmail.com" ]
bongkot.klad@gmail.com
7bd0879f9babbc70ad3e7b46acda567a0352685e
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/nltk-3.2-py27_0/lib/python2.7/site-packages/nltk/chunk/util.py
0027fab667b850ac00ae34418c66c68f13313f1e
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
21,251
py
# Natural Language Toolkit: Chunk format conversions # # Copyright (C) 2001-2015 NLTK Project # Author: Edward Loper <edloper@gmail.com> # Steven Bird <stevenbird1@gmail.com> (minor additions) # URL: <http://nltk.org/> # For license information, see LICENSE.TXT from __future__ import print_function, unic...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
ea8ca2060f2262c3ecaf0c88506fad93bb81a001
eb54d732b5f14f03d9bf2988c6157605c80bbdd5
/bubble_sort.py
e599bb7065016d2e01b3e67d5e93e3dc4947d828
[]
no_license
tngo0508/practice_coding
2e60519fed83a9b3c28b52c2d5ec1ee1d2a609ed
453c9a7b9a8aa80f37b245f9df447525a9b0a2d1
refs/heads/master
2022-03-27T01:44:56.589650
2020-01-05T18:58:31
2020-01-05T18:58:31
225,294,423
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
def bubble_sort(nums): for i in range(len(nums) - 1, 0, -1): for j in range(i): if nums[j] > nums[j + 1]: nums[j], nums[j+1] = nums[j+1], nums[j] print(nums) return nums print(bubble_sort([4, 1, 0, 3, 5, 1, 2, 6]))
[ "tngo0508@gmail.com" ]
tngo0508@gmail.com
86a2d304179a0d4d021966bafce213f4365d57c2
84290c584128de3e872e66dc99b5b407a7a4612f
/Statistical Thinking in Python (Part 2)/Bootstrap confidence intervals/Visualizing bootstrap samples.py
325418de26f528e09ecafe5c6554c241dae959c8
[]
no_license
BautizarCodigo/DataAnalyticEssentials
91eddc56dd1b457e9e3e1e3db5fbbb2a85d3b789
7f5f3d8936dd4945ee0fd854ef17f04a04eb7b57
refs/heads/main
2023-04-11T04:42:17.977491
2021-03-21T19:05:17
2021-03-21T19:05:17
349,784,608
0
1
null
null
null
null
UTF-8
Python
false
false
534
py
for _ in range(50): # Generate bootstrap sample: bs_sample bs_sample = np.random.choice(rainfall, size=len(rainfall)) # Compute and plot ECDF from bootstrap sample x, y = ecdf(bs_sample) _ = plt.plot(x, y, marker='.', linestyle='none', color='gray', alpha=0.1) # Compute and plot E...
[ "78171986+BautizarCodigo@users.noreply.github.com" ]
78171986+BautizarCodigo@users.noreply.github.com
391a306f78fe5c96c880603c95534afa317eb828
874f8db726d5ce5da971dbd54aac58f0b3176d78
/aa通用的工具类或方法/一个通用的mongodb类.py
688e8d6c4c304fd0c6613395dc49c4fed7d13fcf
[]
no_license
Social-Engineering-OrigData/python
a8442ab5b3a772ddfc568eb5e386b11074c5bf93
6dde78f75e2a3306bccdc0085a44751cf2b901ca
refs/heads/master
2021-09-09T12:56:09.781127
2018-03-16T09:34:17
2018-03-16T09:34:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
#!/usr/bin/env python # encoding: utf-8 ''' @contact: wersonliugmail.com @File : 一个通用的mongodb类.py ''' from pymongo import MongoClient """ 在爬虫存数据时使用,不需要事先建立数据库,直接存字典 """ class MyMongo: def __init__(self, dbname, colname): """ :param dbname: 初始化 命名自己的库 :param colname: 初始化 命名自己的表(集合)...
[ "wersonliu@gmail.com" ]
wersonliu@gmail.com
35380b0997d3dc37aa77773fe400ca9768d179f3
9c05ec071dda2aa98ea1b12d9703dd91df19c87d
/quantum/hooks.py
2c6a587a6d593503d2bbf9fee3977197c254c5db
[ "Apache-2.0" ]
permissive
DestinyOneSystems/quantum
af6ff44dd5e8cff944e53946f60adb11efb47bd5
d7eafd8ffa719d91108b230221ecf27531a3530d
refs/heads/master
2020-04-05T18:59:00.584768
2013-10-21T02:41:15
2013-10-21T02:41:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Hewlett-Packard Development Company, L.P. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://...
[ "mordred@inaugust.com" ]
mordred@inaugust.com
30f7edb35eef5cce6d855b50be7fff21042a064c
39257f596d4ec7840e39c8267b3444443e89ebba
/src/pyff/pipes.py
b76c3853b4c2b50602eb6f904f16bc38eee2d586
[ "BSD-2-Clause" ]
permissive
lhoekenga/pyFF
ff6921410d46687528d84e416cbdafa6af46b164
a0413d34744ddbf95904d0d933524589a039c025
refs/heads/master
2021-08-22T09:49:56.160558
2017-11-27T09:58:08
2017-11-27T09:58:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,028
py
""" Pipes and plumbing. Plumbing instances are sequences of pipes. Each pipe is called in order to load, select, transform, sign or output SAML metadata. """ import traceback try: from cStringIO import StringIO except ImportError: # pragma: no cover print(" *** install cStringIO for better performance") f...
[ "leifj@sunet.se" ]
leifj@sunet.se
233285c17f75cb0cf8903cbacdeb74bbe001281d
8fcdcec1bf0f194d23bba4acd664166a04dc128f
/packages/gcTool.py
bd22a08d82b189ff60330613fa6b6795e709fd48
[]
no_license
grid-control/grid-control
e51337dd7e5d158644a8da35923443fb0d232bfb
1f5295cd6114f3f18958be0e0618ff6b35aa16d7
refs/heads/master
2022-11-13T13:29:13.226512
2021-10-01T14:37:59
2021-10-01T14:37:59
13,805,261
32
30
null
2023-02-19T16:22:47
2013-10-23T14:39:28
Python
UTF-8
Python
false
false
19
py
grid_control_api.py
[ "stober@cern.ch" ]
stober@cern.ch
f138655f1c273477db99f1f85129ea718053c624
1a2cbc44bfcda1eafe4e8513de8541d8cd49bd08
/fts/test_t1_amend_user2.py
f8bebf459f343d1e016841a1993e789e179cfd24
[ "LicenseRef-scancode-public-domain" ]
permissive
DonaldMc/gdms
d62d34585a3914330cc933476dcb0d3ab750b7d8
7bfdf40d929afab2e204256c781c3700f6e24443
refs/heads/master
2021-01-18T12:38:55.798638
2016-05-30T18:59:55
2016-05-30T18:59:55
56,460,151
0
0
null
2016-05-30T20:59:22
2016-04-17T21:44:40
Python
UTF-8
Python
false
false
3,486
py
from functional_tests import FunctionalTest, ROOT, USERS from ddt import ddt, data, unpack from selenium.webdriver.support.ui import WebDriverWait import time from selenium.webdriver.support.ui import Select # Testuser1 - stays as unspecified # Testuser2 - specifies Africa and unspecified country and subdivision # Te...
[ "donaldm2020@gmail.com" ]
donaldm2020@gmail.com
c85113890b4775751eea8a0787ac818401ea92d5
c660fdd49861211926a9dac0206d3856002ff2a8
/smbl/prog/plugins/samtools.py
e203b8094d9a9201ecb7919fbc2f9595a2242875
[ "MIT" ]
permissive
hermanzhaozzzz/smbl
d493a8b7ecfaf961c7ca7280d94c945a3e4e3b92
5922fa2fc4060d86172e991361a1cceb0af51af8
refs/heads/master
2021-06-23T11:27:57.869235
2017-08-19T02:21:51
2017-08-19T02:21:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
import smbl import snakemake import os from ._program import * SAMTOOLS = get_bin_file_path("samtools") ########################################## ########################################## class SamTools(Program): @classmethod def get_installation_files(cls): return [ SAMTOOLS, ] ...
[ "karel.brinda@gmail.com" ]
karel.brinda@gmail.com
ee8aad80ea9fe488f536a12acb866395bcbdfc70
c26dc7928b1facac2c0912f6532076d35c19e835
/devel/lib/python2.7/dist-packages/cob_object_detection_msgs/srv/__init__.py
8d01ac1030bab33d482fd8bc39a91912a52446bc
[]
no_license
mattedminster/inmoov_ros
33c29a2ea711f61f15ad5e2c53dd9db65ef6437f
e063a90b61418c3612b8df7876a633bc0dc2c428
refs/heads/master
2021-01-23T02:39:36.090746
2017-08-09T02:56:42
2017-08-09T02:56:42
85,995,826
0
0
null
2017-03-23T20:45:32
2017-03-23T20:45:32
null
UTF-8
Python
false
false
309
py
from ._AcquireObjectImage import * from ._BaTestEnvironment import * from ._BagTrainObject import * from ._ComputeGraspsVacuumGripper import * from ._DetectObjects import * from ._SaveRecordedObject import * from ._StartObjectRecording import * from ._StopObjectRecording import * from ._TrainObject import *
[ "mattedminster@gmail.com" ]
mattedminster@gmail.com
1390212b59f1a609de481080cfa340b8b55b6dfd
b144928d199550e0fd2a0a0a21224e4f463e4bc6
/src/cmssh/filemover.py
bbc8b2abf265ef902f6c600bfe786fe4a2ff5e37
[]
no_license
dmwm/cmssh
84f91ca1bb401dc052dcde1f58f42ecee48a3438
0cd6e104185938d21b10b053479e890c9f4f3b57
refs/heads/master
2016-09-10T19:13:29.567153
2014-03-06T20:45:05
2014-03-06T20:45:05
2,615,169
2
0
null
2012-11-28T18:24:41
2011-10-20T18:23:41
Python
UTF-8
Python
false
false
27,912
py
#!/usr/bin/env python """Filemover cli equivalent""" # system modules import os import re import sys import json import stat import time import thread import urllib import urllib2 import datetime from multiprocessing import Process # for DBS2 XML parsing import xml.etree.ElementTree as ET # cmssh modules from cmssh...
[ "vkuznet@gmail.com" ]
vkuznet@gmail.com
df75da1c4cd20551725bfd015ced8926d141dbca
62e4030268aa2835a4806864cb70055675724471
/docs/conf.py
1016182d33de160fe22db4afafdff318e041a7bc
[]
no_license
aisis/FoxDotCode
291507fe16f5a56b8fed312827712db213d78e83
186175f76873771e13b4aa1fa714201ab98c4efe
refs/heads/master
2021-01-15T13:35:20.524593
2016-03-13T13:16:44
2016-03-13T13:16:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,385
py
# -*- coding: utf-8 -*- # # FoxDot documentation build configuration file, created by # sphinx-quickstart on Sun Feb 21 22:04:59 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # Al...
[ "ryankirkbride26@gmail.com" ]
ryankirkbride26@gmail.com
47ede935441605d7d56f33de91b7e10d1f544291
930309163b930559929323647b8d82238724f392
/sumitb2019_c.py
8ebf6c2adc23f64ec6e3e5122b0e1896defd65e2
[]
no_license
GINK03/atcoder-solvers
874251dffc9f23b187faa77c439b445e53f8dfe1
b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7
refs/heads/master
2021-11-07T14:16:52.138894
2021-09-12T13:32:29
2021-09-12T13:32:29
11,724,396
3
1
null
null
null
null
UTF-8
Python
false
false
210
py
import itertools X = int(input()) ps = [100, 101, 102, 103, 104, 105] dp=[0]*(X+1) dp[0] = 1 for p in ps: for i in range(len(dp)): if i >= p: dp[i] = max(dp[i], dp[i-p]) print(dp[X])
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
56583f3316a24edddd70b4a0f9c935cbd4ceb946
3b79a802f8dd9f26bee0bfde4630ac0cab932803
/srcSegcls/getEventSegDF.py
b004b92f2a243f693794a4efdb8cca0d07350ef9
[]
no_license
qolina/Twevent
87fc4706564088361e9db6ddc44efc10647e67fe
4b90b0604493b20dee90448c17e0a8e0d557165e
refs/heads/master
2021-06-24T19:06:02.022882
2017-08-15T05:20:09
2017-08-15T05:20:09
100,341,172
1
0
null
null
null
null
UTF-8
Python
false
false
5,338
py
#! /usr/bin/env python #coding=utf-8 import time import re import os import math import cPickle ############################ ## load tweetID-usrID def loadUsrId(filepath): usrFile = file(filepath,"r") tweIdToUsrIdHash = cPickle.load(usrFile) usrFile.close() return tweIdToUsrIdHash ####...
[ "qolina@gmail.com" ]
qolina@gmail.com
b6c7bc0863d3be11b0c5fdaf4028d0651061b62a
3ee0418421955d01558b1c623def251932bcfc01
/python-examples/marble_sort/write_json.py
b3388c9cc682286c4a2476f1d08641cbb8ddb79c
[ "MIT" ]
permissive
pep-dortmund/mindstorms
89f426930516155bb75f52b9fdd24a0b64fc0951
9e6be52545e21ab8ba3bca7e1b0e64ed2320366d
refs/heads/master
2021-01-01T19:19:26.508803
2017-04-29T11:39:35
2017-04-29T11:39:35
38,932,641
1
0
null
null
null
null
UTF-8
Python
false
false
658
py
from argparse import ArgumentParser import zmq import json parser = ArgumentParser() parser.add_argument('outputfile') parser.add_argument('-p', '--port', type=int, default=5000) context = zmq.Context() socket = context.socket(zmq.REP) def main(): args = parser.parse_args() socket.bind('tcp://0.0.0.0:{}'.fo...
[ "maximilian.noethe@tu-dortmund.de" ]
maximilian.noethe@tu-dortmund.de
6afad1eb9a9749a808aa04ff852f4ed7cf4fb72b
889d13d15084f12e84731f48f50c72169f4ca45f
/public/class03demos/class03p10.py
d49c82eb8a80a9c4ac35087d43a3a802aada5e9c
[]
no_license
puneet-khatod/ml4us
1bb4a661f3d59d8d0b7ff9e959b2f51324c7a9c9
917cdac85086bfc82f03e3db3ba8e7b15f9c407b
refs/heads/master
2021-05-06T15:59:13.646649
2017-12-09T08:03:30
2017-12-09T08:03:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
""" class03p10.py This script should use Pandas to plot prices of GSPC for 2016. """ import pandas as pd import matplotlib.pyplot as plt csvfile = 'http://spy611.herokuapp.com/csv/allpredictions.csv' # Goog: In pandas how to sort a dataframe? cp_df = pd.read_csv(csvfile).sort_values(['cdate']) # Goog: In pandas how ...
[ "bikle@bikle.com" ]
bikle@bikle.com
cd4907ec3488eeaa4af0b6adb78c6fe463d8811d
4142b8c513d87361da196631f7edd82f11465abb
/python/round135/219A.py
84c2546d1739cabe735229c97479d28929b9d4e4
[]
no_license
npkhanhh/codeforces
b52b66780426682ea1a3d72c66aedbe6dc71d7fe
107acd623b0e99ef0a635dfce3e87041347e36df
refs/heads/master
2022-02-08T17:01:01.731524
2022-02-07T10:29:52
2022-02-07T10:29:52
228,027,631
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from collections import Counter k = int(input()) s = input() d = Counter(s) res = '' for t in d: val = d[t] if val % k == 0: res += t * (val // k) else: res = '-1' break if res != '-1': res *= k print(res)
[ "npkhanh93@gmail.com" ]
npkhanh93@gmail.com
9d7639d189d421797740d682aac51312abee9e92
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4011/codes/1745_1531.py
f673af6f93026f7831e6b2d8cc72542a9d884f67
[]
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
244
py
from math import* x = eval(input("radiano: ")) k = int(input("Quantidade de termos da serie: ")) n = 0 soma = while(n < k): n = n + 1 sinal = (x**(2 + 2*n)/factorial(2*n)) sinal = - sinal soma = sinal + sinal print(round(serie, 10))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
f5dd2bb68d941f22a8ece354d5ebe4a7ff628fca
736250d9d14552c5fa0aca25b25d9c8a28fcd1a0
/mtmpro/mtmapp/migrations/0001_initial.py
42368fcde0eff7c119ef4b9236f3139dcdb96da7
[]
no_license
maheswatapradhan/feedback
57f052a2082902cb8a72b474e0b863b7a00d1c9c
31c7dcb113a38e29b3a56481fcb9ae2fce7d61a2
refs/heads/master
2020-09-15T23:42:32.041306
2019-11-23T12:54:25
2019-11-23T12:54:25
223,585,900
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2019-09-16 11:09 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Course', ...
[ "test@test.com" ]
test@test.com
e92bb7009b48dbf53be81f216d049bab6787cdce
5d61565651b7ba5fa8fade3313a5e82fca8b6686
/login/migrations/0003_auto_20190709_2213.py
58c72a12c002fd6586fd9fbdb94b2ed1aaacc6c2
[]
no_license
lonelyxmas/ISMS
d597b00072bfa77907875f575b866fbb1fb53295
08c5e2f3518fc639cf1a1f2869f4b2f3ae58e306
refs/heads/master
2023-08-14T12:02:59.001215
2021-03-22T03:34:58
2021-03-22T03:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
# Generated by Django 2.1.4 on 2019-07-09 14:13 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('login', '0002_auto_20190704_0826'), ] operations = [ migrations.AlterField( model_name='user', name='FID...
[ "11325818@qq.com" ]
11325818@qq.com
db9503f8d4917677b10f97a48c4f912d05a9290a
acc244c97a943d8e2074339afa1bff1274ae4cfc
/CGATPipelines/PipelineMedip.py
3f12a921f960aaedb163d725a83b325930f8e7fb
[]
no_license
eromasko/cgat
00114f4c95b439ba6595ddf2092d1a3307347401
d82d197f3913b8d65b656c0b205ca48854fdb2a6
refs/heads/master
2021-01-17T09:37:17.168278
2015-02-20T09:03:31
2015-02-20T09:03:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,824
py
''' PipelineMedip.py - tasks associated with MedipSeq analysis ========================================================== ''' import re import os import collections import sqlite3 import CGAT.Experiment as E import CGAT.Pipeline as P import CGAT.Database as Database import CGAT.IOTools as IOTools from rpy2.robject...
[ "andreas.heger@gmail.com" ]
andreas.heger@gmail.com
7a821db6e73317f1eda8b4668d934a936b9bc173
efb3d0c2f9fcc5be631323e31f4b8dfcdd0ab676
/compiler/tests/14_replica_column_test.py
c8d50a539879db74ee9e9e7d09880960e2cc6270
[ "BSD-3-Clause" ]
permissive
kanokkorn/OpenRAM
5f30beb35e3c161fbf0d233b59fe7d7805d3c348
3a9693e37fd3afbd52001839966b0f2811fb4ccd
refs/heads/master
2022-06-03T12:53:47.750245
2022-05-27T15:53:05
2022-05-27T15:53:05
189,780,330
0
0
BSD-3-Clause
2021-04-07T06:49:08
2019-06-01T21:47:50
Python
UTF-8
Python
false
false
1,291
py
#!/usr/bin/env python3 # See LICENSE for licensing information. # # Copyright (c) 2016-2021 Regents of the University of California # All rights reserved. # import unittest from testutils import * import sys, os sys.path.append(os.getenv("OPENRAM_HOME")) import globals from globals import OPTS from sram_factory import ...
[ "mrg@ucsc.edu" ]
mrg@ucsc.edu
7b205e91d3d2e6bea20b6b48b78dc7bf2b245db8
c908dacdc0006e247aa529dddb98bc1d67fbf7c8
/user.py
c2f9669f15bbddd02c3b88046a27e25547ba194d
[]
no_license
TomeCirun/flask_blog
40e3bd041fd7ba376c181073c92e19f296aca928
de34ac14e2e3e2044e3f327e288eefadf34b7faf
refs/heads/main
2023-03-05T13:51:37.335673
2021-02-17T12:04:00
2021-02-17T12:04:00
339,709,097
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
class User(): def __init__(self,id,username,password): self.id = id self.username = username self.password = password def __str__(self): return f'User Id: {self.id}'
[ "cirun@live.com" ]
cirun@live.com
7332bb72184308f1c755b9859e825e727dc18a52
2205363ea412aae36aa2c5f8b7d608cd8a158a03
/Personal_Blog/Pb/Pb/settings.py
d3f8de8c66bb1455f934b84f6bb3190cd42b086b
[]
no_license
Akanksha2403/HacktoberFest2020
986ef7ba5595679085e5159d35c5a30d9e91ebc5
789762e3a4a3ad23fd2c1ca3b6cc3bc8f39eed82
refs/heads/master
2023-08-28T04:25:07.466359
2021-10-20T10:16:46
2021-10-20T10:16:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,674
py
""" Django settings for Pb project. Generated by 'django-admin startproject' using Django 3.2.6. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import ...
[ "lit2020026@gmail.com" ]
lit2020026@gmail.com
38ffeefe71c4acb79a5a838efeb26765465afa7f
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/bin/iptest
62ac6036fc5f261d69ea933bb91ed9bee7ded5ca
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
269
#!/Users/yenchiehliao/Dropbox/bisCrawler/venv/bin/python # -*- coding: utf-8 -*- import re import sys from IPython.testing.iptestcontroller import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com
412d94ad7ce1d9d7b92b6406d8aa5350f3f77fe9
2e79b8f2e4cc5ea10789de787f787fdc56137993
/leetcode/438.找到字符串中所有字母异味词.py
e1f674a878c118e39a1c3fa3bfafdb8b51fc9564
[]
no_license
wangye707/Test
d486ccb0947f6a83662a73fb56554260d1445c30
0d5fb8ea7da79d7d168d99f7158c8aa5757a1d35
refs/heads/master
2020-06-04T05:48:46.132054
2020-04-28T14:53:30
2020-04-28T14:53:30
191,894,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
#!D:/workplace/python # -*- coding: utf-8 -*- # @File : 438.找到字符串中所有字母异味词.py # @Author: WangYe # @Date : 2019/9/25 # @Software: PyCharm def findAnagrams(s, p): """ :type s: str :type p: str :rtype: List[int] """ out = [] need = {} for i in p: if i in need: need[i] +...
[ "1119744330@qq.com" ]
1119744330@qq.com
e170f688e59520f390ab02a6b3e1b52b161b747b
66bfac516682bc8c3c804a5b7414cfc8b3440186
/leads/apps/leads/serializers.py
5e9d220555f6c26071a166a7b386b109ee1a7eb8
[]
no_license
Izaiasjun1Dev/leads
190d1bf01f1809c34cb53582e0f1020c3d704b58
22a209b43fd0eb60218deba731c9bf189ea9568a
refs/heads/master
2023-04-05T15:15:39.834194
2021-03-30T11:35:36
2021-03-30T11:35:36
352,966,370
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from rest_framework import serializers from .models import Lead # Serializador lead class LeadSerializer(serializers.ModelSerializer): class Meta: model = Lead fields = '__all__'
[ "solucaoprogramer@gmail.com" ]
solucaoprogramer@gmail.com
71f27e6f44fc1dfef7571b27982acccf33236218
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/ring/siren.py
7f1b147471d271411715ee41520529c0afef4805
[ "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,678
py
"""Component providing HA Siren support for Ring Chimes.""" import logging from typing import Any from ring_doorbell.const import CHIME_TEST_SOUND_KINDS, KIND_DING from homeassistant.components.siren import ATTR_TONE, SirenEntity, SirenEntityFeature from homeassistant.config_entries import ConfigEntry from homeassist...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
f9d21162737f40168c323f56d4a303bf6211ce0c
c6d89d2507efe02ead1802649a769e021795b2b6
/categories/context_processors.py
cb9c2687489bdc34c2746a89d05b11c34a37b16c
[]
no_license
ikonitas/pleasuresallmine
b671b05d2f13428973cc19d39e58d0b56d1914f0
875e6067a202be801a9b1fddb27c4d313fd133f4
refs/heads/master
2021-05-29T19:50:39.812885
2014-11-27T21:22:22
2014-11-27T21:22:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
# coding=utf-8 from django.core.cache import cache from models import Category def list_categories(request): categories = cache.get('list_categories') if not categories: categories = Category.objects.filter( is_active=True).order_by('sort_order') cache.set('list_categories', cate...
[ "ikonitas@gmail.com" ]
ikonitas@gmail.com
29511c1e8bcf903725d957b2e420756cc1908ad8
29d7ba390d4b6046666f783e682ea248108ea900
/cbagent/__main__.py
09669d3c032cc65f432c457e3e7024f81dfcc2cd
[ "Apache-2.0" ]
permissive
pavel-paulau/cbagent
5f289fbaf08b997b55d270944d67f716ec1a127a
f905974d663e0320e55a00076d292cbf489e53d9
refs/heads/master
2020-04-26T09:55:43.761203
2014-07-31T12:41:18
2014-07-31T12:41:18
13,084,444
2
1
null
2014-06-19T02:15:22
2013-09-25T04:52:21
Python
UTF-8
Python
false
false
2,380
py
import sys from optparse import OptionParser from cbagent.collectors.active_tasks import ActiveTasks from cbagent.collectors.iostat import IO from cbagent.collectors.latency import Latency from cbagent.collectors.observe import ObserveLatency from cbagent.collectors.net import Net from cbagent.collectors.ns_server imp...
[ "pavel.paulau@gmail.com" ]
pavel.paulau@gmail.com
1fa53956af9d567b5bb6cde0572f8a7cb11d736f
70121257e52e0fd2f0895414fcee3c991737443a
/python_recipes/tfpreprocess_cifar.py
33aaef3fdca4998831ffa5306a3bf25f080ae646
[]
no_license
OlgaBelitskaya/cookbooks
2e54208bb5e5157814deea6ff71cd7ce5b1e4972
216dde3e5617203371ed4c4bb7d9e8391640c588
refs/heads/master
2021-07-11T15:56:44.923442
2021-03-25T08:38:46
2021-03-25T08:38:46
99,447,645
0
3
null
null
null
null
UTF-8
Python
false
false
1,672
py
import warnings; warnings.filterwarnings('ignore') import tensorflow as tf,numpy as np,pandas as pd import tensorflow_datasets as tfds from IPython.display import display,HTML pd.set_option('precision',3) tf.keras.backend.set_floatx('float64') tfds.disable_progress_bar() img_size=32 buffer_size,batch_size=10000,64 c1,...
[ "safuolga@gmail.com" ]
safuolga@gmail.com
c623380ca8277769f08041e14cc66374a1963eb7
5be7afab3f57b7b5365053700386c01bad7031e6
/quotes.toscrape.com/1.2.quote_web_scraping/spiders/quotes_spider.py
16b47d33a8206b7bb7caf819229b34ef62e264fb
[]
no_license
enji-coder/SCRAPY-PROJECTS
c0c76e1ef8697320a0cb9b3fa9155a158574a5c1
bd65e6f3cf83912bc082ef39aba702db6cc4465c
refs/heads/main
2023-06-20T19:11:36.764847
2021-08-04T04:39:08
2021-08-04T04:39:08
386,542,799
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
import scrapy class ExampleSpider(scrapy.Spider): name = 'quotes' allowed_domains = ['example.com'] start_urls = ['http://quotes.toscrape.com'] def parse(self, response): all_quotes = response.css('div.quote') # retrive all quotes title , author and tag details # note it re...
[ "47570231+enji-coder@users.noreply.github.com" ]
47570231+enji-coder@users.noreply.github.com
e6ea0a18c418751b3458be9dd1196e1a7f5514d0
2d13b3206b04d663eed9c5cfe7b6d273abaab33e
/2.Algorithm/pycharm/SW Academy/20200309/harvest.py
89098f8eaff5f7281c33299f947b60d69d741907
[]
no_license
hdp0545/TIL
0ba5378274f0076cd2b029581b292785a77207da
6d6e5e54373bd71606823e97b3a5fb2d63a2784e
refs/heads/master
2023-05-24T12:37:33.690750
2023-05-19T06:57:49
2023-05-19T06:57:49
235,004,133
1
0
null
null
null
null
UTF-8
Python
false
false
316
py
for test_case in range(1, int(input())+1): N = int(input()) matrix = [list(map(int, [n for n in input()])) for _ in range(N)] result = 0 c = N // 2 for i in range(N): di = (N//2) - abs(i - (N//2)) result += sum(matrix[i][c-di:c+di+1]) print('#{} {}'.format(test_case, result))
[ "hdp0545@gmail.com" ]
hdp0545@gmail.com
8cd2cc4ef6bde6bb958a5160732122d1e4d5c2af
b46513de1a1fe8eadbd01518fc6b8067de277aee
/vdbm/dumb.py
242e9f060e0925f6dc82f8bc9f9bc41d641c8dc1
[]
no_license
vrthra/taint-demo
b4b83f28727341d1723df1157e8a8ac67fc69097
9eb50f214dc5178b27ba7e4945441b31091037f9
refs/heads/master
2021-08-30T23:21:00.371936
2017-12-19T20:16:05
2017-12-19T20:16:05
114,804,336
0
0
null
null
null
null
UTF-8
Python
false
false
12,187
py
"""A dumb and slow but simple dbm clone. For database spam, spam.dir contains the index (a text file), spam.bak *may* contain a backup of the index (also a text file), while spam.dat contains the data (a binary file). XXX TO DO: - seems to contain a bug when updating... - reclaim free space (currently, space once o...
[ "rahul@gopinath.org" ]
rahul@gopinath.org
569c0fe40b397c4990eb34ce4716eead233cf51f
e0ede722874d222a789411070f76b50026bbe3d8
/practice/solution/0040_combination_sum_ii.py
522d0209dcadd27bc9829d15d2270d94bb200cd4
[]
no_license
kesarb/leetcode-summary-python
cd67456cb57bdff7ee227dab3930aaf9c2a6ad00
dc45210cb2cc50bfefd8c21c865e6ee2163a022a
refs/heads/master
2023-05-26T06:07:25.943854
2021-06-06T20:02:13
2021-06-06T20:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
class Solution(object): def combinationSum2(self, candidates, target): """ :type candidates: List[int] :type target: int :rtype: List[List[int]] """ self.res = [] self.dfs(0, sorted(candidates), target, []) return self.res d...
[ "weikunhan@g.ucla.edu" ]
weikunhan@g.ucla.edu
b7f7294d6eed3c6580709c80a3bbdedfde794b91
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03767/s342121711.py
e279603e0ad4d33f1c70bcc3c868122d20a4b586
[]
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
197
py
n = int(input()) a = list(map(int, input().split())) a.sort(reverse = True) list = [] for i, j in enumerate(a): if i % 2 == 1: list.append(j) answer = sum(list[0 : n]) print(answer)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
798efca679f2d54fa6c1a967b92fe1d157e03f55
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnfaulti.py
0db9ec8c46bcffabd20b375fd10825d23728bee3
[]
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
624
py
ii = [('CookGHP3.py', 1), ('SadlMLP.py', 2), ('MartHSI2.py', 1), ('LeakWTI2.py', 1), ('KembFJ1.py', 1), ('WilkJMC3.py', 1), ('WilbRLW5.py', 1), ('GellWPT2.py', 1), ('SeniNSP.py', 1), ('LyttELD.py', 1), ('AdamHMM.py', 1), ('ClarGE.py', 3), ('DaltJMA.py', 1), ('NewmJLP.py', 3), ('CoopJBT.py', 1), ('LeakWTI4.py', 1), ('Me...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
37d16ddeb7663fc42eb684c9fd238cc1286dc69c
6c202bfadef2d80242567be70e2437e384a96b20
/IO/IO.py
b7ef9cb9e50b01ac979792f2d15848dbfe3327fd
[]
no_license
hoylemd/Python
257acecc1bc6c0e21d7c9bffc2d3b8861add9dab
39e3863c87d83883d15e5db39a5fd5ce605b6ebb
refs/heads/master
2018-12-28T20:33:16.497465
2012-10-15T02:44:36
2012-10-15T02:44:36
1,898,329
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
# read a string from the terminal str = raw_input() # print it back out! print str
[ "hoylemd@gmail.com" ]
hoylemd@gmail.com
0d497de579e262500807394359bad38278397bee
90ea49bb872623a0fc117632df0232f26e078033
/redis_main.py
6e22c3d257bc2ca5b18745dc8e70d73601aefcc6
[ "MIT" ]
permissive
JX-Wang/Redis-servcie-T
e4612967a30c8c18ba5fa51aac91482e5f4f591a
26005d0b15defa8628220512046aadc94765bd5b
refs/heads/master
2020-06-17T04:39:28.779495
2019-07-09T12:35:38
2019-07-09T12:35:38
195,799,949
1
0
null
null
null
null
UTF-8
Python
false
false
263
py
# usr/bin/env python # coding:utf-8 """ redis Notes ============ Date@2019/7/9 Author@Wangjunxiong """ import redis try: r = redis.Redis(host="39.106.165.57", port=6379, db=0) r.get("msg") except Exception as e: print "Connect Error as -> ", str(e)
[ "1411349759@qq.com" ]
1411349759@qq.com
77e62c1c823d2937af521648a473b6f93b4731f7
2834298c6a50ff7cfada61fb028b9fd3fc796e85
/desenvolvimento/programas/magic_square.py
bc855866757b1a2961b256809c6df378cdebb02e
[]
no_license
ernestojfcosta/IPRP_LIVRO_2013_06
73841c45d000dee7fc898279d4b10d008c039fd0
a7bb48745ad2fbfeb5bd4bc334cb7203d8f204a4
refs/heads/master
2021-01-22T05:00:57.868387
2013-06-07T11:00:55
2013-06-07T11:00:55
10,548,127
0
1
null
null
null
null
UTF-8
Python
false
false
11,291
py
# ============= # magic_square_ # ============= # # *Simple operations with magic squares.* # # Copyright (c) 2007 `Alec Mihailovs`_ <alec@mihailovs.com> # All rights reserved. Licensed under the `MIT License`_ . # # .. _magic_square: http://mihailovs.com/Alec/Python/magic_square.html # # .. _`Alec Mihailovs`: htt...
[ "ernesto@dei.uc.pt" ]
ernesto@dei.uc.pt