blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
1098a789c29b45f0d9d74b610f2bd525c611d6ba
e70b678712a355a0b51632728c7781b0bdcf29f4
/Algorithms/Python/House-Robber-III.py
a74ac277aba3199f40ac9f6b7b313a6b34906408
[]
no_license
keyi/Leetcode_Solutions
b3e3c6835ed335d7d4ad53a1b37e59ac15fcf3af
69e4e969b435ff2796bd7c4b5dad9284a853ab54
refs/heads/master
2020-05-21T23:36:20.450053
2018-11-11T03:45:28
2018-11-11T03:45:28
33,714,612
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def rob(self, root): """ :type root: TreeNode :rtype: int """ def dfs(node): ...
[ "yike921012@gmail.com" ]
yike921012@gmail.com
372a51ab5a1ba04386d600954a4b8dfd5297b211
e61e725d9a962837e2b56f84e3934b0fb52dd0b1
/eoxserver/backends/middleware.py
fcd2756c0adad6b32c04637ceb2a4f2e2ccd6006
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ESA-VirES/eoxserver
719731172c2e5778186a4b144a201f602c07ce7e
d7b65adf9317538b267d5cbb1281acb72bc0de2c
refs/heads/master
2021-01-21T20:06:22.164030
2014-10-14T12:21:13
2014-10-14T12:21:13
25,151,203
1
0
null
2014-12-04T09:46:54
2014-10-13T09:00:54
Python
UTF-8
Python
false
false
2,089
py
#------------------------------------------------------------------------------- # $Id$ # # Project: EOxServer <http://eoxserver.org> # Authors: Fabian Schindler <fabian.schindler@eox.at> # #------------------------------------------------------------------------------- # Copyright (C) 2013 EOX IT Services GmbH # # Per...
[ "fabian.schindler@gmx.at" ]
fabian.schindler@gmx.at
451fca20992f85b6ab2bdff565ff25314a62df06
5a72f4ad3dee9c93e907e5db6ae073a0f6173557
/web/actions/log_handler.py
8eb2c9e92525a051d778d3ec66e77de9aa6b3fba
[ "Apache-2.0" ]
permissive
avikowy/machinaris
170117fa8857942d90b33b15a727674924da1d66
23eead3c30e5d4a75b13c142638c61bcd0af4bfe
refs/heads/main
2023-06-17T15:54:08.795622
2021-07-16T04:19:37
2021-07-16T04:19:37
386,497,979
0
0
Apache-2.0
2021-07-16T03:35:17
2021-07-16T03:35:17
null
UTF-8
Python
false
false
822
py
# # Actions around access to logs on distributed workers. # import datetime import os import psutil import re import signal import shutil import socket import time import traceback import yaml from flask import Flask, jsonify, abort, request, flash from web import app, db, utils def get_log_lines(worker, log_type, ...
[ "guydavis.ca@gmail.com" ]
guydavis.ca@gmail.com
1e748bcd33d6fe1bf140ccdb45cb963a56a7eaaa
55c552b03a07dcfa2d621b198aa8664d6ba76b9a
/Algorithm/BOJ/13300_방 배정_b2/13300.py
1f760d8e2112fd870232bb7889e148e0582076d3
[]
no_license
LastCow9000/Algorithms
5874f1523202c10864bdd8bb26960953e80bb5c0
738d7e1b37f95c6a1b88c99eaf2bc663b5f1cf71
refs/heads/master
2023-08-31T12:18:45.533380
2021-11-07T13:24:32
2021-11-07T13:24:32
338,107,899
0
1
null
null
null
null
UTF-8
Python
false
false
723
py
# boj 13300 방 배정 b2 # https://www.acmicpc.net/problem/13300 import math N, K = map(int, input().split()) count_studentMen = [0] * 7 # 6학년까지 ex. 1학년은 1번인덱스를 사용 count_studentWomen = [0] * 7 res = 0 for i in range(N): S, Y = map(int, input().split()) # S성별 Y학년 if S == 0: # 여자라면 count_studentWomen[Y] +...
[ "sys19912002@hanmail.net" ]
sys19912002@hanmail.net
36e25d40975cb3f2bbb9ca251092b2dcf81d78b0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/298/68638/submittedfiles/testes.py
7bb6c9f0c7507804399fccf4e2c1e9aca7ac8f50
[]
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
1,370
py
print('Sejam a, b e c os coeficientes de uma equação do segundo grau') a = float(input('Digite a: ')) b = float(input('Digite b: ')) c = float(input('Digite c: ')) delta = (b**2 - 4*a*c) if (delta>=0): raizdelta = float((delta)**(1/2)) else: raizdelta = float((-(delta)**(1/2))*float(j)) x1 = float(-b/2 + raizde...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6e3dfb3631b760423c667b2beb46878bf90acc3d
79d9637df98bc89387963fc0173f375a690f8922
/coffee-time-challenges/01-two-bases/main.py
edbf0a927a8c53a494d1f2bc839ea9be5f6798ff
[]
no_license
schickling/challenges
979248b916a24d232dd8adce89355b9eaf767b34
1af54711f0530a46395ccb18eb51fc25bf385f22
refs/heads/master
2020-04-06T04:00:37.007054
2014-11-06T22:50:33
2014-11-06T22:50:33
21,869,648
2
3
null
2014-08-06T21:44:20
2014-07-15T17:46:46
Python
UTF-8
Python
false
false
369
py
#!/usr/bin/env python3 from itertools import combinations_with_replacement def check(x, y, z): return x*100+y*10+z == x+y*9+z*9**2 def main(): retults = [] for x, y, z in combinations_with_replacement(list(range(10)), 3): if check(x, y, z): retults.append((x, y, z)) return retul...
[ "info@martin-thoma.de" ]
info@martin-thoma.de
8c475f1e44e2c48ce766a5e3e2fdc0acbf79ef4b
50b9e93fb40e368c73d8d22680171f22e0200c65
/tuesday-api/first-meet-jwt.py
a45f78edc5bc526f05c65977e80d5700d79089cc
[]
no_license
bopopescu/python-cgi-monitor
cd87a2a07a41547a19222dd7bef7190eec221ed1
c79e81e129a5f1da3bffae6d69ec8ba2c0e2a8a6
refs/heads/master
2022-11-19T23:44:39.484833
2019-01-22T11:36:55
2019-01-22T11:36:55
281,807,428
0
0
null
2020-07-22T23:55:00
2020-07-22T23:54:59
null
UTF-8
Python
false
false
2,432
py
from datetime import datetime, timedelta import jwt JWT_SECRET = 'secret' JWT_ALGORITHM = 'HS256' JWT_ISS = 'http://192.168.254.31' JWT_AUD = 'http://192.168.254.31' JWT_EXP_DELTA_SECONDS = 60 def encode_jwt(user): JWT_IAT=JWT_NBF = datetime.utcnow() playload = { 'user_iid': user, 'iss': JWT_...
[ "31108772+pdeesawat4887@users.noreply.github.com" ]
31108772+pdeesawat4887@users.noreply.github.com
1a604200841cdb5e426f73eaa13a5b46d175c696
e85e846960750dd498431ac8412d9967646ff98d
/cms/urls/admin.py
a20ef9f30b42d704db803611f070617109c8e0d0
[]
no_license
onosaburo/clublink_django
19368b4a59b3aed3632883ceffe3326bfc7a61a6
d2f6024b6224ea7f47595481b3382b8d0670584f
refs/heads/master
2022-03-30T05:30:12.288354
2020-01-27T18:09:11
2020-01-27T18:09:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
from django.conf.urls import include, url urlpatterns = [ url(r'^club-sites/', include('clublink.cms.modules.club_sites.urls')), url(r'^corp-site/', include('clublink.cms.modules.corp_site.urls')), url(r'^assets/', include('clublink.cms.modules.assets.urls')), url(r'^users/', include('clublink.cms.mod...
[ "bestwork888@outlook.com" ]
bestwork888@outlook.com
d52c94cca0b3de9681b5b345b45606a67bb54bd9
329664fce59d25d6e88c125c1105bc6b4989a3b8
/_exercice_version_prof.py
6fa3252521c4ec7bf995ba41442cfd66c1597a72
[]
no_license
INF1007-2021A/2021a-c01-ch6-supp-3-exercices-LucasBouchard1
a8e7d13d8c582ebc44fe10f4be5e98ab65609bcb
f46ea10010a823cad46bbc93dba8d7691568d330
refs/heads/master
2023-08-13T20:49:54.742681
2021-09-30T18:05:38
2021-09-30T18:05:38
410,077,221
0
0
null
null
null
null
UTF-8
Python
false
false
4,700
py
#!/usr/bin/env python # -*- coding: utf-8 -*- def check_brackets(text, brackets): # TODO: Associer les ouvrantes et fermantes (à l'aide d'un dict) opening_brackets = dict(zip(brackets[0::2], brackets[1::2])) # Ouvrants à fermants closing_brackets = dict(zip(brackets[1::2], brackets[0::2])) # Fermants à ouvrants ...
[ "66690702+github-classroom[bot]@users.noreply.github.com" ]
66690702+github-classroom[bot]@users.noreply.github.com
ad894d4f56aba4cac738231d9e972e40bc62b0a9
3d7e1a506d65c23c84b7430fa46623cb98de8c64
/moreifelse.py
d00d9e4937067bacab561253371fcb13cdce1fc3
[]
no_license
crakama/UdacityIntrotoComputerScience
cb6ac8a9084f078eaf245a52adc43541c35dc3f4
416b82b85ff70c48eabae6bb9d7b43354a158d9a
refs/heads/master
2021-01-09T20:39:15.974791
2016-07-18T20:59:09
2016-07-18T20:59:09
60,571,882
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# Define a procedure, is_friend, that takes # a string as its input, and returns a # Boolean indicating if the input string # is the name of a friend. Assume # I am friends with everyone whose name # starts with either 'D' or 'N', but no one # else. You do not need to check for # lower case 'd' or 'n def is_friend(str...
[ "crakama89@gmail.com" ]
crakama89@gmail.com
ece46492b31fb46f106f1115a52f482853cf4f21
b167407960a3b69b16752590def1a62b297a4b0c
/tools/project-creator/Python2.6.6/Lib/bsddb/test/test_get_none.py
9c08a61b1e86fd2f0f11cfd0919ea35f308fe7de
[ "MIT" ]
permissive
xcode1986/nineck.ca
543d1be2066e88a7db3745b483f61daedf5f378a
637dfec24407d220bb745beacebea4a375bfd78f
refs/heads/master
2020-04-15T14:48:08.551821
2019-01-15T07:36:06
2019-01-15T07:36:06
164,768,581
1
1
MIT
2019-01-15T08:30:27
2019-01-09T02:09:21
C++
UTF-8
Python
false
false
2,330
py
""" TestCases for checking set_get_returns_none. """ import os, string import unittest from test_all import db, verbose, get_new_database_path #---------------------------------------------------------------------- class GetReturnsNoneTestCase(unittest.TestCase): def setUp(self): self.fil...
[ "278688386@qq.com" ]
278688386@qq.com
59d056538621fac227eb382e34ac693ad942fe9a
5189a2e2e1fbf04edb2e212652b268361bc54de6
/dephell/commands/jail_show.py
0dea75396705ef81137ac8537f6baff5868bde42
[ "MIT" ]
permissive
Brishen/dephell
50f74a4d9c94fc81c3ae5bc3b8472b4d89e23fd7
1a09de4b9204466b4c9b833fd880542fb6b73d52
refs/heads/master
2021-03-30T09:19:05.518468
2020-03-17T17:54:22
2020-03-17T17:54:22
248,037,267
0
0
MIT
2020-03-17T17:53:53
2020-03-17T17:53:52
null
UTF-8
Python
false
false
2,249
py
# built-in from argparse import ArgumentParser from pathlib import Path # external from dephell_venvs import VEnvs from packaging.utils import canonicalize_name # app from ..actions import format_size, get_path_size, make_json from ..config import builders from ..converters import InstalledConverter from .base import...
[ "master_fess@mail.ru" ]
master_fess@mail.ru
b62c2124b3745f705af3028c3d40ff02d6de01eb
a6f8aae8f552a06b82fe018246e8dcd65c27e632
/pr064/pr064.py
118db0003bd02932d1a6e1bd3e0df29b4e8e386a
[]
no_license
P4SSER8Y/ProjectEuler
2339ee7676f15866ceb38cad35e21ead0dad57e9
15d1b681e22133fc562a08b4e8e41e582ca8e625
refs/heads/master
2021-06-01T09:22:11.165235
2016-05-06T14:02:40
2016-05-06T14:02:40
46,722,844
1
0
null
null
null
null
UTF-8
Python
false
false
916
py
from math import sqrt, floor from itertools import count def get(n): def gcd(a, b): if b == 0: return a return gcd(b, a%b) if n == (int(sqrt(n)))**2: return 0 an = lambda k, c, d: int(floor(((k*sqrt(n)-c)/d))) pn = lambda k, c, d: [d*k, -d*(...
[ "beobachter70@163.com" ]
beobachter70@163.com
ecac4bdb1c8034948e2a47fc06bb722bf9c7a990
c1960138a37d9b87bbc6ebd225ec54e09ede4a33
/adafruit-circuitpython-bundle-py-20210402/lib/adafruit_mcp230xx/digital_inout.py
877d588cc07250f952b5661bf7a59f8ccf8b843d
[]
no_license
apalileo/ACCD_PHCR_SP21
76d0e27c4203a2e90270cb2d84a75169f5db5240
37923f70f4c5536b18f0353470bedab200c67bad
refs/heads/main
2023-04-07T00:01:35.922061
2021-04-15T18:02:22
2021-04-15T18:02:22
332,101,844
0
0
null
null
null
null
UTF-8
Python
false
false
5,166
py
# SPDX-FileCopyrightText: 2017 Tony DiCola for Adafruit Industries # SPDX-FileCopyrightText: 2019 Carter Nelson # # SPDX-License-Identifier: MIT """ `digital_inout` ==================================================== Digital input/output of the MCP230xx. * Author(s): Tony DiCola """ import digitalio __version__ =...
[ "55570902+apalileo@users.noreply.github.com" ]
55570902+apalileo@users.noreply.github.com
751478a95c3542713d69302bb04e829266b80014
67b62f49ff89982ef62ce5d5c68bc7655ededcee
/chap6/basic_evaluator.py
7fd1b1bcb0e15607838e88ad314e8711d2e2c8e8
[]
no_license
planset/stone-py
0614737e59a14745019754c453f9b49e44f125cf
467617e201a3f4028f2fb23b2bc6ce3aaa371125
refs/heads/master
2016-09-06T18:36:49.564450
2012-12-31T12:57:06
2012-12-31T12:57:06
6,389,161
1
0
null
null
null
null
UTF-8
Python
false
false
4,955
py
# -*- coding: utf-8 -*- from stone.util import reviser, super from stone.myast import ast, literal, expression, statement from stone import exception #class BasicEvaluator(object): # def __init__(self): # pass TRUE = 1 FALSE = 0 @reviser class ASTreeEx(ast.ASTree): def eval(self, env): raise N...
[ "planset@gmail.com" ]
planset@gmail.com
8de737368f805d8d9c748a04dc6b26df83141c3e
f55623e3aea5b8ae3d2c37bcfa8a853150a0b376
/a10_horizon/_enabled_hooks/_91000_a10admin_panel.py
bbfda541cbf0467babfe76f4b091824b63db24dd
[ "Apache-2.0" ]
permissive
isaaczurn/a10-horizon
0fab288d321516de72ea276d54b415a1c2e4d7d6
a96f9e95dfcda619f08a19a9057b061bdba12487
refs/heads/development
2020-12-26T04:49:33.131115
2016-08-11T16:47:09
2016-08-11T16:47:09
64,965,205
1
0
null
2016-08-04T20:31:28
2016-08-04T20:31:28
null
UTF-8
Python
false
false
846
py
# Copyright (C) 2016, A10 Networks 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 requir...
[ "mdurrant@a10networks.com" ]
mdurrant@a10networks.com
7151eacc02e7268941d808551b82a302f388b83a
a24d889cc6fd5cd3fc180bcf5cf7dcd688eb691a
/yggdrasil/metaschema/properties/__init__.py
e26481182221d47dd0902bcc594398be467a91c2
[ "BSD-3-Clause" ]
permissive
ghanashyamchalla/yggdrasil
f5346bad5d1f4ed8a53e7b570c19eefb58a8a921
7b59439276eacb66f1f6ea4177d3a85cc061eed5
refs/heads/master
2022-04-20T06:08:49.110242
2020-04-15T02:44:51
2020-04-15T02:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,579
py
import os import glob import importlib from collections import OrderedDict _metaschema_properties = OrderedDict() def register_metaschema_property(prop_class): r"""Register a schema property. Args: prop_class (class): Class to be registered. Raises: ValueError: If a property class has ...
[ "langmm.astro@gmail.com" ]
langmm.astro@gmail.com
11783965c99a7fec6aa8653159a599e25ce3ebfa
491d2fd36f2ca26975b3eb302a3d5600415bf7c4
/central/multi_node_utils.py
8fbeb6444b67d9aab6cdff45669e13032d27f208
[]
no_license
kmanchella-habana/Model-References
9fa42654d57a867d82f417e9fff668946f9105f6
460d3b23ce75f30561e8f725ebcb21298897d163
refs/heads/master
2023-08-28T17:42:48.866251
2021-09-18T21:38:04
2021-09-18T21:38:04
411,371,667
0
0
null
2021-09-28T17:08:13
2021-09-28T17:08:13
null
UTF-8
Python
false
false
6,092
py
############################################################################### # Copyright (C) 2020-2021 Habana Labs, Ltd. an Intel Company ############################################################################### """Utilities for multi-card and scaleout training""" import os import socket import subprocess im...
[ "mpandit@habana.ai" ]
mpandit@habana.ai
f871cb804836e1732c5ccb6ac5804e5a11670af4
64a1a418c6e0794dcf7be5605f1e254f2beaa65d
/tutorial/ch1/qt5_2.py
fc15b92cc431579a59972a827e95fbdeb97dd546
[]
no_license
notmikeb/python_desk
792c93f68b69dcd8c24384883421166771d40c15
1685d6e9e0c8b4d8201625ce58fa2420bc1b930e
refs/heads/master
2021-01-20T09:36:46.832716
2016-02-03T13:51:20
2016-02-03T13:51:20
40,387,601
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
""" ZetCode pyQT5 tutorial """ import sys from PyQt5.QtWidgets import QApplication, QWidget from PyQt5.QtGui import QIcon class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setGeometry(300,300, 300, 220) self.setWindowTitle('Icon') self.setWindo...
[ "notmikeb@gmail.com" ]
notmikeb@gmail.com
42827266ae0abe6cf4bb9c8f2a439f58df2b3e9a
8781d392b65ccf7ebad7332de07eddea3349f55c
/examples/vtk-structured-2d-curved.py
e322305c0b6b03fe6e91706abff7bb1edf09c799
[ "MIT" ]
permissive
mattwala/pyvisfile
95006fb7771cb7b51264543344fcbb1da0504432
41c908e1530d73a2af83fa9436751cb46c0f922a
refs/heads/master
2022-11-11T11:19:15.474390
2020-06-23T05:14:31
2020-06-23T05:14:31
276,822,466
0
0
MIT
2020-07-03T06:14:45
2020-07-03T06:14:44
null
UTF-8
Python
false
false
482
py
from __future__ import absolute_import from pyvisfile.vtk import write_structured_grid import numpy as np angle_mesh = np.mgrid[1:2:10j, 0:2*np.pi:20j] r = angle_mesh[0, np.newaxis] phi = angle_mesh[1, np.newaxis] mesh = np.vstack(( r*np.cos(phi), r*np.sin(phi), )) from pytools.obj_array import make_obj...
[ "inform@tiker.net" ]
inform@tiker.net
12d2b319e45161b64b8c5e2a24a13222bf797dc1
43e900f11e2b230cdc0b2e48007d40294fefd87a
/Facebook/1763.longest-nice-substring.py
6c10cfdaef09b7133bf7adcc369d6f99c980d0c9
[]
no_license
DarkAlexWang/leetcode
02f2ed993688c34d3ce8f95d81b3e36a53ca002f
89142297559af20cf990a8e40975811b4be36955
refs/heads/master
2023-01-07T13:01:19.598427
2022-12-28T19:00:19
2022-12-28T19:00:19
232,729,581
3
1
null
null
null
null
UTF-8
Python
false
false
539
py
# # @lc app=leetcode id=1763 lang=python3 # # [1763] Longest Nice Substring # # @lc code=start class Solution: def longestNiceSubstring(self, s: str) -> str: if len(s) < 2: return "" chars = set(list(s)) for i in range(len(s)): if not (s[i].lower() in chars and s[i]...
[ "wangzhihuan0815@gmail.com" ]
wangzhihuan0815@gmail.com
d045c1f2d9bbf9c9ae7d90b60a3d2acae0704637
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/gui/miniclient/tech_tree/pointcuts.py
fb5d3bd3f860d356b28b23a159f21b25c9372f1e
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,103
py
# 2017.05.04 15:21:52 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/miniclient/tech_tree/pointcuts.py import aspects from helpers import aop class OnTechTreePopulate(aop.Pointcut): def __init__(self): aop.Pointcut.__init__(self, 'gui.Scaleform.daapi.view.lobby.techtree.TechTree', 'Te...
[ "info@webium.sk" ]
info@webium.sk
5573c985cf87f71b6dc605b266b0413315c3457f
15e818aada2b18047fa895690bc1c2afda6d7273
/analysis/control/optimize.py
84bb77fa593651b7c63536c6d78e82f883a5d0b6
[ "Apache-2.0" ]
permissive
ghomsy/makani
4ee34c4248fb0ac355f65aaed35718b1f5eabecf
818ae8b7119b200a28af6b3669a3045f30e0dc64
refs/heads/master
2023-01-11T18:46:21.939471
2020-11-10T00:23:31
2020-11-10T00:23:31
301,863,147
0
0
Apache-2.0
2020-11-10T00:23:32
2020-10-06T21:51:21
null
UTF-8
Python
false
false
3,865
py
# Copyright 2020 Makani Technologies 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 agreed to...
[ "luislarco@google.com" ]
luislarco@google.com
87d64712d998d3b868640d48f892d7e959c074cc
87dae6d55c66df1d40d6881272009319a1600cb3
/PROGRAMACION I SEGUNDO CUATRIMESTE TP1 EJ 1.py
fdb33f593f6082dcfbe9ff1eb7b7f96ae7012bcd
[]
no_license
abaldeg/EjerciciosPython
92a30a82c05ec75aa7f313c8a6fa0dd052a8db11
c8a3238587ebf6b10dbff32516c81bf00bb01630
refs/heads/master
2021-07-09T07:46:11.584855
2020-11-09T11:51:50
2020-11-09T11:51:50
210,438,930
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
""" Desarrollar una función que reciba tres números positivos y devuelva el mayor de los tres, sólo si éste es único (mayor estricto). En caso de no existir el mayor estricto devolver -1. No utilizar operadores lógicos (and, or, not). Desarrollar también un programa para ingresar los tres valores, invocar a la función ...
[ "abaldeg@gmail.com" ]
abaldeg@gmail.com
9de584dc3b0a4e354a76f9b19a508aacad68619d
d79ec3cb3e59778d2b4a17846434ef2d027d5f98
/polls/migrations/0001_initial.py
d025fcfa894499c76821c28ea2673060914a4cd2
[]
no_license
Marlysson/PollsApp
df08a9eae257f947f93ffa4130aec26186a087a8
57b1477ecc3732444123dbfa996a7287dc5d7052
refs/heads/master
2020-12-02T10:13:55.554610
2017-11-11T14:50:21
2017-11-11T14:50:21
96,703,281
1
0
null
null
null
null
UTF-8
Python
false
false
700
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-06 19:29 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
[ "marlysson5@gmail.com" ]
marlysson5@gmail.com
8e10a71488576fd11c908c3ed8dcc5e6ab0dfff5
8c9d5bc245b343d9a36882d6d1c850ce6a86442d
/dbdaora/geospatial/_tests/datastore/conftest.py
3fa3329a173ddadfe0ab7827399e84af9c563b7e
[ "MIT" ]
permissive
dutradda/dbdaora
1089fa9c80a93c38357818680327b24d48ac8b64
5c87a3818e9d736bbf5e1438edc5929a2f5acd3f
refs/heads/master
2021-07-04T10:06:59.596720
2020-12-05T12:24:45
2020-12-05T12:24:45
205,046,848
23
1
null
null
null
null
UTF-8
Python
false
false
446
py
import pytest from dbdaora import DatastoreGeoSpatialRepository, KindKeyDatastoreDataSource @pytest.fixture def fallback_data_source(): return KindKeyDatastoreDataSource() @pytest.fixture def fake_repository_cls(fake_entity_cls): class FakeGeoSpatialRepository(DatastoreGeoSpatialRepository): name =...
[ "diogo.albuquerque@luizalabs.com" ]
diogo.albuquerque@luizalabs.com
f5c61dfd6024796264c0b50d239d70e492c8e49e
e83e8a3b7ef31b36b2c590b37bf2d1df1487fe5a
/tests/test_docs/test_query.py
a7d055d10b61f98b14ac194e3ebf9d696b3d26ff
[ "MIT" ]
permissive
duilio/django-ninja
19d66eae1b3b01f9910f3ea0f569ed6d3a561707
8dac3c981bcf431322d32acd34c8179564a3698d
refs/heads/master
2023-01-21T07:17:02.544071
2020-11-25T10:48:30
2020-11-25T10:48:30
316,243,580
0
0
MIT
2020-11-26T13:56:19
2020-11-26T13:45:12
null
UTF-8
Python
false
false
3,259
py
from unittest.mock import patch from ninja import NinjaAPI from client import NinjaClient def test_examples(): api = NinjaAPI() with patch("builtins.api", api, create=True): import docs.src.tutorial.query.code01 import docs.src.tutorial.query.code02 import docs.src.tutorial.query.cod...
[ "ppr.vitaly@gmail.com" ]
ppr.vitaly@gmail.com
edcc63746e71ca4f277f371dacf3b89403bc4ebd
3ee1bb0d0acfa5c412b37365a4564f0df1c093fb
/lotte/31_eff_cnn.py
8635f32148d2aa946e79fef91e3e007516f0af09
[]
no_license
moileehyeji/Study
3a20bf0d74e1faec7a2a5981c1c7e7861c08c073
188843c6415a4c546fdf6648400d072359d1a22b
refs/heads/main
2023-04-18T02:30:15.810749
2021-05-04T08:43:53
2021-05-04T08:43:53
324,901,835
3
0
null
null
null
null
UTF-8
Python
false
false
3,598
py
import numpy as np import pandas as pd import tensorflow as tf from keras.preprocessing.image import ImageDataGenerator from numpy import expand_dims from keras import Sequential from keras.callbacks import EarlyStopping, ModelCheckpoint, ReduceLROnPlateau from keras.optimizers import Adam,SGD from sklearn.mode...
[ "noreply@github.com" ]
moileehyeji.noreply@github.com
3150e892a3d4da245621a1bb195d4cbfa8821d0b
ba09a6cc089e408e2a865810b0e365d004712ce8
/Calculator/calculator.py
b858bb30a91766785f55b12d25b67dfc1136b2cd
[]
no_license
ephreal/Silliness
5459977e1bca44cde4639f8bf83bd8a976b2ee63
bce290f86f818ad926613e84a07e5d354a112c4b
refs/heads/master
2021-06-05T02:41:42.467732
2020-02-20T16:31:35
2020-02-20T16:31:35
133,086,053
0
0
null
null
null
null
UTF-8
Python
false
false
6,289
py
import tkinter as tk from decimal import Decimal from tkinter import ttk class Calculator(ttk.Frame): def __init__(self, master=tk.Tk()): super().__init__(master) self.master = master self.master.title("tKalculator") self.operator = None self.prev_num = 0 self.completed_calculation = False self.grid()...
[ "tjannx@hotmail.com" ]
tjannx@hotmail.com
3a239988545f0c87767b909a0dfbec058597d3dd
f9033131dc4d66ede2c5c22fcaa4a0be5b682152
/Sorting/Tasks/eolymp(5089).py
21668b326d3a8cfd9412a0d740ab1941e4accc97
[]
no_license
Invalid-coder/Data-Structures-and-algorithms
9bd755ce3d4eb11e605480db53302096c9874364
42c6eb8656e85b76f1c0043dcddc9c526ae12ba1
refs/heads/main
2023-04-29T08:40:34.661184
2021-05-19T10:57:37
2021-05-19T10:57:37
301,458,981
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
#https://www.e-olymp.com/uk/submissions/7293961 def greater(a, b): i = 0 j = 0 while i < len(a) and j < len(b): if ord(a[i]) > ord(b[j]): return a elif ord(a[i]) < ord(b[j]): return b else: i += 1 j += 1 if i == len(a) and j < le...
[ "gusevvovik@gmail.com" ]
gusevvovik@gmail.com
1d2ff22060d90ac5eebb0f152bd66b24eb89a21d
4d66a2b4f40e7169b00871e7f75202fd38201d98
/linkie/tests/run_tests.py
5bdd879b985b69fb0642864bdeba2dbaff39bfcc
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
uccser/linkie
e90d97d9d22c9a1d1eb95d87eb59f3079e4da2ce
f062762c42c812f18374a064ba2ac80d9146b7d5
refs/heads/master
2023-03-23T10:56:12.508180
2020-06-08T00:07:33
2020-06-08T00:07:33
124,695,953
2
0
MIT
2021-03-25T21:38:39
2018-03-10T20:28:47
Python
UTF-8
Python
false
false
3,251
py
import os import unittest from subprocess import run from linkie import Linkie class LinkieTestSuite(unittest.TestCase): def __init__(self, *args, **kwargs): unittest.TestCase.__init__(self, *args, **kwargs) self.default_working_directory = os.getcwd() def setUp(self): os.chdir(self.d...
[ "jackmorgannz@gmail.com" ]
jackmorgannz@gmail.com
91ed8fe756697243b39c0671ce9ffe931e906c4a
7ec38beb6f041319916390ee92876678412b30f7
/src/leecode/explore/queue_stack/01.Design Circular Queue.py
3b4c90c483baf7a706bf6efc41b4e3e9939b2ee3
[]
no_license
hopensic/LearnPython
3570e212a1931d4dad65b64ecdd24414daf51c73
f735b5d865789843f06a623a4006f8883d6d1ae0
refs/heads/master
2022-02-18T23:11:30.663902
2022-02-12T17:51:56
2022-02-12T17:51:56
218,924,551
0
0
null
null
null
null
UTF-8
Python
false
false
2,471
py
class MyCircularQueue: def __init__(self, k: int): self.queuesize = k self.lst = [None] * k self.head = -1 self.tail = -1 """ Initialize your data structure here. Set the size of the queue to be k. """ def enQueue(self, value: int) -> bool: """ ...
[ "hopensic@gmail.com" ]
hopensic@gmail.com
18b8e0edad42cc713cfad35c0c03af6cd4ec0305
e2cd117b1060d445d0c6825b4761dc8d9d261a59
/2020/algorithm/앨리스코딩/6. 0 이동시키기.py
6476493c4bdbd3ab90e1098ac3ac28208bbf5509
[]
no_license
winterash2/TIL
856fc55f076a6aadff60e6949a3ce44534e24eda
9b8e93e4eacce2644a9a564e3b118bb00c3f4132
refs/heads/master
2023-06-12T23:58:00.192688
2021-07-04T14:20:30
2021-07-04T14:20:30
288,957,710
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
# 0 이동시키기 # 여러개의 0과 양의 정수들이 섞여 있는 배열이 주어졌다고 합시다. 이 배열에서 0들은 전부 뒤로 빼내고, 나머지 숫자들의 순서는 그대로 유지한 배열을 반환하는 함수를 만들어 봅시다. # 예를 들어서, [0, 8, 0, 37, 4, 5, 0, 50, 0, 34, 0, 0] 가 입력으로 주어졌을 경우 [8, 37, 4, 5, 50, 34, 0, 0, 0, 0, 0, 0] 을 반환하면 됩니다. # 이 문제는 공간 복잡도를 고려하면서 풀어 보도록 합시다. 공간 복잡도 O(1)으로 이 문제를 풀 수 있을까요? # def moveZerosToEnd(nu...
[ "winterash2@naver.com" ]
winterash2@naver.com
61ecce1e44b4d35a64266562120e27f0ca389441
7b5c1352e1a4fb8352161cc135bfd1225a633828
/2017-cvr-tencent-final/src/data_process/shuffle.py
7e0c621d4a5903ba07e6d2e8d4dffff21d9be4f3
[]
no_license
zgcgreat/2017-cvr-tencent
b7f54ae8df55fbb30f2430f695a148844982aa3a
fe79d0756bbf862d45e63e35b7c28da8396bcbda
refs/heads/master
2021-04-03T08:32:33.651705
2018-07-17T08:36:53
2018-07-17T08:36:53
124,724,199
6
3
null
null
null
null
UTF-8
Python
false
false
559
py
# _*_ coding: utf-8 _*_ ''' 打乱数据集顺序 ''' import random import time start = time.time() print('shuffling dataset...') input = open('../../data/traincp.csv', 'r') output = open('../../data/train_data/train.csv', 'w') lines = input.readlines() outlines = [] output.write(lines.pop(0)) # pop()方法, 传递的是待删除元素的index whil...
[ "1107630485@qq.com" ]
1107630485@qq.com
4d33eb0ee9a1b6f8917d7d2ffbe3b0a8693c4976
07bd6d166bfe69f62559d51476ac724c380f932b
/devel/lib/python2.7/dist-packages/webots_demo/srv/_motor_set_control_pid.py
cc26f674b3a03915318d6b15b213af63468ca3be
[]
no_license
Dangko/webots_differential_car
0efa45e1d729a14839e6e318da64c7f8398edd17
188fe93c2fb8d2e681b617df78b93dcdf52e09a9
refs/heads/master
2023-06-02T16:40:58.472884
2021-06-14T09:19:58
2021-06-14T09:19:58
376,771,194
1
0
null
null
null
null
UTF-8
Python
false
false
8,158
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from webots_demo/motor_set_control_pidRequest.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class motor_set_control_pidRequest(genpy.Message): _md5sum =...
[ "1477055603@qq.com" ]
1477055603@qq.com
3bd486d899d983a5806e09c4acf7cbbd5d851437
c3760e71f4024a9610bdde03de84a0c406601e63
/baiTapVN2.py
a4123564c7dfa336d2714212fc79c931f3b2bea1
[]
no_license
thuongtran1210/Buoi3
3abe6040b15f48cf04bb39da10b5588254d7514f
f62fbf75ff0a0de89acfd122a0a70be44162468a
refs/heads/master
2022-12-28T22:26:21.288946
2020-10-04T16:43:23
2020-10-04T16:43:23
301,168,792
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
# ----Bài 02: Viết hàm # def reverse_string(str) # trả lại chuỗi đảo ngược của chuỗi str # -------------------------------------------------------------- def reverse_string(str): return str[::-1] str=input("Nhập số nghịch đảo: ") print(f"Sau khi nghịch đảo: {reverse_string(str)}")
[ "you@example.com" ]
you@example.com
f5db65735ebada9140b63f4d29e2e61a85008ae1
ce55c319f5a78b69fefc63595d433864a2e531b5
/前后端分离-vue-DRF/houfen_DRF-projects/14day/zhuce_denglu/util/throttle.py
e3aab6ab4c5ccccbd9b04f6a13ac2cc5b000a29b
[]
no_license
Suijng/1809_data
a072c875e8746190e3b715e53f1afe3323f4666b
45f8a57089f5c30ccc1a3cddb03b76dc95355417
refs/heads/master
2022-12-21T12:38:30.458291
2019-09-27T01:14:41
2019-09-27T01:14:41
211,207,071
0
0
null
2022-11-22T03:16:18
2019-09-27T00:55:21
HTML
UTF-8
Python
false
false
2,077
py
from rest_framework.throttling import SimpleRateThrottle import time class MyScopedRateThrottle(SimpleRateThrottle): scope = 'unlogin' def get_cache_key(self, request, view): """ Should return a unique cache-key which can be used for throttling. Must be overridden. May return...
[ "1627765913@qq.com" ]
1627765913@qq.com
e2ee0e7695e88092fc028728b0f13572aeebd631
5b771c11e8967038025376c6ec31962ca90748dd
/insurance/insurance_reminder/urls.py
f00b885bb1c629961284a04ee7869785729b4efd
[]
no_license
AsemAntar/Django_Projects
7135eca3b4bcb656fc88e0838483c97d7f1746e1
4141c2c7e91845eec307f6dd6c69199302eabb16
refs/heads/master
2022-12-10T06:32:35.787504
2020-05-26T14:43:01
2020-05-26T14:43:01
216,863,494
0
0
null
2022-12-05T13:31:53
2019-10-22T16:47:28
Python
UTF-8
Python
false
false
222
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include('guest_registeration.urls')), path('users/', include('users.urls')), ]
[ "asemantar@gmail.com" ]
asemantar@gmail.com
dfece195db40ed9971ed5c97d130ee352f56a42f
7cca7ed981242788687db90d8f3a108bbcf4c6f9
/pretrain_CNN_fix_parameter_DQN/pretrain_env.py
595cbcee11364c4d917fb8941b8da2fce8d8ac1a
[]
no_license
Ryanshuai/robot_round_catch
7204e1cf9927672257d542afc7a00bd710f5e243
1175fb3df0ae7ec395b85dfbfbcbb60a79878024
refs/heads/master
2021-09-09T23:08:59.680793
2018-03-20T06:32:51
2018-03-20T06:32:51
94,294,080
0
0
null
null
null
null
UTF-8
Python
false
false
7,212
py
""" This part of code is the environment. Using Tensorflow to build the neural network. """ import numpy as np import tensorflow as tf import pygame from random import uniform FPS = 90 SCREEN_WHIDTH = 672 SCREEN_HEIGHT = 672 # init the game pygame.init() FPSCLOCK = pygame.time.Clock() screen = pygame.display.set_mod...
[ "1018718155@qq.com" ]
1018718155@qq.com
f96b6f6fb6ba491017ce77ff995c18a718e4bf44
d2e8ad203a37b534a113d4f0d4dd51d9aeae382a
/django-koldar-utils/django_koldar_utils/django_toolbox/conf/DictSettingMergerAppConf.py
82a1709767e65cb47e03e5e6f5f95f2f0dbda8dc
[ "MIT" ]
permissive
Koldar/django-koldar-common-apps
40e24a7aae78973fa28ca411e2a32cb4b2f4dbbf
06e6bb103d22f1f6522e97c05ff8931413c69f19
refs/heads/main
2023-08-17T11:44:34.631914
2021-10-08T12:40:40
2021-10-08T12:40:40
372,714,560
0
0
null
null
null
null
UTF-8
Python
false
false
2,166
py
from appconf import AppConf class DictSettingMergerAppConf(AppConf): """ A derived class of AppConf that automatically merge the configurations from settings.py and the default ones. In the settings you should have: .. ::code-block:: python APPCONF_PREFIX = { "SETTINGS...
[ "massimobono1@gmail.com" ]
massimobono1@gmail.com
85d08bd8390cacd47b28abaea8585359bc9b16a8
d0d3d2b68c7ae9c6b374bf9cc574bb9571076d5e
/models/model_selection.py
a895a9ddcf5a3cc5fddf1da42389f67e5b9bfd99
[]
no_license
gustafholst/hitmusicnet
f5fda86fef9c3c4684b97d432d4f2403e05b6458
eb3c43845e5cedde0c19f907cbaf9d7d71530beb
refs/heads/master
2023-03-20T11:03:56.730327
2020-01-27T16:01:22
2020-01-27T16:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,272
py
def select_model(model_val=1): model_args = {} if model_val == 1: model_args = {'model_name': 'model_1_A', 'model_dir': 'saved_models', 'model_subDir': 'feature_compressed', 'input_dim': 97, 'output_dim': 1, 'optimizer': 'adadelta', 'metr...
[ "=" ]
=
0fba8a6c3f9302d8cd7becf379dc74a91b648a1d
c00724308e01332418f539d9a1bedca09696a253
/setup.py
5dd977999e08b6a1a2de1dfef1be84c049522d99
[ "MIT" ]
permissive
felipecolen/pycep-correios
f8b53efc939e48ef71caedcf1136d941d18d4d89
7c6c734c4bd3205bdca2f9b1bf4463045a96c8ef
refs/heads/master
2021-01-22T08:28:18.083461
2016-07-31T20:10:47
2016-07-31T20:10:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,091
py
# -*- coding: utf-8 -*- # ############################################################################# # The MIT License (MIT) # # Copyright (c) 2016 Michell Stuttgart # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software")...
[ "michellstut@gmail.com" ]
michellstut@gmail.com
edb2a540151d4958fb9579f831a30f731284d00c
bde9a6e8a2aee89572dac4872b8263e42c13a142
/gestalt/estimator_wrappers/wrap_r_ranger.py
1a9202cf794666f79f719d6e7aa1ad2e5c8ce4f8
[ "MIT" ]
permissive
chrinide/gestalt
b1ee66971007139b6e39b5c3dbd43a562bf5caee
f8f24d1fa879851ba989b244f71b348e995e221c
refs/heads/master
2021-01-20T08:07:18.877738
2017-05-01T06:08:26
2017-05-01T06:08:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,696
py
# import sklearn BaseEstimator etc to use import pandas as pd from rpy2 import robjects as ro from rpy2.robjects import pandas2ri from rpy2.robjects.packages import importr from sklearn.base import BaseEstimator from sklearn.base import ClassifierMixin # Activate R objects. pandas2ri.activate() R = ro.r # import the ...
[ "you@example.com" ]
you@example.com
4257890a7490b2def67115c1e7771a15801e77b2
ae652aec76faffce67e85922d73a7977df95b3b6
/util.py
e7527c2069a3f57700ad3025738fe7bf868ece28
[]
no_license
wwq0327/note
e75964e0539a9efce0889b7774f78da0bcdff7fb
f893e851cb85b974bfbf5917a7fa5845b2f20eac
refs/heads/master
2020-05-18T07:57:33.446712
2011-11-13T13:40:07
2011-11-13T13:40:07
2,765,724
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ util ~~~~~~~~~~~~~~~~~~~~ :date: 2011-10-17 """ def lines(file): '''在文本的最后一行加入一个空行''' for line in file: yield line yield '\n' def blocks(file): '''收集遇到的所有行,直接遇到一个空行,然后返回已经收集到的行。 那些返回的行就是一个代码块 ''' block = [] ...
[ "wwq0327@gmail.com" ]
wwq0327@gmail.com
425a35d7f2a14880501a7ed5d0ae0c3945f95335
1ca1799ce0abe12e37cf2893af2dd6fcf784317c
/env/bin/easy_install-3.6
134cb8672b89aa373c27aab0a51561c722a4558d
[]
no_license
anubishere/projekt_eita15
93c542e8c10ada5bc469c8e5cdca48506405f872
d1bc9b3e11917d6aaf942a95bb2bbdd370e91c45
refs/heads/master
2021-02-16T05:36:26.032675
2020-03-04T18:10:56
2020-03-04T18:10:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
6
#!/home/victor/skola/kurser/digitala_system/projekt_eita15/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "victorkrook96@gmail.com" ]
victorkrook96@gmail.com
4d8a89ad46d29396654cfe3031188c065de896cd
781b9a4a1098f3ac339f97eb1a622924bcc5914d
/Exercices/S1_04_AlgorithmesDichotomiques/TP05c.py
f1d7d9d939d0575e3055f1da3e04e0ed8b98dfbb
[]
no_license
xpessoles/Informatique
24d4d05e871f0ac66b112eee6c51cfa6c78aea05
e8fb053c3da847bd0a1a565902b56d45e1e3887c
refs/heads/main
2023-08-30T21:10:56.788526
2023-08-30T20:17:38
2023-08-30T20:17:38
375,464,331
2
0
null
null
null
null
UTF-8
Python
false
false
4,235
py
##### TP 5 ##### Recherche dans une liste triée. ## I.1 ## Q1 # g=0, d=8 # m=4, L[m]=11 et 5 < 11, on pose g=0, d=3 # m=2, L[m]=5. On a trouvé x0 # g=0, d=8 # m=4, L[m]=8 et 8<11, on pose g=5, d=8 # m=6, L[m]=13 et 11<13, on pose g=5, d=5 # m=5, L[m]=10 et 10<11, on pose g=6, d=5. On s'arrête. ## Q2 def dichoto...
[ "xpessoles.ptsi@free.fr" ]
xpessoles.ptsi@free.fr
f73d54fdd4af870903d5e22391dbe348021ff86f
ffc1ab091d54635c96cd4ed6098c4bf388222f02
/nipype/nipype-master/nipype/interfaces/afni/tests/test_auto_Qwarp.py
2848fe97f8622750e68d5cf9d3e43276808c0a92
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bharathlakshman/brainintensive
fc7833078bb6ad9574e015004f2b3905c85b699e
eec8a91cbec29ba27d620984394d3ee21d0db58f
refs/heads/master
2021-01-01T19:04:25.724906
2017-07-28T01:48:28
2017-07-28T01:48:28
98,499,935
1
2
null
null
null
null
UTF-8
Python
false
false
3,792
py
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from __future__ import unicode_literals from ..preprocess import Qwarp def test_Qwarp_inputs(): input_map = dict(Qfinal=dict(argstr='-Qfinal', ), Qonly=dict(argstr='-Qonly', ), allsave=dict(argstr='-allsave', xor=['nopadWARP', 'duplo', 'plu...
[ "ibharathlakshman@gmail.com" ]
ibharathlakshman@gmail.com
6ef29292a7e42861fa5c76bb43f7c074044b2706
2850d9adba96bc4e73185de5d6adebf363a5c534
/tce/tcloud/clb/InquiryLBPrice.py
8d39cc90ea056cc0f7f42b894868a5e5193ddabb
[ "Apache-2.0" ]
permissive
FatAnker/tencentcloud-sdk-python
d8f757b12ad336e78a06b68a789ecc3c86d1d331
d6f75a41dc7053cb51f9091f4d41b8cb7a837559
refs/heads/master
2020-04-30T22:34:16.740484
2019-04-28T11:14:11
2019-04-28T11:14:11
177,122,691
0
1
null
2019-03-22T10:46:01
2019-03-22T10:46:01
null
UTF-8
Python
false
false
1,376
py
# -*- coding: utf8 -*- from QcloudApi.qcloudapi import QcloudApi from tce.tcloud.utils.config import global_config # 设置需要加载的模块 module = 'lb' # 对应接口的接口名,请参考wiki文档上对应接口的接口名 action = 'InquiryLBPrice' region = global_config.get('regions') params = global_config.get(region) secretId = params['secretId'] secretKey = params...
[ "1113452717@qq.com" ]
1113452717@qq.com
becdb112bb47e331e0ba9f6b5eb175b7e8f43035
3c6b36eb1f4f9760c52903f6d0ec4a501f948c90
/osp/test/citations/utils/test_get_text.py
663abb8fd5fc80e075106a2ff9727effea40b0c3
[ "Apache-2.0" ]
permissive
davidmcclure/open-syllabus-project
38444249af845013e3f281a7a713dca83159c56e
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
refs/heads/master
2021-06-30T21:47:07.636558
2021-06-27T15:15:35
2021-06-27T15:15:35
50,152,020
220
14
Apache-2.0
2021-06-27T15:11:15
2016-01-22T02:29:57
Python
UTF-8
Python
false
false
501
py
import pytest from osp.citations.utils import get_text from bs4 import BeautifulSoup @pytest.mark.parametrize('tag,text', [ ('<tag>Article Title</tag>', 'Article Title'), # Strip whitespace. ('<tag> Article Title </tag>', 'Article Title'), # Empty text -> None. ('<tag></tag>', None), (...
[ "davidwilliammcclure@gmail.com" ]
davidwilliammcclure@gmail.com
32273e37f6ed947cad8183262e2fbe2b5511c0bf
e42c337b179ea9e85c41c992d1440dbdd10e4bdb
/solution/leetcode/120.py
18bddd5d74b8a75dc62e353f0e5eb862930701c7
[]
no_license
harshraj22/problem_solving
7733a43e2dcbf507257e61732430d5c0fc1b4cb9
2c7d1ed486ae59126244168a446d74ae4fdadbc6
refs/heads/master
2023-05-26T12:58:40.098378
2023-05-12T17:53:11
2023-05-12T17:53:11
193,202,408
20
5
null
2022-08-03T16:40:45
2019-06-22T06:58:09
C++
UTF-8
Python
false
false
501
py
# https://leetcode.com/problems/triangle/ class Solution: from math import inf def minimumTotal(self, triangle: List[List[int]]) -> int: # create a copy dp = [[inf for _ in row] for row in triangle] dp[0][0] = triangle[0][0] for i, row in enumerate(dp[:-1]): for j, cell in enumerate(row): try: ...
[ "harshraj22aug@gmail.com" ]
harshraj22aug@gmail.com
495ce2f9cfe10accb714b8a7ae55e59dcd8e762c
eec105101d7a82d0551503100a3bd9a1a2af3b3c
/Assignments/a5_public/code/char_decoder.py
180d88968e8b831c9cb4d68b2702a7a64917d69a
[]
no_license
ethanenguyen/Stanford-CS224n-NLP
807c36cf67f8aade5b1ca7bfd5878ac354e96bbb
181c659dbb0e0a1a1c3865a336fd74c8ebc5633e
refs/heads/master
2022-03-28T04:16:01.236240
2020-01-14T13:52:21
2020-01-14T13:52:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,318
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CS224N 2018-19: Homework 5 """ import torch import torch.nn as nn class CharDecoder(nn.Module): def __init__(self, hidden_size, char_embedding_size=50, target_vocab=None): """ Init Character Decoder. @param hidden_size (int): Hidden size of the ...
[ "daviddwlee84@gmail.com" ]
daviddwlee84@gmail.com
bb5554675b64f4e7bfbfe07ba6ff2472ec4f1c0e
ac0c96ad280ac43de9c06ba21a1cbe2b1679b2f9
/minidump/streams/HandleOperationListStream.py
3e3e7422e7caf3d7beec41f6aea2c8b0d753690a
[ "MIT" ]
permissive
mkorman90/minidump
5cfc9e7119f68e91e77e0039b7c364d46b769e39
749e6da56d0ea414450c287caa4ecfb292197b59
refs/heads/master
2020-05-09T23:39:29.089331
2018-06-17T14:51:30
2018-06-17T14:51:30
181,508,823
3
0
MIT
2019-04-15T14:53:20
2019-04-15T14:53:20
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python3 # # Author: # Tamas Jos (@skelsec) # class MINIDUMP_HANDLE_OPERATION_LIST: def __init__(self): self.SizeOfHeader = None self.SizeOfEntry = None self.NumberOfEntries = None self.Reserved = None def parse(dir, buff): mhds = MINIDUMP_HANDLE_OPERATION_LIST() mhds.SizeOfHeader = int....
[ "info@skelsec.com" ]
info@skelsec.com
c3418c0bc14439f3a396442041af6a15d8b775f9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03096/s362138423.py
0610f35f78b278535f070e6f3b9519ef3b0d4fe8
[]
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
754
py
MOD = 10**9+7 N = int(input()) C = [] C.append(int(input())) for i in range(N-1): c = int(input()) if c == C[-1]: continue C.append(c) #print(C) N = len(C) lis = [[0] for i in range(max(C)+1)] for i in range(N): lis[C[i]].append(i+1) for i in range(len(lis)): lis[i].append(MOD) def binary_s...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
88cc90c811bf40584e981843c0665460c3140aad
3ae288daabf10b5f3dd5f09bb7bb974a6caacdaf
/processimage/cropimage/urls.py
24083c8f8536913662bc82f1876b785f6dd67890
[ "MIT" ]
permissive
singh1114/image-processor
62ab01f9b87b6deda5debb010feeb4c74135c39b
a2b6e8fcb64b1449859a06775b2d7b3a0205e952
refs/heads/master
2022-12-13T21:44:56.316988
2019-02-04T06:13:05
2019-02-04T06:13:05
167,675,243
0
0
MIT
2022-12-08T01:35:03
2019-01-26T10:12:44
Python
UTF-8
Python
false
false
483
py
from django.urls import path from cropimage.views import ( ImageUploadView, ShowMainImagesView, ShowCroppedImagesView ) app_name = 'cropimage' urlpatterns = [ path('upload_image/', ImageUploadView.as_admin_view(), name='upload'), path('show_main_images/', ShowMainImagesView.as_admin_vie...
[ "ranvir.singh1114@gmail.com" ]
ranvir.singh1114@gmail.com
13eb9d5df7bd1b66c602bda0c55492a22a3cfd1b
0f946e4bbad3a44339e75893fbd185ae1fb25f67
/lesson13/utils.py
1444b0df757759af65c486ab2bbd1f438df459bd
[]
no_license
kirigaikabuto/distancelesson2
e53dda7d8a07ea5c4ec2e7a39a47619b533a5df8
24cf61d34334fa2d6a736a81d4bc75170db2a2ad
refs/heads/master
2022-07-03T07:16:47.588461
2020-05-13T13:50:54
2020-05-13T13:50:54
254,647,334
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
def create_student(line): parts=line.split(",") name = parts[0] age = int(parts[1]) marks_str = parts[2] marks_str_arr = marks_str.split(" ") marks_int_arr = [int(i) for i in marks_str_arr] d={} d['name']=name d['age']=age d['marks']=marks_int_arr return d def print_arr(arr):...
[ "ytleugazy@dar.kz" ]
ytleugazy@dar.kz
5474853aa0063918f02b655556ab3268ea02e12a
edb699b1a63c3412e5a8788e32b26690c707ce2e
/rdconf.py
1c57f37d1fefcab9072488d13dec9db4abe06cb2
[ "MIT" ]
permissive
dkoes/rdkit-scripts
518fe55058524ddd3a4f5ad4f0dd3d125a73f01a
71cf2ccc4b26eb1541cc63690f40aa24b195fe8d
refs/heads/master
2022-07-14T19:04:18.760183
2022-07-01T12:39:32
2022-07-01T12:39:32
72,130,300
48
32
MIT
2019-04-15T18:46:27
2016-10-27T17:09:14
Python
UTF-8
Python
false
false
6,117
py
#!/usr/bin/python3 import sys,string,argparse from rdkit.Chem import AllChem as Chem from optparse import OptionParser import os, gzip '''Given a smiles file, generate 3D conformers in output sdf. Energy minimizes and filters conformers to meet energy window and rms constraints. Some time ago I compared this to al...
[ "dkoes@pitt.edu" ]
dkoes@pitt.edu
db508cd4bcd3fa891bbd1f0067a4bb8269d2f093
3378bf2ebcd3cd794b26b74f033932cb0c6a6590
/tuframework/network_architecture/cotr/DeTrans/ops/functions/ms_deform_attn_func.py
ce8862f5fc39e40bd00747c8d9c65fcffb6118b3
[ "Apache-2.0" ]
permissive
Magnety/tuFramework
d3d81f0663edbffbdd9b45138cbca82ffb78f03e
b31cb34d476ef306b52da955021f93c91c14ddf4
refs/heads/master
2023-05-01T04:36:04.873112
2021-05-18T01:07:54
2021-05-18T01:07:54
361,652,585
0
0
null
null
null
null
UTF-8
Python
false
false
1,271
py
import torch import torch.nn.functional as F from torch.autograd import Function from torch.autograd.function import once_differentiable def ms_deform_attn_core_pytorch_3D(value, value_spatial_shapes, sampling_locations, attention_weights): N_, S_, M_, D_ = value.shape _, Lq_, M_, L_, P_, _ = sampling_location...
[ "liuyiyao0916@163.com" ]
liuyiyao0916@163.com
ef258bb106bc53bf5ed4c1a06b980d66154f5206
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_Class783.py
22d75780c4d05107a506bcec34d8229140243599
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,189
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=20 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode def make_circuit(n: int, input_qubit): c = cirq.Ci...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
df0e78b60bfc72c412b3fa914ea00ef5c830d3b3
234df74b8d2ff67e1ec1e44df6128e9506ad8ab1
/sgim/apps/catalogo/views.py
f2afa8b7e3b90431b4c76df2159ca9f2a62b26f6
[]
no_license
edxavier/tesis2015
c1289bc648c054edde082e200beda1cfb6e9e27f
d04b20b67f9f1ef2e6d97a18b7bfa6466223384f
refs/heads/master
2021-01-23T03:33:27.149595
2016-02-17T21:51:37
2016-02-17T21:51:37
33,018,981
0
0
null
null
null
null
UTF-8
Python
false
false
2,473
py
from django.shortcuts import render from django.views.generic import View from django.http import JsonResponse from rest_framework import viewsets from .serializers import (TipoDispSerializer, EdificioSerializer, OficinaSerializer, EstadoOpeSerializer, SistemaSerializer, ...
[ "edxavier05@gmail.com" ]
edxavier05@gmail.com
8d59c63bb569d0b06ceed76e1ba3e92ddfc89ae5
612325535126eaddebc230d8c27af095c8e5cc2f
/src/build/android/pylib/utils/device_dependencies_test.py
40a9c3791fd32e20a2ab0f1ae30c53831e561944
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
#! /usr/bin/env python # Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import unittest from pylib import constants from pylib.utils import device_dependencies class DevicePathCompo...
[ "2100639007@qq.com" ]
2100639007@qq.com
5a083a5caacded4d0503d61b1eed6d0a6b641e29
0cf6728548830b42c60e37ea1c38b54d0e019ddd
/Learning_Quant/python金融大数据挖掘与分析全流程详解/chapter12.py
05cc6faabfc1d70c38f3d38fc05b14eb7a328704
[]
no_license
MuSaCN/PythonLearning
8efe166f66f2bd020d00b479421878d91f580298
507f1d82a9228d0209c416626566cf390e1cf758
refs/heads/master
2022-11-11T09:13:08.863712
2022-11-08T04:20:09
2022-11-08T04:20:09
299,617,217
2
2
null
null
null
null
UTF-8
Python
false
false
2,889
py
# Author:Zhang Yuan from MyPackage import * import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.patches as patches import seaborn as sns import statsmodels.api as sm from scipy import stats #------------------------------------------------------------ __mypath__ = MyPath.MyClass_Pa...
[ "39754824+MuSaCN@users.noreply.github.com" ]
39754824+MuSaCN@users.noreply.github.com
fb63f6ee8a057a30027089c59c6d5ccb87cc6dc9
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/kikoAnalysis/slpDailyMeanFiles/43-tideGauge.py
4657f7de0acc7b31a05efa28139e82d5dd1442be
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
# -*- coding: utf-8 -*- """ Created on Tue Sep 29 09:40:12 2020 @author: Michael Tadesse """ import os import pandas as pd dir_in = "/lustre/fs0/home/mtadesse/eraFiveConcat" dir_out = "/lustre/fs0/home/mtadesse/dailyPred" os.chdir(dir_in) tgList = os.listdir() x = 43 y = 44 #looping through individual tide gauge...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
73f7923b5825d9bf1260499fa1cc901620659557
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/Gio/UnixInputStreamClass.py
83dcff9394d0a3fa7e5dbf2594bcb42187c4ab48
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
5,125
py
# encoding: utf-8 # module gi.repository.Gio # from /usr/lib64/girepository-1.0/Gio-2.0.typelib # by generator 1.147 # no doc # imports import gi as __gi import gi.overrides as __gi_overrides import gi.overrides.Gio as __gi_overrides_Gio import gi.overrides.GObject as __gi_overrides_GObject import gi.repository.GObjec...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
f27837e23b09a26eefdf2310dfb8b68e4031e84d
0822d36728e9ed1d4e91d8ee8b5ea39010ac9371
/robo/pages/mato_grosso_do_sul/jd1noticias.py
738245155ef16987361a670e3484ee9f0add3ad5
[]
no_license
diegothuran/blog
11161e6f425d08bf7689190eac0ca5bd7cb65dd7
233135a1db24541de98a7aeffd840cf51e5e462e
refs/heads/master
2022-12-08T14:03:02.876353
2019-06-05T17:57:55
2019-06-05T17:57:55
176,329,704
0
0
null
2022-12-08T04:53:02
2019-03-18T16:46:43
Python
UTF-8
Python
false
false
924
py
# coding: utf-8 import sys sys.path.insert(0, '../../../blog') from bs4 import BeautifulSoup import requests from robo.pages.util.constantes import PAGE_LIMIT GLOBAL_RANK = 1125849 RANK_BRAZIL = 31946 NAME = 'jd1noticias.com' def get_urls(): try: urls = [] for i in range(1, PAGE_LIM...
[ "diego.thuran@gmail.com" ]
diego.thuran@gmail.com
299c3360d98aebb3d35976830345e1b5570228f7
5ae3bc1920fafc33693cdfa3928a48158aa6f725
/315/315-Segment.py
d49170abb3a3388d343616b67714c0002c5e9626
[]
no_license
sjzyjc/leetcode
2d0764aec6681d567bffd8ff9a8cc482c44336c2
5e09a5d36ac55d782628a888ad57d48e234b61ac
refs/heads/master
2021-04-03T08:26:38.232218
2019-08-15T21:54:59
2019-08-15T21:54:59
124,685,278
0
0
null
null
null
null
UTF-8
Python
false
false
2,317
py
class SegmentTreeNode: def __init__(self, start, end, val): self.start = start self.end = end self.val = val self.left = self.right = None class SegmentTree: def __init__(self, n): self.root = self.build(0, len(n) - 1, n) def build(self, start, end, ...
[ "jcyang@MacBook-Air.local" ]
jcyang@MacBook-Air.local
c9135d8bc839acb9df559e73377e0df9a5dc5901
edb10a06f56d9bd19b0b60581728900a03d9732a
/Python/leetcode/Anagrams.py
ca5c1a364909e0a69634540c9097753018bccfff
[ "MIT" ]
permissive
darrencheng0817/AlgorithmLearning
3ba19e6044bc14b0244d477903959730e9f9aaa8
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
refs/heads/master
2021-01-21T04:26:14.814810
2019-11-22T06:02:01
2019-11-22T06:02:01
47,100,767
2
0
null
null
null
null
UTF-8
Python
false
false
409
py
''' Created on 1.12.2016 @author: Darren '''''' Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: [ ["ate", "eat","tea"], ["nat","tan"], ["bat"] ] Note: For the return value, each inner list s element...
[ "darrencheng0817@gmail.com" ]
darrencheng0817@gmail.com
df69ecd68dbc05aa63ae2dc25a88a9c5272233bc
cec916f882afbd09fe68f6b88879e68eaea976f6
/bigmler/resourcesapi/fusions.py
1c8a17d3f87803d2ed503abbe367ac47e23f8336
[ "Apache-2.0" ]
permissive
jaor/bigmler
d86db6d7950768d7ba3e21b5f29bc265467f4cad
bbf221e41ef04e8d37a511a35a63216b64689449
refs/heads/master
2023-04-26T12:07:49.428263
2023-04-12T15:22:20
2023-04-12T15:22:20
15,663,632
0
0
null
null
null
null
UTF-8
Python
false
false
5,785
py
# -*- coding: utf-8 -*- # # Copyright 2020-2023 BigML # # 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 ...
[ "merce@bigml.com" ]
merce@bigml.com
8b298efd886c26c6cc53a15b22eb5b96064022d5
7d7da2d78526436aedbe44f2a1b26f31409993f5
/ABOUT/views.py
5c8a785178e768c6719b4701506222f43a77f655
[]
no_license
Arif553715/NGO
c4042b59a96de0b1f8c74f73ca166aa03ed6223c
7a901931dd70702e6e81d8e0880bca962da09443
refs/heads/master
2020-05-06T20:32:42.036796
2019-04-18T09:36:17
2019-04-18T09:36:17
180,239,663
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
from django.shortcuts import render,HttpResponse,get_object_or_404 from .models import Author1,Artical,Catagory,Our_Team # Create your views here. # start blogapp def about(request): context={'post':Artical.objects.all(), 'teams':Our_Team.objects.all()} return render(request,'about.html',context)...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b9603c227e39f7d5e195f02d9a03afe31a826525
f9f2d8064943906e8ee0d305d405ca1e5dd0a6b7
/Hysteresis_Measurement/tooltip.py
d252b1f9c6760bf06e328eb70ab58b3b73bb2afb
[]
no_license
Jeffrey-Ede/Atomic-Force-Microscopy
a46930657b256f4dc772c1b2130a55486dbb6e2b
7df834b17ad9974016b02a72711f8847f6b15d4d
refs/heads/master
2021-01-18T12:06:38.779728
2017-10-06T07:24:12
2017-10-06T07:24:12
100,364,689
4
1
null
null
null
null
UTF-8
Python
false
false
1,336
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 15 22:48:56 2017 @author: Jeffrey Ede """ import tkinter as Tk class ToolTip(object): def __init__(self, widget): self.widget = widget self.tipwindow = None self.id = None self.x = self.y = 0 def showtip(self, t...
[ "noreply@github.com" ]
Jeffrey-Ede.noreply@github.com
a4e87d3fbf5daf9bafa306e7e3ed00ae74f7e018
13cccbc1bbaec02f53d2f4e654d480512f6c2bb5
/binary-search/leetcode-tutorial/Search_in_Rotated_Sorted_Array.py
5d641e52117e3dc735343227c664d4231e10097f
[]
no_license
sjdeak/interview-practice
580cc61ec0d20d548bbc1e9ebebb4a64cd7ac2dc
1746aaf5ab06603942f9c85c360e319c110d4df8
refs/heads/master
2020-07-20T21:06:23.864208
2019-09-08T10:54:16
2019-09-08T10:54:16
206,709,284
2
0
null
null
null
null
UTF-8
Python
false
false
2,079
py
# https://leetcode.com/explore/learn/card/binary-search/125/template-i/952/ import os, sys, shutil, glob, re import time, calendar from datetime import datetime, timezone import hashlib, zipfile, zlib from math import * from operator import itemgetter from functools import wraps, cmp_to_key from itertools import count,...
[ "sjdeak@yahoo.com" ]
sjdeak@yahoo.com
349b2be9f926e5186d63da726ea61cc465eb15c3
a685fa36823caa4b910969e80adbcae4f2829bd6
/python_Fundamentals/Find_Characters.py
70a7927579c0dbc033b28e77130ce161b8d75be1
[]
no_license
hmp36/Python
35e4fbc003b216ca6c7c45c558dd4f24edba5b9a
dcddf40a0428542d78f2e32d4755b54ebdaadffd
refs/heads/master
2021-09-15T01:35:41.013949
2018-05-23T13:05:59
2018-05-23T13:05:59
112,358,856
1
0
null
null
null
null
UTF-8
Python
false
false
302
py
#find_characters def find_character(word_list, char): new_list = [] for i in range(0, len(word_list)): if word_list[i].find(char) != -1: new_list.append(word_list[i]) print new_list test_list = ['hello','world','my','name','is','Hagan'] find_character(test_list,'o')
[ "haganpratt@gmail.com" ]
haganpratt@gmail.com
61723176d8f107f09aa921c5b13fd058568de260
85e27209a7df58f76ab0f9f2ed13b1c6ac31ffc9
/src_python/habitat_sim/utils/gfx_replay_utils.py
f4a40ecbd3f41db0fa440ce577fe25b83c0612c5
[ "CC-BY-4.0", "CC-BY-3.0", "MIT" ]
permissive
facebookresearch/habitat-sim
72a78877c412fef1d42a553f896654c71c54d245
6f46bccc1733f4cec30b89d994ac55df2b46eb4a
refs/heads/main
2023-09-03T00:17:30.809849
2023-08-29T16:06:16
2023-08-29T16:06:16
169,164,539
1,924
432
MIT
2023-09-14T17:12:21
2019-02-04T23:14:28
C++
UTF-8
Python
false
false
1,009
py
# Copyright (c) Meta Platforms, 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 magnum as mn import habitat_sim def add_node_user_transform(sim, node, name): translation = node.absolute_translation ro...
[ "noreply@github.com" ]
facebookresearch.noreply@github.com
6001ba346612f6f193597608f08320170e40f44b
05f668036da3c4295b7f5282b7a7c9bd387bdd0b
/spiders/start.py
1df95b4204485539feeb2f92e43feb231c054bc9
[ "MIT" ]
permissive
ProgramRipper/biliob-spider
8ae476f7ab096734ac9c24c3318f98ee41af8c7f
2fe3d5fd91bb301dd0d0eb21d03153d6882f6bcf
refs/heads/master
2022-04-11T09:51:42.037081
2020-03-23T16:31:12
2020-03-23T16:31:12
312,482,354
0
0
MIT
2023-05-17T00:33:30
2020-11-13T05:32:19
null
UTF-8
Python
false
false
1,500
py
from time import sleep import datetime import schedule import psutil import os def find_procs_by_name(name): "Return a list of processes matching 'name'." ls = [] for process in psutil.process_iter(): try: for each in process.cmdline(): if name in each: ls.append(process.pid) ...
[ "jannchie@gmail.com" ]
jannchie@gmail.com
ef2e356bf57c377f09b460ddb28b36cf239114ae
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/hackerrank/HackerrankPractice-master/Algorithms/01. Warmup/008. Mini-Max Sum.py
426a1546f2599b3b1e1a4fc95470f8d1c9f0422f
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
162
py
# Problem: https://www.hackerrank.com/challenges/mini-max-sum/problem # Score: 10 arr l.. m..(i.., i.. ).s..())) print(s..(arr) - m..(arr), s..(arr) - m..(arr
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
18927a4d6c41ee8f5750ed1b5eee62ec6a794d33
bdccb54daf0d0b0a19fabfe9ea9b90fcfc1bdfbf
/Interview Preparation Kits/Interview Preparation Kit/Miscellaneous/Flipping Bits/flipping_bits.py
cd52f26938ced69241748542cf1618a1bdcac0d9
[ "MIT" ]
permissive
xuedong/hacker-rank
aba1ad8587bc88efda1e90d7ecfef8dbd74ccd68
1ee76899d555850a257a7d3000d8c2be78339dc9
refs/heads/master
2022-08-08T07:43:26.633759
2022-07-16T11:02:27
2022-07-16T11:02:27
120,025,883
1
0
null
null
null
null
UTF-8
Python
false
false
410
py
#!/bin/python3 import math import os import random import re import sys # Complete the flippingBits function below. def flippingBits(n): return ~n & 0xffffffff if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') q = int(input()) for q_itr in range(q): n = int(input()) ...
[ "shang.xuedong@yahoo.fr" ]
shang.xuedong@yahoo.fr
796fb3923593aff09a76764b03a1b6e7e18b9a25
1990344218def595b8fe8a60d2367f8733289586
/Tape.py
ee1c22b1754b1f413c8732078cf15e7b640bfbea
[]
no_license
fortable1999/dynamicprogramming
7afd49a5bc8b2f92eb927581e718c57fdb040f51
976efa646cb16e40eb13772046e7d04ff109dc10
refs/heads/master
2020-04-09T15:31:08.153342
2018-12-06T02:17:51
2018-12-06T02:17:51
160,428,467
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
import math def solution(A): # write your code in Python 3.6 left, right = A[0], sum(A[1:]) diff = abs(left - right) for elem in A[1:-1]: left += elem right -= elem if abs(left - right) < diff: diff = abs(left - right) return diff print(solution([-1, 1, 1000, -...
[ "fortable1999@gmail.com" ]
fortable1999@gmail.com
8b63a29441cb9e8d2602e6259654e50e3ae5e4be
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/mo/guest_operations_manager.py
42811965f87e374b8b96d6972b7bd55e7f8b7f68
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
1,275
py
from pyvisdk.base.managed_object_types import ManagedObjectTypes from pyvisdk.base.base_entity import BaseEntity import logging ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) class GuestOperationsManager(B...
[ "jmb@pexip.com" ]
jmb@pexip.com
e33b7e0b004944fe986a82dc58d7668f0d622a18
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/1488.py
04ea069f2a72cc94a1d2641d3b845e5b20b5ece6
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
# https://code.google.com/codejam/contest/2974486/dashboard#s=p1 import sys def readline(): return sys.stdin.readline().rstrip() f0 = 2 t = int(readline()) for case in range(t): line = readline() [c, f, x] = [float(s) for s in line.split()] time = x/f0 time2 = c/f0 + x/(f+f0) more = time2 < ti...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
6f8f55d475bcc0e553f442897fd874177c3d347c
2491df3f643539e6055bb0b2a4b659474c57491f
/interval.py
1c48b76451542d32868f5e00496c2a8e10df5e23
[]
no_license
ghilbing/Ejemplos
85efc91346028b8a3d26d7680d9286b26234c771
339a45ef48c9a61002a01f7c823cc42d34fab409
refs/heads/master
2021-05-13T13:58:33.010157
2018-02-26T20:44:44
2018-02-26T20:44:44
116,724,506
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
def interval(intervals, new_interval): s = new_interval.start e = new_interval.end parts = merge = [] left = [] right = [] for i in intervals: parts[(i.end < s) - (i.start > e)].append(i) if merge: s = min(s, merge[0].start) e = max(e, merge[-1].end) return left +...
[ "ghilbing@gmail.com" ]
ghilbing@gmail.com
2f7e7080307ec0ae3515529e27fa46310cc9f7cb
a0a0932b6ab6ec47c2757d8929216790f5bc6535
/order/apps.py
63251174a40de7091e5dd63e488b3497605ea2bb
[]
no_license
lianglunzhong/latte-erp
b4e6e3b13c4bce17911ff166fecc36172e0bea5b
b58936c8d9917f3efdcb3585c54bfd3aba4723c2
refs/heads/master
2022-11-27T03:08:23.780124
2017-04-28T02:51:43
2017-04-28T02:51:43
89,660,834
0
0
null
2022-11-22T01:04:12
2017-04-28T02:48:50
Python
UTF-8
Python
false
false
179
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class OrderConfig(AppConfig): name = 'order' verbose_name = u"订单"
[ "liang.lunzhong@wxzeshang.com" ]
liang.lunzhong@wxzeshang.com
aa7e54c13f82ec435d13c5be8999b09e623f6ee0
e07b8420df6ebe15b0de68ca6889fcaa68d8fad3
/Keras/study/cross_entrophy.py
18e196f4acd85efa5fad1fc77cdf07724becf698
[]
no_license
AllenLiuX/Machine-Learning-Projects
2fcbb3dc3d8efee08de9d96020e551a9c0758fa6
ea20ea04cb956a9fb8f7099ddb7ec36ab5730cc2
refs/heads/master
2023-01-24T05:46:33.123993
2020-11-21T08:24:05
2020-11-21T08:24:05
299,807,064
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
import numpy as np import matplotlib.pyplot as plt from keras.datasets import mnist from keras.utils import np_utils from keras.models import Sequential from keras.layers import Dense, Activation from keras.optimizers import SGD # (x_train, y_train), (x_test, y_test) = mnist.load_data() f = np.load('mnist.npz') x_tra...
[ "13120200491@163.com" ]
13120200491@163.com
9ddb472d2ff2e53ba564d04caed1083c15bdb513
2033d6d7b9547c6722bfc9f52379683ebfca7186
/pbf_kao_gui/Commands/new_pygame_screen.py
e4d417e14846ac385b85c64668550296c079c27d
[]
no_license
cloew/KaoGUIPBF
5119e4f149343804d6e031b14d920a9e2229eb2b
819a908bccfd579c9d0666f216395d08e230353f
refs/heads/master
2021-01-01T20:16:57.033719
2015-02-17T16:39:51
2015-02-17T16:39:51
16,234,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
from pbf.helpers.filename_helper import GetPythonClassnameFromFilename from pbf.templates.template_loader import TemplateLoader from pbf_kao_gui.templates import TemplatesRoot class NewPygameScreen: """ Command to Create a new Pygame Screen """ TEMPLATE_LOADER = TemplateLoader("pygame_screen.py", Templ...
[ "cloew123@gmail.com" ]
cloew123@gmail.com
ebb2fa048817413a11e3f6b1fa17173e0b9a4846
95594364c548081b4f139b0fec2d2474d23129da
/Pretreatment/Audio/Step3_Assembly.py
a86b07697b9a6e3da8c5f926464515397e374d1f
[]
no_license
Grace-JingXiao/AVEC_2017_DDS_CNN_Research
0e932e2e5f38039dd2884595e6d75bc67da8e20a
71d04f3d765efb18f6dbe99eab3ef12e5e5f8489
refs/heads/master
2020-09-05T22:09:02.904761
2019-09-11T06:07:53
2019-09-11T06:07:53
220,227,983
1
0
null
2019-11-07T12:06:41
2019-11-07T12:06:40
null
UTF-8
Python
false
false
906
py
import numpy import os if __name__ == '__main__': loadpath = 'D:/PythonProjects_Data/AVEC2017-OtherFeatures/Step1_features3D/' savepath = 'D:/PythonProjects_Data/AVEC2017-OtherFeatures/Step3_features3D_Assembly/' os.makedirs(savepath) ususalShape = 0 for foldname in os.listdir(loadpath): t...
[ "35563563+BaoZhongtian@users.noreply.github.com" ]
35563563+BaoZhongtian@users.noreply.github.com
8b332439a2fe2e912f9c5478e97e3bb5fc6ab0dd
08fe752455b2e8bea36f69bd7eb0d70641691514
/12월 3주차/[BAEKJOON] 12904_A와 B.py
abd5edb88c54b6248ff79f668d83207e4fb1c09a
[]
no_license
2020-ASW/gayoung_yoon
69a7a20c073710aaec76261cac59aa6541250588
0ad21c5484ed087d704d72b03fc1f14c3fa9e25f
refs/heads/main
2023-02-14T19:28:38.966502
2021-01-10T07:56:10
2021-01-10T07:56:10
320,287,097
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# S = "B" # T = "ABBA" # S = "AB" # T = "ABB" ''' 조건1 문자열의 뒤에 A를 추가한다. 조건2 문자열을 뒤집고 뒤에 B를 추가한다. S -> T를 확인하기 위해 T -> S로 변경가능한지 check! ''' S = list(input()) T = list(input()) while True: if len(S) == len(T): break if T[-1] == 'A': T.pop() else: T.pop() T = T[::-1] if S =...
[ "gyyoon4u@naver.com" ]
gyyoon4u@naver.com
212953611e16a73c32f310c5769c10ea1a31a979
adb748ac7d24f6184ad81881d6caf5ea4689c38f
/spatialdata/units/NondimElasticQuasistatic.py
3e050ad231632b437bb4a2686b50c9bb5b8b973c
[ "MIT" ]
permissive
Zilhe/spatialdata
7a291703703cc2ff254cceec3683dc066925b5f4
fee0e77dcb820d466857a0e914af265255709285
refs/heads/main
2023-04-30T08:16:55.977142
2021-05-19T01:41:42
2021-05-19T01:41:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,928
py
# ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://geodynamics.org). # # Copyright (c) 2010-2017 University of California, Davis # # See COPYING for license...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
ee7531e0c603f1da58441201aa9edfb6ddd4b581
368be25e37bafa8cc795f7c9f34e4585e017091f
/.history/app_fav_books/views_20201115164620.py
ec1fa1c5ffa54349752a175c646dd05ab409740e
[]
no_license
steven-halla/fav_books_proj
ebcfbfda0e7f3cdc49d592c86c633b1d331da513
512005deb84ac906c9f24d4ab0939bd0db096716
refs/heads/master
2023-03-30T09:37:38.016063
2021-04-02T20:27:22
2021-04-02T20:27:22
354,125,658
0
0
null
null
null
null
UTF-8
Python
false
false
5,513
py
from django.shortcuts import render, redirect from .models import * from django.contrib import messages # contains user signup + login form def view_index(request): # bonus, if user is already logged in, lets not show them login/registration page, # and instead redirect them to /books, which is already where ...
[ "69405488+steven-halla@users.noreply.github.com" ]
69405488+steven-halla@users.noreply.github.com
57651bd056392553b7461799fcdab49cd38ccc3f
c21960247829b620d0e36a3408ef8099d248c742
/cirq/protocols/equal_up_to_global_phase.py
a6db82844732657e2d5140fb5820451d2b01ddff
[ "Apache-2.0" ]
permissive
iamvamsikrishnad/Cirq
ce1439853c9172690e3340fec70b47fd5614e2d1
4bec5447242c0d06f773a075383eea9dae0eebd3
refs/heads/master
2020-06-06T06:15:10.526041
2019-06-19T02:32:58
2019-06-19T02:32:58
192,661,193
1
0
Apache-2.0
2019-06-19T04:57:38
2019-06-19T04:57:38
null
UTF-8
Python
false
false
4,248
py
# Copyright 2019 The Cirq Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "craiggidney+github+cirqbot@google.com" ]
craiggidney+github+cirqbot@google.com
b5fd20af137de58b757e8b55bfffde6aa2cc80f8
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/unwieldy.py
30434fbf85008b2c83c8b9159fa9d0a2baf010fe
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('unwieldy', __name__, url_prefix='/unwieldy') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('rep...
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
513441ca0605b94e533042b091aea4e190179b11
23a0130020e00bf09dbf9e158460ed3534adddba
/Main.py
155f306f28acf1e00c4b54d05604fb7743806502
[]
no_license
Smikhalcv/diplom_adpy-10
f6923e1e6ad3c99faa0eba294050448affca5737
072a69b95e821c2804966fc21f6214f274573206
refs/heads/master
2022-10-14T16:59:43.901261
2020-06-11T22:02:16
2020-06-11T22:02:16
260,189,471
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
from User.get_token import Token from User.user_id import id_user from search_peoples import Search from mongo_db import Mongo_DB from executor import get_result if __name__ in '__main__': database = Mongo_DB('VKinder') database.create_db() token = Token() access_token = token.read_token() user_id ...
[ "Smikhalcv@yandex.ru" ]
Smikhalcv@yandex.ru
c6e7a41f411c28428cdffda9d8489491dfb15727
cce6364dd85b62782671cd8048873eede2045137
/primary/3_isPalindrome.py
499cab542bacb21c2fb831b1a52c66aa1c3dc427
[]
no_license
gmt710/leetcode_python
ed647958440f66583b8717dae7bca49c516984da
441623afee3713506b702c5fd462c7ba84b48442
refs/heads/master
2020-03-28T05:11:02.851792
2019-04-17T09:14:51
2019-04-17T09:14:51
147,761,046
1
0
null
null
null
null
UTF-8
Python
false
false
479
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def isPalindrome(self, head): """ :type head: ListNode :rtype: bool """ q = [] while(head): ...
[ "noreply@github.com" ]
gmt710.noreply@github.com
2592d28fb5f3680d1324df3073feaa1e5934d16e
960b3a17a4011264a001304e64bfb76d669b8ac5
/mstrio/utils/formjson.py
1a7443b172fcf930301b16b20e88b803adfcb11c
[ "Apache-2.0" ]
permissive
MicroStrategy/mstrio-py
012d55df782a56dab3a32e0217b9cbfd0b59b8dd
c6cea33b15bcd876ded4de25138b3f5e5165cd6d
refs/heads/master
2023-08-08T17:12:07.714614
2023-08-03T12:30:11
2023-08-03T12:30:11
138,627,591
84
60
Apache-2.0
2023-07-31T06:43:33
2018-06-25T17:23:55
Python
UTF-8
Python
false
false
2,139
py
def _map_data_type(datatype): if datatype == 'object': return "STRING" elif datatype in ['int64', 'int32']: return "INTEGER" elif datatype in ['float64', 'float32']: return "DOUBLE" elif datatype == 'bool': return "BOOL" elif datatype == 'datetime64[ns]': retu...
[ "noreply@github.com" ]
MicroStrategy.noreply@github.com
8079e7c0070fb7f2259f0841bdbfdf4061c16d82
08bfc8a1f8e44adc624d1f1c6250a3d9635f99de
/SDKs/swig/Examples/test-suite/python/overload_numeric_runme.py
5c80fb9fa3daff4ae841ab619589410a4f917df7
[]
no_license
Personwithhat/CE_SDKs
cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02
7afbd2f7767c9c5e95912a1af42b37c24d57f0d4
refs/heads/master
2020-04-09T22:14:56.917176
2019-07-04T00:19:11
2019-07-04T00:19:11
160,623,495
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:d59bc759f2c6bc1cca8b0a8bc70aca5b1e64ce1a52153ed569bfe234315d4512 size 1317
[ "personwithhats2@Gmail.com" ]
personwithhats2@Gmail.com
931602884d1cb512161cc9ce477f276bbb8c1cfa
981f1a81ba19baa36bcb109d55ee8e7520fe5aca
/Orm_test.py
4ae2a3d305124b2e735345ed8a1505038ff06f51
[]
no_license
Pythondeveloper6/Library-System-Python-PyQt5
6f1a43bdeae0d4689ed5da1f6710e7211dae52fd
28971eb5232d2f42de12fb396abacda12b4d3c65
refs/heads/master
2020-09-15T09:41:34.853547
2020-07-01T18:30:15
2020-07-01T18:30:15
223,413,327
24
14
null
2019-12-22T12:21:16
2019-11-22T13:48:48
Python
UTF-8
Python
false
false
621
py
from peewee import * # db = SqliteDatabase('people.db') # Connect to a MySQL database on network. db = MySQLDatabase('myapp', user='root', password='toor', host='localhost', port=3306) class Person(Model): name = CharField() birthday = DateField() class Meta: database = ...
[ "pythondeveloper6@gmail.com" ]
pythondeveloper6@gmail.com
1136c6923f5b46ab2360eb4494b1157796fcccb7
d83118503614bb83ad8edb72dda7f449a1226f8b
/src/dprj/platinumegg/app/cabaret/views/mgr/model_edit/gacha_header.py
2db815f7f6f2334c265f0fe81fb7afe0a57ec6a9
[]
no_license
hitandaway100/caba
686fe4390e182e158cd9714c90024a082deb8c69
492bf477ac00c380f2b2758c86b46aa7e58bbad9
refs/heads/master
2021-08-23T05:59:28.910129
2017-12-03T19:03:15
2017-12-03T19:03:15
112,512,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
# -*- coding: utf-8 -*- from platinumegg.app.cabaret.views.mgr.model_edit import AdminModelEditHandler,\ AppModelForm, ModelEditValidError, AppModelChoiceField from defines import Defines from platinumegg.app.cabaret.models.Gacha import GachaHeaderMaster, GachaMaster class Handler(AdminModelEditHandler): """マ...
[ "shangye@mail.com" ]
shangye@mail.com
841c6046c5b6b37c26338a127242921eb0a5ea05
2bbc7ba3ecdb54feffa446ed50297432f249e3dc
/tests/test_addons/test_addon_mtext.py
3aec15c652a5c501ee0432a626c758f40b8ebcd8
[ "MIT" ]
permissive
stephenthoma/ezdxf
16f7b06e43bad55ccf96387e22b68fd624a5d8fb
5cb1fb0298707d69d1b039858523b97990d85fba
refs/heads/master
2020-04-04T11:59:42.480375
2018-04-02T05:01:49
2018-04-02T05:01:49
155,910,581
0
0
NOASSERTION
2018-11-02T19:07:21
2018-11-02T19:07:21
null
UTF-8
Python
false
false
4,379
py
# Created: 09.03.2010, 2018 adapted for ezdxf # Copyright (C) 2010-2018, Manfred Moitzi # License: MIT License from __future__ import unicode_literals __author__ = "mozman <me@mozman.at>" import pytest import ezdxf from ezdxf.addons import MText @pytest.fixture(scope='module') def dxf(): return ezdxf.new('R12') ...
[ "mozman@gmx.at" ]
mozman@gmx.at
48c65b2c68ce49ed81e4e99de686a1e06dc4d029
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Fe6wvtjcNFwuANuLu_17.py
2edae5acef2d0784cbb3e57f8f1de8dc2e9a243d
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
""" A game of table tennis almost always sounds like _Ping!_ followed by _Pong!_ Therefore, you know that Player 2 has won if you hear _Pong!_ as the last sound (since Player 1 didn't return the ball back). Given a list of _Ping!_ , create a function that inserts _Pong!_ in between each element. Also: * If `win`...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
16d79f6a693248f707912d0602e5b5898033423f
60a525218779f250d725ca4f9677bd626eb687b9
/repos/system_upgrade/common/actors/checkfips/tests/unit_test_checkfips.py
7774352e00b1e0a332de81aef86c509fa0641ce8
[ "Apache-2.0" ]
permissive
examon/leapp-repository
920c9246540a2c603c7c9dfcbf9ae3673487f221
4cedc35b45aeb9131a651c8362f5ff4d89e3b5ee
refs/heads/master
2023-02-24T09:33:10.280795
2023-02-01T10:05:25
2023-02-06T11:03:38
169,085,644
0
0
Apache-2.0
2020-02-24T09:56:34
2019-02-04T13:52:38
Python
UTF-8
Python
false
false
1,403
py
import pytest from leapp.models import KernelCmdline, KernelCmdlineArg, Report from leapp.snactor.fixture import current_actor_context ballast1 = [KernelCmdlineArg(key=k, value=v) for k, v in [ ('BOOT_IMAGE', '/vmlinuz-3.10.0-1127.el7.x86_64'), ('root', '/dev/mapper/rhel_ibm--p8--kvm--03--guest--02-root'), ...
[ "xstodu05@gmail.com" ]
xstodu05@gmail.com
d4dfd3cbda727e702637ff99d4c9cb5e3d6eca6d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_014/ch167_2020_06_22_20_37_54_917135.py
a99f1260d35132010fb4d2db003a6410b59fc2c4
[]
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
276
py
def bairro_mais_custoso(gastos): saida_1 = {} saida_2 = {} for x,y in gastos.items(): saida_1[x] = y[6:12] for a,b in saida.items(): saida_2[a] = sum(b) for i,j in saida_2.items(): if j == max(saida_2.values()): return i
[ "you@example.com" ]
you@example.com
9309569dbb1a25d10ac57786f2e48786252a6ec1
05ace8ef6257681ae5b677ad1fcfceb316c5fd24
/moshmosh/repl_apis.py
99b0530c2b6116c52020d0369353a87b90d1a9da
[ "MIT" ]
permissive
thautwarm/moshmosh
cb0e5c2cc7c00886ec5f400629185f32cbe4e8c7
12435ac6288e88b42ea13d59825b90b37e297f38
refs/heads/master
2022-01-09T01:50:34.333840
2020-05-29T01:19:40
2020-05-29T01:19:40
196,604,714
120
7
MIT
2022-01-01T03:36:27
2019-07-12T15:39:55
Python
UTF-8
Python
false
false
4,289
py
from moshmosh.extension import * from moshmosh.extension import _extension_pragma_re_u def update_pragmas(extension_builder: t.Dict[object, Extension], lines): """ Traverse the source codes and extract out the scope of every extension. Incrementally. """ # bind to local for faster visiting in the l...
[ "twshere@outlook.com" ]
twshere@outlook.com
b150aea66bc591e189b33cf0d8f0aa9d5350afed
8ae16d0b53f3b70adab41b307d30148a3b7b6133
/csv_read.py
56bc1dfd50fa8a983b42d8ad2391437544c4817f
[]
no_license
maiorem/python_dataAnalysis
415af6fe401b76e623ba6c336e027d053d8dccc5
a2eb45bfcfb9ed3ae2533c021de1e8537bf2f563
refs/heads/main
2023-03-31T09:28:28.664694
2021-04-04T06:40:02
2021-04-04T06:40:02
354,154,214
1
0
null
null
null
null
UTF-8
Python
false
false
777
py
line_counter=0 data_header=[] employee=[] customer_USA_only_list=[] customer=None with open('customers.csv') as customer_data : while 1: data=customer_data.readline() if not data : break if line_counter==0 : data_header=data.split(",") else : customer=data.s...
[ "maiorem00@gmail.com" ]
maiorem00@gmail.com