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
e3e9af5d81885990ee71c8798f9aa4149ac348cc
4e44c4bbe274b0a8ccca274f29c4140dfad16d5e
/Push2_MIDI_Scripts/decompiled 10.0.3b2 scripts/pushbase/touch_encoder_element.py
3b6d6c7f03e0827f3f845147d727d984560865cd
[]
no_license
intergalacticfm/Push2_MIDI_Scripts
b48841e46b7a322f2673259d1b4131d2216f7db6
a074e2337b2e5d2e5d2128777dd1424f35580ae1
refs/heads/master
2021-06-24T15:54:28.660376
2020-10-27T11:53:57
2020-10-27T11:53:57
137,673,221
2
0
null
null
null
null
UTF-8
Python
false
false
3,161
py
# uncompyle6 version 3.0.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.13 (default, Jan 19 2017, 14:48:08) # [GCC 6.3.0 20170118] # Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\touch_encoder_element.py # Compiled at: 2018-06-05 08:04:22 fro...
[ "ratsnake.cbs@gmail.com" ]
ratsnake.cbs@gmail.com
ed7db017e09ab445f8dc309bb5c7d7550dd29eca
c20f811f26afd1310dc0f75cb00992e237fdcfbd
/21-merge-two-sorted-lists.py
2db2b0f72463bcc00edca0051683d4d4b8e84092
[ "MIT" ]
permissive
dchentech/leetcode
4cfd371fe4a320ab3e95925f1b5e00eed43b38b8
3111199beeaefbb3a74173e783ed21c9e53ab203
refs/heads/master
2022-10-21T09:59:08.300532
2016-01-04T03:21:16
2016-01-04T03:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
""" Question: Merge Two Sorted Lists Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Performance: 1. Total Accepted: 82513 Total Submissions: 250918 Difficulty: Easy 2. Your runtime beats 93.72% of python sub...
[ "mvjome@gmail.com" ]
mvjome@gmail.com
63515d7070e6f6fa471eceafd23c5d19fc3aaec5
34d6f67245baf6b96915a39f2dff92ceb8652265
/DjangoApp/settings.py
aa8dd1dce2fe8c302a621f08b64ec9e202771b94
[ "MIT" ]
permissive
johnnynode/Django-1.11.11
917641dae0eeb892d8f61287b12357dffc6b1d15
421f4d23d2773a1338a5163605a2f29202c91396
refs/heads/master
2020-04-25T11:06:18.924593
2020-01-10T10:38:19
2020-01-10T10:38:19
172,733,799
0
0
null
null
null
null
UTF-8
Python
false
false
3,341
py
""" Django settings for DjangoApp project. Generated by 'django-admin startproject' using Django 1.11.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import...
[ "johnnynode@gmail.com" ]
johnnynode@gmail.com
04887e887daf35ff0170d6057274581be39394dd
f66a33f8cdd8286320da730be67c89ee00d83d8d
/src/python/SConscript
e7e464e2df48fb8aaf41a9bd57e412d6d013cb72
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
H2020-COSSIM/cgem5
0d5812632757e6146f7852c9bf4abe4e9628296a
1222cc0c5618875e048f288e998187c236508a64
refs/heads/main
2023-05-13T14:08:01.665322
2023-05-08T08:39:50
2023-05-08T08:39:50
468,039,890
3
2
BSD-3-Clause
2022-10-12T14:29:33
2022-03-09T18:05:40
C++
UTF-8
Python
false
false
16,372
# -*- mode:python -*- # Copyright (c) 2004-2005 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above co...
[ "ntampouratzis@isc.tuc.gr" ]
ntampouratzis@isc.tuc.gr
4c1bc83bd79f6d45d169909107af7299301e7b56
453daa2a6c0e7bcac5301b7a3c90431c44e8d6ff
/demos/blog_react/aiohttpdemo_blog/admin/posts.py
38dce4938f8f41f6985ec3be6d0e7e39d1407c75
[ "Apache-2.0" ]
permissive
Deniallugo/aiohttp_admin
c4f68df50267fc64e36b9283bfeb80cb426009da
effeced4f4cb0fa48143030cd7e55aa9012203ac
refs/heads/master
2023-07-08T06:02:18.603089
2021-08-19T06:57:18
2021-08-19T06:57:18
296,005,355
1
0
Apache-2.0
2021-08-19T06:57:19
2020-09-16T10:55:28
null
UTF-8
Python
false
false
332
py
from aiohttp_admin.contrib import models from aiohttp_admin.backends.sa import PGResource from .main import schema from ..db import post @schema.register class Posts(models.ModelAdmin): fields = ('id', 'title', 'pictures', 'backlinks', 'subcategory',) class Meta: resource_type = PGResource t...
[ "nickolainovik@gmail.com" ]
nickolainovik@gmail.com
176cdd36e2826a520c211721a826defe7432b198
ac2b3f97b4f2423a3724fbf9af69e362183f7f3a
/crimtech_final_project/crimsononline/newsletter/migrations/0004_auto_20160321_1749.py
eac989c6e541da79424f7b0e000948499959a6e7
[]
no_license
cindyz8735/crimtechcomp
e4109855dd9a87fc11dd29fdf6bb81400c9ce97b
a9045ea79c73c7b864a391039799c2f22234fed3
refs/heads/master
2021-01-24T10:06:03.386553
2018-04-14T04:24:57
2018-04-14T04:24:57
123,037,281
0
0
null
2018-02-26T22:08:57
2018-02-26T22:08:56
null
UTF-8
Python
false
false
1,045
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('newsletter', '0003_auto_20150826_0229'), ] operations = [ migrations.CreateModel( name='HarvardTodaySponsoredEve...
[ "cindyz8735@gmail.com" ]
cindyz8735@gmail.com
6d360f0233028c91624e539874a5429b1c382233
127e99fbdc4e04f90c0afc6f4d076cc3d7fdce06
/2021_하반기 코테연습/boj14620.py
7d9fc8ac42f2639b3e07a9a9888085fed91330c1
[]
no_license
holim0/Algo_Study
54a6f10239368c6cf230b9f1273fe42caa97401c
ce734dcde091fa7f29b66dd3fb86d7a6109e8d9c
refs/heads/master
2023-08-25T14:07:56.420288
2021-10-25T12:28:23
2021-10-25T12:28:23
276,076,057
3
1
null
null
null
null
UTF-8
Python
false
false
1,341
py
n = int(input()) mapp = [] for _ in range(n): tmp = list(map(int, input().split())) mapp.append(tmp) check = [[False for _ in range(n)] for _ in range(n)] answer = 1e10 dx = [1, -1, 0, 0] dy = [0, 0, -1, 1] def check_range(x, y): if x>=0 and x<n and y>=0 and y<n: return True return False ...
[ "holim1226@gmail.com" ]
holim1226@gmail.com
f4654a97d2589c028a6eb4ff6fc813d361ca27b5
93ab050518092de3a433b03744d09b0b49b541a6
/iniciante/Mundo 02/Exercícios Corrigidos/Exercício 036.py
6859a806e2d4e38fc694507fed1fb3ea02e4c1a7
[ "MIT" ]
permissive
ggsant/pyladies
1e5df8772fe772f8f7d0d254070383b9b9f09ec6
37e11e0c9dc2fa2263ed5b42df5a395169408766
refs/heads/master
2023-01-02T11:49:44.836957
2020-11-01T18:36:43
2020-11-01T18:36:43
306,947,105
3
1
null
null
null
null
UTF-8
Python
false
false
766
py
""" EXERCÍCIO 036: Aprovando Empréstimo Escreva um programa para aprovar o empréstimo bancário para a compra de uma casa. Pergunte o valor da casa, o salário do comprador e em quantos anos ele vai pagar. A prestação mensal não pode exceder 30% do salário, ou então o empréstimo será negado. """ casa = float(input('Valo...
[ "61892998+ggsant@users.noreply.github.com" ]
61892998+ggsant@users.noreply.github.com
3dc35cccc2f987013f4445f95435d2dad6a1f12b
2834298c6a50ff7cfada61fb028b9fd3fc796e85
/introd/programas/cap01_prob/exemp_cap_01_01_c.py
3265df1f052c7c1bad508ee770a2d6ad52fb0fa4
[]
no_license
ernestojfcosta/IPRP_LIVRO_2013_06
73841c45d000dee7fc898279d4b10d008c039fd0
a7bb48745ad2fbfeb5bd4bc334cb7203d8f204a4
refs/heads/master
2021-01-22T05:00:57.868387
2013-06-07T11:00:55
2013-06-07T11:00:55
10,548,127
0
1
null
null
null
null
WINDOWS-1257
Python
false
false
472
py
# -*- coding: mac-roman -*- # Exemplo simples entradas / sa’das / atribui¨›es # Ernesto Costa # Dada a altura calcula o peso ideal para uma pessoa def main(): """" Tem o peso ideal? """ # mensagem altura = input("A sua altura por favor: ") sexo = raw_input("O seu sexo por favor (M / F): ") if sexo == '...
[ "ernesto@dei.uc.pt" ]
ernesto@dei.uc.pt
91b36a0995b8185f836de8ef91377eae14007d36
295f34f4411d984f0ff6026be6e96fe134dc1550
/home/pi/antes/cstart1.py
31386346cd6c9ee0e187889c15981a991215e943
[]
no_license
mcashjavier/disco-linux-raspy
1e3fed914b6040fa9972e7cfc7357ecb72070e8c
8c23103cf089059fbdadfad8cfb7059c1580da83
refs/heads/master
2022-12-20T17:06:39.967203
2019-03-12T12:09:22
2019-03-12T20:01:10
175,072,541
0
3
null
2022-12-18T06:59:27
2019-03-11T19:44:12
null
UTF-8
Python
false
false
99,650
py
#!/usr/bin/python3 import threading #qr import pyqrcode from gpiozero import CPUTemperature from tkinter import * from tkinter.font import Font import subprocess import socket import sys import os import json import serial import binascii import pygame import webbrowser import io from datetime import datetime,timedel...
[ "prog2@magneticash.com" ]
prog2@magneticash.com
dac804c33230879d67dd611d93deb94b2adc451b
bfe6c95fa8a2aae3c3998bd59555583fed72900a
/sumRootToLeaf.py
ee43ddceb5b9ce42b6f787cf5ea3e662d9ad0968
[]
no_license
zzz136454872/leetcode
f9534016388a1ba010599f4771c08a55748694b2
b5ea6c21bff317884bdb3d7e873aa159b8c30215
refs/heads/master
2023-09-01T17:26:57.624117
2023-08-29T03:18:56
2023-08-29T03:18:56
240,464,565
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
from typing import Optional from pytree import TreeNode class Solution: def sumRootToLeaf(self, root: Optional[TreeNode]) -> int: value = 0 res = 0 def dfs(root, value): if not root: return value = 2 * value + root.val if not root.left...
[ "zzz136454872@163.com" ]
zzz136454872@163.com
d5347447760b6c6389ec49923408c533d457bf16
f865fdd970f8e37ea2aa5157374af8c4d6ced987
/test/test_vehicle_list_list.py
249ea92d8240a677b23124e6d62fb0bcd81d0216
[]
no_license
gkeep-openapi/python-sdk
7e809448355bff535b3d64e013f001e9196c5e19
7c4f3785b47a110386ef10109619654522c95de5
refs/heads/master
2022-05-28T16:13:06.643958
2022-05-13T14:58:39
2022-05-13T14:58:39
235,536,010
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# coding: utf-8 """ Gkeep API Gkeep API # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from models.vehicle_list_list import VehicleListList # noqa: E50...
[ "gkeep-ci-jenkins" ]
gkeep-ci-jenkins
a2f7553243715ba929281bd6d1ad9e7e468575ee
b5e8dc7c21659ac33b6e242a298a44d30bfa3610
/env-prod/Lib/site-packages/sklearn/ensemble/_hist_gradient_boosting/binning.py
836a2e0fa2447e9f9d31c9d25b907854bf070985
[]
no_license
rpuegue/CoursA61
c168b44cd9835ad7524c97b2983305c56acd8096
a4fc8f7504491eb94cb2f1d2bf6d16674901a0c5
refs/heads/main
2023-03-10T09:08:31.293546
2021-02-22T16:25:51
2021-02-22T16:25:51
339,574,678
0
0
null
2021-02-22T16:25:51
2021-02-17T00:57:41
Python
UTF-8
Python
false
false
8,304
py
""" This module contains the BinMapper class. BinMapper is used for mapping a real-valued dataset into integer-valued bins. Bin thresholds are computed with the quantiles so that each bin contains approximately the same number of samples. """ # Author: Nicolas Hug import numpy as np from ...utils import c...
[ "djatchepuegue@gmail.com" ]
djatchepuegue@gmail.com
fbf785d429c68337f3d04cbc3305b64d88758482
9b20743ec6cd28d749a4323dcbadb1a0cffb281b
/07_Machine_Learning_Mastery_with_Python/10/gaussian_naive_bayes.py
b5529aced1162296ffe0b53527fd96f38568671a
[]
no_license
jggrimesdc-zz/MachineLearningExercises
6e1c7e1f95399e69bba95cdfe17c4f8d8c90d178
ee265f1c6029c91daff172b3e7c1a96177646bc5
refs/heads/master
2023-03-07T19:30:26.691659
2021-02-19T08:00:49
2021-02-19T08:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# Gaussian Naive Bayes Classification from pandas import read_csv from sklearn.model_selection import KFold from sklearn.model_selection import cross_val_score from sklearn.naive_bayes import GaussianNB filename = 'pima-indians-diabetes.data.csv' names = ['preg', 'plas', 'pres', 'skin', 'test', 'mass', 'pedi', 'age', ...
[ "jgrimes@jgrimes.tech" ]
jgrimes@jgrimes.tech
18c40f470894a9af81555213d823493761650de6
4d8439664d716ce811046969f806ccfc3fbe1add
/docs/conf.py
11e878a9d35bb089081795e459d74eb979c3f16f
[ "MIT" ]
permissive
BuysDB/SingleCellMultiOmics
b32519be6d4a79d8c80050f91e600aceedb9983f
441f378cbfb0af165f1ada5b8596362412b3cc48
refs/heads/master
2023-07-25T17:39:18.371642
2023-06-21T07:30:31
2023-06-21T07:30:31
187,592,829
21
9
MIT
2023-06-21T07:30:32
2019-05-20T07:47:28
Python
UTF-8
Python
false
false
5,677
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # SingleCellMultiOmics documentation build configuration file, created by # sphinx-quickstart on Tue Jul 16 11:59:02 2019. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present...
[ "git@buysdb.nl" ]
git@buysdb.nl
8acf901f02911518883bb83b3ee13e1155dde5be
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Integration/trend_LinearTrend/cycle_12/ar_12/test_artificial_1024_Integration_LinearTrend_12_12_0.py
ce9ad4b11a32844c2d9b12c61134643c26fb5ac1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
270
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 12, transform = "Integration", sigma = 0.0, exog_count = 0, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
52ddde778566b011bf474203eeaab73b80a92abd
e1e5ffef1eeadd886651c7eaa814f7da1d2ade0a
/Systest/tests/acl-new/ACL_FUN_055.py
56f2d44de7774024373f48e52761bd1fba98265a
[]
no_license
muttu2244/MyPython
1ddf1958e5a3514f9605d1f83c0930b24b856391
984ca763feae49a44c271342dbc15fde935174cf
refs/heads/master
2021-06-09T02:21:09.801103
2017-10-10T07:30:04
2017-10-10T07:30:04
13,803,605
0
0
null
null
null
null
UTF-8
Python
false
false
3,939
py
#!/usr/bin/env python2.5 """ ####################################################################### # # Copyright (c) Stoke, Inc. # All Rights Reserved. # # This code is confidential and proprietary to Stoke, Inc. and may only # be used under a license from Stoke. # ####################################################...
[ "muttu2244@yahoo.com" ]
muttu2244@yahoo.com
f9d76b0440856d9311fe34261caa26b0b7aebe92
882c865cf0a4b94fdd117affbb5748bdf4e056d0
/python/BOJ/10_DFS_BFS/BOJ1697_숨바꼭질2.py
bc86af4e46dc7af94108fb47b8aaa7168c43897e
[]
no_license
minhee0327/Algorithm
ebae861e90069e2d9cf0680159e14c833b2f0da3
fb0d3763b1b75d310de4c19c77014e8fb86dad0d
refs/heads/master
2023-08-15T14:55:49.769179
2021-09-14T04:05:11
2021-09-14T04:05:11
331,007,037
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
from collections import deque N, K = map(int, input().split()) count = [0] * 100001 def bfs(x): need_visit = deque([x]) while need_visit: x = need_visit.popleft() dx = [x-1, x+1, x*2] if x == K: return count[x] for nx in dx: if nx < 0 or nx > 100000: ...
[ "queen.minhee@gmail.com" ]
queen.minhee@gmail.com
0c62175729789e521b514d0ac7abca4b662ba72a
3c5e4086ff49fb28be692085855c63b624b00d37
/SuccessiveCommunities_IPAM/commonUsers.py
63a4f0bf34dfa4d52a609f79cf37b7eff868da7d
[]
no_license
Roja-B/IPAM
bd1a708f053912ce401a99cbe827f2503eae9446
5a0e49299abcccda9eb1e7cc523315e6c14d5def
refs/heads/master
2016-08-08T05:09:02.910761
2013-02-06T06:01:11
2013-02-06T06:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
# Unipartite Projection # Creates Unipartite graph using Jaccard Index from a bipartite graph # Input: Bipartite Graph # Form: "EdgeList" import sys from string import lower,upper from PARAMETERS import * bgraphname = PATH+"/myResults/20002012/bipartite.txt" f1 = open(bgraphname,"r") Participants = dict() for lin...
[ "roja@ucla.edu" ]
roja@ucla.edu
e6f1aa570bf7102147e51ae3fc964e0a6563e419
4dcdc0533b89af0160bb13f729b1fb7be1454e6e
/Topics/Identity testing/Check the truth/main.py
d290b0cff6723c99e75d9e3e98bc17ccd891dc21
[]
no_license
alendina/Numeric_Matrix
17227221d27278825868df8d78969ee7b6febca6
74b8ff3365eba858b6974f01812bfe2ca041b91c
refs/heads/master
2023-08-18T06:38:24.145454
2021-10-24T18:33:05
2021-10-24T18:33:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
def check_values(first_value, second_value): if bool(first_value) and bool(second_value): return True else: return False
[ "alendina@MacBook-Air-Olena.local" ]
alendina@MacBook-Air-Olena.local
8f7d70e38632a557f44e50d6671c469fd196770d
c2d48caa5db7e746a38beca625406fcf47379d3c
/src/olympia/lib/storage.py
0413ca12fc2c4a45f994579b021cdea728b44eab
[]
permissive
mozilla/addons-server
1f6269ec0a4aa5a0142a5f81978ef674daf213a7
e0f043bca8a64478e2ba62f877c9dc28620be22f
refs/heads/master
2023-09-01T09:34:41.867534
2023-09-01T07:21:22
2023-09-01T07:21:22
16,416,867
920
590
BSD-3-Clause
2023-09-14T16:15:01
2014-01-31T18:44:15
Python
UTF-8
Python
false
false
733
py
from django.contrib.staticfiles.storage import ManifestStaticFilesStorage class ManifestStaticFilesStorageNotMaps(ManifestStaticFilesStorage): patterns = ( ( '*.css', ( # These regexs are copied from HashedFilesMixin in django4.1+ r"""(?P<matched>url...
[ "noreply@github.com" ]
mozilla.noreply@github.com
c923ea98b9bf69a7d382ae175dc5d64d8a9cebb3
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/stacked_capsule_autoencoders/capsules/plot.py
433501db8dd6481b815ef5ee817b8978d36d3b7a
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
10,874
py
# coding=utf-8 # Copyright 2022 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
c46fe73e6b759e76d94ab70e318253601e5e12b7
67f19ebb1fb3189e4c2f99484c1dc13af5099edb
/wii_packages/enso/fever/fever_idol7/fever_idol7.py
9e8af364fb989f103457962cc724befb394fa6d4
[]
no_license
delguoqing/PyLMPlayer
609c4fe35e56e4ce3ce30eeb2e9244aad5ea1609
db8a1edf70ac1c11deffddc458788b3a2c2078df
refs/heads/master
2021-01-22T05:06:00.491732
2013-09-13T04:54:23
2013-09-13T04:54:23
8,878,510
5
1
null
null
null
null
UTF-8
Python
false
false
243
py
def func0(this, _global): this.stop() def func1(this, _global): this.gotoAndPlay("fever") def func2(this, _global): this.gotoAndStop(0) def func3(this, _global): this.gotoAndPlay("feverWide") DATA = ( func0, func1, func2, func3, )
[ "delguoqing@hotmail.com" ]
delguoqing@hotmail.com
9f0d2bf444ffbf8b751a89dbae76aa88747bb009
e6c7c0fe8ff901b02c02c8cfb342cc2bcd76a8b2
/lambda_p.py
0eb68693ab8a4e9920821997994dbc0c829f235e
[]
no_license
VladyslavHnatchenko/theory
d7a3803e7887e60beb2936f24b9eb4056a04a711
d2a18d577c046b896fcab86684d9011db1d4867d
refs/heads/master
2020-04-08T10:42:55.198754
2018-12-25T06:00:17
2018-12-25T06:00:17
159,279,432
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
def multiply_all(numbers): product = 1 for n in numbers: product *= n return product numbers = [2, 1, 3, 4, 7, 11, 18] product = multiply_all(numbers) print(product) # from functools import reduce # # # numbers = [2, 1, 3, 4, 7, 11, 18] # product = reduce(lambda x, y: x * y, numbers, 1) # # print...
[ "hnatchenko.vladyslav@gmail.com" ]
hnatchenko.vladyslav@gmail.com
712c35310d6dded71e8bb56fe425b5331e450d82
7fa08c93ff0caa4c86d4fa1727643331e081c0d0
/brigid_api_client/models/aws_accounts_retrieve_expand.py
affdf90386d13f2fa7f0cb41d10e07e378faf6b2
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
caltechads/brigid-api-client
760768c05280a4fb2f485e27c05f6ae24fbb7c6f
3e885ac9e7b3c00b8a9e0cc1fb7b53b468d9e10a
refs/heads/master
2023-03-23T03:11:02.446720
2021-03-13T00:47:03
2021-03-13T00:47:03
338,424,261
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from enum import Enum class AwsAccountsRetrieveExpand(str, Enum): AWSACCOUNTAWS_VPCS = "awsaccount.aws_vpcs" AWSACCOUNTCONTACTS = "awsaccount.contacts" AWSACCOUNTTEAM = "awsaccount.team" def __str__(self) -> str: return str(self.value)
[ "cmalek@caltech.edu" ]
cmalek@caltech.edu
d9400873abaf5962c7e4757d1c542489ceeebce1
360a83e36c064d37c0ceeded47edb257157c0702
/django_cadastro/urls.py
63e3f9aaf041bf0b1c2752e84429e7806f0f275d
[]
no_license
rafa-souza-dev/django_cadastros
164ffc1f0000a311ae73d704bde4fe748dd7adf4
ea0f84198a455e06c9476de0309da91f51cd700d
refs/heads/master
2023-03-29T07:51:20.740625
2021-04-01T19:43:38
2021-04-01T19:43:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
"""django_cadastro URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "you@example.com" ]
you@example.com
7ce76357c170555ecbb807b767bd856eaf8da2cc
afd2087e80478010d9df66e78280f75e1ff17d45
/torch/onnx/_internal/diagnostics/infra/sarif/_fix.py
5e3b944aa23983b9fbaa1e7015921124ae0f7c75
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
pytorch/pytorch
7521ac50c47d18b916ae47a6592c4646c2cb69b5
a6f7dd4707ac116c0f5fb5f44f42429f38d23ab4
refs/heads/main
2023-08-03T05:05:02.822937
2023-08-03T00:40:33
2023-08-03T04:14:52
65,600,975
77,092
24,610
NOASSERTION
2023-09-14T21:58:39
2016-08-13T05:26:41
Python
UTF-8
Python
false
false
1,069
py
# DO NOT EDIT! This file was generated by jschema_to_python version 0.0.1.dev29, # with extension for dataclasses and type annotation. from __future__ import annotations import dataclasses from typing import List, Optional from torch.onnx._internal.diagnostics.infra.sarif import ( _artifact_change, _message,...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
e7d7c4854b2c5775a583cb11250ffe5044996f9e
ac235a23f22be0d6f1818bb53902177f9969813a
/ddtrace/vendor/debtcollector/moves.py
8fac7543ff67b6e20f85f3795013883d832dc1b4
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
DataDog/dd-trace-py
f09d6d48c4c69aea68f999fc8a458ade5c6150cf
1e3bd6d4edef5cda5a0831a6a7ec8e4046659d17
refs/heads/1.x
2023-09-01T20:25:26.746324
2023-09-01T18:54:37
2023-09-01T18:54:37
61,572,326
461
426
NOASSERTION
2023-09-14T20:38:57
2016-06-20T18:52:23
Python
UTF-8
Python
false
false
8,421
py
# -*- coding: utf-8 -*- # Copyright (C) 2015 Yahoo! 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...
[ "noreply@github.com" ]
DataDog.noreply@github.com
e115e1d148d03af970ec8a9f6f8a834f3d8cbf5b
9610621437f025aa97f99b67f0a5d8e13bbb715c
/com/vmware/nsx_policy/infra/tier_0s/locale_services/l2vpn_context/l2vpns_client.py
37e0e1746854f7e9d4a3f17ef29d108a076bcd0d
[ "MIT" ]
permissive
adammillerio/vsphere-automation-sdk-python
2b3b730db7da99f1313c26dc738b82966ecea6ce
c07e1be98615201139b26c28db3aa584c4254b66
refs/heads/master
2022-11-20T03:09:59.895841
2020-07-17T19:32:37
2020-07-17T19:32:37
280,499,136
0
0
null
null
null
null
UTF-8
Python
false
false
10,908
py
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2020 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context.l2vpns. #--------------------...
[ "miller@adammiller.io" ]
miller@adammiller.io
c8cfea60f10bab3d2d252c18e5e0bdbc99706d03
2f898bb332097d11f321186207e94f6d156587f3
/dsp2019/classe4_dft/generar_audio.py
f41a4c4171677ad77f1be4e998e728e9ab7e47bf
[ "MIT" ]
permissive
miltonsarria/teaching
ad2d07e9cfbfcf272c4b2fbef47321eae765a605
7a2b4e6c74d9f11562dfe34722e607ca081c1681
refs/heads/master
2022-01-05T05:58:13.163155
2019-05-02T20:45:46
2019-05-02T20:45:46
102,375,690
1
0
null
null
null
null
UTF-8
Python
false
false
570
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from scipy.io.wavfile import read from scipy.io.wavfile import write import numpy as np import matplotlib.pyplot as plt fs=16e3 longitud = 2# sec n=np.linspace(1./fs,longitud,fs*longitud); F=400 #frecuencia fundamental w=2*np.pi*F #frecuencia angular Vm...
[ "miltonsarria@gmail.com" ]
miltonsarria@gmail.com
f7e3e1ceda275bc64213308ab21495cb7d97b19a
8d2a124753905fb0455f624b7c76792c32fac070
/pytnon-month02/month02-lvze-notes/day15-lvze/save_file.py
9095c3857f57b6435b8db97a5bd1032e0fa61e98
[]
no_license
Jeremy277/exercise
f38e4f19aae074c804d265f6a1c49709fd2cae15
a72dd82eb2424e4ae18e2f3e9cc66fc4762ec8fa
refs/heads/master
2020-07-27T09:14:00.286145
2019-09-17T11:31:44
2019-09-17T11:31:44
209,041,629
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
""" save_file.py 二进制文件存取示例 """ import pymysql # 连接数据库 db = pymysql.connect(user='root', password = '123456', database = 'stu', charset='utf8') # 获取游标 (操作数据库,执行sql语句,得到执行结果) cur = db.cursor() # 执行语句 # 存入图片 with open('gakki.jpg','rb') as f: data = f....
[ "13572093824@163.com" ]
13572093824@163.com
61fb603d132eda1ba08b4a29b00a1112cafcd207
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2890/58634/237718.py
7875c0abb4bcd7b3b6440c09767567838f31d8cb
[]
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
511
py
a = [int(i) for i in input().split(" ")] n = a[0] x = a[1] y = a[2] different_k = [] not_have_k = False #与原点的连线垂直于x轴,没有斜率的 for i in range(n): b = [int(i) for i in input().split(" ")] x1 = b[0] - x#移动坐标轴,把意大利炮放在原点 y1 = b[1] - y if x1 == 0: not_have_k = True else: if different_k.count(...
[ "1069583789@qq.com" ]
1069583789@qq.com
bdecc3ccb4df935062f8509ec4904a6e1162f0a7
96c6273649417609f0f86df88e5e95ecd7e80d86
/pyjoystick/interface.py
51d162a614beefdfc9a6f2d3df4c3f902a035de8
[ "MIT" ]
permissive
erjosito/pyjoystick
e311accb9e83d28f4325f799527270dfc3d49010
2b1639c17892904b191fe2ba42341a19d6f3b78e
refs/heads/master
2023-08-31T15:19:15.019252
2021-10-14T19:07:49
2021-10-14T19:07:49
550,453,646
1
0
MIT
2022-10-12T19:48:08
2022-10-12T19:48:08
null
UTF-8
Python
false
false
15,882
py
from .stash import Stash __all__ = ['KeyTypes', 'HatValues', 'Key', 'Joystick'] class KeyTypes: """Types of keys the controller could report (Axis, Button, Hat, Ball).""" AXIS = "Axis" BUTTON = "Button" HAT = "Hat" BALL = "Ball" ALL_KEYTYPES = ','.join((AXIS, BUTTON, HAT, BALL)) @classm...
[ "jtengel08@gmail.com" ]
jtengel08@gmail.com
ce98326eec9e867cfa84bc1b3f0f2d96f6af855a
8cadad50417345f84ce275d455f4d9d851adcfcb
/accounts/views.py
77c71b57912235123ee133a106e9127927d80431
[]
no_license
amirbigg/django-blog
b67427dc9b087937c91e62bead242690658f8584
23d6d47dd3e309fa736cd891654a09da18d08427
refs/heads/master
2023-04-28T17:35:00.298592
2022-02-11T18:15:47
2022-02-11T18:15:47
226,943,807
26
6
null
2023-04-21T21:28:17
2019-12-09T18:51:29
Python
UTF-8
Python
false
false
1,452
py
from django.shortcuts import render, redirect from .forms import UserLoginForm, UserRegistrationForm from django.contrib.auth import authenticate, login, logout from django.contrib import messages from django.contrib.auth.models import User def user_login(request): if request.method == 'POST': form = UserLoginForm...
[ "amirbig44@gmail.com" ]
amirbig44@gmail.com
6c47467fdc2e3ac450e09175b287eb9a071c66b8
4cc4d9d488939dde56fda368faf58d8564047673
/test/vts/testcases/framework_test/SampleSl4aTest.py
0b1133ebb0c19c335cf4b803840db478b2dc7418
[]
no_license
Tosotada/android-8.0.0_r4
24b3e4590c9c0b6c19f06127a61320061e527685
7b2a348b53815c068a960fe7243b9dc9ba144fa6
refs/heads/master
2020-04-01T11:39:03.926512
2017-08-28T16:26:25
2017-08-28T16:26:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
#!/usr/bin/env python # # Copyright (C) 2016 The Android Open Source Project # # 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...
[ "xdtianyu@gmail.com" ]
xdtianyu@gmail.com
c0df06b16069e147b3de2e0d270c87285e2aa0b6
41c5267c5b1bf6cf726dfce7f203828ab58280cc
/addons/speakers/search_indexes.py
ea8cdc9aa44bee11e7a61be39a41760d719cc403
[]
no_license
fbates/tendenci-site
7484616ec13a07f05be3a7a9663bca6d6800360b
8eb0bcd8e3269e92b505e8db4f81b35442fb4ac4
refs/heads/master
2021-01-11T10:55:56.171005
2012-11-15T18:15:21
2012-11-15T18:15:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from haystack import indexes from haystack import site from tendenci.core.perms.indexes import TendenciBaseSearchIndex from addons.speakers.models import Speaker class SpeakerIndex(TendenciBaseSearchIndex): name = indexes.CharField(model_attr='name') company = indexes.CharField(model_attr='company', null=Tru...
[ "eloyz.email@gmail.com" ]
eloyz.email@gmail.com
587d324910fd7515c01c9051e7f77212a24b4987
5d302c38acd02d5af4ad7c8cfe244200f8e8f877
/Array/1002. Find Common Characters(Easy).py
a9cdff36a75c8b1badf3cf74b7bdd55fe3ad92a2
[]
no_license
nerohuang/LeetCode
2d5214a2938dc06600eb1afd21686044fe5b6db0
f273c655f37da643a605cc5bebcda6660e702445
refs/heads/master
2023-06-05T00:08:41.312534
2021-06-21T01:03:40
2021-06-21T01:03:40
230,164,258
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
class Solution: def commonChars(self, A: List[str]) -> List[str]: result = []; chars = [] count = 0; for char in A[0]: chars.append(char); for char in chars: for i in range(1, len(A)): if char in A[i]: A[i] = A[i].re...
[ "huangxingyu00@gmail.com" ]
huangxingyu00@gmail.com
f466d9cc297956ba34da47d5efb40d14454f37a6
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/datastore/v1/datastore-v1-py/google/cloud/datastore_v1/services/datastore/transports/grpc.py
19509f59032d036f4b60e29fbfecef80da014254
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,280
py
# -*- coding: utf-8 -*- # Copyright 2020 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
749714a844151fe4c0679e06c57f2a0d1054a231
f6786f5f51c0a71a09213e2f729766d1a04dffa2
/두근두근_파이썬/12_PIL_Library/Challenge/353_mini_photo_shap.py
055593ec369b0c2a9d65d294dc06ecc7d76899b9
[]
no_license
SuperstarterJaeeun/Learn-Programming-Book
4f075fdec386a0449da8d0d08bb8f1b6d6b2f304
f768acfffcb20b9fc97946ca491f6ffb20671896
refs/heads/master
2023-07-24T07:13:24.374240
2021-09-06T14:56:02
2021-09-06T14:56:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
import tkinter as tk from PIL import Image, ImageTk, ImageFilter from tkinter import filedialog as fd im = None tk_img = None def open() : global im, tk_img filename = fd.askopenfilename() im = Image.open(filename) tk_img = ImageTk.PhotoImage(im) canvas.create_image(250, 250, image = tk_img) ...
[ "eona1301@gmail.com" ]
eona1301@gmail.com
b06063130be1283cf92de4bb5fd9ca2e5808c674
c52f105297f4f9bddeb31eba1615d8d04ea9742a
/tol/config/__init__.py
2b2b20cff0fcc4e2ff9bfc4ac5ad05848da2c3c0
[]
no_license
egdman/tol-revolve
35b6f96bc564d9093c0041faa6558d5ed6330775
b4050f749cb8701a219a3d8383c022e7ca2cf04e
refs/heads/master
2020-12-25T04:28:28.561577
2018-05-24T16:06:53
2018-05-24T16:06:53
50,343,840
1
4
null
2016-02-22T18:20:22
2016-01-25T10:37:06
Python
UTF-8
Python
false
false
70
py
from .config import parser, str_to_address __author__ = 'Elte Hupkes'
[ "eltehupkes@srxp.com" ]
eltehupkes@srxp.com
5ca87bde902dd3bf4220c279adaa44f9c33f59ee
5b5178d073d6b1247feab1314004bae326bfcdba
/examples/comm_example3.py
e1cf73be2bba9c04fb90e163c6f7f8f0a9e10d25
[]
no_license
abdcelikkanat/Evaluation
4df6512e43af17e4ec9decd54e47efb88ac11952
8aec5948f40b1d4601d6408a8bee5b41a77c1e35
refs/heads/master
2021-06-16T05:08:37.057794
2019-04-15T09:20:36
2019-04-15T09:20:36
135,060,670
0
0
null
null
null
null
UTF-8
Python
false
false
2,118
py
import sys sys.path.append("../../deepwalk/deepwalk") import graph as dw import networkx as nx from gensim.models.word2vec import Word2Vec from graphbase import randomgraph from sklearn.cluster import KMeans from community_detection.community_detection import * N = 1000 kmeans_num_of_communities = 3 if kmeans_num_of_...
[ "abdcelikkanat@gmail.com" ]
abdcelikkanat@gmail.com
c1304d7e44ef08ace8e1237716eab05f1f68aca8
e0980f704a573894350e285f66f4cf390837238e
/.history/menus/models_20201030152904.py
6448852a1a6a190459f0a1fdf0323ae50934112d
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
from django.db import models from django_extensions.db.fields import AutoSlugField from modelcluster.models import ClusterableModel from modelcluster.fields import ParentalKey from wagtail.core.models import Orderable from wagtail.admin.edit_handlers import FieldPanel, PageChooserPanel, InlinePanel class MenuItem(O...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
5f0f06a88ed13ff447815bfff00bb6f12829139f
e3b5f5a30c9ff552d0d67308410e595f7ba50e45
/hierarc/Likelihood/LensLikelihood/td_mag_likelihood.py
13c0388b57e84f80cf2f6f19eb9c719eb6f51c86
[ "BSD-3-Clause" ]
permissive
LBJ-Wade/hierarc_SGL
2332c424d6868ce099c736eaf5fea58a9282cd0c
1dc2be90f44f99e82ab7014f2027fbb077b14f98
refs/heads/main
2023-08-12T02:23:14.328741
2021-08-16T21:06:01
2021-08-16T21:06:01
411,586,535
0
0
null
null
null
null
UTF-8
Python
false
false
4,553
py
import numpy as np from lenstronomy.Util import constants as const from lenstronomy.Util.data_util import magnitude2cps class TDMagLikelihood(object): """ likelihood of time delays and magnification likelihood This likelihood uses linear flux units and linear lensing magnifications. """ def __in...
[ "sibirrer@gmail.com" ]
sibirrer@gmail.com
8301789d83ca70ea4d0b557b011359a5b8e1ed37
956e39e6bcc2c22fec9baa6f7c732c40a8da4ef9
/reagent/test/evaluation/test_ope_integration.py
974605113e3093b9380b024747c1cdbb84c3fedf
[ "BSD-3-Clause" ]
permissive
justcherie/ReAgent
5d3c62bd2fb1cc565417b31cc8e22a1473d134dc
f6b737b3d49660c48087b311f591fd24fb025211
refs/heads/master
2023-03-19T14:35:32.805656
2021-03-08T17:28:09
2021-03-08T17:30:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,467
py
import logging import random import unittest import numpy as np import torch from reagent import types as rlt from reagent.evaluation.evaluation_data_page import EvaluationDataPage from reagent.evaluation.ope_adapter import ( OPEstimatorAdapter, SequentialOPEstimatorAdapter, ) from reagent.ope.estimators.conte...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0be820d8c37117b65098b0e8dcdf0506cc8231b6
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Twitter/DirectMessages/__init__.py
1d26f95881809e14b918cc47d392e77b4e48342c
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
from GetDirectMessages import * from SendDirectMessage import * from DestroyDirectMessage import * from GetMessageByID import * from DirectMessagesSent import *
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
15cd6ea92f3995489a00742b8f8fe3837fe89534
a2dcb0aa714a6f64748a633bb5399498bf369bda
/diana/toolbox/parse_uniprot.py
71aa629076dd8494272a7c611678801cc399abbc
[ "MIT" ]
permissive
quimaguirre/diana
eefe1c8e571f3f2ac5486e0490a7f4bc886fefcb
930da0ea91ad87e354061af18db6c437a3318366
refs/heads/master
2021-07-08T10:21:26.150879
2021-04-13T14:34:31
2021-04-13T14:34:31
95,761,183
3
0
null
null
null
null
UTF-8
Python
false
false
9,091
py
######################################################################### # Uniprot XML parser to parse phosphorylation info of proteins # # eg 29/07/2009 ######################################################################### #from xml.etree.ElementTree import ElementTree from xml.etree.ElementTree import iterparse...
[ "quim.aguirre@hotmail.com" ]
quim.aguirre@hotmail.com
8c28b115446dbdfb81f139fe921de4b0f92fdd98
2233f520493f64c6070dd3e77722e53a7dd738e8
/unittest_example/test_fixture.py
372b4c964d16e91c4d8e53f9fd56d8ddf350e948
[ "Apache-2.0" ]
permissive
mpjeffin/pynet-ons-oct17
690bb31600b8ef5131439bb25ddce35b4855ba6a
d0daf9c250f79bc34b3b8b06b67004f56ef834a2
refs/heads/master
2021-09-07T00:00:02.234456
2018-02-13T19:58:11
2018-02-13T19:58:11
125,467,721
1
0
null
2018-03-16T05:26:10
2018-03-16T05:26:10
null
UTF-8
Python
false
false
621
py
import pytest from getpass import getpass from netmiko import ConnectHandler # Fixtures @pytest.fixture(scope="module") def netmiko_connect(): cisco1 = { 'device_type': 'cisco_ios', 'ip': '184.105.247.70', 'username': 'pyclass', 'password': getpass() } return ConnectHandle...
[ "ktbyers@twb-tech.com" ]
ktbyers@twb-tech.com
552df7ba2d2c6009f8e016dca6ec864e0e9526d7
4c7c8ba4f90e59b5cfdf290a8613c895becd847a
/src/datasets.py
b49b76551de0bca116aeb57121d8117508b6a102
[]
no_license
stalhabukhari/sls
00d4f73650d2745cc74aafb5ddcb0af8ae9498de
98b215212571b545019dd9b199715a9193ec8cfd
refs/heads/master
2020-12-03T11:15:48.523101
2019-12-22T21:45:02
2019-12-22T21:45:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,737
py
import torchvision from sklearn.model_selection import train_test_split from torchvision import transforms import torch from sklearn import metrics from src import utils as ut def get_dataset(dataset_name, train_flag, datadir, exp_dict): if dataset_name == "mnist": dataset = torchvision.datasets.MNIST(dat...
[ "issam.laradji@gmail.com" ]
issam.laradji@gmail.com
3d25ee146a7fe4d18336d7409cdf3a5289423d1f
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4005/codes/1712_2496.py
3442b9c6e33cbbf122e05bddd7a511c8d9ce8261
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
118
py
num = int(input("Digite um numero: ")) c=0 while(num!=-1): c= c+ num num = int(input("Digite um numero: ")) print(c)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
5e57b310c8982173953ff99d06116aa3e3553169
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/5/usersdata/67/2931/submittedfiles/atm.py
a41e9c31c6bb1ca25bc098784953451c866f8b20
[]
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
219
py
# -*- coding: utf-8 -*- from __future__ import division import math #COMECE SEU CODIGO AQUI a=input("Digite o valor:") c20=a/20 c10=a%20/10 c5=(a%20%10)/5 b=int(c20) c=int(c10) d=int(c5) print(b) print(c) print(d)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c6a42a74e17de8f8fa6f756dfce650e95093fe04
add16900a969741c9e7570d3b7b47b76e22ccd04
/torch/fx/passes/split_module.py
238f2a947c0b27b869d8ab6cd6c25f031af3f8a0
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
talemache/pytorch
55143c60b927a73f6392f7dde1f4fc8ef7ee76e6
a4da326621418dcccba50d2e827e6644e7f03ed1
refs/heads/master
2023-05-09T06:02:30.990411
2021-05-30T04:37:41
2021-05-30T04:37:41
318,314,852
2
0
NOASSERTION
2021-05-30T04:37:41
2020-12-03T20:43:29
null
UTF-8
Python
false
false
9,016
py
import torch from torch.fx.graph_module import GraphModule from typing import Callable, List, Dict, Any, Optional class Partition: def __init__(self, name: str): self.name: str = name self.node_names: List[str] = [] self.inputs: Dict[str, None] = {} self.outputs: Dict[str, None] = {...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
a17dee7c5fb944081c8050c5f45db1235e19af04
ba7be04fa897785fb9255df3ece0c1ffbead6acc
/db_model/__models.py
5e401af90c7c2baa39db7a572dafabe7e1a10704
[]
no_license
backupalisher/part4_project
e1f402553502d010ffe974ecce73e313f90b8174
09ca16e3021aeac609fe6594e5c4f6c72832d112
refs/heads/master
2022-12-10T13:22:15.899332
2020-09-21T16:22:02
2020-09-21T16:22:02
233,295,277
0
0
null
2022-12-08T10:47:45
2020-01-11T20:49:10
Python
UTF-8
Python
false
false
3,601
py
from django.db import models # Create your models here. class Brands(models.Model): id = models.IntegerField(primary_key=True) name = models.CharField(max_length=255) logotype = models.CharField(max_length=255) class Meta: db_table = 'brands' class Cartridge(models.Model): id = models.I...
[ "server.ares@gmail.com" ]
server.ares@gmail.com
223ba6282c9bc94c5ed8e642a43f151280243ba3
bab8ce0d8b29292c8d6b0f2a6218b5ed84e7f98b
/account_cancel_with_reversal/tests/__init__.py
658d50d7baed691aa4ea364101434b8fe6518ca1
[]
no_license
ecosoft-odoo/ecosoft_v8
98e4116be3eceb287e2f3e9589d97155d5b8b745
71c56b0a102e340a5d80470243343654d8810955
refs/heads/master
2020-04-06T10:04:03.807855
2016-09-25T05:00:04
2016-09-25T05:00:04
51,049,848
2
2
null
null
null
null
UTF-8
Python
false
false
132
py
# -*- coding: utf-8 -*- from . import test_account_move_reverse # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
[ "kittiu@gmail.com" ]
kittiu@gmail.com
418af46acc26ae85ca432a2ce3ae0866495c20ba
68b64faeb8394817e202567bce7dfc21c3ec8656
/com/jian/keras/sequential_module.py
49f8ea3b17585f06f36592a33671ab98b0ba32cc
[]
no_license
tianjiansmile/ML_filght
04248d5a1f4108defdcc626e5de5e68692b4f1de
d60b422ba12945e4875d47e7730d10b1d2193d03
refs/heads/master
2020-05-26T21:59:59.773474
2020-05-07T04:59:34
2020-05-07T04:59:34
188,387,929
1
3
null
null
null
null
UTF-8
Python
false
false
4,878
py
from keras.layers import Input from keras.models import Model from keras.models import Sequential from keras.layers import Dense, Activation import keras # 全连接网络 # This returns a tensor inputs = Input(shape=(784,)) # a layer instance is callable on a tensor, and returns a tensor x = Dense(64, activation='relu')(inpu...
[ "1635374633@qq.com" ]
1635374633@qq.com
b321d4867fffc42d14b955f41cfad9b8315c7d46
9206651d6b1acb483040dff19929851ce261bc73
/src/lecture4/notes/classes3.py
8403a8d3951fba3134667204a5528af74aff4485
[]
no_license
Farooq-azam-khan/web-programming-with-python-and-javascript
eee8556b37b8f8bb4f420ce9d4949441fbf456dd
0875982ecbbb2bfd37e7b41a09a43623ee6d5a96
refs/heads/master
2022-12-10T15:31:39.703121
2018-07-18T06:51:02
2018-07-18T06:51:02
138,975,972
0
0
null
2022-12-08T02:12:59
2018-06-28T06:29:26
HTML
UTF-8
Python
false
false
627
py
class Flight: def __init__(self, origin, destination, duration): self.origin = origin self.destination = destination self.duration = duration def print_info(self): print(f"origin: {self.origin}") print(f"destination: {self.destination}") print(f"duration:...
[ "farooq1.khan@ryerson.ca" ]
farooq1.khan@ryerson.ca
df1c11b2140c9abaa45d0d6347c2d2721cc4c3ed
8a73cde463081afd76427d5af1e6837bfa51cc47
/harvester/edurep/tests/harvest_metadata_command.py
7130625099872e671ff9870ad67d353dce224021
[ "MIT" ]
permissive
surfedushare/search-portal
8af4103ec6464e255c5462c672b30f32cd70b4e1
63e30ad0399c193fcb686804062cedf3930a093c
refs/heads/acceptance
2023-06-25T13:19:41.051801
2023-06-06T13:37:01
2023-06-06T13:37:01
254,373,874
2
1
MIT
2023-06-06T12:04:44
2020-04-09T13:07:12
Python
UTF-8
Python
false
false
2,105
py
from core.tests.commands.harvest_metadata import TestMetadataHarvest, TestMetadataHarvestWithHistory from core.constants import Repositories from core.models import HarvestSource, Collection, Extension from edurep.tests.factories import EdurepOAIPMHFactory class TestMetadataHarvestEdurep(TestMetadataHarvest): sp...
[ "email@fakoberkers.nl" ]
email@fakoberkers.nl
ff86cf6de6529af0927862b17044cc444dd5d4b6
a7288d7cce714ce3ddf3de464f959a2cb6c62e80
/Flask/Validation/server.py
53b50278ff6439f50a7c5be10f3f8892f29e1ddb
[]
no_license
jhflorey/Python
94d898c9cfa05a941e0ac0c3506587ad494b76ab
4d005000bb95ee4414a6aebef4cebdcbc13e4d99
refs/heads/master
2020-03-20T10:44:00.560147
2018-06-14T16:48:49
2018-06-14T16:48:49
137,382,015
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
from flask import Flask, render_template, redirect, request, session, flash app = Flask(__name__) app.secret_key = 'JessicaSecret' @app.route('/') def index(): return render_template('index.html') @app.route('/process', methods=['POST']) def process(): if len(request.form['name']) < 1: flash("Name can...
[ "jhflorey@gmail.com" ]
jhflorey@gmail.com
1ae7147831e43416858f5a4d9cb8bb2156ed809b
1ecde4178548f331f15717f245e3f657b58b9993
/cyh_crawler/scrapySchool_England/scrapySchool_England/scrapySchool_England/main.py
6a991c45461505cc2e4750caeff9610eac4cade2
[]
no_license
gasbarroni8/python_spider
296dcb7c3fd9dd028423fe5ec0a321d994478b15
7935fa462926bc8ea9bf9883bd15265dd0d3e6df
refs/heads/master
2023-03-26T05:22:59.858422
2019-04-15T07:17:56
2019-04-15T07:17:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,495
py
from scrapy import cmdline # cmdline.execute("scrapy crawl SwanseaUniversityPrifysgolAbertawe_U".split()) # cmdline.execute("scrapy crawl SwanseaUniversityPrifysgolAbertawe_P".split()) # cmdline.execute('scray crawl gaokao'.split()) # cmdline.execute('scrapy crawl picture'.split()) # cmdline.execute('scrapy crawl Un...
[ "18234405986@163.com" ]
18234405986@163.com
053fc23b9d1e676b148f8576250daae9dab76e85
dfdb672bbe3b45175806928d7688a5924fc45fee
/Learn Python the Hard Way Exercises/ex6.py
bdc6a5f9f598451b3b7f4b3ccb790c295a9908c5
[]
no_license
mathans1695/Python-Practice
bd567b5210a4d9bcd830607627293d64b4baa909
3a8fabf14bc65b8fe973488503f12fac224a44ed
refs/heads/master
2023-01-01T13:49:05.789809
2020-10-26T02:37:05
2020-10-26T02:37:05
306,300,672
2
1
null
null
null
null
UTF-8
Python
false
false
394
py
x = "There are %d types of people." % 10 binary = "binary" do_not = "don't" y = "Those who know %s and those who %s." % (binary, do_not) print x print y print "I said: %r." % x print "I also said: '%s'." % y hilarious = 0 joke_evaluation = "Isn't that joke so funny?! %s" print joke_evaluation % hilarious w = "Thi...
[ "mathans1695@gmail.com" ]
mathans1695@gmail.com
62f623a3627d7ac22b6f30c255b956e2e37f1f30
1515be3015ad988278d5a095416c0a0066a02757
/src/users/models/componentsschemasmicrosoft_graph_windowsdevicemalwarestateallof1.py
31ab5b0ad3a8ead943f9d1569c1e9baa891b4228
[ "MIT" ]
permissive
peombwa/Sample-Graph-Python-Client
2ad494cc5b5fe026edd6ed7fee8cac2dd96aaa60
3396f531fbe6bb40a740767c4e31aee95a3b932e
refs/heads/master
2020-12-29T09:50:38.941350
2020-02-05T22:45:28
2020-02-05T22:45:28
238,561,578
0
0
null
null
null
null
UTF-8
Python
false
false
5,670
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "peombwa@microsoft.com" ]
peombwa@microsoft.com
7cd31f6504ec6f2a009af57d51a4d7882dc91bc5
27398b2a8ed409354d6a36c5e1d2089dad45b4ac
/tests/common/models/test_token.py
8bdba91a77d0c587046d5ccedb7bbbd587801a7c
[ "Apache-2.0" ]
permissive
amar266/ceph-lcm
e0d6c1f825f5ac07d2926bfbe6871e760b904340
6b23ffd5b581d2a1743c0d430f135261b7459e38
refs/heads/master
2021-04-15T04:41:55.950583
2018-03-23T12:51:26
2018-03-23T12:51:26
126,484,605
0
0
null
2018-03-23T12:50:28
2018-03-23T12:50:27
null
UTF-8
Python
false
false
2,667
py
# -*- coding: utf-8 -*- # Copyright (c) 2016 Mirantis Inc. # # 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 ...
[ "sarkhipov@mirantis.com" ]
sarkhipov@mirantis.com
1d6d4abe45b478740b0a9a93148f268895c3f441
20a0bd0a9675f52d4cbd100ee52f0f639fb552ef
/transit_odp/pipelines/receivers.py
1a5817d416f6c9c4c2c8269a5f55a6e304ca1274
[]
no_license
yx20och/bods
2f7d70057ee9f21565df106ef28dc2c4687dfdc9
4e147829500a85dd1822e94a375f24e304f67a98
refs/heads/main
2023-08-02T21:23:06.066134
2021-10-06T16:49:43
2021-10-06T16:49:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,992
py
import celery from django.db import transaction from django.dispatch import receiver from transit_odp.data_quality.tasks import task_dqs_download, task_dqs_report_etl from transit_odp.organisation.constants import FeedStatus from transit_odp.organisation.models import DatasetRevision from transit_odp.organisation.rece...
[ "ciaran.mccormick@itoworld.com" ]
ciaran.mccormick@itoworld.com
98f5ca074dd68ca76c524fdf9067f24985046436
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/Test002/数据类型_20201205162829.py
4ad60fe9cb60917905bd6b19edde771ad9404d47
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
fruits = ['orange', 'apple', 'pear', 'banana', 'kiwi', 'apple', 'banana'] # print(fruits.count("apple")) # a = fruits.index("banana",4) # print(a) # fruits.reverse() # print(fruits) # fruits.append("daka") # print(fruits) a= r
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
500721d9011e251f5c83a5f683e8b128ba5cca62
6c6cf32f72c33c78ce07771328f5368564ebde5c
/autox/process_data/feature_type_recognition.py
302050a7b24e1e9654829b4b776cb113400dc69d
[ "Apache-2.0" ]
permissive
emg110/AutoX
9f3fdce5602eef7e1dc8ec99e0e60c3236da43d1
26eb6bea33b8e8428ee1afcd4403ccae2948724e
refs/heads/master
2023-07-27T20:43:32.818251
2021-09-10T11:10:12
2021-09-10T11:10:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
import pandas as pd import datetime from autox.CONST import FEATURE_TYPE # datetime的表现形式为:2015-08-28 16:43:37.283 # timestamp的表现形式为:1440751417.283 def detect_TIMESTAMP(df, col): try: ts_min = int(float(df.loc[~(df[col] == '') & (df[col].notnull()), col].min())) ts_max = int(float(df.loc[~(df[col]...
[ "946691288@qq.com" ]
946691288@qq.com
801b1698f76fd72430f6d4989a09735ae2002cce
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/grr/grr/core/setup.py
c626095353055c7ac3288b16e37e0f43901a514b
[ "MIT", "Apache-2.0" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
4,697
py
#!/usr/bin/env python """Setup configuration for the python grr modules.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import configparser import itertools import os import shutil import subprocess import sys fro...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
68f9071bc2d3e1d43621faf123d7dcbc6640e22f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_294/ch31_2020_04_13_14_21_04_841403.py
bcd912b0ee45d59242beaa15252d42d13f62912d
[]
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
256
py
def eh_primo (n): if n == 0 or n == 1: return False elif n == 2: return True for i in range (3, n,2): if (n%i ==0): return False elif (n%i == 0): return False else: return True
[ "you@example.com" ]
you@example.com
b75873de168a812387237e063712ca12fa4a326b
eff7b3aae8b923ca1ca82bffcfb7327030fcfb08
/4/4.26.py
d0448e0908a9773136139dfa98a9dbe1a1a13daf
[]
no_license
blegloannec/cryptopals
fec708c59caaa21ec2eeb47ed7dda7498a4c36b1
438bc0653981e59722a728c7232a1ea949e383ee
refs/heads/master
2022-05-19T02:48:47.967056
2021-12-28T13:02:04
2022-03-07T17:02:40
143,565,339
0
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
#!/usr/bin/env python3 # this is 2.16 (CBC bitflipping) for CTR, which is trivial # as in CTR mode the plaintext is xored against the generated # stream, hence it is directly vulnerable to bitflipping: any bit # flipped in the ciphertext will be flipped in the decrypted text from Cryptodome.Cipher import AES from Cry...
[ "blg@gmx.com" ]
blg@gmx.com
ceb0496d20400be814da009ed346bfa457d2b81c
8c8463413e92149ad0ff16eac0b09303ec18de99
/ddt_python/ddt_container_nSvgTable.py
49598644a372ca534c89455733b6531bc85f4502
[ "MIT" ]
permissive
dmccloskey/ddt_python
23d0d4d2193fe052545b890ef332056f869117cf
60624701a01520db81c89b36be6af385a5274aba
refs/heads/master
2021-01-19T02:01:57.769244
2016-12-02T01:21:11
2016-12-02T01:21:11
48,295,899
0
0
null
null
null
null
UTF-8
Python
false
false
7,278
py
from .ddt_container import ddt_container from .ddt_tile import ddt_tile from .ddt_tile_html import ddt_tile_html class ddt_container_nSvgTable(ddt_container): def make_nSvgTable(self, data1,data2, data1_keys,data1_nestkeys,data1_keymap, data2_keys,data2_nestkeys,data2_keymap, tilehe...
[ "dmccloskey87@gmail.com" ]
dmccloskey87@gmail.com
c98ea5753067696b58095c2bc6f8717a0a9e8274
47cde4a1cfbb05aa256064e03c6ab85650865ee4
/jackbox/bombintern.py
7663ac4f0a2d2322468e04115302cc8865952578
[ "Apache-2.0" ]
permissive
Gorialis/jackbox.py
54b5bbb25afd9233a594c6d1e861528b0dd3349e
509bdab63a56114b2d5c8d1fe3220bc7f04ea834
refs/heads/master
2021-01-15T00:13:26.902245
2020-02-24T16:15:19
2020-02-24T16:15:19
242,808,186
0
0
Apache-2.0
2020-02-24T18:13:48
2020-02-24T18:13:47
null
UTF-8
Python
false
false
6,784
py
""" /jackbox/bombintern.py Copyright (c) 2020 ShineyDev 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...
[ "contact@shiney.dev" ]
contact@shiney.dev
633d077282121e7fe1fc26969cdcd75566891280
c2773c3835ff5460c1fb80d604137274c9c6650f
/testing_app_hello_de_9234/urls.py
c44e8432154c596941c897e59e88734dba2f4836
[]
no_license
crowdbotics-apps/testing-app-hello-de-9234
6311ddc71b9bb93bed6fb6f530bd74de39c889f5
846d7f1acfd5594b2578a6f15da8b551f2cf3abc
refs/heads/master
2022-12-06T03:23:21.456801
2020-08-18T15:02:27
2020-08-18T15:02:27
288,486,790
0
0
null
null
null
null
UTF-8
Python
false
false
1,975
py
"""testing_app_hello_de_9234 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
03a090ef84ebad55c3aca6d91af5ba0140a7717e
0d8ee78f61660343e5feec41a53269dbf5585fa3
/Demo11/detect_nan.py
17ba54a1b6bb67f238e3c1cd79adac06a036808d
[]
no_license
x-jeff/Python_Code_Demo
41b033f089fa19d8c63b2f26bf66ef379738c4ad
9bc458b08cfae0092e8f11a54031ca2e7017affc
refs/heads/master
2023-07-29T16:34:34.222620
2023-07-09T10:38:23
2023-07-09T10:38:23
176,306,727
7
1
null
null
null
null
UTF-8
Python
false
false
1,509
py
import numpy as np import pandas as pd #使用np.nan表示缺失值 print(np.nan) #构建一组含有缺失值的数据 df=pd.DataFrame([["Tim","M",24,169,100],["Jack","M",np.nan,177,140],["Jessy","F",21,162,np.nan],["Mary","F",23,159,87]]) #赋予列名 df.columns=["Name","Gender","Age","Height","Weight"] print(df) #判断是否存在缺失值 #检查第1行是否存在缺失值 print(df.loc[0].isnu...
[ "jeff.xinsc@gmail.com" ]
jeff.xinsc@gmail.com
79ca884a8a20ea2993f277d5ff1ca22a268617bf
e0c8662a56d89730043146ddc340e9e0b9f7de72
/plugin/1193d0d2-1596.py
393dab9cbff6fc791ad1a466479311cea838e4a3
[]
no_license
izj007/bugscan_poc
f2ef5903b30b15c230b292a1ff2dc6cea6836940
4490f3c36d4033bdef380577333722deed7bc758
refs/heads/master
2020-09-22T17:20:50.408078
2019-01-18T09:42:47
2019-01-18T09:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
#coding:utf-8 from lib.curl import * # -*- coding: utf-8 -*- """ POC Name : WordPress eShop Plugin 6.2.8 Multiple Cross Site Scripting Vulnerabilities From : http://www.exploit-db.com/exploits/36038/ """ def assign(service, arg): if service == "wordpress": return True, arg def audit(arg): payloads = (...
[ "yudekui@wsmtec.com" ]
yudekui@wsmtec.com
4019557ed0cfcbf40d9968b2c7b943898e927a02
8b5d68c9398186cae64dbcc5b293d62d69e1921d
/src/python/knowledge_base/resolvers/external_uri_resolver.py
04e75899a585cc5c3a751bae5e325ba7624f7e60
[ "Apache-2.0" ]
permissive
reynoldsm88/Hume
ec99df21e9b9651ec3cacfb8655a510ba567abc9
79a4ae3b116fbf7c9428e75a651753833e5bc137
refs/heads/master
2020-07-24T21:28:39.709145
2019-07-10T15:43:24
2019-07-10T15:43:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,032
py
from knowledge_base import KnowledgeBase from kb_resolver import KBResolver from utilities.awake_db import AwakeDB class ExternalURIResolver(KBResolver): def __init__(Self): pass def resolve(self, kb, awake_db): print "ExternalURIResolver RESOLVE" resolved_kb = KnowledgeBase() ...
[ "hqiu@bbn.com" ]
hqiu@bbn.com
be3e5ac6319e9a7c5be95767c07575e031faad4e
06f7ffdae684ac3cc258c45c3daabce98243f64f
/vsts/vsts/service_endpoint/v4_1/models/__init__.py
47ad6d9342d71732fff5ee083b4be1aa50f569bb
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
kenkuo/azure-devops-python-api
7dbfb35f1c9637c9db10207824dd535c4d6861e8
9ac38a97a06ee9e0ee56530de170154f6ed39c98
refs/heads/master
2020-04-03T17:47:29.526104
2018-10-25T17:46:09
2018-10-25T17:46:09
155,459,045
0
0
MIT
2018-10-30T21:32:43
2018-10-30T21:32:42
null
UTF-8
Python
false
false
3,189
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "tedchamb@microsoft.com" ]
tedchamb@microsoft.com
0c0bbbb50d63c87813b656441d38ee608227be9a
8b7778d3c65f3688105e43718152da2c734ffa26
/3.Application_Test/cases/YBJZ_Test/Pay_Test.py
1fa5b3afab9534fdabc988bd759629709f20a863
[]
no_license
zzworkaccount/OpenSourceLibrary
ab49b3f431c0474723dfad966ca09e29b07527eb
0f99f881eb8a1f4ddebbc5e7676289d01e6ffe19
refs/heads/main
2023-01-29T05:02:56.341004
2020-12-03T12:05:59
2020-12-03T12:05:59
315,920,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# 支出 import unittest from time import sleep from lib.Tally.Action import Action class Test_Pay(unittest.TestCase): def setUp(self): self.lg = Action() self.driver = self.lg.driver def test_pay(self ): """支出""" self.lg.do_pay() sleep(1) count = 0 # 获取...
[ "1434895836@qq.com" ]
1434895836@qq.com
9552995971c569ff4f8f6eca60a9625ec1a652e2
3bae1ed6460064f997264091aca0f37ac31c1a77
/pyapps/sampleapp/impl/action/core/job/getXMLSchema/1_job_getXMLSchema.py
02e7f9e335610b4d5303567e07cd2003e0de3f8c
[]
no_license
racktivity/ext-pylabs-core
04d96b80ac1942754257d59e91460c3a141f0a32
53d349fa6bee0ccead29afd6676979b44c109a61
refs/heads/master
2021-01-22T10:33:18.523799
2017-06-08T09:09:28
2017-06-08T09:09:28
54,314,984
0
0
null
2017-06-08T09:09:29
2016-03-20T11:55:01
Python
UTF-8
Python
false
false
147
py
__author__ = 'incubaid' __priority__= 3 def main(q, i, p, params, tags): params['result'] = '' def match(q, i, params, tags): return True
[ "devnull@localhost" ]
devnull@localhost
fe4a67605c3ed774089ea1c726953328a7291e58
15581a76b36eab6062e71d4e5641cdfaf768b697
/LeetCode_30days_challenge/2020/May/First Bad Version.py
714967601f2406326187fa685495ac2b041efcf6
[]
no_license
MarianDanaila/Competitive-Programming
dd61298cc02ca3556ebc3394e8d635b57f58b4d2
3c5a662e931a5aa1934fba74b249bce65a5d75e2
refs/heads/master
2023-05-25T20:03:18.468713
2023-05-16T21:45:08
2023-05-16T21:45:08
254,296,597
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
def firstBadVersion(n): l = 0 r = n while l <= r: m = l + (r-l) // 2 if isBadVersion(m): r = m-1 ans = m else: l = m+1 return ans
[ "mariandanaila01@gmail.com" ]
mariandanaila01@gmail.com
891d0fcc191ad040194c3b84a530df3f83a981ab
c36679186f669c6e3bd1c106c96d4a17be1f5ab1
/Practice_Anisul/6.py
d7f168fd320b4f1b12435bd0fe54fd71dcb8f103
[]
no_license
touhiduzzaman-tuhin/python-code-university-life
60a3d671b200a6f5222c6d176c13c5f20f013509
6d2e3d90d430faa5c83fe79e7fb1ebe516994762
refs/heads/master
2023-03-22T15:18:10.636203
2021-03-06T18:52:04
2021-03-06T18:52:04
332,467,190
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
x = "Tuhin" print(x) x = 'Tuhin' print(x) x = "\"Tuhin\"" print(x) x = "\'Tuhin\'" print(x) x = "\"Tuhin\'" print(x)
[ "touhiduzzamantuhin95@gmail.com" ]
touhiduzzamantuhin95@gmail.com
48a0486d3ecc70762a4a94e5d1b121b090b5cb54
7357d367b0af4650ccc5b783b7a59090fdde47bb
/workalendar/usa/new_jersey.py
9bd916ca02e66d3026491150081c6ec359dc4184
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
from __future__ import absolute_import, division, print_function, unicode_literals from ..registry_tools import iso_register from .core import UnitedStates @iso_register("US-NJ") class NewJersey(UnitedStates): """New Jersey""" include_good_friday = True include_election_day_every_year = True
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
85680cb8d5a23c4dd6047fa67e2115f85b2e1ca1
ca17bd80ac1d02c711423ac4093330172002a513
/find_leaves/FindLeaves.py
abce20d217199c2a3c79ac375c09f9dd3dcd5f44
[]
no_license
Omega094/lc_practice
64046dea8bbdaee99d767b70002a2b5b56313112
e61776bcfd5d93c663b247d71e00f1b298683714
refs/heads/master
2020-03-12T13:45:13.988645
2018-04-23T06:28:32
2018-04-23T06:28:32
130,649,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,461
py
import sys sys.path.append("/Users/jinzhao/leetcode/") from leetcode.common import * class Solution(object): def isLeaf(self, root): if root: return not root.left and not root.right return False def deleteLeaf(self, root, solution): if root: if root.left: ...
[ "zhao_j1@denison.edu" ]
zhao_j1@denison.edu
52f0bbbdbef2c865ea39664ab4a748fe1eddfdcd
325fde42058b2b82f8a4020048ff910cfdf737d7
/src/quantum/azext_quantum/commands.py
8dba4d309945625ee9a7487899150bcbc8cc9495
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ebencarek/azure-cli-extensions
46b0d18fe536fe5884b00d7ffa30f54c7d6887d1
42491b284e38f8853712a5af01836f83b04a1aa8
refs/heads/master
2023-04-12T00:28:44.828652
2021-03-30T22:34:13
2021-03-30T22:34:13
261,621,934
2
5
MIT
2020-10-09T18:21:52
2020-05-06T01:25:58
Python
UTF-8
Python
false
false
5,417
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
ebencarek.noreply@github.com
a4abde74b1d48317424e2021da5db8a2da70ee28
14e36010b98895e08bd9edfcbc60dce30cbfb82b
/oneflow/python/test/modules/test_argmax.py
2f6e97661d6adf0677afe950e239b03a88c32db5
[ "Apache-2.0" ]
permissive
duzhanyuan/oneflow
a9719befbfe112a7e2dd0361ccbd6d71012958fb
c6b47a3e4c9b5f97f5bc9f60bc1401313adc32c5
refs/heads/master
2023-06-21T20:31:55.828179
2021-07-20T16:10:02
2021-07-20T16:10:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,326
py
""" Copyright 2020 The OneFlow 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 applicable l...
[ "noreply@github.com" ]
duzhanyuan.noreply@github.com
aebfc07c7c0647c4cf50ffd3727a29c3a1a1bbf5
8dbb2a3e2286c97b1baa3ee54210189f8470eb4d
/kubernetes-stubs/client/models/v1_portworx_volume_source.pyi
b25062ce2dce6c1b5d1c6d991321863933c2432c
[]
no_license
foodpairing/kubernetes-stubs
e4b0f687254316e6f2954bacaa69ff898a88bde4
f510dc3d350ec998787f543a280dd619449b5445
refs/heads/master
2023-08-21T21:00:54.485923
2021-08-25T03:53:07
2021-08-25T04:45:17
414,555,568
0
0
null
2021-10-07T10:26:08
2021-10-07T10:26:08
null
UTF-8
Python
false
false
565
pyi
import datetime import typing import kubernetes.client class V1PortworxVolumeSource: fs_type: typing.Optional[str] read_only: typing.Optional[bool] volume_id: str def __init__( self, *, fs_type: typing.Optional[str] = ..., read_only: typing.Optional[bool] = ..., ...
[ "nikhil.benesch@gmail.com" ]
nikhil.benesch@gmail.com
949ad3a1372e9c39832994758556504087695f10
2fd0c65aa0f72133f773dac5d9a5c48fe9e26fac
/Dsz/PyScripts/Lib/dsz/mca/survey/cmd/registryquery/__init__.py
83cc81184494f05024215cd8ec32607526a0ff9d
[]
no_license
FingerLeakers/DanderSpritz_docs
f5d2430e0b86b1b2f0684f02ddd4fa973a5a7364
d96b6a71c039b329f9f81544f645857c75360e7f
refs/heads/master
2021-01-25T13:05:51.732149
2018-03-08T01:22:49
2018-03-08T01:22:49
123,527,268
2
0
null
2018-03-02T03:48:31
2018-03-02T03:48:30
null
UTF-8
Python
false
false
362
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.10 (default, Feb 6 2017, 23:53:20) # [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] # Embedded file name: __init__.py from errors import * from types import * from type_Params import * from type_KeyInfo import * from typ...
[ "francisck@protonmail.ch" ]
francisck@protonmail.ch
1e749a5b71a5aaeafceab5a016ab8fc7637dfd16
8d5c9369b0fb398c5a6078f6cac43ba8d67202fa
/bscan.spec
279792b27d524a1ad2c5efe84281796470e6b245
[ "MIT" ]
permissive
raystyle/bscan
45191c2c0d26fe450c5d95567b83d47dfcb4c692
1edf0c0e738153a294d5cdc1b69d8f167152d5a2
refs/heads/master
2020-04-25T03:15:37.186913
2019-02-09T22:23:44
2019-02-09T22:23:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
724
spec
# -*- mode: python -*- block_cipher = None added_files = [ ('bscan/configuration/', 'configuration',), ] a = Analysis( ['bscan/__main__.py'], binaries=[], datas=added_files, hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_no_prefer_redirects=False, win_pri...
[ "welch18@vt.edu" ]
welch18@vt.edu
56537f73c96e020a0161b300e33f26b648a28147
943dca755b940493a8452223cfe5daa2fb4908eb
/abc161/c.py
58a67245e18e4e88e54cf22d9cc45d994a59cc51
[]
no_license
ymsk-sky/atcoder
5e34556582763b7095a5f3a7bae18cbe5b2696b2
36d7841b70b521bee853cdd6d670f8e283d83e8d
refs/heads/master
2023-08-20T01:34:16.323870
2023-08-13T04:49:12
2023-08-13T04:49:12
254,348,518
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
n,k=map(int,input().split()) if n<k: print(min(n,abs(n-k))) elif n==k or k==1: print(0) else: print(min(n,abs(n-(n//k+1)*k)))
[ "ymsk.sky.95@gmail.com" ]
ymsk.sky.95@gmail.com
e16d5a370589fd4fcb8ab0377701d48a1d1d0853
e21c70d5b03633b4e0a89dfccb0cb8ccd88612d0
/venv/lib/python3.5/site-packages/celery/worker/autoscale.py
e21f73a0b61f250f23f6950d29d8adb767250aa1
[ "MIT" ]
permissive
LavanyaRamkumar/Networking-app_Dynamic-Quiz
4d5540088b1e2724626dda8df0fd83442391b40f
4de8329845712864d3cc8e8b81cfce5a1207224d
refs/heads/master
2023-02-09T12:08:19.913354
2019-10-26T04:23:54
2019-10-26T04:23:54
173,337,916
1
1
MIT
2023-02-02T04:48:55
2019-03-01T16:56:13
Python
UTF-8
Python
false
false
4,883
py
# -*- coding: utf-8 -*- """Pool Autoscaling. This module implements the internal thread responsible for growing and shrinking the pool according to the current autoscale settings. The autoscale thread is only enabled if the :option:`celery worker --autoscale` option is used. """ from __future__ import absolute_import...
[ "lavanya.ramkumar99@gmail.com" ]
lavanya.ramkumar99@gmail.com
466965dcbb3fd44bda5de7f81e42d31ae7e715c4
c5a360ae82b747307b94720e79e2e614d0c9f70f
/step2_process_data_format_by_keras.py
818e00fc1f1b23a04f91efd4f4c676aa8a55aca4
[]
no_license
gswyhq/chinese_wordseg_keras
cf99156773d4555acddf3163457f9bc224a16477
7f1de5fb1e3372fac9df75d3d839aa92fa4601c9
refs/heads/master
2020-05-02T13:49:32.099129
2019-03-28T14:07:46
2019-03-28T14:11:49
177,993,542
0
0
null
2019-03-27T12:49:37
2019-03-27T12:49:37
null
UTF-8
Python
false
false
4,090
py
#!/usr/bin/python3 # coding=utf-8 # ### 基于深度学习的中文分词尝试 # - 基于word2vec + 神经网络进行中文分词 # - 步骤1:使用的是sogou的语料库建立初始的字向量。 # - 步骤2:读入有标注的训练语料库,处理成keras需要的数据格式。 # - 步骤3:根据训练数据建模,使用CNN方法 # - 步骤4:读入无标注的检验语料库,用CNN模型进行分词标注 # - 步骤5:检查最终的效果 # - 参考资料:[中文分词资源](http://www.52nlp.cn/%E4%B8%AD%E6%96%87%E5%88%86%E8%AF%8D%...
[ "gswyhq@126.com" ]
gswyhq@126.com
d1ce2f47b5065975e22b593396c700d64efe1e9f
8a3e2d3aa46224bb0fa8ff2351f3a0bb339b0abd
/my_site/campaign/forms.py
3f7e74dbce84eaa30d8118c3816d03edc36af25e
[]
no_license
Mosaab4/Task
85ceeab56b3ffe57049d3474c97964d51ace3471
4d0d250c06e97a74ce723e91addc9c17faef5b4e
refs/heads/master
2020-03-23T15:33:53.417503
2018-07-20T21:37:14
2018-07-20T21:37:14
141,757,012
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
from django import forms from django.forms import SelectDateWidget from .models import Campaign class CampaignForm(forms.ModelForm): stop_date = forms.DateField( widget=forms.DateInput( attrs={ 'type': 'date', 'class': 'form-control' } ...
[ "musab.ehab@gmail.com" ]
musab.ehab@gmail.com
b8f92479cf86e0f5872b64f2bc3d32b9b1e0f0a4
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/radiocell/testcase/allpreferencecases/precase_log.py
5de436ca260389960142a69aa2c35fe93a6bb02c
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
7,780
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
d600b8b2c4530936de8246363f50622650126ebf
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/02_preprocessing/concat82/62-tideGauge.py
f2b56a3028ad9bd3ebd829ae2f793963efbc05f3
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,480
py
# -*- coding: utf-8 -*- """ Created on Tue May 13 10:02:00 2020 --------------------------------------------------------- This script concatenates yearly predictor files Browses the predictor folders for the chosen TG Concatenates the yearly csvs for the chosen predictor Saves the concatenated csv in a separate dire...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
f8df77cd858240028f56eee704517225c5904b92
94a69d05880fdb03ad915a63f3575ff01e5df0e6
/isobar/io/midi/output.py
fbe793950ad0b3554dc0d03d9073936ce9a6c46e
[ "MIT" ]
permissive
ideoforms/isobar
06f2a5553b33e8185c6f9aed06224811589f7b70
12b03500ea882f17c3521700f7f74b0e36e4b335
refs/heads/master
2023-07-20T20:31:13.040686
2023-07-17T19:19:01
2023-07-17T19:19:01
2,155,202
320
53
MIT
2023-05-01T21:29:46
2011-08-04T15:12:03
Python
UTF-8
Python
false
false
3,799
py
import os import mido import logging from ..output import OutputDevice from ...exceptions import DeviceNotFoundException from ...constants import MIDI_CLOCK_TICKS_PER_BEAT log = logging.getLogger(__name__) class MidiOutputDevice (OutputDevice): def __init__(self, device_name=None, send_clock=False, virtual=False)...
[ "daniel@jones.org.uk" ]
daniel@jones.org.uk
7120668501fd24173b3eeac50a49ced2c1bd7cea
39fbf1f554651f089dbf8478f009e38a2cbb7c25
/RL/analyze.random-search.py
282c8597a966b866b1b837a297a921ce6bfac83d
[ "Apache-2.0" ]
permissive
Libardo1/icnn
20b323aed5a3975c8083fb8f6234305f8cd275d1
2056ca88d0b0dac4d8ee1a48a8b8a9f676bafd4f
refs/heads/master
2021-01-20T15:23:06.016978
2016-08-01T19:35:32
2016-08-01T19:35:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,154
py
#!/usr/bin/env python3 import argparse import os import sys import shutil from subprocess import Popen, PIPE import json import operator import numpy as np import numpy.random as npr pythonCmd = 'python3' rlDir = os.path.dirname(os.path.realpath(__file__)) plotSrc = os.path.join(rlDir, 'plot-all.py') mainSrc = os.pa...
[ "bamos@cs.cmu.edu" ]
bamos@cs.cmu.edu
d3b3c31607d7dae00db90b7471be4d1ecd25d66a
cf652cb90f9d6b22b5943e7d025af631214a904d
/lib/blockchain.py
e96bbf8e40728c8ac2f4b478da933ca46f6dbed7
[ "MIT" ]
permissive
ddude1/TestLite
02919c68013d2ede9195d618d94260b842a5e292
3f3c00e4ef03dd9b23b99b02f9a8895da8d65aef
refs/heads/master
2022-12-11T12:22:25.029101
2018-06-13T14:11:51
2018-06-13T14:11:51
136,489,568
0
0
MIT
2022-09-23T21:47:03
2018-06-07T14:31:31
Python
UTF-8
Python
false
false
15,454
py
# Electrum - lightweight Bitcoin client # Copyright (C) 2012 thomasv@ecdsa.org # # 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...
[ "32743542+ddude1@users.noreply.github.com" ]
32743542+ddude1@users.noreply.github.com
1e12863ed3a72096532a03ece32b12e9211e3a96
a59d55ecf9054d0750168d3ca9cc62a0f2b28b95
/platform/gsutil/gslib/tests/test_perfdiag.py
154b60919fd93d78dc4900e94ebc93c1dbbbc19d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/google-cloud-sdk
bb2746ff020c87271398196f21a646d9d8689348
b34e6a18f1e89673508166acce816111c3421e4b
refs/heads/master
2022-11-26T07:33:32.877033
2014-06-29T20:43:23
2014-06-29T20:43:23
282,306,367
0
0
NOASSERTION
2020-07-24T20:04:47
2020-07-24T20:04:46
null
UTF-8
Python
false
false
4,129
py
# Copyright 2013 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 a...
[ "alfred.wechselberger@technologyhatchery.com" ]
alfred.wechselberger@technologyhatchery.com
87a8b29f0f025d84e48f78bd24494c4f37bfcd95
79f284d1e8ecd2a4e65c09bbaa3c7f4462e72401
/liqpay_int/tests/tasks/test_process_payment_complaint_patch.py
eb9b113adad57e7431ac268e9639997f1abf9da3
[]
no_license
ProzorroUKR/prozorro_tasks
9ed62c40dbd5b631e3ff7357e89194e8deb20e05
e948f8860b0b7ef6d8d7de042cf08d73c5250ba2
refs/heads/master
2023-06-22T14:44:33.473461
2023-05-15T12:07:43
2023-05-15T12:07:43
163,171,499
4
1
null
2023-05-01T21:27:21
2018-12-26T11:15:44
Python
UTF-8
Python
false
false
10,556
py
import unittest import requests from unittest.mock import patch, Mock, call, ANY from celery.exceptions import Retry from environment_settings import DEFAULT_RETRY_AFTER from liqpay_int.tasks import process_payment_complaint_patch from payments.message_ids import ( PAYMENTS_PATCH_COMPLAINT_EXCEPTION, PAYMENT...
[ "smithumble@gmail.com" ]
smithumble@gmail.com
8e4474d37dbadeacda29af5e1b54ffe20ecd50a6
9789aaa94e4a321fed2a1f624ef180d938f1fe56
/src/common/appenginepatch/ragendja/sites/dynamicsite.py
6726a46f3ba6519e5807b3b081d1ea305ce0e818
[ "MIT", "Apache-2.0" ]
permissive
fantascy/snsanalytics
61ff6b8f384f0bd4be8f89a2a19101ad2cf1bc77
927f186c7f5a1d534e0ff7ce7aff46a0c1a36c51
refs/heads/master
2021-01-13T14:18:05.684839
2016-11-06T07:43:35
2016-11-06T07:43:35
72,827,547
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
from django.conf import settings from django.core.cache import cache from django.contrib.sites.models import Site from ragendja.dbutils import db_create from ragendja.pyutils import make_tls_property _default_site_id = getattr(settings, 'SITE_ID', None) SITE_ID = settings.__class__.SITE_ID = make_tls_property() class...
[ "cong@snsanalytics.com" ]
cong@snsanalytics.com
48c0e44801b00a0cd341ed48de18a466761dc047
7af7f44a7ab947094cf923fc911474f7f8c8b25b
/pkgs/conf-pkg/src/genie/libs/conf/route_policy/iosxr/tests/test_route_policy.py
7a90802740d3fc16e1ed2430e6a6137dc9fe8cf5
[ "Apache-2.0" ]
permissive
miott/genielibs
fb6bdd244063b4dbe4b8ba61387cb5dce76d2fe8
6464642cdd67aa2367bdbb12561af4bb060e5e62
refs/heads/master
2020-09-11T07:14:13.067983
2019-12-03T02:38:40
2019-12-03T02:38:40
221,984,648
0
0
Apache-2.0
2019-11-15T18:52:07
2019-11-15T18:52:07
null
UTF-8
Python
false
false
9,021
py
# import python import operator import unittest import unittest.mock from unittest.mock import Mock # import genie from genie.conf.tests import TestCase from genie.conf import Genie from genie.conf.base import Testbed, Device, Interface from genie.libs.conf.route_policy import RoutePolicy class test_route_policy(Tes...
[ "jeaubin@cisco.com" ]
jeaubin@cisco.com
e181215cb13fb8115ec569045a2a436e59e5014d
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/SBSteat_20190605143628.py
436cd5b69bcdf8df0610fd888bd8a19bbd9dbf67
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
def SBS(A,B): if A==0 or B ==0: return 0 elif set(A)<=set(B) or set(B)<=set(A): return 1 else: return len(set(A)&set(B)) /len(set(A)|set(B)) def StrToList(A): C=[] for i in A: C.append(i) return C import re f = open('D:\DeepLearning ER\Z1006014.txt','r',errors=...
[ "1044801968@qq.com" ]
1044801968@qq.com
9ea449314a5ebdfc2798ec21f4d3570831fdb476
9a7904a3ee4abd4c352a746b13963073aa62314b
/01_jumptopy/Jump_to_Python/chap03/138-2.py
8ebb6a4d81830ab05e6f85c0700c8997c49930e7
[]
no_license
cat-holic/Python-Bigdata
4ab1528fa9e804206a2381ac08293088c3e9e250
2cb6c75eb02b3b0dc3a16a63c0446c1fc6f04f71
refs/heads/master
2020-03-15T09:27:33.944887
2018-08-02T08:16:35
2018-08-02T08:16:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
i=0 while True: i+=1 if i>5:break print('*'*i)
[ "lilith4802@gmail.com" ]
lilith4802@gmail.com