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
208e0c3629cefe2c406cecbcf1ccfcca3d306438
a1c21b0c1b0e074060005c0714a69b4f983a237e
/TestPro/TestPro/urls.py
018ae5eedca4a315e69f184f22637156fd34a88c
[]
no_license
Jzarecta/Django3
e2d7f830060634e9035e72d525d93cb505824c90
3277d4e1831122a5cceb6767199fff7bfa0bf0a1
refs/heads/master
2020-12-03T20:21:54.637165
2020-01-04T00:13:25
2020-01-04T00:13:25
231,473,530
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
"""TestPro URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "jza@bitcuners.org" ]
jza@bitcuners.org
23aa400084b7cbdf2c7d215796fe0d309501e22f
f30464842a6698ab9a61c05029b0cd246bed8829
/env/lib/python3.5/sre_compile.py
3e0d51477ddd328ec46aecebeba518bac711f6ad
[]
no_license
chrispdharman/unbroken-symmetry
e80ba1c02fce3b2c37a8450aeb28a089291cf925
e9a2d3e95f63b76d17bc065588e992abd8ffc3cb
refs/heads/master
2021-06-25T10:12:17.584167
2018-09-12T22:24:11
2018-09-12T22:24:11
145,339,589
0
1
null
null
null
null
UTF-8
Python
false
false
52
py
/Users/ch392/miniconda3/lib/python3.5/sre_compile.py
[ "christopher.p.d.harman@gmail.com" ]
christopher.p.d.harman@gmail.com
f78ec480786556e08f9a2cddea0271a0013e24e1
9ff1d0d5049dfe1c14528e098bdd8c934fb2274a
/tests/test3/test_port7_unittest.py
6465c5d08297ccf489943439d23ab7e7aca49cfa
[]
no_license
486dx/utility_Python
43e06b3f74dac140396643d0e5c132fb874d2467
598117f7e9fd416f4bc7f1ccea931048a977a0bc
refs/heads/master
2022-04-23T06:36:36.220406
2020-04-06T08:59:35
2020-04-06T08:59:35
264,519,552
1
0
null
2020-05-16T20:17:30
2020-05-16T20:17:30
null
UTF-8
Python
false
false
1,690
py
# test_port7_unittest.py import unittest from portfolio3 import Portfolio class PortfolioTest(unittest.TestCase): def test_empty(self): p = Portfolio() self.assertEqual(p.cost(), 0.0) def test_buy_one_stock(self): p = Portfolio() p.buy("IBM", 100, 176.48) self.assertEq...
[ "f339339@gmail.com" ]
f339339@gmail.com
8cdd5f52e919892a5acf7fabc7f846d69d487956
5491f4b600f7ecd1d0848d60d7b017e5e407d4c7
/inventario/migrations/0005_ventamodel.py
79ad0c9268a28f2a5951adb94199d7fd065bfa48
[]
no_license
GustavoPMex/web-inventario
409456dd356bbfcadd735cc9b8e2aae7605a0e37
d0ac36ee791ff0262f9390497da1dd990581a4fd
refs/heads/master
2023-06-10T10:08:39.029666
2021-06-30T23:40:19
2021-06-30T23:40:19
296,677,352
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
# Generated by Django 3.0.8 on 2020-09-29 03:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventario', '0004_historicalarticulomodel'), ] operations = [ migrations.CreateModel( name='VentaModel', fields=[ ...
[ "gustavoppymex@gmail.com" ]
gustavoppymex@gmail.com
fa804a7ddde1f1ff2df71b0e7b4718e2bb101e06
7316069d259c7a2338ae1891bdbba6e46486b823
/table_tree/DataLocation.py
d94cccd15896aeec68dd27161cd7cf14943ec610
[]
no_license
GuoXi722/PyQtPractice
07dbb77d36776d2e0e96a6aa69aeb5da8f58571d
40ded82c2dc70864763e5e93dd0b2da57cb8dd18
refs/heads/master
2021-01-08T20:21:49.450035
2020-02-27T02:23:02
2020-02-27T02:23:02
242,132,335
0
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
import sys from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * class DataLocation(QWidget): def __init__(self): super(DataLocation, self).__init__() self.initUi() def initUi(self): self.setWindowTitle('在表格中查找指定数据') self.resize(600, 800) ...
[ "asaf227@126.com" ]
asaf227@126.com
7fbf7aa3784e3013167159849a122f698bad690e
1eb98e1605507f7ca400f4b90d37b6124d00abc3
/tensorflow/lib/python2.7/posixpath.py
7d8a72347346a9bb112262497587f777180aaf82
[]
no_license
arcoyk/ml
4519c4ef95bb207feb642a4201bb00f035d25d0a
9b67d799552ea854f248af311918fb30aca8d48a
refs/heads/master
2022-10-21T22:15:34.967709
2017-08-25T15:29:32
2017-08-25T15:29:32
84,820,976
1
1
null
2022-10-12T18:44:02
2017-03-13T11:53:52
Python
UTF-8
Python
false
false
57
py
/Users/yui/.pyenv/versions/2.7/lib/python2.7/posixpath.py
[ "yui@racoon.local" ]
yui@racoon.local
8bc82afe016dc0fdb0425e76358408b54d303f0f
8e3b43774810ed73ee4797ebc8c09906359b236d
/finalnet.py
3274130d46203b579c15b4a8455343268e231eb2
[]
no_license
459548764/Myself-Machine-Learning
0fa9603b156beac810b18c0706d3e7b97e32642b
31aa2d919443fef6d04d9d2b6545092046f7cfff
refs/heads/master
2023-08-17T00:55:04.703546
2023-08-07T02:30:18
2023-08-07T02:30:18
144,861,866
8
2
null
null
null
null
UTF-8
Python
false
false
5,650
py
import numpy as np import random class MultiNetwork(): def __init__(self, layer_dims): self.parameter = {} L = len(layer_dims) for i in range(1,L): self.parameter['W'+str(i)] = np.random.rand(layer_dims[i-1], ...
[ "noreply@github.com" ]
459548764.noreply@github.com
d6bb9fecfdd54bc0099de28046aacffa170065d6
40456139d3d3dafdf5331ff3d5a6e1ce7b1c6421
/image_normalizer.py
bc85788aa4ef132dc925d686fd976173c05be284
[]
no_license
nacro90/age-gender
5a06f6374f8f31f199dfd0c290656c8bd8f52753
491fa10754001fc20d1ffe9694819cfb67591646
refs/heads/master
2020-03-19T20:04:26.161270
2018-06-11T07:01:13
2018-06-11T07:01:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
import os from PIL import Image DATASET_PATH = os.curdir + os.sep + 'data' + os.sep + 'Adience' IMAGE_FOLDER = os.sep + 'faces' ANNOTATION_FOLDER = os.sep + 'annotations' JSON_FOLDER = os.sep + 'set' def main(): path = DATASET_PATH + IMAGE_FOLDER directories = os.listdir(DATASET_PATH + IMAGE_FOLDER) ...
[ "orcan.tiryakioglu@gmail.com" ]
orcan.tiryakioglu@gmail.com
352ab7a70416903b7c6a9aed0e6bb43d1fe798ae
793fd49d1f4d0f5c21c071e3ca8c32e663774241
/common/login.py
01a80c9e9892beedab07908e42bf2351a226d01f
[]
no_license
luoqingfu/eliteu_live_auto
ab4797fe76a9265f1b505295c630a94109b73d42
440d529c5bc00322e9353e4eef8e090220c56fcd
refs/heads/master
2020-03-10T00:01:37.414258
2018-04-25T08:25:00
2018-04-25T08:25:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
import unittest as unittest from common.drive import Driver from page_obj.base import Page from readYaml import yl class tes_login(): #browser = yl['t_ed_student']['browser'] #url = yl['t_ed_student']['url'] def t_login(self,url,browser): self.driver = Driver(self.brower).open_browser(self.url) ...
[ "qf.luo@eliteu.com.cn" ]
qf.luo@eliteu.com.cn
c5c570c5d072a814ff270e276deaef84ad277e35
56255c15702f4f4a01b7f785f956cee7290d0097
/segmentation_pytorch/utils/train.py
ef5089b869ed248028f04a015305e45cdec34d74
[]
no_license
devhliu/PyTorch_UNOdeMSegNet
d2561606aac34ace4664c48bc000d4c4a915699a
3a446ca71ddd74e612bf2c2acc43e7b210366e5b
refs/heads/master
2020-12-24T04:41:23.674029
2019-11-13T08:07:40
2019-11-13T08:07:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,142
py
import sys import torch import pdb from tqdm import tqdm as tqdm from torchnet.meter import AverageValueMeter # from ..models.CRF import dense_crf class Epoch: def __init__(self, model, loss, metrics, stage_name, device='cpu', verbose=True): self.model = model self.loss = loss self.metrics = metrics self.st...
[ "maverickers@outlook.com" ]
maverickers@outlook.com
415094acc513de4473c05da95d87fe6a98ca7811
e940f34521c1e15f4134e28584403abd1d2b048d
/intro_to_ml.py
354af8a5398070a6a94369eb989505d34291f619
[]
no_license
abdurehman12/Intro-To-ML
eaf8032ac510c6ba902bba759a6466638ee25492
5d8fddccc5ba38348b5effb5e3982485783d9f80
refs/heads/main
2023-08-02T07:19:55.583491
2021-10-06T16:25:12
2021-10-06T16:25:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,330
py
# -*- coding: utf-8 -*- """Intro to ML.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1yHZysp6_Ii9SLgZhrxgXmdAf8KODHVOx """ import pandas as pd import numpy as np # save filepath to variable for easier access melbourne_file_path = 'melb_data.cs...
[ "noreply@github.com" ]
abdurehman12.noreply@github.com
0ae646e5fd55b65b3f924b29c97b5843b2eca062
bd1362c60313784c90013dfc9f0169e64389bf27
/scripts/ingestors/soilm_ingest.py
a3a1ef7cc473f3149593d222b9f47ed4891c86b8
[]
no_license
ForceCry/iem
391aa9daf796591909cb9d4e60e27375adfb0eab
4b0390d89e6570b99ca83a5fa9b042226e17c1ad
refs/heads/master
2020-12-24T19:04:55.517409
2013-04-09T14:25:36
2013-04-09T14:25:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,725
py
""" Ingest ISU SOILM data! DailySI "TIMESTAMP", "RECORD", "TAir_C_Avg", "TAir_C_Max", "TAir_C_TMx", "TAir_C_Min", "TAir_C_TMn", "SlrMJ_Tot", "Rain_mm_Tot", "WS_mps_S_WVT", "WindDir_D1_WVT", "WindDir_SD1_WVT", "WS_mps_Max", "WS_mps_TMx", "DailyET", "TSoil_C_Avg", "VWC_12_Avg", "VWC_24_Avg", "VWC_5...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
2723e040a2d91c56676e7645fc79b32a8370686e
9a5561080b694e96c642e990e1748162cfb6a414
/Management/migrations/0001_initial.py
1334c797b3d0ed5f225cd1ce01e3342bdcab0205
[]
no_license
ArlexDu/Training_Management
a81c969e83777c4edf309e4ff39787f9c52ccb9f
f5c14f30fe82b782b7099d152545e30b6f99cc61
refs/heads/master
2020-12-30T13:39:45.696249
2018-10-20T12:17:57
2018-10-20T12:17:57
91,239,784
0
2
null
2018-10-20T12:17:58
2017-05-14T11:48:16
JavaScript
UTF-8
Python
false
false
5,290
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-05-17 10:46 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "772773671@qq.com" ]
772773671@qq.com
466772bee855a4726cd8e6ab814468db6d9c6284
12d9e5a5ea19674bf436298e3cf69fb0b19b18e1
/problem1.py
5c9a827eedd671df51d0005fad68750dcc7dbe21
[]
no_license
sk4201/summer19py
e0f469523530b4f6e574a4fa2faa03bf19849e34
ff244e596a599bf4936545ecee4efd2359b0224b
refs/heads/master
2020-05-31T06:47:35.741916
2019-06-27T15:50:54
2019-06-27T15:50:54
190,149,232
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
#Create a program that asks the user to enter their name and their age. #Print out a message that will tell them the year that they will turn 95 years old import datetime name=input("Enter Your Name :") age=int(input("Enter your age :")) now = datetime.datetime.now() print(name," in the age of 95 year wiil be ",(95-a...
[ "16tec2cs024@vgu.ac.in" ]
16tec2cs024@vgu.ac.in
2470fdcf5635d5d8d83f280e1f1672e706801756
f3a7ca57c3027c3ab40dc006126a71f151804d73
/09_valor_mais_proximo_media.py
d167a1d2dafabb836533f4576ec283abf8c4fd57
[]
no_license
evaldojr100/Python_Lista_4
9ff87df3fcb140bcfeffd59842a76a2b58e26bee
d5fa499d3ada2e20fbb5319928a8239d9784b366
refs/heads/master
2020-04-08T17:44:47.980772
2018-11-28T23:38:55
2018-11-28T23:38:55
159,579,558
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# print(int)+(min({abs(int(sum([2.5,7.5,10.0,4.0])/len([2.5,7.5,10.0,4.0]))-i) for i in [2.5,7.5,10.0,4.0]}))) '''lista,lista2=[2.5,7.5,10,4.0],[] {lista2.append(abs(i-6.0)) for i in lista} print(lista[lista2.index(min(lista2))])''' print(min({abs(i-(sum([2.5,7.5,10.0,4.0])/len([2.5,7.5,10.0,])))if 6.0<i else abs(i...
[ "evaldojr_melo@hotmail.com" ]
evaldojr_melo@hotmail.com
4b17c8063afbada079d284069ca1e1b3efd90dec
971752c0a0d7aa3f6ca224be041ff100ea96ae29
/client/app/dialognlu/models/joint_trans_bert.py
845f499b93d58ab0a283d0fb221a14ee185af2a0
[]
no_license
zalkikar/DB-Final
6aec7653a2a7a24d948d06e487d146b84e226360
a297caadc1c5af84ad430461bf6dfeb9ea52e74a
refs/heads/main
2023-07-26T12:00:53.096585
2021-09-01T22:02:26
2021-09-01T22:02:26
395,816,499
0
1
null
null
null
null
UTF-8
Python
false
false
2,212
py
# -*- coding: utf-8 -*- """ @author: mwahdan """ import tensorflow as tf from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Dense, Multiply, TimeDistributed from .base_joint_trans import BaseJointTransformerModel, TfliteBaseJointTransformerModel, TfliteBaseJointTransformer4inp...
[ "rayzck9@gmail.com" ]
rayzck9@gmail.com
2d17ce5376464fc9f2183a4be5ae61524b710fba
6544d441fd25b63acdc9a18e0299db37daf45d3b
/tests/cli/test_create.py
8b226997665595e963c5d927a28d0d6cadc4819f
[ "BSD-3-Clause" ]
permissive
benyanke/zedenv
88c32c4d32f144bcc5c3896fa7f25255f0620250
ca91d05fe74357b786b1a013f18351658e2a4a51
refs/heads/master
2020-03-22T21:07:50.090697
2018-07-04T20:50:44
2018-07-04T20:50:44
140,659,388
0
0
BSD-3-Clause
2018-07-12T04:06:21
2018-07-12T04:06:21
null
UTF-8
Python
false
false
1,251
py
"""Test zedenv create command""" import datetime import pytest import pyzfscmds.utility as zfs_utility import zedenv.cli.create import zedenv.lib.check require_root_dataset = pytest.mark.require_root_dataset @require_root_dataset def test_boot_environment_created(root_dataset): parent_dataset = zfs_utility.da...
[ "johnramsden@riseup.net" ]
johnramsden@riseup.net
a27df39f6759523f35257c05c958641d535518dc
adcdc01294ef1563f063b26c4513825879d34262
/koala/koala_server/app/api_1_0/api_project.py
646bbeea5a100c2539ece28cad23593c043978ca
[]
no_license
clearloveyin/Cararote
0312d18061fd6b23e72450d956ff2a4f07deb31a
2d764d5d682391a8909650387e84eb735044c5ff
refs/heads/master
2023-01-29T07:08:32.696111
2019-08-03T04:12:15
2019-08-03T04:12:15
200,329,856
0
0
null
2023-01-04T06:14:17
2019-08-03T04:07:49
Python
UTF-8
Python
false
false
4,914
py
# -*- coding: UTF-8 -*- import os from app.ctrl.ctrl_project import CtrlProject from flask_restful import Resource, request from token_manage import auth class ApiProjectState(Resource): @auth.login_required def get(self): result = {"result": "OK", "content": []} res = CtrlProject().get_proj_s...
[ "1484091708@qq,com" ]
1484091708@qq,com
e4dbd79b218b3d5d6eb4ae027687f1eca532636a
f5a2f3a693fcb374d42de267c0b87c3632d037f5
/Neumann-Final/Final2.py
0fc211287dbd54c38576e050172aeafd7fcc10ef
[]
no_license
RyanNeumann/Artificial_Intelligence
3b0cb9be103ce5f95199c4fe2548f9a5e146335e
fea967793f7baad1f47d06c8b0d16c48dc8c12a8
refs/heads/master
2021-03-22T03:31:32.887340
2016-12-13T21:21:57
2016-12-13T21:21:57
67,057,609
0
0
null
null
null
null
UTF-8
Python
false
false
2,374
py
import finalGetDigits import numpy as np import matplotlib.pyplot as plt from sklearn.svm import SVR from sklearn.model_selection import KFold # get digits data X (training input) and y (target output) X, y, X_te, y_te = finalGetDigits.getDataSet() #penC <- Penalty parameter C of the error term #tubEpsilon <- the e...
[ "Ryan.Neumann1@marist.edu" ]
Ryan.Neumann1@marist.edu
89a6df9618831d99282c5edf2d9c150519e4502c
0978f8e704196f94fce1768e5b0b1ed55b1fe027
/上課用_打地鼠.py
427d7a015534e28603c6974f4a3dfb1c8c247e63
[]
no_license
KaiCheng026/test
61dbd04b5eb6ae67d9886c9e26dc60bc0a63587f
c10111eda44fce31dfc23233a264e1456e0eb52a
refs/heads/main
2023-07-03T07:38:36.410746
2021-08-09T10:00:48
2021-08-09T10:00:48
394,238,081
0
0
null
null
null
null
UTF-8
Python
false
false
10,755
py
""" 引入我們會需要用到的程式庫 """ import pygame import time from random import randint """ 決定視窗大小及我們會常常用到的顏色 這樣的好處是以後我們如果要改主題顏色或視窗大小,只要對應去改這邊的資料就好 """ # 螢幕尺寸 SCREEN_WIDTH = 400 # 寬 SCREEN_HEIGHT = 400 # 長 # 顏色 GREEN = (73, 188, 11) YELLOW = (225, 225, 0) WHITE = (255, 255, 255) """ 觀察我們會需要知道的資訊 首先是老鼠會出現在某個 (x,y) 座標上(一次一隻) ...
[ "l6756071@gmail.com" ]
l6756071@gmail.com
de8f1e1f2f085838464375d1849719293a936020
0af30c2e3ddcc80a19ea9cfaad9d7e1fedf8b876
/210311-210314/백)2579 계단 오르기/이동재.py
b27bbc2081db13195ca37f930e92c97bac44a0d8
[]
no_license
winterash2/algorithm_study_2021_1
d1cd6077f71f68e7fc3eb6dfae7b2cc220885e4c
c1fee62c7e5e560c3bf7ae5e6166866d0147f23f
refs/heads/master
2023-04-02T20:11:04.169856
2021-04-05T11:18:22
2021-04-05T11:18:22
327,563,535
1
2
null
2021-01-24T14:17:40
2021-01-07T09:28:08
Python
UTF-8
Python
false
false
512
py
import sys input = sys.stdin.readline N = int(input()) scores = [] for _ in range(N): scores.append(int(input())) dp1 = [0 for _ in range(N)] dp2 = [0 for _ in range(N)] # 0번 칸 초기화 dp1[0] = scores[0] if N == 1: print(scores[0]) else: # N이 2보다 클 때 # 2번 칸 초기화 dp1[1] = scores[1] dp2[1] = scores[1] ...
[ "winterash2@naver.com" ]
winterash2@naver.com
d1e598832c836550b9a4467d770645ca5e081867
63ccd06dc73ae23018138979d6631554c7160794
/experiments/sl-fmri-expt/four_tasks_fmri/vsl_fmri/misc_vsl/sequence_gen.py
af7806099088bc0d6db73ee9712a3ba0f96ca41f
[]
no_license
zhenghanQ/qlab
d82b318a8c10d9a4d3ab144d029ed20ac83060c7
aaf7dd591b77b9e611366f2bacefd2b613644c83
refs/heads/master
2021-06-01T17:38:51.634923
2021-03-23T01:15:44
2021-03-23T01:15:44
128,655,996
1
0
null
2018-04-08T15:37:37
2018-04-08T15:37:36
null
UTF-8
Python
false
false
3,440
py
# -*- coding: utf-8 -*- """ Created on Thu Jan 28 16:10:26 2016 @author: ysa """ import random import itertools import pandas as pd perm_list_1 = list(itertools.permutations(['Alien1.BMP', 'Alien2.BMP', 'Alien3.BMP'])) perm_list_2 = list(itertools.permutations(['Alien4.BMP', 'Alien5.BMP', 'Alien6.BMP'])) perm_list_3...
[ "qlab.udel@gmail.com" ]
qlab.udel@gmail.com
10ba71386623c722c7ac6066f207879aca699a08
4ce466c9362ff7bce0de3ef64e4db3c802333cf6
/Pandas/tut5.py
3d2d586281d4719bdc5fa9628dbab3b5f049c5d0
[]
no_license
anandmooga/Sentdex_Tutorials
4e57efef4d9e54dedd2f5ecf39a64dbcb9a0d561
ada9cc520f9f7ef20ea26efc087ca7def0ce66f5
refs/heads/master
2021-09-01T06:23:23.863189
2017-12-25T15:12:39
2017-12-25T15:12:39
114,860,228
0
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
import pandas as pd import quandl import pickle api_key = open('Quandl_api.txt' , 'r').read() def state_list(): fiddy_states = pd.read_html('https://simple.wikipedia.org/wiki/List_of_U.S._states') return fiddy_states[0][0][1:] def grab_initial_state_data(): states = state_list() main_df = pd.D...
[ "anandmooga2@gmail.com" ]
anandmooga2@gmail.com
af3c13b0b6d71fc197d85e36c8e32fa818a832f2
b72c37e3ccda507b231649cddd5c7845c6c34ba1
/PythonBasic/Day15/exec5_enumate.py
bcde4f16b170aa836494556ff4f435dfe5176b43
[]
no_license
ljrdemail/AID1810
51c61c255b5c5efc1dc642b46691a614daedd85e
b417bd831bc1550ab953ce7ca23f54e34b8b2692
refs/heads/master
2020-04-24T09:45:14.781612
2019-02-21T11:26:49
2019-02-21T11:26:49
171,866,267
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
# -*- coding:utf-8 -*- def myenumerate(iterable, start=0): i = start # 开始索引 for x in iterable: yield (i, x) # 生成一个元组 i += 1 d = myenumerate("ABCDE", 1) for i in d: print(i)
[ "root" ]
root
b75e7fe13bef3cee081fe2bc1532d67b72acfef2
54dca65b775a41b764afc34f1e8d9e310775985a
/catfood/experiment/experiment_case_views.py
a053536d437189634834c5df8a9512202861fdf4
[]
no_license
Nntraveler/backend
9a5e31b3b168701bf93b2006e83f16e95300cf1d
a3011d7e9f8caeb17340eaa85366b06dcede48af
refs/heads/main
2023-04-16T16:09:02.827497
2021-04-24T13:49:03
2021-04-24T13:49:03
359,298,942
0
0
null
2021-04-19T01:57:55
2021-04-19T01:57:55
null
UTF-8
Python
false
false
8,166
py
from django.shortcuts import render from rest_framework.response import Response from rest_framework.views import APIView from rest_framework.decorators import action from rest_framework import status from rest_framework.decorators import api_view, permission_classes, authentication_classes from course_database.models...
[ "noreply@github.com" ]
Nntraveler.noreply@github.com
184ebeb33592af81e788e14c06df93a03090abd8
5f27bc1a0460a078f6fe33a544f494a5dff7f452
/script/old/O_0703_arm_move_jaco.py
1fa6247e4c4c661ef79584d37b0acde343aed2be
[]
no_license
A-Why-not-fork-repositories-Good-Luck/arm_move
3e381f0310265f47da14beaac136c358fb318f92
e2e6182cfd93df1935bd3b8e9158134964dc44fa
refs/heads/master
2023-03-15T18:37:17.337770
2020-11-18T06:46:06
2020-11-18T06:46:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,159
py
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2013, SRI International # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code ...
[ "welovehun91@gmail.com" ]
welovehun91@gmail.com
64b1ff60158655b97b826b8467eb04fc9536b67f
c264153f9188d3af187905d846fa20296a0af85d
/Python/Python3网络爬虫开发实战/《Python3网络爬虫开发实战》随书源代码/urllib/error/demo3.py
6928b02a18d8a9762b9a281c84c97d5aa162f9c4
[]
no_license
IS-OSCAR-YU/ebooks
5cd3c1089a221759793524df647e231a582b19ba
b125204c4fe69b9ca9ff774c7bc166d3cb2a875b
refs/heads/master
2023-05-23T02:46:58.718636
2021-06-16T12:15:13
2021-06-16T12:15:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from urllib import request, error try: response = request.urlopen('http://cuiqingcai.com/index.htm') except error.HTTPError as e: print(e.reason, e.code, e.headers, sep='\n') except error.URLError as e: print(e.reason) else: print('Request Successfully')
[ "jiangzhangha@163.com" ]
jiangzhangha@163.com
4c8146e1c0684bc70d7cd760d1508a41e90c6e68
97e0fe6c7f870e9c4ac2769f37beebc10fba91d5
/start_processing_manager.py
44188138edde753ebf68048c40fc7849a98648cf
[]
no_license
MadisonMHillyard/ecse414_lab
e31e8641ad788e218fdac1651ae3094aa4b33454
290c1eee43e3a970a63fffb58c6c028aa6cdcedb
refs/heads/main
2023-05-01T11:48:26.490379
2021-05-16T03:18:44
2021-05-16T03:18:44
362,198,345
1
0
null
2021-05-15T21:09:48
2021-04-27T17:35:40
Python
UTF-8
Python
false
false
4,317
py
import sys import os import logging from src.common import log_util import json from pathlib import Path # pip install Pillow # or easy install : easy_install Pillow from PIL import Image import numpy import random # logger setup logger = log_util.get_logger("logs/aicn_log.txt") logger.setLevel(logging.DEBUG) from sr...
[ "Andrew Dupuis" ]
Andrew Dupuis
1af261d752a689d05277ad4f6abdac6ac6f2d056
52eb2cf9d42d2ecb9b997381f3ef61930f0f0aaf
/schnetpack/representation/schnet.py
31ca8314b6b875c52dc35464cf75b92a30cff4d8
[ "MIT" ]
permissive
YDS-Med/Transformer3D
50e12ad4cb82ce22f77ce85d664be5cadf1c2058
dc1257525ab4f0532f5fbc2af60bd99faa3796be
refs/heads/master
2022-11-30T00:23:07.555865
2020-08-03T21:47:47
2020-08-03T21:47:47
283,867,160
1
0
NOASSERTION
2020-08-03T21:36:57
2020-07-30T20:08:09
Python
UTF-8
Python
false
false
11,100
py
import torch import torch.nn as nn from schnetpack.nn.base import Dense from schnetpack import Properties from schnetpack.nn.cfconv import CFConv from schnetpack.nn.cutoff import CosineCutoff from schnetpack.nn.acsf import GaussianSmearing from schnetpack.nn.neighbors import AtomDistances from schnetpack.nn.activation...
[ "noreply@github.com" ]
YDS-Med.noreply@github.com
855033498433fc4b023163b8a1e030790481cc8e
102d09ef1d6effe166ad703ba4472c45dfb03263
/py/Unique Binary Search Trees.py
ff810735f7dccf5e13975b50685aee50ae48a74b
[]
no_license
bitcsdby/Codes-for-leetcode
5693100d4b66de65d7f135bbdd81b32650aed7d0
9e24e621cfb9e7fd46f9f02dfc40a18a702d4990
refs/heads/master
2016-09-05T08:43:31.656437
2014-08-02T15:14:53
2014-08-02T15:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
class Solution: # @return an integer def numTrees(self, n): if n == 0 or n == 1: return 1; l = []; l.append(1); l.append(1); count = 2; while count <= n: c = 0; tmp = 0; while ...
[ "bitcsdby@gmail.com" ]
bitcsdby@gmail.com
fed79b9a386ddab376d7acd6d52191fc5ec5f846
23fb5b1fb275892b0a27657685c062360630889e
/Week 7/django/src/bookstore/settings.py
ad6bf63e9bc7c5c3b7fdb61d360525456c224875
[ "MIT" ]
permissive
carlosal1015/python2017
2b596fa1e4cad4de06537ffc99fb0af0dfa4563d
c1eed0201039c6b4daf857dd1f08c47a7b1e3f45
refs/heads/master
2020-09-13T17:15:50.419142
2018-05-24T12:44:40
2018-05-24T12:44:40
222,850,901
1
2
MIT
2019-11-20T04:32:23
2019-11-20T04:30:54
null
UTF-8
Python
false
false
3,161
py
""" Django settings for bookstore project. Generated by 'django-admin startproject' using Django 1.11.7. 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 ...
[ "sebastinssanty@gmail.com" ]
sebastinssanty@gmail.com
63b455c578e8c25aae76f9c4f1aad7074d665b95
d945816080d2086b0fd81ab2ca3bf731591dd08b
/Graph.py
fe03d7f6d0bdd92c11f435b14bf2c0b816a1d077
[]
no_license
orelkakon/PageRank
576b0cee6d6f3f8a5cd59dd3ca363c5d25d31d48
2db06222885e291744b1322e1e25afc14dde5dfb
refs/heads/master
2022-12-31T03:48:55.012668
2020-10-26T17:29:20
2020-10-26T17:29:20
307,452,621
0
0
null
null
null
null
UTF-8
Python
false
false
3,663
py
import csv import operator class Node: def __init__(self): self.list_neighbors = [] self.list_reverse_neighbors = [] self.r_tag_t = -1 self.r_t_previous = -1 self.r_t = -1 loaded_graph = {} def load_graph(path): with open(path, newline='') as file: ...
[ "orelkak@post.bgu.ac.il" ]
orelkak@post.bgu.ac.il
9e8e09a34fca6bb6e644f23b4638fe6a65ba5f62
440b6e249bed961706164b20d98fc7ba16f4323d
/testMenegottoPinto.py
dbfac51904e45f28dd3e3d217c658a3f79a9e435
[]
no_license
pdhhiep/fiber_beam_column
6df8a5d0e6eb736205c41952dc636b1bad353d42
1d6cb08494f6774fb1674ff838dc453c388a7816
refs/heads/master
2022-03-24T03:03:06.909542
2019-12-05T14:02:13
2019-12-05T14:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,626
py
""" test file """ import numpy as np import matplotlib.pyplot as plt class MenegottoPinto: def __init__(self, E, b, fy, R, a1, a2): self._E = E self._Et = E self._b = b self._R0 = R self._R = R self._fy = fy self._a1 = a1 self._a2 = a2 # Lo...
[ "m.zidan@tum.de" ]
m.zidan@tum.de
b8c2baad104a85d6d9d0a99b0ad72431dd316e94
11bf0003909dfc62f3dad7184107f25391af3855
/Modelling_Complete.py
f38465f2a7e3a2cac321241217810a70c719ed0d
[]
no_license
amit1013/Flight-Ticket-Prediction
0a17cb4a2ae62a8bc702bf2dae0b43ef4348178c
b5d8330a667f364d2a47179f81730f8e2dcd9e96
refs/heads/master
2020-06-16T14:19:21.410304
2019-07-07T03:47:01
2019-07-07T03:47:01
195,606,210
0
0
null
null
null
null
UTF-8
Python
false
false
18,831
py
# -*- coding: utf-8 -*- """ Created on Sat Mar 16 12:04:32 2019 @author: amit """ import pandas as pd import numpy as np import seaborn as sns import re import datetime from sklearn.model_selection import train_test_split, cross_val_score, StratifiedKFold from sklearn.linear_model import LinearRegression...
[ "noreply@github.com" ]
amit1013.noreply@github.com
7b3d8010e4239376f52e5c0c69d990f30f7a3c82
a8faef3782449f73bfb26ef9a7e0ac717be5e5d4
/LabelsReader.py
b6408c02276574ef2805f2bd3a651d480c185266
[]
no_license
Microv/NonlinearAnomalyDetection
971ab0e69b65d58cbaad5ee2a62831ff553c87be
c3cc1daf66c4233ecb33f6fd1219a8e30797195a
refs/heads/master
2021-01-09T06:06:09.604425
2017-02-04T11:27:16
2017-02-04T11:27:16
80,912,991
1
0
null
null
null
null
UTF-8
Python
false
false
14,751
py
from ISCXLabelsHandler import ISCXLabelsHandler from DARPA2000LabelsHandler import DARPA2000LabelsHandler import xml.sax from os import listdir, path import pickle import pytz import datetime, calendar GROUND_TRUTH_DIR = 'labels/' class ISCXLabelsReader(): def __init__(self, verbose=False): se...
[ "michele@localhost.localdomain" ]
michele@localhost.localdomain
4274a097f97d6858437ee3a6400bf7187f8a8d8d
45a9f6533a9bff337e420e1e5ee34a3fb2a60ba4
/AnalyticsVidhya/analyticsvidhya/Sol.py
cf3ad1e2996872c1b16a3af95e1b91091ea9ee5c
[]
no_license
vikramjain/Competetions
4dfc9f429692aab97afebdb265217722e2ba9cf4
07c9b6ca8cb571474761109a0f751c9eb3b6da54
refs/heads/master
2021-09-05T12:03:23.136412
2018-01-27T08:31:42
2018-01-27T08:31:42
112,911,436
0
0
null
null
null
null
UTF-8
Python
false
false
2,976
py
import numpy as np import pandas as pd from sklearn import preprocessing from scipy.stats import mode import matplotlib.pyplot as plt from numpy import nan from sklearn.cross_validation import train_test_split from pandas import Series,DataFrame import sklearn from sklearn.metrics import confusion_matrix from...
[ "noreply@github.com" ]
vikramjain.noreply@github.com
3e4834d5a41bff7109121e57e288521ddeccf58f
0987b1cff64f2e3937412c590d1a6953a224de57
/postgres/sqlapp/migrations/0004_auto_20200623_1400.py
c4b4d0f73b325869622f48b469a5e1cb7714732f
[]
no_license
AleksanderUrbanowicz/Postgres_Django
9d646d92a746e7df5f7869b5ea457e45bbddb36a
bf7e4466df303476726ed02998249787f17e0cbd
refs/heads/master
2022-11-07T18:22:54.565637
2020-06-24T14:02:10
2020-06-24T14:02:10
274,174,495
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
# Generated by Django 3.0.7 on 2020-06-23 14:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sqlapp', '0003_auto_20200623_1238'), ] operations = [ migrations.AddField( model_name='client', name='city', ...
[ "aleksanderurbanowicz@gmail.com" ]
aleksanderurbanowicz@gmail.com
906285afe8404eb1a87b4c5d698121cf5c26fdd6
406f1eb64aa96b3c7eb89a4c873ac7a089cc70bc
/flaskapp.py
dbc9d67048377c7953f7393aeea093ddacfebe5a
[]
no_license
Prathamveer/Flask-App-1
7f7c01faef17183e0a1daef4c3e7dc2d224facff
c3239a019eb696c731733134ecce5f22d14646fe
refs/heads/main
2023-03-27T03:09:43.238503
2021-03-31T10:04:03
2021-03-31T10:04:03
353,309,730
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
from flask import Flask,jsonify, request app = Flask(__name__) tasks=[ { "id":1, "title": u'Buy Groceries', "description":u'Milk, Cheese, Pizza, Fruit, Tylenol', "done":False }, { "id":2, "title": u'Learn Java', "description":u'I am learning Java from...
[ "noreply@github.com" ]
Prathamveer.noreply@github.com
e19ca4a254a85de070b01227989ac7817ac06393
991c0299c9eae4034db672a2c405bafc8f44e1c8
/pyspedas/pyspedas/psp/tests/tests.py
42387d6e05e349408f2bce7c37bc167306ae1bed
[ "MIT" ]
permissive
nsioulas/MHDTurbPy
650b915cb23f4dd2458d09450e7dc1382c643da2
7ac6615caa737fb89b0314d1d55fcd60537c423c
refs/heads/main
2023-06-01T06:31:58.944174
2023-05-13T05:36:06
2023-05-13T05:36:06
590,799,212
8
1
null
2023-02-01T20:38:49
2023-01-19T08:33:08
Jupyter Notebook
UTF-8
Python
false
false
7,362
py
import os import unittest from pyspedas.utilities.data_exists import data_exists import pyspedas class LoadTestCases(unittest.TestCase): def test_unpublished_data(self): """ this test doesn't load any data, since the username/pw is invalid """ # no password fields_vars ...
[ "nsioulas@g.ucla.edu" ]
nsioulas@g.ucla.edu
0d76cf43909a3dd1ccc2036f17670eac71e8eb31
7832e7dc8f1583471af9c08806ce7f1117cd228a
/aliyun-python-sdk-cs/aliyunsdkcs/request/v20151215/DescribeServiceContainersRequest.py
c4cf438bb23b376cec873a05b86b7fbcdb6e08e8
[ "Apache-2.0" ]
permissive
dianplus/aliyun-openapi-python-sdk
d6494850ddf0e66aaf04607322f353df32959725
6edf1ed02994245dae1d1b89edc6cce7caa51622
refs/heads/master
2023-04-08T11:35:36.216404
2017-11-02T12:01:15
2017-11-02T12:01:15
109,257,597
0
0
NOASSERTION
2023-03-23T17:59:30
2017-11-02T11:44:27
Python
UTF-8
Python
false
false
1,422
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "ling.wu@alibaba-inc.com" ]
ling.wu@alibaba-inc.com
fc63244cd75a39edbf500b6fa6de7db12118a2b9
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/auth/application_default/login.py
cd8f38b6c453bd00a3fae5c98e366c42c46a414a
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
9,042
py
# -*- coding: utf-8 -*- # # Copyright 2016 Google LLC. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
901840825dba82b2be79ca144758e71078df3529
4fc373c4cfe248f37ccf6719cd3d16b5d895d2f1
/myvenv/Lib/site-packages/twilio/rest/preview/trusted_comms/current_call.py
244d12a505e1dea52e994ffe3834adc55a47bbfa
[]
no_license
sharatsachin/chatbot-asmt
efde91dd9dc539b4b65db55b717af8106ca88e2c
896e5b2b4598b3453e5d5a5adab2836164e8e53a
refs/heads/master
2020-06-01T17:01:59.089506
2019-06-08T08:42:22
2019-06-08T08:42:22
190,858,127
1
0
null
null
null
null
UTF-8
Python
false
false
8,332
py
# coding=utf-8 r""" This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource from twilio.base...
[ "sharat.ss.sachin@gmail.com" ]
sharat.ss.sachin@gmail.com
a045b73bfaca5784847e614a130eff9d3c1caedb
1f82e09ae56a0dfb811663a5dc835e1628def9eb
/Asteroids_1/main.py
dc88a8d9a44ee93ab2a5d1c244ea14c360494169
[]
no_license
armyrunner/CS1410-OOP2
6f1eb70260496fe0733cbcd571d0838f81cd7ea1
115c314831c7839aa4afb55cff780d87e4ffdd52
refs/heads/master
2023-03-06T22:46:08.097008
2021-02-19T01:03:37
2021-02-19T01:03:37
340,193,637
0
0
null
null
null
null
UTF-8
Python
false
false
3,395
py
import pygame import game # YOU SHOULD CHANGE THIS TO IMPORT YOUR GAME MODULE import asteroids # YOU SHOULD CONFIGURE THESE TO MATCH YOUR GAME # window title bar text TITLE = "Asteroids" # pixels width WINDOW_WIDTH = 700 # pixels high WINDOW_HEIGHT = 600 # frames per second DESIRED_RATE = 10 class PygameApp( game.G...
[ "live2runmarthon@gmail.com" ]
live2runmarthon@gmail.com
8e83913f251d402a25e5c30c18a1ccbc9ca7bc1b
bfbe642d689b5595fc7a8e8ae97462c863ba267a
/bin/Python27/Lib/site-packages/openmdao.lib-0.8.1-py2.7.egg/openmdao/lib/drivers/newsumtdriver.py
1fe4b338c4195f801abf288f9fbdec1e2569630d
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
mcanthony/meta-core
0c0a8cde1669f749a4880aca6f816d28742a9c68
3844cce391c1e6be053572810bad2b8405a9839b
refs/heads/master
2020-12-26T03:11:11.338182
2015-11-04T22:58:13
2015-11-04T22:58:13
45,806,011
1
0
null
2015-11-09T00:34:22
2015-11-09T00:34:22
null
UTF-8
Python
false
false
19,803
py
""" ``newsumtdriver.py`` - Driver for the NEWSUMT optimizer. """ # disable complaints about Module 'numpy' has no 'array' member # pylint: disable-msg=E1101 # Disable complaints Invalid name "setUp" (should match [a-z_][a-z0-9_]{2,30}$) # pylint: disable-msg=C0103 # Disable complaints about not being able ...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
a71a8a0ac4477cae9a18a321c9ca800b069b634c
040adb3acaf8b5811a1fcb79db03bbd04a73d25a
/figures.py
23009c1da9b72dbc6c3bd5250cb260acd782eb76
[]
no_license
xwl-xwl/disentangled
a8fdabfb0477286a96c3dae2c870de24305ad3fc
37024bdf851a00888de57b494e6b59b58b2207db
refs/heads/main
2023-08-25T16:02:49.094606
2021-10-21T16:38:42
2021-10-21T16:38:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
69,036
py
import numpy as np import scipy.stats as sts import functools as ft import sklearn.decomposition as skd import sklearn.svm as skc import scipy.linalg as spla import general.plotting as gpl import general.plotting_styles as gps import general.paper_utilities as pu import general.utility as u import disentangled.data_g...
[ "wjeffreyjohnston@gmail.com" ]
wjeffreyjohnston@gmail.com
e9ad2283c07526d1309fe86f4e458cfba45f9f76
9bdd741a574d32679532775627b285608bf527f9
/visualize_utils.py
12700e8f7d0a106d4f3c3eeee829b778915d4b9d
[]
no_license
mungsoo/CNN-with-Visualization
96922980b122de70dd0596f8c9ceef921fd6286c
a83f47e620d0f2dcb296991e7e0e5fe77594fa4a
refs/heads/master
2020-04-02T03:26:46.758448
2018-10-21T18:20:46
2018-10-21T18:20:46
153,966,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,881
py
import math import os import errno import shutil def get_grid_dim(x): """ Transforms x into product of two integers :param x: int :return: two ints """ factors = prime_powers(x) if len(factors) % 2 == 0: i = int(len(factors) / 2) return factors[i], factors[i ...
[ "noreply@github.com" ]
mungsoo.noreply@github.com
8faa8b56120958de0b6f1135e29aabb4e6389a29
ea4e3ac0966fe7b69f42eaa5a32980caa2248957
/download/unzip/pyobjc/pyobjc-14/pyobjc/stable/PyOpenGL-2.0.2.01/src/shadow/GL.KTX.buffer_region.0100.py
ac8f5465112ac5e17f3261bbe25ef82d3803a274
[]
no_license
hyl946/opensource_apple
36b49deda8b2f241437ed45113d624ad45aa6d5f
e0f41fa0d9d535d57bfe56a264b4b27b8f93d86a
refs/heads/master
2023-02-26T16:27:25.343636
2020-03-29T08:50:45
2020-03-29T08:50:45
249,169,732
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
# This file was created automatically by SWIG. # Don't modify this file, modify the SWIG interface instead. # This file is compatible with both classic and new-style classes. import _buffer_region def _swig_setattr_nondynamic(self,class_type,name,value,static=1): if (name == "this"): if isinstance...
[ "hyl946@163.com" ]
hyl946@163.com
0b8ca9d38489a79fac11ef930d7f55e4b5f8e7c4
929c5d410575498104bcc3a32e2d827ff11a8294
/3 trimestre/pyton/aula.py
75efd626989288c74f2ac34ac93a3bf0f5e5b37a
[]
no_license
adriel1010/aulaTecnologiasWeb
52ab30f61a342bbebf86b602ee9800ec276a2ae1
699e36d23319bafa5c603dd81f291eb261cabdc4
refs/heads/master
2021-01-24T16:45:54.853451
2018-09-26T01:33:10
2018-09-26T01:33:10
123,209,672
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
print("Olá mundo :D") print("olá 2") num = 10 num = "Adriel" num = 10.98 a = num * 10 print( "O resultado é {}, certo ?".format(num) ) nome = "Adriel" print( "{}, o resultado é {}, certo?".format(nome, num) ) num = 5 ** 2 #5 ao quadrado if(num % 2 == 0): print("0 número {} é par !".format(num)) print("Fi...
[ "adrielcarlos1010@gmail.com" ]
adrielcarlos1010@gmail.com
b6a6f3e54f625b004ba7557625516a3b771e62db
5663631dd78c1aae7640cb7d0b03cbb6afb482ea
/neon/optimizers/optimizer.py
ec4edb7c62df4be3fc323cd30d5d31ad12048a35
[ "Apache-2.0" ]
permissive
kod3r/neon
6d0c7d9150bd77210c81e9df9ae7908e6e10bfff
73e77fa101c63c0a2c440d3eb2ac64ae9de0d6c6
refs/heads/master
2021-01-18T10:32:00.755477
2015-09-12T02:34:16
2015-09-12T02:34:16
42,411,178
2
0
null
2015-09-13T20:12:41
2015-09-13T20:12:41
null
UTF-8
Python
false
false
15,114
py
# ---------------------------------------------------------------------------- # Copyright 2015 Nervana Systems 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.o...
[ "urs.koster@gmail.com" ]
urs.koster@gmail.com
47dbd06d73da73797a6148d5211413ca087eca89
12b63effcd7ca6f307c4b55a45e04e6656d5ea98
/Studio/Holiday.py
1e0d122754ffbec422dc1c90a81712adcc62ed7e
[]
no_license
rarose67/Python-practice-
cc70b26d1ba6cd4ee845e5a1d0b2d1d8ec7bc733
699eaf8a7ceb69c86bec35cd41df7191a70ef91f
refs/heads/master
2020-03-27T08:14:06.470762
2018-08-27T02:02:41
2018-08-27T02:02:41
146,234,815
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
""" It is possible to name the days 0 through 6, where day 0 is Sunday and day 6 is Saturday. If you go on a wonderful holiday leaving on day 3 (a Wednesday) and you return home after 10 nights, you arrive home on day 6 (a Saturday). Write a general version of the program which asks for the day number that your vacati...
[ "robertrosestl67@gmail.com" ]
robertrosestl67@gmail.com
3fa8270849bd728041105b6d7119c3a99035ee56
3fb104c3aa28e045fd2a6bab518116215e03a260
/.venv/Lib/site-packages/aws_cdk/aws_ecr_assets/_jsii/__init__.py
6077d0f16767538da05d8916c1afc51eee7bca78
[]
no_license
danyal2050/demo-python-cdk
ae90293e7ee2358b45fef6c404436c3c8e884603
242557ca00da7cde10071e431242d6ca6467e066
refs/heads/master
2023-03-22T14:22:44.710332
2020-12-29T11:59:02
2020-12-29T11:59:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
import abc import builtins import datetime import enum import typing import jsii import publication import typing_extensions import aws_cdk.assets._jsii import aws_cdk.aws_ecr._jsii import aws_cdk.aws_iam._jsii import aws_cdk.aws_s3._jsii import aws_cdk.core._jsii import aws_cdk.cx_api._jsii import constructs._jsii ...
[ "ramon.marrero@lanube.io" ]
ramon.marrero@lanube.io
163d7c44a7e018cae6d6ff4a03b364723f15cc08
487c45df5fcbe7fdf6df5a348f6fe163bbb22033
/leetcode/875_koko_eating_bananas.py
20b4f0c350be2d1c309eb1f272a208f5b384aa40
[ "Unlicense" ]
permissive
leetcode-notes/daily-algorithms-practice
dba03ac1c55262f6bae7d5aa4dac590c3c067e75
2a03499ed0b403d79f6c8451c9a839991b23e188
refs/heads/master
2023-06-18T14:14:58.770797
2021-07-12T05:27:32
2021-07-12T05:27:32
264,057,786
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
class Solution: def minEatingSpeed(self, piles, H: int) -> int: low, high = 1, max(piles) def cannot_finish(k, piles): total = 0 for p in piles: total += p//k if p % k: total += 1 return total > H while...
[ "leetcode.notes@gmail.com" ]
leetcode.notes@gmail.com
87285319b453d6b779837ac5d96b87d989629dbd
1277c0d30434133a7ce6f4d1db6c04d65b0a49c9
/backend/findme_20524/wsgi.py
8403d67f78f9ff859caa0a7e2ffa509f5e7f5195
[]
no_license
crowdbotics-apps/findme-20524
aef86f49038e1e06967c3d22fee0968ec769c3b4
da959e3a82c81a93ce2e6d3388ad610ebc7be7f5
refs/heads/master
2022-12-23T10:47:01.480756
2020-09-21T19:34:35
2020-09-21T19:34:35
297,441,771
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for findme_20524 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('DJANGO_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f0cb0d5b3d99d57ab4045f1759b682f46e459f98
a16ef81e469d9cc6f2b802e961255ca845fb17e6
/python-selenuim/css_choose_element/css-1.py
8c51e485b4ff49cbe347914a98bfe69f3b23f344
[]
no_license
asherboy1/python-selenium-new
32ccdabde18c9d8fe8c74718dd00991d25d75140
eab7ba7e9946891f6aea6c89aab1e90b54ac63a6
refs/heads/main
2023-04-16T00:58:45.232576
2021-04-26T02:41:29
2021-04-26T02:41:29
361,594,880
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
from selenium import webdriver wd = webdriver.Chrome() wd.get("http://cdn1.python3.vip/files/selenium/sample1.html") #css .class 属性 例子 .animal{} {}中为修饰语句 #color background-color #find_element_by_css_selector(CSS Selector参数) 主流使用 element = wd.find_element_by_css_selector('.animal') #注意 . 表示使用的哪一个...
[ "noreply@github.com" ]
asherboy1.noreply@github.com
8eedd8a9491c2e95bc52cac13f9f3589f01bcf3b
c33ddce47e635e1e560f5bd3daadc0c694c0d4ce
/lib/exceptions.py
dd7176baf9476f9f503e4f998a5bc57009860979
[ "Apache-2.0" ]
permissive
hzengin/openvpn-config-splitter
5b106956b950c4ce8cd056f8a3de2f93efdd6793
d1a69735d218c00ecd235662c5390e3154333f5d
refs/heads/master
2016-09-06T19:40:29.332600
2015-02-10T23:09:23
2015-02-10T23:09:23
30,618,978
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
class InvalidConfigFile(Exception): def __init__(self, content): self.content = content def __str__(self): return repr("Invalid configuration file")
[ "hzengin99@gmail.com" ]
hzengin99@gmail.com
af8638c194cc6aa49ff9907afb883eb041065fb8
4f46b4c5b2454a3ad1aea97c8cf0585414243f98
/Table_cxlx_all_ajlx/cxlx.py
e7aa3b3f5b7fce03ced4a1b4264992f85631d6da
[]
no_license
dingyuzhu/LAW_INFO_extraction
716431eeb008efb9f6fad703082fba6a9acf2075
2356cd52dae87d581b2af2e2d290171dd03da4aa
refs/heads/main
2023-05-21T16:23:26.547741
2021-06-16T10:26:32
2021-06-16T10:26:32
377,108,426
0
0
null
null
null
null
UTF-8
Python
false
false
12,517
py
# -*- coding: UTF-8 -*- import re import pandas as pd import rule_3 '''民事一审、二审诉讼记录分类''' class CXLX_CLASSIFICATION(): def get_cxlx_data(self, all_data): dict_cxlx_data = {} for data in all_data: # id, party_info, ssjl, ss_ssqq,spcx_id dict_cxlx_data[data[0]] = [data[1], data[2], da...
[ "695164075@qq.com" ]
695164075@qq.com
e2be22d23ef0a492a068ef4aa2428993698da3bd
e0188f937248e5aa82e62e86b59944c93b09f256
/fairy/tail/ft_list.py
308d9266138236cdea3a7aea98ff22c7b02e42f0
[ "MIT" ]
permissive
qilutong/fairy
de8c9115eeb91cf2a6a95fb8880ae9f3784d2045
e4d40c5d3d6d431875a49c4f708ee278ab795901
refs/heads/master
2020-04-09T05:36:35.342483
2019-09-04T12:32:17
2019-09-04T12:32:17
160,071,697
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
# -*- coding: utf-8 -*- """ @FileName : ft_list.py @Description : None @Author : 齐鲁桐 @Email : qilutong@yahoo.com @Time : 2019-05-08 14:57 @Modify : None """ from __future__ import absolute_import, division, print_function def list_insert(raw_list, index, data): """ 根据索引在列表中插入新值,修改了索引...
[ "qilutong@yahoo.com" ]
qilutong@yahoo.com
fbab5560e9894901c5617e613add83c277d25710
8e8acc57b63a66cb1450fa4d015d4ddcd74cce85
/liaoxuefengLessons/ObjectOrientedProgramming/ENUM.py
5e50eaa8c9becb7d3b84f7e8a321feb1a34f2cb0
[]
no_license
indeyo/PythonStudy
fc2241db7cec8075a59a307ff47c9de83494844b
099feb4e4c8dec9e68887cedd95705d831e51b0f
refs/heads/master
2021-03-29T19:04:24.553848
2020-06-05T15:07:33
2020-06-05T15:07:33
247,978,205
0
1
null
null
null
null
UTF-8
Python
false
false
1,062
py
#!/usr/bin/env python3 #-*- coding: utf-8 -*- """ @Project : StudyPython0-100 @File : ENUM.py @Time : 2019-08-05 22:57:52 @Author : indeyo_lin @Version : @Remark : """ """ 练习: 把Student的gender属性改造为枚举类型,可以避免使用字符串: """ # from enum import Enum, unique # # class Gender(Enum): # Male = 0 # Female = 1 # # c...
[ "indeyo@git.com" ]
indeyo@git.com
bcc91c66c1a46421cc90bf345566fae7477c3ed5
c8620bc8f41b9c2da42ba19caa4efe34d80f8e23
/Application/migrations/0002_auto_20200421_0007.py
a2abb0232b918fe4533d48d5a85c12420e7c96c7
[]
no_license
doniamezghani/ElitechProjet
26cb77e1c90ed93032a92ad093d6c8f9a1ef7578
20caa7eaf7234735a395f03a42b8366a135bab75
refs/heads/master
2022-12-10T20:54:54.732054
2020-06-03T22:50:33
2020-06-03T22:50:33
293,299,286
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2020-04-21 00:07 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Application', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
[ "donia.mezghenni@gmail.com" ]
donia.mezghenni@gmail.com
31029cb219a6d9233dc24ca5576b136098cb5c29
e48e3f58e87d9702a7b7bc986a649b8a37393829
/n_grams.py
a1c61ad4bc7c9553697b80bc703d091fc0d907b4
[]
no_license
ITerJXP/Phishing_detection
a662b33d944689719573a66237a32cd83e2dc607
55788764d13869a834868322622448c15f208e9a
refs/heads/master
2021-08-31T13:31:06.944793
2017-12-21T13:47:30
2017-12-21T13:47:30
112,483,597
5
1
null
null
null
null
UTF-8
Python
false
false
2,534
py
# -*- coding:utf-8 -*- import sys reload(sys) from nltk.util import ngrams import collections def make_str(url_part_list): _tab_ = ',' _str_ = '' for p in url_part_list: _str_ = _str_ + _tab_ + p return _str_ def train_grams(_str_, n): """ 计算n-gram集合 :param _str_: url集合 :pa...
[ "jxptaylover@163.com" ]
jxptaylover@163.com
eb8bd2bd90dfe1850bd04800fbf208772c98a519
8e07b5b7a8dd38e0ef2c7ffc97d0392d886f32e6
/venv/Lib/site-packages/mypy/typeshed/third_party/2and3/paramiko/server.pyi
f43bc83b05520072133af6f1a6c7ad7944981cc9
[]
no_license
RodrigoNeto/cursopythonyt
fc064a2e6106324e22a23c54bdb9c31040ac9eb6
279dad531e21a9c7121b73d84fcbdd714f435e7e
refs/heads/master
2023-07-03T00:54:09.795054
2021-08-13T12:42:24
2021-08-13T12:42:24
395,646,798
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
pyi
import threading from typing import Any, List, Optional, Tuple, Union from paramiko.channel import Channel from paramiko.message import Message from paramiko.pkey import PKey from paramiko.transport import Transport class ServerInterface: def check_channel_request(self, kind: str, chanid: int) -> int: .....
[ "rodrigoneto.forseti@gmail.com" ]
rodrigoneto.forseti@gmail.com
73608aa0ec56957d6d4f1a5aacb52173748a78d9
75b25a926c164bd0ea705485a9abdd988e0ef596
/fbad/dockerutils.py
a12ff7e8e4bb132b9f6a46e55c52f3c92dfd2294
[ "MIT" ]
permissive
bennr01/fbad
39edf5790bcdecca47f75acc1ced4cfc641fce22
a872aa6e077931743a8cbce3328ce4cbc509745c
refs/heads/master
2020-03-06T19:37:58.889646
2018-10-31T14:35:55
2018-10-31T14:35:55
127,033,219
2
0
null
null
null
null
UTF-8
Python
false
false
359
py
"""utilities for interacting with docker.""" import subprocess def in_swarm(): """ Check whether docker is running in swarm mode. :return: True when running in swarm mode, False otherwise. :rtype: bool """ output = subprocess.check_output(["docker", "info"]) swarm_enabled = ("Swarm: active...
[ "benjamin99.vogt@web.de" ]
benjamin99.vogt@web.de
df95550af87a49e5577ad50eb3448311733e01fb
926e1595567ab120a4a5a6734d24aedc5ec62297
/python/exercieses/zadanie_3.py
f6a8cde2e953d661ccb3d1d80c3a016640f85e72
[]
no_license
Shansky/teaching_magda
5574fed3bd5ab300764cec5fd7ec9990ced16117
fe86934236d72403d8e8dd237b4a6390eaf26b46
refs/heads/master
2020-03-14T22:16:42.635912
2018-05-02T08:08:46
2018-05-02T08:08:46
131,817,391
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
def factorial(n): if n>1: return n*factorial(n-1) else: return 1
[ "mateusz.szymanski@profitroom.net" ]
mateusz.szymanski@profitroom.net
0361cf95323138a93fe8fdbfbe7b79443489acf3
426a61f9a3413ccd09cc7a59ffa8988fad2c5c2f
/network/refinement_network.py
e4b0ebda2fdee7d750722892d8a59fbfaa5fb217
[ "Unlicense" ]
permissive
sveatlo/unmasked
46c53b54d377ecae72aafbc8ed7b237bef238415
6870ee56beea7401aa97194f76487c391af9dd5d
refs/heads/main
2023-07-06T22:58:22.042569
2021-08-08T19:36:52
2021-08-08T19:36:52
355,092,011
4
0
null
null
null
null
UTF-8
Python
false
false
4,629
py
import torch import torch.nn as nn from network.contextual_attention import ContextualAttention from network.gated_conv import GatedConv2d, GatedDeConv2d class RefinementNetwork(nn.Module): def __init__(self, in_channels: int = 4, out_channels: int = 3, latent_channels: int = 48, padding_type: str = 'zero', activ...
[ "svatoplukhanzel@pm.me" ]
svatoplukhanzel@pm.me
3b6e664d5482c257c0400170a43bf6b823377024
5cf7f81791a9d66ba495512f0b1d2c8b6cccbd3d
/python/test/test_rhomb_H_and_R.py
ac268c603a510df1fc1881d48b3b0bc262075ef6
[ "BSD-3-Clause" ]
permissive
odidev/spglib
9e0eecbb77b20e09f1affec42af48dc6a1c60e82
e807f1193ad57af8b916245fc397e4667baaaf92
refs/heads/develop
2023-07-03T03:03:37.592891
2021-05-17T08:45:07
2021-05-17T08:45:07
390,248,634
0
0
BSD-3-Clause
2021-07-28T11:44:17
2021-07-28T07:01:36
null
UTF-8
Python
false
false
2,280
py
import unittest import numpy as np from spglib import get_symmetry_dataset, find_primitive from vasp import read_vasp import os data_dir = os.path.dirname(os.path.abspath(__file__)) dirnames = ('trigonal', ) rhomb_numbers = (146, 148, 155, 160, 161, 166, 167) tmat = [[0.6666666666666666, -0.3333333333333333, -0.333333...
[ "atz.togo@gmail.com" ]
atz.togo@gmail.com
61bbe9c6a03dc155f5c1f6a09c732284f2f3acdf
0d9c964fd7644395a3f0763f484e485fcc67f762
/new/src/21.03.2020/list_of_business.py
2e49049cc01217aba3b71d33a8cc65d4af44bb18
[ "Apache-2.0" ]
permissive
VladBaryliuk/my_start_tasks
eaa2e6ff031f2f504be11f0f64f5d99bd1a68a0e
bf387543e6fa3ee303cbef04d2af48d558011ed9
refs/heads/main
2023-04-14T14:00:08.415787
2021-04-24T13:47:38
2021-04-24T13:47:38
354,538,499
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
from tkinter import * root = Tk() root.geometry('300x400') btn2 = Button(text = 'save') btn2.pack() text = Entry() text.pack() list = Text() list.pack() def add (): todo = text.get() + '\n' list.insert (END, todo) btn = Button(text = 'enter',command=add) btn.pack() root.mainloop()
[ "vladmain9@gmail.com" ]
vladmain9@gmail.com
2fecbef126f0a4c1540866aad4fb08b2a77da923
8942242d001a53a353f643787c1e745465e961c7
/leetcode/wiggle-sort.py
eb1f233362d9141981a8984bc2dbaec882fe9e92
[]
no_license
brcsomnath/competitive-programming
7b5277b455acaec8a729cca3576ad2aa669ba04f
49326c577d7fa343a2c803efb3e81d00df523d7d
refs/heads/master
2020-05-18T20:18:55.741482
2019-05-29T17:29:46
2019-05-29T17:32:45
184,628,298
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
''' Given an unsorted array nums, reorder it in-place such that nums[0] <= nums[1] >= nums[2] <= nums[3].... For example, given nums = [3, 5, 2, 1, 6, 4], one possible answer is [1, 6, 2, 5, 3, 4]. ''' def process(array): position = 1 for index in range(1, len(array)): if position & 1: if...
[ "somnath@Somnaths-Personal-MacBook-Pro-2.local" ]
somnath@Somnaths-Personal-MacBook-Pro-2.local
b4a4ca55d2231e169f1b67dec313d0b491bd3655
8d5c6908cfaafb720ac4e1b6ea6f135b17e16cc3
/lib/helper.py
421402cf2dc6a631ce3709dc176187eb065c31db
[]
no_license
hhirsch/launcher
e81d5b8b3804864cd0bcb6bc5254be6b9e8b4f25
d575658a0a71330a94021a3652b8581ade364fab
refs/heads/master
2023-01-06T16:32:36.009832
2020-10-16T21:01:05
2020-11-01T16:54:23
268,054,143
0
2
null
2020-11-01T16:54:24
2020-05-30T10:06:27
Python
UTF-8
Python
false
false
1,039
py
from os import path from assetexception import AssetException from shutil import copytree def gameIsInRepository(game): return path.exists(getRepositoryPath(game)) def gameIsInCache(game): return path.exists(getCachePath(game)) def getCachePath(game): return path.normpath('games/' + game) def getReposit...
[ "henry@w3-net.de" ]
henry@w3-net.de
e8cf404787724511a0b29b4cdd94c6d79eb99f88
789497c626e92eccfa102572384cade211576a97
/scrapysina/spiders/cankaoxiaoxi.py
5d8bb9fe7daf100449c8fa06655c71f83776ed08
[]
no_license
JimmyLsc/spiders-for-tan
9ddad68e331a6b2e9738c558d4ce89acd21f61b2
da91ec0caaa0d9cb2e1d93690179c48700043200
refs/heads/main
2023-01-29T04:14:36.109782
2020-12-16T07:56:30
2020-12-16T07:56:30
321,901,688
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
import datetime import scrapy from scrapysina.items import ScrapyItem class CankaoxiaoxiSpider(scrapy.Spider): name = 'cankaoxiaoxi' allowed_domains = ['mil.cankaoxiaoxi.com'] start_urls = ['http://mil.cankaoxiaoxi.com/'] custom_settings = { 'ITEM_PIPELINES':{ 'scrapysina.pipeli...
[ "45891479+JimmyLsc@users.noreply.github.com" ]
45891479+JimmyLsc@users.noreply.github.com
8fc886a306f419925d2ee225a17ed2480a5d4cef
69fc90ecc891ff34d74e38a83a3936baddfd7ed6
/reminders/migrations/0018_auto_20150825_0017.py
6ac27643f2c938c8017180c7098ba51b5b9dab5a
[]
no_license
cep-15-cocos-bl/cep2015sem2
9624b058b7a99d6a4d297076b6ce060d4f3185d3
b79809d4e2ec405da3ffa36918c4f0f8ee42e935
refs/heads/master
2021-01-15T09:09:52.180205
2015-09-29T07:31:30
2015-09-29T07:31:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ('reminders', '0017_auto_20150818_1620'), ] operations = [ migrations.AddField( ...
[ "llinhong.2301@gmail.com" ]
llinhong.2301@gmail.com
2246efedd5629640d5a477e86ce72ebaa71edb1e
58023de0289f4e5dc62b3e91a798e03423ac1b8e
/app/dngadmin_formkeydemo.py
6dcc9516b7bf2146908f2bef9e37bfd5c0801a8e
[]
no_license
BeLinKang/DngAdmin
5b1466cb7c24292200ae860be3689b43478d5160
f78d90b93ab509f83018cc5bbe922568ab2b1fd7
refs/heads/master
2023-07-15T05:56:47.665627
2021-08-27T12:54:23
2021-08-27T12:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,006
py
# Create your views here. from django.shortcuts import render #视图渲染模块 from django.http import HttpResponse #请求模块 from . import models #数据库操作模块 from django.db.models import Q #数据库逻辑模块 from django.db.models import Avg,Max,Min,Sum #数据库聚合计算模块 from datetime import datetime,timedelta #Cookie 模块 from django.http import Htt...
[ "455873983@qq.com" ]
455873983@qq.com
56c1eb3345ca5730e376f0f94bff64c4c7ab0f63
f614e8567f9458e298c651d0be166da9fc72b4bf
/Students/Theo/Django/Lab2/lab2_project/wsgi.py
326cd9e222d5bbcbf4647d57ed5562f67c3dc3cb
[]
no_license
PdxCodeGuild/class_Binary_Beasts
458c5be00b7bce3bb4ac9b7ab485c47f72be4294
b1298cb5d74513873f82be4ed37676f8b0de93dd
refs/heads/master
2023-06-28T07:05:21.703491
2021-07-29T03:44:09
2021-07-29T03:44:09
344,980,863
4
4
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for lab2_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "theo@Theos-MacBook-Air.local" ]
theo@Theos-MacBook-Air.local
29a7d8eac5c1f6058b997122e7ec0d1f6e72753a
d2eb9236fff1e38a00355203fcc78e71767603d7
/day4/ATM/atm/core/accounts.py
aa128a8dfdaadf5dde4beac8c5e808f3f303753b
[]
no_license
Oldby141/learning
c0449040df53ec36c2038cdcb66d4de717402de7
1cdea2353dec95f722ea6fca80647b0037a74306
refs/heads/master
2020-05-01T03:58:05.611893
2019-04-12T13:56:06
2019-04-12T13:56:06
177,260,516
1
0
null
null
null
null
UTF-8
Python
false
false
466
py
#!_*_coding:utf-8_*_ import json import time from core import db_handler from conf import settings def load_current_balance(account_id): db_api = db_handler.db_handler() data = db_api("select * from accounts where account=%s"%account_id) #print(data) return data def dump_account(account_data): db_...
[ "1194475412@qq.com" ]
1194475412@qq.com
c1f0f56f1f31047cfc5c943b9b8cb27094c83a27
69bb1d0e824625876207d492722adfdb9d959ad1
/Codeforces/antonAndDanik.py
c059ac795188e2be373516cbb3ff30f3a2ece7af
[]
no_license
domiee13/dungcaythuattoan
8e2859264515e0fac3e9f0642a8b79ce5d966fff
7e95d037d47d6e4777e9cf56b9827c3e42f556b3
refs/heads/master
2023-03-28T03:58:44.225136
2021-03-29T10:32:52
2021-03-29T10:32:52
277,798,242
2
1
null
null
null
null
UTF-8
Python
false
false
1,413
py
# A. Anton and Danik # time limit per test1 second # memory limit per test256 megabytes # inputstandard input # outputstandard output # Anton likes to play chess, and so does his friend Danik. # Once they have played n games in a row. For each game it's known who was the winner — Anton or Danik. None of the games ende...
[ "dungngocmd@gmail.com" ]
dungngocmd@gmail.com
c43628058f0ac9589e5b5c5e12579f9f3ef2ea58
501952b4c60182ab0f2c4332fe23c7d1d3a81078
/ChurnPrediction.py
15704ebe67ff8e272c04ea43c5f37ac295332267
[]
no_license
AIhmed/ChurnPrediction
1d09097d885fa05bd6e53909d7ef375ca37e18e2
139d708e2fb21dc232dfe3f99b4830de3bcb6e6d
refs/heads/master
2023-07-07T22:09:00.166003
2021-08-16T00:54:26
2021-08-16T00:54:26
386,054,344
1
0
null
null
null
null
UTF-8
Python
false
false
6,525
py
import pandas as pd import numpy as np import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as fn from torch.utils.data import Dataset , DataLoader trainSet=pd.read_csv('sample_data/churn-bigml-80.csv') testSet=pd.read_csv('sample_data/churn-bigml-20.csv') print(testSet.colum...
[ "bouliche.ahmed.2@gmail.com" ]
bouliche.ahmed.2@gmail.com
5903d8b50e2c112c29503ef04044290df4c209e0
49413293d6d7a956f0cda72548e79161ca2e2e6c
/renren/renren/items.py
58d1b42de2bfbadde9ef85d32508bbad7f7c95a2
[]
no_license
aonephy/python
c26a2c2728d7ffbc700693be63a8c0a9743b4d84
8eda2cfcb75b0cc67c8ea3c9e1b7425349c1d732
refs/heads/master
2020-03-28T19:47:39.855862
2018-10-15T05:53:53
2018-10-15T05:53:53
149,010,266
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class RenrenItem(scrapy.Item): visit = scrapy.Field() # share_friend = scrapy.Field() # has_friend = scrapy.Field() # img = sc...
[ "117656041@qq.com" ]
117656041@qq.com
53f871e50d2de10422c10dea7f85c339c8de2718
40e0d194edd83673d75694d81e3bc8c277d1ec18
/funkcije.py
c48f87ceb253228c8323966e76b394c3d198ed90
[]
no_license
MarkoGlavas78/Zadaca
3c1aa9fce21d2bc1b5182ec03deb75bee74d3b16
b48ac04ba0a8d4fb4fc77101b4482d8d4ca55513
refs/heads/master
2022-07-17T08:40:00.580843
2020-05-09T15:52:22
2020-05-09T15:52:22
262,602,734
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
import likovi from math import pi def opseg(lik): if isinstance(lik, likovi.Kruznica): return 2*lik.radius()*pi if isinstance(lik, likovi.Kvadrat): return 4*lik.stranica() def povrsina(lik): if isinstance(lik, likovi.Kruznica): return lik.radius()*lik.radius()*pi if isinstance(...
[ "noreply@github.com" ]
MarkoGlavas78.noreply@github.com
610a43592532b1432d27feb959a4f8be1037779f
f060182c25b7da8294e54bbf8a97e6f6b5fa6c22
/bulletPointAdder.py
61ff040ec7367f83329ddf9723ff1ebc93929cc6
[]
no_license
jennymhkao/automate-boring-stuff
e7a0e129f9123778594f72dc8f2511de00f241f1
00614c82e4a2ac39a17e394bd848c7c7cad0da17
refs/heads/master
2023-03-05T00:26:27.271558
2021-02-14T20:14:43
2021-02-14T20:14:43
286,122,810
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
#! python3 # bulletPointAdder.py - add star bullet point and space at beginning of each line. import pyperclip text = pyperclip.paste() newText = text.split('\n') for i in range(len(newText)): # loop through all indexes in the "newText" list newText[i] = '* ' + newText[i] # add star to each string in "newText" ...
[ "k.jennymh@gmail.com" ]
k.jennymh@gmail.com
525b70fa2854ab0628bdc743b96501d0475c36c0
0ad1e5559c2f475ffac77b10275c2c64d2a36a9e
/hideandseek/hideandseek.py
96ab4e39e4855f760aa208d58501ca365c864121
[]
no_license
csyouk/python-playground
3d165c9462427525b538ceb8de746a62e9190500
4bd8ffcb7ca46cda1e9f6f3f2e1e613954a9f58a
refs/heads/master
2020-09-24T03:54:00.770078
2017-11-12T01:56:22
2017-11-12T01:56:22
66,607,035
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
# coding: utf-8 import urllib2 urllink = 'http://hideandseek.net/projects/' fileformat = '.html' # projectnamelist = ['searchlight','99-tiny-games','the-building-is'] projectnamelist = ['the-sandpit','the-hideseek-weekender','last-will','drunk-dungeon','would-anyone-miss-you','consultancy','tiny-christmas-games','the-n...
[ "csyouk@hanmail.net" ]
csyouk@hanmail.net
aa516d2e2960317bd46795e9eb2cf98e9171382d
5b047dc237b3a9bcd8f33c8df5acbd98929cabb0
/hello.py
69c5351d6bbc09f94e08baefb0514040b2bb3e50
[]
no_license
Aeternam/server_status
62a04dfa9c295c1753446536b51da9108551e4f8
981df07d97464d92251814d281360918802f8ae8
refs/heads/master
2021-01-25T07:34:03.161187
2014-12-14T17:00:34
2014-12-14T17:00:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
from bottle import Bottle, run from bottle import template app = Bottle() @app.route('/hello') def hello(): return "Hello world!" @app.route('/') @app.route('/hello/<name>') def greet(name='Stranger'): return template('Hello {{name}}, how are you?', name=name) #@route('/wiki/<pagename>') #def show_wiki_page...
[ "justfan.b@gmail.com" ]
justfan.b@gmail.com
e7846284c7e134592127b48bc185fe593b0949ec
fe7b700cfe3c06d89d18ffad3eeeb3b8220c1759
/pipeline/feature-classification/exp-3/selection-extraction/pca/pipeline_classifier_mrsi.py
30793e60571a5f7f0342ae4b772cf21d2691ce80
[ "MIT" ]
permissive
DivyaRavindran007007/mp-mri-prostate
928684a607cf03a2d76ea3e3e5b971bbd3a1dd01
bd420534b4b5c464e5bbb4a07eabdc8724831f8a
refs/heads/master
2021-06-08T21:09:15.850708
2016-10-20T16:08:57
2016-10-20T16:08:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,823
py
"""This pipeline is intended to make the classification of MRSI modality features.""" from __future__ import division import os import numpy as np from sklearn.externals import joblib from sklearn.preprocessing import label_binarize from sklearn.decomposition import PCA from sklearn.ensemble import RandomForestClas...
[ "glemaitre@visor.udg.edu" ]
glemaitre@visor.udg.edu
d630012bff87fda4be1257cfdfb3e5f27ef5b28b
c65ebae44586bde4052190c9d5a8476ff06e2b86
/ICONRepClassification_Py/src/com/prj/bundle/modelling/BiLSTMDimModel.py
c6c08ac133f8697656d7739ea7b6a74fe750f78f
[]
no_license
warikoone/LpGBoost
432f99fc2c28e504c2b1ab54fa36a56db1c4a048
eb2f263ea0970ee9f698d89c80cbb8f413e5f345
refs/heads/master
2020-09-15T04:06:25.905608
2019-11-22T14:46:19
2019-11-22T14:46:19
223,344,561
0
0
null
null
null
null
UTF-8
Python
false
false
1,533
py
''' Created on Dec 21, 2018 @author: iasl ''' import sys import numpy as np from keras.models import Model, Sequential from keras.layers import Dense, LSTM, Input, Flatten from keras.optimizers import Adam from keras.layers.embeddings import Embedding from keras.layers.advanced_activations import LeakyReLU, PReLU fro...
[ "noreply@github.com" ]
warikoone.noreply@github.com
344734125bb7c7899ca6cc6c2558fd173da78d68
279ed7207ac2c407487416b595e12f573049dd72
/pybvk/bvk/bvkmodels/ni_676.py
8e2c8f20a537ec5b2eaa574c6f66b29f2b1de7de
[]
no_license
danse-inelastic/pybvk
30388455e211fec69130930f2925fe16abe455bd
922c8c0a8c50a9fabd619fa06e005cacc2d13a15
refs/heads/master
2016-09-15T22:21:13.131688
2014-06-25T17:12:34
2014-06-25T17:12:34
34,995,254
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
# ni_676.py # BvK force constants element = "Ni" lattice_type = "fcc" temperature = 676 # Units: K reference = "De Wit, G.A., Brockhouse, B.N.: J. Appl. Phys. 39 (1968) 451" details = "All fits use the measured elastic constants. This fit uses general force up to fourth neighbour, axially symmetric force for fifth ...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
5b5156cbef313f7ca0e43f0c83256fc08a1596fe
85f1908ef3c6629d71fa821ff9f76a9fe78393a8
/check_open.py
8c0c0787431ff5915bb482afc92514fe96357955
[]
no_license
PRANAVI2402/prachan
a575d0d1386e76a942f1a4ba45a0ede5bcbb8e21
4c112ca71e423e07f47b5d08f682971a41607eaf
refs/heads/master
2020-08-01T15:49:50.732156
2019-09-27T07:02:15
2019-09-27T07:02:15
211,038,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
'''fo = open("foo.txt", "w") print ("Name of the file: ", fo.name) print ("Closed or not : ", fo.closed) print ("Opening mode : ", fo.mode) fo.close()''' # Open a file '''fo = open("foo.txt", "r+") #print ("Name of the file: ", fo.name) #fo.write( "Python is a great language.\nYeah its great!!\n") str1 = fo.read(10) pr...
[ "pranavi2402@gmail.com" ]
pranavi2402@gmail.com
63e07fc1ff6aecff93869fb170be7e3769d99142
30145c279ee8b657215720a109a6fb4e5d33ba1e
/helperFunctions.py
cc5f73a47533335ce5c507e0555650cee799fe7a
[]
no_license
pcoh/SDCND_VehicleDetection
30107ddcc4eb6be5348641ddf0dfde02929a2f2a
fd58712ccfc158e71b038d29ddcc7d4c0f707d10
refs/heads/master
2021-01-21T09:53:43.236928
2017-03-05T01:40:15
2017-03-05T01:40:15
83,347,197
0
0
null
null
null
null
UTF-8
Python
false
false
21,099
py
import matplotlib.image as mpimg import numpy as np import cv2 import time from skimage.feature import hog from sklearn.preprocessing import StandardScaler from sklearn.model_selection import train_test_split from sklearn.svm import LinearSVC def get_hog_features(img, orient, pix_per_cell, cell_per_block, vis=False, f...
[ "patrick.cohen.at@gmail.com" ]
patrick.cohen.at@gmail.com
1edf039f04ef58d6ac247f9e811950868dfc6c32
f4e97a269a35acc73d01ebede7ab0d17d306cf2d
/images.py
a6e444df7f10779a5f94b2b402d65df9362b6ec7
[]
no_license
rameshrawalr2/EmotionRecognition
2ce8eea173dff0f1561bdcb88535bcee7e5ba490
9e9a503caefb56a0732f4774ecc506ed1fc7d94e
refs/heads/master
2020-03-15T05:58:42.355454
2018-05-19T05:01:04
2018-05-19T05:01:04
131,997,913
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue May 8 22:40:25 2018 @author: ramesh """ import numpy as np import csv #import tensorflow as tf #import cv2 from PIL import Image img=Image.open("result3.png") img.show() width, height=img.size format=img.format mode=img.mode img_grey=img.convert('L'...
[ "noreply@github.com" ]
rameshrawalr2.noreply@github.com
ba214d989e2726501079dcc571ad87592b704bf7
ee30942018813203a23d33e8a5c871c73d51092e
/DNS/myproject/myproject/urls.py
fdffd138bc6384e277b9962a1fefe0530c630784
[]
no_license
vedavidhbudimuri/distribued-files-storage
637328aac89064415d795db4dc6fd873731aa7cb
908c97fa540c9e697982335d31d967dfd325f8fa
refs/heads/master
2021-01-01T04:27:06.741953
2016-04-16T16:12:57
2016-04-16T16:12:57
56,390,673
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
from django.conf.urls import include, url from django.conf import settings from django.conf.urls.static import static from django.views.generic import RedirectView from django.contrib import admin urlpatterns = [ url(r'^admin/', include(admin.site.urls)), # url(r'^mainserver/',include('mainserver.urls')), ...
[ "vedavidhbudimuri@gmail.com" ]
vedavidhbudimuri@gmail.com
5f5c03bcd52eb2348ea2bfae56c4eb554064760a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_210/263.py
07aad036673e87dff6e60957731771366d880485
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
import operator fin = open('B-small-attempt2.in', 'r') fout = open('output.out', 'w') tcs = int(fin.readline()) for tc in range(0, tcs): inptemp = fin.readline().split(' ') ac = int(inptemp[0]) aj = int(inptemp[1]) acs = list() ajs = list() for i in range(0, ac): acinp = fin.r...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
088eedf92a656f4be82b91f4262a65b418fdb70b
1d80afe967a6c44e84f9689b221f2cf52681b948
/Star2/urls.py
412486e15e57694d2ef7e24700a680ad0a237091
[]
no_license
Jddanan/Intro-to-Django---Star-Ex2---Colors-New
ede3e4ac79c4b1fde2a97be19d5d0b6f6b5cfb53
bd83802b18d615c3e95c499bccb56c14f1868aa3
refs/heads/master
2020-04-15T05:54:45.936305
2019-01-07T15:53:43
2019-01-07T15:53:43
164,441,636
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from django.conf.urls import url, include from django.contrib import admin urlpatterns = [ url(r'^colors/', include('colors.urls')), url(r'^admin/', admin.site.urls), ]
[ "jddanan@gmail.com" ]
jddanan@gmail.com
8ff8c60155eca0198afd7158b8f4dbb5f00a51d5
163cb8cae7d364a090565710ee9f347e5cdbf38f
/new_deeplab/utils/get_dataset_colormap_test.py
90005ebbf542c89e44a7dd4783811474cc59853d
[ "CC-BY-4.0", "CC-BY-3.0" ]
permissive
abhineet123/river_ice_segmentation
2b671f7950aac6ab2b1185e3288490bc5e079bc1
df694107be5ad6509206e409f5cde4428a715654
refs/heads/master
2023-05-01T11:52:10.897922
2023-04-25T22:55:04
2023-04-25T22:55:04
179,993,952
15
8
null
null
null
null
UTF-8
Python
false
false
3,955
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 applicab...
[ "asingh1@ualberta.ca" ]
asingh1@ualberta.ca
f0156b76cf3099ac72b52fb98f007b69dbf16a39
798ad9e31ce14218a2f8fe9c4b7562f9d85da38d
/p071080702.py
f7d39238296152af92f9aab6776c320dbdeb114c
[]
no_license
Cynventria/1076LAB
e5cb31a56aede69504da9751485fa61a83894736
ba910e8d4c80e7d82ed5298d3f389257ef6de6b1
refs/heads/master
2023-02-14T01:21:59.777276
2021-01-06T12:04:36
2021-01-06T12:04:36
298,172,727
0
0
null
null
null
null
UTF-8
Python
false
false
5,256
py
import tkinter top = tkinter.Tk() f1 = tkinter.Frame(top) f2 = tkinter.Frame(top) isEmpty = True isOperator = False isError = False operates = 0 var = tkinter.StringVar() var.set("0") def SetValue(): # 設定Label的值 Screen = tkinter.Label(f1, textvariable = var).grid(row = 0, column = 1) def Click(x...
[ "noreply@github.com" ]
Cynventria.noreply@github.com
833948d32526164c6d4daf30a7f26eb56483ba44
0a9d3510cb62b16be2eef756bfd4bd3dcd9ee867
/Final submission/fill-in-the-blanks 2.py
bfebc9d706d8c56948ff0f921c3c02f3a747b3ce
[]
no_license
nyi11a/Reverse-Madlibs
1a61fa84fea482ece1d7284fef33fe84e00a76e6
53392e9c04fa9ffe87ef7a68777433eb5e1f3bf5
refs/heads/master
2021-01-10T05:47:24.088016
2016-01-28T08:45:48
2016-01-28T08:45:48
50,571,184
0
0
null
null
null
null
UTF-8
Python
false
false
3,971
py
import textwrap nums_to_fill= ["-1-", "-2-", "-3-", "-4-"] #the blanks in each text levels= ["easy", "hard", "medium"] answers= [] answers2= ["string", "indexing", "subsequence", "method"] answers3= ["procedures", "calling", "defining", "parameters"] answers1= ["numbers", "assignment", "variables", "string"] text1= "...
[ "ms.yilla@gmail.com" ]
ms.yilla@gmail.com
fc8cf13f7df2944b5e908ef9041ecdfea4749e91
c4be966cc6d4aeaa4c950bcbc5a3cfc5540f533d
/p12p3.py
90741afc9e5811ecd1881e88f0acf8765da313f3
[]
no_license
ojhermann-ucd/comp10280
cabc865361928565c9618250bcb2c20a4b17411e
eae44e373b4c19550860381d90c4a96f8190eb7d
refs/heads/master
2020-05-20T18:48:06.064953
2016-11-25T12:26:59
2016-11-25T12:26:59
68,710,257
0
0
null
null
null
null
UTF-8
Python
false
false
2,548
py
""" Write a function that takes as its two arguments a number and a tolerance and, using the technique exposed in lectures, returns an approximation of the square root of the number that is within the tolerance. Write a program that prompts the user for a floating-point number and checks that the number entered is no...
[ "noreply@github.com" ]
ojhermann-ucd.noreply@github.com
4d7886f416baba1c84d182a66f20391da7c27df2
0d5c77661f9d1e6783b1c047d2c9cdd0160699d1
/python/paddle/fluid/tests/unittests/test_row_conv_op.py
07dcd108689ae6069e30fe22029258d192215549
[ "Apache-2.0" ]
permissive
xiaoyichao/anyq_paddle
ae68fabf1f1b02ffbc287a37eb6c0bcfbf738e7f
6f48b8f06f722e3bc5e81f4a439968c0296027fb
refs/heads/master
2022-10-05T16:52:28.768335
2020-03-03T03:28:50
2020-03-03T03:28:50
244,155,581
1
0
Apache-2.0
2022-09-23T22:37:13
2020-03-01T13:36:58
C++
UTF-8
Python
false
false
3,441
py
# Copyright (c) 2018 PaddlePaddle 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 app...
[ "xiaoyichao@haohaozhu.com" ]
xiaoyichao@haohaozhu.com
656d64575a9287e7b63813595a7bc26636cdd961
d3e00bc976e0afe6bd36a9129a3a23e65854b400
/Data/Code/scrapeDisease.py
e16855e7c176c609e6fd62fc8345f0f9d31a9015
[]
no_license
cs3285/p.ai
fbd6507e74c88374c15e382916c3cc3b00627156
3a229609344db21cbce80284f3d7e9c002edc231
refs/heads/master
2021-01-01T15:53:20.794944
2017-12-17T23:43:53
2017-12-17T23:43:53
97,725,022
0
3
null
2017-10-03T02:50:10
2017-07-19T14:19:45
Python
UTF-8
Python
false
false
5,543
py
from selenium import webdriver #from selenium.webdriver.common.keys import Keys #from selenium.webdriver import ActionChains import csv #import json import time #from pdb import set_trace as bp def saveTxt(content,animal,d_name): path = "C:\\Users\\IrisTang\\Documents\\zzz\\aip\\diseaseData\\html\\"+animal+"_"+d_n...
[ "noreply@github.com" ]
cs3285.noreply@github.com
7e3a1740255a8eafecb0e0d349e31173cc621957
29ebdf0a6b73a33933ee62cb727c1828c7004bbe
/Ecom/urls.py
ea8b3252d0761eba5a2247a098a5678c600c1f13
[]
no_license
Fahad0907/Ecommerce_with_drf
68d8099e849338ef24e86e89820c7168486730a7
f5f48c8a829f789851ad61c414814e9298b6e42a
refs/heads/master
2023-08-03T23:28:21.624113
2021-09-12T15:08:28
2021-09-12T15:08:28
398,205,650
0
0
null
null
null
null
UTF-8
Python
false
false
2,025
py
"""Ecom URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "fahad.aust09@gmail.com" ]
fahad.aust09@gmail.com
b02e4a047d216973392b32334bb53900a55a4fb9
3634a283149740a566352a204add30d1c09f3deb
/InvestmentGame/storedata.py
5305b1116f4df6c682ba619addcc33e3dad34264
[]
no_license
NTimmerhuis/InvestmentGame
84d495453bcdef346ae2646f39cddce29363af8e
e521771a3a242c97fb9446a97b0efd815b1a595e
refs/heads/master
2020-07-31T10:27:47.860355
2019-09-26T14:38:44
2019-09-26T14:38:44
210,573,905
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
import pandas as pd import numpy as np df = pd.read_csv("data.csv") # df.to_csv('hrdata_modified.csv')
[ "rutger.jansen@hotmail.com" ]
rutger.jansen@hotmail.com
7341475b0e14d6e3b4fbacb119a45a981acbfb0a
80e5fad060bb66b1985660f83299e9039ae715ca
/aidaijia_coupon/admin.py
b761ee350eaceb1eeee25361062c4fb47840e1f0
[ "MIT" ]
permissive
sebastianlan/wedfairy-api
838ea192fc1711027820ace1a20298d28be27794
3df532f282568148003b394dc8ea5ed00aea1632
refs/heads/master
2020-05-30T15:55:45.916937
2015-10-22T06:31:20
2015-10-22T06:31:20
41,350,100
1
1
null
null
null
null
UTF-8
Python
false
false
294
py
from django.contrib import admin import models @admin.register(models.CouponCandidate) class CouponCandidateAdmin(admin.ModelAdmin): list_display = ['id', 'url', 'used'] @admin.register(models.Coupon) class CouponAdmin(admin.ModelAdmin): list_display = ['id', 'url', 'created_date']
[ "sebastianlan.original@gmail.com" ]
sebastianlan.original@gmail.com
37999837ff6c3f69f482505a80570f97ef47569b
d43040239e2fc3733210519f0d639e6540d87b02
/api.py
29f87b86a01e64359f68c216046b39d92ccea917
[]
no_license
austintip/flasql-1214
37314317d12621245ea99fa96fefd25c0e649372
f7c0cb7dbd56f2c3df2e4589749bdfbaecd06842
refs/heads/main
2023-03-13T07:26:23.532643
2021-03-03T22:45:51
2021-03-03T22:45:51
344,265,204
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
from models import app, db, User from flask import jsonify, request @app.route("/") def home(): return jsonify(message="Welcome to my api") @app.route("/users", methods=["GET", "POST"]) def user_index_create(): if request.method == "GET": users = User.query.all() print(type(users[0])) ...
[ "austin.d.tipograph@gmail.com" ]
austin.d.tipograph@gmail.com
515272629218fe375177a125fdc060910ee2c669
8baec8070446821ed6292a4faea253b424349b8b
/tags.py
f8d16db25bd035395d0a101178f90a20233de82f
[]
no_license
TeresaAye/SQL_Wrangle_OpenStreetMap_Data_Final_Project
3269094a85686fbe18ffe71518fc1540d36b84e5
f7f6a10f3951dfd08f5e4f1cc5044c2a9bfbf0e5
refs/heads/master
2020-03-12T06:47:27.245800
2018-04-21T17:10:23
2018-04-21T17:10:23
130,493,236
0
0
null
null
null
null
UTF-8
Python
false
false
2,494
py
# -*- coding: utf-8 -*- """ Created on Sun Mar 26 17:45:40 2017 @author: TA2761 this one is ready for project """ # From DAND P3 Problem Set "case study" quiz "Tag Types" #!/usr/bin/env python # -*- coding: utf-8 -*- import xml.etree.cElementTree as ET import pprint import re """ Your task is to explore ...
[ "noreply@github.com" ]
TeresaAye.noreply@github.com