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
126e876898a0e0bf05c46508b50bf5ecd64d7aa0
877edd932f97480f80550c6ff2f68b22e4099bd0
/ex001 deixando tudo pronto.py
ee2787c636369016eb9a9ce663f543248a723e82
[]
no_license
lacerda92/exercicios-python
fcb57bb09d96a5b6cc6419a08daf56d3370aad3e
6c07e1fcd19a4ad1b2d57f0254acf8802ea4002c
refs/heads/main
2023-03-19T03:40:14.896581
2021-03-12T09:39:19
2021-03-12T09:39:19
345,802,634
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
# This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actio print('Olá, mundo!') msg='Olá, mundo de merda!' print(msg)
[ "noreply@github.com" ]
noreply@github.com
b7856a073dc64c9ca94c71ada8496a578bca305a
e71ad02e8705b65933bda8057568637c6c81dd30
/migrations/versions/a4761f431940_initial_migration.py
d7a51ef921569b331e677e92f4b5418a73533ff5
[ "MIT" ]
permissive
mukasine/pitch
5b3cf0e25628fb96f416b855f1e6c7d677129077
85daae8473c30e69badac20babdd2067ecc5af4c
refs/heads/master
2020-04-25T22:24:28.529612
2019-03-01T15:35:05
2019-03-01T15:35:05
173,110,464
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
"""Initial Migration Revision ID: a4761f431940 Revises: 80dba82291bb Create Date: 2019-02-28 17:16:10.586139 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'a4761f431940' down_revision = '80dba82291bb' branch_labels = None depends_on = None def upgrade(): ...
[ "mclaremukasine@gmail.com" ]
mclaremukasine@gmail.com
fa7775ca7aecd1ea0f1f6b49c41e794eab571f77
afff816bb9a54817722a76c4fafb0aeabaf5624c
/Practical5/Powers of 2.py
5549dbc9548f3dd14875d20793d24c152b3ef567
[]
no_license
Yaqi-SU/IBI1_2019-20
c4e5584a082953cea9783cb81da159decff0871e
54ec58196c4a35a53908c4e2fd2f416c508e7cd3
refs/heads/master
2021-02-14T10:20:18.133592
2020-05-14T11:57:12
2020-05-14T11:57:12
244,796,477
0
0
null
2020-03-04T03:14:41
2020-03-04T03:14:40
null
UTF-8
Python
false
false
589
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 11 20:21:25 2020 @author: suyaqi """ #Enter a number x=input('Enter a number:') t=eval(x) #Convert the decimal number into binary a=bin(t) #Discard 0b b=a[2:] #Divide b into a list c=list(b) # Set an empty string to store the powers of 2 n='' #Loop through all numbers in ...
[ "yaqi.19@intl.zju.edu.cn" ]
yaqi.19@intl.zju.edu.cn
1d1763810e274bc281dd01f65f57cebd9b880b7a
0944f6b2d222ed28e0d93686b3e9ac5fcb81e849
/bindings/python/src/cloudsmith_api/models/formats_distributions.py
4ebf12d0446ed22ec4ee74d877e2ab83a07cacf2
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ryanwilsonperkin/cloudsmith-api
72ad3aa0b737dbe4670a2e2e1224469d0883a856
73533364a0880186ed958ce71f38613be6a756c6
refs/heads/master
2023-08-14T17:47:55.800669
2021-05-17T13:51:49
2021-05-17T13:51:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,984
py
# coding: utf-8 """ Cloudsmith API The API to the Cloudsmith Service OpenAPI spec version: v1 Contact: support@cloudsmith.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class FormatsDistributions(object): ...
[ "lskillen@cloudsmith.io" ]
lskillen@cloudsmith.io
171eaf38d54a5fe7dcf2a23a97cf6c845c890e8d
cff5ac961d717059caf25dc4247ddcc958f27d24
/WRAPPERS/corrmat_from_regionalmeasures.py
1be8e37d8ef4eb4850aaa0156d84101d217d6c98
[ "MIT" ]
permissive
repropaper/NSPN_WhitakerVertes_PNAS2016
fac4a9bb72e92db2d38b5c41e431e998c8114030
5c9c46caf91768d4cadec2b24078b640f05d3d76
refs/heads/reprobranch
2020-03-19T00:17:24.346727
2017-02-23T08:24:50
2017-02-23T08:24:50
135,469,739
0
1
MIT
2018-05-30T17:08:00
2018-05-30T16:26:32
OpenEdge ABL
UTF-8
Python
false
false
6,687
py
#!/usr/bin/env python #============================================================================= # Created by Kirstie Whitaker # at Hot Numbers coffee shop on Trumpington Road in Cambridge, September 2016 # Contact: kw401@cam.ac.uk #============================================================================= #==...
[ "kw401@cam.ac.uk" ]
kw401@cam.ac.uk
49a0e58a5e6f546018e53bdd147f920949c3e563
3b65bba3cb558cc7671c43bb78f2733fd71019df
/Colecciones_de_datos/COL_diccionarios_03.py
6c1b50a03dde7d205ee3c44f3e5549e6b72f7e05
[]
no_license
TeoRojas/Curso_Aprende_Python_con_DBZ
43c6b78690395337a9a3c6a817668d5a24648367
0ac2e5b5ab37cf8a6a10c213d348667dc37e4d5a
refs/heads/main
2023-05-04T09:28:35.257693
2021-05-19T06:21:48
2021-05-19T06:21:48
344,425,303
0
0
null
2021-03-11T17:54:59
2021-03-04T09:51:46
Python
UTF-8
Python
false
false
321
py
# Declaración de diccionario más completo y complejo de guerreros saiyajins dic_de_saiyajins_completo = { 'Broly' : 'El legendario', 'Vegeta' : 'El orgulloso', 'Kakarotto' : 'El ingenuo' } print(dic_de_saiyajins_completo) del(dic_de_saiyajins_completo['Kakarotto']) print(dic_de_saiyajins_completo)
[ "teofilo.rojas.mata@gmail.com" ]
teofilo.rojas.mata@gmail.com
54dd10694f12d23b475eb28f777a1d3759a2f521
95a8145495409d3a82237476367e618221056ad0
/24_kvadrati.py
225e83be25797993745b31b95801b585557aa551
[]
no_license
mal1kofff/python
6b31a9d6c37a4e4e51aa825d893994ac8e88a23b
703f2917563e9b29574ace6d6a6cdc94fcec7d3c
refs/heads/main
2023-06-07T00:26:06.080508
2021-07-01T13:10:40
2021-07-01T13:10:40
380,209,906
1
0
null
null
null
null
UTF-8
Python
false
false
497
py
"""Напишите программу, которая считывает с консоли числа (по одному в строке) до тех пор, пока сумма введённых чисел не будет равна 0 и сразу после этого выводит сумму квадратов всех считанных чисел.""" a = int(input()) s = a s2 = (a**2) while s!=0: a = int(input()) s += a s2 += (a**2) if s == 0: ...
[ "maratmalikov506@gmail.com" ]
maratmalikov506@gmail.com
9c61e0fed4bd266ef1a54c6847626afde45e0ba3
b08c01834286f36cf94b8b4032424d95f8c523d5
/Baek_1193.py
3e37d6f4f48fcce3f6172238484861cd85b650cb
[]
no_license
ruby723/Python
c018659316aefbd79214778096720511e8a094f3
6817432ec8fc22eac4d2b00c5a69b9abd5670425
refs/heads/master
2023-04-04T12:33:36.712792
2021-04-12T14:50:45
2021-04-12T14:50:45
338,952,741
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
#지그재그 분수 import sys n=int(sys.stdin.readline()) i=0 c=0 tf=True while tf: i+=1 for j in range(1,i+1): a=j b=i-a+1 c+=1 if c==n: tf=False break if i%2==0: print("{0}/{1}".format(a,b)) else: print("{0}/{1}".format(b,a))
[ "molly723819@gmail.com" ]
molly723819@gmail.com
654f21379131c530e86ac551da8784b4feab6062
7e2d802a17e42d50974af29e4c9b658d5da6471b
/HiredInTech/08-cover-the-border.py
e684983873eb1f32812cae3542721e131940be47
[]
no_license
siddharthadtt1/Leet
a46290bacdf569f69d523413c0129676727cb20e
1d8b96257f94e16d0c1ccf8d8e8cd3cbd9bdabce
refs/heads/master
2020-06-20T16:21:15.915761
2017-05-15T22:35:42
2017-05-15T22:35:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,751
py
''' HiredInTech solution ''' def cover_the_border(l, radars): # Example arguments: # l = 100 # radars = [ [5, 10], [3, 25], [46, 99], [39, 40], [45, 50] ] if len(radars) < 1: return 0 endpoints = [] for end in radars: endpoints.append([end[0], 0]) endpoints.append([end[1...
[ "me@example.com" ]
me@example.com
cc0ab6533352ae4f5a209fe17d7666b82d75da14
d6c987e1cd6a1192e8eb48a83d697e148095b447
/bin/distro-3.8
11a2ee1b7d285ad475844ddd8c54c8be369bef66
[]
no_license
MattHCarrier/stocks_dash_app
7d32add644345ebe782553712d3dad0eea5771c8
016855e6bc585e01e5f116219d2ef703711963c4
refs/heads/main
2023-03-08T19:09:28.754297
2021-03-01T07:28:43
2021-03-01T07:28:43
342,099,938
0
0
null
2021-02-27T06:20:38
2021-02-25T02:35:50
Python
UTF-8
Python
false
false
234
8
#!/home/matt/Environments/stock_dash/bin/python # -*- coding: utf-8 -*- import re import sys from distro import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "matt.carrier183@gmail.com" ]
matt.carrier183@gmail.com
778f9f7b62e5070407f0a2bb88ab44b3a47db4df
b28f3191af5b8a25ee87d4840301f3708928e6cd
/backend/mysite/polls/migrations/0005_choice.py
844be91693215ba39dd81696bc6c3880929b7098
[]
no_license
terryjin911/whatwhat
7a39a353d4bd71963de0786eea17479d46629412
1da09f1e36547bbc150dbee0d12ff7b3fcaf814c
refs/heads/master
2022-12-16T10:06:13.103275
2020-09-20T17:15:29
2020-09-20T17:15:29
296,862,803
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
# Generated by Django 3.1 on 2020-08-07 06:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('polls', '0004_delete_choice'), ] operations = [ migrations.CreateModel( name='Choice', ...
[ "yeun6236@naver.com" ]
yeun6236@naver.com
1c84e7fe3a830af4777b1d5b5bd68515f665e933
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210204134044.py
4c6d13f47417082167dcfd1e70c90cb3da6b4adc
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
18,693
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : easy-money.py @Time : 2021/02/04 09:03:02 @Author : Jiajun Chen @Version : 1.0 @Contact : 554001000@qq.com @License : (C)Copyright 2017-2018, Liugroup-NLPR-CASIA ''' # 东方财富网 首发申报及上会信息 import re import pickle from datetime import datetime...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
228b3233ec8da4230a696814daf44cbb9a316673
6657a43ee360177e578f67cf966e6aef5debda3c
/varsom_avalanche_client/configuration.py
4f8c074c8e547f5533c6988b72af1a1db6d5d8c1
[ "MIT" ]
permissive
NVE/python-varsom-avalanche-client
3cc8b9c366f566a99c6f309ccdfb477f73256659
c7787bf070d8ea91efd3a2a9e7782eedd4961528
refs/heads/master
2022-04-20T09:32:24.499284
2020-04-16T20:12:01
2020-04-16T20:12:01
256,318,660
0
0
null
null
null
null
UTF-8
Python
false
false
8,046
py
# coding: utf-8 """ Snøskredvarsel API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v5.0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import im...
[ "jorgen.kvalberg@gmail.com" ]
jorgen.kvalberg@gmail.com
561e45c7b088b24734a67c4ec1d38e032313acb6
b634860a713dbf3c6f820a1a3b8947ff6e747c66
/app.py
e42d246b1e20e879b34803fbdd859e4fa81872a4
[]
no_license
Ibrahimiddrisurashida/flask-covid19-tracker
82e77ad01205ddfbf1c7667d796db474f07cfce5
4a08afa665e12d93b314ce61cd113a407613cc7d
refs/heads/master
2022-12-05T01:19:49.592177
2020-08-26T16:39:09
2020-08-26T16:39:09
290,544,737
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from flask import Flask, render_templates app = Flask(__name__) @app.route("/") def index(): return render_templates("index.html")
[ "ibrahimiddrisurashida@gmail.com" ]
ibrahimiddrisurashida@gmail.com
a0264de9f564b1eddb8d60d387ccf898539bcc2f
c544a5c24b4adedd2c1602894acf5dcafe64ed6f
/astropy_helpers/tests/test_utils.py
ad76e4f5b54a24cc076aaa835620bb1827d6aac3
[]
permissive
astropy/astropy-helpers
b6053f673f517e11ccf243d1ffe1e685b9b8ebe7
3b45ed3191ceb45c574db304ec0f33282d2e4a98
refs/heads/master
2023-08-20T04:51:42.767065
2022-05-25T16:38:43
2022-05-25T16:38:43
14,448,779
30
40
BSD-3-Clause
2022-05-25T16:36:17
2013-11-16T15:01:42
Python
UTF-8
Python
false
false
751
py
import os from ..utils import find_data_files def test_find_data_files(tmpdir): data = tmpdir.mkdir('data') sub1 = data.mkdir('sub1') sub2 = data.mkdir('sub2') sub3 = sub1.mkdir('sub3') for directory in (data, sub1, sub2, sub3): filename = directory.join('data.dat').strpath with ...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
b9f7c8fbad830d6c4054121d11e4dd720d919d62
24a81de3f29b858955855642547a47b54d996ca6
/page1/urls.py
b30905e1aa9a449565b9420704ed368925f4d089
[]
no_license
AfolabiSunday/web
3b3b1482dfe04cd7f20b934ae3fbb06875254269
13ed51177ea777fe81a32feeb79bc2d065e9b811
refs/heads/master
2020-08-30T19:46:42.934172
2019-10-09T12:56:11
2019-10-09T12:56:11
218,472,601
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
from django.urls import path, include from . import views urlpatterns = [ path('', views.index, name='index'), path('account/', include('django.contrib.auth.urls')), # django inbuilt login path('register', views.register, name='register'), path('login/', views.Login_request, name='login'), #function bas...
[ "afolabisunday31@yahoo.com" ]
afolabisunday31@yahoo.com
9b5b3c57afd7bac80e1436891ba9190266d30c26
b7797234f2632519ed815f06eb33e51476b6241d
/pyspark/linux下连接数据库.py
e762315b2d27936a8139e011afd54561925db2e6
[]
no_license
Emily3492/SQL-Python
eadef200cf02a1626d7843c719ade1dcb5f562bb
86bf2e797fff378b8b3d11b89a904d3c85304069
refs/heads/master
2021-06-13T20:16:46.486406
2017-04-16T14:41:29
2017-04-16T14:41:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,577
py
##############################################连接mysql数据库 import MySQLdb conn = MySQLdb.connect( host='111.11.11.11', port = 11111, user='root', passwd='111111', db='JH_Server_Commerce', charset='utf8' ) cur = conn.cursor() aa = cur.execute("select goods_name,category_id from goods")...
[ "1170738594@qq.com" ]
1170738594@qq.com
12cdd1c42a4d6de4ba6dcc7f8a82f1a24e3524fe
0c8a5b8aa6ecacd8a65f4b7d8319bdc2d0f14fe8
/waveshare-144inch-lcd-hat/driver/clear.py
0626462423f9b7ae68b3cd1b94f8329bd53331ff
[ "MIT" ]
permissive
drivebadger/ext-mobile-drivers
38b9868abc667a722da5bd9ce45dd34c1f50e223
2b0ea644d7c48399d7ef2b96417cbd5337ae6b50
refs/heads/master
2023-08-15T19:51:16.314183
2021-10-09T11:34:12
2021-10-09T11:34:12
407,441,416
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
#!/usr/bin/env python # ''' ## License The MIT License (MIT) Copyright (C) 2021 Tomasz Klim Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
[ "github@tomaszklim.pl" ]
github@tomaszklim.pl
9f66513cbf1b5dd410e4e8fa89518981ebb1faa4
7f2e3f56f0eda8bfa1c55d8d173456fad04a05bd
/app/static/ionicons/builder/scripts/eotlitetool.py
1643bea1df87fa8c96c85bbdb1d1f941a115e8b7
[ "MIT" ]
permissive
pipoted/movie
91e40a3184884dc3e1db61eac7a5d6c7b7cfdb33
be13cc1845c377dc1145267fbf799c004f170793
refs/heads/master
2020-03-28T13:18:06.166066
2018-09-11T21:14:48
2018-09-11T21:14:48
148,381,341
0
0
null
null
null
null
UTF-8
Python
false
false
17,986
py
#!/usr/bin/env python # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozil...
[ "32660879+pipoted@users.noreply.github.com" ]
32660879+pipoted@users.noreply.github.com
b0e6bddd1d526832cf1ba78f2bcfc59220ce5eb9
588091e98784a0585223d93a3dba5b1c7d4e0b5d
/src/kernet/queue.py
0f914faba9986b93f554b522eee8a04537fbb702
[]
no_license
AlexSaenen/neural-ninja
71aacf93a2659062b1fa518f9c0ada3c252c829d
c899d7657192a9478413758aeb75ce5b3f14c125
refs/heads/master
2021-12-29T03:33:15.312572
2017-02-16T00:38:32
2017-02-16T00:38:32
82,121,478
1
0
null
null
null
null
UTF-8
Python
false
false
580
py
from kernet.stack import threadsafe from threading import Lock class Queue(object): def __init__(self, queue=None): self._lock = Lock() self._queue = (queue if queue else list()) @threadsafe def pop(self): return (self._queue.pop() if self._queue else None) @threadsafe de...
[ "alexander.saenen@epitech.eu" ]
alexander.saenen@epitech.eu
fedebc218bc44e1c0f58f8836c88015f076c75ab
ce44c84ac3a44f4336fbae3adc8e959314b07b8b
/forms.py
71a8bcdb313d1521e7dc7902138c2176d552459b
[]
no_license
anavrublevska/pracalicencjacka
3dfc7cf26ee74afd59f09dae4f34ba3504b26b74
7c9220ee14cfa0b47b80f870a8545733adefce7e
refs/heads/master
2023-05-13T23:21:34.348206
2021-06-03T20:48:34
2021-06-03T20:48:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,638
py
from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileAllowed from wtforms import StringField, PasswordField, SubmitField, BooleanField, TextAreaField, IntegerField, SelectField from wtforms.validators import DataRequired, Length, Email, EqualTo, ValidationError from flask_login import current_user ...
[ "nastuniavrublevska@gmail.com" ]
nastuniavrublevska@gmail.com
a828491877044e35d0f94c6845f3dae54ef68a71
a0dfe0296d4975030185a56918961f3f785d84c7
/forklift.py
6c64241568c0a8c8df79447f6bf3c84d9054c15d
[]
no_license
markpbaggett/pyobjforklift
f505d06d39350df48f315eee56c377217f183ad8
c62f5915c2836b550eac8441443bbe4577c7187e
refs/heads/master
2021-01-10T07:11:57.432176
2016-01-21T16:39:24
2016-01-21T16:39:24
50,120,741
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
from PIL import Image import argparse import requests from io import BytesIO parser = argparse.ArgumentParser(description='Use to specify a collection') parser.add_argument("-p", "--pid", dest="pid", help="pid that you want", required=True) parser.add_argument("-l", "--link", dest="fedoraurl", help="url of fedora inst...
[ "mbagget1@utk.edu" ]
mbagget1@utk.edu
2fa79141bd313975348a207f614da4ac8828d964
1337c376b7a90573085b63572d4c1d1282f2b7b0
/LOMO_copy.py
d6931f4ad1c6d4b5dae7e9bba0204113aa449519
[ "MIT" ]
permissive
liangzid/baseline
7f1e0fef99802e8599116f2caa1698ee147b407e
bba79d98c5fc54ec181666a8ba7231821751a93c
refs/heads/master
2020-03-26T03:31:47.602350
2018-08-24T15:17:06
2018-08-24T15:17:06
144,459,758
1
1
null
null
null
null
UTF-8
Python
false
false
10,566
py
''' ********************=========0=========****************** belong to bigChuang Project: Person Re-ID please take this python file to the Project directory reference from: ...... liangzia,2018,5,6 finally warning: make sure python version =3.x, and make sure you have installed numpy,opencv3,cv2(python) **********...
[ "2273067585@qq.com" ]
2273067585@qq.com
3e62aa619b44a209dbaa6ec2c7d3158993a7a8ad
a9842781e16db5925b9a0ef142ea6daf715940e5
/stucampus/activity/forms.py
40d0702fbc1c5a6305634612db1c83c3de47007f
[]
no_license
GearL/stucampus
05aea6dbfee61733960edee41cdafce280a3e3c8
442c53c422267589e80c3c58d7d86db95160e922
refs/heads/master
2021-01-18T02:40:52.206303
2013-10-26T02:36:09
2013-10-26T02:36:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,173
py
from django.forms import forms, ModelForm from django.forms.models import modelformset_factory from django.core.paginator import Paginator from stucampus.activity.models import ActivityMessage class ActivityMessageForm(ModelForm): class Meta: model = ActivityMessage ActivityMessageFormSet = modelformse...
[ "doyoubihgx@gmail.com" ]
doyoubihgx@gmail.com
d44827229b38ae2510bc45ff34048c0cdc07af26
91668ce20d07b13c3c0c3c6ea8b50d22e4ea0837
/venv/include/cnnNetwork.py
44dde163b91617ab0eb95f693a97e41847479a5a
[]
no_license
WindAsMe/AICourseDesign
952d90cc4f6a11d09217d2f5d14e3ef8675ea994
4a35a8e2a00e46413bdae4d6a0ad55a11ea50352
refs/heads/master
2020-03-21T15:05:21.558619
2018-06-26T09:31:40
2018-06-26T09:31:40
138,693,681
0
0
null
null
null
null
UTF-8
Python
false
false
4,901
py
# !/usr/bin/python3 # -- coding: UTF-8 -- # Author :WindAsMe # Date :18-6-26 下午12:36 # File :cnnNetwork.py # Location:/Home/PycharmProjects/.. # Acquire hand-writing data # 28*28 picture object # For each tag is 0-9 # one-hot code to 10 dimensions vector import numpy as np # Loading class # extend to Imag...
[ "542636539@qq.com" ]
542636539@qq.com
7d5314a98029672f01fe722b58e29b81bd0a8f69
9dc5c9dd8bff75a17eb27c75a85f85f1515efbe1
/examples/competitive/sofm_compare_grid_types.py
4f33caf37872c3184f5a4581bd45137fb39d3099
[ "MIT" ]
permissive
BickyMz/neupy
667a688a3f1f3c9c515376eb2fc32446185230a9
3ceb25d3b9f6c00c0b25ef65a25434126006098d
refs/heads/master
2020-05-24T16:25:03.803826
2019-05-05T12:55:46
2019-05-05T12:55:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
import matplotlib.pyplot as plt from neupy import algorithms, utils from helpers import plot_2d_grid, make_circle plt.style.use('ggplot') utils.reproducible() if __name__ == '__main__': GRID_WIDTH = 10 GRID_HEIGHT = 10 configurations = [{ 'grid_type': 'hexagon', 'use_hexagon_grid': Tru...
[ "mail@itdxer.com" ]
mail@itdxer.com
2e47c78610ff5245c916663d73f666ded67b5336
e87514b2131a4f87bebe756f758f2d3f7445f9d0
/156.py
aa1153bb413b1b44ef35b2b078c342fe9e70e606
[]
no_license
TAEKnical/Python-200
3ab055d47c8dc32871d01721c511e7ac30c0da47
fcfaaf4386280f31abf7ab301ae0adab8ddbd39d
refs/heads/master
2020-03-26T21:26:16.138753
2019-01-04T05:34:51
2019-01-04T05:34:51
145,388,038
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
import os from os.path import exists, isdir, isfile files=os.listdir() for file in files: if isdir(file): print("DIR:%s"%file) for file in files: if isfile(file): print("FILE:%s"%file)
[ "noreply@github.com" ]
noreply@github.com
720226748304712f993c4c5dad0cc4185a2ea719
b640c4342c0ccce08a16c25506ebd63d5b1bc02d
/suchar.py
5d50df6b1b0ea69152e4bc3975af4dccb291bb8d
[]
no_license
fillemonn/tasks
e95929dfbcb5ed0251611a23d053d1a5cb3624df
a87f73a0441a58cb963f7f13f59757a17e4c121e
refs/heads/master
2020-12-27T21:20:52.384792
2020-02-04T20:51:36
2020-02-04T20:51:36
238,061,475
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
def your_name(): while True: your_name = input('Please type your name ') if your_name == 'your name': print('Thank you') break your_name()
[ "filip.szkarlat@gmail.com" ]
filip.szkarlat@gmail.com
c052ba47979f7ae0367621c599cfd57391eac69b
d00b6842123f2a863eeb12301c81f1be35ca3118
/project1/settings.py
cf4410a20e47960b4cbf5d1d8035d3d63d746645
[ "MIT" ]
permissive
mctcst1/project1
85844755bac21efb64748e97599e5a6e38d758c4
08594f48eb1aba9869052243131a53667851f253
refs/heads/master
2020-05-17T10:55:36.942499
2019-04-29T12:06:14
2019-04-29T12:06:14
183,671,175
0
0
null
null
null
null
UTF-8
Python
false
false
3,126
py
""" Django settings for project1 project. Generated by 'django-admin startproject' using Django 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/ """ import os # ...
[ "bestmail.mct@gmail.com" ]
bestmail.mct@gmail.com
049adf82e5329c78ca6d6d4d62a84b8426259837
867deef5521e15e06ad0003808b2c63bf9a21b22
/HW2/node_modules/sha3/build/config.gypi
575f68c0655c3ac5458b7b75587a9369a55a43d1
[ "MIT" ]
permissive
XiXiangFiles/EthereumClassHomework
72e6cbc92ebd976aca368d27fcf57b87aef84a1b
26656be305c6535fe34123f14fb608fcbec20911
refs/heads/master
2020-04-03T09:11:39.632077
2019-01-26T06:30:36
2019-01-26T06:30:36
155,157,072
0
0
null
null
null
null
UTF-8
Python
false
false
5,254
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "debug_http2"...
[ "luckboystudent@gmail.com" ]
luckboystudent@gmail.com
2454ef6824cfad5b5ea1186feea1c93d2ce81a4b
e3634bd3a39353ef9e7f3e23eafc46fe0ad8dce5
/gishnu.py
e85bbd46846b70953906b5c790392b433a4232ca
[]
no_license
gishnum/IMG
e31d69606ba34187855ce925eb2f90f4f0758e2d
96f8c81869450282d014d77ff718afa5bd9d19d6
refs/heads/master
2020-06-26T00:52:45.568119
2019-07-29T14:58:40
2019-07-29T14:58:40
199,474,033
0
0
null
null
null
null
UTF-8
Python
false
false
45,178
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jul 29 20:14:15 2019 @author: gishnu """ import os from pycocotools.coco import COCO # initialize COCO API for instance annotations dataDir = '.' dataType = 'val2014' instances_annFile = os.path.join(dataDir, 'cocoapi/annotations/instances_{}.json'.fo...
[ "noreply@github.com" ]
noreply@github.com
1f57e9f7d9a437bfa2ea01c025ce08e48b2b9f90
52dd3faf498e8d189a50bfda520ea79aa35a7e9b
/new_train.py
fd6cd4c2f2b3dc08a67f48fbd90374a169bd9a8e
[]
no_license
captainswain/Eye-fullerton
d3def35c15405f3b6f0bebd9fa1e93a95036ed12
2135c1f13e65fc7d693d43fa102f2d3c208c5260
refs/heads/master
2022-03-12T20:52:24.680293
2019-12-12T01:26:28
2019-12-12T01:26:28
225,145,277
0
0
null
null
null
null
UTF-8
Python
false
false
2,370
py
# EyeFullerton Model Training # This code is modified from google tensorflows documentation found below: # https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/tensorflow2_image_retraining.ipynb import os import tensorflow import tensorflow_hub as hub IMAGE_SIZE = (224, 224) BATCH_SIZ...
[ "me@shane.cx" ]
me@shane.cx
782127dbf9d5162d6405d8212886c5fedbd07964
e1d3f82d18c301f4d214fdd0157685232fcd02fd
/modules/get_deps.py
20c2b2760b5ee25999285e7775b513d02ca487b9
[ "MIT" ]
permissive
user062/Muzzle
79a3acaf2d0a294a02bccf1212c4713011f4562d
73f5e1d22f289201c63852b2ae9bef7bd2d20e77
refs/heads/main
2023-08-29T05:53:34.845503
2021-10-24T23:47:39
2021-10-24T23:47:39
414,215,223
0
0
MIT
2021-10-06T13:06:03
2021-10-06T13:06:02
null
UTF-8
Python
false
false
511
py
import subprocess import platform def main() -> None : if (platform.system() == 'Windows'): print(f"OS: Windows {platform.release()} {platform.version()}") print("Compiling GLFW") subprocess.call('cd ../deps/glfw/; mkdir build; cd build; cmake .. -G "MinGW Makefiles"; mingw32-make.ex...
[ "probro1802@gmail.com" ]
probro1802@gmail.com
0e28eda07956ac5acd87b7c0d705815ef5658849
aa1972e6978d5f983c48578bdf3b51e311cb4396
/nitro-python-1.0/nssrc/com/citrix/netscaler/nitro/resource/config/cs/csvserver_feopolicy_binding.py
acb178fbe6eab499c4161045696cebc885acad74
[ "Python-2.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MayankTahil/nitro-ide
3d7ddfd13ff6510d6709bdeaef37c187b9f22f38
50054929214a35a7bb19ed10c4905fffa37c3451
refs/heads/master
2020-12-03T02:27:03.672953
2017-07-05T18:09:09
2017-07-05T18:09:09
95,933,896
2
5
null
2017-07-05T16:51:29
2017-07-01T01:03:20
HTML
UTF-8
Python
false
false
11,337
py
# # Copyright (c) 2008-2016 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "Mayank@Mandelbrot.local" ]
Mayank@Mandelbrot.local
2c4a1035039cc0c453786d797c264d0e98487a12
1259a0292d817afa3ee0064d94f7ad6c340281e8
/game/views.py
95b4e0317a0a7931019f143e418c0ebf55005170
[]
no_license
stsummers95/JParty
2a7a9b85f8251c6b369c02b21e33733395f6a154
b8a83ea924f8aec221c0a9753b3169b245f8d952
refs/heads/master
2020-09-27T22:42:40.047856
2020-01-19T00:00:57
2020-01-19T00:00:57
226,627,352
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
from django.shortcuts import get_object_or_404, render from .models import Clues import json from django.core import serializers from django.core.serializers.json import DjangoJSONEncoder def index(request): latest_clue_list = Clues.objects.order_by('-season', '-episode', 'clue_id')[:5] context = { 'latest_c...
[ "stephenleesummers@gmail.com" ]
stephenleesummers@gmail.com
9cce36bd3cc2a944f704b616c6d7ddfa24126057
9cbe74fe073a6a22ae9e0543e12ad493dcf58a64
/modules/enumerator.py
98db2dedbd27d9056100a818716eaa83c3e40a10
[]
no_license
sulaimanzai/kenzer
77245cded4bf10296347621a21568c5bf39ad7a2
292991d77db2b2d4dfab3baa34c0e0e206f28819
refs/heads/master
2023-02-13T20:35:04.223858
2020-12-26T13:12:49
2020-12-26T13:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,735
py
#imports import os #enumerator class Enumerator: #initializations def __init__(self, domain, db, kenzer, github=""): self.domain = domain self.organization = domain self.path = db+self.organization self.resources = kenzer+"resources" self.githubapi=github if...
[ "26509147+g147@users.noreply.github.com" ]
26509147+g147@users.noreply.github.com
3f1d82ec3f55da9bd1f1de1c699a519c97ca65e6
886fbd993dfda4afc402e49ef6910e631f62a1af
/2015/day18/task2.py
8472e44b6d9708832a5a386c6c95621f51d4bf8e
[]
no_license
EliTheCreator/AdventOfCode
6fb59eeddfad3592bbd6628850063259ce65899b
ee1eb7e26dba4b23eb3152dcfca9a44aff8ecc67
refs/heads/master
2022-05-03T13:53:32.837102
2022-03-03T21:10:11
2022-03-03T21:10:11
227,398,352
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
from copy import deepcopy from itertools import product def main(): with open("input", "r") as file: grid = [[False] + [False if c == '.' else True for c in line.strip()] + [False] for line in file.readlines()] cur = [[False for _ in range(len(grid[0]))]] + grid + \ [[False fo...
[ "elischmi@ethz.ch" ]
elischmi@ethz.ch
1238d06533886e1be8395832af859581b5ad7da8
4c8247faa8e2e87e5dfb8f27215d561b35e4200d
/aiger_analysis/safety_game.py
d86ccbc16e898832a8f69787749469871f6ec024
[ "MIT" ]
permissive
mvcisback/py-AIGAR
d05afb1ebc61e596c800279bb33d6e8ddb7153f0
f1b4874ca88278ee43067cc8d29b8c0839aa8131
refs/heads/master
2022-08-17T13:11:02.053523
2019-01-19T19:39:11
2019-01-19T19:39:11
143,582,931
0
0
MIT
2022-07-15T18:41:00
2018-08-05T04:23:51
Python
UTF-8
Python
false
false
3,422
py
#!/usr/bin/env python3 import sys import argparse import itertools from typing import NamedTuple import aiger from aiger import BoolExpr, atom from aiger_analysis import eliminate, is_equal def _cutlatches_and_rename(aig): if len(aig.latches) == 0: return aig aig, latch_names = aig.cutlatches(aig.la...
[ "markus.norman.rabe@gmail.com" ]
markus.norman.rabe@gmail.com
ef38ac205cecc6f4b41e8688ff2b4f5bb2016917
31f34fc3b9164fa64aaca8aa0cac27730f8270ec
/producto/migrations/0003_auto_20200522_1653.py
19de99f9e21a6f2c35f068d6a76e13962412c09a
[]
no_license
OrlandoRibera/GestorDeVentas
6de6def14c081f95a9a4f5f99238ab5dd0c4d750
513d021a0529433949b99b5bfcf390e9f401a74a
refs/heads/master
2023-08-05T11:57:52.625628
2020-10-05T23:28:53
2020-10-05T23:28:53
267,130,477
1
0
null
2021-09-22T19:06:10
2020-05-26T19:13:39
Python
UTF-8
Python
false
false
514
py
# Generated by Django 3.0.6 on 2020-05-22 20:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('producto', '0002_auto_20200520_1655'), ] operations = [ migrations.RemoveField( model_name='producto', name='categor...
[ "37455311+OrlandoRibera@users.noreply.github.com" ]
37455311+OrlandoRibera@users.noreply.github.com
59325bfbf4356ed7cd05fd6c5ca3bd435f5230cd
cc44da7bde5439248f01a6a1d18c8e36deaa559b
/attic/mash-app-engine/flexisolr/urls.py
eb1a254bf6ddf05d4a24550f9a3c472102bca779
[ "LicenseRef-scancode-public-domain" ]
permissive
panna/lab
767175016fbe5169c3b93ac49b058f095bf4cb12
0f46c7d29d2fd90b61e4ef7bdc4b7c8a3857de63
refs/heads/master
2020-04-03T11:19:33.126924
2009-11-16T20:51:57
2009-11-16T20:51:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# -*- coding: utf-8 -*- from django.conf.urls.defaults import * urlpatterns = patterns('flexisolr.views', (r'^options.js$', 'options'), (r'^data.json$', 'data'), (r'^render.js$', 'render'), ) urlpatterns += patterns('', ('^yui-demo/$','django.views.generic.simple.direct_to_temp...
[ "admin@crowdsense.com" ]
admin@crowdsense.com
dae3e480c4b4157b261654cb451fac71d7b69224
484b2de4e9690badec6dbff2d01535fa7ee59aa5
/dbscan_by_hand.py
702ed98e153549f848df282edb87fe1e03731e4e
[]
no_license
cmdjzs/C_O_D
0dc0929b6c570bb46c4ce011971ec639811fd486
ccb420fc119df82bfcb2f18d2cb679a406bda903
refs/heads/master
2020-04-24T00:55:17.216322
2018-11-20T08:05:43
2018-11-20T08:05:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,373
py
# !/usr/bin/env python3 # -*- coding:utf-8 -*- import math import numpy as np import pylab as pl #数据集:每三个是一组分别是西瓜的编号,密度,含糖量 data = """ 1,0.697,0.46,2,0.774,0.376,3,0.634,0.264,4,0.608,0.318,5,0.556,0.215, 6,0.403,0.237,7,0.481,0.149,8,0.437,0.211,9,0.666,0.091,10,0.243,0.267, 11,0.245,0.057,12,0.343,0.099,13,0.639,0...
[ "jyz4872@163.com" ]
jyz4872@163.com
277892508b145e197f2e8e451e059b45ae7d1432
0b64e696083d567ed18e6366d8bd8e99733e1485
/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build/c4che/Release.cache.py
760ac556fb84b9aa1a219e95c3e78caf69dbbc15
[ "MIT" ]
permissive
iambibhas/myn3
340286d56edcde4ad024b63f0b12e1ecb7c6b15f
994c2850ac76920289004dc67f46bcedf7e652dc
refs/heads/master
2021-01-01T05:53:35.376823
2012-09-24T20:20:16
2012-09-24T20:20:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,449
py
AR = '/usr/bin/ar' ARFLAGS = 'rcs' CCFLAGS = ['-g'] CCFLAGS_MACBUNDLE = ['-fPIC'] CCFLAGS_NODE = ['-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64'] CC_VERSION = ('4', '6', '3') COMPILER_CXX = 'g++' CPP = '/usr/bin/cpp' CPPFLAGS_NODE = ['-D_GNU_SOURCE'] CPPPATH_NODE = '/usr/include/nodejs' CPPPATH_ST = '-I%s' CXX = ['/us...
[ "iambibhas@gmail.com" ]
iambibhas@gmail.com
0ad37103fdecdba74b5c20b07a0ac4f94921f8c8
53c7ee287f797987d53221080d87df96734d143d
/bartending/models.py
97ded108232a181b41740c2a08814bc74d572d75
[]
no_license
QuinnMcHugh/Mixology
e05736c6d58fd7945a78b51e10e4d296a7e2d7d3
74eadc166651ab138efc32e77d6e61a2e30fe3c2
refs/heads/master
2020-03-19T00:54:07.106922
2018-05-31T17:05:15
2018-05-31T17:05:15
135,508,819
0
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
[ "quinnmchugh.us@gmail.com" ]
quinnmchugh.us@gmail.com
c91d07ac70bccd377e5acca2c18ed2bf40df3aa9
5830c77c25f1bbc1421b8a976cafa05f6daefba5
/lib/layers/modules/ffm_v3.py
0cc2318290a98119bfe3887f76970a67c633730c
[]
no_license
BongkyuHwang/m2det
9d8a99b35ad14b2feaeb073c72d5d040ba467ac0
8dc8d85ee9fe6e5d4e624941395dcd373b7022a1
refs/heads/master
2020-04-23T15:26:59.792453
2019-03-20T05:50:31
2019-03-20T05:50:31
171,265,639
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
import torch from .base_block import conv_block class FFMv3(torch.nn.Module): def __init__(self, in_channels=[4320, 2160, 1080], out_channels=[540, 270, 135]): super(FFMv3, self).__init__() self.block1 = conv_block(in_channels[0], out_channels[0], 1, 1) self.block2 = conv_block(in_channels...
[ "mcmasruntotop@gmail.com" ]
mcmasruntotop@gmail.com
c66230f4d5c3a73b2c1abeda25bbdde19078a08c
fa97330cd674ead06615e284f8daaa4df3844aa7
/fact/challenge5.py
3399e8f2702840759930b1d877549d3fc62f5dd4
[]
no_license
ashenoy2004/mycode
36483f24865b9cea251505d3169c1540c6a6728c
c469c724b6c3be8bf24cb0d1f0ecd88a39292a7f
refs/heads/main
2023-04-16T21:28:43.370731
2021-04-28T18:12:54
2021-04-28T18:12:54
361,796,551
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
#!/usr/bin/env python3 farms = [{"name": "NE Farm", "agriculture": ["sheep", "cows", "pigs", "chickens", "llamas", "cats"]}, {"name": "W Farm", "agriculture": ["pigs", "chickens", "llamas"]}, {"name": "SE Farm", "agriculture": ["chickens", "carrots", "celery"]}] choose_farm = input('pick a farm [N...
[ "ashenoy2004@hotmail.com" ]
ashenoy2004@hotmail.com
d1c8579dd90a556216015b8d74a011c09a1618b6
c53a3fa153d92dc700bc3203d5170391e1e2e848
/interviewProblems/reorderLogs.py
0a88a96eecfa0adf1680cf7fa6e1935b0c25e75a
[]
no_license
robahall/algosds
326963e605b2e45a6b67d4abf036d57b8fcc92cb
8482bd12369b1f18faa4ac19bc3423750fea4695
refs/heads/master
2023-02-02T18:00:47.793884
2020-12-17T04:24:15
2020-12-17T04:24:15
290,203,416
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
def reorderLogFiles(logs): def f(log): id_, rest = log.split(" ", 1) return (0, rest, id_) if rest[0].isalpha() else (1,) return sorted(logs, key = f) if __name__ == "__main__": test = ["dig1 8 1 5 1", "let1 art can", "dig2 3 6", "let2 own kit dig", "let3 art zero"] print(reorderLogFil...
[ "robahall2@gmail.com" ]
robahall2@gmail.com
f02e021b93ad7e16e0802a4001543c39c28f75eb
5c1dd485a0b079dc24ffdc09cf6e14beb58a28b8
/experiments/germ-poa/plot.py
c592e9859011dd91d1758702c012c0c555629125
[]
no_license
biotungsten/Jufo2021
f924ab6356db3846759aeaf78653f3b577081aba
47be4fc1aa44c1660d29a6b7ec26c2d4b84b468a
refs/heads/master
2023-05-06T04:23:00.866355
2021-05-28T07:45:47
2021-05-28T07:45:47
320,343,909
7
0
null
2021-03-28T18:34:20
2020-12-10T17:33:19
Jupyter Notebook
UTF-8
Python
false
false
1,792
py
import csv from scipy.stats import ttest_ind_from_stats import matplotlib.pyplot as plt from utils.bh import benjaminiHochberg #run this script from experiments dir with -m option #results are in analysis.txt #import data data = dict() with open("germ-poa/aggregated.csv", 'r') as csvfile: reader = csv.reader(csvf...
[ "sauerdavid13@icloud.com" ]
sauerdavid13@icloud.com
d7a3fc279945d718264b09b2c104593f7188efe5
bf1cf014b2965fb8d38f7a58cc812dcd65719ed9
/interviewProblems/houses.py
dff6baad32a3dcda17fb948d24a387765e8e5731
[]
no_license
imthefrizzlefry/PythonPractice
c07408592b0f5234217ec448cd2b81415332afbc
954a25e77435d97a1a0f12c38568ee68686e6960
refs/heads/master
2021-02-20T16:23:56.483052
2020-06-13T08:08:54
2020-06-13T08:08:54
245,341,475
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
''' Demo question from Amazon Demo Assessment Inspired by the game of life, but in an array rather than a n-dimentional grid. each element in the array is a "house" competing with it's neighbors. Each house has a binary state 1=active 0=inactive. When both neighbors are either active or inactive, the current hous...
[ "imthefrizzlefry@gmail.com" ]
imthefrizzlefry@gmail.com
8beb1fbfd116c9005114d45d4c3a18b38e31e0a7
f731ea96b45fa42954d2c81b43992484ecc55f2e
/exam_project/api_v1/serializers.py
bf77008975e2184739447d3562f54a3f15da4efb
[]
no_license
ArmaniEt/tasks-api
f170b820f3e85a4227e2791906876a32fd59c89a
7760675941fc946956cb2d5cf148ef0e88a20fe1
refs/heads/master
2020-04-27T21:31:26.540567
2019-03-09T14:08:13
2019-03-09T14:08:13
174,700,660
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from rest_framework import serializers from webapp.models import Task class TaskSerializer(serializers.ModelSerializer): class Meta: model = Task fields = ('id', 'summary', 'description', 'due_date', 'status', 'time_planned')
[ "razzarioa@gmail.com" ]
razzarioa@gmail.com
1b0893cba4fe2e7fba672064506ea54c2252585a
dd7a0de707e995851bcb278d04e18f8402429338
/d4/main1.py
225647ed3a55e034b574748289cc9770d008b93f
[]
no_license
aexhg/aof2
f91ce9cb3ab8668ea0ae8fb04ec0eb30e2435867
0f89e60717cc73d889718b5215ff80665b639fd7
refs/heads/master
2023-02-25T01:18:47.301723
2021-01-31T15:08:51
2021-01-31T15:08:51
334,687,001
0
0
null
null
null
null
UTF-8
Python
false
false
2,192
py
# byr (Birth Year) # iyr (Issue Year) # eyr (Expiration Year) # hgt (Height) # hcl (Hair Color) # ecl (Eye Color) # pid (Passport ID) # cid (Country ID) required_keys = {'byr', 'iyr', 'eyr', 'hgt', 'hcl', 'ecl', 'pid', 'cid'} optional_keys = {'cid'} filename = "./d4/input.txt" passports = [] with open(filename) as f:...
[ "aexhg@gmail.com" ]
aexhg@gmail.com
47c4dfc1e15fb0f15d11f9e64213a4ad1ec7b299
f4f19a0b856ba36100f67272b05dad90c76b7457
/pre_processing/pre_process.py
d798aafcbd20c54aaac01bdeef281b7092d8d104
[]
no_license
JamesBrace/kaggle
b9d8130aa1b5d17a2d89f3fa64b1142eb7167f7e
2069a5a3afa236bf57b25526439b5d5950e4b136
refs/heads/master
2021-04-26T22:28:18.676810
2018-03-06T18:25:43
2018-03-06T18:25:43
124,097,839
0
0
null
null
null
null
UTF-8
Python
false
false
2,993
py
import numpy as np from skimage.feature import canny from scipy import ndimage as ndi import matplotlib.pyplot as plt from skimage import morphology from skimage import util class PreProcessedData: def __init__(self): self.x = [] self.y = [] self.cannied_images = [] self.filled_i...
[ "james.brace@mail.mcgill.ca" ]
james.brace@mail.mcgill.ca
8fb32942c0334dafeca7170fa777dd8a65c4d1c0
daf87d82fc4150f2ffedd5863b41cdbd1dc470af
/Frootwala_Project/Offers/migrations/0001_initial.py
1144a4ad60f8cc6195dbceb6e6cef86185ccaa69
[]
no_license
punitda/FrootCart_Project
3d76a7e4516963c2812d47c4ba9c3a278693bdae
772b470c8aae49b7214a474c883a35c827e42182
refs/heads/master
2021-05-29T21:06:28.875635
2015-10-24T13:31:06
2015-10-24T13:31:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Offers', fields=[ ('id', models.AutoField(verbo...
[ "punitdama@gmail.com" ]
punitdama@gmail.com
a269a1e85ba396ffd695782080995716f9d067df
b22831a11ea76e808c2dade8a7c90e83976b81f5
/alembic/versions/021_pago.py
39645939190b9b7b6b25e02881e91bfa3a0c1911
[ "MIT" ]
permissive
tzulberti/entrenamiento-arqueria
d9eb3a7379bd1b02fddcaa56f2a3c8f85af067a4
d02cb055393bce405e9b3892c9f91ae163b6db06
refs/heads/master
2021-03-12T22:47:50.192563
2015-02-26T00:13:09
2015-02-26T00:13:09
14,096,242
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
"""pago Revision ID: 020 Revises: 019 Create Date: 2014-05-28 07:16:44.057774 """ # revision identifiers, used by Alembic. revision = '021' down_revision = '020' from alembic import op import sqlalchemy as sa def upgrade(): op.create_table('pago', sa.Column('id', sa.Integer, primary_key=True), ...
[ "tzulberti@gmail.com" ]
tzulberti@gmail.com
12c2ebd2805054b5a8256563e9d630b85b51c03c
3d2d9534a5e51e4f9601df5110bda3910f6b1613
/main.py
dc3318298ff365b5de7f8c8d2fccd480255e74ab
[]
no_license
AliceB08/closest_points
050bd17993490ec45aa4ac15eb8438c291c22fbc
9323df67d7397b8a7f7070af4b21aea1cd505f81
refs/heads/master
2020-07-23T13:21:58.310747
2019-09-10T14:00:59
2019-09-10T14:02:28
207,570,918
0
2
null
null
null
null
UTF-8
Python
false
false
1,651
py
import random import math import sys import time import csv from brute_force import execute_brute_force from DpR import execute_DpR from utils import GRID_SIZE ALGO = sys.argv[1] # Algo à utiliser DPR ou BF NB_POINTS = int(sys.argv[2]) # Nombre de points à générer ''' Un point est représenté par un t...
[ "breton.alice.08@gmail.com" ]
breton.alice.08@gmail.com
faa44ef39573389312ba3691e39e4ef4c35647ac
cbf128188137e0ac332da25be6ea5f582e973c88
/python/mytestre.py
750b22a86380d2dd31c62e0988e3fac9d23f38db
[]
no_license
zhuanshujianghai/Python
dfb0ca980e8fb06bcfa7f86be7b70522a64d05fb
8238f0c37716869a14a8b79a318abe32a8891670
refs/heads/master
2021-05-07T22:01:22.745882
2017-12-09T07:54:17
2017-12-09T07:54:17
109,078,196
0
0
null
null
null
null
UTF-8
Python
false
false
8,045
py
import urllib.request import re import urllib.parse import urllib.error import urllib import os import socket import http.client import telnetlib http.client.HTTPConnection._http_vsn = 10 http.client.HTTPConnection._http_vsn_str = 'HTTP/1.0' #检查代理ip是否可用 def checkip(ip,port): try: tn = telnetlib.Telnet(ip...
[ "971368174@qq.com" ]
971368174@qq.com
4b06a8a723553b2e2d2aa443872d0f1a11769e80
b426b3aebf0b2ecb27d75d6e64f7e6b34f714877
/bsm/__init__.py
ef8bf4346e2ee0831c6df964a3e475a799042501
[ "MIT" ]
permissive
deancolten/buzzsprout-manager
4c0005f48d27c13e63a8fc4a33f522706f595d36
a630ee39171b7086ac738e29b721b73c39a1581f
refs/heads/main
2023-06-02T21:58:49.452025
2021-05-14T12:30:42
2021-05-14T12:30:42
349,064,543
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from bsm.bsm import Manager, Episode, EpisodeGroup __all__ = ["Manager", "Episode", "EpisodeGroup"]
[ "coltenrdean@gmail.com" ]
coltenrdean@gmail.com
a2278d3ee306d014396861ebc2ff06f7c6608467
8589f2512eb6e80ca1e35b8b0ba79cd23c97d27f
/input-output/dicom_model/series.py
b6dc512496e40f2a98a0e7b2e04430961aa0cc14
[]
no_license
lihebi/contrib-pydicom
c1648e37f7d9b53ab4d315604ddc2cb422479cc2
b847ace414f786d6b6ada2ab3e948ed2ce8dc077
refs/heads/master
2022-09-29T18:47:03.987294
2020-06-08T14:59:10
2020-06-08T14:59:10
270,710,118
0
0
null
2020-06-08T14:58:29
2020-06-08T14:58:28
null
UTF-8
Python
false
false
2,200
py
# -*- coding: utf-8 -*- ''' Dicom Study IOD ''' from pydicom.config import logger from image import Image class Series(object): def __init__(self, dicom_dataset=None): self.images = list() self.dicom_dataset = dicom_dataset self.images.append(Image(dicom_dataset=dicom_dataset)) def __...
[ "robert.haxton@gmail.com" ]
robert.haxton@gmail.com
cb5615b463c6b6910cc71d036d3ce614c7746bc3
eb64d19047431b4a295ee76f9eb49cc5ab88d8ea
/classifier/util.py
9f3512c21ea8b2f0b90b50c0c24e11f9cff8937c
[]
no_license
glennojmcavoy/team-project
1cbd5be1dbacd4a25c77978135a728f4107dc136
0d469baaf37f22b81abff928ef2d4d2db1430051
refs/heads/master
2021-03-02T18:27:55.684139
2020-03-05T21:14:15
2020-03-05T21:14:15
245,893,591
0
0
null
2020-03-08T21:52:15
2020-03-08T21:52:15
null
UTF-8
Python
false
false
2,443
py
from __future__ import absolute_import, division, print_function, unicode_literals from typing import Tuple import numpy as np import tensorflow as tf import operator from preprocess.script import PreProcessImages AUTOTUNE = tf.data.experimental.AUTOTUNE CLASS_NAMES = np.array(["{:05d}".format(x) for x in range(0,...
[ "baizelmathew@yahoo.co.in" ]
baizelmathew@yahoo.co.in
e669d962d439294ded5765ced56d90da42d8611d
c2a8923540268d4eee1851142200a3ebbf828a76
/tools/EEG_feature_extraction.py
2f9753c4cbe345000e32598a0ec00a939a60aa3d
[]
no_license
Teresa00/Brain2Speech
91d4391f4f2b77af8834a29f9f8767cc5cd1682f
598836713d1787cc47f5bbfaba438681054a351f
refs/heads/master
2020-03-26T23:09:36.178532
2019-05-21T16:31:30
2019-05-21T16:31:30
145,515,941
0
0
null
null
null
null
UTF-8
Python
false
false
5,980
py
#feature extraction for EEG signal import math import numpy as np import pandas as pd from scipy.signal import butter, lfilter, freqz, periodogram from scipy.stats import kurtosis, skew import scipy.io import spectrum import peakutils import matplotlib.pyplot as plt from sklearn import preprocessing import random ####...
[ "noreply@github.com" ]
noreply@github.com
8fcbfa32a3cb2aab4ae34e37e6ff4a569f55b5ae
41c0cbfbe922f09df9c6a4237c06a28ef458761c
/1278 B hyper set .py
293d5e43a6792d28080181b20ec02d965484ab1d
[]
no_license
adityachaudhary147/py-codes
8d45bfe3d3b67e4e802a2c1e01199551ef226aaa
6a8918b5c6fca19ff74cef0dcd676c04b28ee8c4
refs/heads/master
2023-04-12T09:52:09.622458
2021-05-17T07:44:29
2021-05-17T07:44:29
244,203,716
1
0
null
null
null
null
UTF-8
Python
false
false
615
py
#jai mata di# import sys sys.stdin = open('input.in', 'r') sys.stdout = open('output.out', 'w') #start the code from here n,k2=map(int,input().split()) l=set() for i in range(n): e=input() l.add(e) r=set(l) l=list(l) an=0 for j in range(n-1): for k in range(j+1,n): we=[0]*k2 ty=0 while ty<k2: if l[...
[ "chaudharyaditya.in@gmail.com" ]
chaudharyaditya.in@gmail.com
611277648f1bcbd7353801bb9f43e68a9bfc7fcb
f68b2d9c6d6a7b7b7a4ae41dbccef33f9cf53b09
/conta.py
3ebebb126903ba34e7f17f2445f33ee168739f82
[]
no_license
gabrieldfm/OoPython
1d56b9a41f1fe91bb73431f86bdece1568275e26
0a54797a6d833392a229e1a201d5c935d7e9c178
refs/heads/master
2020-04-02T16:10:55.678381
2018-10-26T12:54:57
2018-10-26T12:54:57
154,601,747
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
class Conta: def __init__(self, numero, titular, saldo, limite): print("construindo") self.__numero = numero self.__titular = titular self.__saldo = saldo self.__limite = limite def extrato(self): print("Saldo {} do titular {}".format(self.__saldo, self.__titula...
[ "gabrieldfm13@gmail.com" ]
gabrieldfm13@gmail.com
f3ffe16193b8c35ccd8106ff5a0ab559afb208d7
2235ad0c5005ffda352792b477b163bb52085888
/univ_cc/univ_cc/spiders/univ_spider.py
44850f8d37a5efa661daf961ae6d544e3eb428e3
[]
no_license
reedknight/scrap-world-university-url
245ec5f09f7aed8d50a401e5371a4150f90ec96e
e3017273a46520f7d1f7972da4e6271f70848775
refs/heads/master
2021-01-25T04:22:26.647032
2017-06-05T18:37:52
2017-06-05T18:37:52
93,434,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
import scrapy from pprint import pprint class UnivSpider(scrapy.Spider): name = "univ" def start_requests(self): urls = [ 'https://univ.cc/world.php' ] for url in urls: yield scrapy.Request(url=url, callback=self.parse) def parse(self, response): fo...
[ "reedknight@localhost.localdomain" ]
reedknight@localhost.localdomain
244e9640fdeb86e1e6c96196b3bcbd80dfd52f5a
6f518d374055a86c87081cd66098cda1d4f99869
/mdsys_struct.py
205bf4d4744c3ae35ea2f391b894936fa8a9af15
[]
no_license
davydenk/Team_one_superproject
4b011ead6a4d36d12f40c62545fcdce26b752b97
1fe28a29cb6f77cca554762cdcbe4846635085cc
refs/heads/master
2022-04-04T04:07:37.760306
2020-02-20T17:02:34
2020-02-20T17:02:34
240,039,595
0
0
null
2020-02-19T16:46:29
2020-02-12T14:57:19
C
UTF-8
Python
false
false
4,948
py
import ctypes as ct import sys so_ljmd = "../lib/ljmd.so" c_ljmd = ct.CDLL(so_ljmd,ct.RTLD_GLOBAL) def wrap_function(lib, funcname, restype, argtypes): """Simplify wrapping ctypes functions""" func = lib.__getattr__(funcname) func.restype = restype func.argtypes = argtypes return func #reads a li...
[ "cnhtkf@yandex.ru" ]
cnhtkf@yandex.ru
5df0e289cc5dcf1194ecb88276405c9e5994cc51
3fa96b02cdc4d70f9ef85e69dc79626aee5d8db9
/catkin_ws/src/hiq_racecar/include/hiq_racecar/calibration.py
43d88fe469f162cd69d531fcc6dd29985707951b
[]
no_license
adamvlang/AD17
721754b1941e7be8ea0ae1dca61232c38981e50e
8a022966918b55b90b46c795ecc25702d97f30e8
refs/heads/master
2021-06-23T21:10:01.078571
2019-08-20T16:43:34
2019-08-20T16:43:34
109,722,994
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
#!/usr/bin/env python import matplotlib.pyplot as Plt import cv2 import pickle from chessboard import ChessBoard from helpers import show_images, save_image # Let's initialize 20 chessboards # note that at instatiation, it finds all chessboard corners and object points chessboards = [] for n in range(20): this...
[ "jetson@tx2.com" ]
jetson@tx2.com
9942d801f6cc00ba6d986b99d720d52d4c983f1e
5fff533c22c2a166c57a8e78ad1a6fd44dcb14a6
/algorithms/sorting/bubble_sort.py
98e209735176d0c8d9d5e6238955fa3c6b1d4cdb
[ "Apache-2.0" ]
permissive
emirot/algo-loco.blog
5d6a28fa28dd2c3eb6c22ebcae16652bd6cba8ae
0e377a7b0699ded1599a9a5025148236bc2ee22a
refs/heads/master
2020-07-02T22:26:31.596802
2020-06-29T01:11:27
2020-06-29T01:11:27
201,687,270
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
def bubble_sort(arr): unsort = True while unsort: unsort = False for i in range(1, len(arr)): if arr[i - 1] > arr[i]: arr[i - 1], arr[i] = arr[i], arr[i - 1] unsort = True return arr if __name__ == "__main__": arr = [3, 2, 10, 1, 4, 5] re...
[ "emirot.nolan@gmail.com" ]
emirot.nolan@gmail.com
09360acd5784b7d43b7da742def5c650aacf37dc
38a972a3cd1fc303b5f877e24d65118912d85d1c
/path/to/virtualenv/project/Lib/site-packages/tensorflow/python/ops/accumulate_n_benchmark.py
9fb5b537c24e331fe9de5436d162df1024bcb89b
[]
no_license
ZulfikarAkbar/YOLO_ObjectDetection
0c1015aa987d03329eae48a2053a07dda05d96c0
3517d0592a269f79df9afd82e0b1b0123bbe0473
refs/heads/master
2022-10-27T05:08:26.734173
2019-02-07T17:35:22
2019-02-07T17:35:22
169,613,306
0
1
null
2022-10-18T02:18:17
2019-02-07T17:35:03
Python
UTF-8
Python
false
false
5,606
py
# Copyright 2016 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...
[ "zulfikar.78.akbar@gmail.com" ]
zulfikar.78.akbar@gmail.com
46bd355b248024f119ca45c907849962f98b6742
ed9ffe9aa1a173373d53d68c8e19103f656c3eb6
/src/home/authentication.py
f4298d1521637a3247729cc9fd3451378646c72c
[]
no_license
shigengyu/Genghis
7dd00db57db93b3db3862ad943a3fe0ef0b19685
5cf770c2f09ad23204fe43518704731429a68918
refs/heads/master
2021-01-02T09:02:00.776175
2014-04-20T16:50:30
2014-04-20T16:50:30
10,285,549
0
1
null
null
null
null
UTF-8
Python
false
false
2,090
py
from django.http.response import HttpResponseRedirect, HttpResponseForbidden from django.contrib.auth.models import User from social_auth.models import UserSocialAuth from genghis.settings import ADMINS, GENGHIS_ENVIRONMENT class require_login(object): def __init__(self, func): self.func = func ...
[ "univer.shi@gmail.com" ]
univer.shi@gmail.com
7e3c2e7d4ca119e95ec521975f9d6d5b3fae2f5d
7c90b43f5f1da150a356b80af22f0c5ae62d9f28
/lib/PartitionData.py
baa001b0dbdfb3bc075d3b88b6964265e8e9f4ef
[ "LicenseRef-scancode-other-permissive" ]
permissive
prajwal309/TierraCrossSection
8693de020f080deb989a6937cc9b296ebc6511ec
4b8896540616ec3f46322ea4c40df9f2b4774a44
refs/heads/main
2023-01-04T14:45:12.370217
2020-11-05T19:38:52
2020-11-05T19:38:52
310,383,980
0
0
null
null
null
null
UTF-8
Python
false
false
613,051
py
from numpy import complex128,int64,float64,float32 __ComplexType__ = complex128 __IntegerType__ = int64 __FloatType__ = float64 TIPS_2017_ISOT = {} TIPS_2017_ISOT = {} TIPS_2017_ISOT[0] = float64([ 1.0, 20.0, 40.0, 60.0, 80.0, 100.0, 120.0, 140.0, 160.0, 180.0, 200.0, 220.0, 240.0, 260.0, 280.0, 300.0, 320....
[ "prajwalniraula@gmail.com" ]
prajwalniraula@gmail.com
2c4dc8c8b16b27465242d2d8d835d84ebf29c7e8
417b69d242a6b1e388b3715172d49cc6fff72742
/basic/python-oops/test-constructor.py
82cc0dd559ebf3d0312b2f75534d1f3840e460fa
[]
no_license
NaveenSingh4u/python-learning
a3626fee3a19fa7a3fca2bd9678cf120afe18771
86fbfee396910dea7524045d17e90b28b6f7eef1
refs/heads/master
2020-12-21T06:11:36.931034
2020-02-16T14:48:57
2020-02-16T14:48:57
236,333,751
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
class Test: count = 0 def __init__(self): Test.count = Test.count + 1 @classmethod def getNoOfobject(cls): print('The number of object created', cls.count) t1 = Test() t2 = Test() t3 = Test() t3.getNoOfobject() t4 = Test() t5 = Test() t5.getNoOfobject()
[ "singh.naveen0004@gmail.com" ]
singh.naveen0004@gmail.com
d68d032e544410088da51547b06a4ca3e587f2b2
f78e7917536b5ce8630fcab47428254fe6814591
/RIK_simulator/src/lbd_playback/bin/playbackUtils.py
12677392f8e812bce5f673014702e0941273b105
[]
no_license
xuezhizeng/hwang_robot_works
da507993dbfb278e6981304d988d44e263a8b981
211f6aede9e5929ca4d174e8d1c28b3b3082752c
refs/heads/master
2020-03-07T14:31:44.041890
2017-09-05T15:25:23
2017-09-05T15:25:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,276
py
import numpy as np import IK.transformations as T from usingRosBag_linear import * from IK.tongsCenter import * class PlaybackUtils: def __init__(self, vars): # Global variables self.positionDisplacement = np.array([0,0,-0.22]) self.vars = vars # self.positionDisplacement = np.arra...
[ "hongyiwang@cs.wisc.edu" ]
hongyiwang@cs.wisc.edu
263f279899002ea1dc4b932ee84321eec5688c55
20a017399925eb11943cd1cf299d536b65cb39ed
/Practice/function.py
485781ac659a446c7c7182130d44078d0af5956c
[]
no_license
thakkarayush/practical-college
46e72ea59bae8b501076f2ce0341bc9cb38a3d79
57f56e837bec84e7c2caacefaed06821f0496afc
refs/heads/master
2023-04-10T02:28:40.209834
2021-04-23T11:31:45
2021-04-23T11:31:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
def add(a,b): return a+b def sub(a,b): return a-b i=int(input("Enter number one:")) j=int(input("Enter num two:")) print("Sum is=",add(i,j)) print("Sub is=",sub(i,j))
[ "ayushthakkar28954@gmail.com" ]
ayushthakkar28954@gmail.com
2793bf43cb383c357d70e567eeb97526b4f54f97
ba0e07b34def26c37ee22b9dac1714867f001fa5
/azure-mgmt-web/azure/mgmt/web/models/network_access_control_entry.py
c63dd1cc8d4c8aec142f71ba8f7c5dea394ffc61
[ "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
1,424
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
1cb0d8afd4196917880ccf9ba7a98c435358c40d
a398fc464a9d9648c13c1b88027e428c69788847
/bitmap.py
803296f273e6d7a64e7fa3e68098bacaf223683f
[ "Apache-2.0" ]
permissive
dadrian/blinken-board
5d2e8ff0bc8a00e900e7764fc11950301a2c05fc
994131a9dcda20b9a6af47d0349d55ce8d023ddb
refs/heads/master
2021-03-27T18:24:46.842916
2015-11-07T04:02:16
2015-11-07T04:02:16
33,059,216
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
#!/usr/bin/python from PIL import Image from PIL import ImageFilter from board import Board import colorsys import sys import math import pygame import time im = Image.open(sys.argv[1]) #px = im.load() pygame.init() board = Board(host=('141.212.141.4', 1337)) WIDTH = 57 HEIGHT = 44 ratio = float(im.size[0]) / ...
[ "ewust@umich.edu" ]
ewust@umich.edu
b59e4d3762439cd9cf59f8a336bd547a589a115d
93bcf6424deb58d1a833168289acbf493c545cf7
/Algorithms/0015_3Sum.py
e3d81e4d4dcbd30e326b22b905d6ea2ddfea8dc3
[ "MIT" ]
permissive
drjordy66/LeetCode
94590a1cc91f336b1bcf5c7ab11a390ff35c8702
ba0c04ee5ddc8c9177dd2995be95dd6d0640bc38
refs/heads/master
2021-07-10T15:39:10.029964
2019-02-22T23:24:27
2019-02-22T23:24:27
146,994,193
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
class Solution: def threeSum(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ nums = sorted(nums) sol_set = [] for i in range(len(nums)): l_index = i + 1 r_index = len(nums) - 1 while l_index < r_index: ...
[ "noreply@github.com" ]
noreply@github.com
f6c9d76062cde0cd981ce264be31a195120bb27f
a2531d7b363b7bf35f3f4254fa0e34722b858321
/experiment/experiment_code/models/cifar/resnet.py
cc3a3629765d6c9e3242deafe05b6fd833bb9571
[]
no_license
sgflower66/SPI-Optimizer
08c7fc110ef3ff6299de5c1cc3a8f218840b5b05
1cece09f350bbbeb1105e209c20292dad77e1c2a
refs/heads/master
2020-04-29T08:04:26.039221
2019-03-16T14:02:48
2019-03-16T14:02:48
175,973,850
4
1
null
null
null
null
UTF-8
Python
false
false
4,669
py
from __future__ import absolute_import '''Resnet for cifar dataset. Ported form https://github.com/facebook/fb.resnet.torch and https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py (c) YANG, Wei ''' import torch.nn as nn import math __all__ = ['resnet'] def conv3x3(in_planes, out_planes, st...
[ "sgflower66@gmail.com" ]
sgflower66@gmail.com
fb384863ec5d9329a46985b438244bc624df9626
c24212464eb84588edc7903a8905f2a881d578c4
/migrations/versions/46e80c86a0fb_.py
044aab1785b0ec919d392c0f49889f32428e6dcb
[]
no_license
the-akira/Flask-Library
c533dc2fd1ac2d3d9e2732e7c7bed5b8cc7ca4bd
833e77660053b1e95975ccdf8bf41a035722975c
refs/heads/master
2023-05-25T12:08:15.898134
2023-02-07T23:36:50
2023-02-07T23:36:50
205,951,022
5
2
null
2023-02-15T22:08:36
2019-09-02T23:26:50
HTML
UTF-8
Python
false
false
1,041
py
"""empty message Revision ID: 46e80c86a0fb Revises: 5ef733a72780 Create Date: 2022-05-14 05:28:36.082684 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '46e80c86a0fb' down_revision = '5ef733a72780' branch_labels = None depends_on = None def upgrade(): # ...
[ "gabrielfelippe90@gmail.com" ]
gabrielfelippe90@gmail.com
ebf26bf8df233f24cb2020c21a733fe1f4540e86
4824c0cd9ddbe6be48a179ee72093e5d3d174e9e
/user/signals.py
f872ad5c22b08f1b3b1a688c2d0c1df7edbc3dd4
[]
no_license
SHILUXI/mysite
3f3765670840820eb9edad5075eae63714880ca1
9d94c105d63df4a48c03ec47a08cde43d105009e
refs/heads/master
2023-01-11T17:58:22.247730
2020-01-03T10:28:08
2020-01-03T10:28:08
229,091,742
0
0
null
2022-12-26T21:00:23
2019-12-19T16:09:36
JavaScript
UTF-8
Python
false
false
477
py
from django.db.models.signals import post_save from django.dispatch import receiver from notifications.signals import notify from django.contrib.auth.models import User from django.urls import reverse @receiver(post_save,sender=User) def send_notification(sender,instance,**kwargs): if kwargs['created'] == True: ...
[ "2417565941@qq.com" ]
2417565941@qq.com
314851d86273e01bceb3c684924368522f40ba2e
9a3b9de5eba5585cff302dde267920269ab338ae
/zeus/networks/quant.py
eea5ce5ab0b4276fa82f0bbd22fd4222941b3d2e
[ "MIT" ]
permissive
Jizhongpeng/xingtian
835f5b8d997d5dcdd13a77ad10bc658704892b18
a9bdde734f14111854ed666dfdc780d5fe5311b1
refs/heads/master
2023-01-09T13:07:41.498246
2020-11-10T01:24:42
2020-11-10T01:24:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,935
py
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
[ "hustqj@126.com" ]
hustqj@126.com
8721841952456ec2d5d473bb01f9626b6c1db934
a3eac72da2fa092a436c8a9b8a9a63672c9aa1d1
/urlshortener/migrations/0001_initial.py
c88d32a985f7d7ab2aeb98bb6617875c2491fb34
[]
no_license
yunisdev/django-link-shortener
15f6eceb92c423ebeebfe5fe35f9c1c08e7c5441
9236082513e0c42e62cdb49a1692c38622899bf6
refs/heads/master
2023-03-22T11:17:09.699634
2021-03-21T19:21:58
2021-03-21T19:21:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
# Generated by Django 3.1.7 on 2021-03-20 17:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ShortedLink', fields=[ ('id', models.AutoFi...
[ "yunisdev.04@gmail.com" ]
yunisdev.04@gmail.com
eab364b1475b8c64056308622fef756a8a15361a
59df1401a36275544cecc10ed47599c5b63bd03c
/data/addproductform.py
8278cb41c0903b8de96e12be1d080254630ff949
[]
no_license
Likogeles/OnlineShop
b28896d5a0cf46ee5080f1e623ea2d5233eb7bc2
0828bdcb50ae5415c57ee5ac52855fb21d23dcaf
refs/heads/master
2021-03-26T17:08:03.268045
2020-05-11T12:17:18
2020-05-11T12:17:18
247,724,661
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField from wtforms.validators import DataRequired from flask_wtf.file import FileField, FileRequired, FileAllowed from wtforms.fields.html5 import EmailField class AddProductForm(FlaskForm): title = StringField('Название', valid...
[ "Yhhuu@yandex.ru" ]
Yhhuu@yandex.ru
7300616012e7ac41dbf6ea787dec29101007641b
cc8404f63e83c4dfe29d9c2f2333fe02727a3d4a
/setup.py
650e3e2ecabba01fa1f44628e9d5925312626fb5
[ "MIT" ]
permissive
senderle/headless
2657701d2594e68047a6bbc9e323cadb78cd21ed
a05029eafd0649e12d53e02a0bf7589ebade55bb
refs/heads/main
2021-07-17T07:46:21.680918
2020-04-08T17:53:57
2020-04-08T17:53:57
216,416,385
0
0
null
null
null
null
UTF-8
Python
false
false
3,811
py
"""Setup script for the headless package. """ # Based on the PyPA sample project here: # https://github.com/pypa/sampleproject/ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.di...
[ "scott.enderle@gmail.com" ]
scott.enderle@gmail.com
1f9eec61d69f3495a1ba4af52454157e3b740193
1bf417659e51826db145fd178d0d88d19562e936
/pytorch_mrc/data/batch_generator.py
a1a2213ba7dd8a13aab79fcbb02923b9d5b841e9
[]
no_license
topDreamer/PyTorch-MRCToolkit
48fc1f9dba009e49799e8d26a8a9f861c7aa93e7
23ec374338509a2e61d0060a43f2d6a32fe337d3
refs/heads/master
2022-02-17T17:01:39.173910
2019-08-09T11:36:45
2019-08-09T11:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,587
py
import pickle import logging import multiprocessing import torch from torch.utils.data import Dataset, DataLoader class BatchGenerator(object): def __init__(self): pass def build(self, vocab, instances, batch_size=32, shuffle=False, max_context_len=400, ...
[ "88629850@qq.com" ]
88629850@qq.com
13e604425bfe67eacff60bf986160796280d1f75
c9fe27dd429741f2fd6d567e0aa157871fa89bed
/fork/introducer/introducer_api.py
efb7a706c223b3bdead2640e2d913a38101611bd
[ "Apache-2.0" ]
permissive
Fork-Network/fork-blockchain
858d3aefe359a3fff547cf4464f45216b3718fa3
4e7c55b5787376dabacc8049eac49c0bb0bfd855
refs/heads/main
2023-06-23T00:28:14.607265
2021-07-24T02:23:22
2021-07-24T02:23:22
388,574,519
7
2
null
null
null
null
UTF-8
Python
false
false
1,919
py
from typing import Callable, Optional from fork.introducer.introducer import Introducer from fork.protocols.introducer_protocol import RequestPeersIntroducer, RespondPeersIntroducer from fork.protocols.protocol_message_types import ProtocolMessageTypes from fork.server.outbound_message import Message, make_msg from fo...
[ "bekbol17281923@outlook.com" ]
bekbol17281923@outlook.com
b1da4dfe6877a164dc95df3174175bfdbca1d820
a962cd3908b8e5939bd2746dad6202196cbfa97a
/src/CIH/Screen.py
02c1369dd8f824ab79a49fcb535f71758299c991
[]
no_license
amandapersampa/ClassificadorTartaruga
4ab7231cd966b3939fcaea3bdff692646066772c
6750ef551533fa8ca734df20129f1f4fd9da4d13
refs/heads/master
2021-01-11T20:01:04.226619
2017-05-22T15:32:23
2017-05-22T15:32:23
79,449,289
5
0
null
null
null
null
UTF-8
Python
false
false
3,105
py
import matplotlib.pyplot as plt import numpy as np def plot_confusion_matrix(target, cm, title='Confusion matrix', cmap=plt.cm.Blues, lbp='default'): fig = plt.figure() plt.clf() ax = fig.add_subplot(111) ax.set_aspect(1) width = len(cm) for x in range(width): for y in range(width): ...
[ "amandapersampa@hotmail.com" ]
amandapersampa@hotmail.com
4a2f17632e371d7ea978f275afc73c141b918b4c
bb38d19debd5a2033ce699755f7f6b28f8ef8448
/blog/models.py
ba29aecee44a027cbbfbbe13f4f0a69699d5c95d
[]
no_license
Bmusselman/my-first-blog
da34d9521d311dda38e07ab79834584415075d41
9ff4b3a7209021eadbc8acfa88c752b3e0e7744f
refs/heads/master
2022-11-16T07:15:33.885339
2020-07-09T18:16:01
2020-07-09T18:16:01
278,142,914
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
from django.db import models from django.conf import settings from django.utils import timezone # class = defines object # Post = name of model # models.Model = means that Post is a Django Model (saved in database) class Post(models.Model): author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.C...
[ "brent.musselman@rem.remichel.com" ]
brent.musselman@rem.remichel.com
b3e82c0ce2549e8185cdf4bf33cb4727e755bb19
6fe280f6697189d63df5fad7f5b53cfc7a117d25
/Exploration.vs.Exploitation - Structural Design/src/RunSimulationWSGraph.py
8f6e0dabdc8adfd0943a22a970f1bec3867137cc
[]
no_license
pobrienjhu/cens
4126728564bd1d48725d603f71558eede1297414
046cde2d2caf4e14518ffb0fc45358091f012d52
refs/heads/master
2019-01-02T04:00:36.369736
2015-01-23T03:43:44
2015-01-23T03:43:44
28,733,297
0
0
null
null
null
null
UTF-8
Python
false
false
2,341
py
import numpy import matplotlib.pyplot as plt import networkx from networkx.generators.community import * import logging import timeit import SimulationUtils import Simulation import WSGraphGenerator import time logger = logging.getLogger('SimulationLogger') dir = "Doctoral.Research/Exploration.vs.Exploitation - Str...
[ "pobrien_1@yahoo.com" ]
pobrien_1@yahoo.com
1e39fb2c432a84387cac0b81c95666ae075d2d32
817542fe20b2f1c65e22f4e8b908367a8dcce62d
/cs61a-summer-2020-practice-final/solution/q2/tests/c.py
9082c32d502f01d6fb68bfa28c41b204abe376bc
[]
no_license
shaangao/CS-61A-2020Summer
fa6710f7a8d48aed178748ecc93541884dfc3ff5
eeb4c07adc2ed50eb60d339558de88552d2c3dc1
refs/heads/master
2023-07-08T12:23:19.756466
2020-12-08T02:50:19
2020-12-08T02:50:19
300,438,679
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
test = {'name': 'c', 'points': 0.1, 'suites': [{'cases': [{'code': '>>> t1 = Tree(5, [Tree(2), Tree(1)])\n' '\n' '>>> fn_tree = make_checker_tree(t1)\n' '\n' '>>> t2 = Tree(5, [Tree(10), Tre...
[ "shan.kao@outlook.com" ]
shan.kao@outlook.com
c8ae9c010971cafc4117295ae404d40f76f6df8e
5b5d53dd0d1593f2c2475d493f664d34e4858ee2
/Veri Yapilari/Queue/Queue.py
52783b59620f924318a939e06ba93b51fc132320
[]
no_license
yapbenzet/Modern_Cpp_WebSite
bf51a84ec6587631d1cee80354989759f200ec8e
526d558490a8676d13330b80f34ec872d779f7d4
refs/heads/master
2023-04-04T17:30:17.150606
2023-03-22T06:34:43
2023-03-22T06:34:43
98,210,300
6
5
null
null
null
null
UTF-8
Python
false
false
1,800
py
class node: def __init__(self, incomingData=None): if (incomingData is not None): self.data = incomingData; self.prev = None; else: self.data = None; self.prev = None; class Stack: def __init__(self, incomingSize): self.size = inc...
[ "noreply@github.com" ]
noreply@github.com
0af7ed5c92a7008afe7dce8d65ae9ad39ac90809
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/greynoise/icon_greynoise/actions/get_tag_details/action.py
891477fb89da35b5e6cce9779412d9d97fdeb6ce
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
1,087
py
import insightconnect_plugin_runtime from .schema import GetTagDetailsInput, GetTagDetailsOutput, Input, Component # Custom imports below from icon_greynoise.util.util import GNRequestFailure from greynoise.exceptions import RequestFailure class GetTagDetails(insightconnect_plugin_runtime.Action): def __init__(s...
[ "noreply@github.com" ]
noreply@github.com
45cd2ba3be8fcccb42e3efabb16acb0756d1ece6
42a2439b783b74da9b31f0ff64c8c32fb7a626ba
/core/.bin/generate-wallpaper
a05a9c83917b05d434c129d4d9ed0fabf1354abb
[]
no_license
zweifisch/dotfiles
7a8401faf9adda58eaad59aa396ca36ee8167fbc
0760f07d7651707d5348580cfc599c3a2d12a934
refs/heads/master
2023-06-21T04:30:28.458086
2023-06-11T05:34:12
2023-06-11T05:36:15
7,055,187
11
2
null
null
null
null
UTF-8
Python
false
false
355
#!/usr/bin/env python import Image,os from random import randint w,h=20,10 img=Image.new('RGB',(w,h)) def get_gray(l,h): gray = randint(l,h) return (gray<<16)+(gray<<8)+gray for x in range(w): for y in range(h): img.putpixel((x,y),get_gray(0x22,0x33)) img.save(os.path.expanduser('~/.wallpaper.png')) os.system...
[ "zf.pascal@gmail.com" ]
zf.pascal@gmail.com
f4b3ccfea408c60916b0ac624ecc49a07b5ec528
0bea4fe49b6cf7b5963847f597a20cf03dfad8c4
/Codigo/ej_03_par_impar.py
95de4bf4c872f524fa168ebfcaa78903de9d1641
[]
no_license
ElianEstrada/Ejemplos_GrupoC
00e9f8e9bf57544ab3e08a6252cba465da478dbe
b886e6fe006eb4c0389d53e5cd6b25ecd16c2642
refs/heads/master
2023-06-26T06:14:23.695857
2021-07-16T04:02:10
2021-07-16T04:02:10
381,535,806
0
1
null
null
null
null
UTF-8
Python
false
false
161
py
numero = int(input("Ingrese un número: ")) resultado = numero % 2 if (resultado == 0): print("El número es par") else: print("El número es impar")
[ "chictibiris@gmail.com" ]
chictibiris@gmail.com
91a852d75e9889ff247c2e49d68a5c29baaa6db2
8bc2db1ce4ab8d733ef2f7a6e0eb2ac6e59c7e46
/KLSadd_insertion/test/test_chap1_placer.py
90aacfd58f9c3f13f03c3aff04b385b530aab39b
[]
no_license
edward-bian/DRMF-Seeding-Project
184e3022f11d1f870de3cb1dc52ba40929743a8a
5b55f1ba4ed623ca7414575902e2a5904f27a182
refs/heads/master
2021-01-24T05:16:34.533264
2017-06-09T21:56:54
2017-06-09T21:56:54
55,001,404
0
0
null
2016-03-29T18:43:47
2016-03-29T18:43:47
null
UTF-8
Python
false
false
736
py
__author__ = 'Edward Bian' __status__ = 'Development' from unittest import TestCase from updateChapters import chap_1_placer class TestChap1Placer(TestCase): def test_chap1_placer(self): self.assertEquals(chap_1_placer(['WordsAndSomeMoreWords', 'SampleEquation', '\\end{document}'] ...
[ "eb092012@gmail.com" ]
eb092012@gmail.com
852d34ad760800c05120ae0f5e9fd9c4878b3cb8
6f263522b62363a4b0284bf60fda3dd2259b6cbe
/src/ann_regression/ann_python/ann_server.py
40cdfe8644340d0b8c6b28050f7bae9ec73b8677
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
djmartingale/AI-mag
38d1a91d34bdcd4c8e70a075e51afd2b86d1f72e
9d81fe2e5b2803635f0a7168ecd50f5d800cf8e7
refs/heads/master
2023-02-25T15:39:07.215956
2021-02-01T19:06:36
2021-02-01T19:06:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,832
py
# (c) 2019-2020, ETH Zurich, Power Electronic Systems Laboratory, T. Guillod import numpy as np import tensorflow.keras as keras from .ann_engine import ann_run from .ann_engine import ann_dump from .mat_py_bridge import server class AnnHandler(server.HandlerAbstract): """Server handler for ANN with Keras/Tensor...
[ "guillod@otvam.ch" ]
guillod@otvam.ch
95cd73267f33e76aafb272c6fc36dd88e3d19ac5
ba21ab01b523e111a8ec4322a8faae56d48a4fc0
/TestThread2.py
d0eb1c3a8001dfd5d06907e81da70ef8748448a6
[]
no_license
michaelsoft/PythonTest
d8106bf04d366fb28489d744bb9d0f322680cf02
9e871e9dfaf02ad628542e2a53c99415487b20c5
refs/heads/master
2021-09-09T04:57:58.404717
2021-09-07T02:30:54
2021-09-07T02:30:54
139,562,227
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
from threading import Thread, Lock from time import time, sleep class Account(object): def __init__(self): self._balance = 0 self._lock = Lock() def deposit(self, amount): self._lock.acquire() try: b = self._balance + amount sleep(1) self...
[ "michaellyk@qq.com" ]
michaellyk@qq.com
43fa44dbaf715a5780475b488c679fe1616db94b
1e18bf753b51b49843a212501a0f8b8f20339d24
/blog/website/migrations/0003_post_approved.py
dc74bb21db94b31f31013e2213e811eea5e863b9
[]
no_license
felipesavaris/curso_django3
c68f3aca5cc671168daa46ee2608e8daf29ec855
977cebf837ba6ec784427f99adeba23eb8eb799b
refs/heads/master
2022-10-01T23:47:33.467020
2020-06-11T00:21:40
2020-06-11T00:21:40
263,476,950
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
# Generated by Django 3.0.6 on 2020-05-24 17:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website', '0002_post_categories'), ] operations = [ migrations.AddField( model_name='post', name='approved', ...
[ "fesavaris@gmail.com" ]
fesavaris@gmail.com
ece96a8ab1a4a8b4a01d7421f38cbb08ca3bb3f6
768ef4658732bcb0af8fdc8dfb1a6a27db5ac2fe
/apps/movies/api/filters.py
bb27404aa926c969f17aab0f848ab825d552cb9c
[]
no_license
Nellyth/Movies
0566b39fd0d3174571ad3fec9418612598ee4da3
c365a2118b2aa621bc174cc3571b418aab14ef32
refs/heads/master
2022-11-30T01:08:17.207144
2019-06-28T21:57:43
2019-06-28T21:57:43
190,658,081
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
import django_filters from django_filters.rest_framework import FilterSet from apps.movies.choices import movie_genre class MovieFilter(django_filters.FilterSet): title = django_filters.CharFilter(field_name='title', lookup_expr='icontains') year = django_filters.NumberFilter(field_name='release_date', lookup...
[ "narroyo@lsv-tech.com" ]
narroyo@lsv-tech.com
3d6fa5d921c0955e79337263686388cbffbec741
0a33367a0196fca52cad8f217a9443440f7179f6
/tests/mqttcom_tests.py
2bda9862c3685049d012f261fa16aca0cc0b5ac6
[]
no_license
trieb/worx-landroid
05c2e6188476cc5656767d840b53eb8f0304b585
d518450108896d68985f1880cdb6b80b53af4b5f
refs/heads/master
2021-06-09T11:06:55.768667
2021-05-31T11:20:43
2021-05-31T11:20:43
37,873,122
8
1
null
null
null
null
UTF-8
Python
false
false
509
py
import unittest try: import ConfigParser as ConfigParser except: import configparser as ConfigParser from MqttCom import MqttCom class TestMqttComClass(unittest.TestCase): def setUp(self): self.mqttc = MqttCom('trieb.asuscomm.com', 1883, True) def test_publish(self): '''P...
[ "mikael@trieb.se" ]
mikael@trieb.se
97abd40242bc4e0f505170826179401f749ff4c9
86458257ae2127488fd8156b5648429f185de229
/utils/.ipynb_checkpoints/triangulation_utils-checkpoint.py
71b14edc52a09c11216ee1d95c95442a78a8e10b
[]
no_license
minyoungpark1/dlc_post-processing_code
eddf7430985ef8bf43023f08005ea5e87e102168
37ee2c7d98dd584b1d235a5e096cda36674ed250
refs/heads/main
2023-06-12T12:14:52.515803
2021-07-01T09:03:50
2021-07-01T09:03:50
366,619,786
0
0
null
null
null
null
UTF-8
Python
false
false
6,574
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Dec 10 11:20:11 2019 @author: minyoungpark """ import os import numpy as np import pandas as pd from tqdm import trange from numpy import array as arr def read_single_2d_data(data_path, offset, bp_interested, model_type): # data = pd.read_csv(dat...
[ "minyoungpark1@u.northwestern.edu" ]
minyoungpark1@u.northwestern.edu
8a40f8e2b15ecb9ec5c11fb0b9088751db83d806
733149ead6bec27c9a696e37159b19f5cdf75498
/random_news_browser.py
9c0d089f9e615254755ed66c32414c1e2404ab9f
[]
no_license
Bratapfel2000/Python_RandomTools
2ad2cf08d69d843c270ad28879365b6c6cf727fa
8e9cbf93ba86ab65dfb95f26bc901d6f1bbaf525
refs/heads/master
2021-11-28T10:48:44.965086
2021-11-09T08:58:42
2021-11-09T08:58:42
152,756,868
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
""" created with python 3.7 """ import random import webbrowser link_list = """text file with list of links""" """creates a list out of text file""" def linkliste(): fin = open(link_list) liste = [] for line in fin: word = line.strip() liste.append(word) return liste ...
[ "noreply@github.com" ]
noreply@github.com
2db06d443b7fadfd5bf1b848b96ecd5dfcfcd003
10d98fecb882d4c84595364f715f4e8b8309a66f
/linear_dynamical_systems/iterated_regression.py
86e5d1169c94d3a0da489858d906ac228f583206
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
5,392
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com