blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
e3688f37181081a87ea6b287d0b2aa3a016ab020
378393b9afbc81f2844268f00c63add0abc45467
/OpenNE/L3Hope.py
0a5a7d622eec716c84c9f565b764c7ca06fceeb8
[]
no_license
mayunlong89/SiGraC
90a517fea9a451c304107581ae2f1e40bf9e7d35
0f7bb5283d14c328af86d2b51446b6b8f02d20af
refs/heads/main
2023-04-28T02:06:06.766543
2021-05-20T17:43:34
2021-05-20T17:43:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,523
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 9 20:26:32 2020 @author: Secil """ # -*- coding: utf-8 -*- import networkx as nx import numpy as np import scipy.sparse.linalg as lg __author__ = "Alan WANG" __email__ = "alan1995wang@outlook.com" import scipy.sparse as sp class HOPE(object): de...
[ "noreply@github.com" ]
noreply@github.com
7d18c8912f2bc161a91f7ac5b3d9b07057aa99c7
62e6a618dad3a6750cbd53dad185b799a6727a43
/max_subarrays.py
f69a3d315913fce505c8ddd78050fc37ef0019a0
[]
no_license
petr-tik/misc
2319dbec8dc961056411319688fcaa38ae4cc419
e32dce8a30f1a1f456a9e8086dc5470d95f4745e
refs/heads/master
2020-04-12T09:37:36.163879
2017-03-10T14:12:26
2017-03-11T00:22:14
49,777,002
5
1
null
null
null
null
UTF-8
Python
false
false
2,445
py
#! /usr/bin/env python # https://www.hackerrank.com/challenges/maxsubarray import unittest MAX_INT_VALUE = 1000 """ Given an array of ints between -MAX_VALUE < int < MAX_VALUE return the sum of maximum contiguous and non-contiguous subarrays """ def max_cont(arr, res): """ Given an array and a starting v...
[ "petr-tik@users.noreply.github.com" ]
petr-tik@users.noreply.github.com
2d89cfafb7a661d6b1f99a976e6ca4e33e734ba8
5446820fb20aaf93c440bdf63b97348ea110a583
/src/samples/glut/hello_glut.py
234cc5da1ef114af9e5397390d85dec3b4c9cb18
[ "BSD-3-Clause" ]
permissive
duchowski/pyopenvr
e529ebe9b1d048e359f579dd9d39ed39a581baa7
179c61cdedd5e60661927c08a46b8a904c5c5cae
refs/heads/master
2022-12-19T18:01:59.229103
2020-09-24T19:19:38
2020-09-24T19:19:38
298,374,471
0
0
BSD-3-Clause
2020-09-24T19:20:08
2020-09-24T19:20:07
null
UTF-8
Python
false
false
491
py
#!/bin/env python # file hello_glfw.py from openvr.glframework.glut_app import GlutApp from openvr.gl_renderer import OpenVrGlRenderer from openvr.color_cube_actor import ColorCubeActor """ Minimal glfw programming example which colored OpenGL cube scene that can be closed by pressing ESCAPE. """ if __name__ == "_...
[ "cmbruns@rotatingpenguin.com" ]
cmbruns@rotatingpenguin.com
a417056bb5f191941267d717c2371b027a5dbed7
4824918f12954e76642054a4abffd2af25a5fab4
/day02/kill.py
40190465744162cb1048ff3adf3bb1fdbbd8471a
[]
no_license
karta059488/project01
987fcdb68e13454120083327233404fd7cb69b6a
d7a5e08c00ab186117c761e2f26a9d8fcd4b2c72
refs/heads/master
2020-07-09T08:24:51.041464
2019-08-23T05:10:19
2019-08-23T05:10:19
203,926,135
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
import os import signal # 向4935方送信號 os.kill(4935, signal.SIGKILL)
[ "karta@gmail.com" ]
karta@gmail.com
580af19f0e613446007763b6a1d2e69f914ef882
ec7f558786ef15bf6793553ed4fa90b225f7ecd4
/thesis-work/Userdriven_composition/serializers.py
ec165973f24ba60cd98250d02304856d9b05dec3
[]
no_license
AmbientIntelligenceLab/User-driven-composition-of-collaborative-services-middleware
08999e525ddacfde265bc5b06be6980dafc28ebd
cbe2d070d5b2bf52412f9d890dafec0b3ee47d13
refs/heads/master
2020-04-17T01:18:47.476912
2019-01-24T14:22:45
2019-01-24T14:22:45
166,086,836
3
5
null
2019-03-31T17:28:50
2019-01-16T18:04:58
Python
UTF-8
Python
false
false
330
py
from rest_framework import serializers from .models import * class ActuatorSerializer(serializers.ModelSerializer): class Meta: model = Actuator fields = ('topic','value', 'time', 'name') class LowerSensorSerializer(serializers.ModelSerializer): class Meta: model = Actuator fields = ('topic','value', 'time'...
[ "aveechakra@gmail.com" ]
aveechakra@gmail.com
8d01a6b1d7a2563ad35c253619a115d22ec24cef
e45ee37561d6676689d3a98cf01f0169fd61d64e
/function_arguments.py
80d7397b96e273073c0f52c7455900541ec34f3f
[]
no_license
vara0257/python-practise
3708b2556b099a173945c64ba244e9dfc46ad200
e234f3b09ada9d84732b79ac70b458966f4b9d43
refs/heads/main
2023-06-04T11:42:09.740608
2021-06-21T02:29:12
2021-06-21T02:29:12
378,663,660
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
def my_function(value): print(value) my_function(input("Enter a value:")) ========================================== def my_function(fname, lname): print ("Full name is", fname, lname) a, b = input("Enter firstname and lastname:").split() my_function(a,b) ========================================== def my_...
[ "noreply@github.com" ]
noreply@github.com
942765fc04bee69382b6e468382c5c2aba6690e0
aa9bf50d047205ce15c198272bed05ed17108d55
/test/clear.py
816a600e68d66042aaffccf4ff5f2cf10fae270c
[]
no_license
sgpthomas/py-moodlight
d03bf3d0f5158770424ba5b541b480ab4ddaa662
de7798e8c5234eb444484c4333f4ba6fbb9b75bd
refs/heads/master
2020-04-04T19:54:53.596598
2018-11-05T13:57:40
2018-11-05T13:57:40
156,225,795
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
#!/usr/bin/env python3 import rpi_ws281x as ws if __name__ == "__main__": lights = ws.PixelStrip(450, 18, brightness=100) lights.begin() for i in range(450): lights.setPixelColorRGB(i, 0, 0, 0) lights.show()
[ "sgpthomas@gmail.com" ]
sgpthomas@gmail.com
06df909280fc43d59b472c7be2fb0157f2ebb761
9f45b1ee33d27e97307b4c72e1514b6fb0cbeae6
/final_project/wizard/orders.py
a1dd4187bc70fd6bfc535dd376f01dcf31e75250
[]
no_license
DSrijon01/FinalProjecct_Bjit01
1f54b47eff36c1dcb3e7ff7cc52ae97f6a7f3815
a8d7fd1c25c58b1f95e65b6853c6c37950c64177
refs/heads/main
2023-08-26T21:08:47.041226
2021-10-28T06:10:02
2021-10-28T06:10:02
420,889,503
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
from datetime import timedelta from odoo import models, fields, api class orderList(models.TransientModel): _name = 'order.list.wizard' _description = 'Order Details' oname = fields.Char(string='Order Details',required=True) # ordered_product = fields.Many2many('product.list', string='Availa...
[ "srijonbiswas17@gmail.com" ]
srijonbiswas17@gmail.com
7f4166cc6e3bfcd55f7567fb8041ca3a0408af41
717f82034cb6134ca7dba02bc18c2d0c6cc71295
/apply.py
9d7a33b41b7fd127bba6351c8798ed002dc80130
[]
no_license
amseram/GQMS
803db168b118b5233465d2897ab67c75606663c2
5a82b1b5f6b04aa4ca64a44fb11cb91ce5cfa89b
refs/heads/master
2021-09-15T09:37:02.533788
2018-05-30T02:29:52
2018-05-30T02:29:52
125,800,580
0
0
null
null
null
null
UTF-8
Python
false
false
3,015
py
#!/usr/bin/env python2 #coding=utf8 """ # Author: amsera # Created Time : 2018-05-29 14:03:14 # File Name: apply.py # Description: # Apply an account on GQMS (console version) """ import sys,socket class create_connect: def __init__(self): self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
[ "noreply@github.com" ]
noreply@github.com
e026f543ddc3da673b0f4a95a1b989ab0692e6d9
36739fb573c1a99d9301f2140680d0d7cc4a3833
/assignment3/q2_rnn.py
a6838f45f13bffd4c72b7c5ae53eca7f70d172af
[]
no_license
jingshuangliu22/cs224n
21db34c91846ea0dea095e2032b2016cc11a7f84
1951a4b7a25c142c860d456f3f7a3afa32171a51
refs/heads/master
2020-12-30T11:28:20.855167
2017-05-17T12:25:02
2017-05-17T12:25:02
91,565,500
1
0
null
null
null
null
UTF-8
Python
false
false
26,674
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Q2: Recurrent neural nets for NER """ from __future__ import absolute_import from __future__ import division import argparse import logging import sys import time from datetime import datetime import tensorflow as tf import numpy as np from util import print_senten...
[ "6044475200@qq.com" ]
6044475200@qq.com
d5d59aeea65b312759873f6b56b88848914a251a
59ad573ea792adc4ec2e99eb1b695aabb340b43a
/7.reverse-integer.python3.py
378643549bff976542f738ebe26672a6076d4246
[]
no_license
ClarkChen26/leetcode-solution
cf1e3548ae998462c42094fe87dce0a9aa1ed8c2
8df918851eb5dcbc2cd8d1053fcc5da81849baa9
refs/heads/master
2020-03-07T03:19:58.640619
2018-03-29T03:45:24
2018-03-29T03:45:24
127,232,765
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
# # [7] Reverse Integer # # https://leetcode.com/problems/reverse-integer/description/ # # algorithms # Easy (24.36%) # Total Accepted: 386.3K # Total Submissions: 1.6M # Testcase Example: '123' # # Given a 32-bit signed integer, reverse digits of an integer. # # Example 1: # # Input: 123 # Output: 321 # Example...
[ "clarkczj@hotmail.com" ]
clarkczj@hotmail.com
a5543229643b05381eaae5f8d31659482f0fd807
2562d3a102af3a7e590b28b0d388aaf980edcd97
/HackerRank/graph_bfs.py
90dc9d09c49bff9abfad7566fa4534c2c4535c70
[]
no_license
svidyart/PracticeCode
16bc3565d4b0cfc383aad144b6fe70310b55840d
8b03977d606fa4c82039003a3e3e1affd83fb75e
refs/heads/master
2021-01-19T06:46:45.673755
2016-08-09T17:46:48
2016-08-09T17:46:48
65,315,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
# Enter your code here. Read input from STDIN. Print output to STDOUT def update(lvl, edges, node): lvl += 1 ls = edges[node] lst_ret = [(lvl,i) for i in ls] return lst_ret def main(): edges = [] e = [] visited = {} level = 0 T = int(raw_input()) print T for num in ...
[ "shreyasvidyarthi@gmail.com" ]
shreyasvidyarthi@gmail.com
66ed8285b75dc0ca0f1a5a553377198a23782b48
26df2d494d2626a9b0ed5d91127308b865529d76
/timebudget/__init__.py
542aeaaf417fe755b68a1fae7dd121eb966843c9
[ "Apache-2.0" ]
permissive
leopd/timebudget
e34fee7e4314066577b5654e67ca209d8c243302
e58b7121aa5846db784fb80ab6b8dfffdcc8fae5
refs/heads/master
2022-06-11T05:13:45.263419
2020-05-29T20:17:32
2020-05-29T20:17:32
216,866,218
156
14
Apache-2.0
2022-05-21T03:11:37
2019-10-22T17:01:42
Python
UTF-8
Python
false
false
26
py
from .timebudget import *
[ "deepembedding@gmail.com" ]
deepembedding@gmail.com
7533ca90907b697d0dc23a74d914beb543005ff5
03f6ad21c4332b9b26dfb11ed04e63bdb9236b3c
/codegen/funcs2_testgen.py
edada136932bf16c484a72dc13c4369ce9f380ad
[ "Apache-2.0" ]
permissive
m1griffin/arrayfunc
ddf9ea9c8fa363f79babd788c8d0428ede8dfc60
c04561c5d565ae8d3ee776783bfb34b242deca93
refs/heads/master
2023-08-05T00:09:27.530893
2023-07-19T12:46:37
2023-07-19T12:46:37
40,577,669
3
0
null
null
null
null
UTF-8
Python
false
false
103,190
py
#!/usr/bin/env python3 ############################################################################## # Project: arrayfunc # Purpose: Generate the unit tests for math functions which use two # input parameters. # Language: Python 3.5 # Date: 08-Dec-2017 # ###############################################...
[ "m12.griffin@gmail.com" ]
m12.griffin@gmail.com
4e3f97da1c3c17d1e97d0f810018ec929253705d
d42ad62322d6bb655ec54f184b6023d5dc9a5ff5
/examples/SOAPHelloApplication.py
38b0a78200121a8d9d2c570c1bf9d8c7ddf30633
[]
no_license
jmkogut/framework
76efc3ead9353f8b9f5e4ab14e682a1ed8390e35
5e891767830c1b2bd440fede4c74fc87c8ccc1ed
refs/heads/master
2021-01-16T18:39:38.464522
2010-03-03T16:20:03
2010-03-03T16:20:03
26,396
2
0
null
null
null
null
UTF-8
Python
false
false
983
py
from framework.Applications import SOAPApplication, SOAPMethod class HelloSOAP(SOAPApplication): @SOAPMethod def HelloTest(self): ''' No SOAP docstring here, will default ReturnType to string and not allow any arguments. (This is desired behaviour). ''' return "Hello, World!" @SOAPMethod def AddArgume...
[ "joshua.kogut@gmail.com" ]
joshua.kogut@gmail.com
9407a3410c3adf54c911ab96278515594e083f7c
8cd15fba24b6dfa431f3764932101969f5fb524f
/JAMediaVideo/gtk2/Globales.py
814c31044263af9b38ece76b1e5a3998450b5472
[]
no_license
srevinsaju/JAMediaSuite
c872b4781657bf1bcf63908f71abeca799b8c666
1813d1205cf31f89be3c4512eb495baed427494f
refs/heads/master
2020-12-04T12:14:53.794749
2019-01-05T12:52:13
2019-01-05T12:52:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,966
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Globals.py por: # Flavio Danesse <fdanesse@gmail.com> # Uruguay # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the Li...
[ "fdanesse@gmail.com" ]
fdanesse@gmail.com
c7a9a6e5b9e1cf1f3e8dcf31b1f6ee0aaf7480ce
0b95518353f172a0d3f53c3afb0608ab975974d2
/fishc/sms/sms.py
c2294aad0d7fe5037d3968c200d0118203763f70
[]
no_license
uba888/uba_python
54b19e6483f5daacec6d2e0e5a4d9cf02ca2d7b5
1b63378ab86cda8221c6f7f9bad68c364874ccb6
refs/heads/master
2020-01-23T22:00:05.122331
2016-12-30T10:31:15
2016-12-30T10:31:15
74,717,680
0
1
null
null
null
null
UTF-8
Python
false
false
1,892
py
#!/usr/bin/env python #encoding=utf-8 import time import base64 import hashlib import httplib import uuid import hmac class SMSClient: def __init__(self, app_key, app_secret): self.__app_key, self.__app_secret = app_key, app_secret def send(self, receiver, sign, template_code, parameters=''): ...
[ "lsqtyihui@163.com" ]
lsqtyihui@163.com
4ec65bf797fd519390932f21927af6966f94336b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/168/usersdata/276/70781/submittedfiles/exercicio24.py
65d4c1fabd7be393ddb9b1c8b13fb77cc8cf2feb
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
# -*- coding: utf-8 -*- import math x = int (input('Digite o valor de x: ')) y = int (input('Digite o valor de y: ')) i = 1 mdc = 0 while (i<=y): if (x%i==0) and (y%i==0): mdc = i print (i) i = i + 1
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
47aea685f056902f32f25bcb32efe16019a031da
c74c932136a80207e34d56d8775cabc2509eb571
/pyjld.system/trunk/make.py
44f7fe909069cad5fb85d39b3c3dab2ecf84deeb
[]
no_license
jldupont/pyjld
1d73824ce9e11b80a34c5a3baeda81cfecdc771e
1308b7e0ad3a3dbaa3e05faf4485ebeefc5ae2ba
refs/heads/master
2020-12-24T13:36:22.392002
2011-11-17T19:35:29
2011-11-17T19:35:29
2,742,884
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
#!/usr/bin/env python """ @author: Jean-Lou Dupont """ __author__ = "Jean-Lou Dupont" __email = "python (at) jldupont.com" import os import sys cdir=os.getcwd() while True: print cdir if cdir.endswith("/pyjld"): break cdir=os.path.dirname(cdir) sys.path.insert(0, os.path.join(cdir, "pyjl...
[ "jl@jldupont.com" ]
jl@jldupont.com
39defe150001c2805ae5c7822c51642555a4b3dc
2bd8fbe6e2ee2511d00479440aa589249234c2d8
/01-Supervised/11-16/day17/day17-01-integrate-2-RandomForest-2-parallelized.py
0698a4110a7311f17677f8802c4b7f25c36c8f54
[]
no_license
LeenonGo/sklearn-learn
71d21f9b26cfb5cc6d65a22883127db873a31091
460d6e75e82943c802f7c025a03c821d02b5d232
refs/heads/master
2023-07-13T18:42:17.510938
2021-08-18T11:34:06
2021-08-18T11:34:06
371,628,997
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
# -*- coding: utf-8 -*- # @Author : Lee # @Time : 2021/7/20 15:09 # @Function: 并行化: https://www.scikitlearn.com.cn/0.21.3/12/#11124 # n_jobs = k ,则计算被划分为 k 个作业,并运行在机器的 k 个核上 # 如果设置 n_jobs = -1 ,则使用机器的所有核。 # from time import time import matplotlib.pyplot as plt from sklearn.datasets import fetch_olivetti_faces fr...
[ "yaa.lee@hotmail.com" ]
yaa.lee@hotmail.com
aab4df250c592385d82820219aa267e2404e3028
ff47883b2dbf55022dd01bc4b22a79cb6323fe61
/mysite/bookmark/views.py
a88c59504a4459d152d124594af4b831c9f0f9af
[]
no_license
miloking7/git_portfolio_DjangoBlog
3af0deaebdbddace84fec3d459c0b68722e97416
8aa5e7b0525f546aa8ca063b5147904761853662
refs/heads/master
2023-04-04T01:53:54.152792
2021-04-07T03:21:10
2021-04-07T03:21:10
355,391,074
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
from django.views.generic import ListView, DetailView from bookmark.models import Bookmark from django.views.generic import CreateView, UpdateView, DeleteView from django.contrib.auth.mixins import LoginRequiredMixin from django.urls import reverse_lazy from mysite.views import OwnerOnlyMixin class BookmarkLV(ListVie...
[ "miloking@hanmail.net" ]
miloking@hanmail.net
0d178fa066c1f4c5d384bfd333819d9ac8351337
fd5edffed3c69a4d749880e18189c391a0a92562
/blog/migrations/0002_auto_20181026_1956.py
b69729dbed11c9f0b6dd0221836d82990b3583f9
[]
no_license
bgarcial/hostayni_platform
4e9768bc1a13f006167d16b6d33bce88a029c524
2cf136b24b27db1a907ccc1274d32c1523abe1a2
refs/heads/master
2021-10-14T07:42:30.095351
2018-11-14T16:11:54
2018-11-14T16:11:54
103,794,415
1
0
null
null
null
null
UTF-8
Python
false
false
672
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2018-10-26 19:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.RemoveField( ...
[ "botibagl@gmail.com" ]
botibagl@gmail.com
c19857a7a626e2502e6afa93cf570f5173046049
602c982d619fd49a0105dbe53b1b5fdedc4e708f
/products/urls.py
02f078b4378bb2cce4281ca09d974794e8f2f633
[]
no_license
rafelmm/ecommerce
3e5b2f86e42bc262ed5780e0e8195a434ba39795
2414105ac171bd00e7bf59e52a99051dcc216c8e
refs/heads/master
2023-06-11T09:01:12.274122
2021-07-07T22:14:50
2021-07-07T22:14:50
383,597,464
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.contrib import admin from django.urls import path from .views import product_list urlpatterns = [ path('', product_list, name='product_list'), ]
[ "rafelmm@gmail.com" ]
rafelmm@gmail.com
8e76debaea8ecc60552b1c5384895640a9b54d55
bbc8fbbdd40665af61fedf69962b38c1d5939683
/deploy/pinax.wsgi
702a6744a1f0adf054e2dce91b62c0c1158c1580
[]
no_license
braskin/pd
64b299ad8058e8d3939bc9778fd1576522f786b0
df32f96b432c2f07e1a20bcbd84df3eccad5e29a
refs/heads/master
2021-01-10T22:10:34.318229
2013-01-23T11:50:37
2013-01-23T11:50:37
7,773,119
0
1
null
2020-07-25T19:53:06
2013-01-23T11:09:43
Python
UTF-8
Python
false
false
454
wsgi
# pinax.wsgi is configured to live in projects/playdation/deploy. import os import sys from os.path import abspath, dirname, join from site import addsitedir sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) from django.conf import settings os.environ["DJANGO_SETTINGS_MODULE"] = "playdation.settings" ...
[ "boris.raskin@gmail.com" ]
boris.raskin@gmail.com
ccd07e782ba302eaba43b3b517b58b8b67f736ae
62758b6067133b1a4c75da979197d21a5691c34e
/ichnaea/cache.py
8cc5409f92eecfc5ca30f27177bcc16e2e11344f
[ "Apache-2.0" ]
permissive
mate1983/ichnaea
903450705f9a83fd74aeb16e5b6fd9644de04065
ac3ed0640ee8cc7f142ba21cb6976dbf2bd488cb
refs/heads/master
2020-12-03T10:44:19.124756
2016-03-11T11:17:57
2016-03-11T11:59:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
""" Functionality related to using Redis as a cache and a queue. """ from contextlib import contextmanager import redis from redis.exceptions import RedisError from six.moves.urllib.parse import urlparse def configure_redis(cache_url, _client=None): """ Configure and return a :class:`~ichnaea.cache.RedisCli...
[ "hanno@hannosch.eu" ]
hanno@hannosch.eu
43be27267c5cc3db18a1f19e8b35979f63b27ec0
a310626af804bfe9cda37f664ee3efff4b976f4a
/heartFEM/lcleeHeart/vtk_py/addMappingFromPointsToCells.py
68eea9658c01814637642585cfd25fa852806f79
[ "MIT" ]
permissive
SamanehNia/heartFEM
4ea17940e5cb594ee80048bdef3e99fba5640180
61b0fabb171a857ffb703e96161f7e3e9ac1f0d1
refs/heads/main
2023-07-18T06:34:47.355930
2021-09-03T09:47:11
2021-09-03T09:47:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
######################################################################## import sys import math import numpy import vtk from heartFEM.lcleeHeart.vtk_py.createIntArray import * ######################################################################## def addMappingFromPointsToCells(ugrid_points, ugrid_cells, verbose=...
[ "noreply@github.com" ]
noreply@github.com
46b72eb23e247a42eb015c5232e10f72713cee02
288dddd9be0fa09101d760e0ede4ae7f2097b638
/node_modules/restify/node_modules/dtrace-provider/build/config.gypi
2a6796f82494231438204416813bee011dee3e6f
[ "MIT", "BSD-2-Clause" ]
permissive
gregmercer/express-mongo-rest
2a49973f14ec8aa33389e30a68437eb788b1f7ce
62b02ba4cc689e4559760f3906c4a9832e3e4dca
refs/heads/master
2021-01-21T13:11:40.614408
2013-08-25T15:42:18
2013-08-25T15:42:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "host_arch": "x64", "node_install_npm": "true", "node_install_waf": "true",...
[ "gmercer@stanford.edu" ]
gmercer@stanford.edu
81f7e1a32b448da0c2743974e650e6d2b9659d73
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/v-1.py
3c7d5e588805d8f24918006b23a615c626a88574
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
dc603f741ec7a6cad7e7ee1a466f129c31103982
3f8ba7918eff5e6b9d04621ec59e63d728ea204c
/Jeju_Coding_Base_Code_Festival_Python/Jeju_Coding_Q26.py
4eac082adf768032d204913f71c67a3ef4e44bbb
[]
no_license
Tasty-Programmer/Python_2021_start
d8f5bd51faa021a5fea28e037e24220539242227
2d623576a64a2fe81a979f8e8fb4137b036f49ac
refs/heads/master
2023-08-28T15:06:25.281567
2021-10-09T17:21:05
2021-10-09T17:21:05
379,224,492
1
0
null
null
null
null
UTF-8
Python
false
false
621
py
#문제 26 : 행성 문제2 ''' 우리 태양계를 이루는 행성은 수성, 금성 , 지구, 화성, 목성, 토성, 천왕성 , 해왕성 이 있습니다. 이ㅅ행성들의 영어 이름은 Mecury, Venus, Earth, Mars, Jupiter, Saturn,Uranus,Neptune 입니다. 행성의 한글 이름을 입력하면 영어 이름을 반환하는 프로그램을 만들어주세요. >> 입력 지구 >> 출력 Earth ''' planet = {'지구':'Mercury', '금성':'Venus','지구':'Earth','화성':'Mars', '목성':'Jupiter','토성...
[ "kimhunsup159@gmail.com" ]
kimhunsup159@gmail.com
a4b3899d13db603e9377255638f695f7a6233743
6d7add9e5009d88a3a1d33f37b646bf033351a4a
/views.py
bd4b4716e392da21d9a0a40701fe863042f5ee14
[]
no_license
RahabNderitu/EventsApp
f3485c35f8732f99b81b703c712684fd4aa0711a
b6c230ab3808bc2c37ea47a129d6ab969acdec95
refs/heads/master
2020-08-08T22:10:08.544232
2019-10-14T14:23:38
2019-10-14T14:23:38
213,931,568
0
0
null
null
null
null
UTF-8
Python
false
false
9,056
py
from django.shortcuts import render from django.template import loader # Create your views here. def login(request): return render(request, 'events/login.html') def register(request): return render(request, 'events/register.html') def forgotpassword(request): return render(request, 'events...
[ "noreply@github.com" ]
noreply@github.com
3499a0b759535d1f9435736d748c883e415186d6
20b7522ea6de49416e8ec0be8aa2049bc9d561fc
/Dice_roll_GUI.py
7e2e4e92d9b03717d4ceba580007082ca31b1803
[]
no_license
Saksham-10/diceroll
9b2e004a7f2c26ae193a40bb2a95960a6384855d
31a0b99a99c7d682e04b3f11c6718b575ea2a307
refs/heads/main
2023-08-11T08:49:18.478678
2021-09-10T08:20:22
2021-09-10T08:20:22
404,998,230
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import random from tkinter import * root=Tk() root.geometry("700x450") l1=Label(root,font=("times",200)) def roll(): number=['\u2680','\u2681','\u2682','\u2683','\u2684','\u2685'] l1.config(text=f'{random.choice(number)}{random.choice(number)}') l1.pack() b1=Button(root,text="ROll It...",command=rol...
[ "noreply@github.com" ]
noreply@github.com
79a6bd1bd4c4a106b21e7d931958f60298534be3
0ba9f66cd4db73e49a0beb644a893a2ef7040486
/objdet/modelloader/ssd.py
e5a159c1de99c234af427f4f2eb54897f32fd2af
[]
no_license
NMADALI97/objdet
7009d8d2d05190b9aa108575c5eec8441883c524
f67834b252e0bf1938b794af33a226241fa6899a
refs/heads/master
2021-09-25T05:21:14.578893
2018-10-18T14:37:27
2018-10-18T14:37:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,838
py
# -*- coding: utf-8 -*- import torch from torch import nn import torch.nn.functional as F import itertools import math from . import utils class StrideConv(nn.Module): """ StrideConv:H,W根据stride进行下采样,H*W->(H/stride)*(W/stride) """ def __init__(self, in_channels, out_channels, kernel_size, stride=1, ...
[ "guanfuchen@zju.edu.cn" ]
guanfuchen@zju.edu.cn
0ca462dfcd05822d27fc73a3b8faea125b88322a
71290e9c34a99cdcbe68e7136723d18b408f94b0
/081_to_083.py
2d2ff3a4ba9ff89f1ae8467446e00141f5a60f5a
[]
no_license
julenka/euler
8558380f6b121c7b591d38a47919d8e0213a7b96
e176403a2fb0aa3c937dac480d2c96e9a1c89df4
refs/heads/master
2023-07-07T15:29:25.292033
2015-09-14T10:33:25
2015-09-14T10:33:25
38,571,126
1
0
null
null
null
null
UTF-8
Python
false
false
3,999
py
#!/usr/bin/env python import sys import os FILE_DIR = os.path.dirname(__file__) sys.path.append(os.path.join(FILE_DIR, '..')) # Uses python-graph library: https://code.google.com/p/python-graph/ # easy_install python-graph-core import pygraph.classes.graph import pygraph.algorithms.minmax class Node: def __init_...
[ "julenka@Julias-MacBook-Pro.local" ]
julenka@Julias-MacBook-Pro.local
4adb56b19f422e4b95744f384d76d14ff2d0e9c6
e6ede210d500b8f0772ff09f6a91578297ad6395
/tests/database/database_perf_load01.py
5d0fed1c12eb4b69890a20306a01f56a6878d493
[ "BSD-3-Clause" ]
permissive
pnarvor/nephelae_base
392d70e001c49d03e7027989d75adaf065f968ee
d5f1abeae0b0473b895b4735f182ddae0516a1bd
refs/heads/master
2020-06-23T14:23:41.294273
2020-02-28T17:01:26
2020-02-28T17:01:26
198,648,271
0
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
#! /usr/bin/python3 import sys sys.path.append('../../') import os import signal import time from ivy.std_api import * import logging from nephelae_mapping.database import NephelaeDataServer from helpers.helpers import * print("loading database... ", end='', flush=True) t0 = time.time() # dtbase = NephelaeDataServ...
[ "pnarvor@laas.fr" ]
pnarvor@laas.fr
70afc5d6bfdce3b2c1c6fffff51d2bdf3431cb4a
2cc2c73afee23674c2bd2bb918fc2f7824fc8818
/api/migrations/0005_alter_ringkasan_sekolah.py
8396a47977fdce288243b9ec76830c7e7dae5f7b
[]
no_license
developbyarya/simaknilai
c9e11d59fad25017419dce9ad187160a68287f16
34e2d808a59999bb6d80b853f1911e46c33eac81
refs/heads/master
2023-07-08T16:44:14.871961
2021-08-14T12:33:47
2021-08-14T12:33:47
396,003,982
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
# Generated by Django 3.2.5 on 2021-08-03 08:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0004_ringkasan'), ] operations = [ migrations.AlterField( model_name='ringkasan', ...
[ "aryain3rd@gmail.com" ]
aryain3rd@gmail.com
7917b5e21e2f33ac3e02015db815a15624786a70
874cfdb173c10f2bd1a28b8fbae8f5c53b6e7e9b
/Ayushi Gupta/facedetect-master/Face-Recognition-Login-System/djangoproject/mysite/pages/models.py
ba2ae7b6ce5045295fbcd04aecc07a660853e155
[]
permissive
gargarchit/UdacityOpenSource
8040a454f97149e7eb12349828653b9c091110b7
8a9bfafacad4009835c0610a24b8c87e5a15c602
refs/heads/master
2020-07-10T15:30:05.441031
2019-10-27T10:57:10
2019-10-27T10:57:10
203,367,451
0
0
Apache-2.0
2019-08-20T12:01:45
2019-08-20T12:01:44
null
UTF-8
Python
false
false
980
py
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from vote.models import VoteModel # Create your models here. class UserProfile(models.Model): user=models.OneToOneField(User,on_delete=None,primary_key=True) firstname=models.CharField(max_le...
[ "noreply@github.com" ]
noreply@github.com
c9f61caccaa7549d1995595eef86bc32bfba3d49
ed6bea0a68dfa7a9777662f63b2a01e7fbdfacef
/kidswithmaxcandies.py
13c2e3fdf0a6e2e7b79d69cd37d53a039ab7476c
[]
no_license
pooja-k-swamy/leetcode
0a00c4ce2797d5b75f96ec10b6168404a83c41a9
048b087b0eda00c9ebdfb81e663f8720bbe3fdd6
refs/heads/master
2022-12-09T01:24:28.145043
2020-09-02T03:57:53
2020-09-02T03:57:53
262,882,786
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
class Solution: def kidsWithCandies(self, candies: List[int], extraCandies: int) -> List[bool]: greatest = max(candies) bool_output = [False] * len(candies) for i in range(len(candies)): if ((candies[i] + extraCandies) >= greatest): bool_output[i] = True ...
[ "noreply@github.com" ]
noreply@github.com
be7d5c13550bebdce4d54671a1263edd8dafe493
52808af8f8a23f7f48dbc484473d6b2303ec9c89
/pypoll/main.py
20a83cc7de5725b03e3d651244f387fab486743e
[]
no_license
mghumman/python-challenge
1f57cb7b88089c37f29132a38e7d23762228bac5
8c3bb75d8af5e451aa0ee26c7289a17da99d1dc2
refs/heads/main
2023-03-04T02:29:23.018679
2021-02-08T05:52:10
2021-02-08T05:52:10
336,645,987
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
import csv from math import * #from zybooks with open('pypoll.csv') as r: string = csv.reader(r,delimiter=',') next(string) totalvoters = 0 # voter count candidates = {} # dictionary for the candidates for row in string: totalvoters += 1 # add a voter to total count all rows if row...
[ "noreply@github.com" ]
noreply@github.com
b38cc83718ba67b213d350be50f5983e023c5b64
838a0c32eb0ab8fa513cfdc698a09ab1eaaef00a
/codes/275. H-Index II.py
e0705b2c4b55f09ebc65aec748c8f9f6ec607acd
[]
no_license
zcgu/leetcode
ff270db9deb000e63dc9f338131c746ce7d24dfb
a041962eeab9192799ad7f74b4bbd3e4f74933d0
refs/heads/master
2021-01-11T20:02:49.126449
2016-12-31T23:51:38
2016-12-31T23:51:38
68,346,234
1
0
null
null
null
null
UTF-8
Python
false
false
403
py
class Solution(object): def hIndex(self, citations): """ :type citations: List[int] :rtype: int """ if not citations: return 0 h = 0 i = len(citations) - 1 while citations[i] > h and i >= 0: # this citations[i] > h no...
[ "patron@loan-rds-490-x.local" ]
patron@loan-rds-490-x.local
cfeaa1123dc61f9dae1362dfeefc5ff39fdc5b35
d84506ed7b2d35edf4850b11f86a77b91fae8c95
/DATA_STRUCTURE/jianzhi_offer/其他/孩子们的游戏(圆圈中最后剩下的数).py
a2e9fd91f3cb8c3b8ff681af0b3eca271744b2f1
[]
no_license
li2ui2/Python_Personal_DEMO
b5a5cfd0523596f4553fc065e1e71bdefb8b3580
57ce8c2d4e4636e774a9acf138ca5c77aa018cd4
refs/heads/master
2022-04-22T05:50:08.022777
2020-04-24T13:51:57
2020-04-24T13:51:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
""" 每年六一儿童节,牛客都会准备一些小礼物去看望孤儿院的小朋友,今年亦是如此。 HF作为牛客的资深元老,自然也准备了一些小游戏。 其中,有个游戏是这样的:首先,让小朋友们围成一个大圈。 然后,他随机指定一个数m,让编号为0的小朋友开始报数。每 次喊到m-1的那个小朋友要出列唱首歌,然后可以在礼品箱中任意的挑选礼物, 并且不再回到圈中,从他的下一个小朋友开始,继续0...m-1报数....这样下去....直到剩下最后一个小朋友, 可以不用表演,并且拿到牛客名贵的“名侦探柯南”典藏版(名额有限哦!!^_^)。 请你试着想下,哪个小朋友会得到这份礼品呢?(注:小朋友的编号是从0到n-1) 如果没有小朋友,请返回-1 """ cl...
[ "21824087@zju.edu.cn" ]
21824087@zju.edu.cn
f041b01ef4c05b4c1329551d1fd5d2ee9b8c8fb0
b1272417635cd57b538981cb316bc765ed6f19cc
/graph/edge.py
d5121c57e4f28a167fd399f89bf332529a093ed5
[]
no_license
lvanroy/Analysis-of-Focal-Methods-using-Intermediary-LLVM
865c84c50477c037e2e4e5fb3871ab50e47cb2b6
cf4fb76831969f934da8c48fb36acfa36ea4c3c3
refs/heads/master
2023-03-23T07:51:28.245511
2021-03-17T19:09:15
2021-03-17T19:09:15
298,274,397
1
0
null
null
null
null
UTF-8
Python
false
false
298
py
class Edge: def __init__(self, start_node, end_node, label): self.start_node = start_node self.end_node = end_node self.label = label def __str__(self): return "{} -> {} [label = \"{}\"]".format(self.start_node.get_id(), self.end_node.get_id(), self.label)
[ "s0161083@ad.ua.ac.be" ]
s0161083@ad.ua.ac.be
7adcf3af90dc069ab9bec98b2839947c8aeeb910
0c2130f0aabf2e27fae19ba93a52b444d4abdffd
/webscraping_beautifulSoup/09 Hand on with AMAZON projects/043 amazon-project2-part2-get-book-detail-information-for-one-book.py
e17c7d86efde3a513d5c15b75c8bf65a8b03a310
[]
no_license
abuzarrizvi/WebScrapingBeautifulSoup4
3e583b736f575596b69e0102dbde797d46f47a61
9e847e83cef9a914bc1774295fc48f974a1ab796
refs/heads/master
2020-06-17T15:01:16.657407
2019-08-14T05:08:32
2019-08-14T05:08:32
195,956,866
1
0
null
null
null
null
UTF-8
Python
false
false
967
py
# strategy # soup --> ISBN table id="productDetailsTable" # find_all li tag --> get 4th li # --> Detail --> iframe --> div.text from bs4 import BeautifulSoup from selenium import webdriver #driver = webdriver.PhantomJS(executable_path = r'C:\phantomjs-2.1.1-windows\bin\phantomjs.exe') driver = ...
[ "noreply@github.com" ]
noreply@github.com
5c51ce84d8a7f57e674f00bd71f46427b9970d6c
0199803b29eb46c406653311a828dc004dfecaed
/unet/unet_parts.py
bdb6ba84c7a7eda780f9fa13a15ba73ce92b217d
[]
no_license
Marroh/Medical-image-segmentation
17bcec160ca49d434546b9468c147568ff0d5709
2fd46973b6327e59b24ff5fd5c58518ea4ad0598
refs/heads/master
2023-04-01T23:16:29.039647
2023-03-27T08:39:06
2023-03-27T08:39:06
280,319,636
2
0
null
null
null
null
UTF-8
Python
false
false
2,540
py
""" Parts of the U-Net model """ import torch import torch.nn as nn import torch.nn.functional as F class DoubleConv(nn.Module): """(convolution => [BN] => ReLU) * 2""" def __init__(self, in_channels, out_channels): super().__init__() self.double_conv = nn.Sequential( nn.Conv2d(i...
[ "noreply@github.com" ]
noreply@github.com
a17520cbc98c41ee3eb915457e026cd46d1858d3
1778e6f647a93be434fd291092cc9eefd0636f89
/AlexeyAkimov/package1/mylib/test_other.py
45ce8b37182e1b86372279686c9c3f66bd3462da
[]
no_license
AkimovLab/CHE512-Spring2023
61e7ed7fe9bc314ff6ab62dddffa6b252168067c
0228f225873fb79bcc91bc3c7f4437a480e1004d
refs/heads/main
2023-06-03T15:49:45.530881
2023-05-18T16:46:33
2023-05-18T16:46:33
595,336,694
0
7
null
2023-05-18T16:46:34
2023-01-30T21:51:25
Jupyter Notebook
UTF-8
Python
false
false
182
py
import pytest def true_or_false(x): return x @pytest.mark.parametrize("x, y", [(True, True), (False, False)]) def test_torf(x, y): assert true_or_false(x) == y
[ "alexvakimov@gmail.com" ]
alexvakimov@gmail.com
5863502d0daa13bbc559944b98bd448d9fe1c443
f0ecd1ab01f7dacdd55611db3fe8cfb8c556c8ef
/tuplas/desv_pad.py
c2875668d5ed7743e176ea64f64dece075a1ff1a
[]
no_license
GuiJR777/INE5603-01238A-20201---Programa-o-Orientada-a-Objetos-I
042fa2dd1d72fdd19379e387a54f88a556d6f654
bd23ec0ba6f8ca19aa72d88d8894105e625197d0
refs/heads/main
2023-02-04T06:41:55.355279
2020-12-16T02:55:10
2020-12-16T02:55:10
312,139,910
1
0
null
null
null
null
UTF-8
Python
false
false
625
py
def media_simples(valores): soma = 0 for n in valores: soma = soma + n media = soma/(len(valores)) return media def somatorio_dist(valores, media): somatorio = 0 for i in valores: dist = (i - media)**2 somatorio = somatorio + dist return somatorio def dp(n, valores...
[ "guilherme.ramires@spinver.com" ]
guilherme.ramires@spinver.com
fb6e5a1d34f92c85573f7bb2dd81c73b149320f3
637e5532f2946001a688735298ba5d6ef2a5b469
/importcsv.py
456bc3e315e690f2da19629c48d2af03bb423b7d
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
residuum/Money-Talks
b4a20db246041cda89ec33017530f4123b0f1498
85a3515248fccc0520a0b309cf7600b03b873b33
refs/heads/master
2021-01-01T06:05:08.591659
2012-04-13T17:06:05
2012-04-13T17:06:05
2,529,551
0
0
null
null
null
null
UTF-8
Python
false
false
2,442
py
#!/usr/bin/env python from couchdbkit import Server, Database from couchdbkit.loaders import FileSystemDocsLoader from csv import DictReader from datetime import datetime import sys, subprocess, math, os def parseDoc(doc): for k,v in doc.items(): if k=='Date': closeDate = datetime.strptime(v, ...
[ "thomas@residuum.org" ]
thomas@residuum.org
897b4b4603dbf5f9033d8118ac43b22dcdf16323
f3f2ee90c7d45b537abfd54a7e7ecf63251390d2
/Part1-MachineLearningandDataAnalytics/Examples/Chapter2_Pandas/Chapter2_Pandas_DataStructuresSeriesDataframe.py
5888075b692132747990625635656e666839c245
[]
no_license
datawisdomx/DataScienceCourse
49eacf9a647f19eb70e2144b6b022031bf69240f
375e58042fe78ff2244b499e6c03d33635ef5226
refs/heads/main
2023-05-05T17:58:31.481954
2021-05-28T05:56:56
2021-05-28T05:56:56
340,570,384
1
0
null
null
null
null
UTF-8
Python
false
false
940
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Feb 19 16:47:15 2021 @author: nitinsinghal """ # Chapter 2 - Pandas - Data Analysis Library # Data Structures import pandas as pd import numpy as np #Series s = pd.Series([1,2,5,11,16,23]) print(s) print('s[0] is: ',s[0]) print(s/2) print(s*s) si = ...
[ "noreply@github.com" ]
noreply@github.com
0d0107c5fc211ba55a7f4194bd58bfb09b71cc71
0764489a1cb0793a39252bb0e6afa76854119644
/scenarios/credit_failed_state/executable.py
965e78d1121ac9ff409962b2dae867a57ae767dc
[]
no_license
rserna2010/balanced-python
8ac7bef3cb309be8affaa2aa62e882d631b62bda
093a401d187bc09293a88214156e9e316185bfa3
refs/heads/master
2021-01-21T07:20:47.157987
2013-11-08T17:39:54
2013-11-08T17:39:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
import balanced balanced.configure('ak-test-1p1Tsac7gHeMQowL2seB7ieliuAJAufyq') bank_account_info = { "routing_number": "121000358", "type": "checking", "account_number": "9900000005", "name": "Johann Bernoulli" } credit = balanced.Credit( amount=10000, bank_account=bank_account_info ).sav...
[ "ben@unfiniti.com" ]
ben@unfiniti.com
f6588639e6480140e4ca5522ba6434637eccbae4
183caf378df099da122f65ea9b75002b1e12b774
/projFocus/ceRNA/model/projCeRNA_step3-4_WGSC.py
d6335c4a2e5f5ffe52644dc2776b872148729be7
[]
no_license
cwt1/scripts-1
f58e476ddb2c83e0480856a95a95a644ad3c001c
061d6592aa6ab11c93363fcb40305a57db05e3f2
refs/heads/master
2021-05-28T01:31:30.896133
2014-08-25T19:02:37
2014-08-25T19:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,846
py
import numpy as np import sys,getopt from collections import defaultdict from parseKeyRegFile import parseKeyRegFile from collections import Counter, Sequence from parseGslistFile import parseGslistFile class MutSet(): def __init__(self, gene, mutSample, zscore): self.gene = gene ...
[ "violet.hj@gmail.com" ]
violet.hj@gmail.com
7a6f270126790be7facdfa5e5a3b92c6f829e482
501d97fe1a0d8540f218e8d2a8aaf0adba640c97
/015.三数之和/答案.py
9ff20fee93168f9fb92ed23f796b04183613a5a1
[ "Apache-2.0" ]
permissive
yangeren/pydatas-leecode
77d667d81829ca6cf00a87bb88d803f90c7f2f95
a9656fd0c61d619e4748f58a50f8f5ece675ffe7
refs/heads/master
2022-12-29T10:58:33.807605
2020-10-17T15:41:26
2020-10-17T15:41:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
class Solution(object): def threeSum(self, nums): """ :nums类型: List[int] :返回类型: List[List[int]] """ # 先排序然后双指针 res = [] nums.sort() for i in range(0, len(nums)): if i > 0 and nums[i] == nums[i - 1]: continue target = 0 - nums[i] start, end = i + 1, len(nums) -...
[ "2476271447@qq.com" ]
2476271447@qq.com
1b10ff1579271a1232c1aa6dffaea63bf8a0342d
8bd6b0784de9a1e6a39d0f5f23f2d8fb50c73d49
/MethodRefine-Rand/satellite/MethodRefine/satellite_benchmark-high/validating/validating_20.py
6b5fe7da51099a834f291860f10739404d5f325e
[]
no_license
sysulic/MethodRefine
a483d74e65337dff4bc2539ce3caa3bf83748b48
adbb22d4663041d853d3132f75032b7561bf605c
refs/heads/master
2020-09-14T10:45:55.948174
2020-05-01T09:13:59
2020-05-01T09:13:59
223,104,986
3
2
null
2020-04-27T11:01:36
2019-11-21T06:33:16
Python
UTF-8
Python
false
false
3,502
py
#!/usr/bin/env python # coding=utf-8 import sys sys.path.insert(0, './') from satellite import * import new_tihtn_planner state0 = new_tihtn_planner.State('state0') allow = False state0.sate_num = 3 state0.inst_num = 13 state0.mode_num = 3 state0.direc_num = 5 state0.img_num = 4 state0.on_board = {'inst-3-1':'sate-...
[ "526552330@qq.com" ]
526552330@qq.com
e1a64d3bff5988fb4f8865402a4b92a79fba1cc4
0a00b61ca6f970ef9e19e3ee2b0a6b9b12fc3e36
/Exercicios001a106/ex019.py
b54cdbc1e9cb634d26f6bcdc0a287e49f7de3c7c
[]
no_license
gabrielrbernardi/pyhtoncev
bf588f1c2388f3124f5a575cf2ef240360cd8c98
fd9d0986196d1685366c55281b42b315595f380f
refs/heads/master
2021-07-23T20:41:50.258090
2020-07-24T14:25:20
2020-07-24T14:25:20
201,134,473
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
import random a1 = str(input('Primeiro aluno: ')) a2 = str(input('Segundo aluno: ')) a3 = str(input('Terceiro aluno: ')) a4 = str(input('Quarto aluno: ')) lista = [a1, a2, a3, a4] choose = random.choice(lista) print('O aluno escolhido foi {}'.format(choose))
[ "gabrielrbernardi@gmail.com" ]
gabrielrbernardi@gmail.com
65aabc1185420c1de3350fef656d55b4d0889e67
f3050b7f84e584dcde54ca1690944bfccc6f5d9c
/doReport.py
1f3e2459f51cf6acf2c67e58f657274c4e11e715
[]
no_license
azhenglianxi/api_Project
0c8444c2bad7464fd57911be4fdcd131a63c46b2
2ae87b87e41f522d4ef20f63bad6adcaec1f9874
refs/heads/master
2020-09-14T12:08:07.080748
2019-12-12T09:08:22
2019-12-12T09:08:22
223,124,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
import unittest import ddt from testCase.course.courseTest1 import CourseTest1 from testCase.course.courseTest2 import CourseTest2 import HtmlTestRunner from HTMLTestRunner import HTMLTestRunner # 测试套件 test_suite # 1.-1: 用例 一个个的添加到suite # suite=unittest.TestSuite() # suite.addTest(CourseTest1("test_101")) # suite.addT...
[ "azhenglianxi@163.com" ]
azhenglianxi@163.com
303259a3aaaedc72647f69f374321f24c870cfbb
cb98d404b1f99755fa051082e32f8725ee50f6c7
/adult/loss.py
12a1c3bcab193cb2b5839ee911cdf38dddd3a30c
[]
no_license
kingofspace0wzz/hsic-fair
00f76a3068190f295ce7d7595f1b3581ea0e32e1
ff0c71a34497767f20626674c4e770421ecbd045
refs/heads/master
2023-01-20T21:13:28.070288
2020-12-01T11:26:02
2020-12-01T11:26:02
187,965,566
0
0
null
null
null
null
UTF-8
Python
false
false
2,412
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.distributions.normal import Normal from torch.distributions.kl import kl_divergence import numpy as np import pyro.contrib.gp as gp def recon_loss(recon, target): loss = F.binary_cross_entropy(recon, target, reduction='sum') return l...
[ "zizhuang_wang@umail.ucsb.edu" ]
zizhuang_wang@umail.ucsb.edu
8f5c22d6d0bccf7a693d5312c5d3dcd28e422297
7053f887eb8cc3970c114802bc22df0c0083139b
/notes/security/optimized_assert.py
837bdd4673cdd2b6c1ab82a483776e55aa2353db
[]
no_license
ofhellsfire/python-notes
344e354aa51675080b9e9e99beff9435deaf4a8c
3f9addc720fbaced3b36330300f8c3b1902fd14e
refs/heads/master
2023-05-25T08:09:07.991294
2023-02-12T14:03:31
2023-02-12T14:03:31
202,361,412
5
0
null
2023-05-23T01:15:25
2019-08-14T13:56:58
HTML
UTF-8
Python
false
false
676
py
""" Shows what can happen if use assers with optimized mode. Try to run as usual: python filename Also try to run in optimized mode: python -O filename """ class User: def __init__(self, name, is_admin=False): self.name = name self.is_admin = is_admin def superuser_action(user, cmd): assert...
[ "ofhellsfire@yandex.ru" ]
ofhellsfire@yandex.ru
0a812bdc739543891a048953e785287cb642c599
73bd01b665f455f6889a513ef64605195c55f2cb
/Test/TestLexly/TestJsonImporter.py
86b9c7aeac7c384a0078d35734952d8f4180110b
[]
no_license
fstakem/Lexly
3d9e3648186df373166e9bf07dcfa8594213e740
e5817c085723fa945c955054e471df7ea6535b9b
refs/heads/master
2020-04-09T07:36:14.081826
2013-08-28T12:57:51
2013-08-28T12:57:51
12,242,335
0
0
null
null
null
null
UTF-8
Python
false
false
5,802
py
# ------------------------------------------------------ # # TestJsonImporter.py # By: Fred Stakem # Created: 8.22.13 # # ------------------------------------------------------ # Libs import unittest import json # User defined from Globals import * from Utilities import * from Lexly import JsonImporter from L...
[ "fstakem@fstakem-mac.(none)" ]
fstakem@fstakem-mac.(none)
78d781b8f81b16601a05083f18e8517528c0ccd2
f9f94ac82a5e78adedd8c87118b13725f7e1cb13
/service_management/faulty_logging/apps.py
6db74420b66659fc35b37e95947ad2b4bda92048
[]
no_license
poppykode/sm
1b4245c8b03ecb0385ce282e5ab3c89bc3cb57d1
44dcf34db94de336a689f1e8456aa6bd802b7734
refs/heads/master
2022-11-30T02:25:39.471284
2020-01-13T12:04:19
2020-01-13T12:04:19
220,422,113
0
0
null
2022-11-22T04:18:23
2019-11-08T08:32:21
JavaScript
UTF-8
Python
false
false
102
py
from django.apps import AppConfig class FaultyLoggingConfig(AppConfig): name = 'faulty_logging'
[ "ngonimug@gmail.com" ]
ngonimug@gmail.com
168fdb10b4718fe7c7c87e348c7b7ec7d041b22f
6b42c5b9990cee8592f35827d878f436af17c0e8
/pcc/ej93.py
21cc933a2672da5fa3b6b095827270e75a68207d
[]
no_license
ignaciop/python_varios
1f7c2f025e6197f6067433e50bb8d1a02c5e28a1
e1b3919603885eb4d243226c6e42d0bcf3d78738
refs/heads/master
2020-05-22T16:20:32.085361
2020-04-14T04:00:37
2020-04-14T04:00:37
84,701,306
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
class User(): def __init__(self, first_name, last_name, age, sex): self.first_name = first_name self.last_name = last_name self.age = age self.sex = sex def describe_user(self): print(f"{self.first_name} {self.last_name} is a {self.age} years old {self.sex}") ...
[ "ignaciop.3@gmail.com" ]
ignaciop.3@gmail.com
93a33757267c9f7d69975301f674bd87eb387394
2710c12bcfcb322bdc3b3128ad63bca5d4eb4eab
/2class_clf_pytorch/models/dpn.py
c99aaece35bed61264fda4e2398bd9d1af0ba875
[]
no_license
chaffeechen/pyTorchClassification
0888f2ebfbe61ef6114d1d6753daa1cf5d7c0e1e
5620e52538e9932874f9ebbae691c9334bbac3d4
refs/heads/master
2022-03-16T21:49:50.261021
2019-12-10T06:12:36
2019-12-10T06:12:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,318
py
""" PyTorch implementation of DualPathNetworks Ported to PyTorch by [Ross Wightman](https://github.com/rwightman/pytorch-dpn-pretrained) Based on original MXNet implementation https://github.com/cypw/DPNs with many ideas from another PyTorch implementation https://github.com/oyam/pytorch-DPNs. This implementation is co...
[ "" ]
96abf21b0b9d194f1c945970763a2e2171fd35f8
f347ddf8f11b748b09646aabd3c4d807e49d6e86
/clients/migrations/0038_clientaquaaerobics_block_comment.py
e58624dd513bc4c26a72d543183e3577ceec36b2
[]
no_license
gitavk/fcbp
b630a8570b46557ee0ffd20ae1baa57741147766
02ffcc54a805861a098952b388bfd28ec69b176a
refs/heads/master
2021-01-17T02:19:58.572362
2018-11-12T07:09:07
2018-11-12T07:09:07
39,645,922
0
1
null
null
null
null
UTF-8
Python
false
false
476
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('clients', '0037_prolongationaqua'), ] operations = [ migrations.AddField( model_name='clientaquaaerobics', ...
[ "3apa3ka3@gmail.com" ]
3apa3ka3@gmail.com
1630d428b45f4ba249a3ce615b8614472bebbcec
efd55bc63da8ab6ee964ec82bd0b761fd36107cc
/leetcode/easy/add-strings.py
9a65e671a52bd084d149cc8082da1b152c7e4665
[]
no_license
gsantam/competitive-programming
f9a2c9999470eeae9ef4aada6af43b91a65fcb50
0b208516a6ae3e72bc7b79ef0ac83dcbfa100496
refs/heads/master
2021-06-20T23:27:30.274275
2021-06-20T19:44:51
2021-06-20T19:44:51
162,201,988
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
class Solution: def addStrings(self, num1: str, num2: str) -> str: i = 0 l1 = len(num1) l2 = len(num2) rest = 0 total_sum = 0 while l1-1-i>=0 or l2-1-i>=0: sum_ = rest if l1-1-i>=0: sum_+=int(num1[l1-1-i]) if l2-1-i...
[ "santamaria.guille@gmail.com" ]
santamaria.guille@gmail.com
06733454c03a927c81749213c56d3ce4e68a7c5d
e23d16c738296df79f932aeab48d671f24ae3732
/563 - Binary Tree Tilt.py
60f1e0f3780ba058417ab814f0dfb92b42a467fe
[]
no_license
y4lp/leets-easy
32e579b18036eb41cc15858355ddb60267c96c33
7ef430042455a193fea05a54e6638a6917fc4783
refs/heads/master
2023-05-30T19:26:18.665390
2021-06-18T09:17:48
2021-06-18T09:17:48
378,097,146
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: absd = 0 def findTilt(self, root: TreeNode) -> int: self.post(root) return self.absd ...
[ "821738231@qq.com" ]
821738231@qq.com
31a0056a22fc8bf8b4a21bb38c296bb8223aae2e
e234483365006af2accfdc068ce5a39b21f2491f
/C/project_advance_views/project_advance_views/settings.py
33816ff65fe857ea41af1af1ccfd283fa5cc7bd9
[]
no_license
hamdiranu/DJANGO_MVC
0536a401139caae8adb9f8a20d070a24c136c80c
75483d7405f8b28a831328ca09ad8f7eb6a5f4cd
refs/heads/master
2021-09-23T07:45:08.925050
2019-12-11T08:53:07
2019-12-11T08:53:07
226,776,038
0
0
null
2021-09-22T18:06:24
2019-12-09T03:24:08
Python
UTF-8
Python
false
false
3,152
py
""" Django settings for project_advance_views project. Generated by 'django-admin startproject' using Django 3.0. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ ...
[ "hamdi@alterra.id" ]
hamdi@alterra.id
df755ed0b68012deb2fba335ba102bf8c0a74940
544c4d9822ca42764a60d55b804e8eaabc345cab
/operation/urls_api_0_1.py
4ff56cef10af6bfa0df6fa4a11d65e05c80fa2ba
[]
no_license
lxguidu/parkhero
24a3cf28ed3f9ed594137080c36bc317453f66ba
b5f5e2d13ac46812666c0e9d20bfd35b335a4994
refs/heads/master
2021-01-12T14:49:29.404775
2016-10-27T10:57:45
2016-10-27T10:57:45
72,099,407
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
#-*- coding: utf-8 -*- from django.conf.urls import url from operation import views urlpatterns = [ url(r'^vehicle_in/$', views.vehicle_in_api, name='vehicle_in_api'), url(r'^vehicle_out/$', views.vehicle_out_api, name='vehicle_out_api'), url(r'^offline_payment/$', views.offline_payment_api, name='offline...
[ "root@work.linxg.com" ]
root@work.linxg.com
c698cc940395b86d51ad607617ad4d30166fe1b3
4ebbe0832a996253f5dc850d09ab001c702f4131
/multi_trigger_multi_target_repaired.py
0ee143b489eefb934d49034f45ba00f363d93677
[]
no_license
raghuslash/sec2020
435d3ec29fc17ef27c6a3d5646cc38b6e0f96259
e7fcb96810bad0c5f049a628b5c3f4d0e8bf94da
refs/heads/main
2023-02-03T14:45:54.956235
2020-12-22T17:16:13
2020-12-22T17:16:13
320,161,691
1
0
null
null
null
null
UTF-8
Python
false
false
2,238
py
import keras import sys import h5py import numpy as np import matplotlib.pyplot as plt import keract import repair def data_loader(filepath): data = h5py.File(filepath, 'r') x_data = np.array(data['data']) y_data = np.array(data['label']) x_data = x_data.transpose((0,2,3,1)) return x_d...
[ "raghu@caramail.com" ]
raghu@caramail.com
49383e833cb705190cd94f4ed37f55b6866e2233
edfe02ab1e45708ad09a86ef85d1b53b065de1fe
/seventhStudy/Chapter 17/image.py
604ba5e5fdc4f4b84e5b7bb7896616cacfa9b72b
[]
no_license
kor-Chipmunk/PythonEducation
d88e490a2d042919dafaff0463dad63611947800
d98e230646d263e8d9ca3480467f785ff2beda99
refs/heads/master
2021-01-11T17:07:21.857179
2017-01-30T04:24:10
2017-01-30T04:24:10
79,725,221
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
# -*- encoding: utf-8 -*- import pygame pygame.init() screen = pygame.display.set_mode((300, 100)) pygame.display.set_caption("Drawing image") clock = pygame.time.Clock() run = True # 이미지 로딩 runner_img = pygame.image.load("img/runner.png") runner_rect = runner_img.get_rect() # 게임 루프 while run: # 1) 사용자 입력 처리 ...
[ "rhj4862@gmail.com" ]
rhj4862@gmail.com
23ae94692bcda1f0250f8ed887b724e5f84cbd01
c0b5c5a2f6a8e141ece35f3ef7f9c915df4eb2f8
/arch/numbers.py
4e68400971405cbb9efd5ca787b35a4af20d5895
[]
no_license
andrewfarah/ember
1a2fa7726f5ff043b9cea7c33265ba5db888db41
d44b1c41c7cb757b46f3001e524b213acc40c21f
refs/heads/master
2020-05-29T08:47:29.706981
2016-10-05T00:01:37
2016-10-05T00:01:37
70,015,193
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
import random def game(): # gen a random number btw 1 and 10 secret_num = random.randint(1, 10) guesses_left = 5 while True: # non-integar catch try: # get a num from a player guess = int(input("Guess a number between 1 and 10: ")) except ValueError: print("Sorry. Integers only, please.") else: ...
[ "andrew.mfarah@gmail.com" ]
andrew.mfarah@gmail.com
88da23c8de3ec260538b12fc8b4aaa0aadc5dc17
9bb92edc8f60cf393d9ef47768524ca00f0cc3a1
/model_trainer/connective_classifier/conn_dict_creator.py
b377be04ef1739c281392eabe80c2f49328aad20
[]
no_license
qkaren/CoNLL2016-CNN
e514e5970467edcaff3a3213b7ca0d69072ce378
86ee7d769c7aaf7fa9a93478e84c41b3fa13d483
refs/heads/master
2020-07-31T21:42:14.799674
2017-09-28T13:51:32
2017-09-28T13:51:32
73,591,629
8
1
null
null
null
null
UTF-8
Python
false
false
84,119
py
#coding:utf-8 import config, util from pdtb import PDTB from pdtb_parse import PDTB_PARSE from syntax_tree import Syntax_tree # from .conn_head_mapper import ConnHeadMapper import conn_dict_util as dict_util class ConnectiveDict: def __init__(self, pdtb_parse): self.pdtb_parse = pdtb_parse self.disc...
[ "qkaren@mercury.mercury" ]
qkaren@mercury.mercury
003d4fcb554b08dd645a2f33bd3035bdd7d5d3f1
7234e6c72eb3f09c4a66dbe91f00fdf7742f010f
/algo/arrays/fruitsIntoBasket.py
52054c5a06bb6d3e66bb587ba1ab54b57a3e8c24
[]
no_license
srinathalla/python
718ac603473e7bed060ba66aa3d39a90cf7ef69d
b6c546070b1738350303df3939888d1b0e90e89b
refs/heads/master
2021-06-13T06:11:42.653311
2021-02-19T06:01:41
2021-02-19T06:01:41
150,374,828
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
from typing import List # # This problem is similar to longest sub array with two distinct characters.. # # T.C : O(2n) => O(n) Two pass solution # S.C : O(3) => O(1) as map holds only 3 entries at max # # class Solution: def totalFruit(self, tree: List[int]) -> int: if len(tree) < 3: return ...
[ "srinathb10j.ik@gmail.com" ]
srinathb10j.ik@gmail.com
9a3841891607d7da33b468aefaaf2881dc8947be
da11409d30c8ee6c53d19f81b58ebabd53d2142c
/blog/url.py
a7069b14defa4a1320059a175d472bbe32abfb45
[]
no_license
pollitosabroson/blog
3eb896917808265d10929a4f32bfdc09c97d4c85
e9b8b78741faad1d9b3807e2a166dc8e2e4010b3
refs/heads/master
2020-04-09T11:27:27.517901
2015-02-15T22:06:22
2015-02-15T22:06:22
30,840,845
0
0
null
null
null
null
UTF-8
Python
false
false
6
py
url.py
[ "karnal02@gmail.com" ]
karnal02@gmail.com
7477c8bd96b0f1e4c8bd1237d0f4081cbf400f67
28e54e668bace6fdbc4093df2134827e51797eca
/examples/authentication/demo_auth.py
122347a5bc15e857be626ad74e1389ae3eb13e0c
[ "MIT" ]
permissive
xaiki/safrs
0c371e1eca86f951181b01afe4ea157f8a278ea5
e7948a4927e65f4086326b363e1b5ec4fe372ddd
refs/heads/master
2020-06-12T21:22:07.855469
2019-06-29T17:13:25
2019-06-29T17:13:25
194,429,258
0
0
MIT
2019-06-29T17:00:05
2019-06-29T17:00:04
null
UTF-8
Python
false
false
4,690
py
#!/usr/bin/env python # # This is a demo application to demonstrate the functionality of the safrs_rest REST API with authentication # # you will have to install the requirements: # pip3 install passlib flask_httpauth flask_login # # This script can be ran standalone like this: # python3 demo_auth.py [Listen...
[ "thomas.pollet@gmail.com" ]
thomas.pollet@gmail.com
7d8896dce3a2e64ecef24afa9b4e22931ac74e5a
f32ed75d9dfee31499fa27da916354d0ee22469b
/pysec/config.py
3ef024e42d59a8a3e89de8b965ec27f3e5f62d5d
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
aoloriz/owasp-pysec
63f1cabe6525f5d1000d89db570eb1b7aac2febc
80273eebc4cef600960cbb234eb0160dca657f82
refs/heads/master
2021-12-02T09:39:52.796209
2021-08-22T22:27:22
2021-08-22T22:27:22
398,907,810
0
0
Apache-2.0
2021-08-22T22:27:22
2021-08-22T21:47:21
Python
UTF-8
Python
false
false
782
py
# Python Security Project (PySec) and its related class files. # # PySec is a set of tools for secure application development under Linux # # Copyright 2014 PySec development team # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You...
[ "figus.federico@gmail.com" ]
figus.federico@gmail.com
5f8b28914497787b40b57642a5e0bdf42c05e765
913f6aab5d86a92292578bb8e2ee32499a254d29
/echo_pb2.py
9afcbc2369d8c54f8f00d742e1be7022ed2c685c
[ "MIT" ]
permissive
e-heller/grpc-python-aio-memory-leak
ea0e4372029af39e08ca21c34d26b0dd3204422c
3b33c4db286990d8908e6cdec95b72b4dd9d5bab
refs/heads/main
2023-03-02T14:34:33.405983
2021-02-13T19:46:38
2021-02-13T19:46:38
338,640,286
0
0
null
null
null
null
UTF-8
Python
false
true
4,013
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: echo.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf i...
[ "eheller@gmail.com" ]
eheller@gmail.com
dfe1b7ca5af6e1b6d585d3efd87a2a11fe19e4a6
9bd1044b3e2886108457448345e9276c288efaac
/arq2/trab1/mcpat/IS.arquitetura2.mcpat.py
666c2c44b0e8b6895950966f6657b78628124d28
[]
no_license
vandersonmarocchio/trabalhos-2
35ec5fa1317fda6634afdd277913916647ea27fe
e719926dceac967cbea05de098f4153ccac28e52
refs/heads/master
2023-08-22T18:51:16.852692
2020-10-14T17:53:35
2020-10-14T17:53:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
135,017
py
power = {'BUSES': {'Area': 3.70399, 'Bus/Area': 3.70399, 'Bus/Gate Leakage': 0.00993673, 'Bus/Peak Dynamic': 2.73167, 'Bus/Runtime Dynamic': 0.274095, 'Bus/Subthreshold Leakage': 0.103619, 'Bus/Subthreshold Leakage with power gating': 0.0388573, ...
[ "diogoada@gmail.com" ]
diogoada@gmail.com
76c42d25f8cacebb06202933fa87bbde25eaea41
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_coarsens.py
7e3f51e1ea0cdb68080e778c6311c0f110396d1c
[ "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.verbs._coarsen import _COARSEN #calss header class _COARSENS(_COARSEN, ): def __init__(self,): _COARSEN.__init__(self) self.name = "COARSENS" self.specie = 'verbs' self.basic = "coarsen" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
24efc1c8c05ca4c49cca58db61245a2bf13b6a86
4fd614f55cbfd077a5a6e4631e2318ec30d8dd79
/migrations/versions/19d2a959996a_new_fields_in_user_model.py
d29d51c5bfe283e3dd1dcb364063dbb05e852d7b
[]
no_license
tkijimakura/flask-mega-tutorial
e49dbd67dfadbc0d446f494cbac87b568e983b7a
04512368a8b758d88ccd18d7f46d117960caeff0
refs/heads/master
2021-09-12T22:16:54.003906
2018-04-21T20:33:56
2018-04-21T20:33:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
"""new fields in user model Revision ID: 19d2a959996a Revises: 97fc3368eab9 Create Date: 2018-03-08 17:25:18.123486 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '19d2a959996a' down_revision = '97fc3368eab9' branch_labels = None depends_on = None def upgrad...
[ "aly.sivji@analytehealth.com" ]
aly.sivji@analytehealth.com
ca1ea0bfa5e35ba455e7b13dca16a027b2a67ae0
76fb0a3cfc9d9362ab29174bd1d55e888ea4d7f6
/tfx/orchestration/kubeflow/v2/components/experimental/ai_platform_training_executor.py
22029308648a87a84dc866cf7e1b633872bbf10c
[ "Apache-2.0" ]
permissive
tensorflow/tfx
0cfc9c55171352ecc98c9dfa8ffe976c689d7073
1b328504fa08a70388691e4072df76f143631325
refs/heads/master
2023-08-30T11:56:50.894497
2023-08-29T22:47:19
2023-08-29T22:48:26
169,116,405
2,116
899
Apache-2.0
2023-09-14T21:51:42
2019-02-04T17:14:36
Python
UTF-8
Python
false
false
2,422
py
# Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
ecf6c154771b8096b621df303c0f3f611bbfc927
547bfb8f36b86140f3da6696512f79db00a9dc8e
/main.py
886353e389d9d3ef97347bd8d2ecf4f9cad4325a
[]
no_license
DhanaVignesh2006/Wikipedia-Search
61b96e5dda663dc82312c6ac03f2ffa02897512f
9182162d25a077390e9596a81c1f1add8e665ad7
refs/heads/main
2023-05-27T19:57:36.092205
2021-05-31T13:06:32
2021-05-31T13:06:32
372,509,398
0
0
null
null
null
null
UTF-8
Python
false
false
3,058
py
from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import sys import wikipedia class Window(QMainWindow): def __init__(self): super().__init__() self.InitUI() def InitUI(self): self.setWindowTitle("Search") self.setWindowIcon(QIcon...
[ "noreply@github.com" ]
noreply@github.com
d2758af5379788063f46603975341fd96beb6e34
8d5653f98ae614e151b714e4d04b786e65028d05
/icdc/fileio.py
cb47cf8afebcfa342b1e37775d1646f57e859e0c
[]
no_license
maedoc/icdc
9a4071801968cc6d7999f3a12783454ee8fe5f07
11786e17891c3406b0902341861d4032c2054ac2
refs/heads/master
2023-03-15T12:41:23.288538
2021-03-10T10:53:38
2021-03-10T10:53:38
28,820,338
0
0
null
null
null
null
UTF-8
Python
false
false
4,570
py
import os import io import configparser import numpy as np from scipy.io import loadmat import mne from .core import Dataset class VHDR(Dataset): """ Brain Vision file. """ def __init__(self, filename, **readkwds): super(VHDR, self).__init__(filename) self.wd, _ ...
[ "mmwoodman@gmail.com" ]
mmwoodman@gmail.com
1674abf712c6b066af59fe0fea6ab7e259a5eb39
2d74104aaa132896a65ea0032951eee5d4c97840
/chemman/msds_collector/migrations/0003_uploadedmsds_token.py
4bd9419402891cf29b641c4c80e6ef4bb2b7ea19
[]
no_license
Whitie/ChemManager
6e228e8713f9dfeca21adbd3e9a65c8871a822bc
d40792361527219514b1b4cc03718ea7c2a92777
refs/heads/master
2023-06-09T09:29:41.626087
2022-12-14T13:29:44
2022-12-14T13:29:44
189,994,861
0
0
null
2023-04-21T21:40:13
2019-06-03T11:47:23
Python
UTF-8
Python
false
false
553
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-07-26 06:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('msds_collector', '0002_parseddata'), ] operations = [ migrations.AddField( ...
[ "weimann.th@yahoo.com" ]
weimann.th@yahoo.com
3dae60730cb9477a444a89605681bbdc3c8e8fab
b4de71539c4b7a37d2c8877ae7af61cb84a43d89
/data_preprocessing/outlier_detection/duplicates.py
1b62ad6fa0c3f787bb9d47cacc3f7895f145e2c7
[]
no_license
Padam-0/irish-property-price-explorer
d4826bd1b636e96e3477c809730d65de1d78f29d
d985f664a51934e6495e7619282735064ac4cf87
refs/heads/master
2021-01-20T21:35:24.082685
2017-09-01T12:38:14
2017-09-01T12:38:14
101,771,921
0
0
null
null
null
null
UTF-8
Python
false
false
3,804
py
import pandas as pd import numpy as np import re def exact_duplicates(df): # Removing Exact Duplicates df_dups = df[df.duplicated(['sale_date', 'address', 'price'])==True].sort_values(by='address') # Exact duplicate IDs isolated dups_to_drop = df_dups.index def address_date_duplicates(df): """ ...
[ "andy.mcsweeney91@gmail.com" ]
andy.mcsweeney91@gmail.com
f4848810b38859463964d9f7a4eab75d41ce0d23
8fd700902d6948d79588260d4c4aa56eb6fab6b7
/tools/new_ci/base_function_module/interface/db_advance_package.py
3b231e5da3d53eb50cae40218b912b5f28e49124
[]
no_license
dsxyy/tecs
81556f0731480f82d90afcef80fb6bf8b63377ca
bdb7f8455f2082afe9a16a71786b3ad8add296e7
refs/heads/master
2021-01-21T11:07:33.068222
2017-03-01T08:24:42
2017-03-01T08:24:42
83,524,822
1
0
null
null
null
null
GB18030
Python
false
false
10,211
py
#!/usr/bin/python # -*- coding: gb2312 -*- #******************************************************************************* # Copyright (c) 2012,中兴通讯股份有限公司,All rights reserved. # # 文件名称:ssh_advance_package.py # 测试内容:测试环境的数据库恢复和备份方法 # 当前版本:1.0 # 作 者:李孝成 # 完成日期:2012/12/24 #*******************************************...
[ "yao.yuan3@zte.com.cn" ]
yao.yuan3@zte.com.cn
50ce2f47306a4a5639b530dcc16fee8c1ee8a21b
1a4eb078abc3c4e19796ee0a6b56c972889cf7c8
/niadevice.py
893eccbccc4321ccccdaa2992d097f2a4df50093
[]
no_license
pborky/pyneuro
6397db2d51d0cb60501b1fb9eb181196b85513de
0efa007af70e8dba80ef6549c1a9f5c115fe4758
refs/heads/master
2020-05-18T04:34:35.607845
2011-09-28T17:21:59
2011-09-28T17:21:59
2,410,066
3
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
#!/bin/env python from pyneuro import NeuroDeviceUSB,NeuroDeviceError NIA_VENDOR = 0x1234 NIA_PRODUCT = 0x0000 NIA_HEADER = '''0 OCZ NIA USER OCZ NEURAL IMPULSE ACTUATOR 03.03.1017.51.36512 ...
[ "pborky@pborky.sk" ]
pborky@pborky.sk
6aaa96fca2f0988e8a953d3ea9d73960f446d645
af4d559792c4255d5f26bc078cd176b70c0e643f
/hpsklearn/components/linear_model/_omp.py
5ea2e28c9530e946a54473c50100917878145894
[ "BSD-3-Clause" ]
permissive
hyperopt/hyperopt-sklearn
ec7d5f97ba8fd5a2c283dfec2fa9e0170b61c6ce
4b3f6fde3a1ded2e71e8373d52c1b51a0239ef91
refs/heads/master
2023-08-02T07:19:20.259964
2022-12-15T17:53:07
2022-12-15T17:53:07
8,293,893
1,480
292
NOASSERTION
2022-12-15T17:53:08
2013-02-19T16:09:53
Python
UTF-8
Python
false
false
3,050
py
from hyperopt.pyll import scope, Apply from hyperopt import hp from sklearn import linear_model import numpy as np import typing @scope.define def sklearn_OrthogonalMatchingPursuit(*args, **kwargs): return linear_model.OrthogonalMatchingPursuit(*args, **kwargs) @scope.define def sklearn_OrthogonalMatchingPursu...
[ "38689620+mandjevant@users.noreply.github.com" ]
38689620+mandjevant@users.noreply.github.com
592fe916dff6173f79878fe433cb9c22429311b2
5158a5d5e5c9f499d9de2d7e2c9d7400b8ac7266
/svm_basic.py
197727617a6fda582ce7c12cdd7ded339a52ba3c
[]
no_license
PriyamJPatel/cs686-2018-01
9637f4bec009df85e25e35104dfea9ab6c2c1e7c
fe678d22ec8994f4d1b35ffde7e3298700752cf0
refs/heads/master
2021-04-12T10:55:33.196650
2018-05-11T06:30:39
2018-05-11T06:30:39
126,392,960
0
0
null
2018-03-22T20:44:37
2018-03-22T20:44:34
Python
UTF-8
Python
false
false
8,662
py
from numpy import * from time import sleep from classifier import classifier def loadDataSet(fileName): dataMat = []; labelMat = [] fr = open(fileName) for line in fr.readlines(): lineArr = line.strip().split(',') dataMat.append([float(lineArr[0]), float(lineArr[1])]) labelMat.appen...
[ "pjpatel3@dons.usfca.edu" ]
pjpatel3@dons.usfca.edu
0a6a59073b7043bda4ed6a38ceee5501721c11b1
db6533cae5a58becf3163d750cd890c73035d0c5
/set_mark/link.py
cc0f91e2b4be47254492f099864a57c07bc33132
[ "BSD-3-Clause" ]
permissive
goranmabi/openNAMU
7e076f18279614a69a7969e22cf3b9fa31605cb5
1c0781cb6034040032122df2514e6d8baecc6120
refs/heads/master
2021-05-16T16:15:14.076942
2018-02-01T10:04:09
2018-02-01T10:04:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,698
py
import sqlite3 import re from urllib import parse import hashlib def url_pas(data): return parse.quote(data).replace('/','%2F') def sha224(data): return hashlib.sha224(bytes(data, 'utf-8')).hexdigest() def link(conn, title, data, num, category, backlink): curs = conn.cursor() data = data.replace('&#9...
[ "min08101@naver.com" ]
min08101@naver.com
f306020b90d5c15f9e8481d52d2d5a2b44fd8e51
6267a0052665bbbce937d667b19192b1fe13f8d0
/moshi_login/urls.py
99131ebc2c04cb95013efad56e22a54109ba4f62
[]
no_license
21nupur/XHPLoginbackend
7d52caf8dd21614d478510806cdfd9ae2a95351e
bce0a1ef9f677504b48b95307f0ccc5b263c3714
refs/heads/master
2022-12-17T09:10:46.769308
2019-05-26T15:32:15
2019-05-26T15:32:15
188,698,106
0
0
null
2022-12-08T05:10:19
2019-05-26T15:09:50
Python
UTF-8
Python
false
false
1,493
py
"""moshi_login URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "1996nupurpandey@gmail.com" ]
1996nupurpandey@gmail.com
3efa40b1568ac779495027a89b5b37e1c9ac8094
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/3303.py
9127ca7f11dd01a24730d2a21ab3e5fad553dcc5
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
def parse_input(str): str_first_val = str.split() real_digits = [ int(c) for c in str_first_val[0] ] return real_digits def solve(test): big_number = parse_input(test) num_of_digits = len(big_number) index_of_max_incrising_digit = 0 for digit_ind in range(0,num_of_digits): if( big_n...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b2d852225e0eee9726acf98f89c5e40fa6649640
6320b4daf99fc88a7200eaa1602502e1345f4042
/Python/DataStruct/Tree/B_Tree.py
9b28c2947d83250e97e67d24037f1c9a18f1b1e1
[]
no_license
tbfungeek/algorithm
d7c1fa4a3434dee4c16476c59b7320ca57a14695
53567f1200978bc4e464216db8c7e6ef01468c57
refs/heads/master
2022-06-16T23:17:30.337540
2022-05-28T15:55:24
2022-05-28T15:55:24
244,155,282
3
0
null
null
null
null
UTF-8
Python
false
false
14,124
py
class BTreeNode(object): def __init__(self,capacity = 0, is_leaf = True): self.__capacity = capacity self.__is_leaf = is_leaf self.__index = 0 self.__keys = [0] * self.__capacity self.__children = [None] * (self.__capacity + 1) @property d...
[ "tbfungeek@163.com" ]
tbfungeek@163.com
fe11363128107797faa237d1e756beda980fde50
ae3361e515ae92752a152e7d2fc2c3bc45e03347
/djautotask/migrations/0007_auto_20190917_1009.py
0965206238e3ecdf9dfce1dcf45921dc3980942f
[ "MIT" ]
permissive
KerkhoffTechnologies/django-autotask
eff78c0a17c0fd855be4cc5df3cc3a2798571edc
ca9d49e1eb8e3dd99f0c6f91674a0e70d27dfaa1
refs/heads/master
2023-07-25T07:29:51.959050
2023-07-14T18:09:23
2023-07-14T18:09:23
134,658,648
7
7
MIT
2023-09-11T22:04:31
2018-05-24T03:56:14
Python
UTF-8
Python
false
false
1,640
py
# Generated by Django 2.1.11 on 2019-09-17 10:09 from django.db import migrations, models import django.db.models.deletion import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('djautotask', '0006_auto_20190916_1645'), ] operations = [ migrations.Cr...
[ "cameron@craftypenguins.net" ]
cameron@craftypenguins.net
9d5f726e7f02e1e59d2149457b0addd03be9b23d
77f4c8327a69780fd77575d9c7a59452c07f68f0
/awesome_web/wsgi.py
f794a0c0d081a22e096ed8b7369bfa18e4f99a42
[ "Apache-2.0" ]
permissive
WuQianyong/awesome_web
7e8f46e0b5fff1f0ef1d0f1a3487afe454361b48
70438cc78fbc38c7173c30cdfd9f171ba16c6470
refs/heads/master
2021-05-16T00:16:10.634721
2017-10-11T09:45:31
2017-10-11T09:45:31
106,401,204
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
""" WSGI config for awesome_web project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "wuqianyong1995@163.com" ]
wuqianyong1995@163.com
4aa9f64fbfab6e8cd56acc0886dcc881f4b7a5c5
bffb3cc4694941a278f4670af554c59872421f36
/cyshg/views.py
6d9d90357d9f5bac48a674d2dcebcb97e35cab72
[]
no_license
penglian518/Aqua-mer
f26c34ea95bd67ebf99ceb0465f95e9e9730dc7a
80c7188d72d7f813fe7129be08854601094ca6a5
refs/heads/master
2021-04-28T11:01:15.288723
2020-03-26T17:50:51
2020-03-26T17:50:51
122,079,980
0
1
null
2018-04-18T19:40:00
2018-02-19T15:13:59
Python
UTF-8
Python
false
false
783
py
from django.shortcuts import render, redirect, get_object_or_404 from django.http import HttpResponse, Http404 from django.core.exceptions import ObjectDoesNotExist import json from scripts.VistorStatistics import clientStatistics from .models import StatisticsData # Create your views here. def index(request): c...
[ "penglian518@foxmail.com" ]
penglian518@foxmail.com
a98d5fa157114917f552657e302bbe47cba8d684
dcec651059c0bddbcd88264e53f6a9ba979cb598
/Arithmetic/inverse_modular.py
bd4ccaabce253630d2731dcafb83bfd89ba72897
[]
no_license
Kestrel67/Python-Libraries
4c0b94b8d18282c3827ec3ccc26d76305ab4ac6c
02dad1791bddbaac01f98b33fbd31b8d70035a60
refs/heads/master
2021-01-22T11:51:52.255304
2014-11-16T21:58:04
2014-11-16T21:58:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
from euclide import gcd # decorator def coprimes(func): def funcp(a, b): if gcd(a, b) != 1: raise Exception('a et b ne sont pas premiers entre eux') return func(a, b) return funcp # equa diophantienne # dioph(247825482538725487253872458725387254782537, 24785245872358725487253487258...
[ "lucas.dietrich.pro@gmail.com" ]
lucas.dietrich.pro@gmail.com
5e34d8613ea0c7bde87d6a8f970a0f0ef996335c
aa523547194d2b91ffda55ade56ba4a319b6e909
/server.py
c9cedfd4580b55972ea7bcc49492e52b93e3d95d
[]
no_license
barbuza/delay
78f65ca24d0e0c1f8d1b31d9d5d2523948f69cf5
5cb187dbed50bd0620e8f5ddf863069b1699a92b
refs/heads/master
2020-05-19T20:14:50.222792
2015-07-20T20:13:12
2015-07-20T20:13:12
39,405,754
2
0
null
null
null
null
UTF-8
Python
false
false
2,875
py
#!./venv/bin/python import json import asyncio import psycopg2 import click from aiohttp import web from data import Store, Entity class JsonEncoder(json.JSONEncoder): def default(self, o): if isinstance(o, Entity): return dict(o.data, **{'id': o.id}) return super(JsonEncoder, self)....
[ "barbuzaster@gmail.com" ]
barbuzaster@gmail.com
d6f1e3ab4ff88ca2a4b553c4d4d48afae1da0610
c572b70737bd5ec30cc2e31b29c8906a8de03544
/divide_conquer_quick_sort.py
35f2d3610f8d336819bd5d84f9cdcfce522e3d76
[ "MIT" ]
permissive
rotnozeerin/algorithms-python
072a1d44d75ca87b139ae1b367ad1dcfe78997ae
75e62e510163a7cb2c877db4a8a6fc329c4fee4c
refs/heads/master
2023-03-19T04:15:19.261253
2017-06-17T07:59:12
2017-06-17T07:59:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
#takes O(n^2) time def quick_sort_slower(array): if(len(array) < 2): return array pivot = array[0] pivot_left_array = [i for i in array[1:] if i<= pivot] pivot_right_array = [i for i in array[1:] if i> pivot] return quick_sort_slower(pivot_left_array) + [pivot] + quick_sort_slower(pivot...
[ "arafat.mahmud@revesoft.com" ]
arafat.mahmud@revesoft.com
e7c04ec2cf024157d985c805cf4d4068468f9938
19ee165c252970294333e203728020cdcae550b3
/agc018/agc018_a/20200210103816.py
ab764993bcef7aa989b4543b9e7a8b7a477f7530
[]
no_license
autumncolors11/atc_submits
4528c700e488d530f9cdde3a4198f36b30c3d35e
6f9689b6d7de45fd4e44ad118e4e3531bb8dac4d
refs/heads/master
2022-11-28T17:59:55.750896
2020-08-09T14:10:05
2020-08-09T14:10:05
258,122,955
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
import sys sys.setrecursionlimit(10**6) from math import floor,ceil,sqrt,factorial,log from heapq import heappop, heappush, heappushpop from collections import Counter,defaultdict,deque from itertools import accumulate,permutations,combinations,product,combinations_with_replacement from bisect import bisect_left,...
[ "biomimetics500tour@gmail.com" ]
biomimetics500tour@gmail.com
27753c3a2a4483688bfc4471b2d0f7c8f2451bb0
44b1e8cbf6bb78bb20d5ad50405a5b9f5134e2e7
/pycomsoc/winners/nw.py
b449cd89cd2472a150686ef0fb70d0d865c1b34e
[]
no_license
TheoDlmz/DBCOMSOC
dc437fce15b03b7521eece308e5772063907d0e2
14c9db233be31881ad7d35d80300b81bbb636703
refs/heads/master
2020-05-01T19:36:41.701130
2020-02-15T20:20:23
2020-02-15T20:20:23
177,652,784
0
0
null
null
null
null
UTF-8
Python
false
false
46,218
py
# Library pyCOMSOC for computational social choice # New York University 2019 # All the function below are based on the paper by Xia and Conitzer # Algorithms for Necessary Winner computation on partial orders ## Imports import numpy as np import random from multiprocessing import Pool import time ## Tools def __i...
[ "34279251+TheoDlmz@users.noreply.github.com" ]
34279251+TheoDlmz@users.noreply.github.com
948a40b4887290235480dbb0b1b338e9b123a66d
5a30a2910498b7f738a3eab68a40a8fbbcba27c2
/Tarea 1/tarea-1-hadoop/join2-reducer.py
a836ba7aa0a2d60c4712f6a0d3fdc3ae43e35d05
[]
no_license
paulanavarretec/IIC-3423-big-data
b27e8aa634a123906e2ff1c1e0622c52bd8b28ea
05d3476f2988678c2df9b2704c8649ba5ce22620
refs/heads/main
2023-08-28T17:20:54.590102
2021-10-08T02:02:19
2021-10-08T02:02:19
414,814,135
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
#!/usr/bin/env python import sys import string last_programa = None audiencia_total = 0 for line in sys.stdin: # Tratamiento de palabras desde entrada estandar line = line.strip() # Parseo de elementos (clave, valor) agrupados por clave programa,audiencia = line.split(" ") audiencia = int(audienc...
[ "noreply@github.com" ]
noreply@github.com
dc85fab7d7d45de099b87639674ff0ef08b306c1
f8d3f814067415485bb439d7fe92dc2bbe22a048
/models/research/object_detection/exporter.py
0abe25a0a8504f1390b6187e755d9d6d1a7a13a3
[ "Apache-2.0" ]
permissive
gmonkman/python
2f9ab8f159c01f6235c86cb0cd52062cd3fdedd3
9123aa6baf538b662143b9098d963d55165e8409
refs/heads/master
2023-04-09T15:53:29.746676
2022-11-26T20:35:21
2022-11-26T20:35:21
60,254,898
0
2
null
2023-03-24T22:58:39
2016-06-02T10:25:27
Python
UTF-8
Python
false
false
19,824
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gmonkman@mistymountains.biz" ]
gmonkman@mistymountains.biz
ad938e02c950dfe5c347d6b032b1ce44e86cd517
ffeec00fca386585c40aa7b22407ef166f50a8ab
/AudioServer/App/migrations/0006_auto_20210515_2016.py
1f0f1bbcde42d6a9d3d11b5479262b822dee5a6a
[]
no_license
SyamPrakash07/AudioServer
5bec2dc2f89444bacc12e79451f6905fc6381245
9d1b68160ad53c242e9230e0aec0a1701b4a4ee6
refs/heads/master
2023-05-01T11:55:11.012030
2021-05-16T08:07:07
2021-05-16T08:07:07
367,694,400
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
# Generated by Django 3.2.3 on 2021-05-15 14:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('App', '0005_auto_20210515_1746'), ] operations = [ migrations.AddField( model_name='audiobook', name='image', ...
[ "syamsurya987@gmail.com" ]
syamsurya987@gmail.com