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
acc19262cfe787b033c071ba0cd80d95fe9c2ff5
dfb380d095fc9f8ad32d1a4fde28655ec0bb8135
/1-Data-Types-Variables-Conditionals/exercise2.py
38c6d329cc117ed43caf65f5c71b674e79133d50
[]
no_license
adam-weiler/GA-Reinforcement-Exercises
4193e603415fb0c36773495b8e8424c9435b2da3
ce54ea213a4b5259127ba11f32ed31e9799e4d2b
refs/heads/master
2020-07-16T08:33:14.815704
2019-09-02T01:55:33
2019-09-02T01:55:33
205,755,304
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
#Exercise 2 documentary = 'Bowling for Columbine' dramedy = 'The Breakfast Club' drama = 'Gladiator' comedy = 'Airplane!' book = '1984' def ask_theme(theme): #Asks user which genre they prefer. while (True): #Will look until user gives valid number. print('On a scale of 1 to 5, how do you like {} movies?...
[ "noreply@github.com" ]
noreply@github.com
d7e8eed6fe9c8ea82b6204ce478af65137f4893e
fd461c038dc55256f68a5fc682498f300fa74f41
/login/settings.py
b7b86c672591f240889d3a8495892c4051be62ef
[]
no_license
sims-st-martins/sims_login
f40a95258d007c32df5160704fbbfcd056837a66
ac6d1e73348acbabb677b859d459959911a7b537
refs/heads/master
2022-05-30T14:12:01.416546
2020-05-03T09:53:53
2020-05-03T09:53:53
260,868,804
0
0
null
null
null
null
UTF-8
Python
false
false
3,334
py
""" Django settings for login project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # B...
[ "bharathreddy478@gmail.com" ]
bharathreddy478@gmail.com
7fa896bdd5e866fa37b79413b77428eca5f260da
8a1144dd38388992c7e35a4cc84002e381f2cf1f
/python/django_fundamentals/main3/apps/third_app/models.py
ef165f7feabe4f6b980f5a16ea9002f10e11ff54
[]
no_license
vin792/dojo_assignments
18472e868610bacbd0b5141a5322628f4afefb5b
449b752f92df224285bfd5d03901a3692a98562e
refs/heads/master
2021-01-20T00:20:09.896742
2017-05-26T17:37:09
2017-05-26T17:37:09
82,735,702
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
from __future__ import unicode_literals from django.db import models # Create your models here. class People(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length= 30) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=Tru...
[ "vin792@gmail.com" ]
vin792@gmail.com
fc47192310fee79adf7f1e39d2b1f014547018fc
c3d13df4f44c5a8d3c54ef50ea780c44430eaeaa
/2019/projects/P18/test.py
c43d5917665d4650e876856ed630b10146aa8a37
[]
no_license
nghuyong/bitdm.github.io
9675a2c9b945d37482590ef82b5ddccd1e05c0c3
c9637960d41efd1898430fed57c46658717c8d31
refs/heads/master
2020-07-15T19:11:07.410153
2019-09-01T04:54:36
2019-09-01T04:54:36
181,262,837
1
0
null
2019-04-14T05:06:43
2019-04-14T05:06:40
null
UTF-8
Python
false
false
392
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np df = pd.read_csv('gy_link_travel_time_part1.txt', delimiter=';', dtype={'link_ID': object}) fig, axes = plt.subplots(nrows=2, ncols=1) df['travel_time'].hist(bins=100, ax=axes[0]) df['travel_time'] = np.log1p(df['travel_time']) df['travel_...
[ "bitdm_2015@163.com" ]
bitdm_2015@163.com
c5ebcbb86e699b121f580d7a52eeb79d4c9ea16c
2e83a3a9d22e823fa06a9a645ffe8e9983f48cf3
/myapp/kaoshi.py
cbc57e6c2ab1d293a0a2c98349aa171fb227ebb2
[]
no_license
jiangcw08/md_django
31b5398fa7a713524d7620ce88cdcb2fb7ccab4c
fe6b32dfe6708d74ed61838adea7ffb04c9a4d1e
refs/heads/master
2023-05-29T05:31:55.436277
2020-05-21T16:30:12
2020-05-21T16:30:12
257,175,440
0
0
null
2021-06-10T22:48:02
2020-04-20T04:56:40
CSS
UTF-8
Python
false
false
1,169
py
from rest_framework.views import Response,APIView from myapp.models import Goods from django.db.models import Q from myapp.myser import GoodsSer #商品列表 class Get_goods(APIView): def get(self,request): #检索字段 text = request.GET.get('text',None) #获取当前页 page = request.GET.get('page'...
[ "63992597+jiangcw08@users.noreply.github.com" ]
63992597+jiangcw08@users.noreply.github.com
8082e539c8218726e10eebca0c83d59ff51dd340
2b94b3f4050dd64e7dbff7d81f3fc6a2407e77b7
/classification.py
8256118600fb03e907299fcda5cc36c894bbd2e2
[]
no_license
calvinyong/pytorch_snippets
b0169420bf8e9ce6213947b7ff193d8f5a0cfaca
01f60a528bf2fb0e2560254d77b67d0d70aa73af
refs/heads/master
2022-07-03T19:27:06.184438
2020-05-17T19:08:31
2020-05-17T19:08:31
264,344,416
0
0
null
null
null
null
UTF-8
Python
false
false
4,157
py
import pandas as pd import torch from IPython import get_ipython # Switch between console and notebook progress bar if get_ipython().__class__.__name__ == "ZMQInteractiveShell": from tqdm.notebook import tqdm else: from tqdm import tqdm def cmatrix_batch(model, val_loader, normalize=False, device="cuda"): ...
[ "calvinpyong@gmail.com" ]
calvinpyong@gmail.com
9a3c787f9802d9a9570c108073dad7146d465796
9caaba94e227b4dd7a15d54bdb393dc761bc8608
/bin/pilfile.py
118371be27201694a6e5ddf0ebc48bf1ee26b665
[]
no_license
jcdubbau/spammaster
652d46b3ca2acc7eb5929b53697b3be1f5f116e9
51ec9cfd36da9231f543febbd20a3190aa0680b6
refs/heads/master
2021-01-10T22:59:47.524122
2016-10-10T03:42:03
2016-10-10T03:42:03
70,435,306
1
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
#!/home/minty/Desktop/skeetskeet/skeeskeet/bin/python # # The Python Imaging Library. # $Id$ # # a utility to identify image files # # this script identifies image files, extracting size and # pixel mode information for known file formats. Note that # you don't need the PIL C extension to use this module. # # History:...
[ "jaycw0001@gmail.com" ]
jaycw0001@gmail.com
6b7963ae3344ad2d27e108ee990c7eae294f2a42
17b193256045cdb42a6eadb8edb5638f7703e557
/store/serializers.py
97468b38279811604c7dd18a36cc1c334726158b
[]
no_license
Lekhman-vold/Django-project
66ccbbbc27260df64a85640eb9426f62b422f7fb
0a998f4967ccadc1cc5104749b5666aa9c26f6e9
refs/heads/main
2023-04-02T19:12:30.289607
2021-04-09T13:52:13
2021-04-09T13:52:13
355,944,080
1
0
null
null
null
null
UTF-8
Python
false
false
691
py
from rest_framework import serializers from rest_framework.serializers import ModelSerializer from .models import Book, UserBookRelation class BookSerializer(ModelSerializer): likes_count = serializers.SerializerMethodField() annotated_likes = serializers.IntegerField() class Meta: model = Book ...
[ "vladgrojsman6@gmail.com" ]
vladgrojsman6@gmail.com
5ae9536ab8324d5073d440a9420bfe31cbd7ee1e
ed332cbe87e5c6fbb14fa2b3040c3b581b68666d
/state.py
52e62d86912ce067f8e8b973db0a1beaf04f5e9e
[]
no_license
zacharyvincze/language-tools
8c151ca8a5822de8a1d17c26447face853a2c1ea
8f9d00c66e73085c3f1e95349fc2b09ad88ebaf8
refs/heads/master
2023-01-02T06:15:31.089756
2020-10-29T02:40:26
2020-10-29T02:40:26
308,198,169
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from __future__ import annotations class State: def __init__(self, state_id: str, state_map: {str, str}, accepting) -> None: self.state_id = state_id self.state_map = state_map self.accepting = accepting def getNextStateID(self, ch: str) -> State: """Return the ID of the state...
[ "zacharyvincze@gmail.com" ]
zacharyvincze@gmail.com
c789ad28f35c6e3f5e0105e347649accf24aef0e
006a9711db5ef122d2cc77a7b9a979dfc38c089b
/Django/plantilla/usuario/views.py
06d5a569340f8759bba32243a698651d6859c99f
[]
no_license
DiegoEstrada/Python
079712fe9cd997c57a2bc34c3808cdb2965d8ba4
f47d6be63db536e0d3e7d65529cec18d6dfa3989
refs/heads/master
2020-03-27T21:36:08.100816
2018-12-13T23:05:41
2018-12-13T23:05:41
147,160,268
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from django.views.generic import CreateView from usuario.forms import RegistroForm #from album.models import Category,Photo #from django.views.gener...
[ "diegoestrada97@hotmail.com" ]
diegoestrada97@hotmail.com
ca10d6e75a099cec19405db72fb8fd079420ac3e
ce9f27140f800383fbabae151fed4099ba66f5fd
/utils/sampler.py
bf9909dc0b5d3beaa4121ba3ea3781ef52b2ccc4
[ "Apache-2.0" ]
permissive
mvijaikumar/HyperTeNet
a33f09196693b62feecdb111ddc0484da1834af7
c33907a3c7d30cf205ca08d6cdb698eba75e48a4
refs/heads/master
2023-08-07T11:08:53.266499
2021-10-04T14:57:48
2021-10-04T14:57:48
412,713,512
11
1
null
null
null
null
UTF-8
Python
false
false
2,243
py
import numpy as np,pdb from multiprocessing import Process, Queue def random_neq(l, r, s): t = np.random.randint(l, r) while t in s: t = np.random.randint(l, r) return t def sample_function(user_train, usernum, itemnum, batch_size, maxlen, result_queue, SEED): def sample(): user = np...
[ "vijaikumarmylsamy@gmail.com" ]
vijaikumarmylsamy@gmail.com
ae99e7af10dea776705532a6fbbe38761f8f07bf
565bda9bc84b5d7410c9fc10517414373143e44e
/6.00.2x Intro to CS II/Week 3/PS3cSimWithDrugs.py
ef1a25c3c36c69a300adc4dd681dbff30e3627fd
[ "CC0-1.0" ]
permissive
MErmanProject/My-Projects
72a98307f684458129ee08a27550152c67ff1ce4
ca393b71ea8537f21a28dc6ca1558da27bcaa907
refs/heads/master
2020-04-02T03:16:09.767135
2016-08-18T13:50:05
2016-08-18T13:50:05
61,994,034
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
import random class ResistantVirus(SimpleVirus): def __init__(self, maxBirthProb, clearProb, resistances, mutProb): SimpleVirus.__init__(self, maxBirthProb, clearProb) self.mutProb = mutProb self.resistances = resistances def isResistantTo(self, drug): return self....
[ "noreply@github.com" ]
noreply@github.com
4458577845ef1ef899a767adeb2b0dea079c7706
cdac2e950dd226a30f176ba430d8a8bb2d42cb3d
/Open cv project/1.4 in reader opencv/Contours/Contour Properties/Aspect ratio.py
adb09435383a312a129ef00958c235fa9dbf5b60
[]
no_license
Chidalu567/computervision
27d9b2f60f70e831793c7402c6a77a3279762d8e
c9a044faafa9a1bf96dcc436acf730deb8f802fb
refs/heads/master
2023-04-16T13:23:15.907989
2021-04-29T06:16:24
2021-04-29T06:16:24
362,702,186
1
0
null
null
null
null
UTF-8
Python
false
false
618
py
import cv2 '''We use the cv2.contourArea() to find the area of contour''' img=cv2.imread('Rectangle.png',cv2.IMREAD_COLOR); #Image read in color img_gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY); #covert color from bgr to gray ret,thresh=cv2.threshold(img_gray,100,255,cv2.THRESH_BINARY); #create a simple threshol...
[ "chifortune567@gmail.com" ]
chifortune567@gmail.com
7aaaf55396fa42efe3b6ca2c9c2de6dd06a030d0
95a6555114011d7ba9b0a842dd348dc4a18a56fc
/utils/register_user.py
f825ea8fd83e3071a42ff655b47e64950ed36251
[ "Unlicense" ]
permissive
battyone/ParaBankSeleniumAutomation
c96dfdcb11591dd12db31b7ddd373326ce4284f7
e28a886adba89b82a60831ad96a3a8f00f863116
refs/heads/master
2023-05-04T19:58:13.067568
2020-03-15T17:19:09
2020-03-15T17:19:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
# Created by Egor Kostan. # GitHub: https://github.com/ikostan # LinkedIn: https://www.linkedin.com/in/egor-kostan/ import time import allure from utils.open_web_browser import open_web_browser from page_object_models.register_page_model import RegisterPageModel from expected_results.page_content.register_page_con...
[ "igorkostan@gmail.com" ]
igorkostan@gmail.com
2eb280cb4cb84045da773337b33ade25062c8d0f
fcf3d896a39bbdf7f1cc294bb0987cd71f17257b
/manage.py
72a0fe49876de3439fc01f2dfb9678a361c05ade
[]
no_license
sh-mykola/DjangoCSV
bf4185647e53cd1c9a00ac123676328be583fe8d
f9e88ca5707bcdbfbc4f86088431b22dcb35bc94
refs/heads/main
2023-02-20T13:13:23.835520
2021-01-07T15:50:06
2021-01-07T15:50:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
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', 'DjangoCSV.settings') try: from django.core.management import execute_from_command_line except Im...
[ "sheredko.mykola@gmail.com" ]
sheredko.mykola@gmail.com
7c37374921fd2394f1932255b842a6f36c4aa761
f2988f9e611239f6faddf626f48f738993551eae
/107 Binary Tree Level Order Traversal II/sol1.py
cc52d35d44028faee4eceae343a40be4ddd16858
[]
no_license
nagask/leetcode-1
fcac32a9f0ca1463e020f53d41e706b82bf56a52
0ca1b241e4cefe18ba5c3c6f15b8f22542c092bb
refs/heads/master
2023-08-04T01:09:00.445425
2021-09-16T13:53:11
2021-09-16T13:53:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
""" BFS, visiting the tree level by level. O(N) time and space """ class Solution: def levelOrderBottom(self, root: TreeNode) -> List[List[int]]: if not root: return [] from queue import Queue q = Queue() result = [] level = [] current_level = None ...
[ "nicolo.pomini@u-hopper.com" ]
nicolo.pomini@u-hopper.com
adc99e12b9934a763eb63a7ef99ac7ea5d3d5989
fd49e573427687dea50d24428a8a4901f1a395aa
/b2card/cadastros/migrations/0014_custoprestador.py
b535f0d1b3b3eb7c49fe02cecdc1af8a610d5470
[]
no_license
moisessouza/b2card
3395ab301e6025c75be164073684b09da2e390af
8fbe4c0785ccd21d261f4f3f7add539d867b19d4
refs/heads/master
2021-01-12T14:40:42.821647
2017-10-07T15:28:57
2017-10-07T15:28:57
72,049,130
1
0
null
null
null
null
UTF-8
Python
false
false
934
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-01-05 15:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cadastros', '0013_apropriacao'), ] ope...
[ "moi09@LAPTOP-2R6F7IQ4" ]
moi09@LAPTOP-2R6F7IQ4
b4d9ec0b78a5f819546da52b89aaac8c78b7f8a7
21c1edbdb863158ed812031c6d63a40ba3bea31f
/simple/1_player/deep_crossentropy.py
bc72f2f610a42d5a302bebe5698aba4cc9692484
[]
no_license
Ollitros/Tic-tac-toe
22ebe26bc709f3c16210783b7411ee77c4df8aa7
b551e1f60d8cbfc7167c057553dff897e34c7093
refs/heads/master
2020-03-29T22:00:53.037694
2019-05-01T17:02:09
2019-05-01T17:02:09
150,398,894
0
0
null
null
null
null
UTF-8
Python
false
false
4,173
py
from sklearn.neural_network import MLPClassifier import numpy as np import matplotlib.pyplot as plt from tic_tac_toe.simple_tic_tac_toe import TicTacToe def show_progress(batch_rewards, log, percentile, reward_range=[-990, +100]): """ A convenience function that displays training progress. No cool math he...
[ "Ollitros@gmail.com" ]
Ollitros@gmail.com
5078b00cee9cb6764adcdd29c296fec0c27fc72c
20e787a427d5777a942fc86e6e445401c09e3f4e
/LeetCode/26Excel.py
1d349a86ea458f05958f34d43a2b10de880028a1
[]
no_license
blldd/CodeExercise
262760cebded080b71e40973c210386b1cbd6eac
b5b4851ba348c7fbcaa0480a36a8c689e8f8751c
refs/heads/master
2023-04-01T15:29:37.505616
2023-03-24T12:53:44
2023-03-24T12:53:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
# -*- coding:UTF-8 -*- ''' Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB ''' class Solution(object): def convertToTitle(self, n): """ :type n: int ...
[ "18201788952@163.com" ]
18201788952@163.com
2de1e6ecf59f74327720f30649d7ebfbae1c1835
1237444cc91a930b03bb5889818e1013e2db778a
/p_acquisition/m_acquisition.py
e8681d92e3f36cc95c6880c94e2dc74734143457
[]
no_license
VickyViana/ih_datamadpt1120_project_m1
6aac1a9a858b64ecbc54cba7b09f9575bc7dc275
f81cd2c967cf50707cd42260ffc664948f49d8d8
refs/heads/main
2023-02-24T13:08:11.067741
2021-01-30T00:04:25
2021-01-30T00:04:25
328,357,976
0
0
null
null
null
null
UTF-8
Python
false
false
2,552
py
# IMPORTS import pandas as pd from sqlalchemy import create_engine import requests from bs4 import BeautifulSoup # FUNCTIONS def db_connect(data_path='./data/raw_data_project_m1.db'): # Function that creates engine to connect to DB connection = f'sqlite:///{data_path}' engine = create_engine(connection) ...
[ "mvictoria.viana@gmail.com" ]
mvictoria.viana@gmail.com
5ce32a40ae684d8a5ab9c1d8e1d95ec5afaf7fb2
576a7efd93a5cbde4dd3118bbfc8275f1f7a3480
/tools/command/analysis_command.py
c61dc1988865892571766590f91afa5765b0cec2
[]
no_license
zhujuanjuaner/Bill
0fd64b39c210204be87003f5110c56776f440d6c
bb92001e552d2e20705d83bb4e59cb6bbddf1edf
refs/heads/master
2020-07-09T17:51:27.351917
2019-08-23T16:29:54
2019-08-23T16:29:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,937
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- import util from config import conf_path # from robot import Robot from okc_robot import Robot from okc_robot import game_table, equip_table import os import logging import random import wx import config class LoadRobot(object): def __init__(self, sid: int = 0, start_uid: ...
[ "39726349+Bill007Ma@users.noreply.github.com" ]
39726349+Bill007Ma@users.noreply.github.com
9faa73d6fdc57c6afa324b9859809810d325c65f
b66a0c1eb7ecb2d77512610f751be9c7cfbef931
/Hackerrank/30-days-of-code/testing.py
75b78afcfeca76297a46ef90b118a36bab1812ce
[ "MIT" ]
permissive
zerocod3r/InterviewQuestions
f1c188c009b7599fde068e1cc8eecdf0b2c63137
92dc9d6b1c71ebe4318f1e206e2598a657ee0ad3
refs/heads/master
2023-09-01T17:47:58.928433
2023-08-30T07:17:04
2023-08-30T07:17:04
99,483,334
1
2
MIT
2019-04-19T07:35:06
2017-08-06T11:55:40
C++
UTF-8
Python
false
false
2,184
py
def minimum_index(seq): if len(seq) == 0: raise ValueError("Cannot get the minimum value index from an empty sequence") min_idx = 0 for i in range(1, len(seq)): if seq[i] < seq[min_idx]: min_idx = i return min_idx from random import randint class TestDataEmptyArr...
[ "sarthakrohilla03@gmail.com" ]
sarthakrohilla03@gmail.com
ba298290ffb40d5dda804815a82833564aff7427
73036231277447340ce6ac8cf08fa5aab9772778
/libreria/libreria/static/img/django-cities-light-2.0.7/django-cities-light-2.0.7/cities_light/migrations/0012_set_display_name.py
e74659676bac3c57ec48aeec83ee56f96928836b
[ "MIT" ]
permissive
jesusmaherrera/books_library
68f23e2352644df66f92d9e37baf274486984bed
c621f86aa2f8000c13371aea2b000a9bd8965fa1
refs/heads/master
2021-01-13T02:06:24.579310
2013-02-06T03:21:16
2013-02-06T03:21:16
5,944,653
0
1
null
null
null
null
UTF-8
Python
false
false
4,926
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): for region in orm['cities_light.Region'].objects.all(): region.display_name = u'%s, %s' % ( r...
[ "jesusmaherrera@gmail.com" ]
jesusmaherrera@gmail.com
28ee36dd6ff812fe4e277bd07efe81507c608c41
836d5f7190f6b4503e758c87c71598f18fdfce14
/5-Döngüler/While-Döngüsü.py
1ac3301b95952b419549dd7879fcf6fe5c4abac3
[]
no_license
S-Oktay-Bicici/PYTHON-PROGRAMMING
cf452723fd3e7e8ec2aadc7980208d747c502e9a
22e864f89544249d6309d6f4570a4104bf47346b
refs/heads/main
2021-11-30T00:19:21.158084
2021-11-16T15:44:29
2021-11-16T15:44:29
316,716,147
1
0
null
null
null
null
UTF-8
Python
false
false
425
py
############################################################ x = 0 while x <= 0: print("doğru") x += 1 print("x in değeri: ",x) ############################################################ a = 0 while a < 100: a += 1 if a % 2 == 0: print(a) ############################################################# tr...
[ "noreply@github.com" ]
noreply@github.com
f204a9a075d45eda0a74f838157723a01436278c
a2c8f62b6af1c08f99bbbfe41939d79c131b31e0
/class_fun.py
446350b5d586f6efd934a32d72e874b4681c5c41
[]
no_license
KFeyn/bets_writing
8910043b1448ad73d68a2bcbc1736dc03446d999
501ab6d28f992a8d6e99a33ecec17d0117c47aec
refs/heads/master
2023-06-08T04:34:17.317618
2021-07-04T18:20:42
2021-07-04T18:20:42
381,463,824
0
0
null
null
null
null
UTF-8
Python
false
false
5,981
py
from typing import Tuple, List import requests from bs4 import BeautifulSoup import os from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request from google.oauth2.credentials import Credentials class StageResults: """ ...
[ "kir-fein@yandex.ru" ]
kir-fein@yandex.ru
561ae3faab88aca8acbdbe2023956a6b79a78cee
d40c743378c754b822bc42cfa7ede73792a31ede
/sales_by_march.py
a56fafb7ead4dc2b25d6515180e7eb7d8368db7d
[]
no_license
ShanjinurIslam/HackerRank
85127527be319c3f1822c359a5831e4bcce25e8f
38d77f2d0f56a6cec4bd544b347ee53d829dc715
refs/heads/master
2023-02-05T04:28:11.285169
2020-12-27T11:21:09
2020-12-27T11:21:09
320,749,069
2
0
null
null
null
null
UTF-8
Python
false
false
627
py
#!/bin/python3 import math import os import random import re import sys from collections import defaultdict # Complete the sockMerchant function below. def sockMerchant(n, ar): hash_map = defaultdict(int) for each in ar: hash_map[each] += 1 total = 0 for each in hash_map.keys():...
[ "spondoncsebuet@gmail.com" ]
spondoncsebuet@gmail.com
ed73544e60dc7bae27e62b31bfa355ed10c3d573
aacd1d2c6857fb1155672d797e36ccb3dca5c7e2
/start.py
97aa4cc5187f200236dfc9104e4ab63a1cc97ecf
[]
no_license
danil0177/PythonTestGitProject
7b598f38f725f7fa90341def25e152e7a14306d1
d22e7fd9b05bc24495afb8bb498a23bfd17a4807
refs/heads/master
2020-05-07T10:28:51.457666
2019-04-09T17:53:06
2019-04-09T17:53:06
180,420,032
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
import platform print ('PythonTestGitProject') print(platform.system()) print(platform.system()) print(platform.machine()) print(platform.version()) print(platform.processor())
[ "vitasa90@gmail.com" ]
vitasa90@gmail.com
48cd43b7245640886f595221ad09d2014cccb28c
df2de47e0a6e05b25912cc8ef5f484459e9cfce8
/tango_with_django_project/src/rango/migrations/0008_auto_20170513_1150.py
86e8834e644d8b557eed304e53bfa210012aad86
[]
no_license
prateekeshwar/tango_with_django
b8694ff412e02c55757bd00b433717bd46dbc400
d9e657221ebc2ff7810f10b54c0b61f82bb50649
refs/heads/master
2021-01-21T15:13:04.328991
2017-05-19T18:34:26
2017-05-19T18:34:26
91,687,841
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-05-13 11:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rango', '0007_auto_20170513_1138'), ] operations = [ migrations.AlterField(...
[ "doneybanaguna@gmail.com" ]
doneybanaguna@gmail.com
3a6799b271c37fabf24ec5244b2b6c73ad14d5dc
3f5f3722487a3f5e7b894b1456c336be68c20eee
/src/models/stores/errors.py
5913f5de112d186f5d78a52f6dd7e3728c0759c9
[]
no_license
racode/price-checker
2156bf12207d0ac958daa09d601a8996025d5419
299b2fdb46dbddc890cd9c9f375b3b80733ea4a9
refs/heads/master
2020-03-15T21:03:41.282018
2018-05-06T16:42:56
2018-05-06T16:42:56
132,347,182
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
__author__ = "esobolie" class StoreException(Exception): def __init__(self, message): self.message = message class StoreNotFoundException(StoreException): pass
[ "1030562+racode@users.noreply.github.com" ]
1030562+racode@users.noreply.github.com
dcdee9a2f96fbd0d03e1c2a92ac429c99a3477bf
9bf8efb4b52cae2ccb75a3a1eb2ef1fad3e3f5c9
/setup.py
9edbba5c92942438b51a4eca0cc22169f0db6f6b
[ "MIT" ]
permissive
coej/facebook-downloader
90b583296da4709c6ea182f1c526b1fd29f01d5b
b354387f818521e431aaeb81ff70890c2905ba1e
refs/heads/master
2016-08-02T21:52:10.956612
2015-08-20T14:33:48
2015-08-20T14:33:48
40,727,768
1
0
null
null
null
null
UTF-8
Python
false
false
729
py
from setuptools import setup setup(name='facebook_downloader', version='0.1', description='API wrapper and crawler to download page posts from the Facebook Graph API', url='http://github.com/coej/facebook_downloader', author='Chris Jenkins', author_email='chrisoej@gmail.com', licens...
[ "chrisoej@gmail.com" ]
chrisoej@gmail.com
e905a04070da431c989983f602eb66c9b4af74a6
1b1aaff50b7bbcf624f4cdc7742553777c62e536
/MIT_iTraker/interface.py
f07ee5d1f2e7359278ba2eb39ff98ab33fe7f692
[]
no_license
vincehxb/Proj_iTraker
bf4c3df5cac166bba59030d0a2eb0c51eb01d507
2c6708109fcb4b3308c0b498c2f437ecc2448556
refs/heads/master
2021-08-23T08:00:04.945257
2017-12-04T07:23:36
2017-12-04T07:23:36
105,357,206
0
0
null
null
null
null
UTF-8
Python
false
false
10,790
py
''' 说明: class Cal_Interface 希望有的功能: 将屏幕分割成小方格,随机将一定数量的小方格标记出来 当用户在注视这些小方格的时候用摄像头捕获用户图像,保存下来 作为标定图片 2017年10月16日: 完成: 1.每隔 1s 标识出一个矩形框 2.在摄像头中捕获用户的图像,并且保存 ''' import cv2 import numpy as np import time import os class Cal_Interface(object): def __init...
[ "262324011@qq.com" ]
262324011@qq.com
3618d5bb1a8c91cdbf469f61af7bafb1bb72e9c7
76996e5239cd5a77866b3f38a8bcd7736ed0307c
/data-structures/ds-tree.py
90257857946e97f07b0f4c4d91f27314ac025815
[]
no_license
ALgosZen/practice-python
33839b5ae8bf4895a7d83393ccefc68b099f41cb
5b731b746960e6c22f603fd6acbc182e0b8c7db6
refs/heads/main
2023-02-12T10:11:53.150324
2021-01-21T06:38:22
2021-01-21T06:38:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
class TreeNode: def __init__(self, data): self.data = data self.children = [] self.parent = None def add_child(self, child): child.parent = self self.children.append(child) def get_level(self): def print_tree(self): print(self.data) if len(se...
[ "crisisyear08@gmail.com" ]
crisisyear08@gmail.com
1559158074b6d6515400c7b0dcd1ae3184d6f221
139bac0d7655a0c2cdd6d67f73d9e9db770733ab
/o2o_rest_framwork/customer_model/serializers.py
d5cc0f381fe25260e19158154f0f388ee54389e0
[]
no_license
jango2015/o2o_rest_framework
f1e9f5fa6b1982957f27df63e02b1b396fbeae79
5ea09e6ef207a04793cc6e074cb5822329ac56f4
refs/heads/master
2020-07-29T13:52:39.950291
2016-08-25T06:46:07
2016-08-25T06:46:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,884
py
from django import forms from rest_framework import serializers from django.contrib.auth.models import User from .models import Engineer from o2o_rest_framwork.user_model.serializers import UserDetailSerializer class EngineerCreateSerializer(serializers.ModelSerializer): class Meta: model = Engineer ...
[ "WeiyuPeng@hous-MacBook-Pro.local" ]
WeiyuPeng@hous-MacBook-Pro.local
a8b5085e4e8dbff770b58197257f4b8f7f0cdc50
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-apigee-registry/samples/generated_samples/apigeeregistry_v1_generated_registry_get_artifact_sync.py
0dbb7b9b471b59e7bc0cd633cdcb3a7389126fc1
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,845
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
noreply@github.com
613a72a1fed0df683bc1b127bff903588d23cc52
496e921f5ddbca354943ff096a9cfcdc09432e87
/beta_crawl.py
b2d24c5da038b93f7a6849b2e8e247c677db026c
[]
no_license
TralahM/betcrypted
5ab1434f4bd4e07a81e8c9eb82a8baf4470e5fb6
a3c4df191bb3f1b9a3da28f256de89a77325ed85
refs/heads/master
2020-06-21T11:10:50.788053
2019-07-26T20:32:46
2019-07-26T20:32:46
197,432,046
0
0
null
null
null
null
UTF-8
Python
false
false
6,542
py
import os from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import auth from time import sleep from datetime import datetime import csv os.environ['MOZ_HEADLESS'] = '1' # r...
[ "musyoki.tralah@students.jkuat.ac.ke" ]
musyoki.tralah@students.jkuat.ac.ke
dcea0c4504571f5421b69c4668bf5db388913504
c4e05230949efbd1ef858839850520ee94a87a58
/musicbingo/server/api.py
144686857d8e7df1892b59575b3618336128dc15
[]
no_license
asrashley/music-bingo
bd33b883da9b6f88df506860475861daea63c6fb
f49d26900a10593a6f993b82d8d782b2e7367f84
refs/heads/main
2023-07-20T11:15:47.696132
2023-06-29T09:59:51
2023-07-05T16:48:41
125,717,777
1
1
null
2023-08-28T17:28:04
2018-03-18T11:26:17
Python
UTF-8
Python
false
false
51,061
py
# pylint: disable=unused-argument """ HTTP REST API for accessing the database """ import datetime from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import json from pathlib import Path import random import secrets import smtplib import ssl import time from typing import Any, Dict, L...
[ "alex@ashley-family.net" ]
alex@ashley-family.net
4f826c05a3555fe787ac395908d97c3196813ca0
5bdba0724e05118fe4793aef57c304bccdab32f8
/aaronsw.py
c50f509cef36ccb6e6e9c4b056475931dec58959
[ "MIT" ]
permissive
rohitsm/aaronsw_RawThought
b7d8a75481b1f0cc478d46ece39e74d4321c849e
5fadee26e6dc42960ef668a6bbc054021d7f252b
refs/heads/master
2021-01-02T08:45:27.433712
2020-04-06T10:39:47
2020-04-06T10:39:47
7,780,569
7
0
null
null
null
null
UTF-8
Python
false
false
2,428
py
import urllib2 import sys from bs4 import BeautifulSoup import time #__author__ = Rohit Menon #__Contact__ = me@rohitsm.com link = "http://www.aaronsw.com/weblog/fullarchive" def get_page_html(link): try: req = urllib2.Request(link.strip()) file = urllib2.urlopen(req) page = file.read() file.close() retu...
[ "rohitsm@gmail.com" ]
rohitsm@gmail.com
2f13a478783bf8420e554f05869dea7277b04405
44fc88370e7dd01aab918aa797983c5051f4147e
/Controllers/TestThread.py
eb4dc07460106b86c8a16d0ffce941059358f7c6
[]
no_license
Sispheor/PiHomeAlone
1f1a9aa619b97483a61972b58094c6cec961161a
7356adddc0e936b8c8f6bd45813ec012196edefd
refs/heads/master
2021-01-15T16:57:20.813213
2016-08-31T20:14:02
2016-08-31T20:14:02
64,602,755
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
import threading class TestThread(threading.Thread): def __init__(self, shared_queue): super(TestThread, self).__init__() self.shared_queue = shared_queue def run(self): print "Run test thread" while True: if not self.shared_queue.empty(): val = s...
[ "nico.marcq@gmail.com" ]
nico.marcq@gmail.com
cefbf489d8771ec0afdd4d5cb011c36e24a3ddd3
d65f88d609d9770ceb0b98cdb2d2a2ea096a165a
/bin/cls_cscope_find.py
bd4a2f2177d5ba59e82af4c26ff14d64705fd24a
[]
no_license
SoleilPatio/cls-toolbox
9869ba97cfd9e49794295adb55e9421eb859bac3
cf870a249b4f56579956fdb867b8cc9d4e4d4582
refs/heads/master
2023-07-20T16:28:42.937652
2023-07-09T09:14:10
2023-07-09T09:14:10
244,643,987
0
0
null
null
null
null
UTF-8
Python
false
false
5,973
py
#!/usr/bin/python3.6 # -*- coding: utf-8 -*- from __future__ import print_function import logging if __name__ == '__main__': import _libpythonpath_ #type: ignore (Add libPython\.. into PYTHONPATH when unittest ) import argparse import os import platform import re import fnmatch import libPython.core.util as util """...
[ "ATHENE@yuntin.com" ]
ATHENE@yuntin.com
458ca2d627faf3ba3280ecfec538a1f8a87efd9e
95e10b5b692b8716665a0383398942a67a1d0f2a
/blobcity/utils/Cleaner.py
3e2432025fc7528594573a87c27e6f943d47571d
[ "Apache-2.0" ]
permissive
26tanishabanik/autoai
027e087865fde683013cfbe9a087fb44b9a6b2f5
00523851c57ddc35eacc2562bf654b6e3cda9d46
refs/heads/main
2023-08-11T12:53:15.165308
2021-10-06T05:28:04
2021-10-06T05:28:04
413,752,326
1
0
Apache-2.0
2021-10-05T09:26:41
2021-10-05T09:26:40
null
UTF-8
Python
false
false
6,508
py
# Copyright 2021 BlobCity, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "tilakgo@gmail.com" ]
tilakgo@gmail.com
ab5124e814c6dc46e0f802e3f6f5b9f44f394a8e
6405e9232eea81826a3c21daca4adaf781671ae6
/I0320097_exercise4.7.py
64e567dff42d440d6ce27ba9e98ebd3cb10bc4ab
[]
no_license
alqodriano/alqodriano-syahrifai-al-qodriano_I0320097_aditya-mahendra_tugas4
d2ed877ea8885f27b82bb6230c1e4f160d625a4c
5e4e86bfa9f98f144f0860b21831640d0e3eca23
refs/heads/main
2023-03-29T09:01:23.077175
2021-03-26T17:26:09
2021-03-26T17:26:09
351,859,986
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
#exercise 4.7 #strings needle = "HA" haystack = "Hello World" #check if needle in haystack: print(needle, "is present in the string", haystack) else: print("Not found")
[ "noreply@github.com" ]
noreply@github.com
63e1090b09ceb1cb425a4b5bafb0256a4817ee9a
128bf2eb236ef978533aa1d4eeb0863a5a65611e
/mockintosh/services/asynchronous/redis.py
c416243a3c3f5eaf58476d991b51d8fc879cbd85
[ "MIT" ]
permissive
crt-fork/mockintosh
88b0284ad2b90cf8192474ce5399608dffaa985e
b222a683b64de988f2d759da152f8ed3f9cc7655
refs/heads/main
2023-08-15T09:38:55.148236
2021-10-11T11:53:42
2021-10-11T11:53:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,000
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ .. module:: __init__ :synopsis: module that contains AMQP related classes. """ # import sys import time import logging from typing import ( Union ) from rsmq import RedisSMQ from rsmq.cmd.exceptions import QueueAlreadyExists from redis.exceptions import Connecti...
[ "noreply@github.com" ]
noreply@github.com
c253640dbc26eb41517006f2f80be5e9f19b2aaf
2e9748e6dc278a5a84184216d94ab2c841ec8482
/image_process/opencv/noise_remove_inpaint/main.py
17a39c66a3aa56f6b191aaa81377d6ade7690a95
[ "MIT" ]
permissive
ybdesire/machinelearning
fa2bc20240e88513475358c761d067108e1eadf8
0224746332e1085336e0b02e0ca3b11d74bd9a91
refs/heads/master
2021-12-08T04:46:56.344543
2021-11-19T07:57:47
2021-11-19T07:57:47
54,877,464
30
19
null
2021-08-13T01:23:08
2016-03-28T08:16:06
Jupyter Notebook
UTF-8
Python
false
false
208
py
import numpy as np import cv2 as cv img = cv.imread('messi.png') mask = cv.imread('mask.png',0) dst = cv.inpaint(img,mask,3,cv.INPAINT_TELEA) cv.imshow('dst',dst) cv.waitKey(0) cv.destroyAllWindows()
[ "ybdesire@gmail.com" ]
ybdesire@gmail.com
6965b2590d8cf84a96c971bc44644aadc9d33c9b
894ac6ad68259a057bb772f93b03091c8a39b6eb
/Labs/Vol1A/LinearTransformations/plots.py
cd8d2303c6e655308393a1d81cc5ffb094c21a64
[ "CC-BY-3.0" ]
permissive
jaredawebb/Labs
031fe3fab8cfe34815036d0817251d7f240f3a96
4134c7ed6eadd921d84e40deb40dc5b212d77c07
refs/heads/develop
2020-05-20T19:28:04.921695
2016-08-19T21:06:26
2016-08-19T21:06:26
58,672,959
0
1
null
2016-05-12T20:05:34
2016-05-12T20:05:34
null
UTF-8
Python
false
false
7,526
py
# plots.py """Volume 1A: Linear Transformations. Plotting file.""" from __future__ import print_function import matplotlib matplotlib.rcParams = matplotlib.rc_params_from_file('../../../matplotlibrc') from matplotlib import pyplot as plt from scipy.optimize import curve_fit from functools import wraps from timeit impo...
[ "shanemcq18@gmail.com" ]
shanemcq18@gmail.com
fa320868ae9bf5f750b0b8459e690b5b188e5164
82c4d0e905bf28fecbad33274cc5aac9c1bdde99
/thinger.py
813ac23fd871fce607528cb066dc481b2a5a7e83
[]
no_license
dansgithubuser/py-rpc-host
aac578d9410a056a7751c6eae648d924fa4a3a2d
e4d19e02e427784e21cf267692539523f034d8f9
refs/heads/master
2020-05-18T03:03:52.661094
2020-02-07T23:30:51
2020-02-07T23:36:22
184,135,584
0
0
null
null
null
null
UTF-8
Python
false
false
13
py
blinger = 24
[ "dansonlinepresence@gmail.com" ]
dansonlinepresence@gmail.com
7b5dc1b6d513824dd9247eccdaa1d79255dd59b7
de40ee8bf7d551580d2c8f32afaaedbb86668152
/Psychopy/builder_discFLE .py
f88209b79f6ad7bf5fefe7d26e15302d909dd0d2
[]
no_license
kooranifar/psychophysics
f8686b1970d128cf8cf194be6084cceae7bde0d2
c5775664baac2bac5820e50d003d92f48660d06d
refs/heads/master
2021-04-21T12:26:21.904751
2020-03-26T11:25:22
2020-03-26T11:25:22
249,779,400
0
0
null
null
null
null
UTF-8
Python
false
false
5,937
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ This experiment was created using PsychoPy2 Experiment Builder (v1.83.01), March 25, 2016, at 17:58 If you publish work using this script please cite the relevant PsychoPy publications Peirce, JW (2007) PsychoPy - Psychophysics software in Python. Journal of Neurosci...
[ "kooranifar@gmail.com" ]
kooranifar@gmail.com
a3e1e62573d08a5efcf9b3c114322ce3211071fb
4e23ff457c737886d3f1280162b90987bbc12211
/main/apps/carts/migrations/0003_auto_20190120_0337.py
bd278830f6b8cdc994bdb5beb3c617c35c70510e
[]
no_license
ehoversten/Ecommerce_Django
8ab1edeb1b7ed2a0e9f33920ecccc2d6b1996cd9
b109b62e2fd318c4feb37c448898cbeada722968
refs/heads/master
2022-12-21T09:42:53.317891
2019-02-14T16:24:00
2019-02-14T16:24:00
143,313,907
6
2
null
2022-11-22T02:34:42
2018-08-02T15:34:32
Python
UTF-8
Python
false
false
660
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-01-20 03:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('carts', '0002_cart_subtotal'), ] operations = [ migrations.AlterField( ...
[ "ehoversten@gmail.com" ]
ehoversten@gmail.com
84723e33a0d54c3a67354d9756abad8183eece4c
5887470c4c1c6c31f8d1ad45d521cc269c8abed5
/__init__.py
0cbf1284b416ed6e9d2a011bc051602988b32800
[]
no_license
ianmcukier/procvoz
61922c2170bd6f4206ad58d60b9488b44f3d2b6d
82482b381487956db630f7317051e15aae8307a3
refs/heads/master
2020-12-13T21:53:07.051862
2017-06-26T23:31:52
2017-06-26T23:31:52
95,496,136
1
0
null
null
null
null
UTF-8
Python
false
false
29
py
from . import source, efeitos
[ "ianmcukier@gmail.com" ]
ianmcukier@gmail.com
64e1da0d1e6358f3a308de0b0fd04f95b5e2d1b6
da9eb96295d42d4d3a43522e5b33dc8b5adfe3e8
/obs2.py
f32513089e4272ec30964aef3ecd372b801a8810
[ "MIT" ]
permissive
Uva337/laba13
891862cd29ddcbeb69da27c1c127f3c0f4231e5d
544b3142b47139209debe39a3807dbcd09503f7d
refs/heads/main
2023-02-27T07:14:32.620912
2021-01-28T08:37:17
2021-01-28T08:37:17
326,945,121
0
0
null
null
null
null
UTF-8
Python
false
false
5,394
py
#!/usr/bin/env python3 # -*- config: utf-8 -*- from dataclasses import dataclass, field from datetime import date import sys from typing import List import xml.etree.ElementTree as ET @dataclass(frozen=True) class Worker: name: str post: str year: int @dataclass class Staff: work...
[ "noreply@github.com" ]
noreply@github.com
757c41f50ce3426d0abb28b4e32a9f738da56736
6573a45c4389688666821621c26a5a95a0765e4d
/archived_envs/20190625_100746/bin/iptest2
6e74f0fe49439610cf8c38536be2e444eeba223e
[]
no_license
ilhmndn/Warehouse-Management-System-With-Frappe
66a41be2286dbdb556ab51a4788fc42987d6ed2e
bd9864c5a04a6e2f2f625a8755fba3df4b6409be
refs/heads/master
2022-10-23T11:13:57.810948
2019-07-02T05:18:19
2019-07-02T05:18:19
194,467,571
2
2
null
2022-10-15T16:16:10
2019-06-30T02:40:05
Python
UTF-8
Python
false
false
262
#!/home/ilhmndn/frappe-training/env/bin/python # -*- coding: utf-8 -*- import re import sys from IPython.testing.iptestcontroller import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ilhmndn@localhost.localdomain" ]
ilhmndn@localhost.localdomain
2acc78122ec0f0ded02cecbaa2dce651955c2789
0f93cb4fe2a8b69c413c9c2a52b9e32f9ec5b886
/L6/3.py
eaae844e4ea688da560fc28c0157aaaf5fa02f6e
[]
no_license
ksr19/python_basics
194982cfec1252cd49880e3107d49b68f12ef63b
3b9d78faae4b65802670e419882e36fd93186104
refs/heads/master
2022-11-26T19:58:56.820542
2020-08-06T10:24:31
2020-08-06T10:24:31
280,591,210
0
0
null
2020-08-07T07:31:20
2020-07-18T05:46:11
Python
UTF-8
Python
false
false
1,097
py
class Worker: def __init__(self, name, surname, position, wage, bonus=0): self.name = name self.surname = surname self.position = position self._income = {'wage': wage, 'bonus': bonus} class Position(Worker): def get_full_name(self): print(f"Полное имя сотрудника {self....
[ "ksr19.tula@gmail.com" ]
ksr19.tula@gmail.com
129f9191f2f84ac88110b03e3dcf1e00a852b049
3c92c3f633b613a62fb67476fd617e1140133880
/leetcode/605. Can Place Flowers.py
db797a8c9e9dcebc16f5082e85a622b0163ba516
[]
no_license
cuiy0006/Algorithms
2787f36f8164ded5252a006f723b570c9091bee9
00fd1397b65c68a303fcf963db3e28cd35c1c003
refs/heads/master
2023-03-31T13:55:59.191857
2023-03-31T03:39:42
2023-03-31T03:39:42
75,001,651
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
class Solution: def canPlaceFlowers(self, flowerbed: List[int], n: int) -> bool: if n == 0: return True for i, plot in enumerate(flowerbed): if plot == 1: continue if (i == 0 or flowerbed[i - 1] == 0) and (i == len(flowerbed) - 1 or flowerbed[i + 1...
[ "noreply@github.com" ]
noreply@github.com
869c9315db7e2d1fdd1c131e7a097953d9585eb9
9c9f0bb9e2b75af31f83cd24b14775fd3b0719f5
/bridge_adaptivity/bridge_lti/migrations/0002_auto_20180316_1556.py
f8631375ffcc07d567602f6f705ea29a13520cdb
[ "BSD-3-Clause" ]
permissive
duxingmoyu/bridge-adaptivity
095d8b5c59cb68ed3998238c11449a145db69581
54247d94a843272525be31e54b046606a7aa7857
refs/heads/master
2020-04-27T06:30:55.503376
2019-02-28T09:24:31
2019-02-28T09:24:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-03-16 15:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0002_remove_oauthclient_content_provider'), ('bridge_lti', '0001_initial'), ] ...
[ "noreply@github.com" ]
noreply@github.com
76d2ae9b2ec5433e45166f1f215ed94d518a7fc7
b858bb5dce23ddb8faf3b0448d3cbf77b01d9d35
/week37/GUIElements.py
bb2fcfdba7d78e042ce7a65bddff69df3ed37ff6
[]
no_license
PetuuPetuu/r-pygame-ewchallenges
853fceec30e5fab66cac35f7a35a71af56f45170
8014cec5680ada79ad4c083fcee17fda486b29c9
refs/heads/master
2020-12-28T22:11:48.039276
2013-09-26T20:34:16
2013-09-26T20:34:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,393
py
# -*- coding: utf-8 -*- import pygame class GUIElement(pygame.sprite.Sprite): def __init__(self, style, screensize, text, align): pygame.sprite.Sprite.__init__(self) # padding and border size self.padding = screensize[0]/100 self.bordersize = screensize[0]/200 self.fullpad...
[ "bradurdung@gmail.com" ]
bradurdung@gmail.com
f68d2ca23b8e9660445df4f664adf81a10a1b580
dd6a3615d54ca825051f1c9f81bcd206eb9cfd10
/setup.py
91bcc6ec95068bd0fb034196004e350c1d121a19
[ "MIT" ]
permissive
cherakhan/mps
82e06aea229b2047bf1be68c4430fad621189abf
2ba818c361e467841f6bbe0ef47a1e833ef315d3
refs/heads/master
2022-02-01T20:40:07.327357
2019-06-10T03:43:49
2019-06-10T03:43:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
#!/usr/bin/env python import os from setuptools import find_packages with open('README.md', 'r') as f: LONG_DESCRIPTION = f.read() from numpy.distutils.core import setup, Extension setup_options = dict( name='doe-mps', version="0.1.1", long_description=LONG_DESCRIPTION, long_description_content_...
[ "kandasamy@cs.cmu.edu" ]
kandasamy@cs.cmu.edu
f27a491c7377c3cca435d4b47234f7cd93bc32bf
0a20b446fcd90d57057336c9c4652c050b4a8b5a
/project/views.py
cf224f3cd98aea6421e461049f43ab0c28439be9
[]
no_license
marcosfede/url-shortener-microservice
9d9c074ac0f1ef82b8b73429d3425d90af06c2fc
59ba2752ed1012187d0c84d6e6b9b834defd887b
refs/heads/master
2021-01-22T22:39:19.557174
2017-05-29T23:41:24
2017-05-29T23:41:24
92,783,345
1
1
null
null
null
null
UTF-8
Python
false
false
933
py
from apistar import http, Response from project.encoder import encoder from project.db import urls, get_next_sequence base_url = "https://afternoon-lowlands-76627.herokuapp.com/" def new(url): match = urls.find_one({'url': url}) if match is not None: url_id = match['_id'] else: url_id = u...
[ "marcosfede@gmail.com" ]
marcosfede@gmail.com
bdac3d5a30d1313b98a38c274a2574e29a268382
2274d0acca53e0f16ea2c6bdbb5fd114552d2320
/lib/templates.py
1dd657649c3472ad8ae50068b545ed7c18cd91c0
[]
no_license
bashi-bazouk/iQueueTV-Video-Jukebox
85fbadae4e04187d7389e58b90d3a1226c94d43f
0af68f5c59985a1b44195385b7f4457b64f53903
refs/heads/master
2020-04-11T07:21:12.727453
2016-05-21T18:48:06
2016-05-21T18:48:06
4,067,421
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from string import Template import re templates_folder = "/home/application/templates/" javascript_folder = "/home/application/src/javascript/" def get_template(name): path=templates_folder+name with open(path) as f: return IQTVTemplate(f.read()) def get_javascript(name): path=javascript_folder+name with...
[ "brian.peter.ledger@gmail.com" ]
brian.peter.ledger@gmail.com
c40022197521b3fda780acbc6aeb293021154248
fa1eb33b885bd03a56a542720c4f823654457bd5
/tests/test_image_search.py
b4169a9b82cd7fb74be11c9f5050def5e6b7800c
[]
no_license
jhoover4/fcc-api-projects
16753435017518c0594db9ead3606691280fadc4
b21f830c0f1047e0cb28f71387de4581cd4be523
refs/heads/master
2022-12-11T03:44:22.103645
2018-12-26T19:24:13
2018-12-26T19:25:52
118,831,587
0
0
null
2022-12-08T01:26:31
2018-01-24T22:44:09
Python
UTF-8
Python
false
false
2,433
py
import datetime import json import unittest from test_app import BaseTestCase import models class TestImageSearchView(BaseTestCase, unittest.TestCase): def test_check_table(self): assert models.ImageSearch.table_exists() def test_index(self): """Test that the description view for this api i...
[ "jordan@hoovermld.com" ]
jordan@hoovermld.com
8fb17677d4ae52e7e3daa34491df257e5fb3cfac
f03ae5e4c9341ca93551a95303fc5279f7738384
/python_201/parser.py
42a7a15e6146ef61feb0db8dae145734f487d4e2
[]
no_license
campbill01/stuff
016b9557d93d19b5cd9fa0214f64208c0abb46f8
6b6be586bc7758bee91a767bae9c4f0f4ad3a512
refs/heads/master
2021-01-10T13:27:00.248680
2020-03-10T01:30:06
2020-03-10T01:30:06
47,305,294
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
import argparse def get_args(): """ some doc type stuff """ parser = argparse.ArgumentParser( description="A simple argument parser", epilog="This is where you might put example usage" ) parser.add_argument('-x', '--execute', action="store", required=True, help='...
[ "campbill@comcast.net" ]
campbill@comcast.net
2fe4713317acafb1cc02e6deb2933b474a0817a0
7f0c9793e88f8f1f65e0b00bd5920eaa111048b9
/work/settings.py
1aab25aa756bcd65df96b775f1e8661d560ae794
[]
no_license
nishant16/cab_booking_app
cbc85f38f0e246a4ea7debe0c16a4ac95e6c2859
0c6d7ea88f82b01ce4143f72dbc6e218a00deda0
refs/heads/master
2021-01-22T06:14:36.393269
2017-12-30T13:37:27
2017-12-30T13:37:27
102,288,162
0
0
null
null
null
null
UTF-8
Python
false
false
3,174
py
""" Django settings for work project. Generated by 'django-admin startproject' using Django 1.10.7. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os #...
[ "nishant.rmps@gmail.com" ]
nishant.rmps@gmail.com
f5ee00fe2fbff1a7cd2db1ca367818d50cbbd0dd
71d5a1ed47f43e9be779a6e62a9380542d3f8c8f
/node_modules/node-sass/build/config.gypi
74108e78d53d990a1823199741f5fee45396f991
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kur1505/dr
96e07afd6880f92a55c228323fff9410d3b14fa7
aa456362a5453874907f5a1a92fa29c8ebe29814
refs/heads/master
2023-01-12T03:52:14.587784
2021-07-25T09:45:39
2021-07-25T09:45:39
238,456,881
0
1
MIT
2023-01-07T14:30:39
2020-02-05T13:29:16
HTML
UTF-8
Python
false
false
5,819
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [], "msbuild_toolset": "v140" }, "variables": { "asan": 0, "build_v8_with_gn": "false", "cov...
[ "kuldeep.gupta150@gmail.com" ]
kuldeep.gupta150@gmail.com
2d405ff0ea7ddbdab972d46583b79165364056b7
f7fa596eab344b23069ef026d437227e9baee4d2
/mer-master/mer/main.py
82028fad96b95578e52d4996958f40ea4205f927
[]
no_license
Sapphirine/201912-20-Music-Emotion-Recognition
fa30041e79ac6464ca4b8dedb3c2268f91f9b4fc
14725499990d13a88c48d86074c082d4f48ca3c6
refs/heads/master
2020-11-27T01:59:21.199674
2019-12-20T17:22:25
2019-12-20T17:22:25
229,264,551
8
3
null
null
null
null
UTF-8
Python
false
false
3,519
py
import warnings from pathlib import Path import librosa import tqdm import numpy as np import pandas as pd from mer.feature_extract.feature_extract import extract_feature_vector from mer.learn_kde_audio import map_factor_learn, emotion_space_map, plot_pdf from mer.recommend import recommend_songs # Steps to perform...
[ "zj2249@columbia.edu" ]
zj2249@columbia.edu
d2fb24dfd527c8ee0ac66cd54930611e44b3d5c6
34652a47355a8dbe9200db229a1bbc62619de364
/Maths/diff_eqns/Runge_Kutta_method_2.py
98e189db514dbf1126d73f217e5d7515b190d817
[]
no_license
btrif/Python_dev_repo
df34ab7066eab662a5c11467d390e067ab5bf0f8
b4c81010a1476721cabc2621b17d92fead9314b4
refs/heads/master
2020-04-02T13:34:11.655162
2019-11-10T11:08:23
2019-11-10T11:08:23
154,487,015
0
1
null
null
null
null
UTF-8
Python
false
false
1,722
py
def rKN(x, fx, n, hs): k1 = [] k2 = [] k3 = [] k4 = [] xk = [] for i in range(n): k1.append(fx[i](x)*hs) for i in range(n): xk.append(x[i] + k1[i]*0.5) for i in range(n): k2.append(fx[i](xk)*hs) for i in range(n): xk[i] = x[i] + k2[i]*0.5 for i in ...
[ "bogdan.evanzo@gmail.com" ]
bogdan.evanzo@gmail.com
3c09f9d46141f9f5ba301fab505331b1f08b48d1
4d65c12377ef9556336c3ece77634143730f7d76
/interface/views.py
0765c4b8621cc6043841f70aef26fc17e7337282
[]
no_license
raghusaripalli/judge_backened
f3be85b89d6c9e200d056c24c04d2ef09d0f4e6d
b55bb82889d68f4249ac476ef940af4d05d7a9f1
refs/heads/master
2021-01-02T08:13:33.718767
2017-08-01T06:07:41
2017-08-01T06:07:41
98,965,981
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
from django.shortcuts import render # Create your views here. from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect from django.shortcuts import render # Create your views here. from django.template.context_processors import csrf from interface.forms import ...
[ "rvs1604@gmail.com" ]
rvs1604@gmail.com
8e9ba852b9bf1ee8dd34bee1720916730abd4c16
3a3c27e1fbe2454f8ba7b0e5078d77d164ed8a50
/trainRD.py
628dc08a8d58f1b47a5737253e5aeaa933c223f4
[ "MIT" ]
permissive
drogen120/GAN_MNIST
d2174a2a494ee5c58aa914882028aedeb457f01f
c828ebccb27706dc5beb503f807e87330a392087
refs/heads/master
2021-01-24T08:07:10.353654
2017-06-20T07:54:26
2017-06-20T07:54:26
93,372,370
0
0
null
null
null
null
UTF-8
Python
false
false
11,417
py
import GAN_10 import tensorflow as tf import numpy as np import os import cv2 from ops import * from utils import * import time from tensorflow.examples.tutorials.mnist import input_data from resnet import Resnet_model from glob import glob slim = tf.contrib.slim flags = tf.app.flags flags.DEFINE_integer("iter", 7000...
[ "liuyongjie9313@yahoo.co.jp" ]
liuyongjie9313@yahoo.co.jp
ce033b921042d603ac116dcbe76a4c8e40f95ad7
a227947112fe8a3fd8078bcdfee22b82385f5490
/aat/config/enums.py
25fa292208b39967d8415ad9fd63dbece71a9fc3
[ "Apache-2.0" ]
permissive
Sahanduiuc/aat-1
43465f6060d084a5442af8685266e0cd009a8626
0aee0f9943b5e16f29ec69faea5f9e5a937c5e5d
refs/heads/master
2022-11-15T21:16:28.580803
2020-06-14T22:14:37
2020-06-14T22:14:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
from enum import Enum class BaseEnum(Enum): def __str__(self): return f'{self.value}' class Side(BaseEnum): BUY = 'BUY' SELL = 'SELL' class EventType(BaseEnum): # Trade events TRADE = 'TRADE' # Order events OPEN = 'OPEN' CANCEL = 'CANCEL' CHANGE = 'CHANGE' FILL = '...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
39c5d3e06b0fad48616e9688fc70e2af251dee01
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/c65b7eb52e3f1999292f845bce19d7f541645f76-<get_vars>-bug.py
57b28261fcc6bd7b9b54383cb83a1463a1812690
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,662
py
def get_vars(self, play=None, host=None, task=None, include_hostvars=True, include_delegate_to=True, use_cache=True): '\n Returns the variables, with optional "context" given via the parameters\n for the play, host, and task (which could possibly result in different\n sets of variables being re...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
4b021c67fe247d1491ba5914ab9452fddbe146ff
b716a22849e1026a84f50513e437807d9fea8429
/DOCKER/apiService/app/wsgi.py
0b943b2b26f7070efeefc0de2c3a64e0a6d93824
[]
no_license
body0/Hradec_2020
fd812d19e1a84a5edc10cdd2a817e766a1359741
d0cdbbe1b518e579a66c85d93ae86ff3e5204423
refs/heads/master
2023-01-07T06:48:24.906504
2020-11-04T07:20:19
2020-11-04T07:20:19
305,679,333
1
0
null
null
null
null
UTF-8
Python
false
false
188
py
from __init__ import app, init import os PORT = os.environ.get('PORT') or 5000 def appGenerator(): init() return app if __name__ == '__main__': init() app.run(port=PORT)
[ "nykl.jan.3693@gmail.com" ]
nykl.jan.3693@gmail.com
7ea4bcf5409fe244dc0f83e9747b2ac105b38bb1
1b05b6f4d96a14ba2beea7ff43bdaae124bbe41b
/Gdt/algorithm/algorithm/dxregulation.py
f4f402d65a63ddd6ec0dcb3c4fc66b74c731761b
[]
no_license
shmilyrj126/NetWork
27fcbde777c6ee25abfdd09a381c1a7a743d742a
957f0679f01d2a09d217516518ddd9693c0b2a80
refs/heads/master
2022-12-13T00:19:04.208089
2020-09-17T12:59:29
2020-09-17T12:59:29
296,340,198
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 22 09:11:21 2019 @author: hsc """ import numpy as np import pandas as pd #导入pandas包 data1= pd.read_csv("C:\\Users\\hsc\\Desktop\\w4.csv") data2= pd.read_csv("C:\\Users\\hsc\\Desktop\\w5.csv") print(data1) print(data2) n=len(data1)...
[ "noreply@gitee.com" ]
noreply@gitee.com
a41229319392a641d67d38fb9bac9372fa60c208
731951e8b75b45f427d44ecbae7b1a3445dcce33
/unit_tests/test_designate_handlers.py
b93acf70ae1ddbce0ffd2204016a2eb333959926
[ "Apache-2.0" ]
permissive
falfaro/charm-designate
096eccce95d2d2f360afd7ee92f9b33cef990fbb
385e4cf8cd1da1a02df5f6e8981b41c0c8e9a2bb
refs/heads/master
2020-12-31T00:30:33.345747
2017-03-29T07:20:31
2017-03-29T07:20:31
86,549,157
0
0
null
2017-03-29T07:02:16
2017-03-29T07:02:16
null
UTF-8
Python
false
false
9,051
py
from __future__ import absolute_import from __future__ import print_function import unittest import mock import reactive.designate_handlers as handlers _when_args = {} _when_not_args = {} def mock_hook_factory(d): def mock_hook(*args, **kwargs): def inner(f): # remember what we were pas...
[ "liam.young@canonical.com" ]
liam.young@canonical.com
6ba866c5effbeeecf9d64d9022e00310d5b49761
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_ports_operations.py
c4af97d395be72cb5207f65765cddeee106487ae
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
28,861
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
7586f72297b50d92a4df016f506943d913a98140
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/Django-1.11/tests/admin_docs/test_views.py
bd483007c7553bfdb214341ed689c51dc66bb467
[ "BSD-3-Clause", "Python-2.0", "Apache-2.0" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
14,953
py
from __future__ import unicode_literals import sys import unittest from django.conf import settings from django.contrib.admindocs import utils, views from django.contrib.admindocs.views import get_return_data_type, simplify_regex from django.contrib.sites.models import Site from django.db import models from django.db...
[ "ranade@cloudera.com" ]
ranade@cloudera.com
9b58eff7ed3daf3e244f4bf1236dffbbb10d87fc
a222e2999251ba7f0d62c428ba8cc170b6d0b3b7
/AtC_Beg_Con_111-120/ABC111/B-AtCoder_Beginner_Contest_111.py
81b7210ed85e1fae5ea424f1edba455792a672aa
[ "MIT" ]
permissive
yosho-18/AtCoder
3e1f3070c5eb44f154c8104fbd5449f47446ce14
50f6d5c92a01792552c31ac912ce1cd557b06fb0
refs/heads/master
2020-06-02T10:21:29.458365
2020-05-29T12:40:48
2020-05-29T12:40:48
188,795,239
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
n = int(input()) if n <= 111: print(111) if n > 111 and n <= 222: print(222) if n > 222 and n <= 333: print(333) if n > 333 and n <= 444: print(444) if n > 444 and n <= 555: print(555) if n > 555 and n <= 666: print(666) if n > 666 and n <= 777: print(777) if n > 777 and n <= 888: print...
[ "44283410+wato18@users.noreply.github.com" ]
44283410+wato18@users.noreply.github.com
866b11c3762e1d91a95847e0dba27988fb382fba
56cef13a2f9dd5c57ec69ca887feeb8a87691e84
/test_cases/eye_one_constants.py
d0a8101fa3eddb375ba0aa4263a97fafc6812830
[]
no_license
rafaelbeirigo/mjlstd
41981fe2b5fadc8c25c765f6bd0f9cd5c79982e7
3419ca9480845e2cf242feab2980679fc10bafbe
refs/heads/master
2021-09-10T13:28:16.552114
2018-03-26T23:34:56
2018-03-26T23:36:53
120,651,201
2
1
null
null
null
null
UTF-8
Python
false
false
708
py
import numpy as np N = 1 # Number of rows in the state array (or vector) n = 1 # Number of columns in the state array (`1', if it is a vector) m = 1 # Transition probabilities P = np.array([[1.]]) A = np.array([[[1.]]]) B = np.array([[[1.]]]) C = np.array([[[1.]]]) D = np.array([[[1.]]]) X = None F = None X_0 =...
[ "rafaelbeirigo@gmail.com" ]
rafaelbeirigo@gmail.com
a5cbd4174a07e88112f6ff2349b897cace44db22
581c041a0a32f051508f3b0a167656cb6169c2fe
/project_management/notifications/.svn/text-base/urls.py.svn-base
86d4d6a3ade25ed394867f009ed21fd231ac89d5
[]
no_license
raveena17/ILASM
da38258b6739e823b973c2bede2a21dd04e0941e
7a337e0e3a20180b9564de68ab22620dc9aa1a36
refs/heads/master
2022-12-05T14:34:45.929663
2019-06-25T14:18:47
2019-06-25T14:18:47
193,101,540
0
0
null
2022-12-03T15:11:35
2019-06-21T13:20:47
JavaScript
UTF-8
Python
false
false
325
""" urls for event application """ from django.conf.urls.defaults import patterns urlpatterns = patterns('project_management.notifications', (r'^create/$', 'views.manage_event'), (r'^update/(?P<id>\d+)/$', 'views.manage_event'), (r'^list/$', 'views.event_list'), (r'^delete/$', 'views.delete_event')...
[ "raveena@5gindia.net" ]
raveena@5gindia.net
a0070c2ba168591aeb54e5a1576e451c1f2657bc
20dab686752008e3f2529f44ce25f9122770aaa5
/api/views/post.py
62aac25c697b3c2b98f55dd5eba500320833cd71
[]
no_license
marm007/photoapp-django-backend
db233526167463805096b465398a8730c782bb46
e47a938b3cdcf2e4456c25c6a2ff0ceafd2ec126
refs/heads/master
2023-08-22T16:12:15.544350
2021-10-18T10:56:03
2021-10-18T10:56:03
247,145,775
0
0
null
null
null
null
UTF-8
Python
false
false
3,335
py
import cloudinary from django.db.models.signals import pre_delete from django.dispatch import receiver from rest_framework.decorators import action from rest_framework.permissions import IsAuthenticated from rest_framework import status, viewsets, mixins from rest_framework.response import Response from api.models im...
[ "dhkm.gornica@poczta.fm" ]
dhkm.gornica@poczta.fm
36c01903e838a63bd9cee46234b68529b3a26f30
08782e33a863bdef30dbe6592e1f8c202ec2a3b2
/String/Easy/344_ReverseString.py
fd558e0b510c0003a9dc3d6f6ae5de99d621ba7e
[]
no_license
TsWhen/LeetCode-Training
3041a96d8b2bd0408cf01ad21b49f2c4204c7b4e
37481873bda438d14083375d943e8a6c6166f9dd
refs/heads/master
2020-07-06T10:09:08.298251
2019-11-29T05:23:52
2019-11-29T05:23:52
202,981,906
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
class Solution: def reverseString(self, s: List[str]) -> None: """ Do not return anything, modify s in-place instead. """ s_len = len(s) for i in range(s_len // 2): s[i],s[s_len - 1 - i] = s[s_len - 1 - i],s[i] class Solution: def reverseString(self,...
[ "jiahaohuangjh@gmail.com" ]
jiahaohuangjh@gmail.com
2f43ba8c60bee742126b99d8d97a41387a9afd59
5903b90ecfade862bfb4975c4019f5ce3ece82d3
/linear-regression/featureNormalization.py
d593e6fa48517004134dda8d2017a75d6cf5de52
[]
no_license
Moloch540394/machine-learning-hw
e75ecc6f6ca9964bb9f87db5ee52faeed32ed3af
e4075cc02230cee949871a167185d1764545121e
refs/heads/master
2021-01-21T09:43:36.795514
2015-01-19T22:42:48
2015-01-19T22:42:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
"""Normalize the training set data for the features.""" __author__="Jesse Lord" __date__="January 8, 2015" import numpy as np def featureNormalization(X): X_norm = X shape = X.shape mu = np.empty(shape[0]-1) sigma = np.empty(shape[0]-1) for ii in range(1,shape[0]): mu[ii-1]=np.mean(X[ii,:...
[ "jessewlord@gmail.com" ]
jessewlord@gmail.com
a1303495929514063f54ec49b398b8a774ab57c1
7affa35f385fc7517bf047491bf03cbda5bda93b
/File 1.py
5024fbfa07bac2f1b488302c57a57282d63b0f19
[]
no_license
prasanchandak/repository
c3671198acacc02b0554c653ddedea81067a6b2b
c4afd5b03fb7d3801b20f4d23668167a3efc4757
refs/heads/master
2020-08-11T21:39:36.145045
2019-10-22T14:32:55
2019-10-22T14:32:55
214,632,465
2
2
null
2019-10-22T14:32:56
2019-10-12T11:05:45
Python
UTF-8
Python
false
false
95
py
n=int(input("Input a Number: ")) s=0 for i in range(0,n+1): s=s+i print("Sum is: ",s)
[ "noreply@github.com" ]
noreply@github.com
da278ac32c41ed3843c40753b8dcdc5c5ea6c64f
272a078b59a1a780ab7cccf4e2741fcd447ca37c
/examples/streaming/wordCount/reducer.py
39ec1edf7accec778833f3e52b165c3600a8bfbd
[]
no_license
casunlight/hadoop-tutorial
12dd2594b0990ad452bee01de0a2b6ceabe92501
6d45091fc92d39fe495f3f1a69acc493e2fe0c60
refs/heads/master
2020-03-26T22:11:56.028574
2018-11-26T00:20:41
2018-11-26T00:20:41
145,439,797
2
2
null
2018-09-11T18:26:26
2018-08-20T15:59:39
Shell
UTF-8
Python
false
false
1,076
py
#!/usr/bin/python from __future__ import print_function import sys #variable initialization current_word = None current_count = 0 word = None # takes input stdin for line in sys.stdin: # trim any leading and trailing spaces line = line.strip() # split the input from mapper.py and take the word and its co...
[ "yanshu.usc@gmail.com" ]
yanshu.usc@gmail.com
94ede1a5818c7a678ae1e61341ed214586531b23
31e03bad8d63f5bda2248fa45614b81938b7d000
/pysot/utils/statistics.py
5526b7a355e61f76b37e08d2dfaa5618bd44cb07
[ "MIT" ]
permissive
aznikline/pysot-toolkit
3c33513e3c683a19dd0c65f6c6b514a2860bd327
8f4579f6c1f0270fcc49328535e51995756e97e0
refs/heads/master
2020-04-17T14:00:53.726452
2019-01-08T01:40:07
2019-01-08T01:40:07
166,639,702
1
1
MIT
2019-01-20T08:33:04
2019-01-20T08:33:04
null
UTF-8
Python
false
false
6,289
py
""" @author fangyi.zhang@vipl.ict.ac.cn """ import numpy as np from numba import jit from . import region def calculate_failures(trajectory): """ Calculate number of failures Args: trajectory: list of bbox Returns: num_failures: number of failures failures: failures point in tr...
[ "zhangfangyi@sensetime.com" ]
zhangfangyi@sensetime.com
550be29c5bc9d3a289d807df0b4515fa7991f024
196cd24f0dcd927779a42a39a5395baa3e3ad9dc
/groups/migrations/0004_auto_20200726_1934.py
0379bc6dc5af9c21d553711693e9195ceabf0c65
[ "MIT" ]
permissive
Hedera-Lang-Learn/hedera
d38ac067ebcfa774eb8a916e20144d5e2a079c57
f44773bcf7695f4f73f0cd71daed7767902bcfd4
refs/heads/dev
2023-06-23T01:41:02.429563
2023-06-13T20:17:24
2023-06-13T20:17:24
154,722,012
9
3
MIT
2023-06-13T20:17:25
2018-10-25T18:53:59
Python
UTF-8
Python
false
false
844
py
# Generated by Django 2.2.13 on 2020-07-26 19:34 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "paltman@gmail.com" ]
paltman@gmail.com
2c2cb120a7733d32c6ffe00c23b5cc875ffc7132
8c324576a44742d67629ddbae0bef0d7a44a9a99
/gpioCtrl.py
222d8b7a37edb36b9cd37716e615dbf63158055b
[]
no_license
bakatek/py-costume
07c223acd5508108295d7bc51823166540c131f5
e6021f0b0ccdb234cd0012767d2b4617cefc0e65
refs/heads/master
2021-01-21T19:51:03.934633
2017-07-06T13:49:45
2017-07-06T13:49:45
92,164,283
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
''' Created on 23 sept. 2014 @author: epelorce ''' import os from time import sleep from threading import Thread from storageCtrl import storageCtrl from gpioEx import gpioEx #from pprint import pprint class gpioCtrl(Thread): ''' classdocs ''' def out(self, _txt): self.utils_c.echo("gpioCtrl...
[ "bakatek@users.noreply.github.com" ]
bakatek@users.noreply.github.com
97483a805115fd415d2d451e2472b66975208fcd
df0fb6a12113f8eab981016c6e61969a5af5292c
/flask_app/src/endpoints/swagger.py
01bff999fbd49f764067218330e875bb83a8144e
[]
no_license
jeremymaya/raspberry-pi-os
9a4b0ba8b05ded940c6a900a347dbbe565ff44eb
79beb656ad6ab370766e7e172b59ebdc90b72225
refs/heads/master
2023-01-01T03:58:12.581846
2020-09-22T21:11:46
2020-09-22T21:11:46
270,885,593
0
1
null
2020-09-22T21:11:47
2020-06-09T02:37:39
Python
UTF-8
Python
false
false
249
py
from flask_swagger_ui import get_swaggerui_blueprint SWAGGER_URL = "/api/docs" API_URL = "/api/swagger.json" swagger_ui_blueprint = get_swaggerui_blueprint( SWAGGER_URL, API_URL, config={ "app_name": "Flask Application" } )
[ "jeremiah.kim@hotmail.com" ]
jeremiah.kim@hotmail.com
217b52d7d4a6a63d6c6bd10b32403f8bbfe629c0
6c6cedc25927f644a40307bfa219faa56970426a
/KNearest/KNearest.py
cd0c2723cfea81f4ed8a1a53495504d138cbd84c
[]
no_license
Seraphim-lyx/DataAnalytics
b98538b1f0b4d2ef13f328f086ea108f4e9d4d07
2bf29f3aa746273c2c04265274a40799d088c7f4
refs/heads/master
2021-09-09T09:20:38.532849
2018-03-14T17:36:33
2018-03-14T17:36:33
118,963,055
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
import math import operator class KNearest(object): """docstring for KNearest""" dataSet = [] def __init__(self): pass def readData(self, fileName, attrLength): """ """ with open(fileName) as f: line = f.readline().strip() while line is not "...
[ "563150079@qq.com" ]
563150079@qq.com
2f5053367f511d190f0b9264157220d4f9bac39d
9823de228c1ba789cf504afd338c6eab25f58a12
/oop/oop043MonkeyPatch3.py
e1ea9022eecb923113a0618c94631228d37eda7a
[]
no_license
dingcx/pybase_old
a00d2102fd0909dad930d010ecdd606ceec82648
f367ceccca8ed144e405f658b2d2a93df876762e
refs/heads/master
2022-03-18T20:00:35.030460
2019-10-27T11:57:09
2019-10-27T11:57:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
#!/bin/env python # -*- coding: utf-8 -*- ''' __title__ = '' __author__ = 'dcx' __mtime__ = '2019/9/22' # code is far away from bugs with the god ''' #补丁,Monkey Patch在运行时,对属性、方法、函数等进行动态替换 #目的是为了通过替换、修改来增强、扩展原有代码的能力 #有一些第三方通过打补丁来增强标准库的功能 #这里写补丁 def get_score(a): return {'name':a.__class__.__name__,'Chiese':100,'Ma...
[ "dingcx2013@163.com" ]
dingcx2013@163.com
250c37329154a3e92cbc7d4178424feb0847c63d
6f1221ff8dc9955ffe5fe6de54a6c459f1c2eee2
/AE_UNIGRAMA_5L_FULLDS_OVER_05.py
3b04ae0405b5cb1af9d230e2b7f53e1eaec721c6
[]
no_license
dhiegorp/deepnn
d6c2131eb80ace8d12f370610f8a45e8f5ed8ddf
63d378516343ed61c369811cb30184382f2427a8
refs/heads/master
2018-10-22T13:26:47.684557
2018-07-26T01:16:19
2018-07-26T01:16:19
106,976,551
0
0
null
null
null
null
UTF-8
Python
false
false
4,537
py
import os.path import sys import logging from GLOBAL_EXP_FUNCTIONS import * from GLOBAL_EXP_CONFIG_5L_UNIGRAM import * import numpy as np from deepnn.autoencoders.Autoencoder import Autoencoder from datasets.dataset_loader import CSVDatasetLoader from keras.callbacks import TensorBoard, ModelCheckpoint, EarlyStopping ...
[ "dhiegorp@gmail.com" ]
dhiegorp@gmail.com
76a97aedfd25a25ec5052821f9d86f5d50382bcd
aa0366a8632f334fb35e6bdc78717f3456202eb7
/old/bdApiGetCom_v02.py
676422673aa737b8010d9f1ed60f43dc04226cfb
[]
no_license
Mortaciunea/bdScripts
0891478096f3a5876655896c9649c0a7204d5ee8
4f6e9d2b181bb4a90c1ccfcaca64c22ecbe0dd59
refs/heads/master
2020-12-24T13:36:57.930038
2015-09-03T16:03:46
2015-09-03T16:03:46
41,869,547
1
0
null
null
null
null
UTF-8
Python
false
false
2,026
py
import maya.cmds as cmds import maya.OpenMaya as om def bdGetCentroid(vectorArray): center = ((vectorArray[0] - pointInsideVec) + (vectorArray[1] - pointInsideVec) + (vectorArray[2] - pointInsideVec))/4 return center def bdGetComMain(): mDagObject = om.MDagPath() mSelList = om.MSelectionLi...
[ "ender_bd@yahoo.com" ]
ender_bd@yahoo.com
222a51ece7092f5b4c074c04968501760a8fc8be
aa2f3777a2604b43925de0d192a2d8bb67ddf89c
/solve.py
75130df4cab97834d8ef1f0978dbc61995f8b541
[]
no_license
nibrivia/bridges
406e0d7b63fca3fc823da693af2f2147c97ebbd6
544101a0ddd96f9f15589c870e44013efc4a4862
refs/heads/master
2020-06-10T01:03:06.935782
2019-07-15T15:22:54
2019-07-15T15:22:54
193,539,783
0
0
null
null
null
null
UTF-8
Python
false
false
2,419
py
class Link: def __init__(self, fst, snd): self.cells = [fst, snd] self.value = 0 self.editable = True self.conflicts = [] def freeze(self): self.editable = False @property def available(self): """Returns the number of links that can be added on this one...
[ "nibr@mit.edu" ]
nibr@mit.edu
fdd337731c2630cb780993a60ce66945c2781153
17554c4666f40759074dbe204aca6f9b5373d207
/tensorflow/python/keras/_impl/keras/model_subclassing_test.py
3d71a620fcb34d21c41f920eed99b1fe22668899
[ "Apache-2.0" ]
permissive
PACELab/tensorflow-1
ef92f70c5e5ff4cb3bda9254b8ef66b45f124566
fff95ee576e266eae9ccf23688849303aa146a3d
refs/heads/master
2021-01-25T14:34:10.574775
2018-03-03T18:14:50
2018-03-03T18:14:50
123,713,012
0
1
Apache-2.0
2018-03-03T17:03:35
2018-03-03T17:03:35
null
UTF-8
Python
false
false
20,297
py
# Copyright 2018 The TensorFlow Authors. 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
8706dd9534d6b4516529a80ef067267221875e06
aca65ed6f3c7e347adb9923fa78da77497624930
/ex11.py
03b2cc71ce6a496f5d1cdcbe77ee9e375f4c850b
[]
no_license
bunnybryna/Learn_Python_The_Hard_Way
516bb76ced2569ea27d9ce50c5d5bc00eeb5740d
c4aeece3b819a228acb2fb77f29551a8683331c4
refs/heads/master
2021-01-11T18:04:41.477498
2017-01-23T17:42:28
2017-01-23T17:42:28
79,486,036
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
print "How old are you? (year)", age = raw_input() print "How tall are you? (centimeter)", height = raw_input() print "How much do you weigh? (kilogram)", weight = raw_input() print "So ,you're %s years old, %s centimeters tall and %s kilograms heavy." % ( age, height, weight)
[ "brynazhao@gmail.com" ]
brynazhao@gmail.com
114f7b56097b295584afe4163441cf97202ab66e
377bc20bb72234f0095eedba83ddbfaad79c50bb
/django05_static/django05_static/urls.py
9450e495dbe52787cbdc2b33ee89311953865a69
[]
no_license
choicoding1026/Django
56fcf9932095829b26037ab5c506882ea31f7f33
4bbdf0e0f79175e10f8f75a29c2bc8f0ebd5328c
refs/heads/master
2022-12-19T20:07:22.904082
2020-09-28T08:46:58
2020-09-28T08:46:58
298,218,997
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
"""django05_static 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') Cla...
[ "justin6130@gmail.com" ]
justin6130@gmail.com
c5b0fc9f2a28cb9affcc82992946c9a90d629699
61eca412e1df6bc5c1cec627ab42e1fb7c69363e
/exercicio7.py
3e7589661e24b6e960b8dd265a7d773132bb9e67
[]
no_license
CCoxinho/Project_Euler_Python
9e8812197f4019241e4a35b661fb52cb0c070ea9
9de61a6f89db1d469669cd1a0a4ef10da610c1df
refs/heads/master
2016-09-06T19:20:03.315785
2014-12-16T22:20:01
2014-12-16T22:20:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
def primo(): primos = [] primos.append(2) n = 3 count = 1 found = False while found == False: for x in primos: if n%x == 0: found = False break else: if x == primos[-1]: primos.ap...
[ "coxynho@hotmail.com" ]
coxynho@hotmail.com
022abea8737be882d4bad4f71eb1048341c7f9f1
2e0f19194e1b217b6105749151c108ea394a75ad
/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py
c3ecf20771ce6653041620c498166734b3bef4c8
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "Apache-2.0", "BSD-2-Clause", "LGPL-2.1-only", "LGPL-2.1-or-later" ]
permissive
laurensverhoeven/azure-cli
2f454b3250b0b1b59454b6a3236862f1c4430c84
39774073032f84740272745f816dc81c2d47a448
refs/heads/main
2023-08-29T20:38:18.075062
2021-10-29T09:58:18
2021-10-29T09:58:18
427,614,072
1
0
MIT
2021-11-13T08:52:49
2021-11-13T08:52:49
null
UTF-8
Python
false
false
41,857
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
noreply@github.com
79fecc2c9c41f461be00ccb461bdb9cef9e811f3
6bb45c5892b4c9692dcc44116fb73dc9e7ab90ff
/advanced_functionality/scikit_learn_bring_your_own_model/code/inference.py
586143a9c2d8e619fe940d1c6006ddefc83d208a
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
aws/amazon-sagemaker-examples
8359afe544e873662bda5b8d2b07399c437213c9
43dae4b28531cde167598f104f582168b0a4141f
refs/heads/main
2023-08-26T04:42:52.342776
2023-08-25T14:37:19
2023-08-25T14:37:19
107,937,815
4,797
3,519
Apache-2.0
2023-09-14T19:47:03
2017-10-23T05:55:22
Jupyter Notebook
UTF-8
Python
false
false
487
py
import os import joblib def predict_fn(input_object, model): ########################################### # Do your custom preprocessing logic here # ########################################### print("calling model") predictions = model.predict(input_object) return predictions def model_fn(mo...
[ "noreply@github.com" ]
noreply@github.com
c1064e3cb0f46ad7adf774bda864f9f66f8de8ed
9beb6276f17e5d174b7827ee73974d65bf302c60
/scrumate/core/migrations/0009_auto_20190520_2336.py
6272f5158163f4f19adf7687aa847632d70b4dee
[ "MIT" ]
permissive
nahidsaikat/scrumate
8a3bec242b5b6ff02f1a5b8309e777f154e7c338
11a63f1cc361261a7023eceafc2a27e29561dca0
refs/heads/master
2022-01-11T09:20:58.599693
2019-07-10T16:57:56
2019-07-10T16:57:56
169,908,944
1
0
MIT
2019-06-02T04:21:56
2019-02-09T20:12:45
HTML
UTF-8
Python
false
false
477
py
# Generated by Django 2.2.1 on 2019-05-20 23:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0008_auto_20190519_1902'), ] operations = [ migrations.AlterField( model_name='projectm...
[ "nahidsaikatft40@gmail.com" ]
nahidsaikatft40@gmail.com
871974e3648c17f13df2fe539f834fef05fe17af
8e8dd3c0266afa02c2ae17f4eacdfaf3e164699d
/Chapter_2/Ex2a.4.py
2962efd9afa256f423c0cdbb357e048e2c204447
[]
no_license
wel51x/Machine_Learning_and_Spark
e441c115bba291e066a1145756b9cf5307f57b1f
b49fec57d79e2ed12fa2afd25cfb8dd8bed82a3d
refs/heads/master
2020-07-07T23:06:42.539033
2019-09-04T06:08:18
2019-09-04T06:08:18
203,463,461
0
0
null
null
null
null
UTF-8
Python
false
false
1,903
py
import pyspark from pyspark.sql import SparkSession from pyspark.sql.functions import round from pyspark.ml.feature import StringIndexer, VectorAssembler # Creating a SparkSession spark = SparkSession.builder \ .master('local[*]') \ .appName('first_spark_application') \ ...
[ "noreply@github.com" ]
noreply@github.com
58528b833cea82e350ebb2aa78aecf8c936bdf0b
81287ef25d5b6c9eb965d046de6056b7f6d43ca5
/chk_PCR/blended_vs_online_vs_offline/main.py
3eb9a9a1ebf8f6765b78e824fa57b82f69ed9469
[]
no_license
ShunzeJheng/Enhanced_Regression_And_Classification
d20d5b96276860955f09e9eca69ba8ea2b42f475
e1abc8df1acd4d1b8b919798bd84b5f3dd3fb1b6
refs/heads/master
2020-04-24T03:50:20.709207
2019-02-20T14:06:52
2019-02-20T14:06:52
171,683,373
1
0
null
null
null
null
UTF-8
Python
false
false
4,568
py
# coding: utf-8 #輸出使用關鍵因子作為特徵的資料集執行PCR後的結果 #在這邊只需要執行blended就好 #在產生a班或b班的資料前,記得改資料夾或資料集的名稱,如class_a_csv或class_b_csv import pandas as pd from func import * from coef_ import * from coef_mlr import * def blended_vs_online_vs_offline(file, key_feature): # 讀取資料並指定關鍵因子與LABEL datasets_small_name = file datasets...
[ "ms830301@gmail.com" ]
ms830301@gmail.com
5a800b2260024ae57eb1d85c6a9313bebb413618
dd9b226220715808784b74d1311f1ae95b1c5590
/projects.cocos/KeyOfSize/cocos2d/tools/cocos2d-console/plugins/plugin_new/__init__.py
5a8ae5606718010b72aac023fba109cf60b6c967
[]
no_license
mendesbarreto/Projects
fadc0e4060d6a72ec06ac22fbee9cb2c1ad40446
9e8d0c1f80a837ccc95f91f705255791dee16b29
refs/heads/master
2023-01-08T20:33:43.303935
2014-02-26T20:43:09
2014-02-26T20:43:09
16,204,933
0
0
null
2022-12-26T22:04:07
2014-01-24T13:18:23
C++
UTF-8
Python
false
false
35
py
from plugin_new import CCPluginNew
[ "mendes-barreto@live.com" ]
mendes-barreto@live.com
92b8fbf42cdd9d76c411d6d3cdb66b67393a07a1
02024d0d05428da2a1b53862e31fe5bf0d667ba3
/qiskit/qasm/_node/_indexedid.py
fc87aadf35a174a409d35e133d3f3e49acc07abc
[ "Apache-2.0" ]
permissive
nonhermitian/arrogant_seahorse
488dd22a200f45f068821ce93422d92dd6bae38c
2be1ff60857c75fcbbb0c23aa594f41e1a33c89c
refs/heads/master
2020-03-12T01:02:59.369571
2018-08-08T17:55:13
2018-08-08T17:55:13
130,365,670
0
0
Apache-2.0
2018-05-24T13:43:13
2018-04-20T13:26:27
Python
UTF-8
Python
false
false
1,565
py
# -*- coding: utf-8 -*- # pylint: disable=invalid-name # Copyright 2017 IBM RESEARCH. 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/licen...
[ "nonhermitian@gmail.com" ]
nonhermitian@gmail.com