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
7c238c319c6f6d8ba62cadcb28faf56b3f32ab3b
b3c47795e8b6d95ae5521dcbbb920ab71851a92f
/AtCoder/AtCoder Beginner Contest 247/B.py
973864707113b363529868eab237a721c0f7de7b
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Wizmann/ACM-ICPC
6afecd0fd09918c53a2a84c4d22c244de0065710
7c30454c49485a794dcc4d1c09daf2f755f9ecc1
refs/heads/master
2023-07-15T02:46:21.372860
2023-07-09T15:30:27
2023-07-09T15:30:27
3,009,276
51
23
null
null
null
null
UTF-8
Python
false
false
954
py
from collections import defaultdict n = int(raw_input()) d1 = defaultdict(int) d2 = defaultdict(int) names = [] for i in xrange(n): name1, name2 = raw_input().split() d1[name1] += 1 d2[name2] += 1 names.append((name1, name2)) flag = True for (name1, name2) in names: if name1 == name2: if ...
[ "noreply@github.com" ]
Wizmann.noreply@github.com
84bd69b3aecc431f55e1f816dbfe988f0e2443fc
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/mlxnas004/question1.py
615d9525446c91fd8b2b6c646c028b7d0a290c6e
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
#nasha meoli #mlxnas004 #leap year x = eval(input("Enter a year:\n")) condition_1 = x%400 condition_2 = x%4 condition_3 = x%100 if (condition_1 == 0) or ((condition_2 == 0) and (condition_3 >= 1)): print(x,"is a leap year.") else: print(x,"is not a leap year.")
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
7be1adfbae6084374a99a6320ce4b8a69079caf5
cd65010c3142b693013984e1eef232b1a34fecc4
/main_project/hom.py
fd5263c216197fb6160c440260118ea3b7125d6b
[]
no_license
simofane4/tkinter
26f3a762807db31790477706249fcbf808bae029
628ed26198a5aa093488f0dc0ff8bbe255c2043b
refs/heads/master
2023-04-03T11:29:57.998185
2021-04-20T00:55:35
2021-04-20T00:55:35
359,479,930
0
0
null
null
null
null
UTF-8
Python
false
false
3,919
py
from tkinter import * import tkinter as tk from PIL import Image, ImageTk import time from tkinter import ttk from time import strftime app = tk.Tk() app.geometry("800x800+350+150") app.title("Gestion de Stock des Pièces de Rechange") app.configure(background='#0b2239') app.resizable(width=False, height=T...
[ "simofane4@gmail.com" ]
simofane4@gmail.com
04481c8e9c3a8ab5864fbd9d4073e09189de4c58
0953f9aa0606c2dfb17cb61b84a4de99b8af6d2c
/python/ray/serve/http_proxy.py
e129f5d60cab56228bd2a379ba2a9be0ab162c29
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
oscarknagg/ray
da3dc03e24945ff4d5718fd35fc1b3408d8907eb
20d47873c9e8f5bbb80fe36e5d16256c337c4db3
refs/heads/master
2023-09-01T01:45:26.364731
2021-10-21T07:46:52
2021-10-21T07:46:52
382,402,491
2
1
Apache-2.0
2021-09-15T12:34:41
2021-07-02T16:25:05
Python
UTF-8
Python
false
false
13,432
py
import asyncio import socket import time import pickle from typing import Callable, List, Dict, Optional, Tuple import uvicorn import starlette.responses import starlette.routing import ray from ray import serve from ray.exceptions import RayActorError, RayTaskError from ray.serve.common import EndpointInfo, Endpoint...
[ "noreply@github.com" ]
oscarknagg.noreply@github.com
c3c919f2d48788afdacf95e58dcf569a9f7e7671
15611d5e76b1f25e04755bc9370390cd11ee004c
/revision/data/awardfix.py
e2b6ce6b7c2c474cda9ce32b2e4c39df885e0d86
[]
no_license
paultopia/paulgowdercom
dd3d09fb027142188bf49ff3d65bbac600593ff1
b9583c4bae6b2db7274ebdaee799d7c675866160
refs/heads/master
2020-04-15T14:30:01.907498
2017-07-25T19:25:39
2017-07-25T19:25:39
51,056,099
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
import json with open('awards.json') as aj: old = json.load(aj) new = [{"award": x["name"], "year": x["year"]} for x in old] with open('awards2.json', 'w') as aj2: json.dump(new, aj2)
[ "paul.gowder@gmail.com" ]
paul.gowder@gmail.com
5dbe640a7962de2d943dfb53aed0930dc9248b69
1054d2c6ad221bd5e2ec1cbe496679d6eebd1264
/app.py
73a8e2a8d7dd19e7b933de6f8d4d90bc295a01c8
[]
no_license
feng147258/reconment
d2e96253716678b994eebd11b103b7ca89db5ea6
a1c8119235c6cc329e76f53f1bb0d4ec8e51f292
refs/heads/master
2023-07-14T12:00:18.878090
2021-08-13T08:58:57
2021-08-13T08:58:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,245
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/8/3 6:49 PM # @Author : Yingjun Zhu # @File : app.py.py from flask import Flask, jsonify, request from web.service.pageData import PageData from dataclean.dao.mysql_db import Mysql from web.entity.user import UserId from web.service.logData import Log...
[ "yingjun.zhu@esoon.com" ]
yingjun.zhu@esoon.com
3781aec365f284490c5bfb10dcd9c409d8e70233
69f5b9375c4ae3908cfbd29c0b6d10117de31e5d
/predict_frete.py
0f394a310a71fbbfcc1e22f6c47df92383025ca9
[]
no_license
deepsideoflearning/freight_predictive_model
f3a898eb87bf8f03ab15bce065b7945c060b0655
11965ce729d406a2748d81759e2dc686769d130f
refs/heads/master
2021-09-14T20:34:46.784241
2018-05-18T19:45:03
2018-05-18T19:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
from util import * import pickle import numpy as np df = pd.read_excel('novas_rotas.xlsx') data = select_cols(df) data = make_dummies(data) data = complete_cols(data) norm_data = np.asarray(data) X = norm_data[:, 1:] y_norm = pickle.load(open('y_norm.pkl', 'rb')) X_norm = pickle.load(open('X_norm.pkl', 'rb')) X = X_n...
[ "br_aquino@yahoo.com.br" ]
br_aquino@yahoo.com.br
e4275df4e69cf6565d2afddbef18539b2d4d99f3
4f875744ccae8fa9225318ce16fc483b7bf2735e
/google/findDuplicate.py
44e01dd1b67af92eaf0af5a61e728e840331fdcb
[]
no_license
nguyenngochuy91/companyQuestions
62c0821174bb3cb33c7af2c5a1e83a60e4a29977
c937fe19be665ba7ac345e1729ff531f370f30e8
refs/heads/master
2020-07-27T05:58:36.794033
2020-04-10T20:57:15
2020-04-10T20:57:15
208,893,527
1
0
null
null
null
null
UTF-8
Python
false
false
663
py
# -*- coding: utf-8 -*- """ Created on Sun Feb 2 20:34:41 2020 @author: huyn """ #609. Find Duplicate File in System from typing import List class Solution: def findDuplicate(self, paths: List[str]) -> List[List[str]]: d = {} for path in paths: item = path.split() root = i...
[ "huyn@cvm6h4zv52.cvm.iastate.edu" ]
huyn@cvm6h4zv52.cvm.iastate.edu
c8dfde3b6b267ec0e287ec27c1758df7672a6ea0
6050eb3d2b7833ac918440539b243a3456164de5
/start.py
f810e05f34956c350b5c783a0deb3bba107bcfe0
[]
no_license
Ma-Min-Min/tiide
56f1dfe2294d909b5cf03c8f5eed78c21f4be02b
c8eb57032579ba442173c388abc55b2e1148cbc3
refs/heads/master
2020-03-19T12:18:19.091235
2018-06-13T16:34:23
2018-06-13T16:34:23
136,508,098
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from flask import Flask myapp = Flask(__name__) @myapp.route("/") def hello(): return "Hello World" @myapp.route("/tiide") def tiide(): return "Welcome to TIIDE World" if __name__=="__main__": app.run()
[ "minmin12697@gmail.com" ]
minmin12697@gmail.com
112567ac517d406a0446057912ddeb86c659bb3f
87292fde6a47fcb326c25c2f99546653ef8345ed
/Frame/Model_Train.py
6a9fcc3fdf75f4b7c03e9070d13e2237092fbfd4
[]
no_license
amuge1997/NetManageAndTrainFrame
b07f4263ff3c769244921701f9ce862ff21ceddb
4ef5186f638381d69127308efa554db8cb7869fc
refs/heads/master
2022-09-18T02:42:42.226814
2020-05-25T04:04:28
2020-05-25T04:04:28
257,864,961
1
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
import torch.nn as nn import torch.optim as optim import time class Train: def __init__(self): pass def train(self, model, loader, dc_train_params,): lr = dc_train_params['lr'] epochs = dc_train_params['epochs'] lossf_sel = dc_train_params['lossf'] opt_sel = dc_train...
[ "amuge1997z@qq.com" ]
amuge1997z@qq.com
d65a31c823fa8efead544ec0a4f9c5345bc0530f
e6f0ebccf689ca4a3eb1b2349f0d9a8aa1af081e
/iblog/blog/models.py
0ca0d664c5dbb86c34d112017f146c6a8b048cb5
[]
no_license
pragy540/IBlog
d5175b485903b8c454b9ba6ea29b34f9af97ade3
1615972d2ccdaf2cb586486456e210f1c86fa355
refs/heads/master
2022-07-09T00:30:35.227168
2020-05-17T14:14:44
2020-05-17T14:14:44
264,673,322
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from django.db import models from django.utils.timezone import now # Create your models here. class Post(models.Model): post_id=models.AutoField(primary_key= True) author=models.CharField(max_length=100) title=models.CharField(max_length=150) content=models.TextField() timeStamp=models.DateTimeFiel...
[ "pragyaptl131996@gmail.com" ]
pragyaptl131996@gmail.com
92683c997042e0e8864518890e6c61563e68ef16
8cffac7fa29566c2ce8f4881e5cd8ee04a8b3476
/sample_pdfminer/table.py
cb270c2a18696cb70b634f0ec429619a3ce200d9
[]
no_license
tsukko/sample-prg-python
c4ca293430adfa7de8579a3fe7b16561a5091fb4
82afffd767c504f5560c9bb7979f4a90ec9c6289
refs/heads/master
2023-03-04T22:58:39.269926
2021-02-10T18:23:27
2021-02-10T18:23:27
189,197,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
from pdfminer.layout import LTCurve # 表 class LTTableRect(LTCurve): def __init__(self, text, bbox, stroke=False, fill=False, evenodd=False, stroking_color=None, non_stroking_color=None): (x0, y0, x1, y1) = bbox self.text = text LTCurve.__init__(self, 0, [(x0, y0), (x1, y0...
[ "tsukko@gmail.com" ]
tsukko@gmail.com
0fdb7a7c501f03fb7f776e4965cd4da3243f4ed9
741ee09b8b73187fab06ecc1f07f46a6ba77e85c
/AutonomousSourceCode/data/raw/squareroot/7ab7bec6-576b-4910-98d1-ec30c84244ab__calculate_square.py
0bf1d0137076df117eaec3d77052d26dce255f54
[]
no_license
erickmiller/AutomatousSourceCode
fbe8c8fbf215430a87a8e80d0479eb9c8807accb
44ee2fb9ac970acf7389e5da35b930d076f2c530
refs/heads/master
2021-05-24T01:12:53.154621
2020-11-20T23:50:11
2020-11-20T23:50:11
60,889,742
6
1
null
null
null
null
UTF-8
Python
false
false
1,150
py
# calculate_square.py from Tkinter import * import ttk def calculate_square(*args): value_in = float(number_in.get()) number_out.set(value_in * value_in) root = Tk() root.title('Calculate square') mainframe = ttk.Frame(root) mainframe.grid(column=1, row=1, sticky=(N, E, S, W)) mainframe.columnconfigure(0, weight=...
[ "erickmiller@gmail.com" ]
erickmiller@gmail.com
ff41fc1eefe176679341826517f20a6a0712d7c4
45b3fb7717c23b10d84efb3cfceb546cf0adaa97
/blog/posts/forms.py
b45ebd4e45d0c77d2ccca303794400d7874f7088
[]
no_license
IvanovVitalii/project_n
0a7ca549ff0b28162d9f133b8abd1de63f66c9a6
8a12956b7aebdba32129b341c3ad5320ae916b89
refs/heads/main
2023-06-15T03:40:17.673498
2021-07-15T10:25:10
2021-07-15T10:25:10
382,883,812
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from django import forms from posts.models import Post, Product class LoginForm(forms.Form): username = forms.CharField() password = forms.CharField(widget=forms.PasswordInput) class PostForm(forms.ModelForm): class Meta: model = Post fields = ('title', 'content',) class ProductForm(...
[ "ivanov.v.v13@gmail.com" ]
ivanov.v.v13@gmail.com
201ec0e778d39c619ca7d2db0f6caee17ddd1f95
d7363da78e6f1e8ae2c6abca3f845853756165d4
/src/adafruit_blinka/board/dragonboard_410c.py
a627309d6c32ff8ab6a13dc5b5cc9a989804b538
[ "MIT" ]
permissive
adafruit/Adafruit_Blinka
7a9ed88f39ff12082d1b46647fa8869b541fba49
009b352a3234339000c32d2e61e830455cf389fa
refs/heads/main
2023-08-09T06:25:02.178935
2023-07-28T16:45:40
2023-07-28T16:45:40
120,540,744
398
331
MIT
2023-09-14T20:32:23
2018-02-07T00:25:03
Python
UTF-8
Python
false
false
972
py
# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries # # SPDX-License-Identifier: MIT """Pin definitions for the Dragonboard 410c.""" from adafruit_blinka.microcontroller.snapdragon.apq8016 import pin GPIO_A = pin.GPIO_36 GPIO_B = pin.GPIO_12 GPIO_C = pin.GPIO_13 GPIO_D = pin.GPIO_69 GPIO_E...
[ "melissa@adafruit.com" ]
melissa@adafruit.com
c4813a92e720fa53d9eefd406d9c0a0a181b36c8
dead387c1bd3f3193d0f8ec980b9d8103cfc3113
/process_create.py
02daa051df5a1258131d48327e0473f9dcfc9986
[]
no_license
purndaum/web3
c593eaccbff50895e729acb2c342ee961345932f
96d57e8e7ff635113c237fd55bf7929de7fad281
refs/heads/master
2021-05-22T18:19:22.350482
2020-04-04T15:51:20
2020-04-04T15:51:20
251,065,088
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
#!python import cgi form = cgi.FieldStorage() title = form["title"].value description = form['description'].value opened_file = open('data/'+title, 'w') opened_file.write(description) opened_file.close() #Redirection print("Location: index.py?id="+title) print()
[ "noreply@github.com" ]
purndaum.noreply@github.com
6f7d487f3b03c0c24d82708a38a6e037e81955a4
a8dfac05ab2726f00db4630a47741768174e3e96
/Information-Extraction/QANet/config.py
400ebd2a5f4b68c3390c842208e7b0e8622f0754
[]
no_license
mohitsshah/documents-caf
0ba33a565ce272c3fb19a5cd388e8508825d15ba
7e457a2fc1f942de7ef2606feb860e6a952b41ef
refs/heads/master
2020-03-11T01:28:15.811371
2018-05-31T09:15:04
2018-05-31T09:15:04
129,692,354
0
1
null
null
null
null
UTF-8
Python
false
false
6,809
py
import os import tensorflow as tf import json # from prepro import prepro # from main import train, test, demo flags = tf.flags home = os.path.expanduser("~") train_file = os.path.join(home, "data", "squad", "train-v1.1.json") dev_file = os.path.join(home, "data", "squad", "dev-v1.1.json") test_file = os.path.join(...
[ "mohit@Sandeeps-MacBook-Air.local" ]
mohit@Sandeeps-MacBook-Air.local
5eb5529af8f60cd68b06b563bc7e299035d7dbe5
c4c20c4c7653da52249dac4d9ced3ffcbcb2c299
/aidooit_people/migrations/0003_personhistory.py
86541a6fb8ec385c16959d24326c34acf4ad2a3e
[]
no_license
rejamen/aidooit
4ebccdba65b07da29f13273c474dd45ddd78968d
31361307b70175d4e00ef4f7bbbb320ab7779551
refs/heads/master
2022-05-02T09:25:14.812540
2019-09-09T10:34:30
2019-09-09T10:34:30
191,284,990
1
0
null
null
null
null
UTF-8
Python
false
false
665
py
# Generated by Django 2.2.3 on 2019-07-11 20:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('aidooit_people', '0002_person_email'), ] operations = [ migrations.CreateModel( name='PersonHis...
[ "rejamen@gmail.com" ]
rejamen@gmail.com
057960e15bf592de3eaac0311f6e861f90dda900
2562c465fbf059b8846acbcb13442347c5fd058d
/src/pms7003.py
56b466c6621cbbd6345763080b9c6dc1bceeaac2
[]
no_license
dawncold/raspberry_pms7003
3d343836cb49851483eec6babe4bec62cd3260a4
f45571f2a7ad5c38fad86c873434188e1f582a5e
refs/heads/master
2021-04-27T00:12:18.906348
2019-08-04T13:37:18
2019-08-04T13:37:18
123,770,113
1
0
null
null
null
null
UTF-8
Python
false
false
2,854
py
#! coding: utf-8 from __future__ import unicode_literals, print_function, division import serial SERIAL_DEVICE = '/dev/ttyAMA0' HEAD_FIRST = 0x42 HEAD_SECOND = 0x4d DATA_LENGTH = 32 BODY_LENGTH = DATA_LENGTH - 1 - 1 P_CF_PM10 = 2 P_CF_PM25 = 4 P_CF_PM100 = 6 P_C_PM10 = 8 P_C_PM25 = 10 P_C_PM100 = 12 P_C_03 = 14 P_C_05...
[ "loooseleaves@gmail.com" ]
loooseleaves@gmail.com
c07ba76a6ce1700bed5939dd56790525d85ad59a
3e64d1fb4998fae24a4178d0925e0f30e30b00e7
/venv/lib/python3.8/encodings/utf_7.py
fabe5e915e16c26cdb4c57b6fa50ed8570d0dee2
[]
no_license
viraatdas/Model-Rest-API
a39e150c484c7136141f462932d741de5b45e044
a08500a28e4ad32094de6f88223088b9a9081d69
refs/heads/master
2022-11-12T15:33:06.624474
2020-07-05T05:04:50
2020-07-05T05:04:50
257,821,478
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/encodings/utf_7.py
[ "viraat.laldas@gmail.com" ]
viraat.laldas@gmail.com
0c9146f670808e930b36605e77ad014288be9991
e86e5d6a1524244cd79b7fdf104203b718d64c01
/Pyshell.py
a060c958c599d449e709229fff311d7dce906212
[]
no_license
ravijakhania13/Terminal_using_python
db101166930b8eac060fc4a5d8ee3e81a7085b25
15215daf2418b558019ed941573573006dd0165f
refs/heads/master
2020-04-04T20:45:48.760731
2018-11-05T17:59:32
2018-11-05T17:59:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,789
py
import os import sys import getpass import socket from pathlib import Path import itertools from more_itertools import * import re import fileinput import difflib import pwd import grp import time def load(): path = os.getcwd().split('/') str1 = "~" for i in path[3:]: str1 = str1 + "/" + i print ("\033[1;32;1m" +...
[ "noreply@github.com" ]
ravijakhania13.noreply@github.com
fc11ed2f1b37ee77de7206c64314dedf713c76d6
ac5d3907a4e1333dc89c8d037b555113fc950db3
/MainPage/migrations/0002_remove_post_preview_image.py
28ae2721e90c28c5d54196102ce4a980806528c4
[]
no_license
Shkuin/CyberWorld
29e12cf56c7aa58079d44a7d008efeed05fee872
153d834cc7e33b75e46c534bebfd187ee00a4852
refs/heads/master
2022-11-10T09:12:34.529883
2020-06-28T17:02:10
2020-06-28T17:02:10
273,578,432
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
# Generated by Django 3.0.5 on 2020-04-17 11:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('MainPage', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='post', name='preview_image', ), ...
[ "bioniklsn123@mail.ru" ]
bioniklsn123@mail.ru
a5c9186d5e1f0dbcda4d98c83b2cbd55c9188cc0
e849853a8abbce8b0c7594b4418407219242c8a7
/benchmark/train/original_data/resnet_101.py
b2fa10774b27e1866f9424413cf3cdbcbe7d51d1
[]
no_license
qihaoyang123/Automatic-Rail-Surface-Multi-flaw-Identification
736a000a2d47d18301983c8153903147b47207e8
c3fda9ef965564f9cb8fb5bf32b7849395753317
refs/heads/main
2023-06-17T04:36:46.136158
2021-07-08T13:57:19
2021-07-08T13:57:19
383,699,103
2
0
null
null
null
null
UTF-8
Python
false
false
14,320
py
# -*- coding: utf-8 -*- from keras.models import Sequential from keras.optimizers import SGD, Adam from keras.layers import Input, Dense, Convolution2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, Dropout, Flatten, merge, Reshape, Activation from keras.layers.normalization import BatchNormalization from keras.model...
[ "895714656@qq.com" ]
895714656@qq.com
e2239a0650d215016079290ab35e3ad0a2dd922f
bf36e89983f964b6f86eb015c5b25d07cb66dd5e
/orgs_and_ngos/views.py
90610dc734abcbedd7465883d20fcabf1333c4fa
[]
no_license
Real-DeviLs/NASA-Hackathon
6e01e395d27f84fa340854c1fb1105ef7436ec09
c2e9f4b3bf7307de9e91f52b86ed4de7ca800b32
refs/heads/master
2022-12-28T12:44:56.445085
2020-10-03T14:12:45
2020-10-03T14:12:45
299,040,361
0
9
null
2020-10-03T14:12:46
2020-09-27T13:40:01
CSS
UTF-8
Python
false
false
327
py
from django.shortcuts import render from .models import orgs,ngos # Create your views here. def orgs_view(request): contents=orgs.objects.all() return render(request,'orgs.html',{'contents':contents}) def ngos_view(request): contents=ngos.objects.all() return render(request,'ngos.html',{'contents':con...
[ "matharooamrit098@gmail.com" ]
matharooamrit098@gmail.com
1673bc08529da23e92015f740be5d341a4f5d8c4
1fcb09533ae683e905e528412efbbe5dc5923a7e
/Programming101/Week15/cms/website/education/urls.py
3e18dbada3c9beb85133a76b2fb1bbdbef37d4fc
[]
no_license
VikiDinkova/HackBulgaria
ac7ca668489986ca2262ced587801d8abd2de4f1
e2f226bf29b87f6d3b33bdc2b981e1224a8237aa
refs/heads/master
2021-01-10T14:34:03.201644
2016-03-24T17:03:45
2016-03-24T17:03:45
46,211,432
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.home), url(r'^course/new/$', views.add_course) ]
[ "vikidinkova94@gmail.com" ]
vikidinkova94@gmail.com
2bb192e13d0b897544b36848f736cf1666918f37
e8160ba62759fc390daf60d88146e95c0c0de1b4
/TestDjangoORM/settings.py
97366c9073674155c60edddae7971a54bbb699fe
[]
no_license
imranq2/TestDjangoORM
2a3a72aff36f03b6e2bb1a0f394a3499d2607bba
8d51d772f42635c0dbbd1d462057defaa9cdfbff
refs/heads/master
2023-01-05T23:07:07.662717
2020-11-03T04:36:44
2020-11-03T04:36:44
309,496,480
0
0
null
null
null
null
UTF-8
Python
false
false
3,510
py
""" Django settings for TestDjangoORM project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from p...
[ "imranq2@hotmail.com" ]
imranq2@hotmail.com
9ee4147b880a0b424def9590a021fd355e44ae93
e5c39d112c3240e747f6dfd3260673a02bd384e9
/manuscript_figures/script_per_figure/gmsl.py
73c93be55ece0b77a0911fc034aa19c29afc59ee
[]
no_license
carocamargo/regionalSLB
8057174d823d5f2cd7015fe1ea7a72921d2c780d
5b9e906b2e95928c9487750334b0b48ef95555cc
refs/heads/main
2023-04-09T11:21:50.423516
2023-01-09T12:28:36
2023-01-09T12:28:36
586,869,251
1
0
null
null
null
null
UTF-8
Python
false
false
5,097
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 3 16:09:27 2022 @author: ccamargo """ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 3 15:10:42 2022 @author: ccamargo """ # Import libraries import xarray as xr import numpy as np # import os import pandas as pd import s...
[ "carolina.camargo@nioz.nl" ]
carolina.camargo@nioz.nl
0eb5470f765d0b30122b58e73c2d8332fddc228e
ad9f741f31d07d448c0d963f4a2428f3c6ed7f4f
/Projetos/Projeto 2/knowledge_base.py
db7ffd003d72ef614e321a8e0782598cb2ebea57
[]
no_license
MekaMdan/IIA
3e8a912065f768789c912ef56c30681f1a23b740
2930d26408ad789495d49effe3c61534a5f667a6
refs/heads/master
2023-01-22T19:39:51.356246
2020-11-30T02:19:50
2020-11-30T02:19:50
292,424,237
0
0
null
null
null
null
UTF-8
Python
false
false
5,335
py
# Dor nos músculos / Frequênca dor na articulação / Dor de cabeça ALTA = 3 MEDIA = 2 BAIXA = 1 # Intensidade dor articular / coceira / discrasia / hipertrofia ganglionar INTENSA = 3 MODERADA = 2 LEVE = 1 AUSENTE = 0 # Edema na articulação EDEMA_RARO = 1 EDEMA_LEVE = 2 EDEMA_MODERADO = 3 EDEMA_INTENSO = 4 # Frequênci...
[ "nanda.sousa.m@gmail.com" ]
nanda.sousa.m@gmail.com
4b8356e015a92eae5abbff0173af027270ea6179
04bee90cccab4e628722413c687bd5c99e756074
/tron/cli/venv/Scripts/rst2s5.py
129e8b7e5543fe96021258c18f6d8d785c8d002d
[]
no_license
XUMO-97/backup
3275eff2edddbf4d0985bdd98e743c6c1ecab20f
757ca980df6d58cfd78f7f27731692ef1f8540b6
refs/heads/master
2020-04-25T15:42:30.259247
2019-02-25T10:42:27
2019-02-25T10:42:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
#!d:\tron\cli\venv\scripts\python.exe # $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Chris Liechti <cliechti@gmx.net> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML slides using the S5 template system. """ try: impo...
[ "xumo@onchain.com" ]
xumo@onchain.com
8f9c7c45bf173c6b1593881386614ed222c6c593
2bf43e862b432d44ba545beea4e67e3e086c1a1c
/tests/nemo_text_processing/zh/test_char.py
1ca553eca3d027fe254df28f4d9b682ca08f9b57
[ "Apache-2.0" ]
permissive
ericharper/NeMo
719e933f6ffce1b27358bc21efe87cdf144db875
f1825bc4b724b78c2d6ca392b616e8dc9a8cde04
refs/heads/master
2022-10-06T01:45:21.887856
2022-09-14T19:09:42
2022-09-14T19:09:42
259,380,135
1
0
Apache-2.0
2022-09-20T18:01:57
2020-04-27T15:54:20
Python
UTF-8
Python
false
false
1,257
py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. 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 # # Unl...
[ "noreply@github.com" ]
ericharper.noreply@github.com
d30eee20a1d1d88fce083765411f82cec5f9d46b
cec0eab05940e68e110c9afc0ae953e8d21c2a79
/app/main/views.py
3b1658c374e21d0777f387570a6809032c50220f
[ "Apache-2.0" ]
permissive
sunyyangy/AutoLine
6e9c8da62e8201c091a146546226e8923c63716d
4977ff70c1fc056fca022505d07bc7d6e06de995
refs/heads/master
2020-03-16T22:04:52.493028
2018-05-11T08:59:31
2018-05-11T08:59:31
133,025,915
1
0
null
2018-05-11T10:28:44
2018-05-11T10:28:44
null
UTF-8
Python
false
false
2,305
py
# -*- coding: utf-8 -*- __author__ = "苦叶子" """ 公众号: 开源优测 Email: lymking@foxmail.com """ import os from flask import render_template, send_file from flask_login import login_required, current_user, logout_user from . import main from ..utils.runner import run_process from ..utils.report import Report @main.rou...
[ "lyy@LYM.local" ]
lyy@LYM.local
c455b8a4833c85112dc148d24cb008acdef40d49
1851a11bca1071296fd2ac19c074601669a4f07d
/qwarie_customization/models/events.py
4c0a629271d4b6b134899dfcf6550049da097990
[]
no_license
devalex365/odoo-xelaved
78e874357971ac0c1d969d380e8daf4ab9ac068c
3d63437c131641ce05ba23797908a1771857a6c1
refs/heads/master
2021-04-30T00:16:27.692712
2018-03-06T17:40:27
2018-03-06T17:40:27
121,572,089
0
1
null
null
null
null
UTF-8
Python
false
false
31,531
py
# -*- coding: utf-8 -*- from openerp import _, fields, models, api from datetime import datetime import calendar import uuid import urlparse import logging _logger = logging.getLogger(__name__) class event_event(models.Model): _inherit = 'event.event' @api.model def _default_course_id(self): even...
[ "noreply@github.com" ]
devalex365.noreply@github.com
8a4434b6cc0d7ce9aba791e1092bf4db1b672060
69ac2db29e1953d34d1965b9b09cbb6b2e44622a
/ase/gui/gui.py
d2e7015af3314323f4dc7eaeba5a70c856766657
[]
no_license
ArianFluido/Project-2-PHYS-A0140
01e13dbf30ce55f46f8060ffe23bc9f29bcb87fe
6d7ec3b1a09d83f330434df1ce91e6c52491cd22
refs/heads/master
2022-08-02T14:36:34.647227
2020-05-26T10:42:56
2020-05-26T10:42:56
264,162,598
0
1
null
null
null
null
UTF-8
Python
false
false
48,937
py
# husk: # Exit*2? remove pylab.show() # close button # DFT # ADOS # grey-out stuff after one second: vmd, rasmol, ... # Show with .... # rasmol: set same rotation as ag # Graphs: save, Python, 3D # start from python (interactive mode?) # ascii-art option (colored)| # option -o (output) and -f (force overwrite) # surfa...
[ "kermana1@vdiubuntu020.org.aalto.fi" ]
kermana1@vdiubuntu020.org.aalto.fi
3dcca22538909e4ca7c9e1f85a4a19c897d9ccc0
bf4178e73f0f83781be6784d7587cb34a38d6edd
/platform/radio/efr32_multiphy_configurator/pro2_chip_configurator/src/si4010_cfg_calc/si4010cfgcalcsecurity.py
3da55602e5855910430be093d1a8e3ae2b503b84
[]
no_license
kolbertv/ZigbeeSiliconV3
80d70515e93be1413c24cdcb3485f50c65a1564b
ab0bd8d4bb6c1048adef81d0e66d96006c2fabd9
refs/heads/master
2023-01-02T07:18:01.393003
2020-10-25T15:33:08
2020-10-25T15:33:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,459
py
''' Created on August 25, 2013 @author: shyang ''' __all__ = ["Si4010CfgCalcSecurity"] class Si4010CfgCalcSecurity(object): ''' classdocs ''' OEM_Key16_Table = [ [0x63, 0xB4, 0x92, 0xCD, 0x42, 0x20, 0x03, 0xBC, 0x73, 0x29, 0x09, 0xBB, 0xFF, 0x6A, 0xDC, 0x6D], [0x63, 0x4B, 0x92, 0xCD, ...
[ "1048267279@qq.com" ]
1048267279@qq.com
8ee343a9529c4a9d48aa41f9d1404b81f9747738
ad3737fdd3fd04dc93e6651277d8ce7ca9c31264
/neutron-sriov/neutron/plugins/vmware/vshield/edge_appliance_driver.py
782a528e740f3193402834faf1b14f1fa489178e
[ "Apache-2.0" ]
permissive
VeenaSL/sriov
15ec75bda045a26d0a9b577d3b446914518bafdd
f2850ef8e327250bc6e5d12eb1e3413e04f67154
refs/heads/master
2021-01-10T15:25:46.294154
2015-05-26T10:03:04
2015-05-26T10:03:04
36,286,683
0
1
null
2020-07-24T06:10:58
2015-05-26T09:45:52
Python
UTF-8
Python
false
false
25,894
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2013 VMware, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
[ "mveenasl@gmail.com" ]
mveenasl@gmail.com
090dd601c11a36a06bf98fdc0f553def999da558
c2f58e28937d88c76182f4950cb8662c4ed39d52
/celery_worker.py
4f0e5ea87c4dda9e6238755191c13b07244bfb52
[]
no_license
cacods/flask-chat
537ea855fa8fc11f5142576b4debd12668c35c6b
ad80967223543016ff7d2b3ef1d77173d3c89c96
refs/heads/master
2023-06-16T12:52:25.072104
2021-07-15T23:41:51
2021-07-15T23:41:51
386,438,505
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
from chat_app import celery, create_app app = create_app() app.app_context().push()
[ "cacods21@gmail.com" ]
cacods21@gmail.com
4a4eadcb8c18b97d45799ba9e8da0619aa28ea5f
298e47d0ffad9ac374f7e6fecf1eb20f340f680b
/django/realest_estate/backend/realtors/views.py
ced5a78d726a7f34d70164a2b4a15436d74a678e
[]
no_license
nahidsaikat/Learning
7be26eba70a9e8a132424cfab828477792a243b7
75c7a45d8f7c61a28c8ed29438b1765f2761610a
refs/heads/master
2023-01-29T14:22:09.508428
2022-01-16T11:32:31
2022-01-16T11:32:31
155,268,879
1
1
null
2023-01-19T16:33:08
2018-10-29T19:27:54
JavaScript
UTF-8
Python
false
false
703
py
from rest_framework.generics import ListAPIView, RetrieveAPIView from rest_framework import permissions from .models import Realtor from .serializers import RealtorSerializer class RealtorListView(ListAPIView): permission_classes = [permissions.AllowAny] serializer_class = RealtorSerializer queryset = Rea...
[ "nahidur.rahman@newtonx.com" ]
nahidur.rahman@newtonx.com
89787b75cd0410301edae68711d91b62561895ba
14176826a610eec5df62f6637e45a90cf2ffe931
/tfoms/management/commands/shit_03.py
ee4ad837b1d4b4040ea081dddc01cba7c9046717
[]
no_license
demidrol911/medical_registry
4b38079ba0224719e6a3fae993fb675c0364f7b7
608758652266395e5aaeafd971ba76fac320ebd3
refs/heads/master
2021-01-21T02:21:05.356206
2018-02-19T00:41:36
2018-02-19T00:41:36
23,862,923
0
0
null
null
null
null
UTF-8
Python
false
false
5,237
py
#! -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from django.db.models import Sum from django.db.models import Q import datetime from tfoms.models import (ProvidedService, ProvidedEvent) import csv from xlutils.copy import copy from xlrd import open_workbook from xlwt import easyxf def m...
[ "SFHSHHT@DSG" ]
SFHSHHT@DSG
d1dd3215917e4cb08a2834d996811daf313c8420
586d8b2ee7e531537ae3ec2a4683c595ced09207
/bin/django-admin.py
8782171b2a973d44b0093762c5e18b5260703599
[]
no_license
nicholasmercurio/Pastey
89dfbbbaa3461324dbc2c52a63bd7471b9a883c4
7432364e1bbc6ce7a90913a2704b0776ebf93640
refs/heads/master
2021-10-23T08:58:08.353531
2019-03-16T08:30:16
2019-03-16T08:30:16
174,892,280
0
1
null
null
null
null
UTF-8
Python
false
false
144
py
#!/home/nick/Dev/Pastey/bin/python3.6 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "nick@nicholasmercur.io" ]
nick@nicholasmercur.io
55b6530372d2b8c8b937644e163e34066b11837f
f7db1796a9430e4c23e3368be2af49cd533c14bd
/hidef/logger.py
4e229eae8ae32e57d6fdeab2d13535762a30b4f4
[ "BSD-3-Clause" ]
permissive
fanzheng10/HiDeF
145640898d75a34bb6fae0b78987697a2ec258f7
bf2f1a67b21fdaa375a5c1d428004cd7c9686341
refs/heads/master
2023-05-14T18:24:51.041018
2023-05-09T15:09:59
2023-05-09T15:09:59
347,454,671
7
5
BSD-3-Clause
2023-05-09T15:10:00
2021-03-13T18:59:50
Jupyter Notebook
UTF-8
Python
false
false
10,547
py
"""This module defines class that can be used a package wide logger.""" import sys import math import time import os.path import logging import datetime import logging.handlers import numbers __all__ = ['PackageLogger', 'LOGGING_LEVELS'] LOGGING_PROGRESS = logging.INFO + 5 LOGGING_LEVELS = {'debug': logging.DEBUG, ...
[ "shz66@pitt.edu" ]
shz66@pitt.edu
d668a2191518d04bcc9df704986600a8dfe6d936
d6088b0160d1c0fc70a9c8a865a0825141703ea9
/urls.py
197d17e671d1a43dcc2f6d02d5eed97cbeb64ec3
[]
no_license
pattern/simple-django-application
1067cbc912e19d6e381882d5927b0d425c970239
32eb8f9f10c2cea21976dedf116efd72c16379d5
refs/heads/master
2020-05-16T02:05:52.367785
2011-08-11T19:14:04
2011-08-11T19:14:04
2,125,199
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
from django.conf.urls.defaults import patterns, include, url from simple-django-application.views import * # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', # Examples: url(r'^$', home, name='home'), # url(r'^simple-dj...
[ "pickelman@gmail.com" ]
pickelman@gmail.com
afdfc45217af92feca35e8df5f3b06c51cf1a18f
32cb84dd41e4be24c065bb205f226f9b121a6db2
/feedback/urls.py
523511566940bbd365ca5900079a62fd10f87512
[]
no_license
InformatykaNaStart/staszic-sio2
b38fda84bd8908472edb2097774838ceed08fcfa
60a127e687ef8216d2ba53f9f03cfaa201c59e26
refs/heads/master
2022-06-29T11:09:28.765166
2022-06-13T21:56:19
2022-06-13T21:56:19
115,637,960
1
0
null
null
null
null
UTF-8
Python
false
false
145
py
from django.conf.urls import patterns, include, url import views noncontest_patterns = [url(r'^staszic/judging/(?P<jid>\d+)/$', views.judging)]
[ "hugo@staszic.waw.pl" ]
hugo@staszic.waw.pl
b12ac59426ccc36f6b9534995fe07d7f4cbb4b03
870ffac5df4f386c2d79263d8424d1e2c3844837
/hal/player.py
8f716862f6371e78705ee5d42f69119cbe38669b
[]
no_license
easying001/DcsDemo
5f077dffaa1f6f993928d72977968f0aa12e21e1
e5811bd48deb5d16b4a12774d8e9e13e71d5eea2
refs/heads/master
2021-06-15T21:57:10.159855
2020-07-30T07:11:13
2020-07-30T07:11:13
98,290,390
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
import pyaudio import PyMedia import wave class Player(): def __init__(self): print "Player Initialized" def play_file(self, path): chunk = 1024; f = wave.open(path, "rb") p = pyaudio.PyAudio(); stream = p.open(format = p.get_format_from_width(f.getsampwidth()), ...
[ "yangjie11@baidu.com" ]
yangjie11@baidu.com
0672494c6a8366c0cd36200301233ebad4414e09
8e008a799fb5dc64f9c6b68f01255483e9140f7f
/apps/operation/migrations/0001_initial.py
5d0316c6f1b6638b0509a3907d828d2b4a5b1772
[]
no_license
eggsyy/EggXonline
5ec72c811b8b9041274486eb9def70033f947ebc
b115aa5f5b647c195a79d71db276656dca586229
refs/heads/master
2021-01-19T16:45:29.627382
2017-09-04T12:53:50
2017-09-04T12:53:50
101,025,674
0
0
null
null
null
null
UTF-8
Python
false
false
4,711
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-08-23 05:28 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ...
[ "464063606@qq.com" ]
464063606@qq.com
114051973dfb7998dcd083c97d150316f7106c68
5399a0be824d32475b6cf643d6cc1203a4752141
/main.py
ca5f015a6cfc287e8dd4d75ecd69d7693e905bed
[]
no_license
dalon1/python-firebase-db-test
5dcbb3700567bcf33d9bc7bf780a8020e10f2752
e16a931fab2ec805f7d16475ba3b8727bb771224
refs/heads/master
2023-02-08T07:30:34.720433
2020-12-31T21:30:02
2020-12-31T21:30:02
325,874,492
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
# Importing packages import requests import yaml # 1. Reading config file with open("config.yml") as file: config = yaml.load(file, Loader=yaml.FullLoader) print("Config Object: " + str(config)) # 2. Calling data source rest api (e.g. country-rest-api) and parsing data api_response = requests.get(config.get("dat...
[ "dalon@Katrinas-MacBook-Air.local" ]
dalon@Katrinas-MacBook-Air.local
0889b53048122ca1f6ccc0de3350bdcedd767098
3432ac89d63221d61eb14ee0a3c6871e84cb66be
/p3ong.py
b3e6ccacf8107122e159c3624341acdccba0c0f9
[]
no_license
eliseong/Othello
7e7b1109d5d58512c3358a387fe5ded2c368b9ae
934b076a1eaeebf97411456043999bdb08183241
refs/heads/master
2022-03-20T07:06:28.181837
2019-09-03T09:07:26
2019-09-03T09:07:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,347
py
# Jan 12, 0952 version import sys import random import math EMPTY, BLACK, WHITE, OUTER = '.', '@', 'o', '?' # To refer to neighbor squares we can add a direction to a square. N, S, E, W = -10, 10, 1, -1 NE, SE, NW, SW = N + E, S + E, N + W, S + W DIRECTIONS = (N, NE, E, SE, S, SW, W, NW) PLAYERS = {BLACK: "B...
[ "noreply@github.com" ]
eliseong.noreply@github.com
05e9b18ceb97396b31ed4ea4d7f88b2d2b449755
171d2420681c1fbcd0ecfa030916958382edbfb0
/loaders.py
fa3dac65e25473446c93dee8643eb1274b2febab
[]
no_license
sicarul/argentum_assets_converter
1ae70076938d8d1182d36bc805ae0794ecec53b7
ac557b208b1c09dc8a7c721fd1941418d8c4bcae
refs/heads/master
2021-01-23T15:53:20.536353
2014-04-09T21:02:22
2014-04-09T21:02:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,570
py
import os, re import ConfigParser DIR_CONVERTED = 'converted' DIR_ASSETS = 'assets' DIR_BODIES = os.path.join(DIR_ASSETS, 'bodies') DIR_HEADS = os.path.join(DIR_ASSETS, 'heads') DIR_METADATA = os.path.join(DIR_ASSETS, 'metadata') DIR_TILESETS = os.path.join(DIR_ASSETS, 'tiles') DIR_INPUTINI = 'INIT' DIR_INPUT_TILESE...
[ "pabloseibelt@gmail.com" ]
pabloseibelt@gmail.com
65ce3e109266778a7e4bbac0c6f09d03de0dd1da
a16bb446854335c769901559156ee22a9f53e021
/project1/urls.py
deb8ad5afe13f2ffa60f97d8d6746169cf6c7de0
[]
no_license
devanshi12kar/My_new_website
4b3edd09188ecd02b3c02273392015d0b3c0435f
21f910b1c18b86202a14b62a58e4f0e8c52a7842
refs/heads/master
2020-03-28T23:23:18.862213
2018-10-03T12:32:37
2018-10-03T12:32:37
149,288,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
"""project1 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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-base...
[ "devs@firststart.com" ]
devs@firststart.com
e32b8417c5e29a4c4747ff2195cf73af2b296957
b1a3a981f1d7255a583fd04a9ba979d24310ef86
/6th-sem/OS/project/short_term_scheduler3.py
31453e803d0f4e8749950b906787a6b274281489
[]
no_license
asutosh97/college-labs
ee2fb48db79370d51ed73a9f9b44960b451a2268
7ea6a4fb65785ae6a15efb92e97a7baafb7ac722
refs/heads/master
2021-09-11T15:35:59.281738
2018-04-09T11:00:05
2018-04-09T11:00:05
99,686,272
3
0
null
null
null
null
UTF-8
Python
false
false
7,916
py
#!/usr/bin/python3 ''' Program to simulate different scheduling alogrithms ''' from queue import PriorityQueue from functools import reduce import sys, operator def insert_to_ready_queue(ready_queue, criteria, process, priority_counter): priority_counter += 1 process['rr_priority'] = priority_counter ready_queue.pu...
[ "asutoshsahoo786@gmail.com" ]
asutoshsahoo786@gmail.com
b2b2047436cb6ef21e42f5f64cafea79172a6929
f4099d24541d368f30b687cc5004c1b5f92770d6
/src/setup.py
cbbfcd700c425e504703b66e876524704df54a5b
[ "Apache-2.0" ]
permissive
pilgrim2go/synapse-tools
2545bf5e32bc9ce4d7f5faf2cad76672faaf6a46
e493ead34741c3a9ae2caedd5c1de4aea7181a8b
refs/heads/master
2021-01-12T15:18:01.950776
2016-05-18T03:47:24
2016-05-18T03:47:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='synapse-tools', version='0.10.1', provides=['synapse_tools'], author='John Billings', author_email='billings@yelp.com', description='Synapse-related tools for use on Yelp machines', packa...
[ "krall@yelp.com" ]
krall@yelp.com
8d0bf49c97190af924336ce053ddf32447c6894a
d0773c14db3507831e9181f5aa4f4b11adadd3f7
/EDIOrderingMessage2003-Order2.py
5b72cd27d61d7f79eab35c721bddd6910932e961
[]
no_license
NegarBatenipour/Semantic-EDI
3adc62e887a6ef4e25206f37e76e79bc7f5122ed
b23d4645052402c5b0da023d8136616e95d33a17
refs/heads/master
2021-06-03T19:49:34.785490
2021-02-08T21:59:28
2021-02-08T21:59:28
145,393,506
0
0
null
null
null
null
UTF-8
Python
false
false
78,854
py
# -*- coding: utf-8 -*- from rdflib import Graph, Literal, BNode, Namespace, RDF, URIRef from rdflib.namespace import DC, FOAF from rdflib import Namespace n = Namespace("http://example.org/") g = Graph() # Create an identifier to use as the subject for Donna. Order1 = BNode() s1 = [] UNH = [] UNHElements = 0 UN...
[ "noreply@github.com" ]
NegarBatenipour.noreply@github.com
4c84bb0dd04ef0a5558dab96f89e9a850724abde
0386591b51fdbf5759faef6afb8729b64a3f1589
/layerserver/widgets/modificationdate.py
3b9aab935d42e5aa5a0047c815f565c8306afad5
[ "BSD-3-Clause" ]
permissive
giscube/giscube-admin
1e155402e094eb4db1f7ca260a8d1402e27a31df
4ce285a6301f59a8e48ecf78d58ef83c3827b5e0
refs/heads/main
2023-07-11T17:23:56.531443
2023-02-06T15:12:31
2023-02-06T15:12:31
94,087,469
7
1
BSD-3-Clause
2023-07-07T13:22:09
2017-06-12T11:12:56
Python
UTF-8
Python
false
false
556
py
from datetime import datetime from django.utils.timezone import get_current_timezone from .date import DateWidget class ModificationDateWidget(DateWidget): base_type = 'date' @staticmethod def update(request, instance, validated_data, widget): validated_data[widget['name']] = datetime.now(tz=ge...
[ "abusquets@gmail.com" ]
abusquets@gmail.com
897ec77c9b38bdda3418a663f5ce762681600b2d
7cd586f68f38d8d3be11b0909a1c0cd84ff9fa7a
/posts/migrations/0034_slider_color.py
7117ec0321b91b65cd941f53d4ee9ff25b0f655a
[]
no_license
mehmetsan/WebsiteProject
f0732d7567b67184a8f2a58d3c0ca6978f9fbf32
a384047551e349fc5ddadb6b9a1d821c8d4b17c7
refs/heads/main
2023-03-01T09:45:37.672996
2021-02-13T15:17:31
2021-02-13T15:17:31
332,440,964
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 3.1.3 on 2021-01-14 11:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0033_auto_20210114_1425'), ] operations = [ migrations.AddField( model_name='slider', name='color', ...
[ "trabzonpower@gmail.com" ]
trabzonpower@gmail.com
ce9aad8e1b77a986dc7ea57c08f77bee0d66e97c
600191b4a3106c27f9c73bb5cd7df5c1e3d377f4
/Webcam-Face-Detect/webcam.py
98a736c64ae4944d1aadf8e87d2f1d444d2434f7
[]
no_license
migueleci/Voice-Recognition
79c8ea3f3df3a38167e6d42d48756caa24dfa924
af21ee1e6346830ea416399d7624a84a6262dee9
refs/heads/master
2021-01-10T06:31:05.035623
2015-10-08T04:26:57
2015-10-08T04:26:57
43,508,693
0
0
null
null
null
null
UTF-8
Python
false
false
5,237
py
import cv2 import sys import os import numpy as np from PIL import Image #cascPath = sys.argv[1] cascPath = '/home/lenovo/Documentos/Webcam-Face-Detect/haarcascade_frontalface_default.xml' faceCascade = cv2.CascadeClassifier(cascPath) video_capture = cv2.VideoCapture(0) recognizer = cv2.createLBPHFaceRecognizer() re...
[ "miguelromero@MacBook-Air-de-Miguel.local" ]
miguelromero@MacBook-Air-de-Miguel.local
5ce7593024740e2adbdcd509987557c207679cb2
edb527ecdc408ddbddd9750b0673997644d4011e
/evalml/utils/cli_utils.py
9416c1110f5422a5e89bfeb2fadc13176a045ae6
[ "BSD-3-Clause" ]
permissive
ctwgL/evalml
5cf21d6f6ddcb729c0547fb21d1080eec4e3012e
b239dbc741bd77228921a677ab52a659a1b16876
refs/heads/main
2023-07-18T18:42:52.971123
2021-09-14T01:12:48
2021-09-14T01:12:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,293
py
import locale import os import platform import struct import sys import pkg_resources import psutil from psutil._common import bytes2human import evalml from evalml.utils import get_logger def print_info(): """Prints information about the system, evalml, and dependencies of evalml. Returns: None ...
[ "noreply@github.com" ]
ctwgL.noreply@github.com
acd4fb11db9c4c18e77570e8ced8ad3bfa510852
b5eba8d20db69624298bffba1c0572553174a9d7
/kattis/SolvingCarrots.py
adc50c5d88d1fb394172f76acccf236c681d6fe6
[]
no_license
kvntma/coding-practice
a7ef1bde165df8ec3932a2f863b37c8f44de87a4
9e568e479b6cac144b1c7c87b1232093f2209090
refs/heads/master
2021-07-21T21:14:18.783812
2020-10-24T18:30:57
2020-10-24T18:30:57
225,339,540
2
0
null
null
null
null
UTF-8
Python
false
false
75
py
import sys carrots = sys.stdin.readline().split() P = carrots[1] print(P)
[ "kvntma@gmail.com" ]
kvntma@gmail.com
424480239805faf235cfee036b138f53a3666030
8d6c31030552389225d7800243209acdd414cee1
/city/mainapp/migrations/0004_auto_20210718_1531.py
6fe21bb16ad661f1ec60f0ddf94e38714ebf0cd3
[]
no_license
DREAD21/siteproject
f0d15fd011de47a1f21d4ea0fdac844f2a98c607
10c2ee41c5a39455e6c66ce0e132435b6bb8b337
refs/heads/master
2023-07-29T23:56:52.101614
2021-09-16T19:32:43
2021-09-16T19:32:43
399,522,481
1
0
null
null
null
null
UTF-8
Python
false
false
869
py
# Generated by Django 3.2.5 on 2021-07-18 12:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainapp', '0003_advices_aquapark'), ] operations = [ migrations.CreateModel( name='cinema', fields=[ ...
[ "nickit.crasnov@gmail.com" ]
nickit.crasnov@gmail.com
ad7953da5cd8892ecfea3d2bac68630280a51843
69198c187d7d3be82164acb1fa4dd5bad8b14a1f
/src/auto_test/units/tools.py
c0388d0418c33ec3f5c4116ce12c31c2229be92c
[]
no_license
dahai33/my_python
64067633f99369fdffa680afff185f2fb579e4c8
56a49b79c61fce828225971a8e2855a95540f954
refs/heads/master
2020-03-21T09:11:46.640149
2018-08-06T16:29:55
2018-08-06T16:29:55
138,387,159
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
#!/usr/bin/python3 #Author:刘海涛 # --*-- coding: uft-8 --*-- # @Time : 17:38 import os import src.auto_test.units.log as L import yaml class devices_id(object): def __init__(self, device_id=""): if device_id == "": self.device_id = "" else: self.device_id = "-s %s" % de...
[ "liuhaitaodahai@sina.com" ]
liuhaitaodahai@sina.com
6f1547fab3b6b91f274d8e7a04e2ac3e28693ae2
3b593b412c663a34784b1f60ad07cd2ee6ef87d1
/month01/python base/day12/code03.py
19ca59f6f051da2f348473bcdba1941fb51fd14e
[]
no_license
ShijieLiu-PR/Python_Learning
88694bd44aeed4f8b022202c1065342bd17c26d2
ed01cc0956120ea287c51667604db97ff563c829
refs/heads/master
2023-05-22T16:35:24.252313
2021-06-16T10:56:21
2021-06-16T10:56:21
337,445,284
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
""" 运算符重载 """ print("a" + "b") class Vector: """ 向量类 """ def __init__(self, x): self.x = x def __add__(self, other): # self.x += other # return self return Vector(self.x + other) def __str__(self): return "Vector(%d)" % self.x v01 = Vector(10)...
[ "shijie_liu@outlook.com" ]
shijie_liu@outlook.com
a76fb96c1dee7dc23e37475cf091be28ee2f0534
be17b72807cb9b752dd36e7d1efc3f9bb058ed6a
/krom-oes/.bin/wlisten1
8f646d37e450e4c137a33bf82d852c6864480530
[ "MIT" ]
permissive
lakshyabhaintwal/my-theme-collection
6835f5b75aa77a6e35aec79ceedf44a23a0c550d
73446015ef44ceb71cf6bdb8ba5f0b46071cf1a3
refs/heads/master
2022-01-08T19:30:06.349839
2019-06-17T06:06:34
2019-06-17T06:06:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
706
#!/usr/bin/python3 import Xlib import Xlib.display disp = Xlib.display.Display() root = disp.screen().root NET_WM_NAME = disp.intern_atom('_NET_WM_NAME') NET_ACTIVE_WINDOW = disp.intern_atom('_NET_ACTIVE_WINDOW') root.change_attributes(event_mask=Xlib.X.FocusChangeMask) while True: try: window_id = root....
[ "hasbeeazam@gmail.com" ]
hasbeeazam@gmail.com
6cbd914c60db7675f24b394b6a519421c5b8c581
791b0bfa6e62991c50c77aa3c0da54704633725b
/eguchi_etal_2019_natgeo.py
dbc0109169d38951b0501475eb8ea8a93beccaae
[]
no_license
sherry0451/kan
d78851d2d053ee6a2383271d2024ebc5f05f8a38
88ff568672fcd1b4d51c767f7c7af2fb024c511b
refs/heads/master
2022-04-21T06:50:26.005403
2020-04-24T00:47:46
2020-04-24T00:47:46
258,367,165
0
0
null
null
null
null
UTF-8
Python
false
false
15,208
py
# Python Script to run C-O cycle model from Eguchi et al. 2019 Nature Geoscience. Model is designed to track #C fluxes, reservoirs, and isotopes, as well as atmospheric O levels. Model was #designed to investigate the relationship between large atmospheric #oxygenation events and large C isotope excursions. In the ...
[ "noreply@github.com" ]
sherry0451.noreply@github.com
7897e7d4cadfa5c63f6555c720fe7a1d117dfa50
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/statsmodels/2017/12/markov_regression.py
ef11b49627e507701b1babda3e3d9963f998bb8c
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
16,426
py
""" Markov switching regression models Author: Chad Fulton License: BSD-3 """ from __future__ import division, absolute_import, print_function import numpy as np import statsmodels.base.wrapper as wrap from statsmodels.tsa.regime_switching import markov_switching class MarkovRegression(markov_switching.MarkovSwit...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
b62b9d12528fab30ba13d52d4ab9d783c4f58689
e7c84801d7755806e58795d5fe51f7a924815ffc
/python-image-watermark/python-watermark-image.py
86d4a5401ae25cc33b68205ae57687d2b72853e3
[]
no_license
c0c1/python-image
3454b37b3e0339fd3e204a38d7aa14c885e10e38
b785801589722571ac7ed8ad4428b4d04f518a2b
refs/heads/master
2023-06-04T23:36:17.974408
2021-06-21T12:38:23
2021-06-21T12:38:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
import os, sys from PIL import Image, ImageDraw, ImageFont img_dir = "images/non-watermark/" dirs = os.listdir( img_dir ) for img in dirs: if os.path.isfile(img_dir + img): #Create an Image Object from an Image im = Image.open(img_dir + img) #Image width and height width, height = im.size #Image name...
[ "email@email.com" ]
email@email.com
b37e7ecbf4467d9d193cddf3e733018b8e0a8497
9980933e0a1d753efda7aa5b0a90b1ac4082ad59
/semaphores/philosophers_2.py
0ffe6c052704a2efb9469921b7c5b6aee96838e3
[]
no_license
oscaru/concurrencia
faf9ff4e3c4bd45196ac170da6441ce0779bec51
b66e455e838fc7f4e4922ee7263851dd6b89c821
refs/heads/master
2023-02-14T22:56:27.207040
2021-01-03T11:04:34
2021-01-03T11:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
#! /usr/bin/env python import threading import time PHILOSOPHERS = 5 EAT_COUNT = 100 THINKING = 0 HUNGRY = 1 EATING = 2 class Philosopher(threading.Thread): mutex = threading.Lock() status = [] sync = [] count = 0 def __init__(self): super(Philosopher, self).__init__() self.id =...
[ "gallir@gmail.com" ]
gallir@gmail.com
6520e18f02a020d437d9faab0c0f1894ec361f79
48997954c0e4af29dd8ae17cbfde6081fc225dcc
/PROJ_COD/Machine/kwon/vt_query.py
3fb2b3070a5e7e4c407c5c7aecb9c6d94ded43ae
[]
no_license
annie522/kitri
7c7fd9e6ab015a94051b398704d39df09ba8966d
5ae2e8f5ee7e15cd1b0e828ee63e30a320746317
refs/heads/master
2021-01-22T10:57:01.778072
2017-07-26T00:40:25
2017-07-26T00:40:25
92,664,260
0
0
null
null
null
null
UTF-8
Python
false
false
4,765
py
# Virustotal Module # # Below are a Virustotal.com's API options/tags (for k:v responses) # response_code, verbose_msg # resource, scan_id, md5, sha1, sha256 # scan_date # scans __author__ = 'Jacolon Walker' import requests import json import hashlib import sys class Virustotal(): """ Virustotal API module """ ...
[ "zzabzz21@naver.com" ]
zzabzz21@naver.com
dcd1061b722b024dfeb58696864a3cc6655054ba
6f96c987689db877240ce3c1fc32b9e32252bda3
/Project_5/douyu/douyu/settings.py
d7b68c12b1a9ae3c8b4196281f21e2489b3db715
[]
no_license
Mathilda11/Scrapy_Project
65d7281bdb75283fccc3795638e0957595d926f9
653db6cdb763eadfd886ae757f2777afd7946372
refs/heads/master
2021-10-24T05:12:37.462691
2019-03-22T08:04:44
2019-03-22T08:04:44
110,244,401
0
0
null
null
null
null
UTF-8
Python
false
false
3,231
py
# -*- coding: utf-8 -*- # Scrapy settings for douyu project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest/t...
[ "yizzzhang11@163.com" ]
yizzzhang11@163.com
400cc46db271da23fe460f3d4047f75ec0036f29
59e85251c447135f8cfba9eba5b3d94a8bde08a0
/python/prod.py
de77ae71fa08dd36bb2318a052154fffc10923a3
[]
no_license
sigfreid666/minisab
e7c1481b2add0d23ad7e6365cc5ce12079598fdb
baf815895db94bb65b8e6a11ad9dbfb39ed6aa88
refs/heads/master
2021-05-21T22:56:33.623358
2018-06-09T10:47:21
2018-06-09T10:47:21
252,843,793
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
from minisab import create_app app = create_app()
[ "guillaume.frutoso@gmail.com" ]
guillaume.frutoso@gmail.com
7db2d4f92504ff0979701ebbff1d9799fdd40f3a
d5919e45e00543ea6abf1a65647fe9a32af9dc1e
/processmysteps/default_config.py
957dd940b6d9322e2868adb91f570021fc197113
[ "MIT" ]
permissive
ruipgil/ProcessMySteps
4f899c297f0ad09403f9bab3aa601b5275163039
39bf630895630f95129a455c8dd4d944f5ac1a06
refs/heads/master
2021-01-16T23:37:37.073841
2017-05-01T21:27:01
2017-05-01T21:27:01
55,251,842
1
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
""" Base line settings """ CONFIG = { 'input_path': None, 'backup_path': None, 'output_path': None, 'life_path': None, 'life_all': None, 'db': { 'host': None, 'port': None, 'name': None, 'user': None, 'pass': None }, 'default_timezone': 1, 'li...
[ "ruipgil@gmail.com" ]
ruipgil@gmail.com
24f7b3b1146c1b28f642b500a4ac01033669c4d6
78ad0b63571ea8d7dd56f6baf7d1dd8fd73f2380
/timeline/forms.py
a5790743df5a056511d91608ab9ca5a5f503e118
[]
no_license
stoictyper/tenetblog
b6aacd31820880f52a1991ce7a0cfe6d88821fdd
8a35e95f26e932158802a0747c36f1bf51524d63
refs/heads/master
2022-12-12T05:03:06.816880
2020-09-16T09:14:47
2020-09-16T09:14:47
295,981,357
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from django import forms from .models import Timeline class TimelineForm(forms.ModelForm): class Meta: model=Timeline fields=["title","content","aimage"]
[ "alioguzdogru@gmail.com" ]
alioguzdogru@gmail.com
2d24087778240384516917c28596440c2aed5e2b
8520c991dc543f5f4e1efe59ab401824173bb985
/332-reconstruct-itinerary/solution.py
9deb98ca04053efa355f326607f4c90351f51542
[]
no_license
katryo/leetcode
d44f70f2853c4f5ea9a462d022feb0f5436c2236
0da45559271d3dba687858b8945b3e361ecc813c
refs/heads/master
2020-03-24T12:04:53.859047
2020-02-18T04:27:55
2020-02-18T04:27:55
142,703,107
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
from collections import defaultdict import heapq class Solution: def findItinerary(self, tickets): dests = defaultdict(list) ans = [] for src, dest in tickets: heapq.heappush(dests[src], dest) def dfs(dep): arrivals = dests[dep] while arrivals: ...
[ "katoryo55@gmail.com" ]
katoryo55@gmail.com
ad2e14b44f001a96a156b1baca80fb89acb0ee56
7fb1e6e0d3c452de2cda8e2338343e9862c6c88a
/28082019/000952.py
c53d6b23139aa81b05f59be1cd02d8cd7c94c449
[]
no_license
RobertoCruzF/Intensivo-Nivelacion
3a10afc61f2744e7fd0d6019f0c572fb8b5deec9
c7dd1a4aaf1c419f3edb35d30f200c1c0b6a26a9
refs/heads/master
2020-07-05T11:50:13.582245
2019-08-30T14:35:42
2019-08-30T14:35:42
202,641,096
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
import numpy as np b= np.array([(1,5,2,3),(4,5,6)]) print b # imprime el arreglo b con los elementos definidos dentroo de la lista
[ "rcruz@miuandes.cl" ]
rcruz@miuandes.cl
2ee7655b0e28bb82c5b109d6432be9f8c3aff52b
32aced0459f10a165b51b16730b412b5f9b5293d
/August1st_Detect_Capital.py
2738d9060912a5a49f7a35eb4e067e6960c3f095
[]
no_license
Wonjuny0804/leetcodechallenge
e08b741be4856f69cd4553b505c9da32b1fb9e4d
0f0ec19c3f48c001584e1e5bc92df51b15d8ba8a
refs/heads/master
2022-12-13T02:33:54.118285
2020-09-11T06:49:47
2020-09-11T06:49:47
284,678,159
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
""" Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of the following cases holds: All letters in this word are capitals, like "USA". All letters in this word are not capitals, like "leetcode". Only the first letter in ...
[ "wonjun84@naver.com" ]
wonjun84@naver.com
7ad1e1493d3ea5d4a3b73bb9d7556fba745c4024
11ea97128214750b403a150edfab70dc6207d970
/ia32doc/processors/c_processor.py
9652e5799613a984a0bf9827d571a769fdb01d7c
[ "MIT" ]
permissive
fengjixuchui/ia32-doc
5dc8a18dcc8fdbcb083433d3ed4aa8b3f3d35005
2336ac5d0cd8475656d8dbb56940d9b17d07295a
refs/heads/master
2022-05-17T02:00:49.877215
2022-04-16T10:34:36
2022-04-16T10:34:36
167,521,447
0
0
MIT
2022-04-16T10:34:37
2019-01-25T09:28:59
C
UTF-8
Python
false
false
25,075
py
from typing import Union, Tuple from .base import DocProcessor from ..doc import DocBase, DocGroup, DocDefinition, DocEnum, DocEnumField,\ DocBitfield, DocBitfieldField, DocStruct, DocStructField from ..doc import DOC_DEFINITION, DOC_STRUCT, DOC_BITFIELD, DOC_STRUCT_FIELD, DOC_ENUM_FIELD from ..text...
[ "w.benny@outlook.com" ]
w.benny@outlook.com
f364822bf049609b8285f53a3563caa9508f8624
47100b5e35f6f5ec40fd42f1681ec26b0ed89a30
/ajayidhikrullahscrumy/urls.py
2fc0ef441e0160da1d87758c843643082f50b9ad
[]
no_license
ajayidhikrullah/linuxScrumyProject
d056b882f8ae8a3dc8c05252d44bfac08796659d
c9230b004d6816b347e6b5fdfb216f6e2586a3a0
refs/heads/master
2020-04-02T15:38:48.457952
2018-11-07T17:12:46
2018-11-07T17:12:46
154,576,740
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
from django.urls import path from . import views # from django.urls import * urlpatterns = [ path('', views.index, name='index'), path("scrumy_goals/", views.scrumy_goals), #/ajayidhikrullah/my_task/ path("goal_status/", views.goal_status), #/ajayidhikrullah/goal_status/ # extension of urls in ur we...
[ "ajayidhikrullah@gmail.com" ]
ajayidhikrullah@gmail.com
23c1aba0a6984f43717a229dae9794d4c3027e3f
9666666561bbca04c70325de07335b70c00a631e
/RNN/LSTM.py
8345fa1e6c518f5eb04e588a3cb5372afe6aef1d
[]
no_license
deeshantk/machine_learn
c0720d6541e90507321b44f08d501683ef222625
57ec7252cc93cb48feb901cb995d4d880d633f2c
refs/heads/master
2020-06-30T15:19:51.554546
2019-10-23T16:06:38
2019-10-23T16:06:38
200,869,773
2
0
null
2019-08-07T20:05:05
2019-08-06T14:39:21
Python
UTF-8
Python
false
false
874
py
from keras.models import Sequential from keras.layers import LSTM from keras.layers import Dense, Dropout from keras.optimizers import Adam import keras (X_train, y_train), (X_test, y_test) = keras.datasets.mnist.load_data() X_train = keras.utils.normalize(X_train, axis=1) X_test = keras.utils.normalize(X_test, axis=...
[ "noreply@github.com" ]
deeshantk.noreply@github.com
b3c410f4730e84fde0ef11b12ab700a67513a5a9
4c0fc477a3d961b35f26bbd5916ab327fa30b99e
/S1_ medium.py
5b148ceb45e027a77ac4db6bb9d81b2e9cae6212
[]
no_license
sauravbasak/Codehall-Python
7be4f80a0e5dc46254d42018f35f03bc24088aa4
4859c95ead96ddb3bfc1aa79976121031659b94a
refs/heads/master
2022-12-02T07:19:27.810672
2020-08-21T17:59:29
2020-08-21T17:59:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
#takes input, input function always a string. so change it to int() radius = int(input('input the radius of the circle')) #** is a power operator. here calculating area #used 3.14 to approximation area = 3.14*radius**2 print('the area of the circle is about ' + str(area))
[ "noreply@github.com" ]
sauravbasak.noreply@github.com
a07b1f8608ca572ae0d5ccebcce1e3ff744dab7b
9b5b9e0ac038cafadccb2474a13aab21c9ed6c50
/app/views.py
0e6b1d94db87fc65f299731d348e669009083669
[]
no_license
rkmarvin/test_blog
8a95dd7a6a52508497281cf7d5f171bcc1b1974b
acdb2fa5d5c3d479b7e9e5162f361b194d13a6d8
refs/heads/master
2020-04-06T03:41:07.092706
2015-07-02T19:04:12
2015-07-02T19:04:12
37,518,812
0
0
null
null
null
null
UTF-8
Python
false
false
2,723
py
from django.contrib.auth.models import User from django.db.models import Q from django.views.generic import ListView, CreateView, RedirectView, DetailView from app.models import BlogRecord, Subscription, SoubcrBlorRecorStatus class ListUserBlogRecordsView(ListView): def get_queryset(self): return BlogRec...
[ "rouslan.korkmazov@gmail.com" ]
rouslan.korkmazov@gmail.com
f05897aa9e15a83463b6a5b80f3d7b2481815759
502de531a391a617ac947e947661d2c36a2ff2ff
/setup.py
631ba9a3865ba25ce48db03448fb4b57baa31b10
[]
no_license
ingfcetina/testing-arcpy
17026fdcf185b919da9da3c7ab36a5bffead0722
c7f3b74c37c8f8673100bd532039e7a3d318bdf9
refs/heads/master
2021-06-18T05:14:54.239298
2017-07-09T14:15:05
2017-07-09T14:15:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
from setuptools import setup, find_packages setup( name='my_project', version='1.0.0', description='Sample project for arcpy applications', url='https://github.com/lobsteropteryx/arcpy-testing', author='Ian Firkin', author_email='ian.firkin@gmail.com', packages=find_packages(exclude=['contr...
[ "ian.firkin@homeinsteadinc.com" ]
ian.firkin@homeinsteadinc.com
6c37fc6576700baa64bac68db215c8f8fece2007
e00941773e95212a1f76010c3f7b3c7a46f0c9a1
/DjangoGo/settings.py
d85b6c6c33c24e6f70dd39b455b12b2ea96a0f91
[]
no_license
a6a18-Old/django
4dc08c322f127d7b7ce68ef088eb64fd91c07429
70a7dfdb50a4c10f2e2f39ab47327fac458d700b
refs/heads/master
2022-07-17T05:22:08.235754
2020-05-13T18:12:49
2020-05-13T18:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,138
py
""" Django settings for DjangoGo project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "a6a18@cycu.org.tw" ]
a6a18@cycu.org.tw
2538034794d182aad149414e83c631415a4e7db3
7634530365c88007bee507b639360ab0aa403d3f
/Python/004Median_of_Two_Sorted_Arrays.py
3751860c6f224065a7d0eb3829eb1238dc8d0c38
[]
no_license
viewer010/leetcode
7389fbe4579da643fd4603f08553512b1520712c
0db94ec34e84caa6d870ce933a198f9e31ffb183
refs/heads/master
2021-06-14T11:36:51.312447
2017-04-21T13:36:23
2017-04-21T13:36:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
#coding:utf-8 ''' python sort函数应该是O(nlogn) ''' class Solution(object): def findMedianSortedArrays(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: float """ add_num=nums1+nums2 add_num.sort() if len(add_num)%2: ...
[ "2638480742@qq.com" ]
2638480742@qq.com
f20231cfc5c8195e5135526087d532d334a0c5fa
9907b3dd74d1aedbed5243105649f0acd8e965d8
/demo/pytorch_laguerre.py
0aded5c456579f8f7de77004c4e2c77956273df5
[ "MIT" ]
permissive
shubhampachori12110095/OrthNet
68c7442c448acdca2b0f2fbef0709efec280be4c
74824c1858e14f023d3f0251910f223d6b8672ce
refs/heads/master
2021-01-25T13:12:07.142646
2018-02-28T15:18:38
2018-02-28T15:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
import sys sys.path.append('../') from orthnet.pytorch import laguerre_tensor, multi_dim_laguerre_tensor import torch from torch.autograd import Variable import numpy as np from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D order1 = 5 order2 = 3 x1_data = np.linspace(-1, 1, 100).reshape((-1,...
[ "orcuslc@hotmail.com" ]
orcuslc@hotmail.com
4f75995da48db35b1989254d0fd3db739d8f7db4
1b49d99bf3b91ec45a57e4eabd3c868155fb932c
/code/model 1/utils.py
55a494916c8943cd8166c90f57f2b30f2048d458
[]
no_license
Clement-Hardy/Image-captioning
3e365dbd1a20aedd608621c7d19594cb6e95fb26
86780413501ee64ffba849a15dc5d82b79e1fa17
refs/heads/master
2020-09-01T20:18:45.723144
2019-11-01T19:15:26
2019-11-01T19:15:26
219,047,367
0
0
null
null
null
null
UTF-8
Python
false
false
2,752
py
from keras.applications.resnet50 import preprocess_input import os import cv2 import numpy as np import warnings from keras.preprocessing.text import Tokenizer def create_dataset(path_legend, path_images, start_sentence, end_sentence): file = open(path_legend, 'r') legends = file.readlines() list...
[ "vicclem5999@live.fr" ]
vicclem5999@live.fr
cc81969fe3c3463a9a336a1e77f56a7592cde567
b91bd5b0954776fd186bf064a87fb8f7ffa4a58a
/python2/flask/flask_fun/flask_table/server.py
5c146559aa55798c1023ee96a350f5061e5a2f4d
[]
no_license
ronaldaguerrero/practice
ddf1f41b693110cebe4d52e29910909f3ba21115
38627fddd8f79e6fb50c05a0e4e8d27a92146e1b
refs/heads/master
2023-01-23T17:06:18.642983
2019-09-13T05:01:48
2019-09-13T05:01:48
186,157,588
0
0
null
2023-01-07T09:40:40
2019-05-11T16:40:12
Python
UTF-8
Python
false
false
564
py
# import things from flask_table import Table, Col # Declare your table class ItemTable(Table): name = Col('Name') description = Col('Description') # Get some objects class Item(object): def __init__(self, name, description): self.name = name self.description = description items = [Item('N...
[ "ronald.a.guerrero@gmail.com" ]
ronald.a.guerrero@gmail.com
f58dc5c06357b947dad8b998e8070480de396f5d
d47b841f7e64d83cebbe63a25bac47adc495a760
/test/test_box_score_teams_overall.py
74d000b20e37922744080d08c234957c32e396ab
[]
no_license
CiscoNeville/cfbd-python
810029240de30a2b7a205cbc3bb009599481206c
5775ff7ce7464e881f1940a7c0a534b0c26c1ce8
refs/heads/master
2023-09-04T18:27:23.773119
2021-11-19T01:49:07
2021-11-19T01:49:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
# coding: utf-8 """ College Football Data API This is an API for accessing all sorts of college football data. It currently has a wide array of data ranging from play by play to player statistics to game scores and more. # noqa: E501 OpenAPI spec version: 2.4.1 Contact: admin@collegefootballdata.co...
[ "radjewwj@gmail.com" ]
radjewwj@gmail.com
bf67822d3bde7b6f73418549a4686a1a0b14a6cb
dc93b13ac77ad13d7969f00af22670cbb4401082
/meiduo_mall/meiduo_mall/apps/oauth/serializer.py
ca590e8bd9a41283edd33a84eb6a01c9d9c8c40b
[]
no_license
zhangbk920209/TaobaoMall
852877cac1167b37dadfbfcd415c161d52de3796
c4bbc938357b91daa76fbfece72bb99179993a5d
refs/heads/master
2020-04-02T15:53:09.563700
2018-11-08T09:06:27
2018-11-08T09:06:27
154,587,662
0
0
null
null
null
null
UTF-8
Python
false
false
3,652
py
import base64 import os from django_redis import get_redis_connection from rest_framework import serializers from oauth.models import OAuthQQUser from oauth.utils import OAuthQQ from users.models import User class OAuthQQUserSerializer(serializers.ModelSerializer): mobile = serializers.RegexField(label='手机号', r...
[ "zhangbk0209@163.com" ]
zhangbk0209@163.com
7b233741a8843a22b7e1fb668ee45d54bca9363e
6455e23a22dc13d1ca7ea5896904d7918c715054
/logprocessor.py
8c4016c76364dc9781c74e2e67154b8cd8c43910
[]
no_license
Skidplays/LabLadder
6580a36f12d9907fc212bb46bfe1ac2ecf70ecef
64d78a82f1a4a079d51c246059e66d59c20aec1c
refs/heads/main
2023-07-15T04:39:56.425141
2021-08-21T05:43:27
2021-08-21T05:43:27
398,159,100
0
0
null
null
null
null
UTF-8
Python
false
false
2,880
py
from datetime import datetime START_LINE = ["Izaro: Ascend with precision.", "Izaro: The Goddess is watching.", "Izaro: Justice will prevail."] FINISH_LINE = ["Izaro: Triumphant at last!", "Izaro: You are free!", "Izaro: I die for the Empire!", "Izaro: The trap of tyranny is inescapable.", "Izaro: Delight in y...
[ "noreply@github.com" ]
Skidplays.noreply@github.com
51e6d0b64816e845f3804107099f83eb52511405
030cea4006a4ff559f23cb3b3c31cd038ed2e332
/week11/hh_back/api/migrations/0001_initial.py
ff433e7b38b000547c461e4b1354c718d2bfa422
[]
no_license
ayananygmetova/Web-Dev-2020
f8834e0ee26f0f0f06d0e3a282c73b373954a430
957bca91554f015e9a3d13b4ec12e64de7ac633e
refs/heads/master
2023-01-22T16:49:39.857983
2020-03-31T10:09:54
2020-03-31T10:09:54
236,937,810
1
0
null
2023-01-07T16:34:35
2020-01-29T08:41:10
Python
UTF-8
Python
false
false
669
py
# Generated by Django 3.0.4 on 2020-03-31 07:50 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Company', fields=[ ('id', models.AutoField(...
[ "ayananyfmetova@gmail.com" ]
ayananyfmetova@gmail.com
d0eb44f47aea9e440d8ce9e2190b0d49f9f3822d
94b101b38acb682422b8e26ff09527e1102e6524
/project/users/views.py
4ae6702c4b12933ac5fa836b8207dbb98b6bbb8b
[]
no_license
mjoze/Web-App
f0ff12118510cb5bfa6d4ff5541194b184848c41
8f5c237231d35d87a77cf9dffa7261c19f81dec7
refs/heads/master
2020-12-23T02:47:06.241269
2020-03-07T14:34:54
2020-03-07T14:34:54
237,010,747
0
0
null
null
null
null
UTF-8
Python
false
false
1,493
py
from django.shortcuts import render, redirect from django.contrib import messages from django.contrib.auth.decorators import login_required from .forms import UserRegisterForm, UserUpdateForm, ProfileUpdateForm def register(request): if request.method == 'POST': form = UserRegisterForm(request.POST) ...
[ "mirek.jozefiak@gmail.com" ]
mirek.jozefiak@gmail.com
1d8762c60b7af569450421e970799689990cf863
69a8a88c99f5c401b188ce7637174c19a3ed48d8
/0x0A-python-inheritance/10-square.py
9f90ed3be2ee071cbcc079312aa9f6543eda60d0
[]
no_license
JDorangetree/holbertonschool-higher_level_programming
0546b25726052a8ce6468781f933eb28d1aee30d
f984f5047f690d352c7f203ef16aa7f0cc49afcd
refs/heads/master
2020-09-29T01:22:22.387395
2020-05-16T23:35:12
2020-05-16T23:35:12
226,912,872
1
0
null
null
null
null
UTF-8
Python
false
false
495
py
#!/usr/bin/python3 """ Class that inherits from Rectangle """ Rectangle = __import__('9-rectangle').Rectangle class Square(Rectangle): """ Class that defines a Square by inheritance of Rectangle class """ def __init__(self, size): """ Constructor """ self.integer_validator("size", size) ...
[ "julian.naranjo2014@gmail.com" ]
julian.naranjo2014@gmail.com
7018f257a6effb3e3a626e56384ae5a7ae0ba684
e7b4ddbf23fca6ff3929cca13614b378b4449f6c
/3rd_year/ex_2/dn16018_ex2_code.py
432ec1afbc07388f7fbc2084a6d79431c40b7a8c
[]
no_license
dazzabaijan/py_comp_model
598479d70ca50ac99e2929398e899d0cc66f8881
2e61bf34f1aabc484c73d1e3dc6dd35897704f51
refs/heads/master
2021-09-17T14:27:28.293477
2021-08-17T12:55:25
2021-08-17T12:55:25
229,984,890
1
0
null
null
null
null
UTF-8
Python
false
false
22,700
py
# -*- coding: utf-8 -*- import numpy as np import matplotlib.pylab as plt from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from copy import copy from scipy.sparse import diags from scipy.sparse.linalg import spsolve from time import clock import sys """Boundary conditions for second Physics problem"""...
[ "dn16018@bristol.ac.uk" ]
dn16018@bristol.ac.uk
9377eeb7e95dc44c45eccf96248f42fb4f744035
7f585fdad9cf95714e492b5a4328f9603cf38459
/src/decorator-sample.py
ff3665bd745d010906214afc3a68e6dda145e662
[ "MIT" ]
permissive
skitazaki/python-school-ja
2a4da0b4eb130920333d4530e3223217f152ba6c
f8f2250d48d734588469806165d24c3e1a9e6765
refs/heads/develop
2021-08-10T11:41:39.342364
2020-03-28T08:38:08
2020-03-28T08:38:08
2,898,972
1
0
MIT
2021-06-10T22:38:31
2011-12-02T14:32:48
Python
UTF-8
Python
false
false
353
py
class A(object): @classmethod def name(cls, msg): print("Greetings from classmethod.") cls.hello(msg) class B(A): @staticmethod def hello(msg): print("Hello", msg, " from Class-B") class C(A): @staticmethod def hello(msg): print("Hello", msg, " from Class-C")...
[ "skitazaki@gmail.com" ]
skitazaki@gmail.com
9a7b7ade617d5b7c6f80049ccb17d17674ca29ef
c662c18340914edbb099dd7412ea1de1dedff730
/setup.py
5ce9f1b7c35cc7879b9b45c8db3551ab550f49cb
[ "MIT" ]
permissive
snaqvi1990/sircel
5e01efd2aada04c047730eedc58fc5fc63af8088
fa1cc4050af5406f0d6e5902700db7a03d842664
refs/heads/master
2020-12-02T18:03:18.819512
2017-05-09T18:57:58
2017-05-09T18:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
""" """ import shlex import sys import os from setuptools import setup params = {} args = shlex.split(' '.join(sys.argv)) if('--kallisto' in args): index = args.index('--kallisto') assert(index < len(args)), \ '--kallisto option requires a path' kallisto_path = args[index + 1] assert os.path.exists(kallist...
[ "akshay.tambe@berkeley.edu" ]
akshay.tambe@berkeley.edu
ba99bdbe64af5381bc3553611178b6160490ccfd
c02a4f10cee910f48a52cfd08cf7a05902f284f1
/api/serializers/update_profile.py
b9ee6e8937eb87087e01389f2f4a28d450114a67
[]
no_license
shiro102/canvas-gamification
6d984eae1a48465ea740fac42daeef64acc7de3b
7818889dc51520e03ad69176cf2ce6550b9948ba
refs/heads/master
2023-06-12T18:11:05.235574
2021-06-30T21:26:28
2021-06-30T21:26:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
from rest_framework.validators import UniqueValidator from accounts.models import MyUser from rest_framework import serializers import api.error_messages as ERROR_MESSAGES class UpdateProfileSerializer(serializers.ModelSerializer): class Meta: model = MyUser fields = ['id', 'first_name', 'last_na...
[ "noreply@github.com" ]
shiro102.noreply@github.com
b09326d6b7ef11fa7afb566ee1ae1016ff118aae
e6ad1555cb6e2e8b1a3c40e7bf8985d5b62aca9a
/aritmetic_funct.py
d9aaa4ef53e69f1457f5f658ee3fc352cc152a09
[]
no_license
denb11/def_add_HW
dc83f0c945ebe874f280bb5f0a3b5ccdf85b44be
41fb988e5483555cf515ade99a116ecf5a0c25a9
refs/heads/master
2022-11-27T19:05:51.754427
2020-07-30T19:27:42
2020-07-30T19:27:42
283,859,707
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
def add(a, b ): if type(a) == int and type(b) == int: result = a + b print(result) else: print("valorile transmise nu corespund tipului") add(10, 20)
[ "noreply@github.com" ]
denb11.noreply@github.com
4da9236790e55b245e9e279660657cfffce90b75
f10042f062537becffa4de4286eac5945461bf10
/python-tests/img-test.py
4b4325e0314867c2e73a48053f6da632ae49533c
[]
no_license
major-phyo-san/raw-codes
38bacba381f1d8f3e5e84c2b734a849b34806044
34c7b9acd7020a8363826f75d336bc09e413fc36
refs/heads/master
2022-03-09T07:56:21.794703
2022-02-25T04:45:20
2022-02-25T04:45:20
207,994,400
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
import numpy as np import cv2 import imutils imagePaths = ["images/m2.JPG","images/m1.JPG","images/m3.JPG"] images = [] i=1 for imagePath in imagePaths: images.append(cv2.imread(imagePath)) cv2.imshow("image"+str(i),images[i-1]) cv2.waitKey(0) & 0xFF cv2.destroyAllWindows() i = i+1 stitcher = cv2.createStitche...
[ "phyojupiter9@gmail.com" ]
phyojupiter9@gmail.com
f166a652d5b47979391790f851fe8cc5e2d1d43d
84c0585118043fb0413bf3cc944d46f3d80acc1b
/account/models.py
2b8bc8d2006e88a0cb96fc7464ee030e7e79b7e4
[]
no_license
CheStix/SocNet
77c75ec5f90c084e31204c89c45a1bcd17aef6d6
ff6f9299ddff6c0f790a622a428abb63cfda561f
refs/heads/master
2020-11-29T10:45:09.827530
2020-02-14T08:49:50
2020-02-14T08:49:50
230,094,659
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
from django.conf import settings from django.contrib.auth.models import User from django.db import models class Profile(models.Model): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) date_of_birth = models.DateField(blank=True, null=True) photo = models.ImageField(upload_to...
[ "che.eldar@gmail.com" ]
che.eldar@gmail.com
78b7f6cd4a781062166ec98bef378eb05de88bdb
67bdc707db11c32a06344b180eb2ab0165161be7
/random_forest/timing.py
0e0bacddd9bb34f75211464560c835f1b3c90a5e
[]
no_license
leoneong/fyp
1f754ef7d6639281cf591a5c3ebc60654ce884b2
84aaaf5b186f025fd9697823d4c8b42ffa62e200
refs/heads/master
2023-03-10T01:17:39.406475
2020-10-10T04:03:28
2020-10-10T04:03:28
258,401,222
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
import atexit from time import clock from _functools import reduce def secondsToStr(t): return "%d:%02d:%02d.%03d" % \ reduce(lambda ll,b : divmod(ll[0],b) + ll[1:], [(t*1000,),1000,60,60]) line = "="*40 def log(s, elapsed=None): print (line) print (secondsToStr(clock()), '-', s) i...
[ "hippoleone@outlook.com" ]
hippoleone@outlook.com
bbef2beee7c94d588e9831ccbb760157f2f2e422
6915d6a20d82ecf2a2a3d3cd84ca22dab2491004
/advtempproject/advtempproject/wsgi.py
507d246211545d55217dfb1767569eb090224823
[]
no_license
iitian-gopu/django
bb4302d101f4434fb61ab374807e29699a432e42
31db982212bbb453cc4c56c7f5cfad9a00cd231d
refs/heads/master
2023-05-14T07:22:35.176477
2021-06-04T04:43:26
2021-06-04T04:43:26
366,114,402
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
""" WSGI config for advtempproject 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "gopalkrishujaiswal2030@gmail.com" ]
gopalkrishujaiswal2030@gmail.com
2f4164ef4372fc6478789fc37f7c1f66296b61a9
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/az1.py
2674ec878632dbc448cc05438068f00a33a83305
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
78b373ee16f0efc70102408817bb21f313d8525e
fdcbf5b203f07cceefbb38a746f4a43b322e263e
/Python/findNeighbors_of_Nulls.py
52f8694848396c9527b570609bc2724e421599bd
[]
no_license
Masoumeh/0390.IbnAhmadMuqaddasi.AhsanTaqasim
e7a3eddc895edb79f8d93c1bd0f09f130a761858
592720e5a154fcfe9cdab84b16eaf5574f30b806
refs/heads/master
2021-01-18T00:36:09.962622
2017-11-07T13:13:46
2017-11-07T13:13:46
45,922,253
0
0
null
2015-11-10T15:49:02
2015-11-10T15:49:02
null
UTF-8
Python
false
false
1,682
py
""" To get some information from the route network graph, like how far are the first two neighbours (with coords) of a node (without coords) """ from networkx.readwrite import json_graph import io, json, csv import re import networkx as nx import sys import operator import compose_graphs as cg def findNeighbors_of_...
[ "m.seydi@uni-leipzig.de" ]
m.seydi@uni-leipzig.de