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
0121e9cadbc8432b02c2398d2e0c7d49438b65d7
e13c202c254f2787768d06ac55004e855fd95d73
/SVM_sample_codes/PythonPrimalVersionsofSVM/simpleSVM.py
5d54826c954311d61c3c9555cbd95acf2fe327dd
[ "Apache-2.0" ]
permissive
MaryZolfaghar/HandWrittenDigitPrediction
237f42077526bae13118e0224c7c9a029c6c63d7
fac16bbd783c76b47e872f489964093f616c9aa7
refs/heads/master
2022-09-10T20:48:39.036126
2020-05-19T06:10:31
2020-05-19T06:10:31
262,127,940
0
0
null
null
null
null
UTF-8
Python
false
false
3,643
py
# ECS271 2019S # Toy example of Linear SVM # 4/16/2019 # To run this code, please first install cvxpy from https://www.cvxpy.org/ import numpy as np import matplotlib import matplotlib.pyplot as plt import random import time import cvxpy as cp # generate toy training data N1 = 200 # number of positive instances N2...
[ "mazo2428@colorado.edu" ]
mazo2428@colorado.edu
a5c36185001aaea65acbe7f9d9f0789692100ec5
94405cc7a8482a0009eb6da0f11519c93dfab640
/contacts_api/models.py
99809e5cb019e76fffb890c74a213a981d7d71a8
[]
no_license
mahuntington/companies_contacts_locations
ca1604232842481a49d88d194e2beedfdc76f0c1
848b568b2f136c9ec1641cc6fd5b6183d208594d
refs/heads/master
2023-03-20T00:11:23.508697
2021-03-11T21:53:10
2021-03-11T21:53:10
346,848,104
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
from django.db import models from locations_api.models import Location # Create your models here. class Contact(models.Model): name = models.CharField(max_length=32) age = models.IntegerField() home = models.ForeignKey(Location, related_name='inhabitants', null=True, on_delete=models.SET_NULL)
[ "matt.huntington@gmail.com" ]
matt.huntington@gmail.com
66658b9afa7e781e257535df44bd3a6053c7a745
4ae03a335ac92933ff0fb463b42f36e56f2ec4bb
/a4.py
b0170fbff2638e1f112b1902553c5b6eaabee245
[]
no_license
Aausuman/Advanced-Python
ddd87d09791ea96844d1feebd480bb77de521cd1
fbc786a77b3b79b293895584386aff9ab11820b1
refs/heads/master
2023-05-31T14:17:22.902635
2021-06-16T23:47:01
2021-06-16T23:47:01
273,336,992
0
0
null
null
null
null
UTF-8
Python
false
false
1,707
py
# # Assignment 4 # # Student Name : Aausuman Deep # Student Number : 119220605 # # Assignment Creation Date : February 22, 2020 import docx import pyexcel import os.path def analyze(docfile): # This function creates an excel file with word frequencies of the desired document file doc = docx.Document(docfile) ...
[ "aausuman.26@gmail.com" ]
aausuman.26@gmail.com
f8afdf36a4d0d59d004ca654106e35b8e212e845
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_atoll.py
a236ca994b2bd81870d2324fe37aae78e706518a
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
#calss header class _ATOLL(): def __init__(self,): self.name = "ATOLL" self.definitions = [u'a ring-shaped island formed of coral (= rock-like natural substance) that surrounds a lagoon (= area of sea water): '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ebc67444ecc4b8a6a983eac1234ede2d6195eee7
614aaf54a98cdfb3a687656635eb9aea70452480
/images/icons.py
55baa5d5cde69af7164188213deea36c80831827
[]
no_license
yangyingchao/klip
0c9a80eba91dc1097d2671210e4e8e4fcb927ba1
b2c2a06e9241f2d4cb76de61558206e149ae4361
refs/heads/master
2021-06-26T10:57:43.198250
2020-12-07T03:28:41
2020-12-07T03:28:41
176,853,049
0
0
null
null
null
null
UTF-8
Python
false
false
24,565
py
#---------------------------------------------------------------------- # This file was generated by /usr/local/bin/img2py # from wx.lib.embeddedimage import PyEmbeddedImage klip = PyEmbeddedImage( b'iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAAXNSR0IArs4c6QAAAAlwSFlz' b'AAAN1wAADdcBQiibeAAAAWJpVFh0WE1MOmN...
[ "yangyingchao@gmail.com" ]
yangyingchao@gmail.com
8498569e5d9f49504c408a0e022c08b078d7d7db
4e30d990963870478ed248567e432795f519e1cc
/ciscoisesdk/models/validators/v3_1_1/jsd_b839d4dee9b958e48ccef056603e253f.py
acacc17322fd85a929ef50acca3daea197b20b69
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
2,663
py
# -*- coding: utf-8 -*- """Identity Services Engine getUserGroups data model. Copyright (c) 2021 Cisco and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
283d47d01cb4a37496f04beecb4ad8779a0b077c
1a897f626be0348ab84aee55bb3f3adc5167ac82
/src/mapper/CountHomoHetInOneVCF.py
d32773674364fc59f2a1070c7e8515e5d6b0e16a
[]
no_license
polyactis/vervet-web
13f2fc1f0e8711045e7e592ef6c5e61065d8b269
a550680f83d4c0c524734ee94bdd540c40f3a537
refs/heads/master
2021-01-01T18:18:09.094561
2014-05-15T23:37:54
2014-05-15T23:37:54
32,554,427
0
0
null
null
null
null
UTF-8
Python
false
false
3,866
py
#!/usr/bin/env python """ Examples: %s %s -i gatk/Contig799.vcf.gz -l 1000000 -c Contig799 -o /tmp/output Description: 2011-11-7 count the number of homo-ref/homo-alt/het calls from one vcf """ import sys, os, math __doc__ = __doc__%(sys.argv[0], sys.argv[0]) bit_number = math.log(sys.maxint)/math.log(2) if ...
[ "crocea@uclaOffice" ]
crocea@uclaOffice
6382e8fc0c96ec5821aa03f0fefeae9614c7e87e
c304fdd01358c682acff2603733e0a5377bf8940
/solutions/1813-maximum-erasure-value/maximum-erasure-value.py
5661a073c11184967f5a98b921438bf4445b13fd
[]
no_license
gaelwjl/Leetcode-Solution
8432e5610adacc69455a705b83ad433f01c9eaad
933bdb462400f490506285774d277394753ef79b
refs/heads/master
2023-03-06T00:25:53.486131
2021-02-10T11:46:40
2021-02-10T11:46:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,530
py
# You are given an array of positive integers nums and want to erase a subarray containing unique elements. The score you get by erasing the subarray is equal to the sum of its elements. # # Return the maximum score you can get by erasing exactly one subarray. # # An array b is called to be a subarray of a if it forms ...
[ "47608857+wenjun20@users.noreply.github.com" ]
47608857+wenjun20@users.noreply.github.com
f03f550123a9975d6c7f9efbc70fadc0c24e21bc
921577c9cafd42751cee4a2b1355767ee5c42e94
/ER_clean/run_singlePFAM_DCA.py
b2aa90a891a92f2612bc20e46541bd7a6dd0cb0b
[]
no_license
evancresswell/DCA_ER_old
f3cbb4c4a6662691c47df06879521bfb387477b4
1a3ca3388177e67d821859aca26fa5073d7e4fbe
refs/heads/master
2023-07-25T07:30:35.823564
2020-12-31T21:36:31
2020-12-31T21:36:31
233,687,646
0
0
null
2023-07-06T21:49:30
2020-01-13T20:32:23
Jupyter Notebook
UTF-8
Python
false
false
9,417
py
import sys,os import data_processing as dp import ecc_tools as tools import timeit # import pydca-MF module from pydca.sequence_backmapper import sequence_backmapper from pydca.msa_trimmer import msa_trimmer from pydca.msa_trimmer.msa_trimmer import MSATrimmerException from pydca.dca_utilities import dca_utilities from...
[ "evancresswell@gmail.com" ]
evancresswell@gmail.com
aa5904c918a608c59263802a3bb79e12e6b4ebc6
1d5262b68f922f4ed5eeea3ec1f0e68deb15275c
/utils/testgender.py
516f15212249648ef5d0a353ed03dcf9c84489a1
[]
no_license
jayrambhia/fisherfacerec
88baf66f2cc9d5f937f44ae04c7acf63e1116b3f
cab1bfbfbfcd018689d6334aa694b71fbb921f29
refs/heads/master
2016-09-06T20:12:34.796555
2013-05-29T06:38:30
2013-05-29T06:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
from SimpleCV import * import time def identifyGender(): f = FaceRecognizer() #cam = Camera() #img = cam.getImage() img = Image("/home/jay/Visionaries/Eigen/Emma/8.jpg") cascade = SimpleCV.__path__[0]+"/"+"Features/HaarCascades/face.xml" feat = img.findHaarFeatures(cascade) if feat: ...
[ "jayrambhia777@gmail.com" ]
jayrambhia777@gmail.com
ff51c85b16657fa78a9f57a67a970922d89bdbe5
e3d9592ff05f225433e1689ec70253043a360ee2
/hackerrank/python/closures_decorators/name_directory.py
7114d47ccd95f796d43020ed086675a2326804d1
[]
no_license
jreiher2003/code_challenges
cad28cac57b6e14ffd30d2b7fe00abdba8b3fa47
ac03c868b28e1cfa22d8257366e7a0f8f757ad8c
refs/heads/master
2020-04-16T02:25:26.267418
2016-12-12T01:23:56
2016-12-12T01:23:56
58,969,218
1
0
null
null
null
null
UTF-8
Python
false
false
894
py
from operator import itemgetter from itertools import groupby directory = [["Mike Thomson", 20, "M"],["Robert Bustle", 32, "M"],["Andria Bustle", 30, "F"]] directory.sort(key=itemgetter(1)) for i,name in groupby(directory, itemgetter(1)): for x in name: if x[2] == "M": print "Mr. " + x[...
[ "jreiher2003@yahoo.com" ]
jreiher2003@yahoo.com
7968ce28d3c46790fb695fb1c71b8c8545582486
bf6172087680cb2be3fad3fa58ebfa9f04952989
/Week_01/LeetCode-easy-88-combine-list.py
324a4605752c8b602925c9258008754595011b16
[]
no_license
gitzhangjianqi/algorithm009-class01
57df88c89f5dfc1bb149301ae4a9ee9fa4f8864e
0d565ed78e277b88973e76c74214a0eb2f2f8e5d
refs/heads/master
2022-11-25T02:05:26.894980
2020-07-19T15:00:41
2020-07-19T15:00:41
266,250,080
0
0
null
2020-05-23T02:44:45
2020-05-23T02:44:45
null
UTF-8
Python
false
false
693
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: """ if not l1 : return l2 if not l2 : return l1 ...
[ "winzjq@outlook.com" ]
winzjq@outlook.com
1c334a6eb48b37de87ba2054c80b369b1f565dfb
dec335c8afe2e3addab8d413ed043b797b8ef4f3
/lotsofproducts.py
6d5036526fc713e240406aa6e8e6e5efe9cf698e
[]
no_license
tobincorporated/TobinCatalog
ad1978f97432be9b4f7e663d62d9b27d564e1e60
16b103bf23c471cc1c7da0f214a14fd19ae7513d
refs/heads/master
2021-01-20T04:21:34.151349
2017-04-30T22:26:21
2017-04-30T22:26:21
89,677,855
0
0
null
null
null
null
UTF-8
Python
false
false
8,455
py
from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from database_setup import Category, Base, Product, User engine = create_engine('sqlite:///productcatalog.db') # Bind the engine to the metadata of the Base class so that the # declaratives can be accessed through a DBSession instance Base.m...
[ "ztobin@pasedfoundation.org" ]
ztobin@pasedfoundation.org
68c9ff4bb99cdab0a7d9a09497cb3c231c2e7c33
010279e2ba272d09e9d2c4e903722e5faba2cf7a
/contrib/python/stack-data/stack_data/version.py
aece342d9345098161555c8a830d1da163b62d9d
[ "MIT", "Apache-2.0" ]
permissive
catboost/catboost
854c1a1f439a96f1ae6b48e16644be20aa04dba2
f5042e35b945aded77b23470ead62d7eacefde92
refs/heads/master
2023-09-01T12:14:14.174108
2023-09-01T10:01:01
2023-09-01T10:22:12
97,556,265
8,012
1,425
Apache-2.0
2023-09-11T03:32:32
2017-07-18T05:29:04
Python
UTF-8
Python
false
false
22
py
__version__ = '0.6.2'
[ "robot-contrib@yandex-team.com" ]
robot-contrib@yandex-team.com
a2b16bb15a6958e40c055db5c18481270228ac8d
2ec3224f7cd4222a339003cba457fa304103ee38
/sheepwall_app/migrations/0018_auto_20170320_0721.py
e17fed5e9b43b6607cfb2c22ec4970751a3e8cf3
[]
no_license
flachi1109/sheepwall_prj
459f79baeaea462637880d05e7f51afab6ab8f4d
04f7a3c4402da080662c57802a1bd232a6c3e694
refs/heads/master
2021-01-19T22:47:22.560681
2017-03-30T08:16:26
2017-03-30T08:16:26
83,778,842
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-20 07:21 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sheepwall_app', '0017_auto_20170317_0154'), ] operations = [ migrations.Alt...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
ffcd14a30e3ead87c6218b1fc34225dbf111ce7c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/1932.py
70a055e7fe5f3b5671c1e9c2dfeb49c63ce7a92d
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,113
py
import collections def flip(s, k, i): tmp = [t for t in s] tmp[i:i+k] = [not t for t in tmp[i:i+k]] return tmp def check_goal(s): for i in s: if not i: return False return True def convstr(v): a = '' for i in v: if i: a = a + '+' else: ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
6c296a7b817934c96074972917480cdb5396f60a
723238ea8ab1ffee491a845e0dd7def2d7d4aac2
/LeetCode/219. Contains Duplicate II.py
2758c86c305a8ae649b90f18d5d263d99af09647
[ "MIT" ]
permissive
QinganZhao/LXXtCode
9657e5acee47bbdc8374b4861d9472bb3e829e23
9debb10f9d33dcdb3def9d141a638b8172d25ff3
refs/heads/master
2021-06-06T21:58:36.922170
2020-02-24T16:32:38
2020-02-24T16:32:38
146,527,448
3
0
null
null
null
null
UTF-8
Python
false
false
469
py
class Solution: def containsNearbyDuplicate(self, nums: List[int], k: int) -> bool: dicDis = {} dicInd = {} for i, num in enumerate(nums): if num in dicInd: dicDis[num] = min(dicDis.get(num, float('inf')), i - dicInd[num]) ...
[ "qingan_zhao@berkeley.edu" ]
qingan_zhao@berkeley.edu
c545c63ad0db68fee85f8936998fc21f674f2861
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20191111/example_handofcats2/09int-literals.py
fd4131f10f741a821e2dfcd1753b33badea9aa2c
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
216
py
import typing as t import typing_extensions as tx from handofcats import as_command @as_command def run(*, alpha: tx.Literal[1, 2, 3, 4, 5, 6, 7, 8, 9], ps: t.List[int]) -> None: print([alpha * p for p in ps])
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
c2374dd18b89a808840fe34d7fbed9ce6f93df83
70e4aee0047702e332f0c2b1d352d512592aa39b
/users/views.py
c5c8f2abd710e2f611054a2f64804f7907cbe05a
[]
no_license
xSebeq/messaging-app
9be2a8cb5be53ad555eb0511817940c4ac8c0ce1
6ac9017277d8c2816314b0f87bee6073bb8fb6d2
refs/heads/master
2023-04-08T14:24:10.110062
2021-04-21T19:31:10
2021-04-21T19:31:10
360,276,019
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from django.urls import reverse_lazy from django.views import generic from . import forms class SignUp(generic.CreateView): form_class = forms.CustomUserCreationForm success_url = reverse_lazy('home') template_name = 'signup.html'
[ "sebeq245@interia.eu" ]
sebeq245@interia.eu
2611990ec36bf4e8ef68994e842f35123977aa97
db7fff5546d371e15ecee344a510e42c5551f841
/lldb_python/douyu/dy_commands.py
f5c8e9c5f5352ee7a9d63838dc6581afd889aae1
[ "MIT" ]
permissive
MrChens/m_note
13f9a5276267c3e3484db7f3b659a797c07e1171
b279125cbcb8bfcb32532776660224237e3e4ed5
refs/heads/master
2020-03-11T18:06:29.811371
2019-05-28T02:57:53
2019-05-28T02:57:53
130,167,354
0
1
null
null
null
null
UTF-8
Python
false
false
269
py
def dyBreak(debugger, command, result, internal_dict): # the follow command show how to write break command # debugger.HandleCommand('br s -r \'\[BluetoothVC babyDelegate\]$\'') # debugger.HandleCommand('br s -n \'[NSData(AESAdditions) AES256EncryptWithKey:iv:]\'')
[ "mr_chens@outlook.com" ]
mr_chens@outlook.com
685cca814fdb67d2a5dbdcb01f5ced170c368dea
03e41507aa7ec99611c75ae02a6c592bbf154dee
/python/pose_publisher.py
a6f0fa6c3fb5d366ef351c2dadfcfa4e778c6156
[]
no_license
Kanazawanaoaki/zisyupuro-memo
5cfb4acbe7aaea4d15d6a5f8c873896c781cbe3e
b64e51aaf30d902853ae38bcef24a17f7e799cfd
refs/heads/master
2020-09-21T22:22:12.501556
2020-01-10T01:53:13
2020-01-10T01:53:13
224,953,059
0
0
null
2020-01-10T01:53:14
2019-11-30T03:16:29
Makefile
UTF-8
Python
false
false
1,287
py
#!/usr/bin/env python import math import rospy import sys from trajectory_msgs.msg import JointTrajectory from trajectory_msgs.msg import JointTrajectoryPoint import cv2 # point_list = [] def send_joint_position(): try: # while True: print(1) rospy.init_node('send_joint_position'...
[ "naoaki65k@gmail.com" ]
naoaki65k@gmail.com
0f7d89b1208485b987a21b984253dc228fa4dc18
74ed8d533e86d57c7db9eca879a9fb5b979b8eaf
/Punctuators/model/nns.py
91727b37cd5f4b32ec1e7f6da0a27bea156b30ad
[ "MIT" ]
permissive
GyxChen/AmusingPythonCodes
97c5a2080d47399080df005a0643eddb56bceb25
388e90c78c67b79c23b4a8fc1ebe29f26394a54b
refs/heads/master
2020-06-23T12:03:56.708448
2019-05-15T05:19:57
2019-05-15T05:19:57
198,617,528
0
1
null
2019-07-24T10:57:29
2019-07-24T10:57:29
null
UTF-8
Python
false
false
7,694
py
import tensorflow as tf from functools import reduce from operator import mul # from tensorflow.python.ops.rnn_cell_impl import _linear # from tensorflow.python.util import nest def dot_attention(inputs, memory, hidden, keep_prob=1.0, is_train=None, scope="dot_attention"): with tf.variable_scope(scope): d...
[ "isaac.changhau@gmail.com" ]
isaac.changhau@gmail.com
08fc411947815fdeba423b9bee79371b167575f1
e114120099ad52f5801bceddac6f4394f0a7cb45
/core/admin.py
b68166055fd9fe328322c253cd46e80fb0e073f2
[]
no_license
MtacDev/BuscadorPeliculas
c0160176a512d99bbd00bd92c3dad502dbb2396c
06dccd4df8e140764c2363a65fe6e9c96c08e6a5
refs/heads/main
2022-12-28T19:49:55.581288
2020-10-12T17:22:41
2020-10-12T17:22:41
303,459,883
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
from django.contrib import admin from core.models import pelis # Register your models here. admin.site.register(pelis)
[ "noreply@github.com" ]
MtacDev.noreply@github.com
6477542849ae0829feddbe93e42f5821bbb42737
208063a41d5d99f3f3b33321d90c39c9e4e5380f
/lib/imutils.py
a1436dc47ed3b6adea4db7c54a4bbe1bbe3c2325
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lsst-camera-dh/mutils
6b2d87094413eb3c6a7cf9b0e4f0187f8164f279
14286b262ce69201c610647bb0e302726288568a
refs/heads/master
2023-08-05T06:55:40.527502
2023-07-28T22:34:42
2023-07-28T22:34:42
252,312,670
0
1
NOASSERTION
2020-09-28T21:14:18
2020-04-01T23:54:48
Python
UTF-8
Python
false
false
50,023
py
""" Common image utility functions """ import re import sys import logging import datetime import os.path from astropy.io import fits from astropy import stats from astropy import wcs from astropy.convolution import convolve, Gaussian1DKernel, interpolate_replace_nans import numpy as np import math from scipy.ndimage i...
[ "stuart.l.marshall@gmail.com" ]
stuart.l.marshall@gmail.com
7bf5acfff6dcd2a5a761d1c79eadbb80457132b7
fb7cb229a8f68f9ba3cc23ce51238008841516e8
/Sensorslab2/Task1/first_pkg/first_pkg/node1.py
14b6406c2d671cf89efc40b794ca907651adc2be
[]
no_license
RozanMagdy/ITI-Labs
24852442c8cae3f9d0fe44e55e5995853f18a9b5
3e3a4b85a415492c6eb539c79be128504fefaf96
refs/heads/master
2023-06-04T18:07:58.256689
2021-06-17T11:43:30
2021-06-17T11:43:30
359,421,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,172
py
#!/usr/bin/env python3 import rclpy from rclpy.node import Node from nav_msgs.msg import Odometry import pandas as pd from geometry_msgs.msg import Quaternion from math import sin, cos, pi import numpy as np def euler_from_quaternion(quaternion): x = quaternion.x y = quaternion.y z = quat...
[ "rozanabdelmawla@gmail.com" ]
rozanabdelmawla@gmail.com
bc2e286f954ef39e80a55f023977e2bbd6237920
07ae1548a4113ef59bbe805a9530c67487dc1454
/day_13.py
3e65386d1bfc042f3e7929da11b66930a971356f
[]
no_license
mrugacz95/advent-of-code-2018
acb74bde04d7e51b2eab1b393ca8161c0808146b
bcc6265517a5d1d4adedb6e43b260383b80344a2
refs/heads/master
2023-04-23T09:12:10.303890
2021-05-16T11:05:43
2021-05-16T11:05:43
338,780,583
0
0
null
null
null
null
UTF-8
Python
false
false
10,067
py
from collections import defaultdict from enum import Enum from typing import Dict, Optional, Tuple from aocd.models import Puzzle puzzle = Puzzle(year=2018, day=13) left_turn = '∖' raw = puzzle.input_data.replace('\\', left_turn) def format(*args): return '\n'.join(args) one_loop = format('/->-∖', ...
[ "marcin.mrugas@allegro.pl" ]
marcin.mrugas@allegro.pl
4253b79bb5472aaa724f8a275715ff312d9e51ad
6bc7062b2f99d0c54fd1bb74c1c312a2e3370e24
/crowdfunding/projects/migrations/0019_remove_project_project_category.py
51c2a3d6871cecdc37443bf4dad36195d614d54a
[]
no_license
marinkoellen/drf-proj
f2d1f539efb877df69d285bd2fe6d5e789709933
874549d68ab80a774988c83706bb7934e035de42
refs/heads/master
2022-12-25T16:53:52.187704
2020-10-03T03:54:06
2020-10-03T03:54:06
289,620,536
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
# Generated by Django 3.0.8 on 2020-08-25 13:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('projects', '0018_remove_category_slug'), ] operations = [ migrations.RemoveField( model_name='project', name='project_catego...
[ "ellen.marinko1@gmail.com" ]
ellen.marinko1@gmail.com
5815ce4fe1258e88d6834e0525aef0cb88efe45c
e407cd1e873ef1a626a592ac22901a300f5be8f4
/.pycharm_helpers/python_stubs/-1840357896/_ast.py
781c01e7223effe7a6aacfc06678da20c5e8ad7b
[]
no_license
rpesce/oktetoProject
65f77cfd2d92e6372f32e6e3dbfb8ce038d1b45d
7dbddf3d85b040755b15f4e647894353d4e5a3c5
refs/heads/master
2023-03-31T12:03:49.419915
2020-05-13T19:37:49
2020-05-13T19:37:49
263,726,526
0
0
null
2021-03-20T03:57:35
2020-05-13T19:38:54
Python
UTF-8
Python
false
false
26,769
py
# encoding: utf-8 # module _ast # from (built-in) # by generator 1.147 # no doc # no imports # Variables with simple values PyCF_ALLOW_TOP_LEVEL_AWAIT = 8192 PyCF_ONLY_AST = 1024 PyCF_TYPE_COMMENTS = 4096 # no functions # classes class AST(object): # no doc def __delattr__(self, *args, **kwargs): # real s...
[ "robertopescee@hotmail.com" ]
robertopescee@hotmail.com
489ce3ed0b9a4321ab5b111d4250a46d2ec16416
39b11ece266ee1d094dda212988e1a45b884212e
/assignment2/count_docs_w_a_term.py
8218425391014acc98def7f7a86273734f957be2
[]
no_license
cedoradog/datasci_course_materials
2910e436e833fd9edd9837ca091635585aec4c7a
2b64e796cfc6cc47c8dc6be0510da088c3d952e5
refs/heads/master
2020-12-25T10:08:38.417349
2014-07-30T22:05:11
2014-07-30T22:05:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
#!/usr/bin/python # -*- coding: utf-8 -*- #Required packages import sqlite3 as lite import sys #Open the database and create a cursor for it connection = lite.connect('reuters.db') cursor = connection.cursor() #Perform the query: PROJECT_docid(SELECT_{term='parliament'}(frequency)) query = cursor.execute(''' SELECT...
[ "cedoradog@unal.edu.co" ]
cedoradog@unal.edu.co
3769cc4e5d62e2acc88d472e5469b2c475fc4ccd
01ae34687bed6b71ddad6e74661d0633f96a7010
/testPaChong/identityImg.py
d6081826fc92c9a450a3f59f5b4c813621503b94
[]
no_license
Yinpeng1/PythonTestAndPaChong
a36b5437b52a5793b853d7a83b9bd866dafd5bf0
53639c7d807b509c66dc53a965735bd7ea84dcaa
refs/heads/master
2021-06-02T00:40:44.458694
2020-01-07T07:09:15
2020-01-07T07:09:15
134,508,860
1
0
null
null
null
null
UTF-8
Python
false
false
5,167
py
from PIL import Image import pytesseract import urllib.request import requests import re from http import cookiejar from contextlib import closing import execjs s = requests.Session() # jar = requests.cookies.RequestsCookieJar() cookie = cookiejar.CookieJar() urlOpener = urllib.request.build_opener(urllib.request.HT...
[ "pyin@mo9.com" ]
pyin@mo9.com
a32a8ba1fe6b56f57205930e21f775786d87fe8e
b566639f4141c6f9d1b658a6424c92f234ca4eda
/src/fusion/final_result_0530_facenet_bow_del.py
be046be03fc0511e79d17536d4c1676c17d86fc7
[]
no_license
wangzwhu/INS2018
4ae649cf7334622dd863e24ae2ae5a9fcba555c7
859e81c86711fa05bc862f8fe9b04018320070bb
refs/heads/master
2020-03-31T22:01:24.715345
2018-10-11T14:15:06
2018-10-11T14:15:06
152,602,422
1
0
null
null
null
null
UTF-8
Python
false
false
5,040
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from scipy import misc import scipy.io as scio import sys sys.path.append("./facenet-master/src/") import os import argparse import numpy as np import random from time import sleep from sklearn.metrics.pairwis...
[ "wangzwhu@gmail.com" ]
wangzwhu@gmail.com
995edcf81eb918f030ada2066c6d7a83ac83a4e2
c34a3ca63f6ce89029aac2cc292496a32427487e
/vote/migrations/0003_userballot.py
35e4540a35f52e89b1f5c65dd82e9c97ceaad739
[]
no_license
Sogang-BallotChain/ballotchain_server_django
2f25cf2857f27c32655ebb532b152c5f69b6a56c
7dc013d1d804028f9e27ca501547247570ccb206
refs/heads/master
2020-08-16T00:20:11.509827
2019-12-10T12:40:26
2019-12-10T12:40:26
215,429,216
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
# Generated by Django 2.0.13 on 2019-11-06 09:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('user', '0001_initial'), ('vote', '0002_auto_20191106_1343'), ] operations = [ migrations.CreateMod...
[ "omnipede@naver.com" ]
omnipede@naver.com
aabcb5b9a5277878a6859e3d30169b3ac42d6f06
26664b82833e4c87df360528f5f91dd86626fd9b
/analysis/level_3_showdown.py
df833cd440caa680e0faa589a390b4b7e9a6d2c9
[]
no_license
eoriont/space-empires
7e9a167418b0d05f8a97c4a2e7258a941d50e6e9
16461734e25e4dfc7386191c6540bb47e5ac352c
refs/heads/master
2023-03-24T15:47:21.312122
2021-03-23T02:38:23
2021-03-23T02:38:23
277,672,052
0
0
null
null
null
null
UTF-8
Python
false
false
2,543
py
import sys import random sys.path.append('src') sys.path.append('tests') sys.path.append('src/strategies/level_3') from game import Game from player import Player from colby_strategy import ColbySiegeStrategyLevel3 as ColbyStrategyLevel3 from david_strategy import DavidStrategyLevel3 from elijah_strategy import Elij...
[ "elijahotarr@gmail.com" ]
elijahotarr@gmail.com
f9d0e8ac5c8ef4a8c88a80076161397ef7c478b0
8c764d1c82d1ce3a1614eadfc73496641af357d2
/ecs_service_scan.py
987e6e297b8ab0b03dd097d8382418333749e185
[]
no_license
ChenChihChiang/aws-tools
6177ef2b1bdd21e0c457177e56bb4e99d0d93478
3c344793ad9ba57f5cf23ffd6b8f6f2bcda17f8d
refs/heads/main
2023-02-01T15:32:21.776468
2020-12-19T09:00:56
2020-12-19T09:00:56
322,805,742
0
0
null
null
null
null
UTF-8
Python
false
false
2,124
py
import boto3 import json import sys class ecs_service_scan: def __init__(self): self.services_list = [] self.tasks_list = [] self.result_dict = {} def status(self, cluster_name, aws_profile='saml'): count = 0 ecs_session = boto3.Session(profile_name=aws_profile) ecs = ecs_session.cli...
[ "chihchinag@gmail.com" ]
chihchinag@gmail.com
e70b565f3cc34b027474339156c213e3bd286211
15ccb1606f17be596f810446a397e246ec76c744
/test_selenium_1220_01/__init__.py
9c1ed58197a5b951b6649e2e1c9a0b4bb50adc18
[]
no_license
z944274972/hogwarts
ee31b018c1c534757134d2133156a56aa3ab8c61
68ba225c6340764c21640b041248d27247ff67ef
refs/heads/master
2023-03-06T05:13:30.830482
2021-02-19T06:05:19
2021-02-19T06:05:19
319,946,555
0
0
null
2020-12-14T01:27:09
2020-12-09T12:15:17
Python
UTF-8
Python
false
false
158
py
# -*- coding: utf-8 -*- # @Time : 2020/12/20 14:20 # @Author : zhangyuxin # @Email : zhangyuxin.aikebo@bytedance.com # @File : __init__.py.py
[ "944274972@qq.com" ]
944274972@qq.com
736e54d54db1964fc8ed8316108efbcffb86ad1e
3c96e1393d3418bcc472c04afcbae638bf246573
/bin/file_handling
b68c1f65fbe390a8df554b83d1885c40c8026449
[]
no_license
AnandMurugan/SysAdminPython3
579de5858b97bcf2c62e3540dd215a859e25e66d
ded84c18cd62190648f78685fbe46041bf168e70
refs/heads/master
2020-03-22T12:23:59.003370
2018-08-01T15:00:41
2018-08-01T15:00:41
140,037,735
0
0
null
null
null
null
UTF-8
Python
false
false
681
#!/usr/bin/env python3.7 import sys def get_filename(reprompt=False): filename = input("Please enter filename to read from (Filename can not be empty):") return filename or get_filename(True) filename = get_filename() try: f = open(filename,'rt') except FileNotFoundError as err: print(f"Error: {err}"...
[ "m.anandsp@gmail.com" ]
m.anandsp@gmail.com
c17e5b94641648eecc6bd1b3922b66018cc92697
9763c9a192896f7470481de72f6809fffb059cda
/ShopingSite/testApi/urls.py
3b3fbd067adca5b687966906743e117df6b42df5
[]
no_license
prd-huy-nguyen/huyn
f1ed0ba4f36d7b4587bd06508fc749d387bb5734
abed2249a21ee69da746f321dccec9dbf4379b70
refs/heads/main
2023-07-19T22:26:55.207843
2021-09-07T04:22:50
2021-09-07T04:22:50
398,010,196
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
from django.urls import path from .views import GetAllCouresAPIView urlpatterns = [ path('', GetAllCouresAPIView.as_view()), ]
[ "huy.nguyen@paradox.ai" ]
huy.nguyen@paradox.ai
dccbc0f60c52ad1ea3e6a5c5b40b8aedb8eb3048
eed8b5d07503df029f134facecdf1c08b70ea8fc
/salt/_grains/ec2_info.py
83c39786cfaa6123ce8aba07710c819a77352301
[]
no_license
mooperd/saltstack-tw
ff38dcd958882dec0a9a09d79f5afc085e040311
dea6d05dabe810598421d649f6a132761ca238e1
refs/heads/master
2021-04-30T16:50:54.316574
2017-01-29T23:55:05
2017-01-29T23:55:05
80,141,902
0
0
null
null
null
null
UTF-8
Python
false
false
4,055
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Get some grains information that is only available in Amazon AWS Author: Erik Günther, J C Lawrence <claw@kanga.nu>, Mark McGuire """ import logging import httplib import socket import json # Set up logging LOG = logging.getLogger(__name__) def _call_aws(url): ...
[ "a.holway@dcmn.com" ]
a.holway@dcmn.com
f6a18af47b3f3d7f75c367b5c09dedb414083527
0b94dd0019538d329b875e9f59fe93fc5af4afa2
/authentication/models.py
6e306ce7607f29d7fe6d32e277d94498f06ad11e
[]
no_license
iwansyahp/thinkster-django-angular-boilerplate
9b37511de2b5a9d125a7358d828a6e4edfb8462c
37d2bcc28208f7d371479bd01fb14ebdb000f941
refs/heads/release
2021-01-11T20:21:02.619372
2017-01-20T16:48:24
2017-01-20T16:48:24
79,097,088
0
0
null
2017-01-16T08:16:14
2017-01-16T08:16:14
null
UTF-8
Python
false
false
2,014
py
'''Model yang akan digunakan pada app ini''' from django.contrib.auth.models import BaseUserManager #for Managers #for Models from django.contrib.auth.models import AbstractBaseUser from django.db import models class AccountManager(BaseUserManager): ''' Manager untuk model Account ''' def create_user(self, em...
[ "iwansyahp@gmail.com" ]
iwansyahp@gmail.com
07c097e2daab7284db1e9f265146389973b99703
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/googlecloudsdk/api_lib/compute/forwarding_rules_utils.py
7d2f2aab880588cfe049e2f7b6af05b97ce04ff3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
9,578
py
# -*- coding: utf-8 -*- # # Copyright 2014 Google LLC. 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 requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
8b793e47681d3f7f3af71a3491179e1bcd1a747b
0d24433894b0b2955a351fdf63a10173b948b3fc
/teafacto/scripts/simplequestions/fullrank/alleval.py
7632df8a65a41b30c1bee533fab43d9cd7a7da24
[]
no_license
linxiexiong/teafacto
9209bea80bd76d84c18b7f8afb353b61f0fba8b2
1c749ee66dc21c2efe6b4d105f227c35ae969815
refs/heads/master
2021-06-16T15:16:40.064465
2017-05-05T18:25:42
2017-05-05T18:25:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,134
py
import sys, os, re from textwrap import dedent from teafacto.util import argprun from collections import OrderedDict def main(scriptname="testrunscript.py", modelfilepattern="testmodelfile{}.txt", modelfile="none", numtestcans="5,10,400", multiprune="0,1", mode="concat,seq...
[ "lukovnik@drogon.iai.uni-bonn.de" ]
lukovnik@drogon.iai.uni-bonn.de
50ea0e511945325609d4de6fbc078bc8ce361055
5039bd51408727ca6595faa513bd7a7a72188146
/instagram/migrations/0002_auto_20180725_1623.py
64388b488c3880b6f53aa45ecb39943246354e3d
[ "MIT" ]
permissive
Imma7/Instagram
b23508d5e3ff56c645361d77dcb23fa79631e143
32627573cbe4147433c9e02755b676b0b8dd7c20
refs/heads/master
2023-06-11T15:31:36.567535
2023-06-02T11:34:02
2023-06-02T11:34:02
142,843,047
5
11
null
2022-11-22T02:48:36
2018-07-30T07:49:52
Python
UTF-8
Python
false
false
1,881
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-07-25 13:23 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): initial = True dependencies = [ migrations...
[ "immamugambi@gmail.com" ]
immamugambi@gmail.com
c5615aa1c0d85191890ed0a7425bda23af1eb627
d4cbf415ff956127085ad5cbf0046fd0443ceb01
/Assignment3_201501090/test_Block.py
5f45364277f6e28852f9452ef9e5f7e32fa2a79b
[]
no_license
nikhilrayaprolu/pytest_practice
827c46b63222e7d198a46ba9bd3195c1d5e8814f
42dddae1500d2bebd70be739bb3efefadd49a1f2
refs/heads/master
2021-01-01T15:49:08.591391
2017-07-19T11:57:29
2017-07-19T11:57:29
97,711,040
0
0
null
null
null
null
UTF-8
Python
false
false
4,901
py
from Block import Block blocks=Block() class TestBlocks(): def test_initial_S_SHAPE_TEMPLATE(self): assert blocks.S_SHAPE_TEMPLATE == [['.....', '.....', '..OO.', '.OO..', '.....'], ['.....', ...
[ "nikhil684@gmail.com" ]
nikhil684@gmail.com
4417d0458bd16603cd2ee90957dd17795072e5fd
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/dbformariadb/get_virtual_network_rule.py
7463391edb58270bf8c428feefc9f27884d993d0
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
5,281
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
[ "noreply@github.com" ]
morrell.noreply@github.com
a32ac7028c93de8ff3f30e39d34e0e057f062658
47c5ba839f6b88b0c7b03ac33ff5f22f6d510649
/src/curriculum_learning.py
005713f2404431f49ea86bb812a9ab4c69a8189b
[]
no_license
danielvachalek/ElephantCallAI
4a6f0841842946637692dd13312e4343fcd5b722
4ea208411129706fdab9292054cd5591a3204d28
refs/heads/master
2023-01-09T03:24:32.001038
2020-09-11T17:43:41
2020-09-11T17:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,082
py
from tensorboardX import SummaryWriter import numpy as np import matplotlib.pyplot as plt import torch import torch.nn as nn from torch import optim import sys import time import os import argparse import parameters from data import get_loader, get_loader_fuzzy from utils import create_save_path, create_dataset_path f...
[ "jgs8@stanford.edu" ]
jgs8@stanford.edu
d374d041d9fdbc6ce15c9205a158067a20da5491
3a6a456c35721fb48382eea448d0c5e9f0544898
/Programing_Basics_with_Python/2 Conditional Statements/5-Число_от_100_до_200.py
f9adfb9614f270b8df718c9e340240fa075c1085
[ "MIT" ]
permissive
eclipse-ib/Software-University-Entry-Module
82a8c8613c30c17d51c0bc6073a9fe80327de9de
7d287dc32340ae301872d6e45cbd7d8bf56110a2
refs/heads/main
2023-01-03T19:52:12.254709
2020-10-21T20:51:26
2020-10-21T20:51:26
306,134,859
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
n = int(input()) if n < 100: print(f"Less than 100") if n > 99 and n < 201: print(f"Between 100 and 200") if n > 200: print(f"Greater than 200")
[ "65770519+eclipse-ib@users.noreply.github.com" ]
65770519+eclipse-ib@users.noreply.github.com
06f7b5a194d9185a56bc840e4159c3cd3e67d79b
606b8709678f6efd0c73eafb24d4b27fea2caef7
/dublicate.py
e794b0efc6c47f2896a64598388824a0d9b6e4e4
[]
no_license
roshnet/echelon-convertor
34ddd8deb7ae529f5b991d8d70be4f677597e003
542368c79ccab9d343cc501a07cb6bd87181b64b
refs/heads/master
2020-04-03T15:28:01.040142
2018-10-29T18:16:16
2018-10-29T18:16:16
155,363,403
0
0
null
2018-10-30T10:06:04
2018-10-30T10:06:03
null
UTF-8
Python
false
false
631
py
'''dublicate file is a composition of functions dublicate and intialize fuction returning matrix after intializing them and returning them for the use in main file''' #dublicate uses m(rows),n(columns),matrix(input matrix) and l2(for deep copy) as parameters def dublicate(m,n,matrix,l2): for i in range(m): for j i...
[ "prajjwalnijhara@gmail.com" ]
prajjwalnijhara@gmail.com
5d1e6d95a353db6b4b3a15223520f3f31b903cbd
3fec1cdced9ab2087401aadaeca51c5439d535c6
/venv/Scripts/pip-script.py
97e4217f1ea51ca24af88a89fb77544c1d90ec1f
[]
no_license
jkuntzer/WarRock-Login-Server
607f91286569539542cf619ddcf5088877962ca1
b62a415b15def3b7f8bb94419a575b035c261cea
refs/heads/master
2022-02-15T06:34:39.943718
2019-08-21T08:45:32
2019-08-21T08:45:32
202,322,555
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
#!D:\Documents\PycharmProjects\Warrock_Login_Server\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __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)?$', '',...
[ "jonas.kuntzer@rwth-aachen.de" ]
jonas.kuntzer@rwth-aachen.de
45fa0eee742f5dc4bbd5cc281ba19a010a868e2d
507d6106507c087f8a10ef5f737a203b58ca811f
/setup.py
56dedb4e4ec5192ad2c9667e85aa5fdb891e4d0b
[ "MIT" ]
permissive
grimen/python-config2
7c235619df00fe698b8126804ad4980c39f09194
30538a06105aaf56a1cf8970bd9bfdf3c2733722
refs/heads/master
2022-05-03T04:15:22.789423
2019-05-17T05:52:52
2019-05-17T05:52:52
133,857,345
22
12
MIT
2019-05-09T05:24:37
2018-05-17T19:09:19
Python
UTF-8
Python
false
false
2,542
py
# ========================================= # IMPORTS # -------------------------------------- import os import setuptools import setupextras # DISABLED/BUG: this line fails when `pip install config2` but works `pip install .` # from config2 import __version__ # ========================================= # ...
[ "grimen@gmail.com" ]
grimen@gmail.com
510e59b01b43f83b3140e29f39d891f0f10426e2
865d33f0ea35461d6ec073eb74f34e061d521a25
/03_list_less_than_ten.py
25667f857bc2631213dad4954ebb6454477790fe
[ "Apache-2.0" ]
permissive
ThornOfCamor/Practice
51bcbaf5ca6c24b9872c715efb977d5f3da11e22
d96ce8068506cb959f2ab4ccc97bf4c0271377e4
refs/heads/master
2020-04-08T22:48:28.468332
2018-11-30T11:32:22
2018-11-30T11:32:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
""" Practice - 3 """ if __name__ == '__main__': a = [ 1, 1, 2, 3, 5, 6, 10, 12, 12, 15, 18, 33, 80] b = [] maxi = int(raw_input("Enter upper limit: "), 10) for x in a: if maxi>x: b.append(x) print b
[ "f2015082@pilani.bits-pilani.ac.in" ]
f2015082@pilani.bits-pilani.ac.in
25d46fadeac81a64181c6940596c0ca832487f44
1d2301980e52955d5b8d06b340254bcafe13ff45
/devel/lib/python2.7/dist-packages/sensor_simulators/srv/_calibrate.py
c64f6956180a9bf1de0d333f810a22c22a305ac1
[]
no_license
j-alicia-long/ros-sim-projects
3f4f74ef6ded867947aa29372a49bfe557c5bbcd
a77eea0510b6c8f80f7670b6f68aefe22dd311b5
refs/heads/master
2022-04-05T03:03:17.373721
2020-03-05T08:43:10
2020-03-05T08:43:10
241,970,605
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
/home/robotclass/fastsim/devel/.private/sensor_simulators/lib/python2.7/dist-packages/sensor_simulators/srv/_calibrate.py
[ "j.alicia.long@gmail.com" ]
j.alicia.long@gmail.com
7a8e92c57c690cda1d3ed678c5d87ff8775e42cf
64112c3a013301f70b5ef079c2d8b3ab92811046
/python/exercise 6/code1.py
d7d9cb5d9eec56a3e33cb599cee8ab8b830d21fe
[]
no_license
dieduk89/project_euler
91197243302c15990afd212339ba6c93b3266644
4c555c5976b6f910fa6da9238a3c84dbf836bf83
refs/heads/master
2020-03-08T11:45:41.555545
2019-01-10T17:38:35
2019-01-10T17:38:35
128,107,357
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
print "\nCALCULUS\n" print sum([x for x in range(101)])**2-sum([x**2 for x in range(101)]) print "\n"
[ "dieduk89@gmail.com" ]
dieduk89@gmail.com
9a8f133b1a485d74be5f9277e467fb40fc54d413
0f19ec42bbee96db42a6973d99d679fa33d7aba1
/Chapter15/Exercise15.03/Test_15_03.py
d8d2bb76df668abd75d8989a1f83ce02e15672d9
[ "MIT" ]
permissive
a1ip/The-Data-Science-Workshop
ab3aa67c24daac18cbccbf9dc96b5436e46e1754
5992a4d14f7ea06c8815e395d57a9941bac47254
refs/heads/master
2022-12-18T08:19:04.550755
2020-09-24T04:10:38
2020-09-24T04:10:38
286,596,069
1
0
MIT
2020-09-03T00:40:51
2020-08-10T23:05:29
Jupyter Notebook
UTF-8
Python
false
false
843
py
import unittest import import_ipynb import pandas as pd import pandas.testing as pd_testing class Test(unittest.TestCase): def setUp(self): import Exercise_15_03_Ensemble_learning_Weighted_Averaging_v1_0 self.exercises = Exercise_15_03_Ensemble_learning_Weighted_Averaging_v1_0 self...
[ "noreply@github.com" ]
a1ip.noreply@github.com
9d4454c5706870d31d1ed495a4f26be822d1a65a
67713397548c4964878f203aa631e10a0382f66c
/7_listComprehensions/listComprehensions.py
cd8393825f018a70c17b410d0afe4f607c47fb55
[]
no_license
JonathanC13/python_ref
50bc5f5fba74a9ddc04857f6fd6dfa6efa79c292
cfd1f5eaa3ca24bd91a0577103f0ce2e178c853e
refs/heads/master
2020-03-24T15:46:38.631259
2019-01-15T14:16:07
2019-01-15T14:16:07
142,801,214
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] new = [elem for elem in a if ((elem % 2) == 0)] # for elem in a # if ((elem % 2) == 0) print (*new, sep=', ')
[ "Jonhschan@hotmail.com" ]
Jonhschan@hotmail.com
f175b2b241093b84b7fd98865d414f73de33ca40
5ce258654302ad5ded2a57ce922a2fb8fda48e4c
/venv/Scripts/pip3.7-script.py
54e1519da7ae4b15f588337964785808810ffb1f
[]
no_license
emaillalkrishna/AutomationTraining04Apr2019
d929dcce3d6ccf60661ab5119d45775263be55cc
bc15c2c204a0edb8bd7dee65284b5bde0f5c3b40
refs/heads/master
2020-05-04T22:14:14.981293
2019-04-04T15:27:40
2019-04-04T15:27:40
179,504,478
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
#!"C:\Users\LAL KRISHNA\PycharmProjects\AutomationTraining03Apr2019\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __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\...
[ "emaillalkrishna@gmail.com" ]
emaillalkrishna@gmail.com
aed49f3fa11d05349c61e91e585839ac12a283f1
1cfcfa686489885843b9a142c8ba980ebd5d5ffd
/tensorkit/tensor/linalg.py
441198f19a5c68c4d5d5bcb73c381fd7180a75f4
[ "MIT" ]
permissive
qyz-thu/gnn_vae
9d2d8e984a96d0f22f74362889fdd1c0613df46d
278aeb7038216812a94c7f7acd2ca425696f986b
refs/heads/master
2023-02-05T20:07:24.097968
2020-12-18T06:34:20
2020-12-18T06:34:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
from ..backend import linalg from ..backend.linalg import * __all__ = linalg.__all__
[ "haowen.xu@outlook.com" ]
haowen.xu@outlook.com
9027a463289bf93c1317431c88e6d23510a23d5d
37194bcee20e66e84360010d98a45adcced57963
/Algorithem_my/IM_Motherboard/baekjoon2563/2563.py
23114f8524cc99264e3210092d2c038dceaec963
[]
no_license
dmdekf/algo
edcd1bbd067102a622ff1d55b2c3f6274126414a
544a531799295f0f9879778a2d092f23a5afc4ce
refs/heads/master
2022-09-13T14:53:31.593307
2020-06-05T07:06:03
2020-06-05T07:06:03
237,857,520
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
import sys sys.stdin = open('input.txt') N = int(input()) d = list([0]*100 for _ in range(100)) cnt = 0 for x in range(N): r, c = map(int,input().split()) # print(r,c) for i in range(r, r+10): for j in range(c, c+10): if d[i][j] != 0: cnt +=1 else: ...
[ "dmdekf@gmail.com" ]
dmdekf@gmail.com
885a2426d989ed59b2b78b30a6439009f939b856
6a7bc7db97e924576d675cc0d45a7639650256d6
/tests/gmm.py
aabb0fc5ff58642e9f658bc9bff0abe3026e907a
[]
no_license
nima-vakili/clouds
9a2ad8c015ac224baf8a872701c4369a0f5b86ff
6c8d746b675d4b59a5beb14a84c8e95ba30201a6
refs/heads/master
2022-11-12T18:17:00.765708
2020-06-24T16:04:02
2020-06-24T16:04:02
274,707,451
0
0
null
null
null
null
UTF-8
Python
false
false
8,056
py
class GMM: """ Gaussian Mixture Model Parameters ----------- k: int , number of gaussian distributions seed: int, will be randomly set if None max_iter: int, number of iterations to run algorithm, default: 200 Attributes ----------- cent...
[ "nima.vakili@hotmail.com" ]
nima.vakili@hotmail.com
7c7d1d85edff3a0cc3b0b4ebb69aaf8614d3144a
df87c768ab5eda4648b54eb5df7ca7a403c1d2b2
/object-detector/dwell_time.py
68aa2c6779619be10df4ca774dd5119c76c8dff6
[]
no_license
detend/fish-detector
447c6f9ee1e7c72a1a3b14ec0ddb7380a6f5c354
f8c4621700506531746c69cb8161b563c5348e18
refs/heads/master
2020-07-31T05:58:32.572460
2019-12-24T02:56:04
2019-12-24T02:56:04
210,508,532
2
0
null
null
null
null
UTF-8
Python
false
false
9,595
py
import numpy as np import os import six.moves.urllib as urllib import sys import tarfile import tensorflow as tf import zipfile from distutils.version import StrictVersion from collections import defaultdict from io import StringIO import matplotlib.pyplot as plt from PIL import Image import glob from moviepy.video.io...
[ "vahid.pourheidari@gmail.com" ]
vahid.pourheidari@gmail.com
02d068146b046fb2b5a2631b823f235d70a865b2
c8373f4e8187c1149ca0eceb5e1ec81d6c895785
/modules/native/wakeWord.py
049b01f0e729d639a8b3435e286cc6f679d3310b
[]
no_license
pietroid/sphynx
2866705b4d9eca5fd492ae1e7309ea1429612cae
483dec05f8b2885bd7c7766bec083ee208210f8e
refs/heads/main
2023-07-14T14:06:51.602334
2021-09-02T16:44:30
2021-09-02T16:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
import sys sys.path.append('../../') from orchestrator.orchestrator import Orchestrator class WakeWord: def __init__(self): self.timeout = 10 self.wakeWord = 'hey jarvis' self.orchestrator = Orchestrator() self.listeningKey = 'LISTENING' def apply(self,message): if(mess...
[ "^pietrodomingues@gmail.com^" ]
^pietrodomingues@gmail.com^
b88ce5e638d86d3df2ff53ccb8735ce2973f594c
af669dbef653dd69474f4c0836582bf14262c80f
/price-test/frame/lib/deploylib/basemodule.py
40802035dad8bd234a44eb1fa887fabf13457945
[]
no_license
siki320/fishtest
7a3f91639d8d4cee624adc1d4d05563611b435e9
7c3f024192e1c48214b53bc45105bdf9e746a013
refs/heads/master
2021-01-19T21:58:36.807126
2017-04-19T09:56:37
2017-04-19T09:56:37
88,729,049
0
0
null
null
null
null
GB18030
Python
false
false
27,826
py
# -*- coding: GB18030 -*- """ @author: songyang @modify: guoan @modify: maqi @modify: geshijing @date: Nov 29, 2011 @summary: 负责环境搭建的统一调度 @version: 1.1.0.1 @copyright: Copyright (c) 2011 XX, Inc. All Rights Reserved """ import sys import os.path import socket import inspect import imp from frame.lib.commonlib.kvconf i...
[ "lisiqi_i@didichuxing.com" ]
lisiqi_i@didichuxing.com
83dd025957c4eaa4b5e35036642dff08662c5871
95a7450a1fdfc94cd859a32b19a70443599338a1
/src/categorizer.py
92ebcb6fbe5668e79e4f208c8a5dc5a6f5b78337
[ "MIT" ]
permissive
smile-eh/unnamed-slack-nlp-bot
a8a6b3844bed521a58702dfe374aaa84255aa5af
1d572a4c7efd53cbb812a08a664f7c79de484bf3
refs/heads/master
2022-08-06T14:44:01.643942
2019-09-26T15:18:42
2019-09-26T15:18:42
208,820,870
0
0
NOASSERTION
2021-03-20T01:46:09
2019-09-16T14:29:46
Python
UTF-8
Python
false
false
2,873
py
from google.cloud import language from google.cloud.language import enums from google.cloud.language import types from sumy.nlp.stemmers import Stemmer from sumy.nlp.tokenizers import Tokenizer from sumy.parsers.html import HtmlParser from sumy.parsers.plaintext import PlaintextParser from sumy.summarizers.lsa import ...
[ "matthew.sta.clements@gmail.com" ]
matthew.sta.clements@gmail.com
bff3168ed2c553c037a7ed990979ff7f7357784c
6cc57da2d24933dde56a5e6320aa9739f24e2faf
/bin/up-container
dc16b776e32114e34527e3eb2325b2e00923578b
[]
no_license
artpaiva/docker
970fb448ef3cf64df3da2e4fa4518226cc06673b
796cf6a3a901a1de093da5105e00c1e0428096b0
refs/heads/master
2020-07-27T05:40:11.901231
2019-09-09T16:08:05
2019-09-09T16:08:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
732
#!/usr/bin/env python import sys import os help_message = """ UP-CONTAINER Usage: {} [container-name] [-d] Options: -d Detached mode """ if 2 > len(sys.argv): sys.stderr.write(help_message.format(sys.argv[0])) sys.stderr.flush() sys.exit(1) container_name = sys.argv[1] detache...
[ "reisraff@gmail.com" ]
reisraff@gmail.com
d787eb865522e027c866b9cfbf68f7d34216b835
11ab6a7c2a12f16746ac23db5aac7ff9892c4bff
/application/matches/forms.py
c395d6295a90bc5d6bf3ddaed4ba4fc192b5dad3
[]
no_license
Granigan/BBMRS
6612f85dece7d92b3b168b7358f9c13bd18209a8
2f2aadd975c079d4ef8c15cbfd590c2b8cd07c68
refs/heads/master
2020-03-23T22:28:27.179942
2018-08-30T16:26:01
2018-08-30T16:26:01
142,178,162
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from flask_wtf import FlaskForm from wtforms import SelectField, RadioField class MatchForm(FlaskForm): winner = SelectField('Winner', coerce=int) loser = SelectField('Loser', coerce=int) def find_teams(self, teams): all_teams = [] for team in teams: all_teams.append((team.id,...
[ "teromarkustapio@gmail.com" ]
teromarkustapio@gmail.com
ed105e597e49e0a14931fef642d1dc5506b3b365
952dc09c3e77016f4991d8b2297de32b3e3b45d8
/ops/ccs-ops-misc/synthetic-data/scripts/synthea-manual/generate-characteristics-file.py
bb1b925c65e92708a20097e857c53ef1bf39dd0f
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
CMSgov/beneficiary-fhir-data
1f3bd5ff9171975bc77e1a4b6971222342bb3bd9
0d170907736c5f957b7545ae26b12ba16e0c2550
refs/heads/master
2023-08-08T12:53:42.348530
2023-08-07T15:27:15
2023-08-07T15:27:15
203,852,942
47
34
NOASSERTION
2023-09-14T18:25:26
2019-08-22T18:41:16
Java
UTF-8
Python
false
false
7,685
py
# # Script for creating a file that describes which bene ids were generated # and what claim types were associated with each bene id. # Will overwrite any characteristics.csv at output location, assuming queries succeed # # Args: # 1: bene id start (inclusive, taken from previous end state properties / synthea proper...
[ "noreply@github.com" ]
CMSgov.noreply@github.com
921d06f5ed37c9e185f1ad7d11f2a4a67123c1df
af0cd6278280121578b56aaafefa1197c2cf1832
/backend/login/migrations/0001_initial.py
05441933c9cb5766e75a1f6d6408193e50c8c2c9
[]
no_license
moshfiqrony/login-with-react-redux-django-restapi
c00888500c9b2fac40769eb7a04ce3e7e517f14c
5248e5b17b341cfdd43d234cacbca06b8b51ac3d
refs/heads/master
2020-04-22T09:16:31.442571
2019-02-12T10:56:57
2019-02-12T10:56:57
170,266,596
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
# Generated by Django 2.1.7 on 2019-02-12 07:40 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='loginModel', fields=[ ('id', models.AutoFie...
[ "moshfiqrony@gmail.com" ]
moshfiqrony@gmail.com
5192f40ea59ea9e73fd7ec25c1c410ab6db47993
25caffbb4e68704d8640c5178111de77153cb2bc
/antonkom.py
212167896b5a40e81ee000f85fcea03e17857fac
[]
no_license
avivel97/forked
454947022d30948be630596ab6bb6ea2d1e71cea
1576eda874a87acee9c1e68977bc8006282e2d7c
refs/heads/main
2023-08-23T11:48:23.652216
2021-11-06T09:49:30
2021-11-06T09:49:30
425,203,835
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
print("Hello pull-request")
[ "antoncomm@edge1.ru-central1.internal" ]
antoncomm@edge1.ru-central1.internal
08e314bca1a7a58b67078db8b41f7a82071fa70a
c8bb5a2134ca0071c0c542df1815b26cd5f848e7
/src/16 - Gradient/02-Edge_detection_and_gradiant.py
4f869adc2100d64b5b81f402454354c32932ee3d
[ "MIT" ]
permissive
hritik5102/Awesome-Computer-Vision-Guide
02cd1b97b864e0459f5ed2381a59d5c62d5aa39e
005cd96f6d6c7dacdf1b9b5f5bf56cae3d6cea18
refs/heads/master
2023-02-28T00:57:03.550931
2021-01-29T15:33:34
2021-01-29T15:33:34
336,303,121
0
0
MIT
2021-02-05T15:04:30
2021-02-05T14:59:28
null
UTF-8
Python
false
false
2,759
py
# plzz refers this ''' We use the functions: cv.Sobel (src, dst, ddepth, dx, dy, ksize = 3, scale = 1, delta = 0, borderType = cv.BORDER_DEFAULT) Parameters src input image. dst output image of the same size and the same number of channels as src. ddepth output image depth(see cv.combinations); in the case of 8-bit ...
[ "hritik.jaiswal@somaiya.edu" ]
hritik.jaiswal@somaiya.edu
c98b32d8712470c2607c4269f577f43eac9f1c36
067078390e2250174f9cf9ce42da7c3770940ef8
/src/models/model_checkin.py
df6b54b26258b60a82f21191e25280d5f8982079
[ "MIT" ]
permissive
AndreasVikke-School/ComputerScience-Final
0444e93fb500efe724f59af82b0ebb6f5f239e41
52d09a5876bfde661a00736712db6e3d19be877d
refs/heads/master
2023-02-10T16:38:13.171988
2021-01-15T11:21:25
2021-01-15T11:21:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
# pylint: disable=E0401,R0903,W0221,R0801,C0116 """ Model file for pynamodb checkin table. :license: MIT """ import os from pynamodb.attributes import UnicodeAttribute from pynamodb.models import Model from src.modules.get_export import get_export from src.models.index_checkin import ConsultantDateIndex class...
[ "andreasvikke@gmail.com" ]
andreasvikke@gmail.com
8ac907af1c525266d746bcad3de36ff5ceb1e8b7
c30dba02c52caf035bf1d21611e6b88fc9b29bd9
/JD1-2017-HA.py
0e3755cd530cfd1f7f97442f96c6b791eb696ddf
[]
no_license
gjn1228/Rating
0f85c8983e16996210844331494921dc46451a80
99f429914271d374b5f47284f84b804ab35d10ae
refs/heads/master
2020-04-08T21:43:45.019373
2018-11-30T02:19:30
2018-11-30T02:19:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
# coding=utf-8 # # Author GJN # import xlrd import pandas as pd from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, String, Date, Integer, create_engine, ForeignKey, Float # wb = xlrd.open_workbook(r'Y:\Departments\CSLRM\Level D\FB Odds Locals\JD1\JD1__2018.xlsm') Base = declarative...
[ "gjn19911228@163.com" ]
gjn19911228@163.com
dedf92cadcc2da9796c6cf61e3ccaf653da7f7cb
9d4af8989bc4a9354a4a2e36f14b0e7fed6a31d5
/pack/semisupervised/recursive_clustering.py
8dfa38447ffb4ca09d2de8629dfacd0e1e679b9d
[]
no_license
radevlabs/rdlearn
cc5c57cf19c27d559dd4960139659860c39f5985
a5d058f60d1f23423fb5b55a98c2732b2fdbd787
refs/heads/master
2022-10-09T00:54:35.526722
2020-06-06T05:08:07
2020-06-06T05:08:07
269,874,034
0
0
null
null
null
null
UTF-8
Python
false
false
4,927
py
from ..base import SemiSupervisedBase from sklearn.metrics.pairwise import euclidean_distances from ..utils import random_per_target import numpy as np import warnings import datetime import sys warnings.filterwarnings('ignore') class RecursiveClustering(SemiSupervisedBase): """ Example >> rc = RecursiveCl...
[ "rafyakbar@smadia.id" ]
rafyakbar@smadia.id
eea6248afe1f802ba886819f67260d408c32ed07
2c8308e6741aff6f8c21819761f6cb2fa0beca81
/pybo/migrations/0007_auto_20210203_0438.py
7663368a7c07ee863145ab53e92f159c7be33407
[]
no_license
dhraudwn/pybo
dddf467cfd095424cd9a08530ecc407c39d9a4cd
90f032183789f3b77507c8ff14bb229ad7d96ee6
refs/heads/master
2023-07-13T19:16:01.585105
2021-08-21T06:16:49
2021-08-21T06:16:49
335,436,996
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
# Generated by Django 3.1.3 on 2021-02-02 19:38 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('pybo', '0006_comment_ans...
[ "dhraudwn@naver.com" ]
dhraudwn@naver.com
6cdc5a243ebb2e5363c87017de3e08abeb63034b
ffbf7dc1736f785feed8e60716d0199b22f16114
/apps/users/models.py
7ac09081d82622848c4c28ce392a3240cdeb424b
[]
no_license
andrewkharzin/fliss
5c554fa290932ee3bb9879700581191dd1d3c158
0cf6bc1449895320e1491dede0e5650b0c9b8866
refs/heads/main
2023-05-13T06:37:56.097495
2021-06-04T16:32:40
2021-06-04T16:32:40
373,489,076
1
0
null
null
null
null
UTF-8
Python
false
false
653
py
from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin from django.db import models from django.utils import timezone from django.utils.translation import gettext_lazy as _ from .managers import CustomUserManager class CustomUser(AbstractBaseUser, PermissionsMixin): email = models.EmailField(_...
[ "andrewkharzin@gmail.com" ]
andrewkharzin@gmail.com
4d0ff729065ab269ef0be6509c7fa34a2d414a91
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/RSGraviton/RSGravToGG_kMpl02_M_760_TuneCUEP8M1_13TeV_pythia8_cfi.py
84ae4c4442902c4becf9bf5797358a8aaccdf8cd
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,193
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(1.095e-3),...
[ "sheffield@physics.rutgers.edu" ]
sheffield@physics.rutgers.edu
355631178c6ad2f9ef3de2a48bcc1a8a5dc2e9b6
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/networkcloud/azext_networkcloud/aaz/latest/networkcloud/trunkednetwork/_update.py
04291de060939c1bee340fb53c79b39a080844ba
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
10,691
py
# -------------------------------------------------------------------------------------------- # 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 aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
5c262f366d8d1e1138abe8febc21ad9caf7c08fa
30d9471ab2e2d8999b442d5fc9a6d27ce05defe1
/storage/migrations/0005_auto_20151102_1223.py
d3ccbe0617173929d347864ec871ff80b8a6716e
[]
no_license
pevadi/uva-inform-dashboard
1c0b181faa9b09eaea12981a08c6700837587190
32da730fce2aa152b7b51eda7c6b73be6bb42387
refs/heads/master
2021-01-12T13:39:36.919950
2017-03-08T15:27:29
2017-03-08T15:27:29
70,059,907
0
1
null
2016-12-18T13:34:32
2016-10-05T12:50:55
Python
UTF-8
Python
false
false
901
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('storage', '0004_activity_remotely_stored'), ] operations = [ migrations.CreateModel( name='ActivityExtension', ...
[ "sanderlatour@gmail.com" ]
sanderlatour@gmail.com
2870901c222fef6ad318c224a43ab05c4e22f3a7
9dcbe78d35b6b3365fbde13e9e831fa236767d3e
/node_modules/libpq/build/config.gypi
e26ec9ac5f41a5fc644b1a6269b0666875d1c84d
[ "MIT" ]
permissive
zfranklyn/juke-react-router
141dc63dfec4e155314612195301c95f5ba7ec12
cef37143fc30ee57f253f72380ef5cf8a661482f
refs/heads/master
2021-01-17T18:00:34.959684
2016-10-13T21:44:54
2016-10-13T21:44:54
70,823,166
0
0
null
null
null
null
UTF-8
Python
false
false
4,279
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "debug_devtools": "node", "force_dynamic_crt": 0, "host_arch...
[ "zfranklyn@gmail.com" ]
zfranklyn@gmail.com
a3f98a432b3cdbca139dec9dd11fe38d8329e893
d838bed08a00114c92b73982a74d96c15166a49e
/docs/data/learn/Algebra/input/arithmetic_code/Factor.py
cf9e71bdc09473d7329dafa4ce1b677d51a986c5
[]
no_license
offbynull/offbynull.github.io
4911f53d77f6c59e7a453ee271b1e04e613862bc
754a85f43159738b89dd2bde1ad6ba0d75f34b98
refs/heads/master
2023-07-04T00:39:50.013571
2023-06-17T20:27:05
2023-06-17T23:27:00
308,482,936
1
0
null
null
null
null
UTF-8
Python
false
false
5,814
py
from __future__ import annotations from Output import log_indent, log_unindent, log, log_decorator #MARKDOWN_NAIVE @log_decorator def factor_naive(num: int) -> set[int]: log(f'Factoring {num}...') log_indent() factors: set[int] = set() for factor1 in range(1, num+1): for factor2 in range(1, n...
[ "offbynull@gmail.com" ]
offbynull@gmail.com
4fbfaff03a0cb8220c9044fc80f60040a941005c
199eab10e95d3ac98505e1633b55d23a48ac7f7d
/feaas/runners/__init__.py
0ae19706ac78f27bbbf84e3668bc38423a4a2fcd
[ "BSD-3-Clause" ]
permissive
tsuru/varnishapi
b2fd3fb544bb5953829fcf4ac92c08db10f5f08a
d63a8c8c5f9c837855509fc5af59d8213c1c91d6
refs/heads/master
2021-05-21T11:54:06.779056
2015-03-12T14:19:53
2015-03-12T14:19:53
8,635,749
3
5
BSD-3-Clause
2021-02-08T20:17:15
2013-03-07T20:20:28
Python
UTF-8
Python
false
false
739
py
# Copyright 2014 varnishapi authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. import time from feaas import storage class Base(object): def __init__(self, manager, interval, *locks): self.manager = manager self.st...
[ "fss@corp.globo.com" ]
fss@corp.globo.com
e1b76576199454d255edba31a8b8ddf421be22ef
f20579a647f3a0308cd03f449d771fabf233c6a3
/tests/scratch.py
e5d61ce831001edfd9044b714bcb8e4cf7c92d90
[]
no_license
jonathanchancey/wunbot
b4179bbf7a13627f4d9a531bb7c3374123a7ab49
ed417dbe0ab6ba86d8102464f38c1aecdeb101f9
refs/heads/master
2023-08-17T10:23:41.368160
2021-08-06T17:34:01
2021-08-06T17:34:01
105,359,149
0
1
null
2021-08-06T17:34:02
2017-09-30T09:29:38
Python
UTF-8
Python
false
false
4,770
py
# @bot.event # async def discord.on_command(left : int, right : int): # """Adds two numbers together.""" # await bot.say(left + right) # @bot.command(pass_context=True) # async def and(ctex): # if "dance" in ctx.message.content: # await ctx.send('Your message is {} characters long.'.format(ctx.mes...
[ "jonathan22711@gmail.com" ]
jonathan22711@gmail.com
9fcdf522466f2ce8b3618bd7bc929acfeab4f0d0
129f6db8cbc1134b96e09ff0ee3b2e35e5d34705
/190905/solvingclub_0906_rhombus.py
adcde3b1cf3fd140c22a9940ab4aee2ef18e7762
[]
no_license
ghleokim/algorithm
0dee76e1896dfe0c7a55248a4c2d6da8f09f371c
47f4d9b7e836babfa12d53b645f15d9038589ebe
refs/heads/master
2021-07-01T21:03:58.891015
2020-11-30T03:56:51
2020-11-30T03:56:51
200,062,743
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
# N이 홀수일 때, 마름모 그리기 # 1: 1 # 3: # 0 1 0 # 1 1 1 # 0 1 0 # 5: # 0 0 1 0 0 # 0 1 1 1 0 # 1 1 1 1 1 # 0 1 1 1 0 # 0 0 1 0 0 a = [[0,0,1,0,0],[0,1,1,1,0],[1,1,1,1,1]] N = 5 mid = N // 2 k = 0 offset = 1 for i in range(N): print(mid, k, offset) for j in range(mid-k, mid+k+1): print(' ', j, end=' ') prin...
[ "gh.leokim@gmail.com" ]
gh.leokim@gmail.com
fbdb5dd9319218916d8ec89b907ab6a4c24dfde5
0232c8fff943b65cb2f33da7e2743ea2db3b5c1e
/gym_square/test/.test_human_input.py
4c039508221f1987c659d7e50df27438e8fb1c33
[ "MIT" ]
permissive
gpldecha/gym-square
6112bef27ad2639217300d73dfb22f07b3c532b8
10e23d1458f2d8e893514b35e25494ba449f1af3
refs/heads/master
2021-01-11T21:07:36.256930
2018-01-21T13:47:59
2018-01-21T13:47:59
79,250,471
2
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
import unittest import gym from gym_square.envs.square_env import SquareEnv from gym_square.envs.square_world.keyboard import Keyboard from gym_square.envs.square_world.reward import Reward from time import sleep import numpy as np import matplotlib.cm as cmx class TestLeftRightEnv(unittest.TestCase): def test...
[ "chambrierg@gmail.com" ]
chambrierg@gmail.com
963eea28b326e12da13f6326ac4ac774fa31e013
71796056186081d034eef90d18649a88b2f5821e
/app/main/controller/movie.py
d9acf42972eb3e0f5b01f8d150d2e95649074d1a
[]
no_license
hamza5213/Umot_flask
ca434c1182d60bc0e63309807b5f278a6b3850ce
9f6774038deb90a930d336955d6aa01f473748d9
refs/heads/master
2023-04-05T00:14:14.771548
2020-06-12T21:05:57
2020-06-12T21:05:57
271,104,488
0
0
null
null
null
null
UTF-8
Python
false
false
2,177
py
from flask_restplus import Resource, reqparse from ..service import logging_service from ..service import movie_service from ..util.dtos import get_response, MovieDto _logger = logging_service.get_logger(__name__) api = MovieDto.api _movie_search = MovieDto.movie_search _response = MovieDto.movie_response @api.rout...
[ "35306029+hamza5213@users.noreply.github.com" ]
35306029+hamza5213@users.noreply.github.com
f6de17a88c1056a935f3f6e3c4f9e77152fdda5b
d0da45b2cac517d74f9a6e5675fbc0b07972a3ef
/projects/migrations/0001_initial.py
ed75c4fbd8c8dd7990f8003286ece49f4cc0a8b1
[]
no_license
rachelistone/portfolio
db989547902add1451ef4babe03e6db4116b1db0
3fff533b7387985be0a686bbabf82a7db2798177
refs/heads/master
2023-08-23T07:46:49.114540
2021-10-26T11:32:51
2021-10-26T11:32:51
317,668,588
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Generated by Django 3.0.2 on 2020-10-18 20:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Project', fields=[ ('id', models.AutoField(...
[ "rs0527677843@gmail.com" ]
rs0527677843@gmail.com
cac81237031b341e3db1171aa4b3b3f3737f066f
65ca44041d7925372120cdbcb8e08fa7c507c035
/spresso/controller/grant/settings.py
edb96ec3a66eac278ad5cb192c2a02cf17d0ebfc
[ "MIT" ]
permissive
lujung/python-spresso
faef8d092f2bde56ed318d52770d8cf38762ad2d
32e0229abe9e18bbbe487184645d66ed1ed95a05
refs/heads/master
2021-01-21T06:30:45.630091
2017-03-01T20:01:26
2017-03-01T20:01:26
83,245,282
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
import warnings from spresso.model.settings import Container class Setting(object): _available_schemes = ["http", "https"] endpoints = Container() scheme = "https" debug = False def __setattr__(self, key, value): if key == "scheme": if value not in self._available_schemes: ...
[ "s4lujung@uni-trier.de" ]
s4lujung@uni-trier.de
e5a064e9f9eaff906c2535f0d47d39d53f67ec5f
e054e790e25c17b6d1c9c350c270c2016f7264ff
/rolling_dice.py
0b6ab0d2c6dc47939362f851b4f414f413f404af
[]
no_license
ShakeriaCodes/rolling_dice
b4d63c2dc6e3eeb9daae11cb5d6071c5f4437615
2903a249353fad7fd00825296fdc5b0f23a82110
refs/heads/master
2020-06-13T17:49:41.632665
2019-07-01T20:35:29
2019-07-01T20:35:29
194,739,154
4
0
null
null
null
null
UTF-8
Python
false
false
283
py
import random min = 1 max = 6 roll_again = "yes" while roll_again == "yes" or roll_again == "y": print ("Rolling the dices...") print ("values are...") print (random.randint(min, max)) print (random.randint(min, max)) roll_again = input("roll the dice again")
[ "yogi_keri@icloud.com" ]
yogi_keri@icloud.com
66721be9527fe8bbbd2fc6bf23731c047a3b8eb3
8be87da4b33c8ab83099b9689c54395bc0d8b079
/analytics/util/historicaldata.py
ea866cf6359c58f07edb2fbac6a7d7a804ec916b
[]
no_license
ubc-capstone-real-time-energy-display/analytics
874dcceb37bdd6b9804be7fca11396f7217a3f8a
5068de256805da533907ec05377cebaddcd30f4e
refs/heads/master
2021-01-10T02:03:49.166550
2015-11-26T22:27:53
2015-11-26T22:27:53
46,546,251
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
import util.building import datetime def gethistoricaldata(bid, startdate, daysago): start = startdate - datetime.timedelta(days=daysago) stop = start + datetime.timedelta(days=1) return util.building.getdata(bid, start, stop) def getaverage(bid, startdate, maxtimeframes, timeframe): timeframesago ...
[ "alvin.lao.is@gmail.com" ]
alvin.lao.is@gmail.com
158f79253f33e1c20d6ddb1e70a100196feff123
9d278285f2bc899ac93ec887b1c31880ed39bf56
/ondoc/account/migrations/0013_auto_20180713_2151.py
d0b07037331a843bf3606f0d6a973e5233e3533e
[]
no_license
ronit29/docprime
945c21f8787387b99e4916cb3ba1618bc2a85034
60d4caf6c52a8b70174a1f654bc792d825ba1054
refs/heads/master
2023-04-01T14:54:10.811765
2020-04-07T18:57:34
2020-04-07T18:57:34
353,953,576
0
0
null
null
null
null
UTF-8
Python
false
false
1,845
py
# Generated by Django 2.0.6 on 2018-07-13 16:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('account', '0012_pgtransa...
[ "prateekmirdha@policybazaar.com" ]
prateekmirdha@policybazaar.com
1663c8dd0f92be78897e3253c0a7ce701349df77
a77ad626481519828a14fd5dae1a32f324fb71db
/questions/models.py
9b6a49fd7bc5ea015d63088657705db96b2d9b2d
[]
no_license
acbelter/ask-acbelter
d55d08805c4c3e640a37ef34bc8fb1c128fab3b0
37c3c99f8193d80fe57bae671407ebc4b1f8d850
refs/heads/master
2023-01-23T13:55:42.917522
2016-02-27T12:32:15
2016-02-27T12:32:15
45,356,848
0
0
null
null
null
null
UTF-8
Python
false
false
2,273
py
from django.db import models # Create your models here. from django.utils import timezone from tags.models import Tag from users.models import Member class QuestionQuerySet(models.QuerySet): def new_questions(self): return self.order_by('creation_date') def popular_questions(self): return se...
[ "acbelter@gmail.com" ]
acbelter@gmail.com
24cc3135a2c89005b48088cff821f5d992b4454c
188b2f0a0a9dbdf6261feb59442c0fe8d03daa6c
/manage.py
280e4867324fbff512f9374feb9d6b521ac899bf
[]
no_license
andre1201/work
966eca5901eb22a1d816b9f5bff0c03690c39b93
dbf656c612021cc074ef652b28f3a87e9a6481be
refs/heads/master
2021-01-10T14:30:34.595668
2015-11-10T08:34:16
2015-11-10T08:34:16
43,693,268
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "restAuth.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "shukin_am@crvtu.local" ]
shukin_am@crvtu.local
c9939ca4c1e00560dafc428259151becb03674da
8c95a8c5f153aed18b849cb9e56d3e3cb089a188
/gans/data/base_dataset.py
e8b5e9ba461b6a007bb5ec32a71152d8deb45057
[ "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
avisekiit/wacv_2019
5c86296441f365549c63b6ad3c5700045cb0ce29
263f264b3f2bdb0f116ebbb30ec4a805f357b3a6
refs/heads/master
2020-04-07T15:42:09.535703
2019-01-05T12:41:14
2019-01-05T12:41:14
158,497,302
7
4
MIT
2018-12-09T17:16:53
2018-11-21T05:48:07
null
UTF-8
Python
false
false
3,397
py
import torch.utils.data as data from PIL import Image import torchvision.transforms as transforms class BaseDataset(data.Dataset): def __init__(self): super(BaseDataset, self).__init__() def name(self): return 'BaseDataset' @staticmethod def modify_commandline_options(parser, is_trai...
[ "charared@cisco.com" ]
charared@cisco.com
efee7d448eea985b0e0ec8897540d3d67ee9753f
fe04f9320876df80b38a5c6dc4fcfedcfe11bc95
/ChartterBot.py
f880fb824db9e963648c6eed232a173bbe836969
[]
no_license
princeadegoke/Heroku-Bot
e3b58a09df2a38726dac7828d9a979522bbb76a7
ac8430ceac1697779b0ba0036e28385a2aee9e3d
refs/heads/master
2021-05-05T21:54:21.409957
2018-01-06T13:50:38
2018-01-06T13:50:38
115,973,258
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
# Dependencies import tweepy import time # Twitter API Keys consumer_key = "md27jI2cdRGQ5QJrC9GrZnjfj" consumer_secret = "dp2ujQmPbGKDJO1UTx3S3kMdApXWz91XDMaLL1Ti92HygMrJVg" access_token = "943270787640852485-AMbIDMXo65N5tVrEPs5TJvVlU9c2faJ" access_token_secret = "lFoISe9o4VujzhvqWosuzWCS1uK2Ax7AeinI5r5mDsYG9" # Crea...
[ "29675051+princeadegoke@users.noreply.github.com" ]
29675051+princeadegoke@users.noreply.github.com
136a83c7414cc8364c3af64bbfbe44998bfd1edc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03951/s825491842.py
60c5369e40917f6ab084747ef4ce896e921c692d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
n = int(input()) s = input() t = input() for i in range(n): if s == t: print(len(s)) exit() if s[i:] == t[:n-i]: print(len(s+t[-i:])) exit() print(len(s+t))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ad91ddf3727cb4bc3d789a237462d85cd8db4915
eec4d8f4ded660bc493dc9aa539042eea86186eb
/app.py
a0cfb7d92e08924a99188609864b3695ccc12bef
[]
no_license
Elilora/Lung-Cancer-Classification
bdcd02afabad44396fd90a23f1e30c43d84a8978
c202fbddc8f7c9d0ea2a4ceb288b71b47056fc34
refs/heads/main
2023-09-05T18:52:34.861679
2021-11-22T18:17:29
2021-11-22T18:17:29
425,361,383
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
import os from sklearn.preprocessing import StandardScaler from sklearn.discriminant_analysis import LinearDiscriminantAnalysis as LDA import numpy as np import pandas as pd import streamlit as st from PIL import Image import pickle from skimage.io import imread import matplotlib.pyplot as plt from skimage.tr...
[ "noreply@github.com" ]
Elilora.noreply@github.com
ec494d05608481ab64454ce37641be6ce36ed299
41d2ad2dc0297454855dc71af8216a5282523eac
/apps/usermgmt/views.py
46c77aa6b024767b2d3591002690cd47db363404
[]
no_license
shankarnpatro/StockMind
7ed4194abf5aa0392c0a714da8093a4afc3096c8
cf91510af8b8adbf48b35cd4728779497515ba9f
refs/heads/master
2020-05-19T19:39:24.346761
2019-10-04T12:55:03
2019-10-04T12:55:03
185,184,130
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
# Create your views here. from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string from django.utils.http import int_to_base36, base36_to_int from StockMind import settings from StockMind.environment_mixin import EnvironmentMixin from apps.usermgmt.models import User from...
[ "shankarnarayanpatro@gmail.com" ]
shankarnarayanpatro@gmail.com
016512463dfe14d3e287ec6a927c9826b10091a5
c8f8de52f642a1813ddff84ee39a11707f7c9026
/CDM/CDM/asgi.py
dda2d232960d2a8aebe6ee1efc80f837d9c98475
[]
no_license
coffeii/medicalData
99eb9ecafea53b24c2add1db92764aa8411a2a0c
057f041b8bc1252a95cd48ecf2d9c164110544cf
refs/heads/master
2023-06-12T02:46:33.527821
2021-07-01T12:44:22
2021-07-01T12:44:22
382,025,872
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" ASGI config for CDM project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "gsu2520@naver.com" ]
gsu2520@naver.com
b7f406f9ccee204d76cfd5b659a16fd8f2baaf81
1ff2e1da74ddde3e825fb9b31dec381caf2a3c04
/lavalamps.py
0535724223e4fccfae0af3cb40787cda589a7e0e
[]
no_license
au-ts/bamboo_build_lights
d32a83d3405f69933af832b8c6a569e1453cf3c6
93836a9b68b400866b89a55cec5cdca72ee89967
refs/heads/master
2023-04-20T03:13:22.285637
2021-03-14T22:56:43
2021-03-14T22:56:43
369,365,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
#!/usr/bin/env python3 import ftdi1 as ftd from time import sleep import sys # '1' on the controller is wired # to FTDI bits 0 (off) and 3 (on) RED_ON = bytes([1<<3]) RED_OFF = bytes([1<<0]) # '2' on the controller is wired to # FTDI bits 1 (off) and 4 (on) GREEN_ON = bytes([1<<4]) GREEN_OFF = bytes([1<<1]) # Bits 2...
[ "Peter.Chubb@data61.csiro.au" ]
Peter.Chubb@data61.csiro.au
9e70805f0e5ade7b299089159d229c0eecdc369b
10b1f4d80f4453972918f8de42a5b6212047dac9
/submissions/exercise3/barrameda/Main.py
b10e07cda687df2ae7108cfd7108e33f90ddc34e
[ "MIT" ]
permissive
tjmonsi/cmsc129-2016-repo
e6a87cab1c6adb093f9b339271cf3e8d2c48726c
5a1833265b17f9079d5a256909296d363db9179b
refs/heads/master
2021-01-22T09:55:37.484477
2017-06-01T16:24:19
2017-06-01T16:24:19
52,767,672
0
14
null
2017-06-01T16:24:20
2016-02-29T05:55:01
JavaScript
UTF-8
Python
false
false
1,018
py
import LexicalAnalyzer import SyntaxAnalyzer code = open('sample1.scb', 'r') tokens = LexicalAnalyzer.tokenizer(code.read()) print("Syntax Error for Sample 1") SyntaxAnalyzer.parser(tokens) print('\n') #code = open('sample2.scb', 'r') #tokens = LexicalAnalyzer.tokenizer(code.read()) #print("Syntax Error for Sample 2"...
[ "barramedasimon321@gmail.com" ]
barramedasimon321@gmail.com
0af840a7f8615b95578cdccbf649c12039fa9780
e94363b6dc2d003f19f6c97a1bdc7e47f96aed53
/tutorial_bodenseo/adv01_tkinter/1_label.py
7fb58cb32a1a7f7a468fe26c0316c81248e29494
[]
no_license
danbi2990/python_practice
c4f74fbeb9002dbcbc2de65b48cacfb161cf7742
15ad87740d3aeb45e45886e2a20aeb64b62df1af
refs/heads/master
2021-01-11T18:12:21.790000
2017-02-07T13:19:26
2017-02-07T13:19:26
79,514,548
0
1
null
2017-01-20T02:15:02
2017-01-20T01:51:12
null
UTF-8
Python
false
false
425
py
import tkinter as tk counter = 0 def counter_label(label): def count(): global counter counter += 1 label.config(text=str(counter)) label.after(1000, count) count() root = tk.Tk() root.title("Counting Seconds") label = tk.Label(root, fg="green") label.pack() counter_label(la...
[ "danbi2990@gmail.com" ]
danbi2990@gmail.com
62674439d3a67850c0d3067970c150a2ec3caae0
c6daf22223e685b11be0ac75572b431de380e842
/test/testTalib.py
255c68d10f1d6856d31edf394b620a772bb72fd9
[]
no_license
afcarl/stockNeural
b750895d539eebebaf8d4f81ec17753f0d32ee9a
dc2ed034a3611e830bc05941eacafc258ba8c480
refs/heads/master
2020-09-04T02:55:38.281218
2016-05-28T02:24:41
2016-05-28T02:24:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
import talib import pandas as pd from talib.abstract import * import numpy as np real_data = [135.01, 133.0, 134.0, 131.0, 133.0, 131.0] float_data = [float(x) for x in real_data] np_float_data = np.array(float_data) np_out = talib.MA(np_float_data,3) print np_out # outputMA = talib.MA(close,timeperiod=3) # # outputMA...
[ "1971990184@qq.com" ]
1971990184@qq.com