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
a2065984a05279a525cfa94fd4f2e874c1737295
0dcf78e319956f2cb2327c5cb47bd6d65e59a51b
/Contest/LeetCodeWeeklyContest/WeeklyContest169/VerbalArithmeticPuzzle.py
9bd2a6c195cff041c8418b0438b3044c0ad46d18
[]
no_license
daviddwlee84/LeetCode
70edd09a64a6f61492aa06d927e1ec3ab6a8fbc6
da1774fd07b7326e66d9478b3d2619e0499ac2b7
refs/heads/master
2023-05-11T03:16:32.568625
2023-05-08T05:11:57
2023-05-09T05:11:57
134,676,851
14
4
null
2018-05-29T14:50:22
2018-05-24T07:18:31
Python
UTF-8
Python
false
false
778
py
from typing import List # TODO # [Verbal arithmetic - Wikipedia](https://en.wikipedia.org/wiki/Verbal_arithmetic#Solving_cryptarithms) # [Solving Cryptarithmetic Puzzles | Backtracking-8 - GeeksforGeeks](https://www.geeksforgeeks.org/solving-cryptarithmetic-puzzles-backtracking-8/) # [Solving Alphametics with Python ...
[ "daviddwlee84@gmail.com" ]
daviddwlee84@gmail.com
787534ebd6d889635600597020151542d4ef1089
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2616/58634/276542.py
5bfb9b85b1869469440b6693fd3f58ecf6fa88b6
[]
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
169
py
def cal(a,b): if a/b-1>=b//2: print(1) else: print(0) n = int(input()) for i in range(n): a, b = map(int, input().split(" ")) cal(a,b)
[ "1069583789@qq.com" ]
1069583789@qq.com
fda3a56ad6068fabde1dbb11877c93ecc738bb89
523f8f5febbbfeb6d42183f2bbeebc36f98eadb5
/98_1___.py
495b648d7d7f36b4d22f7e683b00ae11f99ec954
[]
no_license
saleed/LeetCode
655f82fdfcc3000400f49388e97fc0560f356af0
48b43999fb7e2ed82d922e1f64ac76f8fabe4baa
refs/heads/master
2022-06-15T21:54:56.223204
2022-05-09T14:05:50
2022-05-09T14:05:50
209,430,056
2
0
null
null
null
null
UTF-8
Python
false
false
674
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution(object): def isValidBST(self, root): """ :type root: TreeNode :rtype: bool ...
[ "noelsun@mowennaierdeMacBook-Pro.local" ]
noelsun@mowennaierdeMacBook-Pro.local
be57409b8fbd48022a79662814b61c7e03634fb5
caa175a933aca08a475c6277e22cdde1654aca7b
/acondbs/db/cmds.py
499c90759ae1d83931e25ba8d70d1c97e13c95ac
[ "MIT" ]
permissive
simonsobs/acondbs
01d68ae40866461b85a6c9fcabdfbea46ef5f920
d18c7b06474b0dacb1dcf1c6dbd1e743407645e2
refs/heads/main
2023-07-07T04:33:40.561273
2023-06-28T22:08:00
2023-06-28T22:08:00
239,022,783
0
1
MIT
2023-06-26T20:36:39
2020-02-07T21:07:46
Python
UTF-8
Python
false
false
2,120
py
"""Commands (click) """ import json import click from flask.cli import with_appcontext from .backup import backup_db from .ops import ( define_tables, export_db_to_csv_files, export_db_to_dict_of_dict_list, import_tables_from_csv_files, ) @click.command("init-db") @with_appcontext def init_db_comma...
[ "tai.sakuma@gmail.com" ]
tai.sakuma@gmail.com
846104a32fac0f5ba595094377184d1717cd6be3
61dfa0ac80a6979d135e969b5b7b78a370c16904
/analysis/phase_diagram/phase_diagram.py
894c08522ba7621d4512adeaae08b1929286dc97
[]
no_license
bvillasen/cosmo_tools
574d84f9c18d92d2a9610d1d156113730d80f5a4
6bb54534f2242a15a6edcf696f29a3cf22edd342
refs/heads/master
2021-07-13T06:43:32.902153
2020-10-05T21:17:30
2020-10-05T21:17:30
207,036,538
0
0
null
null
null
null
UTF-8
Python
false
false
2,676
py
import sys import numpy as np import matplotlib.pyplot as plt import h5py as h5 def get_phase_diagram( rho, temp, nbins, ncells ): phase, yedges, xedges = np.histogram2d( np.log10(rho), np.log10(temp), bins=nbins ) # phase, yedges, xedges = np.histogram2d( np.log10(rho), np.log10(u), normed=True ) # xcenters ...
[ "bvillasen@gmail.com" ]
bvillasen@gmail.com
4496674905f016546bc2bd6ed9b1b12ea5363acf
147389cf28e0c92f0b2ef8000b0562a71d766880
/data_structure/list_1.py
49e7e62c808ddf75c87442cb81f15d545269608f
[]
no_license
dohyekim/hello
3821ca97079818c9938df33fc6d8d6ea9ca763a5
84f5704fe6cb6e5b63fb7903e311b650d65a394a
refs/heads/master
2022-02-25T11:12:31.077335
2019-09-22T06:23:00
2019-09-22T06:23:00
156,352,382
1
0
null
2022-02-12T11:48:53
2018-11-06T08:39:18
JavaScript
UTF-8
Python
false
false
695
py
# 리스트에서 원소 찾아내기 # 1차 시도(틀린 답) def solution(L, x): answer = [] n = 0 while True: try: idx = L.index(x) answer.append(idx + n) n += (idx + 1) L = L[n:] except: break if len(answer) == 0: answer = [-1] return answer #...
[ "dhleen5@hanmail.net" ]
dhleen5@hanmail.net
3cd54e94f1378ca963b9d101a7c37820aa9655d7
6be845bf70a8efaf390da28c811c52b35bf9e475
/windows/Resources/GeZu/PyScripts/Lib/gezu/mca/gezu/cmd/GeZu_KernelMemory/tasking.py
25eaf11e9aa1c5b4a8814f12c6d689c7113e9411
[]
no_license
kyeremalprime/ms
228194910bf2ed314d0492bc423cc687144bb459
47eea098ec735b2173ff0d4e5c493cb8f04e705d
refs/heads/master
2020-12-30T15:54:17.843982
2017-05-14T07:32:01
2017-05-14T07:32:01
91,180,709
2
2
null
null
null
null
UTF-8
Python
false
false
423
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: tasking.py import mcl_platform.tasking from tasking_dsz import * _fw = mcl_platform.tasking.GetFramework() if _fw == 'dsz': RPC_INFO_GEZU_KERNELM...
[ "kyeremalprime@gmail.com" ]
kyeremalprime@gmail.com
02baf831ffa2846f245fd527d21b0841c02f9a5b
7410903c6cd5ef35c592af00c934fb21c369cbf2
/00_Code/01_LeetCode/728_SelfDividingNumbers.py
ba68225ecc36fc5a1f96c6ae494627696f53fe0e
[ "MIT" ]
permissive
KartikKannapur/Algorithms
f4e4726170599db0622d18e8c06a382e9bce9e77
66e3c8112826aeffb78bd74d02be1a8d1e478de8
refs/heads/master
2020-12-25T18:32:41.086518
2020-10-19T02:59:47
2020-10-19T02:59:47
93,961,043
1
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
""" A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 % 2 == 0, and 128 % 8 == 0. Also, a self-dividing number is not allowed to contain the digit zero. Given a lower and upper number bound, output a list of every pos...
[ "kartikkannapur@gmail.com" ]
kartikkannapur@gmail.com
50f772bf18236f7428163c4a07d9b5cfa6f452e1
abe52a485b72b6bc54c3ce260a3e4e5fc8a2504f
/d20200720/test8.py
a0de7f709cf7ccebbdd1ff8264200dc49c03a762
[]
no_license
soli1101/python_workspace
e920b9589cd1a6a5ef064720400d44a6309249d9
607c7693bdf013fedf193d45de32aac6d48409a0
refs/heads/master
2022-12-26T16:19:32.413709
2020-09-29T08:59:20
2020-09-29T08:59:20
299,560,047
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
print('------- 문제3:짧은버전-------') # 태어난 년도를 입력하면 띠 출력 # 년도를 12로 나눈 나머지를 구한다 # 자축인묘진사오미신유술해 # 4,5,6,7,8,9,10,0,1,2,3 zodiac = ["원숭이","닭","개","돼지","쥐","소","호랑이","토끼","용","뱀","말","양"] year = int(input("출생년도는?")) year %= 12 print("당신은",zodiac[year], "띠 입니다")
[ "soli1101@naver.com" ]
soli1101@naver.com
1b0aae97f5265efdb88d8bb01e35f1aa6a3da85c
7cb7ebc3be2cc4d7378f71e8c0b0c32d6ad2e22c
/src/main/prep/largest_bst_in_bt.py
eece906a060c27cce6525ae165c4a45be6c752ac
[]
no_license
bits2018wilp/python-lab
2cf679e3d6745fe4de94b74d301e90191aeab79d
67bead293b627f876fec1aa32586c8a5d602aa3e
refs/heads/master
2020-12-31T09:01:03.979408
2020-03-22T02:01:33
2020-03-22T02:01:33
238,964,324
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
from src.main.prep.node import Node from src.main.prep.counter import Counter def is_bst(root, counter, path): if not root: return if root.left: if root.left.value <= root.value: is_bst(root.left, counter.increment(), path) else: return False path.append(r...
[ "46282728+bits2018wilp@users.noreply.github.com" ]
46282728+bits2018wilp@users.noreply.github.com
3b7b4199f456ce33cca9fac53171318cfb7414ca
b1fa7499ceef04de3a407af3cf6e64e2959c0fd9
/kerans_mnist_cnn.py
056336c648c1f84f4d6dd98fd5343af54b96f06a
[ "MIT" ]
permissive
Ezhil-Language-Foundation/acchu-tamilocr-dataset
8c5b3c026e4d63258b47171ff7200ebae4a49ef5
9ad443a279681fc314d6b53e3cf308fbe5a8ec35
refs/heads/master
2023-04-29T21:23:44.578187
2023-04-13T02:26:14
2023-04-13T02:26:14
130,955,869
5
2
MIT
2023-04-13T02:26:15
2018-04-25T05:38:46
Python
UTF-8
Python
false
false
2,333
py
# Ref: https://github.com/keras-team/keras/blob/master/examples/mnist_cnn.py '''Trains a simple convnet on the MNIST dataset. Gets to 99.25% test accuracy after 12 epochs (there is still a lot of margin for parameter tuning). 16 seconds per epoch on a GRID K520 GPU. ''' from __future__ import print_function import ker...
[ "ezhillang@gmail.com" ]
ezhillang@gmail.com
b84ed660880580d15d2c66adc2ae2197574dc08a
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/GL/APPLE/element_array.py
dcaffe30396145c648f53feedab9a0d1581972ed
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
'''OpenGL extension APPLE.element_array This module customises the behaviour of the OpenGL.raw.GL.APPLE.element_array to provide a more Python-friendly API Overview (from the spec) This extension provides facilities to improve DrawElements style vertex indices submission performance by allowing index arrays. U...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
ad37fee914b243e839b3a477a11927b0a54ca115
a52bc0c802cf947ee7d56373d48655f56f427a62
/src/kol/request/GuildTrainRequest.py
11d1e27a73d2a75359281927cea01efa3585fb24
[ "BSD-3-Clause" ]
permissive
fwereade/pykol
7eb6747ed12ed4a443466fbde692105b6d24a0f2
6abdc89592d28b07b655f41b564db87c78e0210a
refs/heads/master
2020-12-25T05:03:25.024352
2010-07-06T22:24:55
2010-07-07T14:36:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
from GenericRequest import GenericRequest from kol.util import Report from kol.manager import PatternManager from kol.database import SkillDatabase from kol.Error import SkillMissingError, NotEnoughMeatError, InvalidActionError, SkillNotFoundError, RequestError class GuildTrainRequest(GenericRequest): def __init__(se...
[ "sebastian@sebastiancelis.com" ]
sebastian@sebastiancelis.com
e4f4653082131246dd5b6533f0c243d45d45faeb
de6fb3a55196b6bd36a4fda0e08ad658679fb7a1
/optin_manager/src/python/openflow/optin_manager/sfa/methods/ListSlices.py
40f4428071b8594451425ecda5209b0d81b9e889
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
dana-i2cat/felix
4a87af639e4c7db686bfa03f1ae4ce62711615e3
059ed2b3308bda2af5e1942dc9967e6573dd6a53
refs/heads/master
2021-01-02T23:12:43.840754
2016-02-04T10:04:24
2016-02-04T10:04:24
17,132,912
4
4
null
null
null
null
UTF-8
Python
false
false
1,125
py
from openflow.optin_manager.sfa.util.method import Method from openflow.optin_manager.sfa.trust.credential import Credential from openflow.optin_manager.sfa.util.parameter import Parameter, Mixed class ListSlices(Method): """ List the slices instantiated at this interface @param cred credential ...
[ "jenkins@integration.localhost" ]
jenkins@integration.localhost
a464f967e1e985ffb63be1870077ea02f96e1db8
96c6273649417609f0f86df88e5e95ecd7e80d86
/pyjoystick/pygame.py
d883e4fb6fe7c76324b3d3f4d0fc1041121a3fbe
[ "MIT" ]
permissive
erjosito/pyjoystick
e311accb9e83d28f4325f799527270dfc3d49010
2b1639c17892904b191fe2ba42341a19d6f3b78e
refs/heads/master
2023-08-31T15:19:15.019252
2021-10-14T19:07:49
2021-10-14T19:07:49
550,453,646
1
0
MIT
2022-10-12T19:48:08
2022-10-12T19:48:08
null
UTF-8
Python
false
false
8,179
py
import os import sys import time import threading from pyjoystick.utils import rescale import pygame from pyjoystick.stash import Stash from pyjoystick.interface import HatValues, Key, Joystick as BaseJoystick __all__ = ['Key', 'Joystick', 'run_event_loop', 'stop_event_wait', 'get_init', 'init', 'quit',...
[ "jtengel08@gmail.com" ]
jtengel08@gmail.com
17d20e6bdb4fc8219a5e7c799c2a0c33ba84cc8b
693fa5c3ac8fe5ca00c1a0946e2f4be01c3a5c2e
/statics.py
04a35086558b139cd96c8f2dccd8f2a701493174
[]
no_license
wscjxky/weapon_tools
b2befece5c19e3dd9931dca6c3c412afb2be752b
9bbc227305e224a0ae272ec8b9b9421a4dfb56cc
refs/heads/master
2020-05-24T16:47:00.214833
2019-07-18T03:03:17
2019-07-18T03:03:17
187,368,236
0
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
import os import pdb from xml_tools import get_label, set_label import xml.etree.ElementTree as ET from collections import defaultdict label_dict=defaultdict() def walk_dirs(dirname): with open('labels.txt', 'r')as f_r: labels = f_r.readlines() label_list=[i.strip('\n') for i in labels ] fo...
[ "619677632@qq.com" ]
619677632@qq.com
a7722940b8ffccfd1e4db985f6c3302954fedb81
74ec860957869ea48af8535bf32f9fd87cc81011
/dna-methylation/paper/routines/data/data_dicts.py
f1d417cc1be773d250e57e9346b7802dc94af7ee
[]
no_license
GillianGrayson/dna-methylation
f1a0878f4aa8c917bee9e5230387d6145826fb3a
e602ba91f3d275d92aadf0f874ac6f189adf547b
refs/heads/master
2022-02-08T03:31:22.423781
2022-02-01T16:50:37
2022-02-01T16:50:37
164,105,085
0
1
null
2020-03-20T18:08:24
2019-01-04T12:30:29
Python
UTF-8
Python
false
false
7,574
py
import copy import itertools from paper.routines.infrastructure.save.table import save_table_dict_xlsx from paper.routines.infrastructure.load.table import load_table_dict_pkl from paper.routines.infrastructure.load.annotations import load_annotations_dict from paper.routines.infrastructure.load.papers import load_pape...
[ "hewitt.archie@yandex.ru" ]
hewitt.archie@yandex.ru
98a5695b4430d51fa8d7f4b31f433db90f8da811
d28da4c18c0d5fc0e711cc80e33008e3fdececb7
/analysis/vcf_analyzer.py
3a854b1d09ff6e64c2695eb9bb2a0da01c71bfae
[ "MIT" ]
permissive
CGL-Deeplearning/FRIDAY
14a300b5d9d31e78c42c3770d83dd348d4ae6c75
9635ddb84e0ea26e6e91d7444c06003212fbfabc
refs/heads/master
2021-07-08T23:28:59.819539
2018-07-22T08:51:54
2018-07-22T08:51:54
133,608,352
6
0
MIT
2018-07-22T08:51:55
2018-05-16T04:00:00
Python
UTF-8
Python
false
false
1,377
py
import pysam import sys file_path = sys.argv[1] vcf_records = pysam.VariantFile(file_path) total_indels = 0 total_dalts_indels = 0 total_salts_indels = 0 total_snps = 0 total_dalts_snps = 0 total_salts_snps = 0 for record in vcf_records: # print(record) gts = [s['GT'] for s in record.samples.values()] gt...
[ "kishwar.shafin@gmail.com" ]
kishwar.shafin@gmail.com
1a042a2cff349107b31da540a092490e2a5a7002
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02982/s416893944.py
3a55f41f71db83cd1e88f4a835e73f6a31c9feb5
[]
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
324
py
import math n, d = map(int, input().split()) l = [list(map(int, input().split())) for i in range(n)] c = 0 for i in range(n): for j in range(n): x = 0 for k in range(d): x += (l[i][k] - l[j][k])**2 y = math.sqrt(x) if y != 0 and y.is_integer(): c += 1 print(c...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5c45f9a7058b8683386846d1c1220f523713182a
29c88ae9d8ac5e498c28f747f54d265408011857
/migrations/versions/205fd513c96_added_taskconfig.py
fa3c7d93bf7c411a8fde22664cefdeae9579da6b
[ "Apache-2.0" ]
permissive
getsentry/freight
049878d4fdfc1ec7ba35caca094cd3f8c78f364a
17a9c819504f25f1e01178a43018dd660be1e879
refs/heads/master
2023-08-22T06:01:00.378812
2023-02-03T03:07:48
2023-02-03T03:07:48
29,835,895
571
55
Apache-2.0
2023-05-01T21:03:31
2015-01-25T23:17:09
Python
UTF-8
Python
false
false
1,869
py
""" Added TaskConfig Revision ID: 205fd513c96 Revises: 106230ad9e69 Create Date: 2016-03-07 13:27:04.392376 """ # revision identifiers, used by Alembic. revision = "205fd513c96" down_revision = "106230ad9e69" from alembic import op from sqlalchemy.sql import table import sqlalchemy as sa import freight def upgrade...
[ "matt@ydekproductions.com" ]
matt@ydekproductions.com
100d3af0173e56d8af6329fe33aea01573d32e2f
c2db42292e010640695f92b96a9c34e0b7f4ea0a
/test.py
aca45b642a2641b5538e06e9ee196fb9fc380dee
[ "BSD-3-Clause" ]
permissive
leliel12/pert
c46b6a376ae6850a257a32d208a17c77ae50ef9f
b412de223a034bb94d2a775069a452fcb8928c61
refs/heads/master
2020-07-25T05:03:59.652331
2019-11-08T11:39:17
2019-11-08T11:39:40
208,174,092
1
1
null
null
null
null
UTF-8
Python
false
false
1,600
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2019, Juan B Cabral # License: BSD-3-Clause # Full Text: https://github.com/leliel12/pert/blob/master/LICENSE # ============================================================================= # DOCS # ======================================================...
[ "jbc.develop@gmail.com" ]
jbc.develop@gmail.com
706e4a5799fd553692345dfb8d720b8b40b345cf
380e3bfa645181f3aef4d81554d6b19391c2cbca
/blogs/tests/test_parser.py
1634f75b7464a7daeb97d624972680c773f89ffc
[ "Apache-2.0" ]
permissive
raonyguimaraes/pythondotorg
819a5bb03069297ae6da1f149fb53150dbc18f32
054d8999ed331f71690a8261d4a1025788f89225
refs/heads/master
2021-01-24T21:37:12.655528
2014-02-20T01:38:56
2014-02-20T01:38:56
17,006,161
1
0
null
null
null
null
UTF-8
Python
false
false
422
py
from unittest import TestCase from ..parser import get_all_entries from .utils import get_test_rss_path class BlogParserTest(TestCase): def setUp(self): self.test_file_path = get_test_rss_path() self.entries = get_all_entries("file://{0}".format(self.test_file_path)) def test_entries(self):...
[ "frank@revsys.com" ]
frank@revsys.com
ba6598fa5efc945a1acf1855541d49243e7484d5
82afadf121c9887b7208c55d7e43c8bd3e74d923
/backendapp/travels/migrations/0049_auto_20200410_1656.py
f67c65380ae8575009ea5ba77cfe008bb84b61f9
[ "BSD-3-Clause" ]
permissive
finebrush/takeatripsFB
cbc8517e1313c7f5ae3621b40a9a3040b65f2a81
85a5be1a2ee68531f04f2601a3f69ddc608d4d27
refs/heads/master
2022-12-12T05:00:51.925952
2020-05-21T03:04:38
2020-05-21T03:04:38
225,299,793
0
0
BSD-3-Clause
2022-12-08T06:59:31
2019-12-02T06:16:43
JavaScript
UTF-8
Python
false
false
1,826
py
# Generated by Django 2.2.7 on 2020-04-10 07:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('travels', '0048_auto_20200406_1336'), ] operations = [ migrations.AlterField( model_name='tourplan', name='pickit', ...
[ "finebrush.mlab@gmail.com" ]
finebrush.mlab@gmail.com
985df457604aaafafdb6e8913036c246602899ce
63daf225819636397fda6ef7e52783331c27f295
/taobao_apis/top/api/rest/FenxiaoRefundQueryRequest.py
f6fff0dfb6114ced19701e595dca781994c0dae7
[]
no_license
cash2one/language-Python
e332ecfb4e9321a11407b29987ee64d44e552b15
8adb4f2fd2f023f9cc89b4edce1da5f71a3332ab
refs/heads/master
2021-06-16T15:15:08.346420
2017-04-20T02:44:16
2017-04-20T02:44:16
112,173,361
1
0
null
2017-11-27T09:08:57
2017-11-27T09:08:57
null
UTF-8
Python
false
false
417
py
''' Created by auto_sdk on 2014.04.14 ''' from top.api.base import RestApi class FenxiaoRefundQueryRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.end_date = None self.page_no = None self.page_size = None self.query_seller_refund = N...
[ "tangzhihui@Tom.local" ]
tangzhihui@Tom.local
278cbdeb72167b31529dc7c54342727da7849221
077c91b9d5cb1a6a724da47067483c622ce64be6
/fuzz_pyretic_mesh_proactive_firewall_no_close_check_loop_mcs_with_max_replays_5/interreplay_115_l_6/openflow_replay_config.py
9f133eb6da3d2bdefa724c3e7422d7aa29e74abb
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow import OpenFlowReplayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_cmd...
[ "cs@cs.berkeley.edu" ]
cs@cs.berkeley.edu
888b33b160c589ea6677d89d79fe9d7ded06b8d5
8cc862aa51d3fec95d094dc4bd3151e1155d240a
/SILKAPI/HM/config/configs.py
8eefd2f566b155cd127f8a91025a35e964b04741
[]
no_license
activehuahua/python
bcbf3a2190025e2315399bfd0c725f598211632b
cc36a93c01c53f856426ccf2724848142524d9c0
refs/heads/master
2023-04-14T10:23:21.590765
2019-08-12T06:52:15
2019-08-12T06:52:15
160,277,647
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
# -*- coding: utf-8 -*- # @Time : 2019/4/26 17:55 # @Author : zhaojianghua # @File : configs.py # @Software: PyCharm # @Desc : #Silver Store 前端页面 _URL='https://rays-store8.mybigcommerce.com' #Silver Store ID APP_URL='/manage/app/13706' #后台登录地址 LOGIN_URL='https://login.bigcommerce.com/login' #API 后端接口地址 _A...
[ "zhaojianghua@pretang.com" ]
zhaojianghua@pretang.com
1dcea791f8a0ec90a6c280c9c4792bfc5c1027bf
32142361927d5d782dbb5ea78657dec9aea4cdda
/code/plotting_utils.py
2b0846fca621125ca336b34a6aa75ca6ed1f8bd7
[ "MIT" ]
permissive
kevinyu/photo-organize
29f1adbb86fabf3d34ec621cbbd2db9c2a392c00
94cf1024c5b03842f61fc20f0080e595e8ef5f5e
refs/heads/main
2023-01-24T18:57:23.165408
2020-12-04T00:46:02
2020-12-04T00:46:02
312,504,434
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
import numpy as np def line2d_seg_dist(p1, p2, p0): """distance(s) from line defined by p1 - p2 to point(s) p0 p0[0] = x(s) p0[1] = y(s) intersection point p = p1 + u*(p2-p1) and intersection point lies within segment if u is between 0 and 1 from matplotlib < 3.1 """ x21 = p2[0] - ...
[ "thekevinyu@gmail.com" ]
thekevinyu@gmail.com
cb1494355d58d2a37883f57701763f23c2461d3e
f787ea477f18ca7ba1f3265843dd9a9eab1265d8
/accounts/admin.py
5fafab1634c2e6a1775d9bbfb728eb5b4aa51b75
[ "MIT" ]
permissive
ebar0n/leviatan-backend
104d576f7ebc7841282da62b06da15a396fd37ec
63dc14fce31fbeae50ec7ebf5ea97efbb1ec18fd
refs/heads/master
2022-12-13T05:28:57.772510
2019-04-04T21:25:02
2019-04-04T21:25:06
168,224,161
0
0
MIT
2022-12-08T01:36:48
2019-01-29T20:33:17
Python
UTF-8
Python
false
false
1,348
py
# -*- coding: utf-8 -*- from django.contrib import admin from django.utils.translation import ugettext as _ from accounts import models from accounts.forms import AccountChangeForm @admin.register(models.Account) class AccountAdmin(admin.ModelAdmin): """ AccountAdmin """ fieldsets = ( (None,...
[ "edwar.baron@gmail.com" ]
edwar.baron@gmail.com
ef8a4d2777fc8cfc2cff3231bc1dc613d1ebf1e4
a8d5cb55b80f4c160323b6c6fbe094c6e6634c75
/users/api/serializers.py
c638e231a223bb0dfccce6e20b288e86b5bf591c
[]
no_license
birkoss/mtg-achievements-api
00d5d954e3c5bbf919a44ef49bde9feaf3ceee61
133806c668f92b4b94d0f731edec5c08041010cc
refs/heads/master
2023-03-28T18:16:06.077949
2021-04-03T13:34:15
2021-04-03T13:34:15
347,626,595
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
from rest_framework import serializers from users.models import User class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ['id', 'email', 'name']
[ "admin@birkoss.com" ]
admin@birkoss.com
32937edacaffe5a6f8af4b12f61eec9973e98b5d
bd4e1943a0ab04711402df39907e0369e90632eb
/chemist_pro/cm_user/migrations/0003_auto_20171123_1128.py
92e50f155d7f48383b06247025fbc10e913eb1e6
[]
no_license
iwechen/mobil
5d6df49d5cdfc983939464d9fe7e36bde01a71a9
1ab2ee1269280a5482e127831c64bfb5ce571968
refs/heads/master
2021-05-15T07:23:39.835400
2017-12-02T11:21:58
2017-12-02T11:21:58
112,062,579
5
0
null
null
null
null
UTF-8
Python
false
false
452
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('cm_user', '0002_auto_20171121_1508'), ] operations = [ migrations.AlterField( model_name='passport', ...
[ "iwechen123@gmail.com" ]
iwechen123@gmail.com
00def26f962779d202b586469a0344a1e0dbb2e0
e58fcc1467ad81084b016d2a48d672d75da2c058
/rdkit/Data/Pains/test_data/run_tests.py
2f156832b7a2186094164ebe16cc7ddcc380b5c0
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ali1810/sol_heroku
294375d70c656452749e959bfb851a50defc0e01
97b548ce7d864e6fed936c53b790c1dc8038cff2
refs/heads/main
2023-08-15T06:18:26.933254
2021-09-14T10:20:19
2021-09-14T10:20:19
405,223,280
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
# # Copyright (C) 2015 Greg Landrum # This file is part of the RDKit. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the RDKit source tree. # import unittest, os, csv from rdkit import Chem, RDConfig class TestCase(...
[ "noreply@github.com" ]
ali1810.noreply@github.com
b46c58aa65e3910e9a98c040e95b1fd43d06709b
3d46409d076e3a9c2bd0a3004f3a8ab8286bd364
/core/Losses/fft_loss.py
e1c301a607f0fbc0f6082b7f310fd145c0e9a9cc
[]
no_license
xiaodongdreams/UWEnhancement
de8b325bc2ed5b585213fbd3286eb1f8d134871f
efdb24281621ecb3ebe714e07bfefaa6e10ec494
refs/heads/master
2023-08-22T06:39:43.787027
2021-11-01T02:49:16
2021-11-01T02:49:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
import torch import torch.nn as nn from UW.core.Losses.builder import LOSSES @LOSSES.register_module() class FFTLoss(nn.Module): def __init__(self, loss_weight=1.0): super(FFTLoss, self).__init__() self.loss_weight = loss_weight def forward(self, img1, img2): zeros = torch.zeros(img1....
[ "yudongwang@tju.edu.cn" ]
yudongwang@tju.edu.cn
17cb4ee522f282db3e1224bdc35fb009f6ef2f45
c2effffe43cccf96da83cfee33deceefa8bb2729
/0x0C-python-almost_a_circle/models/base.py
1dc594a0dfb4414d28a51e541dfb351bf4bcfd9f
[]
no_license
mekapeu/holbertonschool-higher_level_programming
b6e59e677909db34e4fb6673fbe516fbe812ed92
f0e3d61bd8907d6689688a07acb97e8a896198db
refs/heads/master
2023-04-23T07:17:50.390861
2021-05-12T08:12:02
2021-05-12T08:12:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,366
py
#!/usr/bin/python3 """This is the Base module. Contains the Base class which will be the “base” of all other classes in this project. """ import json import csv import turtle class Base(): """This class will be the “base” of all other classes in this project. The goal is to manage id attribute in all our fu...
[ "pierre.forcioli@holbertonschool.com" ]
pierre.forcioli@holbertonschool.com
45ef997d4ec9fe0dbcd222d63a6cdcbf9bf41cd5
660b2e940ccee2b729aa7d00ef0453cdac9dbf6a
/student_and_information/uauth/urls.py
704aa2e87753b937aa977bb4528c6debff0f1123
[]
no_license
iversongit/20180427
68c251b6acfef91252d7e622cffae8450dbcdb3f
9a9f1f1abaa3b620a000b2c8f5f91d8acfd77d8a
refs/heads/master
2020-03-13T17:51:55.044089
2018-04-27T13:30:31
2018-04-27T13:30:31
131,225,513
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from django.conf.urls import url from uauth import views urlpatterns = { url(r'^regist/',views.regist), url(r'^login/',views.login) }
[ "1564329410@qq.com" ]
1564329410@qq.com
9751fd15966cfdb656864b2103c77de08a418618
2c392d762431af54f2faacfa0f3c020e1bc5fc3c
/as1.py
231ea62cf0a9876f3ef4c87686051bff152ad89c
[]
no_license
shichao-an/grading
8c4b66a1ca83505fe70c59434e4c730db4ac896a
c3e68ed862398bb39c3d072d1afb42289c7103cc
refs/heads/master
2020-05-17T04:07:00.179074
2014-05-12T22:52:40
2014-05-12T22:52:40
16,897,574
0
1
null
null
null
null
UTF-8
Python
false
false
2,273
py
#!/usr/bin/env python from __future__ import print_function, unicode_literals, absolute_import # Check Python version import sys if sys.version_info[0] < 3: raise Exception('Must use Python 3.') import os import subprocess import unittest from utils import (get_netid_from_dirname, build_students, print_results, ...
[ "shichao.an@nyu.edu" ]
shichao.an@nyu.edu
0923ab48d2165e8920be4b921b452b22b962c6a0
b148cd5c9b9b2f94c06f73e3aa9ce3db04adf263
/Ch_7_Mangle Data Like a Pro/demo_of_re_split.py
411c50ae392ed072477bc2aaf0e70e373e602c01
[ "MIT" ]
permissive
brianchiang-tw/Introducing_Python
6e50df4c5cf257500f8f221c20bd8ae9618db431
557fcddb6329741a177d6ee1d24122b36e106235
refs/heads/master
2021-07-14T21:45:49.885880
2021-02-16T12:06:12
2021-02-16T12:06:12
237,336,499
1
0
null
null
null
null
UTF-8
Python
false
false
202
py
import re source = 'Young Frankenstein' m = re.split('n', source) if m: # Young Frankenstein splited by n # ['You', 'g Fra', 'ke', 'stei', ''] print(f"{source} splited by n") print(m)
[ "brianchiang1988@icloud.com" ]
brianchiang1988@icloud.com
f5bf14e888a64146c6bc354afc9df387ada0634a
4d7a0e0176743c8bba50abe2085aaf9833ac889e
/src/main/python/systemds/operator/algorithm/builtin/csplineDS.py
14e9eaa66a1654ce10d8b168daa3f8d52c42e5f1
[ "Apache-2.0" ]
permissive
dkerschbaumer/systemds
67bc961a1baa275800a05126f0f413df4da66772
dc3a9f489951d7e13ec47c5181d2c5d7022665ce
refs/heads/master
2023-06-17T01:29:33.686345
2021-07-16T14:58:18
2021-07-16T14:58:18
315,260,910
0
0
Apache-2.0
2020-11-23T09:19:12
2020-11-23T09:19:12
null
UTF-8
Python
false
false
1,601
py
# ------------------------------------------------------------- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you unde...
[ "baunsgaard@tugraz.at" ]
baunsgaard@tugraz.at
2b58e7f9e1b5f20e011d90bf9428ad6713b63541
ce07ccf78739a768971f393222fdca4a56315241
/employee_management/employee_management/doctype/bin_info/test_bin_info.py
a8f3461aa087033ce896bcaf589cd1153b0fbf7b
[ "MIT" ]
permissive
Gdinesh03/Frappe
563e0ddbe925be536f65f925787ed321a6098c0d
efd2d1568b6f5b8a4e0ff31e06a415c717a3d32a
refs/heads/master
2023-08-27T19:24:12.024442
2021-09-14T07:04:27
2021-09-14T07:04:27
406,260,373
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
# -*- coding: utf-8 -*- # Copyright (c) 2021, Gopi and Contributors # See license.txt from __future__ import unicode_literals # import frappe import unittest class TestBinInfo(unittest.TestCase): pass
[ "vivekananthan112599@gmail.com" ]
vivekananthan112599@gmail.com
4884ebc6e7f7088786eb1de83a1be9ef9e7694d0
6420c3a145de114a895500860a85d0199caaa914
/wakemeupextreme/guis/kivy.py
177659704b9fe525030804903894fa14f79a9e6a
[ "MIT" ]
permissive
devkral/wakemeupextreme
68c3e025e1cd50a18d18a2259031e92e5aca5bcf
886058a48231dded27ab8847f1f44a105d593446
refs/heads/master
2021-01-11T17:10:38.926507
2017-01-22T17:26:26
2017-01-22T17:26:26
79,732,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
import kivy kivy.require('1.9.1') import gc from kivy.app import App from kivy.uix.floatlayout import FloatLayout from kivy.uix.button import Button def create_lfunc(num, func): def ff(*args): func(num) return ff class MainWidget(FloatLayout): alarm_stop = None correctanswer = None alar...
[ "devkral@web.de" ]
devkral@web.de
2e5ccef131da40e7b56c937bf283bbeb53df6f7c
597c3a6200867b45b45b7f33ee020bfa91aede5d
/Week-1024/264.py
e6aa05f717dfe4deb643059967d6e6eaf82f1ce0
[]
no_license
Bieneath/LeetCode_training
997251387f9faf7c1301cbc9900d3fbfcc7a7a37
822747436c3499c802b90fab2577577309e2f5b7
refs/heads/master
2023-05-09T21:30:36.409743
2021-06-15T15:22:34
2021-06-15T15:22:34
377,205,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
# # DP + 堆 # import heapq # class Solution: # def nthUglyNumber(self, n: int) -> int: # if n == 1: return 1 # hq = [2, 3, 5] # nums = [2, 3, 5] # for _ in range(1, n): # cur = heapq.heappop(hq) # for it in nums: # mul = cur * it # ...
[ "wulijieru@gmail.com" ]
wulijieru@gmail.com
317322847a9367a94d5ad65bf032bf4948de47fb
b7ee31418f912057e2c446e58f6045169c5d85f9
/sfa.py
fb6300d6cb02b20a327791bf6cbc4b23cd43e235
[]
no_license
Nerevarsoul/stelapoint
f8f753ed4e038d409caefb99175e7ef6268fa132
2742503e79892697c1b5e2ab2de2eb21f28e39b3
refs/heads/master
2021-01-01T03:59:53.948356
2016-05-20T13:42:03
2016-05-20T13:42:03
55,965,010
0
0
null
null
null
null
UTF-8
Python
false
false
2,347
py
from datetime import date, timedelta from urllib.parse import urljoin import helpers from bs4 import BeautifulSoup _base_url = "http://www.fca.org.uk/your-fca/list?ttypes=Final+Notice&yyear=&ssearch=&ppage=" _site_url = "http://www.fca.org.uk" companies = ("ltd", "limited", "company", "services", "bank", "trading", "...
[ "keshaeverywhere@gmail.com" ]
keshaeverywhere@gmail.com
a5a2d82d6c0d4471da2e30057848105f1ed47445
5608a9cd3bec8cab1c3f9d7f42896107b78593cc
/runway/_cli/commands/_gen_sample/_tf.py
fd215fb3434187bcab4e6f3f3c7d3fb07d23a8ad
[ "Apache-2.0" ]
permissive
troyready/runway
cdee6d94f42173c8aa0bd414620b68be36a510aa
4fd299961a4b73df39e14f4f19a7236f7be17dd8
refs/heads/master
2021-06-18T16:05:30.712211
2021-01-14T01:44:32
2021-01-14T01:44:32
151,314,626
0
0
Apache-2.0
2018-10-02T19:55:09
2018-10-02T19:55:08
null
UTF-8
Python
false
false
998
py
"""``runway gen-sample tf`` command.""" import logging import sys from typing import Any # pylint: disable=W import click from ....env_mgr.tfenv import get_latest_tf_version from ... import options from .utils import TEMPLATES, copy_sample if sys.version_info.major > 2: from pathlib import Path # pylint: disab...
[ "noreply@github.com" ]
troyready.noreply@github.com
40c5445cfcac50e50e6fb14ebcd84be6e4fa96bc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_logging.py
e8f34e8aee38a6b05260657d56a8fd32d22632ee
[ "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
345
py
#calss header class _LOGGING(): def __init__(self,): self.name = "LOGGING" self.definitions = [u'the activity of cutting down trees in order to use their wood: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = [])...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cecd4ce6ca7ca7bbe6b087bff1fb44849a7f1386
03645491131b82b3dc178539ace283c55708b497
/bank/migrations/0016_auto_20181112_1437.py
190d8fcd91a008adce94bb67e5451fb274a5fc20
[]
no_license
qrames/video_bank
1f029df1c1307e4721cc6d4d15dc1492a0991352
bc208e57d69e8edc2f1d7de934a8a623c30a2db8
refs/heads/master
2020-04-04T19:58:49.084650
2018-11-15T14:43:47
2018-11-15T14:43:47
156,228,733
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-11-12 14:37 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('bank', '0015_auto_20181112_1403'), ] operations =...
[ "ramque@orange.fr" ]
ramque@orange.fr
fa8541fee40b096df403b7a988945e4d820f1d52
76e6d4f93078327fef8672133fc75a6f12abc240
/ABC138/Test_C.py
84e4cded13e53f2417ace7752c5ca00b7cfe70e8
[]
no_license
adusa1019/atcoder
1e8f33253f6f80a91d069b2f3b568ce7a2964940
f7dbdfc021425160a072f4ce4e324953a376133a
refs/heads/master
2021-08-08T04:41:36.098678
2021-02-01T07:34:34
2021-02-01T07:34:34
89,038,783
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
import pytest from C import solve def test_solve(): assert solve('2\n3 4') == '3.5' assert solve('3\n500 300 200') == '375.0' assert solve('5\n138 138 138 138 138') == '138.0'
[ "symphony20030829@yahoo.co.jp" ]
symphony20030829@yahoo.co.jp
32f2ca97727ad6ad0b55a84a5de0c9ee5aec4918
d996edcd595c565c5725a16286ce8d338af67246
/src/common/serving_util.py
fed309a5cd48fed03045c1e48298020df1243356
[]
no_license
preddy5/dltemplate
fbbfce7660c451495e255cf8d8437e4b4e207f9c
77b04b767cbd4914e0a3d3609c645e475aabcc43
refs/heads/master
2020-04-28T19:37:04.893001
2019-03-13T13:35:04
2019-03-13T13:35:04
175,517,056
1
1
null
2019-03-13T23:59:40
2019-03-13T23:59:39
null
UTF-8
Python
false
false
5,930
py
from clipper_admin import ClipperConnection, DockerContainerManager from clipper_admin.deployers.tensorflow import deploy_tensorflow_model import os import tensorflow as tf class TfModelDeployer(object): def __init__(self, app_name, predict_op_name='predict_op:0', input_name='input_X:0', slo_micros=3000000): ...
[ "markmo@me.com" ]
markmo@me.com
24add8d89245d5d46994bb4e6ad6a707bf67e6cc
83ea8f77624ad73c6d4fca9a08b3edb361d9e2d2
/settings/vagrant.py
bfa9807ba97d7c2c2d276263d17da1681e7d71d9
[]
no_license
info3g/hikstar-celery
45987fc60b606b01cffcdc59349b0839f2922441
b6d476159783761c5c774447808b382c2ea7e8e0
refs/heads/master
2020-11-27T09:50:44.765519
2019-12-21T06:43:55
2019-12-21T06:43:55
229,388,553
0
0
null
2019-12-21T06:46:11
2019-12-21T06:42:21
HTML
UTF-8
Python
false
false
869
py
from .base import * # noqa DEBUG = True ALLOWED_HOSTS = ["*"] SECRET_KEY = "vaFM4JREmeod^3CekEpQTM6Ts7qQjXHm" EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" EMAIL_HOST_USER = "contact@hikster.com" DEFAULT_FROM_EMAIL = EMAIL_HOST_USER REDIS_URL = str(os.environ.get("REDIS_URL")) # noqa CELERY_BR...
[ "infothreeg@gmail.com" ]
infothreeg@gmail.com
221b1013e2332c302c3e4dbdd694cea43cce64ff
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_035/ch88_2020_06_21_15_59_35_707694.py
dffd8faf155b14ad4e856a7a4be5c1096c3458e0
[]
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
305
py
class Retangulo: def __init__(self, p1, p2): self.pie = p1 self.psd = p2 def calcula_perimetro(self): p1.x - p2.x = a p1.y - p2.y = b return (a+b)*2 def calcula_area(self): p1.x - p2.x = a p1.y - p2.y = b return a*b
[ "you@example.com" ]
you@example.com
fed0bab719059c02b33f2133b45eb774ad9b0704
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/Others/s8pc/s8pc-5/b.py
0c55ce49b3c5848016d4be6e406ec45fa43e2618
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
1,038
py
# -*- coding: utf-8 -*- def calc_dist(x1, y1, x2, y2): return (x2 - x1) ** 2 + (y2 - y1) ** 2 def main(): from itertools import combinations from math import sqrt n, m = map(int, input().split()) a = list() b = list() ans = float('inf') if n > 0: for i in r...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
68c9a4fea20cb795d33a82a0051a5210afded4c7
cd4bbecc3f713b0c25508d0c5674d9e103db5df4
/toontown/coghq/ConveyorBelt.py
c536e4f229efb4813a3576ed1ce6141d41fd1e48
[]
no_license
peppythegod/ToontownOnline
dce0351cfa1ad8c476e035aa3947fdf53de916a6
2e5a106f3027714d301f284721382cb956cd87a0
refs/heads/master
2020-04-20T05:05:22.934339
2020-01-02T18:05:28
2020-01-02T18:05:28
168,646,608
11
2
null
null
null
null
UTF-8
Python
false
false
4,796
py
from pandac.PandaModules import * from direct.interval.IntervalGlobal import * import MovingPlatform from otp.level import BasicEntities class ConveyorBelt(BasicEntities.NodePathEntity): UseClipPlanes = 1 def __init__(self, level, entId): BasicEntities.NodePathEntity.__init__(self, level, entId) ...
[ "47166977+peppythegod@users.noreply.github.com" ]
47166977+peppythegod@users.noreply.github.com
5b5a13095338cdfebbd1d6611d9bdddfa6df621c
46a500c6168fba13686088630dce4571122e016a
/library/mqttpush.py
94eaa0b75c7b1fee9ae6f06f49c8edf5be7c1099
[]
no_license
ms412/Onewire2mqtt
03bab2abce8d87e349317c82c92128eca77a67db
5baceb85596bd5dee81a7bf098a79437d6d180dd
refs/heads/master
2021-08-31T22:46:23.743483
2017-12-23T07:11:22
2017-12-23T07:11:22
115,178,164
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
import os #import library.libpaho as mqtt import paho.mqtt.client as mqtt class mqttpush(object): def __init__(self,config): ''' setup mqtt broker config = dictionary with configuration ''' self._config = config ''' create mqtt session ''' ...
[ "m.schiesser@gmail.com" ]
m.schiesser@gmail.com
43dac3601c0d44bb1ee2473adf6e58d452b67036
279f142a80f985824431bd852b9de8376721fee9
/aliyun-python-sdk-cms/aliyunsdkcms/request/v20160922/PutMetricDataRequest.py
e6ab384371129e08f12a18ee88985d70fd1efbf8
[ "Apache-2.0" ]
permissive
FrozenPear/aliyun-openapi-python-sdk
4db45923aabe4279302fb86c305d2a68ee1b707d
de88903d36e897160d12587c49f5d2acb0a1f118
refs/heads/master
2021-07-11T07:57:03.615091
2017-10-16T14:12:55
2017-10-16T14:12:55
107,104,306
0
0
null
2017-10-16T09:08:30
2017-10-16T09:08:30
null
UTF-8
Python
false
false
4,482
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
9a19701feb0cade38db597dda0db5c265ef7d5da
2c4ddc392251e41728780b0830bb880698b67a08
/06_Vue/05_vue_component_with_drf/todo-back/todos/models.py
96ca5465476b5b2f11ecf0585d6c2c737045b127
[]
no_license
Seungjin22/TIL
58f2beefc2d715092642a74ac6b5f9d7224f5b04
d5b303492cf577d477473726b015210ed3b7b6c9
refs/heads/master
2023-01-11T01:56:32.811384
2019-12-23T02:21:29
2019-12-23T02:21:29
195,937,995
5
0
null
2023-01-07T11:25:22
2019-07-09T05:22:45
Jupyter Notebook
UTF-8
Python
false
false
403
py
from django.db import models from django.conf import settings from django.contrib.auth.models import AbstractUser class User(AbstractUser): pass class Todo(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) title = models.CharField(max_length=50) completed = m...
[ "up6760@gmail.com" ]
up6760@gmail.com
82c19248b6e4d6a68390a969285670558b9e1bf1
9433ce01c6e2906c694b6f0956a4640e1872d4d2
/src/main/python/wdbd/codepool/pandas/df_selection.py
c3f938a34c6a73ef28f4b31fe1379fa7ea083091
[]
no_license
shwdbd/python_codepool
fcd7950fc1339994186461ae18c34cee238938ee
92a4fb61d060f9a545499b6b7f99a4dc211d5009
refs/heads/master
2023-02-20T19:49:23.677824
2022-06-15T08:53:51
2022-06-15T08:53:51
209,431,254
0
1
null
2023-02-15T21:58:53
2019-09-19T00:56:03
Python
UTF-8
Python
false
false
2,786
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : df_selection.py @Time : 2019/10/15 17:37:50 @Author : Jeffrey Wang @Version : 1.0 @Contact : shwangjj@163.com @Desc : DF的条件选择 1. select_by_loc 通过标签选择 .loc[ ['index1':'index2'] , ['colA'] ] 前闭后闭 2. select_by_iloc 通过位置选择 ....
[ "shwangjj@163.com" ]
shwangjj@163.com
d9bfb72a71f828483ecdc656118e385a93c0d7f4
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_62/170.py
a23b5ae6454480a5b9bee497f112bf29d1e4b5ea
[]
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
443
py
#!/usr/bin/env python cases = int(raw_input()) for case in range(cases): num_wires = int(raw_input()) wires = [] intersections = 0 for i in range(num_wires): wires.append(map(int, raw_input().split())) for (i, a) in enumerate(wires): for (j, b) in enumerate(wires[i + 1:]): if a[0] > b[0] and ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e6cfd1ba987e3ab0380037883434b6cc9550b3d8
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/3462.py
56e121569a440a75c2fd80765465924a436aab36
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
from queue import Queue def neigbours(S, k): l = len(S) ret = list(S) for i in range(l): if i + k > l: break if i == 0: for j in range(k): ret[j] ^= True else: ret[i - 1] ^= True ret[i + k - 1] ^= True yield tu...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
be88a32490d163ec1b98830b01e517a836e45fed
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2396/61094/320601.py
0557fb4a0eda1272f5a3f4ac71154ead0d7ded92
[]
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
163
py
n=input() s=input() if(s=='3 4 5 1 6 2'): print('4 6 4 5 6 6 ',end='') elif(s=='4 1 3 5 2'): print('2 5 4 5 5 ',end='') else: print('2 4 4 4 ',end='')
[ "1069583789@qq.com" ]
1069583789@qq.com
6fad15fd452c2903876906c932cf1964ee07f7a9
b7b3531e568b79f881f06a40c49f8d46ebdeae83
/webapp/utils.py
86d264bd84c996b1008ad8bad58e3e15f9c3d855
[]
no_license
Yehuda1977/flask_skeleton
ae18339556900f23b666959c707b287fee9fc269
a586a1b214ef4e9e7643610924bbf36b0e08fcb2
refs/heads/master
2023-04-24T16:52:46.492065
2021-05-13T06:23:12
2021-05-13T06:23:12
365,735,850
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
#!/usr/bin/python3 ############################################## # # utils.py # webapp # ############################################## from wtforms.fields.core import Field, UnboundField def get_form_fields(form): """ This function extracts the fields from a Flask_WTForms object """ fields = [] ...
[ "x41lakazam@gmail.com" ]
x41lakazam@gmail.com
1464173ce8ebf59a7aa42a255066cf1a1b2058e7
36d3cb0f8b8dc43761bfb7b8729cfe65e0a3454d
/Manager.py
a8d1e83e94514c317cf00fe59bdebbc702a7c989
[]
no_license
KwinnerChen/a_taobao_spider
38e03a744756d5576af8863c3188d06e39d86d62
fbdc20a20de690b055a0ef78dfd741f8cc707816
refs/heads/master
2020-03-21T22:25:35.846629
2018-06-29T09:16:25
2018-06-29T09:16:25
139,125,771
0
0
null
null
null
null
UTF-8
Python
false
false
2,018
py
#! usr/bin/evn python3 # -*- coding: utf-8 -*- # author: Kwinner Chen from URLMaker import URLMaker from DataOutput import DataOutput from IP.IPPool import IPPool from threading import Thread from queue import Queue import config, os def parser(q_url, product_rule, q_r, iplist): from PageDownloader import Page...
[ "chenkai.c.k@hotmail.com" ]
chenkai.c.k@hotmail.com
61f733fedd04543e37339b1a4c7b74375d877f19
758311a9f9a3ce91f77e120f1ce0b1f90fe1f988
/pandas/core/datetools.py
aea7b2b6b5462084eb6d4368f61ee96dd81f170c
[ "BSD-3-Clause", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
flexlee/pandas
e85a6326b772ccc650309169b82cc72afbf6f26b
749318f4a1b4ae56d3eee507db312052532e7f4b
refs/heads/master
2021-01-16T21:28:08.807848
2012-11-29T19:31:53
2012-11-29T19:31:53
6,927,250
0
0
NOASSERTION
2019-06-30T23:49:39
2012-11-29T19:37:12
Python
UTF-8
Python
false
false
829
py
"""A collection of random tools for dealing with dates in Python""" from pandas.tseries.tools import * from pandas.tseries.offsets import * from pandas.tseries.frequencies import * from dateutil import parser day = DateOffset() bday = BDay() businessDay = bday monthEnd = MonthEnd() yearEnd = YearEnd() yearBegin = Yea...
[ "wesmckinn@gmail.com" ]
wesmckinn@gmail.com
9e9ad6ad1b49cef99932e7ea92e38614b6676880
d873b0e3549ab09c476c7f3a5fb85b139c4c4306
/searching_sorting/bubble_sort.py
d1681cad4735df087a3a41577acff2e61920594d
[]
no_license
teddymcw/pythonds_algos
6e97480b880734eaa64871f07533e29e0adecf47
63eb92f3d2ee4bc2ae0bbb6342673f566c5f4ecd
refs/heads/master
2016-09-03T03:26:29.206114
2014-09-22T22:21:14
2014-09-22T22:21:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
def bubbleSort(alist): print("bubblesorting list: {}".format(alist)) for passnum in range(len(alist)-1,0,-1): for i in range(passnum): print("assessing {0} and {1}".format(alist[i], alist[i+1])) if alist[i]>alist[i+1]: print("switching {0} and {1}".format(alist[i]...
[ "teddymcw@gmail.com" ]
teddymcw@gmail.com
34255401242ef4a040fb50abaac4e66cbf95f4cc
7ec0d4bbf10ef3f3ef82bc2228d16a6e72b4a71a
/viscm/__init__.py
f51aa8598e734aa9d234ac86f9a591b569b0bdea
[ "LGPL-2.0-or-later", "MIT", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
matplotlib/viscm
18f8a930e1a42a43a56af1f5b857e6b2b579b918
7e19769f0c472023da41f940f9755cdfe9fd69f9
refs/heads/main
2023-08-04T05:34:50.079496
2023-06-13T17:10:13
2023-06-13T17:10:13
38,525,273
135
36
MIT
2023-06-13T16:33:37
2015-07-04T07:06:05
Python
UTF-8
Python
false
false
176
py
# Copyright (C) 2014 Nathaniel Smith <njs@pobox.com> # See file LICENSE.txt for license information. from .gui import viscm, viscm_editor __all__ = ["viscm", "viscm_editor"]
[ "njs@pobox.com" ]
njs@pobox.com
99c668b1d6bafb2a712e289f9386939af02fbf0b
0a74b7e50c5ab31cb701973436d5d1bfedefdc6f
/cart/views.py
e4f465ac643daf2b94e6d335915925c8c406d083
[]
no_license
raimbaev223/app_shop
d209b806d677fceecef96ea7b088e774032d2969
7f879abeb19c8fe21f1e84df597cbedc7c3b314b
refs/heads/master
2023-03-09T05:07:22.634674
2021-03-01T14:16:31
2021-03-01T14:16:31
343,441,090
0
0
null
null
null
null
UTF-8
Python
false
false
1,553
py
from django.shortcuts import render, redirect, get_object_or_404 from django.views.decorators.http import require_POST from shop.models import Product from .cart import Cart from .forms import CartAddProductForm from coupons.forms import CouponApplyForm # from shop.recommender import Recommender @require_POST def car...
[ "raimbaev.223@gmail.com" ]
raimbaev.223@gmail.com
0676c6004b898c721ae96ea93f4f6e09939ba645
97ddf475ce2bb26093a5b7574b0696889741422b
/nikola/plugins/command/rst2html/__init__.py
a113fd6c54a0fbe46e514d3da535914bed5c60fa
[ "MIT" ]
permissive
wirew0rm/nikola
e26bc6b66f79c7e23e1eb40563b51af83814f925
05ac854feb68ae31b2e11ad7da40a3a77bd7bc43
refs/heads/master
2021-01-12T00:57:58.244739
2017-01-07T13:00:01
2017-01-07T13:00:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,955
py
# -*- coding: utf-8 -*- # Copyright © 2015-2017 Chris Warrick and others. # 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...
[ "kwpolska@gmail.com" ]
kwpolska@gmail.com
3fed66f5dcb6cc3cb00240e917d99e5817ba8b6f
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/iotanalytics_write_1/channel_create.py
4f3f9137e33e42e01754da7dae0accd8226be2ed
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,292
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotanalytics/create-channel.html if __name__ == ...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
1f2c20209217b33243406cfb194edd449cdd3872
651a296c8f45b5799781fd78a6b5329effe702a0
/wathen/r8mat_uniform_01.py
e23df75d9015663e0c1435d6082218a9485b8a74
[]
no_license
pdhhiep/Computation_using_Python
095d14370fe1a01a192d7e44fcc81a52655f652b
407ed29fddc267950e9860b8bbd1e038f0387c97
refs/heads/master
2021-05-29T12:35:12.630232
2015-06-27T01:05:17
2015-06-27T01:05:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,128
py
#!/usr/bin/env python def r8mat_uniform_01 ( m, n, seed ): #*****************************************************************************80 # ## R8MAT_UNIFORM_01 returns a unit pseudorandom R8MAT. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 08 April 2013 # # Aut...
[ "siplukabir@gmail.com" ]
siplukabir@gmail.com
982158d06ac9eaa26501bdfcaa876704783a6864
10cabf90485f07e4702ab11fe3966377159f5dd2
/job/migrations/0003_auto_20210531_1811.py
fdb6e37628d1c6a7446996b4ddf57b8ab2cce28c
[]
no_license
Shahidkhan0786/jobvac
0bb14e7bba7ad6c95b83982d88dc2af09a5a8bb7
dd048ac086fb4e6b0ce08a692205c50eafe28e4a
refs/heads/master
2023-05-08T14:11:40.227174
2021-05-31T13:14:39
2021-05-31T13:14:39
372,511,700
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
# Generated by Django 3.2 on 2021-05-31 13:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('job', '0002_auto_20210512_1231'), ] operations = [ migrations.AlterField( model_name='add_job', name='id', ...
[ "shahidkhan0085200@gmail.com" ]
shahidkhan0085200@gmail.com
bb45dcfa2e002792adf94435db2e52ede220ea3d
bdc007908cf9bea9e1a01306b69ff43b94fdbda9
/lte/gateway/python/integ_tests/s1aptests/test_attach_missing_imsi.py
08bec02872b3ab4512ef356f18982846edb76588
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
abelviageiro/magma
503a7fc53b82e9150774193e4bf3993782cdf971
37bda4c3cc0f3a315e50dd48a8adc8c86f95cd19
refs/heads/master
2020-06-22T04:15:19.565979
2019-07-17T23:42:10
2019-07-17T23:53:20
197,629,911
1
0
NOASSERTION
2019-07-18T17:27:48
2019-07-18T17:27:47
null
UTF-8
Python
false
false
2,000
py
""" Copyright (c) 2016-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. """ import unittest import s1a...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0f02a97e5ce671fa2d6919833c1b931d792021d0
e48aeff22ba35430367c267fa9fad0f4d29ff3dd
/python/affinity_methods/photometric.py
842faf1eec0f6f31fb75091faf83777ccdc3c398
[]
no_license
David-Wobrock/image-processing-graph-laplacian
b5d6399954e7bf6c24373686f80b63ef62cdd488
404475c6ad942a4a597733f02f2a1558f511302b
refs/heads/master
2021-03-30T17:49:23.067428
2018-03-16T12:16:41
2018-03-16T12:17:25
107,689,362
7
0
null
null
null
null
UTF-8
Python
false
false
659
py
import logging import numpy as np from utils import num2xy import time logger = logging.getLogger(__name__) def photometric_affinity(y, sample_indices): start = time.time() M, N = y.shape[:2] h = 10. all_values = np.asarray(y.reshape(M*N), dtype=np.float64) AB = np.empty((len(sample_indices), M...
[ "david.wobrock@gmail.com" ]
david.wobrock@gmail.com
5adfbaf97fdaab95bf71fc50c0043f987784cfb5
b64e3650f4ce88b30cdeb922b3c59e37c2de5b45
/h/presenters/annotation_html.py
ac03f209bc3c83270245f5c45ec406ea951880bf
[ "BSD-3-Clause", "BSD-2-Clause-Views", "BSD-2-Clause", "MIT" ]
permissive
openstax/hypothesis-server
35bc4390dcedf3204175dc0c191f8e770ce73ec7
9610a7cd190cce933d93cdc4bda2dc907a2869e4
refs/heads/master
2021-06-28T23:07:45.368536
2018-08-30T18:14:26
2018-08-30T18:14:26
103,598,763
1
0
NOASSERTION
2019-04-29T18:55:29
2017-09-15T01:19:28
Python
UTF-8
Python
false
false
4,419
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from dateutil import parser import jinja2 from h.presenters.document_html import DocumentHTMLPresenter class AnnotationHTMLPresenter(object): """Wraps Annotation model objects and adds some HTML properties.""" def __init__(self, annotation):...
[ "nick@whiteink.com" ]
nick@whiteink.com
eb3bfe6c989e41e19b3abb572139fbc751553e0c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/310/usersdata/304/82355/submittedfiles/investimento.py
64d1e9f78caf7c5ee24ce9a82c829d715ae756f0
[]
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
239
py
# -*- coding: utf-8 -*- from __future__ import division #COMECE SEU CODIGO AQUI #i = float(input('i: ')) #t = float(input('t: ')) i = 1000 t = 0.045 #z = (i + (t*i)) for f in range (0,10,1): f += (i + (t*i)) print('%.2f' %f)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
2c6c3c8496e3f91bdb1a4f20fbfe2a22fd619932
e3040a2e23a856e319e02037dc6baf3882c796b9
/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post.py
3ad92b9b8fd790ec7f11196a013c586ba142ed57
[ "Apache-2.0" ]
permissive
mishin/openapi-generator
2ed2e0739c0cc2a627c25191d5898071d9294036
3ed650307513d552404f3d76487f3b4844acae41
refs/heads/master
2023-06-10T03:01:09.612130
2022-10-14T08:29:15
2022-10-14T08:29:15
271,080,285
0
0
Apache-2.0
2023-05-30T02:01:25
2020-06-09T18:29:41
Java
UTF-8
Python
false
false
7,925
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from unit_test_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noq...
[ "noreply@github.com" ]
mishin.noreply@github.com
98f840a92d84e2bb947734b1a53a9fc9790eb937
a60bce1ba1efb0cd0f2bb9011bc6f2ffdb786ce3
/src/com/dtmilano/android/uiautomator/uiautomatorhelper.py
b19e8a026b90d40dac420e32f350cb2c64c3b497
[ "Apache-2.0" ]
permissive
cnhua5/AndroidViewClient
7f6aa4944b6546154883b677e9426179260f8b58
90305831f34a06cf50eae51a933abb5c36c97952
refs/heads/master
2020-02-26T14:32:18.320385
2015-09-10T02:59:58
2015-09-10T02:59:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,189
py
import httplib from httplib import HTTPConnection import os import subprocess import sys import platform import threading import re import urllib import time from com.dtmilano.android.adb.adbclient import AdbClient from com.dtmilano.android.common import obtainAdbPath __author__ = 'diego' DEBUG = True lock = thread...
[ "dtmilano@gmail.com" ]
dtmilano@gmail.com
6eb43a92268538db028aacaa1609fc4ceaf4fd08
74521d1cd42a233694634ebd368d09715b2384c6
/PySpark Prac/Trans Prac/isNull.py
0efaeda4169e22b2f05d0ffec04e0310e0f966b5
[]
no_license
AkhilReddy/MySparkWork
c82f587cce81e6814de324c01f4d9c5a5fc087ce
556089f7ecb23febd67348a7ccc6f1abd018ccc9
refs/heads/master
2021-01-18T21:12:45.242991
2017-04-02T20:21:04
2017-04-02T20:21:04
87,013,292
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
def isNull(df,*args): count=0 for arg in args: df=df.select(arg).collect() for k in df: if k[arg]==None: count+=1 return count
[ "marla.akhilreddy2013@gmail.com" ]
marla.akhilreddy2013@gmail.com
84031dbbf3563c436a864ede7ed296927f6916de
2be371e9d02415f021597ff6483160c02c80af63
/Lib/test/test_json/test_scanstring.py
a3630578bd9e2ced35511ccb1580791ed3ebe35b
[ "CC-BY-4.0", "MIT", "Python-2.0" ]
permissive
Ma233/RustPython
7893114e4d27cab9b71633db0ab27a084d458466
5d6c32398991da0d075a74f7507ef6406300193d
refs/heads/master
2021-06-26T00:09:28.711036
2020-12-20T15:26:30
2020-12-20T15:26:30
190,310,528
0
0
MIT
2019-06-05T02:14:45
2019-06-05T02:14:44
null
UTF-8
Python
false
false
4,788
py
import unittest import sys from test.test_json import PyTest, CTest class TestScanstring: def test_scanstring(self): scanstring = self.json.decoder.scanstring self.assertEqual( scanstring('"z\U0001d120x"', 1, True), ('z\U0001d120x', 5)) self.assertEqual( ...
[ "33094578+coolreader18@users.noreply.github.com" ]
33094578+coolreader18@users.noreply.github.com
6578475a41bc6d2e570d9c63f04be1a3fa51d154
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03296/s999998944.py
4ee3ce8daaad2693725aeafd778bf62365001804
[]
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
195
py
n = int(input()) a = list(map(int,input().split())) res = 0 i = 0 if n%2: a.append(a[n-1]+1) #print(a) while i < n-1: if a[i] == a[i+1]: res += 1 i+=1 i+=1 print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2021cd73d9e5210660b39bc67811e3ac68d2dcb2
742cf875ee027c4d7ebb4decfceb58d85c925b46
/user.py
2e9ac454082e318e699a2fed3e7c33916ca9e9d6
[]
no_license
Mathewsalufwani/password-locker
7945fcf24116c7b3d7a419cedbbc0f51076fe592
cffdd07378179e24133802f11c7bb716014519f1
refs/heads/master
2022-11-12T13:13:03.615919
2020-06-30T09:22:25
2020-06-30T09:22:25
276,022,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
class User: def __init__(self, username, password): ''' __init__ method that helps us define properties for our objects. ''' self.username = username self.password = password user_list = [] # Empty user list # Init method up here def save_user...
[ "mathewalufwani@gmail.com" ]
mathewalufwani@gmail.com
2cd6bd488e4f282ef4984984083044e56a3c6f6d
4b819b9c7aee9d60689f487557e437445101188d
/lanuch/blog/models.py
f7fdf7517c7a719d93bbc22e06264765fa2302b8
[]
no_license
Damidara16/dev
c2fe90fb70d4644bdee964ce9b7b85bf9f71c99a
f3c8666bc32b19ffb623b83019fdbf404433ece8
refs/heads/master
2020-03-10T20:14:11.173397
2018-04-15T00:56:56
2018-04-15T00:56:56
129,565,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
from django.db import models from accounts.models import Author from django.contrib.auth.models import User class Post(models.Model): content = models.CharField(max_length=255) author = models.ForeignKey(User, on_delete=models.CASCADE) date = models.DateTimeField(auto_now_add=True) title = models.CharF...
[ "sajala8624@gmail.com" ]
sajala8624@gmail.com
91c0c75c63c0bbd1fcf1d4f696e732bf6fca5f62
1e139784a36ce2a26dafaac0bb795b168ca91776
/electron_project/accounts/urls.py
fbfa8006e399bc23abb033b9772e4949d7969c99
[]
no_license
TestAccount2077/Mas-Electronics
a9f4431be7ea740b99616cb4ce4acf9bba46096f
6bb887805900affdcd905deb33b341892bebd41f
refs/heads/master
2020-03-28T15:11:57.044686
2019-01-26T16:01:55
2019-01-26T16:01:55
148,566,318
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
from django.conf.urls import url, include from django.contrib import admin from .views import * urlpatterns = [ # Regular URLs url(r'^login/$', validate_login), url(r'^logout/$', validate_logout), # Ajax URLs url(r'ajax/get-password/$', get_password), url(r'ajax/change-password/$', ch...
[ "maselectronics594@gmail.com" ]
maselectronics594@gmail.com
2c9e49a4a5e6ee4a363a19f1712d7c7f71f8370e
5a9b2bf5b2e1f429fe8ec99d832b17db545ac199
/19년 9월/0902/행렬찾기/행렬찾기.py
87a192360fe723d105447c915fcb1b45d5d31c86
[]
no_license
pp2pppp2/py_L
290b548e3bea438b16c1d39f43786a18fb178f74
d72872be3ede5f789103b83a040f2963f7c91d0b
refs/heads/master
2020-07-13T08:27:25.045600
2019-11-15T08:04:45
2019-11-15T08:04:45
205,044,493
0
0
null
null
null
null
UTF-8
Python
false
false
1,836
py
import sys sys.stdin = open("input.txt") from functools import cmp_to_key dx = [0, 0, -1, 1] dy = [1, -1, 0, 0] def dfs(y , x , cnt): visit[y][x] = cnt sc[cnt] += 1 q = [(y, x)] while q: t = q.pop(0) for i in range(4): tx = t[1] + dx[i] ty = t[0] + dy[i] ...
[ "pjh9736@gmail.com" ]
pjh9736@gmail.com
e4eab4cb19511049739050ebb139dda6e6d7dbef
75dcb56e318688499bdab789262839e7f58bd4f6
/Python for Data Structures Algorithms/src/12 Array Sequences/Array Sequences Interview Questions/PRACTICE/Anagram Check .py
0309f10b77a64ef17f97d7f978aaaed0da2478a4
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
1,882
py
# %% ''' # Anagram Check ## Problem Given two strings, check to see if they are anagrams. An anagram is when the two strings can be written using the exact same letters (so you can just rearrange the letters to get a different phrase or word). For example: "public relations" is an anagram of "crap built on lies." ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
4aa2f5e3d435b5576fbdc254ca5e9318244bbb4d
05686b05c9333fc713d9ed1b24ed612cbf820d77
/rest.py
ed8473777c35fa230385c8685e5b6257efffb05a
[]
no_license
karttur/geoimagine-timeseries
51ef23f8900bbd5ee5208ebd3b629f385637e52b
8e783983a376e6af00889bdf8873c9447c9b8381
refs/heads/master
2020-07-19T05:55:51.136388
2019-09-04T19:10:42
2019-09-04T19:10:42
206,387,360
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
''' Created on 9 Mar 2019 @author: thomasgumbricht ''' from pandas import read_csv from pandas import datetime from matplotlib import pyplot def parser(x): return datetime.strptime('190'+x, '%Y-%m') series = read_csv('/Users/thomasgumbricht/Downloads/shampoo-sales.csv', header=0, parse_dates=[0], index_col=0,...
[ "thomas.gumbricht@gmail.com" ]
thomas.gumbricht@gmail.com
da2e41278aedc74d7cf67db7bd8eba139d5f75ab
62be17d50d8c5d1cafb3e9114d18d2274f3e57c6
/OpenAFSLibrary/keywords/dump.py
6bb3924a72ab5512238847de4b99b5633f84622a
[ "LicenseRef-scancode-warranty-disclaimer", "MIT", "BSD-2-Clause" ]
permissive
CheyenneWills/robotframework-openafslibrary
b7e598f2b0296412dea1a55f8ccb8c8f2710ffe3
85c2f624c0d70d4f50961b87c82ce8227a6497cd
refs/heads/master
2022-02-12T13:18:47.685898
2021-02-17T18:25:40
2021-02-17T18:31:33
170,564,808
0
0
null
2019-02-13T19:17:15
2019-02-13T19:17:14
null
UTF-8
Python
false
false
4,249
py
# Copyright (c) 2014-2015 Sine Nomine Associates # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of conditions and the followi...
[ "mmeffie@sinenomine.net" ]
mmeffie@sinenomine.net
beb9655b0caf8fcf2ed214fa909a59fa64d35b39
b967487e71b155d61b5dbfa989159449de345c55
/optbinning/binning/prebinning.py
f8780f025250b1363cc6a75e2148dcaf52624eaf
[ "Apache-2.0" ]
permissive
nic9lif3/optbinning
66e2258eab054108680bf38d3b42b7410fc1332a
ce2f0917db9b40049a8edf6f9b2296306ce71d2f
refs/heads/master
2021-04-17T11:44:01.008321
2020-03-22T16:25:36
2020-03-22T16:25:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,878
py
""" Pre-binning class. """ # Guillermo Navas-Palencia <g.navas.palencia@gmail.com> # Copyright (C) 2019 import numpy as np from sklearn.preprocessing import KBinsDiscretizer from sklearn.tree import _tree from sklearn.tree import DecisionTreeClassifier from sklearn.tree import DecisionTreeRegressor class PreBinnin...
[ "g.navas.palencia@gmail.com" ]
g.navas.palencia@gmail.com
0e7efb4297062bf1f2751f27ebe58584344d6d30
f4462ce327c3aa7beb70096aacddc40984e4c9ee
/control.py
5fab8731e8e6607c38809926a6492036bdab77b3
[]
no_license
kotenev/commaled
a7e95b95f81830bc2542b3c7e47096fea801327c
15f72651d99ce3aca9f5b22dfe1a75513f6155fc
refs/heads/master
2021-05-30T00:25:09.993355
2015-12-12T20:56:24
2015-12-12T20:56:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
import usb1 import time import random # open the device context = usb1.USBContext() handle = context.openByVendorIDAndProductID(0x1337, 0x1337) print handle def off(): print "*** turning off" handle.bulkWrite(1, ''.join(map(chr, [0]*6))) import atexit atexit.register(off) cnt = 0 while 1: inten = [0]*6 inte...
[ "geohot@gmail.com" ]
geohot@gmail.com
6cda04cd18cd07d70047f5702a76c272c1febbc0
2b243618454b891c2e513648ef659307f5f222f1
/mysite/polls/models.py
0e022b7d51a83f6eb87712b728576dfaacabd67e
[]
no_license
Harrysibbenga/DjangoTutorial
e1c1ff41ba4f229cfa0653365532b4173d5e9500
1d7c7d95eafddc651e6ee8f1946af1c6522d9227
refs/heads/master
2023-07-12T04:08:08.392038
2021-08-19T19:54:23
2021-08-19T19:54:23
398,058,425
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
import datetime from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def was_published_recently(self): return self.pub_date >= ti...
[ "sibbengaharry@gmail.com" ]
sibbengaharry@gmail.com
598e69f8c8a74e12f0c79ec49fff939e5f883b23
1a59a9076c1e9f1eb98e24ff41a4c1c95e2b353e
/xcp2k/classes/_localize2.py
9a7936809e2d8e5a5b1590cfee716b7c4536e9a2
[]
no_license
Roolthasiva/xcp2k
66b2f30ebeae1a946b81f71d22f97ea4076e11dc
fc3b5885503c6f6dc549efeb4f89f61c8b6b8242
refs/heads/master
2022-12-23T06:03:14.033521
2020-10-07T08:01:48
2020-10-07T08:01:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,696
py
from xcp2k.inputsection import InputSection from xcp2k.classes._print39 import _print39 class _localize2(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Max_iter = None self.Max_crazy_angle = None self.Crazy_scale = None ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cefe87643cbd1019d8f6aff52ec63cc7ae87337d
d2888c746f9e0b3a3d8693fcd245b562c40c315a
/例子-1018.04.变量作用域.py
5a7b3e3c6360b4d1cc8c5d901c986bf8579d3e9b
[]
no_license
blackplusy/python-1010
a3c89f7585ddd1ee2326ec24b4386f8b809bb23b
5509eb067536a6dcf39577c5ef6ab33252031591
refs/heads/master
2020-03-31T16:20:52.922511
2019-02-26T06:12:43
2019-02-26T06:12:43
152,371,365
1
2
null
null
null
null
UTF-8
Python
false
false
496
py
'''def test1(): a=10 print('修改前a的值是',a) a=20 print('修改后a的值是',a) def test(): a=40 print('我是test2中的a',a) test1() test() ''' ''' a=100 print('a的值是',a) def test01(): a=20 print('test01中a的值是',a) def test02(): print('test02中a的值是',a) test01() test02() ''' a=100 print('a的值是',a) def test1(): global a a=200 p...
[ "noreply@github.com" ]
blackplusy.noreply@github.com
3628ac4743652f83b31a20191cf64c526ffa4076
92af0d7e1d0c6b17e80ee249bb133d8e1f1c7852
/ABC106/C.py
c78576da41ba4a0b146da81eb6fc224eac4b5279
[]
no_license
ohshige15/AtCoder
6157089f4672d8497789db02db3bfce334ec0152
c0d1e979631d9df62e70a2b1066bc670fccae1ec
refs/heads/master
2020-04-23T03:25:43.325538
2019-09-19T11:18:57
2019-09-19T11:18:57
170,878,361
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
S = input() K = int(input()) for i, s in enumerate(S): if s != "1": print(s) break if i + 1 >= K: print(s) break
[ "satoshi.o.xxx@gmail.com" ]
satoshi.o.xxx@gmail.com
3c14fb3e7a47d9675e972ff903b18f065e666a23
92b2965ebc1ed6287c6a25958092d6114462c9ad
/lab/app1/models.py
2af7c1618e8e264c1241b3e3b23dba6ad571e7ab
[]
no_license
ramalho/djangopedia
d884c4ce06430ab764e152c25b5c5e8812924a84
9be3dc25f5e42865c582a0924058063a8a3ceac4
refs/heads/master
2021-01-23T03:00:03.816674
2009-02-16T23:55:12
2009-02-16T23:55:12
130,267
2
0
null
null
null
null
UTF-8
Python
false
false
245
py
from django.db import models class EmptyModel(models.Model): pass class OneFieldModel(models.Model): title = models.CharField(max_length=64, blank=True) def __unicode__(self): return '#%s: %s' % (self.id, self.title)
[ "luciano@ramalho.org" ]
luciano@ramalho.org
48aad6355fae15f42b308a2b0befb564399d1b30
6e8e1a4342693472c9aaf385864f40413eb0c786
/hello_world.py
7c63b7245f6955792cd45b40782f0a911d6b3cbf
[ "MIT" ]
permissive
shaunakv1/agis-python
cc6f1ee970c1db3521b60eb1a456e93e47237267
45489d4534cbf4a39a3020449a4762a186a8830e
refs/heads/master
2021-01-17T09:23:00.237313
2017-03-05T22:20:47
2017-03-05T22:20:47
83,983,430
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
#!/usr/bin/python print "Hello World" x = 5 y = 10 result = x+y print result print type(x) print "Result is {:.2f}".format(2)
[ "shaunakv1@gmail.com" ]
shaunakv1@gmail.com
03f8f5629baa079744aefc78e2d6621e92452162
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03089/s468135134.py
a18daddd6e86504d93dc872ee1ae0ac2c733ae3e
[]
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
223
py
N=int(input()) A=list(map(int,input().split())) B=[] for i in range(N): for j in range(len(A)-1,-1,-1): if A[j]==j+1: B.append(A.pop(j)) break else: print(-1) exit() for i in B[::-1]: print(i)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2445b2e31fb3d079d5e4403bc9c92201379e705d
761a3c37621b2daae06d9fe29c93e4d9a8bf5a95
/trainer/a_star_transfer_trainer.py
cc2edc22660e67eb9d3205d5b2f0067e3a85f909
[]
no_license
matthewzhang1998/ecco
486dd37e3b2038b0d3f4d9f40de094f64b6a0679
b25b6d6d4d815e716c19aa53010e70583fbe5686
refs/heads/master
2020-03-26T19:36:55.511529
2018-09-17T04:53:52
2018-09-17T04:53:52
145,275,328
0
0
null
null
null
null
UTF-8
Python
false
false
3,631
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon September 10 06:52:00 2018 @author: matthewszhang """ ''' CREDIT TO TINGWU WANG FOR THIS CODE ''' import numpy as np import init_path import time import copy import os.path as osp from collections import OrderedDict import tensorflow as tf from . impor...
[ "matthew.zhang@mail.utoronto.ca" ]
matthew.zhang@mail.utoronto.ca
1d0419dbfe358b24a6a16602fe8b03652ac8a40d
786de89be635eb21295070a6a3452f3a7fe6712c
/pypdsdata/tags/V00-00-02/SConscript
819c2fb89087b7f85b1bf4a8561511d7149a891d
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # SConscript file for package pypdsdata #------------------------------------------------------------------------ # Do not delete following line, it must be present in # SConscript fil...
[ "salnikov@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@b967ad99-d558-0410-b138-e0f6c56caec7
b3e8f61344b376094aebf1aec4553fafe3f4a036
c4a57dced2f1ed5fd5bac6de620e993a6250ca97
/huaxin/huaxin_restful_service/restful_xjb_service/v1_services_product_getfinproductsearchconditiongroupList_entity.py
9c3ac01ea67991a7e5bd3b6e978f7e3e19984243
[]
no_license
wanglili1703/firewill
f1b287b90afddfe4f31ec063ff0bd5802068be4f
1996f4c01b22b9aec3ae1e243d683af626eb76b8
refs/heads/master
2020-05-24T07:51:12.612678
2019-05-17T07:38:08
2019-05-17T07:38:08
187,169,391
0
0
null
null
null
null
UTF-8
Python
false
false
2,184
py
import json from code_gen.lib.basic_troop_service_entity_handler import BasicTroopServiceEntityHandler DOMAIN_NAME = u'10.199.111.2' URL = u'http://%s/V1/services/product/getFinProductSearchConditionGroupList' BODY_DATA = u'{}' _BODY_DATA = '' if BODY_DATA: _BODY_DATA = json.loads(BODY_DATA) QUERY_DATA = '' METHOD...
[ "wanglili@shhxzq.com" ]
wanglili@shhxzq.com
c07d5e2e77b1e83f87d6d4821d92d14d1d4d554c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4353/codes/1649_2711.py
55b9bf25923d7e2c9603c647406c82a32ac8e020
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
265
py
a=float(input("quanto vc em: ")) b=int(input("quantos tickets vc quer comprar: ")) c=float(input("valor dos tickets: ")) d=int(input("quantidade de passes: ")) e=float(input("valor dos passes: ")) f=b*c+d*e if(a>f): print("SUFICIENTE") else: print("INSUFICIENTE")
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
ef900d67686bb1372a22a6a59f1310d1e20a0bee
c69177332d72ca153b7a139a0fdcc8d70149e960
/qt-apps/fatcrm/fatcrm.py
c4793dc7ce7ef1cbe03569f626e97a12286adf33
[ "BSD-2-Clause" ]
permissive
albertvaka/craft-blueprints-kde
0a4c174bd7003be26acb0a6f1b6d263762b48ef9
98a3154e46b028461ab32fc1a1607a949ab0e714
refs/heads/master
2021-01-23T08:24:45.691529
2017-09-05T10:18:41
2017-09-05T10:18:41
102,520,537
0
0
null
2017-09-05T19:16:21
2017-09-05T19:16:21
null
UTF-8
Python
false
false
1,116
py
# -*- coding: utf-8 -*- import info from Package.CMakePackageBase import * class subinfo(info.infoclass): def setTargets(self): self.svnTargets["master"] = "https://github.com/KDAB/FatCRM.git|frameworks" self.defaultTarget = "master" self.description = "Desktop Application for SugarCRM" ...
[ "vonreth@kde.org" ]
vonreth@kde.org
d0a68d11e09b803111ee5436762628289e96fa5d
5a842e6d8dc1a9c5becb7854ae5c7a83c6250aa9
/Python_Assignments/Assignment_6/Ques8.py
968e9b6af9bc33de9e7cded0cbbe17a9e49a9b65
[]
no_license
nihalgaurav/Python
b67b921fae1479601d04cac63fe29cfaf580ff08
810c36c55ac24bd50ed5f2208496f0ed7652545f
refs/heads/master
2020-08-14T17:30:27.726535
2018-07-21T06:25:38
2018-07-21T06:25:38
215,207,905
0
0
null
2019-10-15T04:38:41
2019-10-15T04:38:41
null
UTF-8
Python
false
false
468
py
'''Take inputs from user to make a list. Again take one input from user and search it in the list and delete that element, if found. Iterate over list using for loop.''' x= int(input("Enter the key x:-")) y=int(input("Enter the key y:-")) z= int(input("Enter the key z:-")) l=[x,y,z] ...
[ "kaurpoonam5248@gmail.com" ]
kaurpoonam5248@gmail.com
4c3718e819cbcc396a0028bdfef55f8ed936bf21
99040393d600e0e3b9e8c52009a3d1cc474cec5d
/judgement.py
09aefe1d41ea2ad404a8dc69eb71e12dd91445c0
[]
no_license
avivalipkowitz/ratings
8bc47dc63d455ba7377d668ed8fbbb65f1e82717
d7a13558cb6a6bac498b6f5f79b89ac066dfaedd
refs/heads/master
2016-09-06T17:12:41.314841
2014-07-04T00:38:45
2014-07-04T00:38:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,959
py
from flask import Flask, render_template, redirect, request, session, flash import model app = Flask(__name__) app.secret_key = '\xf5!\x07!qj\xa4\x08\xc6\xf8\n\x8a\x95m\xe2\x04g\xbb\x98|U\xa2f\x03' #copied key from UberMelon_app @app.route("/") def index(): return render_template("index.html") @app.route('/user...
[ "info@hackbrightacademy.com" ]
info@hackbrightacademy.com
495b717ee30b31c8ba96edc8f9e0ae87d3eab755
87278e84fb4cd4b8dedd4a42cf3a51d48e749ec4
/ch05/swap1.py
3a2a522d101f822ddf018048caa3a7d4d6624ee4
[]
no_license
dykim822/Python
083a6fb9be51e6cb3725a73ea8184f813f572abc
f6bd67d14e3a3a16934650cff6234e9cbad9ebce
refs/heads/main
2023-07-09T23:50:05.059533
2021-07-28T05:07:35
2021-07-28T05:07:35
369,375,985
1
0
null
null
null
null
UTF-8
Python
false
false
198
py
# 반환값이 없으면 None으로 출력 def n(): return def swap(a, b, c): return c, b, a print(n()) # 값이 2개이상 return할 때는 튜플형식으로 반환 print(swap(10, 20, 30))
[ "dykim822@gmail.com" ]
dykim822@gmail.com