blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
7e39cb11c0ea4ed303c6557e14235fb1c9ca5e69
d788892704e618c3f613a5641e10908d63feb659
/docker/slovnet-ner-bert/app.py
12d8273a05579e4725f9417ee32e34c84a389b68
[ "MIT" ]
permissive
natasha/slovnet
a4a4d664cbda72d36bc7d6d49881266c574bddce
4b46dc497b586e106258819c23be28c277efac97
refs/heads/master
2023-08-09T04:15:03.635410
2023-07-24T09:48:01
2023-07-24T09:48:01
205,827,805
201
22
MIT
2023-01-23T07:59:39
2019-09-02T09:56:37
Python
UTF-8
Python
false
false
2,197
py
from os import getenv import logging logging.basicConfig( level=logging.INFO, format='%(asctime)-15s %(message)s' ) log = logging.info from aiohttp import web import torch torch.set_grad_enabled(False) from slovnet.const import PER, LOC, ORG, CUDA0 from slovnet.vocab import ( BERTVocab, BIOTagsVoca...
[ "alex@alexkuk.ru" ]
alex@alexkuk.ru
4a29b1997d7cf6c2d9e0a766bf48c0e8acc0ea68
347f5032d6346d5d3600ba38c3fd3605d3463326
/Qubic/Cosmo/mfisher.py
b3d9e257ccd48133787c22ea8b37934c8bc11e1b
[]
no_license
jchamilton75/MySoft
f5490033b2f2363475e1b8bd3b3527ce0d3b0b80
3407f004352641853bfb73ff42ebcaa8bbc51762
refs/heads/master
2021-01-10T08:55:16.411568
2018-11-21T16:26:16
2018-11-21T16:26:16
50,103,262
0
0
null
null
null
null
UTF-8
Python
false
false
29,237
py
from numpy import * from pylab import * from svd import * from outils import * from correlation import * from cosmology import * def rapport(z_fg, z_bg1, z_bg2, wo=-1.0, wa=0.0): chi_fg = comoving_distance(z_fg, wo = wo, wa = wa) chi_bg1 = comoving_distance(z_bg1, wo = wo, wa = wa) chi_bg2 = comoving_di...
[ "hamilton@apc.univ-paris7.fr" ]
hamilton@apc.univ-paris7.fr
3dbd9b9bbae31b3baa2abe997791673451838e38
41d30922cf80e0148161634d0b45e56c27f85d9b
/virtual/lib/python3.6/site-packages/pylint/reporters/text.py
ce741740b6e390afa870a0f404c720a8a579357d
[ "MIT" ]
permissive
petermirithu/hooby_lab
fb4201a4c88cbd8592ac2faba837c3edfe409ab4
ffd641948bc2d2539649ec747114c78b5ad105e7
refs/heads/master
2022-12-09T12:02:58.359499
2020-06-24T18:44:29
2020-06-24T18:44:29
235,025,514
2
0
MIT
2022-11-22T04:57:34
2020-01-20T05:28:06
Python
UTF-8
Python
false
false
7,930
py
# Copyright (c) 2006-2007, 2010-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> # Copyright (c) 2012-2014 Google, Inc. # Copyright (c) 2014 Brett Cannon <brett@python.org> # Copyright (c) 2014 Arun Persaud <arun@nubati.net> # Copyright (c) 2015-2018 Claudiu Popa <pcmanticore@gmail.com> # Copyright (c) 2015 Flori...
[ "pyra_m.k@yahoo.com" ]
pyra_m.k@yahoo.com
e7e4014a7222d74616f5a9cfaa81d4b2a9ad676e
5f3c8eddb8c5a14fb3b5931f332d401207666036
/src/core/prometheus/server/socketserver/tcp.py
79c9c640f979c24f4dd7892145e8d9c6c1d7a540
[ "Apache-2.0" ]
permissive
hwinther/lanot
dec8fe48efb6245af009bedf65b2bc089e92efa0
f6700cacb3946535081624467b746fdfd38e021d
refs/heads/master
2021-03-24T12:02:47.530833
2019-05-01T11:56:05
2019-05-01T11:56:05
91,605,521
0
0
null
null
null
null
UTF-8
Python
false
false
7,106
py
# coding=utf-8 import socket import gc import uos import prometheus import prometheus.server.socketserver as socketserver import prometheus.logging as logging import prometheus.psocket gc.collect() shell_enabled = True class TcpSocketServer(socketserver.SocketServer): def __init__(self, instance, socketwrapper=N...
[ "hc@wsh.no" ]
hc@wsh.no
57c570e62a046a8a396e9d87ea27b2795c2b9684
8a62da2d9c1ac404c5002f39163c1fa8675ac573
/Scripts/scripts/TC_AD_Bluetooth_7_05_OPP_Incoming_Transfer_Single_Small_File_All_1.py
0460f2a19f22c5eb09e49aa08a014145a47f002e
[]
no_license
evijaythegr8/Applications
210c0cf432d3366571daee5f34f477a5c6247c99
f85d7171ae2a177660dc5c5be49575fb52eb849b
refs/heads/master
2021-01-22T07:04:11.509844
2014-04-20T11:15:53
2014-04-20T11:15:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,565
py
# #=BEGIN # # This file is part of the Bluetooth use-case verification # # Copyright (C) ST-Ericsson SA 2010. All rights reserved. # # This code is ST-Ericsson proprietary and confidential. # Any use of the code for whatever purpose is subject to # specific written permission of ST-Ericsson SA. # #=END # import setup_p...
[ "evijaythegr8@gmail.com" ]
evijaythegr8@gmail.com
b74dd042bfec62027021ee0e4e158cd2720092de
0754e2e7aa1ffb90b54d563ce5a9317e41cfebf9
/ml/m08_wine4.py
0d4fea9468ee01402c905c26fce9a9de368aac6d
[]
no_license
ChaeMyungSeock/Study
62dcf4b13696b1f483c816af576ea8883c57e531
6f726a6ecb43387e4a3b9d068a9c491b115c74c0
refs/heads/master
2023-01-24T20:59:52.053394
2020-12-07T14:54:34
2020-12-07T14:54:34
263,255,793
2
3
null
null
null
null
UTF-8
Python
false
false
1,235
py
import pandas as pd import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier from sklearn.metrics import accuracy_score # 와인 데이터 읽기 wine = pd.read_csv('./data/csv/winequality-white.csv', header=0, sep=';', encoding='cp949') y = wi...
[ "noreply@github.com" ]
ChaeMyungSeock.noreply@github.com
cbbb85ba1085405a6ede94051759e7898f5c1f03
eb191a4eb16c5f1753c13bfd5b0b8a6b1e7d23f1
/Session 5 - While Loops/03_sum_numbers.py
333e1cc03ded61d8c1be0b1b6a2294fac266e07a
[ "MIT" ]
permissive
solomonsh/Crack-the-Code
efadb130d584522e073a2dde2f4cc41722a0faad
5eee7f59292315c724dd173f321bb95925c3023e
refs/heads/main
2023-09-04T09:46:29.477958
2021-10-13T10:45:59
2021-10-13T10:45:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
num = int(input()) sum = 0 while sum < num: new_num = int(input()) sum += new_num print(sum)
[ "elenaborrisova@gmail.com" ]
elenaborrisova@gmail.com
5f7df734647bc8e514b56e4e339644841c45df29
95125609e7a5e4366a38c2a10b268a2dafe1cd06
/leonardo_module_kkadavy/forms.py
843d7613e29cd673204e2df8dd7a593e0a80fbd8
[ "Apache-2.0" ]
permissive
dresl/leonardo-module-kkadavy
5a1148c7c0920ef190ad3ae638e177d97deb223a
b25e0380d7f474b85855a326883ce0e8771e25f0
refs/heads/master
2020-06-13T16:48:54.839558
2019-09-19T13:08:40
2019-09-19T13:08:40
75,524,438
0
0
null
null
null
null
UTF-8
Python
false
false
8,155
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from django.utils import timezone from crispy_forms.layout import \ HTML, Layout, Field, Fieldset, MultiField, Div from crispy_forms.bootstrap import PrependedText from django.contrib.auth import authenticate, get_user_model, login from django.contrib...
[ "nikicresl@gmail.com" ]
nikicresl@gmail.com
1cbaf925b7a9a722997783a5a48da94005c6487b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02662/s211721490.py
276e7a0a5252daf06c76097a0ce16971c02e726b
[]
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
459
py
def main(): MOD = 998244353 N, S = list(map(int, input().split())) A = list(map(int, input().split())) dp = [[0] * (S + 1) for _ in range(N + 1)] dp[0][0] = 1 for i, a in enumerate(A): n = i + 1 for s in range(S + 1): dp[n][s] += 2 * dp[n - 1][s] if s - a ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7e7ddd0e57ec850e6e9c1beafe4408596b156f3e
9cd92c16ef7dbba23dd6b888f87b50134220380d
/statusgenerator/refresh.py
ea62912d2da16ae762cde8293b2027237946bc92
[ "MIT" ]
permissive
bismuthfoundation/Bismuth-Voting
6b21c728646f1b0bc75f497bc07b87993bc54231
d16a15ad19853205202e7aedca6ea16137449273
refs/heads/master
2020-07-25T19:54:26.540768
2019-11-01T20:16:07
2019-11-01T20:16:07
208,408,309
5
1
MIT
2019-10-18T08:39:38
2019-09-14T07:58:12
JavaScript
UTF-8
Python
false
false
7,796
py
#!/usr/bin/env python3 """ Extract motions from the chain. Requires a local full node """ import click import json import sqlite3 import sys from os import path from time import time from base64 import b64encode, b64decode sys.path.append("../") from bismuthvoting.derivablekey import DerivableKey __version__ = "0....
[ "dev@eggpool.net" ]
dev@eggpool.net
75ba837bbc102c25af5e7912f4a08c15e288e853
5e2284bff015e6b03e4ea346572b29aaaf79c7c2
/correct_programs/ethz_eprog_2019/exercise_07/problem_04.py
949b34abb499166592dd8f5713fe62fb157a139c
[ "MIT" ]
permissive
LaurenDebruyn/aocdbc
bbfd7d832f9761ba5b8fb527151157742b2e4890
b857e8deff87373039636c12a170c0086b19f04c
refs/heads/main
2023-06-11T23:02:09.825705
2021-07-05T09:26:23
2021-07-05T09:26:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
""" Write a program to draw a tree recursively. Each branch forks in two, one sub-branch that goes clockwise and the other that goes counter-clockwise. The tree is drawn in multiple steps. Each step is defined by a tuple ``(x, y, alpha, l)``: * Starting point of the actual segment ``(x, y)``, * The direction of the s...
[ "noreply@github.com" ]
LaurenDebruyn.noreply@github.com
9ea44d6f5945eb0395ddca06889a653b20c46e6b
bd0e0540e14bb5765928da97a71771878f8e9e59
/returns/pointfree.py
cff63dcf53a5c35a530d8b5723f51b4c485610da
[ "BSD-2-Clause" ]
permissive
dublt696/returns
5d3f7fe729eb504e42eec60e798cab7e5cd8b12e
6fc0c15ec65b3ce7cafa19697346b7362b03a05d
refs/heads/master
2022-08-21T15:13:09.397403
2020-05-30T08:15:23
2020-05-30T08:15:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
from returns._generated.pointfree.apply import _apply as apply from returns._generated.pointfree.bind import _bind as bind from returns._generated.pointfree.bind_async import _bind_async as bind_async from returns._generated.pointfree.bind_awaitable import ( _bind_awaitable as bind_awaitable, ) from returns._genera...
[ "mail@sobolevn.me" ]
mail@sobolevn.me
cc49e40dbe64dabaadc4f0c13930bd76eed86903
6371aa7328246bd2770d5a31361768318e91a1ed
/algo/filter.py
e15e1b0fc5c30ee6a8d2108e88b2b6468a843328
[]
no_license
PasaOpasen/NG2021
464032c287bf377fb0ae946c6e3b042f19af1fc5
0a30b379e36e0d40004c99a356f818102074a10c
refs/heads/main
2023-04-19T08:42:48.152031
2021-05-02T08:59:08
2021-05-02T08:59:08
359,903,254
1
0
null
null
null
null
UTF-8
Python
false
false
997
py
import os import socket import numpy as np import pandas as pd def simple_filter(df, my_socket = None): """ базовая фильтрация """ my_socket = socket.gethostbyname(socket.gethostname()) if my_socket is None else my_socket data = df[df['Src IP Addr'] != my_socket] data = data[data['Proto']...
[ "qtckpuhdsa@gmail.com" ]
qtckpuhdsa@gmail.com
df3a02009e4719cf6eee0f20d048d83da5a5fc07
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/batch/latest/get_certificate.py
ef34bafac80b04f1192c13dea654e763b6e1835a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
8,874
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
a0e005b1697fe452646ce3ea3c1e6c46c1be844a
5d5f6ba3bdcb52b4750a5f28afa8a1a1019bfc9e
/django/django_fullstack/tvShowProject/apps/tvShowRedirectApp/apps.py
6cf8fce795ed8adbd3e253c284b6acab4c532160
[]
no_license
eDiazGtz/pythonLearning
06e96f2f5a6e48ac314cb815cf9fbf65d0b7c2c8
57d7b2292cf5d9769cce9adf765962c3c0930d6c
refs/heads/master
2023-06-18T02:16:09.293375
2021-05-03T18:09:52
2021-05-03T18:09:52
335,090,531
0
0
null
2021-05-03T18:09:53
2021-02-01T21:35:24
Python
UTF-8
Python
false
false
109
py
from django.apps import AppConfig class TvshowredirectappConfig(AppConfig): name = 'tvShowRedirectApp'
[ "ediaz-gutierrez@hotmail.com" ]
ediaz-gutierrez@hotmail.com
d1162e3faa2057ebc36b6a2cdeefc8ba517fe3d3
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYBBHToTauTau_M-250_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467499/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_13/run_cfg.py
fc18a791cdde38e50107b20c0bfa090eba02eeca
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYBBHToTauTau_M-250_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467499/HTT_24Jul_newTES_manzoni_Up_Jo...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
f42be0825f831246d8fb0dae883522ca8281bbba
1785ce8f49b0a253a2980d37676c62dbb4955d23
/2021 prep/zigZagOrder.py
56485838613e55ed48f28fc7d9f7c0c4805fb518
[]
no_license
BassP97/CTCI
29aca0913f39fc24c281f9cffb255a8e4c2f0472
6ca635efd0cacb56e7a117f6636b6126ddc8ea5b
refs/heads/master
2023-04-08T17:25:58.853342
2021-04-17T22:25:20
2021-04-17T22:25:20
185,297,152
1
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
""" Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between). For example: Given binary tree [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 return its zigzag level order traversal as: [ ...
[ "bass_p1@denison.edu" ]
bass_p1@denison.edu
968b5e814c0087c7c61af48abdc3a7f41e436ae9
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_158/962.py
c6bbcbb1915f88d4cfde20df6d66bc4fda2bdadf
[]
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,304
py
__author__ = 'Tony' def WTF(inty): f = open('my.out','a') f.write(inty+'\n') # python will convert \n to os.linesep f.close() with open("D-small-attempt0.in") as f: content = f.readlines() numOfTests = content[0] for testNum in xrange(1,int(numOfTests)+1): game = content[testNum].split(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
943dc1ca1d4d011b42e5d5b42e27204e9e7832a3
e41651d8f9b5d260b800136672c70cb85c3b80ff
/Notification_System/temboo/Library/KhanAcademy/Users/GetVideo.py
8cf670f81e3589e3aab4be29587f76fcd50bc386
[]
no_license
shriswissfed/GPS-tracking-system
43e667fe3d00aa8e65e86d50a4f776fcb06e8c5c
1c5e90a483386bd2e5c5f48f7c5b306cd5f17965
refs/heads/master
2020-05-23T03:06:46.484473
2018-10-03T08:50:00
2018-10-03T08:50:00
55,578,217
1
0
null
null
null
null
UTF-8
Python
false
false
4,340
py
# -*- coding: utf-8 -*- ############################################################################### # # GetVideo # Retrieves user data about a specific video, such as amount of video watched, points received, etc. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache Licen...
[ "shriswissfed@gmail.com" ]
shriswissfed@gmail.com
d77dd0c7d35c1a92570142234f12f6da962428af
65c8a6a7af2ee8cdf3866d012ea814887bd68a26
/ppro360_automation/Ppro360/TriadCoachingWorkFollow_Cases/TeamHuddleProcessConfirmationForm_PlannedToCompleted.py
6426ec6419194cc5edf9c28d0de0da4e82f536e0
[]
no_license
1282270620/automation_test
9b3c595c3f7a139ded0a638ae4bcf31e0b7f9686
3faf86f0d641089eaf27eba906d22157dd2c1f5d
refs/heads/master
2020-04-01T06:35:33.873989
2018-10-21T03:05:17
2018-10-21T03:05:17
152,954,477
0
0
null
null
null
null
UTF-8
Python
false
false
17,153
py
''' Created on 2018.1.15 @author: haodong.liu ''' import unittest import time from public_method import Gl from public_method.Get_configration_data import Get_configration_data from public_method.Coach_Triad_General import Coach_Triad_General from Tablet_pages.PerformancPage import PerformancePage from public_method.L...
[ "1282270620@qq.com" ]
1282270620@qq.com
6fd93e50462a9367673f67f716453fbdec452558
b66c83dbdb1181d3274cfb309637c0bdf590553f
/devel/lib/python2.7/dist-packages/industrial_extrinsic_cal/msg/_robot_joint_values_triggerActionFeedback.py
67744a785cca44af9a1b061159b23627a68fd7ab
[]
no_license
Sinchiguano/repo_project
9079c80f6544cbe39902c68f61f421bd7cfd55e6
666da1d6d91704302b69ec9e0b0d30db3a709f30
refs/heads/master
2020-04-30T18:06:16.162025
2019-04-25T18:47:58
2019-04-25T18:47:58
177,000,277
0
1
null
null
null
null
UTF-8
Python
false
false
12,883
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from industrial_extrinsic_cal/robot_joint_values_triggerActionFeedback.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import industrial_extrinsic_cal.msg import genpy imp...
[ "cesarsinchiguano@hotmail.es" ]
cesarsinchiguano@hotmail.es
af740d6a2cbe8d478a694e298fbca06f909c17a0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_favourites.py
995392620bc51e4572f12118734d43a1e8d89e60
[ "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
269
py
from xai.brain.wordbase.adjectives._favourite import _FAVOURITE #calss header class _FAVOURITES(_FAVOURITE, ): def __init__(self,): _FAVOURITE.__init__(self) self.name = "FAVOURITES" self.specie = 'adjectives' self.basic = "favourite" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e1c0b5a1f6a120ff511a89de7f26a440cf8f0bc1
cd2d6a91e38992019321831dcc2ed94ada86d931
/scrappy/cian/cian/spiders/services.py
72664f8219bfb7e5fd88776545a68d9a4353b9dd
[]
no_license
SilentLords/DomProd
d82701057f3656e5023d7b9cfede78b56ed5fd10
6e70a6fa098e1fc6ba7181812bdf415477f236ee
refs/heads/master
2022-12-24T18:03:16.217646
2020-09-15T16:58:54
2020-09-15T16:58:54
288,440,375
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
import requests as r API_KEY = '0524ce2f-6067-4ba3-9506-6268f7348498&' def get_cord(address): req = r.get( f'https://geocode-maps.yandex.ru/1.x?geocode={address}&apikey={API_KEY}&format=json') decoded_hand = req.json() x = float( decoded_hand['response']['GeoObjectCollection']['featureMem...
[ "root@domafound.ru" ]
root@domafound.ru
69ea781235a7d03a558e83ff3d77feb6096b37ce
620323fc090cebaf7aca456ff3f7fbbe1e210394
/for_games/Salt and Sanctuary parse bosses saltandsanctuary.fandom.com/export_to_json.py
2c9f8e7d1c6224e34046c0066954242fa4746339
[ "CC-BY-4.0" ]
permissive
gil9red/SimplePyScripts
bd2733372728bf9b9f00570e90316fa12116516b
773c2c9724edd8827a1dbd91694d780e03fcb05a
refs/heads/master
2023-08-31T04:26:09.120173
2023-08-30T17:22:59
2023-08-30T17:22:59
22,650,442
157
46
null
2023-09-08T17:51:33
2014-08-05T16:19:52
Python
UTF-8
Python
false
false
2,072
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "ipetrash" import os import json from utils import get_bosses, convert_bosses_to_only_name def export_to_json_str(bosses: dict[str, list[str]]) -> str: return json.dumps(bosses, ensure_ascii=False, indent=4) def export_to_json(file_name: str, bosse...
[ "ilya.petrash@inbox.ru" ]
ilya.petrash@inbox.ru
a94a8c79c47d1f42349761b04e71abab53a804c6
1a114943c92a5db40034470ff31a79bcf8ddfc37
/GetWebData.py
a5507333fb1585376b7ac28f566e4bdff54587dc
[]
no_license
renwl/mylinux
1924918599efd6766c266231d66b2a7ed6f6cdd1
0602fc6d2b0d254a8503e57310f848fc3e1a73b4
refs/heads/master
2020-07-10T22:12:03.259349
2017-01-02T12:32:04
2017-01-02T12:32:04
66,467,007
0
0
null
null
null
null
UTF-8
Python
false
false
3,311
py
#coding=utf-8 # 导入模块 urllib2 import urllib.request, urllib.error, urllib.parse ...
[ "wenliang.ren@quanray.com" ]
wenliang.ren@quanray.com
d8e57c6ea473e294a60adc87f24aeba70eaa3e5e
43d7028644edfd61b6aa330e01993ac7af4adb9f
/filehandler/csvexport.py
12534f54c3779e5b7db441ca49985ed5879cf03c
[]
no_license
igortereshchenko/python_lesson_1
8f6ca63c7757b2cb6c4f15ea6176f7cfa640890b
df89be1dab41ce5d3741d8fbf4335bb00abc84b5
refs/heads/master
2022-11-06T18:56:39.860860
2020-06-25T12:47:52
2020-06-25T12:47:52
274,914,595
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import csv from filehandler.csvimport import importHumans as ih # list of humans data = ih('../data') with open('export.csv','w',newline='') as file: writer = csv.writer(file) for human in data.values(): for row in human.toList(): writer.writerow(row)
[ "tereshchenko.igor@gmail.com" ]
tereshchenko.igor@gmail.com
72e16131b3138afead316f2b27fe6264475f8df2
23130cd12e38dbce8db8102810edaad70b240ae2
/lintcode/106.py
2c9498c0ff10df07344ec0d0fd7d5aaded4a952c
[ "MIT" ]
permissive
kangli-bionic/algorithm
ee6687c82101088db20f10fb958b4e45e97d3d31
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
refs/heads/master
2023-01-05T09:29:33.204253
2020-10-25T17:29:38
2020-10-25T17:29:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
""" 106. Convert Sorted List to Binary Search Tree https://www.lintcode.com/problem/convert-sorted-list-to-binary-search-tree/description 九章高频题班 因为是平衡树编辑的问题,自然想到了分治。 合并操作: 左边变成BST + root + 右边变成BST. 每一层O(1), 总共log(N)曾,所以O(logN), 但是,每一次合并并非O(1), 因为找linkedlist中点就需要O(N), 所以复杂度是 O(NlogN)。这时候就想,有没有办法所幸每次把结束的点传回去,这样我下次直接从那个点开...
[ "hipaulshi@gmail.com" ]
hipaulshi@gmail.com
5edcc0d63bc906c762ec5791107883671d09f340
2af4823ae83fbcc780ef538bd02fa5bf3a51208c
/ABC170/E.py
5e507f922e92e313b68863fe60d40f45f2456a0a
[]
no_license
jre233kei/procon-atcoder
102420cc246a5123ac9774f8b28440f1d8b70b0f
c463c9c92d45f19fba32d0c8a25f97d73db67bc5
refs/heads/master
2022-12-04T09:30:39.271433
2020-08-14T11:38:46
2020-08-14T11:38:46
276,779,835
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
ni = lambda: int(input()) nm = lambda: map(int, input().split()) nl = lambda: list(map(int, input().split())) import math n=ni() a=sorted(nl()) sa = [] ans=0 last=-1 cnt=0 for i in range(n): if a[i]!=last: cnt=0 last=a[i] else: cnt+=1 if cnt <= 2: sa.append(a[i]) l =len(sa) for i in range...
[ "jre233kei+github@gmail.com" ]
jre233kei+github@gmail.com
1925472472f880e9452ca4ddd9b967a58cf8d377
6e9ae6159f53c3d9c554032fd2811e975e7765b8
/iscom/iscom/settings.py
95dc26dfccaa9e979ac4dbbce472e90304b8db56
[]
no_license
david30907d/iscom_crawler
afa79cfdaa6e23de8e4f7bd11daa3c729819b85f
248320c4c05d40d29f908263f03b7b20ea09ae0d
refs/heads/master
2021-05-15T12:05:59.490594
2018-02-07T13:20:02
2018-02-07T13:20:02
108,394,836
2
0
null
null
null
null
UTF-8
Python
false
false
3,117
py
# -*- coding: utf-8 -*- # Scrapy settings for iscom project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest/t...
[ "davidtnfsh@gmail.com" ]
davidtnfsh@gmail.com
a9a94a739959ef1447ef84cc17b7282eabd77373
44d8042c77a8f18c03bec92b619425a0787e3ddb
/Classes/py3interm/EXAMPLES/QT/qt_selectables.py
0bb3fb5d3eb68a4b31c7211e41d3877310d5c51a
[]
no_license
Jgoschke86/Jay
3015613770d85d9fa65620cc1d2514357569b9bb
9a3cd87a5cff35c1f2a4fd6a14949c6f3694e3e2
refs/heads/master
2023-05-26T15:49:08.681125
2023-04-28T22:16:09
2023-04-28T22:16:09
215,616,981
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
#!/usr/bin/env python # # (c) 2013 John Strickler # # Selectables # ######################################## import sys from PyQt4.QtGui import QMainWindow, QApplication from ui_selectables import Ui_Selectables class SelectablesMain(QMainWindow): def __init__(self): QMainWindow.__init__(self) ...
[ "56652104+Jgoschke86@users.noreply.github.com" ]
56652104+Jgoschke86@users.noreply.github.com
00e6707a640cf47e63a6fbe277bdeb06a05100ad
7548d516ccbca84dee02c5ec1c13cca3f355d15f
/raic2018/common/vec3.py
251e76051f0e576f14c8544981dd91b170589105
[]
no_license
SSS135/raic2018
073099119d66a54647f18be6f67a170ea383e554
98ca12a61728140e2fe00207e92a2fc274bf2f5f
refs/heads/master
2020-04-13T12:24:35.779958
2019-06-03T08:48:47
2019-06-03T08:48:47
163,201,001
0
0
null
null
null
null
UTF-8
Python
false
false
3,391
py
import math class Vec3(): def __init__(self, x=0.0, y=0.0, z=0.0): if isinstance(x, list) or isinstance(x, tuple): x, y, z = x self.x = x self.y = y self.z = z @property def magnitude(self): return math.sqrt(self.x * self.x + self.y * self.y + self.z * ...
[ "sss13594@gmail.com" ]
sss13594@gmail.com
b822c8fbb8578eea430626fe3d335612bf8d83d0
08c8bf9ea15094eee96df1a42d1d222362b5dc7a
/src/dicom_parser/utils/siemens/messages.py
171ecff803804bda1ce8718ba6bc682ddbfd4dae
[ "MIT" ]
permissive
open-dicom/dicom_parser
51801fc9e86379e470308b28f05b9520315c82fc
8f9224dfb1e12ee52aa17d520f10e169fe400391
refs/heads/main
2023-04-07T01:21:31.390019
2023-03-15T12:48:23
2023-03-15T12:48:23
241,392,223
12
9
MIT
2023-03-15T12:48:27
2020-02-18T15:09:51
Python
UTF-8
Python
false
false
1,745
py
""" Messages for the :mod:`~dicom_parser.utils.siemens` module. """ #: Message to display for invalid BandwidthPerPixelPhaseEncode value type. from typing import Any, Iterable BANDWITH_PER_PIXEL_TYPEERROR: str = "BandwidthPerPixelPhaseEncode must be of type float or bytes, got {bad_type}!" #: Message to display when...
[ "z.baratz@gmail.com" ]
z.baratz@gmail.com
d8d9b027b6980ac6c58a2ee27363285a3e4115c0
f96c11b0a5e8ebe6570b5ef8660f0c6a01a863da
/chartnew/tests.py
49c89f6c435267331c9bc3b788a555236e58beb3
[]
no_license
Murthysagi/django-test
6c9adddf61adfca3678dac5eccd2aaf089e10a7a
0d26f0d9cdcdd87e0d0d63463e7b558b32ec6305
refs/heads/master
2020-03-16T20:13:11.359957
2018-05-14T14:36:46
2018-05-14T14:36:46
132,950,850
0
0
null
null
null
null
UTF-8
Python
false
false
2,540
py
from django.test import TestCase import json from django.test import TestCase from django.core.urlresolvers import reverse from demoproject._compat import decode class LineChartJSTestCase(TestCase): def test_line_chartjs(self): resp = self.client.get(reverse('line_chart')) self.assertContains(re...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
e255eb7d76279a37b42a9e7272ab5f9f6467cfd9
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/jedi/third_party/typeshed/stdlib/3/multiprocessing/pool.pyi
7a31051fbf5474931d2d4df3c8d993bbae30c5cf
[ "MIT", "Apache-2.0" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
3,224
pyi
import sys from typing import Any, Callable, ContextManager, Generic, Iterable, Iterator, List, Mapping, Optional, TypeVar if sys.version_info >= (3, 9): from types import GenericAlias _PT = TypeVar("_PT", bound=Pool) _S = TypeVar("_S") _T = TypeVar("_T") class ApplyResult(Generic[_T]): def get(self, timeout...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
5298a4333376bb7e763e093ab1074bfad9df8be5
2b0a8a94692e93a6fc6b24374487fbde82a8d6ee
/DccKP/PySpark/Cojo/LargestDataset/gatherLargestDatasetVariants.py
da51560cb80cc3fc7d02fb1a61a6c0bcc696fc77
[]
no_license
marcduby/MachineLearningPython
5b59293489f7a7c2002815f8a3f44ce17a051c0c
8cc37fea87723acbe011e32b7a6c6f9f37379e10
refs/heads/master
2023-08-31T20:26:36.581931
2023-08-30T17:56:13
2023-08-30T17:56:13
163,126,454
0
2
null
2023-02-16T00:52:04
2018-12-26T02:19:11
Jupyter Notebook
UTF-8
Python
false
false
5,077
py
# imports import argparse from pyspark.sql import SparkSession from pyspark.sql.types import IntegerType from pyspark.sql.functions import col, input_file_name, regexp_extract, lit def main(): """ Arguments: phenotype """ opts = argparse.ArgumentParser() opts.add_argument('phenotype_arg') # p...
[ "mduby@broadinstitute.org" ]
mduby@broadinstitute.org
3b0e17d8d183567eb558251f894b15256e073074
c2fe5fdfd9f57cfb6a848ede4b733d11e717ccc7
/tests/protocols/command_test.py
a6781c0faa78883989b9f6d6e6d957fa10b10fca
[]
no_license
wma8/SeniorDesign
8e26b70e8010ba42f599a56544b1de2fc914d138
d8ee7c1608cad88f7c64410de49a07bf7b621be0
refs/heads/master
2022-03-19T12:40:40.600516
2019-08-07T13:03:58
2019-08-07T13:03:58
201,042,550
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
import unittest from readop.protocols.command import Cmd class TestCmd(unittest.TestCase): def setUp(self): # Runs a simple command self.command = Cmd("echo Hello") def test_command_output(self): # Tests for the correct output self.assertEqual(self.command.stdout, b'Hello...
[ "wma8@ncsu.edu" ]
wma8@ncsu.edu
117316959855c721764aa70b0a660ceefc54e3e8
d2cbe0b5a50ca6b161ad2d6cf31d8a0434f09829
/users/forms.py
c8d91e2d0f290c0369d4fd15c44c027e2045d4dd
[]
no_license
HeeeeeJinJeong/fc_tistory
dd02b5713cb03ac28dbf3b42b90f17717e1228fb
534232a17b942deece12acee4b4834c414b760dc
refs/heads/master
2022-12-19T01:53:03.103207
2019-10-07T06:00:10
2019-10-07T06:00:10
204,851,743
0
0
null
2022-12-04T14:55:50
2019-08-28T05:01:56
JavaScript
UTF-8
Python
false
false
705
py
from django import forms from .models import User class RegisterForm(forms.ModelForm): # 회원가입 폼 # 장고에서는 HTML 입력요소를 widget(위젯)이라고 말한다. password = forms.CharField(label='password', widget=forms.PasswordInput) confirm_password = forms.CharField(label='confirm password', widget=forms.PasswordInput) c...
[ "misakiyoshikuni@gmail.com" ]
misakiyoshikuni@gmail.com
ee20087c4634c03f6d2bdaee46e6703a48858f38
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/H9gjahbSRbbGEpYta_10.py
d7d7346d28ff2fed69d32b59dedd7ac32491a960
[]
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
410
py
""" Create a function that takes two numbers `n1` `n2` and multiplies them **without using** `*`. ### Examples multiply(3, 2) ➞ 6 multiply(4, 10) ➞ 40 multiply(-2, 4) ➞ -8 ### Notes Do not use `*` for this challenge. """ def multiply(n1, n2): product = 0 for i in range(abs(n1)): ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
31e2a6f91f441601f055a5f8f5c697569277f41f
08a68e32dc80f99a37a30ddbbf943337546cc3d5
/.history/count/urls_20200419185826.py
9ed460e0936e3edf748b0ec5f8af899c8124b48f
[]
no_license
Space20001/word-count-project
dff1b4b44d2f7230070eef0d95dd968b655d92f7
795b5e8ad5c59109e96bf7a8e9192efaefa7770e
refs/heads/master
2022-04-20T17:54:05.511449
2020-04-20T15:25:46
2020-04-20T15:25:46
257,327,368
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
from django.urls import path from . import views urlpatterns = [ path('', views.home), path('', views.about, name='about') ]
[ "steve.h@blueyonder.com" ]
steve.h@blueyonder.com
68360abde22aa8e168b5dccf6b65ed8f717590d3
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Cura/plugins/VersionUpgrade/VersionUpgrade34to35/VersionUpgrade34to35.py
8e45d7cf732cc3254004c739fd4d617d78f881fb
[ "LGPL-3.0-only", "GPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
9,488
py
# Copyright (c) 2018 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. import configparser import io from typing import Dict, List, Set, Tuple from UM.VersionUpgrade import VersionUpgrade deleted_settings = {"prime_tower_wall_thickness", "dual_pre_wipe", "prime_tower_purge_volume"} # type: S...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
17082ac538bc0065975b825ad25fa747b9c8ad65
7fa3038e6870a2e77bc9ce2c6a6b1326bf0d1659
/sw/middleware.py
5c76351761dc1af043e87bd9b28f80113c5d67ef
[ "Apache-2.0" ]
permissive
snswa/swsites
63c54415c26e5bcdba2b8ac9b0dbac66d9e444ac
4eaf79de924efd257d68fbea88df20546a711c02
refs/heads/master
2020-06-01T14:09:00.153618
2011-05-03T23:10:32
2011-05-03T23:10:32
1,056,249
0
0
null
null
null
null
UTF-8
Python
false
false
2,898
py
from django.conf import settings from django.core.exceptions import PermissionDenied from django.core.urlresolvers import reverse from django.http import HttpResponseForbidden, HttpResponseRedirect class HqPredicateMiddleware(object): def process_view(self, request, view_func, view_args, view_kwargs): lo...
[ "gldnspud@gmail.com" ]
gldnspud@gmail.com
c20a932a87281f4ec6a5b626f449f91f9b76c943
e72c9e619629f1b29066bd05f76232895fb3586e
/srcAllin1/eventdetection_tw.py
68c8f25f4a50e798f4a9b7294b52d3a70495bf6d
[]
no_license
sarveshsparab/FrED
b671e356b71b143396c0bc7e98544eb5b3c065a4
87dd75a576e8270085d182cf78baaa7ccab84357
refs/heads/master
2020-04-25T20:34:20.152512
2018-11-12T13:24:39
2018-11-12T13:24:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,009
py
#! /usr/bin/env python #coding=utf-8 import time import re import os import sys import cPickle import math from argparse import ArgumentParser sys.path.append(os.path.expanduser("~")+"/Scripts") from hashOperation import * from preProcessTweetText import * from zpar import ZPar from nltk.stem.porter im...
[ "qolina@gmail.com" ]
qolina@gmail.com
c635cbcc9c0b486943b78e74b012ac67e5add0f9
338694ee6e7af96b1483f3e5a8a504112fa99fe7
/tensorflow/python/autograph/pyct/error_utils.py
7595f28b8d7fed91f4b61cc7abb167e0d85950d1
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
harishsg99/tensorflow
3165919d77a2680c8c089a58bd2c39642780f56d
4f5a6e748eb8fb16d10738b7d1c2c95d5e6c008c
refs/heads/master
2023-07-19T23:33:05.536956
2021-08-18T18:06:23
2021-08-18T18:06:23
397,690,438
1
0
Apache-2.0
2021-08-18T18:18:32
2021-08-18T17:54:59
C++
UTF-8
Python
false
false
7,465
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
e37c7100922806b155fe506ef36b29906a33b691
033b29b6b1538d10e060e5734a1d7488a3fa03b4
/13-op-overloading/bingoaddable.py
976aed9d2deae222ae5bdba7dbede25615f4f22d
[ "MIT" ]
permissive
yuechuanx/fluent-python-code-and-notes
f99967416abc9c46be50d95f822b2ef3609f2d2d
2ae19fff8e1d292c6e8d163c99ca63e07259499c
refs/heads/master
2023-08-09T22:14:22.985987
2022-08-28T09:06:32
2022-08-28T09:06:32
229,009,764
2
0
MIT
2023-07-20T15:11:59
2019-12-19T08:30:28
Jupyter Notebook
UTF-8
Python
false
false
2,022
py
""" ====================== AddableBingoCage tests ====================== Tests for __add__: # BEGIN ADDABLE_BINGO_ADD_DEMO >>> vowels = 'AEIOU' >>> globe = AddableBingoCage(vowels) # <1> >>> globe.inspect() ('A', 'E', 'I', 'O', 'U') >>> globe.pick() in vowels # <2> True >>> len(globe.i...
[ "xiaoyuechuanz@163.com" ]
xiaoyuechuanz@163.com
2855032ddd06564a717fd964a1cbfb0c1828c0d4
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-recommender/samples/generated_samples/recommender_v1beta1_generated_recommender_get_insight_type_config_async.py
19e3a454d6341f4cafda8af2264f3849a6e1debd
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,934
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
8e2037235b2881639c0cd94156b4f629a4a3eaea
0e3cf95b4b4fd60fffeace36760f4a7e5ad0d9e6
/python/WTauFakeRateAnalysis.py
ccb47f220dca6c1a7c9da2e2f0f47b4b98857ce7
[]
no_license
cbbrainerd/DevTools-Analysis
8f1a282db50c559ca6a983ee6387d29a0cc9cabc
1b6557a7635d2f929ef8118c150b5725ef683caa
refs/heads/master
2021-01-25T10:50:54.942075
2017-08-23T21:08:41
2017-08-23T21:08:41
93,889,116
0
0
null
2017-06-09T19:06:01
2017-06-09T19:06:01
null
UTF-8
Python
false
false
7,168
py
#!/usr/bin/env python import argparse import logging import sys from DevTools.Analyzer.utilities import getTestFiles from AnalysisBase import AnalysisBase from utilities import ZMASS, deltaPhi, deltaR from Candidates import * import sys import itertools import operator sys.argv.append('-b') import ROOT sys.argv.pop...
[ "dntaylor@wisc.edu" ]
dntaylor@wisc.edu
a1495ee7b6c0b73a603e241148c300a356c5d09b
244ecfc2017a48c70b74556be8c188e7a4815848
/res_bw/scripts/client/bwobsolete_helpers/pygui/console.py
b8d60dc00c4c2103a05c5fcd7edb51322b536b52
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,549
py
# 2015.11.18 11:59:49 Střední Evropa (běžný čas) # Embedded file name: scripts/client/bwobsolete_helpers/PyGUI/Console.py import BigWorld, GUI import Keys import math from Listeners import registerDeviceListener from PyGUIBase import PyGUIBase MAX_HISTORY_ENTRIES = 50 class Console(PyGUIBase): factoryString = 'PyG...
[ "info@webium.sk" ]
info@webium.sk
13251e9c91d953da298ee4505bcc9dd4fe5517d1
56b1ffb1d40155cde93420f43d04fbb15e832bdb
/robustness_metrics/metrics/retrieval_test.py
557daee2a5861d891257ec2e0aab07b5cc082b3e
[ "MIT", "Apache-2.0" ]
permissive
panford/robustness_metrics
9bc382bb4f8a298fc6cbf1e709101fd674828b6c
1ee550e0bf4ed5d479be0426956dc2fa758a820e
refs/heads/master
2023-08-12T14:48:02.796169
2021-09-24T17:58:41
2021-09-24T17:59:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,477
py
# coding=utf-8 # Copyright 2021 The Robustness Metrics Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
99a370d23eb523c08a0febed824f06079d873f56
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03475/s512197521.py
1394e77382709a812e44b365bffcede44fcec60c
[]
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
439
py
n = int(input()) csf = [list(map(int,input().split())) for _ in range(n-1)] for i in range(n): time = 0 while True: if i == n-1: print(time) break if time < csf[i][1]: time = csf[i][1] + csf[i][0] else: if time%csf[i][2] == 0: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
df8f2627afc2623c102f1d70226e4cf53c6806a8
f5be48889917c9d7e13a29ce3da74a9b3f48d88f
/backend/out_shot_20839/settings.py
56eaa6d50cfedffe771e8b18efdfd6e17ee9efa1
[]
no_license
crowdbotics-apps/out-shot-20839
98ca54e28d657e1d580abd8db77cd971f6800afa
b4c69da44bf1254dadbb90a919fefd82276f2f14
refs/heads/master
2022-12-20T20:55:22.714399
2020-09-29T19:03:40
2020-09-29T19:03:40
299,711,636
0
0
null
null
null
null
UTF-8
Python
false
false
5,886
py
""" Django settings for out_shot_20839 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ impor...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2a0bbed4942b6037e471fd421e229e12c9c64eee
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03017/s376752584.py
5c48975869a639fc37697b6bb740cf6405d0b90a
[]
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
175
py
N, A, B, C, D = map(int, input().split()) S = input() if '##' in S[A-1:max(C, D)]: print('No') elif C < D or ('...' in S[B-2:D+1]): print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d38f6852f4aaa76c6df41b9c1b41c2e15934144f
5f22ddbd3eeb99709e43e7b9a7958c9987c7efa4
/interview_bits/level_6/06_dp/12_multiply_dp/01_unique-binary-search-trees-ii.py
997eb96caabbaf181056b286a7985bd945c7a741
[]
no_license
salvador-dali/algorithms_general
04950bd823fc354adc58a4f23b7d2f3d39664798
aeee3356e2488c6fab08741b1ac26e8bd5e4ac0d
refs/heads/master
2020-12-14T06:24:10.466601
2016-07-17T06:00:17
2016-07-17T06:00:17
47,397,457
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
# https://www.interviewbit.com/problems/unique-binary-search-trees-ii/ def catalan(n): prev = 1 for i in xrange(n): prev = prev * 2 * (2 * i + 1) / (i + 2) return prev
[ "dmytro@knowlabs.com" ]
dmytro@knowlabs.com
3e37737a5941740fad188ce487213d2a2f904f6e
4a8aec9a9b5c451bbdf4c6f3810838e15279a470
/sw/groundstation/gs/NMEA.py
65ef6c08ad3045a6a337d3547a7962331f3d07df
[ "MIT" ]
permissive
nzjrs/wasp
6248b28093256c6ca748cef27af14c94a28a53dd
b763309af59e7784811baa6dd80e17dba1b27d81
refs/heads/master
2021-01-22T19:54:39.233729
2017-09-25T09:24:19
2017-09-25T09:24:19
206,450
7
4
null
null
null
null
WINDOWS-1252
Python
false
false
11,463
py
# -*- coding: iso-8859-15 -*- import datetime import string import math # Originally from pyGPS # NMEA message descriptions from http://www.gpsinformation.org/dale/nmea.htm class NMEA: OK = "OK" def __init__(self): self.prn = range(12) self.elevation = range(12) self.azimuth = range(...
[ "john.stowers@gmail.com" ]
john.stowers@gmail.com
fe3dfe1b4b8ee1cc248eb04e2ef52a4c65da1a90
7870b522d9b9a59727e8185ed33eca353d2c18d5
/backend/patient_frog_28586/wsgi.py
710319a6f514f246ad36204b0d678dd54a257995
[]
no_license
crowdbotics-apps/patient-frog-28586
950d8bbb44b33bef81cd03b03dd893198f48672f
882a4431d2aae31c535ad0845f17fee5503a231c
refs/heads/master
2023-05-31T04:42:47.871944
2021-07-08T11:44:39
2021-07-08T11:44:39
384,105,530
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for patient_frog_28586 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('D...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
160b3cd823670faf3afbfaf4c130d2f5940cfa11
4d01bd8003ac64b2a688db12108b472387c999c4
/level4_2.py
a8a33972d786f4502ecad112c006ece6cc959b21
[]
no_license
BlackHat-S/PWN
2ef6aa7db3baafe009ac31631bdaffaf043f3b85
cde1f9ee3258aa56c2634995d5baec14b500a399
refs/heads/master
2021-01-07T00:44:20.208899
2020-03-21T04:16:14
2020-03-21T04:29:47
241,529,666
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
from pwn import * io=remote("pwn2.jarvisoj.com",9880) elf=ELF("./level4") vulner_function_address=0x804844B write_plt=elf.plt["write"] read_plt=elf.plt["read"] bss_addr=0x0804a024 def leak(address): payload="a"*0x88+"aaaa"+p32(write_plt)+p32(vulner_function_address)+p32(1)+p32(address)+p32(4) io.sendline(payloa...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
df319aa0ce70eb742f52b6e7f61ca3466962c4bf
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03067/s414306306.py
b8dfe9a0835b1b933cca19c7ef9f13162fc74954
[]
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
102
py
A, B, C = map(int, input().split()) if A < C < B or B < C < A: print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0fb156d73951286ad26e45cdbdf70ade209dd962
dc76fa9b80622185c12c5ae4159352450b1e5fd8
/stacktrace/tools/timer.py
46bc6592c70e076aaa35173db2f21c08620d4551
[]
no_license
numba/stacktrace
dc90285b784ef1dc5dbd9782f47fb29362208e8c
1c10caffcaea8b02862063e6fd132d4ed2a8c634
refs/heads/master
2023-07-07T13:38:34.267208
2019-04-11T14:26:21
2019-04-11T14:26:21
146,798,503
5
1
null
null
null
null
UTF-8
Python
false
false
1,892
py
from __future__ import division import threading import time from stacktrace.basic import DEFAULT_MAXDEPTH, get_thread_stack from stacktrace._docutils import apply_doc @apply_doc class Timer(object): """A Timer object that repeatedly invoke backtrace on a target thread at a given frequency. Parameters ...
[ "michael.lam.sk@gmail.com" ]
michael.lam.sk@gmail.com
f550f40885387d6c86777f80858837f34c72b19b
056adbbdfb968486ecc330f913f0de6f51deee33
/293-flip-game/flip-game.py
1207b74efa407c3cf69d09c754daef4c378b48af
[]
no_license
privateHmmmm/leetcode
b84453a1a951cdece2dd629c127da59a4715e078
cb303e610949e953b689fbed499f5bb0b79c4aea
refs/heads/master
2021-05-12T06:21:07.727332
2018-01-12T08:54:52
2018-01-12T08:54:52
117,215,642
0
1
null
null
null
null
UTF-8
Python
false
false
969
py
# -*- coding:utf-8 -*- # # You are playing the following Flip Game with your friend: Given a string that contains only these two characters: + and -, you and your friend take turns to flip two consecutive "++" into "--". The game ends when a person can no longer make a move and therefore the other person will be the ...
[ "hyan90@ucsc.edu" ]
hyan90@ucsc.edu
f5f41d8992a1fb0a66768e8aadd7526de3f5a8e1
3d96cee3f0c986c7195e7677d85e91dc837d8dd4
/Web/B/5/5.7/tasks.py
3aa6e8404cd6437bccd55aaadb7ed2c4ea5c9a7e
[]
no_license
dannycrief/full-stack-web-dev-couse
7faffe1c9e6c39baf03d6ee54f716e4f8b4c8733
0b22bc84742d8e78bd6a2e03adfbc44137f3d607
refs/heads/master
2023-01-12T09:25:16.378035
2021-03-21T16:51:18
2021-03-21T16:51:18
220,825,261
0
1
null
2023-01-05T12:57:14
2019-11-10T17:34:02
Python
UTF-8
Python
false
false
983
py
# Fizz if % 3 == 0 def fizz_or_buzz(number): if number % 3 == 0 and number % 5 == 0: return "FizzBuzz" elif number % 5 == 0: return "Buzz" elif number % 3 == 0: return "Fizz" else: return "FUCK" for i in range(100): print("Number is: " + str(i), fizz_or_buzz(i)) #...
[ "step.kozbvb@gmail.com" ]
step.kozbvb@gmail.com
b2ddf07b1b86500159769a14e2c0ff78e472de38
d0ee60149444d74cefef575b3c593496061dc6fe
/scripts/hiercluster/labelmodelfromann.py
35c4752326c6e39fe4acbcc87ae88ab9572c6f17
[]
no_license
isi-nlp/unitok
0c12f0bc6dd15e5faaf9a4036e2c7a86df45de3e
93a7d985fa632ed24722c524663f8f01cf32ea61
refs/heads/master
2021-01-15T15:36:40.336623
2016-10-15T00:23:45
2016-10-15T00:23:45
46,525,737
3
2
null
null
null
null
UTF-8
Python
false
false
3,447
py
#!/usr/bin/env python3 import argparse import sys import codecs if sys.version_info[0] == 2: from itertools import izip else: izip = zip from collections import defaultdict as dd import re import os.path import gzip import unicodedata as ud import numpy as np from sklearn.feature_extraction import DictVectorizer fr...
[ "jonmay@isi.edu" ]
jonmay@isi.edu
a39b9cb9f6a407807f7e266ba2dcf9da96b4ba90
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-NetworkExtension/PyObjCTest/test_neappproxyprovidermanager.py
1ec28565238e56ffe56e7e8fb111b09b8bc47ff6
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
363
py
from PyObjCTools.TestSupport import TestCase, min_os_level import NetworkExtension class TestNEAppProxyProviderManager(TestCase): @min_os_level("10.11") def testMethods(self): self.assertArgIsBlock( NetworkExtension.NEAppProxyProviderManager.loadAllFromPreferencesWithCompletionHandler_, ...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
cc6de5849f5010258f2880ebe8fef769e96a8279
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2743/60761/301536.py
7c89f428059979e160280d69c80bbd0ed223870d
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,386
py
def addcandies(result,start,end,loads): temp=[] result[start]+=1 if end in loads[start]: return result else: pre=start temp+=loads[start] while(temp): current=temp.pop(0) if(end in loads[current]): result[current]+=1 ...
[ "1069583789@qq.com" ]
1069583789@qq.com
2eacde1dd8654c56032d4f1cf121b035cf2290c8
f6948d3ec4a7d0594513edada08c7e808f61eedd
/db/db.py
9a97449bbfaecdfd3a711a3830a31f50599a140a
[]
no_license
drewlinsley/genadv
086850c28815342dbb3953ce3e690253b0fea7e7
e8954dc927c7db0b1d2de27319ad4cad4f6152f0
refs/heads/master
2022-12-29T00:19:41.964838
2020-09-21T20:39:58
2020-09-21T20:39:58
297,455,820
0
0
null
null
null
null
UTF-8
Python
false
false
15,439
py
#!/usr/bin/env python import os import json import sshtunnel import argparse import psycopg2 import psycopg2.extras import psycopg2.extensions # import numpy as np # from tqdm import tqdm from db import credentials from config import Config main_config = Config() sshtunnel.DAEMON = True # Prevent hanging process due...
[ "drewlinsley@gmail.com" ]
drewlinsley@gmail.com
62221fbfa254196ee2add4b3e5fbf3bcaca6ae2e
2dc9cfb2954cda43d4ba05cd20f8ad490bd116f3
/idaes/generic_models/unit_models/separator.py
b0a00c84db9f273397dc9a7e7f5007d7232d3c15
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mahale4366/idaes-pse
44940a13f231a6bdd705b001749e72eec3afb96f
886d3c1333653402fef8706bde37ad6febe549f3
refs/heads/master
2022-11-10T08:31:13.489315
2020-06-27T01:30:27
2020-06-27T01:30:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
63,208
py
############################################################################## # Institute for the Design of Advanced Energy Systems Process Systems # Engineering Framework (IDAES PSE Framework) Copyright (c) 2018-2020, by the # software owners: The Regents of the University of California, through # Lawrence Berkeley N...
[ "KSBeattie@lbl.gov" ]
KSBeattie@lbl.gov
9684c6bc594e5dd7038ed2639c9c98d81dba4bf4
e762c4cca4f7452d8154583186cf05e86ae9e61b
/src/acc/commands.py
ee721474698c17bc279e25d05ed0c68b5a56c6a8
[]
no_license
abilian/abilian-cloud-controller
20032582a55e56076adf4ddefaa732d0d81f531b
f5459c6006e32c1824140c1868b3c58d7b358486
refs/heads/main
2023-02-25T06:00:07.969914
2021-02-04T17:40:05
2021-02-04T17:40:05
335,912,595
0
0
null
null
null
null
UTF-8
Python
false
false
3,753
py
from .config import HOME from .model import Instance, session, all_instances, get_instance, Base, engine from .model import RUNNING, READY, DESTROYED from .util import system from . import server from .processes import supervisor from .nginx import setup_nginx # # Commands # def cmd_clean(): """Drop database and ...
[ "sf@fermigier.com" ]
sf@fermigier.com
8a6facbbf03ddf4656e380bcbd177a24e6c985e0
1d2a303ba179e0e6f357ae8555e4f5706f3b0eba
/musterloesungen/blatt03/minitwitter/server/usermodel.py
95a802b1130ad8819557550a28af76e86492b6dc
[]
no_license
tthelen/webtech18
74f10e8ac47cd9a543c89702fc4aaa893d7faf17
3a2437253dc117cf69e097e25034c4a61b7046b3
refs/heads/master
2020-04-02T07:29:46.959318
2019-01-30T08:59:40
2019-01-30T08:59:40
154,199,140
6
5
null
null
null
null
UTF-8
Python
false
false
4,280
py
from server.log import log import sqlite3 as sqlite import re class UserError(Exception): """Error handling user data.""" def __init__(self, msg=''): self.msg = msg class Users: """The User collection.""" def __init__(self, db_connection=None): self.username_regex = r"^[^\s:]+$" ...
[ "tt@tobiasthelen.de" ]
tt@tobiasthelen.de
ed4c71a5f760a5e294998bf770d97e70d3225cb3
df2e16aaccc0c81c57f7174983e831ee683fbcd8
/ebook/spiders/trash/ctext_booklist_spider.py
62392f504395439a23e934a54df224e7874a4ab4
[]
no_license
wikty/epub_old
0117bd72cd4d45e4bd297bfed229ba481adf9caf
82e78d62e2281cb1b58083e9df3a4ad48dbc7e88
refs/heads/master
2021-06-11T10:21:01.990550
2017-02-24T04:27:58
2017-02-24T04:27:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,345
py
import codecs, json, re import scrapy from w3lib.html import remove_tags, remove_tags_with_content from scrapy.spidermiddlewares.httperror import HttpError from twisted.internet.error import DNSLookupError from twisted.internet.error import TimeoutError, TCPTimedOutError from ebook import items from ebook.item_loaders...
[ "xiaowenbin_999@163.com" ]
xiaowenbin_999@163.com
99d65195926ab88f85cb5708ef3b6c90f312fe8d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_precipitates.py
807d8598f902630513326326e4090dedfff4eae1
[ "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
283
py
from xai.brain.wordbase.adjectives._precipitate import _PRECIPITATE #calss header class _PRECIPITATES(_PRECIPITATE, ): def __init__(self,): _PRECIPITATE.__init__(self) self.name = "PRECIPITATES" self.specie = 'adjectives' self.basic = "precipitate" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f238adab543203db1ee5d41ab5a94b2f19919e25
dfc0a257bdf04078fb3dc965e38f8e87a2f9d814
/movie_api/api/admin.py
cf47339c24cf762b4dfeb1ce74816208d78a0915
[]
no_license
PawlikMateusz/movie_rest_api
af666fe45f9786ef295d1f515098bdc99114b28c
29fd7f4c466783368ccc0d673f326001a4d8f682
refs/heads/master
2022-12-13T14:57:41.596242
2019-03-06T09:19:41
2019-03-06T09:19:41
173,728,844
0
0
null
2022-12-08T01:40:17
2019-03-04T11:03:47
Python
UTF-8
Python
false
false
155
py
from django.contrib import admin # Register your models here. from .models import Movie, Comment admin.site.register(Movie) admin.site.register(Comment)
[ "mateusz.pawlik@outlook.com" ]
mateusz.pawlik@outlook.com
5a1c2deb29b4fe97e7a3f9877bf2e8245ca1d124
7367c04c0914a5db630aaf111e836fc3796a4354
/setup.py
ea419f37f10a7e1099d8848842408d56d6166e14
[]
no_license
mitar/pyjsparser
bf49a38edab6b8e0237550ae7bb3394aff38e403
39b468e9838818b5719cb3d961ce4b0017a227e3
refs/heads/master
2021-01-25T07:54:36.380233
2017-05-05T11:57:05
2017-05-05T11:57:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
from distutils.core import setup setup( name='pyjsparser', version='2.4.5', packages=['pyjsparser'], url='https://github.com/PiotrDabkowski/pyjsparser', install_requires = [], license='MIT', author='Piotr Dabkowski', author_email='piodrus@gmail.com', description='Fast javascript par...
[ "piodrus@gmail.com" ]
piodrus@gmail.com
07fdcb1ae755989e6fa2c908b227cf1a9cca89ae
024b3ea3747442d7c5da870a646c31ac5284b321
/portfolio_backend_project/wsgi.py
11563f2643e2bae00aede8580b8bc80ed7fa5d3d
[]
no_license
corey-marchand/coreys-portfolio-backend
4e719a4ae015f134163b40ad84bfd9928fdb1e46
32aa7aa99cec350767bbc779e4333a98ca2f2e04
refs/heads/master
2022-12-26T02:04:57.697671
2020-10-09T02:52:39
2020-10-09T02:52:39
299,845,094
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
""" WSGI config for portfolio_backend_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "corey.marchand@me.com" ]
corey.marchand@me.com
e7e8dc813aa6985a737eef14f1e997ecf83cb9c6
d429444c80a64e79cfa28ba80c60604f31b55929
/data_analysis_dummy_coding.py
43e27481382483cc737780a96407f4d29059d270
[]
no_license
hevalenc/Pandas-with-Python-for-Data-Science
195d2b36bd02a463c51ab69e0e238d19f7959991
0ff8f11334a6bb3f7d6f4bbe2cd4c2aae975ad46
refs/heads/main
2023-07-15T00:02:25.409236
2021-08-30T23:36:52
2021-08-30T23:36:52
401,514,962
0
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
import pandas as pd data = pd.read_csv('https://raw.githubusercontent.com/justmarkham/pandas-videos/master/data/titanic_train.csv') print(data.head()) print('\nNome das colunas') print(data.columns) print('\nMapeando uma coluna') print(data.Sex.map({'male':1, 'female':0})) data['isMale'] = data.Sex.map({'male':1, '...
[ "heitorvalenca7@gmail.com" ]
heitorvalenca7@gmail.com
727aefa799ca66c4aaa06d2e6aa548061cb527cc
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/tuya/binary_sensor.py
25b2df4147822fb515f7c217595c4cfee91600e7
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
13,874
py
"""Support for Tuya binary sensors.""" from __future__ import annotations from dataclasses import dataclass from tuya_iot import TuyaDevice, TuyaDeviceManager from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassist...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
2dd000bf654b7d16b3bfd8528e0a86fc7dd9b4c6
4efd4fe7e848dc5973e350516ebfb57be015f5b6
/inline_media/tests/settings.py
c24b061b40b1f0c27202c0d6a3a40195b443a105
[ "BSD-2-Clause", "CC-BY-2.5" ]
permissive
MechanisM/django-inline-media
468648eb7a8b909a4204fc3c05788a73988a7855
e3ef3def173bcc9ac540123afe467894b635db85
refs/heads/master
2021-01-19T08:23:07.228198
2012-02-22T18:09:10
2012-02-22T18:09:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,719
py
#-*- coding: utf-8 -*- import os import tempfile from django.core.files.storage import FileSystemStorage DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME'...
[ "danirus@eml.cc" ]
danirus@eml.cc
afb27d447e342ea7a8f701d0feb2f8b7658bba1d
6bae32e5ad8f198e31d6da864b0a9f44d54c5ec6
/src/monteur/setuptools/interpreted_loader.py
9ea3f2691a7c4e71601abf39a252341976c666e3
[]
no_license
thefunny42/Zeam-Setup
42dcce867a947fb82e6b17cebd47f92285187a9e
0c27945b87b0150ee462b493cf646111822e8867
refs/heads/master
2020-04-15T15:37:40.153075
2013-03-15T10:42:36
2013-03-15T10:42:36
445,656
0
0
null
null
null
null
UTF-8
Python
false
false
5,362
py
import os import logging from monteur.configuration import Configuration from monteur.python import PythonInterpreter from monteur.setuptools.autotools import create_autotools from monteur.setuptools import unsetuptoolize from monteur.version import Version, Requirements logger = logging.getLogger('monteur') class...
[ "thefunny@gmail.com" ]
thefunny@gmail.com
f6b030db80387a4a9051418bd8331e26cbac2940
268568ff2d483f39de78a5b29d941ce499cace33
/spyder/plugins/explorer/__init__.py
94415a2fda60499c49286fb1d1db7b99d3a0ad95
[ "MIT" ]
permissive
MarkMoretto/spyder-master
61e7f8007144562978da9c6adecaa3022758c56f
5f8c64edc0bbd203a97607950b53a9fcec9d2f0b
refs/heads/master
2023-01-10T16:34:37.825886
2020-08-07T19:07:56
2020-08-07T19:07:56
285,901,914
2
1
MIT
2022-12-20T13:46:41
2020-08-07T19:03:37
Python
UTF-8
Python
false
false
251
py
# -*- coding: utf-8 -*- # # Copyright © Spyder Project Contributors # Licensed under the terms of the MIT License # (see spyder/__init__.py for details) """ spyder.plugins.explorer ======================= Files and Directories Explorer Plugin. """
[ "mark.moretto@forcepoint.com" ]
mark.moretto@forcepoint.com
d59ca270ee74a4d7fb45b97c972642a3e61588f0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04031/s952299381.py
fd1c91ffaa7f4345851e333dd2dcfc9b9e6b9d35
[]
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
217
py
N=int(input()) *A,=map(int,input().split()) mx=max(A) mn=min(A) if len(set(A))==1: print(0) else: ans=float('inf') for i in range(mn,mx): ans=min(ans, sum([(k-i)**2 for k in A])) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eb2436eeb86925e98aef7b4e5fe55d4648506913
2a89520f16fe8ce772f0a2edeae9840b2ec6da28
/src/pathways/flatten_emplid_course_csv.py
9b1ee772e7a5140ce51bfec87aa73b31cb3a50d8
[]
no_license
paepcke/pathways
54c0bba369d15888bcc978f053b513db5197ebd9
822c6ba8ab709e742a254bf34c5c4b8e79daa15e
refs/heads/master
2020-03-25T22:01:26.330014
2019-09-14T22:18:21
2019-09-14T22:18:21
144,201,584
2
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
#!/usr/bin/env python ''' Created on Aug 9, 2018 @author: paepcke ''' import csv import os import sys class EmplidCourseFlattener(object): def __init__(self, infile, outfile): with open(outfile, 'w') as outFd: with open(infile, 'r') as inFd: reader = csv.reader(inFd) ...
[ "paepcke@cs.stanford.edu" ]
paepcke@cs.stanford.edu
88dcbe965fd0d2cdfdbe6a8ba2f3996f44cbe050
2132557b760e9837567a5026793da65cf0ea7671
/Desktop_App/Addax/env/Lib/site-packages/ImageGrab.py
58ad380c0ad8d624db82785c0222cce1c6f18f36
[ "MIT" ]
permissive
filesmuggler/antelope
e54fa94e3e3036723026bb2b353af8b97c00bfbf
f7f4a857fc8afb4eb9e83f2a8e3734c863ba9102
refs/heads/master
2020-04-16T10:48:28.858132
2019-01-23T18:48:16
2019-01-23T18:48:16
165,517,519
0
0
MIT
2019-01-23T18:48:17
2019-01-13T14:51:36
Python
UTF-8
Python
false
false
28
py
from PIL.ImageGrab import *
[ "krzste09@outlook.com" ]
krzste09@outlook.com
e40379a5c31cf1b1e9e0fd86988815559e960381
221b92fb9d5d2ba0c62f8df3d3799737ac938fdd
/asimplecrudproject/settings.py
07128e104065d537e0872500dcc179b2b8213c02
[]
no_license
johnbangla/asimplecrudforlearning
59d5f877b65d83002a34ec309d3b588262765949
99c0e85e98f919672702d2af3e43be0abcb25fae
refs/heads/master
2022-12-29T03:31:04.861298
2020-09-28T20:10:47
2020-09-28T20:10:47
299,417,111
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
""" Django settings for asimplecrudproject project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ f...
[ "johnbangla@gmail.com" ]
johnbangla@gmail.com
50bbcc4a25a76937037886fed2eba3ea1add98a2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04000/s475509387.py
85ceece866d44b5b3406e2531a210cac36562ae5
[]
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
597
py
H, W, N = input().split(" ") H, W, N = int(H), int(W), int(N) A = [] for i in range(N): A.append([int(j) for j in input().split(" ")]) import itertools from collections import defaultdict, Counter c = defaultdict(int) for a, b in A: # そのセルを含む正方形の中心を記録 for dx,dy in itertools.product([-1,0,1],repeat = 2): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c2db6be5c96fbf693762ba09ddbe350c3fbe67c3
ba8f5d23d9878a25b30a32cf16e8833f93b25853
/source_py2/test_python_toolbox/test_nifty_collections/test_lazy_tuple/test_lazy_tuple.py
25494071c2d0dd5ac32c1cc08ac31f1733154520
[ "MIT" ]
permissive
nastako/python_toolbox
af520cbec1468c8e0aae0b3b1c467ca5623af45b
9713fd728608818630ee409ac6a6fdaf863af31b
refs/heads/master
2020-12-11T09:07:19.681161
2015-01-16T21:26:37
2015-01-16T21:26:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,880
py
# Copyright 2009-2015 Ram Rachum. # This program is distributed under the MIT license. '''Testing module for `python_toolbox.nifty_collections.LazyTuple`.''' import uuid import itertools import collections from python_toolbox import cute_iter_tools from python_toolbox import sequence_tools from python_toolbox import...
[ "ram@rachum.com" ]
ram@rachum.com
377add99646aff003db4dcc22fe3df9a0af00b35
ba0a2b0d2d1534443ea34320675aadfa378457b6
/LinkedList/Q138_Copy List with Random Pointer.py
24cd3edd7fd76010b3755a2f50f18c6529287d06
[]
no_license
Luolingwei/LeetCode
73abd58af116f3ec59fd6c76f662beb2a413586c
79d4824879d0faed117eee9d99615cd478432a14
refs/heads/master
2021-08-08T17:45:19.215454
2021-06-17T17:03:15
2021-06-17T17:03:15
152,186,910
0
1
null
null
null
null
UTF-8
Python
false
false
1,096
py
# 思路1: 用HashTable存每个节点的copy,构造新LinkedList时,直接取用next和random O(2n) # 相当于建立起了原链表和新链表的一一对应的copy关系,注意用copy.get,因为到链表尾部会get(null) # 思路2: 一边建立LinkedList一边赋值,如果dic中没有暂时置为0, 当访问到该节点时,修改对应的val,此时需手动添加None import collections class Solution: # Solution 1 O(2n) # def copyRandomList(self, head): # copy={} # ...
[ "564258080@qq.com" ]
564258080@qq.com
6d23f26bdb3ee54b0af66a968819ff84d54971e4
86a9c8efc44628894329cfea96d574790b6f8fc9
/tests/datatypes/test_tuple.py
90c7b54b7614a9b36ca8d72d7ea9a7cf3fc6a2d8
[ "BSD-3-Clause", "MIT" ]
permissive
314developer/batavia
1be2c239969e82621a664de2bd26a4fb8b790e92
5d3561991b7debc73ae32fe813626ec9d8d0717e
refs/heads/master
2021-01-18T10:30:09.159761
2016-06-19T15:48:59
2016-06-19T15:48:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,733
py
from .. utils import TranspileTestCase, UnaryOperationTestCase, BinaryOperationTestCase, InplaceOperationTestCase import unittest class TupleTests(TranspileTestCase): @unittest.expectedFailure def test_setattr(self): self.assertCodeExecution(""" x = (1, 2, 3) x.attr = 42 ...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
477bf92a6ab78bc9f86b5cd8d19d5d144d8ca380
b2e6002674f7866a653842eb2afad5ad02e86a6b
/vote/migrations/0001_initial.py
26c2f958ca3036a82a23ea6dd98c3bf6f707e1de
[]
no_license
fredkheisa/Awards
a467dd9ded521995ce9a080d4dc3b337cd993902
b593b7f97df13b628e93478af0e98546167b7717
refs/heads/master
2020-04-12T19:17:17.754824
2019-01-09T08:00:46
2019-01-09T08:00:46
162,705,190
0
0
null
null
null
null
UTF-8
Python
false
false
4,205
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-01-05 11:35 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '...
[ "you@example.com" ]
you@example.com
b8040e9b33c2c6ada4d0a17b545da6bfaf5cb2ff
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/explosion_spaCy/spaCy-master/spacy/hu/punctuation.py
945cc170eaae9c5799255367c135ecdd1466efc1
[ "MIT" ]
permissive
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
1,277
py
# encoding: utf8 from __future__ import unicode_literals from ..language_data.punctuation import ALPHA_LOWER, LIST_ELLIPSES, QUOTES, ALPHA_UPPER, LIST_QUOTES, UNITS, \ CURRENCY, LIST_PUNCT, ALPHA, _QUOTES CURRENCY_SYMBOLS = r"\$ ¢ £ € ¥ ฿" TOKENIZER_PREFIXES = ( [r'\+'] + LIST_PUNCT + LIST_ELLIPSES +...
[ "659338505@qq.com" ]
659338505@qq.com
812d5654f384ee53f1aa05083e2382e721b5e272
8cac67c84228a8fa2dbae3536a28ff0255d64de1
/0x0B-python-input_output/13-student.py
41568661ac918416a47c88c33bc080b07cd09f12
[]
no_license
dgquintero/holbertonschool-higher_level_programming
8ee78ee61890eb532dc3f7b0a73db903f4627c88
3d0f431d76a8436461cb5602b97bbdf4f5774f56
refs/heads/master
2020-09-29T00:32:20.623148
2020-05-14T18:59:38
2020-05-14T18:59:38
226,902,482
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
#!/usr/bin/python3 class Student: def __init__(self, first_name, last_name, age): self.first_name = first_name self.last_name = last_name self.age = age def to_json(self, attrs=None): if attrs is None: return self.__dict__ _dict = {} for i in attrs...
[ "dgquintero02@hotmail.com" ]
dgquintero02@hotmail.com
44338ee96ae473c56b4a3e7be463714f21574a85
ca31c40d3c4a75f747c183870b4f39966991ead0
/9_keys/arithmetic_interface_to_kewen.py
b7193dba0bec1a0aaffa30289dd6611a49f1af7e
[]
no_license
mmt0997/ngram_engineArighmetic
7ce0acfac743aacf131608967fa363ce2bc22c15
18e2401164bb9936e460c1f25bd55785579eef1e
refs/heads/master
2021-01-20T11:35:21.689200
2014-10-27T09:08:20
2014-10-27T09:08:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,555
py
#coding:utf-8 import os import codecs import itertools class EngineArithmetic(object): def __init__(self): self.src_data_path = r'E:\SVN\linguistic_model\N_gram\bigram' self.ngram_weight_dic = {} self._load_ngram_weight() def _load_ngram_weight(self): ngram_item_filenam...
[ "wachfx@163.com" ]
wachfx@163.com
c59097a17fa67db93b6b796c785734adec762154
584db1be8b6bdedaa56d186692ad72da5ee07164
/patron/tests/unit/scheduler/test_filters.py
b416aef12c80477adfdf09fa60541912a3cb2249
[ "Apache-2.0" ]
permissive
casbin/openstack-patron
66006f57725cf1c3d735cd5529d3459fd77384c8
b41b1262f3a52c8cc9f6b6bdf87be5a1abcf6d25
refs/heads/master
2023-05-31T05:23:37.721768
2015-12-31T12:18:17
2015-12-31T12:18:17
382,054,546
0
0
null
null
null
null
UTF-8
Python
false
false
8,497
py
# Copyright 2012 OpenStack Foundation # 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 req...
[ "hsluoyz@qq.com" ]
hsluoyz@qq.com
f99faf8e6819d199d2fdac5ff2174e73cbaac848
2fc1d40081764c9b1d3ba5b9681e6d6491f56d17
/manage.py
ed59960bbb2e52335a5d58060a41717d22d46819
[]
no_license
hakimkal/primegate
9907818dca4f1a09e426be01b7124a02641c32af
4df640f710d824bb54970b5d03dde01214771ba0
refs/heads/master
2021-01-22T23:34:22.201608
2014-12-02T12:32:35
2014-12-02T12:32:35
26,557,253
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "primegate.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "hakimkal@gmail.com" ]
hakimkal@gmail.com
929b71eeb227abf33bb981ffbd6682b8dcc1196c
6376c0e15c4883036f733c99c56212b82aab55f2
/kedro/framework/cli/catalog.py
5fd64fdd43258d56eed905500394eb2f3723e26e
[ "Apache-2.0" ]
permissive
sbrugman/kedro
3e48bcc56cc61fbe575d1a52c4f5bf3e84b6f974
123d5bde3010fd62d7a1f7ee4fd7e131af8581c8
refs/heads/main
2023-07-20T11:24:07.242114
2022-09-16T12:15:11
2022-09-16T12:15:11
404,517,683
1
2
NOASSERTION
2021-09-08T22:53:09
2021-09-08T22:53:09
null
UTF-8
Python
false
false
5,713
py
"""A collection of CLI commands for working with Kedro catalog.""" from collections import defaultdict import click import yaml from click import secho from kedro.framework.cli.utils import KedroCliError, env_option, split_string from kedro.framework.project import pipelines, settings from kedro.framework.session imp...
[ "noreply@github.com" ]
sbrugman.noreply@github.com
016db5caa31d39a235ed6c208fdf53bb8193ed15
7239d389894613ef132edb1198a4f47cb2b65f92
/packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py
c2b54e71256f9a1c1def3e69258eb93411c4545a
[ "MIT" ]
permissive
fast3dd13sa/plotly.py
2169417b72481ff2937b5a9ce90d426cd1cccd80
e778c6b5e6ae9665d7a5e2ddb666f43806df3959
refs/heads/master
2022-04-26T01:11:46.345181
2020-04-27T19:49:56
2020-04-27T19:49:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,482
py
from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType import copy as _copy class YAxis(_BaseLayoutHierarchyType): # class properties # -------------------- _parent_path_str = "layout.xaxis.rangeslider" _path_str = "layout.xaxis.rangeslider.yaxis" _valid_props = {"ra...
[ "noreply@github.com" ]
fast3dd13sa.noreply@github.com
ba3e0d2540c96183503f3979d58b14a52819ab06
52b5773617a1b972a905de4d692540d26ff74926
/.history/leader_20200827123908.py
9b7f22ff1ee6247b8cb153ff5cade3aa9fe87972
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
def leader(A): # A leader occurs more than n //2 times in the array # meaning it makes up more than half of the array n = len(A) size = 0 for i in range(len(A)): if size == 0: size +=1 value = A[i] leader([4,6,6,6,6,8,8])
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
cc4d112bb01b4d5a69787032a66f580d3dd2eae2
1cc8604dff9713d3879599f1876a6ea313ebe1fb
/setup.py
2cadd12a2a3be9462744d9698f4a3edf2a73d5e9
[ "Apache-2.0" ]
permissive
SoyGema/pysc2
c363ec768ebf94e7b0fa08e136b36b7432ae1b44
e5de62023ec45ac212016b5404dd73272109d9d4
refs/heads/master
2022-02-08T21:41:46.530129
2022-01-29T13:11:15
2022-01-29T13:11:15
143,897,552
1
0
Apache-2.0
2018-08-07T16:06:23
2018-08-07T16:06:22
null
UTF-8
Python
false
false
3,517
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "tewalds@google.com" ]
tewalds@google.com
62ba08850cf535da54975c468123c34823c21db9
df0ff991368b84af7eff5f84858c4590c247e4a4
/conditionals.py
a4ca363d4497f4e5ece54bf77f794c541696e3d7
[]
no_license
katuhito/python_math
62d74f9e8b7dc756c544f6578bcb60ed106c741b
2f6577be1ebb422e7a85bbc839408fa1585e1f39
refs/heads/master
2023-04-02T09:07:41.053707
2021-03-27T10:37:16
2021-03-27T10:37:16
334,314,021
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
age = 50 if age < 10: print("どこの学校に通っているのかな?") elif 10 <= age < 20: print("若いね!") elif 20 <= age < 30: print("職業は何ですか?") elif 30 <= age < 40: print("結婚されてます?") else: print("おお、ご年配の方ですね!")
[ "katuhitohara@gmail.com" ]
katuhitohara@gmail.com
af20d75c8e996481abfffb504493b723f24d49a3
2e07f6b94fc0f7a5cf55002040151b8745fd843d
/privious_learning_code/OS_Handling/os.fdopen() Method.py
3e853bf5a928fd8bb44dd38f979f652fa16d79e7
[]
no_license
LalithK90/LearningPython
a7e6404e900b7d66c663acc72cde3e3655d54ac7
ece38fdac88da66c8b76fe710b3df7d8635a3590
refs/heads/master
2023-06-09T22:32:16.674821
2021-06-27T18:55:00
2021-06-27T18:55:00
169,513,150
0
1
null
null
null
null
UTF-8
Python
false
false
1,481
py
# Description # # The method fdopen() returns an open file object connected to the file descriptor fd. Then you can perform all the defined functions on file object. # Syntax # # Following is the syntax for fdopen() method − # # os.fdopen(fd, [, mode[, bufsize]]); # # Parameters # # fd − This is the file descriptor for...
[ "asakahatapitiya@gmail.com" ]
asakahatapitiya@gmail.com
6ca1f91fa2b0c41c47334eeac0bab46d32f43171
45e353a9d7eb8f27cdd24fa4db9c788e0e2d6dbe
/_site/tomat/apps/cart/views.py
e7d0dc5c7549690f40f3002c7f17a1119487daeb
[ "MIT" ]
permissive
Lisaveta-K/lisaveta-k.github.io
5fc3732fe0f15a3cdc33ea6cf7e2bf710880b5b9
96306c4d2634d62e6d0ac504aee8ca91f8b3de11
refs/heads/master
2021-05-16T08:21:42.922364
2017-01-09T13:39:10
2017-01-09T13:39:10
24,048,737
0
0
null
null
null
null
UTF-8
Python
false
false
10,509
py
# -*- coding: utf-8 -*- import logging import datetime import decimal from django.shortcuts import render from django.http import HttpResponseRedirect, HttpResponseBadRequest, HttpResponse from django.views.decorators.http import require_POST from django.core.urlresolvers import reverse from annoying.decorators impor...
[ "lisavaeta.khudiakova@gmail.com" ]
lisavaeta.khudiakova@gmail.com
1c0e9e128bbd427ea3f205e92f4154a43b1d59a8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03080/s825867617.py
d7e9df6235f3ab9f6a6ac795f4a73476f59137f5
[]
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
135
py
from collections import Counter n = int(input()) c = Counter(list(input())) if c['R'] > c['B']: print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cc4bc8052b5fc8ffb046716509951e9670c471e8
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-documentai/samples/generated_samples/documentai_v1_generated_document_processor_service_fetch_processor_types_async.py
5715cc5195b1457c4c0de2f85b71881b69e7b3af
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,938
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
a3fcb69aa089dd0ba91197c7682ff57bf3db598f
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/b63.py
e2c07bdcaba198b6f1058fab0269b27c02165789
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com