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
dad949a14e690002447d02f8e29d60c18500099b
508321d683975b2339e5292202f3b7a51bfbe22d
/Userset.vim/ftplugin/python/CompletePack/PySide2/QtGui/QVector3D.py
b8973e32292f5f6d1dd2b4cfec809fcb2ed4014c
[]
no_license
cundesi/vimSetSa
4947d97bcfe89e27fd2727423112bb37aac402e2
0d3f9e5724b471ab21aa1199cc3b4676e30f8aab
refs/heads/master
2020-03-28T05:54:44.721896
2018-08-31T07:23:41
2018-08-31T07:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,335
py
# encoding: utf-8 # module PySide2.QtGui # from C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\PySide2\QtGui.pyd # by generator 1.145 # no doc # imports import PySide2.QtCore as __PySide2_QtCore import Shiboken as __Shiboken class QVector3D(__Shiboken.Object): # no doc def crossProd...
[ "noreply@github.com" ]
cundesi.noreply@github.com
d06c3fe68020ef60919224da60cbd77b2a0d58c0
12b401d5be9f5a1e1f60eb607f1796771deae085
/application_play_game.py
78325623113f39f07959a06d1fdcf3e6d58bfc12
[]
no_license
chandraprakashh/machine_learning_code
805355125f66cd03005fbc6bb134aeebf8a46c6a
64679785d0ac8e231fd0a2d5386519f7e93eea82
refs/heads/master
2020-07-20T23:21:00.157810
2020-01-13T10:28:36
2020-01-13T10:28:36
206,724,253
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 26 11:35:02 2019 @author: Administrator """ import tkinter window = tkinter.Tk() window.title("GUI") def PrintOnClick(): tkinter.Label(window, text = "welcome").pack() tkinter.Button(window, text = "click me", command = PrintOnClick).pac...
[ "noreply@github.com" ]
chandraprakashh.noreply@github.com
2111ba7c1c2e5eef8696d286f56b85cb87a8ffd3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_fencers.py
458ff6e91aa5b2b77af88010dcaf87cfc6f9bd2a
[ "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
222
py
#calss header class _FENCERS(): def __init__(self,): self.name = "FENCERS" self.definitions = fencer self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['fencer']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
920229c2be6c0e09a63d32d83e5be8973bb20dc8
de4d88db6ea32d20020c169f734edd4b95c3092d
/aiotdlib/api/functions/process_push_notification.py
339796d01d5927139d4d1b705af21fd64f6ce1e8
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
thiagosm/aiotdlib
5cc790a5645f7e4cc61bbd0791433ed182d69062
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
refs/heads/main
2023-08-15T05:16:28.436803
2021-10-18T20:41:27
2021-10-18T20:41:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
# =============================================================================== # # # # This file has been generated automatically!! Do not change this manually! # # ...
[ "pylakey@protonmail.com" ]
pylakey@protonmail.com
1f361b50f9c5c862d5ed7da0bf89240bf1400f42
3d6b4aca5ef90dd65a2b40cf11fd8f84088777ab
/zounds/datasets/phatdrumloops.py
55d1cfcad1b68dd4f92b6a20d307d0f4bb7c855e
[ "MIT" ]
permissive
maozhiqiang/zounds
c3015f1bb58b835b5f8e9106518348442f86b0fc
df633399e7acbcbfbf5576f2692ab20d0501642e
refs/heads/master
2020-04-19T22:41:42.540537
2019-01-31T01:13:45
2019-01-31T01:13:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
from zounds.soundfile import AudioMetaData import requests import re import urlparse class PhatDrumLoops(object): """ Produces an iterable of :class:`zounds.soundfile.AudioMetaData` instances for every drum break from http://phatdrumloops.com/beats.php Args: attrs (dict): Extra properties to ...
[ "john.vinyard@gmail.com" ]
john.vinyard@gmail.com
cbb8321e0fef6844c689fe05fcee4eaf4d7988e9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_051/ch120_2020_09_27_20_54_37_267942.py
265ee47db4543afc45e1caee2a01fdff39a7ce64
[]
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
943
py
import random as rd dinheiro=100 while dinheiro >0: numero=rd.randint(1, 36) if dinheiro == 0: break print ('voce tem', dinheiro, 'dinheiro') valor=int(input('qunato quer apostar? ')) if valor == 0: break aposta=input('quer apostar em um numero ou em uma paridade? ') if apost...
[ "you@example.com" ]
you@example.com
e4dd4ae92970dcf7438e5e3e8e1d87c2c669e718
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02267/s160876142.py
cc65b83611da412d51a5be85eff336a19d9f1eec
[]
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
244
py
N = int(input()) L = input().split() n = int(input()) l = input().split() dup = [] count = 0 for i in range(N): for j in range(n): if L[i] == l[j]: dup.append(L[i]) break dup = list(set(dup)) print(len(dup))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ebf8ee08be5d85beef798cd93010cce8cdfcb4f7
2dc50ddfb0a431a34867c8955a972e67870a2755
/migrations/versions/4445080944ee_hidden_hosts_management.py
d853ad3d00f27794e4a672e9281631081a45b99b
[ "BSD-3-Clause" ]
permissive
ziirish/burp-ui
d5aec06adb516eb26f7180f8e9305e12de89156c
2b8c6e09a4174f2ae3545fa048f59c55c4ae7dba
refs/heads/master
2023-07-19T23:05:57.646158
2023-07-07T18:21:34
2023-07-07T18:21:34
20,400,152
98
18
BSD-3-Clause
2023-05-02T00:31:27
2014-06-02T10:23:40
Python
UTF-8
Python
false
false
875
py
"""hidden hosts management Revision ID: 4445080944ee Revises: 695dcbd29d4f Create Date: 2018-10-03 11:47:20.028686 """ # revision identifiers, used by Alembic. revision = "4445080944ee" down_revision = "695dcbd29d4f" import sqlalchemy as sa from alembic import op def upgrade(): # ### commands auto generated b...
[ "ziirish@ziirish.info" ]
ziirish@ziirish.info
74ca2b4a8a82aad877acfaf39298809830bd83a9
d3e31f6b8da5c1a7310b543bbf2adc76091b5571
/Day29/upload_file/upload_file/settings.py
dc5d94a6a1bf90cd9d6113c34d79017577181cc2
[]
no_license
pytutorial/py2103
224a5a7133dbe03fc4f798408694bf664be10613
adbd9eb5a32eb1d28b747dcfbe90ab8a3470e5de
refs/heads/main
2023-07-14T06:31:18.918778
2021-08-12T14:29:16
2021-08-12T14:29:16
355,163,185
1
0
null
null
null
null
UTF-8
Python
false
false
3,339
py
""" Django settings for upload_file project. Generated by 'django-admin startproject' using Django 3.2. 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/ """ from pathl...
[ "duongthanhtungvn01@gmail.com" ]
duongthanhtungvn01@gmail.com
506ad115684ba8ed96c7300b40bb7467ba9114d6
2198abd6e37195dbb64b46effa11c6fad1de3b4e
/PyQuantum/Tools/CSV.py
218dbc3802b453fa193aca8202b04c513040678a
[ "MIT" ]
permissive
deyh2020/PyQuantum
179b501bea74be54ccce547e77212c7e1f3cd206
78b09987cbfecf549e67b919bb5cb2046b21ad44
refs/heads/master
2022-03-24T08:11:50.950566
2020-01-05T02:07:59
2020-01-05T02:07:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
import pandas as pd import csv def list_to_csv(lst, filename): df = pd.DataFrame(lst, columns=None) df.to_csv(filename, index=None, header=False) # def list_to_csv(lst, filename): # df = pd.DataFrame(lst) # df.to_csv(filename) # def list_from_csv(filename): # df = pd.read_csv(filename) # l...
[ "alexfmsu@mail.ru" ]
alexfmsu@mail.ru
98ba07395607b0818853a04048c8dc3186048939
4e2117a4381f65e7f2bb2b06da800f40dc98fa12
/165_RealtimeStereo/test_tflite.py
c9d58604e945ac4c6775f9f5e1b7419b476080c3
[ "GPL-3.0-only", "AGPL-3.0-only", "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
PINTO0309/PINTO_model_zoo
84f995247afbeda2543b5424d5e0a14a70b8d1f1
ff08e6e8ab095d98e96fc4a136ad5cbccc75fcf9
refs/heads/main
2023-09-04T05:27:31.040946
2023-08-31T23:24:30
2023-08-31T23:24:30
227,367,327
2,849
520
MIT
2023-08-31T23:24:31
2019-12-11T13:02:40
Python
UTF-8
Python
false
false
2,792
py
from tensorflow.lite.python.interpreter import Interpreter import cv2 import numpy as np import time class RealtimeStereo(): def __init__(self, model_path): self.model = self.load_model(model_path) def load_model(self, model_path): self.interpreter = Interpreter(model_path, num_threads=4) ...
[ "rmsdh122@yahoo.co.jp" ]
rmsdh122@yahoo.co.jp
24e1af6e4014ee573951e1bbb70250d99347fcd8
e89f44632effe9ba82b940c7721cad19a32b8a94
/text2shorthand/shorthand/svsd/a.py
bf377f0363fe3f97c48628ff5aeb67c2e7de1eef
[]
no_license
Wyess/text2shorthand
3bcdb708f1d7eeb17f9ae3181c4dd70c65c8986e
5ba361c716178fc3b7e68ab1ae724a57cf3a5d0b
refs/heads/master
2020-05-17T14:52:11.369058
2019-08-20T12:50:00
2019-08-20T12:50:00
183,776,467
2
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
from ..svsd.char import SvsdChar from text2shorthand.common.point import Point as P, PPoint as PP import pyx from pyx.metapost.path import ( beginknot, knot, endknot, smoothknot, tensioncurve, controlcurve, curve) class CharA(SvsdChar): def __init__(self, name='a', kana='あ', ...
[ "diyhacker@mail.goo.ne.jp" ]
diyhacker@mail.goo.ne.jp
c162fe99b26ec56068d61a2d04055ad5804cbeaf
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/vYYfFAAfjoc8crCqu_5.py
c815b8937d476932feaa5ae13066bc8fc49dac5e
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
def tree(h): ans = [] row_len = 2*h-1 for i in range(1, row_len+1, 2): n = (row_len - i)//2 row = ' '*n + '#'*i + ' '*n ans.append(row) return ans
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a4a300afe9003b66876d7c1ee2857fec4542e32e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/4/usersdata/145/3314/submittedfiles/swamee.py
9de554dec9e9faab31dbced293cb3abc50b8bb40
[]
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
468
py
# -*- coding: utf-8 -*- from __future__ import division import math #entrada f=input('digite um valor de f:') L=input('digite um valor de L:') Q=input('digite um valor de Q:') deltaH=input('digite um valor de deltaH:') V=input('digite um valor de v:') #processamento g=9,81 e=0,000002 D=(8*f*L*(Q**2)/((math.pi**2)*g*del...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1ee2b14448aace3b16487246053c468adc039ba6
78f1cc341cd6313d02b34d910eec4e9b2745506a
/p02_personal_summary/p13_lee_yung_seong/p03_week/p02_thursday/C5.11.py
6bb587db4fe5e5cc69b337b6bfe6754cab7e0d67
[]
no_license
python-cookbook/PythonStudy
a4855621d52eae77537bffb01aae7834a0656392
cdca17e9734479c760bef188dcb0e183edf8564a
refs/heads/master
2021-01-20T17:23:35.823875
2017-07-30T10:56:13
2017-07-30T10:56:13
90,873,920
2
0
null
null
null
null
UTF-8
Python
false
false
896
py
#경로 다루기 #문제 #기본 파일 이름, 디렉터리 이름, 절대 경로 등을 찾기 위해 경로를 다루어야 한다. ##해결 #경로를 다루기 위해서 os.path 모듈의 함수를 사용한다. 몇몇 기능을 예제를 통해 살펴보자. import os path = '/users/beazley/Data/data.csv' os.path.basename(path)#경로의 마지막 부분 #디렉터리 이름 os.path.dirname(path) #합치기 os.path.join('tmp','data',os.path.basename(path)) #사용자의 홈 디렉토리 펼치기 path = '~/Data/...
[ "acegauss@naver.com" ]
acegauss@naver.com
aea80bf4ca2d9742e5bb0dc0e1f750e6e39a75b0
78da694dc955639c5a9f64e2d83acee4d13fd931
/socialadmin/admin.py
bda4a33cb121ea5517b5a0e1bdd106a82d435037
[]
no_license
toluwanicareer/kemibox
f255e73f71c824e780d528e47f37ec7ebca35f60
641808e70545826c536ed4062276b129414c2c04
refs/heads/master
2020-03-12T17:04:55.299158
2018-04-24T16:12:52
2018-04-24T16:12:52
130,729,204
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import KemiBox, Post # Register your models here. admin.site.register(KemiBox ) admin.site.register(Post)
[ "abiodun.toluwanii@gmail.com" ]
abiodun.toluwanii@gmail.com
52acd72b04938eb85d82c661482aa54387aac381
d65128e38be0243f279e0d72ef85e7d3c5e116ca
/base/site-packages/django/bin/daily_cleanup.py
5a2ce210f403ce4de577568cf3de95ebcfb94d42
[ "Apache-2.0" ]
permissive
ZxwZero/fastor
19bfc568f9a68f1447c2e049428330ade02d451d
dd9e299e250362802032d1984801bed249e36d8d
refs/heads/master
2021-06-26T06:40:38.555211
2021-06-09T02:05:38
2021-06-09T02:05:38
229,753,500
1
1
Apache-2.0
2019-12-23T12:59:25
2019-12-23T12:59:24
null
UTF-8
Python
false
false
441
py
#!/usr/bin/env python """ Daily cleanup job. Can be run as a cronjob to clean out old data from the database (only expired sessions at the moment). """ import warnings from django.core import management if __name__ == "__main__": warnings.warn( "The `daily_cleanup` script has been deprecated " ...
[ "edisonlz@163.com" ]
edisonlz@163.com
ad9951dd21e5e5802f28c37bba8d655b7c3d1314
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/nallo/problemB.py
c7cee17f3977f567c41df66e67f27d3beef12abb
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,447
py
""" se inizio con - cerca il primo + se trovo il + cambia tutti i - in + fino al + trovato compreso mosse++ se non trovo il + sol = mosse + 1 se inizio con + cerca il primo - se trovo il - cambia tutti i + in - fino al - trovato compreso mosse++ ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
0eb8edd55910aa04bea4ace48cfb3159cb268fc7
26f6313772161851b3b28b32a4f8d255499b3974
/Python/SequentialDigits.py
426eff307728f7e423f3c99f70c5007a2d736e4c
[]
no_license
here0009/LeetCode
693e634a3096d929e5c842c5c5b989fa388e0fcd
f96a2273c6831a8035e1adacfa452f73c599ae16
refs/heads/master
2023-06-30T19:07:23.645941
2021-07-31T03:38:51
2021-07-31T03:38:51
266,287,834
1
0
null
null
null
null
UTF-8
Python
false
false
1,174
py
""" An integer has sequential digits if and only if each digit in the number is one more than the previous digit. Return a sorted list of all the integers in the range [low, high] inclusive that have sequential digits. Example 1: Input: low = 100, high = 300 Output: [123,234] Example 2: Input: low = 1000, high =...
[ "here0009@163.com" ]
here0009@163.com
424526fe4c6b2ac3f5a89f36e3f865f5c458509b
9d2bafb07baf657c447d09a6bc5a6e551ba1806d
/ros2_ws/build/ros2srv/build/lib/ros2srv/api/__init__.py
c1fba609b68266f574397fa8a54e3448c92a64c2
[]
no_license
weidafan/ros2_dds
f65c4352899a72e1ade662b4106e822d80a99403
c0d9e6ff97cb7cc822fe25a62c0b1d56f7d12c59
refs/heads/master
2021-09-05T20:47:49.088161
2018-01-30T21:03:59
2018-01-30T21:03:59
119,592,597
1
0
null
null
null
null
UTF-8
Python
false
false
2,818
py
# Copyright 2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "austin.tisdale.15@cnu.edu" ]
austin.tisdale.15@cnu.edu
39490f513add0e0a5c8110a317483eff540be3e1
e84e699767444315ac2096b3ece1659ba2873ae3
/radio/templatetags/show_stars.py
bd6749ed39e9404bd4b450a2938de695e41ca7a1
[ "BSD-3-Clause" ]
permissive
ftrain/django-ftrain
1e6ac41211dba5e69eabf1a4a85c2aec0c048959
af535fda8e113e9dcdac31216852e35a01d3b950
refs/heads/master
2021-01-21T01:46:53.957091
2009-12-28T15:31:26
2009-12-28T15:31:26
259,071
2
0
null
null
null
null
UTF-8
Python
false
false
2,808
py
import math from django.template import Library, Node, TemplateSyntaxError, VariableDoesNotExist, resolve_variable from django.conf import settings register = Library() IMG_TEMPLATE = '<img src="%s" alt="%s"/>' PATH_TO_WHOLE_STAR = IMG_TEMPLATE % (settings.MEDIA_URL + 'e/stars/star.png', "Whole Star") PATH_TO_THRE...
[ "ford@ftrain.com" ]
ford@ftrain.com
a789a909f89e7fc0ec0c3ce4cbafd1e65fa6a22e
113ef54e42a047e9e631b557012411ecfac72c47
/siphon/web/apps/submissions/migrations/0006_auto_20160224_0639.py
8a5b27e311ba3669f3c194106114013581a4ae54
[ "MIT" ]
permissive
siphoncode/siphon-web
77bd241d5f3912ee78155c2b71b75fb59e1b5e27
c398427dc1b73f70b94cd2f60a13e4d26c71610e
refs/heads/master
2021-01-19T21:48:15.253451
2016-08-04T16:53:18
2016-08-04T16:53:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-24 06:39 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('submissions', '0005_auto_20160224_0629'), ] operations = [ migrations.AlterF...
[ "james.potter@gmail.com" ]
james.potter@gmail.com
81876856328d10a73c63fd33479e2d04f4a2bc80
58cf4e5a576b2baf7755ae19d410bf8afc2f3709
/leetcode-solutions/P1498.Number_of_subsequences_satisfy_sum.py
d1a47cb9eb60a1fc9beae07105be0146554ee857
[]
no_license
srihariprasad-r/leet-code
78284beac34a4d84dde9f8cd36503496b618fdf7
fc4f1455bafd1496eb5469a509be8638b75155c1
refs/heads/master
2023-08-16T20:24:09.474931
2023-08-07T14:23:36
2023-08-07T14:23:36
231,920,275
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
class Solution(object): def numSubseq(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ nums.sort() mod = 10**9+7 n = len(nums) l = ans = 0 r = n - 1 while l <= r: if nums[l] + nums[r]...
[ "59530606+srihariprasad-r@users.noreply.github.com" ]
59530606+srihariprasad-r@users.noreply.github.com
9f95a27bc89138cd60a4c119c7e5cb81011fd2cc
17b0f34996ed63d14fb3ae2b09e3de866740a27e
/website/settings.py
a0a6ce9dc331e64a2e3ffe1d08f441cb34c00567
[ "MIT" ]
permissive
Alexmhack/django_blog
6ca47d4d294c1886eaa19ee866395144f1d2bce7
ffb08983ca0aff2fca15961c64168bbb8d55311b
refs/heads/master
2020-03-28T01:55:32.939171
2018-09-13T13:05:55
2018-09-13T13:05:55
147,532,712
1
0
null
null
null
null
UTF-8
Python
false
false
3,335
py
""" Django settings for website project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os #...
[ "alexmohack@gmail.com" ]
alexmohack@gmail.com
35416f386997d9306cdc80e0b9d426b66dd86c93
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/common/Lib/distutils/tests/test_install.py
992b281d3dd630b90577a87c6e7387582f4872a4
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
7,714
py
# 2017.02.03 21:58:16 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/distutils/tests/test_install.py """Tests for distutils.command.install.""" import os import sys import unittest import site from test.test_support import captured_stdout, run_unittest from distutils import sysconfig from distutils...
[ "info@webium.sk" ]
info@webium.sk
4a1b97ecf31fc70c5c028327969c8e09b80a2cae
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/3070/205003070.py
3456808fc041576fb61f383fc7f6c51e56317478
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,791
py
from bots.botsconfig import * from records003070 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'MN', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'TRN', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
2111217e5d242a6101b463046e8af164ea271f71
4e879e994720100a9354895af2bb9be33b38a42b
/cConsolidation/c_OOP/cm_ClassMethods/110_ClassMethods_002_factoryMethods_example_002.py
396e108d6539a3d77f23d3f9c9396635d68ffe85
[]
no_license
pepitogrilho/learning_python
80314ec97091238ed5cc3ed47422d2e6073a3280
bbdc78a9a0513c13d991701859bcfe7a8e614a49
refs/heads/master
2023-04-09T15:07:08.866721
2023-04-02T18:45:47
2023-04-02T18:45:47
230,527,165
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
# -*- coding: utf-8 -*- """ - Instance Methods receive the OBJECT as argument - Class Methods receive the CLASS as argument - Static Methods don't receive neither the OBJECT, nor the CLASS Class Methods are called by a class, which is passed to the ... .... cls parameter A common use of these are factory """ class ...
[ "pepitogrilho@gmail.com" ]
pepitogrilho@gmail.com
a5b47c634aa82aa560d7c99745cdfd77c7fce511
400e10dfd9e21ae5092f5184753faa91a9df9277
/python_structure/객체 미리연산.py
1808df21a4e0c094ebbb3047219aac426601b9d2
[]
no_license
MyaGya/Python_Practice
d4aff327a76010603f038bcf4491a14ea51de304
0391d1aa6d530f53715c968e5ea6a02cf745fde5
refs/heads/master
2023-06-14T07:48:19.998573
2021-07-12T05:50:52
2021-07-12T05:50:52
280,452,168
0
0
null
2021-06-23T13:37:56
2020-07-17T14:56:24
Python
UTF-8
Python
false
false
1,205
py
import time start = time.time() print("배열을 만드는 데 걸리는 시간 : ", end=" ") data = [i for i in range(100000)] end = time.time() print(end - start) start = time.time() print("배열을 출력하는 데 걸리는 시간 : ", end=" ") print(data) end = time.time() print(end - start) # map 연산을 걸리는 시간 start = time.time() print("map 연산 시간 : ", end=" ")...
[ "38939015+MyaGya@users.noreply.github.com" ]
38939015+MyaGya@users.noreply.github.com
aca0869423c75d58481d19ce9e4a5eaed6b7a4dc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_envy.py
39953a52249af41d6c5335f74ba7d1b427f27fad
[ "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
331
py
#calss header class _ENVY(): def __init__(self,): self.name = "ENVY" self.definitions = [u'to wish that you had something that another person has: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'verbs' def run(self, obj1 = [], obj2 = []): return sel...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9e2cfe03c71b87d255becb0e3bfe46b09662220c
5b5a49643c75aa43d5a876608383bc825ae1e147
/tests/lists/p126_test.py
9ab97710827b437465cca8b9f65d6457d8b608fb
[]
no_license
rscai/python99
281d00473c0dc977f58ba7511c5bcb6f38275771
3fa0cb7683ec8223259410fb6ea2967e3d0e6f61
refs/heads/master
2020-04-12T09:08:49.500799
2019-10-06T07:47:17
2019-10-06T07:47:17
162,393,238
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
from python99.lists.p126 import combination import itertools def test_combination(): l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0] k = 2 actual = combination(l, k) assert actual == [list(e) for e in itertools.combinations(l, k)]
[ "ray.s.cai@icloud.com" ]
ray.s.cai@icloud.com
10dcd966e82a61e2e0650c4a7fd206471ed57224
90cea58e80309d2dff88f73f3a43ed5f943ff97d
/DotProduct.py
16c5d89db0ce1644b33b46100a69c608f8ce680f
[]
no_license
SaiSujithReddy/CodePython
0b65c82b0e71dba2bbd4c1aefec4e6cd6fd42341
4c05b7909092009afffa4536fd284060d20e462d
refs/heads/master
2022-02-24T09:21:15.284745
2019-10-07T23:36:17
2019-10-07T23:36:17
106,611,251
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
#3 3 1 4 4 2 5 3 1 7 2 6 5 1 def dot_product(list_user_input): print("inside dot product") first_vector_length = list_user_input[0] second_vector_length = list_user_input[1] print("length of first vector is ",first_vector_length) if first_vector_length != second_vector_length: print("Incor...
[ "sai.marapareddy@gmail.com" ]
sai.marapareddy@gmail.com
c96653a68b279bac906eb7d31a76f6cc76b3e85d
184310f55b58e854dc3b6c58599ef99bc4c95739
/hujian_api/API_service/Templight/Official_02.py
8fc915dc8e1d6048088919cf706caaf6d96527ac
[]
no_license
tanjijun1/Python_API
c8585821a627c399fea1ab31bb024be6b82dd3ab
3c4771875870ffe425d2d39fc28a50449b1752f2
refs/heads/master
2023-01-07T23:30:30.284433
2020-11-11T08:43:10
2020-11-11T08:43:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,546
py
import pytest import allure import requests import json import time from Templight import GetMysqlData from Templight import GetMysqlDataSeller from Common import Post from Common import Get from Common import Assert from Common import Consts class Official_01: #官网留言 #type--string反馈类型, feedback/advice/other def...
[ "1065913054@qq.com" ]
1065913054@qq.com
d2ea2f4eb3e5aea99cea24baf453eca59c539211
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/AndrewNguyen/b2.py
f7a0b686bc0911c70127e931d1811ba557d1d1d4
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,119
py
import sys def isHappy(state): for ch in state: if ch == '-': return False return True def generate(state): new_states = [] lenOfState = len(state) for i in range(1,lenOfState+1): new_state = "" for j in range(0, i): if state[j] == '+': new_state = new_state + '-' else: new_state = new_sta...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
d3c5463beb6e02ae8155b9bce09381283c948c6e
4cc2ef8cd6a587da84a7ad0d7f15ed29c3f1cb9a
/pic/updateid.py
24991c93c0f3a55e6d809fd0567e517804d5f37a
[]
no_license
eiselekd/backuphelpers
71797823468cec36038d482ee81e606571f35289
a9b92a6f3bd3984a517eb0c262f856e451302990
refs/heads/master
2020-03-23T08:48:29.977323
2018-11-19T20:33:13
2018-11-19T20:33:13
141,349,264
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
#!/usr/bin/python3 import argparse, os from pprint import pprint from sortpics.img import SortImage from pyexiftool.exiftool import ExifTool from pyexiftool.exiftool import fsencode import tempfile, sys, hashlib parser = argparse.ArgumentParser(description='sortpics') parser.add_argument('--verbose', '-v', dest='verbo...
[ "eiselekd@gmail.com" ]
eiselekd@gmail.com
8994d1eea949890530bfbdfe44ecda4a0e96bce8
d51b4c766661af65b4ee6e7c30f8cb4bdd8603e3
/python/algorithm/leetcode/403.py
3684426cb3a77880be1c00f4f4e999c006acfbfb
[]
no_license
yanxurui/keepcoding
3e988c76b123d55b32cf7cc35fbffb12c4ccb095
d6b9f07e2d1437681fa77fee0687ea9b83cab135
refs/heads/master
2021-01-24T09:01:41.306597
2020-05-21T05:36:04
2020-05-21T05:36:04
93,400,267
1
1
null
null
null
null
UTF-8
Python
false
false
1,715
py
from typing import List # https://leetcode.com/problems/frog-jump/discuss/88824/Very-easy-to-understand-JAVA-solution-with-explanations class Solution: def canCross(self, stones: List[int]) -> bool: d = {stone:set() for stone in stones} d[stones[0]].add(1) for stone in stones: f...
[ "617080352@qq.com" ]
617080352@qq.com
3c15bf29f03af4682e3d5978616547b28ff92205
d7faf47825b6f8e5abf9a9587f1e7248c0eed1e2
/python/ray/tests/test_multinode_failures.py
61627c99c93063c84698e4d6581e3a96baa82812
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ggdupont/ray
7d7c7f39a8f99a09199fab60897da9e48b8e2645
15391026c19f1cbbb8d412e46b01f7998e42f2b9
refs/heads/master
2023-03-12T06:30:11.428319
2021-12-07T05:34:27
2021-12-07T05:34:27
165,058,028
0
0
Apache-2.0
2023-03-04T08:56:50
2019-01-10T12:41:09
Python
UTF-8
Python
false
false
5,384
py
import os import signal import sys import time import pytest import ray import ray.ray_constants as ray_constants from ray.cluster_utils import Cluster, cluster_not_supported from ray._private.test_utils import RayTestTimeoutException, get_other_nodes SIGKILL = signal.SIGKILL if sys.platform != "win32" else signal.S...
[ "noreply@github.com" ]
ggdupont.noreply@github.com
2f2a337de675580690d98717fd71b31a135f8197
209155f8a32bef23c9b02f5ec26a1f5935d319c0
/tests/test_squeezedimd.py
69974d322cf4bebb2a84a03558eefc6f67187780
[ "Apache-2.0" ]
permissive
wentaozhu/MONAI
ec154ca360714df8fcd55aa63506465c7949e1ff
55025e07144b113f156b232b196c3ef1a765e02b
refs/heads/master
2022-11-09T10:28:50.672985
2020-06-25T23:09:26
2020-06-25T23:09:26
274,224,027
2
1
Apache-2.0
2020-06-22T19:22:59
2020-06-22T19:22:58
null
UTF-8
Python
false
false
2,518
py
# Copyright 2020 MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, s...
[ "noreply@github.com" ]
wentaozhu.noreply@github.com
decbb3699bc8cd3376d79937ce5ff90ed552d6e5
0e0ce88c886370df9af51855115c99dfc003e5da
/2020/08_Flask/16_MONGOdb_and_Login_user/app/__init__.py
96dcb3ff132ec6bfd8b7aa4b0b1c6f118af143e8
[]
no_license
miguelzeph/Python_Git
ed80db9a4f060836203df8cc2e42e003b0df6afd
79d3b00236e7f4194d2a23fb016b43e9d09311e6
refs/heads/master
2021-07-08T18:43:45.855023
2021-04-01T14:12:23
2021-04-01T14:12:23
232,007,012
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
# Constructor and Config from flask import Flask from flask_pymongo import PyMongo app = Flask(__name__) app.config['SECRET_KEY'] = 'mysecretkey' #################MONGODB###################### # MongoDB Config (Cadastrar no www.mlab.com) app.config['MONGO_URI'] = "mongodb+srv://useradmin:admin@cluster0.7rvyr.gcp.mong...
[ "miguel.junior.mat@hotmail.com" ]
miguel.junior.mat@hotmail.com
1a91963a5355142fb88137dc0520af04d28e21be
c8fd92a30a9ff7f8b3678398ad137b0350b907b8
/config.py
173287a0d803000c04dc4a237fe89f9190437745
[]
no_license
maximilianh/repeatBrowser
2634d487aeeb8edfb9f48096650cf2bf96251a26
76d55908d567ee5eda89dab9145d5f5652065bc5
refs/heads/master
2021-01-01T20:00:54.441883
2020-03-09T11:57:53
2020-03-09T11:57:53
20,178,839
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
DB = "hg38" #DB = "hg19" TMPDIR = "/scratch/tmp" # set to None to not use cluster #CLUSTER=None CLUSTER="ku" TARGETPERC = 99 # percentile, for top50 consensus building rmskTable = "rmskHmmer2020" # the rmsk table, usually it's rmsk, but you can specify a different one here RMTORB = "data/rmToDfam.tab" RBTORM = "data/rb...
[ "max@soe.ucsc.edu" ]
max@soe.ucsc.edu
3d805adb218362378b581ac72b37a9ac9781147d
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/d7f1d7204e4f46fc8875f4aeefac75e3.py
36daf78d07daeb7267f1f3306eef351eb9fe3518
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
260
py
def hey(words): if len(words.strip())==0: return 'Fine. Be that way!' elif words.isupper(): return 'Whoa, chill out!' punctuation=words[-1] if punctuation=='?': return 'Sure.' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
83dc2ea11d5703b80b5e91b05c61699d3b671f2b
f28aebe70dc265e0e2ecf3a02c19f1d20a750a92
/perfil/views.py
3c2e2a1d680890c1c1419ac0cf747b0d8060df93
[]
no_license
linikerunk/E-commerce-liniker
7fc1750d53ad8ad1e2c28537158324caaaf7d710
c91376da3d18498fdf956e34d884a8ccca2c0d33
refs/heads/master
2020-09-28T08:25:12.794289
2020-01-09T02:06:26
2020-01-09T02:06:26
226,731,684
1
0
null
null
null
null
UTF-8
Python
false
false
5,674
py
from django.shortcuts import render, get_object_or_404, redirect from django.views.generic import ListView from django.views import View from django.http import HttpResponse from django.contrib.auth.models import User from django.contrib.auth import authenticate, login, logout from django.contrib import messages import...
[ "linikerenem@gmail.com" ]
linikerenem@gmail.com
0d8395c16985bc147b8ca2e583c5f5cace411878
7da288104b7ab242913f061dc39adb01b226db98
/PathSupportSet/CandidatePredicatePathSupSet.py
ff351321e0825a22ebe4414b8da02b0bce7229ee
[]
no_license
cstmdzx/pyAnswer
fc1ba6a58b12a8478cf9e1cd79eb4ec4b46697ef
bb5c16510f25bb61d9618c4069c49fdb0672d417
refs/heads/master
2021-01-12T05:25:13.307037
2017-04-27T02:57:09
2017-04-27T02:57:09
77,926,338
0
0
null
null
null
null
GB18030
Python
false
false
3,377
py
# coding=gbk # CandidatePredicatePathForRep format:RelationPhraseId~Predicate[f/b]Predicate[f/b]…~Predicate[f/b]Predicate[f/b]… # generate Predicate/Path support set and record predicate candidates at the same time import MySQLdb import re conn = MySQLdb.connect(host='localhost', user='root', password='password'...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
7e16f267e522ad119638dc37559b9520b949a962
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-dgc/huaweicloudsdkdgc/v1/model/resource_info.py
a14466abe6bbdbb7ed79a7a66a595ce0f83a8450
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,704
py
# coding: utf-8 import re import six class ResourceInfo: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in defin...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
56b342083fe99216f195da0c3369e49ae969dc03
43ede7b8fb546c00804c0ef94501f6e48ba170d6
/Cursos Python/Análise de dados do zero. (PYTHON & PANDAS)/04 - Pandas DataFrame.py
0731ed8b3a8a6bae993c69a735c235213f50e39c
[]
no_license
bopopescu/Python-13
db407d17252473e78e705e563cfee4dbd316c6b9
c8bef500f2d3e4a63d850f96dfa219eff2ecebda
refs/heads/master
2022-11-22T16:24:08.490879
2020-06-11T14:22:24
2020-06-11T14:22:24
281,830,055
0
0
null
2020-07-23T02:26:31
2020-07-23T02:26:30
null
UTF-8
Python
false
false
298
py
import pandas as pd coluna = ['Frutas'] itens = ['Laranja', 'maça', 'abacate'] df = pd.DataFrame(itens, columns=coluna) print(df, '\n'*2) coluna = ['Frutas', 'Preco'] itens = [['Laranja', 10], ['Maça', 10], ['Abacate', 15]] df = pd.DataFrame(itens, columns=coluna, dtype=float) print(df)
[ "ofc.erickson@gmail.com" ]
ofc.erickson@gmail.com
995822e51e2d34a880e4dc2ba08886ea425c6817
8b619e49c3b83778958ebdbe85b25c7182117ac0
/settings.py
c821d3ed82cd0183cd3e3564514979c0846cf1da
[]
no_license
hellais/ooni.nu
c98417145304ce985c953b78d1a50f10154d5b60
763aff9a5a75e358c475cf1bf9fcdf6afc534266
refs/heads/master
2020-05-31T06:03:36.383462
2012-12-12T17:03:00
2012-12-12T17:03:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,735
py
import os here = lambda *x: os.path.join(os.path.abspath(os.path.dirname(__file__)), *x) #Directories LAYOUT_DIR = here('layout') CONTENT_DIR = here('content') MEDIA_DIR = here('media') DEPLOY_DIR = here('deploy') TMP_DIR = here('deploy_tmp') BACKUPS_DIR = here('backups') BACKUP = False SITE_ROOT = "/" SITE_WWW_URL ...
[ "art@fuffa.org" ]
art@fuffa.org
b1c3e2d58b093839cd1bc3b86f002ea815f7bc28
b3cd00de3608e5225758bb99b28d58320ce81a47
/practice_20190516/set_practices.py
bb0c1042527f669ab59618349237b43efafce1f1
[]
no_license
buyi823/learn_python
fc4ec7e35ec421842975956933cfb56371786d7a
b411d5277dba1764d421a267f0ba36da40d8c6e9
refs/heads/master
2022-05-13T01:05:35.961946
2022-05-09T15:20:52
2022-05-09T15:20:52
71,314,016
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
#!/usr/bin/python3 basket={'apple', 'orange', 'apple', 'pear', 'orange', 'banana'} print(basket) i = 'orange' in basket print(i) a = set('abracadabra') b = set('alacazam') print(a) print(a-b) # 在 a 中的字母,但不在 b 中 print(a | b) # 在 a 或 b 中的字母 print(a & b) # 在 a 和 b 中都有的字母 print(a ^ b) # 在 a 或 b 中的字母,但不同时在 a 和 b 中 a ...
[ "309521086@qq.com" ]
309521086@qq.com
5203e3e2fd16915c35a794b6a84738bbe3de2171
135f293948b38aa8eaa6ac31dde79f8bc091fe5b
/Estruturas de repetição em Python/Exercicio12.py
ee4e9bcc87e70a6ac7801efa3e2c0c3ff253416f
[]
no_license
Kaiquenakao/Python
70e42b5fee08a3b50c34913f2f5763f07e754c25
008eefce828522b5107917dc699fc3590c7ef52c
refs/heads/master
2023-08-12T17:03:24.317996
2021-09-25T22:31:46
2021-09-25T22:31:46
279,083,005
5
0
null
null
null
null
UTF-8
Python
false
false
447
py
""" 12. Faça um programa que leia um número inteiro positivo N e imprima todos os números naturais de 0 até N em ordem decrescente. """ try: num = int(input('Insira um número positivo: ')) if num > 0: for i in range(num, -1, -1): print(i, end=' ') else: print('ERRO!!! ...
[ "noreply@github.com" ]
Kaiquenakao.noreply@github.com
32ea6cd4e3873c9f26199e4214374be704126b4e
a26b214e60287af3c39e5ee40eae4d1869d596d0
/train_imagenet.py
6e46043cbac1543a40368e6cf5f624aad1ec7e09
[]
no_license
beam2d/chainer-efficient-densenet
17a326ba783d320dff310beb4f04a8873a9db6cf
075b07450df9d030b943bca4f7d0fe52e838c55b
refs/heads/master
2021-05-04T18:44:57.559524
2017-10-06T05:04:36
2017-10-06T05:10:39
105,968,804
2
0
null
null
null
null
UTF-8
Python
false
false
6,103
py
#!/usr/bin/env python """Example code of learning a large scale convnet from ILSVRC2012 dataset. Prerequisite: To run this example, crop the center of ILSVRC2012 training and validation images, scale them to 256x256 and convert them to RGB, and make two lists of space-separated CSV whose first column is full path to i...
[ "beam.web@gmail.com" ]
beam.web@gmail.com
81f06546a31f3a1d148091a703f3d6f664345263
42b30769e4c676014d3fd8753bc4b1bbcc2a3e3c
/eggs/bx_python-0.7.2-py2.6-linux-x86_64-ucs4.egg/EGG-INFO/scripts/bed_rand_intersect.py
7f6ee25a6a4b19b8256296f2b0fe48ddc9262184
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
psnehal/MethylSig
4e510685349b1712c92667d40e795fa798ee1702
5efad71e71ff2515feff2e49579c856ef9a1bbd8
refs/heads/master
2020-05-18T21:03:51.240410
2015-09-03T20:23:30
2015-09-03T20:23:30
26,826,252
0
0
null
null
null
null
UTF-8
Python
false
false
5,927
py
#!/afs/bx.psu.edu/project/pythons/py2.6-linux-x86_64-ucs4/bin/python2.6 """ From a set of regions and two sets of intervals inside those regions compute (for each region separately) the overlap between the two sets of intervals and the overlap in `nsamples` random coverings of the regions with intervals having the sa...
[ "snehal@lnx-306501.(none)" ]
snehal@lnx-306501.(none)
935e668353281522257cae2c1d7cf7f920d7109b
ba182c0ef3f2d9be57454808e999972a44a17246
/papis_zotero/__init__.py
cd4b219ea84afd857e3af21d24fe69025ec8f0c0
[]
no_license
stuartthomas25/papis-zotero
9bc1aea061a2a5653e3f8a2f0dca20ca6591f649
00911a6a94191715429649b36f99f32005db530a
refs/heads/master
2023-01-20T14:53:53.738651
2020-12-03T01:27:27
2020-12-03T01:27:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
import click import os import logging import http.server import papis_zotero.server @click.group('zotero') @click.help_option('-h', '--help') def main(): """ Zotero interface for papis """ pass @main.command('serve') @click.help_option('-h', '--help') @click.option( "--port", help="Port to ...
[ "aamsgallo@gmail.com" ]
aamsgallo@gmail.com
e1a3e6b019db32d46d544ec8533a4e2420661ae1
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/DPGAnalysis/Skims/python/TPGSkims_cfg.py
72a0da830b6a2f7874b2e7bdbf09b435556f9e7a
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
6,095
py
import FWCore.ParameterSet.Config as cms process = cms.Process("SKIM") process.configurationMetadata = cms.untracked.PSet( version = cms.untracked.string('$Revision: 1.1 $'), name = cms.untracked.string('$Source' ), annotation = cms.untracked.string('TPG skim') ) # # # This is for testing purposes. # # p...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
4c3ff6795992f4880623aff1d7912e1e2af55406
95b6f547270557a99c435b785b907896f62e87d1
/test_cluster_mocking_nested_ratio.py
1369246b5107a36125ed7de9c6953ae44bb947a7
[]
no_license
phizaz/seeding-strategy-ssl
6b3b58c9b1f556f8cd42fea5e3dc20e623462a08
85655ce3297130b273d5f86075ee6bdf1f12be0a
refs/heads/master
2021-01-10T06:18:26.618009
2016-04-02T14:50:08
2016-04-02T14:50:08
49,761,712
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
from dataset import * from pipe import Pipe from wrapper import * from badness import * from ssltools import * from sklearn.cluster import KMeans dataset = get_yeast().rescale() def seed_randomly(prob): pipe = Pipe() \ .x(dataset.X) \ .y(dataset.Y) \ .y_seed(seeding_random(prob)) \ ...
[ "the.akita.ta@gmail.com" ]
the.akita.ta@gmail.com
b2e081c7ce0957970be4524dd7569d94f5999f5b
9e4fa1142a3656e97c637a247fd9e0a4b4192537
/manage.py
2f588eabb7d9bc15f00a4b0377a195b3614bfb9f
[]
no_license
LokeshKD/ckts-app-demo
41bb51f5ab4c94344cf8a1f7d0a5b8ee970d5375
309209b87737099249f010c505e689efc287c8c3
refs/heads/master
2022-02-11T06:22:53.556163
2019-08-13T02:38:49
2019-08-13T02:38:49
198,107,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
import os import unittest import coverage from flask_script import Manager from flask_migrate import Migrate, MigrateCommand from project import app, db app.config.from_object(os.environ['APP_SETTINGS']) migrate = Migrate(app, db) manager = Manager(app) manager.add_command('db', MigrateCommand) @manager.command d...
[ "i.lokesh@gmail.com" ]
i.lokesh@gmail.com
fc209154dfb2a5e90e53f5ea78fe360348b50cb5
4c28bbe099672d9402b4c2c75625fc450b7d1c99
/misc/formatter.py
09180ed9b437614ea97a03ea48f812b72e64672a
[ "MIT" ]
permissive
GINK03/lightgbm-feature-transform
e1edaf1d3dc541f816f844b280335b8d4d18fdfe
18c0eaf64ef159d9c5cc041244b45bbea7314ca8
refs/heads/master
2021-07-22T15:46:17.221420
2017-11-07T15:10:40
2017-11-07T15:10:40
107,000,998
12
0
null
null
null
null
UTF-8
Python
false
false
921
py
import re import json lines = [] for line in open('./gbdt_prediction_formatted.cpp'): line = line[:-1] line = line.replace(' {', ':') line = line.replace('} else', 'else') line = re.sub(r'^double', 'def', line) line = line.replace('const double *arr', 'arr') line = line.replace('const std::vector<ui...
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
dcb44358e58a964fba44912fffb44036d3b53921
7db9f50e35b13bb2d5a7fcf564e841be1961b937
/djangocms_teaser/migrations_django/0001_initial.py
9e4b8c0bb3268b4bc0f680f15ca6b2fc2cab8eb4
[]
no_license
tanderegg/djangocms-teaser
3df391b42931b4cb5a2fd067d88da36e3defa20b
29b09fbb921de052c9bf7a1e3bda8ed0a8b1fa56
refs/heads/master
2020-04-02T22:26:34.614574
2014-08-21T17:24:28
2014-08-21T17:24:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import cms.models.pluginmodel class Migration(migrations.Migration): dependencies = [ ('cms', '__first__'), ] operations = [ migrations.CreateModel( name='Teaser', ...
[ "i.spalletti@nephila.it" ]
i.spalletti@nephila.it
f430ca748728f396149648eb89ce978d127ee811
26f8a8782a03693905a2d1eef69a5b9f37a07cce
/test/test_dictionary_component_response_ofint64_and_destiny_item_talent_grid_component.py
bbf9b4777cea26e0cf7a3694065e35cbc650d67d
[]
no_license
roscroft/openapi3-swagger
60975db806095fe9eba6d9d800b96f2feee99a5b
d1c659c7f301dcfee97ab30ba9db0f2506f4e95d
refs/heads/master
2021-06-27T13:20:53.767130
2017-08-31T17:09:40
2017-08-31T17:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
# coding: utf-8 """ Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. OpenAPI spec version: 2.0.0 Contact: support@bungie.com Generated by: ...
[ "adherrling@gmail.com" ]
adherrling@gmail.com
a1d45b4a1306f1720ace5d28dab4653d0d2a6868
bd02997a44218468b155eda45dd9dd592bb3d124
/baekjoon_2108.py
cb9102297f1407ace276cbdd2e7a5b699dbacc1a
[]
no_license
rheehot/ProblemSolving_Python
88b1eb303ab97624ae6c97e05393352695038d14
4d6dc6aea628f0e6e96530646c66216bf489427f
refs/heads/master
2023-02-13T03:30:07.039231
2021-01-04T06:04:11
2021-01-04T06:04:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
''' Problem Solving Baekjoon 2108 Author: Injun Son Date: September 5, 2020 ''' from collections import deque import sys from itertools import combinations import math import math input = sys.stdin.readline N = int(input()) arr = [int(input()) for _ in range(N)] count_arr = [0]*8001 tmp_sum = 0 tmp_max = -1*sys.maxsize...
[ "ison@sfu.ca" ]
ison@sfu.ca
636406ddd942396e9b6aedb4bdaaba02783aa51f
c0ad282ab743a315e2f252a627933cb168434c1d
/shapeworld/torch_util.py
fa6ad12567eb305a5acdeee76fecf0a4791ff2fd
[ "MIT" ]
permissive
AlexKuhnle/ShapeWorld
6d1e16adc94e860abae99ade869f72575f573bc4
e720bf46e57fc01326d04d639fa6133d9c12158f
refs/heads/master
2021-07-09T00:02:33.808969
2021-04-19T11:10:52
2021-04-19T11:10:52
80,815,972
58
28
MIT
2021-04-19T11:10:53
2017-02-03T09:40:19
Python
UTF-8
Python
false
false
2,806
py
import sys import numpy as np import torch.utils.data class ShapeWorldDataset(torch.utils.data.Dataset): def __init__(self, dataset, mode=None, include_model=False, epoch=False, is_channels_first=True, preprocessing=None): super(ShapeWorldDataset, self).__init__() self.dataset = dataset s...
[ "aok25@cl.cam.ac.uk" ]
aok25@cl.cam.ac.uk
9c55f255b57e0eaf9ce3639bd0dd51cd1eb40334
deec7cdd0916936f71a194616060f2935291dba1
/examples/05_logging/null_handler/connect_ssh.py
f46d7698d5180a2d54819386a56cf94bd7067e8d
[]
no_license
denjjack/advpyneng-examples-exercises
938077e0e0d2265481746d894e970eb5688fc235
50871f0f228bb309f99ddee7ca56de25da0bfa1b
refs/heads/master
2022-12-15T02:43:50.148470
2020-09-11T11:51:38
2020-09-11T11:51:38
294,704,149
1
0
null
2020-09-11T13:34:23
2020-09-11T13:34:22
null
UTF-8
Python
false
false
194
py
from base_ssh_class import BaseSSH import logging logging.basicConfig(level=logging.DEBUG) r1 = BaseSSH("192.168.100.1", "cisco", "cisco") print(r1.send_show_command("sh clock")) r1.close()
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
09c1ec7ba50d187876c91d783b241ad7c7c92641
75d8667735782cd1d0eb4877e52c89da5cd92dde
/nova/conductor/tasks/base.py
170e5ebdf37200c833e06619b72a68d7ef3d0ae3
[ "Apache-2.0" ]
permissive
bopopescu/nova-token
ffecfd3ec561936b7d9d7e691bc57383cde05436
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
refs/heads/master
2022-11-22T09:53:31.073483
2016-05-14T02:47:01
2016-05-15T22:02:55
282,105,621
0
0
Apache-2.0
2020-07-24T02:42:19
2020-07-24T02:42:18
null
UTF-8
Python
false
false
3,441
py
begin_unit comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' comment|'#' nl|'\n' comment|'# http://www.apache.org/licenses/L...
[ "dmg@uvic.ca" ]
dmg@uvic.ca
1b84a43972de2a1222d45566cf6969e535176b4b
0e0ce88c886370df9af51855115c99dfc003e5da
/2012/04_Sistema_de_Atomos/func.Curve/color_junto.py
71bce10f2562d2ac7869dad6a0f355e2f20b019f
[]
no_license
miguelzeph/Python_Git
ed80db9a4f060836203df8cc2e42e003b0df6afd
79d3b00236e7f4194d2a23fb016b43e9d09311e6
refs/heads/master
2021-07-08T18:43:45.855023
2021-04-01T14:12:23
2021-04-01T14:12:23
232,007,012
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
from __future__ import division from visual import * c= curve( pos=[(-1,0,0)], color=color.blue,radius=1) c.append( pos=(0,0,0) ) # add a blue point (optional) c.append( pos=(0,0,0), color=color.orange) # same point c.append( pos=(1,0,0) ) # add orange point
[ "miguel.junior.mat@hotmail.com" ]
miguel.junior.mat@hotmail.com
24593538760a1009040733cb6b22ec4ed9378e7c
0308ce9bc6772a9c49b4f6ff4b73a9a31b9ad33e
/source/django-oscar/tests/settings.py
9cbdfebebdc619e0c15f36a191516da7942aeb4b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
SpivEgin/devenv
27a9211c68293b16578fe3959578be822da7e1ca
8c89aa77a38d6a0e915d99e02afcc5ae46fc39f3
refs/heads/master
2023-01-20T21:00:20.978045
2017-05-19T03:55:36
2017-05-19T03:55:36
91,119,096
1
1
null
2023-01-12T06:51:14
2017-05-12T18:27:47
Python
UTF-8
Python
false
false
4,252
py
import os from django import VERSION as DJANGO_VERSION import oscar from oscar.defaults import * # noqa # Path helper location = lambda x: os.path.join(os.path.dirname(os.path.realpath(__file__)), x) ALLOWED_HOSTS = ['test', '.oscarcommerce.com'] DATABASES = { 'default': { 'ENGINE': os.environ.get('DA...
[ "spivegin@txtsme.com" ]
spivegin@txtsme.com
da48712a86cf4e6e34fa836703e6b99e8b23ddda
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/x44ZRvQtJ6TyZQhwx_20.py
f70bec02e1d036caf0e6764bad719e56541eceeb
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
def is_pandigital(n): holder = [] for num in str(n): holder.append(num) ​ unique = list(map(int, list(dict.fromkeys(holder)))) values_to_check = list(range(0, 10)) ​ result = all(elem in unique for elem in values_to_check) return(result)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0b4fa5edf61e03ebd315420faa11e09cf3b22720
564b9c85088ad5f3dd5929fb617f04086967558c
/m_f_CWproj/m_f_app/views.py
249c133416c8d61b51313d7ea33c903c39fbd650
[]
no_license
cs-fullstack-2019-spring/django-modelform1-cw-Joshtg1104
044b760627f350d1657470b30d1bb5ece5aed203
dd96648f9b5f019b1cbf6deb198f63af3dc29915
refs/heads/master
2020-04-25T18:08:01.539136
2019-03-01T19:46:32
2019-03-01T19:46:32
172,974,343
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
from django.http import HttpResponse from django.shortcuts import render from .forms import NewPostForm # Create your views here. # index function that applies the form "NewPostForm" to newPost.html def index(request): newPost = NewPostForm() if request.method == "POST": print("It works") newP...
[ "joshtg1104@gmail.com" ]
joshtg1104@gmail.com
c23eb8db332afec90a2ef03172fdfaffb27a4130
5cbd6ef31c94f671c76e49d4c8ea607df157ac02
/tests/test_colors.py
2e97602836ddf342aaabff90faf2d5f519541dd8
[ "MIT" ]
permissive
brianbruggeman/kelte
5e182370f1d6b88cd9e262c06c075926870181f6
6dd8a53da07697ffc87e62aa397be7b3b08f0aa0
refs/heads/master
2020-03-20T23:17:58.841258
2018-07-10T21:53:18
2018-07-24T15:55:48
137,839,700
0
0
null
null
null
null
UTF-8
Python
false
false
3,950
py
import pytest @pytest.mark.parametrize( "data", [ { # default "kwds": {}, "expected": { "red": 0, "green": 0, "blue": 0, "alpha": 255, "hex": "00" * 3, "hexa": "00" * 3 + "ff", ...
[ "Brian.M.Bruggeman@gmail.com" ]
Brian.M.Bruggeman@gmail.com
dd2ad3e05f47b691c6e78059e89ea5774dccd80d
6559138a129678027dc82c059330cfaa14d61897
/src/0.py
8065041b974a6cf118ce1091864cc2ab446a4da4
[ "CC0-1.0" ]
permissive
ytyaru/Python.curses.20210607091706
7c9b449920ba426a5a5bd7d739efc6f071007b38
50a38593cbe71da4d8c667a3afa8be0b36ee8f02
refs/heads/master
2023-05-31T13:19:40.736629
2021-06-09T04:05:11
2021-06-09T04:05:11
374,500,575
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
#!/usr/bin/env python3 # coding: utf8 # 色をセットする。 import os, curses def main(stdscr): if not curses.has_colors(): raise Exception('このターミナルは色を表示できません。') if not curses.can_change_color(): raise Exception('このターミナルは色を変更できません。') curses.use_default_colors() for i in range(1, curses.COLORS): curses.init...
[ "yttry0@gmail.com" ]
yttry0@gmail.com
ad040adb2f5a1b4fa3eb0e8111e40362616bd91a
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Trigger/TrigSteer/TrigSteering/share/pureSteering_menu_with_multi_seeding.py
29a92c02af4ab242863feb1cbb6a7965ae498cdf
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
2,667
py
from TriggerMenu.TriggerConfigLVL1 import TriggerConfigLVL1 from TriggerMenu.l1.Lvl1Flags import Lvl1Flags from TriggerMenu.l1.Lvl1MenuItems import LVL1MenuItem from TriggerMenu.l1.TriggerTypeDef import TT from TriggerMenu.l1.Lvl1Condition import ThrCondition, Lvl1InternalTrigger from TriggerMenu.l1.Logic i...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
a149115e46739b848bda41b1dcf90d87e52bf605
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_13371.py
322e85169c6dc9863b7ef4ed1e782d6d7ded750a
[]
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
135
py
# How to implemente oauth process in a different window and then reload caller window window.parent.location.reload(); window.close();
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
9f71501b969443ac8f8eb704fe52c12ef0ec0c03
6e9c9128054da7eea28a4627381df28f95416ee5
/finance_ml/labeling/trend.py
5f114e57c71fe6fb5efa361de0ecb43606c8b615
[ "MIT" ]
permissive
BTCTON/finance_ml
c5a4ad2486608ad19c92c04c70fe513be135c236
a585be2d04db5a749eb6b39b7336e5aeb30d6327
refs/heads/master
2021-12-23T07:53:13.791609
2021-10-15T01:47:41
2021-10-15T01:47:41
158,898,508
1
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
import numpy as np import pandas as pd import multiprocessing as mp import statsmodels.api as sm from ..multiprocessing import mp_pandas_obj def t_val_linreg(close): x = np.ones((close.shape[0], 2)) x[:, 1] = np.arange(close.shape[0]) ols = sm.OLS(close, x).fit() return ols.tvalues[1] def _get_bins...
[ "f.j.akimoto@gmail.com" ]
f.j.akimoto@gmail.com
796050d7fcc74771bea6bbb5c4dcb549237f4767
88f7a8c58de6003722ec45a0ad752023470a2121
/snippets/logger.py
fdbfbc110e6c46ea24078264cf0f075ce6dd0b5b
[ "MIT" ]
permissive
boada/planckClusters
5f90fcdddb13040a6ba50ef8d24eac390ae6e476
731be562e9e91e4468f5a90d8f161a4e9593fcc8
refs/heads/master
2021-01-13T14:30:19.473845
2019-12-18T21:19:43
2019-12-18T21:19:43
74,033,781
3
0
null
2017-09-05T15:09:18
2016-11-17T14:18:33
Python
UTF-8
Python
false
false
1,452
py
""" These functions can be used for logging information. .. Warning:: logger is not multiprocessing safe. :author: Sami-Matias Niemi :contact: smn2@mssl.ucl.ac.uk :version: 0.3 """ from __future__ import print_function from builtins import object import logging import logging.handlers def setUpLogger(log_filename,...
[ "stevenboada@gmail.com" ]
stevenboada@gmail.com
56bbe72cc69782b3a1eb894bcbf4c83145739ce8
19907d6f47f7af804b0ddee642d98edd170d7f58
/tests/test_param.py
943303a993ebac47c916b34093468acd6d0c3503
[ "MIT" ]
permissive
GuancongLuo/roslibpy
3560080271d9df841a051abab402479fdcc895f2
92b97d6daa78d30384e3a347d46be51c6e7fbd01
refs/heads/main
2023-07-13T02:06:10.846579
2021-08-13T11:48:22
2021-08-13T11:48:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
from roslibpy import Param from roslibpy import Ros def test_param_manipulation(): ros = Ros('127.0.0.1', 9090) ros.run() param = Param(ros, 'test_param') assert param.get() is None param.set('test_value') assert param.get() == 'test_value' param.delete() assert param.get() is None ...
[ "casas@arch.ethz.ch" ]
casas@arch.ethz.ch
09b864579ac3497d0486423317416ded477a0db9
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/initial_9331.py
552551a0597c6aa2699bf45fd4d1323e76fb108c
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,332
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
6e30cc3df48b3e879295e8c3e9842e10d1b8cbbe
67a7c314fc99d9cd7a677fcb6bc2b6dfa20a9cff
/feeds/admin.py
1468de4b629f86c39aa9a3bf5e76bab219607b47
[]
no_license
Xodarap/Eipi
7ebbb9fd861fdb411c1e273ea5d2a088aa579930
d30997a737912e38316c198531f7cb9c5693c313
refs/heads/master
2016-09-11T06:28:01.333832
2011-05-03T15:35:20
2011-05-03T15:35:20
1,367,645
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
from eipi2.feeds.models import Story, Source from django.contrib import admin #admin.site.register(Story) admin.site.register(Source)
[ "eipi@mybox.(none)" ]
eipi@mybox.(none)
9a1fd6a0cc906e207694663ee5bd730c1dabfb9a
4ae3b27a1d782ae43bc786c841cafb3ace212d55
/Test_Slen/Pytest_proj/01/unit_proj1/unittest_code/test_calc.py
ad41eb73c03723bfdbcc20d36f7d612633eab79e
[]
no_license
bopopescu/Py_projects
c9084efa5aa02fd9ff6ed8ac5c7872fedcf53e32
a2fe4f198e3ca4026cf2e3e429ac09707d5a19de
refs/heads/master
2022-09-29T20:50:57.354678
2020-04-28T05:23:14
2020-04-28T05:23:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,838
py
# Run all tests in the project # (01) C:\Users\jsun\Documents\Py_projects\Pytest_proj\01\unit_proj1>python -m unittest discover # # run certain test files # (01) C:\Users\jsun\Documents\Py_projects\Pytest_proj\01\unit_proj1>python -m unittest unittest_code.test_calc # # run a module in a file # (01) C:\Users\jsun\Docum...
[ "sunusd@yahoo.com" ]
sunusd@yahoo.com
f464a13b1fcfdec9f6c272a83db482c04e00a7ea
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/darcymason_pydicom/pydicom-master/pydicom/examples/write_new.py
fa26c8a48166bc0bbc812d9e5803e25e98916302
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
2,901
py
# write_new.py """Simple example of writing a DICOM file from scratch using pydicom. This example does not produce a DICOM standards compliant file as written, you will have to change UIDs to valid values and add all required DICOM data elements """ # Copyright (c) 2010-2012 Darcy Mason # This file is part of pydicom,...
[ "659338505@qq.com" ]
659338505@qq.com
8e0824c850a042e87ea7c8ce05119a0b59d37eca
dd35833bead7de2f2ca7affd985ac0d345b2ab6e
/apps/trade/adminx.py
ab5b4d915f633a0a7dbb263fc9dd28104e07e87c
[]
no_license
lhsheild/MxShop
df14c11aa7457f304194ff099a35869d83f0d9a7
811be4dad55284e737c80ebd4d00c079837393f2
refs/heads/master
2020-05-27T16:23:00.578686
2019-09-10T08:09:01
2019-09-10T08:09:01
188,130,934
1
0
null
null
null
null
UTF-8
Python
false
false
656
py
# trade/adminx.py __author__ = 'derek' import xadmin from .models import ShoppingCart, OrderInfo, OrderGoods class ShoppingCartAdmin(object): list_display = ["user", "goods", "nums", ] class OrderInfoAdmin(object): list_display = ["user", "order_sn", "trade_no", "pay_status", "post_script", "order_mount", ...
[ "lhsheild@yahoo.com" ]
lhsheild@yahoo.com
a1424d110e77f4bb77673e4f6a542829529d41b1
de40d3fa8d8af0030556d27d6833f6a1a0e7700c
/baekjoon/3036py/a.py
981dc22c90b5ec6aadaa481201e84db3e998b531
[]
no_license
NeoMindStd/CodingLife
cd6a627209c0353f4855f09fd5dfef8da4bbfef6
bcb6c3752f472e6a4f3b8f158d02bc3599dfcda3
refs/heads/master
2022-12-24T10:42:45.390085
2022-12-11T16:27:16
2022-12-11T16:27:16
191,797,634
2
0
null
null
null
null
UTF-8
Python
false
false
235
py
def gcd(a, b): while b != 0: a, b = b, a % b return a input() rings = list(map(int, input().split())) for i in range(1, len(rings)): g = gcd(rings[0], rings[i]) print("%d/%d" %(rings[0]//g, rings[i]//g))
[ "dwj1996@naver.com" ]
dwj1996@naver.com
3fb17157eabb72cf0582411fe8606ee38f2b47bc
0d4ec25fb2819de88a801452f176500ccc269724
/missing_words.py
f9dc6f23dfc2433a00eec544316e21f47b3862a2
[]
no_license
zopepy/leetcode
7f4213764a6a079f58402892bd0ede0514e06fcf
3bfee704adb1d94efc8e531b732cf06c4f8aef0f
refs/heads/master
2022-01-09T16:13:09.399620
2019-05-29T20:00:11
2019-05-29T20:00:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
def missingWords(s, t): s = s.split() t = t.split() sl = len(s) tl = len(t) i = 0 j = 0 missing = [] while i<sl or j<tl: if i<sl and j<tl and s[i] == t[j]: i+=1 j+=1 else: missing.append(s[i]) i+=1 return missing s = "I am using hackerrank to improve programming" t = "am hackerrank to improve"...
[ "rohithiitj@gmail.com" ]
rohithiitj@gmail.com
6cf8cd691b13e24ce9df52d46259cef29fdf0c2d
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/keras/optimizer_v2/learning_rate_schedule.py
44b502c0fd85e896c1bb8b0cb0755f152482e8d8
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:d64207cd938934798e16ea7cab234dc04101b6193775075e683965bd07f43ce7 size 38611
[ "business030301@gmail.com" ]
business030301@gmail.com
58d7bb7fcdd3c6a57d6f09ecd8bf6afd942d5ddc
1d60c5a7b8ce6277bff514e376f79848f706344c
/Data Scientist with Python - Career Track /22. Machine Learning with the Experts: School Budgets/02. Creating a simple first model/04. Writing out your results to a csv for submission.py
1ecf2dabc884d95e4128cdc5264f21ac5eb946f2
[]
no_license
DidiMilikina/DataCamp
338c6e6d3b4f5b6c541c1aba155a36e9ee24949d
3bf2cf3c1430190a7f8e54efda7d50a5fd66f244
refs/heads/master
2020-12-15T13:16:54.178967
2020-05-06T17:30:54
2020-05-06T17:30:54
235,113,616
4
3
null
null
null
null
UTF-8
Python
false
false
1,935
py
''' Writing out your results to a csv for submission At last, you're ready to submit some predictions for scoring. In this exercise, you'll write your predictions to a .csv using the .to_csv() method on a pandas DataFrame. Then you'll evaluate your performance according to the LogLoss metric discussed earlier! You'll ...
[ "didimilikina8@gmail.com" ]
didimilikina8@gmail.com
7901103214afbd0b66f90ed496afaa03613081e1
1f2b85cc95a1f65df81c0dec8bfb8d7e5652aa88
/schema/sdss5db/catalogdb/sdss_qso/dr16/sdss_dr16_qso_load.py
aa63b00775fb326e5c4ad9f70ad4140c5bfbffa5
[ "BSD-3-Clause" ]
permissive
sdss/sdssdb
2f22a90c51e1281c154f6c518a1ce8951f84a5ce
f7d3ef3ccfecd87b50ce05cf6af5a564679f15f5
refs/heads/main
2023-09-01T14:51:05.374886
2023-08-30T20:23:10
2023-08-30T20:23:10
136,257,152
9
3
BSD-3-Clause
2023-09-14T16:31:47
2018-06-06T01:55:39
Python
UTF-8
Python
false
false
912
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # @Author: José Sánchez-Gallego (gallegoj@uw.edu) # @Date: 2020-07-17 # @Filename: sdss_dr16_qso_load.py # @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause) import os import astropy.table from sdssdb.peewee.sdss5db import database from sdssdb.uti...
[ "gallegoj@uw.edu" ]
gallegoj@uw.edu
458e5843502120422f19ee16994dd5abe8dbc752
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L80/80-79_MD_NVT_rerun/set_7.py
7458323d9005088ca69f07063dec0e7ea8f6b48f
[]
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
741
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L80/MD_NVT_rerun/ti_one-step/80_79/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_7.in' temp_pbs = filesdir + 'temp_7.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 la...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
7ace0aa7551fd6e52de05ba8a71f111252c72041
6ea5b91e7f14114bea0aadfd59178997c59cd75d
/mysite/settings.py
515a48f15dedf8c785836a2b9b94ed1f90ba2cf3
[ "MIT" ]
permissive
sharif-42/django-elasticsearch
68fe15333f4a2ed69c66b73bdeb27a0a1a28a115
999ee3382ef2ddcfcc62bd7ba330323000f3f1bf
refs/heads/main
2023-06-18T04:04:54.162123
2021-07-18T03:58:47
2021-07-18T03:58:47
386,169,552
0
0
MIT
2021-07-18T03:58:48
2021-07-15T05:03:33
Python
UTF-8
Python
false
false
3,525
py
""" Django settings for mysite 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/ """ from pathlib ...
[ "sharifulcsehstu@gmail.com" ]
sharifulcsehstu@gmail.com
22d4d44bb76d79af871bf58881fbafb98270f5cf
9390033cecf4247f5edc6551c39e9de39c04b036
/python/django/new_project/new_project/settings.py
337949d998a67723f8026da2805507ec234a3a9f
[]
no_license
JennaDalgety/coding-dojo
4940bb853a9fcd706bc30f1615ff824fc7f7788d
d2647257a5e93652978c911d65e2a6ff97653392
refs/heads/master
2020-02-26T14:59:02.324328
2019-03-20T23:13:38
2019-03-20T23:13:38
67,653,828
0
0
null
null
null
null
UTF-8
Python
false
false
3,130
py
""" Django settings for new_project project. Generated by 'django-admin startproject' using Django 1.10.3. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ impor...
[ "jdalgety@gmail.com" ]
jdalgety@gmail.com
24d12eba01fefcbfab00c21bc1fade185faa78e6
6c8c6e5d952cd821dbf6661e71896a473494a8eb
/blog/admin.py
1e6fb4d2db410c56734a47133101fd69c3095635
[]
no_license
Lethons/mywebsite
fe2d8fae75f1228e309a847071a7d4182f7b005d
3a26c764ae0fa4bb628b3ed3fad3f04784e78153
refs/heads/master
2020-03-21T12:59:25.712867
2018-06-29T09:04:24
2018-06-29T09:04:24
138,582,050
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
from django.contrib import admin from .models import Tag, Blog # Register your models here. @admin.register(Blog) class BlogAdmin(admin.ModelAdmin): list_display = ('title', 'author', 'tag', 'publish_time', 'update_time') fields = ('title', 'content', 'publish_time', 'author', 'tag') list_per_page = 20 ...
[ "lethons@163.com" ]
lethons@163.com
cc487a546b0b4540e9263ae5b052b35e62beae3d
84a70e27982094ac78d34642674f4e873d571b23
/src/apps/productos/migrations/0015_auto_20190812_2008.py
bfdc2ab0a43d78dca4ff19b2e75fce2e18fa6372
[]
no_license
valenciacamilo12/Pagina-Web-Farmacia---Django-
2b9eef0b0f5011247274a528d63fdaa0ed557fad
7c8a9ac78bd2cf48706a2ef76cb32ac0824094ea
refs/heads/master
2020-07-02T09:38:31.978196
2019-08-16T03:07:58
2019-08-16T03:07:58
201,487,924
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2019-08-13 01:08 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('productos', '0014_auto_20190812_1939'), ] operations = [ migrations.AlterFiel...
[ "camilo3341215@gmail.com" ]
camilo3341215@gmail.com
7a32049f420bba3e44a3f942d34827eddd50153c
68561c61c2a784f1765fae8b07e90d7ec53f1edd
/maestral/__init__.py
7a979d2e1fb6e272c6317970de4a5baf55e2f40a
[ "MIT" ]
permissive
ailiao/maestral-dropbox
68213e219a21f0d76c80be839f73d65120cf99f5
f7043ef23062d6cc85d61701cb129bdc8f09f065
refs/heads/master
2021-04-07T17:14:26.936449
2020-03-20T00:31:22
2020-03-20T00:31:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
# -*- coding: utf-8 -*- """ @author: Sam Schott (ss2151@cam.ac.uk) (c) Sam Schott; This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.0 UK: England & Wales License. The following APIs should remain stable for front ends: * maestral.main.Maestral * maestral.oauth * maestral.constants...
[ "ss2151@cam.ac.uk" ]
ss2151@cam.ac.uk
0dfdbb64ae87c90a2faea1081212a757f355b52a
593132164b6992b8b047cdf43a9d04c59fe607ee
/py_simple/14.直方图/14.4.3绘制图像直方图.py
ea06b99e0fe02ba77074c538cc3d9a4ee1bcd1d6
[ "Apache-2.0" ]
permissive
ztfmars/OpenCV_Python_Tutorial
b69b98e5e6b4e31c4f699fdbbaac36db68b8098b
2c9cf57f469dfec2aca8356f59f7473e5a506988
refs/heads/main
2023-02-14T22:40:38.456751
2021-01-17T02:18:21
2021-01-17T02:18:21
329,609,724
1
0
null
null
null
null
UTF-8
Python
false
false
238
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 4 15:14:29 2018 """ import cv2 import matplotlib.pyplot as plt o=cv2.imread(r"../image/boatGray.bmp") histb = cv2.calcHist([o],[0],None,[256],[0,255]) plt.plot(histb,color='r') plt.show()
[ "ztfmars@163.com" ]
ztfmars@163.com
fc0b447a2456e32eab54d3280fb6ec002374a543
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/21/usersdata/132/7646/submittedfiles/exercicio24.py
6f1494ca275e078bdc33c5054fba35ef34694292
[]
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
283
py
# -*- coding: utf-8 -*- from __future__ import division import math salario=float(input('digite o salario:') b=salario imposto=0 if b>3000: imposto=imposto+((b-1000)*0.35) b=3000 if base>1000: imposto=imposto + ((base-1000)*0.2) print(' salario: %.2f'%(salario, imposto)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0830399447aa0f121363d3b62bf09941e4d667bb
6496d7ab505ab1df594d373c0c58206d580302f6
/exercicio2.py
63ad04b2a7e4b5da032aad729336883f6191a972
[]
no_license
alicesilva/P1-Python-Problemas
7050f323a073ff51c51cd94d451bddfac71bf30b
eade521a3c7f740bb901a6714385d91356a37835
refs/heads/master
2020-03-09T21:04:32.211493
2018-08-25T19:50:53
2018-08-25T19:50:53
129,000,364
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
#coding: utf-8 numero1 = int(raw_input()) numero2 = int(raw_input()) numero3 = int(raw_input()) if numero1 <= numero2 and numero1 <= numero3 and numero2 < numero3: print numero1 print numero2 print numero3 elif numero1<numero2 and numero2<numero3 and numero3<numero2: print numero1 print numero3 print numero2 elif...
[ "alice.silva@ccc.ufcg.edu.br" ]
alice.silva@ccc.ufcg.edu.br
3820696ada3ab15a036ddeea0e29c7a9fbd88bae
83646bb54129da9fae70ec05e943093cc221ad85
/Interface.py
56afa59ebd7c4cccc2d1aa017097fa1fc2fb57fe
[]
no_license
Rybak-a87/password_store_gui
88b6464fbbe5643c63c0a00caee02f937f4007bc
2a2c771e34b5fda01b2d404b713cc00fa0b35816
refs/heads/main
2023-02-06T06:44:10.178644
2020-12-25T12:32:10
2020-12-25T12:32:10
318,624,367
0
0
null
null
null
null
UTF-8
Python
false
false
7,632
py
import tkinter from BackendJson import BackendJson from Cipher import Cipher class Interface: def __init__(self, window_name): self.backend = BackendJson("data") self.cipher = Cipher() self.root = tkinter.Tk() self.root.title(window_name) # self.root.iconbitmap("./ico/ico...
[ "rybak.a87@gmail.com" ]
rybak.a87@gmail.com
6d61f46d1ce445b4126a332ddd0961ed016516be
e3e7e069b1b66c5d63319a23a2201a38171df23f
/dataUpdate/util/ts_util.py
590eb20c1be54ba8a6958b00f1cae028f8c95ba1
[]
no_license
webclinic017/backtrader_learning
b6ba1199ac31b5bbad0ce7abe7e4fca912cb9c8a
dfa5202a99af96273d49a4e92412c3b0d3c724a7
refs/heads/main
2023-08-18T17:44:20.751035
2021-10-09T08:43:29
2021-10-09T08:43:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
import tushare as ts token = 'e554b98ac431b1146b1db6bcb89dde62837fd87fb4c31aca54ff249f' pro = ts.pro_api(token=token) def getStockBasicInfo(): ''' 获取stock的基础信息 :return: ''' data = pro.query('stock_basic', exchange='', list_status='L', fields='ts_code,symbol,name,area,industr...
[ "wuzifan0817@gmail.com" ]
wuzifan0817@gmail.com
3a204339dd77109d1f6901ef336b30dc4e400fea
8fa003141ed3a01e5aa55369d63c332f43110c5b
/test/fx2trt/converters/acc_op/test_min.py
2f19a72cf9753885e1e7a766851f211477aa7e28
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
EshikaShah/pytorch
aec1e648fbcc32f2af5b59500e3986df3cfa4d9e
8734eed829b0a14b819b97982222e3f494db01d1
refs/heads/master
2023-08-18T19:37:54.722565
2021-10-18T18:04:03
2021-10-18T18:04:03
414,952,363
0
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
import torch import torch.fx.experimental.fx_acc.acc_ops as acc_ops from caffe2.torch.fb.fx2trt.tests.test_utils import AccTestCase from parameterized import parameterized class TestMinConverter(AccTestCase): @parameterized.expand( [ ("dim0_keepdim", 0, True, torch.randn(2, 2, 3)), ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
4adb2fcf27d222cf31a55b5486f751060deec10d
54a26bf56aebd604d4dece733f08d7d30cd27f89
/zdemo/aclassview/views.py
071bb0719b01a7d382ba98131db3b8a1ebd7040c
[ "MIT" ]
permissive
zzZaida/django_27
b78f5ae8bccfa11074221ba32241878d703aa535
bbbba8be9547fb815c68e94fadb7e8b6eebf75c9
refs/heads/master
2020-07-03T19:47:25.037195
2019-08-13T12:11:29
2019-08-13T12:11:29
202,030,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
from django.http import HttpResponse from django.shortcuts import render from django.utils.decorators import method_decorator # utils --> 工具类 from django.views import View # 定义装饰器 def my_decorator(func): def wrapper(request, **kwargs): print('添加装饰器-----', request.method) return func(request, **k...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
90f8b5f0863837b4f24ed7543348060ac40bbcc6
d842a95213e48e30139b9a8227fb7e757f834784
/gcloud/google-cloud-sdk/.install/.backup/lib/surface/dataproc/clusters/create.py
ebf2e974a6b41b416363de240513ced274b6ed35
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/JobSniperRails
f37a15edb89f54916cc272884b36dcd83cdc868a
39e7f871887176770de0f4fc6789e9ddc7f32b1f
refs/heads/master
2022-11-22T18:12:37.972441
2019-09-20T22:43:14
2019-09-20T22:43:14
282,293,504
0
0
MIT
2020-07-24T18:47:35
2020-07-24T18:47:34
null
UTF-8
Python
false
false
4,982
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "luizfper@gmail.com" ]
luizfper@gmail.com
a3b5797db823677eca00cbbb4314cf2ab0379c65
3b9bf497cd29cea9c24462e0411fa8adbfa6ba60
/leetcode/Problems/468--Validate-IP-Address-Medium.py
a283e3d9f2615a578f4a10ccff3742d93dffa0fb
[]
no_license
niteesh2268/coding-prepation
918823cb7f4965bec096ec476c639a06a9dd9692
19be0766f6b9c298fb32754f66416f79567843c1
refs/heads/master
2023-01-02T05:30:59.662890
2020-10-17T13:12:34
2020-10-17T13:12:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
class Solution: def validateIPV4(self, IP): ipSplit = IP.split('.') if len(ipSplit) != 4: return False for i in range(4): if len(ipSplit[i]) == 0 or len(ipSplit[i]) > 3: return False if not ipSplit[i].isdigit(): return False...
[ "akulajayaprakash@gmail.com" ]
akulajayaprakash@gmail.com
5dc820764db1b26f0d3a0a84d332b95f306ea84b
4c83b4d7aca6bbcd15b922ad7314440fea7c9a70
/2020-07-27_modo_horario_cp_onda1_10d/bkp/script_modo_horario_2020-03-05.py
f79f6c5aa1e5becacdcfb011cd1bd0d48794ccbc
[]
no_license
poloplanejamento/odmatrix-joinville
63b60a85055700698cdb590c181e7c8a4d5c7361
be7ce0814fb9dad2d289cd836dde51baa9c0850d
refs/heads/main
2023-01-23T11:43:45.451126
2020-12-10T23:17:58
2020-12-10T23:17:58
320,402,809
0
0
null
null
null
null
UTF-8
Python
false
false
2,337
py
#!/usr/bin/env python3 # Bibliotecas from http.client import HTTPSConnection from base64 import b64encode import json import csv import pandas as pd # Variáveis projectID = "40" # ID do projeto, conforme mostrado no frontend Web c = HTTPSConnection("api.odmatrix.app") userAndPass = b64encode(b"fe6b53f0280443d5bd4...
[ "caiocco@gmail.com" ]
caiocco@gmail.com
bb2ea7c18040e64a3b1053c49a768e69116d0f47
625f2f86f2b2e07cb35204d9b3232427bf462a09
/HIRun2018PbPb/L1T/L1Ntuple_HIRun2015_HIMinimumBias2_egBypassFGBit1ShapeBit1/l1Ntuple_RAW2DIGI.py
2a05fe0379f2e8a5c4507ee92d3ee8daa127a5b5
[]
no_license
ttrk/production
abb84c423a076fd9966276b7ed4350936c755e0b
f8a64c9c38de215802799365f0f7a99e1ee78276
refs/heads/master
2023-02-08T23:48:56.355141
2023-01-26T08:46:22
2023-01-26T08:46:22
52,877,406
0
2
null
null
null
null
UTF-8
Python
false
false
4,716
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: l1Ntuple -s RAW2DIGI --era=Run2_2017 --customise=L1Trigger/Configuration/customiseReEmul.L1TEventSetupForHF1x1TPs --customise=L1Trigger/Con...
[ "tatark@mit.edu" ]
tatark@mit.edu
177ec5ab1a07b52261f471748deaed236f5d9924
99e88bd6c2bb50e38f5bb68f0d5242def0442f7f
/tests/test_struct.py
a378da250be0b66d31d8f26b5b0d02c745c21343
[]
no_license
vahtras/vb
ea1bb59a8e6125203d9498f2808a7bf8e6ad5916
425402e619aab7d69d7f5d3971439d532d36de0b
refs/heads/master
2021-01-15T15:42:46.158363
2016-10-13T09:06:22
2016-10-13T09:06:22
47,419,292
0
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
import unittest from util.full import init from findifftool.core import clgrad, DELTA from . import vb from vb.core import * class StructTest(unittest.TestCase): def setUp(self): Nod.S = init([[1.0, 0.1], [0.1, 1.0]]) Nod.C = init([[0.7, 0.7], [0.7, -0.7]]) self.alpha0 = Nod([0], []) ...
[ "vahtras@kth.se" ]
vahtras@kth.se
0bfa8bd26f28131255750f7fceb64d05ccfe39e6
360c777a2b77be466b1cf7c8fd74d6fd04f56b55
/migrations/versions/1e5cd35569af_.py
eabfd29c2469753fa35c275467e477d5e0946760
[ "MIT" ]
permissive
hreeder/nexus-auth
790a3b2623ddf443138a4b0f0af1380dbc4db8ae
8d51aef01647e32ba4a284f02de73a2caad7cf49
refs/heads/master
2021-01-10T10:08:37.190558
2016-02-29T12:27:21
2016-02-29T12:27:21
52,789,087
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
"""empty message Revision ID: 1e5cd35569af Revises: 51d27a60b822 Create Date: 2014-06-24 22:26:10.421081 """ # revision identifiers, used by Alembic. revision = '1e5cd35569af' down_revision = '51d27a60b822' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
[ "harry@harryreeder.co.uk" ]
harry@harryreeder.co.uk