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
7e9ff41e7f4ef68626514a0cd092f8002e4366e7
c086a38a366b0724d7339ae94d6bfb489413d2f4
/PythonEnv/Lib/site-packages/idna/package_data.py
1cbe1c6ad6c6135e962f592903a715bf1583c108
[]
no_license
FlowkoHinti/Dionysos
2dc06651a4fc9b4c8c90d264b2f820f34d736650
d9f8fbf3bb0713527dc33383a7f3e135b2041638
refs/heads/master
2021-03-02T01:14:18.622703
2020-06-09T08:28:44
2020-06-09T08:28:44
245,826,041
2
1
null
null
null
null
UTF-8
Python
false
false
20
py
__version__ = '2.9'
[ "=" ]
=
f97ae739b9877f4e5efd4375b1584c6b49da597b
857d8f44ee11e7bf6972486e6be875aec9fff819
/mythx_cli/formatter/util.py
2d3396ae2ec6cc29ee9e594243ada061ecc91e95
[ "MIT" ]
permissive
s0b0lev/mythx-cli
dfe45adfb41163098d08bf1849c48083241b22e5
27dc1c4ce1d87fbd02be4d32c5fbb4281da7c53c
refs/heads/master
2022-04-10T21:18:20.506815
2020-03-27T10:32:23
2020-03-27T10:32:23
250,260,634
0
0
MIT
2020-03-26T13:05:12
2020-03-26T13:05:11
null
UTF-8
Python
false
false
4,404
py
"""Utility functions for handling API requests and responses.""" from typing import List, Union import click from mythx_models.response import DetectedIssuesResponse, Severity SEVERITY_ORDER = ( Severity.UNKNOWN, Severity.NONE, Severity.LOW, Severity.MEDIUM, Severity.HIGH, ) def get_source_loca...
[ "dmuhs@protonmail.ch" ]
dmuhs@protonmail.ch
ca42bf7575d962f0e1942732e0aa257c00973a2a
8a66b19e38ea5042dfd454634ff434dfe9f297b0
/data/output/4_original
3ede26cf818b59cd261aab203d184b456b3769e3
[]
no_license
KqSMea8/pythonanalyzer
6a8adbf945d8d2febcf3e1084bb9d673f89210d7
d4ac77ed1644081e028c791d9b64e9dfebad06e8
refs/heads/master
2020-05-19T21:08:10.645730
2019-05-06T14:45:57
2019-05-06T14:45:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "twobuntu.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "rares.begu@gmail.com" ]
rares.begu@gmail.com
a26ece7a4286b44a672d498df8c9eae03da97dad
707d702cd2628938829bbab2275da9a52c88666b
/pamlJob.py
5f9acbc996bfbede0b001a389d2a609346ef1466
[]
no_license
MaciekZZZ/project-lazarus
682a7f87ed2f2c857bd839abea0360505156ead6
e5b34a4b98c7b064044b98a58a329bf954e65560
refs/heads/master
2021-01-01T18:42:04.760323
2015-03-15T13:51:56
2015-03-15T13:51:56
32,376,663
0
0
null
null
null
null
UTF-8
Python
false
false
7,841
py
############################################################################## # # PamlJob class: # a class containing the logic for writing codeml and baseml *.ctl files, # and logic to parse and store the results from codeml and baseml. # # # Author: Victor Hanson-Smith # Contact: victorhs@cs.uoregon.edu # ##########...
[ "victorhansonsmith@gmail.com" ]
victorhansonsmith@gmail.com
8c4fd996268da9a039352a06d3bf2b53964c5823
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Integration/model_control_one_enabled_Integration_MovingAverage_Seasonal_MonthOfYear_LSTM.py
de9aad1d33d18bc660e961d2021163f758b52956
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
175
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Integration'] , ['MovingAverage'] , ['Seasonal_MonthOfYear'] , ['LSTM'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
ba2ffe1645eb7f733945e851d169d43d91d13d2c
9d5c9d9373002ab4ed1b493136517e8b4ab160e5
/saas/settings.py
4814fc8298fcc4faf4f4d40742c94562e265bd4f
[ "MIT" ]
permissive
robert871126/bk-iam-saas
f8299bb632fc853ef0131d445f84c6084fc84aba
33c8f4ffe8697081abcfc5771b98a88c0578059f
refs/heads/master
2023-08-23T19:23:01.987394
2021-10-22T09:45:28
2021-10-22T09:45:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-权限中心(BlueKing-IAM) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with th...
[ "zhu327@gmail.com" ]
zhu327@gmail.com
c9f9ca58078288834d2b5b2a447c9b5389461343
6d39bbe870917a9f759cc1342c51cc67bb3c3001
/pyobjc-framework-Cocoa/PyObjCTest/test_nsworkspace.py
1fb876d4cb3c992a32e1407a6e555cf88cf4cd44
[ "MIT" ]
permissive
beOn/pyobjc
6cb1887d0a050d63c9885a9c5ecb8fbe1f402b43
acf71801c5915a5a632afe7a265faa7c9a7209b1
refs/heads/master
2023-06-04T13:46:39.855437
2021-06-25T19:44:40
2021-06-25T19:44:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,974
py
import objc import AppKit from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSWorkspace(TestCase): def testInfoForFile(self): ws = AppKit.NSWorkspace.sharedWorkspace() # A method with 2 output parameters, this means the result # is a tuple with 3 elements (return value,...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
924cf4dedc103974370fc93cea0948923892aa1b
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp146_8500.py
295481d7171067ece9d857ce1bf33e988e10258e
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,774
py
ITEM: TIMESTEP 8500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -2.2741120514651598e+00 4.9474112051459123e+01 -2.2741120514651598e+00 4.9474112051459123e+01 -2.2741120514651598e+00 4.9474112051459123e+01 ITEM: ATOMS id type xs ys zs 1380 1 0.0805658 0.0543302 0.133749 1710 1 0.00760439 0.0495926 0.159462 209 ...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
97af4069785fc222565c74b0af560d0127c1eca7
e04dbc32247accf073e3089ed4013427ad182c7c
/ATC001/A.py
4916c3a117c874c47ef9b69f46996605e1b5dd07
[]
no_license
twobooks/atcoder_training
9deb237aed7d9de573c1134a858e96243fb73ca0
aa81799ec87cc9c9d76de85c55e99ad5fa7676b5
refs/heads/master
2021-10-28T06:33:19.459975
2021-10-20T14:16:57
2021-10-20T14:16:57
233,233,854
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# 深さ優先探索 import sys sys.setrecursionlimit(1000000) H,W = list(map(int,input().split())) S = [] for i in range(H): s = input() S.append(s) for i in range(H): for j in range(W): if S[i][j]=="s": si,sj = i,j if S[i][j]=="g": gi,gj = i,j visited = [] for i in range(H):...
[ "twobookscom@gmail.com" ]
twobookscom@gmail.com
9c35d38d21a9ef6ed6269d4c44902e7fcb98b644
56be7f6b6a1243c532af9ea98310ccea165a1e66
/day18/about_fenye/about_fenye/urls.py
ab04f81b008c2fd806bac38d32d1122eae86b6d3
[]
no_license
214031230/Python21
55b0405ec4ad186b052cde7ebfb3f4bb636a3f30
d7fc68d3d23345df5bfb09d4a84686c8b49a5ad7
refs/heads/master
2021-05-26T06:00:53.393577
2019-01-09T02:29:04
2019-01-09T02:29:04
127,778,172
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
"""about_fenye URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "214031230@qq.com" ]
214031230@qq.com
73cbc8e528416492b2e495cde3816dc5a35812c6
e6793e7eb54d2105c373a8af7ebc653b7ad94575
/multibody/shapes/BUILD.bazel
7e9deed720cf5296b37fd0ca5a6f0877a3f346dd
[ "BSD-3-Clause" ]
permissive
nikaven/drake
5c59e88f79b530ddf62496452959abeaf8fff1e3
34bab4ecaa34ac09ade6dcb11cf7bc0d13c5bd4e
refs/heads/master
2020-03-31T01:37:25.441270
2018-10-05T19:42:22
2018-10-05T19:42:22
151,788,663
7
0
null
2018-10-05T23:37:07
2018-10-05T23:37:07
null
UTF-8
Python
false
false
341
bazel
# -*- python -*- load( "//attic:build_macros.bzl", "add_attic_aliases", ) load("//tools/lint:lint.bzl", "add_lint_tests") load("//multibody/rigid_body_plant:warning.bzl", "WARNING") # For side effect. package(default_visibility = ["//visibility:public"]) add_attic_aliases([ "shapes", "test_models", ...
[ "jeremy.nimmer@tri.global" ]
jeremy.nimmer@tri.global
04a1ac59ec41153c92aff505a32d2c7f77a81895
96c970ebacd9ade1493f4d01537005788b43a49b
/pychron/pyscripts/tasks/pyscript_plugin.py
374747cc5a5e87b032cd0e4c3bc54be69e15aac7
[ "Apache-2.0" ]
permissive
OSUPychron/pychron
d2da9051b68024200d0009de634da810ccef2a0d
fe0ba9daff9548fa8bebab26db66a1cefff7c1d6
refs/heads/master
2021-01-14T12:47:26.389887
2015-12-18T22:27:02
2015-12-18T22:27:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,851
py
# =============================================================================== # Copyright 2013 Jake Ross # # 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...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
93bb1b68101317784173698ba340d4098e7a5b85
1518483f16e735453a0e154a6619a4f5228874f6
/tests/test_decisiontree.py
fa371888854879d3dbb15a254f417cc897f666b1
[ "MIT" ]
permissive
jdvelasq/decisions-tree
8e156c4828e5a1e00f583bbdb88d5a3b9c7f6e3d
54f886e82784c4061200d843841ef600b0ac366b
refs/heads/master
2023-06-04T03:47:45.741438
2021-06-28T13:46:40
2021-06-28T13:46:40
134,651,498
1
1
null
null
null
null
UTF-8
Python
false
false
284
py
"""Tests """ from decisions_tree.decision_tree import DecisionTree def test_terminal_node_creation(): """test""" tree = DecisionTree() tree.terminal_node() assert tree.data[0].type == "TERMINAL" assert tree.data[0].expr is None assert tree.data[0].id == 0
[ "jdvelasq@unal.edu.co" ]
jdvelasq@unal.edu.co
066317e9308f2b0748697df1abf9aad98c762cc9
e7fab7a59d8d1a3ee5528e5e7505e428764636cd
/rich/bar.py
65a28dfc8d9b0b5300b60feea35c82b079b2dc12
[ "MIT" ]
permissive
diek/rich
081c2480d3191316d9d027d31b12a9668fa19666
e5c300d5b0f4ada0a0f7588c660a5fd29fbaee64
refs/heads/master
2021-05-19T11:24:57.445723
2020-03-31T15:49:31
2020-03-31T15:49:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,719
py
from typing import Union from .console import Console, ConsoleOptions, RenderResult from .measure import Measurement from .segment import Segment from .style import StyleType class Bar: """Renders a (progress) bar. Args: total (float, optional): Number of steps in the bar. Defaults to 100. ...
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
15906a69c4081328b1d41f3787ea24a51ec6661e
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/eve/client/script/ui/eveUIProcs.py
9b8e14ca0f30664bf20829b79156c71b233b36df
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,444
py
#Embedded file name: eve/client/script/ui\eveUIProcs.py import uthread import eve.common.script.sys.eveCfg as util import locks import random import svc import carbonui.const as uiconst import localization class EveUIProcSvc(svc.uiProcSvc): """ Manages ActionProcs for UI systems (camera, audio, and UI). ...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
cacfc02eb14aae0200067fe4f3734d860c08b5d5
dabaa419581f4905833c495c2801be49429b272d
/apps/bloodhound/bloodhound_setup.py
4194998a4072e3fe8d4fc80dd9dea2bdef50e1f5
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "Python-2.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Stackato-Apps/stackato-apps
222ea90b280d7f80e53a259e86662839c8db4a71
e95077a8255f7042f9414d4570b03ab984fd9587
refs/heads/master
2021-01-19T06:25:29.565845
2015-05-29T21:01:54
2015-05-29T21:01:54
30,000,576
1
3
null
2015-04-21T18:05:10
2015-01-29T02:53:02
PHP
UTF-8
Python
false
false
20,191
py
#!/usr/bin/env python # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the...
[ "ingy@ingy.net" ]
ingy@ingy.net
9b744106637d8aa581bb460af23d834cce11ef2d
1a7487e3d8129c3e469b4faabf7daf0284a2cb15
/vedastr/models/bodies/sequences/transformer/decoder.py
5d7daa881078194722165ae99efbb4c5acd6c5e2
[ "Apache-2.0" ]
permissive
kkalla/vedastr
67715bfc05c4ab633fe20f82193e13c21a951a82
d9e237fb8fbd79d36ed314bf9f902796ec210fb4
refs/heads/master
2023-01-03T09:01:18.960161
2020-11-02T09:01:35
2020-11-02T09:01:35
284,680,371
0
0
Apache-2.0
2020-11-02T09:01:37
2020-08-03T11:20:00
null
UTF-8
Python
false
false
1,143
py
import logging import torch.nn as nn from .position_encoder import build_position_encoder from .unit import build_decoder_layer from ..registry import SEQUENCE_DECODERS from vedastr.models.weight_init import init_weights logger = logging.getLogger() @SEQUENCE_DECODERS.register_module class TransformerDecoder(nn.M...
[ "jun.sun@media-smart.cn" ]
jun.sun@media-smart.cn
60c4aecd5a79cd0c5d197007fbce2340680664f7
28c79c447c75e2cd4522c93072d99797c71aae63
/BMO/pyamazon.py
e63d235103fe3f405e3f2ffe52a0af6dcf70c3d7
[]
no_license
tsuyukimakoto/bmo
bee8802455a376026879a02f0c12e0c988dbdc20
7593eb6ff9d7061d218e9082f122d11d04533c45
refs/heads/master
2020-03-23T01:38:25.669405
2010-09-23T05:46:12
2010-09-23T05:46:12
140,928,630
0
0
null
null
null
null
UTF-8
Python
false
false
6,379
py
# -*- coding: utf8 -*- # # pyamazon.py # pyshelf # # Created by makoto tsuyuki on 07/11/04. # Copyright (c) 2007 everes.net All rights reserved. # from datetime import datetime import httplib, urllib from xml.etree import ElementTree class Item(object): def __init__(self, asin='', sales_rank=0, image='', ...
[ "mtsuyuki@gmail.com" ]
mtsuyuki@gmail.com
b03809df39fd0f8958db0be4187d666d5eb404a3
f340b9f47aaf11d95911074efd16e2878b4608c5
/200119/Word_Ladder_II.py
2e7dde5aba0ce910314145023958a13983352978
[]
no_license
Jsonghh/leetcode
150020d1250a7e13e7387a545b4eb7df0de8f90b
3a83c0b0bcc43f458f7fc54764f60e1104fcc12e
refs/heads/master
2020-11-25T03:12:48.842151
2020-02-11T02:56:58
2020-02-11T02:56:58
228,475,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
class Solution: def findLadders(self, beginWord: str, endWord: str, wordList: List[str]) -> List[List[str]]: if endWord not in wordList: return [] d = {} results = [] wordList = set(wordList) wordList.add(beginWord) self.bfs(beginWord, endWord, wordList, ...
[ "jiesonghe@outlook.com" ]
jiesonghe@outlook.com
3828b38f141bfab5bd065764b8b7c70f84420fc1
e818cf45e9c2f081bb64954f515540bdab25b9d1
/polls/views.py
1e01d3456a36915082fb8d3b3294ec716d39e2bd
[]
no_license
Timothy-py/Polls-API
bfccefbfe0da4ccbc4d8fd39ba4fe14e66b3227d
d354795e4bba43c99bab71020693568e625d677c
refs/heads/master
2020-09-23T22:30:48.575799
2019-12-12T15:07:54
2019-12-12T15:07:54
225,603,867
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
from django.shortcuts import render, get_object_or_404 from .models import Poll from django.http import JsonResponse # Create your views here. def polls_list(request): MAX_OBJECT = 20 polls = Poll.objects.all()[:MAX_OBJECT] data = { "results": list( polls.va...
[ "adeyeyetimothy33@gmail.com" ]
adeyeyetimothy33@gmail.com
b65bd4cca36e9cb75cecbbd62a1963301516480d
0755a5f8d821b2b02b7f087d26e1433156075f04
/programmers/level1/자릿수더하기.py
653fc625113e0d14e1f749fd65cc0270ba5a5f21
[]
no_license
kimevanjunseok/Algorithm
35fdfdd5a0c5c8ad1029429aba8d6c2320088993
ea0883964e43779e569a1a2c8a879a246083ef0e
refs/heads/master
2020-08-17T22:50:13.096789
2020-01-07T14:28:56
2020-01-07T14:28:56
215,720,238
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
# My solution def solution(n): return sum([int(i) for i in str(n)]) def solution(n): return sum(map(int, str(n)))
[ "jnunseok@gmail.com" ]
jnunseok@gmail.com
3af06f91d8ff98ed52d65a90a64b68decc2c5ee6
8e84a9e8ecd1c34655abb1c13953847d09a0cfa9
/flaskify/users/utils.py
28dfead42bc9769dda9dcdb2b41b8d19382b5b1b
[]
no_license
pzrsa/flaskify
7e691003c52120024a118f1d4da423dcaf71bf65
2048f985ac146d705ccf0ebecc4aff7557941b90
refs/heads/main
2023-05-29T02:09:05.945742
2021-06-05T12:41:08
2021-06-05T12:41:08
342,721,492
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
import os import secrets from flask import current_app, url_for from flask_mail import Message from flaskify import mail from PIL import Image def save_picture(form_picture): random_hex = secrets.token_hex(8) _, f_ext = os.path.splitext(form_picture.filename) picture_fn = random_hex + f_ext picture_p...
[ "parsamesg@gmail.com" ]
parsamesg@gmail.com
7f964d0809de5e49d94710f14427e6408190922d
4795320bf7013c9aabd10b48656e541335647f7f
/cov_search/migrations/0002_auto_20150629_0427.py
f2a7040a8646d29ebbaf6df46ea4d5f9099cb3af
[]
no_license
dgrant/city_of_vancouver_programs_search
7295de3aad1ab3885c9b30e086230a6fff740791
33dfca03ccd434b39f01981890b195b384c1a2e0
refs/heads/master
2023-07-09T09:59:03.417301
2016-08-20T06:25:52
2016-08-20T06:25:52
38,360,943
0
0
null
2023-09-05T20:01:58
2015-07-01T09:03:22
Python
UTF-8
Python
false
false
405
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('cov_search', '0001_initial'), ] operations = [ migrations.AlterField( model_name='season', name='nam...
[ "davidgrant@gmail.com" ]
davidgrant@gmail.com
537bae4470cd0c88bf121a68a574b00f0f3392b0
6174de8df820463515c63425700eab7af643bb31
/src/lib/models/networks/efficientnet/model.py
9e5799b3bd5235047610679d3ada371dd499cdde
[]
no_license
danielzgsilva/CL-MOT
1cd9b5f2f06454dd7c35a3e2906ad2883ea83495
3b5b812788a34728d7b7484b10ae9434313380fe
refs/heads/master
2022-12-05T18:45:36.805047
2020-08-27T22:01:34
2020-08-27T22:01:34
272,636,268
6
2
null
null
null
null
UTF-8
Python
false
false
9,921
py
# From: https://github.com/zylo117/Yet-Another-EfficientDet-Pytorch/ import torch from torch import nn from torch.nn import functional as F from .utils import ( round_filters, round_repeats, drop_connect, get_same_padding_conv2d, get_model_params, efficientnet_params, load_pretrained_weigh...
[ "danielzgsilva@knights.ucf.edu" ]
danielzgsilva@knights.ucf.edu
e06dfef674f9aeccead93fa370a718e85f13e148
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-monitor/azure/mgmt/monitor/models/sender_authorization_py3.py
fc908dab0e932162faf915093cfa43a7444cfaf5
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
1,456
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
e09029b8bdce7a1f1555291c2e52c40ab50564d3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/18/usersdata/63/6289/submittedfiles/maiormenor.py
c4ed26b8ed5ca3e8a1e42c244d6514c6f567a004
[]
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
787
py
# -*- coding: utf-8 -*- from __future__ import division import math a = input('Digite o número 1: ') b = input('Digite o número 2: ') c = input('Digite o número 3: ') d = input('Digite o número 4: ') e = input('Digite o número 5: ') if a<b and a<c and a<d and a<e: print('%d : %a') if b<a and b<c and b<d and b<e: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e6c0583c3b6f7c457ae78296d323d908036191f0
d697fe447506ce4c179d1c77144f84b525304cec
/ch4_populations_cdf.py
0352412cda206361b24ff49ccdf3b9eb2d8a9a51
[]
no_license
leosartaj/thinkstats
a97004d1e906660877d1244844f22ab01b13d7d6
6345d88e113fa4b347bd45d519c0fb6813402cab
refs/heads/master
2021-01-10T08:44:09.168668
2015-12-07T04:28:05
2015-12-07T04:28:05
47,359,632
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import sys import populations import Cdf import myplot def main(filename): pops = populations.ReadData(filename) cdf = Cdf.MakeCdfFromList(pops) myplot.Cdf(cdf, transform='pareto') myplot.Show() if __name__ == '__main__': main(sys.argv[1])
[ "singhsartaj94@gmail.com" ]
singhsartaj94@gmail.com
6b824b3f9703c6ad5c7f14d9619e1ae1dba1d2c3
17bd8f50704f5d8026d298b0c940aab68af591a0
/tests/test_common.py
2e006a77d00e10bda67230d546cefc19bece66e9
[]
no_license
Pebaz/mini-rh-project
bdaeef15e1872c7411f274f2949c49d4cb0fdb50
d4b219ddb725cf53d08ed46abf3f973d06cc03ce
refs/heads/master
2020-07-01T18:45:49.437877
2019-08-15T02:12:33
2019-08-15T02:12:33
201,260,751
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
""" This needs to be imported on every test file so that the test files can import modules from the `rh` package. """ import sys sys.path.append('.') from rh.data import * top_10_genres_by_profit = get_top_10_genres_by_profit() top_10_actors_by_profit = get_top_10_actors_by_profit() top_10_directors_by_profit = get...
[ "pebazium@gmail.com" ]
pebazium@gmail.com
96519c0d5f429ea1fea9725f22f98c7d3c367fc6
6b96bf434ec11fd2d8b7870861da25d6336b365a
/tests/test_project.py
3a2911498487fbdf500c5d84c44b6947f97f25b9
[ "MIT" ]
permissive
gzcf/polyaxon-schemas
68b908badef6bb06a1ad31af337a435ac87ed230
a381280cd7535f64158d52f0a9eff2afec997d90
refs/heads/master
2020-03-10T04:55:48.023279
2018-04-12T12:47:53
2018-04-12T12:47:53
129,204,842
0
0
MIT
2018-04-12T06:37:36
2018-04-12T06:37:36
null
UTF-8
Python
false
false
5,335
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import uuid from unittest import TestCase from marshmallow import ValidationError from tests.utils import assert_equal_dict from polyaxon_schemas.experiment import ExperimentConfig from polyaxon_schemas.project import Experimen...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
8c9dc482eca7116299722e5d57d347fbc4a3126c
cfd515074626477b689b5763d7e8cff42af04817
/kagenomise/products/vocabulary/clothing_sizes.py
cdce81b68c21b87136cab1515c946cbf0052a496
[]
no_license
kagesenshi/kagenomise.products
cbe29c424b94e8917203254824a3e878aa69f439
3eb9e3a74d472e0bd7daa03e1dae4e5aa34a7818
refs/heads/master
2021-01-15T10:47:49.199010
2013-05-19T10:58:42
2013-05-19T10:58:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
from five import grok from zope.schema.interfaces import IContextSourceBinder from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm from zope.schema.interfaces import IVocabularyFactory from zope.component import getUtility from z3c.formwidget.query.interfaces import IQuerySource class ClothingSizes(grok.Glo...
[ "izhar@inigo-tech.com" ]
izhar@inigo-tech.com
c8334fd40f30e0a61067cbccc1a7767772698b3a
9f6fda1683fd3993c62b7c04cbbe54d3f8b932f2
/Demo/MysqlDemo/demo.py
e4fb2e7d0fc14756ace4fc3e8faed6dc79e57f53
[]
no_license
dajun928/Demo
89f457bd324f1903ac217223a6f712af18e10bef
8318cee62b0508c76ab1106961c0247b5f511e94
refs/heads/master
2020-03-22T14:28:14.714335
2018-07-08T16:59:51
2018-07-08T16:59:51
140,182,350
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
# -*- coding:utf-8 -*- import MySQLdb conn = MySQLdb.connect(host='127.0.0.1', port=3306, user='root', passwd='1234', db='test') cur = conn.cursor() # import records # # db = records.Database('mysql://root:1234@127.0.0.1:3306/test') # rows = db.query('select * from stu') # or db.query_file('sqls/active-users.sql...
[ "1663177102@qq.com" ]
1663177102@qq.com
b53f0f86c1bf78a2cc7f5601f14d5e22b965f826
1b592595122b6a7f1f18f68fc9c4bcee80a6226e
/worker.py
dc7a267c6e6d5fcec47b0024aadf8efcd3d9f72f
[]
no_license
coffenbacher/mls-fantasy
a985d49c273fb443353d8765cbbabe52d6b2e3ee
cff3a4f729f3644b72a9e9319813eb86d660b4f7
refs/heads/master
2021-01-22T11:37:20.491593
2015-04-27T16:56:52
2015-04-27T16:56:52
31,785,793
0
1
null
null
null
null
UTF-8
Python
false
false
95
py
import redis import os redis_url = os.getenv('REDISCLOUD_URL') conn = redis.from_url(redis_url)
[ "charles.offenbacher@gmail.com" ]
charles.offenbacher@gmail.com
5aa08991eec5f2a15c731c1bb7e90bc728159ca0
2027fe86a12a9eba750e208a96dbc83864d97442
/delivery/delivery/ext/site/__init__.py
17f648b69a98e744da835c57cd22cbc33132786e
[ "Unlicense" ]
permissive
luxu/curso-flask
1e969003dfa2419dddf65ec81ae5f4ea368ae87e
978ba41b41b29d7ffd19ade5bef2765086e1f8f3
refs/heads/master
2022-11-29T05:48:57.257309
2020-08-03T11:18:43
2020-08-03T11:18:43
272,013,723
1
0
Unlicense
2020-07-20T03:10:04
2020-06-13T13:25:50
Python
UTF-8
Python
false
false
78
py
from .main import bp def init_app(app): app.register_blueprint(bp)
[ "zicadopv@gmail.com" ]
zicadopv@gmail.com
99fab05bc0eea137e4094a3a35c913987d061372
74d6a9d33ff4374c3a7b22229819dbed34484f85
/app/models.py
2323749a4b96fbf227eeb2a1b05694d54f9d1670
[ "MIT" ]
permissive
MichelAtieno/Personal-Blog
a7bcabb92542b6df4a671a529e7ea373a4197dd5
16657391b968e644b99fa0dde5d5a443881698da
refs/heads/master
2020-03-28T15:38:29.031020
2018-09-17T11:45:02
2018-09-17T11:45:02
148,611,954
0
0
null
null
null
null
UTF-8
Python
false
false
2,731
py
from . import db, login_manager from flask_login import UserMixin from werkzeug.security import generate_password_hash,check_password_hash @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin,db.Model): __tablename__ = 'users' id = db.Column(db.Intege...
[ "mishqamish@gmail.com" ]
mishqamish@gmail.com
89d980daa841cfb37ae4361ab4e749a11e22437e
3d4fcc7cbfafc4aaebea8e08d3a084ed0f0d06a1
/Trash/Creation_donnees/MIDI/liz_donjuanfMidiSimple.py
aa9cb251e87c946a7fbf0495b183747cf64d5234
[]
no_license
XgLsuLzRMy/Composition-Musicale-par-Reseau-de-Neurones
0421d540efe2d9dc522346810f6237c5f24fa3bf
518a6485e2ad44e8c7fbae93c94a9dc767454a83
refs/heads/master
2021-09-03T20:43:01.218089
2018-01-11T20:02:00
2018-01-11T20:02:00
106,448,584
3
1
null
null
null
null
UTF-8
Python
false
false
1,759,197
py
import midi pattern=midi.Pattern(format=1, resolution=480, tracks=\ [midi.Track(\ [ midi.ControlChangeEvent(tick=0, channel=0, data=[7, 100]), midi.ControlChangeEvent(tick=0, channel=0, data=[10, 64]), midi.ControlChangeEvent(tick=0, channel=0, data=[91, 127]), midi.NoteOnEvent(tick=1440, channel=0, data=[69...
[ "jeremy.catelain@insa-rouen.fr" ]
jeremy.catelain@insa-rouen.fr
086eb1de9a914373c017cdbde0d741dfa01d752e
a44833dae38c9bc81f1dd731b0056e0dfa2df8a7
/config/settings.py
6687fef7736814cf0257554b8905d0a230591d28
[ "MIT" ]
permissive
leroyg/build-a-saas-app-with-flask
ca662b4c77a82336d52efda7a379a7f1c035077e
6e95c73ccbea621f68464bceb6ce913d26abfe60
refs/heads/master
2020-12-25T21:55:36.551160
2015-10-29T15:10:05
2015-10-29T15:10:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,299
py
# -*- coding: utf-8 -*- from os import path from datetime import timedelta from celery.schedules import crontab # This value is used for the following properties, # it really should be your module's name. # Database name # Cache redis prefix APP_NAME = 'catwatch' APP_ROOT = path.join(path.dirname(path.abspath(_...
[ "nick.janetakis@gmail.com" ]
nick.janetakis@gmail.com
3fb6fa665a6e2c6aba0084149a226f9dde2c26d5
8466ebe93688e1dbf60fce7dec98caa8399877ae
/python/19-counting-sundays.py
36ac9e6c3bb5d746f46c6e9658438b2b106cd394
[]
no_license
alextanhongpin/project-euler
1b524ea98234bd334fbd3b6a582c35713ab5e810
87311c95fdc7f3ef59344b5d8a0b0a0e70b439a1
refs/heads/master
2020-05-24T00:08:25.376061
2017-03-27T07:29:54
2017-03-27T07:29:54
84,804,081
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
""" Problem 19 - Counting Sundays """ from datetime import date # Monday is 0, # Sunday is 6 def main(): start = date(1901, 1, 1) end = date(2000, 12, 31) number_of_months = (end.year - start.year + 1) * 12 is_sunday = 0 start_year = 1901 for month in range(number_of_months): current_mon...
[ "alextan220990@gmail.com" ]
alextan220990@gmail.com
a8845fabc963784e3b3ec489a682a47ebbde83de
b33beb8b5e9bc7fb81b324028d532863109098e2
/DB/accounts/migrations/0022_auto_20210401_2142.py
ecb7dad14f351af96076e999e0a11c96651db445
[]
no_license
forza111/DB
78da533a000111a16e651182856b3c0e6c52e2b0
102abd68e4a0d9589d5d9f0db62c05e345b51626
refs/heads/master
2023-06-02T21:27:33.088981
2021-06-25T09:05:44
2021-06-25T09:05:44
351,230,160
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
# Generated by Django 3.1.7 on 2021-04-01 21:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('accounts', '0021_auto_20...
[ "nikitos.ionkin@yandex.ru" ]
nikitos.ionkin@yandex.ru
7ae82540efdd26c4d4896c2b9b21756cd80edb9f
124b35ccbae76ba33b9044071a056b9109752283
/NeuralNetwork/review_RNN/z_reference.py
f868cbbf28e9dc3f72200d7ee509a25840fe1d3d
[]
no_license
anilmaddu/Daily-Neural-Network-Practice-2
94bc78fe4a5a429f5ba911bae5f231f3d8246f61
748de55c1a17eae9f65d7ea08d6b2b3fc156b212
refs/heads/master
2023-03-08T22:04:45.535964
2019-03-15T23:10:35
2019-03-15T23:10:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,356
py
import tensorflow as tf import numpy as np,sys from sklearn.utils import shuffle from tensorflow.examples.tutorials.mnist import input_data import matplotlib.pyplot as plt np.random.seed(678) tf.set_random_seed(5678) # activation def tf_log(x): return tf.sigmoid(x) def d_tf_log(x): return tf_log(x) * ( 1.0 - tf_log(x...
[ "jae.duk.seo@ryerson.ca" ]
jae.duk.seo@ryerson.ca
3aa7120556b2df4ab2793f3995f23cc5247b7b05
4e30d990963870478ed248567e432795f519e1cc
/tests/models/validators/v3_1_1/jsd_a6c71a1e4d2597ea1b5533e9f1b438f.py
45753551e1582a4d3a228701b695cdb15342e713
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
2,318
py
# -*- coding: utf-8 -*- """Identity Services Engine getActiveList data model. Copyright (c) 2021 Cisco and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
8ff423280f7dea2bb5dfcc49959df70bda9e3433
325dab6d1300cdc8c77e0c68a7b588e16acd8ef1
/nagerep/urls.py
a0cf610f017dd110b86d3cd93002d88e1b81db0d
[]
no_license
fishilico/nagerep
e003c683929b10d4a8c7af7c5bfa2f39a2a19922
75dcecc4f117420ee195a56c86ff6856175ca48f
refs/heads/master
2020-05-17T05:37:31.967689
2013-05-20T19:31:22
2013-05-20T19:31:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
from django.conf.urls import patterns, include, url # Enable the admin from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', )
[ "nicolas.iooss_git@polytechnique.org" ]
nicolas.iooss_git@polytechnique.org
48d29be5493a6b11086a4272192a6d137a07b492
7b7bfbfebd627a3ccfdd52bb7164fa4f94cda7fc
/optic_store/patches/v0_8/correct_return_dn_ref_si.py
f5a992f71759f0a3e0ec9445c35129ae71e60df4
[ "MIT" ]
permissive
f-9t9it/optic_store
d117b7ef7c4107ec15d8194fc57d66a18aff5945
4682ae99cdb2cbfb1ff99196398d7379b4b6c8f1
refs/heads/master
2022-07-01T10:29:54.783550
2022-06-21T14:34:40
2022-06-21T14:34:40
171,165,708
23
43
NOASSERTION
2022-06-21T14:21:16
2019-02-17T19:58:33
Python
UTF-8
Python
false
false
1,221
py
# -*- coding: utf-8 -*- # Copyright (c) 2019, 9T9IT and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def execute(): dnis = frappe.db.sql( """ SELECT dni.name AS name, fdni.against_sales_inv...
[ "sun@libermatic.com" ]
sun@libermatic.com
69b48fa7fb8ae92349f5d9fc86bc42deadecbc82
8ed19eff422d90d62bd735d420ed85d63d0d689b
/hw1_code/k.py
a71784de23250f52226441083a4eebcbbba02df7
[]
no_license
fredshentu/cs189
4efd40c4126434b225e59da45a4f40a1f64d8496
03f3dfdf4cb0f7b98fc12fb32cd0d648bc144004
refs/heads/master
2021-01-10T22:54:06.812233
2016-10-09T02:45:27
2016-10-09T02:45:27
70,364,806
0
0
null
null
null
null
UTF-8
Python
false
false
1,736
py
from mnist import MNIST import sklearn.metrics as metrics import numpy as np NUM_CLASSES = 10 def load_dataset(): mndata = MNIST('./data/') X_train, labels_train = map(np.array, mndata.load_training()) X_test, labels_test = map(np.array, mndata.load_testing()) X_train = X_train/255.0 X_test = X_te...
[ "fred960315@gmail.com" ]
fred960315@gmail.com
a317b31dcfbca9e5076548df8be19fa41cca8ce3
65347ef29a8d580a4a1d3f72e50db2d6cff04ec8
/Autoencoders-Experiments/VAE-CF-PyTorch-Version2/loggers.py
b689469e636bc7b20bfff4f2e6f640b4793c2898
[]
no_license
zhy5186612/transfer-rec
61ae52a0b940d51930b728333efb8df9e594f01f
932c16e8e016785e7edc1a8174e86df18a1a53c1
refs/heads/master
2022-05-17T13:31:26.514594
2020-04-23T13:20:23
2020-04-23T13:20:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,172
py
import os from abc import ABCMeta, abstractmethod import torch def save_state_dict(state_dict, path, filename): torch.save(state_dict, os.path.join(path, filename)) class LoggerService(object): def __init__(self, train_loggers=None, val_loggers=None): self.train_loggers = train_loggers if train_log...
[ "le_j6@denison.edu" ]
le_j6@denison.edu
d68b29d63b6946b95cf91c5d15ed338747d7a139
aa9bcecb74b390e6c46d0151478b8f0b1cb91fe6
/hrwros_ws/build/ur_e_gazebo/catkin_generated/generate_cached_setup.py
9669f3726b5e05b89dfe0af775c4b0ba15a79b9d
[ "MIT" ]
permissive
AshfakYeafi/ros
30489c4cac924588233c477ce337104f4e69b602
7895302251088b7945e359f60a9c617e5170a72e
refs/heads/main
2023-08-18T07:11:36.448073
2021-07-27T11:03:54
2021-07-27T11:03:54
389,171,077
1
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, ...
[ "ashfakyeafifahim@gmail.com" ]
ashfakyeafifahim@gmail.com
6876f8b79652c236366a047dbb8480193fb49b09
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/vmware/nsx/manager/cluster_profile/cluster_profile.py
17c2433dff9f9c71fb66ecf51a75199cd369ed5f
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
import vmware.base.profile as profile class ClusterProfile(profile.Profile): def __init__(self, parent=None, id_=None): super(ClusterProfile, self).__init__(parent=parent, id_=id_) def get_id_(self): return self.id_ def get_cluster_profile_id(self): return self.id_
[ "bpei@vmware.com" ]
bpei@vmware.com
02bedd3b8649c9858a34d4ea7357625607b60bdc
924cce00272c808c9bea774ab79b85b1ea273263
/setup.py
6a8a0ea0d3c1bb2f139a810861fa0d52a281fb09
[ "MIT" ]
permissive
robot-ai-machinelearning/lagom
8804d054598f03a2ab3e7a19a8676333feeba4b8
19f77e43cd3c83dd7c2ea4d7ad5c52b7cd287784
refs/heads/master
2020-03-29T16:22:26.750541
2018-09-24T12:32:42
2018-09-24T12:32:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,914
py
from setuptools import setup from setuptools import find_packages from lagom.version import __version__ # Read content of README.md with open('README.md', 'r') as f: long_description = f.read() setup(name='lagom', version=__version__, author='Xingdong Zuo', author_email='zuoxingdong@hotmail.co...
[ "zuoxingdong@hotmail.com" ]
zuoxingdong@hotmail.com
30503f2bbfe8f5cc7e58380a88215536d49fc5bc
f0fe4f17b5bbc374656be95c5b02ba7dd8e7ec6d
/all_functions/linux server/python GUI/wxpython_test.py
adac87ec84ae6523b3011b0ea3c578b386dc4e97
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
Heroku-elasa/heroku-buildpack-python-ieee-new
f46a909ebc524da07f8e15c70145d1fe3dbc649b
06ec2fda04d9e478ed2506400e460489b0ca91ab
refs/heads/master
2022-12-10T13:14:40.742661
2020-01-29T14:14:10
2020-01-29T14:14:10
60,902,385
0
0
MIT
2022-12-07T23:34:36
2016-06-11T10:36:10
Python
UTF-8
Python
false
false
11,097
py
#!/usr/bin/python # -*- coding: utf-8 -*- import wx,os # from wx import wxPySimpleApp, wxFrame # from wx import button image_address='C:\Users\Hamed\Pictures\LED\led.jpg' # class LoginDialog(wx.Dialog): # def __init__(self, *args, **kwargs): # super(LoginDialog, self).__init__(*args, **kwargs) # #...
[ "soheil_paper@yahoo.com" ]
soheil_paper@yahoo.com
1a57e0c5935a3b28e08101bbc8e039285616b649
c2be395eac600d0d853de03cd67070bd8391038f
/ofm_promotion/models/pos_promotion.py
8b255153757252401eb87d5dabbe1bd3a1b81cb6
[]
no_license
amendoncabh/salary_emp
960cfdb4df48df70ab361886039c790840a5e8d2
2ac2dd9461271153cb2ee406bf70a29f614c25f1
refs/heads/master
2022-03-30T22:35:10.704092
2020-01-05T16:23:20
2020-01-05T16:23:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,674
py
# -*- coding: utf-8 -*- from odoo import api from odoo import fields from odoo import models import pytz from datetime import datetime from dateutil.relativedelta import relativedelta from odoo.exceptions import except_orm from odoo.tools.translate import _ PRIORITY_SIZE = [ ('1', '1'), ('2', '2'), ('3',...
[ "loveprakon@gmail.com" ]
loveprakon@gmail.com
c1d15d9e0318b44e03a91d4e873a5a11680aa2d4
951b605ea41da28dccba6d3de63fb9211b7ad5b1
/MNIST/Mains/main_01205.py
e5fcc1eec7a618a15ef61d1fe3a39de1376e6d49
[ "MIT" ]
permissive
tiangeluo/DefectiveCNN
99296f7a86efd3c4d044701f4e94388989cbd66a
fdbf5235adffa846630fadb4ff910de50870c077
refs/heads/master
2022-01-29T14:23:10.198712
2022-01-08T22:20:54
2022-01-08T22:20:54
222,830,775
1
1
null
null
null
null
UTF-8
Python
false
false
5,621
py
'''Train CIFAR10 with PyTorch.''' from __future__ import print_function import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F import torch.backends.cudnn as cudnn import IPython import torchvision #import torchvision.transforms as transforms from torchvision import datasets, t...
[ "tiangelce@gmail.com" ]
tiangelce@gmail.com
9fb0d6e102b861baf24eb39d9eee70ba2a3cf078
968aa9bac548662b49af4e2b873b61873ba6f680
/buildframework/helium/sf/python/blockspackager/setup.py
0484901f98089bdeaf01bf0195eb846afb12f0c2
[]
no_license
anagovitsyn/oss.FCL.sftools.dev.build
b3401a1ee3fb3c8f3d5caae6e5018ad7851963f3
f458a4ce83f74d603362fe6b71eaa647ccc62fee
refs/heads/master
2021-12-11T09:37:34.633852
2010-12-01T08:05:36
2010-12-01T08:05:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
#============================================================================ #Name : .py #Part of : Helium #Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). #All rights reserved. #This component and the accompanying materials are made available #under the terms of the License "Eclipse P...
[ "none@none" ]
none@none
c2be7f9b9b2a746a7ca42771ddb8abe8a63b93ab
dc3c88f1fe5c80147e4c52ee6ec3136307ec9702
/findUsages/test/command_test.py
5974a9599ae0dba4b2b31ade975d806786b20488
[]
no_license
ypapax/all_sublime_plugins
062f9b9992a093a02e6b905c1329c681c8532034
8b10e471233bd6c2e77907cf5569b0ddccfc88f9
refs/heads/master
2021-01-15T21:10:08.029750
2015-08-16T06:32:51
2015-08-16T06:32:51
40,391,701
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
import unittest import sys import os currentFolder = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, os.path.join(currentFolder, '..')) sys.path.insert(0, os.path.join(currentFolder, '../../util')) import color import assertMy from findUsagesModel import FindUsagesModel class Test(unittest.TestCase): d...
[ "maxYefr@gmail.com" ]
maxYefr@gmail.com
5705542ccfac4178bfdc9969f7151bd732dd78b8
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-drds/aliyunsdkdrds/request/v20190123/SubmitHotExpandPreCheckTaskRequest.py
bf5b5b21e2df81da0980c7d0119439679ad23ed7
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,094
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
a4d2039633e795db8cd201647a8a32acfed59ce7
6bff309542d142259ba5ccbc9cb6286415aaf9a1
/hackbeil/utils.py
573ac5b01a3c7c7481e9269e9158bff8b667575f
[]
no_license
RonnyPfannschmidt-Attic/hackbeil
c898f0065a5c8b59fafe05886a4b8c5355e0765c
c0d08b9c556de76a7f73c1a8707b4c8fa4f6cf91
refs/heads/master
2020-12-05T19:25:01.357747
2011-02-01T11:40:53
2011-02-01T11:40:53
66,011,107
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
from itertools import islice from collections import deque def window(s, width): s = iter(s) # else a grue eats us on normal sequences q = deque(islice(s, width), maxlen=width) yield tuple(q) for item in s: q.append(item) yield tuple(q)
[ "opensource@ronnypfannschmidt.de" ]
opensource@ronnypfannschmidt.de
9ed722950ace53251ef9ec58f1fa4752440ab593
82c73b70c2002f647bdc254125f0bdb18f0b79d2
/novaclient/client.py
3a9a04a0dd9d2bb64af2c013be4c48f20b39b5aa
[ "Apache-2.0" ]
permissive
xuweiliang/Codelibrary
cfb5755ced54c65cacdb3e35ab2b98385f8d5f8e
54e45b2daa205132c05b0ff5a2c3db7fca2853a7
refs/heads/master
2021-05-04T00:31:42.025238
2018-03-20T07:05:20
2018-03-20T07:05:20
71,852,078
0
0
null
null
null
null
UTF-8
Python
false
false
34,696
py
# Copyright 2010 Jacob Kaplan-Moss # Copyright 2011 OpenStack Foundation # Copyright 2011 Piston Cloud Computing, Inc. # 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 Li...
[ "root@newton.com" ]
root@newton.com
aafb4e26305823ccceae86cca6d23f70c29b97fb
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03777/s125701871.py
be82f746ef480a14fa9e30705a3dc2ce88655c45
[]
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
179
py
icase=0 if icase==0: a,b=input().split() if a=="H": print(b) elif a=="D": if b=="H": print("D") elif b=="D": print("H")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
85e61b194f6013cc5bdd5ec8c25a8bbdc66079df
58acf9b3f80c13b67e15db2a352d737045edac7a
/server/retail/migrations/0002_store_business_hours_end.py
104786f41822d31fc8a93e5ae0c4314b2d740173
[]
no_license
andyk1278/biz_mgmt_drf
40daf3bbc874f2253d16582627b342b7bba01e34
3d6d3438a1a790e0f95683648cc4fd0b68436c7d
refs/heads/master
2021-01-23T18:22:04.600776
2017-02-25T03:15:52
2017-02-25T03:15:52
82,996,796
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.core.validators class Migration(migrations.Migration): dependencies = [ ('retail', '0001_initial'), ] operations = [ migrations.AddField( model_name='store'...
[ "andyk1278@gmail.com" ]
andyk1278@gmail.com
dfef1033df4c24b10566c7e5ec119248f7f49d3c
ecf1ce6f8b592f76c7b7c253608c1264ae0676a3
/days/day101/Bite 47. Write a new password field validator/password.py
007097825ba4bd20523fa3a54f74749d537087a3
[]
permissive
alex-vegan/100daysofcode-with-python-course
94e99880a50ac412e398ad209ed53796f253641f
b6c12316abe18274b7963371b8f0ed2fd549ef07
refs/heads/master
2021-07-20T23:05:59.721661
2019-01-21T16:18:25
2019-01-21T16:18:25
150,115,516
0
0
MIT
2018-09-24T14:28:16
2018-09-24T14:28:15
null
UTF-8
Python
false
false
986
py
import string PUNCTUATION_CHARS = list(string.punctuation) used_passwords = set('PassWord@1 PyBit$s9'.split()) def validate_password(password): validator = {'leng':False,'digit':False,'lowch':False,'upch':False,'punc':False,'unused':False} _lowch = False if len(password) > 5 and len(password) < ...
[ "alex-vegan@outlook.com" ]
alex-vegan@outlook.com
441d575f09cb0d9f6737a402764f968e1cbd991d
98a1c37ccda91f2c4be14683f5899393f6b97d29
/05-Spider/01-爬虫基础/01-urllib模块相关/v20-ajax.py
00f1643929a27bf3517217637d08657304f00ad4
[]
no_license
yeshixuan/Python
1b564d9e46b469f62f59a3a04b340abd68ea4419
98ba749ca9ea12004cdff1fdb7e002dea2f42096
refs/heads/master
2020-04-29T22:17:01.014401
2019-05-14T05:15:29
2019-05-14T05:15:29
176,442,230
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
''' 爬取豆瓣电影数据 了解ajax的基本爬取方式 一般使用json格式 ''' from urllib import request import json url = "https://movie.douban.com/j/chart/top_list?type=11&interval_id=100%3A90&action=&start=40&limit=20" rsp = request.urlopen(url) html = rsp.read().decode() print(type(html)) data = json.loads(html) print(type(data)) print(data)
[ "979697327@qq.com" ]
979697327@qq.com
a2b78f6a5b669caba0cdc24a8412586b1db48fba
5945903ff7b3c0be799d8b228aa96309e8d6b68a
/LeetCode_121.py
45b3ab58b459e2cf5e93da61a259a75cffb8e313
[]
no_license
freesan44/LeetCode
44fd01fa37e2d7e729ae947da2350b1649c163ae
2ed9f1955c527d43fe1a02e5bebf5a6f981ef388
refs/heads/master
2021-12-07T20:07:02.308097
2021-11-01T23:58:11
2021-11-01T23:58:11
245,178,582
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
class Solution: def maxProfit(self, prices: [int]) -> int: # maxNum = 0 # while len(prices) >1: # minIndex = 0 # maxIndex = prices.index(max(prices[1:])) # # print(str(prices[maxIndex])+ "-" + str(prices[minIndex])) # if (maxIndex > minIndex) and (maxN...
[ "freesan44@163.com" ]
freesan44@163.com
41a20a3680e66da24e2c0b44d7c18b206438106c
4204b7f1c6caa54080e6e8fea6a8ae2c79ed1b99
/train_gl.py
293d7c57c6ed74812befd236e1b6c35539a6b235
[ "MIT" ]
permissive
deepdeepdot/imgclsmob
d30d0fe3dabac3a5a8f856c7af79276331d0a1b0
05f501362aa1044aa1a420bed0e17c54ffb1cf44
refs/heads/master
2020-05-18T21:00:58.911232
2019-04-30T04:47:35
2019-04-30T04:47:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,682
py
import argparse import time import logging import os import numpy as np import random import mxnet as mx from mxnet import gluon from mxnet import autograd as ag from common.logger_utils import initialize_logging from common.train_log_param_saver import TrainLogParamSaver from gluon.lr_scheduler import L...
[ "osemery@gmail.com" ]
osemery@gmail.com
1aaa960fae097a2b618319b702a83ddf1a9a06d7
2d358ffb51f03cc64cc2da0f684b0928aebe139c
/test4/test4/urls.py
43ae073a9b754f2867ce7cdb3baaa58c51b4e172
[]
no_license
853695319/learningdjango
195ffabdbd3a5b6bc4386cbb678504c0d2cd0095
d2aac1117bb2ca31e4f247a9d206adcf3a9f39a2
refs/heads/master
2020-05-03T04:59:16.094900
2019-04-23T06:25:02
2019-04-23T06:25:02
178,437,059
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
"""test4 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based...
[ "853695319@qq.com" ]
853695319@qq.com
bed0addb8d125bfdbad7509237b48bb8e5298a78
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/tensorflow/python/keras/utils/kernelized_utils 2.py
74651b35917eb8222c2f3664d0f356d2a35dfcab
[]
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
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:7e475cdd3df33b8b101b18a249883bb43ee2863ad84a5196b08e7c9365880478 size 4521
[ "business030301@gmail.com" ]
business030301@gmail.com
79caad3774a563c959a24e594778535930e71b9a
5ca4a0d91f5bd119e80478b5bd3d43ed30133a42
/film20/showtimes/management/commands/showtimes.py
48d40f1d5b801dd4dd3f183b1fd3254d3c9d6993
[]
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,976
py
from django.core.management.base import BaseCommand, CommandError from django.db.models import Q, F from django.conf import settings from optparse import make_option import logging logger = logging.getLogger(__name__) from film20.showtimes.models import Town, FilmOnChannel, Screening from film20.filmbasket.models impor...
[ "email@ibrahimcesar.com" ]
email@ibrahimcesar.com
6c33c2416832d9313c4ee6cf45e75613612dbf15
81d91322228734f9004188a77a42c335d60192a5
/th_evernote/my_evernote.py
e282c4a912e0a6eab3d76369c8cceb625d643215
[ "BSD-3-Clause" ]
permissive
mikebronfman/django-th
c684ad62ff98efc0838e6fd16468f7605e665c6a
8e60373f55a33b5bd47f56fd8aacf1713c33e39e
refs/heads/master
2020-04-07T13:47:26.513082
2016-02-19T21:09:27
2016-02-19T21:09:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,989
py
# coding: utf-8 from __future__ import unicode_literals import sys import arrow # evernote API from evernote.api.client import EvernoteClient from evernote.edam.notestore import NoteStore import evernote.edam.type.ttypes as Types from evernote.edam.error.ttypes import EDAMSystemException, EDAMUserException from evern...
[ "olivier@foxmask.info" ]
olivier@foxmask.info
1c98241e2a84408738a904c610b39141eedecf5b
466912406272829982f75854cf0104c6ce8c9814
/data/spider2/aggregator/funding/debug_funding_aggregator.py
95e4c7df1d1473d6b0e1784f1588de6b0b184e96
[]
no_license
logonmy/Codes
9631fa103fc499663361fa7eeccd7cedb9bb08e4
92723efdeccfc193f9ee5d0ab77203c254f34bc2
refs/heads/master
2021-09-21T18:07:22.985184
2018-08-30T05:53:26
2018-08-30T05:53:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,635
py
# -*- coding: utf-8 -*- import os, sys import time, datetime reload(sys) sys.setdefaultencoding("utf-8") sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../../util')) sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../support')) import loghelper import util...
[ "hush_guo@163.com" ]
hush_guo@163.com
9f13e226573356dc8bab614ec9567e813db6a94a
f889bc01147869459c0a516382e7b95221295a7b
/test/test_gift_message_cart_repository_v1_api.py
3dba14bcb4d13cd918869870e9d5b5b39067c7b1
[]
no_license
wildatheart/magento2-api-client
249a86f5c0289743f8df5b0324ccabd76f326512
e6a707f85b37c6c3e4ef3ff78507a7deb8f71427
refs/heads/master
2021-07-14T16:01:17.644472
2017-10-18T13:33:08
2017-10-18T13:33:08
107,412,121
1
1
null
null
null
null
UTF-8
Python
false
false
1,540
py
# coding: utf-8 """ Magento Community No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sy...
[ "sander@wildatheart.eu" ]
sander@wildatheart.eu
dca47d57ba6114a0562440706a6d3ed109995fd6
534d24cd509640dc598b0e385752d81ea59307a7
/vueSuit/vueAdmin/forms.py
e7a94d694963b1c7fab782b69694ff5e4c8a22b5
[ "BSD-3-Clause" ]
permissive
Ryuchen/django-vue-suit
612cb7496cf9424182bf31655432df86d77df417
28c08a157cd243b475673ca7486aedb1719759ea
refs/heads/master
2020-07-04T05:11:45.888119
2019-12-04T10:35:45
2019-12-04T10:35:45
202,167,517
24
3
null
null
null
null
UTF-8
Python
false
false
16,427
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ================================================== # @Author : Copyright@Ryuchen # ================================================== """ Customize the auth default form display with our application """ import unicodedata from vueSuit import vueForms from django.contrib...
[ "chenhao@geyecloud.com" ]
chenhao@geyecloud.com
84d813947981e994b93499fd286b907abe127477
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/288/87938/submittedfiles/minha_bib.py
914176dc060030cfa538765eccdbddb1cf8bc8fa
[]
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
791
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO #def multiplicacao(x,y): # m= x * y # return m opt=input("Escolha um simbolo [X ou O]: ") while (opt!= 'X') or (opt!= 'O'): print ("SMBOLO INVALIDO!") opt=input("Escolha um simbolo [X ou O]: ") print ("pronto") """ def fator...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
643d3b45650b570d0ab40bf3e00f4e926b938bb6
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/nO4.py
d1879e33fed8ef8bfac240860c7105157866c67b
[]
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
7b3bfb0814e6c001961a2c7f97fd06a7dfa53607
4589a9ea76e458793ad78059839b81d365f433de
/athena_automation/athenataf/tests/configuration/wireless_network/access_rules/network_based/single_rule/captive_portal/CaptivePortal.py
cee48be9e290a9fa148dda689de7bd889877d997
[]
no_license
cash2one/reautomation_handoff
5e2c4c432d8f658d1b57211782744bd0b56c52f6
7ef83572d659db35036189eb394f99de1369db5a
refs/heads/master
2020-05-22T17:56:33.214080
2015-07-13T07:51:18
2015-07-13T07:51:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,957
py
from athenataf.lib.functionality.test.ConfigurationTest import ConfigurationTest import time class CaptivePortal(ConfigurationTest): ''' Test class for action allow of Captive Portal. ''' def test_ath_2135_create_internal_captive_portal(self): self.NetworkPage.delete_network_if_present() self.take_s1_snapshot(...
[ "raju_set@testmile.com" ]
raju_set@testmile.com
c538db30c06025857f964a8147d610c90bdc9912
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R4/benchmark/startPyquil814.py
4850b493521c3c99e7e11f0e59c1765be7172ca2
[ "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
1,273
py
# qubit number=4 # total number=14 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(1) # number=2 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
4c9a8abb2018a549057f8beb05fa7780556a7ce6
77e8b7bc211624687eb61fdb071020642b2c0080
/bc/Q3/q31.py
ca7455879b9c8f2bdbdf985b524f2e514d0d1dd6
[]
no_license
wherby/hackerrank
fab46ea208042ce8055c2755545896bf69f88895
84345f56690ea6b1d5db181b12d2a2669007456c
refs/heads/master
2020-09-26T23:53:06.841052
2019-09-15T12:11:43
2019-09-15T12:11:43
67,225,970
0
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
filename = "input/input02.txt" f=open(filename,'r') # Enter your code here. Read input from STDIN. Print output to STDOUT import math import sys import bisect if "f" in locals(): inputA=f else: inputA=sys.stdin class BigBisect: def __init__(self): self.Count =80 self.array=[] for ...
[ "187225577@qq.com" ]
187225577@qq.com
c462a70aa495ba2662ca1fe303c4eacc3aacd585
d8a79f43a7a23f297c9c3a71482506769ca5ab55
/NLP Core/Program TextVisualization 3.py
d1ddc15652531edbdf9a630c481e7e0689526adb
[]
no_license
rishavhack/Natural-Language-Processing-NLP-
0d4c66744f97712cb7a24c29523c949588fd3cff
42a7271ee20dcaca37468c2a2faff2b5e09fe4e4
refs/heads/master
2022-11-23T09:30:29.124443
2019-09-24T08:12:00
2019-11-05T16:32:25
148,737,049
0
1
null
2022-11-21T21:11:48
2018-09-14T04:48:33
Jupyter Notebook
UTF-8
Python
false
false
2,957
py
import nltk import heapq import re import numpy as np paragraph = """Thank you all so very much. Thank you to the Academy. Thank you to all of you in this room. I have to congratulate the other incredible nominees this year. The Revenant was the product of the tireless e...
[ "rishav.jnit@gmail.com" ]
rishav.jnit@gmail.com
9f6c24c758fac80bca06e87dd622020d59506e2b
0ae8d4aa8171d46e3dab71adaa26127c01360b87
/мышка.py
d51cb0d5a210a02cee9c5b81df179e7318050218
[]
no_license
dasherinuk/classwork
f004f7587157171cdb1c65b1eb13a721feb6c00b
8b2efc055409576c59da878d293d8df6fd9ffb8e
refs/heads/master
2023-06-04T16:08:53.299460
2021-06-19T09:18:20
2021-06-19T09:18:20
297,706,987
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
w,h,r = [int(item) for item in input().split()] d=r*2 if w>=d and h>=d: print("Yes") else: print("No")
[ "dasherpegusus@gmail.com" ]
dasherpegusus@gmail.com
1b1b556b50ad5f3c3e7cb9298f559fd6979c54f3
303bac96502e5b1666c05afd6c2e85cf33f19d8c
/solutions/python3/991.py
04761dbc2602deba947593d4f33dd4905289176e
[ "MIT" ]
permissive
jxhangithub/leetcode
5e82f4aeee1bf201e93e889e5c4ded2fcda90437
0de1af607557d95856f0e4c2a12a56c8c57d731d
refs/heads/master
2022-05-22T12:57:54.251281
2022-03-09T22:36:20
2022-03-09T22:36:20
370,508,127
1
0
MIT
2022-03-09T22:36:20
2021-05-24T23:16:10
null
UTF-8
Python
false
false
169
py
class Solution: def brokenCalc(self, X, Y): res = 0 while X < Y: res += Y % 2 + 1 Y = (Y + 1) // 2 return res + X - Y
[ "cenkay.arapsagolu@gmail.com" ]
cenkay.arapsagolu@gmail.com
c2d514bfe3d56bdb24aa8318333a8d77dba6c21c
66c3ff83c3e3e63bf8642742356f6c1817a30eca
/.vim/tmp/neocomplete/buffer_cache/=+home=+dante=+proyectos=+django-1.9=+veterinaria=+django_apps=+persona=+urls.py
b3d904c58dfd2bcab88bed17caf73ef2e1aad941
[]
no_license
pacifi/vim
0a708e8bc741b4510a8da37da0d0e1eabb05ec83
22e706704357b961acb584e74689c7080e86a800
refs/heads/master
2021-05-20T17:18:10.481921
2020-08-06T12:38:58
2020-08-06T12:38:58
30,074,530
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
{'from', 'django', 'conf', 'urls', 'import', 'url', 'views', 'app_name', 'persona', 'urlpatterns', 'Mantenimiento', 'de', 'Clientes', 'r', 'cliente', 'ListarClientes', 'as_view', 'name', 'listar_clientes', 'agregar', 'CreateCliente', 'crear_cliente', 'P', 'cliente_slug', 'w', 'DetailCliente', 'detalle_cliente', 'editar...
[ "pacifi.bnr@gmail.com" ]
pacifi.bnr@gmail.com
35f52912a608ccbcb805ac26295fbff68a2533ff
e4efa86abf3dbcea07d5931524d1b06c7f504a68
/SIEM/parsers/windows/windows_dism_logs_parser.py
1471ff85fb2f2b93248faad5634231a1c08534e0
[]
no_license
rajeevsareen/System-Information-and-Event-Management-SIEM-
f8db07642e7b361033bc919a9cd1edf8b424a52b
fca2b6c075ecd71d22d844f58d547567c1d01f10
refs/heads/master
2020-06-20T03:41:23.076790
2019-07-15T11:07:37
2019-07-15T11:07:37
196,979,719
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
import MySQLdb db = MySQLdb.connect("localhost","root","root","siem") cursor = db.cursor() f = open("pathto\\dism.txt") lines = f.readlines() length = len(lines) i = 0 for i in range(0,length): i = lines[i].strip() i = i.split() if(i[2] == 'Info' or i[2] == 'Warning'): time = i[...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
35a3b9674d483bfa15f5a5ceb01408cfb6c14286
59cc4c5983dd486b93e409da3df9e20cd8dbd04e
/tfdiffeq_examples/temp/plot_tf.py
d84b94304d00df65a61988e715ac390d97980bab
[]
no_license
titu1994/Python-Work
a95866bf47a3aba274376ec72b994e2e4fbda634
bc7f201ed01e2f7c49ae8d143d29e87e94420dc9
refs/heads/master
2023-04-27T02:33:30.731988
2023-04-22T19:13:03
2023-04-22T19:13:03
53,428,058
13
10
null
null
null
null
UTF-8
Python
false
false
1,699
py
import time import argparse import os import numpy as np import matplotlib.pyplot as plt import tensorflow as tf from tfdiffeq import odeint tf.enable_eager_execution() parser = argparse.ArgumentParser('ODE demo') parser.add_argument('--method', type=str, choices=['dopri5', 'adams'], default='dopri5') parser.add_ar...
[ "titu1994@gmail.com" ]
titu1994@gmail.com
ab7d94ff6509aac101925b1ab246dbb74581f0b3
f79102231c83674a4c01e56e3953b2a65cb14da2
/leetcode/reverse_interger.py
9571569e2cbce94a55731f622a4276c52da040ca
[]
no_license
Activity00/Python
4971b177beaf72df0de97f7e78f400d48104dce1
166d97f36bbeea74c84ec57466bd0a65b608ed09
refs/heads/master
2020-12-24T07:53:06.782982
2020-09-29T10:55:43
2020-09-29T10:55:43
73,362,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,360
py
# coding: utf-8 """ @author: 武明辉 @time: 2018/6/10 10:49 """ import doctest """ Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 120 Output: 21 Note: Assume we are dealing with an environment which could only store ...
[ "1032662429@qq.com" ]
1032662429@qq.com
0eb496a235d0f3495fa48fb0f2c58dfd9336be28
5d304c6ec0f01edee73e3b612f84307060c0da54
/p0067_add_binary.py
a7010bf789f911bea168c98e054c3008f15def98
[]
no_license
xartisan/leetcode-solutions-in-python
cfa06b9e02f7ec0446cf6b71df4ea46caa359adc
7e3929a4b5bd0344f93373979c9d1acc4ae192a7
refs/heads/master
2020-03-14T17:10:07.957089
2018-07-29T10:11:01
2018-07-29T10:11:01
131,713,447
1
0
null
null
null
null
UTF-8
Python
false
false
544
py
class Solution: def addBinary(self, a, b): """ :type a: str :type b: str :rtype: str """ from itertools import zip_longest carry = 0 rv = [] table = { '1': 1, '0': 0 } for x, y in zip_longest(reversed(a),...
[ "codeartisan@outlook.com" ]
codeartisan@outlook.com
c0f2b8a927a899507254586333c1131f5e8e00cd
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-cloudide/huaweicloudsdkcloudide/v2/model/show_category_list_response.py
ef0346dc2024937e92742cb24b10f878f5c2405d
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,898
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowCategoryListResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and th...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
bddbcef7b8e45e1edf3a29fb93241e6408279d8e
9219c678926a5d28d7441f9b62f1fce85b1716ed
/cgi-bin/request/gis/nexrad_storm_attrs.py
6d8efe796e60fb903f3e05805c94c84d66a36e96
[ "MIT" ]
permissive
mbalonso/iem
610b041cb1a171ecbc77071c43596a5f25328ab3
66553cbd4bd53d75eb4d5b59b4188f1532127b68
refs/heads/master
2021-01-11T03:30:09.802178
2016-10-22T15:23:59
2016-10-22T15:23:59
71,001,283
0
0
null
2016-10-22T15:24:00
2016-10-15T16:59:28
Jupyter Notebook
UTF-8
Python
false
false
5,075
py
#!/usr/bin/python """ Dump storm attributes from the database to a shapefile for the users """ import datetime import zipfile import sys import cgi # import cgitb import psycopg2 import shapefile import pytz import cStringIO # cgitb.enable() def get_context(): """Figure out the CGI variables passed to this sc...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
45e0f517072b23638872c42b0114a276ef0b55c9
f63028878311f21f73ed21f9bc88a0fd2ba8ba88
/07.raspberrypi/02.GPIO-ZERO/01.LED/ex02.py
e4969cb786791b32475ef09c44ffba63e63d8b52
[]
no_license
nugeat23/workspace
ac12b93b0cb826206138aa2262382b0e6389977b
221344b95daa40c3ba66d27e04cbf9dae3172edc
refs/heads/master
2023-07-14T20:37:32.851769
2021-09-01T08:55:01
2021-09-01T08:55:01
383,780,263
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from gpiozero import LED from signal import pause green = LED(19) green.blink(on_time=0.5, off_time=0.5) try: pause() except: pass print("end")
[ "nugeat23@gmail.com" ]
nugeat23@gmail.com
c63e796f7add4cd1460f1ec2e563614475804e2d
3ae36a5791c26bb7b41a6ed7d81d16cb45cfb8c9
/python-practice/old_practice/practice_replace_words.py
c079eec121325f09930a6d453633cd5933f3d7da
[]
no_license
crossin/Crossin-practices
0ef23022e3f298862aa831a7cb9684dc4aa04653
1b0cbe8db9b947122c40dcfca4ae883cd99b6087
refs/heads/master
2021-01-01T16:42:52.298084
2017-07-11T01:17:38
2017-07-11T01:17:38
97,899,778
1
0
null
2017-07-21T02:58:33
2017-07-21T02:58:33
null
UTF-8
Python
false
false
744
py
#-*- coding:utf-8 -*- #生成替换词文件 def generate_file(): words = ['a1','b2','cc','de','23'] with open('words.txt','w')as f: for i in words: f.write(i) f.write('\n') #读取替换词文件,并写入list def block(): global b_words b_words = [] with open('words.txt','r') as l: ...
[ "782744680@qq.com" ]
782744680@qq.com
0f5b840bf23c437aff4c68afa7cd02783ff22ff1
c9fbb0884039f381a874f92d2d786ea7df26df8f
/matrix.py
7420b94b7d98544c445966502a4ddb3462189236
[]
no_license
rakeshbalakrishnan08/enter-the-matrix
20b605c63fb969f780e2cf5232ccc5f4e3ebe266
307fee16c449fbd6aa678796a4b04eb1e6ed1f28
refs/heads/master
2020-04-22T22:43:46.822306
2019-02-14T02:09:40
2019-02-14T02:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
from random import random from vector import Vector class Matrix: @staticmethod def random(rows, cols): randrows = [[random() for c in range(cols)] for r in range(rows)] return Matrix(*[Vector(*row) for row in randrows]) def __init__(self, *vectors): self.vectors = vectors ...
[ "chyld.medford@gmail.com" ]
chyld.medford@gmail.com
cf8dc9cd19e111494722163a89e9429aab62862d
ea4567b4388ea97c8ca718d9e331dc796439ee44
/app_autonation/appium_learn/hupu_project/utils/read_config.py
ee9a1d228323e1834db8ea158c48a7cf1693128d
[]
no_license
Kingwolf9527/python_knowledge
ace65470ec706cae195b228b8e8d6ca8db574db8
1ccb3a788c172f3122a7c119d0607aa90934e59b
refs/heads/master
2020-12-04T06:12:49.809020
2020-02-10T18:22:36
2020-02-10T18:22:44
231,647,147
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
# ! /usr/bin/env python # - * - coding:utf-8 - * - # __author__ : KingWolf # createtime : 2019/6/5 20:18 import configparser import os class Read_config(object): def __init__(self,file): path = os.path.dirname(os.path.dirname(__file__)) file_path = os.path.join(path,'config',file) self.cf...
[ "lccr777@163.com" ]
lccr777@163.com
62f3ebe3da98be68c4292a35064555348fa7afcd
725ac5a0bf72829be627bf8dc82fdc51ba0f94ae
/Distillation/three_layer_self-attention_to_distill_bert/model.py
e55977c74e165bf3dcd217c8a1a6c53ca094e275
[]
no_license
shawroad/NLP_pytorch_project
fa14b6e4a156229765e1d552901d0492d8e1def3
1272fed2dc8fef78a9ded0f1ae1644d613a3b57b
refs/heads/master
2023-06-25T02:37:35.503251
2023-06-12T10:57:11
2023-06-12T10:57:11
229,694,655
530
104
null
2020-12-08T09:21:47
2019-12-23T06:54:29
Python
UTF-8
Python
false
false
1,153
py
# -*- coding: utf-8 -*- # @Time    : 2020/9/16 9:33 # @Author  : xiaolu # @FileName: model.py # @Software: PyCharm from torch import nn from transformers import BertModel, BertConfig from torch.nn import CrossEntropyLoss class Model(nn.Module): def __init__(self): super(Model, self).__init__() sel...
[ "luxiaonlp@163.com" ]
luxiaonlp@163.com
292d3c40993bd425955fa6ca2659a1c6fb8f5970
876de904572c611b8cbad21f50877cdc812f2946
/Leetcode/525. 连续数组.py
a1a22371c2d95ccef3746307643fce3107cb3c25
[ "MIT" ]
permissive
QDylan/Learning-
66a33de0e15f26672fb63c0b393866721def27ae
f09e0aa3de081883b4a7ebfe4d31b5f86f24b64f
refs/heads/master
2023-02-08T02:34:26.616116
2020-12-25T05:02:32
2020-12-25T05:02:32
263,805,536
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
# -*- coding: utf-8 -*- """ @Time : 2020-10-08 11:32 @Author : QDY @FileName: 525. 连续数组.py @Software: PyCharm """ """ 给定一个二进制数组, 找到含有相同数量的 0 和 1 的最长连续子数组(的长度)。 示例 1: 输入: [0,1] 输出: 2 说明: [0, 1] 是具有相同数量0和1的最长连续子数组。 示例 2: 输入: [0,1,0] 输出: 2 说明: [0, 1] (或 [1, 0]) 是具有相同数量0和1的最长连续子数组。 """ class Solution: def ...
[ "qdy960411@outlook.com" ]
qdy960411@outlook.com
f9fc50c5cf33989d6b76079309002268147318c8
37906b41991719dff0590f9161f9b69af8d7e491
/tensorflow/python/keras/layers/gru_test.py
be486bc70e1d91085ed96072793379893ecbf073
[ "Apache-2.0" ]
permissive
nauman07/tensorflow
7ae4277564bb596c0f8ba5d107a35d9505c3c2fb
f88cf68393e60525506a567e0081b8e2e6db409b
refs/heads/master
2020-08-28T15:55:35.510154
2019-10-26T15:34:58
2019-10-26T15:39:08
217,742,698
3
0
Apache-2.0
2019-10-26T17:11:10
2019-10-26T17:11:09
null
UTF-8
Python
false
false
9,113
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
25478aa613cf6eb4d6acfd836355be8ebf055ad4
197509aa719e70698540366efdfaf56a2b0be1a7
/workshops/phd_course/common/widgets_utility.py
5d0be5cdb8246d41614061585c22dfbb0bf159c8
[ "Unlicense" ]
permissive
humlab/daedalus_text_analysis
9028c377da64914cdce0f9c2fe2df81691f070c2
4da2de6d806c8b627a354b396108c24383da5ad0
refs/heads/master
2021-07-04T10:44:44.912319
2019-04-17T07:36:47
2019-04-17T07:36:47
116,111,290
1
1
null
null
null
null
UTF-8
Python
false
false
8,850
py
import sys sys.path.insert(0, '.') import ipywidgets as widgets import common.utility as utility from bokeh.models import ColumnDataSource, CustomJS BUTTON_STYLE = dict(description_width='initial', button_color='lightgreen') def kwargser(d): args = dict(d) if 'kwargs' in args: kwargs = args['kwargs'] ...
[ "roger.mahler@hotmail.com" ]
roger.mahler@hotmail.com
2783c07eb0d27a43d07d1abde5dc6d95c2170639
edcbe265ae91291ef0ffbf776b2cd4d8aab1756c
/store/migrations/0006_auto_20160628_0800.py
e2e403f22302bf0432b4aa03e260b0f85b4cfc55
[]
no_license
mehdi1361/E_Shop
15e0db32d059e6da163ac2f8cc7ec2e6a3398828
2ca55f98ca1f3bcfbf1e03bc2de63ec56cf11022
refs/heads/master
2020-04-06T07:05:35.496303
2017-10-08T13:37:45
2017-10-08T13:37:45
61,431,921
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0005_auto_20160628_0748'), ] operations = [ migrations.RemoveField( model_name='storehouse', ...
[ "mhd.mosavi@gmail.com" ]
mhd.mosavi@gmail.com
b767506677b7f314037fe1046c6f2db5fd5774d7
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/XALogvSrMr3LRwXPH_8.py
196f0b7e20b80f59076253fccf2f6364d9000f14
[]
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
416
py
def is_shuffled_well(lst): count_up, count_down = 0, 0 for i in range(1, len(lst)): if lst[i] == lst[i - 1] + 1: count_up += 1 count_down = 0 elif lst[i] == lst[i - 1] - 1: count_down += 1 count_up = 0 else: count_up, count_dow...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
78bb74c0825151c5a21945e33b69b42d02e0b56f
0ba3f4517ba70564e8d0049eec2612c99c04a887
/python-introducton/lesson6-2.py
f95a11fedfcfb38f5478cf1755c17bce1e770641
[]
no_license
akihiro-hosoya/study-python
238c90e35aad4062bc08c7f56334bbdcc714a676
f41430cab8e448b79728121a0d50bf62295f96f5
refs/heads/master
2020-12-27T15:17:51.510587
2020-03-05T18:45:28
2020-03-05T18:45:28
237,949,984
0
1
null
null
null
null
UTF-8
Python
false
false
1,051
py
#coding:utf-8 import tkinter as tk import tkinter.messagebox as tmsg #ボタンがクリックされたときに実行される関数を作成する def ButtonClick(): #テキスト入力欄の文字列を取得 b = editbox1.get() # メッセージとして表示 tmsg.showinfo('入力されたテキスト', b) #ウィンドウを作る root = tk.Tk() #tkinterでウィンドウを表示するときの決まり文句 #geometryメソッド root.geometry('400x150') #ウィンドウサイズを変更する ...
[ "iicina.yftj.33@gmail.com" ]
iicina.yftj.33@gmail.com
700e427971a5ef455b2667c5e74494d0e83009b9
11aac6edab131293027add959b697127bf3042a4
/widthOfBinaryTree.py
9172a61c3a6b5bd303543c7b7f2af3066bce1f73
[]
no_license
jdanray/leetcode
a76b3436002b31865967b757b73c85992636383b
fd736af3e79899b86dac89d4d925d5bd985944ad
refs/heads/master
2023-08-15T01:20:05.110565
2023-08-14T00:25:58
2023-08-14T00:25:58
148,686,493
0
0
null
null
null
null
UTF-8
Python
false
false
2,503
py
# https://leetcode.com/problems/maximum-width-of-binary-tree/ class Solution: def widthOfBinaryTree(self, root): if not root: return 0 widths = dict() stack = [(1, 1, root)] while stack: level, pos, node = stack.pop() if not node: continue if level in widths: widths[level].append(pos) ...
[ "jdanray@users.noreply.github.com" ]
jdanray@users.noreply.github.com
836ae114da35b6737a7f57a372a5f74d0ba2bc7e
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/Django/南京邮电大学/sacc_sign/users/migrations/0006_remove_emailverifyrecord_send_type.py
d37793f76a0bec3545a72faf7ed013cff0d875f7
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
339
py
# Generated by Django 2.0.3 on 2018-03-27 12:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0005_emailverifyrecord'), ] operations = [ migrations.RemoveField( model_name='emailverifyrecord', name='send_type'...
[ "13269469526@163.com" ]
13269469526@163.com
4d3b7f042964537bd75e31561af581e3eaa2b2ca
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/hybridcompute/v20200815preview/outputs.py
3c1ea445666aeb29cd5c4dad3d24ec59346a6344
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,772
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
5131f22e9027b94118beca9e65efc7f45212a6af
2a266dda00578ea177b231e8f0dfd14a1824d2e6
/abbrev/freq_ab.py
c7373d4ac5df760fbcdbf2b775d66989165cff3d
[]
no_license
sanskrit-lexicon/PWK
fbb51c19d9169e4c28d5c9056484c4a53def78eb
57d07725b828a95b22b859422287474bfd858ffe
refs/heads/master
2023-08-17T04:32:37.387691
2023-08-15T18:34:46
2023-08-15T18:34:46
15,903,957
3
1
null
null
null
null
UTF-8
Python
false
false
2,497
py
#-*- coding:utf-8 -*- """freq_ab.py """ from __future__ import print_function import sys, re,codecs import digentry def write_freq(fileout,freq,abbrevd): keys = sorted(freq.keys(), key = lambda x: x.lower()) outarr = [] notips = [] for key in keys: if key not in abbrevd: notips.append(key) tip = '[unknow...
[ "funderburkjim@gmail.com" ]
funderburkjim@gmail.com
29e331b49fe69da564b8f76ca88314dd473d7072
178a155566be0a59bdf9095d7ba2c2e0625d9fd3
/bin/lazyhtml.py
583176a8c2c92a0a0c1da561c4a40c74202d3365
[]
no_license
pfuntner/toys
a4a1e78f0ed836ac86bf5dd918c67153444acb04
194ebc5ab693e928a809b6dfe5783c08e6a9d081
refs/heads/master
2023-08-23T23:41:36.781341
2023-08-09T12:01:10
2023-08-09T12:01:10
99,418,283
10
2
null
2022-12-24T14:15:09
2017-08-05T11:17:13
Python
UTF-8
Python
false
false
6,402
py
#! /usr/bin/env python3 import sys import json import signal import logging import argparse from html.parser import HTMLParser import xml.etree.ElementTree as ET class LazyHtml(object): """ This outer class is the interface we expect callers to use: parser = LazyHtml(log) root = parser.parse(html_...
[ "jpfuntne@cisco.com" ]
jpfuntne@cisco.com
8d9d379a9ac6c89c2ac7e43b05ecdf5678e23409
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/npu/process_group_hccl.py
4b96002536ee143f47ba244ecab3eceb3ccfb1c6
[ "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
9,037
py
# Copyright (c) 2022 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