blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
64a25d5fb03dc66a0d46a54110ca5dcc8584eb5d
181cfe97ab1caa5f8224766ad4f537f6b829d015
/I0320085_exercise7.19.py
7066df26c972ae42b5b2c4692686ff5c284f345c
[]
no_license
RetnoMurwati/Retno-Murwati_I0320085_Wildan_Tugas7
e0b2148538a4090999a8a058e2132f9c47f4b7ca
d0e2c1c6d0b55e8c8cffd93576f7087b514c71dc
refs/heads/main
2023-04-13T00:57:10.281870
2021-04-16T15:03:18
2021-04-16T15:03:18
358,446,592
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
#Numerik fungsi fabs import math a = -32 b = -3.34 print("a =", a) print("b =", b) print("math.fabs a= ", math.fabs(a)) print("math.fabs b= ", math.fabs(b))
[ "murwatiretno2@gmail.com" ]
murwatiretno2@gmail.com
8f192133264c7c08d002c1c08f67a4dab1982a32
0ac5a000e1322291e1fe76dd17bf667ddfff8faf
/Bouble-Trouble--master/game.py
bb4c1dfbef209e0a4102b69bda8eb3c08cd502fd
[]
no_license
wajahat420/Bubble-Trouble-Game-on-Python
cbc118063b099d21ee3b7bd1cb2512e7d834766e
c3388e7117342e3979f85babccb53717970722e7
refs/heads/master
2020-05-19T02:14:04.532180
2019-05-03T15:01:41
2019-05-03T15:01:41
184,775,683
1
0
null
null
null
null
UTF-8
Python
false
false
2,604
py
import pygame import time clock = pygame.time.Clock() white = (255,255,255) black = (0,0,0) blue = (0,0,255) green = (0,255,0) red = (255,0,0) lightBlue = (173,216,230) color1= (101,45,104) color2= (240,238,196) color3= (247,148,30) color4= (33,64,134) color5= (0,230,118) display_width = 800 display_height = 600 gameD...
[ "shayanmustafa11@gmail.com" ]
shayanmustafa11@gmail.com
3807d388af745242e706f2bb498ca4887e7d8ad5
ecd4b06d5d5368b71fd72a1c2191510a03b728fd
/6 - introduction to databases in python/count of Records by State.py
1a718a86aaba2d5c28da2d05dd2855263e57b0c8
[ "MIT" ]
permissive
Baidaly/datacamp-samples
86055db5e326b59bfdce732729c80d76bf44629e
37b4f78a967a429e0abca4a568da0eb9d58e4dff
refs/heads/master
2022-07-27T01:18:00.700386
2022-07-18T19:27:23
2022-07-18T19:27:23
123,827,284
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
''' Often, we want to get a count for each record with a particular value in another column. The .group_by() method helps answer this type of query. You can pass a column to the .group_by() method and use in an aggregate function like sum() or count(). Much like the .order_by() method, .group_by() can take multiple col...
[ "daulet.urazalinov@uptake.com" ]
daulet.urazalinov@uptake.com
5422b522692c425a45fb1dac4ceb3d2ff7d26fee
4e9e83fb8e2da33369eaa14174e45119b00b2dc8
/tutorial/mnist_train.py
70ecd006031975f2e2e75c58e4ff65f458f1f005
[ "BSD-3-Clause" ]
permissive
BalanceWing/examples
48626b27ded92d4fbed691c6fb0c7165dcc09aed
5969d022a7e0bb113207226d872ccfe1872a0616
refs/heads/master
2020-06-05T18:19:38.883329
2019-07-25T09:57:52
2019-07-25T09:57:52
192,509,317
0
0
null
2019-06-18T09:31:30
2019-06-18T09:31:30
null
UTF-8
Python
false
false
2,958
py
import torch from torch import nn from torch import optim from torch.utils.data import TensorDataset from torch.utils.data import DataLoader import torch.nn.functional as F import numpy as np from pathlib import Path import requests import pickle import gzip # get and process data def get_data (train_ds, valid_ds,...
[ "noreply@github.com" ]
BalanceWing.noreply@github.com
221719ab8653bc020a2936945eb218d68375a28c
0ede3d2dd142aa21a50ae68b52e612a79e6d9e6b
/src/reader.py
352b9c1241a8d06ef42bae4f729ceebc906a40a3
[]
no_license
yancai/TextAnalyser
f62700150b7aa179b4d124e4605c43b6831371d3
e011089fb90f78d51569e6e5304b7ec3922a34c9
refs/heads/master
2016-09-05T22:24:16.583980
2013-05-09T05:43:44
2013-05-09T05:43:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
# -*- coding: utf-8 -*- #!/usr/bin/python # Author = 'yancai' # Date = '13-4-14' import codecs import simplejson import datetime import chardet import copy import os from model.model_copy import characters, table class Reader(): def __init__(self): self.table = copy.deepcopy(table) def get_id(self,...
[ "yancai915@gmail.com" ]
yancai915@gmail.com
71a1987f65749e123abe8d4ab519826b34bf172a
bec8f235b1392542560166dd02c2f0d88c949a24
/examples/twisted/wamp1/rpc/simple/example2/server.py
2e21dcdeffdb7ac18f40f3c1c3790e7731539144
[ "Apache-2.0" ]
permissive
gourneau/AutobahnPython
f740f69b9ecbc305a97a5412ba3bb136a4bdec69
5193e799179c2bfc3b3f8dda86ccba69646c7ee3
refs/heads/master
2021-01-15T22:02:32.459491
2014-07-02T13:34:57
2014-07-02T13:34:57
21,437,288
1
0
null
null
null
null
UTF-8
Python
false
false
3,564
py
############################################################################### ## ## Copyright (C) 2011-2014 Tavendo GmbH ## ## 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 ## ## h...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
ad5de07133769eec2ccac7a11232619b4444be85
d9e55c4afe0db76c39d992374a9a62c4fb81d473
/tests/test_features/test_tile_coding.py
0bb259f29a8f91fd41a898ef46295c7718161019
[ "BSD-3-Clause" ]
permissive
rldotai/flib
36da0f2cd9d2220b42dc788a1a0c3c90359762e5
695e875f708b0b71c9b005fdf85c066e4ffb7c0f
refs/heads/master
2021-01-10T21:26:38.225855
2015-06-14T01:06:01
2015-06-14T01:06:01
35,320,396
1
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
""" Tests for tile_coding.py """ import pytest import numpy as np import flib from flib import TileCoder def test_init(): n_input = 4 n_output = 16 n_tiles = 1000 f = TileCoder(n_input, n_output, n_tiles) f = TileCoder(n_input, n_output, n_tiles, scale=np.arange(n_input)) f = TileCoder(n_inp...
[ "rldot41@gmail.com" ]
rldot41@gmail.com
b42de3203dd191db3af92bba82716a215ca39369
e32297163bf143b194e438783f93c61c5dc08e11
/venv/Scripts/pip3.8-script.py
9256ee434aaad8237ff00414d9a033378a1b7472
[]
no_license
eonnyhoney/animal
be185f65eeff4964c0e311ae10b761703f479c67
8cbf560b83509446d652fc0d59c2051278953653
refs/heads/master
2020-12-30T07:51:01.351800
2020-02-07T12:18:38
2020-02-07T12:18:38
238,914,622
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
427
py
#!C:\Users\Eon2\Desktop\½ºÆÄ¸£Å¸\animal\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "59526689+eonnyhoney@users.noreply.github.com" ]
59526689+eonnyhoney@users.noreply.github.com
46c6217199b12f0638d326e049cb76e3ae9f519a
fe501cd591cde7a95af07bce7f2e3428c9829174
/blog/views.py
c33bbbdd44242868247fb3c3e670c214597e29be
[]
no_license
mattmakai/django-1-4-boilerplate
6d8c98cacc6363b30afe77f5a88c946fa58efd28
8f13e191736f81a705828ddec9a62a5fb2b1c0cd
refs/heads/master
2020-04-14T19:20:33.341174
2012-07-05T13:29:39
2012-07-05T13:29:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,192
py
from models import BlogPost from django.shortcuts import render_to_response, get_object_or_404 from django.http import HttpResponse from django.core.exceptions import ObjectDoesNotExist from django.db.models import Q from django.core.context_processors import csrf from django.views.decorators.csrf import csrf_protect f...
[ "makaimc@gmail.com" ]
makaimc@gmail.com
3ccf655441626fee556afe8864ce3b4f10b1ea36
e873deaded75f1e711d310d09cbbe12f64ff5559
/FE.py
02bc44d09f0ed104a552b4a737981557256b0f02
[ "MIT" ]
permissive
UW-ERSL/Fourier-TOuNN
7a6d3b655b96ac03e3aa75d703b129d97b2f8bdf
fce3b8a43fa426e16be16d5a05bdb81b71a773b0
refs/heads/main
2023-07-16T15:08:13.591069
2021-09-04T20:49:31
2021-09-04T20:49:31
360,926,306
3
1
null
2021-04-23T16:16:52
2021-04-23T15:21:19
Python
UTF-8
Python
false
false
1,742
py
import numpy as np from scipy.sparse import coo_matrix import numpy.matlib import cvxopt import cvxopt.cholmod import torch from gridMesher import GridMesh from quadMesher import QuadMesh #-----------------------# class FE: #-----------------------# def __init__(self, mesh, matProp, bc): i...
[ "achandrasek3@wisc.edu" ]
achandrasek3@wisc.edu
add30295e413442fa81dfc795c0befa9db64f85a
61ce05b0b62e0ab7ccd0ca90958268f6ac18127a
/Chapters Code/ch3_Board_Representation_and_Rules/dlgo/goboard_slow.py
6e0d3a4e168e4388e9dfc8268a4ee58ee0f53e6a
[]
no_license
HagarHaytham/Ghost-GO
0d7c90b08da9a20f725229b2852ca91df2df44be
f23c416c08d44b83469b09c5c55031fa33d9ef8f
refs/heads/master
2022-03-26T09:48:01.102320
2019-12-16T05:29:09
2019-12-16T05:29:09
215,604,238
1
0
null
null
null
null
UTF-8
Python
false
false
8,855
py
import numpy as np # tag::imports[] import copy from dlgo.gotypes import Player # end::imports[] from dlgo.gotypes import Point from dlgo.scoring import compute_game_result __all__ = [ 'Board', 'GameState', 'Move', ] class IllegalMoveError(Exception): pass # tag::strings[] class GoString(): # <1> ...
[ "mohamedtalaat0111790@gmail.com" ]
mohamedtalaat0111790@gmail.com
628ab203934b97b7b16396406bf8920db09c6edf
1561b7ffc4c996cf8c480c2415c4828ebfd84625
/python_study/python_tutorial/tutorial1/_16_using_name.py
36fe26bf255e1953e1391f028d53c91e06fa2105
[]
no_license
haixuanwo/BOOK_codec
61211b239dbf7267e73dd4650410b0c021d67014
d96591b0ed1b4310dbb96159d6230d692cfe0f92
refs/heads/master
2021-09-07T19:57:08.626291
2018-02-28T05:57:52
2018-02-28T05:57:52
115,320,602
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
#!/usr/bin/python if __name__=='__main__': print 'This program is being run by itself' else: print 'I am beging imported from another module'
[ "haixuanwo@users.noreply.github.com" ]
haixuanwo@users.noreply.github.com
145446eb5fc6d444c7b5377f5346c41ba16bce09
e74747ff1dd05f01163e6e903d9364e84b8febf5
/src/main.py
f5d968413dcfc5994a510677aab563a6b79f5001
[ "MIT" ]
permissive
Sdator/bigfootUpData
5b860665336756b6ec1e8f836fa59fa214463a12
b655021d97f35005f9881c9d1841b3d546b12088
refs/heads/main
2023-08-25T12:20:53.723878
2021-09-24T12:57:46
2021-09-24T12:57:46
403,027,825
0
0
null
null
null
null
UTF-8
Python
false
false
8,024
py
# -*- coding: utf-8 -*- ''' by 绝 2019.10.6 QQ 250740270 本程序用于自动更新大脚插件 用到的第三方包 pyinstaller # 打包exe aiohttp # 异步http通信 conda install --name wow aiohttp pyinstaller -y # 安装到wow环境中 生成二进制文件 -F 表示生成单个可执行文件 -w 表示去掉控制台窗口,这在GUI界面时非常有用。不过如果是命令行程序的话那就把这个选项删除吧! -i 表示可执行文件的图标 pyinstaller -F -w ...
[ "250740270@qq.com" ]
250740270@qq.com
0dfddc24c14a9eec82fe2903f8bad926bc3e307c
262cd372c53fbc002bd0966129e6539a0474b7c9
/award/tests.py
a22138b6ee738a458720e4740139623cb1e2887a
[ "MIT" ]
permissive
owinolawrence/awwards
e83bd2f8a3e8db2d0a3a5c2316d4f6db5a8acf08
23ec5a53e715c3a75139c31a8d340c7b348e57a8
refs/heads/master
2021-09-10T01:00:36.329048
2020-01-16T11:39:01
2020-01-16T11:39:01
233,040,878
0
0
MIT
2021-09-08T01:35:38
2020-01-10T12:18:52
Python
UTF-8
Python
false
false
807
py
from django.test import TestCase from .models import * import unittest from django.contrib.auth.models import User # Create your tests here. class TestProfile(TestCase): def setUp(self): self.post = Post(title='title',live_link='sfggfdsgedgfgfd',description ='sdfdsad',country='dasfsdfasdf',languages='sfsaf...
[ "owinolawrence21@gmail.com" ]
owinolawrence21@gmail.com
7771cd92728727fe710936fbd0651fe13a42bb3c
d0a75ad618998a34fb22b650697b171b25c8a724
/linkchecker/settings.py
bc7a8a0282c7cd5f992376d3c9a7c4f3aa3e07a0
[ "Unlicense" ]
permissive
kohout/django-linkchecker
05f0b853cae4c6a35e6b305411ef4d2243f2dea5
34cf8b0a4a172b22dad525329ee0bfd4eca8136b
refs/heads/master
2021-01-21T13:49:44.605414
2016-05-17T14:52:05
2016-05-17T14:52:05
45,972,769
1
0
null
null
null
null
UTF-8
Python
false
false
992
py
# -*- coding: utf-8 -*- from django.conf import settings from django.db.models import URLField import logging def get_default_logger(): logger = logging.getLogger('link_checker') logger.setLevel(logging.INFO) formatter = logging.Formatter('%(asctime)s - %(levelname)s: %(message)s') console_handler = l...
[ "dm@getaweb.at" ]
dm@getaweb.at
294ccce0e1d57d9c848ae8d1b3031470469241bc
1f22a46c06755e518907866061dd17c3285374e9
/com_sqlite/common.py
ca9d65d2e0e23b86d0edf7d3a0c37f5e37b3f414
[]
no_license
zhng1200/170731
8a53fecc6e6cd830e036ab4448768f6a459acfdc
29bf71bce8de062b24717f41f3a55bb7b1f5486c
refs/heads/master
2021-06-24T19:24:07.062974
2017-09-18T07:00:53
2017-09-18T07:00:53
103,904,024
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# coding=utf-8 import sqlite3 class SQLiteDataBase: def __init__(self): self.db = sqlite3.connect("mysite.db") self.cursor = self.db.cursor() def query(self, sql): self.cursor.execute(sql) self.db.commit() results = self.cursor.fetchall() return results def...
[ "zhaoning_zb@cmos.chinamobile.com" ]
zhaoning_zb@cmos.chinamobile.com
ad1c203c7a732ca9ec21f499fc2ab7b808c076de
1e12eb238eb942c35543af80bfa2c62d2188d11d
/mysite/settings.py
655d895802e26c0dd501a8116837588c5dfaa331
[]
no_license
tania89d/my-first-blog
4fb0d04233b199d6047fa64affb032be46cba685
00071ea61bc0c8e9a43600135447632a7234c016
refs/heads/master
2021-01-18T20:11:34.566442
2016-10-27T15:13:25
2016-10-27T15:13:25
72,121,322
0
0
null
null
null
null
UTF-8
Python
false
false
3,235
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.9.10. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os #...
[ "tinel.hajkova@gmail.com" ]
tinel.hajkova@gmail.com
eb8412cedc39fa28a1baad4fe8b90e486f742869
ea6cf2360eead61c3534beeb1f394d0fe0905ee9
/myapp/migrations/0001_initial.py
6f78a0420ad000f89a3642691ef23eb52793f9e8
[]
no_license
123tian/mypro
9f5d89cdf13945525ea943fbe38f47a8c5d52219
e0c1d5691130139f16359fdf0099e8d12c310eb9
refs/heads/master
2020-07-13T15:22:49.251644
2019-08-30T00:50:11
2019-08-30T00:50:11
205,105,716
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.22 on 2019-08-28 07:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Publi...
[ "3053366571@qq.com" ]
3053366571@qq.com
fda1f90a4be88c7944f2879764d5c153faed9cb0
c57439f0c98af370ace65f9d55ef5a457bedc531
/ydk/models/ipv6/Cisco_IOS_XR_ipv6_ma_subscriber_cfg.py
a66d84f0a2924a7e9df63458243f00228eb1dd1d
[ "Apache-2.0" ]
permissive
myahmao/ydk-py
c932fbd8245e554227cce0fd723d9a22887b0c40
2f367d93f2088d4abdc2f2bb10ca4864952b458a
refs/heads/master
2021-01-14T11:32:29.064494
2016-03-15T22:44:05
2016-03-15T22:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
""" Cisco_IOS_XR_ipv6_ma_subscriber_cfg This module contains a collection of YANG definitions for Cisco IOS\-XR ipv6\-ma\-subscriber package configuration. This YANG module augments the Cisco\-IOS\-XR\-subscriber\-infra\-tmplmgr\-cfg module with configuration data. Copyright (c) 2013\-2015 by Cisco Systems, Inc. ...
[ "manradha@cisco.com" ]
manradha@cisco.com
62aa187e75d0d640cc2d69a224a102a0cafca5fc
0179a8c11f51d89cc962c7d9249203ff0e67e405
/shell/shell_contract.py
1238844b436bb74f76efe8dda6e11fca6a4f0c77
[ "MIT" ]
permissive
paulo-romano/orcamentos
7033637065c39c457a59b53eab215234f7d5b85a
dc87fd2736e9f8262ed775bf9160d1e21eb1684a
refs/heads/master
2021-01-15T22:14:41.595934
2016-02-16T23:02:59
2016-02-16T23:02:59
51,551,215
1
0
null
2016-02-11T22:16:43
2016-02-11T22:16:43
null
UTF-8
Python
false
false
523
py
from random import choice from django.db import IntegrityError from orcamentos.core.models import Contract, Proposal, Customer REPEAT = Proposal.objects.filter(status='a') for i in REPEAT: proposal = Proposal.objects.get(pk=i.pk) contractor = Customer.objects.get(pk=proposal.work.customer.pk) try: ...
[ "rg3915@yahoo.com.br" ]
rg3915@yahoo.com.br
5739e561cd3360ae20088b5f64ed45c14b854723
cfb44550355ea3c36e610d3f1eb75d8dcbdc8ebe
/strawberry/setup.py
62732a79141f77a94d9dc5da70b6e018a0858ff8
[ "Apache-2.0" ]
permissive
KiritoDv/blueberry
bd0dc38bfe16622693efd8ff4a31368b4dbeb4ac
a47feeb3e944d44b9f2af4661f6c409f51fbabd6
refs/heads/master
2023-01-18T19:06:00.074071
2020-11-24T23:04:09
2020-11-24T23:04:09
314,765,853
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from distutils.core import setup, Extension module1 = Extension('strawberry', sources = ['straw.c']) setup (name = 'strawberry', version = '1.0', description = 'Strawberry miniaudio wrapper', ext_modules = [module1])
[ "alex@pop-os.localdomain" ]
alex@pop-os.localdomain
cf8df78c19fed7972b683782a743137388fcee12
6b518cf14ea3f59fd59136dbd2a7ac70234bb96e
/pspipe.py
4523f7e32db887641957d2c80753873e9e831bcc
[]
no_license
simula67/advanced-python-course-material
8064a1adddff45b0980d4bd1948fdeb2f88aec89
98870da337cbc001bcf4215ce44f82f0430fd3ce
refs/heads/master
2016-09-06T12:29:37.397321
2015-06-29T05:10:19
2015-06-29T05:10:19
38,228,793
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
__author__ = 'antonjoj' import subprocess cat = subprocess.Popen('type datafiles\\passwd', shell=True, stdout=subprocess.PIPE) find = subprocess.Popen('find \"root\"', stdout=subprocess.PIPE, shell=True, stdin=cat.stdout) for line in find.communicate(): if line: print line
[ "simula67@gmail.com" ]
simula67@gmail.com
53dc368768d6cfff5f959b78f918c8c2190e3a95
c8abe556d3f01071d2df5d784746e0ea8a590544
/code/box_plots.py
7d7e5c5bfb3355d5d036e8188730a156d2f1866c
[]
no_license
02450-Intro-to-ML-ETHOTOS/automobiles
0fc0b8816edd074f74b3e75bb56e9908149ecccb
3a9f62e4ea2718188cd5067258be568550a0bed4
refs/heads/master
2023-04-09T19:53:20.335351
2021-04-20T12:30:14
2021-04-20T12:30:14
343,370,253
0
0
null
null
null
null
UTF-8
Python
false
false
1,593
py
from pca import * from scipy.stats import zscore #Extract Attributes wheel-base, length, width, height #dropped_data = dropped_data.iloc [:, [0,1,2,3]] #attributeNames = np.array(dropped_data.columns) X = np.array(dropped_data) #The data matrix should be standardized to have zero mean and #unit standard deviation X ...
[ "70723194+Erikinol@users.noreply.github.com" ]
70723194+Erikinol@users.noreply.github.com
0d7d6b9040e1904e68f4c40434dae2fa937d9729
61a4a77fb2347172390a8528a068207d50804d61
/python/function.py
9f4ddc9d868a1a66f2efc2163aba671fecd73d89
[]
no_license
king636/myLearning
84180c05dbc418bd30919928ed95fb3788d191d8
7a3c3eee70bbe425c3575b2ac4837d9e4dabed1a
refs/heads/master
2021-09-06T04:25:27.255477
2018-02-02T09:41:54
2018-02-02T09:41:54
113,003,979
2
0
null
null
null
null
UTF-8
Python
false
false
11,305
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # 函数用法 # python内置的函数 # 1. abs()取绝对值,js也有内置函数:Math.abs() # 20 print(abs(-20)) # 参数不对,报错:TypeError: abs() takes exactly one argument (2 given) # js不报错 # abs(-20,1) # 参数类型不对,报错:TypeError: bad operand type for abs(): 'str' # js的Math.abs()参数类型不对,返回NaN # abs('a') # 内置函数2:max,取...
[ "ChenBin@yaxon.com" ]
ChenBin@yaxon.com
1ef6fa14c5eddb4800ee9cb3c0f1c9d522ce8cf8
826a4e7a2d80a802186480cd88201d4d547c9239
/Assignment 5/TextProcessor.py
526088cae4c65bbc6f25d7ebdb5975d006c28853
[]
no_license
ThomasBakkenMoe/IINI4014
3b971d952ddad0ffbe6d78a4c44e8dfe2f868e36
ed43382ef1fff34c951444ea051cb6a925badc15
refs/heads/master
2022-12-18T00:26:35.085578
2020-09-21T13:02:31
2020-09-21T13:02:31
297,340,346
0
0
null
null
null
null
UTF-8
Python
false
false
3,450
py
import os import re class WordAndNumber: ''' Object that contains a word and the frequency of that word Constructor takes: word: string: the saved word frequency: int: the frequency of the saved word ''' def __init__(self, word, frequency): self.word = word self.frequency...
[ "thomasbakkenmoe@gmail.com" ]
thomasbakkenmoe@gmail.com
f2524c8aac5047e8df7b39934eb9c36faf418259
c73e3f1983c9c5f870c40b1c084bf8f081e79f54
/src/fetch_data.py
1f3f72956a6869d4462d657d0a3816d0cba1f881
[]
no_license
Winnie1024/food_recognizer
6a98de6e59d5e91da9aa612f9f609e2583f0ce2e
1093904d16c1923110576faf97cc50f61731ffca
refs/heads/master
2021-09-10T16:18:03.576333
2018-03-29T05:09:12
2018-03-29T05:09:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,896
py
import os,sys,time import pickle as p import random, math import numpy as np class_num = 2 image_size = 32 image_channels = 3 #从文件中读取所有数据【label,image_data】 def unpickle(filename): with open(filename, 'rb') as f: dict = p.load(f, encoding='bytes') return dict #分离文件中的label和data def load_data_once(filen...
[ "hujn3016@163.com" ]
hujn3016@163.com
ace60bf3e38f65536ff99a19866beecf5e035254
9d51cd52883fc2dec636ad16552592cabd491696
/sentence.py
57c4638e7473c67bc8e8917350fdf80700eda150
[]
no_license
nathan108642/stringtest
6f84ee31458e533232f86334d1e4d75ba4b8dee0
856c6e47f5d3fe44b34fc9691ba9455024792884
refs/heads/master
2020-05-17T20:31:14.919602
2014-02-05T10:26:24
2014-02-05T10:26:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
start = "hello," question = input ("are you coming out tonight") end = "no,i'm going out to dinner" sentence = start + question = answer
[ "nathanhayter@hotmail.com" ]
nathanhayter@hotmail.com
3c3a5c6f1ca843658cc6f58129f94c4f986fe500
83fb1e03b3c83cd6b794f5ac7b3705ed439a25a0
/temperature chart.py
608f03e6f5017da81a58acdf16f8dffc3dc6e8af
[]
no_license
lenatester100/class_assignment
e15d57c3f6288d7a5d459e43ee45e0b1506dd8e3
859340822bbd43318486ebff84e00a047d507fa7
refs/heads/master
2021-01-11T14:24:41.709114
2017-02-17T00:36:53
2017-02-17T00:36:53
81,388,563
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
def main(): print("celsius", "fahrenheit") a=0 while a<=100: a = a + 5 celsiustemp = a fahrenheittemp = (celsiustemp *9/5+32) print(celsiustemp," ", fahrenheittemp) main()
[ "noreply@github.com" ]
lenatester100.noreply@github.com
2e332786982006635b4644f8d511224a688b64c0
ce70410742da246cd1448d2b6ce6e05f8f68a7e2
/manage_cfdi/descarga/migrations/0002_apitbusersrfc.py
1b75e58b41a0bf737938df2ea459be92c2355a22
[]
no_license
agsneutron/balanxa
3255641fa3de3c4be3e00b5fea66c138ad663c64
092c9aa6ec6ce132927e3800663caccfc2db58ce
refs/heads/master
2023-03-30T21:58:17.526923
2021-01-05T05:01:30
2021-01-05T05:01:30
326,866,495
0
2
null
null
null
null
UTF-8
Python
false
false
1,079
py
# Generated by Django 3.1.4 on 2020-12-28 01:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('descarga', '0001_initial'), ] operations = [ migrations.CreateModel( name='ApiTbUsersRfc', fields=[ ...
[ "ags_neutron@hotmail.com" ]
ags_neutron@hotmail.com
d330066fb6ba0e836748a43a60059fe223936d8f
7e53ed2d6074a025fe960f72c21672cc23dcab14
/vt/tests/test_vt.py
c1d05f734a3b1993f80ddc0c57020fbbb90a49cb
[ "MIT" ]
permissive
kyokley/vittlify-cli
154410638b3a33640c01ab915dbf24d4e6afe13f
e3be7f3c7b0c00d59defe73af9aed0ec792800cc
refs/heads/master
2023-02-17T21:08:29.452548
2021-12-05T15:54:06
2021-12-05T15:54:06
58,974,128
0
0
MIT
2023-02-08T02:27:24
2016-05-16T23:09:51
Python
UTF-8
Python
false
false
41,993
py
import shlex import unittest import mock import pytest import requests from vt.utils import VittlifyError from vt.vt import ( Status, add, categories, complete, display_all_shopping_lists, display_item, display_shopping_list, display_shopping_list_categories, help, modify, ...
[ "kyokley2@gmail.com" ]
kyokley2@gmail.com
5408d8eb40da578adce33eff9310ab27978446dd
8b0fdeee0f998f9d347789741251b447d8640e7e
/tf_encrypted/protocol/aby3/fp.py
633a7ae92f9472c0379b97e252111907d757e358
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
tf-encrypted/tf-encrypted
639bd31190b7da7378de2c738e5e120309a4f027
2e7b569617697e49177e8b73c32957e1b939bbaf
refs/heads/master
2023-08-17T14:33:23.975918
2023-02-08T02:25:50
2023-02-08T02:25:50
126,222,784
1,007
196
Apache-2.0
2023-05-10T12:26:14
2018-03-21T18:22:13
Python
UTF-8
Python
false
false
11,638
py
# This file include the floating-point operations from math import ceil from math import log2 import numpy as np import tensorflow as tf from ..protocol import TFEPrivateTensor from ..protocol import TFEPublicTensor def _fp_div( prot, a: "TFEPrivateTensor", b: "TFEPrivateTensor", nonsigned: bool, ...
[ "noreply@github.com" ]
tf-encrypted.noreply@github.com
aef286b0f3fd7f3e265e4d48a993b148f77f3f96
ac89c1feea035c5e04c36036f692f059b78f9ce2
/src/device_abstract.py
b0b1cf5497509e0f6ad565cb31626cfc9c4cd21e
[ "Apache-2.0" ]
permissive
urpylka/filesync
3b4a64ad73138d2fdb0b51f394e7310edefafa2b
9167148f27fefdfe56a7b1e2d84479cec56885c5
refs/heads/master
2021-07-11T14:58:53.987749
2021-06-29T06:57:11
2021-06-29T06:57:11
156,345,341
2
3
null
null
null
null
UTF-8
Python
false
false
6,319
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:set ts=4 sw=4 et: # Copyright 2018-2019 Artem Smirnov # 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/licens...
[ "urpylka@gmail.com" ]
urpylka@gmail.com
ad4bbd701c27d99b9d0dac95c62c0fc2e8227f82
4bfa2ea9963a9832430720fbbdef459ca8b5cd94
/checkSolution.py
185f735060db50c125e778b5514e35f2fbe099a6
[]
no_license
franciscolemos/csp
5d0df21c029f54a7c72e339c89b1fc58ef9bf20f
7fd26b6eb3841b9e56bc86dafcccb0c8a1cadf01
refs/heads/master
2023-05-07T18:03:56.480043
2021-05-19T23:47:19
2021-05-19T23:47:19
231,985,455
0
0
null
null
null
null
UTF-8
Python
false
false
2,552
py
from recovery.repositories.paths import pathList import subprocess import os from datetime import datetime import pandas as pd from recovery.dal import resultsDtype import numpy as np sizeLine = {} sizeLine['version'] = [] sizeLine['dateTime'] = [] sizeLine['dataInstance'] = [] sizeLine['checkAircraftBreakdownPeriod...
[ "chico.lemos@gmail.com" ]
chico.lemos@gmail.com
9cf98b7b4745bf18117c0e68108e370d4226cd25
24e21c68bc2c4f1c3f58b96ae13512968a919024
/memoryAndMulti/threadDemo.py
557b1eb374bb59d12ee08ff31de2c68f27abdcf2
[]
no_license
maketubu7/spiderDemo
0308e88815c2035fa33acd1c4ca85329d2435034
9c5e78fdafba37a08e51c2e988c54957feed5b0f
refs/heads/master
2021-02-09T18:43:32.493539
2020-11-11T09:13:21
2020-11-11T09:13:21
244,314,824
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
# -*- coding: utf-8 -*- # @Time : 2020/2/27 0:10 # @Author : Deng Wenxing # @Email : dengwenxingae86@163.com # @File : threadDemo.py # @Software: PyCharm from threading import Thread import threading,time from typing import Optional def loop(): print(threading.current_thread().name) n = 0 while n...
[ "601176930@qq.com" ]
601176930@qq.com
d0323d73f123fb6fa6c9c340dcdb2c274040f8c8
42b2b574e400afa875888136bb2a8843c59f2700
/07_Misc/Creative Cheating [crypto] (150)/cheating.py
b6a80a0cc0dd8eb457d0c31b1299b2d30809edba
[]
no_license
yizhimanpadewoniu/CTFLike
d7c572d3c4f39486ff01180c021fde3993a1f252
d822891ede0456d77ea0b191d3726a35d5fec4f5
refs/heads/master
2020-05-22T21:35:22.995073
2018-11-07T12:41:14
2018-11-07T12:41:14
186,530,148
0
1
null
2019-05-14T02:31:41
2019-05-14T02:31:41
null
UTF-8
Python
false
false
1,432
py
import base64 import re import gmpy from Crypto.PublicKey import RSA class RSAPerson(object): def __init__(self, e, p, q): self.n = p * q self.e = e self.p = p self.q = q self.d = long(gmpy.invert(e, (p-1)*(q-1))) self.key = RSA.construct((long(self.n), long(self.e...
[ "dengnanyi@163.com" ]
dengnanyi@163.com
a55f91c3b4e428b323ddb4834febff18bff53cb7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02818/s319321320.py
ec787c89f517dd3576a0c30e3d24e3bf48cf1b60
[]
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
215
py
# ABC149 # B Greesy Takahashi # takはA枚、aokiはB枚、TAKはK回 a, b, k = map(int, input().split()) if k > a: if k - a > b: print(0,0) else: print(0,b - (k - a)) else: print(a-k,b)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3f21ba69b37a994780c6046ac37ba58a78d26472
29e4005d970b66b1640e9570590addca66d8a53a
/czblog/settings.py
35cdb6bd06d2d9225e8a6514798180faa3040b6c
[]
no_license
cz9025/czblog
ec07582fdd06d77349fd518b2a7d94daeffc535b
50b712607bbe33c687e790dcc93a82e1f32f58bd
refs/heads/master
2020-04-13T04:25:43.642086
2020-01-03T09:38:04
2020-01-03T09:38:04
162,960,443
0
0
null
null
null
null
UTF-8
Python
false
false
3,955
py
# -*- coding: utf-8 -*- """ Django settings for czblog project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settin...
[ "897308902@qq.com" ]
897308902@qq.com
36d479e9d62294ff7f9e197330fafe40334c2523
b5e5182e0031b84af7eeccd8cdbf9dac457a4c03
/plugins/InformaticaPlugin/operators/execute_profile.py
96f5e257636bff5b44e96145725ba289b4b4872b
[ "MIT" ]
permissive
consag/informatica-airflow-plugin
0c8f86dd4b466a74515f65b648489dd95b1e75ef
50c2b713d71b80eb0a5202c84b9e1d3173f0512f
refs/heads/master
2023-05-12T09:10:56.966475
2022-09-16T21:58:02
2022-09-16T21:58:02
219,062,936
3
0
MIT
2023-05-08T20:32:30
2019-11-01T21:08:28
Python
UTF-8
Python
false
false
1,551
py
from airflow.models import BaseOperator from airflow import utils as airflow_utils, AirflowException from execution import runProfile from InformaticaPlugin.operators import available_arguments import os class ExecuteProfile(BaseOperator): @airflow_utils.apply_defaults def __init__(self, profile_path, **kwar...
[ "jac@jacbeekers.nl" ]
jac@jacbeekers.nl
0b1fded14590f90a53b245d8b128a370c4450fac
a4641a95c32923d667e9586f1bf6afef4bfbea51
/finder/forms.py
c864b61b51b32a1007725f096a8aa6392aecad1a
[]
no_license
yumajen/find_news_app
9ac7461e185f17e6a379668987605cad68d55b87
5d7463083df601c5c011c1328f698f91cf27513b
refs/heads/master
2020-06-13T18:48:37.620504
2019-08-12T13:33:50
2019-08-12T13:33:50
194,754,784
0
0
null
2019-08-12T13:26:00
2019-07-01T23:16:27
Python
UTF-8
Python
false
false
1,078
py
from django import forms from .models import NewsSite from .models import Category import datetime class SearchConditions(forms.Form): site_name = forms.ModelChoiceField( label='サイト名:', empty_label='選択してください', queryset=NewsSite.objects.all() ) # TODO: カテゴリは選択したサイトに応じて動的に変化させる ...
[ "noreply@github.com" ]
yumajen.noreply@github.com
d3e98871213596ac415e24442f42d914dfd5ad66
28c06b1ebc6b361b96be62f5274c3f6affa991ab
/sat_modules/utils.py
daffe19f47096fd638002e1edfa21655ac17d88a
[]
no_license
caifti/sat
c5df52fa86c2de960f11ab267f38c4ebc38ca489
54380d66b75d46c37e48269b25682cce50157f5f
refs/heads/master
2020-09-09T09:14:30.010315
2019-06-21T07:50:22
2019-06-21T07:50:22
221,409,359
0
0
null
2019-11-13T08:27:24
2019-11-13T08:27:24
null
UTF-8
Python
false
false
3,492
py
# -*- coding: utf-8 -*- # Copyright 2018 Spanish National Research Council (CSIC) # # 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 # # Unle...
[ "garciad@ifca.unican.es" ]
garciad@ifca.unican.es
4312c5132af6818ca35ed0f704d81bfac2ddb825
5963c12367490ffc01c9905c028d1d5480078dec
/tests/components/wallbox/test_config_flow.py
6b5a05a3486830b64b8d0d53f7b409dfb288bb79
[ "Apache-2.0" ]
permissive
BenWoodford/home-assistant
eb03f73165d11935e8d6a9756272014267d7d66a
2fee32fce03bc49e86cf2e7b741a15621a97cce5
refs/heads/dev
2023-03-05T06:13:30.354545
2021-07-18T09:51:53
2021-07-18T09:51:53
117,122,037
11
6
Apache-2.0
2023-02-22T06:16:51
2018-01-11T16:10:19
Python
UTF-8
Python
false
false
5,028
py
"""Test the Wallbox config flow.""" import json from unittest.mock import patch import requests_mock from homeassistant import config_entries, data_entry_flow from homeassistant.components.wallbox import InvalidAuth, config_flow from homeassistant.components.wallbox.const import DOMAIN from homeassistant.core import ...
[ "noreply@github.com" ]
BenWoodford.noreply@github.com
1c4a53ccb57b78886be553a6979ec66c482364a8
3805d27bbd55a40594d8d5aebe9aa92f299e5a7f
/data_builder/mhdparser.py
d18b7f1b546ef52f3d1271c5292d11f852136cd9
[]
no_license
novageno/lung
7398b564d266f9401a43daac86e2ddc8ea497170
4ac74f842f07e1a411644e3a8a6d57aee9e0af4e
refs/heads/master
2021-01-16T19:23:43.769888
2017-08-13T06:04:30
2017-08-13T06:04:30
100,157,347
1
0
null
null
null
null
UTF-8
Python
false
false
190
py
# -*- coding: utf-8 -*- """ Created on Sat Aug 12 18:22:44 2017 @author: genonova """ import simpleITK as sitk class MhdParser(): def parse_mhd(self,mhd_dir):
[ "lilhope@163.com" ]
lilhope@163.com
3a7b75886db5b91af55617c1f0a203df4479f839
fcad3e866d3e3815ba5e7d2c9b5d1ab2bb3917b9
/face.py
258946bff9c751a23f86c487b4fc7b8e497febce
[]
no_license
ranjeetbidwe/Kaggle-Autism
520b20cf55b79bcb29aee28f711bbb46ff9891c7
bda23282cf004cbe48fad86890d66da306ede835
refs/heads/master
2022-04-26T04:30:00.698400
2020-04-27T20:46:21
2020-04-27T20:46:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,609
py
import os import glob import time import keras from PIL import Image from os import listdir from shutil import copyfile from os.path import isfile, join from matplotlib import pyplot as plt from keras_vggface.vggface import VGGFace from keras.engine import Input from keras import applications from keras.models import M...
[ "Bobar312@gmail.com" ]
Bobar312@gmail.com
b7b8ce02d0aba506b2683b3c8862f61ba4fd4293
9095c1a0da8c6ffe914ee6dd9c4708062fd95c9a
/vtpl_api/models/source_type.py
99b3143d277011d407f04a5955fab602b32550ca
[ "MIT" ]
permissive
vtpl1/vtpl_api_py
2e5338bd08677f12fc7304fb6ac7a32f32af1c93
d289c92254deb040de925205c583de69802a1c6b
refs/heads/master
2020-09-10T23:34:21.828350
2019-11-15T07:26:53
2019-11-15T07:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
# coding: utf-8 """ Engine api Engine APIs # noqa: E501 The version of the OpenAPI document: 1.0.4 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class SourceType(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref:...
[ "monotosh.das@videonetics.com" ]
monotosh.das@videonetics.com
8946fdaa77811cae476e4d34aeade4fcaa751ef1
e200ad8a6e1aec6a3d3a55ed6223587a38460e27
/app.py
01e89251b10057eab1aca954f56b213b0fac7163
[]
no_license
user-cube/QRCode_Flask
3d1c09a3ba999c95430681d811f8acc6d2cc9eb6
6d8761005b3f0cf478f2ddbb383f2dafea0a92e8
refs/heads/master
2020-08-28T07:10:26.408452
2019-11-18T11:01:23
2019-11-18T11:01:23
217,631,168
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
from flask import Flask, render_template, request, send_file from flask_qrcode import QRcode import home app = Flask(__name__) qrcode = QRcode(app) paths = home.Home.home(app) @app.route("/") @app.route('/home') def index(): return render_template("home.html", paths=paths) @app.route('/qrcode') def qrcodeGenerat...
[ "ruicoelho@ua.pt" ]
ruicoelho@ua.pt
624821fbcf83feda5993b98a3444652ea2c64d7a
30d5f8094a42696be671917e8d1918363ccba963
/vd_design.py
7b255d16da74bad6bebd9e30f392359978bef17c
[]
no_license
ortariot/VMC-desktop
e8ffa6ba75c19bc5a785ed77da2bab6372a0878c
4df6b2a69f74cebf1c5b2cd722584fb1483a2b48
refs/heads/master
2023-05-31T15:56:56.304464
2021-06-11T12:04:20
2021-06-11T12:04:20
375,114,176
0
0
null
null
null
null
UTF-8
Python
false
false
12,886
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'valve_design_desktop.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import...
[ "v.n.homutov@gmail.com" ]
v.n.homutov@gmail.com
1a1bd3525f993dcb297270edc0c3315f6f3a3478
0e7b1f88ad2d8d37e1f4071209a41a3c7e7c4172
/pyexec/flask/pytestoutput.py
7be7ea347f45c308459365a643e38d3093cdf420
[]
no_license
veryfreebird/codebase
a74a524b526f2ac4418b0a08485c777d3a6235ff
32f80b56e7b1d9aff4cfef27cd3b75063667b97e
refs/heads/master
2023-08-31T11:40:31.981743
2023-08-28T08:11:36
2023-08-28T08:11:36
53,237,893
3
0
null
null
null
null
UTF-8
Python
false
false
350
py
import pytest from datetime import datetime def test_add(): assert 1 == 2 def gen_report_name(): prefix = '测试报告' ts = datetime.now().strftime('%Y-%m-%d-%H-%M-%S') return prefix + ts + '.html' if __name__ == '__main__': report_name = gen_report_name() pytest.main([f'--html=o...
[ "79344359@qq.com" ]
79344359@qq.com
397f63bed9a3a36120ebb0a445e6a6d487b5a736
670df3389c2dcad92e10f350dd40490eb6656f89
/src/networks/__init__.py
b7310380cf242e537dc0b4340da8ee7096d8bef3
[]
no_license
MoeinSorkhei/Thorax-Disease-Classification
8ed5494ef5db1ee86bf4eabf4ffdcf24eb80cf27
ef1f5f0289d62e132372974352bf974bf8b70e4c
refs/heads/master
2022-07-05T07:48:06.877423
2020-05-16T12:48:57
2020-05-16T12:48:57
261,700,037
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
from .pre_trained import * from .trans_pool_pred import * from .init_models import *
[ "m.moein.sorkhei@gmail.com" ]
m.moein.sorkhei@gmail.com
e52b144b5a63429930080239d02e6ed875812900
c70683220a370751606b15876491cee31342b533
/calculadora/test/test_calculadora.py
8ec52d042a283d250d04bdc222014a0a6892d00a
[]
no_license
AbnerAbreu/TDD
1c1a6345d200ed85c17d7a95db4023dfa7d78986
fb705c78e446075917d1b7167c917becdc91f349
refs/heads/master
2020-08-08T18:56:55.685881
2019-10-01T20:46:56
2019-10-01T20:46:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.test import TestCase from calculadora import views class CalculadoraTests(TestCase): def test_soma(self): self.assertEqual(views.soma(2, 2), 4)
[ "vferreira@mastertech.tech" ]
vferreira@mastertech.tech
4c4b3601e4073098253b9a1d67c3a5e373a569bd
546187161f8f0e234b4bf4e749bab477c32a352a
/arranging coins.py
fb508cafd1082fe4ee8b9ecf48efdc16b0ebb64d
[]
no_license
lzj322/leetcode
0fd71389c784715ce8adf975873a7e40d348b837
30ccbf3ae12d895f34c78e63c149c309468ab61b
refs/heads/master
2021-08-12T06:33:58.422303
2017-11-14T14:13:05
2017-11-14T14:13:05
110,697,832
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
'LeetCode 441 arranging coins' import math class Solution(object): def arrangeCoins(self, n): """ :type n: int :rtype: int """ return int(((8*n+1)**0.5-1)/2) if __name__ == '__main__': s=Solution() l=[0,1,2,3,4,5,6,7,8,9] ans=list(map(s.arran...
[ "lzj910322@gmail.com" ]
lzj910322@gmail.com
faa2e47e01b26f98eb24501a23c59d2dd2f3081a
70bc77336e4544031ad7d7d29a2e964ef2626076
/base/models.py
bf4ba34fec4fc78262b81397124b4041d26e64fd
[]
no_license
DronMDF/vanadis
9af7a8c9281bf0eb17df593f5c9fc9345e474612
de692207bbd127c5a9952e3144653492a0ba969f
refs/heads/master
2020-04-17T08:11:18.411429
2016-12-21T20:50:05
2016-12-21T20:50:05
66,539,179
1
0
null
2016-12-21T20:50:06
2016-08-25T08:20:03
Python
UTF-8
Python
false
false
654
py
from django.db import models class Project(models.Model): name = models.CharField(max_length=100, db_index=True) repo_url = models.CharField(max_length=256, null=True) class Object(models.Model): project = models.ForeignKey(Project, on_delete=models.CASCADE, db_index=True) oid = models.BigIntegerField(db_index=...
[ "dron.valyaev@gmail.com" ]
dron.valyaev@gmail.com
d846750416962cc14802ebec76b38e76d668611c
b3eef5d20818cbb2462acaedac3544a703987a60
/maze_generator/render.py
64e4f7d2262508990b92d4380b483585956fe865
[]
no_license
JohnnyDeuss/maze-generator
5a36cf69e7d51c8e09a40f77d36fa13054d13e95
ae7107d787e80206d96d2a92776f606ac3ce5210
refs/heads/main
2023-02-15T01:38:54.508688
2021-01-02T22:06:49
2021-01-02T22:08:36
326,081,260
2
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
from PIL import Image, ImageDraw def render_maze(g, path_width=20, wall_width=2, border_width=4, output_file="maze.png"): """ Render a maze graph and output it to the given file. """ w, h = list(g.nodes)[-1] w += 1 h += 1 img_w = w * path_width + (w - 1) * wall_width + 2 * border_width ...
[ "johnnydeuss@gmail.com" ]
johnnydeuss@gmail.com
50988401345a82502f2e380001be76f2af3666d2
25642cf53a941d9abac3f9b492ab76165e7ad4e9
/event-notification-server/sunBotApi/migrations/0006_event_closed.py
2e6fe9d95735a50ff509645afc96c2ab79d1117d
[]
no_license
Amwap/event-notification-bot
112f3be678d0e373a11b46b3b2342d92fa01bc75
8ea3f64cde606a161739f9bc0d1ece477f9a1cf5
refs/heads/master
2023-06-10T02:59:03.744669
2021-06-25T20:56:36
2021-06-25T20:56:36
380,349,377
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# Generated by Django 3.2.2 on 2021-05-14 23:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sunBotApi', '0005_auto_20210515_0101'), ] operations = [ migrations.AddField( model_name='event', name='closed', ...
[ "Amwap" ]
Amwap
29cd5aa3c4e1875cf4d2d691c2218d861a2d333c
7e4460c85790fae2d470182732289bcd1b8777b2
/Process/process_meshes.py
1ea42ad249869c9afd8713ee9ab0cb63fbd9752a
[]
no_license
khamukkamu/swconquest-msys
5b23654c8dd2e8b2f25bc7914252eedc05a5cc1e
71337a4ae9c507b9440e84cf49d31fc67a781978
refs/heads/master
2021-04-29T19:00:10.389224
2019-05-01T15:11:11
2019-05-01T15:11:11
121,704,753
1
1
null
2018-02-16T01:40:58
2018-02-16T01:40:58
null
UTF-8
Python
false
false
1,015
py
import string from header_common import * from module_info import * from module_meshes import * from process_common import * from process__swyhelper import * def save_meshes(): ofile = open(export_dir + "meshes.txt","w") ofile.write("%d\n"%len(meshes)) for i_mesh in xrange(len(meshes)): mesh = m...
[ "swyterzone@gmail.com" ]
swyterzone@gmail.com
88f88a537c87284e71ef254d24a05d22fc3a9233
6a928130337dafece1a6158badd00d1d46571003
/reportForm/wsgi.py
28a489cea41932132be6da890e260ca78c6ee72b
[]
no_license
Yanl05/reportForm
bb5a36cff3fac3aca76b5bc50c92fe54282250a8
45a915b29102c1f49035df93217782ea563cdb9f
refs/heads/master
2023-04-18T00:40:19.355040
2021-04-29T14:37:59
2021-04-29T14:37:59
362,485,297
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for untitled project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "756593069@qq.com" ]
756593069@qq.com
7acaed873ed4e401b1f0ffb7abe466b74f9b4a75
be26a7a4b2f6097dc930a3aa696bbdd173512485
/sliding-puzzle/calvins_solution/sliding_puzzle_a_star.py
c95f6a5bace623cdd413f0a323e40be01909cf2c
[]
no_license
jchen8787/inting
c68361e941e01e2fdff8a6a472553cafe7baae04
0ae5caff8e1d33ad22d35ee95c7604066a34acf7
refs/heads/master
2020-05-26T17:52:33.557631
2019-09-10T20:36:08
2019-09-10T20:36:08
188,326,828
0
0
null
null
null
null
UTF-8
Python
false
false
3,952
py
from copy import copy from pdb import set_trace class GameState(object): def __init__(self, board, move_history): self.board = board self.move_history = move_history self._zero_tile_position = None @property def zero_tile_position(self): if self._zero_tile_position: ...
[ "jusjsc@gmail.com" ]
jusjsc@gmail.com
6a7bd840b05232033b4479a414b2dba8cac470bb
d2fae2d0ff36fde8d8402bdac1de5b6760f050b7
/app/tests/Test_passwordchecker.py
031f23e09f40532aa833df7d554126e8cd5b2beb
[]
no_license
DennisMufasa/mongodb-flask_app
8701d817d757a5144b9a98ba4293a948c537b6c5
53c3447850d16d630428a020fe28949ff84c4a03
refs/heads/master
2022-12-09T11:31:59.085865
2020-08-31T02:32:57
2020-08-31T02:32:57
260,714,213
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# third-party import import unittest # local import from ..api.v1.models.utils import password_checker class Test_Password_checker(unittest.TestCase): def test_password_len(self): password_check1 = password_checker('boo') password_check2 = password_checker('lysergicaciddyethylammide') self...
[ "denny.muasa@gmail.com" ]
denny.muasa@gmail.com
27cd1801d257361237f2eacb2dbcb8e287f6685b
3f7d5999bb7e5a75454c8df2c5a8adcd1a8341ff
/tests/unit/modules/network/fortios/test_fortios_log_eventfilter.py
32a1e9c532163bad832b3009b0d154dc776ce8a7
[]
no_license
ansible-collection-migration/ansible.fortios
f7b1a7a0d4b69c832403bee9eb00d99f3be65e74
edad6448f7ff4da05a6c856b0e7e3becd0460f31
refs/heads/master
2020-12-18T13:08:46.739473
2020-02-03T22:10:49
2020-02-03T22:10:49
235,393,556
0
0
null
null
null
null
UTF-8
Python
false
false
8,342
py
# Copyright 2019 Fortinet, Inc. # # 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 the...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
4eacd86775bb8afb4f12c25a8a0907c0cc30960e
0a674e831b4616d8013511b88c1097c29474042d
/tutorials/tf_modularity.py
294fc17e29699ea9f545f741077b3c652f180045
[]
no_license
ncullen93/tensorflow_portfolio
eac119cba6ffd69146326828dccfc635daff60c0
b14145dc7d8cd2fe86e036033d2890548ae09456
refs/heads/master
2021-03-19T12:22:17.617012
2017-10-14T16:42:14
2017-10-14T16:42:14
86,193,597
2
1
null
null
null
null
UTF-8
Python
false
false
524
py
""" Code for reusing common tensorflow functionality """ def relu(X, n_out=1): with tf.name_scope('relu'): w_shape = (int(X.get_shape()[1]),n_out) w = tf.Variable(tf.random_normal(w_shape), name='weights') b = tf.Variable(0.0, name='bias') z = tf.add(tf.matmul(X,w),b, name='z') ...
[ "ncullen@Nicks-MacBook-Pro.local" ]
ncullen@Nicks-MacBook-Pro.local
a2d97895a54972443c74c32f10d1ee5f07775db6
2de1aaa4d9bde03e21601bfeddf7e85863b0d54a
/django/jason_test/booktest/views.py
1592057bc085ff5a7c9206432df946588d5f918e
[]
no_license
jasondzy/Python
d0a0ffad8aaac1f75d9e7c5ecd5cc9c33bd712ea
9fe9cf23f7defa3581e7bcfe4cf8ec6a830b6cd7
refs/heads/master
2021-01-01T18:46:00.739387
2018-02-11T14:59:26
2018-02-11T14:59:26
98,430,631
0
0
null
null
null
null
UTF-8
Python
false
false
2,706
py
from django.shortcuts import render from django.http import HttpResponse, JsonResponse from django.conf import settings from .models import * from django.core.paginator import Paginator import json # Create your views here. def index(request): return render(request,'booktest/index.html') # return HttpResponse(...
[ "812724347@qq.com" ]
812724347@qq.com
7fc429a82b9d8ab58b2b4f3d058c32c644b665b4
c43ab8680e571136899564070928bfa9d54612d3
/addons/io_scene_gltf2/__init__.py
2ea8edd3846ad4a2159f02ddd41824637c83729a
[ "Apache-2.0" ]
permissive
cuulee/glTF-Blender-IO
447132a934a381b736dc4eaa1cc885d2d777c7b0
fb1bc8dbaffb416502a2ac713b1fe3ad1d4c481e
refs/heads/master
2020-03-26T01:53:11.525100
2018-08-11T07:33:26
2018-08-11T07:33:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,859
py
# Copyright (c) 2018 The Khronos Group 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 law or agreed ...
[ "nopper@ux3d.io" ]
nopper@ux3d.io
e51a73b1b803cf62864be83be78a2bba41b8c063
5101bfc97d22e8e4465ba9f86779a9b64a469d63
/U-Net_for_Retinal Vessel Segmentation/train.py
866900ce43cd92686fa0df6ec9c4d82354d15773
[]
no_license
WangMeow1998/Medical-Image-Segmentation
44214aedbefc42490a402e37491350531603a6a7
719220dc2471e1de42f8d1823295c3ef2cd35ce4
refs/heads/master
2023-02-02T10:29:21.520466
2020-12-24T03:51:06
2020-12-24T03:51:06
315,533,215
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
from unet_model import UNet from utils.DALOADER import DealDataset from torch import optim import torch.nn as nn import torch from tqdm import tqdm import sys class Logger(): def __init__(self, filename="log.txt"): self.terminal = sys.stdout self.log = open(filename, "w") def write(self, mess...
[ "wangmeow1998@163.com" ]
wangmeow1998@163.com
056dc9af3862ebbbd133e049bcacd156c6262d0c
18d53974bd1eeaa22fc93715041b11903f73a434
/SEIRMU/new/OutofSample/draw_picture/paint_line.py
1ffef5d7f8fcad2403c7a6d5241c4b397f23155a
[ "MIT" ]
permissive
KL-ice/SEIR-AIM
b363451ea1f7d1c099ad2fe29fbb4657ce864b1a
c12a67186a6d8a59deb56b7a29ce86f170fc9d0c
refs/heads/main
2023-07-18T23:22:53.107921
2021-09-30T04:55:54
2021-09-30T04:55:54
411,366,642
0
0
null
null
null
null
UTF-8
Python
false
false
20,652
py
import numpy as np import pandas as pd import datetime as dt import matplotlib.pyplot as plt import matplotlib.dates as mdates import matplotlib.ticker as ticker from matplotlib.font_manager import * from pylab import * from matplotlib.pyplot import MultipleLocator from matplotlib.ticker import AutoMinorLocator from r...
[ "wbkingice@sina.com" ]
wbkingice@sina.com
a0f7ba2af8f27035c0405bb59bf919df9026b98a
ffa667819d306d634b15d089f5cef9dbaf652abb
/longan_sqlite/util.py
f5bf9740129cb819b172f44add348691f7be5d2b
[ "MIT" ]
permissive
xiaobaiso/longan-sqlite3
084a08e5e5e70b165fcc60da224cb2bbe6c761b8
6a260c913f96bdf90b7e0f6bb3f9d8f1a57e9f57
refs/heads/master
2020-03-18T08:54:50.466931
2018-05-21T04:44:42
2018-05-21T04:44:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
from .flesh import Flesh def convert_dicts(fields, items): """ :param fields: :param items: :return: list(Flesh) :rtype: list """ ret_items = [] for i in items: item_dict = {} for k, v in enumerate(fields): item_dict[v] = i[k] ret_items.append(Flesh(...
[ "yaoma@58ganji.com" ]
yaoma@58ganji.com
de2b6b74989a2467127597423d029e5b5810eb06
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/compute/azure-mgmt-vmwarecloudsimple/generated_samples/list_customization_policies.py
7deb911d492ae31425baf1a5011cba20636db4d2
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,604
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 may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
8b09a98c3ac1acf69e5c84f6bbeeb54671c20bc6
11ce41733d6f31153fe14f800c9dd0be18615862
/news/admin.py
50285420a545e93e7a3d322e73e11bb5a4d627f4
[ "MIT" ]
permissive
techacademypython/django_image_crop_views
6ff6731944f5d09721452a71b0745089d1b035ef
2f9c51ae80705dc23607e157baa4f5767957a2f1
refs/heads/master
2023-05-05T13:12:23.642970
2019-09-03T16:38:24
2019-09-03T16:38:24
206,105,932
0
0
MIT
2022-11-22T04:13:41
2019-09-03T15:07:05
Python
UTF-8
Python
false
false
375
py
from django.contrib import admin from image_cropping import ImageCroppingMixin # Register your models here. from news.models import NewsModel class NewsModelAdmin(ImageCroppingMixin, admin.ModelAdmin): readonly_fields = ["preview_count"] fields = [ "image", "name", "text", "cropping", "preview_count" ...
[ "munisisazade@gmail.com" ]
munisisazade@gmail.com
fa0707a68b09bbfbbd1c0b2ee3e6266f543f5dc2
f073c033419dffa5237d470c0206f97adaf9db99
/database_learning/employee.py
b13488a97ac3565a636dbfba264664844f9e15ca
[]
no_license
schnippo/spanishconjugator
618b858580ca46c1a2fee7aae167025e3e72de41
ab8477ef94bf077b339d046b7e82a923be90ca10
refs/heads/master
2020-04-16T14:04:28.909452
2019-01-14T12:07:00
2019-01-14T12:07:00
165,653,824
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
class Employee: def __init__(self, first, last, pay): self.first = first self.last = last self.pay = pay @property def email(self): return '{}.{}@company.com'.format(self.first, self.last) @property def fullname(self): return '{} {}'.format(self.first, self.last) def __repr__(self): return "Employe...
[ "noreply@github.com" ]
schnippo.noreply@github.com
374f86075d5c187fad6bfde503fbdb0362a57e76
4985143dce9379c939d562d277350f0d8224f06a
/venv/bin/django-admin.py
e788bb50f4c0599e5161f6209905f79392df6d1e
[]
no_license
jkinathan/Task_todo
a74ae010dc703ba0ed4654a569b57a5ce7634857
e19da9ab9dede272b6c148b686e6e77e3da1687a
refs/heads/master
2023-03-23T13:51:41.816050
2021-03-20T09:32:32
2021-03-20T09:32:32
274,080,927
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
#!/home/jo-kinathany/Desktop/Task_todo/venv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "jkinobe@gmail.com" ]
jkinobe@gmail.com
67dccdaf388e326388afec57b7acdf38c78908a9
eba0e40667d6082b5eeefdbaf2862e3f02fd774c
/mr_utils/sim/ssfp/quantitative_field_mapping.py
44a85af73a56bb265904c32bd1da3b6aaf216bbc
[]
no_license
zongjg/mr_utils
a0ec98ed2d03a6d52d81be8ef108993f92baeee1
08cb43dcf53fd6fddd3304e3514a608842310a34
refs/heads/master
2022-01-04T16:25:41.065177
2019-05-11T20:20:22
2019-05-11T20:20:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,355
py
'''Quantitative field mapping for bSSFP. Collect quantitative MR maps (T1, T2, flip angle), then, assuming that these won't change during the duration of the scan, we can use these to take a single bSSFP scan each time point and solve for the off-resonance. Thus we get a field map at time point. ''' import numpy as ...
[ "nicholas.bgp@gmail.com" ]
nicholas.bgp@gmail.com
e884b3995dc86624872f534df6a05bcb1cc306c6
e5e55e853dc834177f03cf8bb5161e847baa9830
/consts.py
807ce52fe670cf0645cb541a4bae87c9750e1bc0
[ "MIT" ]
permissive
mmmdamin/mastermind
2b62864443db1c9bc2dab47d5aed818f6cd0e991
d775e0492165acba8951fe308330f38bf88947d6
refs/heads/master
2021-09-02T07:34:47.015269
2017-12-31T14:29:10
2017-12-31T14:29:10
115,865,993
2
1
null
null
null
null
UTF-8
Python
false
false
256
py
GAME_LENGTH = 4 COLORS = { 1: "red", 2: "blue", 3: "green", 4: "yellow", 5: "white", } MIN_COLOR = min(COLORS.keys()) MAX_COLOR = max(COLORS.keys()) MAX_TURNS = 1 WIN_MESSAGE = "You won!" LOSE_MESSAGE = "You lose! initial state {}"
[ "sabbaghian@arsh.co" ]
sabbaghian@arsh.co
a4e0c192f3c8f4463eae05876b00114d00ab91c7
8ce23f191870868c86c7616882e6043b1102cb0d
/tools/text_processing/join_files_on_column_fuzzy/join_files_on_column_fuzzy.py
1e19f1dcfe4a4d3ab0743078894f5c196b0b2559
[]
no_license
StevenVerbruggen/galaxytools
56f99d0d629cb6d9e3db290c64f30b920de04f26
7d7365197e2cba2eb048121c9f0ee5546f06c520
refs/heads/master
2021-01-16T17:51:39.721403
2020-12-01T08:35:51
2020-12-01T08:35:51
100,017,016
0
0
null
2017-08-11T09:42:20
2017-08-11T09:42:20
null
UTF-8
Python
false
false
4,755
py
#!/usr/bin/env python import os import argparse import sys def main(args): if args.header: h1 = True h2 = True else: h1 = False h2 = False cache = list() out = open(args.outfile, 'w+') write_buffer = list() def _readline(header = False): with open(arg...
[ "bjoern.gruening@gmail.com" ]
bjoern.gruening@gmail.com
0eb1cfa23de5563d2ffe22de91ace92cb6fa8e27
9e98b6ce7b6bc8a521a07196a43ccf4b7f697f78
/env/bin/easy_install
2bba1c50de5452763acaaf86a978462ffde83587
[]
no_license
gomeztagle-alan/lab2
53f25a20281b3a46cac164fbe5b16c217f5beb25
84e80e053160f6d9d818cc85f4274f848e62be6a
refs/heads/master
2023-02-10T10:54:12.073327
2019-07-16T22:54:46
2019-07-16T22:54:46
194,698,854
0
0
null
null
null
null
UTF-8
Python
false
false
269
#!/home/arcu5/Desktop/e14a/week1/lab2/env/bin/python2 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gosanocubed@gmail.com" ]
gosanocubed@gmail.com
7e70251ae9261b6cc83c7ebf3233459f5515f267
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/oslogin/v1beta/oslogin-v1beta-py/google/cloud/oslogin_v1beta/services/os_login_service/transports/grpc_asyncio.py
1c6fbed331f6c7d8d3fb9b348ed3be8e16af48ff
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,112
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
68062176f60959a3d7bd5ed6cfbb91d826843649
ca5b5c217e0053645c2664d777699e9a5050715e
/python/primitive.py
1352c69b984be863d2167845164d2ffaa39c93e0
[ "MIT" ]
permissive
rodluger/starrynight
1405ffdb5a0dd0fefc0ae34e7cdaf7eab4735356
d3f015e466621189cb271d4d18b538430b14a557
refs/heads/master
2021-10-26T03:32:15.220725
2021-10-22T15:16:48
2021-10-22T15:16:48
236,542,672
7
1
MIT
2020-06-03T19:51:10
2020-01-27T16:58:05
Jupyter Notebook
UTF-8
Python
false
false
15,076
py
from special import hyp2f1, J, ellip from utils import * from vieta import Vieta from linear import dP2 import matplotlib.pyplot as plt import numpy as np __ALL__ = ["compute_P", "compute_Q", "comput_T"] def compute_U(vmax, s1): """ Given s1 = sin(0.5 * kappa), compute the integral of cos(x) sin^v(...
[ "rodluger@gmail.com" ]
rodluger@gmail.com
1a6991bb0eca5e3ab71d0ba1a68d1884bc4012b5
8778be5676e3657be3db6d71bb81b57ef8020dae
/lab2/webcam_prediction.py
e723c7d678f951f7d107b5fe986ae7fd7900e902
[]
no_license
JerelynCo/Pattern-Recognition
ab922e35c36fb51d2d1c2996d2483d5b152c471e
ff36571abf8c12b5f9bae7e5dd89afcce35f5e1e
refs/heads/master
2016-08-12T20:16:24.736727
2016-04-19T05:40:52
2016-04-19T05:40:52
53,573,471
1
0
null
null
null
null
UTF-8
Python
false
false
2,886
py
import numpy as np import cv2 import math import json def calculateProbability(x, mean, stdev): exponent = math.exp(-(math.pow(x - mean, 2) / (2 * math.pow(stdev, 2)))) return (1 / (math.sqrt(2 * math.pi) * stdev)) * exponent def calculateClassProbabilities(summaries, inputVector): probabilities = {} ...
[ "hadrianpaulo@gmail.com" ]
hadrianpaulo@gmail.com
b897b084b288350d1a287661007953393d395943
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/EightTeV/BprimeBprime/BprimeBprimeToBHBHinc_M_800_TuneZ2star_8TeV_madgraph_cff.py
352c4947ebcf1ce31ccf35f0dd2e24c3165cb26a
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
4,231
py
import FWCore.ParameterSet.Config as cms #from Configuration.Generator.PythiaUEZ2Settings_cfi import * from Configuration.Generator.PythiaUEZ2starSettings_cfi import * generator = cms.EDFilter("Pythia6HadronizerFilter", pythiaHepMCVerbosity = cms.untracked.bool(False), maxEventsToPrint = cms.untracked.int32(0)...
[ "sha1-5c9a4926c1ea08b633689ec734e2440da58b8c56@cern.ch" ]
sha1-5c9a4926c1ea08b633689ec734e2440da58b8c56@cern.ch
2eebba53d96810f87e30cf377556f367d5ae17b1
cc91403e4302d70127562591ab3fda7a212e6312
/asqcenv/lib/python3.9/site-packages/asqc/asqc.py
ade74103aca22e8cf2e1c774024a023bed7f5a03
[]
no_license
gklyne/asqc
fdfb59e243f92968e2147ef28ce6c85394d9cab0
1fcd4d80727b8385e8707be12d1e45fe26d2229a
refs/heads/master
2022-07-28T09:05:07.923525
2022-07-14T19:44:52
2022-07-14T19:44:52
3,959,374
3
1
null
null
null
null
UTF-8
Python
false
false
26,669
py
#!/usr/bin/env python """ ASQC - A SPARQL query client """ import sys import os import os.path import urllib.parse import urllib import urllib.request # import io.StringIO import io import json import re import optparse import logging import traceback from .SparqlHttpClient import SparqlHttpClient from .SparqlXmlRes...
[ "gk-github@ninebynine.org" ]
gk-github@ninebynine.org
c93ba3313bf6c3ee32e36cad9c787f55c5d4548b
8395ffb48750359d1bd51a201a41c7fe124998bc
/apc2015/perception/single_utils/src/generate_naive_cloud.py
4195bb9783faaf79d4485ed09ada91429266c3d6
[]
no_license
duke-iml/ece490-s2016
ab6c3d3fb159a28a9c38487cdb1ad3993008b854
f9cc992fbaadedc8a69678ba39f0c9d108e6910d
refs/heads/master
2020-04-12T09:03:56.601000
2016-11-29T21:36:48
2016-11-29T21:36:48
49,226,568
2
6
null
2016-11-29T21:36:49
2016-01-07T19:42:34
Python
UTF-8
Python
false
false
2,659
py
#!/usr/bin/env python from __future__ import division import sys import rospy import cv2 from std_msgs.msg import String from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError import subprocess import time import psutil import sys import os import matplotlib.pyplot as plt import numpy as np f...
[ "hauser.kris@gmail.com" ]
hauser.kris@gmail.com
610057694e00c3e4fac05320e103e3137f135d00
76192480d7469e3d7f6ac8d8bbc3334445e5fddc
/app.py
07f63fbd87e728aa0ad6e9cd795f03b20816c8e7
[]
no_license
forgeworks/splendor
b7d383a154bf72701a00d005f9aafbd3e90a6b30
f99d66b76971f318637944a8ce5921367ee4aa21
refs/heads/master
2023-05-12T03:07:17.860147
2020-04-03T17:38:55
2020-04-03T17:38:55
155,748,967
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from flask import Flask from api_example import GreetingV1 app = Flask(__name__) app.register_blueprint(GreetingV1())
[ "deadwisdom@gmail.com" ]
deadwisdom@gmail.com
0df124adf5c65ca34ee6bc7af7252e7d3ae24fad
0b0570c7799b5997bd7ed828d52142de591229b8
/fizzbuzz.py
178fcfb5fd13c1d0e2a9d0257365682dc67f1543
[]
no_license
triaddojo/fizzbuzz-jiro
2c8c7d56fe702cf023010d45d5d7c897f8266874
c643d4ea0c861aa49e61f554398597272a1cd572
refs/heads/master
2020-05-26T09:05:34.137623
2019-05-23T07:26:45
2019-05-23T07:26:45
188,178,480
0
2
null
2019-05-23T07:52:48
2019-05-23T06:55:20
Python
UTF-8
Python
false
false
208
py
for number in range(1, 101): if number % 15 == 0: print("fizzbuzz") elif number % 3 == 0: print("fizz") elif number % 5 == 0: print("buzz") else: print(number)
[ "akira.wakatsuki@tri-ad.global" ]
akira.wakatsuki@tri-ad.global
09eb58fd8a9817910ab1f48df9c299357ccadf50
1dff039deadc84ee5d9c92f6bee99baae03fb0dd
/horizons/gui/style.py
fd601b65699f124417027f6556eaad13bc7f351b
[]
no_license
totycro/unknown-horizons-quadtree
bf9321a204c907fea877125b95519d8574c9543a
6112ee6961714f6b963652d4ec25e2823732be8d
refs/heads/master
2021-01-18T14:21:53.161268
2011-03-22T23:04:27
2011-03-22T23:04:27
851,912
1
0
null
null
null
null
UTF-8
Python
false
false
7,414
py
# ################################################### # Copyright (C) 2009 The Unknown Horizons Team # team@unknown-horizons.org # This file is part of Unknown Horizons. # # Unknown Horizons is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # ...
[ "totycro@unknown-horizons.org" ]
totycro@unknown-horizons.org
21c03646d3b3e6dae55e626e2eb651912903a68a
e0d46d7d1048648836af5f5243adc5e84e391382
/forwardgram.py
b540d98db563934ac11526cad28fe18b551ecefb
[]
no_license
DanilenkoDanil/forward
a2ca0a96aa826754f1c23caa016fc70d3eaf5fe1
8a0b5d2f0cadf22990a13fdddb23ce5d0a95a338
refs/heads/main
2023-08-07T21:43:51.561629
2021-09-22T23:18:13
2021-09-22T23:18:13
329,336,856
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
from telethon import TelegramClient, events, sync from telethon.tl.types import InputChannel import yaml import sys import logging logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') logging.getLogger('telethon').setLevel(level=logging.WARNING) logger = loggin...
[ "noreply@github.com" ]
DanilenkoDanil.noreply@github.com
12d670bebcfaf06a04d1a065f01c5f4d66c7390e
71ae0df6d2c10f2c37c40f527a78716edb23275e
/main.spec
3188163d8287f3b0768c29b22de3a711232c7c87
[]
no_license
MediaNik5/CannonPy
b1637aabe9fe45441fa27515cd7eef649a175f08
0390c4aebb2a3c56073fb490fe5d350cfe995d02
refs/heads/master
2023-03-18T12:30:22.621039
2021-03-10T13:31:06
2021-03-10T13:31:06
346,366,112
0
0
null
null
null
null
UTF-8
Python
false
false
866
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['main.py'], pathex=['C:\\gdrive\\Works\\projects\\python\\Cannon'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[],...
[ "stafilopok@mail.ru" ]
stafilopok@mail.ru
55ba0c58bb1c484542456f12df2c5861a5e9826e
28c155fc7f808365d2f37fff2c794c3994c89353
/learning_web_2_bug/contact/migrations/0001_initial.py
7351287297948ce7a16346e6139964d1f4dcbab8
[]
no_license
bwtzxcvb/rockfracturegroup
97e454ddda1b4407b835c7ef10da6596c53356d3
4e1b61d30928cea82c26ee2d81e8e8b8e391abe5
refs/heads/master
2023-04-27T18:58:01.901009
2019-10-24T10:42:47
2019-10-24T10:42:47
211,757,570
0
0
null
2023-04-21T20:38:23
2019-09-30T02:14:39
Python
UTF-8
Python
false
false
764
py
# Generated by Django 2.2.4 on 2019-09-10 12:47 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ContactMessage', fields=[ ('id', models.Aut...
[ "1927552890@qq.com" ]
1927552890@qq.com
f0d08ba48ad4eb4e0d09ebaa588e70674bf6d362
3248dd56d1b6ed34eec801a16752328a6016e9fe
/SentimentAnalysis/asgi.py
83b2a88105aacd9830a3a04bad7f6ff45a8787db
[]
no_license
shamil-t/sentiment-analysis-imdb-django
d17905e3fdcde770ba987e37272bd0a4047b3e79
fea9349bd3cc55cf550920e65a53254e23aff20b
refs/heads/main
2023-03-17T01:14:41.376834
2021-02-27T03:36:02
2021-02-27T03:36:02
342,748,491
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" ASGI config for SentimentAnalysis project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "tshamil90@gmail.com" ]
tshamil90@gmail.com
1ffc8b3649921a8cf943112df31655726ca74210
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/143/usersdata/210/62277/submittedfiles/av2_p3_m2.py
26e0d4120d107718e01aaba735ca255a96ae8f9d
[]
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
400
py
# -*- coding: utf-8 -*- def degrais(a): soma=0 degrau=0 for i in range(0,len(a)-1,1): soma=(a[i]-a[i+1]) if soma<0: soma=soma*(-1) if soma>degrau: degrau=soma return degrau h=int(input('digite o valor de h:')) j=[] for i in range(0,h,1): numero=int(inp...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
41ef33c1c1af378a664ea82f485c5a12ebeedd1c
a0fb29f99a852089193e4cc9a11e7263dc3f8b5f
/mayan/apps/metadata/literals.py
aba1309e370f89d0f6259a24ca393df9dc3e1f1c
[ "Apache-2.0" ]
permissive
ikang9712/Mayan-EDMS
0e22a944d63657cea59c78023b604a01a622b52a
d6e57e27a89805329fe0c5582caa8e17882d94e6
refs/heads/master
2023-07-28T19:41:55.269513
2021-09-07T14:16:14
2021-09-07T14:16:14
402,884,683
1
0
NOASSERTION
2021-09-03T20:00:09
2021-09-03T20:00:09
null
UTF-8
Python
false
false
227
py
from .parsers import MetadataParser from .validators import MetadataValidator DEFAULT_METADATA_AVAILABLE_VALIDATORS = MetadataValidator.get_import_paths() DEFAULT_METADATA_AVAILABLE_PARSERS = MetadataParser.get_import_paths()
[ "roberto.rosario@mayan-edms.com" ]
roberto.rosario@mayan-edms.com
0eabf1e2f017b72b5cf73e83020af51b9ad7596d
d90e21b3250d5b3441465e71ad3e773e78058707
/rnd/HaskellRSLCompiler/test/parse/test.py
bef9a72ceb82bbb48832da89c306ea29b20a4752
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
staticagent/lucille
4ecf78ccede3efa9cd305d960c4172d1c2074065
ff81b332ae78181dbbdc1ec3c3b0f59992e7c0fa
refs/heads/master
2021-08-26T03:43:00.239208
2009-07-02T14:48:55
2009-07-02T14:48:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
#!/usr/bin/env python import os, sys import subprocess import re import glob errlog = [] def run(f): cmd = "../../lslc" p = subprocess.Popen([cmd, f], stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) outs = [l for l in p.stdout] errs = [l for l in p.stderr] errline = re.compile...
[ "syoyo@lucillerender.org" ]
syoyo@lucillerender.org
7c9495dcac44bea7cf3f3cf9a7bd33f81a983d2b
ff3b670a0f618a95d957b813b2607b21947e3dfd
/virtual/lib/python3.7/encodings/koi8_r.py
3a393b48573bf829d26d6512141cdf0ac75fe1b0
[]
no_license
iguzmanl/CSC-325-Project1
2391f28c5b88136daae631bc806db9c5f075ddf7
4c636aad8d7cac5e8f261bdd3b46cf55d77083d7
refs/heads/master
2020-04-20T22:15:29.923159
2019-03-04T05:40:23
2019-03-04T05:40:23
169,133,888
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
/Users/sabaramadan/anaconda3/lib/python3.7/encodings/koi8_r.py
[ "sabaramadan@Sabas-MacBook-Air.local" ]
sabaramadan@Sabas-MacBook-Air.local
876ca7ebfa0fdf067bdeaee9c405205dda120f80
fd5010485620821c32e5d2332ff7e4ef0b824dfe
/docs/study/zh-cn/study/QuecPythonTest/code/01_LED.py
80821f9f2b9f0285a3d728d004a4b991497cc57a
[ "MIT" ]
permissive
jks-liu/wiki
cfc1d1abbfc667dd461c40fe25f9ce96bdb2f8fd
397b33f00d128b4b8337a750df59e20356831802
refs/heads/main
2023-02-23T08:49:12.092973
2021-01-27T00:08:39
2021-01-27T00:08:39
333,250,497
0
0
MIT
2021-01-26T23:56:55
2021-01-26T23:56:54
null
UTF-8
Python
false
false
1,967
py
# 实验1: 跑马灯 # API资料参考连接: https://python.quectel.com/wiki/#/zh-cn/api/?id=pin from machine import Pin import utime IOdictRead = {} # 记录已经初始化的GPIO口 IOdictWrite = {} # 记录已经初始化的GPIO口 def GPIO_Read(gpioX, Pull=Pin.PULL_DISABLE, level=1): if IOdictWrite.get(gpioX, None): del IOdictWrite[gpioX] gpioIO ...
[ "rivern.yuan@quectel.com" ]
rivern.yuan@quectel.com
27e3a773e1f3b1c7193ce9a831b0b54a38653ad7
cf5f24e5a32f8cafe90d4253d727b1c0457da6a4
/algorithm/BOJ_1629.py
11a30af639ff558eb56b49660735d2acd32acf3e
[]
no_license
seoljeongwoo/learn
537659ca942875f6846646c2e21e1e9f2e5b811e
5b423e475c8f2bc47cb6dee09b8961d83ab08568
refs/heads/main
2023-05-04T18:07:27.592058
2021-05-05T17:32:50
2021-05-05T17:32:50
324,725,000
0
1
null
null
null
null
UTF-8
Python
false
false
290
py
# import sys # input = sys.stdin.readline # A,B,C=map(int,input().split()) # def solve(a,b): # if b==1: return a # ret = solve(a,b//2)%C # ret = (ret*ret)%C # if b%2==1: ret = (ret*a)%C # return ret # print(solve(A,B)%C) print(pow(*map(int,input().split())))
[ "noreply@github.com" ]
seoljeongwoo.noreply@github.com
ccb00e1329cbbb5be30d2038403c2e5e4303ba75
48660fe39e8b6c49df12bde91e01710f20782f00
/resources/routes/send_qr.py
9cc0c022cd5ff0c29dd33ebbf98d16415396e413
[]
no_license
cringeburger/smart-city-backend
2ed92de8858cf09642f962d323106b52c183f5ab
d4a186d05a91eae802a93eba9981527e1b6432cd
refs/heads/master
2023-04-28T14:26:12.884626
2021-05-23T20:07:38
2021-05-23T20:07:38
369,588,488
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
from flask import request, send_file from resources import app from resources.modules.qr_generator import generate_qr from datetime import date @app.get('/send_qr') def send_qr(): user_token = request.args['user_token'] # mail_domen = request.args['mail_domen'] # subject = request.args['subject'] filename = 'q...
[ "istrebitel.3.12@gmail.com" ]
istrebitel.3.12@gmail.com
f1648f00e3328ab6336ed5fbb02a0739fce86d09
c545e20c20d4f3a9e580b543e0ff79555972ab94
/prepare_seq2seq.py
fb95072fec543d356525e3bf627763e0b5eab1e9
[]
no_license
StNiki/MT_CW3
d6cd6f33865653413e4bc1c7c992cfb96e28d894
b3c4f276396e8539f7473390a1cbf84770d28780
refs/heads/master
2021-01-21T14:43:24.967123
2017-06-26T21:34:06
2017-06-26T21:34:06
95,326,694
0
0
null
null
null
null
UTF-8
Python
false
false
5,261
py
# coding: utf-8 # ## Prepare parallel corpus # # **Based on TensorFlow code: https://github.com/tensorflow/models/blob/master/tutorials/rnn/translate/data_utils.py** # In[ ]: import os import re import pickle from tqdm import tqdm import sys # In[ ]: from nmt_config import * # In[ ]: dat...
[ "noreply@github.com" ]
StNiki.noreply@github.com
b12d7388d56385a38eb8484599d6e6bfe729eeb6
00fa9db88ddf3cb70bc33a54e28b7ffe9d9bf42f
/scripts/generate-split-params.py
6a822851c12799fb262cd32c86f22f180b1a0316
[]
no_license
Sixtease/cz-parliament-speech-corpus
445cc1ed2b9e73f1b406a8ab41b95a9b96a5a8f1
e6ba8171ebef8b3f9d8167c3f8561650f43b3130
refs/heads/master
2021-05-21T04:23:37.875930
2020-11-23T18:58:43
2020-11-23T18:58:43
252,540,847
1
0
null
null
null
null
UTF-8
Python
false
false
2,025
py
#!/usr/bin/env python """ first argument is file with one split point in seconds per line on stdin is alignment data in tab-separated format audio start audio end guessed silence length predicted word gold-standard word gold-standard line number prediction - gold-standard match output are tab-separated ...
[ "jan@sixtease.net" ]
jan@sixtease.net
f589f57cc509b15cda51ec3667766cf1f98dff37
988dc7a525c26cc68ce7f64ddcdc77bce0995231
/lists/tests/test_views.py
a5b3c6df929b5df087c1f226335ace45d16ea0b4
[]
no_license
bohlool/django-tdd-book
32be2f7f0ecaa04b6aca040778fc284079179a0e
0f086df4151176585587555533f41a7754b0bb16
refs/heads/master
2023-03-18T01:50:47.545168
2018-08-01T08:40:51
2018-08-01T08:40:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,810
py
from django.test import TestCase from django.utils.html import escape from lists.models import Item, List from django.contrib.auth import get_user_model from lists.forms import ( DUPLICATE_ITEM_ERROR, EMPTY_ITEM_ERROR, ExistingListItemForm, ItemForm#, NewListForm ) from unittest.mock import patch, Mock from dja...
[ "ben_jacobson@live.com" ]
ben_jacobson@live.com
5b954273bea26961fa06977aa411ddafbbcf44d9
a31bb4bb77fb3a40b00ac6b3e4cdaf3bb4fa54d7
/day1/while.py
576c054112ff82b57df49e5e7b9422d3faa9b507
[]
no_license
lin790292154/python_note
457069a5d0adc6991321f5eb4644e1c91c597fff
3b35a3087117aadc0b8b63a260ef55e5b20f5e96
refs/heads/master
2021-08-31T19:58:15.775229
2017-12-22T17:14:40
2017-12-22T17:14:40
110,909,371
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
# write by kratos ''' count = 0 while True: print("count=",count) count = count + 1 ''' age_of_oldboy = 66 count = 0 while count < 3 : guess_age = int(input("what is oldboy age ?")) if age_of_oldboy == guess_age : print("you are right") break elif age_of_oldboy > guess_age: ...
[ "lin790292154@163.com" ]
lin790292154@163.com
6470a8daf591db0dcf2949014f4adbe1d19ddaf5
5d2b04b5454cd3b2d75bf153c96d5fc97e40b2f2
/apps/registro/forms.py
3e23888c85c0dcf3edf5a5897bd25393c443e8ae
[ "Unlicense" ]
permissive
hector-delgado/django-crud-in-docker-container
66162c460c72c6b4bc4d17a13a0e67603f1a5627
6fc78f6b8e88cc9836946cb5f77c3fe39575934e
refs/heads/master
2022-06-18T06:17:25.910698
2020-05-04T17:15:00
2020-05-04T17:15:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
from django import forms from apps.registro.models import Usuario class UsuarioForm(forms.ModelForm): class Meta: model = Usuario fields = [ 'nombre', 'apellidos', 'edad', 'telefono', 'email', 'domicilio', ] labels = { 'nombre': 'Nombre', 'apellidos': 'Apellidos', 'edad': 'Edad'...
[ "hector.delgado.irt@gmail.com" ]
hector.delgado.irt@gmail.com
d894c9f24bd98116d77798510af27cc57005c85c
f70c7ed21258a865c702c551aa8e251b88ff8f1d
/galloCRM/venv/bin/pip3
98d0d33d109ce13e0b03692ddfa17295bb175409
[]
no_license
gallofb/apple_CRM
9318f6bebce9bf81507870d625c72b47a16a46b8
b8c11a3ebced320af897d23f0954b93da9006a4c
refs/heads/master
2020-04-23T16:54:50.712398
2019-04-07T10:18:08
2019-04-07T10:18:08
171,314,207
0
0
null
null
null
null
UTF-8
Python
false
false
242
#!/home/gallo/apple/galloCRM/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "854591086@qq.com" ]
854591086@qq.com
4dd6d2950da0380ec4d98105143ddc84def25d6e
a878fbb811d5f49b0524b4a03710b96d7f6f88b6
/old/data_suff/utils.py
5d2180887b52f252c95ad5e3212b82a5e3be003b
[ "MIT" ]
permissive
alonshpigler/CovidScreening
caad134a98aaafe88dbd2cd5d24802ef833f5200
f057c6197db6550693ff6b606b3d8c264508aba5
refs/heads/main
2023-07-02T17:50:09.292805
2021-08-15T10:45:47
2021-08-15T10:45:47
361,657,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
import os # from skimage.io import imread import pandas as pd from util import load_csv # # filename = 'D:\\RxRx19a-images.zip' # with ZipFile(filename) as archive: # for entry in archive.infolist(): # with archive.open(entry) as file: # img = Image.open(file) # print(img.size, im...
[ "alonshp@post.bgu.ac.il" ]
alonshp@post.bgu.ac.il
0cd738fe1ed690b6bda48d0d7ac79cc298310385
e42174d0b04e2ff33955a1d49297d8deaa6a1cfe
/Main2.py
75e16c0fa236f8c6b7ec947ccca6ba715002a0bc
[]
no_license
Fudan-iGEM/2021-software-parse
ead1669940aff560ed74ccc54e6d488657792714
e604a1cedd49f7b50a7d5bdcab2a5f4475d0bcf4
refs/heads/main
2023-08-01T08:02:13.727207
2021-09-18T14:45:13
2021-09-18T14:45:13
419,995,424
1
0
null
null
null
null
UTF-8
Python
false
false
14,400
py
import requests from bs4 import BeautifulSoup import time import re import multiprocessing from multiprocessing import Pool from openpyxl import workbook from openpyxl import load_workbook #from lxml import etree from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from seleni...
[ "TomGhostSmith@gmail.com" ]
TomGhostSmith@gmail.com