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
8df7dd01776154eb4b7f0fa22d4f39e34f89562b
18305efd1edeb68db69880e03411df37fc83b58b
/pdb_files3000rot/fb/2fb8/tractability_500/pymol_results_file.py
8fb6f70e459bfef541c1964fba987ec98a526281
[]
no_license
Cradoux/hotspot_pipline
22e604974c8e38c9ffa979092267a77c6e1dc458
88f7fab8611ebf67334474c6e9ea8fc5e52d27da
refs/heads/master
2021-11-03T16:21:12.837229
2019-03-28T08:31:39
2019-03-28T08:31:39
170,106,739
0
0
null
null
null
null
UTF-8
Python
false
false
7,223
py
from os.path import join import tempfile import zipfile from pymol import cmd, finish_launching from pymol.cgo import * finish_launching() dirpath = None def cgo_arrow(atom1='pk1', atom2='pk2', radius=0.07, gap=0.0, hlength=-1, hradius=-1, color='blue red', name=''): from chempy import cpv radius, gap =...
[ "cradoux.cr@gmail.com" ]
cradoux.cr@gmail.com
ff7083adfde7388d3ad49880c60d023bb42fb506
637dc502d7326aaf34766c14512df10efc612516
/tests/tagging.py
ad96eba03df498646cc4d0068da3bb5f3a49d3cf
[]
no_license
z4y4ts/unshred-tag
085342c6ee886a8c8e9aff154ae78123e0f19833
08d508b964fc52c5881b11a7811cc172036247f6
refs/heads/master
2020-12-25T04:19:05.171352
2014-11-12T22:54:50
2014-11-12T22:54:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,124
py
import re from datetime import datetime from flask import url_for from models import Tags, User, Shreds, TaggingSpeed from . import BasicTestCase class TaggingTest(BasicTestCase): def setUp(self): self.client.post(url_for("fixtures.reset_db")) self.client.post(url_for("fixtures.create_base_tags")...
[ "dchaplinsky@conversionscience.co.uk" ]
dchaplinsky@conversionscience.co.uk
99f52224cafb2ac12626c08b6cf0c418c1771a14
b445dd915a74d67b988c39f525f0235e26ff7db2
/djangoProjects/simpleBootStrapForms/src/base/urls.py
af3b4baf3553adb6bc5e1237ee342304a8a8b13c
[]
no_license
rajesh241/projects
2a1024400151fcbdd8790a3683d909da40612719
c6adfb7ec2f7df4880de44c50960333142569e54
refs/heads/master
2022-12-11T13:55:14.069601
2020-02-19T23:57:09
2020-02-19T23:57:09
228,992,081
0
0
null
2022-06-22T01:10:45
2019-12-19T06:42:25
Python
UTF-8
Python
false
false
807
py
"""base URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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') Class-based vi...
[ "togoli@gmail.com" ]
togoli@gmail.com
698a03e7e32842e8b104e0c82b939b34a766192e
0306bea08e9aab18f34a799ce8a73e86921f90f7
/medium/MergeInBetweenLinkedLists.py
8ec144cd18dc8a581543cea87bfb41b24ae965b0
[]
no_license
GeorgianBadita/LeetCode
78686fde88ef65b64f84fb7c2a22ba37ef21b8d9
e3b0571182369c5308e0c29fb87106bb0b0d615a
refs/heads/master
2022-10-21T00:23:26.479943
2022-10-14T20:27:27
2022-10-14T20:27:27
251,733,951
3
0
null
null
null
null
UTF-8
Python
false
false
801
py
# https://leetcode.com/submissions/detail/427432636/ # Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def mergeInBetween( self, list1: ListNode, a: int, b: int, list2: ListNode ) -> ListNode:...
[ "geo.badita@gmail.com" ]
geo.badita@gmail.com
3b0de834899f997d3899b7fac087eda59b03a816
d8a541a2953c9729311059585bb0fca9003bd6ef
/Lists as stack ques/key_revolver (2).py
51286e00570e0066dba3825aad1cc934c43e8eb8
[]
no_license
grigor-stoyanov/PythonAdvanced
ef7d628d2b81ff683ed8dd47ee307c41b2276dd4
0a6bccc7faf1acaa01979d1e23cfee8ec29745b2
refs/heads/main
2023-06-10T09:58:04.790197
2021-07-03T02:52:20
2021-07-03T02:52:20
332,509,767
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
from collections import deque bullet_cost = int(input()) gun_barrel = int(input()) bullets = list((map(int, input().split()))) locks = deque(map(int, input().split())) safe_value = int(input()) current_bullet = 0 while bullets and locks and gun_barrel > 0: for bullet in range(1, gun_barrel+1): current_bull...
[ "76039296+codelocks7@users.noreply.github.com" ]
76039296+codelocks7@users.noreply.github.com
80f49f9ce84cd2ecb8d31318d2a7f46c6a0b878e
4d3118fb51c7d42d22c1f1f3bbcbaebf5f0640d2
/exercises/coin_flip.py
4bceb538cd7f317864e00ff6d6a62c37a3b2f534
[]
no_license
Gabkings/python-practise
d899d3d0a4094b9b272120ad2779cbe1c043f8db
bafc1fea60dfa6b7075204276fb6e3d857be2cbf
refs/heads/master
2020-03-25T08:30:05.917168
2018-08-05T13:35:44
2018-08-05T13:35:44
143,615,891
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
from random import random def coin_flip(): face = random() if face > 0.5: faceup = 'head' else: faceup = 'tail' return faceup con = coin_flip() print(con)
[ "gabworks51@gmail.com" ]
gabworks51@gmail.com
1a21293667b3cb7e185302ffb7736a7bbe0494dd
09ce9635b0e74ba178e98efd0d5229a25995713e
/submissions/pakencamp-2019-day3/a.py
b5e2b7089cb507bc4e2b8a16412a7f5128acf605
[ "Unlicense" ]
permissive
m-star18/atcoder
7575f1e1f3ee1dfa4a765493eb17b4ef0ad5f1f0
08e475810516602fa088f87daf1eba590b4e07cc
refs/heads/main
2023-07-14T09:16:42.807150
2021-08-22T15:59:48
2021-08-22T15:59:48
364,458,316
1
0
Unlicense
2021-08-22T15:59:49
2021-05-05T04:13:03
Python
UTF-8
Python
false
false
201
py
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) a, b = map(int, readline().split()) print(b - a + 1)
[ "31807@toyota.kosen-ac.jp" ]
31807@toyota.kosen-ac.jp
61122cf8d525f6b5435f3e7f4c654fba7e261694
714268a27bd4cc34ec053cb3d991012151554aad
/CodeChef/atTheGates.py
1bf5f096ca7f90fe56773272969212d1e8a86d07
[]
no_license
yashhR/competitive
2b649011c2cea74eea8d9646bcfafc73743651eb
37f2ec68b33828df4692bc23f28d532cb8d4a358
refs/heads/master
2022-11-10T04:53:47.634062
2020-06-22T16:43:03
2020-06-22T16:43:03
274,190,602
0
0
null
2020-06-22T16:36:02
2020-06-22T16:36:02
null
UTF-8
Python
false
false
1,801
py
''' There is a table in front of you, with N coins placed in a row and numbered 1 through N from left to right. For each coin, you know whether it is initially showing heads or tails. You have to perform exactly K operations. In one operation, you should remove the rightmost coin present on the table, and if this coin ...
[ "17131a05h5@gvpce.ac.in" ]
17131a05h5@gvpce.ac.in
c19f605ab193cc8be99874cea988ac066ac3e0a5
9f414bde21046a264f3189786a7180f9ffd79d30
/web/web/finders.py
74784abfe14fbff5f035c0d81326851720746e80
[ "Apache-2.0" ]
permissive
rcbops/FleetDeploymentReporting
ebd0ca07f099bdcf4e231d734145307e8f9bb9a5
aaab76706c8268d3ff3e87c275baee9dd4714314
refs/heads/develop
2020-03-21T16:09:25.757015
2019-02-26T16:15:52
2019-02-26T16:15:52
138,753,891
1
7
Apache-2.0
2019-02-26T16:15:53
2018-06-26T14:58:06
Python
UTF-8
Python
false
false
1,311
py
import os from django.apps import apps from django.contrib.staticfiles import utils from django.contrib.staticfiles.finders import BaseFinder from django.core.files.storage import FileSystemStorage class AngularTemplateFinder(BaseFinder): """Incomplete implementation of a finder. Only implements list.""" sto...
[ "james.absalon@rackspace.com" ]
james.absalon@rackspace.com
2176690dae448b8b2e6b44a37ead6da57cf654a8
a222c577f924c390b244beaa67b4b042c2eb7337
/bin/kt_regression.py
ffbbe2fa6643850cdc769f50a86c7be01586058e
[]
no_license
bdqnghi/sentence-ordering
59baf539e9f30876860b73805b74862d1beef804
fb62eea650f132ea3d01aabb831ea49531824183
refs/heads/master
2020-03-28T08:07:52.637593
2018-02-01T11:38:51
2018-02-01T11:38:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
import click from sent_order.models import kt_regression as model from sent_order import cuda @click.group() def cli(): pass @cli.command() @click.argument('train_path', type=click.Path()) @click.argument('model_path', type=click.Path()) @click.option('--train_skim', type=int, default=1000000) @click.option(...
[ "davidwilliammcclure@gmail.com" ]
davidwilliammcclure@gmail.com
a8340cb3c5b1eb05201fa61d09a62ab1595c6306
f02b21d5072cb66af643a7070cf0df4401229d6e
/leetcode/explore_lessons/binary_search/first_bad_version.py
83b3e34729656e01cef998a3a4d05972fdcfb579
[]
no_license
dbconfession78/interview_prep
af75699f191d47be1239d7f842456c68c92b95db
7f9572fc6e72bcd3ef1a22b08db099e1d21a1943
refs/heads/master
2018-10-09T22:03:55.283172
2018-06-23T01:18:00
2018-06-23T01:18:00
110,733,251
2
1
null
null
null
null
UTF-8
Python
false
false
1,631
py
# 278. First Bad Version """ You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality check. Since each version is developed based on the previous version, all the versions after a bad version are also bad. Suppose you have n v...
[ "Hyrenkosa1" ]
Hyrenkosa1
74f2d8bb33061539d3c0eb9e25c12a0858c5a7ff
71b4ab667f24a53ac1212896e4055e5bf56d5ca6
/backend/manage.py
b65988d6aa2be9092022a1a52b487db42a73d5fc
[]
no_license
crowdbotics-apps/small-firefly-27634
d36b283d9397b5e253013a318dcce8173575fd9d
ca990c2dc7778c47af8ddbb3945c610d91ed9681
refs/heads/master
2023-05-05T22:22:21.938577
2021-06-01T00:21:39
2021-06-01T00:21:39
372,658,277
0
0
null
null
null
null
UTF-8
Python
false
false
639
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', 'small_firefly_27634.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b422a944d1f29b3f7038e03480ecbf17ddf705f8
48f092fd8191b0218df8605dc7125e526764e59e
/NestedLoops/app2.py
231571ece85b4688453d6c27e1842e5019388cf3
[]
no_license
LalityaSawant/Python-Projects
2edb430c094fe3d6b4e706cc61f885aa07e24dff
b142708256e26867f09b3063f5f3fffa305ec496
refs/heads/master
2020-05-01T03:00:26.012301
2019-03-23T22:09:33
2019-03-23T22:09:33
177,235,109
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
numbers = [0,1,2,3,4,5,4,3,2,1,1,1,4,6,7,8,9,9,9,9,8,7,7,6,5,5,5,6,7,8,8,7,6,5,5,4,4,3,3,3,3,3,3,2,2,3,3] x = 'x' for number in numbers: output = '' for count in range(number): output += '0' print(f''' {output}''')
[ "lalitya.sawant@gmail.com" ]
lalitya.sawant@gmail.com
b9895287e59d4d083df29a36b630b6abae9c53eb
2d4d0b293a96267dde951f41ad155e895722b214
/JEC/python/L2res/occ2d_draw.py
481732bdd9b9aee823e559d76b7ac6d13697726d
[]
no_license
gqlcms/JetMET
343f7df63d6a96edde0d618d663ec506ed1f1503
d1390138d17312eac353093602436c6573ae2216
refs/heads/master
2020-07-29T11:22:11.111026
2019-05-09T12:44:46
2019-05-09T12:44:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,862
py
#!/usr/bin/env python ''' Analysis script for L3 residuals (Z balancing) ''' # # Standard imports and batch mode # import ROOT ROOT.gROOT.SetBatch(True) import itertools import os from math import sqrt, cos, sin, pi, atan2, sinh from RootTools.core.standard import * from Jet...
[ "robert.schoefbeck@cern.ch" ]
robert.schoefbeck@cern.ch
d04872bac0a950de742027fee0e7b9b5f0e2ab53
544d4f57945a08cb382b1ef04ae73fb6eaccfb29
/105.py
9c481c8d2568ed9f326e517c84e96b9ec4d3b0b3
[ "LicenseRef-scancode-unicode", "ICU", "NAIST-2003", "LicenseRef-scancode-public-domain", "BSD-3-Clause" ]
permissive
rzhang1654/pyco
7ea06a49cb169b4f70bf5d832ed39af5e416ee60
80a23c591da0f36f240f644ce8799fe8f9f5ed98
refs/heads/master
2023-05-25T11:44:14.027525
2021-06-02T14:57:17
2021-06-02T14:57:17
373,204,559
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
#!/usr/bin/env python # from atexit import register from re import compile from threading import Thread from time import ctime from urllib import urlopen as uopen REGEX = compile(r'<script type="(.+?)">') EXELON = 'https://www.exeloncorp.com/leadership-and-governance' PAGEs = { 'ethics-and-conduct': 'ethics and...
[ "run.zhang@exeloncorp.com" ]
run.zhang@exeloncorp.com
81120867431d79bbfad20b6629306fb294a78aea
e5654e71ad4f043bb28105c3b6f3cd833e1c52dc
/openai/venv/lib/python3.10/site-packages/langchain/embeddings/sagemaker_endpoint.py
e1371a7d99936cbd102ccb6ba13e593ba23abc8a
[]
no_license
henrymendez/garage
0b795f020a68fe2d349b556fb8567f6b96488ed5
b7aaa920a52613e3f1f04fa5cd7568ad37302d11
refs/heads/master
2023-07-19T20:16:02.792007
2023-07-07T16:58:15
2023-07-07T16:58:15
67,760,348
0
0
null
null
null
null
UTF-8
Python
false
false
7,006
py
"""Wrapper around Sagemaker InvokeEndpoint API.""" from typing import Any, Dict, List, Optional from pydantic import BaseModel, Extra, root_validator from langchain.embeddings.base import Embeddings from langchain.llms.sagemaker_endpoint import ContentHandlerBase class SagemakerEndpointEmbeddings(BaseModel, Embeddi...
[ "henry95@gmail.com" ]
henry95@gmail.com
c9e58e81a27a870849d3bfed9fa9d0ddacf18134
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc038/D/4502471.py
1539cc5c3366975fe7df695b0a53f39763ae4186
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
790
py
import sys import bisect input=sys.stdin.readline N=int(input()) data=[tuple(map(int,input().split())) for _ in range(N)] data.sort() data2=[] now=[] for d in data: if len(now)==0: now.append(d) continue if now[0][0]!=d[0]: now.sort(key=lambda x:x[1],reverse=True) d...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
acf6fb9f47e54f8b0c090b7fe6dc50e0a77e2318
e634f90bc999a2903c92f66384a867a474b40d9c
/Source/Main.py
f6c46809d31de7e9aa6b1e9aee2033be4f65fe5d
[ "MIT" ]
permissive
Dmunch04/Plistr
69f7217fbea24e48870667c8507845ddd1a63547
39d70e3b9f1a827d48a6a951617da0892978515c
refs/heads/master
2020-07-15T21:16:55.539440
2019-09-01T14:27:04
2019-09-01T14:27:04
205,650,024
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
from Window import Window from Helpers import Loader class Plistr: def __init__ (self, Filename): self.Filename = Filename self.Items = Loader.LoadFile (self.Filename) self.Window = Window (Filename) def Run (self): self.Window.Run (self.Items)
[ "daniellmunch@gmail.com" ]
daniellmunch@gmail.com
b860558d9525b80e85652f2e33d5aa57e3fd91cc
0cab535ec5b00aa1f99614062ac53017bc048333
/tensorflow_graphics/io/__init__.py
53ac26a35cb4db9576f1689a51a5b7be41d19f55
[ "Apache-2.0" ]
permissive
yangbooom/graphics
d3eb6e4940ee624b64d4d87af9de6c7e2c6d924a
2a759c0981372cc58e51e77ba939b00693cb9fdf
refs/heads/master
2022-07-13T11:12:33.204592
2020-05-17T00:23:02
2020-05-17T00:23:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
7fede01bad23361cbb201f9ae03d1b537a916785
5068bc927a7fff73923ce95862ff70120160c491
/electrum_axe/plugins/ledger/qt.py
2c36c1397995c78a133b363be3051db888fc4fa6
[ "MIT" ]
permissive
AXErunners/electrum-axe
cdbce2dbb92e23e32e9f9b733ae9f65f51c0ae9f
7ef05088c0edaf0688fb167df353d6da619ebf2f
refs/heads/master
2021-04-03T09:40:37.109317
2020-08-27T16:53:18
2020-08-27T16:53:18
124,705,752
336
75
MIT
2020-10-17T18:30:25
2018-03-10T23:00:48
Python
UTF-8
Python
false
false
2,709
py
from functools import partial from PyQt5.QtCore import pyqtSignal from PyQt5.QtWidgets import QInputDialog, QLabel, QVBoxLayout, QLineEdit from electrum_axe.i18n import _ from electrum_axe.plugin import hook from electrum_axe.wallet import Standard_Wallet from electrum_axe.gui.qt.util import WindowModalDialog from ....
[ "slowdive@me.com" ]
slowdive@me.com
7b5d81cbcf4171c2438e06c851ff4e7d2d6a0401
76a8ea60480331f0f61aeb61de55be9a6270e733
/downloadable-site-packages/statsmodels/sandbox/rls.py
412cc4d05051951d88945554d1d310bacbbc9c20
[ "MIT" ]
permissive
bhagyas/Pyto
cd2ec3f35bec703db4ac29b56d17abc4bf03e375
907024a9b3e04a2a9de54976778c0e1a56b7b83c
refs/heads/master
2022-11-19T13:05:07.392454
2020-07-21T17:33:39
2020-07-21T17:33:39
281,886,535
2
0
MIT
2020-07-23T07:48:03
2020-07-23T07:48:02
null
UTF-8
Python
false
false
5,136
py
"""Restricted least squares from pandas License: Simplified BSD """ import numpy as np from statsmodels.regression.linear_model import GLS, RegressionResults class RLS(GLS): """ Restricted general least squares model that handles linear constraints Parameters ---------- endog: array_like ...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
8b7311824ab9a23ac88a7ac5fed9d86293761a1f
6d5d161269e66345a32e0e221f2dbce2a07c742a
/async_sched/server/messages.py
afca8f5818cc66f2f69f7051f2ae055bd29a5126
[ "MIT" ]
permissive
justengel/async_sched
d286c79eb6a705769aa8e59da7508d5995acb523
f980722d51d15025522b2265426b0188ff368418
refs/heads/master
2022-11-07T18:24:50.843013
2020-07-01T02:39:55
2020-07-01T02:39:55
268,154,385
1
0
null
null
null
null
UTF-8
Python
false
false
993
py
from typing import List from serial_json import DataClass, field from ..schedule import Schedule __all__ = ['DataClass', 'Message', 'Error', 'Quit', 'Update', 'RunCommand', 'ScheduleCommand', 'RunningSchedule', 'ListSchedules', 'StopSchedule'] class Message(DataClass): message: str class Error(Da...
[ "jtengel08@gmail.com" ]
jtengel08@gmail.com
c925362f7a177e0811dfb0b9035d7ffefbf1ec34
5c6ccc082d9d0d42a69e22cfd9a419a5b87ff6cd
/coursera/pythonHse/fourth/4.py
b721d875cacc3f42d7207d20fca81d8db4118054
[]
no_license
kersky98/stud
191c809bacc982c715d9610be282884a504d456d
d395a372e72aeb17dfad5c72d46e84dc59454410
refs/heads/master
2023-03-09T20:47:25.082673
2023-03-01T08:28:32
2023-03-01T08:28:32
42,979,807
0
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
# Даны два действительных числа x и y. Проверьте, принадлежит ли точка с # координатами (x,y) заштрихованному квадрату (включая его границу). Если # точка принадлежит квадрату, выведите слово YES, иначе выведите слово NO. # На рисунке сетка проведена с шагом 1. # Решение должно содержать функцию IsPointInSquare(x...
[ "kerskiy-ev@pao.local" ]
kerskiy-ev@pao.local
d603fc4e9d43b4652a8ac0e851fac084cd7232b0
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1/r4ghu/count.py
41bfd1280434461d73ff3977ca2f3160ac163ca2
[]
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
688
py
input = open('input.txt','r') print 'Name of the file:', input.name results = [] T = int(input.readline()) for t in range(T): dic = {} l = [] n = int(input.readline()) if n==0: results.append('INSOMNIA') for i in range(1,25*n): p = list(str(i*n)) for j in p: ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
ac92c6cc494073720f64ded6d9dfce7c9f5e7603
cc72013ede1b3bb02c32a3d0d199be4f7986c173
/ch10/cballmaxheight.py
d1b7e7d7f8bd3735de66883c44cae85de31b5936
[]
no_license
alextickle/zelle-exercises
b87d2a1476189954565f5cc97ee1448200eb00d4
b784ff9ed9b2cb1c56e31c1c63f3e2b52fa37875
refs/heads/master
2021-01-19T00:33:19.132238
2017-09-14T23:35:35
2017-09-14T23:35:35
87,182,609
1
1
null
null
null
null
UTF-8
Python
false
false
645
py
from classProjectile import Projectile def getInputs(): a = input("Enter the launch angle (in degrees): ") v = input("Enter the initial velocity (in meters/sec): ") h = input("Enter the initial height (in meters): ") t = input("Enter the time initerval between position calculations: ") return a, v, h, t def mai...
[ "alexander.tickle@gmail.com" ]
alexander.tickle@gmail.com
cacda09aaaef2e4170fc9593a18b9c06078c39cf
2e7814885646a56ffd3db0883a1c3f790cb9de46
/src/zojax/wiki/browser/wiki.py
083aa26c9e5f90104938fd17f906a76c8a3f4019
[ "ZPL-2.1" ]
permissive
Zojax/zojax.wiki_
1afa247c8797ac7316d6689d77d9c61a991eda0b
b0b9a3c3a91ffb725c5ef7e330632f18dab3d75e
refs/heads/master
2020-04-01T15:33:32.556439
2014-01-29T18:31:29
2014-01-29T18:31:29
2,038,571
0
0
null
null
null
null
UTF-8
Python
false
false
4,643
py
############################################################################## # # Copyright (c) 2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "andrey.fedoseev@gmail.com" ]
andrey.fedoseev@gmail.com
e4841e48dd2798ed1c2ba400e9e3a8c6b9d95714
cb73499c5b15cead88751dfca21cefae81483501
/docs/conf.py
6f333b8b3d818eebd843b06f85a9f8c9dc169e27
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
RichardPflaum/GalSim
dcbabfbdbd41a0ebe909ad3c28e47daabcd92818
05060e583b2465ca8e2b258126c2ba8257e358f1
refs/heads/main
2023-03-23T05:59:05.349282
2021-02-05T23:11:55
2021-02-06T00:49:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,740
py
# Copyright (c) 2012-2020 by the GalSim developers team on GitHub # https://github.com/GalSim-developers # # This file is part of GalSim: The modular galaxy image simulation toolkit. # https://github.com/GalSim-developers/GalSim # # GalSim is free software: redistribution and use in source and binary forms, # with or w...
[ "michael@jarvis.net" ]
michael@jarvis.net
16a3ede80cdb02e339d6e3f2cf8311c8b6990ec5
0d1c1a216b01f6773e751691e9d3e10cc4f27d09
/tensorflow/contrib/linalg/python/ops/linear_operator_composition.py
a6c9c30d04180656eb136b6fcb82585b77f3b584
[ "Apache-2.0" ]
permissive
abdo5520/tensorflow
13c1496e7aa115bba06cda5fc9dc73ba9e4b1694
55b01593515817992821423fec19733bca91c918
refs/heads/master
2021-01-13T04:05:38.763884
2017-01-01T13:10:05
2017-01-01T13:10:05
77,894,045
0
1
null
2017-01-03T07:28:02
2017-01-03T07:28:02
null
UTF-8
Python
false
false
9,894
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
957b6dfafdf01768a405f18e1263f60e635d7d82
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/collective/fleet/test_auto_checkpoint1.py
2db7b1e8f80682670d2ed4cf48d6df45479f95a9
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
1,771
py
# Copyright (c) 2020 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
d3336030c75230312fe64f70d821674c7b8b0832
744096e063ffb4cdb017f60e6dfae410a51c789a
/ml/m08_wine2_keras.py
06ebe62cf59103482d4d188d56d1958c5811a866
[]
no_license
elf0508/Study-bit
59ddab507b02c13a45913c05a4799ff946e63f95
a773d7643cbb1c0008e7ea01c32615c9e6e3678c
refs/heads/master
2022-12-31T11:53:44.344693
2020-10-16T09:04:01
2020-10-16T09:04:01
270,950,252
0
0
null
null
null
null
UTF-8
Python
false
false
4,792
py
# keras 로 만들기 # 다중분류 import numpy as np import pandas as pd from keras.models import Sequential, Input from keras.layers import Dense, Dropout from keras.callbacks import EarlyStopping from sklearn.svm import SVC from sklearn.ensemble import RandomForestClassifier from sklearn.neighbors import KNeighborsClassifier fro...
[ "elf0508@naver.com" ]
elf0508@naver.com
d15dd199e6c86808b473f526e605111671f36034
e11dff811ca981f428644fd70d10a7369c671bcb
/src/tools/ecos/cvxpy/cvxpy/problems/objective.py
13293559446a04fad84799c55d14674f9eada4e7
[ "GPL-3.0-only", "GPL-3.0-or-later", "MIT" ]
permissive
riadnassiffe/Simulator
3c4a036b5635534929fdb04b0e9c96d64c0da71f
7d9ff09f26367d3714e3d10be3dd4a9817b8ed6b
refs/heads/master
2021-06-20T09:31:36.033427
2021-04-17T00:03:17
2021-04-17T00:03:17
16,033,879
0
0
MIT
2021-03-22T23:20:34
2014-01-18T20:58:10
Jupyter Notebook
UTF-8
Python
false
false
2,758
py
""" Copyright 2013 Steven Diamond This file is part of CVXPY. CVXPY 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. CVXPY is distributed i...
[ "riad.nassiffe@gmail.com" ]
riad.nassiffe@gmail.com
76faca35f33e12cea802b44068cb8aa14880293c
e0980f704a573894350e285f66f4cf390837238e
/.history/menus/models_20201030115229.py
fe2fb42e539b2ceeceff986fda84db20415ecd35
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
from django.db import models from django_extensions.db.fields import AutoSlugField from modelcluster.models import ClusterableModel from wagtail.core.models import Orderable from wagtail.admin.edit_handlers import FieldPanel class MenuItem(Orderable): link_title = models.CharField(blank ) link_url = externa...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
a550d9b8ed43cb34d14d403265c426d95c868ae4
74091dce735f281188d38d2f00d1a68e1d38ff7a
/design_patterns/observer/with_observer/observer_abc/__init__.py
fc74947e39033cd126ee8f4e688bf13e5b204ab0
[]
no_license
nbiadrytski-zz/python-training
96741aa0ef37bda32d049fde5938191025fe2924
559a64aae2db51e11812cea5ff602f25953e8070
refs/heads/master
2023-05-07T04:08:23.898161
2019-12-10T12:12:59
2019-12-10T12:12:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from design_patterns.observer.with_observer.observer_abc.observer_abc import AbsObserver from design_patterns.observer.with_observer.observer_abc.subject_abc import AbsSubject
[ "Mikalai_Biadrytski@epam.com" ]
Mikalai_Biadrytski@epam.com
2fd0d81d5757eb5301956fc98513bcb6f034e338
7410903c6cd5ef35c592af00c934fb21c369cbf2
/00_Code/01_LeetCode/15_3Sum.py
48ca0cefdb8c2e3ea535801f329f89a117a056e8
[ "MIT" ]
permissive
KartikKannapur/Algorithms
f4e4726170599db0622d18e8c06a382e9bce9e77
66e3c8112826aeffb78bd74d02be1a8d1e478de8
refs/heads/master
2020-12-25T18:32:41.086518
2020-10-19T02:59:47
2020-10-19T02:59:47
93,961,043
1
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
""" Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: The solution set must not contain duplicate triplets. For example, given array S = [-1, 0, 1, 2, -1, -4], A solution set is: [ [-1, 0, 1], [-1, -1,...
[ "kartikkannapur@gmail.com" ]
kartikkannapur@gmail.com
28d3ad73c52557c945c1d6527b8e8b08169df786
7370b067695d6636273ee635b3e78b022be16a62
/fullstack/vagrant/forum/forumdb.py
403e89ac5b0de33e55b2add36c6f6753c544d7d6
[]
no_license
jreiher2003/intro-to-relational-databases
56b2f66e5f7a23144b8a1f011d0bcedcf5a07da3
a589cb736757708635b7b6bb6688cd2d9d574a85
refs/heads/master
2020-12-24T13:44:50.200881
2015-04-14T14:45:54
2015-04-14T14:45:54
33,775,469
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
# # Database access functions for the web forum. # import psycopg2 import time import bleach ## Get posts from database. def GetAllPosts(): '''Get all the posts from the database, sorted with the newest first. Returns: A list of dictionaries, where each dictionary has a 'content' key pointing to...
[ "jeffreiher@gmail.com" ]
jeffreiher@gmail.com
d9115b79d1e0ebf6bd315330b1bc516e8c40b72b
c224200e8d273b2d215e1b68c8bb7798fe0ca714
/python/ccard/luhn.py
4d988dfaa53f5803ebe99205be2b09fe9e6a145e
[]
no_license
mpranj/mcandre
c9c6db22be95f71a350bf05e922eb03befa9c6b1
9bf5c3ab0ee24ab7041ef4732d0017e869ae683d
refs/heads/master
2021-01-18T12:46:37.096984
2014-06-26T03:46:56
2014-06-26T03:46:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
"""Luhn checksum""" def luhn(n): """luhnsum(int) -> bool Mod 10 checksum by Hans Peter Luhn (1896-1964) """ s = 0 while n: r = n % 100 n /= 100 z = r % 10 r /= 10 * 2 s += r / 10 + r % 10 + z return s % 10 == 0
[ "andrew.pennebaker@gmail.com" ]
andrew.pennebaker@gmail.com
a7b3a447dfd2a17561d5fe2e7b964ac450fe341e
30566a736f0c8234254c7d832333f0f8e7650c2e
/mlh/apps/qs_answer/apps.py
ba4f6dbf49192440a9295f70ca605d2b7023a213
[]
no_license
AmirHuang/mlh
daa59f16a2ac3716195bf6dfbea0e27d9bcc994e
c0df44858d0951e345de245505ae8f71f8b5e1b6
refs/heads/master
2020-05-04T14:28:17.289664
2019-04-03T02:52:35
2019-04-03T02:52:35
179,198,259
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.apps import AppConfig class QsAnswerConfig(AppConfig): name = 'qs_answer'
[ "429771087@qq.com" ]
429771087@qq.com
0dc249d0af3a80caa218ae4f6819b1a99c530f06
92be2d8c4a64d5f8c43341be7f1e36b81fce56ab
/src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/private_link_scope/private_endpoint_connection/__cmd_group.py
51676cfe96f1d5df414faa020e70a8f2b2eda9b2
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
allanpedroni/azure-cli
b31d3347f377208b502231266d4839196e574c4b
4e21baa4ff126ada2bc232dff74d6027fd1323be
refs/heads/dev
2023-08-31T18:27:03.240944
2023-08-31T08:49:58
2023-08-31T08:49:58
204,767,533
0
0
MIT
2023-09-14T13:32:41
2019-08-27T18:41:15
Python
UTF-8
Python
false
false
718
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # # Code generated by aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
allanpedroni.noreply@github.com
a6dec3fb3b780def85cc7985436fbc0609ee67c1
612b2dcd643ca7b36ac141a1d62c73b8e5f5d1aa
/06_operacje_na_plikach_2019-10-28/zad_3_cytaty_5_linii.py
8b8614a0d4f0a6e66e0f536e5657adf3eda1e388
[]
no_license
MirekPz/PyCode
e41fecb3bec8b40e41efe9db1be036038b94da1b
95e1c349beb4fcd0ec1d8c36d000665f28ee794f
refs/heads/master
2020-08-07T10:54:37.488009
2020-02-10T08:41:17
2020-02-10T08:41:17
213,421,248
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
""" Wyświetl tylko 5 pierwszych linii """ filename = "cytaty.txt" with open(filename, encoding="UTF-8") as file: for i in range(5): list_of_quotations = file.readline() print(list_of_quotations)
[ "mirek@info-tur.pl" ]
mirek@info-tur.pl
2482f871dff5c01612e22eef2f7419c903a53bca
eb473c4b2ca6cfdfa11536a460b88f2aa6dff8c8
/lib/dataformat/blockreplica.py
d072623269f1bd55ed55bcb45d6214af1483197b
[]
no_license
thannan6/dynamo
4ff13bd85c9e15c755e89e67e26eaa214e0a5b39
8db847b8d0094890110cfc805a34703fb89f564f
refs/heads/master
2021-05-10T00:01:52.252731
2018-01-22T02:35:27
2018-01-22T02:35:27
118,819,891
0
0
null
2018-01-24T20:45:31
2018-01-24T20:45:31
null
UTF-8
Python
false
false
4,797
py
from exceptions import ObjectError class BlockReplica(object): """Block placement at a site. Holds an attribute 'group' which can be None. BlockReplica size can be different from that of the Block.""" __slots__ = ['_block', '_site', 'group', 'is_complete', 'is_custodial', 'size', 'last_update', 'files'] ...
[ "yiiyama@mit.edu" ]
yiiyama@mit.edu
851052faa0844695302437d571d870c4409cc072
3ef70fe63acaa665e2b163f30f1abd0a592231c1
/stackoverflow/venv/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/x25519.py
9aab25b86adb28ad744e0cc3682073d4dfda55a1
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
wistbean/learn_python3_spider
14914b63691ac032955ba1adc29ad64976d80e15
40861791ec4ed3bbd14b07875af25cc740f76920
refs/heads/master
2023-08-16T05:42:27.208302
2023-03-30T17:03:58
2023-03-30T17:03:58
179,152,420
14,403
3,556
MIT
2022-05-20T14:08:34
2019-04-02T20:19:54
Python
UTF-8
Python
false
false
5,580
py
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import warnings from cryptography import utils from cryptography.hazmat....
[ "354142480@qq.com" ]
354142480@qq.com
0c53c8c3135c11ac44c7ed5ad9f0094da5ce9c6a
839b26d2d837f256423c11908a2a3618ab8a23f3
/dashboard/dashboard/update_bug_with_results_test.py
7b4282e95a1380e535001797e6710cb237eb8f78
[ "BSD-3-Clause" ]
permissive
Mdlglobal-atlassian-net/catapult
79be5d4ec5d681c1d2f37ae83534a02f4a4ec72a
e9a386951413e7cbf983abf968626b2e5097fc38
refs/heads/master
2022-02-27T15:18:45.524790
2020-06-01T07:12:27
2020-06-01T22:57:01
268,672,431
0
1
BSD-3-Clause
2020-06-02T01:31:05
2020-06-02T01:31:04
null
UTF-8
Python
false
false
2,403
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import print_function from __future__ import division from __future__ import absolute_import import unittest import mock from dashboard im...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
96aa347b5f76f2db0199a18000c0f91940d0bcf7
7ec04fc867d0a48fffc05c65bff9217cfe211fe7
/HW/myTest1.py
9aeb7c4359629e0d3d917b41f10bd9d23c29e166
[]
no_license
Cherry93/pythonPractic
3b9d1f99803503073bbb2f3a58009665338bd278
2889183af6c9a01ab47895b23e2d6ce8c288fd4d
refs/heads/master
2021-08-31T16:41:56.655989
2017-12-22T03:53:18
2017-12-22T03:53:18
115,008,198
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
import mytool.supperTurtules print(mytool.supperTurtules.drawLine(-50,-50,50,50,10,"red"))
[ "358544104@qq.com" ]
358544104@qq.com
71fa0ac2a1bc628676d9568ea30eb2a2900822aa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02951/s416256902.py
e351c2216c8cf5ccf323b15b115c1f535f573c84
[]
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
85
py
a,b,c=map(int,input().split()) if c-(a-b)>0: print(c-(a-b)) else: print("0")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8f926e08fc1dc61bbc483c5c73e906cf776d5658
6930a434c0506d44bf8a8e81cb86e95c219c3a77
/python/day19/code/bool.py
dbd9efd62a9608472ca8da6ae9bf5321b9911546
[]
no_license
Conquerk/test
ed15d5603538340559556c9e0f20cc61ad3e4486
7ff42c99b8a2132c6dd1c73315ff95cfef63a8f6
refs/heads/master
2020-04-19T01:47:28.322929
2019-01-28T01:52:00
2019-01-28T01:52:00
167,882,236
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
class a: # def __bool__(self): # print("bool方法被调用") # return False def __len__(self): print('len被调用') return 5 x=a() print(bool(x)) if x : print("x 为真值") else: print("x 为假值")
[ "tarena@tedu.cn" ]
tarena@tedu.cn
4a66f501d21dc0e21b25cd557749a229c108d7bf
f85ce2baf753d65e8666bbda062acbdb0ccdb5ad
/leetcode/venv/lib/python2.7/site-packages/pyutil/common/multi_proxy.py
4464833378477d0125b57f50987802b986064008
[]
no_license
KqSMea8/PycharmProjects
2a9d3fa59d08c77daf63be427da27695d4dea471
c592d879fd79da4e0816a4f909e5725e385b6160
refs/heads/master
2020-04-14T11:54:56.435247
2019-01-02T10:15:36
2019-01-02T10:15:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
# coding=utf-8 __author__ = 'qiukun' class MultiProxy(): """ typical usage: p = MultiProxy([a, b]) 对 p 的方法调用会应用到 a, b,返回 b(最后一个对象)对应方法的返回值 e.g. buf = p.r() p.write() """ def __init__(self, objs): """ :param objs: a iterator of objs to be proxyed. :return: th...
[ "zhangyifeng@bytedance.com" ]
zhangyifeng@bytedance.com
ebca6a39db8c0a22574b611a0271ac7bc9a10d1d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02791/s398923350.py
525b6e69293b56cf550f10a02c0494389a8a6380
[]
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
351
py
import sys readline = sys.stdin.readline MOD = 10 ** 9 + 7 INF = float('INF') sys.setrecursionlimit(10 ** 5) def main(): N = int(readline()) P = list(map(int, readline().split())) cur = N + 1 ans = 0 for x in P: if cur > x: ans += 1 cur = x print(ans) if __na...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ccccc364d5e5480a14cd01e9facbb6cb9445987c
3e24611b7315b5ad588b2128570f1341b9c968e8
/pacbiolib/pacbio/pythonpkgs/pbtranscript/lib/python2.7/site-packages/pbtranscript/ice/make_input_fasta_fofn.py
77356562bf1686d47a5b7653eb24734ce3d41869
[ "BSD-2-Clause" ]
permissive
bioCKO/lpp_Script
dc327be88c7d12243e25557f7da68d963917aa90
0cb2eedb48d4afa25abc2ed7231eb1fdd9baecc2
refs/heads/master
2022-02-27T12:35:05.979231
2019-08-27T05:56:33
2019-08-27T05:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,072
py
#! python """Given input.fofn, for each movie.bas|bax.h5 file in the fofn, call pls2fasta to generate a movie.bax|bas.h5.fasta file in a specified directory, and then trim both ends of each read in fasta files. Finally, add all these fasta files to fasta_fofn (e.g., input.fasta.fofn). """ import logging import sys imp...
[ "409511038@qq.com" ]
409511038@qq.com
99b4337e7934e957fe1496cda64778117b102922
bc2a85e8dd9244f89e2f1801cc19d570a87c74ed
/Leetcode/Algorithms/Easy/Arrays/MeetingTime.py
4e389ed460c2d8ac9a19f0e4c01beffd544cb5ce
[]
no_license
christian-miljkovic/interview
1cab113dbe0096e860a3ae1d402901a15e808e32
63baa1535b788bc3e924f3c24a799bade6a2eae3
refs/heads/master
2023-01-11T14:53:09.304307
2020-02-04T17:35:12
2020-02-04T17:35:12
193,549,798
0
0
null
2023-01-05T05:56:15
2019-06-24T17:28:50
Python
UTF-8
Python
false
false
1,944
py
""" Time Planner Implement a function meetingPlanner that given the availability, slotsA and slotsB, of two people and a meeting duration dur, returns the earliest time slot that works for both of them and is of duration dur. If there is no common time slot that satisfies the duration requirement, return an empty array...
[ "cmm892@stern.nyu.edu" ]
cmm892@stern.nyu.edu
116c8f86cfaa52e4e72d3024334d871d5eb5ebab
8311a0bcf3f2126d622f928483ce2ea9d6a7cb0d
/Code/Matthew/django/mysite/polls/migrations/0001_initial.py
967a82248a77534828deedc67a2aec779b4c3227
[]
no_license
guam68/class_iguana
857247dca0ff732d11f7fb0d3dc761ec83846c94
e4359d32dfe60423a643c21df5636669016ad2c0
refs/heads/master
2020-05-01T06:33:22.611127
2019-03-13T23:07:41
2019-03-13T23:07:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
# Generated by Django 2.1.5 on 2019-02-07 18:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Choice', fields=[ ...
[ "flux2341@gmail.com" ]
flux2341@gmail.com
aa59fe19a4acba2c251b00e81b73e30f348144c8
9e20f7e71faa2853516f88ee7672e1323d12e8f7
/seq_lda/algorithms/__init__.py
d3ed380d3428aab45ed45e014fe016bca4131374
[]
no_license
e2crawfo/seq_lda
3270a07781369d318c0cf2e75cdbfee96423c52d
ebe3caea127575f6e54884bf0d32ac6d4a876d4e
refs/heads/master
2020-09-17T18:55:19.562861
2017-03-28T16:10:52
2017-03-28T16:10:52
67,877,820
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
from .markov_lda import generate_markov_chains from .lda import LDA from .mssg import MSSG, SingleMSSG from .baseline import OneByOne, Aggregate
[ "eric.crawford@mail.mcgill.ca" ]
eric.crawford@mail.mcgill.ca
be6ac3323527ef02eb9d8a966231f7f830aaed04
43ff15a7989576712d0e51f0ed32e3a4510273c0
/tools/pocs/bugscan/exp_885.py
701317e53735eabbc5a8dcc364e6082aba740f46
[]
no_license
v1cker/kekescan
f2b51d91a9d6496e2cdc767eb6a600171f513449
3daa1775648439ba9e0003a376f90b601820290e
refs/heads/master
2020-09-19T16:26:56.522453
2017-06-15T02:55:24
2017-06-15T02:55:24
94,495,007
6
3
null
null
null
null
UTF-8
Python
false
false
874
py
# -*- coding: utf-8 -*- from dummy import * from miniCurl import Curl curl = Curl() #/usr/bin/python #-*- coding: utf-8 -*- #Refer http://www.wooyun.org/bugs/wooyun-2015-0110861 #__Author__ = 上善若水 #_PlugName_ = 08CMS_sql Plugin #_FileName_ = 08CMS_sql.py def assign(service, arg): if service == "08cms"...
[ "liyueke@huobi.com" ]
liyueke@huobi.com
c0c2166d1a614fb9c14325a21fda4c3df736ef1f
3b9338d99cf8090387418e32ca81617f072c39fb
/waflib/extras/dumbpreproc.py
bc4b2d04061ab96a7da92066adb4f81e8c95e0e8
[]
no_license
sillsdevarchive/wsiwaf
8ca14c286bafceb9ee6fad740b64ad7131282dc3
2dcddafc3602a7220acbe995df4ba85abb06b767
refs/heads/master
2020-12-30T17:10:21.701380
2017-05-12T05:12:17
2017-05-12T05:12:17
91,052,898
0
1
null
null
null
null
UTF-8
Python
false
false
1,490
py
#!/usr/bin/env python # encoding: utf-8 # Thomas Nagy, 2006-2010 (ita) """ Dumb C/C++ preprocessor for finding dependencies It will look at all include files it can find after removing the comments, so the following will always add the dependency on both "a.h" and "b.h":: #include "a.h" #ifdef B #include "b.h" ...
[ "tnagy1024@f0382ac9-c320-0410-b3f0-b508d59f5a85" ]
tnagy1024@f0382ac9-c320-0410-b3f0-b508d59f5a85
987fa66a52474194186e6d244ee565863549eaf6
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/EMRryzd_2_20190507094011.py
d2f51d07e0695ada05beddc4e3e39e063c14d700
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
#-*- coding: UTF-8 -*- #本文件用于数据清洗 import time import math import os import sys import os, os.path,shutil import codecs import EMRdef import re emrtxts = EMRdef.txttq(u'D:\DeepLearning ER\EHRryzd')#txt目录提取 hxjb = open(r'D:\python\EMR\hxjbml.txt',errors="ignore")#呼吸疾病目录 hxjbdic = hxjb.readlines()#读行 ryzd=[] for emrtxt...
[ "1044801968@qq.com" ]
1044801968@qq.com
271dad85cc99d1fa818b59459c7c0d3fb1f1bdd0
175d6cff12514da71aafef6b9ff48dd56a87db2d
/alveus/ribbon.py
1c317cfa8a107f005e2676b9980a1ba3186d2250
[ "MIT" ]
permissive
FrederikLehn/alveus
d309eea98bd36f06709c55a18f0855f38b5420a9
71a858d0cdd8a4bbd06a28eb35fa7a8a7bd4814b
refs/heads/main
2023-06-26T02:29:59.236579
2021-07-30T11:07:17
2021-07-30T11:07:17
391,029,935
4
3
null
null
null
null
UTF-8
Python
false
false
34,103
py
# generic imports ------------------------------------------------------------------------------------------------------ import types # wxPython imports ----------------------------------------------------------------------------------------------------- import wx.lib.agw.ribbon as rb from wx.lib.agw.gradientbutt...
[ "noreply@github.com" ]
FrederikLehn.noreply@github.com
4052771b1b4311c09a293921817f66b82411e14f
e095a91a3424ecc364c4532e8fc705b728a0d1b1
/CodeWars/补充知识/reduce函数.py
cfbe488542ecf69f30da70eb19144d14b6799a9e
[]
no_license
Anakinliu/PythonProjects
caed257e71d2e52f691abc5095c4aca5c052feb2
2246794a88d06eaa381db1b3a72e9bc54a315dd7
refs/heads/master
2021-06-03T05:51:09.319613
2021-01-26T02:35:38
2021-01-26T02:35:38
101,546,309
2
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
from functools import reduce from itertools import groupby def sum(a, b): return a + b def mul(a, b): return a * b def fuck(v, _): print('v is: ', v) v.append(0) return v lst = range(2) # reduce函数参数: 函数名, 序列[,初始化序列] print(reduce(sum, lst)) # 计算阶乘。。。 print(reduce(mul, range(1, 4))) lst2 = [1, 3,...
[ "gugeliuyinquan@gmail.com" ]
gugeliuyinquan@gmail.com
4d13f16a6de050457f0c137b74e3f6643612f28d
6b9b032a5516c8d7dbb26deeb1b189022f8f9411
/LeetCode/dp/91.解码方法.py
c999d3a7c5e8a176bfe03eb5318fd70a5954222c
[]
no_license
mrmenand/Py_transaction
84db99a0010ae90f43fba6b737d7035e48af55fb
7e82422c84ad699805cc12568b8d3d969f66a419
refs/heads/master
2021-07-13T21:15:03.714689
2020-06-21T11:49:31
2020-06-21T11:49:31
176,281,954
1
0
null
null
null
null
UTF-8
Python
false
false
392
py
# 91. 解码方法 from functools import lru_cache class Solution: @lru_cache() def numDecodings(self, s: str) -> int: if not s: return 1 res = 0 if len(s) >= 1 and s[0] != "0": res += self.numDecodings(s[1:]) if len(s) >= 2 and s[0] != "0" and int(s[:2]) <= 26: ...
[ "1006024749@qq.com" ]
1006024749@qq.com
8be4be017c6af7fce4bd719c6b78a351b1b14568
c9000e5e30825b29febbefa5ad00da1f57551f8e
/02/fandengyuan/homework.py
c6bce72ffa5f56803c26555e16520532b283fbab
[]
no_license
xiaotian1991/actual-10-homework
81c58b24f58fc87e4890f1475ad83de8b66ee53b
0b379ca6189f843f121df4db5814c83262f9981a
refs/heads/master
2021-06-12T23:35:52.954510
2017-03-24T07:41:18
2017-03-24T07:41:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
arr = [3,1,5,9,2,11,7] arr0 = [] for i in range(len(arr)): arr0.append(int(arr[i])) m = len(arr0)-1 while m >= 1 and arr0[m] < arr0[m-1]: arr0[m],arr0[m-1] = arr0[m-1],arr0[m] m = m - 1 print arr0
[ "shengxinjing@addnewer.com" ]
shengxinjing@addnewer.com
d7ea612d308d7b4f02c590f2d7d783457b7fee26
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/genfragments/ADDGravToGG_NegInt-0_LambdaT-6500_M-4000To6500_TuneCUEP8M1_13TeV-pythia8_cfi.py
8a74a89ef9ff1b0945512ccf71c71c4c03d5767a
[]
no_license
uzzielperez/Analyses
d1a64a4e8730325c94e2bc8461544837be8a179d
1d66fa94763d7847011ea551ee872936c4c401be
refs/heads/master
2023-02-09T04:54:01.854209
2020-09-07T14:57:54
2020-09-07T14:57:54
120,850,137
0
0
null
2020-06-17T16:48:16
2018-02-09T03:14:04
C++
UTF-8
Python
false
false
1,266
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...
[ "uzzie.perez@cern.ch" ]
uzzie.perez@cern.ch
2ed4905e9b0d4556acdfe1ddf6a5e250b43f2f6f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2273/60870/314985.py
5e53cfd0963d3bbed85c252351f8e04244c40b52
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,702
py
num_test = int(input()) info_list = [] for i in range(num_test): info = input().split() info = [int(x) for x in info] for j in range(info[0]): data = input().split() data = [int(x) for x in data] info_list.append(data) if info_list == [[0, 1, 1], [1, 1, 1], [1, 1, 3], [2, 1, 10], [3,...
[ "1069583789@qq.com" ]
1069583789@qq.com
846b9dd0c7775be88cc5af59c2e787272a1744fe
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/oyy.py
c217d3393a75f12289698377f7dc47c74ac12e21
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
94dc35c61b39b874b3b81884b9524967947c0b81
c3eda1a67e2be5b200e6c9f5a80f20fbcce75bcb
/persephone/builds/migrations/0001_initial.py
0b7a613e655fa3b74eb0ec33645b168124808fac
[ "MIT" ]
permissive
karamanolev/persephone
b389a871f6fae58525eeedaec3739ec563c9b934
6d1887ae4e1d1941da3dbc416901e9de4764cbbb
refs/heads/master
2023-05-14T20:28:24.209056
2023-04-26T20:50:46
2023-04-27T10:32:25
86,364,458
14
2
MIT
2023-04-11T10:10:50
2017-03-27T17:29:12
JavaScript
UTF-8
Python
false
false
4,720
py
# Generated by Django 3.0.5 on 2020-04-11 23:17 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='GlobalSet...
[ "ivailo@karamanolev.com" ]
ivailo@karamanolev.com
5931b02613512b291a1c6c3ed56317fd9de7b0c7
4dd1d8fa59e20061e2c12e540fc52b1b305e575b
/source/sims-2/vapor-box/s7/mkmov.py
fc6d4a9fa9ec7401b461a45e20313be61bfd08fe
[ "MIT" ]
permissive
ammarhakim/ammar-simjournal
f63521906a97d55ab290a5960d94758139944c89
5019f4723e20db80a20db6f2bd454c2fd3241412
refs/heads/master
2023-06-08T08:18:11.722779
2023-06-02T15:06:43
2023-06-02T15:06:43
204,050,516
3
3
null
2022-02-01T16:53:13
2019-08-23T18:28:44
Lua
UTF-8
Python
false
false
3,609
py
from pylab import * import tables import euler import pylab import tables import math import numpy import pylab import numpy from matplotlib import rcParams import matplotlib.pyplot as plt # customization for figure rcParams['lines.linewidth'] = 2 rcParams['font.size'] = 18 rcParams['xtick...
[ "11265732+ammarhakim@users.noreply.github.com" ]
11265732+ammarhakim@users.noreply.github.com
5b2224f3c84090e21c38bb5254fff1fc2cc14a75
114c1f7ceff04e00591f46eeb0a2eb387ac65710
/g4g/DS/Trees/Binary_Trees/Construction_and_Conversion/2_construct_tree_from_inorder_and_level_order.py
be8b1575e1d72ff06ab39f696a67b1dc1a2ce5d4
[]
no_license
sauravgsh16/DataStructures_Algorithms
0783a5e6dd00817ac0b6f2b856ad8d82339a767d
d3133f026f972f28bd038fcee9f65784f5d3ea8b
refs/heads/master
2020-04-23T03:00:29.713877
2019-11-25T10:52:33
2019-11-25T10:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
''' Construct Binary Tree from Inorder and Level Order Traversal ''' class Node(object): def __init__(self, val): self.val = val self.left = None self.right = None def construct_tree(inorder, levelorder): if not inorder: return for i in range(len(levelorder)): if l...
[ "GhoshSaurav@JohnDeere.com" ]
GhoshSaurav@JohnDeere.com
4e16fdbe2e92cfb9355b49f7f2b61231b5481fe7
e6bc1f55371786dad70313eb468a3ccf6000edaf
/Datasets/the-minion-game/Correct/082.py
95c75f16f90cb4f3654bfe9b2114f728c53db3fe
[]
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
308
py
string = input() stuart = 0 kevin = 0 for i in range(len(string)): if string[i] in ["A", "E", "I", "O", "U"]: kevin += len(string) - i else: stuart += len(string) - i if kevin > stuart: print("Kevin", kevin) elif kevin < stuart: print("Stuart", stuart) else: print("Draw")
[ "pratekshau@gmail.com" ]
pratekshau@gmail.com
771eb48c547d8f9ba01bf6587e11e845aae491e3
0c110eb32f2eaea5c65d40bda846ddc05757ced6
/python_scripts/pimriscripts/onsetxformMVnoval1stv2ndtargetnamebehavioralmeasures.py
85bcf157630dd8984d938188faa1be2e0d0dffb2
[]
no_license
nyspisoccog/ks_scripts
792148a288d1a9d808e397c1d2e93deda2580ff4
744b5a9dfa0f958062fc66e0331613faaaee5419
refs/heads/master
2021-01-18T14:22:25.291331
2018-10-15T13:08:24
2018-10-15T13:08:24
46,814,408
0
0
null
null
null
null
UTF-8
Python
false
false
8,812
py
from __future__ import division import os, csv, copy, numpy __author__ = 'katie' #data note: for subj 7619, run 1M3, target "Kelly", there is a line of data that didn't get recorded, probably because the #eprime crashed. 1M3 then is fully collected with a new startup point on the next line. It is too much work #to...
[ "katherine@Katherines-MacBook-Pro.local" ]
katherine@Katherines-MacBook-Pro.local
442ca8bf52d89c3b46aa97ea92168ad89ffd55b1
243b7c1162264e381ab6575f493bd4fb97ced325
/src/comments/migrations/0005_comment_parent.py
02d0344397530913347a2b50e8802bfd0fe04aa7
[ "MIT" ]
permissive
trivvet/djangoAdvance
a409dd3003ab5f60b1621e7677826b2002e0d8c8
28891893869c1c0c3cf67d7f496dda96322de18c
refs/heads/master
2020-04-05T22:05:14.272989
2018-12-09T11:00:58
2018-12-09T11:00:58
157,244,340
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-11-28 16:29 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('comments', '0004_auto_20181126_1850'), ] operatio...
[ "trivvet@gmail.com" ]
trivvet@gmail.com
678fd8a74cf26d7b268a0bca0a0e1bb094c0044b
1b6fd0e1da9aa6d28b19540887ffcb5233ac3692
/Resources/RP01/P01.4/shooting_005.py
f7c4565e4a016f5f60b0c5ef8bfa949852f8b00f
[]
no_license
rugbyprof/4443-2D-PyGame
a637cd1237f90ca30a484d9fb2b6738571777d8c
bba26f794bd85599cf0598c1c64feec59fa31246
refs/heads/master
2022-11-27T14:14:54.982351
2020-08-05T19:32:45
2020-08-05T19:32:45
271,365,653
3
5
null
null
null
null
UTF-8
Python
false
false
18,569
py
""" Sprite Sounds and Collision Description: """ # Import and initialize the pygame library import pygame import random import json import pprint import sys import os import math import glob from helper_module import rgb_colors from helper_module import mykwargs from helper_module import straightDistance f...
[ "terry.griffin@msutexas.edu" ]
terry.griffin@msutexas.edu
ec9d3ab0161bd0be2d1d9cc810b7baf064cb9258
0c110eb32f2eaea5c65d40bda846ddc05757ced6
/scripts/mastersort/scripts_dir/p7477_run1L6.py
fd95e6f425fc95d1d5f1740df9048f4676b66a4c
[]
no_license
nyspisoccog/ks_scripts
792148a288d1a9d808e397c1d2e93deda2580ff4
744b5a9dfa0f958062fc66e0331613faaaee5419
refs/heads/master
2021-01-18T14:22:25.291331
2018-10-15T13:08:24
2018-10-15T13:08:24
46,814,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
from __future__ import with_statement import os, csv, shutil,tarfile, uf, dcm_ops dest_root = '/ifs/scratch/pimri/soccog/test_working' dst_path_lst = ['7477', 'run1L6'] uf.buildtree(dest_root, dst_path_lst) uf.copytree('/ifs/scratch/pimri/soccog/old/SocCog_Raw_Data_By_Exam_Number/2539/E2539_e2401779/s2411337_1904_1L6_s...
[ "katherine@Katherines-MacBook-Pro.local" ]
katherine@Katherines-MacBook-Pro.local
f0e45b1fb4b83b8df90170a17ff2e2c3e5ee84de
7d8b5220152b4ef4876c489d6648be56bc83c8e7
/exercises/development/beginner/exercise_12.py
78175e5a2f27eacb75544c488c37742e2dba2c08
[ "CC-BY-4.0", "ISC", "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
comp-think/comp-think.github.io
8f89518e7a463376b431f55fb7f495cb3019d4a5
e48a7ecf3b1799471271e01430e089e8f8e3c68d
refs/heads/master
2023-01-04T20:38:27.593237
2023-01-02T14:48:54
2023-01-02T14:48:54
157,171,226
52
22
NOASSERTION
2023-01-02T14:48:55
2018-11-12T07:11:23
Python
UTF-8
Python
false
false
1,189
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, Silvio Peroni <essepuntato@gmail.com> # # Permission to use, copy, modify, and/or distribute this software for any purpose # with or without fee is hereby granted, provided that the above copyright notice # and this permission notice appear in all copies. # # THE SOFTWARE I...
[ "essepuntato@gmail.com" ]
essepuntato@gmail.com
ad38a8f2cb5608beb486c95d05efd28affd3e33f
2bccab3cea54fdf283533d91b4a88363847b565d
/triple-center-loss/triple_center_model.py
50bfb7111808affc301bed6a03c61cf867c47ae2
[]
no_license
AmberzzZZ/classification_keras
647727597cc086cc72f532583ad80c6d88ecdce8
8e1886f130452b0f5ad30f7e9a32eb8388babb9a
refs/heads/master
2020-08-28T22:51:53.832386
2020-05-26T02:35:44
2020-05-26T02:35:44
217,844,932
0
0
null
null
null
null
UTF-8
Python
false
false
4,274
py
from models import * from keras.layers import Embedding, Lambda import tensorflow as tf from keras.utils import to_categorical from keras.utils import plot_model def TCL(y_true, y_pred): return y_pred def l2distance(args, n_classes): embedding, center_standard, y_true = args n_centers = center_standard....
[ "774524217@qq.com" ]
774524217@qq.com
2f810088c1d7c89839e81cd9c11e22c2d9e2f920
1185c629b091e09366aec9830d09ecd1b51dddda
/eval.py
7fee4cd1b8819c5d70a410ec118be451f76e6231
[]
no_license
billy-inn/refe
9ed79b8cfed83225cbc81a8637d0bafc24e0e494
deeaa1934ea7011e22dc7d3d98eedd6144212c7e
refs/heads/master
2021-07-03T20:26:47.329020
2017-09-24T02:33:16
2017-09-24T02:33:16
104,605,333
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
import tensorflow as tf import numpy as np import pandas as pd import config from optparse import OptionParser from task import Task import logging from model_param_space import param_space_dict def train(model_name, data_name, params_dict, logger): task = Task(model_name, data_name, 1, params_dict, logger) task.ref...
[ "bly930725@gmail.com" ]
bly930725@gmail.com
432654325fa3c3e4ef2b5dea97f3ff81125a84ac
52f8d1c53d7a7a251b216cacc2d1aaa8cc60c33e
/tools/utils.py
edef9d3436684af263ef426b90366eae0859b595
[]
no_license
sbein/BayesQcd2019
d9ecbf252b336f1d18c9dd35828bde1331a0028a
bb259e6d95e7eeee8d655866cbb7eeaa3e476036
refs/heads/master
2022-02-22T20:24:19.008157
2019-08-08T07:53:44
2019-08-08T07:53:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,416
py
from ROOT import * from array import array tl = TLatex() tl.SetNDC() cmsTextFont = 61 extraTextFont = 50 lumiTextSize = 0.6 lumiTextOffset = 0.2 cmsTextSize = 0.75 cmsTextOffset = 0.1 regularfont = 42 originalfont = tl.GetTextFont() epsi = "#scale[1.3]{#font[122]{e}}" epsilon = 0.0001 binning = {} binning['Met']=[45,...
[ "samuel.bein@gmail.com" ]
samuel.bein@gmail.com
71e678a0332eb9b0dddc74e7ee7677d3d3e5f0be
d10c5d3603e027a8fd37115be05e62634ec0f0a5
/10_Supervised-Learning-with-scikit-learn/10_ex_2-10.py
684d17126431f630f2a9e550a279918f00947165
[]
no_license
stacygo/2021-01_UCD-SCinDAE-EXS
820049125b18b38ada49ffc2036eab33431d5740
027dc2d2878314fc8c9b2796f0c2e4c781c6668d
refs/heads/master
2023-04-29T01:44:36.942448
2021-05-23T15:29:28
2021-05-23T15:29:28
335,356,448
2
0
null
null
null
null
UTF-8
Python
false
false
555
py
# Exercise 2-10: K-Fold CV comparison import numpy as np import pandas as pd from sklearn.linear_model import LinearRegression from sklearn.model_selection import cross_val_score df = pd.read_csv('input/gm_2008_region.csv') y = df['life'].values X = df.drop(['life', 'Region'], axis=1).values # Create a linear regre...
[ "stacy.gorbunova@gmail.com" ]
stacy.gorbunova@gmail.com
a357f99eeb2586079e4f9f2f7d69c6f57ffcb713
8522034ed44d22a50b45f36e7dea057b1ca9c9bd
/core/views.py
49d2d84d2b27fb7ee828f7685fc2c656a7e45160
[]
no_license
JayjeetAtGithub/oth2
71c769150d132a253ce9a64da83442ed3409a592
d8be9b8e69d23c137045ce8485b27e08300db809
refs/heads/master
2020-03-22T14:04:51.838326
2018-07-16T18:11:18
2018-07-16T18:11:18
140,152,306
0
0
null
null
null
null
UTF-8
Python
false
false
3,524
py
from django.shortcuts import render from django.http import Http404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from .models import Player , Level , TotalLevel from .serializers import PlayerSerializer , LevelSerializer , TotalLevelSerializer ,...
[ "jc.github@rediffmail.com" ]
jc.github@rediffmail.com
b99feeb950808a1214d6463cae0a95bd16ba39f0
ffe4c155e228f1d3bcb3ff35265bb727c684ec1a
/Codes/file写入/compute_sum.py
64fade6866b28dd98f940d12e8ea81c8fefedaa8
[]
no_license
yuuee-www/Python-Learning
848407aba39970e7e0058a4adb09dd35818c1d54
2964c9144844aed576ea527acedf1a465e9a8664
refs/heads/master
2023-03-12T00:55:06.034328
2021-02-28T13:43:14
2021-02-28T13:43:14
339,406,816
0
0
null
2021-02-28T11:27:40
2021-02-16T13:26:46
Jupyter Notebook
UTF-8
Python
false
false
414
py
def main(): sum = 0.0 with open("bad_numbers.txt") as file: for n in file.read().split(): # try to convert n to a float, but if it # is not a valid float, print error message try: print(float(n)) sum += float(n) except Value...
[ "50982416+cyndereN@users.noreply.github.com" ]
50982416+cyndereN@users.noreply.github.com
4f836b2023d170e009b30b7f259ccce89b59b81b
a71582e89e84a4fae2595f034d06af6d8ad2d43a
/tensorflow/python/ops/ragged/ragged_dispatch.py
1115eee4129f202ecda914d185a6dc76e3187919
[ "Apache-2.0" ]
permissive
tfboyd/tensorflow
5328b1cabb3e24cb9534480fe6a8d18c4beeffb8
865004e8aa9ba630864ecab18381354827efe217
refs/heads/master
2021-07-06T09:41:36.700837
2019-04-01T20:21:03
2019-04-01T20:26:09
91,494,603
3
0
Apache-2.0
2018-07-17T22:45:10
2017-05-16T19:06:01
C++
UTF-8
Python
false
false
19,006
py
# Copyright 2018 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
e8fc72f8896f37d77f9f9932b028f806a12925f8
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/.spack/py-flake8/repos/builtin/packages/diffutils/package.py
8952c702f24bcbe8abf0601da117fd30156000b2
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-flake8-3.7.8-7lq4x5astf5jpy2hbaxfomootatxdraz/.spack/repos/builtin/packages/diffutils/package.py
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
c008e0806beaccc4d9526eb954576c58d6c04a90
98f078b52352ab08a8c9ac08a631a7ff1ac3fa63
/medeina/medeina/models.py
7e1e6b0c4f8958eb78d39da777536283f8675ab5
[]
no_license
Eimis/medeina
160ceed5044cec5640f272190d2a14d4428f01dc
3bd838798481f933d729f6104c8b1af29a6f587d
refs/heads/master
2020-03-08T11:14:11.198773
2018-04-08T14:23:29
2018-04-08T14:23:29
128,092,274
0
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
from django.contrib.auth.models import User from django.db import models from django.utils.encoding import python_2_unicode_compatible from medeina.managers import IssueManager from medeina.states import IssueStates from django_states.fields import StateField @python_2_unicode_compatible class IssueCategory(models....
[ "eimantas.stonys@gmail.com" ]
eimantas.stonys@gmail.com
20a2fc1f128171cfd7482a92a45a05bfee5e5344
f37fc031e3148597efaa7698320e2dff2c230aa7
/venv/Scripts/pip-script.py
33dd77e099dea2e08ab6c056fa2839aa3adc0dcf
[]
no_license
XiaoZzi/Crawl
74a4045299ee698acb75ba43cd3f378220bd763d
3201e2d5a1b41c0023a60c09aee2ed99d1ce6115
refs/heads/master
2020-03-24T18:40:09.643550
2018-07-30T15:06:56
2018-07-30T15:07:59
142,892,717
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
#!F:\Crawl\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( load_en...
[ "980850796@qq.com" ]
980850796@qq.com
b532663dbe99cf46e6de9766168e7521419f9b32
c59194e1908bac7fc0dd4d80bef49c6afd9f91fb
/CodeSignal/Python/SlitheringInStrings/ConvertTabs.py
5e77e7af1f1acf2c9b3f435b15c1daae37a49f38
[]
no_license
Bharadwaja92/CompetitiveCoding
26e9ae81f5b62f4992ce8171b2a46597353f0c82
d0505f28fd6e93b2f4ef23ad02c671777a3caeda
refs/heads/master
2023-01-23T03:47:54.075433
2023-01-19T12:28:07
2023-01-19T12:28:07
208,804,519
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
""" You found an awesome customizable Python IDE that has almost everything you'd like to see in your working environment. However, after a couple days of coding you discover that there is one important feature that this IDE lacks: it cannot convert tabs to spaces. Luckily, the IDE is easily customizable, so you deci...
[ "saibharadwaja92@gmail.com" ]
saibharadwaja92@gmail.com
1dad86a2398f0ba35ec7eae771277fb34b70e513
196d32dbe3d212974f90fec3fcf58ffbaf6fe654
/reward/utils/batch.py
34808a77074f4e623ee0de6058d2c4a6c213cd5f
[ "MIT" ]
permissive
lgvaz/reward
a4f1f418f39102225d7ee00a70fed33f1137051a
cfff8acaf70d1fec72169162b95ab5ad3547d17a
refs/heads/master
2021-10-10T08:16:29.151557
2019-01-08T10:08:57
2019-01-08T10:08:57
115,865,905
3
0
null
null
null
null
UTF-8
Python
false
false
843
py
import numpy as np import torch from torch.utils.data import DataLoader, TensorDataset from reward.utils.memories import SimpleMemory from reward.utils import to_tensor, join_first_dims, to_np from reward.utils.device import get class Batch(SimpleMemory): def __len__(self): return len(self["s"]) def...
[ "lucasgouvaz@gmail.com" ]
lucasgouvaz@gmail.com
6221e6442f60ee124158b3eabf124eddb05dd89f
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/100_Interactive_Python_Exercises_to_Boost_Your_Python_Skill/Section 4 Data Structures and Algorithms/Coding Exercise 26 Every Seven.py
9ed14197470bf07a70e6f73daeff5fd0cbe90d89
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
31
py
# ___ foo mylist # r_ ? ||?
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
adc0b9f134e3152c574524e73f31f45144d81956
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_savours.py
a906acbbfc694c29d8980efe7376d9c99028bb49
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.verbs._savour import _SAVOUR #calss header class _SAVOURS(_SAVOUR, ): def __init__(self,): _SAVOUR.__init__(self) self.name = "SAVOURS" self.specie = 'verbs' self.basic = "savour" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
008c3ed1df59cba2c6bce0b737ac840ef68508c2
c7f43c4cc0ee84a5fe246b67f51e30b8d726ebd5
/keras2/keras78_03_cifar10_ResNet50.py
3b90c7a4949262c3b1014362398e7aae04f63536
[]
no_license
89Mansions/AI_STUDY
d9f8bdf206f14ba41845a082e731ea844d3d9007
d87c93355c949c462f96e85e8d0e186b0ce49c76
refs/heads/master
2023-07-21T19:11:23.539693
2021-08-30T08:18:59
2021-08-30T08:18:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
# ResNet50 from tensorflow.keras.applications import ResNet50 from tensorflow.keras.datasets import cifar10 import numpy as np import pandas as pd from tensorflow.keras.utils import to_categorical from tensorflow.keras.applications.vgg16 import preprocess_input from tensorflow.keras.layers import Dense, Flatten from t...
[ "hwangkei0212@gmail.com" ]
hwangkei0212@gmail.com
47cf1a099f9594ba41114c905f4b027f41b1fb7a
930a868ae9bbf85df151b3f54d04df3a56bcb840
/benchmark/paper_weighted_union_find_on_XZZX/debug_code_capacity_noise_model/plot_weight_change/weight_change_neighbor.py
2eb2c091cdab7939f2048f5ca5ca59293dfc50aa
[ "MIT" ]
permissive
yuewuo/QEC-Playground
1148f3c5f4035c069986d8b4103acf7f1e34f9d4
462208458cdf9dc8a33d4553a560f8a16c00e559
refs/heads/main
2023-08-10T13:05:36.617858
2023-07-22T23:48:49
2023-07-22T23:48:49
312,809,760
16
1
MIT
2023-07-22T23:48:51
2020-11-14T12:10:38
Python
UTF-8
Python
false
false
3,171
py
import os, sys import subprocess, sys qec_playground_root_dir = subprocess.run("git rev-parse --show-toplevel", cwd=os.path.dirname(os.path.abspath(__file__)), shell=True, check=True, capture_output=True).stdout.decode(sys.stdout.encoding).strip(" \r\n") rust_dir = os.path.join(qec_playground_root_dir, "backend", "rust...
[ "yue.wu@yale.edu" ]
yue.wu@yale.edu
c023c176ead2dccd07efeef6792dfdb196aae49c
0eb6c70503c680ebec415016ff1b0cfac92486ca
/lincdm/blog/managers.py
4467fa3b95367eb9e9040e51170ef10107db77b1
[]
no_license
alexliyu/lincdm
c8b473946f59aca9145b3291890635474f144583
eab93285f0b03217ea041a7910edae7e00095cd8
refs/heads/master
2020-12-30T10:50:05.248988
2011-08-09T15:52:38
2011-08-09T15:52:38
1,464,255
0
0
null
null
null
null
UTF-8
Python
false
false
2,684
py
"""Managers of blog""" from datetime import datetime from django.db import models from django.contrib.sites.models import Site DRAFT = 0 HIDDEN = 1 PUBLISHED = 2 def tags_published(): """Return the published tags""" from tagging.models import Tag from lincdm.blog.models import Entry tags_entry_publi...
[ "alexliyu2012@gmail.com" ]
alexliyu2012@gmail.com
523050cba42f58cd7ac14e6992ad3f7708a17e55
ba2ad1187e447dc948e32ff1629935d2f05b7d59
/New folder/08 Accepting User Input In Tkinter Form.py
2bdfa914adfd1ad27b6475cf0c318faf44ff9aea
[]
no_license
kkgarai/Tkinter
14fce2e0bbbe013a439f0f7fff8a3e88d3a5370e
4ce77c22b1229484cdae5f8926011ca32fe0d9ba
refs/heads/master
2023-02-27T11:10:51.678239
2021-02-02T21:08:38
2021-02-02T21:08:38
295,819,467
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
from tkinter import * root = Tk() def getvals(): print("Submitting form") print( f"{namevalue.get(), phonevalue.get(), gendervalue.get(), emergencyvalue.get(), paymentmodevalue.get(), foodservicevalue.get()} ") with open("records.txt", "a") as f: f.write( f"{namevalue.get(),...
[ "you@example.com" ]
you@example.com
582c4ad65e1b6f2bff267c7119594dd2d2af4f26
30d360f965253167c99f9b4cd41001491aed08af
/PTFE_code/Old/rdf_ptfe.py
12cde9224cf10d6a131600e280ca7a988aaaa356
[]
no_license
petervanya/PhDcode
d2d9f7170f201d6175fec9c3d4094617a5427fb5
891e6812a2699025d26b901c95d0c46a706b0c96
refs/heads/master
2020-05-22T06:43:47.293134
2018-01-29T12:59:42
2018-01-29T12:59:42
64,495,043
1
0
null
null
null
null
UTF-8
Python
false
false
6,431
py
#!/usr/bin/env python """Usage: rdf_ptfe.py (--bead <b> | water) <fnames> [--L <L> --bins <nbins> --binalg <b>] Read xyz files and compute radial distribution function for any DPD beads or water beads (water is in both beads C and W): * C: 3 molecules (SO3+3H2O, bead 3) * W: 6 molecules (bead 4) ...
[ "peter.vanya@gmail.com" ]
peter.vanya@gmail.com
c66bd3c2ab4b0774d6d5247124b5b57b6b452835
b2716c78a38fcc0acee852c3e33bf110fa35f4f6
/Rem_pro/yes_no_app/migrations/0001_initial.py
adac69f943774781d801b67b55ffe04899f1a85d
[]
no_license
RajeshKumar-1998/Reminder-App
f381e8728af5694d5e0e627ed261886a20b45318
985a1ee548b8a5b1a9970a9421cac4c98d6fc3b4
refs/heads/master
2022-11-07T00:27:30.348065
2020-06-19T11:28:35
2020-06-19T11:28:35
259,647,627
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# Generated by Django 2.2.7 on 2019-12-03 23:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Todorem', fields=[ ('id', models.AutoField(...
[ "57509232+Rajeshkumar-dev-cloud@users.noreply.github.com" ]
57509232+Rajeshkumar-dev-cloud@users.noreply.github.com
bae8017147a594e2103ce78cf22b3560ebbb921d
68c37d6a87113fb992126e9806a78896d1727c43
/examples/wrap_protos/python/wrap_protos_test.py
dd8e3e8c73c9fec00c9ebd62bbdad2337b427a09
[ "Apache-2.0" ]
permissive
Pandinosaurus/clif
1b8be31a0b1b45b11d93fe2d7b3f359f69d9075f
87eed3999dba9f8d160c6b735e1803640d019289
refs/heads/master
2021-04-09T13:53:23.744431
2020-09-11T01:53:03
2020-09-11T01:53:03
125,673,546
1
0
Apache-2.0
2020-09-11T04:35:26
2018-03-17T22:20:42
C++
UTF-8
Python
false
false
2,310
py
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "mrovner@google.com" ]
mrovner@google.com
b944c87d448e9067ff47da684933ca3c2636ec8c
297497957c531d81ba286bc91253fbbb78b4d8be
/third_party/rust/encoding_rs/generate-encoding-data.py
4dfb5adc686b716ece27c03e8d980a78de605f17
[ "Apache-2.0", "BSD-3-Clause", "MIT", "CC0-1.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
57,123
py
import json import subprocess import sys import os.path if (not os.path.isfile("../encoding/encodings.json")) or (not os.path.isfile("../encoding/indexes.json")): sys.stderr.write("This script needs a clone of https://github.com/whatwg/encoding/ (preferably at revision f381389) next to the encoding_rs dir...
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
318b1eb3d3c2cefce03b58798d8e9617e20f6b8b
2a4bb0307d903678c3b51d1e2c8b7a53ee4ae26e
/backend/chat/api/v1/urls.py
99a41c839549f4bde6227190e323d88b69862120
[]
no_license
crowdbotics-apps/came2mind-20661
37835754c6b3fae6920b3f43bd5e9e1b824548f6
5eaed44b4b116ab89f9ae5f5ce4e2f314ae33172
refs/heads/master
2022-12-24T08:45:31.081668
2020-09-25T03:15:03
2020-09-25T03:15:03
298,455,069
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .viewsets import ( MessageViewSet, ThreadMemberViewSet, MessageActionViewSet, ThreadActionViewSet, ForwardedMessageViewSet, ThreadViewSet, ) router = DefaultRouter() router.register("forwardedmessage", F...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ec9e9967a9d35ecb9c137b87d2b0304e54b3bf9f
eefb06b0d8c8c98c1e9cfc4c3852d5c453eb5429
/data/input/anchor/make-magic/core/store.py
6c8c1ab79e867d22aa00a08806097d60a5d46324
[]
no_license
bopopescu/pythonanalyzer
db839453bde13bf9157b76e54735f11c2262593a
8390a0139137574ab237b3ff5fe8ea61e8a0b76b
refs/heads/master
2022-11-22T02:13:52.949119
2019-05-07T18:42:52
2019-05-07T18:42:52
282,079,884
0
0
null
2020-07-23T23:46:09
2020-07-23T23:46:08
null
UTF-8
Python
false
false
2,808
py
#! /usr/bin/env python '''persistant storage of state data We need some way to keep track of Tasks that are being worked on, the state of items etc. It would be even cooler if that data was to hang around when the process was gone. ''' try: import pymongo except: pass # allow import where noone is using the MongoSto...
[ "rares.begu@gmail.com" ]
rares.begu@gmail.com
4ca0d26c31143eecceec45ee9e2ea01a0526ef94
19da8356b07108c640ca107729a183670829a694
/tests/storage/test_observable.py
6fc02760b8a477088fb6b63a3e5b6bb7a9068638
[ "Apache-2.0" ]
permissive
kolotaev/vakt
2ebbc59f7ece8a3ad27ee9e77b3a9cb62509df6b
3a669d058b64c9c0aa75aa72745049d25635d292
refs/heads/master
2023-05-25T13:11:12.988351
2023-04-12T11:16:03
2023-04-12T11:16:03
115,222,029
154
27
Apache-2.0
2023-05-22T21:37:17
2017-12-23T21:10:41
Python
UTF-8
Python
false
false
3,548
py
import pytest from vakt.storage.memory import MemoryStorage from vakt.storage.observable import ObservableMutationStorage from ..helper import CountObserver from vakt import Policy, Inquiry class TestObservableMutationStorage: @pytest.fixture() def factory(self): def objects_factory(): m...
[ "kolotaev@tut.by" ]
kolotaev@tut.by
2eda2a6491ee50990066f2822c92a82bbc2bf67d
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/keras/api/_v2/keras/applications/efficientnet/__init__.py
a1937c921b8c52bf1875287a5e3e4aecfbfc8217
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:31d32b42c854a00b62bce6763a16a669094ee5a52103e00e97a238c43ef7234c size 894
[ "business030301@gmail.com" ]
business030301@gmail.com
fb14339c19c7c98a958d8c1a2f148ae76f946893
6268a19db5d7806b3a91d6350ec2777b3e13cee6
/old_stuff/code/mlcv-exp_01/src/utils/fpha.py
e9b04c766cd61753ea10d92891cc0009d77a9fe8
[]
no_license
aaronlws95/phd_2019
3ae48b4936f039f369be3a40404292182768cf3f
22ab0f5029b7d67d32421d06caaf3e8097a57772
refs/heads/master
2023-03-22T14:38:18.275184
2021-03-21T11:39:29
2021-03-21T11:39:29
186,387,381
0
0
null
null
null
null
UTF-8
Python
false
false
7,871
py
from pathlib import Path import numpy as np from src import ROOT # ======================================================== # CONSTANTS # ======================================================== ORI_WIDTH = 1920 ORI_HEIGHT = 1080 REORDER_IDX = [0, 1, 6, 7, 8, 2, 9, ...
[ "aaronlws95@gmail.com" ]
aaronlws95@gmail.com
85c95a3b601684446b03adad7c6161cdc1be33ba
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/final/high_overhead/job58.py
61a74ad5fb05cb5f37bbeece917ae726b6d199bf
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
7,328
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
e10826db48bc30e47dd014c15a1662c7c79db3f1
27696870511ac02b75e4389fa4b54afa0f3978d0
/mysite/apps/users/forms.py
ed7cf48fadccff4eab2da9a21a8251c423c7a5d2
[]
no_license
tminlun/OnlineEducation
ef4f7f6a3742b10dcaf4d263a9366fa1446d73fe
5008aeaa14a15b799d37fadd44c1c17b9ade7a68
refs/heads/master
2020-04-09T19:01:22.747193
2019-02-05T03:15:56
2019-02-05T03:15:56
160,531,635
1
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
from captcha.fields import CaptchaField from django import forms from .models import UserProfile class LoginForm(forms.Form): """登录验证表单""" username = forms.CharField(required=True) password = forms.CharField(required=True, min_length=6) class RegisterForm(forms.Form): """注册验证表单""" username = for...
[ "you@example.com" ]
you@example.com
6871dbe97578fe8557bb9d770b9e99836a77fab7
ebf7427c8605d8654c67e3386b8adb2bd7503b44
/LeetCode Pattern/3. Backtracking/78_med_subsets.py
531b1f975ffeb5fe748d8104138d4181755a7f74
[]
no_license
ryoman81/Leetcode-challenge
78e5bc4800a440052f8515c75829e669484fed40
fac3a49c49d2f62eafffb201a9d9cfac988ad30a
refs/heads/master
2023-09-04T05:21:54.569459
2021-10-26T14:14:08
2021-10-26T14:14:08
291,615,959
7
2
null
null
null
null
UTF-8
Python
false
false
1,345
py
''' Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the solution in any order. Example 1: Input: nums = [1,2,3] Output: [[],[1],[2],[1,2],[3],[1,3],[2,3],[1,2,3]] Example 2: Input: nums = [0] Output: [[],[0]] Co...
[ "sqygg1002@gmail.com" ]
sqygg1002@gmail.com