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
d373d3ac364544e0d35e7bf25f7316eb599665f5
7f47f345e0b6b13a431850152173d5761e7875de
/proapp/models.py
1d54689f1824f39be436154e83f26260cee27fcd
[]
no_license
dynamoh/Profiles
4e363b534ca774acda7c32a7ad77f2e063828bd8
08d26da7d5170baef99a78ea71ae943f4fb4a9c7
refs/heads/master
2020-07-03T05:28:19.293378
2019-08-11T18:27:06
2019-08-11T18:27:06
201,800,356
2
1
null
null
null
null
UTF-8
Python
false
false
975
py
from django.db import models from django.contrib import auth from django.template.defaultfilters import slugify from django.urls import reverse from django.utils import timezone # Create your models here. class UserProfile(models.Model): name = models.OneToOneField('auth.user',on_delete=models.CASCADE) colleg...
[ "guptaheet53@gmail.com" ]
guptaheet53@gmail.com
db210b78b63155c64475ea7d502b7776fdb844e6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03400/s919906932.py
599542dc59c71b78fd6bba357810d865e244b72d
[]
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
181
py
N=int(input()) D,X=map(int,input().split()) A=[] for _ in range(N): A.append(int(input())) sum = 0 for i in range(N): a = A[i] sum += ((D - 1) // a) + 1 print(sum + X)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d40f405c40b7e74dc6120faadcc4afad8885a2cf
2ac7b97e702a40bd256d8788309f312951130514
/chapter08/double_list_test.py
d6806bbcddcdacca6c0a42f1b35df57b0689676c
[]
no_license
ZeroMin-K/Doit_Algorithm
62991700d70649e8fe72f0fccc50699092526826
51d9738fcc1a9452625fc25daec0f0ca5274cde2
refs/heads/main
2023-03-28T13:50:46.582142
2021-03-29T12:45:13
2021-03-29T12:45:13
328,176,294
0
0
null
null
null
null
UTF-8
Python
false
false
2,656
py
# 원형 이중 연결 리스트 클래스 DoubleLinkedList 사용 from enum import Enum from double_list import DoubleLinkedList Menu = Enum('Menu', ['머리에노드삽입', '꼬리에노드삽입', '주목노드바로뒤삽입', '머리노드삭제', '꼬리노드삭제', '주목노드출력', '주목노드이동', '주목노드역순이동', '주목노드삭제', '모든노드삭제', '검색', '멤버십판단', '모든노드출력', ...
[ "noreply@github.com" ]
ZeroMin-K.noreply@github.com
e8080696e79a2fe23665321d398d0928a43e6f07
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/4e69daa6ec802fef59a87b3075fca5419b7b10db38708cad5e513db35d3b5eee/_cython_0_29_5.py
4c08a46660312ca5c9a95c5fc6b9d63e7a2a571a
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
8,152
py
# encoding: utf-8 # module _cython_0_29_5 # from C:\Users\Doly\Anaconda3\lib\site-packages\sklearn\utils\murmurhash.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values __loader__ = None __spec__ = None # no functions # classes class cython_function_or_method(object): de...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
11931e711209a35824a16595b9d06bcb0495caad
7eaeb56a2ed19a30559dac8673a979fc64d76e8a
/tests/parsers/c_parser/stmts/goto_stmt_tests.py
5a419a7697851d847e6596f1dc96cb3caf003efc
[ "MIT" ]
permissive
avast/retdec-regression-tests-framework
95935b6a66bee66f58a9f2ea1296f747536aeaae
f8f43c0870df638d114f685a30f8abf8b51d6d1e
refs/heads/master
2023-05-30T18:52:37.332065
2022-12-05T14:37:40
2022-12-05T14:37:40
113,967,405
8
5
MIT
2020-04-07T12:28:40
2017-12-12T09:01:52
Python
UTF-8
Python
false
false
4,245
py
""" Tests for the :module`regression_tests.parsers.c_parser.stmts.goto_stmt` module. """ from tests.parsers.c_parser import WithModuleTests class GotoStmtTests(WithModuleTests): """Tests for `GotoStmt`.""" def get_goto_stmt(self, code, func_name): """Returns the first goto statement in the given...
[ "petr.zemek@avast.com" ]
petr.zemek@avast.com
9c5a50aed161acc9cc6e210337a0b051415f9c91
96a34a048c783a75736bf0ec775df22142f9ee53
/services/web/server/src/simcore_service_webserver/statics/_constants.py
a84d4c3640555fd1040bfab8d593b728779db070
[ "MIT" ]
permissive
ITISFoundation/osparc-simcore
77e5b9f7eb549c907f6ba2abb14862154cc7bb66
f4c57ffc7b494ac06a2692cb5539d3acfd3d1d63
refs/heads/master
2023-08-31T17:39:48.466163
2023-08-31T15:03:56
2023-08-31T15:03:56
118,596,920
39
29
MIT
2023-09-14T20:23:09
2018-01-23T10:48:05
Python
UTF-8
Python
false
false
511
py
# these are the apps built right now by static-webserver/client FRONTEND_APPS_AVAILABLE = frozenset({"osparc", "tis", "s4l", "s4llite"}) FRONTEND_APP_DEFAULT = "osparc" assert FRONTEND_APP_DEFAULT in FRONTEND_APPS_AVAILABLE # nosec STATIC_DIRNAMES = FRONTEND_APPS_AVAILABLE | {"resource", "transpiled"} APP_FRONTEN...
[ "noreply@github.com" ]
ITISFoundation.noreply@github.com
366e8693394ef2093aa950e09d02c011c1adda38
f98a4df2b1abcfc287a6a739045dfe702d031b21
/SALib_sensitivity_analysis.py
c826026fab50727dc5ecfa51ec6076d82454501a
[]
no_license
zcqsntr/parameter_inference
6af6d93c957d53f3330ec6bd500cf933f5797eb0
1b017921c833dd240be4b4dca2bcd3d93b0d4191
refs/heads/master
2021-06-17T17:06:29.076812
2021-01-26T10:11:44
2021-01-26T10:11:44
156,851,908
0
0
null
null
null
null
UTF-8
Python
false
false
4,432
py
from SALib.sample import saltelli from SALib.analyze import sobol from SALib.test_functions import Ishigami import numpy as np from autograd.scipy.integrate import odeint from utilities import * def sdot(S, t, param_vec, Cin): # X is population vector, t is time, R is intrinsic growth rate vector, C is the rate limiti...
[ "zcqsntr@ucl.ac.uk" ]
zcqsntr@ucl.ac.uk
07decb370299fda3f2ff899234b18278db953261
575959a55ce2412ac1ecec7d0a75b55a43044d43
/opy/_regtest/src/core/process_test.py
b5dc459802d8d83829352f7df294d190a96880f1
[ "Apache-2.0" ]
permissive
afunsten/oil
aa74a94db79ebe43c44d040149ea3b1bfb872bb7
e52071e10a78157db1e4f0befc439a36ca1cbc01
refs/heads/master
2020-04-18T10:13:17.177302
2019-01-25T01:08:31
2019-01-25T01:08:31
167,460,658
1
0
Apache-2.0
2019-01-25T00:48:20
2019-01-25T00:48:20
null
UTF-8
Python
false
false
3,552
py
#!/usr/bin/env python """ process_test.py: Tests for process.py """ import os import unittest from osh.meta import Id from core import builtin from osh.meta import ast from core import process # module under test from osh.meta import runtime from core import util from core.cmd_exec_test import InitExecutor # helpe...
[ "andy@oilshell.org" ]
andy@oilshell.org
111a0010a8c93716535fc4b848b4300c586285c7
6b791247919f7de90c8402abcca64b32edd7a29b
/lib/coginvasion/minigame/CameraShyLevelLoader.py
5d1fb82c5c56410cfc5fff404366b95dedac4050
[ "Apache-2.0" ]
permissive
theclashingfritz/Cog-Invasion-Online-Dump
a9bce15c9f37b6776cecd80b309f3c9ec5b1ec36
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
refs/heads/master
2021-01-04T06:44:04.295001
2020-02-14T05:23:01
2020-02-14T05:23:01
240,434,213
1
0
null
null
null
null
UTF-8
Python
false
false
7,598
py
# uncompyle6 version 3.2.4 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] # Embedded file name: lib.coginvasion.minigame.CameraShyLevelLoader from direct.directnotify.DirectNotifyGlobal import directNotify from panda3d.core import P...
[ "theclashingfritz@users.noreply.github.com" ]
theclashingfritz@users.noreply.github.com
875bd2072aedee4ed31eae482b68e80e84f0fd24
90f52d0348aa0f82dc1f9013faeb7041c8f04cf8
/wxPython3.0 Docs and Demos/demo/RightTextCtrl.py
f168deb93e22074b6c2d3118af476d4bb9841848
[]
no_license
resource-jason-org/python-wxPythonTool
93a25ad93c768ca8b69ba783543cddf7deaf396b
fab6ec3155e6c1ae08ea30a23310006a32d08c36
refs/heads/master
2021-06-15T10:58:35.924543
2017-04-14T03:39:27
2017-04-14T03:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,940
py
#####################################################################\ # Note: This control is deprecated because wx.TextCtrl now supports | # the wx.TE_RIGHT style flag, which makes this control completely | # superfluous. | ################################...
[ "869999860@qq.com" ]
869999860@qq.com
670b78f9e4287cb9ad30cfc92198c09f4a3dfb34
3a3220cc2961f39fd0bdb86dc1c045446fef1122
/apps/editors/tests/test_helpers.py
de57f41bf9803c6304d167d40d924e9b1496e28a
[]
no_license
zuzelvp/zamboni
03a445c8c01a868d45e56015d1973822d807b873
d900fde75ed69b55a19dbffea612d9ccae04bb82
refs/heads/master
2021-01-18T17:07:05.012750
2011-01-21T19:54:00
2011-01-21T23:16:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,024
py
# -*- coding: utf8 -*- import os from mock import Mock from nose.tools import eq_ from pyquery import PyQuery as pq import test_utils import amo from amo.urlresolvers import reverse from editors.helpers import ViewEditorQueueTable class TestViewEditorQueueTable(test_utils.TestCase): def setUp(self): su...
[ "kumar.mcmillan@gmail.com" ]
kumar.mcmillan@gmail.com
e219220037b9c26b07219a3a6cdc3dcfc8a7cf92
4128ff7064d0e5442d08e30e7878f249311bb3e3
/jubakit/test/stub.py
6c6d4673b64ae18513470a41f8d0c4e1bb693ea8
[ "MIT" ]
permissive
vishalbelsare/jubakit
ce4d53ccd61b8569de61ba55f02bd451df3d4b73
f6252ba627ce4e2e42eb9aafaaf05c882bc1c678
refs/heads/master
2021-06-10T01:21:27.557264
2019-05-16T05:19:40
2019-05-16T05:19:40
129,505,666
0
0
MIT
2021-04-04T15:07:16
2018-04-14T10:11:15
Python
UTF-8
Python
false
false
1,295
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from unittest import TestCase import jubatus from jubakit.base import BaseLoader, BaseSchema, BaseDataset, BaseService, BaseConfig, GenericConfig class StubLoader(BaseLoader): DATA = [1,2,3] def rows(sel...
[ "webmaster@kenichimaehashi.com" ]
webmaster@kenichimaehashi.com
e9518d10a5e6eb07e2fad892a857807646a924e5
870f94dd167d5aa11f66979782af2f35f7c3ed34
/codecademy/battleship6.py
d9ec03ad63a43d7fee8b171d9ee7d80f6cd94290
[]
no_license
alblaszczyk/python
52f993844e681fbb455b924cf733923f3b377177
02504c066d0f2d1b8cca08a17f25f383df6247ad
refs/heads/master
2021-09-20T00:57:12.299353
2018-08-01T20:23:44
2018-08-01T20:23:44
108,529,581
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
board = [] for i in range(5): board.append(['O'] * 5) def print_board(board_in): for row in board: print " ".join(row) print_board(board)
[ "stuff@alblaszczyk.oib.com" ]
stuff@alblaszczyk.oib.com
86676b1cd142281ea4f4a88b62f32a919fa49e1c
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_9_v3/I_w_Mgt_to_Wxyz_focus_to_Cxy_focus_series_Pyramid/pyramid_3side/bce_s001_tv_s0p1_L4/step10_b1_train.py
484deffac40d6f97e12e293ee566e739a6a6ad9c
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
4,892
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
97710b3e759ea8389e52f4ccf09e2ee30031d846
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part001836.py
441c60f8074c8598531da9bea71fd2f496347da7
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,292
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
07f48d07bcd4c516af6a1ed0ca28329c80092daf
a3f9e16dab2ec474d82003d849277d515c0f9352
/sway_backend_15594/wsgi.py
73c1fb72a51c40bd6c8988522344bc9cf9b318c4
[]
no_license
crowdbotics-apps/sway-backend-15594
ac60abd50b84ff73cda4fdc79b1b4ffa29fee76a
2755973e24aff2e87551de21c7fe9c0567628b91
refs/heads/master
2022-12-23T18:23:31.960611
2020-04-17T18:45:32
2020-04-17T18:45:32
254,101,596
0
0
null
2022-12-08T10:56:26
2020-04-08T13:51:31
Python
UTF-8
Python
false
false
413
py
""" WSGI config for sway_backend_15594 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('D...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
62d283bb94abee18862867a046831544f6f502da
a8b89eadc948be2d4478702624752157c0657f0c
/keylog.py
5a19e62ae25a23c2e74596b3249d33696126a8e0
[]
no_license
ghdic/keylogger
0820e117491db26d7d6c51bf4fe1706792d405fd
45b3213a04710a0e2448662529319303f2e5d514
refs/heads/master
2023-03-09T05:44:59.986377
2021-03-01T09:58:47
2021-03-01T09:58:47
330,139,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
import time from pynput.keyboard import Listener import ctypes import psutil import pickle class Keylogger: def __init__(self, controller): self.controller = controller def on_press(self, key): data = pickle.dumps({'info': 1, 'key': key}) self.controller.send(data) def get_title...
[ "ghdic@naver.com" ]
ghdic@naver.com
7a3a01ea717ebdfb94b9a709d0e8e04b402209bd
65329299fca8dcf2e204132624d9b0f8f8f39af7
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/is_reachability/neighbors/neighbors_/default_metric/__init__.py
318c92982bc5ea8bbcc2a34b3d19ea00bf9daa1a
[ "Apache-2.0" ]
permissive
darylturner/napalm-yang
bf30420e22d8926efdc0705165ed0441545cdacf
b14946b884ad2019b896ee151285900c89653f44
refs/heads/master
2021-05-14T12:17:37.424659
2017-11-17T07:32:49
2017-11-17T07:32:49
116,404,171
0
0
null
2018-01-05T16:21:37
2018-01-05T16:21:36
null
UTF-8
Python
false
false
9,620
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from decimal import Decimal from bitarray import bitar...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
7c4e06d38bcec0ab8cf210950af58101a7b2f52f
1e987bd8b8be0dc1c139fa6bf92e8229eb51da27
/util/photolib/photolib-csv.py
5b03d345efb884102370e0bb6bee17c0c47ce10e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tszdanger/phd
c97091b4f1d7712a836f0c8e3c6f819d53bd0dd5
aab7f16bd1f3546f81e349fc6e2325fb17beb851
refs/heads/master
2023-01-01T00:54:20.136122
2020-10-21T18:07:42
2020-10-21T18:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
"""A linter for ensuring that a Photo Library is organized correctly.""" import os import pathlib import sys import typing from labm8.py import app from util.photolib import linters from util.photolib import workspace FLAGS = app.FLAGS app.DEFINE_boolean("write_header", True, "Write the CSV header row.") class Csv...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
b89970e14a9a66e01ba6b9e05d67e390be1b3b64
e6e81d0cd02223ca27f2c3f544b3c116e7617270
/LeetCodePremium/238.product-of-array-except-self.py
00731484397e2ece67b67b930548cd4da358ecb4
[]
no_license
ashjambhulkar/objectoriented
86166640b0546713095dd5d8804fc78d31782662
6f07b50590ceef231be38d6d7b8c73a40c1152e9
refs/heads/master
2022-05-03T23:28:38.674275
2022-04-26T21:37:31
2022-04-26T21:37:31
249,091,045
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# # @lc app=leetcode id=238 lang=python3 # # [238] Product of Array Except Self # # @lc code=start class Solution: def productExceptSelf(self, nums: List[int]) -> List[int]: left = [1] right = [1] result = list() for i in range(len(nums)-1): left.append(left[i]*nums[i]) ...
[ "ashjambhulkar@hotmail.com" ]
ashjambhulkar@hotmail.com
ecf87f3174f97c67ae6ad3a0727ce13aa8f174e6
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-datafactory/azure/mgmt/datafactory/models/marketo_linked_service_py3.py
b4e36093180958bdb8312ec8b2a10582c9c312bc
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
4,756
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
34c4d9a681c48ff93096b0ff1409aea316d9f809
d9b425f7dc5633dc76a5078be14519b5bf1de312
/text-generation2.py
14aa14dbaf7f747b8e4f9af35957bde16bb9896f
[]
no_license
joeyism/tf-text-generation
f90c7eb34b6be694b245bb051eb79c090a6b60b8
f7221f91d218264454d1db3aa1d09da6f3ca66c6
refs/heads/master
2021-07-08T05:36:05.015663
2017-10-06T03:18:45
2017-10-06T03:18:45
103,059,128
0
0
null
null
null
null
UTF-8
Python
false
false
6,203
py
import numpy as np import tensorflow as tf print("Setup") filename = './wonderland.txt' data = open(filename, 'r').read() unique_chars = list(set(data)) no_unique_chars = len(unique_chars) num_to_char = {i:char for i, char in enumerate(unique_chars)} char_to_num = {char:i for i, char in enumerate(unique_chars)} no_...
[ "sham.joey@gmail.com" ]
sham.joey@gmail.com
fae323274d9df5df19c5909ba46c9c97b3b98cfc
afce5c1f6499ef73c91fcdffc8f75200bf3b71f7
/microblog/migrations/versions/45e73e1d8309_users_table.py
6e58a4e702813c1b8d29ed936149dbb7167180d6
[]
no_license
michaelzh17/flaskmega
e15d69f2d3856c157bbeafd10a1cf533f2354cd1
b2a3e6bd5bb7f24d93a79765904564f399166446
refs/heads/master
2022-12-09T20:42:21.377754
2018-11-05T16:10:17
2018-11-05T16:10:17
146,813,855
0
0
null
2022-12-08T02:59:04
2018-08-30T22:39:18
Python
UTF-8
Python
false
false
1,131
py
"""users table Revision ID: 45e73e1d8309 Revises: Create Date: 2018-09-18 12:01:15.130771 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '45e73e1d8309' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto genera...
[ "macalzhang@gmail.com" ]
macalzhang@gmail.com
ce4d80e03914f4245644cca58c8382e45737940a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2506/60668/280309.py
8f06c33b8bb93614f251459d21e5f94a059a400f
[]
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
396
py
def find_12_longest(list = []): re = [] for i in range(len(list)): j = i co = list[i] con = 1 while(j <= len(list)): if(list[j]>co): co = list[j] con+=1 j += 1 re.append(con) print(max(re)) if __name__=='__main__...
[ "1069583789@qq.com" ]
1069583789@qq.com
d14f03817c49777e94f1617af2ba6743424c2478
ae326c4e6a2b2d5b67fa8d175249ef90f6a3021a
/leo/plugins/importers/otl.py
9921bc4aeaab3c51e8ae28a0d40df3d03fbfb639
[ "MIT" ]
permissive
frakel/leo-editor
f95e6c77d60485d80fddfbeaf35db961cf691177
b574118ee3b7ffe8344fa0d00dac603096117ac7
refs/heads/master
2020-03-28T10:40:24.621077
2018-10-23T14:39:31
2018-10-23T14:39:31
148,132,817
0
0
MIT
2018-09-10T09:40:18
2018-09-10T09:40:18
null
UTF-8
Python
false
false
3,081
py
#@+leo-ver=5-thin #@+node:ekr.20140723122936.18150: * @file importers/otl.py '''The @auto importer for vim-outline files.''' import re import leo.core.leoGlobals as g import leo.plugins.importers.linescanner as linescanner Importer = linescanner.Importer #@+others #@+node:ekr.20161124034614.2: ** class Otl_Importer cla...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
2f57e822c3e490d5bfe9edca29275a0dceb33ac2
08266ebad845c8a51a95ac193e15f2479fb81f40
/smashlib/overrides.py
c99577d2a788b420493d5a0dd803882a9230386d
[ "MIT" ]
permissive
tjtunnell/smash
0e06ee3611dbb3b5c8d212a37fb5ae775bac0751
aea23c7507948c7ef8baa782defdb4dac86eca4a
refs/heads/master
2016-10-25T14:05:04.169910
2016-06-16T20:16:43
2016-06-16T20:16:43
61,322,935
0
0
null
2016-06-16T20:15:13
2016-06-16T20:15:12
null
UTF-8
Python
false
false
10,598
py
""" smashlib.overrides Things that are not only subclassed from ipython, but intended to be used instead of their ipython equivalents. Similar to smashlib.patches, but things in this file are core IPython abstractions. So far a lot of this is here mostly because smash wants a separate message bus...
[ "matthewvonrocketstein@gmail-dot-com" ]
matthewvonrocketstein@gmail-dot-com
ce0f094449f7839a9961db18847e127b63203a3b
3edaad67f993f7e798cf47ffca774cb0d31d4afd
/store_server/wsgi.py
37f3a4193096476d8a38c7c363ed64a3db5bb997
[]
no_license
AnyiYim/book_store
2150bb5f9edad05102a6ea8f3efccf3bbcd5e1d2
43f3da8770dcbe65b0d6c249d328daeb6f6b5239
refs/heads/master
2020-04-10T22:20:15.689190
2018-12-12T08:25:08
2018-12-12T08:25:08
161,321,275
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for store_server project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "759502117@qq.com" ]
759502117@qq.com
11b8d41fec616cc67b91713940f64d5a879b29f7
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_006_20180621095510.py
05cab38ebdd0db44f1cf1174db8ec3a7208062db
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
4,836
py
from random import randint sudoku1 = [ [5, 9, 8, 6, 1, 2, 3, 4, 7], [2, 1, 7, 9, 3, 4, 8, 6, 5], [6, 4, 3, 5, 8, 7, 1, 2, 9], [1, 6, 5, 4, 9, 8, 2, 7, 3], [3, 2, 9, 7, 6, 5, 4, 1, 8], [7, 8, 4, 3, 2, 1, 5, 9, 6], [8, 3, 1, 2, 7, 6, 9, 5, 4], [4, 7, 2, 8, 5, 9, 6, 3, 1], [9, 5, 6, 1,...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
20fd33920d2f04fa9ff9291c2a1a4cec9afa66e0
b7add0d1b1effc50b27d3316fa5889a5227e5b19
/Robots/roboquasar0.1/tests/video_test.py
d5c6f649c8e6c0ec3106fabdaff3cdec653dfe20
[]
no_license
Woz4tetra/Atlas
efb83a7c7b2698bf8b36b023f7aa573cc38284f6
c7380868a9efef9d1594ed7aa87187f03a7e4612
refs/heads/master
2020-04-04T06:25:50.657631
2017-04-05T01:53:15
2017-04-05T01:53:15
50,269,756
3
1
null
null
null
null
UTF-8
Python
false
false
4,056
py
from atlasbuggy.interface import RobotSimulator from atlasbuggy.interface import RobotRunner from atlasbuggy.robot import Robot from atlasbuggy.vision.camera import Camera import time import cv2 from multiprocessing import Process, Queue, Lock, Event class Pipeline(Process): def __init__(self): self.fram...
[ "woz4tetra@gmail.com" ]
woz4tetra@gmail.com
59274581f706141dcf76b6c0ad16c88a286f6c4a
64832dd1e64cfc6de83c5abf099461eda50f648c
/school/models.py
9c0012ca777243bedcb7b07afbec1e52a7e3a42a
[]
no_license
showzvan/mysite
d7e79e16eb8c2d3598d00d1a96fa0b1940765913
32826c83915a2f95440c04ed20a7800d2c343ac1
refs/heads/master
2020-04-27T17:05:19.143296
2019-03-08T09:09:45
2019-03-08T09:09:45
174,504,656
0
0
null
null
null
null
UTF-8
Python
false
false
3,989
py
from django.db import models from user.models import Areas, Provinces, Citys # 院校类型表 class SchoolType(models.Model): type_name = models.CharField("类型名称", max_length=255) notes = models.TextField("分类说明", null=True) is_status = models.BooleanField("状态", default=True) # true 可用 false 不可用 class Meta: ...
[ "1183005957@qq.com" ]
1183005957@qq.com
29a390a573c00034b79060277efec0083dac3d4b
4a6c81f79121a46071ac2861f7d34a09fe25d5c3
/baekjoon/1018_bruteForce.py
8ec2533ada9afe7a00a68e671a29f415712f99f2
[]
no_license
ghleokim/codeTestProblems
3faa6913b7ea1822f6fd08edba559e562499d188
8d329c401979cfd8d9be0480ccc5b0a22aaf7fcf
refs/heads/master
2020-06-17T17:27:32.441855
2019-09-07T16:22:17
2019-09-07T16:22:17
195,992,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
# https://www.acmicpc.net/problem/1018 """ 8*8 타일이 정해진 이후 B first or W first? B first일 때 타일 W first일 때 타일 둘 중 최소값 저장 """ # a = 'abc' # b = 'abb' # c = sum(map(lambda x: int(*map(lambda y, z: 1 if y == z else 0, *x)), zip(a,b))) refs = ('BWBWBWBW', 'WBWBWBWB') def compare(tar, row): compA = sum(map(lambda x: in...
[ "gh.leokim@gmail.com" ]
gh.leokim@gmail.com
8cd5555a8cd5e94ba5e900118102a1b6074b01c3
167face5e34f69ba36b8a8d93306387dcaa50d24
/23funcoes_cast.py
e9044e64e2e7b6fe1532c4d2a85bc7a0008330af
[]
no_license
william-cirico/python-study
4fbe20936c46af6115f0d88ad861c71e6273db71
5923268fea4c78707fe82f1f609535a69859d0df
refs/heads/main
2023-04-19T03:49:23.237829
2021-05-03T01:24:56
2021-05-03T01:24:56
309,492,617
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
import re def is_float(val): if isinstance(val, float): return True if re.search(r'^\-{,1}[0-9]+\.{1}[0-9]+$', val): return True return False def is_int(val): if isinstance(val, int): return True if re.search(r'^\-{,1}[0-9]+$', val): return True return False...
[ "contato.williamc@gmail.com" ]
contato.williamc@gmail.com
f78d1b8c57a2e9547fea4a3d195c89890d1bb9fa
f5d39762fabef6c50d98584d051070e04ef7cb46
/Hyperskill/Python/Easy/Hangman/Problems/Chaos/main.py
f5c197983524f0829d74d4b8979421f3ce4ab903
[]
no_license
DanielJBurbridge/Jetbrains-Academy
e2c29cb9e3cca5361d24851493b5989a9207d8dd
da67caee1223b62acc87522f183e382fec043909
refs/heads/main
2023-03-23T05:56:50.226606
2021-03-12T10:45:17
2021-03-12T10:45:17
280,210,460
1
0
null
null
null
null
UTF-8
Python
false
false
48
py
print(45/9 + 16 * (5 + 8)) print("mathematics")
[ "noreply@github.com" ]
DanielJBurbridge.noreply@github.com
26e1176c7c2ac4ffa6357771cf0eaf657df56097
aa8ad65d801cf9c292e318e41f106c1974fe96b9
/inflight-entertainment.py
25f0f5786faab7df4fb96eaf6fafbbf29aaf0ed4
[]
no_license
gautamgitspace/interview-cake
fbc3f95d2af82a46d735f07e7d5746ec3d7412ce
0f3c533df091571661b7b95db514870b3b790aef
refs/heads/master
2021-01-20T07:53:47.161093
2017-06-09T23:53:38
2017-06-09T23:53:38
90,061,214
5
1
null
null
null
null
UTF-8
Python
false
false
846
py
#nested loop approach: outer - first_movie_length, inner - check for condition #flight_length-first_movie_length = second_movie_length for every item in outer loop. #this gives O(n^2) """ for item in m: fml = item for item2 in m: if (fl-fml==item2): return True """ #A better approach is to u...
[ "agautam2@buffalo.edu" ]
agautam2@buffalo.edu
6f15f68ff9faa5be730cce549e7624788d52927f
e8f99a162207cba82d4e0f969d7bcdb2b9d8b522
/nowcoder/2019test/internal_network_ip.py
65c87cc3a5715793a6b8bbb7fb1227344454ba7f
[]
no_license
TesterCC/Python3Scripts
edb5446278ebf13edb64336001081941ca27d67d
58be67e1ffc74ef50289a885aa4ad05f58e2c383
refs/heads/master
2023-08-30T21:16:38.328045
2023-08-17T11:23:08
2023-08-17T11:23:08
93,401,996
6
3
null
null
null
null
UTF-8
Python
false
false
1,692
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'MFC' __time__ = '2019-09-30 01:57' """ 2019 bilibili https://www.nowcoder.com/practice/80ce674313ff43af9d7ac7a41ae21527?tpId=98&tqId=33025&tPage=11&rp=11&ru=/ta/2019test&qru=/ta/2019test/question-ranking 时间限制:1秒 空间限制:32768K 题目描述 从业 666 年的 BILIBILI 网络安全工程师 Ki...
[ "testerlyx@foxmail.com" ]
testerlyx@foxmail.com
667ad84dd8023e2e0b9f6efb93424a1527f4165d
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v11/enums/types/feed_origin.py
7b7ab37117859b624d16463ece35dabae7420511
[ "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
1,121
py
# -*- coding: utf-8 -*- # Copyright 2022 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
54107b6985d401fa0d316f5ea9cbd1ea3c652877
df1254b56f35b24644e00493c50d4b6eb3c15b7b
/colour/examples/models/examples_rgb.py
9cb77791edfb081c02f842df37b99e12120c0531
[ "BSD-3-Clause" ]
permissive
colour-science/colour
908400b227cf81668675e41099256ce50b23ae4b
1fdf3b3042922e8d4f86b989b00a06e7e5d81102
refs/heads/develop
2023-09-01T23:17:07.186869
2023-08-26T09:40:45
2023-08-26T09:40:45
17,114,363
1,756
301
BSD-3-Clause
2023-09-14T10:24:37
2014-02-23T18:55:40
Python
UTF-8
Python
false
false
2,371
py
"""Showcases *RGB* *colourspaces* computations.""" import numpy as np from pprint import pprint import colour from colour.utilities import message_box message_box('"RGB" Colourspaces Computations') message_box('"RGB" colourspaces dataset.') pprint(sorted(colour.RGB_COLOURSPACES.keys())) print("\n") message_box('"...
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
838ad524a7ec16b8d6a02bc3bd7163119b6ec67d
d52413173437ba73ecdf822ca895e659f00a8ce7
/kiwibackend/application/submodule/fanyoy/reset_template.py
0c8e2e20620eb8a9ce28057d1fa7136f012b03b0
[]
no_license
whiteprism/mywork
2329b3459c967c079d6185c5acabd6df80cab8ea
a8e568e89744ca7acbc59e4744aff2a0756d7252
refs/heads/master
2021-01-21T11:15:49.090408
2017-03-31T03:28:13
2017-03-31T03:28:13
83,540,646
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# /usr/bin/env python # -*- coding: utf-8 -* from django.core.cache import get_cache def decorate_active_player(view_func): @wraps(view_func) def decorate(request, *args, **kwds): player = request.player if player and player.is_end_tutorial(): _add_active_player(player) re...
[ "snoster@163.com" ]
snoster@163.com
86f0947a9ea548fee059c7e04aef7f9aa0889a43
b46f5825b809c0166622149fc5561c23750b379c
/AppImageBuilder/app_dir/runtimes/classic/helpers/factory.py
9d6ba258dac58c56ed53f44df74516b7789429da
[ "MIT" ]
permissive
gouchi/appimage-builder
22b85cb682f1b126515a6debd34874bd152a4211
40e9851c573179e066af116fb906e9cad8099b59
refs/heads/master
2022-09-28T09:46:11.783837
2020-06-07T19:44:48
2020-06-07T19:44:48
267,360,199
0
0
MIT
2020-05-27T15:42:25
2020-05-27T15:42:24
null
UTF-8
Python
false
false
1,768
py
# Copyright 2020 Alexis Lopez Zubieta # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publi...
[ "contact@azubieta.net" ]
contact@azubieta.net
346f11569af34e57c2985048448a6df2c9cf2053
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/python/kernel_tests/matrix_exponential_op_test.py
19091a7b070247232290715794580bd2fc461ee0
[ "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
9,441
py
# Copyright 2017 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
edec94f06021805f99c337437bd84728ff5f22fe
8853462a79608b7e5b7af94dbfa6c0a63c1f6b6a
/CustomEnvs/Gym envs/2. Crawler/Quadruped_54/Quadruped_54/envs/Quadruped_54.py
3e119be601c9806a60345098a9fbe20c4f692a7b
[]
no_license
Ashish017/CASNET
eaae2552f8d56413f756c7d3839cd6f548a6e1ef
73ec542c4c3fa1f97686796f0c385c71cad3e8d5
refs/heads/master
2023-02-06T06:53:27.362356
2020-12-27T04:43:34
2020-12-27T04:43:34
270,657,078
0
0
null
null
null
null
UTF-8
Python
false
false
5,433
py
import numpy as np from gym import utils from gym.envs.mujoco import mujoco_env import time class model_data: def __init__(self): self.num_legs = 4 self.leg_lengths = [[0.2828, 0.1697, 0.5656],[0.2828, 0.2828, 0.5656],[0.2828, 0.2828, 0.5656],[0.2828,0.2828, 0.6221]] self.leg_starts = [[0.2, 0.2],[0.2, -0.2],[...
[ "ashishmalik7017@gmail.com" ]
ashishmalik7017@gmail.com
a1fc2862dd9837a78a4d8d46bbf085b30291de55
b835a371d6e96e3bf01e157825367fa8cb977101
/website/userprofile/apps.py
70d5a409abeb2888060e2f4758c296436885962c
[ "MIT" ]
permissive
SebastiaanZ/minigigscyclingteam
c832858c5164c66782a082301bf46df15ded7fc4
6c8c4f7ae41a5b01a551c592dc81fd37fd4f686e
refs/heads/master
2022-11-29T18:22:58.005902
2020-01-28T22:15:42
2020-01-28T22:15:42
196,997,653
0
0
MIT
2022-11-22T05:16:55
2019-07-15T12:49:03
HTML
UTF-8
Python
false
false
616
py
import logging from django.apps import AppConfig from django.contrib.auth import get_user_model from django.db.models.signals import post_save log = logging.getLogger(__name__) class UserprofileConfig(AppConfig): """App configuration for the extended user profile.""" name = 'website.userprofile' def r...
[ "33516116+SebastiaanZ@users.noreply.github.com" ]
33516116+SebastiaanZ@users.noreply.github.com
d8d99df99bca6478674badf0816e5d6693c73d13
94838674ffd175df6194437c1ccc3f90ab409d6c
/pillowV3/log/2018-12-30 14:56:17.161287
fa70ed1172c1f299ee4907ddba242cb4c2972552
[]
no_license
WojciechKoz/MyFirstNeuralNetwork
4fdb3140d8f02257599d005638598f78055c1ac8
3cd032aba80ecd71edb0286724ae9ba565b75a81
refs/heads/master
2020-04-02T03:02:48.680433
2020-02-29T17:57:43
2020-02-29T17:57:43
153,943,121
0
0
null
null
null
null
UTF-8
Python
false
false
400,307
161287
#!/usr/bin/env python3 # -*- coding: utf8 -*- from __future__ import print_function # new print() on python2 from datetime import datetime import sys import numpy as np from mnist import MNIST # Display full arrays np.set_printoptions(threshold=np.inf) mndata = MNIST('./data') images_full, labels_full = mndata.loa...
[ "246992@student.pwr.edu.pl" ]
246992@student.pwr.edu.pl
9ae1e0fe144eb142631419a238ee090ea1448322
defec7e7c44c4bde470cd9de102a83f176311e90
/ProjectEuler040.py
5a090b9875e878e4e581c2358d550ecc69bb2993
[]
no_license
edimaudo/Project-Euler
5ebd27ed91f5fcf4697a00d0deaa239f2b8309b9
06f74b46fc421510d9ea9ef86784679b914eb779
refs/heads/master
2020-04-10T14:57:41.692212
2016-11-06T20:55:04
2016-11-06T20:55:04
41,200,209
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# Project Euler 40 beginvalue = "" for value in range(1,1000001): beginvalue += str(value) tenlist = [1,10,100,1000,10000,100000,1000000] templist = [] for value in range(len(beginvalue)): if int(value) in tenlist: templist.append(beginvalue[int(value - 1)]) #print (templist) multval =...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
6d0a7d8c0ab32af15ba6dc222b31a043a5970055
ce6ace34704e74c2a53e9b38b2630876d9cd52e2
/mdias_addons/metro_park_maintenance/models/export_produce_plan_wizard.py
73bbf97f7f5bd04a847592c2975e317e4c8985b6
[]
no_license
rezaghanimi/main_mdias
e3cfd8033204d8e7e484041f506892621a3e3479
13b428a5c4ade6278e3e5e996ef10d9fb0fea4b9
refs/heads/master
2022-09-17T20:15:42.305452
2020-05-29T05:38:35
2020-05-29T05:38:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
# -*- coding: utf-8 -*- from odoo import models, fields, api import pendulum class ExportProducePlanWizard(models.TransientModel): ''' 导出生产计划 ''' _name = 'metro_park_maintenance.export_produce_plan_wizard' end_month = fields.Many2one(string='结束月份', comodel_na...
[ "619851623@qq.com" ]
619851623@qq.com
29a4c87a5d495cf30a51cc3fd20fcaba4adc14ae
feef80ed0a0182e6ff74b60dc3a743d9c19c439e
/tensorflow_datasets/scripts/create_checksum_file.py
dcef257a4a7e7d8dd179d27ce11f5e5572fcba41
[ "Apache-2.0" ]
permissive
brettkoonce/datasets
7bd6f73ee77b5185db398290172250d499f76bf2
55bb2a80ab674c2f6254ac74d90bd6e5f478e895
refs/heads/master
2020-04-10T07:55:01.226854
2018-12-08T00:09:42
2018-12-08T00:10:04
160,892,533
0
0
null
null
null
null
UTF-8
Python
false
false
5,300
py
# coding=utf-8 # Copyright 2018 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
611309507d45b4622968a0088a144df244863380
f77b0f2cc709b9670e6b4dc7145a6ea5368585d2
/project/handlers/ajax/__init__.py
1e7699ae21b1884559d32695109ecdcf81442bf6
[]
no_license
sgammon/StonerHub
45ccac6bd349200bbc75c494002c3ffeb082dcb8
a81f7fdd2c7118c6cea3c25ef9f53f272d27b0cc
refs/heads/master
2021-01-20T10:54:47.546251
2011-11-07T12:02:20
2011-11-07T12:02:20
2,664,437
0
0
null
null
null
null
UTF-8
Python
false
false
2,336
py
import config import logging from google.appengine.api import quota from project.handlers import WebHandler try: import json except ImportError: try: import simplejson as json except ImportError: try: from django.utils import simplejson as json except ImportError: logging.critical('No valid JSON adapte...
[ "sgammon@bluestatedigital.com" ]
sgammon@bluestatedigital.com
a1b98c507f1b74e406d7754fa7373a7ca7f4e62c
b5c230cc699dec2494f82555db3c607d27f5c37d
/app/nyt_api.py
5ce2a4cecd5a247f66aac8b7e327317a6d28c170
[]
no_license
ande3674/avidreader
53f1a9cb07f0d0ea68844073791bbb7b7dc363bc
224ce08b1cd2562e4e89240f6873c94ec8a8501e
refs/heads/master
2020-04-08T18:02:57.351501
2018-12-20T18:14:49
2018-12-20T18:14:49
159,591,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
from config import Config import requests import app.api as google_api def get_nyt_bestsellers(): # FICTION !!! data = requests.get(Config.NYT_URL).json() results = data['results'] books = [] for i in range(8): book_info = {} current_book = results[i] book_info['title'] = curre...
[ "email@email.com" ]
email@email.com
c60a7da867aa0e9c2c1416dd43b9fef21fc0ab41
1e6aa6dcd483fe66aac09bec23cdb686409a5dac
/merakiq2.py
a3bc1aa453da75d6776be22edfe7245a3c47b51f
[]
no_license
subreena10/files
0e872a7132a6044ab0cb7ce92f7fb76cb00c6b9e
a97eedd9e7085e6b2ae8af01fd656b44169b0048
refs/heads/main
2023-08-14T23:51:27.833537
2021-10-01T17:06:33
2021-10-01T17:06:33
412,552,491
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
my_files=open("people1.exercise.txt","r") count=0 # count of number of lines in people.exercise.txt for name in my_files: count=count+1 print(count) my_files.close() # print(my_files.read()) #to read a file ...
[ "noreply@github.com" ]
subreena10.noreply@github.com
15aa93890cc5835ae46c4f71496c787ab5fb7f36
4b26ad54cd7c2c5bd192246df2bb759f16e1e758
/tests/common/test_run/conv_run.py
ce47a34938b2b93d24fb2d55c626bac68e79b6b9
[ "Zlib", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "Unlicense", "BSD-2-Clause" ]
permissive
czlsccz/akg
1f61e1dd631e291ec7dc8753a382fc4fba19d00a
20697026a83d49af713c6a9bd21b50e1eb3bddbf
refs/heads/master
2023-06-21T04:29:00.741453
2021-07-23T01:35:45
2021-07-23T01:35:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,119
py
# Copyright 2019 Huawei Technologies Co., Ltd # # 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 a...
[ "1027252281@qq.com" ]
1027252281@qq.com
901c175641a9bff6b41da9341a5e03bb5421d8ac
476cc933d384a3586dd80b186b37161d62494235
/pyramid_fullauth/events.py
47cbe3689533dde1bd80c261c1ea3612c98f57fd
[ "MIT" ]
permissive
pronebel/pyramid_fullauth
4a28022acc77bf06f9cc3b7458de63c71645298d
7280660bda44879d8fe2ca340868d73e5ea2d6ce
refs/heads/master
2021-05-13T22:39:15.048808
2018-01-05T12:11:21
2018-01-05T12:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,132
py
# Copyright (c) 2013 - 2016 by pyramid_fullauth authors and contributors <see AUTHORS file> # # This module is part of pyramid_fullauth and is released under # the MIT License (MIT): http://opensource.org/licenses/MIT """pyramid_fullauth emits these events during whole cycle.""" class _BaseRegisterEvent(object): ...
[ "fizyk@fizyk.net.pl" ]
fizyk@fizyk.net.pl
13eb91841cc9ea67908bd23dae98c76394f14d93
90a63ba41e6f462ea0c869bc415ae3d8d4f8342a
/classroom/models.py
9085146a1e5bc0d9b78522d8a72e484a6a5168ad
[]
no_license
buypolarbear/childcare-app-1
d8ee0f5ce5cfa94f89b2e8a04eb78b6bc4a892dc
8acecb2611de5b9b8957a239efa5eb5c787f6a06
refs/heads/master
2020-05-06T15:39:15.864117
2013-11-11T14:35:37
2013-11-11T14:35:37
180,201,165
0
0
null
2019-04-08T17:39:12
2019-04-08T17:38:55
Python
UTF-8
Python
false
false
2,010
py
from django.contrib.auth.models import User from django.db import models from child.imagegenerators import GalleryThumbnail from child.models import Child from childcare.models import Childcare class Classroom(models.Model): name = models.CharField(max_length=100) description = models.CharField(max_length=255...
[ "matej.ramuta@gmail.com" ]
matej.ramuta@gmail.com
fc9e58a4cee12bf97f508979c3cec3a4ee283489
d9e8b7d5c468b38cdf18cece9dff12ad1188a71b
/Model_Forms/Emp_registration/Employee_registration/manage.py
6f9e96a4ea4484312e7af9e0068504613e0c6118
[]
no_license
Ruchika-Munde/Django_Task
f14e0497a4f8045a68dbe58bbd772abf606369d3
7fa549842a544527b9f78cbfcf52c26dde31463c
refs/heads/master
2022-12-16T17:53:12.577323
2020-09-09T07:34:43
2020-09-09T07:34:43
294,036,604
0
0
null
null
null
null
UTF-8
Python
false
false
641
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', 'Employee_registration.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "ruchamunde@gmail.com" ]
ruchamunde@gmail.com
fbddcb5659c0c9194a9534e43292ed4ffe3b7bd3
c79416e3f2bc1af3a5c3436282e5c6c95067f473
/itp1/6_b.py
ade1b7199b6af2d6f9cc3d86e63afc2686fdb73f
[]
no_license
mollinaca/AOJ
c14149c265c3a6cc572617d381609ed624c68df3
3389c4060faa18934a02246a0c9e5e234a637514
refs/heads/master
2021-05-17T21:20:27.935501
2020-04-29T13:52:18
2020-04-29T13:52:18
250,957,993
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- n = int(input()) d = {} for i in range(n): d[i]=list(map(str,input().split())) for mark in ['S','H','C','D']: for i in range(1,14): if not [mark,str(i)] in d.values(): pass print (mark,i)
[ "github@mail.watarinohibi.tokyo" ]
github@mail.watarinohibi.tokyo
b5ce0502060706646b712352b62678340dd7fe48
57ccfa900d82794b18f69c42eb174ff816f6a900
/1 - Júnior/Collections/sets/set_comprehensions.py
12307161cdce96c909dc586eb8c92b66e508c20d
[]
no_license
ayrtoncarlos/Formacao-Python-TreinaWeb
b1b8e2e6729ec4a45693c436aa5ee2edb89cd7a7
32f3e3eb70fe03754c8428846bcf447bb986825b
refs/heads/main
2023-04-04T13:24:55.119595
2021-04-08T04:10:12
2021-04-08T04:10:12
355,758,454
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
# Criando um set comprehensions set_comprehensions = {i*i for i in range(10)} print(type(set_comprehensions)) print(set_comprehensions) set_1 = {1, 2, 3} set_2 = {4, 5, 6} outro_set_comprehensions = {i for i in set_1.union(set_2)} print(type(outro_set_comprehensions)) print(outro_set_comprehensions)
[ "bitao.metal@gmail.com" ]
bitao.metal@gmail.com
aee5f137c27330cda1e66924e85cebf0986034f1
bc31e2039bead10adccbd4ff0e869ff417ffa8c4
/external_dns/tests/common.py
a19296b56a3df6fb8fb02ab1ee0930cdabaa1028
[]
permissive
koreissm/integrations-core
0a70c0bb26cc534699c3f776678cef0590fc9887
4ab56de323dccf977c5f3e7e70b37069365912ad
refs/heads/master
2020-11-24T23:37:03.463919
2019-12-13T17:40:57
2019-12-13T17:40:57
228,390,125
1
0
BSD-3-Clause
2019-12-16T13:10:24
2019-12-16T13:10:23
null
UTF-8
Python
false
false
250
py
# (C) Datadog, Inc. 2019 # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import os from datadog_checks.dev import get_here HERE = get_here() FIXTURE_DIR = os.path.join(HERE, 'fixtures') CHECK_NAME = 'external_dns'
[ "ofekmeister@gmail.com" ]
ofekmeister@gmail.com
3349a87a3c7b1d9abb8cb70bb22bb03a02aae1fe
7849b6c610d8b0e423560f817ec3526c08c5a72c
/pipeline/run_copy_stripped.py
0ac70ed522805e87c4dc1fba8f43f45ee24bb82a
[ "BSD-2-Clause" ]
permissive
shuo-zhou/openfmri
6e5fb47ac66c19df29c4db98df587107c986a262
6514f26510fa889fa6679babbbc92b29f8dd6b0a
refs/heads/master
2022-10-19T22:27:57.258636
2017-06-22T20:48:46
2017-06-22T20:48:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,823
py
#!/usr/bin/env python """ run_copy_stripped.py - copy skull-stripped images from freesurfer dirs """ ## Copyright 2011, Russell Poldrack. All rights reserved. ## Redistribution and use in source and binary forms, with or without modification, are ## permitted provided that the following conditions are met: ## 1. ...
[ "poldrack@gmail.com" ]
poldrack@gmail.com
3d0514621d7d21aecbaad5567828f757b3050c7e
b7e924cff3940a94014f7ef83f830f31c61b1ce1
/Assignments/Data Types and Variables/Exercise/10. Gladiator Expenses.py
bba19e3016d62c9f98abeae636dcb4500ff4f8ff
[ "MIT" ]
permissive
KaloyankerR/python-fundamentals-repository
a1406ca021819ca32390700380646f1107bf078e
b8e69523ea7e6aa352e8398f0202e283374a0f7c
refs/heads/master
2023-04-10T05:22:43.907759
2021-04-20T20:45:54
2021-04-20T20:45:54
289,025,722
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
lost_fights_count = int(input()) helmet_price = float(input()) sword_price = float(input()) shield_price = float(input()) armor_price = float(input()) helmets_trashed = 0 swords_trashed = 0 shields_trashed = 0 armors_trashed = 0 for fight in range(1, lost_fights_count + 1): if fight % 2 == 0: helmets_trash...
[ "kaloyankulov2003kk@gmail.com" ]
kaloyankulov2003kk@gmail.com
903c47ea2af331897d25c06feef451857180cf8f
18dba2f82e17873e5e8161e74bc714ef88b09b36
/realestate/devrep/migrations/0024_auto__chg_field_partner_note.py
ed1aaeb01c94b5280314b32aee557cdf13b875eb
[]
no_license
sanchellius/estate-agent
8013573624b62ea3b6362fa0c22edf8371ca6966
53c15c2f2c970bd432ae579b5aa6f76ab2fbac49
refs/heads/master
2021-01-17T21:15:35.988578
2016-07-25T21:51:24
2016-07-25T21:51:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,463
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Partner.note' db.alter_column('devrep_partner', 'note'...
[ "picasso75@yandex.ru" ]
picasso75@yandex.ru
a5cda1f17a107696d4d83cd64a8d802ebe46b3dc
45093e6470e866dede760bfb7a082bcbdb540adf
/venv/lib/python3.8/site-packages/urllib3/response.py
02db0b14c4836f0acc9ab5f7518ed488b3fc97e7
[]
no_license
rwinfield/first-bot
0dee7441d80abdd0d93c58b73518e373a8d0af18
ff6b2628767d8a7e8ebc6115dbf3658429764490
refs/heads/master
2023-08-17T01:58:41.332059
2023-08-04T19:25:52
2023-08-04T19:25:52
151,766,923
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/50/f8/0b/9a71e3e33ef56671fc8af60eca77004e27d33b0f4542e914a839dc9027
[ "43892564+rwinfield@users.noreply.github.com" ]
43892564+rwinfield@users.noreply.github.com
ac571b5be106417bf78308ae66630111171b967a
63b79eb44cf682ece74be1fc866f7651837db448
/test/test_game_play_coordinates.py
c482bc9cac2940b0ad284f9d969ff2faa9d1ff13
[]
no_license
bclark86/powerplay-py
c8cc4df8acd9ada91299706b7a7113ab9c963645
584d754629936a93d95157356ff806a5c68438dc
refs/heads/main
2023-07-19T04:23:16.510338
2021-09-02T13:17:12
2021-09-02T13:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
# coding: utf-8 """ NHL API Documenting the publicly accessible portions of the NHL API. # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import powerplay from powerplay.models...
[ "saiem.gilani@gmail.com" ]
saiem.gilani@gmail.com
64bbc4b3a0a65ec19bda0ca7856ad6ce2c7ad637
88c1f9ccb62e91d6b0574bcde1043921bdeb0126
/test_utilities/src/d1_test/mock_api/get_system_metadata.py
6418ea795f12a47d1fc3fe6f94c299215b30e1fb
[ "Apache-2.0" ]
permissive
jevans97utk/d1_python
83b8de8780287c655779844f367b9189413da074
3ac4d4f3ca052d3e8641a6a329cab526c8ddcb0d
refs/heads/master
2020-05-21T01:16:50.677816
2019-04-22T16:09:44
2019-04-22T16:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,803
py
#!/usr/bin/env python # This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (t...
[ "git@dahlsys.com" ]
git@dahlsys.com
5e62e5fca95e72c565b182146721fc4664fbc24e
65df22b4a43adff0db0ba4cd80d875317c7a2f85
/backend/le20_dev_6236/settings.py
caf138510a9bebc4dd104be49b365755a9c597ec
[]
no_license
crowdbotics-apps/le20-dev-6236
b4cdc066fcd4751acd5068d54b46e14c939c0259
792f7bfa8cc92782c89023bbd1bf7691f8ee77b9
refs/heads/master
2022-11-12T21:03:47.778993
2020-06-25T10:01:54
2020-06-25T10:01:54
273,238,723
0
0
null
2020-06-25T10:01:56
2020-06-18T12:57:59
JavaScript
UTF-8
Python
false
false
5,723
py
""" Django settings for le20_dev_6236 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
fde5e4450e2ac92a400a65b989d74f1f88271ff8
e3a4adddc08f0006c679386ec74163d8c24ec5dd
/bipedal/bipedal.py
5a0da03a160f15cbb4b05db94b49cf3f9b0b18af
[ "MIT" ]
permissive
anetczuk/pybraingym
1acb8108ec16ac8fdb2545689addfe589bc30ae0
4f930021d7802e88c75a1a0aed135dd4de66cc1b
refs/heads/master
2020-06-23T04:11:51.252106
2019-08-12T23:17:11
2019-08-12T23:17:11
198,507,565
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#!/usr/bin/env python3 import gym env = gym.make('BipedalWalker-v2') for i_episode in range(100): observation = env.reset() for t in range(10000): env.render() print(observation) action = env.action_space.sample() observation, reward, done, info = env.step(action) if d...
[ "anetczuk@o2.pl" ]
anetczuk@o2.pl
73d61e85cc20a0f7345e4c42d7e577ee78cbcc65
dce89ac52c2b64ae8e3310156c540583c3b617a8
/hw18/RunDecisionTreeRegression.py
c21e5dace251f5f22c420cb19ff26322888628a2
[]
no_license
Xi-Plus/NKUST-Parallel-Processing
b07c6f307e7619bd22969db9af505ef4589bc8d5
450881a20c17fef4ca7b01399055f5d7c5cd52b9
refs/heads/master
2022-11-08T21:12:26.767939
2020-06-28T14:26:30
2020-06-28T14:26:30
259,319,784
0
0
null
null
null
null
UTF-8
Python
false
false
9,060
py
# -*- coding: UTF-8 -*- import findspark findspark.init() import sys from time import time import pandas as pd import matplotlib.pyplot as plt from pyspark import SparkConf, SparkContext from pyspark.mllib.tree import DecisionTree from pyspark.mllib.regression import LabeledPoint import numpy as np from pyspark.mllib....
[ "huangxuanyuxiplus@gmail.com" ]
huangxuanyuxiplus@gmail.com
4ca5a17410e4aa40109deb8f261fe69e84e5f22e
0021a45bf27dde70cfa54bf1df9d51f27b6be076
/python/huffman-compress.py
d1a1a77bf9c919459640c14ff996763d250d7f1f
[ "MIT" ]
permissive
GraphicYan/Reference-Huffman-coding
e74a4e65edb413afa59ff5e44ba47a2d2bdbe546
bc286358d24b81cd06287b3b062da54388e2ee67
refs/heads/master
2023-02-12T19:44:08.501375
2020-04-14T03:19:24
2020-04-14T03:19:24
350,271,132
1
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
# # Compression application using static Huffman coding # # Usage: python huffman-compress.py InputFile OutputFile # Then use the corresponding huffman-decompress.py application to recreate the original input file. # Note that the application uses an alphabet of 257 symbols - 256 symbols for the byte values # and 1 s...
[ "me@nayuki.io" ]
me@nayuki.io
fd9ed163d4c9c80a30e6f861cbd14e49ab3cf4ad
f54070cd3048a3645cb25f301592a904d387a1c9
/python_prgrams/testpython/range.py
bbf0f3ea21df573de2ae047ecff3657b38dcb360
[]
no_license
mak705/Python_interview
02bded60417f1e6e2d81e1f6cde6961d95da2a8e
aff2d6018fd539dbcde9e3a6b3f8a69167ffca0d
refs/heads/master
2020-03-22T21:03:34.018919
2019-11-15T08:51:34
2019-11-15T08:51:34
140,653,056
0
0
null
null
null
null
UTF-8
Python
false
false
30
py
num=list(range(10)) print num
[ "mak705@gmail.com" ]
mak705@gmail.com
0d023197183142a0da5adb4fbb0229f4429a8fe4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/48/usersdata/122/16246/submittedfiles/estatistica.py
660f88790c989a5091f5670efe17839c069c155c
[]
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
853
py
# -*- coding: utf-8 -*- from __future__ import division def media(lista): soma = 0 for i in range(0,len(lista),1): soma = soma + lista[i] resultado = soma/len(lista) return resultado #Baseado na função acima, escreva a função para calcular o desvio padrão de uma lista def des(lista): a=0 ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0ff8ef926e518fe014f3efb91f0978235d331d59
71894f980d1209017837d7d02bc38ffb5dbcb22f
/multi/devicePresenseAlert/homeassistant/helpers/location.py
eb7b469a19664e6b201c7c9af0a84d43f17c0f73
[ "MIT" ]
permissive
masomel/py-iot-apps
0f2418f8d9327a068e5db2cdaac487c321476f97
6c22ff2f574a37ba40a02625d6ed68d7bc7058a9
refs/heads/master
2021-03-22T04:47:59.930338
2019-05-16T06:48:32
2019-05-16T06:48:32
112,631,988
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
"""Location helpers for Home Assistant.""" from .typing import Sequence from homeassistant.const import ATTR_LATITUDE, ATTR_LONGITUDE from homeassistant.core import State from homeassistant.util import location as loc_util def has_location(state: State) -> bool: """Test if state contains a valid location. ...
[ "msmelara@gmail.com" ]
msmelara@gmail.com
5386f46ab977c23908fb45a28b1bce3084a6c75d
167face5e34f69ba36b8a8d93306387dcaa50d24
/sorted.py
124b09ab9a5a2973c794325b4581657815c54410
[]
no_license
william-cirico/python-study
4fbe20936c46af6115f0d88ad861c71e6273db71
5923268fea4c78707fe82f1f609535a69859d0df
refs/heads/main
2023-04-19T03:49:23.237829
2021-05-03T01:24:56
2021-05-03T01:24:56
309,492,617
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
""" Sorted sorted() serve para ordenar. """ lista = [4, 7, 8, 1, 4, 2] lista.sort() print(lista) numeros = [6, 1, 8, 2] print(sorted(numeros)) # Sempre retorna uma lista print(numeros) # Não modifica o iterável diferente do sort() # Adicionando parâmetros print(sorted(numeros, reverse=True)) # Podemos utilizar o s...
[ "contato.williamc@gmail.com" ]
contato.williamc@gmail.com
a89afd1288717c32ee23e15ec54d8047335423b4
8ff6c3e513e17be6c51b484bed81d03150bdd175
/2013-04-analytic/part1/ex471a.py
24bddb89fc53b92d0344be1df0f62932c9d0bc86
[]
no_license
ricbit/Oldies
f1a2ac520b64e43d11c250cc372d526e9febeedd
2d884c61ac777605f7260cd4d36a13ed5a2c6a58
refs/heads/master
2023-04-27T20:35:19.485763
2023-04-26T04:45:44
2023-04-26T04:45:44
2,050,140
40
8
null
null
null
null
UTF-8
Python
false
false
174
py
import math def s(n): k0 = n**(2/3.) ans = 0 for k in xrange(0,int(k0)): ans += k/float(n)*math.exp(-k*k/2.0/n) return ans for i in xrange(6): print s(10**i)
[ "bluepenguin@gmail.com" ]
bluepenguin@gmail.com
d9f4e1dbccdff6ef654c8b6565d4707c7371f01e
b86eadecf9291fd0daf98f5742103e35e3689302
/examples/noisychannel/rerank.py
13036926e0d99518dabd36fa91e8b8f7de4b1140
[ "MIT" ]
permissive
fe1ixxu/fairseq-for-en-ar
1aaf47137b21caf17dac347c894c8a4f698a4d0b
9477ffa2ac3a4fda99c596a4741f394e77aff9ab
refs/heads/master
2023-07-05T03:33:08.358307
2020-12-09T17:04:41
2020-12-09T17:04:41
313,188,203
0
1
MIT
2021-01-06T21:08:16
2020-11-16T04:09:47
Python
UTF-8
Python
false
false
14,069
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math from multiprocessing import Pool import numpy as np from fairseq import options from fairseq.data import dictionary from fairseq....
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
2daf908821f129104172103afa5f796ce87117f6
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/str_cmp-4.py
d5784ad9b7a06692f4f8615dcc4a2eadc7e42809
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
$TypedVar = "Hello" b:str = "World" c:str = "ChocoPy" def eq(a:str, b:str) -> bool: return a == b def neq(a:str, b:str) -> bool: return a != b print(eq(a,a)) print(eq(a,b)) print(neq(a,b)) print(neq(b,b)) print(eq(c,a)) print(neq(c,b))
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
7b92ab44783deefca94f9bbd15a2e1ab10d82f64
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/v20201101/private_dns_zone_group.py
78e2a5b2cd6fea5f4afb1338719284a7a073f414
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,488
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, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
e861e6f38778b3cb1012c01744ac21982d20005e
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/catapult/third_party/gsutil/gslib/tests/test_resumable_streaming.py
51df48bbcc78d88ac397d4f63362591402c5b98d
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
12,093
py
# -*- coding: utf-8 -*- # Copyright 2014 Google 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 License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
6d90a0ac27da6ecb3acd52f2b6882b65fcd0ebfe
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_whiles.py
bad0312c2f1f431ec0236df694d9d915d4795784
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#calss header class _WHILES(): def __init__(self,): self.name = "WHILES" self.definitions = while self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['while']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
38e1ac549e2c738598e7f8b8a5db19f186b0d74b
fb124e51024917d6479fa626d9607ff10f7a3aba
/storm-control/storm_control/hal4000/qtWidgets/qtRecordButton.py
8a9355923cc8f4b86fc922976debc0cd0dfdcb7d
[ "MIT" ]
permissive
BehnamAbaie/storm-control
054bd7bbd903ed9635e4d1121c30544f58473c4f
0c686321142eccad62ce3365eae22c3b69229b0d
refs/heads/main
2023-06-18T08:04:01.108874
2021-07-14T00:51:15
2021-07-14T00:51:15
342,049,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,391
py
#!/usr/bin/env python """ QPushButton specialized to be a record button. Hazen 4/17 """ from PyQt5 import QtWidgets import storm_control.hal4000.film.filmRequest as filmRequest import storm_control.hal4000.halLib.halMessage as halMessage class QtRecordButton(QtWidgets.QPushButton): def __init__...
[ "noreply@github.com" ]
BehnamAbaie.noreply@github.com
1e35a3a9015a41b2e9efe5869fe8c89e96675507
c5b9f0fabffb6b2d13c6e350c8187a922709ac60
/devel/.private/pal_interaction_msgs/lib/python2.7/dist-packages/pal_interaction_msgs/msg/_AudioPlayActionFeedback.py
a169c9fb26b06ceeec9384b82fc172628fb734df
[]
no_license
MohamedEhabHafez/Sorting_Aruco_Markers
cae079fdce4a14561f5e092051771d299b06e789
0f820921c9f42b39867565441ed6ea108663ef6c
refs/heads/master
2020-12-09T02:43:00.731223
2020-01-15T17:31:29
2020-01-15T17:31:29
233,154,293
0
0
null
2020-10-13T18:46:44
2020-01-11T00:41:38
Makefile
UTF-8
Python
false
false
12,092
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from pal_interaction_msgs/AudioPlayActionFeedback.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import pal_interaction_msgs.msg import genpy import actionlib_msgs.msg im...
[ "mohamed@radiirobotics.com" ]
mohamed@radiirobotics.com
8c95e3772bbb9784cb8138d5752fbd7bbd395038
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_017/ch16_2020_10_05_20_15_18_245128.py
d2bd590ba92f6842d0715be3eeff220f31237ae8
[]
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
122
py
x= float((input("Qual o valor da conta? ")) valor =(1-0.01)*x print("Valor da conta com 10%: R$ {0: .2f}".format(valor))
[ "you@example.com" ]
you@example.com
def1d4490f9cf636707e654d2f964e7e91d57510
78a6163d421d95b5c07bf6d3ee979122cc97e809
/config-tool-ice/ytproperty.py
b514cfb71a24614b28490474faed067f1a7ffcdf
[]
no_license
yuanyaru/configTool
dc65f4abb527188f8231b09dedda300fd17c16ed
ba6293de1d2a02e9a25dc8d308061566c85066ae
refs/heads/master
2020-07-02T16:57:03.529746
2019-08-19T08:09:36
2019-08-19T08:09:36
201,596,495
0
0
null
null
null
null
UTF-8
Python
false
false
2,310
py
#!/usr/bin/python # -*- coding:utf-8 -*- from flask import Blueprint, request from iceCon import ice_con import json import Ice Ice.loadSlice("./ice-sqlite.ice") import YTArea yt_blu = Blueprint('yt', __name__) # 查找(遥调属性) @yt_blu.route('/yt_data', methods=['POST']) def get_yt_property_send(): stationId = request...
[ "398916756@qq.com" ]
398916756@qq.com
7424ae8760e5af74ad03fa3cfef712ef7a6b3fd9
32ba9f1c35ae916d33b121daeeea8e1910a447d7
/tools/autoRivet.py
38e77ea55cc2928a7a2be0a6c84e7583fedcd208
[ "MIT" ]
permissive
rituparna/glTools
8b02fa2751e1b997f7a202c7df8a3dd3d3032722
c512a96c20ba7a4ee93a123690b626bb408a8fcd
refs/heads/master
2020-03-19T19:23:47.684580
2018-06-10T23:53:58
2018-06-10T23:53:58
136,853,456
0
0
null
2018-06-10T23:46:54
2018-06-10T23:46:53
null
UTF-8
Python
false
false
9,798
py
import maya.cmds as mc import maya.OpenMaya as OpenMaya import glTools.utils.base import glTools.utils.component import glTools.utils.mesh import glTools.utils.stringUtils import glTools.utils.surface def autoRivet(createRivetTransform=True,suffix='rvt'): ''' ''' # Get User Selection sel = mc.ls(sl=1) # Check S...
[ "grant@bungnoid.com" ]
grant@bungnoid.com
5a62c1a7a86c023c06ef0508c2747dd67883cf13
167cc4c25f570d285b54302d65252cb278b234c8
/project_0/KNN_code1.py
fd63bd12a43583d91e133f3668fd4cf8f73a5788
[]
no_license
divanshu79/k-nearest-neighbor
011106b0d91d14ff6b64ad1faa07603fa5e9719f
9289f109aaec95ada6a426c0652f99000b031368
refs/heads/master
2021-05-12T18:43:45.066714
2018-01-11T08:45:08
2018-01-11T08:45:08
117,072,858
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
import numpy as np from sklearn import preprocessing, cross_validation, neighbors import pandas as pd import pickle # accuracy = [] df = pd.read_csv('breast-cancer-dataseta.txt') df.replace('?', -99999, inplace=True) df.drop(['id'],1,inplace=True) x = np.array(df.drop(['class'],1)) y = np.array(df['class']) ...
[ "noreply@github.com" ]
divanshu79.noreply@github.com
06b826743e84279007efad50a2f248c317022896
3ac278b2d0e469e6e8d61da963782bccfd3a51b6
/build/mav_state_machine_msgs/catkin_generated/generate_cached_setup.py
09307dfe4ae74f29af5a2c2dd7fea57c4ae24c8b
[]
no_license
erl-ethz/haptic_ws
a08971c8f99a1aa5f574d9d898c189a9726a9ab6
8f02d35a52c08f5729ae7a489dee9e3f2bd6f110
refs/heads/master
2023-02-19T02:50:12.377601
2021-01-12T15:51:12
2021-01-12T15:51:12
325,560,695
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
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, ...
[ "emanuele.aucone95@gmail.com" ]
emanuele.aucone95@gmail.com
60aef547dda585aef44dcb5bcecd830a2b57519a
33fad70445b90dabc830f5c6a985a5c1522b7fe2
/shop/migrations/0011_auto_20191107_1833.py
77c65431b76bdb39406b877da81e299474bd2a8f
[]
no_license
Wald-K/sandbox
1b6521ee37179346ca13a348bfd4a1ba90da19e4
586a2570cd66b5008b308f3f2877970dfb7729a9
refs/heads/master
2022-12-11T18:18:17.997607
2022-12-07T18:15:43
2022-12-07T18:15:43
220,682,137
0
0
null
2022-11-22T04:38:37
2019-11-09T18:00:35
Python
UTF-8
Python
false
false
516
py
# Generated by Django 2.2.6 on 2019-11-07 18:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0010_auto_20191105_2209'), ] operations = [ migrations.RemoveField( model_name='category', name='products', ...
[ "1000druid@gmail.com" ]
1000druid@gmail.com
19c8b2f32b652f4db16b8edc0ecdc3cdbd64a368
404943d3a02d4e6331a739b0cbdc58fd2f72f080
/hgntransformers/modeling_tf_auto.py
6712e5dcda8bb454cff73e5da37a0c797a46d683
[]
no_license
enterpriseih/sentgraph
d62319d4cfc1d787b947c118586f99f49cf8d271
32ba2c94d8a2736881327037ce33801ed157bf47
refs/heads/main
2023-08-19T02:58:12.095142
2021-05-28T17:34:05
2021-05-28T17:34:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
58,498
py
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "guangtao.wang@jd.com" ]
guangtao.wang@jd.com
1cdf3137fe48ac43bc88dc2e6ac2e9c61263ca45
7c7236aa95ebebe241f04b98d55f3033b19dadc2
/locomotivelist/locomotivelist/settings.py
e41c705b2a66d10fc03ced8af8349dda3a0be106
[]
no_license
taisuo/cms
57d792bb47d85bf6a4a39558a1bc34457a355c26
dd8baa834d6426a2ce7406ea0b74eab252ef7789
refs/heads/master
2020-08-03T13:49:44.754754
2019-10-08T04:00:21
2019-10-08T04:00:21
211,765,786
0
0
null
null
null
null
UTF-8
Python
false
false
3,160
py
""" Django settings for locomotivelist project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ impor...
[ "3148378928@qq.com" ]
3148378928@qq.com
f4de029c363753117ec6770d310257147ba9c193
75f0e04c6330950a9bd225fd8b62fdc9fb0021b8
/11.containerWithMostWater.py
da22be17ee8650062f7a31f774ab9d4f19f52b10
[]
no_license
Minzhe/LeetCode
f07bc1edce77cee778d7dc3c4a379921747637a5
e5cb0212cb83daac829456c14aec557e26eea68c
refs/heads/master
2020-05-04T11:25:07.084483
2020-03-09T02:10:17
2020-03-09T02:10:17
179,107,420
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
class Solution: def maxArea(self, height) -> int: i, j = 0, len(height)-1 area = (j-i)*min(height[i], height[j]) while i < j: area = max(area, (j-i)*min(height[i], height[j])) if height[i] < height[j]: i += 1 else: j -= 1 ...
[ "zenroute.mzhang@gmail.com" ]
zenroute.mzhang@gmail.com
abb2b363698247fe9e19e20fb4089a7c72b88b3d
0a6d0ea3a60ece86ec477e490605b063b2e8c060
/dlYouTubeFromLocalHtml.py
25c916d53da6626d1b89c0beac233c646349dff5
[]
no_license
alclass/bin
bdbe063d629c05e17f64dc27f71211e5881e1f3b
b4c5642c8d5843846d529630f8d93a7103676539
refs/heads/master
2023-07-24T11:36:50.009838
2023-07-09T20:26:42
2023-07-09T20:26:42
17,493,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' ''' import os, re, sys urlBase = 'www.youtube.com/watch?v=%s' commBase = 'youtube-dl "%s"' def getLocalHtmlFileFromSysArg(): htmlFilename = sys.argv[1] if os.path.isfile(htmlFilename): return htmlFilename print 'file', htmlFilename, 'is not here on local fo...
[ "livrosetc@yahoo.com.br" ]
livrosetc@yahoo.com.br
72c8d67aaedfd2efae3a52f2fef35b40c901f3fc
6cbb6f523070dfe1acd40ac5c1c576e157ac715b
/tests/app/cli/test_main.py
a0d3b9bd342f81dcd6d4e10cfd4b11720b16a34a
[ "MIT" ]
permissive
ymoch/preacher
1607350c6b2ba50bb0e0d9ec3322e69f9ce2cb5b
ceeb048c6ed120102d9cdd6829ee2b05ad977c83
refs/heads/master
2023-02-22T21:00:06.791304
2022-06-14T17:21:34
2022-06-14T17:21:34
174,710,438
3
2
MIT
2023-02-16T05:56:52
2019-03-09T15:21:20
Python
UTF-8
Python
false
false
5,976
py
import os from tempfile import TemporaryDirectory from click.testing import CliRunner from pytest import fixture, mark from preacher.app.cli.executor import PROCESS_POOL_FACTORY, THREAD_POOL_FACTORY from preacher.app.cli.main import main from preacher.core.status import Status PKG = "preacher.app.cli.main" @fixtur...
[ "ymoch.dev@gmail.com" ]
ymoch.dev@gmail.com
772ce7249aec7511d2d8a3e2e0ac39863bdcb480
b96ed10d6247e22d4fa1d28bc3314bc319d3109c
/LessonSample/DjangoSample/ch06/exam_01.py
e1b350a860c6888c9645a01777fefae1a2354c9b
[]
no_license
13555785106/PythonPPT-01
ac1b22b9b1851f2b3ea6e4ab0a100e5f6896ee8c
40e5883f248cb342f3a7fc7ad12ba02ebde4c619
refs/heads/master
2020-04-26T16:49:59.675964
2019-03-04T07:16:21
2019-03-04T07:16:21
157,095,747
4
0
null
null
null
null
UTF-8
Python
false
false
764
py
# -*- coding: utf-8 -*- import os import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "DjangoSample.settings") django.setup() from django.contrib.auth import authenticate from django.contrib.auth.models import * # user = User.objects.create_user(username='u001',password='abc') # User.objects.filter(usernam...
[ "312655424@qq.com" ]
312655424@qq.com
c13c436e4d7f18b5c491d3dd6c011384b7749b93
85c82274a3888fa61795bb0600ab96eaf7665b6a
/meet9_22_April_2021/D_BSTPostOrder.py
4bc9fc77678fc38762f711d242a06f7f8c3333f1
[]
no_license
refeed/StrukturDataA
8e5a214569f41b19c05842d003ede5941800482a
4d3b77bbd28158f1f1e64a49b8e90da731859407
refs/heads/master
2023-06-03T08:22:12.442536
2021-07-01T03:24:29
2021-07-01T03:24:29
360,478,966
0
0
null
null
null
null
UTF-8
Python
false
false
2,340
py
''' Soal 1 Batas Run-time: 1 detik / test-case Batas Memori: 32 MB DESKRIPSI SOAL Diberikan n buah bilangan bulat, a1, a2, ..., an. Kemudian dibentuk binary search tree dari barisan tersebut. Tugas Anda ialah mengoutputkan secara postorder. PETUNJUK MASUKAN Input terdiri atas 2 baris. Baris pertama berisi sebuah bi...
[ "rafidteam@gmail.com" ]
rafidteam@gmail.com
1317e97cefcf2b877ccf8c52c3a3d26dfea585f6
d016a5c398ebc57813f0108ada85c294ff0433b4
/cart/migrations/0006_auto_20201218_1344.py
239a5a39b2960b9c890135dc997a9645e64ae426
[]
no_license
DelroyBrown28/GalleryWithCustomAdmin
c8dd4f0ca6c30665654ef056f906cc847f048938
09b40cbdc86bd71ec5377856bce9d06a763583b3
refs/heads/main
2023-04-13T05:44:59.860350
2021-04-29T13:40:36
2021-04-29T13:40:36
362,829,797
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Generated by Django 3.1.4 on 2020-12-18 13:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cart', '0005_auto_20201216_1624'), ] operations = [ migrations.AlterField( model_name='product', name='image', ...
[ "delroybrown.db@gmail.com" ]
delroybrown.db@gmail.com
7fc93984d0b3cd5bbf2c5ba37f42d0422e3f0bfc
8b4b2e2a0efd50ecba15b1929691166f2ebf4be7
/Curriculum/My Git Stuff/05PythonProgramming/Additional Stuff/Basic Stuff/Dictionaries and Sets/Practice/5.py
4c2fac03cfec83dcea9fcfefc04fe5686acad2a4
[]
no_license
Hackman9912/PythonCourse
c2881958f622eb9e0aa18c5e36ca79fd4a6b1968
dc445cd8183a07bc223d11fad86bbc112a8696c2
refs/heads/master
2020-11-26T13:25:36.405573
2019-12-19T17:04:39
2019-12-19T17:04:39
229,085,020
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
''' 5. Word Frequency Write a program that reads the contents of a text file. The program should create a dictionary in which the keys are the individual words found in the file and the values are the number of times each word appears. For example, if the word “the” appears 128 times, the dictionary would conta...
[ "noreply@github.com" ]
Hackman9912.noreply@github.com
569dcf83d15e13bc36e7024114cc2dd634c20e41
a77c8a3373058df09673fe4445ca912c91a48aa8
/university_counselor/a7990_OrganizationChart/movie-env/bin/f2py3.7
95c9300eb107301f1f67161980db10c55a927525
[]
no_license
fangyu456/PythonProjectLearn
8217533b3b7f8c689d507824f7ca7c5192dd9305
b1df3e15ffae147a4f2221445bde40e130ec366a
refs/heads/master
2023-01-31T01:54:24.681999
2020-12-17T13:46:47
2020-12-17T13:46:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
292
7
#!/Users/abel/Downloads/AbelProject/FlaskRepository/huaxin_MES_webapp/movie-env/bin/python3 # -*- coding: utf-8 -*- import re import sys from numpy.f2py.f2py2e import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "myreceiver2for2github@gmail.com" ]
myreceiver2for2github@gmail.com
521d709c5b4a1384fc725ce63d6172eec2fead78
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/common/Lib/distutils/tests/test_build_ext.py
1d8d27db4f7a5dadb809a807760ccda505ba62bf
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
16,296
py
# 2016.11.19 19:58:33 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/distutils/tests/test_build_ext.py import sys import os from StringIO import StringIO import textwrap from distutils.core import Extension, Distribution from distutils.command.build_ext import build_ext from distutils import syscon...
[ "info@webium.sk" ]
info@webium.sk
2f96983a6f0f7f5645cc56830a0b3074d11316f8
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/2/ely.py
d9f0ec11a01c4e29861efa7eb14007c0120d103d
[]
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
4d0d1bb342c99ec93970de85f2f16b98e7f213bf
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/katas/kyu_7/return_string_of_first_characters.py
7de19bdc79226e9504132531d3bb6305006797f1
[ "MIT" ]
permissive
mveselov/CodeWars
e4259194bfa018299906f42cd02b8ef4e5ab6caa
1eafd1247d60955a5dfb63e4882e8ce86019f43a
refs/heads/master
2021-06-09T04:17:10.053324
2017-01-08T06:36:17
2017-01-08T06:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
def make_string(s): return ''.join(a[0] for a in s.split())
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
f249780e13565c83d6784710ea16944e06b2f340
5862eb47c62a595b0c265ddb385e3df628c06956
/manage.py
0099d39b1b430f0fb415accb5c3d12c15f68bd4e
[]
no_license
Iamprakashkhatri/hazel_cake
749af684d4eb19df1b9954fe060f48f8ee4c63e8
79b7b06dd4856d9c7ce918eeadf4a2d40171d940
refs/heads/master
2023-08-17T01:57:10.078267
2020-08-17T15:57:01
2020-08-17T15:57:01
279,773,665
0
0
null
2021-06-10T20:05:32
2020-07-15T05:32:16
JavaScript
UTF-8
Python
false
false
630
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', 'hazel-cake.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "prakash" ]
prakash
83488fdf61bf5f23b991d0ea3f2c281809b52222
8dfb5b44d0f1367827bbce81afb9b6a40b89bc23
/programmers/Level 2/124 나라의 숫자.py
4741da7369d62671cd8710a2ed76e6d7c183d3cd
[]
no_license
moon0331/baekjoon_solution
d95fa01b499df286311e25dbb0209deebd751587
99215f4deeeb2d1c7d4bcb0c4014ff6b52711c09
refs/heads/main
2023-08-20T18:17:13.567586
2021-10-25T09:00:48
2021-10-25T09:00:48
389,906,305
1
1
null
null
null
null
UTF-8
Python
false
false
191
py
def solution(n): if n <= 0: return '' else: mod = n%3 if n%3 else 3 return solution((n-mod)//3) + '0124'[mod] for i in range(1, 11): print(i, solution(i))
[ "moon0331@skku.edu" ]
moon0331@skku.edu
53612c97321d4f5b4a181cec47dd4221133de7e4
6aaee86596de97f6889e270ad8d1dec0c9bdb220
/tests/mining-module/test_miner_setExtra.py
bc8f245efc483eea40e7d0c518d8e29a8a66fcd7
[ "MIT" ]
permissive
EthereumEx/web3.py
75ecda49087d2d8742919f4d508dafad700322c9
413459dbc70c59b37367328f21a1e5ff1615d8b7
refs/heads/master
2021-01-11T15:59:37.626807
2017-01-19T18:24:19
2017-01-19T18:24:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
import random from flaky import flaky from web3.utils.encoding import decode_hex from web3.utils.compat import ( Timeout, ) @flaky(max_runs=3) def test_miner_setExtra(web3_empty, wait_for_block): web3 = web3_empty initial_extra = decode_hex(web3.eth.getBlock(web3.eth.blockNumber)['extraData']) new...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com