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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e4fd91a4de5a0da04d30f9eede7e16e04ce3dafb | 50559d7d1a04d0fe66c7b515c924aa8e424f544e | /exercicio 10.py | 34495a7485e7c7705a6dcdd011794cddf2522b78 | [
"MIT"
] | permissive | pedropenna1/Exercicios-Python | 62b29c5605ca8bbd8c7ec747cb0914e4dab0977c | bde8967a31b2395477f346ca1f1b5cb2de666a40 | refs/heads/main | 2023-06-29T05:23:16.780661 | 2021-07-31T05:47:48 | 2021-07-31T05:47:48 | 391,262,544 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 161 | py | Dinheiro = float(input('Digite o quanto de dinheiro você tem na sua carteira: RS '))
dolar = Dinheiro/3.27
print('Você pode comprar US${:.2f}'.format(dolar))
| [
"88221911+pedropenna1@users.noreply.github.com"
] | 88221911+pedropenna1@users.noreply.github.com |
b4b80e40d12486881e37dd7ddeeef9c76417ebd9 | bd6dca1aecb6e9ae64d13951fa8931594b9b4368 | /py21.py | bb2ad7403500decba5cba948ce1da062c335381a | [] | no_license | Mirabellensaft/Learn-Python-the-hard-way | ff2fd3c03284f6408779858245ff67c49e7510c9 | 4e76973ceb9d77bdff7d1b950351a66d5d18c05f | refs/heads/master | 2021-01-23T06:25:22.768018 | 2017-09-24T14:10:39 | 2017-09-24T14:10:39 | 86,366,120 | 5 | 1 | null | 2017-03-28T08:43:01 | 2017-03-27T17:47:10 | Python | UTF-8 | Python | false | false | 1,533 | py | def add(a, b):
print "ADDING %d + %d" % (a, b)
return a + b
def subtract(a, b):
print "SUBTRACTING %d - %d" %(a, b)
return a - b
def multipy(a, b):
print "MULTIPLYING %d * %d" % (a, b)
return a * b
def divide(a, b):
print "DIVIDING %d / %d" % (a, b)
return a / b
print "Let's do some... | [
"tanja@transfeld.net"
] | tanja@transfeld.net |
6e63dc2d7c615b9ff60d7283abe6ce6e21ba4f8a | d30fba76ba0fb80fcda8fde9871ee60268bd52f2 | /utils/testList.py | 353c95863250cb0347d52b3c9664821ff016992b | [] | no_license | xicunyang/PyScrapy | 4fa322b6fe718320ac8500abffd7d5326f51fe69 | 4d1560c6203728506914d5752c5b88bfa05d7e39 | refs/heads/master | 2020-04-07T02:33:04.432646 | 2018-11-18T07:34:20 | 2018-11-18T07:34:21 | 157,980,140 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 295 | py | list = [{"'1'": "'111'"}, {"'2'": "'222'"}, {"'3'": "'333'"}]
for i in list:
i = str(i)
i = i.replace("{", "")
i = i.replace("}", "")
i = i.replace("'", "", 4)
i = i.replace("\"", "", 4)
print(i)
print(type(str(i)))
def testClass():
print("this is my class")
| [
"yangxicun@jsh.com"
] | yangxicun@jsh.com |
217faec137550783954ec982386548f78c4d0443 | b483c598fa375e9af02348960f210b9f482bd655 | /cursoemvideo/desafios/Desafio037.py | 7c82f9d600b1128328fb5824c6e2d85828beca8b | [
"MIT"
] | permissive | brunofonsousa/python | 6f766d08bf193180ea9a4903cb93ffd167db588d | 8f2f26c77015c0baaa76174e004406b4115272c7 | refs/heads/master | 2022-09-30T14:58:01.080749 | 2020-06-08T09:55:35 | 2020-06-08T09:55:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 795 | py | '''
Escreva um programa em Python que leia um número inteiro qualquer e peça para
o usuário escolher qual será a base de conversão: 1 para binário, 2 para octal
e 3 para hexadecimal.
'''
num = int(input('Digite um número inteiro: '))
print('Escolha uma das bases para conversão: ')
print('[ 1 ] converter para BINÁRIO... | [
"brunofonsousa@gmail.com"
] | brunofonsousa@gmail.com |
2c3ae2bb82f2ad88bc2dc1a2824b1a4620858ef4 | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp/NETFINITYMANAGER-MIB.py | 4b221449307734e8d201c53c2843e368aaded33a | [
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 13,378 | py | #
# PySNMP MIB module NETFINITYMANAGER-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NETFINITYMANAGER-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:08:55 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (defau... | [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
968000efb10a5cd3693778aa224ee40166b50cc7 | f79d6d24d8479fecc11adfd25623cc038a09d1a7 | /zanhu/articles/migrations/0002_auto_20210504_1339.py | 867a6e1a11f5a9fa66c5d29e7a87581e0d473fd1 | [] | no_license | InnocentSmile/ZanHu | 4c6ac90537922bb709fbcfbb8a6b1059f3649f96 | 28892bf9d56335122841b033406f59963c786ad2 | refs/heads/main | 2023-06-22T20:36:00.195816 | 2021-07-23T10:33:42 | 2021-07-23T10:33:42 | 388,764,208 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 417 | py | # Generated by Django 2.1.7 on 2021-05-04 05:39
from django.db import migrations
import markdownx.models
class Migration(migrations.Migration):
dependencies = [
('articles', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='article',
name='cont... | [
"damonpeng@oakblack.com"
] | damonpeng@oakblack.com |
840998eef175b0756bd4674b19ca0264c238a101 | 37da0e3331929965a7af94e037d9f8c1de81dc18 | /main_pablo.py | 53ce4a3e867b391ec4ae02e642c7e92ca91a0ed5 | [] | no_license | Paulo-Aragao/simulation-of-covid-propagation | 2b14f9f14e6962ff5e11726f36f217d7e8e3dea5 | f751d8f0aaa99551911ff9cd421d6b66c1314bba | refs/heads/main | 2023-04-18T08:49:28.734542 | 2021-04-30T02:11:20 | 2021-04-30T02:11:20 | 358,354,150 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,239 | py | """
Biblioteca gráfica para jogos e simulações.
"""
# from typing import List
import pygame
from pygame.locals import QUIT
from components.widgets import StepperWidget
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ~-~-~-~-~-~-~-~- SETUP ~-~-~-~-~-~-~-~-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pygame.init()
screen ... | [
"pabloemanuell@ufrn.edu.br"
] | pabloemanuell@ufrn.edu.br |
a74a50cdd1cb065e256f7fa0bd970f765718abf6 | 019c43da1b09077b0dba2d911c151ca082b019e0 | /src/pygame_from_scratch/KOBdemo.py | 244e272ef238d17a52223495fec163f385aa732e | [] | no_license | EtricKombat/myworks | c844ac3e58364891dc75653599c3aeeb66441a51 | e6801e396d0030b8ff41ef89ee0354af71e16e8c | refs/heads/master | 2023-02-10T10:55:15.757816 | 2021-01-09T06:58:54 | 2021-01-09T06:58:54 | 299,897,735 | 0 | 1 | null | 2020-12-05T18:34:34 | 2020-09-30T11:30:52 | Python | UTF-8 | Python | false | false | 263 | py | import pygame
pygame.init()
screen = pygame.display.set_mode((600, 600))
square = pygame.Surface((40, 40))
square.fill((0, 255, 0))
while True:
screen.blit(square, (200, 200))
if pygame.event.get(pygame.QUIT):
break
pygame.display.update()
pygame.quit()
| [
"ericjoy1991@gmail.com"
] | ericjoy1991@gmail.com |
3ab60de9627c3dec3a7ae1995daee8eda8c5ce03 | 64e4b6629775b3ddd2b2fbd9a3f200e1edca0bed | /python project/programers/while.py | 47236376b0535ea0ed04f0e03624e4344b050599 | [] | no_license | KyoungSoo1996/python-coding-practice | 19ed9137d6eb3ea740a4bd5a0879ef0a200e6f48 | 65e52d2fe296967fcc8556925b410ac830c465d3 | refs/heads/master | 2023-02-26T08:42:23.804637 | 2021-02-07T07:11:54 | 2021-02-07T07:11:54 | 336,724,938 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 92 | py | a = input()
result = 0
i = 0
while i < int(a) + 1:
result += i
i += 1
print(result)
| [
"74169471+JeoungKyoungSoo@users.noreply.github.com"
] | 74169471+JeoungKyoungSoo@users.noreply.github.com |
3805024bdf0e784d5c1bfeab175b5dad5ec50710 | c0b7b64bf5e023954c83a2351c04966413c0ccf7 | /app.py | 6231d774f034577072f9317f3a93cb34f30b2ab2 | [] | no_license | BigDataRPG/cio_summarization | 4eae44509a52c41bd1ec7d556ebc48fb45bf77bd | 81361884a287495537edaa352442a6e661b740fe | refs/heads/master | 2022-07-10T07:20:21.412994 | 2019-08-14T10:11:44 | 2019-08-14T10:11:44 | 200,616,995 | 0 | 0 | null | 2022-06-21T22:29:28 | 2019-08-05T08:41:34 | HTML | UTF-8 | Python | false | false | 128 | py | from routes import *
if __name__ == "__main__":
app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 8080)), debug=True) | [
"redthegx@gmail.com"
] | redthegx@gmail.com |
d0f21faa112d91d74b75b88077b1a3802cf07908 | 303d119180421b6cb7b2fbbf41f6c4959b54b2cd | /MON/osm_mon/test/OpenStack/test_alarming.py | 92c21f6ec0702d06e18ec834d7b958c83b7e5da6 | [
"Apache-2.0"
] | permissive | usmanjavaiduj/OSM | 2c508b1fcf89ccc80f7b9054743e9ceeb389f056 | 8a65c37e90cec9e896d52ea41eded8ac3541e063 | refs/heads/master | 2021-08-28T04:46:26.803468 | 2017-12-11T07:40:17 | 2017-12-11T07:40:17 | 106,265,897 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,280 | py | # Copyright 2017 iIntel Research and Development Ireland Limited
# **************************************************************
# This file is part of OSM Monitoring module
# All Rights Reserved to Intel Corporation
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except... | [
"usmanjavaid9423@gmail.com"
] | usmanjavaid9423@gmail.com |
6107eddf45a758a68b477a07ff3d7ac07246ff18 | cc25dd2bacb03f1e2db27cd3a9a2e4987fca2be3 | /Programmers/skill_tests/dev-mat/3.py | 6f3396582a16bccec54a9b1c3330f35e87292849 | [] | no_license | ody1205/Daily-Coding | 48843ada58c88db62ef85f84bb0957d07613c42c | 1ed20b3ee98298885806b6b13ff63a344fffba2f | refs/heads/master | 2020-12-04T22:15:25.369395 | 2020-02-26T19:54:25 | 2020-02-26T19:54:25 | 231,918,463 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,896 | py | '''
흰색 또는 검은색 모자를 쓴 사람들이 한 줄로 서있습니다.
모든 사람은 바로 앞, 뒤에 있는 사람이 쓴 모자 색만 확인할 수 있으며,
자신이 쓴 모자가 무슨 색인지는 알 수 없습니다. 물론, 가장 앞에 있는 사람은 바로 뒤에 있는 사람이 쓴
모자색만 확인할 수 있으며, 가장 뒤에 있는 사람은 바로 앞에 있는 사람이 쓴 모자색만 확인할 수 있습니다.
이때, 가장 앞에 있는 사람부터 자신이 본 검은색 모자 개수를 말하기 시작했습니다.
첫 번째 사람 : 나는 검은색 모자를 x개 볼 수 있어
두 번째 사람 : 나는 검은색 모자를 y개 볼 수 있어
...
마지... | [
"ody1205@gmail.com"
] | ody1205@gmail.com |
c7c68f1664523cb917e247b8cbbf5ae6c9e0f1b1 | f3cd3a5c0ae8c94b602d522f861c278099cfaff3 | /demo.py | 231c46474532280e6d6d098031b9d290aca0f9f7 | [
"MIT"
] | permissive | edkirin/infoicer | b4747f3afda728f1cc8a149c1ce28fef06a5b6b7 | 809b26eb583d5725b5cccf62880a3137fed60a1a | refs/heads/master | 2022-11-28T23:50:09.081914 | 2020-08-17T16:51:04 | 2020-08-17T16:51:04 | 288,054,878 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,766 | py | from infoicer import Invoice, InvoiceItem
import random
from decimal import Decimal
#**************************************************************************************************
if __name__ == "__main__":
# define some products for demo
FOOD_ITEMS = [
"Cheese", "Ham", "Spam", "Egg",
]
... | [
"edkirin@gmail.com"
] | edkirin@gmail.com |
8cc563fdd2c6816ece639e5625d4989340d5e6e9 | e1398fc298f2b35201a3b775ded2a6274a9432f2 | /python_collections/dictionary/dict2.py | 2a3b34ad2fa29becfb40d2bb0b43dbea88c6bc69 | [] | no_license | anilasebastian-94/pythonprograms | ee082ccce36e7d5883c0188de9fcb479f7701ba5 | ada72e178f664394ff534e104cf64a8d60a82d6a | refs/heads/master | 2023-08-04T12:41:03.771964 | 2021-09-21T12:07:53 | 2021-09-21T12:07:53 | 403,753,410 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 308 | py | # a='hello,world'
# b=a.split(',') #.....................splitting......................
# print(b)
# for i in b:
# print(i)
#dictionary
#keys are unique,values duplication allowed
#keys same type
#mutable
#keys homo
#values hetero
#nesting possible
a={1:20,2:20,3:{'name':'Anila','age': '26'}}
print(a) | [
"anilaseban5001@gmail.com"
] | anilaseban5001@gmail.com |
440777dd689f96f789902ece916651fa1738eb69 | 36654cac0ef03a3f21240e50cfa1c603a4de8b35 | /run.py | da07fc57e8c623035b3994fb3c803360901a5cee | [] | no_license | ishmandoo/raas-attack | 2dbc43f700177f08db88afbcad5f0c5d77666230 | 1db2a33d1dfab68f2fb5386f186ee0cc998a08a6 | refs/heads/master | 2020-12-05T01:21:08.757490 | 2020-01-05T19:32:24 | 2020-01-05T19:32:24 | 231,964,747 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 148 | py | from urllib.request import urlopen
with urlopen("http://www.google.com") as response:
response_content = response.read()
print(response_content)
| [
"noreply@github.com"
] | ishmandoo.noreply@github.com |
7b17fec05ad60d05be9a2ec96d2eaba149110852 | a19639efddd0af81af69ca8780c8409025919d70 | /data_extractor.py | 827909ec0532f9c574ca0b1bb5ee9402cbf87a59 | [] | no_license | matgd/covid19-rpi-lcd | e81a0b541d205e8dc6129ee1a89a977106ca91a2 | 1c6c959b339f7d8ab6ce49da3db85389638b1055 | refs/heads/master | 2021-04-05T17:07:37.956778 | 2020-06-22T22:32:52 | 2020-06-22T22:32:52 | 248,580,931 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,248 | py | import requests
from bs4 import BeautifulSoup
def get_cases():
page = requests.get('https://www.worldometers.info/coronavirus/')
soup = BeautifulSoup(page.content, 'html.parser')
total_table_row = [table_data.get_text() for table_data in soup.find('td', string='World').parent.findChildren('td')]
tota... | [
"matgd@users.noreply.github.com"
] | matgd@users.noreply.github.com |
966c5b3961e3083492068369a0048455aeca5b29 | 50aeed6e24aba77e9cfffd30df1eab30d1ede427 | /pyfuzzyrenamer/rename.py | f29ab551f45436efe73cedab78310c10175bb080 | [
"MIT"
] | permissive | pcjco/PyFuzzy-renamer | 471309b67e8b0e29aa21d3ddc58cebdf3ee1177a | 604a5e02f2e9f746b97b2ccd71d5f25ea666c11d | refs/heads/master | 2023-08-08T16:29:59.933628 | 2023-08-04T14:07:08 | 2023-08-04T14:07:08 | 240,891,260 | 2 | 1 | MIT | 2023-08-04T14:07:09 | 2020-02-16T12:53:57 | Python | UTF-8 | Python | false | false | 3,057 | py | import os
import shutil
from pathlib import Path
from pyfuzzyrenamer import taskserver, utils, masks
from pyfuzzyrenamer.config import get_config
from pyfuzzyrenamer.args import get_args
history = []
class TaskRename:
def __init__(self, args):
pass
def calculate(self, args):
retcode = []
... | [
"pcjco@hotmail.com"
] | pcjco@hotmail.com |
9ed32859540a3be231e4c075717f88ae4e513b0d | c6cef87f0fc72df793b6151b3a60b60c026d9af0 | /measurements/forms.py | 41108293c5da115e1580f41279c5b5c442e8d104 | [] | no_license | rohitrajput-42/My_Map | 50ff393bd256d3bc922b2601aaad845d1a5c1094 | 22605ba8cea5f709bc6dc9f686431bd0d89d541e | refs/heads/main | 2023-06-05T15:15:02.206103 | 2021-07-01T04:26:48 | 2021-07-01T04:26:48 | 381,810,209 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 348 | py | from django import forms
from django.forms.models import ModelForm
from .models import Measurement
class MeasurementModelForm(forms.ModelForm):
class Meta:
model = Measurement
fields = ('destination',)
widgets = {
'destination': forms.TextInput(attrs = {'placeholder': 'Enter yo... | [
"rohit1471997@gmail.com"
] | rohit1471997@gmail.com |
918e832679b2529c4438c29396903f55dd75b338 | fc17d1d133fb89f5cb7b3eee29b0a0a4b84e27d8 | /sudoku/sudoku.py | f2a098311b210928502e808be93cbed7abdbfcca | [] | no_license | syfluqs/lazy-gaming | a4d9d58b4bbd5f62f4eb18621c336adc34d9ebe7 | 22542a4ed0d37a131e32a0a6a8111c3920b78178 | refs/heads/master | 2021-01-16T21:50:35.014478 | 2016-07-08T09:32:40 | 2016-07-08T09:32:40 | 60,830,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,350 | py | #!/bin/env python2
import time
t = time.time()
from cv2 import *
#for importing custom modules
import sys
sys.path.insert(0, '../lib')
import android_connect
import gridmaker
import numpy as np
import subprocess
import os
canvas = (1052, 1124)
buttons = ((350,1410), (542,1388), (750,1388), (316,1606), (548,1598), (... | [
"syfluqs@gmail.com"
] | syfluqs@gmail.com |
58526088e3fb0f233400ca6bb5eefe05cf3affce | aeeaf40350a652d96a392010071df8a486c6e79f | /archive/python/Python/binary_tree/236.lowest-common-ancestor-of-a-binary-tree.0.py | 439011598294d17040086a1c52c0b366b1525b26 | [
"MIT"
] | permissive | linfengzhou/LeetCode | 11e6c12ce43cf0053d86437b369a2337e6009be3 | cb2ed3524431aea2b204fe66797f9850bbe506a9 | refs/heads/master | 2021-01-23T19:34:37.016755 | 2018-04-30T20:44:40 | 2018-04-30T20:44:40 | 53,916,868 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,095 | py | # Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
# what if p or q not in the tree
class Solution(object):
def lowestCommonAncestor(self, root, p, q):
"""
:type root: TreeNode
... | [
"luke.zlf@gmail.com"
] | luke.zlf@gmail.com |
fc09d38435576a5af34608ba61637f27996fd791 | 04de0ecf8dc0d559242fb88b422d78cb621b7144 | /Box detection/RectangleDetection.py | 1e93c52b086293a048de0206e2a31b69b7929745 | [] | no_license | syuria/Computer-Vision | 4379721c7a16cebc5c9430e8738a6e15c614c70f | 5da7e6ba90602ec6a8dc0cabf91b0ea2bd4a3dbb | refs/heads/main | 2023-03-09T13:45:52.618201 | 2021-02-26T11:50:07 | 2021-02-26T11:50:07 | 342,516,495 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,785 | py | import cv2
import numpy as np
from PIL import Image
import json
import math
from transformation.autocontrast import Autocontrast
from transformation.grid_removal import GridRemoval
class RectangleDetection():
def __init__(self):
self.mean_w = []
self.mean_h = []
def remove_dupli... | [
"noreply@github.com"
] | syuria.noreply@github.com |
5e7a6a4b76fdd1a6a8bfd9dd605361615f08fc56 | 142cb49fa18c66560daee7160002730cbe36f86d | /1_programming_for_everybody/4week/2.3_exercise.py | 1e7ec325f2899126cc4808c353edb41d433943ee | [] | no_license | cocka/py4e | 5e09b67e80a893ec33355655dfd23834815ee629 | 0f5616366fef1ae985f9e269e5dacf09d9462abb | refs/heads/master | 2023-03-03T09:30:48.741485 | 2021-02-11T17:53:01 | 2021-02-11T17:53:01 | 285,381,637 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 446 | py | #!/usr/bin/python3
#2.3 Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Use 35 hours and a rate of 2.75 per hour to test the program (the pay should be 96.25). You should use input to read a string and float() to convert the string to a number. Do not worry about error c... | [
"cocka"
] | cocka |
f3e99b533e4cd59eba64d710a77b47765eade7e2 | 60d40a4cdc13601e645c76b93783c9735ef5dee5 | /.direnv/python-3.5.0/bin/pygmentize | 25efca908be832090c96244dcc69c1e8c92666a6 | [] | no_license | BarnetteME1/honey-nut-clusters | 8f6bda0584d495819ec27607dd9b4590a6096817 | 189ecebe72b44ffb3a091c3efb9ce9cbc30d6b91 | refs/heads/master | 2021-01-15T10:40:59.402233 | 2015-10-17T21:55:36 | 2015-10-17T21:55:36 | 44,392,116 | 0 | 0 | null | 2015-10-16T14:57:47 | 2015-10-16T14:57:46 | null | UTF-8 | Python | false | false | 291 | #!/Users/MatthewBarnette/iron_yard_hw/honey-nut-clusters/.direnv/python-3.5.0/bin/python3.5
# -*- coding: utf-8 -*-
import re
import sys
from pygments.cmdline import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"BarnetteME1@gmail.com"
] | BarnetteME1@gmail.com | |
0eeb278e256cddc373e80cf7dd0b3047dfadde96 | 0d79d849790b3ece367d39c1fd66b7da4212fc9c | /InvoiceApp/admin.py | a74102282f94142fe95873ef2704a78ef5467cdf | [] | no_license | shifat151/Invoice_Project | 5fb0136cb5abb64d989965b51cf10d914ea88de6 | 17f31c2f18ed6088f623f851f38be85b476c3736 | refs/heads/master | 2023-08-22T14:08:58.902028 | 2021-10-08T18:10:50 | 2021-10-08T18:10:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 121 | py | from django.contrib import admin
from . models import invoice
# Register your models here.
admin.site.register(invoice)
| [
"shifat151@gmail.com"
] | shifat151@gmail.com |
a3d2adb14ba32f6f56f68e351100b73feb9258ce | 5b6e2985261e3d14d6dcd286be4b84a856b3544b | /Metrics_args/RDM_metrics_args-FY2018-Q1.py | a15770c019acc16973f7c18d93651a091f3a4bf6 | [] | no_license | rjaffe/rdm_metrics | 8324058c8bad81c9330a0520243ede612991098c | bbd83c66c029f14b3feb8c9d769d86b4cf36bbee | refs/heads/master | 2021-07-08T06:27:51.101975 | 2020-08-14T18:36:26 | 2020-08-14T18:36:26 | 51,225,108 | 5 | 5 | null | 2016-06-15T23:23:47 | 2016-02-06T22:25:02 | Python | UTF-8 | Python | false | false | 384 | py | # These are the arguments provided to the script
filepath = '/Users/rjaffe/Documents/RDM/RDM_Metrics/MetricsData/RITConsultingEngagementLog_Google-downloads/'
filename = 'Research-IT-Consulting-Engagements-Log_20171019_1544PDT.csv'
report_period_descriptor = 'the first quarter of FY 2017-2018 (July 1 through September ... | [
"rjaffe@berkeley.edu"
] | rjaffe@berkeley.edu |
71f784fafd4c5c667c1e8e2902ba0d4e11e81a02 | bd49cd7f88151faf7434e3ee3e911ed8d489262f | /SpellChecker.py | ea59769e7922a055a42b1701e43e2e47110dd73d | [] | no_license | shu1396/Spell-Corrector | 19259dbcddc94e10afcea13e7c6d2b400d3acbc2 | f75f05a41b5200b71d6c7cd1c807fc40d597e762 | refs/heads/master | 2020-03-27T00:58:46.761103 | 2018-09-07T16:20:59 | 2018-09-07T16:20:59 | 145,567,984 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,275 | py |
import re
from collections import Counter
def words(text): return re.findall(r'\w+', text.lower())
WORDS = Counter(words(open('dictionary.txt').read()))
def P(word, N=sum(WORDS.values())):
"Probability"
return WORDS[word] / N
def correction(word):
"Most proable"
return max(candidates(word), key=P... | [
"noreply@github.com"
] | shu1396.noreply@github.com |
5de6886483e17860f2ea9ef46e40d6f080791c35 | 1de8ea707ae851cb43014f7ba8b6921d9d6fe714 | /controllers/nao_mirroring/nao_mirroring.py | 150c1e8d5a8cff94c265ec8310f409dc4031162b | [] | no_license | Yuki-Kurita/NAO_Mirroring-Simulation_Webots | ae598f01ef36da64408018869d48fcf19eb5f0f4 | abb048e0369c6c980b1a068488f70a0716a6d68f | refs/heads/master | 2020-06-25T19:54:31.658640 | 2019-07-29T08:37:40 | 2019-07-29T08:37:40 | 199,407,398 | 7 | 2 | null | null | null | null | UTF-8 | Python | false | false | 13,327 | py | from controller import Robot, Keyboard, Motion
class Nao (Robot):
PHALANX_MAX = 8
# load motion files
def loadMotionFiles(self):
self.handWave = Motion('../../motions/HandWave.motion')
self.forwards = Motion('../../motions/Forwards50.motion')
self.backwards = Motion('../../motions... | [
"kurita.yuki.kq7@is.naist.jp"
] | kurita.yuki.kq7@is.naist.jp |
e8d26827969439d68d46659a5c62f9f4f4ae6f09 | c301c7672b4ea28dac34cf9050454fb95556d228 | /colors/colors.py | cf981fb1be426b14c0276e0d1e654a948b6895cd | [
"MIT"
] | permissive | gyakoo/colors | 19b3250da2f4c9066f9d14f8f6df4684c6748fa1 | c1bea444726df8425328b50b9c089b7e6cfc9012 | refs/heads/master | 2021-01-18T02:23:49.642808 | 2016-06-08T02:48:27 | 2016-06-08T02:48:27 | 58,996,354 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,133 | py | '''
Copyright (c) 2016 gyakoo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
subl... | [
"gyakoo@gmail.com"
] | gyakoo@gmail.com |
04617235f8e35b4db8423d3f8c847d3564c00932 | 88c2d6012518a26ee9a41455b659f732ab0527f6 | /Day6/day6.py | f180263981a75d30044013505223391ba38cf8a0 | [] | no_license | afoix/advent-calendar-2020 | d580d03fe83aa93459d11e68bd4d514e7a071acf | 9d01e85220b9c30a408efb5732f75de06323fb2d | refs/heads/main | 2023-02-13T09:46:22.528018 | 2021-01-13T09:42:24 | 2021-01-13T09:42:24 | 317,563,010 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 675 | py | with open('Day6/surveyAnswers.txt') as file:
groups = []
group = []
for line in file:
line = line.strip()
if len(line) == 0:
groups.append(group)
group = []
else:
group.append(line)
groups.append(group)
total_any = 0
total_all = 0
... | [
"richardf@unity3d.com"
] | richardf@unity3d.com |
34b733b2dcf8be458a490e1fb5d54a94dcd40832 | 60cb63fde3a1eb714c5a79e9836eb6b326de78e8 | /SIR_Model/TimeBasedCV.py | ca6d1f4ab9192b637dee564cfd2bd87b3dfcb073 | [] | no_license | jediXNavi/Disease_Outbreaks | 03e55425516da909d8092da7753f3d3ae67748cd | 5b8a5d978f3f21272e67a872e03daf9a702d950c | refs/heads/master | 2023-04-06T01:12:10.319402 | 2021-05-04T01:55:03 | 2021-05-04T01:55:03 | 364,112,137 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,150 | py | import pandas as pd
import datetime
from datetime import datetime as dt
from dateutil.relativedelta import *
class TimeBasedCV(object):
'''
Parameters
----------
train_period: int
number of time units to include in each train set
default is 30
test_period: int
number of time... | [
"nmm14@sfu.ca"
] | nmm14@sfu.ca |
b5e54467a6848fcc3a657b7d4e2bba9a7492463d | 728321352ede039df40fef747030723e8dfb5dff | /blockchain/NFT/views.py | aa93f49d4e236bb06284a537086863c1d0f56164 | [] | no_license | sylvester19/NFT | 389391d869bb87dfbca1b08c734b0371f87f3543 | 13f545d2d160580c41b4274c8c7aee62d3704624 | refs/heads/main | 2023-07-14T23:49:51.960539 | 2021-08-26T07:05:57 | 2021-08-26T07:05:57 | 382,003,100 | 0 | 0 | null | 2021-07-01T11:00:06 | 2021-07-01T11:00:06 | null | UTF-8 | Python | false | false | 2,147 | py | from django.shortcuts import render,redirect,HttpResponseRedirect
from django.contrib import messages
from django.contrib.auth.models import User,auth
# Create your views here.
def login(request):
if request.method== 'POST':
username=request.POST['username']
password=request.POST['pass... | [
"noreply@github.com"
] | sylvester19.noreply@github.com |
78187ebeb8c12a7d7dbf3d1b95bade2839c209da | d7b5d81c9cc0dbf256b370e1fcc6e74b0a15f6ee | /homepage/migrations/0001_initial.py | 1628ad285c756301cde6e73f4ca74f3c6719a82c | [] | no_license | Uncensored-Developer/Homepage | b8471ef68bbef34d0ef07609f0cfcf731431bd1a | f29390cf17a8eea9388ea763260a83b34c4b3035 | refs/heads/master | 2021-01-06T19:57:09.150606 | 2020-02-16T23:16:36 | 2020-02-16T23:16:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 806 | py | # Generated by Django 3.0.3 on 2020-02-15 16:56
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Contact',
fields=[
('id', models.AutoField(... | [
"19627177+OkayJosh@users.noreply.github.com"
] | 19627177+OkayJosh@users.noreply.github.com |
4ec3f0866043f8485951b1f321bcb8527b0851fa | 622a9f8cc7ceb9023487b4157722dab83afc317f | /fund/using_seq.py | 47d37d4e066e2950b8a70a54f392ee8ef4ea2f14 | [] | no_license | TonyDoen/python_code_review | 9200c956218130251ca71366b54ef61a519423ac | 7b6bf78474a959c2038dfae0db9f7cc6a9d8473c | refs/heads/master | 2020-04-06T06:56:21.960531 | 2019-04-10T10:47:04 | 2019-04-10T10:47:04 | 53,745,121 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 683 | py | #!/usr/bin/python
#Filename: using_seq.py
shoplist = ['apple', 'mango', 'carrot', 'banana']
for i in range(0, len(shoplist)):
print 'Item %d is %s' % (i, shoplist[i])
for item in shoplist:
print 'got %s' % item
for i in range(0, len(shoplist)):
print 'Item %d is %s' % (-i, shoplist[-i])
print 'Item 1 to 3... | [
"tonydoenzhd@gmail.com"
] | tonydoenzhd@gmail.com |
da11f6effc0ec923278550577b66d9f3847a31a4 | 19993dd89fd6f9dac097a53afa0e182ce6de14cb | /models/eweights.py | f70fba585f35db352b62ef695402806501bee0cf | [
"Apache-2.0"
] | permissive | RemiBe/crack | 5016b69fb4b46ce278fbb6dae6623a254b1c308b | 334df92c5598f2a3249cae022e570ab32068ba79 | refs/heads/master | 2020-03-20T11:40:24.112572 | 2018-06-20T17:05:59 | 2018-06-20T17:11:18 | 137,408,836 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,148 | py | """Edge weights.
"""
__author__ = "Rémi Barat"
__version__ = "1.0"
import math
import random
from crack.models.weights import condition_models, format_crit
#####################################################
### Format the models for init_EWeights functions ###
##################################################... | [
"remibarat@yahoo.fr"
] | remibarat@yahoo.fr |
39a515789cb747eb04ed9ab3859eaf13e9b9c6a9 | 88688bccd1f25f11d579fa9362b882350c158f99 | /validators/validators.py | 8f7aa3e0e2eb1a71d1559678567650fac6d7cfdb | [] | no_license | AlexOUKS/BDF-API | 95b76abef334d962e5abf690cdc02234c2a88631 | cc223e88a739fe68f2a58fe5a669345e140e5448 | refs/heads/master | 2021-06-20T03:05:58.534537 | 2019-06-12T20:47:42 | 2019-06-12T20:47:42 | 177,008,928 | 0 | 0 | null | 2021-06-10T21:18:53 | 2019-03-21T19:11:41 | Python | UTF-8 | Python | false | false | 2,293 | py | from django.core.exceptions import ValidationError
from django.http import HttpResponseForbidden
import hashlib, json
class Validators:
@staticmethod
def is_type(value, value_type):
"""
Check if value is certain type
:param value: It can be list or a single value of anything
:p... | [
"ouksel.alexis@hotmail.fr"
] | ouksel.alexis@hotmail.fr |
734cc8035d7bc3c708936a0312e11324158cca51 | 1f5cb9f9f3de8b69456eaa56538fd3309d3d3f9b | /chapter_2/13.scrape_rss.py | 3bd64a06600a4ff1bdd4de6721d8188205f2cf3c | [
"MIT"
] | permissive | XXQ2/CrawlAndScrape | 4eb0de742a149b931ab582c8bdd38adbdb02d917 | feb8d2cfef5c41b2e54df4c7d78fa505b2c40bc2 | refs/heads/master | 2020-03-29T13:32:52.147822 | 2018-10-27T13:59:20 | 2018-10-27T13:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 567 | py | # ==ElementTreeでRSSをパースする==
from xml.etree import ElementTree
# parse()でファイルを読み込んで、ElementTreeオブジェクトを得る。
tree = ElementTree.parse('rss2.xml')
# getroot()でXMLのルート要素(この例ではRSS要素)に対応するElementオブジェクトを得る
root = tree.getroot()
# channel/item要素以下のtitle要素とlink要素の文字列を取得し、表示する。
for item in root.findall('channel/item'):
tit... | [
"asbo0502@gmail.com"
] | asbo0502@gmail.com |
0de7c24ee9fae575a14b085ee87f2fc01a7d65c4 | f3c249584b6643124eb8e61f44478476fb0922fd | /simulacao (1).py | 3f825f60918081d19745fbc5852c2d8e60c42b0a | [] | no_license | Lu1zSouza/Luiz_Jairo | 33bded8a74dc37cc173655830735823c55753e56 | ee99a67e33b90d550122980db573fad840a2e32c | refs/heads/main | 2023-04-27T03:10:26.183739 | 2021-05-05T11:15:38 | 2021-05-05T11:15:38 | 364,550,568 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,711 | py | # -*- coding: utf-8 -*-
#!/usr/bin/env python3
from __future__ import print_function
import platform, subprocess, socket, sys, os, time, json
from datetime import datetime
# import mercury
import _thread
import threading
import queue
tempoMinimo = 30.0
queueAux = queue.Queue(maxsize=1000)
queueClassRace = ... | [
"noreply@github.com"
] | Lu1zSouza.noreply@github.com |
96c96c237b83d90f246819d0368c9419fad4eb26 | 8815afb5f3f8b87b69419f4d284af7c7b6376b53 | /venv/bin/cm2xml | 0d95a029effa39c74d9ba5bcd512240cf7738a9f | [
"MIT"
] | permissive | phillip1029/jobpy | e5af973cc7288c3f7326de91d9559bb4d1284caf | 838085f5b107518534c63c2a593827d9a4b7ba60 | refs/heads/master | 2022-10-13T16:48:42.611026 | 2020-06-10T01:52:33 | 2020-06-10T01:52:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 250 | #!/Users/rodrez/Desktop/jobpy/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from recommonmark.scripts import cm2xml
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cm2xml())
| [
"rodrez@Fabians-MBP.fios-router.home"
] | rodrez@Fabians-MBP.fios-router.home | |
440767a21b71565073fd0d6b7dba539edf3eac57 | b53ddad98306512938ba30f702fbacf50224ce6f | /app/humans.py | 2ba1265c5137da531662edca8ccb19753299ffa0 | [] | no_license | ashwin2802/Pong | 75636b0a5b254532dfaf91c7e7ea57fbf0b4c20a | 0b20aac72ce041bf4b3cca7989c7975118db8d4c | refs/heads/master | 2020-04-27T23:48:45.451493 | 2019-05-06T10:35:28 | 2019-05-06T10:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,235 | py | # 2 player interface
import pygame
# change the name of this module
from app import players as p
import thorpy
from app import pong
def buttons(screen):
# display for when the game gets over
again = thorpy.make_button("Play Again", func=more)
leave = thorpy.make_button("Exit", func=thorpy.functions.quit_... | [
"ashwins@iitk.ac.in"
] | ashwins@iitk.ac.in |
08baf8f70e620319199c50e5ae8ad80149de8997 | da66fd0d9ab4f539d01cf2af51dfd623c1539359 | /source/module/constant/direction.py | 3b16c03e53bec43487dd565144a29e8ef29f2774 | [] | no_license | aburi6800/Python-OnyxOfBlack | deafc5b829d5286649277e216f3b6eee15ef8bb3 | d58217162db7e0f4eb7a68ecbe19de0d35f7321f | refs/heads/master | 2023-06-20T12:23:26.404989 | 2021-06-12T17:55:48 | 2021-06-20T01:41:56 | 268,031,689 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 148 | py | # -*- coding: utf-8 -*-
class Direction():
'''
方向のクラス
'''
NORTH = 0
EAST = 1
SOUTH = 2
WEST = 3
| [
"aburi6800@gmail.com"
] | aburi6800@gmail.com |
a1e209bed0477352863b8d389058b400cebac1b3 | 8fcc27160f8700be46296568260fa0017a0b3004 | /client/eve/client/script/ui/shared/info/panels/__init__.py | a211e9aae9803d9b8c33f8e2fe8f3a05f3e5139b | [] | no_license | connoryang/dec-eve-serenity | 5d867f4eedfa896a4ef60f92556356cafd632c96 | b670aec7c8b4514fc47cd52e186d7ccf3aabb69e | refs/heads/master | 2021-01-22T06:33:16.303760 | 2016-03-16T15:15:32 | 2016-03-16T15:15:32 | 56,389,750 | 1 | 0 | null | 2016-04-16T15:05:24 | 2016-04-16T15:05:24 | null | UTF-8 | Python | false | false | 143 | py | #Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\client\script\ui\shared\info\panels\__init__.py
pass
| [
"masaho.shiro@gmail.com"
] | masaho.shiro@gmail.com |
9623a74d98def260c059301a565c154ae2d1e9e3 | 35f547809f573be442ead7d6b24b858d77533bec | /Knn and Decision Tree Algo/knn_classification_iris.py | 60de27118619f033b25efd4103185f15734ad5ac | [] | no_license | biranchinarayanpadhi/Python-workspace | da56e3c174c50a7f005bcadb0c84dfab1d73fed8 | df92772cf4e6915dad2ad8fc2014e0d8c90a1c62 | refs/heads/master | 2020-03-18T14:47:04.771813 | 2018-08-26T11:19:37 | 2018-08-26T11:19:37 | 134,866,771 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,068 | py | import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from sklearn.model_selection import train_test_split
def knn_iris():
print("KNN algo")
names=['sepal-length','sepal-width','petal-length','petal-width','Class']
data_frame=pd.read_csv('IRIS.csv',names=names)
data_frame.he... | [
"noreply@github.com"
] | biranchinarayanpadhi.noreply@github.com |
5c2306a88b97fd6bb62e2025e3d4ad2915c671fa | 6e4d01f551128e840cd50fbc7230b64129f14c22 | /helloscrapy/spiders/example.py | 364fadce04d0d8134a5a8247038d4eac6d95e32e | [] | no_license | seedinwind/spiders | 426ad520a7e97f97fbe5d8dc707209aa1f3c21cc | af3986684eec80b4d9f414194a17c256a19e3e32 | refs/heads/master | 2022-02-02T00:17:24.610549 | 2019-07-31T16:08:44 | 2019-07-31T16:08:44 | 106,569,129 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,763 | py | # -*- coding: utf-8 -*-
import scrapy
from helloscrapy.items import ImageItem
class ExampleSpider(scrapy.Spider):
name = 'example'
allowed_domains = ['www.53reniao.com']
start_urls = [
'http://www.53reniao.com/forum-35-1.html'
]
def parse(self, response):
base_url = 'http://w... | [
"1211615659@qq.com"
] | 1211615659@qq.com |
8bc20e34b7b6406ab73023a5e70e877efc9a25fd | a51933aed925e4700ec2be6ea61d45adc55a62c4 | /reconcile.py | 5f9b14b598a56fa58b252e3152c621291354573b | [
"BSD-3-Clause"
] | permissive | barmintor/lc-reconcile | a0e9e95e2cddf42435caf1eba6daa315904c710e | d79df68881351d65f9ff79537aff3abe2b9bd596 | refs/heads/master | 2021-01-22T14:39:45.841455 | 2015-10-06T23:16:50 | 2015-10-06T23:16:50 | 43,792,342 | 0 | 0 | null | 2015-10-07T03:07:12 | 2015-10-07T03:07:12 | null | UTF-8 | Python | false | false | 4,484 | py | """
An OpenRefine reconciliation service for the id.loc.gov LCNAF/LCSH suggest API.
"""
from flask import Flask, request, jsonify
from fuzzywuzzy import fuzz
import json
from operator import itemgetter
import rdflib
from rdflib.namespace import SKOS
import requests
from sys import version_info
import urllib
#Help text... | [
"cmharlow@gmail.com"
] | cmharlow@gmail.com |
17092c071cf752cfa5953bed7125cf311ef11293 | a9b6243dad4b86f75401a6ee0d6e8505fa57aa83 | /test.py | f02e47c3ec23bca07523acac72bf183601844ae1 | [] | no_license | minji-o-j/system-for-visually-impaired | b4503078b9a74896a3786683f9f14485466bc7d5 | 748b9cdf97259d7f3d0cd5d15167ad5a629f6089 | refs/heads/master | 2023-02-06T21:14:37.840155 | 2020-12-30T11:03:49 | 2020-12-30T11:03:49 | 256,681,461 | 7 | 5 | null | 2020-12-06T08:27:27 | 2020-04-18T06:02:48 | Jupyter Notebook | UTF-8 | Python | false | false | 4,461 | py | from __future__ import division
from models import *
from utils.utils import *
from utils.datasets import *
from utils.parse_config import *
import os
import sys
import time
import datetime
import argparse
import tqdm
import torch
from torch.utils.data import DataLoader
from torchvision import datasets
from torchvis... | [
"jminji98@gmail.com"
] | jminji98@gmail.com |
1784137b85098c5d96494a7fff02341ed42f7387 | 603e340a1718ce68b02a9e48e1142c2cfb48e937 | /apuestas/setup.py | 2706af3f60b15be493c7e72e97a018e0ca128231 | [] | no_license | Andypsamp/ApuestasPythonFinal | bb95e527c4fa8a637d6a30561f1505024a07eb30 | a28b2d02a715a0fb07ddd8e277cbd7385812ba02 | refs/heads/master | 2021-01-21T08:24:05.666395 | 2016-04-07T09:22:18 | 2016-04-07T09:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 422 | py | __author__ = 'dabalrodriguez'
from distutils.core import setup
setup(name="Aplicacion de ejemplo",
version="0.1",
description="Ejemplo del funcionamiento de distutils",
author="Raul Gonzalez",
author_email="zootropo en gmail",
url="http://mundogeek.net/tutorial-python/",
license="GP... | [
"dreylopez@danielcastelao.org"
] | dreylopez@danielcastelao.org |
bbbc8ede49f033fcaa8cfe5937eff44ec53222a0 | f9462f3768fa058bd895a56b151da694664ce588 | /examples/201_visualize_model_rhino.py | acacdc3daa62bc676a7299833e03bf0c92d3c5dd | [
"MIT"
] | permissive | ryanpennings/workshop_swinburne_2021 | 16a9a7e2c7134832f8f714b7b430376f1b67dfb2 | 820ef4e36e73ac950f40e1846739087180af2e1c | refs/heads/main | 2023-05-31T16:35:16.535310 | 2021-06-17T06:24:51 | 2021-06-17T06:24:51 | 377,373,107 | 0 | 0 | MIT | 2021-06-17T06:24:51 | 2021-06-16T04:45:02 | null | UTF-8 | Python | false | false | 256 | py | from compas_rhino.artists import RobotModelArtist
from compas.robots import RobotModel
model = RobotModel.from_urdf_file('models/05_with_colors.urdf')
artist = RobotModelArtist(model, layer='COMPAS::Robot Viz')
artist.clear_layer()
artist.draw_visual()
| [
"casas@arch.ethz.ch"
] | casas@arch.ethz.ch |
2cff66c4c33feceb2cd50c788f069e0a599d98ac | 51a88c9a1b934a2cfd3f10fe9c6bce535a9a7ed4 | /ORC/models.py | 099a97e6c4e2e028e843a589f19dd290066fff53 | [] | no_license | sarathkshatri/Omaha-Retirement-center | c757494b41a7572e19836c4b472e259eeed00423 | 6b4e0f77ae3f859256ad9c356bb966b1aa98c574 | refs/heads/master | 2023-03-04T18:25:57.732416 | 2021-02-15T18:04:39 | 2021-02-15T18:04:39 | 339,162,935 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,138 | py | from django.db import models
from django.utils import timezone
from django.contrib.auth.models import User
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
@property
def is_orc_staff(self):
if hasattr(self, 'orc_staff'):
return True
return False
@p... | [
"skshatri@unomaha.edu"
] | skshatri@unomaha.edu |
43112d3736b5f00060fe0a314fe00e4785f92ccf | f7827259ab40a903ac52cd77176be47c35e22125 | /anunidecode/x25.py | 36e19ceaedb35719ca055c0643f3b064986aceb7 | [] | no_license | DevTable/anunidecode | 143fec2df17c494aa3adbc0bfad9de5c0c7011eb | d59236a822e578ba3a0e5e5abbd3855873fa7a88 | refs/heads/master | 2021-01-10T19:20:45.172892 | 2014-08-01T19:14:46 | 2014-08-01T19:14:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,322 | py | page = [
'-', '-', '|', '|', '-', '-', '|', '|', '-', '-', '|', '|', '+', '+', '+', '+',
'+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+',
'+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+',
'+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '+', '... | [
"jake@devtable.com"
] | jake@devtable.com |
9b3fc0aadb7a94e0c3921ce7159d230d74acf942 | c89e59b4d018e8a2d7dc0dbc3bb7a3768024f849 | /before2021/python/190922/2_D4_1824_혁진이의프로그램검증.py | 35739cf8ff47cfc4a6a46240d6cabeed99ea85a6 | [] | no_license | leeiopd/algorithm | ff32103a43e467a5a091257cc07cf35365ecbf91 | e41647d3918c3099110d97f455c5ebf9a38d571e | refs/heads/master | 2023-03-08T23:46:34.919991 | 2023-02-22T09:39:46 | 2023-02-22T09:39:46 | 166,131,885 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,328 | py | '''
Samsung Collegiate Programming Cup은 Samsung이 매년마다 개최하는 대학생 프로그래밍 축제다.
이 축제의 우승자는 Samsung에 입사할 수 있지만, 나머지 사람들은 시공의 폭풍 속으로 빠지게 된다.
이 축제에서 참가자들은 자신이 선호하는 언어로 프로그램을 작성할 수 있다.
혁진이는 자신이 개발한 언어 혁셈블리어를 이용해 대회에 참가했다.
축제에서 꼭 우승하고 싶은 혁진이는 자신이 작성한 프로그램이 결국에는 멈출 수 있는지 확인하고 싶다.
혁셈블리어는 다음과 같이 동작한다:
- 프로그램이 ... | [
"leeiopd@hanmail.net"
] | leeiopd@hanmail.net |
9146a6245444ed68e77dfcc3bfedec1f909c7f3e | c7ea7a55a3ec0b73389403b063ba3a5282c28dca | /eve/exp/runners/hypsearch.py | 95e073da76957ffc3a18177135f5623ed0535957 | [
"MIT"
] | permissive | rooa/eve | b9d9fdec5237b291e8068e5f4fb0f247e234f8ab | 06180921d137b015da1acca23dd2d490119a1c7b | refs/heads/master | 2021-03-22T02:14:06.885893 | 2018-06-11T16:05:26 | 2018-06-11T16:05:26 | 94,851,273 | 4 | 2 | MIT | 2021-08-05T18:47:41 | 2017-06-20T04:57:03 | Python | UTF-8 | Python | false | false | 3,032 | py | """main.py: runner for hyperparameter sensitivity experiment.
This file runs Eve over a grid of (beta, c) values, and collects
the results.
"""
import itertools
import json
from argparse import ArgumentParser
import numpy as np
from eve.exp.runners.utils import EXP_SEED
np.random.seed(EXP_SEED)
import pandas as pd
... | [
"jnkoushik@gmail.com"
] | jnkoushik@gmail.com |
218dc82bd8eed4a2d5859956054fc24b06364e5a | f8b5aafac15f408a48fabf853a918015c927e6fe | /backup/virtualenv/venv27/lib/python2.7/site-packages/heatclient/tests/test_events.py | e94b7eb9702afaf92195edca367bae7b1ce1b5b4 | [] | no_license | to30/tmp | bda1ac0ca3fc61e96c2a1c491367b698d7e97937 | ec809683970af6787728c2c41f161f416155982a | refs/heads/master | 2021-01-01T04:25:52.040770 | 2016-05-13T16:34:59 | 2016-05-13T16:34:59 | 58,756,087 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,855 | py | # Copyright 2013 IBM Corp.
#
# 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 t... | [
"tomonaga@mx2.mesh.ne.jp"
] | tomonaga@mx2.mesh.ne.jp |
d7f9fa116ae9850dd1cff244472d1e4bdd205cf3 | 087b207360db9d2e2332b616901c86341b8a8b52 | /examples/py_files/nagel_schreckenberg.py | ada97e9c16a30bb0d739d0075cdfd7e31fc79648 | [
"MIT"
] | permissive | anhnguyendepocen/intro_to_python_with_networks | a79dd5c3d517454e06690d521f49ae0ce9765f23 | 9d7d288ba492b5e18721465686afc48349e37be5 | refs/heads/master | 2022-04-08T06:22:16.550239 | 2020-03-20T14:04:21 | 2020-03-20T14:04:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,966 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#%% Import necessary modules
import numpy as np
from matplotlib import pyplot as plt
#%% Set the parameters of the problem
# Parameters of the simulation
T = 1000
# Parameters of the model
M = 1500
N = 350
v_max = 5
p = 0.3
# Create vectors with placeholder content ... | [
"apsql@outlook.com"
] | apsql@outlook.com |
1dce5d75d803cf778d069adab0b503f1590387b8 | 537d67757a51e49339341ebde0ad55b3106bed14 | /flask/fundamentals/hello_flask/server.py | 250d18f9c69b9e0e7c7a36ce139cfae488ee0e64 | [] | no_license | luisendres/python | 56041725efb01f036e49205f626f3d41c3acaef8 | 2c127b5086ae024f41fb2179fbb2b62291e4e344 | refs/heads/main | 2023-07-07T05:04:05.945464 | 2021-07-29T17:28:44 | 2021-07-29T17:28:44 | 383,918,138 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,828 | py | from flask import Flask, render_template # Import Flask to allow us to create our app #added render_template
app = Flask(__name__) # Create a new instance of the Flask class called "app"
# @app.route('/') # The "@" decorator associates this route with the function immediately following
# def hello_world():... | [
"luisendres@yahoo.com"
] | luisendres@yahoo.com |
74300caf85b88f9ac5f4886af83c8e4a282865e4 | e8752fe75bf1bdf939642f2661679c5bd538be76 | /tests/player/test_base_player.py | 33380a18ad738bed6338e96b8cd9837dc7e23315 | [
"MIT"
] | permissive | Murthy10/pyschieber | 7d4c95b8c66e5802d624baa1dcc69f47b5cfcb1b | f9db28c9553b8f321f6ed71cff04eff7879af5f6 | refs/heads/master | 2023-06-03T22:34:27.518188 | 2018-11-25T10:51:32 | 2018-11-25T10:51:32 | 115,740,322 | 6 | 3 | MIT | 2021-06-11T17:45:24 | 2017-12-29T17:10:40 | Python | UTF-8 | Python | false | false | 290 | py | from pyschieber.player.base_player import BasePlayer
from itertools import count
def test_base_player_counter():
BasePlayer.class_counter = count(0)
base_player = [BasePlayer(name=i) for i in range(4)]
for i, player in enumerate(base_player):
assert player.name == i
| [
"samuel.kurath@gmail.com"
] | samuel.kurath@gmail.com |
f9debb94a35de55c5446f1dc48f3803c62057771 | fdcb35b433d7831ea5a1f8608d2b5487083b281a | /flask_app/main.py | c4dcc1a966a55ced4753c8599d140cdfbd29762b | [] | no_license | aflugel/03_Classification-SQL-OKCupid | 9e6de31d626149fcd5ab70c225b2dcddbc9f5960 | 6c0c4edc745b473d7d1ff9e3480e597e3852674b | refs/heads/master | 2021-04-27T16:26:11.887755 | 2018-02-21T15:15:15 | 2018-02-21T15:15:15 | 122,300,699 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,692 | py | from flask import Flask, request, render_template
from py_sports_fan import fan_or_not
# create a flask object
app = Flask(__name__)
# creates an association between the / page and the entry_page function (defaults to GET)
@app.route('/')
def entry_page():
return render_template('index.html')
# creates an associ... | [
"adf52@cornell.edu"
] | adf52@cornell.edu |
f38d148553f05dc2b848ef3d75808957856f3ebe | 638488a2c59c3172c8a7112bbacff58a8c8881f5 | /root_cp.py | 6f0b8f2dd26e42b5c179c6d4ee33371bdf3cf93b | [] | no_license | achristensen6/ps3-decr-stuff | 82ba1305876ddf9a63ac2e52544b29a31b43869b | 706c8eba3815e5ca16e2528d7f58cb87fc279920 | refs/heads/master | 2021-05-27T01:28:26.396182 | 2018-10-31T23:22:00 | 2018-10-31T23:22:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 789 | py | #!/usr/bin/env python2
import requests
import sys
def run_cmd(host, user, passwd, cmd):
print 'rooting %s' % host
path = 'http://%s/cgi-bin/admin/save_setting.cgi?lang=english' % host
cmd_shell_h4x = '; %s' % cmd
files = {
'setting': (None, cmd_shell_h4x),
'confirm': (None, ''),
... | [
"jevinsweval@gmail.com"
] | jevinsweval@gmail.com |
15634fe0c34ded37f2cbee48448c88e148eaad5c | 1026408acb01230465ef0f32342923868a38d069 | /mandalart/migrations/0001_initial.py | f3b10db940c564c258fc8edcfd6c9b0dbc182309 | [] | no_license | LikeLionYU/CrossOff | 218e0b81a48bbbac0e017ab003543272144308a8 | e4080e1390c48dea465c0e12a33814b7f9477255 | refs/heads/master | 2023-07-16T04:26:06.139654 | 2021-08-19T07:22:29 | 2021-08-19T07:22:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,126 | py | # Generated by Django 3.2 on 2021-08-11 02:26
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
... | [
"jiggy0429@gmail.com"
] | jiggy0429@gmail.com |
212e3c7f9eed689458556700d2b64f75b0d4b956 | 425aba1a7c134c78e8d5710890d426d7d6b0bd45 | /tests/settings.py | f5b9b7ceb97006a73fcfd1b1add3b90442fa9338 | [
"BSD-3-Clause"
] | permissive | curiousTauseef/django-multiple-form-view | bd1f4558879382e9ae1b6c173ecbb2102350c12e | de13d124d913f12aa01aeeb6ea2f7b1768cd93cb | refs/heads/master | 2021-08-19T22:28:12.921932 | 2017-11-27T15:58:16 | 2017-11-27T15:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,087 | py | import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = 'not-a-secret'
DEBUG = True
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.staticfiles',
'testapp',
]
MIDDLEWARE = []
ROOT_URLCONF = 'testapp.urls'
TEMPLATES = ... | [
"rpkilby@ncsu.edu"
] | rpkilby@ncsu.edu |
0961fac93b27d85b3fb6e6158ed2e5c800e49423 | 3f06c6afc00d9ffc63cc207945a81258cfe8e66d | /noth.py | 520ae79368697c8eee97e17b790c24d0c262ff31 | [] | no_license | vikimeradio/LearnBook | 5557cea17b03e849dee6c0c6cc57d41218e3147c | bb856bfa302bd986a282128603ba5b11fe8a40bf | refs/heads/main | 2023-06-12T10:23:35.938299 | 2021-06-11T11:52:49 | 2021-06-11T11:52:49 | 376,008,876 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,844 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'noth.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, ... | [
"85742747+vikimeradio@users.noreply.github.com"
] | 85742747+vikimeradio@users.noreply.github.com |
21679923cf73909b68dce2ba23adc830fd7375d7 | d3a4815a9295fb293b0e123726055e2ec5e55eb5 | /portfolio/migrations/0015_auto_20190904_1951.py | 5186ad1b82b9890cc80f9b58c963f1c9bc84a906 | [] | no_license | azrshrn/second_chance | 475ec18a1f05282fd06307985b72396ef00d3261 | 77c6e364141ba48ca17cbdd6f468eb350bf80051 | refs/heads/master | 2020-07-27T23:29:23.515372 | 2019-09-06T00:07:11 | 2019-09-06T00:07:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 442 | py | # Generated by Django 2.2.4 on 2019-09-04 11:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('portfolio', '0014_student_image'),
]
operations = [
migrations.AlterField(
model_name='student',
name='image',
... | [
"rafizan.baharum@canang.com.my"
] | rafizan.baharum@canang.com.my |
e358ddaf603fdfd94022ac664dc50a014e6e81d9 | c293acb188701558c61743bbcf4dfd43378b8022 | /feedEngine/celery_app.py | dfb1eecaa7099d11828c045563a6d25a91e6e3c3 | [] | no_license | coldicefisher/feeds-server | dcb49a11277aaaf6a1c36ea303d376220211176f | e61268e1ca070468d75fd042caf5b2df92020779 | refs/heads/master | 2022-08-21T04:15:32.392067 | 2020-03-30T04:58:07 | 2020-03-30T04:58:07 | 250,743,811 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 537 | py | from celery import Celery
from celery.schedules import crontab
app = Celery('feedEngine',
broker='pyamqp://rabbitmq:5672',
backend="db+postgresql+psycopg2://postgres:postgres@postgres_celery:5432",
# include=['feed_tasks']
)
# app.conf.beat_schedule = {
# "get-historical-data": {
# "task"... | [
"jameycharris@yahoo.com"
] | jameycharris@yahoo.com |
b811df8852a8bc944150eb81bb5b2b5cdb6b8914 | 5cc954e27fd924da0f6f44e7d58691d612a77f80 | /coremltools/converters/mil/frontend/tensorflow/ssa_passes/__init__.py | a659bb2d3a72c417e763c9e2730b9e92c562bf9e | [
"BSD-3-Clause"
] | permissive | 1duo/coremltools | e25f1a8423ec368bf1e7dabfaa36e77952578e79 | 37e619d99bf603d2cb9ea0839fa3ebe649996b0a | refs/heads/master | 2021-07-15T08:48:51.930217 | 2020-07-27T20:58:33 | 2020-07-27T20:58:33 | 203,466,876 | 2 | 0 | BSD-3-Clause | 2020-07-22T00:05:02 | 2019-08-20T22:59:50 | Python | UTF-8 | Python | false | false | 732 | py | # Copyright (c) 2020, Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can be
# found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
# Import all passes in this dir
from os.path import dirname, basename, isfile, join
import glob
excl... | [
"noreply@github.com"
] | 1duo.noreply@github.com |
767f4f734546d0a8ebd74beecdd9d5c7aa5d3c4c | 06f8dc1db14a288996d425272051fcffec72a133 | /searching/changed_val.py | 8bde94898ffe483b79a84bef2ce80f81dff0016c | [] | no_license | ek169/python_basic | 3b4e645de2c36f78033277718851764aec62e643 | a47ee67d709bafede38b1db951c867e1abbff3c3 | refs/heads/master | 2021-06-20T13:19:18.614177 | 2017-08-06T16:40:16 | 2017-08-06T16:40:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 944 | py | def changed_val(n, start_num, changed_index):
the_list = [start_num]
for addition in range(1, n):
the_list.append(start_num+addition)
the_list[changed_index] = float("inf")
print(the_list)
min_index = 0
max_index = n
while min_index < max_index:
mid_point = (min_index + max_i... | [
"ethan@Ethans-MacBook-Pro.local"
] | ethan@Ethans-MacBook-Pro.local |
8aa0b4016e82d440ca3696056f79e03f23b463be | afddf2a9a26e2a779d293bd7c76bde68769fd537 | /server/transformer.py | 8aa25c6947f1098224f3534e9fc691b713e66981 | [] | no_license | getChan/ADV | 54b5534cfa01dff49143ec0ce053fa397d4b1c6d | 263ada0fd2241abda5ae8a4a7dbb0f13bff51816 | refs/heads/master | 2020-06-21T22:28:38.155235 | 2020-01-15T07:52:21 | 2020-01-15T07:52:21 | 197,566,824 | 2 | 2 | null | null | null | null | UTF-8 | Python | false | false | 12,380 | py | import tensorflow as tf
import numpy as np
def get_angles(pos, i, d_model):
angle_rates = 1 / np.power(10000, (2 * (i//2)) / np.float32(d_model))
return pos * angle_rates
def positional_encoding(position, d_model):
angle_rads = get_angles(np.arange(position)[:, np.newaxis],
np.a... | [
"9511chn@gmail.com"
] | 9511chn@gmail.com |
1112cad995c7f9cfcf9ea20d70efdbb239b37b36 | 2e26bf9c44f349ee308e63e067d93da654daf69d | /projecteuler/euler036.py | 878cb071e730b422a0ee722e5900f8f5af658ac0 | [
"MIT"
] | permissive | RelativeTech/PYTHON_PRAC | 034e44484d63d50a9c4295aa7e1dc63ef786fb37 | 7fa145dece99089706460466a89901e00eef9d28 | refs/heads/master | 2023-06-04T18:59:45.059403 | 2021-06-07T19:40:10 | 2021-06-07T19:40:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 975 | py | #!/usr/bin/env python
"""
Solution to Project Euler Problem 36
http://projecteuler.net/
by Apalala <apalala@gmail.com>
(cc) Attribution-ShareAlike
http://creativecommons.org/licenses/by-sa/3.0/
The decimal number, 585 = 10010010012 (binary), is palindromic in both bases.
Find the sum of all numbers, less than one mi... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
781b3f9b706daa0a40d01ceb66f8aa61fe6d04d3 | c3bd61755984f9fb48e09e335051af7323bba17f | /lesson_5/task_7.py | d274cfb952883da8aef2f2c1394f2ca4e7bc0baf | [] | no_license | mifrok/GeekBrainsPython | 1a7930147c79c1e1eee455f6a9fd957d5982fe00 | c46600b6ed92f6530e856abfae254c1ce8e3baf6 | refs/heads/master | 2022-12-16T23:36:56.347476 | 2020-09-19T03:18:49 | 2020-09-19T03:18:49 | 290,330,558 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,505 | py | """
Создать вручную и заполнить несколькими строками текстовый файл, в котором каждая строка должна содержать данные о
фирме: название, форма собственности, выручка, издержки.
Пример строки файла: firm_1 ООО 10000 5000.
Необходимо построчно прочитать файл, вычислить прибыль каждой компании, а также среднюю прибыл... | [
"mifra@mail.ru"
] | mifra@mail.ru |
d265d6e6b53562dd40dc8be2a98d8b64d349b945 | 29043f079cc9895f176af3901bfb41ab9bbb266e | /PythonAutotest/data/dataconfig.py | 98c35281066ea5bb7f8fc610fbffa5db5e64e0f3 | [] | no_license | nanyang1981/PythonAutoTest | 036e7fada3ded3da8b2109db20794a761d0325cf | dc5faaf8d4250aa5e4b8bf763daa7ebe785eac9f | refs/heads/主 | 2020-04-05T11:25:10.493463 | 2019-12-02T06:16:24 | 2019-12-02T06:16:24 | 156,834,040 | 0 | 0 | null | 2019-12-02T06:14:59 | 2018-11-09T08:40:52 | Python | UTF-8 | Python | false | false | 2,114 | py | #coding:utf-8
class global_var:
"""docstring for global_var"""
#case_id
Id = "0"
name = "1"
url ="2"
run = "3"
request_way ="4"
header = "5"
case_depend = "6"
data_depand ="7"
field_depand = "8"
data = "9"
expect = "10"
result = "11"
#获取caseid
def get_id():
return global_var.Id
... | [
"noreply@github.com"
] | nanyang1981.noreply@github.com |
8c3b83d33ccb9923cd38f392fa462b54697237c9 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/python/generated/test/test_com_day_cq_mailer_impl_cq_mailing_service_properties.py | 224a540ecb8cd7059da3fee3c5ac2c652c422627 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | Python | false | false | 1,257 | py | # coding: utf-8
"""
Adobe Experience Manager OSGI config (AEM) API
Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: opensource@shinesolutions.com
Generated by: https://openapi-... | [
"michael.bloch@shinesolutions.com"
] | michael.bloch@shinesolutions.com |
09c66a1fb5fe1704df6f9cd0259fe6e145a0933b | 66b55a267f249ccafbf41760a5175cf36591d8b4 | /models/ResNetModel.py | 71f851604476d33a34601ffa2b57196c76840c93 | [] | no_license | bloodbee/xray_covid_classifier | 01b5a70ebd23dd80186c45a020e375481a9d2c09 | f415cc73c2027201d595f103c34be3317d7d116e | refs/heads/master | 2023-01-12T02:01:31.879022 | 2020-10-28T16:38:08 | 2020-10-28T16:38:08 | 308,076,932 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,184 | py | from __future__ import absolute_import, division, print_function, unicode_literals
import functools
import numpy as np
import tensorflow as tf
from tensorflow.keras import layers
IMG_WIDTH = 96
IMG_HEIGHT = 96
NUM_CLASSES = 3
def make_basic_block_layer(filter_num, blocks, stride=1):
"""
Generate a block layer
... | [
"mathieu.dufour@whereyoulove.com"
] | mathieu.dufour@whereyoulove.com |
da5ef632a7cf8fee5a2e5b4c2148620481985735 | 7a0625ef4c271ed9992a736de7bb93215b7013fd | /leetcode70.py | 69d3a74dd79759a429e6c7c53286866920e7b5a1 | [] | no_license | yuchien302/LeetCode | 6576b93c005ea2275646df7b9547c22683d3b45c | c9a53ef2fc1fd1fea7377c3633689fa87601dba6 | refs/heads/master | 2020-12-11T01:42:36.980414 | 2015-12-03T02:53:51 | 2015-12-03T02:53:51 | 36,424,494 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 530 | py | import unittest
class Solution(object):
def climbStairs(self, n):
"""
:type n: int
:rtype: int
"""
steps = []
steps.append(1)
steps.append(1)
for i in range(2, n+1):
steps.append(steps[i-1] + steps[i-2])
return steps[-1]
class T... | [
"yc2257@cornell.edu"
] | yc2257@cornell.edu |
a0fbd58ff8e03c75e3d7e45651cc8acdafbef7c1 | 9a1c446134e8a22a2e6856ebb91033db042f508c | /ecommerce/settings.py | b3f8596c22809fc84349fe165f20df5c761a6216 | [] | no_license | Baal89/alessio-ecommerce | fc49f72a80ee81de39154095c482e56be0090047 | 2025549f8eef4cef78f945d6eec22c363b00b1ff | refs/heads/master | 2021-06-30T14:50:09.825723 | 2020-02-13T20:34:54 | 2020-02-13T20:34:54 | 240,336,123 | 0 | 0 | null | 2021-06-10T22:34:24 | 2020-02-13T18:48:59 | Python | UTF-8 | Python | false | false | 4,851 | py | """
Django settings for ecommerce project.
Generated by 'django-admin startproject' using Django 1.11.24.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
"""
import... | [
"ubuntu@ip-172-31-27-76.eu-west-1.compute.internal"
] | ubuntu@ip-172-31-27-76.eu-west-1.compute.internal |
be03c906a6b35197e94447d4cdd308eec0fd6ab0 | bc008babe45f3703ed4d77b767a5dd7335bf7136 | /duckql/functions/date_sub.py | f8623ed895287c03f0cc6f8788d79dc1687fef58 | [
"MIT"
] | permissive | Sibyx/duckql-python | 4da8c7052f43d4d41d3867ac83d8e88972f82124 | ec82b683e929760f4f725f09c0603c68df17ba3b | refs/heads/master | 2023-08-09T18:21:33.488797 | 2022-06-09T09:29:03 | 2022-06-09T09:29:03 | 254,049,497 | 5 | 1 | MIT | 2023-07-20T11:35:28 | 2020-04-08T09:56:01 | Python | UTF-8 | Python | false | false | 782 | py | from typing import Union
try:
from typing import Literal
except ImportError:
from typing_extensions import Literal
from ..functions.base import BaseFunction
from ..properties.constant import Constant
from ..properties.property import Property
from ..structures.cast_operator import CastOperator
from ..structur... | [
"jakub.dubec@gmail.com"
] | jakub.dubec@gmail.com |
49331e90d1b732171e5f1743823b1aed48235a45 | eb24536283ecb83d5abeae9c93aa6db2c64867c9 | /HT1.1.py | d94458a7e2639b260ac9560aea9be459304fcbd8 | [] | no_license | OleksandrMoldovan/HomeTaks | d627ee9ad9551bb31c11458ffc496c5d66d1a13d | 7091a9d19a2043c3fcc97d4c515af5e1e55fb705 | refs/heads/master | 2020-07-03T05:49:12.481606 | 2019-08-16T16:52:50 | 2019-08-16T16:52:50 | 201,808,296 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,849 | py | ##"""First programm"""
##s= 'Nisl scelerisque justo per hac cras purus lectus maecenas litora facilisi potenti.'
##if len(s)%2 == 0:
## print("Symbols amount is chetnoe")
##else: print("Symbols amount is nechetnoe")
"""The 2 program"""
##i = True
##num = str([0,2,4,6,8])
##s1 = input("Enter the value\n")
##while i... | [
"noreply@github.com"
] | OleksandrMoldovan.noreply@github.com |
1eef3862c3aba6b11dbe6f4a7645669b1e528eb4 | ea1574e383f4c1ab9eafe9105d275cd24affcce9 | /source/setup.py | a58e6a4bbf7105a2a77831f0d9b6e99cb740a3eb | [
"MIT"
] | permissive | icaroferre/cpp | f046650958a5a444a1a2ed503b93f0e9edd968a8 | 8d1b467aa54b4e93212b266b22919894e262a888 | refs/heads/master | 2021-01-17T21:05:24.594219 | 2016-07-05T01:34:03 | 2016-07-05T01:34:03 | 62,596,072 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 424 | py | """
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['Calculadora Paypal.py']
DATA_FILES = ['MainMenu.xib', 'Credits.rtf', 'CPP.icns']
OPTIONS = {'argv_emulation': False, 'iconfile': "CPP.icns"}
setup(
app=APP,
data_files=DATA_FILES,... | [
"icaroferre+bitbucket@gmail.com"
] | icaroferre+bitbucket@gmail.com |
cd0446776e6544b0a14b27f255e471514670596c | 29045afdeb5410d3a9c86aa7bef6f8d193278429 | /ui_backend.py | df08967a92b84dd011202b36f1676200c0ebc828 | [] | no_license | Vittorio-Veneto-www/StudentManagement | 54f9f8a4971944d406fce3b05f3c528396623fce | 8c3b64141be6f0f826e32dd6e5bd3db330c89e1d | refs/heads/main | 2023-03-28T09:34:49.792444 | 2021-03-18T11:22:46 | 2021-03-18T11:22:46 | 347,447,346 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,535 | py | from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import *
import TextEdit
class ui_backend():
def __init__(self, core):
self.core = core
self.setup()
def setup(self):
import sys
app = QApplication(sys.argv)
import Ui_gui
class gui(QWidge... | [
"wym19pku@pku.edu.cn"
] | wym19pku@pku.edu.cn |
6ece7968fbfd6baa43de117e0023ca678eb58097 | c9da595c13dfbdeb8d45dc1f997464b9e4dde3cd | /SW_academy/d2.py | 3e20dd7c24d63349e826a1ad4d26e5e537ef6357 | [] | no_license | SpookyJelly/SSAFY_daily_works | a10cd20bd3bb465860d326a899035cee46766e79 | 479f8d0c3b126d2bd67908470934b208bdce97c5 | refs/heads/main | 2023-06-29T14:40:01.105755 | 2021-08-03T13:29:10 | 2021-08-03T13:29:10 | 329,216,770 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,482 | py | import sys
from pprint import pprint
sys.stdin = open("input.txt", "r")
def squ_sum(squ_row):
for j in [0,1,2,9,10,11,18,19,20]:
squ_sum=sum(squ_row[j])+sum(squ_row[j+3])+sum(squ_row[j+6])
if squ_sum != 45:
return False
return True
T = int(input())
sutoku = []
for num in range(... | [
"zang9412@gmail.com"
] | zang9412@gmail.com |
7dc214ff91e6c8aabfa076b13ce2cc9f62f45f1b | 68d61c4d3f203e071737ed83c16cddd8eb54c40c | /ae.py | bc10b7580f759ff4e6e4372f35428a942a459ec2 | [] | no_license | ani1512/BEproject | f678181926b25e1ff0adb089f768e71e248ee498 | 74ba2fcd5de5a2cfd4908b981b2864ec10f96d84 | refs/heads/master | 2020-05-03T19:18:59.631301 | 2019-04-06T04:58:15 | 2019-04-06T04:58:15 | 178,782,047 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,360 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 6 20:47:58 2019
@author: anish
"""
#Importing the libraries
import numpy as np
import pandas as pd
import torch
import torch.nn as nn
import torch.nn.parallel
import torch.optim as optim
import torch.utils.data
from torch.autograd import Variable
... | [
"reachanish1512@gmail.com"
] | reachanish1512@gmail.com |
6fa02f0df7c08631ec183d19e8f9dc8a7ded9ce0 | c94f647dbab69cae07c3a3ecefef320ab9eabe79 | /ui_element_db.py | 6703a5b36ae01985cb40d5bc2464c6dc82a09709 | [] | no_license | showonlady/ui_test | 571dff58704e84c0c8e89f21d2f0a4c714e46e5e | 2f9e4baad4082144f282f021ee4e1c13abd0d384 | refs/heads/master | 2020-03-16T15:07:52.888776 | 2018-06-28T08:27:51 | 2018-06-28T08:27:51 | 132,729,252 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,444 | py | """
This script includes database elements on UI page
"""
import re
import time
import random
import string
import ui_common_method as cm
import ui_login_logout as ll
flash_list = ["yesFlash", "noFlash"]
node_list = ["nodeNumber0", "nodeNumber1"]
EmConsole = random.choice(["yesEmConsole", "noEmConsole"])
password2 = "... | [
"303677365@qq.com"
] | 303677365@qq.com |
ba30b6dde652e986085f8b083443997a7496e18a | 8fe4927243c0d3509971a17920d80d3bf2d95897 | /docs/source/conf.py | 3e641edecac54a77c076fa59afb72a00803a4cd2 | [] | no_license | wdm0006/rstcloth | 96dc3c45d6aba8f72d15cebcc52b595781f0b6c0 | f654e49b0896b8d49041bb639615937b7845b97a | refs/heads/master | 2021-01-13T07:22:14.173558 | 2018-05-10T16:00:09 | 2018-05-10T16:00:09 | 71,514,910 | 0 | 0 | null | 2016-10-21T00:19:53 | 2016-10-21T00:19:52 | null | UTF-8 | Python | false | false | 10,036 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# rstcloth documentation build configuration file, created by
# sphinx-quickstart on Thu Oct 20 20:31:16 2016.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# a... | [
"will@predikto.com"
] | will@predikto.com |
b7dcd92c3cb2c03e4847d90b529c9dfb0ffa92fe | b8e0a5869f6daca39f86aceda367a3612d138816 | /OneToOne Relationship/otoapp/admin.py | 334284b568b01f7645c8bf8ec1332bb834f8e9da | [] | no_license | AlokRanjanBhoi/Django1.9-Programs | 57b663ae527bd0290d986a41cb8beb3871776f37 | 152a2be339c610303d4e980571fb8bbd1ed6a6b5 | refs/heads/master | 2020-06-24T15:39:41.515218 | 2019-08-13T01:53:48 | 2019-08-13T01:53:48 | 199,003,247 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 314 | py | from django.contrib import admin
from .models import Student,Course
class AdminStudent(admin.ModelAdmin):
list_display = ['name', 'email', 'location']
class AdminCourse(admin.ModelAdmin):
list_display = ['cname', 'cost']
admin.site.register(Student,AdminStudent)
admin.site.register(Course, AdminCourse)
| [
"noreply@github.com"
] | AlokRanjanBhoi.noreply@github.com |
8d1ab7912a785809077016e666d282153dd9da31 | 426aed70aa6925105f10c7fcb7b611b277bf8b84 | /python/dgl/distributed/__init__.py | 462e347f48493808c907b3d4968a92bfd18ca25f | [
"Apache-2.0"
] | permissive | hengruizhang98/dgl | 0ce7201ca7380482440f031cb8ced6ca0e8c8dc1 | 195f99362d883f8b6d131b70a7868a537e55b786 | refs/heads/master | 2023-06-10T22:21:45.835646 | 2021-04-13T12:29:43 | 2021-04-13T12:29:43 | 336,804,001 | 3 | 0 | Apache-2.0 | 2021-02-07T14:16:20 | 2021-02-07T14:16:20 | null | UTF-8 | Python | false | false | 1,054 | py | """DGL distributed module contains classes and functions to support
distributed graph neural network training and inference in a cluster of
machines.
This includes a few submodules:
* distributed data structures including distributed graph, distributed tensor
and distributed embeddings.
* distributed sampling.
* di... | [
"noreply@github.com"
] | hengruizhang98.noreply@github.com |
9f34f5b128974477ae5748f0ce76f63bbb69eded | bf102145c1873d30b1595483d64ceb94e6ca752d | /scripts/PostFBX.py | cb6a120ff7f04f429798483a5378529e37cc9cec | [] | no_license | maximefauure/mfaure_Houdini_tools | 9a32e35d256bcb70d534724500be3e53ab59df7e | 731837c83acfa39e633a237f2b79be0d7174e279 | refs/heads/master | 2022-02-11T21:05:41.107493 | 2022-02-01T15:49:46 | 2022-02-01T15:49:46 | 142,627,107 | 2 | 3 | null | null | null | null | UTF-8 | Python | false | false | 301 | py | from shutil import copyfile
from hou import *
import os
inPath = hou.pwd().evalParm("sopoutput")
newPath = hou.pwd().evalParm("sopoutputCopy")
#newPath = hou.hscriptExpression("$EXPORT")+"/"+hou.hscriptExpression("$HIPNAME")+"."+str(hou.pwd())+".fbx"
copyfile( inPath, newPath)
| [
"noreply@github.com"
] | maximefauure.noreply@github.com |
87ce475887f2cf83da859dbedddb876847fa6054 | a5bb6d81fc9cb3ce9105c4ab6505bb23bb629c2d | /pro/urls.py | 07b06676f90d5dd19d4e3734d926b4e1043147c2 | [] | no_license | MengxiQ/django_pro | a19a309e3cbe07a5fc5444b3d58c8eef7f6454a7 | a5145502d2560f488426e13de16b6280a7a51eb9 | refs/heads/master | 2022-11-24T07:48:59.208205 | 2020-07-31T14:23:08 | 2020-07-31T14:23:08 | 282,918,623 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 927 | py | """pro URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based vie... | [
"1486073356@qq.com"
] | 1486073356@qq.com |
dcd43c82ed320c62fa992c05e7d3c179dd40a3ce | 5b4b1866571453f78db5b06a08ff0eda17b91b04 | /test/vanilla/Expected/AcceptanceTests/Validation/validation/_configuration.py | 058eb79f711e66e68abbc33d48dc1d80d856909a | [
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | koek67/autorest.azure-functions-python | ba345f1d194ca7431daab1210a0cd801d4946991 | b0896d8aec6b0fd6f0bcb12ea8e0489652dc2783 | refs/heads/main | 2022-12-20T13:27:56.405901 | 2020-09-30T08:23:11 | 2020-09-30T08:23:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,409 | 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 may ... | [
"varad.meru@gmail.com"
] | varad.meru@gmail.com |
563181a9f9a7fb2d241badd73c4da9d7f41d4760 | 69a1c47ac5e8f60ac0af76dd2dba4a213a48d0f7 | /chapter4/4.9.bstSequences.py | 03b015bd0b39baff6e510a3ada6620a93e0380e1 | [] | no_license | xshirl/ctci | c49c13e46e7df40ed4cf5ea8a12c555970a12129 | 0487b06a4752656bbfabbcd54b83de0765222245 | refs/heads/master | 2023-01-07T01:18:15.284746 | 2020-11-03T20:02:46 | 2020-11-03T20:02:46 | 232,618,984 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 711 | py | class Node:
def __init__(self, data=None, left=None, right=None):
self.data = data
self.left = left
self.right = right
def bst_sequences(bst):
return bst_sequences_partial([], [bst])
def bst_sequences_partial(partial, subtrees):
if not len(subtrees):
return [partial]
... | [
"xshirl525@gmail.com"
] | xshirl525@gmail.com |
a1a3366adedf7c242f677b714d3ecd33ed37a3df | 7a5da9e60df8c7d47ddc17d9d5b79a9959784834 | /asientos.py | b6e30b811213cc772e416950d2a4b216838f1620 | [] | no_license | Angelooger/Tarea_03 | a5984e588625bb10566ebe539c7a63d0dd4358b5 | 7b9109ec78d5027a287f7df4ae9af570a1dd478a | refs/heads/master | 2021-01-21T11:49:09.677054 | 2017-09-06T02:55:44 | 2017-09-06T02:55:44 | 102,023,611 | 0 | 0 | null | 2017-08-31T16:53:21 | 2017-08-31T16:53:21 | null | UTF-8 | Python | false | false | 956 | py | #ecoding:UTF-8
#Autor: Angel Ramírez Martínez
#Descripción: A partir del número de asientos de cada clase se calcula el total a pagar
# Calcula y regresa la variable totalPago que es el total a pagar a partir del número de asientos de cada
# clase que recibe como parámetro.
def calcularPago(asientosA, asientosB, asi... | [
"angelooger@gmail.com"
] | angelooger@gmail.com |
d1a77da2f46d84a5e90b64fd9a100a0ab730d597 | 44cf0bda12c8ca392a7000efa709adc2ac2aff42 | /26_다음_이메일_크롤링.py | cb07d2336b10220b005cf68307343167a7d1fd17 | [] | no_license | swj8905/Shinhan_Basic_Course | a3d0ebe9aa12a70f3da56cf78e7eca39c5a92238 | b59ad0eeaa4ef77bee5d41d504ecd76148dbf9f8 | refs/heads/master | 2023-06-03T07:30:24.585194 | 2021-06-29T09:32:02 | 2021-06-29T09:32:02 | 380,967,321 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,267 | py | from selenium import webdriver
import time
import chromedriver_autoinstaller
chrome_path = chromedriver_autoinstaller.install()
browser = webdriver.Chrome(chrome_path) # 크롬브라우저 실행
browser.get("https://logins.daum.net/accounts/signinform.do?url=https%3A%2F%2Fwww.daum.net%2F")
# 아이디 입력
id = browser.find_element_by_css_s... | [
"swj8905@naver.com"
] | swj8905@naver.com |
b4f1076d330d64ad8f72de8c917dfe66f72f1073 | 70dd1a05828fcb923130c31480d7a3003c4bd3f8 | /10 week/informatics/Массивы/C.py | 15fe3d697d92a437c680d2572efe06f8e36fcb3c | [] | no_license | itagaev/webdev2019 | 69e4c5a019e2f1f1c4de80e69ce16ddcb079068f | e2312d8a85ae066f652975816732d692a2b8416e | refs/heads/master | 2020-04-19T04:15:48.903665 | 2019-07-01T16:54:08 | 2019-07-01T16:54:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 126 | py | n = int(input())
arr = [int (x) for x in input().split()]
cnt = 0
for x in arr:
if x > 0:
cnt += 1
print(cnt)
| [
"tagayev.ilias@gmail.com"
] | tagayev.ilias@gmail.com |
ae43abab1843af657c2ecd836b12f255c6edb94c | 5b0375b6cb7e548048f5bc55b72bfa2f4899aa9c | /Base_convertor.py | 86b069e86953614daefbf70b1872aaee9e49ac17 | [] | no_license | pradeep3008k/Base-Converter | edcf2ddcc78c76609c9f20ef80c1aabd07051dbe | df7928f15238dab91da9344c1eeb937c961afd0d | refs/heads/main | 2023-04-05T14:14:28.950404 | 2021-04-16T11:17:14 | 2021-04-16T11:17:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,582 | py | from tkinter import *
from tkinter.font import Font
root=Tk()
root.title("Base Convertor")
root.config(bg="black")
root.resizable(0,0)
def get_in():
answer_box.delete(1.0,END)
a=entry1.get()
p=c1.get()
q=c2.get()
p=int(p)
q=int(q)
n=[]
#now append al... | [
"noreply@github.com"
] | pradeep3008k.noreply@github.com |
a830f20f718e38ba324359312b4619b9b321624f | c120f714c9228129ea80442a145cb6d1e1a2d396 | /student_project/urls.py | 5b4c98c2ac1569ec7b98e63f563553c2743c5f3f | [] | no_license | davidtoled/University_Django_DI | 2b43795c2e0d34a7fd6c2a63f7362da72a5c8ed9 | b51815a14e7b1d5490f927b15ae37e9e7baeb97d | refs/heads/master | 2020-04-11T08:05:25.672626 | 2018-12-13T16:09:21 | 2018-12-13T16:09:21 | 161,631,616 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 819 | py | """student_project URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Cla... | [
"toled@MacBook-Air-de-David.local"
] | toled@MacBook-Air-de-David.local |
662f9c0350fc256ff85edbbf669b85fffdc976ef | 0d215e91f3d5138b28b6dc198eb9a628cd6c54f6 | /D_WPOD/wPOD/synthetic_test_case.py | a6a5fb0c73397a9d354ba810e39c2575e943aa8c | [] | no_license | adaptive-cfd/WABBIT-convergence-test | 5333fa73516242006c15977a297d58c53de129f0 | d23f27c757c18bbefe189efa0e9a0673578dcd4f | refs/heads/master | 2022-05-18T11:18:05.749273 | 2022-05-14T17:23:32 | 2022-05-14T17:23:32 | 132,459,046 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 4,490 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 8 17:04:14 2020
@author: phil
"""
import numpy as np
import matplotlib.pyplot as plt
import random
from wPOD.run_wabbit import *
from wPOD.wPODerror import *
from wPOD.adaption_test import adapt2eps
import wabbit_tools as wt
import matplotlib.pypl... | [
"philipp.l.krah@campus.tu-berlin.de"
] | philipp.l.krah@campus.tu-berlin.de |
bd00c39f5f92b1800350aca88fd20030d117d2bf | 89e7bedfd3bef53e5f55870271fae9a42b5632d9 | /First_Classifier/venv/Lib/site-packages/mne/channels/tests/test_montage.py | e45d7f4a1de3318ef08116e24f7aadce36bca965 | [] | no_license | DavidAssaraf106/PhysioNet | f66e735175373973b96d0432069a33eddaf2340e | 7383001f4cb8c76fd845c85d6d98adf4b8f99ad8 | refs/heads/master | 2023-02-03T11:14:42.388367 | 2020-12-14T12:30:14 | 2020-12-14T12:30:14 | 321,331,444 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 45,336 | py | # Author: Teon Brooks <teon.brooks@gmail.com>
# Stefan Appelhoff <stefan.appelhoff@mailbox.org>
#
# License: BSD (3-clause)
from itertools import chain
import os
import os.path as op
import pytest
import numpy as np
from functools import partial
from string import ascii_lowercase
from numpy.testing import (... | [
"david.assaraf@polytechnique.edu"
] | david.assaraf@polytechnique.edu |
37d96d2b75d79d849ea64299a483404a66079779 | 2eb1be0ca87d16db8a0a485a8aa9fab45ebddd83 | /survey_monkey_api/survey_access_test.py | dbdb7947fe45a3f657a5544afca15907df95fa68 | [] | no_license | iu-cewit/survey-analysis | dd7c1a5116e6ff5015b9bf9a7d253839d6d69e5c | ae6cb53e4a5ef2c70c6bb3531ec5b7ff7711c37d | refs/heads/master | 2020-03-27T04:15:48.667605 | 2016-01-30T00:45:59 | 2016-01-30T00:45:59 | 37,379,374 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,271 | py | # Testing script for survey_monkey_api.py and survey_access.py
# NOTE: Do not copy api key or access token into any python script! Create a
# text file in a different directory with the api key on line 1 and the
# access token on line 2
from survey_access import *
# ########### #
# Definitions #
# ########### #
local... | [
"nmbrodnax@gmail.com"
] | nmbrodnax@gmail.com |
069693fc58d3d9423698b08788681418a889b0d2 | b0c59a68cfedceb9a315b0c02da095dee2cfe274 | /bedrock/cli.py | 470755ebc4c175bec88d016ff04279d97294656e | [
"Apache-2.0"
] | permissive | bridgecrew-perf4/bedrock-cli | 2cd5787edd46ab010a397a1abbe520efdf87eb26 | 86040204476ba425e6a9c14aa712fe0572c62605 | refs/heads/main | 2023-03-16T18:45:59.840008 | 2021-01-23T08:31:05 | 2021-01-23T08:31:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,653 | py | #!/usr/bin/env python3
import argparse
import sys
import os
from simple_term_menu import TerminalMenu
from .terraform import TerraformSpec
from .backend import BackendSpec
from .config import ConfigSpec
from .blueprint import BlueprintSpec
from .export import ExportSpec
from .utils import read_blueprints, ANSIColors
... | [
"bfortuna@odecee.com.au"
] | bfortuna@odecee.com.au |
2196e999567f8267acc91cd3027a89e14087c8aa | 4453bc9839d3764680122bca020f443a8ae469d7 | /mne_nirs/visualisation/__init__.py | ba77f55ffdf0b571c2b4cc3cd440d31cf4e76aa8 | [] | permissive | NathalieGou/mne-nirs | a6898cfb15e515fe7c2eed2988f3edbc72d9cf50 | 387e34bef41d7cb4103d0901070c1e54e7f0707e | refs/heads/master | 2022-12-12T18:54:36.911035 | 2020-07-06T03:37:42 | 2020-07-06T03:37:42 | 281,263,780 | 0 | 0 | BSD-3-Clause | 2020-07-21T01:23:39 | 2020-07-21T01:23:38 | null | UTF-8 | Python | false | false | 246 | py | """NIRS specific plotting functions."""
# Authors: Robert Luke <mail@robertluke.net>
#
# License: BSD (3-clause)
from ._plot_nirs_source_detector import plot_nirs_source_detector
from._plot_GLM_topo import plot_glm_topo, plot_glm_contrast_topo
| [
"noreply@github.com"
] | NathalieGou.noreply@github.com |
3ff231a500a42b9c35f4b0c8facd9f0a6afed7f3 | 2118d205db795e2a642a6792e51ace24d0587f6b | /stepladder_be/settings.py | da87247ff425bf716fe08a13deb1e4cb0fc590d0 | [] | no_license | moriie/stepladder_be | 6e0b407bd85a2da126b0873630423d57f41bb068 | 0306f67f4b2652e8c23f710199eef81a3e2afe90 | refs/heads/master | 2022-11-16T07:47:57.131785 | 2020-07-10T04:40:39 | 2020-07-10T04:40:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,109 | py | """
Django settings for stepladder_be project.
Generated by 'django-admin startproject' using Django 3.0.8.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
"""
import... | [
"jwy5140@gmail.com"
] | jwy5140@gmail.com |
77b07559571793c9805201691dbdf8743fc5fc63 | 382cbdf62b6e27875a3428dc01620f210bb648ed | /swmm_run_3.py | a88c7652279abbaf4eb95fb4c9e1ad10844b35b1 | [] | no_license | amcgarity/SWMM_Python3_Wrapper_Jupyter | 683fe27a4176024f04ec38ec848243a0d4a6d762 | d4e61c93f77483b37a6033ec7d82d6885e43e81a | refs/heads/master | 2020-03-17T16:14:20.119138 | 2018-06-14T14:10:28 | 2018-06-14T14:10:28 | 133,741,352 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,047 | py | #from swmm_objects import *
from swmm_read_3 import *
from subprocess import call
from datetime import datetime
from random import uniform
def random_interval(lowFract,highFract):
r1 = uniform(lowFract,highFract)
r2 = uniform(lowFract,highFract)
if r1 > r2:
upper = r1
lower = r2
else:
... | [
"amcgarity@swarthmore.edu"
] | amcgarity@swarthmore.edu |
d4e471c26256fa51a4adef16552dc24e84c39280 | d4f5752ae6fc61e9e7abb731e5180da947f91d64 | /lib/python2.7/site-packages/humandetection/msg/_RunDetectionActionResult.py | d993acd365b5fbc2d973e78616ab4ee49a394e1c | [] | no_license | TWOEARS/humanDetectionAndTracking | 8ee41db7ded60856eef367c5ab3aec1e2fa836ad | 43a882cf1bc48cba0c08455f6da9bd0e10a33792 | refs/heads/master | 2021-01-17T19:59:39.987669 | 2016-06-17T08:44:22 | 2016-06-17T08:44:22 | 61,358,800 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,762 | py | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from humandetection/RunDetectionActionResult.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import humandetection.msg
import genpy
import actionlib_msgs.msg
import std_ms... | [
"ariel.podlubne@laas.fr"
] | ariel.podlubne@laas.fr |
303600ff623cfbd44383faae9c4b2835e9251e51 | 9b9512f0f63ddaca315c3eccb63ff19e884a56fa | /submitted/test.444.py | aa1d522ad0a863685e78384feb6341cde7af26ca | [] | no_license | yashton/compiler | d793cf69c668ee68928ab74af70e17c53ffadeef | 40007da3af04a7ee31380ae29e23dcfbb50a1c8d | refs/heads/master | 2020-08-02T15:43:35.181718 | 2019-09-27T23:04:37 | 2019-09-27T23:04:37 | 211,413,896 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5 | py | s3=1
| [
"ashton@snelgrove.science"
] | ashton@snelgrove.science |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.