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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
0e2f70099440b615923d57dd03854b52d18673ef
bb9896781f055b83b97251f1a6c0e87b2f025ac6
/news/migrations/0001_initial.py
e538de1f1454d9dfe4871b4abb9201e5ed7aea0c
[]
no_license
PeteWillmott/milestone4
0d2d7c7df60c6cf0cad508aa8347f2940f10a45a
da2cf03297618aea25b784988f7f521dac000cff
refs/heads/master
2022-12-04T19:30:32.600926
2019-10-06T07:26:24
2019-10-06T07:26:24
204,655,484
0
0
null
2022-11-22T04:16:31
2019-08-27T08:22:50
Python
UTF-8
Python
false
false
1,778
py
# Generated by Django 2.2.5 on 2019-09-30 16:17 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('catalogue', '0001_initial'), migra...
[ "bastior@yahoo.co.uk" ]
bastior@yahoo.co.uk
250c4c8ab7899fc1b2ec647def496cdb675324f8
3c40ca2134b712506d636ac2216908d741281d8a
/mybb_online
516db73003a87de442130541c4264cabaedd732f
[ "Unlicense" ]
permissive
Cameron-D/munin-mybb
8f19872d04b25b28f86331fb7dbaa90b35857c6b
fa3a5b5d4030da8007685719aba1617c1ec83761
refs/heads/master
2021-01-25T10:43:45.623752
2013-10-12T10:30:49
2013-10-12T10:30:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
825
#!/usr/bin/env python import sys, urllib2, re, os # Check for configuration board_url = os.environ.get('board_url') if(board_url == None): exit(0) if(len(sys.argv) > 1 and sys.argv[1] == "config"): print """ graph_title Online Users graph_vlabel current users graph_args -l 0 graph_category MyBB graph_total To...
[ "camerondew@live.com" ]
camerondew@live.com
73e17f513b68e689f3237af1b2aeec2bc805442b
6c55eb879fd547bae1a8168f1fd884791e729876
/MultiLabel_test.py
1fee1c911c955d7b0ba136dde39beba4db123f30
[]
no_license
yfhanhust/multilabel
b5ac8f6ab37d75d407a62d615bef736186b19684
61907d25991cadd4e8df181a82cfb8ea3ffa37d2
refs/heads/master
2021-01-20T09:57:23.711654
2018-01-12T09:27:47
2018-01-12T09:27:47
90,312,790
0
0
null
null
null
null
UTF-8
Python
false
false
9,726
py
import numpy as np import scipy as sp import downhill import theano from sklearn.metrics import roc_auc_score def baselinePU(Y,label_loc,alpha,vlambda,kx): #random_mat = np.random.random(Y.shape) #label_loc = np.where(random_mat < label_fraction) ## locate the masked entries in the label matrix #### prin...
[ "yfhan.hust@gmail.com" ]
yfhan.hust@gmail.com
716119ca0680e969a5c9b15d2f93c196e377873b
7b4e9342d42be2b55af5dc23a8abedd672d68e99
/MobileApps/libs/flows/web/jweb/eventing_plugin.py
83d4c6d1bad5eef4658ff26f41ebc08452999a87
[]
no_license
Amal548/QAMA
af5bb335c92a90b461f1ee9a3870435d83d46802
b5230c51d3bc7bb04b3448d1a1fe5a076d8898d5
refs/heads/master
2023-07-12T09:17:04.624677
2021-08-06T08:01:11
2021-08-06T08:01:11
389,595,655
0
0
null
null
null
null
UTF-8
Python
false
false
4,065
py
from MobileApps.libs.flows.web.jweb.jweb_flow import JwebFlow import json class EventingPlugin(JwebFlow): flow_name = "eventing_plugin" ######################################################################################################################## # ...
[ "amal.muthiah@hp.com" ]
amal.muthiah@hp.com
14355c1414d251292712c30f688f2025f929116d
8f9fdc8730aa11f5f0a29b0399fa73a53d9530ca
/Assignment 7 (functions)/dæmi1.py
f98d34d264773b3243e5ac2e5b5fb5fba4aa880d
[]
no_license
ballib/Forritun1
0048aa41dbd4a829814232df9d653ef6e845b549
7f4041a5ac974d5622f005498efffcfc452b3f1a
refs/heads/master
2020-07-20T05:21:24.022182
2019-12-13T19:10:08
2019-12-13T19:10:08
206,579,830
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
# find_min function definition goes here def find_min(): if first > second: return second else: return first first = int(input("Enter first number: ")) second = int(input("Enter second number: ")) # Call the function here print("Minimum: ", find_min())
[ "baldurb2@gmail.com" ]
baldurb2@gmail.com
f675d32ecf2cf6d0afef4b975674d4adfdfd0bb2
6e990147c181182ef244b0d3682f17eca1dab012
/Python/classes.py
0f802e8b7a1d72f4a19c2f82912d9d495837496c
[]
no_license
alisheryuldashev/playground
3cda8df3c365d8631a87d923ae4bfce07e5cd77e
39fa0f4016c6938cbef10373406030aee81ff90d
refs/heads/master
2020-03-20T21:48:02.887530
2018-06-18T17:22:17
2018-06-18T17:22:17
137,761,257
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
#this snippet shows how to create a class in Python. #this program will prompt for information, append same into a class, and output a message. #create a class called Student class Student: def __init__(self,name,dorm): self.name = name self.dorm = dorm #import custom functions from CS50...
[ "noreply@github.com" ]
alisheryuldashev.noreply@github.com
342b6e3b971f495b6deaed0145cfca4d01b9b70c
dd02978fe562ddac0932025598d7983666f07c2d
/Trash/WikiScrapy/wikiscrapy/settings.py
2508e8af685164cf2aa4889900dfd2cd10cb71c3
[]
no_license
Bakser/PikaPika
d13378b2d5f13fa2ce89bbfca2d13a7b8807d3a9
158dbf8a1dd93ac83955575c13e77da2fa394872
refs/heads/master
2020-05-25T17:50:51.750731
2017-06-17T12:24:53
2017-06-17T12:24:53
84,950,857
4
0
null
null
null
null
UTF-8
Python
false
false
3,166
py
# -*- coding: utf-8 -*- # Scrapy settings for wikiscrapy 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/lat...
[ "maohanyang789@163.com" ]
maohanyang789@163.com
a9439346ef7e1b1ee5f9def2882beee1c0816dbb
8b50a864c02507a3fb63094e055b3acf3eda157a
/code_file/models/language_model.py
ac5ccb203bc4ba2c64684ef454b5324006d9bbce
[]
no_license
lixiangpengcs/PSAC
950ef43f76d8cf6acadac26cdf9733a4273d7fe5
249c36393120352bfa7af4ac1e9182bc63ee6152
refs/heads/master
2021-06-13T22:09:51.206860
2021-04-15T06:28:43
2021-04-15T06:28:43
156,211,385
26
2
null
null
null
null
UTF-8
Python
false
false
12,048
py
import torch import torch.nn as nn from torch.autograd import Variable import numpy as np from dataset import * import torch.nn.init as init from .model_utils import * from torch.nn.utils.weight_norm import weight_norm Lv = 100 Lq = 20 Lc = 36 ctx_dim = 2048 ctx_dim_m=512 class WordEmbedding(nn.Module): """Word E...
[ "noreply@github.com" ]
lixiangpengcs.noreply@github.com
2436b31efc26c12e07608f1340aa81ef216cd897
6550140daf76d430f13ff6cc3ca4e71db8ebd7da
/test_sort.py
745fa7dd389d54e95abd84b7cb01e8db02a57289
[]
no_license
NilE2503/project
19c3ddc34593b266d1e337f8216f155b0a045a42
da1452a08da7c020d7a882337d2781a182873ff8
refs/heads/main
2023-02-27T05:25:55.768019
2021-02-08T15:08:17
2021-02-08T15:08:17
329,330,532
0
0
null
2021-01-13T14:32:36
2021-01-13T14:19:10
null
UTF-8
Python
false
false
912
py
''' Тесты. ''' import sorting import pytest from random import randint RANGE = 1000 def rand_gen(amount: int) -> list: return[randint(-RANGE, RANGE) for _ in range(amount)] DEFAULT_LIST = rand_gen(10) EMPTY_LIST = [] NEGATIVE_LIST = [3, -1, 4, 5, -2] NONVALID_LIST = [3, 'one', 4, 5, '-2'] @pytest.mark.param...
[ "gvb@gmail.com" ]
gvb@gmail.com
cb2be266247d1a7439dd9738a44eda334951f271
6b163125b7d2f3ea5c2b107e6451e423ac7f1f3a
/app/forms/login_form.py
1b499f6e83b990f3fdf45d98b52e3f2496815194
[]
no_license
guny12/Capstone-Mise-En
a1d6e689230ad2e49cce7a09bad52d6243808d15
b45d510adc04a69c73cf738a97c3a68d7166eebd
refs/heads/main
2023-06-14T02:13:24.280617
2021-07-15T06:30:39
2021-07-15T06:30:39
363,795,101
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
from flask_wtf import FlaskForm from wtforms import StringField from wtforms.validators import DataRequired, ValidationError from app.models import User def user_exists(form, field): print("Checking if user exists", field.data) credential = field.data user = User.query.filter(User.email == credential).fir...
[ "Jimjnguy@gmail.com" ]
Jimjnguy@gmail.com
5effb4f8168c2ae2b22c3d5bdf47fbc2371234a7
08c7f146d82da572731f6ad0fd7d96bd4553f3d8
/backend/wispy_bread_26347/settings.py
440dca6d8ada9cc66236256b5fe96e07ed38d97b
[]
no_license
crowdbotics-apps/wispy-bread-26347
9c7b081b280e709f6eb5dccd3d38e7be306c18a8
04532cb6c4ac227bd104c2210e9997cdc5ff530d
refs/heads/master
2023-05-01T09:20:01.995863
2021-05-07T19:06:03
2021-05-07T19:06:03
365,329,281
0
0
null
null
null
null
UTF-8
Python
false
false
7,117
py
""" Django settings for wispy_bread_26347 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ddff5be5033ac45571c5aeff80f944fcc3cdbfb1
f14f11929dfa7a5b2dacaf330719507d20975c3f
/ml/dataset/features.py
f991f6cdf745de3f8a18670608ac1fdf49c68039
[]
no_license
mani3/ml-shogi
ba7d7b9e53cbc31066272f1887ab8e6128cbe3da
7369f1ff2af60ee37ca15a2bf39fc498f09d289d
refs/heads/main
2023-01-19T20:22:50.828060
2020-11-26T15:49:56
2020-11-26T15:49:56
304,924,249
0
0
null
null
null
null
UTF-8
Python
false
false
3,411
py
import numpy as np import shogi import copy import ml.dataset.common as common from ml.dataset.common import MOVE_DIRECTION, MOVE_DIRECTION_PROMOTED from ml.dataset.common import ( UP, UP2_LEFT, UP2_RIGHT, UP_LEFT, UP_RIGHT, LEFT, RIGHT, DOWN, DOWN_LEFT, DOWN_RIGHT ) def make_input_features(piece_bb, occupied,...
[ "kazuya.4da@gmail.com" ]
kazuya.4da@gmail.com
9902ebd2e00cc805ec5bdc9703e6ca797ea372dc
41ede4fd3bfba1bff0166bca7aee80dcf21434c6
/suvari/gtk2chain/reverses/xcb-util/actions.py
25adb86a956a71e443321f8a2ef6661d3e2d6833
[]
no_license
pisilinux/playground
a7db4b42559a21cc72fd4c8649e0231ab6a3eb3c
e4e12fff8a847ba210befc8db7e2af8556c3adf7
refs/heads/master
2022-08-12T23:03:27.609506
2022-08-11T18:28:19
2022-08-11T18:28:19
8,429,459
16
22
null
2022-08-11T18:28:20
2013-02-26T09:37:11
Python
UTF-8
Python
false
false
572
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): ...
[ "suvarice@gmail.com" ]
suvarice@gmail.com
ffcba6143e262725a508c37f6c97afb7bce54205
797ef824d1d60b55ea132b7a65df09ec8d20119e
/viscode-api-server/app/api/users.py
234a2654b7a855fc91c73bd8ff781b916bdef47f
[]
no_license
ncu-csie-kslab/VisCode
8c661141ef346bffe3bb59a986d08b8a3e84a6ed
ceb5f7ab7b72b64a592f075fc7cecbdfb83d8d08
refs/heads/master
2021-07-13T05:50:12.568619
2020-09-27T16:58:43
2020-09-27T16:58:43
204,051,431
2
1
null
null
null
null
UTF-8
Python
false
false
4,344
py
from flask import Blueprint, jsonify, request from app.db import get_pg_pool import psycopg2 users = Blueprint('users', __name__, template_folder='templates') pg_pool = get_pg_pool() @users.route('/users', methods=['POST']) def handle_users(): res_data = {} conn = pg_pool.getconn() ...
[ "p12355668@gmail.com" ]
p12355668@gmail.com
75ae39b4872390d4f7033db10dda678dda4d2daf
4daab5ba90185bae65169ebb8183c635385ab3f8
/autode/path/__init__.py
d90d12446b2816f5c49dee17a412f0ff5c3d899f
[ "MIT" ]
permissive
duartegroup/autodE
bcf69440bd04411f97d39df0df0ae1f2bf6feb8c
4d6667592f083dfcf38de6b75c4222c0a0e7b60b
refs/heads/master
2023-09-01T15:08:16.028378
2023-07-25T08:09:05
2023-07-25T08:09:05
196,085,570
132
42
MIT
2023-09-12T15:20:54
2019-07-09T21:20:27
Python
UTF-8
Python
false
false
117
py
from autode.path.path import Path from autode.path.adaptive import AdaptivePath __all__ = ["Path", "AdaptivePath"]
[ "noreply@github.com" ]
duartegroup.noreply@github.com
23e5b76816566cd052be9a482db95b33fa9bcaf6
431249e033aacb911e8e5d553affd0432a4e5d3c
/blog/urls.py
f7ed9ab3a961cc3e626077414a6610613dd3173c
[]
no_license
Shivam0403/blogging_web_app
1935da5174db7591e15a20cd75bf54e5dbc797c3
d35c1ae55373baf4f83e091c443857e151850470
refs/heads/master
2020-07-31T16:34:55.579424
2019-09-24T19:02:46
2019-09-24T19:02:46
210,676,970
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
from django.urls import path from .views import (PostListView, PostDetailView, PostCreateView, PostUpdateView, PostDeleteView ) from . import views urlpatterns = [ path('', PostListView.as_view(),name='blog-home'), ...
[ "shivammahto108@gmail.com" ]
shivammahto108@gmail.com
edfdaa5a38f3e0881df1da7afca07026b1feefcb
967e5eb9a6b3d417392b37b8a33b1e717cfac830
/tkinter103.py
970204c2971047143572dc5a3622f724874b527d
[]
no_license
masterpy/warm-up-py
bf0ea34f78da9cb3fd5b145e62451b9d72d1701b
8e2a3fc569748cd578f299fc30e9305a7517fc9b
refs/heads/master
2021-01-10T07:18:43.985564
2016-01-29T01:59:44
2016-01-29T01:59:44
50,627,997
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
from tkinter import * from tkinter.messagebox import showinfo def reply(name): showinfo(title='Reply', message='Hello %s' % name) top = Tk() top.title('Echo') # 图标与平台相关,下面这个图标为windows平台上图标 # top.iconbitmap('py-blue-trans-out.ico') Label(top, text='Enter your name:').pack(side=TOP) ent = Entry(top) ent.pack(side=...
[ "hutaishi@gmail.com" ]
hutaishi@gmail.com
bddd9d900949bd5cb7f5fa96d34c40eee96a5b63
878b721121d04ff22ad716e03b4f484c05b31d33
/silab/login/migrations/0003_auto_20200605_1412.py
112f9454a0a6f25ca37587e7280f6a26f0d1002c
[]
no_license
andrs99/Silab
c62118cfab6d74f77944fdc95cf640f56d335991
29b9c0f02afd8e856bb73b3c8e367dcc1c206c9c
refs/heads/master
2022-10-03T11:22:47.242241
2020-06-05T20:17:17
2020-06-05T20:17:17
268,733,200
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
# Generated by Django 3.0.4 on 2020-06-05 19:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('login', '0002_auto_20200527_0449'), ] operations = [ migrations.AlterField( model_name='usuarios', name='area', ...
[ "darklink2901@gmail.com" ]
darklink2901@gmail.com
044880f3f6aca9724958c7447782e1dcd7da6819
45572ad2cad79d2f8dd97c16593ea15ebde69d57
/edge_detector.py
a4a7d3a35037f14739f43fa17836c446bf1c96ee
[]
no_license
okkhoury/Computer-Vision
500d55b0fc634b4e7ca8c3786a700f04924242b2
27283bc83513d84abd805a6112b4e2b56393b885
refs/heads/master
2021-01-21T10:05:12.944179
2017-05-01T03:18:11
2017-05-01T03:18:11
83,376,360
0
0
null
null
null
null
UTF-8
Python
false
false
5,774
py
import skimage from skimage import io from scipy.ndimage.filters import gaussian_filter import numpy as np import math from itertools import product, starmap from scipy import signal import os import matplotlib.pyplot as plt # Read in image and convert it from uint8 to float64 file = input( "Enter th...
[ "noreply@github.com" ]
okkhoury.noreply@github.com
a5b980ef7e57ec36f4eb154a34c94d54a8c68995
44dc0f91d3f8df9e18f79584369b6a057e1fac78
/sharma_lakshay_a1/master_a1.py
a793bf5f6d576a8751f03116a35bf04680882765
[]
no_license
sharmalakshay93/nyu-cv
879dff99058771157bd0987ff252aa9e48539b8f
2858a4777a474a71a8f8e9efb652ec48bb4c58b2
refs/heads/master
2021-05-12T10:44:19.458792
2018-01-13T17:12:29
2018-01-13T17:12:29
117,361,121
0
2
null
null
null
null
UTF-8
Python
false
false
8,273
py
import numpy as np import torch import torch.nn as nn import scipy.signal import scipy.io import matplotlib.pyplot as plt import cv2 from mpl_toolkits.mplot3d import Axes3D def apply_gauss(img, width): # check if width is odd number if (width%2 == 0): raise ValueError('width parameter must be an odd nu...
[ "noreply@github.com" ]
sharmalakshay93.noreply@github.com
cc21f39dcbd925fbf3d3f63670883ab6349ac2a5
6d7c7f0240dd31a032ee7ff729874ea74642a5c1
/data_structures/queue/circular_queue.py
55396bfc569765e4212c7ca61657edd4677e8843
[]
no_license
gandoufu/algorithms-and-datastructures
0494efa6fa41eaa21574fda2d6fbe43d922e5e01
0369b7ca82623eb8ecba27b15e882cdf6183582b
refs/heads/master
2020-06-10T15:51:24.001221
2019-08-16T02:42:55
2019-08-16T02:42:55
193,664,179
0
0
null
null
null
null
UTF-8
Python
false
false
1,913
py
""" 循环队列代码实现,特点: 1. 入队/出队时间复杂度 O(1) 2. 支持动态扩容缩容 """ class CircularQueue(object): def __init__(self, capacity=10): self.capacity = capacity self.entries = [None] * (capacity + 1) # 创建数组时多加了一个位置,是为了区分队列为空和队列为满的情况 self.head = 0 self.tail = 0 self.size = 0 def get_siz...
[ "tangcugandoufu@163.com" ]
tangcugandoufu@163.com
878a8d6f13a4d962da19b20180204a0a90f19306
74c368b2511fd62cb4f71db64bd728d0354d7191
/refinenet/datasets.py
6ea166c7a35a6e2ea5c30236b9881e9fa3bc3e65
[]
no_license
nocotan/RefineNet
318e8867eca263127e573323f0225934adcf77b8
05e5a465807016b913f1f2d58a14c0fdad72beed
refs/heads/master
2021-04-03T06:07:40.295234
2018-03-20T14:48:44
2018-03-20T14:48:44
124,654,926
0
0
null
null
null
null
UTF-8
Python
false
false
2,754
py
# -*- coding: utf-8 -*- import os import random import cv2 import numpy as np import PIL.Image from chainer.dataset import dataset_mixin class ImageDataset(dataset_mixin.DatasetMixin): def __init__(self, data_dir, data_list, crop_size=(300, 300)): self.data_dir = data_dir self.data_list = os.path...
[ "noconoco.lib@gmail.com" ]
noconoco.lib@gmail.com
6fa115f7117e7df092818d0f955e4f3afd3608ee
42a48a3c2ea681e1330a77bb8723543177dcbc7e
/week 10/inClass8.py
2d1f64c055fb127e5163a7db92c0c46437272378
[]
no_license
tarasewiczregan/EM-224-Informatics-and-Software-Development
e1da2497180877340022c25bf95cdbd3b21c6bca
2f3fa06e9bd45102c2f03502c5050bf059ba6637
refs/heads/master
2021-01-07T00:05:10.439756
2020-10-03T15:26:27
2020-10-03T15:26:27
241,520,782
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
#Regan Tarasewicz #"I pledge my honor that I have abided by the Stevens Honor System." #In Class 8 - Due 04-09-2020 #stackoverflow showed me how to strip things using apply, and the Counter import matplotlib.pyplot as plt import pandas as pd from nltk.tokenize import word_tokenize import string from collections impor...
[ "rtarasew@stevens.edu" ]
rtarasew@stevens.edu
a99e3b4e2e14fbaf1cd838c3675c7067f8b11917
2d36cdee8ab997aef4dd15138f84fc03d99a12c3
/codata.py
ec86df8c6521dc567a23ed0030aedd8f517d79b4
[ "MIT" ]
permissive
vincentdavis/Colorado-Property-Data
53524902cc9cea3958769303411edd27406338d5
c2df135a152aa0a9392c5e0738ff22b2f9b9da3c
refs/heads/master
2020-04-11T16:06:29.867479
2016-02-03T15:10:12
2016-02-03T15:10:12
48,894,032
0
1
null
2016-02-03T15:10:12
2016-01-02T00:40:37
Python
UTF-8
Python
false
false
1,221
py
from flask import Flask, render_template, g, request from db import DB, Parcel, Account, LienAuction #from flask_table import Table, Col #DB.connect() app = Flask(__name__) @app.before_request def before_request(): g.db = DB g.db.connect() @app.after_request def after_request(response): g.db.close() ...
[ "vincent@vincentdavis.net" ]
vincent@vincentdavis.net
dc4674f803794f7e51eeb77fef6368cc650bb9d5
8d783c8b9b054ef4bad484b476587eaca36465fd
/venv/lib/python3.6/site-packages/pip/req/req_install.py
522735c7a758aeb1301acd3425219beaf69cb37d
[]
no_license
AndyHide/microblog
d7e2d0cc8022abda6e48b1c09643e01b2f3aeced
7d78621530eb2403204815dacb1c63d28a2124b9
refs/heads/master
2022-12-23T22:21:55.405525
2019-12-11T17:46:44
2019-12-11T17:46:44
191,319,739
0
0
null
2022-12-08T05:16:04
2019-06-11T07:41:34
Python
UTF-8
Python
false
false
46,537
py
from __future__ import absolute_import import logging import os import pip.wheel import re import shutil import sys import tempfile import traceback import warnings import zipfile from distutils import sysconfig from distutils.util import change_root from email.parser import FeedParser from pip._vendor import pkg_reso...
[ "andyhidesds@gmail.com" ]
andyhidesds@gmail.com
3a5c4082a2528983782135ceb2a79d92981409e9
369e7b1d96ae70a6aea75cdce577ce6091a95672
/MessageSubscriber.py
98a80005f2ef1b80ba2fbb74d7b34b7f61f5d979
[]
no_license
vladmosin/RabbitMQChat
5ca756ee1d917db0b8923a2f9160ac98a9f51fa3
9814b3f6a318af2137053cf516d5e10b0424a458
refs/heads/master
2022-04-24T22:58:58.117423
2020-04-30T12:15:14
2020-04-30T12:15:14
259,902,318
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
from abc import abstractmethod class MessageSubscriber: @abstractmethod def receive_message(self, text, channel): pass
[ "surkovmax007@mail.ru" ]
surkovmax007@mail.ru
9935830816782ca4bbe14f5537a51ca72ff16bc6
b109001ec3ca8aa4b2cfc4d4520d8644c58ad5e0
/navigation/Mappers.py
e6b134df0a24b3ea97c7ed69c07d70c972f65cf3
[]
no_license
Chandanpanda/navigation-benchmark
b3e25e3672150413299a3d2566ad601156317acf
d83431d6648ac1147f53056ed32ce2caae4f702d
refs/heads/master
2021-10-24T04:42:56.436909
2019-01-31T12:43:48
2019-01-31T12:43:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,626
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from math import ceil,floor import math from .Reprojection import getMapSizeInCells, project2dPClIntoWorldMap, ReprojectLocal2Global def DepthToLocal3D(depth, fx, fy, cx, cy): r"""Projects depth map to 3d point cloud with or...
[ "ducha.aiki@gmail.com" ]
ducha.aiki@gmail.com
9c6b3aec40fc686e3dfec87ca54b17cfe5471915
16378afe654be057bb039159eba01f93f3bfb19e
/gui.py
36b3887bdf0a9ea319f61855611c8a2162be696c
[]
no_license
NataliyaDemyanenko/Goldenapp-10-02-2021
3d75af84dfc8ea3ec7dad81c8c6e1c3eabbeae71
eede268331ab0ecde5025af8cd73abec434b0e39
refs/heads/main
2023-03-03T18:55:17.386850
2021-02-10T17:22:43
2021-02-10T17:22:43
337,798,142
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
#!/usr/bin/env python3 import tkinter as tk from tkinter import filedialog from tkinter.filedialog import askopenfilename from tkinter.filedialog import asksaveasfilename from tkinter import * import pickle from goldenapp3 import * entries={} entry={} entry_var={} errmsg = 'Error!' def load_file(): FILENAME=ask...
[ "noreply@github.com" ]
NataliyaDemyanenko.noreply@github.com
f38fe04087f81b2c9fb2f420c7a6a4e634999f91
46595ed0e3943d30a149c3599f11f8e2e604f968
/ver1_0/openassembly/pirate_messages/tasks.py
f7feb6c5633e4346afbd8bd79b8fd28b214d48ea
[]
no_license
W3SS/Open-Assembly
7242f823c33849883168d1963c8dcb6901cb76c0
e9679ff5e7ae9881fa5781d763288ed2f40b014d
refs/heads/master
2021-05-08T15:34:32.943969
2012-12-11T20:37:32
2012-12-11T20:37:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from celery.task import task @task(ignore_results=True) def set_to_read(notes): for i in notes: i.is_read = True i.save()
[ "fragro@fragro-computa.(none)" ]
fragro@fragro-computa.(none)
d399b2d3a8ff12446dacbf96a4e46f7b8f5d2e92
52555a17cdb6058565696585c978c9012b0bfad7
/examples/synthetic/park2_4/park2_4_mf.py
b8d64549b8c4f770d2f4fd70d7fcabdc1ba4bee4
[ "MIT" ]
permissive
kirthevasank/dragonfly
8685d6aff272bd262d9b47c455fc1f1dc77a42aa
8e09d5ba602d14922455bf09bdd4ca0fa09ef3ee
refs/heads/master
2020-05-02T00:38:35.252889
2019-05-17T03:40:23
2019-05-17T03:40:23
177,675,339
3
0
MIT
2019-05-06T04:07:41
2019-03-25T22:39:37
Python
UTF-8
Python
false
false
489
py
""" Parkd function with multi-fidelity. -- kandasamy@cs.cmu.edu """ # pylint: disable=invalid-name from park2_4 import park2_4_z # Write a function like this called 'obj'. def park2_4_mf(z, x): """ Computes the Parkd function. """ return park2_4_z(z[0], x) def objective(z, x): """ Objective. """ return ...
[ "kandasamy@cs.cmu.edu" ]
kandasamy@cs.cmu.edu
1f5cf0f82724f2a88bf1b3f3fb976a08820ae79d
0324b2869c0bb89ae294040a97d811e6bea938e9
/code/Mail_to_multi_receiver/Csv2Email.py
1b57da3914e05f3353db5eb4a33bf09a797d67c7
[]
no_license
yohee2015/ibszjgsu.github.io
240dc88f4353685705be998eb3e108c691b0c71d
4b6dfc57149aa438794aa49aef21ffb2e94649ac
refs/heads/master
2020-03-19T11:15:18.432254
2018-06-04T14:42:37
2018-06-04T14:42:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,024
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 30 23:15:52 2018 @author: NI He """ import smtplib from email.mime.text import MIMEText import os import re import mysql.connector import time import csv def table_exist(tab_name): cur.execute('show tables') # 罗列所有当前库里面的所有表格 tables = cur.fetchall() sele...
[ "ni.he@qq.com" ]
ni.he@qq.com
50b6850399802b4c26d8204b660c997e56c67b3b
b4e4cd7eae81f27b006fc28f79631db3e894572f
/Budgetsystem/Budgetsystem/urls (2021_07_03 17_35_37 UTC).py
fa7ccfa6a1aed7eb645c59bc59ef56cb1e81632c
[]
no_license
mariachacko93/recipe-budget-bill
effe369c7a873b7e59e4e22cacb7e247fb44bfa7
6ad231febe9f3c837536067a9ddd096a2ae6a2bf
refs/heads/master
2023-06-18T06:41:02.536377
2021-07-14T05:54:39
2021-07-14T05:54:39
385,829,500
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
"""Budgetsystem 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')...
[ "you@example.com" ]
you@example.com
bc778745a1b3a5fff9ef3615ce55a5d22f8d8c91
d6a617eae82fa5a663ce2f514438a1e654880dde
/EPS-main/Model/migrations/0021_qqqqq.py
377f072562435ecbe6704240017a617119e165f7
[]
no_license
AbdoAbosamra/EPS-main
25f9077ffdc2c0b98587bd8058999ed1a03c36e6
eebb14215cd796886a0c552f6ae6f8058d43a16f
refs/heads/master
2023-06-22T14:52:02.038821
2021-07-09T18:35:00
2021-07-09T18:35:00
369,046,913
0
0
null
2021-07-09T03:55:52
2021-05-20T01:37:18
CSS
UTF-8
Python
false
false
765
py
# Generated by Django 3.2 on 2021-04-19 21:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Model', '0020_delete_qqqqq'), ] operations = [ migrations.CreateModel( name='QQQQQ', fields=[ ('id', m...
[ "67236632+AbdoAbosamra@users.noreply.github.com" ]
67236632+AbdoAbosamra@users.noreply.github.com
8028c10ee0079c4df8f7287c79b49d862b226f32
9e9a6bf6ac1912c03b20afb3a8712194b439a92f
/ex06.py
720f73d71e971f077958a61f66a76ac52ca9624a
[]
no_license
seanflannery10/learn_python3_the_hard_way
11a709872f8bedc3383541951269f250c680d893
d64830882fd29250fdb9c7dfdf93f4d11578ce53
refs/heads/master
2020-05-16T05:53:53.670365
2019-05-08T22:31:23
2019-05-08T22:31:23
182,828,987
1
0
null
null
null
null
UTF-8
Python
false
false
428
py
types_of_people = 10 x = f"There are {types_of_people} type of people." binary = "binary" do_not = "don't" y = f"Those who know {binary} and those who {do_not}." print(x) print(y) print(f"I said: {x}") print(f"I also said: '{y}'") hilarious = False joke_evaluation = "Isn't that joke so funny! {}" print(joke_evalua...
[ "seanflannery10@gmail.com" ]
seanflannery10@gmail.com
1a2a244f5a7ffd2c4a3c4534e593dc75e9823e55
49b827bb587d50c5092837749a7d5b88c024e854
/experiments/ACOSlite/HDF5_to_GeoJSON.py
722867db0ee2e86786f2b64806e22f0365deda70
[]
no_license
SpaceAppsXploration/oco-2-data-network
7d836bf77cf79a5aac1cd22b02c75af316432b56
7d1fd709c7c219c83b7ea9f8075f7df46b460f23
refs/heads/master
2020-12-11T05:43:45.979066
2015-07-18T08:56:29
2015-07-18T08:56:29
34,137,221
1
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 16 15:23:47 2015 @author: jacopo """ import json from pprint import pprint import h5py # # TO DOs # # 1. Add the reference to Sensors ontology # ACOS LITE file in the same directory f = h5py.File('ACOSv3.4r02_L3_20100101_000000_20130515_000000.h5', libver='earliest') ...
[ "tunedconsulting@gmail.com" ]
tunedconsulting@gmail.com
de6f06a997f2d5589ece90ce63789b0322f7e068
d290201b2897d0e2c65334c385b15b30281856d6
/main/migrations/0004_auto_20191031_1607.py
524d53104aef9ca9f3576e6f3c8c868e11f75424
[]
no_license
atosorigin/fixture-scheduler
d7c52f9d632833dacec4148a21481aff3d3c507b
9fad692d17a4e8811a5e7798b425b6877ffaf812
refs/heads/dev
2023-04-27T16:54:21.312664
2019-12-11T16:01:32
2019-12-11T16:01:32
227,348,826
0
0
null
2023-04-21T20:42:16
2019-12-11T11:22:55
Python
UTF-8
Python
false
false
492
py
# Generated by Django 2.2.6 on 2019-10-31 16:07 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0003_auto_20191031_1601'), ] operations = [ migrations.AlterField( model_name='tutorial', na...
[ "terryn.booth@atos.net" ]
terryn.booth@atos.net
696019e0846f9b0756fa1d3d7d8afce4fe155348
918d9d94935cdf91f15bd6b59afcac46d605d0c5
/codecs/transformer-xl/pytorch/utils/adaptive_softmax.py
e5da0869e98c4c67370e4b2d835dbd7807d66a38
[ "Apache-2.0" ]
permissive
TrellixVulnTeam/nlp_ME8J
34b4154c6b0080b3458568f51c5fc8be9c42eaf5
339b41e25c925026f94ec4b284c035e81db62ba2
refs/heads/master
2023-03-16T12:33:54.535282
2020-08-22T15:02:15
2020-08-22T15:02:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,402
py
from collections import defaultdict import numpy as np import torch import torch.nn as nn import torch.nn.functional as F class AdaptiveLogSoftmax(nn.Module): def __init__(self, in_features, n_classes, cutoffs, keep_order=False): super(AdaptiveLogSoftmax, self).__init__() cutoffs =...
[ "hjm15718800930@163.com" ]
hjm15718800930@163.com
1481d8d1055944438faae5311e149a22bb41fc6a
68fc65f2d27495ef251629c351018dfb9c67d2c5
/janome/version.py
a60ed74569ae6bc1324171de1889dccfd7c2b2e8
[ "NAIST-2003", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mocobeta/janome
5f1b7ec2046d3916069ebeefce35ce98102c4205
9d82248e0c0815e367b9604d83ef0de198e017bc
refs/heads/master
2023-07-12T22:48:47.528908
2023-07-01T11:31:23
2023-07-01T11:31:23
30,792,770
837
69
Apache-2.0
2023-07-01T11:25:28
2015-02-14T09:47:00
Python
UTF-8
Python
false
false
29
py
JANOME_VERSION = '0.5.1-dev'
[ "tomoko.uchida.1111@gmail.com" ]
tomoko.uchida.1111@gmail.com
98d14c528f3d8a2f41a89520b83d1b12c47f106c
4fb0bbd08babd2a4dd139dedcb31a0b2a1ddb79d
/setup.py
126e921c18f22156681dc3e0259e061492553ef5
[]
no_license
Abhijeet-Patil-GH/A-Simple-Files-Organizer
cec772de95525883e82f3b819c06d0fb4ecbe5f1
93a9a8be004b7c5876391fc72e60822d8d058c7d
refs/heads/main
2023-02-28T12:29:31.894869
2021-02-04T09:51:53
2021-02-04T09:51:53
333,042,580
1
0
null
null
null
null
UTF-8
Python
false
false
660
py
import cx_Freeze import sys import os base = None if sys.platform == 'win64': base = "Win64GUI" os.environ['TCL_LIBRARY'] = r"C:\Users\Abhijeet\AppData\Local\Programs\Python\Python38\tcl\tcl8.6" os.environ['TK_LIBRARY'] = r"C:\Users\Abhijeet\AppData\Local\Programs\Python\Python38\tcl\tk8.6" executables = [cx_Fr...
[ "shadyrick20@gmail.com" ]
shadyrick20@gmail.com
b273893e978e13abeafced16eeeb0af79e1528b5
4eee9a7c01d0ed7499dfc69336155569b0768738
/opencv-test.py
e2c1c3d6d57a2116ee544eed742b82a97b79c306
[]
no_license
mfkiwl/stereo-camera-security
54f7bc6e343c70ae4e51b8655b8814b79f7d97e2
bb5d6a178b3bfc0998a5b4e916eb22ab309e44f7
refs/heads/master
2023-01-05T03:56:07.909301
2020-11-05T04:35:32
2020-11-05T04:35:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
import argparse import datetime import imutils import time import cv2 import numpy as np vLeft = cv2.VideoCapture("./left.mpeg") vRight = cv2.VideoCapture("./right.mpeg") def processFrame(): frameLeft = vLeft.read()[1] frameRight = vRight.read()[1] if frameLeft is None or frameRight is None: ret...
[ "whupdup@github.com" ]
whupdup@github.com
8e08de6864ffcc30fe91ddd5cbed2453a66142e1
e2e482acc7bc7c6539aa0f8f00168fab0bd9110f
/timer.py
edbf8b113dd7086059ff7c637b96e9ade22d3b8d
[]
no_license
mtizhoush/pacman_portals
884a9b0b87862a553dd33ce13ecfbf095dbb688a
52bdb127ce8de865cd7ba2dc8b5d9f852b5e9d97
refs/heads/master
2020-04-03T13:23:04.722847
2018-10-29T21:25:47
2018-10-29T21:25:47
155,282,936
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
import pygame class Timer: def __init__(self, frames1, frames2, wai1t=100, wait2=100, wait_switch_timers=1000, frameindex1=0, frameindex2= 0, step1 = 1, step2 = 1, looponce=False): # imagerect frames self.frames = frames self.wait = wait self.frameindex = frameindex self.loop...
[ "noreply@github.com" ]
mtizhoush.noreply@github.com
56a1ae931a0725e26b1a73860c6543e66b71ca66
6e5c625136c36d845c72f7a4fdea482f05384590
/flaskr/resources/Arena.py
80f75710073b63af3ddb2c10ff8ceaf1b89b255c
[]
no_license
DvdCp/BattleWebApp
26fe9e714c090add337d951a1672ef7747a1db33
f8eeeccdb0e73bd4bcc9529adfe74436d8cf5c13
refs/heads/master
2023-07-08T09:53:10.640382
2021-08-08T18:09:13
2021-08-08T18:09:13
379,716,474
0
0
null
null
null
null
UTF-8
Python
false
false
4,829
py
from os import stat from flaskr.challangers.Challenger import Challenger from flaskr.challangers.Hero import Hero from flaskr.challangers.Monster import Monster from flaskr.challangers.lobbyparser.LobbyParser import LobbyParser from flask import request, render_template, make_response from flask_restful import Resource...
[ "davidecap00@hotmail.it" ]
davidecap00@hotmail.it
c47c138fbfc71660b3e48e1c7bd7b7396dd4fea6
b8fa5d2da0145e849b42c39fc8c81697c3a9e187
/for.py
27e5eef7649f234273f03c15388121bd3946efba
[]
no_license
ryanblahnik/Automate-the-Boring-Stuff
68c67f09ea59252e41ddd0167de0cb33134b1ed2
466ecf5f5c128c58cf95a87e15837229e35f9aa9
refs/heads/master
2021-05-31T17:40:14.019847
2016-06-04T15:23:45
2016-06-04T15:23:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
print('My name is') for i in range (20, -10, -2): print('Jimmy Five Times ' + str(i))
[ "ryanblahnik@gmail.com" ]
ryanblahnik@gmail.com
ea6605ef676901cdaa2b7ecd171b34dbb404925c
bad0c65e6d2b70e54e7493203313889c51b131bd
/lesson_45/Booking.py
a1dd459bbe307d3d997b74b44feae4dfc40a43e4
[]
no_license
kwiatkowski1981/Inheritance_in_python
32e66c56aaf96558c8180e7d30409e0493462694
3b2912659e6ca26c24e2eaba69c6391622c92eb9
refs/heads/master
2023-05-24T18:29:02.437260
2021-06-09T20:18:14
2021-06-09T20:18:14
371,510,989
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from datetime import datetime class Booking: def __init__(self, start_date: datetime, end_date: datetime): self.start_date = start_date self.end_date = end_date def get_difference(self): difference = self.end_date - self.start_date return difference.days + 1 # liczy nie wlic...
[ "jakub.kwiatkowski1981@gmail.com" ]
jakub.kwiatkowski1981@gmail.com
6b44d42ee68fd6a11886d0d5ed8184f10026f9ce
56d84916b48a70bf4b23bc012ef1f48a8cb35834
/architectures/DANet/utils/constant.py
a7bc8c942c85c77cf58ccf38c82a924ca205cc4e
[]
no_license
medical-projects/Deep-Learning-on-medical-Datasets
3a100ba690fc2753f61ad72996fc216bf7f26bf9
e5983785eacfb1ba022c81b5d375d0709dafb256
refs/heads/master
2023-02-11T14:52:12.507711
2021-01-06T03:49:43
2021-01-06T03:49:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
MASK_BG = 0 MASK_LIVER = 63 / 255 MASK_KR = 126 / 255 MASK_KL = 189 / 255 MASK_SPLEEN = 252 / 255 IMG_WIDTH = 256 IMG_HEIGTH = 256 CLASS_INCREMENT = 63 NUMBER_CLASS = 4
[ "jadasmar97@gmail.com" ]
jadasmar97@gmail.com
5d22b4797ca4a4d3f1e60a8d26ac60137495612b
2557d02e93a6b47e462d72ae31b3bd51af4f5759
/rssr/settings.py
9cd566b8d9842749f0294b74f29b580bb7e1811c
[]
no_license
davilima6/rssr
ffef9eed412f0610c7a33a582aab317192003a27
cfa4693e549cdb67c9fae57393c7670f33651f99
refs/heads/master
2021-01-01T19:11:23.635962
2014-09-24T13:44:38
2014-09-26T14:00:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,910
py
""" Django settings for rssr project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) impor...
[ "davilima6@gmail.com" ]
davilima6@gmail.com
ff20f97e522dad036e7df019b8c4e0a5caae626a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_unguents.py
87d4634aa61496578132ed4c4606ab4ff28ddf79
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
from xai.brain.wordbase.nouns._unguent import _UNGUENT #calss header class _UNGUENTS(_UNGUENT, ): def __init__(self,): _UNGUENT.__init__(self) self.name = "UNGUENTS" self.specie = 'nouns' self.basic = "unguent" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
903d89061c0763490c5d32fede65e3efd0580966
2b1ecde355731929993e5da98c6157e3d20d84ff
/src/count_vectorizer_using_scikit.py
39623a2a8d67d4fcbd34c6268af24d796b0b5626
[]
no_license
Parvez-Khan-1/text-vectorization-techniques
e13c892025c3f5686ec61b2b433ea4f7e91af8d0
bf953cb5136c4efbcd2e1ba31e15fe8211f85e8d
refs/heads/master
2020-04-16T10:41:50.016401
2019-01-14T12:54:48
2019-01-14T12:54:48
165,513,696
1
0
null
2019-01-14T12:54:49
2019-01-13T14:17:06
Python
UTF-8
Python
false
false
395
py
from sklearn.feature_extraction.text import CountVectorizer text = ['An apple a day keeps doctor away.', 'Parvez likes to eat apples.', 'Natural Language Processing is Fun.'] vectorizer = CountVectorizer(ngram_range=(1, 2)) vectorizer.fit(text) print(vectorizer.vocabulary_) test_example = ['I like a...
[ "ppathan@digitalpharmacist.com" ]
ppathan@digitalpharmacist.com
4196a9a7104fb3f05d55626be64abebd451b20f1
9d3280739c5fa3c58eb927f40ab5f82173f2831f
/src/pybind/fstext/fstext_pybind_test.py
66b70fc20382b5666df316d5ef9a6c251fa55da8
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
aadps/kaldi
00c2db99331cdf80fe376cb1ea8bce70d3ea05d5
cd351bb31c98f9d540c409478cbf2c5fef1853ca
refs/heads/aadps
2020-12-09T15:56:00.679658
2020-04-13T10:58:03
2020-04-13T10:58:03
233,353,064
0
0
NOASSERTION
2020-01-28T02:28:52
2020-01-12T07:11:30
Shell
UTF-8
Python
false
false
1,693
py
#!/usr/bin/env python3 # Copyright 2020 Mobvoi AI Lab, Beijing, China (author: Fangjun Kuang) # Apache 2.0 import math # for math.isnan import os import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir)) import unittest from kaldi import fst class TestLatticeWeight(unittest.TestCase): ...
[ "noreply@github.com" ]
aadps.noreply@github.com
639ac060faa73c4d26eef615c19c9364d3db8ecb
2e5b5f51d5f7c42752dd4304dd264b84fb41a91a
/vegetativo/views.py
4be5b74410f2a5c8e8f0c817f09908499d3cfe55
[]
no_license
22022013/13072015
d05594321dfd9613f318f55d2fc33b3ae32d6f52
02d3cacc98ac8dae359eaed2dada9c5e52bb88b0
refs/heads/master
2020-04-05T23:05:33.670255
2015-09-11T00:24:36
2015-09-11T00:24:36
39,043,045
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.shortcuts import render from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render from django.contrib.auth.models import Group from django.core.urlresolvers import reverse as r from django.contrib.auth.decorators import logi...
[ "beh.mno@hotmail.com" ]
beh.mno@hotmail.com
f4bb3586cb062de7a8efa4f03401542b346f3f2a
66caa4ea68759ad897d739a0d0abade0b17388e2
/tracker/site/views.py
8427fd416cd771d612441d24fa475032b4cb61da
[ "Apache-2.0" ]
permissive
XOyarz/potato-app
0e5ff6b1733bb050294529ba4df311b843b85173
845e69da5bf82e2ebacd0d5488f8a3ce7041751d
refs/heads/master
2021-09-03T10:54:24.843198
2018-01-08T13:30:52
2018-01-08T13:30:52
114,784,912
0
0
null
null
null
null
UTF-8
Python
false
false
4,928
py
from django.core.urlresolvers import reverse from django.contrib.auth.decorators import login_required from django.shortcuts import get_object_or_404 from django.views.generic import TemplateView, CreateView, UpdateView, ListView, DeleteView from .forms import ProjectForm, TicketForm from .models import Project, Ticke...
[ "xavier982@hotmail.com" ]
xavier982@hotmail.com
d0ceb01df76cc0d262d8c8bced2b54029ec1c256
9f5ea89c729a52a44cc363f62ceccd744771b061
/user/migrations/0007_auto_20190520_2034.py
1a24b0f5a52c22e9fe67a2a3c03f6f5c01746ed2
[]
no_license
Leandrorferreira/DEMODAY
4a13b676a524aba09257ceaa71bb51907283f378
14d8bf00796927abb9e2126505f0408bca50fcd8
refs/heads/master
2023-05-05T02:46:16.386684
2019-05-28T12:35:59
2019-05-28T12:35:59
188,088,187
3
0
null
2023-04-21T20:32:11
2019-05-22T17:54:17
CSS
UTF-8
Python
false
false
520
py
# Generated by Django 2.2.1 on 2019-05-20 23:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('user', '0006_auto_20190520_2022'), ] operations = [ migrations.RenameField( model_name='profile', old_name='user_birthday', ...
[ "leandrorferreira95@gmail.com" ]
leandrorferreira95@gmail.com
58b2baef07663c5e82c8e96e9e9e199a40108943
af685f9625dc3fc1892171df396ed46155caa092
/WORC/resources/fastr_tools/worc/bin/FeatureConverter_tool.py
84635983ccc0a62c9a1aa63c19be4a548ed16b53
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MStarmans91/WORC
b66d7de70e2f3acab5100a3431855216b31bd7b1
f267b3d05c8193939aa4f43e47c6e24f9307864e
refs/heads/master
2023-08-17T14:02:29.566811
2023-08-15T08:58:42
2023-08-15T08:58:42
92,295,542
65
20
NOASSERTION
2023-08-15T08:58:44
2017-05-24T13:31:31
Python
UTF-8
Python
false
false
2,404
py
#!/usr/bin/env python # Copyright 2017-2020 Biomedical Imaging Group Rotterdam, Departments of # Medical Informatics and Radiology, Erasmus MC, Rotterdam, The Netherlands # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obt...
[ "m.starmans@erasmusmc.nl" ]
m.starmans@erasmusmc.nl
821517e5ea6fac918e2c0b7b96dc5c4dbd163249
ac86b8b2ace578e71d125054d0cf4a36a8b1ffe1
/main/dataCollection.py
6586ebce6bae95d02ed08af8ec6ee1afa6263bfe
[ "MIT" ]
permissive
KubeKing/Butterknife-Matchmaking
e22d293b4d85ee531406579a38d43f7c7c5c56e3
1ebb261441f547d960e478a0283637babec49b90
refs/heads/master
2021-06-18T15:44:05.753021
2021-02-05T15:52:50
2021-02-05T15:52:50
168,908,408
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
#Developed by Trey Walker for The Butterknife from __future__ import print_function #Google from apiclient import discovery #Google API from oauth2client import client #Google API from oauth2client import tools #Google API from oauth2client.file import Storage #Google API import httplib2 #For HTTP Usage import r...
[ "techking802@gmail.com" ]
techking802@gmail.com
862ab8f5ecaa1f4ee3719e2a020c680e26816952
ccf00a0a8cd1ccc724c2899fa572e5731453cef7
/Assignment 1/cs7641-master/supervised/boosting/plot_adaboost_regression.py
4a6e1e4ae866158220d25a7d65c4349ff64e574f
[]
no_license
kuanchao/MachineLearningProjects
2641924ba75ab56720367fb2846951b007040daa
40e7d8d31358e265afb015dbad800646e87a5d2d
refs/heads/master
2021-01-01T06:06:50.945397
2017-07-16T03:29:26
2017-07-16T03:29:26
97,357,688
0
0
null
null
null
null
UTF-8
Python
false
false
3,725
py
print(__doc__) # Author: Peter Prettenhofer <peter.prettenhofer@gmail.com> # # License: BSD 3 clause import numpy as np import matplotlib.pyplot as plt import csv import pdb from sklearn import ensemble from sklearn import datasets from sklearn.utils import shuffle from sklearn.metrics import mean_squared_error ##...
[ "kuanchao@gmail.com" ]
kuanchao@gmail.com
7bb0f2efce838cff29cd7b40abcf7651c2dee37c
130d2040cc9f216b552d363fde6c913e301574bb
/node_modules/mongodb/node_modules/bson/build/config.gypi
c7b44e426dda164eab7267419f3388460bef6877
[ "Apache-2.0" ]
permissive
kevin-prox/quoteit
59a8e8c70c86723a5f0a0a690f3101218a4ec933
9d157d2d88bcecd7437cec710899e980cce4d5ba
refs/heads/master
2020-04-06T04:58:35.763377
2014-09-15T20:22:02
2014-09-15T20:22:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,171
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 46, "host_arch": "x64", "node_install_npm": ...
[ "Kevin.Prox@wnco.com" ]
Kevin.Prox@wnco.com
2c91f717896fc3f5eac18c5d46fd83a24d3fc38e
a8c5737cd18bef86bedfe4528c05aab785007505
/backend/myconcretecasting/models.py
78abc11478297ec15db419431c373f838d7b1117
[]
no_license
CSTC-WTCB-BBRI/myConcreteCasting
5ed5984c59bc81fac234409852dcea82c05a4d41
9e7414c76ba7abafefafbaba1313cf695d8bf616
refs/heads/master
2023-07-05T19:12:50.337158
2021-09-02T18:06:40
2021-09-02T18:06:40
368,918,664
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
from django.contrib.auth.models import AbstractUser from django.utils.translation import ugettext_lazy as _ from django.db import models from djongo import models from .managers import UserManager import uuid class User(AbstractUser): username = None email = models.EmailField(_("email address"), unique=Tru...
[ "automeedwin@gmail.com" ]
automeedwin@gmail.com
b165896c2271d3ae0926d185ad15cbd8e3d9f4cc
9e852bd873f25dd836ad29ab16a1d90e068fdf0c
/mysite/blog/admin.py
c76937d5e1dcb8c43a416ea69340e34b3dbae65a
[]
no_license
todd-san/mysite
8f0fbb883102e848c0325804dcce7092baef6dae
f19631caf9bebde1762118fbf06c833614ddc335
refs/heads/master
2021-09-20T06:18:33.032383
2018-08-05T16:55:08
2018-08-05T16:55:08
114,711,630
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
from django.contrib import admin from .models import Post, AboutMe, Service, Contact, Project # Register your models here. @admin.register(Post) class PostAdmin(admin.ModelAdmin): list_display = ['id', 'title'] @admin.register(AboutMe) class AboutMeAdmin(admin.ModelAdmin): list_display = ['id', 'title'] ...
[ "mille2tm@gmail.com" ]
mille2tm@gmail.com
90f4696555e174ef011d383417a37633f1b0867b
54d2887e3c910f68366bd0aab3c692d54245e22a
/abc/abc_042_125/abc089/a.py
0311aa625dd7cd2c28dad38a37460155d16513a9
[]
no_license
Kevinrobot34/atcoder
7aec367fd2c6b589e9d583dae7b3c7520ce9fa12
482ea508f098f81e4f19522fe518dd22c781aca9
refs/heads/master
2022-07-10T23:44:45.290022
2022-06-29T11:30:26
2022-06-29T11:30:26
158,081,477
1
1
null
null
null
null
UTF-8
Python
false
false
32
py
n = int(input()) print(n // 3)
[ "kevinrobot34@yahoo.co.jp" ]
kevinrobot34@yahoo.co.jp
f63cc5c3a8d57406402d3ee8c99b0c3f4c70154e
5f98660f60923710c7873640c74cfa5ff3b26a86
/portal/views.py
06f165eb235f8621079bd6cf81b4e84a2ba6f225
[]
no_license
yingle/land_war
1b5745c26375e37f090418a8e7b0425db86ed629
439a756ad406c3aca99e1997e4c4e1958af1b0b6
refs/heads/master
2021-01-17T18:30:34.194762
2016-07-27T11:13:41
2016-07-27T11:13:41
64,011,356
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
from django.shortcuts import render from django.shortcuts import render_to_response from django.http import HttpResponse from django.contrib.auth.decorators import login_required # Create your views here. @login_required() def personal_space(request): return render_to_response('portal/personal_space.html')
[ "linyingle@gmail.com" ]
linyingle@gmail.com
287b3db42bf56ee7ebd9037f090b0b4c6d7780a6
e91b4ceb117f4bed0baa8985fb42bce72f0a6262
/.ipynb_checkpoints/covid-checkpoint.py
d1553e49effd6ee79ebb935a2cd42a67308d9d08
[]
no_license
ChiCodes2020/tkh_project
5c0693ba0cb72a5146b9efbe7a306ed470d7f138
cd498d162e5df5e22e9c98f283d2489a64e367af
refs/heads/main
2023-02-15T17:30:42.025032
2021-01-12T20:08:00
2021-01-12T20:08:00
313,191,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
import requests from bs4 import BeautifulSoup import csv #we want to create a script in python #we want to create a function that scrapes from the specified website covid_data = [["Country", "Cases", "Deaths", "Recoveries", "Death_rate", "Recovery_rate" ]] def scrape(): req = requests.get('https://en.wikipedia.o...
[ "chiona@chionasmacbook2.home" ]
chiona@chionasmacbook2.home
67d3f1296255d2887b0386a00853c9a2edc086cd
313db12a459ee17d1fe354978ecc9fe9a0359b98
/python/CreateClass.py
44b6c2334a35c087f7c87df5a73541b3e420d7f5
[]
no_license
siknight/hadooppratice
f6bfa0e4409b4b7ae81c82610de4030c78ef782d
e0878f732bded0c05b6beaef6e4167da42ac22c5
refs/heads/master
2023-02-11T08:53:50.046639
2021-01-14T03:45:55
2021-01-14T03:45:55
316,176,176
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
class Cat(object): # 吃 def eat(self): print('猫在吃鱼....') self.age =18 # 喝东西 def drink(self): print("猫在喝东西...") # 创建一个对象,并用变量tom来保存它的引用 if __name__ == '__main__': tom = Cat() tom.eat() print(tom.age) tom.name="erhuo" print(tom.name)
[ "1786678583@qq.com" ]
1786678583@qq.com
678801de7d60da4e7d3edb4cb0592205b6e881d4
6ee89e8bdb4e3270d0fd89023c5992f671d99a95
/hisense/util/Python2DataBase.py
6bf3465b9a589e67ac1fa0aadec2e4ff12a95db3
[]
no_license
maxiao227/passengerFlowForecast
cb711a2233bacfbbbe89f5b569ee7cf9d8b55ef1
a7e58c33d026efca27f6290e39b4917abd566bae
refs/heads/master
2020-03-24T00:33:09.648423
2018-07-25T06:37:13
2018-07-25T06:37:13
142,296,081
1
1
null
null
null
null
UTF-8
Python
false
false
2,252
py
# -*- coding: utf-8 -*- import configparser import uuid import datetime class Python2DataBase(object): Config = configparser.ConfigParser() Config.read('../model/dbconfig.conf') dirver = Config.get('DATABASE', 'dirver') url = Config.get('DATABASE', 'url') user = Config.get('DATABASE', 'user') ...
[ "maxiao1@hisense.com" ]
maxiao1@hisense.com
4b68733a5da1facd4daa9d36b3eafb06d1b7bea2
79a484e91a8df432a0ded93806a1e8237df7c253
/umibukela/migrations/0020_auto_20170124_1443.py
03d19703ba05730c59fd74bd2588eed73576e207
[ "MIT" ]
permissive
OpenUpSA/umibukela
7ba14397ad543154d3a32ebfd84e89aa07f7011e
34c1a29a429b88c2f574e9120cfe93ba524633da
refs/heads/master
2023-07-26T19:45:12.531887
2023-07-10T15:53:07
2023-07-10T15:53:07
47,106,932
0
0
MIT
2023-02-02T01:36:59
2015-11-30T09:03:27
Python
UTF-8
Python
false
false
618
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('umibukela', '0019_auto_20170124_1252'), ] operations = [ migrations.AlterField( model_name='cycleresultset', ...
[ "jbothma@gmail.com" ]
jbothma@gmail.com
0646ba4d33ba2598127f9032251950afa8f84983
a4469f87d13c4edef3eba384f6c994d097ecdb7f
/testing.py
a9c8b822e1df5655f66000db1e2738f0e82b3d4c
[]
no_license
joseluisvaz/conv-net
e03b184eab83335b9ce1d09c734e34af61aa55b6
53b3a3d344010d8ee7a6f8bd92ca3c2d8c87958d
refs/heads/master
2021-08-24T03:48:59.923532
2017-12-01T17:52:07
2017-12-01T17:52:07
112,429,625
0
0
null
2017-12-01T17:52:08
2017-11-29T05:10:16
Python
UTF-8
Python
false
false
2,932
py
import numpy as np from utils import load_dataset from utils import convert_to_one_hot from utils import accuracy from utils import random_mini_batches from layers.convolutional_layer import Conv from layers.fullyconnected import FullyConnected from layers.flatten import Flatten from layers.max_pool import MaxPool from...
[ "noreply@github.com" ]
joseluisvaz.noreply@github.com
4b0f0c943e827fd54a1f6f76f1ec7914cb9b0560
0a3f857d5d5035b6e9fa4841b9ecae700a9c808b
/example/test8/test72.py
7b5bf9b602c85a74c4c49d930a0c8d97a415a380
[]
no_license
liceyo/liceyo-study-python
d98031a7d49f69c817506db792a0fce4c65910a9
cbabe4cdf84b28783865e37b0e3d0e41593d509b
refs/heads/master
2020-03-31T20:49:24.323303
2018-10-23T06:32:40
2018-10-23T06:32:40
152,556,387
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
# 创建一个链表 if __name__ == '__main__': l = [input("please input a number:\n") for i in range(5)] print(l)
[ "lewislichengyong@gmail.com" ]
lewislichengyong@gmail.com
e49c6db96c82229c075a0553fd4af97cc9f3a4a0
4290a698a7192fd8b4f25544d656509706439025
/Kata_HW/HW4_3_Banjo.py
be728c76fbb11ddcbb72ffa3dcf37a9185689dc6
[]
no_license
Row35/Homework.SSAcademy
6401b869da99f5b963b4ec320eb229e03a1e9927
a577f5ee17ab3cb11a80e6beabfd06bf6f8fc289
refs/heads/master
2020-12-26T10:18:51.381457
2020-03-03T10:20:58
2020-03-03T10:20:58
237,479,109
0
0
null
2020-02-06T21:19:17
2020-01-31T17:17:19
Python
UTF-8
Python
false
false
163
py
def areYouPlayingBanjo(name): if name[0] == 'R' or name[0] == 'r': return name + " plays banjo" else: return name + " does not play banjo"
[ "ivan.shtoyko@gmail.com" ]
ivan.shtoyko@gmail.com
d44ba106ea8aff1d8cf7dd57c7ddf30bbbeb3023
aebacedc43afabf8ce54bb25f4cbe040441dcba4
/appscripts/appscripts-acer-120311/prefcns13.py
18829a38e63f5364d6b331c5b7b1cc4b9e340e4e
[]
no_license
swanandgore/rappertk
84e968447597494645ac0c9868358fc6a194197a
d1a5d5e0d096dfc23237e29bfd983183ca1e2fbd
refs/heads/master
2020-05-17T07:59:43.613762
2014-08-20T12:13:56
2014-08-20T12:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,302
py
import os, shutil, re import geometry from xray import cif2mtz, uniqueify, sfall, mtz2hkl, cns_generate, cns_anneal, sgCCP4toCNS, fft, omitmap, mapman from procrun import proc_run_exitOnError as execCmd from xcheck import XrayScorer, XrayRanker from data import sgtable from evalCAtrace import comparePhiPsiOmegaChi fro...
[ "swanand@ebi-001.ebi.ac.uk" ]
swanand@ebi-001.ebi.ac.uk
30a8a841f6e80bbe20e32a81e4e4f4a2a72c08e2
1edb43554ede707ce18fe33b009402b91a022c99
/test.py
2c5b126982624bc36018331deaebb9d0799059a0
[]
no_license
Techainer/mnist-mlchain-examples
09d3a1a0fe72c7cc7a3cec6e6e9e80371735b639
053d2bc3a6d0db8182cb1e64b19ca0670b38805a
refs/heads/master
2022-12-04T15:17:49.866910
2020-08-12T13:32:50
2020-08-12T13:32:50
286,946,915
13
2
null
null
null
null
UTF-8
Python
false
false
766
py
import glob import time import cv2 from mlchain.client import Client from mlchain.workflows import Parallel, Task from PIL import Image from tqdm import tqdm model = Client(api_address='127.0.0.1:9001').model() all_samples = glob.glob('data/*.jpg')*10 def predict_single_image(sample): image = cv2.imread(sample...
[ "lamhoangtung.vz@gmail.com" ]
lamhoangtung.vz@gmail.com
5fd0fc6232e320bcc15760a732c4cc9b643b3674
42528f5dcd3e2d4adbbb0e370a8298ff62e6c679
/memento/Editor.py
fef3915c23f67483654361ec4b78e62aa26b9ecf
[]
no_license
mohamedelashhab/design-pattern
5b36d54ed7a141220c86ddff92dea6622f8c3b7e
da5b7d06b4f93a427a7499d98a9e970b61ce6b97
refs/heads/master
2022-11-27T16:10:24.825512
2020-08-08T15:13:23
2020-08-08T15:13:23
276,177,882
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
from memento.EditorState import EditorState class Editor(): def __init__(self): self.__content = '' @property def content(self) -> str: return self.__content @content.setter def content(self, value: str) -> None: self.__content = value def createState(self) -> Editor...
[ "elashhab_fcih@yahoo.com" ]
elashhab_fcih@yahoo.com
2087f66359a6383aadf0b06ec31295815bc2ae13
2c8ed67a9e54b98a9b432f5a66287e4523497d65
/python/hsreplay/elements.py
26ca5f8871e7e77da22c26d41bcde04d629b64d6
[ "MIT", "Python-2.0", "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
EvilNuff/HSReplay
79915a87df182d3af3c4a7ed8fb3f9e84135e106
26fd02cbfbff7f5a6fec0573d227d3e1aff417bd
refs/heads/master
2021-01-12T08:00:48.065962
2016-10-14T22:03:48
2016-10-14T22:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,857
py
from dateutil.parser import parse as parse_timestamp from hearthstone.hslog import packets from .utils import ElementTree def node_for_tagname(tag): for k, v in globals().items(): if k.endswith("Node") and v.tagname == tag: return v raise ValueError("No matching node for tag %r" % (tag)) class Node(object): ...
[ "jerome@leclan.ch" ]
jerome@leclan.ch
ed51baa8059fc8e7048379aed5191ae1448b2e24
534124255a7f0a249daaa250ff2f3d0d0f5413e4
/poethepoet/executor/base.py
efa729d18b707c2900c81ea4d49f35d1058209e2
[ "MIT" ]
permissive
AnarchyCrew/poethepoet
41102b0989221dc550a3e443b59623ac81fc2270
e36ee136f3c4c0f016fa87069fac7f83af583aae
refs/heads/master
2022-12-25T12:02:29.646396
2020-09-27T18:00:32
2020-09-27T18:00:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,018
py
from subprocess import Popen, PIPE import sys from typing import Any, MutableMapping, Optional, Sequence, TYPE_CHECKING if TYPE_CHECKING: from pathlib import Path from ..context import RunContext class PoeExecutor: """ A base class for poe task executors """ working_dir: Optional["Path"] ...
[ "n@natn.me" ]
n@natn.me
ccfe4d93e43740333528c22f4c98234b6a43ece9
b20e387ab0cde80669c85dc1c257ca7a799148d3
/manage.py
8401a071decceb58a266c970e171d13b0601864d
[]
no_license
luomaohao/file_upload_sys
d352aeb6ac8578b4b37594681da5b65b52ed9c55
73c2e850b99533512cdccd1a09a77749f61a9bd3
refs/heads/master
2021-02-22T10:03:32.361120
2020-03-08T05:18:06
2020-03-08T05:18:06
245,375,004
4
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "file_upload.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "1293680370@qq.com" ]
1293680370@qq.com
d21050a17e15ff92bccfbce4604ba90af3d3d95f
56818903f60b5e7b88645f88badc92bfa5d2c65f
/automlcli/settings.py
05d100770da7b6b2f4c87b22a2dd400e38345549
[ "MIT" ]
permissive
altescy/automlcli
23e82ad957ac8cbeb43d734741dd8dfb9b24b0ff
ec57ac57df5d9d9f8a7ef79bb7a96a86801f32f4
refs/heads/main
2023-04-29T03:57:06.181052
2021-05-23T12:19:34
2021-05-23T12:19:34
341,651,976
2
0
null
null
null
null
UTF-8
Python
false
false
286
py
from pathlib import Path # colt settings DEFAULT_COLT_SETTING = { "typekey": "type", } # automlcli directory settings AUTOMLCLI_ROOT = Path.home() / ".automlcli" # plugin settings LOCAL_PLUGINS_FILENAME = ".automlcli_plugins" GLOBAL_PLUGINS_FILENAME = AUTOMLCLI_ROOT / "plugins"
[ "altescy@fastmail.com" ]
altescy@fastmail.com
0f904e64473e0a25754c0b977e1599a61fcaaa7b
660e35c822423685aea19d038daa8356722dc744
/account_statement_ofx/tests/__init__.py
eef3074bc7837bf7d59e074cce70d4916358feba
[]
no_license
saifkazi/tryton_modules
a05cb4a90ae2c46ba39d60d2005ffc18ce5e44bb
94bd3a4e3fd86556725cdff33b314274dcb20afd
refs/heads/main
2023-05-05T12:20:02.059236
2021-05-19T10:46:37
2021-05-19T10:46:37
368,768,310
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. try: from trytond.modules.account_statement_ofx.tests.test_account_statement_ofx import suite # noqa: E501 except ImportError: from .test_account_statement_ofx import...
[ "saif.kazi76@gmail.com" ]
saif.kazi76@gmail.com
1f205b501f856e9272614f1464fb7bd772afb52b
555c398a8a5af5d9d8a47926b2501109bf424f0e
/stonks.py
edfc183bf9545aef36e0d64c7279740b290ba2cc
[]
no_license
brianjohnpolasek/Stonks
83b124872b9e843cfacab3120109fdb9dfd17585
32cc2365c2efef9aa309dc349ba0da8d8c98b6cc
refs/heads/master
2021-01-06T07:03:28.912030
2020-03-30T21:33:47
2020-03-30T21:33:47
241,240,986
0
0
null
null
null
null
UTF-8
Python
false
false
3,947
py
import sys import os import re from datetime import datetime import plotly.graph_objects as pgo from pandas_datareader import data as pdr import pandas as pd class tcolors: GREEN = '\033[92m' WARNING = '\033[93m' BLUE = '\033[94m' END = '\033[0m' def validate_input(stock_name, stock_start_date, stoc...
[ "brianjohnpolasek@gmail.com" ]
brianjohnpolasek@gmail.com
fd8ac21a8d9b8432a25e4625bc8ff3e90e64da60
64cad428fb95a4815f83a90ee44144e1b4b44766
/env/bin/django-admin.py
3a80150dc43fbf285f554927972b5e4eddee0a13
[]
no_license
virginiah894/Api
5ddcd0eca325d2967d9bbb634ff5bc89d68f6e24
96392c7c20d0e25dc2b751a44a3cd379531fafc4
refs/heads/master
2022-11-11T10:14:41.153391
2020-07-04T14:40:58
2020-07-04T14:40:58
277,127,644
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
#!/home/access/Documents/perry projects/Django-APIs/env/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "virgyperry@gmail.com" ]
virgyperry@gmail.com
3a7cafd0b8495001f094ed73028cc04915094f23
b96f7c01df9417aaf4408e794b1edcc501921c6f
/pirates/coderedemption/CodeRedemptionUD.py
ebf302c6eaa53f6a706c9ea2ff6aa52f277ff69f
[]
no_license
Puggyblue999/PiratesOfTheCarribeanOnline
492b5feec3dace921026ab1ec64603c208869a62
5c7eff12c3821d337404be0face368a5a899fff1
refs/heads/master
2021-01-22T15:10:54.858772
2015-06-25T20:30:11
2015-06-25T20:30:11
38,146,060
4
4
null
2015-07-01T18:58:11
2015-06-27T04:01:44
Python
UTF-8
Python
false
false
126
py
from direct.distributed.DistributedObjectUD import DistributedObjectUD class CodeRedemptionUD(DistributedObjectUD): pass
[ "bryanmuschter@hotmail.com" ]
bryanmuschter@hotmail.com
5f7ebe9c145d89cf84f6b4697ee7cd8fa43e1a4f
6292d9b85c357a5e7752e8f58e9518d319254877
/behavioral_QC_scripts/cued_task_switching_single_task.py
7135e583fb9e750afd57dce5e46da48a7ca0a12a
[]
no_license
jkl071/network-attack-analysis
a4142aef44abb01f7163cc25dd7cca35eb94ee53
5e8cf93243cb5a7dab21a823577f0c9db36fd15d
refs/heads/master
2020-06-01T22:19:49.525072
2019-06-10T20:05:48
2019-06-10T20:05:48
190,948,902
0
0
null
null
null
null
UTF-8
Python
false
false
2,632
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Nov 4 10:10:39 2018 @author: jamie two by two single task for network grant 4 blocks of 48 trials, 192 total task switch: stay vs switch cue switch: stay vs switch full counterbalancing """ import pandas as pd input_path = "/Users/jamie/Desktop/ne...
[ "jamie@jamies-mbp-2.attlocal.net" ]
jamie@jamies-mbp-2.attlocal.net
f36d9c33e85490d677887205bfdcc78f7c7c80d0
b9eaba237cf73ba25b6dd6ced2a55f2a60a5b159
/oauth_meetup/apps.py
b972ca550e733bab0bff97b7ae1c6d4f7c670f33
[]
no_license
py-yyc/oauth_meetup
06453c771290adc1802c4a828eaccb61454aeb81
77ef1802011097b86b56d526a29b74195f214d20
refs/heads/master
2020-04-17T21:00:44.159436
2019-02-26T14:45:28
2019-02-26T14:45:28
166,930,510
1
0
null
null
null
null
UTF-8
Python
false
false
98
py
from django.apps import AppConfig class OauthMeetupConfig(AppConfig): name = 'oauth_meetup'
[ "andrew@neitsch.ca" ]
andrew@neitsch.ca
fd0769634efd56515d94fd4ea9f4eb462529f871
f79dec3c4033ca3cbb55d8a51a748cc7b8b6fbab
/mail/thunderbird24/patches/patch-mozilla_media_webrtc_signaling_signaling.gyp
41966d28b7816a3796cb2349cea04aecf86e6dd2
[]
no_license
jsonn/pkgsrc
fb34c4a6a2d350e8e415f3c4955d4989fcd86881
c1514b5f4a3726d90e30aa16b0c209adbc276d17
refs/heads/trunk
2021-01-24T09:10:01.038867
2017-07-07T15:49:43
2017-07-07T15:49:43
2,095,004
106
47
null
2016-09-19T09:26:01
2011-07-23T23:49:04
Makefile
UTF-8
Python
false
false
1,285
gyp
$NetBSD: patch-mozilla_media_webrtc_signaling_signaling.gyp,v 1.1 2014/07/27 05:36:07 ryoon Exp $ --- mozilla/media/webrtc/signaling/signaling.gyp.orig 2013-10-23 22:09:11.000000000 +0000 +++ mozilla/media/webrtc/signaling/signaling.gyp @@ -228,6 +228,19 @@ 'cflags_mozilla': [ ], }], + ...
[ "ryoon" ]
ryoon
66e96c5a2a6fa3d3a12e692d3d109ee166009903
8d19a7ce4deaa5f59acb8048e886ba7f05d87180
/quick/add_silanol_stannanol.py
78b50bd1c4e4b72ded2ed13e9de4d8bce73b0127
[ "MIT" ]
permissive
dejac001/MCFlow
bbc66529716e92de8b9507cc74b3de37da3d7143
19d1ee21318b49102842d75493a2fb830ec116f0
refs/heads/master
2022-12-17T15:08:46.648626
2020-07-26T18:24:53
2020-07-26T18:24:53
202,601,205
1
1
MIT
2022-12-08T10:45:35
2019-08-15T19:39:25
Python
UTF-8
Python
false
false
3,400
py
def add2fort77(old_file, coords, box): ''' coords: {'mol#':[],... where mol# is an integer. The indexes of list contain printable coordinates of all bead of this molecule in order of fort.4 file. ''' f = open('fort.77.new','w') molec_types = [] box_types = []...
[ "dejac001@umn.edu" ]
dejac001@umn.edu
fd2be1813f88a15643cb145e2e3dffcc04551149
d9adc2009506a7a6958b087c4bd6f132e00fc3c0
/spectrum_api_service/constants/spectrum_constants.py
ce3680a26487a018b5e4fa6c70bd272de8c4f700
[]
no_license
bitcubico/SpectrumApiServicePy
b8ced339fd8527e28d347b09aff2271b5c213cf0
39caf96384982cb4666cf0ef08703f338809d362
refs/heads/main
2023-03-14T12:08:22.304792
2021-03-03T22:12:46
2021-03-03T22:12:46
342,911,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
# ALARM_ATTRIBUTES ALARM_ID_ATTR = '0x11f9c' ALARM_SOURCE_ATTR = '0x11fc4' ALARM_TITLE_ATTR = '0x12b4c' ALARM_STATUS_ATTR = '0x11f4f' ALARM_MODIFIED_TIME_ATTR = '0x13345' ACKNOWLEDGED_ATTR = '0x11f4d' CAUSE_COUNT = '0x12a07' CAUSE_CODE_ATTR = '0x11f50' CAUSE_LIST_ATTR = '0x12a05' CREATED_BY_ATTR = '0x11fb9' CREATION_DA...
[ "bitcubico@gmail.com" ]
bitcubico@gmail.com
a2e11f23a8530e4c3bae2082a0884de996760d94
2d0f59426a87d0b3328f976bf7a1b42344159daf
/api/models/__init__.py
4720200c86fd9139593ee398b2193616fbd81e33
[]
no_license
naveenailawadi/GUSIF
454a2e402fedb4d7e1e3991e481d40b09aacc368
00b12cce56150cc4fbcf3dd3792437e1f2d121e8
refs/heads/master
2023-07-15T22:12:05.297583
2021-09-01T19:07:16
2021-09-01T19:07:16
297,208,387
0
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
from api import db from api import bcrypt from api.secrets import ADMIN_PROFILE from datetime import datetime as dt from sqlalchemy.exc import NoInspectionAvailable # create a user model class UserModel(db.Model): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) email = db.Column(db.St...
[ "naveen.ailawadi91@gmail.com" ]
naveen.ailawadi91@gmail.com
062d01992b4ff6403439725111428e675235023b
ca12492b8fe66e34d7152a5118a573175b0a176f
/backend/wallet/migrations/0001_initial.py
06c04d1d09b8fdac41184f9f6cca8bc684953e59
[]
no_license
crowdbotics-apps/asile-mobile-22968
3d02c0de123ba1b13d79a098ea7eb543658d5f8f
c5005ad17c262f87bdd8eefb89145ee75fdca168
refs/heads/master
2023-01-24T17:16:53.239439
2020-11-25T08:42:33
2020-11-25T08:42:33
315,842,223
0
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
# Generated by Django 2.2.17 on 2020-11-25 05:57 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('task_profile', '0001_initial'), ('task', '0001_initial'), ] operations = [ mig...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1119c8ecfa54f48992efb04df39a06b72654cc4b
2a15ca7e8a62631d760585e524d3b1cf8c089403
/pieces_data.py
84d53a3e16f61930db22b5ed6d6f5cc77d554b11
[ "MIT" ]
permissive
akhyn/masstris
9e1524480f15e1f58b4028a965e711909cab30bd
9a48390f4793d00669a0d13b212173c37aae30b4
refs/heads/master
2020-03-17T02:06:09.194655
2018-07-16T18:38:41
2018-07-16T18:38:41
133,178,224
1
0
null
null
null
null
UTF-8
Python
false
false
2,896
py
# Must be square # Each line represents a piece orientation pieces_data = [ # type: 'I' {'color': 1, 'positions': [[[0, 0, 0, 0], [1, 1, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0]], [[0, 0, 1, 0], [0, 0, 1, 0], [0, 0, 1, 0], [0, 0, 1, 0]], ...
[ "noreply@github.com" ]
akhyn.noreply@github.com
db6c5d94640a859c089ee996a59d9c1c484bfd6b
1f32096af05da776c59a11b74a424637aa718113
/move_file/move_bam.py
9fd73946bf90b89fd42983fa40e1ddda260a9a36
[]
no_license
ohsu-comp-bio/compbio-galaxy-wrappers
a222dbef5d4d4101f1705c6101f2e212435d1ea8
6162bc6d8ee37401de8dffec545935953028bed7
refs/heads/master
2023-08-31T05:32:22.305366
2023-08-29T18:24:59
2023-08-29T18:24:59
32,424,561
6
13
null
2023-09-14T19:28:18
2015-03-17T22:40:39
Python
UTF-8
Python
false
false
5,980
py
#!/usr/bin/env python from bioblend import galaxy import getpass import argparse import json import shutil import os import grp import errno import pysam import requests.packages.urllib3 import subprocess requests.packages.urllib3.disable_warnings() VERSION='0.2.1' def mkdir_p(path): ### Emulate mkdir -p functio...
[ "letaw@ohsu.edu" ]
letaw@ohsu.edu
7eaa9fc85a30db26a3829c8841b094e18cc215c9
86c6aa15312058a3ecda5ae46681c28817bd9636
/forms.py
7b00cc6e273405300cb882250934d74370529912
[]
no_license
ld-amaya/warbler
707eeba8a81308f844a64ef1c82187176c2c6073
c5fbd60ac74add77d36be51090a58da1857d3e19
refs/heads/main
2023-02-16T19:34:16.539805
2021-01-11T00:57:52
2021-01-11T00:57:52
326,639,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, TextAreaField from wtforms.validators import DataRequired, Email, Length class MessageForm(FlaskForm): """Form for adding/editing messages.""" text = TextAreaField('text', validators=[DataRequired()]) class UserAddForm(FlaskFor...
[ "louamaya@me.com" ]
louamaya@me.com
86aad0348b322a2f956b6383ab4d9264b7a71afd
0ebec1e899789ae2597c01bae7ca2c3382c4266d
/session5/a_customising_plots.py
0a6ea8df7506befcbf9f9e859b1a2d01d340e160
[ "Apache-2.0" ]
permissive
TugdualSarazin/MACT20.21_Digital_tools_Big_Data_part_1
02fda6b401bcdad2a240de00960ff0dbc61fc94d
b43b9f50ec42bb413c2c3a090cf11f9886676c58
refs/heads/main
2023-01-13T20:51:44.000981
2020-11-09T12:25:11
2020-11-09T12:25:11
313,076,622
0
0
Apache-2.0
2020-11-15T16:44:29
2020-11-15T16:44:28
null
UTF-8
Python
false
false
2,890
py
# encoding: utf-8 ################################################## # This script shows uses the pandas and matplotlib libraries to produce different kind of plots # It also combines data from two sources and create multiple plots # Find extra documentation about data frame here: # https://pandas.pydata.org/pandas-do...
[ "diegopajarito@gmail.com" ]
diegopajarito@gmail.com
5205855f7f68c9287ecc194b57aaba8531b85d53
2b9acf5805447f2085420f946b4d3cdf788b7940
/setup.py
11f4ba9b9bb48e0ef8b838970b6fc22264920da3
[ "BSD-3-Clause" ]
permissive
spidezad/filesdownloader
4549133df6813b9c937bfdaaa5e6b564034e1ad5
e3e20cfea7fa67e7485de1b8519dd2312ac8c8e1
refs/heads/master
2020-03-23T21:34:17.178345
2018-07-24T07:07:24
2018-07-24T07:07:24
142,116,795
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
from setuptools import setup, find_packages from codecs import open from os import path __version__ = '0.0.1' here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() # get the dependen...
[ "kokhua81@gmail.com" ]
kokhua81@gmail.com
84b3fd060fdbfce79cd61e4f0152ece8169803a1
faacdf7022efe25624ca37e5e7d7ec8692158474
/DeepMS_model.py
4c6b5c10b77c27e12194e3f39051a19b408ba66c
[]
no_license
bsml320/DeepMS
0ffcea38398430255e397877a75c52a1af853031
6f514732351c42a13f5810846e67fad70b14b87e
refs/heads/master
2022-12-02T02:05:36.474988
2020-08-13T21:46:59
2020-08-13T21:46:59
179,566,364
3
0
null
null
null
null
UTF-8
Python
false
false
4,222
py
# -*- coding: utf-8 -*- import sys import subprocess import os import numpy as np import pandas as pd np.random.seed(56) # for reproducibility from keras.models import Model from keras.layers import Dense, Input, Dropout from keras import regularizers #============================================ output_file = sys...
[ "noreply@github.com" ]
bsml320.noreply@github.com
21d13d453e1639a8b3bea65ff2b696003d6f3426
f1b378fdc77f52f5ed8b330fcb1a8081da4d64a0
/daniel_liang/chapter04/4.34.py
fd3a96bf5838a30073b20c635ae450dc0708f6a7
[]
no_license
brohum10/python_code
91e8120930508bd5509a57fe2eb4a536eee6e129
0f9db42afa4687b09973bb546fb880e689dbc882
refs/heads/main
2023-06-18T03:20:12.890049
2021-07-18T14:19:48
2021-07-18T14:19:48
369,736,929
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
hex_number = eval(input("Enter a hexadecimal value: ")) if hex_number == str: if hex_number == 'A' or 'a': print("hex_number = 10") elif hex_number == 'B' or' b': print("hex_number = 11") elif hex_number == 'C' or 'c': print("hex_number = 12") elif hex_number == 'D' or ...
[ "noreply@github.com" ]
brohum10.noreply@github.com
eb132c34e22fd57aef74cf8874e37d5a3344d11f
c2bf959105a0de0183cad6584e478c8a0110cebb
/Capitalize Each Word.py
16f93825a4fe1a4d8fe182121343ad805ce9b04e
[]
no_license
Suryashish14/Suryashish-Programs
913a76bac52116b7f1f39a4aeddfc8e2355a341b
eedc75447069ac53e978bf7c2748e39ee8ff38d7
refs/heads/master
2023-08-15T09:59:51.379619
2021-10-13T09:31:26
2021-10-13T09:31:26
291,040,265
1
0
null
null
null
null
UTF-8
Python
false
false
60
py
string=input('Enter A Sentence -->' ) print(string.title())
[ "noreply@github.com" ]
Suryashish14.noreply@github.com
bd0c9fcaedf7bcb80f6578448e927573d92dde0a
94717e5a126c510f48c3056c304d33371b837b9b
/CEGO/include_previous_pareto.py
cfcf1435c4c677675055273bc2a8f772e60adc88
[ "MIT" ]
permissive
DriesVerstraete/CEGO
b2baf9298578dc2738941b62506924082d15ba2e
b7e1eb748b3a08a779d8e7a813653b321e28b8d2
refs/heads/master
2023-03-20T03:03:29.707206
2020-02-20T15:52:09
2020-02-20T15:52:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 16 11:26:32 2017 @author: r.dewinter """ import numpy as np def include_previous_pareto(initEval=None, outdir=None, runNo=0): if initEval is None: raise ValueError('InitEvalLHS must be set') if outdir is None: raise ValueError('outdi...
[ "noreply@github.com" ]
DriesVerstraete.noreply@github.com
e22839d86b89940ce4b91448ce7af2c4fa6f31d0
0bf95b7739c03733e7cf2c7c133b2960372fc1a0
/models.py
2740e4e0ca5f223f202998f2c97e92b92242bde5
[]
no_license
kimjy3402/5th-assignment
5ba666c16a641d3d19c085a3118c3978c7f63933
ebae60fac20995c9fbe76e4b851eece3889e7d79
refs/heads/master
2020-05-20T21:51:30.180768
2019-05-09T09:55:16
2019-05-09T09:55:16
185,771,407
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
from django.db import models from django.utils import timezone # Create your models here. class Blog(models.Model): title = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') body = models.TextField() def __str__(self): return self.title # o...
[ "air@Airui-MacBook-Air.local" ]
air@Airui-MacBook-Air.local
8c6977a6a88267049f29f0ab21620a01356f8d36
39cb67781018e23428312610ded87c5d384bb690
/swinger.py
23a441d49c82499b30ed56afe259a80e11ef8692
[]
no_license
yi75798/Swinger
afd8e528cc1bcce3a4db83ce54def54372619717
b158c4f358fbebe655627969231cf1f0276cf708
refs/heads/master
2022-02-25T14:10:25.104740
2019-10-25T07:24:12
2019-10-25T07:24:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,314
py
# -*- coding: utf-8 -*- import nltk, json, pickle import itertools from random import shuffle from nltk.collocations import BigramCollocationFinder from nltk.metrics import BigramAssocMeasures from nltk.probability import FreqDist, ConditionalFreqDist import sklearn from nltk.classify.scikitlearn import SklearnClassif...
[ "davidtnfsh@gmail.com" ]
davidtnfsh@gmail.com
90f01e806124c7ca87d8fa588c9283d06b53bfcb
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2485/60623/234199.py
d1fc22fa3226c63bdda6a1c2a234b5d3b02955ce
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
935
py
# 给定一个单词数组,按排序顺序(计数的递增顺序)一起打印所有字符相同组的计数。 # 例如,如果给定的数组是{“ cat”,“ dog”,“ tac”,“ god”,“ act”},则分组的字谜是“(dog,god)(cat,tac,act)”。因此输出为2 3 size=int(input()) a=0 while a<size: b=input()#也没有用 strList=input().split() i=0 while i<len(strList): l=list(strList[i]) #列表的sort是针对自己,而字典的sort则是返回一个排好序的,但本身并没有排好序 l.sort() s=""...
[ "1069583789@qq.com" ]
1069583789@qq.com
7a1f699c7d733e4b2b86f61ae2f815e1c27efad3
8bf207692fa8c87c8fc9887ecba61fc71c4f34d3
/tags/astar-only/easy_visualiza.py
eef7822f8ef7cd9d2ce0367e1aa059cec4c9dcde
[]
no_license
jjconti/astar-example
b9f1d487576836696d258d22522a68ee7d21b8e3
3f7a54bfa6ffa44a4686708f6f7c73059298c9c5
refs/heads/master
2021-01-20T04:39:37.926827
2008-10-15T17:32:47
2008-10-15T17:32:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,141
py
# -*- coding: utf-8 -*- from euclid import LineSegment2, Point2 from itertools_recipes import pairwise def flatten(l): r = [] for i in l: if isinstance(i, list): r += i else: r.append(i) return r class Visualiza(object): def __init__(self, inicio, elementos): ...
[ "jjconti@3849f24c-4853-0410-924f-80487e21321b" ]
jjconti@3849f24c-4853-0410-924f-80487e21321b
12270b980765a46d6ab4ba23a0eea12652b0833b
f83fabb08141ba9a74772fcf2df7fc5a2b11c481
/06_datatypes_Lists_dict.py
bda8231e62215b67e2e296d86b544c0943678190
[]
no_license
mujeebullahn/Python_Work
df45db6a4cf44583a095266851a4c9604ddd7412
679ff9583fa1878dfcfc49e4b33c30da0491d1e2
refs/heads/master
2020-06-20T08:31:57.347118
2019-07-16T21:45:25
2019-07-16T21:45:25
197,060,536
0
0
null
null
null
null
UTF-8
Python
false
false
2,139
py
#Lists and Dictionaries #List #sometimes we just need to list our crazy x-bosses #because we dont want to work there #this is how ypu make lists #[] seperate items use , #['sfds', 'sdfs'] #lisiting a list and saving to a variable crazy_pokemons = ['Snorelax', 'Jiggipus', 'Metow'] print(crazy_pokemons) print(...
[ "MNoori@spartaglobal.com" ]
MNoori@spartaglobal.com
3f79add3d9b8e12c2e8e1e85bed0629b4d712663
af56a816c57c7f78a1eaaf074ec09ee2b8676d3c
/model.py
497f4504f65c7fe3a3a6d0e92416776f8a7b1baf
[]
no_license
alwc/Conv-MPN
b6b465571b6207d085ee4ce8f9fca6d3ffa52f57
313087f243c1a7a6f2e2f4be54dfd01ced502335
refs/heads/master
2022-04-11T17:33:53.751469
2020-04-03T21:08:08
2020-04-03T21:08:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,627
py
import torch.nn as nn from config import * from unet import UNet from torch.nn.parameter import Parameter import math class graphNetwork(nn.Module): def __init__(self, times, backbone, edge_feature_map_channel=32, conv_mpn=False, gnn=False): super(graphNetwork, self).__init__() se...
[ "fuyangz@cs-vml-43.cs.sfu.ca" ]
fuyangz@cs-vml-43.cs.sfu.ca