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
b35d9aaf965f7d40c495282839accb0fc9ab6483
ffceedc0f1e52f5a8534b729ab756a97ef70ff58
/test/dynamo/test_export.py
7a365d13de89cdf0443cef9e55f4e5f6eadb5d68
[ "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
loongson-zn/pytorch
d10b7af29e2946b1f87bf4cb516828fafb919b2c
7cef7195f616f75bf25a48cf5692f704d35ac4b2
refs/heads/main
2023-07-03T17:53:09.765084
2023-06-25T06:26:40
2023-06-25T06:26:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
107,772
py
# Owner(s): ["module: dynamo"] """ PYTEST_DONT_REWRITE (prevents pytest from rewriting assertions, which interferes with test_export_persist_assert) """ import functools import inspect import math import operator import unittest from enum import Enum from typing import Dict, List, Sequence from unittest.mock import pat...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
e76ea8046de2f60095cd2ccd24fede57d5ea31e1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2096/60763/281373.py
e2192515db85dfcca18346ca2edfb6e6b957b896
[]
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
133
py
x = int(input()) sqrt = 0 while sqrt*sqrt <= x: if sqrt*sqrt == x or (sqrt+1)*(sqrt+1) > x: break sqrt+=1 print(sqrt)
[ "1069583789@qq.com" ]
1069583789@qq.com
9d451285ca268ec2cbf7312dc42ca1bbdcc9b8ab
0f94b864fc86ce46c94fe136b391cbcf710709f3
/lz.py
e2672af33951d281c94b0751dd4428e951a18bcc
[]
no_license
luzai/sample-cls
740ca1452b0f283ce1735272cae4657716e6a4c9
8c399e24feb6eb71514dcf18b5008f546064be46
refs/heads/master
2021-08-23T05:43:40.268628
2017-12-03T17:55:52
2017-12-03T17:55:52
112,625,543
0
0
null
null
null
null
UTF-8
Python
false
false
16,837
py
try: import cPickle as pickle except: import pickle import six, os, sys, csv, time, \ random, os.path as osp, \ subprocess, json, \ numpy as np, pandas as pd, \ glob, re, networkx as nx, \ h5py, yaml, copy, multiprocessing as mp, \ pandas as pd, yaml, collections, \ loggin...
[ "907682447@qq.com" ]
907682447@qq.com
47976502d48e9a7befc8f25a4a40b5c79b62478c
efc690a4c42b1511deb0fe80bf146872c45aed69
/conf_site/reviews/views/results.py
8e9c337d3fcfa45024658285ca45002dd3f015b0
[ "MIT" ]
permissive
jasongrout/conf_site
34aa1197727fbbbdf8811338764a7451445f1803
6b3beb21de8d847cba65dcb6da84464b40739d48
refs/heads/master
2021-03-31T06:35:59.696561
2020-03-17T20:39:57
2020-03-17T20:39:57
248,086,087
0
0
MIT
2020-03-17T22:32:02
2020-03-17T22:32:01
null
UTF-8
Python
false
false
6,671
py
# -*- coding: utf-8 -*- # Views relating to accepting/rejecting a reviewed proposal. from django.contrib import messages from django.contrib.auth.mixins import UserPassesTestMixin from django.http import HttpResponseRedirect from django.template.defaultfilters import pluralize from django.urls import reverse from djang...
[ "martey@mobolic.com" ]
martey@mobolic.com
a6163925f7b8ca2e2f2092068ada1812096825e1
536ec8e275d0e4ac826ed492a818802f17eb29da
/ABC/160/d.py
02dddae132428e1112cce372965697f32401ed8e
[]
no_license
tamanyan/coding-problems
3d74ee708a943348ee06f1a25c45ee3a35cfd9ee
415e8230c8386163e1abf5eea217a1e5be8a15bc
refs/heads/master
2020-07-03T21:36:23.566534
2020-06-10T16:33:55
2020-06-10T16:33:55
202,057,698
0
0
null
null
null
null
UTF-8
Python
false
false
2,544
py
from heapq import heappush, heappop, heapify from collections import deque, defaultdict, Counter import itertools from itertools import permutations, combinations, accumulate import sys import bisect import string import math import time def I(): return int(input()) def S(): return input() def MI(): return map(in...
[ "tamanyan.sss@gmail.com" ]
tamanyan.sss@gmail.com
ad20541f220ca3f25625474ef3e4b31b78b5f186
c94a89b95140bd1e348318ecb2d4867e676ba18c
/Kids_ProjectPro/urls.py
f49350e44751bce58a5c970419d7491ddc5ed535
[]
no_license
Bek-End/Kids_ProjectPro
c499a0319726f2c819527ce3b12f00e48edc708f
e1a9b6a4825bccbe2b620ddecc0b7cfac519d4ca
refs/heads/master
2023-02-06T09:09:49.302103
2020-12-30T18:42:30
2020-12-30T18:42:30
325,620,286
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
"""Kids_ProjectPro 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...
[ "=" ]
=
14c4f7a74b37bcc37269c434315d42e1b81f1aa2
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/ssm_write_f/parameter-version_label.py
3db287273a2a4cd137dce02c234f61d14f00aed6
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
3155809eb9213fe200a99270af4ffb00653d1968
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_001/ch1_2019_03_08_00_48_52_215191.py
703dfbc3041cf04c1ed845a6b560498ac223dc71
[]
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
62
py
def calcula_valor_devido(C,t,i): y=C*(1+i)**t return y
[ "you@example.com" ]
you@example.com
79b1bcd49c77b250f57382414962ded3e5d58e28
dd8faa90ee03ff52c571994ff797e4e4db38726d
/lib/python2.7/site-packages/google_compute_engine/instance_setup/instance_setup.py
1677fc765c6b90328a859867099fa926d89b8411
[]
no_license
bopopescu/elasticluster_forked
16453b6d322ed26156a9759a8a3507ba9023883b
ba5433bc4a6e7b876161030f06b76ff1837e0e71
refs/heads/master
2022-11-21T20:49:13.533208
2017-10-25T22:39:00
2017-10-25T22:39:00
282,557,817
0
0
null
2020-07-26T02:02:21
2020-07-26T02:02:20
null
UTF-8
Python
false
false
7,502
py
#!/usr/bin/python # Copyright 2016 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 appli...
[ "vipin@kryptonite" ]
vipin@kryptonite
0768dc07b55dd1f9ec3c1e126265bb64af79e753
c528d85b2db4e106f0a08ed0c0bb8f9a06c75c27
/produccion/migrations/0016_produccionrealizada_cantidad_reproceso.py
8e696116ef666a3b2e0438d0b937accc4769a505
[]
no_license
alrvivas/CampoApp2
446e9eeb5f2b03963616b433340e99e3d481e532
8c574173f68887a16fb6c0e728a10ef12dbae4ce
refs/heads/master
2016-09-10T19:51:50.586769
2015-05-19T20:59:49
2015-05-19T20:59:49
35,906,071
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('produccion', '0015_auto_20150205_1009'), ] operations = [ migrations.AddField( model_name='produccionrealizada',...
[ "alr.vivas@gmail.com" ]
alr.vivas@gmail.com
e6ac376fc3ce85a4b5ed3d68aa7c036078669092
15cb0ddd678abe1e1f7a905fab0305079bfc4007
/source/vsm/vsm/openstack/common/periodic_task.py
ba0c8723c4258638ee958becbe7b98ea8b935d88
[ "Apache-2.0", "MIT" ]
permissive
ramkrsna/virtual-storage-manager
3563baf9763a0925af77cc13245e0896c20a2ced
78125bfb4dd4d78ff96bc3274c8919003769c545
refs/heads/master
2023-02-18T08:52:56.769486
2016-07-01T06:46:53
2016-07-01T06:46:53
63,155,952
0
0
NOASSERTION
2023-02-07T06:07:38
2016-07-12T12:27:16
Python
UTF-8
Python
false
false
8,337
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2014 Intel Corporation, 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-...
[ "yaguang.wang@intel.com" ]
yaguang.wang@intel.com
020f38bcdcaa8a734beb4dd1a45e1e2e66bcd782
fd25231975acd147e04dc3ed3627c92cb1a4f86c
/FlaskAPI/vir_env/lib/python3.7/site-packages/sklearn/linear_model/theil_sen.py
3fbea57d5f9babe483c0672e470413c5cb049f49
[]
no_license
sumitkutty/Flight-Price-Prediction
832a2802a3367e655b46d3b44f073d917abd2320
d974a8b75fbcbfa42f11703602af3e45a3f08b3c
refs/heads/master
2022-12-25T07:13:06.375888
2020-10-08T18:46:44
2020-10-08T18:46:44
302,366,725
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:4180feba49700d901330d36bcb7c90b1782af3a052c08cac446725a84da24bc5 size 580
[ "sumitkutty37@gmail.com" ]
sumitkutty37@gmail.com
84a1ee5259d9018c15b1c540bf5849f763787883
d9f8673ec068e4cb31e08513b9f7eab274d66243
/tf_quant_finance/experimental/rqmc/sobol.py
91a8ba386f09334d93a297726cf4b8d8043554d1
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rambam613/tf-quant-finance
e42bd9bfb9337f41080a29ff444b8a21c00e3114
c96898e13ce2592115720a19791fc1330697ff37
refs/heads/master
2023-06-24T12:08:04.629791
2021-07-26T12:57:51
2021-07-26T12:58:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,735
py
# Lint as: python3 # Copyright 2021 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
[ "tf-quant-finance-robot@google.com" ]
tf-quant-finance-robot@google.com
9c5bb4dfa66e539726e24979938958a0f0da287a
3ae201c706c4defbd6f1f4f4c578b702b3e100d9
/dbsys-hw2/test/Experiment.py
4e63834f6b1fabb44dc1bae99168a7dc8d675a16
[]
no_license
jasonlingo/Database_Systems
1ef6071300073c997958f1a9f087e96d9a6c44d5
7297b7e38c66d1d66b4f8d24639cbe66ab402616
refs/heads/master
2021-06-09T20:44:04.812666
2016-12-11T22:49:32
2016-12-11T22:49:32
50,884,222
0
0
null
null
null
null
UTF-8
Python
false
false
10,850
py
import Database from Catalog.Schema import DBSchema import time def getResult(db, query): return [query.schema().unpack(tup) for page in db.processQuery(query) for tup in page[1]] if __name__=="__main__": db = Database.Database(dataDir='./data') """ select p.p_name, s.s_name from part p, suppl...
[ "jasonlingo@gmail.com" ]
jasonlingo@gmail.com
3f7f38885107eef43aceac023faab24e60716559
9d6e747ed7204555199ece2033decff978295a09
/Programmers/연습문제/나누어 떨어지는 숫자 배열.py
fb1afb8f9e293de68da3844ce7cbf9d97d70dcdf
[]
no_license
leejaeyeong/Algorithm
5b47ed9aa241990945cbf2451afe7f084984ced5
72072d1e0c28e72075fc00db9239a4bd444b68b6
refs/heads/master
2021-08-08T10:57:07.345943
2021-07-11T15:01:59
2021-07-11T15:01:59
238,156,464
5
0
null
null
null
null
UTF-8
Python
false
false
222
py
def solution(arr, divisor): answer = [] for i in range(len(arr)) : if arr[i] % divisor == 0 : answer.append(arr[i]) answer.append(-1) if len(answer) == 0 else answer.sort() return answer
[ "dldustn14@gmail.com" ]
dldustn14@gmail.com
4a5bef3cc293b6ab8ce44bb01c17f1a769623747
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_170/ch118_2020_04_01_01_59_46_302026.py
7174e745c9ee56ed8d0b829dcf7a56162f0013bf
[]
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
196
py
import math def reflexao_total_interna(n1, n2, a2): a2 = a2 * (math.pi/180) a1 = math.asin((math.sin(a2))*n2/n1) if math.sin(a1) > 1: return True else: return False
[ "you@example.com" ]
you@example.com
db489fba758e2bb4794dc2d8786107c23b06f986
af34b2b44fe1a797a11f27e508d0d2e3c8764027
/face/admin.py
f54344d632c1c0208da3331d47993c48fb0fad15
[]
no_license
CodingSta/askface-with-aws
12afa8f7884847bd979a890f96510642018ffe63
39ea4ddfbd5360629e7b3a77014adf2d3fadcf6d
refs/heads/master
2020-05-27T15:35:48.108675
2018-08-14T11:46:43
2018-08-14T11:46:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
from django.contrib import admin from django.db.models import Count from .models import Collection, Person, Face from .forms import FaceForm @admin.register(Collection) class CollectionAdmin(admin.ModelAdmin): list_display = ['pk', 'name', 'slug'] class FaceInline(admin.TabularInline): model = Face form...
[ "me@askcompany.kr" ]
me@askcompany.kr
24a44d518db3c183a6059c55278073b59cd615df
deff2922412bd0376ef38a34a895990d106b7b66
/goodsunit/serializers.py
eedf1db3efe76eb7e5f964b7a1f96578f613af56
[ "Apache-2.0" ]
permissive
dpd-pub/GreaterWMS
56ba10750e8724bc7b39de077e4b4bc43340a94a
9eabb1b9b0f5376dcccd89ed86dd76995955a8ec
refs/heads/master
2023-02-27T18:05:29.384931
2021-02-10T02:19:33
2021-02-10T02:19:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
from rest_framework import serializers from .models import ListModel from userprofile.models import Users import re from rest_framework.exceptions import APIException def data_validate(data): script_obj = re.findall(r'script', str(data), re.IGNORECASE) select_obj = re.findall(r'select', str(data), re.IGNORECAS...
[ "singosgu@gmail.com" ]
singosgu@gmail.com
8815ed33785797bc95470cbc7b0d27380f4511b6
1082cee55e32fa76859666aa011428bf979182ea
/pose/configs/top_down/vit/coco/vit_large_patch16_384_coco_256x192.py
f371af7b4ab66da7ec5182b8843fce3e2361f2d2
[ "MIT", "Apache-2.0" ]
permissive
cvsch/HRFormer
f7a96d8620f87986cf10c74fe4f47d5b7106d732
9e6ce958ba502354dff748846d6d98f682f5f9d1
refs/heads/main
2023-08-20T21:29:51.448485
2021-10-19T01:20:02
2021-10-19T01:20:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,684
py
log_level = 'INFO' load_from = None resume_from = None dist_params = dict(backend='nccl') workflow = [('train', 1)] checkpoint_config = dict(interval=5, create_symlink=False) evaluation = dict(interval=10, metric='mAP', key_indicator='AP') optimizer = dict( type='AdamW', lr=5e-4, betas=(0.9, 0.999), we...
[ "yhyuan@pku.edu.cn" ]
yhyuan@pku.edu.cn
d8964fa3e67459f90ecc2926d498618a15de084e
952dc66c61966f099756cdb6c2d13b40352f63cc
/zerver/migrations/0436_realmauthenticationmethods.py
0716113e5428c03ea3a99236b30a568e8c822435
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
zulip/zulip
5ae6aad35fd9f72996c0a2a9cdd674400966ebf6
965a25d91b6ee2db54038f5df855215fa25146b0
refs/heads/main
2023-08-28T23:43:00.971110
2023-08-28T16:47:09
2023-08-28T19:33:02
43,160,685
20,239
8,996
Apache-2.0
2023-09-14T20:57:47
2015-09-25T16:37:25
Python
UTF-8
Python
false
false
1,780
py
# Generated by Django 4.2 on 2023-04-13 23:45 import django.db.models.deletion from django.db import migrations, models from django.db.backends.base.schema import BaseDatabaseSchemaEditor from django.db.migrations.state import StateApps def fill_RealmAuthenticationMethod_data( apps: StateApps, schema_editor: Bas...
[ "tabbott@zulip.com" ]
tabbott@zulip.com
2fb88aab69ecd33a8ec7b8ed31e521803c847414
fd2de23a704ec408f47c9f2263b604cbd204c0a3
/MacrosAndScripts/myPlotStyle.py
f4c76ee6871fbaffc287d874bd84f58c5c4415d7
[]
no_license
gparida/monoHiggs_postAnalyzer
1a71c3eaa1cb11ce40923eb831077709987bd866
00fb3e37c5fa6bdd75e7426c3a7bf49534c3eec4
refs/heads/master
2023-01-19T15:19:09.487955
2020-12-03T10:15:11
2020-12-03T10:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,060
py
import ROOT def add_lumi(year, channel_): lowX=0.40 lowY=0.825 lumi = ROOT.TPaveText(lowX, lowY+0.06, lowX+0.50, lowY+0.16, "NDC") lumi.SetBorderSize( 0 ) lumi.SetFillStyle( 0 ) lumi.SetTextAlign( 32 )#12 lumi.SetTextColor( 1 ) lumi.SetTextSize(0.05) lumi.SetTextFont ( 42 ) lumiProces...
[ "jithin.madhusudanan.sreekala@cern.ch" ]
jithin.madhusudanan.sreekala@cern.ch
35cab47b7a040620f054aad6aea3d3b78de71bf5
5182897b2f107f4fd919af59c6762d66c9be5f1d
/.history/src/Simulador_20200711154404.py
0360ee4255d80ad8dc7ecb929e3108991c9b8d10
[ "MIT" ]
permissive
eduardodut/Trabalho_final_estatistica_cd
422b7e702f96291f522bcc68d2e961d80d328c14
fbedbbea6bdd7a79e1d62030cde0fab4e93fc338
refs/heads/master
2022-11-23T03:14:05.493054
2020-07-16T23:49:26
2020-07-16T23:49:26
277,867,096
0
0
null
null
null
null
UTF-8
Python
false
false
14,281
py
import pandas as pd import numpy as np from Matriz_esferica import Matriz_esferica from Individuo import Individuo, Fabrica_individuo import random from itertools import permutations import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap from scipy.sparse import csr_matrix, lil_matrix class S...
[ "eduardo_dut@edu.unifor.br" ]
eduardo_dut@edu.unifor.br
8faab94f20ece7853c36eb7e313df20ec3fb9a12
eacff46eda2c6b509449979a16002b96d4645d8e
/Collections-a-installer/community-general-2.4.0/tests/unit/mock/loader.py
907ec9b928942d36e4ffde7f76faa7b0ca28cd86
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
d-amien-b/simple-getwordpress
5e6d4d15d5f87124ab591e46b63fec552998fdc3
da90d515a0aa837b633d50db4d91d22b031c04a2
refs/heads/master
2023-04-08T22:13:37.347545
2021-04-06T09:25:51
2021-04-06T09:25:51
351,698,069
0
0
MIT
2021-03-31T16:16:45
2021-03-26T07:30:00
HTML
UTF-8
Python
false
false
3,271
py
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type import os from ansible.errors import AnsibleParserError from ansible.parsin...
[ "test@burdo.fr" ]
test@burdo.fr
eea5106a6a9289aa568acdbe862f369afb82dced
ec53949dafa4b6ad675d679b05ed7c83fef2c69a
/DataStructuresAndAlgo/Tuples/methodsTuple.py
54834f82a3fc7c4bb83d3270f4e2881055b2118c
[]
no_license
tpotjj/Python
9a5a20a53cd7a6ec14386c1db8ce155e0fc9ab8a
ca73c116ada4d05c0c565508163557744c86fc76
refs/heads/master
2023-07-11T16:37:10.039522
2021-08-14T11:17:55
2021-08-14T11:17:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
myTuple = (1, 2, 3, 4, 5, 2, 2) secondTuple = (1, 2, 6, 9, 8, 7) print(myTuple + secondTuple) print(myTuple * 2) print(1 in myTuple) print(myTuple.count(2)) print(len(myTuple)) print(max(myTuple)) print(min(myTuple)) x = [1, 2, 3, 4] y = tuple(x) print(type(y))
[ "joris97jansen@gmail.com" ]
joris97jansen@gmail.com
518099f4cfceb4cf5f9f1df05eed811c28c2a387
8d293da5176e7734392465599a9b43b15e6a54af
/starwars/parts_scrap.py
045bb01d1fd7e77bee0e72ee7b75fcd112953e3d
[ "MIT" ]
permissive
whaleygeek/mb_deathstar
04b5c4e331e4f6f7330d5840e47197e7ede6cbff
f756b8b5b45927039c547d0f96f8e31a365b383b
refs/heads/master
2021-01-11T20:09:37.134425
2017-01-22T19:32:42
2017-01-22T19:32:42
79,052,675
0
0
null
null
null
null
UTF-8
Python
false
false
3,629
py
#Minecraft Star Wars #Martin O'Hanlon #www.stuffaboutcode.com from deathstar import DeathStar from starwarscraft import TieFighter, MilleniumFalcon, XWingFighter, XWingFighterDiagonal from planet import Planet from trench import Trench from projectile import XWingMissile from mcpi.minecraft import Minecraft ...
[ "david@thinkingbinaries.com" ]
david@thinkingbinaries.com
72412cdf98c14f9a80622c60fb2992562913cb86
6177f542a4db03e9fc29d1f535ca7c3d2b35a751
/concert_master/scripts/concert_info
4ba0973d65a446ee60396143d0f160641636f7c7
[]
no_license
robotics-in-concert/rocon_concert
ac5b97d0048f72712bbd5bc0369b6a7dcb1361a7
f940eaa3fd612317f2043d6edba10cd309384134
refs/heads/devel
2020-04-03T21:28:19.846013
2017-01-25T16:22:18
2017-01-25T16:22:18
3,861,812
5
5
null
2017-01-09T08:27:43
2012-03-29T02:26:38
Python
UTF-8
Python
false
false
1,312
#!/usr/bin/env python # # License: BSD # https://raw.github.com/robotics-in-concert/rocon_concert/license/LICENSE # # This is just a copy of rocon_master_info # ############################################################################## # Imports ####################################################################...
[ "d.stonier@gmail.com" ]
d.stonier@gmail.com
da6607ef6fb14226e045c90c0a639ef531fdeae1
14453c13d552165cabe72a310f44f7c58eaacad0
/driver/examples/zarr_to_nc.py
9a9366747a2bbfe10e72f26266170ea288bff912
[ "Apache-2.0" ]
permissive
ai2cm/pace
76a98ffae3baa92bd3b2ddc422b50dfa50255642
c543e8ec478d46d88b48cdd3beaaa1717a95b935
refs/heads/main
2023-07-06T07:18:11.558315
2022-12-22T21:45:34
2022-12-22T21:45:34
392,106,887
27
13
Apache-2.0
2023-07-03T13:47:46
2021-08-02T22:05:11
Python
UTF-8
Python
false
false
472
py
import argparse import xarray as xr import zarr if __name__ == "__main__": parser = argparse.ArgumentParser( description="Converts zarr directory stores to netcdf" ) parser.add_argument("zarr_in", type=str, help="path of zarr to convert") parser.add_argument("netcdf_out", type=str, help="outp...
[ "noreply@github.com" ]
ai2cm.noreply@github.com
50545660461d4734744ed1fb38ee3b7dbb01c0dc
b2dd1a41354907b2a010b33aee11dc5955e9eabd
/tests/test_widgets.py
e1696200ebbbfcbc2f1cdfbb2250b422a929572b
[]
no_license
jeetu7/tw2.jqplugins.jqgrid
34359af04f1de20a93f82a838308c85cadf80469
86d694bf7ea6276b20006d644dd9b4a96b505991
refs/heads/master
2020-12-25T04:29:02.775745
2012-07-07T14:14:09
2012-07-07T14:14:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
from webob import Request from webob.multidict import NestedMultiDict from tw2.core.testbase import assert_in_xml, assert_eq_xml, WidgetTest from nose.tools import raises from cStringIO import StringIO from tw2.core import EmptyField, IntValidator, ValidationError from cgi import FieldStorage import formencode import ...
[ "ralph.bean@gmail.com" ]
ralph.bean@gmail.com
ab81570c377f89bd683f3f79f3b00aa6ebd43962
117dceedcb8e93e40428e439fb02d16c58aa4474
/作业/0322/code/mywebsite/home/templatetags/demo.py
b0192d7d3ce71e59c075ba364cd66ec7fd42018f
[]
no_license
qwert19981228/P4
ab5ceff94ec49ecbc47d008d6f239e03781eb0fd
b7c434cc64df64ae48a84ee056cbccc0db622fde
refs/heads/master
2021-10-24T12:32:34.160886
2019-03-26T03:39:52
2019-03-26T03:39:52
167,921,434
0
1
null
null
null
null
UTF-8
Python
false
false
132
py
from django import template register = template.Library() @register.simple_tag def dan(data): for i in data: return i
[ "qwert19981228@outlook.com" ]
qwert19981228@outlook.com
3c34f374d6272a009eef57975456813734c811d1
9135a1c5bcd20f77971085496d9e966d892fb7e9
/python/deployCVE/deployCVEcluster.py
32e2ac2efb1d6bfd690c1737f1041ae4096b0614
[ "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
bseltz-cohesity/scripts
cc54b2b3534175562b0d9cfba85bd63aa5ca2346
53c4b057bb4f41ae079fc8236caacf13fd35c10e
refs/heads/master
2023-08-23T13:13:12.169724
2023-08-22T13:21:22
2023-08-22T13:21:22
142,414,700
83
44
Apache-2.0
2023-08-24T11:42:22
2018-07-26T08:50:47
PowerShell
UTF-8
Python
false
false
13,955
py
#!/usr/bin/env python # from os import system, path # from sys import exit from threading import Thread from time import sleep from getpass import getpass import tarfile import urllib2 import ssl from pyVim import connect from pyVmomi import vim from pyhesity import * from datetime import datetime ### command line a...
[ "bseltzer@cohesity.com" ]
bseltzer@cohesity.com
77f6275501857c35fd9202d8af88ba58ac4770f7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2177/60619/281049.py
29b365990a3485c30f94756d6d80e192f9f24ac3
[]
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
555
py
i = int(input()) if i == 11: print(12) print("6 7 5 8 4 9 3 10 2 11 1 12", end=" ") elif i == 1: print(2) print("1 2", end=" ") elif i == 9: print(10) print("5 6 4 7 3 8 2 9 1 10", end=" ") elif i == 13: print(14) print("7 8 6 9 5 10 4 11 3 12 2 13 1 14", end=" ") elif i == 35: print...
[ "1069583789@qq.com" ]
1069583789@qq.com
6851cf6e45b7a9d37c68a9ad99a6e7a405d23e88
e081eebc37aef48084fa62a1b36443f03b9e2abe
/Chef_Detective.py
9740b546f3162141b0d1f6767895dff7974d644f
[]
no_license
S-C-U-B-E/CodeChef-Practise-Beginner-Python
93fa202eede83cf4f58177bffb4ecc4ddb7f19bc
78a02303b3cdd7eb7b0c45be59a1c282234f8719
refs/heads/master
2021-03-24T01:10:43.913150
2020-03-16T12:49:12
2020-03-16T12:49:12
247,501,633
16
8
null
null
null
null
UTF-8
Python
false
false
128
py
n=int(input()) r=[int(x) for x in input().split()] r=set(r) for i in range(n): if (i+1) not in r: print(i+1,end=" ")
[ "sssanyal10@gmail.com" ]
sssanyal10@gmail.com
d4826815890181cbe6ef3a944b88f49cc2476a6b
531e5d92c003a68fd88ab56e1cea2955774947af
/tests/plugins/api/test_default_definition_body_plugin.py
ad6e1648ce76eecbb2203b57767f5857656156f4
[ "Apache-2.0" ]
permissive
jfuss/serverless-application-model
675eea54acae72383234ed188bd02cfcaeadfb35
1af3e97b2043369087729cc3849934f8cf838b7e
refs/heads/develop
2023-06-10T13:11:24.555408
2023-05-25T15:53:12
2023-05-25T15:53:12
117,887,073
2
1
Apache-2.0
2021-11-15T20:47:42
2018-01-17T20:09:52
Python
UTF-8
Python
false
false
1,721
py
from mock import Mock, patch from unittest import TestCase from samtranslator.plugins.api.default_definition_body_plugin import DefaultDefinitionBodyPlugin from samtranslator.public.plugins import BasePlugin IMPLICIT_API_LOGICAL_ID = "ServerlessRestApi" class TestDefaultDefinitionBodyPlugin_init(TestCase): def ...
[ "noreply@github.com" ]
jfuss.noreply@github.com
d6ba727b7916256b1fe606eaee94e197cd497ade
537d28fb2142331e27c84ebf2c16bad77aceb24e
/ml/m06_wine3.py
68a32d34513e45b664a6ac60eed3a02164e1662a
[]
no_license
gema0000/bit2019
c27c3cec8d8d3a0907ade41523ce1c5ee86337b6
2f44ad3956b387186935374d9a488ad40a13bcaf
refs/heads/master
2020-07-03T05:19:41.051447
2019-10-26T23:56:25
2019-10-26T23:56:25
201,796,021
4
2
null
null
null
null
UTF-8
Python
false
false
1,048
py
import pandas as pd from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier from sklearn.metrics import accuracy_score from sklearn.metrics import classification_report # 데이터 읽어 들이기 wine = pd.read_csv("./data/winequality-white.csv", sep=";", encoding="utf-8") # 데이터를 레...
[ "gema0000@naver.com" ]
gema0000@naver.com
1709bf60d3e0cbdb92a08d489184c10f929da344
0d0b8236ff06027037d2a8a724d13a1866a9999c
/0x0B-python-input_output/12-main.py
c1b177be92e6bcc58fb85bc5686fc08c60d83afa
[]
no_license
Danucas/holbertonschool-higher_level_programming
3f8e81a610bf80890280b764362b56ad8803e2df
b963d41af8bccf764dff67f80ea16f1184c0a96d
refs/heads/master
2022-07-31T05:53:57.046789
2020-05-21T21:29:54
2020-05-21T21:29:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
#!/usr/bin/python3 Student = __import__('12-student').Student student_1 = Student("John", "Doe", 23) student_2 = Student("Bob", "Dylan", 27) j_student_1 = student_1.to_json() j_student_2 = student_2.to_json(['first_name', 3]) j_student_3 = student_2.to_json(['middle_name', 'age']) print(j_student_1) print(j_student_...
[ "danrodcastillo1994@gmail.com" ]
danrodcastillo1994@gmail.com
4e93323cc355f168877efacef3da3bd8453fb298
6c4486ab599fd5dea9006e41cdb89db54b47b77c
/tests/products/Regression_HHOL_Create_Policy_&_Renewal.py
c1ac42ea94621a1acbecad85fcabd83ec9be14eb
[]
no_license
kenito2050/Python-Page-Object-Framework-Example
28ba61cdc1498374be4fc088a1348e0acb754dc2
2a3a3e6c74dc7ec7c9acce41030e9487925b9b0c
refs/heads/master
2020-04-02T15:52:24.286208
2018-10-25T01:46:24
2018-10-25T01:46:24
154,587,117
0
0
null
null
null
null
UTF-8
Python
false
false
15,192
py
import csv import datetime import os import time import unittest from urllib.parse import urlparse, parse_qs from xml.etree import ElementTree as ET import xlrd from faker import address from faker import company from faker import name from selenium import webdriver from pages.producer_center.products_programs_page i...
[ "kvillarruel@nasinsurance.com" ]
kvillarruel@nasinsurance.com
f9d56ef9022697fe15a67053856d891c75f65757
799e022a2f63db8f98304a2b4984c373c053074f
/liberapay/billing/exchanges.py
f432bf2b6af129af73789b5f7b2345dccb067c84
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
CryptArc/liberapay.com
9f403fd1e5d18b41dcfcc16f6d466d834689ec8e
ef6d74332f937035537a47edf212897fd684611d
refs/heads/master
2021-01-17T20:34:16.330629
2016-05-18T15:27:01
2016-05-18T15:27:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,567
py
"""Functions for moving money between Liberapay and the outside world. """ from __future__ import division, print_function, unicode_literals from decimal import Decimal, ROUND_UP from aspen import Response from aspen.utils import typecheck from mangopaysdk.entities.payin import PayIn from mangopaysdk.entities.payout ...
[ "changaco@changaco.oy.lc" ]
changaco@changaco.oy.lc
d56411141515e59e13c8e7158958d63b0b9c075f
6a1afd25fd19e24eecf2e7f233027681a05903b8
/backend/tchr_3855/urls.py
a774b8dbe6339003537a5be0b1f3e8aadddee690
[]
no_license
crowdbotics-apps/tchr-3855
85e0c264c9b5adef9ae782cf9b23c0754a268564
5c9ef3ff5e4662bf23ca10532eeafd4e55f847b0
refs/heads/master
2022-12-10T22:10:23.132461
2019-05-26T10:22:49
2019-05-26T10:22:49
188,668,403
0
0
null
2022-12-09T03:58:32
2019-05-26T10:22:34
Python
UTF-8
Python
false
false
1,034
py
"""tchr_3855 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') Class-...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e81eb9f98632ada8bf853b3971d0d91c0cf15163
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/signalrservice/signal_r_private_endpoint_connection.py
49b758f6a41d13686debc173c54642140e57c45e
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
13,202
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
morrell.noreply@github.com
fdb52e61ad56ed5ce29737ced83eb1ee158f29fe
56cd86b5438db288a2b602166071b079ffc5c22f
/backend/windy_utils_rest.py
d582f5031a4b730fbd668b3001fb53e9644edd9f
[ "MIT" ]
permissive
mmmaaaggg/QABAT
d789921151533fd0c9fd4b89dc5eee2137b67e80
d6f20d926de047af6857e466cf28084d0ba69993
refs/heads/master
2022-07-13T10:10:28.985442
2021-01-27T07:05:46
2021-01-27T07:05:46
139,661,275
4
1
MIT
2022-06-21T22:03:11
2018-07-04T02:58:18
Python
UTF-8
Python
false
false
7,528
py
# -*- coding: utf-8 -*- """ Created on 2016-12-22 @author: MG """ import pandas as pd import requests import json from datetime import datetime, date import logging logger = logging.getLogger() STR_FORMAT_DATE = '%Y-%m-%d' STR_FORMAT_DATETIME_WIND = '%Y-%m-%d %H:%M:%S' # 2017-03-06 00:00:00.005000 UN_AVAILABLE_DATETIM...
[ "mmmaaaggg@163.com" ]
mmmaaaggg@163.com
4a142a01a45fa51f9c863eef0f039791d863a013
9f884a3584eef771f8c010e296c5d763098be243
/povary/apps/seo_v2/migrations/0001_initial.py
bce4b67bee7aa622577573aa590abe5b27575f0d
[ "BSD-3-Clause" ]
permissive
TorinAsakura/cooking
fc8658ce2ac21c2e00dc307399a5fa24971a20c1
cf0c78f613fa9ce0fcd4ec7a397ab880d9dd631a
refs/heads/master
2023-01-24T13:07:38.529811
2020-12-08T22:14:33
2020-12-08T22:14:33
319,773,012
0
0
BSD-3-Clause
2020-12-08T22:14:34
2020-12-08T22:08:34
null
UTF-8
Python
false
false
4,096
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'SeoTarget' db.create_table(u'seo_v2_seotarget', ( (u'id', self.gf('django.db.mod...
[ "me@torinasakura.name" ]
me@torinasakura.name
66407c0b6c977324006de7c5c228296df7783a34
818e5e78f84596a7c086b218fd4aa9e8ea912afe
/hackatons/materials/algo/source/T5_LinearStructure/P3_List/ListWithCurrentElement.py
fdfd273b72742e9271e6be2dcdf2c5b282946b4b
[]
no_license
davendiy/forpythonanywhere
44fbc63651309598b58391667f0fead40e8fad91
1b9292ca33b06b17cd516e4e9913479edb6d35cd
refs/heads/master
2020-08-10T04:24:02.665635
2019-10-25T07:05:46
2019-10-25T07:05:46
214,255,096
0
0
null
null
null
null
UTF-8
Python
false
false
3,289
py
class Node: """ Допоміжний клас - вузол списку. """ def __init__(self, item): """ Конструктор """ self.mItem = item # навантаження вузла self.mNext = None # посилання на наступний вузол списку class ListWithCurrent: def __init__(self): """ Конструктор - створює новий ...
[ "davendiy@gmail.com" ]
davendiy@gmail.com
ad767fd0acf09ffa4bb1040d65480632d58051cd
b4361173b0605ad5efb9381610fb985ad27ee00b
/tests/test_manager.py
291831d621e28387c96f8c599a68d7e0728d0c8c
[ "MIT" ]
permissive
gardleopard/rhea
24bd204735da0915f27b8cc060e377e37b610dba
36a8e908281ca9af232c5ce2e2cf64259221c3a6
refs/heads/master
2020-04-09T18:15:06.731235
2018-10-08T15:35:46
2018-10-08T15:35:46
160,506,155
0
0
MIT
2018-12-05T11:10:19
2018-12-05T11:10:19
null
UTF-8
Python
false
false
18,042
py
import os from unittest import TestCase from rhea.exceptions import RheaError from rhea.manager import Rhea from rhea.specs import UriSpec class TestRhea(TestCase): def setUp(self): os.environ['FOO_BAR_KEY'] = 'foo_bar' self.config = Rhea.read_configs( [os.environ, './te...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
d80a97bb723810380e758ac7493d3b6fade462e5
afd957cf224d7c0b1b9c7216c9767fbea0dbcfea
/Python codebetter training/class&objects/program6.py
f3921d4e010c7788eb403b820c09daf12f21f848
[]
no_license
Chandu8817/python_code
d7fea1b81cbb84b98f5527beaa7350884f5e2ab8
2827ebeb463a764b67ba6621d08a58a3783d26e4
refs/heads/master
2023-05-03T01:09:37.199935
2021-05-28T13:07:39
2021-05-28T13:07:39
299,087,120
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
class Employe: name="rohan" def __init__(self,id,salary): self.id=id self.salary=salary def show(self): print(self.name,self.id,self.salary) obj=Employe(123,40000) obj.show()
[ "you@example.com" ]
you@example.com
c4dc8e90148e5925afe99b51bdd1f6a3b9dc57b6
956b70a8904fbbab3686f1b11e7ff1b6402caa48
/codecademy/student_become_teacher/lesson1.py
07e1de2ac66539c8d743b0f8c411c7d0c43c8a27
[]
no_license
udoyen/andela-homestead
3b839eec813084c48b8588f3d4977801077e360e
74405ae893d5f3b0548f840c6ca76a4b9315760f
refs/heads/master
2020-08-05T16:14:13.831835
2016-10-16T12:12:00
2016-10-16T12:12:00
66,066,631
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
lloyd = { "name": "Lloyd", "homework": [90.0, 97.0, 75.0, 92.0], "quizzes": [88.0, 40.0, 94.0], "tests": [75.0, 90.0] } alice = { "name": "Alice", "homework": [100.0, 92.0, 98.0, 100.0], "quizzes": [82.0, 83.0, 91.0], "tests": [89.0, 97.0] } tyler = { "name": "Tyler", "homework":...
[ "datameshprojects@gmail.com" ]
datameshprojects@gmail.com
257b3908e7b755a7f4c0fafd5ad2fd16de5664cd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/169/usersdata/268/72565/submittedfiles/divisores.py
1d0ddbb1446164b961708d65187171252ce94f5d
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
# -*- coding: utf-8 -*- import math n=int(input('Digite a quantidade de multiplos: ')) a=int(input('Digite o numero a : ')) b=int(input('DIgite o numero b : ')) i=1 if (n%2)==0: if (a<b): while(i<=n/2): multiploa=a*i print(multiploa) multiplob=b*i print(m...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f3ab348e0be0a838a775ac8a6672141ced7a15de
ad206aa0d228d5d3e41261316b88e190437e21c4
/contrib/devtools/test-security-check.py
e179401c7ed762f5c793294d304d0b9f67e0dd66
[ "MIT" ]
permissive
gtacoin-dev/gtacoin
a0188517948afb4458913d87b2f600ffaf9b6803
f66f063b47ba973856c200074db1b95abf5ab794
refs/heads/master
2021-01-22T10:59:35.068066
2017-02-15T15:29:16
2017-02-15T15:29:16
82,058,190
0
0
null
null
null
null
UTF-8
Python
false
false
2,651
py
#!/usr/bin/python2 # Copyright (c) 2015-2016 The Gtacoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Test script for security-check.py ''' from __future__ import division,print_function import subprocess imp...
[ "coinbitex@coinbitex.local" ]
coinbitex@coinbitex.local
7152ebbf5e92af8028c28d7c542e1b6f87c1066b
f183df1dcdfee18a77b95ba395ab1f7cc15a5a5b
/python/flask/ex03/env/bin/pygmentize
97ff469afb30e69e141002889a8e8a7f9789d71f
[]
no_license
ltakuno/arquivos
7686578fbdefaf04d11e738325d7a34631b4c113
c04198264cc9f32fd472453fea3b627a03794008
refs/heads/master
2023-01-24T13:11:29.861084
2021-10-26T10:52:03
2021-10-26T10:52:03
98,174,425
0
1
null
2023-01-11T12:02:14
2017-07-24T09:38:12
Python
UTF-8
Python
false
false
266
#!/home/leo/Desktop/Pessoal/arquivos/python/flask/ex03/env/bin/python # -*- coding: utf-8 -*- import re import sys from pygments.cmdline import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "leonardo.takuno@gmail.com" ]
leonardo.takuno@gmail.com
698c24e7ea2ec00d6d552bae36318d0420665ece
36b46e4c1d6ea1294269d57fc5467be600748db0
/batch2/day15/image.py
44f34193a29679072d7f522a0a466e3a6c53499d
[]
no_license
shaadomanthra/cbpython
5a4f6b588d59e99d4d01ae19b018efe964f6a1c4
57e855b49221ff1a502c3f80a3ee62815f619c51
refs/heads/master
2022-09-26T09:19:17.168692
2020-06-04T12:15:08
2020-06-04T12:15:08
262,913,907
0
7
null
null
null
null
UTF-8
Python
false
false
171
py
from cv2 import cv2 img = cv2.imread('f1.jpg') cv2.imshow('image',img) cv2.waitKey(0) cv2.destroyAllWindows() # pip install opencv-python # pip uninstall opencv-python
[ "packetcode@gmail.com" ]
packetcode@gmail.com
226587a22ab6d94abd1eaa631c9cf7d4c94bcbe3
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/GTop/glibtop_fsusage.py
ce0b9f44de9aed3e9066212f3111af5827cdf720
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
5,569
py
# encoding: utf-8 # module gi.repository.GTop # from /usr/lib64/girepository-1.0/GTop-2.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes of the mo...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
05e941b211ab3c58e344cee9ddbef30df1cc5c81
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/virtual_machine_capture_result.py
2972e1f2fcda79359a1c924857d0281796beedb2
[ "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
1,895
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
ef806be5869ec78751bf85efc29d25df572e1eb4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_385/ch19_2019_03_12_19_38_14_663227.py
d013924ef9a73fc01e5311fa6f7f4983c515a29b
[]
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
171
py
import math def calcula_distancia_do_projetil(v,a,y): d=(v**2/(2*9.8))*((1+(1+(2*(9.8)*y)/((v**2)*(math.sin(a))**2)))**(0.5))*math.sin(2*a) return d
[ "you@example.com" ]
you@example.com
d796be626c577ac549f8adc4a444f94bcb301597
0d24036dcf8736c0392a1ee1c2f3b45633221d8a
/etc/src/genpy-mpls-ldp-oper/cisco_ios_xr_mpls_ldp_oper/mpls_ldp/global/standby/bindings_summary_all/ldp_binding_summary_pb2.py
c426f8c3156829c6c44f31a013afca2915718b26
[]
no_license
mspiez/telemetry_collector
c4b97c6686748fc20748898a25e9fc756d2d0b63
52ed12c06debfe04181f0bfea9854a66ed8bb3df
refs/heads/master
2020-12-19T23:28:08.358956
2020-05-02T19:54:38
2020-05-02T19:54:38
235,883,080
0
0
null
null
null
null
UTF-8
Python
false
true
15,058
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: cisco_ios_xr_mpls_ldp_oper/mpls_ldp/global/standby/bindings_summary_all/ldp_binding_summary.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google....
[ "mspiez@gmail.com" ]
mspiez@gmail.com
badaf0e123f718073e3bea705aaaaec24180f8a9
430bd23decf16dc572a587b7af9f5c8e7dea5e6b
/clients/python/swagger_client/apis/leaderboard_api.py
e0906cb597edb1fa6abaa8f8a43e89f91389cf1f
[ "Apache-2.0" ]
permissive
jltrade/api-connectors
332d4df5e7e60bd27b6c5a43182df7d99a665972
fa2cf561b414e18e9d2e1b5d68e94cc710d315e5
refs/heads/master
2020-06-19T10:20:46.022967
2016-09-24T13:12:17
2016-09-24T13:12:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,571
py
# coding: utf-8 """ BitMEX API REST API for the BitMEX.com trading platform.<br><br><a href=\"/app/restAPI\">REST Documentation</a><br><a href=\"/app/wsAPI\">Websocket Documentation</a> OpenAPI spec version: 1.2.0 Contact: support@bitmex.com Generated by: https://github.com/swagger-api/swagger-co...
[ "samuel.trace.reed@gmail.com" ]
samuel.trace.reed@gmail.com
7cc31d11d80087d2904c8f28fcb8dd61c8dc7740
dab68b742da7945b75ac957deed6e9a72283934f
/Golf-Report/config/settings.py
26159dff1d88930d1b129440dcef5b3d7dd6faba
[]
no_license
hyunmin0317/Stock-Insight
90dd03665c8c5edbc041284ccefa78e877f9c3c3
558f4da73e62aa064994e680d923ba68d5b8ca4f
refs/heads/master
2023-06-29T23:56:42.979878
2021-08-02T02:15:08
2021-08-02T02:15:08
389,097,513
1
0
null
null
null
null
UTF-8
Python
false
false
3,463
py
""" Django settings for config project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from...
[ "choihm9903@naver.com" ]
choihm9903@naver.com
408b33ccab6b8d5c16cf60ae37e714dabbbb9d32
57120090948f99de2258a6f01a0cc65443441ce9
/hyperclass/graph/exe/pygsp.py
0f58c1bf6917edac5157eac592fec080a30215f0
[]
no_license
MysteriousSonOfGod/hyperclass
c67eff91f6f0f64fa4a92f8567243ef5cd8fa3c8
e8cec11b364e8b049e7432b95ce20a2c5de94235
refs/heads/master
2023-01-28T16:42:09.289664
2020-12-07T22:54:50
2020-12-07T22:54:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
from pygsp import graphs import xarray as xa import numpy as np from hyperclass.data.spatial.tile import Tile, Block import os, math, sys block_shape = (500, 500) block_indices = (0,0) image_name = "ang20170720t004130_corr_v2p9" N_neighbors = 8 dm = DataManager( image_name, block_shape=block_shape ) tile: Tile = dm....
[ "thomas.maxwell@nasa.gov" ]
thomas.maxwell@nasa.gov
22e8481e0326ea50c9064e5eb25279ea2c83211d
e2c79931c43a1a6e566d05aafa2655ba8d128657
/triv/io/mimetypes/__init__.py
b4a7c6465896d004c2a48d6e9ebe9d57bcfa4de6
[]
no_license
pombredanne/trivio.datasources
c45c772270ba6ad80ade84d9b4be6b024e4a8f2d
00f0c341e776c77516b17be036569d0eac7cdced
refs/heads/master
2021-01-12T22:38:35.572615
2013-07-02T21:20:47
2013-07-02T21:20:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
from . import application_json from . import application_x_arc from . import application_x_json_stream from . import application_x_hadoop_sequence from . import text_csv
[ "srobertson@codeit.com" ]
srobertson@codeit.com
d3d9bf07d206c7c98ab748808ca1ca6ff279dd7a
37438771565238194ea997fa65619bd32c823706
/detect_tracking/18.5.31_first_success/wyz_ws/devel/lib/python2.7/dist-packages/image_geometry/__init__.py
cfa550544b8f9c86f4e2a7cf963edf5e2583218a
[]
no_license
Aaron9477/restore
b040b8be695c513946c0243c4acb735f427d8bba
8dc13ed7cf0c4e5cde911169d11e330d826f40bd
refs/heads/master
2021-09-15T10:50:59.969952
2018-05-31T03:11:55
2018-05-31T03:11:55
110,834,815
0
1
null
null
null
null
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- # generated from catkin/cmake/template/__init__.py.in # keep symbol table as clean as possible by deleting all unnecessary symbols from os import path as os_path from sys import path as sys_path from pkgutil import extend_path __extended_path = "/home/ubuntu/WYZ/wyz_ws/src/vision_opencv-kinet...
[ "869788668@qq.com" ]
869788668@qq.com
7a3fe8d03675f0f2f25deafd18430d4b97b6da39
52b5773617a1b972a905de4d692540d26ff74926
/.history/sets_20200605203258.py
f16a7163f3eec97f0550e2e5a9c3cfa32aa6775a
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
import json def Strings(str): values = {} newArray = [] keys = [] finalArr = [] for i in str: newArray.append(i.split(":")) for j in range(len(newArray)): if newArray[j][0] in values: values[newArray[j][0]] += int(newArray[j][1]) else: ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
e338718887a056636b2427531d8b2b6041d3fd9f
6e68584f2819351abe628b659c01184f51fec976
/Centre_College/CSC_117/CSC_117_Python_Files/monteCarloGUI.py
0b71697ca698fbc152b4b222c923e09586afee51
[]
no_license
DanSGraham/code
0a16a2bfe51cebb62819cd510c7717ae24b12d1b
fc54b6d50360ae12f207385b5d25adf72bfa8121
refs/heads/master
2020-03-29T21:09:18.974467
2017-06-14T04:04:48
2017-06-14T04:04:48
36,774,542
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
# # An approximation of pi #Daniel Graham #This method should give an approximation of pi due to the ratio of circle to rectangle. #Since the area of the circle = pi and the area of the rectangle will = 4 by multiplying by 4, #the function returns an approximation of pi import math import random from graphics...
[ "dan.s.graham@gmail.com" ]
dan.s.graham@gmail.com
48551fb220fdc14d1dfe72e50fcfacfa205e2e76
e005e5fa3fdf18cf5a72d14379568b97dfd4754c
/lect02_codes/lect02_codes/proj/py_version/main.py
997ea3e164e26dc651460daca9e531d6e62e75f9
[]
no_license
evaseemefly/learn_sourcecode_DataAnalysis
1962b23fa46987c671025c157be542fcd2eef60f
ec73d3962966d94ccb2e2f0a82486e8ac615c449
refs/heads/master
2018-10-25T16:56:48.367272
2018-10-08T04:18:38
2018-10-08T04:18:38
107,554,982
0
1
null
null
null
null
UTF-8
Python
false
false
4,623
py
# -*- coding: utf-8 -*- """ 作者: 梁斌 版本: 1.0 日期: 2017/10 实战案例2:麦当劳菜单营养成分分析 该案例有配套的讲解版本,在jupyter演示版中可找到 声明:小象学院拥有完全知识产权的权利;只限于善意学习者在本课程使用, 不得在课程范围外向任何第三方散播。任何其他人或机构不得盗版、复制、仿造其中的创意, 我们将保留一切通过法律手段追究违反者的权利 """ import os import pandas as pd # 指定数据集路径 dataset_path = '....
[ "evaseemefly@126.com" ]
evaseemefly@126.com
21f20cba381b35b90be5ac12499ce8e389d2d0bd
8e03374062754d568a75f6a0938224c1de3baf3c
/news_api/news/migrations/0002_auto_20210505_0040.py
4911de0d05217fd93a635da0b7fa7a442a90b9aa
[]
no_license
PythonDjangoJavascript/news_api
dbad588cea338cedb085241713a1d7fe4e162d77
493f0ccc6dea577fe5a1fbeb03520ff2066bc12a
refs/heads/main
2023-04-22T17:21:53.520734
2021-05-09T06:00:16
2021-05-09T06:00:16
364,386,913
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
# Generated by Django 3.2.1 on 2021-05-05 00:40 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('news', '0001_initial'), ] operations = [ migrations.AddField( model_name='article', nam...
[ "nuruddinsayeed@gmail.com" ]
nuruddinsayeed@gmail.com
a6ddac7dbb84f364bb7a1c24bb39dc942613b16a
f850e0f75a76c500f5ba8a9ab6fa6d5f40d22b23
/cutecharts_demo/__init__.py
c6223d8fde18a448c03c6f8cbd0affbf3a225cd8
[ "MIT" ]
permissive
jay20161013/pywebio-chart-gallery
805afa2643b0d330a4a2f80f1e0a8827e8f61afe
11fd8a70b2e9ff5482cf5924b110a11f3469edfc
refs/heads/master
2023-03-20T01:58:30.979109
2021-03-18T12:48:31
2021-03-18T12:48:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,503
py
from collections import OrderedDict from pywebio.output import * from pywebio.session import hold, get_info from .demos.example_bar import main as bar from .demos.example_line import main as line from .demos.example_page import main as page from .demos.example_pie import main as pie from .demos.example_radar import ma...
[ "wang0.618@qq.com" ]
wang0.618@qq.com
99a358a0f5eecbab63327e91984945a6ce554457
6b791247919f7de90c8402abcca64b32edd7a29b
/multiprocessing/managers.py
e5683440caccf121433a5b534bb9999f17bba11c
[ "Apache-2.0" ]
permissive
theclashingfritz/Cog-Invasion-Online-Dump
a9bce15c9f37b6776cecd80b309f3c9ec5b1ec36
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
refs/heads/master
2021-01-04T06:44:04.295001
2020-02-14T05:23:01
2020-02-14T05:23:01
240,434,213
1
0
null
null
null
null
UTF-8
Python
false
false
28,874
py
# uncompyle6 version 3.2.4 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] # Embedded file name: multiprocessing.managers __all__ = [ 'BaseManager', 'SyncManager', 'BaseProxy', 'Token'] import os, sys, weakref, threading, array, Que...
[ "theclashingfritz@users.noreply.github.com" ]
theclashingfritz@users.noreply.github.com
ea9458c6ac74bdd22e6377f815c1fe355c5d392b
6d8c61b72db2afb6c6e7689ccf8efc8ea22a58b1
/backend/manage.py
13ed3e7ef0dd4a308ffbffd6fc7b8c72ed547b1b
[]
no_license
crowdbotics-apps/msm-sjshjs34-dev-12857
56f9eb4428489fb8141063badaaf8ec5a9380a10
b8b82ad77d0dc7b5e3227183bb514d51f5084945
refs/heads/master
2022-12-18T21:14:01.968255
2020-10-07T06:39:26
2020-10-07T06:39:26
301,946,361
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'msm_sjshjs34_dev_12857.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
439395335e5c739d4423a055f98518f3acc20b6f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02580/s760103061.py
925ab9a2461c29ace7811e08760b425431497890
[]
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
872
py
def resolve(): #n=int(input()) #a,b=map(int,input().split()) #x=list(map(int,input().split())) #a=[list(map(lambda x:int(x)%2,input().split())) for _ in range(h)] import sys input = sys.stdin.readline H,W,m=map(int,input().split()) bomb=set() cnt1=[0 for i in range(H)] cnt2=[0 fo...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
391d9a14de710453f5a3315da0ab8bf862bcd5f2
93e5b82332af9f0d3e203d086e30794fb90a2086
/ForKids/chapter11/dark_green_circle.py
e339c298cdebe175e39607c47f1ada7d0798a7ae
[]
no_license
swell1009/ex
cfaae0b5fe917f12416170dce60f7dea8194f368
29b274fb51adbdc43af6ebecaec89c97bc58be6f
refs/heads/master
2020-04-04T10:15:20.578932
2018-11-22T06:27:30
2018-11-22T06:27:30
155,848,187
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
import turtle t = turtle.Pen() def mycircle(red, green, blue): t.color(red, green, blue) t.begin_fill() t.circle(50) t.end_fill() mycircle(0, 0.5, 0)
[ "swell1009@qq.com" ]
swell1009@qq.com
18e21f4ddcedd079fc47959f47eab0660531d78c
d326cd8d4ca98e89b32e6a6bf6ecb26310cebdc1
/BioinformaticsStronghold/rna/rna.py
adb1292a38f53d25bd1f4e80d516beb0647b67f3
[]
no_license
dswisher/rosalind
d6af5195cdbe03adb5a19ed60fcbf8c05beac784
4519740350e47202f7a45ce70e434f7ee15c6afc
refs/heads/master
2021-08-09T02:58:17.131164
2017-11-12T01:26:26
2017-11-12T01:26:26
100,122,283
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
import sys if len(sys.argv) < 2: print 'You must specify the name of the file to load.' sys.exit(1) s = file(sys.argv[1]).read() rna = '' for c in s: if c == 'T': rna += 'U' else: rna += c print rna
[ "big.swish@gmail.com" ]
big.swish@gmail.com
1c05115db2ff9b5a220b165aa2ded0b8753fb727
5c72ec8fb05492ebbb97c2a2a1b24e85c4a2b03e
/Algorithms and data structures/2 Data structures/Arrays/Reverse/reverse.py
f0e937528bea08b1ba71b9194fbe5c14007a6914
[]
no_license
mxmaslin/Shultais-education
2b732a9dfd713fcc4c7bd29101fae4e4c2d7ffae
b7e82aa34b304a090a1acd16d309f95550c59dca
refs/heads/master
2020-08-31T21:21:28.801596
2019-11-05T16:24:43
2019-11-05T16:24:43
218,789,130
0
0
null
null
null
null
UTF-8
Python
false
false
1,764
py
class Array: """ Линейный статический массив. """ def __init__(self, size): # Данные массива, изначально массив пустой и все его элементы заполнены None. # То есть сразу выделяем массив фиксированного объема. self.data = [None] * size # Длина заполненного массива. ...
[ "zapzarap@yandex.ru" ]
zapzarap@yandex.ru
8598a3824baa01b0f2e672df3a660f0fa4b48861
40e9169343968444c764b41f5945c6e00ad6ecd6
/test_for_calc_test.py
115d2e221016755bd9f2368e9c04786f6923ff2c
[]
no_license
a-bautista/ci-python
62ff4b3a19f9c293f665a4e62a44936c9ac001ce
19f9ef9db261897a3ef5977e710ca42ee98de662
refs/heads/master
2020-04-15T01:37:31.290988
2019-01-06T07:15:21
2019-01-06T07:15:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
import calc_test class TestCalculator: def test_addition(self): assert 4 == calc_test.add(2,2) def test_subtraction(self): assert 2 == calc_test.subtract(4,2)
[ "alex.bautista.ramos.90@gmail.com" ]
alex.bautista.ramos.90@gmail.com
953c91eff3d40c25d9b77ced31dd89cc264c21d9
6982c3c54ee9199d93fb89c61cfdcba15b9b7012
/fluentpython/chapter11/demo06.py
94b5b1596302e2ffce45b78a46450e090bfe2b27
[]
no_license
gzgdouru/python_study
a640e1097ebc27d12049ded53fb1af3ba9729bac
e24b39e82e39ee5a5e54566781457e18c90a122a
refs/heads/master
2020-03-29T11:33:13.150869
2019-03-08T09:24:29
2019-03-08T09:24:29
149,858,658
0
1
null
null
null
null
UTF-8
Python
false
false
506
py
''' 多继承和方法解析顺序 ''' class A: def ping(self): print("ping:", self) class B(A): def pong(self): print("pong:", self) class C(A): def pong(self): print("PONG:", self) class D(B, C): def ping(self): super().ping() print("pong-ping:", self) def pingpong(sel...
[ "18719091650@163.com" ]
18719091650@163.com
6d7d036f9849749bfb43e031add73277c67f841f
b2ba670818623f8ab18162382f7394baed97b7cb
/test-data/AndroidSlicer/Carnote/DD/17.py
32b94fd9d389f16b7824dc82e3080ae2e9a2589b
[ "MIT" ]
permissive
hsumyatwin/ESDroid-artifact
012c26c40537a79b255da033e7b36d78086b743a
bff082c4daeeed62ceda3d715c07643203a0b44b
refs/heads/main
2023-04-11T19:17:33.711133
2022-09-30T13:40:23
2022-09-30T13:40:23
303,378,286
1
1
null
null
null
null
UTF-8
Python
false
false
1,385
py
#start monkey test seedNo 0 import os; from subprocess import Popen from subprocess import PIPE from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice, MonkeyImage from com.android.monkeyrunner.MonkeyDevice import takeSnapshot from com.android.monkeyrunner.easy import EasyMonkeyDevice from com.android.monkeyru...
[ "hsumyatwin@gmail.com" ]
hsumyatwin@gmail.com
e4c2776272edbecaf19e7be9738e39202d4db21b
bf1257f42fbef87d3e2c41414c2215e46c3b7fa0
/day3/db_demo_01/manage.py
8a1ccc29497f268c38e449e6c4eae5e4df59509d
[ "Apache-2.0" ]
permissive
gaohj/django1903
29746e32bdb56451ccde0a56534ded8da311f035
af14b0e46831f64b25a791053be05e1bea457b73
refs/heads/master
2020-09-22T17:09:20.703440
2019-12-18T09:36:03
2019-12-18T09:36:03
225,280,582
1
1
null
null
null
null
UTF-8
Python
false
false
651
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'db_demo_01.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "zhao@163.com" ]
zhao@163.com
da294679cccbfb84c52a9e21d94a08a84ffd77b2
723e7aab2dddb92655801bd7cfe1469d08e664c6
/reveal_fp7_module/reveal-popularity-prediction/reveal_popularity_prediction/output/wp5_output.py
72312b2ee91f439c1e552471e58e9c0c7dd361a5
[ "Apache-2.0" ]
permissive
elceespatial/news-popularity-prediction
2fdf1186782da7a7604aeffcbb3eeed46214b47e
5f66982c659de017665116297bb4fd29ca13f835
refs/heads/master
2022-02-09T03:27:49.179710
2017-12-15T17:08:10
2017-12-15T17:08:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,663
py
# -*- coding: <UTF-8> -*- __author__ = 'Georgios Rizos (georgerizos@iti.gr)' import json from kombu.utils import uuid from reveal_popularity_prediction.output.rabbitmq_util import rabbitmq_server_service,\ establish_rabbitmq_connection,\ simple_notification, simpler_notification def publish_to_wp5(predicti...
[ "georgevrizos@gmail.com" ]
georgevrizos@gmail.com
ca2302979f2083dfd6d0626801152c39e5a0d6b1
8c2f8c6a355a0a0514ebeb8c686be43e38624c3a
/checkModels.py
51dca65172a5dca80ff316af71b487d63c8284a3
[]
no_license
nickvandewiele/RMG-tests
0e5e16f904164444ded845a8784f18f31c8394ff
e07fafe5a6cb19c2f8df109a22445f34a45a0af4
refs/heads/master
2020-12-24T19:04:51.047741
2016-01-24T20:51:12
2016-01-24T20:51:12
50,184,904
0
0
null
2016-01-24T20:51:12
2016-01-22T14:05:46
null
UTF-8
Python
false
false
10,094
py
#!/usr/bin/env python # encoding: utf-8 ################################################################################ # # RMG - Reaction Mechanism Generator # # Copyright (c) 2009-2011 by the RMG Team (rmg_dev@mit.edu) # # Permission is hereby granted, free of charge, to any person obtaining a # copy of thi...
[ "nickvandewiele@gmail.com" ]
nickvandewiele@gmail.com
fbe8c840dba4c6a96ac98a3b1fa2ad50500dd26c
763841bf8447c5490ebc3bf74523fd5470944a80
/forms.py
eb7db2f2490088671fcd6c907f89330646e2a20b
[]
no_license
sumy7/little-bolg
bad7e4ad2755cd1e77edb44a3b1a52780714059f
13d825ad4fb1ad6fc97f41259ff094664a4664bf
refs/heads/app_hxn_1
2021-01-10T23:21:22.062356
2016-10-08T14:40:36
2016-10-08T14:40:36
70,610,888
1
0
null
2016-10-11T16:01:40
2016-10-11T16:01:40
null
UTF-8
Python
false
false
780
py
from flask_wtf import FlaskForm from wtforms import StringField,TextField,IntegerField from wtforms.validators import DataRequired class ArticleForm(FlaskForm): title = StringField('title',validators = [DataRequired()]) content = TextField('content',validators = [DataRequired()]) class UserForm(FlaskForm): ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
11d131e67824ef499030da4c17db0ece1ce20b21
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_21956.py
a1a29e05be6d20512499012515acee2bcd1e343a
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
# Why can't my setup.py-generated script find my also-installed module? &gt;&gt;&gt; from mkdocs.mkdocs import main_entry_point
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
d980b7457b1a48b0e8331322105ae6eda61bfad7
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/twilio/twilio/rest/events/v1/subscription/__init__.py
2518ccf20431928bb5df6b6532f2ee53c8234e95
[ "LicenseRef-scancode-other-permissive" ]
permissive
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
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:0255d8652c98e97ffafdedd4dd83a7f814b0062c7bb3a6ea44f2491fa9a04f72 size 15857
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
77757d4c47da531054934f91c32859169ad5780d
29fa274ae2bf847df8d6f0b03bc28a78f52119aa
/dndsearch/web.py
9c3dff4f39ba88c1cb4422dbc1f2a7e49bd38744
[]
no_license
pranav/dndsearch
a6b42d354ea0a3d59dc9dc47f6ec511a820399d7
4f63c6b86fb2d53021b409f6ff6527ca8d286799
refs/heads/master
2020-12-24T14:45:41.684076
2014-12-21T07:31:19
2014-12-21T07:31:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
import os import json from flask import Flask, render_template from sql import Page app = Flask(__name__) @app.route('/query/<query>', methods=['GET']) def simple_query(query): return json.dumps([{'book': p[0], 'page': p[1]} for p in Page.search(query)]) @app.route('/') def render_home(): return render_temp...
[ "pgandhi@hubspot.com" ]
pgandhi@hubspot.com
e5ba59f2b9321764767fe0a59be34fd36dd50f78
d6d0a751d2093b86f733648f9ba0af28e757662b
/serializer/mydev/myapp/models.py
7e710ed20c5f36054f8faf6c86b19401adc1399c
[]
no_license
nivyashri05/Django_REST_API
2d2460896d8f61eacfd873dd5d657a46a2f13eeb
884037e18d11d13921b15f652833f2da10581beb
refs/heads/master
2022-12-30T21:41:43.707944
2020-10-26T11:33:19
2020-10-26T11:33:19
307,348,306
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from django.db import models class Collegetb(models.Model): deptid=models.IntegerField() deptname=models.CharField(max_length=256) depthod=models.CharField(max_length=256) location=models.CharField(max_length=256)
[ "nivyainventateq@gmail.com" ]
nivyainventateq@gmail.com
6770180f243b6a6f2e41b662fcd4326032622ecb
fde950cc136ac38f9bd7e3e3c4a2e469df6c320a
/tests/core/test_commands.py
4e655f9f3dbbac70f726f768cc6cda2fe954e119
[ "MIT" ]
permissive
Ilgrim/cwmud
47180185f7462a1bb9fa3e338c167ffa87c87f63
bee8b126a5e70edd0593dae9753a6be8d52357cf
refs/heads/master
2022-03-12T02:39:35.550565
2019-10-19T21:51:56
2019-10-19T21:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,758
py
# -*- coding: utf-8 -*- """Test for command management and processing.""" # Part of Clockwork MUD Server (https://github.com/whutch/cwmud) # :copyright: (c) 2008 - 2017 Will Hutcheson # :license: MIT (https://github.com/whutch/cwmud/blob/master/LICENSE.txt) import pytest from cwmud.core.commands import AlreadyExists,...
[ "will.hutcheson@gmail.com" ]
will.hutcheson@gmail.com
0f21947ee7c2b9045e2bafdf343d409245ab9b40
fa3e527114cd5799dddb0a25067da4923eae354e
/DataPrepare/FastSim/GAN/BES/Dedx/makeDataSet.py
65596edf23a6fa591fe64774ab00af09397a15d7
[]
no_license
wenxingfang/FastSim_ML
e64c6b56ce2afd703d1ddda0ada2de6f65fde049
d2f1abbb2f6879313d5f4f137b64c4d8bf10fe83
refs/heads/master
2022-11-28T01:35:39.727895
2020-08-03T15:47:37
2020-08-03T15:47:37
284,734,310
0
0
null
null
null
null
UTF-8
Python
false
false
6,755
py
import ROOT as rt import numpy as np import h5py import sys import gc import math import argparse rt.gROOT.SetBatch(rt.kTRUE) from sklearn.utils import shuffle ####################################### # use digi step data and use B field ## # use cell ID for ECAL ## # add HCAL # add HoE cut ###########...
[ "1473717798@qq.com" ]
1473717798@qq.com
0d830f5647c98236a85d3ab95cba2544e777ab52
ba916d93dfb8074241b0ea1f39997cb028509240
/problems/min_cost_buy_candies.py
43dde065bba3be50479abf9804d66f154e3f7138
[]
no_license
satojkovic/algorithms
ecc1589898c61d2eef562093d3d2a9a2d127faa8
f666b215bc9bbdab2d2257c83ff1ee2c31c6ff8e
refs/heads/master
2023-09-06T08:17:08.712555
2023-08-31T14:19:01
2023-08-31T14:19:01
169,414,662
2
3
null
null
null
null
UTF-8
Python
false
false
335
py
def min_cost_buy_candies(cost): cost = sorted(cost, reverse=True) return sum(cost) - sum(cost[2::3]) def test_min_cost_buy_candies(): assert min_cost_buy_candies([1]) == 1 assert min_cost_buy_candies([1, 2]) == 3 assert min_cost_buy_candies([3, 4, 10]) == 14 assert min_cost_buy_candies([1, 1, ...
[ "satojkovic@gmail.com" ]
satojkovic@gmail.com
dfe69914c2a842af060ce7b0b27c48cba80fe47e
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-3675.py
9191ecf1404a4163be64fc5579e07c3a47a98432
[]
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
31,757
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
5f8cb45c7040fd7e59a958d419df1cbcb228ccc9
8a4bc47685427204365b1668b3d7b5a6fd7546f1
/packages/example/common/environment.py
19665e4adcd19fef2aa761bcb6b45bee6664d2dc
[]
no_license
myronww/hello-service
3b1705ad8c25a6763d5a9673086b01d388b7817a
8b59054dd4cb09fb5f1697e14a050d8251b3ada8
refs/heads/master
2020-04-07T03:43:08.728638
2019-04-10T17:12:24
2019-04-10T17:12:24
158,027,190
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
import os DEBUG = False if "DEBUG" in os.environ: if os.environ["DEBUG"].lower() in ["1", "true", "on"]: DEBUG = True DEVELOPER_MODE = False if "DEVELOPER_MODE" in os.environ: if os.environ["DEVELOPER_MODE"].lower() in ["1", "true", "on"]: DEVELOPER_MODE = True
[ "myron.walker@gmail.com" ]
myron.walker@gmail.com
c6f4b6bb73e281de8c4aa2b5cececbe8004e9fc1
4c7eea9d402dbda526c880cb55339e73d783568f
/ch02/input_number.py
d2ea8590366c875de74036c781b035647bf2f81b
[]
no_license
kks4866/pyworks
9dd8e9e66ba419c50e6111c42b9fb7311ce402fa
a3f599f96ae367e2cdc0da0ab9429186629f3c1c
refs/heads/master
2023-06-28T23:54:18.640460
2021-07-06T04:08:52
2021-07-06T04:08:52
378,803,609
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
# 숫자를 입력 받기 print("숫자를 입력해 주세요: ") num = int(input()) #num의 타입이 정수로 변환됨 - 형변환 print("제곱수: ", num*num) print(type(num))
[ "kks4866@naver.com" ]
kks4866@naver.com
6c98862cef6bebdb92b27e051d1e0386d84cef74
c8296b9479cbefd26bb3ebaaf6ab55bd090f9735
/mitest/views/module.py
fa86e862af1f5372fd34923fcbb84eca9d020404
[]
no_license
WangYongjun1990/test-core
81db49f54e291bd09d329c7c2c560adcbb3b3466
0ec13174b58a41f35fce2bd2b895b8ac441dfd37
refs/heads/master
2022-12-12T11:45:48.502241
2018-08-17T08:38:55
2018-08-17T08:40:32
138,014,671
0
0
null
2022-12-08T02:10:28
2018-06-20T10:05:28
Python
UTF-8
Python
false
false
4,878
py
# -*- coding:utf-8 -*- """ File Name: `module`.py Version: Description: Author: wangyongjun Date: 2018/6/21 13:44 """ import json from flask import Blueprint from flask_restful import Resource from mitest.api.comm_log import logger from mitest.views.wrappers import timer from mitest.utils.common import get_request_...
[ "yongjun.wang@mi-me.com" ]
yongjun.wang@mi-me.com
16343f081959d18ba076d1ee9ba2fc91db0493bf
a50bd0cbf51b0578fd8249785a35796dfbcb5728
/poem/Poem/api/urls_internal.py
c664b83878667a62275dcf8f5dd34587c667d063
[ "Apache-2.0" ]
permissive
ARGOeu/poem
d24cc8126abec7dbae687ca0f854cabb54f982a4
40c17484c6184fe3cf6547401d258b95644fa18f
refs/heads/master
2020-12-25T17:24:36.601759
2019-04-05T11:51:34
2019-04-05T11:51:34
26,312,136
0
2
NOASSERTION
2020-09-17T09:31:12
2014-11-07T09:08:48
Python
UTF-8
Python
false
false
889
py
from django.urls import path from . import views_internal app_name = 'poem' urlpatterns = [ path('metrics/<str:group>', views_internal.ListMetricsInGroup.as_view(), name='metrics'), path('tokens/', views_internal.ListTokens.as_view(), name='tokens'), path('tokens/<str:name>', views_internal.ListTokenForT...
[ "daniel.vrcic@gmail.com" ]
daniel.vrcic@gmail.com
c8f5b570ac0f747bd85d400b8384633527b4849d
0a47f736deacb7e8d55adb807575617f873c4787
/simulate_place_cell_Type_A_shape_inh.py
1607594ee48b303dade8a14abf3460f419e13b91
[]
no_license
domni/CA1Sim
9bd23c746c325d3387b54303dccc0dcbb4f5ba1f
37b90d15e7eec7073736460ac0f5ab26ad97b70c
refs/heads/master
2021-01-15T15:23:47.726695
2016-07-18T02:18:02
2016-07-18T02:18:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,790
py
__author__ = 'milsteina' from specify_cells import * from plot_results import * import random import sys """ In this version of the simulation, phase precession of CA3 inputs is implemented using the method from Chadwick et al., Elife, 2015, which uses a circular gaussian with a phase sensitivity factor that effectivel...
[ "neurosutras@gmail.com" ]
neurosutras@gmail.com
83f39d930bf9b33f24dae1eff820a417779e8ba2
a7b6741f345aad73117bc747c4e93e148f5fe769
/Basic-Course/07-Flask-JWT-Extended/resources/user.py
80d17e2cd51af9d4af3b4d76b35812651d483995
[ "MIT" ]
permissive
suzynakayama/python-flask-udemy
e07f2d30d1f4b66aae06d1dcd775bd58ed5d2083
95d2c5fa328e2f50d0893d73fd386fb713d1f12b
refs/heads/master
2022-12-28T16:51:30.507702
2020-10-09T22:52:59
2020-10-09T22:52:59
299,960,039
2
0
null
null
null
null
UTF-8
Python
false
false
2,889
py
from flask_restful import Resource, reqparse from werkzeug.security import safe_str_cmp from flask_jwt_extended import ( create_access_token, create_refresh_token, jwt_refresh_token_required, get_jwt_identity, jwt_required, get_raw_jwt ) from models.user import UserModel from blacklist import BL...
[ "suzy.nakayama@gmail.com" ]
suzy.nakayama@gmail.com
3e2a3416e9043be473464f5178214bc1d21ac811
2dfbb97b47fd467f29ffb26faf9a9f6f117abeee
/leetcode/151.py
5ed59c72ca216a929c05706680799872276990c7
[]
no_license
liuweilin17/algorithm
0e04b2d36dfb6b7b1b0e0425daf69b62273c54b5
d3e8669f932fc2e22711e8b7590d3365d020e189
refs/heads/master
2020-12-30T11:03:40.085105
2020-04-10T03:46:01
2020-04-10T03:46:01
98,844,919
3
1
null
2018-10-05T03:01:02
2017-07-31T03:35:14
C++
UTF-8
Python
false
false
688
py
########################################### # Let's Have Some Fun # File Name: 151.py # Author: Weilin Liu # Mail: liuweilin17@qq.com # Created Time: Mon Aug 26 22:38:31 2019 ########################################### #coding=utf-8 #!/usr/bin/python # 151. Reverse Words in a String class Solution: def reverseWor...
[ "liuweilin17@qq.com" ]
liuweilin17@qq.com
d27a7cc8735ca16e17b623666767925f67dc0aa9
3bdf35a266547425501fdfe684ba6049f38b6690
/Paddy/api/serializers.py
7f93d5a7ecb0205720eb071b89616eab5485c1cb
[]
no_license
SIBU99/ChhatraViswaKarmaOurServerCode
a7b95a2a3b27c97b4488b1825721cc2b4063568d
b36e0f9e866f76b7d6a104897f62eacceb2faa22
refs/heads/master
2023-01-07T09:22:24.428522
2020-11-10T09:02:13
2020-11-10T09:02:13
311,376,593
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
from rest_framework import serializers from ..models import Paddy from Account.api.serializers import FarmerSerializer from Account.models import Farmer from rest_framework.exceptions import ValidationError class PaddySerializer(serializers.ModelSerializer): "This the serializer for the model : Corn" farmer = ...
[ "kumarmishra678@gmail.com" ]
kumarmishra678@gmail.com
0438f4c787caade1a5b8e1a3ef8e3b498ef03a8d
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Fisher/trend_Lag1Trend/cycle_30/ar_12/test_artificial_32_Fisher_Lag1Trend_30_12_0.py
fb2a9442dbc8a4731f3e87bf0942881517feb6bd
[ "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
266
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 30, transform = "Fisher", sigma = 0.0, exog_count = 0, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
bda7687bc1bb236ab785aa669b8d8f79f222c32c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_coffined.py
156a15c662f97716fc2ceae82faeba7aa8cdc092
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
#calss header class _COFFINED(): def __init__(self,): self.name = "COFFINED" self.definitions = coffin self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['coffin']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1d4a679d7e01b82f721f9675a3b7087c03fc0dfe
b000127408f96db7411f301553585f5da0e426cd
/code/Letter-Tile-Possibilities.py
faf5ee09133f12527c8ee128149d054486b16934
[]
no_license
SaiVK/Leetcode-Archive
5f758faf97d1ab559c4c75d26ae5cf7a256baef8
56bafeaaced2d0fd3b3d2f1a0365d24d5b41e504
refs/heads/master
2022-11-23T08:50:17.610247
2020-07-27T02:09:53
2020-07-27T02:09:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
import itertools class Solution(object): def numTilePossibilities(self, tiles): a = 0 for e in range(1, (len(tiles) + 1)): for val in set(itertools.permutations(tiles, e)): a += 1 return a
[ "christopherlambert106@gmail.com" ]
christopherlambert106@gmail.com
c63f96624ea7308bc8b1af5b80a4d286f0439386
06476bc4cb7fc3ce378beb357fac7d5aacb87b3b
/Prototype/env/lib/python3.8/site-packages/pyfilterbank/rbj_audio_eq.py
ea96d6f1ca70909b6076a14e89b3e8c77d95a2cb
[ "MIT" ]
permissive
marc-ortuno/VOPEC
44d3a74d3e0686474dd57fcb21e845fd5fd48897
e7ed1f13cc1868a824f4036dd08ec6bed4266c08
refs/heads/main
2023-06-12T19:15:18.060897
2021-07-01T17:15:03
2021-07-01T17:15:03
344,433,646
0
0
MIT
2021-06-14T19:15:47
2021-03-04T10:22:05
Python
UTF-8
Python
false
false
5,621
py
from numpy import sqrt, pi, cos, sin, sinh, log def rbj_sos(filtertype, sample_rate, f0, gain_db=None, q_factor=None, band_width=None, shelf_slope=None): if 'shelf' in filtertype and not shelf_slope: raise(ValueError('shelf_slope mus be specified.')) w0 = 2*pi * f0/sample_rate amplit...
[ "you@example.com" ]
you@example.com
c9886d0249b8595088fa4db7338186268e2c81b8
8c77b0d14dd720a89470f2aa6243a8e8d4167424
/py4e/CodeUp/1072_repeat_execute.py
619fba19b76681461ab606ae0c0cac0991d2d90d
[]
no_license
oshsage/Python_Pandas
64909c10fd98b0f2290c081dde9e6b87e17032e4
a131598d62c834d63979eda56ea15763e35fab4e
refs/heads/master
2022-12-19T19:32:20.436935
2020-10-24T07:17:10
2020-10-24T07:17:10
298,832,643
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
# n개의 정수가 순서대로 입력된다. # -2147483648 ~ +2147483647, 단 n의 최대 개수는 알 수 없다. # n개의 입력된 정수를 순서대로 출력해보자. # while( ), for( ), do~while( ) 등의 반복문을 사용할 수 없다. cnt = int(input()) i = 1 list = list(input().split(' ')) while i < cnt+1: print(list[i-1]) i += 1 # 사용한 개념: while, +=, list[n] # list[n]: 리스트의 n번째 항. n은 0부터 시작한다!
[ "oh12sung@naver.com" ]
oh12sung@naver.com
0908c5536c97723509afee287b17b5b5981324ec
5cec1ff43bf38cf31316254dabe3f972d38744ad
/src/hydrat/classifier/scikits_learn.py
f471c9e8b1665a01199d88be5270701ded21ba07
[]
no_license
eyadsibai/hydrat
7fb63f3c54f1fca25d04ab7266712c1077ffa2e3
5a68c6b8f32bc6bad59c3f002340bf7ef62e868c
refs/heads/master
2016-09-06T14:16:46.082697
2013-08-06T05:14:02
2013-08-06T05:14:02
33,199,904
1
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
""" hydrat's interface to scikit.learn http://scikit-learn.sourceforge.net Marco Lui <saffsd@gmail.com> October 2010 """ import numpy from hydrat.task.sampler import isOneofM from hydrat.classifier.abstract import Learner, Classifier, NotInstalledError class ScikitL(Learner): """ Lightweight wrapper for scikit's...
[ "saffsd@gmail.com" ]
saffsd@gmail.com
156830a676d14598a35ddbffe19483abee65d4ef
a4a63eedacd544872fbfa33fc58d7cf1558829b7
/backend/manage.py
d16b861497712dfed65ee38b10618872047b7a96
[]
no_license
crowdbotics-apps/revil-18107
3d9bd52855e33debaa60f4f5c801629fb1aa60da
2671f3410b43cd8ed2ccc51780a80366fb594684
refs/heads/master
2022-10-17T09:34:39.097853
2020-06-15T00:05:02
2020-06-15T00:05:02
272,301,823
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "revil_18107.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8c1f992909d87f31cc7c977d65ad54a7e5165a10
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03200/s727157767.py
3bb8da266eec20606492b32fc65225b1b0ffa5ff
[]
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
141
py
s = list(input()) ans = 0 cntB = 0 for i in range(len(s)): if s[i] == 'B': cntB += 1 else: ans += cntB print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com