blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
72e2390c7ee30d02a56fbd20e227c1eca6df95c8
c4b03df88a7efa181fcabec14f8cc06c6b76ba33
/tree/avl.py
33ea27cfa4e11fbd45394f7b80387a5c33d8cb4d
[]
no_license
psr1981/data-structure-and-algorithms
3e7cf17c5575487876aed23dced0519151f8f068
2b638ad76067b4a57bd6a57d6ec94c4527252e87
refs/heads/master
2020-03-21T14:55:40.969364
2018-09-25T18:22:49
2018-09-25T18:22:49
138,683,634
0
0
null
null
null
null
UTF-8
Python
false
false
5,767
py
# @Author - Pradeep Singh Rajpoot def height(node): result = -1 if node is not None: result = node.height return result def updateHeight(node): if node is not None: node.height = max(height(node.left), height(node.right)) + 1 def balanceFactor(node): return (height(node.left) - h...
[ "pradeep.s.rajpoot@gmail.com" ]
pradeep.s.rajpoot@gmail.com
06282fd67700f384cd14626b35f346831d7d359f
d44c98714764e403863e5a93e120c24da3da9fb6
/bot-worldcup.py
b5e4ca680d166825010eea313fae0478d69702d6
[]
no_license
marquesborges/worldCup
0db724e46fd19132fa8db489e6bb2dce62a76e1e
bd5b91da364ae6f09d19758264ac0ef914fd03a2
refs/heads/master
2022-12-17T22:18:10.817649
2019-06-16T17:37:25
2019-06-16T17:37:25
137,523,078
0
0
null
null
null
null
UTF-8
Python
false
false
13,224
py
#!/usr/bin/env python import os import logging from telegram import constants, ParseMode from telegram.ext import Updater, CommandHandler, MessageHandler, Filters from datetime import datetime from telegram.error import BadRequest import time import worldcup import pytz global UPD, ACCESS, TOKEN, PORT WC = worldcup....
[ "noreply@github.com" ]
noreply@github.com
e0c354c9d5853e24028e9a469174f6465fecf32c
ed8b899c547c6e2bf797af86dde2f9f0716cbd58
/commentapp/migrations/0002_alter_comment_article.py
7f3a2592aa6f2ffae6bb9520776623372f16fd61
[]
no_license
lauren0914/web1
85492a3a0f506a0b409760258355131c3ca3a182
1323d041cea3fea2f414f8268b43346b691b8161
refs/heads/master
2023-08-22T09:57:34.508724
2021-09-29T02:30:08
2021-09-29T02:30:08
381,958,148
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
# Generated by Django 3.2.4 on 2021-08-09 07:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('articleapp', '0001_initial'), ('commentapp', '0001_initial'), ] operations = [ migrations.AlterFiel...
[ "cofks05@likelion.org" ]
cofks05@likelion.org
58023b6b2a082680fe88fc376cba496e96ea4338
c66b7ebf39e6db00eb77fa073d3e1ebc2d7ffdb4
/tests/unit/cfngin/actions/test_diff.py
390bf9251380def973fa3b0bb10e1c9b3acc40d8
[ "Apache-2.0" ]
permissive
twitty-onica/runway
a32590e9dee6a4b2d9ead6edc7e6cebb9a94e55c
e292c7b770fa639d3ed834cf041a7d7641f7f160
refs/heads/master
2022-12-14T00:43:02.481292
2020-08-28T16:04:37
2020-08-28T16:04:37
292,922,402
0
0
Apache-2.0
2020-09-04T18:43:39
2020-09-04T18:43:38
null
UTF-8
Python
false
false
3,174
py
"""Tests for runway.cfngin.actions.diff.""" import unittest from operator import attrgetter from runway.cfngin.actions.diff import DictValue, diff_dictionaries, diff_parameters class TestDictValueFormat(unittest.TestCase): """Tests for runway.cfngin.actions.diff.DictValue.""" def test_status(self): ...
[ "noreply@github.com" ]
noreply@github.com
18b77fc500605fe96728f05442bbf4864981f738
790dc38dd5428f84363dbc696591dc33d76f7c49
/main.py
02119eb99a695c86e0c90b9ae29198d2b7aa6c4d
[]
no_license
antoniodimariano/personal-sorting-hat
3723c9a34bef973f753c49579555f693724cdbe4
bc07be60f59b2460cfb0c663494d2fbbb5e825ea
refs/heads/master
2023-06-18T04:06:40.638473
2021-07-19T09:22:01
2021-07-19T09:22:01
235,334,104
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
# Created by Antonio Di Mariano (antonio.dimariano@gmail.com) at 2019-09-03 from classes.Questions import Questions if __name__ == "__main__": questions = Questions() print("You have been assigned to the category :",questions.record_answers(questions.run_questions()))
[ "hellbreak@Antonios-MacBook-Pro.local" ]
hellbreak@Antonios-MacBook-Pro.local
9b1fbe5600b7322f49bc1c05a6ab3c1035972d4d
e288dd6e3edbe2e77a970719ea943a98c629d2e2
/stackdio/api/environments/tasks.py
e774089765937867e957f17e4651402aec083649
[ "Apache-2.0" ]
permissive
Harrison-Miller/stackdio
b308db4cfd68e9900e08867726b779e334f2334a
b12975737a0962c748b3da375609f7db9c8842f3
refs/heads/master
2021-01-25T07:49:08.369918
2017-05-14T04:31:09
2017-05-14T04:31:09
93,666,368
0
0
null
2017-06-07T18:23:56
2017-06-07T18:23:56
null
UTF-8
Python
false
false
11,435
py
# -*- coding: utf-8 -*- # Copyright 2017, Digital Reasoning # # 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 applica...
[ "clark.perkins@digitalreasoning.com" ]
clark.perkins@digitalreasoning.com
2229d4df4a6585402d2b9b02a44445d1e7e39d2e
71f55955d7115763f9267704328f8c738aafaa15
/euca2ools/commands/iam/addrolepolicy.py
bb9e1d6ddeabb20857861ae24bcc791d2dbbad40
[ "BSD-2-Clause" ]
permissive
fr33jc/euca2ools
66da4a866e9a0873ce225f9f931019b0bbd82fff
f4d8052000601e59e4e7d4dec4aa4094df4e39a0
refs/heads/master
2021-01-21T08:20:44.646393
2015-05-07T06:16:30
2015-05-07T06:26:57
35,200,788
0
0
null
2015-05-07T05:34:42
2015-05-07T05:34:42
null
UTF-8
Python
false
false
3,335
py
# Copyright 2014 Eucalyptus Systems, Inc. # # Redistribution and use of this software in source and binary forms, # with or without modification, are permitted provided that the following # conditions are met: # # Redistributions of source code must retain the above copyright notice, # this list of conditions and t...
[ "gholms@devzero.com" ]
gholms@devzero.com
7d3017c69e6db92f6d7ff484edd070171d37b872
4e6116b09e2d9dc7fd5e4ad1d0d380764c6e5760
/toolkit/tests/tokens_api_test_base.py
1d4d81bb34eae5f41be72026d37992b418707f1f
[ "Apache-2.0" ]
permissive
GPCsolutions/enterprise-toolkit
cf0696c345b1dd2081727482f219eba96cd8acfa
06b10e4fe8b404d0335ef132514605cf8b72a376
refs/heads/master
2020-12-31T05:39:47.071906
2014-03-27T18:28:42
2014-03-27T18:28:42
19,369,815
1
0
null
null
null
null
UTF-8
Python
false
false
2,075
py
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "truty@google.com" ]
truty@google.com
f87e480ec25290060bd12e93fd8a82fc83356d3b
01e0a6b634f34a5cddd0616e05fb6b3b67936b3a
/Ejercicios/26_poo_iii.py
6132a95ce033dbafa45f35c04837062f2ecb0a3d
[]
no_license
jask05/PythonCourse
a586913297d1f3a85f6b7130e3d36ad70cdd1217
e5e0671557054d82a5690b07753713a31c0a10fa
refs/heads/master
2020-04-28T12:55:11.197060
2019-09-30T09:25:08
2019-09-30T09:25:08
175,291,757
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
# -*- coding: utf-8 -*- class Coche(): # Propiedades largoChasis = 250 anchoChasis = 120 ruedas = 4 enmarcha = False # Métodos (Comportamiento) def arrancar(self): self.enmarcha = True def estado(self): if self.enmarcha: return "Mi coche está en marcha"...
[ "jask.zemula@gmail.com" ]
jask.zemula@gmail.com
53ba235d34525ea0cf44500e09ba61d5b77c0cce
43cf365ddcf2e761098c200eb50c1e3337927137
/pyProcess/OldScripts/avgWallUnits.py
0bea1bd5122adc35acd40b9e0dbc10523e6db46f
[]
no_license
rpt1g12/pyTandem
0fe753d7f1791b69f296835423ceb775b5219956
290dbb54b08f01d9a7ca68b78c9e54e55877cf0d
refs/heads/master
2020-05-21T12:32:23.317670
2018-08-25T13:15:34
2018-08-25T13:15:34
48,549,627
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
import numpy as np import matplotlib.pyplot as plt from lib.myPlots import * #%% cs='y' dataset='wallUnits/6blocks/4A15W11AoA20/'+cs+'+.dat' x,wu=np.loadtxt(dataset,skiprows=1,unpack=True) #%% fig=plt.figure() ax=fig.add_subplot(111) skip=5;ncol=1 ax.plot(x,wu,markevery=skip,label=cs+'+') ax.set_xlabel(r'$x/L_c$')...
[ "rpt1g12@soton.ac.uk" ]
rpt1g12@soton.ac.uk
fdf5b089bedb50f027fe295664b779f0d6e7114f
6df6f63d532b74c5a0dc627c15804124da3e0482
/main_app/models.py
221c21828edbf0f02655f1ae33a0a9ccb216a7dd
[]
no_license
rmiller999/react-pokedex
8831a07dab1da64d6edaa43c884d130e3c93a22c
b887dd2648e0af98e40eef183e4af43cf5b61c41
refs/heads/master
2023-01-30T11:00:06.280994
2019-08-23T05:02:06
2019-08-23T05:02:06
201,997,335
0
0
null
2023-01-04T06:59:48
2019-08-12T19:40:32
JavaScript
UTF-8
Python
false
false
172
py
from django.db import models # Create your models here. class Pokemon(models.Model): name = models.CharField(max_length=100) def __str__(self): return {self.name}
[ "rmiller9@Reids-MacBook-Air.local" ]
rmiller9@Reids-MacBook-Air.local
fb0cfa84b9580619c89ff2d3e25023083135ceae
2a38b08e2c91fdb09364e1cd9b3c897198dea6b4
/networking/network1.py
c8543f56caa2791448dc4d8f57e702b6c9e13a65
[]
no_license
vedang-jammy/Python-Programs
fcf14209f102ed2d7cb8259e6ac917b5d06eedab
ae98514f168307727cc27206712d35c8fbf9c2a0
refs/heads/master
2023-05-31T12:50:37.135724
2021-06-13T09:49:30
2021-06-13T09:49:30
340,009,661
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# this is modified version of network.py import urllib.request, urllib.parse, urllib.error fileHandler = urllib.request.urlopen("http://data.pr4e.org/romeo.txt") # we can use this document as a file count = dict() for line in fileHandler: print(line.decode().strip()) words = line.decode().split() for word ...
[ "upadhyevedang18@gmail.com" ]
upadhyevedang18@gmail.com
2a3f06373320ecc765b4bb93855f011b6abd1874
8773e8c9b9a0a6e407f91b6f7c6321141d7e8356
/P0028.py
b36e66bdef3c5322dae8da2cc24b78e41d00f479
[]
no_license
westgate458/LeetCode
1836bb21e8dd95386ccab390f5fd04567a429a02
36d7f9e967a62db77622e0888f61999d7f37579a
refs/heads/master
2021-12-28T04:16:36.875737
2021-12-17T05:48:09
2021-12-17T05:48:09
152,928,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 7 21:30:22 2018 @author: Tianqi Guo """ class Solution(object): def strStr(self, haystack, needle): """ :type haystack: str :type needle: str :rtype: int """ # length of two strings lh = len(haystack) ...
[ "tqguo246@gmail.com" ]
tqguo246@gmail.com
3698ec458f30fc42dbbe567a111d402876e8d3ba
e753345f25fc4190f05e931f940d063ff082f34c
/Saket_Working/Template/Part 1 - Data Preprocessing/sak_data_preprocessing_template.py
bc8d4d38019a231352a4290a0768690cb17b3161
[]
no_license
SaketVats95/DS_ML_Learning
5aac976c063610a316aeea80549f3bf17121cb68
b9e86203bc2df1d1e03d1c8fcef6eeca4f2c2826
refs/heads/master
2021-01-03T04:47:49.241529
2020-02-12T06:07:45
2020-02-12T06:07:45
239,929,114
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
# -*- coding: utf-8 -*- """ Created on Sat Feb 1 15:44:42 2020 @author: saket.vats """ import numpy as np import matplotlib.pyplot as plt import pandas as pd dataset=pd.read_csv('Data.csv') X= dataset.iloc[:,:-1].values y= dataset.iloc[:,3].values #Taking care of missing data from sklearn.impute import SimpleImput...
[ "saketvatslpu@gmail.com" ]
saketvatslpu@gmail.com
3dd9d0da36c9a8bc32c438aa0d4031cdf81d88f1
0805772a2e66c658fcbd178d25f3f13a80dc0af1
/myapp/models.py
389955ad0bd5de7ddad9845211f241758cca7f41
[]
no_license
tianfanw/django_project
9106ff3e00296ace26355305ac8f62642d57f57d
082859b870d2d59625d72dbe38b90fc6652350f8
refs/heads/master
2016-09-06T00:22:51.502464
2014-11-22T09:10:19
2014-11-22T09:10:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
from django.db import models # Create your models here. class Event(models.Model): id = models.IntegerField(primary_key=True) title = models.CharField(max_length=200,null=True) venue = models.CharField(max_length=100,null=True) primaryPerformer = models.CharField(max_length=200,null=True) secondaryPerformer ...
[ "tianfanw@gmail.com" ]
tianfanw@gmail.com
8f3dc9a51853abad1b28cf699f8bdb8a1893060c
b917298d1da552da9767f74dac810b1c7728fc4a
/Pydoodles/Phonesearch/call logs/phonesearch.py
76ae7a904fa6c3e1962916864f25546757381514
[]
no_license
ajhurst95/personal_archive
0eb4e6fba9dd32f9c42c0267d5911e90a233c870
45728d7926781234b7d0e669bc438ceef60492af
refs/heads/master
2022-12-10T09:12:17.745140
2022-12-09T19:40:24
2022-12-09T19:40:24
97,041,437
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
import csv import os number1 = '14042731048' number2 = '13104800010' number3 = '16054754700' number4 = '17202230164' number5 = '4042145819' call_log = '3695.csv' ##with open(call_log, 'r') as csvfile: ## reader = csv.reader(csvfile) ## ## for line in csvfile: ##7 and 8 are the indexes ...
[ "noreply@github.com" ]
noreply@github.com
a8fe19a5ebd13e3f499880b38d3a0c9b3e2e1a01
77c641fd0708b279dddbe01f6af32a8531b93185
/marketsim/gen/_out/orderbook/_TwoWayLink.py
32086a419dd50f0c39f7d88416660a33f3316484
[]
no_license
abensrhir/marketsimulator
aea286afd2bb2e0c8a547bfa879601aef21c0cd5
f9f55c72fb34cdbec42b96737ca20839f26c6299
refs/heads/master
2020-12-13T20:55:55.795344
2014-02-24T22:52:24
2014-02-24T22:52:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
from marketsim import registry from marketsim.gen._out._itwowaylink import ITwoWayLink from marketsim.gen._intrinsic.orderbook.link import _TwoWayLink_Impl from marketsim.gen._out._ilink import ILink @registry.expose(["Asset", "TwoWayLink"]) class TwoWayLink_ILinkILink(ITwoWayLink,_TwoWayLink_Impl): """ (normally ...
[ "anton.kolotaev@gmail.com" ]
anton.kolotaev@gmail.com
4adcfd595197df3f2ce242669e3c597ba48b4670
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_ports_operations.py
be712ee91b79cf9c38e4d15ed2135405fdc6f98d
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
27,188
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 ...
[ "noreply@github.com" ]
noreply@github.com
91f76447f4b10b8571bd0098c0c41d061d1e356c
c0fa2d375f10526afb1575afb6197a7786c1dc8e
/main.py
d1e3523af99541d1b2bed4832e5b77448c63233c
[]
no_license
carlakim/DeSoft
896e972f40b48c86b05c2f3f976f84b7723ac432
fd165b857e02a37f398bb20349234f97c4b278fe
refs/heads/master
2021-01-22T20:19:25.518517
2017-03-17T14:40:42
2017-03-17T14:40:42
85,313,679
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
from aluno1 import ler_numeros from aluno2 import maior n=10 lista = ler_numeros(n) print("O maior numero desta lista é {0}".format(maior(lista)))
[ "Phelipe@navesmuller.com.br" ]
Phelipe@navesmuller.com.br
31566c0e018785f9e8a5b44c34f68ea1f76595a7
1b6e72c903e1cfeec6e15e344dea041f00a89ee9
/PulsedDepositionApparatusv2/Legacy/killall.py
47e74117532a7c70901a4b332be55b710076512b
[ "MIT" ]
permissive
illyanyc/HydrophobicGlassStudies
057ea816b249367a3a23ebedee71f07f084da506
9aaf9269e54ccf6d33525b7b548664d54b77298a
refs/heads/main
2023-05-12T03:03:46.654300
2021-06-08T00:11:44
2021-06-08T00:11:44
374,827,591
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
import RPi.GPIO as GPIO import time import datetime import os import glob import time import readtemp import peltiercontrol as p import datalogger as d p.finish(True)
[ "illya@illyas-MBP.lan1" ]
illya@illyas-MBP.lan1
223d15aa59b73791af3a6b0a32075d3e44e5e0e1
12c41119156dd3783c3801e07f5f973289f26bb0
/aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/ModifyInstanceCrossBackupPolicyRequest.py
73f1bb1dc4142387214d25bfcc8845befb0ee4b4
[ "Apache-2.0" ]
permissive
toywei/aliyun-openapi-python-sdk
bfe0893da38af9b222ce072fd7587d5b6cdce204
ce8f683e3201fca8c473512267f50a34f71e31d3
refs/heads/master
2020-08-07T23:42:00.053692
2019-10-08T08:50:21
2019-10-08T08:50:21
213,626,962
1
0
NOASSERTION
2019-10-08T11:43:15
2019-10-08T11:43:15
null
UTF-8
Python
false
false
3,625
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
264424d1370438442f2db7b23258504c679a9c80
cd19cbd422a4b9913f84cc9806f3d239413865c9
/worldcup.py
e3cb21cb888b670e3a9f49a203673d84ce831f0a
[ "MIT" ]
permissive
ynouri/world-cup-predictions
ca03bc8e2f69e1a7f66a30c46d27b42b711fa973
eb59b4ccc503dbda5c0dc92a994b48b6f6ee5eaf
refs/heads/master
2020-03-19T10:27:22.355625
2018-06-14T03:57:36
2018-06-14T03:57:36
136,371,802
0
1
null
null
null
null
UTF-8
Python
false
false
5,017
py
import pandas as pd import numpy as np import tabulate as tblt from tabulate import tabulate import itertools import operator from gamepredictor import RandomGamePredictor class WorldCup(object): """World cup object.""" def __init__(self, filename): """Initialize world cup with a file containing grou...
[ "ynouri@users.noreply.github.com" ]
ynouri@users.noreply.github.com
15f6d7e9aba3fd053cd2be88a93241d0200b514f
82acb29e50a51a566167aad6d9f43f93dd1c1efb
/lun.py
d6f950f3ab76f3229d44dc648ffc109aa58435ab
[]
no_license
jkbm/apparts
302131e067d25f4065712320627d963713d1e36e
5cc0ddcd9321ca714241e663d576a845a7aaf83d
refs/heads/master
2020-03-26T22:15:26.101314
2018-09-21T09:54:20
2018-09-21T09:54:20
145,444,227
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import requests from bs4 import BeautifulSoup as bs import json import csv from yattag import Doc import webbrowser import os from datetime import datetime import re url = "https://www.lun.ua/%D0%B0%D1%80%D0%B5%D0%BD%D0%B4%D0%B0-%D0%BA%D0%B2%D0%B0%D1%80%D1%8...
[ "bigman_jk@hotmail.com" ]
bigman_jk@hotmail.com
7ad28146b9b1c4cc875ead23d72cd414c02dcce8
9ad3803c73867cc66956c53aa0e0f023c2e9b7a9
/django_demo/wsgi.py
aa566590005f56055dd6fe4568f6002e5d0f76d2
[]
no_license
pcloth/api-shop
2f9d963971ab0eae8db7e48cfaac984ba104d079
6cae15e057172b33ec7d9b3317d033e7ceae71e1
refs/heads/master
2023-07-22T09:00:39.018633
2023-07-07T07:36:27
2023-07-07T07:36:27
165,461,139
43
4
null
2023-03-06T04:46:13
2019-01-13T03:21:05
Python
UTF-8
Python
false
false
415
py
""" WSGI config for django_demo 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefa...
[ "pcloth@gmail.com" ]
pcloth@gmail.com
531a90f48670b96708ad059976d2ba5bf25937fd
cbadf1c08435abc91bd221d2fd9d096717685cc0
/cses/introductory/t1068/task.py
4d13a4212760b1f74adb4ec357a1211f2f7534e6
[]
no_license
x3mka/code-contests-python
9b54738941187284e1f70aad850ae1016ca6cd39
57f473ca84735f9312913967e20a3ac0da32baa8
refs/heads/master
2022-09-01T20:39:05.329559
2022-08-04T13:05:22
2022-08-04T13:05:22
263,626,057
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
import sys def rs(): return sys.stdin.readline().rstrip() def ri(): return int(sys.stdin.readline()) def ria(): return list(map(int, sys.stdin.readline().split())) def ws(s): sys.stdout.write(s); sys.stdout.write('\n') def wi(n): sys.stdout.write(str(n)); sys.stdout.write('\n') def wia(a, sep=' '): sys.stdout.write(sep...
[ "bdimonik@gmail.com" ]
bdimonik@gmail.com
32bdf45230b74244e48175681dbda1abdb4f6883
54c95eb01f63d349b4ff24ee8674cb302f1dd4e3
/pythonplots/fourierstuff/snrangerealtwo2.py
8e3913c2be216daca7f39ca2c15b10c7966e6cc0
[]
no_license
RichardKul/thesis
4b77129fe9ab87fda0a346dbfa0aa4053a628e39
88217953f416bbe3c7c7616179755c83de416592
refs/heads/master
2022-11-18T16:33:57.488802
2020-07-16T09:35:30
2020-07-16T09:35:30
197,007,305
0
0
null
null
null
null
UTF-8
Python
false
false
5,914
py
#!usr/bin/python3 import matplotlib matplotlib.use("agg") import numpy as np import matplotlib.pyplot as plt from scipy.fftpack import fft, ifft from scipy.optimize import curve_fit #matplotlib.rcParams.update({'font.size': 14}) def barrier(a,b,x): return a * x + b def r(r0,a,b,t,D): return r0*np.exp(-barrier...
[ "richard@alte.Kiste" ]
richard@alte.Kiste
e13bb901cd9df199f3950410297a9737603a5b53
72052cdedd5b0cf0952b005eb0045c437224e337
/Day6b.py
fe9c6610683c9c21ec1d1af88856d23b022fb117
[]
no_license
jefallon/adventofcode2020
d0489394d5c90ba0bb638a60b7397a7028e1f699
4bb3339a2dfd551ca38872052be6bc68ab1ce1cd
refs/heads/master
2023-02-03T13:42:55.610375
2020-12-25T23:08:31
2020-12-25T23:08:31
318,025,167
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
def groups_sum(infile): yes_sum = 0 with open(infile, 'r') as f: this_group = set('abcdefghijklmnopqrstuvwxyz') for row in f: responses = row.strip() if responses == '': yes_sum += len(this_group) this_group = set('abcdefghijklmnopqrstuvwxy...
[ "fallonje@adelphia.net" ]
fallonje@adelphia.net
5194708e4cb011418ca453bde54265f86a22abd6
fd48fba90bb227017ac2da9786d59f9b9130aaf0
/digsby/src/gui/uberwidgets/formattedinput2/FormattedExpandoTextCtrl.py
eb6cbfe7288e350f9b8f5536a12e7a9dc75c2ac0
[ "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
niterain/digsby
bb05b959c66b957237be68cd8576e3a7c0f7c693
16a62c7df1018a49eaa8151c0f8b881c7e252949
refs/heads/master
2021-01-18T10:07:10.244382
2013-11-03T02:48:25
2013-11-03T02:48:25
5,991,568
1
0
null
2013-11-03T02:48:26
2012-09-28T02:24:50
Python
UTF-8
Python
false
false
8,255
py
''' Prepares FormattedExpandoTextCtrl and FormattedTextCtrl dependant on platform On Windows includes spellcheck mixin while on Mac it does not because spellcheck is provided by the OS ''' from gui.uberwidgets.formattedinput2.fromattedinputevents import TextFormatChangedEvent import wx wxMSW = 'wxMSW' in wx.Platfor...
[ "mdougherty@tagged.com" ]
mdougherty@tagged.com
b186256f20c492cec5e909922ed7a5ab603e0044
3fd8a3e3f37f9db258df63d8565239b8b8be0f24
/basic_python/try_range.py
6b594db09eecc7eed9296be9b513002ca6b94dc2
[]
no_license
raveena17/workout_problems
713a3e1a6ec513c1ee8b878519171150c6858aa4
004812cb7abf096d6f5d20181a29c16f8daaac55
refs/heads/master
2021-03-12T19:27:08.013266
2017-09-08T16:11:32
2017-09-08T16:11:32
102,878,449
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
a=['apple','mango','orange','banana'] for k in range(len(a)): print k,a[k]
[ "linuxuser@5gws004-linux.fifthgentech.local" ]
linuxuser@5gws004-linux.fifthgentech.local
29290a0c6d157dc20436ef2e1f2a9d22a7b614e2
feffb06476500658b4bb5d09adc029db96d33b1d
/Algorithms/Python/Recursion/Nth-catalan.py
dd82ecf08b8ab2295b7693f9be4cdd51ec65985a
[ "MIT" ]
permissive
sahanal-2603/Hacktoberfest-2021
a24d08b7d1acfb066c27d6d0ddbf42dda030a9a2
edb49ba000a5827564f5902a48d7e85f2b398e15
refs/heads/main
2023-08-25T19:45:04.210869
2021-10-04T20:00:21
2021-10-04T20:00:21
413,565,017
1
0
MIT
2021-10-04T19:57:29
2021-10-04T19:57:29
null
UTF-8
Python
false
false
588
py
# A dynamic programming based function to find nth # Catalan number def catalan(n): if (n == 0 or n == 1): return 1 catalan =[0]*(n+1) catalan[0] = 1 catalan[1] = 1 for i in range(2, n + 1): for j in range(i): catalan[i] += catalan[j]* catalan[i-j-1] return catalan[n] for i in range(10): print...
[ "jagjit.waris@gmail.com" ]
jagjit.waris@gmail.com
c38f64648780fe24938819e7a021e775e5b9144a
2aba3c043ce4ef934adce0f65bd589268ec443c5
/codility/lessons/lesson15/abs_distinct.py
20cee5b98361ce77f0c60a5866368cb270aedd84
[]
no_license
kambehmw/algorithm_python
4f66593b77039d90515d1fcbecacdab8c811b92f
17222399dcc92fd8f908e5774a9883e2e89c486e
refs/heads/master
2020-06-02T12:44:11.322356
2020-05-18T13:22:05
2020-05-18T13:22:05
191,157,113
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
def solution(A): result = set() for a in A: if abs(a) not in result: result.add(abs(a)) return len(result) if __name__ == '__main__': A = [-5, -3, -1, 0, 3, 6] print(solution(A))
[ "kanbe.hmw@gmail.com" ]
kanbe.hmw@gmail.com
9cf3b3f27866c7a5cfbda59ec62d4b8f31c6c2b2
339376b825d7de150103d5e5f51c6f420bcf1236
/oauth2/src/oauth2helpers/__init__.py
f32b622f42e79601c8553ec392ad3e5dfa3b5203
[]
no_license
pshenyaga/python-playground
b1b268bf114c5022b358b8c08440aa49ad7370b5
2620664607443b3f1b679e9d1e840c64cd6fd544
refs/heads/main
2023-04-16T04:34:19.061967
2021-04-22T22:36:38
2021-04-22T22:36:38
331,105,632
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from .utils import ( build_url, encode_client_credential, decode_client_credential ) __all__ = ['build_url', 'encode_client_credential', 'decode_client_credential']
[ "afw@afw.net.ua" ]
afw@afw.net.ua
6c140f4bf44f22f4502a8fa0fb63036e50dd0e0e
0f258170c095d70cdeec1ab3c851c0a3f85c4e10
/5-conditional/hello.py
41e5d1b09208128ce8536ddab168b4a3cc1f3fea
[]
no_license
ruzguz/python-stuff
a45b54ef4f3a45c45bce52158b32470eff2fe00b
f5e30b875a68d9666c067e31ebec893a06ba3c5b
refs/heads/master
2022-09-05T00:09:26.383209
2020-05-28T21:12:32
2020-05-28T21:12:32
261,858,503
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
def say_hello(age): if age >= 18: print('Hello sir') else: print('Hey kid') def main(): age = int(input('How old are you?: ')) say_hello(age) if __name__ == '__main__': main()
[ "rusbenguzman@gmail.com" ]
rusbenguzman@gmail.com
10769c7f2b8f859c8a61606f6b4dee0687b7b409
a8ec1d646d2d114f47ff1af81091bf4889d46d71
/NestingDepthCodeJam2020.py
713d5ee32e7e6ca4615586a2b8e28773b1a45acb
[]
no_license
rabahbedirina/GoogleCodingCompetition
3fc579de4694771b472211f188482db8242b572d
79b75df7ad6d9702358852c50a5a719c7a838b30
refs/heads/master
2022-04-12T00:08:26.661866
2020-04-05T11:35:35
2020-04-05T11:35:35
250,253,829
1
0
null
null
null
null
UTF-8
Python
false
false
352
py
def main(): s = input() y, l = '', 0 for i in s: i = int(i) for j in range(i-l): y += '(' for j in range(l-i): y += ')' y += str(i) l = i for i in range(l): y += ')' return y t = int(input()) for i in range(t): print("Cas...
[ "bedirina.rabah1993@gmail.com" ]
bedirina.rabah1993@gmail.com
0abe73b62ca03e646118a8c8c2a50338dd5c2238
8291b4790bf9c1381c599177e9adf994cf71ad46
/checkout/migrations/0002_auto_20180822_1357.py
1624937ce1b6feb51dfb2a3148e2dd82be5de34b
[]
no_license
ringhio79/ecommerce
06dc5edaed7d74c4ed8b05a9d964ebbbed040b17
6668c72e7daa954d260113bd6f0d9f959e7fc411
refs/heads/master
2020-03-26T21:22:15.175594
2018-08-24T15:10:12
2018-08-24T15:10:12
145,383,847
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
# Generated by Django 2.0.6 on 2018-08-22 13:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('checkout', '0001_initial'), ] operations = [ migrations.AlterField( model_name='order', name='date', fie...
[ "gigi108@gmail.com" ]
gigi108@gmail.com
a65f673d101d1225381df4757e6710a796a2a320
853d4cec42071b76a80be38c58ffe0fbf9b9dc34
/venv/Lib/site-packages/networkx/algorithms/bipartite/projection.py
ffa5405958ff0e3d50185832e1b21f40ec34067e
[]
no_license
msainTesting/TwitterAnalysis
5e1646dbf40badf887a86e125ef30a9edaa622a4
b1204346508ba3e3922a52380ead5a8f7079726b
refs/heads/main
2023-08-28T08:29:28.924620
2021-11-04T12:36:30
2021-11-04T12:36:30
424,242,582
0
0
null
null
null
null
UTF-8
Python
false
false
17,002
py
"""One-mode (unipartite) projections of bipartite graphs.""" import networkx as nx from networkx.utils import not_implemented_for __all__ = [ "project", "projected_graph", "weighted_projected_graph", "collaboration_weighted_projected_graph", "overlap_weighted_projected_graph", "generi...
[ "msaineti@icloud.com" ]
msaineti@icloud.com
06359a46755e79ec9b1f40bdeec2baacb9150793
c1490a5749a8ae541834cc132561b6a846acdba7
/python/examples/computational_cost.py
a7793c51364b8f34390f2d64fc2b1237d6a1bfd9
[]
no_license
allera/One_Dim_Mixture_Models
446c3c47d8a04862882ef40bd39af94089f93a54
6df8b73c8289c7f28e8ec0bd2f58e7a9ca477758
refs/heads/master
2021-06-01T22:43:21.329610
2020-11-16T18:43:41
2020-11-16T18:43:41
150,863,801
0
1
null
2018-09-29T13:41:48
2018-09-29T12:49:19
Matlab
UTF-8
Python
false
false
3,682
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Oct 13 11:51:35 2020 @author: alblle """ #Example script to launch fit 1 dimensional mixture model. #Add the toolbox to path import time import os import sys import numpy as np toolbox_path = "../code" sys.path.append(os.path.join(os.path.abspath...
[ "llera.a1@gmail.com" ]
llera.a1@gmail.com
a9f79e7b48f9cf3f29dd1c182f1d9c2383e76811
1977dfcd971bb80fd5926f00a86d37c21cf80520
/y/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/compute/v1/compute_v1_messages.py
4118a818714f4254ba137d38203a47c482413f3b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
camidagreat/music_game_poc
fd39cd1bbcddaee6ccac2601b95ec81d0358dbf8
be3c69c026a254078e1dbcee936b368766092a5e
refs/heads/master
2023-01-08T22:12:05.372029
2020-04-22T19:40:31
2020-04-22T19:40:31
204,744,171
0
1
null
2022-12-10T07:53:06
2019-08-27T16:27:00
Python
UTF-8
Python
false
false
1,773,776
py
"""Generated message classes for compute version v1. Creates and runs virtual machines on Google Cloud Platform. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding package = 'compute' class Acc...
[ "l.bidigare.curtis@gmail.com" ]
l.bidigare.curtis@gmail.com
c4a9b3675da0722f28aae39e7cee2bec07ee8c33
e9c46b7cfaf7621cf6d496883eb1a5f4aff31f39
/pages/choices.py
b456a74b4d46524799e011f6de7c25adf626a376
[]
no_license
dancecentreuk/balletdanceuk
c9d069e41d4ad95c5dbbb2c8970d5aba081c3558
75253e5b4a7fc1bafc915c2fb2dee097294b37f7
refs/heads/main
2023-04-01T21:29:19.054513
2021-04-01T12:17:21
2021-04-01T12:17:21
341,219,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
day_choices = [ ('sunday', 'Sunday'), ('monday', 'Monday'), ('tuesday', 'Tuesday'), ('wednesday', 'Wednesday'), ('thursday', 'Thursday'), ('friday', 'Friday'), ('saturday', 'Saturday'), ] course_level_choices = [ ('complete_beginners', 'Complete Beginners'), ('beginners', 'Beginn...
[ "dcuk@dcuks-MacBook-Pro-2.local" ]
dcuk@dcuks-MacBook-Pro-2.local
1c3101c740b69674dae5334b10892e27236535b0
6b9dcb377e0a6054e21acb04a5088a7c1609c392
/Demo4/4-9-5filter.py
8732e92392e54e484f2e3af46831e777aed0f164
[]
no_license
Link-Secret/Python-Learn
d8c0bc0e7cec6e9b606ed049fca69ab3d1ef54b7
1ad5fc135cbfd825dad47885d55cbe93eb3cb757
refs/heads/master
2020-03-07T17:01:02.400240
2018-06-13T10:03:47
2018-06-13T10:03:47
127,597,601
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
#@Time : 2018/4/9 19:13 #@Author: zjl #@File : 4-9-5filter.py import MySQLdb #获取连接 try: conn = MySQLdb.connect( host = '127.0.0.1', user = 'root', password = 'admin', db = 'news', port = 3306, charset = 'utf8' ) # 获取数据 cursor = conn.cursor() cursor.execute("select * from news") rest = cursor...
[ "zj1078184113@163.com" ]
zj1078184113@163.com
b1008c588c7b60744b49bb7d13d27106d8254a1c
07fd5c5bd9318d746f740cb8872a6952e04469c5
/mp3scrub/netquery/googquery.py
e5ee75db99f93c80805097b9b07d8f6b6b3e8e48
[ "MIT" ]
permissive
sgoranson/mp3scrub
5437d8c8114bf2c9156de8fdad29b80136da0cbc
3439e3af7d4ec5a3e032da38eed6227f14a83c28
refs/heads/master
2021-01-17T12:31:39.026947
2013-12-22T03:23:53
2013-12-22T03:28:40
15,369,579
2
0
null
null
null
null
UTF-8
Python
false
false
3,388
py
'''Module to use google to fix spelling in artist names. This is risky, but it works surprisingly well. You do a query for 'artistname wiki', and 90% of the time the first hit will be the wikipedia page for that artist with perfect spelling. Of course you need to validate that it's the page you think it i...
[ "steve@stevegoranson.com" ]
steve@stevegoranson.com
38f36446c414d92ef4f6c1fd6834fa08bdef9ce0
444af3ec948c29a76d1810555ea562f2be8d4db2
/recognize_faces_image.py
651de509f50d24a6cc5f65ad11b5efbe792c6515
[]
no_license
alinasomcutean/Face-recognition
5fc117de8943970955bc53ff4ff6987dd2cbe3fb
6e35de01dc93178bc14868309d099e859f83ebce
refs/heads/main
2023-03-26T02:40:32.712521
2021-03-25T20:00:15
2021-03-25T20:00:15
351,560,118
0
0
null
null
null
null
UTF-8
Python
false
false
2,122
py
import face_recognition import pickle import cv2 import tkinter as tk from tkinter import filedialog #Load the known faces print("[INFO] loading encodings...") with open("encodings.pickle", 'rb') as pickle_file: data = pickle.load(pickle_file) #Hide the root window root = tk.Tk() root.withdraw() #...
[ "noreply@github.com" ]
noreply@github.com
01b19ec146d5cbebdd184e6ccca4d544340f07fc
1c19a34c8032b61ca1c5264ca4528e76a5c7c3ce
/UI_part/JIRA_E-Streamer/JIRA_Handle.py
45aab0df5281f86b629a37557dd87f9084f24ae5
[]
no_license
hyun-kyungjoon/python_tool
e1bcbb24d311a7b22d34cb2b1fc38d8d58f01a92
9d402da410c539e9a0b66cafa0be63499c758c9e
refs/heads/master
2021-01-20T01:35:19.804465
2017-04-06T11:57:01
2017-04-06T11:57:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,768
py
from jira.client import JIRA import jira.config from Dev_Master import Dev_Meta import xml.etree.ElementTree as ET from xml.etree.ElementTree import Element, SubElement, dump, ElementTree event = 'dev' ## dev / release dev_local_path = 'd://project//python//JIRA_Estreamer//' def GetPath(): global ev...
[ "ybin.cho@lge.com" ]
ybin.cho@lge.com
bde9614f239a47ba1a067267cc1afeecb5cb536b
23242d04c73078e4c95b0e9f10055a4fddd7dcc7
/space_invaders_V2.py
7f7940d9e1d722fd2f43912942b75a71b71d763b
[]
no_license
BogdanAlinTudorache/Space-Invaders
f8780b187b56d629687a45edd5f8c52da50c1c8c
50617e95d5e2acb445edb5da09d9ff32b012ba41
refs/heads/master
2021-01-16T12:01:25.628108
2020-03-05T13:08:53
2020-03-05T13:08:53
243,112,567
0
0
null
null
null
null
UTF-8
Python
false
false
5,178
py
import turtle import os import math import random # Set up the screen wn = turtle.Screen() wn.bgcolor("black") wn.title("Space Invaders") wn.bgpic("space_invaders_background.gif") # Register the shapes turtle.register_shape("invader.gif") turtle.register_shape("player.gif") # Draw border border_pen = turtle.Turtle()...
[ "noreply@github.com" ]
noreply@github.com
ba17588ca0116a8d16f4f1bf0ed182cd3cb96544
0675200b43186d0e8d98e4eb9c510c23fd05dc8a
/app/routes.py
60bac18a45ea771bbcd872ab8d53116141b6b15b
[]
no_license
JBrandt72/microblog
aee395d50d5b100328b13bdd51bca36a3f92de19
0261cf723fbf8079ce0ba2d04f65c75a5896f348
refs/heads/master
2020-03-30T16:55:15.170741
2018-10-12T16:24:04
2018-10-12T16:24:04
151,432,970
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
from flask import render_template, flash, redirect, url_for from app import app from app.forms import LoginForm @app.route('/') @app.route('/index') def index(): user = {'username': 'Jon'} posts = [ { 'author': {'username': 'Jim'}, 'body': 'Beautiful day in Providence!' ...
[ "jbrandt@email.neit.edu" ]
jbrandt@email.neit.edu
df64cb7361564855cae451d0263c6295b72ca23b
8041be6ff906459b4703e2c195f00c450143c669
/estrutura_de_repeticao_exercicio45.py
fbdd0cc596a485f61c6ec535fa0f25a275e7212d
[]
no_license
Braitiner/Exercicios-wiki.python
7718826bed5477601b6a478878a2dfc17c940576
0af856ace1ccf5a85b67796e0b04ec70525255e6
refs/heads/master
2022-12-15T00:47:14.492879
2020-09-22T00:18:29
2020-09-22T00:18:29
279,133,771
0
0
null
null
null
null
UTF-8
Python
false
false
2,978
py
# Desenvolver um programa para verificar a nota do aluno em uma prova com 10 questões, o programa deve perguntar ao # aluno a resposta de cada questão e ao final comparar com o gabarito da prova e assim calcular o total de acertos e a # nota (atribuir 1 ponto por resposta certa). Após cada aluno utilizar o sistema de...
[ "noreply@github.com" ]
noreply@github.com
edfb4f54710c83ec623aba5916e44070aaf95dec
5db5f9fafe47d2b6448c51a47d49ec0e18a7fe50
/app.py
c849d8a402ac3b575ac3ade7107361421481e90f
[]
no_license
pepetikesavasiddhardha/leafdiseaseclassification1
91508df127d5dd8b7306db002ef453312c997d3f
a545c0fe36fbbd1d30d22b378050dc336f9c49b9
refs/heads/main
2023-04-21T02:15:12.847775
2021-05-01T08:58:51
2021-05-01T08:58:51
363,364,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,572
py
import streamlit as st import io import numpy as np from PIL import Image import tensorflow as tf import efficientnet.tf.keras as efn st.title('plant leaf disease classification') st.write('based on image uploaded we will tell it is healthy or not') gpus=tf.config.experimental.list_physical_devices("GPU") if...
[ "noreply@github.com" ]
noreply@github.com
eedea1cecfb829ca82ec3dea0000b3273d0dd90c
d15b5986ec50381d6f587d83e43d94be5776fff2
/domain_checks/bs_mapping_check.py
4109ad6a7378eeb3f01141747358b811c6e6f9b9
[]
no_license
JenkeScheen/hydra_quintup_analyses
db61b3f504dfb28c55ebdbfda3d29d8c163c12ed
560b68b5cf5893f98325aa3a2dab4ccf93daf101
refs/heads/main
2023-04-02T20:45:11.370122
2021-03-26T13:07:03
2021-03-26T13:07:03
348,379,971
0
0
null
null
null
null
UTF-8
Python
false
false
2,395
py
#!/bin/python import glob import csv import re import pandas as pd import itertools import numpy as np from tqdm.notebook import tqdm import csv import matplotlib.pyplot as plt import seaborn as sns plot_kwds = {'alpha' : 0.5, 's' : 80, 'linewidths':0} from collections import defaultdict from rdkit import Chem, RDL...
[ "jscheen@MacBook-Pro-e8cc" ]
jscheen@MacBook-Pro-e8cc
056be8efb36068c83860f67d71de013dbd5b6822
b14a6b2b78e2441dd872c42018b4fec25d10189e
/restapi/tests/test_urls.py
7e9ff1fec1f221365855a8574a84fdf441c2da95
[]
no_license
Maxim-Shirokov/pets-api
59d163e82f7fea354edd3c72efed10a34ab6362e
a41931551e282c0273631488923246f317f624d2
refs/heads/main
2023-06-03T06:31:54.620225
2021-06-20T15:48:35
2021-06-20T15:48:35
375,979,424
0
1
null
null
null
null
UTF-8
Python
false
false
1,904
py
from django.test import TestCase, Client, override_settings from rest_framework import status @override_settings(API_KEY='1') class HeaderTest(TestCase): client = Client() def test_get_with_bad_header(self): response = self.client.get('/pets', HTTP_X_API_KEY='2') self.assertEqual(response.st...
[ "maxim.shirokov547@gmail.com" ]
maxim.shirokov547@gmail.com
96195a397e80348016e9ddf846478112f9dadba0
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/connectivity_parameters_py3.py
2f6d375168c517e8f45f0201c2a3c695caf2c4b8
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,034
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
d57c34be95b4a4e63226be4b67e05cb99573eb54
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03326/s618374476.py
ab457fda2c9fc24c21e8f4fbf5a51f82f641ff89
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import sys, re, os from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import permutations, combinations, product, accumulate from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_upper...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a0df33525ec555366deabc675e47f9436e3b0b04
f1e3fcea27e12a8cb46fae8a5d50170760aa522d
/pyqt/QFileDialog.py
8b2729aefebbba4bf6dedd5958b8a3e619e0f4a4
[]
no_license
ithuanhuan/Demo
972973293fd0444819cd6cd096628ab7d04731d1
131ef91732e23d6bbeaa63191b348867ab2a817f
refs/heads/master
2020-03-10T07:05:21.703768
2018-10-15T10:23:34
2018-10-15T10:23:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,804
py
import sys from PyQt5.QtWidgets import (QMainWindow, QTextEdit, QAction, QFileDialog, QApplication) from PyQt5.QtGui import QIcon class Example(QMainWindow): def __init__(self): super().__init__() self.my_UI() def my_UI(self): self.textEdit = QTextEdit(...
[ "huan@huan.local" ]
huan@huan.local
7d84fefe93739d237883d208b8b777c2c474ae3a
e910e8cf8fdd8b3bba13690ee30cbf5c3eb4b834
/Proj_4.py
155035b0d6e490514e0f08b8d70eb4b09ba265d6
[]
no_license
WizzCodes/Guess-the-number-game
6dbaad25a7773dadc979c2c99627cb0768b1ff52
05f772ecb3d43533549cc3108a5514187b881087
refs/heads/main
2023-05-03T16:22:47.209555
2021-05-29T07:35:26
2021-05-29T07:35:26
371,909,667
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
n = 18 Number_of_guesses = 1 print("Number of guesses is limited to only 9 times:") while (Number_of_guesses <= 9): guess_number = int(input("Guess the number:\n")) if guess_number <= 15: print("You enter the less number, please enter the greater number. \n") elif guess_number < 18: ...
[ "noreply@github.com" ]
noreply@github.com
d2929105719c49431e5aeed995945ebba0a3bbef
bc9c9689b3a9c2fa48816479bd9771d7729cdc3e
/week-04/day-03/countletter/test_count_letter.py
a345f90855f1dfb1b1815ba52171e4c859e2ffb8
[]
no_license
green-fox-academy/Atis0505
565666d0edd78406e1f1eff237a8e67d966411c6
63939f821805aa2a5525d8eed55e1c8ab2945a4f
refs/heads/master
2021-09-09T18:42:45.937310
2018-03-18T23:28:42
2018-03-18T23:28:42
102,183,981
1
1
null
null
null
null
UTF-8
Python
false
false
646
py
import unittest import count_letter class CountLetterTest(unittest.TestCase): def test_empty_input(self): self.assertEqual(count_letter.count_letter(""), {}) def test_one_letter(self): self.assertEqual(count_letter.count_letter("a"), {"a":1}) def test_two_letters(self): self...
[ "attilakorom2014@gmail.com" ]
attilakorom2014@gmail.com
7460a0a34fdbc43ad3c9250eb52a22cceb8e8eb3
bacb1fcaad4e3768e3a86429087aed62d6843ead
/user_service/db/user_models/migrations/0004_auto_20180708_0211.py
19f3ea7affe8ec47291429c5adc71234b7e009c3
[]
no_license
rkiranpatil42/User_service_Quora
7a8bd0e32ccc2363dd707872d92812513cd46ff2
8596f8878eae3b30e674ff549979c36d1e9cf748
refs/heads/master
2020-04-08T02:00:58.040559
2018-11-24T09:03:44
2018-11-24T09:03:44
158,919,129
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-07-08 02:11 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user_models', '0003_auto_20180706_1324'), ] operations = [ mi...
[ "hemantb@redbytes.in" ]
hemantb@redbytes.in
65fe7515c297c9d067a2c31ceefa1027b85d2ccf
e1cb2182417f1869feddff37a9aa7d3c3571f5f2
/fall-2017/Machine Learning-CSCI 5622-001/assignments/hw1/knn/cross_validation.py
206531e09d09f3a4283ef26d6b325fac1a4cbfa5
[]
no_license
kumarbhrgv/KNN
7911622b8cd0b1be1ff4638d9190b8c51a013a72
94562a313c8e05dd3a2f0872a0c7ca57c7e6ab96
refs/heads/master
2021-07-08T14:45:30.542751
2017-10-05T18:53:10
2017-10-05T18:53:10
105,927,032
0
0
null
null
null
null
UTF-8
Python
false
false
2,677
py
import argparse import random from collections import namedtuple import numpy as np from knn import Knearest, Numbers import math random.seed(20170830) SplitIndices = namedtuple("SplitIndices", ["train", "test"]) def split_cv(length, num_folds): splits = [] indices = list(range(length)) random.shuffle(in...
[ "kumarbhrgv201@gmail.com" ]
kumarbhrgv201@gmail.com
b3124a2f09fa421c83aa822d4f66ed4f2b74533c
aad5f4c9e86192804441639c9edd2fe376e82df7
/Machine Learning A-Z/Section 8 - Decision Tree Regression/Decision_Tree_Regression1.py
d1cddb73cecea08bed85f39d98700240fbdaf794
[]
no_license
abkedar/Machine-Learning-A-Z
376df394a38d7dc1d08707dceb2373aebf8d5b29
2dec5556179a6b2179d50c6b12f796884099a0e8
refs/heads/master
2021-05-05T06:15:31.250479
2018-04-13T06:34:45
2018-04-13T06:34:45
118,793,205
0
0
null
null
null
null
UTF-8
Python
false
false
1,719
py
# -*- coding: utf-8 -*- """ Created on Thu Dec 07 15:49:20 2017 @author: kd """ import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Position_Salaries.csv') X = dataset.iloc[:, 1:2].values y = dataset.iloc[:, 2].values # Splitting the da...
[ "noreply@github.com" ]
noreply@github.com
fab7a44797cde78c417c1e69b170b73b0b21b0ee
4396eb1f15d9f9427ee281aff361e6dc76dbe503
/bse_monthly_price_data.py
14af20c15fd6feb2d02fd21c45525c508548196f
[ "BSD-3-Clause" ]
permissive
hegman12/stocksandcharts
8d7c612672a8313551503c09b5f1633a3ea3e871
5b6022f3b41d8160d4f95947afba2202b86e13ca
refs/heads/master
2020-09-01T19:05:05.826646
2019-11-05T18:33:21
2019-11-05T18:33:21
219,032,726
0
0
null
null
null
null
UTF-8
Python
false
false
3,153
py
import selenium.webdriver as webdriver from selenium.webdriver.common.proxy import Proxy,ProxyType from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from selenium.common.exceptions import NoSuchElementException from mysql.connector.errors import IntegrityError from selenium.webdriver.chrome...
[ "hegman12@gmail.com" ]
hegman12@gmail.com
89d623c28a996e84828f0a45a67a973512b06bb1
bc963c3c109c2d39c42f305ae555dc32625b2ba3
/exp/030.py
d28143b48203c034c57b7b6c2bb676e65f627d7d
[]
no_license
osuossu8/BirdCLEF2021
0d03d68f0fdddd2859e8a323df99e56ec47000fd
99a4f2121355f8bb2c6db330dad90a2fd7b9aaff
refs/heads/main
2023-05-25T05:50:29.076941
2021-06-01T11:31:12
2021-06-01T11:31:12
359,748,872
0
0
null
null
null
null
UTF-8
Python
false
false
32,075
py
import ast import gc import os import math import random import time import warnings import sys sys.path.append("/root/workspace/BirdCLEF2021") import albumentations as A import cv2 import librosa import numpy as np import pandas as pd import soundfile as sf import colorednoise as cn import timm import torch import to...
[ "osuosuossu18@gmail.com" ]
osuosuossu18@gmail.com
fb6e59194cd56c41ffbf2f949fdb863868fbed1e
82f998aec53e7bc49eb5aad4fdb18cbe72976b89
/transformers/configuration_albert.py
144678774cdc1e5b1ea30145fdf9204c810d854a
[]
no_license
MatNLP/SMedBERT
6ab8d2749a8a26005eef36dc347f779c9e6a217b
8dd549f902ca59ad2b84bf3b951213565fde4dc0
refs/heads/main
2023-09-02T03:22:13.298661
2021-11-17T05:44:50
2021-11-17T05:44:50
372,204,217
75
13
null
null
null
null
UTF-8
Python
false
false
5,303
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may ...
[ "czr@daddy.com" ]
czr@daddy.com
10cabdec7e10d144746752e0c1d59045fc66cc76
9d1c769fb97c9287fc86cf582ac84bbf9cfdeec8
/PythonFunctionalProgramming(Advanced)/7.Lambda Expression.py
8b180d4009858955fcd193726d37957f15f09c82
[]
no_license
rohan9769/Python-Coding-and-Practice
a0bb1b560e995b2f484b6e6a9cc42e4bac9e84cc
27da1d4c3d0a1067fb8ce7f937d469bc4a2d2189
refs/heads/master
2021-02-10T09:15:17.999508
2020-03-22T13:12:44
2020-03-22T13:12:44
244,368,856
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
#Lambda Expression - one time anonymous functions # lambda parameter : action to take on the pararmeter from functools import reduce my_list = [1,2,3] # def multi_by2(i): # return i*2 def check_odd(i): return i%2 != 0 def accumulator(acc,i): print(acc,i) return acc + i print(list(map(lambda i: i*...
[ "rohannayak2071@gmail.com" ]
rohannayak2071@gmail.com
5397c4ec035464d3f1523de7b3931fc7aed77c1d
031d986fedef859c56d862fad71be339eec8365c
/saf/data_utils/prepare_datasets_from_tables.py
c847a0d7361c17c1bf042161a2107ac0bb1888aa
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
pc-seawind/google-research
bcdbf8bebf9a4a60a2407356a6ef3cdafe333070
a7f09315705b650b75be08370cc4c70edb11e475
refs/heads/master
2022-11-13T20:10:47.006299
2022-11-04T23:29:14
2022-11-04T23:32:35
245,136,474
0
0
Apache-2.0
2020-03-05T10:44:20
2020-03-05T10:44:19
null
UTF-8
Python
false
false
10,346
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
9fb3002d0ea931f0ff68f03c99976f9107684ae3
b71cc253e5acc9a84a5f2521c3be62652c605f71
/evolutionaryAlgorithmPythonFight.py
1091d4f9bccb413bcd2696f933a65c815056bdea
[]
no_license
Reandrews96/EvolvingAlgorithms
78fd9048077d9125ea51ea6ca0a24f74862ae828
7a2d6a7a846592a590775319e2ebc22b5f8ccfcb
refs/heads/master
2021-08-14T06:58:51.942691
2017-11-14T22:25:10
2017-11-14T22:25:10
110,166,125
0
0
null
null
null
null
UTF-8
Python
false
false
5,745
py
'''Practice using python and design a basic evolutionary algorithm''' '''Idea: Evolve a dog so that the best balance of protective and friendly happen''' import random import math class EvolvingDog(): def __init__(self, g): self.genome = g self.name = self.createName() def createName(self): ...
[ "reandrews@vassar.edu" ]
reandrews@vassar.edu
24b0d94b1351c0914bc927de94b884458de108d5
b82057c77dd4d00ff9bca9a979a1a3075f0528c4
/Exicom_gateway/checks/ec500_dc_battcumdischarge_ah_status
753f682ed293b267a705e11b7e3da516b6af3913
[]
no_license
subhash-007/photography-blog
7ee0c4f930fee29d76106c45b09e6b76cb19cf56
b1ae66794b48bfe3862cb6e727a3a15a6ef79024
refs/heads/master
2020-03-31T04:33:00.276628
2019-07-12T06:00:39
2019-07-12T06:00:39
151,910,256
0
0
null
null
null
null
UTF-8
Python
false
false
2,982
#!/usr/bin/python """ dc_battcumdischarge_ah_status of poller device. This is part of device application. Poller script determines the dc_battcumdischarge_ah_status of device. poller script takes the snmp value of OID .1.3.6.1.4.1.38016.14.2.10.3 from snmp agent of device at specific interval. Device dc_battcumdischar...
[ "sbmoond@gmail.com" ]
sbmoond@gmail.com
9624379f40864e6b8cf41e5f080b724a3b736615
8a81064744318273577ebce67bc3220c47a1378c
/Math/Polar-Coordinates/polar-coordinates.py
82a341120bce9c992f4c9132541348f194144d06
[]
no_license
Fahadeidalharbi/HackerRank
e312c77cfccd3aba0a539dff3019f3aae664d7b0
7ab8e2de728dd5d7b78003c2da68c3f43c049706
refs/heads/main
2023-09-01T00:35:46.472228
2021-09-10T11:57:59
2021-09-10T11:57:59
395,693,379
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
# import cmath package import cmath #read an input value z = raw_input() #get phase angle value pa = cmath.phase(complex(z)) #get modulus r r = abs(complex(z)) print ("{0}\n{1}".format(r,pa))
[ "noreply@github.com" ]
noreply@github.com
83ddd0da28c7fbd5132fec6000ffe09bd0431b62
697e69f5b0809d2574435568b49fbeb54e9bd777
/PreDisulfideBond/SSBOND/extract_unknown_map.py
aa06cd947f66cd97f31c163161ac95a943065629
[]
no_license
gao666999/SSBONDPredict
e66fb9d6d4bfe67eee06585ca20a47c39cf1d10d
61d4b0e1143dd23e76f36cd796ec9515e7de557d
refs/heads/master
2021-06-10T15:08:54.478520
2021-04-26T14:14:33
2021-04-26T14:14:33
166,964,210
2
3
null
null
null
null
UTF-8
Python
false
false
4,703
py
# -*-coding:utf-8-*- import os import time import numpy as np import sys from . import ssbond_distance_map as sdm import math os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3" remove_pairs = open('small_ca_remove.txt','w') def compare_CA_distance(A_CA,B_CA,nameA,nameB): sumCA = 0 for xyz in range(3): sumCA += po...
[ "2646510513@qq.com" ]
2646510513@qq.com
ebaa59145b464c878e084a191fa7c1b024330758
7771b8d10535172faaa19720cfcd2ff83b475da6
/registerlogin/registerlogin/urls.py
383a00eaa8ed73b83d67563062f42d5fa08f26d7
[]
no_license
abhishekrawatdotcom/logrepo
552d06659df9c49863cd092520f6a6deb73bb854
2a948dca717f6c1e520e311e448718f9f4ad1d4a
refs/heads/master
2022-11-26T17:27:42.287984
2020-08-09T06:56:57
2020-08-09T06:56:57
286,184,402
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
"""registerlogin 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...
[ "abhishekrawat1606@gmail.com" ]
abhishekrawat1606@gmail.com
21fe2f6b03ac56dd43ae3a5e3577404f05819754
11cd362cdd78c2fc48042ed203614b201ac94aa6
/desktop/core/ext-py3/boto-2.49.0/tests/devpay/test_s3.py
86665702dcb3bef91d879e2c7171a5c6e2e32913
[ "CC-BY-3.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "ZPL-2.0", "Unlicense", "LGPL-3.0-only", "CC0-1.0", "LicenseRef-scancode-other-permissive", "CNRI-Python", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-or-later", "Python-2.0", "GPL-3.0...
permissive
cloudera/hue
b42343d0e03d2936b5a9a32f8ddb3e9c5c80c908
dccb9467675c67b9c3399fc76c5de6d31bfb8255
refs/heads/master
2023-08-31T06:49:25.724501
2023-08-28T20:45:00
2023-08-28T20:45:00
732,593
5,655
2,244
Apache-2.0
2023-09-14T03:05:41
2010-06-21T19:46:51
JavaScript
UTF-8
Python
false
false
7,410
py
#!/usr/bin/env python # Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ # # 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 ri...
[ "noreply@github.com" ]
noreply@github.com
5993102db04b63b021c0792c45e33184b33f0e7e
dc3d310934705034ab2f5bc4d3a96f07dab9b48b
/venv/Scripts/pip3.8-script.py
d6438c0257f98b46c7098f54e08d33868c8e9a97
[]
no_license
createnewdemo/istudy_test
82197488d9e9fa05e0c6cc91362645fc4555dc1d
806693f2bee13e3c28571d0d75f6b6ea70acf7a0
refs/heads/master
2022-04-19T05:52:53.780973
2020-04-17T17:04:10
2020-04-17T17:04:10
256,507,355
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
400
py
#!F:\pycharmÁ·Ď°\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __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[0]) sys.exit( ...
[ "320783214@qq.com" ]
320783214@qq.com
a301ac41f038fcd5f6e9a30ed172cd363ee6a0e7
d4b344780e893a19d44aed51ebfe514c91e920c2
/aliyun-python-sdk-dds/aliyunsdkdds/__init__.py
ad584ffac768287ea92f9390b2fece32fc60ce65
[ "Apache-2.0" ]
permissive
WenONGs/aliyun-openapi-python-sdk
6d164160eac7a8020e3b8d1960d170e08d2c8f23
b6de95a32030b421665c0833c9d64d92fcaf81c8
refs/heads/master
2023-04-28T06:36:51.740098
2021-05-17T09:37:00
2021-05-17T09:37:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
21
py
__version__ = '3.5.2'
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
a445b35bbefe6208cd66744229ca7fcd7a70689a
aab0dcc5a24bc8a5672b7a3421a2191562897ed4
/svc/utils/config.py
51ccd8f326a014613df51d59e5b8a2fb3dc213e9
[]
no_license
mutabot/magenta
16488feacf70849419a95ff85efed01e26b83093
4ed05d1f42ea840a3e35432b36f526af35d51486
refs/heads/master
2020-03-31T17:01:44.697648
2018-10-10T10:38:22
2018-10-10T10:38:22
152,401,881
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
import json import logging from logging import handlers import os version = '8.8' DEFAULT_FORCE_MISS_TIMEOUT = 20 DEFAULT_ORPHANED_TIMEOUT = 3600 #1 hr timeout DEFAULT_MAX_ERROR_COUNT = 7 # max number of errors before crosspost is disabled DEFAULT_MAX_RESULTS = 10 # max items to fetch from goo...
[ "mshmalko@gmail.com" ]
mshmalko@gmail.com
6219973cf80b1f4a05868143114e8ab3cf001a14
bd8eb18e337277eb7392fd7ef45c02f919d9d169
/read_abc_model_xml.py
092340db48dad68bdfe741703c0bec8e41012f31
[]
no_license
ABRG-Models/IzhikevichABC
284b4bf3313e3e3502a65ed209ecdfd0321a0b59
21514a10c212f60653e2fc458f2c570b526726d2
refs/heads/master
2021-05-02T09:50:22.510998
2019-03-12T16:41:50
2019-03-12T16:41:50
46,976,232
1
1
null
null
null
null
UTF-8
Python
false
false
3,139
py
# Update the model in modeldir (experiment expt) using the given model # parameters. Write out new model.xml file and updated experiment.xml # file. def read_abc_model_xml (modeldir,expt): # Init params: a=0; b=0; c=0; d=0; A=0; B=0; C=0; T=0; vpeak=0; vinit=0; uinit=0; modelxml = modeldir+'/model...
[ "seb.james@sheffield.ac.uk" ]
seb.james@sheffield.ac.uk
34593ba8e2e23d0c3ef78074001d6ce7affcaec9
8821dd0a82a20a6eb0436bb7f03c1467681a0f83
/site/python.py
4366801c21552bad93f66d21b83a7908b63ce007
[]
no_license
nail8787/webserver
dcadb96da3f8a79f87ee37ca06e94ad52141148f
6af2a16a16f77b957d61c9eed6a3fc787acd15ba
refs/heads/master
2023-06-25T17:09:09.791922
2021-07-30T12:32:04
2021-07-30T12:32:04
391,057,496
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
#!/usr/local/bin/python3 import os print("Status: 200\r\nContent-Type: text/html\r\n\r\n<font size=+10>Environment</font><br>") for param in os.environ.keys(): print("<b>%20s</b>: %s<br>" % (param, os.environ[param]))
[ "tcassia@student.21-school.ru" ]
tcassia@student.21-school.ru
0bc822e7ed7ad904e02689f9279244f329d6accf
46d2cab058ebdfabd08aa30ec5e0eb306c783711
/web_flask/3-python_route.py
426e07b3fde7ca60e2a0711e46ea0f321ba02cda
[]
no_license
ntujvang/AirBnB_clone_v2
d7c7f6a7e9383e737ca352fdd300f7f5fcb72063
0de6837c8f23e8f0920e3d70f5939ab667aeb8e4
refs/heads/master
2021-01-22T22:13:16.483116
2017-03-30T22:44:25
2017-03-30T22:44:25
85,519,409
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
#!/usr/bin/python3 from flask import Flask app = Flask(__name__) @app.route('/') def hello_hbnb(): return "Hello HBNB!" @app.route('/hbnb') def hbnb(): return "HBNB!" @app.route('/c/<text>') def c(text): text = text.replace('_', ' ') return "C {}".format(text) @app.route('/python/') @app.route('...
[ "96@holbertonschool.com" ]
96@holbertonschool.com
a68b39719d089be7385ebd172ef646a2da457ca0
e7756d6669b02d2cec07e48025b8a827e9d58906
/friend_sex.py
61f99af4451408336704625e002d9f816efd00f7
[]
no_license
morningrainzhang/itchat
749a4836d14aa40cae7f207ae995d49dea01f62e
ea913963ad3fcc1cb0ce3faa7bbc6bd9e77f0364
refs/heads/master
2021-01-23T15:27:33.247501
2017-09-07T08:18:47
2017-09-07T08:18:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
#-*- coding:utf-8 -*- #! /usr/local/bin/python import sys reload(sys) sys.setdefaultencoding('utf8') import itchat # 使用echarts,加上这段 from echarts import Echart, Legend, Pie itchat.login() friends = itchat.get_friends(update=True)[0:] # 初始化计数器,有男有女,当然,有些人是不填的 male = female = other = 0 # 遍历这个列表,列表里第一位是自己,所以从"自己"之后开始计...
[ "799842527@qq.com" ]
799842527@qq.com
e3fc0f6d05b48298cd8ba5075957f921ecaf0b19
0cdf2767a68fcdd5ae6aad48933985458e3a642c
/modules/server-side/model/servers.py
7cc89bdff11813ca8b5b5ec80050ece6da5f638e
[]
no_license
hyili/SendSwitch
2400725c34be68727c16462470a4fee852e99671
5bbb76281e2a250ac6d8526d10b9e11097217dc8
refs/heads/master
2018-11-03T23:40:55.192596
2018-08-27T23:21:44
2018-08-27T23:21:44
115,926,997
0
0
null
null
null
null
UTF-8
Python
false
false
4,581
py
#!/usr/bin/env python3 import datetime import pymysql import sqlalchemy from sqlalchemy import create_engine, and_, or_ from sqlalchemy.orm import sessionmaker from model.server import Server class Servers(): def __init__(self, logger, db_host, db_port, db_name, db_user, db_passwd): # create sqlalchemy O...
[ "hyili@cs.nctu.edu.tw" ]
hyili@cs.nctu.edu.tw
6cc6b0a21d006115d4c4dd7e24fe354b57ef4966
e6cc0a5a842863076269a69802cdfedb3e489599
/bijibiji/bijitags/file_info_box.py
5addf710189ce2c3d13523b41686bd3413f05576
[ "MIT" ]
permissive
ahui2016/bijibiji-project
34d9d790c0aa33187cac36b5938618024fd33a9d
bae2f5b3c457661734559d318fcf08118de1e036
refs/heads/master
2020-03-25T17:50:07.203158
2018-08-13T13:40:42
2018-08-13T13:40:42
143,998,397
9
1
null
null
null
null
UTF-8
Python
false
false
1,838
py
from typing import Optional from PyQt5.QtCore import Qt from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import QGroupBox, QListWidget, QLabel, QFrame, \ QListWidgetItem, QVBoxLayout from ..bijidb.bijidatabase import BijiDatabase # noinspection PyArgumentList class FileInfoBox(QGroupBox): def __init__(s...
[ "ahui.2015@icloud.com" ]
ahui.2015@icloud.com
1cf6739cbd9ce61a8a3fd37e01aa8bb29226b441
ee91e346206cb6ae9a894e54965dab5c9b300a73
/tasks/des.py
de8f8ba9f8d0d020869ed521d46f0f57b2179ba1
[]
no_license
finzellt/novae
a182c6bd9c95e9c98244b3b4ba16997fc6667838
89dd657a71da1dc7a5a905548a28c9168c5a3c25
refs/heads/master
2021-01-19T06:41:37.460926
2020-06-23T12:46:32
2020-06-23T12:46:32
63,976,969
2
1
null
null
null
null
UTF-8
Python
false
false
3,384
py
"""Import tasks for the Dark Energy Survey. """ import json import os from astrocats.catalog.utils import pbar from bs4 import BeautifulSoup from ..supernova import SUPERNOVA def do_des(catalog): task_str = catalog.get_current_task_str() des_url = 'https://portal.nersc.gov/des-sn/' des_trans_url = des_u...
[ "chimera31@gmail.com" ]
chimera31@gmail.com
063f00b5a48ae92362e6306ce6da50adda629431
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_211/128.py
e12ff8364323062a8ce942d6507e417d019c70c9
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
""" http://networkx.readthedocs.io/en/networkx-1.11/tutorial/index.html https://docs.python.org/3/library/re.html https://docs.python.org/3/library/math.html https://docs.python.org/3/library/collections.html https://docs.python.org/3/library/itertools.html https://docs.python.org/3/library/functools.html#functools.lru...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
7e9bc624c393e992e18b67e221b977c09ff141f9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_245/ch19_2020_03_04_18_17_22_799262.py
8b22222de5aff9dc08c38d569b8da5a45aa29742
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
l1 = int(input("Insira o primeiro lado: ")) l2 = int(input("Insira o segundo lado: ")) l3 = int(input("Insira o terceiro lado: ")) if l1 == l2 and l2 == l3: print("o triângulo é equilátero") elif l1 == l2 or l1 == l2 or l2 == l3: print("o triângulo é isóceles") else: print("o triângulo é escaleno")
[ "you@example.com" ]
you@example.com
4cc0372d53144f67c7c7f993662001c28b11caa5
63515d55210bf60e51b78f4dc24f7036c2ede564
/home/apps/vendors/migrations/0005_auto_20141018_2300.py
96ce64794fcb9f22b5ba697dd63170f337bfc8d4
[]
no_license
powersurge360/home
bf529f5c958282771ad159981391f26984d6f064
86d9ebeaf1476eb741491c1ce2593ee0ab04dd57
refs/heads/master
2021-01-10T19:48:40.156389
2015-02-22T17:37:13
2015-02-22T17:37:13
24,743,908
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('vendors', '0004_auto_20141004_0426'), ] operations = [ migrations.RemoveField( model_name='question', ...
[ "kdiale@nerdery.com" ]
kdiale@nerdery.com
c81bfda8acf49fe0d759cbabbad59b4705698850
243e285ea43f08455608d028d463668aa695d2af
/data/libraries/fileLib.py
c1723363bd79e0e48cb48ae4df7af9b1043bb50d
[]
no_license
danielbauman1010/pantel
7b88f882c029eba9ca4a569b21dbe828440d2171
0edb84bf58acabdf987a2b81bfba550023fb753f
refs/heads/master
2021-01-20T07:10:47.220939
2017-06-27T22:29:54
2017-06-27T22:29:54
89,973,534
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
import os import sys def save(filename, data): fw = open(filename,'w') for l in data: fw.write('{}: {}\n'.format(l,data[l])) fw.close() def load(filename): if os.path.isfile(filename): fr = open(filename,'r') lines = fr.readlines() fr.close() data = {} for rawl in lines: rawl = ''.join(rawl.split('\...
[ "danielbauman1010@gmail.com" ]
danielbauman1010@gmail.com
d058b4b2d0b38dd0a96437bc708d5dc8c40ce2b2
69941b0f4c0c5dd1a362ccc52639453566fb8eb7
/1주차-자료구조/정렬-LV2-HIndex/jisu.py
118c49898366019ccbf0ba4c840085d08e34bbf6
[]
no_license
kms0524/MondaySinchon
fd7827a95729a68c1ebe0129a9e4d23e2c80ff6c
7ec0008add7cecda859be835d6d1d45602c3d96a
refs/heads/master
2022-12-17T15:10:15.517855
2020-08-31T13:02:20
2020-08-31T13:02:20
275,516,983
0
0
null
2020-06-28T05:52:41
2020-06-28T05:52:40
null
UTF-8
Python
false
false
1,330
py
def solution(citations): answer = 0 # 역방향 정렬 citations.sort(reverse=True) # 인용 수를 계산하기 위해 2차원으로 확장 calc_h = [[j, 0] for j in citations] # 순서대로 인 횟수를 하나씩 늘려줌 인용 for i in range(len(citations)): calc_h[i][1] += i + 1 # H-index를 계산, citation에 H-index 저장 for i in range(len(c...
[ "jisus@Jisusui-MacBookPro.local" ]
jisus@Jisusui-MacBookPro.local
8a2c125f1f09dd69bd4880d2eea9a5d9c861e422
80c3953b1c1abded9ac493d93fc599d99521a00e
/beakerx_tabledisplay/beakerx_tabledisplay/tableitems.py
061fd254d20a878179f5c38ac7ff3d186a0459bf
[ "Apache-2.0" ]
permissive
martinRenou/beakerx_tabledisplay
c9733d1564caa7de2d5500069456d1d068524c72
3377f7903381b76e9d4166a0ea7ec6ba35a35bce
refs/heads/master
2023-04-22T12:03:02.076437
2021-02-15T14:22:28
2021-02-15T14:22:28
321,307,309
0
0
Apache-2.0
2021-01-15T08:46:37
2020-12-14T10:07:14
TypeScript
UTF-8
Python
false
false
4,556
py
# Copyright 2017 TWO SIGMA OPEN SOURCE, LLC # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "piorek82@gmail.com" ]
piorek82@gmail.com
926d7ee523b67111b79962e3629ff43076bca7d8
cca3251c362bbdcd7033c4839466c6afd2c1bbbb
/src/chap13-Serverless/cdk-lambda-dynamodb-fargate/lambda/list.py
dd5fbab39a668d1cf19fd74e0e14f5c178c67f39
[ "MIT" ]
permissive
paiml/python_devops_book
6dec6929b22042a640b041674b9a07ae271e0262
0c8f543aa243d1484deb7f01ffe6876a4176d376
refs/heads/master
2023-08-17T01:21:37.838933
2023-08-10T12:05:22
2023-08-10T12:05:22
185,512,695
444
313
MIT
2020-07-20T18:26:14
2019-05-08T02:26:06
Jupyter Notebook
UTF-8
Python
false
false
423
py
import json import os import decimalencoder import boto3 dynamodb = boto3.resource('dynamodb') def list(event, context): table = dynamodb.Table(os.environ['DYNAMODB_TABLE']) # fetch all todos from the database result = table.scan() # create a response response = { "statusCode": 200, ...
[ "grig@gheorghiu.net" ]
grig@gheorghiu.net
977fdb31b90d1a1a16ae81fee578ea93f0981a15
67a869cc300a6fa06adc78ac7fb9ffba740ab147
/TaxiFareModel/data.py
a3d3a80281ddd65f77556af0e36632a8d71715af
[]
no_license
PhilippeLorang/Taxifaremodel
ff0d453b716b384c49c8f938dc0e6ebf25a83e60
69eff0561ea37c54557710ee1deee93e5987af51
refs/heads/master
2023-06-09T10:48:16.635949
2021-06-23T06:09:21
2021-06-23T06:09:21
379,496,704
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
import pandas as pd AWS_BUCKET_PATH = "s3://wagon-public-datasets/taxi-fare-train.csv" def get_data(nrows=10_000): '''returns a DataFrame with nrows from s3 bucket''' df = pd.read_csv(AWS_BUCKET_PATH, nrows=nrows) return df def clean_data(df, test=False): df = df.dropna(how='any', axis='rows') ...
[ "phlorang@gmail.com" ]
phlorang@gmail.com
f218147dd10fb666b03b90331069ea33e88098df
2940f5416082dadd9c646cd9a46d2d0a99883efb
/venv/Lib/site-packages/pandas/tests/series/test_subclass.py
86330b7cc69937ddca6b4a69d3796dfe6f93618c
[ "MIT" ]
permissive
tpike3/SugarScape
4813e4fefbfb0a701f5913d74f045fd0eaed1942
39efe4007fba2b12b75c72f7795827a1f74d640b
refs/heads/main
2021-06-20T03:55:46.288721
2021-01-20T17:06:35
2021-01-20T17:06:35
168,583,530
11
3
MIT
2021-01-20T17:19:53
2019-01-31T19:29:40
Jupyter Notebook
UTF-8
Python
false
false
2,084
py
import numpy as np import pandas as pd import pandas._testing as tm class TestSeriesSubclassing: def test_indexing_sliced(self): s = tm.SubclassedSeries([1, 2, 3, 4], index=list("abcd")) res = s.loc[["a", "b"]] exp = tm.SubclassedSeries([1, 2], index=list("ab")) tm.assert_series_e...
[ "tpike3@gmu.edu" ]
tpike3@gmu.edu
27a72d38cf80b828cc8fae939f0613e9c8a80276
e79b8681979d4ced0b438e64281034d4bcec033a
/potraits/admin.py
4983acf6219ebee62b22a069878dc01ca9aa0d0f
[]
no_license
angryiceking/myartasia
2a670961739540470d157d43dfc7b3df17028302
0fd97cf1e6b0ce83ae4603ecb300f29a6da51d2d
refs/heads/master
2022-12-12T01:32:07.760522
2018-10-29T06:45:28
2018-10-29T06:45:28
153,980,241
0
0
null
2022-12-08T02:26:22
2018-10-21T06:33:19
Python
UTF-8
Python
false
false
92
py
from django.contrib import admin from .models import Potrait admin.site.register(Potrait)
[ "carl.almayda@infoshiftinc.com" ]
carl.almayda@infoshiftinc.com
94cb65ecbe556724b4b45f899bf6e609754de8a4
79454aed4ed411e4583f05c638a783f434d937ba
/test/test_flake8.py
df69792993425cd67c3b19bf97cb77b0b9851058
[ "Apache-2.0" ]
permissive
aws-ros-dev/colcon-ros-bundle
be76325d4a7ac41802616bf8ad53f244a3c99819
93aba793bf25c72adfe46d7a689dac35cc5c6b83
refs/heads/master
2021-06-18T11:41:12.543420
2019-05-13T13:14:06
2019-05-13T13:14:06
189,069,507
0
0
Apache-2.0
2019-05-28T17:01:29
2019-05-28T17:01:28
null
UTF-8
Python
false
false
1,384
py
# Copyright 2016-2018 Dirk Thomas # Licensed under the Apache License, Version 2.0 import logging from pathlib import Path import sys from flake8 import LOG from flake8.api.legacy import get_style_guide # avoid debug and info messages from flake8 internals LOG.setLevel(logging.WARN) def test_flake8(): style_g...
[ "matmur@amazon.com" ]
matmur@amazon.com
deb3fc7479ece5feebd07df1d053c11ddfc33124
150dc0ddb2e002415b7dec06ddaadc5467d6a6fd
/app/admin.py
ef3a5ed33667ab52856174a7c101ae9e58e475a3
[]
no_license
EstebanSerranoV/turismoReal
d59daf82fa409c40e78652de1c6bee2863c3d57b
d5e8597fa9126ce612f0a08eec7c27d8b9550d24
refs/heads/main
2023-08-18T11:50:01.154818
2021-10-23T18:02:36
2021-10-23T18:02:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
from django.contrib import admin from .models import Administrador, Cargo, CheckIn, CheckOut, Cliente, Comuna, Conductor, Departamento, Direccion, Edificio,\ Funcionario, InformeGanancia, InformeReserva, Inventario, Mantenimeinto, Provincia, Region, Reserva, Rol, ServicioExtra,\ ServicioTransporte, Tour...
[ "es.serrano@duocuc.cl" ]
es.serrano@duocuc.cl
c1ad60621514aff6e22d3b6e333419510d3a9b3f
b63705bed525a2cc7514a7d5ba741a56eda0ea51
/Moduł 1/Wprowadzenie do języka Python - Praca Domowa - Dzień 2/ex_5.py
75a4a2e54dbc58b27cdffa5514d3285a19ba2a94
[]
no_license
mborowski1/Python-Developer-2021
0fedcb15972f5b7c5542f7972ed420838e345414
712a70a222c646569e9de4dccdfe35d0cb611239
refs/heads/main
2023-08-20T22:29:39.342571
2021-10-29T15:33:17
2021-10-29T15:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
def censor(text_thing): list_of_words = text_thing.split() forbidden_words = ['Java', 'C#', 'Ruby', 'PHP'] for i in list_of_words: if i in forbidden_words: index_thing = list_of_words.index(i) list_of_words[index_thing] = '****' final_list_of_words = ' '.join(list_...
[ "borowski1@onet.pl" ]
borowski1@onet.pl
dc48ef18d171c725a4f29e6ded01c481fa82e57d
994693f3257c043926b036da1da49999c1edcb31
/tags/tag/cuterpg v0.02/maps/nuevomapa.py
7a3f9475f363833152be66f77fd0f9222e782b6f
[]
no_license
weapp/pyrpgproject
62d29d96a4044417c28dfd7925396a6c6c9f67a0
594aa49f97b434f04b11b47ca6ea4ab9336306e1
refs/heads/master
2016-08-05T13:41:55.252276
2009-07-16T13:20:49
2009-07-16T13:20:49
32,215,925
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
from block import * A=Block('None',NOT_FLOOR) class mapa: def __init__(self): self.pos=[0,1,1] self.pos_campo=[0,0] self.TILE_WIDTH=101 self.TILE_Y_SPACING=82 self.TILE_DEPTH=40 self.TILE_HEIGHT=171 A=Block('None',NOT_FLOOR) B=Block(...
[ "weap88@02bf6da4-a4df-11dd-bc7a-dd6b2ed99ab5" ]
weap88@02bf6da4-a4df-11dd-bc7a-dd6b2ed99ab5
88a16223436ee8dd8a11c332ce6c325ff50bd8b6
823b8cbc0142806499066f78ab5408db87b4eee9
/integration_tests/files/numpy_example.py
4a587b49483b2c49b66dcbf61375cb3c7fdecfff
[ "MIT" ]
permissive
terrencepreilly/darglint
08640d272744ae14252f997bca6af2f6a6ae9630
abc26b768cd7135d848223ba53f68323593c33d5
refs/heads/master
2023-07-07T12:42:14.413273
2021-10-18T03:34:23
2021-10-18T03:34:23
104,758,499
487
52
MIT
2022-12-08T14:26:52
2017-09-25T14:11:21
Python
UTF-8
Python
false
false
143
py
def frobscottle(x): """Frobscottlize. Parameters ---------- whizzpopper Whiz and Pop. """ x.fly_and_fart()
[ "terrencepreilly@gmail.com" ]
terrencepreilly@gmail.com
1c6ae8af04aac7f1c2b8ece017e09f30b3cbe5e8
c92398a728817578850ecf508ec4197afe91a88f
/DemopatterninForloop1.py
129e82619895026a6e97d482bf04495e827222b5
[]
no_license
HitanshuSoni/Python_practice
4d0ec0378124da85e364a15a7b94ddbbfe2fc929
7a3d0977b218ef76f91517d88518b1c0b68b9528
refs/heads/main
2023-04-18T21:55:12.709161
2021-05-08T15:39:08
2021-05-08T15:39:08
365,550,407
1
0
null
null
null
null
UTF-8
Python
false
false
139
py
n=int(input("Enter the number of rows ")) for i in range (1,n+1): for j in range (1,i+1): print(j,end="") print()
[ "hitanshusoni10@gmail.com" ]
hitanshusoni10@gmail.com
faa68397f1875e8e711dda8b078b332adba21d10
678ed1cdeac1afd5f259bfc68d957f4069b69052
/tickets/.~c9_invoke_i6Xhis.py
3bcb58554b78f4abe4d2c6b2ab578c819c0ccd22
[]
no_license
lubaninondo/issue-tracker
2202fc3cb6762ad5217a0f72cb49c7b7f72f2713
71440020ab783f8d2de54e7e146505de19e6f3df
refs/heads/master
2020-06-12T14:52:58.857127
2020-03-31T16:54:01
2020-03-31T16:54:01
194,334,831
0
1
null
2019-11-18T10:45:52
2019-06-28T21:17:40
JavaScript
UTF-8
Python
false
false
8,473
py
from django.shortcuts import render, reverse, redirect, get_object_or_404 from django.contrib.auth.decorators import login_required from django.core.mail import EmailMessage from django.contrib import messages from django.utils import timezone from django.conf import settings from .models import Ticket from .forms impo...
[ "ubuntu@ip-172-31-30-122.eu-west-1.compute.internal" ]
ubuntu@ip-172-31-30-122.eu-west-1.compute.internal
da3ea4af40683f49e01a377364f85a568ee123e8
a83c42580195a19eb5b0fb1a3488127cf054039b
/head/monitor/sys_monitor.py
490e50c9c64ee79c3b60af6a607a3dfb1d0d8662
[]
no_license
xiguan513/s14
37b544d8394f2bc2f18f6b53e8503328384e2068
74ad0a3026c2b1193171bf632a20b26ef2caeac8
refs/heads/master
2021-01-12T05:03:35.024512
2017-08-12T08:48:02
2017-08-12T08:48:02
77,840,305
0
0
null
null
null
null
UTF-8
Python
false
false
3,446
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import re from email.header import Header from email.mime.text import MIMEText from email.utils import parseaddr, formataddr import smtplib import sys import pickle ser_name={"10.172.84.70":"b2b1", "10.171.99.65":"b2b2", "10.44.20.156":"b2c1", ...
[ "songbing5132163.com" ]
songbing5132163.com
7afa2e261bc06fbe2b86157c44db2697afb12753
d3e2f5b8c9505301bfc782cd3f152630565ccfdd
/djangoecommerce/catalog/apps.py
44e8d6051b4ba24e67229587b176dbefc4b24c95
[]
no_license
ingafter60/django3-ecom-portugis
81b5b862b01a8bc7ce9a5a2ccd1a306bf7268c56
ddf0b68836f54629d830e08a9831d7ad42514d45
refs/heads/master
2022-01-25T05:19:51.225435
2020-02-04T15:39:21
2020-02-04T15:39:21
238,185,317
0
0
null
2022-01-21T19:56:23
2020-02-04T10:59:51
Python
UTF-8
Python
false
false
230
py
# from django.apps import AppConfig # class CatalogConfig(AppConfig): # name = 'catalog' from django.apps import AppConfig class CatalogConfig(AppConfig): name = 'djangoecommerce.catalog' verbose_name = 'Catalog'
[ "inyoman_gurnitha@yahoo.com" ]
inyoman_gurnitha@yahoo.com
bd5b84d5e2f504b75c1664a4b3247accef040342
077a8055ccc9aeaa0b402cd262dcc63af7a6bda6
/car_model.py
4166b6250633f8fd2c71faee6b0a4e391c19b1a0
[]
no_license
annynng/VREP_Self_Driving_Car_Simulation
924de8da876032ac3736bf3b72f4a04beddad855
0925093432dfe7b3093998eb625d82b9ba528d6a
refs/heads/master
2021-12-15T12:22:10.268862
2017-08-16T20:00:16
2017-08-16T20:00:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,219
py
# -*- coding: utf-8 -*- """ Created on Tue Jan 06 22:00:39 2015 @author: Karan Vivek Bhargava """ #Import Libraries: import vrep #V-rep library import sys import time #used to keep track of time import numpy as np #array library import cv2 import imutils # Model f...
[ "noreply@github.com" ]
noreply@github.com
6a6bc70088b6de904514277d36b20f63057be680
c9ad09f01a431f7f44d35ffd5a580caf91d67fc0
/Lib/fontbakery/specifications/general.py
214414565d7a643c1eabaff3274ba05fa7118c9f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jenskutilek/fontbakery
59e44ef102953e41fbdc94aaf04f8274dd195e4f
1aa1091dd87b5edfb62e7697535dbb104f3d01df
refs/heads/master
2020-03-15T06:03:43.281929
2018-04-30T15:54:35
2018-04-30T15:57:43
131,999,383
0
0
null
2018-05-03T13:29:56
2018-05-03T13:29:55
null
UTF-8
Python
false
false
23,337
py
from __future__ import (absolute_import, division, print_function, unicode_literals) import os from fontbakery.callable import check, condition, disable from fontbakery.checkrunner import ERROR, FAIL, INFO, PASS, SKIP, WARN from fontbakery.constants import CRITICAL from fontbakery.message impor...
[ "fsanches@metamaquina.com.br" ]
fsanches@metamaquina.com.br
a9c3328717b43707b2bf21b0c04fd68897484d1a
53ab530408135b31dce247ec76d5c70d143cae69
/commands/deviot_languages.py
7bf2dd70fa1de9434f58aff7c744c2adc80d5242
[ "Apache-2.0" ]
permissive
hoat23/Deviot
d3ede1b5884cb421fa17832cc7fe56dcc598ce44
77a9e08059f9226ebf23a216b00c6ebb5b1cd054
refs/heads/master
2021-07-22T20:25:07.840839
2017-10-07T19:53:21
2017-10-07T19:53:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from sublime_plugin import WindowCommand from ..libraries.quick_menu import QuickMenu class DeviotLanguagesCommand(WindowCommand): def run(self): QuickMenu().quick_language()
[ "guillermoepd@hotmail.com" ]
guillermoepd@hotmail.com