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
bb6fb54135f828268b32553a317043acc288650b
a2ab6c23253badb3be54b19ba061e1aeaac6a8cd
/utils/image_annotator.py
6d3168d8b386e8ae48a956d41739e56d99f89255
[]
no_license
vivek09pathak/ImageDetection_RealTime
0720fb4a6f35a81591f401a04ae44aa3bbea013f
d9e376b41a1216aecaacc9626cee59d45001695c
refs/heads/master
2022-12-26T22:04:18.328476
2020-09-30T10:20:15
2020-09-30T10:20:15
152,729,896
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
import cv2 import numpy as np from data.videos import path as videos_path def from_image(image): try: grid_interval = 25 grid_color = (200, 100, 200) points = [] current = [0, 0] width = image.shape[1] height = image.shape[0] img = image.copy() c_x ...
[ "anupamb266@gmail.com" ]
anupamb266@gmail.com
ab2e4af17f8e39c556b8394fc307067c0fcf635b
da0d673da16f92ffed008b4c8b8c82c336d78122
/server/app.py
90039f57aee1197bfae1a0fe21bfe9586aac1f61
[]
no_license
aparkalov/sc-web
5dcac607c42376df205c6a025dbfe076f018970b
43c0d79f0fefa435bb9f53b230e9b9048e000613
refs/heads/master
2021-01-17T18:21:58.247615
2015-10-25T20:45:11
2015-10-25T20:45:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,155
py
import tornado.ioloop import tornado.web import tornado.options import secret import os from handlers.main import MainHandler import handlers.api as api import handlers.auth as auth import admin.main as admin import admin.users as admin_users import ws, db is_closing = False def signal_handler(signum, frame): gl...
[ "denis.koronchik@gmail.com" ]
denis.koronchik@gmail.com
efdf17b0386a062ae1786386cfcd575b6dfe973d
397e125e94f4f139f2bf5055824d81f24b8b1757
/ABC/165/F-1.py
e46b77a108de4a46bd7d12686ca0056a7ddfe1e2
[]
no_license
tails1434/Atcoder
ecbab6ee238e3f225551297db961b1b502841fa4
e7c7fed36be46bbaaf020a70997842240ba98d62
refs/heads/master
2021-07-07T00:31:49.235625
2020-09-30T01:42:01
2020-09-30T01:42:01
189,009,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import sys import bisect from collections import deque sys.setrecursionlimit(4100000) input = sys.stdin.readline def main(): N = int(input()) A = list(map(int, input().split())) edge = [[] for _ in range(N)] for i in range(N-1): u, v = map(int, input().split()) u -= 1 v -= 1 ...
[ "sososo1333@gmail.com" ]
sososo1333@gmail.com
e5298e2cb42519ec6fdfc02dc68398406969417c
cc096d321ab5c6abf54fdcea67f10e77cd02dfde
/flex-backend/pypy/translator/js/function.py
c14b8c8c19d81579e42f69e8c29f1ca539832eaa
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
limweb/flex-pypy
310bd8fcd6a9ddc01c0b14a92f0298d0ae3aabd2
05aeeda183babdac80f9c10fca41e3fb1a272ccb
refs/heads/master
2021-01-19T22:10:56.654997
2008-03-19T23:51:59
2008-03-19T23:51:59
32,463,309
0
0
null
null
null
null
UTF-8
Python
false
false
7,649
py
try: set except NameError: from sets import Set as set from pypy.objspace.flow import model as flowmodel from pypy.rpython.lltypesystem.lltype import Signed, Unsigned, Void, Bool, Float from pypy.rpython.lltypesystem.lltype import SignedLongLong, UnsignedLongLong from pypy.rpython.ootypesystem import ootype fr...
[ "lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d" ]
lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d
02c88c50e679434e3e4ae163ee0e5026f6e74efc
e489172f6e49e1239db56c047a78a29a6ffc0b36
/via_purchase_enhancements/stock.py
94ac503ae599e50b3f088a456a70e97b5fede72d
[]
no_license
eksotama/prln-via-custom-addons
f05d0059353ae1de89ccc8d1625a896c0215cfc7
f2b44a8af0e7bee87d52d258fca012bf44ca876f
refs/heads/master
2020-03-25T19:49:08.117628
2015-12-01T07:29:43
2015-12-01T07:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
############################################################################## # # Vikasa Infinity Anugrah, PT # Copyright (c) 2011 - 2012 Vikasa Infinity Anugrah <http://www.infi-nity.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Genera...
[ "aero@aero.(none)" ]
aero@aero.(none)
680addf26dba5b848a8d83cd34e73d8f679a6b41
b67ba573498318c906968bd2c946543dbd4658fe
/gravityspytools/retrain_model/views.py
479c7bb11b8c958af3bc4fd322cdb30c88d2d2d7
[ "BSD-3-Clause" ]
permissive
Gravity-Spy/gravityspytools
1f86f91a00063afdfe507f1d1bf38be5c8e1b421
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
refs/heads/master
2021-05-09T08:55:12.904449
2020-07-14T18:38:25
2020-07-14T18:38:25
119,413,494
4
4
BSD-3-Clause
2020-07-14T18:38:27
2018-01-29T17:05:08
Python
UTF-8
Python
false
false
2,405
py
# -*- coding: utf-8 -*- #from __future__ import unicode_literals from django.shortcuts import render, redirect from login.utils import make_authorization_url from collection_to_subjectset.utils import retrieve_subjects_from_collection from .forms import NewClassForm from .models import NewClass from gwpy.table impo...
[ "scottcoughlin2014@u.northwestern.edu" ]
scottcoughlin2014@u.northwestern.edu
f6dfeaf665aeacee6e8e8506307ea7e21cea454e
747f759311d404af31c0f80029e88098193f6269
/addons/purchase_confirm/__init__.py
dff9e4121dca62a7713e16faec859bfcefc3e483
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
66
py
/home/openerp/production/extra-addons/purchase_confirm/__init__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
5d17e513b427415520b3fd591509b1b5542e8fb0
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/lite/tutorials/dataset.py
fdaf84c2bb43e306fe0bf9c9172c996cdcefe1c6
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
graphcore/tensorflow
c1669b489be0e045b3ec856b311b3139858de196
085b20a4b6287eff8c0b792425d52422ab8cbab3
refs/heads/r2.6/sdk-release-3.2
2023-07-06T06:23:53.857743
2023-03-14T13:04:04
2023-03-14T13:48:43
162,717,602
84
17
Apache-2.0
2023-03-25T01:13:37
2018-12-21T13:30:38
C++
UTF-8
Python
false
false
4,299
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
27175455b13f7f9029aeb649eab51391f2080bbf
6be8aa517e679b33b47d35f100e6590902a8a1db
/Math/Problem05.py
bd5e99bc0820fd1c4d6b55798e43ebf0508f2baa
[]
no_license
LeeJuhae/Algorithm-Python
7ca4762712e5e84d1e277abecb3bf39c9cbd4e56
729947b4428205adfbac194a5527b0eeafe1c525
refs/heads/master
2023-04-24T01:02:36.430970
2021-05-23T07:17:25
2021-05-23T07:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# https://www.acmicpc.net/problem/1722 import sys read = sys.stdin.readline n = int(read().strip()) cmd = list(map(int, read().strip().split())) cmd[0] -= 1 fact = [-1 for _ in range(21)] fact[0] = 1 for i in range(1, 21): fact[i] = fact[i - 1] * i def go(d, ans): global k, arr, fact if d == n: ...
[ "gusdn0657@gmail.com" ]
gusdn0657@gmail.com
0acfaee2a19dd42351019acacada350f2ece6f31
fbe2c3b1feb69a5ce019c805594a49dc11c7e463
/astrality/tests/module/module_manager/test_persisting_created_files.py
c7cf4305b01e387d33b1c69a69fdc1345d8fd310
[ "MIT" ]
permissive
JakobGM/astrality
50630a26ef6428a0c1376269d71ddaa52912f374
72935b616f9a6a2e9254e9cd9319b525c596e8f0
refs/heads/master
2023-01-07T20:26:05.925893
2019-11-19T10:15:36
2019-11-19T10:15:36
117,895,437
114
7
MIT
2022-12-26T20:49:19
2018-01-17T21:34:33
Python
UTF-8
Python
false
false
2,518
py
"""Tests for ensuring that all files that are created are persisted.""" import pytest from astrality.module import ModuleManager from astrality.persistence import CreatedFiles @pytest.mark.parametrize('method', ['compile', 'copy', 'symlink']) def test_that_created_files_are_persisted(method, create_temp_files): ...
[ "jakobgm@gmail.com" ]
jakobgm@gmail.com
bd8120b22e58c6e63c7601d35545bfd5546febc3
f7c5e3f5834206a7b0d1dadd773d1de032f731e7
/dmerce1/db2HTML.py
ae12d22aacbefa718a58e88f68f863685e00d0f8
[]
no_license
rbe/dmerce
93d601462c50dfbbf62b577803ae697d3abde333
3cfcae894c165189cc3ff61e27ca284f09e87871
refs/heads/master
2021-01-01T17:06:27.872197
2012-05-04T07:22:26
2012-05-04T07:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,326
py
#!/usr/bin/env python ## # # $Author: rb $ # $Revision: 1.2.7.1 $ # # Revision 1.1 2000-07-13 17:05:50+02 rb # Initial revision # ## # # I M P O R T M O D U L E S # try: import sys import aDataStruct except: print '[db2HTML: ERROR LOADING MODULES: (%s, %s)]' % (sys.exc_info()[0], sys.exc_info()[1]) sys.e...
[ "ralf@art-of-coding.eu" ]
ralf@art-of-coding.eu
c65381eabc7b6d43ed0b44838ef96d25e0eb2cd4
0c5b9ebee22450c214576f18929436527b26a1b0
/starfish/core/morphology/Merge/test/test_simple.py
f5e8ab5623aa77a99afea463b53830f01dce2371
[ "MIT" ]
permissive
spacetx/starfish
962b4e4a8c0c193acaa84c016a6edaef76c14769
853f56c7c02b15397adb921db5e3bde02fdadb63
refs/heads/master
2023-03-09T13:51:30.772904
2022-09-06T22:16:25
2022-09-06T22:16:25
92,539,237
211
75
MIT
2023-02-11T01:52:25
2017-05-26T18:45:11
Python
UTF-8
Python
false
false
3,186
py
import numpy as np import pytest from starfish.core.morphology.binary_mask import BinaryMaskCollection from starfish.core.morphology.binary_mask.test.factories import ( binary_arrays_2d, binary_mask_collection_2d, binary_mask_collection_3d, ) from starfish.core.morphology.util import _ticks_equal from star...
[ "noreply@github.com" ]
spacetx.noreply@github.com
476ccba49a18e2d3356d794c26547cdac706b13b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2344/60581/246336.py
5e8a23f13ab4797d8c3277856fd1dc425e03eb8f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,584
py
import sys lst = [] for line in sys.stdin: if line.strip()=="": break lst.append(line) input = [] #读入处理 for i in range(0,len(lst)): theLine = [] j = 0 while j < len(lst[i]): str = '' judgeWord = False judgeNumber = False if lst[i][j]>='A' and lst[i][j]<='Z':...
[ "1069583789@qq.com" ]
1069583789@qq.com
46d15fda29e9d529e3b0e67d43c1e56866529bed
d2219febb4727a24856578c4c3963b8c081835cb
/usr/lib/enigma2/python/Plugins/Extensions/BBC-iPlayer-Recorder/__init__.py
abf38987968a5e8ea489beb842b10923f7d25362
[]
no_license
linuxbox10/BBC-iPlayer-Recorder
3c465cd6fcc237ba384c8c9b89488d86e3ad3f3b
069e731b134fa6a08152a90cb122caa1d2800b66
refs/heads/master
2021-07-07T08:22:39.817143
2017-10-04T15:41:42
2017-10-04T15:41:42
105,785,840
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
# Embedded file name: /usr/lib/enigma2/python/Plugins/Extensions/BBC_iPlayer_Recorder/__init__.py pass
[ "jaysmith940@hotmail.co.uk" ]
jaysmith940@hotmail.co.uk
4a4a23e8b49a1a9d7382bc7f3f23df345aef6af1
2d5cc685fd861c16a44e6578dff659bc197d44f8
/ioflo/aid/__init__.py
bc7963f4557e7b278b7b88d81bcbd4bb25ffcb27
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dreamerparadise/ioflo
b642e3325760d124c8c608cefd3fb23c408785ff
177ac656d7c4ff801aebb0d8b401db365a5248ce
refs/heads/master
2023-04-03T04:05:24.934544
2020-11-19T22:07:49
2020-11-19T22:07:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
""" aid package helper and utility modules """ # frequent imports from .odicting import odict, lodict, modict from .osetting import oset from .consoling import getConsole
[ "smith.samuel.m@gmail.com" ]
smith.samuel.m@gmail.com
eb86106a321ead443d3fef7263cc6bf014b7c342
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/shared/utils/requesters/IntSettingsRequester.py
5167f471034e02e31839cd698900e678c4a0e863
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
4,446
py
# 2017.08.29 21:50:18 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/shared/utils/requesters/IntSettingsRequester.py import BigWorld import copy import constants from adisp import async, process from debug_utils import LOG_ERROR, LOG_WARNING from gui.shared.utils import code2str class IntSettingsR...
[ "info@webium.sk" ]
info@webium.sk
0d5612b10b9d4ae1e7f93123afb238011de5556e
f25ffa3370e9fef64d22c1d639051b1dfea249fa
/crypto/test/SConstruct
fdf7840c9447955b9b1d2b2e644bad970526f938
[]
no_license
sjkingo-archive/comp3301-a2-spec
d809a836ffbea155284c5314e3cb5261483de29b
754a9cf23e7395961237df6b19303fce49bafdf5
refs/heads/master
2016-08-06T19:05:10.194681
2015-06-20T00:00:58
2015-06-20T00:00:58
37,751,102
0
0
null
null
null
null
UTF-8
Python
false
false
106
env = Environment( CFLAGS=['-Wall', '-Wextra', '-g', '-std=gnu99'], ) env.Program('smode', 'smode.c')
[ "sam@sjkwi.com.au" ]
sam@sjkwi.com.au
ec51a2c268481d48cc82a004658d99ace07708a4
6610e8b7d715d28df179217b0222b6a74d7b01f3
/Contents/Libraries/Shared/omdb/api.py
e7c5f60a9f295f608c0cf9f27a8d959315e9eca3
[]
no_license
BigmIkeX/FMoviesPlus.bundle
f479b96dabbda8a70944a7c44717a9b7a6abc5c0
7789e6137df8a86f6c9f9a78fc478ab89696e3d0
refs/heads/master
2020-05-22T09:39:12.049063
2019-05-09T20:54:25
2019-05-09T20:54:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
"""Public interface for omdb module Accessible via: import omdb """ from .client import Client # Internal client instance used for our requests. _client = Client() def set_default(key, default): """Proxy method to internal client instance that sets default params values. """ _client.set_defaul...
[ "coderalphaakv@gmail.com" ]
coderalphaakv@gmail.com
a16bd241bd21dd97d1b8a5a7a1517e3416efbaf7
6310c834caf9f775d1ddeb0328a41d5648a733fa
/source/news_client/apps.py
d6b5afd22eed6a596ea215f66abe4ab00017b054
[]
no_license
big-arturka/test_task
54205245d26c966dd4c3982dc6809d8c989f2cad
8dc37994754f7ef04c5c697b5090be65f7058ebd
refs/heads/master
2023-06-06T19:36:38.291673
2021-07-08T05:55:32
2021-07-08T05:55:32
321,126,387
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class NewsClientConfig(AppConfig): name = 'news_client'
[ "arturkrmnlv10@gmail.com" ]
arturkrmnlv10@gmail.com
e80b2c632811677af15c91426fdb116e3238f867
1b082458d2815b7671a5d77e809834184e0dabfa
/vcr/request.py
bbe950b3edd673d60637aff3f6c8f797cf48f426
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
afthill/vcrpy
6e4cc1cb842ddec75b73e579a12cf4ae7fb7ca8a
5aa2fb017f8aad3455ff3291f2f749a5a45664fe
refs/heads/master
2022-05-01T04:32:57.896556
2014-04-27T22:05:19
2014-04-27T22:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
class Request(object): def __init__(self, protocol, host, port, method, path, body, headers): self.protocol = protocol self.host = host self.port = port self.method = method self.path = path self.body = body # make headers a frozenset so it will be hashable ...
[ "me@kevinmccarthy.org" ]
me@kevinmccarthy.org
67b2a52ec7eb04fbc8eb8dce6312fd2b614f37a3
ef2018f6e2c8ccabf89cc5f0780cd8ded8db50c0
/textreuse/fine_tuning/original_skipthought.py
f9dc21db43a4e8a69e8f8ba58f37585b6f07d8f2
[]
no_license
emanjavacas/text-reuse
a8d14bfb105b30a3f7cf732f999027186ea899bd
96e39a2e6982677f7d1f6b0f8397977155481b33
refs/heads/master
2022-01-05T22:13:54.800591
2019-06-04T19:51:12
2019-06-04T19:51:12
115,821,869
1
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
import os import numpy as np import skipthoughts from textreuse.datasets import default_pairs, opusparcus_pairs from textreuse.datasets import PATHS, OPUSPARCUS_PATH if __name__ == '__main__': model = skipthoughts.load_model() for dataset in PATHS: for split in PATHS[dataset]: print(da...
[ "enrique.manjavacas@gmail.com" ]
enrique.manjavacas@gmail.com
a797ad4aa0901df584d197d3311931220a7fa063
b38c1d72d7c5d688a5f0942895a5f762880196b6
/blog/migrations/0001_initial.py
c589b4b16fa74505689fe1d50d1e5effa764d2fc
[]
no_license
zdimon/angular
c8a9874b427ca5bb4899c51c0dc0ba0d96191039
ea625523761d6b3300c9d9fb3c0aa7070fb634da
refs/heads/master
2020-05-17T01:28:35.187898
2015-07-17T15:29:16
2015-07-17T15:29:16
38,496,687
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(verbose...
[ "zdimon77@gmail.com" ]
zdimon77@gmail.com
595c01bd43d08b6b8b738334caae83010da66da1
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayMarketingDataDashboardApplyModel.py
25bfe04a2359d1e8304fbfc2eb32f13f51baf790
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,390
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayMarketingDataDashboardApplyModel(object): def __init__(self): self._dashboard_ids = None @property def dashboard_ids(self): return self._dashboard_ids @dashboa...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
c699bc32127b8584ebb9ae1852fe8baa996cea26
0f7d186164cafdd90b3e0baae0b5573fead049b4
/多任务/线程/07-线程共享全局变量.py
5b263873df2b9925669df27515c6809dbc31f50f
[]
no_license
DominicRen/Python-learning
603b31ff173cbc0782b3cf3da12d5e0834a74402
a9e7ded5fc0e2a760cee9887d87700769a3b9b6d
refs/heads/master
2022-12-03T07:43:01.052201
2019-04-05T04:10:42
2019-04-05T04:10:42
179,615,987
1
2
null
2022-11-28T19:13:32
2019-04-05T03:54:26
HTML
UTF-8
Python
false
false
490
py
import threading import time # 定义一个全局变量 g_num = 100 def test1(): global g_num g_num += 1 print("-----in test1 g_num = %d-----" % g_num) def test2(): print("-----in test2 g_num = %d-----" % g_num) def main(): t1 = threading.Thread(target=test1) t2 = threading.Thread(target=test2) t1.st...
[ "ren_9510@163.com" ]
ren_9510@163.com
7cbfc835d5ee7dd706a39b957c365a77352048c5
f64069f0dc90aa41947d1deca317aa37ad9c9080
/CounterCode2015/Campers.py
1be7dba22916115142a5cf672826cd46dc065798
[]
no_license
raunaklakhwani/Algorithms
9fdd7c3f5234b4682690ce3bededa365e75df1e5
a0b36f4f068c100b17fd27b3ed28816e4f3b4e4f
refs/heads/master
2021-01-10T19:39:24.120026
2015-12-20T14:14:48
2015-12-20T14:14:48
27,044,549
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# URL : https://www.hackerrank.com/contests/countercode/challenges/campers from math import ceil N,K = 8,2 snipers = [2,6] snipers.sort() def getBetween(a,b): #print a,b n = b-a+1 return int(ceil(n/2.0)) pre = 1 s = 0 for i in snipers: s += getBetween(pre, i - 2) #print s pre = i + 2 ...
[ "rlakhwan@cisco.com" ]
rlakhwan@cisco.com
d6cac20aa12d749297a858a8968dcdd59024491d
ad846a63f010b808a72568c00de016fbe86d6c35
/algotradingenv/lib/python3.8/site-packages/IPython/sphinxext/ipython_console_highlighting.py
e07bcc007d0673032ff83deee60ef9272ebd015b
[]
no_license
krishansinghal29/algotrade
74ee8b1c9113812b1c7c00ded95d966791cf76f5
756bc2e3909558e9ae8b2243bb4dabc530f12dde
refs/heads/master
2023-06-02T01:53:24.924672
2021-06-10T09:17:55
2021-06-10T09:17:55
375,641,074
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
""" reST directive for syntax-highlighting ipython interactive sessions. """ from sphinx import highlighting from IPython.lib.lexers import IPyLexer def setup(app): """Setup as a sphinx extension.""" # This is only a lexer, so adding it below to pygments appears sufficient. # But if somebody knows what...
[ "krishansinghal29@gmail.com" ]
krishansinghal29@gmail.com
bf77e59520837cbd065542476fdad5c4d1c0a67f
d3e723fe5eb20b868ed6bc7e3d228eba368f22ef
/feedly/feeds/redis.py
03755ba7a7ced91466e476809ae1a508fc9d880f
[ "BSD-3-Clause" ]
permissive
intellisense/Feedly
f33fa42a0f41b73e8e728813ed311d06bd8fb668
4c5fb74aee56e5ff382417301a4825b151c474b0
refs/heads/master
2020-05-29T11:36:24.157740
2014-02-24T16:27:33
2014-02-24T16:27:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
from feedly.feeds.base import BaseFeed from feedly.storage.redis.activity_storage import RedisActivityStorage from feedly.storage.redis.timeline_storage import RedisTimelineStorage from feedly.serializers.activity_serializer import ActivitySerializer class RedisFeed(BaseFeed): timeline_storage_class = RedisTimeli...
[ "thierryschellenbach@gmail.com" ]
thierryschellenbach@gmail.com
1e27272a6df616fd8ab1ea720081875c1a06bca0
8b280840def0f170a16ea8e0668799e63759e9fc
/react_django/settings.py
1998a01b5810359170d4c639a48fdfc9254837c0
[]
no_license
panu2306/React-Django-REST
0a40830048903a0be8a5d5661ec36e20f8d02656
e0e5976e2b81a91661fed674fa7e1d8177e093f6
refs/heads/master
2021-04-02T01:44:17.179283
2020-03-18T12:55:26
2020-03-18T12:55:26
248,230,980
0
0
null
null
null
null
UTF-8
Python
false
false
3,141
py
""" Django settings for react_django project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import ...
[ "pranavbhendawade@gmail.com" ]
pranavbhendawade@gmail.com
9fcfda872969a04db6c4892cc52345f61d0a5a36
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/overkiz/climate_entities/atlantic_pass_apc_heating_zone.py
b6835d93ebb01978f226f745fb84a212a4de8ecd
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
7,956
py
"""Support for Atlantic Pass APC Heating Control.""" from __future__ import annotations from typing import Any, cast from pyoverkiz.enums import OverkizCommand, OverkizCommandParam, OverkizState from homeassistant.components.climate import ( PRESET_AWAY, PRESET_COMFORT, PRESET_ECO, PRESET_HOME, P...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
e0077da32f8f0a9b4ddeb55a914be35925f10d0d
64ec0ce37edfec33e1a7c9f074517c07161dc4b3
/torch/overrides.py
049115ebcd779e034d2f864af86cc6a072340b07
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
Yodai1996/pytorch
35ffb1c1ba2f77957193e26c6c823daab5270aef
72274e2a2fd55019ec860e1743dbdc5b0c5a5624
refs/heads/master
2023-07-25T01:25:09.684093
2021-09-08T07:22:05
2021-09-08T07:25:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
83,071
py
""" Python implementation of ``__torch_function__`` While most of the torch API and handling for ``__torch_function__`` happens at the C++ level, some of the torch API is written in Python so we need python-level handling for ``__torch_function__`` overrides as well. The main developer-facing functionality in this fil...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
2ea33ffcd0cae4ec18e5222c11a9c44aa4035f04
ea3799fc5a6a7109c1c8089dc43993ce24a3fa2a
/FCN.py
368956152f8a4125ed2d103dc0e50a1d8d6a8a28
[]
no_license
gepu0221/FCN
92edfc4bddd2ace1e10d2236a2f9a4ed672705c8
df03409d5974cbec60d3d18853149c838d2f091b
refs/heads/master
2020-03-16T18:14:40.414050
2019-03-11T12:40:44
2019-03-11T12:40:44
132,865,380
0
0
null
null
null
null
UTF-8
Python
false
false
12,367
py
from __future__ import print_function import tensorflow as tf import numpy as np import time import TensorflowUtils as utils import read_MITSceneParsingData as scene_parsing import datetime import BatchDatsetReader as dataset from six.moves import xrange from label_pred import label_visualize,fit_ellipse FLAGS = tf.fl...
[ "cauc_gp@163.com" ]
cauc_gp@163.com
8729474e8b2422a1e50214878c35fd5195d111dc
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/communication/azure-communication-chat/tests/test_chat_thread_client_e2e_async.py
69f1236074986d93928e4b4bce029ea46665aab2
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
10,433
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import pyt...
[ "noreply@github.com" ]
yunhaoling.noreply@github.com
53d89cc1f1796b277ee380a6a9c9f66fd6838149
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/139/usersdata/247/61611/submittedfiles/diagonaldominante.py
4c46b3db468eb5120f665f18eaa6860ff491cb18
[]
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
117
py
# -*- coding: utf-8 -*- i=1 n=int(input('d')) cont=0 while i<n: if i%2==1: cont=cont+i print(cont)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
241ee1d4fb08eab48847636ac8aa19413cffb686
846b11ccf549aba144c1824a24292a4850860ca7
/2-EstruturaDeDecisao/5.py
ecaf59269d84595e978da0a147427a07e1c37567
[]
no_license
paulocesarcsdev/ExerciciosPython
6d1feff293e7efc4cd3fbc62eee0add93f76db99
25bfaa6dc5cb294242e478a2b253a8ca5d9c7078
refs/heads/master
2023-05-15T00:53:22.151884
2021-06-10T03:04:04
2021-06-10T03:04:04
337,847,875
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
''' Faça um programa para a leitura de duas notas parciais de um aluno. O programa deve calcular a média alcançada por aluno e apresentar: A mensagem "Aprovado", se a média alcançada for maior ou igual a sete; A mensagem "Reprovado", se a média for menor do que sete; A mensagem "Aprovado com Distinção", se ...
[ "paulocesarcs.dev@gmail.com" ]
paulocesarcs.dev@gmail.com
5b8904fa1f4944088bfa67fd47c8959d3ab4ffb4
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/resources/types/bidding_data_exclusion.py
9fc75f0ae1869a171b9aa89c12199bed820c8544
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
4,930
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
1f6b0223ae64b698f778132e92aa7961497b2301
2cd0c89e4002871dddd6d0872c8105b92f730a11
/Publishing/_old/AssetPublish_v01.py
fbfdff88c9d339803ead8ba1e0e6c2f8535a364f
[]
no_license
zethwillie/froggerPipeline
d130d5d13a30aa085061e5af918f59f1c4184517
0ab3a5462b8a3e1f36e21c77df88e1039a7b3e4d
refs/heads/master
2021-04-29T14:40:13.402162
2018-03-14T16:03:34
2018-03-14T16:03:34
121,779,043
0
1
null
null
null
null
UTF-8
Python
false
false
13,037
py
import os from shutil import copy2 as copy2 import fnmatch import maya.cmds as cmds import maya.mel as mel import Utilities.utilityFunctions as uf reload(uf) # the fbx presets preset="X:/Production/Code/Maya/Tools/PipelineTools/Python/Publishing/Cali_Scale_Cm.fbxexportpreset" def publish_maya_scene(versionUp=True, ...
[ "zethwillie@gmail.com" ]
zethwillie@gmail.com
f3704e6ffdfc299ccbe48106a9f84b3607dfd38d
a0b7d64efae7804d82aac288f1ab36a98339c32a
/all_repos/manual.py
d8d1cad94614b5206dd88c6a14ebceb5fabfaa03
[ "MIT" ]
permissive
asottile/all-repos
a4e71e2deabd4f82af8d8dda43289a22e9d22b28
54d272b276e391828b74efad9445f5eafc96c998
refs/heads/main
2023-09-01T14:39:35.708565
2023-08-29T15:13:51
2023-08-29T15:13:51
99,260,344
481
81
MIT
2023-09-05T11:38:16
2017-08-03T17:51:41
Python
UTF-8
Python
false
false
1,302
py
from __future__ import annotations import argparse from typing import Sequence from all_repos import autofix_lib from all_repos.config import Config def find_repos(_: Config) -> list[str]: raise AssertionError('--repos is required') def main(argv: Sequence[str] | None = None) -> int: parser = argparse.Arg...
[ "asottile@umich.edu" ]
asottile@umich.edu
ec2eb4274f2ab5c547553a43a9e89cf4b30551d7
ad357cfbec64afb8f4cc4043b212996768f9755c
/api/barriers/serializers/mixins.py
0bf4ea3db58f439746d9c561c10c87ca5eb2913b
[ "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
3,729
py
from rest_framework import serializers class LocationFieldMixin(metaclass=serializers.SerializerMetaclass): # Use metaclass to get the fields registered at the serializer where the mixin is used # The field will need to be listed on the serializer using this mixin location = serializers.SerializerMethodFi...
[ "noreply@github.com" ]
uktrade.noreply@github.com
41eaf7e6aec7c41d1fd7d58171b45b152b251f0c
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nncunningli.py
c8167f667286f6af6e6235660cde84e24409626d
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
159
py
ii = [('BailJD2.py', 1), ('CarlTFR.py', 12), ('LyttELD.py', 1), ('WadeJEB.py', 1), ('GodwWLN.py', 1), ('SoutRD.py', 1), ('FitzRNS2.py', 1), ('BowrJMM3.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
1c9687591a895a84bf4597f263816a8942879e51
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/feel_first_hand/work_different_thing_of_next_company.py
1f68da0b0954abd51549c98382a5e50aac67ba34
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
#! /usr/bin/env python def place_or_life(str_arg): right_point_or_important_work(str_arg) print('case') def right_point_or_important_work(str_arg): print(str_arg) if __name__ == '__main__': place_or_life('large_government_and_different_man')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
f5b7ecf5498c79c23d17b6a98ceb9627c189511f
2612f336d667a087823234daf946f09b40d8ca3d
/python/lib/Lib/site-packages/django/core/management/commands/diffsettings.py
98b53b405d24da9b10a77e7b0bbc578bc9603626
[ "Apache-2.0" ]
permissive
tnorbye/intellij-community
df7f181861fc5c551c02c73df3b00b70ab2dd589
f01cf262fc196bf4dbb99e20cd937dee3705a7b6
refs/heads/master
2021-04-06T06:57:57.974599
2018-03-13T17:37:00
2018-03-13T17:37:00
125,079,130
2
0
Apache-2.0
2018-03-13T16:09:41
2018-03-13T16:09:41
null
UTF-8
Python
false
false
1,296
py
from django.core.management.base import NoArgsCommand def module_to_dict(module, omittable=lambda k: k.startswith('_')): "Converts a module namespace to a Python dictionary. Used by get_settings_diff." return dict([(k, repr(v)) for k, v in module.__dict__.items() if not omittable(k)]) class Command(NoArgsComm...
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com
299979bbe9b2eb8b65b2921f4bd2f9e42a541143
a66f75ac69e3494099886b14aa8c2abad11be89c
/partition_for_transaction.py
e999312058657c109630b1521a90f401ca395b3e
[ "MIT" ]
permissive
ryokugyu/1M_Generalization
fb54b30d5a870f8d8a8c81e96d260cc66aa4f781
679ca565e7390af2f2b2d7d85400b339a32a782d
refs/heads/master
2020-09-29T18:55:56.529124
2016-11-18T07:16:05
2016-11-18T07:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,522
py
""" main module of partition """ #!/usr/bin/env python # coding=utf-8 import pdb from models.bucket import Bucket from itertools import combinations from utils.utility import list_to_str _DEBUG = False PARENT_LIST = {} ATT_TREES = {} LEAF_NUM = 0 ELEMENT_NUM = 0 RESULT = [] DATA = [] # compare fuction for sort tre...
[ "qiyuangong@gmail.com" ]
qiyuangong@gmail.com
917995ac73a5bf09f647a885d5c631b5e4545361
5f92dd1e312a22c84eb826035b859b5fbffb7f4d
/FoTStreamServer/conceptdriftOld/algorithms/cusum.py
05f8ff161141730c3fdcd0d7a37383d8942f8561
[]
no_license
BrennoMello/FoT-Simulation-SDN-ML
a5a967d31c8df99d2f77978efa36eb8ed8d09928
bfaa7439db3d3b4b2470e342c5fdbe41106ed700
refs/heads/master
2023-05-08T10:01:01.099838
2021-06-03T02:33:52
2021-06-03T02:33:52
351,583,489
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
""" The Tornado Framework By Ali Pesaranghader University of Ottawa, Ontario, Canada E-mail: apesaran -at- uottawa -dot- ca / alipsgh -at- gmail -dot- com --- *** The Cumulative Sum (CUSUM) Method Implementation *** Paper: Page, Ewan S. "Continuous inspection schemes." Published in: Biometrika 41.1/2 (1954): 10...
[ "None" ]
None
0a3c8dbe5801337e199918aea0ad1750be687380
224459455cda5cc97511c200ee6200038e2d415b
/meshdynamic/meshDynamic-Density.py
51cda0fd7015ab6166cc279518c001e6dcd14ae9
[ "MIT" ]
permissive
deepkashiwa20/DeepUrbanEvent
d252a659a875030c300f1ce10127dc3158e0cd97
69292578d2a2d5d47ae50f0ea2f3810f5199a1c5
refs/heads/main
2023-07-18T09:58:26.442342
2021-08-24T02:43:13
2021-08-24T02:43:13
383,077,914
1
0
null
null
null
null
UTF-8
Python
false
false
25,307
py
import csv import numpy as np import os import sys import time import jismesh.utils as ju import pandas as pd curPath = os.path.abspath(os.path.dirname(__file__)) rootPath = os.path.split(curPath)[0] sys.path.append(rootPath) from common.datastructure.Point import Point from common.datastructure.Mesh import Mesh # m...
[ "jiangrh@csis.u-tokyo.ac.jp" ]
jiangrh@csis.u-tokyo.ac.jp
8ed210de7b773b2d858db28b0e98b28b8888fd8a
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/final/predict_error/job66.py
764442a07ebe3d86ebd0814af1b025e37c398848
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
7,630
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
4e3212529919c336eaa65fb17c0588a940065f09
8e1d25698853dd5bd1fe89327810afaf22aa7306
/companies/api/urls.py
d073232701aab54911a84cdb672e6d455d5c9203
[]
no_license
briancaffey/demo
3351157c7628b58347dd5d3f749429c5159c8616
118b022f9a5558c9dacc0681e8c9593c462d36a4
refs/heads/master
2020-06-26T23:14:59.745396
2017-07-16T20:23:04
2017-07-16T20:23:04
97,034,442
1
0
null
null
null
null
UTF-8
Python
false
false
170
py
from django.conf.urls import url from .views import ( CompanyListAPIView, ) urlpatterns = [ url(r'^api/$', CompanyListAPIView.as_view(), name='company_list'), ]
[ "briancaffey2010@gmail.com" ]
briancaffey2010@gmail.com
037b4a377cefa4f9c913c9b919835caeb0f89ad1
65f378ce824afb65ff44a9e7634eb5e403a15250
/discussions/01-python_basics/tests/q32.py
758113e39d3b23c219799996407eb3ed034b979d
[]
no_license
ucsd-ets/dsc10-2021-sp-public
c067f00a853f12510ac3a897a40296e00b8db247
d4af09fedd51f988de8136173ba40dc0d0e19c2d
refs/heads/master
2023-05-25T04:54:36.076251
2021-06-06T23:25:31
2021-06-06T23:25:31
351,519,451
0
1
null
null
null
null
UTF-8
Python
false
false
235
py
test = { 'name': 'q32', 'points': 1, 'suites': [{'cases': [{'code': '>>> county_most_fires == "Los Angeles County"\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
[ "nixrunner@localhost" ]
nixrunner@localhost
cc7b73d9f854a55e82733530243f061b1a953b83
4bd555bc662b8182a2e7644976bfdb00ed5e1ebe
/PythonistaAppTemplate/PythonistaKit.framework/pylib/wave.py
28156a0cddf1d07e96068e0ef3c724e3e4e903a9
[]
no_license
fhelmli/homeNOWG2
a103df1ef97194dec9501dbda87ec1f7c111fb4a
e794fd87b296544542fd9dc7ac94c981c6312419
refs/heads/master
2020-04-04T13:40:20.417769
2019-01-30T21:41:04
2019-01-30T21:41:04
155,970,686
0
0
null
null
null
null
UTF-8
Python
false
false
22,852
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "tberk@gmx.at" ]
tberk@gmx.at
28d69c649d104842a33a3b0faa6f551bdb3b6b1f
64c90b077af7feed265041c0e94cbeee4be92f01
/tools~/gen_docs.py
96f62efb1a882dda15b4f1aafa1de18cfee027cc
[ "Zlib" ]
permissive
Fopoon/Fopoon.ScenesKit
5713dd7f420a22079fd9ba57b5984836ec7ca35d
acb45bc02ea6f091f7ec36e232a3bc232f528992
refs/heads/master
2022-11-26T19:24:40.789089
2020-08-10T04:20:51
2020-08-10T04:20:51
286,259,406
0
0
null
null
null
null
UTF-8
Python
false
false
2,089
py
from json import loads from pathlib import Path from typing import Dict from scriptgen import \ StringBuilder, \ diff_text, \ interpolate_text, \ write_text_file def get_text( template: str, expressions: Dict[str, str], template_name: str = None ) -> str: sb = StringBuilder() # A...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
1d63518936cb6c7dd07da624adee9a388b513d68
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_086/ch2_2019_08_12_14_38_49_563421.py
b972fa739df8d6f21034c9041e0194bba7ac4e1c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
def calcula_velocidade_media = (d,t) return (d/t) print(calcula_velocidade_media)
[ "you@example.com" ]
you@example.com
5124b6b8ae0f31df7809797678631fdaaf6b2c24
fd326562890d4f1987c384fc7c60374938231222
/PythonAdvanced/PongGame/game.py
3e9796356f4d3b20fa9b545010373e402f2496ff
[]
no_license
miro-lp/SoftUni
cc3b0ff742218c9ceaf93f05c319ccfeed5bc8a4
283d9328537919de49f7f6a301e58593bae9ca2a
refs/heads/main
2023-08-23T21:22:07.856226
2021-08-25T15:10:18
2021-08-25T15:10:18
318,134,101
2
1
null
2021-08-10T12:51:54
2020-12-03T09:03:08
Python
UTF-8
Python
false
false
2,113
py
class Game: def __init__(self): self.width = 800 self.high = 400 self.__ball_pos = (0, 0) self.__ball_delta_x = 1 self.__ball_delta_y = 1 self.paddle_a_pos = (-self.width / 2 + 50, 0) self.paddle_b_pos = (self.width / 2 - 50, 0) self.paddle_height = s...
[ "miro_lp@abv.bg" ]
miro_lp@abv.bg
3ebabab1cc0ec29075386911102d4c4d892eed04
16ba38ef11b82e93d3b581bbff2c21e099e014c4
/haohaninfo/即時範例/61.py
6e90415a943dd91a9a3bc4319e97582c7b9dabb8
[]
no_license
penguinwang96825/Auto-Trading
cb7a5addfec71f611bdd82534b90e5219d0602dd
a031a921dbc036681c5054f2c035f94499b95d2e
refs/heads/master
2022-12-24T21:25:34.835436
2020-09-22T09:59:56
2020-09-22T09:59:56
292,052,986
2
5
null
null
null
null
UTF-8
Python
false
false
657
py
# -*- coding: UTF-8 -*- #取得報價資訊,詳情請查看技巧51 execfile('function.py') #取得上下五檔價量資訊 for i in getUpDn5(): UpDn5Info=i.split(',') UpDn5Time=UpDn5Info[0] totalUpPrice=0 totalUpQty=0 totalDnPrice=0 totalDnQty=0 #開始進行上下五檔加權平均值 for j in range(0,5): totalDnPrice+=int(UpDn5Info[1+2*j])*int(UpDn5Info[2...
[ "penguinwang@smail.nchu.edu.tw" ]
penguinwang@smail.nchu.edu.tw
85cee0f893635d531b95b5d312f8e209a6f535dc
fefb1e9b0b736da4e49d7754f8d1dbaf37f2fa6a
/.history/7_3_2_20210208211227.py
2021ca036ff147a699a385552cc614517dc2ef19
[]
no_license
wh-debug/python
5a78a2227874ebc400d075197de0adab9f55d187
1467eeda670f170e6e2d7c0a0550f713f1ee9d75
refs/heads/master
2023-03-12T22:08:12.608882
2021-02-17T09:49:52
2021-02-17T09:49:52
334,032,494
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
''' Author: your name Date: 2021-02-08 21:11:05 LastEditTime: 2021-02-08 21:12:27 LastEditors: Please set LastEditors Description: In User Settings Edit FilePath: \python\7_3_2.py ''' ''' _oo0oo_ o8888888o 88" . "88 (| -_- |) ...
[ "1813763848@qq.com" ]
1813763848@qq.com
9961f02f3cc87bd6bb0fd66daadb71f7fbd6f526
3a642fa1fc158d3289358b53770cdb39e5893711
/src/xlsxwriter/test/worksheet/test_write_sheet_views2.py
1ac53cd2d1fb5d98adfaf23b01058d89c365b7e0
[]
no_license
andbar-ru/traceyourself.appspot.com
d461277a3e6f8c27a651a1435f3206d7b9307d9f
5f0af16ba2727faceb6b7e1b98073cd7d3c60d4c
refs/heads/master
2020-07-23T14:58:21.511328
2016-12-26T22:03:01
2016-12-26T22:03:01
73,806,841
1
1
null
null
null
null
UTF-8
Python
false
false
3,464
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ...worksheet import Worksheet class TestWriteSheetViews(unittest.TestCase): """ Tes...
[ "andrey@voktd-andbar.int.kronshtadt.ru" ]
andrey@voktd-andbar.int.kronshtadt.ru
8222ad5dbb1fe9a2d9066677863f31844b5d765d
ef78bd58d61002f45778a40da7759ed0b1998cd3
/code/transforms/subspacegaussianization.py
121e6249045137472b93b36408bb02b129606325
[ "MIT" ]
permissive
afcarl/isa
61e85c0c790c7cc357e0c29fc5bda948e9c77ce4
f0497c0cc7bd72e0de7f4f9a8da40e214c22abe9
refs/heads/master
2020-03-19T21:36:06.716167
2013-01-28T18:32:30
2013-01-28T18:32:30
136,944,562
1
0
null
2018-06-11T15:20:45
2018-06-11T15:20:44
null
UTF-8
Python
false
false
3,769
py
__license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>' __author__ = 'Lucas Theis <lucas@theis.io>' __docformat__ = 'epytext' from transform import Transform from radialgaussianization import RadialGaussianization from numpy.linalg import inv, slogdet from numpy import vstack, dot, zeros from ...
[ "lucas@theis.io" ]
lucas@theis.io
413fae5d3fbae535a19798130e74abb371a25cb9
020da726bb378ea9fe58af19caadad8e02bd4e27
/CODES_RCM/Calcul_Heat_Wave_RCM.py
31eb9bfd038cd5ce54ea25386c8f2ed2b0b10913
[]
no_license
guimeto/Heat_Wave_Codes
06dc19f9547b2cc083db9fd7bd44d22fad072a37
85a1c6ae582818a5694aef9b17fc7f3578b3af16
refs/heads/master
2020-06-22T05:44:11.064070
2020-04-10T18:11:19
2020-04-10T18:11:19
197,648,190
1
0
null
null
null
null
UTF-8
Python
false
false
4,289
py
# -*- coding: utf-8 -*- """ Created on Mon Jul 15 10:31:05 2019 @author: guillaume """ import xarray as xr import numpy as np import pandas as pd from netCDF4 import Dataset model='CANRCM4_NAM-44_ll_CanESM2_historical' yi = 2000 yf = 2000 tot=(yf-yi)+1 ######################################################### rep_...
[ "guillaume.dueymes@gmail.com" ]
guillaume.dueymes@gmail.com
d3bb2016d415c47c7039c7cc1a1f2fadb8094a6d
3d4a3bebf614086cce8a22510d8c27c0bea52f92
/CDS_pro.py
6963688c12963d1e348fb2a00680deef640be7ea
[]
no_license
caelus95/MantaOcean
dc031518051daac9b718b4c7664a057a956475f8
dbc5774f6ecd949a8d8f58c66d0101f816b90dc9
refs/heads/master
2023-06-18T22:00:26.353952
2021-06-29T13:25:48
2021-06-29T13:25:48
365,965,350
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jun 29 18:03:50 2021 @author: caelus """ PKG_path = '/home/caelus/dock_1/Working_hub/LGnDC_dep/python_cent/MantaPKG/' import sys sys.path.append(PKG_path) from Manta_Signals.procc_index import sig_pro, linearRegress4Cube from Manta_Signals.utility im...
[ "caelus9536@gmail.com" ]
caelus9536@gmail.com
808cf3c32ee1793a9b9e851d99062f6245f9dc9e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02879/s604770795.py
8a8a1f8c96a9e183e5e3de56c8219f8a884b4acc
[]
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
274
py
import math import collections import fractions import itertools import functools import operator def solve(): a, b = map(int, input().split()) if a < 10 and b < 10: print(a*b) else: print(-1) return 0 if __name__ == "__main__": solve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
31fb114ed920fcfae01485c2a6e8fb4bcf9ab0ff
bbfa3b7ee2008617d33a7c5c7770d22e1aa8836b
/Optimization/dynamic_programming.py
45645d59bdddc6e1e046f26ab79ad1f62240638a
[ "MIT" ]
permissive
luoshao23/ML_algorithm
1a0046ce9c3abed029cceffa35defe57fffa82b2
6e94fdd0718cd892118fd036c7c5851cf3e6d796
refs/heads/master
2021-08-07T08:38:16.102455
2020-03-18T06:49:43
2020-03-18T06:49:43
92,467,636
4
1
MIT
2018-01-16T05:01:29
2017-05-26T03:20:08
Jupyter Notebook
UTF-8
Python
false
false
7,776
py
from random import random, randint, choice from copy import deepcopy from math import log class fwrapper(object): """docstring for fwrapper""" def __init__(self, function, childcount, name): self.function = function self.childcount = childcount self.name = name class node(object): ...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
0d7184a80475f7a0641e24853ef565479c0e124d
c6d4fa98b739a64bb55a8750b4aecd0fc0b105fd
/ScanPi/QRbytes2/64.py
3f5c349b6d306976ab708a09143df5219a533f84
[]
no_license
NUSTEM-UK/Heart-of-Maker-Faire
de2c2f223c76f54a8b4c460530e56a5c74b65ca3
fa5a1661c63dac3ae982ed080d80d8da0480ed4e
refs/heads/master
2021-06-18T13:14:38.204811
2017-07-18T13:47:49
2017-07-18T13:47:49
73,701,984
2
0
null
null
null
null
UTF-8
Python
false
false
23,746
py
data = [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ...
[ "lists@quernstone.com" ]
lists@quernstone.com
7b490f80ae0998de959f9d75b7c9872a0e7c11ea
72a3f41a94202d6d378c222c5cfa9e68155109bb
/uralbrick/tags/0.1/catalogapp/api/__init__.py
65b560c47a39864c67faf72064810cdf4cf0f98f
[]
no_license
vakhov/python-django-projects
c312b8bcd94aa448a2678c156ff4936e4a68f668
6f296aa75d7692eb5dcb68ef4ce20cadee9dc9e6
refs/heads/master
2021-01-17T12:12:56.730072
2012-07-25T16:40:45
2012-07-25T16:40:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
import brands import goods import sections import specfields
[ "succubi@succubi-Inspiron-1501.(none)" ]
succubi@succubi-Inspiron-1501.(none)
6f4d7ba3cce0793b202eb91ca89412a78b296c3e
787778879d68946cb053744278771b14541bd198
/tensorflow/contrib/skflow/python/skflow/estimators/base.py
30332a00c9a104821466b1a4ec7adbf92559f538
[ "Apache-2.0" ]
permissive
yluo42/tensorflow
82a8ea0267d040377c88bf90459a89bc9d18f41d
30f3cdfc420d831e2591cce62fa51164cf8a700a
refs/heads/master
2021-09-24T20:29:32.182046
2016-04-05T18:44:52
2016-04-05T18:44:52
55,558,456
1
0
null
null
null
null
UTF-8
Python
false
false
21,945
py
"""Base estimator class.""" # Copyright 2015-present The Scikit Flow 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/LIC...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
9f89cd804a35d8fb1df192bfec08abe49386513a
3784495ba55d26e22302a803861c4ba197fd82c7
/src/torch/legacy/nn/SpatialConvolutionMap.py
e901140a528bb3805879a4884c68b43e1afbd26d
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
4,384
py
import random import math import torch from .Module import Module # TODO fix THNN... class SpatialConvolutionMap(Module): class maps(object): @staticmethod def full(nin, nout): ft = torch.Tensor(nin * nout, 2) p = 0 for j in range(nout): for i...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
8a8c83115058802253bdc23bf2c6e0f87b1dce74
d134ab3ea473ed01c05d4be70734f2fdb6e257c6
/tensorflow/tools/compatibility/tf_upgrade_v2_test.py
4460ad5182ac56ea7e7ccb6d5a134dc244200315
[ "Apache-2.0" ]
permissive
tp46/tensorflow
2ff6b3d3b09c65bf2a8b6ae33cbb5ff94bf5e74d
2a050766bf0556d7d92eea62d40fd2bebbcb399f
refs/heads/master
2020-04-10T07:29:49.244741
2018-12-07T22:18:35
2018-12-07T22:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,473
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
e2a338049711a6ad6960e1c4ee5c4c2dfd2710f1
12c18d9d0b210698f61f70f458a46647fc99356c
/p57.py
262e70bded90556b2b859ec765ea7307ee71e68f
[]
no_license
ddgvv/dd
503a64b08e12de79b5812fd39a76c826aadbd06c
2e07d92123960e9625198a454ad3973671761fda
refs/heads/master
2021-07-04T16:40:01.904529
2019-05-17T08:10:30
2019-05-17T08:10:30
110,428,294
1
10
null
null
null
null
UTF-8
Python
false
false
63
py
string,c=input().split(' ') place=string.count(c) print(place)
[ "noreply@github.com" ]
ddgvv.noreply@github.com
7fc5fc8829de1dcf123347fcd4404cc65ca1a795
2c68f9156087d6d338373f9737fee1a014e4546b
/src/privatedns/azext_privatedns/vendored_sdks/models/aaaa_record_py3.py
2cd662761ff9da8073fe44d4aa1f2ee418445ab3
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
anpaz/azure-cli-extensions
8b0d4071c49840da9883f13cb0fd1f4515246ee0
847fd487fe61e83f2a4163a9393edc9555267bc2
refs/heads/master
2023-04-23T17:22:53.427404
2021-01-29T17:48:28
2021-01-29T18:01:33
257,394,204
2
0
MIT
2021-01-28T10:31:07
2020-04-20T20:19:43
Python
UTF-8
Python
false
false
918
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 ...
[ "wx44@cornell.edu" ]
wx44@cornell.edu
1fafa6db558c6073910962a1fd4bfd7d3019592a
a00ec9691cd5e56db93d290cb7a7b1edfef6437f
/eco/eco/asgi.py
2059a74dc9da807b96848d839ceb20e1570e7a08
[]
no_license
pronob1010/Ogani
7e6dfd424a830bd3355cf07f7a01eb521d8716d4
f6ff3dc8ed40ce46a993d1f83e122fbbc61836cf
refs/heads/master
2022-10-24T06:22:44.044064
2020-06-21T22:01:08
2020-06-21T22:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" ASGI config for eco project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "pronobmozumder.info@gmail.com" ]
pronobmozumder.info@gmail.com
fce765142eaf423639434d0ee0255320be03ebd1
e0c8662a56d89730043146ddc340e9e0b9f7de72
/plugin/11e23c18-1596.py
3ca27f59f5378a6af4db567a8641f9832a2735e3
[]
no_license
izj007/bugscan_poc
f2ef5903b30b15c230b292a1ff2dc6cea6836940
4490f3c36d4033bdef380577333722deed7bc758
refs/heads/master
2020-09-22T17:20:50.408078
2019-01-18T09:42:47
2019-01-18T09:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#coding:utf-8 from lib.curl import * # -*- coding: utf-8 -*- import re def assign(service, arg): if service=='tipask': return True,arg def audit(arg): code,head,res,errcode, _=curl.curl2(arg+'?dfferfdsfe') if code == 404 and res: m=re.search(r'file "(.*)" not found',res) if m: ...
[ "yudekui@wsmtec.com" ]
yudekui@wsmtec.com
12769f9a834726649374d31c469d956ec8091f46
5cb9dccbcccb8a2137368dd0615fe3e3c7761707
/simulations/kinova/build/chomp_motion_planner/catkin_generated/pkg.develspace.context.pc.py
3a3076474a22a84958b84ab31ec82194d9ffd63e
[]
no_license
Simon-Steinmann/sim2real-modular-RL-project
b2467a393014e106043f6128a026f5eac934a83d
4027590ac94de2d5c914731c09efcf2f318b9ca3
refs/heads/master
2020-07-29T01:30:56.450919
2019-10-12T09:33:00
2019-10-12T09:33:00
209,605,548
4
1
null
null
null
null
UTF-8
Python
false
false
672
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/acis/sim2real/simulations/kinova/src/moveit/moveit_planners/chomp/chomp_motion_planner/include".split(';') if "/home/acis/sim2real/simulations/kinova/src/moveit/moveit_planners/chomp/chomp_motion...
[ "simon.steinmann91@gmail.com" ]
simon.steinmann91@gmail.com
273a796eb3e0d568fc83cd05aff1e374c4393f21
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/toontown/src/coghq/Stomper.py
f579b1ff2fd2e11404c53d4ef459346b72bf19ad
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
4,816
py
"""Stomper module: contains the Stomper class""" from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.showbase.PythonUtil import lerp from direct.fsm import StateData import math class Stomper(StateData.StateData, NodePath): SerialN...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
81836a77393b703a7e69351661f816b5e0db1eb9
5f1c3a2930b20c3847496a249692dc8d98f87eee
/Pandas/Titanic_DataAnalysis/Question8.py
d6bea604e6b82e0b17af8e7a63fd757c6a04672e
[]
no_license
AmbyMbayi/CODE_py
c572e10673ba437d06ec0f2ae16022d7cbe21d1c
5369abf21a8db1b54a5be6cbd49432c7d7775687
refs/heads/master
2020-04-24T05:01:46.277759
2019-02-22T08:26:04
2019-02-22T08:26:04
171,723,155
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
"""write a pandas program tocreate a pivot table and count survival by gender, categories wise age of various classes """ import pandas as pd import numpy as np df = pd.read_csv('titanic.csv') age = pd.cut(df['age'], [0,10,30,60,80]) result = df.pivot_table('survived', index=['sex', age], columns='pclass', aggfunc='...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8b00cb8d70c9d7a361ad920dddfbfdf75d237328
e59e0bd3cdfc706105ee697cc6683554d3cdb371
/utime/augmentation/elastic_deformation.py
9c267b66b0bdb1de51ca1870c185892338355305
[ "MIT" ]
permissive
jennynanap/U-Time
02455307cd67abf975d659346d4a1f3acebd8eed
f7c8e3f1368f43226872a69b0fbb8c29990e4bd9
refs/heads/master
2023-07-10T16:26:23.648995
2021-08-24T12:09:30
2021-08-24T12:09:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,570
py
import numpy as np from mpunet.interpolation import RegularGridInterpolator from scipy.ndimage.filters import gaussian_filter def elastic_transform(signal, labels, alpha, sigma, bg_value=0.0): """ Elastic deformation for 1D signals, modified from: [Simard2003] Simard, Steinkraus and Platt, "Best Practices...
[ "mathias@perslev.com" ]
mathias@perslev.com
88f954cd4c147c22b62406dd9e1848a41d7bfac9
675d1ad3ebb58d6bf177430568bb35a7319ce30b
/plotters/limits.py
0eab4cdcf3c08d0721d27c24e9679c39f23d5596
[]
no_license
kdlong/InitialStateAnalysis
30a0382098014087982059908c2f74ccaff0c3d9
2a1f7275de6bcbcf53127ad2e949b20d2443e8bc
refs/heads/master
2021-01-18T07:02:12.114624
2015-04-14T16:27:52
2015-04-14T16:27:52
30,890,597
0
0
null
2015-02-16T22:02:24
2015-02-16T22:02:23
Python
UTF-8
Python
false
false
4,461
py
''' Class for plotting limits. ''' import sys import os import errno import numpy as np import CMS_lumi, tdrstyle from plotUtils import _3L_MASSES, _4L_MASSES, python_mkdir sys.argv.append('-b') import ROOT sys.argv.pop() ROOT.PyConfig.IgnoreCommandLineOptions = True ROOT.gROOT.SetBatch(ROOT.kTRUE) ROOT.gROOT.Proces...
[ "dntaylor@wisc.edu" ]
dntaylor@wisc.edu
2375f031e40a31c4eadc37b25c1a2e45e111c9bd
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj9-10_104054.47+112023.7/sdB_sdssj9-10_104054.47+112023.7_coadd.py
4de1d11e6ffb1bc19dfcb19efea75a26b321efa2
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[160.226958,11.339917], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj9-10_104054.47+112023.7/sdB_sdssj9-10_104054.47+112023.7_movie_count.fits", cntcoaddfile="/data2/fleming/...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
c0c28a81cd864c47e81a5589f67dc159c3c4086b
151dc9e2f00b202a5085189ac5e5df06eed1b77a
/bot/migrations/0002_food_ingredients.py
6a59f2980a0f2a0dc788dbb431c459bb5c62c5f5
[]
no_license
ochui/foodbot
074d818308ee72c895857641333a71aebe6f36c0
c4dcda9a94a270ca26a58383d3719ed312b06907
refs/heads/master
2023-08-25T10:06:22.793546
2021-11-02T23:22:03
2021-11-02T23:22:03
420,014,796
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Generated by Django 3.2.8 on 2021-10-22 09:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bot', '0001_initial'), ] operations = [ migrations.AddField( model_name='food', name='ingredients', fiel...
[ "ochuiprincewill411@gmail.com" ]
ochuiprincewill411@gmail.com
2690394c577796e63ca8242a797e503b406ccb1a
a665936ae4c630ae9ef4c8b106aef1d0dcb3309b
/pro57.py
d63d9a4c653a8a0a3d28728a19a171d8b6b580fc
[]
no_license
Hemavarsheni/codekata
bbbd54e0282c0a5724ef58f6abd215cb57fe0cd8
577c8347991784d1b9b1b4364045cde3257ee9db
refs/heads/master
2020-06-13T23:50:44.237011
2019-08-16T12:11:29
2019-08-16T12:11:29
194,827,236
0
10
null
null
null
null
UTF-8
Python
false
false
343
py
#Hemavarsheni a,b=map(str,input().split()) lista=[] listb=[] for i in range(len(a)-1): s="" for j in range(i,i+2): s=s+a[j] lista.append(s) for i in range(len(b)-1): s="" for j in range(i,i+2): s=s+b[j] listb.append(s) for i in lista: if i in listb: print("yes") ...
[ "noreply@github.com" ]
Hemavarsheni.noreply@github.com
5ef239b0126778ed8d7aeba3dc594138312d9df0
9f66941e73cad0c215601339512b8dd6729792da
/Show_Program_exe/predictModelUI/tensorflow/_api/v2/profiler/experimental/client/__init__.py
6c373c04418802ba602b7d8a351fd76131351e7e
[]
no_license
NgaAdrain/TEAM_Enter_Text_Here
eb0e02c13959b90eecc0c69d2b24adb23a50150a
a7217438284360e06c93d37092dca1afcecb735a
refs/heads/master
2023-07-20T11:42:50.353497
2021-05-28T08:30:53
2021-05-28T08:30:53
267,983,495
2
0
null
2023-07-06T22:00:36
2020-05-30T00:50:59
Python
UTF-8
Python
false
false
419
py
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Public API for tf.profiler.experimental.client namespace. """ from __future__ import print_function as _print_function import sys as _sys from tensorflow.python.profiler.profiler_clien...
[ "adrainnga@gmail.com" ]
adrainnga@gmail.com
469233826fa76271f9d1c92d61ca030c6ebe3463
ac191a3e973b0d66baa559fdd27af5e0012fe67b
/shipyard/utils.py
eab1698afc173b87779a9d3d0ce8a92c8445ae1d
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
monokrome/shipyard
fb2ab707643e52c3acfd20dfaf4d269a8b5dc195
3a37105466e4ac30b260a6b40a467e0412b4fc13
refs/heads/master
2022-01-17T23:31:26.186270
2013-10-23T06:29:21
2013-10-23T06:29:21
13,798,136
1
0
null
2022-01-06T22:53:10
2013-10-23T09:02:08
Python
UTF-8
Python
false
false
2,347
py
# Copyright 2013 Evan Hazlett and contributors. # # 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 agree...
[ "ejhazlett@gmail.com" ]
ejhazlett@gmail.com
cab5ec73309abc6f8c1a012ccccd0e4dc50f50b4
91f4078045a57eaaafe0b172909d7041e829941c
/arjuna-samples/arjex/test/pkg/gns_adv/check_gnsadv_07_waiters_default_wait.py
21418e6c64e6736cfe53b4ca0f3d66b1a111ea50
[ "Apache-2.0" ]
permissive
amiablea2/arjuna
0d06d1dfb34309f4b6f39b17298f7acb6c3c48c9
af74e0882216881ceca0a10f26442165ffc43287
refs/heads/master
2023-08-21T20:04:30.416303
2021-10-27T06:41:40
2021-10-27T06:41:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
# This file is a part of Arjuna # Copyright 2015-2021 Rahul Verma # Website: www.RahulVerma.net # 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...
[ "rahulverma81@gmail.com" ]
rahulverma81@gmail.com
047d255cb913eb1fc1bcac608765d94e5a1a7538
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17s_1_02/ipv6/route/link_local_static_route_nh/__init__.py
f409793989d66c90174629d2778ac54c0f5f5de6
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,384
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
cc827a59a8376d853d13dc82c896378c171fca75
d2deead5da9b4999eb8cee6235b43c897f468212
/Week2/helloworld/helloworld/urls.py
66b21bef9a31d85d169b6a5d7aa68503314edfbf
[]
no_license
mkeshilbaev/BFDjango
39f829d6362f4acbd502f98198facf482f1fd392
caa34eb8e456e20cacadaa5b4e20949fa32ff529
refs/heads/master
2023-05-02T22:39:25.023549
2020-04-25T14:16:22
2020-04-25T14:16:22
233,826,635
0
0
null
2023-04-21T20:48:01
2020-01-14T11:30:49
Python
UTF-8
Python
false
false
802
py
"""helloworld URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "m.keshilbaev@gmail.com" ]
m.keshilbaev@gmail.com
822d8811b069aed67ce8cd1f23bbf59c6c4a9c45
0b25dc3f9b4ef736e739aadddec33b96dd65a0c8
/huawei/21.py
7302d8adf92d83dba6e7130102b2a602b4176164
[]
no_license
ttp55/LearnPy
b123f44a74e4364771491c572705742c15eb33ff
1530e158bde152e5c585f496dd1e5ffcffdb73bc
refs/heads/master
2023-05-11T13:02:30.157285
2023-05-08T07:13:57
2023-05-08T07:13:57
196,953,630
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# @Time : 2022/2/8 13:58 # @Author : WZG # --coding:utf-8-- l = [1,2,3,4,5,5] print(l[3:]+l[:3]) s = input() while '{}' in s or '()' in s or '[]' in s: s = s.replace('{}', '') s = s.replace('[]', '') s = s.replace('()', '') print(not s)
[ "1047697347@qq.com" ]
1047697347@qq.com
1659e77a9f834c52289989c0d18398077d405e47
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/308/usersdata/290/72816/submittedfiles/ex1.py
9d833bfe06bccfb760241d32e0c22608bc1e9950
[]
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
179
py
# -*- coding: utf-8 -*- from __future__ import division a = input('Digite a: ') b = input('Digite b: ') c = input('Digite c: ') #COMECE A PARTIR DAQUI! D=((b**2)-(4*a*c)) print(a)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a46f5b9eedcb1195e2fc993c39f96762d17c98b0
bad67fafaa475e8dc7035e8a21e80e77cd90f43a
/manage.py
3282f2314889e472c8fea59e71c5d8aa2c01f038
[]
no_license
Aitmatow/Djago_girlst_test
66c4a59f00b2ef95bee905c99d9d15d85bee1878
a436e1b561dc8d0e8d7e4a88053ead74301c8aaa
refs/heads/master
2022-09-19T12:08:37.493160
2020-06-03T05:39:40
2020-06-03T05:39:40
268,985,447
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Pycharm.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Import...
[ "aitmarowd@gmail.com" ]
aitmarowd@gmail.com
a1add44754eec4db72df64bfc3f294a01ec01a29
e78433e847c5a5ff1ed583303c0240b0a93dc06a
/0x01-python-if_else_loops_functions/6-print_comb3.py
2682ef8c4fae7eef14ca880d7b9148e40c1481e8
[]
no_license
david-develop/holbertonschool-higher_level_programming
75eaef38173361cc4ef9202f3e3f6c5a781239ed
90f62136a7ddfb7d3921daccdc38d50a5376343b
refs/heads/master
2020-07-22T23:27:35.494155
2020-03-26T17:34:36
2020-03-26T17:34:36
207,366,767
0
4
null
null
null
null
UTF-8
Python
false
false
169
py
#!/usr/bin/python3 for num1 in range(0, 8): for num2 in range(num1 + 1, 10): print("{}{}".format(num1, num2), end=', ') print("{}{}".format(num1 + 1, num2))
[ "924@holbertonschool.com" ]
924@holbertonschool.com
04ba26d95374cc9f8beb1e7b9eb48e8d9e9fd7cc
ce2a6330c807591f95210bdda005f875a76b98a8
/model_lab/ml_models/titanic/scripts/train.py
22de07daecff46eabb25b6cef569ac1b056d0c75
[]
no_license
MartinThoma/model-lab
c1ca8d0950086cd4e332862d6a3b7a7ae7f10a2f
3525cdd5271a1b7940f801d4245343b1592ffa67
refs/heads/master
2020-04-11T18:43:54.537892
2018-12-31T20:14:40
2018-12-31T20:17:02
162,009,569
1
0
null
null
null
null
UTF-8
Python
false
false
3,893
py
"""Train a model for Titanic.""" import re import math import pickle # 3rd party modules import numpy as np import pandas as pd from sklearn.ensemble import ExtraTreesRegressor def main(): """Load, train, serialize, test.""" data = load_data() analyze_features(data['full_features']) model = train(da...
[ "info@martin-thoma.de" ]
info@martin-thoma.de
220acf2053b36953db69197b5b7cd45c5040bc57
48b9d828acf80792bc4385febaa734a2e96ad465
/test-openmps/Examples/05_Fermions_LongRange.py
fd886085ce8c20f16a78e8dadbd894ef399ac75e
[ "MIT" ]
permissive
OminiaVincit/qphase-trans
dd4ab2e0cacc449ead3bef318a65eb05aed45621
40e0c078dcd74282e8d8f44690433bf670bff8cb
refs/heads/master
2023-05-06T12:14:30.368375
2021-05-28T05:11:58
2021-05-28T05:11:58
235,478,493
0
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
import MPSPyLib as mps import numpy as np import sys import os.path def main(PostProcess=False): """ Introductory example for openMPS to simulate a fermionic system with long-range interactions. Two modes are available when running the example from command line: * ``python LongRangeTunneling.py --...
[ "k09tranhoan@gmail.com" ]
k09tranhoan@gmail.com
64c1f70e329c85405d3ab1ac2f692dfbe8516499
ded10c2f2f5f91c44ec950237a59225e8486abd8
/.history/2/matrix_squaring_20200423020640.py
59367a0a4ab8703f9cda9c70a66fc9fe3cec0b6e
[]
no_license
jearistiz/Statistical-Physics-Projects
276a86407b32ded4e06b32efb2fadbd8eff8daed
d9c5b16a50856e148dc8604d92b6de3ea21fc552
refs/heads/master
2022-11-05T03:41:23.623050
2020-06-28T06:36:05
2020-06-28T06:36:05
254,909,897
1
0
null
null
null
null
UTF-8
Python
false
false
35,579
py
# -*- coding: utf-8 -*- from __future__ import division import os import numpy as np import matplotlib.pyplot as plt from time import time import pandas as pd # Author: Juan Esteban Aristizabal-Zuluaga # date: 20200414 def rho_free(x,xp,beta): """Uso: devuelve elemento de matriz dsnsidad para el caso de una p...
[ "jeaz.git@gmail.com" ]
jeaz.git@gmail.com
143015e6f533e9a7ff15567a923069a6255caf56
4ba0b403637e7aa3e18c9bafae32034e3c394fe4
/python/proto/google/protobuf/internal/type_checkers.py
c88b8d028eb494464a1dd6e1420d1b256e13d83d
[]
no_license
ASMlover/study
3767868ddae63ac996e91b73700d40595dd1450f
1331c8861fcefbef2813a2bdd1ee09c1f1ee46d6
refs/heads/master
2023-09-06T06:45:45.596981
2023-09-01T08:19:49
2023-09-01T08:19:49
7,519,677
23
6
null
null
null
null
UTF-8
Python
false
false
11,442
py
# Protocol Buffers - Google's data interchange format # Copyright 2008 Google Inc. All rights reserved. # http://code.google.com/p/protobuf/ # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions o...
[ "asmlover@126.com" ]
asmlover@126.com
001b2620fba71bf6672fffa7ba7578a6ef07180f
c838b0eaf08c63284bd29442f8a0a297d1558fd5
/lagom/runner/rolling_segment_runner.py
6f42c595b4aa4688010ec63e73d889e6d6601428
[ "MIT" ]
permissive
vin136/lagom
ccd0f4a3e469c1ee8ef88b1f5248e712b51c5704
54e1890e6450f4b1bf499a838963c5d1a3b2da6a
refs/heads/master
2020-04-22T21:45:51.488458
2019-02-13T16:41:32
2019-02-13T16:41:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
import torch import numpy as np from lagom.envs import EnvSpec from lagom.history import BatchSegment from lagom.runner import BaseRunner class RollingSegmentRunner(BaseRunner): def __init__(self, config, agent, env): super().__init__(config, agent, env) self.env_spec = EnvSpec(self.en...
[ "zuoxingdong@hotmail.com" ]
zuoxingdong@hotmail.com
f32c47e27a4ed6dfd41d6154529bbafd699be8a3
a38eb2457fc834109cbb1d5cd2f5649d932cbb00
/blog/migrations/0001_initial.py
7115d435920cd0178d44e08eebf29f71a8ba7649
[]
no_license
anitalmada/mi-primer-blog
0a5daef6aa87273ab4ab09c1f6d1ff51706fdae2
872709baeef37c30608231a746d749c9d11afb0e
refs/heads/master
2020-06-10T01:47:37.291475
2017-10-09T00:16:38
2017-10-09T00:16:38
76,130,283
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-12-10 15:47 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depende...
[ "admin@admin.com" ]
admin@admin.com
fa3c81e8655206c62c0e1c0548c42cc70ab771ae
c1261b9181d86c418df612dc809af933cfbb2c0d
/blog1/migrations/0003_auto_20190616_1338.py
c8a7d136c991ab23980daf09e24fe9de1d3d62e1
[]
no_license
gitlGl/myblog
122a598407d12a7397420ce50f9c1ca68a3107d2
b3d7d1130e81ca625cb9d2b7204e19da6efe7d07
refs/heads/master
2023-09-01T14:06:04.720407
2022-10-22T08:47:02
2022-10-22T08:47:02
198,171,669
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
# Generated by Django 2.1 on 2019-06-16 05:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog1', '0002_auto_20190616_1334'), ] operations = [ migrations.CreateModel( name='Page', fields=[ ('i...
[ "you@example.com" ]
you@example.com
21d731df849e297716c68f2ae4a7a7a0777d9eed
2d9a3ce2a04190d0032e8a298829022260b1d76b
/indra/preassembler/refinement.py
25da61e0baae4308ffbcc5076b86d3d1879d0344
[ "BSD-2-Clause", "BSD-2-Clause-Views" ]
permissive
sorgerlab/indra
f127a0f9bdd2d3f48df14575883fd31e2f4de4bf
6d6ca1174792b6c5a05cbf3afcb9f138fabcec6a
refs/heads/master
2023-08-21T13:25:54.654995
2023-06-11T16:46:41
2023-06-11T16:46:41
22,848,436
158
61
BSD-2-Clause
2023-08-30T21:47:59
2014-08-11T17:44:05
Python
UTF-8
Python
false
false
17,262
py
"""This module implements classes and functions that are used for finding refinements between INDRA Statements as part of the knowledge-assembly process. These are imported by the preassembler module.""" __all__ = ['get_agent_key', 'get_relevant_keys', 'RefinementFilter', 'RefinementConfirmationFilter', 'Ont...
[ "ben.gyori@gmail.com" ]
ben.gyori@gmail.com
55f1dc9325861a9e19d2e9a887425c689284659e
0c6c7365d6ff8b694bc906ec5f74c741e8bb0d37
/Algorithms/922-Sort-Array-By-Parity-II.py
b95848daeaa9b922111c67403417c1599a5222c5
[]
no_license
XiongQiuQiu/leetcode-slove
d58ab90caa250c86b7a1ade8b60c669821d77995
60f0da57b8ea4bfb937e2fe0afe3caea719cd7e4
refs/heads/master
2021-01-23T11:21:15.069080
2019-07-08T15:42:48
2019-07-08T15:42:48
93,133,558
1
0
null
null
null
null
UTF-8
Python
false
false
775
py
''' Given an array A of non-negative integers, half of the integers in A are odd, and half of the integers are even. Sort the array so that whenever A[i] is odd, i is odd; and whenever A[i] is even, i is even. You may return any answer array that satisfies this condition. Example 1: Input: [4,2,5,7] Output: [4,5,...
[ "zjw2goo@gmail.com" ]
zjw2goo@gmail.com
1eb7553184f9f93b4f42a7d94f77117f5205d59e
78171e8cfbc44c547ee07d6e5a85e595fb7397a1
/analytics/migrations/0001_initial.py
c0e9b067863b881a1c5ab3492b2f8dbcc91c19cf
[]
no_license
jimpalowski/URLshortener
37b41a3818679c1e0707f02f57147e87a651063c
f7b8450ce2e858dff1e6fec11f9fd5dfec3d3e26
refs/heads/master
2021-09-05T11:44:36.564719
2018-01-27T01:59:56
2018-01-27T01:59:56
118,685,038
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2018-01-26 19:04 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('shortener', '0003_auto_20180125_2359'),...
[ "palowskijim@gmail.com" ]
palowskijim@gmail.com
037914c9c349ecf834267d3eb3e6e5b20c208d0b
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/049_Decorators/deco.py
a73431eabd8fc058356752fa444fc38ffd559521
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
5,383
py
# deco.py # Exercices on decorators # # 2018-09-03 PV # 2018-09-07 PV Variant with a class # 2018-10-01 PV Expanded with execution time and following code import functools def uppercase(func): # Preserve __name__ and __doc__ of original function in the decorated version @functools.wraps(f...
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
1650ea5291fb078028b18bc7b1d33ce095acb1aa
3fce653f12af1b98b6b87e3d87e7d10483ef6fac
/hood/migrations/0003_auto_20181018_1012.py
f514eafff572aa923446e6983049b97236ec7ec9
[]
no_license
IreriVIkki/hoodip
6dba100d75a69b0dd146205557cbaba4ec2555e2
610629d6a54920e66b7e30156b11887de7fe8db4
refs/heads/master
2020-04-01T14:31:31.729134
2018-10-23T11:27:31
2018-10-23T11:27:31
153,297,767
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-10-18 07:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hood', '0002_auto_20181018_0936'), ] operations = [ migrations.RenameModel( ...
[ "wambsviki@gmail.com" ]
wambsviki@gmail.com
ee0d03e5ed294173e0df5f582729e2d0b61ef73f
17926b196d9db43816453d16f3da84de6664f2fd
/155_Mini_Stack.py
76a37a32f326092b1b0ac94945275b9c1a9c62f7
[]
no_license
luchang59/leetcode
66690a3c9b28a5201a7be8cd0134142b48418adb
feab001b9291f6e57c44eeb0b625fdaa145d19b4
refs/heads/master
2020-05-28T06:57:20.667138
2019-09-20T18:18:11
2019-09-20T18:18:11
188,914,681
0
0
null
2019-05-27T22:17:44
2019-05-27T22:08:54
null
UTF-8
Python
false
false
717
py
class MinStack: def __init__(self): """ initialize your data structure here. """ self.stack = [] def push(self, x): """ :type x: int :rtype: None """ curMin = self.getMin() if curMin == None or x < curMin: curMin = x ...
[ "luchang1991@gmail.com" ]
luchang1991@gmail.com
b07ebe4341d3f201e7ded401c8ae97e2d1385731
cbe264842df4eae3569b28ed4aae9489014ed23c
/python/coding_dojang/judge_regular_expression.py
5418ef520574bac18ef5149097b2d76c3df53c2e
[ "MIT" ]
permissive
zeroam/TIL
31e176c2f4c3e1ef72b1155353690cc2f7160f96
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
refs/heads/master
2021-07-23T01:43:34.135033
2021-07-10T06:47:17
2021-07-10T06:47:17
167,952,375
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
import re p = re.compile('^(http(s)?://)?[\w\-]+\.[\w\-]+[\w\-_.?=/&#:]+$') urls = [ 'https://www.example.com', 'http://www.example.com', 'www.example.com', 'example.com', 'http://blog.example.com', 'http://www.example.com/product', 'http://www.example.com/products?id=1&page=2', 'http:...
[ "imdff0803@gmail.com" ]
imdff0803@gmail.com
0d54a8ca3d2b786f788a93b14b7817b06777b682
b48764e6684ffbd73b0043dc889c013860642e8d
/1학기/area1.py
f237fe223ef10a6ce0fda088efe636035c0f451d
[]
no_license
tanghee/Programming-Python-
c6d32a1e49d5c95c8359aeb8775cb52cc665167a
eb402357ad31638d867042e76af507bc6c67a0b4
refs/heads/master
2022-03-27T07:27:18.888660
2019-12-10T02:06:41
2019-12-10T02:06:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
width = 3 height = 5 print("가로 ", width, "세로", height, "인 삼각형의 넒이: ", 3*5*1/2) print("가로 ", width, "세로", height, "인 삼각형의 넒이: ", 3*5*1/2)
[ "s2018w37@e-mirim.hs.kr" ]
s2018w37@e-mirim.hs.kr