blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
bd4729ff85922958db26d5f82aed1c139426fa59
44d62941c162ad3436194dfb2fe1ab4e56abb074
/src/cromlech/marshallers/_yaml.py
d811177a3d00a0c3c74cb559c89725a58afbd88d
[]
no_license
Cromlech/cromlech.marshallers
359987e0831864011d6ac4336ae055ca3ce08cc8
e5846871fac1338a86945863fef3885e2275e701
refs/heads/master
2023-01-18T22:27:42.346998
2020-11-27T11:44:31
2020-11-27T11:44:31
114,695,468
1
2
null
2017-12-21T11:07:39
2017-12-18T22:50:31
Python
UTF-8
Python
false
false
584
py
# -*- coding: utf-8 -*- try: import yaml except ImportError: # FIXME: debug log. pass else: from .prototype import Marshaller class YAMLMarshaller(Marshaller): @staticmethod def loads(string): return yaml.load(string, Loader=yaml.FullLoader) @staticmethod ...
[ "trollfot@gmail.com" ]
trollfot@gmail.com
9c8b1da54522147374bddb468dc999122717d4c4
4cc4d9d488939dde56fda368faf58d8564047673
/tools/test/connectivity/acts/tests/google/ble/power/GattPowerTest.py
31b07a91217ca2500715ebd09fba26d419d436e3
[]
no_license
Tosotada/android-8.0.0_r4
24b3e4590c9c0b6c19f06127a61320061e527685
7b2a348b53815c068a960fe7243b9dc9ba144fa6
refs/heads/master
2020-04-01T11:39:03.926512
2017-08-28T16:26:25
2017-08-28T16:26:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,363
py
#/usr/bin/env python3.4 # # Copyright (C) 2016 The Android Open Source Project # # 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...
[ "xdtianyu@gmail.com" ]
xdtianyu@gmail.com
a81259f7c9ef1b66bd24c90d89287f557aebea16
14028bea18dcd4f89fca2306bf51dcbf6acabb44
/apps/accounts/migrations/0003_auto_20220706_1806.py
6e1bec6eab52bc143b82038f02125412395485ff
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
CMSgov/bluebutton-web-server
5694c7149d9f2f6efed9a2814c928d8a7539e4cb
fb0904c0b9d77dfb00523fe6ce69b946b640441e
refs/heads/master
2023-09-01T18:17:31.088628
2023-08-25T20:43:14
2023-08-25T20:43:14
50,062,960
30
33
NOASSERTION
2023-09-14T10:24:34
2016-01-20T21:52:00
Python
UTF-8
Python
false
false
959
py
# Generated by Django 2.2.28 on 2022-07-06 18:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20210624_1454'), ] operations = [ migrations.AddField( model_name='activationkey', name='acti...
[ "noreply@github.com" ]
CMSgov.noreply@github.com
a6c57fe1e6226360556c1d8f9ded00240ce61dd9
04f83aab47940b739f13c1ba102c230372966c43
/SHyFTScripts/python/getEvents.py
9b2126c67e630cc0d76f267fb1ab99a26ae217aa
[]
no_license
PerilousApricot/SUSHyFT-Analyzer
5a11909963d30c8ad7f19f499253a6753e78608a
9f5ba528a96203459c52a0434b32311a16e2ff3b
refs/heads/master
2016-09-15T15:31:30.617286
2016-03-14T20:32:09
2016-03-14T21:02:28
21,915,887
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
#!/usr/bin/env python2.6 # Import everything from ROOT import sys import os.path oldargv = sys.argv[:] sys.argv = [] import ROOT from ROOT import TMath ROOT.gROOT.Macro("~/rootlogon.C") sys.argv = oldargv[:] from DataFormats.FWLite import Events, Handle for onePath in sys.argv[1:]: junk = ROOT.TFile(onePath) ...
[ "andrew.m.melo@vanderbilt.edu" ]
andrew.m.melo@vanderbilt.edu
9bb06e0a7b17abd0177c9dc86ddee8802ce39237
b5a2d6981ac71ab4510f1d2ebd8595162ac001aa
/ha/ui/bedroomUI.py
d7548591cb138462c16a15260e75ef785da676c6
[]
no_license
lvmingxiao/ha
0e0f918d954d219c83fee6570d649641b5473b85
122ecfd2ef811e5be29e03538a3950aebe29fb12
refs/heads/master
2022-04-09T00:10:02.810782
2020-03-07T18:14:02
2020-03-07T18:14:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,699
py
from jinja2 import FileSystemLoader from ha import * def bedroomUI(resources, templates, views): with resources.lock: widths = [[320, [296, 24]], [320, [240, 80]], [320, [152, 168]]] northHvac = templates.get_template("hvacWidget.html").render(label="Temperature", width...
[ "joe@thebuehls.com" ]
joe@thebuehls.com
9ddafe6f1e01ebd93b695b9cd025fa4dd2054c4e
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/storsimple/latest/get_chap_setting.py
10ab89f8781a5083124fd33ea182ad32f7c453eb
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
3,179
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
97dfe49f8195cb51d9bd636dfd1353dca53571be
b2f8a7da5a4a5544ad4be11dcf071253578f9579
/model_train.py
abe3b92a1db76215c3646c5440d94ce077967985
[]
no_license
ashish1sasmal/Stone-Paper-Scissor-Roshambo
c0fe1e62d3b2b3413f3e0230eb38a000e8d469b8
839f559c04259ab15f699bdc92b8d7a28bb686b7
refs/heads/master
2023-01-19T08:21:53.801888
2020-11-23T15:31:05
2020-11-23T15:31:05
314,878,122
0
0
null
null
null
null
UTF-8
Python
false
false
2,096
py
# @Author: ASHISH SASMAL <ashish> # @Date: 21-11-2020 # @Last modified by: ashish # @Last modified time: 23-11-2020 import time import cv2 import numpy as np start_time = time.time() from keras_squeezenet import SqueezeNet from keras.optimizers import Adam from keras.utils import np_utils from keras.layers impor...
[ "ashishsasmal1@gmail.com" ]
ashishsasmal1@gmail.com
ad6e418fcef3da5deace711f83b1103f0fa9591f
6d25434ca8ce03f8fef3247fd4fc3a1707f380fc
/[0309][Medium][Best_Time_to_Buy_and_Sell_Stock_with_cooldown]/Best_Time_to_Buy_and_Sell_Stock_with_cooldown.py
4e910ac3451b252f51c0a8562ef3c3a46be683e0
[]
no_license
sky-dream/LeetCodeProblemsStudy
145f620e217f54b5b124de09624c87821a5bea1b
e0fde671cdc9e53b83a66632935f98931d729de9
refs/heads/master
2020-09-13T08:58:30.712604
2020-09-09T15:54:06
2020-09-09T15:54:06
222,716,337
2
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
# solution 1, one time traversal of the price list. # leetcode time cost : 44 ms # leetcode memory cost : 13.2 MB # Time Complexity: O(N) # Space Complexity: O(1) class Solution(object): def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ n = len(...
[ "xxm1263476788@126.com" ]
xxm1263476788@126.com
b210c1b8e7c3179f9819020273c9df6260c6ee62
4e2616ce4c02907979d94b45042875e8e85f9e4d
/rc/rcc.py
0b41d108113c6d5dcb26b9c7a6040059b09d9e78
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
fengjixuchui/RISVM
de8ebf9e353a3392b24fd8976ccfef9d3a33807e
d2d87f43399ebb9413de6e258c6955f22b9664ed
refs/heads/master
2021-10-09T08:54:13.488794
2018-12-25T01:45:22
2018-12-25T01:45:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
import sys import os import argparse sys.path.append("..") import rc_parse from rc_visitor import PrintVisitor from rc_semantics import SemanticAnalyzer from rc_compiler import ASMCompileVisitor #from assembler.internals import process_file, write_bytecode parser = argparse.ArgumentParser( description="Compile o...
[ "noreply@github.com" ]
fengjixuchui.noreply@github.com
25295b656ba229bec247391796afacea23e15dcb
6484cdf98189f5f5736950c81a9d8d30e0f0c0db
/utility/passwordModel.py
8f744ac503eec0a2d8673ab0ec970bdd8d4423d2
[]
no_license
AlexFrundin/great_app_example
e0e9c91f06bfba76058f3af5b113a9399945bf6c
23225e7e88f2ee51359d23cac2200b32b8bd6e20
refs/heads/main
2023-05-30T15:02:22.035811
2021-06-17T06:40:06
2021-06-17T06:40:06
339,434,159
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
class passwordModel: Password='' Salt='' def __init__(self,_password,_salt): self.Password=_password self.Salt=_salt
[ "aleksey.frundin@gmail.com" ]
aleksey.frundin@gmail.com
4bdcf903892e4a9177f3e10685fd8d74e6b745df
a9243f735f6bb113b18aa939898a97725c358a6d
/0.16/_downloads/plot_compute_source_psd_epochs.py
e3a0ac106fda6112a6960760efcbe65cd0f28be3
[]
permissive
massich/mne-tools.github.io
9eaf5edccb4c35831400b03278bb8c2321774ef2
95650593ba0eca4ff8257ebcbdf05731038d8d4e
refs/heads/master
2020-04-07T08:55:46.850530
2019-09-24T12:26:02
2019-09-24T12:26:02
158,233,630
0
0
BSD-3-Clause
2018-11-19T14:06:16
2018-11-19T14:06:16
null
UTF-8
Python
false
false
2,826
py
""" ===================================================================== Compute Power Spectral Density of inverse solution from single epochs ===================================================================== Compute PSD of dSPM inverse solution on single trial epochs restricted to a brain label. The PSD is compu...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
f61fe7706e6df5980c0c15fb54819de848b358b5
6bd21a64c5fbeba1682c3e65221f6275a44c4cd5
/vega/networks/pytorch/customs/modnas/contrib/arch_space/elastic/sequential.py
3f151c3293ab90d96aa2af08507301d48d7cc02d
[ "MIT" ]
permissive
yiziqi/vega
e68935475aa207f788c849e26c1e86db23a8a39b
52b53582fe7df95d7aacc8425013fd18645d079f
refs/heads/master
2023-08-28T20:29:16.393685
2021-11-18T07:28:22
2021-11-18T07:28:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,786
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the ...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
c49d299d8fefc2003543a164259906fb1e2e0f6f
d7016f69993570a1c55974582cda899ff70907ec
/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2021_06_01_preview/aio/operations/_operations.py
b4838be8359548275348d278c5214f030c987b8b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
4,963
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" ]
kurtzeborn.noreply@github.com
46bca499e430ff78b4090599ae4d6a1434c1fa6f
f889bc01147869459c0a516382e7b95221295a7b
/swagger_client/models/customer_data_region_extension_interface.py
74cc7f9b516d76a5a840ef9093899a7b85a35105
[]
no_license
wildatheart/magento2-api-client
249a86f5c0289743f8df5b0324ccabd76f326512
e6a707f85b37c6c3e4ef3ff78507a7deb8f71427
refs/heads/master
2021-07-14T16:01:17.644472
2017-10-18T13:33:08
2017-10-18T13:33:08
107,412,121
1
1
null
null
null
null
UTF-8
Python
false
false
2,456
py
# coding: utf-8 """ Magento Community No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import...
[ "sander@wildatheart.eu" ]
sander@wildatheart.eu
8079e55efa8c63fafed46bce13e7d30c4af31b73
31557b23e43b1e2c277601fcc8c1276507eb3b71
/Social/images/admin.py
5f0b6cef0683442dce6f0069fb06ed554daf9e09
[]
no_license
talenhao/django_by_example
ef5ca15650f991d932c9fb66cba530fb73e42e20
f784a4643e15a9325e8eeaa4843fecdac175f681
refs/heads/master
2021-01-20T02:57:46.248474
2017-12-03T16:14:53
2017-12-03T16:14:53
89,477,714
1
0
null
null
null
null
UTF-8
Python
false
false
343
py
from django.contrib import admin # Register your models here. from .models import Image class ImageAdmin(admin.ModelAdmin): list_filter = ['title', 'slug', 'image', 'created', "total_likes"] list_display = ("title", 'slug', 'image', 'created', "total_likes") search_fields = ['created'] admin.site.regis...
[ "talenhao@gmail.com" ]
talenhao@gmail.com
fcabef1d2243a59f6ed4e712de6f39387514990d
bb2e9401499974a3ba6a2c083eba54af301736f9
/lectures/110opengl/gmtutorials/110framebuffer/gm117deeptv.py
76af1f43b1d0f067304148b15db1c8f732d94197
[]
no_license
geofmatthews/csci480
69188cd6ffc5d5ed3e9d9ea9d3c98deb6988e3f2
fc21f487b57629ecaa042447d05f83b0837edf16
refs/heads/master
2021-01-10T11:18:53.451056
2015-11-30T23:10:22
2015-11-30T23:10:22
43,301,371
2
6
null
2016-04-27T19:28:24
2015-09-28T13:06:20
Python
UTF-8
Python
false
false
6,791
py
# Using framebuffers to make a tv monitor. # Now we render the second camera into a framebuffer, # and use that to texture the tv monitor. import os,sys from OpenGL.GL import * from OpenGL.GL.shaders import compileShader, compileProgram import pygame from pygame.locals import * import numpy as N sys.path.insert(0, ...
[ "geoffrey.matthews@wwu.edu" ]
geoffrey.matthews@wwu.edu
d0c7dc3497a5b6235b3d5cc88a43c467728381c6
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/botservice/azure-mgmt-botservice/azure/mgmt/botservice/models/enterprise_channel_node_py3.py
d43c220b0e043ac836494a3f1e22827eb74344ad
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
2,333
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 ...
[ "laurent.mazuel@gmail.com" ]
laurent.mazuel@gmail.com
081051b241358d533578ee017fef8222339f5bca
a71fbf421c43fcb34fe7c8000eb807677821683c
/ML/m15_randomizedSearchCV1.py
ded1d1b9d2d1fd127e93f1facd8b64d541a208a2
[]
no_license
leekyunghun/bit_seoul
ccd96dca3774f259e04b8388e134d6183b974268
b76a3d5f83b77f5345d61cf3baa68aaefc25cd2a
refs/heads/master
2023-02-06T08:12:17.768076
2020-12-22T13:35:19
2020-12-22T13:35:19
311,286,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
import pandas as pd from sklearn.model_selection import train_test_split, KFold, cross_val_score, GridSearchCV, RandomizedSearchCV from sklearn.metrics import accuracy_score # from sklearn.utils.testing import all_estimators from sklearn.svm import LinearSVC, SVC from sklearn.metrics import r2_score, accuracy_score fro...
[ "oh_pizza@naver.com" ]
oh_pizza@naver.com
6fb0867c23d3abed8561b0dd03bb8431421b6d8e
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/longestUncommonSubsequenceI/longestUncommonSubsequenceI.py
3517b7b78edd420a6492861d15ecdafbfb830887
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
285
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/longest-uncommon-subsequence-i/ # Author: Miao Zhang # Date: 2021-02-19 class Solution: def findLUSlength(self, a: str, b: str) -> int: return -1 if a == b else max(len(a), len(b))
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
fd8a8c5019a166dab2f138b5380c24b117e99de2
4cc4a8b27a3657c0dde7a054ff97fa428d5864c8
/experiments/double_rfcn/double_rfcn_end2end_train_test.py
3fee16bb06bc2a29bb7ced22a5d92df5d89306b0
[ "MIT" ]
permissive
chengdazhi/Flow-Guided-Feature-Aggregation
b98e758a499d923bb5aa13440ef18bd15c9049ad
63cdffb3d4837d87fb590530b1d16dd59ccb292b
refs/heads/master
2020-03-22T17:19:08.605837
2018-07-10T03:02:57
2018-07-10T03:02:57
140,388,072
1
0
MIT
2018-07-10T06:36:12
2018-07-10T06:36:11
null
UTF-8
Python
false
false
630
py
# -------------------------------------------------------- # Flow-Guided Feature Aggregation # Copyright (c) 2017 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Yuwen Xiong # -------------------------------------------------------- import os import sys os.environ['PYTHONUNBUFFERED'] ...
[ "xvjiarui0826@gmail.com" ]
xvjiarui0826@gmail.com
20173f71f46dc087c0b3b5359d9e26d7c2d03c5a
b5fabc6c6de064690f8d4ee423001cf9365a3d9f
/flash/core/data/io/input_base.py
d8c58746a1bb93529cc29b502fab3d346769e2cc
[ "Apache-2.0" ]
permissive
dmarx/lightning-flash
021dfd76bde6e30309f14feb5853020b0babe90d
4cda031c1f9c8d8754fd36b5720d2a5a7d866765
refs/heads/master
2023-09-06T06:24:29.856354
2021-11-24T23:38:14
2021-11-24T23:38:14
422,352,910
0
1
null
null
null
null
UTF-8
Python
false
false
8,006
py
# Copyright The PyTorch Lightning team. # # 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 i...
[ "noreply@github.com" ]
dmarx.noreply@github.com
4202d98531e6d8eb9a333dda86d83639ef72d1d7
09e4b7c55279dca3914f69e27eadceb4ceeac885
/huggingface/huggingface_ner.py
21cb16507b4308d55c0624a6c4447e66a06b03f3
[ "Apache-2.0" ]
permissive
Mageswaran1989/ai4e
2ea14b2019990b31e36ccb9fbe8955ba0509da4d
16fe8fc8c7886d36aac3df3c9c6e28414a5286c8
refs/heads/main
2023-07-27T18:20:35.393336
2021-09-03T02:22:41
2021-09-03T02:22:41
316,110,462
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
""" Reference: https://huggingface.co/dslim/bert-base-NER """ from transformers import AutoTokenizer, AutoModelForTokenClassification from transformers import pipeline tokenizer = AutoTokenizer.from_pretrained("dslim/bert-base-NER") model = AutoModelForTokenClassification.from_pretrained("dslim/bert-base-NER") nlp...
[ "mageswaran1989@gmail.com" ]
mageswaran1989@gmail.com
99039c37ea44f946b4b30120694d57f49083eaa2
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/EightTeV/VH_TTH/TTH_HToGG_M_95_TuneZ2star_8TeV_pythia6_cff.py
baa316c1a9c4d7109b40ac4d1a8deb01e8e3b5c4
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
3,030
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.PythiaUEZ2starSettings_cfi import * from GeneratorInterface.ExternalDecays.TauolaSettings_cff import * generator = cms.EDFilter("Pythia6GeneratorFilter", pythiaPylistVerbosity = cms.untracked.int32(1), # put here the efficiency of your filte...
[ "sha1-c8b28d70dd1f4235246c4a027e80dcdcf397db6f@cern.ch" ]
sha1-c8b28d70dd1f4235246c4a027e80dcdcf397db6f@cern.ch
6fff9c6cc941b5fe45e9595ea0da9e13d0294371
f086dd8ff17c16a83f1681ab5360b2d08b410007
/Data_Quality/insert_oracle_sql.py
0c7bdb370a1a17cc280bb3434649b7cee0994d12
[]
no_license
mattstirling/CTR_DQ
812af6d4731359700cfae9a572d118743fbd6c79
115715273620ac4eb929e37b02118280f0111ade
refs/heads/master
2021-01-10T07:24:00.176216
2016-04-18T19:56:05
2016-04-18T19:56:05
44,831,540
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
''' Created on Nov 13, 2015 @author: mstirling ''' import cx_Oracle,glob,os #open vm db connecttion conn = cx_Oracle.connect('ctrmso/password@10.6.134.243:1527/orcl') cursor = conn.cursor () os.chdir("c:/temp/python/out/SQL/2016-02-23 W2 R7 IST/") #loop dir with txt file for file in glob.glob(...
[ "mstirling@ScotiaFalcon" ]
mstirling@ScotiaFalcon
3566b73ea1f966231d0813c34e16d9cf0fadc993
ef11cb7a2ee550e4fb95be46cd4d67d6cc230787
/python/Top Interview Questions - Easy/Dynamic Programming/buysellstock.py
5456dc87404ca01618ad4a5cfc746fa4fc95d379
[]
no_license
Hilldrupca/LeetCode
44b32161743ba982ea5e3fe593ff8a27c96e9350
c6d600bc74afd14e00d4f0ffed40696192b229c3
refs/heads/master
2023-03-31T22:21:17.967663
2021-04-07T16:18:17
2021-04-07T16:18:17
288,544,724
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
from typing import List class Solution: def maxProfit(self, prices: List[int]) -> int: ''' Maximum profit if you could only buy and sell one stock once. Params: prices - A list of integers of stock prices. Returns: int - The maximum prof...
[ "hilldrupca@gmail.com" ]
hilldrupca@gmail.com
7a159666033113c223b8fc2fb74413a15686c973
899333009fba85623eb6307663b96e1d7448c31f
/Src/product/migrations/0004_auto_20181013_1021.py
ed502f9848ff9abc3cda3ee2ef6db26741621a78
[]
no_license
Shamsulhaq/fastpick
f2d79591ad25173f1e26b7ba063c9785f4d91832
2c26df7e1766e51088123cebaf64cc2324007d70
refs/heads/master
2022-12-03T04:15:33.658505
2020-08-06T04:16:06
2020-08-06T04:16:06
150,855,035
0
1
null
2022-11-22T03:18:41
2018-09-29T10:51:38
JavaScript
UTF-8
Python
false
false
402
py
# Generated by Django 2.1.1 on 2018-10-13 04:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0003_auto_20181011_1911'), ] operations = [ migrations.AlterField( model_name='booklist', name='descripti...
[ "bmshamsulhaq65@gmail.com" ]
bmshamsulhaq65@gmail.com
49345c5bba2b2363e6a0151b4ecb9e42b712861d
6bb80d482bfd0cd5feb6f2d37c7235a27b3466d6
/malaya_speech/train/model/fastsplit/loss.py
d151e8ab87da42a69b850dbcdfd05d29ecdddaa0
[ "MIT" ]
permissive
dakmatt/malaya-speech
deadb00e1aa8a03593721c26457f35158e67d96d
957cfb1952760c30d3b4a2a2e60b7f142394cbd3
refs/heads/master
2023-04-03T13:56:53.675046
2021-04-19T03:31:40
2021-04-19T03:31:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
import tensorflow as tf import numpy as np from itertools import permutations from tensorflow.python.ops import weights_broadcast_ops EPS = 1e-8 def cal_abs_with_pit( source, estimate_source, source_lengths, C, method = tf.abs ): # estimate_source = B, T, S, D # source = B, S, T, D # estimate_source...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
0ba76aebb42b3f755e2106806f4c48368bff3fdd
3bbcda4d74d9aa65e5c705352a4a60d9db0c6a42
/third_party/github.com/ansible/awx/awx/main/dispatch/publish.py
f7fd7cf4fb2362860c0f29984a3cc27dd564557e
[ "Apache-2.0" ]
permissive
mzachariasz/sap-deployment-automation
82ecccb5a438eaee66f14b4448d4abb15313d989
cb4710f07bb01248de4255a0dc5e48eda24e2d63
refs/heads/master
2023-06-25T15:09:53.505167
2021-07-23T18:47:21
2021-07-23T18:47:21
388,017,328
1
0
Apache-2.0
2021-07-23T18:47:22
2021-07-21T06:29:55
HCL
UTF-8
Python
false
false
3,469
py
import inspect import logging import sys import json from uuid import uuid4 from django.conf import settings from . import pg_bus_conn logger = logging.getLogger('awx.main.dispatch') def serialize_task(f): return '.'.join([f.__module__, f.__name__]) class task: """ Used to decorate a function or clas...
[ "joseph.wright@googlecloud.corp-partner.google.com" ]
joseph.wright@googlecloud.corp-partner.google.com
4ea12ddfa3df0e175d62b100cf901fb65f22da9f
ac1e944eb288c8b13a0bef0ee7de85ee6d30b4c0
/django/the-downloaders-master/video/urls.py
730c9cbd327870c5c5a37ffb9d05832ae3c04f25
[]
no_license
Jayson7/random-projects
05dd175d00e9bd62cb39973c3439846f641675c8
cdbebb896a0ecea0de543f16ecf4661e519ec0bb
refs/heads/master
2023-06-19T01:54:08.339954
2021-07-19T01:40:09
2021-07-19T01:40:09
383,971,840
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static from .views import videoView, video_list from video import views urlpatterns = [ path("home", videoView.as_view(), name="video"), path('search', views.video_l...
[ "lexxiijoo70@gmail.com" ]
lexxiijoo70@gmail.com
b0cdcdabab2b8b875971f1467a0eefa143c6c553
ef6db15efda8b7b472b73ebd6bea3530ab30d45a
/tests/function/token/test_token_base.py
3b6a7a644715a6cf0be0edeea08ea86938c28f96
[ "BSD-3-Clause" ]
permissive
Denisfench/openclean-core
57698fc9ac8b1bccc848262721d0e705529cf27f
e3d0e04f90468c49f29ca53edc2feb12465c24d5
refs/heads/master
2023-09-01T02:21:35.133098
2021-10-04T19:34:57
2021-10-04T19:34:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# This file is part of the Data Cleaning Library (openclean). # # Copyright (C) 2018-2021 New York University. # # openclean is released under the Revised BSD License. See file LICENSE for # full license details. """Unit tests for the base token class.""" from openclean.function.token.base import Token def test_tok...
[ "heiko.muller@gmail.com" ]
heiko.muller@gmail.com
fd423f6ad90deba95c52d84c0a7000cccfbde8ce
f819fe72c5b18b42a25a71dc2900c7fa80e17811
/pandas/tests/arrays/period/test_arrow_compat.py
7d2d2daed349721fdf85a3f6df57f558f40be4fa
[ "BSD-3-Clause" ]
permissive
JMBurley/pandas
34d101425acb0ac35a53bcf29fbd47c2d4c88fda
b74dc5c077971301c5b9ff577fa362943f3c3a17
refs/heads/master
2022-11-06T00:48:41.465865
2022-06-13T19:30:11
2022-06-13T19:30:11
229,853,377
1
0
BSD-3-Clause
2019-12-24T02:11:54
2019-12-24T02:11:53
null
UTF-8
Python
false
false
3,429
py
import pytest from pandas.core.dtypes.dtypes import PeriodDtype import pandas as pd import pandas._testing as tm from pandas.core.arrays import ( PeriodArray, period_array, ) pa = pytest.importorskip("pyarrow", minversion="1.0.1") def test_arrow_extension_type(): from pandas.core.arrays.arrow._arrow_ut...
[ "noreply@github.com" ]
JMBurley.noreply@github.com
1d92f0fff88989f59b8d1d00a7a8fd627a275089
d4d40a3bd2a7cfcb7b45850ab6462df86283cc21
/finance/yahoo_values/admin.py
24407ee8bde98a70a3428f75aa62ff4620f9ef6f
[ "MIT" ]
permissive
coole123/Finance-dashboard
f993a7f61a19433db918604a6d23f0ab610918f6
48d1264b342479127c4eb61f0436114d3a1a34d5
refs/heads/master
2021-06-01T08:12:37.983529
2016-02-14T21:44:45
2016-02-14T21:44:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
from __future__ import unicode_literals from django.contrib import admin from .models import YahooData, YahooWebService # Register your models here. class YahooWebServiceAdmin(admin.ModelAdmin): list_display = ('id', 'title', 'url_', 'scraper',) list_display_links = ('title',) def url_(self, instance): return '...
[ "cmmwaura@ucdavis.edu" ]
cmmwaura@ucdavis.edu
389e79d61b79ce1ac8a6682d827fc06740fc95ab
bdf83518313769f2c4470e15d1ec3965ed1997fb
/Store/Store/urls.py
e09067c491cda3fc04b454e0f6037e160d5de5ab
[ "MIT" ]
permissive
BreezeDawn/DjangoStore
fb53a8f792fbd79ab8af392d6a7b73c7630b7ae3
b1e9aee53f77c1a63ff0650f6dd464926c8cb939
refs/heads/master
2020-03-28T17:22:37.645355
2018-10-02T08:57:27
2018-10-02T08:57:27
148,783,105
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
"""Store URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "BreezeGent@gmail.com" ]
BreezeGent@gmail.com
8584c4873fd6768b03e2efd69c66e0218af4dda8
9d6ffb22c4cc47e932341307aa72cce801547b16
/Python编程思想/10.面向对象的编程思想/访问对象的属性与方法.py
5288c6a7a003e4258d6e08de1a372e804254e1c7
[]
no_license
xiaohaiz1/PythonStudy
419cc7eb5babbebe4c842108e19bea976f7ce696
6819c89abe6d52153821bb87e09a9cb73c685111
refs/heads/master
2022-01-08T14:46:54.055289
2019-07-03T06:22:19
2019-07-03T06:22:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
class Person(object): #定义属性(定义变量) name = "" age = 0 height = 0 weight = 0 #定义方法(定义函数) #注意:方法的参数必须以self当第一个参数 #self代表类的实例(某个对象) def run(self): print("run") def eat(self, food): print("eat" + food) ''' 访问属性 格式:对象名.属性名 赋值:对象名 = 值 ''' ''' 访问方法: 格式:对象名.方法名(参数列表) #从se...
[ "1095505742@qq.com" ]
1095505742@qq.com
4987b731a8a9c47e815c5c0b4a40fa6fd94b84d3
4aa7e427bd53f788a89917e7fd521a0698e731dc
/udn_crawler.py
f41aec8bbdeabdfa44bbde920fae92a802f9594a
[]
no_license
eggachecat/predict_stock_price_based_on_news
8c4c632e8786b0d6605d11988f218b2b4d2319e5
b63528130a848a33e6caade5fc160686d5b001e9
refs/heads/master
2021-04-29T01:43:31.252940
2016-12-31T17:46:05
2016-12-31T17:46:05
77,750,421
0
0
null
null
null
null
UTF-8
Python
false
false
4,154
py
# -*- coding: utf-8 -*- from requests import session from bs4 import BeautifulSoup import threading import csv import os import time import html5lib import random SEED_LOGIN_URL = "http://udndata.com.tw/ndapp/Login" SEED_CRAWLER_URL = "http://udndata.com.tw/ndapp/SearchCategory?cateID=" ROOT_URL = "http://udndata....
[ "sunao_0626@hotmail.com" ]
sunao_0626@hotmail.com
44ea7be8139c5b819acdd35ad4e3ff193072d1d6
053d34c1661a9fcedf7122fddddd46616e480066
/ch09/after_refactor_v1/state_stopped.py
e0dd4f4468d226932fcbc2f8842d6ee1b155bc1e
[]
no_license
Juice178/refactoring
9ccd41e9ac582c55296c542c534d6bf4a37e11cd
c0c7f91a2be6c85c6f10616dfdcfead497051d44
refs/heads/main
2023-03-12T04:57:49.480933
2021-02-21T13:52:40
2021-02-21T13:52:40
338,266,153
0
0
null
2021-02-21T13:52:40
2021-02-12T08:52:00
Python
UTF-8
Python
false
false
196
py
from state import State from logger import Logger class StateStopped(State): def __init__(self) -> None: pass def get_typecode(self) -> int: return Logger.STATE_STOPPED
[ "kenasuzuki5555@gmail.com" ]
kenasuzuki5555@gmail.com
c33c3cd6b490180311949674a4d75be23c9460a2
d225ec04301d8abd681d68ad8d7316befc404bc1
/ZShape/EffAcc/python/scans/HF_mean_Jul26_0822_cfg.py
98b2f5a677e5ee4cc46676ee691f212e59bdae65
[]
no_license
UMN-CMS/ZShape_Analysis
372ea0083d6c0bda2dbba30322ef01269501afa8
83bff158b21210b048afbcff0af1e803780ad4bd
refs/heads/master
2020-06-07T10:34:40.227684
2013-12-11T16:59:25
2013-12-11T16:59:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,891
py
import FWCore.ParameterSet.Config as cms process = cms.Process("Zefficiency") process.TimerService = cms.Service("TimerService") process.load('FWCore.MessageService.MessageLogger_cfi') process.MessageLogger.cerr.FwkReport.reportEvery = 1000 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(Tr...
[ "klapoetke@physics.umn.edu" ]
klapoetke@physics.umn.edu
38c5fdece72d56f7bcbfb3b5248229c13aa8ee59
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/cone/_hovertemplate.py
3c637028a8083bae7ccdf3a39f4841515b2f1f4c
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
462
py
import _plotly_utils.basevalidators class HovertemplateValidator(_plotly_utils.basevalidators.StringValidator): def __init__(self, plotly_name="hovertemplate", parent_name="cone", **kwargs): super(HovertemplateValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_n...
[ "noreply@github.com" ]
hugovk.noreply@github.com
3eca86473a9749a1bbc3ab1aca086db203b169af
74549d7c57b4746ac2a9c275aa12bfc577b0e8af
/s10-binomial-distribution-2.py
27007133f603c4c064b9ed87e4af497279a87ac7
[]
no_license
abidkhan484/hackerrank_solution
af9dbf6ec1ead920dc18df233f40db0c867720b4
b0a98e4bdfa71a4671999f16ab313cc5c76a1b7a
refs/heads/master
2022-05-02T11:13:29.447127
2022-04-13T03:02:59
2022-04-13T03:02:59
99,207,401
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
# simple combinatorics function def make_combination(n, r): total = 1 for i in range(n, r, -1): total *= i another = 1; for i in range(1, n-r+1): another *= i return total//another per, n = map(int, input().split()) m = per/100 f = 1-m # here n is given # an...
[ "noreply@github.com" ]
abidkhan484.noreply@github.com
3714ce8af050192333d20ec59002878346fb5da6
21b632797ed6257b13574c341cdd14e6534728a9
/ryu/services/protocols/bgp/core_managers/import_map_manager.py
d8cf2061205ee3c83bca35749a3f35a99c6e295c
[ "Apache-2.0" ]
permissive
MrCocoaCat/ryu
0473f04e2a840e027e9002f8a6af81745eaf7094
9e9571991a73380099b7ba7c6f37e0e587080a6a
refs/heads/master
2021-06-19T18:09:52.833590
2020-05-12T08:17:21
2020-05-12T08:17:21
163,072,555
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
# Copyright (C) 2014 Nippon Telegraph and Telephone Corporation. # # 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 ...
[ "MrCocoaCat@aliyun.com" ]
MrCocoaCat@aliyun.com
a92e4690cf8c011236ab60eeba0847e5f795f283
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_088/ch32_2020_10_05_23_07_30_594875.py
2e8fa540b4ab9b7206840a459992dcdb7ad4fc95
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
def eh_primo (x): if x==2: return True elif x==0 or x==1: return False elif x%2==0: return False else: n = 3 while n < x: if (x%n==0): return False n += 2 return True def lista_primos(n): lista=[] ...
[ "you@example.com" ]
you@example.com
bec0848a81b788b4b238b6843986dfe763ffa5d0
f0ccc658a4ff3cbbde0fba7103a592f5e4174ede
/python_scripts/array_to_csv.py
95d55fdc1ceb5b3830a817a167df5739f91924cf
[]
no_license
camilne9/capacitance_sensing
ef1f22344916c164dcaf1a5c4764f045e8ef3b59
69ae052e4dda5c7137b8766e0dd3778d4c29e422
refs/heads/main
2023-07-17T19:09:26.976691
2021-08-24T13:39:20
2021-08-24T13:39:20
371,374,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
import numpy as np def clean_readings(file): test_text = str(open(file, "r").read()) test_text = test_text.replace("\n", "").replace("c", "").split("!") if test_text[-1] == '': test_text = test_text[:-1] test_text = list(map(int, test_text)) # test_text = [int(n) for n in test_text] ret...
[ "=" ]
=
28ee6414a5105d1a448f620283c38a15db6ad471
22b348a0d10519cb1f1da5e886fdf2d3c167cf5a
/myweb/test/process_and_thread/process_pool.py
40327c8eaf583b29e545d79f03339cef6cfa5720
[]
no_license
liuluyang/openstack_mogan_study
dab0a8f918ffd17e0a747715998e81304672b75b
8624f765da7f5aa0c210f0fa945fc50cf8a67b9e
refs/heads/master
2021-01-19T17:03:15.370323
2018-04-12T09:50:38
2018-04-12T09:50:38
101,040,396
1
1
null
2017-11-01T02:17:31
2017-08-22T08:30:22
Python
UTF-8
Python
false
false
795
py
#coding:utf8 from multiprocessing import Pool, Queue import os, time, random from func_timelimit import timelimit def run_task(name, dic): print '>>running subprocess %s %s'%(name, os.getpid()) start = time.time() t = random.random()*5 #q.put(t) print '%s %s seconds'%(name, t) dic[str(name)]...
[ "1120773382@qq.com" ]
1120773382@qq.com
86e9d58503eb39505c1cdfea8b5bd5062eafe9c1
1cbcf8660d3ea833b0a9aa3d36fe07839bc5cfc5
/apps/sources/urls/__init__.py
ee8ebc15833facc2bdce9b14a904a01d952a5142
[]
no_license
zhanghe06/migration_project
f77776969907740494281ac6d7485f35d4765115
0264b292873b211bfeca0d645cc41abc9efe883f
refs/heads/master
2022-12-12T10:55:43.475939
2019-09-29T09:19:13
2019-09-29T09:19:13
185,584,884
0
1
null
2022-12-08T05:04:58
2019-05-08T10:31:57
Python
UTF-8
Python
false
false
251
py
#!/usr/bin/env python # encoding: utf-8 """ @author: zhanghe @software: PyCharm @file: __init__.py.py @time: 2019-04-26 15:08 """ def func(): pass class Main(object): def __init__(self): pass if __name__ == '__main__': pass
[ "zhang_he06@163.com" ]
zhang_he06@163.com
d98d69b0f693f721bf162cd0c313dc2b3928eebb
feeea4b64dce63ac52bb09c76a910693fe24f825
/seller_profile/admin.py
22384709a833c50699571628ee9768c84e925793
[]
no_license
samirpatil2000/Django_eCommerce
bf7a8795cb5dc6de8edfa4a7198c9c44cc929464
06c9d9cae4d95717c7decff8dede364bca421fc2
refs/heads/master
2023-01-09T00:14:20.631124
2020-10-25T17:36:36
2020-10-25T17:36:36
299,405,048
0
0
null
2020-10-25T17:35:43
2020-09-28T19:00:52
JavaScript
UTF-8
Python
false
false
317
py
from django.contrib import admin from seller_profile.models import SellerCategory,SellerProfileCreateAdmin,SellerProfileForUser#,SellerProfile,SellerProfileOption # Register your models here. admin.site.register(SellerCategory) admin.site.register(SellerProfileCreateAdmin) admin.site.register(SellerProfileForUser)
[ "samirspatil742099@gmail.com" ]
samirspatil742099@gmail.com
114728d113bb56fcfcb2b9988d92ca36b4afd0e5
f4b38f013019443a2039bbc2d8e2f17c254ce4cf
/02_Text/text_33.py
b98fc6316a18cc6e2898f8a9325385de432c5304
[]
no_license
JSerwatka/Idea-Bag-2
174ee39972cf3ee5ce4878528df642c980022835
2079986910daba036e567e40c85ae1f7e3a25ae0
refs/heads/master
2023-02-11T16:18:14.004096
2021-01-05T13:17:58
2021-01-05T13:17:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
# Username generator def username_switch(name, surname, version): if version == 1: return name[0] + surname elif version == 2: if len(surname) >= 4: return name + surname[:4] else: return name + surname elif version == 3: if len(name) >= 4: ...
[ "kubaserw@gmail.com" ]
kubaserw@gmail.com
116e8304f98b86b3e36cf2e87dcf769af42d0991
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/python_all/75_14.py
64f51f46ad1d2e39b8079f03165ead0585d15a76
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
3,001
py
Python – Nested record values summation Sometimes, while working with records, we can have problem in which we need to perform summation of nested keys of a key and record the sum as key’s value. This can have possible applications in domains such as Data Science and web development. Lets discuss certain ways...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
ad4a5d5108cea41331fd075513f75433fc01fb2e
9424fd0c7d04364c28e19078d89a74d0ba0db7b1
/test_speed.py
82983c94a42c15d8afdc18da47899235b578aea9
[]
no_license
miracleyoo/linux-noise-detect-with-DL
66035dbe68a5ad07faf6c4bdd6dcd180b3fbd240
f96ed9267ee8c47d93336dc29e401c053b378f12
refs/heads/master
2020-03-29T04:25:27.118286
2018-10-04T22:17:55
2018-10-04T22:17:55
149,530,919
2
2
null
null
null
null
UTF-8
Python
false
false
2,921
py
# coding: utf-8 # Author: Zhongyang Zhang# coding: utf-8 # Author: Zhongyang Zhang import torch import os import numpy as np import time from torch.autograd import Variable from models import miracle_net, miracle_wide_net, miracle_weight_wide_net, miracle_lineconv_net time_elapsed = [] class Config(object): def ...
[ "786671043@qq.com" ]
786671043@qq.com
e1d64cc60c1716cdb7a0af7f8ffb59ad72b877a5
e6b81f7baea244e5d9b2a0850bd0e8d24802bacf
/cartpole/ppo_lstm.py
4be1e79a84f6363646f0f64f32b90fe417bc3292
[ "MIT" ]
permissive
leaderj1001/bag-of-rl
0a28dd259aa0630ebf97c9a0ee3b06fa01c64586
154d83a7fca3ec0bc06a49da17f6b28527d04a94
refs/heads/master
2022-11-21T01:36:35.779014
2020-07-27T08:46:12
2020-07-27T08:46:12
282,787,927
5
0
null
null
null
null
UTF-8
Python
false
false
5,873
py
import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.distributions import Categorical from config.cartpole_config import load_args from environment.load_environment import load_env from draw_plot.draw_plot import draw_plot import numpy as np from collections import...
[ "leaderj1001@gmail.com" ]
leaderj1001@gmail.com
0821ea4405107f34aa6297c9341eb247b5a5495b
81555545cd6e294472dce05489155829ae7064dc
/year2020/day19/tests/test_year2020day19.py
3da30cd38e313c38dcb983fb26c0b7128b3e8b36
[]
no_license
flxdot/adventofcode
b9a6d2f6dd39350e964386edc646e21061c2a74e
aa4275cc70443e391b79b76c6fd1c6d505400275
refs/heads/main
2023-02-05T12:07:42.614646
2020-12-25T14:57:03
2020-12-25T14:57:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
from os.path import join, relpath, dirname import pytest from common import read_input from year2020.day19.year2020day19 import solve_part1, solve_part2, input_converter def test_solve_part1(): test_input = read_input( join(relpath(dirname(__file__)), "test_input.txt"), input_converter ) assert 1...
[ "Felixfang@gmx.de" ]
Felixfang@gmx.de
4d4e624ce012d9aec15fbdac7e991598b17632a9
d20dcb6d0ba07d63d7ad2b7b70de21c9c279637b
/IPTVPlayer/tsiplayer/addons/resources/hosters/vidia.py
2c2018a34f3f34615aba1d5765fd131487cb412e
[]
no_license
Blindspot76/e2iPlayer
82a72253c22f06063cd4f5957645d4845ddbd551
04c5bdb7bf1eddd8f010765ce233cc8f33d4c241
refs/heads/master
2023-07-19T18:03:58.447200
2023-07-11T15:48:02
2023-07-11T15:48:02
194,056,681
18
26
null
2019-10-25T08:42:30
2019-06-27T08:38:57
Python
UTF-8
Python
false
false
2,338
py
# -*- coding: utf-8 -*- # vStream https://github.com/Kodi-vStream/venom-xbmc-addons from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib.handler.requestHandler import cRequestHandler from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib.parser import cParser from Plugins.Extensions.IPTVPlayer....
[ "echosmart76@gmail.com" ]
echosmart76@gmail.com
7dcd05417367f56d9b502903fc65a044e25850f2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03555/s560161145.py
4e09ebde07bd8614c1e311e91f113cd5836bdbc9
[]
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
164
py
from sys import stdin from sys import setrecursionlimit setrecursionlimit(10 ** 7) s = input() t = input()[::-1] if s == t: print("YES") else: print("NO")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f98ecbe21a7c222408c8392153ca6c61011f509d
508100dd49629021d4dcc7c761ee64fac5e0210b
/tests/watson/framework/debug/test_listeners.py
c11f95dd4d8b436ae1706e0c8c96ab6c61890e28
[ "BSD-2-Clause" ]
permissive
watsonpy/watson-framework
e3f4c92ea9c35e789365a8a007bb883ad5dee928
ffe157cb3fe24366ee55869d4260cce778012b4a
refs/heads/master
2021-05-24T02:48:19.753723
2019-10-03T04:28:39
2019-10-03T04:28:39
16,093,806
69
8
BSD-3-Clause
2021-03-29T20:36:27
2014-01-21T05:39:46
Python
UTF-8
Python
false
false
563
py
# -*- coding: utf-8 -*- from watson.events import types from watson.framework import applications from watson.framework.debug import listeners, toolbar class TestInit(object): def test_execute(self): app = applications.Http({ 'debug': { 'enabled': True, 'toolbar...
[ "simon.coulton@gmail.com" ]
simon.coulton@gmail.com
3d8c06b5272f5ad9d974d67356e3e093a4e06221
9f1b8a1ada57198e2a06d88ddcdc0eda0c683df7
/submission - lab7/set2/JOHN J WELSH_11325_assignsubmission_file_lab7/lab7/P1.py
421b9a77bd8b981102469a88d51cd2e0fc01e218
[]
no_license
sendurr/spring-grading
90dfdced6327ddfb5c311ae8f42ae1a582768b63
2cc280ee3e0fba02e95b6e9f45ad7e13bc7fad54
refs/heads/master
2020-04-15T17:42:10.781884
2016-08-29T20:38:17
2016-08-29T20:38:17
50,084,068
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from sys import argv op, num1, num2 = argv[1], float(argv[2]), float(argv[3]) if op == '*': answer = num1 * num2 print answer elif op == '+': answer = num1 + num2 print answer elif op == '-': answer = num1 - num2 print answer elif op == '/': try: answer = num1 / num2 print answer except: print "denomin...
[ "sendurr@hotmail.com" ]
sendurr@hotmail.com
50b287276d1e95e9dba89ac5b8f895a115fa4bf2
8159c2c650d53fb188a26b508dfff524296707d1
/pages/orders/view_intorders.py
c2c7ca92fa78f24aee3745dc92f2b5ed434f6e00
[]
no_license
Teifion/Rob3
501663bf5077da0c28a7db4960c74c4477dd11bf
81fc2f9930434b5a4de52b75eb6a8d78dd708f77
refs/heads/master
2021-01-16T19:20:29.666426
2011-05-30T13:34:17
2011-05-30T13:34:17
1,819,452
1
0
null
null
null
null
UTF-8
Python
false
false
1,704
py
import database from pages import common from functions import player_f, order_post_f from queries import team_q from classes import world page_data = { "Title": "Orders", "Admin": True, } def main(cursor): team_id = int(common.get_val("team", 0)) turn = int(common.get_val("turn", -1)) if team_id < 1: retu...
[ "sarkalian@gmail.com" ]
sarkalian@gmail.com
a93b91f27a24723613597d8499c8abf18a5d11e3
f90c6c9d716fb242c96c9f9274359c5d98e8c9d6
/test/irreps/test_character_tables.py
9340f255821cc17d1606ec5478576cfbeecbbe5d
[ "MIT" ]
permissive
biswa79230/upho
fded06de8d00fb297e27753ee7e008f869855cc7
838f19584bd939eb0552050b3a7f1ed356956ff4
refs/heads/master
2021-05-08T23:47:07.741943
2017-06-12T11:41:16
2017-06-12T11:41:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) __author__ = "Yuji Ikeda" import unittest from upho.irreps.character_tables import character_tables class TestCharacterTables(unittest.TestCase): def test_ir_...
[ "ikeda@IKEDA-MBA.local" ]
ikeda@IKEDA-MBA.local
d61806ed564f8096f9b891f5bd4285819d7691ba
d65128e38be0243f279e0d72ef85e7d3c5e116ca
/base/site-packages/django/db/backends/mysql/validation.py
2ce957cce7655af41b6550fc286a1e4845b536dc
[ "Apache-2.0" ]
permissive
ZxwZero/fastor
19bfc568f9a68f1447c2e049428330ade02d451d
dd9e299e250362802032d1984801bed249e36d8d
refs/heads/master
2021-06-26T06:40:38.555211
2021-06-09T02:05:38
2021-06-09T02:05:38
229,753,500
1
1
Apache-2.0
2019-12-23T12:59:25
2019-12-23T12:59:24
null
UTF-8
Python
false
false
829
py
from django.db.backends import BaseDatabaseValidation class DatabaseValidation(BaseDatabaseValidation): def validate_field(self, errors, opts, f): """ MySQL has the following field length restriction: No character (varchar) fields can have a length exceeding 255 characters if they h...
[ "edisonlz@163.com" ]
edisonlz@163.com
4a2817560b7af0f3319d5e81d2164525c32d7178
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/M/monkeycycle/franklin_expedition_-_ship_log.py
a3586af54ead5790cd29fc011cbd582e3b70936a
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,232
py
import scraperwiki import urllib2 import time import datetime import dateutil.parser from time import strftime from datetime import datetime from BeautifulSoup import BeautifulSoup def removeNL(x): """cleans a string of new lines and spaces""" s = x.split('\n') s = [x.strip() for x in s] x = " ".join...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
a96d6048e1d28e4c361b9247f52d993ff4ecb761
994e5b7156a8c1429238facc1463ad1846f1a89a
/models/official/vision/beta/modeling/layers/roi_sampler.py
7f96caf97777c11763957c7674ac35d74cb8d365
[ "Apache-2.0" ]
permissive
TrellixVulnTeam/Felect_M46O
f0c2a9a6c48695705e0b68c92c3a414bacfaa599
6d8b80e216c40233d2c1b9e51fe6f605a3b5ef4b
refs/heads/main
2023-04-22T11:33:59.448117
2021-05-06T13:01:12
2021-05-06T13:01:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,112
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "noreply@github.com" ]
TrellixVulnTeam.noreply@github.com
330b7d016ebdac103a00cb382eaf4bced90e6bd7
5a1a695829a2d1dbf4daa0736f0fbd6feffc7e63
/swexpert/5207(이진탐색).py
ad1cd5e9792473d9b1e586f1ea1716ac94f33e10
[]
no_license
juyi212/Algorithm_study
f5d263c5329c994a457bbe897e5e1405d2b1d67a
f225cc593a50b74686111f654f7133707a1d1310
refs/heads/master
2023-03-21T20:02:36.138688
2021-03-16T14:16:40
2021-03-16T14:16:40
325,008,034
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
# def check(l, r, value): # 이진탐색 # global cnt # m = (l+r)//2 # # if n_arr[m] == value: # cnt += 1 # return # elif l <= r: # if value < n_arr[m]: # check(l, m-1, value) # if n_arr[m] < value: # check(m+1, r, value) # else: # return for...
[ "dea8307@naver.com" ]
dea8307@naver.com
a5e33a6d7bf392afe77d912d9701cac934c7f24b
15bfc2b3ba52420d95ed769a332aaa52f402bbd2
/video/v1/subscribed_track/read-default/read-default.6.x.py
9ae33ae14c08a0ebce1d8b1cc220ad3b46f609a5
[]
no_license
synackme/sample-code
013b8f0a6a33bfd327133b09835ee88940d3b1f2
5b7981442f63df7cf2d17733b455270cd3fabf78
refs/heads/master
2020-03-17T04:53:07.337506
2018-05-07T16:47:48
2018-05-07T16:47:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
# Download the helper library from https://www.twilio.com/docs/python/install from twilio.rest import Client # Your Account Sid and Auth Token from twilio.com/console account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' auth_token = 'your_auth_token' client = Client(account_sid, auth_token) subscribed_tracks = client....
[ "jose.oliveros.1983@gmail.com" ]
jose.oliveros.1983@gmail.com
c27d058124194e3fb16e6a7a533dadabbcccf5ba
cf29e004d22a6f72416011e3f6c5b858b8622bd4
/otherConfessions.py
43360ab4d847903a9c2148a9b5a7df245085cf87
[]
no_license
paularindam/FacebookConfessions
a60bf8b3c034ad83d5b51ec15a135a4a475ab9f3
82c4056232a96979fff0ef3a57cdba468fd2c6b5
refs/heads/master
2021-01-10T05:26:00.199206
2015-12-17T22:43:31
2015-12-17T22:43:31
48,202,104
0
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
import re import urllib2 from BeautifulSoup import BeautifulSoup # Only scraping first confession boards lines = open("FCB.dat").readlines() page_ids = [] notFound = [] #dictionary1 = {} #dictionary2 = {} for line in lines: values = line.split("\n")[0].split("\t") if "facebook" in values[4]: ids = values[4].rspl...
[ "arindampaul.bits@gmail.com" ]
arindampaul.bits@gmail.com
ce2e3dbe2eb3189fa969bcd91f668c917c3a8a98
9d37379564162512b54409fec469d44edfc2315b
/setup.py
a10373dce0f7e24f2b958e5b0d469bfc5fbeb164
[ "BSD-3-Clause" ]
permissive
christopher-burke/crispy_notes
e5396f1c243ee859b437f449c3897eda9f418cc9
23d1384cf0cc53e205fe9336d3c716561b2e275e
refs/heads/master
2020-12-24T17:26:22.084485
2014-11-22T03:49:45
2014-11-22T03:49:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='crispy_notes', version='0.1', ...
[ "christopherjamesburke@gmail.com" ]
christopherjamesburke@gmail.com
b0139f38b34616facba97b089b10ef5680e423c9
0fa2591db7643b85de1ff433f04434b9e1048412
/dataset_toolkit/Export/TFRecordExport.py
7794b11ccd243eb477b6fbedb65ad142661862e0
[ "MIT" ]
permissive
PeloriTech/DatasetToolkit
dec0a859f403aa1ccf654682cd10f3fbcef27d05
e11e709b59b8d3bbc0e322489f02f1307f251368
refs/heads/master
2020-12-01T13:57:19.772226
2020-01-12T23:24:02
2020-01-12T23:24:02
230,649,832
0
0
null
null
null
null
UTF-8
Python
false
false
3,899
py
import os import cv2 import hashlib import numpy as np from lxml import etree import tensorflow as tf import xml.etree.cElementTree as ET from dataset_toolkit.Export.AbstractExport import AbstractExport from dataset_toolkit.Model.AnnotationModel import AnnotationModel class TFRecordAnnotationSave(AbstractExport): ...
[ "samcrane8@gmail.com" ]
samcrane8@gmail.com
23a7089456d5df65a8c2e17485c133052be87fd2
80760d4c8a6b2c45b4b529bdd98d33c9c5509438
/Practice/atcoder/ABC/139/src/b.py
0f398f231c752e28f2fa15741f6d2ae41739f9ac
[]
no_license
prrn-pg/Shojin
f1f46f8df932df0be90082b475ec02b52ddd882e
3a20f1122d8bf7d95d9ecd205a62fc36168953d2
refs/heads/master
2022-12-30T22:26:41.020473
2020-10-17T13:53:52
2020-10-17T13:53:52
93,830,182
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# 1つだけaであとはa-1個 # a, b = map(int, input().split()) # if b <= a: # print(1) # else: # cur = a # c = 1 # while cur < b: # c += 1 # cur += a - 1 # if cur - # print(c) # なぜかダメなので愚直 a, b = map(int, input().split()) c = 0 cur = 1 while True: if cur >= b: break cur += a ...
[ "h4l@yahoo.ne.jp" ]
h4l@yahoo.ne.jp
fecff2001f5b8b09615cad652eda85b5c2183b78
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D01A/CONDPVD01AUN.py
8380648879c488e987d107b7ab971b1c9eb6a693
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,124
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD01AUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 9}, {ID: 'AUT', MIN: 0, MAX: 2}, {ID: 'FTX'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
80096b3cfe3e80d4a23359538090778b71c07f99
70022f7e5ac4c229e412b51db248fdd08a0a5b28
/src/preprocessing/profile_tools/cleaner.py
d59789b95b6951718b018fd1b5126c27fd5268e5
[]
no_license
agrippa/chimes
6465fc48f118154e9d42fbd26d6b87a7dce7c5e9
695bb5bb54efbcd61469acda79b6ba6532e2d1d9
refs/heads/master
2020-12-25T14:02:17.752481
2016-07-04T02:20:59
2016-07-04T02:20:59
23,259,130
0
1
null
null
null
null
UTF-8
Python
false
false
2,551
py
#!/usr/bin/python import os import sys import shutil def replace_allocation(line, basename): index = line.find(basename + '_wrapper') while index != -1: comma_offset = index while line[comma_offset] != ',': comma_offset += 1 paren_offset = comma_offset paren_nesting ...
[ "jmaxg3@gmail.com" ]
jmaxg3@gmail.com
009716f68ffca88aca1676178fe7e2d83aa5939c
107e62a03254c9ebe2e1830977a47861633b0d33
/Babu.py
eb00b2495b450b4549c2de37450c7a9257749f62
[]
no_license
prasanna-ranganathan/mypython
bb798c0782cfb79a27b0730e924921b802da2a44
25fa93602e2465ec6ccb0c3ff30a2bbf90da96e4
refs/heads/master
2021-06-03T18:35:31.129399
2016-08-28T14:21:44
2016-08-28T14:22:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
#http://ideone.com/bOxFqJ #http://stackoverflow.com/questions/4223313/finding-abc-mod-m def totient(n) : result = 1 p = 2 while p**2 <= n : if(n%p == 0) : result *= (p-1) n /= p while(n%p == 0) : result *= p n /= p if p==2: p ...
[ "prassanna.mit@gmail.com" ]
prassanna.mit@gmail.com
3d42e364a78fc0dcc0b9e514ccccd53acc212f07
aa99c064c1214dc0e88384055e715f0db89ca541
/config/logging_example.py
11bb94d23fcab9cc74ba030f1a2362bc227bd8e5
[ "MIT" ]
permissive
sartography/cr-connect-workflow
2624abfe91136e47c0c92482e28bf405752e7cb4
8755bc8b291f763e7f0630582c2816dc03d3321a
refs/heads/dev
2023-06-22T23:01:52.004441
2023-06-07T19:29:41
2023-06-07T19:29:41
221,730,216
6
4
MIT
2023-05-02T22:15:45
2019-11-14T15:34:05
Python
UTF-8
Python
false
false
1,408
py
# This is the basic logging file, but with some additional details like SMTP Configuration # which we will want to use on the production servers, which will fire off emails to administrators # in the event of a failure. logging_config = { 'version': 1, "loggers": { "console": { "level": "DEBUG", "pr...
[ "daniel.h.funk@gmail.com" ]
daniel.h.funk@gmail.com
c2efaab99b3c4a774c346e428ec01c51b2f7d25f
faa31cd7358ed6badda3207a22b9134bdb580618
/scripts/VOCProc.py
c87852493a6384a714daf66d4f6b342ddfe81892
[ "MIT" ]
permissive
lotusPlant/CvPytorch
91261156d42478a5d67bf9608dbd540345dc15f1
0ad04222ba929c52be180cbf212bc07f416e3c85
refs/heads/master
2023-06-08T18:10:11.547918
2021-06-25T00:55:49
2021-06-25T00:55:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
# !/usr/bin/env python # -- coding: utf-8 -- # @Time : 2020/7/30 13:16 # @Author : liumin # @File : VOCProc.py import os import shutil import sys import cv2 from glob import glob def produceImgAndLabelList(): root_path = '/home/lmin/data/VOCdevkit/' stages = ['train','val'] years = ['VO...
[ "569793357@qq.com" ]
569793357@qq.com
59d13764e22d0e32ba04e35010a73045375536ff
4351a81d4a4fae778711643cb9644534e595920d
/Python 3/LeetCode/lc889_pre_post.py
99be3a564daaf89b7f7fd89f62c752673798cc8a
[]
no_license
nsmith0310/Programming-Challenges
ba1281127d6fa295310347a9110a0f8998cd89ce
7aabed082826f8df555bf6e97046ee077becf759
refs/heads/main
2023-08-13T14:47:10.490254
2021-10-13T04:35:57
2021-10-13T04:35:57
416,565,430
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def recur(self,pre,post): if pre!=[]: val = pre[0] node = TreeNode(val) del pre[0] ...
[ "92414264+nsmith0310@users.noreply.github.com" ]
92414264+nsmith0310@users.noreply.github.com
9573c7dde4e21a24689f417b2c5b8b2a9e1899e4
a48cff82e98279e19c0f759ff15974e6ace4feab
/docs/myServices_services.py
2ac1d6c549e09d1262633ab2f40d914d01c0f1df
[ "MIT" ]
permissive
LamCiuLoeng/jcp
59cd503f3553a7fd2cc966ac9d39bac0036c2688
a9efaa5fe26714465a690e1bc0d820713bf11080
refs/heads/master
2021-01-22T11:20:41.772418
2014-05-30T09:18:04
2014-05-30T09:18:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,164
py
################################################## # JCPenney_x0020_Ticket_x0020_Request_x0020_Web_x0020_Service_services.py # generated by ZSI.generate.wsdl2python ################################################## from JCPenney_x0020_Ticket_x0020_Request_x0020_Web_x0020_Service_services_types import * import urlp...
[ "lamciuloeng@gmail.com" ]
lamciuloeng@gmail.com
2956c3278b1c1236465de7e36ffa543a32494c79
89272b8a4adae8641250972e36f73334b7341cac
/test_file.py
af02b791cd4c3fd5ce927c8f654b8370d1f03763
[]
no_license
BUEC500C1/quality-tufengxu
75264665f4b1d824070c4c78c89d96c7c90976ca
8861ff10aef9fb8cc5489ec8c1100d07dab65f2e
refs/heads/master
2020-12-19T08:31:46.319646
2020-01-27T22:53:36
2020-01-27T22:53:36
235,681,991
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from int_to_Roman import int_to_Roman def test_ans(): assert int_to_Roman(14) == 'XIV' assert int_to_Roman(18) == 'XVIII' assert int_to_Roman(80) == 'LXXX' assert int_to_Roman(99) == 'XCIX' assert int_to_Roman(199) == 'CXCIX' assert int_to_Roman(1437) == 'MCDXXXVII' assert int_to_Roman(188...
[ "noreply@github.com" ]
BUEC500C1.noreply@github.com
c17541efc3971e5f8c8642e05370e568466390aa
12c64f1ba1fbd4e54c56f4356f1a732f36b7a735
/backend/schema/attendant_schema.py
a93916c70336eb8090cd19df2360a8dbd948f440
[]
no_license
KivutiBrian/ddd_solution
42be736c82aa62fa101b838d315351914d41f0f4
055103fa8b5cc7820dd60d056afda932cf46c243
refs/heads/main
2023-05-08T14:35:13.057676
2021-05-06T13:10:38
2021-05-06T13:10:38
364,589,971
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from pydantic import BaseModel from typing import List, Optional, Any from datetime import datetime class AttendantBase(BaseModel): FirstName: str LastName: str EmailAddress: str PrimaryNumber: str class AttendantPost(AttendantBase): Password: str class Attendant(AttendantBase): Id: str P...
[ "briankivuti1@gmail.com" ]
briankivuti1@gmail.com
92e5b024a8c4a2bda6536f519e3ab2010da0e6f6
62f58189f7969cf4c9aa849006bb937dacb012f4
/social_auth/backends/contrib/orkut.py
ebd3021bc8c15174d8f188db0f5393c33e2289b0
[ "BSD-2-Clause" ]
permissive
statico/django-social-auth
d629d47a07503c624fac0152aea2ac21ad894a74
472cc13ccbea47b7c2f13af06e2c1fa439c2fbd7
refs/heads/master
2021-01-15T20:33:00.707700
2011-04-27T07:48:01
2011-04-27T07:48:01
1,669,508
2
0
null
null
null
null
UTF-8
Python
false
false
2,482
py
""" Orkut OAuth support. This contribution adds support for Orkut OAuth service. The scope is limited to http://orkut.gmodules.com/social/ by default, but can be extended with ORKUT_EXTRA_SCOPE on project settings. Also name, display name and emails are the default requested user data, but extra values can be specifie...
[ "matiasaguirre@gmail.com" ]
matiasaguirre@gmail.com
edaeab6bbe16f0fbfa37b62c5d7af5c1289dea60
8f8d9428c68aa6bb1e6d131c505c217403979955
/Python/1905. 【认证试题】销售点分布调查.py
7eaa42feae047cd93f1a770b460975d0f6f0ec9c
[]
no_license
yang4978/Huawei-OJ
fb3799c0f807b853fcfd4574b809fed5740fc6ea
ea3cccb2b070545574fadd64aecd38f73804361d
refs/heads/main
2023-04-17T22:04:44.526675
2021-04-30T03:40:26
2021-04-30T03:40:26
337,046,277
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
""" Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved. Description: 上机编程认证 Note: 缺省代码仅供参考,可自行决定使用、修改或删除 """ class Solution: def point_sale_survey(self, total_sales, relation_map, appoint_sales): # 在此添加你的代码 result = [1, 1] queue = [appoint_sales] layer = 1 ...
[ "noreply@github.com" ]
yang4978.noreply@github.com
0631e20be1cbd8bbd44274d9dc8382e3e6e0245a
23d3ff8877cc9a019f40f0e3a7c6f62618606ec9
/video_upload/api/uploads.py
f7ea452789cc36ecaf831779dcb128a505ad87e7
[]
no_license
themylogin/video-upload
756ed063fd56a819b3eec7071f3e465a3e69eea9
9685854fa90a52d125021d8bb76a955a03d2b2f2
refs/heads/master
2021-01-19T05:40:17.653064
2017-04-06T14:50:13
2017-04-06T15:08:34
87,441,124
0
1
null
null
null
null
UTF-8
Python
false
false
1,914
py
# -*- coding=utf-8 -*- from flask_restplus import fields, Resource import logging from video_upload.app import api from video_upload.db import db from video_upload.models import UploadedMediaFile, UploadedMediaFileState from video_upload.worker.ffmpeg import process_uploaded_media_file logger = logging.getLogger(__na...
[ "themylogin@gmail.com" ]
themylogin@gmail.com
8e81845a4a93525a29239f220cd46453baa725a3
15e73563c0576ecc6186d0995e875c22f8df4bb5
/instserver/beagle_bone.py
5435da71e8f2aeaf95dd39b42db28d63bfd4e87b
[]
no_license
JulianMuenzberg/UUServer
3cbd62dae4f64468a38ca483d1da0e460704a129
25e644892a94867f09f0412d8731c7fb36eca5ad
refs/heads/master
2020-04-20T16:15:08.775331
2017-04-11T13:16:44
2017-04-11T13:16:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
""" instserver.beagle_bone ---------------------- Simple example of how to run on a beaglebone """ import Adafruit_BBIO.GPIO as GPIO import Adafruit_BBIO.ADC as ADC from time import sleep class BeagleBone(object): def __init__(self): self.name = 'Beagle' def blink(self, times): "...
[ "aquiles@aquicarattino.com" ]
aquiles@aquicarattino.com
6a529024f0123c4cb313c3c07a6df6800ea2b3ab
b321ca6310cd84bd8603fa9685365bb2a4acc945
/niuke/2_1_array_classify.py
4bbe2b2a732221c7401cfc90fc2774dd3a2dafbe
[]
no_license
baixiaoyanvision/python-algorithm
71b2fdf7d6b57be8a2960c44160f2a7459e153ae
6cbb61213af8264e083af1994522929fb7711616
refs/heads/master
2020-08-27T03:41:08.332322
2019-10-02T13:28:49
2019-10-02T13:28:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# -*- coding:utf-8 -*- def classify_arr(arr, num): left = 0 # 0- left 存储小于num的元素 for i in range(len(arr)): if arr[i] < num: arr[left], arr[i] = arr[i], arr[left] left += 1 if __name__ == "__main__": arr = [45,2,5,78,2,87,5,4,7,23,45,56,89] classify_arr(arr, 10...
[ "18310523922@163.com" ]
18310523922@163.com
393d4af3265f7bcf958e62b342f8043f936a83a3
45129489b5556a70d3caa6020b0f035de8019a94
/probn/23.03/16.py
4a5321923448d0d46706fb55fa1a3d968a1ea0a4
[]
no_license
trofik00777/EgeInformatics
83d853b1e8fd1d1a11a9d1f06d809f31e6f986c0
60f2587a08d49ff696f50b68fe790e213c710b10
refs/heads/main
2023-06-06T13:27:34.627915
2021-06-23T20:15:28
2021-06-23T20:15:28
362,217,172
3
1
null
null
null
null
UTF-8
Python
false
false
259
py
def f(n): if n <= 3: return n if n % 2 == 0: return 2 * n + f(n - 1) else: return n * n + f(n - 2) k = [] for i in range(1, 101): a = f(i) if a % 3 == 0: k.append(i) print(k) print(len(k))
[ "noreply@github.com" ]
trofik00777.noreply@github.com
bbfb70c7cc80bb18d1730e40969d18482ce76da8
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/create_value_list_request.py
31475aa44e1092e2a4eb2caad78fb6f6c750ebe9
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,599
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateValueListRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attri...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
2ce2427ff44bf8fb6c54e7e25fb6f49b6029b588
f7e5d947d7b6da17923d84dc8140fc3ff6f1dcc4
/beta/aff.py
412bf887733e5e3d2dcbbfa76ecd35f40b8f2977
[]
no_license
liweiye89/JD_Diy
e15bf0fea098a3e6c6d42c208b623a2e8966e396
cdc028f85d2c883e5e374936723144812169a842
refs/heads/master
2023-06-25T18:24:56.072055
2021-07-16T12:43:55
2021-07-16T12:43:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
from .. import chat_id, jdbot, _JdbotDir, logger from telethon import events import asyncio @jdbot.on(events.NewMessage(from_users=chat_id, pattern=r'^/aff$')) async def myaff(event): try: img_file = f"{_JdbotDir}/diy/aff.jpg" msg = await jdbot.send_message(chat_id, '感谢您的赞助', file=img_file) ...
[ "chiupam@126.com" ]
chiupam@126.com
e345e8c76f83820fb7fcbe705b9e633c32eb976b
898be346f3fd476f625489ec6e85f97240e32ae5
/LeetCode001TwoSum.py
686b82f89197048d6322eb3c31b4592c85c12be7
[]
no_license
lonely7yk/LeetCode_py
e3a0c47f274db8ef3e4540d4d570a874e198dfcd
67054f724c6c0e1699118248788522cec624b831
refs/heads/master
2023-01-10T19:10:13.772069
2022-12-29T17:32:50
2022-12-29T17:32:50
228,568,331
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
""" Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. Example 1: Input: nums = [2,7,11,15], ta...
[ "893077810@qq.com" ]
893077810@qq.com
98b4fd45441665450ed56a9a565c5d3f30b0d9b8
5cb756dd1bc779b4bdb81ac70464d2bb39061af7
/virtual/bin/autopep8
5cbd65f077fa9f592553e1f04ff768fc8b6c8997
[ "MIT" ]
permissive
DuncanArani/blog2
a8bc324fa3e886817c24dc033fd690149f228d38
10169a835d81a88590691ecf3ba2265a2e3380dd
refs/heads/master
2020-04-02T00:25:02.964316
2018-10-22T08:04:28
2018-10-22T08:04:28
153,803,735
0
0
null
null
null
null
UTF-8
Python
false
false
239
#!/home/dunco/Desktop/blog2/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from autopep8 import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "duncanarani@gmail.com" ]
duncanarani@gmail.com
1de41b8a0cc8966f8140e3c2ae8ac4f9c6461766
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/cdn/v20191231/get_profile_supported_optimization_types.py
0f2e8de75ecb9c1023098b2c141431bea6c31228
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,519
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
0e6d608720327b7c81f985676613ab92dd7577cc
68ea05d0d276441cb2d1e39c620d5991e0211b94
/natal2018/c.py
9df21c576d29e748936ec17bf2dba525c8d871dd
[]
no_license
mcavalca/uri-python
286bc43aa157d3a6880dc222e0136c80cf079565
e22875d2609fe7e215f9f3ed3ca73a1bc2cf67be
refs/heads/master
2021-11-23T08:35:17.614443
2021-10-05T13:26:03
2021-10-05T13:26:03
131,339,175
50
27
null
2021-11-22T12:21:59
2018-04-27T19:54:09
Python
UTF-8
Python
false
false
355
py
n = int(input()) pulos = 0 gelo = [] while n: n -= 1 gelo.append(input()) espaco = 0 for i in gelo: if i[0] == '.': espaco += 1 if espaco > 2: pulos = 'N' espaco = 0 break elif i[0] == '-' and espaco > 0: espaco = 0 pulos += 1 if espac...
[ "m.cavalca@hotmail.com" ]
m.cavalca@hotmail.com
44b807bb6a79674dd6ff402e0909cf9a0fa54969
ddb5e989f6ede26ece931af750757bc3ef48aada
/script/LowMutationalStepPlot_hist.py
5e493b774cec6d33aeb7300426c857a7867cb713
[ "MIT" ]
permissive
mmore500/tag-olympics
5d64344a8ce29f8d1244ec08cb873a895e305b40
a0f00aa534bfd7811ebc94a10749ecbbbcaeb007
refs/heads/master
2022-09-27T21:02:56.259757
2022-09-22T04:58:57
2022-09-22T04:58:57
194,933,684
0
0
MIT
2020-09-03T11:14:18
2019-07-02T20:55:02
Python
UTF-8
Python
false
false
5,510
py
import matplotlib from matplotlib import ticker as mpl_ticker matplotlib.use('Agg') import pandas as pd import seaborn as sns import sys from matplotlib import pyplot as plt import seaborn as sns import pandas as pd import numpy as np from keyname import keyname as kn from fileshash import fileshash as fsh from pylib ...
[ "mmore500.login+gpg@gmail.com" ]
mmore500.login+gpg@gmail.com
4721acb8803cc5ba33b6e2fb1316588ff3b778eb
91b80ef798cbcdaab7f6ae0be994f5a3b12f1515
/116.py
0c59461366c6dff331b9e118b32b4eb8eeaedf3d
[]
no_license
luckkyzhou/leetcode
13377565a1cc2c7861601ca5d55f6b83c63d490e
43bcf65d31f1b729ac8ca293635f46ffbe03c80b
refs/heads/master
2021-06-21T11:26:06.114096
2021-03-24T21:06:15
2021-03-24T21:06:15
205,568,339
0
1
null
null
null
null
UTF-8
Python
false
false
474
py
# -*- coding: utf-8 -*- class Node: def __init__(self, val): self.val = val self.left = None self.right = None self.next = None class Solution: def connect(self, root: Node) -> Node: if not root or not root.left: return root root.left.next = root.rig...
[ "luckky_zhou@163.com" ]
luckky_zhou@163.com
764dd108e332f33dd969b31f92f89d17b6574e08
7cb626363bbce2f66c09e509e562ff3d371c10c6
/multimodel_inference/py3_v1/olds/IMiscsm.py
887e34b3ac58c6a3f3d937f300d16f73f5b88219
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
z0on/AFS-analysis-with-moments
76bfd6b0361ab7e9173144dbd21b6fa2c7bf1795
eea4735b3b6fbe31c4e396da3d798387884a1500
refs/heads/master
2023-07-31T20:49:20.865161
2023-07-19T06:57:32
2023-07-19T06:57:32
96,915,117
4
5
null
2020-09-02T17:39:08
2017-07-11T16:38:03
Python
UTF-8
Python
false
false
3,843
py
#!/usr/bin/env python # split with growth starting after some time, SYMMETRIC migration upon secondary contact, "genomic islands" of two different migration regimes # n(para): 10 import matplotlib matplotlib.use('PDF') import moments import random import pylab import matplotlib.pyplot as plt import numpy as np from ...
[ "matz@utexas.edu" ]
matz@utexas.edu
b1aea3e6669b5878f03964a6d2468658a98c125c
440c2f17a64b718227bbc9ac1f799630d0f3233d
/考试/xiecheng3.py
1f4d756f918e7de0467f29b4a58007015fabcc0e
[]
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
770
py
import sys line = sys.stdin.readline().strip() result = [] res = "" index = 1 def check_number(res): if len(res) < 6: res = "0" * (6 - len(res)) + res return res for elem in line: if index % 5 == 1: res += " " if ord(elem) >= ord('A') and ord(elem) <= ord('Z'): res += check...
[ "lhc14124908@163.com" ]
lhc14124908@163.com
bb191fc9d14faeb637ee1ab173e3f82ebce3398c
d6f6d2648dd5328ab6f50e5d3cec81a53b8aee51
/deploy_tools/fabfile.py
7564a8ba4f9268368ed6f09dd3161cdc4c5b22a0
[]
no_license
eReuse/grd-sandbox
dce69d2ee9df57dd995eb75f520b804b052ca411
fab0855b19599455a980317a0602fb118c7c9f37
refs/heads/master
2020-12-26T01:18:24.312727
2015-10-26T10:10:33
2015-10-26T10:10:33
35,091,080
0
0
null
null
null
null
UTF-8
Python
true
false
3,951
py
from fabric.contrib.files import append, exists, sed from fabric.api import env, local, run import random REPO_URL = 'https://github.com/ereuse/grd-sandbox.git' def _create_directory_structure_if_necessary(site_folder): for subfolder in ('media', 'static', 'virtualenv', 'source'): run('mkdir -p %s/%s' %...
[ "santiago@pangea.org" ]
santiago@pangea.org
46ed090c95ccd8dff295b9dbb5fcfcdd83714db9
3a860310dcc7d68026e86d94c94db11e00e71f49
/Algorithms/tf2algos/pg.py
e81730585265636feb091c15e0425ad087efc541
[ "Apache-2.0" ]
permissive
Abluceli/RLs
d3dfc8ef1c9d994f871157b6a87808a7e83c3350
00f762558bf106c076c813bfbe38b6685d77c363
refs/heads/master
2020-12-04T01:34:42.893371
2020-02-02T13:11:48
2020-02-02T13:11:48
206,453,549
1
0
Apache-2.0
2019-09-09T15:01:56
2019-09-05T02:02:35
Python
UTF-8
Python
false
false
6,422
py
import numpy as np import tensorflow as tf import tensorflow_probability as tfp import Nn from utils.sth import sth from utils.tf2_utils import get_TensorSpecs, gaussian_clip_rsample, gaussian_likelihood_sum, gaussian_entropy from Algorithms.tf2algos.base.on_policy import On_Policy class PG(On_Policy): def __init...
[ "271668153@qq.com" ]
271668153@qq.com
4db041155fb32afe1b6d6c28ff3c5320cb9cb558
9438b792cc2ce12d77c32551874de7b0d81f6109
/Machine_learning/Second_comp/Collab/cifar10.py
349e34f70b40a93995b1db3bd88bb4a4125f21c2
[]
no_license
Mondiegus/Python_learning
cfd90672b412cddb28acdf609ee7be1992a9b13e
32ab963a905973beeee4050e922ab861e3f904d8
refs/heads/master
2021-07-25T04:40:18.891139
2020-09-27T14:52:12
2020-09-27T14:52:12
220,710,604
0
0
null
null
null
null
UTF-8
Python
false
false
3,032
py
# -*- coding: utf-8 -*- """cifar10.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1j_7sgkrEoAc9VNl9Qo69j-Ub7iGkP4LE """ # Commented out IPython magic to ensure Python compatibility. import tensorflow as tf import os from tensorflow.python.keras...
[ "Mondiegus9@gmail.com" ]
Mondiegus9@gmail.com
e77f214c513979aef895ff1db1d6e7fac111f15f
4a1273f72e7d8a07a3fa67ac9f2709b64ec6bc18
/execution/account_groups/account_allocations.py
8e911e942facc882e03c732ff212a55c67eccf0a
[]
no_license
WealthCity/django-project
6668b92806d8c61ef9e20bd42daec99993cd25b2
fa31fa82505c3d0fbc54bd8436cfc0e49c896f3e
refs/heads/dev
2021-01-19T14:10:52.115301
2017-04-12T11:23:32
2017-04-12T11:23:32
88,132,284
0
1
null
2017-04-13T06:26:30
2017-04-13T06:26:29
null
UTF-8
Python
false
false
1,218
py
class Execution(object): def __init__(self, price, ib_account, shares, time, order_id): self.price = price self.ib_account = ib_account self.shares = shares self.order_id = order_id self.time = [time] class AccountAllocations(object): ''' Allocation holder - allocat...
[ "peterroth0612@gmail.com" ]
peterroth0612@gmail.com
4aef37d20b8fe97bee163d80e392f74553aaba1d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03317/s514920650.py
599cf0c37a4e2c0627b8ef31c92d9a3ddf9e9570
[]
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
550
py
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline in_n = lambda: int(readline()) in_nn = lambda: map(int, readline().split()) in_nl = lambda: list(map(int, readline().split())) in_na = lambda: map(int, read().split()) in_s = lambda: readline().rstrip().decode('utf-8') def main(): N, ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8fdcbfab4219b3cfe16b44d80199e6294641a8b2
b1b08ffae24bfae23b1c2f4781f3b1f08b2550e1
/filmweb/migrations/0001_initial.py
94732651f8f1863f7bd09c137259e89dda972b28
[]
no_license
ofemofem/my-filmweb
622b125dcad8f643536fdde427f341ab37f32b4f
f4a43c9cc4b61db8e74cae4fcd12563942d4ccfc
refs/heads/master
2020-04-29T08:27:01.340626
2019-03-19T15:06:35
2019-03-19T15:06:35
175,987,060
0
1
null
null
null
null
UTF-8
Python
false
false
605
py
# Generated by Django 2.1.7 on 2019-03-17 11:35 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Film', fields=[ ('id', models.AutoField(aut...
[ "you@example.com" ]
you@example.com
b20a3e2df01830fe8de229a3721c3991cf99b37c
78520f19165b33909364299aaaea2283b8aa2367
/libs/jinja/dicts.py
71a624bb3d229d2b8e77657dc343eafc764c755f
[ "BSD-2-Clause" ]
permissive
s3n0/Python-Course
3d3618b97c7d4d9bbe7c3987d2c329203251029b
d48568d096e9a78e397eefd83b2588ddd27aa481
refs/heads/master
2020-09-09T00:51:28.874296
2019-09-29T17:50:48
2019-09-29T17:50:48
221,294,533
0
1
null
2019-11-12T19:23:11
2019-11-12T19:23:10
null
UTF-8
Python
false
false
201
py
#!/usr/bin/env python3 from jinja2 import Template person = { 'name': 'Person', 'age': 34 } tm = Template("My name is {{ per.name }} and I am {{ per.age }}") msg = tm.render(per=person) print(msg)
[ "noreply@github.com" ]
s3n0.noreply@github.com
fb44c3969a828f3129f990e7e8e6e28c480e14d7
f476cdf5a27e7768238854c5e7f24e3650ffeebc
/Concepts/abstract.py
e900e850c7555de08c622ef7bea80eecc5b24abb
[]
no_license
masudurHimel/Problematic_Adventure
0d1a8b0d3cc6339d3d9a4f8ed9be9c1635ab290f
3f32f5195c497e1c44d1a37c80ea644c31a53688
refs/heads/master
2023-05-01T23:34:15.697852
2023-04-28T09:30:00
2023-04-29T09:22:33
226,885,967
0
1
null
null
null
null
UTF-8
Python
false
false
377
py
from abc import ABC, abstractmethod class M(ABC): @abstractmethod def spd(self): print('spd') @abstractmethod def pdb(self): print('pdb') class Temp(M): def spd(self): pass def pdb(self): pass def __init__(self): pass @staticmethod def...
[ "masudurhimel@gmail.com" ]
masudurhimel@gmail.com
901118b7d5798a9ae4e3ecee9f5184a78219d956
314cf05e7acdfb2b83bf4a56de4ee65310bd28f2
/tests/outcomes/plot/bar/universal_tests/data_two_pics_no_x/pandas_dataframe_plot_kind.py
3508cbf5f1fdda41d253972ff6a25e8440d593b3
[]
no_license
hyperskill/hs-test-python
9f0201904cb68f3eb35275bb0c3b9bb70164a1e7
260313395d0534d148738e031753eb8f60de2e13
refs/heads/master
2023-05-10T17:49:26.400853
2023-04-26T11:49:52
2023-04-26T11:49:52
214,279,373
20
7
null
2023-04-26T11:49:53
2019-10-10T20:28:03
Python
UTF-8
Python
false
false
334
py
def plot(): try: import pandas as pd import numpy as np import matplotlib.pyplot as plt except ModuleNotFoundError: return df = pd.DataFrame(np.array([[1, 2], [2, 3], [3, 4], [4, 5], [5, 6]]), columns=['one', 'two']) df.plot(kind='bar') plt.sh...
[ "aaaaaa2493@yandex.ru" ]
aaaaaa2493@yandex.ru
1634ea3d3e8fdd06d387d0f4dd6dfc55df03849c
00d591e247159e3f0278a27d1ff041da91b475e1
/strings_for_testing.py
9779be6d857df38ccd56ee42985aefb9bab2312f
[ "LicenseRef-scancode-public-domain", "Unlicense" ]
permissive
zachwill/amazon-reviewers
94d6b3db6c7c009778abea19e5d25f8bdb50bad8
ab9fc1d272f2d631b1329c731f60f3840342e6a1
refs/heads/master
2016-08-06T13:59:29.789894
2011-05-14T08:51:28
2011-05-14T08:51:28
1,746,325
2
0
null
null
null
null
UTF-8
Python
false
false
1,662
py
eleven_pages = """ <span class="paging"> <span class="on">1</span> <a href="http://second-page">2</a> <a href="http://last-page">11</a> </span> <span class="paging"> <span>This Is Not</span> <a href="http://false">The Data</a> <a href="http://false">You're Loo...
[ "hey@zachwill.com" ]
hey@zachwill.com