blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
8a89fb2e3694166ab92f13d3e3ee724d7fffd554
0683cd7ccad814b04ec9357c1f0759c205ebdb07
/accounts/views.py
9671a280f9ef9657272037027114d8e9de6084b9
[]
no_license
luck-dyl/WebDriverTest
5d3ac413ad56d560d7ae2ac669a87cd35c03f83e
8d2e36a5f140fc4b249adaa9d94f16536ce7eb04
refs/heads/master
2021-06-27T13:14:05.370512
2020-05-26T10:11:22
2020-05-26T10:11:22
223,569,252
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
from django.shortcuts import render # Create your views here. from django.core.mail import send_mail from django.shortcuts import redirect from accounts.models import Token from django.contrib import auth, messages def send_login_email(request): email = request.POST['email'] token = Token.objects.create(emai...
[ "526598423@qq.com" ]
526598423@qq.com
dff3cf8a7dc530db742810d54a420691324bacbf
d5b339d5b71c2d103b186ed98167b0c9488cff09
/marvin/cloudstackAPI/changeServiceForSystemVm.py
558295637a60c892c3775f3d55b49ad3ea8b2c1c
[ "Apache-2.0" ]
permissive
maduhu/marvin
3e5f9b6f797004bcb8ad1d16c7d9c9e26a5e63cc
211205ae1da4e3f18f9a1763f0f8f4a16093ddb0
refs/heads/master
2020-12-02T17:45:35.685447
2017-04-03T11:32:11
2017-04-03T11:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,734
py
"""Changes the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.""" from baseCmd import * from baseResponse import * class changeServiceForSystemVmCmd (baseCmd): typeInfo = {} def __init__(self): self.isA...
[ "int-mccd_jenkins@schubergphilis.com" ]
int-mccd_jenkins@schubergphilis.com
142a233e4941c83b943c602d4e8d6b690ccefeab
852a91492a737e9a2c210df883029b684ca6a448
/jade2/pyrosetta_toolkit/window_main/IO/GUIInput.py
a67521cf642eab16dc495ca068b490289641dcc1
[ "BSD-3-Clause" ]
permissive
jadolfbr/jade2
cb33f4a8cbf560f5ebaef4de2789ff50f372ff5a
91f18d6004f123d11ea8618171154aa25a7444e9
refs/heads/main
2022-09-12T06:23:23.356864
2022-03-24T20:15:13
2022-03-24T20:15:13
427,541,475
0
0
NOASSERTION
2021-11-13T01:34:34
2021-11-13T01:34:34
null
UTF-8
Python
false
false
11,858
py
#!/usr/bin/env python # # (c) Copyright Rosetta Commons Member Institutions. # (c) This file is part of the Rosetta software suite and is made available under license. # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons. # (c) For more information, see http://www.rosettacommons.or...
[ "jadolfbr@gmail.com" ]
jadolfbr@gmail.com
42fcd54c6f28e2a2613922332d075016ca979640
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/ml/azure-ai-ml/azure/ai/ml/_restclient/v2022_10_01/operations/_operations.py
6ba396209174bea4ed3283dea9c97e89d8ad2dcb
[ "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "HPND",...
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
6,021
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
32f68b1d95119b10b38fa1bd99cb8b0b764916cb
ee5cc595d2561b0a5c3643d3b5411d6a317e460d
/Tech_Parts/forms.py
937078649c31a63216d9ed13d62cd5e9cea93f86
[]
no_license
abdallah-nasir/Saif
55d752489666d54f3112a4323be7ed42a4705376
83a5fa671a0cf23e7d17340306a3d845802d764b
refs/heads/main
2023-06-16T14:24:57.337133
2021-07-13T23:56:23
2021-07-13T23:56:23
374,425,846
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
from django import forms from .models import * class AddForm(forms.ModelForm): class Meta: model=Order fields=["products"] class TypeFilter(forms.ModelForm): class Meta: model=Filters fields=["type"] class CategoryFilter(forms.ModelForm): class Meta: model...
[ "abdallah.nasir@ymail.com" ]
abdallah.nasir@ymail.com
682dd1db09015be11c2ad171f27baf00f6062a07
810ce1c1ac47743e253171ec7541c0e431d952c2
/fluent_py/coroutines/coroaverage1.py
c4879d937d2cea58b61137ee6a91e8b89e880809
[]
no_license
hjlarry/practise-py
91052c25dc7ab706c6234f6d657db76667a27124
871e06b9652d356f55e3888f1f7ea180ac2b1954
refs/heads/master
2022-09-11T17:47:48.557194
2022-08-10T02:07:24
2022-08-10T02:07:24
136,263,989
1
0
null
null
null
null
UTF-8
Python
false
false
342
py
from coroutil import coroutine @coroutine def average(): total = 0 count = 0 average = None while True: recv = yield average total += recv count += 1 average = total / count avg_cor = average() print(avg_cor.send(100)) print(avg_cor.send(50)) print(avg_cor.send(10)) p...
[ "hjlarry@163.com" ]
hjlarry@163.com
aa9d5bc83c45829c28be08a36660603118c1c15c
be85a5caccc61913ff3c464cf533f350592aa450
/photo/models.py
db760ba1efa00ced967f7f199fb0292bbcfd6bbb
[]
no_license
darkseven1/dstagram
2f8811790278cf114a438fdfeed5bc19644ffbf0
23aee41aeecd1b974b7ad0013d008380a62e5b5d
refs/heads/master
2023-05-12T11:31:14.302282
2021-06-10T13:27:00
2021-06-10T13:27:00
375,708,228
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
from django.db import models from django.contrib.auth.models import User from django.urls import reverse class Photo(models.Model): author = models.ForeignKey(User, on_delete=models.CASCADE, related_name='user_photos') photo = models.ImageField(upload_to='photos/%Y/%m/%d', default='photos/no_image.png') ...
[ "darkseven1@naver.com" ]
darkseven1@naver.com
47959ecb2aa942df4422f6258da6baaba9f558d3
27ce5035140a5023de0892f4c3837bb03d47a700
/paper_plots/fig_4c.py
37ed90b56300da9012d8ece638e290a9393f5807
[ "MIT" ]
permissive
matteorr/rel_3d_pose
42cb155bdce394a578095a32a9b5793e3564cd68
dcb9838bfc575d267a99998982ba756f073bc5d8
refs/heads/master
2022-05-12T13:08:32.951614
2022-05-02T04:53:16
2022-05-02T04:53:16
143,567,259
76
8
MIT
2018-09-21T21:45:44
2018-08-04T22:32:07
Python
UTF-8
Python
false
false
3,205
py
import numpy as np import matplotlib.pyplot as plt import json def plot_figure(rel_acc_te, sup_acc_te, rel_acc_tr_te, sup_acc_tr_te, labels, inds_of_interest): fig, ax1 = plt.subplots() markers = ['+', 'd', 'p', 's', '^', 'o'] plt.plot([0,20], [0,20], ':', color='gray') sup_color = plt.rc...
[ "mronchi@caltech.edu" ]
mronchi@caltech.edu
d6c8e5f87533dbe8ea0294da54b75dcca8a57336
bce387c44f4a1957222fb966b937d7e29353220c
/noxAuto.py
320c2b53228bc45cd12ac09adad11091eb714f4d
[]
no_license
Kwon-YJ/nox_auto
6bf38ed9a88f97e7d163feaa3ebdb00afbb55e73
9036e58776db258ba36522eadeb10513f3ab6370
refs/heads/master
2022-11-23T01:26:06.964304
2020-07-13T03:41:00
2020-07-13T03:41:00
278,500,784
0
0
null
null
null
null
UTF-8
Python
false
false
5,200
py
# -*- coding: utf-8 -*- import pyautogui import time ''' # all process kill pyautogui.click(x = 2220, y = 500, clicks=1) # home button pyautogui.click(x = 2220, y = 1350, clicks=1) ''' # ckick_ = pyautogui.click(x = 2248, y = 448,clicks=1,interval=1) # 네이처 스크롤 = 12 # 칠성 첫번째 스크롤 = 8 # 칠성 두번째 스크롤 = 11 # 아이템 매니아 스크롤...
[ "49362903+Kwon-YJ@users.noreply.github.com" ]
49362903+Kwon-YJ@users.noreply.github.com
eb67be98965501ea8b709228dcc5cf71c56eebee
3c2eafdeb368d146fb42f7b2684847818a2f7e34
/tsm/pyKinectAzure/kinectBodyTracker.py
bba9aca1c1448342c4cb132416de111b641eec73
[]
no_license
Alice1820/skeleton-ar
1cc416c23bccc7014229078e9d6f626398842405
9abce1b25d8b4a2b700e4b8badb61ec6be7abeb2
refs/heads/main
2023-08-18T19:33:58.641226
2021-09-27T11:46:05
2021-09-27T11:46:05
408,324,593
0
0
null
null
null
null
UTF-8
Python
false
false
14,446
py
import _k4a import _k4abt import numpy as np import cv2 import sys import ctypes from ctypes import cdll from .config import config from . import postProcessing import platform k4a2v2 = { 0: _k4abt.K4ABT_JOINT_PELVIS, 1: _k4abt.K4ABT_JOINT_SPINE_NAVEL, 2: _k4abt.K4ABT_JOINT_NECK, 3: _k4abt.K4ABT_JOINT_HEAD, ...
[ "zhang_xifan@hotmail.com" ]
zhang_xifan@hotmail.com
21c57b8d9e08688743c5c1041150fe8db8ecf92e
38e0a6aa9df9c968135b348845abfa489cda4031
/dahe/dahe/middlewares.py
d4803604e76450e606ef24d894c512a6380eb77a
[]
no_license
AReallyMan/everySpiders
bb923de508bd986bcf158728d17638c4ce608db8
19419ae5097a522ed0c88e9ab63aa62419c25b44
refs/heads/master
2022-09-20T02:18:06.205480
2020-06-03T06:33:47
2020-06-03T06:33:47
263,788,915
0
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class DaheSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy ac...
[ "969114624@qq.com" ]
969114624@qq.com
0d880c8d6c03715caebbcd2ea79b18124a9357d5
fcccee7f76ab557e562e748a5fc43cd7c31d2bf1
/kidhaa.py
d22a8a1e658fc3ddce676f57a9069d6f07e67f1b
[]
no_license
shillbie/s
ada9c084316160c1fd1734deaf104cfed7b91506
20fdc8be5eb13d2571b6d1cb101ac62058051bb3
refs/heads/master
2021-09-04T05:07:43.194204
2018-01-16T06:17:43
2018-01-16T06:17:43
114,781,765
0
0
null
null
null
null
UTF-8
Python
false
false
180,638
py
# -*- coding: utf-8 -*- import LINETCR from LINETCR.lib.curve.ttypes import * from datetime import datetime import time, random, sys, ast, re, os, io, json, subprocess, threading, string, codecs, requests, ctypes, urllib, urllib2, urllib3, wikipedia, tempfile from bs4 import BeautifulSoup from urllib import urlopen im...
[ "noreply@github.com" ]
shillbie.noreply@github.com
b63d14cc824a8738ce9d3f5801a84971d2c0fe47
0d5065cf81d4f2bab0f27882e216caa35ca877e9
/firmware/font/ascii_font_converter.py
9aac41a19cc826b2afaf45f135a00774f690e6a4
[]
no_license
aukdata/ir_gun
0ffa7b21677c44937b02937608db6a32ed6222d8
771db3e3629cc917fe2c6dc6eaf1d18b1090869f
refs/heads/master
2020-09-11T21:32:28.385020
2020-01-30T10:26:44
2020-01-30T10:26:44
222,196,911
0
0
null
2020-01-28T13:40:33
2019-11-17T04:28:43
Python
UTF-8
Python
false
false
2,428
py
from PIL import Image import numpy as np from matplotlib import pyplot as plt # separate font data by 4 bits # load a font image img = Image.open('misaki_png_2019-10-19/misaki_gothic_2nd_4x8.png') width, height = img.size # convert the image to ndarray of pixels img_pixels = np.array([[0 if img.getpixel((i, j)) != 0...
[ "takuma.y0524@gmail.com" ]
takuma.y0524@gmail.com
ceb24b393c835b9c014165e79f836ab8389e9e19
6d6cb143efb04a0edfe9b936fdeb0b5266059765
/List Assignment/List_24.py
b6be829818af62237fab69e3033d1e822203d59a
[]
no_license
Yashverma7089/PythonAssignment
24c26aaec5f52e3c283daf675ae5c03a000760b8
5262f0febb64c0a769729f0a494d65498abdb6b9
refs/heads/master
2023-08-28T13:18:46.792400
2021-10-14T07:37:09
2021-10-14T07:37:09
413,547,918
0
0
null
2021-10-14T07:37:10
2021-10-04T18:56:19
Python
UTF-8
Python
false
false
454
py
# Write a Python program to append a list to the second list. L1 = [] L2 = [] n = int(input("Enter the size of list : ")) for i in range(n): v = int(input("Enter element at %d position : "%(i+1))) L1.append(v) print("First List :",L1) n = int(input("Enter the size of list : ")) for i in range(n): v = in...
[ "official.yash8080@gmail.com" ]
official.yash8080@gmail.com
120a29e244a8b4826236879c82f02de9239cc9df
2b5dfacdb7389aefff64c67fac863e3f82d3723e
/source/tygame-sdk/src/tysdk/entity/report4/report_model.py
c890bde6a5b23e32b2b5e55b36e0a073c0545dfe
[]
no_license
hi-noikiy/hall0
54ef76c715f7ac7fec4c9ca175817e12f60fbd6a
21ea94c5b048bc611fb1557ac0b6e3ef4fdbbc09
refs/heads/master
2020-04-08T21:58:55.239106
2018-01-15T14:58:32
2018-01-15T14:58:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,540
py
#! encoding=utf-8 from tyframework.context import TyContext __author__ = 'yuejianqiang' """ DB: TyContext.RedisPayData TYPE: hash KEY: online:appId:userId PROPERTIES: {'timestamp':timePoint, 'daily':duration, 'weekly':duration, 'monthly':duration, 'total':duration} if day(timestamp) != day(now): today = 0 if week(t...
[ "cg@ibenxi.com" ]
cg@ibenxi.com
2c462521591bbf401fc82228031e7a38a6e18e1a
a6c94d66a24e70bcad53e1e68caf0a6c7c18688e
/tests/filters/test_multiallelic.py
64b41f058bfdae4363bdf917b01ed789ae1989cf
[ "Apache-2.0" ]
permissive
MarcSaric/aliquot-maf-tools
cb8cccea51b0e364a1adb72fb595afff4fbf392f
6311a293772c3abe5378b47dfcbcc99507eb1746
refs/heads/master
2022-11-21T04:33:59.877628
2020-07-23T16:18:12
2020-07-23T16:18:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
""" Tests for the ``aliquotmaf.filters.Multiallelic`` class. """ import pytest from collections import OrderedDict from maflib.column_types import StringColumn from aliquotmaf.filters import Multiallelic from aliquotmaf.converters.builder import get_builder @pytest.fixture def setup_filter(): created = [] ...
[ "kmhernan84@gmail.com" ]
kmhernan84@gmail.com
93a8e2106cdc6e4adfd996441f07c47940bc3202
f30c12f7d888551db849f28c754f50eefc17f2ad
/tests/test_resource_base.py
bca57e2c5ce35d191eb808c551bf4e58ecdb8088
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
fourdigits/mollie-api-python
463eaf13e1e2500f80ec84ce2b7877191c6bb354
e5c075184df005456be7ad892cd40a8b7bab18e3
refs/heads/master
2023-01-28T02:27:05.119688
2023-01-05T15:48:32
2023-01-05T15:48:32
141,251,881
0
0
BSD-2-Clause
2021-06-14T09:54:55
2018-07-17T07:49:35
Python
UTF-8
Python
false
false
1,137
py
import pytest from mollie.api.error import IdentifierError from mollie.api.resources.base import ResourceBase class MyTestResource(ResourceBase): """Minimal resource for testing.""" RESOURCE_ID_PREFIX = "test_" def test_validate_resource_id(client): resource = MyTestResource(client) with pytest.ra...
[ "tom@fourdigits.nl" ]
tom@fourdigits.nl
ae516c51b3977e3856c0072bde68208f4bc7ef3d
a3a1008cf90d54a05947b0ab4b4da9d1f20a4b38
/real_time_prediction/real_time_prediction.py
3b7f75ffd4f1a7aa6b1b91facf14a443f801a404
[]
no_license
DelphinAlexandra/umatch
5f5859bfb86f2656e643ed4061d89b0a21ce48ca
62b8cac71487770d936b7f393f219a61eab59596
refs/heads/master
2020-05-03T11:02:51.727926
2019-03-30T16:52:40
2019-03-30T16:53:18
178,592,452
0
0
null
2019-03-30T17:49:52
2019-03-30T17:49:52
null
UTF-8
Python
false
false
5,581
py
from imutils.video import VideoStream from imutils import face_utils import imutils import time import dlib import cv2 import pickle # EYES def dist_between_eyebrow(shape): den = abs(float(shape[16][0] - shape[0][0])) if den == 0: den = 0.1 dist = abs(float(shape[22][0] - shape[21][0])) / den r...
[ "niroan.jeyathasan@edu.esiee.fr" ]
niroan.jeyathasan@edu.esiee.fr
2718fe114ffec09c90df5e3bca519e92e3ea3d75
ab1493c55cf9ee2f5a0b114b551b18c75a079131
/lab1.py
6832968966adf67e32d430a7e16cd75649305e52
[]
no_license
KotovNikita16/PLs
5b2729e8c52eddeee80c186256ec5584670bb451
b93a0fe8b81917cffc73573a959b731f263d18fe
refs/heads/master
2020-09-12T00:30:00.133874
2019-11-17T13:07:15
2019-11-17T13:07:15
222,241,189
0
0
null
null
null
null
UTF-8
Python
false
false
4,110
py
#Скрипт работает с файлами и папками, находясь в той же директории, что и папка с файлами (по умолчанию папка space). Клиент - localhost #Скачать файл или перейти в папку - кликнуть по привязанной к имени ссылке. Сверху указана текущая директория. #Удалить пустую папку или файл - кликнуть по ссылке [DELETE] рядом с и...
[ "noreply@github.com" ]
KotovNikita16.noreply@github.com
37e484c9ec7644fcc199e0f648434dce3c0335e5
ebc2d985be14f4ba47cc95ac1c2da1f902b06fc0
/main_app/urls.py
11ed6e308119202da0421e454ff4d8edf7fdc38d
[]
no_license
NerokuGR/memory_place
9bf6278237cd3bedf321cebf3e89606511341528
591e8a09b17abb97a2b9daef9963470e63d72fdc
refs/heads/master
2023-02-07T19:22:21.893458
2020-12-20T12:53:22
2020-12-20T12:53:22
321,064,786
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
from django.urls import path, include from django.contrib.auth import views as auth_views from main_app import views urlpatterns = [ path('about', views.about, name='about'), path('login/', views.login, name='login'), path('logout/', auth_views.LogoutView.as_view(), name='logout'), path('social-auth/',...
[ "ragnerikon@gmail.com" ]
ragnerikon@gmail.com
1118e1c5495c1500d401aec88b03b156114973d1
b42dbbb17d3f287cdd447ecbd0155062dcc51263
/triWeb_backend/MultiRunCounter.py
24339545b2734cdf57f25a25e497f800b85a6129
[]
no_license
AnitaTang/web_TriAquae
52dc790630081b0b8cc427c8b3af1c16f41451aa
053ffbd982d9ba357304382b7e649804c006e2a8
refs/heads/master
2021-01-23T20:06:28.389936
2013-07-21T12:15:58
2013-07-21T12:15:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
#!/usr/bin/env python import db_connector from web01.models import OpsLog def AddNumber(): current_num = OpsLog.objects.latest('track_mark').track_mark #MultiRunCounter.objects.all()[0] new_num = current_num + 1 return new_num if __name__ == '__main__': print 'This module can not be run by it self,must be ...
[ "lijie3721@126.com" ]
lijie3721@126.com
8b4108e35c277d3750a8538ae024b261569e44ed
3276607f5ed4e33fadd4a9a347396c714e43dec4
/tests/conftest.py
33e66b48e6e6cf55e6960889831d4d564c7cee90
[ "MIT" ]
permissive
jlumpe/python-emacs
f22ef3c995be7a7da2a2391d5e9d84f9e8844ab6
b92cb574ea5b8a339e2d70d7862e1d7740114683
refs/heads/master
2022-02-03T11:42:41.717946
2022-01-22T19:55:26
2022-01-22T19:55:26
201,527,580
14
2
null
null
null
null
UTF-8
Python
false
false
1,505
py
import time import subprocess as sp from contextlib import contextmanager import pytest from emacs import EmacsBatch, EmacsClient SERVER_NAME = 'pytest' DAEMON_ARGS = ['-Q', f'--fg-daemon={SERVER_NAME}'] def make_batch(): return EmacsBatch(args=['-Q']) def make_client(): return EmacsClient(server=SERVER_NAME) ...
[ "mjlumpe@gmail.com" ]
mjlumpe@gmail.com
aaf563002d6a3dcf55f512a6b3f52e1f223b92df
a5620c5989e4df703e6d4562682ab24498ece44a
/word2vec.py
5ca103bfd81dad94edaeb5e4c3506e67436f75e8
[]
no_license
karthiktsaliki/Game_of_Thrones_Analogy
86b1680234b8ebf77b73782223db45ab3e75b712
2a911e26bc28c88c49ca7cd1f547e529ac786690
refs/heads/master
2021-01-20T13:03:55.559900
2017-08-29T07:23:00
2017-08-29T07:23:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,054
py
from __future__ import absolute_import,division,print_function import codecs import glob import multiprocessing import os import re import nltk import gensim from sklearn.manifold import TSNE import numpy as np bookfilenames=sorted(glob.glob("*.txt")) print(bookfilenames) corpus_raw=u"" for book_filename in bookfile...
[ "noreply@github.com" ]
karthiktsaliki.noreply@github.com
5fbbcbe879a19e6e60a6914ff2ed082bc219a5a4
c44e465c0de7cf286ec47ad307b00f69b2308eb0
/order/urls.py
1ae9d59b2b859c999bc41fa0d5df659a5c22d04a
[]
no_license
pororo3224/shop
1407826ef1dfba7850e704ba17441f655605dd70
26cba868ec4b0fb765faaada60775623df66479a
refs/heads/master
2022-11-05T10:50:50.344488
2020-06-24T11:13:59
2020-06-24T11:13:59
274,647,197
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
from django.urls import path from .views import * app_name = 'orders' urlpatterns = [ path('create/', order_create, name='order_create'), path('create_ajax/', OrderCreateAjaxView.as_view(), name='order_create_ajax'), path('checkout/', OrderCheckoutAjaxView.as_view(), name='order_checkout'), path('vali...
[ "pororo3224@gmail.com" ]
pororo3224@gmail.com
0a6ee9257a8cbca2b86d55f02bb526b30e8f1a60
9e9579daf35449571f64f20ff2d9bda23b9bbe91
/formatting.py
5f5388ffc7c3b55cac1dd20af7682f0e3adb6f2d
[]
no_license
thijshosman/python-playground
20b4c5aae84be91896a6a0a27f7d0f46f14ee8fa
412f96f60f28f021cc1f8dc3f6ae4e1a8d0b756b
refs/heads/master
2021-01-21T04:35:53.543150
2016-04-27T05:08:32
2016-04-27T05:08:32
40,724,334
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
print 'test %.1f' % 4.4
[ "thijs.hosman@gmail.com" ]
thijs.hosman@gmail.com
b9b9c1156261f03e355d0f4530b1fad288d4b69c
adade268faef8d76cf17df10ec41203efeb5ebd4
/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/tests/test_rsync.py
1041356c54e7ab5c63efd105ce0000e9b452ef00
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dovikn/glass-findmycar
f6d28228deec5c379a802bd49527176b108f6237
3755409e30f7c2247c6c8ff12dac1c6b99490204
refs/heads/master
2021-01-12T02:08:34.995245
2017-01-10T04:00:23
2017-01-10T04:00:23
78,477,488
0
1
null
2020-07-25T00:53:54
2017-01-09T23:05:29
Python
UTF-8
Python
false
false
39,720
py
# -*- coding: utf-8 -*- # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "dovik@dovik-macbookpro.roam.corp.google.com" ]
dovik@dovik-macbookpro.roam.corp.google.com
2708952d2d7c1d0d55f3aca64dbd4fdc302dc84e
7389b5f624a608d30840957a8b3118b0338e2a5a
/backend/paciente_24534/wsgi.py
613ef21e1878e61d4f1208791350fa7b6fb9539c
[]
no_license
crowdbotics-apps/paciente-24534
f9794b3ee326a21d1e5d2ced702438cb9a107ca8
3e336cdd4b21af939203afe7697a71f05f3a5bec
refs/heads/master
2023-03-06T02:01:19.186111
2021-02-15T06:36:45
2021-02-15T06:36:45
338,987,982
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for paciente_24534 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANG...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
67f45a6359ae1657bcdb48a95831c690e76bb154
8e0aa7c4a91280a0688c169ea94dd82b5b07fbf2
/api/urls/__init__.py
b4fd06f9b808ca8617681e3544eb8b9131560274
[]
no_license
sahilgarg2715/mobile_sale
0c0f132032221c2790405045495a68abc799fe02
3f58adf8607254b4757581f7e818d01e69157654
refs/heads/master
2023-03-17T21:30:09.328000
2021-03-02T07:33:17
2021-03-02T07:33:17
325,554,468
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
from .msuser import msuser_urlpatterns urlpatterns = msuser_urlpatterns
[ "sahil.holacash.mx" ]
sahil.holacash.mx
456c24de06e36b5df87fc588c36c30769303938c
2747fa04b8303dfbe6c24bebfd1fb692574efb5d
/monorun/datasets/kitti3d_dataset.py
2076f45b0728aa3106b0f07e3665a8d4501de095
[ "MIT" ]
permissive
yuhuang-ca/MonoRUn
96873c6e2adafcc51ad00bf717c1fe6ad45826ed
5bcc5278ea7a6b9cac6b7933c66921fa3011ce9a
refs/heads/main
2023-05-13T05:02:30.915215
2021-06-08T02:37:32
2021-06-08T02:37:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,622
py
import os import os.path as osp import shutil import numpy as np from scipy.linalg import solve_triangular import mmcv from ..core.evaluation import kitti_eval from mmdet.datasets import CustomDataset, DATASETS @DATASETS.register_module() class KITTI3DDataset(CustomDataset): CLASSES = ('Car', 'Pedestrian', 'Cyc...
[ "chenhansheng97@126.com" ]
chenhansheng97@126.com
3d499313b71e9628cd0db4ed49aec8f9a04edc61
2b547944393910e4b6959e1d1a48fa72356e6f5c
/property_decorator.py
10c82e63d081bb06ff610c98b2253982ef7257bf
[]
no_license
andreabassi78/General_Phyton
a45e7a12af2832c3879bb94ffbbe872f5b401cf8
0ca571bbad24c7d52074f4238655e06bc174a819
refs/heads/master
2023-07-09T04:34:47.881974
2023-06-25T08:49:08
2023-06-25T08:49:08
286,311,921
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
# -*- coding: utf-8 -*- """ Created on Sun Aug 9 12:32:36 2020 @author: Andrea Bassi """ import numpy as np class SaturationError(Exception): pass class Image_data: def __init__(self, name, size): self.name = name @property def data(self): print ('Getting data...
[ "andreabassi@polimi.it" ]
andreabassi@polimi.it
5801fdebb4444c78df6c430ec5fef7b8e71cf422
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Keras_tensorflow_nightly/source2.7/tensorflow/contrib/distributions/python/ops/onehot_categorical.py
e3e40b2e9ca232b9970768f21fb95887fdf0df2d
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
9,666
py
# Copyright 2016 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...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
3bbffaa62e0ae3f3bb84a80392ae0f399ab809d9
10dcfd809f342fd822b6df198f4045f92b157124
/lib/python/translate/convert/test_po2ical.py
06ee1334bb23c487f2edfade0321c3af48f716f6
[]
no_license
mozilla/affiliates-lib
c731c910c8d9fe04e211541e54f304a127a0b829
1000f98d9df217ed66a0ecd07e1e0a1d822a712a
refs/heads/master
2023-07-03T17:18:49.841809
2016-02-01T10:49:47
2016-02-01T10:49:47
2,291,186
2
2
null
null
null
null
UTF-8
Python
false
false
2,439
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from translate.convert import po2ical from translate.convert import test_convert from translate.misc import wStringIO from translate.storage import po icalboiler = '''BEGIN:VCALENDAR VERSION:2.0 PRODID:-//hacksw/handcal//NONSGML v1.0//EN BEGIN:VEVENT UID:uid1@example.com ...
[ "fwenzel@mozilla.com" ]
fwenzel@mozilla.com
a96a67c2bf3472319a16f403c5fb1d20f1fd033b
931d10ad6e9fb815f32f42c11af98d4ea9668f18
/administration/form_extimage.py
a56751dee885dfc9b951ed46d5ade6b619e08db9
[]
no_license
suijius/turbodiesel
13b8edc4343713dc97c27e9ddb85d2a5f97333c1
d4a2810125399a7dd2b428694924ed28c62d2aa5
refs/heads/master
2021-01-15T11:02:47.855199
2014-04-01T16:30:34
2014-04-01T16:30:34
18,336,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
#coding=cp1251 from metamodel.models import Application, ExtImage from django.forms import ModelForm from django.views.generic import CreateView, UpdateView import data import settings import json from metamodel_view import TurboDieselUpdateView, TurboDieselCreateView from django.http import HttpResponseRedir...
[ "suijius@gmail.com" ]
suijius@gmail.com
ada8b0e4f94095e3ce21f25d869d4659b0b88406
8813a4e4286f32f826e94d31da7155d12b5cd576
/blog/admin.py
e6fddb5778e10437b6591097717889023685075f
[]
no_license
AliHassanUOS/BlogSite
697a04a76851517cef7fa93f925b4c1ca114ef97
02553cdc207b8b23b598f708535813404d7d4847
refs/heads/master
2023-07-15T21:01:50.777867
2021-09-01T09:07:40
2021-09-01T09:07:40
401,997,899
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
from django.contrib import admin from .models import Blog_model # Register your models here. class Blog_Model_Admin(admin.ModelAdmin): list_display = ["id",'author',"title"] list_display_links= ["author","title"] search_fields = ["id","author"] list_filter = ["id",'author',"title"] admin.site.regis...
[ "alihasanuos@gmail.com" ]
alihasanuos@gmail.com
ff9fc1098df65e53b8897688c78a5ab1951af81f
29442d22b0413f8a7e50a37654e89e429684e297
/idaes/property_models/ideal/test_ideal.py
fe252a5b13951efee998947906d7f14fe3ff1a80
[ "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
tony121psu/idaes-pse
75f5056b9a96201a8499901ef8885bef32eef8e2
bdfddf1d1761bdba408567a83e198d549e8c741d
refs/heads/master
2020-05-27T06:04:41.551792
2019-05-14T00:14:05
2019-05-14T00:14:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,923
py
############################################################################## # Institute for the Design of Advanced Energy Systems Process Systems # Engineering Framework (IDAES PSE Framework) Copyright (c) 2018-2019, by the # software owners: The Regents of the University of California, through # Lawrence Berkeley N...
[ "KSBeattie@lbl.gov" ]
KSBeattie@lbl.gov
9b459dc921f16358b1968c9bc0323f44349de7d1
862b1199b77702adb26d17f15c38d7814d08df62
/strava/tokens.py
aecaec61049c6f8635ebd95586f4bf36d732bee4
[]
no_license
jjjhung/ty-strava-bot
211e17b26df8a532f2ebc79f84d34b835d6a86c3
877011706c76363b32251202495a87dbfec2e149
refs/heads/main
2023-07-26T19:19:01.910673
2021-09-14T15:24:39
2021-09-14T15:24:39
406,416,274
0
0
null
null
null
null
UTF-8
Python
false
false
2,405
py
import requests import json import os import time from dotenv import load_dotenv load_dotenv() def get_access_token(name:str) -> str: ''' Get access token for athlete. Must have provided auth code, which is stored in env variable. Only need to perform this once per athlete. If this is run again,...
[ "joseph.hung@mail.utoronto.ca" ]
joseph.hung@mail.utoronto.ca
f2495c4c83b997af0c10dbcac95d85cb0bac9c4a
c92f8b2870add6860ef6b98a9e702788af5fd967
/Chapter06/filerandomread.py
47e45c051fb07156e61def4337fb196416d7c3e7
[]
no_license
Rabidza/INF1511
c6e1244679b2eff3f782957c056a72d49a552176
4bc10130a3693f3223bd12f4e9212a037bd1fc2a
refs/heads/master
2021-09-08T05:42:58.897999
2018-03-07T20:08:31
2018-03-07T20:08:31
116,714,383
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
f = open("aboutbook.txt", "r") line = f.readline() print("A line for file is:", line) f.seek(5) line = f.readline() print("The line from character 6 till end of line is:", line) print("The pointer is at location", f.tell()) f.seek(10) line = f.read(15) print("The fifteen characters starting at location 11 are as:", lin...
[ "neillhenning@gmail.com" ]
neillhenning@gmail.com
159bc1f5bfc255f2e073cf2b4a873beac57aeb2c
2179d3ed311a074aaefc258e8a7f534a7d5a2e7c
/CM1101--Group-4- most up to date/items.py
88208915a04492d336d382df7ee6cbd38910ce9e
[]
no_license
charles-read/CM1101--Group-4-text-based-game
233e723473dd7678d2e1ccd5d15241e9d04e49e1
58593e170ff1c47d1b8ec097574d168858e85b05
refs/heads/master
2021-06-07T13:02:39.108673
2016-10-18T15:43:34
2016-10-18T15:43:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
item_disguise = { "id": "disguise", "name": "a janitor's disguise", "damage": 0, "trick": 10, "description": """An old Janitor's overalls stained with all kinds of products. It's a bit worn and old but should help hide you from guards.""" } item_shank = { "id": "shank", "nam...
[ "noreply@github.com" ]
charles-read.noreply@github.com
7ecbae502ac1ba46d53f9e23a5fd3ab47832ddc5
8c2ccf1ce12c1f4e96577fbf4e07617f8a1c2ba1
/devplus_account/models/account_voucher.py
0c58eff1ed75a3b1081162e83960919373efd1c9
[]
no_license
wch275/test01
bc518880cc1bf97c4b2c006e9357291e0ef179c0
fb1b30d786f48b0a4da27a9946c7f33713127a86
refs/heads/master
2021-01-24T18:39:18.610400
2017-03-13T13:58:34
2017-03-13T13:58:34
84,466,206
0
0
null
null
null
null
UTF-8
Python
false
false
6,553
py
# -*- coding: utf-8 -*- #------------------------------------------------------------------------------- # # Coded by: Borni DHIFI (dhifi.borni@gmail.com) # #------------------------------------------------------------------------------- from openerp.osv import osv, fields import openerp.addons.decimal_precision a...
[ "wch@proosoft.com" ]
wch@proosoft.com
bab6d56a718ec9d67328ae538b93f0a8922534dc
5430cd3b483c858567f1687b0bed43eccd4d0fe0
/gpregression_gpy/gp_regression.py
67432db531b554ba742ef945817133a41f19f7b4
[]
no_license
roholazandie/gaussian_process_tutorial
a1b46c712d31545ee428db04a511150933902de8
f7efbaa534f6834447cb77a97e5162efd92f9a1a
refs/heads/master
2021-02-14T15:40:12.649801
2020-05-21T16:17:37
2020-05-21T16:17:37
244,816,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
from GPy.kern import RBF, Brownian, PeriodicExponential, Cosine, Exponential, Integral, Matern32 from GPy.models import GPRegression import numpy as np from from_scratch.kernels import kernel, rbf import matplotlib.pyplot as plt X_test = np.arange(-5, 5, 0.2).reshape(-1, 1) # Mean and covariance of the prior mu = np.z...
[ "hilbert.cantor@gmail.com" ]
hilbert.cantor@gmail.com
623974d376e4ee42251374b3134571db9b2596f5
a1f77510aa89d1ff021243a011516f194969f685
/ouruser/migrations/0004_auto_20200716_1619.py
2be8f6ecc6a8b51d34473ea8b44e77f93aafa7a2
[]
no_license
happyssun96/Django_Basic
acd4105baecdd8337e01d33f544f0fe2c62fba66
2ad531531ade6b71a5868f580561ffe78fae4294
refs/heads/master
2023-02-05T23:09:37.979286
2020-12-28T09:30:31
2020-12-28T09:30:31
290,909,462
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
# Generated by Django 3.0.2 on 2020-07-16 07:19 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('ouruser', '0003_ouruser_usermail'), ] operations = [ migrations.RenameField( model_name='ouruser', old_name='usermail', ...
[ "lsw96@naver.com" ]
lsw96@naver.com
b3cb7592a704a831cee1ff073fd9de421a6d2fdb
79ee9de70b508cbdf418a6b97a04ceaf94a913c7
/manage.py
41d95fdcc992eb3c748ed0cde2de9ee338885c8f
[]
no_license
mbasilak/NEw-Repo
b2a74146239df5c71e7d871dae7f00ed8a57322e
a0d0cfc53f1647fb510be9c187006c2fadf270ec
refs/heads/master
2020-03-20T09:29:52.613545
2018-06-14T09:59:07
2018-06-14T09:59:07
137,339,239
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dsstest.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are ...
[ "mohammedbasil_b150451cs@nitc.ac.in" ]
mohammedbasil_b150451cs@nitc.ac.in
e1007f970ab3802cbfdbec41cb6803a6eba0af11
f58b25ec7bc1a880a880a88fad6f546999130262
/extra_app/xadmin/sites.py
cc29f3edaf1423f0c046aa721096ea1a15c9430e
[]
no_license
yyx2831/mkw
b3c387e34c6a7c35b8fb89b9f437bd379ec2d110
3768de3b587ecfb806b0f5543e9ec464ad652300
refs/heads/master
2021-01-25T09:31:27.686650
2017-07-22T01:45:49
2017-07-22T01:45:49
93,841,998
0
0
null
null
null
null
UTF-8
Python
false
false
14,797
py
import sys from functools import update_wrapper from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.db.models.base import ModelBase from django.views.decorators.cache import never_cache from django.template.engine import Engine import inspect reload(sys) sys.setdefaulte...
[ "yyx3112164@qq.com" ]
yyx3112164@qq.com
ca3ef938f4a560985d581a5cba50e500a4e82949
ad6e065b218bc8ed4c9b09237097b36bc50fba78
/src/digital_root.py
95b2627854883c08bcbbc0ab12d79ab5732f4083
[]
no_license
MarcosPTProenca/Coursera-exercises
f7e609a4ebaf6d215c563f44b642b865b70d5927
d0d30b1dac448dc108a27c2544901e04c37f95fc
refs/heads/main
2023-06-30T14:13:42.405688
2021-08-05T17:32:23
2021-08-05T17:32:23
392,809,202
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
def digital_root(n): temp = str(n) tamanho = len(temp) i=1 j=1 soma = 0 soma1 = 0 if tamanho <= 2: while tamanho > 0: x = (n//i) %10 soma += x i*=10 tamanho = tamanho - 1 return soma else: while tamanho > 0: ...
[ "marcos.tavares159@gmail.com" ]
marcos.tavares159@gmail.com
8bc4524f3e796aba303093dc2cbb47cf3c36b28c
2eb96bb16a8807db11afa8db1c5aef9c8faeb68d
/pavement.py
880f61a78ccbb04ef6ef17a2cfa373c4df289e2b
[]
no_license
MagicSword/pygtktutnote
260afc291b893c8bebcc7b8ec97294b649d93308
4b897a4b42494d63ee506400164b23098fe70639
refs/heads/master
2021-01-20T09:01:37.575591
2009-03-26T18:54:15
2009-03-26T18:54:15
160,234
2
0
null
null
null
null
UTF-8
Python
false
false
11,828
py
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2008 Doug Hellmann All rights reserved. # """ TODO - make sure all of the files from the manifests are included """ __version__ = "$Id: pavement.py 1995 2009-03-01 21:09:26Z dhellmann $" # Standard library import os # Third-party import cog import paver i...
[ "ming927@spp.url.com.tw" ]
ming927@spp.url.com.tw
28655d12f7ebe5ed86e20c02547e49ec2d631f55
09ce9635b0e74ba178e98efd0d5229a25995713e
/submissions/caddi2018/a.py
ea2d4a088775fdc6419701fecb2d83602a468c31
[ "Unlicense" ]
permissive
m-star18/atcoder
7575f1e1f3ee1dfa4a765493eb17b4ef0ad5f1f0
08e475810516602fa088f87daf1eba590b4e07cc
refs/heads/main
2023-07-14T09:16:42.807150
2021-08-22T15:59:48
2021-08-22T15:59:48
364,458,316
1
0
Unlicense
2021-08-22T15:59:49
2021-05-05T04:13:03
Python
UTF-8
Python
false
false
537
py
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) from collections import Counter def prime_decomposition(n): i = 2 table = [] while i * i <= n: while n % i == 0: n //= i table...
[ "31807@toyota.kosen-ac.jp" ]
31807@toyota.kosen-ac.jp
ad3d032383f09df8e69bb63d9f422b52183bde91
fc2f3c912ab824612bc57c92f37df0d197f58f34
/InstaClone/settings.py
4839e214f00fff09d2104476c1862f2dcd8a32b0
[]
no_license
rohandosi/insta_clone_django
9d6850d0786cc30a320fc6056e04e89abc09b934
fa7dc25e49c67ac9b21c08e574e7a33a326963ff
refs/heads/master
2021-01-21T12:20:38.855686
2017-05-19T10:04:17
2017-05-19T10:04:17
91,788,457
0
0
null
null
null
null
UTF-8
Python
false
false
3,188
py
""" Django settings for InstaClone project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import...
[ "rohandosi7@gmail.com" ]
rohandosi7@gmail.com
ca91e953d072a747158278660ec24f31037659cb
e3173b5efe3e4a0af0e55479362d7534dadacd94
/emojireact/unicode_codes.py
e2ef9bc6647a830706b4da41ae1f4a64ccd8fed9
[ "MIT" ]
permissive
hopolapopola/Trusty-cogs
0fec3b82ec3070275893fa9f20996f0a865cb4b4
47d748c75d321196741c38e9d93a852c1dc96203
refs/heads/master
2023-04-16T02:14:04.419471
2021-10-15T03:07:47
2021-10-15T03:07:47
334,314,560
0
1
MIT
2021-02-01T03:43:20
2021-01-30T02:55:02
Python
UTF-8
Python
false
false
206,321
py
# -*- coding: UTF-8 -*- """ From https://github.com/carpedm20/emoji/blob/master/emoji/unicode_codes.py Data literal storing emoji names and unicode codes """ __all__ = ["EMOJI_UNICODE", "UNICODE_EMOJI", "EMOJI_ALIAS_UNICODE", "UNICODE_EMOJI_ALIAS"] EMOJI_UNICODE = { ":1st_place_medal:": "\U0001F947", ":2...
[ "TrustyJAID@gmail.com" ]
TrustyJAID@gmail.com
015fc182f46ff412c276544c402a85ae28b16898
a4f8a2fc8cd4652f632bcbc6c1bf911d29ab31c5
/iterate_dictionary_with_lists.py
d606a8bf27d6e4679add95d23f5d19602b1bef21
[]
no_license
Christopher-Teague/functionsIntermediate1
ed74fde1256d44dfb891b1368e3dde368afb61a5
06973850cad3f832f894cf0e8679f4981cf1ed73
refs/heads/master
2023-08-22T17:21:49.511491
2021-10-26T19:39:54
2021-10-26T19:39:54
421,257,994
1
0
null
null
null
null
UTF-8
Python
false
false
654
py
dojo = { 'locations': ['San Jose', 'Seattle', 'Dallas', 'Chicago', 'Tulsa', 'DC', 'Burbank'], 'instructors': ['Michael', 'Amy', 'Eduardo', 'Josh', 'Graham', 'Patrick', 'Minh', 'Devon'] } def printInfo(some_dict): for key in some_dict: # print(key) # print(some_dict) num_loc = len(some...
[ "cmteague77@gmail.com" ]
cmteague77@gmail.com
5f980a17d083e1b814864f380dbbf7cc02bd67ab
8f5ec814d0e762eca4c89510d013cf29419fd79a
/Array/MatrixFunc.py
01f8a2edb6c41f367b3ba02c86ca0f4f9f01edfd
[]
no_license
anobhama/Intern-Pie-Infocomm-Pvt-Lmt
c7d468e22db5ed7ecbc3c1f96bca4c70026a0037
f9bcd56aa6a2357ea114409bce5539d5b2167ec2
refs/heads/master
2022-12-14T05:35:55.340536
2020-09-12T12:05:35
2020-09-12T12:05:35
288,008,652
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 11 10:51:09 2020 @author: Anobhama """ #finding everything using matrix function from numpy import * arr1=matrix('1 2 3;4 5 6;7 8 9') print("array",arr1) print("diagnol elements",diagonal(arr1)) print("min ele",arr1.min()) print("max ele",arr1.max())
[ "anobhama99@gmail.com" ]
anobhama99@gmail.com
5667f5fb93ebf01899a2310fcb15b866d6bb6914
edffecbf25549cab777f8942019b554d158069a2
/fake_baw/application.py
38f95d68b863546eaae50ff057bb63c4f3fcb89e
[ "MIT" ]
permissive
ONSdigital/spp-cognito-poc
60ddf152f251fba93b121ee17effcecc75a2f4be
374c493122660457025406699d5f49b205d16798
refs/heads/main
2023-03-21T10:13:18.689398
2021-03-05T10:21:05
2021-03-05T10:21:05
316,459,015
0
1
null
null
null
null
UTF-8
Python
false
false
362
py
import os from flask_script import Manager, Server from app.setup import create_app application = create_app() if __name__ == "__main__": manager = Manager(application) port = int(os.getenv("PORT", 5000)) host = str(os.getenv("HOST", "0.0.0.0")) manager.add_command("runserver", Server(threaded=True,...
[ "sam.bryant@armakuni.com" ]
sam.bryant@armakuni.com
a25f01e7631858fc478e261b7520b650d6c31d97
bb983b38f9be7b6fd4ab1a651484db37c1aeff39
/0731/test0_rgr.py
95584531d440dd5ebd5f206855b1ab3ac48dc128
[]
no_license
nakanishi-akitaka/python2018_backup
c214df78372cca993d69f8001010ec2f6dcaf1be
45766d3c3777de2a91b3e2cf50c6bfedca8627da
refs/heads/master
2023-02-18T08:04:28.625532
2022-06-07T01:02:53
2022-06-07T01:02:53
201,399,236
5
30
null
2023-02-10T21:06:51
2019-08-09T05:48:22
Jupyter Notebook
UTF-8
Python
false
false
2,126
py
# -*- coding: utf-8 -*- """ Example of Machine Learning - Regression Created on Tue Jul 31 11:43:52 2018 @author: Akitaka """ import numpy as np #import pandas as pd #import matplotlib.pyplot as plt from time import time from sklearn.datasets import make_regression from sklear...
[ "noreply@github.com" ]
nakanishi-akitaka.noreply@github.com
929129de37cebc9b012d52c2a50d4e4940a5393f
fb51525f9b79e2f65662999bcdf7849de77755e0
/bulletsshop/migrations/0007_auto_20180925_2243.py
aff5d9c7ec054247920b8078d7711185c6ed7995
[]
no_license
lampyjon/bullets-with-shop
20f2f39c2134c91d410fca44df70821160ebe071
faf8df9fcef31e95d868b00dbb26a6cc7b0edb53
refs/heads/master
2022-12-15T08:11:08.477874
2021-10-24T13:21:46
2021-10-24T13:21:46
149,658,602
0
0
null
2021-09-22T17:52:47
2018-09-20T19:17:48
HTML
UTF-8
Python
false
false
466
py
# Generated by Django 2.1.1 on 2018-09-25 21:43 import autoslug.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bulletsshop', '0006_orderitem_item_postage_required'), ] operations = [ migrations.AlterField( model_name='produc...
[ "24703763+lampyjon@users.noreply.github.com" ]
24703763+lampyjon@users.noreply.github.com
8de6ad274aef2eb567e1e97ba4557023952125e3
351c5c9f2447a401f27b33a0a3e848f176a3bd5c
/InteractiveDiagramInPython_Excel/Gant_Python.py
172178599c14b33bc39577c02a5d26f4f4dfd848
[]
no_license
Kupavtsev/Excel_Python
c5e79b8385ce0b8e100d49ff615b60e42fd36333
be4e9c883fff1b81765f3155140baf250f6b45d9
refs/heads/main
2023-02-06T01:12:01.606804
2020-12-22T19:45:35
2020-12-22T19:45:35
323,718,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
import plotly.express as px import plotly import pandas as pd import xlrd from openpyxl import Workbook import plotly.figure_factory as ff # Read Dataframe from Excel file # df = Workbook('task.xlsx') df = pd.read_excel('task.xlsx') # df = xlrd.open_workbook('task.xlsx') # Assign Columns to variables tasks = df['Ta...
[ "olegkupavtsev@gmail.com" ]
olegkupavtsev@gmail.com
6bcfe63b8425b4c57378a584822a4ec90bc1f1a1
45a6fa1b9f0d45876929a473e4e9fb5cebfc5dba
/P0/Task0.py
f29157c750eca6341b247960c4c9903802006c5c
[]
no_license
GaurangX/ads
08af74decacc94c8f6a82bde10c62c77c4ec9a4d
31b72cc06a54d685ff64337d617d1706c1182ff9
refs/heads/master
2020-05-19T16:24:24.840542
2019-05-11T04:22:31
2019-05-11T04:22:31
185,101,533
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
""" Read file into texts and calls. It's ok if you don't understand how to read files. """ import csv with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) with open('calls.csv', 'r') as f: reader = csv.reader(f) calls = list(reader) """ TASK 0: What is the first record of tex...
[ "gaurangupasani@gmail.com" ]
gaurangupasani@gmail.com
2005f7c19c5be2e27dfd388d74e157514403563a
374a5a7ff7db78d3f5742101e258456f8502bf90
/problem3.py
7dcb19ee37c9c86a8e9a04e6042bf1d45f27d3ef
[]
no_license
sujalgera01/Python
0e2ea06a006c503bb366a53b83bd4cfe934fecab
0fcef6b4c9f981ad969dbff22be9bc330e269a24
refs/heads/master
2022-11-29T06:49:26.628651
2020-08-02T16:37:43
2020-08-02T16:37:43
278,897,572
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# The provided code stub reads two integers, a and b, from STDIN. # Add logic to print two lines. The first line should contain the result of integer division, a // b. The second line should contain the result of float division, a / b. # No rounding or formatting is necessary. a = int(input("Enter first number: ")) ...
[ "sujalgera01@gmail.com" ]
sujalgera01@gmail.com
bf2e3895d6e0da26bcd46f055e823ff14abfe951
b05325add5b74dfc765c5bfdbac250eec0c611b7
/apps/retake/migrations/0002_quote.py
d28badd3eb786c1ca5cee66b095ae0d32c81b03c
[]
no_license
FlyEaglesFly37/PythonBeltExam
fc9e0de14ff7bebc62043e894e2c9eeae92ace86
e13f3d405e5130d151ae565d9e9cf65e323494ea
refs/heads/master
2020-03-21T14:54:10.203820
2018-06-26T04:18:01
2018-06-26T04:18:01
138,682,054
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-06-24 21:44 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('retake', '0001_initial'), ] operations = [ m...
[ "austinfowler@att.net" ]
austinfowler@att.net
c3e9402076d56db160deeaac397b4d9ffbf10499
bd0db287dd56a35a4c6d1fd85f349e4c2babfe86
/cms/migrations/0057_mark_topics_not_required.py
d3bd941aee344f0bd62110ee328a54f503e8479b
[ "BSD-3-Clause" ]
permissive
mitodl/mitxpro
17a9e0d1271a4d0e48734a8ed2334a15ff515f23
c5d9cda4e1ed87463da74d7956f1e1f9258f365c
refs/heads/master
2023-09-01T02:58:32.997584
2023-08-31T13:27:35
2023-08-31T13:27:35
171,727,968
12
5
BSD-3-Clause
2023-09-13T15:48:48
2019-02-20T18:33:28
Python
UTF-8
Python
false
false
1,006
py
# Generated by Django 3.2.18 on 2023-04-17 11:22 from django.db import migrations import modelcluster.fields class Migration(migrations.Migration): dependencies = [ ("courses", "0031_create_topics_sublevel"), ("cms", "0056_prepopulate_coursepage_topics"), ] operations = [ migrat...
[ "noreply@github.com" ]
mitodl.noreply@github.com
cff551c14dca2562caf85b6873a60f73e01d0a0a
7635c890ea7c044b3312740c2633d683bc755625
/init.py
796700f57a3a7e87f2d04c5a7ab189e51d351ebd
[]
no_license
DanielSc4/python-covid
ba1455d68b3d049b5f0559f63bf8fc06fd78b3f2
9d183b23d8cb40a143d5638cf2f0665cfec96675
refs/heads/master
2022-11-27T22:25:12.312887
2020-08-05T10:13:46
2020-08-05T10:13:46
284,332,184
1
0
null
null
null
null
UTF-8
Python
false
false
618
py
import pandas as pd from os import listdir def clean(dataframes): # drop delle righe con valori nulli (controlla dove la sigla della provincia è nulla) for i, df in enumerate(dataframes): dataframes[i] = df.dropna(subset = ["sigla_provincia"]) return dataframes def importa(path = "./data/"): # list of datafram...
[ "scalena99@gmail.com" ]
scalena99@gmail.com
4eb39b31b4b1e41238271ace538e5dfa63877b19
5faade7c8d091edb5e96d721ec33a9b240ee6e55
/mmdetection/configs/z_config_1/default_runtime.py
154c354849c6e162a6667a11ec3ecb75f00acbe1
[ "CC-BY-2.0", "Apache-2.0" ]
permissive
seogi98/object-detection-level2-cv-18
34bba5c6a9d49d506277d2ba10d01f3b59af3117
e87c741c4918314e28c461b937c7094d264fce56
refs/heads/main
2023-08-21T03:13:14.702929
2021-10-16T10:13:20
2021-10-16T10:13:20
425,447,040
3
0
null
2021-11-07T08:09:36
2021-11-07T09:09:36
null
UTF-8
Python
false
false
1,191
py
# Train에 영향을 미치지 않기에 default를 가져온다. checkpoint_config = dict(interval=1) # yapf:disable log_config = dict( interval=50, hooks=[ dict(type='TextLoggerHook'), dict( type='WandbLoggerHook', init_kwargs=dict( project='Han_T2260', name='Cascade_rcnn_r50...
[ "tmdgns1139@naver.com" ]
tmdgns1139@naver.com
d4e116f6e045b731275053323c5315ae6de49a9e
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/W_w_Mgt_to_Cx_Cy_focus_Z_ok/Sob_k05_s001_EroM_Mae_s001/pyr_Tcrop256_pad60_jit15/pyr_3s/L5/step10_a.py
ee3e41c353bdc4bab627800e5fb8b9fcb21b2f50
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
33,276
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
bba82a1c56963b2fcc381c9a3406bc4ffbf8b6f0
288899418083c0d475b8b0a718da6e1d85e74c79
/database_jdbc.py
a35bb9ce80ae01e2a104cfcf56c6ef9fd8a4b632
[]
no_license
yubozhou93/MARS
2eb08cf29739c5b76f6cadacd750d6be50d74e39
726c75eb0caa01a68cc26041f98cf58be151f3ea
refs/heads/master
2023-07-05T07:06:08.580050
2021-08-31T21:22:45
2021-08-31T21:22:45
400,593,106
0
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
import urllib.request import re import requests from bs4 import BeautifulSoup from distutils.filelist import findall #module pour détecter base de donnés en utilisant le mot-clé 'jdbc' def getPage(url): url+='/search?p={page}&q=jdbc' htmls=[] databases=[] page = urllib.request.urlopen(url) contents ...
[ "yubo.zhou93@gmail.com" ]
yubo.zhou93@gmail.com
7a201cd7346f35a52075ef423ad361c27af50aac
4c1ea0fa4d98bedbcf0000dd4ee64dc00e337999
/posts/urls.py
b37966563578e79d6fbbde8c394dbaeb41f0bd66
[]
no_license
masayuki1984/django_blog
2d00104588283848a6d0df77c490874fd59a51be
e58330f24a4cc7f4ed15652af399356601d4ec7f
refs/heads/master
2021-01-09T20:11:25.051340
2016-06-18T16:17:52
2016-06-18T16:17:52
60,910,945
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
from django.conf.urls import patterns, include, url urlpatterns = patterns('posts.views', url(r'^detail/(?P<id>.*)/', 'detail', name='detail'), url(r'^entry/$', 'add_entry', name='add_entry'), url(r'^edit/(?P<id>.*)/$', 'edit_entry', name='edit_entry'), url(r'^delete/(?P<id>.*)/$', 'delete_entry', name...
[ "xianx.heartbraker@me.com" ]
xianx.heartbraker@me.com
f79ed03832887639a5f62fdbda4f9f2eb7b8232e
feaa669df082c1dcde9374d149ff33e1799e3701
/Week_2/dictionaries_with_csv.py
da9002572caea44c0eec0c1bafbbb0c8a27cf0ee
[]
no_license
Chaitanyasuma/coursework_1
1a3c295ed517e3f0b49cc538ff9e46f33fe6df09
3c30c5ad12d52e9a08c785031b5dbc2a1de12f48
refs/heads/master
2022-12-21T07:37:38.941617
2020-09-24T18:43:02
2020-09-24T18:43:02
294,127,212
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
with open('filename') as sw: reader = csv.DictReader(sw) for row in reader: print(("{} has {} users").format(row["name"], row["users"])) # access columns like you access key values in a dictionary # to write with open('filename', 'w') as dept: writer = csv.DictWriter(filename, fieldnames = keys) writer.wri...
[ "chaitanyasuma@gmail.com" ]
chaitanyasuma@gmail.com
f1c567a79f5a8f11cb1b89f6df66c4ec7d07b356
c672543409250e1173237874354d79e62fec33b0
/_book/code/pycharm/mqtt.py
dc1e685c28a940e532b5779e52ab8c9531efc463
[]
no_license
lemonzlm/esp32lab
e39798b6701fde72ecd4e6ced7a8b380ca67c49b
d3f332b764f01f42dc028d9a31c161d528cd6711
refs/heads/master
2022-05-31T06:50:37.633438
2022-05-19T14:22:41
2022-05-19T14:22:41
184,508,700
2
1
null
2021-06-01T08:58:21
2019-05-02T02:13:21
HTML
UTF-8
Python
false
false
1,221
py
from umqtt.simple import MQTTClient from machine import Pin import machine import micropython #选择GPIO2引脚 pin2 = Pin(2, Pin.OUT, value=0) # MQTT服务器地址域名为:183.230.40.39,也可以填写Onenet永久域名,mqtt.heclouds.com SERVER = "183.230.40.39" #设备ID CLIENT_ID = "527521926" #随便起个名字 TOPIC = b'esp32_mqtt_basic_control' #产品ID username='24475...
[ "zlm.gd.cn@gmail.com" ]
zlm.gd.cn@gmail.com
9dd79f294de473620139c7085c1b7b5b5b76014d
9182c8b6a9ae5375258c848a66a8ffcf199ed0ba
/ex77.py
3f07b52b38dd62f2c319de05a778e123932f03fe
[]
no_license
LuisTavaresJr/cursoemvideo
d591b65ce3120e28ec61e0bcb5aab376eac80e63
ad247d50aaade8365aea32e98fb9fa8f77b1ab09
refs/heads/master
2021-05-20T09:35:06.616722
2020-04-01T16:26:54
2020-04-01T16:26:54
252,227,793
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
palavras = 'Aprender', 'Estudar', 'Programar', 'Python', 'Computador', 'Curso', 'Futuro' for i in palavras: print(f'\nNa palavra {i.upper()} temos as vogais: ', end='') for letra in i: if letra.lower() in 'aeiou': print(f'{letra}', end=' ')
[ "ltsj13@gmail.com" ]
ltsj13@gmail.com
48ec061023873dbfe2f39336a0a93f64c4dab278
5f5f03b1e62819f56951db2b4a1e38e08272e189
/rango/forms.py
9590ab79ab33567057515f775727b36b7a5b8eac
[]
no_license
justlewis334/tango_with_django_project
24202f43091089cd9645eeabc8a85b750be8adbf
0d9af5aea45e100ff5edf669cc84b4a90f6f7e60
refs/heads/main
2023-02-27T03:51:01.055928
2021-02-06T17:14:55
2021-02-06T17:14:55
329,876,229
0
0
null
null
null
null
UTF-8
Python
false
false
1,641
py
from django import forms from rango.models import Page, Category from django.contrib.auth.models import User from rango.models import UserProfile class CategoryForm(forms.ModelForm): name = forms.CharField(max_length=Category.NAME_MAX_LENGTH, help_text="Please enter category name.") views = forms.IntegerField(...
[ "2472305H@student.gla.ac.uk" ]
2472305H@student.gla.ac.uk
1e73d2a55a763a8d5cd0905d995818ba812c9c89
61a3fd9a45a15e80106096be041b6551f047b9bb
/t2u.py
d42299712ce54e3c876234e1ecefb2efdb43f9bc
[]
no_license
jacksonpan/t2u.me_alfred_workflows
6c381fb9340f8145680d5d871737b9fc5eee33c0
5ef1fdd16a778df341f5f8bfdd3f9155cc93323b
refs/heads/master
2016-09-15T16:30:08.099303
2014-02-26T14:17:46
2014-02-26T14:17:46
17,211,140
2
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
# -*- coding: utf-8 -*- #!/usr/bin/env python ############################ # # 推你 For Alfredworkflow # # __author__ = 'jack' ############################ __author__ = 'jack' import os import urllib,urllib2 from Feedback import Feedback import time import json import base64 import sys #中文乱码 reload(sys) sys.setdefau...
[ "ac861219@gmail.com" ]
ac861219@gmail.com
75ead60db9b7143f0a933fd20babeeca554cf1f4
2afcc518f89fde95c66650f02a3b3daa43771b3c
/six2.py
040a4f622c85a1819287894e6d6320e24cfa67d8
[]
no_license
em55/Python-exercises
2ff6519e18d35f5a20c5cc2b1d3c5ef65afaa8fb
e8461d39a86008ec9724fe6dd6c585acc654398c
refs/heads/master
2021-01-01T05:24:59.042011
2016-06-02T06:52:57
2016-06-02T06:52:57
59,732,758
1
0
null
2016-05-30T07:16:17
2016-05-26T08:18:19
Python
UTF-8
Python
false
false
290
py
import math def hypo(a,b): c = math.sqrt(a**2+b**2) return c side_a = int(raw_input("Enter the length of side a of the triangle: ")) side_b = int(raw_input("Enter the length of side b of the triangle: ")) print "The hypotenuse of the right triangle is of length:", hypo(side_a, side_b)
[ "blue.emailid@gmail.com" ]
blue.emailid@gmail.com
8f83aa760ca03d29443afe0b103fa74368d9ca10
07a4289acd2d2b309ca203d6ab32a3c835ec7085
/yabgp/message/attribute/linkstate/__init__.py
7e59a06abbbdb1d6893de584b59bddd9e9557238
[ "Apache-2.0" ]
permissive
claranet/yabgp
501453591d624c053759e9175d66930f58958ea4
c8f0c381579e8cdffc21efd090bc45d8df64d78b
refs/heads/master
2021-09-06T02:03:06.824401
2018-02-01T14:18:04
2018-02-01T14:18:04
115,940,969
0
1
Apache-2.0
2018-01-02T14:42:18
2018-01-01T19:14:39
Python
UTF-8
Python
false
false
1,375
py
# Copyright 2015-2017 Cisco Systems, Inc. # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
[ "xiaoquwl@gmail.com" ]
xiaoquwl@gmail.com
40398a4b4bf8a8942d561acfff934c9340c57565
eb076a312194cb3ec711e74e2c71f9a6328fcf1f
/Python/SHT30.py
fe360c9c1704c1b8f7b42dc8da0fb1a2fca2ff6b
[]
no_license
ControlEverythingCommunity/SHT30
425c6978c0d38f0a485e35dd73dd3417617c5e4b
63d3878cf2d27585b009eceb21d2a73dd33f9f0f
refs/heads/master
2020-12-24T07:26:09.365694
2016-10-27T10:52:47
2016-10-27T10:52:47
56,596,919
41
13
null
null
null
null
UTF-8
Python
false
false
1,132
py
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works. # SHT30 # This code is designed to work with the SHT30_I2CS I2C Mini Module available from ControlEverything.com. # https://www.controleverything.com/content/Humidity?sku=SHT3...
[ "ryker1990@gmail.com" ]
ryker1990@gmail.com
5aa91a02bc679617eb41a1889a24aebef0ebf75d
d583d57ebb0bfcd22e3660ca7265076d8eaa587c
/ConsturctorOverloading.py
a20f46de6901b2d7d5ee441251c89451014d10b9
[]
no_license
pravin-asp/Python-Learnings
59bc2ad021d170eac03187023aed3899f0b51525
e26c67b8c5396e88df801f7c826a7830e39f5cd2
refs/heads/master
2023-04-09T23:20:04.922036
2021-04-13T10:08:16
2021-04-13T10:08:16
347,560,715
1
0
null
null
null
null
UTF-8
Python
false
false
162
py
# Constructor Overloading class SuperMarket: def __init__(self, *content): print("Constructor Check") obj1 = SuperMarket(10, 20, 30) obj2 = SuperMarket(30)
[ "pravin.cs17@bitsathy.ac.in" ]
pravin.cs17@bitsathy.ac.in
d9e60274da1f050a325f045edd122466a46e59d3
94cb47388252a2f0d842175be281787b4b71ec8a
/day_4_tasks/module.py
2607fa03fd3c7fb4c5afd4fcb9584fcb28d5af7c
[]
no_license
sy07/PyDjango
2fc0f5ba25c56a39b6670d5a2192f1fd3335ba6d
e8431c74e80e785a2c07661e420966ab42d2bc70
refs/heads/main
2023-05-31T03:43:11.863622
2021-06-22T10:29:11
2021-06-22T10:29:11
371,368,140
0
1
null
2021-06-22T10:29:12
2021-05-27T12:37:48
Python
UTF-8
Python
false
false
52
py
import function_sum as sf s = sf.sum(3,4) print(s)
[ "soniyash0007@gmail.com" ]
soniyash0007@gmail.com
d019585be951583475c30b8b6576a5725093d7d6
4852a886951a6870a444c47931f7c75b8d224511
/5_exept.py
45b253cb83ab0c8ac215dbbadc936d659a823f0e
[]
no_license
Nesh911/LearnPython2
da22f6837bdf26d84472de290b69f1a03b803182
b40cbe8b45f9fb398bb441ad4549b5ca75fb294c
refs/heads/master
2021-04-27T00:40:43.547506
2018-02-23T18:32:52
2018-02-23T18:32:52
122,657,922
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
# Пример с перехватом ошибки def get_answer(): answer = {"привет": "И тебе привет!", "как дела": "Лучше всех", "пока": "Увидимся"} question = (input("Скажы что нибуть: ")).lower() try: assert question in answer print(answer[question]) except AssertionError: print("Чтото пошло не ...
[ "v.zagvoskin@rambler.ru" ]
v.zagvoskin@rambler.ru
7a47967f798e8cadb7928f7a2225bf1a82ecb8cc
920bdb18aabc0861335c22bb0254a1681d071a5b
/script_collect_post_links.py
eef8a6a9c7efff8ceffa49f24d5202594cfbee8b
[ "MIT" ]
permissive
nikhilsrajan/instagram-scraper
edc3fab0b918b5aaa6053682065080d5e730453a
b9d86dbfd8aa70bd2dc040d6d7059bb6541a65cc
refs/heads/master
2022-12-26T17:20:00.873131
2020-09-30T07:44:46
2020-09-30T07:44:46
295,559,195
0
0
null
null
null
null
UTF-8
Python
false
false
3,909
py
import config from script_base import ScriptBase import time class ScriptCollectPostlinks(ScriptBase): def __init__(self, target_username, post_links_file, account_info_file, username, password, SCROLL_DOWN_PIXE...
[ "nikhilsasirajan@gmail.com" ]
nikhilsasirajan@gmail.com
4e367dee3c154af727b9f80aa246c55c8a42fdf5
f21fe1aaf3e7b163cfe207771e8615ad29c5bc9c
/routing.py
b92cd491baace5e43bc43ff2cf571f89c9f76a67
[]
no_license
startryst/network-tools
0b6f03a65d7b8f118c579a02dd1fce2f297326d6
af33b9bc94b7c2e6c4e4599bcd3e83a95914ca5b
refs/heads/master
2021-01-12T02:49:23.424705
2017-01-08T13:32:11
2017-01-08T13:32:11
78,076,025
0
0
null
null
null
null
UTF-8
Python
false
false
2,827
py
#!/usr/bin/env python3 import urllib.request import subprocess def get_ip_list(url): raw_file = urllib.request.urlopen(url).read().decode() raw_list = raw_file.split('\n') ipv4_list = list(filter(lambda x: x[9:13] == 'ipv4', raw_list[:-1])) ipv4_cn_list = list(filter(lambda x: x[6:8] == 'CN', ipv4_li...
[ "9034785@qq.com" ]
9034785@qq.com
6f67dbde856ea13c9a7851efad6f68f13bb29098
89bce6bfe1c90a518ea01caaf63295af4031aea1
/classes/Logger.py
3bd1ff2929a2f26a4fe74c3f6cf863d2af271767
[]
no_license
Dtphelan1/genetic-sim-backend
3314bed26b7c89644a6a75abf085b0afe45f5adf
a624c1aa85d6915852c252007919fed88a808efc
refs/heads/master
2022-07-30T08:39:22.713572
2020-03-05T14:12:31
2020-03-05T14:12:31
243,607,191
1
0
null
2022-06-22T01:18:08
2020-02-27T20:11:08
Python
UTF-8
Python
false
false
461
py
import logging import logging.config # Set up logging # Create logger logger = logging.getLogger() logger.setLevel(logging.DEBUG) # Create handlers stream_handler = logging.StreamHandler() stream_handler.setLevel(logging.ERROR) # Create formatters basic_formatter = logging.Formatter("%(name)s - %(levelname)s - %(messa...
[ "dtphelan1@gmail.com" ]
dtphelan1@gmail.com
d7505af7b5b55e6ac8537ce441c881670d85044c
eec0f22e1e69556ca59b43e82cbee20313b4afea
/function/returnmul.py
b131af997a82cf4039f04d08864d5eb6617c8bee
[]
no_license
Abhisek-coder/python-project
b5c5176776afa38983817706a42b007818458b97
daa3a4dadf269e191b3cfb2aecb7248966fd9f3c
refs/heads/master
2023-02-18T08:23:59.633376
2021-01-07T12:56:42
2021-01-07T12:56:42
327,519,689
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
def multiple(a,b): a=a+b b=a*b c=a/b return a,b,c x=multiple(10,20)#if you have multiple return value and you have onlu put one value in actual argument then you have only tuple type data type print(x) x,y,z=multiple(10,20) print(x) print(y) print(z)
[ "chuinaabhisek121@gmail.com" ]
chuinaabhisek121@gmail.com
8410628be7866c04409909eae516535de93461f3
5f9c279b5b9531a7475bdafededcf4e707d8d1a6
/instance/config.py
d3ce1c0456a8c9eb890ff9a8300e870829ca7d09
[]
no_license
itsfunkie/hostel
76c499dd756b6c06351ca8076a854ddcb44d348b
15e11ea0855ff6db9bb876d7a2711e4215089d80
refs/heads/master
2023-08-04T01:39:54.575093
2021-09-16T13:01:22
2021-09-16T13:01:22
407,155,936
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
PASSWORD='1236' SQLALCHEMY_DATABASE_URI='mysql+mysqlconnector://root@localhost/hostelapp' SQLALCHEMY_TRACK_MODIFICATIONS = True SECRET_KEY='Hz_Vq0XyJUJ6rbo'
[ "itsfunkie@outlook.com" ]
itsfunkie@outlook.com
2c7f271ad8efd65d17eae6828ae8476149c79605
33a0d5ec6ca440986f22b010ffb310bf34c4fcac
/testing/planging.py
c151740e65400e657177ec307797d94c211d40cc
[]
no_license
zhaozongzhao/learngit
c3de619f07840839819ffee4bbacb590caba8dbe
a6471e6d63b298882ceed020cc3b56e457ed2ca0
refs/heads/master
2023-07-21T23:04:51.249300
2021-09-17T10:29:54
2021-09-17T10:29:54
100,707,131
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
def find(driver): driver.find_element_by_id('com.dentist.android:id/findBt').click()#进入发现界面 driver.find_element_by_name('舒适种植').click() plan(driver) def plan(driver): driver.find_element_by_name('方案管理').click() driver.find_element_by_id('com.dentist.android:id/titleRightTv').click() def user(driver):...
[ "2206321864@qq.com" ]
2206321864@qq.com
cbf7bb79936fc702b5bff912493232016e12c86a
4d547798e619238c13dc5cf7c82e7f7ff2451c1c
/DjangoSunucu/Proje/SunucuArayuz/asgi.py
30d4ac522ba0388fb2af7d945706d2e63e26aca0
[]
no_license
emogooo/Buyukbas-Android-IOS-Uygulamasinin-Sunucusu
c845224275dcdba712411a009725a90331360e3a
5daf911c597c5fe437cc7fb02720e4d3253f54f3
refs/heads/master
2022-12-08T03:08:43.938063
2020-09-04T12:24:24
2020-09-04T12:24:24
292,840,524
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" ASGI config for DatabaseProject 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJAN...
[ "58745898+emogooo@users.noreply.github.com" ]
58745898+emogooo@users.noreply.github.com
401de8d4f8cf0c276f83256c0e17f33aa13567d4
f5ca31c134aa1faf1156206352eaa8fe229d903b
/Hello1.py
582aaa69f6083651722507e07108fce74108a9bd
[]
no_license
SonamKul9527/PractiseQues
7b075b18366f7d3d027f3338c5ee1301a179161d
5ef55bfaf72a6262d72ecf55ce07e23826661fe4
refs/heads/master
2021-01-02T22:54:20.923725
2017-08-16T18:45:55
2017-08-16T18:45:55
99,417,345
1
0
null
null
null
null
UTF-8
Python
false
false
36
py
print "Hello World!!!" print "12458"
[ "kulsonam28@gmail.com" ]
kulsonam28@gmail.com
78a3e1c84be5b5274842e2db19d8f33737415fb1
efc1a4b1ef0aa6dacdcdf5b2291df27a7e105c24
/model_train.py
27bcdf959c296385b12eaa86cd69ce0f1754d2d1
[]
no_license
00arpit00/tf-idf-vectorizer
988dfc41a31a7575b1d9d1ec205ebef873098e41
1bcf380c2adb29e7be9eb5d43ff57630b23ec551
refs/heads/master
2021-07-02T18:13:47.538603
2017-09-25T18:36:21
2017-09-25T18:36:21
104,785,462
0
0
null
null
null
null
UTF-8
Python
false
false
2,335
py
#!usr/bin/env python # import sys, json from sklearn.feature_extraction.text import TfidfVectorizer import numpy as np import urllib2 import base64 import WordsAPI from pprint import pprint from random import randrange import random import requests import csv # word_site = "http://svnweb.freebsd.org/csrg/share/dict/w...
[ "noreply@github.com" ]
00arpit00.noreply@github.com
e36fb8ef2752321199360ace1b31f9703da159f4
fb2ba31068de059c1c67299ea9104435fc08061d
/reviews/migrations/0001_initial.py
9df7fe5aecb96fc3046bf337e47727953875c0fc
[]
no_license
bustabg/phones-shop
5a66d75ab0ec1a71ea63a799a5d817d5e5d51ed5
d2b5b3f7ff35468818a0f26ac54ca0bc73900d69
refs/heads/master
2020-05-18T17:06:32.299822
2019-05-24T19:22:42
2019-05-24T19:22:42
184,545,052
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
# Generated by Django 2.2.1 on 2019-05-05 13:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('phones', '0001_initial'), ('accounts', '0002_auto_20190505_1655'), ] operations = [ ...
[ "jovanotybg@gmail.com" ]
jovanotybg@gmail.com
5c9b46744b62891bd5a9b3e6d2df947126a9390e
b4d9f18d7488d7672a1001b7b4f64ae8120e11f0
/src/tm/migrations/0018_auto_20180415_0353.py
56eea29055552d34be57291af13d552ef53e1206
[]
no_license
AHAPX/loan-approver
24299ad63b79b741d4dfd4956c0fb38d348dd288
c9fec45450366cc0c62802e805850cf48e4122b8
refs/heads/master
2020-04-25T14:33:14.517333
2019-02-27T04:57:24
2019-02-27T04:57:24
172,845,778
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
# Generated by Django 2.0 on 2018-04-15 03:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tm', '0017_auto_20180415_0337'), ] operations = [ migrations.RenameField( model_name='setting', old_name='dti_ratio', ...
[ "durneviv@gmail.com" ]
durneviv@gmail.com
97409e17d857d0b60dc33339ad9a2fb28f207d74
8a82a83655f118208692e55d7804d9fa480ad4b6
/src/chinahadoop/python/ch03/main.py
9b01834305b81a07e2a774b633acab1162ba72bf
[]
no_license
xenron/sandbox-da-python
0814159da9a91923e4b66c5e40057e381f765e96
ab8f1c0d57fdc6006355f613012b84165068c315
refs/heads/master
2020-04-12T05:41:33.182110
2016-12-14T22:57:33
2016-12-14T22:57:33
60,324,979
5
2
null
null
null
null
UTF-8
Python
false
false
6,224
py
# -*- coding: utf-8 -*- ''' Created on Dec 2, 2016 @author: Bin Liang ''' import zipfile import os import pandas as pd import mpl_toolkits.basemap as bm import matplotlib.pyplot as plt import numpy as np from sqlite_tool import connect_sqlite, close_sqlite from proc_tool import get_age_for_football_players, get_overa...
[ "xenron@hotmail.com" ]
xenron@hotmail.com
e7164957d991685d6a5b3029aa6f62c29002e486
136a1bd501934b74576173d57cd498843560758e
/DjangoVue/lib/python3.7/warnings.py
7eabdbcf5a7e1f7a9669ddb743cd24dcc80d85a0
[]
no_license
Garavirod/Django_Vuejs_Project
cf08eb7c4df12c66db53fe0fd2757dce445b9029
17cf385ea8515a750f2e091760695467a7d434fd
refs/heads/master
2021-05-19T15:11:57.543409
2020-04-23T23:38:58
2020-04-23T23:38:58
251,836,248
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
/home/rodrigo/miniconda3/lib/python3.7/warnings.py
[ "rodrigogarciaavila26@gmail.com" ]
rodrigogarciaavila26@gmail.com
ae3fb68e88dee9e743d4cbee1bccddb0335ec4ca
8b7d34ef61ee9c9ac77825075900769f88cc34d0
/env/lib/python3.7/abc.py
f56353619a9c78d7ab3eacad112964bd6888a14d
[]
no_license
ExperienceNote/major
f580045d05bcc20cd47997e2180e7bc24376a748
13bbf8ec6b7a269e73ec980f8dc677fad62a3677
refs/heads/master
2022-12-02T04:14:06.912399
2019-04-15T17:54:37
2019-04-15T17:54:37
180,234,650
1
1
null
null
null
null
UTF-8
Python
false
false
56
py
/Users/uditmehra/ANACONDA/anaconda3/lib/python3.7/abc.py
[ "udit.mehra@knowlarity.com" ]
udit.mehra@knowlarity.com
db40596b153a188ad89118675c0283dd08452762
b0762ab1675e6d4be0800acc77e0c895fb4edda5
/Lesson3/EasyChat/each_server.py
9e58643e8f1879034d949ca2dd89a7b33a7afddb
[]
no_license
Solda-git/client-server
b9b2ae26194f0303807f2e918ccc2780b8801c43
351c14ac7aaf5785b42a2c3d926c06be4d9bd247
refs/heads/master
2023-01-11T07:38:05.094938
2020-11-04T14:33:07
2020-11-04T14:33:07
305,982,939
0
0
null
2020-11-07T11:56:49
2020-10-21T10:06:06
Python
UTF-8
Python
false
false
2,422
py
import json import sys from distutils import command from socket import SOCK_STREAM, AF_INET, socket from lib.routines import get_message, send_message from lib.settings import MAX_CONNECTIONS, COMMAND, TIMESTAMP, USER, ACCOUNT_NAME, ONLINE, DEFAULT_PORT, \ DEFAULT_IP_ADDRESS, RESPONSE, ERROR def parse_message(m...
[ "soldatovsl@mail.ru" ]
soldatovsl@mail.ru
0dcff45355773c11b002973c91cc2b5840108267
646e2bb10417f3e59349cd44dd98009398194904
/3sums.py
0f838eb97ecf7cbde6c7da39252ef1a340049025
[]
no_license
cpumichael/study
a86d79eba463f71e1c0be33d659a83849110cabc
e5bc14ef3815c94a39309594778f25a70fc96895
refs/heads/master
2022-12-05T17:56:33.018594
2020-08-18T12:46:04
2020-08-18T12:46:04
282,488,323
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
''' Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: The solution set must not contain duplicate triplets. Example: Given array nums = [-1, 0, 1, 2, -1, -4], A solution set is: [ [-1, 0, 1], ...
[ "CPU.Michael@gmail.com" ]
CPU.Michael@gmail.com
2c72f88faaa042948114da464f1a9ca0149c72c4
0eb2db6cb2ad1f3df636d5b449b162d514ad7bb4
/projects_project/urls.py
e18c6293f00ef9da74419fb61167ba5f9114d612
[ "MIT" ]
permissive
hieupc2020/profiles-rest-api
30e088747e94df74be75ae93a11a1a53cd38c4eb
4861eee1bc9a242379786e7d398acd5bb2ac7acd
refs/heads/master
2022-06-15T06:38:34.048067
2020-05-07T16:14:29
2020-05-07T16:14:29
261,703,625
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
"""projects_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') Cl...
[ "phamchihieu.hcmc@gmail.com" ]
phamchihieu.hcmc@gmail.com
3503a07faf60df0f1b713863c0fc38c26700a556
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/typeshed/stubs/setuptools/setuptools/glob.pyi
3da334debc0364d402111c3b4545876a94142fd8
[ "Apache-2.0", "MIT" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
121
pyi
def glob(pathname, recursive: bool = ...): ... def iglob(pathname, recursive: bool = ...): ... def escape(pathname): ...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
412facc899faa1ffe98c9bdbccc16a909f27bdd8
4ad61c1a7274a476101edff76a993f0fae64926c
/planeLineIntersection.py
32d097027376e803418ff346a95de890d05fa3a8
[]
no_license
ansko/Polygons
973d16e86233579171a0ece7bf8eb570cdeee8b5
3fbebede06586953d3cf104f094a901d2c66b8cf
refs/heads/master
2021-01-15T22:34:36.915924
2017-08-22T14:39:01
2017-08-22T14:39:01
99,901,868
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
def planeLineIntersection(pointOnPlane, normalOrigin, linePoint1, linePoint2): # from english wikipedia # (p - p0) * n = 0 - plane # p = d * l + l0 - line # d = (p0 - l0) * n / (l * n) # l * n = 0 -> (p0 - l0) * n = 0 - they are parallel # -> else line lays in the plane # else ther...
[ "skomorokhov@phystech.edu" ]
skomorokhov@phystech.edu
1a1ca035f7d97cfb06c09b7a64ce3a00f9c4c102
3c88e65e76d8a41fca5bc469eb99117b996711f2
/pgadmin_old/pgadmin4-1.2/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/tests/test_trigger_func_get.py
e99b5e4de727b2d501a8294f36a162e70d1d281a
[ "PostgreSQL" ]
permissive
luvres/alpine
85591b77f0dbc328d89e028c22ef1479be33ffbe
05dc3e77cc8c454143525fed79e38bc38fc390f7
refs/heads/master
2021-01-11T15:48:48.478244
2017-10-31T15:30:32
2017-10-31T15:30:32
79,933,463
1
0
null
null
null
null
UTF-8
Python
false
false
2,767
py
# ################################################################# # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2017, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # # ################################################################## import uuid from regression im...
[ "luvres@hotmail.com" ]
luvres@hotmail.com
6da9c349117708b256a6d668377fa4df0f2df0f9
09e0a997ecf517ee2053a1c1d6507c996ae13140
/baselines/common/console_util.py
2e73917374e4837b71ce35d72f418ec695f5c27e
[]
no_license
Lydia-Yahuhe/cdr_dqn_tensorflow
6825b51b6ac100dfb67197b3bd36fc383d71b1cc
35d31297fa385564a026fe6a41c1ae32915668e2
refs/heads/main
2023-08-27T15:15:47.343295
2021-11-08T01:46:18
2021-11-08T01:46:18
420,288,648
0
0
null
null
null
null
UTF-8
Python
false
false
2,217
py
from __future__ import print_function from contextlib import contextmanager import numpy as np import time import shlex import subprocess # ================================================================ # Misc # ================================================================ def fmt_row(width, row, header=False):...
[ "zhangkainone@hotmail.com" ]
zhangkainone@hotmail.com
1a45ad7f357e981569ec2e2455305e8d9623e61d
4b1d3c2920abe1c04fff563f031b49ea5a13f03c
/intersection_two_arrays.py
2ab6986bf1fd226b7ac81e4a7167706ee089a12f
[]
no_license
xiang525/my_leetcode
78b6cd1f0ad3657cfad064a545fcaa92d82f6772
c95e789d24ae9044e73acdba01a57c30b19ef9c1
refs/heads/master
2020-12-20T13:35:52.641313
2016-08-03T21:02:21
2016-08-03T21:02:21
55,735,484
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
class Solution(object): def intersection(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: List[int] """ nums1=set(nums1) nums2=set(nums2) return list(nums1&nums2) """ 此题解法很多 """ class Solution(object): def intersection(self, nums1, nums2): """ ...
[ "xiangzuo2012@gmail.com" ]
xiangzuo2012@gmail.com
560d21d10a43378132a7186df70e1b31b3f76971
a49e79d49819ea290ecce3f0329a7ff24f40e348
/LM_2015_02_3hr.py
f48ee192d3a26871c306cbfc24fccc2a4d24dff7
[]
no_license
sarawebb/prep_lightcurves
aa6fcffbae5b2a913771c13f1244270bbc388b3e
f9693d7c0567540ee730abaeaa502fc9fa63549d
refs/heads/master
2020-05-19T11:08:24.371905
2019-05-05T06:26:48
2019-05-05T06:26:48
184,984,548
0
0
null
null
null
null
UTF-8
Python
false
false
7,012
py
import numpy as np import matplotlib as mpl from astropy.table import Table, Column, join #mpl.use('Agg') import matplotlib.pyplot as plt from astropy import wcs from astropy.wcs import WCS from astropy.io import fits import sys import math import os import glob import sys from sortedcontainers import SortedDict impor...
[ "swebb@swin.edu.au" ]
swebb@swin.edu.au
9dc7211d46c7d14bbcea31b1eec107d573c38b33
09ef36e5091fe6b28740bbdf7231daccbe8e6f6d
/testSSH/testssh.py
ed6d177fded99729c7ac075a69b73c693356918b
[]
no_license
baiyang0223/python
59fee6762a57630e48e077dca47a6607778d7628
95ff2bdffefe9bba36f17dd492b94ed9889d816c
refs/heads/master
2020-04-02T17:06:16.780375
2020-03-05T06:51:44
2020-03-05T06:51:44
154,643,881
0
0
null
null
null
null
UTF-8
Python
false
false
3,351
py
#!/usr/bin/python3 # -*- encoding: utf-8 -*- ''' @File : testssh.py @Time : 2018/11/24 09:41:16 @Author : BaiYang @Version : 1.0 @Contact : yang01.bai@horizon.ai @License : (C)Copyright 2017-2018, Liugroup-NLPR-CASIA @Desc : Test ssh and scp using python ''' import paramiko import os,time,sys...
[ "yang01.bai@hobot.cc" ]
yang01.bai@hobot.cc
1553c757872d58f9fd374340e5105e405c2a69f7
dbf311d3ff02178ab1d6e6f507210881ca400357
/kirkifier/forms.py
b2881df11c60410b3c97816d6b3f059372d1d7c9
[]
no_license
mihirk/kirkifier
e94f0f6cad61cb33b04e45c663773ed97dcaae0f
0a2e7c0146afb97121cbdfc45a757d05e6dd5983
refs/heads/master
2021-01-19T10:20:15.381532
2013-12-27T18:14:50
2013-12-27T18:14:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
from django import forms class UploadImage(forms.Form): file = forms.ImageField()
[ "mihir.khatwani@gmail.com" ]
mihir.khatwani@gmail.com
31768c05e1f2583abfbaff1e5f33e9731c7b8005
ade9295f2f30c0eb010f7b741f07c90ba8ef1206
/Titanic_survival_analysis/决策树_titanic存活预测数据集.py
ebce8170545b43cb28fc2507d2dee9ab23eb0ff8
[]
no_license
zx000ppze000/Machine-Learning
6b0b9980c23fbdb2868e3bf97059f2e72e27f695
2536c2d47322e111e9d8ff497bcb9fddb65fa55b
refs/heads/master
2020-08-04T01:51:24.407956
2019-09-30T21:26:54
2019-09-30T21:26:54
211,960,685
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 22 15:54:16 2019 @author: zhangx """ import pandas as pd from sklearn.model_selection import train_test_split from sklearn.feature_extraction import DictVectorizer from sklearn.tree import DecisionTreeClassifier, export_graphviz def decisiontree(): ''' 决策树对坦坦尼克号生...
[ "xzha447@uwo.ca" ]
xzha447@uwo.ca