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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ab30ab18ba8f3c1c08c46beca037f2dfd35c0f29
df6cca824ab8c71b8c054b0c5accc24d0593d2e4
/accounts/views.py
2291198fd5f6cb2d867b0b90884894dc6da6837e
[]
no_license
emanan94/django-mostudio
ba4fda2fb4cc4af39e92b46cae92aa6fc61d32da
9178346c01df1253b61a74be01418f956c7c55c4
refs/heads/main
2023-01-11T09:33:35.165511
2020-11-13T17:59:59
2020-11-13T17:59:59
304,308,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
from django.shortcuts import render, redirect from django.urls import reverse from .models import Profile from .forms import ProfileForm, UserForm,UserCreateForm from django.contrib.auth import authenticate, login #Create your views here. def signup(request): if request.method == 'POST': signup_form = Use...
[ "youngamer_@outlook.com" ]
youngamer_@outlook.com
467cb510aa53960af2c189d8ceceb2e19665ba7a
c315e2623c0759afeb5e0390794e04b848e6df81
/fast_lemon_api.py
74c3f362d32d79a6e9623579de089e9c9d6cb668
[ "Unlicense" ]
permissive
a6502/fast_lemon_api
19b0c1f00461a697f9f4cc3ffd934f3cfe6580c2
09a5b6eec3e84d1d006f927e502a7071a28739cc
refs/heads/main
2023-03-28T11:12:51.753765
2021-03-29T23:54:31
2021-03-29T23:54:31
352,815,336
0
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
#!/usr/bin/env python3 # or run as: uvicorn fast_lemon_api:app # std python-3.9 from datetime import datetime from enum import Enum from typing import List, Optional import time import uuid # python3-pydantic from pydantic import BaseModel, PositiveFloat, PositiveInt, UUID4, ValidationError, conint, constr, validato...
[ "wieger@Dublin.a6502.net" ]
wieger@Dublin.a6502.net
e28d643bbf487ab16a8d7714dc8b7719cd5d4d27
8b677a1618a656a7544befb2a49b430b9e4bc236
/spriteSizeCheck.py
c241c5b1ccb0edd62cf845d486654e1f93ecbb6d
[]
no_license
charlottehill/snapshots
bb364e878e1ea3098f10dabbc9903f1d6aaf6e92
b4d12b3ef73c24bad04c47e66936ec1a0546f515
refs/heads/master
2016-08-04T13:16:41.341537
2014-04-14T09:11:28
2014-04-14T09:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
from __future__ import print_function from collections import Counter from kelp.kelpplugin import KelpPlugin from snapshotplugin import SnapshotPlugin import os import sys import kurt class SpriteSizeCheck(SnapshotPlugin): def __init__(self): super(SpriteSizeCheck, self) self._modulename = "Sprite...
[ "tmartinez@umail.ucsb.edu" ]
tmartinez@umail.ucsb.edu
8fd914c3d126ba141d422b9c77ea8058d4bed139
ffe606c85de9009d2c15356f82daa524c343b925
/11.28.cleanup/s2rarecats_prep.py
2f94abfa78be1fcaf7c2caf0858efeb8b810ee3c
[]
no_license
jbinkleyj/story_writer
d88ff7e3360fb8afd12445d1cb237788636b3083
dc5106a35f5fbce72f8cf0801c0ad4cbc0c9f12f
refs/heads/master
2020-07-09T15:54:02.492373
2017-12-16T07:26:59
2017-12-16T07:26:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from preprocess import * from arguments import s2s2catsrare as parseParams if __name__=="__main__": args = parseParams() DS = load_data(args) torch.save(DS,args.datafile)
[ "kedzior@uw.edu" ]
kedzior@uw.edu
eeff077ecf7d9470bde1d09731515339125cc0b0
41738ae30e82facd15b3b77ace6bd1a0013f5296
/analytics/routes/login/baseroutes.py
ada3b240c27e9de4420421bdf7fc06b485e6680d
[]
no_license
sreenathp20/technicolor_backend
4c3bf5489ce4516face53699da630935a97fb21f
10dd323512ef3a8bad058a93b17e5c6efc203bab
refs/heads/master
2021-01-10T19:41:30.427869
2015-07-12T08:23:21
2015-07-12T08:23:21
38,954,648
0
0
null
null
null
null
UTF-8
Python
false
false
3,091
py
from analytics import app, login_user, login_required, logout_user, login_manager, current_user from flask import render_template, redirect, request, session, jsonify import simplejson as json, sys from analytics.lib.user.user import User from analytics.lib.user.manageuser import ManageUser from analytics.routes.login....
[ "sreenathp20@gmail.com" ]
sreenathp20@gmail.com
e1a6fea9523512dd08abfb5291de92885def9a2a
eff81639c9fb318697b475f6d076021b9187b3eb
/bruna_vasconcelos_E11.py
29a034f3bb52e70f9ddf7e5c405382f68a8137f2
[]
no_license
bruna/lab-de-programacao
85813a420f190df7de69b2e78283b9b6a5f59e62
0324827780fe4b4a2a91bff47a19a32feeae60c1
refs/heads/master
2021-06-01T05:49:51.710461
2016-06-20T02:07:12
2016-06-20T02:07:12
45,427,922
2
0
null
null
null
null
UTF-8
Python
false
false
5,005
py
import sys from math import floor class Node: def __init__(self, valor): self.__valor=valor self.__prox=None def getValor(self): return self.__valor def setValor(self,valor): self.__valor=valor def getProx(self): return self.__prox def setProx(self...
[ "brunapvasconcelos@gmail.com" ]
brunapvasconcelos@gmail.com
7cff65e982c2b32cab03f10e594c8aaa54be7c8a
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/634.find-the-derangement-of-an-array/634.find-the-derangement-of-an-array_108022165.py
4478461c59f6bddeee62b60691de01ec47975b2e
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
class Solution(object): def findDerangement(self, n): """ :type n: int :rtype: int """ if n == 1: return 0 if n == 2: return 1 OPT = [0] * (n+1) OPT[0] = 1 OPT[1] = 0 OPT[2] = 1 OPT[3] = 2 for i i...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
b235b3c02e8d648817c86ed6338d36c616fdc7b1
459cbeccdd385335808d9dc4a47b6658ff58a2b3
/mysite/main/migrations/0002_auto_20210612_1356.py
7dcaeaf881cde619ed25d0b6343ea602092db8e1
[]
no_license
maribelceli347/Aplicacion
41fc66c944bfb683818be92a248de0b804675e0e
29f9750bca50d940dc17c38df1f2f36bf510f77e
refs/heads/main
2023-05-28T13:32:17.792045
2021-06-12T20:02:13
2021-06-12T20:02:13
376,374,524
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
# Generated by Django 3.2.4 on 2021-06-12 18:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.CreateModel( name='Veterinaria', fields=[ ('id',...
[ "79048421+maribelceli347@users.noreply.github.com" ]
79048421+maribelceli347@users.noreply.github.com
2a5e7f5f38b91f42700324e71b0bfacd75169326
49c5c461c9805be68a318810e2ebb3381643ed59
/linkedlist/remove-loop.py
c5cee91e4abc8333b6e0eceee46a40a1b1d26633
[]
no_license
pkdism/must-do-coding
10a3ef756d24fec451d8ed09bfc22335635a6b13
ccff354eebd9b2434085528922eb3bc13715530e
refs/heads/master
2020-09-11T00:54:08.078087
2019-11-27T11:15:53
2019-11-27T11:15:53
221,886,105
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
def removeTheLoop(head): h = set() prev = None it = head while it is not None: if it in h: prev.next = None break h.add(it) prev = it it = it.next
[ "pawan.dwivedi94@gmail.com" ]
pawan.dwivedi94@gmail.com
9a5c036ea6011ce1a883d71cf8ba4d5d725df6fa
16bb58cd85a0e46b60d43b52bc51149f9fa6e6d4
/events.py
1c51f89f12a6571683ecc3c5d15baa162d606d81
[]
no_license
sunnad99/Fantasy-Ludo-Game
f86e89103b14bf9915de3a0d6d91ff62164484fe
8b0b29d92a704aca36240011fa3629ca2c5c6e1e
refs/heads/master
2023-06-15T17:23:22.263237
2021-07-08T11:52:17
2021-07-08T11:52:17
287,137,648
0
0
null
null
null
null
UTF-8
Python
false
false
16,855
py
import pygame import time import sys class Events: def __init__(self, game): self.game = game self.settings = self.game.settings def check_mouse_main_menu_event(self, event_type): if event_type == pygame.MOUSEMOTION and self.game.menu.is_main_menu: self.mou...
[ "noreply@github.com" ]
sunnad99.noreply@github.com
4f05de413d1b0bc99e8d424f2680575e2250630a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnoilier.py
e97e8bf74b3364175a1104be69b64e8c77151a39
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
449
py
ii = [('UnitAI.py', 4), ('LeakWTI3.py', 2), ('SeniNSP.py', 1), ('LyelCPG.py', 1), ('GilmCRS.py', 1), ('AinsWRR.py', 2), ('NewmJLP.py', 1), ('CoopJBT.py', 1), ('BachARE.py', 1), ('MereHHB3.py', 2), ('WilkJMC.py', 2), ('WestJIT.py', 1), ('LyttELD3.py', 1), ('SomeMMH.py', 1), ('HaliTBC.py', 1), ('AinsWRR2.py', 1), ('ClarG...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
7f9dd1f1f7a9135eb1ac3be360d855691bec346d
e45f1f9f3777d625c7da773f8e55589ded528711
/pic_scrapy/pic/spiders/PhotoSpider.py
bfbdf2f3503102ed8587cee37b600d0b0a2d4301
[]
no_license
631068264/learn_crawler
da973d758001b52c61aa0bb4dfc78b59a88304e4
65ac2cef7b42b0dce5fb726daa819a6ebc8ffafa
refs/heads/master
2022-11-15T13:06:55.765849
2022-10-31T07:07:31
2022-10-31T07:07:31
77,364,616
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author = 'wyx' @time = 16/10/24 15:01 @annotation = '' """ from urlparse import urljoin import scrapy from pic.items import PhotoItem class PhotoSpider(scrapy.Spider): start_urls = ["https://www.610hu.com/htm/girl.htm"] name = "photo" domain = "https://...
[ "wyx@wuyuxideMacBook-Pro.local" ]
wyx@wuyuxideMacBook-Pro.local
5fbe59973b26282635a73228a47461382edec61a
756cfeed032f7d206cdbe4409f2c052bf3e44fe1
/Tkinter/Lecture_4.py
0ce5a5c74a62fe228e5bc2c3eee2785792f67700
[]
no_license
Pyk017/Python
2e470a10f95aac8bb049edf13c6a825ceab68ea5
57fb48356921cc6766675620b32e4099ad371bc6
refs/heads/master
2021-07-05T00:16:22.365638
2020-12-27T08:25:10
2020-12-27T08:25:10
213,291,579
1
0
null
null
null
null
UTF-8
Python
false
false
453
py
from tkinter import * root = Tk() label1 = Label(root, text="Enter Your Name = ") label1.grid(row=0, column=0) # label1.pack() entry = Entry(root, width=25, borderwidth=5) entry.grid(row=0, column=1) # entry.pack() i = 0 def my_click(): global i label = Label(root, text="Hello " + entry.get()) i += 2 ...
[ "prakharkumar506978@gmail.com" ]
prakharkumar506978@gmail.com
81fe488a948e2e3eda7a34ae6ffb201f9dc4fae0
f4552a1e841b54f5f9ed414bc1f2cae1ab6f6adc
/quickstart/quickstart/schema.py
7c660ac172335215f20504ec878a947dd5d33fee
[ "MIT" ]
permissive
hirokgreen/django-graphql-auth
9b2a3d09691d0267a48a6cbefe7e49596be823fc
1d2c745ca4ff189eafaeaf310088797243ae88cd
refs/heads/master
2021-01-04T08:16:53.447706
2020-02-12T13:44:53
2020-02-12T13:44:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
# quickstart.schema.py import graphene from graphql_auth.schema import UserQuery from graphql_auth import mutations class AuthMutation(graphene.ObjectType): register = mutations.Register.Field() verify_account = mutations.VerifyAccount.Field() resend_activation_email = mutations.ResendActivationEmail.Fi...
[ "pedrobermoreira@gmail.com" ]
pedrobermoreira@gmail.com
837eb31dcfcbcdeb39de0bda4bcad87c80626d95
993060167ec652fb3cb0c6e0c1da12ba3759ae47
/function_scheduling_distributed_framework/consumers/base_consumer.py
60e5c103607c25e878b526726379c9c16f9ad371
[ "Apache-2.0" ]
permissive
Amua/distributed_framework
f0f85fbcf813991cbc819b28a3309efd8aec320f
0be0b18f9c494788f8ae65c69863c003988c04ec
refs/heads/master
2020-07-02T07:30:01.791185
2019-08-09T08:11:55
2019-08-09T08:11:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,055
py
# -*- coding: utf-8 -*- # @Author : ydf # @Time : 2019/8/8 0008 13:11 import abc import atexit import copy import time import traceback from collections import Callable from functools import wraps import threading from threading import Lock, Thread import eventlet import gevent from pymongo.errors import PyMongoErr...
[ "909686719@qq.com" ]
909686719@qq.com
ebb6925a2298d6d5c71e53537d3d15ee1d015735
ff2e084d1bb347d16955fbdaa8e9f9d95bcb03e7
/onepanel/core/api/models/token_wrapper.py
4f86e905f13a1cff531909e013446e409db807b5
[]
no_license
casualuser/python-sdk
7db8969e93693c27fb7f7349cd8353ede54d2ed4
9d35ab476a9ba701a09d305bf5ae5af4ba9ed5a6
refs/heads/master
2022-09-15T15:18:39.672855
2020-05-25T22:15:22
2020-05-25T22:15:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,209
py
# coding: utf-8 """ Onepanel Core Onepanel Core project API # noqa: E501 The version of the OpenAPI document: 1.0.0-beta1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from onepanel.core.api.configuration import Configuration class TokenWrapp...
[ "r@onepanel.io" ]
r@onepanel.io
e71e9d4d92731adf5fc047eb7caced983c0abefb
e0ce2909a52221a0b4b6429fd6bd4f8a67826133
/draw.py
627d53957953f7e37fb4b347adf7b52cedec107e
[]
no_license
ecrystale/mks66-solids
8c7170f5f887d8b5081fa5a57985fd91694e46df
006f9e4618a342118698c74945bbf6edb61a95f8
refs/heads/master
2020-05-07T15:41:17.966936
2019-04-18T02:31:09
2019-04-18T02:31:09
180,648,426
0
0
null
null
null
null
UTF-8
Python
false
false
11,071
py
from display import * from matrix import * from gmath import * import random def scanline_convert(polygons, i, screen, zbuffer ): color=[random.randint(0,255),random.randint(0,255),random.randint(0,255)] points=polygons[i:i+3] points.sort(key=lambda x:x[1]) bot=points[0] mid=points[1] top=poin...
[ "elee19@stuy.edu" ]
elee19@stuy.edu
0c15c99b6035a3a37d9d9d85d732faa65f2a1760
a34a03ab7b79e772b62f344f6b3a52a784040a96
/bin/kanshin
dbe71370e51dcc616f8ca4276152a61796e9a4e0
[ "MIT" ]
permissive
basuke/kanshin-export
a413c1bb820cbdb861fb280dd66ff384075dc172
0235ce7ab570a94328524e63061830b0aa3ace74
refs/heads/master
2020-05-21T18:04:07.135221
2016-10-31T15:19:58
2016-10-31T15:19:58
64,376,495
0
0
null
null
null
null
UTF-8
Python
false
false
882
#!/usr/bin/env python import os.path import sys sys.path.insert(0, os.path.abspath('.')) import click from click import echo import kanshin.data class NativeParamType(click.ParamType): name = 'native' NATIVE = NativeParamType() # ---------------------------------------------------------- @click.group() def cl...
[ "basuke@kinoma.com" ]
basuke@kinoma.com
0cefd1e9333d717207e4845c00ae84fb4478d05e
08a68e32dc80f99a37a30ddbbf943337546cc3d5
/.history/count/views_20200419210055.py
c0e0fbfb2b96a0104e0cd52bbfbce5cc12136149
[]
no_license
Space20001/word-count-project
dff1b4b44d2f7230070eef0d95dd968b655d92f7
795b5e8ad5c59109e96bf7a8e9192efaefa7770e
refs/heads/master
2022-04-20T17:54:05.511449
2020-04-20T15:25:46
2020-04-20T15:25:46
257,327,368
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
from django.shortcuts import render # Create your views here. def home(request): return render(request, 'count/home.html', {}) def counted(request): fulltext = request.GET['fulltext'] wordlist = fulltext.split() for word in wordlist: worddictionary for word in wordlist: i...
[ "steve.h@blueyonder.com" ]
steve.h@blueyonder.com
f8e650b4108f33a5a304944caf20ee25f045cba5
8747375a4c6442a5bc317baad36ba41f5de4512e
/personal/migrations/0007_auto_20150226_0351.py
ca2beb584b49a1f858048462ec0f5e23cf67c068
[]
no_license
raultr/perBackend
40f73199cb722133d79d76b4389d4f613764560b
f22542f79f293de444e29ac7183a0ee9c5b86889
refs/heads/master
2022-12-06T10:17:29.400434
2017-02-14T03:23:13
2017-02-14T03:23:13
30,055,264
0
0
null
2022-11-22T00:26:36
2015-01-30T03:57:03
JavaScript
UTF-8
Python
false
false
888
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('personal', '0006_personal_imagen'), ] operations = [ migrations.AlterField( model_name='personal', n...
[ "raultr@gmail.com" ]
raultr@gmail.com
5193b894f4cc698c3ac930f9f72b1f317437c348
b1fe8054a20170b0484411eb2eae19ba820f2f77
/nolsatu_courses/api/serializers.py
a1f903884ff09e5778efa897f3fccd91e3dfd70c
[]
no_license
nolsatuid/courses
2d9be4ffac2651d63b8bb981b3280915109b6996
df335cd7e8f3d08a44c4d0ce06f4989a89215189
refs/heads/master
2022-11-23T03:43:11.145131
2021-02-24T06:12:11
2021-02-24T06:12:11
145,433,826
0
1
null
2022-11-22T02:42:32
2018-08-20T15:12:03
JavaScript
UTF-8
Python
false
false
350
py
from rest_framework import serializers class MessageSuccesSerializer(serializers.Serializer): message = serializers.CharField() class ErrorMessageSerializer(serializers.Serializer): detail = serializers.CharField() error_message = serializers.CharField() message = serializers.CharField() error_c...
[ "irfan.pule2@gmail.com" ]
irfan.pule2@gmail.com
24f91adc550d123a98239a57ae27ac6345f382ab
cd44f9f6d97e54886352353da9c45d9e6c291928
/newspaper/admin.py
d347faa1a852e2b8fbe3b1fd52357e2b88adaebb
[]
no_license
MaksimFelchuck/Felnews
c480f045dc21d6f40e10d233a011fb05522f53f9
a3411f10230b7cecdac4a49cb7e83c03d1c89444
refs/heads/master
2023-02-17T08:13:21.413801
2021-01-16T14:55:03
2021-01-16T14:55:03
330,102,149
1
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.contrib import admin from newspaper.models import * # Register your models here. @admin.register(News, Image) class PersonAdmin(admin.ModelAdmin): pass
[ "felchuck@yandex.ru" ]
felchuck@yandex.ru
f7a595ddeaf0589237edbce2280478c40f9f06a1
475a4cfa6cf4d4e6d05a6497a4012ae98e171bb9
/organization/utils.py
647b0150c76f692479decd36a4ca5f17fdf05ea3
[ "BSD-3-Clause" ]
permissive
fredpalmer/patt3rns
926516c01ed69b2a48406d82578f670554fd8b8c
3faac2b583d45c8bf9cc8fe9ad5b5009ee7ed538
refs/heads/develop
2021-01-01T16:49:23.990749
2015-09-28T16:05:26
2015-09-28T16:05:26
26,644,658
0
0
null
2015-09-28T16:05:26
2014-11-14T15:31:58
Python
UTF-8
Python
false
false
156
py
""" Utility helpers for organization module """ # coding=utf-8 from __future__ import unicode_literals import logging logger = logging.getLogger(__name__)
[ "fred.palmer@gmail.com" ]
fred.palmer@gmail.com
478dcea69606ef521a881ced468c30ce6dbc92fc
228d7661748502381e8a075c7604f7e289069499
/store_img.py
d7916e1ea051d7a8364667e2cf0325bcbfdda643
[]
no_license
pritul2/Face-Recognition
ba18f04083db86815bd66ced6c811e8141569dd3
5958e73356e31c6262b65b1ed44eda64f716cc10
refs/heads/master
2021-05-21T15:58:03.147498
2020-04-15T15:13:18
2020-04-15T15:13:18
252,706,264
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
from keras import backend as K import cv2 import tensorflow as tf from keras.models import load_model from mtcnn.mtcnn import MTCNN import compare_file def detect(img): img = cv2.cvtColor(img,cv2.COLOR_BGR2RGB) detector = MTCNN() results = detector.detect_faces(img) if len(results) == 0 : return if results[0]['...
[ "pritul.dave@gmail.com" ]
pritul.dave@gmail.com
0fe9e8dc03af0dfdeae514c6ac4eaa9dce57b024
c26b3e6df5cbe0f0d40afa675b5e468e939c3672
/test3.py
247dd9d5b65c25082aef0ded04a74865a4f651c0
[]
no_license
TianchiLiu/ModelChecking-1
27c78aa1739988f70e3bfb82fc128650e16dddd8
38372f6e9f74f30cfe508987706ebf2a5100f4bc
refs/heads/master
2021-08-09T15:38:16.103196
2017-11-12T08:33:05
2017-11-12T08:33:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
import itertools import re f=open('/home/kiroscarlet/ModelChecking/pg1.txt','r')#改成自己的文件夹 Loc1=re.findall(r"{(.+?)}",f.readline())[0].split(",") # 用正则匹配截取左右大括号中的内容,以逗号为间隔分割成列表 print(Loc1) Loc01=re.findall(r"{(.+?)}",f.readline())[0].split(",") print(Loc01) Var1=re.findall(r"{(.+?)}",f.readline())[0].split(",") print(...
[ "1277836029@qq.com" ]
1277836029@qq.com
faa46e3e7481d5bbafc9aef63a7b6099bf197c4b
cd5cbfb88794c10490e70ca5a06915cd351db6f9
/train.py
471dcbaf815d14ef26eaa181965336897abf4ff8
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
TrendingTechnology/conditional-style-transfer
813d1b57a804dc621da30e6bb3a5e82875eb9354
fcdc4716f98e333ef19f9d45be880d0837151cd2
refs/heads/master
2022-12-18T10:57:00.258679
2020-09-29T09:20:55
2020-09-29T09:20:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,121
py
import time from options.train_options import TrainOptions from data import CreateDataLoader, CreateStyleDataLoader from models import create_model from util.visualizer import Visualizer import torch if __name__ == '__main__': opt = TrainOptions().parse() data_loader = CreateDataLoader(opt) dataset = data_...
[ "vojtech@nnaisense.com" ]
vojtech@nnaisense.com
257a852010c6ac198207acb56d1e5dcc5f9a136c
ba31ca99cd83d263952a3ab949cec21bec9831dd
/CollectionsOverview/tuple&namedtuple/tuple&namedtuple.py
22667d869d07c6380683598637a5d390a90043f2
[]
no_license
YizhuZhan/python-study
dd4f492c4a5b2b1bebcbd463380c57c1f6594a69
49bed4935e6d4bd1bdfd5f7159cc0e1c783e5764
refs/heads/master
2020-03-29T04:54:32.850829
2018-10-23T03:39:33
2018-10-23T03:39:33
149,554,810
0
0
null
null
null
null
UTF-8
Python
false
false
1,972
py
# -*-coding=utf-8 -*- __author__ = 'Ivana' from collections import namedtuple # 抽象基类 interface # from collections.abc import * from collections import namedtuple user_tuple = ('Ivana', 27, 167) name, age, height = user_tuple print(name, age, height) name, *others = user_tuple print(name, others) user_info_dict = ...
[ "zhyzh910914@126.com" ]
zhyzh910914@126.com
c7256ce38afd60cd7ed3c1b4dd80ff0d00783c55
65e3c1f2911de516bd89e68ba1da5a73bd70d16c
/Matplotlib/pyplot_tutorial_4.py
df09e2ac45af7bf54d3704d0aaaccd65242b4596
[]
no_license
PiotrKrolak/Python
174a78e3aab08d6c77386a26b89d817018b82ef5
79589e8919049f35fe33ad93f0293eff8000b02d
refs/heads/master
2020-04-04T08:03:02.476313
2019-04-19T18:02:31
2019-04-19T18:02:31
155,769,402
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# # https://matplotlib.org/tutorials/introductory/pyplot.html#sphx-glr-tutorials-introductory-pyplot-py import matplotlib.pyplot as plt import numpy as np def f(t): return np.exp(-t) * np.cos(2*np.pi*t) t1 = np.arange(0.0, 5.0, 0.1) t2 = np.arange(0.0, 5.0, 0.02) plt.figure(1) plt.subplot(211) plt.plot(t1, f(t1...
[ "krolak.piotr.lca@gmail.com" ]
krolak.piotr.lca@gmail.com
9d11cd4b5864d8bfb62d272e97077989d61f7c84
6f73053e9c5a8bb40f34dd12a9a000ad3ca84f1f
/exchange/core/entities/__init__.py
ea1a17b054ed4a7f887d52c46eed80386fa3aeab
[]
no_license
Bizilizi/python-crypto-exchange
9610857580b5c0239a9cbd778246c65e693a8d31
9eef1641e8cc04a7b3922447b05c04e37268187b
refs/heads/master
2022-12-01T14:28:28.819215
2020-08-14T06:26:37
2020-08-14T06:26:37
287,306,992
1
0
null
null
null
null
UTF-8
Python
false
false
318
py
from .account import Account from .balance import ( BalanceRecord, PairBalance, ) from .fee import Fee from .order_book import Order, OrderBook from .symbol_pair import SymbolPair __all__ = [ "Account", "BalanceRecord", "PairBalance", "Fee", "Order", "OrderBook", "SymbolPair", ]
[ "ewriji@airlab.team" ]
ewriji@airlab.team
9460ed333c68286b1b8586ae62dfef6f5a885477
c51346bab049a960d76f9e2e243523840bf5bd7a
/driver_testsuite.py
406a7e5bec66ecc570edc64504cdcee78201bbc4
[]
no_license
DaFaYo/8-puzzle
9d90fa8f23d49f718411280d4a8a4a0fd2d360d9
8a2a69e00ee9ea5d705cf8427114d1c8d62f276d
refs/heads/master
2021-07-07T05:51:12.230212
2017-10-04T10:47:49
2017-10-04T10:47:49
105,752,126
0
0
null
null
null
null
UTF-8
Python
false
false
7,199
py
""" A simple testing suite for 8-puzzle, 15-puzzle, 24-puzzle, etc. """ import poc_simpletest import time total_time = 0.0 def timeTest(testName, timeElapsed): global total_time total_time += timeElapsed return "%s. Time elapsed: %.3f s." % (testName, timeElapsed) def run_tes...
[ "rosahoetmer@MacBook-Pro-van-Rosa.local" ]
rosahoetmer@MacBook-Pro-van-Rosa.local
b54170de518ce19a097475f091966db1fd82f864
fd8e46371be27b51ef345dd8ee5a38cdcd2dfe49
/tests/test_simplad_monad.py
adec7766ec627ac2755c10c21ca1ed4064860c04
[ "MIT" ]
permissive
Cogmob/simplads
1c029ba5474625cd20db46c5e28c194c97e0089d
8731c4a02273109187cfe601058ce797e32ba1ae
refs/heads/master
2020-12-28T04:32:56.982748
2016-11-04T17:36:51
2016-11-04T17:36:51
68,810,864
0
0
null
null
null
null
UTF-8
Python
false
false
10,231
py
from simplads.simplad_monad.simplad_base_helper import Bound from compare import expect from fn import F from functools import partial from nose.plugins.attrib import attr from simplads.simplad_monad.namedtuples.bind_args import BindArgs from simplads.simplad_monad.simplad_base_helper import WrappedDelta, Bound from s...
[ "luke.avery@live.co.uk" ]
luke.avery@live.co.uk
3f1d716a0e6f5b1bb216b80ae844859e1cb0e536
31072bce3e3279f831dea880873adce58c84fdc4
/blog/urls.py
c678fd4a28abd9883ddbbc078f6f8dd0ffa91bca
[]
no_license
100sarthak100/Python_Django_Blog
00eeb475602d8beee79b9b7fc70a8b42e39becfb
842a0b5b91200c61119f3ee16ced3bd61cf1b66b
refs/heads/master
2022-12-05T04:38:41.300348
2019-12-24T04:01:44
2019-12-24T04:01:44
228,986,653
1
0
null
2022-11-22T04:55:08
2019-12-19T06:06:25
JavaScript
UTF-8
Python
false
false
1,085
py
from django.urls import path,include from .views import ( PostListView, PostDetailView, PostCreateView, PostUpdateView, PostDeleteView, UserPostListView, ) from . import views urlpatterns = [ #path('api/blog/', include('blog.api.urls'), name='blog-api'), path('comment/<int:pk>/approve/'...
[ "sarthaknaithani127@gmail.com" ]
sarthaknaithani127@gmail.com
f679cfe49a5a9682024f0cc2f559fdb8e4f7a420
d76f864ec1ddc0ad40461b2c7283caac113d1a94
/borrowers/manage.py
7dc3700feea2035b1da3ec350ff7d0faee9ed167
[]
no_license
ecarlos09/roselyn-elwin-library-2
13b0b60fecc8bd6722b70f775b62648a0dc8753a
3e64c298aa42827cf0ba7b6d2a20884efb19e405
refs/heads/main
2023-04-19T21:38:04.061450
2021-05-09T11:31:37
2021-05-09T11:31:37
365,148,235
0
1
null
2021-05-09T11:09:15
2021-05-07T07:18:57
Python
UTF-8
Python
false
false
665
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'borrowers.settings') try: from django.core.management import execute_from_command_line except Im...
[ "elwin.carlos09@gmail.com" ]
elwin.carlos09@gmail.com
058eed73a68232a87c8199303860ed5deb0c7b42
08093753140a6a32e37799e45021fe7905f72b2a
/ib-all-factors.py
39e9274a22e341856b6dc0dc0c4141f44d9853aa
[]
no_license
ShivendraAgrawal/coding_2016
6aa503b4b3ffbe14aca086e64661f608b136832f
2a973860acfdbcec55dd180aa4a08384d97a78d7
refs/heads/master
2020-05-22T09:17:42.641422
2016-08-01T10:56:08
2016-08-01T10:56:08
49,042,801
0
1
null
null
null
null
UTF-8
Python
false
false
623
py
class Solution: # @param A : integer # @return a list of integers def allFactors(self, A): result = [] stop = int((A**(0.5)) // 1) + 1 print(stop) for i in range(1,stop): if A%i == 0: result.append(i) result.append(A//i) res...
[ "shivendra.agrawal@gmail.com" ]
shivendra.agrawal@gmail.com
ad43c4e662b812eeb2e0f193cfd48753329f760c
456345882451054ec5c0841886746f0dfd858094
/ProblemSet2/PS2-3.py
21f963d00c0906b6ae3b6fdbb1279099353743d5
[]
no_license
makthrow/6.00x
faf5241008b1b57760a2e3411bf7fe637488a8fd
7480be3634f5442c05bc9c838ab90ca80cd57ecc
refs/heads/master
2021-01-10T21:49:31.302625
2013-05-21T18:04:14
2013-05-21T18:04:14
10,201,987
1
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
""" Monthly interest rate = (Annual interest rate) / 12 Monthly payment lower bound = Balance / 12 Monthly payment upper bound = (Balance x (1 + Monthly interest rate)^12) / 12 """ #Test Case 1: balance = 320000 annualInterestRate = 0.2 # Lowest Payment: 29157.09 monthlyInterestRate = annualInterestRate / 12 lowerBou...
[ "alanjaw@gmail.com" ]
alanjaw@gmail.com
01c6727bbb55b58aaaf00926f80a814bb05f0768
b854e106dbde2f83cbf07918b740bc21b5a37d16
/SVR/main.py
6adbba966a857b375687a72db6a0f364bd0f2518
[]
no_license
hubertmucha/Machine
772f4e37510dfda0b661ad41f56a1d0dfefd706b
5240576af196c740dbd97ec70bac49fb49759d65
refs/heads/master
2022-04-11T15:35:47.408963
2020-04-11T11:10:41
2020-04-11T11:10:41
254,343,294
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt #importing the data set dataset = pd.read_csv('Position_Salaries.csv') X = dataset.iloc[:,1:2].values #matrix y = dataset.iloc[:,2].values #vector #scaling data from sklearn.preprocessing import StandardScaler sc_X = StandardScaler() sc_y = Sta...
[ "58261346+hubertmucha@users.noreply.github.com" ]
58261346+hubertmucha@users.noreply.github.com
9763acf2c3ee9ef17482c7d31f82767ad9733da0
415de2699e479b962579d41b2161efb07caabfe5
/adrien/browser/egc_topic_browser.py
65512384a96fb2ad4eeb1d75022aaba1149ca19e
[]
no_license
AdrienGuille/EGC-Cup-2016
15c64f4095655583bf0ef8fd18cb555cbda640bc
198f7c8c3b5a2a788004e3359bbdbcda4acdb9c4
refs/heads/master
2021-01-02T23:03:00.830428
2015-10-25T09:45:53
2015-10-25T09:45:54
38,754,269
0
1
null
null
null
null
UTF-8
Python
false
false
11,419
py
# coding: utf-8 from nlp.topic_model import LatentDirichletAllocation, NonNegativeMatrixFactorization from structure.corpus import Corpus from structure.author_topic_graph import AuthorTopicGraph import numpy as np from scipy import stats as st from flask import Flask, render_template import utils from flask.ext.frozen...
[ "adrien.guille@gmail.com" ]
adrien.guille@gmail.com
287cfa5fca38192f022c1fdc9fd06ba73ef730a3
162e936cdbc362a18fa16e1d9579e8937671a13c
/dataMerge.py
12b1b9bd95932866e6d1543e81fd4ff4e94f336c
[]
no_license
samanwayadas-creator/RNNnetworkRepo
6b8c2ec2b3355c1fd52af1c79f5aeab3f31856f3
459bb79c41789030d989715ba1efd5ff7040cd59
refs/heads/main
2023-04-30T09:53:50.283073
2021-05-12T10:41:14
2021-05-12T10:41:14
366,680,535
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
import glob as glob import os import numpy as np from matplotlib import pyplot as plt # from sklearn.gaussian_process import GaussianProcessRegressor # from sklearn.gaussian_process.kernels import RBF, WhiteKernel, ConstantKernel as C np.random.seed(1) import pdb import sys import _pickle as pickle if '/scratch/wz1219/...
[ "75118243+samanwayadas-creator@users.noreply.github.com" ]
75118243+samanwayadas-creator@users.noreply.github.com
8143df4cf84b31a4228183b1bc7cc7da429e74d9
f01c1f5a6f3a9377bc83be0e8cfe29ac59272378
/cmput496/assignment3/gtp_connection.py
28453102f55576df1d63875016492d0412efaefa
[]
no_license
boweiww/Projects
528d01205565ebb7f0c84f28d840eecf4e329274
5e0375a17fc97f623557ca6a2b1d20ebd360664f
refs/heads/master
2021-10-24T09:50:20.539585
2019-03-24T22:34:26
2019-03-24T22:34:26
113,407,661
0
0
null
null
null
null
UTF-8
Python
false
false
15,139
py
""" gtp_connection.py Module for playing games of Go using GoTextProtocol Parts of this code were originally based on the gtp module in the Deep-Go project by Isaac Henrion and Amos Storkey at the University of Edinburgh. """ import traceback from sys import stdin, stdout, stderr from board_util import GoBoardUtil, ...
[ "boweiww@gmail.com" ]
boweiww@gmail.com
5a8809be90a32d25e83f3c8153b214a58ded97ae
1944daa9a22b689fcdb7315a11aae4fc0b32a398
/ctc/client.py
e6ddb1da72351cc7608dba4b30f34a36702483a0
[]
no_license
fireae/OCR-methods-with-ctc-attention-and-transformer-
1a90e04a4b879bda292dd553de53d27aa288d0f2
15dfd4cc23415533ddb76c29ec0c5d2f22f3646e
refs/heads/master
2022-12-05T09:36:38.557132
2020-06-29T12:35:26
2020-06-29T12:35:26
299,661,567
1
0
null
2020-09-29T15:37:49
2020-09-29T15:37:48
null
UTF-8
Python
false
false
3,943
py
# -*- coding: utf-8 -*- import sys, cv2 import requests import urllib import json import time import os import glob import re import base64 import numpy ft_path = '/data/notebooks/yuandaxing1/ft_lib/' sys.path.append(ft_path) import ft2 batch_size = 1 class SHOCR(object): def __init__(self, server="gpu3ss.jx.shbt.q...
[ "shaunzhuyw@sina.com" ]
shaunzhuyw@sina.com
fa870428c18812b9d152127aa4df6cc4092bdbff
e967290f67437c0afcbb4597e9ba6020761f2a45
/github.com/ceph/ceph-deploy/ceph_deploy/util/wrappers.py
4bff77b5657b6ea0ac484359fb93d3a804362451
[ "MIT" ]
permissive
mp-rheinrich/mp-fs-sandbox
77bf40a27a0d6c2b38cbc7562023a92fca8751c0
35c38ac9d4d7ad941facfd24ab0a068630c57bdf
refs/heads/master
2020-05-31T11:13:13.474102
2013-08-21T12:59:11
2013-08-21T12:59:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
""" In a lot of places we need to make system calls, mainly through subprocess. Here we define them and reuse them with the added functionality of getting logging and remote execution. This allows us to only remote-execute the actual calls, not whole functions. """ from ceph_deploy.util.decorators import remote_compil...
[ "roman.heinrich@gmail.com" ]
roman.heinrich@gmail.com
59ab3b8c00e340f686e72893e1533b2c4bc80c26
14ec9fc9aee69d54701168c069df4fe46a27b811
/makeDigikeyBOM.py
67fa76a4e374de9b7f2442ed9f00517b1d4886b5
[]
no_license
BitKnitting/MakeDigikeyBOM
1af6e79b9c9bb86590425ec06bbacc63fa2cbb60
ef12a92dec3abbd86571b40d6ea7ea72fa6e60b1
refs/heads/master
2021-01-13T00:59:15.063713
2017-02-20T18:30:42
2017-02-20T18:30:42
53,728,672
10
0
null
null
null
null
UTF-8
Python
false
false
841
py
# # The main entry point to making a digikey Bom CSV file from the output of bom2csv # as discussed in the bitknitting blog post: https://bitknitting.wordpress.com/2016/03/05/from-kicad-to-digikey-generating-a-bom-based-on-esteem-overview/ # import logging logger = logging.getLogger(__name__) from replaceJellyBeanParts...
[ "farmerrobbie@freshsalad.today" ]
farmerrobbie@freshsalad.today
876a38600caafb0020074dfb9d8bcc1fcd87330a
e2c2920d197e51201b0aa4127afe4a701d2f8722
/lcy8047/HackCTF/Poet/ex.py
d33a857d62d8841678fffb993c13969b3491edde
[]
no_license
JinukHong/CTF
d564c7db194e165b37c1bc9f51fc1ffba9af1bb5
a8765bd3b8028aeaccc0435d13ee1c2be94f8e41
refs/heads/master
2023-07-19T15:40:48.569456
2021-09-17T14:51:55
2021-09-17T14:51:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
from pwn import * ''' Arch: amd64-64-little RELRO: Partial RELRO Stack: No canary found NX: NX enabled PIE: No PIE (0x400000) ''' r = remote("ctf.j0n9hyun.xyz", 3012) # poet, author score가 전역변수로 설정되어 있었다. # poet과 author 모두 gets로 받아 bof취약점이 있었고 # author는 64byte만큼 할당 되어있었고 # 바로 뒤에 score가 있어서 조건에 따...
[ "lcy8047@gmail.com" ]
lcy8047@gmail.com
ef27bf70b07265681e123092f152efdfa83c3506
91c3eed3612a651d6ba6ab0d2a45c960abec5014
/SchubbeServer/submodules/smokeSensor.py
44e2be4f08b63f7bc287bd7bfad977e244d3a11d
[]
no_license
Janessus/SchubbeServer
ee0fb2e5118d4ce59937a16d067ba2df0ccc9fb3
27bc785995a0bdb502ecafbd827f7cb455f35aeb
refs/heads/master
2021-01-02T06:16:40.024713
2020-06-23T10:20:01
2020-06-23T10:20:01
239,526,006
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
import time import board import busio import adafruit_ads1x15.ads1115 as ADS from adafruit_ads1x15.analog_in import AnalogIn # import RPi.GPIO as gpio def init(): # Create the I2C bus i2c = busio.I2C(board.SCL, board.SDA) # Create the ADC object using the I2C bus ads = ADS.ADS1115(i2c) # you can...
[ "janesheuberger@web.de" ]
janesheuberger@web.de
5890843886f71a5b8037a0e84989012f7b2a4c32
61527c79c6f6752ae926bb82b38d23106a77ba91
/src/data/py.py
6fb9ee7b9b37f41a8d835b3d0c962e94e24845b6
[]
no_license
MetaNovitia/DataPortal
0bd884e4ecdbf7e6bc216eff237217621389a8a6
56bbf5cbe0f8e7c4149a6ff40962d2d4b3cfc87f
refs/heads/master
2023-01-24T16:07:12.012234
2020-02-12T22:08:07
2020-02-12T22:08:07
197,293,378
1
1
null
2023-01-04T04:38:28
2019-07-17T01:37:53
JavaScript
UTF-8
Python
false
false
537
py
import json f=open("ns.json",'w') d = {"Basin":[{},{}],"Region":[{},{}],"All":[{},{}]} for i in range (1,406): if i not in d["Basin"][0]: d["Basin"][0][i] = [] d["Basin"][0][i].append(str(i)) d["Basin"][1][i] = str(i) if i//40 not in d["Region"][0]: d["Region"][0][i//40] = [] d["Reg...
[ "mnovitia@uci.edu" ]
mnovitia@uci.edu
0a418fc8812aada8d4b208cdc5ff09a38eebd7ae
125d2d87b993280dfcec0d755655cf0d2e8a7194
/Computer_Files/Test/calibrate_camera.py
d32bc64d1f576fe58a61d4356bfc65f3a5731af1
[]
no_license
QuentinCar/DemoHydro
ab1383728050d1b2b0b0c14ad6db773933076a46
3ab12db8befab68e5931a284aa66352ebddd45cc
refs/heads/master
2020-06-21T04:18:26.614428
2019-09-17T12:46:24
2019-09-17T12:46:24
197,342,043
0
1
null
null
null
null
UTF-8
Python
false
false
2,480
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 12 14:15:55 2019 @author: Quentin """ import numpy as np import cv2 import glob def calibration(): print("Define Calibration Parameter...") # termination criteria criteria = (cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_MAX_ITER, 30, 0.001) # prepare ...
[ "cardinal.quentin@gmail.com" ]
cardinal.quentin@gmail.com
6a9a2140c3b9497705914e18dd94ed31139bc3b7
bd6bfc81cd266c8623543473c64bacda131b39a6
/angellist.py
cea22da59c2b95eadf0ef01a6e7523bbd4cb7e8e
[]
no_license
troyshu/angellistalumnibot
5b2fba65907dc6e35f444e042e3ba6c6ef4214c8
dd7aaf0cb884e36473295c344a0d45ab3c28beb2
refs/heads/master
2016-09-09T23:17:56.984129
2014-02-19T13:47:47
2014-02-19T13:47:47
16,949,225
8
6
null
null
null
null
UTF-8
Python
false
false
18,237
py
####################################################################################### # Python implementation of AngelList OAuth Authorization and API. # # # # Author: Kevin Marshall ...
[ "tmshu1@gmail.com" ]
tmshu1@gmail.com
73ad191df8f81ff1d0c4174bf2af5a3353083aa8
5068fd40502a09f3ba7d34de7e60b0d1e48a5f9e
/amazon.py
0485295f776964f48e1696b85ec401125bbae1fc
[]
no_license
ishvaram/Python-connectors
3fbb9246b443d4fc7bdc53256f5f8f7ab8d34f86
66079d1d0b80a06fe20beda9b9a475c07be4cf88
refs/heads/master
2021-01-18T23:59:47.447494
2017-11-27T07:24:40
2017-11-27T07:24:40
47,703,004
4
1
null
null
null
null
UTF-8
Python
false
false
3,646
py
import sys import requests import urllib2 import itertools from bs4 import BeautifulSoup pageNumber = 1 max_number = 133 opener = urllib2.build_opener() opener.addheaders = [('User-agent', 'Mozilla/5.0')] for number in range(pageNumber, max_number + pageNumber): url = opener.open("http://www.amazon.com/Apple-iPhone-16...
[ "jehovaram@gmail.com" ]
jehovaram@gmail.com
090da0f152d71f00b414a43dc812e92cbe6ee8da
4477b53f4cc0a5ac444a424a4b975406eccc50c0
/APproject/tests/test_reservation.py
a83d39b09d600365b3037b342e0acafbd6af5ed2
[]
no_license
V-Saikus/APlabs
26330fd32ff34e6f39da7e560d17c8e59ddfbd54
af08b0869c5324b958f8ad5cb829a3c458c0c0b6
refs/heads/main
2023-02-04T07:22:51.499155
2020-12-28T10:19:15
2020-12-28T10:19:15
309,087,299
0
0
null
2020-12-28T10:19:16
2020-11-01T12:07:34
Python
UTF-8
Python
false
false
4,316
py
from tests.test_audience import * import base64 class MyThirdTest(TestCase): def create_app(self): # app = Flask(__name__) app.config['TESTING'] = True return app def setUp(self): db.session.commit() db.create_all() def tearDown(self): db.session.commit() ...
[ "kiltik12@gmail.com" ]
kiltik12@gmail.com
2d15ec2b8d64cbb34b07779dbf0de9ce79ece52e
d3f9b18dccba61c88aab4e1d1d73dc96c1b87094
/Python/CodingDojo_Python/Django/log_reg_projs/Main3/MAIN/MAIN/wsgi.py
c705725265194d75f294281d91cd40cec3a68ba7
[]
no_license
sambragge/DojoAssignments
fc13cbccb79a71427f09e4f960ba6a664e8be408
6de385bc6b0bb9c0ae70c5750c9044a0668a17c9
refs/heads/master
2021-06-21T05:21:10.068026
2017-05-07T18:32:47
2017-05-07T18:32:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
""" WSGI config for MAIN 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.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTING...
[ "sam@Samuels-MacBook-Pro.local" ]
sam@Samuels-MacBook-Pro.local
4e26bbd2df58bab646493c8d01198a36113d012b
8b99655d0c3920143aa3a0945f05e7d16526788a
/python基础/异常捕获.py
a54adadeae5439d13f481cd08fb5ce153802a54d
[]
no_license
nicecode996/Python_Test
8e79373db83caf39521425b2be16416655d3ae8e
7a26b44cbb9e72c1039ed6c0e4961c4b35472192
refs/heads/master
2023-08-16T00:27:03.029817
2021-09-27T14:55:01
2021-09-27T15:18:20
410,270,104
0
0
null
2021-09-26T15:16:31
2021-09-25T12:44:03
Python
UTF-8
Python
false
false
533
py
#! usr/bin/env python3 # coding=utf-8 # try: # num1 = int(input("输入一个整数:")) # num2 = int(input("输入一个整数:")) # print(num1/num2) # except ValueError: # print("请输入数值型") # except ZeroDivisionError: # print("除数不为0") # else: # print("程序没有异常") # x = 5 # if x > 1: # raise Exception("这是一个异常") class M...
[ "19913148542@163.com" ]
19913148542@163.com
506914e27072e3732420f2074b84705988b980b3
619e18c1006f2e9e8960e800edb0490131b1ca35
/poc.py
e13810b86de3fa773f4376551d4f7fc3575b42ba
[ "Apache-2.0" ]
permissive
Gibstick/hocr-to-zuvaocr-converter
4c0b61e39d5f420a2185c34aee81c4f9a50b0c7d
b7eafed23a00efd1ee6caa748e2fdb7788aed914
refs/heads/main
2023-08-22T21:02:15.739377
2021-10-07T13:44:46
2021-10-07T13:44:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,690
py
# Copyright 2021 Zuva Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softwa...
[ "francois.longtin@kirasystems.com" ]
francois.longtin@kirasystems.com
28adf6066f1298f7c1751bea4082fea4e3ed1570
f44a5803dbfa854de26d354f9e8db0f808d304f8
/tp3.py
651e553182f15955f5f51b48d2816b23e38ea3d9
[]
no_license
MartinA731/Covid-Simulation
5100b7375293271487eca955469e3d8baeddcca0
58baf2877f76b99281c68610884c2fb24b7cb16d
refs/heads/main
2023-02-10T19:40:37.084687
2020-12-26T23:26:18
2020-12-26T23:26:18
324,649,486
0
0
null
null
null
null
UTF-8
Python
false
false
11,655
py
import pandas as pd from cmu_112_graphics import * from tkinter import * import states import random def appStarted(app): app.countyCalculated = False app.firstStep = True app.charsCalculated = False app.pos = [] app.R = 4 app.showVisualization = False app.correctInput = True ...
[ "noreply@github.com" ]
MartinA731.noreply@github.com
4dce6aca511eb41feeab368a9e2aa4e6b425ce74
22535a06ed985cd10048055bb310e9204d95702e
/module_3/zad_98/homework_1/main.py
d3b3e46ff68066e6bd1560473773ed79a5e7744d
[]
no_license
Nanutu/python-poczatek
56f077f54d5e8a29405addbe53c9d5826542ade2
af219febb62b1f76435365ca7a2a7797d2fd01d7
refs/heads/master
2023-02-15T07:09:37.098394
2021-01-08T02:06:53
2021-01-08T02:06:53
314,753,529
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
# Wykorzystaj metodę super do odwołania się z poziomu klasy ExpressOrder do bazowej implementacji metody total_price i # zastąp powtórzony w klasie potomnej algorytm wynikiem z tego odwołania. # # Pamiętaj, że łączna wartość zamówienia ekspresowego to: # # łączna wartość zamówienia policzona według bazowej metody + opł...
[ "maciek.sobieszuk@gmail.com" ]
maciek.sobieszuk@gmail.com
d0ddccb63a8286112433e6886535c15b78ec17a4
01c6f08f04a5aba3432a672744ad38b07b66cb24
/tests/test_logic.py
3c9bc6c23100bb411cca0ac4505621c9a1a70bf9
[]
no_license
patnir/photo-translator
bced9fa5bf355a47ab1e468fde7cc571ef434389
f4ce12f75f0f7e9cbb99192066ec026a91bc83e1
refs/heads/main
2023-03-17T23:42:50.964279
2021-03-17T06:27:20
2021-03-17T06:27:20
348,130,870
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from src.logic import translate_photo_contents_into_text def test_translate(): assert translate_photo_contents_into_text("photo") == "text"
[ "test@tests-mbp.home" ]
test@tests-mbp.home
4d252038bcbc9eef1bf76cf1aad3a729a21082bc
9d030f2fa76a53014dcf437cc436ecad6c95de0b
/Score_evaluator/migrations/0004_remove_category_likes.py
c28555126cc510d27a6370538b2a4c4830f7f3ad
[]
no_license
rotonmeta/SocialSearchEngine
40776b296c3c76666ca472f9014f7f57a05a7dad
661ac9be5fa1694b5a94bf9d514a3d6c11af4f2d
refs/heads/master
2020-05-18T19:26:45.349597
2019-07-08T15:07:26
2019-07-08T15:07:26
173,291,812
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
# Generated by Django 2.2.1 on 2019-06-18 15:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Score_evaluator', '0003_remove_categoryscore_score'), ] operations = [ migrations.RemoveField( model_name='category', name='...
[ "roton-meta@live.com" ]
roton-meta@live.com
70972eb1ec404daa58b302a2aba95cc9f7fb235c
2449d8ca3bb5dd377d7de2058398352405c86aaf
/hw3/2a_testCNN.py
ad62662fc36f89bc85c641c64d4d7070c3787768
[]
no_license
chenchc/ML2016
f4e6f5c6d8a089771bac5b5f49ef2d11c4b839c7
c04f213fb42b99c2de67509bf1acb2cb0fde4080
refs/heads/master
2021-03-24T09:14:49.342513
2016-12-08T09:08:23
2016-12-08T09:08:23
68,990,010
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
import os from keras.models import load_model import a_model import pickle import sys import numpy import random import csv def readTestData(filename): with open(filename) as file: testData = pickle.load(file) testMatrix = [] for i in range(len(testData['data'])): instance = testData['data'][i] instanceInX...
[ "r05922063@ntu.edu.tw" ]
r05922063@ntu.edu.tw
64e17a5ea91aa627a5e99f11abecc085abf95e83
e68cdc27c454f9af90354c9e3a45160453b6812c
/Scrapper.py
71ecb49743d406c0bf6a9d859fec030ee89014a0
[]
no_license
dirttech/UtilityScrapper
73a240dd7154059794d63bbddbdf12dc778946ea
d9c408e3dabf94f977baeaaefdbfa39c8e53470c
refs/heads/master
2021-01-01T05:37:25.529585
2014-06-03T14:43:21
2014-06-03T14:43:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,161
py
__author__ = 'inderpal' import urllib2 from bs4 import BeautifulSoup import mechanize import cookielib import json import datetime import requests import sys now = datetime.datetime.now() day = now.day month = now.month year = now.year Name = "" City = "" LoadSanctioned = "" LoadType = "" PlaceType = "" LoadConnecte...
[ "Inderpals@iiitd.ac.in" ]
Inderpals@iiitd.ac.in
61cf636fe1e3b402dd46f44f844e6cd651afc53b
a5ca50c35dd71667ec905b883bd3f181ab5d2cab
/applications/FluidDynamicsApplication/symbolic_generation/compressible_navier_stokes/generate_stabilization_matrix.py
5c49316a2a83b9cd0bc5ce9eab985c8941e03480
[ "BSD-3-Clause" ]
permissive
philbucher/Kratos
74aeed105fb283caa2a2e84f44229d4ff657099e
1ceb900dbacfab344e27e32285250eafc52093ec
refs/heads/master
2022-03-19T08:38:33.276133
2021-11-19T12:14:53
2021-11-19T12:14:53
216,619,563
1
0
NOASSERTION
2021-11-19T12:14:54
2019-10-21T16:54:08
C++
UTF-8
Python
false
false
2,472
py
from sympy import * from KratosMultiphysics import * from KratosMultiphysics.sympy_fe_utilities import * def ComputeStabilizationMatrix(params): """This function calculates the stabilization matrix""" print("\nCompute stabilization matrix\n") dim = params["dim"] # Spatial dimensions Tau = zeros(...
[ "rubenzorrillamartinez@hotmail.com" ]
rubenzorrillamartinez@hotmail.com
3e328de1c0c7c548ffcdc4dfe4245b69fc6a10cf
c5fb1b19dfb2e09a467b82312bc543b41bf09311
/venv/bin/jupyter-notebook
14402b5b0089189da18a0938bc5d0478fa3df764
[]
no_license
jkam32/python_playground
badb8a281ca4c11155bd2ab8fca94bfc7c2f5097
ef90dd29ddbd633e03caa273ee9adcb983444911
refs/heads/master
2020-03-27T20:32:35.407852
2018-09-30T09:20:35
2018-09-30T09:20:35
147,076,562
0
0
null
null
null
null
UTF-8
Python
false
false
265
#!/home/js/PycharmProjects/python_playground/venv/bin/python # -*- coding: utf-8 -*- import re import sys from notebook.notebookapp import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jkam32@siswa.um.edu.my" ]
jkam32@siswa.um.edu.my
5482b9e1a19c034e719f9d85304183ee10fb27d2
fcd9b782b9e0f0973b1ddc45e432091e2e107f39
/InstantiationScripts/changeSOACoherence.py
323ed4273b40d9b92dfcef95b908ae09c7e5ac36
[]
no_license
oktbabs/fmw_repo
5c8baa0be8185f3846ebc3cea3a2bf07ff4eb0d3
3cff15b4c1e1674c038c8d1c3a6d2c7a68035afb
refs/heads/master
2020-04-09T23:06:09.725008
2018-12-06T14:44:11
2018-12-06T14:44:11
160,646,775
0
0
null
null
null
null
UTF-8
Python
false
false
5,676
py
#++++++++++++++++++++++++++++++++++++++++++++++ # Script Name : changeSOACoherence.py + # Written By : Timmy Babayeju + # From Company : Fujitsu + # To Company : FSA + # Description : Script retrieves the old + # Coherence Arguments WKA Addr...
[ "oktbabs@gmail.com" ]
oktbabs@gmail.com
4d38f7bb468beb4ae0d12208543491dffacf5088
fc93328977a795b72b3d2b4b9ba3d5656e3a3145
/bc/model.py
fc0f1217c125aed27218e37296fda571977b9f4e
[]
no_license
Recharrs/bc
cbd06b841005fae713b874b845c27f4e39a25414
c4cebf5ba1475954453a98ca36f376ba4139e168
refs/heads/master
2020-03-28T23:48:02.900041
2018-10-24T09:40:15
2018-10-24T09:40:15
149,309,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
import numpy as np import tensorflow as tf class Model: def __init__(self, state_dim, action_dim, restore_path=None): self.sess = tf.get_default_session() self.state_dim = state_dim self.action_dim = action_dim ''' Build Model ''' with tf.variable_scope("model") as scope: ...
[ "sliz97028@gmail.com" ]
sliz97028@gmail.com
ee3bd0fd9cd417e9f857dba2376e138ca1a6af7b
f9e2a4f93e7c18390052b87a45f199abce817ffe
/lib/python3.6/reprlib.py
eb5fd636821e416479b02e063c128c24a74e831a
[]
no_license
tunaho/Seng2021
e356e820458b65a3382671dc9c5810acf9db4b83
8be83cf2ada6a069d5b67f9f731bf30b85e8afef
refs/heads/master
2021-09-15T06:48:48.956845
2018-05-28T02:52:05
2018-05-28T02:52:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
C:/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/reprlib.py
[ "z5160298@ad.unsw.edu.au" ]
z5160298@ad.unsw.edu.au
5b5cabf08a29039bc59cd1bac436dc857eb9d0b4
7833b9033fd68713920b431b56d952ce1b26bf64
/level0/test/lib/test_framework.py
a95c230d95a4896aa6339af1264722ccb345ae1d
[]
no_license
thbishop/stripe_ctf_3
15e7a302223d74e632a5a985024a91480bb04e48
a05b6d9262a040164ff60b07a55489fdcfa00ba3
refs/heads/master
2020-04-01T08:32:29.006343
2014-01-31T18:18:42
2014-01-31T18:18:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,387
py
import difflib import os.path from random import SystemRandom import re import subprocess import sys import time # From this package import lib.error as error import lib.http_client as http_client import lib.util as util data_directory = os.path.join(os.path.dirname(__file__), "..", "data") class TestCase(object): ...
[ "bishop.thomas@gmail.com" ]
bishop.thomas@gmail.com
22c0984369b13c085c9a024934cf992870d0fee8
1595ffd5cc3ede5cb1b35b5443070fbebe884fd3
/dataset/92_get-vocab.py
ef1f0459e4eb87e246660810b3a15bc22249edc7
[ "Apache-2.0" ]
permissive
ewdowiak/Sicilian_Translator
dd986ac687789f12f1a8d5d5a95f1862ca814174
135d6224aa7e9b5d6d8ab3949d463d7e1a1452db
refs/heads/main
2023-03-09T16:27:13.334651
2021-09-26T15:03:21
2021-09-26T15:03:21
172,383,110
4
2
null
null
null
null
UTF-8
Python
false
false
3,063
py
#!/usr/bin/python3 ## Copyright 2021 Eryk Wdowiak ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. ## You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required b...
[ "eryk@wdowiak.me" ]
eryk@wdowiak.me
55dd3bb40f27748ad37544434f81d3b3f8af7dbc
ee9d0897c1dfc9a7570dd482056ff174d2bf3cf1
/twitter/rest-api/lib/python2.7/linecache.py
742c382c3f110230e34c834dc845d977e9603178
[]
no_license
ravneetg/mids-w205-2
15fbd7d7356fa9ff8cf808a6a2cc9ed75114ee4c
796d07ad7ff53ff3350fa8b184b9c3d2be0ff795
refs/heads/master
2020-07-04T11:44:41.459445
2016-12-18T08:34:44
2016-12-18T08:34:44
67,957,203
0
1
null
2016-12-18T08:34:44
2016-09-11T22:15:03
null
UTF-8
Python
false
false
47
py
/home/blue/anaconda2/lib/python2.7/linecache.py
[ "ravneetghuman@ischool.berkeley.edu" ]
ravneetghuman@ischool.berkeley.edu
2b12a582682d85608b392f14ce3177ebc146e1d6
25cf3a270879dc1d14c258be9b09964ae97cc6f3
/Homework6/Homework6.py
b61ae8612042f565cbff8c270edef4e293030ca5
[]
no_license
Zxr1230/cs677
58b048429cf028c51df9e6bbdd913d041ea951f9
f8b232356e99b674205a6001aef7756e99b666be
refs/heads/master
2020-06-19T22:09:06.331194
2019-04-30T01:01:34
2019-04-30T01:01:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,411
py
""" Jimmy Goddard 3/9/19 CS 677 Assignment 6 """ import datetime import os import platform import statistics import matplotlib.pyplot as plt import pandas as pd import seaborn as sns from pandas_datareader import data as web HEADER_LONG = 'Long_MA' HEADER_SHORT = 'Short_MA' HEADER_WEEK = 'Week' HEADER_RETURN = 'Retur...
[ "jimmy.goddard@gmail.com" ]
jimmy.goddard@gmail.com
8c0c4481c0dcb0f0acdf102417132479cee97925
3e8ad0a8c52996d614dfc868f1431d7e71ac85d9
/src/input_data.py
3c9e9b1e5b28e6fcb8e2b35bb834e5e18c5af50a
[]
no_license
seraphium/neural-networks-and-deep-learning
a6ecc825a865fdbc883db72172f0b9d5b49d0e51
230f295026295694c95a06f3fb98c3fc67e2fae2
refs/heads/master
2021-01-23T06:19:49.776857
2017-04-10T16:49:21
2017-04-10T16:49:21
86,352,363
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "viperking@163.com" ]
viperking@163.com
77733aa3c3a5f4b351cd39d4466390c280141c03
818058887063f94360be7aeb55ef51363ec7334b
/FastFoodFast/asgi.py
59dbe97db1d17e43073f86d458d1ec1e60243529
[ "MIT" ]
permissive
Amwata-Albert/Fast-Food
9521092e2eba5469f4e5f3b85bff8ee68b54d4d7
1a6667efb10652852877422616ff80f69c3b066a
refs/heads/master
2023-01-19T15:55:22.377452
2020-11-24T14:26:18
2020-11-24T14:26:18
311,437,920
0
0
NOASSERTION
2020-11-24T14:26:20
2020-11-09T19:04:01
Python
UTF-8
Python
false
false
401
py
""" ASGI config for FastFoodFast project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_...
[ "albertotieno41@mail.com" ]
albertotieno41@mail.com
ac250d7e10667f406ab08f6c594ec3adef79bb13
dba1606d2ea9c76861d01c2251ff45b0d4efec64
/LeetCode/39. 组合总和.py
3a0741cf7ebd3cfa1c1b9361720d978d438e8e42
[]
no_license
Jack00101/coding
c502087f480d50296eb01cdbba96d2ef26960bef
4f71a572c24af78f5e6c2006742614f868ced113
refs/heads/master
2022-03-02T13:52:19.946260
2019-11-01T04:52:48
2019-11-01T04:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
class Solution: def combinationSum(self, candidates, target: int, sort=True): if sort: candidates = sorted(candidates) results = [] for ind, i in enumerate(candidates): if i == target: results.append([i]) if i < target: temp = self.combinationSum(candidates[ind:], target ...
[ "noreply@github.com" ]
Jack00101.noreply@github.com
1217dc9aad892ceabb4e39f38732b3be4c7fcb2f
15f0322573b8b1b1668c248a428fa27d2244ab99
/glug/views.py
41e2cd5d3e88ee2607ebf455b812061ee5d22540
[]
no_license
spoorthis12/my-first-blog
b2465a37c48cbadf36f9ff607e4428e42f499fb7
882ce2702bc3b0691d6d324bc214800157f23abe
refs/heads/master
2021-01-10T03:42:45.123150
2016-03-09T01:12:50
2016-03-09T01:12:50
53,430,401
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from django.shortcuts import render # Create your views here. def post_list(request): return render(request, 'glug/post_list.html', {})
[ "universalgreen1972@gmail.com" ]
universalgreen1972@gmail.com
952babd550cd9afcf85f784233a0982659630df6
fed5cff094e3bb65b7963c26f96420469f6a60ac
/lensing.py
b9163dcb909a4e8cc116c5654ade26d019a7a5a0
[]
no_license
sriniraghunathan/cmb_lensing
fbafbd939123345a77c17a51c3d4edd950b046a2
8a6250a910ea2687d99646d9ce6d242389d9f6eb
refs/heads/master
2023-03-29T05:35:13.225785
2021-03-24T14:16:37
2021-03-24T14:16:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,567
py
# importing relevant modules import numpy as np import scipy as sp from cosmo import CosmoCalc import tools ################################################################################################################################# # defining relevant constants c = 3e8 # speed of light in m/s G = 4.3*10**(-9...
[ "noreply@github.com" ]
sriniraghunathan.noreply@github.com
8b4c3ac988b0f45270e383cbf96bdd84bb4ef0b3
c347d18581177f4a1ed460d57f51906b1c1065e5
/SDK/wxPythonTextfield.py
1fe4c8390e723a13021b31eb8aac76fd00e984c1
[]
no_license
mr-huangjian/Python
da2184f51e03c60dd72e392e8afa9f540a9497ef
7e0a421d922d377270547afbc9029f7627506f2b
refs/heads/master
2021-06-28T09:01:56.487917
2017-09-19T09:57:33
2017-09-19T09:57:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
# coding: utf-8 python2 # created by mr.huangjian@foxmail.com on 2017/7/1. import wx class Textfield(wx.TextCtrl): def __init__(self, superview, style=0): wx.TextCtrl.__init__(self, superview, -1, style=style) def text(self, text): self.SetLabelText(text) def gettext(self): retu...
[ "mr.huangjian@foxmail.com" ]
mr.huangjian@foxmail.com
24ce46c3f2cdf6328f9ad6f2523d90a5c1357fab
a9adcb5efb4492094ecd9e45741b409afca56f53
/democratizing_weather_data/streaming/sample_code/sample_consumer.py
11bae809c233d80495b34da49e9d8ab418dbe20b
[]
no_license
LeoSalemann/democratizing_weather_data
0792a4419a67799f8f5b60585a6ec32aab72c4c6
55d84e8bc3748b0df166d5f2c999bd7906cff1f5
refs/heads/master
2021-05-05T10:03:39.234295
2017-09-19T01:58:41
2017-09-19T01:58:41
104,013,673
0
0
null
2017-09-19T02:05:05
2017-09-19T02:05:05
null
UTF-8
Python
false
false
822
py
import sys import logging import multiprocessing from kafka import KafkaConsumer class Consumer(multiprocessing.Process): def __init__(self, topic_name): self.topic_name = topic_name daemon = True def run(self): consumer = KafkaConsumer(bootstrap_servers='localhost:9092', ...
[ "leo.salemann@me.com" ]
leo.salemann@me.com
8ebd576a5c0651eb84ceff4de6e7daa1b0798574
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python/generated/test/test_com_adobe_granite_repository_hc_impl_authorizable_node_name_health_check_properties.py
3a604357918c8edc66ecdea80b46d7424d41f966
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
1,487
py
# coding: utf-8 """ Adobe Experience Manager OSGI config (AEM) API Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: opensource@shinesolutions.com Generated by: https://openapi-...
[ "michael.bloch@shinesolutions.com" ]
michael.bloch@shinesolutions.com
1a164b7d02c2408775c790313f51483c12f60fa3
0124528676ee3bbaec60df5d6950b408e6da37c8
/Projects/QTPy/adafruit-circuitpython-bundle-7.x-mpy-20220601/examples/pct2075_high_temp_alert_example.py
2ec4e88196a8c47dfe88b6d038fdaac9fc2e1030
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
land-boards/lb-boards
8127658dc537dcfde0bb59a5018ab75c3f0087f6
eeb98cc2003dac1924845d949f6f5bd387376568
refs/heads/master
2023-06-07T15:44:46.110742
2023-06-02T22:53:24
2023-06-02T22:53:24
4,847,305
10
12
null
null
null
null
UTF-8
Python
false
false
591
py
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT import time import board import adafruit_pct2075 i2c = board.I2C() # uses board.SCL and board.SDA pct = adafruit_pct2075.PCT2075(i2c) pct.high_temperature_threshold = 35.5 pct.temperature_hysteresis = 30.0 pct.high_temp_ac...
[ "doug@douglasgilliland.com" ]
doug@douglasgilliland.com
061fe85a1d6cca2865862da0c133cc36a11f4ecb
4f6c5a21840f630eab748fa64f79f3d15e33315a
/upload/1386125709792681985/news/master/master/settings.py
29039ffdeae32373f1ae85b4d7954455d440d93e
[]
no_license
taozi926494/collectplatform
802af97f0fcb0c8f670e616011e7e2db10edda82
fb9bc32a99335340cb4e11f18a6e9d5e1effb17a
refs/heads/master
2023-04-15T00:38:36.869680
2021-04-28T02:35:39
2021-04-28T02:35:39
357,378,396
0
4
null
2021-04-28T02:35:40
2021-04-13T00:36:49
Java
UTF-8
Python
false
false
918
py
# -*- coding: utf-8 -*- BOT_NAME = '{{project_name}}' SPIDER_MODULES = ['{{project_name}}.spiders'] NEWSPIDER_MODULE = '{{project_name}}.spiders' ROBOTSTXT_OBEY = False CONCURRENT_REQUESTS = 1 DOWNLOAD_DELAY = 1 DOWNLOADER_MIDDLEWARES = { # 'master.middlewares.UserAgent': 1, # 'master.middlewares.MasterDownlo...
[ "bestfuqiang@163.com" ]
bestfuqiang@163.com
0785c4045308368283d3ef833fe22fa1dd6852ba
82097740587821af4af9b41ba9ae14638d20eb69
/Flask/flaskproject/models.py
156ead3900d1fc71edca30e0dac340333c6c314e
[]
no_license
dasdasda21/flask
d592c8fa90ea90bdf9adb38b6b0d8b6d8b621967
207e863209f670bc8360084fed2e038db727c10b
refs/heads/master
2020-07-30T12:48:15.417540
2019-10-07T13:12:42
2019-10-07T13:12:42
210,239,723
0
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
from main import models class BaseModel(models.Model): __abstract__ =True id = models.Column(models.Integer,primary_key=True,autoincrement=True) def save(self): db = models.session() db.add(self) db.commit() def delete(self): db = models.session() db.d...
[ "zhangsan.caom" ]
zhangsan.caom
c03a0a16cd18a1dc84fbaa0069aa6edc636399b0
1f6c1b65ac3f71ccc16b46585595406dfbbc1ca1
/shared/clock.py
25626ea5176e1d9b9fc34c3ca7369b6891eb6efa
[]
no_license
luisoibarra/distscrappy
20d236786c7009e2db1db758e91dac62dd49a963
ba2db15543f9811f7985b9d77178019308fb3807
refs/heads/master
2023-05-31T20:08:07.841953
2021-06-22T02:43:41
2021-06-22T02:43:41
375,577,901
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
import time import Pyro4 @Pyro4.expose class ClockMixin: """ Mixin that provides clock time methods """ def initClockTime(self): self._clock_time_diff = 0 def setClockTime(self, t : float): if not hasattr(self, "__clock_time_diff"): self.initClockTime() self._...
[ "lukedalmau@gmail.com" ]
lukedalmau@gmail.com
8277d164b1e7040645a57ce23a1d5194130455d5
92768f2f4c732583d469212c7e1b00a9ab136752
/rplugin/python/floobits/common/handlers/credentials.py
f7adcbf82b941023a6f3f28965a5fa4bff73bd2c
[ "Apache-2.0" ]
permissive
Floobits/floobits-neovim
c02e7ccfcb32c80cd1adece8b1896e3defbe120e
dbfa051e4f097dfa3f46997a2019556a62861258
refs/heads/master
2021-11-22T19:23:22.984948
2021-10-18T05:48:14
2021-10-18T05:48:14
26,030,646
170
11
Apache-2.0
2021-11-03T16:41:50
2014-10-31T19:40:06
Python
UTF-8
Python
false
false
2,387
py
import os import sys import uuid import binascii import webbrowser try: from . import base from .. import api, shared as G, utils from ... import editor from ..exc_fmt import str_e from ..protocols import no_reconnect assert api and G and utils except (ImportError, ValueError): import base ...
[ "bjorn@ambientchill.com" ]
bjorn@ambientchill.com
f879b55baf04f46a20421bff6c616a80bc6116d5
0e4c5acb80ea44bfa33a0afb713c0d4bc3a5c8f7
/xueshu/spiders/xueshu.bak
7437bcaea15ac5f8c894e8b670a53f200f9a237a
[]
no_license
ljjwyn/xueshu
f9ee58602de25244e85f32948020a511c91b4b86
69ccc98b1d4fcef2275a8cef939034f2a3d1e5a8
refs/heads/master
2023-01-31T02:53:25.515136
2020-12-18T05:40:13
2020-12-18T05:40:13
322,499,259
1
0
null
null
null
null
UTF-8
Python
false
false
3,532
bak
#!/usr/bin/env python # -*- coding: utf-8 -*- from scrapy.spiders import CrawlSpider, Rule from scrapy_splash import SplashRequest from scrapy.linkextractors import LinkExtractor from scrapy_splash import SplashTextResponse, SplashJsonResponse, SplashResponse from scrapy.http import HtmlResponse from xueshu.items impo...
[ "15964969802@163.com" ]
15964969802@163.com
893ef9476b1476a4529208a0c1475e6749d452e7
6d1728bf105a7d6481d0bbca2b88f4478e0632d9
/beautifulsoup/start/sibling.py
e0e1b3167becdb2101cb9e5f656394b366a1fa76
[]
no_license
Phantomn/Python
00c63aceb2d4aa0db71fe5e33fe8b5159b41aadd
12808adf4b52c60cfe94befb6daa1e8187224beb
refs/heads/Python
2022-11-09T16:49:49.165884
2019-08-05T07:30:07
2019-08-05T07:30:07
44,149,995
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from urllib import urlopen from bs4 import BeautifulSoup html = urlopen("http://www.pythonscraping.com/pages/page3.html") bsObj = BeautifulSoup(html, "html.parser") for sibling in bsObj.find("table", {"id":"giftList"}).tr.next_siblings: print(sibling)
[ "tmdvyr123@naver.com" ]
tmdvyr123@naver.com
09b3a389b1084df14d4c4a8c2f0930a95a481b25
44a7330dfa4fe321eb432ee57a32328578dec109
/milk/tests/test_pca.py
e543aff8ebdf2506e861097e21e31271cf4bb07d
[ "MIT" ]
permissive
tzuryby/milk
7cb6760fad600e9e0d0c9216dc749db289b596fb
a7159b748414d4d095741978fb994c4affcf6b9b
refs/heads/master
2020-12-29T02:45:33.044864
2011-03-15T20:23:29
2011-03-15T20:25:11
1,485,748
2
0
null
null
null
null
UTF-8
Python
false
false
472
py
import numpy.random import milk.unsupervised.pca import numpy as np def test_pca(): numpy.random.seed(123) X = numpy.random.rand(10,4) X[:,1] += numpy.random.rand(10)**2*X[:,0] X[:,1] += numpy.random.rand(10)**2*X[:,0] X[:,2] += numpy.random.rand(10)**2*X[:,0] Y,V = milk.unsupervised.pca(X) ...
[ "lpc@cmu.edu" ]
lpc@cmu.edu
52e390b76a17c761f1aefd5adfe00b9b3859f38b
c730ce0eeea6d774ac6bf7b8ae28d7201efbaa12
/MovieRaterApi/movierater/urls.py
98444c67e42b240cef788dec464c2ea0739c7263
[]
no_license
Yi-Lai-SJSU/Django-React-project-Movie-rator
4057a81550e34e1f72f62eb18e13542c97f7e969
d9b97c74948f8ccc47b1eb0e924ba1147da34174
refs/heads/master
2020-12-13T10:24:33.137183
2020-01-18T07:00:26
2020-01-18T07:00:26
234,388,385
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
"""movierater URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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...
[ "yugguo@adobe.com" ]
yugguo@adobe.com
dca9033b946ba0da1b82f6962d81894435c4265a
33ca1dab3b0d4e25bdf114e0b873fcb0fdcbc01e
/Input_Output/Using_Pickel_read_write_bin/__init__.py
8b8e57d9d58a5d7c511f17e61f5c12d8fcb6ba9a
[]
no_license
Biddy79/eclipse_python
4f49fd714cbdb09be014e75b74a983e456a94b93
b90c491834d0a584bcab0b99bb8f26d9c0d26669
refs/heads/master
2021-12-08T21:55:44.438923
2021-11-01T14:39:18
2021-11-01T14:39:18
235,864,389
0
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
#import pickle lib import pickle #creating a tuple to write to bin_file computer = ('CPU RAM HARD DRIVE MOTHERBOARD', (('cpu', 'AMD Ryzen 9'), ('ram', 'Corsair 32gb'), ('hard drive', 'Samsung 1td ssd'), ('motherboard', 'ASUS ROG STRIX'))) computer_parts, computer_spec = computer #using pic...
[ "a.beardsley79@gmail.com" ]
a.beardsley79@gmail.com
f8fdb29e897fa128d24ffc589aefca92f2b0bd24
a7b1f827def23135663625426d11b1c57b02fdd9
/2_3_alerts/2_3_step3_alert1.py
3de4e106a245dec60b5ae04c2cc451e6e8abc2ab
[]
no_license
Michael-uniq/selenium_stepik_learn
e6421221b0cfc7d469a0fcc12635cb44369e6d35
5ba6762aaeb7cdf5f2ad43db4660b0eff9b48992
refs/heads/master
2021-06-18T09:39:12.348198
2019-10-05T19:00:52
2019-10-05T19:00:52
212,150,595
0
0
null
2021-06-02T00:30:03
2019-10-01T16:54:53
Python
UTF-8
Python
false
false
887
py
from selenium import webdriver import time from utils import print_answer, calc from selenium.webdriver.common.by import By link = "http://suninjuly.github.io/alert_accept.html" browser = webdriver.Chrome() browser.get(link) try: btn = browser.find_element_by_class_name('btn') btn.click() print_answer(brow...
[ "michael.co@ya.ru" ]
michael.co@ya.ru
62ca945793b8ded662bede34c74e0fa6bba7a0dd
3d7039903da398ae128e43c7d8c9662fda77fbdf
/database/LeetCode/juejin_177.py
66305002a453b443f0d8c1698db9ad711222a8ac
[]
no_license
ChenYongChang1/spider_study
a9aa22e6ed986193bf546bb567712876c7be5e15
fe5fbc1a5562ff19c70351303997d3df3af690db
refs/heads/master
2023-08-05T10:43:11.019178
2021-09-18T01:30:22
2021-09-18T01:30:22
406,727,214
0
0
null
null
null
null
UTF-8
Python
false
false
67,057
py
{"err_no": 0, "err_msg": "success", "data": [{"article_id": "6998707022577270798", "article_info": {"article_id": "6998707022577270798", "user_id": "3175804198200456", "category_id": "6809637767543259144", "tag_ids": [6809640398105870343, 6809641039037464589], "visible_level": 0, "link_url": "", "cover_image": "https:/...
[ "www.1759633997@qq.com" ]
www.1759633997@qq.com
6f71f8c2009acaee5f18bf0ff7b498764b45a894
922d4d17e73120e5075d95385b5d930adedf4ba4
/fileupload.py
1759017fea234674c0e7bea021ffab3e944f2a87
[]
no_license
Animesh66/SeleniumTutorial
31adf60b5ff4d54a49071fcdd12d88f67aa79aeb
fe61fc9fff4d46a6951919d51d81b048451c2e3d
refs/heads/master
2023-05-09T21:43:51.689598
2021-05-28T17:10:51
2021-05-28T17:10:51
369,188,765
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
from selenium import webdriver import time driver = webdriver.Chrome() driver.maximize_window() driver.get("https://testautomationpractice.blogspot.com/") driver.set_page_load_timeout(10) driver.switch_to_frame(0) # switch to fame to identify the form upload_file = driver.find_element_by_id("RESULT_FileUpload-10") #...
[ "er.animesh6@hotmail.com" ]
er.animesh6@hotmail.com
d02b3ee42165fc8a4ec861da700bab61c57b5750
0d448a977b0e30b4d5dac76c8f273efb069e263c
/face_blur/face_bluring.py
0d8da9adf20cad98adfb541936fc19ba2b9ec2f7
[]
no_license
Prakadeeswaran05/Mini-Projects
cccecc5f559e4315b2d81ad83e67b44f9f12e733
984050cea9b8526e8dd38d76f695dca1503ecb3f
refs/heads/master
2023-06-05T13:03:12.131637
2021-06-19T08:58:44
2021-06-19T08:58:44
298,242,042
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
import cv2 face_cascade=cv2.CascadeClassifier('C:\\Users\\kesav\\Downloads\\face_blur\\haarcascade_frontalface_default.xml') cap=cv2.VideoCapture(0) while True: ret,frame=cap.read(0) face_img=frame.copy() face_rects=face_cascade.detectMultiScale(face_img) for (x,y,w,h) in face_rects: ...
[ "prakugenius@gmail.com" ]
prakugenius@gmail.com
c77f8b71d8b80ea561f1eec9ef50aee4ebe3840e
0ff6f65c2da3ddf495b21fb54ae07c1e5c535692
/juegos/Ahorcado.py
c8ba2bad0792f3a9ab25fac2a0b19bc0342dcd1d
[]
no_license
ldoboga/Bot-discord
76721ccd8472af7aa161e2159c11a0424ba120fa
54ed1ff7652a14dbaa90d0a72e9e14b37a63ee59
refs/heads/main
2023-07-14T14:47:55.430149
2021-08-27T01:26:34
2021-08-27T01:26:34
388,254,337
0
0
null
null
null
null
UTF-8
Python
false
false
5,907
py
import random def leer_archivos(): ARCHIVOS = ('bin\\Cuentos.txt', 'La araña negra - tomo 1.txt', 'Las 1000 Noches y 1 Noche') with open(ARCHIVOS[0], 'r') as f: lista = [] data = '' for line in f: data = line.rstrip('\n').lower().split() if data == []:continue ...
[ "bogadofedericoezequiel@gmail.com" ]
bogadofedericoezequiel@gmail.com
c062491db89b6d205ed3010f8b3bee07231d1981
9c00aca19e4faea5067769c06f4430b41b8ad00d
/assignment1/cs231n/classifiers/linear_svm.py
e33b1903347f6ba255a8bf29f0f0b4e1e9fb2e41
[]
no_license
amir-raffiee/cs-231n
5a2e40ba9ea31cc76e352fe6e70c0e031f9555f6
3a80042ddfa5e05e5ba168841d77cf7a1fe29d1c
refs/heads/master
2021-09-01T16:53:52.507865
2017-12-28T01:04:52
2017-12-28T01:04:52
115,569,727
1
0
null
null
null
null
UTF-8
Python
false
false
4,390
py
import numpy as np from random import shuffle from past.builtins import xrange def svm_loss_naive(W, X, y, reg): """ Structured SVM loss function, naive implementation (with loops). Inputs have dimension D, there are C classes, and we operate on minibatches of N examples. Inputs: - W: A numpy array of sh...
[ "noreply@github.com" ]
amir-raffiee.noreply@github.com
d54b95cb3abb42444dba3471fb97d13b45c2bc5f
fe628361e4b4b6acaf693cc9bdde3d25c1926dec
/ers_backend/dataset_manager/models.py
2e6484d585ae2d3de686bf9de526691ec7c25359
[ "MIT" ]
permissive
dumoulinj/ers
bcd0de8df8f63e12f7659d5ea1efe32e272e8d66
ce38ba8acf8fed8dbf27fb85fa6c024540763286
refs/heads/master
2020-12-26T03:10:30.550545
2016-07-26T07:49:56
2016-07-26T07:49:56
35,938,084
2
1
null
null
null
null
UTF-8
Python
false
false
29,490
py
import os import logging import collections import shutil from PIL import Image, ImageStat from converter.ffmpeg import FFMpeg import cv2 from cv2 import cv from django.db import models from swampdragon.models import SelfPublishModel from django_enumfield import enum from jsonfield.fields import JSONField from django.c...
[ "d.jo3l@live.com" ]
d.jo3l@live.com
cb70d5fe1db0f0732fbacf5597c7d99fed39b7c6
3d8afceef40458704efbfd10565ce3e2f6cd0662
/objects.py
27ead85035a6fa530b51cc97dc603bcfa4b1eb11
[]
no_license
PyKonstantine/Cyber-Eng
02d9c5e001f0d0e935627c8a7dca643198cd2d82
4c78854998641e7d77382d6e35e86942ba7d983b
refs/heads/master
2023-03-10T08:17:26.621204
2021-01-31T19:53:28
2021-01-31T19:53:28
334,460,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
import pygame as pg from settings import HEIGHT COLOR_INACTIVE = pg.Color('lightskyblue3') COLOR_ACTIVE = pg.Color('dodgerblue2') class LiteControlButton: def __init__(self, x, y, w, h): self.rect = pg.Rect(x, y, w, h) self.R = 0 self.G = 255 self.B = 0 self.button_y = 20...
[ "chai.ne.voron1991@gmail.com" ]
chai.ne.voron1991@gmail.com
b5876dc9d96aa0353a010e6ab41149777db2839f
826d6d3a2f691046bc65d25d00a23d1b4444c4d5
/tecpython/lib/python3.7/_dummy_thread.py
6b010bea891f9bf63be652923541c8da3127db17
[]
no_license
oscargarciahernandez/QuesiQuieroOquesiTeqno
e3391d56329d84d52ad4a61270dab8bef34db15c
2f7024f08a6de6a84d0fb5f40832df70aee48c6f
refs/heads/master
2023-01-19T22:43:44.789533
2020-11-23T13:07:20
2020-11-23T13:07:20
285,193,506
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
/home/ai5/anaconda3/lib/python3.7/_dummy_thread.py
[ "proyectoroseo@gmail.com" ]
proyectoroseo@gmail.com
531d55b58e3c9467b232a7cc8f8185b0e9295939
08b3c2cb6cb9df8a8779e82eb9faef0df7e137ab
/src/dpg-yt-dl.py
18601796ccbcaa9709a24c98e43d7357d6361dc4
[]
no_license
RNubla/dearpygui-ytdl
0e9332552c46acda4605faf4c67ea635a373dcaf
1acbee275d56279337576353e98eb20acec05f23
refs/heads/main
2023-06-19T20:36:39.532886
2021-07-14T18:47:10
2021-07-14T18:47:10
385,402,833
0
0
null
null
null
null
UTF-8
Python
false
false
9,311
py
from knownpaths import FOLDERID import dearpygui.dearpygui as dpg import re import pafy from moviepy.editor import * import os from my_mvLogger import myMvLogger # from knownpaths import folderid import knownpaths as kp from screeninfo import get_monitors # create viewport takes in config options too! primary_window =...
[ "rnubla@gmail.com" ]
rnubla@gmail.com
76d1807da6e30de90b7fc8d7ae5c3f2be4b808a3
c10f20abec372f81dbd6468ead208543f60940f1
/learning/20.BayesianNetwork/20.1.Iris_GaussianNB.py
8cd96f72d7add1efc07bd0c634a76cf4b1150c0f
[]
no_license
alenzhd/meachineLearning
64876e7a6c0b8b39a63a9eb586d306a3489b4447
1b66ce2f73b226548f07e45c8537b8286635a048
refs/heads/master
2021-08-24T10:55:52.056439
2017-12-09T10:26:37
2017-12-09T10:26:37
112,688,163
1
0
null
null
null
null
UTF-8
Python
false
false
2,854
py
#!/usr/bin/python # -*- coding:utf-8 -*- import numpy as np import pandas as pd import matplotlib.pyplot as plt import matplotlib as mpl from sklearn.preprocessing import StandardScaler, MinMaxScaler, PolynomialFeatures from sklearn.naive_bayes import GaussianNB, MultinomialNB from sklearn.pipeline import Pipeline fro...
[ "zhanghd@asiainfo-mixdata.com" ]
zhanghd@asiainfo-mixdata.com
fa3f7ccbf4b282e0ed863b3a8fc5815164a62dd5
48bba3541896587cd96112ff4a814d5d8ec6414c
/codes/infer_video1.py
e01911f5f5ff92f0c6a5d5b8471da8590f406570
[ "BSD-2-Clause" ]
permissive
Bala93/Digital-pathology
f056ebb42c7592fdca400ee0e832fb5225b91085
6be5f8a75d9ace9035e915b02244cf97af25ec96
refs/heads/master
2021-09-19T10:23:54.459477
2018-07-26T18:18:45
2018-07-26T18:18:45
102,435,574
2
0
null
null
null
null
UTF-8
Python
false
false
78
py
/media/htic/NewVolume1/murali/Object_detection/models/research/infer_video1.py
[ "balamuralim.1993@gmail.com" ]
balamuralim.1993@gmail.com
eebdc0052426934db29e5ef417df31c842b4617d
1d3450789ee37cceaacddf1cce7508277fd8c240
/testcli.py
abba3396419e79a83b015cb7665c14970d4e89f5
[]
no_license
Grissess/nom
cf26ebc3b9c2b891ed021be6206571e78235b6c6
affbd99fc6dad411f5442de72299689677670132
refs/heads/master
2020-04-08T13:18:12.096791
2015-01-26T10:33:04
2015-01-26T10:33:04
23,888,844
0
0
null
2014-09-11T00:42:27
2014-09-10T19:27:10
Python
UTF-8
Python
false
false
122
py
import service srv=service.Service(('', 12075)) srv.start() cli=srv.Connect(('127.0.0.1', 12074)) rx=srv.Resolve(cli, 'X')
[ "grissess@nexusg.org" ]
grissess@nexusg.org
c63fff8d99a3dc4b7fc547ac13a5fde5ce61b21f
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Fitbit/Social/CreateInvite.py
ad0fa7c6517b0cc3e0e04b248b8071b8d35346b8
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
5,095
py
# -*- coding: utf-8 -*- ############################################################################### # # CreateInvite # Invites a user to become friends with authorized user. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you m...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
d6d93d1c2677289dd9d3a9dc675e7e0a2d8b2862
6d49e92a553de6bcf07a308e15985ad600fcc367
/hyperparam_optim.py
813616bd8d25969c1b46f9659ad9fee4303fedaa
[]
no_license
nurahmadi/Audio-Classification-Using-Deep-Learning
3e17462a7b7dc8e1e4e2165f9d6f2d27d1aa05dd
ad2dc8db8f00b597659c5d39fc1cfe55b79cadab
refs/heads/master
2022-08-20T09:34:02.802485
2020-05-25T21:25:55
2020-05-25T21:25:55
266,879,301
0
0
null
null
null
null
UTF-8
Python
false
false
6,744
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 18 21:46:40 2020 @author: na5815 """ import numpy as np import os import tensorflow as tf from tensorflow.keras.models import Sequential from tensorflow.keras.layers import LSTM, Dropout, Dense from tensorflow.keras.optimizers import RMSprop import h5py impor...
[ "noreply@github.com" ]
nurahmadi.noreply@github.com