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
31190276e32a27dad05e9d3220b147ad38baa117
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_muddy.py
41e363e748cd032b248f751ce2659ebafad53748
[ "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
452
py
#calss header class _MUDDY(): def __init__(self,): self.name = "MUDDY" self.definitions = [u'covered by or containing mud (= wet, sticky earth): ', u'Muddy colours are dark and not bright: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' d...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
927e264ac873a64922c86321b331df07609db0d4
636ba2700eaf3a151b73144b510f38c75ab1919d
/keras/keras35_1_save_model.py
35f85681b362ff08ea32bb2059a9d68da542c865
[]
no_license
Taerimmm/ML
17997f388e18c28dfd9de83af98a6d4bebe7e1f0
6147cede81ebcc95f21adebf75731fbbb11edfab
refs/heads/master
2023-06-10T14:26:45.335219
2021-07-05T15:30:47
2021-07-05T15:30:47
324,874,959
3
0
null
null
null
null
UTF-8
Python
false
false
502
py
import numpy as np from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, LSTM # 2. 모델 model = Sequential() model.add(LSTM(100, input_shape=(4,1))) model.add(Dense(100)) model.add(Dense(50)) model.add(Dense(20)) model.add(Dense(10)) model.add(Dense(1)) model.summary() # 모델 저장 mode...
[ "xofla7560@naver.com" ]
xofla7560@naver.com
362050d0f67cdd3a82fa692b57b4f6a96b31ecda
1afec7d1d3099138b5afe5fd73dfd3d24ff4eb15
/test/functional/rpc_decodescript.py
904884e85356b1e699761b7efd26ee897d8e300a
[ "MIT" ]
permissive
republic-productions/finalcoin
5c7c6b0734178fe22db63f0946ec555f59e8d0eb
7c0f335ded1e5c662034c822ca2c474b8e62778f
refs/heads/main
2023-09-04T17:04:32.683667
2021-10-14T17:45:22
2021-10-14T17:45:22
417,209,088
0
0
null
null
null
null
UTF-8
Python
false
false
16,563
py
#!/usr/bin/env python3 # Copyright (c) 2015-2019 The Finalcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test decoding scripts via decodescript RPC command.""" from test_framework.messages import ( sha...
[ "republicproductions@protonmail.com" ]
republicproductions@protonmail.com
b119c0a1404f4ccaa295a74a5f76aaf5e20dbc23
1bf9f6b0ef85b6ccad8cb029703f89039f74cedc
/src/vmware/azext_vmware/vendored_sdks/avs_client/operations/_addons_operations.py
0f85357fa76dccd8f3b8d3cc1ebe916eb7c3b656
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
VSChina/azure-cli-extensions
a1f4bf2ea4dc1b507618617e299263ad45213add
10b7bfef62cb080c74b1d59aadc4286bd9406841
refs/heads/master
2022-11-14T03:40:26.009692
2022-11-09T01:09:53
2022-11-09T01:09:53
199,810,654
4
2
MIT
2020-07-13T05:51:27
2019-07-31T08:10:50
Python
UTF-8
Python
false
false
21,936
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
VSChina.noreply@github.com
78767d09cb55b49c70a67818fcfb61a54b1046cb
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/16. Database Design/Chapter/02. Database Schemas and Normalization/05-Querying the snowflake schema.py
8045a0c972ede22133132f6aa03e7bcea5a0340c
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
''' Querying the snowflake schema Imagine that you didn't have the data warehouse set up. Instead, you'll have to run this query on the company's operational database, which means you'll have to rewrite the previous query with the following snowflake schema: The tables in this schema have been loaded. Remember, ou...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
93b501ff38bffb8f345c4c0bf2122482a1be3aa7
7d958671a6202d9205ee0dd1166396bc4be2c228
/tsuru_autoscale/event/views.py
898f90e80b056bebe8844c92bd5d8506593ea797
[]
permissive
tsuru/tsuru-autoscale-dashboard
520aa8bd2da51d2cb983d967b8bec79ee13904f7
56abbb7ecb6dca1e6dfa831ed76111597f35a43d
refs/heads/master
2023-06-01T08:23:38.115200
2022-08-23T17:10:36
2022-08-23T17:10:36
34,817,317
11
6
BSD-3-Clause
2023-05-22T21:34:49
2015-04-29T20:43:28
Python
UTF-8
Python
false
false
306
py
from django.shortcuts import render from tsuru_autoscale.event import client def list(request, alarm_name): token = request.GET.get("TSURU_TOKEN") events = client.list(alarm_name, token).json() context = { "list": events, } return render(request, "event/list.html", context)
[ "andrewsmedina@gmail.com" ]
andrewsmedina@gmail.com
d2eabe0ccd2caedcd429675c7a8a63be1ba55845
ad357cfbec64afb8f4cc4043b212996768f9755c
/api/action_plans/migrations/0004_actionplan_current_status.py
d41968976a5e8a034bf91b5eda03a3a1ae2e2751
[ "MIT" ]
permissive
uktrade/market-access-api
6b4680e6455eb5c25480ccd3e3d9445654269f36
4da26d1be53843d22411577409d9489010bdda09
refs/heads/master
2023-08-30T14:47:10.373148
2023-08-29T13:58:08
2023-08-29T13:58:08
131,856,014
2
3
MIT
2023-09-14T08:04:42
2018-05-02T13:38:37
Python
UTF-8
Python
false
false
411
py
# Generated by Django 3.1.10 on 2021-06-15 18:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('action_plans', '0003_auto_20210615_1844'), ] operations = [ migrations.AddField( model_name='actionplan', name='cur...
[ "noreply@github.com" ]
uktrade.noreply@github.com
a904056ed74235ecce5241ab097366d2c4d1064a
ef2d9fcdc29655f7da9b2ea5bd03b03c4bf9c2b9
/award/forms.py
f7a3542eba8c2024495f20eaaaad1b0ae67d877a
[]
no_license
Jackson-coder-arch/Week3-IP
7283129bae0263bb1f1ec4f067aa004c1796469c
3248307e100c542975f9eb5a2f23a351ef8802a7
refs/heads/master
2023-04-01T07:39:46.720316
2021-04-08T08:28:39
2021-04-08T08:28:39
354,091,958
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
from django import forms from django.forms import ModelForm from .models import Project, Profile, Rating, Review from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm class ProjectForm(forms.ModelForm): class Meta: model = Project fields = ('name','im...
[ "jacksonikonya@gmail.com" ]
jacksonikonya@gmail.com
c7cf1f8bc2169081708255693c291ef200e7cf2d
9139abff4dfec3c4c0623e42db2d44a866595752
/lagom/envs/wrappers/vec_standardize_observation.py
0507cf0f022d00a95b2796dfa3ef411aad505fa4
[ "MIT" ]
permissive
LorinChen/lagom
42e7c0c89c356b1cc7c160f12517fa01693e91c5
273bb7f5babb1f250f6dba0b5f62c6614f301719
refs/heads/master
2020-07-20T17:46:45.648603
2019-08-13T13:20:57
2019-08-13T13:20:57
206,686,173
1
0
MIT
2019-09-06T01:16:27
2019-09-06T01:16:24
null
UTF-8
Python
false
false
2,498
py
import numpy as np from lagom.transform import RunningMeanVar from lagom.envs import VecEnvWrapper class VecStandardizeObservation(VecEnvWrapper): r"""Standardizes the observations by running estimation of mean and variance. .. warning:: To evaluate the agent trained on standardized observ...
[ "zuoxingdong@hotmail.com" ]
zuoxingdong@hotmail.com
6f334bf77ea76460049f1d3fa0c7bca6f3d460a3
f3b233e5053e28fa95c549017bd75a30456eb50c
/p38a_input/L2T/2T-2J_MD_NVT_rerun/set_3.py
6fca43aa0d58abb3ae87377e73faecf5c328af53
[]
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
740
py
import os dir = '/mnt/scratch/songlin3/run/p38a/L2T/MD_NVT_rerun/ti_one-step/2T_2J/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_3.in' temp_pbs = filesdir + 'temp_3.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] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
9f849fb8840dd75f8cb2cab2ce55da7520d1b95f
fad9600919055a160d5fa53f2d54278f373685c5
/archive/io_mesh_msh/mshImport2.py
526b0833268a2e0fcdd42cf8c160b5489ad6323c
[]
no_license
miklobit/blenderpython
f666ef26db6be03a1b1fe6a7f2cb5e31aad1b423
2b0e93437ac5e894e990ebc18c1d713b5f7ebe29
refs/heads/master
2021-01-15T09:33:31.092850
2015-04-11T12:22:03
2015-04-11T12:22:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,691
py
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program 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 2 # of the License, or (at your option) any later version. # # This program is distrib...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
625fc27220aca42beb67b339b282954b5aa1e91c
4e95bf83a066a76cd1910fea4a02e3bca795c689
/posts/views.py
47484692277e3bcc011e4f4943a167fe05669a14
[]
no_license
RootenberG/crud_app_drf
57f7f3d72d6104478dd41f8812ae71d10694f0a5
ee6dc8b83d30792525823d883a940fc72bdf5a62
refs/heads/master
2023-08-25T04:05:01.161653
2020-06-26T21:34:30
2020-06-26T21:34:30
274,443,481
0
0
null
2021-09-22T19:18:36
2020-06-23T15:34:49
JavaScript
UTF-8
Python
false
false
700
py
from rest_framework import viewsets from rest_framework.permissions import IsAuthenticatedOrReadOnly from .mixins import LikedMixin from .models import Post, Comment from .permissions import IsAuthorOrReadOnly from .serializers import PostSerializer, CommentSerializer class PostViewSet(LikedMixin, viewsets.ModelView...
[ "savichevdenis244@gmail.com" ]
savichevdenis244@gmail.com
a98093204444c84c39f5af87c020227d99abbd9d
0124528676ee3bbaec60df5d6950b408e6da37c8
/Projects/QTPy/adafruit-circuitpython-bundle-7.x-mpy-20220601/examples/displayio_layout_tab_layout_simpletest.py
20ad427d80b2fe555aed6518bfa23095a35ec6e8
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
land-boards/lb-boards
8127658dc537dcfde0bb59a5018ab75c3f0087f6
eeb98cc2003dac1924845d949f6f5bd387376568
refs/heads/master
2023-06-07T15:44:46.110742
2023-06-02T22:53:24
2023-06-02T22:53:24
4,847,305
10
12
null
null
null
null
UTF-8
Python
false
false
4,076
py
# SPDX-FileCopyrightText: 2022 Tim C # # SPDX-License-Identifier: MIT """ Make a TabLayout and illustrate the most basic features and usage. """ import time import displayio import board import terminalio from adafruit_display_text.bitmap_label import Label from adafruit_display_shapes.rect import Rect from adafruit_di...
[ "doug@douglasgilliland.com" ]
doug@douglasgilliland.com
c839d12b7e17ef381ac1a8bcaf64d3875daeda26
daee54824cb107f9b5749e3c12e7f09f544bac0e
/modules/insight/tpgac.py
eac2aff57b60cb9db59fd5fccefb846468bf138e
[]
no_license
JoonVan/devide
8fa556d2b42c5ad70c3595303253f2a171de0312
586225d68b079e2a96007bd33784113b3a19a538
refs/heads/master
2020-12-26T06:25:01.744966
2017-01-22T19:47:50
2017-01-22T19:47:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,998
py
# Copyright (c) Charl P. Botha, TU Delft # All rights reserved. # See COPYRIGHT for details. import itk import module_kits.itk_kit as itk_kit from module_base import ModuleBase from module_mixins import ScriptedConfigModuleMixin class tpgac(ScriptedConfigModuleMixin, ModuleBase): def __init__(self, module_manag...
[ "cpbotha@users.noreply.github.com" ]
cpbotha@users.noreply.github.com
f98b3389795bfe5693e4f156f992b5387ca3f40e
f96937b4f6ee9865413978fb85fa2e99e2f842ff
/lessons/migrations/0029_auto_20160923_1041.py
b81da1eccde3c7913d6e327947e396532af6ade6
[]
no_license
mrjoshida/curriculumbuilder
8adf22d91eae2f3205b177e18dbd8a0909fb2d58
3b700d6a6fea6d1d7d7ed18d5612d6e0853449c3
refs/heads/master
2021-01-17T02:28:11.094855
2019-10-17T22:47:46
2019-10-17T22:47:46
36,847,693
6
3
null
null
null
null
UTF-8
Python
false
false
1,045
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import jsonfield.fields import mezzanine.core.fields class Migration(migrations.Migration): dependencies = [ ('lessons', '0028_lesson_questions'), ] operations = [ migrations.AddFiel...
[ "josh@code.org" ]
josh@code.org
0a4e03320954118da6e7c47bae562a2d28f484ea
6fc9e93c883d36a9da92a9f907127925e41d49c3
/dpipe/video_reader.py
be5a03827cc0346565053e994442a5ee79ef3721
[ "Apache-2.0" ]
permissive
aiporre/multidataloader
add19491012aaf38bac22c5ee5bc8bb87029d340
61bac3bddc5ac99a82f6d39a23b446a1372cab7f
refs/heads/master
2023-04-08T15:02:51.540935
2023-02-21T06:27:25
2023-02-21T06:27:25
238,936,055
9
0
Apache-2.0
2023-03-25T00:55:08
2020-02-07T13:58:20
Python
UTF-8
Python
false
false
595
py
def _cv2_vread(path): import cv2 import numpy as np cap = cv2.VideoCapture(path) frameCount = int(cap.get(cv2.CAP_PROP_FRAME_COUNT)) frameWidth = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH)) frameHeight = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT)) buf = np.empty((frameCount, frameHeight, frameWidth...
[ "ariel.iporre.rivas@gmail.com" ]
ariel.iporre.rivas@gmail.com
c9db1995f99b7059a2d889e20446f7febb76e851
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Sklearn_arm/source/joblib/externals/loky/backend/popen_loky_posix.py
970dead0b4b45b05e53ac8daf5eaf7fe7870c416
[ "MIT" ]
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
7,113
py
############################################################################### # Popen for LokyProcess. # # author: Thomas Moreau and Olivier Grisel # import os import sys import signal import pickle from io import BytesIO from . import reduction, spawn from .context import get_spawning_popen, set_spawning_popen from...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
f4d1a6180c81f2f6aa2f6416c1fe676d24073b5f
bc08bab7959045d3f051d66c901b8ca364b71c49
/plugins/exalead.py
662934d466e521a24e5becf0b067898423d65c92
[]
no_license
PatronSaintOwl/email-harvester
4c7c5c0f9eef359ffb12b8e24795ef2e7b6b2d43
cd2644e51720432723c8259e10836a28d9af949d
refs/heads/master
2023-04-13T04:00:54.198410
2020-11-17T11:47:42
2020-11-17T11:47:42
314,182,506
0
0
null
2023-04-03T23:53:11
2020-11-19T08:26:36
null
UTF-8
Python
false
false
521
py
#!usr/bin/env/python app_emailharvester = None def search(domain, limit): url = "http://www.exalead.com/search/web/results/?q=%40{word}&elements_per_page=10&start_index={counter}" app_emailharvester.init_search(url, domain, limit, 0, 50, 'Exalead') app_emailharvester.process() return app_emailharveste...
[ "krisna.pranav@gmail.com" ]
krisna.pranav@gmail.com
3e9a8096749408a7523cab2136ccab0e37552f70
2d0bada349646b801a69c542407279cc7bc25013
/src/vai_quantizer/vai_q_tensorflow2.x/tensorflow_model_optimization/python/core/quantization/keras/vitis/vai_q_tensorflow/tools/reset_onnx_weights.py
855ac7a8806f67975bb03f93007a2471ee319896
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
Python
false
false
1,627
py
import onnx from onnx import numpy_helper import numpy as np model_name = "mlperf_resnet50" # model_name = "sd" model_path = "./{}/quantized.onnx".format(model_name) save_path = "./{}_reset_weights.onnx".format(model_name) model = onnx.load(model_path) graph = model.graph inits = graph.initializer init_map = {} for...
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
4a73ecb5ca9151ab3ee4c0d6352e8cf3cbf3ab63
1e0355b293100873cedfcac789655a35180781db
/BOJ10177.py
dcf63c2f0429177a13c906108bacd8ac57e4fb06
[ "MIT" ]
permissive
INYEONGKIM/BOJ
47dbf6aeb7a0f1b15208866badedcd161c00ee49
5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc
refs/heads/master
2021-06-14T13:50:04.124334
2021-03-09T14:04:14
2021-03-09T14:04:14
168,840,573
2
0
null
null
null
null
UTF-8
Python
false
false
703
py
r="" for _ in range(int(input())): n=int(input());a=[];f=True for _ in range(n): a.append([int(i) for i in input().split()]) th=sum(a[0]) for i in range(1,n): if sum(a[i])!=th: f=False break if f: for i in range(n): t=0 for j in...
[ "noreply@github.com" ]
INYEONGKIM.noreply@github.com
dc10f71844bc1da5303d2a6190e89f4c85848a47
ceb8e7c0d8b8be7b2570162f4bc77944ac67a8c4
/Transfomer_ViT/models/losses.py
8fa8b131a3140f2f0d26db66d558a2cd9ab5a113
[]
no_license
Yagami360/MachineLearning_Exercises_Python_PyTorch
9cf036bc443b6b6786448cb47dd286cc5516f58e
97e1bd1eebc528d8c682a41031c750fa2066a713
refs/heads/master
2022-04-28T12:43:22.080804
2022-04-05T06:39:01
2022-04-05T06:39:01
167,186,108
18
1
null
null
null
null
UTF-8
Python
false
false
7,575
py
# -*- coding:utf-8 -*- import os import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torchvision import models #============================================= # Cross entropy loss #============================================= class ParsingCrossEntropyLoss(nn.Module): def __i...
[ "y034112@gmail.com" ]
y034112@gmail.com
2ec62867bb3cfe7783b988310c5337fbacf06d88
d833487ba7a78e900ce535d60c123986ab5ebfee
/Strings/7. Pattern Matcher/Solution.py
260e6156458082d7e4b31dd99cb1eafed7758073
[]
no_license
ceteongvanness/Algorithm-Python
b71af3bca4d2573f4a0d18dc991012b996746d6a
0151e7bac3f4032bbc76caa209bb63cdfa8a581e
refs/heads/master
2023-01-31T04:17:22.425719
2020-12-14T05:21:15
2020-12-14T05:21:15
263,880,376
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
# O(n^2 + m) time | O(n + m) space def patternMatcher(pattern, string): if len(pattern) > len(string): return[] newPattern = getNewPattern(pattern) didSwitch = newPattern[0] != pattern[0] counts = {"x": 0, "y": 0} firstYPos = getCountsAndFirstYPos(newPattern, counts) if counts["y"] != 0: for lenOfX in rang...
[ "ceteongvanness@hotmail.com" ]
ceteongvanness@hotmail.com
42f1de1ed9fa0fb7d5262b06da1864a17ccd9226
5ca4a0d91f5bd119e80478b5bd3d43ed30133a42
/film20/userprofile/admin.py
87fe205dcedba7b6075d9c8d1cd566f1ccb2f4ef
[]
no_license
thuvh/filmmaster
1fc81377feef5a9e13f792b329ef90f840404ec5
dd6a2ee5a4951b2397170d5086c000169bf91350
refs/heads/master
2021-01-17T16:10:54.682908
2012-04-29T18:19:52
2012-04-29T18:19:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
#------------------------------------------------------------------------------- # Filmaster - a social web network and recommendation engine # Copyright (c) 2009 Filmaster (Borys Musielak, Adam Zielinski). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Af...
[ "email@ibrahimcesar.com" ]
email@ibrahimcesar.com
ad11546c24d250f639f8b1d475310fa539179fce
8afa102361ec7af7e52b722050b015c74d578230
/pickEvents_740_mc/DIGIUP15_PU25.py
14ee62aaa4fbf129db4e99c967f393babb4fe8d8
[]
no_license
schoef/rerecoTools
5a7c1f2e9631a11499e3f6507a9a3ad0ad88fe70
7618a832a983d9a797a5b03f55a4d06f1e483fdc
refs/heads/master
2020-04-12T01:46:59.879883
2017-03-29T20:59:14
2017-03-29T20:59:14
34,100,533
0
0
null
null
null
null
UTF-8
Python
false
false
6,791
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: step2 --conditions auto:run2_mc --pileup_input das:/RelValMinBias_13/CMSSW_7_4_0_pre7-MCRUN2_74_V7-v1/GEN-SIM -n 10 --eventcontent FEVTDEBU...
[ "robert.schoefbeck@cern.ch" ]
robert.schoefbeck@cern.ch
e47bc8c1d9f7a8d8cd654220cd4ba5221da01f36
b96a4062f5ad420dd02efed82b47dd9c249cb46c
/pytorch_lightning/trainer/callback_hook.py
f292f5a78bc65bc774546f9e4bada478c415ec84
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
borisdayma/pytorch-lightning
ebc210a1e7901b5f87ab67e4886bfe20b478fe33
4b7c0fae00084b72dffe37fdd0ea7d2e9b60d103
refs/heads/master
2021-11-23T07:34:01.842134
2021-02-19T17:00:27
2021-02-19T17:00:27
238,756,095
1
1
Apache-2.0
2020-02-06T18:27:51
2020-02-06T18:27:50
null
UTF-8
Python
false
false
9,604
py
# Copyright The PyTorch Lightning team. # # 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...
[ "noreply@github.com" ]
borisdayma.noreply@github.com
ca670d9b704d57ebc726682de7bb70aad0318fbb
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/eventhub/azure-mgmt-eventhub/generated_samples/private_end_point_connection_get.py
72a0e92eed06e0a332f3762802813e53d1ad3936
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,665
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
9847114744af83ec32039de3082aa2899e27f2d5
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_54/321.py
57328e2ae34e0135c257fbe0466ac0992e28cc89
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
def even(x): return (x % 2 == 0) def gcd(x, y): if (x < y): return gcd(y, x) if (y == 0): return x else: if even(x): if even(y): return (gcd(x >> 1, y >> 1) << 1) else: return gcd(x >> 1, y) else: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2511c448031af58c8c57c3e68ee027d1752fee7c
0c03fcf9b3bdb43473a740935c4bf028b40e5ec4
/AegisServer/BowserCountry/earth.py
a774c66c29b08f5259fc9bc7d995a2a4e6c48d22
[]
no_license
Bowserinator/AegisServer2
afe6b7fbd826e031a00aec94501db7f88a133b5f
06fc64e54adcaf82ff9a62f1047f5aee5c07672a
refs/heads/master
2021-01-01T03:56:38.310579
2016-05-24T22:21:19
2016-05-24T22:21:19
59,434,565
0
2
null
2016-10-28T23:47:40
2016-05-22T21:10:50
Python
UTF-8
Python
false
false
379
py
COAL = 100.0 #Coal left in the world, decreases by coal power plants and factories URANIUM = 100.0 #Uranium left in the world, used up by nukes and nuclear powerplants TEMPERATURE = 14.6 #Average global temp in C MONEY = 0 #Sum of every nation's money #GLOBAL DISASTERS #SUPER VOLCANO, once every 2000 years #SUPERSTOR...
[ "bowserinator@gmail.com" ]
bowserinator@gmail.com
b3bf93f04644a4a58d190fb29b045ea9243dda21
71e324d2e7c9557a9cfec01997a44a66539ac2e6
/Chapter_07/module_os.py
e49185c51e0219eb7c2e6e2d32a13cdf5f4b0496
[]
no_license
ulillilu/Python_Practice
2706a72b22243f4d76bf239f552bd7da2615c1ef
f2b238176f7e68b3fa0674ce4951aaa4206c15d3
refs/heads/master
2022-11-29T17:58:52.035022
2020-08-13T17:01:49
2020-08-13T17:01:49
287,334,050
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
#os 모듈 import os print("현재 운영체제:", os.name) print("현재 폴더:", os.getcwd()) print("현재 폴더 내부의 요소:", os.listdir()) #폴더가 비어있는 경우 폴더 생성 및 제거 os.mkdir("hello") os.rmdir("hello") with open("original.txt", "w") as file: file.write("hello") os.rename("original.txt", "new.txt") os.remove("new.txt") os.sys...
[ "noreply@github.com" ]
ulillilu.noreply@github.com
e96bfc0c5d09aa92ca46ac4949e371852cadc686
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_watchers_operations.py
380d7595c837690ed1ba78a3aef8e32629b92942
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
100,341
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
paultaiton.noreply@github.com
0b1bf22d33106b6a7b4b525b4463f039dc12694a
0cd64f3f67c6a3b130a788906da84ffc3d15396a
/Library/lib/python3.9/site-packages/sympy/functions/special/bessel.py
c57b2dadb7c320795feacb1bc1389d89aea0a1f8
[ "BSD-3-Clause", "0BSD", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-python-cwi", "Python-2.0", "MIT" ]
permissive
Ryorama/codeapp
32ef44a3e8058da9858924df211bf82f5f5018f1
cf7f5753c6c4c3431d8209cbaacf5208c3c664fa
refs/heads/main
2023-06-26T09:24:13.724462
2021-07-27T17:54:25
2021-07-27T17:54:25
388,520,626
0
0
MIT
2021-07-22T16:01:32
2021-07-22T16:01:32
null
UTF-8
Python
false
false
57,277
py
from functools import wraps from sympy import Add, S, pi, I, Rational, Wild, cacheit, sympify from sympy.core.function import Function, ArgumentIndexError, _mexpand from sympy.core.logic import fuzzy_or, fuzzy_not from sympy.core.power import Pow from sympy.functions.combinatorial.factorials import factorial from symp...
[ "ken.chung@thebaselab.com" ]
ken.chung@thebaselab.com
67dc55ea77ef89e1149a5d0f1f61ed69cc2faba5
f0878fc502a45d11016322b3922f98fea922eeda
/test/Scripts/createfontdatachunk.py
3457279fee7131e4e30b5b8aa046627e84c8e43e
[]
no_license
yuong1979/voterablev2
8ab4a4248a28542b347fe330dcd75dc055d8a5dc
00385a100589c2e8e8f2d405552f11a9634df24e
refs/heads/master
2022-12-10T09:34:57.706011
2020-09-16T14:43:40
2020-09-16T14:43:40
296,034,393
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
#!c:\users\yu\desktop\voterable\test\scripts\python.exe from __future__ import print_function import base64 import os import sys if __name__ == "__main__": # create font data chunk for embedding font = "Tests/images/courB08" print(" f._load_pilfont_data(") print(" # %s" % os.path.basename(fo...
[ "yuong1979@gmail.com" ]
yuong1979@gmail.com
c9594ca839162fd4b3dfe7ceebd0af65a10fd3f0
0064d4b6f3908b2989a7965e49afa3f4bf65d095
/python/opencv.py
f9f1dda24afc6a5ff4dd1ca3bb1a73056ca4857e
[]
no_license
MyHiHi/myLeetcode
d7a5c1c3a3a30ba517183f97369ed6c95e90cae3
ca36041af7f73d91c95cdbe9599ac5ec15a1243c
refs/heads/master
2021-05-20T08:29:37.017725
2020-05-03T05:17:05
2020-05-03T05:17:05
252,196,933
2
0
null
null
null
null
UTF-8
Python
false
false
3,406
py
import PySimpleGUI as sg # pip install pysimplegui import cv2 # pip install opencv-python import numpy as np # pip install numpy # 背景色 sg.theme('LightGreen') # 定义窗口布局 layout = [ [sg.Image(filename='', key='image')], [sg.Radio('None', 'Radio', True, size=(10, 1))], [sg.Radio('threshold', 'Radio...
[ "909535692@qq.com" ]
909535692@qq.com
f0730b0b82081c20866c34bbb760866343e22d1d
1c6a83c0334b616569a5fd94ffaa37ea8cf605b6
/voiceAssistant/Text_classification/test_2.py
5a45d941fc5e97a7cd67e8df29282094d28bc0b9
[]
no_license
xiejunbiao/cloudbrain-assistant
711368bc9c91762df6680e90cd4063c04d27e3dd
f363453025fde1d8f1bdbac6928452940b70f234
refs/heads/master
2022-12-11T19:04:32.264349
2020-08-27T14:04:51
2020-08-27T14:04:51
290,790,010
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
from voiceAssistant.Text_classification.test_1 import S class B(object): def __init__(self): self.S = S() def b1(self): return self.S.s1(12)
[ "996790454@qq.com" ]
996790454@qq.com
63159bf343a6344daae7d6ec7595fe047b89b5f8
bdc3c35eed9b8c243a4c095ad919f188456a51ea
/billing/templatetags/amazon_fps_tags.py
5168806ed97e46e7c6a839b24e8ad9b7903762e2
[ "BSD-3-Clause" ]
permissive
dragonx/merchant
3c47f3dad731ddec23ac2a279638ab3e5ce994cd
a112665cfc0a59485be548f71d2298e5e0a4cc56
refs/heads/master
2021-01-16T22:17:02.854964
2013-04-10T20:06:34
2013-04-10T20:06:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
''' Template tags for Amazon FPS offsite payments ''' from django import template from django.template.loader import render_to_string register = template.Library() class AmazonFPSNode(template.Node): def __init__(self, integration): self.integration = template.Variable(integration) def render(self, c...
[ "thejaswi.puthraya@gmail.com" ]
thejaswi.puthraya@gmail.com
90b1c1b085383a3f8c7a9a293b076c36e0d50180
94bb879816dbdd69559ecfcc70a09f33d104af67
/source/functions/sqlmap/extra/dbgtool/__init__.py
f5f6aa0e91088f6517914af49fd23756e658f013
[ "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-other-permissive", "GPL-2.0-only", "LicenseRef-scancode-commercial-license", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "GPL-CC-1.0", "LicenseRef-scancode-unknown", "MIT" ]
permissive
51000000/CampusCyberInspectionTool2021
f328ad571ab88051aa6928a67209dd94ce25eb6c
27a2de7ff3707ba6ab084acfce79a7d3f42b8f84
refs/heads/main
2023-03-28T01:11:22.678066
2021-04-01T05:23:54
2021-04-01T05:23:54
353,502,239
0
0
MIT
2021-03-31T22:06:49
2021-03-31T22:06:48
null
UTF-8
Python
false
false
146
py
#!/usr/bin/env python """ Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ pass
[ "55148245+51000000@users.noreply.github.com" ]
55148245+51000000@users.noreply.github.com
9670c62eb2ea175b4a32e4125922a623e417c152
9ad740a76844e7fd324f2e78111607c00ac53f83
/knn_utils.py
12cdcf89be5a45e489ca9c92a5333f4eee6bcce9
[ "MIT" ]
permissive
FangmingXie/mctseq_over_under_splitting
20da6b16935f1a82fee2e3a3973e9f6615639f8c
15655dc448e62be008426b7e52852f3866cd4406
refs/heads/master
2022-07-03T17:30:09.280544
2020-05-12T06:41:12
2020-05-12T06:41:12
261,609,273
1
0
null
null
null
null
UTF-8
Python
false
false
5,374
py
""" """ from __init__ import * from scipy import sparse from annoy import AnnoyIndex def build_knn_map(X, metric='euclidean', n_trees=10, verbose=True): """X is expected to have low feature dimensions (n_obs, n_features) with (n_features <= 50) return: t: annoy knn object, can be used in the followin...
[ "fmxie1993@gmail.com" ]
fmxie1993@gmail.com
68523c6ceff654fd62b26d9a8af360a5213a3689
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-83.py
cdc716682fe6cd258ded09d23418e13a88d18bce
[]
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,751
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
83c22a8d7e1ca692ef7fda08a34a8d360ea5a6b0
eca5f28257f7f4e32d7bf5a5406ace65d9b62836
/dev-utils/nasm/nasm.py
8cdfaf59da925fd2279090add4454a38be0ba359
[ "BSD-2-Clause" ]
permissive
TheOneRing/craft-blueprints-kde
9a32b1c7ede6635b41efb90b974d07a3fc72aba4
b352b24a504db891dc3ba3a5aed0205a0c3a6568
refs/heads/master
2021-04-06T20:23:29.504909
2018-11-19T16:10:04
2018-11-19T16:10:04
125,181,066
0
0
null
2018-03-14T08:37:52
2018-03-14T08:37:51
null
UTF-8
Python
false
false
1,454
py
import info class subinfo(info.infoclass): def registerOptions(self): self.parent.package.categoryInfo.platforms = CraftCore.compiler.Platforms.NotLinux def setTargets(self): for ver in ["2.13.03"]: if CraftCore.compiler.isWindows: self.targets[ver] = f"https://www...
[ "vonreth@kde.org" ]
vonreth@kde.org
10c5d400a27445421e3e38eb393ce3823093fef4
911534381e456979104cf014b61ee6c4c0c82175
/fbgemm_gpu/codegen/embedding_backward_code_generator.py
6c80e5de1276c66d78014e39aa9ee8ec15b5855f
[ "BSD-3-Clause" ]
permissive
zhenqin95/FBGEMM
ef79f700aca5f4f4fe8bb692a2818a0f9c1e89a4
858365fe12b05023e83ff52380a1a88395ef0908
refs/heads/main
2023-08-29T15:47:04.706530
2021-11-17T15:59:06
2021-11-17T16:00:38
429,167,103
0
0
NOASSERTION
2021-11-17T19:01:48
2021-11-17T19:01:48
null
UTF-8
Python
false
false
35,836
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import argparse import os from dataclasses import dataclass from typing import Any, Dict, L...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
aa2b6adc2424eca21986968d89a1c53d78ce41eb
ff23e5c890216a1a63278ecb40cd7ac79ab7a4cd
/clients/client/python/test/test_permission_api.py
a0676c83c14751456db345ac06a123e6ecb1a7a8
[ "Apache-2.0" ]
permissive
ory/sdk
fcc212166a92de9d27b2dc8ff587dcd6919e53a0
7184e13464948d68964f9b605834e56e402ec78a
refs/heads/master
2023-09-01T10:04:39.547228
2023-08-31T08:46:23
2023-08-31T08:46:23
230,928,630
130
85
Apache-2.0
2023-08-14T11:09:31
2019-12-30T14:21:17
C#
UTF-8
Python
false
false
1,511
py
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v1.1.51 Contact: support@ory.sh Generated by: https://ope...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
ccfd9db31197819ce95c2dd507491e994662cf17
0bfb55b41282803db96b90e7bba73d86be7e8553
/usermgmt/group_models.py
fa6d16be2e9269f372d2884984e4da38dc5c0053
[ "MIT" ]
permissive
OpenFurry/honeycomb
eebf2272f8ae95eb686ad129555dbebcf1adcd63
c34eeaf22048948fedcae860db7c25d41b51ff48
refs/heads/master
2021-01-11T01:52:40.978564
2016-12-29T18:08:38
2016-12-29T18:08:38
70,649,821
2
2
null
2016-12-29T18:08:39
2016-10-12T01:22:38
Python
UTF-8
Python
false
false
365
py
from django.contrib.auth.models import User from django.db import models class FriendGroup(models.Model): """A group of friends for managing permissions on submissions.""" name = models.CharField(max_length=100) users = models.ManyToManyField(User) def __str__(self): return self.name def...
[ "madison.scott-clary@canonical.com" ]
madison.scott-clary@canonical.com
4edc29a072d281ba19043738c548caefd1b400b5
b24a89056bf207144c01f2c049cef0e961a99fb7
/7-22 找鞍点 (20 分).py
051d74d37ba381bded31e59f3114c4fac5eb1b9c
[]
no_license
toooooodo/python-programming
0788fba5ada7216ede1e97eac77cf6ea7d953079
fac61a42183e8e8ec29810433e73e5e8475d7c0b
refs/heads/master
2020-05-07T08:02:57.301075
2019-06-03T08:21:32
2019-06-03T08:21:32
180,304,635
7
0
null
null
null
null
UTF-8
Python
false
false
447
py
n=int(input()) matrix=[list(map(int,input().strip().split())) for i in range(n)] for i in range(n): #index=matrix[i].index(max(matrix[i])) index=0 for j in range(1,n): if matrix[i][j]>=matrix[i][index]: index=j flag=True for j in range(n): if matrix[j][index]<matrix[i][in...
[ "1042178105@qq.com" ]
1042178105@qq.com
f4988240fd443e118ec3fe58104c5ee089d4da26
efd5d2e831bb9a22a4358f7db3d684f8e0e1e889
/find_pivot_index_724.py
fa89cbe5221245b5e4c7ca57778868a0ff642b00
[ "Apache-2.0" ]
permissive
danielsunzhongyuan/my_leetcode_in_python
b8112bac812fa0ea06121dec2c6c86d0a3d49e84
34d34280170c991ea7a28d74a3f2338753844917
refs/heads/master
2020-12-24T19:46:47.813091
2018-12-05T15:51:22
2018-12-05T15:51:22
56,480,882
0
0
null
null
null
null
UTF-8
Python
false
false
1,209
py
""" Given an array of integers nums, write a method that returns the "pivot" index of this array. We define the pivot index as the index where the sum of the numbers to the left of the index is equal to the sum of the numbers to the right of the index. If no such index exists, we should return -1. If there are multip...
[ "sunzhongyuan@lvwan.com" ]
sunzhongyuan@lvwan.com
530cf482db8f9081d1bd519aca076fca45dd44ae
86c082438a001ba48617aa756439b34423387b40
/src/the_tale/the_tale/game/bills/jinjaglobals.py
f90456c5aead187e869d4d1dc4c868bc00875dd2
[ "BSD-3-Clause" ]
permissive
lustfullyCake/the-tale
a6c02e01ac9c72a48759716dcbff42da07a154ab
128885ade38c392535f714e0a82fb5a96e760f6d
refs/heads/master
2020-03-27T21:50:56.668093
2018-06-10T17:39:48
2018-06-10T17:39:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
# coding: utf-8 from dext.common.utils import jinja2 from the_tale.game.bills.bills import BILLS_BY_ID @jinja2.jinjaglobal def bills_menu_types(): return sorted(BILLS_BY_ID.items(), key=lambda x: x[1].type.text)
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
88e0eb5e520cee0a43c79cef13757b686ae14ceb
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/2451.py
56638a6dc7a0e815a0655145d910ab35b652d148
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
import sys DEFAULT_MESSAGE = 'Game has not completed' WILDCARD = 'T' GAME_LENGTH = 4 global dot_count class FoundWinner(Exception): def __init__(self, winner): self.val = "%s won" % winner def __str__(self): return self.val class FoundDraw(Exception): def __init__(self): pass def __str__(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
84f168940325b9770c36b88380034ee4e2f33d1b
274500e3733d500627ba41d6a6daddf05d79b849
/jishaku/features/__init__.py
2e5683d46e3bf0949226b880be364e17ab95122f
[ "Apache-2.0", "MIT" ]
permissive
Cryptex-github/jishaku
ed155406424d3d7e0141990f149d5cfa2d67cea4
4368a55ba561e2ae8262e5159825631f00eb77d6
refs/heads/master
2023-07-02T20:48:26.402615
2021-08-07T02:12:00
2021-08-07T02:12:00
393,553,702
0
0
MIT
2021-08-07T02:11:32
2021-08-07T02:11:31
null
UTF-8
Python
false
false
246
py
# -*- coding: utf-8 -*- """ jishaku.features ~~~~~~~~~~~~~~~~~ The namespace containing the Feature components that go into the final Jishaku cog class. :copyright: (c) 2021 Devon (Gorialis) R :license: MIT, see LICENSE for more details. """
[ "sansgorialis@gmail.com" ]
sansgorialis@gmail.com
da4bd7fd652e161f0c64a8f1bcdd988372d0d75d
20a0bd0a9675f52d4cbd100ee52f0f639fb552ef
/transit_odp/organisation/migrations/0010_auto_20191009_0924.py
1be02e621dd3dda65187bcff31dece9fecb4605d
[]
no_license
yx20och/bods
2f7d70057ee9f21565df106ef28dc2c4687dfdc9
4e147829500a85dd1822e94a375f24e304f67a98
refs/heads/main
2023-08-02T21:23:06.066134
2021-10-06T16:49:43
2021-10-06T16:49:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,137
py
# Generated by Django 2.2.5 on 2019-10-09 08:24 import logging from django.db import migrations from django.db.models import F, Q logger = logging.getLogger(__name__) def fill_published_at(apps, schema_editor): logger.info( "Populating published_at field of published dataset revisions using created time...
[ "ciaran.mccormick@itoworld.com" ]
ciaran.mccormick@itoworld.com
2e140e8a08041c9c3426f25ad1bf4054aebf764f
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit1464.py
d845bd53eec1ee36107bf5b3c85a03f656351616
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,314
py
# qubit number=5 # total number=55 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2,floor, sqrt, pi import numpy as np import networkx as ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
51c4bc58ec8d2cedab610f8561be83ea802f10b9
e7d6e79f9ae4bf215729adf92c2d2e9f0ce2a17a
/formats/benchmarks/bm_fstring.py
9e75dd1bc12219e5498d7aae7a6bb15eb06fa0a3
[]
no_license
mlouielu/python-string-format-microperformance
830315601b46697b6603615549cf40cb133987fe
2e6f8f8c9c65f79973faae2b086b0b19d5b0e612
refs/heads/master
2021-01-01T15:40:09.431320
2017-07-24T03:26:02
2017-07-24T03:30:05
97,672,560
1
0
null
null
null
null
UTF-8
Python
false
false
699
py
import random import string import perf def rstring(N=6): return ''.join(random.choices(string.ascii_uppercase + string.digits, k=N)) inputs1 = [random.randint(0, 2 ** 32 - 1) for i in range(10)] inputs2 = [rstring(10) for i in range(10)] def bench_fstring(): s = f'{inputs1[0]}-{inputs1[1]}-{inputs1[2]}-{...
[ "git@louie.lu" ]
git@louie.lu
92c71c4b3b6d35d62fe42c1d960683b52e4080c5
633944f913050debf0764c2a29cf3e88f912670e
/v8/depot_tools/bootstrap-3.8.0b1.chromium.1_bin/python3/lib/python3.8/fileinput.py
cbca61c07d7cd1be3ef6f8bf9cc012d2b65c4ce1
[ "BSD-3-Clause", "bzip2-1.0.6", "SunPro", "Apache-2.0" ]
permissive
bopopescu/V8-lgtm
0474c2ff39baf754f556ef57619ceae93e7320fd
da307e2f7abfca5fa0e860a809de6cd07fd1b72b
refs/heads/master
2022-02-16T19:10:54.008520
2019-09-25T07:51:13
2019-09-25T07:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
../../../.cipd/pkgs/2/_current/lib/python3.8/fileinput.py
[ "jundong.xjd@antfin.com" ]
jundong.xjd@antfin.com
83791d6a8dad40080bbef8f993ae57622420180e
5023f3f6f493a6cf3a6e4acf7ee742fdecc2a558
/ScopeFoundryHW/ni_daq/hw/ni_digital_out.py
19cc74850f61cdf9367ef454a01861f9d05cab72
[ "MIT" ]
permissive
erictang000/stackbot
1a0de1a30c0b17a67808cbb7f084149f0c744070
e9a20930d790c995163192b29394a266af54a3d0
refs/heads/master
2022-04-10T06:48:25.785204
2020-03-18T23:08:57
2020-03-18T23:08:57
248,362,086
1
3
null
null
null
null
UTF-8
Python
false
false
2,386
py
from ScopeFoundry import HardwareComponent import PyDAQmx as mx import numpy as np class NIDigitalOutHW(HardwareComponent): name = 'ni_digital_out' def __init__(self, app, debug=False, name=None, line_names="01234567"): self.line_names = line_names HardwareComponent.__init__(self, app...
[ "esbarnard@lbl.gov" ]
esbarnard@lbl.gov
07ce06d05e399fb0a631af925153b2f3e01ff008
e582d60b7996faf7b87c6d857613e63581d415b9
/elliot/recommender/content_based/VSM/__init__.py
4e88c0638f2480af2c4e1162f3804b724247e58f
[]
no_license
Abdel57Grota/Reenvisioning-the-comparison-between-Neural-Collaborative-Filtering-and-Matrix-Factorization
d6e51c32094550789673846acdf9891557b790c1
2a2b0148e881cf8ba45c48ad9d42f52421585284
refs/heads/main
2023-09-03T09:47:41.894117
2021-11-09T09:17:35
2021-11-09T09:17:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
from .vector_space_model import VSM
[ "claudio.pomo@poliba.it" ]
claudio.pomo@poliba.it
c2240d16267e5e4769184962f1ab28dab447b0aa
c07380914a44df334194f234c33858f357365c19
/ENV/lib/python2.7/site-packages/theano/sandbox/gpuarray/conv.py
3b5f94aada43bbadd1967c437ff2ef5c910d5d12
[]
no_license
damianpolan/Music-Genre-Classification
318952ae7de5d0b0bdf5676e28071c7b38d0e1c5
acd723ae1432ce798866ebb97ef3c484db37e971
refs/heads/master
2022-12-24T09:23:55.514337
2016-03-22T14:49:28
2016-03-22T14:49:28
42,965,899
4
4
null
2022-12-12T20:26:24
2015-09-22T23:05:37
Python
UTF-8
Python
false
false
10,519
py
import copy import os import theano from theano import config, gof from theano.sandbox.gpuarray.comp import NVCC_compiler from theano.sandbox.gpuarray.type import GpuArrayType from theano.sandbox.gpuarray.basic_ops import as_gpuarray_variable class GpuConv(gof.Op): """ Implement the batched and stacked 2d co...
[ "damian.polan@gmail.com" ]
damian.polan@gmail.com
1daf07bed018aade0e0a9511391cb3fab95395c6
d95ba414b4922e276ea39e74fa645118823142f0
/instagram/email.py
c6a88dde1d9fbfc6f079caa7940794fe4e4d7ad1
[ "MIT" ]
permissive
Rubyroy12/instacom
1ba4f183a74b43261756a7de3c5a5c1401f27714
d2ceb33971309839fbce46340641289966a2c6de
refs/heads/master
2023-06-14T18:45:28.831497
2021-07-13T12:10:20
2021-07-13T12:10:20
384,556,645
1
0
null
null
null
null
UTF-8
Python
false
false
598
py
from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string def send_welcome_email(name,receiver): # Creating message subject and sender subject = 'Welcome to the Instagram' sender = 'fitstargilii1194@gmail.com' #passing in the context vairables text_con...
[ "you@example.com" ]
you@example.com
6d6a172d2c448439d52eff39bafe0238b3987da4
27317b3adb1ccd99afa86cb931d2d14e23b9b175
/bcs-app/backend/apps/metric/views.py
1f979a61c929310ec174b6817a19127425f2a0a8
[ "BSD-3-Clause", "LicenseRef-scancode-unicode", "ICU", "LicenseRef-scancode-unknown-license-reference", "Artistic-2.0", "Zlib", "LicenseRef-scancode-openssl", "NAIST-2003", "ISC", "NTP", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "MIT" ]
permissive
freyzheng/bk-bcs-saas
cf5a6c4ab1c20959bda1362bc31de7884451acd7
96373cda9d87038aceb0b4858ce89e7873c8e149
refs/heads/master
2021-07-05T04:11:08.555930
2020-09-22T12:26:37
2020-09-22T12:26:37
201,279,048
0
1
NOASSERTION
2020-09-16T03:07:16
2019-08-08T14:48:27
Python
UTF-8
Python
false
false
10,522
py
# -*- coding: utf-8 -*- # # Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. # Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. # Licensed under the MIT License (the "License"); you may not use this file except i...
[ "gejun.coolfriend@gmail.com" ]
gejun.coolfriend@gmail.com
a5fe4d7f244731fd26c9c19d54fd4e9fa715462b
13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab
/home--tommy--mypy/mypy/lib/python2.7/site-packages/scikits/statsmodels/tsa/filters/tests/test_filters.py
85ac54ea69b78136308acabea0f93b734c978f43
[ "Unlicense" ]
permissive
tommybutler/mlearnpy2
8ec52bcd03208c9771d8d02ede8eaa91a95bda30
9e5d377d0242ac5eb1e82a357e6701095a8ca1ff
refs/heads/master
2022-10-24T23:30:18.705329
2022-10-17T15:41:37
2022-10-17T15:41:37
118,529,175
0
2
Unlicense
2022-10-15T23:32:18
2018-01-22T23:27:10
Python
UTF-8
Python
false
false
33,577
py
from numpy.testing import assert_almost_equal from numpy import array, column_stack from scikits.statsmodels.datasets import macrodata from scikits.statsmodels.tsa.filters import bkfilter, hpfilter, cffilter def test_bking1d(): """ Test Baxter King band-pass filter. Results are taken from Stata """ bki...
[ "tbutler.github@internetalias.net" ]
tbutler.github@internetalias.net
5a4d45e1b455cc644a2ce615721bf5a732040869
dce4a52986ddccea91fbf937bd89e0ae00b9d046
/jni-build/jni/include/tensorflow/tensorboard/__main__.py
187140954d17402fd25d65f55f726c73562e80a9
[ "MIT" ]
permissive
Lab603/PicEncyclopedias
54a641b106b7bb2d2f71b2dacef1e5dbeaf773a6
6d39eeb66c63a6f0f7895befc588c9eb1dd105f9
refs/heads/master
2022-11-11T13:35:32.781340
2018-03-15T05:53:07
2018-03-15T05:53:07
103,941,664
6
3
MIT
2022-10-28T05:31:37
2017-09-18T13:20:47
C++
UTF-8
Python
false
false
913
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...
[ "super_mr.z@hotmail.comm" ]
super_mr.z@hotmail.comm
73a13f4f39cd6374ae6041690db65383cb2ce552
b000127408f96db7411f301553585f5da0e426cd
/code/How-Many-Numbers-Are-Smaller-Than-the-Current-Number.py
08b0741793fcbd1fb4bf5edee8364ea75babc9f8
[]
no_license
SaiVK/Leetcode-Archive
5f758faf97d1ab559c4c75d26ae5cf7a256baef8
56bafeaaced2d0fd3b3d2f1a0365d24d5b41e504
refs/heads/master
2022-11-23T08:50:17.610247
2020-07-27T02:09:53
2020-07-27T02:09:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
class Solution(object): def smallerNumbersThanCurrent(self, nums): sortedVals = sorted(nums) return [sortedVals.index(x) for x in nums]
[ "christopherlambert106@gmail.com" ]
christopherlambert106@gmail.com
41489afbbcc96535c70c6c12b811db2b2cacd64a
56623552dd284fce6e1f0292e91c016a21641468
/blockchain_network/wallet.py
7ddbe642592d3c5444598456333924c5fe960f4d
[ "MIT" ]
permissive
thieu1995/mpoc_code
12c02adb812432c9836a2417f300175648bd6f28
58dccc097ae1027154d1b3b15692b1658fbdf86a
refs/heads/master
2023-01-24T09:20:32.063479
2020-11-23T02:47:29
2020-11-23T02:47:29
315,182,596
1
0
null
null
null
null
UTF-8
Python
false
false
697
py
class Wallet: def __init__(self, address=None, balance=None, stake_value=None): self.address = address self.start_balance = balance self.balance = balance self.stake_value = stake_value def send_transaction(self, transaction_fee): if self.balance <= self.stake_value: ...
[ "nguyenthieu2102@gmail.com" ]
nguyenthieu2102@gmail.com
4e23de0aa2a7d59698679c86edbd3961b7e4239a
f45e32db25506087caaec6e1f987afe344dc9d37
/webservice/ticketing/connectwise/connectwise.py
53bce2c428ecb7c63fb67fa6e267ea225af86762
[]
no_license
SadamAnsari/Web-services-Integration
dcb343a40f556d3a3c0902f6edaa4d1440102847
527516fe08cff6a85ee4984dd6942392ce5e393e
refs/heads/master
2020-03-22T19:52:58.491378
2018-07-11T10:09:39
2018-07-11T10:09:39
140,557,433
1
0
null
null
null
null
UTF-8
Python
false
false
12,385
py
#!/usr/bin/python # soapclient.py - SOAP client class, part of BlackStratus. """ Provider level access to SOAP service. """ import re import suds from suds import WebFault from suds.client import Client from suds.plugin import DocumentPlugin from suds.sax.element import Element from suds.sax.attribute import Attr...
[ "sansari@measureone.com" ]
sansari@measureone.com
1d33ba8e234f93582ca04e3a77b3db030cfd2193
421b0ae45f495110daec64ed98c31af525585c2c
/File_Handling/empactdata.py
77fe1192c1a7ffd92eb4f3fae3a51704c4cc121d
[]
no_license
Pradeepsuthar/pythonCode
a2c87fb64c79edd11be54c2015f9413ddce246c4
14e2b397f69b3fbebde5b3af98898c4ff750c28c
refs/heads/master
2021-02-18T05:07:40.402466
2020-03-05T13:14:15
2020-03-05T13:14:15
245,163,673
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
import json FILE_NAME = "empdata.json" def read_emp_info(): 'to read all employee info from json file' # openig file in read mode fr = open(FILE_NAME) # reading all data from json file info python compative info = json.load(fr) fr.close() for item in info: print("%d\t%s\t%0.2f"%(item["ECode"],it...
[ "sutharpradeep081@gmail.com" ]
sutharpradeep081@gmail.com
1e3f2a68c17f2d76ac6de37997ac0ec591f08c7b
af35f890c0c6a2fa531f47a4c2ed132e8920190d
/python/leetcode/tree/993_cousins_bintree.py
acfe11c7e529fd1015054f5af34e2e84571ff51f
[]
no_license
Levintsky/topcoder
b1b17cd3fddef5a23297bcbe4e165508d09a655d
a5cb862f0c5a3cfd21468141800568c2dedded0a
refs/heads/master
2021-06-23T10:15:27.839199
2021-02-01T07:49:48
2021-02-01T07:49:48
188,175,357
0
1
null
2020-05-19T09:25:12
2019-05-23T06:33:38
C
UTF-8
Python
false
false
1,842
py
""" 993. Cousins in Binary Tree (Easy) In a binary tree, the root node is at depth 0, and children of each depth k node are at depth k+1. Two nodes of a binary tree are cousins if they have the same depth, but have different parents. We are given the root of a binary tree with unique values, and the values x and y o...
[ "zhuoyuanchen2014@u.northwestern.edu" ]
zhuoyuanchen2014@u.northwestern.edu
3e66a6f0b907e8ce211c65303c1f542aeb1bb1ac
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2081/60896/301516.py
ca745a995ab38f3a9371cf6dd30167d2a4ab607c
[]
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
160
py
str1=input() str2=input() count=0 for i in range(0,len(str1)-len(str2)+1): str3=str1[i:i+len(str2)] if(str2==str3): count+=1 print(count,end='')
[ "1069583789@qq.com" ]
1069583789@qq.com
83629d9146b53c789a50a3755a0b38d86ea1d19a
ec45bee420713f64d2d00a5d1c15a9a5f66a940b
/study/pickle_study/pickle_study.py
ddc12f6bd3f1a0e29e2c276dbe531d34b326289d
[ "MIT" ]
permissive
strawsyz/straw
a7dc5afef9525eeb3b1a471b5a90d869a3ba5084
cdf785856941f7ea546aee56ebcda8801cbb04de
refs/heads/master
2023-06-08T17:18:53.073514
2023-06-05T05:51:41
2023-06-05T05:51:41
253,447,370
2
0
null
null
null
null
UTF-8
Python
false
false
216
py
import pickle def write(file_name, args): with open(file_name, 'wb') as f: pickle.dumps(args, f) def read(file_name): with open(file_name, 'rb') as f: tmp = pickle.loads(f) return tmp
[ "836400042@qq.com" ]
836400042@qq.com
afe6f15499217bfbe5a65dbd271f1741968a63cd
f198e4b48539731edf53e21fa4abac3e6cc30105
/kwargs.py
bb1fd2217a0557c14674130ace715efe62c1144e
[]
no_license
sanjaydangwal/Python
594a3db4cabed576bd0233a24374d6609a87775b
b33853e3ae7ef590f4771d1aed9b888378775095
refs/heads/master
2020-11-29T14:12:57.226422
2019-12-25T17:30:00
2019-12-25T17:30:00
230,133,845
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
def kwargs_exampel(**kwargs): for k,v in kwargs.items(): print(f"{k} : {v}") kwargs_exampel(name='sanjay',age=19) user_info = { 'name' : 'sanjay dangwal', 'age' : 19 } kwargs_exampel(**user_info)
[ "sanjay.dangwal199@gmail.com" ]
sanjay.dangwal199@gmail.com
23083283d6dce09cf367ced28487d34e5a359d01
369da6157ca39d92d03d24b04384fb654cc5aebe
/tests/compilation/request/test_request_compiled.py
2122b5f6e101c2bda1952f27504eb42e4070ca2d
[ "MIT" ]
permissive
lasta/preacher
d1f5a243f4c3b9903419edf61096ee82dfd62127
5e50f8eb930fac72a788e7614eb5a85903f7bde6
refs/heads/master
2022-11-28T17:35:44.314163
2020-08-09T05:39:03
2020-08-09T05:39:03
284,201,226
0
0
MIT
2020-08-01T06:23:08
2020-08-01T06:23:07
null
UTF-8
Python
false
false
2,346
py
from unittest.mock import Mock, NonCallableMock, sentinel from preacher.compilation.request.request import RequestCompiled from preacher.compilation.request.request_body import RequestBodyCompiled from preacher.core.request import Method PKG = 'preacher.compilation.request.request' def test_replace(): initial =...
[ "ymoch.dev@gmail.com" ]
ymoch.dev@gmail.com
54711467f9d94e96cd67c6afefc2c2f00e3f7a38
9e21dbdf075dc51ca86023eee305032eb2b7a4ba
/planemo_ext/galaxy/tools/deps/resolvers/modules.py
84b013f008fb58cf3b97778e48065d4997c52200
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
davebx/planemo
9a742e4aa6fbcb636dae26fc5e1e6ab09d7fed63
6c0dc20a56d23be0398b4b966938cbdd8058a62d
refs/heads/master
2021-01-18T07:36:55.512560
2015-10-15T17:41:51
2015-10-15T17:41:51
27,385,752
0
0
null
null
null
null
UTF-8
Python
false
false
6,098
py
""" This file contains the outline of an implementation to load environment modules (http://modules.sourceforge.net/). This is a community contributed feature and the core Galaxy team does utilize it, hence support for it will be minimal. The Galaxy team eagerly welcomes community contribution and maintenance however....
[ "jmchilton@gmail.com" ]
jmchilton@gmail.com
2396474a650f05fe4803c371a467bea14ac2aae4
5676e967d357068aada5b1d937e8d733fd2c38f4
/app/main.py
175714f0416bb2ba919e9a80ed196df865d66818
[ "MIT" ]
permissive
Sanix-Darker/b4sh-api
bcd6c464fcdb3f1c13ca0cb30bc23f50f1a89018
936d6a6f87bf4766899efee1bd0c11f1730bf901
refs/heads/master
2023-08-23T08:24:33.075396
2021-10-30T10:03:20
2021-10-30T10:03:20
326,267,342
2
0
MIT
2021-03-01T20:37:25
2021-01-02T20:41:37
JavaScript
UTF-8
Python
false
false
5,436
py
# coding: utf-8 # b4sh REST-API from flask import Flask, jsonify, request, render_template, send_file from flask_cors import CORS, cross_origin from app.utils import * app = Flask(__name__) CORS(app, support_credentials=True) # / @app.route("/") @cross_origin(supports_credentials=True) def _index(): return rend...
[ "s4nixd@gmail.com" ]
s4nixd@gmail.com
158e0ea9055d5f6f01170e62d26bd94d483aeca0
c0ea89d58fd6f780a23f10a0b5535b3feada5a1a
/anchore_engine/services/policy_engine/api/models/feed_metadata.py
0864d042a662bca6b64a4e80cd83ebd9b4c2dc33
[ "Apache-2.0" ]
permissive
longfeide2008/anchore-engine
b62acbab8c7ebbf7fa67a2503768c677942220e4
622786ec653531f4fb216cb33e11ffe31fe33a29
refs/heads/master
2022-11-08T10:02:51.988961
2020-06-15T18:00:37
2020-06-15T18:00:37
274,068,878
1
0
Apache-2.0
2020-06-22T07:27:39
2020-06-22T07:27:38
null
UTF-8
Python
false
false
5,204
py
# coding: utf-8 from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from anchore_engine.services.policy_engine.api.models.base_model_ import Model from anchore_engine.services.policy_engine.api.models.feed_group_metadata import FeedGroupMetadata # noqa: F401,E501 from anch...
[ "zach@anchore.com" ]
zach@anchore.com
27cf6a1ab054bec1484b8c4b518d8d9b1deca690
ebe7c57183b0eeba9af1bdc72f0f81b9b8129ca9
/4. DP/416.py
d91f49c89b8cec091e509f9b23e79f057db613bd
[]
no_license
proTao/leetcode
f2e46392b56b69606e1dd25cf5738cb0ad275645
97533d53c8892b6519e99f344489fa4fd4c9ab93
refs/heads/master
2021-11-24T10:23:56.927122
2021-11-18T04:28:05
2021-11-18T04:28:05
110,225,265
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
class Solution: def canPartition(self, nums): """ :type nums: List[int] :rtype: bool """ target = sum(nums) // 2 if target * 2 != sum(nums): return False dp = [True] + [False] * target print(dp) for n in nums[::-1]: f...
[ "836807627@qq.com" ]
836807627@qq.com
3af73274e68ba008ec95c07321b6f279035f82f8
86a26119af259e3858cb5e57ea2e41e3b25c5fa7
/$RECYCLE.BIN/S-1-5-21-228534858-3824383051-2225680591-1001/$RKEJ7KF/StockerLogin_support.py
4e990d192045fcfb6e4075e942891f7f9d5bcb8a
[]
no_license
deshmukhshweta/project2
747ca7972a7bfdc4aed20dbb4ee3f6d2f009ca83
8bf07454d259456dc616e7283c266b35fe7b870d
refs/heads/master
2020-04-19T09:57:05.541157
2019-01-29T09:27:01
2019-01-29T09:27:01
168,125,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Support module generated by PAGE version 4.13 # In conjunction with Tcl version 8.6 # May 27, 2018 02:27:42 PM import sys from tkinter import messagebox from firebase import firebase as fb try: from Tkinter import * except ImportError: from tkinter impor...
[ "123deshmukhshweta@gmail.com" ]
123deshmukhshweta@gmail.com
e471ad2105eb72f3aa27e6c759635e187445bf05
1749147fb24b13803d3437e0ae94250d67d618bd
/keras/keras39_cifar10_1_imshow.py
cfcd10479560bfe9c8bcdc2e0fe908049a83407d
[]
no_license
MJK0211/bit_seoul
65dcccb9336d9565bf9b3bc210b1e9c1c8bd840e
44d78ce3e03f0a9cf44afafc95879e4e92d27d54
refs/heads/master
2023-02-06T00:45:52.999272
2020-12-26T07:47:30
2020-12-26T07:47:30
311,308,648
1
0
null
null
null
null
UTF-8
Python
false
false
738
py
#Cifar10 show plt import numpy as np import matplotlib.pyplot as plt from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Conv2D, MaxPooling2D, Flatten from tensorflow.keras.datasets import cifar10 #dataset인 cifar10추가 from tensorflow.keras.utils import to_categorical (x_train, y...
[ "kimminjong0211@gmail.com" ]
kimminjong0211@gmail.com
8e59df915a38a2389b5ba8bdf7468a6cb4796d2d
4c26b5aff292cbaf3d6fc1fa769ef310d814ea5d
/django_crud_generator/__init__.py
025919afd41b22486453613c86c2be558cd7df8c
[ "MIT" ]
permissive
xqdzn/django-crud-generator
c22f5b4b1a3c51a355241de180742bb3a561bdac
5168c97c8780b6b4c65a68e9b1419c4534fd98dd
refs/heads/master
2023-02-01T00:09:04.491347
2020-12-06T23:39:45
2020-12-06T23:39:45
292,310,382
0
0
MIT
2020-09-02T14:44:07
2020-09-02T14:44:06
null
UTF-8
Python
false
false
60
py
from .django_crud_generator import execute_from_command_line
[ "ma0@contraslash.com" ]
ma0@contraslash.com
d71dcde45b118bcb41cb3834380ad8bf521a0b73
b1a6c00363fd672d26b67fbcc3b24fc4afd30311
/scripts/reference_scores/generate_ref_min_score.py
6fa258c01eff14116e6b7c92298c5b8addb92038
[ "Apache-2.0", "CC-BY-3.0", "CC-BY-4.0" ]
permissive
vermouth1992/d4rl
dccdbe9c0dab7129d5a62588544594d41edf8bbc
a65b64681f21601be5317d3af3171dc7c91f031d
refs/heads/master
2023-01-07T17:37:11.895404
2020-11-09T04:39:50
2020-11-09T04:39:50
284,762,809
0
0
Apache-2.0
2020-08-03T17:24:25
2020-08-03T17:24:24
null
UTF-8
Python
false
false
959
py
""" Generate "minimum" reference scores by averaging the score for a random policy over 100 episodes. """ import d4rl import d4rl.flow import argparse import gym import numpy as np def main(): parser = argparse.ArgumentParser() parser.add_argument('--env_name', default='', help='Environment Name') parser...
[ "justinjfu@gmail.com" ]
justinjfu@gmail.com
3dc0f4d964e1c382b3eec04c655ad6f0b997d502
b769be8c39204015642e79d5464471de372ce164
/Python/PythonC++Scala/python/test (2).py
b03fc9f65be3b38918f390c154b00865e532ed3a
[]
no_license
cash2one/dataMining-1
2248968fe7649b33f263a4a3df1472c027e46ad0
05dae4225db1fedbe738d317bf44aca8604c9eed
refs/heads/master
2021-05-31T23:51:39.694667
2016-05-19T08:27:19
2016-05-19T08:27:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
#_*_coding:utf-8-* class people: #定义基本属性 name = '' # python 也是这样的 age = 0 #定义私有属性,私有属性在类外部无法直接进行访问 __weight = 0 #定义构造方法 def __init__(self,n,price): self.name = n self.price = price def getprice(): print price def add(self,x,y): return x+y ...
[ "1209398893@qq.com" ]
1209398893@qq.com
76b54b2219e1a70e37c89dc4da4f703ef3afe14f
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/wbhjXmdbPSxCSE5hW_24.py
77f7ff33768fcaa3f67ecb70054d75f7f0342ae6
[]
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
232
py
def sigilize(desire): unl1 = [] for x in list(desire)[::-1]: if x not in unl1: unl1.append(x) l2 = '' for x in unl1: if x.capitalize() in 'QWRTYPSDFGHJKLZXCVBNM': l2 += x.capitalize() return l2[::-1]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0c5d745394360d0951f750522749d5076df21e84
1924da60fa3298e386acc6dac9bd390784a9b5bb
/test16.py
5b2f2df0151caee0485d4ec535f3a6b6abf5b6ea
[]
no_license
yukitomo/NLP100DrillExercises
c8a177b56f798cef225ace540e965809a1fc1fbc
ea2ceb366de1fa1f27d084e3b9328cc6f34ac1dd
refs/heads/master
2020-06-01T02:55:11.423238
2015-06-10T15:39:03
2015-06-10T15:39:03
37,205,750
1
0
null
null
null
null
UTF-8
Python
false
false
686
py
#!/usr/bin/python #-*-coding:utf-8-*- #(16)括弧表現のうち,括弧の内側がアルファベット大文字の文字列,括弧の左側が漢字の文字列のものを抽出せよ.このとき,括弧の左側の表現と括弧の内側の表現をタブ区切り形式で出力せよ. #python test16.py tweets.txt import sys import re pattern = re.compile(r'([一-龠]+)(\([A-Z]+\))') #pattern = re.compile(r'\([A-Z]+?\)') for line in sys.stdin: match=pattern.search(line) ...
[ "over.the.tr0ouble@gmail.com" ]
over.the.tr0ouble@gmail.com
e9101a3d6dec48121d70106cd22a02580dab9818
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/329/usersdata/278/91305/submittedfiles/dec2bin.py
595fc5831851ef370d1fdd817a1809e93e8e5f6c
[]
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
273
py
# -*- coding: utf-8 -*- p = int(input("Digite um inteiro: ")) q = int(input("Digite um inteiro maior que o anterior: ")) i=10 x=0 while (p>0): p=p//10 i=i*10 while (q>0): q=q%i if p==q: print("S") break x+=1 if x>0: print("N")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
70498ede24aa118bdd2167b0c18124c3afcc8248
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Simulation/RunDependentSim/RunDependentSimData/share/configLumi_PeriodE_50k.py
b521ddff2b5e08a8b1015339bd30ee8e653ed9c5
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
487,281
py
#################### ## File configLumi_PeriodE_50k.py: autogenerated configuration file from command ##/afs/cern.ch/user/a/ayana/scratch0/ForTg/InstallArea/share/bin/RunDepTaskMaker.py --nMC=50000 --outfile configLumi_PeriodE_50k.py /tmp/ayana/my/LB_PeriodE.ready_lumi.xml ## Created on Thu Oct 7 23:54:17 2010 #######...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
9bf760add05e7d4c2ad7476a1297914743a8d579
7933d55de7e2d3a9e78a372fa76f064f5ed5eb6f
/maths/utils/transformations.py
b71bd71a05f893e0fb0e985318f6880c90645e56
[]
no_license
o2edu/MathsExams
4921f6683e1d6d96aa834d5b01f30bd66522887d
8e2c0aeba6bbad52103c420747ead1dad6380408
refs/heads/master
2021-05-29T17:42:32.442055
2014-05-31T10:18:12
2014-05-31T10:18:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,233
py
import sympy import random from sympy.abc import * from .. import not_named_yet def translation(lb=-5, ub=5, direction_of_change=None): amount = not_named_yet.randint(lb, ub, exclude=[0]) if direction_of_change is None: direction_of_change = random.choice(['x', 'y']) matrix = sympy.zeros(2, 1) ...
[ "ben.lucato@gmail.com" ]
ben.lucato@gmail.com
a6b36d3c91288ef7abec4035eff6d36f80262027
225a76477f1db049764cd796ebab2c27ae291e30
/blog/models.py
58bad25123edd31dc26f08e1586f459978f755b6
[]
no_license
lubakach/myfirstblog
3c4e36a9dfbf77b57e4bdfadbba2bcd1067543ae
e111f3fffe0994e1cf2985cf0f9b71fa8b786220
refs/heads/master
2022-06-02T06:06:28.346017
2020-05-05T13:14:32
2020-05-05T13:14:32
259,961,381
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
from django.conf import settings from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeFiel...
[ "you@example.com" ]
you@example.com
88649eb358b60e371e1a0612153225a457aab025
ee8756f9beff74584b4a6df9c2c31b4acab1c3bf
/_GTW/_OMP/_PAP/Person_has_VAT_IDN.py
785a801b87be85fe1cba2ba10bbff630fec07c80
[ "BSD-3-Clause" ]
permissive
JPilarr/tapyr
5d13da8138f677c744ab357fe04e4e67b1e21d55
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
refs/heads/master
2022-11-13T09:59:01.541995
2020-06-29T12:35:55
2020-06-30T09:36:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,279
py
# -*- coding: utf-8 -*- # Copyright (C) 2016 Mag. Christian Tanzer All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at # #*** <License> ************************************************************# # This module is part of the package GTW.OMP.PAP. # # This module is licensed under the term...
[ "tanzer@swing.co.at" ]
tanzer@swing.co.at
5eadbb4fb195658e0d5d2b2b7ed5c86f9a216ecc
7f2c5c38bd2c1a445a1e67c71dc5a51abb188bfb
/kbase-extension/jupyter_config.py
621c5ee560a55d66b4c69a93b2035f57981a2433
[ "MIT" ]
permissive
kbaseIncubator/narrative-jupyterlab
fc7b17701dc7af589c3500f00cf8f50447a0fe4e
94a4b4a6bbb583f65ce50c8f8343083aceafff05
refs/heads/master
2023-01-07T02:22:57.379427
2019-06-28T21:46:49
2019-06-28T21:46:49
175,266,215
2
3
MIT
2023-01-04T01:11:18
2019-03-12T17:40:36
Python
UTF-8
Python
false
false
20,464
py
# Configuration file for ipython. c = get_config() #------------------------------------------------------------------------------ # InteractiveShellApp configuration #------------------------------------------------------------------------------ # A Mixin for applications that start InteractiveShell instances. # # ...
[ "wjriehl@lbl.gov" ]
wjriehl@lbl.gov
6d4b2e4a0bcd107e940a784d4f8a9dc27e8799b9
8ae0bd8fc5ceceacd839b941c6327c12f31f46b5
/rhea/system/_reset.py
011efb899f21b83303633ffec293f92054cce856
[ "MIT" ]
permissive
gbin/rhea
9406ef72985b80ea44ad2a3a699b2842f8d45157
7bf8a9b5446fe6777bd15535bb29eb62196287a5
refs/heads/master
2020-05-25T11:28:12.059208
2015-12-11T19:45:14
2015-12-11T19:45:14
47,847,156
0
0
null
2015-12-11T19:38:06
2015-12-11T19:38:06
null
UTF-8
Python
false
false
777
py
import myhdl from myhdl import delay class Reset(myhdl.ResetSignal): def __init__(self, val, active, async): myhdl.ResetSignal.__init__(self, val, active, async) def pulse(self, delays=10): if isinstance(delays, int): self.next = self.active yield delay(delays) ...
[ "chris.felton@gmail.com" ]
chris.felton@gmail.com
f5ff61e50412d0abb1f135f65c73fb95e5e78da9
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/Scaleform/daapi/settings/config.py
8a6642812356f374e997896fadbb8454d2fedcfb
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,559
py
# 2017.02.03 21:48:57 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/settings/config.py from constants import HAS_DEV_RESOURCES, ARENA_GUI_TYPE _COMMON_RELEASE_PACKAGES = ('gui.Scaleform.daapi.view.common',) _COMMON_DEBUG_PACKAGES = ('gui.development.ui.GUIEditor',) _LOBBY_RELEASE_P...
[ "info@webium.sk" ]
info@webium.sk
c1b386c649e599b7f3262762f787efd48cc491df
feff14c6b38485e0ac77e04701b020acc2ca91b4
/App_Login/migrations/0001_initial.py
69e691e07dc49d21cc6de529745c612481cf4e3f
[]
no_license
afiksourav/MyBlogDjango
0531555566fdb3d319fc44a648de8e6a42188a52
5eec20033e9de012e1ab0ef0ee5808357ced562a
refs/heads/master
2022-11-13T05:04:21.975383
2020-07-13T21:24:53
2020-07-13T21:24:53
279,412,226
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
# Generated by Django 3.0.6 on 2020-06-19 21:26 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "you@example.com" ]
you@example.com
b0c2572826e2614c03f83de594a825d28dcb2e0d
018d3ade7ce3c9797ec53e5b29e93c343cbd41e3
/torch/distributed/fsdp/api.py
9e1327c80633c421ecbd9e2d0da94a2629280b54
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
aiot-tech/pytorch
016574055a306f58a46308e4971cf180ffc92e4d
46730aec35ee047b92b288e0366da0f7e993e5ae
refs/heads/master
2022-11-18T14:01:22.576441
2022-11-04T23:11:17
2022-11-05T05:42:07
102,860,737
0
0
null
null
null
null
UTF-8
Python
false
false
6,770
py
""" This file includes public APIs for FSDP such as the classes used for the constructor arguments. """ from dataclasses import dataclass from enum import auto, Enum from typing import Optional import torch __all__ = ["ShardingStrategy", "BackwardPrefetch", "MixedPrecision", "CPUOffload"] class ShardingStrategy(E...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
2afa179259c8c63875807be60b33ef0d0407efed
060ce17de7b5cdbd5f7064d1fceb4ded17a23649
/fn_service_now/tests/test_fn_snow_helper_update_datatable.py
2645906bac55fabfa0c971c1d99bc22a1fb17114
[ "MIT" ]
permissive
ibmresilient/resilient-community-apps
74bbd770062a22801cef585d4415c29cbb4d34e2
6878c78b94eeca407998a41ce8db2cc00f2b6758
refs/heads/main
2023-06-26T20:47:15.059297
2023-06-23T16:33:58
2023-06-23T16:33:58
101,410,006
81
107
MIT
2023-03-29T20:40:31
2017-08-25T14:07:33
Python
UTF-8
Python
false
false
2,152
py
# -*- coding: utf-8 -*- """Tests using pytest_resilient_circuits""" from __future__ import print_function import pytest from resilient_circuits.util import get_config_data, get_function_definition from resilient_circuits import SubmitTestFunction, FunctionResult from sn_test_helper import * from copy import deepcopy i...
[ "travis@example.org" ]
travis@example.org
2b1c1d5d8b54d1b2012c886dad1cf76539818866
dc4bfd8a002320ac8ed3767957bbc4db96230216
/example/config.py
4433e8a0113f8e75a28d1f334bd15f997c6d76fc
[ "MIT" ]
permissive
antikytheraton/nbChatbot
5aee172432a20ca8936a0c6612c214934d48bd32
54776fc5e4e26950fb58ccd0a2fe98a7084df850
refs/heads/master
2022-12-09T15:11:37.764848
2020-04-16T18:09:15
2020-04-16T18:09:15
93,900,722
4
0
MIT
2022-12-07T23:58:00
2017-06-09T22:16:50
Python
UTF-8
Python
false
false
169
py
CONFIG = { 'FACEBOOK_TOKEN': 'EAAbYZAtdQxxxxxxxxxxxxxxxxxxxxxNg4WSc9Flu56XQLRRBjgZDZD', 'VERIFY_TOKEN': 'verify_nbchatbot', 'SERVER_URL': 'heroku app url' }
[ "binauralvoice@gmail.com" ]
binauralvoice@gmail.com
d7dfbc252d4cbabc72aa1e5528be6515ff4948f4
52ffcef145cda7d343f195964ef33cfec34b2c66
/butterballs_animated/butterballs_animated.pyde
caa1a4d0d4a0e57811fe6b4c60655f6d3a4ac3d3
[ "MIT" ]
permissive
cclauss/generative_art
626960162e468605039f281774a2d48eecf7e86e
fc179177badd8b54b4faefd6f36f3d974ff0ca65
refs/heads/master
2020-04-06T18:31:40.298910
2018-11-15T01:12:30
2018-11-15T01:12:30
157,701,393
0
0
MIT
2018-11-15T11:36:52
2018-11-15T11:36:52
null
UTF-8
Python
false
false
10,066
pyde
########################################################################## # Aaron Penne # https://github.com/aaronpenne ########################################################################## import datetime import string import sys from random import shuffle, seed import helper import bug_palette ##############...
[ "aaronpenne@users.noreply.github.com" ]
aaronpenne@users.noreply.github.com
982cf380119747dfd4ab555ba1709527d99e676c
f8666599b83d34c861651861cc7db5b3c434fc87
/plotly/validators/barpolar/_selectedpoints.py
42c6675b37aa8c90da3726019e97afc754168a53
[ "MIT" ]
permissive
mode/plotly.py
8b66806e88c9f1820d478bab726f0bea81884432
c5a9ac386a40df2816e6c13264dadf14299401e4
refs/heads/master
2022-08-26T00:07:35.376636
2018-09-26T19:08:54
2018-09-26T19:19:31
60,372,968
1
1
MIT
2019-11-13T23:03:22
2016-06-03T19:34:55
Python
UTF-8
Python
false
false
475
py
import _plotly_utils.basevalidators class SelectedpointsValidator(_plotly_utils.basevalidators.AnyValidator): def __init__( self, plotly_name='selectedpoints', parent_name='barpolar', **kwargs ): super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, p...
[ "noreply@github.com" ]
mode.noreply@github.com
197f9a0ceb0d7fe664ef26f910397dd944f3067a
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/networkmanager_write_1/site_create.py
366c0d1e0841bb4326b60b68e3fdd04fd303e662
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/networkmanager/create-site.html if __name__ == '...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
934f197f63186c00c0aa67e347098d67e76e8f11
4c0bbd1b8c821fd096435aa06f8bb08bedb917e9
/pbt.py
1f2bf330d096effe1e4642bb8e69a93239b0f06d
[]
no_license
sparticlesteve/heptrkx-gnn-tracking
ec301a6984af217956302ec90781153b8255ff2a
85d257f6fed79d0f6f0f25e2ba10ac8d3487c39f
refs/heads/master
2021-06-20T12:17:55.124924
2019-09-05T05:31:55
2020-04-19T20:45:51
167,315,319
6
10
null
2021-01-14T00:57:45
2019-01-24T06:27:41
Jupyter Notebook
UTF-8
Python
false
false
3,245
py
import os import argparse import time from crayai import hpo def parse_args(): parser = argparse.ArgumentParser() parser.add_argument('config', nargs='?', default='configs/agnn_pbt.yaml') parser.add_argument('--nodes', type=int, default=16, help='Number of nodes to run optimizatio...
[ "sparticlesteve@gmail.com" ]
sparticlesteve@gmail.com
c129ee002f6d78f0d81c4c2a136f877bca34f397
eae8d7821f73233ef52f916b2d22b392fa056086
/python_one_learn/day17/common/list_helper.py
023e71741dd20da48f838f91b6887d1ee442f3a1
[]
no_license
Wuskysong/python01_-
cad75d90dab945cc85719dcb1bb138ce81b813e5
4cef60bc5812524f7331e0f97f68c41db7082db7
refs/heads/master
2020-06-21T23:59:20.121964
2019-07-18T12:54:40
2019-07-18T12:54:40
197,584,017
1
0
null
2019-07-18T12:44:26
2019-07-18T12:37:03
Python
UTF-8
Python
false
false
1,533
py
""" 列表助手模块 """ class ListHelper: """ 列表助手类 """ @staticmethod def find_all(list_target, func_condition): """ 通用的查找某个条件的所有元素方法 :param list_target: 需要查找的列表 :param func_condition: 需要查找的条件,函数类型 函数名(参数) --> bool :return: 需要查找的元素,生成器类型....
[ "865997553@qq.com" ]
865997553@qq.com
522e7c30860e3bd7ee521bede2a09b7acdf5101c
27b86f422246a78704e0e84983b2630533a47db6
/tests/test_09_cython_acceleration/test_903_acc_matrix44.py
4ac34138cc30e532696762180ccc43733e00e6c1
[ "MIT" ]
permissive
mozman/ezdxf
7512decd600896960660f0f580cab815bf0d7a51
ba6ab0264dcb6833173042a37b1b5ae878d75113
refs/heads/master
2023-09-01T11:55:13.462105
2023-08-15T11:50:05
2023-08-15T12:00:04
79,697,117
750
194
MIT
2023-09-14T09:40:41
2017-01-22T05:55:55
Python
UTF-8
Python
false
false
2,052
py
# Copyright (c) 2020-2023, Manfred Moitzi # License: MIT License # Test only basic features of Cython implementation, # Full testing and compatibility check with Python implementation # is located in test suite 605. import pytest import numpy as np matrix44 = pytest.importorskip("ezdxf.acc.matrix44") Matrix44: matri...
[ "me@mozman.at" ]
me@mozman.at
6610629d54b2c5ac59da26cba068dd2d1f43a0f7
485c7e76b32df2255b70534f93f1865f556ddb7f
/worksheet/migrations/0002_todo_reminder.py
58d7b84938c72608be6d7b7d189760d7d0a743cb
[]
no_license
srrobin/personal-book
ec0c07b95d0e24946950238a8aa2b5ac41eabfa2
82add4f2de22f88ba9b822ba4e0ecc727554111f
refs/heads/master
2022-11-30T07:37:06.978056
2019-09-10T05:38:02
2019-09-10T05:38:02
207,211,267
1
0
null
null
null
null
UTF-8
Python
false
false
371
py
# Generated by Django 2.2.3 on 2019-07-23 17:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('worksheet', '0001_initial'), ] operations = [ migrations.AddField( model_name='todo', name='reminder', f...
[ "you@domain.com" ]
you@domain.com
d84883d411e4ad65d46ac21140b7a520f85b9369
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/Scaleform/framework/entities/abstract/VoiceChatManagerMeta.py
b2d3fa4227d019e0454b3829a8fe98a670b3d8cd
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,201
py
# 2017.02.03 21:51:16 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/framework/entities/abstract/VoiceChatManagerMeta.py from gui.Scaleform.framework.entities.BaseDAAPIModule import BaseDAAPIModule class VoiceChatManagerMeta(BaseDAAPIModule): """ DO NOT MODIFY! Generated with...
[ "info@webium.sk" ]
info@webium.sk
d2b9df7e94f38ee983c30d5363ebc16205dda68c
b3bb0d8e42e1a38e5cd84e64e9990bf05d63ddde
/ft/tests.py
7ff0161f40a31368a807238d6d6df32b473c74ad
[]
no_license
vassily-la/obey01
7a9b2433f1b7c09a210ab77c108d3caa097f26e4
958badabf5549dd627150b5f94af13324dfd159b
refs/heads/master
2020-03-08T20:38:43.552362
2018-04-09T17:59:52
2018-04-09T17:59:52
128,387,334
0
0
null
null
null
null
UTF-8
Python
false
false
5,570
py
import os, time from django.contrib.staticfiles.testing import StaticLiveServerTestCase from selenium import webdriver from selenium.common.exceptions import WebDriverException from selenium.webdriver.common.keys import Keys MAX_WAIT = 10 class NewVisitorTest(StaticLiveServerTestCase): def setUp(self): ...
[ "vasil.deville@gmail.com" ]
vasil.deville@gmail.com
65d79a8adef04fdbc70e590cb1025aa748e9e9a7
eae50e84483d129d915ea62692ef34b9ac64af68
/moss/core/migrations/0001_initial.py
5ad773d1cb1eff1326054797c9e83c3ab9813c35
[]
no_license
Elicarlos/ifpi-project
785cba465a90bf93f0ac61674f990e1853d96fd5
fb13556726fe4e2317223e88ed4fc53261667d04
refs/heads/master
2020-03-23T14:08:13.390179
2018-07-27T06:08:25
2018-07-27T06:08:25
141,658,552
0
0
null
null
null
null
UTF-8
Python
false
false
1,469
py
# Generated by Django 2.0.6 on 2018-07-26 23:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Chamado', fields=[ ('id', models.AutoField(...
[ "elicarlosantos_@hotmail.com" ]
elicarlosantos_@hotmail.com