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
051abf9d0ca21b48ca7334613e21729cdd989422
316a07bd7ab47d447606d341c5d221d8318f65b9
/quantum/quantum/plugins/cisco/nexus/cisco_nexus_network_driver.py
1c45a21989579f18e7cd3e827f2402c21a0edfe8
[]
no_license
kumarcv/openstack-nf
791d16a4844df4666fb2b82a548add98f4832628
ad2d8c5d49f510292b1fe373c7c10e53be52ba23
refs/heads/master
2020-05-20T03:10:54.495411
2013-06-16T23:44:11
2013-06-16T23:44:11
7,497,218
2
0
null
null
null
null
UTF-8
Python
false
false
5,612
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2011 Cisco Systems, 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://ww...
[ "b37839@freescale.com" ]
b37839@freescale.com
e9e651f9659c20a8e48224dfe41cc836738915bc
c8a6027dcdf1f5ed156428528c8522ea46395e75
/src/guesswhat/models/qgen/qgen_lstm_network.py
5fcfb5066a55c4f450f2462ae7b20ea05a668357
[ "Apache-2.0" ]
permissive
GuessWhatGame/guesswhat
ca1107cb19fff2987ec9d1314c3498e86ad16dcb
346b7de65d5f18fb8c7d357b7c743d02be429d8a
refs/heads/master
2022-07-14T00:38:18.972071
2022-07-12T08:53:55
2022-07-12T08:53:55
93,632,073
78
41
Apache-2.0
2022-07-12T08:53:35
2017-06-07T12:19:47
Python
UTF-8
Python
false
false
12,630
py
import tensorflow as tf from neural_toolbox import utils\ from generic.tf_factory.attention_factory import get_attention from generic.tf_utils.abstract_network import AbstractNetwork class QGenNetworkLSTM(AbstractNetwork): #TODO: add dropout def __init__(self, config, num_words, policy_gradient, device=''...
[ "florian.strub@gmail.com" ]
florian.strub@gmail.com
821ba0910fc0263a12f96ed34a6c46a580a3703f
15e818aada2b18047fa895690bc1c2afda6d7273
/config/common/sim/sim_params.py
42461a7b0ef6f3fe6922a6f5c9c8d775592ad72d
[ "Apache-2.0" ]
permissive
ghomsy/makani
4ee34c4248fb0ac355f65aaed35718b1f5eabecf
818ae8b7119b200a28af6b3669a3045f30e0dc64
refs/heads/master
2023-01-11T18:46:21.939471
2020-11-10T00:23:31
2020-11-10T00:23:31
301,863,147
0
0
Apache-2.0
2020-11-10T00:23:32
2020-10-06T21:51:21
null
UTF-8
Python
false
false
4,302
py
# Copyright 2020 Makani Technologies LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "luislarco@google.com" ]
luislarco@google.com
9e9d8df1659aa7eb5fd53c7ed41afdb71d6cd615
3f2443dba35c42a296ffaef72c731f33c4892d07
/example_scripts/analysis/indices/china_z_index.py
b189bd20b7533a66d942c998d5e56ae8fb4a9ddf
[]
no_license
tommylees112/esowc_notes
7cde6a373211647447084789fbee2597d81c0ce8
2a39c5c20ed50f3194ebb95aba720e48215c0dfd
refs/heads/master
2021-06-21T17:07:33.663693
2021-01-28T18:34:58
2021-01-28T18:34:58
184,609,893
3
0
null
2019-05-26T19:49:30
2019-05-02T15:54:31
Jupyter Notebook
UTF-8
Python
false
false
4,347
py
import xarray as xr from pathlib import Path import pandas as pd import numpy as np import matplotlib.pyplot as plt import mapclassify as mc import os from typing import List, Dict import ipdb %matplotlib if os.getcwd().split('/')[2] == "tommylees": data_dir = Path('/Volumes/Lees_Extend/data/ecmwf_sowc/data') els...
[ "thomas.lees112@gmail.com" ]
thomas.lees112@gmail.com
69f0b7c195576c24436b23e62a8f90b675edf2e7
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_batch_set_range_request.py
a87bc73f89ebf1b2161d75c873fe8c78c5dd7a9f
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
822
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import sys import unittest import baiduads from baiduads.dpacreative.model.set_range_request import SetRangeRequest globals()['SetRangeRequest'] = SetRangeRequest from baiduads.dpacreative.model.b...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
4615dd80d45d32294e485913e4c192df5c298fab
3da6b8a0c049a403374e787149d9523012a1f0fc
/Coder_Old/算法研习社-代码/Day1/lesson_1.py
2c209c6c374c642f1ccd8176008d1aa0d3405032
[]
no_license
AndersonHJB/PyCharm_Coder
d65250d943e84b523f022f65ef74b13e7c5bc348
32f2866f68cc3a391795247d6aba69a7156e6196
refs/heads/master
2022-07-25T11:43:58.057376
2021-08-03T02:50:01
2021-08-03T02:50:01
348,922,058
3
3
null
2021-09-05T02:20:10
2021-03-18T02:57:16
Python
UTF-8
Python
false
false
40
py
set_1 = {1, 2, 3, 4, 5, 5} print(set_1)
[ "1432803776@qq.com" ]
1432803776@qq.com
2c71363adea0887a7d23f03446348676b7ba1e46
bb1a3fb0a0252106ac049681d5ff318eda8d0a51
/backend/home/migrations/0002_load_initial_data.py
d6bc60a572e1f0cabc1a83ee9b8f981a48eceae9
[]
no_license
crowdbotics-apps/hello-19426
5d6677d6fab7531d211d11bed1c1897f5401d21f
df4447a916fb529943ad854bdd6cdde45cf0e212
refs/heads/master
2022-11-30T03:52:43.656667
2020-08-06T20:22:26
2020-08-06T20:22:26
285,664,136
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "HELLO" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") hom...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3a468edc532ac293e5e73ed4cadda317087bfe26
a0c53168a4bdcfb0aa917d6d2c602f0999443a10
/projexui/widgets/ximageslider/ximageslider.py
5845366c840464617fbe51e239cdb94d5578021b
[]
no_license
kanooshka/DPS_PIPELINE
8067154c59ca5c8c9c09740969bb6e8537021903
df2fcdecda5bce98e4235ffddde1e99f334562cc
refs/heads/master
2021-05-24T04:32:03.457648
2018-09-07T13:25:11
2018-09-07T13:25:11
29,938,064
3
2
null
2020-07-23T23:06:37
2015-01-27T22:26:01
Python
UTF-8
Python
false
false
4,742
py
""" [desc] """ __author__ = 'Eric Hulser' __email__ = 'ehulser@teslamotors.com' __copyright__ = 'Tesla Motors (c) 2013' #------------------------------------------------------------------------------ import glob from PyQt4.QtCore import Qt from PyQt4.QtGui import QGraphicsView,\ QPixma...
[ "kanooshka@gmail.com" ]
kanooshka@gmail.com
89e1b6a1a2d0e91b7bc22cb54208ff2418752c7a
bf63eef6c2e2c037d68905dab1d3ae29eb581196
/torch/distributed/rpc/api.py
ce30171e29348a780fcd6208721653f392645f57
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
jamessword/pytorch
fae5b9558dff07e5c56b04165bbaa19ced5fa52c
2d3fd188b2035f5ad23e275edf0189051d6661ad
refs/heads/master
2020-09-14T16:05:07.912208
2019-11-22T05:47:06
2019-11-22T05:47:06
223,073,308
0
0
NOASSERTION
2019-11-21T02:45:08
2019-11-21T02:45:07
null
UTF-8
Python
false
false
10,502
py
from . import _invoke_rpc_builtin, _invoke_rpc_python_udf from . import _invoke_remote_builtin, _invoke_remote_python_udf from . import _start_rpc_agent from . import _destroy_rref_context, _cleanup_python_rpc_handler from . import WorkerInfo from . import backend_registry from .internal import _internal_rpc_pickler, P...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
d27be6815eca14f6c2eaf1fab166be45b2968836
ba3be84d355e90860479fc2a0d92b536c377c643
/PYTHON/properties/Label.py
067c8f6fd0bb1048e6cf86dcd737d3b3ebd4448b
[]
no_license
vipin26/python
c62a3427511658ff292085fc382c5b3b3ff4d609
e8442b84c385ddef972d6a514e471d8eba8af0a3
refs/heads/master
2020-09-29T12:39:52.775466
2019-12-15T05:44:31
2019-12-15T05:44:31
227,034,374
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from Tkinter import * Top=Tk() L=Label(Top,text="VIPIN",bg="yellow",fg="Red",font=('TIMES NEW ROMAN',20,'bold')) L.place(x=50,y=20,height=50,width=100) Top.mainloop()
[ "58661640+vipin26@users.noreply.github.com" ]
58661640+vipin26@users.noreply.github.com
81cbc00e3cd7566eda087b0dd52b2be03603496c
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayInsAutoAutoinsprodQuoteApplyResponse.py
ed8bec1abba8af2de1230b07f0225b531fe83e0a
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,394
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse from alipay.aop.api.domain.QuoteInfo import QuoteInfo class AlipayInsAutoAutoinsprodQuoteApplyResponse(AlipayResponse): def __init__(self): super(AlipayInsAutoAutoinsprodQuoteApply...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
cec36aee0b58269bc9e260613fb88b69c89dc973
e9f8071ebf195a9ddeffde100933b685d015dd1d
/tensorflow_federated/python/core/impl/computation_wrapper_test.py
21fecdf11aa178169690bd00a015e21469758d74
[ "Apache-2.0" ]
permissive
hieunq95/federated
98bd844d7f77991c9bd8999f5fa880c627a523ba
15402997ce7fb35d782d715758acf82767206916
refs/heads/master
2020-05-20T21:54:52.581570
2019-05-13T01:59:03
2019-05-13T01:59:03
185,772,668
0
0
Apache-2.0
2019-05-13T02:00:14
2019-05-09T09:52:42
Python
UTF-8
Python
false
false
12,051
py
# Lint as: python3 # Copyright 2018, The TensorFlow Federated 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 ...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
a9e0017995717cdb783bab44e7047fb827626a7b
23f779d3945cefa8f267d9b310d390d61fac7a0d
/Server/venv/Lib/site-packages/django/contrib/gis/utils/srs.py
e712261ea986bc36ba293f461d0ec3906671c8ce
[]
no_license
MaksimFelchuck/Server
acd4e46e956ba1b5b8769870dff2c78412fd3d52
635067331b52fc591591e0adc8afaea9fa0d8bd1
refs/heads/master
2022-11-03T03:08:33.084884
2018-10-21T10:19:13
2018-10-21T10:19:13
139,969,425
0
1
null
2022-10-01T04:37:56
2018-07-06T10:16:38
Python
UTF-8
Python
false
false
3,008
py
from django.contrib.gis.gdal import SpatialReference from django.db import DEFAULT_DB_ALIAS, connections def add_srs_entry(srs, auth_name='EPSG', auth_srid=None, ref_sys_name=None, database=None): """ Take a GDAL SpatialReference system and add its information to the `spatial_ref_sys` ta...
[ "felchuck@yandex.ru" ]
felchuck@yandex.ru
7a92366cec8b4f3ca57ca45830c3e569cf8e4c9d
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/timeseriesinsights/v20171115/get_event_hub_event_source.py
cfd5f48122b4b8c4a8f9d4356c040fbb2bbecf7e
[ "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
10,460
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
b492e645014a6cdda28d02b05fe430df001c90d8
a234ecbf8a71075ba90c84f19443d2235c0f4234
/test_tf/rnn/RNN_Text_Classify-master/train_rnn_classify.py
73dcf292b0efa5fd358270228036119d13ff3008
[ "Apache-2.0" ]
permissive
hkxIron/hkx_tf_practice
b9b58f7c52b07d4f10709804efc964cf17e5e3ff
76d0c12750d66b17e71a7102263e1d1fc637611a
refs/heads/master
2023-08-04T16:51:30.852650
2023-08-04T13:05:35
2023-08-04T13:05:35
118,223,247
10
13
null
2022-12-07T23:32:58
2018-01-20T08:14:06
Jupyter Notebook
UTF-8
Python
false
false
7,121
py
# coding:utf-8 # blog: http://blog.csdn.net/u010223750/article/details/53334313 import tensorflow as tf import numpy as np import os import time import datetime from rnn_model import RNN_Model import data_helper flags =tf.app.flags FLAGS = flags.FLAGS flags.DEFINE_integer('batch_size',64,'the batch_size of the traini...
[ "kexinhu@tencent.com" ]
kexinhu@tencent.com
4f70b239a7e2f259ac761fbc70a84a02d56562cf
234c7fb0bdabdd696c8e4c6a449ac2c8e3f14ad5
/build/PureCloudPlatformClientV2/models/wfm_historical_adherence_result_wrapper.py
966bea1aa46d4b978628660bb87f2e458d825144
[ "Apache-2.0", "MIT" ]
permissive
humano7/platform-client-sdk-python
2a942c43cc2d69e8cb0c4113d998e6e0664fdedb
dd5b693b1fc90c9dcb36885d7227f11221db5980
refs/heads/master
2023-04-12T05:05:53.932393
2021-04-22T03:41:22
2021-04-22T03:41:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,834
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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 applica...
[ "purecloud-jenkins@ininica.com" ]
purecloud-jenkins@ininica.com
1bdc9d53e2ef0c776c3de6fcc012ab5a753944eb
3d89ff4093d989940e7d0e535343a748adb0a87f
/1854-MaximumPopulationYear.py
fb268eb86d0f2d7ea55f9dd518a48b9ed6a57c02
[]
no_license
Scott-Larsen/LeetCode
129585bb3017fbb59c07c22f74afe4309b46c15d
f644afb34f15cd4e310026a00ccf4149ba8daf10
refs/heads/main
2021-06-22T23:02:06.515527
2021-06-12T16:30:31
2021-06-12T16:30:31
204,087,023
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
# https://leetcode.com/contest/weekly-contest-240/problems/maximum-population-year/ # You are given a 2D integer array logs where each logs[i] = [birthi, deathi] indicates # the birth and death years of the ith person. # The population of some year x is the number of people alive during that year. The ith # person is...
[ "scott@scottlarsen.com" ]
scott@scottlarsen.com
30c9ca6a3670fe1a3fe91458fc4f5906cf7d14d2
62bbfb6c50bba16304202aea96d1de4990f95e04
/dependencies/pulumi_aws/s3/bucket_object.py
3d25968569b941da132a5a2e9364d942bb3cbaf2
[]
no_license
adriell/lambda-autoservico-storagegateway
b40b8717c8de076e61bbd422461c7d624a0d2273
f6e3dea61b004b73943a5438c658d3f019f106f7
refs/heads/main
2023-03-16T14:41:16.821675
2021-03-11T03:30:33
2021-03-11T03:30:33
345,865,704
0
1
null
null
null
null
UTF-8
Python
false
false
29,756
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** 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 _utilitie...
[ "adriel@infoway-pi.com.br" ]
adriel@infoway-pi.com.br
17dbccdc38991ee246b63252488d4a014916abef
5a1eff241b9e9c2504fcc6762899d90993dcec3a
/venv/Lib/site-packages/aliyunsdkrds/request/v20140815/DescribeOperatorPermissionRequest.py
a14b11656158a9e0d5959d96c750f6d8b612c2a1
[]
no_license
P79N6A/AutoCmdb
58cfabae9c5955427a51c291056b1a6c1a224801
d0afe1ec1f7122b4ddc7d5dcb70627190e0a10e0
refs/heads/master
2020-04-13T04:42:54.346089
2018-12-24T08:27:34
2018-12-24T08:30:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,922
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...
[ "1209394579@qq.com" ]
1209394579@qq.com
f3c68354caa82c9df145cc16dc25662ca44cf0cb
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/airflow/providers/snowflake/transfers/snowflake_to_slack.py
adef133557dd94989f2ac57c553f36d9998332e7
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
4,998
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...
[ "noreply@github.com" ]
cfei18.noreply@github.com
c8ed2e312349ca0d2a2c41a39056958127e79e17
1c7816daeb0314052e09ac678c3a8a3b9fb5d1af
/caravel/StatusBuilder/change_notification.py
66d5ebf9561cd22261c1e65a6c190d893336dc3a
[]
no_license
slott56/Caravel-Transit
4df1b730ee741d999ef4f73416469b83af0d3d40
2b2c721d55ecaadd745b3a0bba43730501820d64
refs/heads/master
2016-09-06T17:51:07.506182
2012-04-24T18:42:19
2012-04-24T18:42:19
3,454,414
0
0
null
null
null
null
UTF-8
Python
false
false
9,622
py
#!/usr/bin/env python2.7 """Caravel processing of raw feed and mapping into route, stop and vehicle status reports. This relies on Couchdb Change Notification via long polling. 1. Handle new mappings. Validate. Update Cache. Cleanup. See :mod:`caravel.feed.mapping_load`. 2. Handle new feeds. Validate. App...
[ "slott56@gmail.com" ]
slott56@gmail.com
6422879e77e6686f4db6e9cde3b619c6343cde94
f663f7baa042c6d5e71ceb22ce3d304d5bcbfd15
/archived_lectures/Fall_2019/common_python/common_python/tests/statistics/test_multiple_density.py
3e67bd37763d3056a6585f99450f2c8db2be7b00
[ "MIT" ]
permissive
ModelEngineering/advancing-biomedical-models
2dcf0fb35629a4cce2b30b5c18490c9837875b64
7469576d484d894febb161c3cb48b723dfbcaf1b
refs/heads/master
2022-11-12T10:24:23.407006
2022-10-19T08:33:29
2022-10-19T08:33:29
132,825,741
2
9
null
null
null
null
UTF-8
Python
false
false
2,360
py
"""Tests for Statistics Utilities.""" from common_python.statistics import multiple_density import common_python.constants as cn from common_python.testing import helpers import numpy as np import pandas as pd import unittest IGNORE_TEST = False IS_PLOT = True SIZE = 10 MAX = 5 COLA = "colA" COLB = "colB" def mak...
[ "jlheller@uw.edu" ]
jlheller@uw.edu
20ff973f13b66bae159b54fd63094bad9eea45d0
679a781a0869268d923f4900a237eb372cce2d82
/app/db.py
5b2021e1f45f9e342a11d8abc5fdef3995cf310a
[]
no_license
NandaGopal56/PriceTracker
a374ab1ddc863c2239d4300030b58dea8a97f281
388e2983cb4696fd7ce51488a9e9bf58e9b9ef88
refs/heads/master
2022-11-05T05:17:15.759634
2020-06-19T10:35:59
2020-06-19T10:35:59
273,466,783
0
0
null
null
null
null
UTF-8
Python
false
false
2,340
py
from app import db, login_manager from app import app from datetime import datetime from flask_login import UserMixin from itsdangerous import TimedJSONWebSignatureSerializer as Serializer @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) @login_manager.request_l...
[ "ngopal561998@gmail.com" ]
ngopal561998@gmail.com
5a9ed68e19ae4339b7acef4a7882c518a47fcfd5
5e27c7f5426c169fd348b26e94b65c35f9cdc459
/dragonfly/canvas/show2.py
6297418492b52386815e9a035bb1c6c64ee05948
[ "BSD-2-Clause" ]
permissive
agoose77/hivesystem
e2c9c27408233b5794151ca74f541d2e6063d58a
e1f55c5ea530a989477edb896dcd89f3926a31b8
refs/heads/master
2020-07-21T23:07:37.178856
2014-08-23T02:13:19
2014-08-23T02:13:19
20,776,359
1
1
null
null
null
null
UTF-8
Python
false
false
794
py
import bee from bee.segments import * import libcontext from libcontext.socketclasses import * class show2(object): metaguiparams = {"type": "type"} def __new__(cls, type): inptype = (type, "id") class show2(bee.worker): inp = antenna("push", inptype) v_inp = variable...
[ "goosey15@gmail.com" ]
goosey15@gmail.com
148b26e39125b7e5999966d7fed1b3163bd42832
784f43961d924e50a885cc53e14f8b6e3a573e25
/actions/migrations/0008_auto_20190207_2203.py
4c2973f784fdd4863a8660145fa90b8ec54ee66b
[]
no_license
HolyShining/tech-poll
a34599382382c83fdc058b0e9f72a22c35a595cb
d2ece9b7cff0e86e382db889c87a4df7454b56fc
refs/heads/master
2021-08-16T17:54:22.862109
2019-02-12T14:44:50
2019-02-12T14:44:50
168,178,174
1
0
null
2021-06-17T03:15:27
2019-01-29T15:29:35
Python
UTF-8
Python
false
false
843
py
# Generated by Django 2.1.5 on 2019-02-07 22:03 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('actions', '0007_gradesmodel'), ] operations = [ migrations.AlterModelOptions( name='departmentsmodel', options={'ordering': ...
[ "holyshine@yahoo.com" ]
holyshine@yahoo.com
674b6343039cfde8e85ae2a79169aabf3317b95b
53a62276cb2ee6b9554b8e7b330abecab881c3cf
/list-viewer/view.py
5301d6fa1e15e0b1648575af0e3cc83ca1f71d09
[]
no_license
fans656-deprecated/eno
5fd3421682402a6743c368e516cf1c38a75b7026
21e8eb896def36fad6fde94283109d6b92bac04e
refs/heads/master
2021-05-28T13:10:22.501662
2015-04-12T10:58:12
2015-04-12T10:58:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,135
py
# coding: utf-8 import os import itertools import re import subprocess from PySide.QtGui import * from PySide.QtCore import * import config def isIgnored(f): return any((lambda r: re.match(r, f))(r) for r in config.ignores) def hotkeys(dirs, files): def gen(): n = 1 while True: f...
[ "fans656@yahoo.com" ]
fans656@yahoo.com
c5340df461b0aa8267ca8bbd092574b1f35d5742
1fe03131ad139e2415fd0c0c73697b4541e5b862
/.history/src/_fighter_20190422093710.py
cd8a420d139ed92d9609052ddcbbf94b1749a45e
[ "MIT" ]
permissive
vidalmatheus/pyKombat
d83175a7a952663e278a8247d43349f87192fde3
6646020c59367ba0424d73a5861e13bbc0daac1f
refs/heads/master
2021-06-20T09:35:07.950596
2020-08-06T14:08:13
2020-08-06T14:08:13
172,716,161
1
1
MIT
2019-12-25T10:54:10
2019-02-26T13:24:31
Python
UTF-8
Python
false
false
37,322
py
from pygame_functions import * import fightScene import engine import menu class Fighter: fighterNames = ["Sub-Zero", "Scorpion"] fightMoves = [["w", "s", "a", "d"], ["up", "down", "left", "right"]] combatMoves = [["j","n","k","m","l","u","f"],["1","4","2","5","3","0","6"]] danceLimit = 7 walkLi...
[ "matheusvidaldemenezes@gmail.com" ]
matheusvidaldemenezes@gmail.com
82a239739d3053de741a1efbce7015fb4748d180
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/QName/Schema+Instance/NISTXML-SV-IV-atomic-QName-enumeration-2-2.py
2646e4a8f05cd22277eed26258993bcf2b6ee247
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
522
py
from output.models.nist_data.atomic.qname.schema_instance.nistschema_sv_iv_atomic_qname_enumeration_2_xsd.nistschema_sv_iv_atomic_qname_enumeration_2 import NistschemaSvIvAtomicQnameEnumeration2 from output.models.nist_data.atomic.qname.schema_instance.nistschema_sv_iv_atomic_qname_enumeration_2_xsd.nistschema_sv_iv_at...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
eed29672a6c43ba303d8c7a4061f9db8bb28c98b
4f2253f8a7dfb780fe56930945ded6f9c1e65206
/infrabox/test/e2e/create_token.py
9afd536a7f53a8250ff4668b098a10753678e185
[ "MIT" ]
permissive
InfraBox/infrabox
544b5323c4b93778986204553e44e68aafdac340
f29a084156a1d034c92d8142afdb72dec9aca747
refs/heads/master
2022-12-13T18:46:25.917122
2018-05-13T12:24:00
2018-05-13T12:24:00
102,250,687
50
17
MIT
2022-12-06T23:45:15
2017-09-03T08:22:16
Python
UTF-8
Python
false
false
389
py
import sys import jwt if len(sys.argv) < 4: print "Usage: create_token.py <path_to_private_key> <project_id> <token_id>" sys.exit(1) with open(sys.argv[1]) as key: data = { 'id': sys.argv[3], 'project': { 'id': sys.argv[2] }, 'type': 'project' } encoded...
[ "steffen@infrabox.net" ]
steffen@infrabox.net
22bf45bb211b69962d2de7aa757ce713c1a26309
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902TG/898-tideGauge.py
c6dcc759687f3ea709abbf5d65a74da643e647b1
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
5,075
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 01 10:00:00 2020 MERRAv2 netCDF extraction script - template To create an extraction script for each tide gauge @author: Michael Tadesse """ import os import pandas as pd from d_merra_define_grid import Coordinate, findPixels, findindx from c_merra_read_netcdf import r...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
f1eac13a52fb1bf936ae2ff94f3ad8ba4f7aa203
430a0bc072e5bbdaf8b535e8589ee7bddedd60a1
/build/vs_toolchain.py
66f4cc4bdd20fbc1d5c45fb4896bfb40b1ef208f
[ "BSD-3-Clause" ]
permissive
HyunwooCho/highweb-webcl-html5spec
4527f01a5ebb95db8e045e1b4012a3eac567f307
1e7b96fc871797139b927516e94b75d730ee50c2
refs/heads/highweb-20160310
2021-06-05T23:30:40.097589
2016-05-27T04:42:28
2016-05-27T04:42:28
70,441,565
0
0
null
2016-10-10T01:33:38
2016-10-10T01:33:36
null
UTF-8
Python
false
false
13,647
py
#!/usr/bin/env python # Copyright 2014 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 glob import json import os import pipes import shutil import subprocess import sys script_dir = os.path.dirname(os.path.realpa...
[ "kimdh@infrawareglobal.com" ]
kimdh@infrawareglobal.com
b3259e92d95e11e136092efb705f08da1ce7b195
5c37aa1098f6d301fe67897a1ce26f38d1cd31dc
/is_joe.py
c8e7e2e9e0cc638132bf4678465e5acc058a65cc
[]
no_license
hasnatosman/boring_stuff
ed550b3540d85f07cd0d50e7331fef9059ef206b
f562e1edb93bb113470d307f2d340e330f64ac31
refs/heads/main
2023-05-14T21:55:22.128581
2021-06-14T10:13:32
2021-06-14T10:13:32
350,265,240
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
while True: print('Who are you ?') name = input().lower() if name != 'joi': continue print('Hello Joi! Give password!!') password = int(input()) if password == 12345: break print('Access Granted')
[ "noreply@github.com" ]
hasnatosman.noreply@github.com
f603254de7abef75987a8be31e2007ffe95c3139
a834a0660af49777295af048660ba1a59d608514
/virtual/bin/easy_install
7a49c8547767118ad5c6bb0c395ce155d42e41d5
[ "MIT" ]
permissive
sngina/consultancy
3ea358525837799eb98d9349310a6909bf89302f
5d0d53234f144f15ebc70e2c8a6132b2a5aa8e66
refs/heads/master
2023-06-08T05:13:55.690202
2021-06-23T04:18:02
2021-06-23T04:18:02
378,135,321
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/home/moringa/Documents/core/consultancy/virtual/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sngina707@gmail.com" ]
sngina707@gmail.com
522248c4238e193f9351df380c2ce80c648e398f
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Pytest/pluggy/testing/test_deprecations.py
b080037a2bdd3f2b93596cbf624576eea29ffeb8
[ "MIT" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:6da3e3500d520e4f9776533ccc24a011cd0d0eb4ec8551d31edc593e4d5d284f size 1292
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
ef8aaaa3945c299be1841bd0409d6bee20ff0178
53fd993f33a4aec7b09ead1fbe4672bfcf13acc1
/scripts/__init__.py
be0c35dd297a320df7d20b4f90ef05c1dbcfe99a
[ "BSD-3-Clause" ]
permissive
MisterFXGuy/pathos
f2f957ee1d0611622dc41c2c917d94d0ee676cc8
650c65e990d8fadb193f5bca6ab4aa6fbf9ae2bc
refs/heads/master
2021-01-13T03:46:15.633253
2016-11-16T12:33:30
2016-11-16T12:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
# Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2016 California Institute of Technology. # License: 3-clause BSD. The full license text is available at: # - http://trac.mystic.cacr.caltech.edu/project/pathos/browser/pathos/LICENSE # # dummy __init__ file for pathos scripts
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
221c0de42a0b24d306451f10b645c1c7f48ea314
9db076db1bd4a564100a75e17d87c79c1b9e9cd1
/wxGUI/TextObjectValidator.py
63f0deafd439391a536f52df35e1e1e966b52c1d
[]
no_license
gabstopper/wxpython-wizard
005edb1f3f5e9d373b291772692a82d33cf22053
79a830acea2ddc7fff2058999f2b416357d091c8
refs/heads/master
2021-01-10T11:11:03.318309
2016-03-17T00:53:48
2016-03-17T00:53:48
53,991,379
0
0
null
null
null
null
UTF-8
Python
false
false
1,816
py
import wx class TextObjectValidator(wx.PyValidator): def __init__(self, panel=None): wx.PyValidator.__init__(self) self.panel = panel print"Initialized validator with panel: %s"% self.panel def Clone(self): print "Cloned validator" return TextObjectValidat...
[ "dwlepage70@gmail.com" ]
dwlepage70@gmail.com
637231ce6759fbce1f52f069987ddb7e463ad16a
d7da288db4fd9fc0bb1c60c5074f290b5f70c8ef
/Aulas Python/Exercícios Extras/Python Brasil/3 - Estrutura de Repetição/Ex 1.py
7003cd713f970d36aa43378ad146d2b1f89c49fd
[]
no_license
luizdefranca/Curso-Python-IgnoranciaZero
dbf4cf342b3f3efea6fb3b8cf27bf39ed92927e9
9fbf2f25e3e6fce1f1582af0bd6bc7dbc5b9f588
refs/heads/master
2020-04-09T07:17:00.735378
2016-09-12T10:51:37
2016-09-12T10:51:37
67,999,169
1
0
null
null
null
null
UTF-8
Python
false
false
324
py
""" 1. Faça um programa que peça uma nota, entre zero e dez. Mostre uma mensagem caso o valor seja inválido e continue pedindo até que o usuário informe um valor válido. """ nota = float(input("Digite uma nota entre 0 e 10: ")) while nota < 0 and nota > 10: nota = float(input("Digite uma nota entre 0 e 10: "))
[ "luizramospe@hotmail.com" ]
luizramospe@hotmail.com
a03a39c864891f205ed4890c24f3623c33c9dee4
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/7/qwz.py
e746a63df55af57e283c88791348140d7580b5d4
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
9e07fa958bd3a6403226347f34b6dcef2ccfd40b
32150af04590afe11f5c1229faf840e2e8c2a9ab
/Assignments/AS03/ans/AS3_2.py
403482ba5bc8c727e2964954c2026d19ccb7bea6
[]
no_license
nsbgit/IIT-S21-CS-484
f595f67dd72e0c0f65f9cbaafe581ab41ea4cab3
1850f0e571d0c72d875baedf87aae3d6943af382
refs/heads/main
2023-05-06T23:26:30.687201
2021-05-31T23:40:22
2021-05-31T23:40:22
332,584,584
2
1
null
null
null
null
UTF-8
Python
false
false
8,138
py
# -*- coding: utf-8 -*- """ Created on Mon Mar 8 21:29:21 2021 @author: pc """ # Load the necessary libraries # import matplotlib.pyplot as plt import numpy as np import pandas as pd # Load the TREE library from SKLEARN # from sklearn import tree import math from itertools import combinations import sys # def finds...
[ "nsbgit@users.noreply.github.com" ]
nsbgit@users.noreply.github.com
f1ccdce9ffa14c680402f8db3910fa627e5e1367
6841787dc208198535c90ee76d035d8837f8b973
/alipay/aop/api/request/AlipayOpenAgentCommonSignRequest.py
79f265a7d9bf272346d3b95282896c056f66e8cd
[ "Apache-2.0" ]
permissive
demlution/alipay-sdk-python-all
e56ea12651717476f940212c281b6c2199dd3fa6
c3cb81aa5980913e7cd51edcf754a804495a9a30
refs/heads/master
2022-10-09T02:08:28.789764
2022-09-20T04:32:03
2022-09-20T04:32:03
263,779,638
0
1
null
2020-05-14T00:58:51
2020-05-14T00:58:51
null
UTF-8
Python
false
false
14,694
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * class AlipayOpenAgentCommonSignRequest(object): def __init__(self, biz_model=None): self._biz_model = biz_model self._alipay_life_name = N...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
d42ff46199e6c4685c8ba41506c8ae4684f0b5a5
39135ddf56d03e587f65e28f8066c6cd31f63267
/manage.py
aa31137a133cb59f091b75b1022aba492842f15c
[]
no_license
oronibrian/survey
a30722148845eb17b997cbf924026c83109d761c
4be8a7f19180d73bc3535679df547fa5ab944aaf
refs/heads/master
2019-07-07T07:43:58.652579
2018-01-17T17:09:14
2018-01-17T17:09:14
86,680,677
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/myenv python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "survey.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "brianoroni6@gmail.com" ]
brianoroni6@gmail.com
3526a1fd7d5878954cc02a991acf0813a2d74396
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/final_trace/top50/job6.py
baf8e3ec2d9357f8c8ab726f4ecfda8f5c0a309a
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
7,615
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
739832869a107c6fbada5d686c62ab8ffa452202
eee929b5265bfc9b6c1ac7376abec267f1777da5
/jasper_load/__manifest__.py
c84bab559569601a9c6ca3a11509cc63ca6f4c02
[]
no_license
ping203/DMS-PAS-ODOO10
9bbabfb954a7b7395a1ff9654ff16467c7b8197d
25d7daadf08e7439f63d8c9f676d3a937c0ed961
refs/heads/main
2023-06-16T21:01:44.747346
2021-07-16T06:40:09
2021-07-16T06:40:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,889
py
# -*- encoding: utf-8 -*- ############################################################################## # # Copyright (C) 2017-Today Serpent Consulting Services Pvt. Ltd. # (<http://www.serpentcs.com>) # # WARNING: This program as such is intended to be used by professional # programmers who ta...
[ "87510026+bambangbc@users.noreply.github.com" ]
87510026+bambangbc@users.noreply.github.com
dbd5a382bf090b2f617814de3fa3f093d4ec5eb6
55db2a71d709f3c07d2dd8c59e55e4b380980a53
/gui/app_gui.py
8736768588bc1940c7bb3493c589574e7d3bf8fa
[ "MIT" ]
permissive
Kazuhito00/FingerFrameLens
dbcbd1835a96990c34b03ee3d457aa4b6915bc9e
7acfc263ead3af0b5aa4dae259e355a45769eeb2
refs/heads/master
2023-04-23T00:37:49.976057
2021-04-28T15:34:44
2021-04-28T15:34:44
296,662,366
6
2
null
null
null
null
UTF-8
Python
false
false
3,476
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import copy import numpy as np import cv2 as cv import gui.cvui as cvui class AppGui: """ [summary] アプリケーションウィンドウクラス [description] - """ _window_position = [0, 0] _score_threshold = [1] _cvuiframe = None _window_name = '' d...
[ "shigeki.takahashi.dev@gmail.com" ]
shigeki.takahashi.dev@gmail.com
706bc146a808552e3c7960692aa7a9697e7a7599
48a7b266737b62da330170ca4fe4ac4bf1d8b663
/molsysmt/form/molsysmt_MolecularMechanicsDict/has_attribute.py
d17395b7cb19d3305e171f04c1cfb8800c37eb0b
[ "MIT" ]
permissive
uibcdf/MolSysMT
ddab5a89b8ec2377f383884c5169d147cab01322
c3d713ba63db24eb8a2426115cf8d9cb3665d225
refs/heads/main
2023-08-08T15:04:16.217967
2023-08-04T05:49:56
2023-08-04T05:49:56
137,937,243
15
3
MIT
2023-06-04T20:27:06
2018-06-19T19:38:44
Python
UTF-8
Python
false
false
4,226
py
from molsysmt._private.digestion import digest @digest(form='molsysmt.MolecularMechanicsDict') def has_attribute(molecular_system, attribute): from . import attributes output = attributes[attribute] ### ### MECHANICAL ATTRIBUTES ### if attribute=='n_atoms': output = False fo...
[ "prada.gracia@gmail.com" ]
prada.gracia@gmail.com
9c9fc124699ac64f1b23245299b3a885e77cdf16
045cb1a5638c3575296f83471758dc09a8065725
/addons/crm_iap_lead_enrich/tests/common.py
e6c8528ae5a4c893fdd496291cce4fa26d244fec
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,658
py
# -*- coding: utf-8 -*- from contextlib import contextmanager from functools import partial from unittest.mock import patch from harpiya import exceptions from harpiya.addons import iap from harpiya.addons.crm_iap_lead_enrich.models.iap_enrich_api import IapEnrichAPI from harpiya.tests import common, new_test_user c...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
e8d5ea055d1ceea7195be38b4cce6bc29e074fbf
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_084/ch64_2020_04_27_14_46_04_470425.py
023718485a976a1c05f33f594b25b902959106df
[]
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
153
py
def acha_bigramas(L): i=0 l=[] while i<len(L)-1: l.append(L[i:(i+2)]) i+=1 return(l) print(acha_bigramas('babador'))
[ "you@example.com" ]
you@example.com
ba684d6b12d64fe0e0c18f14233dc49bd3fa28a0
9625f4e5ccc3d84d1accd7a97b54606784b75b71
/ld_ebutuoy/rotcartxe/icl.py
96d27607f01c13aef2abd317bd6922f24cd78fdb
[]
no_license
apfeltee/ld-ebutuoy
cdf11206a24532e6bc0a8c26cb7bfd83c02d140f
d7264979a9f9730d6e5ee6672af1e28eb17df8c5
refs/heads/master
2022-12-31T18:24:46.529435
2020-10-26T02:46:20
2020-10-26T02:46:20
307,234,227
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
8-ftu :gnidoc # slaretil_edocinu tropmi __erutuf__ morf rotcartxEofnI tropmi nommoc. morf :)rotcartxEofnI(EIICL ssalc 'lmth.\)+d\>di<P?(-+]-w\[/+]/^[/rf.\icl?).\www:?(//:?sptth'r = LRU_DILAV_ { = TSET_ ,'lmth.9761002-xiov-snas-etser-notnilc-yrallih-26-j-a-sinu-state/lanoitanretni/rf.icl.www//:ptth' :'lru' ...
[ "root@localhost" ]
root@localhost
a0facc91092d3a6baf98484dcbc4a5c456f7a276
af62904bd327aa0d0f1a3b28d0c5907c84a47ae6
/backend/mobole_89_dev_12314/settings.py
6b60bfda95aa899513ab4d799288424d04dec57d
[]
no_license
crowdbotics-apps/mobole-89-dev-12314
40c8eb1ebd4e01dc6f51cf149570e23351477df6
637dab2baaec0a53b8453b7d41957bc59008ad8a
refs/heads/master
2022-12-25T14:05:17.619699
2020-10-01T17:11:28
2020-10-01T17:11:28
300,359,331
0
0
null
null
null
null
UTF-8
Python
false
false
5,913
py
""" Django settings for mobole_89_dev_12314 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
6863c1a78327bbede4992a415fa35aa09a45c746
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/73/usersdata/193/35185/submittedfiles/triangulo.py
97458a79d635b3b2cfbe28959656e443ba0e2a5a
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# -*- coding: utf-8 -*- import math a=int(input('digite o comprimento de a')) b=int(input('digite o comprimento de b')) c=int(input('digite o comprimento de c')) if a<b+c: print('S') else: print('N') if a**2==b**2+c**2: print('Retângulo') if a**2>b**2+c**2: print('Obtusângulo...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f344432cdd07a88c844d960ce131bdc19413cf01
90cad1df7b7d424feb8e71ff3d77e772d446afdf
/upgrade_scripts/19/02_reebill_mysql.py
1b642d9ce407521778b8ffb6a568972a2a09bb3b
[]
no_license
razagilani/billing
acb8044c22b4075250c583f599baafe3e09abc2e
fd2b20019eeedf0fcc781e5d81ff240be90c0b37
refs/heads/master
2021-05-01T14:46:32.138870
2016-03-09T18:55:09
2016-03-09T18:55:09
79,589,205
0
1
null
null
null
null
UTF-8
Python
false
false
3,333
py
import sys import pymongo import mongoengine import MySQLdb import argparse from billing.processing.state import StateDB, UtilBill, Customer, ReeBill from billing.processing.rate_structure import RateStructureDAO, RateStructure from billing.processing.mongo import ReebillDAO # command-line arguments parser = argparse...
[ "dklothe@skylineinnovations.com" ]
dklothe@skylineinnovations.com
79c9fdcb091a868154547ee9b920e43b957ebb0a
525f22261958fab26ec85387f09dcef8d2ab36ae
/app/main/views.py
d3319de1563cb240447bde155c1253a6c90a627d
[]
no_license
zengke123/DeviceManage
e5421f807ca2f1fdfc211f7d13f3147f6c6489b9
018602ae5ad23fd1208b2879e2f9e6ee81051ec4
refs/heads/master
2020-04-16T06:37:32.462143
2019-01-22T01:42:19
2019-01-22T01:42:19
165,354,647
0
0
null
null
null
null
UTF-8
Python
false
false
15,539
py
from flask import render_template, request, jsonify, send_from_directory, redirect from sqlalchemy import distinct, func, or_ from . import main from .. import db from ..models import Host, Capacity from flask_login import login_required from ..filesetting import DOWNLOAD_FOLDER @main.route('/') @login_required def i...
[ "249626102@qq.com" ]
249626102@qq.com
4d2dfb76f4d9301581e243bd9c09262c3653cad2
8d161515037cd42dcd6404a068620c11b2597ae8
/LeetCode/StackAndQueue/prefix_calculator.py
daa7a133bfa0f87cf97e351de5a94b78af69417b
[]
no_license
YiseBoge/CompetitiveProgramming
433526d18a7bfe754f9e1c8d20b2b234d7b7568c
26b720623bcc1afe054101a13ca37b65ff518ce1
refs/heads/master
2021-12-03T17:52:00.048476
2021-11-23T17:40:14
2021-11-23T17:40:14
225,392,780
1
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
import sys def prefix_calculator(tokens: list) -> int: operators = ["+", "-", "*", "/"] t = [] while len(tokens) > 0: t.append(tokens.pop()) while len(t) > 1: i = 0 while t[i] not in operators: i += 1 buffer = t[0:i] operator = t[i] t = t[i...
[ "Ethiopia1!" ]
Ethiopia1!
2c8bf760c96c4f6b083cfe46f8998e2d0ee575be
8d8a84e65f91ff702aa8f5178efdfbcd32ee0822
/point_spectra_gui/core/SaveTrainedModel.py
52c804ce3bb7c2c1e62e95da01cba8fea3c4dbc1
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
tthatcher95/PyHAT_Point_Spectra_GUI
e358aa8587a073ec04c733ad06544253084bb48f
fd40914312490171e4200f1a2eed5a02db7cf5f1
refs/heads/master
2020-07-01T23:06:00.560204
2020-04-10T19:29:21
2020-04-10T19:29:21
201,334,423
0
0
NOASSERTION
2019-08-08T20:41:56
2019-08-08T20:41:56
null
UTF-8
Python
false
false
1,804
py
import pickle import json from PyQt5 import QtWidgets, QtGui from point_spectra_gui.ui.SaveTrainedModel import Ui_Form from point_spectra_gui.util.Modules import Modules #from point_spectra_gui.core.MainWindow import MainWindow class SaveTrainedModel(Ui_Form, Modules): def setupUi(self, Form): super().set...
[ "rbanderson@usgs.gov" ]
rbanderson@usgs.gov
bb47aad3d4cf269edf9f357df6b3d25215a1a791
20abcc8d8db86e87c196db105a496498627c7aa5
/pybuild/package.py
4d1b51b38c7a5539f0be7412c6b30d994086359e
[ "WTFPL" ]
permissive
efroemling/python3-android
88642dee1f027dac8c777e77b1fd994842f51b1d
6ea94545ea6479ff83e5ad2b8435fd2699ff5994
refs/heads/master
2020-03-26T13:02:56.944270
2018-08-15T13:28:14
2018-08-15T13:28:14
144,920,326
3
0
null
null
null
null
UTF-8
Python
false
false
8,324
py
import importlib import itertools import os.path import pathlib import shutil from typing import Dict, Iterator, List, Optional, Sequence, Union import urllib.request import urllib.error from .env import gpg_key_id from .patch import Patch from .source import Source, GitSource, URLSource from .util import ( _PathT...
[ "yan12125@gmail.com" ]
yan12125@gmail.com
55161e1de1413a476f77b7bba90e4d0631c6d7ac
347299b495e1417dd4748c86f7696fb849c79c4f
/analisis_proyectos/dominio/general/nombre.py
c853a7200e0e260d28d6839a18fa6ef7ab01bcf7
[]
no_license
vvalotto/python_uner
6a379cc7ab4cb6380c193863403409e5559e1cd6
8fbeb9fde0883427695b5065232ace452160034f
refs/heads/master
2020-07-25T23:32:50.829101
2019-10-18T18:02:16
2019-10-18T18:02:16
208,457,042
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
""" -------------------------- Proyecto = ddd-evaluaciones Modulo = nombre Autor = admin Fecha creación = 22/10/16 -------------------------- """ from analisis_proyectos.dominio.base.objeto_valor import * class Nombre(ObjetoValor): """ Propiedades accedidas """ @property def nombres(self): ...
[ "vvalotto@gmail.com" ]
vvalotto@gmail.com
8a14fad9b9263a3cb139abc2629ccc195be4ba48
d77ceba2cf1472755574e0cee4e3e95651aeed60
/app/utils/fetch_info_from_github.py
e2891a619f654f4fa05806c988d13f1dc6b55a6c
[]
no_license
Safintim/hexlet-friends
e46ecaeec7fc2a12f7578d1e9a2b86bd3d096921
1cbbfa9adf6d984c2a06dc4f8efbad81e37dc51f
refs/heads/master
2020-07-21T18:46:20.389549
2019-09-29T15:51:19
2019-09-29T15:51:19
206,946,881
1
0
null
2019-09-07T09:38:29
2019-09-07T09:38:28
null
UTF-8
Python
false
false
1,920
py
import requests from django.conf import settings from urllib.parse import urlparse, parse_qs from collections import Counter def fetch_all_repos_for_user(user='Hexlet'): url = f'https://api.github.com/users/{user}/repos' return fetch_from_github(url) def fetch_commits_for_repo(repo, user='Hexlet'): url ...
[ "timurtlt96@mail.ru" ]
timurtlt96@mail.ru
da5b395a0d7085d473f4bb0050c7afdc8f3eae10
b2eda41d1b0c29612f90f4196c03dbd97b7c6323
/teste/ex005.py
5c022b8696f2410470d88dc91957d08990012f87
[]
no_license
3005200317/exercicios-python
c7dbfbe701fd3c000016e0eb6544876b6e3615de
503a8be2a9cca17e06816e8babe2dba1991c9568
refs/heads/master
2023-07-15T10:00:28.121502
2021-08-24T18:43:23
2021-08-24T18:43:23
290,904,176
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
n = int(input('Digite um numero: ')) print(f'Analisando o valor {n}, seu antecessor é {n-1} e o sucessor é {n+1}')
[ "anajuliacanestraro@gmail.com" ]
anajuliacanestraro@gmail.com
31e534c89abfcb577e9e34b8da7a03d0b69b332c
dab4294f2c57e2014a1d5237d4450e4788df0922
/Case6Pi.py
ce0623341e588d6952ee0064c44544896f2f5284
[]
no_license
gxmls/Python_Basic
0654add5ac68d39d97fc65419b81779565bba615
01eb43f74a5dc42f7b040260c4a0e1cbc12f7107
refs/heads/master
2023-05-07T13:37:57.139841
2021-05-21T01:46:12
2021-05-21T01:46:12
284,941,081
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from random import random from time import perf_counter DARTS=1000*1000 hits=0.0 start=perf_counter() for i in range(1,DARTS+1): x,y=random(),random() if pow(x**2+y**2,0.5)<=1.0: hits+=1 pi=4*(hits/DARTS) print("圆周率值是{:}".format(pi)) print("运行时间是{:.5f}s".format(perf_counter()-start))
[ "noreply@github.com" ]
gxmls.noreply@github.com
564a826b1b18903e42bd637579a245003a86003d
d7b89e6090759d242f0afc8fd5d9f5200c17371a
/20190826/BOJ_15685.py
681c539608f9062295366238762faa442d9562e1
[]
no_license
JISU-JEONG/algorithm-
545c5f758d2ca15d2d59a706ab75be8fb71e39a6
02ff7df63dd8a8518005d37a2edec67d158ae6db
refs/heads/master
2020-09-13T14:15:59.919347
2019-11-19T23:57:40
2019-11-19T23:57:40
222,812,910
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
import pprint def solution(x, y, std_x, std_y, g): result = [(x, y), (std_x, std_y)] while g-1: g -= 1 for i in range(len(result)-2, -1, -1): nx, ny = result[i] nx, ny = std_x + (ny-std_y), std_y - (nx-std_x) result.append(nx, ny) return result board =...
[ "jindex2411@naver.com" ]
jindex2411@naver.com
b3b7fce91bbbefe9943da6fe4b09a05ff92fd5f3
eb61d62ca1f6f0123e3771105f5dfbbd6115138d
/.history/30-08-21_20210912122331.py
d18de2eb926d29eafdb1c79b309027b0486ef408
[]
no_license
Alopezm5/CORRECTO-2
e0f14bcc3a88c0e222d10e3261e68532008bc42e
223613f1fb04dce3fac9f82f243cb2f22fe100f3
refs/heads/main
2023-07-29T06:52:48.147424
2021-09-12T20:33:27
2021-09-12T20:33:27
388,995,308
0
0
null
null
null
null
UTF-8
Python
false
false
4,127
py
from datetime import date,datetime class Empresa: def __init__(self,nom="El mas barato",ruc="0999999999",tel="042971234",dir="Juan Montalvo"): self.nombre=nom self.ruc=ruc self.telefono=tel self.direccion=dir def mostrarEmpresa(self): print("Empresa: {:17}, RUC: {}"....
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
dbc9e80d94d38b90add7ec4caa07c6c557f2670f
53a83642c01a8828e3d7bd0b18e33c3b694c2b84
/Python/GeeksforGeeks/reverse-a-string-using-stack.py
2074e5a068d736b98613df14bea6d40f2e2efd42
[]
no_license
anantkaushik/Competitive_Programming
1dcd60a28b5b951c23024d6090942be081ad249f
6dba38fd7aa4e71b5196d01d64e81f9336d08b13
refs/heads/master
2022-03-06T15:36:23.797340
2022-02-21T12:00:37
2022-02-21T12:00:37
82,700,948
271
95
null
2020-10-27T17:34:39
2017-02-21T16:18:16
Python
UTF-8
Python
false
false
1,110
py
""" Problem Link: https://practice.geeksforgeeks.org/problems/reverse-a-string-using-stack/1 An string of words is given, the task is to reverse the string using stack. Input Format: The first line of input will contains an integer T denoting the no of test cases. Then T test cases follow. Each test case contains a ...
[ "anant.kaushik2@gmail.com" ]
anant.kaushik2@gmail.com
24f88bc45c0c04450d80915d06e58575f238f3d6
51c33304feee6ef68f31cfd72ff15073c0b7eca6
/hrp/migrations/0007_auto_20180528_2122.py
b52dde2a13ed72874c94ea08eae468d13b3b948c
[ "MIT" ]
permissive
paleocore/paleocore110
44a5238b0ef7c8740497a80f47f9a7b7f51adbf1
808022a11e6b70020b0b6f448567b96d21341974
refs/heads/master
2022-07-22T06:06:36.326993
2021-12-13T20:12:30
2021-12-13T20:12:30
92,423,385
0
0
MIT
2022-07-06T19:46:56
2017-05-25T16:36:37
Python
UTF-8
Python
false
false
9,140
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2018-05-28 21:22 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('hrp', '0006_person'), ] ...
[ "denne.reed@gmail.com" ]
denne.reed@gmail.com
f078c00cf632281b327b04349b446aad92ae8eac
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/opaquevalueelement_c9192c4f69230ba221c46e4939c56328.py
fda41d7cfc5d1f8e2aa70c642d40b6d762c2ca38
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
5,888
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
6c15c5899ab0d71452353f40d76764215719b347
50948d4cb10dcb1cc9bc0355918478fb2841322a
/sdk/keyvault/azure-security-keyvault/azure/security/keyvault/_generated/v2016_10_01/models/_models_py3.py
4920c195ef89b58cf361694ec4ffa14e061da2fd
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
91,405
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 ...
[ "noreply@github.com" ]
xiafu-msft.noreply@github.com
33445aac01b7b16f77aa51dd658d32373b2ce8a3
6f1ae6561d63f3d081807c1cd3eda79035c6cd5f
/第五周/8-21/使用BeautifulSoup爬取51.job并存为csv文件.py
aa969df54f9a834ff4c53c364003fce0ee139ea8
[]
no_license
qq1295334725/zheng
3ee0d70fdbaf42e86d5a9a65772209fd24d8c10a
0d884b69feb4c9c4babec6c467697697337c4ca3
refs/heads/master
2020-03-25T11:27:28.952808
2018-08-28T11:10:08
2018-08-28T11:10:08
143,733,196
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
""" 座右铭:将来的你一定会感激现在拼命的自己 @project:正课 @author:Mr.Chen @file:使用BeautifulSoup爬取51.job并存为csv文件.PY @ide:PyCharm @time:2018-08-21 15:48:28 """ import requests from fake_useragent import UserAgent from bs4 import BeautifulSoup import re from tqdm import tqdm import re import csv class Job51Spider(object): def __init__(se...
[ "1295334725@qq.com" ]
1295334725@qq.com
8f8c40bd18a02bfb9a61114324eaf61049f4965a
02bae0ffc4dea8e65cceb5ef49b8ec30ed3ab0fe
/week2/fibonacci_numbers.py
cdd395a626bf465f7756e89a019a219d739dfaf3
[]
no_license
Gambrinius/Python_Course
030ae41a129aa6a4ded06cc1ed9ca852bcf1c756
0d7529fa3dcc012b117241900d9d564d4096208b
refs/heads/master
2020-03-06T16:01:33.322266
2018-06-15T17:49:40
2018-06-15T17:49:40
126,965,876
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
n = int(input()) a1 = 0 a2 = 1 i = 1 sum_ = 0 while i != n: sum_ = a1 + a2 a1, a2 = a2, sum_ i += 1 print(a2)
[ "ilya.konon.95@gmail.com" ]
ilya.konon.95@gmail.com
09e2b54f22d3e1c88708f555126db0139d3d275e
564ee960c4785a69e4676b627024afe2899c910b
/proto/message.py
de9280dae448d47b500aaac6e16f83a32807ef1e
[ "Apache-2.0" ]
permissive
software-dov/proto-plus-python
cd29e27bd309d6e685bf8c1c8dcb98df26d16de7
80dcce9099e630a6217792b6b3a14213add690e6
refs/heads/master
2022-02-28T18:02:04.171083
2022-02-17T18:29:44
2022-02-17T18:29:44
242,241,806
0
0
Apache-2.0
2021-02-19T22:37:13
2020-02-21T22:29:26
Python
UTF-8
Python
false
false
29,497
py
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
software-dov.noreply@github.com
827b5191fc46913060b1846f1ce3b2a6a3f7d5c3
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/request_11.py
95ca18a71d4548d19bffd75dfb2f695e126fd058
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('request_11', __name__, url_prefix='/request_11') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template(...
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
2a35362b6c95ee6d7485a3a209e02c72b2966cc9
38e0a6aa9df9c968135b348845abfa489cda4031
/newsMoringPaper/newsMoringPaper/settings.py
99eeb7e7048394f13cf49e0ed3ee6f3a425716b3
[]
no_license
AReallyMan/everySpiders
bb923de508bd986bcf158728d17638c4ce608db8
19419ae5097a522ed0c88e9ab63aa62419c25b44
refs/heads/master
2022-09-20T02:18:06.205480
2020-06-03T06:33:47
2020-06-03T06:33:47
263,788,915
0
0
null
null
null
null
UTF-8
Python
false
false
3,364
py
# -*- coding: utf-8 -*- # Scrapy settings for newsMoringPaper project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/la...
[ "969114624@qq.com" ]
969114624@qq.com
624c6017abe7c4979c0a4061430aa9e6315b3b10
367e78b01dd7e03d32396d22d703c0f069121a32
/python/hammingWeight.py
7fddd54b99db2b72c2538b0d682e542e5e29af57
[]
no_license
wencanluo/LeetCode
fc7ce2df36e275f33954d5ecdc49b67460814fc5
c56dabdefd43bc845f25655927f7e9842b704108
refs/heads/master
2021-01-18T21:18:40.876743
2017-02-13T02:35:08
2017-02-13T02:35:08
11,758,649
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
704
py
''' 191. Number of 1 Bits My Submissions QuestionEditorial Solution Total Accepted: 85256 Total Submissions: 227336 Difficulty: Easy Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 32-bit integer ’11' has binary representati...
[ "wencanluo.cn@gmail.com" ]
wencanluo.cn@gmail.com
8f1bb7344c73d26d6cb49a28796756d3bf6f8b7e
5e01b849530ceac9f62ef2fb85497792bbe4c15a
/Jan15/mnist-download.py
5021bbc04aa8740ecd4e0983def31550250e965e
[]
no_license
cheesecat47/ML_DL_Jan2020
2206599c0eb20eebdd152d1e3b27e72ffa2c6900
15bffd8c9c19d9ff2871aa7afe95607f95e491fe
refs/heads/master
2021-07-16T18:10:20.609018
2021-01-19T00:48:01
2021-01-19T00:48:01
232,076,415
0
0
null
2020-01-28T04:58:03
2020-01-06T10:23:19
Python
UTF-8
Python
false
false
851
py
import urllib.request as req import gzip import os import os.path DEBUG = True savepath = './mnist' baseurl = 'http://yann.lecun.com/exdb/mnist' files = [ 'train-images-idx3-ubyte.gz', 'train-labels-idx1-ubyte.gz', 't10k-images-idx3-ubyte.gz', 't10k-labels-idx1-ubyte.gz' ] # 다운로드 if not os.path.exist...
[ "cheesecat47@gmail.com" ]
cheesecat47@gmail.com
4debd64c99b6ccaf469402aa3c543449205e39ab
0dca74ba205f42b38c1d1a474350e57ff78352b4
/L1Trigger/L1TMuonEndCap/test/RunTrackFinder_MC.py
749beedac1a93535059dc60881b8e22fb5fdea26
[ "Apache-2.0" ]
permissive
jaimeleonh/cmssw
7fd567997a244934d6c78e9087cb2843330ebe09
b26fdc373052d67c64a1b5635399ec14525f66e8
refs/heads/AM_106X_dev
2023-04-06T14:42:57.263616
2019-08-09T09:08:29
2019-08-09T09:08:29
181,003,620
1
0
Apache-2.0
2019-04-12T12:28:16
2019-04-12T12:28:15
null
UTF-8
Python
false
false
10,775
py
# ## Basic (but usually unnecessary) imports # import os # import sys # import commands import subprocess import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.Eras import eras process = cms.Process('reL1T', eras.Run2_2016) ## Import standard configurations process.load('Configuration.Stan...
[ "abrinke1@cern.ch" ]
abrinke1@cern.ch
564b847ca3d0439ade3c524a8af136e848c43416
decd059e0429a2976c2bfa06eec64f88e28327ce
/ShowSpecial.py
f8dc1873ec3c75efe40d0d8b1eb97c9d7e5f95cc
[ "MIT" ]
permissive
tkahng/trkRhinoPython
0d1462ff9f170260b0cd6a749539d2fbf5e3ba62
0be0c0a2516a35eb3dc5aa48ccaee38b6e8e5cf3
refs/heads/master
2022-04-30T07:15:05.609635
2022-04-19T16:52:45
2022-04-19T16:52:45
246,807,113
0
2
null
null
null
null
UTF-8
Python
false
false
398
py
import rhinoscriptsyntax as rs import scriptcontext as sc def ShowSpecial(): ids = None if sc.sticky.has_key('HIDE_SPECIAL'): ids = sc.sticky['HIDE_SPECIAL'] if ids: rs.EnableRedraw(False) for id in ids: rs.ShowObject(id) rs.EnableRedraw(True) if sc.sticky...
[ "tkahng@gmail.com" ]
tkahng@gmail.com
3529eaaa36196a865101edb454e22b002efde388
1b8a99a4ff80da51dc81dd8354bf9bf1cbd25a8b
/2022/the_k_strongest_values_in_an_array.py
888acd6a32ad0fcae3e2ab84100bd0fcec918d3c
[]
no_license
eronekogin/leetcode
ea639eebe0cd70af9eb4cba59bc68f636d7b3e0c
edb870f83f0c4568cce0cacec04ee70cf6b545bf
refs/heads/master
2023-08-16T10:35:57.164176
2023-08-14T11:25:33
2023-08-14T11:25:33
163,679,450
0
0
null
2021-09-09T12:04:44
2018-12-31T15:33:06
Python
UTF-8
Python
false
false
472
py
""" https://leetcode.com/problems/the-k-strongest-values-in-an-array/ """ from heapq import heappush, heappop class Solution: def getStrongest(self, arr: list[int], k: int) -> list[int]: # Get median. m = sorted(arr)[(len(arr) - 1) >> 1] heap: list[tuple[int]] = [] for num in ar...
[ "mengyu.jiang@gmail.com" ]
mengyu.jiang@gmail.com
463bc8ae5196da00b4aab69486fca8ab43c0c109
93fc4c873d2e5d9c724687d3d7d3e6ba5f722a6c
/bankgantrisch/settings.py
1de42b076faf6d1462ec0178dd1334fbed9c7034
[]
no_license
daniel-kanchev/bankgantrisch
4486d0c88e6c727c2df8e70961504a13f2a249d2
a393730e25c0cbfa967201627cfa82aeb85b3787
refs/heads/main
2023-03-08T11:52:02.791681
2021-02-19T12:03:19
2021-02-19T12:03:19
340,356,770
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
BOT_NAME = 'bankgantrisch' SPIDER_MODULES = ['bankgantrisch.spiders'] NEWSPIDER_MODULE = 'bankgantrisch.spiders' USER_AGENT = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0', ITEM_PIPELINES = { 'bankgantrisch.pipelines.DatabasePipeline': 300, } FEED_EXPORT_ENCODING = 'utf-8' ROBOTSTXT...
[ "daniel.kanchev@adata.pro" ]
daniel.kanchev@adata.pro
bc3aae515b0f75a03699d5f16e59a5740780772e
ae75fa3bc4b36262994c7257e9d7951f0e6805c2
/app/controllers/prueba.py
8b511659053db4b000fa42fd5b8f4271c5d5c839
[]
no_license
pepeul1191/python-accesos
68ca2053cef94ec92527d88474272140f069a58d
4e738f3b3baf46a75af92cbdaee9bd5b0e3c0975
refs/heads/master
2020-01-23T21:59:47.200541
2016-11-25T02:08:46
2016-11-25T02:08:46
74,717,900
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # app/controllers/prueba.py from app.config.controller import Controller class Prueba(Controller): # Atributos: def metodo(self): #print "\n \n \n ESTAMOS EN EL METODO \n \n \n" return "estamos en método" def pormil(self,x): #print int(x) * 1000 return int...
[ "jvaldivia@softweb.pe" ]
jvaldivia@softweb.pe
8930fa9b48b520a95ddc42d8db22b1d5b102b667
e5329001263e67a4d3c13d57bb91f2502280e206
/InvTL/lm_py/pypy/translator/platform/distutils_platform.py
768b3bd6b0cd3520577489227fbda15b5df35675
[]
no_license
yanhongliu/DARLAB
d9432db6e005a39e33501d7ffffe6e648b95b3fc
f739318c9620b44ef03d155f791c7ed4111d80fa
refs/heads/master
2021-05-27T19:58:58.458846
2014-02-04T12:09:26
2014-02-04T12:09:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,347
py
from pypy.translator.platform import Platform, log, CompilationError import py, sys, os from pypy.translator.tool import stdoutcapture def log_spawned_cmd(spawn): def spawn_and_log(cmd, *args, **kwds): log.execute(' '.join(cmd)) return spawn(cmd, *args, **kwds) return spawn_and_log CFLAGS = [...
[ "mickg10@gmail.com" ]
mickg10@gmail.com
91bcf134f4133be4e9532476ab40ba0db00311e1
9e271a3bc1bf388d82bc5a01d275d910c00f315c
/event/migrations/0004_registration.py
b6b984ea28fce2a548060dbb26e40eb59d307ca1
[ "MIT" ]
permissive
kthaisociety/website
36f11b704f9c38414e0999b55db4513444b53f9e
4c4efb8a93218ae128d203b15c4340f90fe9f6a6
refs/heads/master
2023-08-09T19:44:16.968356
2023-05-20T20:33:05
2023-05-20T20:33:05
218,593,606
2
3
MIT
2023-05-20T20:33:06
2019-10-30T18:17:10
Python
UTF-8
Python
false
false
2,047
py
# Generated by Django 2.2.10 on 2020-03-15 08:32 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import event.enums import uuid class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "oriol.closa@est.fib.upc.edu" ]
oriol.closa@est.fib.upc.edu
3cd40268d65a15ba96938a06772892bc463374fd
fbc0d5c081dbfead483a1e1e226a380446bcd56e
/TDT4110 - Informasjonsteknologi, grunnkurs/Øvinger/Øving 6/Mynter.py
ba5f9d56e229c9009e36874d0f2adf0a146758f2
[]
no_license
blauks/ntnu-2
58eec17a8f6db7424a6cb44d74e029b68256320a
38fa0ddfaa726408f087d1792fd0e00810f9243c
refs/heads/master
2020-08-16T11:01:10.946232
2019-08-08T11:28:48
2019-08-08T11:28:48
215,494,235
0
1
null
2019-10-16T08:15:48
2019-10-16T08:15:48
null
UTF-8
Python
false
false
1,415
py
__author__ = 'Niklas' # -*- coding: utf-8 -*- typer = [1, 5, 10, 20] typer = typer[::-1] print(typer) # a) mynter = [5, 1, 5, 10, 20, 5, 1] def countCoins(coins): countobj = {} for t in typer: countobj[str(t)] = 0 for c in coins: countobj[str(c)] += 1 return ...
[ "nikasmh@hotmail.com" ]
nikasmh@hotmail.com
81e7de69fdedda0f46b1bfbe8bc1951fcd4c36bb
a4e502e9487cf17c53f9f931ec0dbc12168fea52
/doc/design/exp.py
d20de89d8a1691dce2e5bd22a1b767343558d07a
[ "BSD-3-Clause" ]
permissive
bryanvriel/pyre
bdc5dd59c46d53ff81f2ece532b9073ac3b65be1
179359634a7091979cced427b6133dd0ec4726ea
refs/heads/master
2021-09-28T00:10:26.454282
2018-11-11T16:42:07
2018-11-11T16:42:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
# -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2018 all rights reserved # import pyre import gauss class exp(pyre.component, family="gauss.functors.exp", implements=gauss.interfaces.functor): r""" A functor implementation of the form $a \exp^{\beta x}$ """ a = pyre.propert...
[ "michael.aivazis@orthologue.com" ]
michael.aivazis@orthologue.com
ed881a336a449652a62a14eb0145771ce139d0cb
c29de7ce2d91f572aeb4da56801de7a1dc034054
/st2/experiments/cifar10/exp055.py
c3f9ed946ab78844a362684d8c41c30eeda91315
[]
no_license
kzky/works
18b8d754bfc2b1da22022926d882dfe92ea785e6
b8708c305e52f924ea5a7071e0dfe5f2feb7a0a3
refs/heads/master
2021-01-10T08:04:44.831232
2018-03-01T15:09:47
2018-03-01T15:09:47
54,316,791
0
0
null
null
null
null
UTF-8
Python
false
false
6,200
py
import nnabla as nn import nnabla.functions as F import nnabla.parametric_functions as PF import nnabla.solvers as S import nnabla from nnabla.contrib.context import extension_context import numpy as np import os import time import argparse from st2.cifar10.cnn_model_055 import cnn_model_003, ce_loss, sr_loss, er_loss,...
[ "rkzfilter@gmail.com" ]
rkzfilter@gmail.com
7692405115b71b1298fefa806e90076e3a992d93
4add4495531c3d697686e9ea7fc6a9392a52ef1f
/CSpiderClient/bin/workload.py
35ef0b255c241dd29abd22c45fc028855b2a83c2
[]
no_license
dangpu/momoko
81bda2fefd2426323d48036573c32e2d18dada94
bf035cc4f6733a30eb963630f7a35909a6226acd
refs/heads/master
2020-04-25T08:07:12.468507
2014-08-30T03:59:08
2014-08-30T03:59:08
18,755,221
1
1
null
null
null
null
UTF-8
Python
false
false
3,586
py
#!/usr/bin/env python #coding=UTF-8 ''' Created on 2013-11-15 @author: devin @desc: 作业管理 ''' import random import json import jsonlib import time from util import timer from common.task import Task import threading from common.logger import logger from crawler.workload import WorkloadStorable from u...
[ "dangpuzy@163.com" ]
dangpuzy@163.com
df66823f7a62c73d1b5de4d394857a132c4b4baa
9ea0ea4e94768924b343255f193604b9a2d67569
/rdkit/Chem/TemplateAlign.py
2e3e212ed5a7b360093c3ada67bc9c99052e49e1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ali1810/solub_herokuu
db9a6c5757591a402057e5a44a0657ddcf244b83
8f6b7ea73fc270f626d9c957599570d5d561eb5a
refs/heads/main
2023-08-14T06:47:33.001972
2021-09-27T07:15:42
2021-09-27T07:15:42
405,470,217
0
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
# $Id$ # # Copyright (C) 2005-2006 Rational Discovery LLC # # @@ All Rights Reserved @@ # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # from rdkit import Chem from ...
[ "noreply@github.com" ]
ali1810.noreply@github.com
4d729cd6ad2a717642c2b784d3d3e8fe9ac00f81
5c5bcf1b293b58a7cd70b55fb750e98c45ed782f
/test_app/urls.py
ace1c56c70566355714c439e057b29cfd746633b
[]
no_license
yurtaev/django-httplog
be41f0e5d919d2eb4ef5197801287f94582111e3
41ab3a4b390de18d91e50ad621550b36fef2c310
refs/heads/master
2021-01-18T01:41:56.482465
2014-11-21T07:10:26
2014-11-21T07:10:26
26,481,688
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
# coding: utf-8 try: from django.conf.urls import patterns, url, include except ImportError: from django.conf.urls.defaults import patterns, url, include from django.http import HttpResponse def dummy(request): return HttpResponse() urlpatterns = patterns('', url('^api/.+/$', dummy, name='dummy'), ...
[ "baryshev@gmail.com" ]
baryshev@gmail.com
b61f6e1129e774c0e6e145fc70fa883a46930387
adf76b6855bf614a977e77521e343b0af0743c1a
/src/tools/district/countConnectionsInDistricts.py
4dde79961ed23310ddf621b6c8bbb284fe4a96c9
[]
no_license
tbinetruy/CIL4SYS
0d5a01478087500279c5c6f522049c30d91f3c13
ee41343aaea4fdd5662388a0ee07c46d51101ca9
refs/heads/master
2022-12-11T13:00:27.456518
2020-01-19T22:12:45
2020-01-19T22:12:51
157,378,216
9
2
null
2022-11-21T21:48:39
2018-11-13T12:39:38
Python
UTF-8
Python
false
false
2,639
py
#!/usr/bin/env python # Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo # Copyright (C) 2007-2017 German Aerospace Center (DLR) and others. # This program and the accompanying materials # are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution...
[ "tbinetruy@gmail.com" ]
tbinetruy@gmail.com
1a9b41f1862ef724f938155eda28b7d027480141
41597e4f86a806249e443fe694a5c2c5a68b2837
/src/mapping.py
547a97b90fd74b6648df1fab53c97368b947c5f5
[]
no_license
0xJeremy/MakeHarvard2020
2ba64767000444d31ddb67a8fd7a2dafbdbad637
77f87967923d521e0dd575a583a8fc4040e6c8ce
refs/heads/master
2020-12-26T19:51:07.455242
2020-02-09T19:09:59
2020-02-09T19:09:59
237,621,766
2
1
null
null
null
null
UTF-8
Python
false
false
1,488
py
from constants import RANKS, SUITS, COLOR, REDS, BLACKS, NUM_PLAYERS, NUM_DEAL_CARDS class Mapping(): def __init__(self, mode="ranks"): self.mode = mode if self.mode == 'ranks': self.top_level = RANKS self.f = self.get_ranks elif self.mode == 'suits': self.top_level = SUITS self.f = self.get_suits ...
[ "jeremy.kanovsky@tufts.edu" ]
jeremy.kanovsky@tufts.edu
75a9b4f0b34064cf6245544818bf6710637eea0d
06e50b89c187a395ffa77fa73695b926b1e04729
/pc_api/testcases/api/business/upload/upload_test.py
d7511e261c40957bcb211a7f406fb9887fe222e5
[]
no_license
jeffery13790/sjp
711c4036ab4d0d39a5d3eecdd26565ef846774e6
59a7dd9cbbcc63d098d6f6bb484fc6ae287763f5
refs/heads/master
2021-07-17T07:44:28.499723
2021-05-06T08:51:54
2021-05-06T08:51:54
246,966,869
0
0
null
null
null
null
UTF-8
Python
false
false
2,291
py
# NOTE: Generated By HttpRunner v3.1.4 # FROM: upload.yml from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase, Parameters import pytest from testcases.api.business.business_login_test import TestCaseBusinessLogin as Login class TestCaseUpload(HttpRunner): @pytest.mark.parametrize( ...
[ "shijianping_95@163.com" ]
shijianping_95@163.com
9842d917bd8df9bdb9484975db9fb81351bbe259
e9786db8b8df005ecc57e780de67a9b7ea5780e7
/clicksend_client/models/reseller_account_transfer_credit.py
6ba77d3a25c1decda3970b8cb65f875055b275a6
[]
no_license
shrutigautam/clicksend-python
e506a1b6a17de2973506497c3a54cdd308ad37e5
e13d271a207117956393bdd23229d3c1207300d8
refs/heads/master
2020-04-07T19:19:53.412194
2018-11-21T09:24:39
2018-11-21T09:24:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,891
py
# coding: utf-8 """ ClickSend v3 REST API This is the official [ClickSend](https://clicksend.com) SDK. *You'll need to create a free account to use the API. You can register [here](https://www.clicksend.com/signup).* You can use our API documentation along with the SDK. Our API docs can be found [here](htt...
[ "Support@ClickSend.com" ]
Support@ClickSend.com
62239d444e4d7f9eb37401b213959c2f65ddbc6d
faf2b052e7f8cd79467ad34fbc173f3bf4b1a21d
/test/test_ws_honorary_staff_organisation_association.py
77ad5f8811c5cc01cb7695d6bc5c05d766e0c7c3
[]
no_license
atbe/MSU-Scholar-Api-Client-Python
5d39577ce07ab285f0df9ee58a1ed7ff8ab08d2a
31b263e5ad848fc6593c4662fbf2828ab9e2594c
refs/heads/master
2021-05-04T00:51:46.720474
2018-03-12T23:52:17
2018-03-12T23:52:17
120,354,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,991
py
# coding: utf-8 """ PURE API 510 This is the Pure Web Service. Listed below are all available endpoints, along with a short description.<br/>In order to use the Pure Web Service, you must enter an API key. These are generated in the Administrator tab of Pure, and issues with a given set of available endpoints...
[ "abeahmed2@gmail.com" ]
abeahmed2@gmail.com
3cf62aa7c11b319d1b4e148477732704f317236a
5945903ff7b3c0be799d8b228aa96309e8d6b68a
/PTA_AL_1140.py
97f1adf42b3f84d528a496e39a29c15519460982
[]
no_license
freesan44/LeetCode
44fd01fa37e2d7e729ae947da2350b1649c163ae
2ed9f1955c527d43fe1a02e5bebf5a6f981ef388
refs/heads/master
2021-12-07T20:07:02.308097
2021-11-01T23:58:11
2021-11-01T23:58:11
245,178,582
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
startInt, round = map(str, input().split()) # startInt, round = map(str, "1 8".split()) res = startInt # res = str(1231) for _ in range(int(round)-1): # resList = list(res) resList = res tempStr = None tempCount = 0 res = "" for val in resList: # for index,val in enumerate(resList): ...
[ "freesan44@163.com" ]
freesan44@163.com
a86270ce2da97cc1de12a13403130b77092b55d1
a3cb1eacfb827e50098995362e84efa6b0f85988
/10-Lists-Iteration/iteration-with-conditional-logic.py
8234d3b163a17474756d49231b3cda5216c6d8ec
[]
no_license
zamudio/learning-python
91e940660e58c8f663cdacfdd029a351b151940c
402886b858f23d6000c59d4fd3ce7cad109d286d
refs/heads/master
2022-04-16T04:01:42.403051
2020-04-06T07:09:08
2020-04-06T07:09:08
250,422,168
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
def evens_sum(num): total = 0 for number in num: if number % 2 == 0: total += number return total nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] print(evens_sum(nums))
[ "github email address" ]
github email address
03d1b416134fc53e808736609932af7d50e10e8f
987ead1eb0877b9bdea16f3ee50bf19d5fe204bd
/django/mysite/mysite/settings.py
da0dd3cde1ec517f8a037a67f7de65b79041c4de
[]
no_license
ZHX1996/project
da62151e32254848a02292a2f9bdb1db17850d67
5a57be55cf173dde7e5a135a9cf1cfbc9a63a158
refs/heads/master
2021-07-15T11:36:02.412231
2020-05-15T08:51:34
2020-05-15T08:51:34
94,512,901
0
0
null
null
null
null
UTF-8
Python
false
false
3,176
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.9. 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/ """ import os # Bu...
[ "1365370292@qq.com" ]
1365370292@qq.com
4383e0def05c0fa0b8bfcbebf4037a02582154c2
d612040ff26a15bbc525a0c84a81a46b0b7115ec
/numberispowerof2ornot.py
73f9b7f7aef21ad78d761e27e9bb4be8bee10fa8
[]
no_license
EsaikaniL/Python-exercise
0c707c64cd4001e57996f69e4ca9bdd2a082bfe7
5e3f5e8f0d3af56e1f0c722aee395c2b806c6de2
refs/heads/master
2020-04-17T17:54:56.622727
2018-03-16T11:29:27
2018-03-16T11:29:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
def ispoweroftwo(n): n=n/2.0 if n==2: return True elif n>2: return ispoweroftwo(n) else: return False n=int(raw_input()) if ispoweroftwo(n): print "Yes" else: print "No"
[ "noreply@github.com" ]
EsaikaniL.noreply@github.com
5be5fccd38a10a0df05e39d42d61728a897b6ceb
7cd6a7bc72f0026056a7238c0feea081bfff13a7
/bioprocs/scripts/tfbs/pMotifScan.py
a1100752641cd48170f42984b8293f2422dd4665
[ "MIT" ]
permissive
shijianasdf/biopipen
8d963ccca38e2a9d7a46582a5eec45c38924655c
d53b78aa192fd56a5da457463b099b2aa833b284
refs/heads/master
2023-08-18T18:28:03.306877
2019-12-31T16:17:35
2019-12-31T16:17:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
import re from os import path from diot import Diot from bioprocs.utils import runcmd, cmdargs, logger from bioprocs.utils.meme import MemeReader from bioprocs.utils.tsvio2 import TsvReader, TsvWriter, TsvRecord from bioprocs.utils.parallel import Parallel tffile = {{i.tffile | quote}} sfile = {{i.sfile | quote}}...
[ "pwwang@pwwang.com" ]
pwwang@pwwang.com
d8d00d2b68a6668a1449a92783422c8a0a17e3ef
65f9576021285bc1f9e52cc21e2d49547ba77376
/aop_proc/tools/build/scons/build/qtee.py
82a14337dc45ec7e85e2db6feeac33fc181c813e
[]
no_license
AVCHD/qcs605_root_qcom
183d7a16e2f9fddc9df94df9532cbce661fbf6eb
44af08aa9a60c6ca724c8d7abf04af54d4136ccb
refs/heads/main
2023-03-18T21:54:11.234776
2021-02-26T11:03:59
2021-02-26T11:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
#=============================================================================== # # Pipe input to both STDOUT and a log file. # # GENERAL DESCRIPTION # Pipe input to both STDOUT and a log file. # # Copyright (c) 2011-2011 by Qualcomm Technologies, Incorporated. # All Rights Reserved. # QUALCOMM Proprietary/GTDR # #...
[ "jagadeshkumar.s@pathpartnertech.com" ]
jagadeshkumar.s@pathpartnertech.com
65f4c5f89464577eaf00f210226809c8d7c93f2f
f7c07caa1210d2a08e8433cdd854b1232efa88e3
/Directory-And-File-Examples/Read-From-A-File-Using-An-Iterator.py
0e7e991eb34d8f5edf3fe11cd4712ef22fe98b0e
[]
no_license
rchicoli/ispycode-python
c2fbecc28bf32933150986d24f77b7297f50b78e
fa27f2377943ac2e4d983065406578151091e3f5
refs/heads/master
2020-03-20T11:34:59.698618
2018-06-14T21:14:02
2018-06-14T21:14:02
137,407,150
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
from __future__ import print_function f = open('colors.txt', 'r') for line in f: print(line, end="") f.close()
[ "rafaelchicoli@hotmail.com" ]
rafaelchicoli@hotmail.com
cabbb728501e59286cc5b8a7e87f562bb56580ef
3521f97ddea47f3774b55d9366e14bd9146b4121
/rango/views.py
223c73666e3476f67198aab2a35260d7e3d56b00
[]
no_license
stuartelimu/rango
26f3dc1c04975e62843c33a1e684afc19e180ced
6b3f02aa91c6e4d8bb4573fe24ebf08eba7f065c
refs/heads/master
2020-03-27T15:35:01.451020
2018-08-30T09:18:19
2018-08-30T09:18:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,773
py
from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from django.http import HttpResponse, HttpResponseRedirect from django.template import loader from .models import Category, Page, UserProfile from .forms im...
[ "stuartelimu@gmail.com" ]
stuartelimu@gmail.com
98c263e2601120b08e7e97962c56ffe33d532f7a
3b4f985759e44dc169134ae7dcee8e92747c4b01
/tests/integrations_app/public/test_drive.py
b17508bbfce96ee12b5206ebe6c883c1949ce828
[ "Apache-2.0" ]
permissive
SkafteNicki/pytorch-lightning
4b09863bf222241ca7128d13df94ff60b71e50aa
7df627b43746a85aa87671bec3e6dada0d98b556
refs/heads/master
2023-07-15T21:20:02.468216
2023-05-04T08:12:33
2023-05-04T08:12:33
248,216,299
3
1
Apache-2.0
2023-07-10T02:40:24
2020-03-18T11:44:20
Python
UTF-8
Python
false
false
551
py
import os from time import sleep import pytest from integrations_app.public import _PATH_EXAMPLES from lightning.app.testing.testing import run_app_in_cloud @pytest.mark.cloud def test_drive_example_cloud() -> None: with run_app_in_cloud(os.path.join(_PATH_EXAMPLES, "drive")) as ( _, _, ...
[ "noreply@github.com" ]
SkafteNicki.noreply@github.com
ac490cccbc967bf950f53c2db95dbde982ab623c
af7ab3c9d189caf4a22b2a83a03da4560dba6166
/generated/administration_data/MailMessage.py
cdf7721bd9a5768f8c601213d97ea413a5651bb9
[]
no_license
Eggwise/unit4_python_api
43418d16d84abb73ddd843b8b268883f02ff996b
421195392e408bd9e14bda0851817c5ab835ebaf
refs/heads/master
2021-01-15T13:43:21.486918
2016-09-19T14:10:02
2016-09-19T14:10:02
68,611,588
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
import requests, json from generated.base.unit4_base import Unit4Base class MailMessage(Unit4Base): def delete_mailMessage_byId(self, database, id, ): request_args = locals() url_template = 'api/{database}/MailMessage/{id}' url = url_template.format(**request_args) #print(url) ...
[ "dev@eggwise.com" ]
dev@eggwise.com