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
9e2d27aa8e45e1d0028a1e9ed43e9f10c484a899
8d1d1e7677e1a18c00fb295971211d4e29d10896
/vocal_synthesis/experiments/16mar_minimalist2.py
8a0371d7ae056b62551b05945627504c8a9a062d
[]
no_license
christopher-beckham/ift6266h16
8296d1529f6ce3e209af371283f816a4c6d63ea9
f141fb0a320c20c2c7b43b46f06b1c68cde183f0
refs/heads/master
2021-01-10T13:38:40.733180
2016-04-17T02:22:52
2016-04-17T02:22:52
49,399,600
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
import numpy as np from scipy.io import wavfile import os import sys #os.chdir("..") sys.path.append( os.pardir ) #sys.stderr.write("current working directory: %s\n" % os.getcwd()) import cPickle as pickle from lasagne.updates import * import rnn_experiment as experiment if __name__ == "__main__": # e.g. 1000_60s...
[ "chrispy645@gmail.com" ]
chrispy645@gmail.com
3ae0f1c95796e57b71290c1ea4593981b8eaa8cc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_105/ch14_2019_08_28_18_56_07_920001.py
274be80f2e6a4a400ac2bbcb7a5f2f8276dbfe22
[]
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
204
py
#funçao para calcular o volume de uma esfera import math def calcula_volume_da_espera(raio): volume = (4 / 3) * math.pi * (raio)**3 return volume r = 5 x = calcula_volume_da_espera(r) print(x)
[ "you@example.com" ]
you@example.com
23025f36549d15efc64fc8f5fc60643bf064f03f
a08225934c425be313a12975c9563a72ded58be6
/round668/ansbfsbro.py
d92b9b43907213e629b22639d82c6f148de5a3cc
[]
no_license
marcus-aurelianus/codeforce
27c966554dee9986f23fb2925bd53e6cceb8b9e9
4764df151ade7806e32b6c88283a2de946f99e16
refs/heads/master
2023-03-18T09:30:55.042594
2021-03-12T18:14:08
2021-03-12T18:14:08
231,387,022
2
0
null
null
null
null
UTF-8
Python
false
false
1,649
py
from collections import deque import sys input = sys.stdin.readline def get_diameter(tree): u, _, _ = _dfs(0, tree) v, diam, dist = _dfs(u, tree) path = [v] while v != u: for nxt_v in tree[v]: if 1 + dist[nxt_v] == dist[v]: path.append(nxt_v) v =...
[ "37787424+marcus-aurelianus@users.noreply.github.com" ]
37787424+marcus-aurelianus@users.noreply.github.com
82fe2175ec04d5bd0ac591bc2dca2851cd2e62d4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_088/ch50_2020_09_30_20_44_23_062380.py
2fc8c9a8fab5b14828d3b554d8252e61a4429570
[]
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
222
py
def junta_nome_sobrenome(nome,sobrenome): juncao=[] i=0 j=0 while(i<len(nome) and j<len(sobrenome)): juncao.append(nome[i],sobrenome[j]) i+=1 j+=1 return juncao
[ "you@example.com" ]
you@example.com
94fce4febd1a1ec48c9220916fc4081efd807f64
3955c3f367a3a60f8602dcb4609faec9898438bb
/test/test_retention_strategy_description.py
cac1211511a84328ecf682bb3d91e58adf7feb4c
[ "Apache-2.0" ]
permissive
MinhKMA/graylog.py
e89c34defa5422d59d0a501355058f5eb2dfe68c
3118f4a49c91c2cbbd660523b0ab99e56fbfd861
refs/heads/master
2021-05-06T21:03:06.946509
2016-09-23T04:31:13
2016-09-23T04:31:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
# coding: utf-8 """ No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.1.1+01d50e5 Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "License"); you m...
[ "on99@users.noreply.github.com" ]
on99@users.noreply.github.com
2c0bf2128c76702e7d8830f8120c27fde6389526
2d064dfb4244f5b915c3b02de9594f8e15beb6d0
/Other Projects/RamanShiftNiller.py
e61d0127378fbfb4a711b9c2b17186a3aaa9a182
[]
no_license
ArunShishodia/Smaller-Programs
24937ff571a27b5e0c634bf235fb175794986086
318ee830188c526921083a5f9aabd41504e055a2
refs/heads/master
2023-08-24T11:28:54.234711
2021-10-22T17:29:03
2021-10-22T17:29:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
def print_to_file(): in1,in2 = 0, 0 while in1 != "stop": in1 = float(input("Enter the right hand side mode: ")) in2 = float(input("Enter the left hand side mode: ")) print("The result is ", (in1 - in2)/2) in_str = input("Do you want to print to file? y/n ") if in_str ...
[ "martenscheuck@gmail.com" ]
martenscheuck@gmail.com
5f24281f18439e98042de1cbc4bfec9f0b491c3d
d7aea8c5589c4d752e075244aab92d245ad98b4e
/densenetocr/core.py
78633d70b458b00a6e5517337dfd7df40377835c
[]
no_license
fendaq/text-detection-1
9da5bc131c89f465f4dc64924bff4765253b6bdd
fedbfa1ad02da6b98cb154eeaba32692d40ec672
refs/heads/master
2020-04-05T17:47:20.221900
2018-11-11T04:54:26
2018-11-11T04:54:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,750
py
import json import keras.backend as K import numpy as np from PIL import Image from keras import Input, Model from keras.layers import Conv2D, BatchNormalization, Activation, Dropout, AveragePooling2D, ZeroPadding2D, Permute, \ TimeDistributed, Flatten, Dense, Lambda from keras.layers.merge import concatenate from...
[ "1490215053@qq.com" ]
1490215053@qq.com
1111f324e3844b239c55a24138a23a8c48c92e47
564fe9c8409d9ff4ba5f88dd36c0743d417767fa
/test/test_alert_team_meta.py
3ae2e7a913c19ecd20b06e143be8e283b5169389
[ "Apache-2.0" ]
permissive
criteo-forks/opsgenie-python-sdk
28cf4b2e5eb5f10df582cfd6393a0e952dee5102
2a3924a0bd779eab47937925eb5d42ffbbd751d4
refs/heads/master
2020-04-05T23:09:41.002143
2019-04-12T13:37:22
2019-04-12T13:37:22
65,009,459
0
2
null
2016-08-05T10:08:55
2016-08-05T10:08:55
null
UTF-8
Python
false
false
870
py
# coding: utf-8 """ OpsGenie REST API OpsGenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import opsgenie_swagger from opsgenie_swagger.models.aler...
[ "c.chary@criteo.com" ]
c.chary@criteo.com
2575781d0b1a0577879a12cb6c9d39c26bb61fa6
00689951be97b3e9e3a036aca64efaa1ee59134a
/aula020 - FUNÇÕES/aula020.py
6fb54eff457ee36900903b61a3a97b0b0b5a7171
[ "MIT" ]
permissive
miradouro/CursoEmVideo-Python
4826cf387cc9424e675f2b115842a643f2d67c8d
cc7b05a9a4aad8e6ef3b29453d83370094d75e41
refs/heads/main
2023-03-24T08:51:34.183169
2021-03-20T22:15:02
2021-03-20T22:15:02
349,843,991
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
def mensagens(msg): print('-'*30) print(f'{msg:^30}') print('-'*30) def soma(a, b): print(a + b) def contador(*num): somatoria = 0 for valor in num: somatoria += valor print(somatoria) mensagens('Olá, Mundo!') soma(4, 5) contador(2, 3, 4, 1)
[ "rafaelmiradouro@gmail.com" ]
rafaelmiradouro@gmail.com
7239fe20e9a84b702b3c129e529ae7d77af73d46
0cab1425f18ea11e498278815ed2d95e26d15ace
/helper/helper_file.py
9ac77270fb042a05dcf7cf00ff88842a2d62d815
[]
no_license
philgookang/pcr
1574a26160b83987234f3103e5b82eaf1bc5ac72
4fa28fecc3ca22b8b3315991e6505c7519de4fde
refs/heads/master
2023-08-08T00:47:03.508899
2019-12-19T05:11:02
2019-12-19T05:11:02
198,176,017
4
0
null
2023-07-22T11:30:00
2019-07-22T08:02:05
Python
UTF-8
Python
false
false
921
py
import torch import pickle import os from PIL import Image, PSDraw, ImageDraw, ImageFont from config import * def save_dataset(filename, target): with open(os.path.join(RESULT_DATASET_PATH, filename), "wb") as f: pickle.dump(target, f) def load_dataset(filename): with open(os.path.join(RESU...
[ "philgookang@gmail.com" ]
philgookang@gmail.com
ac1f040cb3738fe1771300341001c1a391bb690d
3ba8bca6c557936450a4fa08de9dea68f97681ec
/tests/test_trade.py
1f874ffc64c9718937d976db1a709d4b88db8198
[ "MIT" ]
permissive
liuyang1/xalpha
08a801d360cf77a0057414e84f846fdf68388a2d
8672a7a11f2b2ded652cd37df0fc0db6dd6aac8a
refs/heads/master
2020-05-06T13:36:28.806387
2020-01-09T04:57:00
2020-01-09T04:58:50
180,146,115
0
1
null
2019-04-08T12:39:21
2019-04-08T12:39:21
null
UTF-8
Python
false
false
3,594
py
import sys sys.path.insert(0, "../") import xalpha as xa import pytest import pandas as pd path = 'demo.csv' cm = xa.fundinfo('164818') statb = xa.record(path).status cm_t = xa.trade(cm, statb) def test_trade(): assert cm_t.cftable.loc[2, 'share'] == -129.14 assert round(cm_t.xirrrate('2018-03-03'), 3) == -...
[ "kcanamgal@foxmail.com" ]
kcanamgal@foxmail.com
0e1c34ce545f90c85d2b94ad44a3e08011787ce8
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/lldptlvsd_54480213540819ecec7096f8f29c5c2f.py
88f8bc13bf5f03db36a81cf2871e05693a7dd3e2
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
4,952
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
bd39d18338fdb9e9edfef7a78bef7d4241a5f37c
6a9f6e6527afb38611a5c695e5845e492d7676ff
/70.climbing-stairs.py
e67b2fdcd439792b906fbdf509241afcf5d78dae
[]
no_license
Junyangz/leetcode
39913d48778d369f9f0a96070352d63b207e7df6
5de48fbdcb61ce8a437255a119a4a3ae242ede52
refs/heads/master
2020-06-09T08:57:26.361138
2019-11-14T08:38:07
2019-11-14T08:38:07
193,413,271
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# # @lc app=leetcode id=70 lang=python3 # # [70] Climbing Stairs # from functools import lru_cache class Solution: @lru_cache(None) def climbStairs(self, n: int) -> int: if n <= 3: return n return self.climbStairs(n-1) + self.climbStairs(n-2) #dp # if n <= 3: return n ...
[ "junyangz.iie@gmail.com" ]
junyangz.iie@gmail.com
1e226fa654fee1fa9f4158ccb50e5d5da67a9749
92a506dbb59475e4378c0ed9685d52e67dd9dacd
/test/project_tests/test_poisson1d.py
f1a3d689740bdacaaf9a4d85e84964ab67f6d17d
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
Parallel-in-Time/pyMG-2016
c2aca9e5778f40c2e89ee492d01277f7e021825e
abf3e47ba374c39fddd576fdaccf5187c1632f8a
refs/heads/master
2021-01-21T04:31:05.543828
2016-06-23T09:18:29
2016-06-23T09:18:29
53,484,378
2
11
BSD-2-Clause
2020-10-02T05:44:46
2016-03-09T09:16:18
HTML
UTF-8
Python
false
false
943
py
import numpy as np from project.poisson1d import Poisson1D def test_has_spatial_order_of_accuracy(): expected_order = 2 k = 4 ntests = 6 ndofs = [] err_list = [] for i in range(ntests): ndofs.append(2 ** (i + 4) - 1) prob = Poisson1D(ndofs[-1]) xvalues = np.array([...
[ "r.speck@fz-juelich.de" ]
r.speck@fz-juelich.de
e2b9ab8b70a89a2eedddc4ecbf3c75754d27cbef
05afca01eccc6d35d20fe4925c5d4bd2c8161379
/chat_28374/wsgi.py
83f029c803529a9171dffe807aed0c501f86a27c
[]
no_license
crowdbotics-apps/chat-28374
45261db0fc1d7da5da69536fd3ac776f7b3a0c12
74a2159530882d79c8937cb37d0ba285be0a5e7e
refs/heads/master
2023-06-05T13:41:15.892156
2021-07-02T01:01:10
2021-07-02T01:01:10
382,193,743
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for chat_28374 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('DJANGO_SE...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
06bbb14932b3dc339d410086b48bde70742732a1
9a081f87749245666f40402b389167f03375aa27
/CNN.py
2375fbef13b31125db4dfb4aee2799b62c2f2d95
[]
no_license
reddytocode/tensorFlw
704e981dc39dfde0e0e9ddb892b484f5d95a111d
4c20d23cea87ab7fe086a3d619ea3ff779f478f7
refs/heads/master
2021-10-23T08:41:49.688089
2019-03-15T23:35:41
2019-03-15T23:35:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
import tensorflow as tf import keras mnist = tf.keras.datasets.fashion_mnist (training_images, training_labels), (test_images, test_labels) = mnist.load_data() training_images = training_images.reshape(60000, 28, 28, 1) training_images = training_images/255.0 test_images = test_images.reshape(10000, 28, 28, 1) test_im...
[ "aaabeeelooon@gmail.com" ]
aaabeeelooon@gmail.com
0930f0b6a519782da3bf9118c41a62cf0286bc68
7e8668e54d0ea55dc1e0185eff920a85af974fa6
/vendor-local/lib/python/celery/tests/tasks/test_states.py
4acf8aafeee7d8e35b1d92deeec6dab9aa94cdfa
[ "BSD-3-Clause" ]
permissive
mozilla/firefox-flicks
3003cee1af0941976ef960a97a0806e19079cd79
ad19ed59aac682744badae6d19a149327037f293
refs/heads/master
2023-07-03T17:33:13.589884
2019-03-30T04:45:50
2019-03-30T04:45:50
3,148,994
3
6
BSD-3-Clause
2019-03-30T04:45:52
2012-01-10T21:52:31
Python
UTF-8
Python
false
false
1,318
py
from __future__ import absolute_import from celery.states import state from celery import states from celery.tests.utils import Case class test_state_precedence(Case): def test_gt(self): self.assertGreater(state(states.SUCCESS), state(states.PENDING)) self.assertGreate...
[ "mkelly@mozilla.com" ]
mkelly@mozilla.com
6cb5ca73a3c4b544f93c530b04ebbfe82214ff41
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/46/usersdata/61/18544/submittedfiles/funcoes1.py
a3ae4f4e9c4225d28057fe39cceda6c1ea832ff0
[]
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
799
py
# -*- coding: utf-8 -*- from __future__ import division def crescente(a): cont=0 for i in range (0,len(a)-1,1): if a[i]>a[i+1]: cont=cont+1 if cont==0: return True else: return False def decresc(a): cont=0 for i in range (0,len(a)-1,1): if a[...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6bb5e25a7b62fe82c79b3eb82972f7a6e16d8953
6ae42d809532e463b2cef2a9648ececde501faa1
/MobileRevelator/python/android_facebook_batch.py
bb122e07248eac572f9dddd399ebe51edd8e1a60
[ "MIT" ]
permissive
bkerler/MR
c52fa76a1ae46ebb637cac20925f8543235d85f3
5ba553fd0eb4c1d80842074a553119486f005822
refs/heads/master
2022-04-28T23:48:14.788560
2020-06-01T08:25:17
2020-06-01T08:25:17
168,991,623
140
35
MIT
2020-02-10T10:45:50
2019-02-03T20:46:14
Python
UTF-8
Python
false
false
6,399
py
#Pluginname="Facebook app_analytics (Android)" #Type=App import os import struct import json import tempfile def convertdata(filenames): zfields=[] for fsname in filenames: print("Running Facebook conversion: " + fsname[fsname.rfind("/") + 1:]) filename=tempfile.gettempdir()+"/"+fs...
[ "info@revskills.de" ]
info@revskills.de
d83cd414c71770b0af62ab4617bc4f101a35b432
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/iMRN9YGK4mcYja9rY_23.py
75d7bb82d79759426baf19e08f08c025e9422e86
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
def accumulating_product(lst): if lst: r=[lst[0]] for i in range(1,len(lst)): r.append(lst[i]*r[-1]) return r else: return []
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
2272e4858674584c2763baa58a85ba9c90c95123
795fcb8fca8d4d0b940e5b82e33803bb5f4cfe36
/soapbox/templatetags/soapbox.py
9431e47bd2d12c81c72efeb846ddb974b8c2a941
[ "BSD-3-Clause" ]
permissive
callahad/django-soapbox
ef4fc36a4e539cb3008918e8adb08a67ef1d1b1d
f9189e1ddf47175f2392b92c7a0a902817ee1e93
refs/heads/master
2021-01-04T13:21:22.022457
2017-06-05T09:26:33
2017-06-05T09:26:33
240,570,323
0
0
BSD-3-Clause
2020-02-14T18:08:01
2020-02-14T18:08:00
null
UTF-8
Python
false
false
291
py
from django import template from ..models import Message register = template.Library() @register.assignment_tag(takes_context=True) def get_messages_for_page(context, url): if url == context.template.engine.string_if_invalid: return [] return Message.objects.match(url)
[ "james@b-list.org" ]
james@b-list.org
34bb52a1936b775ded476143836f87df0c213fde
ac4b9385b7ad2063ea51237fbd8d1b74baffd016
/.history/s1_3_getHtml_20210209165302.py
06251e4a9d3dadbfde199980f5e23866fdb8bc24
[]
no_license
preethanpa/ssoemprep
76297ef21b1d4893f1ac2f307f60ec72fc3e7c6f
ce37127845253c768d01aeae85e5d0d1ade64516
refs/heads/main
2023-03-09T00:15:55.130818
2021-02-20T06:54:58
2021-02-20T06:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,481
py
# This module is called from 3R Automation Component. import os import sys # pdftotree is available as part of the virtual environment for 3R Python processing import pdftotree import json from pprint import pprint import pdfminer import matplotlib.pyplot as plt import ocr_extract as imgpdf from utils.ocr.handle_ima...
[ "{abhi@third-ray.com}" ]
{abhi@third-ray.com}
e72c98ab5cea32846ce3c45803b0b82ff6c328ab
1c69aaf4ff5c9bbabd4e4e3486e3f442808f96ea
/models/r4/meta.py
ebcab05264342b9983abf18e75edef597276aa0e
[]
no_license
glow-mdsol/devday-boston-clinical-research
72565289b27e9d6105640ec14749e07d7bc14014
560a8141bc3bd1ae5a31b110e82863e25b4ce9f8
refs/heads/master
2020-03-20T00:48:32.862642
2018-06-20T15:33:29
2018-06-20T15:33:29
137,056,522
2
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 3.3.0 (http://hl7.org/fhir/StructureDefinition/Meta) on 2018-05-12. # 2018, SMART Health IT. from . import element class Meta(element.Element): """ Metadata about a resource. The metadata about a resource. This is content in the res...
[ "glow@mdsol.com" ]
glow@mdsol.com
3e6e0e70c38de7ddea9dc2f9b668c0b8f3e0bbdd
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/object_attr_get_none-110.py
2998259b825a549bf3b348da7f8b538e5dcc83a0
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
class A(object): a:int = 42 class B(A): b:bool = True def __init__(self:"B"): print("B") a:A = None b:B = None a = B() print(a.a) print(b.a) print($Parameters)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
4de951b94deba051a37c1db4f7ece94e983a7c83
2b25aae9266437b657e748f3d6fea4db9e9d7f15
/graphics/3d/4/lawrence_lim/matrix.py
a041e2c30a8361efb4f61e085905e8ef8449ba7d
[]
no_license
Zilby/Stuy-Stuff
b1c3bc23abf40092a8a7a80e406e7c412bd22ae0
5c5e375304952f62667d3b34b36f0056c1a8e753
refs/heads/master
2020-05-18T03:03:48.210196
2018-11-15T04:50:03
2018-11-15T04:50:03
24,191,397
0
0
null
null
null
null
UTF-8
Python
false
false
2,628
py
import math def make_bezier(): return [ [-1, 3,-3, 1], [ 3,-6, 3, 0], [-3, 3, 0, 0], [ 1, 0, 0, 0] ] def make_hermite(): return [ [ 2,-3, 0, 1], [-2, 3, 0, 0], [ 1,-2, 1, 0], [ 1,-1, 0, 0] ] def generate_curve_coefs( p1, p2, p3, p4...
[ "azilby@gmail.com" ]
azilby@gmail.com
8f8adb948cbbabadfc351ff919f05caab0ebb239
3d83e5d6c5c3b264dbca94f2fedcd1abaf522278
/tests/test_wps_cmip5_regridder.py
aadc72a608fab27bdaf0c0cda2f46a48b42b16ef
[ "Apache-2.0" ]
permissive
cp4cds/c4cds-wps
4767d779a2338d46d52f0c23bb89f0072928c482
5abd9281195548bbd1e7653fe2ab1fee26745200
refs/heads/master
2020-04-02T06:43:19.383112
2020-01-14T16:05:36
2020-01-14T16:05:36
154,164,988
0
0
NOASSERTION
2020-01-14T16:05:37
2018-10-22T15:09:32
Python
UTF-8
Python
false
false
578
py
from pywps import Service from pywps.tests import assert_response_success from . common import client_for, resource_file from c4cds.processes.wps_cmip5_regridder import CMIP5Regridder cfgfiles = [resource_file('test.cfg'), ] def test_wps_cmip5_regridder(): client = client_for(Service(processes=[CMIP5Regridder(...
[ "ehbrecht@dkrz.de" ]
ehbrecht@dkrz.de
c6b598899b53d519f2fdb672ab2f909910a5485a
969fed6b9f4c0daa728bda52fea73d94bda6faad
/fakeSPS/spss5.py
750bdd7ae87c3d3ed6a837b471912130b45e52e3
[]
no_license
ess-dmsc/essiip-fakesinqhw
7d4c0cb3e412a510db02f011fb9c20edfbd8a84f
ad65844c99e64692f07e7ea04d624154a92d57cd
refs/heads/master
2021-01-18T22:50:50.182268
2020-10-01T08:39:30
2020-10-01T08:39:30
87,077,121
0
0
null
2018-12-07T08:43:00
2017-04-03T13:28:23
Python
UTF-8
Python
false
false
3,061
py
#!/usr/bin/python # # fake SINQ SPS S5. This is a Siemens SPS S5 with a custom RS-232 interface and # protocol as used at SINQ. The protocol is very simple. What is instrument # specific is what happens when you set one of the digital inputs. Currently, # only the AMOR case is implemented. # # # Mark Koennecke, Augus...
[ "mark.koennecke@psi.ch" ]
mark.koennecke@psi.ch
387830023b70ccdb90dd7ac0b468f571c24753f0
8ded32c55d5223654030d176e9df6acf0d9f8855
/mpikat/meerkat/fbfuse/fbfuse_feng_subscription_manager.py
d5e55f66b74d8673f94689c739bf3adcefb4a347
[ "MIT" ]
permissive
TeepChairin/mpikat
d5afb738df69e6e4264aac8829a9d48b9aacbd93
464d76113c92e0e8a3106ccc05ef551a1427e582
refs/heads/master
2020-09-23T20:31:27.677733
2019-07-02T15:08:50
2019-07-02T15:08:50
225,580,332
0
0
MIT
2019-12-03T09:27:15
2019-12-03T09:27:14
null
UTF-8
Python
false
false
7,004
py
""" Copyright (c) 2018 Ewan Barr <ebarr@mpifr-bonn.mpg.de> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
[ "ewan.d.barr@googlemail.com" ]
ewan.d.barr@googlemail.com
2edc2b5179347ab0c63389d5e6b5df02fa39f18f
fe62dbd83ac715d640e740e21bf68d9041baab31
/api/repository/repository.py
16d007ecaa4231c60d357e2aad26266b069d04df
[]
no_license
chandler767/flask_api_example
ccf2d7ff13a69d1f9a823074e14d7f1073ed215e
a5525fbc537d12f1d2492a6174bf66a3662b9969
refs/heads/master
2021-01-18T10:19:27.456774
2016-05-25T00:40:52
2016-05-25T00:40:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
from ..database.database_model import * ## Repository layer will handle database transactions. class UserRepository(): def signup(): pass def get_userinfo_id(id): pass def get_userinfo_username(username): pass def does_exsist(username): check = db.session.query(User).filter(User.username == username).f...
[ "joshuadparkin@gmail.com" ]
joshuadparkin@gmail.com
51e1436fc9fa4d880c435775e809bd50dfb571fe
a045055cb41f7d53e1b103c3655a17dc4cd18d40
/python-master/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py
ef060d462ef5635af99dded85243dfd48b74b671
[]
no_license
18271693176/copy
22f863b180e65c049e902de0327f1af491736e5a
ff2511441a2df03817627ba8abc6b0e213878023
refs/heads/master
2020-04-01T20:20:28.048995
2018-11-05T02:21:53
2018-11-05T02:21:53
153,599,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.10.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys i...
[ "906317366@qq.com" ]
906317366@qq.com
ec7a4da280ef858b1fa27fea0877fec4c261e8e5
6d63aa2f237c0d2662a71b2065026cebad56829f
/netease-musicbox-git/lilac.py
e466f53e2bda5ee027883177b90d7dd65eaa1518
[]
no_license
MaskRay/repo
dbc407f5a30ac69d9aad27592e71337a4c194fe7
e8def5b474d55dfbabdefd20c64cf1a12e3d950c
refs/heads/master
2021-01-13T11:09:18.404283
2018-05-05T08:11:03
2018-05-05T08:11:03
77,249,750
0
0
null
2016-12-23T20:44:24
2016-12-23T20:44:24
null
UTF-8
Python
false
false
234
py
#!/usr/bin/env python3 from lilaclib import * build_prefix = 'extra-x86_64' pre_build = vcs_update def post_build(): git_add_files("PKGBUILD") git_commit() update_aur_repo() if __name__ == '__main__': single_main()
[ "farseerfc@gmail.com" ]
farseerfc@gmail.com
28e13bc91b63fc55d62a0d4a6677303b7db657ad
6e8d58340f2be5f00d55e2629052c0bbc9dcf390
/eggs/mercurial-2.1.2-py2.6-linux-x86_64-ucs4.egg/mercurial/lock.py
cc2c533a2b2474daea45ead213c5e4f8b3c81b16
[ "CC-BY-2.5", "MIT" ]
permissive
JCVI-Cloud/galaxy-tools-prok
e57389750d33ac766e1658838cdb0aaf9a59c106
3c44ecaf4b2e1f2d7269eabef19cbd2e88b3a99c
refs/heads/master
2021-05-02T06:23:05.414371
2014-03-21T18:12:43
2014-03-21T18:12:43
6,092,693
0
2
NOASSERTION
2020-07-25T20:38:17
2012-10-05T15:57:38
Python
UTF-8
Python
false
false
4,642
py
# lock.py - simple advisory locking scheme for mercurial # # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. import util, error import errno, os, socket, time import warnings cl...
[ "root@ip-10-118-137-129.ec2.internal" ]
root@ip-10-118-137-129.ec2.internal
066de1d07307922afb7ea23dfc46e85906ab1c9f
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/12113086.py
ce8a5b592a5552f40e8070fd8db1fbe8f91f91d7
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
2,534
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/12113086.py generated: Fri, 27 Mar 2015 16:10:07 # # Event Type: 12113086 # # ASCII decay Descriptor: [B+ -> K+ (Higgs0 -> mu+ mu-) ]cc # from Configurables import Generation Generation().EventType = 12113086 Generation().SampleGenerationTool = "SignalRep...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
c9af53687ffb088e04769d9ad518028fef96b976
c8ae7695a26ec273a04e8043b7cf6fff8e1d6f71
/supervised_learning/0x11-attention/11-transformer.py
c85826c82e240f06cbaf00a0ad0414cdb76df3e6
[]
no_license
xica369/holbertonschool-machine_learning
479e1c1675f8a256375bc65470233a261daf0039
4a7a8ff0c4f785656a395d0abf4f182ce1fef5bc
refs/heads/master
2020-12-22T00:04:16.702927
2020-10-08T21:32:44
2020-10-08T21:32:44
236,605,692
0
0
null
null
null
null
UTF-8
Python
false
false
2,699
py
#!/usr/bin/env python3 """ class Transformer inherits from tensorflow.keras.Model to create a transformer network """ import tensorflow as tf Encoder = __import__('9-transformer_encoder').Encoder Decoder = __import__('10-transformer_decoder').Decoder class Transformer(tf.keras.Model): """ Transformer Networ...
[ "761@holbertonschool.com" ]
761@holbertonschool.com
8654792c1a49543b79c8d56cef1ace102e942f3b
802040662d6b0978480f8c72e0bd91c8c08201a9
/clindmri/registration/fsl/__init__.py
13241d900a67e2e7dafbb9da9ea434bb656fcd66
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
neurospin/caps-clindmri
a07fa214f5b6f7adf0f0f0e558830727bd7087ac
3105d2b1e4458c3be398391436be54bf59949a34
refs/heads/master
2022-06-16T19:05:51.125370
2016-03-30T08:28:14
2016-03-30T08:28:14
38,047,302
0
10
NOASSERTION
2022-05-19T10:16:34
2015-06-25T12:14:17
Python
UTF-8
Python
false
false
434
py
#! /usr/bin/env python ########################################################################## # NSAP - Copyright (C) CEA, 2013 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # ...
[ "antoine.grigis@cea.fr" ]
antoine.grigis@cea.fr
246bbf69992559ed5836a1bd059223841ff94817
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02801/s643704920.py
e6c533210a3087a40548c3ca4a17dec387ba724e
[]
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
C=input() A=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] for i in range(len(A)-1): if A[i]==C: print(A[i+1]) break
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5abd60fd92bb98ae630bdbd52647696582f27caa
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_091/ch39_2020_10_07_03_48_28_137004.py
0d991cb66ed650d17f8e64e0156902c94b3b9ed1
[]
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
421
py
d = 1 termos = 1 maior = 1 resultado = 1 while d < 1000: a = d termos = 1 while a != 1: if a % 2 == 0: a = a/2 termos += 1 else: a = 3*a + 1 termos += 1 if a == 1: if termos > maior: maior = termos ...
[ "you@example.com" ]
you@example.com
35d2a07f62d4095ba2f43918c7ac2da2ecf3d934
37e87b3d5e1ee9009f0ea0671bc0c6edf0e233b7
/035.py
33832baca3cd3737190cce0c0e3ffe86590269e5
[]
no_license
Jane11111/Leetcode2021
d9f4987792938597bf89ff72ba6bbcb4a3f9d081
a95b871578aae0103066962c33b8c0f4ec22d0f2
refs/heads/master
2023-07-14T21:29:41.196752
2021-08-23T03:28:02
2021-08-23T03:28:02
344,804,297
2
0
null
null
null
null
UTF-8
Python
false
false
360
py
# -*- coding: utf-8 -*- # @Time : 2021-03-02 13:43 # @Author : zxl # @FileName: 035.py class Solution(object): def searchInsert(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ i = 0 while i < len(nums) and nums[i]<target...
[ "791057615@qq.com" ]
791057615@qq.com
bd1567cacdd578097bce86eceb5a80609d8254db
5db44def243996321c33a9961de82b9d6f6aafd3
/rkmt/engines/converter.py
5698f65f1f53a058bb3f40ecb821ec6f3f2fe508
[ "MIT" ]
permissive
BokyLiu/rknn-model-tools
fa010b17b0a1f35fdee5f29d47cb6bbceffd3bdd
8af9c062ea4955a76ba9986a6cab6f771c9e678a
refs/heads/master
2022-04-09T12:49:29.417800
2020-02-25T13:48:38
2020-02-25T13:48:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,616
py
#!/usr/bin/env python3 import os import sys import shutil from rknn.api import RKNN from rkmt.engines.base import BaseEngine from rkmt.utils.util import check_success class Converter(BaseEngine): def __init__(self, opt) -> None: super().__init__(opt) # Create RKNN object self.rknn = RKN...
[ "xxdsox@gmail.com" ]
xxdsox@gmail.com
a0fd9f8124403e36d3014d05f4728d5c9eb92625
4a31bfe6ebbf6d474b0c05ae4db55183acee2c25
/run/gram_ctc/cnn/test.py
421536d06b4b2cbf61ea021689cb836af1aa5f35
[]
no_license
musyoku/chainer-speech-recognition
3c1a939d259abf6ff41faff7a81d109b93407e7a
de83fc497ec3f629ff43431ef863d45e8a9cdf68
refs/heads/master
2021-01-21T19:12:34.873720
2017-09-25T07:49:39
2017-09-25T07:49:39
92,125,978
11
1
null
2017-06-28T07:00:14
2017-05-23T03:40:37
Python
UTF-8
Python
false
false
2,922
py
# coding: utf8 from __future__ import division from __future__ import print_function from six.moves import xrange import sys, argparse, time, cupy, math, os import chainer import numpy as np import chainer.functions as F from chainer import optimizers, cuda, serializers sys.path.append("../../") import config from erro...
[ "musyoku@users.noreply.github.com" ]
musyoku@users.noreply.github.com
32a051a44ceb309b3121ec4546c25eb2f786ead4
59166105545cdd87626d15bf42e60a9ee1ef2413
/test/test_manhwa.py
a0e51954cc4efc701f2fe99e296fb3d938a402b6
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,197
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import dbpedia from dbpedia.models.manhwa import Ma...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
6256896c95eb5d80d7e6e914a3902189aa23c3a6
dfab6798ece135946aebb08f93f162c37dd51791
/core/aokuang/aokuang/core/actors/htmldocument/Basic.py
7a2947db8a0a531affbd985cdd932ba6a3fffc75
[]
no_license
yxqd/luban
405f5f7dcf09015d214079fe7e23d644332be069
00f699d15c572c8bf160516d582fa37f84ac2023
refs/heads/master
2020-03-20T23:08:45.153471
2012-05-18T14:52:43
2012-05-18T14:52:43
137,831,650
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
# -*- Python -*- # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2006-2011 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
ad4355bf766f6babe97522e5183c3ee460733155
ef0d8fd55fbdb526e20d6c2b05e601f1d86587c5
/frappe/core/doctype/page/test_page.py
9ad215c1df1a7c2bb10a3b584693420811e33145
[ "MIT" ]
permissive
indictranstech/v4_frappe
8976e84c14346196b8895ad6274740dca7fd6504
dba708c8aa83f503b9f4a264850307111a2b5f19
refs/heads/master
2021-09-26T12:26:29.994294
2018-10-30T06:09:36
2018-10-30T06:09:36
103,262,823
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest test_records = frappe.get_test_records('Page') class TestPage(unittest.TestCase): pass
[ "sagarshiragawakar@gmail.com" ]
sagarshiragawakar@gmail.com
2add2a167b6f6ecc71809a1c88703d1a559ddd69
8f15e2170d08e61b4ac70f75ab755967b0009338
/mason/util/exception.py
2770ab632ea621e7b2718484c56eb27af1ca7de3
[ "Apache-2.0" ]
permissive
malave/mason
eb86d60b96b16b6e49482097474c05c9805b5f24
bf45672124ef841bc16216c293034f4ccc506621
refs/heads/master
2023-06-12T21:59:46.858046
2021-06-11T16:07:18
2021-06-11T16:07:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
import traceback def message(e: Exception): return ''.join(traceback.format_exception(etype=type(e), value=e, tb=e.__traceback__))
[ "kprifogle1@gmail.com" ]
kprifogle1@gmail.com
3cff2276a49a7356bbc1bbd7c7052699a5e74df7
3876b862c61d64c9c225eb8a6305853a2ac16325
/pal/writer/access_mechanism/none.py
246e92b2175a0a072f4958ee21826c2b4c011205
[ "MIT" ]
permissive
connojd/pal
0d122de7e9b6fe659e35dd44310b9783830c4838
800f8bd6de0004313d4208da619b4ef98d2e1e76
refs/heads/master
2020-09-11T06:17:08.837738
2019-11-21T19:18:31
2019-11-21T19:23:23
221,967,287
0
0
MIT
2019-11-15T16:56:22
2019-11-15T16:56:22
null
UTF-8
Python
false
false
513
py
from pal.writer.access_mechanism.access_mechanism \ import AccessMechanismWriter class NoneAccessMechanismWriter(AccessMechanismWriter): def declare_access_mechanism_dependencies(self, outfile, register): pass def call_readable_access_mechanism(self, outfile, register, ...
[ "jared.wright12@gmail.com" ]
jared.wright12@gmail.com
fd03014fc14d457010bc0bdcd28a64aefbdd894e
f72fe33d1a181f89d2464cc07744dbd275a7d071
/CNNectome/postprocessing/partner_annotations/luigi_pipeline_spec_dir/prepare_luigi.py
280ade177af970bf8a531ddad83d057ed3b73873
[ "BSD-2-Clause" ]
permissive
saalfeldlab/CNNectome
6c8d44d8cc2e161a91b10abb7b4a425d7fc64d1b
c043e3111ff5ec6707a68edffae54eb902a1652d
refs/heads/master
2023-04-03T15:11:36.586030
2022-06-15T14:12:17
2022-06-15T14:12:17
124,144,317
8
10
BSD-2-Clause
2023-03-24T22:16:04
2018-03-06T22:04:16
Python
UTF-8
Python
false
false
1,334
py
import luigi import os class CheckCheckpoint(luigi.ExternalTask): it = luigi.IntParameter() path = luigi.Parameter() @property def priority(self): if int(self.it) % 10000 == 0: return 1.0 / int(self.it) else: return 0.0 def output(self): base = os....
[ "heinrichl@janelia.hhmi.org" ]
heinrichl@janelia.hhmi.org
69b6aec08c2ed56cfcd0213106d16764a708984a
ec1deb682fb96a1f937f2fca5f161aa951462876
/pythonTextBook/exercises/files/exTenThree.py
edbaf04d420fb624cf41f51648403964fd6d11d4
[]
no_license
AnatoliKosarev/Python-beginner-course--Teclado-
31d82f5e9a1f39e2970323bed9de1fd539990565
fa91199938d6975b5874341585343566caaf3600
refs/heads/main
2023-06-30T12:14:33.779827
2021-07-24T11:16:19
2021-07-24T11:16:19
376,371,590
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
def save_guest_name(): name = input("Enter your name: ") if name: with open("guest.txt", "a") as f: f.write(f"{name}\n") if __name__ == "__main__": save_guest_name()
[ "anatoli.kosarev@gmail.com" ]
anatoli.kosarev@gmail.com
6d5b1b017e641d25258e4a6f3936bcc0de658724
c2acac76572d0784f29d1a0cc529c0f753aac184
/apmec/db/migration/alembic_migrations/versions/6e56d4474b2a_blob_to_json_text.py
8469f5fbc095fe33ef7934b322650f3f92daf624
[ "Apache-2.0" ]
permissive
openMECPlatform/apmec
6d1d8380385beda7c2e59539c5001dffe9da8672
1046bf4730d2bdf95e3cd7efe487cb3fbf1fcd22
refs/heads/master
2023-03-26T13:52:43.647511
2021-03-31T16:40:03
2021-03-31T16:40:03
353,424,268
0
0
null
null
null
null
UTF-8
Python
false
false
1,584
py
# Copyright 2016 OpenStack Foundation # # 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 ...
[ "tung.doan_van@tu-dresden.de" ]
tung.doan_van@tu-dresden.de
7f1679ac1ba910f2b2bf2f711c9cb9d730731be5
a14ec6e367e6a471bfc74c066fb958ef585bc269
/2020/01/a.py
2d6e886022516fb0bde3df14250fdb6fd3e78fad
[]
no_license
jimhendy/AoC
90641814ed431f46a8500ff0f022c6c957567563
a1727f88bc2e6f739d65902dce188377966b3fb4
refs/heads/master
2023-09-02T14:48:39.860352
2023-08-28T08:09:19
2023-08-28T08:09:19
225,152,422
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
import os def run(inputs): nums = list(map(int, inputs.split(os.linesep))) for i, n_i in enumerate(nums[:-1]): for n_j in nums[i + 1 :]: if n_i + n_j == 2020: return n_i * n_j return None
[ "jimhendy88@gmail.com" ]
jimhendy88@gmail.com
b7e3d0e691bf434020466185cae8f091158ce029
4863a76461ebdb2abf384df672bf07170b5cc4ce
/scanner.py
3ca86d2aea1e70a868641fc142691d5e07527b56
[ "MIT" ]
permissive
squidgameholders/Website-Scanner
73a3db8ea39ab5b91c309da6491db60a1cdc83a7
ee27f265913957c5357ba673b61338336c222672
refs/heads/master
2023-03-19T04:12:29.324705
2015-02-17T18:20:53
2015-02-17T18:20:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
866
py
#!/usr/bin/env python import difflib import hashlib import requests bags_urls = [ 'http://www.mansurgavriel.com/collections/all', ] def get_content(): #r = requests.get("http://www.mansurgavriel.com/collections/all") r = requests.get("http://new.yancao.me") return r.content def hash_obj(content...
[ "cyandterry@hotmail.com" ]
cyandterry@hotmail.com
5ea20db9e23c11fc2b7e25e17da92ee9a931ec95
1eed777d0174fecc14fee1bf1ca6e47c412666cd
/virtual/bin/chardetect
2097c185eb4a4d78969f5693629a1c542ed3b987
[]
no_license
ALKEMIA-CHARLES/Postify
9ff3d36b8962660febc56ef0de139b792f074756
a915da3a9b9c2011f47e7a31e6cf2e4d75d4fd39
refs/heads/master
2022-12-21T21:28:03.813680
2020-03-30T06:50:40
2020-03-30T06:50:40
243,502,216
0
0
null
2022-12-08T03:41:52
2020-02-27T11:23:19
Python
UTF-8
Python
false
false
286
#!/home/charles/Documents/moringa-school-projects/myposts/virtual/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "charlesmtawaliJr@gmail.com" ]
charlesmtawaliJr@gmail.com
80b11878a88ff37497c211fb5f2bd12f6c51e000
616c3c02be31b9ae4d06bd7c5a8d4a2e7c446aa1
/796.旋转字符串.py
2a3f2c04330031f2887eb2ce899980a55c92aab2
[]
no_license
L1nwatch/leetcode-python
8b7c47c04ee9400d50d8b0764a544a0463df8f06
0484cbc3273ada25992c72105658cd67411c5d39
refs/heads/master
2023-01-11T14:53:15.339276
2023-01-11T05:24:43
2023-01-11T05:24:43
194,516,548
0
1
null
null
null
null
UTF-8
Python
false
false
350
py
# # @lc app=leetcode.cn id=796 lang=python3 # # [796] 旋转字符串 # # @lc code=start class Solution: def rotateString(self, s: str, goal: str) -> bool: if len(s) != len(goal): return False for i in range(len(s)): if s[i:]+s[:i] == goal: return True return F...
[ "watch1602@gmail.com" ]
watch1602@gmail.com
c821fc32436da400c7d10c1e029fc1b0c73e5cfc
037a03d4b8b81bc39dc41cb4f3726f8297c8b672
/0348.py
4cabe4d37e2f40b1fd122a1cc55f51f9e02481ec
[]
no_license
Agchai52/Leetcode1
ee3433ef6f6c3ddd800204c25a456dc7c3fd0053
9535d038bee690b7c7aeca352a4ab32d188684bb
refs/heads/master
2021-08-22T02:59:45.632548
2020-05-21T00:31:45
2020-05-21T00:31:45
185,273,962
1
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
class TicTacToe(object): def __init__(self, n): """ Initialize your data structure here. :type n: int """ self.grid = [['']*n for _ in range(n)] def move(self, row, col, player): """ Player {player} makes a move at ({row}, {col}). @param row The ...
[ "noreply@github.com" ]
Agchai52.noreply@github.com
7ad5eaabf7279f414bab5d88d5d8c71193018ee8
c6fea702b817b719d9774b66d76c7cbaf1369d7d
/plilja-python3/day10/day10.py
81c932996f18e594549035d1a6645113a8d9b5c3
[]
no_license
piksel/advent_of_code_2016
eae359228372b53f88430360b38e48210ac6da40
996fe2a999949fab420115474b32b40ed8ba8414
refs/heads/master
2021-01-12T10:12:19.865894
2016-12-18T16:55:58
2016-12-18T16:55:58
76,386,900
1
0
null
2016-12-13T18:29:15
2016-12-13T18:29:15
null
UTF-8
Python
false
false
2,078
py
from collections import * import sys def solve(inp): value_to_bot = {} bot_to_values = defaultdict(set) outputs = defaultdict(list) giveaways = [] Giveaway = namedtuple('Giveaway', 'bot low_to low_type high_to high_type') for s in inp: instruction = s.split() if instruction[0]...
[ "patlil@kth.se" ]
patlil@kth.se
914e6f7c89aa39a56fd10010b11450b11fe0aa41
7a1b88d06ea18772b065b43d775cec6dd2acdf80
/1769.py
335ddf10102d99cbef71424085f8d7fa2bffbf8f
[]
no_license
skaurl/baekjoon-online-judge
28144cca45168e79b1ae0baa9a351f498f8d19ab
1620d298c2f429e03c5f9387d8aca13763f5c731
refs/heads/master
2023-07-26T10:07:29.724066
2021-09-07T09:21:02
2021-09-07T09:21:02
299,019,978
1
0
null
null
null
null
UTF-8
Python
false
false
240
py
def asdf(n): result = 0 for i in n: result+=int(i) return str(result) n = input() cnt = 0 if int(asdf(n))%3==0: check="YES" else: check="NO" while len(n)!=1: n = asdf(n) cnt+=1 print(cnt) print(check)
[ "dr_lunars@naver.com" ]
dr_lunars@naver.com
5c0876753f3a3beecafacee2e309160167af9ad7
073e5e503e01b44881edffc81e6ad1efe04f4520
/python/collibra-core/collibra_core/model/paged_response_workflow_task.py
56ad3e4d40f3107fd98e85069d58a6a87c47f06c
[]
no_license
AaronCWacker/collibra
f251d3556192c03b2be5acb0101608b4f2d87c9d
8bd1de3eecc5835bc96feacc17c6dd86ed70ac85
refs/heads/main
2023-03-05T05:00:48.940201
2021-01-20T03:03:17
2021-01-29T21:17:49
416,506,152
1
0
null
null
null
null
UTF-8
Python
false
false
7,369
py
""" Collibra Data Governance Center Core API <p>The Core REST API allows you to create your own integrations with Collibra Data Governance Center.</p><p><i>Create custom applications to help users get access to the right data.</i></p> # noqa: E501 The version of the OpenAPI document: 2.0 Generated by...
[ "srid@streamsets.com" ]
srid@streamsets.com
7919fddec59e58186fdf0241675e0b0acd49cd6e
a63410602c5bb9ffbf4d37769a1df1a271d7ff8f
/src/sentry/nodestore/riak/backend.py
539d2d182d500d29d5564f4b69c0f3a94e6125cc
[ "BSD-2-Clause" ]
permissive
meituan/sentry
d824d5e9096fe4e8604cebbea0a6c939ce12ac44
cd35f2345aaef1346e95b4ce5fed12fb0b648db7
refs/heads/master
2023-06-07T06:43:20.007879
2013-12-27T05:18:12
2013-12-27T05:18:12
15,473,792
1
1
null
null
null
null
UTF-8
Python
false
false
1,689
py
""" sentry.nodestore.riak.backend ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2013 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import import riak import riak.resolver from sentry.nodestore.base import NodeStorage class R...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
78637d9daeacf6d6c1a53731dbbbe95ed1f0eb3f
2d93403fac1645fdbf1727f0d17fbea6eeef470a
/decorators/demo.py
bf5bfdf65750333628011b83fb028c9a19c0a484
[ "MIT" ]
permissive
Minkov/python-oop-2020-02
d13c8c8feaa9ad41c524fc82887a98745115ac57
d2acb1504c1a135cded2ae6ff42acccb303d9ab1
refs/heads/master
2021-02-04T00:43:14.997404
2020-03-26T18:21:03
2020-03-26T18:21:03
243,588,830
2
0
null
null
null
null
UTF-8
Python
false
false
422
py
# def f1(): # print(1) # # # def execute_operation(func): # print(f'Started execution of {func.__name__}') # func() # print(f'Execution of {func.__name__} ended') # # # execute_operation(f1) # execute_operation(lambda: print(2)) def sum2(x): def sum_internal(y): return x + ...
[ "DonchoMinkov@gmail.com" ]
DonchoMinkov@gmail.com
27415cb1d4b42809e8acaf23400ac4b0155a6eba
b1cf54e4d6f969d9084160fccd20fabc12c361c2
/dsa/recursion/reverse_string.py
0f8c0fc52f7f09d9560c02f86b5d4e92a141f047
[]
no_license
zarkle/code_challenges
88a53477d6f9ee9dd71577678739e745b9e8a694
85b7111263d4125b362184df08e8a2265cf228d5
refs/heads/master
2021-06-10T11:05:03.048703
2020-01-23T06:16:41
2020-01-23T06:16:41
136,668,643
0
1
null
2019-02-07T23:35:59
2018-06-08T21:44:26
JavaScript
UTF-8
Python
false
false
324
py
""" Reverse a String This interview question requires you to reverse a string using recursion. Make sure to think of the base case here. Again, make sure you use recursion to accomplish this. Do not slice (e.g. string[::-1]) or use iteration, there must be a recursive call for the function. """ def reverse(s): ...
[ "beverly.pham@gmail.com" ]
beverly.pham@gmail.com
cad321d76d8a31d63c2ff825f3c60e5531e36aed
0f16edb46a48f9b5a125abb56fc0545ede1d65aa
/gmn/src/d1_gmn/tests/test_proxy_mode.py
02187cb5bb6855cde698e87f8f984985f130fdc4
[ "Apache-2.0" ]
permissive
DataONEorg/d1_python
5e685f1af0c356190f2d6df45d1ac849e2f56972
d72a9461894d9be7d71178fb7310101b8ef9066a
refs/heads/master
2023-08-29T03:16:38.131760
2023-06-27T21:59:37
2023-06-27T21:59:37
60,103,877
15
12
Apache-2.0
2023-09-06T18:27:53
2016-05-31T16:01:00
Python
UTF-8
Python
false
false
7,028
py
# This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (the "License"); # you ma...
[ "git@dahlsys.com" ]
git@dahlsys.com
a75c0da167a87c4e4c4d0f4d60cba2a79742103d
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_None/trend_ConstantTrend/cycle_0/ar_12/test_artificial_1024_None_ConstantTrend_0_12_100.py
f6d41bf4691b38fb611f12d410521c6f82596ac1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
271
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 0, transform = "None", sigma = 0.0, exog_count = 100, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
fa3a11c01c620e678186a5d1ba7fb254f3c4cfd8
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py
db287a53c829cd6de75306f14adce5f33c0b6c14
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
3,721
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
f58135f4e2c1093cf3d082d8408c503226f4a87e
9a55969cdf85b30873f33aae1410be1cdb91fca5
/gym_wrapper.py
a9056fcd2d3e3dbef297b98a9edc2e3102534c8b
[ "Apache-2.0" ]
permissive
StepNeverStop/RL-TF1
65f296bce00ba00185df080c7f770d59ef92e4ed
c9e75819504a8db4c587e2aa3e4c9c8845fd9f08
refs/heads/master
2022-12-11T18:04:06.306955
2020-09-26T03:47:01
2020-09-26T03:47:01
223,076,782
5
2
Apache-2.0
2022-12-08T06:16:32
2019-11-21T03:06:17
Python
UTF-8
Python
false
false
8,020
py
import gym import numpy as np import threading class FakeMultiThread(threading.Thread): def __init__(self, func, args=()): super().__init__() self.func = func self.args = args def run(self): self.result = self.func(*self.args) def get_result(self): ...
[ "271668153@qq.com" ]
271668153@qq.com
2ef9028b99e09a2662b0d9c7461782c15a37d51d
ebb63b057a82b8a10df305252cbcda4186ec02f7
/taichi_blend/bundle-packages/meltblend/__init__.py
86e44f3f0f3dde2931cfa10dc1339672c07d53d1
[]
no_license
yjchoi1/taichi_blend
aa2d6f0129c8068b9a2c8bb5a7677b3c60923d5b
907fdbee6027375324c9605ffc14db16e590f992
refs/heads/master
2023-03-21T12:31:04.126621
2021-03-01T15:06:13
2021-03-01T15:06:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
bl_info = { 'name': 'Taichi Blend Physics', 'description': 'Taichi Blender intergration', 'author': 'Taichi Developers', 'version': (0, 0, 5), 'blender': (2, 81, 0), 'location': 'Taichi Blend Window', 'support': 'COMMUNITY', 'wiki_url': 'https://github.com...
[ "1931127624@qq.com" ]
1931127624@qq.com
8345cc43468edb997ff7b911356f1e9ae0cd0f9d
1bfa2c800b2d76787e224e5cf25d69fec3a9eff1
/tests/synapses/FI.py
3c5d7fb4185c1d5c6e3c707a5e73cf44a5af1738
[ "MIT" ]
permissive
OpenSourceBrain/MiglioreEtAl14_OlfactoryBulb3D
fdd55b324695c82deb04b70c4f2f238af5e92285
edaf58abd6b3e0195125fb730e9654ae937d790b
refs/heads/master
2023-06-30T23:14:33.842015
2023-06-17T08:53:44
2023-06-17T08:53:44
31,535,489
2
2
null
2018-02-08T21:43:43
2015-03-02T10:37:44
OpenEdge ABL
UTF-8
Python
false
false
807
py
import sys; sys.path.insert(0,'..') from tests.synapses.NEURONSynapseTest import NEURONSynapseTest from tests.synapses.NeuroMLSynapseTest import NeuroMLSynapseTest class NEURON(NEURONSynapseTest): def __init__(self): super(NEURON, self).__init__() self.path = "../NEURON/fi.mod" ...
[ "jbirgio@gmail.com" ]
jbirgio@gmail.com
6987d77bade5bae99b89fae4d7412d77288a691a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02973/s456069800.py
2c1e3100d68ffea4badc684c47be28c5e8d55461
[]
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
237
py
from bisect import bisect_right n = int(input()) a = [-int(input()) for _ in range(n)] li = list() for e in a: i = bisect_right(li, e) if i == len(li): li.append(e) else: li[i] = e ans = len(li) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
610b8f2dbd7222992ae2de1ebf4f382a854940ba
2d82d4c6574bd6d32f2cf1c781615f7951f55f66
/muntjac/addon/google_maps/overlay/polygon.py
8990b4e16f9d503dbd0e2cb1dc99ee6f8bc9eb97
[ "Apache-2.0" ]
permissive
metaperl/muntjac
f83f745ee03942a61af92ee7fba7285aa9c46f3c
8db97712edd81b4d25deaaa48587d2a08010f2c8
refs/heads/master
2021-01-15T22:04:25.057862
2012-11-09T03:52:59
2012-11-09T03:52:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
# @MUNTJAC_COPYRIGHT@ # @MUNTJAC_LICENSE@ from muntjac.addon.google_maps.overlay.poly_overlay \ import PolyOverlay class Polygon(PolyOverlay): def __init__(self, Id, points, strokeColor='#ffffff', strokeWeight=1, strokeOpacity=1.0, fillColor='#777777', fillOpacity=0.2, clicka...
[ "r.w.lincoln@gmail.com" ]
r.w.lincoln@gmail.com
08f8f65d622de581829d8817089108087adc12fb
46cdf1f348c1fe1cf46ea2e14ecbef9bf59006bd
/resolwe/flow/executors/null.py
1fac4c33744cd01297cfa7344e0b9ebf41374fca
[ "Apache-2.0" ]
permissive
mzganec/resolwe
b08dd971f1b19f55052d857063eb43afc4a827dc
fd5bbbc459289811ae34ad263b96b498ba15ba7d
refs/heads/master
2021-06-27T11:30:09.883345
2017-09-26T10:11:00
2017-09-26T10:16:03
105,652,149
0
0
null
2017-10-03T13:00:16
2017-10-03T13:00:16
null
UTF-8
Python
false
false
615
py
"""Local workflow executor.""" from __future__ import absolute_import, division, print_function, unicode_literals import logging from resolwe.flow.executors import BaseFlowExecutor logger = logging.getLogger(__name__) # pylint: disable=invalid-name class FlowExecutor(BaseFlowExecutor): # pylint: disable=abstract...
[ "domen@blenkus.com" ]
domen@blenkus.com
fb78a7ba635cbda1a933a00eb4dd0da34c3334c4
1fdf7dbde0b8253ef164b8a8fdff958ecef6866e
/proyecto_tienda/carrito/urls.py
4720a39d71e7706be0f6f794d953f06a5cf2ed68
[]
no_license
jkaalexkei/proyecto_tienda
b9b0315b05a956ab1bf619059b8ea839fb4c7093
6986ccce2f8aaffc6b1289090d274cbc43b36509
refs/heads/master
2023-08-25T07:21:40.781058
2021-11-05T02:17:18
2021-11-05T02:17:18
396,094,625
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from django.urls import path from . import views app_name = 'carrito' urlpatterns = [ path('',views.carrito,name='carrito'), path('agregar/',views.agregar,name='agregar'), path('eliminar/',views.remove,name='remove'), ]
[ "jkaalexkei@gmail.com" ]
jkaalexkei@gmail.com
74dfc36af985a5ffa5a9f34e9e7f893fc514bef3
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/surface/compute/instance_groups/managed/delete.py
368808d0b8bcc4f36cd56c4ef8184a148eacee2a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
7,090
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
fa45d061dd6710a66d3b365dc1f3104878de0bd9
66ab8fac9fb19e5ff470be0fa7b2b73600231f16
/pyble/osx/console.py
f823488bb6edf4f68be5844e217d58b1b79c62e0
[ "MIT" ]
permissive
bgromov/PyBLEWrapper
e97bbc2299f880838d246a8c6fdb27b05cb72af1
8a5d016e65b3c259391ddc97c371ab4b1b5c61b5
refs/heads/master
2020-03-25T21:41:43.702666
2018-08-12T23:38:16
2018-08-12T23:38:16
144,185,816
0
0
MIT
2018-08-09T17:50:12
2018-08-09T17:50:12
null
UTF-8
Python
false
false
6,054
py
from objc import * from Foundation import * import cmd import os import logging import time from pprint import pformat try: from queue import Queue, Empty except: from Queue import Queue, Empty from pyble.patterns import LoggerObject class OSXCmd(cmd.Cmd, LoggerObject): def __init__(self, history_size=...
[ "brett.chien@gmail.com" ]
brett.chien@gmail.com
00e012b55ec43e614adb4687ff49bb5f5b807e97
7c551e749064b25af706b9167211050f8c6ad0a9
/signatures/windows/disables_browserwarn.py
3fb78aceaba0966a66cdcad065787f4ccc8ebbb4
[]
no_license
dashjuvi/Cuckoo-Sandbox-vbox-win7
fa382828b4895c5e1ee60b37a840edd395bf1588
a3a26b539b06db15176deadeae46fc0476e78998
refs/heads/master
2020-03-12T08:33:06.231245
2019-01-14T23:09:02
2019-01-14T23:09:02
130,529,882
6
1
null
null
null
null
UTF-8
Python
false
false
1,852
py
# Copyright (C) 2015 Optiv, Inc. (brad.spengler@optiv.com), Kevin Ross, Updated 2016 for Cuckoo 2.0 # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # See the file 'docs/LICENSE' for copying permission. from lib.cuckoo.common.abstracts import Signature class DisablesBrowserWarn(Signature): nam...
[ "diegovm14@gmail.com" ]
diegovm14@gmail.com
a4febf7096cdd80c0178f06210bc98d127790e7b
a884039e1a8b0ab516b80c2186e0e3bad28d5147
/Livros/Livro-Desenvolvimento web com Flask/Capitulo03/Nível 01/exemplo14a.py
fb031bc2512a683fa44f48441a518deee804b3f6
[ "MIT" ]
permissive
ramonvaleriano/python-
6e744e8bcd58d07f05cd31d42a5092e58091e9f0
ada70918e945e8f2d3b59555e9ccc35cf0178dbd
refs/heads/main
2023-04-10T14:04:24.497256
2021-04-22T18:49:11
2021-04-22T18:49:11
340,360,400
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
# Program: exemplo14a.py # Author: Ramon R. Valeriano # Description: Programa do Capítulo 3, para melhorar a fixação # Developed: 05/03/2020 - 20:05 from flask import Flask, render_template from flask_bootstrap import Bootstrap from flask_moment import Moment from datetime import datetime app = Flask(__name__) bootst...
[ "rrvaleriano@gmail.com" ]
rrvaleriano@gmail.com
46e27f7215b2e25256ad1950e0f41b1e35267578
9587c6e58ef0ef4959898454c1a7c3d8fc963530
/blog/migrations/0001_initial.py
2df14f34fc1416652b5fb0330668df6e589da01d
[]
no_license
okielife/okie.life
cfa5450be85c4076985156793a48ee4e68c1610d
6be9ed7178cddd300b00adb263b1962a7987ac11
refs/heads/master
2020-05-26T11:45:40.831311
2018-01-31T15:52:45
2018-01-31T15:52:45
84,996,176
0
0
null
2018-01-31T15:52:46
2017-03-14T20:54:11
Python
UTF-8
Python
false
false
1,354
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2017-04-09 12:47 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Create...
[ "leeed2001@gmail.com" ]
leeed2001@gmail.com
81219fa1bf7140d19dfa21d75f40241648410d07
c733d8d610a2f00b128abc25e4cdf79212ce4e63
/photologue/migrations/0017_remove_photo_admin_orig_image_tag.py
cd1025dd49ec8530e2cab6c30842f42d30bb112e
[ "BSD-3-Clause" ]
permissive
pbarton666/photologue
301f56010208e068fd2c29d24862e529ceade6f1
fe47e6eb7830dbcfecfd059294dfbee30b94c4f9
refs/heads/master
2020-12-24T18:51:07.411561
2016-04-11T17:35:05
2016-04-11T17:35:05
55,991,961
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-04-01 18:20 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('photologue', '0016_photo_admin_orig_image_tag'), ] operations = [ migrations.RemoveFie...
[ "barton.pj@gmail.com" ]
barton.pj@gmail.com
28a524703a77756b184f0f4bfe85f853572665a8
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Math Game/mathgame/constants.py
512e7167a39e24c0b56398f58226c05d5c9119a5
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:4cb8c44068f19e31f8a933330313b35f4f809635c3f596eef01c16fd342dacd6 size 2243
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
ddf805539d408d7e2034a60ca30138c7b2a902ad
7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d
/packages/autorest.python/test/vanilla/version-tolerant/AcceptanceTests/test_security.py
46f859bb9858d9cdcf2f59faebdd3fdd493eee3f
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.python
cc4bfbf91ae11535731cad37cedd6b733edf1ebd
a00d7aaa3753ef05cb5a0d38c664a90869478d44
refs/heads/main
2023-09-03T06:58:44.246200
2023-08-31T20:11:51
2023-08-31T20:11:51
100,315,955
47
40
MIT
2023-09-14T21:00:21
2017-08-14T22:58:33
Python
UTF-8
Python
false
false
2,189
py
# -------------------------------------------------------------------------- # # Copyright (c) Microsoft Corporation. All rights reserved. # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the ""Software""), ...
[ "noreply@github.com" ]
Azure.noreply@github.com
6ce782e1de0a0f55c0d164d33e68d359bb9bd33d
5050cb4aa00de443d3f9dfeddd4b3d70389386c0
/site-packages/sugar_network/toolkit/network.py
a0ba49914efda6ddccf4108d45178f41d6278200
[]
no_license
sugar-activities/4619-activity
0f72e6c64fd0f98ac3e7d6011a75fb2ddd27490a
f6bc2dc64f30de57d3c2f50ac9795ac2faf5ac9e
refs/heads/master
2021-01-19T23:15:29.516534
2017-04-21T05:03:58
2017-04-21T05:03:58
88,936,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
# Copyright (C) 2012 Aleksey Lim # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in th...
[ "ignacio@sugarlabs.org" ]
ignacio@sugarlabs.org
e28006528c866157b5832c15de8f00c12995b330
890c8b8e90e516a5a3880eca9b2d217662fe7d84
/armulator/armv6/opcodes/abstract_opcodes/ldr_register_thumb.py
51fbe8abfb33e0f75de30bf0387a9fba04663e45
[ "MIT" ]
permissive
doronz88/armulator
b864135996f876c7857b79a314d4aa06cc19c549
0294feac2785c8947e5943ac0c34f941ee4b5fff
refs/heads/master
2022-11-05T08:14:42.405335
2020-06-18T23:53:17
2020-06-18T23:53:17
273,363,061
2
0
null
2020-06-18T23:51:03
2020-06-18T23:51:02
null
UTF-8
Python
false
false
1,698
py
from armulator.armv6.shift import shift from armulator.armv6.bits_ops import add from bitstring import BitArray from armulator.armv6.arm_exceptions import EndOfInstruction from armulator.armv6.opcodes.abstract_opcode import AbstractOpcode class LdrRegisterThumb(AbstractOpcode): def __init__(self, m, t, n, shift_t...
[ "matan1008@gmail.com" ]
matan1008@gmail.com
5e7189bd3c62d63d5b04c748cb59bb1f8a85acb2
5ea9a3185b8abbf536600bde73ffa5293c76913d
/django_storage/urls.py
5ca910b69f1f7e96a9de80008f0cb58e5e6322ad
[]
no_license
antikytheraton/django_storage
fd3fcaaeb93d236e2cc626e2326a8909f8fad488
7c3f8258f3a558ab99506b160659a824053db700
refs/heads/master
2021-07-08T19:17:46.690089
2017-10-07T02:16:20
2017-10-07T02:16:20
106,065,308
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
"""django_storage URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
[ "binauralvoice@gmail.com" ]
binauralvoice@gmail.com
83b555f16126a27acc97627eb10cd3415912555f
c124cd627d1cd2ecc2056a932db4c5c3203943f2
/data/atramData/sites/umms/components/umms_appoint/recruitment_section/items/identifycandidate.py
15b936079177324e9747e3b5eadd4ee90c2449b5
[]
no_license
longooglite/mps
8fb2093b6a9f483a2ce4543949f7cbf0b280a1f1
fd8c0d1491b80074fdf5a8c923d50e55a1991ad0
refs/heads/master
2021-01-10T08:17:15.852252
2016-02-29T21:07:04
2016-02-29T21:07:04
52,824,830
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
# [Copyright] # SmartPath v1.0 # Copyright 2014-2015 Mountain Pass Solutions, Inc. # This unpublished material is proprietary to Mountain Pass Solutions, Inc. # [End Copyright] identifycandidate = { "code": "identifycandidate", "descr": "Identify Candidate", "header": "Identify Candidate", "componentType": "Task",...
[ "longuskikirk@gmail.com" ]
longuskikirk@gmail.com
870eacbbe2dc97704de593953b693029ce772637
c220d55a0a5c7597fe7e86a3dfebdd66695a3b2f
/Python/text_algnment.py
556a0ff4be82b66fddeb3ca1b3909fe9021529af
[]
no_license
eLtronicsVilla/Hackerrank-Problems-Solutions
356677a2edce6f5d3f57e5f32a8be058515779bf
a24c78f99f10fb8dca69e0e0d6c560d7c0215a29
refs/heads/master
2020-05-21T18:15:21.893538
2019-05-18T07:54:41
2019-05-18T07:54:41
186,129,319
0
0
null
2019-05-18T07:54:42
2019-05-11T12:19:33
null
UTF-8
Python
false
false
908
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat May 18 12:29:44 2019 @author: brgupta """ # Problem statement # https://www.hackerrank.com/challenges/text-alignment/problem #Replace all ______ with rjust, ljust or center. thickness = int(input()) #This must be an odd number c = 'H' #Top Cone f...
[ "eltronicsvilla17@gmail.com" ]
eltronicsvilla17@gmail.com
c46cfb66f6bcb2d0f920aa611e165abe7fe4d9be
b2e278f6d606ec0d3e6fa3e15be2f9ed35745c1e
/ncolony/beatcheck.py
7461221c187dfa2df8febf60a32d24ac340ac807
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
kurtbrose/ncolony
deeaf2c1947aa11fcdad00f9071bc3e8067f026e
bebbc612866a8bf405dda2ec94ce60fd61b4f3c9
refs/heads/master
2023-08-18T08:56:58.777571
2017-09-19T03:43:27
2017-09-19T03:43:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,824
py
# Copyright (c) Moshe Zadka # See LICENSE for details. """ncolony.beatcheck ==================== Check heartbeats of processes that should beat. Usually used as $ twistd -n ncolony_beatcheck --config config --messages messages It will watch the configurations, and send a restart message for any process that does n...
[ "zadka.moshe@gmail.com" ]
zadka.moshe@gmail.com
423f1675d5bcef619a2c564e602dc00a23745bdc
60d9f0ea7764b67b8e2f5b187f9bd98be0ddd93a
/scripts/s3_sed.py
499e01ac11207255f75bca28098b09e9e2fd744b
[ "Apache-2.0" ]
permissive
omad/dratools
252136d972a750a228c5d84c3c95293d671a3145
17d81dd5e496c5539b0613f4bf25655230bd9f4f
refs/heads/master
2023-02-03T10:36:52.677072
2023-01-19T23:01:16
2023-01-19T23:01:16
184,683,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,029
py
import click from odc.aws import s3_client, s3_fetch, s3_dump from tqdm import tqdm s3 = None @click.command('s3-find') @click.option('--no-sign-request', is_flag=True, help='Do not sign AWS S3 requests') @click.argument('file_list', type=click.File('r'), nargs=1) def cli(file_list, no_sign_request=Non...
[ "damien@omad.net" ]
damien@omad.net
cae804eeca224b7c810f2ca72e04cb19244e2022
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/vietlongplazacomvn.py
beadae51c3d65808932018124f7c2fae1011fb27
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//td[@id='pro-detail-col-info']/div[@id='product-detail-name']/h1", 'price' : "//div[@class='product-list-price']/p[@class='cssPrice']...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com
d355d73ff3bc201e202f27d27a78be42b0db7872
8941c8ca788b1a45bfad23ca26ebfa357c13f09b
/Lyceum/Mars_Sql_Alchemy/zapros4.py
1b12b239fe471f0a4b6e70c4256bc310a8a2b2bc
[]
no_license
MysteriousSonOfGod/Python-2
d1dfdf094f4a763758bfc7e1777c2cd6efbd0809
0d488906e4b5e3897da6b7cb077815740e82fd84
refs/heads/master
2023-02-05T13:38:25.673248
2020-12-22T13:54:02
2020-12-22T13:54:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from data import db_session from data import users db = input() db_session.global_init(db) session = db_session.create_session() users = session.query(users.User).filter((users.User.position.like("%chief%") | users.User.position.like("%middle%"))) for user in users: print(f'{user} {user.position}') # db/mars_ex...
[ "realandmir@gmail.com" ]
realandmir@gmail.com
442ee1ed35e53bdf671ddf356b0bf7274dddb5a8
1beb0d3a73a97c5367cc54d37b34a7536b975d68
/practice/morethread.py
37fdcd18909e15f831a7ec9abf022bb055e2f262
[]
no_license
Hardworking-tester/HuaYing
a24aa271afe81c95241818586b1d1d5abd6b4282
4dd065806f20bfdec885fa2b40f2c22e5a8d4f15
refs/heads/master
2021-06-03T10:06:33.604494
2017-06-22T09:32:13
2017-06-22T09:32:13
42,507,030
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
# encoding:utf-8 # author:wwg from selenium import webdriver import threading import time class MyThread(threading.Thread): def __init__(self,num): threading.Thread.__init__(self) self.num=num def run(self): start=time.time() br=webdriver.Firefox() br.get("https://www.b...
[ "373391120@qq.com" ]
373391120@qq.com
30e9218fa343c615c68da4f7849636cc0abf4779
bd46fe963f29e11691143aad5ae82ea7f974f3eb
/test/mitmproxy/test_types.py
81aaed7493a4fe6d249d5e18806cfefaea4430f0
[ "MIT" ]
permissive
1ezss/mitmproxy
a4a934a8fd2d637a532009c46cab2ff3c57c2520
6ef6286d8e53a0a9045fa41956e65dae2e41ab6d
refs/heads/master
2021-08-30T16:53:20.112680
2017-12-18T18:50:52
2017-12-18T18:50:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,604
py
import pytest import os import typing import contextlib from mitmproxy.test import tutils import mitmproxy.exceptions import mitmproxy.types from mitmproxy.test import taddons from mitmproxy.test import tflow from mitmproxy import command from mitmproxy import flow from . import test_command @contextlib.contextmana...
[ "aldo@nullcube.com" ]
aldo@nullcube.com
49e8a6b69a433379a569875caec380084d2fd049
1e0f9d3829665c74a5b4ee79531520fe4cbe2730
/clean_data.py
557cb06e5dae140dc2261c42809c0787927e0ce7
[]
no_license
aparna-arr/AnalysisProject
bead344eda6159f83ac19de3be533fdd3acf2087
f0d3068e0ac7f15255092f39f000c8009ceb57a2
refs/heads/master
2023-05-03T10:56:40.511706
2019-05-03T18:39:56
2019-05-03T18:39:56
181,940,284
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
#!/share/software/user/open/python/3.6.1/bin/python3 import sys if len(sys.argv) < 3: print("usage: clean_data.py <downloaded.csv> <output_name.tsv>\n", file = sys.stderr) sys.exit(1) downloadFile = sys.argv[1] outputFilename = sys.argv[2] dfh = open(downloadFile, "r") dout = open(outputFilename, "w") dout.write(...
[ "aparna.arr@gmail.com" ]
aparna.arr@gmail.com
f6e47fbd2cd310fabb799996d61d9fecb0edcf08
480e33f95eec2e471c563d4c0661784c92396368
/CondTools/SiStrip/test/SiStripFedCablingBuilder_cfg.py
e5c0d47c76984fe444dc432b4f022b77a68f190d
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
2,154
py
import FWCore.ParameterSet.Config as cms process = cms.Process("FedCablingBuilder") process.MessageLogger = cms.Service("MessageLogger", debugModules = cms.untracked.vstring(''), cablingBuilder = cms.untracked.PSet( threshold = cms.untracked.string('INFO') ), destinations = cms.untracked.vstri...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
80f02038f06487eee9227b752dc0cff496435fd7
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/raw/EGL/ANGLE/window_fixed_size.py
cf97b40a7528e22f46fd4699ce930d11b5892813
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
569
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.EGL import _types as _cs # End users want this... from OpenGL.raw.EGL._types import * from OpenGL.raw.EGL import _errors from OpenGL.constant import Constant as _C import ctype...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
93e7ded10a0e1b59d1fad0eccde6bf12d2f9c630
d281aed005dae06a723c01be4d516b8b5333bc15
/Array/MajorityElement.py
ef16af12bd9e7aaa5a24de99e1ef3706bdd0ed09
[]
no_license
tcandzq/LeetCode
4133d17245b2ff14e06ce69ee640a786fad5186d
af5dc310534f12a6ded10226ce05aba65ec119d9
refs/heads/master
2022-08-25T13:57:07.350906
2022-08-21T09:46:09
2022-08-21T09:46:09
200,478,099
23
6
null
null
null
null
UTF-8
Python
false
false
975
py
# -*- coding: utf-8 -*- # @File : MajorityElement.py # @Date : 2021-06-14 # @Author : tc """ 题号:169. 多数元素 给定一个大小为 n 的数组,找到其中的多数元素。多数元素是指在数组中出现次数 大于 ⌊ n/2 ⌋ 的元素。 你可以假设数组是非空的,并且给定的数组总是存在多数元素。 示例 1: 输入:[3,2,3] 输出:3 示例 2: 输入:[2,2,1,1,1,2,2] 输出:2 进阶: 尝试设计时间复杂度为 O(n)、空间复杂度为 O(1) 的算法解决此问题。 使用摩尔投票法 """ from typi...
[ "2448424636@qq.com" ]
2448424636@qq.com
9808b4581cc3f641d8daf02daea56ecfcb5b01ed
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2296/60631/291065.py
a4d720bbeb3002b562678cf3797e12d4d4aee4fd
[]
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,025
py
s=input() d=[] for i in range(int(s.split(' ')[0])+1): d.append(input()) if 1==2: pass elif d==['1 2 3 -3', '2 4 5 3', '4 0 0 1', '5 8 9 0', '8 0 0 1', '9 0 0 6', '3 6 7 -9', '6 0 0 2', '7 0 0 1', '-9']: print(1) elif d==['29 26 32 -70', '26 33 34 -19', '33 0 0 31', '34 0 0 -94', '32 15 17 76', '15 3 0 -28'...
[ "1069583789@qq.com" ]
1069583789@qq.com
eca57f31e9802ba4328939eec984af1f160294f6
73de82808577f5e2da4b76a154c4e6d43c6cc2d4
/backend/wallet/api/v1/serializers.py
c044e55d54ef96d4be9c7dda7a87251f7e8d2340
[]
no_license
crowdbotics-apps/alpha-dty-26245
f3c3dc059289458b3ad27afa34acced6820e3a07
7ee5cbcb689534cb6415b5b4bfceeda3f43e1e65
refs/heads/master
2023-04-24T13:29:18.879301
2021-05-06T11:02:46
2021-05-06T11:02:46
364,878,526
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
from rest_framework import serializers from wallet.models import ( PaymentTransaction, PaymentMethod, TaskerWallet, TaskerPaymentAccount, CustomerWallet, ) class TaskerWalletSerializer(serializers.ModelSerializer): class Meta: model = TaskerWallet fields = "__all__" class Tas...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
049dfff069929c8e2c65f2b066c979d7bfb17778
b3455474da0bc27c913ff88908be0d0bddba352d
/4.Analysis/Chapter.03_Excel/8)pandas_value_in_set.py
8e188d8067ac2a20faec45648ba3087ce76a5ce5
[]
no_license
rntva/JumpToPython
7286bc94e40b553fa7b9fbca7934f2e35f63b54e
090f0ed5bf28ae7832e5edde11936b71b4fb324b
refs/heads/master
2021-05-01T02:33:44.528975
2018-07-18T08:24:07
2018-07-18T08:24:07
121,182,629
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
#!/usr/bin/env python3 import sys import pandas as pd input_file = sys.argv[1] output_file = sys.argv[2] data_frame = pd.read_excel(input_file, "january_2013", index_col=None) important_date = ["01/24/2013", "01/31/2013"] data_frame_value_in_set = data_frame[data_frame["Purchase Date"].isin(important_date)] writer ...
[ "ltrodl@gmail.com" ]
ltrodl@gmail.com
874e1406ac2f5f2aebbd9596a503a5a03c41ec9f
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq1859.py
9a11066eea35baf199d4b6510c65419101a0c599
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,368
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=5 # total number=62 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
cb66633d69cdc51aabed0dce4c52fdc9d9046f0c
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp/sblp_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=31/sched.py
c3f11e6cb2e1ff4b81896f5c25e2978f581d045c
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
-S 0 -X RUN -Q 0 -L 1 113 400 -S 0 -X RUN -Q 0 -L 1 57 250 -S 0 -X RUN -Q 0 -L 1 48 175 -S 0 -X RUN -Q 0 -L 1 44 300 -S 1 -X RUN -Q 0 -L 1 42 150 -S 2 -X RUN -Q 1 -L 1 42 200 -S 2 -X RUN -Q 1 -L 1 39 250 -S 2 -X RUN -Q 1 -L 1 35 175 -S 2 -X RUN -Q 1 -L 1 34 150 -S 3 -X RUN -Q 2 -L ...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
e264fcd14c8db9adc7b7a2c16860d352a8256379
f83f053278a036e18466d85585bc03a28c0f140a
/tests/formats/dataclass/parsers/test_mixins.py
209484d24ae72b068ebc67cf01a8379ef99b2d78
[ "MIT" ]
permissive
finswimmer/xsdata
dd951124e378bf9f4d8bd6939e4ebe542c677ee2
eed822b83f362f48561a7d116e181a5422ff52dd
refs/heads/master
2023-05-05T21:16:20.693559
2021-05-31T16:11:44
2021-05-31T16:33:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
from unittest.case import TestCase from tests.fixtures.books import Books from tests.fixtures.books.fixtures import books from tests.fixtures.books.fixtures import events from xsdata.exceptions import XmlHandlerError from xsdata.formats.dataclass.parsers.mixins import EventsHandler from xsdata.formats.dataclass.parser...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
63de83bc58b69a246b3000aac1ba64b7ce19d9a1
462c56e7454c97e0541588b9be66a4e216ea20fd
/133.clone-graph.py
81d21631ec87e2710b8dbedfb34003bd67d6784d
[]
no_license
LouisYLWang/leetcode_python
d5ac6289e33c5d027f248aa3e7dd66291354941c
2ecaeed38178819480388b5742bc2ea12009ae16
refs/heads/master
2020-05-27T08:38:48.532000
2019-12-28T07:08:57
2019-12-28T07:08:57
188,549,256
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
# # @lc app=leetcode id=133 lang=python3 # # [133] Clone Graph # # @lc code=start """ # Definition for a Node. class Node: def __init__(self, val, neighbors): self.val = val self.neighbors = neighbors """ class Solution(object): def cloneGraph(self, node): """ :type node: Node ...
[ "louis.yl.wang@outlook.com" ]
louis.yl.wang@outlook.com
f092d8f5c0700bd1f0b7ef271f3d6632db2faa22
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/8vBvgJMc2uQJpD6d7_16.py
bb784952c2b0da9b4ee9ef08d2ea35759ff349aa
[]
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
620
py
""" Create a function that returns a list containing the prime factors of whatever integer is passed to it. ### Examples prime_factors(20) ➞ [2, 2, 5] prime_factors(100) ➞ [2, 2, 5, 5] prime_factors(8912234) ➞ [2, 47, 94811] ### Notes * Implement your solution using trial division. * Yo...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local