blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
92f53325b4efd41674ff2cb09077f1d9402f96fc
316c45c7900c2440d4c72ec96c3e41358611585e
/test/ctag_CSVSL/MVATrainer_PseudoVertexNoSoftLepton_C_B_cfg.py
c3089780453913264d1e8ce219235b92466cafb5
[]
no_license
cms-btv-pog/RecoBTau-JetTagMVALearning
49c52529774762c44a6eb8a9f6e130c4c0f01df3
691937f31d7c2f1865c555623ab4027362235d6e
refs/heads/master
2020-12-24T13:20:49.115617
2015-10-07T08:39:14
2015-10-07T08:39:14
12,036,491
0
0
null
null
null
null
UTF-8
Python
false
false
1,440
py
import FWCore.ParameterSet.Config as cms process = cms.Process("IPTrainer") process.source = cms.Source("EmptySource") process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1)) process.load("FWCore.MessageLogger.MessageLogger_cfi") process.combinedSVTrainer = cms.EDAnalyzer("JetTagMVATreeTrainer", us...
[ "pvmulder@cern.ch" ]
pvmulder@cern.ch
eac6c5231866cb315bc4fd66e7e925ae57bfdbd4
568fa58296378fa129ab3349adf010daa44ed45b
/third_party/incubator-tvm/topi/python/topi/arm_cpu/conv2d_transpose.py
65f1024c88a303bd7317cf3ef8dd8b087b9b4533
[ "Zlib", "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "NCSA", "X11-distribute-modifications-variant", "Unlicense", "LLVM-exception" ]
permissive
mindspore-ai/akg
37f471badc66de6a831f1f45ad84344f34d23ef2
99f33858d6972741748cbfc9ab0bf9600428fef7
refs/heads/master
2023-07-25T23:03:17.672665
2023-07-11T07:33:57
2023-07-11T07:33:57
274,077,856
319
36
Apache-2.0
2021-12-30T13:43:08
2020-06-22T08:09:05
Python
UTF-8
Python
false
false
6,930
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...
[ "1027252281@qq.com" ]
1027252281@qq.com
b3f1e2b82435dd18cc2ca12fb8608a7731d6e85e
c95e8550ba9f0d083ea3906ecceff4921c4141cb
/21/count.py
3d0b7c4b816f42e9c538a823ca0ad40d1dbc47d0
[]
no_license
kms70847/Advent-of-Code-2019
0838e0db0cbf4c518a4bba9dcfc6048da8ede6c3
c34a219171f8de8bb2b318c2acfbe4972a19d32f
refs/heads/master
2020-09-23T05:05:45.895280
2019-12-26T04:27:18
2019-12-26T04:27:18
225,411,840
0
1
null
null
null
null
UTF-8
Python
false
false
393
py
import sys import re from collections import Counter if len(sys.argv) < 2: print("Please supply a pattern.") exit() pattern = re.compile(sys.argv[1]) with open("dis.txt") as file: data = file.read() c = Counter(pattern.findall(data)) for k,v in c.most_common(): if v == 1: break print(k,v) ...
[ "kevin.m.smiley@gmail.com" ]
kevin.m.smiley@gmail.com
fa5552e665ca7b43a254a628a57139e17a97a474
67b0379a12a60e9f26232b81047de3470c4a9ff9
/raiting/migrations/0001_initial.py
e5c2a9578741a8f62ece9d3ddd69b59c39948d0a
[]
no_license
vintkor/whitemandarin
8ea9022b889fac718e0858873a07c586cf8da729
5afcfc5eef1bb1cc2febf519b04a4819a7b9648f
refs/heads/master
2021-05-06T03:35:09.367375
2017-12-20T15:43:08
2017-12-20T15:43:08
114,904,110
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-04-26 18:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Reit', ...
[ "alkv84@yandex.ru" ]
alkv84@yandex.ru
c1b59a5ba26f029968f8cb0f3ad9beac195c7ab9
fd44e1d9e52491b87e51037d8edb329ec76927be
/七、函数/7.12 访问闭包中定义的变量.py
728558b9441baae98852c2ffd9bb7921ad8c690f
[]
no_license
Vaileung/coobook_test
ff2f685d6237acd5ca93275223f41c023e862548
14bd836a5cd559a4ff56bed9104c596e79fd6212
refs/heads/master
2021-10-19T21:40:42.061728
2019-02-24T08:05:28
2019-02-24T08:05:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
def sample(): n = 0 def func(): print('n =', n) def get_n(): return n def set_n(value): nonlocal n n = value func.get_n = get_n func.set_n = set_n return func f = sample() f() f.set_n(10) f() f.get_n() import sys class ClosureInstance: def __init...
[ "951352875@qq.com" ]
951352875@qq.com
f459c70636dcca9393fdd58988277390585d7645
028d788c0fa48a8cb0cc6990a471e8cd46f6ec50
/Python-Web/todo_project_changed/todo_project/todo_app/models.py
f89d935ba968e3bbb04748901e9d42fbeb58e4b5
[]
no_license
Sheko1/SoftUni
d6b8e79ae545116f4c0e5705ad842f12d77a9c9d
a9fbeec13a30231b6a97c2b22bb35257ac1481c0
refs/heads/main
2023-07-13T15:39:48.826925
2021-08-21T12:51:02
2021-08-21T12:51:02
317,266,200
2
3
null
null
null
null
UTF-8
Python
false
false
344
py
from django.contrib.auth.forms import User from django.db import models # Create your models here. class Todo(models.Model): title = models.CharField(max_length=10) description = models.CharField(max_length=100) is_done = models.BooleanField(default=False) owner = models.ForeignKey(User, on_delete=mod...
[ "martinkypar@gmail.com" ]
martinkypar@gmail.com
60d61f929f370efd67ef6a11aef5c9ca2dd1dddc
2a26a285bdb730f7d915800802baa5490c64692b
/bigml/execution.py
f4af728e7776db5361539450168aec8748da3f0b
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
jaor/python
87ee7aca2a21d6097f7dac7c3ad0eba74bb4c60b
22698904f9b54234272fe2fea91a0eed692ca48a
refs/heads/master
2023-08-08T01:15:27.878709
2023-08-02T20:58:39
2023-08-02T20:58:39
4,218,987
0
0
null
null
null
null
UTF-8
Python
false
false
4,800
py
# -*- coding: utf-8 -*- # # Copyright 2019-2023 BigML # # 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 ...
[ "merce@bigml.com" ]
merce@bigml.com
33e01c5a5cb9897a8990e7b994b15387641a7fb8
66382cfc73f8e6898c989208ef0d3b7afd71926e
/tests/test_wrap.py
7e5323ec90f4e61597fd9a457f8e847fb0a30a36
[ "MIT" ]
permissive
jvtm/pyfilesystem2
fc7754b83fb089e3b1e11a415b807ee8b9be7b96
afe49d7043bc6e0a8ae9d366c91c936dd02b39c6
refs/heads/master
2020-06-15T09:34:58.413059
2016-11-29T00:59:38
2016-11-29T00:59:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,121
py
from __future__ import unicode_literals import unittest from fs import errors from fs import open_fs from fs import wrap class TestWrap(unittest.TestCase): def test_readonly(self): mem_fs = open_fs('mem://') fs = wrap.read_only(mem_fs) with self.assertRaises(errors.ResourceReadOnly): ...
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
8ab2d4231cdbac7d3537a0220a2f171871f6c42d
105bc4ff1d601d7c472fd2f7511859480defc764
/tensorpack/models/_old_batch_norm.py
df7c79b107023c7580cf9cf1b6dd5b47c8e28e9a
[ "Apache-2.0" ]
permissive
amirhfarzaneh/tensorpack
a515a1a5282df96d53f8dbb8244b666f924f260d
61bb05b572e8e77eb67d3149ea89cd56c456612b
refs/heads/master
2020-03-17T07:59:40.070067
2018-05-14T07:21:50
2018-05-14T07:21:50
133,420,276
1
0
null
2018-05-14T20:54:11
2018-05-14T20:54:10
null
UTF-8
Python
false
false
7,219
py
# -*- coding: utf-8 -*- # File: _old_batch_norm.py import tensorflow as tf from tensorflow.contrib.framework import add_model_variable from tensorflow.python.training import moving_averages from ..utils import logger from ..utils.argtools import get_data_format from ..tfutils.tower import get_current_tower_context fro...
[ "ppwwyyxxc@gmail.com" ]
ppwwyyxxc@gmail.com
d405cc07cb0058d2485ec16d79868f7793843772
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02379/s665112655.py
c4a4bcca536ba149905d759667bdf269a832d442
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
# coding=utf-8 from math import sqrt x1, y1, x2, y2 = map(float, raw_input().split()) print sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d1b6c19c2899153c5a230da30e2a5213ffe27414
70532360ddfdd8006bf7044c117403ce837cef0a
/code/select_user/select.py
562cc853bc95de158c492deca647daab345fc799
[]
no_license
wsgan001/campus_wifi_analysis
09a7944f5019f726682925c8785cdf5f7d8c469a
c470135691ff8faad3cb4755301e4f59389e2c5a
refs/heads/master
2020-03-10T11:09:05.579870
2017-03-03T07:13:57
2017-03-03T07:13:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# -*- coding: utf-8 -*- import fileinput set1, set2, set3, set4 = [], [], [], [] for line in fileinput.input("../feature/trace_all_statistic_filter_feature"): mac = line.strip().split(" ")[0] set1.append(mac) for line in fileinput.input("../feature/trace_online_statistic_filter_feature"): mac = line.strip().split...
[ "mqiang@splunk.com" ]
mqiang@splunk.com
e358ca547de4fd14f3d2f708f1a7915e0d9b2253
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02803/s067912518.py
fd6722b6edb5491660965766f67441b9478c98f7
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
import copy h, w = map(int,input().split()) maze = [[9]*(w+2)] for i in range(h): s = input() tmp = [9] for j in s: if j == "#": tmp.append(9) else: tmp.append(0) tmp.append(9) maze.append(tmp) maze.append([9]*(w+2)) #print(maze) def bfs(start): maze2 = copy.deepcopy(maze) #print(maz...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6a125f4f54e910af2b385a70cfd11116a084f71c
c2758f58b29917e5f00cdf19389a0f55b2975eae
/oldstuff/madxctl.py
d42b59e8ac3c49096bafb732e1ebd78412d2c9bd
[]
no_license
rdemaria/pyoptics
4cf0b59e3524996de84c38a98a1444509246e9d4
6679a7589c751285757b8166c76aeaa1359742da
refs/heads/master
2023-07-08T19:55:50.364373
2023-06-30T09:50:12
2023-06-30T09:50:12
25,566,323
6
11
null
2023-06-14T12:31:15
2014-10-22T06:47:52
Python
UTF-8
Python
false
false
1,851
py
import os, pexpect import sys import re class madxctl(object): def __init__(self,debug=True): self.child=pexpect.spawn('madx',maxread=200000,searchwindowsize=30) self.child.setecho(False) self.child.timeout=60 if debug: self.child.logfile=sys.stdout self.prompt=['X: ==>\r\n', pexpect.TIMEOU...
[ "riccardodemaria@gmail.com" ]
riccardodemaria@gmail.com
18c583cfa2f0315ded868904831a610b5705ab1a
15592893bd1871bfeb1cdb4741523894cf32cf67
/Django/wall/apps/first_app/urls.py
d3ada4504f1f6b71abdbc190ff87a6e6fbbf7a36
[]
no_license
philmccormick23/Learning-Python
b07758d2bb310e617991a13230b257a71c3c2510
5a06c5155941816ce3e61d262ae5779ae2899196
refs/heads/master
2020-04-08T08:50:03.749946
2018-11-26T16:01:27
2018-11-26T16:01:27
159,195,744
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
from django.conf.urls import url from . import views # This line is new! urlpatterns = [ url(r'^$', views.index), url(r'^register$', views.register), url(r'^success$', views.success), url(r'^login$', views.login), url(r'^message$', views.message), url(r'^comment$', views.comment) ]
[ "phillipmccormick@Phillips-MacBook-Pro.local" ]
phillipmccormick@Phillips-MacBook-Pro.local
cf2dade2dae5411fc4a3da4679f8958420591fee
09dbe6f5f4a01d25df5b5783fcf621d4d4e6acab
/python/workflow/old_workflow_scripts_2015/_4_relocate.py
60eae2185460ed95d165e27f8a600708d76b11dd
[]
no_license
cjhopp/scripts
b2e925b42e3685713475d15cb4a637e62143778a
89cecfe82532e84a739e26a845b9455df0090ca5
refs/heads/master
2023-05-31T06:35:03.638455
2023-05-15T18:14:44
2023-05-15T18:14:44
71,869,887
7
5
null
2017-07-12T13:59:15
2016-10-25T07:15:46
null
UTF-8
Python
false
false
2,758
py
#!/usr/bin/env python r""" Script to handle pick refinement/removal and relocation of catalog earthquakes. """ from obspy import read_events from glob import glob from subprocess import call import numpy as np from obspy.io.nlloc.core import read_nlloc_hyp """ Now running NLLoc from subprocess call and reading new ...
[ "cjhopp@mtu.edu" ]
cjhopp@mtu.edu
24e75f0114d7b156f1e63e1eb77536a8b08bf8d7
332b19e675ae4a9eebafdb9f3487fa52046e403c
/sigopt/cli/commands/local/optimize.py
75dc1ec1ec6211f34bf3d4b35020a269999f4ac1
[ "MIT" ]
permissive
sigopt/sigopt-python
7e1ba35e25ccbd9d6853761de86f33113405b5d8
0ac664f67c3d1f07db53838034657e3c9ea0f648
refs/heads/main
2023-09-05T02:30:43.997552
2023-08-28T20:46:35
2023-08-28T20:46:35
28,167,955
71
23
MIT
2023-09-11T14:18:07
2014-12-18T04:16:14
Python
UTF-8
Python
false
false
810
py
# Copyright © 2022 Intel Corporation # # SPDX-License-Identifier: MIT from sigopt.config import config from ...arguments import project_option, source_file_option from ...utils import cli_experiment_loop, create_aiexperiment_from_validated_data from ..base import sigopt_cli from ..optimize_base import optimize_command...
[ "noreply@github.com" ]
sigopt.noreply@github.com
303ee57ccd7bbcb1224c4687ea92e26dd52a65e4
adc284b6532a58568757a15a0ed166372224adda
/algorithms/240_search_a_2d_matrix_ii.py
96c0a49f680fa816bf81c2eeb37f3d4cedefad50
[]
no_license
Yaoaoaoao/LeetCode
421713d606630c49e6fe9b772782c8a0894ac73b
dac9e8003e77655ca4b65c77aa5a162c8140b6dc
refs/heads/master
2020-05-21T22:59:27.018381
2018-07-09T06:21:13
2018-07-09T07:33:19
33,500,621
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
class Solution(object): def searchMatrix(self, matrix, target): """ :type matrix: List[List[int]] :type target: int :rtype: bool """ if not matrix or not target: return False # start from the top right corner row, col = len(matrix), len(mat...
[ "renj@udel.edu" ]
renj@udel.edu
596fb9b7d10272688b8fca7f837b59e100ae1e38
fbe09433aab5329c90ac8dc654064ad4cd445374
/py2cd/pygameui/scroll.py
62f4744e72c21ad49f5411c6837da507179fa945
[ "MIT" ]
permissive
coderdojoka/py2cd
15ec5e7b5b7fddf953d316faa89c2c1c41528811
f7a80163a8c3c5d1d0cc691f7b139be69134338b
refs/heads/master
2016-08-11T15:36:51.365159
2016-02-13T10:22:24
2016-02-13T10:22:24
44,187,779
0
1
null
2015-12-04T22:07:58
2015-10-13T15:56:11
Python
UTF-8
Python
false
false
6,133
py
import pygame from . import callback from . import render from . import view HORIZONTAL = 0 VERTICAL = 1 SCROLLBAR_SIZE = 16 class ScrollbarThumbView(view.View): """Draggable thumb of a scrollbar.""" def __init__(self, direction): size = SCROLLBAR_SIZE view.View.__init__(self, pygame.Rect(...
[ "mark@weinreuter.org" ]
mark@weinreuter.org
3ad91e2b59a1f1a2a6d5c60ef19badbb7197a985
4419d7b3479ea5ae7a76d6153fd21f8cec78a406
/app/request.py
2e1b4cd84fd865e150220a79e98121cb253797a1
[ "MIT" ]
permissive
monicaoyugi/News-Updates
276f2e5b2e7ec1d1bc21786160f6df32d5f0d8c2
2652b28153f36284447952fdef4c63496af90418
refs/heads/master
2020-12-26T08:36:37.365993
2020-02-07T13:03:51
2020-02-07T13:03:51
237,449,423
0
2
null
null
null
null
UTF-8
Python
false
false
1,877
py
import json import urllib.request from .models import Sources, News api_key = None base_url = None article_url = None def configure_request(app): global api_key, base_url, article_url api_key = app.config['NEWS_API_KEY'] base_url = app.config['NEWS_API_BASE_URL'] article_url = app.config['ARTICLE_AP...
[ "monicaoyugi@gmail.com" ]
monicaoyugi@gmail.com
deb80262655cb34ae4080f39324df4c868b4ad34
f9f074c44b67a11d4630b5e1cc15e016e8d73cc8
/factory-ai-vision/EdgeSolution/modules/ModelManagerModule/app/downloader/tools/accuracy_checker/accuracy_checker/metrics/gan_metrics.py
ae7bd4ac0dd1fbf4390ae694b012ed9b4606f1a2
[ "MIT" ]
permissive
Azure-Samples/azure-intelligent-edge-patterns
361694680c7e48d3761c5416175788355b684dcd
1d2f42cbf9f21157c1e1abf044b26160dfed5b16
refs/heads/master
2023-05-26T13:15:47.085088
2023-02-28T17:25:53
2023-02-28T17:25:53
186,706,933
193
164
MIT
2023-02-28T17:25:55
2019-05-14T22:02:41
JavaScript
UTF-8
Python
false
false
4,067
py
""" Copyright (c) 2018-2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
[ "waitingkuo0527@gmail.com" ]
waitingkuo0527@gmail.com
d005b5c949f757f8c2490a9e59f78943d455d615
6fdb6122e6e136277c073787e9d9d98fa6a80c82
/iron_bank_app/migrations/0003_auto_20160304_0146.py
a107b7fe86cfdcc658bce31c41a78932901e4f6a
[]
no_license
Cuddlemuffin007/iron_bank
6520175fba4cf7452fb4d8fa8c2e2536235ea2cc
a9022de21378bbb5f44099c86fdb821ae3500748
refs/heads/master
2016-08-13T01:28:37.236761
2016-03-08T04:54:13
2016-03-08T04:54:13
53,080,735
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.3 on 2016-03-04 01:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('iron_bank_app', '0002_auto_20160304_0140'), ] operations = [ migrations.Remo...
[ "brennonkrogers@gmail.com" ]
brennonkrogers@gmail.com
3d13391dfd5f7c6ad0dd034488364c64fbf37adb
2e60bdaf03181f1479701efebbb495f88615df4c
/nlp/chatbot/dataset/data_utils.py
11c31d3950d092b47ca657622135d82dcd9b2821
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
whatisnull/tensorflow_nlp
dc67589ee4069f7a71baa1640d796bac3445bb5c
0ecb1e12bbe1fc3d5a63e68d788547d0ae92aeef
refs/heads/master
2023-04-23T08:23:55.914154
2019-09-15T03:47:55
2019-09-15T03:47:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,479
py
# -*- coding: utf-8 -*- import os import sys import json import math import shutil import sqlite3 from collections import OrderedDict, Counter import numpy as np from tqdm import tqdm def with_path(p): current_dir = os.path.dirname(os.path.abspath(__file__)) return os.path.join(current_dir, p) DICTIONARY_P...
[ "endymecy@sina.cn" ]
endymecy@sina.cn
3632964c563a707cccad3458b18daea3654baf5e
0261612ff042b0870f9caf546643a2aa34b22e71
/Web_Auto_基本概念.py
7e3c0b2479f9206b3cf52ee6795056a81980ced8
[]
no_license
chengzizhen/Web_Auto_Project
1f334c82aff90d0406096d5f0b1c9360565f5b85
d0c95a3551a5e93c7e7de25b8b3887efee6f7521
refs/heads/master
2022-04-08T08:12:01.582918
2020-03-08T10:07:59
2020-03-08T10:07:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,202
py
#_*_conding:utf-8_*_ #@Time :2020/3/215:36 #@Author :xiaodong.wu #@Email :2586089125@qq.com """ selenium是什么? selenium是一款基web网页的UI自动化测试框架 (1)ide录制工具 -- 代码录制工具, (2)selenium webdriver --访问网页、可以在网页中进行输入、点击等操作 (3)grid(分布式) --支持多浏览器的操作(IE、Chrome、Firefox) (4)跨平台操作 --windows、Linux、Mac (5)支持多语言...
[ "1668317403@qq.com" ]
1668317403@qq.com
a7ac5e269d2a39025a8cc3a61a05e172544da254
d9fa1e903ab6057b8841268a35c76fd2955b57f0
/viz/models/economic/render.py
fab44157dfe869ba46f827d7745b46dce5711703
[ "MIT" ]
permissive
mepearson/Dash
d4c770209d231218c9cc6a9d245718133fe8c21e
30257d8c6298bee32105f46207bf3dbfbda178c3
refs/heads/master
2020-07-20T06:52:15.512682
2020-04-06T19:26:42
2020-04-06T19:26:42
206,593,624
0
1
MIT
2019-09-10T13:20:02
2019-09-05T15:12:50
Python
UTF-8
Python
false
false
6,260
py
# -*- coding: utf-8 -*- import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output import pandas as pd import plotly.graph_objs as go import plotly.express as px import base64 from viz.app import app image_filename = "./viz/assets/images/ConceptMap_...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
d64e57d37e90b798f48cdd4067d4dbbcd6851e75
1bee58b4d009fb71e4ae35ddcb2732dc6359bb2a
/PhoneBook/settings.py
d0dcf0eda91c106d4e8922390a80215dbcaa8f20
[]
no_license
nastya218/phone-book-app
b14142cad0b799ad9c70e27cae02029786af5082
4ddedd78e2c79a31a79fa93645b346a613a15ab3
refs/heads/master
2020-07-17T15:51:02.822614
2019-09-03T13:40:42
2019-09-03T13:40:42
206,048,207
0
0
null
null
null
null
UTF-8
Python
false
false
3,179
py
""" Django settings for PhoneBook project. Generated by 'django-admin startproject' using Django 2.2.5. 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/ """ import os ...
[ "admin@gmail.com" ]
admin@gmail.com
f26251336d4d8b1ca947cb216c4eb44d155d73f8
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/detection/SSD_for_PyTorch/configs/groie/grid_rcnn_r50_fpn_gn-head_groie_1x_coco.py
1c98d378c608fec9b97abe1afe99c82bcfa6d745
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,125
py
# Copyright 2022 Huawei Technologies Co., Ltd. # 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...
[ "chenyong84@huawei.com" ]
chenyong84@huawei.com
8f693e344cfe72d8ec09ba2992d30599dbf85327
f64d4fbc4c5b206ca0c4d05ff5eb13aa8d6b0f22
/room-temperature-only/paper-ek-hist.py
1ab31abc3f1793705fe49431ed2b32ed5f35f4e3
[ "BSD-3-Clause" ]
permissive
mirams/hERGRapidCharacterisation
66e4d9a57df29c36bc268efce7eeb7b3a9011781
db838a354bf49f953d5ae36d33a94498a4c01dea
refs/heads/master
2022-12-31T02:52:15.373956
2019-07-18T13:17:58
2019-07-18T13:17:58
203,183,652
0
0
BSD-3-Clause
2019-08-19T13:57:51
2019-08-19T13:57:48
null
UTF-8
Python
false
false
4,162
py
#!/usr/bin/env python2 from __future__ import print_function import sys sys.path.append('../lib/') import os import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import pints from scipy import stats import model_ikr as m import protocols import string WELL_ID = [l...
[ "chonloklei@gmail.com" ]
chonloklei@gmail.com
9ee0fc292252c3b2312aa827b0b5428ca2ae9891
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/semantic_segmentation/BiSeNetV1/mmseg/ops/wrappers.py
a6d755273df1af99371502186aef27e8e353ec9f
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,920
py
import warnings import torch import torch.nn as nn import torch.nn.functional as F def resize(input, size=None, scale_factor=None, mode='nearest', align_corners=None, warning=True): if warning: if size is not None and align_corners: input...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
7b2e9cfb357588dc5213fd099f8f9e4a2a89dcd9
2385ae4dc56b0c223fdf62b80823ca8e2b75e3cf
/tf_estimator_train_and_evaluate_mnist.py
0b921f877c34dc9ee20b5b940d1db8b9394ed7cc
[]
no_license
Levstyle/tensorflow120
37810e64450d2a85612f56bcddb6dc356720e703
1d1e665a9dfcd023dfb656940fb3cf13a77e4632
refs/heads/master
2020-03-21T02:14:11.168380
2018-05-08T08:41:19
2018-05-08T08:41:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,677
py
''' usages(acting like using tf.train.Supervisor): for ps: python .py --job_name='ps' --task_index=0 --ps_hosts='host1:port1' --worker_hosts='host2:port3,host3:port3' --train_tfrecords='train.tfrecords' --test_tfrecords='test.tfrecords' for worker_01(chief): python .py --job_name='worker' --tas...
[ "jke0zq@gmail.com" ]
jke0zq@gmail.com
4011c57456fb79ee9405eadb23cf350157fac4a4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_169/ch85_2020_06_20_19_12_29_791226.py
fa08c1bb7c42016ad0467582787d1327184b2fd2
[]
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
237
py
with open('macacos-me-mordam.txt','r') as arquivo: conteudo=arquivo.read() a=arquivo.split() lista=[] for i in a: if i.lower()=='banana': lista.append(i.lower())
[ "you@example.com" ]
you@example.com
933f85936aed5555733f0e8140a00eca08f95de5
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/simpdom/constants.py
c5cdf36bc4b21df17292be57c343860bf248285d
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
3,637
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
5e1e701d2718c4a346faec8c0dc464807c50391d
4dd6a8d8024a72a3e2d8e71e86fd34888a149902
/dacon/dacon01/dacon01_XGB_feature_importance copy 2.py
f7411742584e763c0bc8bb4e47f548207e031463
[]
no_license
KOOKDONGHUN/study
d483b125d349956b325bc5f4d99a4a95dd80ccbc
517effbb19ddc820d53f0a6194463e7687467af6
refs/heads/master
2023-01-14T09:13:48.346502
2020-11-20T09:03:25
2020-11-20T09:03:25
259,818,381
0
0
null
null
null
null
UTF-8
Python
false
false
2,425
py
# 과적합 방지 # 1. 훈련 데이터양을 늘린다. # 2. 피처수를 줄인다. # 3. regularization from xgboost import XGBClassifier, plot_importance, XGBRegressor from sklearn.multioutput import MultiOutputRegressor from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt from sklearn.metrics import r2_score, mean_absolut...
[ "dh3978@naver.com" ]
dh3978@naver.com
6496a5f60a2140a7ad5861b0e9c1bc9a692facdd
81d955c3ac886e690ceb01026ed769b1784dbef9
/purity_fb/purity_fb_1dot8/apis/blade_api.py
5c7e92e8b8548bf1ac16678b1022bcd09893bd2f
[ "Apache-2.0" ]
permissive
etsangsplk/purity_fb_python_client
bc525ef1a18f6a79c1536cb4519a7efd58d09d89
0807a0fa2eab273bc08f73266d9cda9fa33b37bd
refs/heads/master
2020-06-03T05:49:03.015147
2019-05-16T06:11:40
2019-05-16T06:11:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,641
py
# coding: utf-8 """ Purity//FB REST Client Client for Purity//FB REST API (1.0 - 1.8), developed by [Pure Storage, Inc](http://www.purestorage.com/). Documentations can be found at [purity-fb.readthedocs.io](http://purity-fb.readthedocs.io/). OpenAPI spec version: 1.8 Contact: info@purestorage.com ...
[ "azaria.zornberg@purestorage.com" ]
azaria.zornberg@purestorage.com
6270daa3830a0cbd85ffef3d3beaeff7b3dec396
d6018cbcbf01b72bb420309ddf0fa38c85b01de6
/fulledits_ratio_correct1bpfq.py
541e30fbb83b8e498ab83bfdabedb78539f6864e
[]
no_license
maxwshen/lib-analysis
daf57019ea6727719212b4fbe5741fe4d52adb5a
6234a17883268b31ac71dabd509bc70183c4f99b
refs/heads/master
2022-03-14T00:04:02.154164
2019-11-21T19:32:13
2019-11-21T19:32:13
175,507,042
2
2
null
null
null
null
UTF-8
Python
false
false
4,844
py
# from __future__ import division import _config import sys, os, fnmatch, datetime, subprocess, pickle sys.path.append('/home/unix/maxwshen/') import numpy as np from collections import defaultdict from mylib import util import pandas as pd # Default params inp_dir = _config.OUT_PLACE + 'fulledits_general_...
[ "maxwshen@gmail.com" ]
maxwshen@gmail.com
816482e8aa31ce08a504af1ca11e98ace4710db0
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/student/emails.py
6b4641722de6567bac843c731a37cd9a6e379755
[ "MIT", "AGPL-3.0-only", "AGPL-3.0-or-later" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
1,227
py
""" ACE emails for Student app """ import logging from django.conf import settings from django.contrib.sites.models import Site from edx_ace import ace from edx_ace.recipient import Recipient from common.djangoapps.student.message_types import ProctoringRequirements from openedx.core.djangoapps.ace_common.template_co...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
e13b914567e50355a7e252dd16d99199650c7856
bc9639ffec357279882e67055b4f49fd067c7753
/lt_sdk/graph/transform_graph/graph_transformers/apply_node_map.py
d4141ecc0a4e8c19136a012f5b5bd4b5a45688f5
[]
no_license
HermanYang/SDKDocs
855a9d97556bf30b9774e233c2d0991a256ffaa3
a169a7ce612680561093b53afee16fa87d84c045
refs/heads/master
2023-01-03T16:47:48.173248
2020-10-28T21:36:17
2020-10-28T21:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,880
py
import logging from lt_sdk.graph.transform_graph.graph_transformers import graph_transform from lt_sdk.graph.transform_graph.node_transformers import node_transform_map from lt_sdk.proto import node_filters class ApplyNodeMap(graph_transform.GraphTransform): def __init__(self, hw_specs, sw_config, node_map): ...
[ "buildagent_software@mach-3.opu.tv" ]
buildagent_software@mach-3.opu.tv
9d32187e2523800c9f54cf8f1d9b7d0a8f3199db
337f8f8dfe3b5b937c3c908edf2b6cc033d422f7
/0 mod/rand.py
56fc2161d6556b0a126c3994c54918965c1f0f24
[]
no_license
rayyan-khan/9-othello
8621bc0b1e121f0c6b851bfd532de7c3dd9640ae
e5561797377b20802443b9d5ab35cf4cff190ed9
refs/heads/master
2022-02-21T20:26:56.468280
2019-02-06T04:31:34
2019-02-06T04:31:34
161,864,634
0
0
null
null
null
null
UTF-8
Python
false
false
4,839
py
import random # variables defaultBoard = '.'*27 + 'ox......xo' + '.'*27 NBRS = {} # NBRS = {index: {adjacent indexes that moves can be made from}} SUBSETS = [] # SUBSETS = [{nbr: [indexes in subset], nbr: [indexes in subset]}, {etc...}] def setBrdTkn(board, token): global startboard, startTkns startboard, star...
[ "rayyan.khan258@gmail.com" ]
rayyan.khan258@gmail.com
40a2f3227e70759ce0d490a1c352a5f177f376ba
e495984296de81ff9bdf015716fd4bb825aab966
/mysite/polls/views.py
09cb99f444e7526d5970a48c8b549ec370e659a6
[]
no_license
yuanyaru/Django
b75b43ba78aae01857e413400a86a3d39cae6531
46bed73c6a091bbb50646318f20886663f130b1e
refs/heads/master
2020-06-21T15:17:30.861695
2020-05-15T02:01:10
2020-05-15T02:01:10
197,489,240
0
0
null
null
null
null
UTF-8
Python
false
false
2,356
py
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponseRedirect from django.urls import reverse from django.views import generic from django.utils import timezone from .models import Question, Choice # Create your views here. """ def index(request): # 展示数据库里以发布日期排序的最近 5 个投票问题,...
[ "398916756@qq.com" ]
398916756@qq.com
bc9799dcd92e9447cdf0a60e4ec0d36e182b30a2
e102f1e3c31f88a930404e529e419f214bf430b9
/task.py
f62d044159f25538993f39616d8d207badde90af
[]
no_license
adoggie/kq_http_backup
26ef89da1609e74d3f83780b1ed44d3777cb5946
47f9caf59c4a5e33a1e1745d324f8a97fd28231b
refs/heads/master
2020-12-03T19:26:16.821798
2016-09-18T13:46:17
2016-09-18T13:46:17
67,710,180
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
# -- coding:utf-8 -- import traceback,os,os.path,sys,time,struct,base64,gzip,array,threading import string dbpath='F:/shuju/MSSQL/BACKUP/zhk043' dbpath='C:/music' interval=10 def sync(): while True: time.sleep(interval)
[ "24509826@qq.com" ]
24509826@qq.com
c0e60d53beb8a9feb36d081c00e81606250fe67c
105b4bd22c63f57f50f18f2fe6b90550700280b6
/comments/migrations/0003_auto_20170707_2000.py
c7a76317a2a42c6c3c5970e55aac600a1c38eff4
[]
no_license
luckypoem/django_blog
565d07ffeb3947c31df5c1f69c0b3eea8c2b8b2f
64e333eb99455be9eaf157fb56bdd8b81d2bb570
refs/heads/master
2021-05-07T08:59:23.303787
2017-10-19T06:49:21
2017-10-19T06:49:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-07 12:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('comments', '0002_auto_20170415_2047'), ] operations = [ migrations.AlterMod...
[ "zh19960202@gmail.com" ]
zh19960202@gmail.com
fb28f538cd5ed4d91730ce2d0ca9c70678183dce
d42a65c149b004228fd72586a0f79b17b0545e92
/python_learn/lect09/aqi_v8.0.py
742b39be5dd5947d528950702b44ad84126ea2ad
[]
no_license
chenbiningbo/programming_learning
34a642823c6bc8d54c4b912fa51a4ad6e9f23c15
2cfb2ca509d7d1ccc4779be4d7a35625010cb98a
refs/heads/master
2020-12-27T12:51:05.640281
2020-02-18T14:02:40
2020-02-18T14:02:40
237,903,158
0
0
null
null
null
null
UTF-8
Python
false
false
1,944
py
""" 作者:陈笔 版本:8.0 时间:07/09/2019 功能:用beautifulsoup进行解析 新增获取多个城市 保存到本地文件 """ import requests from bs4 import BeautifulSoup import csv def get_city_aqi(city_pinyin): """ 获取城市的aqi """ url = 'http://pm25.in/' + city_pinyin r = requests.get(url,timeout=30) soup = ...
[ "bi.chen@chnenergy.com.cn" ]
bi.chen@chnenergy.com.cn
161795cce995f87fe012afbd2575cc551ff24ee8
33a34082253f11b347d9b0d64e988decf4e083c1
/app/user/views.py
5724c54d12656a641811facc00bf90650b9f0a9a
[]
no_license
xxy2317/sanic-demo
042dc67c47d23728fd3af15c26a0dec6dacac37b
8a24b54de71edfd3058409763c4956be4dbd87c5
refs/heads/master
2023-08-25T07:26:11.604838
2021-10-23T08:34:46
2021-10-23T08:34:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
# coding: utf-8 from __future__ import annotations from sanic import Request, HTTPResponse from tortoise.queryset import QuerySet from app.models import User from core.response import response_ok from libs.logger import LoggerProxy logger: LoggerProxy = LoggerProxy(__name__) async def user_list(requ...
[ "ld@meng2333.com" ]
ld@meng2333.com
612334e9125145f28ca153013ff5040ec3b4f286
4f111dfacab0acc93900e7746538f85e0b3d8d78
/day3/09python的转意字符.py
94e7583f56c79e944c117d37652498ea62613f2e
[]
no_license
ljxproject/basecode
5541f25cfe90d5fad26eac0b6e72802aa1fad1f4
485e4b41593839bfc61e67261247fb88dc80cc1d
refs/heads/master
2020-03-26T16:16:26.422617
2018-08-17T08:05:11
2018-08-17T08:05:11
145,091,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
# python的转意字符 # \n 表示换行符号 name = "wen" age = 18 heigth = 1.888888 # print("name=%s,age=%d,heigth=%.3f"%(name,age,heigth)) print("name=%s\nage=%d\nheigth=%.3f"%(name,age,heigth)) print(""" 鹅鹅鹅 曲线向天歌 包毛湖绿水 """) # \ str1 = "money\\day" # str2 = "money\ay" 不建议这样写 print(str1) # print(str2) # \" \' str3 = "wen i...
[ "403496369@qq.com" ]
403496369@qq.com
73b69204aeff33790829b18ffdf050aab4b91df1
e86df505052ade83f885f5a6dd19413af8d48e52
/kebechet/managers/__init__.py
e9e0564d2e07a7868cd205f1894607a38a4d52b2
[]
no_license
CermakM/kebechet
d41ec3c6c4c14e51b5dd3bfa775ee9223329b125
9dfc5cd0bd3c933dc0a72c1b012f50d68ba06a96
refs/heads/master
2021-07-24T23:52:02.738366
2019-07-22T18:31:35
2019-07-22T18:31:35
168,682,180
0
0
null
2019-02-01T10:36:53
2019-02-01T10:36:53
null
UTF-8
Python
false
false
369
py
"""Managers implemented in Kebechet.""" from .info import InfoManager from .update import UpdateManager from .version import VersionManager from .pipfile_requirements import PipfileRequirementsManager REGISTERED_MANAGERS = { 'update': UpdateManager, 'info': InfoManager, 'version': VersionManager, 'pip...
[ "fridolin@redhat.com" ]
fridolin@redhat.com
c88548eb4f81bc69d837ce88fbe0b2f549ba0886
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/06a284a7d2054eee9eccaeba082851fc.py
1ff294c0733841a30aca40b4c9122add560a04b8
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
570
py
""" Defines an object that represents a strand of DNA. A strand of DNA is a string containing any number of adenine (A), cytosine (C), guanine (G), and thymine (T) nucleotides. """ class DNA(object): """ Represents a DNA strand. Can be converted to RNA via the to_rna() method. """ def __init__(s...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
88efcc737c5dee7cdf37903aaed5b966e160e1c7
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/cPxexgGxmCMi4kas8_5.py
a19c6318f16da71d2217349179da02f02784fb05
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,953
py
""" This is the first challenge of the "Four Vectors" collection. Four Vectors are vectors with four components that are used to describe relativistic physics. For details please refer to [this wiki entry](https://en.wikipedia.org/wiki/Four-vector). In this challenge, create a class `FourVector` with the following ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
90a51c8f4d601c346311f4c6d5205249be034447
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/OLD-CISCO-SYSTEM-MIB.py
5afbd2435299914d2730a9496877e4e51dcd2e19
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
5,874
py
# # PySNMP MIB module OLD-CISCO-SYSTEM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/OLD-CISCO-SYSTEM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:08:35 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
8c9a42d0a0bcb6e5df8675e9d3dd2e7f7f54bdc4
5ed9aeca0b40b8c9e5ea9a5c607619a07158f2a7
/qtk/templates.py
0df62a7de18532a3b3bd5823b54e88d692765525
[ "MIT" ]
permissive
tayglobal/qtk-python
c7ee2a06d29d7c52c4f6905503c9775cfe35db46
35b8baa3635f7813070a29df46642e72aa364eeb
refs/heads/master
2022-12-07T09:52:18.781659
2020-08-31T01:55:01
2020-08-31T01:55:01
291,576,602
0
0
MIT
2020-08-31T00:28:47
2020-08-31T00:28:46
null
UTF-8
Python
false
false
2,309
py
from qtk.common import TemplateBase, NameBase, Category as C from qtk.fields import Field as F class GenericTemplate(NameBase, TemplateBase): _id_map = {} def __init__(self, name, category, sub_category=C.MAIN, convention_keys=(F.CURRENCY,)): name_id = "%s.%s" % (sub_category.id, self.toid(name)) ...
[ "gouthambs@gmail.com" ]
gouthambs@gmail.com
30f0db650682a9e9331375ed0b33d8efc78278e7
27b4673b48a0a074d95a90ef80e7c4a7bb68ac75
/booker/migrations/0001_initial.py
133db645c34e5e6c0083f6d5dd307ccc642e8ba1
[]
no_license
Drjimoh/bookmall
4783440d50b06fd34827ac9ee6301ad01f035e7e
e8dc1853b150a6cce784927a38777b8e11070933
refs/heads/master
2020-05-27T08:26:45.163348
2019-06-29T19:23:21
2019-06-29T19:23:21
188,544,951
1
0
null
null
null
null
UTF-8
Python
false
false
891
py
# Generated by Django 2.2.1 on 2019-05-24 02:54 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "waliu.jimoh@yahoo.com" ]
waliu.jimoh@yahoo.com
dee939dd19f732ddb1a9f75db449ac37fb3570d6
363d82529eef4a389639ebdbea734dca00ac7abd
/50.pow-x-n.py
675ab420599002541955195e291ef6ebaa996a73
[]
no_license
adsl305480885/leetcode-zhou
d9ac9ff391a68fb491bf3d3a5204778585fc9a40
79c96fc7f66ed0508351ed9300482a1619f39fb5
refs/heads/main
2023-05-03T12:26:05.218505
2021-05-21T10:39:30
2021-05-21T10:39:30
314,748,620
1
0
null
null
null
null
UTF-8
Python
false
false
724
py
''' Author: Zhou Hao Date: 2021-04-13 21:44:40 LastEditors: Zhou Hao LastEditTime: 2021-04-13 22:04:44 Description: file content E-mail: 2294776770@qq.com ''' # # @lc app=leetcode.cn id=50 lang=python3 # # [50] Pow(x, n) # # @lc code=start class Solution: '''二分,分治''' def myPow(self, x: float, n: int) -> float...
[ "2294776770@qq.com" ]
2294776770@qq.com
31d65f577b52777b165f8fb1df9589548768c15c
5e014f95b49f376b34d20760c41f09bdca094247
/flask_ide/core/layouts.py
ec988d3d04b0472f938e0c1e0cb791e2d43a8d0a
[]
no_license
jstacoder/flask-ide
34ae304c211c7b263f37b2fcf0660ae76053c0a2
3890756c094b4b7872bad7d915e764e3e32dcb2d
refs/heads/master
2023-02-12T11:22:24.412680
2020-07-20T17:21:55
2020-07-20T17:21:55
29,079,246
50
10
null
2023-02-02T07:17:40
2015-01-11T02:51:35
JavaScript
UTF-8
Python
false
false
692
py
class LayoutManager: LAYOUTS = dict( ONE_COL_EMPTY=(12,), ONE_COL_LEFTBAR=(2,10), # 2 cols ONE_COL_RIGHTBAR=(10,2),# 2 cols ONE_COL_BOTH=(2,8,2), # 3 cols TWO_COL_EMPTY=(6,6), TWO_COL_LEFTBAR=(2,5,5), TWO_COL_RIGHTBAR=(5,5,2), TWO_COL_BOTH=(2,4,4,2),...
[ "kyle@level2designs.com" ]
kyle@level2designs.com
e34ceba39bd4d20dee74087ad25a88a82e2b73fc
99575996b817cb7a33e082ff66823f0e9ba8a196
/login_exercise/urls.py
e9e825546ac361ac36774faf400e24c28e4f50e6
[]
no_license
zhangliang852469/login_exercise
43c64870e56897ef162b528267d8c5959b8cca75
5e32970411202df4e792f2fd335d3e180221d0cd
refs/heads/master
2020-03-27T02:41:50.044927
2018-08-23T06:32:38
2018-08-23T06:32:38
145,811,637
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
"""login_exercise URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "710567585@qq.com" ]
710567585@qq.com
304b49a55dd524de83f37df57fb5e6d08af1f2fb
afb2bdf8044e4c9ff09b1b8379efbc17867d8cc0
/2parts/search_test.py
adcc0a18b7ef691724ef36998b4fe6a2085a8465
[]
no_license
ChenFu0420/leranpython
b2e364ff8d6730a3eb768b76f0369faa3367dfa2
52d0aa614d7fab19e17bbb696330a0330d3862b6
refs/heads/master
2020-05-29T19:46:24.020046
2019-09-25T09:17:10
2019-09-25T09:17:10
189,339,151
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
s = 'crazyit.org is good site' #判断s是否已crazyit 开头 print(s.startswith('crazyit')) #判断s是否已site结尾 print(s.endswith('site')) #查找s中org出现的位置 print(s.find('org')) #8 #从索引9出开始查找org出现的位置 print(s.find('org', 9)) #-1 #将字符串中所有it替换成xxxx print(s.replace('it', 'xxxx')) #将字符串中1个it替换成xxxx print(s.replace('it', 'xxxx', 1)) #定义翻译映射表:97 (a...
[ "hiziying@hotmail.com" ]
hiziying@hotmail.com
6cd32822e181eccbbdf5086cae7aa29f20038a6e
529340eb3382d6e760d8c668a5123e989397890a
/classy_vision/hooks/visdom_hook.py
48ef6ebfa5b40b0dede67750f677070ec2e0f253
[ "MIT" ]
permissive
dendisuhubdy/ClassyVision
507b7d801972bdf3d28bc008e6bb311a2a73422d
c7f8de4615181b5a14dd5ec44fa72bebb790e886
refs/heads/master
2021-04-11T08:48:45.684210
2020-03-20T20:53:01
2020-03-20T21:00:38
249,006,426
0
0
MIT
2020-03-21T15:39:15
2020-03-21T15:38:57
null
UTF-8
Python
false
false
3,972
py
#!/usr/bin/env python3 # 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 collections import logging from typing import Any, Dict from classy_vision import tasks from classy_vision.gene...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
785ff742e54e62928669421cc2d6a07dcb52cbd7
fd48fba90bb227017ac2da9786d59f9b9130aaf0
/digsby/src/msn/MSNObject.py
88e1589d9126f31e2cf11c76c27a317cdcf0d085
[ "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
niterain/digsby
bb05b959c66b957237be68cd8576e3a7c0f7c693
16a62c7df1018a49eaa8151c0f8b881c7e252949
refs/heads/master
2021-01-18T10:07:10.244382
2013-11-03T02:48:25
2013-11-03T02:48:25
5,991,568
1
0
null
2013-11-03T02:48:26
2012-09-28T02:24:50
Python
UTF-8
Python
false
false
6,179
py
import hashlib import util import util.xml_tag import msn from logging import getLogger log = getLogger('msn.object') class MSNObject(object): ''' MSNObject An abstract representation of an 'MSN object' which can refer to a wink, nudge, display picture, file transfer, scribble, sound c...
[ "mdougherty@tagged.com" ]
mdougherty@tagged.com
a62e9685870948d7ceade5cedcf0748bcb90d533
008b6d81bd15ad9e91702c1f4c29a86579dc02ba
/intake_spark/spark_sources.py
4eaa14973dd6e9d1cfc76210a0d0d82823adc2fe
[ "BSD-2-Clause" ]
permissive
yuhonghong7035/intake-spark
95b576db499e6ec3e01ed7c596df9366e299e45c
d32dd1d92210fe840276ad072fc0d78f757c9bc4
refs/heads/master
2020-04-13T07:20:35.603336
2018-11-20T19:17:19
2018-11-20T19:17:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,274
py
from intake.source.base import DataSource, Schema from .base import SparkHolder from ._version import get_versions __version__ = get_versions()['version'] del get_versions class SparkRDD(DataSource): """A reference to an RDD definition in Spark RDDs are list-of-things objects, evaluated lazily in Spark. ...
[ "martin.durant@utoronto.ca" ]
martin.durant@utoronto.ca
57b1f727042f22c54efa8ae6b51e3ffeda53325f
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/timber/testcase/firstcases/testcase8_011.py
9b1393c8c0ed62bb05ba418b72769b9bdd4b0439
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
5,206
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
19921968d0d32d33d26f1bba16e761e89ac33607
5537eec7f43098d216d2b550678c8d10b2a26f09
/venv/tower/bin/daphne
f8d086deef8809a5671102812e82a5fc1f5381f6
[]
no_license
wipro-sdx/Automation
f0ae1512b8d9d491d7bacec94c8906d06d696407
a8c46217d0fbe51a71597b5db87cbe98ed19297a
refs/heads/master
2021-07-08T11:09:05.314435
2018-05-02T07:18:54
2018-05-02T07:18:54
131,812,982
0
1
null
2020-07-23T23:22:33
2018-05-02T07:15:28
Python
UTF-8
Python
false
false
273
#!/var/lib/awx/venv/tower/bin/python # -*- coding: utf-8 -*- import re import sys from daphne.cli import CommandLineInterface if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(CommandLineInterface.entrypoint())
[ "admin@example.com" ]
admin@example.com
904c14c440609b66cb650b7e6fdc51a87765ce31
3cf5ca5046b39591829648401e51f05ec341f2e6
/5_Temperature_Convert_Program.py
e79ec072b8fa2d27133452b73c6df872e44d959c
[]
no_license
captainjack331089/25-python-simple-problems
547024f25e4895ccc9f96c9ec5d9d69fc6be71d9
4de41dba998526503d5252ae78050f2cb307494c
refs/heads/master
2022-11-30T11:45:51.564767
2020-08-10T23:59:48
2020-08-10T23:59:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
""" This simple program is to convert between Celsius and Fahrenheit The formation between C and F is: F = C * 1.8 + 32 """ def temperature_Convert(degree, unit, valid_unit): if unit == valid_unit[0] or unit == valid_unit[1]: old_unit = valid_unit[1] new_degree = degree * 1.8 + 32 new_uni...
[ "qfhjack@gmail.com" ]
qfhjack@gmail.com
845ce57cd2d4a9583473036a6e72fd58072d3ac2
7534b54a007dc0aeb997f6e5c4e5455b7be31eae
/SPOJ_BACKUP/PON-7139490-src.py
523597c134b14568e7564fad84e442932683604d
[]
no_license
rishirajsinghjhelumi/Coding-Templates
7708023c990dbaedd4e07fcfc5964a6632b60cbf
8085bbf343e99daa27af392923c81a266a36fe6d
refs/heads/master
2021-01-10T18:59:50.830519
2013-08-16T13:40:23
2013-08-16T13:40:23
11,998,810
2
0
null
null
null
null
UTF-8
Python
false
false
646
py
import random def power(n,k,mod): temp = 1 ans=1 while k>0: if k&temp: ans = (ans*n)%mod k-=temp temp <<=1 n = (n * n)%mod return ans%mod; def is_composite(a,d,n,s): if power(a,d,n)==1: return 0 for i in range(s): if power(a,(1<<i)*d,n)==n-1: return 0 return 1 def miller_rabin(n): if n==2: ...
[ "rishirajsingh.jhelumi@students.iiit.ac.in" ]
rishirajsingh.jhelumi@students.iiit.ac.in
bd60e4dec31ff4c39ef550c4a14718ef3a1f649e
ce661026009d622db924080d85ab529f1cae6b60
/projecteuler.net/102.py
0e6c6b729e3172119074eae8fb7aa177b3a13cc4
[]
no_license
predavlad/projecteuler
d54f5d85ab0133b19b54b4168990b90f09a0184c
58e1637733bb7e01e44bfac707353ecfe84d9b19
refs/heads/master
2021-01-23T15:29:26.257019
2019-02-09T10:11:23
2019-02-09T10:11:23
12,952,194
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import time # 0.009 seconds start_time = time.time() def get_area(a, b, c): """ Calculate the area of the zone formed by the 3 points a, b and c """ return abs(a[0]*b[1] + b[0]*c[1] + c[0]*a[1] - b[0]*a[1] - c[0]*b[1] - a[0]*c[1]) / 2 def is_inside(a, b, c, p): """ Check if p = (0, 0) is in...
[ "preda.vlad@yahoo.com" ]
preda.vlad@yahoo.com
922127941c7d8571b90bbfc1a68605085f170ebb
6b77ae897567d391780efa7457368301077e2330
/untitled1/venv/Lib/site-packages/pytesser3/code.py
9aa751e504a6655bf2c50cba66c89c4a9106825b
[ "Apache-2.0" ]
permissive
wapjin/python-code
03ba079ebc551941c3d0d1122db5fb944070e397
d82f7e64b6c62bf8eb04f960c8fa03b02495b2fc
refs/heads/master
2020-12-13T17:59:25.265569
2020-03-21T08:12:16
2020-03-21T08:12:16
234,477,075
0
1
null
null
null
null
UTF-8
Python
false
false
1,347
py
# -*- coding: utf-8 -*- # 2016/9/22 16:18 """ ------------------------------------------------------------------------------- Function: test your pytesser3 Version: 1.0 Author: SLY Contact: slysly759@gmail.com ------------------------------------------------------------------------------- """ from pytes...
[ "1045833538@qq.com" ]
1045833538@qq.com
098a0c596bfa917d70bf17ff792fe0daa913579d
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/KCB_YCHF/KCB_YCHF_MM/OMS/YCHF_KCBYCHF_OMS_215.py
a12690756d9a5f67d2ddd23878e2f6619d781ea1
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,556
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test//xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test//service") from ServiceConfig import * from ARmainservice import * from QueryStkPriceQty import * from log import * sys.path.append...
[ "418033945@qq.com" ]
418033945@qq.com
b7870d6685407d10f70b11acf41f1bc799fcf31e
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/3-OO-Python/8-inheritance_20200416021800.py
2d64024bb7063b5ab654e539dd831ce797a6131d
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
# inheritance class User(): def sign_in(self): print('logged in') class Wizard(User): def __init__(self, name, power): self.name = name self.power = power def attack(): print(f'attacking {self.power')
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
48233e3567253ba1dd2835a3c328145fe5169a51
6a6fb844c9753d470c1266529c1624d9c9ee3b41
/QueryTermSubgraphConstruct/QuerySubgraphKeepReachable.py
83e791bd68ca12e4b05af99341378b9766cdca95
[]
no_license
xiongchenyan/QueryFreebaseSemantic
ed6a5028e9dcfadd6256161273c480f9930caba2
16ec01291002641faa00920b536e17324a69227f
refs/heads/master
2021-01-19T06:53:18.176250
2014-05-20T17:35:12
2014-05-20T17:35:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
''' Created on May 15, 2014 dfs the graph from node[0] (start node) and mark node reached as positive discard those not useful node @author: cx ''' import site site.addsitedir('/bos/usr0/cx/PyCode/cxPyLib/') site.addsitedir('/bos/usr0/cx/PyCode/GoogleAPI/') site.addsitedir('/bos/usr0/cx/PyCode/QueryExpansion') site.a...
[ "xiongchenyan@gmail.com" ]
xiongchenyan@gmail.com
7712c4365b575c617f48514b30e5ba64e96aadc2
acf7457d3a799cb9bff12686d2d616688bcd4b5b
/packages/python/plotly/plotly/validators/scatterpolargl/_legend.py
3ea6bb917f591d8633cba1d1f663f237e3dda273
[ "MIT" ]
permissive
plotly/plotly.py
f4f61639f08160f16195efc95b5901dc5a937346
975a704074f01c078e0fdfa32bdf17130bf89e69
refs/heads/master
2023-09-06T06:15:08.340035
2023-08-24T12:28:14
2023-08-24T12:28:14
14,579,099
14,751
2,989
MIT
2023-09-08T19:55:32
2013-11-21T05:53:08
Python
UTF-8
Python
false
false
452
py
import _plotly_utils.basevalidators class LegendValidator(_plotly_utils.basevalidators.SubplotidValidator): def __init__(self, plotly_name="legend", parent_name="scatterpolargl", **kwargs): super(LegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "liam@plot.ly" ]
liam@plot.ly
d7a5fdbfe833b999cb2c6f1f9516b7d58d65933c
41e33f74d5e0c891b6b81422b8b1ed59b152e5d5
/3-deploy_web_static.py
95e95f21a63bd21fb86f92cf41054adf7b09472d
[]
no_license
martinmsaavedra/AirBnB_clone_v2
505c6e479a5a329e16d651904cfd424b7af6eac2
630ae82a89576b5592decb3cae3c2a1ed9a742d0
refs/heads/main
2023-04-12T11:23:54.094408
2021-05-02T18:01:29
2021-05-02T18:01:29
358,050,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
#!/usr/bin/python3 '''Deploy module''' from os import path import datetime from fabric.api import local, run, put, env env.hosts = ['35.231.45.150', '34.74.42.82'] def deploy(): '''Creates and distributes an archive to your web servers''' filename = do_pack() if filename is None: return Fals...
[ "martin@bildung.uy" ]
martin@bildung.uy
f2aba3601b3ed453de81547432d5ea0c2ffda2ae
ab5cdf8f2de94c327e4679da84f941b1f3c04db4
/kubernetes/test/test_extensions_v1beta1_scale.py
1f802a42f5bef2470e0ff6e7ffea661c1c6096c5
[ "Apache-2.0" ]
permissive
diannaowa/client-python
a4a92a125178db26004eaef5062f9b1b581b49a8
5e268fb0b6f21a535a14a7f968b84ed4486f6774
refs/heads/master
2020-12-02T22:06:03.687696
2017-06-30T21:42:50
2017-06-30T21:42:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
4dc221a3e64f7179aadb3588f64064198a015e85
ccdeae68e468ad399a89181c37bba4490bcdc259
/scripts/2-countAvgROIperexpLIN-BC-Lasso.py
3d6be68c1b3404fe260b368579cd62b77a1e3112
[]
no_license
jameshughes89/NonlinearModelsFMRI-2
19262d4494aa6adc0e9bd9592069ad6b757dda6b
a507a41d0a0a728d02616023aea0e66fafc1c387
refs/heads/master
2021-09-06T17:05:38.086733
2018-02-07T15:19:23
2018-02-07T15:19:23
109,417,040
0
0
null
null
null
null
UTF-8
Python
false
false
3,094
py
''' Counts the number of ROI in linear models after bonferoni correction. This calculates them from actually calculating them (not opening any expression files) ''' from pylab import * import csv import numpy as np import matplotlib.pyplot as plt import thresh_methods as tm import scipy import scipy.stats tasks = ["...
[ "JamesHughes89@Gmail.com" ]
JamesHughes89@Gmail.com
7c00fc1f97cf44a26a01a1ec4b8b1337733cddb5
4d5a91c312e9d633f73098bcc42ba9386893bd86
/pajbot/web/routes/api/social.py
f3e755108987bce33792a203ff0e4d879338db2f
[ "MIT" ]
permissive
leecopland/bullbot
ffc45062d802695fe2486f26643c1d1b9429e19c
52e463293097b58084afb4f9f1d85b0656a67d44
refs/heads/master
2022-12-10T14:02:28.113368
2021-03-25T05:04:28
2021-03-25T05:04:28
172,211,287
1
0
MIT
2022-09-16T18:28:35
2019-02-23T12:23:22
Python
UTF-8
Python
false
false
1,191
py
from flask_restful import reqparse from flask_restful import Resource import pajbot.modules import pajbot.web.utils # NOQA from pajbot.managers.redis import RedisManager from pajbot.streamhelper import StreamHelper class APISocialSet(Resource): def __init__(self): super().__init__() self.post_p...
[ "pajlada@bithack.se" ]
pajlada@bithack.se
4bd4ecd2488c9fbba425636dbd015cdd48b4a5cb
9c4e02ba5201794a4c5cbff548db1be7c87409c1
/venv/lib/python3.9/site-packages/openpyxl/utils/indexed_list.py
863cab099a68dfed3bf76093681ad4b29b9f771e
[ "MIT", "Apache-2.0" ]
permissive
ClassWizard/PodLockParser
4faf4679d404158b3cf2b1ceb4faabca461b0008
84f6d3fced521849657d21ae4cb9681f5897b957
refs/heads/master
2022-12-23T20:39:48.096729
2022-02-08T09:49:01
2022-02-08T09:49:01
167,668,617
2
1
MIT
2022-12-14T10:01:41
2019-01-26T08:50:35
Python
UTF-8
Python
false
false
1,257
py
# Copyright (c) 2010-2021 openpyxl class IndexedList(list): """ List with optimised access by value Based on Alex Martelli's recipe http://code.activestate.com/recipes/52303-the-auxiliary-dictionary-idiom-for-sequences-with-/ """ _dict = {} def __init__(self, iterable=None): sel...
[ "chenlongwei@camera360.com" ]
chenlongwei@camera360.com
2f756a12978c0e52cc2b46dd6d314bf136a78bbf
8c8159691382ab8759ec637a97ef107ba898ad4c
/LeetCodeSummary/substringMatch.py
27d2b1e72f3b3c86e5462c9ed456b4e0277bdbf2
[]
no_license
windhaunting/Coding_practices
3c89cddaeb13bfe36eab7ff664d6e16d0e86d46f
8375988ac391376159438877b6729bb94340106b
refs/heads/master
2021-02-05T21:40:07.858445
2020-02-28T19:25:29
2020-02-28T19:25:29
243,836,816
0
1
null
null
null
null
UTF-8
Python
false
false
817
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jan 14 14:24:32 2020 @author: fubao """ substring match pattern search 1st: KMP The time complexity of KMP algorithm is O(m+n) in the worst case. http://bangbingsyb.blogspot.com/2014/11/leetcode-implement-strstr-kmp.html https://www.geeksfo...
[ "freadream@gmail.com" ]
freadream@gmail.com
e785b46af26f3f1e45222cfa71e65a7612ac3dc4
db98aeb4883d2aa9969970d353b9d6212c7dbde2
/assignments/07-csv/test.py
0517123538d8d2adb13386bb980a582d2cc537f1
[ "MIT" ]
permissive
qianwenluo/biosys-analytics
cec7e84477e01f9aa17e30c1fd8286710deed617
f936095931fa8f237de8bdf058b960db86effa49
refs/heads/master
2020-04-15T20:19:25.669143
2019-05-07T17:52:17
2019-05-07T17:52:17
164,988,099
0
1
MIT
2019-01-10T04:12:20
2019-01-10T04:12:20
null
UTF-8
Python
false
false
2,960
py
#!/usr/bin/env python3 """tests for blastomatic.py""" import csv import hashlib import os import random import re import string from subprocess import getstatusoutput, getoutput from random import shuffle prg = './blastomatic.py' hits1 = 'hits1.tab' hits2 = 'hits2.tab' centroids = 'centroids.csv' # ----------------...
[ "kyclark@gmail.com" ]
kyclark@gmail.com
bfdb0704071aca209e19916dc433290979ee7655
47bcff47563f2d94865e76997affcdba25e069f5
/chrome_extension/model.py
cb70aa2dd479aae89b684f9160812a9a8c03597e
[]
no_license
william19-meet/Trues-1
29e28ceb8e8042881f3aaf225db0e99ab33e0378
577cd86c120a4931853daf75e21237d03ab4324d
refs/heads/master
2020-06-22T02:53:03.287414
2019-07-18T14:58:11
2019-07-18T14:58:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
from sqlalchemy import Column, Integer, String, Boolean from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, sessionmaker from sqlalchemy import create_engine Base = declarative_base() class Website(Base): __tablename__ = "websites" id = Column(Integer, primary_key ...
[ "myname21@meet.mit.edu" ]
myname21@meet.mit.edu
63cad543665912651121ccd0405ddd76df2f5252
5f29a9f8b218f7b02a76af02b49f8cf5aaa8ec97
/ecommerce/carts/migrations/0001_initial.py
cd9c4c4615110b65d90848d20da3004c125e326e
[]
no_license
yemiemy/Footwear-Stores
58c026b38ffe828cef17c58365b77169ad21ce80
92f719824c019044aef78b2b481597b9f94405e0
refs/heads/master
2022-12-18T13:34:05.283709
2019-09-01T22:32:31
2019-09-01T22:32:31
205,739,701
2
0
null
2022-12-08T06:06:26
2019-09-01T22:31:27
HTML
UTF-8
Python
false
false
1,724
py
# Generated by Django 2.2.2 on 2019-07-20 22:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('products', '0001_initial'), ] operations = [ migrations.CreateModel( name='...
[ "rasholayemi@gmail.com" ]
rasholayemi@gmail.com
c096f9b415b196b2526a465fc2db6977308d6800
e6bc1f55371786dad70313eb468a3ccf6000edaf
/Datasets/pentagon/Correct/s519.py
3ee44fce25ab0ad3d87fd2999b7649832ff56ff5
[]
no_license
prateksha/Source-Code-Similarity-Measurement
9da92e3b22c372ed6ea54d8b6ab2c5921e8c41c0
fb371b837917794d260a219a1ca09c46a5b15962
refs/heads/master
2023-01-04T07:49:25.138827
2020-10-25T14:43:57
2020-10-25T14:43:57
285,744,963
3
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
#!/usr/bin/python3 import math # your code for class Shape -- Q.4(f) # your code for class Triangle -- Q.4(a) class Triangle : def __init__(self, base, height) : self.b=base self.h=height def area(self): return (0.5)*self.b*self.h # code for RegularPolygon is provided below for your use. class Re...
[ "pratekshau@gmail.com" ]
pratekshau@gmail.com
174c1eb5bab5c725e51d8c64ee7dd76e51f6b997
f552ca018542184f34246405afb9b30999a57f2e
/comportamentais/interpreter/romanos/contexto.py
0f7061a36d5ccd09cdf97be83fe3446bc71f7e08
[]
no_license
PlumpMath/DesignPatterns-440
feea6847160e3c7393a2da80e6b22b9b2273ee92
bef2ff66dddc90b7e6b529828b094bfc48754a01
refs/heads/master
2021-01-20T09:52:12.704627
2017-04-29T22:58:07
2017-04-29T22:58:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
class Contexto(object): output = 0 input = '' def __init__(self, contexto_input): self.input = contexto_input def pega_input(self): return self.input def modifica_input(self, contexto_input): self.input = contexto_input def pega_output(self): return self.outp...
[ "victorhad@gmail.com" ]
victorhad@gmail.com
01b265f4f0fbdded98d0fc100aab37df544b79a3
e1eaed6dde62fc54eb317d28dbd18e0740e3e8f3
/official/vision/beta/evaluation/segmentation_metrics_test.py
76f63e40a812d6441d6e62c75df088b9f5d6549b
[ "Apache-2.0" ]
permissive
nlpming/models
cf5008d2e66d2b66b6d61423e214f2f9f9fbe472
3cbf0748529d787dd09fa3ed031e557f0ddfa268
refs/heads/master
2021-12-03T03:29:16.042489
2021-11-23T14:09:10
2021-11-23T14:09:10
206,007,973
0
0
Apache-2.0
2019-09-03T06:47:46
2019-09-03T06:47:46
null
UTF-8
Python
false
false
3,019
py
# 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 required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
9cde16c3f2489084d87c0a31326a3d1424f2e8e6
8c39fa8241e1ecefab6c693862bee127fd3e1461
/proyectoferreteria/apps/gestionadmin/migrations/0034_auto_20200315_1914.py
50ea983e2bf4f16b5702212f713cc3e8b507efaf
[]
no_license
ujcv4273/Ferreteriav-0.0.5
b5433e727b68e318204386f84416208f99470446
9dd16363ce9f4a012a177aa3d5414051b79cd3a2
refs/heads/master
2022-11-29T16:50:19.066725
2020-08-01T18:16:35
2020-08-01T18:16:35
284,314,116
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
# Generated by Django 2.2.6 on 2020-03-16 01:14 from django.db import migrations, models import proyectoferreteria.apps.gestionadmin.models class Migration(migrations.Migration): dependencies = [ ('gestionadmin', '0033_auto_20200315_1900'), ] operations = [ migrations.AlterField( ...
[ "cristian.godoy0000@gmail.com" ]
cristian.godoy0000@gmail.com
4d10ac98af2c7bdf8df6d694d05aacdee7545b02
53e4a89e8baeb715f10b33304be028e906e58583
/Algorithm/단지번호붙이기.py
615b5ff7e57fee0d31def3f91ce5f64991749cdc
[]
no_license
eodnjs467/python
9a9cf2c82a6c64d839c4de4bc38fe3df14f11f5d
67b2a770526f4c4161bcf06042eea3054a30b3fc
refs/heads/master
2020-09-30T20:33:51.627921
2020-04-12T15:13:47
2020-04-12T15:13:47
227,368,131
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# https://www.acmicpc.net/problem/2667 N = int(input()) matrix = [list(map(int, input().split())) for _ in range(N)] def dfs(matrix, cnt, x, y): dx, dy = [0, 1, 0, -1], [1, 0, -1, 0] matrix[x][y] = 0 for w in range(4): n_x, n_y = x + dx[w], y + dy[w] if n_x>=0 and n_x<N and n_y >=0 and n_y...
[ "sponjjanc@naver.com" ]
sponjjanc@naver.com
d7711d5e891bd776d8c0cc8fbdf14610dff49643
ae56c4672eeca63f0f773f1aef60a6b6884675bd
/src/Modules/Drivers/Null/Null_xml.py
77908de037afaebda841bfad47932f6296e1c9a2
[ "MIT" ]
permissive
bopopescu/PyHouse_1
daee7e5bfef75f599e333c80f9a73ca7c992a5dd
6444ed0b4c38ab59b9e419e4d54d65d598e6a54e
refs/heads/master
2022-11-21T14:02:38.697678
2016-09-21T18:14:58
2016-09-21T18:14:58
281,930,028
0
0
MIT
2020-07-23T11:13:36
2020-07-23T11:13:35
null
UTF-8
Python
false
false
819
py
""" -*- test-case-name: PyHouse.src.Modules.Drivers.Null.test.test_Null_xml -*- @name: PyHouse/src/Modules/Drivers/Null/Null_xml.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: (c) 2014-2015 by D. Brian Kimmel @license: MIT License @note: Created on Aug 23, 2014 @summary: ""...
[ "lyle.henkeman01@gmail.com" ]
lyle.henkeman01@gmail.com
ae18b12744e7168dc80a5577a447b73e7dc495ae
3d53164b976eb7a943286d0f6db55e885db880be
/models/user.py
a52e8fac0693248ca7375c760132e348bccdd8a0
[]
no_license
erikliu0801/bookstore
70361986e7e477dc1914e3e878e0c1b692d9336d
14e1b09cea48e6fa4062398359bd35ee130ba2e0
refs/heads/master
2021-01-09T12:09:02.978251
2020-02-22T13:17:12
2020-02-22T13:17:12
242,295,602
1
0
null
null
null
null
UTF-8
Python
false
false
336
py
from pydantic import BaseModel import enum from fastapi import Query class Role(str, enum.Enum): admin: str = "admin" personnel: str = "personnel" class User(BaseModel): name: str password: str mail: str #mail: str = Query(..., regex="^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.])\.([a-zA-z]{2,5})$...
[ "erikliu0801@gmail.com" ]
erikliu0801@gmail.com
db3f276db75cf149fada25499c3c20c7291f5fda
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil1509.py
65e102021e1f8d2449eed8722f0d151d1dd8e625
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,332
py
# qubit number=5 # total number=55 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=3 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
82f539951824f0edb39ac7fbc2f70682bcf248b5
9dcc8453a43f5e7fd905a4b819ed05f4418653c3
/mech/grabber.py
6d1bcf67e63e3ba09ca1ae1439c522bb7e18bd0f
[]
no_license
prophile/tudor-software
1861952e9e4e9ceb2fa7074c9c12b7405f311313
cfe9d7591e36461634699a7934b06136ad1b3dc7
refs/heads/master
2016-09-10T00:51:37.898015
2012-07-27T21:45:34
2012-07-27T21:45:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
from mech import servo class Grabber(object): def __init__(self, robot): self.robot = robot self.vertical_servo = None self.left_servo = None self.right_servo = None def _set_vertical_position(self, position): servo.set(self.robot, self.vertical_servo, position) de...
[ "arplynn@gmail.com" ]
arplynn@gmail.com
afbffe2b9d0bcb77c6a5d641332b78ed044bbc30
616d502a84d123a06cf847141b0e553f5db66f3b
/Tools/Stirka/Trimmer.py
5d1a75379adf5d1d50dcb5ba579f6ae9db9a8c37
[ "MIT" ]
permissive
wangpanqiao/MAVR
a95b225484a80fdea490c0ad909a32b7ebfef3bb
c1f86a408ca2e369b2fac874240190bc08994d7b
refs/heads/master
2020-05-23T11:52:08.964020
2019-05-10T08:21:26
2019-05-10T08:21:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,762
py
#!/usr/bin/env python __author__ = 'Sergei F. Kliver' import os from Tools.Abstract import Tool class Trimmer(Tool): def __init__(self, path="", max_threads=1): Tool.__init__(self, "V2_trim.exe", path=path, max_threads=max_threads) def parse_options(self, reads_prefix, kmer_file, output_prefix, wri...
[ "mahajrod@gmail.com" ]
mahajrod@gmail.com
618701231e6c8bd8a0b9f8ad6bb2d9331f0d264f
bde607d5c75179861cd1bae62fa40861b984ee4b
/datalive/datalive_vehicle_help/migrations/0001_initial.py
6901621094bd73cfb8db3b7606c2bac82cd3ae8a
[]
no_license
simba999/Geofence-project
1658f1473b1b2a554607596872448928c1ccac77
7c01b55ff0ff3537fd63ea10182b12c5e1f107fa
refs/heads/master
2021-03-31T00:51:57.811563
2018-03-08T19:22:12
2018-03-08T19:22:12
124,434,299
0
1
null
null
null
null
UTF-8
Python
false
false
978
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2017-11-24 14:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Insuran...
[ "oliverking8985@yahoo.com" ]
oliverking8985@yahoo.com
5d6a72eab05b847c842b48fc198b0ee85e3fac72
026d1a6fe389be46873b49470536bcaf17192226
/infrastructure/fibula/actions/domains.py
ff7568223bbbf4dd97423e2b0e09130100921c64
[]
no_license
justinlocsei/fibula
223a9eab763c2a9cd1474eb71a45e478a512bb2e
ca6c408cbc552b21ee0761eb6f34b7e8c2656153
refs/heads/master
2021-03-27T09:11:26.263249
2017-01-23T21:16:42
2017-01-23T21:16:42
47,657,516
0
0
null
null
null
null
UTF-8
Python
false
false
3,691
py
from digitalocean import Domain from fibula.actions.base import BaseAction from fibula.data import load_data class Domains(BaseAction): """A collection of actions for network domains.""" log_prefix = 'domains' def create(self): """Create domains on Digital Ocean from the manifest.""" lo...
[ "justin.locsei@gmail.com" ]
justin.locsei@gmail.com
4b1c822586b8626144fe06fb4acacd101741619e
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/91781487ab04b4c9274a1614c71ab42c052eaaf4-<do_grant>-bug.py
5cf5630ec24eb3bf7bcf5dda70fddee444092cce
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
def do_grant(kms, keyarn, role_arn, granttypes, mode='grant', dry_run=True, clean_invalid_entries=True): ret = { } keyret = kms.get_key_policy(KeyId=keyarn, PolicyName='default') policy = json.loads(keyret['Policy']) changes_needed = { } assert_policy_shape(policy) ha...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
071f133fad7f94950c34e8bf7edfb11d509c1e1a
f27de407581f6ca576bb8cea1f89b94ef97ade8d
/piecrust/cache.py
c107030c8b42b2cbb7b67a8ac08f4db5348bb750
[ "Apache-2.0" ]
permissive
innermatrix/PieCrust2
833b739efbc83235a84382cf56dd304029339b18
bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb
refs/heads/master
2023-07-10T18:27:56.807295
2021-08-15T17:57:45
2021-08-15T17:57:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,444
py
import os import os.path import json import shutil import codecs import hashlib import logging import collections import repoze.lru logger = logging.getLogger(__name__) class ExtensibleCache(object): def __init__(self, base_dir): self.base_dir = base_dir self.caches = {} @property def e...
[ "ludovic@chabant.com" ]
ludovic@chabant.com
5bcfb181062bd8624c91ff2451da104b7b6133da
4c7914bf0eb52f2fe5dab70fa630a322a9449e05
/adb_mult_run/video.py
5f87cd8e202d96bec475a23347dbbe80ff9e6dff
[]
no_license
xhongc/pythonCrawl
f334d737326a47782d2533c4db23734729f13099
a38e59496dd78b6e070ea6882043b1744190103e
refs/heads/master
2022-12-10T01:22:01.608193
2020-01-12T09:43:19
2020-01-12T09:43:22
93,115,695
4
5
null
2022-11-22T02:36:28
2017-06-02T01:47:22
Python
UTF-8
Python
false
false
1,367
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'video.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectNam...
[ "408737515@qq.com" ]
408737515@qq.com
8c5e75f96461ab059979112425fe8e35f1487aba
60cb975f3e0251c73c457271bce8a7b2036e422b
/studysrc/day05/reprtest.py
dd60496dd2b7b83f76cf1108ce2d65c0abecdc98
[]
no_license
49257620/reboot
0a2341f23bc1a6f3ae47b59f772919228c623544
86b348228d1a25d78c45b0e9022d7c773544373b
refs/heads/master
2018-11-17T19:19:58.969710
2018-09-25T03:15:57
2018-09-25T03:15:57
125,727,532
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
# encoding: utf-8 # -*- coding: encoding -*- # author = ‘LW’ str_list = "['a','b','c',['d','e',4]]" print(eval(str_list)) print(eval('1+2'))
[ "49257620@qq.com" ]
49257620@qq.com
902ec74a5b0eed656a59bacbb65064cb7c25cb48
9d36c0a474edb00750e08d0a82bf31a2e3d5af00
/src/qibo/tests/utils.py
0c172932a19b1b59311741fc2dc8904ed739f118
[ "Apache-2.0" ]
permissive
ZDQpeter/qibo
b2b48bbc46077a76ea886eff1ddbf1b96c83c37b
d8bd2d3de0d8eb12a428a9125302e318480e982a
refs/heads/master
2023-08-11T03:55:32.241032
2021-10-14T10:06:25
2021-10-14T10:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
import numpy as np def random_complex(shape, dtype=None): x = np.random.random(shape) + 1j * np.random.random(shape) if dtype is None: return x return x.astype(dtype) def random_hermitian(nqubits): shape = 2 * (2 ** nqubits,) m = random_complex(shape) return m + m.T.conj() def rand...
[ "35475381+stavros11@users.noreply.github.com" ]
35475381+stavros11@users.noreply.github.com
bc6b17c8d3e05a8c4dfdd2f7dbca7facc39909d1
3910684527124e0cd40d1fff147d7036f57846e3
/run.py
5c9d61260a9bd237c0f2bf81bb0ec751bec94fec
[]
no_license
gichimux/contacts-app-python
803baeac7f3c66e9b196305f08b555ae5eea7d3b
022f15d9f373fb483e38ff63a929781d89ba860b
refs/heads/master
2020-05-05T07:00:01.052939
2019-04-08T06:46:15
2019-04-08T06:46:15
179,809,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,790
py
#!/usr/bin/env python3.6 from contact import Contact def create_contact(fname,lname,number,email): ''' function to create anew contact ''' new_contact = Contact(fname,lname,number,email) return new_contact def save_contact(contact): ''' function to save contact ''' contact.save_con...
[ "gichimumwai1@gmail.com" ]
gichimumwai1@gmail.com
8a6a4bed6b4d62d760f2e100ca34876e628a7da4
2ce75993c586f3eead3ae225ae00b00872b62c4c
/tests/dummy_app/dummy/models.py
eaabf09bbab022d2ce6060d484ce6c853c9760d2
[ "BSD-3-Clause" ]
permissive
klowe0100/djongo
8d8dfb81d97102f87d8b6717926980e13c576754
6275efef708f79813026ac1fadf368612c32d251
refs/heads/master
2021-07-14T21:53:53.915086
2017-10-20T05:10:14
2017-10-20T05:10:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
from django.db import models # Create your models here. class Dummy(models.Model): test = models.CharField(max_length=10)
[ "nesdis@gmail.com" ]
nesdis@gmail.com
3c5cc944be7b085516b3d9629b5e730fd328e5c4
15966062c9db833d7061f90f21a98698e4ffd95b
/settings/settings_base.py
8f8b2080852c0c7aac42fbba952dcbde7477c94a
[]
no_license
tanveerahmad1517/pythonz
bd4b96ee72a67ab7b7c4548dd2dac013dd26ccd6
57d77230525e976dd8ba8c25d2119529d987e401
refs/heads/master
2020-03-30T01:46:22.183052
2018-08-02T13:03:13
2018-08-02T13:03:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,755
py
from os.path import dirname PATH_PROJECT = dirname(dirname(__file__)) PATH_DATA = '%s/data' % PATH_PROJECT #################################################################### SITE_URL = 'http://pythonz.net' PROJECT_SOURCE_URL = 'https://github.com/idlesign/pythonz' DEBUG = False PATH_CERTIFICATE = None CERTIFICA...
[ "idlesign@yandex.ru" ]
idlesign@yandex.ru
a6d7126e9ae54eed35d7fe584b2e6ae644c9f50a
b8a13ecb7c0999954807e80c7470d8f752a3653b
/cryptopals-python3/challenge6.py
cc2f6212c1763fc935c9de73adeafd1053ffb04f
[]
no_license
jbarcia/Python-Books
59ca3d7b7fb1f2c1e3d1659f846032382af557a9
2106a2e5f56cdd4261bf870798a0a427d6137249
refs/heads/master
2021-01-19T00:24:59.727307
2017-01-05T00:07:13
2017-01-05T00:07:13
62,562,390
2
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
import base64 import challenge3 import challenge5 import itertools def getHammingDistance(x, y): return sum([bin(x[i] ^ y[i]).count('1') for i in range(len(x))]) x = b'this is a test' y = b'wokka wokka!!!' expectedD = 37 d = getHammingDistance(x, y) if d != expectedD: raise Exception(encodedD + ' != ' + encod...
[ "jbarcia99@yahoo.com" ]
jbarcia99@yahoo.com
147d654fe3c23a4adc24cd33405c377c1333c432
e027847c96e45561acb729cd2ef07c23543c5fcf
/IFSC_API/settings.py
bf2f07513e16058fb560ca87aa0d82176a14971e
[]
no_license
Shwetabhk/IFSC_REST_API
e897e6026f6d7631f89f75c397bac16d37965c30
0b372cbe9d7ea129b582ccc91a2ee03eb3bf8a15
refs/heads/master
2023-01-08T16:44:44.305233
2018-11-18T13:58:14
2018-11-18T13:58:14
158,086,644
1
2
null
2022-12-08T01:18:01
2018-11-18T13:27:59
Python
UTF-8
Python
false
false
3,764
py
""" Django settings for IFSC_API project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os i...
[ "shwetabh002@gmail.com" ]
shwetabh002@gmail.com
98d602ab2a951adef21562b40f9925ee490ee172
8c5f7d7db6f794a13cfbc6e636d78e51926e9bd9
/routes/__init__.py
54a42419081f5aad393ac684cf526cc5b5f6e119
[ "MIT" ]
permissive
anthill-gaming/admin
27c213cc686577b07463c546187fd8744819891a
e3c29a9bd7c04d2c6ce29528578a93395adf59e0
refs/heads/master
2020-04-30T17:50:40.383848
2019-07-30T14:19:13
2019-07-30T14:19:13
176,991,994
0
0
null
null
null
null
UTF-8
Python
false
false
2,384
py
# For more details about routing, see # http://www.tornadoweb.org/en/stable/routing.html from anthill.framework.utils.urls import include from anthill.framework.utils.module_loading import import_module from anthill.framework.handlers import TemplateHandler from admin import handlers from tornado.web import url import ...
[ "x55aah@gmail.com" ]
x55aah@gmail.com
60f3224d356d708087da5b32fdefd7899794fe2e
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/tests/unit/modules/network/eric_eccli/eccli_module.py
8d0a532f5a8f2ad42dc44aa4454e4e2b5ff8a96f
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
2,567
py
# (c) 2019 Ericsson. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distri...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
2af872e0bea494e6e43e27b51cc507978b0c872a
08220d9b20ed180005388d6ef19cc106d5093096
/test/test_storage_mongo.py
7413fe486dc0416930a4acca914e17f2ae521e35
[ "BSD-3-Clause" ]
permissive
abn/flask-track-usage
e39dc8b7d2b0433a6a7721bf75f46607703914ce
cfdd6b22715f323e09246f5ba646599530be1b70
refs/heads/master
2020-12-24T18:55:22.179631
2013-05-04T08:36:58
2013-05-04T08:36:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,016
py
# Copyright (c) 2013 Steve Milner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # (1) Redistributions of source code must retain the above copyright # notice, this list of conditions...
[ "stevem@gnulinux.net" ]
stevem@gnulinux.net