blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
585841a0ab7fec5d5e554df56e9525b8542746bf
a273c33036b697eaa90b01a22e5f01a31c61fda5
/exercises/ListChaine.py
5889a61caab9ac0da539cc442f6346bf568c7634
[]
no_license
allaok/codestores
1a55ed8798f6c99476fe24f27fda9a3c3fa03116
f000bbb2518a8202875cbbcf6cc3a11e57db5792
refs/heads/master
2021-01-19T05:44:06.981591
2015-07-29T22:56:16
2015-07-29T22:56:16
39,902,477
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
__author__ = 'PWXG8293' class Element: def __init__(self): self.value = None self.next = None class Liste: def __init__(self): self.first = None def append(self, value): element = Element() element.value = value element.next = None if self.first is...
[ "alexis.koalla@orange.com" ]
alexis.koalla@orange.com
2ce3c8a48982b584a60b2a960d76c25d0d5a33c3
f8965d7b16e3cf70370b3bd181ef855a2ab89768
/services/student_service.py
1008f3f8b34bb77616f5d65ad565592c882b9575
[ "Apache-2.0" ]
permissive
tuannguyendang/montypython
59cae6fc6069cf5356670132470cdd52bad00d67
c0b8ff7a8130e811ba16bfab8d5e013eac37f432
refs/heads/main
2023-05-12T02:24:50.693432
2021-05-31T02:14:16
2021-05-31T02:14:16
325,188,168
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
from uuid import uuid4 from services import StudentAssignmentService from services.abstract import Assignment class StudentService: def __init__(self): self.student_graders = {} self.assignment_class = {} def register(self, assignment_class): if not issubclass(assignment_class, Assig...
[ "tuan193@gmail.com" ]
tuan193@gmail.com
dd2c0563158627b1fd4a1e16385be8b08316abe4
a7d23974abd0d09681c17ca09038dc6dcd80a2ee
/extra/exporters.py
db0c766c8661667fb961183dbe55d8eadda1027e
[]
no_license
world9781/pydir
ccdf8aa560411957cf476324d49c7c1b4e0073c5
0c6c878a69bc5e0cabd12142d5fbb014fbade006
refs/heads/master
2023-03-15T20:27:57.409027
2018-10-22T19:09:11
2018-10-22T19:09:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
""" Exporters main duty is to represent a directory structure as XML or Json TO BE IMPLEMENTED """ import os import json class BaseExporter(object): """A base for Writing Directory structure Exportation formats""" def __init__(self,path_name): self.pathname = path_name def repr_as_dict(self,pa...
[ "kituyiharry@gmail.com" ]
kituyiharry@gmail.com
ebf043a81c81d7202f4783736d677c16d360a834
828695b32588933b87b8a58c9f68a3d1ce23db17
/jobs/migrations/0001_initial.py
4b98fd0982e563eb9eed2e0d1246a174992521c9
[]
no_license
jimpfred/portfolio
6a82a632319c0628b54a1b68b13238d10be67458
3e62cacd52052844d6a8400fc142ba04d5bb0740
refs/heads/main
2023-07-12T08:00:09.698957
2021-08-17T21:42:33
2021-08-17T21:42:33
397,274,756
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
# Generated by Django 3.2.4 on 2021-08-16 19:47 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Job', fields=[ ('id', models.BigAutoField(a...
[ "jimpfred@yahoo.com" ]
jimpfred@yahoo.com
b6e06bd57873d7cd596aa92ffcccf76eb8c487d1
6544fa558a6c08e4c67de393ed0d0ab554533839
/DjangoProjects/DjangoProjects7EnquiryPageAndDeleteRoom/Rento/rento/rooms/models.py
8ec356ad12ac7f769c1d4c1fecbeb6b79ef96526
[]
no_license
tennnmani/bitproject7-DjangoPython-
498878276ca0c847d0cf2ca73c1091074720d6e5
fe13b4822c4cc5686a478dbfee915c108b6f9278
refs/heads/main
2023-02-21T16:56:10.842672
2021-02-25T04:13:52
2021-02-25T04:13:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,505
py
from django.db import models from django.urls import reverse # Create your models here. class City(models.Model): name = models.CharField(max_length=120) # max_length = required def __str__(self): return self.name class Location(models.Model): city = models.OneToOneField(City, on_delete=models.CAS...
[ "diwakartop10now@gmail.com" ]
diwakartop10now@gmail.com
c2ab7ebb09d2e187c4dbf7afea60cfab0e18c38b
72eb6f8dcfe34996e9c16769fd272d0d4383743f
/OS/MP-3/test.py
63a530e8860c13151c7675b4a9c1d76e81a69305
[]
no_license
abhishekkrm/Projects
a11daabc3a051b02f8b899d6058878d08b7613d8
e7cd5a414ee330ac32671b4eab060949227fe3c7
refs/heads/master
2021-03-19T11:16:33.525390
2015-02-15T22:15:43
2015-02-15T22:15:43
30,843,645
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import getopt try : #Keep Receiving the message unless self.cr_lf is found time_val = 0 if time_val <= 0: raise "timeout" print ("DD") except: print ("HI") print("TP")
[ "am2633@cornell.edu" ]
am2633@cornell.edu
bcd8ad1f09ff8608cd0e1873f337a00d768cbe32
d7a05a935169e7b4d1c3cc834ff70633908fb525
/test_model.py
a5e8711ccbf4e9a40a69659d8d35d06c897711b8
[]
no_license
NinaWie/classify_satellite_images
72d44b7cdc9c9c038daccc6e354ede04b0b786d8
5810580999e557e56fc09d0404f2faccc9690e9a
refs/heads/master
2020-08-29T02:02:12.105432
2019-10-27T17:27:56
2019-10-27T17:27:56
217,888,474
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
import numpy as np import os import cv2 import json import keras import argparse import sys from keras.applications.vgg16 import preprocess_input from keras.models import model_from_json def classify_tif_image(k, l): """ This loads the TIF file and creates the 256*256 tiles out of it. it then classifies each...
[ "ninawiedemann999@gmail.com" ]
ninawiedemann999@gmail.com
952177163a4b1437e1561a38db38fa4d951331ba
9cb8a9f5172f9af17eda5ca8d3c6ff297f0bf120
/setup.py
42aed970f5f0d61d42ac271f5d64f44f3aa5bc6c
[]
no_license
tzyk777/twrapper
91c35e0a572c533071bc02c75952fd69fd2b4a22
b07c7c307f324a214c876b0d50ec18771b0012e1
refs/heads/master
2021-01-17T16:29:16.968949
2016-10-29T21:54:06
2016-10-29T21:54:06
62,597,082
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
from distutils.core import setup setup(name='twrapper', version='1.3.1', description='Python twitter wrapper', author='Zeyang Tao', author_email='zeyangtao1020@gmail.com', packages=['twrapper'] )
[ "zeyangtaooptions@gmail.com" ]
zeyangtaooptions@gmail.com
12991bf43618c242644e572cf61bc414b413c0b4
152ebb6f75ac0d79f824ea219ca095be59b23fd0
/client-side-module/client-side.py
62ab47a62a652cdf6bcc0f1acf2da0f6c105606b
[]
no_license
Automated-CAD-Scoring-Suite/Remote-Communication-Module-for-3D-Slicer
f296d1aca08cb90d1feb28e6ee8e1d7e45af70e0
fc6a2166c3208997bb7ed0aa8cd3ee0c7b6dc794
refs/heads/main
2023-02-23T21:16:25.327063
2021-01-30T04:04:53
2021-01-30T04:04:53
333,851,000
0
0
null
null
null
null
UTF-8
Python
false
false
5,210
py
# Import Packages import SimpleITK as sitk import nibabel as nib import matplotlib.pylab as plt import numpy as np def find_roi_2D(s): # rotate -90 s_rotated = np.rot90(s, k=3) # flip slice s_fliped = np.flip(s, axis=0) s_rotated_fliped = np.flip(s_rotated, axis=0) # Get up and down coordiat...
[ "abdullah.m.alrefaey@gmail.com" ]
abdullah.m.alrefaey@gmail.com
55a78abf836afadcc6c928b21b04a242cf25d686
77266fcd99d4b4770a6e22bf669150b1576c4e73
/Assignment4/venv/Scripts/pip3-script.py
85df86302a9b7e83b935b7e11b27688aeb77fbbc
[]
no_license
NourAdel/GA
d67ad9b9ed3cd1dcc6cfe00968217f5ed7b61b33
c407eb51e6c35b9369298bf96b409a9e4aaeb627
refs/heads/master
2020-05-18T00:06:59.353710
2019-04-29T10:42:14
2019-04-29T10:42:14
184,050,703
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#!D:\College\Genetic\Assignment4\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "noura7305@gmail.com" ]
noura7305@gmail.com
5da2bd8dc2830c9ae5ea68845892e133cd447295
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startCirq2210.py
06f183066edd0d13b690b7e34154e944725a31e0
[ "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
2,734
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=28 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
88bc0b746f0606f86b7e67ef6a1772fa311c5961
3b4094f1161502a3d1dbc5712e6405009c3c4b8c
/wsgi/venv/lib/python2.7/site-packages/bokeh/models/map_plots.py
d178a4dc16cabf517ea3bb3b0b28d01d0b822b07
[]
no_license
chriotte/FinalCourseworkCloudComputingChristopherOttesen
b604337c7e8064ee07e5a45a38e44ae52cb599ae
08a0271f831e3f14bc836870c8a39b996b6d1d20
refs/heads/master
2021-01-18T19:54:02.090555
2017-04-01T15:14:03
2017-04-01T15:14:03
86,919,333
1
1
null
null
null
null
UTF-8
Python
false
false
2,730
py
""" Models for displaying maps in Bokeh plots. """ from __future__ import absolute_import from ..core import validation from ..core.validation.warnings import MISSING_RENDERERS, NO_DATA_RENDERERS from ..core.validation.errors import REQUIRED_RANGE, MISSING_GOOGLE_API_KEY from ..core.has_props import HasProps from ..c...
[ "christopher.ottesen@yahoo.com" ]
christopher.ottesen@yahoo.com
b259dc41599ee92dc043a282fa8235f280b9d968
6f0a01dde7bf2998cd09e404cc4e2633fbf45dee
/archive/Tensorflow-101/ep-6-broadcasting.py
cee70b546ae0796a84c3a2c40cb581e09e075af2
[ "MIT" ]
permissive
IncredibleDevHQ/incredible-dev-videos
b8a26b6ac6efad33f0e8dc2903c2b441ab106a69
38d5b3d85fd21b8ec8043b90312b500da398d9f9
refs/heads/main
2023-06-01T21:05:00.010981
2021-06-21T14:57:41
2021-06-21T14:57:41
341,483,252
2
2
MIT
2021-06-08T11:56:08
2021-02-23T08:32:00
Python
UTF-8
Python
false
false
576
py
# Broadcasting import tensorflow as tf x = tf.constant([1, 2, 3]) y = tf.constant(2) z = tf.constant([2, 2, 2]) tf.print(tf.multiply(x, 2)) #[2 4 6] tf.print(x * y) #[2 4 6] tf.print(x * z) #[2 4 6] x = tf.reshape(x,[3,1]) y = tf.range(1, 5) print(tf.multiply(x, y)) # [[ 1 2 3 4] # [ 2 4 6 8] # [ 3 6 9 12]] x...
[ "ashwin.mirskar@gmail.com" ]
ashwin.mirskar@gmail.com
da159e2f2ebf6d02cf5df84e0e70edd3ae7af159
08289088124d18029d0ad4388f49ac9c206738e2
/etl_prefect_core.py
e4ebf3c138cb20b5c050e3ef489bbef516571689
[]
no_license
AntonioNtV/prefect-pydata-denver-tutorial
e54660172ef484bf9d0610b84b0b9f47d7b2805c
cb6bfb1a236b85a26efdd8b144027351fbe49aa6
refs/heads/master
2023-08-10T21:45:38.654271
2021-10-07T19:04:31
2021-10-07T19:04:31
414,699,904
0
0
null
null
null
null
UTF-8
Python
false
false
2,919
py
import requests import json import sqlite3 import pathlib import prefect from collections import namedtuple from contextlib import closing from datetime import timedelta from prefect import task, Flow from prefect.tasks.database.sqlite import SQLiteScript from prefect.schedules import IntervalSchedule from prefect.eng...
[ "antonio.bertino.neto@ccc.ufcg.edu.br" ]
antonio.bertino.neto@ccc.ufcg.edu.br
a01b71e2dae640d49f54d02cf08acedbab149c70
961931333838aebe8bd17c30c19f3994e32d76ce
/src/leetcode/bfs/279. Perfect Squares.py
128380fcb8630cd5d95ab5e6415f0e7e36e9fcdd
[]
no_license
MTGTsunami/LeetPython
5161f9e31dc2ab1855123c2a3a151eb6f4d889bc
f7f3839f631f08a9e5bf8a02398b940f82e43e67
refs/heads/master
2023-04-17T16:59:45.621291
2021-04-26T07:24:50
2021-04-26T07:24:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,624
py
""" Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. Example 1: Input: n = 12 Output: 3 Explanation: 12 = 4 + 4 + 4. Example 2: Input: n = 13 Output: 2 Explanation: 13 = 4 + 9. """ class MySolution(object): # A little bit larger than O(n) ...
[ "mtgtsunami1219@gmail.com" ]
mtgtsunami1219@gmail.com
645fcfbac504304e88b27def48c4789f31873f48
b56fb8740e74859f95d44854fd4fb4309e039e84
/src/twenty_four/lib.py
6dd6277a98e6e208d8c712d22c573fe3b50249fa
[]
no_license
qsweber/twenty-four-api
03c20e06f725b94c9eab3643fc4dd60c0b464e0b
fb870a24a41b0bacf595d528b13f8f4bde1118af
refs/heads/master
2022-11-17T02:34:25.585554
2020-07-08T03:34:48
2020-07-08T03:34:48
107,357,270
0
0
null
null
null
null
UTF-8
Python
false
false
2,951
py
import itertools import typing def plus(x: int, y: int) -> int: return x + y def minus(x: int, y: int) -> int: return x - y def dividedby(x: int, y: int) -> float: if y == 0: return 0 return x / float(y) def times(x: int, y: int) -> int: return x * y def get_solutions(numbers: typ...
[ "quinn@quinnweber.com" ]
quinn@quinnweber.com
f9a5490c2beeec964b97a7bd6462e457285bbb33
530c8697641092d9291514e919f52f79c4ff00d7
/2d (1).py
3c9f85943a5580834acc0df43d0b91cbcc24e107
[]
no_license
haldanuj/EP219
59336fcb72ccf76df81f81b37a7c488c1f182d01
115633dac1d8f35a014467703672f73761baac7d
refs/heads/master
2021-01-12T18:19:58.314348
2016-11-04T01:01:08
2016-11-04T01:01:08
69,415,861
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
import numpy as np import matplotlib.pyplot as plt import math file=open('recoilenergydata_EP219.csv','r') #defined list to store the values of log(L(s)) y=[] #here defined log(L) function with s as parameter(sigma) def likelihood(s): file=open('recoilenergydata_EP219.csv','r') i=0 sum1=0 ...
[ "noreply@github.com" ]
noreply@github.com
4355e732fc8866cde71cd3a8929fb289585ea09a
cea30cf853c1ddbe517292e8bcaf2265ddfeaa00
/directions/migrations/0001_initial.py
60c40bd4b3be8941d7d8643f00deab5c72d5f44f
[]
no_license
mehranj73/london-routes
b80242ecf60fa16c19dd0017be421ed790fe7b30
0fa50faf6813fc704379d0e0e4f2ad891e4121b0
refs/heads/main
2023-01-20T22:43:56.963476
2020-11-26T13:23:08
2020-11-26T13:23:08
325,857,652
1
0
null
2020-12-31T18:56:12
2020-12-31T18:56:11
null
UTF-8
Python
false
false
554
py
# Generated by Django 3.1.2 on 2020-10-25 18:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Direction', fields=[ ('id', models.AutoFiel...
[ "anouskaoleary@gmail.com" ]
anouskaoleary@gmail.com
e91ec979aaed5918fde76b0f5e9594aa88de1975
47836a0e9dd477b17a08f0f1fdc0dec284e119eb
/cqt/strats/strategy_long_short_average.py
5ec4dc0aa62cccce396687634037d60420e694e2
[]
no_license
Jwang-2007/ML-Crypto-Trading
efe5667c9953bbe6541a183e749a85268b8613d2
c83bc9ad68efaea65671a2268f6890bfbfccb79e
refs/heads/master
2021-04-05T20:37:30.585610
2020-04-22T19:09:52
2020-04-22T19:09:52
248,598,960
0
0
null
null
null
null
UTF-8
Python
false
false
2,921
py
from cqt.strats.strategy import Strategy from cqt.analyze.signal_long_short_crossing import signal_long_short_crossing as slsc from cqt.analyze.signal_long_short_crossing import signal_average_envelope as sae import copy class StrategySimpleMA(Strategy): def apply_event_logic(self, time, ledger): coin = 'b...
[ "yolandwjx@gmail.com" ]
yolandwjx@gmail.com
52a5fc44063f2e73239719204651a2f2b4b3e5e5
767b5482f3c5b9c2c85575c711e37561f5b8f198
/engine/engine_lib/encoderlib.py
27d186e1e4d625fe001279e1c8110f2ff708818f
[]
no_license
zhupite233/scaner
8e39c903f295d06195be20067043087ec8baac4f
7c29c02bca2247a82bcbb91cc86955cc27998c95
refs/heads/master
2020-05-18T03:23:03.459222
2019-04-15T04:29:10
2019-04-15T04:29:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,332
py
#!/usr/bin/env python """ This is the encoding / decoding functions collection for DharmaEncoder. It allows you to encode and decode various data formats. (c) 2010 Nathan Hamiel Email: nathan{at}neohaxor{dot}org Hexsec Labs: http://hexsec.com/labs This program is free software: you can redistribute it and/or modify it...
[ "lixiang@yundun.com" ]
lixiang@yundun.com
c6f9bfe889eb0278f68b7a17049662d5605c5285
5af277b5819d74e61374d1d78c303ac93c831cf5
/axial/logging_utils.py
ef723570c0f02a331ebfc7220811665417690c53
[ "Apache-2.0" ]
permissive
Ayoob7/google-research
a2d215afb31513bd59bc989e09f54667fe45704e
727ec399ad17b4dd1f71ce69a26fc3b0371d9fa7
refs/heads/master
2022-11-11T03:10:53.216693
2020-06-26T17:13:45
2020-06-26T17:13:45
275,205,856
2
0
Apache-2.0
2020-06-26T16:58:19
2020-06-26T16:58:18
null
UTF-8
Python
false
false
4,459
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
1eb51bed6fada6957870d90071118e0bb172b20d
dc68820135a54bbf744425fce65da16c1101ad33
/web/api/post_image.py
397c4e2dafed832004870a01e5e6218a182b1a46
[]
no_license
andrefreitas/feup-ldso-foodrific
425cf9013427d183e0b23c5632115135dc4542f1
ec2bd0361873d3eadd4f6a2fa60b23eb3b7e6ddf
refs/heads/master
2021-01-10T14:30:24.011293
2015-10-04T11:01:09
2015-10-04T11:01:09
43,633,158
1
0
null
null
null
null
UTF-8
Python
false
false
284
py
from datastore import * from pages import BaseHandler from google.appengine.api import images class PostImage(BaseHandler): def get(self): post = getPostByID(int(self.request.get("id"))) self.response.headers['Content-Type'] = 'image/png' self.response.out.write(post.photo)
[ "p.andrefreitas@gmail.com" ]
p.andrefreitas@gmail.com
39f29b37f7444cf60b0b9e2cbd3307132c1c48c6
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/pandas/tests/io/parser/test_skiprows.py
1df2ca4fad4d87539cdcdee874cb25a6cd3ce18e
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
6,948
py
# -*- coding: utf-8 -*- """ Tests that skipped rows are properly handled during parsing for all of the parsers defined in parsers.py """ from datetime import datetime import numpy as np import pytest from pandas.compat import StringIO, lrange, range from pandas.errors import EmptyDataError from pandas import DataF...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
1210ab54593eea5b9c24f896a0e2f0ffdb4dc99f
fb96a752515b20e5bb3548cc5eec39b81d463643
/Advent/2016/day_08/eight.py
f95e8a67803a3b23d5abf78129a798f0349b137b
[]
no_license
kryptn/Challenges
2de2675ad0a39e13fb983a728dc090af7113b443
f1aba799fa28e542bf3782cdfa825ff9440bf66c
refs/heads/master
2021-05-01T02:54:21.404383
2016-12-27T17:09:09
2016-12-27T17:09:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
with open('input.txt') as fd: data = fd.read() class Screen: def __init__(self): self.grid = [[False]*50 for x in range(6)] def shift_row(self, row, spaces): self.grid[row] = self.grid[row][-spaces:]+self.grid[row][:-spaces] def shift_col(self, col, spaces): self.grid = zi...
[ "kryptn@gmail.com" ]
kryptn@gmail.com
f5e3c26105be0d37b85658b740c617e799dc16cb
21961be64d9cd4414f4a6d0b45eb20f727734929
/K47 User Manual/7_miscellany/37_relay/Code/Python/relay.py
0e58bdd428c46888823cc7f321177d007c601ec2
[]
no_license
Alion3064492356/Sensors-for-RaspberryPi
156f70c2ce81705a9f1372f9d037d0432a7ad54c
f81ca29280d8d27da795f1c9720747e3db9c20d6
refs/heads/master
2020-03-17T20:54:52.709446
2018-06-14T02:30:46
2018-06-14T02:30:46
133,934,753
0
0
null
2018-06-12T20:31:51
2018-05-18T09:40:42
Python
UTF-8
Python
false
false
676
py
#!/usr/bin/env python import RPi.GPIO as GPIO import time RelayPin = 10 def setup(): GPIO.setmode(GPIO.BOARD) # Numbers GPIOs by physical location GPIO.setup(RelayPin, GPIO.OUT) def loop(): while True: print '...relayd on' GPIO.output(RelayPin, GPIO.HIGH) time.sleep(0.5) print 'relay off...' G...
[ "3064492356@qq.com" ]
3064492356@qq.com
073baf122d23c22628502336b5d6cf068590df1b
259cc507d97bfeff84d21de3a0ab56640676a9eb
/venv1/Lib/site-packages/tensorflow/python/training/session_manager.py
06084b1d7b3fc728396e775179f7ce788d696e65
[ "MIT", "Apache-2.0" ]
permissive
Soum-Soum/Tensorflow_Face_Finder
c3ef71b6f718f6720b80f8760d28b6ca6e11e6d2
fec6c15d2df7012608511ad87f4b55731bf99478
refs/heads/master
2020-03-22T20:31:39.606644
2018-07-12T13:47:56
2018-07-12T13:47:56
140,607,068
0
0
null
null
null
null
UTF-8
Python
false
false
21,336
py
# Copyright 2015 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...
[ "pes.carceller@gmail.com" ]
pes.carceller@gmail.com
6a6d137d3c8dc70d14aa023a752ffba6f170d4fd
91af1af67ed219e583b209b40ae5dd34d6f7f355
/train_net.py
90d770c1765c7f52a585ded8af49a5bf767545db
[]
no_license
jack20951948/Deep-Clustering
d6f5bfdd97be1f07f114371eafd9f8643ebb6e30
4dd8b4d3fef72e597cd142406d343450cf2dd517
refs/heads/main
2023-06-28T02:18:58.915727
2021-07-18T07:18:10
2021-07-18T07:18:10
387,109,398
2
0
null
null
null
null
UTF-8
Python
false
false
6,555
py
''' Script to train the model ''' from __future__ import absolute_import from __future__ import division from __future__ import print_function from datetime import datetime import os.path import time import numpy as np import tensorflow as tf import ipdb from datagenerator2 import DataGenerator from model import Mode...
[ "j20951948@gmail.com" ]
j20951948@gmail.com
b992a6459c6e930f7216efb9a7c3dd03ebc7e85e
2f81d225594bbe655bc7d3442a1a41924d3829ff
/src/qrcode/tests.py
098102082f5e0412f5c8fd51ab6e2fe2a4c8b623
[]
no_license
znight99/inkscape_ext_barcode
02c33ec4d1f9d0be329f9b268682c7077ff433e4
52079e1f739bd318f28959b6148fa935cd8cd6ac
refs/heads/master
2021-08-22T11:11:10.351558
2017-11-30T02:33:55
2017-11-30T02:33:55
112,554,299
0
0
null
null
null
null
UTF-8
Python
false
false
3,830
py
import six import qrcode import qrcode.util import qrcode.image.svg try: import qrcode.image.pure import pymaging_png # ensure that PNG support is installed except ImportError: pymaging_png = None from qrcode.util import ( MODE_NUMBER, MODE_ALPHA_NUM, MODE_8BIT_BYTE) try: import unittest2 as uni...
[ "znight@yeah.net" ]
znight@yeah.net
54157e46485cfe84e785669c8a896e72e4eba04c
22fc34523f4de64a1e1eea707e01da79e425a043
/srtmprofile/core/urls.py
3eb617af2639a39dc20d463863e4fff390506028
[ "MIT" ]
permissive
marcellobenigno/srtmprofile
04cdcf4a1f127462dd37d94ec5f368b0f304b932
52a2550976ce4ecad2921e53a72ac2ec8a8459b5
refs/heads/master
2021-04-03T05:25:54.097968
2018-03-15T11:05:02
2018-03-15T11:05:02
124,605,246
1
0
null
null
null
null
UTF-8
Python
false
false
261
py
from django.conf.urls import url from . import views app_name = 'core' urlpatterns = [ url(r'^$', views.home, name='home'), url(r'^roads.geojson$', views.roads_geojson, name='roads_geojson'), url(r'^(?P<pk>\d+)/$', views.detail, name='detail'), ]
[ "benigno.marcello@gmail.com" ]
benigno.marcello@gmail.com
4c20c568fe6c4a47880f6ed1eb34cc337b469524
6404478cd856f018bddf4a047b23d658e29d94cb
/robot_position_estimation.py
c6b4c283acb14211540d045a0e9ed7c24a3fb5c8
[]
no_license
RokonUZ/robotic-arm-pick-and-place-OpenCv-Python
c11eff3d70f46d47267ee7342ab16f96a90073af
f9ac7e759a93199d56d97b27efcc7c3d085c1e9e
refs/heads/main
2023-09-03T10:13:18.792301
2021-10-27T17:53:24
2021-10-27T17:53:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,663
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 8 21:58:01 2020 @author: Tehseen """ # This code is used to Find the location of the Origin of the Robotic arm # with respect to the image frame. We calculate the center point (origin) of the robotic arm # as well as the rotation of the robotic arm with resp...
[ "noreply@github.com" ]
noreply@github.com
b100acdda26eabc4c53277934e03fac670a2011b
fe7c5854aa07223cfcfcb117ada0dd8111f258fe
/controlLayer_server/Control Layer.py
7865665e43047daf46a77bca27d98560e268aa13
[]
no_license
amrmoastafa/CodeYield
ba27dd8aa6d4c47dc43550a64ae0df24c5b30cdb
7715e651ee13ca2e982f8edb844e0e4f6512ec42
refs/heads/master
2022-07-04T13:36:28.033621
2020-05-12T11:29:16
2020-05-12T11:29:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,884
py
import cv2 as cv from image import detectImage from NavBar import navBar from cross_circle import detectIcon from LabelBar import labelBarDetection from LabelDetection import labelDetection path = "data/test.png" img = cv.imread(path) imageHeight, imageWidth, imageChannels = img.shape print(imageHeight,imageWidth) # ...
[ "ahmedmoamen138@gmail.com" ]
ahmedmoamen138@gmail.com
ac338df45f6245caeacf3c665331db8a223ae9b2
a1af0d3029d0dc2715a3ee55a1767351d18a6f9f
/LC/2115_find_recipes.py
29bff113ed5592ca5f8200edface44f74795b78a
[]
no_license
zona-li/practice_in_python
b36c12112ec6b27cdb3b9bf83b315ac021d0c4e2
2906d12452ec059a7e39fb772391082a576591f0
refs/heads/master
2022-09-07T18:02:03.520425
2022-09-04T22:40:26
2022-09-04T22:40:26
100,322,799
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
# recipes = ["burger", "sandwich", "bread"] # ingredients = [["sandwich","meat","bread"],["bread","meat"],["yeast","flour"]] # supplies = ["yeast","flour","meat"] from collections import Counter, defaultdict, deque from typing import List from traitlets import default class Solution: def findAllRecipes(self, reci...
[ "haoyang.zona@gmail.com" ]
haoyang.zona@gmail.com
fffce95d0709e83632fe51584057dd7a2f48896d
51e56d62ba688b5cc323a3ee3890b87934ae7682
/5_Arg_Pr_Nac.py
4c377c901ba044f8930cb6e0a34c4005c39cbf51
[]
no_license
BogdansProgsCo/OLIMP_FREEDOM
b239df814af90e1dc5fd0aff15ee1c5e921a61f6
3e631a223b6215d136104eba70bc35203dfe47cf
refs/heads/main
2023-05-14T13:19:14.760929
2021-06-14T18:21:40
2021-06-14T18:21:40
376,906,591
0
0
null
null
null
null
UTF-8
Python
false
false
319,195
py
import requests from bs4 import BeautifulSoup import re import datetime as dt headers = {"User-Agent": 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Firefox/45.0'} url = 'https://nb-bet.com/Teams/2136-Atlanta-Buenos-Ayres-statistika-komandi' r = requests.get(url, headers=headers) wi...
[ "noreply@github.com" ]
noreply@github.com
9591bbc70a14e16ba63940263937edaeb6058ed4
1de19b4527989a29a15cb9ccf3b40c6cbce6e906
/http/http_client.py
87802227635ca277305215dce27147758e79c4ec
[]
no_license
rjcostales/python
468406184bb984e893c3217e74dabff0be4d24c1
ab09a421a0b9d806a9c8dbef9dc166274a19b4d2
refs/heads/master
2021-01-17T11:48:14.512859
2018-11-07T20:46:50
2018-11-07T20:46:50
38,708,542
1
0
null
null
null
null
UTF-8
Python
false
false
474
py
import http.client url = 'www.python.org' conn = http.client.HTTPConnection(url) conn.request("GET", "/") response = conn.getresponse() print('\nstatus') print(response.status) print('\nmsg') print(response.msg) print('\nheaders') print(response.getheaders()) print(response.getheader("date")) print(response.gethea...
[ "jesse.costales@sigfig.com" ]
jesse.costales@sigfig.com
16576534e3c49ba3775bb663e766209077577950
a467c2c1f691095c0e13db08dd3e939f57ec2096
/myenv/lib/python2.7/warnings.py
a0bd7105fc010dcd2c1b0f38d8a6f32eca1a30aa
[]
no_license
Etheri/my-first-blog
88e7e5dfd6b31206964cef3213c877e717c88d0c
af14f10029bc9168d5875f5978342279c8bdd416
refs/heads/master
2021-01-23T05:09:58.496749
2017-05-31T14:44:38
2017-05-31T14:44:38
92,956,488
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
/home/bednyakova/anaconda2/lib/python2.7/warnings.py
[ "bednyakova.a@gmail.com" ]
bednyakova.a@gmail.com
d2534e7f9ed2539c6ec7228c87061771a60c4676
1d11288ec1a5d98dcf66c4ca45072ffd29901de0
/mrp_extend/models/mrp_bom_line.py
0731280072097855fc742fa848452a84c7f6fb29
[]
no_license
pyrun13/addons
14202e273c802cee391a68474a6bdc7cf062b25c
b81650d81e0a227dd4fc460846e53ce5e61a8cc1
refs/heads/master
2020-09-07T21:48:18.673226
2019-11-12T16:15:06
2019-11-12T16:15:06
220,921,425
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
from odoo import models, fields, api, exceptions class MrpBomLine(models.Model): _inherit = 'mrp.bom.line' attrition_rate = fields.Float(string='损耗率(%)') def write(self, vals): attrition_rate = vals.get('attrition_rate', 0) if attrition_rate < 0: raise exceptions.ValidationEr...
[ "xiongjianhong@gmail.com" ]
xiongjianhong@gmail.com
ea06dfdc414399d140d3ee55f76920fd6e8f97c9
b76990d490d87517e01f60e3f010de273e473725
/naive_bayesian_for_text.py
3479592ef6ac9058ae8cf48977118cfc0a7bc267
[]
no_license
manju838/machine_learing_algo_python
10799bba48e9e850cff397e4ede4ae1ca61c679b
d679f2df11b963bd926842d46db7e6235ff511a8
refs/heads/master
2022-03-06T04:30:11.481001
2019-10-24T01:26:55
2019-10-24T01:26:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,751
py
import numpy as np import text_preprocess class NaiveBayesianForText: def fit(self, X, y): ''' Parameters ---------- X : shape (n_corpus, text_length) Training corpus y : shape (n_corpus,) Target values ''' self.__classes ...
[ "zhaoyi3@lenovo.com" ]
zhaoyi3@lenovo.com
1398fd23f5db51415ada765ea40ff41dfd172980
1472d0b89d3c845f1f40552fcef889cd12ce367e
/classification/quiz.py
2c461e7f0ef7cf0fe26cd2e9708dabc4dc97b1c1
[]
no_license
AatmanTogadia/DataMining
47e45cb26b8c5bfbb8fdda08044517765c7b3c96
a3005e132dd823f13dd00dff9ad9f9bd7c1870d0
refs/heads/master
2020-12-25T10:34:10.452558
2016-07-07T04:02:07
2016-07-07T04:02:07
61,662,458
0
0
null
null
null
null
UTF-8
Python
false
false
6,541
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 14 21:53:56 2016 @author: Aatman """ __author__ = 'Aatman' from sklearn.linear_model import LogisticRegression from sklearn import svm import pylab as pl import numpy as np from sklearn import cross_validation from sklearn.grid_search import GridSearchCV import json imp...
[ "Aatman Togadia" ]
Aatman Togadia
01b5228bafb4cd7e36afa383714ca0ce95b4d5dd
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/A/anlangner/cordis_v3.py
c960031a72d020159d2fc051da824933e00894a7
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,592
py
import scraperwiki import scrapemark import feedparser import csv import re import urllib2,sys import requests import lxml.html from BeautifulSoup import BeautifulSoup, NavigableString # extract project page links from the result page "url" def extract_links(url): atom_feed = feedparser.parse(url) link_li...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
a397b67df4bf1082a8f0cd0373bcb051241d51ce
e008a757fc02e6fcc725cc079b373f7c5cfefa28
/experiments/analysis_gtex_feature_explore.py
b96d4acfe61ff7ff19f4fa1616583928de208ebe
[]
no_license
sc130/AdaFDRpaper
74e3b67548f0f2811ac1a4d170f379396dd60440
c564f24a513cf505c4ac7ab07e960d4ef6be1b9b
refs/heads/master
2022-01-22T16:59:57.285565
2019-07-31T18:34:35
2019-07-31T18:34:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
## system settings import matplotlib matplotlib.use('Agg') import logging import os import sys import argparse import adafdr.data_loader as dl import adafdr.method as md import time import matplotlib.pyplot as plt import pickle def main(args): # Set up parameters. alpha = 0.01 n_itr = 1500 # Set up th...
[ "martinjzhang@gmail.com" ]
martinjzhang@gmail.com
3b0761a6d612bc898fd451258885973dbdba8234
de3e36fb6ed1a94c3b8b0313f426d4f74c858fad
/industry/hw3/checkers/svm_impl_shtanko.py
601f22ae73bcdf347265b05fc1e140f934602597
[]
no_license
leonshting/data_mining_in_action_2017
5415c542de56013bc5b2ef21137e2347bf2f1765
baeb379213e44c6f38d73f845a5c673ce78f2cf3
refs/heads/master
2021-05-07T01:20:52.985394
2017-11-18T16:02:25
2017-11-18T16:02:25
110,332,082
0
0
null
2017-11-11T09:02:35
2017-11-11T09:02:35
null
UTF-8
Python
false
false
3,678
py
import numpy as np from sklearn.base import BaseEstimator SVM_PARAMS_DICT = { 'C': 100, 'random_state': 42, 'iters': 1000, 'batch_size': 10, } import numpy as np from random import randint import random np.random.seed(42) random.seed(42) class MySVM(object): def __init__(self, C=10000, batch...
[ "leonshting@gmail.com" ]
leonshting@gmail.com
e6d4a5b68241ef8bf821e322cb11bd1f31db75b6
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/7/rci.py
1499f78fdcb23fcbcc72afecd718862922797f9e
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
9e70985c1a04109922a692d38d13895082188238
8575c4ce854151973bb8f58b8a124f7b1816df45
/Malu_Python_Scripts/badpix_match.py
eb4ee7f719267ce1e11e56c8d1213791dbaeb636
[]
no_license
mlldantas/Gal_classification
e0a3ce375d0661ca1933b4d36ff20f6fb4d469cc
81c392ec828709d30dea351a2fe27ec81bc6e69d
refs/heads/master
2022-03-30T14:24:18.340900
2020-02-21T17:24:25
2020-02-21T17:24:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,834
py
from __future__ import division import numpy as np import pandas as pd dn4000_txt = '/home/mldantas/Dropbox/STARLIGHT/dn4000_MALU.txt' lines = '/home/mldantas/Dropbox/STARLIGHT/lines.txt' dn4000_table = np.loadtxt(dn4000_txt, dtype=object) lines_table = np.loadtxt(lines, dtype=object) bad_pix_info = np.lo...
[ "noreply@github.com" ]
noreply@github.com
05af6eb6e60b4748045485fcbf36d751acf72583
0c7ff0ec35ba2bb38f99ef6ecb261ec33466dd52
/Day1/day1Project.py
2d1e56254a4ef4fd53ab5a15fdd51db183e510ec
[]
no_license
TheKinshu/100-Days-Python
15cbacc608ee349cc9733a7032e10a359bebb731
293ad6b3e5f5208da84efbc5b2d2d395a5a53421
refs/heads/master
2023-04-18T08:21:30.361800
2021-05-02T18:48:39
2021-05-02T18:48:39
351,582,416
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
#1. Create a greeting for your program. print("Welcome to the Band Name Generator.") #2. Ask the user for the city that they grew up in. city = input("What's name of the city you gre up in?\n") #3. Ask the user for the name of a pet. pet = input("What's your pet's name?\n") #4. Combine the name of their city and pet...
[ "kc007919@gmail.com" ]
kc007919@gmail.com
92c3a0d5822904b02ee02cf30204b593268f8d36
ded10c2f2f5f91c44ec950237a59225e8486abd8
/.history/2/matrix_squaring_20200413235341.py
1cded98ea6504881b7ef71c0979704ed33286f9f
[]
no_license
jearistiz/Statistical-Physics-Projects
276a86407b32ded4e06b32efb2fadbd8eff8daed
d9c5b16a50856e148dc8604d92b6de3ea21fc552
refs/heads/master
2022-11-05T03:41:23.623050
2020-06-28T06:36:05
2020-06-28T06:36:05
254,909,897
1
0
null
null
null
null
UTF-8
Python
false
false
8,000
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np import matplotlib.pyplot as plt from time import time import pandas as pd def rho_free(x,xp,beta): """ Uso: devuelve elemento de matriz dsnsidad para el caso de una partícula libre en un toro infinito. """ return (2.*np.pi*beta)...
[ "jeaz.git@gmail.com" ]
jeaz.git@gmail.com
1e6ab766a2799d3338ba484409f9b162c8797b68
1d8b4d67e1f65b785cd11d006d0322af0d27ebcc
/[0725_현수]Naver_DSC2018/TypeAnalysis_Cpu.py
e860a910918d24f084a3f913c62b0b36624edccb
[]
no_license
kumakuma34/Naver-DataScienceCompetition-2018
4256ff548d3d8893620581dc49cf8ea37a2a9d0e
a5c447f327ca6d18879cc7ae59b5889a0292fedc
refs/heads/master
2020-05-04T21:56:23.604022
2019-09-28T11:40:22
2019-09-28T11:40:22
179,494,179
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 25 22:06:02 2018 @author: qgqg2 """ import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt import numpy as np import collections from sklearn import datasets, linear_model # utf-8 encoding error, so I take 'cp1252' df = pd.read_csv('Processed_Data.c...
[ "qgqg264@naver.com" ]
qgqg264@naver.com
af071cda274d216298ffa43dad3dc91a802788fa
a97dab5a6d7fa9e65a61193001652198236d5814
/ircpdb/bot.py
ce6b1bf265fbd7e97b178bd50deab4f663a664cb
[ "BSD-2-Clause" ]
permissive
scshepard/ircpdb
ac083b55fe94485e44859f7dca301361d6411616
d6f197b02a77113d8e025e3026b64549eb748e2e
refs/heads/master
2021-01-24T14:27:05.410262
2014-10-30T23:09:24
2014-10-30T23:09:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,071
py
import fcntl import logging from multiprocessing import Queue import os import random import socket import textwrap import time from irc import strings from irc.bot import SingleServerIRCBot, ServerSpec import requests import six from .exceptions import DpasteError logger = logging.getLogger(__name__) class Ircpd...
[ "adam.coddington@coxinc.com" ]
adam.coddington@coxinc.com
c8448d233f737831366635ce1250748f73103822
97aa47340e99f7be364f27cba87e499d942eab43
/dice.py
e625e3d7c22d238043fb453f6c002adc02a49a65
[]
no_license
eryilmazysf/assignments-
cbe0d0d761a0a3da819c456ea0d9accb86175a35
c1b3084b39ea72ae14fdc4c564d94c26ca198806
refs/heads/master
2022-12-11T00:22:59.427632
2020-09-02T15:26:12
2020-09-02T15:26:12
277,168,892
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
import random print(""" ************************* DİCE SİMULATİON ************************* do not forget dice number between 1 and 8 """) x=int(input("how many dice you will use:")) while (x<1 or x>8): #for control whether valid or not print("not valid value try again") x = int(input("how many dice...
[ "yusuferyilmaz1819@gmail.com" ]
yusuferyilmaz1819@gmail.com
225aaf3cdf09abdad88c9d81dc062d86ce62c1f7
16bb2395e3e1c51450a242c1f13718734686c749
/src/models/ERGM_CVX.py
c89b1232c8587cc1ae750850d3c32148d94d5507
[ "MIT" ]
permissive
DanqingZ/CPS_TRC
8a05edacf2aa2ec1f260aa08fa19515779869a6b
47f98ffc909e2cc9759a0f273a521b3ba189a02f
refs/heads/master
2021-05-01T01:56:35.471342
2019-08-26T17:15:32
2019-08-26T17:15:32
82,489,734
7
0
null
null
null
null
UTF-8
Python
false
false
1,662
py
import matplotlib.pyplot as plt import numpy as np import pandas as pd from cvxpy import * class ERGM_CVX: def __init__(self, E, C, V, E_all): self.E = E self.C = C self.V = V self.E_all = E_all def run_CVX(self): community = self.C.values.tolist() input = np.zeros((len(self.C)*len(self.C),2)) c_matr...
[ "danqing0703@berkeley.edu" ]
danqing0703@berkeley.edu
2e3138b7aebe9b0d818303c674da9144988dee2d
2b0eab74af8d23244ff11699830f9bb10fbd717a
/helpers/mixins/unpack_tags_mixin.py
5e6e4c11c733fc5368427ac90ddb23bf2e781302
[]
no_license
alexandrenorman/mixeur
c7e25cd20b03c78b361cb40e3e359a6dc5d9b06b
95d21cd6036a99c5f399b700a5426e9e2e17e878
refs/heads/main
2023-03-13T23:50:11.800627
2021-03-07T15:49:15
2021-03-07T15:49:15
345,384,858
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
from .unpack_ids_mixin import UnpackIdsMixin class UnpackTagsMixin(UnpackIdsMixin): """ Mixin to apply on a ModelViewSet which transform registered fields from string containing ids to list of objects "1,2,3" => [<Obj id=1>, <Obj id=2>, <Obj id=3>] If a string passed, it will create a new instance of ...
[ "norman@xael.org" ]
norman@xael.org
b11487f305e77ea0ce64db973c3e20b4db2f6b9a
8cf28f19ec1d4ac902a5c53a3a4f23a21f125af4
/list_dictionary.py
b5c6314af499e0bf32f6f2500a4bbd104d9d54b8
[]
no_license
thydev/dojo-pythonbasic
e8ba6e986c8eefd45f15bf4d66802323da46e96e
1c96ef09b2e7f9b65c5e9a6b78dce5fd7ca675e3
refs/heads/master
2021-01-25T14:55:49.532555
2018-03-05T16:18:21
2018-03-05T16:18:21
123,735,757
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# Create a function that takes in two lists and creates a single dictionary. # The first list contains keys and the second list contains the values. # Assume the lists will be of equal length. name = ["Anna", "Eli", "Pariece", "Brendan", "Amy", "Shane", "Oscar","Dojo", "coding"] favorite_animal = ["horse", "cat", "s...
[ "nginchanthy@gmail.com" ]
nginchanthy@gmail.com
e1f2f7cda8711e3ec07881200a6ea52f823dd4d3
1b98c70426580d6cebf36b6f9ed807fe7a9c0729
/plots/plot-rx-overhead.py
f34b76b70508ad27093ed0e330314680583b85a3
[]
no_license
jvimal/eyeq-tests
54a1bba50d7019c07b09fdd147b831a5a823b5ba
d99d05d001d5a3d9fce53b66c6587f605245b555
refs/heads/master
2020-06-06T17:31:13.127695
2013-03-21T17:24:46
2013-03-21T17:24:46
8,303,987
1
1
null
null
null
null
UTF-8
Python
false
false
3,946
py
import plot_defaults from helper import * import math parser = argparse.ArgumentParser() parser.add_argument('--cols', help="Columns to include for CPU usage", action="store", default='user,sys,sirq,hirq', dest="cols") parser.add_argumen...
[ "j.vimal@gmail.com" ]
j.vimal@gmail.com
a8b812a267f75e48be0ef972c448526f65c16f4c
d7f8d98b7ce4ca157d44f8124b374887c5a55f79
/project1/critic/splitgd.py
d1d823dca5d1a5e538420a9032083b1bbb91af7b
[]
no_license
oaowren/IT3105---Artificial-Intelligence-Programming
1961e4487c4bc73aea527ff3c7f57838e69986a5
e98c68f231f665e1659e5efcb4e42a785ca64ca6
refs/heads/master
2023-05-21T16:48:49.271201
2021-05-31T12:26:57
2021-05-31T12:26:57
328,962,486
1
1
null
null
null
null
UTF-8
Python
false
false
6,177
py
import math import tensorflow as tf import numpy as np # ************** Split Gradient Descent (SplitGD) ********************************** # This "exposes" the gradients during gradient descent by breaking the call to "fit" into two calls: tape.gradient # and optimizer.apply_gradients. This enables intermediate modi...
[ "noreply@github.com" ]
noreply@github.com
5e181f655825792a06adea89c63d5a696c7e7028
6dbd108198759b98ed044fc740d79d775553636a
/3.py
5d37ad979bece10dcce4e04d6e362609616466bc
[]
no_license
linh6666/baitaptuan7-xstk
c5ca69e2b292b5c2aab6304f3242585240fff7f1
712922ede096a76704378e5ad9a5ed1229c81786
refs/heads/main
2023-08-18T19:07:13.313201
2021-10-09T06:14:19
2021-10-09T06:14:19
415,216,972
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
import numpy as np a = np.zeros((2, 512 * 512), dtype=np.float32) a[0, :] = 1.0 a[1, :] = 0.1 print("a.shape: ", a.shape) print("mean a = ", np.mean(a)) © 2021 GitHub, Inc.
[ "noreply@github.com" ]
noreply@github.com
e231384f1e02475631385dcbf48de464cedf8272
b08b7d8561b78cdf0b245c79b577bfbc4f1805b7
/autoclicker.py
e1f3999aa77b27481fd1823968b72a10f5f9484e
[]
no_license
AadityaKandel/AutoClicker
a3a679630ebadb048acd4cc027dfb1c0c7629d34
0c6559e434e40533fecf4289cd69276f13e118b6
refs/heads/main
2023-02-05T11:03:25.744489
2020-12-29T11:59:49
2020-12-29T11:59:49
325,274,803
1
0
null
null
null
null
UTF-8
Python
false
false
3,394
py
try: from tkinter import * import pyautogui as pp import keyboard # Import Success root = Tk() mouse = StringVar() mouse.set("0") mousee = StringVar() mousee.set("0") def loc(): for i in range(0,999999999): act.set('Activated [ Shift+Q [ Deactivate ] ]') root.update() locc.se...
[ "noreply@github.com" ]
noreply@github.com
6a6ebbb1c7f50e95986df884a5b0e3681842fb9a
c72dae37d94d8f9e80db232a9838244e2bb33fb2
/src/teachzy/urls.py
387858aeb2ebd754105a9a08dec06e7ba64f4989
[]
no_license
Asifrahman96/DjangoTeachzy
956ae3c2e9b917ec1bb181fb06babe32f7f48083
89e3a07b0beb12e328747a0bc369d731d63b10ec
refs/heads/master
2023-02-24T03:08:17.274863
2021-01-28T20:18:41
2021-01-28T20:18:41
333,869,067
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('', include('pages.urls')), path('csvs/', include('csvs.urls')), path('teachers/', include('teachers.urls')), path('accounts/', include...
[ "asifrahmananvar@gmail.com" ]
asifrahmananvar@gmail.com
72596ce81af81043b7245963fcc8b2090e48c45d
70f27f6215c5261f080cb8d12ceac5c484f2f147
/app/django_models/person/models.py
7af80c95b061fd6d88de2200ad80dfc6017a9b6c
[]
no_license
jordangarside/django-async-pytest-example
bf2fa32c7ffc5ebed3f2077483113b47987afd5a
3e141eb1a048b80bd3f04c49068534f726a8c4c6
refs/heads/master
2022-12-02T20:51:33.364679
2020-08-14T16:47:22
2020-08-14T16:47:26
286,944,630
1
0
null
null
null
null
UTF-8
Python
false
false
890
py
from django.db import models from asgiref.sync import sync_to_async from typing import TypeVar TModel = TypeVar("TModel", bound=models.Model) class BonfireAsyncManager(models.Manager): # type: ignore # excuse: typed in a stub """This class is typed via a typestub in async_manager.pyi. Make sure to add new manag...
[ "jordan.garside@robinhood.com" ]
jordan.garside@robinhood.com
3918150f5542d26412b16d6b3636c338034e5b14
97aed55858f227a56fd79fec51f093e192db6c01
/app/core/tests/test_models.py
fd2b496c9844804512d95c53c549b3b3e2ae01ab
[ "MIT" ]
permissive
harrydadson/recipe-app-api
9fdc7d52fe7c2689808d605e65e241e82235cd05
63015fd390877ed6d5f41384c818cb9c7d870c52
refs/heads/master
2020-06-26T01:18:38.264636
2019-08-09T04:25:53
2019-08-09T04:25:53
173,390,055
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
from django.test import TestCase from django.contrib.auth import get_user_model class ModelsTests(TestCase): def test_create_user_with_email_successful(self): """Test creating a new user with an email is successful""" email = "test@email.com" password = 'testpass123' user = get_use...
[ "harry.dadson@gmail.com" ]
harry.dadson@gmail.com
4b91aba2fe0eca1c717453b7bb0a1adc8c7c999a
436da49d82df227fc2654c7e3c6acc72d6a6aad6
/hindi/migrations/0001_initial.py
4c174394056b998f564cafad188f59419be3a23f
[]
no_license
mc639/Manavmitra
c91a2178f01427284d256ff152a4032f978e48a4
567d3b483d52e9285681916bfeda773a7b9ae0ed
refs/heads/master
2020-07-30T14:41:55.736634
2019-09-23T05:02:26
2019-09-23T05:02:26
210,266,603
0
0
null
null
null
null
UTF-8
Python
false
false
2,342
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-07-19 18:26 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import tinymce.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ ...
[ "noreply@github.com" ]
noreply@github.com
35520773184de9bc6cbe60fe4ed6a427c4a1cb42
1c79e354726a60b939df18aa34ab63408553d078
/py/examples/counter_broadcast.py
9e30f02433102c7e848efbfe1fc87dd3a516e969
[ "Apache-2.0" ]
permissive
feddelegrand7/wave
9017fc7bbeef9233c1fd9497c3e7a4d6f6911e85
ba002d47fcea688bf46fa1682e6c4a73cae0f8ee
refs/heads/master
2023-02-03T13:06:41.894758
2020-12-18T00:09:14
2020-12-18T00:09:14
322,443,421
0
0
Apache-2.0
2020-12-18T00:31:26
2020-12-18T00:10:14
null
UTF-8
Python
false
false
647
py
# Mode / Broadcast # Launch the server in broadcast mode to synchronize browser state across users. # Open `/demo` in multiple browsers and watch them synchronize in realtime. # --- from h2o_wave import main, app, Q, ui, pack @app('/demo', mode='broadcast') async def serve(q: Q): count = q.app.count or 0 if '...
[ "prithvi@h2o.ai" ]
prithvi@h2o.ai
d9431f1fb2020f8d301376bed93ef53f3204cbf1
0c110eb32f2eaea5c65d40bda846ddc05757ced6
/python_scripts/pimriscripts/mastersort/scripts_dir/p7432_run2M1.py
39656c11ebf8cd9db049ce6d7b9a74d8b7e3f30a
[]
no_license
nyspisoccog/ks_scripts
792148a288d1a9d808e397c1d2e93deda2580ff4
744b5a9dfa0f958062fc66e0331613faaaee5419
refs/heads/master
2021-01-18T14:22:25.291331
2018-10-15T13:08:24
2018-10-15T13:08:24
46,814,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
from __future__ import with_statement import os, csv, shutil,tarfile, uf, dcm_ops dest_root = '/ifs/scratch/pimri/soccog/test_working' dst_path_lst = ['7432', 'run2M1'] uf.buildtree(dest_root, dst_path_lst) uf.copytree('/ifs/scratch/pimri/soccog/old/SocCog_Raw_Data_By_Exam_Number/2480/e1331017/s1388354_5610_2M1_s30', '...
[ "katherine@Katherines-MacBook-Pro.local" ]
katherine@Katherines-MacBook-Pro.local
ea3871eaa7c9b6755d2963498e08b7d307615ebc
e840fe54e8fc774fce6e81b373c5f532cc35bfd1
/Api/Flask/Daos/AccesoDatos/DaoEspectros.py
29c5cebbb14da20aeb31c5fac0b43239ce5184ae
[]
no_license
jcamiloq/geospectre
a059cf594c13aa5e01d2d2696615c5e6c2e0d3bb
199896571b8ecc38da8374ff35f66f3bc1f3d193
refs/heads/master
2022-12-12T04:40:42.159146
2020-09-15T14:50:40
2020-09-15T14:50:40
293,323,245
0
0
null
null
null
null
UTF-8
Python
false
false
4,148
py
from .Logica.Espectros import Espectros class DaoEspectros: def __init__(self, conexion): self.conexion = conexion def guardarEspectros(self, espectros): sql_guardar = "INSERT INTO espectros (white, dark, capturado, resultado, sensores_id) VALUES " sql_guardar += "(%s, %s, %s, %s, %s) ...
[ "j.juankquintero@gmail.com" ]
j.juankquintero@gmail.com
94516c3ae940d74c65e1973a2df7f40372e0d9d4
ecbaab2349087c97f512cd144538369609623b2b
/src/output_terminal.py
caef97d8fdb494d726d544cba5a50894735caba5
[]
no_license
ErikCalsson/RNA_binding_site_correlation
c1b38a04efaab284c7914aba70d52e04dfa73823
fe4e64813f90d74200660f622d06df9958c61438
refs/heads/master
2023-08-23T15:00:24.329338
2021-11-01T07:27:58
2021-11-01T07:27:58
372,179,719
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
# imports extern # imports intern # import sequence_pre_calculation as calc # import graph_creation as graph import data_calculation as dat # start terminal output def use_terminal(): print("See output barGroupPC1.png or barGroupPC2.png for visualisation of final results") # output message with statistic ...
[ "ecarlsson@techfak.uni-bielefeld.de" ]
ecarlsson@techfak.uni-bielefeld.de
5aa9f68fd54dbb2103720c1b33fda1491da44482
436743a9a77d417350e27736dd20f117bb8d625a
/desidlas/preprocess/preprocess.py
d8fe688a2564fb58b2aa680d07f00882c2a2c179
[]
no_license
samwang141224/dla_cnn
b0a017030e6007016fa9b889890fc6057fe9c3d2
402f675b73d7c449aa67dbe969f3ad3ab3ea3951
refs/heads/main
2023-03-26T23:26:32.481646
2021-03-31T07:48:39
2021-03-31T07:48:39
309,691,930
0
0
null
2021-03-31T07:48:39
2020-11-03T13:17:42
Jupyter Notebook
UTF-8
Python
false
false
17,675
py
""" Code for pre-processing DESI data""" ''' Basic Recipe 0. Load the DESI mock spectrum 1. Resample to a constant dlambda/lambda dispersion 2. Renomalize the flux? 3. Generate a Sightline object with DLAs 4. Add labels 5. Write to disk (numpy or TF) ''' import numpy as np from desidlas.dla_cnn.spectra_utils import ...
[ "noreply@github.com" ]
noreply@github.com
a5e2debc3b4de63242c2bc5f62e4db0ae3a58645
44f07b81df56d7ea44775784a9697648fe481478
/day8/faceapp/facedetect.py
ab3e244e889618a394e6791b7b7b4edf81d25532
[]
no_license
shaadomanthra/cbpython-advanced
436510c70deca4e1ef01517f87bba0e392583a88
86b613f89ca0b0cd8b243c157af1a2807e6ce605
refs/heads/master
2022-11-30T23:33:45.938854
2020-08-12T11:20:03
2020-08-12T11:20:03
276,316,817
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
## detect face and draw rectangles # import packages (pip install opencv-python) from cv2 import cv2 import sys # path for image and cascade imagePath = 'images/f1.jpg' cascPath = "haarcascade_frontalface_default.xml" # Create the haar cascade faceCascade = cv2.CascadeClassifier(cascPath) # Read the image & convert...
[ "packetcode@gmail.com" ]
packetcode@gmail.com
001b8e5d7167d9f7ae30d9510713bbc363cc653b
da934e0010380fdc6894063540f61b0ebc2c9ded
/nova/crypto.py
1f35ffa3915dad74a002a55998c536549c4b8d2d
[ "Apache-2.0" ]
permissive
bopopescu/cc-2
ed4f1dfe3c98f476ff619058d99855a16272d36b
37444fb16b36743c439b0d6c3cac2347e0cc0a94
refs/heads/master
2022-11-23T03:57:12.255817
2014-10-02T06:10:46
2014-10-02T06:10:46
282,512,589
0
0
Apache-2.0
2020-07-25T19:36:05
2020-07-25T19:36:05
null
UTF-8
Python
false
false
7,863
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright [2010] [Anso Labs, 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 ...
[ "anotherjesse@gmail.com" ]
anotherjesse@gmail.com
0203f8b7a170b9c90a9503a129644d67e720066b
de121a951947f70f402079d288a78d35c85747b2
/exercises/exercises_04.py
79cb7651e375b500210a4054a4ae7430a01afd4a
[]
no_license
tpurnachander/requests-workshop
56899be6c5520fb947d91676c11864d09b4489d6
dac134558f141c482e0a52f19fdce37b7e7ba928
refs/heads/master
2023-03-10T19:00:31.012280
2021-02-19T12:08:54
2021-02-19T12:08:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
import requests import xml.etree.ElementTree as et # Exercise 4.1 # Create a function create_xml_body_from_string() # that returns a docstring (with triple double quotes) # containing the following XML document: # <payee> # <name>John Smith</name> # <address> # <street>My street</street> # <ci...
[ "bas@ontestautomation.com" ]
bas@ontestautomation.com
0aca2f6b09e65de9d040194775493f12fd174098
4d539867a53a3b9909bec1bfb1a49e189a2f1e20
/EGAT/data_generator_attention_visual.py
ef32d63aab04eba48e9b3958108c0b8d5495fe4c
[ "MIT" ]
permissive
sailfish009/EGAT
7a1d05c7c77e750903cc2ceb4b671d0f37a4ea60
a03d6cbeb3e6d8f75edd608370256326d8fcb05b
refs/heads/main
2023-01-15T10:13:17.142550
2020-11-22T14:20:28
2020-11-22T14:20:28
315,053,817
0
0
MIT
2020-11-22T14:15:56
2020-11-22T14:15:55
null
UTF-8
Python
false
false
4,534
py
import os import time import pickle import torch as t import numpy as np from torch.utils import data import gzip from time import time from config import DefaultConfig import torch import dgl import threading class dataSet(data.Dataset): def __init__(self, root_dir, protein_list_file): super(dataSet, sel...
[ "sazan97@gmail.com" ]
sazan97@gmail.com
e84fdec36800bc2eaf6a99f809432ca0be4287f2
84c4f9e14040502efddb258c243cb8e326f274c5
/task_2_version_3/window_func.py
0dfa95cde19f5daed407baf331d5f76a219b536e
[]
no_license
labkubia/lab
7b6707eb2e1a1912e64dbda87bff44ca0aa84299
7e8ba89aa8638eb0f80855ba76fb4d852cc63a6e
refs/heads/master
2021-09-07T15:14:05.243702
2018-02-24T19:23:04
2018-02-24T19:23:04
111,433,806
0
1
null
null
null
null
UTF-8
Python
false
false
390
py
import numpy as np def window_func(train_frame_set): window = np.hanning(len(train_frame_set[0])) #different in matlab #window = np.hamming(len(train_frame_set[0])) train_frame_set=np.float64(train_frame_set) frame_windowed_set=np.multiply(train_frame_set,window) # apply the window to the frames ...
[ "yuxinliu_oliver@outlook.com" ]
yuxinliu_oliver@outlook.com
a80a155616ff956f9c128c0f892b37b9c3a26c9c
bc7f8b45413692fbf3b74287ed95ce6b2857c83c
/src/test_ocr.py
18367e4d149ba270d56c26f52d3c540961f356a7
[ "MIT" ]
permissive
mouradsm/vrpdr
c58b5d699d32f8858af2e7bd3bd203d56c806b97
700de74ac322ef2d02be36c070039dcaead918e5
refs/heads/master
2022-10-23T14:16:50.189659
2020-06-20T16:48:57
2020-06-20T16:48:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import cv2 as cv import numpy as np import argparse import sys import os.path import logging import matplotlib.pyplot as plt from ocr import OCR def plot_images(data, rows, cols, cmap='gray'): if(len(data) > 0): i = 0 for title, image in data.items(): #logging.debug(title) ...
[ "andreybicalho@gmail.com" ]
andreybicalho@gmail.com
112b11038313f4ecd80672439c01bf4361a7ebd4
158f2afa919a22e51b8c607f7a34b34e72db1b1a
/Astropy_Open_Error.py
8e9b32e185a495bd99e348ea98ba9b54dc0e07f6
[]
no_license
chrisfrohmaier/Code_Snippets
96fb40a8a0ea46fbe1171432af388b9003b7a877
59d2ec591cf74805f7d0e299a4e6dcdd23acb6de
refs/heads/master
2016-09-10T15:50:29.066747
2014-03-07T11:54:07
2014-03-07T11:54:07
14,979,633
1
0
null
null
null
null
UTF-8
Python
false
false
292
py
from astropy.io import fits try: hdulist_multi_sci=fits.open('/Users/cf5g09/Documents/PTF_Transform/Icecube/refs/ptf_2924/C01/cd.ptf_2924_01_R_first.weight.fits') #print '++++ multi_mask assign ', science_image except IOError or Warning or UnboundLocalError: print 'Cant open Science'
[ "cf5g09@soton.ac.uk" ]
cf5g09@soton.ac.uk
df43518630c7ca82014fbf33f662d1d4af83bbca
03a7a46f3cc00486ff46edcf4c4390dd64e214e5
/lab2stack.py
c23b9e575cae786df29e52c83243cb6579e50154
[]
no_license
fadybarsoum/NetSec-Reliable-Interaction-Protocol-Implementation
1f558a8eb400f73df7d193b49571c9f2b196fca3
a9ad4c4a1d9bbae224f1d61288f4df3686e27c2e
refs/heads/master
2021-01-19T23:02:54.065939
2017-05-03T19:57:33
2017-05-03T19:57:33
88,915,809
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
from src.rip import RIPProtocol
[ "fady.m.barsoum@gmail.com" ]
fady.m.barsoum@gmail.com
2976ce29416e292cb0e119e7f3705c0bdd786ad7
bad59b62baf06c5a110dbf96ee9653a69b8ca4df
/soldjango/soldjango/settings.py
1daa5ebe5b7896e0a20e718dac4263b34ae127d4
[]
no_license
45jihoon/Leon
848db934898ef9fc838154919c254ae5f7fcb684
69d024469a518a1b40e450e3408291671b183718
refs/heads/main
2023-01-13T10:55:11.184173
2020-11-18T01:47:33
2020-11-18T01:47:33
313,471,525
0
0
null
null
null
null
UTF-8
Python
false
false
3,122
py
""" Django settings for soldjango project. Generated by 'django-admin startproject' using Django 1.11.29. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import...
[ "45jihoon@naver.com" ]
45jihoon@naver.com
ac24192eb309aac4b2982be8519bf5c2b06906ea
1326612e90a772bd6acbf0c9532cbcaefdec9f48
/BiblioPixelAnimations/strip/Searchlights.py
5bed4eba37d24cfa5a9789fec768858fa29d0c92
[ "MIT" ]
permissive
russp81/BiblioPixelAnimations
cc2ad721ed60435950282ce09d95191bf09b1eb3
4184ace37200861cc721e5bd7a43014bd0bbcadf
refs/heads/master
2021-01-17T21:01:22.832174
2016-09-16T06:43:06
2016-09-16T06:43:06
68,341,732
1
0
null
2016-09-16T00:23:29
2016-09-16T00:23:29
null
UTF-8
Python
false
false
3,267
py
from bibliopixel import LEDStrip import bibliopixel.colors as colors from bibliopixel.animation import BaseStripAnim import random class Searchlights(BaseStripAnim): """Three search lights sweeping at different speeds""" def __init__(self, led, colors=[colors.MediumSeaGreen,colors.MediumPurple,colors.MediumV...
[ "bonnie.barrilleaux@gmail.com" ]
bonnie.barrilleaux@gmail.com
ec6528e726e97e6f27a0169c8a07854d0fd9957b
d8c12c88942f5e0d0db76885884653bb94076cac
/src/boi/parser.py
1275ecf1b21e99ef4817ae2441b9f314e5d3a697
[]
no_license
jkarns275/ELLie
58c5648f3e1fbcdfb3198a51af97ebee0e5fc91a
2ecfed86f7f4bc0a9eec36368e9fd3319ebaac6c
refs/heads/master
2020-06-23T20:06:47.745014
2019-07-28T03:20:51
2019-07-28T03:20:51
198,739,697
0
0
null
2019-07-25T02:11:27
2019-07-25T02:11:26
null
UTF-8
Python
false
false
11,449
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # CAVEAT UTILITOR # # This file was automatically generated by TatSu. # # https://pypi.python.org/pypi/tatsu/ # # Any changes you make to it will be overwritten the next time # the file is generated. from __future__ import print_function, division, absolute_import, un...
[ "jkarns275@gmail.com" ]
jkarns275@gmail.com
a174ca449539006233ff7a4acea1252aef8eb3eb
0ab90ab559eab46b583b4b1fdd4a5bb3f55b7793
/python/ray/experimental/workflow/common.py
3c40c555e0eab6747e2da0c8fe41e1c1b84e7018
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
swag1ong/ray
b22cd5ebab96c30f15b00a7d044fdeb7543a4616
fdbeef604692aa308973988b32405ec0d70f9f40
refs/heads/master
2023-06-25T21:55:44.398516
2021-07-26T00:39:24
2021-07-26T00:39:24
389,518,857
2
0
Apache-2.0
2021-07-26T05:33:40
2021-07-26T05:33:39
null
UTF-8
Python
false
false
7,714
py
from enum import Enum, unique from collections import deque import re from typing import Dict, List, Optional, Callable, Set, Iterator, Any import unicodedata import uuid from dataclasses import dataclass import ray from ray import ObjectRef # Alias types StepID = str WorkflowOutputType = ObjectRef @unique class W...
[ "noreply@github.com" ]
noreply@github.com
ecaeb6fd0293027f32aa44c7a539c89169160328
9f2fdb37e1dd7fd926d45fc22ecab5d3c0d6c4ab
/LDA/22.2.netease_news.py
4d8b231eef12af009b0754091faf983191997db0
[]
no_license
luoguohao/python2_machine_learning
40c67028bc46b0d81ee0f28fa692be75eabaff9a
3f6c893cf977a9ffa8b2cb18a39947c5d59600ef
refs/heads/master
2021-05-05T21:12:00.384861
2017-12-28T07:49:17
2017-12-28T07:49:17
115,509,874
1
0
null
null
null
null
UTF-8
Python
false
false
3,126
py
# !/usr/bin/python # -*- coding:utf-8 -*- import numpy as np from gensim import corpora, models, similarities from pprint import pprint import time # import logging # logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO) def load_stopword(): f_stop = open('22.stopword.txt')...
[ "guohao.luo@tendcloud.com" ]
guohao.luo@tendcloud.com
4abe47ce110bd58ce4ebf9615f794bbff3b4f553
ee2f57ffb3c0bec9a196090022a623a342a9ce96
/PythonApp/FlaskWebProject1/runserver.py
dbe79fd5e33d3bd051c2ce33ad1fd4476e00178c
[]
no_license
cherho0/pythonApp
c313f2b2869530a79b0cba26d68e2c61df5d5ad1
9c7c6fb851358bc85956e9c512ba23b80d8cc3b3
refs/heads/master
2021-01-20T03:54:37.721785
2017-09-07T03:49:49
2017-09-07T03:49:49
101,373,987
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
""" This script runs the FlaskWebProject1 application using a development server. """ from os import environ from FlaskWebProject1 import app import socket if __name__ == '__main__': #HOST = environ.get('SERVER_HOST', 'localhost') hostname = socket.gethostname() ip = socket.gethostbyname(hostname) pri...
[ "czy11807@ly.com" ]
czy11807@ly.com
ad21dddcaff52dd22e77f283ff4e11ab18a76100
b8d0b260960e1c43b883049d68c15a7183df200b
/5_py_blog/blog_app/tests.py
ebafc4198267b4929abd66e68f76098e08839139
[]
no_license
JAreina/python-django
59ac92d0694522c1d096bed636409d9405c5caba
66c7c301dec448217df6516198723e1ce987eab7
refs/heads/master
2020-03-27T18:34:59.821701
2018-09-07T07:49:35
2018-09-07T07:49:35
146,931,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,739
py
# Create your tests here. from django.contrib.auth import get_user_model from django.test import Client, TestCase from django.urls import reverse from .models import Post class BlogTests(TestCase): def setUp(self): self.user = get_user_model().objects.create_user( username='testuser', ...
[ "jareinafdez@gmail.com" ]
jareinafdez@gmail.com
8c59ff3068e701a47f55427121fb4d45c93db56c
649e2af15011b3c6326436e91a9dd9af0c3a6f8f
/vnpy/app/spread_trading/engine.py
0a6901795c79ebaf15b64c56c62d0f2272d57e13
[ "MIT" ]
permissive
Loopring/vnpy
6270662260c2fdbeed846f0370d1b5eecea7c7bf
f7945b23e29dab8bfdf064da6a6cb815bb755b17
refs/heads/loopring-release
2023-07-16T23:11:10.174728
2021-09-06T04:01:00
2021-09-06T04:01:00
277,985,227
21
6
MIT
2021-01-23T02:21:08
2020-07-08T03:59:17
Python
UTF-8
Python
false
false
31,837
py
import traceback import importlib import os from typing import List, Dict, Set, Callable, Any, Type from collections import defaultdict from copy import copy from pathlib import Path from datetime import datetime, timedelta from vnpy.event import EventEngine, Event from vnpy.trader.engine import BaseEngine, MainEngine...
[ "xiaoyou.chen@foxmail.com" ]
xiaoyou.chen@foxmail.com
38834c15b947bd3f1e865675bfc8c866c246b9e8
d4f4293505926285a3449bd7aba29fb4fe07a51c
/wangyi/wangyi/settings.py
c4abd898d64cb8001578cd9120598fc255472092
[]
no_license
fugui12345/-
96078509e798e7b55af5632dfdf37969c727894c
ffb9f7d6295cd246d990ea35f28c2fce5035af19
refs/heads/main
2023-07-01T06:36:32.951094
2021-08-04T18:48:15
2021-08-04T18:48:15
392,793,829
0
0
null
null
null
null
UTF-8
Python
false
false
3,147
py
# Scrapy settings for wangyi project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-middleware....
[ "noreply@github.com" ]
noreply@github.com
9a71057ca86eb6931927a2afbb8ea436b8c68c37
afd44f9bf1469418ae4709f48f2c3c188b45eb73
/preprocessing/text_processor.py
88a513a6b2da416865452ab9af1cab27c4987d68
[]
no_license
zerebom/pytoolkit
2ed359ec0ef612461dec24b57e746f99f212d540
078a2fa786a755d6fe0ee69dd8caecec833fb2fa
refs/heads/master
2020-06-29T06:20:11.069967
2019-09-18T01:59:14
2019-09-18T01:59:14
200,461,675
0
0
null
null
null
null
UTF-8
Python
false
false
8,065
py
import urllib.request, urllib.error import re import MeCab import mojimoji from sklearn.feature_extraction.text import TfidfVectorizer def get_stopword()->list: slothlib_path = 'http://svn.sourceforge.jp/svnroot/slothlib/CSharp/Version1/SlothLib/NLP/Filter/StopWord/word/Japanese.txt' slothlib_file = urllib.req...
[ "ice.choco.pudding.kokoro@gmail.com" ]
ice.choco.pudding.kokoro@gmail.com
6114e7a67a5459c344b648dc4ae2266a17a375b1
3b8955841f6982c575331ac78ce91deb327902ee
/utils/ax.py
858f4f79bc2837700f6fdd88f371a3710a7d33d6
[]
no_license
kyshel/ich
6c7b1e66ca28c7c633d800eb7f4d3ee76e05c056
1cd4a17a9abf63afa72195fffdc7051fd87eed45
refs/heads/main
2023-07-22T17:27:58.461595
2021-08-21T13:42:54
2021-08-21T13:42:54
370,445,761
0
0
null
null
null
null
UTF-8
Python
false
false
6,300
py
# general functions that often use import os import pickle import json import csv from time import localtime, strftime from pathlib import Path import time import glob import re import math from decimal import Decimal from pathlib import Path import glob import re import torch # no need repro cause only save here ...
[ "11898075+kyshel@users.noreply.github.com" ]
11898075+kyshel@users.noreply.github.com
19566dd1b2d10137c2e3943ea5ac2e7ec000f503
55e14ece094383ca13ad22d638d545767a637327
/ClassificationModel_TrainedW2V/repeat.py
adaa7b183171cce43ebab70c21964e334860e323
[]
no_license
UnitForDataScience/Neptune-Classification
e16ede89d2e3afc434a787d018d99c2393525811
114d78c1fcfd1ec329636fde3401fdedd8d418ef
refs/heads/master
2022-06-09T23:25:04.386608
2020-05-06T06:05:10
2020-05-06T06:05:10
261,607,929
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
import os import main for i in range(4): os.system('python main.py')
[ "asudatascience@datascience.dhcp.asu.edu" ]
asudatascience@datascience.dhcp.asu.edu
90ebb27f00615a63b07c8ff1cd495f77293c88ea
8f784ca91cd56818dc6e38d5e602756a913e13b4
/modbus_tcp_server/network/accept_thread.py
a512980848dd5a91ed2ce730cf546634df5968c6
[ "MIT" ]
permissive
smok-serwis/modbus-tcp-server
9a02a3c5e9d0875179903bc4171b4d782d6d48b9
558eca908b6762280a74b16d78d56dc047a9dace
refs/heads/master
2023-06-14T01:26:07.299860
2021-07-15T13:59:15
2021-07-15T13:59:15
339,780,750
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
import socket import typing as tp from satella.coding import silence_excs from satella.coding.concurrent import TerminableThread from .conn_thread import ConnectionThread from ..data_source import BaseDataSource, TestingDataSource from ..datagrams import MODBUSTCPMessage from ..processor import ModbusProcessor clas...
[ "piotr.maslanka@henrietta.com.pl" ]
piotr.maslanka@henrietta.com.pl
4c8db1dea09dd07cd75539c214a17c0ac7ae5b64
1738a24cc31c3e659384d9c3cafaf9d15b1eac52
/ChatBot.py
e9bde94ee7ef2562b2d6bcedd554077b56e4a139
[]
no_license
michaelcicero/PythonChatBot
7e7bb54e6009b80698b898e468a1dc375019b6fc
e0f8d47e42b05e5823880d1c21534d9560050072
refs/heads/master
2022-12-09T20:07:04.335082
2020-09-09T20:55:24
2020-09-09T20:55:24
294,226,744
0
0
null
null
null
null
UTF-8
Python
false
false
4,946
py
# # - * - coding: utf-8 - * - """ Eliza homework """ _author_="Michael Cicero" import re #find bye function def findBye(a): if(re.findall(r'bye', curInp, re.IGNORECASE)): print("It was nice speaking with you. Goodbye") quit() #find ed function def findEd(b): l = b.split("...
[ "noreply@github.com" ]
noreply@github.com
63d50f46e6763c50b438c35733b409c516416606
33cff13b90fdd628560baef8b3f6d68ceaad912c
/tests/test_commands/test_package_downloads.py
e4b7b094ed22878a396f1c1e911369fd769b9165
[ "MIT" ]
permissive
rosdyana/dephell
3139140d6f16288177705020a625897f91f2514b
993a212ce17dda04a878ceac64854d809f3dc47b
refs/heads/master
2020-08-06T09:38:21.150070
2019-09-27T16:58:23
2019-09-27T16:58:23
212,927,181
0
0
MIT
2019-10-05T01:22:23
2019-10-05T01:22:23
null
UTF-8
Python
false
false
708
py
# built-in import json # external import pytest # project from dephell.commands import PackageDownloadsCommand from dephell.config import Config @pytest.mark.skipif(True, reason='disable while pypistat is down') @pytest.mark.allow_hosts() def test_package_downloads_command(capsys): config = Config() config....
[ "master_fess@mail.ru" ]
master_fess@mail.ru
b327266507aba7d35b343d48b9710ab0f36214ad
0da165e72316bff15e8330a9d1789bd743d30689
/quadcopter/agents/ddpg_v1/ddpg_actor.py
83c47f1620e3d085e795d5e60e55546294fba7ba
[]
no_license
padickinson/RL-Quadcopter-2
1267ce761780ea5d79f705ca2286ae780b95298c
ebb70ac7f7252b69cd94111bbe0637a17196e87e
refs/heads/master
2020-03-29T10:19:54.320868
2018-09-21T21:31:43
2018-09-21T21:31:43
149,799,738
0
0
null
2018-09-21T18:02:26
2018-09-21T18:02:26
null
UTF-8
Python
false
false
2,945
py
from keras import layers, models, optimizers from keras import backend as K class Actor: """Actor (Policy) Model.""" def __init__(self, state_size, action_size, action_low, action_high, lr, alpha): """Initialize parameters and build model. Params ====== state_size (int): D...
[ "padickinson@gmail.com" ]
padickinson@gmail.com
1a57dcb6dd5bc694a8c241ff875abb2a00b8f021
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/Prime Services/FPythonCode/PaymentFees.py
d79409eb38743fa11ab65e6b6c2c6f2b1438516b
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,474
py
"""----------------------------------------------------------------------- MODULE PaymentFees DESCRIPTION Date : 2012-09-19 Purpose : Returns the payment fees of a trade Department and Desk : Prime Services Requester : Danilo Mantoan Developer : N...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
36d202508d82d6e61d7e13af2d2f6b042afdbfe4
77fb4b9902a79a2bcc42105f1c62744cc869cd15
/wignerd1.py
0aae41925ad38d3c8112ac88bc28753c021972ef
[]
no_license
davidsdatascience/Algorithm-Development
6dd3d35d6eeab1a3a019abca8b591950f7830754
57b0cf1a976ce7005fa05a79880a49d6bdd06822
refs/heads/master
2020-04-20T09:21:54.105597
2019-05-04T20:08:50
2019-05-04T20:08:50
168,763,580
0
0
null
null
null
null
UTF-8
Python
false
false
7,354
py
from scipy.special import jv, legendre, sph_harm, jacobi from scipy.misc import factorial, comb from numpy import floor, sqrt, sin, cos, exp, power from math import pi def wignerd(j,m,n=0,approx_lim=10): ''' Wigner "small d" matrix. (Euler z-y-z convention) example: j = 2 m ...
[ "noreply@github.com" ]
noreply@github.com
78d7b71bc57e02874094e8d8369f2ea02d403828
ab6b73cc1bd2501fca5b406a0bcd69b7b8b7f94b
/hackerrank/warm-up/sales-by-match.py
fb602ce970fa16f37a83476ebb9e068e686fa307
[]
no_license
youngbin-ro/problem-solving
c2a57a4318dc66647a182418d9c07bf0615ff36b
7b27e44144bc25fd0ad9928eb979c5522ab772d4
refs/heads/master
2023-02-05T07:18:34.926633
2020-12-21T13:16:08
2020-12-21T13:16:08
232,480,425
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
from collections import defaultdict def sock_merchant(arr): dic = defaultdict(int) count = 0 for num in arr: dic[num] += 1 if dic[num] % 2 == 0: dic[num] = 0 count += 1 return count if __name__ == "__main__": arr_ = [10, 20, 20, 10, 10, 30, 50, 10, 20] ...
[ "youngbin.ro@gmail.com" ]
youngbin.ro@gmail.com
caa1a4bff741d96aeec1525edabd69b711687a41
4b5b168ab84b4d40d7e7cc58ebc806287e0a8d82
/tricky.py
714693cb19a608edcafbec9ebb2a41ea15f87da0
[]
no_license
gould-ann/challenges-
5de5f14527f2ee0147514d364f193d78cec6a113
4784eb6c3caf494ee24e0e8c587ce626fc026fdd
refs/heads/master
2020-03-18T18:32:35.402677
2018-05-28T03:57:15
2018-05-28T03:57:15
135,099,855
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
#https://www.hackerrank.com/challenges/maximum-subarray-sum/problem import math #lol # arr = [1, 2, 3] # mod_number = 2 # max([sum( [arr[j] if str(bin(i))[2:].zfill(len(arr))[j] == "1" else 0 for j in range(len(arr))] ) % mod_number for i in range(2**len(arr))]) def max_subarray(arr, mod_number): best_sum = 0 ...
[ "anngould@iastate.edu" ]
anngould@iastate.edu
c8d42762f1ba5f26bd5112890d47ecaef5bed717
d992f4973bb2aa3c43dce5d4b3483c6212108c60
/hw1/MachineConstants.py
d31a5e92fb49edff71974ce9b0112e2e8b76759d
[]
no_license
wesshih/astr427
ece74e5e3ac7275ed50ba6613ed6980a2da6cc8a
b6dc28a02b0712f8e40a5d9ca5e371a660c070f2
refs/heads/master
2021-01-18T15:45:50.093209
2017-06-08T05:30:08
2017-06-08T05:30:08
86,681,974
0
0
null
null
null
null
UTF-8
Python
false
false
3,939
py
import numpy as np ''' Wesley Shih 1237017 Astr 427 Homework 1 4/11/17 Problem 1: Machine Constants The first problem of the homework asks us to empirically determine several machine constants related to floating point numbers. These include the smallest number epsilon that can be successfully added to or subracted ...
[ "wesshih@uw.edu" ]
wesshih@uw.edu
4bccb67d59f443ca9b1876575c634bd2741ec643
0a3b70128f4de8ba3dc74decea6d349924d31907
/mysite/bin/easy_install-2.7
9f3daab08a7378e652e37d5ba6778ad0a331647e
[]
no_license
ozknight/Django_Tutorials_OJT_Proof
80c38b278b42f2ca72bd05206f84a359b780daeb
8006ed69be3bae7e666e49c62f517fbd2f454420
refs/heads/master
2016-09-06T16:13:58.746020
2015-06-24T23:53:40
2015-06-24T23:53:40
37,992,132
0
0
null
null
null
null
UTF-8
Python
false
false
291
7
#!/home/oz-knightwalker/Desktop/Django_Tutorials_OJT_Proof/mysite/bin/python # -*- 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())
[ "ozknightwalker@yahoo.com" ]
ozknightwalker@yahoo.com
1755b870d7e1acc791f2b3b36cfe6ebb0e6e8cfe
ec3964d765f2a499fd017a4e2fb89d405c3070c9
/basicapp/models.py
9358d6cd70b0ab4d7b5c7d1096ec410afe5aa252
[]
no_license
aryan1jain2/Trycycle
77476e8e769185db42fc7bb2ecdac6ad1f7c102c
00e63728fdcc7e8d4ec37964ed4ac8e5f856ad14
refs/heads/main
2023-03-02T03:31:55.354309
2021-02-13T10:52:10
2021-02-13T10:52:10
338,552,016
0
4
null
null
null
null
UTF-8
Python
false
false
2,529
py
from django.db import models # Create your models here. class userinfo(models.Model): #corresponds to customer table first_name = models.CharField(max_length=100) last_name = models.CharField(max_length=100) # reg_no = models.CharField(max_length=100) # room_no = models.CharField(max_length=100) u...
[ "aryan1jain2@gmail.com" ]
aryan1jain2@gmail.com
5bc96ed5b2ff7057cfe5cf0f85b1852e0b311584
afa0d5a97925273f7fb0befef697d36020df5787
/packages/google-cloud-alloydb/google/cloud/alloydb_v1beta/services/alloy_db_admin/pagers.py
1c442de8074c691d92fdefd2aa87e57390df9038
[ "Apache-2.0" ]
permissive
scooter4j/google-cloud-python
dc7ae1ba6a33a62a40b617b806ec8ed723046b8b
36b1cf08092d5c07c5971bb46edda7a9928166b1
refs/heads/master
2023-04-14T18:36:48.643436
2023-04-06T13:19:26
2023-04-06T13:19:26
188,338,673
0
0
null
2019-05-24T02:27:15
2019-05-24T02:27:14
null
UTF-8
Python
false
false
20,951
py
# -*- coding: utf-8 -*- # Copyright 2022 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...
[ "noreply@github.com" ]
noreply@github.com
b1efe20d5ba4c2a9c279544113a1e2bd6cdf7018
2432996ac1615cd36d61f0feeff8a359d2b438d8
/env/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-eth_hash.py
1b22c286fe3f7300f269b0ec19044cd2c28cc11a
[ "GPL-1.0-or-later", "GPL-2.0-or-later", "GPL-2.0-only", "Apache-2.0" ]
permissive
Parveshdhull/AutoTyper
dd65d53ece7c13fbc1ead7ce372947483e05e2e3
7fabb30e15b770d790b69c2e4eaf9bbf5a4d180c
refs/heads/main
2023-05-08T14:10:35.404160
2023-05-07T20:43:15
2023-05-07T20:43:15
315,415,751
26
18
Apache-2.0
2023-05-07T20:43:16
2020-11-23T19:13:05
Python
UTF-8
Python
false
false
611
py
# ------------------------------------------------------------------ # Copyright (c) 2020 PyInstaller Development Team. # # This file is distributed under the terms of the GNU General Public # License (version 2.0 or later). # # The full license is available in LICENSE.GPL.txt, distributed with # this software. # # SPD...
[ "parvesh.dhullmonu@gmail.com" ]
parvesh.dhullmonu@gmail.com
bfcd8e3ab880fe73ecee9e775da43d432b361f6b
90e131d3f407984c6eb651702c8539986216173b
/transform_content.py
a3ce95a5672e53fece2b5fe04e3f02e34b05a9f6
[]
no_license
EnVyNm/EnVy
2333c3f7954b6706527a09aee369bfceff7a1ddb
e12b71a4a6ae716998ecb64e6a4f8b09bb10b6a6
refs/heads/master
2020-04-18T22:33:15.011208
2014-05-07T03:38:46
2014-05-07T03:38:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,618
py
#!/usr/bin/env python # Copyright 2008 Brett Slatkin # # 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 ag...
[ "envynm@gmail.com" ]
envynm@gmail.com
7f3cd58d2ad66672684040b5b5587e8f52617096
1ae6034a53d60bee5c61208539cbb39143ec76e3
/Motion detection game/ui.py
5982fe204020dab34a2dd66c4d71613ee9d9a191
[ "MIT" ]
permissive
harshmalik9423/Motion-Detection-Game
2f60e77983d8dda746ffb4c7de907f6658dcb2fb
49ad8c25360df34f4e33647dee7406e6397311de
refs/heads/master
2022-08-23T12:52:48.089138
2020-05-25T10:56:48
2020-05-25T10:56:48
266,755,583
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
from tkinter import * import cv2 from tkinter import messagebox import PIL.Image, PIL.ImageTk window = Tk() window.title("Welcome") window.geometry('1500x1500') ########CODING FOR QUIT BUTTON MESSAGEBOX######### def close_window(): MsgBox=messagebox.askquestion('Quit the game','Are you sure you want to quit the g...
[ "harshmalik2013@gmail.com" ]
harshmalik2013@gmail.com
ebc97dabe6ba4cd2d87aca268755945115d291e2
3447227dd54587eb8c0c7f5346ac158504f7a907
/compass/ocean/tests/global_ocean/threads_test/__init__.py
42883b53b746d85a52e069468c8ae411ba7c414e
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
MPAS-Dev/compass
5e2c1525224dd399bcf4f56f661df05e2ec197a6
0b7440f0aa77c1ae052922a39e646bd35c267661
refs/heads/main
2023-08-30T20:59:52.052430
2023-08-29T09:45:14
2023-08-29T09:45:14
310,409,977
10
26
NOASSERTION
2023-09-13T14:19:16
2020-11-05T20:28:25
Python
UTF-8
Python
false
false
2,046
py
from compass.validate import compare_variables from compass.ocean.tests.global_ocean.forward import ForwardTestCase, \ ForwardStep class ThreadsTest(ForwardTestCase): """ A test case for performing two short forward runs to make sure the results are identical with 1 and 2 thread per MPI process ""...
[ "xylarstorm@gmail.com" ]
xylarstorm@gmail.com