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
72d4c2579b98cbc7e5f7dda8281be95a5f798db2
ba995756ff6c856abe98c387bd85ea8cfca66a74
/medium/python338.py
1af777d6b16f80e504f592755f95fc15b487fea9
[]
no_license
HarshilModi10/MCP_Competition
ae7be388c947ce0a80a84dfe4cda426060d993c5
646e0fe39a51a1d48a8a987435307f7cfca7938a
refs/heads/master
2020-04-24T17:27:31.522701
2019-08-04T15:40:12
2019-08-04T15:40:12
172,147,919
2
0
null
null
null
null
UTF-8
Python
false
false
2,202
py
# time O(N) * integer size and space: O(N) array class Solution(object): def countBits(self, num): """ :type num: int :rtype: List[int] """ output = [] for i in range(num+1): output.append(self.count_number(i)) #retu...
[ "modih1@mcmaster.ca" ]
modih1@mcmaster.ca
af520f733c8fac34768c9d167ec2dd88edd60c4c
81d0bfe1262008587ddf5ac12ae034d6922b9747
/.history/test_20201016160500.py
365196b6e30abb4cace2a64e9920b79fa6776ce4
[]
no_license
elvinyeka/Smart-Mobile
525fffac14b8c460e85002bbf154bf54b4a341fe
a32f557306ae1bfe3ae01f5a8beef93727cfbc47
refs/heads/master
2023-06-09T09:52:18.446572
2021-07-06T11:35:34
2021-07-06T11:35:34
313,988,596
2
0
null
null
null
null
UTF-8
Python
false
false
560
py
import os from flask import Flask from flask_sqlalchemy import SQLAlchemy basedir = os.path.abspath(os.path.dirname(__file__)) app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.path.join(basedir, 'data.sqlite') db = SQLAlchemy(app) class Human(db.Model): id = db.Column(db.Integer, ...
[ "elvinyeka@gmail.com" ]
elvinyeka@gmail.com
88b03c669a451d6bced94894be642fb8c26da16d
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/kikoAnalysis/era5_surge_reconstruction_mlr_ver2.py
01dc8b1536a09e9ab7343c428696946b366e6dbe
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
5,908
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 ---------------------------------------------------- This program is designed to reconstruct ERA-Five daily maximum surge using MLR ---------------------------------------------------- @author: Michael Tadesse """ #import packages import os # import nump...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
794a23bd4671a46dd35ba0ad4dcfad56898b3c42
c6f493d0955803d58dc41f0a4b12847f1ce83712
/py_journal_fielded_retrieval/queryTuneBoost_Clef2016.py
4ccab369dd4e9c3ff675eee2a8e919680cdb4e09
[]
no_license
ielab/field-based-retrieval
7b94c0feb5cd0de25087cb7bb94c055b286257db
dd54785473af6fc70fd2242c4fc64323bcb1e8c2
refs/heads/master
2020-11-28T02:24:09.515215
2019-12-23T05:00:53
2019-12-23T05:00:53
229,679,505
0
0
null
null
null
null
UTF-8
Python
false
false
3,648
py
import time import os import re from lxml import etree from elasticsearch import Elasticsearch from queryBuilder_normal import query_builder_normal import multiprocessing from functools import partial # server setting es = Elasticsearch(urls='http://localhost', port=9200, timeout=500) queryFile = '/volumes/ext/data/cl...
[ "g.zuccon@uq.edu.au" ]
g.zuccon@uq.edu.au
b1b7bb8fdb8895c24c93c14eadebe639841536e2
7c45efb5a5c66305d7c4ba8994d3b077612df109
/main/apps/first_app/models.py
11cbbd145249e0e96de86f8b685139e3f1367e49
[]
no_license
globedasher/django-dojo
c245f35b276402b6df6205a8612deb0089d34612
dc27d289b8986b4fb910ef42f7bf483c385a3b4e
refs/heads/master
2020-07-30T04:04:02.054414
2018-05-01T04:32:05
2018-05-01T04:32:05
73,635,951
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
from __future__ import unicode_literals from django.db import models # Create your models here. class Users(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30) email = models.EmailField(max_length=100) password = models.CharField(max_length=100) ...
[ "globe.dasher@gmail.com" ]
globe.dasher@gmail.com
745ef8ec39cce58059ef0970bd2a1901a4a89445
91065c2ec8083982c774deba85918ce39951d310
/pywind/lib/configfile.py
62b38a92e5cd827a807a249e744d15cf2b3bf9d7
[ "BSD-2-Clause" ]
permissive
xyz12810/fdslight
4e25a2e86aacbec72fd621984fe47d98ebf1e2de
3ceb751d81da90ed43d78e8499a3a4e53b70792e
refs/heads/master
2020-05-30T15:47:02.502115
2019-05-31T16:53:06
2019-05-31T16:53:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
#!/usr/bin/env python3 class IniFileFmtErr(Exception): pass class _Iniparser(object): def __drop_comment(self, seq): """去除注释""" line_n = 0 rs = [] for s in seq: line_n += 1 # 去除空行 t = s.rstrip() t = t.replace("\t", "") ...
[ "freekai@outlook.com" ]
freekai@outlook.com
52509d7f84fa6af645fc378bda7e6f1e51793056
f3b233e5053e28fa95c549017bd75a30456eb50c
/tyk2_input/47/47-55_MD_NVT_rerun/set_1ns_equi_1_m.py
7132c58751f5bf0ee7f44b660e344af164606a52
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
import os dir = '/mnt/scratch/songlin3/run/tyk2/L47/MD_NVT_rerun/ti_one-step/47_55/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_1_m.in' temp_pbs = filesdir + 'temp_1ns_equi_1_m.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078]...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
22cb921734eed9e527220f9cf2f2cfa132ddb79f
faa83d63a23aec7c4f45c6ce6d140985a9fb2d50
/package/diana/utils/gateways/persistent_map.py
1c6b8457cd8e1d83d78429c28d9b53f4b79e86bf
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
thomasyi17/diana2
dbf23382f5f84bd9cf86ce531f46452f0083e7f6
983e58ef0a5fe0d820a56c41c823369754019171
refs/heads/master
2023-03-24T15:13:29.421614
2022-06-12T21:42:28
2022-06-12T21:42:28
167,248,482
0
0
MIT
2019-06-25T19:41:36
2019-01-23T20:22:50
Python
UTF-8
Python
false
false
5,207
py
import pickle, logging, csv, hashlib, os, glob from multiprocessing import Queue import attr from abc import ABC import time def md5_digest(value): return hashlib.md5(value.encode("utf8")).hexdigest() @attr.s class PersistentMap(ABC): keyhash_func = attr.ib( default=md5_digest ) fn = attr.ib( type=str,...
[ "derek_merck@brown.edu" ]
derek_merck@brown.edu
8404702afa848659ee2f70557d4dbd6a675c9257
31134be1044464e10d9f241a2ab235aa2daf9a9e
/iris_plot/main.py
0f02fc922317896e5f0e8dbd3b8a9ae66e0e30c8
[]
no_license
amitsaha/conda-kapsel-iris
10d7d532514211651edb111b8fb21e543e6f4213
b6df81ed5ec01e0c05cb9de963950509000fa06b
refs/heads/master
2021-01-20T20:27:55.366708
2016-07-24T10:34:28
2016-07-24T10:34:28
64,060,481
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
import os import pandas as pd from bokeh.plotting import Figure from bokeh.io import curdoc iris_csv = os.getenv("IRIS_CSV") flowers = pd.read_csv(iris_csv) colormap = {'setosa': 'red', 'versicolor': 'green', 'virginica': 'blue'} colors = [colormap[x] for x in flowers['species']] p = Figure(title = "Iris Morphology...
[ "amitsaha.in@gmail.com" ]
amitsaha.in@gmail.com
497e0341d11ab5aad2ce2f6a2126edfc9098569d
bc162308dc046e682f812da63b10ed051003f18f
/tests/eth2/fixtures/helpers.py
9deac2e3958dd5ca8999bfb49989eec45d1c0129
[ "MIT" ]
permissive
davesque/trinity
23db37dc8299b5bb0d352f98e82f0912e0bce7ed
70b482af4235eb835c90b3c2471be2951b494afe
refs/heads/master
2020-04-18T04:48:48.411902
2019-08-07T16:01:33
2019-08-07T16:01:33
167,252,958
0
0
null
2019-01-23T20:56:57
2019-01-23T20:56:57
null
UTF-8
Python
false
false
1,799
py
import pytest from eth_utils import ( to_tuple, ) from eth2.configs import ( Eth2GenesisConfig, ) from eth2.beacon.db.chain import BeaconChainDB from eth2.beacon.state_machines.forks.serenity import ( SerenityStateMachine, ) from eth2.beacon.tools.fixtures.loading import ( get_all_test_files, ) # # ...
[ "hwwang156@gmail.com" ]
hwwang156@gmail.com
23826a0a7381a9ac7265e286222b48e18f806b93
411eff94020c192d5e5f657fa6012232ab1d051c
/game/tests/anim_test2.py
4e36276699b967e0cb864ee480f7dc889dd5ddfb
[]
no_license
xMakerx/cio-src
48c9efe7f9a1bbf619a4c95a4198aaace78b8491
60b2bdf2c4a24d506101fdab1f51752d0d1861f8
refs/heads/master
2023-02-14T03:12:51.042106
2021-01-15T14:02:10
2021-01-15T14:02:10
328,268,776
1
0
null
2021-01-15T15:15:35
2021-01-09T23:51:37
Python
UTF-8
Python
false
false
187
py
from src.coginvasion.standalone.StandaloneToon import * don = loader.loadModel("phase_4/models/char/daisyduck_1600.bam") don.reparentTo(render) don.place() base.startDirect() base.run()
[ "brianlach72@gmail.com" ]
brianlach72@gmail.com
c04d0d2bd175dc68572322d6021223cdd88a5d0c
78a15793be1ba71ea7eecee33abef4ecbe11d8f2
/apps/chat/urls.py
0067ab83ee65d720cb56865946edd94bd654f009
[]
no_license
teresaylin/my2009
f5df9c62492d4c88931f6aa45af31ee88dbe3a1a
2486750ad73df313d596497b0eb7f4c47518e6a6
refs/heads/master
2021-03-21T23:53:55.581074
2016-06-01T18:13:44
2016-06-01T18:13:44
23,392,283
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from django.conf.urls import patterns, include, url from rest_framework import routers from .views import * router = routers.DefaultRouter() router.register(r'rooms', RoomViewSet) router.register(r'messages', RoomMessageViewSet) router.register(r'room-users', RoomUserViewSet) urlpatterns = [ url(r'', include(rou...
[ "jam.hann@gmail.com" ]
jam.hann@gmail.com
5611dff75e476a2a7bea7654b660c94d84e0e276
e4ab2d1102019e02a6d8fb67657b84a7b3b2d55a
/CNNs/mains_v2/main_feature_extractor.py
ed30f085a3a0edd7db7cb42b70ff92af46ca639f
[]
no_license
githubpgq/EmotionNet_CVPR2020
0c07950e1bc8029a6c78e34392e214b36266d1ea
7822fdf0a4ac6b6aadb5838d50529cea0cb60e49
refs/heads/master
2023-05-26T05:33:42.008577
2021-06-09T00:40:00
2021-06-09T00:40:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,583
py
# Copyright (c) 2018 Zijun Wei. # Licensed under the MIT License. # Author: Zijun Wei # Usage(TODO): feature extractor, slow version, double check! # Email: hzwzijun@gmail.com # Created: 07/Oct/2018 11:09 import os, sys project_root = os.path.join(os.path.expanduser('~'), 'Dev/AttributeNet3') sys.path.append(project_ro...
[ "zijwei@cs.stonybrook.edu" ]
zijwei@cs.stonybrook.edu
273ed8558200ea611b094077fa0425248208eec7
83d9b630bdc5535d67e35d69768b4d41fc4c9653
/assignment1/assignment1/cs231n/features.py
ca2f313c8774c4c166eedebf60412234b300f9a1
[]
no_license
chenshaobin/assignment_CS231n
2c8820f748fca6fb41cdb272a81c940f8c0a0e52
132c670d22dd37e6b4c1bd9da944c1f62a639d64
refs/heads/main
2022-12-30T21:05:12.500255
2020-10-18T04:49:40
2020-10-18T04:49:40
301,309,753
0
0
null
null
null
null
UTF-8
Python
false
false
5,526
py
from __future__ import print_function from builtins import zip from builtins import range from past.builtins import xrange import matplotlib import numpy as np from scipy.ndimage import uniform_filter def extract_features(imgs, feature_fns, verbose=False): """ Given pixel data for images and several feature ...
[ "13531194616@163.com" ]
13531194616@163.com
169b42cb29b0f9fc8d36773fed6c41cfb40f897f
277290f8cd6cc5bcb77faaf69a045f5074a988e5
/last-stone-weight-ii.py
129b04ec8186644cc9d6e8b0eba35baf4b475185
[]
no_license
shankarkrishnamurthy/problem-solving
aed0252d9ca6d6b51e9a7d8d5e648343b4abf322
f9bc1db1cc99b10a87a2fa51869924aa10df4c99
refs/heads/master
2023-03-20T18:48:45.107058
2023-03-06T03:24:53
2023-03-06T03:24:53
123,035,515
2
0
null
null
null
null
UTF-8
Python
false
false
393
py
class Solution(object): def lastStoneWeightII(self, stones): """ :type stones: List[int] :rtype: int """ dp,s={0:0},sum(stones) for i in stones: for x in dp.keys(): dp[i+x]=dp.get(i+x,0) + 1 #print dp return min([abs(s-2*i) ...
[ "kshan_77@yahoo.com" ]
kshan_77@yahoo.com
1b4d75da96eec721917ac7f7fc5a1d54f40132e1
3bd0a2e48ada5958f91b0deae3bef83920ecf770
/Geometry/HcalAlgo/test/python/dumpHcalXtal_cfg.py
04ff8eb310197111e9f4fd210dccdd4f37aabc5b
[ "Apache-2.0" ]
permissive
anmishra0/cmssw
6716783874b48ca6866e6bd17d3756d169956101
d920ba0d5e8b46fc1e2e3641d0aac122503e5811
refs/heads/master
2021-06-01T13:47:33.834689
2019-09-20T07:35:13
2019-09-20T07:35:13
209,823,961
1
0
Apache-2.0
2019-09-20T15:31:35
2019-09-20T15:31:34
null
UTF-8
Python
false
false
822
py
import FWCore.ParameterSet.Config as cms process = cms.Process("DUMP") process.load("Geometry.HcalAlgo.testGeomHcalXtal_cfi") process.load('FWCore.MessageService.MessageLogger_cfi') if 'MessageLogger' in process.__dict__: process.MessageLogger.categories.append('G4cerr') process.MessageLogger.categories.appe...
[ "sunanda.banerjee@cern.ch" ]
sunanda.banerjee@cern.ch
ab9be6590aa380def959b4559f589e13c5bde100
58f1cb1761d4e7114bbe0cc54195fc3bf72ccc4d
/python_solution/301_310/RemoveInvalidParentheses.py
c82c942d4bec2ad4c2189d486fec5a3868a3b8e1
[]
no_license
CescWang1991/LeetCode-Python
4e2e9b1872ef92d128c681c1ed07db19938b1ef5
0584b86642dff667f5bf6b7acfbbce86a41a55b6
refs/heads/master
2020-03-31T02:37:12.065854
2019-04-24T02:33:15
2019-04-24T02:33:15
151,832,885
1
1
null
2019-04-15T06:34:41
2018-10-06T11:22:49
Python
UTF-8
Python
false
false
2,185
py
# 301. Remove Invalid Parentheses class Solution: # 递归解法,首先统计了多余的半括号的数量,然后遍历字符串,逐个删去多余的半括号,运用深度优先遍历,当多余的括号均删去 # 时,判断剩余的字符串是否有效 def removeInvalidParentheses(self, s): """ :type s: str :rtype: list[str] """ # 我们分别记录需要删除的左括号和右括号的数目 right = 0 stack = [] ...
[ "cescwang1991@gmail.com" ]
cescwang1991@gmail.com
876d723b5edc6ac6e3f8666ccf542825378985d8
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Tensorflow_LightGBM_Scipy_nightly/source/scipy/optimize/_minimize.py
9016a97e6cbb0b6aabd5f098dc0460d6b3b96a08
[ "GPL-3.0-or-later", "Qhull", "GPL-3.0-only", "MIT", "BSD-3-Clause", "Apache-2.0", "BSD-3-Clause-Open-MPI", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "GCC-exception-3.1" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
29,070
py
""" Unified interfaces to minimization algorithms. Functions --------- - minimize : minimization of a function of several variables. - minimize_scalar : minimization of a function of one variable. """ from __future__ import division, print_function, absolute_import __all__ = ['minimize', 'minimize_scalar'] from wa...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
6b7e6a720113491f5ac26c4f0926a0a9d61607f3
4ae178e2f872acba3acdcb06cb145b82e48908f8
/trial_test_ws/build/iiwa_hw/catkin_generated/pkg.installspace.context.pc.py
949ec279bb76f064bf54d64182ab6876d794e7b9
[]
no_license
ZhikaiZhang1/ros-lbr-repo
51279a0c1e00f1e1d5f0f3be2e3feb2dc04600df
8fce59c6145481a0ec58d345cb3caa641c59f78e
refs/heads/master
2023-06-04T15:55:18.769023
2021-06-22T12:34:00
2021-06-22T12:34:00
380,094,172
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else [] PROJECT_CATKIN_DEPENDS = "iiwa_ros;iiwa_msgs;pluginlib;controller_interface;controller_manager;hardware_interface;control_toolbox".rep...
[ "zhikaizhangHULK@gmail.com" ]
zhikaizhangHULK@gmail.com
2ea952b80df8b60ff89f67b5241918f8c5f4897e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03745/s993598442.py
7ab832b8c29c3103718a8da3ea5169b67688def5
[]
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
432
py
n = int(input()) a = list(map(int, input().split())) state = None cnt = 1 for i in range(1, n): if state == None: if a[i] > a[i-1]: state = 'up' elif a[i] < a[i-1]: state = 'down' else: continue elif state == 'up' and a[i] < a[i-1]: cnt += 1 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fe1c51f8a34a1413829cf71684194d504abe4cf8
a3b0e7acb6e0d7e73f5e369a17f367ac7caf83fb
/flask/ultimate_flask_course/flask_app/env/bin/flask
9f7fc08c99f7349699267a033ad8547279d49a75
[]
no_license
jadedocelot/Bin2rong
f9d35731ca7df50cfba36141d249db2858121826
314b509f7b3b3a6a5d6ce589dbc57a2c6212b3d7
refs/heads/master
2023-03-24T14:03:32.374633
2021-03-19T00:05:24
2021-03-19T00:05:24
285,387,043
0
0
null
null
null
null
UTF-8
Python
false
false
278
#!/Users/edgar/Desktop/Bin2rong/flask/ultimate_flask_course/flask_app/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "eabelortega@gmail.com" ]
eabelortega@gmail.com
5eba23b59be7cb948d58c56e2d6cf0fea531ab96
0604602b54581ee29c15dfb440843fecdef9baaf
/manage.py
1b4d2d7a82b2f0862d770e476753517fbcf4abe6
[]
no_license
VirginiaNdungu1/watchlist
efbccf6f3bc9bf720dc20fe1e81a058b20aebcd0
840cbbee8c85ac1febc06a99fa8b72253900f957
refs/heads/master
2021-07-14T12:12:32.456787
2017-10-19T12:03:39
2017-10-19T12:03:39
107,099,321
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
from app import create_app from flask_script import Manager, Server app = create_app('development') ''' Create app instance How? Call the create_app function pass in the onfiguration_options key - 'development' ''' manager = Manager(app) ''' Instantiate the Manager Class How? Pass in the app instance ''' manager.ad...
[ "ndungu.wairimu22@gmail.com" ]
ndungu.wairimu22@gmail.com
4cc5a62fbdb716643f89c5ef71cf261fd0d3a3cc
a8547f73463eef517b98d1085430732f442c856e
/passporteye/mrz/image.py
f0202fe598249c9fdfad68f65c7d935821be3523
[]
no_license
EnjoyLifeFund/macHighSierra-py36-pkgs
63aece1b692225ee2fbb865200279d7ef88a1eca
5668b5785296b314ea1321057420bcd077dba9ea
refs/heads/master
2021-01-23T19:13:04.707152
2017-12-25T17:41:30
2017-12-25T17:41:30
102,808,884
0
0
null
null
null
null
UTF-8
Python
false
false
13,506
py
''' PassportEye::MRZ: Machine-readable zone extraction and parsing. Image processing for MRZ extraction. Author: Konstantin Tretyakov License: MIT ''' from skimage import transform, io, morphology, filters, measure import numpy as np import tempfile, os from ..util.pdf import extract_first_jpeg_in_pdf from ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
fc21779d27a71f555b352dc441b4136ec792dbad
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/46/usersdata/125/19401/submittedfiles/funcoes1.py
7ce00720df93d18b211087e3cf892525e1713099
[]
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
1,522
py
# -*- coding: utf-8 -*- from __future__ import division def crescente (lista): cont=0 for i in range(0,len(lista)-1,1): if lista[i]<lista[i+1]: cont=cont+1 if cont!=0: return False else: return True def decrescente (lista): cont=0 fo...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
da6149217634e42d50560e1fe5807192edf13344
747febe786dd6b7fd6c63cfe73dbe3023354daa8
/src/tt_impacts/tt_impacts/handlers.py
65645df622bd34f61fb4d72f19d0fa1a7aa693d5
[ "BSD-3-Clause" ]
permissive
the-tale/the-tale
4e4b8d91dc873a5fb935fe58e9721a877baa6d3f
e8450bd2332344da805b1851e728da5a3e5bf0ef
refs/heads/develop
2023-08-01T13:53:46.835667
2022-12-25T18:04:56
2022-12-25T18:04:56
1,949,167
98
52
BSD-3-Clause
2023-02-15T18:57:33
2011-06-24T18:49:48
Python
UTF-8
Python
false
false
3,766
py
from tt_web import handlers from tt_protocol.protocol import impacts_pb2 from . import protobuf from . import operations @handlers.protobuf_api(impacts_pb2.AddImpactsRequest) async def add_impacts(message, config, **kwargs): impacts = [protobuf.to_impact(impact) for impact in message.impacts] await operat...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
9ab19df506f2d84bf103f3c3dd8846201be7cbd8
c146744b6a1eba53d4691fc0fdddedbd1c6a4f7a
/lictor/fake.py
f0c230cc36ded9b6334d5dde1ada430eddc19c96
[]
no_license
adw0rd/django-lictor
509590a5431eb86d69bba21d376d05a3197f552f
ed07fdb02ba7596c259908b66b4c917f95665d62
refs/heads/master
2021-01-11T10:24:22.194217
2012-08-19T23:56:12
2012-08-19T23:56:12
76,251,649
1
0
null
2016-12-12T11:47:05
2016-12-12T11:47:04
null
UTF-8
Python
false
false
1,148
py
import hashlib import simplejson from django.conf import settings from lictor.models import Trace def md5(s): return hashlib.md5(s).hexdigest() def make_fake(request): session = request.COOKIES.get(settings.LICTOR_SESSION_COOKIE_NAME) dump = [ {"i": md5("test_project.films.urls:12"), "t": "Url...
[ "x11org@gmail.com" ]
x11org@gmail.com
b622ce5c2241a8e7493f504171e3abae1dcdda25
aaa762ce46fa0347cdff67464f56678ea932066d
/AppServer/lib/django-1.5/tests/regressiontests/aggregation_regress/models.py
dd4ff50aec093526827fe15867c543b7a25b54d3
[ "Apache-2.0", "BSD-3-Clause", "LGPL-2.1-or-later", "MIT", "GPL-2.0-or-later", "MPL-1.1" ]
permissive
obino/appscale
3c8a9d8b45a6c889f7f44ef307a627c9a79794f8
be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f
refs/heads/master
2022-10-01T05:23:00.836840
2019-10-15T18:19:38
2019-10-15T18:19:38
16,622,826
1
0
Apache-2.0
2022-09-23T22:56:17
2014-02-07T18:04:12
Python
UTF-8
Python
false
false
1,965
py
# coding: utf-8 from django.db import models from django.utils.encoding import python_2_unicode_compatible @python_2_unicode_compatible class Author(models.Model): name = models.CharField(max_length=100) age = models.IntegerField() friends = models.ManyToManyField('self', blank=True) def __str__(self...
[ "root@lucid64.hsd1.ca.comcast.net" ]
root@lucid64.hsd1.ca.comcast.net
0a96785256165015b3ea2915a7a984ab4931056a
ade0524b00e48325f00ffa61a5dd3f724f421f31
/test/rules/functions/test_find_in_map_keys.py
fd9cd88480a3f7e9a3fe108faf3c0813719b55c2
[ "MIT-0" ]
permissive
jlongtine/cfn-python-lint
14247dc62ed07934802570534c5b7012bff9126a
3f5324cfd000e14d9324a242bb7fad528b22a7df
refs/heads/master
2020-07-19T03:46:30.741522
2019-09-04T19:35:34
2019-09-04T19:35:34
206,368,016
1
0
NOASSERTION
2019-09-04T16:50:06
2019-09-04T16:50:06
null
UTF-8
Python
false
false
1,693
py
""" Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to ...
[ "kddejong@amazon.com" ]
kddejong@amazon.com
ece8f9bdef9eb07d6af3919fd81d39c08a7ef4ea
0bad722e38038bdc5bf86970e1b69bd41dcd4974
/exp/exp043.py
70f7a573b91a1f3333b894ef55dabed06dab5e2d
[]
no_license
Kitsunetic/commonlit
b66f0b89a10d2f59c3cee00ee3b5c08a1434589b
8781139c8ed4cc59f7c7ac9d97c72c351ee91377
refs/heads/master
2023-07-03T00:27:11.126056
2021-08-03T01:49:40
2021-08-03T01:49:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,692
py
import torch from torch import nn from torch.utils.data import DataLoader, Dataset from torch.nn import functional as F from pytorch_lightning.core.lightning import LightningModule import pandas as pd import dataclasses from transformers import AutoTokenizer, AutoModel import pytorch_lightning as pl from transformers i...
[ "kurupical@gmail.com" ]
kurupical@gmail.com
21bc287dfd69591caf52e2875859d6647a1cd3cd
e2f0806ca1cdd887ea40d050a19fa2710427bd38
/기본 문제/04주차_그리디/11047_동전 0/yeonwoo_11047.py
8ef51f58a33cd340bf384386b9045c25e98bd3f3
[]
no_license
JY-Dev/AlgorithmStudy-1
001f94d80097c850c79eeb2bc86971a01aa5bd5d
2ad1df0fd65c72a6f6d1feeba09f889000ff8c15
refs/heads/main
2023-08-21T18:38:18.235994
2021-09-28T07:07:11
2021-09-28T07:07:11
406,208,087
1
0
null
2021-09-14T03:14:32
2021-09-14T03:14:31
null
UTF-8
Python
false
false
396
py
import sys N, K = map(int ,input().split()) coin = [] for i in range(N): coin.append(int(sys.stdin.readline().rstrip())) count_coin = 0 for i in range(N-1, -1, -1): # coin리스트 역순으로 받아와줌 count_coin = count_coin + (K // coin[i]) # 나머지값 받아옴 # print(count_coin) K = K % coin[i] # 몫값 가져와줌 # p...
[ "noreply@github.com" ]
JY-Dev.noreply@github.com
e6e60d494fdd99e137d47cf846a1c54beac9548c
7a0144da5a567d8497551b09875298ea224bb5bd
/test/two five.py
ccc96ab3ac487d676b1c4ac6afe2aad91b13d4fb
[]
no_license
SLT-DJH/algorithm
dba34614bb0fbbad0ecf5d85b02cb541ab047c5a
e33c843be4efdfc6c6a7300ab4e53b9a7c4b2e67
refs/heads/master
2023-03-08T08:27:01.476793
2021-02-25T15:06:42
2021-02-25T15:06:42
297,017,366
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
a = int(input()) get = a twocount = 0 fivecount = 0 while get != 1 : tempget = get while True : if tempget % 2 == 0 : twocount += 1 tempget = tempget // 2 else : if tempget % 5 == 0 : fivecount += 1 tempget = tempget // ...
[ "jydwww@naver.com" ]
jydwww@naver.com
2ab19d5e36b7eff67501d509d4c02705a7805ce7
2940f5416082dadd9c646cd9a46d2d0a99883efb
/venv/Lib/site-packages/pandas/tests/indexes/base_class/test_formats.py
f07b06acbfbdbc7ab38c9b4ff65b22a07e5b217d
[ "MIT" ]
permissive
tpike3/SugarScape
4813e4fefbfb0a701f5913d74f045fd0eaed1942
39efe4007fba2b12b75c72f7795827a1f74d640b
refs/heads/main
2021-06-20T03:55:46.288721
2021-01-20T17:06:35
2021-01-20T17:06:35
168,583,530
11
3
MIT
2021-01-20T17:19:53
2019-01-31T19:29:40
Jupyter Notebook
UTF-8
Python
false
false
5,155
py
import numpy as np import pytest import pandas._config.config as cf from pandas import Index class TestIndexRendering: @pytest.mark.parametrize( "index,expected", [ # ASCII # short ( Index(["a", "bb", "ccc"]), """Index(['a', 'bb...
[ "tpike3@gmu.edu" ]
tpike3@gmu.edu
1d833bc8cf167e0f94fff7c8988a86ae745c6943
404728244681a773f55be7f7b0c4933f439f3106
/tests/web/suite/client.py
ef125df6d7ee968bfda8eaafe73e63085cbca8e9
[]
no_license
limingjin10/walis
c4e22db27d964cefa068883edf979cabfedd74d6
198a4e94992c1790b7a9f2cd34b1686fefc87845
refs/heads/master
2021-05-29T04:50:34.091849
2015-06-15T14:19:23
2015-06-15T14:19:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
# coding=utf8 from __future__ import absolute_import, division, print_function import pytest from walis.server import app # TODO 在每个模块conftest中使用权限检查 # web_client.set_cookie('eleme.test', 'god_token', 'true') # web_client.set_cookie('eleme.test', 'god_uid', '485388') # web_client.set_cookie('eleme.test', 'user_id', ...
[ "shaofeirong2006@126.com" ]
shaofeirong2006@126.com
2afe1add9070b59bf76e664827eaba73908b8798
4010495de5381f5c7084ee8968aafd311167e6e0
/brainiac_libs/brainiac_cores/conf_colors.py
3a4dc97a0101be76e1226725d307e6d29f950c78
[ "MIT" ]
permissive
marioaugustorama/brainiac_pwn
4920131051e9de17f50c06ba2a2b36a4c827ceab
daf2abefe54800682e84177762ec6869398f3090
refs/heads/master
2020-03-08T10:04:15.422637
2018-04-04T14:55:20
2018-04-04T14:55:20
128,062,869
2
0
MIT
2018-04-04T13:02:05
2018-04-04T13:02:05
null
UTF-8
Python
false
false
637
py
arry_cores = { "vermelho" :'\033[31m', "verde" : '\033[32m', "azul" :'\033[34m', "ciano" : '\033[36m', "magenta" : '\033[35m', "amarelo" : '\033[33m', "preto " : '\033[30m', "branco" : '\033[37m', "normal" : '\033[0;0m', "negrito"...
[ "darkcode357@gmail.com" ]
darkcode357@gmail.com
ac63cf07f7fa28aa40b6d176ed686d15b8b7b345
7465148de5d656ebfe68b588a2f271a11384ed6a
/litepipeline/litepipeline/manager/utils/litedfs.py
97177e15c398e93168fde3f58e61711e161513ad
[]
no_license
fiefdx/LitePipeline
1462dacdd1a0f2c67972b6014b428c2c45d46949
09608f8c5f248d2ba10e5840bf00d69e76ed6291
refs/heads/master
2023-04-14T11:45:18.929249
2023-04-02T06:48:30
2023-04-02T06:48:30
226,355,739
2
0
null
2023-04-01T17:49:14
2019-12-06T15:17:33
Python
UTF-8
Python
false
false
394
py
# -*- coding: utf-8 -*- import os import time import json import hashlib import logging from tornado import ioloop from tornado import gen from litedfs_client.client import LiteDFSClient from litepipeline.manager.config import CONFIG LOG = logging.getLogger(__name__) LDFS = None class LiteDFS(object): def __...
[ "fiefdx@163.com" ]
fiefdx@163.com
75add6cf7e84bbafe48aed9a72921be6523c6abe
d250a6ef8463e1e0bd6b10077bbd1afa42fa5919
/cloudmesh/__init__.py
69ecf4c570d5b5b76eb83974d410a42f58fa031f
[ "Apache-2.0" ]
permissive
cloudmesh/cloudmesh-manual
577d34bb13f527dc872a0110e55e1aac0c017ff9
78cbefb3cb5b1dfdb8154e5863678b1f9cdea1b4
refs/heads/main
2021-06-18T11:01:25.458633
2021-03-18T15:49:12
2021-03-18T15:49:12
182,184,051
0
32
Apache-2.0
2021-03-18T15:49:13
2019-04-19T01:54:32
HTML
UTF-8
Python
false
false
97
py
""" Cloudmesh namespace. """ import pkg_resources pkg_resources.declare_namespace(__name__)
[ "laszewski@gmail.com" ]
laszewski@gmail.com
e15b04c7931d37f5633a4cf349ba6d4c044639d0
32cb0be487895629ad1184ea25e0076a43abba0a
/LifePictorial/top/api/rest/FuwuScoresGetRequest.py
5f9681e9ab9bb4e5931bb956f6bd0e3218c9b4f2
[]
no_license
poorevil/LifePictorial
6814e447ec93ee6c4d5b0f1737335601899a6a56
b3cac4aa7bb5166608f4c56e5564b33249f5abef
refs/heads/master
2021-01-25T08:48:21.918663
2014-03-19T08:55:47
2014-03-19T08:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
''' Created by auto_sdk on 2014-02-10 16:59:30 ''' from top.api.base import RestApi class FuwuScoresGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.current_page = None self.date = None self.page_size = None def getapiname(self): ...
[ "poorevil@gmail.com" ]
poorevil@gmail.com
7a6257a7c3211a2689252d19c6d6d5156823435d
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/goodweather/testcase/firstcases/testcase10_011.py
d1f96f6e3017ee31041c45c6a19bd59cd5e49c84
[]
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
2,985
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
87d4b1bb1971f22624c98997b1adba00d087f9e2
869cabec304c0c899b544340c788669c9b8bf324
/speech_api_nict.py
8197035f02ed3399c15f0120a7d8d360cd1c0f03
[ "MIT" ]
permissive
konsan1101/pycv4nict
7c4571bb2e445cfa22d0e51f23ca99ea36e29b91
490c6cc664f4d96d07d795346cfd5ef447c64415
refs/heads/master
2020-06-03T12:53:50.097956
2019-06-12T13:29:43
2019-06-12T13:29:43
191,574,916
0
0
null
null
null
null
UTF-8
Python
false
false
15,251
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import os import time import codecs import subprocess import requests import json # nict 音声認識、翻訳機能、音声合成 import speech_api_nict_key as nict_key class SpeechAPI: def __init__(self, ): self.timeOut = 10 self.stt_token = None se...
[ "konchan@gold.ocn.ne.jp" ]
konchan@gold.ocn.ne.jp
10f532670bd79d4f62ef5ccbf956de943ba37d7d
e7188f29592fcfebce8b2ac86336534e1b15a505
/network-program/thread_learn/simple_thread_2.py
23eb5f5fdbcaf74653b14bc6383d30210a436c67
[]
no_license
liuxingrichu/python-learn-log
6f924172ae4d66aabd5740a2f161d7d653cf4af1
4556ba50388310e0c17010c0f999f54db5eef755
refs/heads/master
2021-01-19T17:16:42.413655
2017-03-23T15:12:20
2017-03-23T15:12:20
82,430,794
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ 类方式创建线程 """ import threading class MyThread(threading.Thread): def __init__(self, n): super(MyThread, self).__init__() self.n = n def run(self): print('task', self.n) t1 = MyThread('t1') t2 = MyThread('t2') t1.start() t2.start(...
[ "liuxingrichu@163.com" ]
liuxingrichu@163.com
ac2d1b38d48c27d984e2b76264b7c4e42601760a
8e4378e6c5bcdb6987aac453838ed626de5952be
/tensorflow_federated/python/simulation/baselines/task_data.py
3a71938710910cb0b853642bacd902fd82a2de66
[ "Apache-2.0" ]
permissive
amitport/federated
1c3939c2905cd81a1bb84ae225b04e57a8eaefc4
78c5287e037f470fff58f447088145cad698a22b
refs/heads/master
2021-12-26T22:42:35.355368
2021-12-13T15:14:31
2021-12-13T15:15:18
217,035,760
0
0
Apache-2.0
2019-10-23T10:59:58
2019-10-23T10:59:57
null
UTF-8
Python
false
false
12,457
py
# Copyright 2021, The TensorFlow Federated Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
865a4b2b3225f7c2378ed05a01be12a13dd5d5e0
3f182e860f4485e304bc9195d1c1eaa8b2de70aa
/estee/generators/simple.py
5da78603b17e110a8fd9cb4c17c5d41708f2a23b
[ "MIT" ]
permissive
spirali/estee
0feda169af35edc51bd4ac9cab2d36377561a576
55c0834db3d7da407b7c37d46fa41b5b563e2bbe
refs/heads/master
2020-03-28T02:22:22.218292
2019-04-05T13:55:16
2019-04-05T13:55:16
147,566,052
9
4
MIT
2019-04-05T12:32:29
2018-09-05T19:01:33
Python
UTF-8
Python
false
false
1,243
py
import random def random_dependencies(count: int, edge_density: float, task_fn): """ Creates a complete graph with the given edge density. """ nodes = [task_fn() for i in range(count)] for n1 in nodes: for n2 in nodes: if (n1 == n2 or random.random() > edge_density ...
[ "stanislav.bohm@vsb.cz" ]
stanislav.bohm@vsb.cz
2b46dce55e29ad70824f427037c67831606c0bed
d1ae7f66513c622e71d23ecf5f19cd7a56a4c409
/apigentools/commands/list_config.py
7979cf7093b4b7fb5bae06d1332834ae41056d95
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
DataDog/apigentools
5471ccd145631f0a3ccd65bdb2b26710e59cf270
8176b85e4fe9cdb47b58c1f2ccc4b9901e1baf57
refs/heads/master
2023-08-17T00:31:39.982410
2023-07-03T15:37:49
2023-07-03T15:37:49
194,347,428
33
13
BSD-3-Clause
2023-07-03T15:37:50
2019-06-29T00:26:52
Python
UTF-8
Python
false
false
4,020
py
# Unless explicitly stated otherwise all files in this repository are licensed # under the 3-clause BSD style license (see LICENSE). # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2020-Present Datadog, Inc. import json import logging import click import jsonpath_ng fro...
[ "noreply@github.com" ]
DataDog.noreply@github.com
63bda3e9132241b3c6ed94d7864f3b741cf1f47a
4ae178e2f872acba3acdcb06cb145b82e48908f8
/trial_test_ws/devel/.private/moveit_msgs/lib/python2.7/dist-packages/moveit_msgs/msg/_TrajectoryConstraints.py
49c79b825dbb56df8b85e28facad891db6241472
[]
no_license
ZhikaiZhang1/ros-lbr-repo
51279a0c1e00f1e1d5f0f3be2e3feb2dc04600df
8fce59c6145481a0ec58d345cb3caa641c59f78e
refs/heads/master
2023-06-04T15:55:18.769023
2021-06-22T12:34:00
2021-06-22T12:34:00
380,094,172
0
0
null
null
null
null
UTF-8
Python
false
false
47,195
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from moveit_msgs/TrajectoryConstraints.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import geometry_msgs.msg import moveit_msgs.msg import shape_msgs.msg ...
[ "zhikaizhangHULK@gmail.com" ]
zhikaizhangHULK@gmail.com
71bd652762d3bc860af54b0a0a640abb435e9056
5b7c2feb27a71837edf526315d413706a6bf82ff
/tests/trainers/lightning/test_logging.py
5b28d53b6bbd5331da9bfd575b4bbbef67e30191
[ "BSD-3-Clause" ]
permissive
facebookresearch/mmf
df675223566dc8fb2359aa3e1a2d49db5e3c2b9a
63f76fbcfe2d056b88734fc41a983251d20e6c61
refs/heads/main
2023-08-23T23:40:46.827046
2023-07-11T06:18:50
2023-07-11T06:18:50
138,831,170
2,432
592
NOASSERTION
2023-08-11T20:26:11
2018-06-27T04:52:40
Python
UTF-8
Python
false
false
4,666
py
# Copyright (c) Facebook, Inc. and its affiliates. import unittest from unittest.mock import MagicMock, patch from mmf.trainers.callbacks.logistics import LogisticsCallback from mmf.trainers.lightning_core.loop_callback import LightningLoopCallback from mmf.utils.timer import Timer from tests.test_utils import skip_i...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
2df994f504e9aeb22890f567378afa42539ae9c3
9f5dd76fe21a66f90700f83840f2491dd34b17f9
/tensorflow/python/ops/linalg/linear_operator_full_matrix.py
8fe6891925099510389e5a7714124a14b97cf287
[ "Apache-2.0" ]
permissive
thuanvh/tensorflow
b328964da68744bbd77799b13729835dcf4dbf79
a599e0e2fc5a0e7964ad25c2f5c7e6ed5b679dc6
refs/heads/master
2021-07-20T13:55:40.451003
2019-12-03T06:34:09
2019-12-03T06:34:09
119,012,773
3
1
Apache-2.0
2019-12-03T06:42:38
2018-01-26T06:05:36
C++
UTF-8
Python
false
false
6,660
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
30f417b36b012ac709085c69683beb06c6c8d0ea
bc368e94d950af97b71e0b0c2a3d2b86c6a9d173
/learn-theano/snn/membrane_cnn-master/membrane_cnn-master/membrane_examples.py
fee74d6761f1d20bec9c7b46ab8b2b655883ebc1
[ "BSD-3-Clause" ]
permissive
ChenLiangbo/Learning-python
6100c6ff74330fb1710622cdb22bde5a1d52e40b
868cc4d71d1b9bd362b9fac8a39f295037d20b4c
refs/heads/master
2020-06-11T07:42:04.434182
2018-05-08T05:06:14
2018-05-08T05:06:14
75,731,274
0
0
null
null
null
null
UTF-8
Python
false
false
6,149
py
import mahotas import scipy.ndimage import scipy.misc import gzip import cPickle imgrad = 47 imgd = 2 * imgrad + 1 zrad = 0 zd = 2 * zrad + 1 #test mode #nimages = 10 #display_output = True #ntrain = 5 #nvalid = 2 #ntest = 2 #live mode nimages = 75 display_output = False ntrain = 5000 nvalid = 1000 ntest = 1000 tr...
[ "chenlb@polarwin.cn" ]
chenlb@polarwin.cn
5f99c906f9825caa252f0cca18c5639428ae94c1
6e615744c7065f39abee294bc0d1579c67de3151
/custom_fields_app/migrations/0003_developer.py
b54089e118ae106a34213d2b8da2f68f7a803809
[]
no_license
idelfrides/POC_Django_custom_fields
1b9b6d92df7e09e0d52d27d85de3651d075b23b1
9fbc5af266454f3b01af73d15b081f83f776ef23
refs/heads/master
2020-08-15T16:37:19.712152
2019-12-03T21:05:12
2019-12-03T21:05:12
215,372,253
1
0
null
null
null
null
UTF-8
Python
false
false
797
py
# Generated by Django 2.2.6 on 2019-10-14 23:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('custom_fields_app', '0002_delete_developer'), ] operations = [ migrations.CreateModel( name='Developer', ...
[ "idelfridesjorgepapai@gmail.com" ]
idelfridesjorgepapai@gmail.com
4939fac2db33b7e857d654fbadbe16eae9af0617
f1324b8a6da3a9ba8fc51c7dd268c2c788aaf796
/NanoGardener/python/framework/samples/VBSjjlnu_samples.py
58533c3bce74be488c3c7561fefb2398267e43a7
[]
no_license
scodella/LatinoAnalysis
82ad4df70d971902254f73036ed0b07687411bdf
5c1ba282f683d9d7a1f7dd3a5eec59cba619955d
refs/heads/master
2023-09-05T04:08:21.554924
2022-08-04T10:36:36
2022-08-04T10:36:36
69,543,022
0
15
null
2023-07-18T07:51:14
2016-09-29T07:38:38
Python
UTF-8
Python
false
false
11,065
py
#### VBSjjlnu semileptonic samples and configs # Mainly 2017 as a inclusive starting point vbsjjlnu_samples_bkg = [ 'WWW','WWZ','WZZ','ZZZ','WWG', 'WLNuJJ_EWK','EWKZ2Jets_ZToLL_M-50','EWKZ2Jets_ZToLL_M-50_newpmx', 'EWK_LNuJJ','EWK_LLJJ', 'EWK_LNuJJ_herwig','EWK_LLJJ_her...
[ "davide.valsecchi@cern.ch" ]
davide.valsecchi@cern.ch
7f3da276e490e57aa84557f62d5dc1e52cd4b8f3
a4843f673692e4c703d09b4a625ecf14d0c238ec
/bin/assembly/phyluce_assembly_get_bed_for_genome_enabled_taxon
c94c4043b1f252e60b9d992f993d35fa095e5420
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
carloliveros/phyluce
db0fd5f04b6eb1f362ce7a95ca9dde5514301ff8
1b227a51b655820154ecca4e9e52ac7722d7a71e
refs/heads/master
2020-04-25T13:02:32.637099
2019-05-10T18:34:24
2019-05-10T18:34:24
136,492,179
0
0
NOASSERTION
2019-02-26T21:03:20
2018-06-07T14:52:12
Python
UTF-8
Python
false
false
4,894
#!/usr/bin/env python # -*- coding: utf-8 -*- """ (c) 2015 Brant Faircloth || http://faircloth-lab.org/ All rights reserved. This code is distributed under a 3-clause BSD license. Please see LICENSE.txt for more information. Created on 22 May 2015 08:39 CDT (-0500) """ import os import re import sqlite3 import arg...
[ "brant@faircloth-lab.org" ]
brant@faircloth-lab.org
9fd96a9913457074ce2f27981629d2f1cb9b2fec
df1482f251a2d801e7b77bbd1d5c9a408e71e7ef
/05_visualization/plot_blastm7.py
19343ab1300daf72018d878749a86f77091a2fb6
[]
no_license
silvewheat/bioNotes
a34e1aa79df42799d83b5c4f3e1b2a583360fc1a
d96c4710c1f620c18fdf92fe21f38d73671b9580
refs/heads/master
2021-12-30T01:52:40.925861
2021-12-27T14:11:30
2021-12-27T14:11:30
113,825,423
3
2
null
null
null
null
UTF-8
Python
false
false
4,232
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 8 01:32:47 2018 @author: YudongCai @Email: yudongcai216@gmail.com """ import click import pandas as pd import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from matplotlib.patches import Polygon from matplotlib.collections import P...
[ "silverwheat@163.com" ]
silverwheat@163.com
2accf3a6530ef8af910cb9a427c3290c0476a0d0
fe3265b72e691c6df8ecd936c25b6d48ac33b59a
/homeassistant/components/enphase_envoy/const.py
cd3235f1be5c745c1a510fe8bb3bdd5f646f07de
[ "Apache-2.0" ]
permissive
bdraco/home-assistant
dcaf76c0967783a08eec30ce704e5e9603a2f0ca
bfa315be51371a1b63e04342a0b275a57ae148bd
refs/heads/dev
2023-08-16T10:39:15.479821
2023-02-21T22:38:50
2023-02-21T22:38:50
218,684,806
13
7
Apache-2.0
2023-02-21T23:40:57
2019-10-31T04:33:09
Python
UTF-8
Python
false
false
2,491
py
"""The enphase_envoy component.""" from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import Platform, UnitOfEnergy, UnitOfPower DOMAIN = "enphase_envoy" PLATFORMS = [Platform.SENSOR] COORDINATOR = "coordinator" NAME = "...
[ "noreply@github.com" ]
bdraco.noreply@github.com
d7e1e5991c2847b04917d61442775dfb53cb4335
6719aa2e0598ec5bb9bb6bfd47390583b91dd015
/90/93.py
59df648a2df79bb202f7c276369e211e24946444
[]
no_license
huangyuzhen/let
2f8ed6f41792a4bedf1b808d6b1c21e99f406da9
653d8a5aee803d2b414d0135f791a8f9d83bb272
refs/heads/master
2020-09-05T05:22:50.220859
2020-02-16T12:15:39
2020-02-16T12:15:39
219,995,414
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
class Solution(object): def backtrack(self, s, r, t = 0): if t == 4: if s == '': self.result.add('.'.join(r)) return if s == '': return if t == 3 and int(s) > 255: return if s[0] == '0': r.append('0') self.backtrack(s[...
[ "huangyuzhen@earch" ]
huangyuzhen@earch
1ebab44da97346e9f56af6d43430ba7a99a1bcb2
545e73186a7c95182957d77a4958c9832180ef46
/wikigeolinks/config/routing.py
222d0165d8c3117fe7c7baa91458b47481f69c29
[]
no_license
kailIII/wikigeolinks
038368e3e9c493698d6acef0bc7edfa415f9b958
3fd45edcbda62ce3b5b5fe12d5ac8c687614d1bf
refs/heads/master
2021-01-22T21:46:03.150845
2012-03-07T22:41:20
2012-03-07T22:41:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
"""Routes configuration The more specific and detailed routes should be defined first so they may take precedent over the more generic routes. For more information refer to the routes manual at http://routes.groovie.org/docs/ """ from routes import Mapper def make_map(config): """Create, configure and return the ...
[ "amercadero@gmail.com" ]
amercadero@gmail.com
8c594d903b2a9af9128b6bd101fce9ee33ab90f4
c9fde4576216a22e8d5711bbe97adda1aafa2f08
/model-optimizer/extensions/ops/correlation.py
b61ed48d1a2c4d6615dee1f37325667b54aaa720
[ "Apache-2.0" ]
permissive
dliang0406/dldt
c703d6a837de3f996528fc8a9543f9530b23342c
d9b10abcebafe8b10ba81e09e433de7a366c072c
refs/heads/2018
2020-04-03T08:24:47.723353
2018-10-29T07:58:05
2018-10-29T07:58:05
155,132,108
3
1
Apache-2.0
2019-10-10T08:39:46
2018-10-29T01:03:54
C++
UTF-8
Python
false
false
2,397
py
""" Copyright (c) 2017-2018 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 i...
[ "openvino_pushbot@intel.com" ]
openvino_pushbot@intel.com
09eb40d2c0197a245f5b0fb3750928ff087087f0
abc72a2f2072ab7a5a338e41d81c354324943b09
/MC 102 (Exemplos de aula)/testando.py
ad0d47f312098fea5134485a04aa4a2969c68d7b
[]
no_license
gigennari/mc102
a3d39fd9a942c97ef477a9b59d7955f4269b202a
fce680d5188a8dfb0bc1832d6f430cbcaf68ef55
refs/heads/master
2023-04-05T01:40:58.839889
2020-07-27T20:33:56
2020-07-27T20:33:56
354,130,720
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
"""if i % 2 == 1: lista_conceitos.append(dado) print(lista_conceitos) """ lista = ['tarefa0', 'A', 'tarefa1', 'C', 'tarefa2', 'C', 'faltou'] lista_conceitos = [] for i, dado in enumerate(lista): while dado != 'presente': print('não é presente')
[ "g198010@dac.unicamp.br" ]
g198010@dac.unicamp.br
9381ae1c0554ac84fff0a3d537df28f32ff61d4c
ab2f1f18f64d9f2d49a4eea5c6a78ee1275662de
/trex_client/external_libs/scapy-2.3.1/python3/scapy/as_resolvers.py
f04322b8a23330e645c906b21f13d9105e7dfda5
[ "MIT" ]
permissive
alwye/trex-http-proxy
d09d7fabe60add4a445e5ceb71f5f2a6d209e0a0
e30f5af03aaaad518b5def6e1804c3741dd5d0c6
refs/heads/master
2021-08-16T22:32:56.643253
2021-06-08T19:52:35
2021-06-08T19:52:35
60,734,923
4
3
MIT
2021-06-08T19:39:18
2016-06-08T22:27:35
Python
UTF-8
Python
false
false
3,423
py
## This file is part of Scapy ## See http://www.secdev.org/projects/scapy for more informations ## Copyright (C) Philippe Biondi <phil@secdev.org> ## This program is published under a GPLv2 license """ Resolve Autonomous Systems (AS). """ import socket from .config import conf class AS_resolver: server = None ...
[ "alzverev@cisco.com" ]
alzverev@cisco.com
2117661416d13323b3deec9077547e0aeea00cae
d9a4121ac2872bbe3f76564caebe6818dc5888a7
/mythx_models/base.py
02d39eb23e0658afe2292faada3728d3be159fec
[ "MIT" ]
permissive
s0b0lev/mythx-models
ecb07abada43eb9c26929bfd6cd76dca9105207f
0fc14fef9e41a68a7d97e0bb170fd0eca5693d9a
refs/heads/master
2020-08-20T19:22:14.320454
2019-10-11T08:32:04
2019-10-11T08:32:04
216,057,981
0
0
MIT
2019-10-18T15:47:10
2019-10-18T15:47:09
null
UTF-8
Python
false
false
2,797
py
"""This module contains the base domain model.""" import abc import json import logging import jsonschema from mythx_models.exceptions import ValidationError LOGGER = logging.getLogger(__name__) class JSONSerializable(abc.ABC): """An abstract base class defining an interface for a JSON serializable class.""" ...
[ "dmuhs@protonmail.ch" ]
dmuhs@protonmail.ch
898b43374ea9ea4fde31ca60ec3d23fe0f2f9d83
fa0bd730981a4a7333e7858c03e2a16c75e9cf5c
/Chapter 4/cifar10.py
5cc85429f23def0681e8baf01a41efc95eff3ca4
[ "MIT" ]
permissive
PacktPublishing/Deep-Learning-with-TensorFlow-2-and-Keras
4cb5f7249dcd1efe6ea5a5263fb862240ce303bb
e23d2b4a4292386b70977473805acb2f93ef16ca
refs/heads/master
2023-02-13T04:04:57.531730
2023-02-07T19:23:47
2023-02-07T19:23:47
228,759,428
311
214
MIT
2021-06-01T14:06:06
2019-12-18T04:42:07
Jupyter Notebook
UTF-8
Python
false
false
1,797
py
import tensorflow as tf from tensorflow.keras import datasets, layers, models, optimizers # CIFAR_10 is a set of 60K images 32x32 pixels on 3 channels IMG_CHANNELS = 3 IMG_ROWS = 32 IMG_COLS = 32 #constant BATCH_SIZE = 128 EPOCHS = 20 CLASSES = 10 VERBOSE = 1 VALIDATION_SPLIT = 0.2 OPTIM = tf.keras.optimizers.RMSprop...
[ "noreply@github.com" ]
PacktPublishing.noreply@github.com
9898760709ef15969b84d5e10bcbbaeed17caaf9
38c004d5d25687abbcbf8219f1b6c47380ef9f28
/tests/circrequests/steps/validate_job_preconditions_step_test.py
0a2d496fa731ddd355f4120f819a3344a8b96183
[ "Apache-2.0" ]
permissive
umd-lib/caia
25ff8276eaf0b13fd5244a753216496c40a4fa4d
b6fc6b7ceb1987e67d593d2a19d64f16645f6f7b
refs/heads/develop
2023-07-16T02:35:39.145431
2021-08-12T17:27:25
2021-08-12T17:27:25
263,131,105
0
1
Apache-2.0
2021-03-26T13:48:33
2020-05-11T18:58:06
Python
UTF-8
Python
false
false
1,811
py
from caia.circrequests.circrequests_job_config import CircrequestsJobConfig from caia.circrequests.steps.validate_job_preconditions import ValidateJobPreconditions def test_validate_preconditions_returns_true_if_all_preconditions_are_met(): config = { 'caiasoft_api_key': 'SECRET_CAIASOFT_API_KEY', ...
[ "dsteelma@umd.edu" ]
dsteelma@umd.edu
1ba7fb48e0a08d6dcf87b5d1d7e13f5f5d205d3c
d8d1daed8162cc70a989d696adece741fad39632
/amplify/agent/__init__.py
105155c78d8eee608cd86fed8c377ab6b4ff792b
[ "BSD-2-Clause" ]
permissive
sakomws/nginx-amplify-agent
16085a236f5c3eaf0e4b53cbb935c4fab3ce079b
e33eb8724a7fc06cc44137a23653da11c8c07e82
refs/heads/master
2020-04-03T08:10:14.812192
2018-09-26T13:49:52
2018-09-26T13:49:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# -*- coding: utf-8 -*- from collections import defaultdict __author__ = "Mike Belov" __copyright__ = "Copyright (C) Nginx, Inc. All rights reserved." __license__ = "" __maintainer__ = "Mike Belov" __email__ = "dedm@nginx.com" class Singleton(object): _instance = None def __new__(cls, **kwargs): if ...
[ "dedm@nginx.com" ]
dedm@nginx.com
1e251003795661d7c71aed5a08662f121ab84217
16aadc44ba8a0f975476137e3b0993363c5463dc
/genice2/lattices/Struct42.py
39d4a2a9245adbbc568444fd81f95bc6b96fd3d6
[]
no_license
rusl2019/GenIce
072c4896c3501679a11c5fcd7f5d6c06c16b673b
51df0c850dea20c7757c659ae089147aa674dfa7
refs/heads/main
2023-06-22T18:47:10.842424
2023-06-19T15:54:12
2023-06-19T15:54:12
404,446,797
0
0
null
2021-09-08T18:01:43
2021-09-08T18:01:42
null
UTF-8
Python
false
false
26,262
py
# coding: utf-8 """ Data source: Dutour Sikirić, Mathieu, Olaf Delgado-Friedrichs, and Michel Deza. “Space Fullerenes: a Computer Search for New Frank-Kasper Structures” Acta Crystallographica Section A Foundations of Crystallography 66.Pt 5 (2010): 602–615. Cage composition: (12,14,15,16) = (32,20,8,8,) """ from gen...
[ "vitroid@gmail.com" ]
vitroid@gmail.com
1f9ade535812ace2203a94e4d09a4869f2213aea
f57bba82fed27b74dca1319f41ed3cf9047fcc55
/0x08-python-more_classes/7-rectangle.py
73a746567f04c48f85dc87db0b1a4f54611d2cf3
[]
no_license
ibeckermayer/holbertonschool-higher_level_programming
cb76d64d698e7b2c8e60d8498c25ba31dc7e337f
3cb19fb206a77cccbf12a2c2e06067fa1be303f1
refs/heads/master
2020-03-09T13:36:27.959941
2018-09-06T00:57:53
2018-09-06T00:57:53
128,815,447
1
3
null
null
null
null
UTF-8
Python
false
false
3,416
py
#!/usr/bin/python3 class Rectangle: """A Rectangle Attributes: number_of_instances (int): total number of instances print_symbol (str): the symbol the rectangle will be printed with """ number_of_instances = 0 print_symbol = "#" def __init__(self, width=0, height=0): ...
[ "ibeckermayer@gmail.com" ]
ibeckermayer@gmail.com
a7f6bcdf25adf4797b3f71fe4ecf622b71e2f412
8087165de8ffd9a2e1b09782dc3118a4e95b3cc3
/setup.py
e3542be91757072a7c8bb2af990e898bee643c20
[ "MIT" ]
permissive
hamogu/atpy
c29a1779dcf2039a3fb2abae76075d7892dff534
c6f32e87df891762b253bbebe839f420f6486035
refs/heads/master
2021-01-16T20:46:21.538047
2011-02-07T00:56:05
2011-02-07T00:56:05
1,336,144
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
#!/usr/bin/env python from distutils.core import setup try: # Python 3.x from distutils.command.build_py import build_py_2to3 as build_py except ImportError: # Python 2.x from distutils.command.build_py import build_py setup(name='ATpy', version='0.9.4', description='Astronomical Tables in Pytho...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
674789986c4c54706811c0d60fb5332b13032365
f97e256cd8eab010767c86df8c8efe76b0695acc
/pyfb2/isbn.py
a6de0fce0d0252888d8c4827ec091061b1b53ac1
[]
no_license
gil9red/pyfb2
2afcc2827e274de86c81a420083cd8474eb99f9f
623a32b1e1b5622fc99521d4e4790b11526a3bb1
refs/heads/master
2020-05-01T01:25:11.425010
2018-11-02T14:51:55
2018-11-02T14:51:55
26,398,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
__author__ = 'ipetrash' """""" class Isbn: """""" # Описание # ISBN оригинальной (бумажной) книги. # # Атрибуты # xml:lang (опционально) - язык. # # Подчиненные элементы # Нет подчиненных элементов, содержит текстовую строку ? собственно ISBN книги. # # Подчинен # Мож...
[ "gil9red@gmail.com" ]
gil9red@gmail.com
8c3dcef6032a9f530e67bed2da919df6e39e7ea1
0fe37e11df976c55fe5bbe492879b7cd8a95b7c5
/so_image1/so_image1/middlewares.py
12d28ef304d9dd00debf97e86621724dcd41efaf
[]
no_license
1286211699/mmc_code
9bb7761107604b445dea4fe5acf9d503fbc28dfa
ee97879632dfd7d24c604f7db52c82fa29109daa
refs/heads/master
2022-12-08T23:19:06.382825
2020-05-08T13:59:46
2020-05-08T13:59:46
177,100,815
2
0
null
2022-12-08T01:42:47
2019-03-22T08:25:37
HTML
UTF-8
Python
false
false
3,601
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class SoImage1SpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy...
[ "1286211699@qq.com" ]
1286211699@qq.com
95cf171d9f3d9732f66c214ab0a8ff210939af53
e0370fc68acc7eba333c17d379fa2182f114488a
/libs/detection_oprations/proposal_opr_.py
d0cbf540f3adb52139570f93ce8ec1b123e39a30
[ "MIT" ]
permissive
wolfworld6/CSL_RetinaNet_Tensorflow
5056cbaa3957b38999a3a440c4b18044d3302430
ecc5ae71db108ccecb0004855512ff258e006b9b
refs/heads/master
2022-11-26T22:26:33.768840
2020-08-04T09:06:31
2020-08-04T09:06:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,114
py
# encoding: utf-8 from libs.configs import cfgs from libs.box_utils import bbox_transform from libs.box_utils import nms_rotate import tensorflow as tf import numpy as np from libs.box_utils.coordinate_convert import coordinate_present_convert, coords_regular def postprocess_detctions(rpn_bbox_pred, rpn_cls_prob, rp...
[ "yangxue0827@126.com" ]
yangxue0827@126.com
f744715ccf9eae9c7a8c002daec7834011aadac6
93b081b1306590e5209ca28e17b4a7b564e8b7bb
/test.py
80d5302850cd4bea99c773f3f93468673d5867ad
[]
no_license
qqz20010707/remote_repo
8cd0fa7255af4a07731675a159cdaf388d16b15e
fc9dc5f5a9c2545e695679ccd051793d9eb353c4
refs/heads/master
2023-02-15T13:23:39.683800
2021-01-14T08:03:52
2021-01-14T08:03:52
329,495,378
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
#!/user/bin/python print("hello")
[ "root@localhost.localdomain" ]
root@localhost.localdomain
5566277f3355ee903609ea25f79493d77e545c5c
57e1d15553d407e869a2479c248c13ef4d8c615a
/photutils/utils/__init__.py
3f9447e5025dade97438aab8190ff1e72ae9c7ee
[]
no_license
ccd-utexas/photutils
02a722f075ac0e537ad19dc9848b8e9f847d644a
63c282b5833a4db6a71709a5aeff51d3dd6517d1
refs/heads/master
2021-01-18T02:35:51.208333
2014-09-14T19:06:10
2014-09-14T19:06:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This subpackage contains developer-oriented utilities. """ from __future__ import (absolute_import, division, print_function, unicode_literals) from .check_random_state import *
[ "larry.bradley@gmail.com" ]
larry.bradley@gmail.com
f6246d92aed5850c1ff9fb557cbf76d2f726df92
7f6c0d160fd8ea94e7d9523c8129e4a52eb07e0e
/MultiplicationTable.py
be358a867acf3e314136a7cc1fcd6cb726447e4d
[]
no_license
GeekJamesO/Python_MultiplicationTable
dbfbe84e5110f20a5054ac401fc019ee51f65ea0
0392e8a039daa1b2216ca2a96b72bed3a84f458a
refs/heads/master
2021-01-02T08:38:44.958455
2017-09-06T05:14:16
2017-09-06T05:14:16
99,040,615
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
""" Create a program that prints a multiplication table in your console. Your table should look like the following example: x 1 2 3 4 5 6 7 8 9 10 11 12 1 1 2 3 4 5 6 7 8 9 10 11 12 2 2 4 6 8 10 12 14 16 18 20 22 24 3 3 6 9 12 15 18 21 24 27 30 33 36 4 4 8 12 16 20 24 2...
[ "geekjamesorourkejr@icloud.com" ]
geekjamesorourkejr@icloud.com
20f2c50d18d18b3aa42cdf2ccef0036cf47e8ba6
898a505fa80e137298d001ab16362d5baced83de
/shub/config.py
a5cce4c6f8758cabe2c8a5818b6d4a0d5e4d602c
[]
no_license
nestortoledo/shub
3015ffca4f1161110ab3e28cb95fa0e5a8f529a1
6868c117df8a3b85dcdd81377ba08d5813ca0eb1
refs/heads/master
2020-02-26T16:54:10.136278
2016-04-22T13:41:10
2016-04-22T13:41:10
59,022,744
0
0
null
2016-05-17T13:00:56
2016-05-17T13:00:56
null
UTF-8
Python
false
false
14,590
py
import contextlib import netrc import os import warnings from collections import namedtuple import click import six import ruamel.yaml as yaml from shub.exceptions import (BadParameterException, BadConfigException, ConfigParseException, MissingAuthException, N...
[ "jakobdm1@gmail.com" ]
jakobdm1@gmail.com
5b2920c821ed8556581055b7062bb9643e9f2645
9f30f7d18a90dc2a195c7e7343ad22b20e20a787
/accommodation/accommodation/notifications.py
28f572074f843b2b4b08350849425591a2a9a663
[ "MIT" ]
permissive
ashish-greycube/accommodation
9c6620220abf69eaf3edef5535457e7827eeaef5
4c4d68111c2a89d94e7604849367347129b5a2b9
refs/heads/master
2020-12-20T06:25:40.194387
2020-01-24T11:14:54
2020-01-24T11:14:54
235,987,454
0
1
null
null
null
null
UTF-8
Python
false
false
5,025
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, DBF and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import cint from six import string_types, iteritems import json import erpnext from frappe.utils import date_...
[ "mr.ashish.shah@gmail.com" ]
mr.ashish.shah@gmail.com
d602f0c7e4d1f05bd1f974f2465a76beb734905f
528def9844f2ce13e6a358938b0b560945ab2248
/main/migrations/0056_userprofile_heatmap.py
b09258ed7d3fad4da912a64531ec71400bcb6d4b
[ "BSD-3-Clause" ]
permissive
skripkar/noc
055afbd42ab4c447d05d2cde0a822916f9e0844e
df193b99e478fe39157c8d27ff4098262d9cb734
refs/heads/master
2020-04-10T12:53:09.602779
2018-12-08T07:50:30
2018-12-08T07:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
# -*- coding: utf-8 -*- from south.db import db from django.db import models class Migration: def forwards(self): db.add_column( "main_userprofile", "heatmap_lon", models.FloatField("Longitude", blank=True, null=True)) db.add_column( "main_userprofi...
[ "dv@nocproject.org" ]
dv@nocproject.org
ce0b3642d58bcd8a90c01e88d7fd09f44a2f63f1
a367a015dbc36287ca933955ded1ee58b5a2a61a
/swagger_client/models/rb_calculator.py
d384d5d5483c0a67ded0059f7aa06024af5c2cd8
[]
no_license
kerniee/inno_intership_1_test_task
70211e153450011c427df595a02e3574dfe7ed9f
fc0619ef54b00806a3b59f3c07c1c1684682d65b
refs/heads/master
2023-05-23T02:24:40.083723
2021-06-21T16:15:04
2021-06-21T16:15:04
365,855,831
0
0
null
null
null
null
UTF-8
Python
false
false
11,058
py
# coding: utf-8 """ Teleagronom No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
[ "karapys.mor@gmail.com" ]
karapys.mor@gmail.com
91baa6b76ee5d4a7412210000a853038e5bb3144
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-3654.py
eb6df14f45b900c3ef1c032ee78babd5661fd275
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
1a2d52c49149c7a1f52bb7f4d4c899b1fad43330
35b6013c1943f37d1428afd2663c8aba0a02628d
/profiler/appengine/flexible/noxfile_config.py
840f3ba70660706276350faa5616c9a5296c8700
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/python-docs-samples
d2a251805fbeab15d76ed995cf200727f63f887d
44e819e713c3885e38c99c16dc73b7d7478acfe8
refs/heads/main
2023-08-28T12:52:01.712293
2023-08-28T11:18:28
2023-08-28T11:18:28
35,065,876
7,035
7,593
Apache-2.0
2023-09-14T20:20:56
2015-05-04T23:26:13
Jupyter Notebook
UTF-8
Python
false
false
1,849
py
# Copyright 2023 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 or agreed to in writing, ...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
3748009d16efeafdb2601245743c7b00792fe3aa
bb82aa054ae80a09925d86b192922d55eb85e657
/sfa.py
3a3086b42bba0f541e7adb64f1c5ec2fd000e379
[ "MIT" ]
permissive
lagrassa/baselines
d1705bbbd7d0a9c6a6366bc4211402e891dedc7b
843ab36182add5ca259aa2edcb9a9113d6008135
refs/heads/master
2020-04-16T15:49:10.579240
2019-08-08T20:32:40
2019-08-08T20:32:40
165,715,526
0
0
null
2019-01-14T18:46:25
2019-01-14T18:46:25
null
UTF-8
Python
false
false
1,945
py
import numpy as np from skimage.transform import resize from PIL import Image import matplotlib.pyplot as plt plt.rcParams["font.size"] = 19 import mdp ''' @param signal_list n x m array with n points in time that are m dimensional ''' lookback = 3 def train_sfa(signal_list, degree=2, lookback=3): #put into forma...
[ "lagrassa@mit.edu" ]
lagrassa@mit.edu
43cdf68da99e057b0b815a7520bf33399cf76600
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/LQ/LQToCMu_M_250_TuneCUETP8M1_13TeV_pythia8_cff.py
d7cc1bed05ec637dc94f99d30d949bdaf3d965e4
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,147
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", maxeventsToPrint = cms.untracked.int32(1), pythiaPylistVerbosity = cms.untracked.int32(1)...
[ "dnash@cern.ch" ]
dnash@cern.ch
d7408f2e3038befa47ffef0498d21527645fe960
04f4558aa0dc904b8d7c0ab79b80ec11c34f8ccf
/swagger_client/models/inline_response_200_35.py
ff4cb64e50ad1461786655d82dcde305187d053c
[ "Apache-2.0" ]
permissive
scubawhere/scubawhere-api-python-client
0fc23ffb97446b0bb0825c93528f954e7d642cf4
9f8578e251492c7667f785df7b7c9d66e71f5c8e
refs/heads/master
2020-12-24T11:10:34.880348
2016-11-08T12:20:45
2016-11-08T12:20:45
73,180,951
0
0
null
null
null
null
UTF-8
Python
false
false
3,676
py
# coding: utf-8 """ Scubawhere API Documentation This is the documentation for scubawhere's RMS API. This API is only to be used by authorized parties with valid auth tokens. [Learn about scubawhere](http://www.scubawhere.com) to become an authorized consumer of our API OpenAPI spec version: 1.0.0 ...
[ "bryan@iqwebcreations.com" ]
bryan@iqwebcreations.com
8daec3220944fafce80738c0e80789c0273bcbbc
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1_neat/16_0_1_will945945945_codejam1.py
3ab66a1fd67b3fe2f6a756ed21c188023f10f055
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
450
py
def f(n): n = int(n) S = set(list(str(n))) i = 0 k = 0 while len(S) != 10: k += n T = set(list(str(k))) S = S.union(T) i += 1 if i >= 10**5: return 'INSOMNIA' return k F = open('A-large.in') A = F.read() A = A.split('\n')[1:-1] Ans = map(f,A) ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
98f554fa63163672e296e3c2df632125022ebfd4
a33497a0a8250d06f146230746335e8b84f90394
/configure/main.py
99078324289b72fc09a4b3eaee101637edb4b673
[ "MIT" ]
permissive
gibbs-lab-us/usxp_08_16
e099c68fd5112a1df4d5390a674bd79d6d01e186
06c60525a043486209c7e2c17072e56478d113e5
refs/heads/master
2022-11-07T17:31:47.870927
2020-06-24T04:17:39
2020-06-24T04:17:39
274,553,685
3
0
null
null
null
null
UTF-8
Python
false
false
5,061
py
''' Author: Matt Bougie (mbougie@wisc.edu) Date: June 21, 2020 Purpose: Central script to call all other scripts for processing data. Usage: Need to set up connections to directories of scripts and to geodatabases where the output is saved. Parameters: Parameters for all scripts are stored in the json file and referen...
[ "mbougie@wisc.edu" ]
mbougie@wisc.edu
7367665a79d3021d0fd62fd9b98c104fc9d5b6e4
a5c22c9ef9f6a9b0cd99b7ca3e774220edb0c39c
/StabilityMap_n3.py
7f93a3b2b2a7d3d2ca3ad957ff53f654d3c649f2
[ "BSD-2-Clause" ]
permissive
vishalbelsare/pytippinginteractions
f5c6bdbdaeffb305f91ee6e83f65351e602185bd
b181701b21c65dc782429ae093e4830ab8a6a00f
refs/heads/master
2022-04-23T19:11:00.414527
2020-04-27T09:38:27
2020-04-27T09:38:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,510
py
# -*- coding: utf-8 -*- ################################## # StabilityMap_n3.py ################################## # analysis of three unidirectionally coupled tipping elements # for manuscript: # "Emergence of cascading dynamics in interacting tipping elements of ecology and climate" # three undirecti...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
938e45d7658d1b188094e5d5f989f91da0257c82
be791583545a1f66a7650085d920171d0df040da
/nni/algorithms/compression/v2/pytorch/pruning/tools/metrics_calculator.py
2628751adc8649304099ce184c967bc2e36a330d
[ "MIT" ]
permissive
Lijiaoa/nni
de4f598585d346c17aae1030774eab8346ba6b5e
7bcf1ebd47caf144032825aa078c8d9a51833320
refs/heads/master
2023-06-08T08:00:44.947829
2022-09-14T08:37:09
2022-09-14T08:37:09
242,638,482
1
0
MIT
2020-07-16T08:24:42
2020-02-24T03:30:45
Python
UTF-8
Python
false
false
6,289
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from __future__ import annotations from typing import Dict, List import torch from torch import Tensor from .base import MetricsCalculator from ...utils import Scaling __all__ = ['NormMetricsCalculator', 'HookDataNormMetricsCalculator', 'Dist...
[ "noreply@github.com" ]
Lijiaoa.noreply@github.com
efa62a13b4af513e890337d45f7d186a3898ee2e
e5940deb2d75a72010d87e33069af6d7589f7f7d
/backend/manage.py
a80cf88e53b7bd63600ad0876090cca1a3b3de5a
[]
no_license
crowdbotics-apps/test13-4489
934cd061aa443f25700b51e4cf71643d37dffeb6
d8dc823ec16307eef24d461df9a4fcf5487c99cc
refs/heads/master
2022-12-09T17:40:04.391518
2019-06-10T20:32:13
2019-06-10T20:32:13
191,241,203
0
0
null
2022-12-09T05:49:18
2019-06-10T20:31:48
Python
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test13_4489.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
074f348734d23aa58b3c21900e08312d205392e5
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_032/ch18_2020_03_08_21_48_35_100424.py
d5d6a13b5f497d97e06155ea19823128df29554b
[]
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
184
py
def verifica_idade(idade): if idade>=21: return "Liberado EUA e BRASIL" elif idade>= 18: return "Liberado BRASIL" else: return "Não está liberado"
[ "you@example.com" ]
you@example.com
1c327427f69011e83e4e3db08d9f67da61680805
3c7150c5ee763ba965be678af00e488a0810fa6c
/test/tstpkg/packtest/packa.py
6d4aedb460a38efbd88563cc740f75f67e3849ee
[]
no_license
jeppeter/pylib
3dffb188f2736f4dba730fa142102962ccadd95e
fad29d7efb90782254e766467a8a3bc50bd07312
refs/heads/master
2023-08-16T03:50:05.387168
2021-12-14T03:43:58
2021-12-14T03:43:58
58,593,950
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
#!/usr/bin/python class PackBase: def __init__(self): print ('init packbase') return def call_a_new(): return PackBase()
[ "jeppeter@gmail.com" ]
jeppeter@gmail.com
83c2ed80a7b142d6129f75e8dc3c02d54f29d899
242086b8c6a39cbc7af3bd7f2fd9b78a66567024
/python/PP4E-Examples-1.4/Examples/PP4E/Gui/Tour/demo-radio-multi.py
518610e67784054e5fd5bd69e93729aa96d8fdc8
[]
no_license
chuzui/algorithm
7537d0aa051ac4cbe9f6a7ca9a3037204803a650
c3006b24c4896c1242d3ceab43ace995c94f10c8
refs/heads/master
2021-01-10T13:05:30.902020
2015-09-27T14:39:02
2015-09-27T14:39:02
8,404,397
4
4
null
null
null
null
UTF-8
Python
false
false
277
py
# see what happens when some buttons have same value from tkinter import * root = Tk() var = StringVar() for i in range(10): rad = Radiobutton(root, text=str(i), variable=var, value=str(i % 3)) rad.pack(side=LEFT) var.set(' ') # deselect all initially root.mainloop()
[ "zui" ]
zui
ee5c2e68c1e14440944550d0b6e44adadfbd9b03
9cdbc9190def43f30b3357c7fccd92bcb0bef6a9
/pyspark/day_calci.py
7d8b70407f8e11ac7b4bd0c408aa4c20d861b9ca
[]
no_license
sidaker/dq
2ff8fac0fc4a79d67909fb968f0a7ec8e976630a
fd41d60b6ca658d5f024701ce4a4729d41a24d30
refs/heads/master
2023-05-27T01:31:18.274913
2023-05-10T22:20:16
2023-05-10T22:20:16
225,405,776
0
0
null
2023-05-01T20:38:00
2019-12-02T15:19:30
Jupyter Notebook
UTF-8
Python
false
false
1,591
py
# step 1: ask user for calculation to be performed operation = input("Would you like to add/subtract/multiply/divide? ").lower( ) print( "You chose {}.".format(operation) ) # for testing purposes # step 2: ask for numbers, alert order matters for subtracting and dividing if operation == "subtract" or operation == "divi...
[ "siddartha.bommireddy@digital.homeoffice.gov.uk" ]
siddartha.bommireddy@digital.homeoffice.gov.uk
30fa94e35a350d9173434f8f6498a7e74729e80e
b9e810c5ebc5aa35c33c6fcb6eb967d810d56df5
/Python/libraries/textBox2.py
20f14e4a7da3cd5722610819052e5489f43a5dd8
[]
no_license
ZKing1000/Programming
8cef20c6db326d0726eec0272057be89c777474d
e0a497e21f069cdd54f327b4d8d2fa80b52264eb
refs/heads/main
2023-01-24T18:33:52.776720
2020-11-12T19:55:05
2020-11-12T19:55:05
312,379,792
0
0
null
null
null
null
UTF-8
Python
false
false
20,366
py
import pygame,sys pygame.init() def rectPos(poss): return (poss[0],(poss[1][0]-poss[0][0],poss[1][1]-poss[0][1])) #returns 2 tuples inside a tuple that can be plugged into pygame.draw.rect()[ def rectOutline(poss,lineSize): #lineSize makes lines fit perfectly in imaginary box subtraction = lineSize - int(((lineSize...
[ "awesomeholdengreen@gmail.com" ]
awesomeholdengreen@gmail.com
e1612a00002719da9c77fc0035d86f29b67bf644
1e5c6f4b08d9470fce248cf39e6dccce40e90a41
/codes/19/change_ifs_format.py
fc3a3020f4ad3bf752d5699bfb8d8619ede9f382
[]
no_license
misaiya99/scipybook2
1529cfb7f800df2ef7ce024a86281af16e343a37
734ba177b4705cc25da695d42a8cbada7cd22bd9
refs/heads/master
2020-03-10T21:26:23.595494
2017-08-25T09:48:07
2017-08-25T09:48:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
# -*- coding: utf-8 -*- import pickle import numpy as np f = file("IFS.data", "rb") names = pickle.load(f) data = [] for i in range(len(names)): data.append( np.load(f).tolist()) f2 = file("ifs2.data", "wb") pickle.dump(list(zip(names, data)), f2)
[ "qytang326@gmail.com" ]
qytang326@gmail.com
55b949d206aa1d21674acd41c27d4e095218cfdd
98cc042117f1545d95e240a3a6e9afef0a2fedd7
/datalad/metadata/parsers/base.py
8789afee080fbdd5fcbaaece9854a589f409c1e6
[ "MIT", "BSD-3-Clause" ]
permissive
taylols/datalad
23fb6a5a03591e25756d0dfa241413b1d03d19d1
8d1788b384fa9d998d4c6150c31def7f670c4f49
refs/heads/master
2022-02-19T17:55:20.450846
2018-01-05T17:15:17
2018-01-05T17:15:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,817
py
# emacs: -*- mode: python; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*- # ex: set sts=4 ts=4 sw=4 noet: # ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the datalad package for the # copyright and license terms. # # ## ### ##...
[ "michael.hanke@gmail.com" ]
michael.hanke@gmail.com
23c9ba644d6c01a7f88742c512bbbd0c427aaf93
9206e405e9be5f80a08e78b59d1cb79c519ae515
/algorithms/10.7_missing_int.py
02819c453c90cb2ea2f865c3ac0d0e4d5f768d27
[]
no_license
mfbx9da4/mfbx9da4.github.io
ac4e34f0e269fb285e4fc4e727b8564b5db1ce3b
0ea1a0d56a649de3ca7fde2d81b626aee0595b2c
refs/heads/master
2023-04-13T22:15:19.426967
2023-04-12T12:14:40
2023-04-12T12:14:40
16,823,428
2
0
null
2022-12-12T04:36:08
2014-02-14T01:30:20
SCSS
UTF-8
Python
false
false
3,180
py
# An input file with four billion non-negative integers # Generate an integer not contained by the file with 1GB of mem # Follow up: what if all numbers are unique and you only # have 10MB of memory # p416 import random import sys max_64 = sys.maxsize max_32 = 2**32 - 1 large_filename = 'large_number_of_ints.txt' sm...
[ "dalberto.adler@gmail.com" ]
dalberto.adler@gmail.com
05929c41031af33673ccfa9bda90f6b506a907d3
e57630d524ff05f76f0728803b8fec7249438ca6
/fluent_contents/templatetags/placeholder_tags.py
cdaee7892c5e17fea6c66c00cbb7e5a63b1d1359
[ "Apache-2.0" ]
permissive
maartendraijer/django-fluent-contents
b2da00c260cc0f8ded7a20ae169997eb266e7231
a9ad5d9fb4cac90eef38742e99037edcb5ff8dc2
refs/heads/master
2021-01-18T08:52:31.392729
2012-08-28T23:36:10
2012-08-28T23:36:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,635
py
""" The ``placeholder_tags`` module provides two template tags for rendering placeholders: It can be loaded using: .. code-block:: html+django {% load placeholder_tags %} A placeholder which is stored in a :class:`~fluent_contents.models.PlaceholderField` can be rendered with the following syntax: .. code-block...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
c72fb5b1508d9c0e47997158cfac1eb710f45a26
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/XAMKeMw7imaB3zo67_13.py
b883127d748c08c5e3d1811aac0c0d4b8fb120fd
[]
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
735
py
def trace_word_path(word, grid): def test(w,a,b,ll): if a<0 or b<0 or a>=len(grid) or b>=len(grid[0]) or (a,b) in ll: return [] if grid[a][b]!=w[0]: return [] ​ if len(w)<2: return [(a,b)] for i in range(4): if i==0: tmp=test(w[1:],a-1,b,ll+[(a,b)]) elif i==1: t...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d7df2514ee4f2af55e937be7c2202065dd427d44
29a4c1e436bc90deaaf7711e468154597fc379b7
/modules/arithmetic/doc/sqr.py
c1896061ad4da0d5088b8c53e5f81a11c5ec3df2
[ "BSL-1.0" ]
permissive
brycelelbach/nt2
31bdde2338ebcaa24bb76f542bd0778a620f8e7c
73d7e8dd390fa4c8d251c6451acdae65def70e0b
refs/heads/master
2021-01-17T12:41:35.021457
2011-04-03T17:37:15
2011-04-03T17:37:15
1,263,345
1
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
[ ## this file was manually modified by jt { 'functor' : { 'arity' : '1', 'call_types' : [], 'ret_arity' : '0', 'rturn' : { 'default' : 'typename boost::result_of<nt2::meta::arithmetic(T,T)>::type', }, 'simd_types' : ['real_'], 'typ...
[ "jtlapreste@gmail.com" ]
jtlapreste@gmail.com
ee43c1ceeaaeb16ed860776f5d19480513714718
047e467917cc2614a63f48515d11bfa5647ad358
/bpnet/plot/heatmaps.py
04c3d94e5749059f5ac880bee020a786f5453012
[ "MIT" ]
permissive
Scottmakie72/bpnet
e8052c77feb8c2f757ba581814b9ad6cb27d3721
0cba2515c15589f8439876c3028ce177544ee9cb
refs/heads/master
2022-02-23T18:31:46.302341
2019-09-02T16:15:15
2019-09-02T16:15:15
250,239,695
1
0
MIT
2020-03-26T11:27:49
2020-03-26T11:27:48
null
UTF-8
Python
false
false
6,733
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib as mpl from mpl_toolkits.axes_grid1.axes_divider import make_axes_locatable from mpl_toolkits.axes_grid1.colorbar import colorbar from matplotlib import colors from bpnet.plot.utils import MidpointNormalize class QuantileTruncate...
[ "zigaavsec@gmail.com" ]
zigaavsec@gmail.com
9373b1528dd375b89d969719847d00b890e3b507
3123d95637dd6628e7cc58ec1711c965b8aa911c
/pandda_autobuilding/program/autobuild_events.py
77cdf14e4d3c3af6d9ed527419cbc6d21ffce7d2
[]
no_license
ConorFWild/pandda_2_tools
d9e27e33d231982dfaf09644a81a0259df332762
9b95c3005153a3ae8ba2bcffc699a07a139ca6df
refs/heads/master
2021-05-24T11:52:30.107356
2020-04-06T16:01:28
2020-04-06T16:01:28
253,547,288
1
0
null
null
null
null
UTF-8
Python
false
false
14,940
py
from typing import NamedTuple, Dict, List import os import logging import subprocess import argparse from pathlib import Path import numpy as np import pandas as pd from pandda_3.types.data_types import Event from autobuild.cmd import (autobuild_from_cmd, ) from autobuild.qfit import auto...
[ "conor.wild@sky.com" ]
conor.wild@sky.com
5abe4e81b57cf4a719ec1b46db196a11ad7279e1
6571b77f6e6f37d6df91a9cf0c34297a2bee1eb9
/site-packages/django_filters/widgets.py
71273067cebeced8bf0a13d9ab157326406e0fa5
[ "Apache-2.0" ]
permissive
suntao789/Aclsm
ec02a04bb3ba14a1ea6a6c82a325da59d192d0f7
2202201c8279391386a4569e69f93d90eca5b96a
refs/heads/master
2020-04-01T22:39:02.140836
2018-10-19T03:49:14
2018-10-19T03:49:14
153,719,890
0
0
Apache-2.0
2018-10-19T03:11:46
2018-10-19T03:11:46
null
UTF-8
Python
false
false
5,735
py
from __future__ import absolute_import from __future__ import unicode_literals from collections import Iterable from itertools import chain try: from urllib.parse import urlencode except: from urllib import urlencode # noqa from django import forms from django.db.models.fields import BLANK_CHOICE_DASH from d...
[ "suntao789@huawei.com" ]
suntao789@huawei.com
a7a264147c541b0bd26d2ec61751e182506f86d9
941c912f44beff33a072e086c1f561f6cdd64626
/LeetCode/codes/Random/380.py
edddb84beba6a0dc20b0c03ff7747787b25659cb
[]
no_license
adreena/MyStudyCorner
3a13a743769ed144965b767f547c16df4d0fa0dd
355c0dbd32ad201800901f1bcc110550696bc96d
refs/heads/master
2023-02-20T07:39:32.391421
2021-01-25T01:46:21
2021-01-25T01:46:21
255,104,133
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
# time : O(1) # space: O(N) import random class RandomizedSet: def __init__(self): """ Initialize your data structure here. """ self.data = [] self.data_idx = defaultdict(lambda:-1) def insert(self, val: int) -> bool: """ Inserts a value to the set. Ret...
[ "kim.hszd@gmail.com" ]
kim.hszd@gmail.com
1795de05ea7fffb09adc945433f45f9ccf7a70e5
1bd14e051251d08393731c03ccfb37a324227e1c
/tests/canned/iam/test_canned_iam_for_ec2.py
6ef63de5bd692eb58c1cdf704dcc5f0437b222c8
[ "MIT" ]
permissive
tsuttsu305/troposphere_mate-project
f04bb6a3d137be3e265652c626008edfbb670b55
15ee94cc913efb32bc991979efcad943c992074c
refs/heads/master
2023-06-07T15:07:47.041944
2021-07-05T02:02:00
2021-07-05T02:02:00
285,152,616
0
0
MIT
2020-08-05T02:08:01
2020-08-05T02:08:00
null
UTF-8
Python
false
false
502
py
# -*- coding: utf-8 -*- import pytest from troposphere_mate.canned.iam import CannedCommonEc2IamRole def test(): can = CannedCommonEc2IamRole( PROJECT_NAME="my_project", STAGE="dev", ) tpl = can.create_template() assert can.iam_role_ec2_s3_full_access is not None assert can.iam_i...
[ "husanhe@gmail.com" ]
husanhe@gmail.com