blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
c4cfa8d1f515ccd1db8a8bc200b4be3756aa7ee5
f1738cd603e0b2e31143f4ebf7eba403402aecd6
/ucs/services/univention-samba4/scripts/mount_extfs_with_user_xattr.py
2d16e7e0afec9c4bb662d156572961b9fad2799e
[]
no_license
m-narayan/smart
92f42bf90d7d2b24f61915fac8abab70dd8282bc
1a6765deafd8679079b64dcc35f91933d37cf2dd
refs/heads/master
2016-08-05T17:29:30.847382
2013-01-04T04:50:26
2013-01-04T04:50:26
7,079,786
8
6
null
2015-04-29T08:54:12
2012-12-09T14:56:27
Python
UTF-8
Python
false
false
3,409
py
#!/usr/bin/python2.6 # # Copyright 2011-2012 Univention GmbH # # http://www.univention.de/ # # All rights reserved. # # The source code of this program is made available # under the terms of the GNU Affero General Public License version 3 # (GNU AGPL V3) as published by the Free Software Foundation. # # Binary version...
[ "kartik@debian.org" ]
kartik@debian.org
130a6ac0797c2fcb39322bcead7677bd23919b6f
18fe3f034f203bc8a22d08f15b29297ebcc7dfaf
/example/py/QFT/qft.py
3ebbc269eee255154af2fe6f329ce81fc57cf5c1
[ "Apache-2.0" ]
permissive
katou-boop/qlazy
b8802c48b0cba0ba89cc1e1a69f551e0f4fdcc73
6b62fff65939a589603af7ed8be921c9f1669bb3
refs/heads/master
2023-02-17T12:30:05.419650
2021-01-17T23:20:20
2021-01-17T23:20:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,972
py
import numpy as np from pprint import pprint from qlazypy import QState def swap(self,q0,q1): self.cx(q0,q1).cx(q1,q0).cx(q0,q1) return self def qft2(self,q1,q0): self.h(q1).cp(q0,q1,phase=0.5) self.h(q0) self.swap(q0,q1) return self def iqft2(self,q0,q1): self.h(q0) self.cp(q0,q1,...
[ "saminriver33@gmail.com" ]
saminriver33@gmail.com
48c46b8c3bd246ff8dfade058f8405c50c55756f
c795ec7f77219892183a1222fb51b8be2e754944
/multiverse server/multiverse-server/multiverse/config/common/world_mgr.py
6976b6861d72f935a7b2bd64a1922079de12e108
[ "MIT" ]
permissive
radtek/MultiverseClientServer
89d9a6656953417170e1066ff3bd06782305f071
b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379
refs/heads/master
2023-01-19T04:54:26.163862
2020-11-30T04:58:30
2020-11-30T04:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# # The Multiverse Platform is made available under the MIT License. # # Copyright (c) 2012 The Multiverse 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 restrict...
[ "demckay@outlook.com" ]
demckay@outlook.com
103205f28504d218bc32fc2208b56de23c9211c2
dcd49c222f07454dd365d861a87dead23b850a33
/presentation/demo1.py
2caa317785922612af8e8fdca94f13f5b1c5bc33
[]
no_license
sumsted/mempy_20160321
40d7c8e0677ed0fea7f68a0680a2c9b9e090c9a9
5b82c9bbe3f7a4aa8075ffcd60956b95d99009af
refs/heads/master
2021-01-10T03:30:13.467656
2016-03-22T20:41:51
2016-03-22T20:41:51
54,350,637
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
import ast def examine(ast_body, class_name=None): for node in ast_body: if isinstance(node, ast.ClassDef): examine(node.body, node.name) elif isinstance(node, ast.FunctionDef): arguments = [] for i, arg in enumerate(node.args.args): if arg.id !=...
[ "scottumsted@gmail.com" ]
scottumsted@gmail.com
6b07facc356d125a46cf27020753a06cbae87c8c
e744ad7d93455843cca5851af610bbfbc3d47b63
/api/views.py
d71a5acfcaa1df49bc4aca112f41d46a5b68caeb
[]
no_license
danish703/cbvdjango
08a7706791fbca5c8058ed59888318956127786b
584413d40a9891ae12e9bc3213b1c340ad6d0b85
refs/heads/master
2023-01-24T07:02:57.015535
2020-12-05T22:19:44
2020-12-05T22:19:44
316,874,748
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from .serializers import BookSerializer from book.models import Book from django.http import JsonResponse from rest_framework.parsers import JSONParser from rest_framework.decorators import api_view @api_view(['GET','POST']) def booklist(request): if request.method=='GET': bl = Book.objects.all() ...
[ "dipu.danish@outlook.com" ]
dipu.danish@outlook.com
5d7d56fb4d01484cb44b34a1e7babd11278857fd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/167/usersdata/353/68772/submittedfiles/jogoDaVelha.py
c7abcd19afe1a0b57a6d183362bce11d1a514024
[]
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
615
py
# -*- coding: utf-8 -*- import math #ENTRADA x1 = int(input('Digite x1: ')) x2 = int(input('Digite x2: ')) x3 = int(input('Digite x3: ')) x4 = int(input('Digite x4: ')) x5 = int(input('Digite x5: ')) x6 = int(input('Digite x6: ')) x7 = int(input('Digite x7: ')) x8 = int(input('Digite x8: ')) x9 = int(input('Digite x9: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
74f8fe8858f6e1ff173e06a4f45c4b2199918cb6
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/62/usersdata/233/31358/submittedfiles/ex1.py
da0cf9c7c68161f7900900d0da6ff776a3d9916a
[]
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
311
py
# -*- coding: utf-8 -*- from __future__ import division a=input(float('Digite a:')) b=input(float('Digite b:')) c=input(float('Digite c:')) Delta=(b**2)-(4*a*c) if Delta>=0: x1=(-b+Delta**(1/2))/(2*a) x2=(-b-Delta**(1/2))/(2*a) print('x1:%.2f'%x1) print('x2:%.2f'%x2) else: print('SRR')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7b48da91b2aeb4b344130b2fc9b3487bb30b87cb
b7483b4bfa9f9feec9d4ec6d96cdabf6b6f0446f
/web_10_jul_dev_7373/urls.py
d389ea52bac75c194054b2040a6e83891c31f38d
[]
no_license
crowdbotics-apps/web-10-jul-dev-7373
7f0ed959b477cf2f29e2de23a4bd3e0342a76c70
91f0fb64618ee52b5a672ceca97f42e793ed7a4b
refs/heads/master
2022-11-18T08:20:37.760939
2020-07-10T11:31:41
2020-07-10T11:31:41
278,540,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
"""web_10_jul_dev_7373 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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')...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0557bddbd415ed9c7add2388c3f9cf3ff71f3edd
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2020_04_23_20_09_22_443850.py
7d98a0f91bc968643c0089af48c18487d99171f2
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
import math def calcula_gaussiana(x, mi, sigma): y = (1/ sigma* (2*math.pi)**0.5) * math.exp((-0.5)*((x-mi)/sigma)**2) return y
[ "you@example.com" ]
you@example.com
abb096ef90bc16ae6e689a662add4b89d5a0eb6c
d3c21f0051e5ca2f45d98381b0372b4cd916b213
/cgi-bin/module/plugins/hoster/HellshareCz.py
0add79ed9ef88640919558cbe79f2285005d4b23
[]
no_license
f3l/shareacc
ca165272f4265180d9178b6a066c69a0b368f8dd
615c71216317f7ac46b5217f5672cad0c71a1e49
refs/heads/master
2020-04-06T06:41:11.278718
2013-02-05T15:15:15
2013-02-05T15:15:15
4,640,503
0
1
null
null
null
null
UTF-8
Python
false
false
5,102
py
# -*- coding: utf-8 -*- """ 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 3 of the License, or (at your option) any later version. This program is distributed in ...
[ "root@server3.kruton.de" ]
root@server3.kruton.de
9e9d6d52dad7d50b577493a4e9f2211b99cd2907
463283665d8509e3834caeb9594c8c434c656580
/backend/metro_go_19413/settings.py
f4a246429304c5a8c170afd586aa8ac185d57d47
[]
no_license
crowdbotics-apps/metro-go-19413
da18250b50c338297d96a2bc738ed46e0edd2c3e
ba167f73af28e2109b042fa936f41d04abdb5663
refs/heads/master
2022-11-27T05:03:57.107712
2020-08-06T01:20:03
2020-08-06T01:20:03
285,441,509
0
0
null
null
null
null
UTF-8
Python
false
false
5,910
py
""" Django settings for metro_go_19413 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ impor...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
57eb39120030442c49d75ff10313cc2e7108e3f3
91a1519b82a43f4cd9b1a36cfb19e27f6afcbae3
/src/models/nli.py
3c07c282476e14a9a7b986f257b62d80cdea0161
[]
no_license
stanleysie/usc_dae
b45d2a1d47ec7b50408fc1607348155ee6cd7a1e
9da432971d165b5b2068fa9724a495f88d3ef5f2
refs/heads/master
2023-02-16T11:22:46.398444
2019-02-09T15:57:45
2019-02-09T15:57:45
321,680,275
0
0
null
2020-12-15T13:43:47
2020-12-15T13:43:46
null
UTF-8
Python
false
false
3,992
py
import os import numpy as np import sys import torch import torch.nn import torch.nn.functional as F from torch.autograd import Variable def get_nli_model( nli_code_path, nli_pickle_path, glove_path, word_list, verbose=True): assert os.path.exists(nli_code_path) sys.path += [nli_code_path] if ver...
[ "email@jasonphang.com" ]
email@jasonphang.com
941bd6352a9145867cac9e526b61a89c8c16ed7a
60dc372f5964737b8463db7eda386017098e923d
/assets/pre-commit/setup.py
b6fc2648ccc60273b1f458cd7f0fddf9157666ab
[]
no_license
jambo6/scripts
612e1debc9a4266dc2680b93927a883cf456e4e2
cec34d096da924c39bc6a346e7433691b8288f3a
refs/heads/main
2023-02-27T03:42:37.346527
2021-01-31T18:08:12
2021-01-31T18:08:12
334,722,916
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import setuptools with open("../requirements.txt") as f: required = f.read().splitlines() setuptools.setup( name="sacredex", version="0.0.1", description="Custom functions for working with sacred for ML projects.", url="https://github.com/jambo6/sacredex", author="James Morrill", author_em...
[ "james.morrill.6@gmail.com" ]
james.morrill.6@gmail.com
7810a51ec0777c0f5663369a7489015114f390a0
924750bdb72b9a6746fc807acd0ac665aca54b08
/CH7_User_Input_And_While_Loops/7-5_Movie_Tickets_2.py
e380fe07bd14ca5b96ef8f743ed2a8cdf3538a2b
[]
no_license
jiez1812/Python_Crash_Course
0a8ad80ddaa6bd14f2ca8d26029b9556584d13b5
e460d9ccf9610ea3e306137789e36fc1f2e8a5f9
refs/heads/master
2021-10-27T06:38:47.185228
2019-04-16T17:03:23
2019-04-16T17:03:23
103,537,248
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
prompt = "Please tell us your age for price of ticket." prompt += "\n(Enter 'quit' to exit)\nAge: " active = True while active: ans = input(prompt) if ans == 'quit': active = False print('Thank you for enquiry.\n') elif not ans.isdecimal(): print('Please insert valid input.\n') ...
[ "jieztee@gmail.com" ]
jieztee@gmail.com
19709ed76a6566e830d9d2f769db316d2ce51e0c
0a1f8957a798006deaa53d10d09f733fab1e6b05
/analysis_tools/ExamplePython/output/scripts/python_sample.py
bd91218667520b112670e9a9b42c185513b831ea
[ "LicenseRef-scancode-other-permissive" ]
permissive
metamorph-inc/meta-core
a89504ccb1ed2f97cc6e792ba52e3a6df349efef
bc7a05e04c7901f477fe553c59e478a837116d92
refs/heads/master
2023-03-07T02:52:57.262506
2023-03-01T18:49:49
2023-03-01T18:49:49
40,361,476
25
15
NOASSERTION
2023-01-13T16:54:30
2015-08-07T13:21:24
Python
UTF-8
Python
false
false
4,295
py
import glob import logging from optparse import OptionParser import os import sys import json from lxml import etree from collections import Counter # ------------------ setting up logger ------------------------------ # create logger with 'python_sample_analysis_tool' logger = logging.getLogger('python_sam...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
043fa102e3eab792ac475330290ce4b64af9b2b7
f3d75509d63297588227b7652462bb95bfed3c52
/les_9_task_1.py
34108af3cf38d8839641192ae84634ff579a0c09
[]
no_license
snlnrush/python-alg-and-data
220faa912ab1ce7ad53c62aa905d792ef4c5d280
a4a3d20e46dc48bf394733e7cf6dccabdcf9bed4
refs/heads/master
2022-06-17T01:59:26.439289
2020-05-08T10:19:08
2020-05-08T10:19:08
260,943,073
0
0
null
2020-05-07T15:02:13
2020-05-03T14:30:07
Python
UTF-8
Python
false
false
2,627
py
""" 1. Определение количества различных подстрок с использованием хеш-функции. Пусть на вход функции дана строка. Требуется вернуть количество различных подстрок в этой строке. Примечания: * в сумму не включаем пустую строку и строку целиком; * задача считается решённой, если в коде использована функция вычисления хеша...
[ "cross-fire@list.ru" ]
cross-fire@list.ru
5cbaa3a0c17afdda242c582e4d10e2db771fe03d
88f7d5eaeb39a5ee83f90a2f55af2c3eb5135147
/fastai/callback/mixup.py
64ae6656a6d873c6aca2c1097d09c19233777817
[ "Apache-2.0" ]
permissive
abcp4/fastai
7671f488cc6f969a2594e22be94bb6d3d3172504
769ba85d789905d68953daba6c3b52d4e9b2359b
refs/heads/main
2023-02-15T04:47:15.850298
2021-01-02T14:42:32
2021-01-02T14:42:32
321,826,680
0
0
Apache-2.0
2020-12-16T00:46:10
2020-12-16T00:46:09
null
UTF-8
Python
false
false
1,828
py
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/19_callback.mixup.ipynb (unless otherwise specified). __all__ = ['reduce_loss', 'MixUp'] # Cell from ..basics import * from .progress import * from ..vision.core import * from ..vision.models.xresnet import * from torch.distributions.beta import Beta # Cell def reduce...
[ "noreply@github.com" ]
abcp4.noreply@github.com
976bdff97c1361b41eb3808f0f6cb9e95a95cfab
f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b
/controller/src/vnsw/agent/uve/cpuinfo.py
80d92022e419afb85b9029f67a97f308f6fec132
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
pan2za/ctrl
8f808fb4da117fce346ff3d54f80b4e3d6b86b52
1d49df03ec4577b014b7d7ef2557d76e795f6a1c
refs/heads/master
2021-01-22T23:16:48.002959
2015-06-17T06:13:36
2015-06-17T06:13:36
37,454,161
2
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
# # Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. # import os import psutil from vrouter.cpuinfo.ttypes import * class CpuInfoData(object): def __init__(self): self._process = psutil.Process(os.getpid()) self._num_cpu = 0 #end __init__ def _get_num_cpu(self): re...
[ "pan2za@live.com" ]
pan2za@live.com
743856619a6a9fc5acc3233b6ab7ab96997f0904
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/103/usersdata/162/50409/submittedfiles/av1_3.py
5aa313f32026797e5c578a1fe5530ca39d1c1606
[]
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
270
py
# -*- coding: utf-8 -*- import math a=int(input('Digite o primeiro número:')) b=int(input('Digite o segundo número:')) ant=a atual=b cont=1 resto=ant%atual while resto!=0: post=atual atual=resto cont=cont+1 if post%atual==0: print(atual)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
10130ff786d81789a85eb06a31e9cd1149eae79c
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/problem/party/php.py
95b563f2a716c46065800645e6ab63e4b5ad8439
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
2,092
py
using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Translator.API; namespace CSharp_TranslateSample { public class Program { private const string SubscriptionKey = "efc1a84836c7f3db9a730df44241ab30"; //Enter here the Key from your Microsoft Translator...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
76ed5acab4d05e27f6421542aa707aaf3fd5d882
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/examples/PyQt5_From_A-Z/grid_layout_finished.py
85447004de92d82364cad5e37cd54c06fd797271
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,473
py
import sys from PyQt5.QtWidgets import * class DlgMain(QDialog): def __init__(self): super().__init__() self.setWindowTitle("My GUI") ###### Create Widgets self.btn0 = QPushButton("0") self.btn1 = QPushButton("1") self.btn2 = QPushButton("2") self.btn3 = Q...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
4f66a53c65fec5b4196f05e07ca1ccfc1d230bdd
b31eceb853c456a65bf69a2768746e452080e52b
/models.py
6191e81c9607e37c9acb37b4ef1e1cfec22569c2
[]
no_license
100ballovby/RegistrationLoginProject
aa3c4c7e78e9051baa6fe5ee3a7caa582b7cee17
0326e60ef12b454b85ef53db600626d28e620264
refs/heads/master
2023-04-25T03:38:13.488835
2021-05-07T10:49:05
2021-05-07T10:49:05
356,241,390
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
from werkzeug.security import generate_password_hash, check_password_hash from app import db from flask_login import UserMixin class User(UserMixin, db.Model): __tablename__ = 'users' id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(100), unique=True) password = db.Column(d...
[ "greatraksin@icloud.com" ]
greatraksin@icloud.com
ac2af978c046a708f98bd9a243417cce387b618b
d1187000cb4adf677cb255243b25bd78cbf1dbd1
/bin/netconf.py
ecfd21c256afda2487d8cf38351f00f7783d1c6f
[]
no_license
kgrozis/netconf
f87dadbb3082f69c4bad41f10c64224c135d1958
997be27a6b74f3ded5ec9a57fde2d227d1b67a70
refs/heads/master
2021-01-09T20:26:44.481551
2017-01-03T19:28:40
2017-01-03T19:28:40
60,799,673
1
0
null
null
null
null
UTF-8
Python
false
false
4,416
py
#!/usr/bin/python # coding=utf-8 from ncclient import manager import logging, sys, os from urlparse import parse_qs def nc_connect(host, port, user, password): return manager.connect(host=host, port=port, username=user, password=pass...
[ "kgrozis@mac.com" ]
kgrozis@mac.com
9e7e5d9e60c715860dca0cb062bd1beb0810e9ae
e7ce273f404f82fd8672c97e50b386509c8f9870
/Web/blog/base/tests/models.py
6730e6c8a65ccd308f2cb035991a5ace35484805
[]
no_license
rzlatkov/Softuni
3edca300f8ecdcfd86e332557712e17552bc91c3
a494e35bff965b2b9dccc90e1381d5a1a23737a1
refs/heads/main
2023-07-02T12:49:59.737043
2021-08-13T20:47:07
2021-08-13T20:47:07
319,088,872
0
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
from django.contrib.auth.models import User from django.test import TestCase from base.models import Post, Category, Comment, Profile class TestPostModel(TestCase): def test_post_model(self): user = User.objects.create_user(username='john', password='adidas1234') category = Category.objects.create...
[ "nozzller@gmail.com" ]
nozzller@gmail.com
a47f5b70b9545ca2cf8a5bd1e460b160ec0f7cec
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/25. Introduction to MongoDB in Python/Chapter/03. Get Only What You Need, and Fast/12-Pages of particle-prized people.py
dcb8dae05b4f7a5f7c7953cd5120b3f5217b52e1
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
''' Pages of particle-prized people You and a friend want to set up a website that gives information on Nobel laureates with awards relating to particle phenomena. You want to present these laureates one page at a time, with three laureates per page. You decide to order the laureates chronologically by award year. Wh...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
f5b79e3925b4be962a38cf717bbb9dd8846ce909
945d9e4746b547eea98033d965096d9486e79875
/plotting.py
6805411c34402405cd62f21b97f60a59fdebf428
[]
no_license
VivekVinushanth/flask-website
f0d7d277c51c4500aec6dba4aac119faf9a7a9ab
763f546e0d539d8db63fd328f2674c39a6385bae
refs/heads/master
2022-01-25T20:32:27.371569
2019-05-30T09:48:26
2019-05-30T09:48:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import pandas as pd from plotnine import * def plot(time_stamps,type): try: # read data data = pd.read_csv("OutputDTM.csv") #time_stamps = ['May'] #type='Month' value=time_stamps[0] if(type=="Month"): nudege_x=[0,0,-0.4,0.5,-0.4,0,0.2,0.7,0.2,0.5,0....
[ "aathmant@gmail.com" ]
aathmant@gmail.com
9e7a337d67a984ae180402e72a49623e4d1bf731
5977adc1f60df46c88f3b33d3d11455577cd4b94
/tsn/model/norm_helper.py
18b5a90f44c7e5e0cbdf910321f72e896ca72a88
[ "Apache-2.0" ]
permissive
ttykelly/TSN
ad551f033912df6c7683865829b5d00a18284018
ec6ad668d20f477df44eab7035e2553d95a835f3
refs/heads/master
2023-03-16T03:03:42.393558
2021-01-26T07:32:26
2021-01-26T07:32:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
# -*- coding: utf-8 -*- """ @date: 2020/9/23 下午2:35 @file: norm_helper.py @author: zj @description: """ import torch.nn as nn from functools import partial from .layers.group_norm_wrapper import GroupNormWrapper def convert_sync_bn(model, process_group): sync_bn_module = nn.SyncBatchNorm.convert_sync_batchnor...
[ "wy163zhuj@163.com" ]
wy163zhuj@163.com
aba46b99d2069ceec20b4492cd753a493b738309
f4b8c90c1349c8740c1805f7b6b0e15eb5db7f41
/test/test_event_custom_field_item.py
dfb969bd33f6b4d981d2ad3cd0c1ee3115ba5a41
[]
no_license
CalPolyResDev/StarRezAPI
012fb8351159f96a81352d6c7bfa36cd2d7df13c
b184e1863c37ff4fcf7a05509ad8ea8ba825b367
refs/heads/master
2021-01-25T10:29:37.966602
2018-03-15T01:01:35
2018-03-15T01:01:35
123,355,501
2
1
null
null
null
null
UTF-8
Python
false
false
1,086
py
# coding: utf-8 """ StarRez API This is a way to connect with the StarRez API. We are not the developers of the StarRez API, we are just an organization that uses it and wanted a better way to connect to it. # noqa: E501 OpenAPI spec version: 1.0.0 Contact: resdev@calpoly.edu Generated by: https...
[ "fedorareis@gmail.com" ]
fedorareis@gmail.com
f3fd59897c789d4bf7076e6b748acfca3934eeb9
f4f54015298eedfbbdfcaaf5e2a9603112f803a5
/New_morning_batch/mod/prime_no.py~
0dd10feec5df0cc84c4f6361bbeb8d65ad145830
[]
no_license
raviramawat8/Old_Python_Codes
f61e19bff46856fda230a096aa789c7e54bd97ca
f940aed0611b0636e1a1b6826fa009ceb2473c2b
refs/heads/master
2020-03-22T22:54:50.964816
2018-06-16T01:39:43
2018-06-16T01:39:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
"""This module contains a function called prime.prime function takes one argument as a int number and return True if no is prime else return false.""" def prime(num): """It will return True if num is prime else it will return False.""" for var in range(2,num//2): if num % var == 0 : ...
[ "sachinyadav3496@gmail.com" ]
sachinyadav3496@gmail.com
0ab22da9dd4c4bc2c29f7f4a1492d14d628ef17c
152370a70a0e99fe854a31dcde49c3966d53b3b8
/day9/word.py
f916f0014f14544f9a90338f90715ecc2609dae4
[]
no_license
thesharpshooter/codeforce
c6fb93f14faa267d7af2cc61142b89c77d4e150b
e687696cc63245f3d3f399b38edabe8e6fdd25b3
refs/heads/master
2021-01-11T18:03:34.486823
2017-03-23T18:56:12
2017-03-23T18:56:12
79,480,391
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
string = raw_input() lower_count = sum(map(str.islower,string)) upper_count = sum(map(str.isupper,string)) if lower_count < upper_count: print string.upper() else: print string.lower()
[ "prakash9266@gmail.com" ]
prakash9266@gmail.com
372ad8dfd0d414bbd320c485048ab9715efc3aa6
162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d
/examples/plot_changed_only_pprint_parameter.py
241dc3fd25daf68d0d39761e02f80423bf2b706e
[]
no_license
testsleeekGithub/trex
2af21fa95f9372f153dbe91941a93937480f4e2f
9d27a9b44d814ede3996a37365d63814214260ae
refs/heads/master
2020-08-01T11:47:43.926750
2019-11-06T06:47:19
2019-11-06T06:47:19
210,987,245
1
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
""" ================================= Compact estimator representations ================================= This example illustrates the use of the print_changed_only global parameter. Setting print_changed_only to True will alterate the representation of estimators to only show the parameters that have been set to non...
[ "shkolanovaya@gmail.com" ]
shkolanovaya@gmail.com
6ae8c5d0f194a0fb7363bd2bf0d5f322656edd0d
c2588b904cae9b93b94866c3871baaa93935ea06
/src/deepwalk/__main__.py
b2827ba369d628653f6151a9b72104f149b83134
[]
no_license
Xueping/word2vec
c0a46f7fe73e8cd21595c97d2aa7ccf1d540063b
b3c69889cdaf226d1b94897615d4fcfcb10b3cf2
refs/heads/master
2021-01-10T14:35:18.677983
2016-01-28T23:59:53
2016-01-28T23:59:53
46,965,855
0
0
null
null
null
null
UTF-8
Python
false
false
5,623
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter import logging import random import sys from gensim.models import Word2Vec import graph from skipgram import Skipgram import walks as serialized_walks # p = psutil.Process(os.getpid()) #p.set_cpu_affin...
[ "pengxueping@gmail.com" ]
pengxueping@gmail.com
6e50912db103808c586e8671afb6a75660485c45
01c3ff1d74e754e0d4ce0fb7f8a8b329ec3766e1
/python_exercises/19others/new.py
6dc3659c467f80557bb521229f703b1e4a9bb2ae
[]
no_license
vineel2014/Pythonfiles
5ad0a2b824b5fd18289d21aa8306099aea22c202
0d653cb9659fe750cf676a70035ab67176179905
refs/heads/master
2020-04-28T03:56:22.713558
2019-03-11T08:38:54
2019-03-11T08:38:54
123,681,939
1
0
null
null
null
null
UTF-8
Python
false
false
130
py
from tkinter import * root = Tk() button = Button(root, text="Click here", command=quit) button.pack() root.mainloop()
[ "vineel2006@gmail.com" ]
vineel2006@gmail.com
c9dccbc6f437ccc40accc1a839db9e30904aebea
a9024ba9ef408317a06253af125d34454ac3fac8
/datawandcli/tests/parameters_test.py
7ac0a470046d492a83aeea17297ba1b052a217c4
[]
no_license
ferencberes/datawand-cli
562ac624264d4ec78153bd47e3213946830a2168
26c33ec09f940ee1f94da930957df6c256b550b5
refs/heads/master
2023-01-30T18:20:55.143403
2020-12-14T12:07:07
2020-12-14T12:07:07
254,948,772
0
0
null
null
null
null
UTF-8
Python
false
false
6,675
py
from datawandcli.components.objects import * from datawandcli.parametrization import ConfigGenerator from shutil import rmtree import subprocess, os os.chdir("examples/parameter_handling/") def load_last_line(fp): last_line = "" with open(fp) as f: for line in f: last_line = line.rstrip() ...
[ "ferdzso05@gmail.com" ]
ferdzso05@gmail.com
e1f9a3992c2edb1d6291407769239ae738d34fa5
9ff04cb71cc95e26e04114291cd34dcd860eb9db
/hotspot-featurextract-service/featureExtract/general_utils.py
c8a5fe9cce065c955a228864af7c7c017e3a944d
[]
no_license
cwgong/hotspot-featurextract-service
323260895d1ac33d7d855402c4d97b9a4433cbec
885bb7d96e2b140e97c774b1ec0cb190feade3ae
refs/heads/master
2022-11-16T14:08:28.635460
2020-07-10T06:00:06
2020-07-10T06:00:06
278,551,253
0
0
null
null
null
null
UTF-8
Python
false
false
4,707
py
# -*- coding: utf-8 -*- import time import sys import logging import numpy as np def get_logger(filename): """Return a logger instance that writes in filename Args: filename: (string) path to log.txt Returns: logger: (instance of logger) """ logger = logging.getLogger('logger')...
[ "1372864243@qq.com" ]
1372864243@qq.com
3b7d30c32162ecda06916c6cad1c8db7a6a2fe9c
52bab17c7554fb4e3533d3f5742c1e65e063903a
/sample/add_image.py
018053f58311417fe55cd445a0f61cfa233e44de
[]
no_license
BlueLens/stylelens-index
f67d3e633b9a9909647d895bb12a238a6934b91c
c52cf1e1d26d1197936dff20b05c477f0b315287
refs/heads/master
2021-05-11T00:57:40.789986
2018-01-30T12:52:52
2018-01-30T12:52:52
108,110,962
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
from __future__ import print_function from stylelens_index.index_images import IndexImages from pprint import pprint api_instance = IndexImages() image = {} image['product_id'] = '1234' image['host_code'] = 'HCxxx' image['product_no'] = '1' image['version_id'] = 'test' try: api_response = api_instance.add_image(ima...
[ "master@bluehack.net" ]
master@bluehack.net
8aa62e38ae5fd087238b87db6f0c2c970ece3887
ee15248e4eb2065bc55215e09f66ff35beccba3c
/glance/common/imageutils.py
79a7277084462442c507f2465bbe4de231f1741f
[ "Apache-2.0" ]
permissive
starlingx-staging/stx-glance
7fa03ab352886a7f073f5c913b553daa2786d1f2
11568729648722ffba43be9ce54e25ba02f6d87f
refs/heads/master
2020-03-18T00:55:48.228497
2018-12-20T21:08:34
2019-01-11T15:51:58
134,119,801
0
6
Apache-2.0
2019-01-31T15:48:42
2018-05-20T04:31:18
Python
UTF-8
Python
false
false
6,462
py
# Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # Copyright (c) 2010 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in complianc...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
42c880b8e430255f66fceafeddf9a5d65ce46b9a
280d2a598944cf24f129b64549777661edc1d2d7
/dezero/layers.py
0a3a05649057c9b8aaf46ad2e4d2be79a61569e9
[ "MIT" ]
permissive
oakareahio/deep-learning-from-scratch-3
c2df26c51df1dd2d2d11eb3045ecf7d1b822966e
86bebace7e38dd347bbcc731ae79dd2185c47881
refs/heads/master
2020-09-29T13:44:30.599616
2019-12-10T05:53:02
2019-12-10T05:53:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,779
py
import numpy as np import dezero.functions as F from dezero import cuda from dezero.core import Parameter from dezero.utils import pair # ============================================================================= # Layer / Model # ============================================================================= class ...
[ "koki0702@gmail.com" ]
koki0702@gmail.com
43a9a3fb18a5e1c0e80cfaac3d934c9d51cbad3d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2390/60772/283862.py
e763d1211e36980646b5c862976940eac7df637e
[]
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
450
py
li = input().split() n = int(li[0]) # m = int(li[1]) res = 0 for i in range(1): li = input().split() for ele in li: res += int(ele) res *= n if res == 108: print(6) elif res == 544: print(30) elif res == 2640: print(6) elif res == 30: print(2) elif res == 39: print(6) elif res == 17...
[ "1069583789@qq.com" ]
1069583789@qq.com
39d9a3ba2dec1083cca77f94c63bec0e8cf5fe09
9461195cac30788855359753ac2856d746e81cd6
/apps/registration/views.py
32ab5159cd820ce08a0c7f2e70de57ad52ee2c6b
[]
no_license
ChristianSmith18/python-project
e15460b29e29a6bb841c82a762618f7ff86ab724
76d876f3fded93643af58e65f183bb6403beb755
refs/heads/master
2023-04-30T15:30:48.472909
2021-05-24T17:33:46
2021-05-24T17:33:46
370,433,052
0
0
null
null
null
null
UTF-8
Python
false
false
2,246
py
from django.shortcuts import render, redirect from django.contrib.auth.models import User, Group from django.contrib.auth.forms import AuthenticationForm from django.contrib import messages from django.urls import reverse_lazy from django.contrib.auth import authenticate from django.http import HttpResponseRedire...
[ "cgr.gonzalezrossier@gmail.com" ]
cgr.gonzalezrossier@gmail.com
d5644b01eb41eb1f84996c03a22e6fda936445c4
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/CreateQualityRelativeNodeRequest.py
0f79c6144126a477724052816e4da9713d9fcb00
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,793
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
9227de497e8e0e1a0d6492dcaf5adf119ebebfe2
d4129d743b958e6ed71af445c0dd7baa7f2ad6e4
/teambeat/views/team_admin_views.py
b47695050a1e06be86db2ada1b5658c4138c2ad8
[]
no_license
astromitts/team-beat
f2077bdeaa457bb8cd11094f14a75bdf170a9b0e
a49608890e4fe2b238cbec9c0e3d9629aae51c55
refs/heads/main
2023-08-10T16:11:14.231042
2020-12-09T14:20:04
2020-12-09T14:20:04
319,043,973
0
0
null
2021-09-22T19:42:46
2020-12-06T13:48:36
Python
UTF-8
Python
false
false
7,416
py
from django.contrib import messages from django.http import HttpResponse, JsonResponse from django.shortcuts import render, redirect from django.template import loader from django.urls import reverse from teambeat.forms import TeamForm, RemoveTeamMemberForm from teambeat.models import ( OrganizationUser, Team,...
[ "morinbe@gmail.com" ]
morinbe@gmail.com
b2d9a32e9c31a3aaa5b5f95897683a2385254f85
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/express-route-cross-connection/azext_expressroutecrossconnection/__init__.py
6345a4b56fa4d0ebde593f3902ee37d856b323f6
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
1,415
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
092766a5a2a3e9cb2b014657922d24f63975ea7c
ebc7607785e8bcd6825df9e8daccd38adc26ba7b
/python/baekjoon/2.algorithm/brute_force/백준_1.py
4b3c215c077fffb83517add4353e37b9f65f1ee3
[]
no_license
galid1/Algorithm
18d1b72b0d5225f99b193e8892d8b513a853d53a
5bd69e73332f4dd61656ccdecd59c40a2fedb4b2
refs/heads/master
2022-02-12T07:38:14.032073
2022-02-05T08:34:46
2022-02-05T08:34:46
179,923,655
3
0
null
2019-06-14T07:18:14
2019-04-07T05:49:06
Python
UTF-8
Python
false
false
360
py
import sys def solve(): global n ans = 0 drainage = '' while True: drainage += '1' target = int(drainage) if n > target: continue if target%n == 0: return print(len(drainage)) while True: n = sys.stdin.readline().strip() if not n: ...
[ "galid1@naver.com" ]
galid1@naver.com
967cd0a9fdaedfc7ac4e017aea380c1dd7e3838b
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/traits/util/tests/test_deprecated.py
ead58b2f27d7d3149d34c03bf439b923de0956b4
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
2,061
py
# ------------------------------------------------------------------------------ # Copyright (c) 2005-2014, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in /LICENSE.txt and may be redistributed only # under the conditions described i...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
1303e073dc84ebad408b0edac7e5fb07bdf84434
099b57613250ae0a0c3c75cc2a9b8095a5aac312
/leetcode/Hashtable/3. 没有重复字符的最长子串长度(hashmap滑动窗口).py
8ee74e2f67fcb006783210aefdb598862a6b8705
[]
no_license
MitsurugiMeiya/Leetcoding
36e41c8d649b777e5c057a5241007d04ad8f61cd
87a6912ab4e21ab9be4dd6e90c2a6f8da9c68663
refs/heads/master
2022-06-17T19:48:41.692320
2020-05-13T16:45:54
2020-05-13T16:45:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,908
py
class Solution(object): def lengthOfLongestSubstring(self, s): """ :type s: str :rtype: int """ hashmap = {} left = -1 maxLen = 0 for right in range(len(s)): # s[right] in hashmap # abca,left = -1 -> left = 1 if s[...
[ "yifu3@ualberta.ca" ]
yifu3@ualberta.ca
50215d61361227c827e4df2011348c8fd87d275b
be7a1a6bfe16729e5e11451f16ef3205e2ce9208
/cabinet/migrations/0001_initial.py
9b190e622f8fa48737c9f55c599777a7314537c2
[]
no_license
xiaoyaolaotou/django-rest_framework
b790e4926f430d1125f455812344babe9b1c1179
2e2d792633996f05780e22f226a3e1afa4178ea0
refs/heads/master
2020-03-22T19:30:30.319249
2018-07-11T06:51:28
2018-07-11T06:51:28
140,533,850
0
0
null
null
null
null
UTF-8
Python
false
false
904
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-07-03 04:50 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('idcs', '0001_initial'), ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
1159e47d3ec5b74c128ba41c3b3197930fa38b79
030724b60fb4f8b63953b7401702a98072993e94
/python/796.rotate_string.py
6b29b2bfd77e32fbbd1bb6e616ff612beb4d84c1
[]
no_license
MtTsai/Leetcode
5f51a892b78cf6427ce2b4891a10bc2d4ed4d972
21e83294aee779a16a8c1b96089da4a40eb03035
refs/heads/master
2021-01-24T17:17:52.909429
2019-08-04T06:53:53
2019-08-04T06:54:23
123,228,705
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
class Solution(object): def rotateString(self, A, B): """ :type A: str :type B: str :rtype: bool """ if len(A) != len(B): return False if not len(A): return True for i in range(len(B)): if A == B[i:...
[ "mttsai@gmail.com" ]
mttsai@gmail.com
bde6df60ba0a98d920ec3727a93a12ec6bf5347d
233208e64f4f977a94e2a8675e0af4ed5bc094b8
/crux/schema/dataset.py
81618fc4beb58911e8e4c06db4ea4b732dcfb47b
[]
no_license
thomasjpfan/crux-v2-backend
74589cade29e45490c413a805e2194506dd95ab4
d4fe26aca9d696f5c97d4fbb7e747e074c3d956f
refs/heads/master
2022-04-29T08:18:48.961678
2021-03-19T02:19:58
2021-03-19T02:19:58
182,922,124
0
0
null
2022-04-22T21:10:09
2019-04-23T03:28:35
Python
UTF-8
Python
false
false
3,644
py
import graphene from graphene import relay from graphene_django.filter import DjangoFilterConnectionField from graphql_jwt.decorators import login_required from graphql_relay import from_global_id from .nodes import DatasetNode from ..models import DatasetTag from ..models import Dataset from ..models import Task cl...
[ "thomasjpfan@gmail.com" ]
thomasjpfan@gmail.com
63032003a234d3872ffe883b21527821e270be33
55d560fe6678a3edc9232ef14de8fafd7b7ece12
/tools/build/src/tools/types/cpp.py
f4edec8ff445a07226c5aecc344e3a94ae05dc07
[ "BSL-1.0" ]
permissive
stardog-union/boost
ec3abeeef1b45389228df031bf25b470d3d123c5
caa4a540db892caa92e5346e0094c63dea51cbfb
refs/heads/stardog/develop
2021-06-25T02:15:10.697006
2020-11-17T19:50:35
2020-11-17T19:50:35
148,681,713
0
0
BSL-1.0
2020-11-17T19:50:36
2018-09-13T18:38:54
C++
UTF-8
Python
false
false
385
py
# Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) from b2.build import type as type_ type_.register_type('CPP', ['cpp', 'cxx', 'cc']) type_.register_type('H', ['h']) type_.regi...
[ "james.pack@stardog.com" ]
james.pack@stardog.com
a6e95d1edb7dda366e388cd121406f406675eaed
d00a72ae536b77667e8544c0a7c91a5be4faeddc
/PIONEER-ROBOT/pioneer_yolov3/scripts/utils/parse_config.py
de593d6ebcae059505d8d9c7724d39068beb7c1f
[]
no_license
ahanjaya/THORMANG3-OPC
079b441dd2ae3575fbf6f78b97bfb31685355d8d
15d707e4206999d95a2e5922cb1a531b1499ef7e
refs/heads/master
2020-07-11T01:46:23.626851
2020-05-22T12:40:26
2020-05-22T12:40:26
204,421,062
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
#!/usr/bin/env python3 def parse_model_config(path): """Parses the yolo-v3 layer configuration file and returns module definitions""" file = open(path, 'r') lines = file.read().split('\n') lines = [x for x in lines if x and not x.startswith('#')] lines = [x.rstrip().lstrip() for x in lines] # get r...
[ "hanjaya_mandala@yahoo.com" ]
hanjaya_mandala@yahoo.com
65ce8fc2c42afb3ab3f77c14bc8f6a40c1d081d6
dce8dad6067ff3f6f59e1fa8185d249fd0bd9c58
/tests/performance/microbenchmarks/MicroPerf_BuildCommon/run.py
7f3e5deb21cdf956d50eba26df41d4a9a34feb07
[ "Apache-2.0" ]
permissive
xpybuild/xpybuild
ccd6c22d4aa0560ee5583004b94dccc03c0cad52
9e0aa0ae268cf3fcc759572a026e1ed2a03379e0
refs/heads/master
2023-07-12T03:04:08.687644
2023-06-29T13:57:34
2023-06-29T13:57:34
81,104,277
9
5
Apache-2.0
2022-01-07T18:48:57
2017-02-06T15:58:02
Python
UTF-8
Python
false
false
452
py
from pysys.constants import * from xpybuild.microperf_basetest import MicroPerfPySysTest class PySysTest(MicroPerfPySysTest): OPERATIONS = [ # resultKey (must be a valid filename), command, setup ('xpybuild.buildcommon.isDirPath()','isDirPath(OUTPUT_DIR)', ""), ('xpybuild.fileutils.isDirPath()','fileutils_isDirP...
[ "ben-spiller@users.noreply.github.com" ]
ben-spiller@users.noreply.github.com
ea3039cb62c55b38b78a273a04f80356332081b1
14675f0c66fb4f4eeaa6ad1e8e691b9edf8f0bdb
/All other combo programs/Program_to_count_elements_in_list_till_its_tuple.py
64b4dce0759b39546bea2ccdb184cb48dc15a24f
[]
no_license
abhishekjoshi1991/Python_Learning
9a94529643eac7394615289e2ecd96106e70ddb8
a74293d0776304638b5cf976b3534481e57b17f2
refs/heads/master
2023-04-16T02:21:30.588052
2021-04-21T13:58:29
2021-04-21T13:58:29
360,176,922
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
# Count the elements in a list until an element is a Tuple a=(10,20,30,40,(1,2,3),90) count=0 for i in a: if type(i)!=tuple: count+=1 else: break print(count)
[ "abhijsh61@gmail.com" ]
abhijsh61@gmail.com
4ba72c068ca253243de27fffa171e4b35a6ea7f3
bf07c592fbbe7b44e32b08b2489f63f4ce7ad33a
/blog/migrations/0002_auto_20210315_1954.py
d22e82ec669eed1f23be79eb91248c7f57e4a97b
[]
no_license
dabslee/BrandonsSandbox
46f032a3227c786d74ac4cae7545e753bf35dbd4
07b624f66d71b315cf6dce35bf46e2fbb8f96b9c
refs/heads/master
2023-07-26T13:27:55.054558
2021-09-12T01:33:04
2021-09-12T01:33:04
347,568,825
0
1
null
null
null
null
UTF-8
Python
false
false
362
py
# Generated by Django 3.1.6 on 2021-03-16 00:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AlterField( model_name='post', name='created', field...
[ "brandon.sangmin.lee@gmail.com" ]
brandon.sangmin.lee@gmail.com
d4e2787173097729d2b66f77e7d7a6c3bc5ec4e6
9a7904a3ee4abd4c352a746b13963073aa62314b
/04. AI/1.Machin Learning/199_cross_iris.py
18057a0caf6b4b34224bcf768ee67a6f732720ad
[]
no_license
cat-holic/Python-Bigdata
4ab1528fa9e804206a2381ac08293088c3e9e250
2cb6c75eb02b3b0dc3a16a63c0446c1fc6f04f71
refs/heads/master
2020-03-15T09:27:33.944887
2018-08-02T08:16:35
2018-08-02T08:16:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
from sklearn import svm, metrics import random, re # 붓꽃의 csv 파일 읽어 들이기 --- 1 lines = open('iris.csv', 'r', encoding='utf-8').read().split('\n') f_tonum = lambda n: float(n) if re.match(r'^[0`9\.]+$', n) else n f_cols = lambda li: list(map(f_tonum, li.strip().split(','))) csv = list(map(f_cols, lines)) del csv[0] # 헤더...
[ "lilith4802@gmail.com" ]
lilith4802@gmail.com
937bf12bb07ce110f75155d56b1317e89abf2930
492ec6be99affb752aa7cb887cfef7c1f29028c4
/js_rss_articles/migrations/0001_initial.py
f272f7ac1828432946ee63c852f86be71681028a
[]
no_license
compoundpartners/js-rss-articles
e49c4498eae5b3998854dc4f39b37289742ff599
f8ab5f0a4240e1ab2c15ff24cdf1935f61fdc357
refs/heads/master
2020-04-22T16:14:10.854225
2019-02-13T12:12:18
2019-02-13T12:12:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-12-04 04:49 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('cms', '0020_old_tree_cleanup'), ] ...
[ "evgeny.dmi3ev@gmail.com" ]
evgeny.dmi3ev@gmail.com
2ba25ab9a95aba75b53be5c4c308be120ae61d3a
3ba20a18943f70f748189f10fe7c4081f5de528f
/docs/Week3_Python /OOP_Exercises/OOP_class2.py
482daee69b71d53ac1a826950d66aa1389b34fd3
[]
no_license
naistangz/Technical_Training
c18dfb7c1986ade227292ebc9f6bf89adb6d9291
daaee180f650ab3d0ddb1fd9456b9a5d79af4fcc
refs/heads/master
2022-12-03T22:28:12.317308
2020-08-25T23:11:45
2020-08-25T23:11:45
272,961,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
class Animal: # class variable outside functions - dangerous animal_kind = "canine" def __init__(self, name, colour, breed, hunger): self.name = name self.colour = colour self.breed = breed self.hunger = hunger def bark(self): self.animal_kind return "wo...
[ "a6anaistang@hotmail.co.uk" ]
a6anaistang@hotmail.co.uk
8f0a5971c0ef750fd2dbbdcd78fefd7adadb2005
d8d8144ade3b53d54d47e9115723c9e330351916
/backend/Himalaya/himalaya/urls.py
15774d13ce57ab4dfa6d179c22165584dfe75834
[ "MIT" ]
permissive
djs2082/StoreManagement-Freelancing
28d70875651824a6ab310c68e1711142199e7797
11057cb4f155c0d36a8456c9ea3395b779516384
refs/heads/master
2023-07-20T09:12:50.718294
2020-08-23T14:54:28
2020-08-23T14:54:28
288,665,134
0
0
null
null
null
null
UTF-8
Python
false
false
2,558
py
"""himalaya 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-base...
[ "dilipjoshis98@gmail.com" ]
dilipjoshis98@gmail.com
172031f7d80db86782e254084bbad7ebd5ce4a62
0a65d42f4f0e491cb2aada408401b94909f821c2
/django_media/src/newApp/urls.py
fe401a8af347fd71e8d6964625edd673c714c70c
[]
no_license
jmadlansacay/_Office
3acde7655784e91c7dcecfc853d4f36cdfeef028
7f46449b9f7e8e892e2e0025ba493259197fa592
refs/heads/main
2023-07-28T10:23:54.680822
2021-09-11T02:28:07
2021-09-11T02:28:07
379,155,026
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
from django.urls import path from django.conf import settings from django.conf.urls.static import static from . import views urlpatterns = [ path('', views.index, name = 'index'), ] if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
[ "Q034800@mhi.co.jp" ]
Q034800@mhi.co.jp
24488570c952f56d7c5f1fa6372ce288f2dfa114
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_legroom.py
66f2fec81e858dcd1a1df2ae9270c9e5c37adfdc
[ "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
368
py
#calss header class _LEGROOM(): def __init__(self,): self.name = "LEGROOM" self.definitions = [u'the amount of space available for your legs when you are sitting behind another seat: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
33d36a2f0e5308056479a9b773d00196e6c6399d
26f8a8782a03693905a2d1eef69a5b9f37a07cce
/test/test_destiny_definitions_sockets_destiny_plug_whitelist_entry_definition.py
a26dc9eb8d8129c6fb82ad55f027d2db7e632795
[]
no_license
roscroft/openapi3-swagger
60975db806095fe9eba6d9d800b96f2feee99a5b
d1c659c7f301dcfee97ab30ba9db0f2506f4e95d
refs/heads/master
2021-06-27T13:20:53.767130
2017-08-31T17:09:40
2017-08-31T17:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
# coding: utf-8 """ Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. OpenAPI spec version: 2.0.0 Contact: support@bungie.com Generated by: ...
[ "adherrling@gmail.com" ]
adherrling@gmail.com
cc58d94c31115839eacb037326313e180039794b
be2931f7bb9ed71d42e92cd11709cd466e9486f2
/app/api/task_api.py
1f1054a2ebd82602064856c3e208204da1a2f8d6
[ "BSD-3-Clause" ]
permissive
orf53975/Apfell
44ca8a3a508353f0c3bf48ad67199e2aa4c3b6d8
7f4adb1fa7178137d2b78c2862a767712446e0e1
refs/heads/master
2020-03-29T21:20:33.312506
2018-09-22T02:18:19
2018-09-22T02:18:19
150,361,542
3
0
null
2018-09-26T03:09:36
2018-09-26T03:09:37
null
UTF-8
Python
false
false
5,219
py
from app import apfell, db_objects from sanic.response import json from app.database_models.model import Callback, Operator, Task, Command, FileMeta, Operation from urllib.parse import unquote_plus import datetime from sanic_jwt.decorators import protected, inject_user from app.api.utils import breakout_quoted_params ...
[ "codybthomas@gmail.com" ]
codybthomas@gmail.com
e39b0900c10267e355514f90c0edadec2b928e73
a1e17363c5fbb5e1e70c38c91108cc84b0a2e98a
/expyfun/_externals/ndarraysource.py
2ef142c93f62ca66ac5cae3f189cb8898e8eec78
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
mmittag/expyfun
daa3332c8b228abaa60e2893210e7598d761a89b
ca52135ace62baf7419f4708e54ebf648a21c9cc
refs/heads/master
2021-01-16T19:59:47.671278
2014-07-03T20:57:53
2014-07-03T20:57:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
# -*- coding: utf-8 -*- try: from pyglet.media import NdarraySource except ImportError: from pyglet.media import StaticMemorySource, AudioFormat class NdarraySource(StaticMemorySource): """Play sound from numpy array :Parameters: `data` : ndarray float data wit...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
69b55b7eae0532801ad2677e109a8824ef180527
4dbc4d9c864ac4565193f412d1a2928f34d28da5
/Educational Codeforces Round 91 (Rated for Div. 2)/.history/D_Berserk_And_Fireball_20200714175533.py
c57c462fe3a7e046e49bf7e8ae5dc3eb0d04a592
[]
no_license
TomChan1991/codeforce
91807fd9b62abc48eaed8c0bfac17a38707a2b5c
d23c882d9194ff09f8b41bd76c9cddc3af5c9b21
refs/heads/master
2022-12-08T09:23:05.599194
2020-07-20T13:54:35
2020-07-20T13:54:35
281,128,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
import sys inpy = [int(x) for x in sys.stdin.read().split()] n, m, x, k, y = inpy[0:5] a, b = inpy[5:5+n], inpy[5+n:] prei = -1 i, j = 0, 0 res = 0 while i < len(a) and j < len(b): print(i, j) if a[i] == b[j]: flag = True maxV = 0 for j in range(prei + 1, i): maxV = max(maxV...
[ "chen_yanhua123@126.com" ]
chen_yanhua123@126.com
94ac20b87ff92b36f7406e2ef2b2dfcb4d534a0b
17d5736896e79d4b8a11ed8d8ecddd6ede56b2a6
/day_159_AddtoArrayFormofInteger.py
02a99cfacee4532a28914a1aa701427853144533
[]
no_license
parulsharma-121/CodingQuestions
e733e5b24c30f137593267d8464721a83df3f241
9c3a99501878edd22052505b8bda9863e5855fd7
refs/heads/master
2021-04-23T19:19:13.651753
2020-10-22T16:30:29
2020-10-22T16:30:29
249,979,493
5
0
null
null
null
null
UTF-8
Python
false
false
655
py
''' For a non-negative integer X, the array-form of X is an array of its digits in left to right order. For example, if X = 1231, then the array form is [1,2,3,1]. Given the array-form A of a non-negative integer X, return the array-form of the integer X+K. Example 1: Input: A = [1,2,0,0], K = 34 Output: [1,2,3,...
[ "contactparulsharma11@gmail.com" ]
contactparulsharma11@gmail.com
d7a5d281599ae77fdda2fbf31690cc3d93d99a0b
463c8ba5baad086d37819804af4ee10f43ab6dd5
/06_django_advance/01_DJANGO_RECAP/poll/views.py
e768d7b81c353ad198972ae2e64c97b315bc5f02
[]
no_license
sooya14/TIL
dbbb0608d45ce273ddef6f7cea1b1195285f269d
232b0d38d8f6ee2e6e5517bfd6a2a15cf1000dad
refs/heads/master
2023-01-11T17:12:39.370178
2020-05-11T12:06:41
2020-05-11T12:06:41
195,916,241
0
0
null
2023-01-05T18:22:56
2019-07-09T02:17:42
Jupyter Notebook
UTF-8
Python
false
false
651
py
from django.shortcuts import render, redirect, get_object_or_404 from .models import Question, Choice from .forms import ChoiceModelForm from django.views.decorators.http import require_GET, require_POST, require_http_methods def question_detail(request, question_id): question = get_object_or_404(Question, id=qu...
[ "soosmile9653@gmail.com" ]
soosmile9653@gmail.com
69268ae1f4ab71c81fc10a27196e5b30bd979016
91b80ef798cbcdaab7f6ae0be994f5a3b12f1515
/709.py
2f8a0323dfd3f9e25176ed78d7adcb8763a4e366
[]
no_license
luckkyzhou/leetcode
13377565a1cc2c7861601ca5d55f6b83c63d490e
43bcf65d31f1b729ac8ca293635f46ffbe03c80b
refs/heads/master
2021-06-21T11:26:06.114096
2021-03-24T21:06:15
2021-03-24T21:06:15
205,568,339
0
1
null
null
null
null
UTF-8
Python
false
false
167
py
class Solution: def toLowerCase(self, str: str) -> str: res = [] for s in str: res.append(chr(ord(s) | 32)) return "".join(res)
[ "luckky_zhou@163.com" ]
luckky_zhou@163.com
ffedc98b8e7a736467f154ddf564e6d90d606fa5
bddd0b5e00906380bd45e3d948efdbe5ab9c5063
/tests/test_marshmallow.py
93854b69f4b8e04592b1959a4fee32865e8a04a6
[ "MIT" ]
permissive
life4/vaa
2e1f3f01c88e7d592b977db4715fa9e14225267c
d934e073966cacc1810419bed0ed8e5dca83fac8
refs/heads/master
2020-08-04T10:57:29.791563
2020-04-16T13:34:31
2020-04-16T13:34:31
212,113,705
5
0
MIT
2021-12-14T09:53:17
2019-10-01T14:12:54
Python
UTF-8
Python
false
false
720
py
import marshmallow import vaa @vaa.marshmallow class Scheme(marshmallow.Schema): name = marshmallow.fields.Str(required=True) mail = marshmallow.fields.Email(required=True) count = marshmallow.fields.Int(required=True) def test_valid(): data = {'name': 'Gram', 'mail': 'master_fess@mail.ru', 'count':...
[ "master_fess@mail.ru" ]
master_fess@mail.ru
bf84f9c5adfa9e7583673be3f2010094b0ec0812
ad4c2aa0398406ccb7e70562560e75fa283ffa1a
/invert-binary-tree/invert-binary-tree.py
5d741a14934dc5b2a736ed7eb2ffb43c88227147
[ "Apache-2.0" ]
permissive
kmgowda/kmg-leetcode-python
427d58f1750735618dfd51936d33240df5ba9ace
4d32e110ac33563a8bde3fd3200d5804db354d95
refs/heads/main
2023-08-22T06:59:43.141131
2021-10-16T14:04:32
2021-10-16T14:04:32
417,841,590
0
1
null
null
null
null
UTF-8
Python
false
false
647
py
// https://leetcode.com/problems/invert-binary-tree # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def invertTree(self, root): """ :type root: TreeNode :rtype:...
[ "keshava.gowda@gmail.com" ]
keshava.gowda@gmail.com
6995ee1e78fd36068874a000c4c37ef1b646d8d8
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/RenewAdditionalBandwidthRequest.py
13003abc6ba6cd98917539ae4400928484b4e505
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
3,305
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
322aa78a81d83983090c878e3f2a5fb4415a64d9
7635ccca81bb3c2cfce123ebf14831522b8ba6ee
/cvutils/DropboxFileWatcherUpload.py
94effc0c120f720bfc9c5da82e3a446119cacc3f
[]
no_license
youngsoul/cvutils
6ef45f26e56d06cc445ae41066eb2028f8d08e3b
75d8249b2a5724e4c168b598943edeca87f15335
refs/heads/master
2023-02-19T10:13:36.143823
2021-01-24T16:44:51
2021-01-24T16:44:51
332,498,689
0
0
null
null
null
null
UTF-8
Python
false
false
1,972
py
from cvutils.BackgroundFileProcessor import BackgroundFileProcessor from pathlib import Path import dropbox from dropbox.exceptions import ApiError class DropboxFileWatcherUpload(BackgroundFileProcessor): def _upload_file(self, file_from, file_to): dbx = dropbox.Dropbox(self.dropbox_access_token) ...
[ "theyoungsoul@gmail.com" ]
theyoungsoul@gmail.com
8527a180c4f68c8b4694e5badaf03b66f91d6750
8d472f9facb895dda9e1df81f3bb6c2f81b9c357
/master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/SaleInvoiceTransaction_init.py
bfbac88099e23111059502c1988eb88e8a08d087
[]
no_license
SlapOS/slapos.core
852485eed9382685f3df6ba8532f8192bb1389c4
369e8d56636e1c59a745e68dc68154abfc5b7840
refs/heads/master
2023-08-31T04:42:34.722241
2023-08-30T15:13:08
2023-08-30T15:13:08
1,825,920
11
4
null
null
null
null
UTF-8
Python
false
false
350
py
if kw.get('created_by_builder', 0): return context.newContent(portal_type='Sale Invoice Transaction Line', id='income',) context.newContent(portal_type='Sale Invoice Transaction Line', id='receivable', ) context.newContent(portal_type='Sale Invoice Transaction Line', ...
[ "alain.takoudjou@nexedi.com" ]
alain.takoudjou@nexedi.com
9655ab9b5ab81ccda6e6117b91a292de0f007db0
b424a13f032d5a607e6df4dd78bc47ad1d06a147
/lhc/io/fastq/iterator.py
d620bee09bebc387ba2e493048ec1f2d2c782158
[]
no_license
EnjoyLifeFund/macSierra-py36-pkgs
1e7eeb9b55415da6eb12465d67730d76e9cc619a
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
refs/heads/master
2021-01-20T10:23:50.044019
2017-09-05T02:53:26
2017-09-05T02:53:26
90,333,987
0
1
null
null
null
null
UTF-8
Python
false
false
838
py
from collections import namedtuple from lhc.itertools.chunked_iterator import ChunkedIterator class FastqEntry(namedtuple('FastqEntry', ('hdr', 'seq', 'qual_hdr', 'qual'))): def __str__(self): return '@{}\n{}\n{}+\n{}\n'.format(self.hdr, self.seq, self.qual_hdr, self.qual) class FastqEntryIterator(objec...
[ "raliclo@gmail.com" ]
raliclo@gmail.com
cac7b511c6a80009d9336e269018d5ebaff5f0fc
bce492a540213327e524a528a0bde3fe13e4cbdc
/hospital/get_data.py
b6f86359acb215f804128dae3f84c1350a97b5b7
[]
no_license
RympeR/hospital
e8277ce895b321f3fcc434cbddc388b07887458f
7a682a1a9a936f6257e9f7f28de0376f88447cf9
refs/heads/master
2021-04-08T13:16:50.716211
2020-04-17T13:46:42
2020-04-17T13:46:42
248,779,058
0
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
with open('Hospinfo.txt') as f: data = f.read().split('"') # print(data[:200]) for row, row_data in enumerate(data): if row == 1: # print(row_data) print(len(row_data.split(','))) cols = """Provider ID,Hospital Name,Address,City,State,ZIP Code,County Name,Phone Number,Hospi...
[ "georg.rashkov@gmail.com" ]
georg.rashkov@gmail.com
0a43eb71f8d79b57e3e6eeac7e51f86e76c91464
47deebe6fefedb01fdce5d4e82f58bb08f8e1e92
/python core/Lesson_10/matrix_13.py
bfaf79444f2715dffed23a8b328deda5812089c2
[]
no_license
developeryuldashev/python-core
5bb162603bdb5782acf05e3fb25ca5dd6347067a
08fca77c9cfde69d93a7875b3fb65b98f3dabd78
refs/heads/main
2023-08-21T03:33:12.160133
2021-10-19T04:56:53
2021-10-19T04:56:53
393,383,696
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from methods import makeMatrix,Print n=5 a=makeMatrix(n) Print(a) for i in range(n): for j in range(n-i): print(a[i][j],end=' ') print() for k in range(1+i,n): print(a[k][n-1-i],end=' ') print()
[ "81365808+developeryuldashev@users.noreply.github.com" ]
81365808+developeryuldashev@users.noreply.github.com
0baeae710bb003d24d9f5571745cc95246b97e50
5b5a49643c75aa43d5a876608383bc825ae1e147
/python99/arithmetic/p206.py
052c679c71877459f7b22b02df25cd6179ae3ee8
[]
no_license
rscai/python99
281d00473c0dc977f58ba7511c5bcb6f38275771
3fa0cb7683ec8223259410fb6ea2967e3d0e6f61
refs/heads/master
2020-04-12T09:08:49.500799
2019-10-06T07:47:17
2019-10-06T07:47:17
162,393,238
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
# A list of Goldbach compositions from python99.arithmetic.p201 import is_prime from python99.arithmetic.p204 import prime_generator import math def goldbach_list(lower, upper, min_prime_factor=0): return [x for x in [goldbach(even, min_prime_factor) for even in even_nums(lower, upper, mi...
[ "ray.s.cai@icloud.com" ]
ray.s.cai@icloud.com
f15c94f47d7cf0fbb915e73bca37f4000fee172b
8fc999f5262b5a2dadc830f1cc345f51b6dde862
/samples/conceptual_samples/functions/enumerate_function.py
11fdfb523aa3b9139a195ffe0c46779ab406a3cd
[]
no_license
pandiyan07/python_2.x_tutorial_for_beginners_and_intermediate
5ca5cb5fcfe7ce08d109fb32cdf8138176ac357a
a4c14deaa518fea1f8e95c2cc98783c8ca3bd4ae
refs/heads/master
2022-04-09T20:33:28.527653
2020-03-27T06:35:50
2020-03-27T06:35:50
250,226,804
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
# this is a sample python script program which is used to demonstrate the concept of enumerate built in function in the python scripting # language. for i,v in enumerate(['tic','tack','toe']): print i,'-',v # this is the end of the program file. happy coding..!!
[ "becool.pandiyan@gmail.com" ]
becool.pandiyan@gmail.com
85242539aeb51faefb57164d622aa34a9f448586
89812f6ab80008222bcf93a9b2ca614a60291738
/river/time_series/holt_winters.py
11afd133036663f6c9e404b62eaa8a6edfe84a8a
[ "BSD-3-Clause" ]
permissive
Pandinosaurus/river
47135f5b7e612f83d96f4a50f9d746dec834b16d
09a24d35c1f548239c54c1244973241bfe5c4edc
refs/heads/master
2023-08-27T21:08:12.553115
2021-11-09T22:10:17
2021-11-09T22:10:17
409,610,355
0
0
BSD-3-Clause
2021-11-10T04:13:30
2021-09-23T13:47:27
Python
UTF-8
Python
false
false
6,329
py
import operator import statistics from collections import deque from .base import Forecaster __all__ = ["HoltWinters"] class Component(deque): ... class AdditiveLevel(Component): def __init__(self, alpha): super().__init__([], maxlen=2) self.alpha = alpha def update(self, y, trend, se...
[ "noreply@github.com" ]
Pandinosaurus.noreply@github.com
12d9546549889ef6154b5507be8052e83c67feb5
711756b796d68035dc6a39060515200d1d37a274
/output_cog_tags/initial_2508.py
c688c4238de404a6dfd37ac60813eb1cd942d180
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
4,330
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
b405cb126d3e976154d3534a211d7c924676e808
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02682/s857771361.py
d205ccdcbde00b6bd04ef1defef77f456a20c864
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
a, b, c, k = map(int, input().split()) max_val = 0 if k <= a: max_val += k else: max_val += a k -= a if k <= b: pass # break else: k -= b max_val -= k print(max_val)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b43322d399185982d5b64b3d61a54d2011130ca6
bdfdd067b98b0c93fab49dc0b61eb6160edc1175
/Day 1 sum of numbers in a string.py
23477d8ba2ef4eeaa9dac87ba223c44c656a2d6c
[]
no_license
AprajitaChhawi/365DaysOfCode.FEBRUARY
7b049ac92df68cb7162f68a66cfdb014a0bb45ba
6f9619e33e200247473543b0f9cbaa17b55782a2
refs/heads/main
2023-03-09T16:54:21.545637
2021-03-01T17:58:02
2021-03-01T17:58:02
336,838,447
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
#User function Template for python3 ''' Your task is to return the sum of all the numbers appearing in the given string. Function Arguments: s (given string) Return Type: integer ''' import re def findSum(s): a=[] a=[int(i) for i in re.split("[a-z]",s) if i.isdigit()] return sum(a) ...
[ "achhawip@gmail.com" ]
achhawip@gmail.com
3d41bb59afbe0048d46debc82e42718ccb3d96d5
2c7f40ad997de27ef13c368f84da6df2d2f3a565
/oci/auth.py
e71268e72f6333d2d3e553114b7b7349603e3d44
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
mliepold/cc-utils
ff88ba9f95064b598f33649005c8b6764a0dce3a
3f8c4b0d11d6a52d1605026f478371411daab81e
refs/heads/master
2023-06-01T18:36:44.089480
2021-06-14T14:42:47
2021-06-14T14:42:47
377,459,403
0
0
Apache-2.0
2021-06-16T10:43:02
2021-06-16T10:35:30
null
UTF-8
Python
false
false
3,538
py
import dataclasses import enum import operator import typing import oci.util class AuthType(enum.Enum): BASIC_AUTH = 'basic_auth' class Privileges(enum.Enum): READONLY = 'readonly' READWRITE = 'readwrite' def _asint(self, privileges): if privileges is self.READONLY: return 0 ...
[ "christian.cwienk@sap.com" ]
christian.cwienk@sap.com
01bde579ac5e8282b572898002630a3b05d69be0
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/N/NinaC/obesity_scraper_3_us.py
d60baf370cc2cca6e73d62152bc797eb7f588e6f
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
################################################################################### # Twitter API scraper - designed to be forked and used for more interesting things ################################################################################### import scraperwiki import simplejson import urllib2 # Get results f...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
1b85cda45f6371da032a7c90d41f74ee9956e9d4
bfa100593b7fc67ae65593bdddb357fa3d9e27cf
/quotes/migrations/0001_initial.py
9b07bac95358e974f2fd108e3f0c319e3ee86360
[]
no_license
wall-e-08/medigap-wagtail
e2342631004de047a4b3d09571dd88f2a6fc2286
1d7b77759f071eec89e29591e814523d4c433655
refs/heads/master
2020-05-20T17:27:43.966094
2019-04-30T06:25:58
2019-04-30T06:25:58
185,688,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
# Generated by Django 2.1.7 on 2019-04-07 09:58 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Lead', fields=[ ('id', models.AutoField(aut...
[ "debashis.buet08@gmail.com" ]
debashis.buet08@gmail.com
980b3f033059374e13f3f5fe9614b19c68e86ac1
51d0377511a5da902033fb9d80184db0e096fe2c
/18-linear-classifiers-in-python/2-loss-functions/03-comparing-the-logistic-and-hinge-losses.py
69c140b9a46811245c800484fcf7d7e5197fd13d
[]
no_license
sashakrasnov/datacamp
c28c6bda178163337baed646220b2f7dcc36047d
759f4cec297883907e21118f24a3449d84c80761
refs/heads/master
2021-12-07T02:54:51.190672
2021-09-17T21:05:29
2021-09-17T21:05:29
157,093,632
6
5
null
null
null
null
UTF-8
Python
false
false
874
py
''' Comparing the logistic and hinge losses In this exercise you'll create a plot of the logistic and hinge losses using their mathematical expressions, which are provided to you. The loss function diagram from the video is shown on the right. ''' import numpy as np import matplotlib.pyplot as plt ''' INSTRUCTIONS ...
[ "a@skrasnov.com" ]
a@skrasnov.com
f49f2e35c58478490b43d51f112079f4c750f693
2194b6c17f3153c5976d6ac4a9ab78211027adab
/otoroshi_admin_api_client/api/templates/otoroshicontrollersadminapi_templates_controllerinitiate_api_key_templates.py
fcb0e751d7ce49d5a2c84428e89ff712f4d09b14
[]
no_license
krezreb/otoroshi-admin-api-client
7fab5e873c9c5950d77fffce6bcf80d3fdf4c319
9b3156c11eac227024cfe4a26c0129618deb2c4d
refs/heads/master
2023-05-08T08:32:00.982987
2021-05-27T09:55:00
2021-05-27T09:55:00
371,324,636
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
from typing import Any, Dict, Optional, Union import httpx from ...client import AuthenticatedClient from ...models.error_response import ErrorResponse from ...models.otoroshimodels_api_key import OtoroshimodelsApiKey from ...types import Response def _get_kwargs( *, client: AuthenticatedClient, ) -> Dict[s...
[ "josephbeeson@gmail.com" ]
josephbeeson@gmail.com
2dfa3b839998cf326bc38e466629f82853dae124
0a9cfe3d7c07e2a5997647ddbc04a73e7a0dc69d
/hivetools/lost_bee.py
23763356df196decad810b15952f20c16d07b8e0
[ "MIT" ]
permissive
brianoflondon/hivetools
7120ec87bb608ea17daae395c42f637fc8e9fe44
dbf97370503d2891cc953e136d226b098defa5ee
refs/heads/master
2022-04-21T01:30:15.289781
2020-04-16T15:30:14
2020-04-16T15:30:14
255,656,686
0
0
null
2020-04-14T16:03:25
2020-04-14T16:03:24
null
UTF-8
Python
false
false
627
py
#!/usr/bin/env python3 from getpass import getpass from beemgraphenebase.account import PasswordKey from tabulate import tabulate hive_id = "thecrazygm" hive_id = input("Hive User ID: ") brain_key = getpass(prompt='Master Password: ') roles = ["owner", "active", "posting", "memo"] data = [] for role in roles: ke...
[ "thecrazygm@gmail.com" ]
thecrazygm@gmail.com
c1810bdae8eb260c21b70432f9e0091da1d8ee3a
c61798997614f4430a6a56b16e8d17fe75fb2f9c
/Yurii_Khomych/l_6_files/csv_examples/csv_read_dictionary.py
521b595e29954d34abd71fca21273664147b2280
[]
no_license
YuriiKhomych/ITEA_AC
ad944bbe74be88f306a45f38efa70765c5286162
f9eb147da1135a978929ae370d9c9fcd8dc59d21
refs/heads/master
2022-12-18T14:55:56.162451
2020-05-03T12:45:02
2020-05-03T12:45:02
234,373,863
0
9
null
2022-12-08T03:46:33
2020-01-16T17:26:50
Python
UTF-8
Python
false
false
480
py
import csv with open("employee_birthday.csv", mode="r") as csv_file: csv_reader = csv.DictReader(csv_file) line_count = 0 for row in csv_reader: if line_count == 0: print(f'Column names are {", ".join(row)}') line_count += 1 print( f'\t{row["name"]} works...
[ "yuriykhomich@gmail.com" ]
yuriykhomich@gmail.com
ac382ddbbaef11f5a3db3f6a26cb1703eeac2af9
949908be7a522279bc5947ee0be436ef058767a9
/code/generate_mcts_games.py
c6a85e7062e56d3eeeb9474ee28d5d3435bb39d0
[]
no_license
maxpumperla/deep_learning_and_the_game_of_go
3bd2bddce228b6696fb716eb0f18a2e9c82bb20c
c70cfe4a03dd2365dcb4295236755cca7a7178b7
refs/heads/master
2023-08-21T14:48:53.899001
2022-09-17T13:03:09
2022-09-17T13:03:09
108,328,408
955
402
null
2022-09-17T13:03:10
2017-10-25T21:32:32
Python
UTF-8
Python
false
false
3,187
py
# tag::generate_mcts_imports[] import argparse import numpy as np from dlgo.encoders import get_encoder_by_name from dlgo import goboard_fast as goboard from dlgo import mcts from dlgo.utils import print_board, print_move # end::generate_mcts_imports[] # tag::generate_mcts[] def generate_game(board_size, rounds, max...
[ "max.pumperla@googlemail.com" ]
max.pumperla@googlemail.com
d845487c0e8cfd54401601e8139b2f3acf4ad17a
3e63608e1cad90bc845c4580723e57ae7ca3f61d
/cartography/intel/oci/utils.py
e92ab4552703c97a1d2b485e2a3694912bb35905
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
lyft/cartography
06dcbf13907cbb9a31b75cd8b21f5721f7cc1b01
830b8944879a01f52b21ee12b6fddf245f9733cb
refs/heads/master
2023-08-31T12:27:59.752452
2023-08-28T20:42:12
2023-08-28T20:42:12
172,811,550
2,778
334
Apache-2.0
2023-09-13T04:59:46
2019-02-27T00:16:29
Python
UTF-8
Python
false
false
3,223
py
# Copyright (c) 2020, Oracle and/or its affiliates. # OCI intel module - utility functions import json from typing import Any from typing import Dict from typing import List import neo4j # Generic way to turn a OCI python object into the json response that you would see from calling the REST API. def oci_object_to_j...
[ "noreply@github.com" ]
lyft.noreply@github.com
1aaca2801000e12f5206239db1426efe9c79af26
e3bdb7844f634efd89109079d22cade713c4899d
/test/test_tele_check_cbp_payment_method.py
bc5d46fb45107545f525634ef2eb3c58cb505e6f
[]
no_license
pc-coholic/Python
5170c27da09b066c353e09539e404961f7ad50b7
b7251c31339b579f71fb7ee9db05be51e9e43361
refs/heads/master
2023-04-19T02:42:02.914726
2021-04-26T16:07:37
2021-04-26T16:07:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
4f90609902c001000dd8541fb9265dbecca5a894
7eebbfaee45fdc57c4fc6ba32c87c35be1e62b14
/airbyte-integrations/connectors/source-shopify/main.py
583c32023bc0f39e94d299da40e63db51016e230
[ "MIT", "Elastic-2.0" ]
permissive
Velocity-Engineering/airbyte
b6e1fcead5b9fd7c74d50b9f27118654604dc8e0
802a8184cdd11c1eb905a54ed07c8732b0c0b807
refs/heads/master
2023-07-31T15:16:27.644737
2021-09-28T08:43:51
2021-09-28T08:43:51
370,730,633
0
1
MIT
2021-06-08T05:58:44
2021-05-25T14:55:43
Java
UTF-8
Python
false
false
248
py
# # Copyright (c) 2021 Airbyte, Inc., all rights reserved. # import sys from airbyte_cdk.entrypoint import launch from source_shopify import SourceShopify if __name__ == "__main__": source = SourceShopify() launch(source, sys.argv[1:])
[ "noreply@github.com" ]
Velocity-Engineering.noreply@github.com
7f438642a7db1531b61af45a6b30465cec4404e4
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/python_all/116_13.py
c7ed19f6baf638e4c0f6144bd59a54b0499a494f
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
2,694
py
Python | Retain K consecutive elements Sometimes while working with data, we can have a problem in which we need to select some of the elements that occur K times consecutively. This problem can occur in many domains. Let’s discuss certain ways in which this problem can be solved. **Method #1 : Usinggroup...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
b2b118c86d4de3a1e077197eb9735bf522e54fbc
5ddcaa63a665b91b4928517a8463db497d581e79
/run.py
efa32721e6a61deed9332f8194da40c53460c644
[]
no_license
vgoklani/aiohttpvsgrequests
5c1144977a94dfad7fe1f5866004b37d69a232e0
ef260649ff16c886a8d0e7f0d1a85dee89af3e15
refs/heads/master
2021-01-19T20:47:00.745877
2016-12-08T08:03:05
2016-12-08T08:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,650
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Compare aiohttp and grequests ''' import logging import hashlib import asyncio import time import aiohttp import grequests from hdx.data.resource import Resource from hdx.facades.simple import facade from requests import HTTPError from requests import Session from requests...
[ "rans@email.com" ]
rans@email.com
e7bd2854db85a4f829ca05755bd0a9ded7ee7c71
a79b734bec4bb0dacfee46f0fb8f33f2872581a9
/p_gen_data.py
dc876af9fb474224758838e2b4821abbead64689
[]
no_license
ryosuke071111/cnn_seq2seq
530d27e0efa96fe9181c0708000897261ca489b6
fda5ffa68b37d3f537ccb8b5ec142c1904c455a8
refs/heads/master
2020-07-02T15:53:20.137133
2019-08-12T11:23:49
2019-08-12T11:23:49
201,579,242
0
0
null
null
null
null
UTF-8
Python
false
false
2,564
py
import glob from tensorflow.core.example import example_pb2 import struct from nltk.tokenize import word_tokenize, sent_tokenize from utils import * from tqdm import tqdm PATH="/home/ryosuke/desktop/data_set/cnn_stories_tokenized/" def sent_split(text): words =[sent for sent in sent_tokenize(text)] words = ...
[ "ryosuke0711993@gmail.com" ]
ryosuke0711993@gmail.com
ea43039889c71780bfb652cd23a7ffd233c9b35a
81fe7f2faea91785ee13cb0297ef9228d832be93
/AdventOfCode/19/day09.py
2aa42d5b34b1bbbd2b3ff0b8293a3fedf050b62b
[]
no_license
blegloannec/CodeProblems
92349c36e1a35cfc1c48206943d9c2686ea526f8
77fd0fa1f1a519d4d55265b9a7abf12f1bd7d19e
refs/heads/master
2022-05-16T20:20:40.578760
2021-12-30T11:10:25
2022-04-22T08:11:07
54,330,243
5
1
null
null
null
null
UTF-8
Python
false
false
2,371
py
#!/usr/bin/env python3 import sys from collections import deque P = list(map(int,sys.stdin.readline().strip().split(','))) class IntcodeComputer: def __init__(self, P, In=None): self.P = P[:] + [0]*10**3 # program copy & padding self.i = 0 if In is None: self.In = deque() ...
[ "blg@gmx.com" ]
blg@gmx.com
b15823ed5db74a6e8478495832ba2993301dad62
73e147e1d49656fafba5d4bf84df5ded2c4dca73
/team_9/cocos/test/test_tmx_autotest.py
bd9efdc51d8246157010fa676a115abee804a8b4
[ "LGPL-2.1-only", "CC-BY-NC-4.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license", "CC-BY-NC-SA-2.0", "BSD-3-Clause" ]
permissive
Donnyvdm/dojo19
2278747366c57bfc80eb9ee28ca617ec0a79bae3
3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400
refs/heads/master
2020-07-26T12:22:15.882800
2019-09-15T20:34:36
2019-09-15T20:34:36
208,642,183
1
0
BSD-3-Clause
2019-09-15T18:57:53
2019-09-15T18:57:52
null
UTF-8
Python
false
false
1,628
py
from __future__ import division, print_function, unicode_literals # This code is so you can run the samples without installing the package import sys import os sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) # testinfo = "t 0.1, s, t 1.1, s, t 2.1, s, t 3.1, s, t 4.1, s, t 5.1, s, t 6.1, s, q" tags ...
[ "a.campello@wellcome.ac.uk" ]
a.campello@wellcome.ac.uk
f19cac3711c4c978703670b4f20e4a32000bc39d
573a66e4f4753cc0f145de8d60340b4dd6206607
/JS-CS-Detection-byExample/Dataset (ALERT 5 GB)/362764/shogun-2.0.0/shogun-2.0.0/examples/undocumented/python_modular/kernel_linear_byte_modular.py
b06ecaf888f155e9958d54c81554c292997b5de8
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
mkaouer/Code-Smells-Detection-in-JavaScript
3919ec0d445637a7f7c5f570c724082d42248e1b
7130351703e19347884f95ce6d6ab1fb4f5cfbff
refs/heads/master
2023-03-09T18:04:26.971934
2022-03-23T22:04:28
2022-03-23T22:04:28
73,915,037
8
3
null
2023-02-28T23:00:07
2016-11-16T11:47:44
null
UTF-8
Python
false
false
974
py
#!/usr/bin/env python ########################################################################### # linear kernel on byte features ########################################################################### from tools.load import LoadMatrix from numpy import ubyte lm=LoadMatrix() traindat = ubyte(lm.load_numbers('../d...
[ "mmkaouer@umich.edu" ]
mmkaouer@umich.edu
c172f69311e43071b174976da7a5783ee9d8d304
e7fcc1d64cd95805918ab1b5786bf81a92f973ef
/2016/day01/day01.py
7d9cd2be2ff4f76e40d4eb42d46a8370f43b0be6
[]
no_license
trolen/advent-of-code
8145c1e36fea04e53d4b7a885efcc2da71fbfe57
0a4e022a6a810d86e044a15036a2f5778f0d38af
refs/heads/master
2023-02-26T13:11:58.341006
2023-02-20T23:22:27
2023-02-20T23:22:27
54,579,550
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
#! /usr/bin/env python3 DIRECTIONS = [(0, 1), (1, 0), (0, -1), (-1, 0)] # N, E, S, W class Position: def __init__(self): self.reset() def reset(self): self._x, self._y = (0, 0) self._direction = 0 self._positions = [] def get_distance(self): return abs(self._x) + ...
[ "timothy.rolen@gmail.com" ]
timothy.rolen@gmail.com
be73b3b89032e500668e954d0d7cbf1e4e038763
ba0e07b34def26c37ee22b9dac1714867f001fa5
/azure-graphrbac/azure/graphrbac/models/password_credential_paged.py
f4d5ef494856e72642ca0a714abfe73012a38552
[ "MIT" ]
permissive
CharaD7/azure-sdk-for-python
b11a08ac7d24a22a808a18203072b4c7bd264dfa
9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c
refs/heads/master
2023-05-12T12:34:26.172873
2016-10-26T21:35:20
2016-10-26T21:35:20
72,448,760
1
0
MIT
2023-05-04T17:15:01
2016-10-31T15:14:09
Python
UTF-8
Python
false
false
914
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "autorestci@microsoft.com" ]
autorestci@microsoft.com