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
cb9254defb1dc4344f4dc02075844f7a20a3bc07
69729ce2a0d2147b7b52e14008d8fc9960e3c099
/fast_rl/core/metrics.py
3233e2fc611672b7ffd218e9a04ec813f65eb1a7
[ "Apache-2.0" ]
permissive
swelchm/fast-reinforcement-learning
2f5d5aa51830f774ca0e6814833a736029e88f4d
9649b6d1bb931c4e4b7200a73b172325a1d8346f
refs/heads/master
2020-07-29T16:04:10.926035
2019-09-18T02:43:50
2019-09-18T02:43:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
import torch from fastai.basic_train import LearnerCallback from fastai.callback import Callback, is_listy, add_metrics class EpsilonMetric(LearnerCallback): _order = -20 # Needs to run before the recorder def __init__(self, learn): super().__init__(learn) self.epsilon = 0 if not has...
[ "jokellum@northstate.net" ]
jokellum@northstate.net
fb4eb2d3fc2b6b557ef5f486e64a77a51611a0bc
87a6d7e83a25cb3b1696fb6094fda88858754c19
/src/review/views.py
a2a5efdfd814e12518e46fac60f1fd21ab2a9492
[ "BSD-3-Clause" ]
permissive
tegarty/socialrating
20b45f8eb233fed0b69ae0fd8110cf8a73f1f782
b80888ee8e637bd0a5517614c78235d563fead2e
refs/heads/master
2020-04-20T08:42:52.231718
2018-12-06T17:57:43
2018-12-06T17:57:43
168,747,496
1
0
BSD-3-Clause
2019-02-01T19:11:19
2019-02-01T19:11:19
null
UTF-8
Python
false
false
4,163
py
from django.views.generic.list import ListView from django.views.generic.detail import DetailView from django.views.generic.edit import CreateView, UpdateView, DeleteView from django import forms from django.shortcuts import redirect, reverse from item.mixins import ItemViewMixin from rating.models import Vote from te...
[ "thomas@gibfest.dk" ]
thomas@gibfest.dk
1d01b17589e954f3dd2578ee3bc07e5bbed380dc
ff99c677aba11e27c252f773b52cd54f5de79279
/ctt-server/openapi_server/models/project.py
0220631032783c2d8b7da9e44e5e0a94cbfdbdab
[ "Apache-2.0" ]
permissive
radon-h2020/radon-ctt
b7eeb82f59e36e2a258d0a2ba9cd9483eb3dd247
97fcf5e800a0129d24e119b430d94f07ca248ba9
refs/heads/master
2023-01-04T23:44:49.611599
2021-09-15T15:34:41
2021-09-15T15:34:41
235,379,642
0
7
Apache-2.0
2022-12-27T15:56:38
2020-01-21T15:48:45
Python
UTF-8
Python
false
false
2,758
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from openapi_server.models.base_model_ import Model from openapi_server import util class Project(Model): """NOTE: This class is auto generated by OpenAPI Generat...
[ "duellmann@iste.uni-stuttgart.de" ]
duellmann@iste.uni-stuttgart.de
5dc3e5eb54602009e6f8a02450af13bf34566f0c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_workers.py
925498db6457cf5ab2857092165fbc8709111a52
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.nouns._worker import _WORKER #calss header class _WORKERS(_WORKER, ): def __init__(self,): _WORKER.__init__(self) self.name = "WORKERS" self.specie = 'nouns' self.basic = "worker" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ebf9b4a30f7ce8099e5020d7dc4df985c9055dc2
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2138/60585/257214.py
6a0f930bf2e12114cdb52468e38c6cf2a97dc12e
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
278
py
arr=list(map(int,input().strip().split(','))) k=eval(input()) n=len(arr) isM=False for i in range(0,n-1): j=i+1 temp=arr[i] while j<n: temp+=arr[j] j+=1 if temp%k==0: isM=True break if isM: break print(isM)
[ "1069583789@qq.com" ]
1069583789@qq.com
f5053d55e7dfd80861b7d268d991e8ad2d4ff27e
780a18c55af7a8744b408e1efd4aaf08a0d3a3e7
/passbook/api/__init__.py
d5deace33843d920f8be361ce93e1885635aed8c
[]
no_license
squidnee/passbook
86507c6675122f1b67333f55048eb55f3dff664a
551de76b95049185820a3fc8729fbc126c423994
refs/heads/master
2020-03-22T05:27:31.718897
2018-07-21T12:30:32
2018-07-21T12:30:32
139,567,112
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
def dict_factory(cursor, row): d = {} for idx, col in enumerate(cursor.description): d[col[0]] = row[idx] return d
[ "smaples@stanford.edu" ]
smaples@stanford.edu
f5a0e695f1a50cbc20de0463e14d5f362bb054ee
6499d0b71b19fd4416bfd74fa9fd88e3d0b0618a
/king_phisher/client/dialogs/exception.py
70b21f7817f9aa453b632b5a60c493afdd5eccd9
[ "BSD-3-Clause" ]
permissive
Meatballs1/king-phisher
dfb0a539a2d0455113b40698f7151521774addb1
a16b1de055260f6f33d8c1fd0765bd06ffb733c2
refs/heads/master
2020-05-20T17:55:30.441239
2015-10-15T19:21:22
2015-10-15T19:21:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,018
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # king_phisher/client/dialogs/exception.py # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # ...
[ "zeroSteiner@gmail.com" ]
zeroSteiner@gmail.com
7d4ad877ef0674f0248f5b402f5ca2ec0fbca0b5
83932f1d956a6b7818c6e58a31205e6e26f2fb5c
/0x11-python-network_1/2-post_email.py
ae506265afc23c32cdffd2a0428200f828ddb688
[]
no_license
Nzparra/holbertonschool-higher_level_programming
a17834b8239e477a7284119acac69da0e7d7261e
6cf7a44a10db7a10be3c3c02cbacfea9a7b897f2
refs/heads/master
2020-09-29T02:45:04.458850
2020-05-14T21:12:45
2020-05-14T21:12:45
226,930,910
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
#!/usr/bin/python3 """ sends a POST request to the passed URL with the email as a parameter """ from urllib import request, parse import sys if __name__ == "__main__": req = parse.urlencode({'email': sys.argv[2]}) req = req.encode('ascii') reqst = request.Request(sys.argv[1], req) with request.urlopen...
[ "nzparra@gmail.com" ]
nzparra@gmail.com
99b9f127259fa1b88da83c73c1b13ae51336a33c
20a3cc1106fa86fc2d45cd1728cc87d5db97e1f7
/old/s3c/explosion.py
d214948ae8a509ca9fcf7d2f5cbf3d133373c71a
[]
no_license
sarahboufelja54/galatea
f5664f0b3117629b2c5bbe078a1bd52bb5e359e6
002a9f2905868be25b71770190fb2d5eda11c861
refs/heads/master
2020-12-04T13:45:07.697189
2018-12-12T16:27:09
2018-12-12T16:27:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
#attempting to create an excitation-based explosion (I don't think it's possible) hat_h = [1., 1.] alpha = [.01 , .01] W = [ -1., 1. ] beta = 1 w = [ beta * (weight ** 2) for weight in W ] init_hat_s = [ 1., 1.5 ] hat_s = [ val for val in init_hat_s ] #like mu in our current model, except that it isn't gated by...
[ "goodfellow.ian@gmail.com" ]
goodfellow.ian@gmail.com
6b8caec8ea96cb715c6ece897689627a1d8ec789
eb5c7ddab43fbb24b91c29a4560749a2386490fb
/tensorflow/contrib/learn/python/learn/estimators/head_test.py
99bdcc7d8fe281c928257d70ff31d4db8ac7f386
[ "Apache-2.0" ]
permissive
ivankreso/tensorflow
8fb3f599564a6afe8c054bf05ea5a63aa8f4ec3d
38d8238edb041b9fbf3b2762b09df450937a5b40
refs/heads/master
2021-01-21T16:27:58.859552
2017-01-31T10:33:22
2017-01-31T10:33:22
80,117,846
0
1
null
2017-01-26T13:42:27
2017-01-26T13:42:27
null
UTF-8
Python
false
false
41,317
py
# Copyright 2016 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
42de88eb553c0e4e996822b8763fa6c13507faa7
e5eeb6d9e7c2d7a53f864f8b9df7ca0cb79932ef
/sa/profiles/Alstec/MSPU/__init__.py
b7d0c1ced7d78897c77243798ea9274c7900e37e
[ "BSD-3-Clause" ]
permissive
0pt1on/noc
aa583a6684f8299467c665e303f7ffa47ad6b88a
4eb26dd44002a0a4a562973815567237d979cab5
refs/heads/master
2020-06-20T08:51:11.653330
2019-07-12T07:13:45
2019-07-12T07:13:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
# -*- coding: utf-8 -*- # --------------------------------------------------------------------- # Vendor: Alstec # OS: MSPU # --------------------------------------------------------------------- # Copyright (C) 2007-2017 The NOC Project # See LICENSE for details # --------------------------------------------------...
[ "dmitryluhtionov@gmail.com" ]
dmitryluhtionov@gmail.com
13a4e0a500494230f0b097836ef8e1748b2c0f01
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/tools/grit/grit/format/resource_map_unittest.py
ecc997a180675ab38dc887c768b9bb3b395cddb7
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-unknown", "MIT" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
12,456
py
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. '''Unit tests for grit.format.resource_map''' import os import sys if __name__ == '__main__': sys.path.append(os.path.join(os.pa...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
5360f0f0d9b911bb3033292064920cc4edcb718e
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Flask/Book_evaluator/venv/Lib/site-packages/urllib3/util/__init__.py
130a48f4f4e13e706d68fa3f49aa7081eb6997c7
[]
no_license
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:e916a7e28015232e340aefe810f5a7355f5bc05e6b5f1e86d43519ee87a18cf6 size 1044
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
a8fa9c19001403543360c111212013e80ce6d390
45799ccc3a16c785ab3c65f3296d66f8463590dc
/docs/_downloads/7dfb273e58ce9eea02e428696e9a9672/q108.py
de3417bd434085db9999cb7596c5a4dfcfe82b2f
[ "MIT" ]
permissive
odys-z/hello
9d29b7af68ea8c490b43994cf16d75c0e8ace08e
fedd0aec7273f3170aa77316d0d5f317cc18a979
refs/heads/master
2023-08-19T03:25:58.684050
2023-08-18T08:07:27
2023-08-18T08:07:27
154,006,292
0
0
MIT
2023-04-18T22:50:56
2018-10-21T12:34:12
C++
UTF-8
Python
false
false
1,496
py
''' 108. Convert Sorted Array to Binary Search Tree https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/ Given an integer array nums where the elements are sorted in ascending order, convert it to a height-balanced binary search tree. A height-balanced binary tree is a binary tree in which the de...
[ "odysseusj@163.com" ]
odysseusj@163.com
72228121b096510616532a4edb9408df229e04ab
5b9485c4ad9db15ff3e535085092fb45057f7364
/src/nuxeo/javascript/cpsskins/tests/functional/treeview/browser.py
6162bef9cd7e0d77dbb40da6b1080e30ac097356
[ "ZPL-2.1" ]
permissive
nuxeo-cps/zope3--nuxeo.javascript
06109541949c1e612b232efeddec3aa04ecb7d84
3ac03c8c46daf75ae7b3ff2fba308cba8caff245
refs/heads/main
2023-01-24T06:54:13.659442
2009-12-22T09:24:26
2009-12-22T09:24:26
317,995,433
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
from urllib import unquote from zope.app.publisher.browser import BrowserView from cpsskins import minjson as json tree_data = { 'items': [ {'id': '1', 'title': 'item 1', 'depth': 1, 'type': 'inner'}, {'id': '2', 'title': 'item 2', 'depth': 2, 'type': 'inner', 'empty': True}, {'...
[ "devnull@localhost" ]
devnull@localhost
9b80d82c0f685c41a834444780cd8207ebb71348
9f9b19a26ed931207878364d395e47a3d986751b
/dmam/migrations/0006_auto_20181022_2230.py
6b6b882350caefc90a3b9690311255482d54076e
[]
no_license
lishulincug/waterwork
6697f5264dc880a92d9b91e91b703eda3818d7a3
690fb344e7f271a3ded66f0cdf4c9161811ed1f4
refs/heads/master
2020-09-09T13:19:21.301200
2019-07-25T09:37:04
2019-07-25T09:37:04
221,456,996
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Generated by Django 2.0 on 2018-10-22 22:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dmam', '0005_auto_20181022_1555'), ] operations = [ migrations.AlterField( model_name='station', name='dmaid', ...
[ "apengok@163.com" ]
apengok@163.com
52875bb3e78a1bda06ee3642b5d4c9156ba64ac9
55b57d64ec547869835334318f3059fbb507558c
/Fred2/Data/pssms/tepitopepan/mat/DRB1_0480_9.py
f6f1ff603742b33032918eb4444a0a117596dd3a
[ "BSD-3-Clause" ]
permissive
FRED-2/Fred2
9845f6678d4011cb746c7a5a6f283eea68077a02
b3e54c8c4ed12b780b61f74672e9667245a7bb78
refs/heads/master
2021-07-12T05:05:54.515427
2020-05-25T06:56:25
2020-05-25T06:56:25
16,275,425
42
35
null
2021-07-07T12:05:11
2014-01-27T10:08:11
Python
UTF-8
Python
false
false
2,169
py
DRB1_0480_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.004754, 'I': -0.99525, 'H': -999.0, 'K': -999.0, 'M': -0.99525, 'L': -0.99525, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.004754, 'V': -0.99525, 'Y': -0.004754}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, '...
[ "schubert@informatik.uni-tuebingen.de" ]
schubert@informatik.uni-tuebingen.de
a9dbd0cdcd940053789e278ea1754c00d7bcc81d
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/plugin/core/diff/DiffProgramManager.pyi
a0a10fe1025a5187fd858ff298fe56649ee228e8
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
3,233
pyi
from typing import List import ghidra.app.services import ghidra.framework.model import ghidra.program.model.address import ghidra.program.model.listing import java.awt import java.lang import java.net class DiffProgramManager(object, ghidra.app.services.ProgramManager): OPEN_CURRENT: int = 1 OPEN_HIDDEN: int...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
d5fc867cf915437ad5f65f07e94dd1e3c0cf089d
101ffbee515a5b8f23d77361558dea1e42794dbd
/pip_save/toml/tests/test_writer/test_statement_nodes.py
87c6eb7bd5d88df7645289d2751f38fa6795af0e
[]
no_license
mkurnikov/pip-save
0a841710c28983c1c769d87e18f2e584a554e1a1
e1e2fb9b0404a25790edcb5fd134267b92675470
refs/heads/master
2021-01-12T16:49:50.163661
2016-10-21T11:13:37
2016-10-21T11:13:37
71,442,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
from collections import OrderedDict from unittest import TestCase from pip_save.toml.model import TomlStatementNodes, Table class TestStatementNodes(TestCase): def test_append(self): toml_nodes = TomlStatementNodes() toml_nodes[('keyword',)] = '1' self.assertEqual(len(toml_nodes), 1) ...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
03141166a5bda5723952bf49f8c51c0d52f15fc7
43c24c890221d6c98e4a45cd63dba4f1aa859f55
/test/tests/assign_empty_list.py
a0b6e7f7ede213462c6b0daa209159a69c6f24cb
[ "Python-2.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
jmgc/pyston
c8e4df03c33c6b81d20b7d51a781d9e10148238e
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
refs/heads/master
2020-12-11T07:51:58.968440
2020-09-11T14:38:38
2020-09-11T14:38:38
39,242,644
0
0
NOASSERTION
2020-09-11T14:38:39
2015-07-17T08:09:31
Python
UTF-8
Python
false
false
8
py
[] = []
[ "daekharel@gmail.com" ]
daekharel@gmail.com
020f91f4d1a8a9caa5c59fe28145b52c554f09ff
bf4178e73f0f83781be6784d7587cb34a38d6edd
/platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/common/calculators/calc_modulator.py
d1572f6a1abc18443087ee2ab822b05f0a10716a
[]
no_license
kolbertv/ZigbeeSiliconV3
80d70515e93be1413c24cdcb3485f50c65a1564b
ab0bd8d4bb6c1048adef81d0e66d96006c2fabd9
refs/heads/master
2023-01-02T07:18:01.393003
2020-10-25T15:33:08
2020-10-25T15:33:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,642
py
"""Core CALC_Modulator Calculator Package Calculator functions are pulled by using their names. Calculator functions must start with "calc_", if they are to be consumed by the framework. Or they should be returned by overriding the function: def getCalculationList(self): """ #import math from pyradioconfi...
[ "1048267279@qq.com" ]
1048267279@qq.com
8ce29595818ea2d4b7f8186cbb954cbdb7739d39
a3ff13ecac60f891a3ebdcb4c72bf6a4b581a2d8
/YCD/10.16公开课红心代码heart_3d.py
307b46ff179ed773578ac66438fc7032e575e55a
[]
no_license
kekirk/pycode
75533afc3018cba30d0abd3c29ab1c945b85504b
06dab1a61d7b445cc19b41e4d281f62251e2583b
refs/heads/master
2020-04-01T17:13:53.828118
2019-01-04T09:02:00
2019-01-04T09:02:00
153,419,332
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
#!/usr/bin/env python # coding: utf-8 # In[3]: from pyecharts import Scatter3D import numpy as np # # 心形解析式 # # (x^2+9/4*y^2+z^2-1)^3-x^2*z^3-9/80*y^2*z^3=0 # In[5]: scatter3D = Scatter3D("I Love You", width=1700, height=1000) data = list() x = list(np.linspace(-1.5, 1.5,150)) y = list(np.linspace(-1,1,100)) z...
[ "kekirk@163.com" ]
kekirk@163.com
b1b5d4c9662f948f6cb0351194e8af4c4eab7524
acc9d729e0182b17023e9660457eed0e19f4f828
/test/test_exception_scope.py
22945ab9e2fae2a05406475b22a8ad88e8dbef90
[]
no_license
secuwave/nexpose_client
2f00907ef3ffea33c8e9f5cc2543e708f349de6c
5ceff219ae03cadb5407dc48d8858ffa56bb3463
refs/heads/master
2020-05-22T13:54:22.675479
2019-05-13T09:12:09
2019-05-13T09:12:09
186,369,310
0
0
null
null
null
null
UTF-8
Python
false
false
48,879
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "root@data-proc.openbase.co.kr" ]
root@data-proc.openbase.co.kr
63d35cddd89c965242e94321cf091a8e71be87ec
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_swivels.py
ee26ae2f31371bd1bbcf01ad3ec765b20b2961cb
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.verbs._swivel import _SWIVEL #calss header class _SWIVELS(_SWIVEL, ): def __init__(self,): _SWIVEL.__init__(self) self.name = "SWIVELS" self.specie = 'verbs' self.basic = "swivel" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
917caa8803de6237510c15044bfbe71ebee37d83
4564fd0cfb9009f0b85d15c3b9164b865c4c86e7
/tests/test_model.py
6640508bf3a1581cded6a9fe52d2d2d572937326
[ "Apache-2.0" ]
permissive
rajaramcomputers/client
0188a1cf8e989dcd180c280a4db4d00c44bac390
65badf61fb9a5430596d6d2c0b9b7833cf30ec06
refs/heads/master
2021-01-16T21:59:35.657394
2016-02-01T22:08:18
2016-02-01T22:08:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
""" run with nosetests -v --nocapture tests/test_model.py or nosetests -v tests/test_model.py """ from __future__ import print_function from pprint import pprint from cloudmesh_base.util import HEADING import cloudmesh_client.db import cloudmesh_client.db.model class Test_model: def setup(self): pa...
[ "laszewski@gmail.com" ]
laszewski@gmail.com
b113b1db3bfe5f8e92de554cc4f803a2b126bac7
902e8b6f2c39c0a7baa8abd9637aa43f4be27e27
/Code/Chapter 1/src/blueblog/urls.py
9e80e946967b3d343885c7d48be82d6ec68c8c7b
[]
no_license
PacktPublishing/Django-Projects-Blueprints
8151e611ae5cf95dc985ac7d08ce503bd41e0c4a
7d2409ea1b43b057d1e4c337e348cb6e102f75d6
refs/heads/master
2023-02-08T13:34:22.658965
2023-01-30T10:17:40
2023-01-30T10:17:40
59,006,898
32
30
null
null
null
null
UTF-8
Python
false
false
1,744
py
from django.conf.urls import include from django.conf.urls import url from django.contrib import admin from django.contrib.auth.views import login from django.contrib.auth.views import logout from accounts.views import UserRegistrationView from blog.views import NewBlogView from blog.views import HomeView from blog.vie...
[ "packt.danishs@gmail.com" ]
packt.danishs@gmail.com
a9e2cbb4176684f4ffa52c1888fae3102c5fa7b6
9b59f76f3b312951519a15651290476c34a54174
/QUANTAXIS_Test/QABacktest_Test/QABacktestSimple_Test.py
37e9feda4909d833898186c4d41be55ad36d35fd
[ "MIT" ]
permissive
sjtututu/QUANTAXIS
b8d9ba35d20159680f25cd3e583ebcfc7ff34c75
e9e20cdeda8b8d132433037b639a7e60f286a190
refs/heads/master
2020-08-16T11:19:19.689925
2020-02-22T01:21:57
2020-02-22T01:21:57
215,495,655
1
0
MIT
2019-12-28T08:13:57
2019-10-16T08:22:54
Python
UTF-8
Python
false
false
4,471
py
import unittest import numpy as np import pandas as pd import QUANTAXIS as QA class QABacktestSimple_Test(unittest.TestCase): # define the MACD strategy def MACD_JCSC(self, dataframe, SHORT=12, LONG=26, M=9): """ 1.DIF向上突破DEA,买入信号参考。 2.DIF向下跌破DEA,卖出信号参考。 """ ...
[ "415496929@qq.com" ]
415496929@qq.com
6366520696258a461f3115d86f78471be03fe8ae
7c3a2a44536779d711349f38a18c0edd95ff5b1f
/algolia_places/__init__.py
7b9dcb29453e2ba317b160934479cabb2fbb81ee
[ "MIT" ]
permissive
m-vdb/algolia-places-python
f0c566d5801a9397406cce32bbc8593da85cf769
84fcbf93abf35ad4c42ade0415fdafa2674639f7
refs/heads/master
2021-07-11T13:38:00.898814
2018-08-20T12:54:11
2018-08-20T12:54:11
145,402,115
2
1
MIT
2020-06-16T07:53:03
2018-08-20T10:20:15
Python
UTF-8
Python
false
false
69
py
"""Algolia places module.""" from .client import AlgoliaPlacesClient
[ "mvergerdelbove@work4labs.com" ]
mvergerdelbove@work4labs.com
922632bd7fd107d2f4b5713afca0a914316f2f55
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/195/48791/submittedfiles/testes.py
697187f7d52f0e988ed1e5a2cdacc5e64b225503
[]
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
423
py
# -*- coding: utf-8 -*- a=int(input('digite a:')) b=int(input('digite b:')) c=int(input('digite c:')) d=int(input('digite d:')) if a>b and a>c and a>d: print(a) if b>a and b>c and b>d: print(b) if c>a and c>b and c>d: print(c) if d>a and d>b and d>c: print(d) if a<b and a<c and a<d: print(a) if b<a ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
695b0730a411e071970885a7c9a14c7fb5b55754
444ef2c07e05cf6b2c85ee33535f228d7c5b384e
/allenact/embodiedai/mapping/mapping_utils/map_builders.py
1d31f53f59e84ca4263e6e57f69e0ff2ca84cf30
[ "MIT" ]
permissive
zcczhang/allenact
4d92d771e31868c3e6909c358787b46d2ff995fa
4657479e8127393f5996e70649da2e2a7eae7332
refs/heads/main
2023-08-21T19:30:19.397165
2021-10-06T17:33:58
2021-10-06T17:33:58
396,886,059
2
0
NOASSERTION
2021-08-16T16:52:59
2021-08-16T16:52:58
null
UTF-8
Python
false
false
23,116
py
# MIT License # # Original Copyright (c) 2020 Devendra Chaplot # # Modified work Copyright (c) 2021 Allen Institute for Artificial Intelligence # # 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 Softwa...
[ "lucaw@allenai.org" ]
lucaw@allenai.org
d80dd720858dc042a2f195293139c38d8a080e38
50de54517ef5e157b43598e412c477fd66890a3e
/Assignment 05/Problem 04.py
b0883029d93e9bfb1ca023132749cea0e5ea3943
[]
no_license
Shihabsarker93/BRACU-CSE111
f530be247bebaaee9cc5e85948dc070adae0c6ae
17c95c76f84abffe9d9bdcb5861fbacbc510b5a6
refs/heads/main
2023-08-13T15:33:57.331850
2021-10-07T10:56:09
2021-10-07T10:56:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
class Color: def __init__(self, color): self.clr = color def __add__(self, other): self.clr = self.clr + other.clr if self.clr == "redyellow" or self.clr == "yellowred": self.clr = "Orange" elif self.clr == "redblue" or self.clr == "bluered": self.clr = ...
[ "mirzamahrabhossain@gmail.com" ]
mirzamahrabhossain@gmail.com
51856a03ef40020ac8c9e0586c08bcf06f66111d
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part003471.py
2cabb575ba5e4c06ee0f115ab7c8fc7bab070e46
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,927
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
1119b7cb0f9c85f7fa3a4421a3c00101eb810077
1595b644191c9c18a5503379703347a853b63348
/investpy/stocks.py
bf4c06d8a6d8d0ebe499d46de5747c6612ac4bfb
[ "MIT" ]
permissive
ben-haim/investpy
d26c05c3e957d3ba623f408076746edbf5a8107b
7ace4ac7693f505c199074de3333f56e6b89cfef
refs/heads/master
2022-05-30T00:43:00.473082
2019-11-20T15:45:37
2019-11-20T15:45:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,164
py
#!/usr/bin/python3 # Copyright 2018-2019 Alvaro Bartolome @ alvarob96 in GitHub # See LICENSE for details. from datetime import datetime, date import json from random import randint import pandas as pd import pkg_resources import requests import unidecode from lxml.html import fromstring from investpy.utils.user_ag...
[ "alvarob96@usal.es" ]
alvarob96@usal.es
c3e9e1cc8cff9dfb3fae569dd6c04fa4f03eb0c9
b1fbe7460427dbb891d4b1951e43e551e86b1e3b
/arcnlp/torch/nn/encoders/rnn_encoder.py
650f222a3a14fcc7307c3081e46773c751216295
[]
no_license
linhx13/arc-nlp
88a45601e09deb7883ddf4583f6f2f4607fb85d0
760cca0d44958fb4011eaa039263575388a858ae
refs/heads/master
2023-05-04T12:59:21.232168
2021-05-18T17:38:28
2021-05-18T17:38:28
230,442,944
1
0
null
2021-04-17T03:41:42
2019-12-27T12:48:02
Python
UTF-8
Python
false
false
3,606
py
import torch import torch.nn as nn from ...nn.utils import get_sequence_lengths __all__ = ["RNNEncoder", "LSTMEncoder", "GRUEncoder"] class _RNNBaseEncoder(nn.Module): def __init__(self, module, return_sequences): super(_RNNBaseEncoder, self).__init__() self.module = module self.return_...
[ "mylhx288@gmail.com" ]
mylhx288@gmail.com
c5b7c0831380a9b4fd9effc5cea7908430770144
92f6ffb240a1fbaa52ae23f614663b2b915e4187
/backend/home/migrations/0002_load_initial_data.py
79e2423fce37abb55ff579976a85fe906d1c2f41
[]
no_license
crowdbotics-apps/msgs-sghsg56-dev-12782
3b196351f5ff932916802912c7740c7455a78459
10f95c9e897dcad50e21950879adc97b9fe689f4
refs/heads/master
2022-12-24T00:35:35.056481
2020-10-06T09:11:48
2020-10-06T09:11:48
301,672,120
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "MSGS-sghsg56" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
47c023614d7d2ba1c4b4f921d42350aec154cb40
ace30d0a4b1452171123c46eb0f917e106a70225
/filesystems/vnx_rootfs_lxc_ubuntu64-16.04-v025-openstack-compute/rootfs/usr/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py
3e1a50e3e6423cbe6c7010004e2266d04e7627b8
[ "Python-2.0" ]
permissive
juancarlosdiaztorres/Ansible-OpenStack
e98aa8c1c59b0c0040c05df292964520dd796f71
c01951b33e278de9e769c2d0609c0be61d2cb26b
refs/heads/master
2022-11-21T18:08:21.948330
2018-10-15T11:39:20
2018-10-15T11:39:20
152,568,204
0
3
null
2022-11-19T17:38:49
2018-10-11T09:45:48
Python
UTF-8
Python
false
false
5,435
py
# Copyright 2012-2013 OpenStack Foundation # # 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 la...
[ "jcdiaztorres96@gmail.com" ]
jcdiaztorres96@gmail.com
24a54a7565b8d38155fddd08742ae1389e50ac05
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5695413893988352_0/Python/algomaus/b.py
2d3892eda43ade0e73e3d0638dc64a9dc402c531
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
3,205
py
#! /usr/bin/env python def parse(lines): n = int(lines[0]) words = [] for i in range(n): words.append(lines[i+1]) return words def asInt(string, lastPosition): if lastPosition == -1: return 0 #if lastPosition == 0 and string[0] == '?': #return 0 lis = [] for i in range(lastPosition+1...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
1ebf50f2fe945bd4d55d54c13e76a24165a05cf2
a0f0efaaaf69d6ccdc2a91596db29f04025f122c
/build/botcmd_msgs/devel/lib/python2.7/dist-packages/botcmd_msgs/srv/_bot_getenabledi_cmd.py
56881c75882d7bfcd72f305eeff5b2ca7dffd6bc
[]
no_license
chiuhandsome/ros_ws_test-git
75da2723154c0dadbcec8d7b3b1f3f8b49aa5cd6
619909130c23927ccc902faa3ff6d04ae0f0fba9
refs/heads/master
2022-12-24T05:45:43.845717
2020-09-22T10:12:54
2020-09-22T10:12:54
297,582,735
0
0
null
null
null
null
UTF-8
Python
false
false
7,723
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from botcmd_msgs/bot_getenabledi_cmdRequest.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class bot_getenabledi_cmdRequest(genpy.Message): _md5sum = "481ac5a494c3140a...
[ "chiuhandsome1966@gmail.com" ]
chiuhandsome1966@gmail.com
4570702ee558fd5356cbb6e61347d548044dc91f
98efe1aee73bd9fbec640132e6fb2e54ff444904
/loldib/getratings/models/NA/na_velkoz/na_velkoz_jng.py
03ed1057207505472af839e30740f1e89491e018
[ "Apache-2.0" ]
permissive
koliupy/loldib
be4a1702c26546d6ae1b4a14943a416f73171718
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
refs/heads/master
2021-07-04T03:34:43.615423
2017-09-21T15:44:10
2017-09-21T15:44:10
104,359,388
0
0
null
null
null
null
UTF-8
Python
false
false
6,545
py
from getratings.models.ratings import Ratings class NA_Velkoz_Jng_Aatrox(Ratings): pass class NA_Velkoz_Jng_Ahri(Ratings): pass class NA_Velkoz_Jng_Akali(Ratings): pass class NA_Velkoz_Jng_Alistar(Ratings): pass class NA_Velkoz_Jng_Amumu(Ratings): pass class NA_Velkoz_Jng_Anivia(Ratings): ...
[ "noreply@github.com" ]
koliupy.noreply@github.com
e878483efb96ff6a75498766da8723c34864fa39
694d3929b23a8434cab14ddab623030a0fe4ac38
/apps/reports/views.py
f3a408b99c91eae03444b5863ff332d455c98ab2
[]
no_license
gehongming/django_api
03fec87a25c2ad3cb603aad2f1b5d9b680debf12
fb8e0623e9171deb8706ed258cc5d5bd0d9fe6aa
refs/heads/main
2023-09-01T06:57:22.677374
2021-10-12T05:39:07
2021-10-12T05:39:07
415,173,097
0
1
null
null
null
null
UTF-8
Python
false
false
3,648
py
import json import re import os from datetime import datetime from django.http import StreamingHttpResponse from django.utils.encoding import escape_uri_path from rest_framework.response import Response from rest_framework.viewsets import ModelViewSet from rest_framework import permissions, status from rest_framework....
[ "1010562639@qq.com" ]
1010562639@qq.com
397da806a95f70217bf79901c8e1ad9ffe4fcefe
e0ed932fc2e4edb953cc4e423362dabc19083008
/python/002_note/learn_with/002_有异常的例子.py
8704a23fa87700b015cb24d95bd2053e1d7f4bde
[]
no_license
glfAdd/note
90baee45003ac3998d898dcfbc618caa28f33b74
19a9aff61450be25904bff0fe672f660d49d90ff
refs/heads/main
2023-05-27T13:28:36.092352
2023-05-24T03:35:58
2023-05-24T03:35:58
240,066,208
1
0
null
null
null
null
UTF-8
Python
false
false
816
py
class Test: def __enter__(self): print('__enter__() is call!') return self @staticmethod def start(): print('------------------------------ test') return 1 / 0 def __exit__(self, exc_type, exc_value, traceback): """ @param exc_type: @param exc_v...
[ "2239660080@qq.com" ]
2239660080@qq.com
2e56820469786281eea6a55179cfaa0fae7337b3
5635a3b02f7695a50471c8c08970520858d2277c
/venv/bin/pyrsa-sign
12ff831eef1cc1f5b697b68f04379992425ffe5c
[]
no_license
BethMwangi/Flask-social
358325ea09b143c2aaa059594607d0a872fcabd1
4d0d902ee959054a95f0d7ab0dbfee3692521f91
refs/heads/master
2020-04-02T06:13:40.307975
2016-06-13T17:16:11
2016-06-13T17:16:11
60,806,302
0
0
null
null
null
null
UTF-8
Python
false
false
249
#!/home/beth/Documents/Github/Flask-social/venv/bin/python # -*- coding: utf-8 -*- import re import sys from rsa.cli import sign if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(sign())
[ "wanjikumwangib@gmail.com" ]
wanjikumwangib@gmail.com
e299c60be9d53012b8b77da119af0d359f1e54d0
c4ffab6cc6b5470a212d1b6a0d241de9427266ee
/test/functional/rpc_bind.py
ee454df4bb87a910eb3f5749321d750a3a4c467f
[ "MIT" ]
permissive
Upsidedoge/upsidedoge
1b8d49787eedb84cb7c5aff77549d7d1239ab807
32dd022d43b8b90ae1aa1ad7d81c0dfeb89611a2
refs/heads/main
2023-04-26T16:56:17.024158
2021-05-21T21:12:57
2021-05-21T21:12:57
369,643,234
0
0
null
null
null
null
UTF-8
Python
false
false
6,428
py
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test running upsidedoged with the -rpcbind and -rpcallowip options.""" import sys from test_framework...
[ "36169687+blockinator@users.noreply.github.com" ]
36169687+blockinator@users.noreply.github.com
e496f6a4b65e3fb3ed5cffda376a44cc1e6829cb
7357d367b0af4650ccc5b783b7a59090fdde47bb
/py-appscript/tags/py-appscript-0.18.0/Lib/aem/types/objectspecifiers/testclause.py
cd023de05f848f30e64af15fc725899e0d6eb54c
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
3,297
py
"""testclause -- Used to construct test expressions for use in by-filter references. (C) 2005 HAS """ from CarbonX import kAE import base class Test(base.BASE): """Base class for all comparison and logic test classes (Equals, NotEquals, AND, OR, etc.).""" def AND(self, operand2, *operands): """AND(test,...) --> log...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
e60acfc6dfaaa850aa14c36de95d0f2dd9dbd345
baefee5fbbc015cdc0b71ffc8956fad2d7d93683
/openstack_dashboard/dashboards/admin/routers/ports/forms.py
6010f5c792917a435eb64386f99e60d176fda8e1
[ "Apache-2.0" ]
permissive
dsullivanwr/stx-horizon
8312fa01bf28a6bfad175e66f4172add6cabf60c
ee6c9b17e34d1dc310790b9d5e0252361c86b8fb
refs/heads/master
2020-03-29T06:51:49.902050
2018-10-11T19:37:40
2018-10-11T19:37:40
149,643,878
0
0
Apache-2.0
2018-10-10T16:02:36
2018-09-20T17:11:28
Python
UTF-8
Python
false
false
2,970
py
# Copyright 2012, Nachi Ueno, NTT MCL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
cbb5b5e0a29153cfef89be24a515e1b90dbd5ce0
2a1e2c298773148983805f1e0fba62bc2bf79267
/lib/network/vgg_base.py
7057d7ce930283300e3f9abeacd0c7ce46869275
[]
no_license
copperdong/CTPN
42fde81010ba5c0bff193b4132d4c397c251dedd
3d559406c7ad2a02ac54b07ff1cc3603b3c5b6c9
refs/heads/master
2020-11-25T10:51:23.753733
2019-07-22T12:29:15
2019-07-22T12:29:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
import tensorflow.contrib.slim as slim from lib.utils.config import cfg def vgg_base(inputs, scope=None): featuremap_scale = 1 net = slim.conv2d(inputs, 64, [3, 3], scope='conv1_1') net = slim.conv2d(net, 64, [3, 3], scope='conv1_2') net = slim.max_pool2d(net, [2, 2], stride=2, padding='VALID', scope=...
[ "chizhanyuefeng@gmail.com" ]
chizhanyuefeng@gmail.com
39f9f6cb12e59735ebe32a3c579294e54cc3f58e
9039f309649d0b7c6dd974706fc507938ed0e47a
/03. Logistics.py
51054e067ae37313a5cfc1e9833e3de6735c07c5
[]
no_license
antondelchev/For-Loop---More-Exercises
2b5dadb31c273611c15e6523b536f994a0353a52
891266ff8b931e19d179b22dd33647887814555e
refs/heads/main
2023-03-03T11:59:16.990004
2021-02-16T15:01:02
2021-02-16T15:01:02
335,062,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
number_of_loads = int(input()) tonnes_total = 0 bus_tonnes_total = 0 truck_tonnes_total = 0 train_tonnes_total = 0 bus_price_total = 0 truck_price_total = 0 train_price_total = 0 for i in range(1, number_of_loads + 1): tonnes = int(input()) tonnes_total += tonnes if tonnes <= 3: ...
[ "noreply@github.com" ]
antondelchev.noreply@github.com
964b812d02375eb43441088299f997192ca9d36b
894b290b4f4f47b5eb523c23efd7bd6110d91b2f
/116_fang_shop/fang_shop/fang_shop/spiders/fang_shop_spider.py
c3f9547cad1f9b1ec5db7c8618dd0e8ddbf53a24
[]
no_license
wliustc/SpiderS
6650c00616d11239de8c045828bafdc5a299b1ce
441f309c50d28c1a3917bed19321cd5cbe7c2861
refs/heads/master
2020-03-27T06:15:39.495785
2018-06-14T07:55:44
2018-06-14T07:55:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,684
py
# -*- coding: utf-8 -*- import scrapy import re from fang_shop.items import FangShopItem import web import urlparse import hashlib import json import sys reload(sys) sys.setdefaultencoding("utf-8") headers = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) ' ...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
0a61d3455c62c56d19a40625fbc67c86684cf673
de64b143a346585f51590bd674e8d13bbc672386
/algorithm/Intermediate_Class/뉴스 클러스터링/Wooseong.py
a3809d890839206d63713c42df2c288ccf43d48e
[]
no_license
ai-kmu/etc
304ec20f59e4026025abdcbcae21863c80630dcb
9c29941e19b7dd2a2037b110dd6e16690e9a0cc2
refs/heads/master
2023-08-21T16:30:31.149956
2023-08-21T16:26:19
2023-08-21T16:26:19
199,843,899
3
24
null
2023-05-31T09:56:59
2019-07-31T11:36:16
Jupyter Notebook
UTF-8
Python
false
false
1,976
py
import copy def solution(str1, str2): # 대소문자 무시 - 모두 소문자로 str1 = str1.lower() str2 = str2.lower() # 각 str을 다중 집합으로 만들기 - 알파벳쌍만 가능 # -> .isalpha()는 str가 모두 알파벳일 때만 True set1 = [] for i in range(len(str1) - 1): temp = str1[i:i+2] if temp.isalpha(): set1.append...
[ "noreply@github.com" ]
ai-kmu.noreply@github.com
77ea35da65f61abce7c44b9a46ee137770cc95ec
fc5becca3e2e48a444b512e059df1cd21601829b
/Aulas/Aula23A.py
3baac0f53fa2d741ffa7e4838bd99fbeb5af6205
[ "MIT" ]
permissive
Felix-xilef/Curso-de-Python
c44bf8c22b393aefaed3a2bb3127ef7999e27fb8
cdff7c7f3850e6326e274c8c1987b9e1a18ce910
refs/heads/master
2021-05-19T11:09:22.644638
2020-04-01T22:09:02
2020-04-01T22:09:02
251,665,966
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
try: a = int(input('\n\tNumerador: ')) b = int(input('\tDenominador: ')) r = a / b # except: - apenas redireciona caso dê erro (GENÉRICO) # print('\n\tProblema encontrao') # erro - mostra erro | erro.__class__ - mostra classe do erro except (ValueError, TypeError): # except classe: - apenas redirecion...
[ "felixpb@yahoo.com.br" ]
felixpb@yahoo.com.br
37f9ffe43f45931ee39051d3b509924093639327
33af6185b48bd76f97f0a74390a3a812ee216c78
/angr/angr/procedures/libc/fseek.py
12804e949829a38007056038d366ae0bb5839ae7
[ "BSD-2-Clause" ]
permissive
Ruide/angr-dev
dab0cabd907fce47ac698f890c3f3a8b80ab7e2a
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
refs/heads/master
2022-11-10T11:27:13.355024
2017-10-07T14:29:09
2017-10-07T14:29:09
104,417,044
0
1
BSD-2-Clause
2022-10-16T04:48:10
2017-09-22T01:35:12
C
UTF-8
Python
false
false
1,201
py
import angr from . import io_file_data_for_arch ###################################### # fseek ###################################### class fseek(angr.SimProcedure): #pylint:disable=arguments-differ def run(self, file_ptr, offset, whence): # TODO: Support symbolic file_ptr, offset, and whence ...
[ "rd.cheung.bupt.sms@gmail.com" ]
rd.cheung.bupt.sms@gmail.com
fc1594f425c1a54f1e64a6aef2c262b5c450c273
736730d72c24470a0c9ba58309ee3a95fe09d5e4
/projeto/feriados/feriados/urls.py
d23c9df344b2022619b6e27648331c943d93a479
[]
no_license
orlandosaraivajr/FATEC_2021_1SEM_Topicos3
3f9c6b983c8b012330527848862f9f22649f0f5a
83610f798510e1bad69eedaed6b3b4ed08e2014e
refs/heads/master
2023-05-02T10:24:05.865947
2021-05-19T00:20:38
2021-05-19T00:20:38
339,551,303
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include('feriado.urls')), ]
[ "orlandosaraivajr@gmail.com" ]
orlandosaraivajr@gmail.com
6e4abc00113d6b561e5acc7b39de395f44ae02c3
388ff52dec8f4780a2d1cfd3f07f9228373a6b03
/0x0A-python-inheritance/6-base_geometry.py
1f8561cd5c07e6e9c0738b8ac8295dfb5d3a7038
[]
no_license
dairof7/holbertonschool-higher_level_programming
6bbbb0eb2f2c13553e63056e0cee0ade7e028afe
6de0ea30c02a69f9721b4304eb0d48fca626e2df
refs/heads/master
2023-01-14T09:58:13.327692
2020-11-10T16:51:50
2020-11-10T16:51:50
259,339,091
0
1
null
null
null
null
UTF-8
Python
false
false
260
py
#!/usr/bin/python3 """ this module createa class BaseGeometry""" class BaseGeometry(): """empty BaseGeometry class""" pass def area(self): """method area return a Exception""" raise Exception("area() is not implemented")
[ "dairof7@gmail.com" ]
dairof7@gmail.com
d1447815d97faff47b44f8a1895258fb69c4f969
2c8d3e341e813c1b1b88ae824edeaadb366aec0a
/Parser/SW4/SW4/bin/Debug/smo2-25-path-31.py
ebf93cad9a6ff9ab926373c9abce13ff101bc0cb
[]
no_license
kiriphorito/MoveAndTag-Manticore
2e24a958f4941556b2d2714563718069cc5b208f
d07a3d8c0bacf34cf5f433384a6fd45170896b7a
refs/heads/master
2021-01-20T11:40:49.232449
2017-02-26T14:08:48
2017-02-26T14:08:48
82,548,310
0
0
null
null
null
null
UTF-8
Python
false
false
31,842
py
#!/usr/bin/python # -*- coding: utf-8 -*- u""" @brief: Path Planning Sample Code with Randamized Rapidly-Exploring Random Trees (RRT) @author: AtsushiSakai @license: MIT """ import shapely from shapely.geometry import Polygon, LineString, Point, MultiPoint, GeometryCollection import matplotlib.pyplot as plt from as...
[ "zcabwhy@ucl.ac.uk" ]
zcabwhy@ucl.ac.uk
a46a09b36dea4eddb1483fcdee6e292962b2ab51
f47d17b53977cf745d453b654529e8cd6be7890f
/3level_N20_ainbin1.py
120aacee0e37205a96e1666348518b2b537c19d0
[]
no_license
rareearthquantum/model_upconversion_peter
b4cce7556a167ba0e9813625dc924d3542d33cd1
dcf08000ec21770659318409a686bb2b88a7a1be
refs/heads/master
2020-04-28T19:54:34.795590
2019-06-14T09:43:28
2019-06-14T09:43:28
175,526,148
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
from Frequency_response_3level import * p = {} p['deltamu'] = 0. p['deltao'] = 0. p['d13'] = 2e-32*math.sqrt(1/3) p['d23'] = 2e-32*math.sqrt(2/3) p['gamma13'] = p['d13']**2/(p['d13']**2+p['d23']**2)*1/11e-3 p['gamma23'] = p['d23']**2/(p['d13']**2+p['d23']**2)*1/11e-3 p['gamma2d'] = 1e6 p['gamma3d'] = 1e6 p['nbath']...
[ "peterbarnettnz@gmail.com" ]
peterbarnettnz@gmail.com
6e94b8ef6dd9af3e5218e7cac10b5f3da2521727
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_270/ch54_2020_03_27_00_44_11_634478.py
4a4969942833af9e67d2166564562fd7a64f393d
[]
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
176
py
def calcula_fibonnacci(n): k = 0 lista = [] soma = 1 while k < n: lista.append(soma) soma += soma k += 1 return lista
[ "you@example.com" ]
you@example.com
0e6b139dec6db4c8aa222b7937adfc0f12e6045a
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/heatmap/_y0.py
8bae24f08506a20ba2d7ca6fb4ba46ef4651f570
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
441
py
import _plotly_utils.basevalidators class Y0Validator(_plotly_utils.basevalidators.AnyValidator): def __init__(self, plotly_name='y0', parent_name='heatmap', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, edit_type='calc...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
44c1925930e893f90665e267105f0de38e06806c
885a722e3e5814ae4942ac5e8cf8d0091e734b4c
/게임 개발_Python/CodingTest.py
44a46c74629a33f66008719905f685de00396184
[]
no_license
ledpear/algorithm
52f3ea25842eee20b3bbd48e51825b9df4942e03
4922c6fe5ca0b98a90dee218b756006e7ba05d82
refs/heads/master
2023-06-09T17:47:45.674244
2023-06-03T13:47:11
2023-06-03T13:47:11
133,370,193
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
n = 4 m = 4 pos_x = 1 pos_y = 1 dir = 0 # 0 : 북, 1 : 동, 2 : 남, 3 : 서 game_map = [[1,1,1,1], [1,0,0,1], [1,1,0,1], [1,1,1,1]] bool_map = [[0,0,0,0], [0,0,0,0], [0,0,0,0], [0,0,0,0]] bool_map[pos_y][pos_x] = 1 count = 0 score = 1 while True: dir -= 1 if dir < 0 : dir = 3 bResult = False if dir == 0...
[ "tjsrb75@gmail.com" ]
tjsrb75@gmail.com
d8a5803e900c1a81f57eb6e8232a6067e465a51c
3c300c79359f1c989df4403835abbc5513364fee
/bitshares_tradehistory_analyzer/parser.py
56c9520cd316cf14dfea532af60b1ebf20c94920
[ "MIT" ]
permissive
ds-voting/bitshares-tradehistory-analyzer
73ef81a1748fabef055f512b46366dc848c09a15
1dfd293dd6b4d692a078c403b79355fef0165799
refs/heads/master
2020-07-23T15:06:04.733405
2019-07-19T13:51:33
2019-07-19T13:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,029
py
import copy import logging from decimal import Decimal from bitshares.account import Account from bitshares.amount import Amount from bitshares.asset import Asset from .consts import LINE_DICT_TEMPLATE log = logging.getLogger(__name__) class Parser: """ Entries parser :param BitShares bitshares_insta...
[ "vvk@vvk.pp.ru" ]
vvk@vvk.pp.ru
6db846cc3de7d7f5c3535eafad242cb11e1da445
9dee94907e6456a4af9855d358693923c17b4e0d
/0111_Minimum_Depth_of_Binary_Tree.py
711a407cde57b1a9863453b7f34b3ebbcf63c43b
[]
no_license
chien-wei/LeetCode
e215915a8103e56f182040dacc9fb0d6996c86ec
0d6f414e7610fedb2ec4818ecf88d51aa69e1355
refs/heads/master
2021-05-13T14:48:22.891100
2019-08-20T05:52:59
2019-08-20T05:52:59
116,749,327
0
0
null
null
null
null
UTF-8
Python
false
false
764
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 minDepth(self, root: TreeNode) -> int: # BFS find the first leaf if not root: return 0 queue = [r...
[ "chien-wei@outlook.com" ]
chien-wei@outlook.com
1b304b18d44960ff768c90217ce7ba455dec8c93
3378d73f5e7c67ddcf0179e3574357e3354c7c11
/stripe/db/api.py
11d21c1e2826ff99a1d951f04beb5a8753b50b8e
[ "Apache-2.0" ]
permissive
babarnazmi/stripe
e8cece6f4697d05c4262b25f40e7056bb61349e5
f98454e7260b5140aaec35d932a78b3ada73e7a4
refs/heads/master
2021-01-15T12:41:17.140601
2013-10-30T04:25:50
2013-10-30T04:25:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,694
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Hewlett-Packard Development Company, L.P. # Copyright (C) 2013 PolyBeacon, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #...
[ "paul.belanger@polybeacon.com" ]
paul.belanger@polybeacon.com
c0d8734c640e57bc7339310e1f014f3f748709bb
8b95a7225a67b6e8ad30b8ab0ef66076858a29e5
/app/db.py
87ae41110e3fe4c87ec667bc808b744a168090c4
[]
no_license
tehhuu/auto_key
e413669b61b7f3f5832b66e753b86c68d16daa1a
95866259de5781cdde1f010d286c7e42ba99d5ff
refs/heads/master
2021-04-16T02:05:03.564332
2020-06-12T02:42:14
2020-06-12T02:42:14
252,633,541
0
0
null
2020-04-03T04:38:09
2020-04-03T04:38:09
null
UTF-8
Python
false
false
1,446
py
from sqlalchemy import create_engine, Column, String, Integer, DATETIME from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, scoped_session import hashlib engine = create_engine('sqlite:///shimerundesu.db', connect_args={"check_same_thread": False}) #違うスレッドからもアクセスできるようにする Ba...
[ "volley_neverlose_exile@yahoo.co.jp" ]
volley_neverlose_exile@yahoo.co.jp
a0abbc1ed0bab74222442b06db0a1214f2cf0b8a
a44d853d6a7354129d7fdfcf0f43e4f9a9106015
/tests/mesh_utils_test.py
8e2b29f7f37cc3baabd584c9ba35ddee05fc4abe
[ "Apache-2.0" ]
permissive
matthewfeickert/jax
4f6b9ba2a96e1521f776886a08be38dd229f1402
b0d96bd42440231cc7e98c61f52106f46578fca4
refs/heads/main
2021-12-10T06:03:36.919415
2021-12-09T06:04:13
2021-12-09T06:04:46
436,520,694
0
0
Apache-2.0
2021-12-09T07:23:30
2021-12-09T07:23:29
null
UTF-8
Python
false
false
6,407
py
# Lint as: python3 # Copyright 2021 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 ...
[ "no-reply@google.com" ]
no-reply@google.com
ad6bf91b33b968d54e7db7520ad4160735b51f89
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/modules/cloud/rackspace/rax_mon_notification.py
6aee351b964b059b494cccdaa5d0ebe4607d31ee
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
5,165
py
#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], ...
[ "sifang@cisco.com" ]
sifang@cisco.com
3623809ed7baff2ef3553ae5ea56de4d7103565c
930309163b930559929323647b8d82238724f392
/abc104_b.py
71226076067ba3980f151a868e680909d3029fb5
[]
no_license
GINK03/atcoder-solvers
874251dffc9f23b187faa77c439b445e53f8dfe1
b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7
refs/heads/master
2021-11-07T14:16:52.138894
2021-09-12T13:32:29
2021-09-12T13:32:29
11,724,396
3
1
null
null
null
null
UTF-8
Python
false
false
265
py
from collections import Counter s = input() head = s[0] mid = dict(Counter(s[2:-1])) removed = s.replace('A', '').replace('C', '') if head == 'A' and mid.get('C') is not None and mid['C'] == 1 and removed == removed.lower(): print('AC') else: print('WA')
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
772a6b05963c1796c9a2f54b96ab884eee44995f
067020d4bd39b6a2df300492c09b6cc65915ab71
/engineerx/posts/modules/initialize.py
a4d80863fe566411bd4139a90152dae2e145ce37
[]
no_license
HsnVahedi/engineerx-backend
2e6d43079d94311f60089d052c278e2cbbfec76b
018257fc53e2588aec2dd159922275d544147e18
refs/heads/main
2023-04-30T22:21:25.873313
2021-05-15T22:00:37
2021-05-15T22:00:37
336,623,414
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
from posts.models import PostsPage from home.models import HomePage def create_posts_page(owner): if PostsPage.objects.exists(): return posts_page = PostsPage(title='Posts', owner=owner) home_page = HomePage.objects.first() home_page.add_child(instance=posts_page) posts_page = PostsPage.ob...
[ "mcs.hsn.vahedi@gmail.com" ]
mcs.hsn.vahedi@gmail.com
d3366b8875c54405497810ad860a6ad92779b450
2265c393b8396292b79fdbcdd08727be24c2337a
/tbonlineproject/relatedcontent/models.py
2795965bfa7595e7eab4cec3e5338a95be54a301
[ "MIT" ]
permissive
nathangeffen/tbonline-2
4275b2f970170f01f62e01ade008ab5cd1aee0d5
0d5869197e66a0057fa07cb99f21dde7f5b47c30
refs/heads/master
2023-01-07T08:43:35.261568
2019-03-31T15:54:16
2019-03-31T15:54:16
30,840,752
0
0
MIT
2022-12-26T20:18:09
2015-02-15T20:24:49
Python
UTF-8
Python
false
false
3,347
py
from django.db import models # Create your models here. from django.utils.translation import ugettext_lazy as _ from django.contrib.contenttypes.models import ContentType from enhancedtext.fields import EnhancedTextField TYPES_OF_RELATED_CONTENT = ( ('00', _('Related articles')), ('05', _('Further Reading')...
[ "nathangeffen@gmail.com" ]
nathangeffen@gmail.com
404d772e9f913c90fd54e1ed82b4691f76b47fc4
66213c48da0b752dc6c350789935fe2b2b9ef5ca
/abc/115/d_.py
cb8036d381327e5ffd4f0470a37d3047600699e7
[]
no_license
taketakeyyy/atcoder
28c58ae52606ba85852687f9e726581ab2539b91
a57067be27b27db3fee008cbcfe639f5309103cc
refs/heads/master
2023-09-04T16:53:55.172945
2023-09-04T07:25:59
2023-09-04T07:25:59
123,848,306
0
0
null
2019-04-21T07:39:45
2018-03-05T01:37:20
Python
UTF-8
Python
false
false
1,047
py
# -*- coding:utf-8 -*- import sys def solve(): N, X = list(map(int, sys.stdin.readline().split())) As = [1] # レベルiバーガーの厚さ(層の総数)(必ず奇数) Ps = [1] # レベルiバーガーのパティの総数 for i in range(N): As.append(As[i]*2 + 3) # レベルが1上がると、総数は2倍+3になる Ps.append(Ps[i]*2 + 1) # レベルが1上がると、パティの数は2倍+1になる ...
[ "taketakeyyy@gmail.com" ]
taketakeyyy@gmail.com
10e3e838a5a6c0e937e453765f9a61bb9f30cbaa
572107468a93152774849373d09cb1ecb3b60998
/members/migrations/0001_initial.py
237afb6a3316ceec9e1999400ad26e9db96f2a10
[]
no_license
parkhongbeen/instagram-restudy
794d9962d37aec56961cee4c145de6dc291d3d40
5587d23163e6242e5deb5dbe1051caae179c6eb4
refs/heads/master
2020-12-09T18:12:10.783801
2020-01-12T11:16:01
2020-01-12T11:16:01
233,380,198
0
0
null
null
null
null
UTF-8
Python
false
false
2,861
py
# Generated by Django 2.2.9 on 2020-01-10 05:13 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permission...
[ "pack122@naver.com" ]
pack122@naver.com
0ea487eefddf2b691bbd4615be6c28583189c22e
02c394db353d996038c9bedbeaf91bb080c12ca2
/dsm/epaxos/replica/config.py
fbfd36f11f0765a18dcf07d8a0b82a49e91101b1
[ "MIT" ]
permissive
Limber0117/python-epaxos
0633752cffaca65c0d8b9c3aecf9c8bc6ca70f3e
e68bab50e7df32770103196c91d8708863691579
refs/heads/master
2021-08-23T22:31:47.283682
2017-12-06T22:16:21
2017-12-06T22:16:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
from collections import defaultdict from typing import Any, List class ReplicaState: def __init__( self, # channel: Any, epoch: int, replica_id: int, quorum_fast: List[int], quorum_full: List[int], live: bool = True, timeout: int = 3, jiffies...
[ "acizov@gmail.com" ]
acizov@gmail.com
ee99160a507f18d502ef1b8e1695b0e8369b54d8
8049ba531ea34f07b065a11dd1c9a5d68a00580f
/app/models.py
bac68d9dcf6103505c200b55cdaa3262065c452d
[]
no_license
aoisoratoumi/django-booking
94b29020c2390bd51d0d1a8451e3be08a9062793
a178c5f2d05bffe629fc828e7dc307f517718f37
refs/heads/master
2022-09-13T22:43:26.308133
2020-05-29T23:57:22
2020-05-29T23:57:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
from django.db import models from django.utils import timezone from accounts.models import CustomUser class Store(models.Model): name = models.CharField('店舗', max_length=100) address = models.CharField('住所', max_length=100, null=True, blank=True) tel = models.CharField('電話番号', max_length=100, null=True, b...
[ "harukun2002@gmail.com" ]
harukun2002@gmail.com
67625ed8122fc11c906ad83907a8303cc83d77b9
fb28906c1f0347ffe50193f6c2bad2d4b490fa9c
/budger/directory/migrations/0018_ksoemployee_is_developer.py
035b40d574b286ea6259fb47f17f3cee1ebb2261
[]
no_license
pavkozlov/budger-server
20c695309c34a0451d25b83ab8583b14f0d21c0c
7a98c1789414c83625bda1e5b29cbe5587c3cd6a
refs/heads/master
2020-12-17T06:35:10.550905
2020-01-13T13:27:42
2020-01-13T13:27:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
# Generated by Django 2.2.6 on 2019-12-04 13:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('directory', '0017_auto_20191203_1640'), ] operations = [ migrations.AddField( model_name='ksoemployee', name='is_dev...
[ "it.pavelkozlov@gmail.com" ]
it.pavelkozlov@gmail.com
732ccf2811be54afbd199a94e72658e129c6f81b
8e09c9562173cb40fe26912fcdb1d4c6c08897d7
/tfx/components/evaluator/component_test.py
52d28474308225045d848dd0c656642a98ec0934
[ "Apache-2.0" ]
permissive
robertlugg/tfx
6a0050f6f1876ba5d53e45fd0d80acac2441187d
49778c502bb6668ed8230877407fe40ae3a99a06
refs/heads/master
2020-07-27T17:00:47.355938
2019-09-16T23:00:02
2019-09-16T23:00:32
209,164,014
0
0
Apache-2.0
2019-09-17T21:58:47
2019-09-17T21:58:46
null
UTF-8
Python
false
false
1,928
py
# Copyright 2019 Google LLC. 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 applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
f55510e0cc367aad9ebfda9b2a6faa0435ae1473
2119953dd04916fa2adf3f42a487f3f9754d1f66
/modules/sandbox/docker/geo-web-viz/app.py
9034f8727870c8bdee5a64203363aecd3f7ec266
[ "MIT" ]
permissive
sarahwertz/sepal
91d12e3317cd07ad4c99469d5b6211d74013b330
efbbc33ac99db332fc13f9dfd4c777a8d2c1b41e
refs/heads/master
2020-06-11T07:42:08.835556
2019-05-27T14:21:28
2019-05-27T14:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,038
py
import json import logging import traceback import sys from flask import Flask, Blueprint, request, Response import config import layers import raster import render from config import to_file app = Flask(__name__) http = Blueprint(__name__, __name__) session_state = {'layer_by_id': {}, 'index_by_id': {}, 'renderers'...
[ "daniel.wiell@fao.org" ]
daniel.wiell@fao.org
efc55a073b926991fd43116f9fdd132aabaee02c
55a4573cdeb116b20a625a398af04337f180d598
/instrument/ifmessage.py
a4c5e4261d01cb8b46c95bd26d5bfe772ae5403e
[ "Unlicense" ]
permissive
NOAA-PMEL/omega-trh-daq
f506e4c968b7942dccb6cf012c377c3719a04143
98a18c62130af36d43c2882659e65321c3a98529
refs/heads/master
2020-04-02T11:10:18.632072
2019-07-23T15:33:39
2019-07-23T15:33:39
154,374,646
1
0
null
null
null
null
UTF-8
Python
false
false
2,079
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Sep 9 09:33:42 2018 @author: derek """ class InterfaceMessage(): imFirstIndex = 0 imLastIndex = 1 imAllIndex = 2 # interface STATES imWaitingToConnect = 'WaitingToConnect' imConnected = 'Connected' imDisconnected = 'Disco...
[ "derek.coffman@noaa.gov" ]
derek.coffman@noaa.gov
14867c67fd1d822563fe8ecb1841dce728a316df
1c801375ead766790f5c097081a1bbbc6a593a9e
/baseSpider/算法/随机获取1000此列表元素并统计次数.py
f9d47c387d183b937269c6fbd47b14e83dfe9a35
[]
no_license
llf-1996/python3Spider
5803d1f42b660c7c2643bbc31f17126ac06e7ceb
4621db8c7383940f8e60754d6640406101141095
refs/heads/master
2023-06-01T04:31:27.555140
2020-12-13T09:38:19
2020-12-13T09:38:19
156,145,515
2
3
null
2023-05-23T00:12:59
2018-11-05T01:48:46
Python
UTF-8
Python
false
false
527
py
''' 随机获取一个字符串列表中的字符串,求获取一千次的情况下,各字符串被随机到的次数。 ''' __author__ = 'llf' import random from collections import Counter c = Counter() ll = ['a', 'b'] for i in range(1000): a = random.choice(ll) c[a] = c[a] + 1 print('结果:', type(c), dir(c), c) ''' <class 'collections.Counter'> [ 'clear', 'copy', 'elements', 'fr...
[ "2367746876@qq.com" ]
2367746876@qq.com
3d9db26167c279a19af9f8aece67edc185736ec1
495531870c08ea3495bb45393b05f907366f052e
/x7-src/dashboard/steer/steer/dashboards/engine/images_and_snapshots/images/urls.py
c5aa8ebb24e073dc5629b46e39aea61201b738c5
[ "Apache-2.0" ]
permissive
wendy-king/x7_venv
5fcb326cf3ecaa26d3b839af743b027d23af29e0
d8266c1dc474935c54126ce36d1a6410a7e452f5
refs/heads/master
2021-01-01T06:33:24.605851
2012-01-19T15:54:44
2012-01-19T15:54:44
3,209,071
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2011 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
[ "king_wendy@sina.com" ]
king_wendy@sina.com
2351627cba429794c787f1b8b52c0bf5472cd577
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_9/mchjos007/question2.py
95a03b09fd80edb8ce36c1da69e53ec942c2d03e
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
filein = open (input("Enter the input filename:\n"), "r") lines = filein.readlines() filein.close() fileOut = open(input("Enter the output filename:\n"),"w") width = eval(input("Enter the line width:\n")) finalFormattedString="" linecount= 0 currentlineinprogress = "" for currentline in lines: wordcount=0 ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
e25b350871e12d31f6b6bc62c04e5aba3c26130e
5db3009eb36afe7110ed5402be3a9e570c58c540
/my_plugins/YouCompleteMe/third_party/ycmd/third_party/jedi_deps/jedi/test/completion/docstring.py
2b9f3481cf5fd27532a2eb46fe7d83f487fbd3c2
[ "GPL-3.0-only", "GPL-1.0-or-later", "MIT" ]
permissive
imfangli/vimrc
ced2c6caece1cf19421c6ea7deb017bec4ca3a27
d2d14e7d083d70cc8627ddccb5b99c53c3c38be3
refs/heads/master
2022-02-01T00:34:31.855421
2022-01-22T15:57:28
2022-01-22T15:57:28
211,766,038
2
0
MIT
2019-09-30T03:15:03
2019-09-30T03:15:02
null
UTF-8
Python
false
false
3,723
py
""" Test docstrings in functions and classes, which are used to infer types """ # ----------------- # sphinx style # ----------------- def sphinxy(a, b, c, d, x): """ asdfasdf :param a: blablabla :type a: str :type b: (str, int) :type c: random.Random :type d: :class:`random.Random` :param ...
[ "fangli@zhiai2019.com" ]
fangli@zhiai2019.com
b763c6f7ccf02fc091dbceba1f1aa1bff14ba011
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/8qD23E6XRMaWhyJ5z_9.py
4d2e12540b5fba5e913c81d0957e9d467412bb06
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
def happiness_number(s): happy = 0 sad = 0 happy += s.count(":)") happy += s.count("(:") sad -= s.count(":(") sad -= s.count("):") return happy + sad
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
94074b5e17d457e7a9d022d4332e0c95e6d45fa4
c471e8d4d5cf59a68ccfbe79037cb256505b5502
/venv/lib/python3.8/site-packages/hass_nabucasa/__init__.py
fb1c329404b66c3ff972eece6c2260f24dbd7c43
[ "Apache-2.0" ]
permissive
vsevolodpohvalenko/home-assistant
b7fc37537929cc2c9989df357a8b76eb4de849e3
4ae19b7d5d843c65ba700922c1814755257eb4e0
refs/heads/master
2023-07-16T08:05:07.126996
2021-08-30T11:52:35
2021-08-30T11:52:35
401,318,509
0
0
null
null
null
null
UTF-8
Python
false
false
8,947
py
"""Component to integrate the Home Assistant cloud.""" import asyncio from datetime import datetime, timedelta import json import logging from pathlib import Path from typing import Awaitable, Callable, Coroutine, List import aiohttp import async_timeout from atomicwrites import atomic_write from jose import jwt from...
[ "vsevolod.pohvalenko@gmail.com" ]
vsevolod.pohvalenko@gmail.com
ad7b0b5fccd2951a4d8e3d28056322b5a64c1f14
f9646f1a269b0108b174b68172424f19ea563da5
/lande/utilities/shell.py
b81a52fb5394cf59fcfe24f8cce4cf478e85e955
[]
no_license
zimmerst/PhD-python
07a4ef2dd66e2bc9ac08861a04acbf934cb0ae49
21d24c0ae70925201b05f73c8044cc39639f8859
refs/heads/master
2020-12-26T04:56:27.165230
2014-01-27T00:55:17
2014-01-27T00:55:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
def format_command(*args, **kwargs): r""" Create a string suitable for running a shell program command where *args are the positional arguments for the command and **kwargs are the keyword arguments for the script For example: >>> print format_command('ls','-al', '--author')...
[ "lande@37a9682d-6443-41a2-8582-b44379b6e86f" ]
lande@37a9682d-6443-41a2-8582-b44379b6e86f
579528bb6dac8b7a786b56c7fa8aebcbc771d0bc
dd15b5ed1050bdd6de3d9a0ee0c448d2ccba09e0
/assets/python/mm_surface.py
f39a152bc61b12bf8992ad5c81b8cbbfa09dac2c
[]
no_license
rblack42/nffs-2021-symposium
7f5c581fb46c23dd6896a37e0ac429b22d9de823
496696a43958fdf6ad5870b730675ed0b097e8cc
refs/heads/master
2023-02-24T02:16:01.579345
2021-01-27T21:47:15
2021-01-27T21:47:15
329,161,311
0
0
null
null
null
null
UTF-8
Python
false
false
1,925
py
import math class Surface(object): def __init__(self, span, # with dihedral chord, # root chord camber, # root camber tip_radius, # outer LE tip radius center_span, # center section span (<= span) tip_elevation # dihedral tip elev...
[ "roie.black@gmail.com" ]
roie.black@gmail.com
e54990b791469e8f9788843e62d9cbd5ba1586b7
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Py Box/Games/Connect4.py
f10c212bbe6d558099c3a54e5c383f2009f477de
[]
no_license
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:1559de38727aac969fef6c397825e86b6e68b16dacaafbe4b2f54499954aaaa9 size 5271
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
fa751f128d9ce6cc8de27b5d0d8262f701ca0df7
1dc727f5b326dd984962efa4d982ed9fe036c8fc
/cmsplugin_hanz_card/cms_plugins.py
9342ebd45a4d621b861df6bbe5db794242c93700
[]
no_license
hanztura/iamhanz
2a7380dfe5aa9f05d72fdc1d77d77c950692d30c
1aeee4c3404ed5048a48187e8b75f0e958c042ba
refs/heads/master
2021-08-30T22:51:53.916315
2017-12-19T18:13:44
2017-12-19T18:13:44
113,453,197
0
0
null
null
null
null
UTF-8
Python
false
false
1,369
py
from django.utils.translation import ugettext as _ from cms.plugin_base import CMSPluginBase from cms.plugin_pool import plugin_pool from cmsplugin_filer_image.cms_plugins import FilerImagePlugin from .models import Card from .forms import CardForm @plugin_pool.register_plugin class CardPlugin(FilerImagePlugin): ...
[ "hctura.official@gmail.com" ]
hctura.official@gmail.com
0af95378e0e392f99cf06587dc97eef7e8859d13
ef2ea1152afc07e1341abdc99b037f2c803a0a68
/test_cnn.py
6de00fafda4942ffd6bbc0f62aafb20aaa792164
[ "Apache-2.0" ]
permissive
Diriba-Getch/CNN-Multi-Label-Text-Classificati2on
484a82ed66e7266fb565ebe834e2c7842d1d2f91
0792c0f244b8190e097da42e8719c8bb03573e14
refs/heads/master
2023-05-14T16:22:32.973452
2021-05-27T14:47:21
2021-05-27T14:47:21
362,522,758
0
0
null
null
null
null
UTF-8
Python
false
false
7,167
py
# -*- coding:utf-8 -*- import os import time import numpy as np import tensorflow as tf import data_helpers # Parameters # ================================================== logger = data_helpers.logger_fn('tflog', 'test-{}.log'.format(time.asctime())) MODEL = input("☛ Please input the model file you want to test, ...
[ "chinawolfman@hotmail.com" ]
chinawolfman@hotmail.com
20bb0ef25901482c47de8542f21e7e78fb02f09f
614cad3588af9c0e51e0bb98963075e3195e92f5
/models/vote_net/backbone_module.py
674167186b7eb5fdbacd2d4702c1c38abea4bcc9
[]
no_license
dragonlong/haoi-pose
2810dae7f9afd0a26b3d0a5962fd9ae8a5abac58
43388efd911feecde588b27a753de353b8e28265
refs/heads/master
2023-07-01T14:18:29.029484
2021-08-10T10:57:42
2021-08-10T10:57:42
294,602,794
0
0
null
null
null
null
UTF-8
Python
false
false
4,862
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import torch import torch.nn as nn import torch.nn.functional as F import numpy as np import sys import os BASE_DIR = os.path.dirname(os.path...
[ "lxiaol9@vt.edu" ]
lxiaol9@vt.edu
d0c04d8d6b0caebcc5131c6d7c9185c6da08fb8a
b7ebcfa8429948745dbd9fb11f6d13c6905e9aa1
/lib/panda/_obj.py
fd7b9191f276e967f2b4dc2a6fbb176e63be53ec
[]
no_license
SiewYan/PandaTree
c00c83a92044b59d460dd2d9a4319eef9f777045
5d2da2dc5d419c498a3a14870197aad360d6b071
refs/heads/master
2020-12-30T12:35:36.718617
2018-02-01T16:25:54
2018-02-01T16:25:54
91,395,990
0
1
null
2017-05-16T00:16:27
2017-05-16T00:16:27
null
UTF-8
Python
false
false
2,279
py
from base import Definition from oneliner import Include from constexpr import Constant, Enum from refbranch import RefBranch from refvbranch import RefVectorBranch from generic import GenericBranch from objbranch import ObjBranch from branch import Branch from reference import Reference from function import Function f...
[ "yiiyama@mit.edu" ]
yiiyama@mit.edu
31d9a115cbd2a43f5ea11e98d4b3a4cde1224566
6bdb32ddbd72c4337dab12002ff05d6966538448
/gridpack_folder/mc_request/LHEProducer/Spin-0/Radion_ZZ_ZlepZhad/Radion_ZZ_ZlepZhad_narrow_M2500_13TeV-madgraph_cff.py
55b8ce6b6aafef4854d46112ee4cdb202e8e7861
[]
no_license
cyrilbecot/DibosonBSMSignal_13TeV
71db480de274c893ba41453025d01bfafa19e340
d8e685c40b16cde68d25fef9af257c90bee635ba
refs/heads/master
2021-01-11T10:17:05.447035
2016-08-17T13:32:12
2016-08-17T13:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
import FWCore.ParameterSet.Config as cms # link to cards: # https://github.com/cms-sw/genproductions/tree/b9fddd83b7d8e490347744408902940547e8135f/bin/MadGraph5_aMCatNLO/cards/production/13TeV/exo_diboson/Spin-0/Radion_ZZ_ZlepZhad/Radion_ZZ_ZlepZhad_narrow_M2500 externalLHEProducer = cms.EDProducer("ExternalLHEProdu...
[ "sudha.ahuja@cern.ch" ]
sudha.ahuja@cern.ch
d3fc31344ad05d1cccd859ad51a3d6332059f748
8b7559f7b69173109d7b6e89ab912dbb8b675c3f
/main/tests/test_models.py
104c45dcd9bc75e5d3b2024147d13fa149a12099
[]
no_license
GoodnessEzeokafor/django-bookstore
7859b74ad0bddd32415b6bd917d37c008ba38a73
dc47e7fe201cf2a62a93c30730fa1e72a6707f93
refs/heads/master
2023-02-14T14:13:58.941227
2021-01-08T10:14:29
2021-01-08T10:14:29
327,135,448
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
from decimal import Decimal from django.test import TestCase from main import models class TestModel(TestCase): def test_active_manager_works(self): models.Product.objects.create( name="The cathedral and the bazaar", price=Decimal("10.0") ) models.Product.objects.cre...
[ "gootech442@yahoo.com" ]
gootech442@yahoo.com
65da8f31eec34e35df36db0edc77988d9760b5bb
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/test/test_plat_product_get_list_request.py
f8948ba21e7402d29e9aed6e09e6cc8e9cb8dcca
[ "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
738
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.platproduct.model.plat_product_get_list_request import PlatProductGetListRequest class TestPlatProductGetListRequest(unittest.TestCase): ...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
ab3cd9228918e57b3233b0500f80929d0d936bb2
85a247759d026d03eb8b625667a5aa99bdace5b0
/deep_learning_nano_degree/4_recurrent_neural_networks/language_translation/language_translation.py
2e5ce1af4051fd693596d7f5a0a4da351d800331
[]
no_license
mkao006/dl_udacity
000d325bdeb507f2b57a25e592c34ec72287cb06
a3f795b3c66c16946b0cdab0255cc1d79fc0f82f
refs/heads/master
2022-12-15T06:50:49.403783
2018-01-30T23:45:52
2018-01-30T23:45:52
93,637,489
0
0
null
2022-12-07T23:59:22
2017-06-07T13:19:11
Jupyter Notebook
UTF-8
Python
false
false
18,903
py
import time import numpy as np import tensorflow as tf import helper import problem_unittests as tests source_path = 'data/small_vocab_en' target_path = 'data/small_vocab_fr' source_text = helper.load_data(source_path) target_text = helper.load_data(target_path) def inspect_data(source_text, target_text, view_sente...
[ "mkao006@gmail.com" ]
mkao006@gmail.com
456a38ad9b87e1b826c521e146df928c90163e88
0fbd56d4a2ee512cb47f557bea310618249a3d2e
/official/vision/beta/modeling/layers/roi_sampler.py
46b4c349839f207291fc2ca42a601d9eaabce92c
[ "Apache-2.0" ]
permissive
joppemassant/models
9968f74f5c48096f3b2a65e6864f84c0181465bb
b2a6712cbe6eb9a8639f01906e187fa265f3f48e
refs/heads/master
2022-12-10T01:29:31.653430
2020-09-11T11:26:59
2020-09-11T11:26:59
294,675,920
1
1
Apache-2.0
2020-09-11T11:21:51
2020-09-11T11:21:51
null
UTF-8
Python
false
false
5,978
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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
1dba441eba9e895c8b00e03309a0bcd68e736e31
d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3
/chromium/mojo/public/tools/bindings/pylib/mojom/generate/test_support.py
eb394619d2bf4855522d7157dff0d13e87c59850
[ "BSD-3-Clause" ]
permissive
Csineneo/Vivaldi
4eaad20fc0ff306ca60b400cd5fad930a9082087
d92465f71fb8e4345e27bd889532339204b26f1e
refs/heads/master
2022-11-23T17:11:50.714160
2019-05-25T11:45:11
2019-05-25T11:45:11
144,489,531
5
4
BSD-3-Clause
2022-11-04T05:55:33
2018-08-12T18:04:37
null
UTF-8
Python
false
false
6,092
py
# Copyright 2013 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 sys import traceback import module as mojom # Support for writing mojom test cases. # RunTest(fn) will execute fn, catching any exceptions. fn shoul...
[ "csineneo@gmail.com" ]
csineneo@gmail.com
d8f8388ccf0bde786d3c4b612af5b9f908999b36
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v5/googleads-py/google/ads/googleads/v5/errors/types/keyword_plan_idea_error.py
7317f5950bfe3158aa862fb8e1d10e4d1711708a
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
3123b2e166e0c4d6732e9496e51de271ea7f14b1
512f48fdcfa78e322526cf47163110009b84bf73
/rapid7vmconsole/models/privileges.py
62da3458bc049d084294218fcc09b1e20475b6aa
[ "MIT" ]
permissive
confluentinc/vm-console-client-python
9a0f540c0113acf68ee9dc914715bc255e4d99f4
ccbd944a0e0333c73e098b769fe4c82755d29874
refs/heads/master
2023-07-18T10:33:58.909287
2021-09-02T20:52:20
2021-09-02T20:52:20
402,559,283
0
0
MIT
2021-09-02T20:49:56
2021-09-02T20:49:56
null
UTF-8
Python
false
false
4,944
py
# coding: utf-8 """ Python InsightVM API Client OpenAPI spec version: 3 Contact: support@rapid7.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Privileges(object): """NOTE: This class is auto generated by the swag...
[ "zachary_youtz@rapid7.com" ]
zachary_youtz@rapid7.com
8c462a9504616211d1a864ac6f1a00d0a2cba936
b7b2f80ab5e1ee0ea028576e3014b62b8d3a8d7e
/pypos/pypos-000/pypos.py
1d36f8dacb776baa51da76f15440425f8f40a5f8
[]
no_license
pglen/pgpygtk
4d1405478a714f003984cf3e3db04ff1f767470b
33f58010e304f1a312f2356de453ecedb7aa21ef
refs/heads/master
2021-01-22T01:18:52.238415
2019-01-01T01:37:24
2019-01-01T01:37:24
102,215,955
0
0
null
null
null
null
UTF-8
Python
false
false
2,615
py
#!/usr/bin/env python import os, sys, getopt, signal import gobject, gtk, pango # ------------------------------------------------------------------------ # This is open source sticker program. Written in python. GAP = 4 # Gap in pixels TABSTOP = 4 FGCOLOR = "#000000" BGCOLOR = "#ffff88" ...
[ "peterglen99@gmail.com" ]
peterglen99@gmail.com
e9e3cda5266717a5660707d3e5cbb04a54cdf11c
34a7e30c3ceafb06c9a21c59c88c3ea5a6e91388
/python/datagen/addPriority.py
dbbff881d7bd7fd56ded7dd0a280ef0ad32f27fd
[]
no_license
DinoBektesevic/DinoBektesevic.github.io
91643f54411d214e7552e9ef2e1e0fbece5fb841
be8cc8b3b2b58cbc1517593377228ff541fd515c
refs/heads/main
2023-05-29T22:39:23.801299
2021-06-10T02:55:12
2021-06-10T02:55:12
364,038,461
0
0
null
2021-05-10T20:30:01
2021-05-03T19:27:07
HTML
UTF-8
Python
false
false
1,301
py
import glob import pandas as pd import numpy import seaborn as sns import matplotlib.pyplot as plt # filename = "mjd-59662-sdss-simple-expanded.csv" allfiles = glob.glob("testDir/mjd*-simple-expanded.csv") for filename in allfiles: df = pd.read_csv(filename, index_col=0) newfilename = filename.strip(".csv"...
[ "csayres@uw.edu" ]
csayres@uw.edu
b992279df4179e343cd86a13c730cb7d56b36b83
96909e3b2eb787afa739f3020a9292afae61b0b5
/web/__init__.py
f2ab81fbc93b8f2f236e99d276ed434f89b742c1
[]
no_license
fengges/se
09bd6306f67d78fe0f51286ab41f629237fcf4d6
51e199a7fc5f7666063a556f41669a6a8b4fe37d
refs/heads/master
2020-03-27T04:29:32.207191
2018-08-24T05:47:40
2018-08-24T05:47:40
145,944,808
0
0
null
null
null
null
UTF-8
Python
false
false
2,314
py
# author :feng # time :2018/1/25 # function : 应用初始化 # 注册蓝图 import os from main import Query from flask import Flask,json,request app = Flask(__name__) subject = [{"code": '01', "k": 46}, {"code": '02', "k": 98}, {"code": '03', "k": 98}, {"code": '04', "k": 88}, {"code": '05', "k": 98}, {...
[ "1059387928@qq.com" ]
1059387928@qq.com
b055d8ae6cafcbe25b727929949414109497dfbf
fe91e0f7f74c3156a5c194713a69d9846b9e26a2
/flask_app/blueprints/api/blueprint.py
9493ed788ee23a4f569ba5bbd705e244e4682ac4
[ "BSD-3-Clause" ]
permissive
getslash/backslash
cbf963006e3de565a1512f79c6c9ab84e705c67e
67554c039f8ac6a648deb191cc7fb69480f28253
refs/heads/develop
2023-01-10T22:26:11.666887
2022-06-17T05:06:00
2022-06-17T05:06:00
23,376,788
17
15
NOASSERTION
2022-12-27T16:17:59
2014-08-27T04:30:58
Python
UTF-8
Python
false
false
1,268
py
import functools from flask import Blueprint from flask_simple_api import SimpleAPI from ... import activity from ...utils.api_utils import (auto_render, requires_login, requires_login_or_runtoken) blueprint = Blueprint('api', __name__, url_prefix='/api') api = SimpleAPI(blueprint) ...
[ "vmalloc@gmail.com" ]
vmalloc@gmail.com