blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 5 283 | content_id stringlengths 40 40 | detected_licenses listlengths 0 41 | license_type stringclasses 2
values | repo_name stringlengths 7 96 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 58
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 12.7k 662M ⌀ | star_events_count int64 0 35.5k | fork_events_count int64 0 20.6k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 43
values | src_encoding stringclasses 9
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 5.88M | extension stringclasses 30
values | content stringlengths 7 5.88M | authors listlengths 1 1 | author stringlengths 0 73 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6aa0b3611ecd6b7bef125a3c407425601ddf42cc | 589a506ff2996df79c0482b59bd0d486a50708e1 | /api/migrations/0006_auto_20170802_1355.py | 95fb68cebe6010e6a56c9dc9602381451d249a6c | [] | no_license | JamesTev/GateApp | db28d080d75c161bc6f98143fbb27de958cdf157 | 257caff2dfb8067eb6761e8f5a916c29d092b243 | refs/heads/master | 2021-08-31T23:29:35.098007 | 2017-08-02T17:01:27 | 2017-08-02T17:01:27 | 98,982,327 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 668 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-08-02 11:55
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0005_auto_20170731_2034'),
]
operations = [
migrations.AddField(
... | [
"jamestevers@gmail.com"
] | jamestevers@gmail.com |
0ad7be2618e0a3496313767cdb3dca7ad3bddc02 | ef8d8a4ff32edaee9e3941405e9dfe4a33c1f3e4 | /neural/classification2.py | 81f0f7c17c6342c936be95f5a89f956ed62508ac | [] | no_license | H4wking/kursach | bb8145d9487f978f7a95e92acd93ba25e57ef95f | e176826331461e22155ecc41f458fb02953c74a4 | refs/heads/master | 2020-04-24T23:02:33.576284 | 2019-05-17T21:39:18 | 2019-05-17T21:39:18 | 172,330,813 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,136 | py | from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np
import pandas as pd
import tensorflow as tf
from tensorflow import feature_column
from tensorflow.keras import layers
from sklearn.model_selection import train_test_split
from tensorflow import keras
# read data ... | [
"funnyman20062001@gmail.com"
] | funnyman20062001@gmail.com |
e78e103a5b9c45316148c17b3ad9df6a28a4d8e1 | 8d84ab7a521ca8b7ba80e58fb145648ac6990018 | /scripts/bulletPointAdder.py | 7dfbe13c5e2a510a632eccd1668ef7c90b338e94 | [] | no_license | aog11/python-training | 0f60b17943a498ee1f4eac99a3e7a418086d4b29 | 9d6d57458132927c3ba61973af6f13797c409f84 | refs/heads/master | 2020-07-30T21:45:43.513701 | 2020-01-30T23:45:29 | 2020-01-30T23:45:29 | 210,369,105 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 254 | py | #Chapter 6
#Bullet Point Adder project
#! python3
import sys, pyperclip
text = pyperclip.paste()
lines = text.split('\n')
print(lines)
for i in range(len(lines)):
lines[i] = '* ' + lines[i]
text = '\n'.join(lines)
print(text)
pyperclip.copy(text) | [
"antonifco@gmail.com"
] | antonifco@gmail.com |
5c05aa808e3cb9a185a48eb30fe8532fe8041580 | 0d7ecec0fc0c968647a46c174bcdc8e22ba045ef | /SVM/svm.py | 8e6338019f1d323ca48f7059f99097fa8c399cb1 | [] | no_license | lavijiang/MlInAction | 7dcf19c2e35c439dc844de2f2580deafe23df19c | 9e674d8ee05b2a4d72c5e43c97bd39955eb99fea | refs/heads/master | 2020-06-20T02:28:35.771088 | 2019-08-12T11:57:26 | 2019-08-12T11:57:26 | 196,960,017 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 586 | py | import numpy as np
import pandas as pd
def loadDataSet():
dataMat = [];labelMat = []
data = np.loadtxt('testSet.txt', delimiter='\t')
dataMat = data[:, 0:2]
dataMat = np.insert(dataMat, 0, 1, axis=1)
labelMat = data[:, 2]
for i in range(len(labelMat)):
if labelMat[i] == 0:
l... | [
"lavijiang@lavijiang-PC1.tencent.com"
] | lavijiang@lavijiang-PC1.tencent.com |
3e15c5344903f26a5c980b2fd45ced7cfce539ac | cb8498c19ca5304ba76d482351463c6d3efd92d5 | /shutDownYesNo.py | 7ca770747bb08abd801f11058ef5fb688ef77e31 | [] | no_license | aeocista/pythonPractice | 4cece4fc19dda2dfc96571fa173192c754019f4f | f0079b66149f041fa8a56dd3e2758d3bf3fc4ff0 | refs/heads/master | 2023-02-19T05:01:26.249354 | 2020-01-29T21:42:52 | 2020-01-29T21:42:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 139 | py | def shut_down(s):
if s == 'yes':
return("Shutting down")
elif s == 'no':
return("Shutdown aborted")
else:
return("Sorry") | [
"wesley.applequist@icloud.com"
] | wesley.applequist@icloud.com |
cb5a2ba0bdc7fee1ad377c34cb9271af93e374ad | 4ed038a638725ac77731b0b97ddd61aa37dd8d89 | /cairis/gui/TemplateAssetListCtrl.py | c0132485a2e4352164f7f7f993e994d76a124700 | [
"Apache-2.0"
] | permissive | RachelLar/cairis_update | 0b784101c4aff81ff0390328eb615e335301daa2 | 0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2 | refs/heads/master | 2021-01-19T06:25:47.644993 | 2016-07-11T20:48:11 | 2016-07-11T20:48:11 | 63,103,727 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,351 | 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... | [
"shamal.faily@googlemail.com"
] | shamal.faily@googlemail.com |
dfb9d6270ae13870c03aa255794f2c85ef984c8d | 07ec2317ed48a01a1e2d627b05fdf0bc177d24ea | /scripts/__init__.py | 554ac7335f7bce4bf8a8cb2e8698280b81691bc7 | [
"Apache-2.0"
] | permissive | yuanjie-ai/CTRZOO | e4a555ecf5c4cf63f173ab3a8555a82918951d88 | cf7810d2cb76fb0b2a48678cade01f64d1ed3fdb | refs/heads/master | 2023-02-09T01:41:08.300550 | 2021-01-05T12:21:22 | 2021-01-05T12:21:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 251 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Project : CTRZOO.
# @File : __init__.py
# @Time : 2021/1/5 7:44 下午
# @Author : yuanjie
# @Email : yuanjie@xiaomi.com
# @Software : PyCharm
# @Description :
| [
"313303303@qq.com"
] | 313303303@qq.com |
22edf1c0f8a0349b46c6f656e47cd2eaf320f2a0 | 9774c4be2758ad12164f88f7fa801689f1a9af97 | /acs_parser/src/wanted_sequence.py | f253cf925fa3c33da4e087315bbc6392e56bf553 | [] | no_license | xudeyin/foobar_db | d3f37f5e22290a1a161838f14ebc54813e818506 | c3d8f30b36ba34f369a89b6419965558ce2d9daa | refs/heads/master | 2020-04-06T07:10:31.533796 | 2013-11-18T15:50:40 | 2013-11-18T15:50:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,151 | py | #!/usr/bin/python
import csv
import string
from collections import OrderedDict
def cellHasIntValue(s):
try :
int(s)
return True
except ValueError:
return False
def processOneTable(columnList, columnCnt ) :
i = 0
wantedColumns = []
for c in columnList :
##sometimes... | [
"xudeyin@gmail.com"
] | xudeyin@gmail.com |
d8d3f63da4797428edb447d216527f76b69b1367 | f576f0ea3725d54bd2551883901b25b863fe6688 | /sdk/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2016_12_01/aio/_configuration.py | e6a486d94268a5335f32666dc5068ba28fd7c12a | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later"
] | permissive | Azure/azure-sdk-for-python | 02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c | c2ca191e736bb06bfbbbc9493e8325763ba990bb | refs/heads/main | 2023-09-06T09:30:13.135012 | 2023-09-06T01:08:06 | 2023-09-06T01:08:06 | 4,127,088 | 4,046 | 2,755 | MIT | 2023-09-14T21:48:49 | 2012-04-24T16:46:12 | Python | UTF-8 | Python | false | false | 3,505 | 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 |
c85fb3ee070bef78eb4a0bb0366b818f9fbb67bd | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2235/60591/266687.py | e8d7c9f2c779b6bdca2ea68f56adbae7f8424e07 | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,249 | py | # coding = utf-8
n,m = list(map(int,input().split(" ")))
unable = {}
result = []
fin = []
for x in range(2*n):
result.append(1) # 表示可行
while(m != 0):
m -= 1
a,b = list(map(int,input().split(" ")))
if(a in unable):
unable[a].append(b)
unable[a].sort()
else:
unable[a] = [b]
si... | [
"1069583789@qq.com"
] | 1069583789@qq.com |
b66aa67a97f8816c4498a9ed553a0a6e3b86bc2f | f8f2536fa873afa43dafe0217faa9134e57c8a1e | /aliyun-python-sdk-retailcloud/aliyunsdkretailcloud/request/v20180313/ListAvailableClusterNodeRequest.py | af186edb18b433fd3f63a9c1408ef3edbf4b3ae6 | [
"Apache-2.0"
] | permissive | Sunnywillow/aliyun-openapi-python-sdk | 40b1b17ca39467e9f8405cb2ca08a85b9befd533 | 6855864a1d46f818d73f5870da0efec2b820baf5 | refs/heads/master | 2022-12-04T02:22:27.550198 | 2020-08-20T04:11:34 | 2020-08-20T04:11:34 | 288,944,896 | 1 | 0 | NOASSERTION | 2020-08-20T08:04:01 | 2020-08-20T08:04:01 | null | UTF-8 | Python | false | false | 1,837 | 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 |
d3e07583c2ea885eb86e4e7360dd2675e2b6eafa | 60b92d7768733651b39939fcd6459f7774542391 | /benchmark/models/treernn/featurize.py | a6eb07280657700081215448b3f4df33605a1407 | [] | no_license | naymaraq/SQL-Cardinality-Estimation | 3af9503e67749b1b367822155bd37580675a80c9 | 9a7dacf4eb55b278f0ff1af036d3c49b9030a523 | refs/heads/master | 2023-03-13T02:08:05.983879 | 2021-03-06T08:52:14 | 2021-03-06T08:52:14 | 283,175,695 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,852 | py | import numpy as np
from benchmark.scripts.predicate import Predicate
from benchmark.models.treernn.domain import p2id, col_domains
class Indexify:
def __init__(self, domains, p2id):
self.domains = domains
self.__p2id = p2id
self.__id2Predicate = {v:k for k,v in self.__p2id.p... | [
"davitkar98@gmail.com"
] | davitkar98@gmail.com |
5b0912dd99649b4424c93f64b4fe9f66d52105c3 | d321cad12317e81227ff7db6873611f9053e774d | /Input/Notes/python_course/tuples/lessons/05.py | 41df88212f1ed0eb313a8af0d9460fb0136b56d0 | [] | no_license | cvasani/SparkLearning | 37194c3acd28d9b7e1093c813ee53ec8800d3fd0 | 18b3496d99b2bc9699fe82c030ee85a1b0073b82 | refs/heads/master | 2023-07-30T18:12:35.953607 | 2021-09-28T06:22:48 | 2021-09-28T06:22:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 199 | py | #!/usr/bin/env python3
days_of_the_week = ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday')
(mon, tue, wed, thr, fri, sat, sun) = days_of_the_week
print(mon)
print(fri)
| [
"thulasitharan.gt96@gmail.com"
] | thulasitharan.gt96@gmail.com |
33a8147187b7fb03ee6b04881dd54106fcf43524 | a4deea660ea0616f3b5ee0b8bded03373c5bbfa2 | /concrete_instances/register-variants/pmaxud_xmm_xmm/instructions/pmaxud_xmm_xmm/pmaxud_xmm_xmm.gen.vex.py | 7ba7a66dd5dbf1802c57c186a3d505e62b3f7de1 | [] | no_license | Vsevolod-Livinskij/x86-64-instruction-summary | 4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd | c276edab1b19e3929efb3ebe7514489f66087764 | refs/heads/master | 2022-02-02T18:11:07.818345 | 2019-01-25T17:19:21 | 2019-01-25T17:19:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 186 | py | import angr
proj = angr.Project('./instructions/pmaxud_xmm_xmm/pmaxud_xmm_xmm.o')
print proj.arch
print proj.entry
print proj.filename
irsb = proj.factory.block(proj.entry).vex
irsb.pp() | [
"sdasgup3@illinois.edu"
] | sdasgup3@illinois.edu |
47dbee949582074838bb0c5820bb13cb5a76817d | c17389d76fb1e2eb72a68448aefd85b59246f7ce | /kategorik.py | 1d2726484f6b4cbf947595fa8c73d1f1ef40af77 | [] | no_license | turhancan97/Machine_Learning_Egitim | 294855d2bb5b381b26f0501792f0832182ff3502 | 7bf876e01184eacfeaa612027935d326be71f621 | refs/heads/master | 2021-08-16T05:55:58.573893 | 2020-09-23T16:35:47 | 2020-09-23T16:35:47 | 233,583,106 | 0 | 0 | null | 2020-12-17T18:24:17 | 2020-01-13T11:45:58 | Python | UTF-8 | Python | false | false | 935 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Mar 15 04:18:20 2018
@author: sadievrenseker
"""
#kutuphaneler
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
#kodlar
#veri yukleme
veriler = pd.read_csv('eksikveriler.csv')
#pd.read_csv("veriler.csv")
print(veriler)
#veri o... | [
"noreply@github.com"
] | noreply@github.com |
49f5df9667e9a76b3e9abaa2c233b84a8eb3a951 | 2ae9d81d22ce3792699b90f37ee66852cd1e94a1 | /owlspeak.py | 72377430ff2c941325e4b2591a9610708563f343 | [] | no_license | kovitimi/wiseowl | 9c8322959281ed6debeb35cc7275b773031182bf | 0e7033c918937de2ed065326b694549816c0712d | refs/heads/master | 2020-04-12T10:48:48.960381 | 2017-02-15T06:14:18 | 2017-02-15T06:14:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,102 | py | import requests
import os
import subprocess
from subprocess import PIPE,Popen
import sys
import platform
from random import randint
def owl_speak(input_text):
url_path = 'http://localhost:59125/process?INPUT_TYPE=TEXT&OUTPUT_TYPE=AUDIO&INPUT_TEXT={0}&OUTPUT_TEXT=&effect_Volume_selected=&effect_Volume_parameters=a... | [
"PRanjan@example.com"
] | PRanjan@example.com |
cb08eb0f4a095628523501df717392d3c05ba5f0 | b939e8a296bcafff22d361082967700e16004aab | /games/euro_million.py | df1e35b58bb16e2e0ac70870090b998dab86a894 | [] | no_license | ARCunha10/python | a254eb0d527ecac0eb4bd76843a18ab65bf18f61 | 39f6c74e5c3696dfdbd124281d0da76957d8a243 | refs/heads/main | 2023-07-15T00:06:44.422200 | 2021-09-07T15:39:18 | 2021-09-07T15:39:18 | 399,270,966 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 752 | py | ##########################
# Euro Million
##########################
import random
import sys
users = [(0, "admin", "admin")]
username_mapping = {user[1]: user for user in users}
username_input = input("Enter your username: ")
password_input = input("Enter your password: ")
try:
_, username, password = usernam... | [
"noreply@github.com"
] | noreply@github.com |
c6bb4331b5a924355d0294852ec7b90a14b7926c | 4d5a8460aab2c9e68278279fe0a3555a1527a526 | /Giet/Giet/urls.py | 724e96e8c085622d16f2dde869e31c0b3709bd9a | [] | no_license | AKHIL1707/Dzangoworkshop | 01b26cf7ab969aa0eb909b0e1b9999c4bd8f644a | 6a75a56ff8516aa1df8cc5e9056dd663b2b30690 | refs/heads/master | 2023-03-02T23:27:53.055216 | 2021-02-12T08:43:52 | 2021-02-12T08:43:52 | 338,263,351 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,167 | py | """Giet URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based vi... | [
"akhilsaisuddapalli2k@gmail.com"
] | akhilsaisuddapalli2k@gmail.com |
77478cfc27b52fe8c66ab0241f872f430954079f | a539225a7294c99e23ed111ceee1cc2d799c9f4b | /clr/models.py | c55800e4677dac41c62aeafd4b8ce32ddae1ebef | [] | no_license | JANGYANG/crawller | fde6f6330cd45caaed968c0f87833de88b5140c6 | 5e1d6475ed2436361e517c22572dcc5c2b301cb9 | refs/heads/master | 2020-05-30T05:18:45.228227 | 2019-05-31T08:22:28 | 2019-05-31T08:22:28 | 189,556,792 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 451 | py | from django.db import models
from django.utils import timezone
class Data(models.Model):
title = models.CharField(max_length=200)
text = models.TextField()
url = models.TextField()
totalUrl = models.TextField()
created_date = models.DateTimeField(
default=timezone.now)
de... | [
"radiata03@gmail.com"
] | radiata03@gmail.com |
e6cce7d276bd309edd3c60bc59aae57af3e727d1 | 4770ffe04dc5658b55601dae89907861b2c00b82 | /0x0A-python-inheritance/6-base_geometry.py | b31695c28bca5a8310282e0da153b4a2edaa1e02 | [] | no_license | hectorlopezv/holbertonschool-higher_level_programming | e07bc8b53c519919bc0e5ac5933acc1981bd0a71 | 89398e1a0da208118d7c1d748a664b7697f6db9d | refs/heads/master | 2023-03-03T15:15:22.460427 | 2021-02-09T02:47:49 | 2021-02-09T02:47:49 | 259,407,410 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 196 | py | #!/usr/bin/python3
"""base geomerty"""
class BaseGeometry:
"""BaseGeometry class"""
def area(self):
"""area method"""
raise Exception("area() is not implemented") | [
"hectorvmlopez@gmail.com"
] | hectorvmlopez@gmail.com |
0ffea769ef243f48d1323427327bc2a6200a1b0e | 4afb7871f232403ee7cebf57622bdbaa58c3e0f6 | /GaitGL_oumvlp/test_oumvlp.py | 5bae7c51ee5252ccd8705c5cab758996cf8c6990 | [] | no_license | vpromise/gait-view | 1de71c7deeeb353ad42f2ce82b8c4ad22f30a158 | 979622e82f7490f680c70a8aac07b0eb9cef226d | refs/heads/main | 2023-06-20T18:38:04.560712 | 2021-07-27T13:55:46 | 2021-07-27T13:55:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,576 | py | from datetime import datetime
import numpy as np
import argparse
from model.initialization import initialization
from model.utils import evaluation
from config import conf
def boolean_string(s):
if s.upper() not in {'FALSE', 'TRUE'}:
raise ValueError('Not a valid boolean string')
return s.upper() == ... | [
"noreply@github.com"
] | noreply@github.com |
d653f07cdd2493f474140b3d4b43d0353872126f | cdaf82ade36a8454378d9167df1e88c0db8ff83c | /06. Perulangan/E. Dua Pangkat/e_dua_pangkat.py | f9913fb7afec7a506060d39084d2f64399c958e6 | [] | no_license | putuwaw/tlx-toki-answer | ad746673ad1b2e26719e309b81b24d7dfcf3bad4 | a2415bc41dacd174438f029fdd9f47ba0d20581c | refs/heads/main | 2023-09-01T09:10:48.215730 | 2023-08-22T15:36:46 | 2023-08-22T15:36:46 | 473,916,849 | 5 | 0 | null | 2023-04-27T17:00:32 | 2022-03-25T07:52:45 | Java | UTF-8 | Python | false | false | 92 | py | N = int(input())
while N % 2 == 0:
N = N // 2
print('ya') if N == 1 else print('bukan')
| [
"noreply@github.com"
] | noreply@github.com |
2acd6deb295a85e27261ed258f63bd76d6160efe | 43e156a75132bf8a9013e2932ba15ad753f2da11 | /PublicWebServicesAPI_AND_servercommandScripts/listExpiredUsers.py | 111db272476f157aa6a5bd7d423e3e4901a6328a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | josh-at-papercut/PaperCutExamples | 0f132819abd0cabab913b9d4c0cb0c416787fbb8 | 456f2f6839948f4e49ed6cd2741067256afccbe9 | refs/heads/master | 2022-05-12T14:55:06.487321 | 2020-04-29T05:13:26 | 2020-04-29T05:13:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,490 | py | #!/usr/bin/env python3
"""
List expired users that have expired or will expire soon, according to the expiry date written in their notes field in PaperCut.
USAGE: listExpiredUsers.py [how_soon]
It will list and identify users that have expired or will expire within the next "n" days
In PaperCut admin, plea... | [
"alec.clews@papercut.com"
] | alec.clews@papercut.com |
ad0f8dea6a19a9c773b7667779134909dcdd79de | f4f1c9b8c1307ccc36d0162342157b786208c053 | /scripts/publish.py | 4061081061a23c5e571405d45efd1d15e6be1f7e | [
"MIT"
] | permissive | NickVoron/toolchain | 89e46711d56cc306188bf8e6c203c675e885ae57 | e0a9e65acdff53ba10a50717c7f70aef7f9b32f4 | refs/heads/master | 2021-09-10T14:03:05.311761 | 2018-03-27T12:04:47 | 2018-03-27T12:04:47 | 107,657,382 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,848 | py | #!/usr/bin/env python3
import signal
import subprocess
import contextlib
import logging
import os
import shutil
import re
from template import collect_files
from datetime import datetime
from pathlib import Path
from email import utils
from os import listdir
from os.path import isfile, join
command = ["hg", "log" ]
@... | [
"nikolay.voronetskiy@yandex.ru"
] | nikolay.voronetskiy@yandex.ru |
3c809ed1f28298769e165e8722d0c2e534b5aabc | 2b731e5f1e07787eac07b48e97ec34665672432e | /score.py | 19b3c9aa3b4753c261c53a3962d9f0272bb89eb6 | [
"Apache-2.0"
] | permissive | tejasbangera/Churn_Prediction_Project | df9a0ff4ab370bda6f3e023406b51a3fd046fdf7 | ef4952373046c2a709d0952d4ae4664ca3f85ed4 | refs/heads/main | 2023-04-17T04:48:08.875900 | 2021-04-18T19:27:34 | 2021-04-18T19:27:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,015 | py | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import json
import logging
import os
import pickle
import numpy as np
import pandas as pd
import joblib
import azureml.automl.core
from azu... | [
"noreply@github.com"
] | noreply@github.com |
b18f4e5715cc0567e023636832971941060e8f3f | 3d5a25705f52fe942480779d79c44c60aae41624 | /korean.py | f02c0eaa542e9591a14ced64ebd13feada161392 | [] | no_license | kirumon/KoreanIME | 99d392a8233b6c899c3abb3983a60667d4f41dc3 | db67b9b234e6f47f3787965e1bbbbc7de5a0d385 | refs/heads/main | 2023-08-24T07:19:21.607686 | 2021-10-14T12:24:37 | 2021-10-14T12:24:37 | 313,274,620 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 37,119 | py | #
# class Korean()
# 영문으로 입력된 문자를 한글로 처리하는 클래스
#
# 입력이 자음인지 모음인지 구분하기 위한 튜플
CONSONANT = ('r','R','s','S','e','E','f','F','a','A','q','Q','t','T','d','D','w','W','c','C','z','Z','x','X','v','V','g','G')
VOWEL = ('k','K','o','O','i','I','j','J','p','P','u','U','h','H','y','Y','n','N','b','B','m','M','l','L')
# 초성과 종성 그... | [
"kirumon@naver.com"
] | kirumon@naver.com |
3133017396655a7bd926bb313c27e1dfad0b2386 | 52107637d2687db30f168ba15ffd1e1e534f4cb4 | /mirdata/datasets/tinysol.py | a85b499e399d46cd903c904d19f330be624364d8 | [
"BSD-3-Clause"
] | permissive | mir-dataset-loaders/mirdata | 9be10e0201b08abf51fc72338ccaaacc8216145b | 496eb4a9120aa16ff6963792f0c8b738a0c3f310 | refs/heads/master | 2023-05-07T13:15:16.517429 | 2023-03-27T13:54:37 | 2023-03-27T13:54:37 | 170,765,267 | 297 | 65 | BSD-3-Clause | 2023-08-05T22:48:48 | 2019-02-14T22:11:33 | Python | UTF-8 | Python | false | false | 8,538 | py | """TinySOL Dataset Loader.
.. admonition:: Dataset Info
:class: dropdown
TinySOL is a dataset of 2913 samples, each containing a single musical note from one of 14
different instruments:
- Bass Tuba
- French Horn
- Trombone
- Trumpet in C
- Accordion
- Contrabass
- Violin
... | [
"noreply@github.com"
] | noreply@github.com |
30276de0b856764cc000adbae67afc15a35ee10e | 05eb31ac0f10eea0106a648d593aa3b8a9d6a021 | /manage.py | b92e7a575559aa799dae8f28ae0993800fe97238 | [] | no_license | ginlll/jelly | e632359a60dc74abff2f4188e2a9e0ec6d3bb166 | 83c582819ec1b6c3898540542999a40dcb85e7cf | refs/heads/master | 2023-02-10T10:50:31.306732 | 2019-06-04T08:26:47 | 2019-06-04T08:26:47 | 189,968,101 | 0 | 0 | null | 2023-02-02T06:28:01 | 2019-06-03T08:45:26 | Python | UTF-8 | Python | false | false | 491 | py | # coding:utf8
from flask import Flask
from flask_script import Manager,Server
from jelly import create_app, register_blueprints
app = create_app()
manager = Manager(app)
@manager.option('-H', '--host', dest='host', help='Host address', default='0.0.0.0')
@manager.option('-p', '--port', dest='port', help='App... | [
"lijin201415@gmail.com"
] | lijin201415@gmail.com |
a926ac091af5b43367dc3084bb94bac7d6152fb7 | 8569c7da7b9f0c620b4b8d5589965066651b420c | /Django/mypizzadelivery/deliveryapp/migrations/0001_initial.py | c5460a410f8a21e00a8c2e3429cefe8d23c5311c | [] | no_license | mazzalaialan/Python | e467163331bdf0c590337d03f87c9318fc062651 | 9932459d1e68b53c8d28a596f7b7ded0a181c59a | refs/heads/master | 2023-08-21T16:35:24.171067 | 2023-08-10T02:34:02 | 2023-08-10T02:34:02 | 284,333,086 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 549 | py | # Generated by Django 3.1.1 on 2020-09-23 03:51
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='PizzaModel',
fields=[
('id', models.AutoFie... | [
"mazzalaialan@gmail.com"
] | mazzalaialan@gmail.com |
58d6e9df3ac68a7052137a97633751db1ec70851 | 979ee7d8b2e8228d0581760dc9f9e44c9b5e30c7 | /django/django_fundamentals/display_time/time_app/urls.py | 4aaaba0e53da1e643f5fbd1b82204cd33053c812 | [] | no_license | ameera-abed/python_stack | 6bebf0f779aac0463eafc26fdeb7b14ee3b781ee | f9f2d9b4cea2d74f716923185300896262dad425 | refs/heads/master | 2023-04-25T07:32:14.120155 | 2021-05-22T11:13:08 | 2021-05-22T11:13:08 | 364,503,433 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 97 | py | from django.urls import path
from . import views
urlpatterns = [
path('',views.index),
]
| [
"ameeraabedalnaser2021@gmail.com"
] | ameeraabedalnaser2021@gmail.com |
1f501bc33768aeb93ff9f31762840c2cd60a5341 | 97747f25239ed5f0be3351f69ab71dce8099dac2 | /smartmontools.py | 459e4286508a932415ccaf472272c032adff0e30 | [
"MIT"
] | permissive | antifuchs/datadog-disk-divination-checks | 93e3c7d7fae54c3e5359f70b594e24f4ce771788 | 093d48b50fec538db591031098aca536bab0bfac | refs/heads/master | 2021-01-15T23:59:29.168062 | 2017-08-10T17:25:53 | 2017-08-10T17:25:53 | 99,947,852 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,397 | py | from checks import AgentCheck
import re
from datetime import datetime
import os.path
import subprocess
import string
class SMARTMonTools(AgentCheck):
def process_sensor(self, line):
table_sep_re = re.compile('\s*\|\s+')
table_fields = ['name', 'value', 'unit', 'status']
return dict(zip(tabl... | [
"asf@stripe.com"
] | asf@stripe.com |
f104a1ce45a161fb025eaf3a7093856ec10aab50 | 6ef3c589d4aa5190ba2d14599aa62df80ca55ef7 | /torchsketch/data/dataloaders/tu_berlin/__init__.py | b86112ab9d399b59573060f3e40ac1cd44072ddd | [
"MIT"
] | permissive | zhangshuaizxc/TCN | 8e5990ab3b7cc94b28b907394a7e49ebaf3201ea | d6c1b1081f1eb2b916d52c985969052d564bb101 | refs/heads/master | 2023-03-18T23:25:39.309968 | 2020-10-11T15:57:27 | 2020-10-11T15:57:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 69 | py | from torchsketch.data.dataloaders.tu_berlin.tu_berlin import TUBerlin | [
"noreply@github.com"
] | noreply@github.com |
c6d4d6a078324a7655f9ad2f64d2c17965e7167f | d8ba86afcb19fcd549b3716b8c5dfe944e6ef120 | /tools/reference.py | 1fa190f77b0845d1f03fee1708dad8ce8d045f20 | [] | no_license | ortk95/astro-tools | 6a14683b614fa4990dfbc7dd820fdc9345238a24 | 040ecca96f4e05cf7ab965e36fb1785229f6ebf7 | refs/heads/master | 2021-06-18T22:14:30.849826 | 2021-02-19T15:02:40 | 2021-02-19T15:02:40 | 179,663,144 | 3 | 2 | null | 2021-02-19T15:02:40 | 2019-04-05T10:36:26 | Python | UTF-8 | Python | false | false | 999 | py | """
Module for dealing with reference information.
"""
import bibtexparser
def load_bib(path):
"""
Load data from bibtex file.
Parameters
----------
path : str
Path to bibtex file.
Returns
-------
dict containing bibtex file information.
"""
with open(path, 'r') as f:... | [
"oliver.king95@gmail.com"
] | oliver.king95@gmail.com |
32bef16f2bb7f09e9fe86ee453bb8741c6308919 | d75584ebe775cb113743c1482108b06b7d66c81b | /2020.03.31/servidor1.py | e6f564fe90ce1be6737e19148392b6f49e43c191 | [] | no_license | PabloLabriola/PNT2 | 0fad7f57b6af0cbac919c43536bec0d64e8ad467 | 90f30d50296e6e84bcd556571669bbf375e206ef | refs/heads/master | 2022-06-27T20:50:37.783833 | 2020-04-28T23:44:00 | 2020-04-28T23:44:00 | 261,536,006 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,416 | py | from flask import Flask, request, Response
app = Flask(__name__)
@app.route('/') # Por default es GET
def saludar():
return 'Hola mundo'
@app.route('/', methods=['POST'])
def saludar_servidor():
print('me saludan')
return 'Salude'
@app.route('/', methods=['DELETE'])
def borrar():
... | [
"gabriel@bsassystem.com"
] | gabriel@bsassystem.com |
12bd2df28e3b95e8a3691692897d495b319e6b3c | 3c000380cbb7e8deb6abf9c6f3e29e8e89784830 | /venv/Lib/site-packages/cobra/modelimpl/cloud/appgwstatsag1mo.py | 624f1fef4c740619187e613162dca038053a6aa6 | [] | no_license | bkhoward/aciDOM | 91b0406f00da7aac413a81c8db2129b4bfc5497b | f2674456ecb19cf7299ef0c5a0887560b8b315d0 | refs/heads/master | 2023-03-27T23:37:02.836904 | 2021-03-26T22:07:54 | 2021-03-26T22:07:54 | 351,855,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 35,558 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.m... | [
"bkhoward@live.com"
] | bkhoward@live.com |
a585dce6aaf7faf5cec4990054ca90abc24548d0 | 4561a7c614f64113def3627c47adc4e8aa352f49 | /main.py | b3baed5e7b483ee930a15c63a725cf4e1cce03ff | [] | no_license | warmth88/Kiva.org-data-collection | a1aabca0109fcfe47dbd4e16d1f7c7cd8b1fc6cc | 18a0f4f3b9b22a46502287841de47e7b036858f2 | refs/heads/master | 2021-01-13T08:05:18.263010 | 2016-10-24T15:03:36 | 2016-10-24T15:03:36 | 71,745,651 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,735 | py | #!/usr/bin/python
#
# This script get loans general data borrowers and lender's details from Kiva.com and sort it. The output format is CSV.
#
# Code written by Huanxin Wu for Prof. Yao's project.
#
# Version: 1.0
# Update history: 2012-3-15, 19:34PM-22:12PM
# 2012-3-16, 11:54AM-16:22PM
# 2012-3-16, ... | [
"huanxin@vpn-165-124-162-110.vpn.northwestern.edu"
] | huanxin@vpn-165-124-162-110.vpn.northwestern.edu |
9ac99583682707ce42b410dce70f47eb3166e25d | 528f15ea76b605ae343adb068cac2704ba0ced1d | /db_services.py | 683723062505ae10b9ee0e53fa660333beaabfd2 | [] | no_license | allwinwilliams/PythonWebCrawler | c6e39236a688327ae0e5e5a9da3e5516cc8f010a | 3d89f7ab2f6c676af7a78dd38aeb1b7e0de28ef3 | refs/heads/master | 2021-09-06T21:15:50.336215 | 2018-02-11T14:08:07 | 2018-02-11T14:08:07 | 114,160,373 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,082 | py | from neo4j.v1 import GraphDatabase
import json
"""
.. module:: module interfacing with database
.. note:: used to store and retrive based on constrains
.. moduleauthor:: Allwin Williams <allwinwilliams.info@gmail.com>
"""
def close(self):
self._driver.close()
def classify_and_store(x):
pass
def get_categor... | [
"allwinwilliams.info@gmail.com"
] | allwinwilliams.info@gmail.com |
32b60736d8f63b4069a29b253ad0a0c167eccd34 | cf025ea3bf079748472557304a290593c753b884 | /Algorithm/SWEA/6297_자료구조_리스트,튜플_20.py | 2fc050e1f50c8852119f65a7407f301f011d9d79 | [] | no_license | Silentsoul04/my_software_study | 7dbb035ceea74f42c7ce2051b2320f6cae75ed88 | c27d33c57f59fe5244a1041c11bbd826dd481546 | refs/heads/master | 2023-03-29T02:43:40.861045 | 2019-07-10T08:09:55 | 2019-07-10T08:09:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 373 | py | # 콤마 (,)로 구분해 숫자를 입력하고, 입력된 숫자 중 홀수를 콤마(,)로 구분해 출력하는
# 리스트 내포 기능을 이용한 프로그램을 작성하십시오.
lis = input('').split(', ')
lis = list(map(int, lis))
lis = [a for a in lis if a % 2 != 0]
for i in lis:
if i != lis[-1]:
print(i, end=', ')
else:
print(i)
| [
"pok_winter@naver.com"
] | pok_winter@naver.com |
a5a88d0d34300af6910c517ead1770df36c249c7 | d70d12d0a794ce7419cd08f4a3d09c142a56a72d | /Website/hockey_bet.py | 9d294608dd9f108423dbff3e27c271efc9a920e0 | [] | no_license | JTMachen/Sponsio-Computatum | 367d5c6d89ae0daf0ab5797e326a3fa2d3590187 | 12149fe153408e1ecfe1f414ea02bacc054127a4 | refs/heads/master | 2020-12-18T14:05:10.342478 | 2020-01-25T19:30:28 | 2020-01-25T19:30:28 | 235,410,744 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,027 | py | # Import required libraries
from datetime import datetime
from path import Path
import pandas as pd
from bs4 import BeautifulSoup as soup
from urllib.request import Request, urlopen as Ureq
import json
import warnings
warnings.filterwarnings('ignore')
def hockey_bet():
# Pull in url for schedule
# TODO: Check... | [
"jonathon.t.machen@gmail.com"
] | jonathon.t.machen@gmail.com |
61bb2ac703e693d0563de45b7bf8c0198ad19aff | 1ab15365c9a262c2d7d27d1df62f4bbb956c86c5 | /05. Capstone- Retrieving- Processing- and Visualizing Data with Python/PageRank/sprank.py | b9ab5a258ef639906d9c6364c0fb05bb8a341662 | [] | no_license | machinelearningxl/Coursera-Python-for-Everybody | c6162f6e1bbbd5b9d2249ad4a0b45f3d38a86bf3 | fa01a9967838c11332585d2eaae68fd44865037e | refs/heads/master | 2021-04-06T10:21:54.483178 | 2018-12-17T00:45:03 | 2018-12-17T00:45:03 | 125,256,652 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,173 | py | # @Author: Antero Maripuu Github:<machinelearningxl>
# @Date : 2018-12-17 00:10
# @Email: antero.maripuu@gmail.com
# @Project: Coursera
# @Filename : sprank.py.py
import sqlite3
conn = sqlite3.connect('spider.sqlite')
cur = conn.cursor()
# Find the ids that send out page rank - we only are interested
# in pages in... | [
"antero.maripuu@gmail.com"
] | antero.maripuu@gmail.com |
561ff564fb0977c66e58acd7e4b919a5614a91d2 | f424c4aca9564ecbc345ef569bb54366a25f569b | /soundex.py | 6ebaaa4c910683add38232d427a22549b4ca96a0 | [] | no_license | dploy-team/ofac-search | a1460f9b92183cf647745a8fb2756923456b0d13 | 42eaecc37efb57e148b9f0215db10c514faa26db | refs/heads/master | 2023-05-13T21:58:13.563064 | 2019-09-20T02:21:13 | 2019-09-20T02:21:13 | 208,820,031 | 2 | 1 | null | 2023-05-01T21:15:25 | 2019-09-16T14:26:14 | Python | UTF-8 | Python | false | false | 2,286 | py | def Soundex(data):
result = ""
if (data):
previousCode = ""
currentCode = ""
result = result + data[0].upper()
for i in range(1, len(data)):
currentCode = EncodeChar(data[i])
if (currentCode != previousCode):
result = result + currentCode
... | [
"wagner.mattei@gmail.com"
] | wagner.mattei@gmail.com |
ae40e4e4a638cc46946cb2d4bf4cfbebed4a2069 | 685872d988dc063c68a869b3b3dedfdc2d22775f | /Keg 2 p11.py | 78c85cd09d49b3983a1289ebddb775aaccedb9f3 | [] | no_license | L200180167/Praktikum_Algopro | 2b1fb811ae32710659a6424c55700dd5648f6e9c | bd0b325075689687388545e3e55e1986b817c4d5 | refs/heads/master | 2020-04-06T19:05:29.917344 | 2018-12-23T01:28:09 | 2018-12-23T01:28:09 | 157,725,271 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,679 | py | from Tkinter import *
calc = Tk(className="Kalkulator Sederhana")
L1 = Label(calc, text='Angka 1', font="Times 14")
L1.place(x=10, y=10)
L2 = Label(calc, text='Angka 2', font="Times 14")
L2.place(x=10, y=60)
E1 = Entry(calc, justify=RIGHT, font="Times 14")
E1.place(x=90, y=10, height=35, width=180)
E2 =... | [
"noreply@github.com"
] | noreply@github.com |
3307638c5f7d810e5eb2f680210a4550baeccb1e | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_130/109.py | 299fb5c1eb010bc2a3f47d88949f82537fdcd7a1 | [] | 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 | 680 | py | #!/usr/bin/python2
#-*- coding: utf-8 -*-
import math
def readint(): return int(raw_input())
def readarray(f): return map(f, raw_input().split())
def can_win(N, n):
return int(math.log(2**N - n, 2))
def can_lose(N, n):
return int(math.log(n+1, 2))
for test in range(readint()):
print 'Case #%i:'%(test+1),
N... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
d12d74276acfd467a1c127c96f33fb575a541490 | 751cf52d62dba7d88387fc5734d6ee3954054fc2 | /romeo/robot/conv.py | 7580d5f5f3b7a223ca160fc7aea2f9066c60765d | [
"MIT"
] | permissive | nooralight/lab-computer-vision | 70a4d84a47a14dc8f5e9796ff6ccb59d4451ff27 | 0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9 | refs/heads/master | 2023-03-17T12:45:22.700237 | 2017-07-11T22:17:09 | 2017-07-11T22:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,469 | py | ###############################################################################
# Author: Daniil Budanov
# Contact: danbudanov@gmail.com
# Summer Internship - 2016
###############################################################################
# Title: conv.py
# Project: Romeo Robot
# Description:
# useful conversion... | [
"danbudanov@gmail.com"
] | danbudanov@gmail.com |
554b941fc452621f4a78ebcd0eedaf68ba6c57ba | 80caf973742bed3283b3516cf1e186dbee30259c | /tests/test_main.py | 4d02245a111da036d5bf41531087d1cc1149b2af | [] | no_license | michalkurdziel/sudoku | 6f8a3384c11d4d0b573f5067d42ecf7ecb044d63 | 2a22af4a74dc0730f8ff1c0ecddbb8cf5215b44d | refs/heads/master | 2020-05-19T00:06:42.411586 | 2020-02-24T09:34:42 | 2020-02-24T09:34:42 | 184,728,143 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,191 | py | from unittest import TestCase
from unittest import mock
from src.consts import puzzle
from src.consts import puzzle_results
from src.main import Cell
from src.main import CellList
from src.main import get_border
FULL_SET = [x for x in range(1, 10)]
TEST_MATRIX = [
[0, 3, 6, 0, 4, 7, 5, 2, 0],
[0, 4, 0, 6, 2,... | [
"michal.kurdziel@ardigen.com"
] | michal.kurdziel@ardigen.com |
7470e26156b17d458bc7416e9cbdf3ef2d2d50e0 | 34aef6a91384490d5c5bb2542835b0a302982a36 | /mpcInf_R.py | 7645f0cfab27616eec6f456cacfa5d05abaed2b2 | [] | no_license | naru-naru/sparseControl_byNN | 117d3a302f0ad506396069973c7d52043cda83cc | 7279d25869d11ad6b378359394b910ad8b9d5d33 | refs/heads/main | 2023-03-27T21:25:32.471704 | 2021-04-05T16:12:58 | 2021-04-05T16:12:58 | 354,888,147 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,455 | py | # import cvxpy
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
import japanize_matplotlib
# from scipy.integrate import odeint
# import cvxopt
# from cvxopt import matrix
import scipy.linalg
import scipy.signal
from l1sample import mpc_modeling_tool_v5
import random
import csv
import pandas as pd
... | [
"noreply@github.com"
] | noreply@github.com |
e3e34122924799d34bc42307f300a83bf916269b | 4b653e08fe60e7758bb50c3cb6438cc68b12b9af | /bestshaper2/apps/migrations/0002_auto_20170530_1847.py | 6e4445a5731f040b39bd163d2142aa55bfcb2a17 | [] | no_license | atsuo4610/bestshaper | b83359faea0e3973e7ed716676e4a2e9dd7f53ee | 335309d1795f83a5de4187eae6c2bc5fc37c455f | refs/heads/master | 2021-01-22T21:53:03.443092 | 2017-06-02T08:12:10 | 2017-06-02T08:12:10 | 92,740,899 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,085 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2017-05-30 09:47
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('apps', '0001_initial'),
]
operations = [
mi... | [
"kochiatsuo@kawauchiatsuonoMacBook-Pro.local"
] | kochiatsuo@kawauchiatsuonoMacBook-Pro.local |
1f41add4ccb7a992fbf010e0494a8d6bfeadedb5 | 0f13f1a7039c697fee4664ce78cb556196e52c71 | /new/analysis/migrations/0003_auto_20200813_0914.py | 9c665392e5e389f9757b649057a96d1a789afabd | [] | no_license | daisy-ctrl/ParkingAnalysis | 8937e40832ac8345c14f6112e3c1559d626db295 | 45e3944327ae3d1872fac007adf3d92fe5e33d69 | refs/heads/master | 2022-12-04T08:41:43.478914 | 2020-08-25T10:58:49 | 2020-08-25T10:58:49 | 290,184,958 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,373 | py | # Generated by Django 3.1 on 2020-08-13 09:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('analysis', '0002_auto_20200813_0743'),
]
operations = [
migrations.CreateModel(
name='All',
fields=[
(... | [
"daisykiragu@gmail.com"
] | daisykiragu@gmail.com |
609ba118086b4090d614ac15757d8608e9f25ad1 | 75a642ab9d63580bf9c762b6626ecdff1e787d4a | /Data.py | ee318e6af4c85d3695cfd438a4a1aabe26990bfd | [] | no_license | haitrr/character-recognition | 74faeaa659360457e5225f03f3beb5d4bd0b9a38 | 9548b7cbdfd6a94f056bc2563ea911d7c3da3ba5 | refs/heads/master | 2022-02-10T07:19:33.592800 | 2017-10-13T19:38:42 | 2017-10-13T19:38:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,174 | py | from PIL import Image
import numpy as np
from os import listdir
en_char = [
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd',
'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's... | [
"vroyibg@gmail.com"
] | vroyibg@gmail.com |
e606292d85ba5c8ed69dd635940b950b332a9b70 | 2c91dd88913bcffe6f4c1f6c13e55a97562211b0 | /tests/test_by_state.py | 61c1799bde66b2e506adad77086cc512352098c7 | [] | no_license | Joylizzie/covid19 | 9b228cb19df3575162adb239de22f3b1fbd6d915 | 2ed057701df6facfb52f5eba88c28a223098ba47 | refs/heads/master | 2022-07-23T05:24:56.519485 | 2020-05-16T19:05:53 | 2020-05-16T19:05:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,399 | py | import sys
import os
import datetime
import shutil
import test_data
sys.path.append('..')
import unittest
from unittest import mock
from henry_covid19.mock_query_job import MockQeryJob
import by_state
from test_data import state_deaths
from test_data import state_cases
from test_data import us_states
import copy
def ... | [
"paulhtremblay@gmail.com"
] | paulhtremblay@gmail.com |
00485ccbe30be1378517fcb81e50a0de1a25e315 | 210b968876a8aea36eae94e4720e23f2daa8552b | /lib/polysimplify.py | 816a9eb2f94da396da73313ec65d9ea5c07428b4 | [] | no_license | beefoo/coloring-book | 3ce5c0d5497b199cd470f640dd0b3778d545577f | cee77b7f863ddee4323c8c16111d353fe27e5b36 | refs/heads/master | 2021-01-12T09:37:36.490913 | 2017-06-26T19:07:43 | 2017-06-26T19:07:43 | 76,204,083 | 9 | 1 | null | null | null | null | UTF-8 | Python | false | false | 16,049 | py | '''
Source: https://github.com/Permafacture/Py-Visvalingam-Whyatt/
=========================================
Visvalingam-Whyatt method of poly-line vertex reduction
Visvalingam, M and Whyatt J D (1993)
"Line Generalisation by Repeated Elimination of Points", Cartographic J., 30 (1), 46 - 51
Described here:
http://web... | [
"brian@youaremyjoy.org"
] | brian@youaremyjoy.org |
163b990bf7551bd22257719bfa9e5ff8df2d238a | 9add45eda7fbfc8fb165fc9f0a518e8b87f8f42c | /llatb/common/util.py | f493725d42e28a4d445e2618dae01a9b7f10598c | [] | no_license | gohankuma92/LLSIF-AutoTeamBuilder | 1850fdd6733d27adfa2668b8fbec840fda3848f0 | 398105d8262214d48855c4c7b8818086a886458a | refs/heads/master | 2021-03-27T20:13:14.809883 | 2017-07-20T17:52:13 | 2017-07-20T17:52:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,827 | py | import numpy as np
import pandas as pd
import urllib.request, sqlite3, json
from bs4 import BeautifulSoup
from pathlib import Path
from llatb.common.config import *
from llatb.framework.card import Card
from llatb.framework.team import Team
def update_card_data():
def card_summary(unit_id):
unit_info = df_unit.loc[... | [
"ml311@duke.edu"
] | ml311@duke.edu |
95bd1f16c83e9df914341a1351bfc120644f6b06 | 147bc95b8b8a36014ec001bb1f79100095fa90a4 | /day13/类的三大特征_继承4.py | e05f51930dbbd35a1c8fd15ebd171e253fa7571a | [] | no_license | zhangwei725/PythonBase | fd20293b7f7ebee9f11a5df8f4761cad7f1ff4c7 | 6c9165caed48418eb55cf7622359105c9124e580 | refs/heads/master | 2020-04-30T00:32:40.360722 | 2019-04-03T01:41:51 | 2019-04-03T01:41:51 | 176,505,618 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 481 | py | """
super() 函数
"""
class Month:
def __init__(self):
super().__init__()
self.name = '这个是母类的name'
class Father:
def __init__(self):
super().__init__()
print('这个是父类的__init__')
def give_money(self):
print('父类赚钱的方法')
class Child(Father,Month):
pass
# 将复杂的问题简单化... | [
"36558563@qq.com"
] | 36558563@qq.com |
24daa541611085bb6699409a4ca2f5234c34ff57 | 4b9a0f99b8934de19f908edf5e2dd9ae40d1183e | /hw1fmodel.py | 74b479b8f3dd32353f7e322c040576598b1920ea | [] | no_license | harvey1673/pyqtlib | 316109c03ea48f64e0adde87789838e0d0c44c85 | 00ece212896d32a8974823ecb9bac052a754641b | refs/heads/master | 2023-08-29T20:46:32.092598 | 2023-08-25T01:14:00 | 2023-08-25T01:14:00 | 77,933,043 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 14,791 | py | #-*- coding:utf-8 -*-
from math import log, exp
from repoze.lru import lru_cache
import numpy as np
from scipy.stats import norm
from scipy.optimize import brentq as solver, minimize_scalar
import QuantLib
from curve import DiscountCurve
from misc import *
from finite_diff import FDM1D
from rate_options import BlackL... | [
"harvey_wwu@hotmail.com"
] | harvey_wwu@hotmail.com |
aa2772f0473880dd7c1525b8bb328ba123580ff4 | 1903aa0028dd91a128f1630c6eb9a1f3467ed951 | /src/icemac/addressbook/browser/conftest.py | 129602467fc097430f592c46ab552416cb159f7d | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-2-Clause"
] | permissive | icemac/icemac.addressbook | a5ae04feb2b2fb1f0ecc7bf3e60b1666f5bfedd8 | 6197e6e01da922feb100dd0943576523050cd703 | refs/heads/master | 2021-01-03T12:44:08.365040 | 2020-08-06T06:50:51 | 2020-08-06T06:51:05 | 242,137,124 | 2 | 0 | BSD-2-Clause | 2020-04-12T07:41:02 | 2020-02-21T12:43:45 | Python | UTF-8 | Python | false | false | 1,562 | py | # -*- coding: utf-8 -*-
from icemac.addressbook.interfaces import IPerson
import icemac.addressbook.testing
import pytest
import zope.component.hooks
# Fixtures to set-up infrastructure which are usable in tests,
# see also in ./fixtures.py (which are imported via src/../conftest.py):
@pytest.yield_fixture(scope='fu... | [
"mh@gocept.com"
] | mh@gocept.com |
0637e7a3438aebc0e79656f9593180645405e8d1 | fb316d849ff0616a959eb38b007d8f6ee06cd5e8 | /lib/sqlalchemy/future/engine.py | d3b13b51077df1abe20a17d1a5a1f7c0636abdef | [
"MIT"
] | permissive | miguelgrinberg/sqlalchemy | e37c04ac7cb7749ca23fdc80f9ee6e93d8e8cfad | 3d55263c92ee29a0257d823124c353a35246cf31 | refs/heads/master | 2023-09-01T13:28:51.022925 | 2020-05-19T22:55:16 | 2020-05-19T22:56:11 | 265,706,107 | 6 | 0 | MIT | 2020-05-20T23:16:34 | 2020-05-20T23:16:33 | null | UTF-8 | Python | false | false | 16,535 | py | from .. import util
from ..engine import Connection as _LegacyConnection
from ..engine import create_engine as _create_engine
from ..engine import Engine as _LegacyEngine
from ..engine.base import OptionEngineMixin
NO_OPTIONS = util.immutabledict()
def create_engine(*arg, **kw):
"""Create a new :class:`_future.E... | [
"mike_mp@zzzcomputing.com"
] | mike_mp@zzzcomputing.com |
b23d5173c1f776683ce83e53f7ea9ec44fa942ab | ecd6824977a83bc6d54963d1a1052bcc49dba9da | /tradingsystem/settings.py | ae08f05341ed42a42dfc0b080cbcdca167170621 | [] | no_license | jinoespinola/tradingsystem | 5d00a7a2bf94343122abd98579bb979309111632 | 918d40e8acf60a0e9edcfd924e2bccc3b7f7bc25 | refs/heads/master | 2023-08-23T09:44:03.277119 | 2021-10-26T12:23:11 | 2021-10-26T12:23:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,833 | py | """
Django settings for tradingsystem project.
Generated by 'django-admin startproject' using Django 3.2.8.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/
"""
from p... | [
"jino.espinola@gmail.comgit config --global user.name Jino"
] | jino.espinola@gmail.comgit config --global user.name Jino |
3836078788f27000967c875cd7431a23997e0982 | a92d2add8aea04da46f94c6ab1f0d1af0ee843aa | /qytPytorch/core/vocabulary.py | e782a4307915dcb2e6adf825a09703a3f0f96784 | [
"Apache-2.0"
] | permissive | q759729997/qytPytorch | 34280445fb527b76b99b7b03c9f74eac34182d96 | b9b4b6aeff67596c493871c0842dc72c5b66c548 | refs/heads/master | 2021-03-22T19:05:46.089603 | 2020-04-19T15:39:37 | 2020-04-19T15:39:37 | 247,394,065 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,261 | py | """
module(vocabulary) - 词典模块.
Main members:
# get_tokenized_vocab - 构造词典.
# save_vocab_words - 保存词典中的单词与单词id.
"""
import codecs
import collections
import torchtext.vocab as Vocab
def get_tokenized_vocab(tokenized_data, min_freq=5):
""" 构造词典.
@params:
... | [
"qiaoyongtian@qq.com"
] | qiaoyongtian@qq.com |
9e6dafe244592ad4dbf36d2cc49cc8d03283b10c | d0fc62123774a7b0ce592f5b137b4e08702fc9ae | /Huffman_coding/asgi.py | ab8993a5da42fadbca325633c019f2abff099555 | [] | no_license | dheerajk7/Text-Compression | 4fb324db9ae444cfc72d3ebfc12522d19dcb60d3 | 667f40ea1c9b981f74c7709caeb53bd4c552d718 | refs/heads/master | 2022-09-01T01:14:10.611806 | 2020-05-27T04:48:08 | 2020-05-27T04:48:08 | 255,061,674 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 405 | py | """
ASGI config for Huffman_coding 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.0/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANG... | [
"Dheeraj77253@gmail.com"
] | Dheeraj77253@gmail.com |
cca60f5d6dbbaffd9037eaa7163785fe3df4a6d8 | 81f2560004d0c654ed228bc3848f04afdc64b3a5 | /gui/graphicItems/commandWidgets/smallGenericCommand.py | 873c51b32344dc376be2c7256b2f4a852162560f | [] | no_license | timoButtenbruck/microRay | d9ba6988315bbd474d355cae4a2e1d5ed7e0d83e | 811afb79c712038c86795a8b0d3b6d9c5c2f43f2 | refs/heads/master | 2023-06-26T06:15:53.196082 | 2021-07-22T11:43:48 | 2021-07-22T11:43:48 | 388,088,064 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 24,951 | py | # -*- encoding: utf-8 -*-
import time
from PyQt4 import QtGui, QtCore
from core.command import Command
from core.engineeringNotation.engineeringNotation import EngNumber
from baseCommand import BaseCommand
from gui.graphicItems.floatValidator import FloatValidator
from gui.graphicItems.lineEditDoubleClickSpecial im... | [
"timo-buttenbruck@web.de"
] | timo-buttenbruck@web.de |
de3f99c8e32612bd00580afe644786500f42771b | 6ed034d0a5e239d7b0c528b287451409ffb4a494 | /configs/animal/2d_kpt_sview_rgb_img/topdown_heatmap/apt36k/ViTPose_large_apt36k_256x192.py | d4ae268d4c68f35ac2d757c15406706f90483d4e | [
"Apache-2.0"
] | permissive | ViTAE-Transformer/ViTPose | 8f9462bd5bc2fb3e66de31ca1d03e5a9135cb2bf | d5216452796c90c6bc29f5c5ec0bdba94366768a | refs/heads/main | 2023-05-23T16:32:22.359076 | 2023-03-01T06:42:22 | 2023-03-01T06:42:22 | 485,999,907 | 869 | 132 | Apache-2.0 | 2023-03-01T06:42:24 | 2022-04-27T01:09:19 | Python | UTF-8 | Python | false | false | 4,296 | py | _base_ = [
'../../../../_base_/default_runtime.py',
'../../../../_base_/datasets/ap10k.py'
]
evaluation = dict(interval=10, metric='mAP', save_best='AP')
optimizer = dict(
type='Adam',
lr=5e-4,
)
optimizer_config = dict(grad_clip=None)
# learning policy
lr_config = dict(
policy='step',
warmup='... | [
"annblessus@gmail.com"
] | annblessus@gmail.com |
1318158f62eb23b882fccf35446671a7a62a59c1 | 9a2983c37b4b3982262250d2dce33b0938912c05 | /Control_Structures/Lists.py | cb012742f2575deae528446a3ebc0b3a4d2dc4ac | [] | no_license | 00Bren00/hello-world | 6d1de2f8f0b7bbdb13e4b26628429f7b447a906f | 8c1ff1c8d86dee8293715af7ea17260bd62d6806 | refs/heads/master | 2021-01-20T17:47:56.592813 | 2017-05-12T20:36:18 | 2017-05-12T20:36:18 | 90,889,917 | 0 | 0 | null | 2017-05-12T20:36:19 | 2017-05-10T17:18:54 | Python | UTF-8 | Python | false | false | 1,982 | py | str = "Hello world!"
print(str[6])#w
words = ["Hello", "world", "!"]
print(words[0])
print(words[1])
print(words[2])
nums = [1, 2, 3]
print(nums + [4, 5, 6])
print(nums * 3)#can add and multiply lists like strings
words = ["spam", "egg", "spam", "sausage"]
print("spam" in words)
print("egg" in words)
print("tomato" ... | [
"ringelb8@students.rowan.edu"
] | ringelb8@students.rowan.edu |
6303abe03f9194cd8be87372d7b768e2ee779bec | d544961463f04cc41d76ad914bab8797ad8dfe7c | /canteenGraphql/query.py | 710ab8e64343df835bb90970f6b8934727fb42be | [
"MIT"
] | permissive | djunicode/canteen-automation-web | 0f979efdeb892d2b7c3fd6571fe4efabe9df1052 | 3202d92b50ce91f6808c90ed415e9b6568195a1e | refs/heads/master | 2023-08-10T00:43:09.393558 | 2023-07-29T07:14:43 | 2023-07-29T07:14:43 | 162,983,460 | 7 | 24 | MIT | 2023-01-04T09:15:31 | 2018-12-24T11:24:20 | JavaScript | UTF-8 | Python | false | false | 1,106 | py | from graphene import Field, List, ObjectType, Int, Boolean
from .types import *
class Query(ObjectType):
orders = List(OrderType, is_fulfilled=Boolean(required=False))
order_by_id = Field(OrderType, id=Int())
bills = List(BillType)
bill_by_id = Field(BillType, id=Int())
categories = List(Categor... | [
"vikrantgajria@gmail.com"
] | vikrantgajria@gmail.com |
07eeaa1fdda36825d0f06a3dbd3817a06dd68bf9 | 819ecc18033a487512f58d39f9f3535381b95df2 | /fynd/search_indexes.py | 9df42291ce82298360aae2a383a9a0c9c5d69d1c | [] | no_license | saket-mishra/MovieEye---IMDB-like-API-integration-with-rest-framework | 1da934de802ed747a95d36aa029a0f53b25c9b24 | cb34fb98e4265a5eb51c3551c59e7745a3246b48 | refs/heads/master | 2021-01-10T03:56:22.547951 | 2015-12-28T12:32:47 | 2015-12-28T12:32:47 | 48,690,948 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 555 | py | import datetime
from haystack import indexes
from movieapi.models import Movie
class MovieIndex(indexes.SearchIndex, indexes.Indexable):
text = indexes.CharField(document=True, use_template=True)
movie_name = indexes.CharField(model_attr='movie_name')
director = indexes.CharField(model_attr='director')
... | [
"saket.j14@gmail.com"
] | saket.j14@gmail.com |
6834bd6a5d5334b0726f2d3e7537a65691494423 | 6246d7a09f2a8f115f4be472e7711559284f8129 | /venv/Scripts/pip3-script.py | 049c8d056ec15b4138e79a4466509c869099f740 | [] | no_license | TarenaWebOnlineStore/onlineStore | 6403ca1118a80c8be08a16a5ba76a366d905399d | 97d4cbc2f0944e30060aa2651baf4ff07977466b | refs/heads/master | 2020-03-31T07:46:59.217993 | 2018-10-08T07:03:53 | 2018-10-08T07:03:53 | 152,034,135 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 416 | py | #!C:\Users\GS63\PycharmProjects\onlineStore\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3'
__requires__ = 'pip==10.0.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar... | [
"38883461+jzy013050@users.noreply.github.com"
] | 38883461+jzy013050@users.noreply.github.com |
3307f57428527be72fbc6e8c0681dec11411b8ca | 7eb17fd6d726b421cbb8e158dad0da97a23b4d07 | /zomato-review.py | e340c33576f9a5853864bf9b25a857332ef93e8d | [] | no_license | harrysaini/zomato-review-scrapper | 4589f3254c847ef386e7fc63e728d49c016c115a | 584bf17bc40bb908ce1fa0300fc853a1a537e762 | refs/heads/master | 2020-03-16T07:49:08.752639 | 2018-05-08T09:17:17 | 2018-05-08T09:17:17 | 132,584,115 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,664 | py | """
Python class to scrap data for a particular restaurant whose zomato link is given
"""
import re
import urllib
from urllib import parse
from bs4 import BeautifulSoup
from urllib.parse import urlparse
import urllib.request
from selenium import webdriver
from selenium.common.exceptions import *
from bs4 import Navi... | [
"harish5129.hs@gmail.com"
] | harish5129.hs@gmail.com |
c16e912c2f8af62b47f04930ea6834f65f004685 | 2b167e29ba07e9f577c20c54cb943861d0ccfa69 | /numerical_analysis_backup/small-scale-multiobj/resource_usage/arch5_old/arch5_decomposition_new.py | ae530d6687b0514a5e7f818ed6800eb8daffdb67 | [] | no_license | LiYan1988/kthOld_OFC | 17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f | b1237577ea68ad735a65981bf29584ebd889132b | refs/heads/master | 2021-01-11T17:27:25.574431 | 2017-01-23T05:32:35 | 2017-01-23T05:32:35 | 79,773,237 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,197 | py | # -*- coding: utf-8 -*-
"""
Created on Tue May 31 15:39:25 2016
@author: li
"""
from gurobipy import *
from scipy.linalg import toeplitz
import numpy as np
import time
import itertools
import csv
class Arch5_decompose(object):
"""Create models for different SDM DCN architectures
"""
def __init__(self, tr... | [
"li.yan.ly414@gmail.com"
] | li.yan.ly414@gmail.com |
156ad56c215bc575a383f08114e2f020fa456cc8 | d9c4ae9466e63b8e2f5a5ee6cc928b5edfae72c3 | /백준/1260 DFS와 BFS/안현진1.py | ef6e723fb3e825c7fdb257502487f6168dc145a8 | [] | no_license | HyeonJinGitHub/LearningRepository | 950dc3f2a78dbb8bbf713c04eb2e0c88a4e66894 | 35c309bfe8e2311a9f60c8b6ea4ddcfe70559e4b | refs/heads/master | 2023-04-19T23:56:31.881422 | 2021-05-11T04:12:32 | 2021-05-11T04:12:32 | 290,224,023 | 37 | 4 | null | 2021-05-02T14:28:35 | 2020-08-25T13:34:02 | Java | UTF-8 | Python | false | false | 787 | py | import sys
from collections import deque
def dfs(x):
global visit
visit[x] = True
print(x, end=' ')
for y in a[x]:
if not visit[y]:
dfs(y)
def bfs(x):
q = deque([x])
check = [False] * (N + 1)
check[x] = True
while q:
x = q.popleft()
print(x, end=' '... | [
"skymilk95@naver.com"
] | skymilk95@naver.com |
250c85c2aba2881de7c6832f2f64bdc37ebb0f75 | 8927ba440e6572cc438d248f636a296671c83b33 | /search_dict.py | a06ef2a3c3ea1b6ab7b1f2733c6bf9e656556b1f | [] | no_license | coschmitt/BinarySeach | 7c1553eb6c96552e1349a980fad669d663967191 | 5c6d595e61143bb12704aeb97d0c6b62cfbfa0b2 | refs/heads/main | 2023-02-06T12:33:29.674613 | 2020-12-27T19:03:40 | 2020-12-27T19:03:40 | 304,171,881 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,037 | py | from sqlalchemy import create_engine, select, Table, MetaData, Column
from itertools import permutations
engine = create_engine("mysql+pymysql://root:{password}@localhost:3306/entries")
metadata = MetaData()
entries = Table('entries', metadata, autoload=True, autoload_with=engine)
stmt = select([entries.columns.wor... | [
"noreply@github.com"
] | noreply@github.com |
afe54ee5012f5d71afac6e6618c6567c1a9ac1ce | 14392ffb7b6f13bc66bf3a17e3b26069743c2dee | /tools/enhance.py | 891e5abc3570d735e18062918658134a9a1dad33 | [
"MIT"
] | permissive | xiaojieli0903/SRDN | 560afaf4ee24e87a317e9304c3c507940ef58740 | e5cfec029942088523550cc62f47e6f6519a6474 | refs/heads/master | 2021-09-06T12:30:35.455146 | 2018-02-06T14:59:12 | 2018-02-06T14:59:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 33,410 | py | # -*- coding: utf-8 -*-
#!/usr/bin/env python3
"""
*
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* ... | [
"lixiaojie"
] | lixiaojie |
d5e8d6dcd3352aea7afb3458f1ec740103900231 | 084c2f661e871133428c9681cb8e4ad76fc40cbd | /venv/Lib/site-packages/wx/core.py | 925004daaa07ad8eb058e9f2a614f0115fbd7577 | [] | no_license | taquynhnga2001/ntu-northspine-canteen-system | 5ec914b4f6cc85ca5df136063289da17ea096bb3 | 0dc072b709d3c75bd0db7738f08e1d1cc9dd949a | refs/heads/master | 2022-12-12T03:49:11.068899 | 2020-08-21T09:34:35 | 2020-08-21T09:34:35 | 265,493,323 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 137,832 | py | # This file is generated by wxPython's SIP generator. Do not edit by hand.
#
# Copyright: (c) 2018 by Total Control Software
# License: wxWindows License
"""
The classes in this module are the most commonly used classes for wxPython,
which is why they have been made visible in the core `wx` namespace.
Every... | [
"taquynhnga2001@gmail.com"
] | taquynhnga2001@gmail.com |
a48af5ad00e06e718218840b9a84fdd2d9b2aec9 | 412b5863c3f9c0d1979f333f843341b687f851b7 | /worksheets/storage.py | ee87fb7b55e3fef13e0eab94d416a413699868d3 | [] | no_license | westernguy2/personal | aaee32e77ba2cd158a908605daa1115c68963163 | 6a4d37eebadb8a75152eb362ca45b4657bc0b663 | refs/heads/master | 2021-09-22T12:09:39.557077 | 2021-09-13T07:29:35 | 2021-09-13T07:29:35 | 146,562,461 | 0 | 0 | null | 2020-05-18T07:27:54 | 2018-08-29T07:30:30 | HTML | UTF-8 | Python | false | false | 1,120 | py | from django.core.files.storage import FileSystemStorage
from django.conf import settings
import os
class OverwriteStorage(FileSystemStorage):
def get_available_name(self, name, max_length):
"""Returns a filename that's free on the target storage system, and
available for new content to be written ... | [
"kagarwal2@berkeley.edu"
] | kagarwal2@berkeley.edu |
a687ba0d5cb12fafa14c7e22a712c8c997ff5721 | 52b287db51ac7d47c04f6d5d0180ad9754dce7f7 | /GANs/Face_Detection/DC_GAN.py | 461dd0b38faae92ef3a09231b1f22ad3179ebb46 | [] | no_license | AshishRMenon/Implementations | 3e44be6b3a0af8e468e3f515d98eb076a912ee33 | 4470fd1cbfe471bc2f994c8190b5ddec492cbf1f | refs/heads/master | 2022-01-04T21:33:11.546711 | 2019-05-26T16:25:45 | 2019-05-26T16:25:45 | 172,696,966 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,774 | py | #!/usr/bin/env python
# coding: utf-8
# In[ ]:
from __future__ import print_function
import argparse
import os
import random
import torch
import torch.nn as nn
import torch.nn.parallel
import torch.backends.cudnn as cudnn
import torch.optim as optim
import torch.utils.data
import torchvision.datasets as dset
impor... | [
"noreply@github.com"
] | noreply@github.com |
2a34fbe18afc155465fd02a040417bafdcb289a9 | fe67a0dda1740f82cf24cdf635466d45cdbbe511 | /Fitness.py | ea4527d7d3e09c789b3907bc940e107882a0abbe | [] | no_license | akm-sabbir/fractal_dimension_calculation | 62fa131b31ed74fb4d2336f087e7c29c12b67c70 | 4b8fac1d03f16e19cc5e9a9c506d09bfc9eaac15 | refs/heads/main | 2023-01-15T11:45:08.001551 | 2020-11-25T17:49:37 | 2020-11-25T17:49:37 | 316,011,476 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,792 | py | from collections import defaultdict
import math
import numpy as np
import scipy as sp
import random
from matplotlib import pyplot as plt
from global_configuration import global_configuration
from housdroff import cost_function
import pylab as pl
NFE = 0
from sklearn.linear_model import SGDRegressor
from sklearn.linea... | [
"sabbirsourov@gmail.com"
] | sabbirsourov@gmail.com |
a2b6b34ff047d0ec1cdb6d18f51231f84e12a928 | f2a2f41641eb56a17009294ff100dc9b39cb774b | /current_session/python/418_redo.py | a14bf61ab00583408d47eab1fcd4075630030f9d | [] | no_license | YJL33/LeetCode | 0e837a419d11d44239d1a692140a1468f6a7d9bf | b4da922c4e8406c486760639b71e3ec50283ca43 | refs/heads/master | 2022-08-13T01:46:14.976758 | 2022-07-24T03:59:52 | 2022-07-24T04:11:32 | 52,939,733 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 840 | py | # naive approach
# fill row by row
from typing import List
class Solution:
def wordsTyping(self, A: List[str], rows: int, cols: int) -> int:
# craft the 'sentence' and count the index
sen = ' '.join(A) + ' '
L = len(sen)
i = 0
for _ in range(rows):
i += cols-1 ... | [
"yunjun.l33@gmail.com"
] | yunjun.l33@gmail.com |
ab3cd60d0e056e60ea68e8afd71f7c9ef342215f | 08485eb2b7df0857fe72f33a4b0d6de6ac6ce5b4 | /toycomp/diagnostics.py | 2c919974cd49eae423b8995659fe25488e3e8739 | [] | no_license | sam-roth/toycomp | fd3321eda6903a045d844d160bd867ba9d4323a2 | 0d78e82fd71a62f4934d54080ba0b660bf70e565 | refs/heads/master | 2016-08-09T09:13:56.554620 | 2016-01-06T16:06:48 | 2016-01-06T16:06:48 | 49,043,037 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,965 | py | import collections
import enum
from toycomp import color
from toycomp.translation import *
class DiagnosticSeverity(enum.Enum):
error = 0
class Diagnostic:
def __init__(self, severity, node, message):
self.severity = DiagnosticSeverity(severity)
self.node = node
self.message = messa... | [
"sam.roth1@gmail.com"
] | sam.roth1@gmail.com |
724cadf242537ffb969fa1b21a1538c10854c032 | 3457c98a4adf068a6ce08e72e22d522737e0ab2d | /manage.py | 6a9914b4e10cab125b7b3f2b11ecfc40279d1571 | [] | no_license | UroojMajeed/eliteshoppy | 733352b78cf360a0715e8dc99ec415a349f7af46 | 634dfdb5e5171b9bb5c9d06e5f92994e95bad544 | refs/heads/main | 2023-06-27T03:12:46.587814 | 2021-07-28T10:13:55 | 2021-07-28T10:13:55 | 381,805,166 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 664 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'garments.settings')
try:
from django.core.management import execute_from_command_line
except Imp... | [
"uroojmajeed32@gmail.com"
] | uroojmajeed32@gmail.com |
e74bca37aac7b16ca7a36c9e2412953cf0df4973 | 5bf572a132c30ec1da24aaf1028887d7d5a72499 | /test_apps/python_app/example/flows/o1_testcases/additional_erase.py | ad44933a59ff3165447b87b0fd4e5893fd3f9779 | [
"MIT"
] | permissive | Origen-SDK/o2 | 6f2543dd618d5c9dc56eac5ffaceddd92c2078f0 | 2ffa01378bbeb164b5ec42c588fc08b9f817b13c | refs/heads/master | 2023-08-19T03:57:50.887871 | 2023-08-09T16:32:33 | 2023-08-09T16:32:33 | 223,623,642 | 2 | 0 | MIT | 2023-08-05T22:01:02 | 2019-11-23T17:00:13 | Rust | UTF-8 | Python | false | false | 242 | py | with Flow() as flow:
if flow.options.get("force"):
flow.func("erase_all", number=flow.options["number"])
else:
with flow.if_enable('additional_erase'):
flow.func("erase_all", number=flow.options["number"])
| [
"stephen.f.mcginty@gmail.com"
] | stephen.f.mcginty@gmail.com |
adae6efeb5f3ddabe22da3a3d1f3ac6f2e2ebec1 | c3317e60f8bc802316898ed22dff8901912f561e | /app/render/node.py | dcf433f18edf530979edd6d4ed58856d96395fdc | [
"Apache-2.0"
] | permissive | lechesdarwin/pipol | c725bd6751fe60577a91baa4ca0cf4e874f7f9f6 | 2f7e2af5e3e21a7a95cd24b7a97d7a4a0a958e7c | refs/heads/master | 2022-12-10T08:28:14.902444 | 2020-03-05T05:52:56 | 2020-03-05T05:52:56 | 243,095,078 | 0 | 0 | Apache-2.0 | 2021-06-02T01:06:47 | 2020-02-25T20:24:52 | HTML | UTF-8 | Python | false | false | 1,673 | py | class Node:
def __init__(self,data):
self.left = None
self.rigth = None
self.data = data
def insert(self,data):
if data == self.data:
self.data = data
elif self.data:
if data < self.data:
if self.left is None:
s... | [
"darwabo@darwabo@.com"
] | darwabo@darwabo@.com |
fee98ca2cc9aae8d231f68c9da2c1b311c9b0aca | af734fd3b8d557f6dc0bf800be8194fb110c545c | /StartCamera.py | 83b95d7dc4b0060f2c0e71129f9f9a475dba659d | [] | no_license | ghafooretemad/VFRProject | 2f85e3796092b01acc5de46fb289440b2c6ead38 | 49cc38dc5432757731e7344bd061fb732ad93dd8 | refs/heads/master | 2021-01-19T13:24:20.199554 | 2017-09-18T08:51:38 | 2017-09-18T08:51:38 | 100,841,879 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,147 | py | import cv2
from PyQt5.QtWidgets import QWidget, QLabel, QVBoxLayout
from PyQt5.QtGui import QPixmap, QImage
from picamera import PiCamera
from picamera.array import PiRGBArray
from PyQt5 import QtCore, QtWidgets
import time
from CreateButton import *
class StartCamera(QWidget):
def __init__(self, selectedMode, ... | [
"ghafooretemad3@gmail.com"
] | ghafooretemad3@gmail.com |
4fce075b86241af518bd0e8d21c543513a16494d | c6a101547c2b7f36fe83a725974a8a7f02cf176d | /data_structures/graphs/level_of_nodes.py | c453fa9562c5ab62b18e78bce74eb61658ce7534 | [
"MIT"
] | permissive | prabhupant/python-ds | 737cc35574de5c2ece0f0813cf00775324a8dbe7 | f7d6d78fedaf84b7527965bb1798b7a8da989474 | refs/heads/master | 2023-08-22T05:04:22.937675 | 2022-10-04T01:29:39 | 2022-10-04T01:29:39 | 199,366,418 | 2,325 | 704 | MIT | 2022-10-10T13:01:10 | 2019-07-29T02:48:57 | Python | UTF-8 | Python | false | false | 1,238 | py | """
Level is the distance of a node from a source node. This concept can be used to find
the distance between 2 nodes in an unweighted graph as well. A simple BFS traversal
between these 2 nodes will give the level and level will always be the shortest distance
between nodes.
"""
from collections import default... | [
"prabhupant09@gmail.com"
] | prabhupant09@gmail.com |
06ad6cbe6cb952b15453ae8361cb3ba24b890d50 | c123dc08b530f98365508260b7e2eb536ab232c3 | /src/split.py | b11437a8032048de6f7912a6b298a801a9166326 | [] | no_license | rozentill/GeneChip | beba2e14cd77b2a47f95fed93ac8baa76c9babca | 00cd1f8541e36b2157653b2812d97bd80df15897 | refs/heads/master | 2020-04-06T07:07:31.406084 | 2016-09-03T16:37:35 | 2016-09-03T16:37:35 | 61,384,927 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 569 | py | #!/usr/env/bin
#-*-coding:utf8-*-
import numpy as np
import string
if __name__ == '__main__':
fy = open('../data/E-TABM-185.sdrf.txt','r')
fy.readline()
CellType = []
TotalClass = []
for i in range(0,5896):
label = fy.readline().split('\t')[1:2][0]
if label not in CellType:
... | [
"windhsefz@sina.com"
] | windhsefz@sina.com |
4a83f2d8fbc69fd3dc0229c6326d58186b6bb5b4 | 0f0330ca4549d630e343b0d24e531d7693161017 | /budget/migrations/0099_client_last_active_date.py | 82e1db860591f2f0cad4849a2e4bd6bbc97251db | [] | no_license | EricHanLiu/sparkview | 3e98026c660b1583a7aa1f9c52f063566078df43 | 7ab6d7a089d281b45c3788116018e97a90b81b92 | refs/heads/master | 2022-11-29T02:29:03.132206 | 2020-08-10T21:55:49 | 2020-08-10T21:55:49 | 286,585,993 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 402 | py | # Generated by Django 2.1.1 on 2019-11-12 16:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('budget', '0098_client_region'),
]
operations = [
migrations.AddField(
model_name='client',
name='last_active_date',
... | [
"ericliu404@gmail.com"
] | ericliu404@gmail.com |
6ac903b5dad32cd2b6d25528192cef62106aeec5 | b489763137c86282377a5e0bc0af9abac60e1a11 | /boxer.py | 0d03896d744c8cf99a0fedbed247d46193a87a5d | [] | no_license | Yuliiaden/autotesting | 5f7abc516087ce9d3b4b3737648f042c49fe6095 | 484f217e945ff911e9692b507c29287afa2bf768 | refs/heads/master | 2020-04-22T04:30:45.364693 | 2019-02-18T12:28:26 | 2019-02-18T12:28:26 | 170,125,731 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 285 | py | class Boxer:
def __init__(self, age, weight, height):
self.age = age
self.weight = weight
self.height = height
PitWilder = Boxer(age=33, weight=78, height=180)
RobeGrant = Boxer(age=28, weight=72, height=185)
TomyHurd = Boxer(age=35, weight=69, height=182)
| [
"julia@mac.Dlink"
] | julia@mac.Dlink |
48f83a6883adac579d2345e972b523e9d16b388f | 83af5ca5ceccd88514d4b7d8eb51c5b57b599c70 | /airflow/dags/etl.py | 1f11b5c027890843a9c2a50833705a4ff65586bf | [] | no_license | gurjarprateek/data-pipelines-with-airflow | c48057a4e3d242d4cfcc4b369256ac589f68df22 | 689b0ce2e01988fe6acd771ffacde4db488c9ec7 | refs/heads/master | 2020-06-30T21:13:35.312924 | 2019-08-07T02:00:08 | 2019-08-07T02:00:08 | 200,953,260 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,236 | py | from datetime import datetime, timedelta
import os
from airflow import DAG
from airflow.operators.dummy_operator import DummyOperator
from airflow.operators import (StageToRedshiftOperator, LoadFactOperator, LoadDimensionOperator, DataQualityOperator)
from helpers import SqlQueries
# AWS_KEY = os.environ.get('AWS_KEY'... | [
"prateek.gurjar@vecna.com"
] | prateek.gurjar@vecna.com |
21514dedd2c25854fe859b7604bc56cd227a2b5a | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/7/qvy.py | 0d01828a7b63a2d82ffd13d1b87fcd3ed1a3475a | [] | no_license | G4te-Keep3r/HowdyHackers | 46bfad63eafe5ac515da363e1c75fa6f4b9bca32 | fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2 | refs/heads/master | 2020-08-01T12:08:10.782018 | 2016-11-13T20:45:50 | 2016-11-13T20:45:50 | 73,624,224 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 486 | py | import sys
def printFunction(lineRemaining):
if lineRemaining[0] == '"' and lineRemaining[-1] == '"':
if len(lineRemaining) > 2:
#data to print
lineRemaining = lineRemaining[1:-1]
print ' '.join(lineRemaining)
else:
print
def main(fileName):
with open(fileName) as f:
for line in f:
... | [
"juliettaylorswift@gmail.com"
] | juliettaylorswift@gmail.com |
0d93a44969e9307fe1328a44e28a4f6177614a64 | c8e78af14250dccbb2f89214fb2bd00d3812bcdb | /DisasterResponse_code/HerokuTwillo/venv/lib/python2.7/site-packages/mercurial/unionrepo.py | b771b76338b8831099ff5eefb2ad1702a9d31612 | [
"MIT"
] | permissive | weiningb/DisasterResponse | 5d6d5e915e95da9fbab41ed051acca31196bac95 | 8068c0a5e2efb81b34e799434b52cd05cc90b0f1 | refs/heads/master | 2021-01-21T05:40:12.009792 | 2015-11-18T18:56:37 | 2015-11-18T18:56:37 | 46,703,733 | 1 | 0 | null | 2015-11-23T07:29:07 | 2015-11-23T07:29:07 | null | UTF-8 | Python | false | false | 8,690 | py | # unionrepo.py - repository class for viewing union of repository changesets
#
# Derived from bundlerepo.py
# Copyright 2006, 2007 Benoit Boissinot <bboissin@gmail.com>
# Copyright 2013 Unity Technologies, Mads Kiilerich <madski@unity3d.com>
#
# This software may be used and distributed according to the terms of the
# ... | [
"kailu.luke@gmail.com"
] | kailu.luke@gmail.com |
2b3d0f1caa1fd34f60c2e6919a20fdcc99d3a2eb | 1fd09af918f699710e79d56477b06a69ef68b830 | /node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build/config.gypi | 8cf1d525a2fe8f7c12bc781074fcf6f2fc3bf585 | [
"Apache-2.0",
"MIT"
] | permissive | embirog/ChatComplete | 08663e0e1daf2f0d863483e36a8114582c2e5a58 | 053b2b945cbf8c33a64cc214d811e667913fc547 | refs/heads/master | 2016-08-11T08:06:39.245371 | 2015-12-27T08:11:34 | 2015-12-27T08:11:34 | 48,615,516 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,781 | gypi | # Do not edit. File was generated by node-gyp's "configure" step
{
"target_defaults": {
"cflags": [],
"default_configuration": "Release",
"defines": [],
"include_dirs": [],
"libraries": []
},
"variables": {
"asan": 0,
"host_arch": "x64",
"icu_data_file": "icudt56l.dat",
"icu_da... | [
"clift854@gmail.com"
] | clift854@gmail.com |
536983414d09b76a9c7d0c576ab743bde1a3706f | 9fb78be7f0720e389939e050f974ecaccc8fb0cf | /modules/system/blueprint.py | 57061075e99dfe96cb9e45c5da0754307089bb62 | [] | no_license | firstPeterParker/mlRig | db20f294ae1a31eb26da2b6bc9ed2be7c316a958 | 5d59c4dcf10e8b3fda5e78b7d4c4f8e4c9c03232 | refs/heads/master | 2021-01-01T03:48:39.502217 | 2016-06-03T19:58:42 | 2016-06-03T19:58:42 | 57,443,546 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 35,536 | py | '''
This is a Blueprint base class module
'''
import os
import maya.cmds as cmds
import system.utils as utils
reload(utils)
import system.group_selected as group_selected
reload(group_selected)
class Blueprint():
def __init__(self,module_name,user_specified_name,joint_info,hook_obj_in):
self.module_name = mo... | [
"graphicguide.mjl@gmail.com"
] | graphicguide.mjl@gmail.com |
a8fed0d61b34ec28756c3ae9b408f4d60edfbf49 | 2cccf0eb3cb0a87018016ceac1ca15dba7fb0edb | /Phyton Challenges/String.py | 82031536863137c683c823303c7f0b2c56028f0e | [] | no_license | Sahilreyc/Python-Files | 8ad5251becbc8fb5255b2eced238398deb0aed82 | e880478a908e3fc1e14b51ff2dd97c3c96297b98 | refs/heads/master | 2022-02-26T04:35:10.156942 | 2018-11-30T03:08:39 | 2018-11-30T03:08:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 122 | py | ComputerAge=3
MyAge = int(input('What is your age?'))
print('I am younger than you, because I am 3' % (MyAge,ComputerAge)) | [
"noreply@github.com"
] | noreply@github.com |
4a259f67bc49bd6cc78823e3e07aa29800f37025 | f65d0d1326546ab8203e569421f56ca222e77f8c | /TennisUz/migrations/0001_initial.py | a64b67947821555262af1a7b84be4becb65dd359 | [] | no_license | SamusVM/MyTennis | 001a2480a57c970a87aff47472a0af45361722d8 | fb482d54ff247c799580af20fde413cfd05aabcc | refs/heads/master | 2023-08-06T18:38:56.335494 | 2021-09-29T10:56:11 | 2021-09-29T10:56:11 | 260,180,147 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,739 | py | # Generated by Django 3.0.5 on 2020-04-13 11:57
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Backhand',
fields=[
... | [
"vasilij.samus@gmail.com"
] | vasilij.samus@gmail.com |
c340a8d9c86608c4ae772af894cee4c8d13f798e | fefe34292f16706a8039ab6bc9929212178e1469 | /python-datos/punto_orange/punto_orange/pipelines.py | ddca01cec2386ae034b8d7fcc297519ddcf3acd6 | [] | no_license | pedrojsalinas/ecommerce | e9d34d8db58e3e4228c7d25816f72b94f4434cb5 | 26e08bba0d4d4a4c59cd9494908cc01348213c3c | refs/heads/master | 2022-02-27T19:37:33.863203 | 2019-09-16T22:37:58 | 2019-09-16T22:37:58 | 208,910,234 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 293 | py | # -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html
class PuntoOrangePipeline(object):
def process_item(self, item, spider):
return item
| [
"pedrosalinas5@gmail.com"
] | pedrosalinas5@gmail.com |
cae2a038c2305eb33e22abd1822edc53904fe169 | bfae612ab84f8c7ce3f3c5c8f4387b6aaab6c370 | /Prac02/strings,files&excep.py | 998b29af33acd24547db9b32a6b59346be8f931d | [] | no_license | jc451073/workshops | d291a835fe4f2f2db1ccdf42c963830acdd37882 | 6a6e0cbbfe13092f51ef8c60a482c52a1fbf7698 | refs/heads/master | 2020-06-11T02:14:20.067055 | 2017-02-02T22:11:58 | 2017-02-02T22:11:58 | 76,025,467 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 498 | py |
name = "Gibson L-5 CES"
year = 1922
cost = 16035.40
print("My guitar: " + name + ", first made in " + str(year))
print("My guitar: {}, first made in {}".format(name, year))
print("My guitar: {0}, first made in {1}".format(name, year))
print("My {0} was first made in {1} (that's right, {1}!)".format(name, year))
... | [
"josmianujose.moolayil@my.jcu.edu.au"
] | josmianujose.moolayil@my.jcu.edu.au |
04c127719225b08bad25609d1c39319bc8db8c50 | 69354214e126f8f2337ae8212e6f2105d8900cc1 | /proto.py | 0b9aeda1f15d44309bf0c3d06aef88f7e420e6bf | [] | no_license | g-x-w/snek | a734889b46977b874c258ec727d3c156363903d1 | c43f4abf58ff4448709080c4f63a4d3cac21cae2 | refs/heads/master | 2021-03-03T00:30:49.195123 | 2020-04-29T21:28:44 | 2020-04-29T21:28:44 | 245,918,557 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,777 | py | import math as m
import random as rd
import pygame as pg
import tkinter as tk
from tkinter import messagebox
class cube(object):
def __init__(self,start,dirnx=1,dirny=0, color=(0, 255, 0)):
self.pos = start
self.dirnx = 1
self.dirny = 0
self.color = color
def move(se... | [
"gary.wei@mail.utoronto.ca"
] | gary.wei@mail.utoronto.ca |
dd22bed5684048e0afd1f703c946c219eed66303 | c16c32efbc80953694903fde58c08fb53ff2dc1d | /backend/api/test.py | 674768891bb11acb30cd6303fdc8537e757a426b | [
"MIT"
] | permissive | EdwinKato/bucket-list | 9af5a7a4c6852c881dcc98d4dccf18b0a74baaff | 16b71cce59df2f28061b8f5d6b2cfb1f679381c4 | refs/heads/master | 2022-12-09T13:54:23.046711 | 2017-08-18T12:56:36 | 2017-08-18T12:56:36 | 95,651,248 | 0 | 1 | MIT | 2023-06-21T15:39:22 | 2017-06-28T09:15:04 | CSS | UTF-8 | Python | false | false | 984 | py | from flask_testing import TestCase
from api.api import *
from api import create_app, db
import json
class BaseTestCase(TestCase):
def create_app(self):
# pass in test configuration
return create_app("testing")
def setUp(self):
super(BaseTestCase, self).setUp()
db.create_all... | [
"edwin.kato@andela.com"
] | edwin.kato@andela.com |
aa99b9b66a81850888799d1020e6f6f5579032f1 | 2ba0a6749c4890bc38aed7b00ec1cc52d8fec3e4 | /project/django_app/settings.py | df1b013d03811976c9c109e2206c71521c0646c7 | [] | no_license | Drag0nus/MVP_DRF | 0c0051be8a52ed0d45c72849b4093f47e96ef905 | d8519c8ca04bd919081f00f3f4a97f1e66f8782a | refs/heads/master | 2021-01-25T09:32:29.377318 | 2017-06-09T11:49:45 | 2017-06-09T11:49:45 | 93,852,769 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,571 | py | import os
from celery.schedules import crontab
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# SECURITY WARNING: keep the secret key used in production secr... | [
"staffman2@gmail.com"
] | staffman2@gmail.com |
5f54aa99d6459a81268dfafbac4905ac96fbb540 | cd9f762873491a73871f6770742bd46b5c7d2402 | /9.2 answers.py | 71ea422a31092fb12a3e8bd6118f405925887394 | [] | no_license | hubbishop/CSCI156Activity-9.2 | 79c105477c6473590b47d9f68953038f11769daf | be29cd0bec09a88ecb1fff135c76e1ad6fa47003 | refs/heads/master | 2020-12-07T02:18:50.130019 | 2014-10-25T22:25:30 | 2014-10-25T22:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 194 | py | __author__ = 'Dark-Knight'
def capitalcase():
with open("r.txt", "rt", encoding="utf-8")as f:
for line in f:
line.upper()
print(line.upper())
capitalcase()
| [
"icb4@alfred.edu"
] | icb4@alfred.edu |
7515521465732c959b29a14fb11081c9a1b56d9d | a7a0c5ed748b2ae87b670cd6aea6a717084e969c | /modelhub.py | 08ae0fc071781cbb0bd63b883f11868d299fd95f | [] | no_license | kevinmgamboa/consciousness | ec69c16c1d8c6f280663e44d2fbc039fbc733df8 | 22317ff1be0be20be14b15645210839c9a1cc62c | refs/heads/main | 2023-08-03T11:59:12.880584 | 2021-10-01T10:23:30 | 2021-10-01T10:23:30 | 390,245,570 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,112 | py | """
This file contain models implemented for the project
----------------------------
"""
# -----------------------------------------------------------------------------
# Libraries Needed
# -----------------------------------------------------------------------------
import tensorflow as tf... | [
"km20329@essex.ac.uk"
] | km20329@essex.ac.uk |
219ec292d34f28424ed5c462ad0c5fcf9bc6f2c5 | adf6af478dab32a287ba7648076100229c0a6068 | /dataPreparation/featureEngineering/kde-test.py | f5dc3ad921d4c7f06516192f8ce771175b6751ac | [] | no_license | mpaul7/MachineLearning | f26f574acd6f1a7cf56c2d87bf88d1a46649d44c | 43e41398d33fd06891cb6ece51a2d516cae8ffa5 | refs/heads/master | 2022-09-19T04:29:35.525098 | 2022-08-22T13:45:57 | 2022-08-22T13:45:57 | 186,191,951 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,097 | py | import os
from math import log2
import numpy as np
from statistics import mean, stdev
import pandas as pd
from matplotlib import pyplot
import seaborn as sns
from numpy import hstack
from numpy import asarray
from numpy import exp
from sklearn.neighbors import KernelDensity
from statsmodels.nonparametric.bandwidths imp... | [
"sdolgikh@solananetworks.com"
] | sdolgikh@solananetworks.com |
e2967cc25acebe0fcc329e17d86697df5ebd829c | c9e4d0f2479ad99b499aa5c2d8b11d27906cdead | /itlwm.sh | 05d1345002d12520ece4065d1985e4c47df40616 | [] | no_license | baddles/itlwm-wifi-info-injector | 4d7fda7ddd5115ee39daae3b25b1a3412d38e6a4 | f63cc7d6d083fd92d999bce143edf2dfdd9fe365 | refs/heads/master | 2023-01-12T10:31:37.244860 | 2020-11-11T03:27:46 | 2020-11-11T03:27:46 | 311,851,879 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,299 | sh | #!/usr/bin/env python3
# itlwm.sh
#
#
# Created by Baddles Nguyen on 7/8/20.
#
import argparse
from pathlib import Path
import getpass
import plistlib
import subprocess
import os
try:
import keyboard
print("Keyboard as package found!") # Green.
except Exception as e:
# Please remember to color forma... | [
"mondagonmon@github.com"
] | mondagonmon@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.