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
fd8a249b1f44b14a3c11896e5a12e1c86a1988e9
372a0eb8d3be3d40b9dfb5cf45a7df2149d2dd0d
/charles/Week 07/lab08/lab08.py
198fffad72e36dfcdfe4b7505ec51e6fe007c177
[]
no_license
charlesfrye/cs61a-summer2015
5d14b679e5bea53cfa26c2a6a86720e8e77c322c
1f5c0fbf5dce5d1322285595ca964493d9adbdfe
refs/heads/master
2016-08-07T06:06:09.335913
2015-08-21T00:33:25
2015-08-21T00:33:25
38,509,126
0
0
null
null
null
null
UTF-8
Python
false
false
2,460
py
## Linked Lists and Sets ## # Linked Lists class Link: """A linked list. >>> s = Link(1, Link(2, Link(3, Link(4)))) >>> len(s) 4 >>> s[2] 3 >>> s Link(1, Link(2, Link(3, Link(4)))) """ empty = () def __init__(self, first, rest=empty): assert rest is Link.empty or ...
[ "charlesfrye@berkeley.edu" ]
charlesfrye@berkeley.edu
60d6b3c1bcbeb94d4e9ef6ec3cae76c2813e40d3
e8c16328e22b8ccda2e3d2998d2ec1689d79914b
/exercise_2017/4th_week/assignment_3.py
0560ed43bded8ade0cf108b15ae00d92b918ec66
[ "MIT" ]
permissive
Taewan-P/python_study
e2e68cc0f1467832dace22e27cc70d217560cf2c
f347e370aaa33aba5ab233252bcd759b94615348
refs/heads/master
2021-05-11T03:44:04.495186
2018-01-18T03:02:31
2018-01-18T03:02:31
117,923,881
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
# -*- coding: utf-8 -*- # UTF-8 encoding when using korean def get_number(): return input("์ˆ˜๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”.\n") def print_result(srm,res): print(srm,"์˜ ์ œ๊ณฑ๊ทผ์€",res,"์ž…๋‹ˆ๋‹ค.") def isfloat(s): (m,_,n) = s.partition(".") return m.isdigit() and (n.isdigit() or n=="") or \ m == "" and n.isdigit() #์—ฌ๊ธฐ์„œ ๋ฆฌํ„ด๋’ค์— ์žˆ๋Š” ๋ฌธ์žฅ์„ ์‹คํ–‰ํ•˜๋ฉด...
[ "swimtw@naver.com" ]
swimtw@naver.com
d509193feed47690856d7954eeb3a65b8d83f164
53342fdbd43fc45d099b18e0a742ba0cf483cd09
/bio.py
93325b8a80061a81ae7e96ef3c435a05bee77ced
[]
no_license
nikhil-8/nikii
dfb70689d98630a3325ffb1c6a36b9c0d55a737e
a0a6bd2d57d3a2912c215a19460bfe76e972374e
refs/heads/master
2020-03-28T22:22:34.316423
2018-09-18T04:33:24
2018-09-18T04:33:24
149,227,793
0
0
null
2018-09-18T04:33:25
2018-09-18T04:13:31
Python
UTF-8
Python
false
false
487
py
def nck_recursive(n,k): if k==0 or k==n: return 1 else: return nck_recursive(n-1,k)+nck_recursive(n-1,k-1) def fact(n): if n<=1: return 1 else: return n*fact(n-1) def nck_factorial(n,k): return fact(n)/(fact(k)*fact(n-k)) def nck_multiplicative(n,k): result=1 ...
[ "noreply@github.com" ]
nikhil-8.noreply@github.com
74fc93f5b17de8fccb5bfec4f66dbd8208b5892b
f64e9de2a5f8cd677180172591256a651fe20cbc
/examples/btpyparse.py
1c95636adae45c597450aa2233f432a5957cb747
[ "MIT" ]
permissive
schlichtanders/pyparsing-2.0.3-OrderedDict
c85455a65ea610a959a41d035175912ba3762e11
50bb1a10b63ac623ef58ffa3ee59bb08be172ff4
refs/heads/master
2021-01-10T04:07:10.044763
2015-10-23T11:03:14
2015-10-23T11:03:14
44,807,015
0
0
null
null
null
null
UTF-8
Python
false
false
4,376
py
""" Pyparsing parser for BibTeX files A standalone parser using pyparsing. pyparsing has a simple and expressive syntax so the grammar is easy to read and write. Matthew Brett 2010 Simplified BSD license """ from pyparsingOD import (Regex, Suppress, ZeroOrMore, Group, Optional, Forward, ...
[ "Stephan.Sahm@gmx.de" ]
Stephan.Sahm@gmx.de
d9dc1783a8a2c7d80a6996f4b51b4e630eeb659b
58c0c6cd1da0a0b70c14787fbbd5a5af5161ac15
/venv/Lib/site-packages/pycrypto-2.6.1-py3.8-win-amd64.egg/Crypto/Cipher/_CAST.py
85b77c1af5f2c55359fda906ba42f17a52eb918b
[ "MIT" ]
permissive
RafaelHMachado/Cioffis_Automation
6454d33558a4f4b63412d1d068726ca73feddeea
07965ca71c3d4e78f5cee1fce4ba0bbfe2db9811
refs/heads/main
2023-06-06T07:04:11.182106
2021-07-03T07:39:28
2021-07-03T07:39:28
382,553,454
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, importlib.util __file__ = pkg_resources.resource_filename(__name__, '_CAST.pyd') __loader__ = None; del __bootstrap__, __loader__ spec = importlib.util.spec_from_file_location(__name__,__file__) mod = impo...
[ "rafael_henriquemachado@hotmail.com" ]
rafael_henriquemachado@hotmail.com
64cbda61223f81c79910528502d17dcd24f4c131
19581ba1a714140b033dae0a7f625878bdd63b0c
/torchdiffeq/covar/fixed_grid.py
2b707d6571d63f6cfb0ac8817d11200f9196de51
[ "MIT" ]
permissive
gaozhihan/torchdiffeq
4473cebeef24651e60ce86a5c2a911fb2a170a1c
414781617d595ba01cc3f23382e25ab890f4ca66
refs/heads/master
2023-01-29T05:02:39.447312
2020-12-06T10:26:58
2020-12-06T10:26:58
255,856,434
1
0
MIT
2020-11-06T09:29:03
2020-04-15T08:42:17
Python
UTF-8
Python
false
false
1,208
py
import torch from torchdiffeq.covar.solvers import FixedGridODESolver_Covar from torchdiffeq._impl.rk_common import rk4_alt_step_func class Euler_Covar(FixedGridODESolver_Covar): order = 1 def __init__(self, eps=0., **kwargs): super(Euler_Covar, self).__init__(**kwargs) self.eps = torch.as_te...
[ "gaozhihan@users.noreply.github.com" ]
gaozhihan@users.noreply.github.com
9784c4b479a66fc78e1e4b9de3f345170ca0af04
dd1937591047258a846d48fc150c10bdf23cbf67
/confesAPI/students/urls.py
f7abf465169f3a84f9afdc82bbfbccdd1251d662
[]
no_license
AnkitRusia/Confession
9b8fece2e7b1a1a9f5da07331731d02f2be7a170
ca799276dd3aee2fa051912e59e1f64c31530330
refs/heads/main
2023-06-17T10:26:09.346237
2021-07-10T08:39:29
2021-07-10T08:39:29
384,569,867
0
0
null
2021-07-10T08:39:30
2021-07-09T23:16:09
Python
UTF-8
Python
false
false
651
py
from django.conf.urls import url from django.conf.urls.static import static from django.conf import settings from students import views urlpatterns = [ url(r'^student/$', views.studentAPI), url(r'^student/([0-9]+)$', views.studentAPI), url(r'^post/$', views.postAPI), url(r'^post/([0-9]+)$', views.post...
[ "rusia.kanha@gmail.com" ]
rusia.kanha@gmail.com
c4acc48e7f4000ebbf4268909ad39fdf1dab8ec8
ae11eda73ad0a61f8f7f894314bd9aa40798b50a
/MyAnalysis/IsolationTools/python/muonDirectionalPFIsolations_cff.py
8d48cf05750f63c872425cdbbf934b676a67f71b
[]
no_license
hbakhshi/NTupleProducer
087a7286f7352e9f6c517d257d7f195280db058d
eec377339008d2139128059d7127f9a2184c080c
refs/heads/master
2021-01-22T14:32:44.891691
2014-06-10T12:48:12
2014-06-10T12:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,644
py
import FWCore.ParameterSet.Config as cms import MyAnalysis.IsolationTools.muonPFIsoSingleType_cfi ### DR=0.1 cone # Charged Hadron isolation muonDirPFIsoChHad01 = MyAnalysis.IsolationTools.muonPFIsoSingleType_cfi.muonPFIsoSingleTypeMapProd.clone() muonDirPFIsoChHad01.pfTypes = cms.untracked.vint32(1) muonDirPFIsoChHad...
[ "hbakhshi@cern.ch" ]
hbakhshi@cern.ch
4c6b1a6636984c7b952738d5986a607427a08d95
6418c2124c615c2af7768fea657ebe1ed9891830
/basic/migrations/0004_auto_20200728_1041.py
2b3e7a0bef2a80fdb9880f23e4284610790006ff
[]
no_license
santhosh0208/CuriosityRadar
64029840cd83b787faef2211805146c32d7d4554
cde9182417ec2e076d28822eb2195a7cf94e4446
refs/heads/master
2023-07-30T19:40:04.548950
2020-07-29T07:00:22
2020-07-29T07:00:22
283,222,622
0
0
null
2021-06-10T19:58:24
2020-07-28T13:36:37
HTML
UTF-8
Python
false
false
385
py
# Generated by Django 3.0.1 on 2020-07-28 05:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('basic', '0003_auto_20200722_1504'), ] operations = [ migrations.AlterField( model_name='article', name='published', ...
[ "santhosh.k.02abc@gmail.com" ]
santhosh.k.02abc@gmail.com
cd36102d0cb3116ba36287cc2022aac5a2878df7
71c78a4532b976efec978ecbbd66b1e919a2a2a5
/Face-Rekognition/local.py
60c8ea2ae43a8a433ffad0cb040c301b5fbd54b6
[]
no_license
santoshmn26/AWS-Rekognition
949f7a2d9e9e643a66b6eb2d0083b549fa66f58a
f1af324eea26b46c192796a1cfc8b63d558bf59e
refs/heads/master
2020-04-11T00:06:35.799901
2019-06-18T18:53:48
2019-06-18T18:53:48
161,375,716
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
import boto3 if __name__ == "__main__": imageFile="image.jpg" # image file to detect labels client=boto3.client('rekognition') with open(imageFile, 'rb') as image: response = client.detect_labels(Image={'Bytes': image.read()}) print('Detected labels in ' + imageFil...
[ "noreply@github.com" ]
santoshmn26.noreply@github.com
c601fd8fe124c10697e778d4e7b133a307e9818e
be37b034e4b05543967e4534eaaf7326e68506ae
/examples/example1.py
9d03e9ccf8da9c3f55f98fc35465e35258086b33
[ "MIT" ]
permissive
nvms/booker
50795290b643a1e83ec48a9fe84b47d5c8fec020
acc5b8c98f90b0f687285d2d2d9b9cf58d680a99
refs/heads/master
2020-04-14T22:10:59.766846
2019-08-16T16:44:23
2019-08-16T16:44:23
164,153,765
2
0
null
null
null
null
UTF-8
Python
false
false
2,310
py
from __future__ import print_function import booker import time import sys import datetime import threading def hour(): return datetime.datetime.now().hour def minute(): return datetime.datetime.now().minute def second(): return datetime.datetime.now().second def ms(): return datetime.datetime.now().microsecond booke...
[ "jon@pye.rs" ]
jon@pye.rs
d56f9ff4d9977c5cae0f12e69328846bbc0dd91b
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/io_thps_scene/export_shared.py
f75d8e3457209c8ec5a53569e993701e92bf9c6a
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
63,550
py
############################################# # SCENE EXPORT - SHARED COMPONENTS ############################################# import bpy import bmesh import struct import mathutils import math from . import helpers, collision, prefs, material, autosplit from bpy.props import * from . prefs import * from . autosplit im...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8622b2d94f0c53415695d91e3a9d2910a617db2e
6b0b220ed3d5a2f0d71f5bd4a4eba459f6e0b54d
/CycleGan/CycleGAN/Unetmodel.py
b0ba2e592a75e4ce3e14ec66bc91cf4e2493f35f
[]
no_license
menglaili/ECE285Project
969b19a9577a4bc46c2491fcfd02bc3016099295
0b4739516c6424125b40b5907339b0e013936e5c
refs/heads/master
2020-06-02T08:16:55.997425
2019-07-10T20:25:48
2019-07-10T20:25:48
191,095,208
0
0
null
null
null
null
UTF-8
Python
false
false
4,984
py
import torch.nn as nn import torch from torch.autograd import Variable import numpy as np import torch.nn.functional as F # Initialize the MSELoss function criterion1 = nn.MSELoss() # Initialize the L1Loss function criterion2 = nn.L1Loss() real_label = Variable(torch.cuda.FloatTensor(1).fill_(1.0), requires_grad = ...
[ "noreply@github.com" ]
menglaili.noreply@github.com
bd4114cc6c10a32f930cd922e6d54539cf293efd
3d8825018662bc69b37933cc1023d6e21419bb3e
/plotUSA_GDP_and_GNI_final.py
f148955ac4dfe7aaa5254dd86209fd4d903f4129
[ "MIT" ]
permissive
cjekel/USA_GDP_per_capita_inflation_adjust
cd743971b2de0880f9c43c3131d047f10a41c673
3cd62dcfa05eb1fe4383f0b15d8511f042f92039
refs/heads/master
2023-09-03T03:44:02.933026
2016-06-01T09:43:07
2016-06-01T09:43:07
59,950,430
0
0
null
null
null
null
UTF-8
Python
false
false
11,603
py
import numpy as np import matplotlib.pyplot as plt # close all figures plt.close('all') years = np.array([1960,1961,1962,1963,1964,1965,1966,1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,...
[ "18633609@Osiris.stb.sun.ac.za" ]
18633609@Osiris.stb.sun.ac.za
cc5cc35dcac029fe60bef041be4dc9b131b9c2ef
cbdb6b9d3fda3fddfbb9a539dceb55fadf4b499a
/membership-finder.py
6641f7c54b0a930c3b7a9eae8625bffbf07dd52d
[]
no_license
Roadmaster/trello-board-maker
548be267e3469d7b6b2a4c072a2d64afcf70825e
424b85d68a2ed7d43f3d3269dd6c930d065ea5f3
refs/heads/master
2020-11-26T18:26:24.873854
2015-06-04T17:02:02
2015-06-04T17:02:02
25,215,537
1
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
#!/usr/bin/python # Copyright 2015 Canonical Ltd. # Written by: # Daniel Manrique <roadmr@ubuntu.com> # # This is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3, # as published by the Free Software Foundation. # # This file is distributed in the h...
[ "roadmr@ubuntu.com" ]
roadmr@ubuntu.com
a9b584a8ba68238e02f63cf1a91fe4c643084f2f
9eaf34eff324b39bf644bba527b6dced125f09e4
/model.py
6a8c53ffcf20e3fab0ffc6882944f7663941e6af
[]
no_license
sirrobot01/bet9ja-pred
92d88eb76750a2244e563164e9d5e05a81006561
864a04e7da0e3af56d06c442031bf18b00db16bb
refs/heads/master
2023-04-09T15:01:29.462267
2023-03-16T12:45:03
2023-03-16T12:45:03
199,934,614
3
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
#IMPORTING LIBRARIES from sklearn.neighbors import KNeighborsClassifier from sklearn.naive_bayes import GaussianNB from sklearn.linear_model import LogisticRegression, LinearRegression from sklearn.svm import SVC from sklearn.tree import DecisionTreeClassifier from sklearn.ensemble import RandomForestClassifier from sk...
[ "akeremukhtar10@gmail.com" ]
akeremukhtar10@gmail.com
ff50b8f30a0c9607cc3c9a654f610c8d63a7c3f4
d3108dae4e54d529c54376858c14997935c4d8c3
/blog/models.py
391c6ae3761eef7990f7cb2eb8b160db5357060c
[]
no_license
KevinCaires/my-first-blog
50aed9bc59beb03f5053bebb662218ec4ec70e8c
24485bf34fb02b8f95a011eccb5425c06084c4ac
refs/heads/master
2020-06-25T12:08:44.053718
2019-07-28T22:41:56
2019-07-28T22:41:56
199,303,315
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
from django.db import models from django.conf import settings from django.utils import timezone class Post(models.Model): author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) title = models.CharField(max_length = 200) text = models.TextField() created_date = models.DateTimeFie...
[ "kevincaires@ymail.com" ]
kevincaires@ymail.com
a9625efecd45a7fb3e4a24d22d5c9bdcebcb29c7
fe3265b72e691c6df8ecd936c25b6d48ac33b59a
/homeassistant/components/homekit/type_triggers.py
b239d67877c7d22f4ee6b162d2d1ac3e503fea4d
[ "Apache-2.0" ]
permissive
bdraco/home-assistant
dcaf76c0967783a08eec30ce704e5e9603a2f0ca
bfa315be51371a1b63e04342a0b275a57ae148bd
refs/heads/dev
2023-08-16T10:39:15.479821
2023-02-21T22:38:50
2023-02-21T22:38:50
218,684,806
13
7
Apache-2.0
2023-02-21T23:40:57
2019-10-31T04:33:09
Python
UTF-8
Python
false
false
4,485
py
"""Class to hold all sensor accessories.""" from __future__ import annotations import logging from typing import Any from pyhap.const import CATEGORY_SENSOR from homeassistant.core import CALLBACK_TYPE, Context from homeassistant.helpers import entity_registry from homeassistant.helpers.trigger import async_initiali...
[ "noreply@github.com" ]
bdraco.noreply@github.com
e2748938ae4258aea4ad451b34fe2be73dc984c4
2d130df7050b72b8f1279f6c58c926d448ff71d6
/sources/Settings.py
407bf7dc42dc8db4ca5606a5158f9711559783a5
[ "Apache-2.0" ]
permissive
rsoultan/Pygame-shoot-them-up
32b7ae27bd1289aecbd3fc89feb0e840b2da892f
0ae41522253b7405e6d00a8c4094de7480846535
refs/heads/main
2023-06-19T22:09:21.685512
2021-07-18T16:56:25
2021-07-18T16:56:25
380,590,101
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
SETTINGS = { "FPS": 60, "WIDTH": 1280, "HEIGHT": 720, "SOUNDS_VOLUME": 1.0, "MUSICS_VOLUME": 0.1 }
[ "romuald1.soultan@epitech.eu" ]
romuald1.soultan@epitech.eu
84ec14edf9f60af5d9d9081ebb73bf5f9c70611f
3d9146f1ef0b2ccdd684096625cd03f3bb199c10
/convert_Slurm_to_SGE.py
de9e61a593fc9b16e9ef219f1431fddee549d51d
[]
no_license
StanfordBioinformatics/GBSC_Billing
b674d3646ab0b7a5f1d9b08d692fd83a84b3c566
ebf4e52bef46bf3024486b6a902f03bf2c1c5cc6
refs/heads/master
2023-08-21T17:18:59.236964
2023-08-03T18:21:42
2023-08-03T18:21:42
13,337,415
0
1
null
null
null
null
UTF-8
Python
false
false
8,266
py
#!/usr/bin/env python3 #=============================================================================== # # convert_Slurm_to_SGE.py - Converts Slurm Accounting file to SGE Accounting file # # ARGS: # 1st: the Slurm Accounting file to be input # 2nd: the name of the file in which to put the SGE Accounting output # ...
[ "bettingr@stanford.edu" ]
bettingr@stanford.edu
0a3c1f01082e38e2bd3dfee7887ba9f946a2dc29
76be22521c08d1086778b58454e1020ec4066639
/server/routes/signin.py
a043fe5fcf0b5ed065c0e9a536a2b83daf73056f
[ "MIT" ]
permissive
nondanee/dropbox
700bb4399f626791bb4e60faa2837fe26f2b1e6f
7933a4dd2b17f0882c6f310a5d51e3e4bafdcb77
refs/heads/master
2020-03-14T21:44:37.607416
2019-06-11T16:19:07
2019-06-11T16:19:07
131,804,122
1
1
MIT
2019-06-11T16:00:44
2018-05-02T05:49:54
JavaScript
UTF-8
Python
false
false
1,152
py
import asyncio import hashlib from . import toolbox from aiohttp_session import get_session @asyncio.coroutine def route(request): session = yield from get_session(request) if request.content_type != "application/x-www-form-urlencoded": return toolbox.javaify(400,"wrong content type") data = yie...
[ "iminezn5656@outlook.com" ]
iminezn5656@outlook.com
6f0343847638fe6bb9b93a9dc9fb5e1ece86c95a
9d5514e50e5229abbe18e35779c68088e617cf94
/rinna_ja_gpt2/interact.py
d7139a2ffd01d7bac3559cf0875ab0b6798d67c8
[]
no_license
ftnext/practice-dl-nlp
a1e40c32fed7754a1ea1208a1c6d87386b384f0e
2609097db5690c3e0b3fb3ea89ea4dbe8f52cc2c
refs/heads/master
2023-08-22T05:48:45.768945
2023-08-12T12:52:56
2023-08-12T12:52:56
231,755,178
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
import random import numpy as np import torch from transformers import AutoModelForCausalLM, T5Tokenizer def freeze_seed(seed=42): torch.manual_seed(seed) torch.cuda.manual_seed_all(seed) random.seed(seed) np.random.seed(seed) model_name = "rinna/japanese-gpt2-medium" tokenizer = T5Tokenizer.from_p...
[ "takuyafjp+develop@gmail.com" ]
takuyafjp+develop@gmail.com
55a6fc1d4b69ad1cc5a5348d539e378e27d7bcc9
642ab3a9e0f20ad42b4afe0668704349bf0ce7b4
/hw2/hw2-1/utils.py
7d21b0c08441dc2b3a9d6bb7cc23eb94dd58150e
[]
no_license
j40903272/mlds_2018spring
f12e5e8ba8cb7ebf8b077e0ef08c8eaafc3a13bc
26a745638dcf3e457c29d98b6599c46a3cd873f2
refs/heads/master
2021-04-03T01:26:36.667556
2018-07-30T11:47:56
2018-07-30T11:47:56
124,762,899
11
0
null
null
null
null
UTF-8
Python
false
false
17,194
py
# coding: utf-8 # In[ ]: import numpy as np import pickle import json import sys import os # In[ ]: import re from collections import Counter from keras.utils import to_categorical from keras.callbacks import Callback from config import * from seq2seq_model import seq2seq_model # In[ ]: model, encoder_model...
[ "b04902103@ntu.edu.tw" ]
b04902103@ntu.edu.tw
6b17dc10db7ef000a03c12afdf0d7cd7b9821e29
4904acd900496b4883c2f5b4aa6b45d1ef6654c0
/graphgallery/datasets/tu_dataset.py
a2979a79643bdb0f96d5d8b81ba2af4af7188b33
[ "MIT" ]
permissive
blindSpoter01/GraphGallery
aee039edd759be9272d123463b0ad73a57e561c7
e41caeb32a07da95364f15b85cad527a67763255
refs/heads/master
2023-06-17T11:42:27.169751
2021-07-15T03:07:39
2021-07-15T03:07:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,887
py
import os import glob import requests import os.path as osp import numpy as np import pickle as pkl import pandas as pd from urllib.error import URLError from typing import Optional, List from .in_memory_dataset import InMemoryDataset from ..data.edge_graph import EdgeGraph from ..data.io import makedirs, ...
[ "cnljt@outlook.com" ]
cnljt@outlook.com
345e5d4b2a041c357a5472fc547e6c265a127ba6
18779aa8487d8367c2e3d124cd95ffcc07a42b1d
/assignment_1/131.py
1f9e09f6d51f0a5f351a20e46435a9b3aa23106a
[]
no_license
Yiren-Shen/Machine_Learning
f8d590a265a2839babd912a6b01cc84d0d3c6894
d7a499bab14d0944da90292b174d769772ce19c6
refs/heads/master
2021-07-04T04:51:37.198064
2017-09-25T19:47:07
2017-09-25T19:47:07
104,794,005
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
import numpy as np import tensorflow as tf np.random.seed(521) Data = np.linspace(1.0, 10.0, num=100)[:, np. newaxis] Target = np.sin(Data) + 0.1 * np.power(Data, 2) + 0.5 * np.random.randn(100, 1) randIdx = np.arange(100) np.random.shuffle(randIdx) trainData, trainTarget = Data[randIdx[:80]], Target[randIdx[:80]] val...
[ "yiren0616@gmail.com" ]
yiren0616@gmail.com
5f3f39608a38d86ff22999affdb2aa8d25fb22ae
e3eead40e93fdf5186269536edefab4f08e9a5a2
/LeetCode/75-sort_colors.py
f9126b00d4c74a0e97e76d064217b730e50cc3d7
[]
no_license
davll/practical-algorithms
bbc930b42363cae00ce39e8a686854c19131d334
0e35e4cc87bd41144b8e34302aafe776fec1b356
refs/heads/master
2021-08-22T13:12:34.555074
2020-03-28T08:56:13
2020-03-28T08:56:13
147,224,029
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
# https://leetcode.com/problems/sort-colors/ def sort_colours_v1(nums): count = [0] * 3 for x in nums: count[x] += 1 print("count = " + str(count)) start = 0 for k in range(3): for i in range(count[k]): nums[i+start] = k start += count[k] def sort_colours_v2(num...
[ "davll.xc@gmail.com" ]
davll.xc@gmail.com
92901aec9b80ab3e8ae140686ef6e842b467ae45
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2956/60622/299864.py
f11b43e5b8b9f78034e02d9ce7ba11099f2418fb
[]
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
89
py
a=input() b=input() if a=="2" and b=="ab": print(675) else: print(a) print(b)
[ "1069583789@qq.com" ]
1069583789@qq.com
8c0d013801941cbf9aebb29396fe710b656e993a
ddeb9fd39120b64b74f408f9d0aba8a86907cf12
/Homework1/Problemhw1.py
8792eaedceaa0962ddcb2be8b9c2a3726815c512
[]
no_license
gustavo-sanchez1/CIS2348
7158c4dcafbd15fff922f24567e66e0de4492ea5
0a7f40e40c5601cba7b2c429d8d179b8d1db19d5
refs/heads/main
2023-04-10T11:00:07.380765
2021-05-12T04:49:13
2021-05-12T04:49:13
332,627,589
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
print('Birthday Calculator') # output the current day print('Current day') print('Month: ') current_month = int(input()) print("Day: ") current_day = int(input()) print('Year: ') current_year = int(input()) print('Birthday') # print user's birthday print('Month: ') birthday_month = int(input()) print('Day:...
[ "noreply@github.com" ]
gustavo-sanchez1.noreply@github.com
181dec8410b08991baad94234ae2a3e44e9c6690
29739c6adeebc19649265228c14e52061e4fabc3
/dist/SDLasn1.py
3675fb42fc08c7720a68d289f8fe8350d5bdb23a
[]
no_license
Hansel-Dsilva/pyAsnProject
6670ed78fa1f39b642fb75c99f03942cddd50e46
15253ecc4ddc433c812cc31015198ab35ad8b47b
refs/heads/master
2020-06-18T21:45:18.726967
2019-07-19T13:41:18
2019-07-19T13:41:18
196,461,654
3
1
null
2019-07-13T13:50:39
2019-07-11T20:34:29
Python
UTF-8
Python
false
false
627
py
print("Press 0 to display question list") ls1 = [] for i in range(66): ls1.append(str(i)) while 1: Qno = input("Enter question no. : ") if Qno not in ls1: print("INVALID INPUT! PLEASE REFER THE QUESTION LIST BY ENTERING '0'") continue elif not int(Qno): f = open('q.txt', 'r') ...
[ "hanseldsilvag@gmail.com" ]
hanseldsilvag@gmail.com
977fe8b11fca72311f216a456309f6c63a27759c
d02755043a1ecc14aff743c81c991ac9d99095c6
/app/Task/TaskByIdREST.py
1d852625739f9d43ab7258d3de7968f71e1aaebb
[]
no_license
surendranaidu/flask-todo-app
7f1edda06337367290d93c3378a02d63892734e0
f2272a280461ffb7b16f4f238e082e7301616652
refs/heads/master
2021-06-19T18:26:07.807137
2017-07-25T20:02:25
2017-07-25T20:02:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
from flask import request from flask_restful import Resource # defining the class with http verb based methods class TaskByIdREST(Resource): # defining method for get task by id def get(self,taskId): print(taskId) return {"message":"taskFound"} # defining method to delete task by id d...
[ "selftuts@gmail.com" ]
selftuts@gmail.com
3dd32be86e408952a3c78184fcfb3ceb55eae1d0
a062e6c3d57d4c256abff4493e4007d5613fbae8
/setup.py
1d6d26e0f0d4b0821ae575aa4f9e1941a840a28b
[ "MIT" ]
permissive
anumaurya114/mydlib
59678e11a4660e4e9f549a96dd6cf7d19fd6325b
cdce5033b5d256eba86d5d12277304d1865fa2c2
refs/heads/master
2022-02-16T20:39:49.476982
2019-09-25T10:14:01
2019-09-25T10:14:01
210,230,533
1
0
null
null
null
null
UTF-8
Python
false
false
576
py
import setuptools with open("README.md",'r') as fh: long_description = fh.read() setuptools.setup( name='mydlib', version='0.4', author="Anurag Maurya", author_email="anumaurya114@gmail.com", description="A library (books) creator and simple libgen book downloader.", long_description=long_description...
[ "anumaurya114@gmail.com" ]
anumaurya114@gmail.com
7751407c653bfce3866a1d44035327f7b7bba18c
553626aa79d7cba83d7c3b6f05b5b63d54ceb98f
/IoT-Scripts/run.py
23e955f711cd585c5fa7f25c5584bb683da211f0
[]
no_license
MNabegh/EMC_Mentorship_program_project
04dc4585741f2148d261936b74c153bc4eaa86e9
b41cb65e1046550334848f678a94fea6f28467d1
refs/heads/master
2020-03-27T11:10:59.546778
2018-09-23T11:22:05
2018-09-23T11:22:05
146,470,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
import subprocess import multiprocessing mongoDB = subprocess.call("sudo service mongod start &", stdout= subprocess.PIPE, shell= True) zookeeper = subprocess.call( "sudo /home/nabegh/kafka/kafka_2.11-2.0.0//bin/zookeeper-server-start.sh /home/nabegh/kafka/kafka_2.11-2.0.0/config/zookeeper.properties &", stdout=...
[ "mahmoudnabegh@gmail.com" ]
mahmoudnabegh@gmail.com
ff590a585f867980a353cc96195a4a9848ffb709
e90f9eaadcd099f1d4b30504702df59ef0ff63db
/build/system/serial/catkin_generated/pkg.installspace.context.pc.py
88917374ea9c7bfae4d0801860f829a73d487e2d
[]
no_license
SiChiTong/f110_ws
ce1e7b8408af645a9d09d8298933253e9810745f
a44b77f58527fabd4b2b2905132c6651e102134f
refs/heads/master
2020-04-02T12:00:55.998831
2018-07-24T18:41:31
2018-07-24T18:41:31
154,416,188
1
0
null
2018-10-24T00:49:29
2018-10-24T00:49:29
null
UTF-8
Python
false
false
510
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/nvidia/Desktop/f110_ws/install/include".split(';') if "/home/nvidia/Desktop/f110_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX =...
[ "chriskao@seas.upenn.edu" ]
chriskao@seas.upenn.edu
7cf17d72d043afc388eab71f3d33dc9660709fc1
9a2c4394bfd9485eb58e186900b68ad40a4fd650
/15_1/test5 15_1.py
b07bdf6c4b3365f1295bf8689fd6d298de426177
[]
no_license
Jirada01/Python
954dbfbb2d79b815e54b65e78b2df7a01ad39e11
bee62fd0734614d9dc3fb5fb61a179dcd2ea23a8
refs/heads/master
2023-03-11T22:48:21.689796
2021-02-15T14:03:01
2021-02-15T14:03:01
336,189,994
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
print("+++++++++++++++++++++++++++++++++++++++++++++++++++++") print(" เธฃเน‰เธฒเธ™เธ•เธฑเธงเธˆเธตเนŠเธ” เธขเธดเธ™เธ”เธตเธ•เน‰เธญเธ™เธฃเธฑเธšเธ™เธฐเธฎเธฐ ") print("+++++++++++++++++++++++++++++++++++++++++++++++++++++") shop=[] for i in range (5) : a = input ("เธซเธขเธดเธšเธชเธดเธ™เธ„เน‰เธฒเธŠเธดเน‰เธ™เธ—เธตเนˆ " + str(i+1) +" :") shop.append(a) print("เธชเธดเธ™เธ„เน‰เธฒเธ—เธตเนˆเธซเธขเธดเธšเนƒ...
[ "jiradabo@kkumail.com" ]
jiradabo@kkumail.com
1cb69c55e4d7fdf7b4a102d75cb0ed2e13eaf37c
d6e08c3285e0c909cc6d5aed2af42fc7945315a1
/setup.py
f6c27087392be100f082a7d8d6477f8d41e3f8c9
[ "MIT" ]
permissive
frumiousbandersnatch/cobe
2c46ebae3d019776d84824d0d019100f01f2d460
73c8df450f655354e5c4369074b04f55ec9c0605
refs/heads/master
2020-04-05T19:09:21.407684
2017-02-04T20:09:03
2017-02-04T20:09:03
9,268,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
#!/usr/bin/env python # Require setuptools. See http://pypi.python.org/pypi/setuptools for # installation instructions, or run the ez_setup script found at # http://peak.telecommunity.com/dist/ez_setup.py from setuptools import setup setup( name="cobe", version="2.0.4", author="Peter Teichman", autho...
[ "peter@teichman.org" ]
peter@teichman.org
cf5dcd1d4c5ee1315e9015b5bfae7574040d4231
95e91c750836150508454952dc0a3972f6a0c0bf
/call_get_category.py
3a96f7f5daf2a5c153381d82b8a1a3f2980f05c6
[]
no_license
wendysyn89/CompUX-LSA
e6e627219bc687b868020708804b992ded5ccf5d
ec80e3638c78d5cef3ab899c4fd10062b67056ea
refs/heads/master
2021-01-10T01:39:16.949238
2015-11-09T09:35:10
2015-11-09T09:35:10
45,722,482
0
0
null
null
null
null
UTF-8
Python
false
false
1,593
py
from get_category import SemanticSpace from training_vector import SubSpace import re """get semantic training data and initiate class""" c=SemanticSpace('semantic_training_data.txt') """BUILD SEMANTIC SPACE""" #c.build_model() """BUILD ITEM SUBSPACE""" """get item file and initiate class""" # d=SubSpace("item_ann....
[ "wendysyn89@gmail.com" ]
wendysyn89@gmail.com
b07c0fbafeed6667c5bed529b5b338c08d284439
8ee64f13d2b837113ba86d42d0a308d550ee8297
/rss.py
c58636d4da43f80849960aafb77ed4544eb89c48
[]
no_license
wang598842739/GenerateRSSFeedForWebPages
9eb9c126e5f7d308c752133f11cc12942d9fa741
aaadda52b4a2d7c56f5aaf0b9fab8b955cb432f5
refs/heads/master
2021-01-12T08:37:44.568388
2016-12-12T13:12:05
2016-12-12T13:12:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,901
py
#!/sw/bin/python import urllib, re, os import sys titlere = re.compile("<TITLE>(.*?)</TITLE>", re.I|re.S) def gettitle(c): x = titlere.findall(c) if x: return x[0] return None def htmlencode(text): return text.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;') def rssify(title, link, items, encodi...
[ "ning.liu4@hpe.com" ]
ning.liu4@hpe.com
84325c4920da7b156d19c629504f091e334b54b4
fea6004f59a4fb8547205939b40aec8949b2b34d
/AlphaBeta.py
335b8e4502abeb8885554864e36a93a16e817088
[]
no_license
kpwelsh/TensorflowTraining
ffaa9fced95eb030f1236dbc372b5955ed184865
f878e1416aa24d0b54e00bcaf75875c0ebad0c3c
refs/heads/master
2021-06-19T19:10:06.181653
2017-07-01T21:22:20
2017-07-01T21:22:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
# -*- coding: utf-8 -*- """ Created on Sat Jul 1 08:40:51 2017 @author: kevin """ class AlphaBeta: def __init__(self, maxDepth): self.MaxDepth = maxDepth
[ "kevinwelsh132@gmail.com" ]
kevinwelsh132@gmail.com
ed1dd33e5dda0a47ad967c56fda9598a01474e52
e2ed90a3023b99348597dd3a5c3cc5b084802b7e
/startup.py
3f0c17ac222d4f797ecc9b45d7bf050c5f9d7097
[]
no_license
jasoncordis/spotifycouplesapp
dfbf60140c22487770586a7666e11050339f4cc5
bf73324e5f180811b228ef4c226b7c45ab763aab
refs/heads/main
2023-09-04T10:27:34.938381
2021-11-11T22:06:27
2021-11-11T22:06:27
416,884,630
0
0
null
null
null
null
UTF-8
Python
false
false
6,912
py
import requests import json from flask_spotify_auth import getAuth, refreshAuth, getToken import random import os #Add your client ID CLIENT_ID = os.getenv('CLIENTID', 'Optional default value') #aDD YOUR CLIENT SECRET FROM SPOTIFY CLIENT_SECRET = os.getenv('CLIENTSECRET', 'Optional default value') #Port and callback...
[ "noreply@github.com" ]
jasoncordis.noreply@github.com
a624ed2ba72f77d3c88e103f5fa152e7e3670c2a
c39c2d43416cfae73fc95d7a928689c53d0a387f
/level_2.0/config/architecture_config.py
88963f3c9769743872e781db0233a617fe9f9656
[]
no_license
Ontheway361/stanford_cs231n
229f3034bcf3974159bfee596af74d20cbed3220
a28567260cd5e380865e81c6fcc68f420a381797
refs/heads/master
2020-04-22T22:18:12.640432
2019-11-20T12:19:20
2019-11-20T12:19:20
170,703,257
0
0
null
null
null
null
UTF-8
Python
false
false
4,758
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on 2019/03/13 author: lujie """ import numpy as np from IPython import embed class Architecture(object): def __init__(self, method = 'cnn'): self.art_cfg = None self.method = method self.solver = self._solver_config() i...
[ "lujie@akulaku.com" ]
lujie@akulaku.com
b1c1575eaf323d75f88f59a0fb76dab032680993
73deea0d56190d48faba16eef36e0adadb92101f
/blog/apps.py
7932512c6eff8b8dcf09e2e620f4b9e6d571ea82
[]
no_license
lvicencio/blog_django
7ee59256482cb577172aed91ab29b939ed623f12
641be1cb30d59ec032c99ccb67d8d70274febea7
refs/heads/main
2023-04-02T11:17:23.613682
2021-04-07T03:28:41
2021-04-07T03:28:41
355,400,363
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from django.apps import AppConfig class BlogConfig(AppConfig): name = 'blog' verbose_name="Gestion del Blog"
[ "lvicencio@gmail.com" ]
lvicencio@gmail.com
4e67f7e411501ead79afa8fdc99e0a34422a06de
f28a5beba86a2cdf286848cfece3c4cd8eab06c7
/Web01/Homework/Exe1/app.py
d8b2f7ccef6c92d48a2800244cb934d580d189b1
[]
no_license
luongnhuyen/luongnhuyen-webmodule-C4E17
aec4c1e023d1ecf78f3b57ddf4496efe849e7945
142df2567595a5b500b0a5a8e54ea29582307362
refs/heads/master
2020-03-16T19:54:57.823660
2018-05-28T17:55:07
2018-05-28T17:55:07
132,937,641
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
from flask import Flask, render_template, redirect app = Flask(__name__) @app.route('/bmi/<int:weight>/<int:height>') def bmi(weight,height): kq=weight/(height/100*height/100) # Cach 1 if kq < 16: ketqua = "Severely underweight" elif kq < 18.5: ketqua = "Underweight" elif kq < 25: ...
[ "luongnhuyen@gmail.com" ]
luongnhuyen@gmail.com
e617b920f9e2568d05f0b9b81923724255ed6437
dcbef06d5a00f07756339b9e62c684dec2fee425
/nuitka/build/inline_copy/lib/scons-4.3.0/SCons/Platform/darwin.py
f997a7d9e6f3b45fabc0a4a6ede8551a69bcf4bd
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Nuitka/Nuitka
f9543d8d95bfa0b81d4e60af0dfad99fb72893a4
d87faf2f7e1d6ed9bfe4cf8c1d648f34307e33f2
refs/heads/develop
2023-08-28T14:00:32.861328
2023-08-27T09:16:45
2023-08-27T09:16:45
9,626,741
8,573
599
Apache-2.0
2023-09-13T02:49:41
2013-04-23T15:40:33
Python
UTF-8
Python
false
false
2,630
py
# MIT License # # Copyright The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, ...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
d2cdad9f1e5e7b3f7ab43d08e4c1be9a8774df79
42ba84510d87cde32d147ee40a76cb5bc93c7ea3
/manage.py
bebad4b33f6c1a8bc9ca78ff34cfa607aad9c55a
[]
no_license
kingdragon46/debate-django
5b030e2c5efea9f990ca37aaa06fd6cc8c513145
c59b5f38c33615e93d266801dcd8c965a5fdfdc8
refs/heads/master
2023-07-08T10:32:33.267526
2021-08-16T14:03:14
2021-08-16T14:03:14
396,804,670
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DebateWeb.settings') try: from django.core.management import execute_from_command_line except Im...
[ "kingdragon46@gmail.com" ]
kingdragon46@gmail.com
b399c45fda01596366d609a87fd0320da5d59894
f7d1f11fd4fa5e71f3951b7fd7b4b20fef2a21b1
/venv/Scripts/pip3-script.py
10837b59bbe74b22be04f86ffc0e12c90479edd6
[]
no_license
ferry-luo/ferry_pycharm_projects
130ea7ccd5d605b0965cd1bbc9b5511daa333afb
13a1a4a50f1c9fddf76ff0f56bf11f5d9a940467
refs/heads/master
2022-12-30T10:17:07.921729
2020-10-18T01:58:23
2020-10-18T01:58:23
268,465,037
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
#!F:\AAA-ferry\FerryProject\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.e...
[ "1021164925@qq.com" ]
1021164925@qq.com
a54ac9f0d8a08ee8192c56e79654ab0dba3cb790
575072e8cca42a6a8e33aa85206407248fa68c26
/addons/x11542_order_type/models/x11542_order_type.py
483b7d4032514c2249afdfd1316c9847e0452afd
[]
no_license
alisaifbil/OdooPayrollPakistan
509055aea2a00c5518eab2ad1fdced07250e160b
cdf5ed8f75bf84a37fae39739eb00fcb36843576
refs/heads/master
2020-05-29T12:35:21.206995
2019-05-29T02:38:19
2019-05-29T02:38:19
189,131,873
1
0
null
null
null
null
UTF-8
Python
false
false
175
py
# -*- coding: utf-8 -*- from odoo import models, fields, api class x11542_order_type(models.Model): _name = 'x11542.order.type' name = fields.Char("Enter Sales Order Type")
[ "alisaifbil@gmail.com" ]
alisaifbil@gmail.com
813f811cc4c034ef5333500a17d4e40972d394ad
b2926df6685098607a16051810041a64a8427211
/PythonSciCom/birthday.py
00f2f899ca7b6412293ec490a7f875ea6cf5213c
[]
no_license
wyh0106/python_homework
478d7cfa5b9177b5301f4b3fab09eca98a354905
d17d4eca8eb012746c39197823b8f4cc5a67b948
refs/heads/master
2023-04-10T19:27:35.395986
2021-04-13T15:05:01
2021-04-13T15:05:01
266,530,300
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from random import randint def birth(): birthday = [] for _ in range(23): birthday.append(randint(1,366)) set1 = set(birthday) if len(birthday)!=len(set1): return 1 else: return 0 sum = 0 for _ in range(10**5): sum += birth() print("{:.2f}%".format(sum/10**3))
[ "weiyhdyx@126.com" ]
weiyhdyx@126.com
cd10575325c6158eb2b1ef34ce4cc5bf26ab6553
47eb127f940d262bdd2a84fa61122fa30eae9fd0
/Library.py
2dd1acfd36acdf920620f1636e101f6d3cd62879
[]
no_license
rpatelk/SimpleLibrary
df4e8133b3ebcc9adbc4b79fbef7de0988337c82
53c056677119a82a08c950a405c6ad9039677dc6
refs/heads/main
2023-03-30T02:25:11.124086
2021-04-03T22:49:30
2021-04-03T22:49:30
352,394,531
0
0
null
2021-04-03T22:49:01
2021-03-28T17:33:27
null
UTF-8
Python
false
false
913
py
from Book import Book # Class that contaians the Object for Library # @author Raj Patel class Library: # Important library infromation including book list. __libraryName = "" __address = "" __listOfBooks = [] # Library class constructor def __init__(self, libraryName, address, listOfBooks): ...
[ "rkpatel4@ncsu.edu" ]
rkpatel4@ncsu.edu
9ff16482c5666b73f7da76d002e50d1659d0b8e7
5a7737e401a1c4a0df1cd78b66c4c827320f1d14
/strings.py
c5880d45901068c72f038a17b7431f3b318ff7f4
[]
no_license
venkatajagadeesh123/python_snippets
41ada001730bda070d0984b6931b5a94995ac1d9
c2c7394b80a86f1bc4ac3c051d5bc655414f8fbc
refs/heads/master
2021-01-02T09:18:58.512713
2017-08-02T06:26:28
2017-08-02T06:26:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,005
py
# name = "Srini" # age = 23 print ("Hello world") print("My name is " + name + "my age " + str(age)) print("My name is %s and my age %d" % (name,age)) print("My name is {name} and my age {age}".format(age=age,name=name)) # this syntc work only python 3.6 print(f'My name is {name} my age next year {age+1}') ...
[ "thisismsreddy@gmail.com" ]
thisismsreddy@gmail.com
ea2bd5552706203f0050d2b29d213146ff7bdca6
6f2a17428e7de6dc74ffd6c933f6b9a33121307d
/hello.py
bc87049eedb1d8002adefecdca544cb3a40618ea
[]
no_license
harshaghub/PYTHON
d89eba802870137fe7febb2c8731f39569555ba9
a93effe9520889b9612743b33b8b18c63c278d8d
refs/heads/master
2020-12-02T06:24:40.518232
2018-06-26T06:20:50
2018-06-26T06:20:50
96,829,236
0
1
null
null
null
null
UTF-8
Python
false
false
32
py
print('hello') print('hello')
[ "noreply@github.com" ]
harshaghub.noreply@github.com
d60d647cb22e7a66f7fc8c92225082303a842d23
8de371587c9a6263314df9ccad3e5b911e0439cb
/web/django_survey/vote/models.py
770903da11ac5f1a781517ac0e523df1cf518c96
[]
no_license
desenvolvendoweb/survey
307fc615012ba0ea04446c5fe90cb8563422bc76
8d1138bfb4c3df9d8ffb5da01d1c34fc87a26d72
refs/heads/master
2021-01-20T02:37:02.310888
2017-04-26T16:40:16
2017-04-26T16:40:16
89,426,537
2
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
from django.db import models from django.db.models import Q # Create your models here. class Survey(models.Model): title = models.CharField(max_length=255, verbose_name='Tรญtulo') status = models.BooleanField(default=True, verbose_name='Habilitado') date = models.DateTimeField(auto_now_add=True) def _...
[ "raphael.exe@gmail.com" ]
raphael.exe@gmail.com
594245fe959ba44f61448c1aba7f88b2cb53a315
8af334f8ece73d6f50cbea97169d10ce59aca3b9
/djangoTest/settings.py
bb902034d27ede296d7b6ee71d6b74e71d8232a1
[]
no_license
ayhamo/DjangoTest
6bb6a1aa4791b9fb2c228f36e85b493597494a83
56fe8f6090d60e8dd11b998197d71ec00bdfeffb
refs/heads/master
2023-08-11T05:06:04.215471
2021-09-20T16:21:17
2021-09-20T16:21:17
403,290,700
0
0
null
null
null
null
UTF-8
Python
false
false
3,815
py
""" Django settings for djangoTest project. Generated by 'django-admin startproject' using Django 3.2.7. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from path...
[ "ali1ali2ali123@hotmail.com" ]
ali1ali2ali123@hotmail.com
3ad6da7e651af530778e2774b28f603e6972c393
1ee0d5eaa3b7f325c1c00dce3b7ba27d08861c82
/euler3.py
8af5ebcc22e83ae62ada2462aded508dcce7047f
[]
no_license
thwhisler/eulerproblems
0a3b3689e706acddafc79d8adcf03d9d76f53266
78a6c9f87d4059a3e72a503b1142112dc071c7a2
refs/heads/master
2021-01-20T08:43:31.394514
2017-05-03T19:33:33
2017-05-03T19:33:33
90,184,986
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
def euler3(x): ogvalue = x factors = [] counter = 3 while (x != 1): #2 only even prime, pull out first while (x % 2 == 0): factors.append(2) x = int(x / 2) #check every odd number 3 onwards if (x % counter == 0): factors.append(counte...
[ "thwhisler@gmail.com" ]
thwhisler@gmail.com
b5dc97e2850c52dccd210ba2894bed142eb5c1b9
dea198896f679e577a3fd0923e3fa4470da4b9cc
/journal/pyfakefs_mutants/AOR_BinOp_mutant_1507054997.py
d29db9215f379ca17584b73b34ae8921cc205ee6
[]
no_license
naustarg/cbmcmutate
f138ab2b04b4be70d735de90815ac670ae6042ce
a6ee6fd395338bb2dfd6bdffabb2dc484cb303f1
refs/heads/master
2020-04-04T08:10:15.913309
2018-05-21T18:23:58
2018-05-21T18:23:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
219,331
py
# line: 91 'A fake filesystem implementation for unit testing.\n\n:Includes:\n * FakeFile: Provides the appearance of a real file.\n * FakeDirectory: Provides the appearance of a real directory.\n * FakeFilesystem: Provides the appearance of a real directory hierarchy.\n * FakeOsModule: Uses FakeFilesystem to pr...
[ "agroce@gmail.com" ]
agroce@gmail.com
7b8aa0b7e8576ed4aec9e83b7aa05793b2d8ed3f
259b62bdab364a7df554d503ec4e6ef37070564a
/article/figure-4b/lineplot-4b.py
87d166f330228335c801d6ceb2950d7468f29237
[ "MIT" ]
permissive
guilherme-araujo/gsop-dist
aab466504e89063933c55611bbc4a82cb501bc7f
15da82ffa8add74cc61b95d3544ec3aaa0e71a32
refs/heads/master
2023-06-28T08:40:11.978053
2021-08-01T01:43:28
2021-08-01T01:43:28
262,335,249
0
0
MIT
2020-09-21T16:24:59
2020-05-08T13:48:01
Python
UTF-8
Python
false
false
1,749
py
import seaborn as sns import sys import csv from statistics import stdev import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib.ticker as mtick import gc files = [ {'file': 'a1g9', 'bonus': '0.01'}, {'file': 'a3g7', 'bonus': '0.03'}, {'file': 'a5g5', 'bonus': '0.05'}, ...
[ "guilherme.araujo@imd.ufrn.br" ]
guilherme.araujo@imd.ufrn.br
776147fd6c13a8a141d5e67bc8bbf075b45e5aea
7d474522d84c4cf15c842aff8137c19313014d42
/pytwis/pytwis_clt_constants.py
887e7de6b0392715eb7d488eddbfc6a26bf6fe23
[ "Apache-2.0" ]
permissive
renweizhukov/pytwis
782fa8662912ae3e089aeeaac54e16a61d025ea1
1bc45b038d7e5343824c520f89f644bbd6faab0a
refs/heads/master
2021-04-28T03:53:54.506686
2018-06-10T07:33:10
2018-06-10T07:33:10
122,150,388
5
2
Apache-2.0
2018-04-09T02:54:19
2018-02-20T03:21:04
Python
UTF-8
Python
false
false
737
py
# -*- coding: utf-8 -*- """This module defines all the constants used by pytwis_clt.py.""" CMD_REGISTER = 'register' CMD_LOGIN = 'login' CMD_LOGOUT = 'logout' CMD_CHANGE_PASSWORD = 'changepwd' CMD_GET_USER_PROFILE = 'userprofile' CMD_POST = 'post' CMD_FOLLOW = 'follow' CMD_UNFOLLOW = 'unfollow' CMD_GET_FOLLOWERS = 'fo...
[ "renwei2004@gmail.com" ]
renwei2004@gmail.com
f29c5f5a8fd629051b2a7cb2e2d5a0557af1f558
2d9e5a30ac44bf15296a058a198b97fa1e6574c0
/galaxy_ml/binarize_target/_binarize_estimators.py
0ba49fca7485267cc0fb472bafdd5ef680a5af56
[ "MIT" ]
permissive
kxk302/Galaxy-ML
8397e533b1529354fc1d5e7b147cd808b129efd8
d42bea8591f691c44fd0523d567c1dfa8a87bd01
refs/heads/master
2023-04-13T21:44:18.478631
2021-03-23T17:54:46
2021-03-23T17:54:46
346,071,096
0
0
MIT
2021-03-12T23:08:31
2021-03-09T16:28:41
null
UTF-8
Python
false
false
10,288
py
import numpy as np from sklearn.base import (BaseEstimator, clone, RegressorMixin, TransformerMixin) from sklearn.utils.validation import (check_array, check_is_fitted, column_or_1d) class BinarizeTargetClassifier(BaseEstimator, RegressorMixin): """...
[ "guqiang01@gmail.com" ]
guqiang01@gmail.com
a3821a679ba8b90116f6d1d74cac7ff0d176923c
32d3801c9e5a121586b873d0c3a57cd6c1cf8d0d
/examples/classes.py
8fb55d1b0b18918c785341828a96ac1ce5a26f7e
[]
no_license
dencorg/introduction-to-python-greek
808727cab781ccdd2111343ecab0d0d24b74015c
8c2b61e067c9d293e03f03caee094214613ba920
refs/heads/master
2023-04-14T20:58:20.235636
2023-04-06T09:24:32
2023-04-06T09:24:32
107,974,225
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
# ฮดฮทฮผฮนฮฟฯ…ฯฮณฮฏฮฑ ฮบฮปฮฌฯƒฮทฯ‚ class Vehicle: def __init__(self, number_of_wheels, fuel_type, maximum_velocity): self.number_of_wheels = number_of_wheels self.type_of_tank = fuel_type self.maximum_velocity = maximum_velocity def make_noise(self): print('VRUUUUUUUM') tesla = Vehicle(4, 'e...
[ "dencorg@gmail.com" ]
dencorg@gmail.com
15520656810218c0c951a1874c2a869e7c97bd93
b5ea257e4accff19a105c2fc6a99578e70d2b0a7
/tempCodeRunnerFile.py
0b2ab081b03c1a35c3761e3bbd54fd012a059de9
[]
no_license
oiji-official/PongGame
c361bdc58b5a93c6bb454dd9068b9e1b8c2be17f
f19ff28c1a2e2cfa1d1c5e36bbc4e870753ab787
refs/heads/master
2023-03-24T20:08:06.094134
2021-03-23T17:06:44
2021-03-23T17:06:44
350,793,178
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
paddle.listen() # paddle.onkey(move, )
[ "xyz.notimportant@gmail.com" ]
xyz.notimportant@gmail.com
7854736b0d20f9d28c5c1c17c0df13ff424ef40c
7c81419bd1735fe8e04e8669c67888b666e7d3d2
/store/admin.py
4f1979e947bd216f5a0f0b487840d11c6e91a16a
[]
no_license
cforcross/Ecom_with_test
55fd9377e1d2a04573bca541a9480d881749996a
229efb0f9d319026c87e8a1de53769dc98eec06c
refs/heads/main
2023-03-16T02:46:50.369551
2021-03-09T00:07:47
2021-03-09T00:07:47
345,823,958
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
from django.contrib import admin from .models import Product,Category # Register your models here. @admin.register(Category) class CategoryAdmin(admin.ModelAdmin): list_display=['name','slug'] prepopulated_fields = {"slug": ("name",)} @admin.register(Product) class ProductAdmin(admin.ModelAdmin): list_dis...
[ "ntsendifor@gmail.com" ]
ntsendifor@gmail.com
80181757a1dd7012195372ab59e888c4ee85a6db
5c48be6df9bc5ef55725c4020d67d046e19cc9e2
/Practice(beginner)/ATM(HS08TEST).py
36d8423fb0e95b17d2744af9f4b2b3fad3a6fb07
[]
no_license
aman171006/codeshef
9cd14a6cfee828adf71fdd847fc5dd3a4e0edd64
f2716d27b51bc02e5e932efd53b3ef05f665c146
refs/heads/master
2022-11-27T10:15:09.223209
2020-07-28T12:20:28
2020-07-28T12:20:28
283,109,020
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
### Third variable is not needed for output ### ### map()---> map(function,iterables) map() applies float() function to all iterables we get from input() # | | You can use map() on any iterable variables not only input # | ...
[ "noreply@github.com" ]
aman171006.noreply@github.com
1f65a3b9b769c30d6f53d3c5f460f7fbe37996a3
ad6f3be8c2746eec5778f8b505a6718500697b83
/laboratory_work_2-master/task_3/info.py
7ef476e79106d3cb04a7a4989c10ed1804549876
[]
no_license
Dementr/labs
74344765a4defdd1a2e246360d56f7d8cc513942
f3831c978e94deda7e0a0b43558c3975b041a8b2
refs/heads/master
2020-07-25T04:20:13.206343
2019-09-12T23:19:19
2019-09-12T23:19:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
info = 'ะคะ˜ะž;ะ’ะพะทั€ะฐัั‚;ะšะฐั‚ะตะณะพั€ะธั;_ะ˜ะฒะฐะฝะพะฒ ะ˜ะฒะฐะฝ ะ˜ะฒะฐะฝะพะฒะธั‡;23 ะณะพะดะฐ;ะกั‚ัƒะดะตะฝั‚ 3 ะบัƒั€ัะฐ;_ะŸะตั‚ั€ะพะฒ ะกะตะผะตะฝ ะ˜ะณะพั€ะตะฒะธั‡;22 ะณะพะดะฐ;ะกั‚ัƒะดะตะฝั‚ 2 ' \ 'ะบัƒั€ัะฐ;_ะ˜ะฒะฐะฝะพะฒ ะกะตะผะตะฝ ะ˜ะณะพั€ะตะฒะธั‡;22 ะณะพะดะฐ;ะกั‚ัƒะดะตะฝั‚ 2 ะบัƒั€ัะฐ;_ะะบะธะฑะพะฒ ะฏั€ะพัะปะฐะฒ ะะฐัƒะผะพะฒะธั‡;23' \ ' ะณะพะดะฐ;ะกั‚ัƒะดะตะฝั‚ 3 ะบัƒั€ัะฐ;_ะ‘ะพั€ะบะพะฒ ะกั‚ะฐะฝะธัะปะฐะฒ ะœะฐะบัะธะผะพะฒะธั‡;21 ะณะพะด;ะกั‚ัƒะดะตะฝั‚ 1 ะบัƒั€ัะฐ;_ะŸะตั‚ั€ะพะฒ ะกะตะผะตะฝ ะกะตะผะตะฝะพะฒ...
[ "root-avanzar@mail.ua" ]
root-avanzar@mail.ua
545c240dc43ec38cffd97004bd6125bf765692d6
5e49afd9c6ca73d7074c7ae220d5186fe4f44c08
/setup.py
100a3637c77fb07f8f43449aadc017a221620a02
[ "MIT" ]
permissive
pylover/sharedlists
c2842618e7f6f9fea9dfefd710b9f94f36c19e7c
b020be26d3a64a3cdb9417a066a454b5b92006c5
refs/heads/master
2020-06-22T02:55:47.892070
2019-08-04T20:37:20
2019-08-04T20:37:20
197,615,918
1
0
null
null
null
null
UTF-8
Python
false
false
801
py
import re from os.path import join, dirname from setuptools import setup, find_packages # reading package version (same way the sqlalchemy does) with open(join(dirname(__file__), 'sharedlists', '__init__.py')) as v_file: package_version = re.compile('.*__version__ = \'(.*?)\'', re.S).\ match(v_file.read(...
[ "vahid.mardani@gmail.com" ]
vahid.mardani@gmail.com
d3411e33fed37f486fef508d9bc01e73d9d91107
70d762a49a33cb9896ac9946239e74c7751b2bac
/openstack_dashboard/enabled/_2200_WRS_dc_admin.py
db2f90a618208eb1a6aef86b8d23f156473bbcfb
[ "Apache-2.0" ]
permissive
aleks-kozyrev/stx-horizon
638cde052e02da71be9f3d7bb0bb1718db0579c2
517d18255c714a4bd4d2476697947d3929d57039
refs/heads/master
2020-03-27T11:11:43.381274
2018-08-27T19:38:11
2018-08-27T19:38:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
# The slug of the dashboard to be added to HORIZON['dashboards']. Required. DASHBOARD = 'dc_admin' # If set to True, this dashboard will be set as the default dashboard. DEFAULT = False # A dictionary of exception classes to be added to HORIZON['exceptions']. ADD_EXCEPTIONS = {} # A list of applications to be added to ...
[ "dtroyer@users.noreply.github.com" ]
dtroyer@users.noreply.github.com
d97b425f44e492b8a223677528b958ac0a7585f5
9f4a1f8546e95da92d7e1b924b651f0ea5eb16ba
/sockets/aes/aes_gcm.py
8fe968c20a25ac087bc23438966c934a26053813
[]
no_license
pengyejun/python_demo
928e557fb890c2881284d9e9100c5ac9aa2292c6
80732c440c97070149c1d5bb4d08972d9cd2869a
refs/heads/master
2022-12-21T13:07:24.688683
2020-09-15T15:22:55
2020-09-15T15:22:55
265,818,736
0
0
null
null
null
null
UTF-8
Python
false
false
2,626
py
# need python 3.6 or above & Linux >=4.9 import contextlib import socket import os @contextlib.contextmanager def create_alg(typ, name): s = socket.socket(socket.AF_ALG, socket.SOCK_SEQPACKET, 0) try: s.bind((typ, name)) yield s finally: s.close() def encrypt(key, iv, assoc, tagle...
[ "p15281826276@gmail.com" ]
p15281826276@gmail.com
2a52ea8eda42300a5583eaa59b28a3a97c7f726a
ee0bcf752928b8310ed497c1ff365afe927e31de
/run.py
9222f33837f5182e5329dddaba95be439393cc0e
[]
no_license
kduxin/mpi-median-filter-colored
0b2c38a20c26ec697f3218608866b1f5477a507c
5fe722faa0ff8e4647052c29871032fa81248c10
refs/heads/master
2020-06-19T14:17:09.750414
2019-07-19T06:51:55
2019-07-19T06:51:55
196,739,539
0
0
null
null
null
null
UTF-8
Python
false
false
3,097
py
import ctypes from PIL import Image import numpy as np import cv2 import matplotlib matplotlib.use("Agg") import matplotlib.pyplot as plt # lib_cpu = ctypes.cdll.LoadLibrary("./lib_cpu.so") lib_mpi = ctypes.cdll.LoadLibrary("./lib_mpi.so") img = np.array(Image.open("./image/aimer.jpg"), dtype=np.uint8) # img = img.t...
[ "duxin_be@outlook.com" ]
duxin_be@outlook.com
a0325f9b5660f6f88458256b3e32f7e6882e5fc0
365358cab54e175ea0cef0d32f012cf74d9d4546
/hipo/settings.py
ee8cffb404143470799ebf85ed83ceed72a11e85
[]
no_license
baranugur/hipo
613692ad24cc8793c4ffd1e721e3d51a2464edc2
006425bb28ec69d3dad2b2514f0f0a16db3815c2
refs/heads/master
2020-04-13T00:29:18.093216
2019-01-17T22:27:16
2019-01-17T22:27:16
162,846,854
0
0
null
null
null
null
UTF-8
Python
false
false
3,294
py
""" Django settings for hipo project. Generated by 'django-admin startproject' using Django 2.0.9. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os impor...
[ "baranugur7@gmail.com" ]
baranugur7@gmail.com
87e06c5f092bc078e57470af3c2e97ccb8e14638
6c137e70bb6b1b618fbbceddaeb74416d387520f
/lantz/lantz/drivers/agilent/__init__.py
6cb05fee840da445ceb8ceea76d2bfa2c2dd3fe9
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
zhong-lab/code
fe497c75662f8c3b7ab3c01e7e351bff6d5e8d15
b810362e06b44387f0768353c602ec5d29b551a2
refs/heads/master
2023-01-28T09:46:01.448833
2022-06-12T22:53:47
2022-06-12T22:53:47
184,670,765
2
7
BSD-2-Clause
2022-12-08T21:46:15
2019-05-02T23:37:39
Python
UTF-8
Python
false
false
593
py
# -*- coding: utf-8 -*- """ lantz.drivers.agilent ~~~~~~~~~~~~~~~~~~~~~~ :company: Agilent Technologies. :description: Manufactures test instruments for research and industrial applications :website: http://www.agilent.com/home ---- :copyright: 2015 by Lantz Authors, see AUTHORS for more det...
[ "none" ]
none
fbb7b4596efb9ead919f079b83df0bfef29774c1
8b07a4a8f01a3cf9bf9e312a1e0716af72713e56
/Python/django/djpr/freefly/freefly/wsgi.py
bf2884d6d75fcd04c2f60bdaddadd182b491c6ae
[]
no_license
milleniax/All-projects
68d1f6250c03cadff0ccd2a5a29f53b9dc91a7f2
d295a502c7e732ab222439b1e52d29fc2463bd9f
refs/heads/master
2020-09-25T17:10:14.464139
2020-03-28T20:02:18
2020-03-28T20:02:18
226,049,706
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for freefly project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "marsel.abdullin.00@mail.ru" ]
marsel.abdullin.00@mail.ru
f8d303cc34b76e161aa112517f3e69fb5b750dff
77fc7bc3986e6cb43dbe0b782b52b0c724f5f872
/parseHW2_1.py
acde984243c88e7b618421761303d386e90a5567
[]
no_license
abhchennagiri/CN_HW1
7adceb37af6eea0aca633660d2748d52c19e3307
8c75e8bd406bb89a91607bf4d9bd39480cdf78a3
refs/heads/master
2021-01-12T11:23:32.028697
2016-11-05T04:16:29
2016-11-05T04:16:29
72,904,530
0
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
# A Python script to parse the average bandwidth and the average packet loss rate mb = 1000000 def calBW(start_time,end_time): tcpflow1_count = 0 #tcpflow2_count = 0 cbrflow_count = 0 #tcpack1_count = 0 #tcpack2_count = 0 t = end_time - start_time with open('out2_1.tr') as trace_file: ...
[ "abhchennagiri@gmail.com" ]
abhchennagiri@gmail.com
f06d43fb2d6f3095a730d2a824cce59219131f2c
63ff60a5fde00c79fc4cd72ebd88595d14925921
/picker/migrations/0001_initial.py
06d0748e23c3c998488055b09f20e15d79015dab
[ "MIT" ]
permissive
dakrauth/picker
e797e99cb7859b2f33998aca2e84e432c0c19d8d
084bc22cf50b200333a6c76d9577463eda6a0948
refs/heads/main
2022-09-15T03:43:28.400665
2022-09-03T05:57:56
2022-09-03T05:57:56
42,045,430
2
2
MIT
2022-01-07T17:21:16
2015-09-07T09:58:39
Python
UTF-8
Python
false
false
10,602
py
# -*- coding: utf-8 -*- from django.db import migrations, models from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Alias', ...
[ "dakrauth@gmail.com" ]
dakrauth@gmail.com
1ebf265851834e1dbde7d2c4c549c1c82252350c
02a535bbe64f52c112aef2b6b2abce5e2bf46933
/Alquileres/Alquileres/urls.py
ae334f9df5de595c8a6305904a4afacd6ebe427a
[]
no_license
RicardoWebProject/BackendAlquileres
ff05e8a46c9cdf0c12edc9e8ff04c07d3e9b4961
72b12a459830bd4348caf763afa3d65ad60b8603
refs/heads/master
2022-11-22T04:07:45.020079
2020-07-27T01:10:05
2020-07-27T01:10:05
282,762,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
"""Alquileres URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "luisrijhn09@gmail.com" ]
luisrijhn09@gmail.com
3cb0647035b2f6a5cfed330277424565ed81fa27
e6131b2525336441085560920a4283d36125bcb6
/turtlebot3_RL/src/Interpolated-Policy-Gradient-with-PPO-for-Robotics-Control-/IPG_for_PPO/Critic/layers.py
53e19a66c35f2be5c37aca81bfa1658701e388b3
[]
no_license
michaelyeah7/turtlebot3_ws
93b64b8d607b4214c2c7230a3c0666528f3fd82e
265d26d4ab43203025b510942a4f9509b695a4b5
refs/heads/master
2020-05-18T03:21:28.298969
2019-07-06T02:25:15
2019-07-06T02:25:15
184,142,654
3
0
null
null
null
null
UTF-8
Python
false
false
77,148
py
# -*- coding: utf-8 -*- import functools import math from collections import OrderedDict from collections import deque from difflib import get_close_matches from inspect import getargspec from itertools import chain from warnings import warn import numpy as np import tensorflow as tf from tensorflow.python.training im...
[ "michaelyeah7@126.com" ]
michaelyeah7@126.com
8ec9adeaa2aae769320e408697df1517ee7f8b4e
0511cc9421df293ef72ad92f01b0e08d8e9300d9
/src/chap_08/48_udpbroadcast_py/server/main.py
97cf42057a7901ecb4732385095652cc01c68bc5
[]
no_license
github-jxm/LinuxQt_Exambel
7cdb234a27e3e81827ceb7266b23cb80e3922e4a
309fde83c6492638a76713e3950395326fd00eef
refs/heads/master
2020-05-21T20:43:59.562848
2016-12-25T13:28:43
2016-12-25T13:28:43
65,841,152
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
#!/usr/bin/env python #coding=utf-8 import sys from PyQt4.QtCore import QTranslator from PyQt4.QtGui import QApplication, QFont from udpserver import UdpServer if __name__ == "__main__": font = QFont("ZYSong18030",12) QApplication.setFont(font) app = QApplication(sys.argv) translator = QTranslator(N...
[ "jiang_xmin@massclouds.com" ]
jiang_xmin@massclouds.com
5cfd366441a944b811950d03eeedc493da0afb82
2185217abc9d39919d4e7efd796f0dfb4dc70303
/advent_of_code_2019/day_14.py
fbbf78fb91f1870c85c57361403d969fbeb03c46
[]
no_license
HappyTreeBeard/Advent_of_Code_2019
78b6061da74bb427e1b2b70c17eb6e630a0618e4
7d6cb8c04c6d509095b8c61bcd5b1a93f19a68b4
refs/heads/master
2020-11-24T17:42:01.344355
2020-01-08T02:34:03
2020-01-08T02:34:03
228,277,688
0
0
null
null
null
null
UTF-8
Python
false
false
9,938
py
import unittest from pathlib import Path from typing import List, Dict from dataclasses import dataclass, field @dataclass class ProductionMethod(object): input_chemicals: List[str] input_quantities: List[int] output_chemical: str output_quantity: int @classmethod def build_from_reaction_str...
[ "34220817+HappyTreeBeard@users.noreply.github.com" ]
34220817+HappyTreeBeard@users.noreply.github.com
39b4713bb06e115f5fef7f696c1b2c73fcf47adf
1ed536ef1527e6655217e731f622d643ece49c2b
/scripts/align_all_vs_all.py
c152b8b783b8dffd40812fc5cb7771efc2c163fb
[]
no_license
siping/cgat
de0f7af124eb38c72d7dece78fff83ff92ddbf96
aa4cc85ffdc53998ea1a5ac5516df2d16c254d2e
refs/heads/master
2021-01-22T13:03:18.060139
2013-10-07T15:53:55
2013-10-07T15:53:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,781
py
''' align_all_vs_all.py - all-vs-all pairwise alignment =================================================== :Author: Andreas Heger :Release: $Id$ :Date: |today| :Tags: Python Purpose ------- This script computes all-vs-all alignments between sequences in a :term:`fasta` formatted file. Currently only Smith-Waterman...
[ "andreas.heger@gmail.com" ]
andreas.heger@gmail.com
28c0e80eb8d54321a71795b13c75ff070a6ccf3c
8f755bf2147b2ec74fdf26fd3fb583256be5993d
/project_1.py
13e07e1e20bae1397f808f1e3a042cc54064f4a5
[]
no_license
vladroolit/euler_project
b8ad3dc85cf08d382d4449f56b5626cb8441861b
cd35027317e9f420756b27773631bd2a976e141d
refs/heads/master
2022-12-11T04:02:08.178119
2020-08-28T17:44:20
2020-08-28T17:44:20
290,271,594
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
print('ะ•ัะปะธ ะฒั‹ะฟะธัะฐั‚ัŒ ะฒัะต ะฝะฐั‚ัƒั€ะฐะปัŒะฝั‹ะต ั‡ะธัะปะฐ ะผะตะฝัŒัˆะต 10, ะบั€ะฐั‚ะฝั‹ะต 3 ะธะปะธ 5, ั‚ะพ ะฟะพะปัƒั‡ะธะผ 3, 5, 6 ะธ 9. ะกัƒะผะผะฐ ัั‚ะธั… ั‡ะธัะตะป ั€ะฐะฒะฝะฐ 23.\nะะฐะนะดะธั‚ะต ััƒะผะผัƒ ะฒัะตั… ั‡ะธัะตะป ะผะตะฝัŒัˆะต 1000, ะบั€ะฐั‚ะฝั‹ั… 3 ะธะปะธ 5.') sum = 0 for i in range(1000): if i % 3 == 0 or i % 5 == 0: sum += i print('\n\n') print(sum)
[ "noreply@github.com" ]
vladroolit.noreply@github.com
7dad0e339648e460c7894fadad7d824066d514b6
3457ba6617f9eb2dd136b133deb62a906c5fcc45
/run_project.py
a44a28f19df3e0c94a3d5b6875c776e4ffeab47c
[]
no_license
ludosessa/Data-an-AI-project
81ac40b1ffdf7089dfd547ba9b6e826f12c9d4cb
3b5c76aef16cab62a742e2102498101867e492e1
refs/heads/master
2020-03-09T23:01:28.023186
2018-05-28T15:59:56
2018-05-28T15:59:56
129,048,913
0
1
null
null
null
null
UTF-8
Python
false
false
3,190
py
# import the necessary packages import readTrafficSigns import argparse import numpy as np import pickle import torch from torch.autograd import Variable import torch.nn.functional as F from torch import nn from torch import optim from conv_layers import ConvNet import scipy.misc #####################################...
[ "noreply@github.com" ]
ludosessa.noreply@github.com
ede6a7910e34d87a8089ec7a7a792cc145ae0a44
ec700463d9af81f68a477535ac233646f4d262f7
/python/__main__.py
2966615ac56651c81b277b34316ddc91361aca73
[]
no_license
gregjhansell97/grid-map
36579afa7beadb78a4b8cc53e2c7f45c75ac28a2
7d4c25b583474ec45265b01e524ed0884aaa2937
refs/heads/master
2020-03-16T20:42:24.156940
2018-10-02T23:29:58
2018-10-02T23:29:58
132,969,337
0
1
null
null
null
null
UTF-8
Python
false
false
453
py
from grid_map import GridMap import timeit if __name__ == "__main__": gm = GridMap(5, bit_depth=10) for x in range(1000): for y in range(1000): gm.add(x, y, "loc:" + str((x, y))) gm = gm.sub_grids[1][0] print(gm) gm = gm.sub_grids[0][0] print(gm) gm = gm.sub_grids...
[ "gregjhansell@gmail.com" ]
gregjhansell@gmail.com
7107ab73e45047060a6a8580092971ab13b86db0
ab616e26a623fe7e81d30ba7b86fabe4a3658794
/LibriSpeech/Get_Meta_LibriSpeech.py
39a801bf12ffad5efc95d8bb95ea6ef3ab2b9afa
[]
no_license
ruclion/linears_decoder
1d2367fbfa8fdde3ae0a8c53e5e82ed7035d1eed
93cf874f87a601584c07ba5e4b673e401e9e7c90
refs/heads/master
2022-12-16T14:25:34.373534
2020-09-22T14:42:58
2020-09-22T14:42:58
289,808,115
1
0
null
null
null
null
UTF-8
Python
false
false
1,973
py
import os # import numpy as np # from audio import wav2mfcc_v2, load_wav wavs_dir = 'wavs' ppgs_dir = 'alignments' zhaoxt_train = 'train.txt' zhaoxt_test = 'test.txt' meta_list_fromWavs = [] meta_list_fromPPGs = [] meta_list_fromZhaoxt = [] meta_list = [] meta_path = 'meta.txt' def main(): # ...
[ "hujk17@mails.tsinghua.edu.cn" ]
hujk17@mails.tsinghua.edu.cn
ec472ac3246fec9dfbc5a3f26fd7ea6c268117ea
2aee8ada5a5212de8708dee7fe685d745872addc
/test_project/test_app/tests.py
49b2b00ec4825e129b2bad7adfa0ee7092c7d001
[ "BSD-3-Clause" ]
permissive
chrischambers/django-audited-models
ec9b715b1cbdec9db76717eeb0a4076405ba2ce9
481523e014036be8ed1c3210b06f6dc3b4e0c858
refs/heads/master
2021-01-23T14:05:02.165571
2012-05-09T11:36:06
2012-05-09T11:36:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,594
py
from datetime import date from django.test import TestCase from nose.tools import * from django.contrib.auth.models import User from test_app.models import TestDefaultAuditedModel, TestCustomRelatedName from threaded_multihost.threadlocals import get_current_user, set_current_user class DefaultAutditedModelTests(Tes...
[ "magma.chambers@gmail.com" ]
magma.chambers@gmail.com
c885cec2649947128049fd1f7ac70e2aa9de1124
258f4e0357ab5ce98272ce7c9c63a7812b783afa
/notes-catalog/api/utils.py
3db412a3c970a3a6895dcc506c3778524a67cae8
[]
no_license
apanariello4/lab-sac
fb741a63b9528083404cf71753d42a65e7e8c6fb
734544ffb9e671ebc0141e14be2268f632f5b58c
refs/heads/master
2022-12-20T06:41:14.919932
2020-10-17T13:33:20
2020-10-17T13:33:20
244,681,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
class Notes(object): def __init__(self): pass def get_note_by_id(self, owner_id, note_id, db): try: owner_ref = db.collection(u'owners').document(owner_id) note_ref = owner_ref.collection(u'notes').document(note_id) note = note_ref.get().to_dict().get('note')...
[ "killetore@gmail.com" ]
killetore@gmail.com
c03f53db650c68d623e1743dedfe7d8f5d004a94
a202ad5ef0fd96487d544a860c863c825954e9f8
/conf/Effnet_Adam_512.py
427de1cddc0462c1d5670bdfb100b96da0ce2685
[]
no_license
aakash-saboo/kaggle_rsna_19
d86195a84b08af4cce06110ef82de8ad7fa0fb59
c81c5d3a612207567d5b291ce86ad108c185c5aa
refs/heads/master
2021-10-07T17:16:02.597109
2021-10-04T14:44:09
2021-10-04T14:44:09
222,275,048
0
0
null
null
null
null
UTF-8
Python
false
false
2,792
py
workdir = './model/oct_resnet101' seed = 20 apex = True n_fold = 5 epoch = 12 # resume_from = './model/oct_resnet101/fold0_ep7.pt' resume_from = None batch_size = 28 num_workers =4 imgsize = (512, 512) #(height, width) loss = dict( name='BCEWithLogitsLoss', params=dict(), ) optim = dict( name='Adam', ...
[ "aakashsaboo2@gmail.com" ]
aakashsaboo2@gmail.com
c4fe4853bddb6eebac1cbb2a01d92829ed3e2e45
0b920b9ff703ccb988d91cb2221233f4ad02ce30
/chapel/prayers/tests/test_view_success.py
570ba6a6b9039429cdd321aba80dce8db894cc8c
[]
no_license
unisagrado/virtual_chapel
539a27da8adb3cc856e31d78f392e14f8c8a4cf1
700b2f65649e0368471b28574973ac74d5b60f18
refs/heads/master
2023-02-06T10:48:32.097842
2020-12-04T12:10:56
2020-12-04T12:10:56
308,651,028
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
from django.test import TestCase from django.shortcuts import resolve_url as r class PrayerSuccessGet(TestCase): def setUp(self): self.resp = self.client.get(r('prayers:success')) def test_get(self): self.assertEqual(200, self.resp.status_code) def test_template(self): self.asser...
[ "virb30@gmail.com" ]
virb30@gmail.com
25103e52b26fe0ced7a652490d6fdbd9bd4f524e
82dae0c6d535a48bcddcfae27d48238e9c7021d6
/tests/test_accountsettings.py
e5104c144e678969f13873b027ddadc847e5f89c
[]
no_license
eventure-interactive/eventure_django
130a369ecfdf79a46c0fc99aeda345d28fe60893
0d5912eb2800eeb095df9aec19045e3916ba0d13
refs/heads/master
2023-06-08T19:33:10.185289
2016-03-31T18:07:37
2016-03-31T18:07:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,574
py
from pprint import pformat from django.core.urlresolvers import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIRequestFactory, APIClient, APITestCase from core.models import Account, AccountSettings, AccountStatus, EventPrivacy class AccountSettingsModel...
[ "patrick.lewis@eventure.com" ]
patrick.lewis@eventure.com
a4c59543e02e12f49dee77f257032c2830b52aa0
4a3fefc163ec80de58b1843f86e7fd301c6a0700
/profiles_api/views.py
97dc9e997df91a4e27410be27501d7084158af2a
[ "MIT" ]
permissive
nawaz-t/profiles-rest-api
6115feefcb5d32e79ee545742d7f7f1431614425
67398ef50a98b7188119ffa50e2f24a99c671cc6
refs/heads/master
2022-05-16T07:36:05.538536
2020-03-25T15:43:25
2020-03-25T15:43:25
249,365,074
0
0
MIT
2022-04-22T23:08:12
2020-03-23T07:39:39
Python
UTF-8
Python
false
false
3,051
py
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from rest_framework import viewsets from profiles_api import serializers class HelloAPIView(APIView): """Test API View""" serializer_class=serializers.HelloSerializer def get(self, r...
[ "nawaz.toufeeque321@gmail.com" ]
nawaz.toufeeque321@gmail.com
d2856e764575cdb8308c02b69d2303ddf1692b83
c6d852e5842cf6f74123445d20ff03876377ae26
/lemon/python22/lemon_14_190918_ๆต‹่ฏ•ๆก†ๆžถ_unittest/test_็ปƒไน ็›ธๅ‡02.py
447882bd4b22fb5aed635fbc7eb95a77abf6e076
[]
no_license
songyongzhuang/PythonCode_office
0b3d35ca5d58bc305ae90fea8b1e8c7214619979
cfadd3132c2c7c518c784589e0dab6510a662a6c
refs/heads/master
2023-02-13T14:06:10.610935
2021-01-14T09:11:32
2021-01-14T09:11:32
327,183,429
0
0
null
null
null
null
UTF-8
Python
false
false
1,436
py
# --*-- coding : utf-8 --*-- # Project : python22 # Current file : test_็ปƒไน ็›ธๅ‡02.py # Author : Administrator # Create time : 2019-09-19 10:22 # IDE : PyCharm # TODO ๆˆ้•ฟๅพˆ่‹ฆ, ่ฟ›ๆญฅๅพˆ็”œ, ๅŠ ๆฒน๏ผ import unittest def minus(a, b): # add ๅŠ ่ตทๆฅ """ ็›ธๅ‡ """'' return a - b x = 3 y = 5 expected = -2 class Test...
[ "songyongzhuang9@163.com" ]
songyongzhuang9@163.com
7513d02b9cd8d88736fc954a4e3e47772a53f50b
756f9b38889035f5e8c2d96c6898263e427237c6
/rename_inventory/rename_inventory.py
0983691591fc0875a8620853105b141151683c78
[]
no_license
fantas1st0/network_scripts
335e189351f13009f1ddaeb80b4017eedb6c6fa0
9270754f0bd04c1c6d081e7d7f22357102062595
refs/heads/main
2023-02-21T14:58:43.620562
2021-01-22T12:49:43
2021-01-22T12:49:43
329,067,767
1
0
null
null
null
null
UTF-8
Python
false
false
773
py
import os from pprint import pprint import re def rename_dir(directory): os.chdir("./" + directory) arr = os.listdir() ip_dev = {} for device in arr: if "___" in device: k = device.split("___")[0] v = device.split("___")[1] ip_dev[k] = v os.rename(device, v) for device in ip_dev.values(): os.chdir...
[ "mp5master@gmail.com" ]
mp5master@gmail.com
4cb569f1636bfc4eae939e6f9a0744d37db16326
20899d453bc61c169153338ac9d22d324df089c1
/abc/abc162/B.py
9eb9826bfab9e83ccd7c92096c9c66a9611d1f39
[]
no_license
mui-nyan/AtCoder
b2d926b113963915426af679bf9b28430569707c
a702280f11a5b0b1b29dd099dbfc7b1c31fb89fd
refs/heads/master
2022-07-04T16:32:41.164564
2022-06-19T07:24:11
2022-06-19T07:24:11
182,425,947
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
import math from functools import reduce from collections import deque import sys sys.setrecursionlimit(10**7) # ใ‚นใƒšใƒผใ‚นๅŒบๅˆ‡ใ‚Šใฎๅ…ฅๅŠ›ใ‚’่ชญใฟ่พผใ‚“ใงๆ•ฐๅ€คใƒชใ‚นใƒˆใซใ—ใฆ่ฟ”ใ—ใพใ™ใ€‚ def get_nums_l(): return [ int(s) for s in input().split(" ")] # ๆ”น่กŒๅŒบๅˆ‡ใ‚Šใฎๅ…ฅๅŠ›ใ‚’n่กŒ่ชญใฟ่พผใ‚“ใงๆ•ฐๅ€คใƒชใ‚นใƒˆใซใ—ใฆ่ฟ”ใ—ใพใ™ใ€‚ def get_nums_n(n): return [ int(input()) for _ in range(n)] # ๆ”น่กŒใพใŸใฏใ‚นใƒšใƒผใ‚น...
[ "hngrmi@gmail.com" ]
hngrmi@gmail.com
4ce1c8ce1eb5a7d9d1ab89effe73b1635dc0f452
a2066f7e4ac0ac95761f12bb697e506c2444e52d
/linked_list/leetcode234.py
c81579c8d1eeca1488cc135a3a75f513a8acaddd
[]
no_license
zhengjiawen/leetcode_python
ec53f09515510c4da327a9d2c7ccc85d5fd59d26
f24d29a1717a58fffc68dfab3806f71f2a8b388c
refs/heads/master
2021-06-20T11:32:21.431726
2021-04-09T03:14:32
2021-04-09T03:14:32
202,135,141
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
''' ่ฏทๅˆคๆ–ญไธ€ไธช้“พ่กจๆ˜ฏๅฆไธบๅ›žๆ–‡้“พ่กจใ€‚ ''' class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def isPalindrome(self, head: ListNode) -> bool: if not head or not head.next: return True res = list() while head: res.a...
[ "zhengjiawen77@gmail.com" ]
zhengjiawen77@gmail.com
5e5357fef252f520de3542b9abd782bda72e28fb
2c114ffbbc20163a2d1bd0b0ddf3490a7a640d24
/venv/Scripts/easy_install-3.7-script.py
f43a8ed6789f6a81bb2d73d27d7d6e98356b638f
[ "MIT" ]
permissive
dadances/Baidu_api_OCR
f5ec856db0703fc0a3545076eb1dcbdaf16c7843
df5149284e63522478f71247e74a2418100bdff7
refs/heads/master
2021-03-22T17:36:57.143987
2020-03-15T12:09:32
2020-03-15T12:09:32
247,387,914
5
0
null
null
null
null
UTF-8
Python
false
false
452
py
#!C:\Users\Liang\Desktop\Baidu_OCR\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.ex...
[ "1281656424@qq.com" ]
1281656424@qq.com
0d8a1a782977b0022bfff3a86ef92db06ee046fe
aec98d8112c24b54f8d7758580414fcc70746662
/src/ros_adc.py
5162bec61d06097218b64a8a90a5e6dfcce64fe8
[]
no_license
kpykc/robovero_ros
f0131f4f5c98659cdaf8e69e4f04aee1d6fce877
81fd7bf9385ccbebdf6b700b3e596feeb4b1c13f
refs/heads/master
2021-01-13T02:14:31.074722
2013-12-01T02:44:07
2013-12-01T02:44:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,240
py
#!/usr/bin/env python """Acquire and display ADC readings using the Arduino API. """ import roslib roslib.load_manifest('robovero_ros') import rospy import sys,struct,time,os sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '../lib/robovero')) #sys.path.append('/home/kp/rosws/catkin/src/r...
[ "kpykcb@gmail.com" ]
kpykcb@gmail.com
9197c523ea42693d744f433b5eff9c963bb6e0f8
69af51175c05350d4f8e1d3986c267232817efe2
/scripts/figure_4.py
c119bc0d99cbcedbebaaa0314f62c754faf56abb
[]
no_license
cudbg/rain-scripts
8d0c50f03f7968d6ae4688c7d9821a0e3ac648cc
e2ac306031c7453fac6afa6d79a4455f11308afd
refs/heads/master
2020-08-22T21:43:00.150611
2019-10-23T18:48:13
2019-10-23T18:48:13
216,482,381
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
from util import * def f(_, items): d = dict(items[0]) f1s = list(map(float, pluckone(items, "F1"))) d['y'] = np.mean(f1s) d['ymax'] = d['y'] + np.std(f1s) d['ymin'] = d['y'] - np.std(f1s) return d data = load_csv("../data/figure_4.csv") data = split_and_run(data, ["proc", "Corruption"], f) p = ggplot(da...
[ "ewu@cs.columbia.edu" ]
ewu@cs.columbia.edu
290d45e64c050e5ee0c6d5b685bc0da322de1ca5
be33f0d7a59527322d554baf2b2d4886fd07062c
/ipython/ipython_kernel_config.py
9359c12d0a98f51e11555d19ee677cc8d0998cdc
[]
no_license
eddienko/jimaxt
9aeab9064c6ecd157aa0172d1bde055a73f36069
01d780ad350711cd1916099f1625e6931971d125
refs/heads/master
2020-04-04T12:05:24.871848
2019-01-15T07:52:32
2019-01-15T07:52:32
155,913,813
0
0
null
2018-12-13T17:06:49
2018-11-02T19:42:10
Python
UTF-8
Python
false
false
133
py
c.InteractiveShellApp.exec_files = ['/etc/ipython/startup.py', '/etc/ipython/custom.py'] c.InteractiveShellApp.matplotlib = "inline"
[ "eglez@ast.cam.ac.uk" ]
eglez@ast.cam.ac.uk
85e88feb381eeaebe8cd19e82b3cf2a9e88051bc
c8d7f2da5ff9e13a5bb6f92b9387a336e7059644
/dolo/numeric/matrix_equations.py
0d3eb87483d5360957fdf884ec03b391a427d468
[ "BSD-2-Clause" ]
permissive
TomAugspurger/dolo
675e5c051e7fdcc8d0af441335d526408128b71f
5d9f0f772860eadf3b9df79e47d158155835bd6b
refs/heads/master
2020-12-25T12:47:30.156775
2013-02-11T20:13:56
2013-02-11T20:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,339
py
from dolo.numeric.tensor import sdot,mdot import numpy as np TOL = 1e-10 # credits : second_order_solver is adapted from Sven Schreiber's port of Uhlig's Toolkit. def second_order_solver(FF,GG,HH): from scipy.linalg import qz from dolo.numeric.extern.qz import qzdiv from numpy import array,mat,c_,...
[ "pablo.winant@gmail.com" ]
pablo.winant@gmail.com
af8a3b38fbead6a7a3ba30581b9640acb8c35af4
a2f23955ccdb9cad17db9f5928832d4e7d17b69d
/run/webpy/test/application.py
95be395c07d881ac053a00d12fe1fcc9d65b76f8
[]
no_license
wellcomez/crash
03ae8d66e21145a478aa62961f442c6f7823b96c
a0e39dfa34bb26934ae2497777c242b959c02f76
refs/heads/master
2020-06-01T18:33:25.321334
2014-08-08T09:27:16
2014-08-08T09:27:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,670
py
U2FsdGVkX194ECcAAAAAAATGQIXb2zXj73unbe7350FFFgQW6R4P8H+QKEu3sqOj WfjXJZAGD55cBlTsacM7I+aassp5XxR9yscnxaDhZjrgcJYfe2N20VTPlWTDFSA8 x5UTSu7ESRkbC1TOW5VaKhRga+PrIctYQD+QYqad5fXzK9WgwZlCUXIuSBb8CnWf 3KkP3qR9AgyRdZf96EXmuB36JqNh0H0n0sowrzIUWbF2Ofgr+qQtFhe6Crfa8iQA eAaivYO7sFt1St1qtA6K7gO0+T8I9tu9+sZFYiqLCaxC+4sVNAfGcjj5JVCc...
[ "zhu.jialai@gmail.com" ]
zhu.jialai@gmail.com
51fde9dbea96a836afe90553f903269ec803cf6e
634635afd0e9e0b5b33d0e2a0ff6c54f1b60805d
/dependecyparser/tokens.py
2427d513893d407d6c72cc0b05ece0ef6b12fc7e
[]
no_license
Pashovich/parser
116e32a69775bcdda8aa91494b6bc9ac36a80e9f
4dbcbf049eb137b473908a6b98248fa4d72168b3
refs/heads/master
2022-11-16T23:00:47.098834
2020-07-08T09:10:03
2020-07-08T09:10:03
278,032,958
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
class TokenSpecialCase: text = '' children = []
[ "p.sidorov@dev.userstory.ru" ]
p.sidorov@dev.userstory.ru
e35cce8f90ca96866959109432451fecbde33194
e7515012ccb999a499947bea3ef01e82b9a2b15f
/plaso/parsers/winjob.py
f971a8822e0f8e1fe7a3a3157e3264dd4c4eaa56
[ "Apache-2.0" ]
permissive
vonnopsled/plaso
ebfe5af84b955b9e40610bd76598671256ddea4f
c14e3a0c1db0b05280ff58219d33f487c0a40a6f
refs/heads/master
2020-12-31T04:07:25.047511
2016-01-04T07:07:01
2016-01-04T07:07:01
46,817,224
0
0
null
2015-11-24T20:38:20
2015-11-24T20:38:20
null
UTF-8
Python
false
false
10,311
py
# -*- coding: utf-8 -*- """Parser for Windows Scheduled Task job files.""" import construct from plaso.events import time_events from plaso.lib import binary from plaso.lib import errors from plaso.lib import eventdata from plaso.lib import timelib from plaso.parsers import interface from plaso.parsers import manager...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
f7f9744bf1fc6dcfe13ecd4704d0c9abeda68979
4257cb2b8bdd008ed7ce42001d92e496b5e84194
/PerformanceComparison/Regression/Models/RegressionThreeLayers/regression_three_layers_test.py
3279d696c36c6c5bd4fcde3d6456bd4ec80f2cf3
[]
no_license
atkinssamuel/cryptonet-research
d91b4633c7307c42585065110dfb4533599db80f
69d59b4528ed92c918b5d75327f60b57be07309d
refs/heads/master
2022-04-26T06:21:14.132695
2020-04-27T22:54:40
2020-04-27T22:54:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,891
py
import numpy as np import tensorflow as tf from Project.consts import * def regression_three_layers_test(x_test, y_test): print("regression_three_layers_test") # Parameters: input_dimension = x_test.shape[1] output_dimension = y_test.shape[1] l1_scaling, l2_scaling, l3_scaling = 0.00000001, 0.000...
[ "s.m.atkins73@gmail.com" ]
s.m.atkins73@gmail.com
a61bcf5f3d6879f58d5f4e1c60775ac205314da1
ab835c5d8127892dab0effa55773fe727de1f931
/local_group_to_global.py
24cbbf4bd0492ce6c3480d3594ca5a1bf4a1e713
[ "Apache-2.0" ]
permissive
CheckPointSW/LocalToGlobal
5524d0aee43524b376f13a9d2f408b501e099db3
ed112d85ffb476d89c1fac5608c65ac6900e7996
refs/heads/master
2022-05-21T10:24:18.432127
2022-03-15T12:39:10
2022-03-15T12:39:10
101,554,125
2
0
null
null
null
null
UTF-8
Python
false
false
5,385
py
""" This class moves group object from local domain to global domain, by creating on the global domain new object which is similar to the object in the local domain """ import sys import local_object_to_global from args_container import ArgsContainer from login_manager import * from util_functions...
[ "ubialik@checkpoint.com" ]
ubialik@checkpoint.com