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
09d0608d616c3fb1a0ec0cc817ff935fbc85a61b
7ade5b48aa5b62594bcbd265030a2a7307ae3b2d
/kaggle_nuclei/full_image/preprocessor_gan_training.py
4c13198bb3cd71db1428e4444639c55d1f2e7a1b
[]
no_license
SSS135/kaggle_dsbowl2018
9c5ca1b490bdbc806f8213c2f6564cbdf1c852d3
59d9eab05928178356e8bf744a67607c89f04761
refs/heads/master
2020-05-29T15:31:31.083189
2018-07-21T15:32:58
2018-07-21T15:32:58
189,217,873
0
0
null
null
null
null
UTF-8
Python
false
false
10,003
py
import copy import math import sys import torch import torch.nn.functional as F import torch.utils.data from optfn.cosine_annealing import CosineAnnealingRestartParam from optfn.gadam import GAdam from optfn.param_groups_getter import get_param_groups from torch import nn from torch.autograd import Variable from torch...
[ "sss13594@gmail.com" ]
sss13594@gmail.com
6d019c12054027b3a9066f738d69ebf9cf3802d5
8fc7bf326f624d3bfcb45fcf5c1ff15311e5e20e
/final_project/poi_id_v1.py
c459ede18c4cd49f0ce507940f111ade04637bc7
[]
no_license
umeshjn/IntroductionToMachineLearning-CourseWork
45f9a3658f9c782a0d78901384eaaa22d132fd3e
ced3ddaa9aa09fa52c164cfdcd837d841262a958
refs/heads/master
2021-01-10T02:01:45.417296
2015-05-23T07:00:03
2015-05-23T07:00:03
36,111,127
0
0
null
null
null
null
UTF-8
Python
false
false
5,014
py
#!/usr/bin/python import sys import pickle sys.path.append("../tools/") from feature_format import featureFormat, targetFeatureSplit from tester import test_classifier, dump_classifier_and_data from sklearn import cross_validation from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.feature_select...
[ "u.jnms08@gmail.com" ]
u.jnms08@gmail.com
2dda9b4b6598c9c2003a654cb58153183ed6c3d0
5d0b7709f228634fb15299d0161d3639bcacb665
/gpon-test.py
7118acda31200feef3cee7800c8379bf1224ae6d
[]
no_license
vanotheoriginal/Telnet
85f2e5aa2d8fde3223c5a8132acdc767bb86afb0
4d65b093e87ad019392f23fd672e241bfdea1b08
refs/heads/main
2023-08-31T14:28:31.512494
2021-09-29T13:41:41
2021-09-29T13:41:41
411,686,850
0
0
null
null
null
null
UTF-8
Python
false
false
5,158
py
#!/usr/bin/python3 from os import error, system import telnetlib import time import sys def connect_term(telnet): try: telnet.write(b'login\n') telnet.write(b'password'\n') except error as e: print('[-] Error: ' + e) def check(telnet): b = '' commands = ['en', 'show ont-f...
[ "noreply@github.com" ]
vanotheoriginal.noreply@github.com
e0dc310a32c7544b63a6e60330efec4214cc54b6
0a8ddf09317ffe4eb002e56df4e193dfcca77f0a
/NameConverter.py
3337e131b17af9b48f518a338573532330888ca3
[]
no_license
Jribbit/GenCyber-2016
1608dc91a6a1756219b73b67bbead173a903d4d1
ccbeed59146a29eda368e064b05ae6eff31ec194
refs/heads/master
2021-01-20T18:27:42.056716
2016-07-22T15:15:16
2016-07-22T15:15:16
63,962,240
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
# -*- coding: utf-8 -*- """ Created on Thu Jul 7 14:20:47 2016 @author: student """ def asciihex(name): print("Hex Name: ", end="") for x in name: if x.isalpha() == True: x = ord(x) x = hex(x) print(x, end=" ") n = input("Name: ") asciihex(n)
[ "noreply@github.com" ]
Jribbit.noreply@github.com
c1900570c7649c87d47f1ad3a621b475e0f2342c
c73a435be9bed95cd770eb28f5cd671b75d23d2e
/MRT.py
a91c84e416b140f701699fb4fb3dff7b71a5c2c9
[]
no_license
Lim-Wee-Meng/python
1cc2434f0a45b8642440cb09ff5438b9a0229cb3
e84de5b149a000c4f01ccfda0c02ab61ac0de9eb
refs/heads/main
2023-05-02T19:52:37.416810
2021-05-30T08:29:23
2021-05-30T08:29:23
371,625,148
0
0
null
null
null
null
UTF-8
Python
false
false
49,370
py
from tkinter import * from tkinter import messagebox import tkinter as tk import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib.textpath import TextPath from matplotlib.patches import PathPatch from PIL import ImageTk,Image import seaborn as sns import datetime import requests from bs4...
[ "noreply@github.com" ]
Lim-Wee-Meng.noreply@github.com
2b9b161c731cabe1c1168f06c51e41c794d74f8e
77336f6852a97fea47e0c8abb32596def18b7bcf
/python/基础/1.py
09b7825505c4a1833c6311ff4136f8332098d253
[]
no_license
KudouRan/learning
fb9d0365b53c099137ede079bed64496c3da6ccf
c72b473c450000aac1d224bc7495609b76ceddd7
refs/heads/master
2023-08-30T22:28:57.510587
2021-10-29T12:46:07
2021-10-29T12:46:07
358,523,850
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# 学生类 class Student: def __init__(self, _name, _dob, _age, _gender, _score): self.name = _name self.dob = _dob self.age = _age self.gender = _gender self.score = _score def top3(self): return sorted(self.sanitize(self.score))[-3:] def sanitize(se...
[ "catlair@qq.com" ]
catlair@qq.com
d507f37c25d85b85a2dd42ba3c851aa050577109
8a78d7f6a5bf7c56f0fe1127ea22555429f9d2a1
/users/views.py
09d865e9568e5a824cf5b4018b49e27dc3b85731
[]
no_license
gibsn/ImageBoard
82c8ad8118fb796fadabdf952983fb19b26efe96
fe1a6f33e2465696dd8855e0f6b85258caea8139
refs/heads/master
2021-03-27T15:18:36.879902
2017-12-29T12:36:20
2017-12-29T12:36:20
105,384,030
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
from django.contrib.auth import get_user from django.contrib.auth.forms import AuthenticationForm, SetPasswordForm from django.http import * from django.shortcuts import render from .forms import UserProfileForm, SignUpForm def get_profile(request): user = get_user(request) initial_dict = { 'usernam...
[ "kirill.alekseev@corp.mail.ru" ]
kirill.alekseev@corp.mail.ru
fdce2f80d345ab41a55076388777658352217168
4d2531f7f4984109123bb70eb0ac3c8c08bb12e8
/trash/faster_rcnn/.ipynb_checkpoints/faster_rcnn_r50_fpn_dcn_1x_trash-checkpoint.py
e845540dfb67a6500a02466dcf28428989daeb7f
[]
no_license
jhj9109/Segmentation_ObjectDetection
0a3e8f92a90bed21a93b9c4cba7029330c1c4d2b
f40a0291b8513228be7475321ca59a1057f0aa27
refs/heads/master
2023-05-09T03:44:16.145448
2021-05-22T16:36:15
2021-05-22T16:36:15
369,830,033
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
_base_ = 'faster_rcnn_r50_fpn_1x_trash.py' model = dict( backbone=dict( dcn=dict(type='DCN', deform_groups=1, fallback_on_stride=False), stage_with_dcn=( False, True, True, True)))
[ "jhj91_09@naver.com" ]
jhj91_09@naver.com
ef363457eb367b86e198d57975d33ebfaad7b389
177f2ddeca7e15351675035fc10307cf390e6311
/baekjoon/2739.py
ef6a2ea56df7ca3de116b235e3e8ca897e680875
[]
no_license
kokospapa8/algorithm-training
8e15fcf46b0f7aaba2a5210209376ae2aacd8107
6e1f6a45c1787c98f2cc2add10a7df22b449c6ea
refs/heads/master
2022-10-02T08:12:19.426555
2020-06-04T10:10:30
2020-06-04T10:10:30
257,132,701
1
0
null
null
null
null
UTF-8
Python
false
false
79
py
base =int(input()) for i in range(1,10): print(f"{base} * {i} = {base*i}")
[ "noreply@github.com" ]
kokospapa8.noreply@github.com
682da22e22abb0dd5b2e1ba1b6e6268fb91c4294
3ba48a85bda9a07bf7a5bbbbc0b012f65164f6cf
/venv/Scripts/easy_install-script.py
198f8454c218f567f6bca308c45f38f98d2d53d7
[]
no_license
yekw/mystore
6d98e7b6f254514fcf2d8ce5401e99f1aacab2d0
b2b83b2c7b06fce526e07a1ba7067280104fc8f6
refs/heads/master
2020-07-21T20:56:25.531655
2019-09-07T14:00:14
2019-09-07T14:00:14
206,973,438
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
#!D:\PycharmCode\untitled\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sy...
[ "yekaiw@yeah.net" ]
yekaiw@yeah.net
6004ecad05cca45b24332e6efe02425f066388b8
0ca26bed4953f22699b978c158cbaf7aae07761d
/TME2/tme2-poi.py
c07a6704807115f22c07b7178aefba31e3fd2439
[]
no_license
ErerF/ML
da7be004b3e924e51bdf379f5a6beceb35ce4d10
eff44c2e1552c728916084bfc8c47636fc1ffbba
refs/heads/master
2021-04-02T03:08:31.085495
2020-06-14T22:13:00
2020-06-14T22:13:00
250,528,271
0
0
null
2020-03-27T12:26:48
2020-03-27T12:26:47
null
UTF-8
Python
false
false
6,010
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.image as mpimg import pickle import math plt.ion() parismap = mpimg.imread('data/paris-48.806-2.23--48.916-2.48.jpg') ## coordonnees GPS de la carte xmin,xmax = 2.23,2.48 ## coord_x min et max ymin,ymax = 48.806,48.916 ## coord_y min et max def s...
[ "arnaud.delol@gmail.com" ]
arnaud.delol@gmail.com
8cc45ae5914c90e78e71724a0f2a83de0bfd00ab
ebac424304a4456193843472d3e91b5de79da514
/order/views.py
58924b80fb9fe0c21934ae0e514faa8fdca632ae
[]
no_license
haha479/bookstore
1a0e7f73ed973ff06fd0c94cb92329baca39b527
3e85e2a62d4e9dde68c5f226c2e7558c6a06a03e
refs/heads/master
2021-09-08T09:05:15.153693
2018-03-09T01:21:44
2018-03-09T01:21:44
115,857,026
1
0
null
null
null
null
UTF-8
Python
false
false
4,927
py
from django.shortcuts import render,redirect from utils.decorators import login_required from django.core.urlresolvers import reverse from users.models import Address from book.models import Books from order.models import OrderInfo from order.models import OrderGods from django_redis import get_redis_connection from dj...
[ "283275935@qq.com" ]
283275935@qq.com
bf485b51f572d30352b539eacfa9658d356e3d6a
6cc47d46c9a33d74f626f75ca8e4a49e855ae3d3
/env/bin/conch
751a34b15a86cf71c408c5ff7e20b86501245831
[]
no_license
ArnoBali/python-onsite
b28f44e1d7b6c6488000744cb32c94e0726ae514
4046fe9b7328de242e13b3f23a3d70c87929965f
refs/heads/master
2020-04-23T19:48:33.618774
2019-04-01T01:20:30
2019-04-01T01:20:30
171,418,210
1
0
null
null
null
null
UTF-8
Python
false
false
428
#!/Users/ak/Documents/_CodingNomads/python-onsite/env/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==18.9.0','console_scripts','conch' __requires__ = 'Twisted==18.9.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',...
[ "akoldewee@gmail.com" ]
akoldewee@gmail.com
1418882e8157c17184e523224e2697fc905e4c6b
41efee341cea5605549e61ea0277e592f2a308d9
/gym website/main.py
40c409a3f5c5c55776ec3cfad3fdfdb5e92232f0
[]
no_license
noorshanu/gym-website
1090d6a778e2c8fa99c3cd421cc6bdab615e7a74
bb6fe86a3aad039a022bdd83b2577ff1f9a1c062
refs/heads/master
2020-08-26T19:44:13.789804
2019-12-08T08:42:12
2019-12-08T08:42:12
217,125,044
0
0
null
null
null
null
UTF-8
Python
false
false
4,366
py
from flask import Flask, render_template, request,session,logging,url_for,redirect,flash from flask_sqlalchemy import SQLAlchemy from sqlalchemy.orm import scoped_session,sessionmaker from passlib.hash import sha256_crypt from flask_login import LoginManager from flask_mail import Mail import json from dateti...
[ "noreply@github.com" ]
noorshanu.noreply@github.com
a897fb46b551acc7c4969e1953ec1fd919f8995a
3c2c7c747c14792680d6f132801b478a17031ee2
/compiler/minterm_lib/macro.py
32ffd635e257e634e202e6e38c61c699ebe6604c
[]
no_license
bbiiggppiigg/research
7c85af38bcc66dee8c7b834cf4e5df4cc3df3272
c9f76957975f95ab5151150da7765d650f47587c
refs/heads/master
2020-03-19T13:44:21.614392
2018-11-25T05:03:05
2018-11-25T05:03:05
136,593,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,948
py
from ast import StateVarTable class Invariant: def __init__(self,prop_ast): self.prop_ast = prop_ast def collect_gr1(self): prop_str = self.prop_ast.gr1_repr() return [],[prop_str],[] class Reaction: def collect_gr1(self): init = [self.s.negate().gr1_repr()] s...
[ "bbiiggppiigg@gmail.com" ]
bbiiggppiigg@gmail.com
9168fd26a4ab66b9633aa2d1ca3aeb8c5b7ad1b7
fd4edd2dea145c8918727a4d24003db2dbed1fff
/todoitem/admin.py
1bc3c38b416ebc07fb89c0ea0855d3a1111f7294
[]
no_license
Niejinge/todoweb
39ebf8f75704c472a0a0982f5daa39bf24368059
6b1fafedffd1f1fb73f9d08315e52516c01a3f63
refs/heads/master
2020-05-17T17:58:42.221055
2019-04-28T07:15:55
2019-04-28T07:15:55
183,870,595
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
# -*- coding: utf-8 -*- from django.contrib import admin from .models import Todo admin.site.register(Todo)
[ "niejinge6@163.com" ]
niejinge6@163.com
faea8c63853a978739f95b2e41e1a89d9d2ad953
3b5ea3b633cca42aed8c5cc7752b1a7854d2a20d
/mysite/settings.py
8da67a9eb0bdc7ca30212bb843029e292367d7b5
[]
no_license
nihalcameron/my-first-blog
4d32a1835018ef20f82d15682b87201e7ac33ca8
88aea3c448b479e285c1f086912108d6a3388514
refs/heads/master
2021-01-22T01:55:40.738650
2015-08-24T06:42:11
2015-08-24T06:42:11
41,081,140
0
0
null
null
null
null
UTF-8
Python
false
false
2,729
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths i...
[ "nihalcameron@gmail.com" ]
nihalcameron@gmail.com
1281fb5541740ff35cf2cb197890e7c73fb333e2
221cada2354556fbb969f25ddd3079542904ef5d
/AlgoExpert/validate_bst.py
24bf1e02380e497c9452015016be874e08f91ce8
[]
no_license
syzdemonhunter/Coding_Exercises
4b09e1a7dad7d1e3d4d4ae27e6e006732ffdcb1d
ca71572677d2b2a2aed94bb60d6ec88cc486a7f3
refs/heads/master
2020-05-24T11:19:35.019543
2019-11-22T20:08:32
2019-11-22T20:08:32
187,245,394
1
0
null
null
null
null
UTF-8
Python
false
false
807
py
# T: O(n) # S: O(d) def validateBst(tree): return helper(tree, -float('inf'), float('inf')) def helper(tree, min_val, max_val): if not tree: return True if tree.value < min_val or tree.value >= max_val: return False left_valid = helper(tree.left, min_val, tree.value) right_valid = ...
[ "syzuser60@gmail.com" ]
syzuser60@gmail.com
112cd830027e932f6588026048a0e382234d0510
1151f3d23d7a3eff633b6d987e266aebf73b77c6
/landing_page/migrations/0001_initial.py
3641a3d7e797521ca8cd7a8f532837ffd03410fd
[]
no_license
craigpullar/VestiumSplash
1d0335ec5fbc50dc3c25be8bdb8e1a5af87745a0
22ccd4f8f6c528a792c527347e813de2a78229f0
refs/heads/master
2021-01-17T20:02:44.227540
2015-06-01T15:37:45
2015-06-01T15:37:45
35,610,340
0
0
null
null
null
null
UTF-8
Python
false
false
5,447
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Registrant' db.create_table(u'landing_page_registrant', (...
[ "craigmichaelpullar@gmail.com" ]
craigmichaelpullar@gmail.com
337eb81a9613cf15a252c2509bbe10b88163e6e6
73a19b6956b35e1390e0e46b0df2f93310b348ff
/bar_chart.py
b83bef7269535cb211082d4a73cecfe6e9b1c0f1
[]
no_license
nirmal-suresh/computer_graphics
a7ce84ccfca5b5833579ce363d2ee73088c871b8
ee451435eb7983998e10ba1f29c57dfe272ce2c3
refs/heads/master
2021-07-11T06:04:52.960049
2020-10-05T11:56:28
2020-10-05T11:56:28
201,729,176
0
1
null
2020-10-05T11:56:30
2019-08-11T06:53:35
Python
UTF-8
Python
false
false
1,801
py
from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * import sys from bressenham_to_import import line list=[] x=40 y=40 width=35 spacing=20 top_margin=40 right_margin=40 def myInit(): global n,x,y,width,spacing,top_margin,right_margin,maximum glClearColor(0.0,1.0,1.0,0.0) glColor3f(1.0...
[ "noreply@github.com" ]
nirmal-suresh.noreply@github.com
f299d004c1e2677393a7ce81b4bed0db28ba1fe1
b69be98f64ec291fa1e82fd1c1079bdfffb56c4e
/manage.py
2cc9f6df75dab06da0c15bc859003b69d3ccd234
[]
no_license
zykzml7788/djangodemo
f2d63be7cebb9f109dd32e09fd39b752a7d297b5
141a367d7b8832bfd75c5c8b4b29d5649a9ac65f
refs/heads/master
2022-12-17T04:28:21.617710
2019-05-24T02:41:09
2019-05-24T02:41:09
188,194,844
3
0
null
2022-04-22T21:17:11
2019-05-23T08:40:59
Python
UTF-8
Python
false
false
624
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mock.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportErr...
[ "zykzml7788@sina.com" ]
zykzml7788@sina.com
bca23f903311a368aa82760ee5be04a2b46ddd94
dcfd89a6a8ebf3b32948dbf93e222063c223bec4
/v2/api/utils.py
d2c3dd7fc2947f486115eb4c86ea84801e7f9616
[]
no_license
SirYaro/kdm-manager
a19ff1d7711bc39a2de9e8f740cb03fac28a52b7
263d1330764b915f3acb0771e58845020cce06b2
refs/heads/master
2021-09-05T05:47:58.511224
2018-01-24T15:09:18
2018-01-24T15:09:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,189
py
#!/usr/bin/python2.7 # general imports from bson import json_util from bson.objectid import ObjectId from datetime import datetime, timedelta from dateutil.relativedelta import relativedelta import email from email.header import Header as email_Header from email.mime.multipart import MIMEMultipart from email.mime.text...
[ "toconnell@tyrannybelle.com" ]
toconnell@tyrannybelle.com
6f92343ff23e76b2a0b1a06cdd767ecf0e444f40
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/mgmt/sql/models/encryption_protector.py
28b7ccfc213258e75b4740819a87b7557399fc67
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
2,969
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 ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
57cf2702270e99daab0cd0f773f9b28777c1fff8
b4ecc9c5a74f11958e7a49999d0299e7bb883d2e
/postgres-database/dbFunctions.py
34dd98379303cca9135af6e25108f79e95ad7f9a
[]
no_license
teja0508/AcronymLookup
6edea8ab9bc27824b961563f5bf968b499490094
ea5b812c41f138b5dccabbe2c474e2da0f85ce9e
refs/heads/main
2022-12-20T08:00:30.161858
2020-10-18T06:01:32
2020-10-18T06:01:32
305,030,809
1
1
null
null
null
null
UTF-8
Python
false
false
4,255
py
# dbFunctions.py [Rachel Gardner] # # This file defines the AcronymsDatabase class, which # interfaces with the PostgreSQL backend to store acronyms, definitions # and their contexts. import psycopg2 import json from collections import Counter class AcronymDatabase: def __init__(self): conn = psycopg2.con...
[ "lchandratejareddy@gmail.com" ]
lchandratejareddy@gmail.com
d0f0a460d28c324c7b6ef531624954af1d79c78b
292c2f18189ef1e21c65ffd58bfcc27b7d31bebe
/tests/conftest.py
a74de82ed0f422069f19297127c830d071f9e71a
[]
no_license
kolotev/python-pmc-catch
3f5e80e36f470411206cbf2c26a795e1f90846eb
fb512f63daee5eee586d07d4aa5623ef57e779a5
refs/heads/master
2021-07-06T05:07:10.278268
2019-12-18T22:37:11
2019-12-18T22:37:11
227,913,926
0
0
null
2021-04-20T18:59:07
2019-12-13T20:06:59
Python
UTF-8
Python
false
false
230
py
import pytest import pmc.catch @pytest.fixture(scope="function") def pmc_catcher(): # provide the fixture value yield pmc.catch.catcher # reset global counters pmc.catch.counters.ExceptionCounterGlobal().reset()
[ "kolotev@ncbi.nlm.nih.gov" ]
kolotev@ncbi.nlm.nih.gov
194507cc024cab52c79e45aaba888898255ed8ad
d4685a45925aae537cc305dce643d19a5007b0d3
/old_gpst
ef65d4482e8474556ada96a98058d0cac4cf1eb4
[ "Beerware" ]
permissive
plishing/Agena2
905c08f13611a40b134ef123640eae5ed326cffa
56f2f48a3bda4ff3d011d70e630cf6793995a239
refs/heads/master
2021-01-10T04:37:13.665528
2016-03-15T18:35:53
2016-03-15T18:35:53
53,969,191
2
0
null
null
null
null
UTF-8
Python
false
false
6,625
#!/usr/bin/python import re from time import * import serial import datetime from geographiclib.geodesic import Geodesic # byte array for a UBX command to set flight mode setNav = bytearray.fromhex("B5 62 06 24 24 00 FF FF 06 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 2C 01 00 00 00 00 00 00 00 00 00 00 00 ...
[ "chris@blafsen.net" ]
chris@blafsen.net
608ab0327a3583cf5033bddb38aef4e28cca9fc5
362b93ae13bb9c405c8a5eeffbad43d303a8efa7
/problem/plants.py
8dc0e1518d3a1f7ce266696d78b5b7b20410811e
[]
no_license
shebna12/ai-mp2
8c24983f55c8a2a6dd1ade83c84fb5924d509149
2ffed2abb652a6b1f6c22bd234f5d7d314e8439c
refs/heads/master
2020-03-10T10:21:43.485657
2018-04-20T06:27:18
2018-04-20T06:27:18
129,331,294
1
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
from problem.problem import Problem from problem.constraints import * def problem(): # Variables variables = ['C','R','S','T','V'] C,R,S,T,V = variables # C = corpse, R = rose, S = sunflower, T = tulip, V = vampire # Domain domain = {} for var in variables: domain[var] = [1,2,3,4,5] # pot numbers # Const...
[ "gmicay123@gmail.com" ]
gmicay123@gmail.com
2a9b37818a363e8981ee8582fa11e1dfdfb8afd3
d25112853a6a47c951b7d0528f3c3be4c1346438
/onnx_tf/backend_tf_module.py
8774f60e63679d9f233e7a7987797ad9d2a28ac7
[ "Apache-2.0" ]
permissive
00mjk/onnx-tensorflow
197b575de23573690606dc232504b8fbd5f25221
c63d4351c7752a769cdc9a1bfcf79ffd140e0e6a
refs/heads/master
2023-01-05T08:17:25.855185
2020-10-29T17:50:35
2020-10-29T17:50:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,994
py
import tensorflow as tf from onnx_tf.pb_wrapper import OnnxNode class BackendTFModule(tf.Module): def __init__(self, handlers, opset, strict, graph_def, backend): super(BackendTFModule, self).__init__() self.handlers = handlers self.opset = opset self.strict = strict self.graph_def = graph_def ...
[ "noreply@github.com" ]
00mjk.noreply@github.com
39de353d3535052bf810209b2d3f1d2e09c75737
ad9abcc82497f4f2675dee1fed97b0a7a20b42e7
/Raspberyy pi/Trash/wipe.py
47cf1449fe52b732973f2f7fa59445dceb15bfb7
[]
no_license
maxlvrv/BuddyCook
0c1bc83fb405b2fd941e991f3ab3185efad74eee
c242a9da912a4a733ddc415fd53334a1b8b7ef71
refs/heads/master
2020-03-27T15:42:32.349573
2018-09-03T14:06:35
2018-09-03T14:06:35
146,734,157
1
0
null
null
null
null
UTF-8
Python
false
false
260
py
import os import time import pymongo from pymongo import MongoClient uri = "mongodb://cooking:wsurop18@ds223268.mlab.com:23268/wsurop_cooking" client = MongoClient(uri) db = client.wsurop_cooking glo_temp = -273 db.temperatures.remove({"units" : "Celsius"})
[ "hnn04164@gmail.com" ]
hnn04164@gmail.com
edcd8ce0f727f58aaea7d90968b3b585f9aeab83
befd78e2bfdeb7aa786e8d78aa30670e72226577
/concurrency_with_asyncio/ch6/counting_freq_a.py
e4e1287524a416fe2d0e87e52535f912b079964d
[]
no_license
owari-taro/concurrency_in_python
4ee2664a4e8c6a9a840ffd0878dbd53181818813
6f12d84b4a72cd5ddd05c74b1c94902c784e5a18
refs/heads/master
2023-03-06T12:41:15.637603
2023-02-28T15:02:14
2023-02-28T15:02:14
301,134,395
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
import time freqs={} with open("data/googlebooks-eng-all-1gram-20120701-a","r")as reader: st=time.time() count=0 for line in reader: if count%10_000==0: print(freqs) count+=1 data=line.split("\t") word=data[0] count=int(data[2]) if word in fr...
[ "taro.biwajima@gmail.com" ]
taro.biwajima@gmail.com
e4206362723a57261b78659b8ed5031b9f6715ae
656c34284a0a7d69a439ebe40409a00eb9a1927d
/Geeks For Geeks/sortArray0s1s2s.py
2394ce85274bba5fec1f8f33d9f383e7343ea97a
[]
no_license
akshaali/Competitive-Programming-
8bef7adfb80b4f5e5de0f87bb2b49c3873690c76
7d2d3dd91eaa923ad546f1608eb7c2bcb623eee1
refs/heads/master
2022-09-04T14:15:18.771996
2022-08-31T07:33:29
2022-08-31T07:33:29
173,965,800
1
1
null
null
null
null
UTF-8
Python
false
false
1,269
py
""" Given an array A of size N containing 0s, 1s, and 2s; you need to sort the array in ascending order. Input: The first line contains an integer 'T' denoting the total number of test cases. Then T testcases follow. Each testcases contains two lines of input. The first line denotes the size of the array N. The second...
[ "noreply@github.com" ]
akshaali.noreply@github.com
5f2fc7c3278b07a10b5dfa6f780e1cad658986c9
8fde674a976ec9172425c4bea940ef7f32de2d87
/impute.py
aa35a662530c412e1d48456d5a9d47c7223b1221
[]
no_license
jpvert/networks
d19640ee45ce8909e8efd731de5dd199df8908c5
dddf66a8006e9c73324ffa8f1754e33cedd687af
refs/heads/master
2020-03-19T00:24:10.026188
2017-11-30T11:31:15
2017-11-30T11:31:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
""" Imputation of Dropouts based on averaging out expression levels from Similar Cells """ #Libraries import math import numpy as np import pandas as pd import matplotlib.pyplot as plt from numpy import inf from scipy.stats import pearsonr from sklearn.decomposition import PCA,KernelPCA from sklearn.cluster import ...
[ "f2013401@pilani.bits-pilani.ac.in" ]
f2013401@pilani.bits-pilani.ac.in
4d91f13decd159530a514e7082e5075cee9103f9
f668ecb18dd2a225746c731b90f7d560afe2384b
/Adabas/demo/dblist.py
4dd1b45b83409a924499437dd9ebfbaf368bc0d0
[ "MIT" ]
permissive
cfjunior/Nat2Py
0d2547e1110bab9c18d126de75d84d9a6489c12a
fdbff807e436628b49710f65d12cc108fb824b7f
refs/heads/master
2021-06-19T06:49:11.352745
2017-07-08T05:09:19
2017-07-08T05:09:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,190
py
""" Detect accessible databases Usage: python dblist.py --dbids <dbid> Options: -d, --dbids <dbid> is a valid dbid or a list of dbids -n, --noclose leave session open (use for testing only) -h, --help display this ...
[ "flavio@casacurta.com" ]
flavio@casacurta.com
db85c929547e11c00471367496c9ba6e1d51e00f
12b2c407622bb5eb604cebd7f4510a0740cf6c16
/jyqj/backend/teacher_version/forms.py
6ed72291c23bce08fde6117099d5234e799cc20e
[]
no_license
luohaifenglight/myadmmin
808aa31b4a4927f29c40ba98eb2a71271640b456
42aa687e2c8aa400dec53a9d99d18deaf4871313
refs/heads/master
2021-01-02T09:45:46.619333
2018-11-13T09:35:56
2018-11-13T09:35:56
99,293,295
13
5
null
null
null
null
UTF-8
Python
false
false
951
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from django import forms from utils.forms import ChoiceNoValidateField, MultiChoiceNoValidateField from enumtype import PUBLIC_TYPE, VERSION_TYPE class TeacherVersionForm(forms.Form): """ teacherverion """ # institution = ChoiceNoValidateField(label=u'机构'...
[ "luohaifenglight@gmail.com" ]
luohaifenglight@gmail.com
75000e99c6f31ef69db0b7f830911ce99634217b
cb7dc19f24978d5be0bdd4843cb8c42981fc66a3
/Ngram.py
2bb15f3b5a34867179074eda6063340d3bee1c47
[]
no_license
mohamadi-sara20/CorpusDevelopment
3e1f06eb293f3fa08dbb52c55227396b78b21aea
74102f1274950a1b0ce0e3647bbb4541501148eb
refs/heads/master
2022-11-13T20:19:33.435048
2020-07-05T23:47:24
2020-07-05T23:47:24
194,872,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
import ngram from nltk import ngrams import operator import re def makeBigrams(path, corpusFilename, bigramFilename): twoWordCollocations = {} with open(path+corpusFilename) as f: text = f.read() bigrams = ngrams(text.split(), 2) for bigram in bigrams: twoWordCollocations[b...
[ "mohamadi.sara20@gmail.com" ]
mohamadi.sara20@gmail.com
228e4d3b3f16180234670c387d2db36d0f1cd282
ecbaaf56d2e8ee6e3adcda6c3a4b79041eb26334
/RecursionAndDP/magicIndex.py
d86c721438ad969f2ba7c88e0d94736595e67e53
[]
no_license
nagask/CrackingTheCodingInterview
dd01eae6a90c6b34bfcf74ba77223b150267dbd2
bb106a21c9f2f384925494179336de7b08d00e5f
refs/heads/master
2021-12-24T22:05:51.093195
2016-11-14T01:51:09
2016-11-14T01:51:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
##9.3 A magic index in an array A [0. . .n-1] is defined to be an index such that A[i] ##= i. Given a sorted array of distinct integers, write a method to find a magic ##index, if one exists, in array A. """ Brute force would be to iterate through array and check index against value in array Since values are sorted and...
[ "preethikandhalu@gmail.com" ]
preethikandhalu@gmail.com
a48ccec8f5d3969800fb32763e5813726a2f2bb7
1b3ba0b7d06a093af3b2ce7ec02aa71086c15eff
/core/secrets.py
1d7181342a8cb2133130adbffc08638e4cef6c42
[]
no_license
mujibsani/virtual_assistant
a473e0f81c2daffd156f96b81658b3a48dac33f6
ff546a2eebdc54c04ef24210bc41c19001354e43
refs/heads/main
2023-05-28T22:28:24.725164
2021-06-13T10:51:56
2021-06-13T10:51:56
376,510,578
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
sender_email = '' epwd = '' to = ''
[ "mujibsani@gmail.com" ]
mujibsani@gmail.com
46976204ddc68698d9c6fe8b284977496cea01dc
0f30cad1e8a726484c04ac7bce47eb441c0d1f20
/end/demo5/company/companyapp/serializers.py
7f2ee98c7e6ee96ca70326ec9269d7b51e2cbbdf
[]
no_license
LinSanLang/zml
2fa6ed8155fed7625ba88b6cb4e351773d61cd36
2b9c221f8b0cb65b11670d65afda65f88e71cb69
refs/heads/master
2021-09-28T19:39:17.068928
2020-03-11T05:03:22
2020-03-11T05:03:22
239,649,444
0
0
null
2021-09-22T18:33:48
2020-02-11T01:22:38
JavaScript
UTF-8
Python
false
false
1,749
py
from rest_framework import serializers from .models import * class DepartmentSerizlizer(serializers.Serializer): id = serializers.IntegerField(read_only=True) name = serializers.CharField(max_length=10,min_length=3,error_messages={ "max_length":"最多20个字", "min_length":"最少3个字" }) def cr...
[ "2927361944@qq.com" ]
2927361944@qq.com
3607b9f9e528f2c8d748ceb3479562009ef661b8
2aea6da70ed7238aef09d2852efc411e6f16634b
/Core/render3d.py
2da0df47153f3f6ef1743ac80d02b79c3573eabb
[ "Apache-2.0" ]
permissive
jolyDev/orto-ray
4faa3162c904c6a3a84300737fb1310d2253cdad
00a6b8e7e1de708c66a1c6a96a230b43a5034e7e
refs/heads/main
2023-05-11T03:44:16.600071
2021-06-06T09:59:05
2021-06-06T09:59:05
332,317,284
0
0
Apache-2.0
2021-03-24T21:32:29
2021-01-23T22:05:23
Python
UTF-8
Python
false
false
160
py
import pyvista as pv def volume(data): dataX = pv.wrap(data) dataX.plot(volume=True, eye_dome_lighting=True, parallel_projection=True) # Volume render
[ "nnmu@ukr.net" ]
nnmu@ukr.net
500e7a25c1932289f29d7ea5129778427cd6c9cf
cdcb7eb326fbf868969dd776e8ac13653626ca78
/src/automata/slp_hard.py
127be61831474789e521d88fd53a0a90199355ea
[ "MIT" ]
permissive
akifumi-wachi-4/lcrl
5d100ed5918b8c10e1f252983cd0eec9112195e9
65c528e0d19600d83a1158e2e2990fe45aa7918f
refs/heads/master
2023-04-17T10:13:04.568504
2021-04-28T18:44:20
2021-04-28T18:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,763
py
from src.automata.ldba import LDBA # an example automaton for "goal1 then goal2 then goal3 then goal4" or # "F (goal1 & XF (goal2 & XF (goal3 & XF goal4)))" # only the automaton "step" function and the "accepting_sets" attribute need to be specified # "accepting_sets" for Generalised Büchi Accepting (more details here...
[ "Grockious@gmail.com" ]
Grockious@gmail.com
0fa8111bb42ed942cd8dae2398d407bbca507b9f
8446684281fba5fc48ac810db6ff096d138daf66
/roundf/2.py
7733993be3e8e0a692122acc512e2a0b948c9984
[]
no_license
domiwei/coding-challenges
e00b1ec684e616d45aa834ae92975f8bb6d7e19d
59799dfecc0991823db86e051727c372ca16d62b
refs/heads/main
2023-08-23T12:07:08.324368
2021-09-24T04:52:33
2021-09-24T04:52:33
399,509,054
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
from sortedcontainers import SortedList import heapq def run(happy, k, D): happys = [[] for _ in range(D+1)] removes = [[] for _ in range(D+1)] happymap = {} for i in range(len(happy)): s, e, h = happy[i] happys[s].append((h, i)) removes[e+1].append(i) happymap[i] = h ...
[ "kewei.train@gmail.com" ]
kewei.train@gmail.com
86f2461112f70864a6b60fc7a0f4c9e7c3b9f591
110aa36dbbad8b7600b6877280e0fa2994f88fe8
/Trees/BinaryTree/ancestorsOfNode.py
e3a99dc2edaad8ba9bdd2830f329990fcdcebe46
[]
no_license
praneethreddypanyam/DataStructures-Algorithms
05b8befbc8e65443c1e4ff0d0619b4fa8933535d
2d5e6ee39eace3ab9cf93005fcb00cf9e6098424
refs/heads/master
2023-02-07T17:00:00.094549
2020-07-23T03:56:21
2020-07-23T03:56:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
class Node: def __init__(self,data): self.data = data self.right = None self.left = None class Tree: def ancestors(self,root,node,ancestors): if root == None: return 0 left = self.ancestors(root.left,node,ancestors) right = self.ancestors(root.right,n...
[ "praneethr1000@gmail.com" ]
praneethr1000@gmail.com
11a91f1fed378f258c0163eab10cdf4961ce6f5d
915c31ce84a826d225bcb1cc5f1e0323e712f6e4
/calculate-testing-agreement.py
6276ce7b87c1a1e58da5c8f6883613ea1968e06e
[ "Apache-2.0" ]
permissive
mac389/overdosed
64162aaf8f57f7ca57bcc95678d0d18e231cda87
434255db4ea36581c9f94c7aa09ca6ca15169e8a
refs/heads/master
2021-01-10T07:44:41.804936
2015-06-25T23:22:51
2015-06-25T23:22:51
36,990,551
0
1
null
null
null
null
UTF-8
Python
false
false
1,157
py
import csv import numpy as np from pprint import pprint with open('testing-sample-MC-ratings.csv','rU') as my_rating_file: my_ratings = [row for row in csv.reader(my_rating_file)] #Automatic ratings with open('testing-sample-w-ratings','rU') as automatic_rating_file: automatic_ratings = [row for row in csv.read...
[ "mac389@gmail.com" ]
mac389@gmail.com
c5597281e91a1f2336cb6e046d5aa458cb432bf9
e4414bd8152e52855db7ab9065ae12b7329143e0
/python/src/maxdiffarr.py
c59fcce6e0af15f92b72aaecbe371e748058fd86
[]
no_license
catalinc/programmingpraxis-solutions
39cb847877ec46d2fb85740791c24889ab5654a8
c0b13906aa76ffac705bf108db138fb9a38bc16a
refs/heads/master
2021-03-27T16:46:47.781839
2017-09-09T15:17:38
2017-09-09T15:17:38
53,532,233
1
0
null
null
null
null
UTF-8
Python
false
false
678
py
#!/usr/bin/env python import sys import unittest # See http://programmingpraxis.com/2011/04/01/maximum-difference-in-an-array/ def maxdiff(a): min_i = i = j = 0 d = -sys.maxint for k in xrange(1, len(a)): if a[k] < a[min_i]: min_i = k elif a[k] - a[min_i] > d: d = a[k] - a[min_i] i = min_i j = k ...
[ "catalin.cristu@gmail.com" ]
catalin.cristu@gmail.com
fb83d9b6196a6c99c6e5beac5f7586b1ffd489da
fe3be844b1e2ebe08358c91a4db40cc78e0d4df5
/pigjuan-translator.py
00decee25deaf56a2efde0e82f1324afe4c6a5a7
[]
no_license
pythonnewnoob/pigjuan-transltor
7667c9174e2fbec36eccb015cc393188216aefcb
c9365c4c92da1c87fcf41e90e7a1735df66822f4
refs/heads/master
2023-03-28T01:52:18.154542
2021-03-30T13:38:20
2021-03-30T13:38:20
353,012,716
1
0
null
null
null
null
UTF-8
Python
false
false
193
py
from pypinyin import pinyin, Style import sys with open(sys.argv[1], "r", encoding="utf8") as f: s = "".join(i[0] for i in pinyin(f.read(), style=Style.FIRST_LETTER)) print(s.upper())
[ "pythonnewnoob" ]
pythonnewnoob
71a2d7cbbd8c0b66f75a771056748b3e7f026054
aadea82d00400b71de86b1906ed347d10416e69b
/p350.py
b495e8cb02bea100bc4e51baabf5fe09685b80ad
[]
no_license
abishekravi/guvipython
fc0f56912691cd5a41ab20f0c36b2027ebccfb00
4fbb83f0a131775cd9eb3f810c2d1c9ad22d710a
refs/heads/master
2021-08-16T10:22:00.052735
2020-06-25T04:35:42
2020-06-25T04:35:42
196,218,458
2
27
null
null
null
null
UTF-8
Python
false
false
360
py
#a import sys,string, math,itertools def minChCnt(s) : dic1 = {} for c in s : if not c.isspace() : dic1[c] = dic1.get(c,0) + 1 min1 = sys.maxsize L = [] min1 = min(dic1.values()) for k,v in dic1.items() : if v == min1 : L.append(k) return L s = input...
[ "noreply@github.com" ]
abishekravi.noreply@github.com
493f7c2b31eeef1ce52216da6b2ee3f75e5fb90c
f34b1d25a9800dd9a6782d6be7d09ec9e90e9a49
/3-homework-yanjun/qwe.py
db37ba4f07924815751dc23f0fc724ee7aede65b
[]
no_license
bonnieyan/Python
10645085ea256e18fd5fb87813aba0bfef87db4f
baaf83f26686ae0d441d889322f8676149ec689e
refs/heads/master
2020-04-14T23:12:50.526559
2019-04-17T16:29:33
2019-04-17T16:29:33
164,194,241
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
# for i in range(5): # print(i) # # for j in range(0, 5): # print(j) import re s = "phone number : 010-8877665 0431-98989498 0832-3821251" reg = "0\d{2}-d{7}|0\d{3}-\d{7}|0\d{3}-\d{8}" print(re.findall(reg,s)) #捕捉与不捕捉7665 ip = "1234.543.123.12 255.255.133.255 0.0.144.0 192.168.11.1" reg1 = "(?:\d{1,3}\.){3...
[ "525663314@qq.com" ]
525663314@qq.com
714bd9cb43e9534a5d9440bee66ac334ae9cced7
d7bd589ac95b3c72ff342acad098284c1a8bfec9
/unit_test_tutorial/employee.py
e8e506087ce4031a080542e545d5d7ec1bafc589
[]
no_license
benlvn/pythonprojects
5a07b0e1b086cfea3f70c68620f9f3f0d659baf1
c77fddb553f028304f91c8309662bf63ca24c4de
refs/heads/master
2020-05-15T21:30:22.964515
2019-04-28T20:58:41
2019-04-28T20:58:41
182,495,791
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
import requests class Employee: """A sample Employee class""" raise_amt = 1.05 def __init__(self, first, last, pay): self.first = first self.last = last self.pay = pay @property def email(self): return '{}.{}@email.com'.format(self.first, self.last) @property...
[ "ben.lvn@gmail.com" ]
ben.lvn@gmail.com
0baa21980dcdcdf4d461c027cd92612e6436dde7
81980182b91b167ef313a4a141cf9819edb0e67d
/AngularApp/backend/python/shared_key_class.py
5ea19f8fbba7199853405e00419f795067655752
[]
no_license
WindMillCode/LawForLeaners
7d4d2641c7c0ff6e58585274264883f15e7a5395
3dd9f9fa829a5480b1b2f96523f3c3b74dbf8da0
refs/heads/master
2023-08-01T02:29:29.321216
2021-09-21T17:55:39
2021-09-21T17:55:39
395,694,835
1
0
null
null
null
null
UTF-8
Python
false
false
3,532
py
class SharedKeyCredentialPolicy(): def __init__(self, account_name, account_key): self.account_name = account_name self.account_key = account_key super(SharedKeyCredentialPolicy, self).__init__() @staticmethod def _get_headers(request, headers_to_sign): headers = dict((name...
[ "michaelodumosu57@gmail.com" ]
michaelodumosu57@gmail.com
1732c54df32068f0309a25eaf8c43e259996e7a3
4c418eb89ff2a189fc91e16e2b82a66454d3b3de
/automation/automation.py
51639f7c7217f0cdf189edc8fcddbb93b9cd332e
[]
no_license
RavArty/python_playground
6247bac83e8e2b2d520a61a844c701d59978eb37
86119d2c4687d0e03a32924a70a689cca85493e8
refs/heads/master
2021-07-18T05:54:44.369721
2020-04-13T00:22:33
2020-04-13T00:22:33
243,872,936
0
0
null
2021-03-20T03:30:40
2020-02-28T23:31:40
HTML
UTF-8
Python
false
false
484
py
from selenium import webdriver chrome_browser = webdriver.Chrome('./chromedriver') chrome_browser.get('https://www.seleniumeasy.com/test/basic-first-form-demo.html') button = chrome_browser.find_element_by_class_name('btn-default') user_message = chrome_browser.find_element_by_id('user-message') user_message.clear()...
[ "ravkart@gmail.com" ]
ravkart@gmail.com
41be5f261a4866f3eca403bdcbdb7c9fee1a2e7d
7ff12fccd5da300c6f844e01ae15399804d28107
/41/lambda.py
b827614414b2610ff8e1e0f176b3ba5efbd2b92e
[]
no_license
weilaidb/python_dd
cc49d21d4ad8b6e56b80ea068b95255502eb9ea5
7458af7fb028850999cdbf089ac6c61a55096c25
refs/heads/master
2021-01-10T01:36:35.539121
2016-02-24T14:25:23
2016-02-24T14:25:23
47,059,506
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
#!/usr/bin/python #Filename:lambda.py def make_repeater(n): return lambda s:s*n twice = make_repeater(2) print twice('word') print twice(15)
[ "you@example.com" ]
you@example.com
8412cd184509540222243fc101f655bdd272b3a7
fd693c1e440c69272850ed614e331f79e433c74d
/pipeline.py
ebd75d923a04e5ab62b4d01ee9f5b075db6d3675
[]
no_license
YODAXYZ/Tender_Hack
830cd00183e9301aed56bd1aa0ca5e4290bc9439
a40707afa4df474e63fe7977d06fcbee2d2da688
refs/heads/master
2023-07-31T20:00:59.451674
2021-09-26T13:24:49
2021-09-26T13:24:49
410,068,909
0
0
null
null
null
null
UTF-8
Python
false
false
3,538
py
import pandas as pd import json # Читаем эксель файлы df = pd.read_excel("СТЕ.xlsx") contract_df = pd.read_excel("Контракты.xlsx") def get_season(value): """ parse datetime into season of year :param value: datetime :return: str """ doy = value.timetuple().tm_yday # "day of year" ranges f...
[ "marat@indivd.com" ]
marat@indivd.com
817266a98c195d0592a873a56976b22261b0798b
d8fb7147e9b471fafb9b1e7ae208e20e1eab9cc1
/lmtk/html/meta.py
6e1b1fee1fa05847fa7a141fc3493ed38d3f63da
[ "MIT" ]
permissive
ericchen/lmtk
e61e5c1f0790dfba32f2ceb406df16045332b15f
ce2604851af66801f459b2e9bc5aeaf0c94bc15d
refs/heads/master
2021-01-21T04:08:08.336582
2014-09-23T14:02:01
2014-09-23T14:02:01
33,095,938
1
0
null
2015-03-30T00:53:51
2015-03-30T00:53:50
null
UTF-8
Python
false
false
5,134
py
# -*- coding: utf-8 -*- """ lmtk.html.meta ~~~~~~~~~~~~~~ Tools for extracting metadata from HTML. :copyright: Copyright 2014 by Matt Swain. :license: MIT, see LICENSE file for more details. """ from __future__ import print_function from __future__ import unicode_literals from __future__ import division import re f...
[ "m.swain@me.com" ]
m.swain@me.com
9baf68c67aae3d6d4e68e824b9bae4d9223898c8
9306fab2e37417b634d93a0b271f977c4d047b39
/LCR/run.py
e57faf11f602b664905418e8a6fbe85ef419afa7
[ "MIT" ]
permissive
MariaPoliti/LCR
bfa2289f5844057325d83de83fa6b5709b832f38
8991a4395b945951d468fe33593dee94d7f5668a
refs/heads/master
2023-01-27T12:28:34.189013
2020-12-08T03:36:23
2020-12-08T03:36:23
292,657,978
4
1
null
null
null
null
UTF-8
Python
false
false
6,131
py
import pyvisa import time from LCR import frequency def instrument_connection(): """ Function to make connection wiht the instrument and ensure that commands can be correctly delivered to it. Parameters ---------- None. Just ensure that the instrument is conencted through the device USB ...
[ "politim@uw.edu" ]
politim@uw.edu
3744a51e4d23d8722e227157a8ae3b83a999a160
7b5526cf675ae37ec60405b539bd82cf80109cac
/content/test/faceswap/plugins/train/model/lightweight.py
1e404ff217ed49fd29eb33feff3819bbf456abf2
[ "MIT" ]
permissive
gwdgithubnom/gjgr
f5defed9be988682b52a249524964737bb7f1604
581957a296b13a4231ea1e67ec62083b7da445bf
refs/heads/master
2022-03-11T04:53:21.842779
2022-03-05T02:08:14
2022-03-05T02:08:14
202,686,168
2
2
MIT
2020-07-23T07:58:44
2019-08-16T08:07:31
Python
UTF-8
Python
false
false
2,357
py
#!/usr/bin/env python3 """ Original Model Based on the original https://www.reddit.com/r/deepfakes/ code sample + contribs """ from keras.layers import Dense, Flatten, Input, Reshape from keras.models import Model as KerasModel from .original import logger, Model as OriginalModel class Model(OriginalModel):...
[ "gwd163nom@163.com" ]
gwd163nom@163.com
ff6b512c52c151282616d21997c984e6085785f8
c3d7b92af5b78b12092cdcd815220fd770d3a22f
/testCNN.py
4c6461a822d7933f23e708049f4d54f1e56725dd
[]
no_license
Malandril/TensorFlowTest
0e3630a3772e7692345e44b761e815faa0d09705
e85494eb591edc59e31f484448cd906456d8a03c
refs/heads/master
2021-05-14T07:11:56.368878
2018-01-04T12:50:06
2018-01-04T12:50:06
116,259,538
0
0
null
null
null
null
UTF-8
Python
false
false
5,986
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 appl...
[ "canava.thomas@gmail.com" ]
canava.thomas@gmail.com
06555043b6ce170dfa7d12f9b0302130aef2bdff
51188a96c931f2889020e8335e679311a3943e63
/lib/run.py
b0f6307f821da369411b70d4cae755f5dce2ec54
[ "MIT" ]
permissive
JIIOryo/air_conditioner_api
aa1259c7a1fb17579d0c50c097a552df76c22306
edd6e028551f1c464b1e40805e18b64386897e02
refs/heads/master
2023-02-13T16:28:57.432355
2020-09-06T14:54:20
2020-09-06T14:54:20
291,477,154
1
0
MIT
2020-09-06T09:02:19
2020-08-30T13:37:24
Python
UTF-8
Python
false
false
255
py
import subprocess def run_air_conditioner( irrppy_path: str, command_file_path: str, gpio: int, command: str, ): cmd = f'python3 {irrppy_path} -p -g{gpio} -f {command_file_path} {command}' subprocess.Popen(cmd.split()) return
[ "r-kawaguchi-m4w@eagle.sophia.ac.jp" ]
r-kawaguchi-m4w@eagle.sophia.ac.jp
9e62c1f49bff98d687b877bf531153358eec20df
ea10e2e722412e80e53bb5a981e00650ae64c34a
/GI5/qualite + ml/TP_ML_1/pizza1.py
170af2b2262cbc35db0123f56e0ae71361d6bbae
[]
no_license
Hmama-Mohammed/GI_ENSAO
571fbf5c65678d3ee533f7338b8051a0fa11a062
a939b0a1a86bbacea71bcf5083c8bf3ef252fee5
refs/heads/master
2022-12-23T23:12:01.813271
2020-10-02T08:41:24
2020-10-02T08:41:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
#vbase de données Iris import numpy as np from sklearn.datasets import load_iris from sklearn.linear_model import LogisticRegression from sklearn.metrics import accuracy_score from sklearn.preprocessing import StandardScaler, PolynomialFeatures from sklearn.model_selection import train_test_split, GridSearchCV
[ "chakirmanale@gmail.com" ]
chakirmanale@gmail.com
485b3c5be8e95fe1bbf16aff7303d04fa4db5320
4ddf4fa6a4a499d64b23fb99d70a7bb3802fd1b0
/utils.py
3cbae7d209d317c10c8b8a9c0dd055c5e057feec
[]
no_license
biterbilen/MVML
2b318b3883c00ed1908ef75924077e3aab639094
76a79ded26d09452234b7ae2b4809e47aa93df70
refs/heads/master
2023-01-13T10:04:10.269589
2020-11-16T18:55:19
2020-11-16T18:55:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
import subprocess import pandas as pd class HexTransformer: @staticmethod def hex2rgb(hex): hex = hex.replace("#", "") return int(hex[0:2], 16), int(hex[2:4], 16), int(hex[4:6], 16) def fit(self, X, y=None): return self def transform(self, X): return X.apply(self.hex2...
[ "max.humber@gmail.com" ]
max.humber@gmail.com
92635679476bd6c1017ab2e83cf1bdb43720a62c
baf2f38a6d5578a3ab42e957a5a59b36a2eb1efb
/app.py
efdd1f979537bb9293a769f86e088e9e5ef75c0a
[]
no_license
NicholasBallard/morning-light
1145322ec6522191b3be2429680776871641df6b
02d5db9327e1f455bac90c6136529fc2f05997fb
refs/heads/main
2023-09-01T12:16:22.589658
2021-10-11T04:13:57
2021-10-11T04:13:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,562
py
from datetime import datetime, timedelta from functools import wraps import RPi.GPIO as GPIO from typing import Callable, ParamSpec, TypeVar import suntime import config # see: https://realpython.com/python310-new-features/#type-unions-aliases-and-guards P = ParamSpec("P") # Params R = TypeVar("R") # Return type ...
[ "nicholasericballard@gmail.com" ]
nicholasericballard@gmail.com
c6f3166c925ce438ba57445a797d8a4d33b43759
6fc67193c2d14d49e78d985cee6e66732ea06fca
/places/water.py
c3bae825f9038443591a2d5a5eeae2b11aa8db45
[]
no_license
DigbonesMajor/DragonsVsTerminators
883758a0cc624038250f091e0f6bf70e52a0bfd5
1658d69385485ad6dc3dea64981f1f0ceb2b01d4
refs/heads/main
2023-07-06T04:26:32.924539
2021-08-11T16:24:46
2021-08-11T16:24:46
395,049,585
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from places import place from . import Place class Water(Place): """Water is a place that can only hold watersafe fighters.""" def add_fighter(self, fighter): """Add a Fighter to this place. If the fighter is not watersafe, reduce its armor to 0.""" # BEGIN 4.1 "*** YOUR CODE ...
[ "sourabhkandari456@gmail.com" ]
sourabhkandari456@gmail.com
3a4577c300543e75a0aecea0c058e33233702966
58e4df57f418f763d23ae9c6c5b4ef8566f89c87
/sla_exporter/modules/__init__.py
6650ae71f411a944b0f912738cb2b0b028854eba
[]
no_license
lfyzjck/sla-exporter
3eec207b9f2e145fc7f994d2211eed9c17e23f42
9064a68d29243ff7322b5d5ba0b5804d6ca97398
refs/heads/master
2023-09-04T22:04:29.588789
2021-11-16T03:01:16
2021-11-16T03:01:16
337,016,475
3
0
null
null
null
null
UTF-8
Python
false
false
5,848
py
import logging import subprocess import socket import os import time import requests from schematics.models import Model from schematics.types import ( BooleanType, DictType, IntType, ListType, ModelType, StringType, ) from sla_exporter.module_utils import register_module from sqlalchemy import...
[ "jickimkim@gmail.com" ]
jickimkim@gmail.com
61e130e529c8c59df086179ffb48dbf8a1b39e36
15e2ea9b57124fa66bf45c5245600b567de3539a
/hottbox/datasets/tests/test_synthetic.py
1b9ca4312ef2f5a3fe72e9b968b77671dc73d9ad
[ "Apache-2.0" ]
permissive
divyanshmanocha/hottbox
3c42c3a90f5958f3398745751b8181d7b7ef2d81
967d5d522ea23992ed2076816dc3432d9e5b4d4e
refs/heads/master
2020-04-05T01:17:10.183065
2019-03-05T15:23:10
2019-03-05T15:23:10
156,430,465
1
0
null
2018-11-06T18:40:03
2018-11-06T18:40:03
null
UTF-8
Python
false
false
2,666
py
""" Tests for the rank estimation module """ import pytest import numpy as np from ..synthetic import * from ...core.structures import Tensor from ...utils import isToepTensor, isToepMatrix class TestbasicTensor(): """ Tests for basicTensor class """ def test_predefined_distr(self): true_shape = (4,3,...
[ "divyanshmanocha@gmail.com" ]
divyanshmanocha@gmail.com
f5a2e5a623c38797822aa43672dd567a377d6369
379e932003bac6869260a6b362bce589951c96a1
/backend/test_25201/settings.py
ed9bc57d4ac097d5d02a1401e46104c4c50ebc7a
[]
no_license
crowdbotics-apps/test-25201
31e0020b73f87fd28b15a57f3702750cde7eba4e
9cd38854979c7d6680a2b0f8ac32c71b5e3e13c1
refs/heads/master
2023-03-27T10:57:58.090951
2021-03-23T02:08:52
2021-03-23T02:08:52
350,550,517
0
0
null
null
null
null
UTF-8
Python
false
false
7,214
py
""" Django settings for test_25201 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
caa8e4280b3fad84f3f0c7c9cfe4f9c1c6f8daf4
7f4843d9b2b1929165404a84b1e9319eb53693fa
/Tests/RegressionAlgorithms/Test_MethodOverload.py
fe83565d6f873a5bd2171ebacd6a845931b47e37
[ "Apache-2.0" ]
permissive
Zephio/Lean
e61a3cf85a53031723f5f472036280572686aaa7
09f209fce1f07196f0e32bb8edd7b866c7516049
refs/heads/master
2020-04-07T09:55:08.982438
2018-03-06T22:43:19
2018-03-06T22:43:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Lice...
[ "alexandre.catarino@gmail.com" ]
alexandre.catarino@gmail.com
7e6aaaf4fd5029d462cd38b3cd0243cc32892df1
5f5aec2557d85b8c93868c4b83725ef541cb6646
/learning/train_mask_rcnn/mask_RCNN_master/mrcnn/utils.py
30033bc8951ba592ce8ff75ea8a7bdaef0e03d37
[]
no_license
xiamenwcy/ExplainablePR
ab06b624e7d75dc78d860703fe3617469191855b
759b795926807d355542a3860e4f1080a4c4ee77
refs/heads/main
2023-05-09T20:58:36.213013
2021-06-19T12:56:20
2021-06-19T12:56:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,273
py
""" Mask R-CNN Common utility functions and classes. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Written by Waleed Abdulla """ import sys import os import logging import math import random import numpy as np import tensorflow as tf import scipy import skimage.color imp...
[ "joao.pedro.brito@ubi.pt" ]
joao.pedro.brito@ubi.pt
b1ffe137dc1156306b933bd1b929cd6984e4662b
92f15f0810af84357915274c0fca143ece51383a
/alphaVariable3D.py
e4c841cba3e4c278d48e53c2e5facf3f0a478cf9
[]
no_license
1devansh/cost-optimization-HPC
2bd20adb94a3692993e9f3779bce6ef027591470
1435f9514e7e9bcc4118e5be507c246947949ddb
refs/heads/master
2022-09-10T11:17:33.149985
2020-05-25T16:11:14
2020-05-25T16:11:14
264,963,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
from __future__ import division import random import math import numpy as np from mpl_toolkits import mplot3d from itertools import combinations import matplotlib.pyplot as plt def fact(n): return math.factorial(n) def comb(p, v): return fact(p)/(fact(v)*fact(p-v)) def graph(p, beta, alpha, CpiR, CpiV, Cw...
[ "ds8611@bennett.edu.in" ]
ds8611@bennett.edu.in
acf5f3f8c41ffe2c340d87e431ce7c7df30ad01d
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/python_all/70_1.py
ec22d692bf592f3d3a12f7546ec72edd733f712b
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
2,054
py
Python – Remove duplicate values across Dictionary Values Sometimes, while working with Python dictionaries, we can have a problem in which we need to remove all the duplicate values across all the dictionary value lists. This problem can have application in data domains and web development domains. Let’s dis...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
0abcaede73946f177a25034b2963d0e9ac0ce97d
56d558d7ff259b66850c0ee6558c3121867f987f
/test01/test01_05_01/package_time.py
03cc00d16aaca9bc0439333674d90f643589db2c
[]
no_license
kongjingchun/PyTest
9f97e42d03206091bfe6e78f22a967ae242a37fc
ad88c51b5482e5b32c35bd7d4049636f11786d74
refs/heads/master
2023-05-25T22:18:05.914096
2021-06-05T14:27:04
2021-06-05T14:27:04
341,505,772
0
1
null
null
null
null
UTF-8
Python
false
false
247
py
# coding:utf-8 # @Create time: 2021/3/18 11:01 上午 # @Author: KongJingchun # @remark: time包的使用 import time now = time.time() print(now) time_date = time.localtime() print(time_date) for i in range(3): time.sleep(1) print(i)
[ "jing20130808@vip.qq.com" ]
jing20130808@vip.qq.com
85436586d737ef0c812cedf461aa95717da30280
8a6448bc206363d35464a8fc6bf0845cbc0c3da2
/src/snake/board.py
bd81005bdabffd6f0d4ccecd377476861a131f00
[]
no_license
danno-s/neuroevolution
adb7ca9f738ff207d7830c075ae4551638862cca
984849f9d65c617e7aff396f04928e3700ad83e6
refs/heads/master
2020-04-13T18:05:16.820502
2019-01-03T03:16:09
2019-01-03T03:16:09
163,364,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,635
py
'''This represents a board in the snake game. It's responsibilities are creating new fruits when the previous one is eaten, and recognizing when the snake's head is out of bounds. ''' from random import randint from pygame import draw, display, Surface class Board: def __init__(self, dimensions, opacity = 255): ...
[ "danielsoto.3004@gmail.com" ]
danielsoto.3004@gmail.com
d576110ecd23c07acd4b33cab5b13a7230b6cca4
bd05b22c7570707c4d347a9bae989cbb558dedf3
/general_analyse.py
051e7be7aecf993e3b8e2e3e9a13f99cc1148c83
[]
no_license
Jancy1072/pycoverage
d860c7e24e8845ba5e86edf7560955f3bb500d89
936d41b88d6c09ec3bc2ce9c5b3cb22ab2ef8bc7
refs/heads/master
2020-04-16T22:42:14.952299
2019-01-16T05:35:06
2019-01-16T05:35:06
165,979,829
10
1
null
null
null
null
UTF-8
Python
false
false
6,913
py
# encoding: utf-8 import marshal, types, os, sys import linecache import re # pyc文件的处理 class PycFile: # 读取pyc文件 def read(self, f): f = open(f, "rb") self.magic = f.read(4) # 标识此pyc的版本信息 self.modtime = f.read(4) # pyc产生的时间 self.code = marshal.load(f) # 序列化了的PyCode...
[ "noreply@github.com" ]
Jancy1072.noreply@github.com
ee218a548a9c868efec73566484d93427fbbb9a3
bfdd15c882eaa58b2343a7a930a07f98bed82061
/news/urls.py
38207aabc8f828e7a473706baabf6fbbe9256994
[]
no_license
sthabinod/SCHOOL
1c474ccae18c9204d2749d1bfdc409a5d0c3ef4f
4a350fcf3717d35c54928cf1f950a666fc263311
refs/heads/main
2023-05-27T18:51:54.092413
2021-05-24T12:44:20
2021-05-24T12:44:20
370,336,326
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from django.urls import path from . import views from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path('news_details/<id>', views.news_details, name="news_details"), ]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
[ "stha.binod1000@gmail.com" ]
stha.binod1000@gmail.com
72f8c063288e7e2d9faa6fcefe52ec14f9fb7cac
4b465d551d27dde54ee6f8962d35c5b66fec12ec
/crt_portal/tms/admin.py
af9b61f1a791943c5b749cddee0e7b1969cc2eb7
[]
no_license
18F/crt-django
365c7cdf4092cebe2ebcdfe492c259ada1d3b77f
5e2cbea7b33f5367774b816d2a1287336b64d31c
refs/heads/master
2022-06-11T01:58:39.100099
2021-06-04T23:10:04
2021-06-04T23:10:04
191,433,413
0
2
null
2022-05-25T07:23:35
2019-06-11T19:02:23
Python
UTF-8
Python
false
false
444
py
from cts_forms.admin import ReadOnlyModelAdmin from django.contrib import admin from .models import TMSEmail class TMSEmailAdmin(ReadOnlyModelAdmin): search_fields = ['recipient', 'report__public_id', 'error_message'] list_display = ('tms_id', 'recipient', 'report', 'status', 'created_at', 'completed_at') ...
[ "joseph.krzystan@gsa.gov" ]
joseph.krzystan@gsa.gov
8e9d522a4bee0bcbaef63387c784c3826c71dc90
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startQiskit_Class337.py
4a5caf7314c5b9433c1c0f9694093bc128700ae8
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
5,360
py
# qubit number=3 # total number=60 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
704fb763542b4f83156675bb47bbc0f2e3f69b65
4c2cec3702ae68a694a6100eba1da4c4eb5cfcbc
/Utils.py
b07216cec41545bda40ccbcc7b97c205469b5932
[]
no_license
diegoasanz/IPADiamondCCD
f27b417c6f2709e9f81deda705ccfec04bd68719
2199e9e02b0de3764654eb2a588bce1458b3a2a7
refs/heads/master
2021-08-06T19:39:13.235276
2021-06-17T16:25:57
2021-06-17T16:25:57
140,624,791
0
0
null
null
null
null
UTF-8
Python
false
false
8,672
py
#!/usr/bin/env python import visa import csv import numpy as np from struct import unpack import time, os, sys from optparse import OptionParser import progressbar import ipdb from pykeyboard import PyKeyboard from ConfigParser import ConfigParser import subprocess as subp import struct import ROOT as ro import shutil ...
[ "diegoasanz@gmail.com" ]
diegoasanz@gmail.com
ef6e31cf1ee34575fe9a8110458a4b71ff5f2aef
6994917b9d22e9e15e578a0e5c75dcf4ce3cb022
/formularios/migrations/0002_auto_20200629_1106.py
ec722847b976eba1bbb468b1210f95fa3a236b6e
[]
no_license
linikerunk/rh-ticket
59ad6411a3d08c90c2704b37ba9bba67ea7f7754
bd8edd3eb1ea6cfe04fee03a4f41049a84c1e14a
refs/heads/master
2023-01-06T21:25:06.851369
2020-10-29T20:32:53
2020-10-29T20:32:53
250,346,547
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
# Generated by Django 2.2.9 on 2020-06-29 14:06 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('formularios', '0001_initial'), ] operations = [ migrations.AlterField( model_name='justificativ...
[ "linikerenem@gmail.com" ]
linikerenem@gmail.com
bd2a21a4f75b5da0fc0ec97b0105e60c34e12c54
62d2a5f2ca359eeebc9d76daeca2b71b5c795c2e
/main/migrations/0006_auto_20141201_2242.py
776dddcdef9e7826ad6983bcb4f918b79daebd25
[]
no_license
wdfn/fruitful_minds
cb2a3d3330f5840f2a409ea5ac67d74288f25a75
e96048e547c51802ae6fbda4ec3cee5fed603614
refs/heads/master
2020-06-03T12:48:40.354520
2015-01-13T22:52:50
2015-01-13T22:52:50
26,841,852
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('main', '0005_imageslideshow_attribution'), ] operations = [ migrations.AlterField( model_name='imageslideshow', ...
[ "reeselevine@yahoo.com" ]
reeselevine@yahoo.com
df1a74a93d70eac1ee3267de43c599eb5ef51076
fbbef702ad5494d8aa815ffe11cf4bc56d40b1d6
/maximum_sub_array.py
64faf232e435200455c33df6b4238efdef8dabb4
[]
no_license
sapanp007/python_scripts
383e8f4f2f177d1f997b60a6af5e00b63344adff
2069256a3fbdf101a043c1b1c7aeb6f9227d4a73
refs/heads/main
2023-05-26T09:00:38.899641
2021-06-01T06:10:55
2021-06-01T06:10:55
346,411,117
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
# Find out the maximum sub-array of non negative numbers from an array. The sub-array should be continuous. That is, # a sub-array created by choosing the second and fourth element and skipping the third element is invalid. Maximum # sub-array is defined in terms of the sum of the elements in the sub-array. Sub-array A...
[ "sapanp007@gmail.com" ]
sapanp007@gmail.com
401f0cd308467770e0ff7f8227d87ee7700302c2
8bfa6b9ff80df67f21f1a44efc82cbe2710677a6
/MissingNumber.py
a4ffcaa540f04c03dd28b57b086e336c2385a9ed
[]
no_license
amguenoun/Code-Challenges
07e014c3c965d4bdfd3a8d83991b04d2c0aa4cb1
0b9007d1847e686473ec37032698fcc49880e8f0
refs/heads/master
2022-12-13T16:42:30.403147
2020-08-31T21:39:49
2020-08-31T21:39:49
261,568,081
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
''' Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Example 1: Input: [3,0,1] Output: 2 Example 2: Input: [9,6,4,2,3,5,7,0,1] Output: 8 ''' class Solution: def missingNumber(self, nums: List[int]) -> int: res = len(nums) for...
[ "amguenoun@gmail.com" ]
amguenoun@gmail.com
60567d1fa526b9f96876073dc18939f56fe55711
7be4f595d555614a28f708c1ba7edda321f0cf30
/practice/algorithms/greedy/jim_and_the_orders/jim_and_the_orders.py
c2536053bea15992893c3f2b2b86f41f2c9beaa8
[]
no_license
orel1108/hackerrank
de31a2d31aaf8aeb58477d1f2738744bfe492555
55da1f3a94e8c28ed0f0dea3103e51774f0047de
refs/heads/master
2021-04-09T17:38:25.112356
2017-01-22T11:21:19
2017-01-22T11:21:19
50,198,159
3
0
null
null
null
null
UTF-8
Python
false
false
210
py
#!/usr/bin/env python n = int(raw_input().strip()) t = [] for CNT in range(n): ti, di = map(int, raw_input().strip().split()) t.append((ti + di, CNT + 1)) for VAL in sorted(t): print VAL[1],
[ "r.orlovskyi@gmail.com" ]
r.orlovskyi@gmail.com
83254d1ab162171014c506c6f9cd72de12a0fb3a
7704614dd6513f755e3086e3becad56a9f188900
/lab10/lab10_pickle.py
de0af89c9f19a582dd8bfee8814c60723f1b521a
[]
no_license
Zettroke/python-labs-bmstu-2019-2020
e5c45aa61ed8ca9f16f2bf8151bbfda6b530e0c0
db30e3f6afdfdb56b0ccbf88f810a4a70a20fd24
refs/heads/master
2021-01-05T05:12:55.106920
2020-03-01T20:26:43
2020-03-01T20:26:43
240,892,359
0
0
null
null
null
null
UTF-8
Python
false
false
8,132
py
from typing import List, Tuple import pickle def from_bytes(bts: bytes) -> int: return int.from_bytes(bts, 'big') def to_bytes(num: int, ln: int) -> bytes: return num.to_bytes(ln, 'big') def open_db() -> Tuple[str, List[str], dict]: file = None data = None while not file: try: ...
[ "skorostnoy2000@yandex.ru" ]
skorostnoy2000@yandex.ru
0c279e45341ed15a542b30b7c9517f1c6b235dc4
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/PyAMF-0.6.1/pyamf/remoting/amf0.py
d3e90344ab10b0c668e00ae113df1b052165e4a5
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
89
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/PyAMF-0.6.1/pyamf/remoting/amf0.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
6e0fb05fbe38e8dde3113d46c61d0c9224b97be6
c1e0e1232118493c7180f4acb36147663e92704b
/twitter_auth/migrations/0005_post_creator.py
e12dd5d6b0f2cb926a52cd9ddb68b8accb9b6192
[]
no_license
alitoufighi/soc-django-tweepy-python-telegram-bot
901e997e1d63019682188a2feaf2eb9621ab88b1
9c9d6978be128debd23ac181d0323ee3fc48207f
refs/heads/master
2021-01-23T18:22:50.529262
2017-11-21T21:15:08
2017-11-21T21:15:08
102,790,895
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-11-01 13:59 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependenc...
[ "alitoumob@gmailcom" ]
alitoumob@gmailcom
826d86feef447bbcaf0c88fb8486ce7082c636b2
b7cca7830aa1f21ea2441728b2373feb67575940
/app/users/__init__.py
1c6fc36136ae01e1e9f82e67113272c50ce00e37
[ "MIT" ]
permissive
prem-narain/IssueTrackerV2.0
5bdbcf646fc46673993359ab1485979686df09ff
c65e43d06e8323153d620f408c14af3c7ef5af09
refs/heads/master
2021-01-12T01:30:06.662037
2017-01-11T06:24:39
2017-01-11T06:24:39
78,394,653
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
from .UserModels import User from .UserForms import *
[ "prem.n@3mdigital.co.in" ]
prem.n@3mdigital.co.in
a8b96c7b27d1dbfe2e93e7bbff79ed1bef1672d6
e06f110ec269c58bc63823416b7ec0c10b032018
/py_helper/backend/DiMorSC.py
5bcf65a1fe6fb201dafc5b42e56312ca2d62d96f
[]
no_license
SuyiWang/DiMorSC
c1bb7232511848c7d2e5c1ad742a359fec7bae7d
df93bd8e43080945c3ce62bf1d93513a79ab34ad
HEAD
2018-11-14T12:02:42.810515
2018-11-13T22:10:44
2018-11-13T22:10:44
61,718,422
9
1
null
null
null
null
UTF-8
Python
false
false
8,564
py
''' DiMorSC Pipeline Methods: public methods: (list) pipeline(Data_Pointer data_ptr, json-like parameters, string workpath) (string) merge(Data_Pointer data_ptr, string workpath) private methods: (string) _Gsmooth(numpy.ndimage data, double sigma, double thd, string filename): smoo...
[ "swtpeanut@gmail.com" ]
swtpeanut@gmail.com
5963b4a661c1148072369f3660060d29b87102e3
7e548e52e5e7a9b0e2313c63fe6e17bca5d9e5ac
/Books/nlpia_manning/src/chapter5.py
0f3bf70c89e47ef215d8086db1930b5864f412d8
[]
no_license
webclinic017/cheatsheets
b01b4b57a69669a98387da7fe466dcce9caa831d
ade8745a844169acebd6285c89308c4860524685
refs/heads/master
2023-07-26T11:08:41.588373
2021-03-08T20:55:29
2021-03-08T20:55:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
######################################################################################### # Chapter 5 #########################################################################################
[ "mayankvadsola1996@gmail.com" ]
mayankvadsola1996@gmail.com
a02189b517ca704e4853f64fde2b7ae09f9c04ca
66700a0a1dd368607d177c05b7396b025d63b495
/DimensionReduction-Autoencoders/RBM.py
1c30aec18c00efb2cf6dcd5eabc4af1a4f1443bd
[]
no_license
Subbu636/Kaggle
d68af21de606168fa55bef52899371a63f738e3a
04e8253849cb40db1e97c0efd54cda7004b67fc2
refs/heads/main
2023-01-29T20:36:38.268500
2020-12-11T15:14:39
2020-12-11T15:14:39
306,122,115
0
0
null
null
null
null
UTF-8
Python
false
false
1,838
py
class BB_RBM(nn.Module): def __init__(self, n_vis, n_hid, k): super(BB_RBM, self).__init__() self.v_bias = nn.Parameter(torch.zeros(1, n_vis)) self.h_bias = nn.Parameter(torch.zeros(1, n_hid)) self.weights = nn.Parameter(torch.randn(n_hid, n_vis)) self.k = k def sample_...
[ "59171525+Subbu636@users.noreply.github.com" ]
59171525+Subbu636@users.noreply.github.com
940d221bad8a27c761381f7108dec944565b9b49
2c47c2357ab3e64f25ea1c3a587947049615cb02
/conversational/migrations/0005_remove_conversation_datetime.py
ff942b47b8bbb2dba83f36a3cf2db1e797ac31a3
[]
no_license
MiraRose/conversations
9a36a9019c59a531d778137960ba9e8788a891ff
54854c90cc45468abd34e9aff37a7d8789ba3c0b
refs/heads/master
2023-05-15T07:32:33.424816
2021-06-11T11:40:48
2021-06-11T11:40:48
375,561,294
1
0
null
null
null
null
UTF-8
Python
false
false
332
py
# Generated by Django 3.2.4 on 2021-06-10 20:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('conversational', '0004_thought'), ] operations = [ migrations.RemoveField( model_name='conversation', name='datetime', ...
[ "miraastar@gmail.com" ]
miraastar@gmail.com
e1d91aa5b3c900c13a088f8ee4122aaf06052e0e
b8cc547717b5a12b72287ea175ea8db891dde466
/projects/3D-ARNet/training/functions_for_training.py
32a1362f1d7dc38ac8beae0b0dc8e9b292894c94
[]
no_license
UniLauX/AINet
6635b37cdc5606c8edd2d2a3bc466869871082c3
e9168b4af46cf54db2a6cd7bd55cb3d0a9c62508
refs/heads/master
2022-09-02T08:53:00.877277
2022-08-09T23:06:41
2022-08-09T23:06:41
239,686,823
8
4
null
null
null
null
UTF-8
Python
false
false
4,650
py
import os # import gpustat import torch import numpy as np import matplotlib.pyplot as plt import torch.utils.data as data import torch.nn.functional as F from glob import glob from torch.autograd import Variable import torchvision.transforms plt.switch_backend('agg') def show_memusage(device=0): gpu_stats = gpu...
[ "UniLau13@gmail.com" ]
UniLau13@gmail.com
91db5a7d869f3f394cfe7992f247f8f5e0eb0ebc
0417db752c34400ea750b8a7721efe2df2c0c42e
/data_extract_features.py
f703cd38f3943c734e15bd030b798c6a06bcda38
[]
no_license
aiagarwa/AdaptiveApplications
c10bc7d6922b12e105b8ffb1e66aa52ddcafec20
0a554e2447d5cc38595c60b1c15ca892df6ea7dd
refs/heads/master
2023-05-30T19:42:20.797820
2021-04-23T17:53:14
2021-04-23T17:53:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,476
py
# -*- coding: utf-8 -*- """Data_Preprocessing.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1F735mILOTb8bkR_qaI-q8svzZ8KDS5YC """ import pandas as pd import numpy as np from google.colab import drive drive.mount('/content/gdrive') # read the...
[ "ruxu@tcd.ie" ]
ruxu@tcd.ie
17799a78f0806d845d7ca476553f2742e8883ef7
45f1edb05575ef2d49b2b6d1c3e4a2a1e6e3a9a4
/Python/crear un clase/Excercie_4_1.py
e9c495710740b3077e1a73e48f112d36f0d0aa83
[]
no_license
vkslogan/IPN
933a3c2c84e2d253502ae9b127415fe5b104485f
98c2ae1a59923ba8ed64360d49213428484f43d6
refs/heads/main
2023-08-25T10:51:24.960958
2021-10-20T02:44:21
2021-10-20T02:44:21
409,922,191
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
class Car(): """Clase tipo coche""" def __init__(self, make, model, year): """Inicializacion de los atributos""" self.make = make self.model = model self.year = year self.odometer_reading = 0 def get_descriptive_name(self): """ Imprime las caract...
[ "noreply@github.com" ]
vkslogan.noreply@github.com
dfb005108b9c8c2d7a4a9d48000c13da618c7428
46bac6e233eca8a2fc55bd6a52a86e8e05d419a8
/code/q3-5.py
d54e9e62b1b25c327059f473014997e7ba0d87ba
[ "MIT" ]
permissive
nagaokayuji/workshop-complexity
252bb7a80c111b8a8099a90ab7d0b940bbb06282
404681fa235c1e551695bfc1481a445c268dff8e
refs/heads/main
2023-07-15T08:30:36.935832
2021-08-27T13:39:29
2021-08-27T13:39:29
397,814,090
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
from random import randint N = 10000 def guess_number(N: int): target = randint(0, N) # 1以上N 以下の適当な数字(整数)を選んでもらう sum = 0 # 当てるまでに質問した回数 # 開始時の範囲は [1, N+1) (半開区間) low = 1 high = N+1 while True: mid = (low + high) // 2 # 中間を選ぶ sum += 1 if mid == target: ...
[ "nagaokayuji@team-lab.com" ]
nagaokayuji@team-lab.com
8a9b6f39c3cb3b176e2cdb0d2ac802eecdc204a3
933b576f9c3ab4031e7787b815cc083e66c21e7d
/day18-turtle-gui/colorgram_app.py
c4bd43748b2a9206665781641cfc1deab44564d6
[ "Unlicense" ]
permissive
frnkvsk/python100days
7e3571c14fece3a13330b236252b302137823324
70d607ca58a526f0d66544ed65405b2425718108
refs/heads/main
2023-05-06T10:29:13.104472
2021-05-25T21:06:37
2021-05-25T21:06:37
363,694,362
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
import colorgram # Extract 6 colors from an image. colors = colorgram.extract('image.jpg', 6) def get_rgb_colors(): c = [(colors[i].rgb.r, colors[i].rgb.g, colors[i].rgb.b) for i in range(len(colors))] return c
[ "frnk05vas@zoho.com" ]
frnk05vas@zoho.com
a3e97506187107587ac8370858eaf1c540252cc0
70f1535e1f1683b16c848d97764fe50724b3e157
/pythonProject/Curso Em Video Python/Mundo 2/ex052.py
9aa39999472ce29e5194e298d8b2bf1be848520f
[]
no_license
DanielMoscardini-zz/python
f2ce0e84290a70b3be2ec804b96b3bbaf6b9f9d0
5be5254e8c6e701cc9bb9ffafb29f220edde99bf
refs/heads/main
2023-01-25T04:41:53.638423
2020-12-08T20:14:15
2020-12-08T20:14:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
""" Leia um numero inteiro, e diga se ele eh ou nao um numero primo """ num = int(input("Digite um número: ")) contador = 0 for c in range(1, num + 1): if num % c == 0: contador += 1 print("O número {} foi divisível {} vezes!".format(num, contador)) if contador == 2: print("O número é primo") else: ...
[ "moscardinibdaniel@gmail.com" ]
moscardinibdaniel@gmail.com
bbe22d08ce0fd3520ada682b93c60cbf7c385d52
3ece565ee98975a56aef9093b19b015718a1eb7f
/build/pick_objects/catkin_generated/pkg.installspace.context.pc.py
eed09e2dee244ba14bde2bb7afb05d437d3b525e
[]
no_license
Cesaire-Njietche/Home-Service-Robot
0054c4079d0e9c00ddfeea8fdd52c51c5ef145d4
161d8418a357285d2332d37106f071ebcece30d2
refs/heads/master
2020-07-03T08:35:56.296515
2019-08-12T03:50:32
2019-08-12T03:50:32
201,853,156
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "pick_objects" PROJECT_SPACE_DIR = "/h...
[ "zecdnc2014@gmail.com" ]
zecdnc2014@gmail.com
be522adbb7e1f87c5dc75b3f2012ab9aba4576af
bd1dfd2ab5ea71bd0fde2d6d40b2a7a44c4353b5
/core/migrations/0001_initial.py
6a5a0a270133bf31695bbb6be5f105643444c72b
[]
no_license
onurguler/siparisver
8734c6dae4f24aa7608329c8817133dc6ecb5dbf
54afe33e90d20faf0d3132b6f99a25dd6658cbb6
refs/heads/master
2023-03-30T21:45:31.049233
2020-03-31T13:32:38
2020-03-31T13:32:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,063
py
# Generated by Django 3.0.4 on 2020-03-23 12:41 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
[ "guleronurosman@gmail.com" ]
guleronurosman@gmail.com
0e2eae513dca547791fbedea008e887c86f7689a
3d9c7d046674c0fca73df7dd0d0281be7600d6c3
/bases/renderers/rect_renderer.py
c179c4649b1253a742b051642c1cfb8baf202a22
[]
no_license
qhuydtvt/micro-war
9a5fef988ca229278e0b93319fd2be10a0b758b0
7151905277089b12c7312368ff85aba040e6fe5d
refs/heads/master
2020-03-09T20:36:43.280626
2018-06-18T22:55:12
2018-06-18T22:55:12
128,989,368
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
from bases.renderers.colors import RED import pygame class RectRenderer: def __init__(self, width, height): self.width = width self.height = height self.color = RED self.line_width = 1 def draw(self, screen, position): rect = (position.x - self.width / 2, position.y...
[ "qhuydtvt@gmail.com" ]
qhuydtvt@gmail.com
56bd73038144047a9dc694cee2fda792c2c7b14f
8c667957c024b5a73108761245db5c9125531f60
/core/compare_order_by_fixation.py
58b1bb229bbe4f3b30c5776ecaf76d64ffce1541
[]
no_license
CPP-HAPII/EyeTrackerAnalysis
4bdbf7a572a01137f513bae9708150b21093d9e8
f063663b0707630f901162ef2ab176ec3b38439b
refs/heads/master
2020-12-18T16:49:38.170573
2020-06-13T22:45:17
2020-06-13T22:45:17
235,450,532
3
0
null
null
null
null
UTF-8
Python
false
false
2,411
py
import pandas as pd import math import os import time from core import utils def compare_order_by_fixation(file): aoi_df = pd.read_csv(file, sep=",", index_col=False) selected_aoi_df = aoi_df[['userID','Page','Total_Fixation_Duration','AOILanguage']] dirlist = [item for item in os.listdir("user_study_...
[ "wilsenkosasih@Wilsens-MacBook-Pro.local" ]
wilsenkosasih@Wilsens-MacBook-Pro.local
275298dbcc2062a287cc460d58f2bea31d356bf3
040a5a212996e93943ec4f28c0e5b73b02637bde
/plugins/plugin_pipeline/__init__.py
fcd9bc1f96c8cab9fceeab804716458872d8cfbe
[]
no_license
dtzWill/wdtz
1e72f83e57b8818cab21e499365c165ef9f0c625
99d7cce3ef8835af617a33a076dcc94cc451eca6
refs/heads/master
2022-02-20T19:46:55.852841
2022-01-25T01:48:43
2022-01-25T01:48:43
12,216,759
4
0
null
null
null
null
UTF-8
Python
false
false
31
py
from .plugin_pipeline import *
[ "w@wdtz.org" ]
w@wdtz.org
f0e6b37a43bd1ea858410f6ba4b4fe48e721a8e9
d55870b6a5986bdc59f6f2cae7e462fff3354ed1
/convolution/python/gray_image.py
85ec9eae1fbe4b1542519dfbb2f57d5ce5b31a7c
[]
no_license
gouarin/formation_python2017
10e3a538220fa8a8dd250db9d5faee7ceda1a0dc
8de643bd07bbf1be17a715f1ef95ca7a87c2a54c
refs/heads/master
2021-01-21T18:33:19.222674
2017-12-01T16:14:07
2017-12-01T16:14:07
92,056,732
6
9
null
2020-11-28T22:57:41
2017-05-22T13:28:13
Python
UTF-8
Python
false
false
694
py
# """ Gray level image """ from scipy import misc import numpy as np import image as img class gray_image(img.image): """ """ def __init__(self, w = 0, h = 0, fileName = None): """ Construction d'une image de width x height pixels """ if None == fileName : img.im...
[ "loic.gouarin@gmail.com" ]
loic.gouarin@gmail.com