blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
5415aabb59728ebc4a5c6162aa5db91bddd6490d
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/envs/devstack_docker.py
2eece814deae2c31cf5456b34af9e0f386c38c4e
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
129
py
""" Overrides for Docker-based devstack. """ from .devstack import * # pylint: disable=wildcard-import, unused-wildcard-import
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
a6c3b2d3c30d77febcd634cf65a7f06d7baf74a8
bd408f54b0bcd9c37c2fe38195a1caa3480c1d68
/library/rekognition.py
96c999a38a26a64154d6dafd33615b95b7d5ac07
[]
no_license
clara081094/refactoredRekognition
601c33396dbeb9cf2d799537e85beb6d7bc712c8
4f61d2727a22c6de021a6d28077fa5cc3aabb02e
refs/heads/master
2023-09-04T03:15:08.615401
2019-02-01T19:11:35
2019-02-01T19:11:35
168,747,363
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
import boto3 import json #from botocore.exceptions import ClientError class Rekognition(object): def __init__(self): self.client = boto3.client( 'rekognition', region_name="us-east-1", aws_access_key_id="AKIAIMM524QL43QPT43A", aws_secret_access_key="Un70EtWSf6CzK...
[ "clara.081094@gmail.com" ]
clara.081094@gmail.com
e8ad07e31379beae3dffbece9f29e72942cd9ab7
9f2a944624d3499555e31b384fc0611a4a834b41
/cookies-ver.py
906cb912efe7683f08d77f771b218d77cd7ee3c3
[]
no_license
silver926z/cprog_parser
8c3079c85fd92864745baf169d064b50ddf685c4
b6f4616a26483275fb3860ca2be7a35fd854a850
refs/heads/master
2021-01-25T09:37:27.526275
2017-06-09T12:53:37
2017-06-09T12:53:37
93,858,514
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
import requests from bs4 import BeautifulSoup import lxml url = "http://www.niotv.com/i_index.php?cont=day" headers = { "Host": "www.niotv.com", "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:43.0) Gecko/20100101 Firefox/43.0", "Accept": "image/png,image/*;q=0.8,*/*;q=0.5", "Accept-Language": "zh-TW...
[ "silver926z@gmail.com" ]
silver926z@gmail.com
85459e0cbd82140fa14886b0e5285bd8b8a76a28
b1303152c3977a22ff9a0192c0c32310e65a6d77
/python/567.permutation-in-string.py
c5487e09f925108dce4b4931b43c66fadd915fda
[ "Apache-2.0" ]
permissive
stavanmehta/leetcode
1b8da1c2bfacaa76ddfb96b8dbce03bf08c54c27
1224e43ce29430c840e65daae3b343182e24709c
refs/heads/master
2021-07-15T16:02:16.107962
2021-06-24T05:39:14
2021-06-24T05:39:14
201,658,706
0
0
Apache-2.0
2021-06-24T05:39:15
2019-08-10T16:59:32
Java
UTF-8
Python
false
false
81
py
class Solution: def checkInclusion(self, s1: str, s2: str) -> bool:
[ "noreply@github.com" ]
stavanmehta.noreply@github.com
7e8163e5286903c46159443b731345784fe85218
de69dd4c86f7c7b0a5a1fa0c27fb45c8241b36ea
/reserveTime/asgi.py
ea213ba502d8da84f87ec7ab762a76eb8928f976
[]
no_license
Sim30n/DIY-online-booking
bec065abc546b9915c3bbab9af3f7e6d7a797be9
68ab52506d0294260f7746762908265738854007
refs/heads/main
2023-03-10T03:05:59.492591
2021-02-21T14:35:57
2021-02-21T14:35:57
336,381,521
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for reserveTime project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "petteri.sarkka@fmail.com" ]
petteri.sarkka@fmail.com
744efb60853dbb0d6435abca149d3b53b7da4457
641ff329536c95de473e9dfdeeb844f0eb6948b6
/backend/tests/search/query_builder/test_create_query_filter.py
01dc341f947b762f606816180ad34570ab6be609
[ "MIT" ]
permissive
dnum-mi/cartographie-donnees
573a852f685180c7a6657f11a977ecedf7f0541d
26850923764ab4173b6824dff5c6bb3dbb753915
refs/heads/main
2023-08-16T04:26:41.158107
2023-01-20T13:01:14
2023-01-20T13:01:14
416,670,629
11
7
MIT
2023-03-30T14:29:31
2021-10-13T09:24:45
JavaScript
UTF-8
Python
false
false
3,778
py
from typing import List from pytest_unordered import unordered from app.models import Organization from app.search.enums import Strictness from app.search.query_builder import create_query_filter def test_query_with_filters_and_text(sample_organizations: List[Organization]): query = create_query_filter( ...
[ "yann.carfantan@artelys.com" ]
yann.carfantan@artelys.com
ff91889dcdaa347c138e4b81f3c25c581ec6ac76
f3c380495cda1fe7d791c421216bc3d373b44b5a
/lambda.py
ef1b5c3f683d7538fc93d2b877bc9f34727b55ee
[]
no_license
siwangqishiq/PythonLearn
01c63703b1dafbf4eec27a7b6e6846413045efb3
275b1becb1be9cca566956e6f58088e983e68208
refs/heads/master
2021-08-23T10:19:52.189996
2017-11-12T06:33:20
2017-11-12T06:33:20
105,995,836
1
1
null
null
null
null
UTF-8
Python
false
false
262
py
def main(): data = [{"name":"毛利兰","age":17},{"name":"工藤新","age":18},{"name":"鲁鲁修","age":16},{"name":"夜神月","age":20}] for d in data: print(d) print("="*50) data.sort(key = lambda x:x["age"]) for d in data: print(d) main()
[ "525647740@qq.com" ]
525647740@qq.com
a341ca2afe835fa5c459a897d33b89eeafb9f226
8e7421d340586a8d1d93304add04daf51506ada5
/image_beautify/image_histogram_equalization.py
26e976a007184c7c29e401198ffed20170f226d0
[]
no_license
wddzz/opencv_and_tensorflow_study
a419d5d951be1ba52cbdbc3aafafb93092e643f1
f89639af5268df00899601fa0e525afa0b63a713
refs/heads/master
2020-03-22T16:01:34.602285
2018-08-01T15:57:18
2018-08-01T15:57:18
140,297,326
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
import cv2 import numpy as np img0 = cv2.imread("H:\\Files\\image_process\\damimi.jpg",1) # 灰度 直方图均衡化 # gray = cv2.cvtColor(img0,cv2.COLOR_BGR2GRAY) # dst = cv2.equalizeHist(gray) # 彩色 直方图均衡化 # (b,g,r) = cv2.split(img0) # bdst = cv2.equalizeHist(b) # gdst = cv2.equalizeHist(g) # rdst = cv2.equalizeHist(r) # dst = cv2...
[ "406452653@qq.com" ]
406452653@qq.com
eed858b8e82142df84227a811836ca3ac041cc93
f74602a8f37fc9357ba7d638ada8f0df8e2d85c1
/CFG.py
da09e3c8ab87ee2df8b5323b4fb99de443f08c81
[]
no_license
VictorTonyXie/PDA2Chomsky
128d34f580bbdf38aec4688e5f9f284330184d98
5014f463f8780fb54f25f3d6cd2d0c7bf3cc5a4f
refs/heads/main
2023-02-10T16:24:56.513324
2021-01-03T11:23:39
2021-01-03T11:23:39
326,349,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
class CFG: variables: list[str] = [] terminals: list[str] = [] start_variable: str production_rules: dict[str, list[list[str]]] = {} def __init__(self, variables: list[str], terminals: list[str], start_variable): self.variables = variables.copy() self.terminals = terminals.copy() ...
[ "taoxie2006@126.com" ]
taoxie2006@126.com
6d7552c80362211c8655afa1523750f82b5f34b9
cbdbb05b91a4463639deefd44169d564773cd1fb
/djangoproj/forms_lab/lab/models.py
a49bb957d8bc48b023dce230a3be6f848e11e28a
[]
no_license
blazprog/py3
e26ef36a485809334b1d5a1688777b12730ebf39
e15659e5d5a8ced617283f096e82135dc32a8df1
refs/heads/master
2020-03-19T20:55:22.304074
2018-06-11T12:25:18
2018-06-11T12:25:18
136,922,662
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
from django.db import models class Nakup(models.Model): datum_nakupa = models.DateField() trgovina = models.CharField(max_length=30) class NakupIzdelki(models.Model): nakup = models.ForeignKey(Nakup) izdelek = models.CharField(max_length=30) kolicina = models.IntegerField(default=1) cena = mo...
[ "blaz.korosec@mentis.si" ]
blaz.korosec@mentis.si
6653c822271f595c1ee6011406a88613852cd291
3325f16c04ca8e641cbd58e396f983542b793091
/Seção 13 - Leitura e Escrita em Arquivos/Exercícios da Seção/Exercício_04.py
3140f4c4229bb75d6849a37c399fbae14f608b1f
[]
no_license
romulovieira777/Programacao_em_Python_Essencial
ac929fbbd6a002bcc689b8d6e54d46177632c169
e81d219db773d562841203ea370bf4f098c4bd21
refs/heads/master
2023-06-11T16:06:36.971113
2021-07-06T20:57:25
2021-07-06T20:57:25
269,442,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
""" 4) Faça um programa que receba do usuário um arquivo texto e mostre na tela quantas letras são vogais e quantas são consoantes """ from Exercício_03 import conta_vogais def conta_consoantes(txt): """Retorna a quantidade de consoantes que existe no texto recebido por parâmetro. Caso o que for recebido por...
[ "romulo.vieira777@gmail.com" ]
romulo.vieira777@gmail.com
390b2f724eeeaf6d0e23372bb737c97147f3ea23
415e11fbf113512c3b2081a55796bcddc652b34e
/main_app/urls.py
c1775d5a977858c3a241602eb866ef810f1db2f1
[]
no_license
cooperama/candy-collector-v2.0
e51cdbcd67071e0423c22038843f96939fb04cc8
26cb58d875313693a5ec477a5bbe4efb204d9017
refs/heads/master
2023-02-03T13:46:39.190537
2020-10-31T21:33:13
2020-10-31T21:33:13
322,905,474
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
from django.urls import path from . import views urlpatterns = [ # Static path('', views.home, name='home'), path('about/', views.about, name='about'), # Candy path('candy/', views.candy_index, name='candy_index'), path('candy/<int:candy_id>/', views.candy_detail, name='candy_detail'), pat...
[ "coope133@gmail.com" ]
coope133@gmail.com
7cc0f99a45c4afebcd51d2a614f223eba92ad6fd
e2561aaf3fec80646c0c44fa369d062865bd8f39
/backend/tests/views.py
eced51ac47ebd25216bd2576375aff6912fed3bf
[]
no_license
prakritimaddheshiya/tests
b4fb2ba91f7d51d6f4c5dd2da0a8a38c3ff8fd29
91cffb07fa0ab674b0e49e11b6f8d5c39159357e
refs/heads/main
2023-04-20T15:59:08.619385
2021-05-17T11:26:57
2021-05-17T11:26:57
368,150,110
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
from rest_framework import status from rest_framework.response import Response from rest_framework.views import APIView from .models import Tests from .serializers import TestsSerializer class TestsCreateView(APIView): def post(self, request): serializer = TestsSerializer(data=request.data) if se...
[ "ayushgupta0010@gmail.com" ]
ayushgupta0010@gmail.com
a3e8f85b15362854f00e8158fedd47775ff9a1fb
9b5597492e57313712c0a842ef887940f92636cd
/judge/sessions/2018Individual/sgessow@gmail.com/PB_02.py
f67c2bfbbc1ddd96d57cfd996db5fcf43c0930bf
[]
no_license
onionhoney/codesprint
ae02be9e3c2354bb921dc0721ad3819539a580fa
fcece4daf908aec41de7bba94c07b44c2aa98c67
refs/heads/master
2020-03-11T11:29:57.052236
2019-05-02T22:04:53
2019-05-02T22:04:53
129,971,104
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
Cases=input() Cases=int(Cases) for i in range(Cases): Num1= [int(x) for x in input().split()] Num2= [int(x) for x in input().split()] Num3= [int(x) for x in input().split()] count=0 ans=[] for i in Num1: if i==1: ans.append(count) count=count+1 count=0 for i i...
[ "root@codesprintla.com" ]
root@codesprintla.com
618d26a1de085c3b232b50f8a719c096a1a4c389
b5ca0a2ce47fdb4306bbdffcb995eb7e6eac1b23
/Python/Regex and Parsing/Validating phone numbers/attempt2.py
2b2d832379b0eb3a6171a2ff4bfd378358e9b641
[]
no_license
rsoemardja/HackerRank
ac257a66c3649534197b223b8ab55011d84fb9e1
97d28d648a85a16fbe6a5d6ae72ff6503a063ffc
refs/heads/master
2022-04-14T22:46:03.412359
2020-04-03T07:44:04
2020-04-03T07:44:04
217,687,370
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
import re n = int(input()) for _ in range(n): if re.fullmatch('[789]\d{9}', input()) != None: print('YES') else: print('NO')
[ "rsoemardja@gmail.com" ]
rsoemardja@gmail.com
34a8a5d6bf82521b2d655e068ef808d27f366861
13fa7bc8ac70b217382459a136b0125813328410
/Util/SocketServer.py
bb3a83b9d06070420d323a74df2e648676fb1875
[]
no_license
Leia1002/Rizhao-master0803
ca8ba452aa52d99301aec0a120690729d49ce90d
b5d2427eb96068fdcaa57402ad3b11f36aca3736
refs/heads/master
2020-03-25T04:44:10.661627
2018-08-28T12:45:33
2018-08-28T12:45:33
143,410,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
# -*- coding: utf-8 -*- import threading import time from Util.Dispatch import Dispatch ''' 此处以后再加入java互动 开始线程,本类其实是一个定时器作用 ''' class SocketServer(object): def everyMonth(self): while True: lock = True # todo:bug 此处循环无数次,如何设置为一次 if time.strftime("%d") == '1' and lock...
[ "mafei@Hisense.ad" ]
mafei@Hisense.ad
5211a4898c1a211510a8046ed40929d34e12d441
867437c13bad3c10c2c2e78eeab0827b6a46c754
/app/main.py
3d62cd7d3f6cc56e31c2739ea35420cc57ee08f3
[]
no_license
BoredTweak/heroku-api-redis-demo
40e6fe34a2c884297ccc7fc4fb211eb62781e780
fc024821467a5ba4b59821b8020437845108f3f0
refs/heads/main
2023-07-25T02:53:09.298035
2021-08-25T16:18:26
2021-08-25T16:18:26
399,864,452
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import threading import redis import sys import time from fastapi import FastAPI import os from dotenv import load_dotenv load_dotenv() hostAddress = os.environ.get('REDIS_URL') port = os.environ.get('REDIS_PORT') app = FastAPI(root_path='/api') @app.get('/heartbeat') def get_heartbeat(): r = redis.Redis(host=ho...
[ "alex.elia37@gmail.com" ]
alex.elia37@gmail.com
d8d5fb0ee104918f31eeef19697fffe2a9eb2015
9e5c864130ba4f9ae257ba0709cda1263f7b402a
/teststr.py
0a54138cc9d82da409060d28364758c3a99d0adb
[]
no_license
LBJ-Max/basepython
ee7ce77247f92de009b0724d2656d3ddbd085130
b7c2ee2af628125584372371389598fe81708468
refs/heads/master
2020-06-25T11:27:40.459374
2019-07-28T14:21:56
2019-07-28T14:21:56
199,296,609
2
0
null
null
null
null
UTF-8
Python
false
false
214
py
hello_str = "hello world" # 1.统计字符串长度 print(len(hello_str)) # 2.统计字符串出现次数 times = hello_str.count("l") print(times) # 3.某个字符串出现的位置 print(hello_str.index("llo"))
[ "fenggaopan@dangdang.com" ]
fenggaopan@dangdang.com
fdfd405481a69ee32d75908d3217785d365d90a4
f6fafb196e9e68e3f849ec4dfa4046632380c822
/100 days of code/day 17/quiz_brain.py
450561a3478070d271164a21cc5acb2a8888923b
[]
no_license
Juozapaitis/100daysOfCodeUdemy
77f0f2c658952e6bed5d776ff135233d96328471
4de48a778ea438f5c36f6d9638c3c01a7d7437ff
refs/heads/master
2023-09-02T04:53:47.604007
2021-10-20T08:42:04
2021-10-20T09:30:00
419,249,733
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
class QuizBrain(): def __init__(self, questions_list): self.question_number = 0 self.score = 0 self.questions_list = questions_list def next_question(self): current_question = self.questions_list[self.question_number] self.question_number += 1 user_answer = inpu...
[ "justasjuozapaitis65@gmail.com" ]
justasjuozapaitis65@gmail.com
252f6b30ab9c777e478f9d48787a4711d088af58
9729365a58351c9cf42edb932b8272db8ca98b6f
/CRIMSONModuleTemplate/Template/SolverStudies/template.py
45d2b6ae369ddfa9a4917b294becfc854d13af01
[]
no_license
rkhlebnikov/CRIMSONPythonModules
fbde5666aceae947a575f661518306694f052559
b72865579e3b503940986e9217d3541a66ee92d5
refs/heads/master
2023-03-04T03:06:37.004018
2021-09-21T20:42:30
2021-09-21T20:42:30
48,180,113
3
3
null
2023-03-01T15:25:27
2015-12-17T14:50:33
Python
UTF-8
Python
false
false
1,700
py
from PythonQt import QtGui from PythonQt.CRIMSON import FaceType from PythonQt.CRIMSON import Utils from CRIMSONCore.SolutionStorage import SolutionStorage from {{ModuleName}}.BoundaryConditions import ({{#BoundaryConditionNames}}{{name}}, {{/BoundaryConditionNames}}) class {{ClassName}}(object): def __init__(sel...
[ "r.khlebnikov@gmail.com" ]
r.khlebnikov@gmail.com
4ef4c33489c9c34b2e73cd65241fe22cde9f4cb9
6a5732f38be806ffa0a8f44a687e74035fab24b8
/factory-ai-vision/EdgeSolution/modules/PredictModule/utility.py
d810717a8e61be9ed01af770a35147dd2f4db344
[ "MIT" ]
permissive
dlepow/azure-intelligent-edge-patterns
ccf92a29c95a419cae29142fb620a2bc14745f44
60ca7203115bdf26932e7bc037c37b2a7dac5756
refs/heads/master
2023-03-09T17:22:03.827655
2021-02-05T14:19:00
2021-02-05T14:19:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,243
py
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for # full license information. import glob import json import logging import os import shutil import socket import subprocess import subprocess as sp import sys import time import urllib.request as u...
[ "ronpai0919@gmail.com" ]
ronpai0919@gmail.com
6698de943e743d11300f391dd839dad9369a9914
c2f4afee3ec4faef7231da2e48c8fef3d309b3e3
/AppendFile.py
7fcd0d08932bb7aacd4bdcc2a8461d8776ca7cac
[]
no_license
tanu312000/pyChapter
a723f99754ff2b21e694a9da3cb2c6ca0cd10fce
2fd28aefcbfaf0f6c34db90fdf0d77f9aea142ce
refs/heads/master
2020-05-03T15:51:34.334806
2019-03-31T16:17:45
2019-03-31T16:17:45
178,712,059
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
'''#WAP to read line by line from keyboard & append to a list until n times. Break the loop under break condition. #Step:1 # 1)ReadLine from keyboard Line=input("Enter a Line"+"\n") # 2)Append in the list li=[] li.append(Line) # 3)Until n times while True: Status=input("Do you want to continue") # 4)Break th...
[ "tanurocks90@gmail.com" ]
tanurocks90@gmail.com
011d3b37d7cb2a349a9f335003c370504e1fc868
26fb93b2df4b6226e708027beccb2f0d442a4522
/MWTracker/GUI_Qt4/SWTrackerViewer/SWTrackerViewer_GUI.py
fbf28e5f0a9297acd767443f273c16285271614c
[]
no_license
KezhiLi/Multiworm_Tracking
bb4fd1d1beeab26f4402f5aa5a3f159700fa0009
cd91e968a557957e920d61db8bc10957666b6bc2
refs/heads/master
2021-01-22T16:10:23.591064
2016-04-13T15:51:18
2016-04-13T15:51:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,201
py
import sys from PyQt4.QtGui import QApplication, QMainWindow, QFileDialog, QMessageBox, QFrame from PyQt4.QtCore import QDir, QTimer, Qt, QPointF from PyQt4.QtGui import QPixmap, QImage, QPainter, QColor, QFont, QPolygonF, QPen from MWTracker.GUI_Qt4.SWTrackerViewer.SWTrackerViewer_ui import Ui_ImageViewer from MWTrac...
[ "ver228@gmail.com" ]
ver228@gmail.com
9090363a9ae18d37db75ef5f9cfa91a9746969d5
054b2c78cf70a81823da522f1bb5889f42787365
/mudao/ui/__init__.py
78dc516a1d30d973d1d13ab0207c9f1ca480fe43
[]
no_license
musum/mudao
9537ca1f6262b1271f9c4f6a247e00549762d254
fbf8c507aa6e1755ac4126d7e4d75ace99b97fd4
refs/heads/master
2020-03-26T16:27:59.967129
2018-11-11T10:40:46
2018-11-11T10:40:46
145,103,715
0
1
null
null
null
null
UTF-8
Python
false
false
115
py
from mudao.ui.uiFile import FilePannel from mudao.ui.uiCmd import CmdPannel from mudao.ui.uiMain import MainWindow
[ "test@test.com" ]
test@test.com
2eef82d1bf14b03fe93199ebb554bad4dae8ae0a
ec3f9f1b1327ec8a69bd2fc056cdb2dbf7c243d3
/week_1/Solution_4.py
7651516d57b86a5b26049840c54e0379842a2db2
[]
no_license
WhiteFeniks/Python_Cursera
e5d7e04c40eb586a9763f38de55c88cfb77318a4
0dbb85f0a225e7152599bbea75e1637d8f4dd04c
refs/heads/master
2022-11-15T22:39:35.663524
2020-07-11T16:55:39
2020-07-11T16:55:39
278,734,455
1
0
null
null
null
null
UTF-8
Python
false
false
32
py
n = int(input()) print (2**n)
[ "macbookair@White-Fang-Mac.local" ]
macbookair@White-Fang-Mac.local
c361dedd1d0804ff593bc36fb18646206b67bd9a
289697340c92e61dacbb921b7fd63201e7056eea
/agv2/Paint.py
761918a9305fd2b0c163a661786923f90080b35c
[]
no_license
zhenhuic/projects-summary
51a5c6e1411c69d96491a7775d7ce1ae8a1714bd
bb7dce6b5e2b18d783bec6dddca203721462e709
refs/heads/master
2022-12-30T22:24:14.788445
2020-10-23T13:13:34
2020-10-23T13:13:34
252,084,716
0
1
null
null
null
null
UTF-8
Python
false
false
17,313
py
import sys, math from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import Qt, QRect import time #from carshow import Ui_mainwindow # 读取所有点的数据 并用字典 id:[x,y]存储 def readpoints(): points = {} with open('newpoint1.txt') as f: for line in f: point = line.split(',', -1)[0...
[ "zhenhuiccc@gmail.com" ]
zhenhuiccc@gmail.com
24ec79d14b8a83f2c499760bc56922b02185906e
43f299b826dc0289108e3852f3c8d92ba47677b4
/coursera_download_files.py
fb6a14746a13590d6abff3a7b396f612b4d70dc2
[]
no_license
bertothunder/tools
daaeeeb2243ea0819c8f5b1d9ce622564a15f239
207b37edf4a0d9d953f36e248591ea889c8fcd46
refs/heads/master
2021-01-01T06:54:24.191178
2014-11-27T18:02:23
2014-11-27T18:02:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,997
py
#! /usr/bin/env python2.7 'Download all the class files to a local directory' import os, re, dumbdbm, time, gzip, cStringIO, threading, sys, argparse from collections import namedtuple from multiprocessing.pool import ThreadPool as Pool from pprint import pprint # Web scrapping modules import mechanize, cookielib ...
[ "acurrope@cisco.com" ]
acurrope@cisco.com
4fcb401701f06fd6fd59e2e4e19e1e9a75953692
0f4c9d1a717b362291ce6eedca3160ce23532e0d
/day-35-rain-alert/main1.py
8ee7f6f3d2cf2789304b054cada1e1d35724b7f7
[]
no_license
leba0495/100-Days-Of-Python-Journey
2de22e784b3b18e00edf60ad788158a3c169d14e
9df993b10c29f610b5d7504b0c3a29e08677ce77
refs/heads/main
2023-02-22T08:47:34.588505
2021-01-24T23:37:57
2021-01-24T23:37:57
324,022,719
1
1
null
null
null
null
UTF-8
Python
false
false
1,340
py
import requests import os from twilio.rest import Client from twilio.http.http_client import TwilioHttpClient # Info for request from OpenWeather OWM_Endpoint = "https://api.openweathermap.org/data/2.5/onecall?" API_KEY = os.environ.get("OMW_API_KEY") MY_LAT = 40.678177 MY_LONG = -73.944160 # Info for twilio function...
[ "noreply@github.com" ]
leba0495.noreply@github.com
b5bfb5e75a09d0dabb71a971677befdb2e4ce011
b0c40ad8f68f099a49449efcc037ee6bfdafa5e2
/python/20190508 challenges/fizzbuzz_game_answer.py
4dd00810b33d34b2ec089b8d909508c36943b60a
[]
no_license
behappyny/python_study
f8f2dc1ed7070290af82274da5c411e68e19e2a8
556c715047d09d60213f9d098ebd29124a9fdc0a
refs/heads/master
2020-03-08T13:31:34.955775
2019-05-14T03:13:25
2019-05-14T03:13:25
128,160,093
2
0
null
null
null
null
UTF-8
Python
false
false
147
py
a = 30 if a % 15 == 0: print('FizzBuzz') elif a % 3 == 0: print('Fizz') elif a % 5 == 0: print('Buzz') else: print('a')
[ "noreply@github.com" ]
behappyny.noreply@github.com
25e72161c8d4276d21d755c960750c74d408ce34
8f75dae40363144b7ea0eccb1b2fab804ee60711
/tests/integration/goldens/credentials/samples/generated_samples/iamcredentials_v1_generated_iam_credentials_sign_blob_async.py
fffa6de4bc73a43e8c4de2347fdbc936e2ed972e
[ "Apache-2.0" ]
permissive
software-dov/gapic-generator-python
a2298c13b02bff87888c2949f4909880c3fa2408
304b30d3b4ec9ccb730251154b10896146a52900
refs/heads/master
2022-06-04T00:14:28.559534
2022-02-28T18:13:26
2022-02-28T18:13:26
191,990,527
0
1
Apache-2.0
2022-01-27T19:35:04
2019-06-14T18:41:06
Python
UTF-8
Python
false
false
1,491
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
software-dov.noreply@github.com
cc3f3c2352289d73e494b36f97e557535e657bed
c8bf3e2b94fe9a296e688cbb419563e0fa77c9c3
/test_video.py
5aefa09fb132c217bc47f87f01f18b8c6a0c5315
[]
no_license
josefmtd/test-cv
306884b4c185db6dbf02a683ccd0866c053f402a
ee40195bff27be068e58bccfa5ae0f60d9b6db68
refs/heads/master
2020-03-20T09:34:30.164397
2018-06-15T03:57:20
2018-06-15T03:57:20
137,341,314
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
# import the necessary packages from picamera.array import PiRGBArray from picamera import PiCamera import time import cv2 # initialize the camera and grab a reference to the raw camera capture camera = PiCamera() camera.resolution = (640,480) camera.framerate = 32 rawCapture = PiRGBArray(camera, size=(640, 480)) # ...
[ "josstemat@gmail.com" ]
josstemat@gmail.com
6f37e652c5ee9b68c1579f12e147989fb8c2cbd4
c8fab9ceda9a5882584d9944a91c84a1828e1d8b
/code/35.数组中的逆序对.py
4396b2143041b5024aa2e6b5cae176862168b323
[]
no_license
Confucius-hui/Sword-to-office
7683bdb3037b711181e78aec5a16c9dbfa1c34d9
0a018c77e7faa89ad3f1daa87cee31d2b539e082
refs/heads/master
2020-04-08T07:58:10.713008
2019-06-20T08:38:03
2019-06-20T08:38:03
159,159,191
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
''' 在数组中的两个数字,如果前面一个数字大于后面的数字,则这两个数字组成一个逆序对。 输入一个数组,求出这个数组中的逆序对的总数P。 并将P对1000000007取模的结果输出。 即输出P%1000000007 ''' # -*- coding:utf-8 -*- class Solution: def InversePairs1(self, data): length = len(data) count = 0 for i in range(length): for j in range(i+1,length): i...
[ "1034243218@qq.com" ]
1034243218@qq.com
4ce90ed6b7934f21c3463432f8284e1baa696b8f
cc1b87f9368e96e9b3ecfd5e0822d0037e60ac69
/dashboard/dashboard/deprecate_tests_test.py
63b49de8e073633803e4351d0465573bfede7986
[ "BSD-3-Clause" ]
permissive
CTJyeh/catapult
bd710fb413b9058a7eae6073fe97a502546bbefe
c98b1ee7e410b2fb2f7dc9e2eb01804cf7c94fcb
refs/heads/master
2020-08-19T21:57:40.981513
2019-10-17T09:51:09
2019-10-17T18:30:16
215,957,813
1
0
BSD-3-Clause
2019-10-18T06:41:19
2019-10-18T06:41:17
null
UTF-8
Python
false
false
9,522
py
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import print_function from __future__ import division from __future__ import absolute_import import datetime import mock import unittest im...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
c868dac673e8b151e58bccdabedd5a1e9275f883
115098a64947ccb9310e1f4d8bd44f9ca3eb6821
/wp.py
551dde359ea9fc48469d61fa1158ef01fe0eaee2
[ "MIT" ]
permissive
wakanapo/wpsearch
73264b34fedaf104d90e59d5187e8ac6a79ffccf
bbf480f02ac4ae0a7a489e9d216c149c3c375dc6
refs/heads/master
2020-03-07T13:06:24.376364
2018-03-29T23:47:21
2018-03-29T23:47:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,493
py
import sqlite3 import sys import json class Document(): """Abstract class representing a document. """ def id(self): """Returns the id for the Document. Should be unique within the Collection. """ raise NotImplementedError() def text(self): """Returns the text for ...
[ "keishi.hattori@gmail.com" ]
keishi.hattori@gmail.com
14759c80b4c7aa5733b45151693919130262ebcd
25ba2f7256c15ed23c129837380f340ad56a932e
/limacharlie/Spout.py
75852122d299f39e84f6d61556da862e9d22b141
[ "Apache-2.0" ]
permissive
macdaliot/python-limacharlie
c60d4b5d7a7a8985bc67208b88b5fa0748866fd3
dc8011418f09d3acc0ebce5ea3afb98e4b7f600f
refs/heads/master
2021-06-17T08:27:28.358390
2018-11-25T15:09:33
2018-11-25T15:09:33
161,183,497
0
0
Apache-2.0
2021-02-09T18:28:39
2018-12-10T14:00:08
Python
UTF-8
Python
false
false
10,197
py
from gevent import monkey; monkey.patch_all() from gevent.queue import Queue import gevent.pool import sys import json import requests import os import traceback import uuid import time from .utils import * _CLOUD_KEEP_ALIVES = 60 _TIMEOUT_SEC = ( _CLOUD_KEEP_ALIVES * 2 ) + 1 class Spout( object ): '''Listener o...
[ "maxime@refractionpoint.com" ]
maxime@refractionpoint.com
33f06e48105dd16509b58527c0eed07ca7ed05a6
bc441bb06b8948288f110af63feda4e798f30225
/cmdb_sdk/model/notify/subscriber_pb2.pyi
f37ead231f841e671f9d1f218fbe6e05d86a7244
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
2,884
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from cmdb_sdk.model.notify.subscribe_info_pb2 import ( SubscribeInfo as cmdb_sdk___model___notify___subscribe_info_pb2___SubscribeInfo, ) from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) ...
[ "service@easyops.cn" ]
service@easyops.cn
aa2c753332ce7bf08b7e2a7efc44efcee9ed5542
b10917820bac7e879c6e4b4a480d42e816675542
/ID3_Decision Tree Algorithm.py
564ee6850ac92bad323dd5f4c5c650e854cb00ab
[]
no_license
ronypy/ID3-Decision-Tree-algorithm
8c753a3a6028dc7e29c70f77de7beae780b6a696
f3ec2d34901297333125b0a15ce00b687e7776d3
refs/heads/master
2020-08-22T11:32:16.506272
2019-10-20T15:46:30
2019-10-20T15:46:30
216,385,156
0
0
null
null
null
null
UTF-8
Python
false
false
6,450
py
import csv import math # from operator import add ''' readAllSamples is a user defined function. It is used to read all the sample of CSV file. It takes filename as an argument as well as test row count to make a test set from the file. This function returns a train set and a test set. ''' def readAllSamp...
[ "noreply@github.com" ]
ronypy.noreply@github.com
8afef6f24d1c969ecf405eacaf0d931750e41313
aa1d9d60de89f92351cf37d9e1f4df04cd9b0449
/gcp/pubsub_client.py
a7e143bc87ecbc11f493f8042faa6d0a344fe6a0
[]
no_license
zhoufengzd/python
7ca0de97fa0050f4984d866c87ea0f3069ad3cfa
036e2e17fde91c5ef46b22af00fc73e41bf75428
refs/heads/master
2022-10-13T23:10:10.538705
2022-09-25T03:51:26
2022-09-25T03:51:26
209,899,423
0
0
null
null
null
null
UTF-8
Python
false
false
3,376
py
#!/usr/bin/env python ## utility to write / read messages with pubsub import argparse import os from google.cloud import pubsub_v1 as pubsub class PubSubClient: def __init__(self, gcp_project_id): self.gcp_project_id = gcp_project_id self.reader = pubsub.SubscriberClient() self.writer = ...
[ "feng.zhou@clearlabs.com" ]
feng.zhou@clearlabs.com
c181290b15d6ff56e69337cc726815e6b271b393
2bcbf097c6f99a2ea30269bcab2420e9c7f08b67
/homeassistant/components/wallbox/const.py
62c9b2f6efdc0323ce964f2ff95c285d9867164d
[ "Apache-2.0" ]
permissive
yozik04/core
fe8fe96ac91ff18f2631ea40786e3b413dee839d
3374005b336284730209c571240039683cf662bf
refs/heads/dev
2023-03-06T02:28:28.520609
2021-10-30T17:18:39
2021-10-30T17:18:39
245,432,602
0
0
Apache-2.0
2023-02-22T06:16:08
2020-03-06T13:54:31
Python
UTF-8
Python
false
false
3,655
py
"""Constants for the Wallbox integration.""" from homeassistant.const import ( CONF_DEVICE_CLASS, CONF_ICON, CONF_NAME, CONF_UNIT_OF_MEASUREMENT, DEVICE_CLASS_BATTERY, DEVICE_CLASS_CURRENT, DEVICE_CLASS_ENERGY, DEVICE_CLASS_POWER, ELECTRIC_CURRENT_AMPERE, ENERGY_KILO_WATT_HOUR, ...
[ "noreply@github.com" ]
yozik04.noreply@github.com
06b102050b963026c4e5184c89d73ea7e22da896
4cc16cdcee820f258fcdb7550b853949fc59de46
/mobject/vectorized_mobject.py
615e24502c0de9496acb4dcc415c9e2f3a81e407
[]
no_license
eitanas/manim
c710802ef301b11d0ac6549bb58e04fcc59cc16d
825ff127a517f35041b2def6efe29a8d6358cd4c
refs/heads/master
2021-01-22T16:26:09.805304
2016-08-15T22:07:28
2016-08-15T22:07:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,000
py
import re from .mobject import Mobject from helpers import * class VMobject(Mobject): CONFIG = { "fill_color" : None, "fill_opacity" : 0.0, "stroke_color" : None, #Indicates that it will not be displayed, but #that it should count in parent mobject's path ...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
35169d9ca2b214f9e10d0d57ba79f111fb07bed2
630ed534a7859ff79dee2f4c797a410952470551
/input_analyser.py
b7d90ad3d64af94b058ebe0b6fd3cc5a85b588d3
[]
no_license
shubh3695/Python-Question-Set-Generator
c98bd1bc52405f2df163f89254ca94c72d63033e
609a2617cddf1e66da9646a1841de22b12e1de0d
refs/heads/master
2020-06-23T07:01:58.731368
2019-07-24T04:16:21
2019-07-24T04:16:21
198,550,083
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
from json import load from models import Question, QuestionSet, Requirements, LoadedModel ########################## # Generic Input Mapper from JSon to RequiredModel ########################## class InputHandler: def __init__(self): with open('input4.json') as json_file: self.data = load(js...
[ "shubh3695@gmail.com" ]
shubh3695@gmail.com
65a76d10ad4faa3451c1076b45faf88e43b89b85
9bce32b47bd2f5d676e2c880febc31e0cd2ebada
/core/__init__.py
0ec37ce465b51e237c214b819e8afab3d0832ce2
[]
no_license
ranxiao/Predictive-Performance-Eval-Toolbox
fa4a29cac6a5fe870d427c3a137e1eee6ccc6bc7
e97280c51b13f0d8a2c82ec393a73f64433d1674
refs/heads/main
2023-05-30T14:46:51.043669
2021-06-24T20:05:41
2021-06-24T20:05:41
314,012,246
1
1
null
null
null
null
UTF-8
Python
false
false
36
py
from .processors import Process, run
[ "noreply@github.com" ]
ranxiao.noreply@github.com
dbf025d7bcfc7df0a48718eccc0b0cb14810a02c
c2f35e5d3cfbbb73188a0cd6c43d161738e63bd1
/12-Django框架学习/bj18/test2/booktest/admin.py
e10072641c8350576c99bd572fcb82581b21d2f6
[]
no_license
yangh-zzf-itcast/Python_heima_Study
2a7cd0d801d9d6f49548905d373bb409efc4b559
7d753c1cdd5c46a0e78032e12b1d2f5d9be0bf68
refs/heads/master
2020-04-30T06:59:04.000451
2019-04-19T12:15:30
2019-04-19T12:15:30
176,670,172
1
0
null
null
null
null
UTF-8
Python
false
false
188
py
from django.contrib import admin from booktest.models import BookInfo, HeroInfo # Register your models here. # 注册模型类 admin.site.register(BookInfo) admin.site.register(HeroInfo)
[ "2459846416@qq.com" ]
2459846416@qq.com
72ed7287238b03b37d9fa4ab713ae57f4e995441
85e907873cb4ed2e663427b4d37c85661dc4ad2c
/listita/wsgi.py
6df54f098d7ba9cfee913cc7e207dec931908b63
[]
no_license
gabrieltron/lista
4f6c7e620a7325462ca16a8f7102449a7827face
c56186533cb6b58a8e3702108b10d5e554dbf417
refs/heads/master
2021-07-13T22:31:51.392260
2017-10-19T21:39:47
2017-10-19T21:39:47
104,925,635
1
0
null
null
null
null
UTF-8
Python
false
false
392
py
""" WSGI config for listita project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
[ "joao_trombeta@hotmail.com" ]
joao_trombeta@hotmail.com
9e69c2013364f4ed257b3f46392ed2611a7163b4
c44e28b14de66ca7a995c361ddec7add6c0c4775
/back/celery_local.py
e934b6bdc24a0488ec8abbd0571cf6b56813a9fa
[]
no_license
WnP/taiga-stack
27791318c87ba9cc7482542a2a1efa6c93c86112
c68cb634d1d2af64bf8e0ca084a0b7a94986e75f
refs/heads/master
2020-03-31T18:05:42.306457
2018-10-16T17:51:07
2018-10-16T17:51:07
152,445,933
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from .celery import * # noqa # To use celery in memory # task_always_eager = True broker_url = "amqp://taiga:secret@tasks.rabbitmq:5672/celery" result_backend = 'redis://tasks.redis:6379/0'
[ "steevechailloux@gmail.com" ]
steevechailloux@gmail.com
bf068617a07cc247a0e776ea487f6d60f4cbd555
c36f43dc25cd7f2b52aa606f57bc9d690c248242
/Python Data Visualisation/solutions/case_studies/case_study_d_flytipping.py
84018bb1f60c90f74485d7dca81fab9fdfa71250
[]
no_license
rachelchalmersCDDO/hello-git
53a400f64ba49c84aca7afe0f4af9901effd753a
0f72eceed31f503cea526785e8716321a7f31e78
refs/heads/main
2023-04-27T04:37:45.071999
2021-05-11T11:48:59
2021-05-11T11:48:59
366,358,490
0
0
null
2021-05-11T11:48:59
2021-05-11T11:31:10
Jupyter Notebook
UTF-8
Python
false
false
2,630
py
figure, axes = plt.subplots(figsize = (8,4)) # Set up our figure and axis axes.axis("off") # Removes the axis from the figure # Create the header - This is easiest to create as a new table with 1 row and position above our existing table. header = plt.table(cellText=[["Number of fly-tipping incidents by waste type"]]...
[ "rachel.chalmers@digital.cabinet-office.gov.uk" ]
rachel.chalmers@digital.cabinet-office.gov.uk
8eb3b583ba00c21e0e51f30d62670c1da9f518e3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/87/usersdata/171/57992/submittedfiles/contido.py
9b0e89a4443abb2d93f0a13c24567c49b26e2254
[]
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
593
py
# -*- coding: utf-8 -*- def quantidade(lista,lista2): cont=0 for i in range(0,len(lista),1): if lista[i]==lista2[i]: cont=cont+1 return(cont) n=int(input('digite o numero de elemento:')) lista1=[] for i in range(1,n+1,1): cont=0 valor1=int(input('digite o numero á ser colocado na...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c4b1887ea606f6c95c6222db1351a682d8dad691
59eecdf59d632d21b94adcad01b5af1fc1f9ed72
/utils/balon_al_arco.py
d8d9fe8e0655b292fffe0aed8810a046c7938a99
[]
no_license
AnthonyCAS/vsss2015_Strategy
8caa668191651cee757a84cac47fa0ce509d9200
48ff71218dc55136369a9d24f7f510b675b80e77
refs/heads/master
2020-04-12T08:07:02.468659
2016-10-02T23:04:23
2016-10-02T23:04:23
42,489,287
0
0
null
null
null
null
UTF-8
Python
false
false
2,733
py
import sys import pygame from vsss.serializer import VsssSerializerSimulator, VsssSerializerReal from vsss.strategy import TeamStrategyBase from vsss.data import VsssOutData from vsss.controller import Controller from vsss.position import RobotPosition, Position from vsss.trajectory import TrajectorySCurve from vsss.vi...
[ "jose@amigocloud.com" ]
jose@amigocloud.com
bd690590a1b4049110cba3759fc56053d302b5d2
92fa526d5ca2e31f5908f17bb95c529b09ac9995
/old/models/socket-t/client.py
6edd2d446253a63ab16744b1bcd6f1ff4ca2109d
[]
no_license
KevinLongkk/IFit
55e1f7f872dbdd28e23066c9b96465315061ca2a
438fbdbd63d7cf4059038623e2739fc0a860c26b
refs/heads/master
2020-03-21T02:08:49.538064
2018-06-20T04:53:56
2018-06-20T04:53:56
137,982,728
0
0
null
null
null
null
UTF-8
Python
false
false
4,067
py
########################################################################### #*- -*# #*- coding : UTF-8 -*# #*- function : as a client to send and receiver file -*# #*- connectHost : 192.168.1.8 -*# #*- connectPort : 4518 -*# #*- author : pwn_w -*# #*- -*# ###################...
[ "1247594945@qq.com" ]
1247594945@qq.com
2390b2d58a1a06651ea1b46e681dc0a4a1d5453d
1317129f0bc7d5c87aadba09b9ebe3e2c9613357
/modelling.py
679190f47d1c2b235df89a292fa6d22598f6a6b5
[]
no_license
aaqib-ali/Income_prediction
9dcecfcf73ff3b3a6c9608d573663ba7b8ff4f16
f420ead78b7684e723f7801d6c7f47c1bae1aaa7
refs/heads/main
2023-04-09T20:27:12.999711
2021-04-16T09:02:28
2021-04-16T09:02:28
346,493,822
0
0
null
null
null
null
UTF-8
Python
false
false
4,089
py
import time import os import pandas as pd from collections import Counter import seaborn as sns import utils.helper_exploration as exploration from sklearn.preprocessing import OneHotEncoder, StandardScaler from sklearn.compose import make_column_transformer, ColumnTransformer from sklearn.pipeline import Pipeline from...
[ "aaqib_ali90@protonmail.com" ]
aaqib_ali90@protonmail.com
89fdc67025f1d1105bd747a337937acde1171361
e9d25b27509087df06acb685fe08a335fb72113b
/project_stock/project_stock/migrations/0006_auto_20160511_1246.py
7c576a85e507cfa8dec282f8817ba396e01ba9e6
[]
no_license
cenh/ProjectStockSD
32cfa4d9ee6b8b81a0faaac47a1fc545476f92c0
7611c6a9152a9a8d0dc237eb12bf604fdd718c2f
refs/heads/master
2020-05-20T06:03:50.960284
2016-06-15T10:23:52
2016-06-15T10:23:52
51,740,226
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-05-11 10:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('project_stock', '0005_project_end_date'), ] operations = [ migrations.AlterF...
[ "ninjalf2@gmail.com" ]
ninjalf2@gmail.com
3fe33e070c2c0d75811a238d675bdd0dfbcf1773
dc84012d21ce76dc5300659d7fd6d711bd1534eb
/tests/transports_test.py
7973552568555e934c847d2b745a83738228197a
[ "ISC" ]
permissive
jia3857/py-restclient
64d7f885c76fe0a901fd26f0a33306a9dcd71e85
e44c4041b439bba31f4738974229d5f09e86f2ba
refs/heads/master
2021-08-22T21:01:33.350528
2017-12-01T05:08:19
2017-12-01T08:29:18
112,697,315
0
0
null
2017-12-01T05:06:45
2017-12-01T05:06:45
null
UTF-8
Python
false
false
6,935
py
# -*- coding: utf-8 - # # Copyright (c) 2008 (c) Benoit Chesneau <benoitc@e-engura.com> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE...
[ "yjaaidi@gmail.com" ]
yjaaidi@gmail.com
2f83c5cac7624e5304cf2aa0459939e100999280
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_085/ch2_2020_07_09_22_36_13_402167.py
c82e823dcb2277b1070d6ac039df23e7849b4131
[]
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
49
py
def calcula_velocidade_media(d,t): return d/t
[ "you@example.com" ]
you@example.com
744d50f28a2c94ad5282605b6d3bb4517f7916ea
0466559817d3a1be9409da2c83db99c4db3bacfe
/hubcheck/conf/config.py
b68b5bd69b995419b02cbc759340b2a456a15ce1
[ "MIT" ]
permissive
ken2190/hubcheck
955cf9b75a1ee77e28256dfd3a780cfbc17de961
2ff506eb56ba00f035300862f8848e4168452a17
refs/heads/master
2023-03-20T15:17:12.949715
2015-09-29T16:11:18
2015-09-29T16:11:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
import os from pkg_resources import resource_filename class Config(object): data_dir = resource_filename('hubcheck','data') profiles_dir = resource_filename('hubcheck','profiles') # user configuration variables screenshot_dir = None video_dir = None config_filename = None tdfname = '' ...
[ "telldsk@gmail.com" ]
telldsk@gmail.com
9a9e8b7d9284574442ab7b8a10207055a4e065fd
fa07f9ff0c833746a4195a9092f5831e1126b684
/03逻辑回归/tool/Read_Minist_Tool.py
20e00b911aaddbd62cbe3738177e435b941c794e
[]
no_license
shiqiuwang/ML_basic_model
76c3b755dda772031bfba22860ee61bb2ea286fc
b6d7350332f3ef32ccc5dc69f81b629c5bcdd349
refs/heads/master
2023-03-23T10:23:08.130357
2021-03-20T16:43:30
2021-03-20T16:43:30
348,405,661
0
0
null
null
null
null
UTF-8
Python
false
false
6,341
py
# coding=utf-8 import numpy as np import struct import matplotlib.pyplot as plt # 训练集文件 train_images_idx3_ubyte_file = 'data/minist/train-images.idx3-ubyte' # 训练集标签文件 train_labels_idx1_ubyte_file = 'data/minist/train-labels.idx1-ubyte' # 测试集文件 test_images_idx3_ubyte_file = 'data/minist/t10k-images.idx3-ubyte' # 测试集标签...
[ "2714049089@qq.com" ]
2714049089@qq.com
72e9740d464cc851759637f97394bbe32c8a4474
c4cd9e23563072e810e90ada59904dc5247c92fb
/p_library/admin.py
d38deca44f1a68b27d9e4c4fdedeb749b5eb41c0
[]
no_license
riderufa/GGilmanovD411
130524818c6036fd9d5d29726e5dcabb8d68e2b6
59f05fec1b8dad5a6014e12f3f8c323ddb9143ed
refs/heads/master
2020-09-29T02:50:42.918242
2019-12-10T10:00:11
2019-12-10T10:00:11
226,932,203
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
from django.contrib import admin from p_library.models import Book, Author, Publishing @admin.register(Book) class BookAdmin(admin.ModelAdmin): # @staticmethod # def author_full_name(obj): # return obj.author.full_name # author_full_name.admin_order_field = 'publishing' list_display = ('tit...
[ "noreply@github.com" ]
riderufa.noreply@github.com
da7a4c4583429538ef54bd4b92b0617d73b31115
785e3597b632b7f504572730779eaf92eaa5e5fa
/SSAFYcrawl_TEST.py
2f64f65b3da29def4053915bced78037a1313cb5
[]
no_license
zzangkkmin/AlgorithmPracticeZone
7fd4f2986a98c93b0e0cf5e40b30283c2a338d49
a1ee937379d8c78d24fffd98cdadd781710d7680
refs/heads/master
2020-04-22T19:00:13.436309
2019-11-25T07:41:03
2019-11-25T07:41:03
170,594,816
0
0
null
null
null
null
UTF-8
Python
false
false
2,551
py
#use pip # pip install bs4 --user # pip install lxml --user # pip install requests --user from bs4 import BeautifulSoup as bs import requests form_url ="https://edu.ssafy.com/comm/login/SecurityLoginForm.do" form_header = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/ap...
[ "zzangkkmin@naver.com" ]
zzangkkmin@naver.com
5c45c17aefbe4fca29f0d7af21bc35890672183a
71d7c7c7abb33f3a0b36e401cbb546b1f7135fb8
/myproject/myproject/blacklist/models.py
582409b8bfd2bcb320763bab6cdb4c797e868931
[]
no_license
Naveen-yelamakuru/News_website
4de542b16f447294b755b380fa8f4ec027773541
05884b9a7bbaa1af1fa9c0c3a9796736fbf4bf4d
refs/heads/master
2023-04-01T06:59:26.384010
2021-04-07T06:27:28
2021-04-07T06:27:28
355,433,032
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
from __future__ import unicode_literals from django.db import models # Create your models here. class BlackList(models.Model): ip = models.CharField(max_length=10) date = models.CharField(max_length=12,default="-") def __str__(self): return self.ip
[ "yelamakurunaveen12@gmail.com" ]
yelamakurunaveen12@gmail.com
e273b347e2345994f64bb95af98c82b139510d43
97099104ac872920fd32b7149bcb3f785ce7da15
/src/data_ingestion.py
f8c7583b9e1fa8f645eac37d7f4d65250013cebf
[]
no_license
aj-1000/data-team-coding-exercise
a78c8ea8263bb48ba838d05eccc3e2328083ca69
3d2311c2e42690aa235d8ae3e766a1e8f2722fca
refs/heads/master
2023-08-19T09:25:17.839061
2021-09-27T17:20:20
2021-09-27T17:20:20
406,456,544
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
import pandas as pd import pandera as pa import numpy as np from fastlogging import LogInit logger = LogInit(pathName='logs/data_ingestion.log') def check_dataframe_schema(df: pd.DataFrame, schema: pa.DataFrameSchema) -> None: """A function to assert that the dataframe has the types expected in the schema""...
[ "adafejaja@gmail.com" ]
adafejaja@gmail.com
aa893d19b93fa4e46eae5303e87793c9a2afed4f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_118/1093.py
fa244fab36bc58d7529d2c7242771c1da73f5714
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
def isPalindrome(num): if num - int(num) != 0: return False num = str(int(num)) l = len(num) for i in xrange(l): if num[i] != num[l-i-1]: return False return True def allFairAndSquare(a, b): rtn = [] for i in xrange(a, b+1): if isPalindrome(i...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
c12227791c9532c511adc49b611291c60354dc51
948d84d2e3fc04e353a11384d8570308174242f5
/5-Pythonda Koşul İfadeleri/if-else-demo-2.py
ee6cf34554eeaa7723e51f9eedd857630f2067ee
[]
no_license
omerfarukcelenk/PythonMaster
a0084a800b8a41cd2ad538a7ca3687c26dc679ec
0db8f8b0ea2e1c2d810c542068cfcf1a3615f581
refs/heads/main
2023-04-16T17:42:05.501904
2021-04-26T21:19:27
2021-04-26T21:19:27
361,896,109
3
0
null
null
null
null
UTF-8
Python
false
false
3,485
py
''' 1- Girilen bir sayının 0-100 arasında olup olmadığını kontrol ediniz. sayi = float(input('sayı: ')) if (sayi > 0) and (sayi<=100): print('sayı 0-100 arasında.') else: print('sayı 0-100 arasında değildir.') ''' ''' 2- Girilen bir sayının pozitif çift sayı olup olmadığını kontrol ediniz. sayi = int(input...
[ "omerfar0133@gmail.com" ]
omerfar0133@gmail.com
7e6b235d3a48117b856cbec0dd3b7ae0d244ff98
d5bf16ecfba523d15eb2fc467c85c639a511a555
/createRenderFilesForDepths.py
0944bcffba98560958361d2a9ace8b8c0c6a2487
[]
no_license
chenkeshuai/TransparentShapeDatasetCreation
b5bbedcff5eb2bd8c25d51c40c756b252033a862
9c1ca853e02cec26ce1ca86b7a73deeff24625d9
refs/heads/master
2022-11-21T22:24:20.674760
2020-07-14T04:08:33
2020-07-14T04:08:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,681
py
import os.path as osp import numpy as np import glob import xml.etree.ElementTree as et from xml.dom import minidom import argparse def addShape(root, name ): shape = et.SubElement(root, 'shape' ) shape.set('id', '{0}_object'.format(name) ) shape.set('type', 'obj' ) stringF = et.SubElement(shape, 'str...
[ "zhl378@eng.ucsd.edu" ]
zhl378@eng.ucsd.edu
10e46eb0dc43fc62e6216ee6b9a96cbf96e67b7a
4b7d1f2da5da0a9f03a58f59161f7eec12fc2f60
/q6_find_ascii_char.py
a33f048db5d620b42000c0d23556cea45fc92322
[]
no_license
leeliren/practical_1
6b4d6e89c8520ce75e2af879dbe655da3f70f6c1
ed33f677af1c2316bdb52f0d56f449b401c765e9
refs/heads/master
2021-01-10T08:37:01.411830
2016-02-26T04:15:19
2016-02-26T04:15:19
51,885,013
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
# q6_find_ascii_char.py # program that display acsii character # input acsii character acsii = input("enter acsii value: ") # conver acsii value to character character = chr(int(acsii)) # output character print(character)
[ "ncs3101sta@N3101SMCS5863.SCHOOLS.MOE.EDU.SG" ]
ncs3101sta@N3101SMCS5863.SCHOOLS.MOE.EDU.SG
bb6a13c53d923939882c90a3722dcb0ee6f65008
ecee6e84ba18100b621c7e06f493ae48e44a34fe
/build/navigation/nav_core/catkin_generated/pkg.installspace.context.pc.py
7154b8261ec9e1dfe4b7533a24c5c418fed5f7a6
[]
no_license
theleastinterestingcoder/Thesis
6d59e06b16cbe1588a6454689248c88867de2094
3f6945f03a58f0eff105fe879401a7f1df6f0166
refs/heads/master
2016-09-05T15:30:26.501946
2015-05-11T14:34:15
2015-05-11T14:34:15
31,631,628
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/alfred/quan_ws/install/include".split(';') if "/home/alfred/quan_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "std_msgs;geometry_msgs;tf;costmap_2d".replace(';', ' ') PKG_CONFIG_LIB...
[ "quanzhou64@gmail.com" ]
quanzhou64@gmail.com
8bcc7d5dab776217c266b88d9884fc3a7e5a583d
1bcb966740f47c0edc23e9b05afec55f2bcae36a
/app/game/appinterface/packageInfo.py
92697a828967b4ecf9a95dbc7d38fdf70e8c3d66
[]
no_license
East196/diabloworld
0d2e9dbf650aa86fcc7b9fc1ef49912e79adb954
d7a83a21287ed66aea690ecb6b73588569478be6
refs/heads/master
2021-05-09T12:15:31.640065
2018-02-04T15:16:54
2018-02-04T15:16:54
119,007,609
3
2
null
null
null
null
UTF-8
Python
false
false
2,226
py
#coding:utf8 ''' Created on 2011-4-13 @author: sean_lan ''' from app.game.core.PlayersManager import PlayersManager def getItemsInEquipSlotNew(dynamicId,characterId): '''获取角色的装备栏信息 @param dynamicId: int 客户端的id @param characterId: int 角色的id ''' player = PlayersManager().getPlayerByID(characterI...
[ "2901180515@qq.com" ]
2901180515@qq.com
f6c5e331691fb14a8ca15b8f18c3deaa42168845
55813c77666d798e806a280f3305c6e6c6531df9
/desktop/main.py
91963db43d6eb5d80423c2217ecd5e533ef0aba5
[]
no_license
cwwang2/EmbeddedProto_Example_STM32_UART
d80ec11ecc81bd8f6e938e71c49f566067bb805d
d63952eb5aad5b15f9922aa5b6be8f695cdf0a62
refs/heads/master
2023-03-25T03:34:22.560786
2021-03-23T13:10:15
2021-03-23T13:10:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,840
py
# # Copyright (C) 2020 Embedded AMS B.V. - All Rights Reserved # # This file is part of Embedded Proto. # # Embedded Proto is open source software: you can redistribute it and/or # modify it under the terms of the GNU General Public License as published # by the Free Software Foundation, version 3 of the license. # # E...
[ "Bart@EmbeddedAMS.nl" ]
Bart@EmbeddedAMS.nl
1adb61062d3e07b521e6e4b41ec14ddca7000d72
458d136f89388f3b6a98559f01addda5db3cf400
/common/tablib/tablib.py
c6f82696d5b8c15a7242af0ff3817edeb55d88b6
[]
no_license
secretleojoy/hack4tech-h
35626f11f655392cbc71208a63e8999f121dafbb
8c46f80e0c71d0e6bff939780e5b1ad202fafb99
refs/heads/main
2023-06-17T08:19:20.411688
2021-06-06T12:45:41
2021-06-06T12:45:41
385,784,799
0
0
null
2021-07-14T01:58:08
2021-07-14T01:58:08
null
UTF-8
Python
false
false
10,261
py
from collections import OrderedDict from .format import registry class Row: """Internal Row object. Mainly used for filtering.""" __slots__ = ['_row', 'tags'] def __init__(self, row=None, tags=None): if tags is None: tags = list() if row is None: row = list() ...
[ "vhhareesh947@gmail.com" ]
vhhareesh947@gmail.com
4531bc24b5d028b9ae04e0702a12afe5f44ac009
5079ba8f44eb52f96da6063ea88477c765b5a82e
/exceptions/customexceptions.py
f79dfdc25fbae94743d98cec4edf60cffc206339
[]
no_license
navdeep710/imapfilesync
e5747e724b26eaefa692be3d8f43a971a114e329
86056986b75d7ca13ab89b630cf844fb9bef52c0
refs/heads/master
2022-12-09T20:50:32.240855
2018-09-13T07:12:26
2018-09-13T07:12:26
146,305,090
0
0
null
2022-12-08T02:47:41
2018-08-27T13:57:58
Python
UTF-8
Python
false
false
82
py
class Queuenotfound(Exception): pass class Emailnotfound(Exception): pass
[ "navdeep.bits@gmail.com" ]
navdeep.bits@gmail.com
8785bfa65e79ad99e0867513d746ace94f2107d6
43d33fe29c2d75b4612d01e804ff9aa96683e592
/day3/part2.py
bef750872601af0ccf84e0c5a5ebbc32c1b9b250
[ "Unlicense" ]
permissive
fvdnabee/aoc20
b2a7d0950086e3ab61821f23de6c3055cb0cafde
e4c9d31aaead998bad9f0a53612ab731b66933da
refs/heads/main
2023-02-05T16:01:15.342636
2020-12-25T13:27:49
2020-12-25T13:27:49
318,639,117
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
with open('input') as fp: grid = [line[:-1] for line in fp] grid_width = len(grid[-1]) slopes = [(1, 1), (3, 1), (5, 1), (7, 1), (1, 2)] slopes_trees = [] slopes_trees_multiplied = 1 for r, l in slopes: n_trees = 0 x, y = (0, 0) while y < len(grid): if grid[y][x % grid_width] == '#': ...
[ "floris@vdna.be" ]
floris@vdna.be
762c929c9132c0c6dcb7e70375cba733b0af371f
8e408d2efa879cc60bf2898e6705c91aae303097
/class10/timeseries.py
51c23d6a5dde47115a376edef7c5d4738769c4df
[]
no_license
mschachter/ml-biophysics-2014
ea1f05a68657f7a163511f3e16be835b94e530c3
d120e2acb76734655b5a4dc48b4cb36620b8dad8
refs/heads/master
2020-05-30T14:04:37.931556
2014-11-06T18:48:11
2014-11-06T18:48:11
24,829,676
2
0
null
null
null
null
UTF-8
Python
false
false
7,778
py
import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model import Ridge def generate_sine_wave(freqs=[1.0, 2.0, 5.0], duration=5.0, sample_rate=1e3, plot=True): #generate vector that represents time num_samps = int(duration*sample_rate) t = np.arange(num_samps) / sample_rate #gener...
[ "mike.schachter@gmail.com" ]
mike.schachter@gmail.com
e7a9f35ebb77c9eba8512429cdbcd7299268d354
954e077df69e90f3f3742276d0644485514b2de5
/PyBank/main.py
42053b8d79d5dd2d5b3cba5f207f27bc76e916a8
[]
no_license
Vilma0228/python-challenge
d5cce1bbfcacfacd80daaf39067882c540d51c8b
4fddf4f507d5c314f328b2f839c7f4e611dd2a04
refs/heads/master
2020-03-14T15:08:12.242787
2018-05-05T23:31:10
2018-05-05T23:31:10
131,669,444
0
0
null
null
null
null
UTF-8
Python
false
false
1,374
py
import os import csv #Files to load PyBankpath = "budget_data_1.csv" #Read the csv and convert to dictionaries with open (PyBankpath) as revenue_data: reader = csv.reader(revenue_data) #Use the next to skip first title row next (reader) revenue = [] date = [] rev_change = [] #Loop to ge...
[ "vilma0228@gmail.com" ]
vilma0228@gmail.com
9390d1ba58dfdb8793881a2da5c58a7d8c865296
c5aa4c8c482925448634cf202140eb32e32500bb
/flash guided non-flash image denoising/code/DN_train_npy.py
d40a2e9b6a78f37809e8c538894edc2dfd239a74
[]
no_license
JingyiXu404/CU-Net-plus
e2c2636e71ec2ab8064ae6880f4afd89fa157542
aaf7e3eba938ec00297962cbd1c4d62fdb4b37c1
refs/heads/main
2023-08-14T07:37:45.991839
2021-09-20T03:09:16
2021-09-20T03:09:16
370,957,706
4
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
import torch.utils.data as data from glob import glob import matplotlib.pyplot as plt from torchvision import transforms #import cv2 from PIL import Image import random import os import numpy as np import torch class cudataset(data.Dataset): def __init__(self,target_name,guide_name,label_name): ...
[ "noreply@github.com" ]
JingyiXu404.noreply@github.com
e5ba62b5f8329a38c865fda67e7a23bb28064ad6
b0232c7856879f720ca9f64ca4df5096a0c34356
/factoryTests.py
774a67c13adc3b380ca174425d61317a4dd5a8f9
[]
no_license
extramask93/CEVA_code_gen
2d7d614741edfe68fd9a29f4ae6960ae15985ebf
e2630c096840605d7f986c1db863ea3d213eb6a6
refs/heads/master
2020-03-23T15:05:22.158796
2018-09-06T16:10:57
2018-09-06T16:10:57
141,721,652
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
import pytest from decoder import TokenFactory, RegularRegister, VectorRegister, RegularImmediateToken, MultiTokenVPU, ModuRegister def test_factorytest(): a= TokenFactory("rA.ui") assert isinstance(a,RegularRegister) a = TokenFactory("vrB1.s16") assert isinstance(a, VectorRegister) a = TokenFactory...
[ "jozwiak.damian02@gmail.com" ]
jozwiak.damian02@gmail.com
e5c59a146854f20e9180454a28c88279d02c0350
dabddb39b88cee43b4b6ad5a38aa54b0d31ada21
/main.py
871a48e563d743446ef20ed1b5522181d72f0298
[]
no_license
hcw-00/Inference_simple
f1bc8b34a39208159b6c47f84d65e3439256cbc6
ce4d901931bffad3d81e7540024904dcd339ddaf
refs/heads/master
2022-11-20T19:06:09.782513
2020-07-23T04:49:18
2020-07-23T04:49:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import argparse import os import tensorflow as tf tf.set_random_seed(20) from model import infer def get_params(): parser = argparse.ArgumentParser(description='') parser.add_argument('--dataset_dir', dest='dataset_dir', default='dataset', help='path of the dataset') parser.add_argument('--batch_size', de...
[ "21908600@ncbnet.co.kr" ]
21908600@ncbnet.co.kr
46fb50be72246b32790681ebd25f5daffa7354ac
649c17052feedff130bcb3283a0c3ae9a66c9669
/tests/test_iris_tree.py
7b2465ee3b96607988029ee2984062e31bae0e2f
[ "MIT" ]
permissive
drevilslab/pykitml
abb04d4aaafe3712ec24e9a9e38ed0b65c4cbb8d
1c3e50cebcdb6c4da63979ef9a812b44d23a4857
refs/heads/master
2023-01-16T03:29:14.762110
2020-11-02T11:03:55
2020-11-02T11:03:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
from pykitml.testing import pktest_graph, pktest_nograph @pktest_graph def test_iris_tree(): import numpy as np import pykitml as pk from pykitml.datasets import iris # Load iris data set inputs_train, outputs_train, inputs_test, outputs_test = iris.load() # Create model tree_iris_classif...
[ "vishnu.vish.shankar@gmail.com" ]
vishnu.vish.shankar@gmail.com
c5af1b1c066c1a49573ef543d9894567d5909df2
9e482a31dd8c1661ad1953d7fbd24a532306f58c
/Plays/Play10/medium_batch_normalization.py
2d0166d6dce71a2e1ec99d39a56e366341b49c99
[]
no_license
margaridav27/feup-fpro
49a66f6643c83adb948ff110f522948f43508519
e805e08d0fdd273db272300e3e9676c585030f23
refs/heads/master
2023-01-23T01:16:11.534704
2020-11-25T10:48:00
2020-11-25T10:48:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 4 10:14:35 2019 @author: Margarida Viera """ #solution using generator def batch_norm(alist, batch_size): while len(alist) > 0: batch = [] l = alist.copy() if len(alist) < batch_size: batch_size = len(alist) ...
[ "up201907907@fe.up.pt" ]
up201907907@fe.up.pt
f1df3479147b367dfc6cc0d007b4386d3a0e7fa8
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/express_route_circuit_authorization_py3.py
b4bb3df4dd52a8366e8cb7b9b1d60fa77e023bf0
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,559
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
xiafu-msft.noreply@github.com
1d67381581a090003013177bdf95c0a14cd224f9
c7a8be023b072f8a9eab0404556e37ba4ba8857e
/My_Django_Stuff/myDjangoEnv/lib/python3.6/_weakrefset.py
e4ebae2415877da84a02d1bd8072301185336225
[]
no_license
jbastawrose120/DjangoTutorial
efdbe6c83b7b6ba9024866aee11f5a0e66708f21
20a03fb98da26adfc2559cd95598a305b275540b
refs/heads/master
2020-04-30T05:06:11.414533
2019-05-24T02:14:07
2019-05-24T02:14:07
176,622,100
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
F:/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/_weakrefset.py
[ "jbastawrose120@gmail.com" ]
jbastawrose120@gmail.com
1f9b7ac363f4e5ba9f5d25efa087f724e9cfa14e
67254af1798c9715e55a0a1457ddf4520210d22f
/2021届秋招/leetcode/链表/k个一组实现链表.py
7ef2beb9af6cec115525bf45301eee097da38c4c
[]
no_license
Aries5522/daily
0a3160494263871c361c1efa07e47899a7f2b4f7
d31a2c92e62b1699cda2ffa39395df5b372445b8
refs/heads/master
2021-08-10T11:49:17.954283
2020-09-07T15:39:41
2020-09-07T15:39:41
217,962,036
4
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
class ListNode: def __init__(self, x): self.val = x self.next = None def list2Node(nums): root = cur = ListNode(None) for i in nums: node = ListNode(i) cur.next = node cur = cur.next return root.next def print_(head): res = [] while head: res.appe...
[ "Aries5522" ]
Aries5522
3c60cb7e069f959fd27d7c4354d02b1fad18bef8
b31674c022fd03aee6b0d3f2c1a3b4c901b26c42
/Scripts/environment.py
5ca5b935c43c919822881bec6de9d7bb57e9aa77
[]
no_license
sdfgeoff/geodesic-chess
d033512ecd4b90428901a6d287de3f477862927d
ddba711af70bb8f443b98c2a1822f8e5c87638b2
refs/heads/master
2021-01-13T05:12:52.109560
2017-05-15T03:39:06
2017-05-15T03:39:06
81,260,952
2
1
null
null
null
null
UTF-8
Python
false
false
1,265
py
import bge def test(cont): '''This is used to test the enviroment class from Camera.blend. It checks to see if the game object exists, and if it does not, runs the environment''' # When you create a game, it puts itself in the global dictionary if 'GAME' not in bge.logic.globalDict: # Make this...
[ "sdfgeoff@gmail.com" ]
sdfgeoff@gmail.com
bd6fe3a09008d2af126731dc0dce5e67b38920d3
5b89963fedfd6caed58c9f08085abf4ccdf07d3e
/MLP_from_scratch/prediction.py
94b73fb7cba56a80fad395c0709ac38ad0f6b9c0
[ "MIT" ]
permissive
THINK989/Neural-Network-from-Scratch
0c0158e6327b6c95c66313fba5a4d83188904f93
cf410d45c4306b835b354bb19fb3051575d486fc
refs/heads/master
2020-07-06T10:57:09.591170
2020-05-01T15:29:35
2020-05-01T15:29:35
202,993,986
3
0
null
null
null
null
UTF-8
Python
false
false
910
py
import numpy as np from propagation import * def predict(X, y, parameters): """ This function is used to predict the results of a n-layer neural network. Arguments: X -- data set of examples you would like to label parameters -- parameters of the trained model Returns: p -- pred...
[ "noreply@github.com" ]
THINK989.noreply@github.com
c509a489439ea63675a461d4649b190defd866ce
66cc457d251021dae6d875dbef97d2d2402ba619
/main/urls.py
b663ff5e0f6ae78f2125722f54cce3c2f55a9d33
[]
no_license
Jayapraveen/Simple-chatbot
eb3f40316b3c67bc4f682b2793689233840dd809
a5117d5ed37b94d438ece5524d5934d400181847
refs/heads/master
2020-07-25T14:17:27.002689
2019-09-13T18:08:05
2019-09-13T18:08:05
208,320,220
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from django.conf.urls import include,url from django.contrib import admin from chatterbot.ext.django_chatterbot import urls as chatterbot_urls from main import views from main.views import ChatterBotApiView from django.views.decorators.csrf import csrf_exempt app_name = 'main' urlpatterns = [ url(r'^admin/', admin...
[ "jayapraveen.ar.2015.cse@rajalakshmi.edu.in" ]
jayapraveen.ar.2015.cse@rajalakshmi.edu.in
b7f93333d8f7f87274baefcfac762f864f7617c2
f385e93fb799629318b6f5bbae1a3b29d62d8359
/database/citations/asuncion2012a.py
ea381f3189a4abf25a7944dc6845c8cf0f359501
[]
no_license
JoaoFelipe/ipaw-index
bf113649de497d2008922eb80f8ea3bf2cd6aba5
f8fe329f0c35b11c84bd76e7b7da7a465d380a02
refs/heads/master
2020-03-17T19:51:13.892958
2018-05-18T00:54:08
2018-05-18T00:54:08
133,880,857
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
# coding: utf-8 from snowballing.models import * from snowballing import dbindex dbindex.last_citation_file = dbindex.this_file(__file__) from ..work.y2012 import asuncion2012a from ..work.y2016 import reddish2016a DB(Citation( reddish2016a, asuncion2012a, ref="", contexts=[ ], ))
[ "joaofelipenp@gmail.com" ]
joaofelipenp@gmail.com
6512252e8f437e9237f39ae69a605cf3e891bd9e
713720fdc5ead7c8a13476da847e335202d6df03
/scripts/sorno_realdate.py
8136704bbfee2e999e640ae3742c2b921d9bf7fc
[ "Apache-2.0" ]
permissive
hermantai/sorno-py-scripts
26f72ce4f4711e2b3ee57f60c30ee1d9c314304d
6d1ccaba3c7a259a3bbbe13b39c3abfc951789f8
refs/heads/master
2022-04-30T13:02:20.037450
2022-04-22T03:29:30
2022-04-22T03:30:57
16,879,067
0
0
null
null
null
null
UTF-8
Python
false
false
2,684
py
#!/usr/bin/env python """sorno_realdate.py prints the human readable date for timestamps Example: $ sorno_realdate.py 1455223642 1455223642000 1455223642000000 1455223642000000000 1455223642: 2016-02-11 12:47:22-0800 PST in s 1455223642000: 2016-02-11 12:47:22-0800 PST in ms 1455223642000000: 2016-02-...
[ "htaihm@gmail.com" ]
htaihm@gmail.com
51d2268bc441dc7e0809af59b51d58def2641769
5f10ca2439551040b0af336fd7e07dcc935fc77d
/Binary tree/二叉树性质相关题目/求每层的宽度.py
dcef6bda78001250e1f9f1a433d3a54382bd13b5
[]
no_license
catdog001/leetcode2.0
2715797a303907188943bf735320e976d574f11f
d7c96cd9a1baa543f9dab28750be96c3ac4dc731
refs/heads/master
2021-06-02T10:33:41.552786
2020-04-08T04:18:04
2020-04-08T04:18:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,494
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/2/13 13:06 # @Author : LI Dongdong # @FileName: 求每层的宽度.py '''''' ''' 题目分析 1.要求:求每层中,左边第一个到右边第一个的宽度 2.理解: 3.类型: 4.确认输入输出及边界条件: 4.方法及方法分析: time complexity order: space complexity order: ''' ''' 思路:bfs + [node, index] 方法: deque record node and index (2* i...
[ "lidongdongbuaa@gmail.com" ]
lidongdongbuaa@gmail.com
36e2367cd04b5957640725d4b5e176a6e2d4a2ec
60391b28bd2b11d7c905e8fc20ec049eb05e8f92
/lib/tests.py
fc271cced34e21d28d15cdfb68d1c0b783ea417d
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
serl/topoblocktest
d2adc8c886f4f637da7377c2c2ea2cce35e8b497
32870f863e128414b0f0f9b786815f38c35d7c73
refs/heads/master
2022-07-01T12:23:10.327429
2019-11-02T14:51:32
2019-11-02T14:51:32
58,321,253
0
0
MIT
2022-06-20T08:20:52
2016-05-08T16:34:10
Python
UTF-8
Python
false
false
9,666
py
import textwrap from .bash import CommandBlock def begin(): script = CommandBlock() script += '#!/bin/bash' script += 'umask 0000' # as the script will be run as root, this ensures that after you can play around as normal user ;) script += '' return script def counter_increment(**settings): ...
[ "livi@i3s.unice.fr" ]
livi@i3s.unice.fr
83a53505bd883a0049978dbdc0ef84340b64458c
ea1e0d6d8a7bd97d7b179f4e7857149012466ecc
/fiches/views.py
56ad0e8013f4ed8ddb5ced7d18aa14a6d05e15e4
[]
no_license
eloigrau/templatedjango
97575b5a098ec24a25b67a9f86a918d70f9e45a4
12a1768e92c43469d0127e7202af83e1d4a04321
refs/heads/master
2022-12-11T11:48:33.579366
2021-03-28T19:30:47
2021-03-28T19:30:47
237,098,214
0
0
null
2022-12-08T01:23:31
2020-01-29T22:51:54
JavaScript
UTF-8
Python
false
false
9,795
py
# -*- coding: utf-8 -*- from django.shortcuts import render, redirect, get_object_or_404, HttpResponseRedirect from django.urls import reverse_lazy from .models import Fiche, CommentaireFiche, Choix, Atelier from .forms import FicheForm, CommentaireFicheForm, FicheChangeForm, AtelierForm, AtelierChangeForm from django....
[ "marchelibre@gmx.fr" ]
marchelibre@gmx.fr
20c78b60b815c01583da61d8d071a7b4e1735589
dbf8768bb3818b4003f2e34ff561afb235a3734a
/Python/Templates/Django/ProjectTemplates/Python/Web/PollsDjango/app-admin.py
898eb59ef40b51c7c1a179375f53430f2d5f5b8c
[ "Apache-2.0" ]
permissive
wjk/PTVS
bf3880198ba35ae34b12872a86fe2b03d2a82180
184b6711a8700a7f9d78f6d6ac3b225f81a8b8b8
refs/heads/master
2020-12-14T16:11:40.486645
2020-01-17T20:45:15
2020-01-17T20:45:15
234,801,602
1
0
Apache-2.0
2020-01-18T21:41:27
2020-01-18T21:41:26
null
UTF-8
Python
false
false
669
py
""" Customizations for the Django administration interface. """ from django.contrib import admin from app.models import Choice, Poll class ChoiceInline(admin.TabularInline): """Choice objects can be edited inline in the Poll editor.""" model = Choice extra = 3 class PollAdmin(admin.ModelAdmin): """De...
[ "steve.dower@microsoft.com" ]
steve.dower@microsoft.com
07fd478a0c99e3470575c12f1bb74ad945580d0c
e9a083fb04bf9061a2c49871cfbec9b37ff8f71b
/docs/source/conf.py
c609679b4ac4c8100904a33ce92c16726bc46c12
[]
no_license
olaurino/rama
7f86223d66f42c639672da6b8979eacaf56b28ed
2c88ca2263ccbf6d0737fea0ac5dc0341d71c53a
refs/heads/master
2021-01-25T14:49:32.330753
2018-06-04T14:25:27
2018-06-04T14:25:27
123,731,355
0
2
null
2018-05-08T13:25:28
2018-03-03T21:05:53
Python
UTF-8
Python
false
false
5,608
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/stable/config # -- Path setup ------------------------------------------------------------...
[ "olaurino@cfa.harvard.edu" ]
olaurino@cfa.harvard.edu
3eaa626d2ccbdec574056baced33f7ac3935a0e0
23acbd859a6f4ffa0296d092331a8ca83b79c543
/users/migrations/0005_auto_20200830_1602.py
c0f1b48a2c2bd2a89dfc5a4ba28ca991d551e438
[]
no_license
Timothy-Parteka/INVENTORY-MANAGEMENT-SYSTEM
0c0986174f8d7457103b83d9fe2b35b354bf30a5
bcd056c14b350e04abe0c82fd68f8789400ce45f
refs/heads/master
2023-02-12T18:22:20.120662
2021-01-13T13:40:15
2021-01-13T13:40:15
276,723,723
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
# Generated by Django 3.0.8 on 2020-08-30 13:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20200701_0421'), ] operations = [ migrations.CreateModel( name='Department',...
[ "timothymweshen@gmail.com" ]
timothymweshen@gmail.com
7a460b0c00e51c1c350cb5355df2ed784d08ca50
5a5b1cf029ef50c8f960cf283f7474046c5eebe8
/static/datatool/split.py
157985d42f365857e70387b5cc0737c9c01b72c4
[]
no_license
chenjuntao/gisdemo
e337f6949c0eabe68f58d3011894551ac801edfd
75a7b9a0e19d75ebf14a243ceb69d058def76106
refs/heads/master
2020-12-28T13:43:11.617876
2020-02-05T03:10:48
2020-02-05T03:10:48
238,354,596
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
# coding:utf-8 import csv import os dir = './csv/in' page = 30000 print('打开要写入的文件...') f = csv.reader(open('./csv/allin.csv', 'r', encoding='UTF-8')) num = page count = 0 f3 = None writer = None csvHeader = [] # 表头 for i in f: if len(csvHeader)==0: csvHeader = i if num < page: writer.writ...
[ "cjt@snp.net" ]
cjt@snp.net
8ed992846cecdd828e575dfa6c66da38336b9797
acf7457d3a799cb9bff12686d2d616688bcd4b5b
/packages/python/plotly/plotly/validators/scatter/legendgrouptitle/font/_family.py
630d0965793bea6d3cb6b80383b246586092f423
[ "MIT" ]
permissive
plotly/plotly.py
f4f61639f08160f16195efc95b5901dc5a937346
975a704074f01c078e0fdfa32bdf17130bf89e69
refs/heads/master
2023-09-06T06:15:08.340035
2023-08-24T12:28:14
2023-08-24T12:28:14
14,579,099
14,751
2,989
MIT
2023-09-08T19:55:32
2013-11-21T05:53:08
Python
UTF-8
Python
false
false
554
py
import _plotly_utils.basevalidators class FamilyValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name="family", parent_name="scatter.legendgrouptitle.font", **kwargs, ): super(FamilyValidator, self).__init__( plotly_name=pl...
[ "nicolas@plot.ly" ]
nicolas@plot.ly
81a081122381d85928f0ad8fb3aab7f699135e78
aca971629c16f16a4b0360669579d0751fd5da67
/src/indelPlot.py
f896ef722c39a732f5391609743e33d9627abe56
[ "MIT" ]
permissive
ngannguyen/referenceViz
43769ded8cb3c77445391e26233352a61ed72744
6990a00739a712ccd1371e996229882252fa8f91
refs/heads/master
2021-01-01T06:26:33.975514
2012-03-22T21:34:54
2012-03-22T21:34:54
1,750,339
1
0
null
null
null
null
UTF-8
Python
false
false
7,150
py
#!/usr/bin/env python """ Create Snp plots nknguyen at soe dot ucsc dot edu Jun 15 2011 """ import os, sys from optparse import OptionParser import xml.etree.ElementTree as ET #from numpy import * import libPlotting as libplot import matplotlib.pyplot as pyplot import matplotlib.pylab as pylab from matplotlib.ticker ...
[ "nknguyen@soe.ucsc.edu" ]
nknguyen@soe.ucsc.edu
844e243a462d989d07a4e429980a714f3f1d65f9
22f3a291ea76f63905fe781b4d5c94c1791ddb4c
/workflow/deploy/tensorflow-serving/src/app/entrypoint.py
30549ff4564d901677cc0ebeb53277c300972cdb
[ "MIT" ]
permissive
bgulla/jetson
529920442ca4ecfc4c49045510ff8f37515ea248
e037a99c9ca29e6c9331babcacbc0d530c8ec762
refs/heads/master
2020-06-25T01:01:46.044669
2019-07-25T13:12:39
2019-07-25T13:12:39
199,147,932
1
1
MIT
2019-07-27T10:37:51
2019-07-27T10:04:15
Python
UTF-8
Python
false
false
1,716
py
import os import signal import subprocess # Making sure to use virtual environment libraries activate_this = "/home/ubuntu/tensorflow/bin/activate_this.py" exec(open(activate_this).read(), dict(__file__=activate_this)) # Change directory to app os.chdir("/app") tf_server = "" api_server = "" s try: tf_server = su...
[ "helmuthva@googlemail.com" ]
helmuthva@googlemail.com
5ef60668d91237a987d9c330447fbc97da91786a
65f1cccaa0df91fff1bd8786a0a5f305c145a21a
/even.py
4af272baffb3dd775c5b3df6ca41b368d9312468
[]
no_license
sandeepny441/tom_git
16239bd71851f248104e5785acb0a84b3b9ed0cc
56e4327676b08de0d9880ff5a392080792bdcbeb
refs/heads/master
2023-05-31T14:59:53.260479
2021-06-27T20:44:24
2021-06-27T20:44:24
348,614,790
0
0
null
2021-06-27T20:44:24
2021-03-17T07:17:28
HTML
UTF-8
Python
false
false
112
py
def is_even(given_num): if given_num % 2 == 0: return 'even' return 'Odd' print(is_even(100))
[ "sandeepny441@gmail.com" ]
sandeepny441@gmail.com
4cf602dd90dff5469578d17432152af4c4ed5a52
b5758fdb0b0f757b045ae091e85007366a2b78ab
/opcua2mqtt.py
5d66c60a3718e2e716e428e61bbe5ad012aff823
[ "Apache-2.0" ]
permissive
tyrbonit/opcua2cloud
f5903e984ba325268fdf4ecd277b5f3677474818
32e1e745e4939f8d4fd51892d9a51230ffdfc198
refs/heads/master
2021-01-02T20:48:58.109135
2019-01-10T23:36:41
2019-01-10T23:36:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,930
py
import sys #sys.path.insert(0, "..") import time from opcua import Client #import context # Ensures paho is in PYTHONPATH import paho.mqtt.publish as publish import awsiot import redis MQTT_MODE = 'simple' # simple,simplewithpass,awsiot AWSIOT_AK = 'test' AWSIOT_SK = 'test' HOST = '127.0.0.1' SAVE_TO_REDIS_EN = Fals...
[ "aixi.wang@hotmail.com" ]
aixi.wang@hotmail.com
b79cd911e54384cd26db6f16bcb60444a2e2f53c
dcbe98b20d12de456afdf1a0d7eafea03b347254
/src/ast/ast_node.py
bc7ef5cf60cc6fe132964c1c25981810cdd51ce1
[]
no_license
hborkows/TKOM
6c8cc257700b729f38ff9b4b8b3ebf90322096a5
115e45d620629177968a4cdd707b00d8a148e547
refs/heads/master
2020-09-27T09:51:54.716090
2020-01-19T20:18:06
2020-01-19T20:18:06
226,489,493
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
from typing import List, Optional class ASTNode(object): def get_representation(self) -> str: pass def get_children(self) -> Optional[List]: pass
[ "hubert.borkowski@hotmail.com" ]
hubert.borkowski@hotmail.com
1d8418fc6edd086d8a53c8ff9b3b5c18aeddbd9d
b1249f4bae1106570601870d9e50f946fb1600f2
/0x01-python-if_else_loops_functions/0-positive_or_negative.py
a1fc89629667083b123b47fc3ece65490acb4010
[]
no_license
Eltotino/holbertonschool-higher_level_programming
275a1661589666194ffc3666bb9af8c1ec314983
5972c0d86f6a03f41861b35716276d79e1ccfe8b
refs/heads/main
2023-06-22T23:36:54.168404
2021-07-12T15:42:14
2021-07-12T15:42:14
259,333,569
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#!/usr/bin/python3 import random number = random.randint(-10, 10) if (number < 0): print("{} is negative".format(number)) elif (number == 0): print("{} is zero".format(number)) else: print("{} is positive".format(number))
[ "totojaber1@gmail.com" ]
totojaber1@gmail.com
d82ed1cfeb3e9cf9432826e65574bb198fceddb4
01dad4d1d2ffaf2fa070e99fe828d42f59a9f9d1
/src/pycrop2ml_ui/packages/SQ_Energy_Balance/src/openalea/Penman.py
ab023da150792ac8a482b0e9d2ed39cd94ea4ed8
[ "MIT", "BSD-3-Clause" ]
permissive
AgriculturalModelExchangeInitiative/Pycrop2ml_ui
5e210facf9689348bb57c16060967118b7c5f49a
3d5d2b87a74f0be306056b71808286922fef2945
refs/heads/master
2023-06-24T13:52:39.933728
2023-06-17T00:17:26
2023-06-17T00:17:26
193,912,881
0
4
MIT
2023-02-25T13:26:57
2019-06-26T13:44:34
Jupyter Notebook
UTF-8
Python
false
false
6,614
py
# coding: utf8 import numpy from math import * def model_penman(evapoTranspirationPriestlyTaylor = 449.367, hslope = 0.584, VPDair = 2.19, psychrometricConstant = 0.66, Alpha = 1.5, lambdaV = 2.454, rhoDensityAir = 1.225, specificHeatCapacityAir = 0.00101,...
[ "ahmedmidingoyi@yahoo.fr" ]
ahmedmidingoyi@yahoo.fr
79800f0401cbb5ee3dfdafd55b2f0532cd565719
ab37cdd76b8d4da54ff1ce30b0fa2e3dfadd207f
/1001-1099/1008/1008.py
e2d869f2abde08e4f8eb119987332f9815576b5f
[]
no_license
hay86/timus
b163d94052d3dedd51c82f5c10874402f805c6e1
0d06073228c23538ca785938c862d2b5e08bda63
refs/heads/master
2023-03-08T06:34:28.707612
2021-02-20T14:38:48
2021-02-20T14:38:48
100,444,783
0
2
null
null
null
null
UTF-8
Python
false
false
1,553
py
import sys img = [[False for i in range(12)] for j in range(12)] def one(): for i in range(n): x, y = [int(j) for j in sys.stdin.readline().split()] img[x][y] = True if i == 0: x0, y0 = x, y v = [[False for i in range(12)] for j in range(12)] q = [(x0, y0)] v[x0][y0] = True print '%d %d' % (x0, y0) ...
[ "xukaifeng1986@gmail.com" ]
xukaifeng1986@gmail.com