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
dc7dddface4c1700efaef4fa192c435f5a8e2390
81d7c62c357c086a8990105d4179c9a2cda0f89c
/Requests_module_old_project_cDVR_reference/aurora_cdvr_sanity_tests/scripts/sanity_scripts_ppsv3/sanity_0003_planner_get.py
0e6bee4051288fd1d99f2c3ca4638cab449042e7
[]
no_license
JAGASABARIVEL/Python_reference
57f49a3f8d894f02f8003657a914395f4b55d844
f2438289f189fc364dbe9dff0421c3df9be366b2
refs/heads/master
2020-04-08T19:23:23.406783
2018-11-29T12:25:43
2018-11-29T12:25:43
159,653,055
0
1
null
2020-01-25T19:07:42
2018-11-29T11:06:42
Python
UTF-8
Python
false
false
4,314
py
#!/usr/bin/python from collections import OrderedDict from pprint import pprint import mypaths from L1commonFunctions import * from L2commonFunctions import * from L3commonFunctions import * from V3_commonFunctions import * import V3_planner as planner class TestPlannerGet(object): """ Sanity test t...
[ "jkarunan@cisco.com" ]
jkarunan@cisco.com
cf36182d67dfec105b8da482eb00056924e2ce60
005037ee69c591c7b36953829e122f26e1410161
/designerDoorMap.py
46ef15e2fdb0a8a5553fdc0e9654aef6d69e5f47
[]
no_license
lincrampton/pythonHackerRankLeetCode
bb9beff9f2de34be968a7947dfa86b9b4c608aa2
9e459dc122852e5c812922a5c32cb444af3aaf8e
refs/heads/master
2023-07-20T05:42:16.826473
2021-09-02T20:17:48
2021-09-02T20:17:48
272,836,840
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
'''Mr. Vincent works in a door mat manufacturing company. One day, he designed a new door mat with the following specifications: Mat size must be X. ( is an odd natural number, and is times .) The design should have 'WELCOME' written in the center. The design pattern should only use |, . and - characters.''' n,m = ...
[ "noreply@github.com" ]
lincrampton.noreply@github.com
f5eed3a0e6d424de2aa27ca4a53236568f62c27e
2b9e6e18d705f33541dd164f7ef9a1860ecd7286
/deployment/run_server.py
8e446bf6a1ee3d9722449be2beeaadb5a9e76684
[ "MIT" ]
permissive
vicely07/Malaria-Image-Classification-using-Deep-Learning
43657ee2765914b87097cb28dc5d025471a3bb12
2e10978c459d613461d3a2aed421349e1a0670fe
refs/heads/master
2020-05-09T15:34:08.782250
2019-04-14T16:31:02
2019-04-14T16:31:02
181,238,090
1
1
null
2019-04-14T15:08:33
2019-04-13T23:13:49
null
UTF-8
Python
false
false
4,498
py
from utils import generate_random_start, generate_from_seed from flask import Flask, render_template, request from keras.models import load_model import tensorflow as tf from keras import backend as K from wtforms import Form, TextField, validators, SubmitField, DecimalField, IntegerField, FileField # from PIL import ...
[ "38712706+vicely07@users.noreply.github.com" ]
38712706+vicely07@users.noreply.github.com
6f8749cb89dbb94f50e78e4e019db75ffbc57e40
dcd100f8714c2686440bbfd8a826fac6a87b73eb
/Programming language/shell.py
2a474e2f48a3d0cdadbe8013fa59a62cf9bfb417
[]
no_license
yugshikhar1/Own-Progranning-Language
91dd160a6f611aa4429d00281b70bebc4c74c798
180dcaec6728cd8d2f852802daffecd60240783e
refs/heads/main
2023-03-14T15:31:41.996013
2021-03-07T11:35:15
2021-03-07T11:35:15
345,330,110
1
1
null
null
null
null
UTF-8
Python
false
false
294
py
import basic while True: text = input('basic > ') if text.strip() == "": continue result, error = basic.run('<stdin>', text) if error: print(error.as_string()) elif result: if len(result.elements) == 1: print(repr(result.elements[0])) else: print(repr(result))
[ "noreply@github.com" ]
yugshikhar1.noreply@github.com
6fa01c173f56dc1ca5fa0eb989346827158978bc
336cf3d97f1900f5dcbe842589ab8c38ef5e4853
/test.py
1392467cd1537e46f675fe46243dda24e8f04eef
[]
no_license
LinusBF/NN-test
2f8640be7bbe4ca161113330cd587cf21f354464
63042f1e773a5a23fa925c8f7142931baac1bf38
refs/heads/master
2020-05-24T21:53:18.911833
2019-05-27T14:51:48
2019-05-27T14:51:48
187,484,663
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
import sys from network.network import Network from utils.utils import get_genotype_data_from_file def get_test_ten_arr(): nr = int(input("Pick a number between 0-9\n")) inputs = [] for i in range(10): inputs.append(1 if i is nr else 0) return [inputs, inputs] def ten_arr_test(file_name): ...
[ "contact@linusbf.com" ]
contact@linusbf.com
f28bdded58afa6b0b4468efbe084bb47993a545a
51e45fe59c51908b6735dfffef96958f0b9f04e2
/image_Identify/image_Identify-master/Mydataset.py
c5bd43164d551f9052508104b64230d73ba18c2f
[]
no_license
ztl-35/ML-DL-code
7c38ab8f81f4537c29e65fd683614db1a2e56e35
04653320edae9c4d40a7f2a8ae8b5928632ea0c2
refs/heads/master
2020-04-15T15:54:56.827755
2019-02-16T10:16:57
2019-02-16T10:16:57
164,810,920
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
import torch.utils.data as data class MyDataset(data.Dataset): def __init__(self, images, labels): self.images = images self.labels = labels def __getitem__(self, index): img, target = self.images[index], self.labels[index] return img, target def __len__(self): retu...
[ "noreply@github.com" ]
ztl-35.noreply@github.com
4b0f956f9c627884da495726262f7fd721556179
ad5fe6b2dfba0b04cd8fd638049175fcefe90fcf
/Protheus_WebApp/Modules/SIGAGFE/GFEC050TESTCASE.py
440d017876e582e622d1d85a3c7c1363b54bcfa0
[ "MIT" ]
permissive
totvs/tir-script-samples
63833785de206e3e566baeab6f02e07a4313d6be
ccd0eb8038f4f1c91fe17e0813b15ce6dfa52cc9
refs/heads/master
2023-08-16T21:52:10.357667
2023-08-11T16:58:29
2023-08-11T16:58:29
148,842,685
24
22
MIT
2023-06-27T20:13:32
2018-09-14T21:17:10
Python
UTF-8
Python
false
false
676
py
from tir import Webapp import unittest class GFEC050(unittest.TestCase): @classmethod def setUpClass(inst): inst.oHelper = Webapp() inst.oHelper.Setup("SIGAGFE", "22/06/2020", "T1", "D MG 01", "78") inst.oHelper.Program("GFEC050") def test_GFEC050_CT001(self): self.oHelpe...
[ "hadrignoli@gmail.com" ]
hadrignoli@gmail.com
6fa2f47e0313e25af10bf5c31f5dfbc98b52554b
76650d7d6b342229c1d870971f00e8f0c8921906
/src/turtle/behaviours/goToBehaviour.py
4d3d5bb367b3c95e13c116b96a1b1ce225752a92
[]
no_license
fgaignier/Spade-Robots
368f94f2fb227f9e6e8e5e8a5ec8f724076d5b6a
61c27c86c234a8dba57dc40055a3c3d5778a0c4b
refs/heads/master
2020-03-08T19:46:38.773429
2018-05-14T11:35:26
2018-05-14T11:35:26
128,363,441
0
1
null
null
null
null
UTF-8
Python
false
false
867
py
from spadeutils.behaviours.spadeBehaviours import OneShotBehaviour from turtle.services.navigationService import GoToPose class goToBehaviour(OneShotBehaviour): GOAL_REACHED = 0 GOAL_NON_REACHED = 0 #navigator = GoToPose() def __init__(self, name): OneShotBehaviour.__init__(self, name) ...
[ "fgaignier@hotmail.com" ]
fgaignier@hotmail.com
11fe544e84470e13369ae2af3ccacd651655a889
c0239d75a8199ec84ad683f945c21785c1b59386
/dingtalk/api/rest/OapiDepartmentCreateRequest.py
01b4352f91c2fcafae72e91b062c8e84329aaf83
[]
no_license
luss613/oauth_dingtalk
9f253a75ce914c577dbabfb84e97fd883e80e04b
1e2554642d2b16c642a031670d08efa4a74e8252
refs/heads/master
2023-04-23T01:16:33.450821
2020-06-18T08:22:57
2020-06-18T08:22:57
264,966,287
1
1
null
2020-06-18T08:31:24
2020-05-18T14:33:25
Python
UTF-8
Python
false
false
754
py
''' Created by auto_sdk on 2018.08.17 ''' from dingtalk.api.base import RestApi class OapiDepartmentCreateRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.createDeptGroup = None self.deptHiding = None self.deptPerimits = None self.deptPermits = None self.name = None...
[ "paul.lu@belstar.com.cn" ]
paul.lu@belstar.com.cn
d019969bf2dab04600ec0f507136f89686361ff6
97cde0c39cd32a6f1ff92dd4ce358c70ecb791bf
/ballFollow.py
5be35220d258ce62b77f6f420b547f24284462d3
[]
no_license
jackistom/shape_detector-opencv-python-
cc954f83dd0b921630668d3bd9b809d42d9f48c4
4b66902e7c147f7b0012cdaf4c67c57903c2ed79
refs/heads/master
2020-09-13T15:31:44.442042
2019-11-20T03:30:55
2019-11-20T03:30:55
222,829,771
1
1
null
null
null
null
UTF-8
Python
false
false
2,219
py
from gpiozero import Motor from time import sleep import cv2 import numpy as np import imutils m = Motor(forward=17, backward=18) # fwd=cw bck=ccw boundaries = [ ( [60, 162, 174], #lower color range [135, 237, 242] ) ]#upper color range cap = cv2.VideoCapture(0) ##cv2.imwrite("/media/pi/USB1/yel...
[ "you@example.com" ]
you@example.com
e17f60f13179da2c90f8214c18d24c574c53c20a
3b8387d770b33850dca55a1f0657167906697b5b
/lowest_common_ancestor_of_binary_tree.py
e3bc2dc905f529b5c4578811cf5b4d16c7a2346c
[]
no_license
BigZihao/Leetcode
fe2795d5485e4780c1ec79558eaf9017a830a516
95ec42c241a4815a8b35f7a71948f1bc4e58b5b3
refs/heads/master
2021-01-13T00:59:12.489768
2018-06-21T21:50:33
2018-06-21T21:50:33
48,407,360
2
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
class Solution(object): def lowestCommonAncestor(self, root, p, q): stack = [root] parent = {root:None} ##{child:parent} ## DFS to traverse the tree and find p, q and store their parents while p not in parent or q not in parent: node = stack.pop() if node.left: parent[node.left] = node stack.app...
[ "zihao.zhang.ustb@gmail.com" ]
zihao.zhang.ustb@gmail.com
0327848730d0d264c4abda695799aece3991e3e5
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_ovulated.py
6f06677000201d1565d9797c550fe91cfc9f65d6
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
from xai.brain.wordbase.verbs._ovulate import _OVULATE #calss header class _OVULATED(_OVULATE, ): def __init__(self,): _OVULATE.__init__(self) self.name = "OVULATED" self.specie = 'verbs' self.basic = "ovulate" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1605d54927d7ec9cd4a1a024bd45ddef84e37771
6bd166d1c5d391cedcb9e65377ddfb36fff25f6d
/appointments/migrations/0006_auto_20210530_0150.py
8de4c293855488963b5224a5cfbbbb41deaede14
[]
no_license
meruyme/appointment_vaccines
6e6a1a3384870e3a6d9cef277b236913510ab207
5fae1648459287ff488102ee0d1f288ee7abafdc
refs/heads/master
2023-05-07T20:43:30.394116
2021-06-03T02:28:38
2021-06-03T02:28:38
371,268,293
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
# Generated by Django 3.2.3 on 2021-05-30 04:50 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('appointments', '0005_rename_birth_user_date_birth'), ] operations = [ migrations.RenameField( model_name='user', old_name='a...
[ "mellany.linhares@academico.ifs.edu.br" ]
mellany.linhares@academico.ifs.edu.br
d91e061ed280a62bdcb838399b78ee1e7dd3c4bd
04930be3496264dee4ff6c1d6ce32e0e1b9d1513
/film_project/manage.py
8d4b83c1ae79cbf7796d432982f35bfebc398719
[]
no_license
CarMoreno/PythonTulua-EjemploBasicoDRF
86f49b059f0d27a7d05f3f4763303919b266f63f
605e2da4841ec3fc1e152d5e5676f32f04e1369a
refs/heads/master
2021-09-30T00:04:56.600834
2020-04-04T18:13:36
2020-04-04T18:13:36
253,067,811
1
0
null
2021-09-22T18:50:26
2020-04-04T18:12:32
Python
UTF-8
Python
false
false
632
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'film_project.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "carlosandresmorenovelez@gmail.com" ]
carlosandresmorenovelez@gmail.com
aea8949d0774fab61c25ab5cfa95652b71045b69
36df341a03d67fae0789dbc25fbccdfad8e65bdb
/dask_cloud/providers/aws/ecs.py
74c2af6d769fe1580657fefcc57844176959e1dc
[ "BSD-3-Clause" ]
permissive
RPrudden/dask-cloud
736d9d13be96714bfecc1460da025ea2ae33ddfd
a1ea87a78a9b54bca84d89281a22347c2c1fc807
refs/heads/master
2020-06-22T18:48:38.004823
2019-07-19T12:00:45
2019-07-19T12:00:45
197,778,331
0
0
BSD-3-Clause
2019-07-19T13:33:27
2019-07-19T13:33:26
null
UTF-8
Python
false
false
39,073
py
import asyncio import logging import sys import time import uuid import warnings import weakref from botocore.exceptions import ClientError import aiobotocore import dask from dask_cloud.utils.timeout import Timeout from dask_cloud.providers.aws.helper import dict_to_aws, aws_to_dict from distributed.deploy.spec imp...
[ "jtomlinson@nvidia.com" ]
jtomlinson@nvidia.com
70f2851470ae7f401f457fdd77554c7d15dc0c03
cbe11cf78660d226dee357842ef0725ce0bea4ac
/ABB_Server_AVL/Grafo.py
be26118edda48087164d55b572c6cd0c6f54f4b9
[]
no_license
randolph182/EDD_S2_2021
5dbe1b2d8bde7830b081d9d0973693bd17e68035
4a48b3385e778b32dcc4cf674a4fdad01a19bf9c
refs/heads/main
2023-08-11T14:08:32.659463
2021-09-25T22:03:27
2021-09-25T22:03:41
392,873,756
1
3
null
null
null
null
UTF-8
Python
false
false
1,005
py
import os class Grafo: def __init__(self): pass def graficarArbol(self, raiz): acumuladores = ["digraph G{\nnode [shape=circle];\n", ""] if raiz != None: self.recorrerArbol(raiz,acumuladores) acumuladores[0] += acumuladores[1] + "\n}" f = open('grafo.dot'...
[ "randolph.estuardo.2012@gmail.com" ]
randolph.estuardo.2012@gmail.com
0a9eddb20e67769794714fcd87c3602f2ebe64aa
17926b196d9db43816453d16f3da84de6664f2fd
/17_Letter_Combinations_of_a_Phone_Number.py
0070ec79f7b827c9126f11b624a96c4873b8d56f
[]
no_license
luchang59/leetcode
66690a3c9b28a5201a7be8cd0134142b48418adb
feab001b9291f6e57c44eeb0b625fdaa145d19b4
refs/heads/master
2020-05-28T06:57:20.667138
2019-09-20T18:18:11
2019-09-20T18:18:11
188,914,681
0
0
null
2019-05-27T22:17:44
2019-05-27T22:08:54
null
UTF-8
Python
false
false
718
py
class Solution: def letterCombinations(self, digits: str): if not digits: return [] letter = { '2': ['a', 'b', 'c'], '3': ['d', 'e', 'f'], '4': ['g', 'h', 'i'], '5': ['j', 'k', 'l'], '6': ['m', 'n', 'o'], '7': ['p', 'q...
[ "luchang1991@gmail.com" ]
luchang1991@gmail.com
5a4f01d01aa9c44beaffdd665c19b9b413826806
a08d775768c67b8ec34cad661af869b6e6657a7c
/pythonpro/uiauto_test/mkiller.py
a2542d9e3a28f039bb4888faf349ad32b5f780bd
[]
no_license
weixiaovision/Python
ec41172db61d39183d361ba918a395978ec01b62
93ad2c1f2d77bd2adc58d1fcc6bde7408157d09c
refs/heads/master
2021-01-19T23:14:04.838483
2017-08-30T12:28:56
2017-08-30T12:28:56
88,940,228
0
0
null
null
null
null
GB18030
Python
false
false
5,578
py
coding:gbk import os, sys, time, re, csv import log import util from uiautomator import Device import traceback import log, logging import multiprocessing optpath = os.getcwd() # 获取当前操作目录 imgpath = os.path.join(optpath, 'img') # 截图目录 def cleanEnv(): os.system('adb kill-server') needClean = ['log.log', 'im...
[ "185858747@qq.com" ]
185858747@qq.com
9ffc6bfb9f0c15ae0f9774de27b77f70dd1d4ea3
04f1e56dc28394b836d806cb67083e1e9a113605
/pos_quebec/pos_quebec.py
19beae0cde20af2facb89f3800306845a0f2cbbb
[]
no_license
norbertoru/OpenERP-POS-Proxy
4fcfdc5a7fb063d34f5662a914a32b870c69339e
be58d46800848281bba1a270f7e3a6902415dc5f
refs/heads/master
2020-03-26T23:54:52.330364
2014-01-14T22:39:10
2014-01-14T22:39:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
# -*- coding: utf-8 -*- ############################################################################## # # Module : pos_quebec # Créé le : 2014-01-14 par ZEA Informatique Inc. # # Ajout de TPS et TVQ sur la facture dans Point of Sale et proxy d\'écran client # #######################################################...
[ "alexandre@zinfo.ca" ]
alexandre@zinfo.ca
5e6db6e2bff92bf049713f6157d25a3da970b658
78492051c34b7f8b67a011c40b9e9e7d49c405fe
/build/lib/gazel/edits.py
512efa476edcd45d0fa51adffd227dfe18e73c5d
[ "MIT" ]
permissive
PengKuang/gazel
40323a8e560084149ff27c261ae71fe3e223ac1f
2d45d7edea484076d6319a68bef3cff250de035c
refs/heads/main
2023-04-30T14:20:04.701779
2021-05-27T17:47:45
2021-05-27T17:47:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,441
py
from typing import Callable, List, Literal, Optional, Tuple, Union import pampy from gazel.common import Id from gazel.core_constructors import make_snapshot from gazel.core_types import Snapshot, Token, TokenChange from gazel.range import ( _shift_range, get_token_at_range, range_contains, range_over...
[ "devjeetrr@gmail.com" ]
devjeetrr@gmail.com
a5155d2767b7b2ebaa07bc5b9fa121b3f52383fc
ec5bbdba8deac36ccfad6d9e1b51f616859245ea
/models/plugin_issuegrp.py
41369346b7b16b2888a7e9f2b346e4bb9738c3a0
[ "LicenseRef-scancode-public-domain" ]
permissive
manuelep/itracker_beta
bc21e9cfeea715d3a953211a2e182d814a07aa7f
fdf62de698f3886e2679043995901fc50e2016fa
refs/heads/master
2016-09-05T10:31:58.259757
2015-06-12T06:56:22
2015-06-12T06:56:22
34,455,984
1
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
# -*- coding: utf-8 -*- if not 'plugin_shared_tools' in globals(): import plugin_shared_tools Populator, IssueReferences, UniqueDefault = plugin_shared_tools.Populator, plugin_shared_tools.IssueReferences, plugin_shared_tools.UniqueDefault # Ticket Types (Problem/Bug, Enhancement, Issue) db.define_table('issuegrp...
[ "manuele@valis-e.com" ]
manuele@valis-e.com
108c014294d4e1e7d07e30d53535bde40e120770
f16c425394bac765322a7ff7093ddb9e00ecf996
/Principles of Programming/Quiz/quiz7/5148463.files/quiz_7.py
ab3f6542c29eb3afd980cef2805b382a25c8d364
[]
no_license
hanxuwu/Learning-Python
d2a2c3ece67a51eaecf05995cdcba911c4cd013f
09338b76987f5c84240b1599b3f4c6f270ecee59
refs/heads/master
2021-05-12T13:51:22.258704
2018-01-19T12:56:34
2018-01-19T12:56:34
116,941,589
3
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
# Generates a linked list of a length determined by user input, # consisting of random nonnegative integers whose upper bound is also determined # by user input, and reorders the list so that it starts with all odd values and # ends with all even values, preserving the order of odd and even values in the # original lis...
[ "skunder301@gmail.com" ]
skunder301@gmail.com
a5ed5080031328564f118422ad983a2711a152f8
2430f722589f6a8ba2d139cc1682492d7c934fbb
/python/fscam_caller.py
4a3d45c0d0e2a5f6bf3c1f05ed074c85eeb22d6e
[]
no_license
ncicek/smart_garden
20de30d61302ddf01a920a1e5920425b92e006e6
79a42a10661f03ecbbb206ece48bae0ccdcde83f
refs/heads/master
2021-09-12T08:22:30.631135
2018-04-15T15:39:41
2018-04-15T15:39:41
118,811,847
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
from subprocess import call #calls fswebcam, takes a pic, and returns the path to that pic def take_photo(): photo_filename = a.bmp call(["fswebcam","--no-banner","-r 1280x720",photo_filename]) return photo_filename
[ "ciceknebi@gmail.com" ]
ciceknebi@gmail.com
f073b2d1849f5a6c6ae0a1b78c8871e9785b212c
e8fc00f58e676daaf037a10c945ec6ccfdacb595
/pytorch-exercise/intermediate_cnn.py
321bc7046f21b90882d99e51250c81a2c413bd2e
[]
no_license
zoulala/exercise
431c60c1066137469183a78c96e47da4305868ae
699652f2b722d7cfdf474ce91f0ebc944420e167
refs/heads/master
2023-08-18T15:33:55.913567
2023-08-08T12:34:37
2023-08-08T12:34:37
140,717,645
2
0
null
null
null
null
UTF-8
Python
false
false
3,613
py
#!/usr/bin/python # -*- coding: utf8 -*- # # ***************************************************** # # file: intermediate_cnn.py # author: zoulingwei@zuoshouyisheng.com # date: 2019-10-14 # brief: cnn # # cmd>e.g: # ***************************************************** import torch import torch.nn as nn...
[ "zlw2008ok@126.com" ]
zlw2008ok@126.com
bf49de51977ea81c7c9dfb13c33ed9803d7dff01
da96d29b457eb123c01274efea562448df105fc6
/chapter10/st14.py
3beaad1741840268fbe861049516df762beb84eb
[]
no_license
Alonsovau/sketches
a1336f1a7909ad059744c4613ab992c8361264f5
dfb072086cc813d7409fa11393ebaad6e26db180
refs/heads/master
2021-01-19T22:29:15.827896
2017-10-19T15:37:28
2017-10-19T15:37:28
88,761,672
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
# 创建新的python环境 # bash:pyvenv Spam # bashpyvenv --system-site-packages Spam
[ "alonsovau@outlook.com" ]
alonsovau@outlook.com
f4d7705d6583f8e2435b704777f23a7a1f93b42c
b3e2b6b034cf3eefbef366a8616a7cc95eeed9d1
/scopus/utils.py
91e9dbc1cd5db458c0782301cc6b487d6d00fb6f
[]
no_license
sciosci/scopus-for-sloan
48724bf170f2b6394444643c0379d6955c7845af
5b7377a24da69d73a74952c089af43b6a8d41369
refs/heads/master
2022-12-05T02:28:36.479753
2020-08-26T16:53:18
2020-08-26T16:53:18
290,339,678
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
import csv, json def read_keys(file): with open(file, 'r') as reader: r = csv.reader(reader) next(r) return [key[0] for key in r] def key_generator(keys): for key in keys: yield key return 'Keys Exhausted' def write_json(data, filename): with open(filename, 'w') as ...
[ "hszyzhl@gmail.com" ]
hszyzhl@gmail.com
3cca59056f2882a5565439a0d14c270b14d482ab
11e75691c51d7f627a91e763d771340342439d93
/ML/config.py
441d685c2d59d6613078682dcb881918991e8fc7
[]
no_license
sakuag333/ml_toolkit
61635f053437e6212eeb05a728f911ddb3b971cd
d1aae7f78493136c47b1b5137908f998a3b70de4
refs/heads/master
2020-05-18T08:40:17.678912
2013-05-31T18:31:02
2013-05-31T18:31:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
import numpy data = [] cdata = [] prediction = [] allowed_feature = [1,3,4,8] allowed_feature_testdata = [0,2,3,7] theta = [] y = [] outputlabel = 0 repeat = 10000 alpha = 12.2 regularisation = 0 trainingset = '../csv/train.csv' testset = '../csv/test.csv' outputfile = './logistic_regression_output.csv' col_ = 0 row_ ...
[ "sakuag333@gmail.com" ]
sakuag333@gmail.com
a49758acd5eccec993c5f072278e6931c30fcb20
b6b11d896ac07282498a74e93cac7916fe220be7
/src/push_notification/push.py
c5d1299654b3531a76017a6bc150d63a4c014e26
[]
no_license
ZhouYii/AppProtocol
055339f736e15eec129d388c31cefba957b14424
0923b3d3f0c1d32f18b7a55b573cdcf5a6405677
refs/heads/master
2016-09-06T04:03:57.477920
2015-06-17T13:51:37
2015-06-17T13:51:37
31,181,243
0
0
null
null
null
null
UTF-8
Python
false
false
862
py
import time from apns import APNs, Frame, Payload #apns = APNs(use_sandbox=True, cert_file='SocialAppCert.pem', key_file='SocialAppKey.pem') def send_push_notification(msg="Hello", snd="default", badge_type=1, use_sandbox=True) : apns = APNs(use_sandbox=True, cert_file='push2.pem', key_file='SocialAppKey2.pem') ...
[ "ubuntu@ip-172-31-20-117.us-west-2.compute.internal" ]
ubuntu@ip-172-31-20-117.us-west-2.compute.internal
d2baa376a36471bb1ac599558843249defbdc4ed
d0ff26ca281c1ae55c26465791178ae61aaed329
/ecom_home/migrations/0027_deals_of_the_day.py
dca1050c570d9151d946f5b55e03dcc207e7f607
[]
no_license
ali-anas/ecom
74f8467940392e4eae8b7733acff864ec1f75f31
bab67a94147b2c7451d017e72c6f152d4cd8ccf6
refs/heads/main
2023-02-05T04:42:34.979744
2020-12-24T11:34:03
2020-12-24T11:34:03
324,066,347
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
# Generated by Django 2.2.14 on 2020-12-22 13:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ecom_home', '0026_item_deals_of_the_day'), ] operations = [ migrations.CreateModel( name='deals_of_the_day', ...
[ "infoalmora786@gmail.com" ]
infoalmora786@gmail.com
d1896bb2d89ad45ce5d9a56fd92cc0079efd45d6
5a8f4e7a16d902c5660496407eae0fb31a3f9bbf
/17-Python.py
39b21c4b76272e7adbdf03414fddc14d1f149003
[]
no_license
hoklavat/beginner-sql
9e7d88cf7f46f86825d9f47bf971050b2455b725
a61e36146eeca54b6b402c797c2e9f8be3fc350c
refs/heads/main
2023-01-23T11:06:19.851867
2020-11-26T18:11:22
2020-11-26T18:11:22
311,396,589
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# 17-Python import psycopg2 as pg2 # pip install psycopg2 conn = pg2.connect(database='dvdrental', user='postgres', password='123456') #establish connection to database. cur = conn.cursor() #get cursor object from database which provides access to data. cur.execute('SELECT * FROM payment') #execute sql commmand. c...
[ "barisyildiz1982@gmail.com" ]
barisyildiz1982@gmail.com
4b19d2372805b11996235cac7f81b80f2717217b
65181237ea55d98f4664a24e5b769f9f37a82dbd
/pinpong game using turtle.py
d2c108cae10964ae9b25bb68fa6e27bc4b2ef72e
[]
no_license
SATHISHKUMAR-01/BEST-ENLIST-PYTHON-INTERNSHIP-
878903296c32452bf4b23871ef88e58106b99bd4
0d66ceb64fa88e89698b72f96ae75a0d58bddf3f
refs/heads/main
2023-01-28T23:53:59.852898
2020-12-07T14:38:05
2020-12-07T14:38:05
315,260,275
0
1
null
null
null
null
UTF-8
Python
false
false
3,262
py
# Import required library import turtle # Create screen sc = turtle.Screen() sc.title("PING PONG GAME") sc.bgcolor("blue") sc.setup(width=1000, height=600) # Left paddle left_pad = turtle.Turtle() left_pad.speed(0) left_pad.shape("square") left_pad.color("white") left_pad.shape...
[ "noreply@github.com" ]
SATHISHKUMAR-01.noreply@github.com
da48db4291599678b66180ab62b8f4d0b0e67c08
9faad698272d139b6e33b85d4101070d718c3822
/Practice/BOWLERS.py
0ed10d05590c969def60caba9fb9cb5bc30cac7e
[]
no_license
MautKaFarishta/Competitive_Programming
0ea1ea9622263ead861032a012515c669bd1a91b
0d1d9a91176b819ad8104e28967a0945b505574a
refs/heads/master
2023-03-16T00:09:17.166170
2021-03-11T18:15:27
2021-03-11T18:15:27
287,327,294
4
0
null
null
null
null
UTF-8
Python
false
false
264
py
for _ in range(int(input())): overs,bowlers,mx = list(map(int,input().split())) if (bowlers<=1 and overs>1) or (bowlers*mx < overs): print(-1) else: l = list(range(1,bowlers+1)) for o in range(overs): print(l[o%bowlers],end=' ') print()
[ "omkhilariindia@gmail.com" ]
omkhilariindia@gmail.com
a2559e01019a605de100c6083e590cc94c7af762
340df8627387b9e591b3fcc995b08020127815d1
/Backups/pgrrdiag/pgrrdiag1.0.5.py
7fb3e36fcfbc516d3bd94930ead994541df905cd
[]
no_license
pacificgilly1992/PGrainrate
e67353c404b34bd0e76a18f6d35176c6c57a8c47
e4802b4e658335070b929d4bb9001fdfbc6bcb63
refs/heads/master
2021-01-19T04:25:00.432668
2016-02-16T01:56:32
2016-02-16T01:56:32
45,811,539
0
0
null
null
null
null
UTF-8
Python
false
false
6,323
py
############################################################################ # Project: The Lenard effect of preciptation at the RUAO, # Title: Ensemble processing of the PG, Time and Rain Rate data, # Author: James Gilmore, # Email: james.gilmore@pgr.reading.ac.uk. # Version: 1.0.5 # Date: 07/12/15 ###################...
[ "james.gilmore@pgr.reading.ac.uk" ]
james.gilmore@pgr.reading.ac.uk
1ca2d61495d0f98f302943535ea2162069b7e8b6
aefd8e9b53cb3ae613998453638f5e34ddace89f
/main.py
2a24ad9a717b4a714fac98587d57c3d4090bc3fd
[]
no_license
ZiubinA/Function
974a7b75982e707026f3955a4abafe29db0a153c
da9a4321a68776deb6ea887467e52b04b32362b8
refs/heads/master
2023-06-02T08:06:31.842429
2021-06-19T18:22:51
2021-06-19T18:22:51
378,478,710
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
def say_hello(): print('Hello World!') say_hello() def say_hello(name): print(f'Hello {name}!') say_hello('ARSENII') def say_hello(name='World'): print(f'Hello {name}!') say_hello() say_hello('ARSENII')
[ "49118782+ZiubinA@users.noreply.github.com" ]
49118782+ZiubinA@users.noreply.github.com
8463f5bf9d517cd873a77ec7cfd41a7a31485143
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/documentdb/v20151106/database_account_mongo_db_collection.py
5d0018b666c255e3b903426e465a1d8b4c3f3a37
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
16,004
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
f384062a89b40c9eb2c4d98124b3c7b4e03c563a
358dff36e38806cfd1dd83fdcb05339f282f0575
/AVR_Miner.py
116846b26dc04dababd92ff1cbc00dafd6ecaf11
[ "MIT" ]
permissive
troll3838/duino-coin
b6899ef0536c5f1f288142041e7217e5e6299c94
15c1d46c5157786ae6569e4d26c2048bae8afe7d
refs/heads/master
2023-04-04T19:19:50.577908
2021-04-07T08:52:33
2021-04-07T08:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,890
py
#!/usr/bin/env python3 ########################################## # Duino-Coin Python AVR Miner (v2.4) # https://github.com/revoxhere/duino-coin # Distributed under MIT license # © Duino-Coin Community 2019-2021 ########################################## # Import libraries from socket import socket from threading impor...
[ "noreply@github.com" ]
troll3838.noreply@github.com
64396ac27d4f4762dab12e0c99a9d0f1b3aa2239
415e11fbf113512c3b2081a55796bcddc652b34e
/candycollector_project/wsgi.py
aa2e8d43b87b57a2056b8f45c261ea130351d8aa
[]
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
421
py
""" WSGI config for candycollector_project 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "coope133@gmail.com" ]
coope133@gmail.com
d3b7ac13522a9b349c38c2edc442946aecf70bdc
d4ffea27de224e2620f8c0232317436b91410acf
/state.py
4014522f1833259bfc9c1749aff16fdb583af4ac
[]
no_license
dlievre/python
94aa734516c54b5cef5af2c2ce489b6c5e05b02b
5450384f07ba51484e084dbb28d02f1a3fa17fe6
refs/heads/master
2021-01-18T16:02:34.857144
2017-04-05T16:54:54
2017-04-05T16:54:54
86,707,135
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
# -*- coding: utf8 -*- def traitement(param): states = { "Oregon" : "OR", "Alabama" : "AL", "New Jersey": "NJ", "Colorado" : "CO" } capital_cities = { "OR": "Salem", "AL": "Montgomery", "NJ": "Trenton", "CO": "Denver" } if param in capital_cities.values(): for key in capital_cities: if...
[ "noreply@github.com" ]
dlievre.noreply@github.com
dc88ac21b5dd97250519560636bdfcf95202af7d
91228acbc6fa43de75b529ce5a96f9af9c8ab2ab
/ATTfold/common/config.py
4de6dcbf236c70105ea44af5446b385d4f402d0d
[]
no_license
YL-wang/ATTfold
37199b8c7ff268ab87b3e235b3e18bdd4d9eb7b0
098e36f503e580fb951c4f40465d26fd1633816f
refs/heads/master
2022-12-25T22:40:29.212729
2020-10-02T16:31:34
2020-10-02T16:31:34
299,803,506
3
1
null
null
null
null
UTF-8
Python
false
false
554
py
import json import os import munch import random import numpy as np def get_config_from_json(json_file): """ Get the config from a json file :param json_file: :return: config(namespace) or config(dictionary) """ # parse the configurations from the config json file provided with open(json_f...
[ "905327686@qq.com" ]
905327686@qq.com
366c65216159efadf320ddb2acbd139b0267c839
75aadf158d9de0fe89f5cedf8896599dd8d34769
/setup.py
43781fbf2a469ef69386067f1df645a31b5cfe42
[]
no_license
evrenesat/django-dia
b69344beae8e0f9b1a5ff99974f81ba8d8efed59
23f48e37b7a77375f956ec6052baa7ac352d2ca5
refs/heads/master
2020-05-25T13:27:22.989529
2019-05-21T11:26:38
2019-05-21T11:26:38
187,822,761
0
0
null
2019-05-21T11:21:36
2019-05-21T11:21:36
null
UTF-8
Python
false
false
1,205
py
from setuptools import setup from sys import argv def is_register_command(a): for item in a: if item.startswith('-'): continue return item in ('register', 'bdist_wheel') return False longdesc = None if is_register_command(argv[1:]): with open('README.rst') as f: longd...
[ "knifeslaughter@gmail.com" ]
knifeslaughter@gmail.com
bec3c4d503f96444c356b39ba80bba98e6cff20c
9df8ca72108d95f703d6839b67f71e3c185860a9
/python/feature_selection/lib/_class/DFROCAUCThreshold.py
4332cfa424a49c5fbe2feab9f903a4ba81890a3c
[]
no_license
Hann-THL/DATA_SCIENCE
d0010c9c77326f21a03d989faab61ccf1b53f3f1
7cda0a36d81e0d710704a1261521a3bb73e5c690
refs/heads/master
2022-11-21T11:21:41.568958
2020-07-27T11:09:10
2020-07-27T11:09:10
204,294,931
0
0
null
null
null
null
UTF-8
Python
false
false
2,734
py
from sklearn.base import BaseEstimator, TransformerMixin from sklearn.exceptions import NotFittedError from sklearn.ensemble import RandomForestClassifier from sklearn.metrics import roc_auc_score from sklearn.model_selection import RepeatedStratifiedKFold import pandas as pd import numpy as np from tqdm import tqdm c...
[ "hann_lim@hotmail.com" ]
hann_lim@hotmail.com
1249c9dbad05a3aa1411daa845c5393e54e738a6
e5744a54767e4270221fa9baf9c52e5d39a8a9da
/Lab Tutorial/Lab 5/lab5_1_Ahmad Dzaki Naufal_1606889093_A_Adrianus Saga Ekakristi.py
77e0ac5f3cab706c81eaf141dfa905820154edb2
[]
no_license
AhmadDzakiN/tugas-DDP1
396350dead612c340325bf4cea97aa6667e420a4
a506fff5779a0bee5adc38b28b353d7fed70e123
refs/heads/master
2022-10-29T09:35:29.308562
2020-06-15T02:11:31
2020-06-15T02:11:31
272,250,430
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
jumlah=int(input("Masukan Jumlah: ")) email=[] domain={} for z in range(jumlah): mail=input("Masukan Email: ") mail = mail.split("@") email.append(mail[1]) for z in email: domain[z] = domain.get(z,0) + 1 for z in domain: print(domain[z], "address dengan domain", z)
[ "lord.dzaki66@gmail.com" ]
lord.dzaki66@gmail.com
1a9a0fb6b2994bf1013e415e829d428c2fc5f781
e3eda7495b2e03cb87fa20422069a1219f3aa1b7
/partie2.py
3eed7676c420967c642bd986b98e2660f3501d8c
[]
no_license
fberrabah/Exercice-d-introduction-Python
82c9db80ca22d3e50c9b240a3d266b7e720e6582
5f82e0c2dcd636ad268315380e7079676259ba45
refs/heads/master
2020-08-14T23:28:42.487612
2019-10-20T19:50:50
2019-10-20T19:50:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
#Condition True False print("Exercice 1\n") Paris = "" Marseille = "NUL" print(len(Paris)==0) print(len(Marseille)==0) #Calculer l'age print("Exercice 2\n") date = input('Veuillez entrer l année en cours : ') naissance = input ('Ainsi que votre année de naissance : ') date = int(date) naissance = int(naissance) s...
[ "farid.berrabah@gmail.com" ]
farid.berrabah@gmail.com
9db3b7c486e2381b8f3434d7cf577129eb388411
a1efd481121f9af645dd201c98dade4226e514fb
/nu_ners/extract_brands_ners_adhoc.py
50bab0223a8aa618fcada30a59b9b4ad4f4ca1be
[]
no_license
stcybrdgs/wxMatchingEngine
50ebdf6aee91cd91532a8c385c164e679016e71b
a32a6f984c084bab3ab4d74671ceb02af55bfe8b
refs/heads/master
2020-05-31T11:39:50.934850
2019-11-15T21:47:23
2019-11-15T21:47:23
190,264,507
0
0
null
null
null
null
UTF-8
Python
false
false
15,285
py
#!/usr/bin/env python # coding: utf8 # Compatible with: spaCy v2.0.0+ # extract_brands_ners_adhoc.py """ Wed, Oct 23, 2019 Stacy Bridges """ # EXTRACT BRANDS # get data file input # get brand input # choose which data column to use for extraction # - program presents user with menu of options # get fresh model # ...
[ "stcybrdgs@gmail.com" ]
stcybrdgs@gmail.com
065a54d19c7a5ac9c2a38d3758fe745d16eff0fd
f2286fe652d709b2a98f41336da4e329f6098c4f
/UVA/637.py
292f33f682bc11867eb3d88053ed4651dda5f4e0
[]
no_license
michaelgy/PROBLEMS_PROGRAMMING
df984d2e33ad4c89f5b4c98c4429673b1c5ed16f
3a942d356badff15fbc417d1d18ecf373843fa28
refs/heads/master
2021-06-04T08:43:12.111200
2021-01-21T06:41:23
2021-01-21T06:41:23
106,240,203
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
import math n = int(input()) while n: print("Printing order for {} pages:".format(n)) if n == 1: print("Sheet 1, front: Blank, 1") else: sheets = math.ceil(n/4) pages = sheets*4 fw,bw = 1,pages for e in range(sheets): for i in range(2): if ...
[ "noreply@github.com" ]
michaelgy.noreply@github.com
451ba13fc5151a0a0206ee7c72d130f6de6efa53
821a4dc5c7c5dd49e77079b850b6ab1e18a7c114
/digitalImageFiltering.py
a00fab16bc9f37bff07e2d17794a87c272fd7744
[]
no_license
abrahamleyva/digitalImageFiltering
0c065e38a7935b2e3614a3c6aa6a0645a5990aab
13adcd7ee7e4159e4fd32ec02fc41eb1dcd2e76d
refs/heads/master
2021-01-09T05:22:29.759614
2017-02-09T05:22:18
2017-02-09T05:22:18
80,756,400
0
0
null
null
null
null
UTF-8
Python
false
false
2,515
py
#Author: Abraham Medina #Link to github https://github.com/abrahamleyva/digitalImageFiltering from PIL import Image #Import Pillow Library import os.path #Library for finiding number of fliles in a directory def median(arr): #Finds the median of an array arr = sorted(arr) #Sorts the array if len(arr) == 0: ...
[ "abrahamedina24@gmail.com" ]
abrahamedina24@gmail.com
8167f530c8d621c842f6bfa73f8385e93930cb17
8d19a238bab9bb4464df698d12ec1e7ab1b5fe31
/server/petslife/wsgi.py
32c6ce61283e3a07a0480eb0319040829ebbd622
[]
no_license
Angel-Chang/PLA
24ef0820938ec57c613fa3dd33eef21d99918f4e
53f16788256eead2f18e454cc3b079426753c2bb
refs/heads/master
2023-07-13T01:24:57.696994
2021-08-24T14:57:57
2021-08-24T14:57:57
399,505,379
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for petslife 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "huichi.chang@gmail.com" ]
huichi.chang@gmail.com
2e7c6c32a7ebb0da9fef253485580ef2ec69796b
beb68350b8f4067ded6d0e51c8276f69a42cd6cb
/APPOINTMENT_APP/api/user.py
77f8835067eb963f9dcc69155dbc7499a84f16f6
[]
no_license
karthikravinatha/appointment-backend
15fe773d4f62b01f12225a269d8d5a7f34cf8e8d
fb491d05936a262c8402d858afb2d902fd16925b
refs/heads/master
2022-05-27T19:09:29.575555
2020-05-03T16:45:50
2020-05-03T16:45:50
260,975,227
0
0
null
null
null
null
UTF-8
Python
false
false
5,824
py
""" Created By : <Auto generated code> Created On : Reviewed By : Reviewed On : Version : """ import json from django.http import HttpRequest from APPOINTMENT_APP.api.base_controller import BaseController from APPOINTMENT_APP.models.user import UserModel from APPOINTMENT_APP.services.user_service import userService fro...
[ "karthikravinatha@gmail.com" ]
karthikravinatha@gmail.com
5a216fa5de0a4c69886fdbfc02633f755a409b30
bd8122aa20f4318f690f5d7686bc44b3c739fb59
/src/saml2test/jsonconfig.py
f7613b91833494b04649a8a411e6deb2f81d5996
[ "BSD-2-Clause" ]
permissive
identinetics/saml2test2
5cda487ffa4facb38b1036cdb6db7c178b3e4b2e
0e439096c7a217a56e7c203f9001c0f9e2dedaa0
refs/heads/master
2021-01-21T04:03:23.133739
2016-11-09T22:43:15
2016-11-09T22:43:15
46,069,892
3
1
null
2016-05-31T14:20:40
2015-11-12T17:47:08
Python
UTF-8
Python
false
false
427
py
from saml2test.baseconfig import BaseConfig class JsonConfig(BaseConfig): def __init__(self,json_data,configdir): self.json_data = json_data self.CONFIG_SRC_DIR = configdir super(JsonConfig, self).__init__() def config(self): super(JsonConfig,self).config() for key in ...
[ "thomas@warwaris.at" ]
thomas@warwaris.at
3bd19a7d4ef17a4ca4db31969790ca90fb78b0ec
c28b2897c899d254b99a0db0127a62ce94331c61
/train_rc_slo.py
ad15f2440db53bc31daa0cbb6cd2ed59dcbb092a
[]
no_license
sindhura234/Dense_Unet_Keras
00940314de4f1dfee9d611956e3cf0cb4440aec0
a62ae052a7da554fa0655fef05b65b123fe36c83
refs/heads/master
2023-04-13T18:08:56.555227
2019-11-18T19:56:26
2019-11-18T19:56:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,669
py
import os import numpy as np import cv2 from keras.callbacks import TensorBoard, ModelCheckpoint np.random.seed(42) import scipy.misc as mc data_location = '' training_images_loc = data_location + 'RC_SLO/train/image/' training_label_loc = data_location + 'RC_SLO/train/label/' testing_images_loc = data_location + 'RC_...
[ "clguo.ai@gmail.com" ]
clguo.ai@gmail.com
4268c45f6d8f1b9d2b86c3c61dbe28db25668d13
37f7581ad37725b027d1815145d167f84bcd247e
/union/admin.py
19dbb910eb748cfbdc645aab85ce5c534a0617f4
[ "LicenseRef-scancode-sata" ]
permissive
HASSAN1A/Student-Union
4f0c61db1bcbb7823b0b7e7472c60ee9c7e9973a
c1ed6941479216e2cf9aaa801dd9ab0288c2c526
refs/heads/master
2023-03-20T14:53:10.525231
2020-12-10T11:04:43
2020-12-10T11:04:43
319,734,757
2
0
null
null
null
null
UTF-8
Python
false
false
254
py
from django.contrib import admin from .models import StudentUnion,Business,Post,EmergencyService # Register your models here. admin.site.register(StudentUnion) admin.site.register(Business) admin.site.register(Post) admin.site.register(EmergencyService)
[ "okothhassanjuma@gmail.com" ]
okothhassanjuma@gmail.com
f70edf2762baabf819ddd95626d014e08e3511df
34905a806594f9b34f25a1d8c2271bd52b9e25f1
/src/main.py
94fffd9c859a283c2e342d035dab2fda4a442206
[]
no_license
christianwbsn/richeese-transformator
b64c00e56f735bf8236b04ad6bf3adab2eb118d1
3d09422c6bac47a9fae235bb1eec6fc30129c681
refs/heads/master
2021-09-17T02:02:23.743290
2018-06-26T15:18:00
2018-06-26T15:18:00
110,575,707
0
1
null
null
null
null
UTF-8
Python
false
false
8,344
py
from __future__ import print_function from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * from math import pi,sin,cos import thread from time import sleep import copy import transformation quited = False NbVertex = 0 Vertices = [] initVertices=[] def init_draw2d(): glPushMatrix() #setup for...
[ "christian.wibisono7@gmail.com" ]
christian.wibisono7@gmail.com
37002e1ba284405e298ce91fda17c6f5fe233fc6
7a398f8dbcf465dc182d63dfe11a71d94a68c235
/SyntaxEx17(aiohttp_sqlalchemy_testing)/venv/bin/pip3
2e1f00c6a3a4264c364e2f58765a35e9509c9839
[]
no_license
apolonis/PythonExamples
48b0bd6c0e86388cc2772b27fcdeffacb7d0191f
018c3ccf0f1f57f807e8e9059afa3db408094a5c
refs/heads/master
2020-09-20T07:48:22.233460
2019-12-16T14:39:34
2019-12-16T14:39:34
224,413,096
0
0
null
null
null
null
UTF-8
Python
false
false
433
#!/home/marko/PycharmProjects/SyntaxEx17(aiohttp_sqlalchemy_testing)/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.ex...
[ "riddickschronicles@gmail.com" ]
riddickschronicles@gmail.com
afb945e073cccc744f20c091fdbe317e96e32d71
94ad39715bdc5590079dec4f10f36ed70a1685cb
/project-mid-client2.py
fcc069d419c3507fd4d43bd4f0c254f9696f0a79
[]
no_license
karamck/ECE-387-Midterm-Project
8b47024ad78dcc3e27f3ab87291e5dcb6862ba57
06980bf9c9389325cae432a6f2fcb554837fa48a
refs/heads/master
2020-04-25T07:31:13.532350
2019-03-02T00:38:37
2019-03-02T00:38:37
172,616,541
0
0
null
null
null
null
UTF-8
Python
false
false
3,600
py
# project-mid-client2.py # Author: Christopher Karam import socket # Required to create a network import sys # Required to read command lines from gpiozero import LED, Button # Recommended for controling loops and methods connected = False # Instance variables and methods #############################...
[ "noreply@github.com" ]
karamck.noreply@github.com
c430193f48d5d418d4945c7fcc8aa2fe3f0325dd
5c98cb9c500eacc14616072a0691c57b762af7a0
/src/PyBeam/Solver/test/test_PyBeam_Sol112.py
88ad604cdb556171206a796371bae36b29271076
[]
no_license
SalvatoreMaraniello/SHARPy
c029900dc1b3e9a6b2f0938cbf872f73ab505d8e
f1570b257035bbdf2549f97766f0eea5f24800b2
refs/heads/master
2021-01-17T09:07:50.427566
2017-05-04T14:21:21
2017-05-04T14:21:21
21,275,945
1
1
null
null
null
null
UTF-8
Python
false
false
43,995
py
''' @author: salvatore maraniello @contact: salvatore.maraniello10@imperial.ac.uk @date: 16 Feb 2017 @brief: unittest class to test the gravity loads implementation in the PyBeam solution methods. @warning: - Very low fidelity model is used for sol 312 - Sol112 and Sol112F90 produce different results ...
[ "salvatore.maraniello10@imperial.ac.uk" ]
salvatore.maraniello10@imperial.ac.uk
555944a65f31514e412fa766e9e27d9cd39d8748
a8cf6677f22f149e1282fc990d22f2687133b748
/project_name/Scripts/pip3-script.py
8e9273dc301c71c43e4076ad70f2b0350efc6eb7
[]
no_license
Aaron-Xyl/second_project
f3661ed67e3d069be8a7c3271bd552a626280c46
072ff3ce3605afa000d4e8ddad2df289eeacaaaf
refs/heads/master
2020-07-11T04:40:46.973346
2019-08-26T10:53:39
2019-08-26T10:53:39
204,447,060
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
#!G:\python\Project\placeholder\project_name\Scripts\python3.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[...
[ "18898532715@163.com" ]
18898532715@163.com
c288b826ea0a0ad8b0d56dcfa02d79146f876519
ffe7c8ccdd7343b52c4873629d581c250643b8f2
/src/main/resources/ExampleResources/CraftTaskExample/NaoRest.py
4a71e06cd60051dfaba8cfd8f9c15a57f335c4bc
[ "MIT" ]
permissive
magkai/MultimodalFissionFramework
032f48554843f78d692788ca97183e28291c5d7e
e991b1ef008dee2d33671390e1a9cf4820f10fc5
refs/heads/master
2022-10-13T14:42:42.146941
2022-09-08T14:57:55
2022-09-08T14:57:55
91,969,895
0
0
MIT
2022-09-08T14:57:56
2017-05-21T16:04:40
Java
UTF-8
Python
false
false
583
py
# -*- encoding: UTF-8 -*- import time import motion import argparse from naoqi import ALProxy def main(robotIP, PORT=9559): motionProxy = ALProxy("ALMotion", robotIP, PORT) # Go to rest position motionProxy.rest() if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argum...
[ "s8makais@stud.uni-saarland.de" ]
s8makais@stud.uni-saarland.de
1979e35639f3056a5948ce7a000da852b4811a53
5853c848509ce63a314d617f5a206231501acd86
/contact_form/urls.py
ed413e55dea3fd4baeadf79c38229aa5d5fafa89
[]
no_license
meto5578/ContactForm
da9fa6e171e5e125fde11234e63d929131f85b43
3d176d893b4d2bdc100b9e0478448ca11f26c84b
refs/heads/master
2022-04-14T15:51:08.923609
2020-04-13T00:05:06
2020-04-13T00:05:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
"""contact_form 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-...
[ "47386523+MehmetBulut94@users.noreply.github.com" ]
47386523+MehmetBulut94@users.noreply.github.com
94f389ae6c93122142d74d64201db742d6feb15b
286af5ae0e60bfd00dc6d3525bfde9779d18ed82
/django_movie_project/asgi.py
081daff73a8895202d842890032be5f5460f44b8
[ "MIT" ]
permissive
Mazev/django_movie_project
39e2d041499014f5f8a9ef859f44e015f3178abd
fa44a5b8ee804bb6315d270d62b9552560bd2b6f
refs/heads/main
2023-07-09T10:25:14.952184
2021-08-14T10:43:54
2021-08-14T10:43:54
393,784,908
0
0
MIT
2021-08-14T10:42:54
2021-08-07T20:24:13
HTML
UTF-8
Python
false
false
417
py
""" ASGI config for django_movie_project 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault(...
[ "77510376+Mazev@users.noreply.github.com" ]
77510376+Mazev@users.noreply.github.com
eae98955e6977895c270a381ad037dc674d3a82e
ad1771f15876b0c1caff78525f4af3632928a679
/diarioweb/diarioweb/wsgi.py
1ae6cf22d6c349c0c80cdd1ae4cd45296943e92f
[]
no_license
rennerocha/querido-diario-web
096764329367a66f6b6ede1a2d8ce12e17ccbd9d
97909c8370f02aed561c25a8fa681fb419037446
refs/heads/main
2023-02-07T07:43:25.331421
2020-12-28T20:18:16
2020-12-28T23:35:49
325,133,436
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for diarioweb 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "renne@rennerocha.com" ]
renne@rennerocha.com
8fe8e2b9ddbc59b0638ef73a3b8fd69500039160
6127f45e641a2fca33f205a21585d3191600b565
/src/mediaforeman/metadata_parsers/base_parser.py
457d570db5dc36afb9a6c465be119019084e4fee
[]
no_license
KieranEMiller/media-foreman
9e6d6f8a4816641a405f899b965e9c6ae68ca9d2
4084a72f65b49d0a69b6df8a01bbc37dc4dfdb2e
refs/heads/master
2022-07-06T14:06:25.953514
2022-07-02T01:50:28
2022-07-02T01:50:28
230,265,158
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
from abc import abstractmethod from PIL import Image from io import BytesIO class BaseParser(object): def __init__(self, path): self.Path = path @abstractmethod def ExtractProperties(self): pass @abstractmethod def ExtractImageProperties(self): ...
[ "kieranemiller@gmail.com" ]
kieranemiller@gmail.com
73b5b1f81a6dd6871e259d59ce4bde00db6baac5
a1bf01f7319157bc539ee134be45a5c32399a7f0
/article/migrations/0008_auto_20190331_1638.py
cf809b8c0440b5bffbbced5b5fe3e7b8585296f4
[]
no_license
JusticeGu/mysite
6129431ad68db9a6c76e6c4aa6da9d8e60613928
fd967454e696f271b82d9c4512561e7b88832e7c
refs/heads/master
2020-05-22T07:09:33.472790
2019-09-10T14:26:13
2019-09-10T14:26:13
186,221,975
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
# Generated by Django 2.1.7 on 2019-03-31 08:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('article', '0007_auto_20190331_1630'), ] operations = [ migrations.RenameField( model_name='articlepost', old_name='author', ...
[ "940331234@qq.com" ]
940331234@qq.com
030b4608bde34b24022a276aea7b20f89754712a
5848e70fbb1f33785c625876002212d0d0fad197
/test/celery_test.py
5516f1d78b7ae264318c513fa794c0d4edf051e2
[]
no_license
LineCrew/legacy-realtime-api
dd27d31a6681c7cf708fb9c86b1ce48132a022cb
7f052231dc46046cd673a2d42c21737d1b73198b
refs/heads/master
2022-12-11T02:42:29.202953
2018-07-11T03:41:21
2018-07-11T03:41:21
140,517,913
0
0
null
2022-01-06T22:25:33
2018-07-11T03:40:58
Python
UTF-8
Python
false
false
772
py
import tasks.matching_task import redis from domain.queue_match_model import QueueMatchModel r = redis.StrictRedis(host='localhost', port=6379, db=0, decode_responses=True) # for i in range(100): # result = tasks.matching_task.add.delay(1, i) # print(result.get()) data = { 'socket_id': 1, 'user_id':...
[ "topbladep@gmail.com" ]
topbladep@gmail.com
df49b758b26b77aff034bf727799efd3ac11f336
7996a67b8037b88adf4af6b3551ca5d4e586b7d0
/GettingStarted/war_cardgame.py
76384228e38e21a9fccc4d39162cbf18d493c772
[]
no_license
Azimovv/Learn
cc39d8df95c055a14b49236830318d2a9bf41b90
03d0e7fe33c2c84e6f21ad3b3eeb2f527b7ab198
refs/heads/master
2022-12-10T06:46:49.303302
2019-12-02T20:35:28
2019-12-02T20:35:28
215,112,113
0
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
from random import shuffle class Card: suits = ["Spades", "Hearts", "Diamonds", "Clubs"] values = [None, None, "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King", "Ace"] def __init__(self, value, suit): """suit and values should be integers""" self.value = v...
[ "suggzugg7375@gmail.com" ]
suggzugg7375@gmail.com
b1457b90a5e2770e3de9d457ab35dcacf14100bd
161b246f8027953985a35bb9216ab54eaff92df8
/HW4/task4/dumper.py
756f7dce458fe1327411158fc6de04bde7e1cfa3
[]
no_license
eliasel/TIF320
74824df212a8e6b5eaaeda5567ac4cddf2b97e6c
ee5664ed8883827c7841609135e3d5addce45a51
refs/heads/master
2023-03-17T19:34:57.220055
2021-03-12T16:32:57
2021-03-12T16:32:57
335,300,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
import numpy as np from ase.units import Hartree from gpaw.lrtddft import LrTDDFT def dump_data(lr, fpath): ''' NOTE: This dumps everything in atomic units Inputs: lr: GPAW LrTDDFT calculator If you saved the calculator to file (i.e. calcFile.dat) you can load it via calc=LrTDDFT('calcFile.dat') f...
[ "eeelmquist@gmail.com" ]
eeelmquist@gmail.com
5a8a9d2bbb5ac5634c8f2cd4aef9284d82af5f21
598289b077a725ea5679d3d2d68fe9149f379c38
/tune/db_workers/__init__.py
f0f424397e315fbb64f2d6a158a410623d8d5e78
[ "Apache-2.0" ]
permissive
AlexisOlson/chess-tuning-tools
d66c053922c7c8cb5502b4b22e9a9a0b6366b04f
8a66fdcb8e3ad3142f44a752399bede4ff2937ab
refs/heads/master
2022-12-03T10:53:14.632540
2020-03-02T15:47:26
2020-03-02T15:47:26
273,330,229
0
0
NOASSERTION
2020-06-18T20:07:50
2020-06-18T20:07:49
null
UTF-8
Python
false
false
80
py
from .tuning_client import TuningClient from .tuning_server import TuningServer
[ "noreply@github.com" ]
AlexisOlson.noreply@github.com
791544273fa07000a7943179b334d3c316425fed
0ef4371c87c2196d9c2d2706e51f4b452f6e9d19
/4_Curso/Proyecto_Sistemas_Informáticos/model_exam_2/venv/lib/python3.7/site-packages/PIL/_binary.py
e5ee0bf28dd3c05a2ceb20b96318b5dd3b1f2eb2
[ "Apache-2.0" ]
permissive
AlejandroSantorum/Apuntes_Mat_IngInf
49c41002314216a994aa60db04062e34abc065eb
c047e41d086f3028ec78ac3a663b9848862e52df
refs/heads/master
2023-05-15T03:02:56.882342
2023-04-20T20:19:54
2023-04-20T20:19:54
212,392,195
29
10
Apache-2.0
2023-09-09T13:03:45
2019-10-02T16:44:22
Jupyter Notebook
UTF-8
Python
false
false
1,882
py
# # The Python Imaging Library. # $Id$ # # Binary input/output support routines. # # Copyright (c) 1997-2003 by Secret Labs AB # Copyright (c) 1995-2003 by Fredrik Lundh # Copyright (c) 2012 by Brian Crowell # # See the README file for information on usage and redistribution. # from struct import unpack_from, pack fro...
[ "alejandro.santorum@gmail.com" ]
alejandro.santorum@gmail.com
6cd5ade7cc061ed205f19d1a38b010589f340f11
3ee98ee366aa7a88226719c5c6f12dafe2660f3a
/vagrant/Plone-4.3.2-UnifiedInstaller/tests/testall.py
ea783666d8c040e7221767705732720d0d9657f4
[]
no_license
hellfish2/pythoncantv
19d87a34102198d16cdeae5dd970553dd28316cf
f140d8fa759d4c27117b5f24951b61c37cc00fea
refs/heads/master
2021-01-18T14:18:39.394965
2013-11-23T08:40:26
2013-11-23T08:40:26
14,628,891
1
0
null
null
null
null
UTF-8
Python
false
false
181
py
#!/usr/bin/env python import doctest doctest.ELLIPSIS_MARKER = '-etc-' doctest.testfile("tests.txt", optionflags=doctest.ELLIPSIS or doctest.NORMALIZE_WHITESPACE) print 'Done.'
[ "root@equipo01.cantv.com.ve" ]
root@equipo01.cantv.com.ve
111e7f53dd9e97d2a78c1259ba38059220b75653
d52b90bebf99c8de986cd0b78b03cfadcc22f9c2
/code/read_data/get_artist_birthyears.py
3c6474e5da6e98b2a91f664bcd9bdf3bca326911
[]
no_license
benpry/COG403-songlyrics
04a8fcd835572eaaf60d0ffabd5145d026514295
19f5afecf35dbf3c98a1dfd0b93db571b8c4ea33
refs/heads/main
2023-04-12T23:08:16.100889
2021-04-15T01:40:44
2021-04-15T01:40:44
343,598,281
0
0
null
2021-04-14T07:38:54
2021-03-02T00:35:22
TeX
UTF-8
Python
false
false
3,004
py
import requests import bs4 import string import csv ARTISTS_PATH = "../../data/processed/artists.csv" OUTPUT_PATH = "../../data/processed/artist_birthyears.csv" if __name__ == "__main__": # Function to lookup birthyears def lookup(name): str(name) print('Searching ', name) # Check if ...
[ "riaprakash.1999@gmail.com" ]
riaprakash.1999@gmail.com
a2be2185fe3647cec92cc450fe6ff4f92f11d6dc
ce3b659f6b87b4379c38ef2b725cb6513f278b62
/run_pattern.py
1c43f7d620c12245c658bac97e9a6eb221b39190
[]
no_license
patricknaughton01/LEDTileControl
5259f84fda06043171cbfa040a01a3e759254a4e
34f9eb3fabf837ce909bbcca520775171fe51172
refs/heads/master
2020-04-02T15:49:35.989674
2018-11-07T20:23:53
2018-11-07T20:23:53
154,585,265
0
0
null
2018-10-25T00:08:13
2018-10-25T00:08:13
null
UTF-8
Python
false
false
2,189
py
#!/usr/bin/env python3 import argparse import importlib import random import numpy as np import time import tile def run_pattern(board, leds, pattern, extra_args): pattern = importlib.import_module("patterns." + pattern) try: while True: pattern.display(board, leds, *extra_args) exc...
[ "cma2714@gmail.com" ]
cma2714@gmail.com
c42cbac977750cf71cbb4751ad98b9561814b1b3
e6b6fa1135c37467d3081afcfadd5c44b41dee7d
/buton.py
a1cf45c8c18122a4bd8b5a1ed7f775442c94a3dc
[]
no_license
AlaaMarawi/Automatic-Door_Web-controlled
c6d261f7a2b8c2d6970b15dc17618dd3d04b110c
e5ea87fd4b4aebe4c5768ad99a3901b005d04915
refs/heads/master
2020-06-10T20:54:14.343291
2019-06-25T20:39:43
2019-06-25T20:39:43
193,744,014
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.IN, pull_up_down=GPIO.PUD_UP) try: while True: button_state = GPIO.input(18) print(button_state) except: GPIO.cleanup()
[ "noreply@github.com" ]
AlaaMarawi.noreply@github.com
33ef7fc60c8ad55c61511844539b647bc0fde222
27d53f727d838322d87cc055789125f04350782c
/SubstMatrix.py
3c58455251f6b42ef65e90116eab05bd3076f94c
[]
no_license
CarinaAfonso/Trabalho_AASB
3e416459928803bcb1fcac889c40030bd6828a21
6ce4f7cac96c3bf6ac0bfdbe28de12da14a569a4
refs/heads/master
2020-12-26T12:23:12.494006
2020-02-03T15:23:43
2020-02-03T15:23:43
237,508,626
0
0
null
null
null
null
UTF-8
Python
false
false
1,948
py
class SubstMatrix: def __init__(self): self.alphabet = "" self.sm = {} def loadFromFile(self, filename, sep): f = open(filename, "r") line = f.readline() tokens = line.split(sep) ns = len(tokens) self.alphabet = "" for i in range(0, ns):...
[ "noreply@github.com" ]
CarinaAfonso.noreply@github.com
3649ead4f7799fb73bd6795921280b712cd6ee57
a884039e1a8b0ab516b80c2186e0e3bad28d5147
/Livros/Livro-Introdução à Programação-Python/Capitulo 7/Exercicios 7/Exercicio7_6.py
165f405bfbe336d2a586579cf8a0d6182a73d80e
[ "MIT" ]
permissive
ramonvaleriano/python-
6e744e8bcd58d07f05cd31d42a5092e58091e9f0
ada70918e945e8f2d3b59555e9ccc35cf0178dbd
refs/heads/main
2023-04-10T14:04:24.497256
2021-04-22T18:49:11
2021-04-22T18:49:11
340,360,400
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
# Program: Exercicio7_6.py # Author: Ramon R. Valeriano # Description: # Developed: 16/05/2020 - 19:51 # Updated: s1 = str(input("Entre com o primeiro nome: ")) s2 = str(input("Entre com o segundo nome: ")) s3 = str(input("Entre com o terceiro nome: ")) quantity = list() wt = list(s2) wn = list(s3) for n in s2: ...
[ "rrvaleriano@gmail.com" ]
rrvaleriano@gmail.com
cb1c7b97a3dd6c10dcb15ace6f14fe3dd98a585e
be0dd4305db0ed58693af484edf89b4f94765f92
/update_HSintersigma.py
15ba23d8250ee5f11af15a710ea69c9d22f7b343
[]
no_license
georgezhou/hsfu23
44468e2604dff31b7f5b024d25d17904f18caaf8
8184b23f1d3333e0fe7664db4aeb253a3caf726f
refs/heads/master
2020-04-15T01:40:46.478620
2015-04-15T06:40:20
2015-04-15T06:40:20
2,831,996
0
0
null
null
null
null
UTF-8
Python
false
false
5,873
py
import functions import mysql_query from numpy import * import os import sys import string import pyfits ################### ### Description ### ################### ### Update hatsouth.intersigma ######################## ### Start of program ### ######################## start_date = "2013-05-24" end_date = "2013-0...
[ "george@mso.anu.edu.au" ]
george@mso.anu.edu.au
3e95b1fcd6eb9ba540155a5e5a08c8373ce2af48
6aced15ae21ee17548ca1507fdbdfcbc542676d4
/Python dla każdego/Chapter11/high_score.py
19041af43af8d9c2799f9182edd198c758743ffe
[]
no_license
crazydeveloper09/Praktyki-zawodowe
5c5a13e6a7167ad81ce31ee132eeb3d21a88ae0a
16ea62308bf11db2af6b17e6eeaa72b66ac8438d
refs/heads/main
2023-01-03T16:15:26.561050
2020-10-28T13:33:34
2020-10-28T13:33:34
301,637,095
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
#!/usr/bin/env python3 # Autor: Maciej Kuta # Data utworzenie: 12.10.2020 # Cel: Tworzenie elementu tekstu from superwires import games,color import pygame games.init(screen_width = 640, screen_height = 480, fps=50) wall_image = games.load_image("sciana.jpg") games.screen.background = wall_image pizza_image = games...
[ "maciekmessi9@gmail.com" ]
maciekmessi9@gmail.com
8ff0c05390f0d5b6948b2b041e12f48526f1433d
4080a29961f79c2294204355ff9bf8d9f5e09954
/Djago Website-/djangoWebsite/apps/accounts/models.py
727ab55415ddcd50e4a59a8256d80e3f087d2c68
[]
no_license
ArmanSh7/Django-Tutorials
c5d4d493a354b7deb02935b30de745a84d548366
997db1d1af9b709a4c6e3759a86c0ff236ec426b
refs/heads/main
2023-03-23T10:19:57.406338
2021-03-21T09:28:49
2021-03-21T09:28:49
349,938,722
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
from django.db import models from django.contrib.auth.models import User class UserInterest(models.Model): name = models.CharField(max_length=64, unique=True) normalized_name = models.CharField(max_length=64, unique=True) def __str__(self): return self.name class UserPersona(models....
[ "noreply@github.com" ]
ArmanSh7.noreply@github.com
0a515603f51658194edd388c66b4f36d49ad57ef
303c62282728f3e480bf974328c41eb85b3d8fc3
/LeftViewBST.py
05607b17e2296d9e7b3606643d8804e0560bbb5a
[]
no_license
harshbhardwaj5/Coding-Questions-
e0b9036df048535f7932ff391f3364f74a2e66af
4b8a0752236c51d05035a0d1fe97d128a30971ca
refs/heads/main
2023-03-30T00:43:14.103788
2021-04-05T22:28:08
2021-04-05T22:28:08
354,985,778
1
0
null
null
null
null
UTF-8
Python
false
false
979
py
# Python program to print left view of Binary Tree # A binary tree node class Node: # Constructor to create a new node def __init__(self, data): self.data = data self.left = None self.right = None # Recursive function pritn left view of a binary tree def leftViewUtil(root, level, max_level): ...
[ "noreply@github.com" ]
harshbhardwaj5.noreply@github.com
c09d6a929e893b7031daa3be70c2f035112b93bc
c9767c5a4c354aaaf520cb1c169445901dd18bc1
/user_blog/migrations/0001_initial.py
7076db18a50c7bc4b398d58d45116c83142ac801
[]
no_license
Aroon-AD/local
db948cac38fa0336b6e368cd96ce15dac68a8ebc
ac0a7fd466949751a35d5c77e3fc0a01a0e47aed
refs/heads/master
2023-02-23T06:21:45.007602
2021-01-26T06:02:58
2021-01-26T06:02:58
331,239,279
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
# Generated by Django 3.1.4 on 2021-01-19 16:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BlogModel', fields=[ ...
[ "atleearun96@gmail.com" ]
atleearun96@gmail.com
9338d824c4feb0eab748d2e861726eb5f66b642a
c72285f9b03ebe2f8b555ed841e72aa104c67a06
/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/config.gypi
97ac5ce24d5e208756895255d485cc7395948b2b
[ "MIT" ]
permissive
kurai021/Fireworks
93b3053b0e60eba943ef76ec8adade3f1655d742
99b2873c684a703cc69389c5465bb5e8c4676afc
refs/heads/master
2021-01-18T11:20:55.033052
2014-04-25T17:24:03
2014-04-25T17:24:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,024
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 47, "host_arch": "x64", "node_install_npm": ...
[ "samahel021@gmail.com" ]
samahel021@gmail.com
9aace466d11401e0666e77d4323084d355944c09
31d87bbac1f17b89352a29c896a6b3b16b9a3bc1
/fuga/cli/deploy.py
6463609ece667762ea1d742c3da226bf09d8aa7e
[ "MIT" ]
permissive
ayemos/fuga
21f75139a2ae62df6212a30d4ea414ce749137c5
674165a10252ec5568a470fa250cd0c078013f57
refs/heads/master
2020-06-21T17:17:07.381012
2019-08-26T08:52:56
2019-08-26T08:52:56
197,513,405
1
0
null
null
null
null
UTF-8
Python
false
false
845
py
class DeployCommand: def __init__(self): pass def run(self): ''' #!/usr/bin/env bash set -e gcloud composer environments storage dags import --project repro-lab --environment {{cookiecutter.composer_environment_name}} --location asia-northeast1 --source sql --destinati...
[ "me@ayemos.me" ]
me@ayemos.me
088e78d73350543e499629eb9c162d895b2e67ff
833b985e9d6a333615b08a94c925ab67b24964f3
/weathersite/settings.py
9a909bd5aa9ec81c68f5ab63cc5ad32c804c616e
[]
no_license
detacirbaf/weathersite
04a8e621e0787672afcee73ee04f54a07bc26fb8
a36777d05a733df5f24a4ef5967b65bf4f4bbf41
refs/heads/master
2021-02-08T21:19:04.776977
2020-03-01T18:05:40
2020-03-01T18:05:40
244,198,386
0
0
null
null
null
null
UTF-8
Python
false
false
3,372
py
""" Django settings for weathersite project. Generated by 'django-admin startproject' using Django 2.2.9. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import o...
[ "34040782+detacirbaf@users.noreply.github.com" ]
34040782+detacirbaf@users.noreply.github.com
d8cb47692ef6d24baa04df42f4186887a5d5a330
ea14b65717683a9dc9e8b3a377b61b3bf4e84e01
/Problem2.py
164f123acd0c95601f8b25196bb21edf6ff2d81f
[]
no_license
Jaysparkexel/Array-4
fb0a110599c566bc0b7a47f6055c66089d5386dc
2581b7ba7a70b0e35d402ec61877816d087d7b88
refs/heads/master
2020-08-24T20:17:07.622566
2019-10-23T03:27:07
2019-10-23T03:27:07
216,898,566
0
0
null
2019-10-22T19:56:49
2019-10-22T19:56:49
null
UTF-8
Python
false
false
1,016
py
# Time Complexity : O(N) (Where N is total number) # Space Complexity : O(1) # Did this code successfully run on Leetcode : Yes # First find local max by chosing max beetween current number and current number plus local max. # Than find global max by just choosing max of gloabl max and local max. # By doing both of th...
[ "noreply@github.com" ]
Jaysparkexel.noreply@github.com
93eacaab8b4f89012dc068a17ea94bc6fd04a15f
114fdcc1fe09f2c0131ddfb324f11c38045961ac
/env/lib/python3.7/random.py
a3ab1e873cf9f3e16bd8e03c0891b2ad1d1f8732
[]
no_license
pravee2667/QueueAPIPython
d06ff27986745fcfa6b96a4d71c11efbbfc84c8b
4f150a7dfe47f0c69d082a28a8237756554e44da
refs/heads/master
2020-11-30T00:38:55.664209
2020-05-22T11:59:36
2020-05-22T11:59:36
230,252,781
0
1
null
2020-07-22T13:28:02
2019-12-26T11:30:52
JavaScript
UTF-8
Python
false
false
46
py
/home/ubuntu/anaconda3/lib/python3.7/random.py
[ "praveen.sabhiniveeshu@pactera.com" ]
praveen.sabhiniveeshu@pactera.com
abba0e0aa89930ba90e7590a28e68dcd60f2821f
de59ece5d773d8607ba7afe747088ff07062494c
/py-core/class-object/data-classes.py
9653993b7025e8353497b9e2d6fafdcf7cfa964b
[]
no_license
loggar/py
4094c6919b040dfc0bb5453dc752145b5f3b46ba
1116969fa6de00bbc30fe8dcf6445aa46190e506
refs/heads/master
2023-08-21T16:47:41.721298
2023-08-14T16:12:27
2023-08-14T16:12:27
114,955,782
0
0
null
2023-07-20T15:11:04
2017-12-21T03:01:54
Python
UTF-8
Python
false
false
657
py
from dataclasses import dataclass """ Since version 3.7, Python offers data classes. There are several advantages over regular classes or other alternatives like returning multiple values or dictionaries: - a data class requires a minimal amount of code - you can compare data classes because __eq__ is implemented for...
[ "charly.loggar@gmail.com" ]
charly.loggar@gmail.com
90ac2ad1e0b7063dfef73d132d9267d5d61701ca
1b09b2fa631976e10214719eea6aaf4b2f7d3531
/kdenlive2dvdchapter.py
1d5bb8297c65e25d9963f52c056d0a1718407f66
[]
no_license
mvo5/kdelive2dvdchapter
fba5a991610fc967120318f7381347902ed29ec5
a425f1f1e9fad52a3193a3411677f80d99d51ced
refs/heads/master
2023-08-27T09:06:18.432361
2016-10-07T21:19:26
2016-10-07T21:19:26
70,283,775
1
0
null
null
null
null
UTF-8
Python
false
false
859
py
#!/usr/bin/python3 import os import re import sys import locale if __name__ == "__main__": locale.setlocale(locale.LC_ALL, '') if len(sys.argv) < 1: print("need kdenlive file as first argument") os.exit(1) sec2title = {} with open(sys.argv[1]) as fp: for line in fp: ...
[ "mvo@ubuntu.com" ]
mvo@ubuntu.com
274dcd0c52a91cf0f6087687e517b5b9b8a15589
c583fbc131307c4f868c14c08525efec0f325bef
/moveElementToEnd.py
6e8596bf7b67feb4777083e2e8c13ca912024c8c
[]
no_license
phongluudn1997/leet_code
8c7ccc8597c754c3ce0f794667777c3acea50fa2
c0fc0a53f44967b66afb101daaf6be05dedec24d
refs/heads/master
2021-03-28T11:56:02.646965
2021-03-13T10:57:09
2021-03-13T10:57:09
247,861,580
1
0
null
null
null
null
UTF-8
Python
false
false
572
py
""" Đề bài: Cho một array, một number, sắp xếp array để đẩy number ve phia cuoi array. input: [2,1,2,2,2,3,4,2] vs 2 output: [1,3,4,2,2,2,2,2] """ def useTwoPointer(list, num): left = 0 right = len(list) - 1 while left < right: if list[right] == num: right -= 1 if list[left] =...
[ "luuhuynh@me.com" ]
luuhuynh@me.com
5342b8b9cb499b61fb7c6bed134972fa7ce0fdde
8c41af5a759f5535bfaee668016d18c3133be0c7
/develop_backward/some_backward_code.py
a5048a793666a14b4694ca1de2cc8108ec268a23
[]
no_license
longsjj/gitLearnAgain
99e6eea09cc408f392cddd011e279d72ce485f68
a863eb0cb885a7815ca8571d2bf4680f7f20bcd1
refs/heads/master
2020-04-10T18:02:37.645169
2018-12-12T09:47:04
2018-12-12T09:47:04
161,192,288
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
#this code is about backward
[ "rongjunzeng@gmail.com" ]
rongjunzeng@gmail.com
23229f1ad0dffaa8acbc6c521de65f535750f4ac
ae52435dd0ac9104fb55cfc0df307af6cd4fb09b
/amstar-02/day_03/code/exceptions_demo.py
8a2f1f9025ef7063d9f9706c878dfc2c91fe75c4
[]
no_license
mindful-ai/oracle
54e79cc65153cf9df6c081a40313317893abc0c6
22749bf19ba06ad29e9ee149ace00a477e56f975
refs/heads/master
2020-12-28T01:07:26.021945
2020-05-08T12:37:04
2020-05-08T12:37:04
238,131,148
0
0
null
2020-02-07T22:30:47
2020-02-04T05:32:29
Python
UTF-8
Python
false
false
511
py
''' try: Logic to be tried except: What do you want to do if the exception occurs else: Statements to execute when you tried something and no exception occured finally: Statements that define what will happen finally ''' try: f = open(r"C:\Users\Purushotham\Desktop\oracle\d1.da...
[ "noreply@github.com" ]
mindful-ai.noreply@github.com
ba83ea879f56573a94677b5192c71ad98efbfb5f
ad59fb12042bfd3f5c43eca057d0f747f9e148cf
/MSNweather-NP/Components/Converter/MSNWeatherNP.py
583508b5743ce65587ef197aea3f1bcf74cae7e3
[]
no_license
lexlong2007/eePlugins
d62b787100a7069ad5713a47c5688008063b45ec
167b262fe36901a2d3a2fae6d0f85e2307b3eff7
refs/heads/master
2022-03-09T05:37:37.567937
2022-02-27T01:44:25
2022-02-27T01:44:25
253,012,126
0
0
null
2020-04-04T14:03:29
2020-04-04T14:03:29
null
UTF-8
Python
false
false
15,991
py
# -*- coding: utf-8 -*- # # WeatherPlugin E2 # # Coded by Dr.Best (c) 2012-2013, mod j00zek 2020-2021 # Support: www.dreambox-tools.info # E-Mail: dr.best@dreambox-tools.info # # This plugin is open source but it is NOT free software. # # This plugin may only be distributed to and executed on hardware which # is licens...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
2e994f655c26627be306118eb78c3ec8cf94a5bf
85b7340fc8b2294b50b4060d795e207e93d4f24c
/HongXiuSpd/spiders/fiction_free.py
da3c3dc7a82591354b0d20a6b415200a71f72592
[]
no_license
Jerot-China/HongXiu
2ec128ba78b17dc640dc3f2a6548dc581545ae83
181286af74d29515f394f83659932a256830cb99
refs/heads/master
2020-03-21T12:28:19.370872
2018-06-25T06:56:51
2018-06-25T06:56:51
138,554,140
0
1
null
null
null
null
UTF-8
Python
false
false
3,265
py
# -*- coding: utf-8 -*- import scrapy from ..items import HongxiuspdItem from scrapy.http import Request from lxml import etree class FictionFreeSpider(scrapy.Spider): global headers global gender_id global base_url base_url = 'https://www.hongxiu.com' name = 'fiction_free' # 1为男生,2为女生 gen...
[ "445068326@qq.com" ]
445068326@qq.com
78cf3010a7d39bb3f60e80fc43d93261b2ee36c1
93ea897ba1e41357e0002aa0534173530356a28c
/jenkins-master/scripts/jenkins_add_user.py
440a15d75d3fc22d862d5a6befd6cab136e97cb3
[]
no_license
stanchan/docker-pipeline
7c2fcefb1e7d1d406654695cbc8946a6492f21dd
00655764103d2aadc8351df739329ad100c90328
refs/heads/master
2021-01-20T01:04:14.577821
2017-04-27T19:13:56
2017-04-27T19:13:56
89,216,182
1
0
null
null
null
null
UTF-8
Python
false
false
810
py
import json import requests def main(): data = { "credentials": { "scope": "GLOBAL", "username": "jenkins", "privateKeySource": { "privateKey": "-----BEGIN RSA PRIVATE KEY-----\nX\n-----END RSA PRIVATE KEY-----", "stapler-class": "com.clou...
[ "stanchan@gmail.com" ]
stanchan@gmail.com
ad8541f817967e57d0e063f5dfc2d2a85df8f005
d3193f35a99693ff56265882c04342c8c25abb93
/keyboards/regular/user/balance/__init__.py
bee2dd218b391f336239df8674af4c1e8ee5a6aa
[]
no_license
hero141lc/dice-lottery-bot
66a7aeaa6b33cd7dce011f31a73aa421939cb61b
fa060e2b5d131dbbc2c2a75fc7ce771ca2d7555b
refs/heads/master
2023-04-08T04:13:29.331787
2021-04-10T20:32:55
2021-04-10T20:32:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from .default import balance_default_keyboard from .confirm_for_refill import confirm_for_refill_keyboard __all__ = [ 'balance_default_keyboard', 'confirm_for_refill_keyboard' ]
[ "aleokheen@gmail.com" ]
aleokheen@gmail.com
a6acf8d89a41828c0923a9d523a6b0f8b4a22c57
ae01f8a777bd3de349b5306cec2c821cb2a90b3b
/Quantopian1.py
c815ea5e4aca6aa3680ddb9f839732be6a387346
[]
no_license
Sebas13/modulosPython
06fde79795f2f12f34ef316f8ef127e7742d78a5
e9e83837718b13a3c2fc8144b42938131a72de46
refs/heads/master
2022-02-14T18:42:02.165305
2019-07-31T23:04:51
2019-07-31T23:04:51
197,960,263
0
0
null
null
null
null
UTF-8
Python
false
false
3,137
py
from socketserver import StreamRequestHandler, TCPServer from urllib.request import urlopen import time from functools import wraps # # class EchoHandler(StreamRequestHandler): # def handle(self): # for line in self.rfile: # self.wfile.write(b'GOT:' + line) # # # serv = TCPServer((' ', 15000), ...
[ "sebas_ferre@hotmail.com" ]
sebas_ferre@hotmail.com
f18d471f3bf849b8418071b41016466424242b1f
207d1213ca57d4ebaa47e7f0d91a538291c1e3d7
/mysite/settings.py
a172ec4d19c1f499a4ce96b6c80329972a229e98
[]
no_license
cainanandrade/my-first-blog
632de542f4bb9078e606582bceefbd3238c7ece8
4b3303d13a95f766ddf8d0924ba3eab6843077ce
refs/heads/master
2020-03-08T01:52:39.287081
2018-04-15T17:30:28
2018-04-15T17:30:28
127,843,138
0
0
null
null
null
null
UTF-8
Python
false
false
3,383
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.9.13. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os #...
[ "cainanandrade01@gmail.com" ]
cainanandrade01@gmail.com
f9f37c3ce268110fe9dbfc8f6cbfe32ff5321adc
48e6a0a842cc4df774184bc75466e9061056c9f3
/userlogin.py
e935dcc856a54253518449bda016adb404f5f230
[]
no_license
mgokayb/beginnerpythonprojects
737b78aeaacca4a23bddd6f25cc2f3b858bf96a8
0a8248f9288dd8adf62a4a1a1ff9a6fd85e28e0f
refs/heads/master
2020-08-21T14:23:10.735252
2020-07-01T10:25:43
2020-07-01T10:25:43
216,178,973
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
print("""" ************************************ User login interface! Enter the your id and password Plz ************************************ """) try_limit = 3 user_id = "john" user_pass = "nhoj" while try_limit > 0: id = input("ID : ") password = input("PASSWORD : ") if try_limit == ...
[ "noreply@github.com" ]
mgokayb.noreply@github.com
c44d4976b88cde33295efe8c178266d8cf5806da
e209f29bec512e38fe1e3bc0561a7b21dad01615
/ReModule-3/ReModule_3.py
e9ce1443d74536d22db9be803b22af62182cf378
[]
no_license
hilal-bstn/PythonModules
76dd9bcb3e3ab4537866b9a9b4ea7775d4a04fd3
6604d75fe9e4a6ae73c730cb4f304363b3081495
refs/heads/master
2023-03-05T17:17:54.976598
2021-02-17T13:00:49
2021-02-17T13:00:49
339,725,231
2
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
#regular expression import re result=dir(re) str="Python Kursu : Python Programla rehberi | 40 Saat" result=re.findall("Python",str)#bulduğu "Python" yazılarını liste haline getirir result=len(result)#kaç tane python yazısı var(listenin uzunluğu) result=re.split(" ",str)#boşlukları atarak kelimeleri liste şekline geti...
[ "hilalbastan@gmail.com" ]
hilalbastan@gmail.com
9f53ba453fa1cbfb5eaa6fc254ad5e72e9952a7e
11b9623a8acd968cc683ba8ff8f7527043f6e80b
/uc_pmt_gain/old/discrete_gaussian_with_binomial/cuda_pmt_mc.py
dbe0ec595735ad2b07ebbaced6880c479c1262bc
[]
no_license
mdanthony17/xenon1t
ecae2d2ed0873874d32c02d048f75f8833dc4c47
3f56e102fe9af85c8784f0171714d0af777db556
refs/heads/master
2020-12-25T05:44:52.213533
2017-08-24T13:12:07
2017-08-24T13:12:07
63,275,516
0
1
null
null
null
null
UTF-8
Python
false
false
18,374
py
cuda_pmt_mc =""" #include <curand_kernel.h> extern "C" { __device__ int gpu_exponential(curandState_t *rand_state, float exp_constant, float exp_offset) { // pdf = 1/const * exp(-(x-offset)/const) return -logf(curand_uniform(rand_state)) * exp_constant + exp_offset; } __device__ int gpu_discrete_gaussian...
[ "mda2149@columbia.edu" ]
mda2149@columbia.edu
f783b599b6be376489bb5083ca50e75c635d3fba
88a237bac5889b61416514c4ac3b2b608c5e8036
/Exercicios/03-12-2019/consumoapi/aula5/02_climatempo_extra.py
e70c65aa26287304e350624469fe80bff2fe2e7f
[]
no_license
TopZeraProductions/desenvolvimento-de-aplicacoes-distribuidas
14ed5a950a30e9886e01d1a3cc7aec94c615eb82
5014c19f9f305734bc1c9df4768e140e71b7ec30
refs/heads/master
2020-04-21T04:42:53.403595
2019-06-01T18:29:03
2019-06-01T18:29:03
169,320,688
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
''' A API da climatempo está em https://advisor.climatempo.com.br Faça: 1) Crie uma conta e consiga uma chave sua para acessar. 2) Teste no Firefox um exemplo de temperatura atual (veja a documentação). 3) Crie uma função temp_sao_paulo que retorna o temperatura atual em São Paulo. 4) Crie uma função temp_fortalez...
[ "paulino.joaovitor@yahoo.com.br" ]
paulino.joaovitor@yahoo.com.br
95c8b8bfac061abd2b50593bb7208a82fe6d0c7d
0dc24a6e729a4b438fbcd9cfb72da3b6ee716d77
/ksiazka_zrob_to_sam/2_ciagi_tekstowe_cwiczenia.py
063cff87970578c359ddc7c9827b239c8756929d
[]
no_license
Licho59/learning_python_eric_matthes_book
fca84a2bff207c10dec20c7fea9aeacf05d6a101
969f95132822d8bd21c30403d8e0bf6aadb9914f
refs/heads/master
2021-09-01T03:41:37.281741
2017-12-24T15:12:13
2017-12-24T15:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 26 19:24:54 2016 @author: Leszek """ name="jan kowalski" print(name) print(name.title()) print(name.upper()) #konkatenacja first_name="jan" last_name="kowalski" full_name=first_name + " " + last_name print(full_name) print("Witaj, " + full_name.title() + "!") message="...
[ "lestlalka@gmail.com" ]
lestlalka@gmail.com
f76e9c358d8d17274301b7938072768ecdd59dbb
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/SQo9Jx5ih2iHG8JAn_15.py
9d1565ac696693d903c8cff8417d78d66f370fb6
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
""" Create a function that expands a number into a string as shown below: 25 ➞ "20 + 5" 70701 ➞ "70000 + 700 + 1" 685 ➞ "600 + 80 + 5" ### Examples expanded_form(70304) ➞ "70000 + 300 + 4" expanded_form(1037903) ➞ "1000000 + 30000 + 7000 + 900 + 3" expanded_form(802539) ➞ "800000...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local