blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
4007d1d834eb93435d048abbcfd50d203437f465
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/fbs_0710+377/sdB_FBS_0710+377_coadd.py
784ba860dd2a13c3afcbb4bf0b1f021dbaf1d73b
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[108.462625,37.6635], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_FBS_0710+377/sdB_FBS_0710+377_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sdB...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
3b517fc30ab30ab7f92ed6c78e129c03e69d2e2c
18631e9a657324ef1f83da58f4346e9f2c368d28
/contrib/testgen/base58.py
fcce6ed46f95e9484592c24f2ae01ea5b751fe9a
[ "MIT" ]
permissive
thehomosapien/AMLBitcoin
1e68bf6621d9ee055385ef420b45c9dc289b4f8c
f097ca52c2e8039761f1927d83a9fe0b4c355b1c
refs/heads/master
2020-05-26T08:27:40.095034
2019-05-24T07:31:43
2019-05-24T07:31:43
188,166,902
0
0
null
null
null
null
UTF-8
Python
false
false
3,042
py
# Copyright (c) 2012-2016 The Bitcoin Core developers # Copyright (c) 2017 The AmlBitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' AmlBitcoin base58 encoding and decoding. Based on https://AmlBitcointalk...
[ "rishabhshukla@opulasoft.com" ]
rishabhshukla@opulasoft.com
6435387f6bb4fd732575479041e194689557fd59
b6f8e779d6424ddeb5437f56c1334aaaf0b52afa
/oscar_mws/management/commands/mws_submit_product_feed.py
5ae721616f14ae485241fafaf5750ed870d358d0
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
gaybro8777/django-oscar-mws
f97e9e908935432136ee0bf922f6d03816f1f15f
4ea012943d61b1c38c14c392230be92e48525f59
refs/heads/master
2022-05-08T12:49:17.898825
2014-09-29T16:00:22
2014-09-29T16:00:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
from optparse import make_option from django.db.models import get_model from django.core.management.base import NoArgsCommand from oscar_mws.feeds.gateway import submit_product_feed Product = get_model('catalogue', 'Product') class Command(NoArgsCommand): option_list = NoArgsCommand.option_list + ( mak...
[ "sebastian@roadside-developer.com" ]
sebastian@roadside-developer.com
8d1dc5d7269623aff468e6d9463065c12ce3978d
7f179410290d742baf96f363ded51a3275298dc7
/mmediting/mmedit/models/backbones/sr_backbones/duf.py
e38e23edea06a365121f64aa87717a784dbe304a
[ "Apache-2.0" ]
permissive
H-deep/Trans-SVSR
b0c4f01b34ae3c8d45dc6acdf39f75ab2a8f1dec
ed67fb4bbd734313b4ae7af390f993398f4b30ab
refs/heads/main
2023-05-23T22:42:00.297036
2022-06-20T05:46:44
2022-06-20T05:46:44
431,305,569
38
6
null
null
null
null
UTF-8
Python
false
false
2,697
py
# Copyright (c) OpenMMLab. All rights reserved. import numpy as np import torch import torch.nn as nn import torch.nn.functional as F class DynamicUpsamplingFilter(nn.Module): """Dynamic upsampling filter used in DUF. Ref: https://github.com/yhjo09/VSR-DUF. It only supports input with 3 channels. And it ...
[ "hassan.imani@student" ]
hassan.imani@student
a4f55acb3baf7ca1cbb285f095ba2e8627f814b1
85e3de2fec6013d2eeb1969f51871937bce61258
/blog/models.py
eed6906a9bcf261c1e3f0854726abd05233c564a
[]
no_license
Jrius4/analysisapi
715477b7a1bfa4462897764385a744020b1e8c32
12a4bd66f530fafe587fe02ce84ed164c79e451b
refs/heads/master
2023-03-25T22:00:03.357108
2021-03-23T03:15:56
2021-03-23T03:15:56
342,872,681
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
from sqlalchemy import func, Column,Integer,String, Boolean,DateTime from sqlalchemy.sql.expression import true from .database import Base from datetime import datetime class Blog(Base): __tablename__ = 'blogs' id = Column(Integer,primary_key=True,index=True,nullable=False) title = Column(String) body ...
[ "kazibwejuliusjunior@gmail.com" ]
kazibwejuliusjunior@gmail.com
920a54cad36fe30b6373ff452238bbc16566cdc5
6d542d331ffff57805b049451e0570a5540b0fae
/venv/bin/django-admin.py
0ff19f0fa76f9560eed3e876ac587267a235915a
[]
no_license
vansh1999/Task_manager_Django
94ef99d20940e8c2a2ac74b5ef218aea444ec247
b276009308eec45f8282d4a83a55c751bce74753
refs/heads/master
2020-08-09T02:02:01.199270
2019-10-10T19:22:40
2019-10-10T19:22:40
213,972,534
2
0
null
null
null
null
UTF-8
Python
false
false
157
py
#!/home/vansh/task_manager_django/venv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "vansh.bhardwaj1999@gmail.com" ]
vansh.bhardwaj1999@gmail.com
e58575c1a91a1f1c5af23b675785eead0d157265
a5fcf5efa26615922ad3a8169d4f8911ab6cefe7
/apis_v1/documentation_source/twitter_sign_in_start_doc.py
ed4818f6e0437c404bc12ca6a5d48238e01dd486
[ "MIT" ]
permissive
eternal44/WeVoteServer
c0bc5ad96c0c72c6b4b3198a91ef44b6f347cc93
acaae24d7cb0ec34ec4470247ea1072ee34510cb
refs/heads/master
2021-01-15T12:44:19.988036
2016-04-28T05:03:42
2016-04-28T05:03:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
# apis_v1/documentation_source/twitter_sign_in_start_doc.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- def twitter_sign_in_start_doc_template_values(url_root): """ Show documentation about twitterSignInStart """ required_query_parameter_list = [ { 'name': ...
[ "dale.mcgrew@wevoteusa.org" ]
dale.mcgrew@wevoteusa.org
d81f57fdf2f27ac0c815c5915b5bd91d26af1712
ad8b30544480ba1e5f5b1cb2dec2aa77a644e8d2
/SWEA/D4_1249_Bogupro.py
f4877e82f0e5fc3d7116d995d07d10be94c7fa43
[]
no_license
hyunwoojeong123/Algorithm
79abc82d944ca60342a7f8b6fc44fac20ac55123
0baaf3222fbbec699ffbec5d4cc680067cf293fb
refs/heads/master
2023-07-10T18:28:51.934005
2021-08-18T01:51:23
2021-08-18T01:51:23
284,403,698
1
0
null
null
null
null
UTF-8
Python
false
false
827
py
di = [0,0,1,-1] dj = [1,-1,0,0] T = int(input()) for tc in range(1,T+1): N = int(input()) temp_board = [input() for x in range(N)] board = [] for i in range(N): temp = [] for j in range(N): temp.append(int(temp_board[i][j])) board.append(temp) visited = [[-1 for ...
[ "hw2621@daum.net" ]
hw2621@daum.net
26dfb480f7f646ad4e455c0664593f6a18c1119a
62905741553a2c749989af4cc52e636272b495c7
/lite/migrations/0008_auto_20190503_0229.py
b75167027a23bb888cb5f58cdf93ff47391bbb34
[]
no_license
bushitan/coffee_server
c030e0e0e48a441e7697c4383d0b431c656824e3
d69b81ff1c1821d91eef0629c7b17afa79973f0d
refs/heads/master
2021-07-05T18:13:11.307199
2020-09-23T19:03:38
2020-09-23T19:03:38
184,772,499
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('lite', '0007_share_valid_time'), ] operations = [ migrations.AddField( model_name='...
[ "373514952@qq.com" ]
373514952@qq.com
903247881b0af967c5be8da404a8be59cacbfdcb
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/inspections/PyProtectedMemberInspection/truePositiveInClass.py
45474e7b4f58b82724d6478d19ba52db91540e57
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
225
py
__author__ = 'ktisha' class A: def __init__(self): self._a = 1 def foo(self): self.b= 1 class B: def __init__(self): <weak_warning descr="Access to a protected member _a of a class">A()._a</weak_warning>
[ "Ekaterina.Tuzova@jetbrains.com" ]
Ekaterina.Tuzova@jetbrains.com
5b61af6e58ff61111af4fcf12acb276b3604b465
1c9660a76b948504ebd8a9ae6e588384912df0dd
/tests/failure.py
217c3fe5f43a42f1b50f0c3c31f56708b2362055
[]
no_license
MerouaneBen/python-progressbar
b1a64018cb974908f2c202a6964eb3a8008fe4cc
14b4705482131008c3bd6f36d5de20df77ef72e5
refs/heads/develop
2021-01-24T22:26:38.374229
2016-03-10T17:27:37
2016-03-10T17:27:37
54,357,700
1
0
null
2016-03-21T03:39:12
2016-03-21T03:39:12
null
UTF-8
Python
false
false
2,060
py
import pytest import progressbar def test_missing_format_values(): with pytest.raises(KeyError): p = progressbar.ProgressBar( widgets=[progressbar.widgets.FormatLabel('%(x)s')], ) p.update(5) def test_max_smaller_than_min(): with pytest.raises(ValueError): progres...
[ "Wolph@wol.ph" ]
Wolph@wol.ph
76c9f26a88555ed1308279a6eb10b6af3e933a6f
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_089/ch83_2020_04_13_00_15_07_042040.py
715e579553035cc52530d75fbdeaee2de813f3cd
[]
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
366
py
def medias_por_inicial(dic): novo = {} n = [] for k,v in dic.items(): if k[0] in novo: float(novo[k[0]]) += v float(novo[k[0]]) = float(novo[k[0]])/len(n) if k[0] not in novo: float(novo[k[0]]) = v n.append(1) return novo ...
[ "you@example.com" ]
you@example.com
4d0e5ab6a0eeee30851277b2558bc65ccb583654
d18ed72d6f8d27dd8a13eab5c6366f9dca48aa6b
/espresso/tags/qecalc-0.2.3/qecalc/qetask/qeparser/outputs/matdyn.py
8142bf37def068019ddfea4a5aebd3fe2885742e
[]
no_license
danse-inelastic/AbInitio
6f1dcdd26a8163fa3026883fb3c40f63d1105b0c
401e8d5fa16b9d5ce42852b002bc2e4274afab84
refs/heads/master
2021-01-10T19:16:35.770411
2011-04-12T11:04:52
2011-04-12T11:04:52
34,972,670
1
2
null
null
null
null
UTF-8
Python
false
false
4,024
py
#!/usr/bin/env python # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # QEcalc by DANSE Inelastic group # Nikolay Markovskiy # California Institute of Technology # (C) 2009 All Rights Reserved # # File coded by:...
[ "markovskiy@gmail.com" ]
markovskiy@gmail.com
45a1982dbef916bf652b5d648093ffa3e3c21e7c
bd435e3ff491d13c3cb1ffcf34771ac1c80f7859
/code/base/bitwise_operator.py
5b1ad675f38cb82a026a65444d2e7f01b6a975d9
[]
no_license
luningcowboy/PythonTutorial
8f4b6d16e0fad99a226540a6f12639ccdff402ff
9024efe8ed22aca0a1271a2c1c388d3ffe1e6690
refs/heads/master
2021-06-16T23:03:22.153473
2020-04-09T13:52:12
2020-04-09T13:52:12
187,571,993
0
0
null
2021-03-25T23:02:36
2019-05-20T05:16:13
Python
UTF-8
Python
false
false
309
py
#!/usr/bing/python # -*- coding: UTF-8 -*- a = 60 b = 13 c = 0 # & 按位与运算符 c = a & b print c # | 按位或运算符 c = a | b print c # ^ 按位异或运算符 c = a ^ b print c # ~ 按位取反 c = ~a print c # << 左移动运算符 c = a << 2 print c # >> 右移动运算符 c = a >> 2 print c
[ "luningcowboy@gmail.com" ]
luningcowboy@gmail.com
73763402fab667c852ad081aae31d5a7e92819cd
4fe3d69884994f2eb15723fccde05f48bc4aad8b
/pj0/1111.py
4ac1a1c7ee667f546ed1439feb4539ca187ffb02
[]
no_license
jeeHwon/pyPJ
76b985f97e47a83891063bd9e6357020576a0a62
279f57b080862c3347024036dfaf9f4fa89603fc
refs/heads/master
2023-06-14T21:34:23.782116
2021-07-12T06:07:40
2021-07-12T06:07:40
314,187,639
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
# 1) 함수정의 # def 함수명(매개변수): # 내용 # 2) 함수호출 # 함수명(매개변수) #f1('kim') 함수는 정의 후 사용 def f1(name) : print('hi~'+name) #f1('kim') #print(f1('lee')) #none 리턴값이 없으니까\ def f2(name) : return 'hi~'+name #print(f2('lee')) def f3(x) : y1 = x * 10 y2 = x * 20 y3 = x * 30 return y1,y2,y3 #a,b,c=10,20,30 # ...
[ "jeehwon01@gmail.com" ]
jeehwon01@gmail.com
061e11b83179c388fd784f0dfc13c8e15527e4ed
bcd0e9e78d7d9202ea5d7d59ed26c69365bd4e9e
/tests/test_wrong_parameters.py
d46688dc75779fd72f6427e5aafec750384feafa
[]
no_license
saso93/barplots
2fbbf6957e2e56ef3e76e50ca7ecdcde5883f60e
ee74a8821fa62343437a76d88c5da6271e8062a5
refs/heads/master
2022-04-14T21:20:28.070296
2020-04-10T08:35:13
2020-04-10T08:35:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
import pandas as pd import pytest from barplots import barplots def test_wrong_parameters(): root = "test_barplots" df = pd.read_csv("tests/test_case.csv") with pytest.raises(ValueError): barplots( df[df.cell_line == "CIAO"], ["cell_line", "task", "balancing", "model"], ...
[ "cappelletti.luca94@gmail.com" ]
cappelletti.luca94@gmail.com
1abc3ddb82d38253c0605b306bd1fbee2392690b
06ed3f41ff67204f244003a1d45fb2c9fc643f71
/crawler.py
d18fba6c823f4f7ca6f9aea8474758b1afedc10a
[]
no_license
JFluo2011/async_crawler
71ca397efd1a62f7bdd1869d8fa60e88eacfad27
b3ffc059889f36740d9c16ab0bd92aca6683b984
refs/heads/master
2020-03-11T18:11:05.942945
2018-04-19T07:40:55
2018-04-19T07:40:55
130,169,937
0
0
null
null
null
null
UTF-8
Python
false
false
7,061
py
import os import re import sys import json import random import asyncio from asyncio import Queue import logging import concurrent import aiohttp import async_timeout import redis from lxml import etree class Crawler(object): def __init__(self, max_tasks=100, store_path='.', *, loop=None): self.loop = lo...
[ "l" ]
l
17a836b400e4c622b5978ee7c0eb1de33ae291ee
cdb790c9f37c36bd885c36a348df906424393e6b
/Doudizhu/Server/src/DoudizhuServiceRole/Script/PyScript/Action/Action7001.py
e7064cd9ea36728ebf5256eee7900bf20d44268e
[]
no_license
HongXiao/Scut-samples
855eb33a3d0ec858b7e1c9d53f1b252e737fc2e0
ea2acd478de7ba58c2800dcf52fe56bbeb4b55fa
refs/heads/master
2022-07-13T15:16:45.550367
2015-05-19T02:48:10
2015-05-19T02:48:10
36,568,782
1
0
null
2022-06-23T00:19:32
2015-05-30T17:46:38
C#
UTF-8
Python
false
false
3,144
py
import ReferenceLib from action import * from System import * from mathUtils import MathUtils from ZyGames.Framework.Cache.Generic import * from System.Collections.Generic import * from ZyGames.Framework.SyncThreading import * from ZyGames.Framework.Common import * from ZyGames.Framework.Game.Cache import * ...
[ "wzf_88@qq.com" ]
wzf_88@qq.com
4fb40f24de102e6000cef42aeeab4166ff9eb0bd
b2f349672fd4a22d4ac8c104a4816c22de183264
/Reinforcement_learning_TUT/10_A3C/A3C_discrete_action.py
f17352a7e6d606ac96ca124d41b9a3469c55a7bd
[]
no_license
yuchiho2008/tutorials
63395d3c1a2d4e49601ab0e00f5471dddcc11af7
1879c68debe7420fda2582955156c8cfe4ff8dfe
refs/heads/master
2021-01-20T03:59:48.795460
2017-04-27T00:27:18
2017-04-27T00:27:18
89,617,449
1
0
null
2017-04-27T16:20:13
2017-04-27T16:20:13
null
UTF-8
Python
false
false
7,958
py
""" Asynchronous Advantage Actor Critic (A3C) with discrete action space, Reinforcement Learning. The Cartpole example. View more on [莫烦Python] : https://morvanzhou.github.io/tutorials/ Using: tensorflow 1.0 gym 0.8.0 """ import multiprocessing import threading import tensorflow as tf import numpy as np import gym ...
[ "morvanzhou@hotmail.com" ]
morvanzhou@hotmail.com
0f96c5fc093aa1d091208aa9ee5811ae624ea1e7
361459069b1b2eb5adb180d1f61241742d2fbcd8
/chapter13/psutil_test.py
32ee9a055cac8c8983358a93cfd42493abaeba15
[]
no_license
tangkaiyang/python3_laioxuefeng
1704e72163aa55ce177e5b7a88a3e7501b415ceb
02400db01f144417ef202e6c135561c304cacb3a
refs/heads/master
2020-04-28T15:13:17.163004
2019-08-06T07:53:18
2019-08-06T07:53:18
175,364,941
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
# -*- coding:UTF-8 -*_ import psutil a = psutil.cpu_count() # CPU逻辑数量 b = psutil.cpu_count(logical=False) # CPU物理核心 # 2说明是双核超线程,4则是4核非超线程 print(a, b)
[ "945541696@qq.com" ]
945541696@qq.com
86bec58195e2010ec4de0106f3b88e936e141121
68a8c68f425315e3793c311de7940095945be72d
/aat/exchange/test/harness.py
a9f3f4ff8019c6b3f204b7b691986ab7ea7c2eb6
[ "Apache-2.0" ]
permissive
z772/aat
8064b33721eaf115b7220fef71e8a14b98169e7e
8d6bcaf01c1192ca7d1e0f367c89ede2b4f4a26c
refs/heads/main
2023-02-13T08:43:37.581203
2020-12-30T00:07:43
2020-12-30T00:07:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,629
py
from datetime import datetime, timedelta from typing import List, Any, AsyncGenerator, Optional from aat import Strategy from aat.config import EventType, InstrumentType, Side, TradingType from aat.core import ExchangeType, Event, Instrument, Trade, Order from aat.exchange import Exchange class Harness(Exchange): ...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
e161d47f9aa82b2cecadfa5720a36669d3bd09eb
56eb496a6a84ab83a058cde64e5d5732772b7214
/tests/conftest.py
70d22b19f738ecc48c2b4d45a4c05dec50379946
[]
no_license
klen/peewee_migrate
e15d5a459e2f8893057dbfefcdffce7e2939b31d
daa96cea3e1ccba6733b8a52ca1b04fa1e20872c
refs/heads/develop
2023-08-29T15:47:01.427100
2023-08-07T11:41:50
2023-08-07T11:41:50
27,434,828
364
104
null
2023-08-07T11:33:27
2014-12-02T13:59:17
Python
UTF-8
Python
false
false
1,071
py
from __future__ import annotations import pytest from peewee import CharField, ForeignKeyField, IntegerField, Model class Customer(Model): name = CharField() age = IntegerField() class Order(Model): number = CharField() uid = CharField(unique=True) customer = ForeignKeyField(Customer, column_n...
[ "horneds@gmail.com" ]
horneds@gmail.com
6792a220e74b68f537d98492f0e829991249b1df
74482894c61156c13902044b4d39917df8ed9551
/cryptoapis/model/delete_automatic_tokens_forwarding_response_item_token_data_bitcoin_omni_token.py
74b4b2d78038d56eefc592b956dacfbe7ccdd394
[ "MIT" ]
permissive
xan187/Crypto_APIs_2.0_SDK_Python
bb8898556ba014cc7a4dd31b10e24bec23b74a19
a56c75df54ef037b39be1315ed6e54de35bed55b
refs/heads/main
2023-06-22T15:45:08.273635
2021-07-21T03:41:05
2021-07-21T03:41:05
387,982,780
1
0
NOASSERTION
2021-07-21T03:35:29
2021-07-21T03:35:29
null
UTF-8
Python
false
false
7,112
py
""" CryptoAPIs Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei...
[ "kristiyan.ivanov@menasoftware.com" ]
kristiyan.ivanov@menasoftware.com
f7cccc59fd574e4916d03834fa3c3ddd32a1d78c
9088d49a7716bdfc9b5770e8e54ebf7be6958fcf
/15 - Functions/Ex_100.py
376d666f4465eb04e3b71961706ab0f20121b789
[ "MIT" ]
permissive
o-Ian/Practice-Python
579e8ff5a63a2e7efa7388bf2d866bb1b11bdfe2
1e4b2d0788e70006096a53a7cf038db3148ba4b7
refs/heads/main
2023-05-02T02:21:48.459725
2021-05-18T18:46:06
2021-05-18T18:46:06
360,925,568
4
0
null
null
null
null
UTF-8
Python
false
false
430
py
from random import randint def sorteia(lista): print('Sorteando 5 valores da lista: ', end='') for c in range(0, 5): n = randint(0, 100) lista.append(n) print(n, end=' ') print() def somaPar(lista): p = 0 print(f'Somando os valores pares de {lista}, temos', end=' ') f...
[ "ianstigli@hotmail.com" ]
ianstigli@hotmail.com
8e4218ea1220951808736e037e6d2bbdcde562ca
038ce0cf1d4e6f6a8ed6736663b6bb1e02d01b2a
/the_tale/game/bills/tests/test_place_chronicle.py
fcc204731d1eddce25d58539b744f6bc03e88d80
[ "BSD-2-Clause-Views" ]
permissive
GrandUser/the-tale
d363fc34bc3cd04ced2bd718f375fa83f887c7df
3f7ec22c457a0c400ddb51dede7e8a3e962acf83
refs/heads/master
2021-01-19T06:56:52.868165
2016-05-22T15:07:32
2016-05-22T15:07:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,186
py
# coding: utf-8 import mock import datetime from the_tale.game.bills.prototypes import BillPrototype, VotePrototype from the_tale.game.bills.bills import PlaceChronicle from the_tale.game.bills import relations from the_tale.game.bills.tests.helpers import BaseTestPrototypes class PlaceChronicleTests(BaseTestProt...
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
fd28d44e462da53a2d8d116caf63fbf4725860c6
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq3379.py
1078d442198e20ed373b4d6bfac4e22fe0bb496a
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,112
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=37 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
12b54e33e3f781915e7a9bb18af05b639a89a263
dde1cf596cf5969812ecda999828baa9c73e788d
/test/test_auth_netgroups.py
aa3cde9be3901e7e8233e1965412552c0a1976d2
[]
no_license
dctalbot/isilon_sdk_python3.7
bea22c91096d80952c932d6bf406b433af7f8e21
4d9936cf4b9e6acbc76548167b955a7ba8e9418d
refs/heads/master
2020-04-25T20:56:45.523351
2019-02-28T19:32:11
2019-02-28T19:32:11
173,065,379
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
# coding: utf-8 """ Isilon SDK Isilon SDK - Language bindings for the OneFS API # noqa: E501 OpenAPI spec version: 6 Contact: sdk@isilon.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import isi_sdk_8_1_1 from i...
[ "dctalbot@umich.edu" ]
dctalbot@umich.edu
8a9564f1229e40df8de6eb5d9843f665870b2b74
a045dee4a9094b5d3b5cd61214dbb94fc9365f2f
/python/loop.py
71dbbab5f93cc931d91804f1d3dfaa7f04435c63
[]
no_license
koteswari2/Centos7
c6273c33b3c9b3be780df914021c0bbd8173eb26
36ea9c885b564400ebc1ad609b52cf888e66919a
refs/heads/master
2020-04-23T01:33:53.520430
2018-12-06T18:15:36
2018-12-06T18:15:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
#!/bin/python count = 0 while (count < 12): print 'The count is:',count count=count+1 print "Good Bye!" fruits=['banana', 'apple', 'mango'] for index in range(len(fruits)): print'Current fruit:',fruits[index] print "Good bye!" Numbers=['one', 'Two', 'Three', 'Four'] for numbers in range(len(Numbers)): print...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
0c0b8e5100b276a875ab57938e7c19b05b57eb45
141b42d9d72636c869ff2ce7a2a9f7b9b24f508b
/myvenv/Lib/site-packages/weasyprint/compat.py
754923cc6f2f74ccd0df4d1a785164f628c3ca5c
[ "BSD-3-Clause" ]
permissive
Fa67/saleor-shop
105e1147e60396ddab6f006337436dcbf18e8fe1
76110349162c54c8bfcae61983bb59ba8fb0f778
refs/heads/master
2021-06-08T23:51:12.251457
2018-07-24T08:14:33
2018-07-24T08:14:33
168,561,915
1
0
BSD-3-Clause
2021-04-18T07:59:12
2019-01-31T17:00:39
Python
UTF-8
Python
false
false
4,229
py
# coding: utf-8 """ weasyprint.compat ----------------- Workarounds for compatibility with Python 2 and 3 in the same code base. :copyright: Copyright 2011-2014 Simon Sapin and contributors, see AUTHORS. :license: BSD, see LICENSE for details. """ from __future__ import division, unicode_literal...
[ "gruzdevasch@gmail.com" ]
gruzdevasch@gmail.com
0113fac2553965828a7554e21e03e5de86aea6d6
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_switching.py
d48ca7272b9db584c77d227981b909ab87a629cc
[ "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
242
py
from xai.brain.wordbase.nouns._switch import _SWITCH #calss header class _SWITCHING(_SWITCH, ): def __init__(self,): _SWITCH.__init__(self) self.name = "SWITCHING" self.specie = 'nouns' self.basic = "switch" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0cc095547dc2f9bd880d45fb73fab330a3e35aee
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/17/32/6.py
dc11feea41d14fe14e55e51cbd5016d5f4d1d1cc
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
1,192
py
def f(intervals): time_used = [0] * 2 for i in intervals: time_used[i[2]] += i[1] - i[0] flips = 0 conseq = [] for i in range(len(intervals)): if intervals[i][2] == intervals[(i+1)% len(intervals)][2]: gap = intervals[(i+1)% len(intervals)][0] - intervals[i][1] ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
b0e31d35e135eebe91668b2d4f8b64ab8b2db75c
4a81e33fe6d214f2efaeb97b03b5b05fae12b0d8
/demos/dagster/airflow_example.py
6245e0745b6182821d83d69420b062a10d1df7e9
[]
no_license
franciscojavierarceo/Python
29aaea28642dde151255c5b4a813158e975a073d
02715ca6f19fd3c76cefa12de92deeae4ddf9684
refs/heads/main
2023-08-27T14:23:04.376095
2023-08-27T10:30:37
2023-08-27T10:30:37
33,146,755
7
9
null
2023-02-16T06:40:35
2015-03-30T20:38:00
Jupyter Notebook
UTF-8
Python
false
false
2,107
py
from datetime import datetime, timedelta from textwrap import dedent # The DAG object; we'll need this to instantiate a DAG from airflow import DAG # Operators; we need this to operate! from airflow.operators.bash import BashOperator # These args will get passed on to each operator # You can override them on a per-...
[ "arceofrancisco@gmail.com" ]
arceofrancisco@gmail.com
71a4e010e9094b9e892c02d30e60e6deff2c8e2e
5d416e0c895f0d2e15ee3d25bbae4bcfe216ed75
/occ_gallery/core_load_step_ap203.py
5f64f318964b1f2c2ede543869a4bf0ce76e1f91
[]
no_license
happydpc/PlotGallery
952e36f36c115c734c42730dcd085685d7ec9684
0724aaac6ffe0328b54ed019d6695a8e9951e734
refs/heads/master
2022-11-12T02:21:07.619237
2020-06-27T10:55:13
2020-06-27T10:55:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
# Copyright 2010-2017 Thomas Paviot (tpaviot@gmail.com) ## # This file is part of pythonOCC. ## # pythonOCC is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
81fcb6c7d4700cd348b8688a2b53228db278809b
a375f9894dcfe50bc3841c4a9eaec92cd32b51ad
/iss/inventory/filedata.py
0f0c11b88e78eaa01a6316ef7e4ecceebb0f346a
[]
no_license
v-komarov/iss
93b53b0856c8bc71b5f10196c0bbe46031d24fd9
c80ef000f96725041a793a1931365a05cfc71cf6
refs/heads/master
2020-04-24T05:21:29.707212
2019-09-12T02:03:07
2019-09-12T02:03:07
67,463,859
0
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
#coding:utf-8 import pickle import mimetypes from iss.inventory.models import devices_scheme from django.http import HttpResponse from django.http import HttpResponseRedirect from StringIO import StringIO from pprint import pformat from iss.localdicts.models import address_house,device_status from iss.inventory.model...
[ "komarov-krsk@mail.ru" ]
komarov-krsk@mail.ru
3a972af2f92e3721a5c5f2f21e01ceec6042fdd7
691e48e96cb4d676701f9f62bfb5af936d6d9cd6
/Archive_2020/M2/Archive/Raber_George_2_1.py
b3ca14620a95adf97e242bd3a004aada631f6a65
[]
no_license
mapossum/spa
50d263ff1986dd73692e3d0866c2299ace180e59
90da0167aa6cbea067c88d30aea26440b366e6b3
refs/heads/master
2022-05-19T08:20:53.293065
2022-04-13T20:35:11
2022-04-13T20:35:11
29,207,514
0
4
null
null
null
null
UTF-8
Python
false
false
484
py
def isTriangle(a,b,c): if ((a + b) >= c): if((a + c) >= b): if ((b+c) >= a): return True return False def isTriangle2(a,b,c): if (((a + b) >= c) and ((a + c) >= b) and ((b+c) >= a)): return True else: return False x = raw_input("Enter first si...
[ "george.raber@usm.edu" ]
george.raber@usm.edu
97f35bb0c9767fcf674fe4fcdb08c9eba754fb54
23b333449524887594530f73c0079ce60cb8eefb
/python_module/examples/905_Sort_Array_By_Parity.py
b8d2e84f5d23f08d14ebbc97adc750155e7abe8e
[]
no_license
benbendaisy/CommunicationCodes
9deb371095f5d67e260030d3d8abf211c90e7642
444cc502ef26810b46115797f2e26ab305a4ebdf
refs/heads/master
2023-08-09T21:46:58.691987
2023-07-20T05:11:39
2023-07-20T05:11:39
27,856,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,610
py
from typing import List class Solution: def sortArrayByParity1(self, nums: List[int]) -> List[int]: if not nums: return nums current = runner = 0 while current < len(nums) and nums[current] % 2 == 0: current += 1 runner = current + 1 while runner <...
[ "benbendaisy@users.noreply.github.com" ]
benbendaisy@users.noreply.github.com
321a466c69d691f1751545e6dce863aa8e2809d0
9b79d3530ff8907351bbc25b292e612727b52292
/scripts/homogenise_uves.py
f7fe823d909ececc63d06d6c965ab714fd629104
[]
no_license
andycasey/ges-corot-v2
1e75570e040ba1dcf937fd4e1a67457c51d4e9ad
44c2b399ab51422c4630da9dddaf463dcb780d72
refs/heads/master
2021-01-12T05:25:48.721897
2018-01-01T21:53:32
2018-01-01T21:53:32
77,928,265
0
0
null
null
null
null
UTF-8
Python
false
false
3,131
py
""" Homogenisation models. """ import yaml import logging import numpy as np import os from astropy.table import Table from collections import OrderedDict from code import GESDatabase from code.model.ensemble import EnsembleModel, MedianModel # Initialize logging. logger = logging.getLogger("ges_corot") # Create ...
[ "andycasey@gmail.com" ]
andycasey@gmail.com
4a7ca01b50a92f1683aaa1cc9b81c498302dae96
dbd3f562768ded628d5d8d7ee3e05a3e88970a8d
/novel/crawler/rudaozhisheng/spiders/sdmoz_spider.py
7bf341537172979515f7c84725ee9ca2bf681dba
[ "Apache-2.0" ]
permissive
East196/hello-py
ff51044494399c01d2c2c82ce6d753fb2258d944
a77c7a0c8e5e2b5e8cefaf0fda335ab0c3b1da21
refs/heads/master
2021-07-23T23:28:26.096703
2021-06-11T13:30:13
2021-06-11T13:30:13
97,002,099
1
1
null
null
null
null
UTF-8
Python
false
false
550
py
import scrapy class SmallDmozSpider(scrapy.Spider): name = "sdmoz" allowed_domains = ["biquge.tw"] start_urls = [ "http://www.biquge.tw/0_52/" ] def parse(self, response): for sel in response.xpath('//*[@id="list"]/dl/dd'): yield { 'title': sel.xpath('a...
[ "2901180515@qq.com" ]
2901180515@qq.com
ccfef64859c6d1e96faa77bb2752ffbec3926fef
1e7ce1c56f3030aa6df1e928bab559f50c59bad5
/logIntoRegister/models.py
e4a74fc975ac6ecf50a4fcfd8bb8b944e5518f0b
[]
no_license
AIRob/WxRobot
f7fe37331c399a9d7fb467c7e913f10cc981f8eb
b27a48edb44694d4faa349d68d9b753fe4063276
refs/heads/master
2020-06-05T04:53:11.310909
2019-05-17T06:46:30
2019-05-17T06:46:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,698
py
<<<<<<< HEAD # from django.db import models # # # # Create your models here. # # # # # class SelectedGroups(models.Model): # group_name = models.CharField(max_length=32) # wechat_id = models.ForeignKey('WechatId',on_delete=models.CASCADE) # # # class SelectedFriends(models.Model): # friend_name = models.Cha...
[ "1194681498@qq.com" ]
1194681498@qq.com
c13449ffc202d6270e8d6c963b16b4ecc48dfb1b
842396faef069255a7fe811cfe92a5aa8da358ec
/models/det/ssd.py
418d4e6aa5e033d0390c2bb53ae99923089770c6
[ "Apache-2.0" ]
permissive
Deusy94/PyTorchCV
76dd659f4f63ae2ad133d63ed05bf6da60379601
1cb7378c334763cd695ce7d65bbfc347d2adbb18
refs/heads/master
2020-03-20T18:46:24.470852
2018-06-15T07:32:35
2018-06-15T07:32:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,071
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: YangMaoke, DuanZhixiang({maokeyang, zhixiangduan}@deepmotion.ai) # SSD model import torch import torch.nn.functional as F from torch import nn from torchvision import models from collections import OrderedDict from utils.layers.det.multibox_layer import MultiBox...
[ "youansheng@gmail.com" ]
youansheng@gmail.com
4dff10447702b74bca7a88c84a38dc58bf3e18c8
00a086a141acc551c9e3aa23356013cdc8d61b61
/LeetCode/python/lc289.py
9765dda3844433c83de34b7037469f098be009db
[]
no_license
ZwEin27/Coding-Training
f01cebbb041efda78bca4bf64e056133d7b7fad7
409109478f144791576ae6ca14e2756f8f2f5cb0
refs/heads/master
2021-01-18T12:25:06.081821
2016-09-04T17:43:44
2016-09-05T17:43:44
29,571,156
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
class Solution(object): def gameOfLife(self, board): """ :type board: List[List[int]] :rtype: void Do not return anything, modify board in-place instead. """ m = len(board) if not m: return n = len(board[0]) neighbor_offsets = [(-1, -1), ...
[ "zwein27@gmail.com" ]
zwein27@gmail.com
d8cfd574b58fca80b9a6051ace0186f039807463
7357d367b0af4650ccc5b783b7a59090fdde47bb
/image_similarity/main.py
6f971af1a30acd1391e4986d9755c9b5f90eb847
[ "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
1,203
py
app = Flask(__name__) api = Api(app) index = RetrievalIndex() class BuildIndex(Resource): def post(self): request_body = json.loads(request.data) user_id = request_body["user_id"] image_hashes = request_body["image_hashes"] image_embeddings = request_body["image_embeddings"] index.build_index_for_user(user_i...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
79f5a64dca1ddc5ecb2d2711d0668cd0a6378b37
58bcbdbd6a99a8bdf02fff5bb011f3f8a9b8482e
/Level-2/trie_longest_prefix_matching.py
b30b200f49f4ea135cf1e5a9aa87f0c91f50fc12
[]
no_license
hansrajdas/algorithms
0e868bd2a53a77f1e37a9ac4ca3a4c9a8e1ebcca
062c628f5364414b257b7ba67c97999726128237
refs/heads/master
2023-07-20T08:26:37.793097
2023-07-06T16:36:19
2023-07-06T16:36:19
111,433,269
80
51
null
2023-04-30T10:20:58
2017-11-20T16:11:02
Python
UTF-8
Python
false
false
3,628
py
#!/usr/bin/python # Date: 2018-10-01 # # Description: # Given a dictionary of words and an input string, find the longest prefix of # the string which is also a word in dictionary. For example, let the # dictionary contains the following words: # {are, area, base, cat, cater, children, basement} # # Below are some inp...
[ "raj.das.136@gmail.com" ]
raj.das.136@gmail.com
849696f2c312e96672252c8cca06d92dd87ae8fb
404a8596d3c4a55efe57e6fe5f2f19747a487e28
/baekjoon/2751_sort_nums_2.py
aed4677996952ed8745149aff1d724edcdf1ee23
[]
no_license
taehwan920/Algorithm
370b72e48ba404ae1fb7a7786165b88a8daf090a
f837034d0c2f7cac370eb8cceacb8b3827ec62f9
refs/heads/master
2021-08-17T07:14:33.594428
2021-01-01T14:26:35
2021-01-01T14:26:35
237,892,425
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
import heapq import sys input = sys.stdin.readline n = int(input()) a = [] for i in range(n): heapq.heappush(a, int(input())) for i in range(n): print(heapq.heappop(a))
[ "taehwan920@gmail.com" ]
taehwan920@gmail.com
3192b95243ac852a4a5ad0bf21df516af0591b37
b9ff79430c4fd4bb5bf6723d2868d97c9df5194a
/pyina/tools.py
e4bee33648eb80250c31aa4e10971bf4ef8c47a8
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
resurgo-genetics/pyina
e50a011a4647a5027cce508b4cf75b4406e2b4d3
5a15c10f184595acb2eab58a2fca1c1300bc6e69
refs/heads/master
2021-06-24T23:28:59.463735
2017-09-10T21:37:29
2017-09-10T21:37:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,082
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2016 California Institute of Technology. # Copyright (c) 2016-2017 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - https://github.com/uqfoundation/py...
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
db91578931443d7f2791801190c7bdc58d38034f
4f3a4c194451eae32f1ff7cf3b0db947e3892365
/415/main.py
24e16793ddd87bd89c0591f41b92f5430b4e3786
[]
no_license
szhongren/leetcode
84dd848edbfd728b344927f4f3c376b89b6a81f4
8cda0518440488992d7e2c70cb8555ec7b34083f
refs/heads/master
2021-12-01T01:34:54.639508
2021-11-30T05:54:45
2021-11-30T05:54:45
83,624,410
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
""" Given two non-negative numbers num1 and num2 represented as string, return the sum of num1 and num2. Note: The length of both num1 and num2 is < 5100. Both num1 and num2 contains only digits 0-9. Both num1 and num2 does not contain any leading zero. You must not use any built-in BigInteger library or conv...
[ "shao.zhongren@gmail.com" ]
shao.zhongren@gmail.com
55cde4ec66954dc7a6e8a6a6b0e71276593a00a3
390801ebef56b11e71c012a8a73b8b37a2ab0dc2
/master/src/redsmaster/server.py
4a55a3349876e131ac51e21815eedd600e15279d
[ "Apache-2.0" ]
permissive
tpoeppke/reds
0ced79729c297619ee881109903ef539eca4cf4b
103aba7dccddc10bc445e8c8170336e44436e3c9
refs/heads/master
2021-01-15T16:16:04.650137
2014-10-01T18:58:23
2014-10-01T18:58:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,652
py
# coding=utf-8 """ This module provides the interface and the base class for the servermanager component. This file is part of redsmaster, which was developed as part of a bachelor thesis at the Karlsruhe Institute of Technology, Germany and is hereby released under the following license terms. Copyright 2013 Tobi...
[ "none@none" ]
none@none
0addd10dbc38520d4cdd0a2ae9394f4066d84e56
215bff5814f1f004d993625875c9754041c55b7f
/polyfile/polyfile.py
64c1137a3f198968001eca8fe2f424e00e65ca60
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
polymath-is/polyfile
d641f3ce8928b29e67f4550fbfe49e18cea7193b
5c35f703c89cebc208c45adf140ec05e42fcc4c2
refs/heads/master
2023-04-30T07:16:15.972382
2021-05-19T23:27:59
2021-05-19T23:27:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,749
py
import base64 from json import dumps from pathlib import Path import pkg_resources from typing import Any, Dict, IO, Iterator, List, Optional, Set, Tuple, Type, Union from .fileutils import FileStream from . import logger from .magic import MagicMatcher, MatchContext __version__: str = pkg_resources.require("polyfile...
[ "evan.sultanik@trailofbits.com" ]
evan.sultanik@trailofbits.com
e81b17c71c1cb0913b2f8e14c46017fe82f0e1cb
f3b233e5053e28fa95c549017bd75a30456eb50c
/bace_input/L7H/7H-3D_MD_NVT_rerun/set_5.py
7f57a150d70e13e49817e3791e8e39dac33e1288
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/bace/L7H/MD_NVT_rerun/ti_one-step/7H_3D/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_5.in' temp_pbs = filesdir + 'temp_5.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
a92f9fd99fc7d819745baec75940dd2ea2b01017
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/ouWxFayrk3ySG6jsg_14.py
7b3411d094999fbd0fc346bae879f0df0acdf731
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
""" Create a function that takes a Tic-tac-toe board and returns `"X"` if the X's are placed in a way that there are three X's in a row or returns `"O"` if there is three O's in a row. ### Examples who_won([ ["O", "X", "O"], ["X", "X", "O"], ["O", "X", "X"] ]) ➞ "X" who_won([ ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1843cc115832f296547195c3eea022d4a3149e73
8aa0d1d407bb1c66d01261f7e2c4e9832e856a2d
/experiments/experiments_toy/convergence_average/nmf_vb.py
b1db51c8ac94db9d6a3934198d7d2840f56e367b
[]
no_license
garedaba/BNMTF_ARD
59e3ec1dbfd2a9ab9f4ec61368ec06e3783c3ee4
0a89e4b4971ff66c25010bd53ee2622aeaf69ae9
refs/heads/master
2022-01-16T06:57:12.581285
2018-06-10T10:22:12
2018-06-10T10:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,501
py
""" Recover the toy dataset using VB. Measure the convergence over iterations and time. We run the algorithm 20 times and average the training error and time stamps. We only store the MSE. """ import sys, os project_location = os.path.dirname(__file__)+"/../../../../" sys.path.append(project_location) from BNMTF_AR...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
d3b6b9011bd034a5756ca0acced2c681b0e821ae
a04e9aa34f9c1d03186c57035b27c1d62d1b3a5e
/Fundamentals/mathPractice.py
9e8b679e7d1d496840bf72e9aaecf023c25186ab
[]
no_license
dusty-g/PythonAssignments
eb7eaac6a78e85aad851c2e87dde9ee2a63ef09f
2f4750fe71cee6205ee9c70d04dbf697174cc6ea
refs/heads/master
2021-01-19T00:10:00.614254
2017-04-08T03:58:48
2017-04-08T03:58:48
87,146,497
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
def multiples(): for i in range(1000): print i + 1 # multiples() def multiples2(): for i in range(5, 1000001, 5): print i # multiples2() def sumList(list1): temp = 0 for i in list1: temp += i # print temp return temp # sumList([1, 2, 5, 10, 255, 3]) def avgList(list1): ...
[ "dustygalindo@gmail.com" ]
dustygalindo@gmail.com
befd707fa5cab2ca392f9e5cfc4bdfa53e2c0bce
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/iam/service_accounts/keys/list.py
664217fd66ec34a97c87b78406194809f5d2130e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
2,879
py
# -*- coding: utf-8 -*- # # Copyright 2015 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
697f3f61c9c7e2df13f7b2058b7bdff717354b4e
137b64063baf8dea981abe9e649f6846744240f7
/curvebeats.py
79633d40bb579965ea482076ce6a1f2f9552bfb4
[]
no_license
hecanjog/sketches
c46b55cecb7a4d5f26a5233344a2e274d69380e4
f533114a42f23e405e973fe4822f2aefea18a1e0
refs/heads/master
2021-05-15T01:29:32.178054
2017-10-09T09:33:45
2017-10-09T09:33:45
37,076,056
0
0
null
null
null
null
UTF-8
Python
false
false
3,378
py
from pippi import dsp, tune from hcj import keys, fx, drums kick = dsp.read('snds/kick.wav').data hat = dsp.read('snds/hat.wav').data snare = dsp.read('snds/snare.wav').data bpm = 100 numbars = 8 * 4 * 4 barlength = 6 beat = dsp.bpm2frames(bpm) # rhodes chord sequence numchords = numbars out = '' # start with ran ...
[ "erik@hecanjog.com" ]
erik@hecanjog.com
86647ff3247732543dbf966521db608f81e11eb5
4e2e57a8b91a7a77c512a60cfe8263812c2c21e6
/zolia_server/vibration/migrations/0001_initial.py
08afe0afab4b5b58ded79f340ec3e14ea8d741e8
[]
no_license
AceOfGSM/Zolpia-Server
89b31813033626b3f646bf30ed3c99a582bc0a86
34f21a4bc541117bc67d6fcccd24d47f78081ca2
refs/heads/develop
2023-01-23T23:00:25.237916
2020-12-06T12:09:16
2020-12-06T12:09:16
317,856,809
0
0
null
2020-12-05T05:48:40
2020-12-02T12:35:56
Python
UTF-8
Python
false
false
1,341
py
# Generated by Django 3.1.4 on 2020-12-05 00:20 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "hanbin8269@gmail.com" ]
hanbin8269@gmail.com
c9df6ce57932310797cb9fdbc3615f188102aa3e
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/1601. Maximum Number of Achievable Transfer Requests.py
e1bf97fed3d283cd36d5b85c14f6821b87a50d91
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
from typing import List import collections class Solution: def maximumRequests(self, n: int, requests: List[List[int]]) -> int: dp = collections.defaultdict(set) dp[0] = set([tuple([0] * n)]) ans=0 for req in requests: s, t = req new_dp=collections.defaultdi...
[ "19241008o" ]
19241008o
ac5b27554b844c44be1535d23861da6cc414251e
eb4f61315e8f0b139d0af3a95c59a2907845ebfd
/7-8(am)/all folders/practice/PYTHON/regular expressions/regular5.py
a8cb37d70cc5c524673146e1fa676ae6acb3d6a1
[]
no_license
vamsikrishna6668/python-core
c1d368792fa6f89bf51ae690d20b45cb5ae0fb98
b66ad0f6ad0deffbc350d5a7996f23220940e187
refs/heads/master
2020-04-02T10:00:39.641928
2018-10-23T12:19:14
2018-10-23T12:19:14
154,320,508
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
import re fobj1=open('emp','r') fobj2=open('prasad2.txt','w') fobj2.write('sid mobile') fobj2.write('\n') for line in fobj1: lst=re.findall(r'\w{1,}',line) if lst!=[]: fobj2.write(lst[0]+"\t"+lst[3]) fobj2.write('\n') fobj1.close() fobj2.close()
[ "vamsikrishna6668@gmail.com" ]
vamsikrishna6668@gmail.com
b56cb428597908dc471af9ef6cbde791e048d423
1509d32ef8854845428961c3ead89fff26c0dd9d
/automate_boringStuff.py
a0d70d3c6835b83a124da1373794198f6971be0d
[]
no_license
antonioam82/ejercicios-python
d623324e2e59ecddcf03400064a8aa3591bfd7e5
2dfe23494b9b34a9a0abe9379dcb69af9b1e9d73
refs/heads/master
2023-09-04T02:16:55.584179
2023-09-03T19:50:05
2023-09-03T19:50:05
137,039,851
35
41
null
null
null
null
UTF-8
Python
false
false
514
py
import pyautogui import time from VALID import OKI, ns #DELETING FILES FROM "Python" FOLDER. while True: num =(OKI(input("Número de archivos: ")))+1 for i in range(0,num): pyautogui.moveTo(241,132) time.sleep(0.3) pyautogui.click() time.sleep(0.5) pyautogui.click(button=...
[ "noreply@github.com" ]
antonioam82.noreply@github.com
30c52904bb299428f5bc9084a45ccae38b2cfe9b
cc0a0b1237d5977f5d088839bddc06f4be5f71df
/pairingchef1.py
986aa7ae6e330835dc132885fe5a5ec9f990c997
[]
no_license
blitu12345/code-codechef
ec5cb677189802163cca8028e12acc2226cb8d61
e2acc37dfaa191fe82f76529b8ed09799e576853
refs/heads/master
2020-06-14T23:37:52.560907
2017-12-15T17:50:40
2017-12-15T17:50:40
75,399,038
1
0
null
null
null
null
UTF-8
Python
false
false
525
py
t = input() while(t>0): t-=1 n,m=map(int,raw_input().split()) a=[0]*m b=[0]*m for i in range(m): a[i],b[i]=map(int,raw_input().split()) A=[];A.append(m-1) count=1 #print "A" #print A while(count!=0): count=0 for i in range(m): #print "i" #print i if(count==1): break for j in A: #p...
[ "ashishbkarel@gmail.com" ]
ashishbkarel@gmail.com
52c87f77e2ad7a4d7dd5bdb94ddb8b2da3f6cb29
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2016_schizConnect/2018_analysis_2ndpart_clinic/discriminative_clusters_correlations/Freesurfer/00_create_clusters_scores.py
e614c8039e13552076a89f2343bb74d6c1e72c6a
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
7,634
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Dec 21 12:08:33 2017 @author: ad247405 """ import os import subprocess import json import numpy as np from sklearn.cross_validation import StratifiedKFold import nibabel from sklearn import svm from sklearn.metrics import precision_recall_fscore_suppo...
[ "ad247405@is222241.intra.cea.fr" ]
ad247405@is222241.intra.cea.fr
5ed94beafb22b30e681c06efc08b50f5a29ecf8e
c107c05bc16b53cd057508e18a0dbe9854343a13
/gridix/views/helpers.py
22fc09be7515026cea268b35221473a96f6130b8
[]
no_license
hkmshb/gridix.web
d80b7561aade5f77bcc43257742d8e56a628bf2e
bda0adf5465a085b0337a8f749c87a21b73b7741
refs/heads/master
2021-09-07T08:36:25.089579
2017-10-02T09:49:52
2017-10-02T09:49:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from pyramid.httpexceptions import HTTPRedirection, HTTPFound from pyramid.view import notfound_view_config, forbidden_view_config @notfound_view_config(renderer='404.html') def notfound_view(request): request.response.status = 404 return {} @forbidden_view_config() def forbidden_view(request): request...
[ "hkmshb@gmail.com" ]
hkmshb@gmail.com
e48be328a1e3f65413f15b61216170e5fc4ba758
e09a6cebfcc9f104b154c1800dc5d768824351c3
/src/emuvim/api/openstack/helper.py
5f9d5730642d1be2be6d944f30a8d30e2e0b077c
[ "Apache-2.0" ]
permissive
containernet/vim-emu
e03b0d09eee0d7ab09a7159bc13baa1897dbe1db
af63353116f346dc728588638fbd4888d98243da
refs/heads/master
2021-06-28T06:43:02.077977
2021-02-14T17:37:01
2021-02-14T17:37:01
217,866,279
19
5
Apache-2.0
2020-01-30T14:42:58
2019-10-27T14:23:04
Python
UTF-8
Python
false
false
1,500
py
# Copyright (c) 2015 SONATA-NFV and Paderborn University # 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 re...
[ "manuel.peuster@uni-paderborn.de" ]
manuel.peuster@uni-paderborn.de
23edb498e2bc0ae6b8eabfc29b1a32fa539adcab
ae67b9d90db114c1e15ce63ee0d27942d999a83b
/ask-smapi-model/ask_smapi_model/v1/audit_logs/audit_logs_request.py
120c02de81d1b4a567c9ac0dc62ecefcf8d98a16
[ "Apache-2.0" ]
permissive
Birds-Awesome-Org/alexa-apis-for-python
ecb2e351b5cb1b341dda5c3ebc38927fa6d66a93
d22c1712cb53a442b72f830f53d97ef66075750b
refs/heads/master
2022-12-30T04:37:51.214040
2020-10-09T21:41:03
2020-10-09T21:41:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,699
py
# coding: utf-8 # # Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com" ]
ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com
90290b8a0ae23c44b6a5fe65a3bff3ca11786546
96a34a048c783a75736bf0ec775df22142f9ee53
/packages/service-library/tests/test_pools.py
13c62ad0a3a49cec6d66308464ce5a842253de56
[ "MIT" ]
permissive
ITISFoundation/osparc-simcore
77e5b9f7eb549c907f6ba2abb14862154cc7bb66
f4c57ffc7b494ac06a2692cb5539d3acfd3d1d63
refs/heads/master
2023-08-31T17:39:48.466163
2023-08-31T15:03:56
2023-08-31T15:03:56
118,596,920
39
29
MIT
2023-09-14T20:23:09
2018-01-23T10:48:05
Python
UTF-8
Python
false
false
1,823
py
from asyncio import BaseEventLoop from concurrent.futures import ProcessPoolExecutor from servicelib.pools import ( non_blocking_process_pool_executor, non_blocking_thread_pool_executor, ) def return_int_one() -> int: return 1 async def test_default_thread_pool_executor(event_loop: BaseEventLoop) -> No...
[ "noreply@github.com" ]
ITISFoundation.noreply@github.com
b1d41c2a061445cdfaefb2fb3eea35a381cb1532
3ef70fe63acaa665e2b163f30f1abd0a592231c1
/stackoverflow/venv/lib/python3.6/site-packages/twisted/application/__init__.py
a462fa6b24a6220fac90807dab0691a4d41bd7a3
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
wistbean/learn_python3_spider
14914b63691ac032955ba1adc29ad64976d80e15
40861791ec4ed3bbd14b07875af25cc740f76920
refs/heads/master
2023-08-16T05:42:27.208302
2023-03-30T17:03:58
2023-03-30T17:03:58
179,152,420
14,403
3,556
MIT
2022-05-20T14:08:34
2019-04-02T20:19:54
Python
UTF-8
Python
false
false
129
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Configuration objects for Twisted Applications. """
[ "354142480@qq.com" ]
354142480@qq.com
a204bfa59a920814e91d248b12987f740ff833e4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03775/s140334144.py
808b79385c9d8a685bb4df5c9b7089e1243a768c
[]
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
460
py
def calc_digits(num): ans = 1 while True: if num // 10 == 0: break num //= 10 ans += 1 return ans def main(): N = int(input()) n = int(N ** 0.5) ans = 10 ** 10 for A in range(1, n + 1): if N % A == 0: B = int(N / A) else: continue A_digits = calc_digits(A) B_digits = calc_digits(B)...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
47eb757a1d1856704188947c9a4c599466ad074f
387cf5f72ed6679a4d9e04bddd16998a190c4caf
/problems/programmers/lv3/pgs-70130.py
565a815e56cc4f7a03cb10126243e422562f6780
[]
no_license
CodyBuilder-dev/Algorithm-Coding-Test
db4ee1e7565fbcef3140192225167eff42ad5c02
cca5c4ba8bc31679ab00aceccfd8d9d39c232f72
refs/heads/master
2021-07-24T00:34:41.888289
2021-07-21T14:29:00
2021-07-21T14:29:00
219,123,221
1
0
null
null
null
null
UTF-8
Python
false
false
1,817
py
""" 아이디어 : 각 원소의 인덱스를 저장하고, 이로부터 스타 수열의 길이를 찾을 수 있다 """ from pgs70130tc import tc_in,tc_out def find_starlen(elem,idx_list,array): prev_idx = idx_list[0] star_len = 0 if prev_idx > 0: prev_position = 1 star_len += 2 elif prev_idx == 0 and len(idx_list) > 1 and idx_list[1] >= 2: ...
[ "imspecial1@u.sogang.ac.kr" ]
imspecial1@u.sogang.ac.kr
0cd28581ddd4c00fb63e1b355411284e5474fafe
668188f5368680567be8c4af55a731e45a2380ba
/util/elections_data/import_elections_data.py
549adcaa113ec96aaa727c111da1cc587c236faf
[]
no_license
wrishel/Ballot_tally
ec6ff128e61d6ebfe91574c9b55e083849665502
3e4ed8c4fe0503ead9b55fac77d3cfcd97c73c41
refs/heads/master
2023-06-24T17:35:51.537643
2021-07-28T18:38:32
2021-07-28T18:38:32
387,261,878
1
0
null
null
null
null
UTF-8
Python
false
false
619
py
"""Import data from a specific Verity report that might be called something like "Detailed vote totals".""" import csv from pathlib import Path import pandas as pd import dbase import GLB_globs import io GLB = GLB_globs.GLB_globs() db = dbase.ETPdb() db.connect('testing') import_fn = 'Detailed vote totals-12-2-...
[ "wrishel@gmail.com" ]
wrishel@gmail.com
18e7065e030d68e04728adde091f0254051ef38c
4b5ee91dabf402522685cea452ba51c10dbb834e
/server/bin/download/terkel.py
9021d384a19c682b44f2e25661248ae7f3761db8
[]
no_license
unscrollinc/unscroll
8fb175d6cf9c2f91bdfc7a97a8da71beca7e702d
88168af51abf8a0bfa06dcc22bd0ec11b671d989
refs/heads/master
2023-01-10T03:15:17.737493
2021-01-28T20:57:57
2021-01-28T20:57:57
196,251,483
7
0
null
2023-01-09T22:06:57
2019-07-10T17:52:37
JavaScript
UTF-8
Python
false
false
3,116
py
import re import bs4 # import requests_cache import requests from pprint import pprint from tableextractor import Extractor from unscroll import UnscrollClient from unscrolldate import UnscrollDate from edtf import parse_edtf, text_to_edtf, struct_time_to_datetime from datetime import date from datetime import datetime...
[ "ford@ftrain.com" ]
ford@ftrain.com
b752584723eb119dfedd4df2836597322efccab9
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/Autodesk/Revit/DB/__init___parts/FilterNumericGreaterOrEqual.py
3e887f1795e5b745c4a120e6d1d8abefc5db08fb
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
896
py
class FilterNumericGreaterOrEqual(FilterNumericRuleEvaluator,IDisposable): """ Tests whether numeric values from the document are greater than or equal to a certain value FilterNumericGreaterOrEqual() """ def Dispose(self): """ Dispose(self: FilterNumericRuleEvaluator,A_0: bool) """ pass def ReleaseUnmana...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
4963d09b963ff6e3efa42cbc57da349c97f102eb
2da2552656f4470b8f857e9db21473d341f1add2
/tests/contrib/django/test_middleware.py
2dafd8a234823e97b2743f524d349325d411f6f1
[]
no_license
Scofields/dd-trace-py
dab06a8b461211186d18bb6702d9e24a46ef6adb
0e8ed5282774f5e5b172f93d4868826b4b4ae56b
refs/heads/master
2021-06-18T04:09:32.616941
2017-06-07T21:26:53
2017-06-07T21:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,672
py
# 3rd party from nose.tools import eq_ from django.test import modify_settings from django.core.urlresolvers import reverse # project from ddtrace.contrib.django.conf import settings from ddtrace.contrib.django import TraceMiddleware # testing from .utils import DjangoTraceTestCase class DjangoMiddlewareTest(Djang...
[ "emanuele.palazzetti@datadoghq.com" ]
emanuele.palazzetti@datadoghq.com
7ff386e3fbbfbfa51c32bf91d004cd1a8d786025
fcb04d0a3deb909dae2113a3db2fb73f7d01f959
/GlyphProofer/dist/GlyphProofer.app/Contents/Resources/lib/python2.6/numpy/linalg/setup.py
fff4ca980b136391a75eba82a8b2e43237693c07
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
houseind/robothon
9e90dc7353aea411f8b322c7fbdb4f8e456ca171
b483ca3f6c6c92366b383c9f0df89d1541697723
refs/heads/master
2021-03-12T19:38:29.897078
2012-11-01T11:10:41
2012-11-01T11:10:41
3,603,847
9
1
null
2012-11-01T11:10:42
2012-03-02T16:27:43
Python
UTF-8
Python
false
false
1,339
py
import sys def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration from numpy.distutils.system_info import get_info config = Configuration('linalg',parent_package,top_path) config.add_data_dir('tests') # Configure lapack_lite lapack_info = get_...
[ "ben@benkiel.com" ]
ben@benkiel.com
644e059be2b5865dbd65a12165ad5f3cb505fae2
5ef455fd26f8ef443e12d44c5572ad96245abdec
/codes/caglar/core/operators.py
3cd1dea090714e4392861a56bccd957976a6eac5
[]
no_license
afcarl/PentominoExps
3bb1bd48851e98f577b3500d54430b963c6f0e9b
0aa5fbc487f04617015764faccfa3937b0b686e5
refs/heads/master
2020-03-17T02:36:44.698092
2016-10-30T00:29:59
2016-10-30T00:29:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,745
py
import numpy as np import theano import theano.tensor as TT from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams import scipy import scipy.linalg from scipy.linalg import circulant from caglar.core.commons import EPS, Sigmoid, Tanh, floatX from caglar.core.utils import concatenate, get_key_byname_fr...
[ "ca9lar@gmail.com" ]
ca9lar@gmail.com
6b4ef8dbb5138461971f7e950467cd9317894416
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/81190_Oneline_2D_Array_Transposition/recipe-81190.py
e8ae050cb0a860384757c61fc8dc618318d1a217
[ "MIT", "Python-2.0" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
215
py
arr = [[1,2,3],[4,5,6],[7,8,9],[10,11,12]] # The subject should be regular, with all rows the same length print [[r[col] for r in arr] for col in range(len(arr[0]))] [[1, 4, 7, 10], [2, 5, 8, 11], [3, 6, 9, 12]]
[ "betty@qburst.com" ]
betty@qburst.com
7f9cb77ca421d89f684ee1c45a555db4e02c7553
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_292/ch44_2020_04_07_16_09_27_380174.py
25b2393cb3c7442ec4e8493b9298b55961eff5d8
[]
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
239
py
dn ={'JANEIRO':'1','FEVEREIRO':'2','MARCO':'3','ABRIL':'4','MAIO':'5','JUNHO':'6','JULHO':'7','AGOSTO':'8','SETEMBRO':'9','OUTUBRO':'10','NOVEMBRO':'11','DEZEMBRO':'12'} a = input('escreva uma mes em letra maiuscula: ') x = dn[a] print(x)
[ "you@example.com" ]
you@example.com
8632c31a6ed6cc6325863ad03fea294ea393bb19
232c2738dff4b89ca63d7d4ec3c812570e3860c3
/ch02/ppmi.py
279fff8158ab54e6e42e2883a733ace6458a127c
[]
no_license
Soh1121/DeepLearningFromScratch2
0c115fcdf15c7b0cfd5d1ce7c6c32873354839d7
f2294156c6394fd105a6534801ff42a078b0a0af
refs/heads/main
2023-02-19T15:58:58.779465
2021-01-20T02:06:07
2021-01-20T02:06:07
319,550,802
0
0
null
2021-01-19T06:30:58
2020-12-08T06:45:41
Python
UTF-8
Python
false
false
438
py
import sys sys.path.append('..') import numpy as np from common.util import preprocess, create_co_matrix, cos_similarity, ppmi text = 'You say goodbye and I say hello.' corpus, word_to_id, id_to_word = preprocess(text) vocab_size = len(word_to_id) C = create_co_matrix(corpus, vocab_size) W = ppmi(C) np.set_printopti...
[ "satou.shg@gmail.com" ]
satou.shg@gmail.com
b8664333395dab3b46c91caeabb4de654f14f0f8
1f3920ef61f409fd6e512765afebabbbb264e4c0
/L4P5/histogramfun.py
a84098c900fce92c32b2a6363d09189bf09d9463
[ "Giftware" ]
permissive
007lva/6.00.2x
6d96c22a2c7ec43d13fb87ab517bf2f567d92272
632c81c0f614d8beaeb9003d77eab3d8d7738f9b
refs/heads/master
2016-09-06T15:31:22.603672
2014-12-03T00:11:33
2014-12-03T00:11:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
import pylab # You may have to change this path WORDLIST_FILENAME = "words.txt" def loadWords(): """ Returns a list of valid words. Words are strings of uppercase letters. Depending on the size of the word list, this function may take a while to finish. """ print "Loading word...
[ "=" ]
=
748e7448f41785b4f6c322514f1e2807dfe44a4f
ba45727a064c991ad712137855e15c9f155ff3f6
/config.py
4230ce984225db5c4dc3b9e0691057df35842e66
[ "MIT" ]
permissive
Kadas36/Pitch-App
4bf50d4cf11088608f072e4710a80a610c8ae70b
65e6fd006068e77daaaf95790f0d39e03ad810ef
refs/heads/master
2023-01-23T00:20:57.217098
2020-12-08T18:56:55
2020-12-08T18:56:55
318,538,189
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
import os class Config: ''' General configuration parent class ''' SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://moringa:kadas36@localhost/pitches' SECRET_KEY = os.environ.get('SECRET_KEY') # email configurations # MAIL_SERVER = 'smtp.googlemail.com' # MAIL_PORT = 587 # MAIL_USE_TL...
[ "oduorthomas14@gmail.com" ]
oduorthomas14@gmail.com
abc9d25cf0ac8a2f4f28fb508c772961bf5dd4e4
81f790f86b4027f63ff8bba8fd8096769b73b3a8
/profiles/cromwell-sa/manual_steps.py
35e72102e537d40410c04fa8604bcafe0078ad37
[]
no_license
broadinstitute/terraform-terra
590722b9d13e630e053af9630d170f9846cf2edb
8beddb01ae6a5da54a388573efec69d113765de5
refs/heads/master
2022-05-25T20:09:06.652890
2022-05-12T22:55:11
2022-05-12T22:55:11
180,219,844
4
1
null
2022-05-16T17:25:10
2019-04-08T19:35:16
HCL
UTF-8
Python
false
false
858
py
import sys def wait_for_enter(): raw_input("Press Enter to continue: ") class AddToGroup(object): def run(self, context): print("\nIn the GSuite admin console (https://admin.google.com) for 'test.firecloud.org', go to:") print(" Groups -> Search for firecloud-project-editors-perf@test.fireclo...
[ "noreply@github.com" ]
broadinstitute.noreply@github.com
87f8fc46e977cdf0a70a8db5ec1d90d4b055ca41
a54007706a09b387690f79fd7ffd889decad42f1
/day10/code/10_私有属性和私有方法.py
de76362927e72a1c663e1aac04fd6c9636e1c0f5
[]
no_license
lvah/201903python
d425534544a1f91e5b80b5ff0de5ca34037fe6e9
1415fcb7697dfa2884d94dcd8963477e12fe0624
refs/heads/master
2020-07-06T16:45:37.882819
2019-09-08T10:13:07
2019-09-08T10:13:07
203,082,401
5
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
class Student(object): __country = 'china' def __init__(self, name, age, score): self.name = name # 年龄和分数是私有属性 self.__age = age self.__score = score # 私有方法, 只能在类内部执行; def __modify_score(self, scores): self.__score = scores print(self.__score) def s...
[ "root@foundation0.ilt.example.com" ]
root@foundation0.ilt.example.com
526a9ef301211f72aa2d874eed340a698d1a353c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4145/codes/1758_762.py
45ee8b72e53e62a98a60cc08b2de1dc2545913b6
[]
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
310
py
from numpy import * # Vetor contendo o nome dos meses do ano vet_mes = array(['janeiro', 'fevereiro', 'marco', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro']) st=input("data desejada: ") d=st[0:2] me=st[2:4] a=st[4:8] m=vet_mes[int(me)-1] print(d," de ",m," de ",a)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
6f1485277db2113e50acc4f877cfb18709af575c
caaf9046de59559bb92641c46bb8ab00f731cb46
/PhysicsTools/Heppy/python/analyzers/objects/TauAnalyzer.py
106849e976130be62ee1815717b9a26cf1102afc
[]
no_license
neumeist/cmssw
7e26ad4a8f96c907c7373291eb8df205055f47f0
a7061201efe9bc5fa3a69069db037d572eb3f235
refs/heads/CMSSW_7_4_X
2020-05-01T06:10:08.692078
2015-01-11T22:57:32
2015-01-11T22:57:32
29,109,257
1
1
null
2015-01-11T22:56:51
2015-01-11T22:56:49
null
UTF-8
Python
false
false
4,565
py
import operator import itertools import copy import types from ROOT import TLorentzVector from PhysicsTools.Heppy.analyzers.core.Analyzer import Analyzer from PhysicsTools.HeppyCore.framework.event import Event from PhysicsTools.HeppyCore.statistics.counter import Counter, Counters from PhysicsTools.Heppy.analyzers...
[ "colin.bernet@cern.ch" ]
colin.bernet@cern.ch
d9db8b4b25df35f0c01430a7f4dc0ded3603c882
c3392d4fcd8853be00ab43376c1dd8ae8e155887
/train_ars.py
18257502c08e62e69f788f4d80b0b91df2414304
[]
no_license
smilu97/ROBOTIS-RL
786e342d626b65581eafab394134e35305556633
481f15ea5bfcc6d0fffd3222041338e795effee9
refs/heads/master
2023-08-01T08:12:30.992436
2021-09-21T07:00:45
2021-09-21T07:00:45
365,978,452
0
0
null
null
null
null
UTF-8
Python
false
false
1,868
py
#!/usr/bin/env python #!/usr/bin/env python import gym import numpy as np from ars.policy import Policy from ars.config import ARSConfig from ars.env_ars import EnvARS from env import OP3Env class LinearPolicy(Policy): def __init__(self, input_size: int, output_size: int, discrete_output=False): self.discrete...
[ "smilup2244@gmail.com" ]
smilup2244@gmail.com
51af99662026e17ae85aea2aefaa927ad47d590d
a1851d76efd0a94af2dc89b92c293cdce664b9e4
/blog/tests.py
9aa38923c82e7689d09c7384eed4369bb1013362
[]
no_license
ephremworkeye/drfproject
21cea415fbecf49dbc0b26122726a13049e8aae1
73aa59bf01af40be382e99b659dc18064b891463
refs/heads/master
2023-06-25T04:06:36.042518
2021-07-30T02:20:41
2021-07-30T02:20:41
390,543,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
from django.test import TestCase from django.contrib.auth.models import User from .models import Category, Post # Create your tests here. class Test_Create_Post(TestCase): @classmethod def setUpTestData(cls): test_category = Category.objects.create(name='django') testuser1 = User.objects.creat...
[ "ephremworkeye@gmail.com" ]
ephremworkeye@gmail.com
817fe72f710ece9107211c7c5fc2b31965471a1b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02600/s771105734.py
11b354cdd0f87325884f1f93bb1cc299c55d6ec5
[]
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
300
py
X = int(input()) if X in range(400,600): print(8) elif X in range(600,800): print(7) elif X in range(800,1000): print(6) elif X in range(1000,1200): print(5) elif X in range(1200,1400): print(4) elif X in range(1400,1600): print(3) elif X in range(1600,1800): print(2) else: print(1)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
18583f18bcbddf3b2dff5a23e6fe0f224f570052
e9b18b8fc91747c729c46310d462f0d4c3afa5c3
/keymaster.py
1d8d992a1767ce1c08161604fd1025b1322dab27
[]
no_license
artxgj/hd-signup
e989dbc000399c917eba2c7358129f03a159ab4a
7989857b18ddba760abf7e2fc1af7878b437ebca
refs/heads/master
2021-01-16T18:53:48.326243
2010-11-11T00:42:08
2010-11-11T00:43:38
1,069,803
1
0
null
null
null
null
UTF-8
Python
false
false
1,986
py
from google.appengine.api import urlfetch, memcache, users from google.appengine.ext import webapp, db from google.appengine.ext.webapp import util import os try: from Crypto.Cipher import ARC4 except ImportError: # Just pass through in dev mode class ARC4: new = classmethod(lambda k,x: ARC4) ...
[ "progrium@gmail.com" ]
progrium@gmail.com
9d704db1a598e07043f4aa5d7b75b15787bd4fce
5d0edf31b17c5375faf6126c1a7be8e79bfe2ab8
/buildout-cache/eggs/plone.app.dexterity-2.0.18-py2.7.egg/plone/app/dexterity/upgrades/to2000.py
08356228142a2d02010f845ccd3c479793018e41
[]
no_license
renansfs/Plone_SP
27cba32ebd9fc03dae3941ec23cf1bf0a7b6667a
8a7bdbdb98c3f9fc1073c6061cd2d3a0ec80caf5
refs/heads/master
2021-01-15T15:32:43.138965
2016-08-24T15:30:19
2016-08-24T15:30:19
65,313,812
0
3
null
null
null
null
UTF-8
Python
false
false
230
py
from Products.CMFCore.utils import getToolByName def remove_overlays_css(context): portal_css = getToolByName(context, 'portal_css') portal_css.unregisterResource( '++resource++plone.app.dexterity.overlays.css')
[ "renansfs@gmail.com" ]
renansfs@gmail.com
eb9fd5786b975a38a8d18efa6ab081bcefd75756
f483545d7765c25d1b315027726dbd74bc77b98a
/02.교육/Python-응용SW개발/Quiz/20190423_Sayhi.py
e652c41df894e341182f2857bcdb06554ff939f5
[]
no_license
niceman5/pythonProject
e51b44a50776100a63443d7da850ba4b8b00f5eb
3589fd200b56f68b856d2b4d2031c2a1135168a0
refs/heads/master
2023-07-10T16:12:57.756944
2023-06-27T08:13:54
2023-06-27T08:13:54
135,047,965
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
def say_hi(name:str, age:int) -> str: return "Hi. My name is {} and I'm {} years old".format(name, age) ## # Main Process 처리 # if __name__ == '__main__': print(say_hi('Alex',32)) print(say_hi('Frank', 68)) assert say_hi("Alex", 32) == "Hi. My name is Alex and I'm 32 years old" assert say_hi("Fran...
[ "niceman555@gmail.com" ]
niceman555@gmail.com
9d42599a85c1e4b4812e356c6575432b94e84088
0f05f69c1c71597d861320244760ca5d6e843c69
/archive/models.py
f9537a3632109c69f580c27f31bfed88043b1e50
[ "MIT" ]
permissive
emawind84/rrwebtv
6ddb3d2a9da6acbcd3ce267b5099edabca2b55de
ae22cd39ea430aed0de2b852e40c309465a7237b
refs/heads/master
2021-06-21T19:33:46.091579
2019-12-03T06:29:52
2019-12-03T06:29:52
177,141,697
0
0
MIT
2021-06-10T21:18:44
2019-03-22T13:06:00
Python
UTF-8
Python
false
false
1,035
py
from django.db import models from uploads.core.models import Replay class Performance(models.Model): note = models.CharField(max_length=255, blank=True) pilot = models.CharField(max_length=200, blank=True) team = models.CharField(max_length=200, blank=True) rally = models.CharField(max_length=200, blan...
[ "emawind84@gmail.com" ]
emawind84@gmail.com
8fdc98ad20285d96a941c9956594918ed1c27619
bf99b1b14e9ca1ad40645a7423f23ef32f4a62e6
/AtCoder/arc/074d_2.py
7e4f8cc5c8f778dee383fbd00cadd4fc6501d7f7
[]
no_license
y-oksaku/Competitive-Programming
3f9c1953956d1d1dfbf46d5a87b56550ff3ab3db
a3ff52f538329bed034d3008e051f30442aaadae
refs/heads/master
2021-06-11T16:14:12.635947
2021-05-04T08:18:35
2021-05-04T08:18:35
188,639,647
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
from heapq import heappush, heappop, heapify N = int(input()) M = 3 * N A = list(map(int, input().split())) B = A[::-1] L = [0] * (N + 1) que = A[:N] heapify(que) S = sum(que) L[0] = S for i, a in enumerate(A[N: 2 * N], start=1): S += a heappush(que, a) S -= heappop(que) L[i] = S R = [0] * (N + 1) que...
[ "y.oksaku@stu.kanazawa-u.ac.jp" ]
y.oksaku@stu.kanazawa-u.ac.jp
7998dea65bc13e38995fb13c85d0359adfeda2b3
7ad3099e45e9c501c79213e9bc687d7834ac38e3
/dlint/linters/bad_popen2_use.py
0f8e7ca8e0dee169a4222d9ff10209756d25a778
[ "BSD-3-Clause" ]
permissive
DrewDennison/dlint
40f76694adb747a868c1f0eaa0ebd8edbc20604d
a2ed49e68638036aa99ea4ba6f095473b5dddd88
refs/heads/master
2023-03-01T22:38:57.577847
2021-02-11T04:21:00
2021-02-11T04:21:00
273,586,125
0
0
BSD-3-Clause
2020-06-19T21:03:41
2020-06-19T21:03:40
null
UTF-8
Python
false
false
581
py
#!/usr/bin/env python from __future__ import ( absolute_import, division, print_function, unicode_literals, ) from .helpers import bad_module_use class BadPopen2UseLinter(bad_module_use.BadModuleUseLinter): """This linter looks for use of the "popen2" module. This module execute shell comman...
[ "schwag09@gmail.com" ]
schwag09@gmail.com
cc41826367a8eab1283b6c9bc053da8592ea2b45
f227254ce39d1513e3c0f550fb02785989d69f83
/pycon/slide/templates/codes/good_use_mock.py
390516428895badd4d1e2af16bd265fa48aec07d
[]
no_license
podhmo/podhmo.github.com
b947159fb8a600331bab06cf3e4319baaab9cf20
b4114a64299fb21d77e2dee01279f45da8610bbb
refs/heads/master
2021-01-10T21:37:29.154250
2013-09-14T14:13:39
2013-09-14T14:13:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
# -*- coding:utf-8 -*- from __future__ import print_function import unittest import mock class Tests(unittest.TestCase): ## tearDownではsetUp時の例外に対応できません def setUp(self): self.addCleanup(lambda : print("cleanup")) self.addCleanup(mock.stopall) do_something() #raise Exception? def tea...
[ "podhmo+altair@beproud.jp" ]
podhmo+altair@beproud.jp
a256dc957721025e1cdb1d095df778f56009ffa0
9c58ea644777ed99025038a06b69dde1793b4445
/logging_format/violations.py
9cbe1aa1ee026546082b5206b982b02672f91eaa
[ "Apache-2.0" ]
permissive
sfstpala/flake8-logging-format
973f4cf0ab7c7119a7b29dbc22c8c20ddfd67923
1057dc290bee5b475426addbd2e1670d959fc249
refs/heads/develop
2021-01-15T08:18:48.210651
2017-06-16T19:44:59
2017-06-16T19:44:59
99,563,776
0
0
null
2017-08-07T09:57:35
2017-08-07T09:57:35
null
UTF-8
Python
false
false
396
py
""" Defined violations """ STRING_FORMAT_VIOLATION = "G001 Logging statement uses string.format()" STRING_CONCAT_VIOLATION = "G003 Logging statement uses '+'" PERCENT_FORMAT_VIOLATION = "G002 Logging statement uses '%'" WARN_VIOLATION = "G010 Logging statement uses 'warn' instead of 'warning'" WHITELIST_VIOLATION...
[ "jesse.myers@globality.com" ]
jesse.myers@globality.com
8b28cfa24bc518baeda60b60e64076dbdf5e0a3a
307d157e21997bf5af0e84905af0ddc4780f7ed1
/kansha/services/components_repository.py
06d22c0cec91e40c66e4d91963c7c394214d9560
[]
no_license
maxbyz/kansha
ce650f60d42abd477d297aa821c5e2941ba8e260
85b5816da126b1c7098707c98f217d8b2e524ff2
refs/heads/master
2021-10-01T15:38:28.560448
2018-11-27T11:19:48
2018-11-27T11:19:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
# -*- coding:utf-8 -*- #-- # Copyright (c) 2012-2014 Net-ng. # All rights reserved. # # This software is licensed under the BSD License, as described in # the file LICENSE.txt, which you should have received as part of # this distribution. #-- from nagare.services import plugins class CardExtensions(plugins.Plugins)...
[ "romuald.texier-marcade@net-ng.com" ]
romuald.texier-marcade@net-ng.com
533c59d1b1ddee5ea9a12dc0fe5572af83727f87
64106aef328eea5e893a685873d91988c50af74a
/src/com/oppojifen/test_MyOPPO.py
37873c6ed7143eb2e3a67ae65a73e9c891c1358c
[]
no_license
Fangziqiang/AppiumTesting
77fd6517bcb96261496583ac8707362529aea54f
e224df6aaaa8262aceb4a8162f1d877064c0d333
refs/heads/master
2021-07-25T22:14:08.045554
2021-07-06T10:47:55
2021-07-06T10:47:55
129,370,176
2
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
# -*- coding: utf-8 -*- import sys import os import unittest from time import sleep from appium import webdriver import subprocess from swipeMethod import swipe_up from swipeMethod import swipe_left from swipeMethod import swipe_right # https://cloud.tencent.com/developer/article/1467203 安装定位工具 class te...
[ "286330540@qq.com" ]
286330540@qq.com
c59c35dfe207243dc29aebe9966469339feb3bc2
b0eca8365ea8c779ad49f16792cae6dcf28cdf4e
/rebecca/app/admin/tests/test_schema.py
6a2269cce8773b64bcaeaf5b6f8503c9fcf03b44
[]
no_license
rebeccaframework/rebecca.app.admin
fefc9eb5d783317e130d6be3821e7c560c8e185a
0fca8df46bbf03dd5fd98ce9c09b1b305e97db99
refs/heads/master
2021-01-19T06:26:02.573251
2013-12-22T16:15:16
2013-12-22T16:15:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
import unittest from testfixtures import ShouldRaise class TestRelation(unittest.TestCase): def setUp(self): from ..testing import _setup self.session = _setup() def tearDown(self): from ..testing import _teardown _teardown() def _getTarget(self): from ..schema im...
[ "aodagx@gmail.com" ]
aodagx@gmail.com
5daf54d1ccad555238ec40a2592b3ce2055f6eed
b462a1eb41cdd6ae92eb8717e829b8e09f3152b2
/cvxcluster/clusterpath.py
0d7e5ebe5dd304f1e78fa88f33c074a5fa3aedcd
[]
no_license
mnarayan/cvxcluster
3e49dc7a040ed2f53795dabd3e98ca3ae567d2a8
2d32f6409751f2c9e79eded4776a172df0e54454
refs/heads/master
2021-01-12T22:35:25.874393
2014-05-29T09:51:05
2014-05-29T09:51:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,329
py
import logging; log = logging.getLogger(__name__) import numpy as np from .conditions import RelativeTolerance from .profile import profile from .solve import solve __all__ = [ 'clusterpath', ] @profile def clusterpath(problem0, solver, conditions, gamma0=1e-3, step=1.2): """ Calculate the "clusterpath" -- t...
[ "duckworthd@gmail.com" ]
duckworthd@gmail.com
6fe8d965fb31a10689982ae269fb3f9a2aff413a
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-roma/huaweicloudsdkroma/v2/model/candidates_user.py
0a7719d7df2acd573906fc162e5c24b0d5d57a59
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,536
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CandidatesUser: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute nam...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
58eb196519fa8ee91d341cd2c11ff9e17f6fe82b
8f67f4966c5ccfc3556cc05f7a47c2c664c2b115
/django_push/subscriber/utils.py
4aa716aad9ab1c47204a790d5cc4fc05284f1fdf
[ "BSD-2-Clause" ]
permissive
wd5/django-push
8fe15b44eaaef4a54d4920d8e3c8689066e23038
7cd203b53e6e344c01c812a6ce1e0f68044fd13d
refs/heads/master
2020-12-25T13:33:32.281561
2012-11-30T18:43:35
2012-11-30T18:43:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
import feedparser from django.conf import settings from django.utils.importlib import import_module def get_hub(topic): parsed = feedparser.parse(topic) for link in parsed.feed.links: if link['rel'] == 'hub': return link['href'] raise TypeError("Hub not found") def hub_credentials(h...
[ "buburno@gmail.com" ]
buburno@gmail.com
bee3172b4084d00d9c99d956728d8307cc451c8e
60f3761284aa01d309446850bf9b87e0bf32ad4c
/tests/unit/merchant_account/test_address_details.py
091f7d7069f1e369920aa32ffdcfeb1e643b1bfc
[ "MIT" ]
permissive
braintree/braintree_python
e8cc05016e65a79ad6b40c3fef557a196dbfce44
673f70a60d1db03d633f0758b5b2d40a28c79f67
refs/heads/master
2023-09-04T15:38:50.037101
2023-08-29T22:51:14
2023-08-29T22:51:14
579,729
212
119
MIT
2023-06-15T01:05:55
2010-03-25T21:29:00
Python
UTF-8
Python
false
false
599
py
from tests.test_helper import * from braintree.merchant_account.address_details import AddressDetails class TestAddressDetails(unittest.TestCase): def test_repr_has_all_fields(self): details = AddressDetails({ "street_address": "123 First St", "region": "Las Vegas", "loc...
[ "code@getbraintree.com" ]
code@getbraintree.com