blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
1d93b2fa8eee0e6b25e554bc0ef4356c25b30493
a94feedf930366196c824ed8d5e78b685fd1c5a2
/test_examples/test_lesson6_func_auto_check.py
7df9f9fd4e69efa2530f908bc8d22a56ff722928
[ "MIT" ]
permissive
steven004/TestSteps
9b6e84dfc03eff4ab3ed040377338c8992a1add4
b8741aa0cb026f320ccb9d0c3814a802b33f5dda
refs/heads/master
2021-01-23T11:54:58.807900
2017-06-20T06:25:51
2017-06-20T06:25:51
29,056,187
12
1
null
2017-06-20T06:25:51
2015-01-10T12:13:16
Python
UTF-8
Python
false
false
4,173
py
__author__ = 'Steven LI' from test_steps import * ## This is just an example, to create an operator to judge is two data strings stand for the same date ## i.e. '1/4/2015' =d= '01-04-2015' is true ## desc parameter can be omitted here, but can be used later in cases def compDate(date1, date2): import re patt...
[ "steven004@gmail.com" ]
steven004@gmail.com
2121c4822e7a5cc2f216bd5d592bef7f0c8e426b
28de71cda258ef180a7ed827fef9e0f5d3311a4f
/eyes.py
93de3a2da9046df0161f5f733711bff6a2dea643
[]
no_license
derricp1/jam-2014
e355458c6ad9b91ea9a0a15ce132034bcb410b19
9a512b431c84ae749bd7336ac4013d404e5b74dd
refs/heads/master
2021-01-25T12:09:30.798594
2014-01-26T23:46:52
2014-01-26T23:46:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,198
py
import pygame, sys from pygame.locals import * import Globals from Player import player from Floors import floor from Enemies import enemy WHITE = (255, 255, 255) BLACK = (0, 0, 0) pygame.init() coverimage = (pygame.image.load('cover.png')) titleimages = [] titleimages.append(pygame.image.load('title0.png')) title...
[ "derricp1@apps.tcnj.edu" ]
derricp1@apps.tcnj.edu
04495c8e1849b8df9b7b60f749e3172809966b93
7e419f7046386c20b9a6ed121c377fbcc8ff6885
/mobject/region.py
d5ba70ff04615c627dc85bf3d0a85a9d4bddec0d
[]
no_license
ralusek/manim
47ebabb4d42accdda42a0da32ccdef6b129205b8
d53412d738e3b9d306b7d7d2ad39cac702ff3d18
refs/heads/master
2021-04-29T00:47:40.990006
2018-02-16T20:16:59
2018-02-16T20:16:59
121,837,012
1
0
null
2018-02-17T07:44:48
2018-02-17T07:44:47
null
UTF-8
Python
false
false
3,206
py
import numpy as np import itertools as it from PIL import Image from copy import deepcopy from mobject import Mobject from helpers import * #TODO, this whole class should be something vectorized. class Region(Mobject): CONFIG = { "display_mode" : "region" } def __init__(self, condition = (lambda ...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
b3a4968fdf9a46a1ed4d65f8c381330f7a73a58c
68d7b0c5575c43f42060f4f7c255f428bfbb0285
/printlandmarks.py
4f6c9802d110e4fa044fb4428deac343e8967f0f
[]
no_license
bfafata/mptyping
8ce1daa83030e96151f62fab9bd768a4ffd95607
89bf28a80141e455fbb76eac4535ec5c1c22bdea
refs/heads/main
2023-07-18T10:55:40.844991
2021-08-30T01:38:38
2021-08-30T01:38:38
401,183,031
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
def pl(lis): names=[ "wrist", "thumb cmc", "thumb mcp", "thumb ip", "thumb tip", "index mcp", "index pip", "index dip", "index tip", "middle mcp", "middle pip", "middle dip", "middle tip", "ring mcp", ...
[ "70115786+bfafata@users.noreply.github.com" ]
70115786+bfafata@users.noreply.github.com
6ef63b1370f15c96f0052bd21466bd3759df1805
8e939e0f075a14377d87e0eb7729e4f0818f1df9
/zarc/old/views_2017-05-20-19:22:30.py
6430fada935c77135158fdeceb7ba6caefb39194
[ "MIT" ]
permissive
mimcomp/caseke
072d076c9442c19916d8f71ec25fa45676031914
3c0749a431bb2e2c82bcb292d528c748bea8b1ba
refs/heads/master
2020-06-02T15:42:24.159728
2019-06-03T16:34:09
2019-06-03T16:34:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
54,958
py
# coding: utf-8 # AUTOGENERATED BY gen_script.sh from kpony3.py # Copyright (C) Nyimbi Odero, Sat May 20 19:21:41 EAT 2017 import calendar from flask import redirect, flash, url_for, Markup from flask import render_template from flask_appbuilder.models.sqla.interface import SQLAInterface from flask_appbuilder.view...
[ "nyimbi@gmail.com" ]
nyimbi@gmail.com
f8d4c83e95760f8b23e19e6f471b208f148ec355
28bf7f3f490ce8cfd1fccd4f579b4a85f9241702
/solve-me-first.py
34f43fef5267bf29e374da60618d4746af8eef05
[]
no_license
Manishrdy/hackerrank-python-ps
c5ce7ea2fee9c9ac0459cd7d91f20f4ce523093f
9206b3ca0e7bb9fb9233351b6f1301cb584a807c
refs/heads/master
2022-04-19T19:33:51.081170
2020-04-19T13:57:03
2020-04-19T13:57:03
255,257,762
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 13 12:47:53 2020 @author: Manish """ def solveMeFirst(a,b): return(a+b) # Hint: Type return a+b below num1 = int(input()) num2 = int(input()) res = solveMeFirst(num1,num2) print(res)
[ "noreply@github.com" ]
noreply@github.com
bd65b1eac9b6a7bcc7a024c1d0a88b7c917f4e60
044e7d841c07d9a85e69d3783d92af5115bfed03
/connections/migrations/0009_auto_20200814_0202.py
3f2aa6c0e0741a8fd4fdcde4e70dfee0e0e97a4c
[]
no_license
t3ndai/outtaofficed
bf6be60422c6344438370aa428edd97ac6c10287
f556bc0cf06dc1c6d98814714e68443db97c1637
refs/heads/main
2023-08-06T15:58:17.811052
2020-08-28T01:49:24
2020-08-28T01:49:24
414,781,455
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
# Generated by Django 3.0.7 on 2020-08-14 02:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0005_auto_20200724_2108'), ('connections', '0008_auto_20200808_0054'), ] operations = [ ...
[ "ptdzonga@gmail.com" ]
ptdzonga@gmail.com
3d44285b7f4667f8c29bbb1bf7a019e76508ecb4
61673ab9a42f7151de7337608c442fa6247f13bb
/pillow/change-pixels-numpy-array-PixelAccess/main-PixelAccess.py
753aed3b65ccfc089b9e2661eb5527fc4b576b6e
[ "MIT" ]
permissive
furas/python-examples
22d101670ecd667a29376d7c7d7d86f8ec71f6cf
95cb53b664f312e0830f010c0c96be94d4a4db90
refs/heads/master
2022-08-23T23:55:08.313936
2022-08-01T14:48:33
2022-08-01T14:48:33
45,575,296
176
91
MIT
2021-02-17T23:33:37
2015-11-04T23:54:32
Python
UTF-8
Python
false
false
449
py
#!/usr/bin/env python3 # date: 2019.09.29 # `PixelAccess` changes pixels in original `img` # so there is no need to convert it back to `Image` # BTW: Image uses [col,row] (array uses [row,col]) from PIL import Image img = Image.open('image.jpg') pixels = img.load() width, height = img.size for col in range(widt...
[ "furas@tlen.pl" ]
furas@tlen.pl
56922e0d19840031cf2fd989884a3f68c517958f
28c0bcb13917a277cc6c8f0a34e3bb40e992d9d4
/koku/api/resource_types/azure_regions/view.py
903367bda356e2193783aa57648a5dc9d0784689
[ "Apache-2.0" ]
permissive
luisfdez/koku
43a765f6ba96c2d3b2deda345573e1d97992e22f
2979f03fbdd1c20c3abc365a963a1282b426f321
refs/heads/main
2023-06-22T13:19:34.119984
2021-07-20T12:01:35
2021-07-20T12:01:35
387,807,027
0
1
Apache-2.0
2021-07-20T13:50:15
2021-07-20T13:50:14
null
UTF-8
Python
false
false
2,126
py
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """View for Azure Region locations.""" from django.db.models import F from django.utils.decorators import method_decorator from django.views.decorators.vary import vary_on_headers from rest_framework import filters from rest_framework import generi...
[ "noreply@github.com" ]
noreply@github.com
d18307d62cb34e717a140ccc63c5b53f9fef1ac6
7a1ff5b9371ee3738c44593075cb71844a780e82
/Day10/test/receive_mq_test1.py
a3a3c330467c015202eefc32c481a16253e2a70e
[]
no_license
ToFgetU/Python3
4edeb70bb3441197378d2f1c5bfb51bcfc184c60
6db143da4623835f0e9486237ac94b965921b844
refs/heads/master
2021-01-20T10:10:39.555419
2017-09-20T13:40:56
2017-09-20T13:40:56
90,331,591
1
2
null
2017-10-13T19:31:00
2017-05-05T03:03:51
Python
UTF-8
Python
false
false
705
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Author: PanFei Liu import pika import time # 建立socket connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) # 创建管道 channel = connection.channel() #申明queue # queue = channel.queue_declare(queue='task_queue1') def callback(ch, method, properties...
[ "505567802@qq.com" ]
505567802@qq.com
dd278e527e84ca0c1483a203275bc175b8b32204
b19b344e4fbe4cad40eeb49b1989e13dd433e33f
/BM25-master/src/parse.py
3abc26b761b4d3d8cb34dd55ae5bf18ccbeac4b2
[ "MIT" ]
permissive
SonamGupta29/Word-Movers-Distance
1013b5539348f29148ef39c6f6a22f61780cf2f3
487cb2df70525f433c11a61cccf8424df1eeb365
refs/heads/master
2021-06-16T08:37:24.016932
2017-05-02T08:12:26
2017-05-02T08:12:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
__author__ = 'Nick Hirakawa' import re class CorpusParser: def __init__(self, filename): self.filename = filename self.regex = re.compile('^#\s*\d+') self.corpus = dict() def parse(self): with open(self.filename) as f: s = f.readlines() #print s for x in s: x = x.split("#") text = x[1] ...
[ "ganesh.borle@gmail.com" ]
ganesh.borle@gmail.com
1fcf8c3cf80973626638bcf11a199810ababede3
360bcc6875b8eeef832f6b5912bec44890afc0f7
/timeproject1/timer1/tm/views.py
54f2f6887ef7a34d5b71d57b932786cb84ede908
[]
no_license
sharath443/Django
1a002fd4efe180617edfb565381bd84ca9f37a36
93a5d31536070e5b5656b1b3a73aa3367d68174d
refs/heads/main
2023-06-23T15:29:25.080393
2021-07-29T13:47:06
2021-07-29T13:47:06
384,131,767
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from django.shortcuts import render,HttpResponse import datetime def time(request): today = datetime.date.today() yesterday = today - datetime.timedelta(days=1) return HttpResponse (f"yesterday date {yesterday}")
[ "79626926+sharath443@users.noreply.github.com" ]
79626926+sharath443@users.noreply.github.com
89c3129365c16cffea65e4bf0da0e43f7c75fc03
09cfb237e272ebc099f8cac7b915b309e2694813
/setup.py
db0ae3f7c955043a2e1427f784486788addc8187
[ "BSD-2-Clause" ]
permissive
mihi-tr/Dyssynchrony
6d64680d7313fc1f5be31763c171c45333e810f8
b5d8fe35163b1ce144b494b16e4aec49e68af38f
refs/heads/master
2020-06-03T06:07:47.496693
2014-11-15T15:50:26
2014-11-15T15:50:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from distutils.core import setup import py2exe setup(windows=[{'script':'gui.py', }])
[ "mihi@lo-res.org" ]
mihi@lo-res.org
29e67bc5dffdedc3e5056eabe24c6392761e9440
2766ab1abcb1fd203526c37e78d75617b6f926ad
/Algorithms/Implementations/AppleAndOrange.py
583a15ef7284be11283acab90e4ef398039dc810
[]
no_license
JWiryo/HackerRank
2465953c6933369c548e4096606ebacb69f9a599
1ecd0a134296d8f5703ad14c1780b858f6001c9d
refs/heads/master
2021-10-20T12:23:49.235807
2019-02-27T16:20:51
2019-02-27T16:20:51
111,561,805
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
#!/bin/python import sys s,t = raw_input().strip().split(' ') s,t = [int(s),int(t)] a,b = raw_input().strip().split(' ') a,b = [int(a),int(b)] m,n = raw_input().strip().split(' ') m,n = [int(m),int(n)] apple = map(int,raw_input().strip().split(' ')) orange = map(int,raw_input().strip().split(' ')) def countAppleAn...
[ "jamesgiggs95@gmail.com" ]
jamesgiggs95@gmail.com
ad2df6b8a4b5b1a74f780a295c9eebfbadacb6db
131f9efacc5944e1f1f156b82ae0f59fe1d39dfa
/django_quickblocks/migrations/0002_auto__add_field_quickblocktype_has_rich_text__add_field_quickblocktype.py
752a8a7bd6459d2f40fd1660969c53e1f12a0d44
[]
no_license
nyaruka/django-quickblocks
fcaeb5c45c968c96e47f34ca7c641b674f2194f6
2ac419caff11dad1570f0a56b4576e5e40cfa758
refs/heads/master
2022-11-12T18:32:27.666397
2014-10-29T17:04:13
2014-10-29T17:04:13
1,535,809
6
4
null
2022-11-03T10:37:39
2011-03-28T08:47:23
JavaScript
UTF-8
Python
false
false
9,029
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'QuickBlockType.has_rich_text' db.add_column('django_quickblocks_quickblocktype', 'has_rich_t...
[ "nicpottier@gmail.com" ]
nicpottier@gmail.com
687e687e614798cfd72c569e38bab5defbb3776f
fc95e3c6ff4a0575c45a90990b2d6bd71c2e4eb7
/dynamic/serializers.py
7edb3441ee62a3f95a30c0fc422e9de8f4e12171
[]
no_license
melerz/dynamic-modules
4843940ac21edb2680edf2df427722cca513e70a
7703cc450556b95186ec2793f6f1c62e859f9f04
refs/heads/master
2020-06-08T23:21:55.793414
2015-04-30T23:54:13
2015-04-30T23:54:13
35,182,150
4
0
null
null
null
null
UTF-8
Python
false
false
896
py
from rest_framework import serializers from eav.models import Experiment,Values,Attribute class ExperimentSerializer(serializers.ModelSerializer): #analyzes = serializers.HyperlinkedRelatedField(many=True,read_only=True,view_name='analyze-detail') class Meta: model = Experiment #fields = ('id','experiments','at...
[ "melguy@gmail.com" ]
melguy@gmail.com
92785644c971f51c1aff7d47c833a14c473328a3
dea5dfdc661309fa26fc93d4884fbcbb75e4d8a0
/Back_ground/control/classcontrol.py
be904879e1ec0441ee72a9fc24b89447004fa001
[ "Apache-2.0" ]
permissive
sherwel/Behavior_culture
0583ba061d7a2feba8f45c2b574005fcc76e4cfd
43b68e50aed369aacefc5435ec4f9b70960d2344
refs/heads/master
2021-01-10T03:47:20.328109
2016-02-29T04:42:49
2016-02-29T04:42:49
50,472,281
1
1
null
null
null
null
UTF-8
Python
false
false
7,199
py
#!/usr/bin/python #coding:utf-8 from tool import SQLTool ,config from Back_ground.model import takeclass,Class limitpage=15 localconfig=config.Config() def haveclassshow(schoolid='',classid='',teacherid='',page='0'): validresult=False request_params=[] values_params=[] if schoolid!='': reque...
[ "nanshihui@qq.com" ]
nanshihui@qq.com
e849fe83ee31102187f816d92ec5a1e5bad182ef
caab2457e8f4961ec7e3725f5060f899161e0c7e
/Algorithm_And_Data_Structure/tree_graph/convert_sorted_array_to_BST.py
ff1e8c34b2ed7a1d9545b7e17d012b06bb697d31
[]
no_license
omidziaee/DataStructure
7ea9991737ecbf97bd17ec9aea1db0383c5a390c
66a4325c5999535e64e8e985bac4e3a96108bf1a
refs/heads/master
2021-06-06T17:37:42.003610
2020-04-05T03:38:02
2020-04-05T03:38:02
148,665,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
''' Created on Apr 10, 2019 @author: USOMZIA Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1. Example:...
[ "omid.ziaee@gmail.com" ]
omid.ziaee@gmail.com
e5b476c813cebc167dbe1f7ed3d44155f3b0cb28
b612817dd1470e95fbd32bc13f776e26029335ae
/ABCapp/migrations/0001_initial.py
fbe8bdd68fd26ae056a8612acc21a309b35db32a
[]
no_license
Gunjankumar08/proABC
1d7dcb1e4a849f5939938f8ed6b96cd8315c53d9
c7f6b7ec917b2bed57611e2c9a98cf536ea733bd
refs/heads/master
2022-07-24T10:43:54.659864
2020-05-18T05:37:39
2020-05-18T05:37:39
264,833,465
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
# Generated by Django 3.0 on 2020-05-04 18:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "gunjan.kr518@gmail.com" ]
gunjan.kr518@gmail.com
7e926ec8d71203a04028b636b1dee9579f4d8a87
baf7976d694868d49128f3ca9b3826da67f6a0c5
/MachineLearning/LR/logRegression.py
598891d2be96eabf3ad20c93a17d85034f35b707
[]
no_license
SunshineAllWay/MachineLearning
6128588bf93064ca651a0d7af1cc15c0225e8140
6fcf4bf418e66adde45ec58d4714df76b5f3b7f3
refs/heads/master
2021-01-17T05:53:24.139572
2016-08-05T14:55:17
2016-08-05T14:55:17
65,026,788
0
0
null
null
null
null
UTF-8
Python
false
false
3,743
py
from numpy import * import matplotlib.pyplot as plt import time # calculate the sigmoid function def sigmoid(inX): return 1.0 / (1 + exp(-inX)) # train a logistic regression model using some optional optimize algorithm # input: train_x is a mat datatype, each row stands for one sample # ...
[ "mhnfwln@126.com" ]
mhnfwln@126.com
7de9636087c3acbe6e89afcdd51da98bfa841d98
9f0c06ccceeaf2730007e5ca3c1c9dc661d90789
/Lesson19/QuizFive.py
476024f90fe47142f25d6cf9c289363070671b88
[ "MIT" ]
permissive
SamRicha/CS101
58793def64be81a87ebbdfe6c8a6a11d13426330
9b6c1334293221a5c7a68f450aa069a19b50d08d
refs/heads/master
2020-04-05T10:55:20.459099
2018-11-27T07:26:11
2018-11-27T07:26:11
156,815,939
0
0
null
null
null
null
UTF-8
Python
false
false
3,762
py
# Dictionaries of Dictionaries (of Dictionaries) # The next several questions concern the data structure below for keeping # track of Udacity's courses (where all of the values are strings): # { <hexamester>, { <class>: { <property>: <value>, ... }, # ... }, # ... } # For ...
[ "noreply@github.com" ]
noreply@github.com
667ca1db47bb4e132b3b6150d73b4ced1d27b3c8
de70d6f52f8f7c314c81e9cfd606771ca694cf5b
/min and max values in a number.py
472399a4f64128bee9278c681d5a98168086ade5
[]
no_license
SAI-VARMA427/coder-in-future
daa48cac2ec47fe6284021bccf5a47b122544e36
fa4a0dc5d5f4f74092d862dbffa5039f701f7d2b
refs/heads/main
2023-05-05T20:27:50.552312
2021-05-29T14:14:06
2021-05-29T14:14:06
371,989,039
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
num=int(input()) m=num%10 n=num%10 while num: r=num%10 num=num//10 if r>n: n=r if r<m: m=r print (m,n)
[ "noreply@github.com" ]
noreply@github.com
ef24ba60db7198ba0b519cb7a3e69990ba8cea61
87bb2b9258c887e8fbcaca08d18e5d95ae96462d
/Codewars/Python/6kyu/6kyu_Sort the odd.py
8cedc8b089fe3134f4a5c46a38957c62ca3278d3
[]
no_license
KonradMarzec1991/Codewars-LeetCode
a9e4d09f4271fecb3a7fc1ee436358ac1bbec5e4
442113532158f5a3ee7051a42e911afa5373bb5f
refs/heads/master
2023-04-21T17:04:37.434876
2021-05-11T21:47:14
2021-05-11T21:47:14
166,555,499
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
def sort_array(source_array): sorted_odds = sorted([d for d in source_array if d % 2 == 1]) startpoint = 0 for d in range(len(source_array)): if source_array[d] % 2 == 1: source_array[d] = sorted_odds[startpoint] startpoint += 1 return source_array
[ "konrimarzec@gmail.com" ]
konrimarzec@gmail.com
ec2d22fc42e567b8a794d143649e7207812734ca
7242d716df4859db76a7706318fa16c40ef84881
/Algorithms/reverse_integer.py
f302397e7c767bc7b3bfe75679948a82e399ae67
[ "Apache-2.0" ]
permissive
kyogesh/leetcode-solutions
2bd31d51fc5b45bed48851fa4961be33d1f117df
2ab09e7487409856ecc9453f37410e0797d98a81
refs/heads/master
2022-07-18T20:20:01.296010
2020-05-19T19:45:08
2020-05-19T19:45:08
265,229,079
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
class Solution: def reverse(self, x: int) -> int: result = None if x > 0: result = int(str(x)[::-1]) elif x < 0: result = -int(str(x)[1:][::-1]) else: result = x if result < -2**31 or result > (2**31 -1 ): return 0 ret...
[ "yk.301198@gmail.com" ]
yk.301198@gmail.com
844a75a41f3d66405dd80d5bfc9004b0700ee34c
a479a5773fd5607f96c3b84fed57733fe39c3dbb
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/bgp/peer_groups/peer_group/use_multiple_paths/ebgp/state/__init__.py
bb2f3ba984ed9af5079bfaa77f8bc4d6cafda7c5
[ "Apache-2.0" ]
permissive
napalm-automation/napalm-yang
839c711e9294745534f5fbbe115e0100b645dbca
9148e015b086ebe311c07deb92e168ea36fd7771
refs/heads/develop
2021-01-11T07:17:20.226734
2019-05-15T08:43:03
2019-05-15T08:43:03
69,226,025
65
64
Apache-2.0
2019-05-15T08:43:24
2016-09-26T07:48:42
Python
UTF-8
Python
false
false
22,119
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
20801f8c149ee791c92ced7ac844ed5f782b6a63
f7734c78679d421c8a8a63072692466233b35bf1
/dev/runner.py
27f66cc56efa0e0f2e33cd981bd065b07442db0d
[]
no_license
bnapora/wheat_detection
406f4a8bdf2f950a168f5d6c3e97310e9a964892
e4420e625475c474787964a2e47a6e265ae42467
refs/heads/master
2022-12-26T10:27:40.261166
2020-09-25T22:10:22
2020-09-25T22:10:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,982
py
from pipline import Datapipline, Wheat_Dataset from global_config import Preprocess_config from leaner import AverageMeter,Fitter from torch.utils.data import Dataset,DataLoader from torch.utils.data.sampler import SequentialSampler, RandomSampler import torch import torch.nn as nn from timm.utils import ModelEma fr...
[ "heye0507@gmail.com" ]
heye0507@gmail.com
e45e79f6041b2bbf431cde81e4d07791be6dc9a8
0d0bcdbe70a9c595de45a351ac46eca8de3b2207
/DAY_5_While_loop.py
c67194821380b6ef9ab4417aefd7297ceeac6d39
[]
no_license
rsaiteja903/EDUYEAR-PYTHON---20
de0e8a51d057355f72e405f861b92e41f1ac2f04
2af56e47ba849432e61e13ed782e303e46bac07e
refs/heads/main
2023-06-08T09:48:33.592914
2021-06-23T15:59:05
2021-06-23T15:59:05
369,974,803
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
l=[] while(1): n=input() if n!='q': l.append(int(n)) else: break print("Press 'q' to exist") print("Sum of integers is : {}".format(sum(l)))
[ "noreply@github.com" ]
noreply@github.com
9602630702d42d0b11831605326a2ac95fab89e6
c04cacb72f04a478b1168fd1c99a7374e185332c
/gym_SnakeGame/envs/__init__.py
81e9d6fcc454c9d3816a7313a9d3328360fadb8a
[]
no_license
x2ever/Snake-Game
6f5dc17843b51ee1cfeadfce2593cd9cb13ac5ba
07d73b2b63b90091915fa9e1a8c3b9db879cc98e
refs/heads/master
2021-12-22T22:19:59.258420
2021-12-21T22:51:50
2021-12-21T22:51:50
225,833,456
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
from gym_SnakeGame.envs.SnakeGame import SnakeGameEnv
[ "x2ever@naver.com" ]
x2ever@naver.com
43ae334c71f552a7b8f4f33f5eca2622df2502af
910cf7d82a30ce57b2fa9094c6f83f369901e88d
/bk_easy_ai/part3/p161/MNIST_Light.py
325efb07a064b263e333f4596ec18fa101dca37c
[]
no_license
agapeuni/python_bk_ai
1b602a6caf53a7edf1ff0f692ed3d2d1b4ad8869
0d04cb751290798d7a381ff307fe78cfc9c5d5c5
refs/heads/main
2023-09-04T19:38:11.939299
2021-11-14T23:38:13
2021-11-14T23:38:13
391,248,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
import tensorflow as tf from keras import datasets, layers, models import matplotlib.pyplot as plt import numpy as np (train_images, train_labels), (test_images, test_labels) = datasets.mnist.load_data() train_images = train_images.reshape((60000, 28, 28, 1)) test_images = test_images.r...
[ "agapeuni@naver.com" ]
agapeuni@naver.com
8c96142c82328ac1b3bf46a24148f266a669a9f1
0f4680f49a56d2f60424b5ed6243d2189f3e2a70
/Code_and_imgs/boss_bullet.py
94ddd5052e1517e15063577972b652cd621a9321
[]
no_license
ryanrusli/ITP_Sem1_FinalProject
6b5aa7a333385f451215cd6e31ce20fb24795894
afcb355a8195980ba23eb725e002f226c9573a85
refs/heads/master
2020-04-07T15:27:01.477090
2019-09-18T15:29:48
2019-09-18T15:29:48
158,485,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
import pygame class Bossbullet: def __init__(self,bulx,buly,color): #alien bullet attributes self.color = color self.bulx = bulx self.buly = buly self.radius = 10 self.limit = 20 self.vel = 30 def draw(self,win): #function to ...
[ "noreply@github.com" ]
noreply@github.com
819b9efa6a612158d02b776bf382a492bcb9152b
9dd3302ebc482f84c91e3e254a0996f3cdbfcfdf
/Day2/D2_exercises/D2_exercise_solutions/turn_forever/src/turn_and_turn.py
24d2e73432dcd5923336bf3d4118d97e734fcbdd
[]
no_license
Vodolay/ROS-Programming
9cd90e08fb413ada2917507500c5bbe4ed0cc1b1
bc7593c29c443fdc5eb5e9e72ff9bb56e40e6431
refs/heads/master
2020-12-03T00:54:54.488805
2020-01-16T02:58:11
2020-01-16T02:58:11
231,164,612
0
1
null
null
null
null
UTF-8
Python
false
false
395
py
#! /usr/bin/env python import rospy from geometry_msgs.msg import Twist rospy.init_node('turnstyle') pub = rospy.Publisher('/cmd_vel', Twist, queue_size=1) rate = rospy.Rate(10) go = Twist() go.linear.x = 0.5 #Move the robot with linear velocity 1.0 in the x-axis go.angular.z = 0.5 #Move the robot with angular veloc...
[ "37164020+Vodolay@users.noreply.github.com" ]
37164020+Vodolay@users.noreply.github.com
5b3640c062fbea040696bf08effe6efadcc1b196
57682a7edee523d087f383066cf69f3bce3351a4
/folders_based_tab_widget.py
cdb2a2936023bdae04dc952e264c8cd0d2220f9b
[]
no_license
hoshmy/GenericSimulatorJSON
82b3c0c84e5f21677568955d3a439c09a19d076a
18a01425857caf9c3082258b00d44fb4d015322c
refs/heads/master
2021-04-30T09:28:10.630383
2018-02-19T05:36:39
2018-02-19T05:36:39
121,309,070
0
0
null
null
null
null
UTF-8
Python
false
false
2,564
py
import os from enum import Enum from PyQt5.QtWidgets import QTabWidget from PyQt5.QtWidgets import QWidget from ninja_widget import NinjaWidget from commands_widget import CommandsWidget from statuses_widget import StatusesWidget from mixed_tab_widget import MixedTabWidget from global_declarations import EntityNameMo...
[ "hoshmy@gmail.com" ]
hoshmy@gmail.com
ef1c013cd55b95725b787557e86769b4fd758760
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/cyphon/cyphon/alerts/migrations/0011_auto_20170815_1432.py
83a21b67e06bc5f594c3731289b36f09f4baa58f
[ "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-copyleft", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
621
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-15 18:32 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('alerts', '0010_remove_alert_tags'), ] operations =...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
82519a5e2771413edc95e5dee8e2e066d793d518
e838076bc1c8aedbb8c77710b1a1a32efc3a4da1
/pc1/models.py
1e61f611c4a5dbf401dcd01d926e4bc857bb4b2f
[]
no_license
abbasgis/ferrp
5f2f7768f0e38e299498c2e74379311698b6321f
77736c33e7ec82b6adf247a1bf30ccbc4897f02e
refs/heads/master
2023-05-25T09:59:45.185025
2021-06-12T09:15:07
2021-06-12T09:15:07
376,236,936
0
0
null
null
null
null
UTF-8
Python
false
false
4,549
py
from django.db import models # Create your models here. class AdpDraft201718Vw(models.Model): gs_no = models.TextField(primary_key=True) # This field type is a guess. s_name = models.TextField(blank=True, null=True) # This field type is a guess. district = models.TextField(blank=True, null=True) # Thi...
[ "abbas123@abc" ]
abbas123@abc
d1f9b59e66286e7023d586daf27bfedd4362450a
8e85a7f743009277e1e5fd7a3b0f82444b420c45
/P1/feature_selection/Pearson_correlation.py
aa841b886e529e6a3a71eb933a47e0a750710f96
[]
no_license
vaivaug/ML_P1
dcebf5a754e6f5084370c4d6a532e5ec6a87a03b
396512fbc43033de8ad768307541e057f6738b30
refs/heads/master
2022-10-15T09:25:21.907559
2020-03-13T01:45:26
2020-03-13T01:45:26
241,874,410
0
0
null
2022-09-30T18:48:57
2020-02-20T12:07:48
Python
UTF-8
Python
false
false
2,130
py
import pandas as pd import matplotlib.pyplot as plt from numpy import mean from numpy import std # from tkinter import * import numpy as np from pandas.plotting import scatter_matrix import seaborn as sns from sklearn.feature_selection import f_regression from scipy.stats import pearsonr from scipy.stats import spearma...
[ "vaivaug@gmail.com" ]
vaivaug@gmail.com
9b1c42e1fe2eaac434340182ab967929202ca882
aadf3adad3d58004806248b99fbf0eafa250e72c
/text_never_seen.py
e003329e3c41d7cc5871e28ba5cf4cee8c01e8fb
[]
no_license
HakubJozak/book-prereader
d3862227d678686647b7a0f78f247b548577f7e6
00acf4585b641165d9bd102ba49e34661259752c
refs/heads/master
2021-05-15T23:04:15.857297
2017-10-14T17:28:08
2017-10-14T17:28:08
106,867,493
2
0
null
null
null
null
UTF-8
Python
false
false
3,727
py
import nltk from gensim import corpora, models from nltk.corpus import stopwords from nltk.stem import WordNetLemmatizer dictionary = corpora.Dictionary.load('data/dict100k.dict') corpus = corpora.MmCorpus('data/corpus100k.mm') tfidf = models.TfidfModel.load('data/tfidf_100k') wordnet_lemmatizer = WordNetLemmatizer() ...
[ "jmj@isibrno.cz" ]
jmj@isibrno.cz
f201b7af3113299474b239df7110bf1c35755eda
8e159a7706ca86291bd2fe7243caa47dc20b39af
/craftapp/apps.py
c3d72828dd6e34d910301ee578ee0dc2aeb86461
[]
no_license
kamelmojtaba/Craft-Zone
85529f3749189c1995ba185dd9b975fe765bc97b
2c52ec25ca22805a323e90a695f557d9f9b12437
refs/heads/main
2023-05-13T08:37:11.476830
2021-05-22T15:36:25
2021-05-22T15:36:25
359,163,396
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
from django.apps import AppConfig class CraftappConfig(AppConfig): name = 'craftapp'
[ "kamelmojtaba2@gmail.com" ]
kamelmojtaba2@gmail.com
660c7581b779bf195b79489834b2aa98d78b1072
17ea540df3479150f67b6087303816b97340eb4e
/testTopologyEvolutionOmegaPositiveWithInitialization.py
07a6812294ff16cab9b9162134814a3f8c5c3b16
[]
no_license
x17wang/neoSeg
a848a8d03128544372f66220b3960444dd7fe796
592cfef2fe5b6db5cbe5ff6b534422122d830384
refs/heads/master
2020-08-03T20:29:08.818672
2019-09-20T17:03:05
2019-09-20T17:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,854
py
# coding=utf-8 import os,sys import numpy as np import math import nibabel from skimage import measure from scipy import ndimage from numba import jit from testDownsamplingSref import downsampling from createInputsTopology import buildInputs from testTopologicalTools import checkConnectedComponents def isBinarySimpl...
[ "carlos-tordiez@imt-atlantique.com" ]
carlos-tordiez@imt-atlantique.com
69adade10af261f770f533dc154ed3f034708348
cdab2f2b67fd80ae91ad7ab3b7ae6b8f1af701c7
/venv/lib/python2.7/site-packages/zenpy/lib/objects/ticketmetric.py
9438cc3fc32b00606a7b8ebc9fa73f0fd8e0b5a7
[]
no_license
dpetkevich/benServer
b3be224778fd65263bd2f0a0810484b7ec0ef118
b325887bedb2a012e99bd41374db1921050940e8
refs/heads/master
2023-01-08T18:52:59.563178
2015-09-29T15:09:50
2015-09-29T15:09:50
42,692,314
0
0
null
2022-12-26T19:55:38
2015-09-18T01:33:37
Python
UTF-8
Python
false
false
3,137
py
import dateutil.parser from zenpy.lib.objects.base_object import BaseObject class TicketMetric(BaseObject): def __init__(self, api=None): self.api = api self._solved = None self.solved_at = None self._updated = None self.updated_at = None self._assigned = None self.assigned_at = None self.reopens = ...
[ "daniel.petkevich@gmail.com" ]
daniel.petkevich@gmail.com
2e824815f42f7ee0d3d6bb99a78649ebe445a9c9
23bf7274397e5e1db12ae931f12b6823f14be04d
/generatePedFile.py
5c451822d2ce6254dc5a16a4f9deb1f732a073f4
[]
no_license
das2000sidd/Bionformatics-related-scripts
0107bb9393f79e5eb3dba8aea1b1a3ec66954d97
74554ed892ff7053fc15fbf3f4837719d70a9fc4
refs/heads/master
2021-09-07T02:54:57.292414
2018-02-16T08:42:47
2018-02-16T08:42:47
108,601,632
1
0
null
null
null
null
UTF-8
Python
false
false
8,020
py
import time import re import sys import argparse def generatePed(b): if(len(b) < 1): raise ValueError('Error: Cannot parse empty string into boolean') if(b=='True'): return True if(b=='False'): return False raise ValueError('Error: Cannot parse string into boolean') def Main(): listOfArguements=[] parser...
[ "noreply@github.com" ]
noreply@github.com
0d029586fbb7b000e61dc10e1f463dbd3897d403
1ec13355db04d8258bb7a2da7eef7d686b5e30f6
/app/main/forms.py
6688738b585401e376981057ab63a60c0b9ab940
[ "MIT" ]
permissive
Munene19/IP9-Pitch
58a6be8af8b5e0fd4f0bcce6f3f9e5570af11ba7
840e8f1ecf42f39f0467d875f35402c8eaeb5d28
refs/heads/master
2022-09-20T13:40:30.048077
2020-01-17T07:55:55
2020-01-17T07:55:55
233,050,168
0
0
null
2022-09-16T18:16:30
2020-01-10T13:14:17
Python
UTF-8
Python
false
false
825
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, ValidationError, BooleanField, TextAreaField, SelectField, \ RadioField from wtforms.validators import Required class UpdateProfile(FlaskForm): bio = TextAreaField('Tell us about you.', validators=[Required()]) su...
[ "munenexv@gmail.com" ]
munenexv@gmail.com
b90305a84181787967094befd48f9aada3c02e1b
ebb53175646037d2eae1d476a318630f3a0fc909
/core/migrations/0004_m_datas.py
871e496c83ce6ea56fd437ee2cd2139718878359
[]
no_license
rifat0rahman/openapi
40eb47b516069c569fcee1bdc945616946edb228
fa462cf5304ba45bfd9e182f215cb4d862030929
refs/heads/main
2023-07-15T16:19:55.765008
2021-08-13T21:30:06
2021-08-13T21:30:06
393,740,899
0
0
null
null
null
null
UTF-8
Python
false
false
1,640
py
# Generated by Django 3.2.6 on 2021-08-11 20:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_alter_data_importo_gara'), ] operations = [ migrations.CreateModel( name='M_Datas', fields=[ ...
[ "69579356+rifat0rahman@users.noreply.github.com" ]
69579356+rifat0rahman@users.noreply.github.com
a28c8e7a5f82e94e383916d99e137a20c2856eda
e433938cf4240908ea983768b84fb5645b840c6f
/blackjack.py
ca712dd229150d7477ed3500aae4c58c85fb1001
[]
no_license
dazun-dtb/Blackjack
4fddeb4548e231f855e1ab5df2723f54b90cd8fe
ee4adcc378433b9d1d348a2cdd22469c1d1797aa
refs/heads/master
2022-11-22T14:03:48.648046
2020-07-20T06:15:43
2020-07-20T06:15:43
281,030,385
0
0
null
null
null
null
UTF-8
Python
false
false
5,633
py
import random import math end=1 chip=100 while end!=0: trump=[1,2,3,4,5,6,7,8,9,10,10,10,10]*4 d=[] p=[] n=48 pb=0 db=0 r=random.randrange(0,52) d.append(trump[r]) del trump[r] r=random.randrange(0,51) d.append(trump[r]) del trump[r] r=random.randrange(0,50) p.app...
[ "noreply@github.com" ]
noreply@github.com
5000e9ebd817b377e8eb079329f358f7f4736042
32353f9863400c7211cd845ee8a4799f6b310e8e
/知乎-看知乎-批量查询用户Hash.py
2b8ae8efabaf5c21d4be62d6423c8089880e4854
[]
no_license
BewareMyPower/Python-Learning
bb96aa99013b070a5a1e31e3b6c42430c1e6ae59
0c776f5ed70ed803a5b1b2fc95f0b3f905c9af79
refs/heads/master
2021-01-24T05:43:04.673141
2016-06-28T14:19:36
2016-06-28T14:19:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
import requests, time, json start_time = time.time() # 初始时间戳 # ================读取剪贴板================ from tkinter import Tk r = Tk() read_text = r.clipboard_get() text_readline = read_text.splitlines() print(text_readline) line = [] for i in range(len(text_readline)): entry_start_time = time.time() try: ...
[ "anywaywillgo@gmail.com" ]
anywaywillgo@gmail.com
358fb17946bffa6a9b6544103c7bc9e5d9173729
8ac998630b687fc05bb78fee7b1b53854a5ba894
/python/PyQt5_MenuAndToolbar/PyQt_MenuAndToolbar.py
1ab510fc1f08a0b3a1234aa94ef8bc264dd65c71
[]
no_license
YJH2099/pythonActions
86cf51ac5cb9ae1c60e5879efd602369b2bdca3b
716c4fbf8d0cd2d8dedc167d17c6c2296570ff82
refs/heads/master
2022-06-13T07:16:23.747934
2020-05-07T05:51:43
2020-05-07T05:51:43
260,823,919
2
0
null
null
null
null
UTF-8
Python
false
false
3,844
py
''' 用PyQt5实现菜单和工具条的制作 其中,工具条可以位图与文本同时显示 显示状态栏(包括标签,实时显示时间) ''' ''' 调用的类库 ''' import sys from PyQt5 import QtWidgets,QtGui,QtCore from PyQt5.QtCore import Qt import time,datetime ''' 创建主窗口 ''' class MyMainWindow(QtWidgets.QMainWindow): def __init__(self,parent=None): super(MyMainWindow,self).__init__(pare...
[ "57754871+YJH2099@users.noreply.github.com" ]
57754871+YJH2099@users.noreply.github.com
c4efff0966532f4a7d4d8ee3839194c7e641bf5c
91668f2d4404dd3d85b598b15b852d5a2eeeec6a
/setup.py
27912b3549aa77181a86318e03cafa84b6cf5e87
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
r-swilderd/mi-instrument
b4fd841f05e7c0522580b73f145c2a826ccf21d6
34b60925a01d6cf89db254fdc75566c59ccba144
refs/heads/master
2021-01-17T21:56:34.298829
2015-08-29T23:02:31
2015-08-29T23:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import os import sys # Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml) if sys.platform == 'darwin': os.environ['C_INCLU...
[ "petercable@gmail.com" ]
petercable@gmail.com
e5ff4fc440892847e2b8cd2bb4af408b58478ab9
5c2e7ab4b89f5e6b29d27c02f46d75331aa16cc2
/classifier.py
a2e89cfc450b24bba063eb8a85a41ff3417fc0e8
[]
no_license
Koki-Yamaguchi/AtcoderFinder
4b10ee6e147be94fe7aa5241ffcaaac609418bd8
6047ad831cfcbad427eb37d021f70b71b5d0ac57
refs/heads/master
2021-04-15T19:03:05.705432
2018-04-09T02:32:45
2018-04-09T02:32:45
126,480,285
5
1
null
null
null
null
UTF-8
Python
false
false
3,821
py
def classify(statement, codes): tags = ['グラフ', '数論', '幾何', '動的計画法', 'データ構造', '文字列', '数列', '確率・組合せ', 'ゲーム'] apparent_keys = [['グラフ', '木', 'パス',], [], ['半径',], [], [], ['文字列',], ['数列',], ...
[ "yk49at21@gmail.com" ]
yk49at21@gmail.com
04dafde3bc7f94f93d9f00a64036a3aba00ae0e4
caf0ba85f1c7a2b7208e7f0acebb3c047b17b0ba
/4_py_libro_1_pydroid/venv/4_py_libro_1_pydroid/COLECCIONES/py_1_collecciones.py
f5b5a8874953870d8fbe5e698201b48134170b5f
[]
no_license
JAreina/python
12ca9bd5467420a813ac3f33b0adba6cd492f855
3b9ac8d37ab2abe70e34043857f96a76c19468c8
refs/heads/master
2020-03-22T07:57:31.675271
2018-09-12T06:38:49
2018-09-12T06:38:49
139,735,465
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
import collections c = collections # JAreina a = c.Counter([2,2,8,5,1,2,3,4,5,8]) print(a) b = 'en un lugar de la mancha' print( c.Counter(b)) d = ['a',"b",'c',"c",'z'] print(c.Counter(d)) print("\n ::::::::: update counter::::::::::::\n") e = c.Counter() print(e) e.update("hola hola") print(e) #JAreina e....
[ "jareinafdez@gmail.com" ]
jareinafdez@gmail.com
09d978312cf40528fc55805bbff92edcd2144521
f582c7d7a3403d1baf0d66f1a12c0a7c6a441e34
/setup.py
30242ada696bdbe196d917764e8a37d88161736e
[ "MIT" ]
permissive
bbbdragon/python-pype-lang
5c0e01676dff5a8df72bad40779e4584eff17c8c
f0618150cb4d2fae1f959127453fb6eca8db84e5
refs/heads/master
2020-05-02T15:01:05.784579
2019-10-23T18:45:57
2019-10-23T18:45:57
178,028,764
8
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
from setuptools import setup, find_packages #with open("README.md", "r") as fh: # LONG_DESCRIPTION=fh.read() setup(name='python-pype-lang', version='1.2.0', description='Python-integrated functional programming language - Provides easy-to-use pseudo-macros for common functional programming tasks such a...
[ "bennettbullock36@gmail.com" ]
bennettbullock36@gmail.com
b95a30e808645178f28fb09317dde8176bc5a004
ef284635397e42b07b3883afb493a94477b171fe
/test.py
647a982f0da1367153c4c5aab6e717d47262fb0b
[]
no_license
killsking/GradNet
ef1d61f62c6aff04f1dcfd98da88e9785cd96b15
402f02bae750c3e3faca2ffbb85d90c58899116f
refs/heads/master
2021-04-12T15:31:49.082655
2020-01-05T07:57:21
2020-01-05T07:57:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,026
py
from glob import glob import cv2 import tensorflow as tf import numpy as np import time from numpy import inf from data_generator import data_generator from util import data_loss, first_order_loss, grad_loss, calc_grad_x, calc_grad_y, \ get_features_array, get_color_array, preprocess_data, get_grad_array, revert_h...
[ "18340018269@163.com" ]
18340018269@163.com
1bad826ed734f489a07dff38e4ad9d7dc8341fa6
1e2c05dfa2abf5a16cb75a68bc42d70256fccc6b
/infos/templatetags/stats_extras.py
1f7cfbdd24d968ad675e96ff5d137bb2b76ddc4d
[ "MIT", "CC-BY-SA-4.0" ]
permissive
acdh-oeaw/apis-core
b491011a30226d0682be045517bee08c6af71bbd
508545fa5119e1895801cc02c33b62ee33518183
refs/heads/main
2023-09-01T03:04:19.622371
2023-05-17T14:21:48
2023-05-17T14:21:48
96,198,214
14
5
MIT
2023-06-12T12:40:21
2017-07-04T09:04:29
Python
UTF-8
Python
false
false
1,325
py
from django import template from django.contrib.contenttypes.models import ContentType register = template.Library() @register.simple_tag def create_object_count(app=None): """fetches all models of the passed in app and returns a dict containg the name of each class and the number of instances""" if ap...
[ "m.schloegl@gmail.com" ]
m.schloegl@gmail.com
f2db5d1de5f2590a76dfeb3b761115cddc8a4693
c5b1d4254f1aa6d88b16502c7a5b45714b585503
/List_Wanlop_P.py
3955b337c30505b26d33cf0140d5aa12a52f8d39
[]
no_license
Wanlop2/programming
8dfa15e00e8b4e8a0bd870218c3f898f651301f2
f6cfa5a8b66e1b68235b401b3d896370c22b6ad0
refs/heads/master
2020-06-12T19:43:20.411261
2019-10-18T11:11:29
2019-10-18T11:11:29
194,405,577
0
0
null
null
null
null
UTF-8
Python
false
false
2,293
py
#!/usr/bin/env python # coding: utf-8 # # 1.กำหนดให้ month = ["Jan","May","Jul","Aug","Oct","Dec"] # 1.1ให้เขียนคำสั่งโปรแกรมเรียกใช้เมธอด แทรกเดือนที่ขาดหายไป # 1.2ให้เขียนคำสั่งโปรแกรมเรียกใช้เมธอด ลบชื่อเดือนตำแหน่งที่ 2,5,9 ออกจากลิสต์ # 1.3ให้เขียนคำสั่งโปรแกรมเรียกใช้เมธอด แสดงชื่อเดือนที่เหลืออยู่ในลิสต์ # In[...
[ "noreply@github.com" ]
noreply@github.com
2f44a2a3e2304fa716d563c22a881c2c0fbf5ef7
257bd63361aa846ffdacdc15edaecf84c6364e78
/psou/pro1/pack3/class_ex9.py
b5fb7d6e7b2028d16e4b7c2b560541e4fb51073b
[]
no_license
gom4851/hcjeon
86dcfd05ce47a13d066f13fe187d6a63142fb9fe
59a00ca9499f30e50127bb16eb510553e88ace43
refs/heads/master
2020-06-04T23:16:08.632278
2019-01-15T09:54:08
2019-01-15T09:54:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
''' Created on 2018. 11. 8. 상속 ''' class Person: say = "난 사람이야~" nai = '20' __kor = 59 # 앞에 __ 해주면 private가 됨. def __init__(self, nai): print('Person 생성자') self.nai = nai def printInfo(self): print('나이:{}, 이야기:{}'.format(self.nai, self.say)) def h...
[ "wer104@naver.com" ]
wer104@naver.com
1d9066b6f8c175153341870908a2697e4398d8bf
e0df2bc703d0d02423ea68cf0b8c8f8d22d5c163
/ScientificComputing/ch14/filter_equalizer.py
8d3830bd050cd0f33b823f8ec982a021af94ccdc
[]
no_license
socrates77-sh/learn
a5d459cb9847ba3b1bc4f9284ce35d4207d8aa8b
ae50978023f6b098b168b8cca82fba263af444aa
refs/heads/master
2022-12-16T16:53:50.231577
2019-07-13T13:52:42
2019-07-13T13:52:42
168,442,963
0
0
null
2022-12-08T05:18:37
2019-01-31T01:30:06
HTML
UTF-8
Python
false
false
860
py
# -*- coding: utf-8 -*- import scipy.signal as signal import pylab as pl import math import numpy as np def design_equalizer(freq, Q, gain, Fs): '''设计二次均衡滤波器的系数''' A = 10**(gain/40.0) w0 = 2*math.pi*freq/Fs alpha = math.sin(w0) / 2 / Q b0 = 1 + alpha * A b1 = -2*math.cos(w0) b2 = 1 - alp...
[ "zhwenrong@sina.com" ]
zhwenrong@sina.com
b38afab8eab6bf6cf36a2b3a65f41fdc194c7892
358305e18a0b4bd7b3e1a68ca4e2e38cdfc62cd2
/aoc18_python/day4_1.py
09cb8a2c28316ebc4c2dfb748f7daf58066400fa
[]
no_license
Choffe/aoc
58cb03aaa37599a4d98dbc250c58ddf28930a628
6469c8f49007ac4c83477f4f3624362ddc32041a
refs/heads/master
2021-12-23T22:51:29.280053
2021-12-21T10:25:46
2021-12-21T10:25:46
232,748,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
input = open("day4_input") from datetime import datetime import re class entry_obj : def __init__(self, date, entry): self.date = date self.entry = entry def __repr__(self) : return "%s %s" % (self.date, self.entry) class guard_obj : def __init__(self, id) : self.id = id ...
[ "kristofj@axis.com" ]
kristofj@axis.com
89f170f759f41503a18f7d70b6b6081efafb4267
4bf644becda8b04fb0f79da727a67056c0c10734
/academico/models.py
366fa085596efba35f391acdf167a40268aaf324
[]
no_license
dias1618/django-crud
41b399306736d1784ea1c11433aff074300adf5f
83e3ae03adb9e45012c727fca284dfdd40da10af
refs/heads/main
2023-01-11T23:01:06.466404
2020-11-05T04:43:48
2020-11-05T04:43:48
310,189,757
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
from django.db import models class Aluno(models.Model): id = models.AutoField(primary_key=True) nome = models.CharField(max_length=100, blank=True, null=True) curso = models.ForeignKey('Curso', models.DO_NOTHING, db_column='idCurso', blank=True, null=True) class Meta: managed = False ...
[ "dias.1618@gmail.com" ]
dias.1618@gmail.com
83b2690e40232cdd946af37e4e070b48b12eccf2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02379/s325687867.py
d01451aa8ad3582ccaf4aae8635f9f68db13f00f
[]
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
113
py
import math x1, y1, x2, y2 = map(float,input().split()) a = abs(x1-x2) b = abs(y1-y2) print(math.sqrt(a*a+b*b))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d210d80b5d85c28a4b0ef06634b44b3a1f0e0c4c
218e0259ba3c4e51c984f07f6ca1dde0499d7ae7
/aasaan/manage.py
ca8ac2eef769a6b4fa0d1b2e9caef34979b03968
[ "MIT" ]
permissive
deepakkt/aasaan
c1f363c93ca1cbeda62d9a5b814bb2b4de10de7d
77ef72e785e6ae562f51ae64fa9d85faf860c315
refs/heads/master
2022-12-09T03:51:38.892923
2018-11-12T14:09:52
2018-11-12T14:09:52
156,221,855
0
0
MIT
2022-11-22T02:36:32
2018-11-05T13:25:28
JavaScript
UTF-8
Python
false
false
254
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "aasaan.settings.prod") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "deepak.kumaran@ishafoundation.org" ]
deepak.kumaran@ishafoundation.org
aebac5f6f1f394de8d920448000754827f0e64e2
1cb896deec4bb52a5db96f64bf7399124176f9de
/Homework01/homework01-01.py
fff637d965f2701bc87a2489ea4cba39eccf8b51
[]
no_license
danihooven/Principles-of-Programming
b2148a17d6dcf381d4900473cdb2347967ab1d37
6a859e31ff0570591f2e12e99149d79f38ddd9ba
refs/heads/main
2023-03-11T00:58:14.348279
2021-03-01T05:21:16
2021-03-01T05:21:16
343,296,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
""" -------------------------------------------------------------------------------------------------------------------- ITEC 136: Homework 01 - Question 01 Write a program that prompts user to enter three sides of a triangle. The program should determine if the three sides can form a triangle. To form a triangle...
[ "noreply@github.com" ]
noreply@github.com
bfec5feb36e5680bf63c8a573f70469d7938b2ec
b0f4d664b51dea0cce733b104ab23693abea90ed
/Agents/IQL_Agents.py
b584b69894c08921dfc59ddb032e4688def3c55d
[]
no_license
Zhikaiiii/traffic-signal-control
88079e2de24e489bfad299d1d286064973c10d01
66dccaf6bfa3bf16cbdda04fc1947043928ee33d
refs/heads/master
2022-12-28T08:28:26.658533
2020-10-16T12:57:40
2020-10-16T12:57:40
284,174,051
4
2
null
null
null
null
UTF-8
Python
false
false
3,229
py
import torch from itertools import chain from torch import optim import torch.nn.functional as F import numpy as np from Agents.Basic_Agents import Basic_Agents from Learners.Dueling_DDQN_Learner import Dueling_DDQN_Learner from Models.Basic_Model import Base_Model # IQL_Agents with all parameters sharing class IQL_A...
[ "1658973216@qq.com" ]
1658973216@qq.com
d8707e704ff8707a580b5e6e7748f3b9db250115
0a514f1bbdaa4cf233a0aaf1c6665149d128aaf0
/app/assumptions.py
6787b960fa8e61b1d9b36b7dd67fddd3cea9933b
[ "MIT" ]
permissive
iliakur/revacom-time-tracking
a9cef0a548c28ae6930fdb32622c91cc4b352ad4
da9c579950702fc9b97075397cd542f82baaa144
refs/heads/master
2021-09-07T20:26:10.110582
2018-02-28T14:03:48
2018-02-28T14:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,254
py
"""This module houses the various assumptions we made about the data. Each assumption has a value that's used in computations and a description which is rendered alongside the plots. """ from collections import namedtuple Assumption = namedtuple("Assumption", "value description") HOURLY_WAGE = Assumption(18, "Hourly...
[ "ilia.kurenkov@gmail.com" ]
ilia.kurenkov@gmail.com
92f42f9f2b8c96f0d8e83bcaa79b8813312fbb2e
ba7c4862dfbc9d0469f389c0cdb3fed01f99ebe3
/controls/Control_Toolbox/steady_state_error.py
25f782973e80f3f0f6a329e2308fc7e37a7425c8
[]
no_license
cmontalvo251/Python
293cbdf8832d7637d5c0b31eadd02d3ccf2f2c05
2b12ce043ee41e08537cfb62301c6a55d4661e04
refs/heads/master
2023-06-22T21:50:21.225067
2023-06-14T13:42:16
2023-06-14T13:42:16
229,313,158
8
3
null
2021-07-31T16:01:54
2019-12-20T18:03:52
Python
UTF-8
Python
false
false
1,015
py
###Integrate an ordinary differential equation #in MATLAB that's using the function ode45. #in Python we're going to use the Scipy toolbox and odeint import numpy as np import matplotlib.pyplot as plt import scipy.integrate as I import control as ctl import scipy.signal as S import scipy.linalg as slin plt.close("all"...
[ "cmontalvo251@gmail.com" ]
cmontalvo251@gmail.com
7d12355e925e10da294ef83fa5b5f3ca840bf324
9962fb8981b1a748e3420abccbb736d9f9faa98e
/repaso.py
92b0abd01da408fdbdc9bb25b79139986bd2dc87
[]
no_license
oscarepv/Laboratorio3
318ee32b2ffcee90c1b428c9a05a91a2ef592c77
e004c5b4eb85bba43b77cb48b87463f815069a4d
refs/heads/master
2021-01-01T03:40:47.897011
2016-05-05T14:54:22
2016-05-05T14:54:22
58,136,637
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
#con while vuelta=1 while (vuelta<10): print("vuelta: "+str(vuelta)) vuelta=vuelta+1 #con for print("CON EL FOR") for vuelta in range(1,10): print("vuelta: "+str(vuelta))
[ "oscar_e1993@hotmail.com" ]
oscar_e1993@hotmail.com
a0d89be372b455fd0cb1c46b22236811fdb4edb5
3f92ef8b3a0da55f8b402ac56e3a96efe315e2cb
/leet3.py
59d410286fe70251df58539241c95d665825af17
[]
no_license
GnatLlib/LeetCode-Solutions
c1ee260326eb8f1c65c6f90fb97f8f79a5a5d8ec
517089daa4468e377509e29745b1e768ca28cbba
refs/heads/master
2020-12-06T10:05:10.109618
2017-02-02T06:02:30
2017-02-02T06:02:30
67,313,356
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
""" LeetCode Problem 3. Longest substring without repeating characters Solved using dynamic programming """ class Solution(object): def isUnique(self,s): return len(set(s))==len(s) def lengthOfLongestSubstring(self, s): """ :type s: str :rtype: int ...
[ "noreply@github.com" ]
noreply@github.com
5a49bc194263d90c2bd6636f023c0d94bc2878d9
25d23a570fec21d27fe9177f71895947e5eddeb7
/klare til innlevering/Task 1/task1_kNN.py
39431c164985ccf43f921122ddec1fc8fbbd3683
[]
no_license
erlendw/WindEnergyForcasting
65bf8a3b298e6f7034d01ea26342232dadde9ca5
c4620d306fd83aaecbf046d6a414d3bae4921357
refs/heads/master
2021-03-27T11:47:35.696891
2017-05-19T19:23:55
2017-05-19T19:23:55
87,854,266
4
1
null
null
null
null
UTF-8
Python
false
false
1,668
py
from sklearn import neighbors from sklearn.neighbors import KNeighborsRegressor import CsvReader as read import numpy as np import matplotlib.pyplot as plt import math weatherdata = read.getCsvAsList('TrainData') forcastdata = read.getCsvAsList('WeatherForecastInput') solutiondata = read.getCsvAsList('Solution') x = ...
[ "kristofferosen@gmail.com" ]
kristofferosen@gmail.com
dc4fd27643cf2ca7fcb0ac3da88849a8dff81d7b
5afd6c6176dd07590954e1c55e306a8625f1f8e5
/Algorithm_RBF_SVM/test.py
35e9404da043636f88078446a93c8db3c19b9b84
[]
no_license
kennywarwick/AB104_Project
51af30bd2ff1d6f9514d12f4e2ad2948ffa21e2d
c7d4e1f8f55eef2bb1ff87029648a763f474091d
refs/heads/master
2021-01-19T13:05:43.185795
2017-02-18T05:38:46
2017-02-18T05:38:46
82,364,394
0
0
null
null
null
null
UTF-8
Python
false
false
3,202
py
#coding:UTF-8 from sklearn import datasets import numpy as np iris = datasets.load_iris() X = iris.data[:, [2, 3]] y = iris.target print('Class labels:', np.unique(y)) from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split( X, y, test_size=0.3, random_state...
[ "kennywarwick@hotmail.com" ]
kennywarwick@hotmail.com
9421de925619fe94b36c6e9b74bbf993021d8f12
be84b86c95d1f2e5dd712c34e6b820f98d2154d5
/nnet_pytorch/objectives/CrossEntropy.py
6a5f9b8b6034c84ea61e7b74fae7d03c9160614c
[]
no_license
aarora8/nnet_pytorch
6211f2dc26bae730249f4a6c0097166a09b847f6
086bc45cf2f1a12197f29033a1e129f6c8b55b03
refs/heads/master
2023-06-29T02:48:56.691357
2021-01-21T18:36:10
2021-01-21T18:38:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
893
py
import torch.nn.functional as F import torch class CrossEntropy(torch.nn.Module): @staticmethod def add_args(parser): pass @classmethod def build_objective(cls, conf): return CrossEntropy() @classmethod def add_state_dict(cls, s1, s2, fraction, iteration=None): ...
[ "wiesner@jhu.edu" ]
wiesner@jhu.edu
adca33f02c86874ba164e94709be498774236d46
c38f6839be97d342a66f0559fc66f2ab65e7205c
/e_learning/e_learning/settings.py
8f9996a5fcc850d17587c7e82839c3280b211125
[]
no_license
sudaratchoothong/Django
547c7ef9cf33f4fd800f412fe281390137890bac
9dedc0a4b30c1d79278695396e8bd48c60911396
refs/heads/main
2023-05-24T08:46:25.834948
2021-06-04T13:02:40
2021-06-04T13:02:40
373,839,897
0
0
null
null
null
null
UTF-8
Python
false
false
3,368
py
""" Django settings for e_learning project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from path...
[ "62239375+sudaratchoothong@users.noreply.github.com" ]
62239375+sudaratchoothong@users.noreply.github.com
50773c6b23c4705b4f3edad639670d29ebaa5917
1499e886df7221c0437f758c635108c5a4b7abc2
/chapter2/testpa1.py
66302fa5b26f8025b5d42fb08576e410420cb698
[]
no_license
xasmall/learnpython
3a80203676128f84ca620ceec34ca9a094a83813
7996da23ad7c2440d804873ad49499633482700a
refs/heads/master
2021-02-09T13:07:00.774428
2020-03-09T13:44:15
2020-03-09T13:44:15
244,286,206
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
# 常量与变量 import numpy as np x = 5 # type函数用来判断变量的类型 print(type(x)) a = np.array((1,2,3,4,4)) print(a,type(a)) # 函数isinstance用来判断是否为指定类型 print(isinstance(x,int)) # python变量并不直接存储值,而是直接存储了值的内存地址或者引用,这也是变量类型随时可以改变的原因 x = 'Hello World' print(x,type(x)) # **符号是幂乘符号 print(9**9) # 在python中不用担心数值大小的问题,python支持任意大的数字 # p...
[ "xasmall@163.com" ]
xasmall@163.com
552739644e8aa16e04d99e55cefc9b2165171e59
cf2031de10f3977e125a496c15a51278fa024a88
/obp/__init__.py
abd2542d346207afd90439f52605dc0a86478ee4
[]
no_license
onebadpanda/bambooCMS
2f5b9de6b0db84652779fd79e80ffbe9775ce706
9c7ac4e547117007fdbc6882f08def5f2babb82e
refs/heads/master
2021-01-13T02:16:02.640509
2013-09-11T22:26:39
2013-09-11T22:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
__author__ = 'One Bad Panda' from flask import Flask from flask.ext.bootstrap import Bootstrap from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.login import LoginManager from flask.ext.bcrypt import Bcrypt from flask.ext.mail import Mail from obp.helpers import config app = Flask(__name__) app.config.from_o...
[ "accounts@onebadpanda.com" ]
accounts@onebadpanda.com
84cae4f3f2a3264c83961a50abfe1f1b389239e6
a5bc9579853b8796a45dc9295d0fe69ed7929cb7
/hy-data-analysis-with-python-summer-2019/part05-e03_top_bands/src/top_bands.py
e17d8a6967316501413401cc1bf3a8c4854b91b7
[]
no_license
DU-ds/PythonDataAnalysisCourse
60355918e8ae63af00303eb5f371d03c9f519ea5
9afd022c7c5d7044605bdab9d1250ac771b3fcc6
refs/heads/master
2020-08-02T12:43:57.345032
2019-11-08T00:24:38
2019-11-08T00:24:38
211,356,492
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
#!/usr/bin/env python3 import os import pandas as pd def top_bands(): f = os.path.dirname(os.path.realpath(__file__)) fourty = pd.read_csv(f + "/UK-top40-1964-1-2.tsv", sep = "\t").astype("object") bands = pd.read_csv(f + "/bands.tsv", sep = "\t") # bands.Band is Title Case, # fourty.Artist is UPPE...
[ "kenneth.collins@alumni.stonybrook.edu" ]
kenneth.collins@alumni.stonybrook.edu
22517e0b31686d302d52dab1d9967ded3e843d4d
33f802221bbfc18cf464605eb1577a5975fad532
/Convolution.py
06c02ffdeb0add65b527fe820b54c09917bb9116
[]
no_license
GeorgeKAHChen/ImageProcessing_basic
d078a1c0859184ee1a6f1863b4087bd843ab2aaf
fa50e074541a17c6ab6c8f57ff5d1573d8330b0c
refs/heads/master
2023-01-29T23:21:44.701408
2020-12-14T19:26:18
2020-12-14T19:26:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,569
py
#================================================================= # # Image Processing - Convolution # Copyright(c) KazukiAmakawa, all right reserved. # #================================================================= #Just For Convolution #import head #import files from PIL import Image import numpy as np impo...
[ "KazukiAmakawa@gmail.com" ]
KazukiAmakawa@gmail.com
269dde29e6bc2a138c37e57bfcbe02a3e9c31da7
f02e527444ad38fd719e89fc6418e0008e752b9d
/Lab13/fly_drone_new/fly_drone_main.py
e9a243d09b17fd757844360a7aeb1acf7f39e19b
[]
no_license
newkstime/PythonLabs
d1d58c420aa08f4274165598808e9c261a6168f0
c08bedb372b1b3d44bb8436d93aeebcab642a31b
refs/heads/master
2022-11-07T07:20:14.926002
2018-06-26T16:53:11
2018-06-26T16:53:11
121,427,417
0
2
null
null
null
null
UTF-8
Python
false
false
531
py
from drone import Drone drone1 = Drone() keep_going = True while keep_going == True: user_input = input("Enter 1 for accelerate, 2 for decelerate, 3 for ascend, 4 for desend, 0 to exit:") if user_input == "1": drone1.accelerate() elif user_input == "2": drone1.decelerate() elif user_inp...
[ "eric.s.perry@outlook.com" ]
eric.s.perry@outlook.com
ed3bffd9dc2b40019ddcc9d392071354c8932679
8296c565c9c89726d91c84066a6838ec488184a3
/activity/apps.py
e7ad7077bd7b416b7a8283ebede27d06c4f63ab0
[ "MIT" ]
permissive
intherenzone/CRM
eda0d61fa7d2a6cea8ca98c7ed1c71197680885f
d0f3cffed01e5fddfc39c2281b26b2f376b71152
refs/heads/master
2021-07-23T20:21:24.867151
2018-08-31T08:55:23
2018-08-31T08:55:23
109,323,324
2
12
MIT
2018-08-31T08:55:24
2017-11-02T22:00:34
HTML
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class ActivityConfig(AppConfig): name = 'activity'
[ "rmdalal@terpmail.umd.edu" ]
rmdalal@terpmail.umd.edu
487513fd8ef86a8654f3a3e40630b7f94260bd8e
c0acdd673e8bf9aaf092df4191fdcf842ab3e036
/NYC_maze/custom_gym/Nyc_maze/custom_env_dir/envs/__init__.py
af65cff4d979d2779ebf6570e66443be3755722e
[]
no_license
willemvdmierop/Reinforcement-Learning
c8d39b30538394f74cfe31ee52fda0c01c53057d
c77cc6be9a7a539ebf5c9945007502b35762129d
refs/heads/master
2022-09-13T05:27:04.037560
2020-05-20T10:22:27
2020-05-20T10:22:27
262,002,957
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
from custom_env_dir.envs.custom_env import NycMaze1
[ "57663191+willemvdmierop@users.noreply.github.com" ]
57663191+willemvdmierop@users.noreply.github.com
06d91053430128ffbd2e417b7711666eb0bcf41a
5dd47abf7061201d9378e73e51f08fbb314ba2fd
/envdsys/envdaq/migrations_old/0008_auto_20190215_2305.py
aaa12d1357f80fc2772ac6d5b38aa0b5464dee40
[ "Unlicense" ]
permissive
NOAA-PMEL/envDataSystem
4d264ae5209015e4faee648f37608d68a4461d0a
4db4a3569d2329658799a3eef06ce36dd5c0597d
refs/heads/master
2023-02-23T22:33:14.334737
2021-07-22T01:09:16
2021-07-22T01:09:16
191,809,007
1
0
Unlicense
2023-02-08T00:45:54
2019-06-13T17:50:03
Python
UTF-8
Python
false
false
448
py
# Generated by Django 2.1.5 on 2019-02-15 23:05 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('envdaq', '0007_auto_20190215_2300'), ] operations = [ migrations.RemoveField( model_name='devicedef', name='contacts', ...
[ "derek.coffman@noaa.gov" ]
derek.coffman@noaa.gov
af58c0947fd4a708d92040bc7e944baceb644ac2
fbf9852be0e3eea688968732d668e0d850273d7c
/movingsprite.py
849bc780b885efc4afebe795c73f00a535e8e3f2
[]
no_license
LindseyB/IronTrotter
d4f5a31a90254237ea78eb0938822a4e3a3f1b93
81dda46ef0bef6a2540389effe2373b6993de9a5
refs/heads/trunk
2021-07-09T22:58:36.100428
2011-11-06T22:11:21
2011-11-06T22:11:21
2,717,646
3
0
null
2021-04-29T19:17:32
2011-11-05T22:31:24
Python
UTF-8
Python
false
false
82
py
class MovingSprite(Sprite): def __init__(self): Sprite.__init__(self)
[ "joelthulhu@gmail.com" ]
joelthulhu@gmail.com
dc902273ae2933bb19c51768b3e241dc49f467a0
0b4d6a29667767531993a92d496faa6e203744d2
/test/lambda/test_closure.py
ca2f5557b0c5e96f6f5d51b29336b45dd95ccddb
[]
no_license
Qstar/PythonDemo
e2cc5bbd939980076d8fe70161f041081b58d9ed
531ee70a5c44c1b37c59606cfa26fb634fcb697a
refs/heads/master
2021-01-10T16:08:39.761110
2016-03-01T05:00:59
2016-03-01T05:00:59
49,189,376
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
def count(): fs = [] for i in range(1, 4): def f(i): return lambda: i * i fs.append(f(i)) return fs f1, f2, f3 = count() print f1(), f2(), f3()
[ "davesla2012@hotmail.com" ]
davesla2012@hotmail.com
98d78a39c33827858b38f1f2f131f06f0d92cb4f
2869e231bfd772de7e47fa7d6001827d3689a956
/main.py
caee9a82f2590df8d6fea123cf278de4fc85f098
[]
no_license
maniha7/Tree-Growing-Algorithm
60f5885e65dc5d0bb9e1869b47fadf76c1805cc4
bf2cfff8a0b1a9eccfd415fe09b2e075eaa3f24f
refs/heads/main
2023-07-15T21:18:48.703988
2021-08-30T03:01:34
2021-08-30T03:01:34
401,198,175
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
import GUI import pygame import time window = GUI.window() running = True updateTime = .02 totalTime = 0 frames = 0 window.update(window) while running: for event in window.getEvent(): #Close button control if event.type == pygame.QUIT: running = False if ev...
[ "noreply@github.com" ]
noreply@github.com
fdc34a5acdc9df05688e643c6e3939d0f1cfc1a2
ca7162adc548c5937ebedd6234b40de7294e2da1
/11-dababase/sqlite/createTable.py
b5b8058f153badef698c5a031aec4709f76832e6
[]
no_license
meloLeeAnthony/PythonLearn
03c259d745b1ccdc039e9999889ab54be14ae020
9915ec5bb7048712a97539a9c5bce8743567b22a
refs/heads/master
2023-07-10T21:12:54.027143
2021-08-19T12:43:19
2021-08-19T12:43:19
289,487,502
1
2
null
null
null
null
UTF-8
Python
false
false
908
py
# coding=utf-8 ''' 1.导入sqlite3模块 2.创建连接 sqlite3.connect() 3.创建游标对象 4.编写创建表的sql语句 5.执行sql 6.关闭连接 ''' import sqlite3 conn = None # 创建连接 try: conn = sqlite3.connect('e:/sqlite3Demo/demo.db') print('连接sqlite库成功') except Exception as e: print('连接sqlite库失败:', e) if conn is not None: # 创建游标对象 cur = conn...
[ "li.chun158@gmail.com" ]
li.chun158@gmail.com
20651e2bc9ac58f947a4b12458d3e9a0083ef1db
f51222c930c55c1eeda41aa40a08fab4ca419b40
/Theta360Wrapper/theta360.py
91dc18a971f5271000fbfad40486a0ea02d55c79
[]
no_license
qurihara/Theta360CSharpFromIronPhthon
97915a5ab466ded9991e119d28c57235e555974d
0021fd938670f59be662fcb93d7e865320920dbb
refs/heads/master
2021-01-01T04:29:42.541971
2014-10-18T02:24:33
2014-10-18T02:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,818
py
#!/usr/bin/env python # coding: UTF-8 import socket import _struct DEBUG = True DEBUG2 = False Save_Dir = './' PTP_OC_GetDeviceInfo = 0x1001 PTP_OC_OpenSession = 0x1002 PTP_OC_CloseSession = 0x1003 PTP_OC_GetStorageIDs = 0x1004 PTP_OC_GetStorageInfo = 0x1005 PTP_OC_GetNumObjects = 0x...
[ "qurihara@gmail.com" ]
qurihara@gmail.com
1eb5b10cb25082008a50ed8a90198526794f3f9b
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance/models/container_http_get_py3.py
d9ca73f638183794cf20b5a1d7c59793e37d8b7d
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
1,433
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
ef545932a4b67937c9aaa422f89cd67d5d874941
576811a28608dcebc5bfdf9abe64e4bb4ab28a2a
/app/admin.py
d2e63d1ffc5936af55685a481d53a186a921f8ae
[ "MIT" ]
permissive
peterken674/instagram-clone
180d7974548ffcd52414b94a96248efb83955bb8
950ff7902d8fd29ea9f94bf17b1ae0d69e0b2614
refs/heads/main
2023-06-15T22:59:51.639886
2021-07-15T09:01:01
2021-07-15T09:01:01
384,387,263
1
1
null
null
null
null
UTF-8
Python
false
false
229
py
from django.contrib import admin from .models import Post, Profile, Comment, Like, Follow admin.site.register(Post) admin.site.register(Profile) admin.site.register(Comment) admin.site.register(Like) admin.site.register(Follow)
[ "peter.kimani@student.moringaschool.com" ]
peter.kimani@student.moringaschool.com
cf91cdc16f2fb074d25cf83f7c46e8743c783747
9117968b934788cf50c34687bb9ca44b336c0da9
/create_tables.py
e29c525ac21b8237a66a37e40d19cf94616935c2
[]
no_license
dodgerbluetx/DEND-Project-03-DWH_Warehouse
86fd9ad6f6b617899ddf423110790b9a3d51808e
7738fa363fc59c6abee5fccf01ec99162fb2fced
refs/heads/master
2021-05-21T18:41:32.603956
2020-04-03T21:12:17
2020-04-03T21:12:17
252,756,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
import configparser import psycopg2 from sql_queries import create_table_queries, drop_table_queries import time import datetime def drop_tables(cur, conn): """ Description: Drops all existing tables from the database. Use the sql_queries script to loop through each query defined in the drop_tabl...
[ "dodgerbluetx@gmail.com" ]
dodgerbluetx@gmail.com
7e94fa976fa69e30a6a8fecb112d0151ab64e36a
14d66cef63d9e540f4a7dd76e8810b7f39c9e536
/viewer.py
81b3111c4649653ed33f54c8cbfa293e9a3acd44
[ "MIT" ]
permissive
YarinAVI/GraphLayout
5327daebdb45f8273cf75c53341bc02f42d293c7
187ea93b06730186ec25dd71a28dd2ccdfaa4a7c
refs/heads/master
2021-06-17T04:21:02.746604
2017-05-31T16:23:20
2017-05-31T16:23:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,692
py
import layout import render import wx TESTS = [ [('t', 'te'), ('t', 'ti'), ('t', 'to'), ('te', 'tea'), ('te', 'ten'), ('tea', 'team'), ('ti', 'tin'), ('tin', 'tine'), ('to', 'ton'), ('ton', 'tone')], [(5, 11), (11, 10), (11, 2), (3, 10), (3, 8), (8, 9), (11, 9), (7, 8), (7, 11)], [(1, 2), (1, 5), (2, 5), (...
[ "fogleman@gmail.com" ]
fogleman@gmail.com
4103d4cc9889ee55a23db3515cd70798133979fe
0bb46fdef9e2592c8ee1db2ff5557fb1e752ef51
/004-PySerial - MCU - Multi-Datareadings/001-Connection Manager Gui/Master.py
5a65b861c8d55f52598e39303686ea09ee10f592
[]
no_license
cemot/Python-projects
4e87a60e22b2a094ab26c7e6025a8c52ddde40db
70372e93eaa68cb864cb6df8f68a937183466be8
refs/heads/master
2023-09-03T21:58:48.639134
2021-10-30T08:47:05
2021-10-30T08:47:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from GUI_Master import RootGUI, ComGui RootMaster = RootGUI() ComMaster = ComGui(RootMaster.root) RootMaster.root.mainloop()
[ "ahmed.b.yahia@gmail.com" ]
ahmed.b.yahia@gmail.com
4faff020878f3773727dcd93e8233c0c608bdc1f
c86276997c195babb6883a60fd65f61710f796f9
/sitemaps.py
cdfd281f26ef9bd4b9281d757cf5ac9ceac85f02
[ "MIT" ]
permissive
rajeev/lifeflow
c8e13e4daacb1d34eebabe79e6d48afe039a5c2c
b1de2a7b5b8a89042c1440b3e38092ef1241b9ca
refs/heads/master
2021-01-21T01:35:15.284384
2011-03-22T19:15:50
2011-03-22T19:15:50
31,348
2
0
null
null
null
null
UTF-8
Python
false
false
228
py
from django.contrib.sitemaps import Sitemap from lifeflow.models import Project, Entry class ProjectSitemap(Sitemap): changefreq = 'monthly' priority = 0.9 def items(self): return Project.objects.all()
[ "lethain@gmail.com" ]
lethain@gmail.com
457250d127baadba74520507947c42def886bb27
50720f40c10250d22c1f35bf8de70d2106b3bc23
/a.py
6b5b604caccbce77f155c88cb2840cb096bade3d
[]
no_license
prodduturisunilkumar/learngit
fa3d267e618a1bf08274d4ed4de5203382e64b43
0a2355ddb7f52231719c5faa2f5346376fb0a06e
refs/heads/master
2022-04-11T04:49:46.842775
2020-01-06T03:14:05
2020-01-06T03:14:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
print("new file added") print("Hellow india this is my new line of code") print ("This is third line of code")
[ "dharmendra.shahi@gmail.com" ]
dharmendra.shahi@gmail.com
85e6cb4cc8dae6e639a5c3750df35f75e082c348
1f513c3a2a7b5402e516349305444e7c42a1a082
/src/khetha/templatetags/khetha_tags.py
19fdd374e7bc27f2858b601c6e3b45826473b53c
[]
no_license
kurhula/khetha-django
2232428559e4da96d19a0804410538d0b42b85c1
78140e57ddf25235f2524fbcdf387791621408c8
refs/heads/master
2022-09-18T18:03:30.517501
2019-06-10T10:44:39
2019-06-10T10:44:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
from typing import Optional from django import template from django.conf import settings from django.core.exceptions import ImproperlyConfigured from khetha import models register = template.Library() @register.filter_function def get_submission(task: models.Task, user_key: str) -> models.TaskSubmission: """ ...
[ "pjdelport@gmail.com" ]
pjdelport@gmail.com
fc643dc203e74a4a18ba26861d7b3c353dd2e542
461306cf81663a24f0549569c1377836e1e9783d
/rsi_indicator_and_traders_sentiment.py
10ba405233acdf9beaa82ee64f05426e675257de
[ "MIT" ]
permissive
maxxyryo/TradingAlgorithm
c3be17fcc5c81b147fac2f055c1a7825ef511307
9795ee48c4b899ac8a09b40e4e2a5684db95890b
refs/heads/master
2022-02-25T11:33:27.789642
2019-10-16T23:59:44
2019-10-16T23:59:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,821
py
import time, random, math, logging, talib, numpy from iqoptionapi.stable_api import IQ_Option from datetime import datetime logger = logging.getLogger() logger.disabled = True actives, action = '', '' openAssets = [] print("***Hello Mark***") print("\nLogging in...") api = IQ_Option("gacokambui@gmail.com", "Dodomans...
[ "noreply@github.com" ]
noreply@github.com
eee09dab526ded1662ea8f92a60561895c5df59d
a49731805f9b30a1294d67fc078b780fd2f2a91d
/fitmodel/ExtractDandekarData/mouse_tracker_user32dll.py
1b559859b5ee6c665e7b7cfaf79403165d72c0b0
[]
no_license
yw5aj/HS2014
cf74dd18d5902799da1aacf6f8c875afd98a84f9
9901aa37e3801f7654489100e2fc3cbf63b9ccaa
refs/heads/master
2021-06-06T08:56:26.294778
2015-09-29T15:17:49
2015-09-29T15:17:49
25,499,189
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
# -*- coding: utf-8 -*- """ Created on Tue Sep 3 20:55:22 2013 @author: Yuxiang Wang """ import ctypes import time User32dll = ctypes.windll.User32 def main(): pass class POINT(ctypes.Structure): _fields_ = [ ('x', ctypes.c_ulong), ('y', ctypes.c_ulong), ] def timer_tick(): ...
[ "yw5aj@virginia.edu" ]
yw5aj@virginia.edu
4b3d6091baf81a56f00a99b113e94d36fc4d0a98
2f03a01a2ee2e1a0ad5abc3bda1e2643d5adeb3f
/day48/day48/代码/upload_demo/upload_demo/wsgi.py
f7ef4edc376a937b01964f022143d190766094fb
[]
no_license
yanglichuan/python2020
f410b46dda2d2ef9b057538f64579f41307cbc37
4a92f474d7f4cc33550a28027dab880d28ab01b6
refs/heads/master
2022-11-07T08:19:52.987135
2020-06-20T10:33:57
2020-06-20T10:33:57
273,687,134
0
1
null
null
null
null
UTF-8
Python
false
false
400
py
""" WSGI config for upload_demo project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "yanglichuancom@163.com" ]
yanglichuancom@163.com
ef5b018a2b5ea2a4f02c3054530d9c410298db2c
bc5d0c3e950ebd9a7fbd33fbbcad94979cbe344f
/src/scratch.py
1e0bc9d7ea1f286057ac7e65ffcc5322727de2fe
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
bgshin/bert
44e7b23016087e7fda6396bd4432188918d2af28
5d13d62909f120ec097c606a0366b49887ea1baf
refs/heads/master
2020-04-06T11:41:44.788854
2018-12-03T04:48:56
2018-12-03T04:48:56
157,426,269
0
0
null
null
null
null
UTF-8
Python
false
false
4,344
py
import os import numpy as np import tensorflow as tf import collections import tokenization from run_classifier import SstProcessor, file_based_input_fn_builder, model_fn_builder, file_based_convert_examples_to_features import modeling import cPickle def get_model_size(ckpt_fpath): # Open TensorFlow ckpt read...
[ "nomolos79@gmail.com" ]
nomolos79@gmail.com
8ec1b7d0710dbf9034914a5774a2e88cd5f9ed1c
a768f03d8e2dc5c370e89e17f06e63caa637a07b
/test/test_publish.py
fde9ff8daade4408033a54260a28a1e2743a99da
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
alexsoble/federalist-garden-build
c73fcc64476decb6d87d2de262047c4bb7537045
a8173ee62f2666e842327633c8b18a6e9304589d
refs/heads/master
2020-04-19T12:17:22.617529
2019-01-03T21:11:51
2019-01-03T21:11:51
168,188,225
0
0
null
2019-01-29T16:31:55
2019-01-29T16:31:55
null
UTF-8
Python
false
false
1,656
py
import boto3 import pytest from unittest.mock import Mock from moto import mock_s3 from invoke import MockContext from tasks import publish from tasks.common import SITE_BUILD_DIR_PATH TEST_BUCKET = 'test-bucket' TEST_REGION = 'test-region' @pytest.fixture def s3_conn(monkeypatch): with mock_s3(): mon...
[ "james.seppi@gsa.gov" ]
james.seppi@gsa.gov
f12f76d49dc837c768feabfd67bec5794c2dac39
d8d158c5f480597c61bd3de49a851a57d1505803
/src/appflame.py
dfdc7692fee19778c156b0ea397975b384fa4b4d
[ "MIT" ]
permissive
danilpolkov/appflame
176530159a868205702b9d0eeb57da85eb79add4
63c2de8d8370e99cf6109407577a1317e8fed807
refs/heads/master
2022-04-18T06:01:33.500034
2020-03-30T15:51:40
2020-03-30T15:51:40
250,564,729
0
0
null
null
null
null
UTF-8
Python
false
false
4,794
py
import pandas as pd import numpy as np from sklearn.model_selection import cross_validate, KFold import tensorflow as tf import datetime from sklearn.metrics import roc_auc_score, classification_report, confusion_matrix import matplotlib.pyplot as plt import seaborn as sns def score_models(models, X_...
[ "danilpolkov14@rambler.ru" ]
danilpolkov14@rambler.ru
8222a2b1b2d92963a0ecee0f6acd6262561963ae
78a236813008ef6d45a65c8ba434a244d8fae1ef
/simple_svm.py
c59a653ab792826cb5ac1a3c0fb83229ac2070d2
[]
no_license
fariagu/gFaceRec
39711cfc346ecdad4a74a090dcb0b8dcd41609d2
4319b007e45c133be7d7d96ddf26a86312cff438
refs/heads/master
2022-01-08T14:15:09.183756
2019-06-24T14:03:39
2019-06-24T14:03:39
175,869,936
0
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
from __future__ import absolute_import, division, print_function import keras # import numpy as np from load_celeba import load_vectors from model import vgg_svm, facenet_svm from euclidean_db import TRAIN, VAL from vector_generator import VectorGenerator import utils def svm(): print("#########################...
[ "gustavoduartefaria@gmail.com" ]
gustavoduartefaria@gmail.com
fcde56f5caa9fafff9fc91efed3e8af4a7d75bd0
8bda61018d192c81293c6a1aaf7fd698b80da6af
/CBVTest/CBV.py
f8ee34df33db2d651ec39d94c9cb3f87c3b971f1
[]
no_license
linhong1999/DRF
7b4c531ea8a28b1ddf98a0ecefc62822f0bb981d
11dbe48d5fc92545e7937f6ed6321cd63c566321
refs/heads/master
2022-11-08T09:06:06.530700
2020-06-20T12:31:55
2020-06-20T12:31:55
273,216,484
1
0
null
null
null
null
UTF-8
Python
false
false
3,404
py
# from django.views import View # # class Tester(View): # def get(self,req): # print('----get----',req.GET) # return HttpResponse('i am get') # # def post(self,req): # print('----post----',req.POST) # return HttpResponse('i am post') from . import models from .serializers impor...
[ "1219772706@qq.com" ]
1219772706@qq.com
6a7c973e23617cebf19961a67061736ba73b34f2
93c07eaf88192ab25c51ee3a7b0b093a6819aec8
/playsound.py
e4c5820e4c8e5558c8370f0b403778b9e2dbcc4e
[ "MIT" ]
permissive
raymondchiang/Maze
5412423d3d57113c88149c25d994032d8e223077
880305f85af8e3d796b96fa4027d3370797c902d
refs/heads/master
2021-01-15T15:53:35.674394
2016-09-26T15:51:53
2016-09-26T15:51:53
68,802,086
1
0
null
null
null
null
UTF-8
Python
false
false
4,222
py
class PlaysoundException(Exception): pass def _playsoundWin(sound, block = True): ''' Utilizes windll.winmm. Tested and known to work with MP3 and WAVE on Windows 7 with Python 2.7. Probably works with more file formats. Probably works on Windows XP thru Windows 10. Probably works with all vers...
[ "anthonyfu117@hotmail.com" ]
anthonyfu117@hotmail.com
2d619ecda01e753381fa8fcd3dee22459f4c67f0
9c31671ad64b43e05b14a32d36fa2fc92f791ba4
/test_src/twist_msg_code_from_aristobot.py
ddd773b07c55732dde15567372db37b6bcda9b1b
[]
no_license
aanickelson/osu_semantic_mapping
cc9710a07c14cc3d3a0f28d29855b4b9baf3b187
44e2522db6ee8500a40de836199a3d9e6e6c463e
refs/heads/master
2021-08-10T04:02:49.090064
2020-10-04T22:25:59
2020-10-04T22:25:59
225,964,084
0
0
null
null
null
null
UTF-8
Python
false
false
2,928
py
#!/usr/bin/env python import rospy # The velocity command message from geometry_msgs.msg import Twist # The laser scan message from sensor_msgs.msg import LaserScan import neural_network as neu_net from parameters import Parameters as p import numpy as np class SendGoal(): def __init__(self): # initili...
[ "aanickelson@gmail.com" ]
aanickelson@gmail.com
72093db05ef36ba4b5961bef354dc7a48dcaaeed
9e14eb2b71c68dab88ed259cd5e3bafd5dc63742
/Server Side Data Retreval/GoDaddy Writer/sensor simulator.py
d98751a331189116ebd270162da3f6d63bece4cf
[]
no_license
djentleman/Data_Retreval_Project
eff781591c5ed93a7508c69f9f32e7772ecac05c
d926a6c018f2ef9499dbb0650b2cb14dd7af9775
refs/heads/master
2021-01-23T13:57:13.697636
2013-06-02T01:03:25
2013-06-02T01:03:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
## Car Data Retreval Project ## Author: Todd Perry ## Simulation Of Sensors import random import time def getStringToWrite(): # init random number generator toWrite = "" for i in range(20): rand = random.randint(1, 100) toWrite = toWrite + str(rand) + ", " print(toWrite) return to...
[ "up612136@myport.ac.uk" ]
up612136@myport.ac.uk