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
bb9afac99c6a780b1026d8d1349df4e2a2613543
b9d07f503892934c5dcbe91baf70c492d2be1374
/src/C3STEM/Middleware/dao/CloudDAO.py
e3cc35624e11df338ca576f004b13c1c37896fc4
[ "MIT" ]
permissive
shekharshank/c2sumo
50dd1379437419114e13707d0929e6ab17e5201f
6fb952b6078f7404b08037b42a2541c9f20e72d0
refs/heads/master
2021-01-21T13:18:28.253513
2016-04-21T17:59:50
2016-04-21T17:59:50
54,496,043
1
4
null
null
null
null
UTF-8
Python
false
false
1,910
py
from bson.objectid import ObjectId from DBUtil import * import datetime import logging def getVMDetails(vm_name): db = DBUtil().getDatabase() vm_details = db.virtualmachine.find_one({ "_id": vm_name}); return vmd_details def getAssignedVMDetailsForSimID(sim_id): db = DBUtil().getDatabase() vm_details = db...
[ "shashank.shekhar@vanderbilt.edu" ]
shashank.shekhar@vanderbilt.edu
5d0900423f187a722e7b4784a10d242cb508eaa3
f4309766d0292d6ae06344221b667603fda206ec
/backend/apps/user/views.py
f23bb486e4b7eca9c5f74b758711e4d8d7606f82
[]
no_license
tom2jack/Journey
dff0181ef8939a9edf52987a2439563ca0c4342d
cb7bbca759c3d27815fde0d1697c2184b31b2aac
refs/heads/master
2022-02-23T05:43:58.602808
2019-10-08T08:27:36
2019-10-08T08:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,632
py
from django.shortcuts import render from rest_framework import status from rest_framework.response import Response from rest_framework import viewsets from django.db.models import Q from rest_framework import filters from user.models import * from user.serializers import * from user.permissions import CustomerPremissio...
[ "977983452@qq.com" ]
977983452@qq.com
10a720b74974cf05edf07c176847a49d66881240
ba03d038b42d93288689882421f69474bd46df14
/src/gretel_client_v2/rest/apis/__init__.py
96d1254cda2f894cedd5a45753df5d439943e1b8
[ "Apache-2.0" ]
permissive
shadiakiki1986/gretel-python-client
536d41b23dde239dd605f946818ad81bbdadff46
6359618803b04b7b0468b6853cadd6447bb42df7
refs/heads/main
2023-05-01T04:48:59.886937
2021-04-26T21:19:11
2021-04-26T21:19:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
# flake8: noqa # Import all APIs into this package. # If you have many APIs here with many many models used in each API this may # raise a `RecursionError`. # In order to avoid this, import only the API that you directly need like: # # from .api.model_api import ModelApi # # or import this package, but before doing...
[ "drew@gretel.ai" ]
drew@gretel.ai
abf0c08dd44f032e15eacbf8bbdd6aae1aeb100b
1fb81804de75d92c271bcd42bfa826501716152c
/garden/models.py
0898373039f12b878c085fc6717448677a235122
[]
no_license
NicholasPelton/Mother
016e6f4db5e8de85e494d00a86d1241bff84b04a
f36972882fbb0b406772771ae5e45455ad94df06
refs/heads/master
2020-08-22T15:16:10.128605
2019-10-20T22:36:38
2019-10-20T22:36:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,481
py
# garden/models.py from django.db import models from users.models import CustomUser import datetime from django.utils.dateparse import parse_date class Garden(models.Model): STAGE_CHOICES = ( ('SEEDLING', "Seedling"), ('VEGETATIVE', "Vegetative"), ) serial = models.CharField(max_length=...
[ "noreply@github.com" ]
NicholasPelton.noreply@github.com
d943c3d6e802b17e80f34cb46ffc5c70b29110f7
406a0831352cfb584c8d80703ee3ee1ba5c3fb79
/VCode/Mediator/what_can_i_say.py
646f5516269720df41e3fc2917ecf4cb383bc38c
[]
no_license
jboner/emacs-config
92c8e15aedf99553452d303e1fdcb65034f14e5a
21eea404bfe63e4ea445cfa9edcde8152ad59836
refs/heads/master
2023-05-31T22:16:37.908316
2010-08-17T20:25:38
2010-08-17T20:25:38
18,228
8
2
null
2020-10-13T09:36:43
2008-05-20T06:55:36
Emacs Lisp
UTF-8
Python
false
false
5,567
py
############################################################################## # VoiceCode, a programming-by-voice environment # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 ...
[ "jonas@jonasboner.com" ]
jonas@jonasboner.com
4c3396b7b1a7cdcd65dc01736992c0976d516151
b0cc4dd7c6e2db7cd22bac4cad74176edf41d0e2
/course_project/read_files.py
8ec5be3ca0df3419c2db15556de046f1b751c09c
[]
no_license
shahhaard47/ML-CourseProjects
a88efee4f87036b85cb1f9f46d11d46abee4bd88
4a8ee88895e5e98eaace5820f1a4644d8c7a2c5a
refs/heads/master
2020-04-12T13:08:50.008351
2018-12-20T02:13:16
2018-12-20T02:13:16
162,513,375
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
## CS 675 Course project ## Author: Haard Shah from array import array # does not split lines into columns def readDataLines(dataFile): f = open(dataFile, 'r') data = [] l = f.readline() while (l != ''): data.append(l) l = f.readline() return (data, len(data)) # (dataLines, rows) def readData(dataFile, verb...
[ "shaard74@gmail.com" ]
shaard74@gmail.com
c334f9d5fe148729774e785a96feae949de4f060
5e48f770f975ea0ae166cd662576baa36150cb41
/booking/migrations/0002_auto_20170725_2313.py
c1abc8a5cb7e36b285b6bc51fe62541f7d726ae7
[]
no_license
Ngahu/Booking
df5a7b2e346bf497bc340e4ee3e6e7184c40d235
3187bb4a34225364181f0409344457c43f20b338
refs/heads/master
2021-01-01T19:54:20.069252
2017-07-29T08:25:32
2017-07-29T08:25:32
98,717,395
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-25 23:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('booking', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "jamaalaraheem@gmail.com" ]
jamaalaraheem@gmail.com
e29d683c18d4d5e82566be57311241e22e70c65b
b2fa0b6cdcabc61a48e0a1225cb09722335a17ab
/layup/templatetags/add_css.py
e4eee9209de761f71785c9bab47f585f85aa1351
[]
no_license
nlippis/layup
77e85184d788ac35930e7484f0228993fa231465
2a6322de385a42d78110d9be9dc1d596e070e0d3
refs/heads/master
2018-12-29T22:03:51.745779
2014-04-16T04:25:55
2014-04-16T04:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
from django import template """ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Template Filter Functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% """ register = template.Library() @register.filter(name='addcss') def addcss(field, css): return field.as_widget(attrs={"class":...
[ "nicholas.lippis@gmail.com" ]
nicholas.lippis@gmail.com
c313d0b433210201fe0e9867a0056ca56a466b0a
cedc6ae961934ce87325e3012a566be933bc4df6
/utils/dilate.py
5af088c930438293556cabc5a76f4de47ff7cda4
[ "Apache-2.0" ]
permissive
kctess5/dynamic_parking
84daa861ebd29f66599b7c904f552f0866d2f974
aae5add58734e04e509ad49acb44b029c9401c8b
refs/heads/master
2021-01-21T08:46:22.714069
2017-05-18T02:25:00
2017-05-18T02:25:00
91,639,591
0
0
null
null
null
null
UTF-8
Python
false
false
4,700
py
import numpy as np import matplotlib.pyplot as plt import scipy.ndimage import skimage.morphology import argparse # Python Imaging Library imports import Image import ImageDraw import os ''' This is a command line utility for generating the occupancy grid maps necessary for specifying out-of-bounds states. ''' pars...
[ "chwalsh@mit.edu" ]
chwalsh@mit.edu
f0a8f3101f96f9f556356dd83cc2fde13c9018be
3c19b376dbef7addcf99959942067182d7d0b2b1
/python/exe082.py
d8e73ba6f6a3dcd37c20501716eaf25226c4fddd
[ "MIT" ]
permissive
joaopaulopires/teste3
325712efe6a02d593e0e42438312c60a995f98d4
57634f5559dda23cc533e66db16bdf63a10fa204
refs/heads/master
2022-06-09T05:24:18.342303
2020-05-04T15:50:35
2020-05-04T15:50:35
261,227,534
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
print('\33[4;32m{:^40}\33[m'.format(' LISTAS PARES E ÍMPARES')) num = [] par = [] impar = [] while True: num.append(int(input('\33[1;34mDigite uma valor: \33[m'))) r = ' ' while r not in 'SN': r = str(input('\33[1;30mDeseja continuar? [S/N] \33[m')).strip().upper()[0] if r == 'N': break ...
[ "joaopaulopiresdev@gmail.com" ]
joaopaulopiresdev@gmail.com
b4bc29cc420709f4bc70a65f10fe07cc37446a54
3c42daf2fb2bb0fd1fc22757c65eb14bfc497f98
/2021/06.py
ae63c93af8371fbf32d015af4e61949d3eca33f7
[]
no_license
lchiang/advent-of-code
abaa57f74e6a115b46e76c7861266d9a3006ada2
d2f8c4c13c8c07592aa0e222c6fe564e2d22ce58
refs/heads/master
2023-01-15T03:14:56.077724
2022-12-29T08:37:42
2022-12-29T08:37:42
225,304,775
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
f = open('in06.txt') l = [int(x) for x in f.readline().split(',')] def after_days(init_list, days_later): d = init_list for day in range(days_later): nd = {} nd[8] = d[0] nd[6] = d[0] + d[7] for i in [1,2,3,4,5,6,8]: nd[i-1] = d[i] #pri...
[ "noreply@github.com" ]
lchiang.noreply@github.com
2ff30b3ee0749d9cfc4b320416a27f3a2f48e166
fae58ab25a1f62e0a5199b570a08514ce6eb59f8
/venv/Scripts/pip-script.py
bf0d57aeff7696746a0c227a41f5ba52aa808fb2
[]
no_license
mdabbah/project_dogbreed
f6d2a36daaf29cd3574d7fa47528de9db48b7a0c
9632b6482a4139bd6e45ccad9c18e875d67371c1
refs/heads/master
2020-04-01T02:36:12.414798
2019-03-28T15:01:13
2019-03-28T15:01:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
#!"C:\Users\mdabb\Desktop\ProjectB\project dog breeds\worksapce\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.e...
[ "34287255+mdabbah@users.noreply.github.com" ]
34287255+mdabbah@users.noreply.github.com
1305334975648608596319e496f5996e00829d2b
d466e9a74f3808ea11218834a315f0d1f38464a7
/App/views.py
5f837807527ec479f263984488452c723db14677
[]
no_license
fagan2888/Flask-Budgeter
9de3950b6f88b4097444dd553014a81b28282237
2dce82136d35f75e8300f0e6cbd073fbf41b449d
refs/heads/master
2021-06-02T10:52:38.035896
2016-09-20T18:27:22
2016-09-20T18:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
from App import app, db from flask import request, redirect, url_for, render_template from flask_login import login_user, login_required, current_user, logout_user from .models import Response from datetime import datetime import json @app.route('/start', methods=["GET"]) @app.route('/', methods=["GET"]) def home(): ...
[ "Quentin.andre@insead.edu" ]
Quentin.andre@insead.edu
51c1b9823bb6f69fe93c1caf4d9724efc1b95ae9
ed746aafd3a66de244efeab209c95b7c886e02d6
/lib/det_opr/find_top_rpn_proposals.py
3e49d7c1e7e4d783cde34154234db3b6f7518845
[ "MIT" ]
permissive
zhouyizhuang-megvii/CrowdDetection
b409f721f5912b22e924c8160019e989295f8061
18edf291f1f9e26260a9051108a811ba7a9abb9e
refs/heads/master
2022-07-05T05:38:07.161357
2020-05-15T08:45:03
2020-05-15T08:45:03
263,030,809
0
0
MIT
2020-05-11T12:05:23
2020-05-11T12:05:22
null
UTF-8
Python
false
false
3,483
py
import megengine as mge import megengine.functional as F from megengine.core import tensor from layers.nms import gpu_nms from config import config from det_opr.bbox_opr import bbox_transform_inv_opr, clip_boxes_opr, \ filter_boxes_opr def find_top_rpn_proposals(is_train, rpn_bbox_offsets_list, rpn_cls_prob_list,...
[ "xg_chu@pku.edu.cn" ]
xg_chu@pku.edu.cn
a2063a981d1920c7b04ae3e82446d80cb6a7843f
0b571eadf4489e43bc3fbeb521b2de5cb6832382
/menu/ui/counter.py
b9b680e07f7bd49386752d36e04cbfa6f6ff4d8f
[ "MIT" ]
permissive
avrae/discord-buttons-menu-test
5f50776e1fcbd3c70aa7d793afe191fc71993823
f598567d07281f683c1efdca9d5c5050d5fee29c
refs/heads/main
2023-06-29T01:43:57.690821
2021-08-05T23:40:59
2021-08-05T23:40:59
393,190,609
1
0
null
null
null
null
UTF-8
Python
false
false
1,568
py
"""Counter example given at https://github.com/Rapptz/discord.py/blob/master/examples/views/ephemeral.py""" import discord # Define a simple View that gives us a counter button class Counter(discord.ui.View): # Define the actual button # When pressed, this increments the number displayed until it hits 5. ...
[ "me@andrew-zhu.com" ]
me@andrew-zhu.com
c7a202307c591b948483d0f27ca63a28a6e4bb42
88464ec8df6d4350a74c1cd23ab0b5a1b0ea7716
/2009/project/settings.py
18721ae4b05b8fa50ae3be3158a83b961c1b3d5e
[]
no_license
tsaylor/BARcamp-Chicago-Website
bfb122cb7b2dcf3c757c670948fca6a2c15948af
de2ce0768ccd4a617666cc6ee3179004a31c1601
refs/heads/master
2020-05-30T14:44:11.309960
2010-09-18T21:23:37
2010-09-18T21:23:37
571,850
0
1
null
null
null
null
UTF-8
Python
false
false
3,191
py
# Django settings for project project. DEBUG = False TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) MANAGERS = ADMINS DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = 'site.db' # Or path to dat...
[ "tsaylor@psclistens.com" ]
tsaylor@psclistens.com
351ee245c9115f3ffb31c671e36c9de362f0eb67
54e50915c63725ccccc299f199d50c21adee4e92
/Analisi_Ste_Finestra_FAST.py
536858d435f43d6eb438c9dacb3cc5fa4329fc51
[]
no_license
stefanolucchesini/Analisi_segnale_RespirHo
9cc7060b37e09750c909ae82ce0c955f8daf6cd1
d5b9d2fc94937e6423fcce3c9a53c3034eda07ec
refs/heads/master
2023-07-16T02:54:53.057269
2021-09-05T07:33:20
2021-09-05T07:33:20
362,873,486
0
0
null
null
null
null
UTF-8
Python
false
false
35,447
py
globals().clear() # PARAMETERS SELECTION filename = 'paola11.txt' #A:sit.wo.su, B:sit, C:supine, D:prone, E:lyingL, F:lyingR, G:standing, I:stairs, L:walkS, M:walkF, N:run, O:cyclette window_size = 600 # samples inside the window (Must be >=SgolayWindowPCA). 1 minute = 600 samples SgolayWindowPCA = 31 # original: 31....
[ "stefano.lucchesini@mail.polimi.it" ]
stefano.lucchesini@mail.polimi.it
a3008bcb1802239db49a78e9ec85206c3cdc49ae
66e6011beca2b361bf14eafd2856ddd81e45fcc4
/robot-return-to-origin/main.py
fbf4be8b364c4f3a8bce4c0caac297d87917541b
[]
no_license
lifez/leetcode
c7fa52294c9e0d7c85e73662a415e680170e74e5
4aceda8b8a48f6b1d176ab5669f0d7deaf96dc94
refs/heads/master
2020-07-20T20:33:58.096069
2019-10-31T04:11:47
2019-10-31T04:11:47
206,705,989
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
# https://leetcode.com/problems/robot-return-to-origin/ class Solution: def judgeCircle(self, moves: str) -> bool: location = [0, 0] movement = {'U': 1, 'D': -1, 'L': -1, 'R': 1} for move in moves: current_move = movement[move] if move in ['U', 'D']...
[ "lifez999@gmail.com" ]
lifez999@gmail.com
7ec67c1346939ea4a13328648ab448ffa15e5b3b
b55e8733ec30ad963d9102911299faf8c424bb71
/git_flow_wrapper/cli.py
e71e07c661393e5cbacf848b635818a1d826144a
[]
no_license
pythrick/git-flow-wrapper
05f2e864dd087f54e4d0280044d1cd1c26387177
b1a6c87e5d859e9bb7536acada77b9a2fee48308
refs/heads/develop
2023-01-25T03:47:23.828384
2020-12-02T14:52:55
2020-12-02T14:52:55
250,416,245
1
0
null
2020-12-02T14:52:56
2020-03-27T01:54:32
Python
UTF-8
Python
false
false
1,028
py
import typer from git_flow_wrapper import git_commands app = typer.Typer() new_app = typer.Typer() app.add_typer(new_app, name="new") @new_app.command("feature") def new_feature(name: str): """ Creates a new feature :param name: name :return: """ feature = git_commands.create_new_feature(nam...
[ "patrick.pwall@gmail.com" ]
patrick.pwall@gmail.com
98e260741162faaa3898d368f285305df2932ec6
9f9243c043863022a3c5f9ea80005a803762798a
/RevitPyCVC/Test/externaleventexample.py
78f6b47c136bc62bd42def3916731fb7bd101d83
[ "MIT" ]
permissive
candr2021/pythoncvc.net
9f6c4421d41a32386f3d59f465c1764966bcb3c4
c860c8b656e94b5e9cbe45eda055e4b8a0414a84
refs/heads/master
2022-02-11T23:02:45.408452
2019-08-16T03:14:19
2019-08-16T03:14:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
from Autodesk.Revit.UI import IExternalEventHandler, IExternalApplication, Result, ExternalEvent, IExternalCommand from Autodesk.Revit.DB import Form class ExternalEventExample(IExternalEventHandler): def execute(self, app): TaskDialog.Show("External Event", "Click Close to close") def GetName(self): ...
[ "cyrwae@hotmail.com" ]
cyrwae@hotmail.com
3df86003db484b4b8a7585a6209c6d608eac969b
a79da24bda658f588fd8e71c7e63f01931c1a694
/bigapple/venv/lib/python3.7/site-packages/plotly/graph_objs/scatterpolargl/marker/_line.py
2ddbe27ed182b23cf17085d52fd1c1e056d4fe7e
[]
no_license
replicantdeca/bigapple-insys
60519b486f13e1a3eb18b5ba637e45deaf8e1d8e
5e7328fb94362fbb04a71c2e297bffd83443eebc
refs/heads/master
2020-03-27T12:57:31.894182
2019-12-01T11:25:13
2019-12-01T11:25:13
146,580,916
0
1
null
2018-08-29T10:00:28
2018-08-29T10:00:27
null
UTF-8
Python
false
false
19,823
py
from plotly.basedatatypes import BaseTraceHierarchyType import copy class Line(BaseTraceHierarchyType): # autocolorscale # -------------- @property def autocolorscale(self): """ Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette dete...
[ "mgfcrespo@gmail.com" ]
mgfcrespo@gmail.com
558e15997486e3552ed1a7cfe6a8f9e130f7048e
7205cfb81f7d8b68af7fb61f187b9881f9ca4c84
/size/main.py
f966127597c6f2f5a0af9ad69d5d847f0c5aa7fc
[]
no_license
yuryanliang/python-playground
dfa91bc3e2c8467a3adfc25b0037aae243da4d49
28f13e3cb4f43169d2ed6888a1e761c3f95bf1b7
refs/heads/master
2020-06-12T02:11:01.766109
2019-06-27T21:27:43
2019-06-27T21:27:43
194,162,555
0
0
null
2019-06-27T21:27:44
2019-06-27T21:00:13
Python
UTF-8
Python
false
false
221
py
import sys book='pythön!' b_book=book.encode() for b in b_book: print(b) new=b_book.__sizeof__() len_book=len(book) len_b_book=len(b_book) size_book_size=sys.getsizeof(book) size_b_book=sys.getsizeof(b_book) 1==1
[ "yliang@splunk.com" ]
yliang@splunk.com
5fa1e2acbf20cfcf8589d1e7353d1da0e2083f81
c95c029639bbb83630c9fa7ada17088c0af509b1
/groundwire/checkout/vocabs.py
c3c3de3f75056e08154e96174e8c61a89c6fde0a
[]
no_license
collective/groundwire.checkout
68abfbe2fd5766594a28dccf2dbed010a0deec0e
196d517f2e00cd27a53c00ec72c44d70daa0e684
refs/heads/master
2023-06-26T13:38:57.192768
2013-09-26T22:12:30
2013-09-26T22:12:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
from operator import attrgetter import pycountry from getpaid.core.interfaces import IPaymentProcessor from zope.component import getAdapters from zope.interface import implements from zope.schema.interfaces import IVocabularyFactory from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm from zope.site.hooks i...
[ "jesse@rasikaconsulting.com" ]
jesse@rasikaconsulting.com
d6a13653edcfac52a313eb52b9b59f3706b14c68
a93c4d234eb9d0ea121b58effbf7c0b1289e2ccc
/Find_index.py
abf4c47d03ccdc5577c2650c82638f0ba9c95843
[]
no_license
Shubham07-pawar/Python-Tuple
dcbcb5f7d7fa255b20b89dce4f9358730d31b095
facf24f66dad857119ba4be4df75f78061d452db
refs/heads/main
2023-07-31T01:07:43.153431
2021-09-08T17:05:52
2021-09-08T17:05:52
404,429,338
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
# Write a Python program to find the index of an item of a tuple. t1 = tuple("python is good language") t2 = t1.index("o", 12) print(t2)
[ "noreply@github.com" ]
Shubham07-pawar.noreply@github.com
846c8497136b67f3a893ae499c51bc0b92d39fb5
a6c7174f3b736b8ba34541b51ae75a444214868d
/Backend/hospitalManagementDjango/backend/migrations/0015_auto_20210204_1848.py
d53b83dfe4753e71b1f7474b8f419aa74e68bfd0
[ "MIT" ]
permissive
sm4544/Carian-Drexel
c18b037f799f4ab770b9d0f8104229299f5af319
4f106aabf67c4f1193f974e3d96c26b0a15a9f60
refs/heads/master
2023-03-19T17:38:40.590563
2021-03-15T22:31:07
2021-03-15T22:31:07
299,941,021
1
1
null
2021-03-15T22:18:26
2020-09-30T14:11:18
JavaScript
UTF-8
Python
false
false
1,191
py
# Generated by Django 3.1.2 on 2021-02-04 13:18 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('backend', '0014_auto_20210201_1646'), ] operations = [ migrations.CreateModel( name='Appointmen...
[ "adithya.vadrevu@gmail.com" ]
adithya.vadrevu@gmail.com
9ed940e62e4b3bfdf9750564804b04975687106f
73c01a3f052f8ef63890ec3c2e28403ad41e9a71
/td/models/driver.py
cd23468080d6a1f5b364dd8199d0b29945d90f9f
[]
no_license
Jokey90/aho
4c007c65c819efb726a732a8f36067c5a0226100
8bcd41e9ef7d40f07499429f385d4fec590636f6
refs/heads/master
2020-03-21T22:28:36.395996
2018-06-29T09:25:05
2018-06-29T09:25:05
139,128,834
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
from django.db import models class Driver(models.Model): from main.models import Employee class Meta: verbose_name = 'Водитель' verbose_name_plural = 'Водители' emp = models.OneToOneField(verbose_name='Сотрудник', to=Employee, blank=False, null=False) comment = models.CharField(verbo...
[ "Kishkurno_AS@dsdf.cds.ru" ]
Kishkurno_AS@dsdf.cds.ru
fffc65720d6f0a1225f7ffb51fb0f9b5c0ebfc98
7ac223c9aaa46b2533e08928354f72dd03873e64
/rentals/migrations/0001_initial.py
47ae12267ae8e66afa4ec9c23d0eea29018c24b3
[]
no_license
Kyeza/RentalMangementSystem
9f6e75ffe634510755dbe78fe74f4ef270b5bef5
862490d4be6683e40b81384eb4b7dadad35019cc
refs/heads/master
2023-04-30T06:20:11.281096
2019-05-23T20:40:29
2019-05-23T20:40:29
188,166,783
1
0
null
2023-04-21T20:31:55
2019-05-23T05:24:47
Python
UTF-8
Python
false
false
1,426
py
# Generated by Django 2.2.1 on 2019-05-23 09:53 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category'...
[ "kyezaarnold63@gmail.com" ]
kyezaarnold63@gmail.com
6a8d71703530494fbf4a2211429a77aa60375e5a
acbdff8dfc84aa08a9ecf4bf36b2f8bde7377a9b
/Goruntu Isleme/ornek27.py
c3ffe63b38fa75d293c00d742ef5da087e76299c
[ "MIT" ]
permissive
alikml/RACLAB
e083e28149e651382305557f6e4991db05a7e9fd
cb01b926a6e640076702cb25102101ec1676da94
refs/heads/master
2020-03-18T06:35:05.525402
2018-05-06T12:00:43
2018-05-06T12:00:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
#-*-coding: utf-8-*- ###Şerit Takibi - pointselect - src### import numpy as np import cv2 import matplotlib.pyplot as plt cam=cv2.VideoCapture('videolar/serit1.mp4') _,frame=cam.read() src = np.float32([(130,530), (885,530), (380,350), (590,350)]) cv2.circle(frame,(src[0][0],src[0][1]), 10, (0,0,255),...
[ "nevzatbol06@gmail.com" ]
nevzatbol06@gmail.com
e92679c255ce676bae7e6868834fe6023ca5f1ac
ae7d857ee05657bc6b8a4cca34060b850807c2d0
/Tareas/T03/ataques.py
dec7c3a3caaed62e48144c74def0908db2c80381
[]
no_license
felipehv/iic2233
629215aebd20b21f554c2ef6197daf5de5f94c39
d766f63b13c293e2d136c26f56ac32a13692e7c8
refs/heads/master
2021-01-17T06:07:26.941244
2015-12-10T18:54:34
2015-12-10T18:54:34
60,727,091
1
0
null
null
null
null
UTF-8
Python
false
false
7,356
py
from random import randint,choice def verificar_posicion(self,pos,tab): try: pos = pos.split(',') x = int(pos[0]) y = int(pos[1]) except ValueError: print("Ingrese una posicion valida: {}".format(err)) return False else: if ...
[ "fahaase@uc.cl" ]
fahaase@uc.cl
f45875c4209fbb43c7e897f01d088d54d133aabf
5d12e5e7a60adad22ace698a6cc6c899bebac6cf
/setup.py
1e5b26709daa1ae7697a56e8d37e913636b5d2a6
[ "Apache-2.0", "MIT" ]
permissive
Sea2Data/NMDEchosounder
53b5b39f6aa528c2f586971123003b1da525db8f
582c4350b07bb3634e3919b8eb4825b7c60455bb
refs/heads/master
2022-04-23T20:33:54.557647
2020-04-15T11:51:28
2020-04-15T11:51:28
255,900,432
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
from setuptools import setup from os.path import join as pjoin from setuptools import setup, find_packages import versioneer # Dependencies. with open('requirements.txt') as f: requirements = f.readlines() INSTALL_REQUIRES = [t.strip() for t in requirements] setup(name='runLSSSreport', vers...
[ "noreply@github.com" ]
Sea2Data.noreply@github.com
4e0d253956198e5fa3ad23aeee83f6011f93e0b1
a264f38b43e80cff0c0a37307b06513879f7e0ba
/tests/unit/controllers/test_hellohandler.py
28716c977f1697300fddf3d49ee122694e56b286
[ "MIT" ]
permissive
kowalcj0/dinky
6a444552b874ce91aa5ff72a557a83106216c8ba
87872d739e3d78ec56fa8d161f12560aee6e41ad
refs/heads/master
2020-03-29T17:48:56.149385
2014-11-09T22:47:30
2014-11-09T22:47:30
24,789,926
3
0
null
null
null
null
UTF-8
Python
false
false
733
py
# -*- coding: utf-8 -*- # # (C) Janusz Kowalczyk (kowalcj0) 2014 from mock import MagicMock, patch from dinky.controllers.hellohandler import HelloHandler from tornado.escape import json_encode @patch('dinky.controllers.hellohandler.options') @patch('tornado.process') def test_get_service_status(process, options):...
[ "kowalcj0@gmail.com" ]
kowalcj0@gmail.com
32134a278beca5f1afae751fa82c6d13e6ec54ed
712e89608d35e0656a58cf761a4ca6d9e2ee401e
/6.python爬虫/0.Beautiful Soup的使用.py
249d5bcaa45f4fa13a02a9ebedab1b6de142e74f
[]
no_license
codercloudX/python
49af4e07b2c034eb0618d6bf55e6d8b35f72b782
f59332c9cfd8a689a8c0ce040ce74e26cfc05afc
refs/heads/main
2023-07-15T13:46:45.666566
2020-12-04T08:14:43
2020-12-04T08:14:43
317,762,041
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
# 安装Beautiful Soup # pip3 install bs4 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com from bs4 import BeautifulSoup import requests soup=BeautifulSoup("https://www.qiushibaike.com/text/","html.parser") soup.find('div')
[ "cloud562935456@gmail.com" ]
cloud562935456@gmail.com
f9bb22668375a1377dd6ca8358ae7353cc09afe6
21c441649aa98fda6688d6ca206488e59626a1bc
/Ejercicios/tkinter11.py
cfc980a8bb5e345c40e9101ff5a2b35cd429586c
[]
no_license
escm1990/PhythonProjects
3e51675379d18f8d75553e3d60a474f03abfa489
fabe3885bdaf7884207cdf81636db6bb786443a4
refs/heads/main
2023-01-31T10:23:43.367611
2020-12-15T04:19:24
2020-12-15T04:19:24
308,491,474
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
import tkinter ventana = tkinter.Tk() ventana.geometry("400x400") def mensaje(): print ("Bienvenid@s") btn1 = tkinter.Button(ventana, text="Clic aquí", command = mensaje()) #al colocar () en la función se ejecuta automaticamente la función btn1.pack() ventana.mainloop() #clic y ver terminal
[ "escm.1990@gmail.com" ]
escm.1990@gmail.com
b27f2c4aab4b37837336299dd6aa4de58d3b5bce
b55ec7d5019b34f3626ec110e10be11d9cfb9af0
/global_test.py
73630eb2cebf375281b7168fc51cc88a65aa4b44
[]
no_license
mrberti/python
d071b05dab0043ecccf9f21f264aea651c4aec39
295e7aefee5df8962920aaadb8a7efd2c3c15683
refs/heads/master
2022-11-05T20:29:07.622517
2022-10-12T17:44:46
2022-10-12T17:44:46
116,002,544
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
class Test(): def __init__(self): self.a = 1 self.d = { "a": 1 } T = Test() # G = None G = { "asd": 1 } def a(): print("a() before") # print(T.a) # print(T.d) print(G) # T.a += 1 # T.d["a"] += 1 b() print("a() after") # print(T.a) # p...
[ "simon.bertling@gmx.de" ]
simon.bertling@gmx.de
9603cca0d9da4b314e04297b7810c5ae42ed2edb
c0e2f4a6beae18738ab7cf8c628897206efb4dfe
/index.py
92d1e0c6dba74d8bb6571bdf648251afccf2d783
[]
no_license
alexblb/lambda
8d0ab5e2a760cdccf2a001bfc668fd802324670c
4abedb8daa06ba8987e1ee11ada9be13f9c8efdf
refs/heads/main
2023-06-26T12:41:31.370074
2021-07-26T18:03:25
2021-07-26T18:03:25
389,724,217
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
import logging import boto3 import json from botocore.exceptions import ClientError def upload_file(file_name, bucket, object_name=None): # If S3 object_name was not specified, use file_name if object_name is None: object_name = file_name # Upload the file s3_client = boto3.clie...
[ "noreply@github.com" ]
alexblb.noreply@github.com
5ef05dd99cd88c1d6387005f2eb546494a1bd520
fdc2fbb1b9e75a6ce5adacec29aae7482c999135
/_api/public_api/services/routes.py
f90cad4b74402610f779b7f832b7fd98866cebad
[ "MIT" ]
permissive
bellyfat/membership_and_affiliate_api
b37411a1244fc7d6bf721b6d36ec87b57845169f
41fb9f5a0c37c1ac5636122c61e98ddaf9c569ff
refs/heads/master
2023-07-12T17:07:28.399407
2021-08-24T13:04:02
2021-08-24T13:04:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
""" **Public facing Services API** """ __author__ = "mobius-crypt" __email__ = "mobiusndou@gmail.com" __twitter__ = "@blueitserver" __github_repo__ = "https://github.com/freelancing-solutions/memberships-and-affiliate-api" __github_profile__ = "https://github.com/freelancing-solutions/" from typing import Optiona...
[ "mobiusndou@gmail.com" ]
mobiusndou@gmail.com
acd3f05b9ab2ae703721248acdeb49ebec007557
a23bb3362ccc1da7d11cd34444650f3c83c0f6b0
/dependencies/pycdf-0.6-3b/pycdf/pycdfext/numeric/pycdfext_array.py
b5898e110e338170c5885a57f0d05a044cd845a4
[]
no_license
glassstone/HSRL_python_Brad
a39407274682b0904890b471507095a0bb053ca0
1cece92d8bf57c0b5cc52b7dbc14d69bc21705f2
refs/heads/master
2020-05-21T07:08:23.273927
2017-02-13T22:55:36
2017-02-13T22:55:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
# $Id: pycdfext_array.py,v 1.2 2007/02/11 22:10:00 gosselin_a Exp $ # $Name: $ # $Log: pycdfext_array.py,v $ # Revision 1.2 2007/02/11 22:10:00 gosselin_a # Cleanup references. # # Revision 1.1 2006/01/02 18:51:15 gosselin_a # The 'pycdf' directory has been restructured so as to allow # installing pycdf with eithe...
[ "brads@ucar.edu" ]
brads@ucar.edu
975c234554b82b79cc41843ab7dd885ccee8b46f
0ed0f0538bd4370bfd6946fb77197b9f72b48ee7
/week0/harder_problems/7_simplify_fractions.py
e027928fe21515accede59d060cf49cecd92766a
[]
no_license
mihail-nikolov/hackBG
b4a28f3e43250b6081caace3ed0e4533448bf654
fe7b522f2a1a2771e1cea3529a1708d7f818d405
refs/heads/master
2022-12-07T07:43:39.468393
2014-11-30T13:43:44
2014-11-30T13:43:44
25,029,775
0
0
null
2022-11-22T00:26:12
2014-10-10T09:49:13
Python
UTF-8
Python
false
false
231
py
def simp_frac(a, b): c = max(a, b) for i in reversed(range(1, c + 1)): if a % i == 0 and b % i == 0: a = a / i b = b / i arr = [int(a), int(b)] return arr print(simp_frac(3, 9))
[ "mihail.y.nikolov@abv.bg" ]
mihail.y.nikolov@abv.bg
bf11a1327837ac652e7e4a6ada95d1fcde370cca
c2e40ebb8e2e8d51f3a0f5e4014ba8fba174bc94
/books/models.py
20558ac7741ee02e306c33994479b1679a816175
[]
no_license
naveenkrnl/dondler-temp
37bc39faf1095c05ec35b3a399509a9682ea8cca
5a322d174c342e8955abdb3100e7e7dc00435e2b
refs/heads/master
2023-08-20T18:47:03.718800
2021-10-24T16:03:41
2021-10-24T16:03:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,248
py
from django.utils.text import slugify import re from django.db import models from django.db.models.signals import post_save from django.conf import settings from .scrapper import * from django.contrib.auth import get_user_model import time User=get_user_model() class Subject(models.Model): subject_name=models.Cha...
[ "naveen.arora@BLRETV-C02FG1P0.bbrouter" ]
naveen.arora@BLRETV-C02FG1P0.bbrouter
15a0f469002f025d8548bb128944a890c08b51cd
97507a2e349f6aee37bf851ccf3184893c97c621
/Python/2019_04_17_Problem_92_Study_Track.py
5e62b37cd8c733dbc3e9a5ac298bb6a5b3c8bc96
[]
no_license
BaoCaiH/Daily_Coding_Problem
935d581f3ac9cb5b72e871191c4d5f93413ab294
97eae3ee806756f4d646d600f434b1e68164ad34
refs/heads/master
2020-04-17T04:04:45.630222
2020-03-10T11:46:49
2020-03-10T11:46:49
166,213,038
0
0
null
null
null
null
UTF-8
Python
false
false
3,282
py
#!/usr/bin/env python # coding: utf-8 # ### 2019 April 17th # # Problem: We're given a hashmap associating each courseId key with a list of courseIds values, which represents that the prerequisites of `courseId` are `courseId`s. Return a sorted ordering of courses such that we can finish all courses. # # Return null i...
[ "caihongbao280996@gmail.com" ]
caihongbao280996@gmail.com
e43930d327b6939befe1419398f6c59ded87583a
7df7224ad0e68a89c0d4943d8b852549523c2f72
/src/SteamVRStreamOverBluetooth.py
d804391d116225187961c439c2c9b967ceefc176
[]
no_license
Kazava/SteamVRNoVive
ae75cb996cd68bcd42157a52d835f035e88424d4
da332b43a3b0fa36a3ae0b9840c3e30f813b8905
refs/heads/master
2020-03-17T06:28:16.039576
2018-05-01T16:09:45
2018-05-01T16:09:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,901
py
''' Created on 27 Oct 2017 @author: murray ''' import BluetoothRFCOMM import triad_openvr import struct import time import sys #from bokeh.command.subcommands.file_output import FileOutputSubcommand #initilise class bComms = BluetoothRFCOMM.BluetoothRFCOMM() uuid = "94f39d29-7d6d-437d-973b-fba39e49d4ee" client_sock...
[ "murray.hendriksen@xyzreality.com" ]
murray.hendriksen@xyzreality.com
b82c06cda857f583778323ad19c6e42ea9a88841
31374608ec995a448c341b291f491bd070d9e0dc
/stocks_log/urls.py
808b8d7563675747ec8d7540ab0c7a48f36e5c46
[]
no_license
ShapeoftheClouds/lesson10Django
32c634bd95222684ab33ecb9884c38ac6758eb66
77260f574b1b98b87de064763d77136258e1f755
refs/heads/master
2020-04-29T05:29:51.772402
2019-03-16T00:55:27
2019-03-16T00:55:27
175,885,824
1
0
null
null
null
null
UTF-8
Python
false
false
858
py
"""stocks_log URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "amandagracebutt@gmail.com" ]
amandagracebutt@gmail.com
4ee9463d51a2db77f4e61add7e61f16a97c0a4de
59166105545cdd87626d15bf42e60a9ee1ef2413
/dbpedia/models/military_conflict.py
42ad67a51c35ffbc28524cab6a5bcd8650c639c2
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,602
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from dbpedia.configuration import Configuration class MilitaryConflict(...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
a92d594d6e93aa4c5d01e2d7b5b0f5d0cabd66ba
a6fb18a987bfb821091a15229bf8ac31b374e425
/VisualPy/engine/logic.py
c6b1c905dfb00c82d1236bec2702091b560a43f6
[ "BSD-2-Clause" ]
permissive
xTrayambak/visualpy
2664c7401f4372ce32783d485df17b9ffdcc75fe
10a68c023b230f9c2f11e57680dab06e68078d0a
refs/heads/main
2023-04-06T14:25:41.653836
2021-04-07T05:25:17
2021-04-07T05:25:17
355,421,893
0
0
null
null
null
null
UTF-8
Python
false
false
1,597
py
""" DialogList """ from ErrorTypes import * from bridge import runtime_error_free from Handling import * import pyglet import random def remove_spaces(words): result = '' for w in words: if w != ' ': result += w return result """ Sprite data """ class Sprite(): def __init__(self, x,...
[ "noreply@github.com" ]
xTrayambak.noreply@github.com
da3449f427e0b24db486c59bdd24e486619c9e1f
117f066c80f3863ebef74463292bca6444f9758a
/data_pulling/tax/example.py
4fdcefef7f117c22146461f85385ac5b612cdb24
[]
no_license
cottrell/notebooks
c6de3842cbaeb71457d270cbe6fabc8695a6ee1b
9eaf3d0500067fccb294d064ab78d7aaa03e8b4d
refs/heads/master
2023-08-09T22:41:01.996938
2023-08-04T22:41:51
2023-08-04T22:41:51
26,830,272
3
1
null
2023-03-04T03:58:03
2014-11-18T21:14:23
Python
UTF-8
Python
false
false
1,854
py
import pandas as pd import numpy.random as nr import numpy as np class PandasPiecewiseLinear(): # dodgy, thing to do piecewise opt # this is not useful really, you would need to create some n-d simplex thing ... probably a package that does this def __init__(self, x, y): """ no extrap """ s...
[ "cottrell@users.noreply.github.com" ]
cottrell@users.noreply.github.com
6a73f9ed6b2673cfc8dc5c2ec2dad9262f2c88b0
eb72469bb75aa77992e55ae3f4291c331c0c9c8c
/Programs/Pandas/FirstRows.py
ff46128d08181529f7dde8a896d088aa455590eb
[]
no_license
MayuriTambe/Programs
65652211e0dbf52199f05f6add275641502f1f36
3873786c0bd21794441f39a7bd173fb872c9403b
refs/heads/master
2021-01-04T09:32:43.105786
2020-03-07T12:41:03
2020-03-07T12:41:03
240,466,599
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
import pandas as pd import numpy as np exam_data = {'name': ['Anastasia', 'Dima', 'Katherine', 'James', 'Emily', 'Michael', 'Matthew', 'Laura', 'Kevin', 'Jonas'], 'score': [12.5, 9, 16.5, np.nan, 9, 20, 14.5, np.nan, 8, 19], 'attempts': [1, 3, 2, 3, 2, 3, 1, 1, 2, 1], 'qualify': ['yes', 'no', 'yes', 'no', 'no', 'yes',...
[ "tambemayurii190@gmail.com" ]
tambemayurii190@gmail.com
b31979f988725cf694bfbad19ec793def2e31147
88e8e28b58092d5ba051582930c156872b9565a5
/unews/unews/items.py
ecc7fba0c3ac1e5fd2ade006f035a54de44947d0
[]
no_license
dorahero/crawlers
b8a4a1c2592e817b365d56a87bee021d29598810
88e134fdd2493330622848f931638aabd6c906fe
refs/heads/master
2023-02-19T07:54:54.945144
2021-01-23T09:13:42
2021-01-23T09:13:42
276,884,804
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class UnewsItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() title = scrapy.Field() text = scrapy.Field() time = scrap...
[ "dorahero2727@gmail.com" ]
dorahero2727@gmail.com
454f6fc2cd33568b898f520b23dde31a5a10a44d
5f61a5738f7c253c3696eb78cb8fe8f448824733
/tests/func/authors/test_authors.py
060b251779d9d3c9a37a4963fee1b658c0c143d1
[]
no_license
JuanBer/PyTestBook
8986779471a3598a068466a4bad60c7343e57b9a
6ef5843da58f3f7dd872527d8e5d23eb9a67cb23
refs/heads/master
2020-04-26T19:13:52.735648
2019-03-17T23:50:17
2019-03-17T23:50:17
173,767,366
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
"""Some tests that use temp data files""" import json def test_brian_in_portland(author_file_json): """A test that uses a data file.""" with author_file_json.open() as f: authors = json.load(f) assert authors['Brian']['City'] == 'Portland' def test_all_have_cities(author_file_json): """Same...
[ "jm_bertoni@yahoo.com.ar" ]
jm_bertoni@yahoo.com.ar
ffcf8c9e3bd602c62149a42dac33d47fc5c7fa0a
4dd695521343d56ff943e8c1768343d7680714e3
/experiments/scripts_auto_closedset_braccent/config_iVector_400_fold1.py
34cd51f887e4c284adc8d7e44663401d7056f6b5
[]
no_license
natharb/environment
ea659ee541f6473e92b5b30c549e52b66f47b280
86e6cee6e01d2370abeb7c55a2c8a15001735919
refs/heads/master
2021-09-28T02:39:02.222966
2018-11-13T12:03:34
2018-11-13T12:03:34
139,762,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
#!/usr/bin/env python # vim: set fileencoding=utf-8 : #Nathália Alves Rocha Batista (nathbapt@decom.fee.unicamp.br) import sys sys.path.insert(0, '.') import bob.bio.spear import bob.bio.gmm import numpy import scipy.spatial temp_directory = './results/closedset_braccent/iVector/400/fold_1/temp/' result_directory = ...
[ "nathbapt@decom.fee.unicamp.br" ]
nathbapt@decom.fee.unicamp.br
e75b8889a6c0498c6a7e72f280cba8ce56c72660
3249577773cf18e5c09ea36de62477ddb43b662b
/Python/django/user_login/apps/dojo_ninjas/views.py
6f0f71058c7279e806c4f9481c8dec2b16a697ee
[]
no_license
HollinRoberts/code
5394abe2a7c42bbbe83d8f64a99c50a52f05792b
8026522ab169c4174037fdf1b271de60b75d79bf
refs/heads/master
2021-01-01T16:12:11.674680
2017-10-18T21:08:10
2017-10-18T21:08:10
97,786,418
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render def index(request): print 'here' return render(request,'dojo_ninjas/index.html')
[ "hollinroberts@gmail.com" ]
hollinroberts@gmail.com
41d999a5e04ca98fc1bea1f05e638bc5a92839e2
b891f38eb12eeafdbcec9deee2320acfaac3a7ad
/0x0A-python-inheritance/100-my_int.py
641a3669fbc5bd16550b3e3d1c87db16add73a55
[]
no_license
davixcky/holbertonschool-higher_level_programming
bb112af3e18994a46584ac3e78385e46c3d918f6
fe4cd0e95ee976b93bd47c85c2bc810049f568fa
refs/heads/master
2023-01-11T00:41:03.145968
2020-09-22T22:55:53
2020-09-22T22:55:53
259,390,611
0
5
null
null
null
null
UTF-8
Python
false
false
291
py
#!/usr/bin/python3 '''Module for advanced''' class MyInt(int): '''Rebel class''' def __eq__(self, other): '''Override == operator''' return not (self is not other) def __ne__(self, other): '''Override != operator''' return (self is not other)
[ "dvdizcky@gmail.com" ]
dvdizcky@gmail.com
ed00045f461eab3dcc7ea8a25b7d0eabb5c47a29
0a1356b97465cc1d5c3f661f61b3b8c51fb05d46
/android_binding/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/cross_platform_calc/kivy/uix/behaviors/knspace.py
ef65fa5fbf43f9500cd6bed73fd637b4b478df04
[ "MIT" ]
permissive
Rohan-cod/cross_platform_calc
00360f971e4da68dd36d6836c9ddbb157f6b77d5
5785a5e8150d174019b330c812e7eb012cc4dd79
refs/heads/master
2022-12-22T10:29:05.317051
2021-06-05T10:52:44
2021-06-05T10:52:44
237,465,912
2
1
MIT
2022-12-09T05:18:55
2020-01-31T16:07:31
C
UTF-8
Python
false
false
20,096
py
''' Kivy Namespaces =============== .. versionadded:: 1.9.1 .. warning:: This code is still experimental, and its API is subject to change in a future version. The :class:`KNSpaceBehavior` `mixin <https://en.wikipedia.org/wiki/Mixin>`_ class provides namespace functionality for Kivy objects. It allows kivy o...
[ "rohaninjmu@gmail.com" ]
rohaninjmu@gmail.com
216a7c24d618b34f6608ab84b2b5de782b2e99e2
273e7c39d28995c04276dfb2ed24bc01516d5163
/examples/kdtree_knn_classification_batch.py
bb37cd5cd521cbc8e13cfe709a29c1efbe5edc1d
[ "Apache-2.0" ]
permissive
keceli/daal4py
9fe8ceda27607e674fc5ee97e54838548f376894
7ca999c30e4b5123abaab23e1a9eeaa9284dab11
refs/heads/master
2020-04-07T13:34:08.705596
2018-11-20T20:07:06
2018-11-20T20:07:06
158,412,327
0
0
null
2018-11-20T15:36:34
2018-11-20T15:36:33
null
UTF-8
Python
false
false
2,630
py
#******************************************************************************* # Copyright 2014-2018 Intel Corporation # All Rights Reserved. # # This software is licensed under the Apache License, Version 2.0 (the # "License"), the following terms apply: # # You may not use this file except in compliance with the Li...
[ "frank.schlimbach@intel.com" ]
frank.schlimbach@intel.com
cade239b0ece789edff3420e5fd5b30a5452ddee
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/01_netCDF_extraction/erafive902TG/134-tideGauge.py
5cfea7896c09776590870458447a906f23f3c666
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
4,595
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 01 10:00:00 2020 ERA5 netCDF extraction script @author: Michael Tadesse """ import time as tt import os import pandas as pd from d_define_grid import Coordinate, findPixels, findindx from c_read_netcdf import readnetcdf from f_era5_subsetV2 import subsetter def extrac...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
f8b1c072db8e41d1bdb58dc584d5b244eb6a655b
7481877e5d03dfd63e6caf26f3764b99ba0a2166
/experiments/resizer.py
33341aab17c6799be462b5a411bfab1a0c2f9a86
[]
no_license
Linerre/pypain
f51c308eb9535bcfb51fb16052a6a68bbf7a693f
07603120eb8e8f42a31054be66c62f00b03f94fa
refs/heads/master
2023-06-16T01:32:47.177322
2023-06-04T04:17:11
2023-06-04T04:19:23
215,806,855
2
1
null
2021-03-22T11:36:49
2019-10-17T14:02:01
Python
UTF-8
Python
false
false
484
py
import os from PIL import Image formats = ['.png', '.jpg', '.jpeg'] # in case of extension 'JPEG' size = (128, 128) content = os.listdir(os.getcwd()) # print(content) images = [item for item in content if os.path.splitext(item)[1].lower() in formats] for img in images: im = Image.open(img) try: im...
[ "leon.errelin@outlook.com" ]
leon.errelin@outlook.com
60e306b2f1d2eb09c10ad7fd96c31bfcfff2e04a
0f0e4f082e6e5f77fa9f3fa53228840af5f0715b
/Stack/lab2_parenthesis.py
c562c199cc6ef909ddb02bbe3bffd08b046c4add
[]
no_license
teeradon43/dataStruct2DLab
f31cd047ff51022ed3c322651b489a93db3fc37a
16a285520edfd0bb15396ac306b135b402ab3903
refs/heads/master
2022-12-25T19:20:13.496815
2020-09-29T16:27:30
2020-09-29T16:27:30
295,998,702
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
from lab1_stack import Stack def match(op,close): if op == '(': return close == ')' elif op == '{': return close == '}' elif op == '[': return close == ']' else: print('error open paren undefined') return -1 s = Stack() txt = input('Enter input : ') erro...
[ "teeradonch43@gmail.com" ]
teeradonch43@gmail.com
f821168daacde5daead66cadb6450cd2019b90f6
c6e7e1a32ca22c7e8fcb7f8c62ca5478e1e34344
/venv/bin/pip
1040e724235617c89eba1fc9b902082e7ca57c4b
[]
no_license
swordwielder/RESTapi
13b2dca65a2f49f5a2fbd85309a698019c5ebc87
5541bad50608e848ee5c2ff05687d6fa7392f90a
refs/heads/master
2020-07-23T18:53:30.376658
2020-03-06T18:31:29
2020-03-06T18:31:29
207,674,101
0
0
null
null
null
null
UTF-8
Python
false
false
404
#!/home/sword/PycharmProjects/pyworkspace/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "qchen125@gmail.com" ]
qchen125@gmail.com
70c4fb325c35cca9896b1bbc76cbb8d0af3cc601
ed3c90cc8f55f7b4cca4764818489651d1adbdaf
/test.py
3974f59c4e7f073fc9ebd31bb9998180bf7db4e3
[]
no_license
GDMelon/updata_package_from_ccl
9132f8767d3c4a5b6b806833c9dc40a5d6c8a4d7
60ebbc9adba21fc60ce6f5d2481f07908fe78844
refs/heads/master
2020-08-08T18:34:01.616051
2019-10-09T10:36:31
2019-10-09T10:36:31
213,889,675
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
import os bas_path = os.getcwd() dirname = "lib.txt" path = os.path.join(bas_path,dirname) # print(path) with open(path) as f: r = f.readlines() for i in range(2,len(r)): r_1 = r[i].split(" ")[0]
[ "supper_victor@163.com" ]
supper_victor@163.com
d191111380a5adbbfd9bc6ac7175d8dec74f2342
69f5c03ec42e59fb607ede82a634a11b135aa6c2
/todo-app/app/todo_api/views.py
322caeaebfaab53049ab84cce7302fe51a2a3307
[]
no_license
rashmiranjanrrs/Creating-a-RESTful-API-service-with-FLASK
dc0f5dc31e26ae01766865c2a59a2af527df3fa9
0d30e0698e82a6a8309ca34af33f794b11ffc200
refs/heads/master
2021-06-25T08:31:59.169304
2019-09-30T05:04:53
2019-09-30T05:04:53
210,859,277
0
0
null
2021-03-20T01:43:56
2019-09-25T14:01:05
Python
UTF-8
Python
false
false
2,771
py
from flask import Flask, request, jsonify from app import db from app.models import User, Task from . import todo_api from flask_httpauth import HTTPBasicAuth import datetime auth = HTTPBasicAuth() @auth.get_password def pass_auth(username): user = User.query.filter_by(username=username).first() i...
[ "noreply@github.com" ]
rashmiranjanrrs.noreply@github.com
ea12534c7be64140811c1d0e2fad6a4e1c4cbbda
b0b0bc2827ae5ae0f18cc953f4bfed898ac6046b
/csi.py
18903f385c1697e11489f152d82deadbfba8de48
[]
no_license
fearonviel/csi
f290ee520312e6fc1535ef9da4564c98734ec768
e7e26e1258b056faaef86436773bf8c7eb2a5a9b
refs/heads/master
2021-01-19T13:21:04.599641
2017-04-18T09:21:44
2017-04-18T09:21:44
88,080,296
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
#!/usr/bin/env python # -*- coding: utf-8 -*- with open("dna.txt", "r") as data: dna_sequence = data.read() eva = { "Gender": "TGAAGGACCTTC", "Race": "AAAACCTCA", "Hair color": "TTAGCTATCGC", "Eye color": "TTGTGGTGGC", "Face shape": "AGGCCTCA", } miha = { "Gender": "TGCAGGAACTTC", "Ra...
[ "anja_bukovec@t-2.net" ]
anja_bukovec@t-2.net
9185f80e5dcbeba78d2c36afec01a9a8d7a575c1
a8654d452b79c3a5249ce23e587b70521ab20760
/patternmatch/threshold.py
bfbf6e5efa032c51896932c2feef96add52d9ab7
[]
no_license
LaKitta/playground
4d13b18bcfcd871bdda354f06e11a59476296bbf
2769f5ae4e910092e59433c85335d6dd55722b5c
refs/heads/master
2023-03-14T20:32:45.965706
2021-03-16T04:17:40
2021-03-16T04:17:40
89,317,826
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
# https://docs.opencv.org/master/d4/dc6/tutorial_py_template_matching.html # res = It returns a grayscale image, where each pixel denotes how much does the neighbourhood of that pixel match with template. import cv2 as cv import numpy as np from matplotlib import pyplot as plt img_rgb = cv.imread('appgalary.png') img...
[ "gampermaster@gmail.com" ]
gampermaster@gmail.com
23c71b0d50b91315b570e7451f6325c9285a753a
021dcf39f7cfb303ff427d7344026004f9d4cfdd
/bookit/geo/models/area.py
a95118209730353550ebf7ebe4ccac7d64d64fed
[ "MIT" ]
permissive
kamranhossain/bookit
dfaca266b93e0ee8a50e88a2a7702a6f5ece35f1
4189a0ed620d7a595de2c113bb3a2d435d66d5f0
refs/heads/master
2021-05-11T23:36:00.630917
2017-08-16T20:30:33
2017-08-16T20:30:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django.db import models class Area(models.Model): name = models.CharField( max_length=140 ) def __str__(self): return self.name
[ "aniruddha@adhikary.net" ]
aniruddha@adhikary.net
8d773d9cd8647cd4ef9ee4d7f40f36a8700b3a80
b9e7c4334f6508fb84457900757dab31b5a94ad9
/fgcs.spec
653fa3b8dd328971da171a08320381bae5bea038
[]
no_license
Big-Secret/AmongUsStreamCounter
65b4219cbba4e644605c5bbf0542e5bfb51dbe6f
49aae5fe5e9b05d40bfda0950cf75570290d9b48
refs/heads/master
2022-12-15T15:07:22.387611
2020-09-04T23:10:10
2020-09-04T23:10:10
292,963,743
0
0
null
null
null
null
UTF-8
Python
false
false
956
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['fgcs.py'], pathex=['C:\\Users\\alexn\\PycharmProjects\\FallGuysWinCounter'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], ex...
[ "alex.nawabi@gmail.com" ]
alex.nawabi@gmail.com
c452c66f515a02f5e0c63d2644bb2df2b49ef86b
4092620b6cc3f330b461e23d7464e4346b5a2012
/Chapter_1/Ch1Ex1.py
2fab42751993d0c3926b66a6b2fcd602c304cbd6
[]
no_license
GammaBlaze/PythonForDevOps
51ff7c4ace5b00aa81c37802051f50b55e0f1864
081308e872cd8dbe95033396df659f79d64aa625
refs/heads/master
2021-03-16T17:24:58.145249
2020-04-01T19:23:35
2020-04-01T19:23:35
246,926,560
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
# Write a Python function that takes a name as an argument and prints that name def PrintName(name): '''Printing a name passed to the function.''' print(f"Name: {name}") PrintName("James")
[ "noreply@github.com" ]
GammaBlaze.noreply@github.com
d29d5c2be6de0c5ffb14a35773221396e731327d
627cca9406c31ce30c493ff7502f79eb4c57eee3
/xcha/wallet/wallet_user_store.py
599b6716d9fb71d4e7865a65ef4cc60d9f06933f
[ "Apache-2.0" ]
permissive
blockchiansea/xcha-blockchain
40c6d36813f671e94316a522904238f495f39f6b
7de0ba89056236e30069aef12fe25843f6093bcf
refs/heads/master
2023-07-26T02:36:57.654196
2021-09-06T06:04:21
2021-09-06T06:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,788
py
from typing import List, Optional import aiosqlite from xcha.util.db_wrapper import DBWrapper from xcha.util.ints import uint32 from xcha.wallet.util.wallet_types import WalletType from xcha.wallet.wallet_info import WalletInfo class WalletUserStore: """ WalletUserStore keeps track of all user created walle...
[ "xchanet@gmail.com" ]
xchanet@gmail.com
91b318d159a0ec2b5a29e97597041149b5ca0669
48e59d470901bd44e4f6797987f4d9db49eae14a
/test_nav.py
7847da933f08686e1ee4cb76629f703c9d164f74
[]
no_license
gngantt/DOREE
b25cb8856a70a0883c4657720e43ffa5e509fe56
52a95d1b99b895005f73e4f99ac99c035c1f7c67
refs/heads/master
2020-05-25T15:25:31.426681
2019-07-28T17:30:51
2019-07-28T17:30:51
187,868,327
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(26,GPIO.IN) GPIO.setup(19,GPIO.IN) while(1): if(GPIO.input(26) == 1): print(GPIO.input(26)) print("Warning \n") #wait = input() elif(GPIO.input(19) == 1): print(GPIO.input(19)) print("Critical ...
[ "gngantt@gmail.com" ]
gngantt@gmail.com
ca228e5593dea749fc2dba4b27d14b41224d62c8
8f64bee79b8051a052b1ab601da3d3e09418ec78
/demo.py
e286eed396875818f4ca53d0a1b86d14c75ee7c2
[]
no_license
sirodoht/xml-diff
f6f14df641b45c249cdacf2f27209c3c202c02a2
a67f43030548ba8b91a55631bd69335618a5b92d
refs/heads/master
2020-04-10T12:56:17.952458
2018-03-08T00:27:11
2018-03-08T00:27:11
124,275,135
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from diff import files_diff files_diff('datafiles/left_demo.xml', 'datafiles/right_demo.xml', True)
[ "theodorekeloglou@gmail.com" ]
theodorekeloglou@gmail.com
8e14f0ee9e598a91230cc45cdb27d090a09c0d2e
e7a1c52b54f83eac2372f05c60f61812aca81dff
/web/src/resources.py
b6fcb835baba85e97a4004f79317e0eccfec9884
[]
no_license
BUEC500C1/twitter-summarizer-rest-service-dlhi
e2fc154e89a4fef4499e66893403b13a8b0b6d65
abf49e7395ff1f4cee96443a5b531aa74b95bdfb
refs/heads/master
2022-12-14T21:16:43.873305
2020-04-06T03:49:48
2020-04-06T03:49:48
245,539,870
0
0
null
2022-12-08T03:45:11
2020-03-07T00:12:20
Python
UTF-8
Python
false
false
2,046
py
from flask import jsonify, send_file from flask_restful import Resource from webargs import fields from webargs.flaskparser import use_args from twitter import get_tweets, get_num_followers import uuid from ffmpeg_converter import removeVideo, uuid_keys from worker import workerQ from util import parent_d...
[ "dlhi@bu.edu" ]
dlhi@bu.edu
58fff63905bb49f0eb57613c08250d48dea35e78
8a62bbff9378187a898f336532bb49de18cb88e4
/2020-st-tight-integration/direct-mustc.config
10ebec564331233a43d481e0ddcd70edcd45130c
[]
no_license
rwth-i6/returnn-experiments
e2cdecb67febe646d702282ced8c290f1dd8edd0
a46021329c030af361e0becb25ea92afca9610ce
refs/heads/master
2023-06-08T08:56:11.891782
2023-05-30T12:46:45
2023-05-30T12:46:45
67,426,132
159
52
null
2023-05-30T12:46:46
2016-09-05T14:07:48
Python
UTF-8
Python
false
false
18,376
config
#!rnn.py # kate: syntax python; # -*- mode: python -*- # sublime: syntax 'Packages/Python Improved/PythonImproved.tmLanguage' # vim:set expandtab tabstop=4 fenc=utf-8 ff=unix ft=python: import os import numpy from subprocess import check_output, CalledProcessError from Pretrain import WrapEpochValue # task use_ten...
[ "bahar@i6.informatik.rwth-aachen.de" ]
bahar@i6.informatik.rwth-aachen.de
6fdc14cc0af89ffc72791f1e9540533fe8a9fc74
33ea2f953a615ef44655df9efba51076ffa0bf8f
/prime number.py
eb465831b368e7e5d82f6a2a7d271d67182900f2
[ "MIT" ]
permissive
mlsmall/Python-scripts
cf8da62d20db4adb0bf3ed07774a7379142f4ff1
b103caeef2f97ce367186fea9514cb5ce71a5498
refs/heads/master
2020-06-05T07:46:36.383092
2019-07-14T18:41:28
2019-07-14T18:41:28
192,364,851
1
1
null
null
null
null
UTF-8
Python
false
false
384
py
# Function to give you a list of prime numbers def isPrime(num): primelist = [] for i in range(2, num): if num % i == 0: primelist.append(1) else: continue if len(primelist) > 0: return False else: return True for i in range...
[ "39747093+mlsmall@users.noreply.github.com" ]
39747093+mlsmall@users.noreply.github.com
00d360a665318ed20bc3198fc1d9059beadc1f53
c225bb2c7df7ba05ffe8e7990baf1ce34b432919
/models/loss_function.py
106f808a72b902c5d3ff46b80a6f6d8b5df07e36
[ "BSD-3-Clause" ]
permissive
xiezheng-cs/AFA
9b4ae07005861e7a12d40dcff224ee735b937915
cc4afa674eb27961290297ecf23c4ff878f6f634
refs/heads/main
2023-05-07T16:25:30.595893
2021-06-03T11:34:02
2021-06-03T11:34:02
338,743,103
8
2
null
null
null
null
UTF-8
Python
false
false
2,371
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/10/6 10:30 # @Author : xiezheng # @Site : # @File : loss_function.py import torch import torch.nn as nn import torch.nn.functional as F def loss_label_smoothing(outputs, labels): """ loss function for label smoothing regularization ...
[ "957918462@qq.com" ]
957918462@qq.com
7c7000c07eb18d340233a87339d90b081074a3c8
18a080f8662b9887eaa502adb63a2f71629e4381
/time_display_assignment/time_display_assignment/settings.py
dcd6adad4119e0601ff322e6935b2b5c0d35d544
[]
no_license
ksan21/Django
e764705ce12a44fe99486937540c71d7e47b78e5
4cac44894d60a8583c8a05d47ec2ad10ab12bb0d
refs/heads/master
2021-01-11T16:50:33.560606
2017-01-21T23:53:26
2017-01-21T23:53:26
79,680,326
0
0
null
null
null
null
UTF-8
Python
false
false
3,171
py
""" Django settings for time_display_assignment project. Generated by 'django-admin startproject' using Django 1.10.5. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings...
[ "karelsantiago@gmail.com" ]
karelsantiago@gmail.com
0070bf7101910be5d9cf27a9b5f672c03c129414
15088ac7f2c7e396281b5c3d796e14f9cc28048c
/main_mock.py
7487c21547e8f80baf1eef5258fefced068fb8f8
[]
no_license
Vicky310/day-46-spotify-scraping
1cf0b938b0ee0cea48b7a57bb85ec18035f1e019
cb8aa8f26908c460b06a29c54b34aa3d87b95c12
refs/heads/master
2023-03-16T18:54:36.368279
2021-03-13T15:22:11
2021-03-13T15:22:11
347,405,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,365
py
from bs4 import BeautifulSoup import requests import spotipy from spotipy.oauth2 import SpotifyOAuth sp = spotipy.Spotify( auth_manager=SpotifyOAuth( scope="playlist-modify-private", redirect_uri="http://example.com", client_id=SPOTIFY_CLIENT_ID, client_secret=SPOTIFY_CLIENT_SECRET,...
[ "vigneshwaran@tazwiz.com" ]
vigneshwaran@tazwiz.com
e8da2e734c436cce108627575dc3313df6af6991
490016cfd84a1b436467389e1533af53dc94d862
/ex3.py
5c1f677b37a4a8a4b66f357322da4d5eae9c7c25
[]
no_license
luyuexin93/py1
6cd62a23032e040cda26a628a2ba8c08bea047a1
2416df2a40dc7e541f28c0d717720de6ab82f386
refs/heads/master
2020-03-08T09:03:12.616547
2018-07-11T00:48:17
2018-07-11T00:48:17
128,037,056
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
#!/usr/bin/env python # -*- coding : utf-8 -*- from sys import argv script, first, second, third=argv print "The script is called:",script print "Your first variable is:",first print "Your second variable is:",second print "Your third variable is:",third
[ "luyuexin@ZJIPST.COM" ]
luyuexin@ZJIPST.COM
5dc79f13f7a92a35dd46e4a129b04ec494cea9fc
ad13583673551857615498b9605d9dcab63bb2c3
/output/models/nist_data/atomic/id/schema_instance/nistschema_sv_iv_atomic_id_max_length_4_xsd/__init__.py
2ea09c36077f1939d69de901a715d7c02f4faea0
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
263
py
from output.models.nist_data.atomic.id.schema_instance.nistschema_sv_iv_atomic_id_max_length_4_xsd.nistschema_sv_iv_atomic_id_max_length_4 import ( NistschemaSvIvAtomicIdMaxLength4, Out, ) __all__ = [ "NistschemaSvIvAtomicIdMaxLength4", "Out", ]
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
4f2cf357a1fa3637490e428e384a26229d60e99e
35255e47780205cf06a5ed73540e2efd4a68694f
/ch9/knapsack/individual.py
86b31b598712492c7c6f6bd1b50e23de32d7127f
[]
no_license
survexman/genetic_algorythms_book
7bb1b17edbcf425e838a51ed54403ee5716c1f51
2aa4ea8a4e135782e0a482cedf1faf881f7aaef8
refs/heads/master
2022-12-26T02:25:47.939254
2020-10-02T13:19:04
2020-10-02T13:19:04
300,551,072
3
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
import random from itertools import compress class Item: def __init__(self, name, weight, price) -> None: self.name = name self.weight = weight self.price = price class Individual: counter = 0 @classmethod def set_items(cls, items): cls.items = items @classmeth...
[ "survexman@gmail.com" ]
survexman@gmail.com
fbcecce98b343ecf10459ec609e4deb6d6eba671
11084b62befdcbc89a5d12c24c655b7f8ca46976
/reporter/tests/test_delete.py
7b1ca61165e45cb4a8a0e84533b638b591fc1bbd
[ "MIT" ]
permissive
fmonsanto/ngsi-timeseries-api
43bbb9fc294f27128cbe173d192b360e756b40f1
5eac3a96017b9defde4d710a74a8693a747781ac
refs/heads/master
2020-03-21T13:32:37.458380
2018-06-21T09:40:07
2018-06-21T09:40:07
138,611,437
0
0
null
2018-06-25T15:08:30
2018-06-25T15:08:29
null
UTF-8
Python
false
false
3,527
py
from client.client import HEADERS_PUT from conftest import QL_URL from reporter.fixtures import create_notification from translators.fixtures import crate_translator as translator import json import requests notify_url = "{}/notify".format(QL_URL) def insert_test_data(): # 3 entity types, 2 entities for each, 1...
[ "noreply@github.com" ]
fmonsanto.noreply@github.com
42e438243b246555a09b407f05869f984d51484c
59864209437f398e02e7971ba19078289aa76af6
/twhatter/output/sqlalchemy/models/media.py
80d9bbc4dac97b808e290cbcb6ab9b7d2e2dd4fb
[ "BSD-3-Clause" ]
permissive
theenglishway/twhatter
0fc350f0d4fa2103386072a2be5a490a9d26abf3
542221d23f65c1ff5240049e18858533ded5b7b5
refs/heads/master
2023-01-04T15:02:37.960100
2019-01-23T16:04:28
2019-01-23T16:04:28
166,531,150
0
0
NOASSERTION
2022-12-26T21:34:59
2019-01-19T09:48:41
Python
UTF-8
Python
false
false
665
py
from dataclasses import asdict from sqlalchemy import Column, Integer, String, DateTime, ForeignKey from sqlalchemy.ext.hybrid import hybrid_property from sqlalchemy.orm import relationship from twhatter.output.sqlalchemy.db import Base class Media(Base): __tablename__ = 'medias' id = Column(Integer, prima...
[ "me@theenglishway.eu" ]
me@theenglishway.eu
04e72e6c7258fd53dbcd5d95b249789f8fd864f3
c5b738612c1ecbce0583a327032db1e6c339de0b
/bv-av互转工具/bv_av.py
f9638358b8b57e57698495513ae8afc32d628271
[ "BSD-2-Clause" ]
permissive
helloworldSB/Gear-s-toolBox-archive
c766d27e45a9eb9a99dfa360ac68a0ac1c93d8c7
40bc05cbb0060ecc3d9f941276c9caccbe1b8d82
refs/heads/master
2023-01-01T00:38:31.211587
2020-10-16T12:43:25
2020-10-16T12:43:25
306,789,467
0
0
null
null
null
null
UTF-8
Python
false
false
2,831
py
class av_bv_cls: def __init__(self): self.table='fZodR9XQDSUm21yCkr6zBqiveYah8bt4xsWpHnJE7jL5VG3guMTKNPAwcF' self.tr={} for i in range(58): self.tr[self.table[i]]=i self.s=[11,10,3,8,4,6] self.xor=177451812 self.add=8728348608 def dec(self,x):...
[ "noreply@gitee.com" ]
noreply@gitee.com
5593677a4198cf71e62916790f34e6e654bac7b0
9ba2308e14f13133cf9ebeb0279a9ad77e935d2b
/projects/stock_prices/clean_data.py
4d8b1b407792d12f443c443a647865446c7077af
[]
no_license
axyzhao/scaffold-software
ed6445afeeac7ff9168b15814683c4d4cd4a1ffa
bf190eb3a3195de021bfce23b006b8c5d2ab4c84
refs/heads/master
2020-03-23T06:52:05.622209
2018-10-01T20:32:20
2018-10-01T20:32:20
141,233,889
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
import tensorflow as tf import numpy as np dataPath = "data/snpdata.csv" rawData = tf.contrib.data.make_csv_data_set(dataPath, batch_size=32) data = [np.array(rawData)]
[ "axyzhao@gmail.com" ]
axyzhao@gmail.com
c85814fada2df5966221b0945bc1ba5ac1480924
095521582f598b65b76f222d8c1acbcaca0c24bf
/output_raw/output_input_Lx1Ly1.py
6fc5163f524ebec0cbe9a033d06a5b0d688ee15f
[ "MIT" ]
permissive
ryuikaneko/itps_contraction
cf07e41d32e93c10db6ebeb1c4f5246b238e737b
10816fb6c90d77f5a3b2f804ab22573d1d676eb4
refs/heads/master
2020-08-28T23:05:00.262183
2020-08-03T01:04:22
2020-08-03T01:04:22
217,847,703
1
1
null
null
null
null
UTF-8
Python
false
false
1,196
py
def Contract_scalar_1x1(\ t0_2,t1_2,t2_2,\ t0_1,t1_1,t2_1,\ t0_0,t1_0,t2_0,\ o1_1\ ): ############################## # ./input/input_Lx1Ly1.dat ############################## # (o1_1*(t1_1.conj()*((t2_1*(t2_0*t1_0))*(t1_1*((t0_0*t0_1)*(t0_2*(t2_2*t1_2))))))) # cpu_cost= 6.04e+10 ...
[ "27846552+ryuikaneko@users.noreply.github.com" ]
27846552+ryuikaneko@users.noreply.github.com
c3c32b313e00e643cc818413d71b1bfdc3db915c
eee3a183136bdebed599249604b63f0b0f02ba71
/pyrates/ui.py
095ed9079bf11379368972be213dff233665f534
[]
no_license
gutomaia/pyrates
3971d332a0977a8d130c0836e86c3368a8531a8b
a81ef57c368e1341a0e09b548a94f27801f89546
refs/heads/master
2021-06-29T12:53:56.033594
2017-09-20T19:00:45
2017-09-20T19:00:45
104,124,622
0
0
null
null
null
null
UTF-8
Python
false
false
5,567
py
import wx, sys, os, pygame ### PYGAME IN WX ### # A simple test of embedding Pygame in a wxPython frame # # By David Barker (aka Animatinator), 14/07/2010 # Patch for cross-platform support by Sean McKean, 16/07/2010 # Patch to fix redrawing issue by David Barker, 20/07/2010 # Second window demo added by David Barker,...
[ "guto@guto.net" ]
guto@guto.net
d8f90ee6ddf75cf52f82aca971d5e66cc8a69bad
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/T/tlevine/landbank_branches.py
e7046f1be1fbea8d12176b46f65cc7ee7138faf7
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,898
py
from scraperwiki.sqlite import save from scraperwiki import swimport keyify=swimport('keyify').keyify from lxml.html import fromstring from urllib2 import urlopen URL='http://www.landbank.co.za/contact/branches.php' from time import time strip_address = swimport('strip_address').strip_address DATE=time() def main(): ...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
ace1317e4d350f5245822cf11849f62bbcfe6a10
ae9f0a71576cf2d9f46f684ae412c741261c9ded
/tests/plugins/shortcircuit.py
8403b68ec141b5afb308aa44d94754063b583f46
[ "MIT" ]
permissive
sugarchain-project/lightning
95adf492b2f5d3b4c20170b17a7e556b9b3abbd1
c73e21e099ca2f5ed02afae316f477e8a1fd1280
refs/heads/master
2020-08-05T17:02:38.936348
2019-10-04T08:56:23
2019-10-04T08:56:23
212,624,853
2
2
NOASSERTION
2019-10-03T16:20:19
2019-10-03T16:20:18
null
UTF-8
Python
false
false
231
py
#!/usr/bin/env python3 from lightning import Plugin plugin = Plugin() @plugin.hook("htlc_accepted") def on_htlc_accepted(onion, htlc, plugin, **kwargs): return {"result": "resolve", "payment_key": "00" * 32} plugin.run()
[ "rusty@rustcorp.com.au" ]
rusty@rustcorp.com.au
1198778b7b2b9d5ca7de32a7254e3351f0c33cd2
d812940783cf568ba652737c32eb4abc95fd7636
/Stack_from_Queue.py
d84616dfb61829fa50eb8099b29b6180ef17edb9
[]
no_license
yash95shah/Leetcode
dc8bf5ec87e9ed2c4b3450360a5d3f14b570efa2
3911a4cefd849365665a8a7851ce5d5fafade090
refs/heads/master
2020-06-02T17:06:22.319545
2019-08-27T01:30:59
2019-08-27T01:30:59
191,241,140
0
1
null
null
null
null
UTF-8
Python
false
false
541
py
import queue class Stackedit: def __init__(self): self.q = queue.Queue(maxsize=5) self.s = queue.Queue(maxsize=5) def push(self, x): self.s.put(x) # print (self.q.empty()) while not self.q.empty(): y = self.q.get() self.s.put(y) temp = s...
[ "ygshah@asu.edu" ]
ygshah@asu.edu
2924815568a641d00cdb4be1f98a03d12f581529
ec1cf15fb2d6695f5abfbc64677c4d407366eeef
/SPL+DE.py
72221b00a8fd06275abeab5967af31c546c32c44
[]
no_license
DemoAuguste/DeepEutaxy
ef4fd6e6680a885d4bb05c6c341a659ab475a110
a4336079beb7ba3072b788e3093d562419d899e5
refs/heads/master
2023-03-07T04:17:58.962652
2021-02-17T03:50:03
2021-02-17T03:50:03
337,009,481
0
0
null
null
null
null
UTF-8
Python
false
false
6,876
py
import tensorflow as tf import numpy as np import argparse import os import keras from keras import backend as K from models import * from utils import * from settings import * tf.config.experimental_run_functions_eagerly(True) # exit() v = None threshold = -100 growing_factor = 1.3 ce_loss = tf.keras.losses.Categori...
[ "393493772@qq.com" ]
393493772@qq.com
5279d2be8c763659dcb6380332b42896fbc7aadf
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/P.O.R.-master/pirates/band/BandConstance.py
3084b1fafdd7057904fb44feb8192cad6b7ec899
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
1,244
py
outcome_ok = 0 outcome_declined = 9 outcome_not_online = 10 outcome_already_invited = 11 outcome_already_in_Band = 12 outcome_full = 13 outcome_recently_invited = 14 MAX_BAND_MEMBERS = 12 BandMakeEvent = 'BandMakeEvent' BandAddEvent = 'BandAddEvent' BandSetCaptainEvent = 'BandSetCaptainEvent' BandRemoveEvent = 'BandRem...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
1b87f36f4406612b24e1f3d6904a39e5fe664c3a
c91b30f476f31833a0f35bb6b1a8fe4be71f902b
/code/models/cnn/rnn-theano-master/rnn_ner.py
1b6160eb58ad420c2ee6303168424cd7a0cadfd1
[]
no_license
iamved/Event-extraction-using-Natural-Language-Processing-and-Deep-Learning
6f76d2644080afac2fe054fbf164757b18bd867f
717c4e09fa6a0742ecb012cb301eca81bb44b181
refs/heads/master
2022-07-15T03:12:11.870547
2019-01-07T19:02:11
2019-01-07T19:02:11
163,918,643
0
0
null
2022-07-05T21:22:55
2019-01-03T03:28:06
Python
UTF-8
Python
false
false
13,475
py
#This is one more implementation for the same EMNLP problem set Named entity recognition for fatal shooting. #Here I have used a slightly different approach for the same task. #RNN and lstm code is taken from https://github.com/lipiji/rnn-theano cudaid = 1 import os os.environ["THEANO_FLAGS"] = "device=cuda" + str(cu...
[ "vpu2@illinois.edu" ]
vpu2@illinois.edu
dbdc7a3e6ac330593dbe93899cbf3e99262b1c43
b5abeb8f0448147496764c3ef96470050b652302
/MIT/DocumentDistance/docdist5.py
9ec5da4eb27ac568612c845408b7a7d1d1048244
[]
no_license
urakozz/AlgIntroducion
c94bd600162d3b3f4e584e7badb6f8191dd7bb6b
8e3aa0697f7accde0a5d65430cfafc82bbb8911e
refs/heads/master
2020-04-17T03:41:39.727726
2015-06-22T09:19:30
2015-06-22T09:19:30
31,554,544
0
0
null
null
null
null
UTF-8
Python
false
false
6,349
py
#!/usr/bin/python # docdist5.py - change get_words_from_string to use string translate and split # # Original version by Ronald L. Rivest on February 14, 2007 # Revision by Erik D. Demaine on January 31, 2011 # # Usage: # docdist5.py filename1 filename2 # # This program computes the "distance" between two text fil...
[ "ykmship@yandex-team.ru" ]
ykmship@yandex-team.ru
3e1436d184c7436c25e025aab56ffbc6ffc521a7
15cebf57d25f5b990cc326fad8dcdc869ad8c548
/2019/intcode07.py
02afd05a3d0c88c5f2250d604b8922e81b8ec923
[]
no_license
vsego/advent-of-code
a9be302affe00d8473603898953ae9cee53f7249
680f47c1f7f582258ae5211e4328f3be685f60f3
refs/heads/master
2021-06-21T18:16:45.907735
2020-12-13T22:37:12
2020-12-13T22:37:12
159,938,457
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
""" Intcode computer implementation. """ import intcode05 class MissingInputError(Exception): """ Exception to raise when attempting to read from empty input. """ class Intcode(intcode05.Intcode): """ Intcode computer. """ def op3(self, types, p): """ Operator 3: read v...
[ "vsego@vsego.org" ]
vsego@vsego.org
342d53829ea6e0e9110711a40d8b57d4f75427b6
671673d641bbb8c870274351cabbde5c1d7ab047
/tests/other/test_fcrts.py
7c4afbbbcca2e5660cc2328a47695995c9a90500
[ "MIT" ]
permissive
brownjohnf/flatcam
822872f79f51ae2ec0dec537a60ca09dfb45dd4c
17b3be3c209934e8802a41062a3120ebf479c956
refs/heads/master
2021-01-19T09:32:29.390473
2017-04-08T23:06:42
2017-04-10T04:01:28
87,764,788
4
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
from camlib import * from shapely.geometry import LineString, LinearRing s = FlatCAMRTreeStorage() geoms = [ LinearRing(((0.5699056603773586, 0.7216037735849057), (0.9885849056603774, 0.7216037735849057), (0.9885849056603774, 0.6689622641509434), (0.5699056603773586...
[ "jpcaram@gmail.com" ]
jpcaram@gmail.com
2474bd3b205c58e496c646a0d451f3227a41c904
8635c283147fa47c63c53ae72fc873d2499d2ae8
/problem_solving/_10_mutation.py
cde4089c372c6a504a6eae2bb0019d892daef932
[]
no_license
riaz4519/python_practice
e0aaf12b908ede4174a55b4cd77ac1a8a30a21bd
51bf4f0c1f2fde0afec3cfad2c3e62f31655febc
refs/heads/master
2020-06-23T17:22:04.447062
2019-12-19T12:57:03
2019-12-19T12:57:03
198,694,148
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
def count_substring(string, sub_string): len_of_sub = len(sub_string) new_string = string count = 0 while sub_string in new_string: new_string = new_string[new_string.find(sub_string)+1:] count += 1 return count if __name__ == '__main__': string = input().strip() sub_stri...
[ "riaz.i3216@gmail.com" ]
riaz.i3216@gmail.com
a7cefba5e785aa674ae62fcfb05428c9d7938733
5e3b30f608bec8bf7f7bcd40d8bb18c3e871fc79
/1_IntroToProgramming/6_Advanced_Problems/17_vowel_cipher.py
b992364693774d64168eb3765040e2287a9c0958
[]
no_license
utk09/open-appacademy-io
054587ff15644539d09b1d6fe1413be04e35ec0a
a9c01b535d52b1ccbc9b560ee3675151b339f7f0
refs/heads/master
2022-09-11T09:27:23.923695
2020-05-26T17:19:03
2020-05-26T17:19:03
252,103,814
1
0
null
null
null
null
UTF-8
Python
false
false
619
py
""" Write a method vowel_cipher that takes in a string and returns a new string where every vowel becomes the next vowel in the alphabet. """ def vowel_cipher(string): vowel = "aeiou" new_str = "" for each_char in string: if each_char in vowel: old_pos = vowel.index(each_char) ...
[ "utkarsh.tiwari@somaiya.edu" ]
utkarsh.tiwari@somaiya.edu
a81ef5429bc05d68715d2a53acc0ed533830f23e
7376160baecad711d84d4ef3bf12eebd242f7bcd
/djangogirls/blog/migrations/0001_initial.py
f0a6cf5b18cad089c98ff665d84a2123dd790e58
[]
no_license
prokingmarvin/my-first-blog
604a92327251886f4ee4593f8c599960f71aad52
b5bd4ac910554e591412f8255628b8173174351c
refs/heads/master
2021-01-19T17:49:54.807179
2017-08-29T05:25:39
2017-08-29T05:25:39
101,086,060
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations ...
[ "prokingmarvin@hotmail.com" ]
prokingmarvin@hotmail.com
2f73122c5e78d3cf60b87788fd8a8f65b26e7611
9625c5665611a5a1e92fa8fbe230ede1154d5a49
/apps/messenger/samples/responses.py
78adf0c0357fc80fb5579ac9caeff04340542dc2
[]
no_license
Alfredynho/Sistema-Venta-de-Motos
94a6ffcc45409faaea44f89389f89b6b1bfe0905
136b6d7c7cbcf4b5432212ae588d47a27fdcb348
refs/heads/master
2021-05-15T00:46:55.811827
2017-09-10T17:58:58
2017-09-10T17:58:58
103,049,391
0
1
null
null
null
null
UTF-8
Python
false
false
23,392
py
from django.conf import settings from apps.messenger.components.attachments import TemplateAttachment, ImageAttachment, VideoAttachment from apps.messenger.components.buttons import PostbackButton, URLButton from apps.messenger.components.elements import ListElement, Element from apps.messenger.components.messages imp...
[ "callizayagutierrezalfredo@gmail.com" ]
callizayagutierrezalfredo@gmail.com
13e60a3e9679cad73452f085defe3bd825b1bbae
f5e3e7de224c69a50efcdd7a64a07d64b0a8f01c
/simulator_common/header_mapping.py
2cb32a1545934b1761f2dfb7cb05ccb0518159b7
[]
no_license
wosnitza/webprosjekt3
c552ce0c315955c1d63139f93af1a06ade904c9b
4295b9756f4d3a83bb069482b562ec37231b7017
refs/heads/master
2022-03-30T22:55:39.210240
2019-12-11T12:58:29
2019-12-11T12:58:29
208,088,735
0
0
null
null
null
null
UTF-8
Python
false
false
3,462
py
import simulator_common.simulator_constants as sc import pandas as pd # Below setting drives which header mapping is applied when INPUT_TYPE = 'grouping' # 'Loops Output', 'Norganics Output', ... file_name = sc.PATH_TO_APPDATA + '\\' + sc.HEADER_MAPPING_FOLDER + '\\' + 'header-mapping.csv' mapping_df = pd.read_csv(...
[ "vetlekw@stud.ntnu.no" ]
vetlekw@stud.ntnu.no
ee81b899c6541035f84172ed6bdc9122b5c2ad05
58ca1aedfd2c2c43ce3f71e7877f92c51d41adf8
/filter_boost.py
7eb7dd7c85ddbaf8c0158ea3ec0773068f690eb8
[]
no_license
seaun163/DeepSLAM
00d88ee00367987cb4b7a57db3b0bedafeeb4e68
a038772bd7de897fb8253214813bfab09e31d62f
refs/heads/master
2021-01-25T08:19:28.198277
2016-10-18T19:11:32
2016-10-18T19:11:32
93,752,917
1
0
null
2017-06-08T13:32:24
2017-06-08T13:32:24
null
UTF-8
Python
false
false
4,391
py
import numpy as np import h5py import scipy.sparse import scipy.io from constants import * import ipdb import os import pickle # frame length, which also dictates the delay being frame capture and feedback # because of forward_fit # which isn't even in the report... flen = DEE flen_2 = 3 dt = EPSILON st = 0.75 #kind o...
[ "saubin@uwaterloo.ca" ]
saubin@uwaterloo.ca
1f2b351c6997a0af42141bfca7fc0ba206fbe9df
eeb0b51e4c75f72aca3a52debe3e353ab33a220a
/automate-projects/large-projects/webdriver/chromewebdriver-formsubmit.py
ce41f70834d9c7c2dd4ab88747ab26953914a435
[]
no_license
thejtate/python-sandbox
7aef573c66286ab6ec37b802200080fb51fddc55
a360fdac3d6e2a22fbe2837df9ad548b02a6ac4a
refs/heads/master
2021-04-29T13:51:21.048323
2018-02-16T15:04:12
2018-02-16T15:04:12
121,762,828
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
from selenium import webdriver browser = webdriver.Firefox() loginURL = 'https://funneleyes.com' dashboardURL = 'https://funneleyes.com/dashboard' projectURL = 'https://funneleyes.com/projects?status=active' browser.get(loginURL) loginChecker = browser.find_element_by_css_selector('.front.not-logged-in') if loginChe...
[ "jtate@funneldesigngroup.com" ]
jtate@funneldesigngroup.com
dff1b0851ea07a81abe823ad1eca3f3fa6f6f05b
569cd39c950be39cac44bd6a70da4c0242d6a39d
/3333333.py
28b1f833c8d45fa6d8dc4c03d5dac85fe0479479
[]
no_license
bhavyatamil55/PYTHON
cda8c1f93c1d4f173c4ae09479816e730c1d04a2
36c0dd7b65f3d22d90a0e356e571edb235d0068f
refs/heads/master
2020-06-09T17:25:56.802539
2019-07-09T10:02:11
2019-07-09T10:02:11
193,476,836
0
1
null
null
null
null
UTF-8
Python
false
false
62
py
b=int(input()) s=list(map(int,input().split())) print(min(s))
[ "noreply@github.com" ]
bhavyatamil55.noreply@github.com
86f698f7d8d5c7cfd608eaafe79d63a8b0eb18e9
4111ca5a73a22174f189361bef654c3f91c3b7ed
/Lintcode/Ladder_all_A_OA/1563. Shortest path to the destination.py
48bee8bb3ef8e656816609bf09cf2f8d0f824c98
[ "MIT" ]
permissive
ctc316/algorithm-python
58b541b654509ecf4e9eb8deebfcbdf785699cc4
ac4580d55e05e93e407c6156c9bb801808027d60
refs/heads/master
2020-03-16T06:09:50.130146
2019-08-02T02:50:49
2019-08-02T02:50:49
132,548,222
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
class Solution: """ @param targetMap: @return: nothing """ def shortestPath(self, targetMap): n = len(targetMap) m = len(targetMap[0]) from queue import Queue q = Queue() q.put((0, 0)) visited = [[False for _ in range(m)] for __ in range(n)] ...
[ "mike.tc.chen101@gmail.com" ]
mike.tc.chen101@gmail.com