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
ae562bd8e340a7cb6fbd929fb318d10161565a0f
bbc2c112c910ff670842f3e911c816bace918a99
/BookFormProject/BookFormProject/settings.py
0b20d6039b3745b618837e33b7e0f8db89e7c831
[]
no_license
dhanyamc97/django_Projects
d73367ce49fdc47205b13b9d85ed4e743f93f7f4
78211043bdca92e2f47c25b8a8675b92732d2ae7
refs/heads/main
2023-01-09T20:51:09.066316
2020-11-08T17:16:30
2020-11-08T17:16:30
311,112,068
0
0
null
null
null
null
UTF-8
Python
false
false
3,165
py
""" Django settings for BookFormProject project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from...
[ "dhanyamc97@gmail.com" ]
dhanyamc97@gmail.com
03aad395ebb9bef895b83c7e331bb6ec2a9c6a54
7393f7e49aa65e4aa8dd0efb1d4fa82aa706fa0e
/environment.py
766826e4095e1a6462d779d868b0ad6fb0f62e80
[]
no_license
hrabit64/Maze_DQN_reinforce_learning
0759086d679981a5c8560458657465cf83146d00
b816916a9fbb8403802f8111c2574c2f8bb84f87
refs/heads/master
2023-06-24T05:42:18.342534
2021-07-19T08:04:44
2021-07-19T08:04:44
387,384,113
0
0
null
null
null
null
UTF-8
Python
false
false
6,947
py
import tkinter as tk import numpy as np import time import pyautogui from PIL import Image class Env(tk.Tk): def __init__(self, render_speed=0,width = 10,height = 10): super(Env, self).__init__() self.render_speed = render_speed self.epi = 0 self.steps = 1 self.width = wid...
[ "hzser123@gmail.com" ]
hzser123@gmail.com
28d939d002a35bc02c16215e3fe153a32445d91b
8726a58628e1d6c8e6e8cba0bb67de80bad72a51
/wizard/create_data_template.py
5cfc1efe6cda7e3d4c77f4974c579767e7e5f7b0
[]
no_license
cgsoftware/jasper_reports
54a612a44cd94963794b16ab4266026b233b8ba4
207bdea1b8738dff88260f4ea76da8b627e05375
refs/heads/master
2021-01-10T19:33:22.921656
2011-09-06T15:10:39
2011-09-06T15:10:39
null
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
5,766
py
# encoding: iso-8859-15 from xml.dom.minidom import getDOMImplementation import wizard import pooler import base64 import osv import string from tools.translate import _ view_form_start = """<?xml version="1.0"?> <form string="Create Data Template"> <group colspan="2"> <field name="model"/> <field name="depth...
[ "g.dalo@cgsoftware.it" ]
g.dalo@cgsoftware.it
4ab2d1b2588ed24e75a8fd18060032ba278250ad
bd792a49f21d901f14165993d45e114e4df60340
/venv/bin/futurize
2a1ba3df470dca8741f0b0ce6790bd1dcee24bdc
[]
no_license
Cynthrial/Serial-read
82d0883ad4de01fe48e58523d2d0f4bcf97b3835
eb706094b95b09cfc8870bff0f6385d04d807996
refs/heads/master
2020-04-13T13:37:32.380790
2018-12-27T02:35:04
2018-12-27T02:35:04
163,236,705
0
1
null
null
null
null
UTF-8
Python
false
false
417
#!/root/PycharmProjects/Serial_read/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'future==0.17.1','console_scripts','futurize' __requires__ = 'future==0.17.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
72e353a6734d1e9117e2b2a4dba5f5cb7d955d5b
73081ee1fdf0dad38ae98afa8bb74a31a594a436
/observer_hub/video.py
d4b03715223f5caf9865acd53326bfccaf31daf6
[ "Apache-2.0" ]
permissive
carrier-io/observer-hub
8b5328e9a3795e020589bc845247b95201a5212e
a79daf743d1279da29e8fb0688895ad63d0f10f3
refs/heads/master
2023-07-19T00:36:21.061184
2021-09-09T15:19:25
2021-09-09T15:19:25
285,288,482
0
0
Apache-2.0
2021-02-19T08:33:37
2020-08-05T12:57:43
Python
UTF-8
Python
false
false
1,221
py
import json import os import subprocess import tempfile from time import time from requests import get from observer_hub.constants import VIDEO_PATH from observer_hub.util import logger def start_video_recording(video_host): start_time = time() start_recording(video_host) current_time = time() - start_t...
[ "semen4ik20@gmail.com" ]
semen4ik20@gmail.com
60b566ffa37d4b8a664568c5090b7a037600e88b
32c31618ed94d78a3654ddd267632691784663c5
/fedlab_benchmarks/fedavg/scale/mnist-cnn/mnist_partition.py
a1510a6de907316bb55d38c8f49201faea366612
[ "Apache-2.0" ]
permissive
roy-ch/FedLab-benchmarks
2a1f5833b8a519dda76e5f75f9214f02bd556d7a
725f6453c114a12741b6e7277e96788949576ea6
refs/heads/master
2023-08-25T18:42:52.165193
2021-10-11T08:31:45
2021-10-11T08:31:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from fedlab.utils.functional import save_dict from fedlab.utils.dataset.slicing import noniid_slicing, random_slicing import torchvision root = '../../../../datasets/data/mnist/' trainset = torchvision.datasets.MNIST(root=root, train=True, download=True) data_indices = noniid_slicing(trainset, num_clients=100, num_s...
[ "928255708@qq.com" ]
928255708@qq.com
289cae1e6468e6b0e277c0821edbf38c7de80a92
5fa9678b4c37847352ae43af107653ca39d4e2d5
/chodzenie.py
1ccb7675db14370dd8c31d0c6c8d9db75410a33d
[]
no_license
wunderbarDeveloper/Gierka
68e39671cae80261c36ba922bb30ac91cef303de
dbd711566d165300b84d4036478ee0aeb9e4afab
refs/heads/master
2020-04-29T18:26:07.418685
2019-06-16T20:05:10
2019-06-16T20:05:10
176,324,049
0
0
null
null
null
null
UTF-8
Python
false
false
3,231
py
import os import pygame pygame.init() SIZE = WIDTH, HEIGHT = 600, 600 BACKGROUND_COLOR = pygame.Color('blue') FPS = 60 screen = pygame.display.set_mode(SIZE) clock = pygame.time.Clock() def load_images(path): images = [] for file_name in os.listdir(path): image = pygame.image.load(path + os.sep + fi...
[ "Lukasso2015@gmail.com" ]
Lukasso2015@gmail.com
7b80af63ba4e31916ceecbe57cc05ff3750f51ae
85bc90e520580d2e4c186f910fc3e0396ee934f7
/schedule/models.py
d9b47093d0a456ece85a67412d2b60bfd0a392a7
[]
no_license
ulchm/picks_server
c6abb32220ee18bb1d72398680139b354a092042
1f87296538d69b51f2bef75f009e35363d04a5b8
refs/heads/master
2021-01-10T02:02:12.993034
2016-01-03T14:31:47
2016-01-03T14:31:47
48,917,543
0
0
null
null
null
null
UTF-8
Python
false
false
3,367
py
from django.db import models class League(models.Model): name = models.CharField(max_length=255) short_name = models.CharField(max_length=10) is_active=models.BooleanField(default=True) def __unicode__(self): return self.name class Season(models.Model): name = models.CharField(max_lengt...
[ "mike@norcode.com" ]
mike@norcode.com
dd8a77fd38ee84af2b84e6bcf6ee5c31652a8548
1aec7f1ff9b25bb5e0065bdef34b6773acb1c15a
/PMS/asgi.py
dc743121b9e31e71ee9e7fe7925752145430aefe
[]
no_license
macjade/pms
35b53cbdcd7e809fad334675ff3b6a8d52108b65
7dd46a60d53209ba0ecf73f3b5d3231beaa8639e
refs/heads/master
2023-07-18T07:51:41.633869
2021-08-07T19:23:55
2021-08-07T19:23:55
393,447,105
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" ASGI config for PMS 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "jamesdaniel00700@gmail.com" ]
jamesdaniel00700@gmail.com
ed6631bc58999a9ae4ed3f03dec516046371b6bd
1dbe05265fd89f5983eafd74681cb4d80540b02d
/Gps_poller.py
6ee68900b12b9ec47bc77131b513a636a47adec7
[]
no_license
GwilymNewton/MoonPi
2d15576a2ee4b50d25a546f68064185ffe86ddb7
c038829a63384e707b5ca98d94cc6d232fd46b8e
refs/heads/master
2020-04-11T07:53:30.543672
2015-03-06T20:36:17
2015-03-06T20:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
#! /usr/bin/python # Author: Gwilym Newton from gps import ** import time import threading class GpsPoller(threading.Thread): gpsd = None #seting the global variable polling_time = 5 def __init__(self): threading.Thread.__init__(self) global gpsd #bring it in scope gpsd = gps(mode=WATCH_ENABLE) #...
[ "gwilym.newton@dur.ac.uk" ]
gwilym.newton@dur.ac.uk
0f79b5f6017b14b689d663720b17fdf8884f29e5
a43d1f047c40f29b9fd52ec7ee9f81bd6a6846e3
/10 Fancy Quotes.py
5d5295a9bcfbdb011c3120c1057fbd1d31ae1a84
[]
no_license
RakhshandaMujib/CodeChef-Problems
00f6d19e7622fe655d783087cb21bbd327763e7b
abe8fac0fc76eeea8a95bc63eb34f6b6ce306704
refs/heads/master
2021-06-23T03:49:36.085943
2021-06-14T10:42:06
2021-06-14T10:42:06
201,504,672
2
1
null
null
null
null
UTF-8
Python
false
false
179
py
T = int(input()) for _ in range(T): s = input() if s == s.lower() or s == ' ': if 'not' in list(s.split()): print('Real Fancy') else: print('regularly fancy')
[ "noreply@github.com" ]
RakhshandaMujib.noreply@github.com
958e6cc962347253a2d2217e8fb7795f660d2001
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Mkt3yqQMsw9e3Jmjq_4.py
02def150323524f87c2640e1f03e1201eb361dcd
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
3,137
py
""" Write a function which, given a permutation of `[0, 1, ..., n-1]` ( `n>0`) represented by a shuffled list, returns the permutation in _disjoint cycle form_ as a set of tuples. A **permutation** is a particular (re)ordering of a set of objects. For example, `[1,3,0,4]` is a permutation on the 4 objects `[0,1,2,3...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b2f8b6a8be09dcc36a04d64d3071afeccb3142cd
e683d9ec39667ee5a935551ec086ed5afd48f962
/mapper.py
90d9f7e375808e3fae8bd7cfe526e0a192905552
[ "MIT" ]
permissive
tompollard/dorian
08b3890acde74dfa226da8cea9a4870265cd12b4
e9b7276c8a59ba596278a5379f69dc8ce027f3bc
refs/heads/master
2020-12-24T14:37:05.419666
2015-03-24T19:09:50
2015-03-24T19:09:50
32,338,882
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
#!/usr/bin/env python import sys import re def mapper(stream): pattern = re.compile('[a-zA-Z][a-zA-Z0-9]*') for line in stream: for word in pattern.findall(line): print word.lower() + '\t' + '1' mapper(sys.stdin)
[ "tom.pollard.11@ucl.ac.uk" ]
tom.pollard.11@ucl.ac.uk
9c151b3a6ea5ad2faf547932fcbb58f8c96ed5ea
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Control/GaudiSequencer/share/test_athretrysequencer.py
019c631baffe73d52c8ae1a6ebcba84383c65e5e
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
2,634
py
############################################################### # # Job options file # #============================================================== import AthenaCommon.Constants as Lvl from AthenaCommon.AppMgr import theApp from AthenaCommon.AppMgr import ServiceMgr as svcMgr # get a handle on the job main sequenc...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
25d2fda834a74a7a0bfd09c7a9cb27683426f5a3
898fd947dad817d2d70d2390108b9a8d9fcac818
/api/bls_data.py
ded1aee2b5a9e925f98b4ac6073bce7f32278775
[]
no_license
N-ickMorris/Stock-Market-Portfolio
8860085a32e14b43107118309b7c061c449508c5
20f804845eb7608b40ae26326b6edc1fcfc4811f
refs/heads/master
2020-04-06T10:38:20.532899
2019-08-14T02:38:47
2019-08-14T02:38:47
157,386,687
0
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
# This file is a simple wrapper to execute code provided entirely by Brian Dew # the original code is here: https://github.com/bdecon/econ_data/blob/master/APIs/BLS.ipynb # data management modules import pandas as pd import requests import json # a function for collecting unemployement data from the Bureau of...
[ "noreply@github.com" ]
N-ickMorris.noreply@github.com
147317683cc08fca306d68aa4d573fceacbb5a7b
f51c0d7c19936997076fb94c6b39b6dfbc2c7578
/basic_states/gesture_states/src/gesture_states/search_wave_sm.py
7c1be08aac6619c6e5c3c87e80716f31f5a66e7b
[]
no_license
changlongzj/robocup2014
16dd0bf82adc87bd3d64df443cbab8ad839505c0
505f84b60fa685619cb711a778c2514fe440feec
refs/heads/master
2021-01-18T08:38:39.329312
2014-06-06T14:44:37
2014-06-06T14:44:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,116
py
#! /usr/bin/env python """ Created on 28/05/14 @author: Chang Long Zhu Jin @mail: changlongzj@gmail.com """ import rospy import smach import tf import tf.transformations as TT from std_msgs.msg import Header from geometry_msgs.msg import PoseStamped, Pose, PointStamped, Point, Quaternion from util_states.topic_reader...
[ "sam.pfeiffer@pal-robotics.com" ]
sam.pfeiffer@pal-robotics.com
5606b5c260655962cf20f5832309e6fa1fba193e
077beb02d73045eb97261a1c5e7021bfe709e55c
/tests/new_item/test_invalid_new_item_class.py
0412c3d225cd16df9a5cc57f7d49be2a1a918cd8
[ "MIT" ]
permissive
zcutlip/pyonepassword
a91d8491d807c2cede2c483a66872b7913ad3aac
3ced5acf3667f1af73cad26ae0ef31e8c4b19585
refs/heads/main
2023-09-04T03:16:49.170698
2023-06-26T19:51:32
2023-06-26T19:51:32
201,505,055
48
13
MIT
2023-09-05T01:44:18
2019-08-09T16:29:56
Python
UTF-8
Python
false
false
619
py
import pytest from pyonepassword.api.exceptions import OPInvalidItemException from pyonepassword.op_items._new_item import OPNewItemMixin class OPInvalidLoginItemTemplate(OPNewItemMixin): def __init__(self, title: str, fields=[], sections=[], extra_data={}): super().__init__(title, fields, sections, extr...
[ "uid000@gmail.com" ]
uid000@gmail.com
9650486d3c6c5ba56d45045f7903fdcfc4194666
caaf7723580684886559dedba9a0cfa19036243d
/led_stepper_scan.py
cc1a7797598b5c6cf966e7d924197614e5a642c4
[]
no_license
mike-fang/led_micro
27214b5d9e67abd3dbc85c2962be13bb82c83723
c08105b1cd84836fed2dea11074e1d47d13f099a
refs/heads/master
2022-11-28T10:46:09.647242
2020-08-02T19:44:22
2020-08-02T19:44:22
275,946,959
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
from capture_msi import init_rb from stepper_control import Stepper from elp_usb_cam import ELP_Camera import numpy as np import time rb = init_rb() led_ch = { 'g' : 1, 'b' : 2, 'w' : 5, 'r' : 6, 'o' : 7 } state = np.ones(8) rb.set_state(state)
[ "1michaelfang@gmail.com" ]
1michaelfang@gmail.com
aebf3cbd105f56502484732cbb959833a049352b
6bce631b869a8717eed29eae186688a7fdb7f5c8
/venv/Lib/site-packages/test/test_stock_price.py
4ce7f9435eb697392c8e98c7711ab22e0976e446
[]
no_license
singhd3101/CS5100-Stock-Market-Prediction
6d43bd39633dd80bb1141dc550302874a5bc0939
2804a6270a05155e168d0f2518bcd97f1c9bcb3e
refs/heads/master
2020-11-26T03:56:02.613630
2019-12-19T02:22:13
2019-12-19T02:22:13
228,958,401
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
# coding: utf-8 """ Intrinio API Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API ...
[ "singh3101div@gmail.com" ]
singh3101div@gmail.com
ab7703e60847420b5edf20bb002a401ece929af8
1db25f324f7b247724a0ec9348cb4f0bd250f2ed
/draw_img.py
e1c8675603a77812b39dc7b726367a9c944a4b5f
[ "MIT" ]
permissive
Animmus/GGanalysis
135a0381e35437f3f6fb0be2b7330ad35a7668b1
68fa70d56e3d5247098c2248b193ff78a9071746
refs/heads/main
2023-07-05T07:56:53.937318
2021-08-21T14:58:04
2021-08-21T14:58:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,831
py
from GGanalysislib.UpItem.Up5starCharacter import Up5starCharacter import GGanalysislib import matplotlib.cm as cm import numpy as np # matplot colormap https://matplotlib.org/stable/tutorials/colors/colormaps.html img_dpi = 300 save_img = 1 show_img = 0 en_switch = 0 a = GGanalysislib.DrawTransCDF() text_model = "...
[ "onebst@foxmail.com" ]
onebst@foxmail.com
860b6bc003f95d019e3d704ddab6810b18da8cad
e04acd829e46389392daccc11cbee68255f9af5e
/practice/ex40.py
9e4e6e35e6be7b0ea83c5979fc2dff13fd69009c
[]
no_license
mahaocheng/pythonhardway
9b210c1870e3a67e8ab246b6e6dcb744c66a0444
f61735ba67b10e54cfc460bb7eb2a88e66001912
refs/heads/master
2021-01-11T17:59:05.230962
2017-04-11T10:21:27
2017-04-11T10:21:27
79,890,725
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
class Song(object): def __init__(self, lyrics): self.lyrics = lyrics def sing_me_a_song(self): for ma in self.lyrics: print ma happy_bday = Song(["Happy birthday to you", "I don't want to get sued", "So i'll stop right there"]) bulls_on_parade = Song(["They rally around the fa...
[ "mahaocheng1985@126.com" ]
mahaocheng1985@126.com
ce1bfba60b3901fe4e19a9f0980780963272f3b5
893c0b6d790ac90467528849e303978d21b58590
/box/migrations/0002_remove_feedback_level.py
96f19f5a1b8a386da20eb20498247de771dbb119
[]
no_license
thevyom1/Human-Resource-Management-software
553e0a89b507407bdd2636d939b2857e41d17c35
4b634fa6b59f2f1de186d7b1d90de03feed452ea
refs/heads/master
2021-01-17T18:06:41.004474
2016-07-04T07:19:43
2016-07-04T07:19:43
62,538,692
1
0
null
null
null
null
UTF-8
Python
false
false
378
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-06-28 17:26 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('box', '0001_initial'), ] operations = [ migrations.RemoveField( model_na...
[ "aggarwalvyom@gmail.com" ]
aggarwalvyom@gmail.com
5f4e30912f841b906361f0e772695f3f6d5b2393
393a2545700bd2d217dc2fd85a10d1490cfd36dd
/LeetCode/find_min_in_rotated_sorted_array_2.py
b1069020d04be9657e02caf8ad439134cea8b1d7
[]
no_license
Jfeng3/careercup
3b12d0c2f5b1b7ef317c32cf38760dad90508995
3087e67b8d44ebdca68b6face7c7b6b991f45d70
refs/heads/master
2020-05-15T12:03:43.867295
2015-01-27T20:55:58
2015-01-27T20:55:58
29,100,566
0
1
null
null
null
null
UTF-8
Python
false
false
884
py
class Solution: # @param num, a list of integer # @return an integer def findMin(self, num): return self.findMin_re(num,0,len(num)-1) def findMin_re(self,num,start,end): if start == end: return num[start] if start+1 == end: if num[start]<=num[end]...
[ "jfeng1115@gmail.com" ]
jfeng1115@gmail.com
aeec4d590db8b63bc37b31a37eb3508e70cfbbd7
6de609b27ba697e01d96475ceebd781f7e007026
/real_vDjBook/bin/pilfile.py
aa7877828caa081050982eaf5129dda1575303d9
[]
no_license
raksuns/python_django
e284df049d86574bbf91c3894a61acc550101b9e
22ce23263f950159c6cf0987c4321c40859f480d
refs/heads/master
2021-01-12T11:27:40.528274
2016-11-28T10:57:25
2016-11-28T10:57:25
72,931,594
0
0
null
null
null
null
UTF-8
Python
false
false
2,689
py
#!/home/shkim/pyDjango/vDjBook/bin/python # # The Python Imaging Library. # $Id$ # # a utility to identify image files # # this script identifies image files, extracting size and # pixel mode information for known file formats. Note that # you don't need the PIL C extension to use this module. # # History: # 0.0 1995-...
[ "raksuns@gmail.com" ]
raksuns@gmail.com
d9ace0f42c9f2412ddfb11101c3b003020c12154
60d6b8501d0be546437b26a6ee1f9fab97ec3897
/platypush/plugins/bluetooth/_model/_classes/_device/__init__.py
3e568b84dc311d22699142a42b7c2ca993e4c511
[ "MIT" ]
permissive
BlackLight/platypush
68284a85b2f9eef303d26b04530f075927b5834a
446bc2f67493d3554c5422242ff91d5b5c76d78a
refs/heads/master
2023-08-31T21:01:53.519960
2023-08-29T22:05:38
2023-08-29T22:05:38
109,421,017
265
25
MIT
2023-09-01T23:15:49
2017-11-03T16:56:24
Python
UTF-8
Python
false
false
138
py
from ._major import MajorDeviceClass from ._minor import MinorDeviceClass __all__ = [ "MajorDeviceClass", "MinorDeviceClass", ]
[ "fabio@manganiello.tech" ]
fabio@manganiello.tech
cdfb76942b472660a93bac1e3dc180069042129d
2dc7cee4cde492d6a7bbe253e95a7b9e9601cc59
/config.py
2fb86f6e715e6622bdd67b4132c7c8812a46e1a4
[]
no_license
qylshy/myproject
5a7db09553b6e4d4fa21cdb08afc4ee38b6fdefb
6c0f4f6b5d98df8e192f64e2390f934ced9ffacb
refs/heads/master
2020-05-28T11:08:54.043512
2019-05-28T07:46:08
2019-05-28T07:46:08
188,979,787
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess' SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \ 'sqlite:///' + os.path.join(basedir, 'app.db') SQLALCHEMY_TRA...
[ "qiuyunlong@bytedance.com" ]
qiuyunlong@bytedance.com
aa5ce4f7642dc7712a7bdca6f0c2ed9b99d4fdac
d2a9ff16cdbcc97a65ae01cdcd79be4d560ef7c9
/homework5/db.py
7d644cfc342b43a270440041a3cc25410afcffe5
[]
no_license
humantom88/geekbrains-data-scraping
af3d7231f83ceb86992f01956b9d2184aa560b28
b02d68788be8a4d500b5433ec6a89f5583864061
refs/heads/master
2022-11-06T10:14:25.515797
2020-06-28T14:08:54
2020-06-28T14:08:54
268,997,676
0
1
null
null
null
null
UTF-8
Python
false
false
876
py
from pymongo import MongoClient, errors from pprint import pprint import zlib client = MongoClient('localhost', 27017) db = client['mails_db'] mails_db = db.mails db2 = client['goods_db'] goods_db = db2.goods def make_hash(item): return zlib.adler32(bytes(repr(item), 'utf-8')) def save_mails_to_db(mails_list)...
[ "humantom88@gmail.com" ]
humantom88@gmail.com
440b99869395c2d799afc7da86ab92b42d80e041
42b2533118529ef6050676c7b2832390d0051dba
/kafka_example.py
cbdc29c9ce68776e5bf1de66127fed18b7f50ac2
[]
no_license
kartikeya-calsoft/mqtt_liota_kafka
1baf5e95a0684d8a64ab1a80eeb56d5d3d060afe
041b1e589376af50fa05d3e9506afbd7a8b8f3f9
refs/heads/master
2021-05-07T22:51:33.994261
2017-10-18T06:28:01
2017-10-18T06:28:01
107,366,636
0
0
null
null
null
null
UTF-8
Python
false
false
3,318
py
import Queue import logging import pint import string from liota.dccs.dcc import RegistrationFailure from liota.device_comms.mqtt_device_comms import MqttDeviceComms from liota.entities.edge_systems.dk300_edge_system import Dk300EdgeSystem from liota.entities.metrics.metric import Metric from liota.lib.utilities.utili...
[ "Kartikeya.Bhatnagar@calsoftinc.com" ]
Kartikeya.Bhatnagar@calsoftinc.com
79477d7ab3de33f495c52b4c124955dd2490a742
5b6ff2aaad93717f68ec9babbee59234536cb6a4
/AddField.py
621a27f3ab062cceb94485888e8db269cb33ec7e
[]
no_license
byrash/py
46db32a29a2fffe1f2c854fd09b3451ee6b5b98d
8d532585b015d6304dcca3ccda6d82c18f2f57ac
refs/heads/master
2021-03-22T05:20:55.517051
2017-10-25T05:41:25
2017-10-25T05:41:25
107,758,596
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Oct 14 13:12:34 2017 @author: Shivaji """ import os import glob import pandas def addField(indir="/Users/Shivaji/tmp/extracted"): os.chdir(indir) fileList=glob.glob("*") for fileName in fileList: df = pandas.read_csv(fileName, sep=...
[ "shivaji.byrapaneni@gmail.com" ]
shivaji.byrapaneni@gmail.com
2c8f96dfd60e771a4512c4b9b459a21ff197f9ae
e04c3af194afacf7e454eb63a1f917c0df46698d
/MAST/test/workflow_test/workflow_setup.py
4fecd61563ecda63785f435c50709a593de50be3
[ "MIT" ]
permissive
kcantosh/MAST
050716de2580fe53cf241b0d281a84f13175b542
4138b87e5a1038eb65023232f80907333d3196f2
refs/heads/dev
2021-01-20T16:51:22.759949
2017-01-31T16:40:45
2017-01-31T16:40:45
82,833,665
0
1
null
2017-02-22T17:34:13
2017-02-22T17:34:13
null
UTF-8
Python
false
false
4,053
py
############################################################## # This code is part of the MAterials Simulation Toolkit (MAST) # # Maintainer: Tam Mayeshiba # Last updated: 2016-02-08 ############################################################## ############################################################## # Requirem...
[ "mayeshiba@wisc.edu" ]
mayeshiba@wisc.edu
389ce0bd3e07869ffa7d5d82fc97f0e6114b317e
1740075fca5d99eee47d8ab10e918be07f544d55
/catalog/migrations/0002_auto_20191107_1239.py
bd20f9edcd6d8711f45f088ad0c948df3acd2e3a
[]
no_license
Grayw0lf/local_library
0933bd5d35ef64ee4dc90dd0cdd83686a8eeed3a
652f0260bfd153138eaee24810685c52f4063b07
refs/heads/master
2023-04-30T10:23:38.048841
2019-11-13T21:10:09
2019-11-13T21:10:09
221,551,305
1
0
null
2023-04-21T20:40:05
2019-11-13T21:03:49
Python
UTF-8
Python
false
false
688
py
# Generated by Django 2.2.7 on 2019-11-07 09:39 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('catalog', '0001_initial'), ] operations = [ migrations.RenameField( model_name='author', old_name='date_...
[ "akosheev@rambler.ru" ]
akosheev@rambler.ru
8eb5717f4d3e6a853f98ec128fe586d28b3c4c9f
0e29d70a54fa89cb7cb468529c8601d0ddf7b1b5
/date_migrate.py
5d78960a9634fe1cc69bd81af1c79ded42e0293e
[]
no_license
BishopJustice/MultiPage
f715d845137ed844d789b705a783b996ddb8f5a8
fbd3858790485abfb8120618cd936fd94e61d61d
refs/heads/master
2020-07-03T19:18:09.147296
2016-10-24T23:26:20
2016-10-24T23:26:20
66,682,896
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
from app.models import User, Item from app import db import datetime from dateutil import parser # users = db.session.query(User).all() # for each in users: # if each.joined: # each.joined = datetime.datetime.strptime(each.joined, '%Y/%m/%d %H:%M:%S') items = db.session.query(Item).all() # for each in...
[ "luke@lyft.com" ]
luke@lyft.com
1b6205e42264a320af0acc5001e8365d4e80aa70
bda9a317e22707e51e1f78f4ffca8205750f6d95
/mapbox/app/app/app.py
0e53e92e233cfc15117da47a1e4a8d72a0cba2c2
[]
no_license
elroypeter/SeniorProject
0395e8ffc977ea0f917a8525b5b85ca696fcca19
238b8e3c091b0294f620e6db68e897d8b8598ec3
refs/heads/master
2020-04-05T11:17:04.943758
2018-11-05T20:09:43
2018-11-05T20:09:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
from flask import Flask, render_template from werkzeug import secure_filename from app import app, db, models import os, sys, requests @app.route('/',methods=['GET','POST']) def my_maps(): # TODO: need to change this to be dynamic response = requests.get('http://dblayer:80/jsonData/test.json') return render_templat...
[ "j.a.cochran.cs@gmail.com" ]
j.a.cochran.cs@gmail.com
1e2657793c46ff5d10baa5dde973f110c7e4b49e
7b9a792ab61f1308577b0abf38283908ae65ca92
/config.py
3e0cf778b1427b4d92af6607c46b8bdabad77d89
[ "MIT" ]
permissive
amoslgl96/micro_app
ae8543f02d8cd7e80a9a4df9ac8f150a4b088e4e
f300011fe964d6c9f49da24e5e212f546972529e
refs/heads/master
2021-05-05T16:36:09.714685
2018-01-13T18:27:09
2018-01-13T18:27:09
117,356,918
0
0
null
null
null
null
UTF-8
Python
false
false
1,418
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' SQLALCHEMY_COMMIT_ON_TEARDOWN = True SQLALCHEMY_TRACK_MODIFICATIONS = False MAIL_SERVER = 'smtp.googlemail.com' MAIL_PORT = 587 MAIL_USE_TLS = True ...
[ "baolgl96@gmail.com" ]
baolgl96@gmail.com
3fe99be4fc9dd1b4475b5099b5f1a26acdddbb8d
f04eed5e6c4499d22fb8e339667267aa59c8dfc7
/MonteCarloSimDraw8balls.py
a5de8664cb39a1bcd8e359a74ce2f9906b98f320
[ "Giftware" ]
permissive
shanjgit/previous-work
4ca7e29e231498891752307ba4b04c9726f0eb67
664cc40bd0b97e3adc10f551e18a4a7a62e5a760
refs/heads/master
2021-01-19T20:02:57.744302
2017-08-24T17:57:55
2017-08-24T17:57:55
101,217,213
2
0
null
null
null
null
UTF-8
Python
false
false
699
py
import random def drawing_without_replacement_sim(numTrials): ''' Runs numTrials trials of a Monte Carlo simulation of drawing 3 balls out of a bucket containing 4 red and 4 green balls. Balls are not replaced once drawn. Returns a float - the fraction of times 3 balls of the same color were d...
[ "noreply@github.com" ]
shanjgit.noreply@github.com
00dd467e4af16d74877dc97ac0f1085d681b0a8c
0b79018d98ca5ae4e4eeae5d7be4bf43381739c4
/backend/src/scrapper/test.py
b46529b98e1976db4d7152217da18cfa6be877cc
[]
no_license
tsuasian/Dragon-Course-Review
1560c4da58417eef4e34ce5fa65f2f033800655d
127e1d3f2fa879b9542eaec54007ce0879aec37c
refs/heads/master
2023-08-24T15:53:55.246060
2021-10-28T08:11:57
2021-10-28T08:11:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,434
py
import requests import bs4 import lxml import os import json as json base_url = 'https://termmasterschedule.drexel.edu' home_res = requests.get('https://termmasterschedule.drexel.edu/webtms_du/app') home_soup = bs4.BeautifulSoup(home_res.text,'lxml') f = open("course_links.txt","w") """ What: Extract classes from th...
[ "tchang@gmail.com" ]
tchang@gmail.com
ac68c34a9df77b38ee0be71b8c371854aa47da18
142fd48d2c09bc83ba31b96553fc6d27fad596a3
/v1/202.happy-number.132775164.ac.py
76ae51a59bdadd727573d185296fe6de77a038ba
[]
no_license
goalong/lc
baaa8ecc55ecdb136271687d21609832f32ccf6e
7b45d500e65c759cc2e278d33d9d21925a713017
refs/heads/master
2021-10-28T03:40:23.534592
2019-04-21T14:29:47
2019-04-21T14:29:47
111,088,996
6
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
# # [202] Happy Number # # https://leetcode.com/problems/happy-number/description/ # # algorithms # Easy (41.39%) # Total Accepted: 153.8K # Total Submissions: 371.6K # Testcase Example: '1' # # Write an algorithm to determine if a number is "happy". # # A happy number is a number defined by the following process:...
[ "along@myw-vicdeiMac.local" ]
along@myw-vicdeiMac.local
696c4f4e21c3eb7fe7ea3890ef830d042a91d421
c2c86157ae2a4031d79b6f71b3f3cdcad913a87d
/matlabfiles/.svn/text-base/runonebyone.py.svn-base
cad7cd2195024b4366b6e4d261ec8176d6c025ed
[]
no_license
fishdda/Automatic-Radiation-Treatment-Planning-System-
e3875e7d17e96e488c7d678d70da4411213a98c6
42eba3a27e62e53907c782f01585abb0de15d7e4
refs/heads/master
2020-05-16T16:58:28.804199
2014-10-04T16:05:44
2014-10-04T16:05:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
import os; cases= [5,25,104,108,113,123,208,30,79]; for c in cases: cmd = './PrioritizedNlp cases' +str(c)+'.txt'; print cmd os.system(cmd);
[ "parastiwari@Paras-Tiwaris-MacBook-Pro.local" ]
parastiwari@Paras-Tiwaris-MacBook-Pro.local
18757dc913ff5692065e3d0722d1a414217f341e
ad668acbbbf321db2dcbf2cc5a330387df814531
/MyEscapades/coordinateCombat.py
e1eaa6b57bfdcf3a8849cd3e205a35842bc8bf56
[]
no_license
LIHTU/mc_python_files
65969323866dd87bde3ddc97d47dc2dce7e6642e
d0408eea3adf59249ba0742e4c9101a42eb8e6c2
refs/heads/master
2020-12-24T13:16:54.389643
2016-03-20T22:00:15
2016-03-20T22:00:15
35,831,326
4
0
null
null
null
null
UTF-8
Python
false
false
521
py
# Coordinate Combat # In this minigame the user will be prompted to # defend themself against mobs by entering in coordinates # for defensive strucutes and weapons, such as fire or # trap pits, or TNT. ''' 1. figure out if we can turn mobs on, and make them hostile. 2. learn and implement chat commands. 3. Design mini...
[ "robinanelson@gmail.com" ]
robinanelson@gmail.com
522f7b5624afc3f1cd74452502167aa8d9f5b6d9
14be624679f0bd4521989f26263bf1803b2afba5
/Python3/URI1041.py
ad2c32cc607832a0ec4655cd4e04c6b9a0005934
[]
no_license
axelaviloff/uri-solutions
2521e792bbedba23a8320ced3e9c05bf5af8f7e0
c51b1122b608d65298cff26f3c1ad87ec059e2d0
refs/heads/master
2023-05-13T22:17:39.323316
2020-10-27T12:37:21
2020-10-27T12:37:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
coordenadas = input() x, y = coordenadas.split(" ") x = float(x) y = float(y) if x > 0 and y > 0: print("Q1") elif x > 0 and y < 0: print("Q4") elif x < 0 and y < 0: print("Q3") elif x < 0 and y > 0: print("Q2") elif x == 0 and (y > 0 or y < 0): print("Eixo Y") elif (x > 0 or x < 0) and y == 0: ...
[ "axel.aviloff@estudante.uffs.edu.br" ]
axel.aviloff@estudante.uffs.edu.br
9d32317d1286c1736e8582adf02d5839dba92f00
9246f53f8048e2040f6c40b12fd6e81bf11bce1b
/chapter10/kmeans_sklearn.py
acdaa10443f1f5da396d3791aea808f2b6ff816b
[ "MIT" ]
permissive
damonclifford/Python-Machine-Learning-By-Example-Third-Edition
3541afefde8de164c3c82a47441f7fb20bbd7f71
35f364fd9f7f044771fb750bddf4b6fb101ea89e
refs/heads/master
2022-12-12T02:50:18.503257
2020-09-02T05:48:14
2020-09-02T05:48:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
''' Source codes for Python Machine Learning By Example 3rd Edition (Packt Publishing) Chapter 10 Discovering Underlying Topics in the Newsgroups Dataset with Clustering and Topic Modeling Author: Yuxi (Hayden) Liu (yuxi.liu.ece@gmail.com) ''' from sklearn import datasets iris = datasets.load_iris() X = iris.data[:...
[ "yuxi.liu.ece@gmail.com" ]
yuxi.liu.ece@gmail.com
8b29ce161cc0486a4b357fc0b7e9a4eff0014b1b
636e304830d60907c778634df346a42399631e7d
/webots-project/controllers/pos-prediction/predictors/predictor_NN.py
3c6cc3f45a5ebf2afc72941669fe0e87e7a0dd94
[ "MIT" ]
permissive
varun-projects/webots-thesis
8784807b42a35dbe00040c3f903cdd4b86251338
c18c53b281af6c68431b9b3abde07d1934c37dd9
refs/heads/master
2023-01-14T12:16:37.984530
2020-10-06T14:00:26
2020-10-06T14:00:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,443
py
from keras import models from keras import layers import numpy as np import math import pickle import os.path from keras.models import load_model class PredictorNN: def __init__(self, data_collector): self.percentageTraining = .8 self.dc = data_collector data = self.dc.get_data_frame() ...
[ "joan.sebastian.gerard@gmail.com" ]
joan.sebastian.gerard@gmail.com
61e7ac4e48aa441ddac70c7a136199bc95ef0cb8
97be97cfc56fb2170b60b91063dbfe5f1449e3c0
/python/ABC189/D.py
7e2f46bfedc29c348c5d23cf98f1faf6718dbc94
[]
no_license
iWonder118/atcoder
73d965a0a9ade189733808e47634f2b7776aad4b
3ab7271e838a2903ff0e07f94015ef13c59577e1
refs/heads/master
2022-01-25T10:10:55.007340
2021-12-31T14:04:54
2021-12-31T14:04:54
245,155,997
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
n = int(input()) logics = [input() for _ in range(n)] for i in range(n):
[ "52240372+iWonder118@users.noreply.github.com" ]
52240372+iWonder118@users.noreply.github.com
ea646c020a58d6eb93ac0b637c7b9fdd4b435641
addb7882a96d30c431b40ba33309cbf8f8328894
/taskgraph/tests/model.py
26500f3cfe82c33d90c54b6c0e55e7a9e544f7e4
[]
no_license
mmuddy/taskgraph
581de61669f6ce56a87c487390a4b2ee3bbfb9ac
0925dd2f8fd7c83b70a830cc5903366bf2c830ba
refs/heads/master
2020-04-06T20:02:26.896467
2017-01-23T22:22:38
2017-01-23T22:22:38
68,546,946
0
0
null
2016-12-23T05:27:31
2016-09-18T20:58:23
HTML
UTF-8
Python
false
false
6,519
py
from taskgraph.model.model import * from taskgraph.tasktracker.getinterface import get_interface from .settings import tracker_dummy, tracker_redmine from django.test import TestCase from django.db import IntegrityError class TestTracker(TestCase): def create_tracker(self): all_trackers = Tracker.object...
[ "yakovlevvladyakovlev@yandex.ru" ]
yakovlevvladyakovlev@yandex.ru
2a500a425eb1abbc023f928e0a265bbc37889d78
64fc5dfec9a6f7b31c224286321899f5103d3983
/duckworthd/mining.py
f2127b917aeb1fa70482dce7c25ce5b13176311f
[]
no_license
espoirMur/public-DKHQ_GlobalWitness
68aaaaef52a1b05773ded143060a0c5f45c14c6a
e0b0d2b669faa1cb6b3cc86791ff5ce306c1cfcb
refs/heads/master
2020-04-17T17:22:23.323979
2018-10-11T19:50:42
2018-10-11T19:50:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,678
py
"""Utilities for working with satellite imagery for mining.""" import json import os import re import string import tempfile import urllib import zipfile from matplotlib import pyplot as plt import bcolz import ee as earth_engine earth_engine.Initialize() import gdal import h5py import numpy as np import pandas as pd ...
[ "duckworthd@gmail.com" ]
duckworthd@gmail.com
e72b7714ac7c6c70fcad4cd97133be4a97489a94
72a934f4940c4ae77682d45a2d1e8ec5b1e2ff01
/pro/models/sequential.py
18d7368dc2b1336ad3c0ea4e895f26cf5c057335
[]
no_license
dhaval-jain/g1
5347160fcf4efc21207fdf9f996a10dd4e0f61e9
a6d4deb672204b9eaf1efc5c6e0c12f38b5bb906
refs/heads/master
2023-03-18T22:49:03.559327
2020-11-17T16:59:50
2020-11-17T16:59:50
346,329,013
0
0
null
null
null
null
UTF-8
Python
false
false
3,117
py
TRAIN_PATH = "C:/Users/meow/PycharmProjects/project1/CovidDataset/Train" # gets the the paths in that folder VAL_PATH = "C:/Users/meow/PycharmProjects/project1/CovidDataset/Val" import numpy as np import matplotlib.pyplot as plt import keras from keras.layers import * from keras.models import * from keras.preprocess...
[ "inexorable619@gmail.com" ]
inexorable619@gmail.com
04a6fcd8590335f274756db0927a0e81091f1511
e4039781ee08c03d32cc5bdfa1d424a4a4f33ac0
/BO_parser_prot.py
d54edca1049f6dca1df659dea22a86288773161e
[]
no_license
CoderMatthias/ortholog_pipeline
c003a03af94392eb8ce3cab4fc551630d595d456
7828d88700004f6dc61fde0c565d48f7c88e2d34
refs/heads/master
2021-01-19T12:39:23.897794
2015-07-15T19:49:29
2015-07-15T19:49:29
39,141,896
0
0
null
null
null
null
UTF-8
Python
false
false
3,666
py
#!/usr/bin/python3 import sys import time ''' This python script takes the blastp tab-deliminated data and parses it to include unique hits and an additive bit score Requires: output from blastp, a dictionary to convert FBpp#s to FBgn#s for both Dmen and other D species Usage: python BO_parser_prot.py blastp_output....
[ "Matt.Kanke@gmail.com" ]
Matt.Kanke@gmail.com
4e24c93448376bf4ec8685ec08596212224928a2
45c13e4f2204c711c8ddb619a423fa2802df93fc
/blogspace/articles/migrations/0003_article_author.py
007e5bb909ab9152f422c1cd19343ec87b121f7c
[]
no_license
darklongnightt/blogspace
f7d287cf91e1900893676e4815078e41e7fc4f7f
ba67b4f9a621c5ac4a8cf5c016bdbf0617b40f00
refs/heads/master
2020-11-30T10:21:40.397046
2019-12-28T14:18:37
2019-12-28T14:18:37
230,376,202
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
# Generated by Django 3.0.1 on 2019-12-28 11:43 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('articles', '0002_article...
[ "toki.1243@gmail.com" ]
toki.1243@gmail.com
9be50d39d015e172e51c97d330d5fe5035965ef5
b8e3363a40bc9928ae85c16232c5bf6240597a18
/out/production/home-assistant/components/switch/tellduslive.py
7edab40054f51d8807a01fa0c066ed3cb09c138f
[ "MIT" ]
permissive
LaurentTrk/home-assistant
4cbffd5a71f914e003918542319bc6caa96dbb72
5a808d4e7df4d8d0f12cc5b7e6cff0ddf42b1d40
refs/heads/dev
2021-01-15T23:02:38.147063
2016-05-15T12:21:52
2016-05-15T12:21:52
51,471,180
2
0
null
2016-02-10T20:49:47
2016-02-10T20:49:47
null
UTF-8
Python
false
false
1,832
py
""" homeassistant.components.switch.tellduslive ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support for Tellstick switches using Tellstick Net and the Telldus Live online service. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/switch.tellduslive/ """ im...
[ "laurent.turek_github@gadz.org" ]
laurent.turek_github@gadz.org
d487e6f13e0f9607074d24d0dcca3b4571ee9366
00fac941f4f9e39cda9e3286d5cc1a77bda1d888
/GetCode.py
39bd6b4ba3989967c5cbd3a4f5254a2935a566c6
[]
no_license
bluegray/Sublime-Text-3-config
feb340139f01dd35e63874cb26c5e6515b3368bc
73428ebd263c60472cb7de64028c559252ed8c5e
refs/heads/master
2020-04-10T14:00:33.960991
2015-05-16T12:06:12
2015-05-16T12:06:30
33,752,869
0
1
null
null
null
null
UTF-8
Python
false
false
407
py
import sublime import sublime_plugin class GetSelectionCodeCommand(sublime_plugin.TextCommand): def run(self, edit): sel = self.view.sel() if len(sel) > 0: charcode = ord(self.view.substr(sel[0].begin())) msg = "%d 0x%x" % (charcode, charcode) self.view.set_stat...
[ "bluegray@users.noreply.github.com" ]
bluegray@users.noreply.github.com
28983ad35bba438daa2553a1003ba96695c3d775
745b63bdfb798f88d4f1b7679f435e43e6f2aec1
/pomodoro.py
1a109425e5adc3ef44c4f3e24efc89c1d45024fb
[]
no_license
torjeikenes/pomodoro
009bad75d2f0decca722d892253bd80266cabc85
07ccade38090f34b028e1e562c41e7a1bd77c836
refs/heads/master
2023-01-13T05:25:52.126481
2020-11-25T22:30:49
2020-11-25T22:30:49
316,047,832
0
0
null
null
null
null
UTF-8
Python
false
false
4,070
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Distributed under terms of the MIT license. """ Program for handling pomodoro timers """ import json import argparse from datetime import datetime, timedelta import copy import os import subprocess from pathlib import Path home = str(Path.home()) ...
[ "torje.n.eikenes@gmail.com" ]
torje.n.eikenes@gmail.com
ebfb29af4611b4bc8dec9a2d065d6577a3201c0f
db70c979a9d1002cb2dfe3ea7028957402782fd8
/tests/test_success_range_below_equal.py
55f9e2d0ee784cc8aee547cc5960c654ad221f1f
[ "MIT" ]
permissive
Bernardo-MG/wargame_analysis_jupyter_notebook
739d94b697bf103d0c563d4dcedc9e0fb1890606
db13838ce0f8c6dcbc160259c1ee0ae258b51ba7
refs/heads/master
2022-12-15T12:15:32.798807
2020-08-26T06:38:27
2020-08-26T06:38:27
289,078,376
0
0
MIT
2020-08-26T06:38:28
2020-08-20T18:20:02
Python
UTF-8
Python
false
false
8,937
py
# -*- coding: utf-8 -*- import unittest from decimal import Decimal from scripts.probability import roll_success_range """ Max shots script tests. """ __author__ = 'Bernardo Martínez Garrido' __license__ = 'MIT' class TestZeroToTenBelowEqual(unittest.TestCase): """ Tests the chance to go above with the ra...
[ "programming@bernardomg.com" ]
programming@bernardomg.com
69a73772a221b1d1fc46f63870acf9ab7b9d268f
76a269c93a79b156240d9a2568bd2eee7258622f
/naive_bayes.py
28a6c01619e26c4273617271c4be1ed825789eb7
[]
no_license
omarn33/Spam-Email-Classifier
f6bfeb3e1c66363b49af086004c42bb0d6c4ef2c
3b52c4fa7dbf45bd1aeabb9fb51183c92af2628b
refs/heads/master
2023-06-28T10:20:06.620304
2021-08-03T04:47:33
2021-08-03T04:47:33
392,191,798
1
0
null
null
null
null
UTF-8
Python
false
false
7,132
py
# naive_bayes.py # --------------- # Licensing Information: You are free to use or extend this projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to the University of Illinois at Urbana-Champaign # # Cr...
[ "omarnaeem333@gmail.com" ]
omarnaeem333@gmail.com
013916367cfd1dfcd2bbaf32bb98f24b7cbf6c17
273c436a67c50e0128e9f7c181f6a18891b9bac9
/ModuleWeatherBundle/Resource/WeatherResourceImpl/Cached.py
da5ff27d7bd66cfeb5b8271e13095684a4cf19c5
[]
no_license
jaepyoung/weather-microservice
302c52cad82dcb7248a2b1025449bca308e5ef6f
6818e9ae96817f3e8708b654a7922554441db393
refs/heads/master
2021-01-19T13:36:05.398880
2015-01-19T08:33:09
2015-01-19T08:33:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
from ModuleWeatherBundle.Resource.WeatherResource import WeatherResource import json class Cached(WeatherResource): def __init__(self, service, cache_redis, cache_ttl = 3600): super(Cached, self).__init__() self.service = service self.cache_redis = cache_redis se...
[ "athlan@vgroup.pl" ]
athlan@vgroup.pl
63cd09ad5e4f6c73fabb07766215cf1ea10619ac
760a806cf48d62f96c32906f2cb2be861ab4eda2
/venv/bin/python-config
90275ad6c7c13e606e7fdb5fe45939227bd636f2
[ "MIT" ]
permissive
francamacdowell/AnalyzeYou
e6339104181012ef196e0ce5d7c537efa21dd1c2
3fa6556b621af99543693fc26fa0d784996bd19c
refs/heads/master
2021-02-23T14:35:41.925987
2020-03-06T11:39:30
2020-03-06T11:39:30
245,402,115
0
0
MIT
2020-03-06T11:33:13
2020-03-06T11:26:52
Python
UTF-8
Python
false
false
2,359
#!/home/macdowell/Workspace/AnalyzeYou/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys....
[ "fmdss@ic.ufal.br" ]
fmdss@ic.ufal.br
2e9630b46c62bf6ed75120e758ba48e9ba4e9aa3
2f86ac5ea6b2781c30a031f8e9bb02ccbe4bac57
/ch05_external_testing_tools_calculator/test.py
ea55796af7459989924e7bc802d143f5f01b570d
[]
no_license
KatharinaWiedmann/module3_Business_Python
183945bd0017c15f38b5d800fb89a8361bae6860
fbe4b8ab0a903ea3a713a5f6b79b9dba7cce94c4
refs/heads/master
2020-04-18T03:21:54.050910
2019-02-07T12:16:51
2019-02-07T12:16:51
167,195,519
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 30 09:55:46 2019 @author: Katharina """ import unittest from calculator import Calculator class TddInPythonExample(unittest.TestCase): def setUp(self): self.calc = Calculator() def test_calculator_add_method_returns_correct_result(self): # ...
[ "katie.wiedmann@gmx.de" ]
katie.wiedmann@gmx.de
6f2edb09e5c1f151145ab5c1adacec423009c475
e452f89c51180487f2ed68c33ca2fed54e14a967
/1-Python-Programming-Basics (Sep 2020)/Course-Exercises-and-Exams/03_Conditional-Statements-Advanced/01.Lab-04-Personal-Titles.py
72a970d05c0e96713bf60476264312a5d9ccd0bc
[ "MIT" ]
permissive
karolinanikolova/SoftUni-Software-Engineering
c996f18eea9fb93164ab674614e90b357ef4858a
7891924956598b11a1e30e2c220457c85c40f064
refs/heads/main
2023-06-21T23:24:55.224528
2021-07-22T16:15:59
2021-07-22T16:15:59
367,432,464
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
# 4. Обръщение според възраст и пол # Да се напише конзолна програма, която прочита възраст (реално число) и пол ('m' или 'f'), въведени от потребителя, и отпечатва обръщение измежду следните: # • "Mr." – мъж (пол 'm') на 16 или повече години # • "Master" – момче (пол 'm') под 16 години # • "Ms." – жена (пол 'f') на 16...
[ "Nikolova@eum.root.eumetsat.int" ]
Nikolova@eum.root.eumetsat.int
ede721e55e9c3c008214b8d056bfb0e827d08a68
ea55badf6640e807a4ed50190290dfe97db06e6c
/scikit-learn/Iris.py
8637a2173705c4c36614a414f69cc2576ff10938
[]
no_license
Natsu-Yuki/PythonCode
31b7f161c8dfc05ac36a5dec9b9bab9b5f4b5b86
0cf856d33b008b811a3747a98a6224e5b3e3af30
refs/heads/master
2020-03-29T12:03:20.869303
2018-09-22T14:32:41
2018-09-22T14:32:41
149,882,790
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split import pandas as pd from sklearn.neighbors import KNeighborsClassifier import numpy as np iris_dataset = load_iris() X_train, X_test, y_train, y_test = train_test_split(iris_dataset['data'], iris_dataset['target'], random_st...
[ "ynatsu233@gmail.com" ]
ynatsu233@gmail.com
2e9784d9f5133d131dcf95aad42a8e25daf9771b
9f97c42310f47505eda2b5d6be28294dee7f0f15
/test/functional/wallet_import_with_label.py
4e5aebfaae9ccc25061c1b6fdfc3a6030877d25e
[ "MIT" ]
permissive
Madurajaya/cicoin
b7bc3cd65ef665e8c23d6787bb732d211b46e4f3
b48b11574ae38ae063670a755b9d50ef6960e1e8
refs/heads/master
2022-04-13T21:04:57.846103
2020-04-01T05:30:32
2020-04-01T05:30:32
296,742,986
1
0
MIT
2020-09-18T22:37:12
2020-09-18T22:37:12
null
UTF-8
Python
false
false
4,903
py
#!/usr/bin/env python3 # Copyright (c) 2018 The Cicoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the behavior of RPC importprivkey on set and unset labels of addresses. It tests different cases in whi...
[ "cicxcoin2@gmail.com" ]
cicxcoin2@gmail.com
3884eb54e7e03a3ef48250ac38e73501f51b3ad0
55b3948a9f3b9ecc55800ee20f703693057d4577
/code47.py
d168af513bc50186ca75f6fc67ad6ff413de98ee
[]
no_license
bommankondapraveenkumar/PYWORK
31b1c4edfb3e34a7f4103435f77a25814623b891
099bc260b80b1d724d46b714df8c931e037ee420
refs/heads/main
2023-01-07T16:52:25.915269
2020-11-11T06:40:16
2020-11-11T06:40:16
311,883,307
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
def horoscope(): M=input("enter the month and date :\n") S=M.split() month=S[0] day=int(S[1]) print("YOUR ZODIAC SIGN IS:") if(month=="december"): if(day>21): print("Capricorn") else: print("sagittarius") elif(month=="january"): if(day>19): print("aquarius") else: print("capric...
[ "noreply@github.com" ]
bommankondapraveenkumar.noreply@github.com
18a62f5f58f3eacf0f4b6e83ac4fda4770a77484
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/StructuredProductsDealPackage/FPythonCode/SP_ModuleReload.py
ed019b05682e9d07250ac27a96aa65a7a6824bdd
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
# Need to add # Additional Info # - Participation (DealPackage) # - CapitalProtection (DealPackage) # - StrikePricePct (Instrument) # - BarrierLevelPct (Instrument) # - ProductQuantity (Deal Package) # - AccumulatorLeverage # Exotic Events # - Initial Fixing # ChoiceLists # - AccDec (V...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
5957fddb7c3f6e6aa3a69b0ba94279abc367d105
d09b14a13e05adcd3d0f1714384b3ab65be4aa7c
/controller/UserRoleManagementDialog.py
88b9e2a569b3cea650f01750526b2b90f2bedf97
[]
no_license
ankhbold/lm2
bd61a353b95d6d8e351cf4b0af48b1b936db8b9f
30dfbeced57f123d39a69cb4d643a15429b8bfde
refs/heads/master
2021-07-24T20:57:16.534659
2017-11-03T16:33:43
2017-11-03T16:33:43
90,375,636
1
0
null
null
null
null
UTF-8
Python
false
false
64,172
py
__author__ = 'ankhaa' from PyQt4.QtGui import * from PyQt4.QtCore import * from sqlalchemy import exc, or_ from sqlalchemy.exc import DatabaseError, SQLAlchemyError from sqlalchemy.exc import SQLAlchemyError from sqlalchemy.orm.exc import NoResultFound from sqlalchemy import func, or_, and_, desc,extract from inspect ...
[ "aagii_csms@yahoo.com" ]
aagii_csms@yahoo.com
46e425071b72856e84300bad5e705cc2c7dff76d
800b5cd8c3d58b60d80aca551e54af28ec3c9f18
/code/chapter_05_example_14.py
81334fc4e4cc158d144cc5ba91bcb59c006f0045
[]
no_license
CyberLight/two-scoops-of-django-1.8
6591347cb20f3c16e252943c04f0f524f8e8b235
423971ad609ec9a552617fc4f7424e701295c09b
refs/heads/master
2021-01-21T03:02:52.704822
2015-05-11T16:32:31
2015-05-11T16:32:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
""" Using This Code Example ========================= The code examples provided are provided by Daniel Greenfeld and Audrey Roy of Two Scoops Press to help you reference Two Scoops of Django: Best Practices for Django 1.8. Code samples follow PEP-0008, with exceptions made for the purposes of improving book formattin...
[ "danny@eventbrite.com" ]
danny@eventbrite.com
92390ff097f0dc700869fdfc84c2e3606ee46f1d
2260c05c1fae664b7a6395b6b8e2c5ad5a61eb4b
/driver.py
66222accfc43a640d831c08077a3bc31dd4579d5
[]
no_license
roulaoregan/neural_networks
05bb3e9572303c3b68cdaa2d710645cd5061bf70
9a158ab264fd12bb6b5175786d333ea9b574f332
refs/heads/master
2021-01-01T19:11:58.407523
2014-02-06T00:34:18
2014-02-06T00:34:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
''' Main driver for Boltzmann machine ''' import logger import os import re import sys def main(argv=None): pass if '__name__' == '__main__': sys.exit(main())
[ "roula.oregan@gmail.com" ]
roula.oregan@gmail.com
c0c53574fe0228d93d1f83423937147a06d97cef
e177125a896527f0917852db687d8837f41e0ceb
/topoy/either.py
3b40fc10436242d3c0626a9eaeebf54d11c63df1
[]
no_license
beezee/topoy
f73fa10eb850ad781c1c507516ced6da19be739d
c56c6627a4430456f1034f4d1b0830c5a654ee52
refs/heads/master
2022-07-31T14:29:38.100374
2019-11-17T16:59:48
2019-11-17T16:59:48
219,234,274
0
0
null
null
null
null
UTF-8
Python
false
false
3,799
py
from topoy.applicative import Applicative from topoy.apply import Apply, tuple from topoy.monad import Monad from topoy.hkt import HKT from topoy.functor import Functor from topoy.traverse import Traverse from topoy.typevars import * from topoy.semigroup import KeepLeft, Semigroup from topoy.sum import append2sg, bind2...
[ "brian.zeligson@gmail.com" ]
brian.zeligson@gmail.com
58df714142bc8b34b29e30a57f33a9a9cdc9faf6
6ca4a9f5483c754d12cecca3263bdf798a1d3447
/src/cleaning.py
ab72ec613cfb0b06fb3856da74de64357bba8b6c
[]
no_license
Esaslow/ChurnCaseStudy
712c37ab13a0c2a9cc2ba1071a5d48d2db665376
f510f64525ad1b20584e630773376bd233ce96f6
refs/heads/master
2021-04-18T21:30:01.159227
2018-04-04T05:50:38
2018-04-04T05:50:38
126,740,944
1
0
null
null
null
null
UTF-8
Python
false
false
6,312
py
import pandas as pd import numpy as np from datetime import timedelta import matplotlib.pyplot as plt from importlib import reload from src import cleaning as C from sklearn.preprocessing import StandardScaler def clean_city(df): """ Input: DataFrame New columns, the 'city' column to dummy values Ne...
[ "Elsa7762@colorado.edu" ]
Elsa7762@colorado.edu
b609de5a340b8ffa5463bb61550b269014cc97d8
673d55fe4fee15b4047bf0248f5ab5b8a72e3907
/face_recognition/face_recognizer_opencv.py
98e5ed9efda71000ebb7c22af5f5f0330e202bd7
[]
no_license
manuel-lang/BlackForestHackathon
bfb08e66f59144792c66bd116976037eb0000c51
d521d553974b1533f567f1e63f50f3f633022e1b
refs/heads/master
2021-07-12T03:16:46.823216
2017-10-09T10:07:58
2017-10-09T10:07:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,624
py
import cv2 import os import numpy as np lbph_rec = cv2.face.LBPHFaceRecognizer_create() subjects = ["", "Manuel Lang", "Marius Bauer", "Tobias Oehler", "Jerome Klausmann"] def detect_faces(img): gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) face_cascade = cv2.CascadeClassifier('lbpcascade_frontalface.xml') ...
[ "manuellang183@gmail.com" ]
manuellang183@gmail.com
4fe810f0f0f672f8136173ab9c58da8afa0a8929
a986754144d9f1db1ce5ac6d86c164ae1667ed3e
/cuenta/migrations/0002_auto_20210207_0918.py
83d183b5e01b44efee8e7e6c538f4a1bf01f5032
[]
no_license
mateo9516/ChatPublicoDjango
4b2bcc7eb75ed7fb5a73ab6927bdd2c11bbdc376
746c13a3ff48cf69bd3ff1d1f9ea9b24a4e909b0
refs/heads/master
2023-03-05T01:28:03.678399
2021-02-07T17:43:27
2021-02-07T17:43:27
336,840,304
1
0
null
null
null
null
UTF-8
Python
false
false
694
py
# Generated by Django 2.2.15 on 2021-02-07 14:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cuenta', '0001_initial'), ] operations = [ migrations.AddField( model_name='cuenta', name='is_admin', f...
[ "mateo.echeverry96@gmail.com" ]
mateo.echeverry96@gmail.com
0704b14dc207bdeb9c69726cce59cb935ea707cc
b4752cce5d753784c4eb9c742079da6b9df50ab3
/news_aggregator_api/save_data.py
94fe61a818410e9c72dd9bddb4623d699044a6ac
[]
no_license
verain1/Conzu
105458b33719f8e8304d25a74a06c8fd546b5693
d61441db2af3d05c3b8cbbd01336b3dfc49f9f9f
refs/heads/main
2023-07-25T08:20:13.186590
2021-08-13T19:14:59
2021-08-13T19:14:59
395,057,912
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
from ndtv_scraper import get_ndtv_data # ndtv scraper from toi_scraper import get_toi_data # toi scraper import pandas as pd import numpy as np import os import random data1 = get_ndtv_data() data2 = get_toi_data() full_data = data1 + data2 full_data = pd.DataFrame(full_data) full_data = full_data.dropna() filter...
[ "anshchadha9211@gmail.com" ]
anshchadha9211@gmail.com
c913f8fbfe5cfedb9004bb0dd5b99c11a599285b
485ffbd9a08f72a4ecae63d1695fb82dccc6f195
/tm/tw3.py
0b12ecf535fc659e7a489babd72ce638c6387c22
[]
no_license
ka9epedia/test
77850d64ae2dc6c1032deebaf43f11b87276da2e
02b9c43335fc058b9fda936c2b119614c99eb7df
refs/heads/master
2020-04-17T07:36:12.112061
2019-01-18T09:18:07
2019-01-18T09:18:07
154,784,187
0
0
null
null
null
null
UTF-8
Python
false
false
14,522
py
# coding: utf-8 from requests_oauthlib import OAuth1Session from requests.exceptions import ConnectionError, ReadTimeout, SSLError import json, datetime, time, pytz, re, sys, traceback, pymongo from pymongo import MongoClient from collections import defaultdict from pprint import pprint import numpy as np import unicod...
[ "kagepedia@gmail.com" ]
kagepedia@gmail.com
965ccfbb787575189bbd405fdd1a466953457af5
ee7596f2efcf9abf86ff312bb1f0a0f963e7787d
/chunking/main.py
ce4637ab17240a729280d041ed31f638b89aeb96
[]
no_license
the-league-of-legends/chunk
8edfb906fbfba0e291bd6adebcf95831d0491d71
b8d6327c2ebd4a4a41c94d4fb4322c15ff039f4d
refs/heads/master
2020-06-20T02:59:59.629299
2019-07-15T09:34:25
2019-07-15T09:34:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,936
py
# -*-encoding=utf8-*- import json import codecs import itertools from collections import OrderedDict import os import sys from itertools import chain import tensorflow as tf import numpy as np from tensorflow.contrib.crf import crf_log_likelihood from tensorflow.contrib.crf import viterbi_decode from tensorflow.contrib...
[ "lsvt@lsvtdeiMac.local" ]
lsvt@lsvtdeiMac.local
620a896d4a884a98be6bc854d50f98a8b7d210d7
d85fa999d626ccab2523c8c551cc2f7eb100571c
/Task2E.py
91ec4b688e91583a21c1d8c811c9a09eb5c5d1c4
[ "MIT" ]
permissive
swan11jf/CUED-Flood-Warning-Project
dcb4f412525b576fe1e8cd89aadf09920d14fe1b
93636615ee85eb4ed5ba0ef7414bdbedccc0bcb4
refs/heads/main
2023-02-01T20:26:21.449331
2020-12-21T11:15:18
2020-12-21T11:15:18
323,312,508
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
from floodsystem.stationdata import build_station_list from floodsystem.stationdata import update_water_levels from floodsystem.datafetcher import fetch_measure_levels from floodsystem.flood import stations_highest_rel_level from floodsystem.plot import plot_water_levels import datetime def run(): stations = buil...
[ "noreply@github.com" ]
swan11jf.noreply@github.com
f0d46ede1b3ecc911d9874cce0d0c7cca9e0d770
15f94f7b66d33ca1e80ad2cb2c7821fb3c4ca453
/DataDash/DataModel/apps.py
41c9d627581b199ca0003cbc6487fb6cb78ab27f
[ "MIT" ]
permissive
DS921020/AnalysisManager
570fe2b08ba413e0616a057897c34fd2d4415c22
e16d6fff807738b644174da73d15ddb2bb9f9ac4
refs/heads/main
2023-03-03T14:46:34.718085
2020-12-10T05:01:44
2020-12-10T05:01:44
320,133,997
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from django.apps import AppConfig class TestmodelConfig(AppConfig): name = 'DataModel'
[ "ds110293@163.com" ]
ds110293@163.com
ffb75083105752e6e34ddf33fd1f369d3dcae145
0a8ef50b8dd8e5a843e6fe3e6692eeefbad9fd84
/Student9Week/Singleton.py
ff48188b22072087709a6281b2f2310b3621f9a3
[]
no_license
VitaliyKrytsun/Student
7e84e66e5ea14dbaced6c46a7e9af17d67c981ff
451cc4dbb4d2fb8f78f63e6a9d712b807d9c74dc
refs/heads/master
2020-08-17T07:39:01.441525
2019-12-10T11:58:17
2019-12-10T11:58:17
215,633,757
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
# metaclass # class Singleton(type): # __cls_instances = {} # def __call__(cls, *args, **kwargs): # if cls not in Singleton.__cls_instances: # Singleton.__cls_instances[cls] = super().__call__(*args, **kwargs) # return Singleton.__cls_instances[cls] # class A(metaclass=Singleton...
[ "56654633+VitaliyKrytsun@users.noreply.github.com" ]
56654633+VitaliyKrytsun@users.noreply.github.com
2159307633408b2e9ff64b9bb7270d5a919c593b
ad5e9d790c564cdf6923670bbf8454f1be88624a
/projects_robotics/cfg/dynamic_ric.cfg
63113e0c4d6189cce67406622d5ceb4541eb0c45
[]
no_license
zhangxuelei86/ROS-odometry-car
677cdaeba5c2aaea014a115c0bfd09f85f32c9e8
284d0581dcf5e6a68d164b2e79a93976aa677a3f
refs/heads/master
2022-04-10T09:30:25.096406
2020-03-25T11:12:05
2020-03-25T11:12:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
546
cfg
#!/usr/bin/env python PACKAGE = "projects_robotics" from dynamic_reconfigure.parameter_generator_catkin import * gen = ParameterGenerator() gen.add("computation_type", int_t, 0, "0 Differential Drive, 1 Ackermann", 0, 0, 1) gen.add("reset_signal", int_t, 0, "change to reset", 0, 0, 1) gen.add("change_coordina...
[ "alessia.paccagnella@mail.polimi.it" ]
alessia.paccagnella@mail.polimi.it
1419006fc8c21bcce2139ded545ad3d7af085e95
97379f2f2ab5ffa58ad0bbfbb5a2b1b2bc46d6fe
/modelwrangler/corral/dense_feedforward.py
22e65f0cfad2e415643b656689bb4bfc3c1256fd
[ "MIT" ]
permissive
brenton-enigma/modelwrangler
6afffbdf0b929e566adfd4497b60f8c613ef57d5
541d3c3267f70ff57a30a8c954b82c039ecff7aa
refs/heads/master
2021-05-09T20:16:29.687571
2017-12-17T18:33:45
2017-12-17T18:33:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,602
py
"""Module sets up Dense Autoencoder model""" import tensorflow as tf from modelwrangler.model_wrangler import ModelWrangler import modelwrangler.tf_ops as tops from modelwrangler.tf_models import BaseNetworkParams, BaseNetwork, LayerConfig class DenseFeedforwardParams(BaseNetworkParams): """Dense autoencoder...
[ "bmcmenamin@gmail.com" ]
bmcmenamin@gmail.com
5c27bedc6a666dd8e3f85a7a92005b76c278ea8c
51a705c1c3c749cd339ebdfc1997770e9de0f71e
/partie2/partie_2.py
a1844d5e76b369dec7eed1c19e1aa6eb679c29d6
[]
no_license
jabertSI/Gps-haversin-to-kml
49c932cadf25fb123d435acdbf3385897d06fc1e
163e862185e3e1d670ed52c1a6389a06f9f9ec28
refs/heads/master
2021-06-12T08:24:45.823195
2017-03-10T13:26:44
2017-03-10T13:26:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
from math import radians, cos, sin, atan2, sqrt, ceil terre = 6371 # LECTURE DU FICHIER fichier_ville = 'ville.txt' with open(fichier_ville, 'r') as f: # Creation liste de liste lines = [line.strip('\n') for line in f.readlines()] carnet = [line.split() for line in lines] #Decoupage de la chaine de caracter...
[ "noreply@github.com" ]
jabertSI.noreply@github.com
dd16775a4926161b4b8d7e6769c6edfd9685d2c3
b68af7ed59f8cb357abb45cc01c4c90e69d0dac4
/conftest.py
fd2c2f101438991b85a765037d2097de4b849720
[ "MIT" ]
permissive
paultro708/DataReduction
fb4197c889f47fb35cd89812c76c3bdde7badf17
ef63b74f3c93e7eb7887c8bc2f25ce0200460d3d
refs/heads/master
2023-02-02T06:48:42.691450
2020-12-18T11:16:17
2020-12-18T11:16:17
287,581,390
5
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
import pytest from tests.const import names, basic_reduction, classifiers from InstanceReduction.DataPreparation import DataPreparation from InstanceReduction.Raport import Raport @pytest.fixture(params=names, scope = 'module') def data(request): return DataPreparation(request.param) @pytest.fixture(params = bas...
[ "32535575+paultro708@users.noreply.github.com" ]
32535575+paultro708@users.noreply.github.com
676f594537bc9c7e4d4a487af70a88783494133b
843cda9d64985676524db33395d8f4439f0cdf50
/reviews/migrations/0002_auto_20210109_2143.py
83750986d64ef284cc3a178ca0bfd0128e6f103c
[]
no_license
orangeberry/airbnb-clone
7bc37f1e0b4af142edf88c38ca84db71a98a9fca
6d9ecee9a3190f8cee3ae3fcd416261f633ab581
refs/heads/master
2023-03-04T11:31:39.685227
2021-02-16T16:39:16
2021-02-16T16:39:16
324,152,827
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
# Generated by Django 3.1.4 on 2021-01-09 12:43 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('rooms', '0008_auto_20210109_2143'), migrations.swappable_dependency(settings.AUTH_U...
[ "orangeberry@kakao.com" ]
orangeberry@kakao.com
bb3553154a2dbaa5f002445d6690063caaacc7ac
274b4c50375c2cf62cec65805efade97931ccf18
/bikeshare.py
56ceefcd06dabd949286ac737cc8b92733dbd86c
[]
no_license
JonJacobs770/pdsnd_github
65c65a48bf8bf32266823085d2454005422938c7
13f728205001c715de8ef33d98266c4e379588f0
refs/heads/master
2022-08-21T10:02:14.425315
2020-05-31T11:19:00
2020-05-31T11:19:00
268,144,699
0
0
null
2020-05-30T19:15:45
2020-05-30T19:15:44
null
UTF-8
Python
false
false
11,355
py
import time import pandas as pd import numpy as np import math CITY_DATA = { 'chicago': 'chicago.csv', 'new york': 'new_york_city.csv', 'washington': 'washington.csv' } def get_filters(): """ Asks user to specify a city, month, and day to analyze. Returns: (str) city ...
[ "jonty.jacobs@gmail.com" ]
jonty.jacobs@gmail.com
42f3d2a0282e52d317b7e91d150c762f62c4d55a
5bd79964e4770770e972551b017d990036c1c600
/code/generateMeetings.py
d003722bafaaa4618abe9ee18b10542604c4c14b
[ "Apache-2.0" ]
permissive
IIIF/trc
8d63fd200927d6ad0170a03d8afc2d97cf193b59
d7226551a3bd081e9ff7518b8037527f9f041c6d
refs/heads/master
2021-08-04T11:14:03.504771
2021-07-21T22:29:23
2021-07-21T22:29:23
157,777,140
1
1
Apache-2.0
2020-12-03T12:36:13
2018-11-15T21:50:00
Python
UTF-8
Python
false
false
1,795
py
#!/usr/bin/python import sys from ics import Calendar, Event from datetime import datetime,timedelta from dateutil import tz def timezone(timeInstance, timezone): return timeInstance.astimezone(tz.gettz(timezone)).time() if __name__ == "__main__": if len(sys.argv) != 3 and len(sys.argv) != 4: print (...
[ "glen.robson@gmail.com" ]
glen.robson@gmail.com
d5d6859ced095e77ba26501b5cb023a48cdd6535
8d6ba22866a97b551de7ecccea75769c055afded
/HW/hw8_q4.py
496c50712582022223828e7fd6ce1a850528c3bc
[]
no_license
adibsxion19/CS1114
c52b8815ea3841e0e47a2442cceb5e9c5a81806a
0425d3d96664ee7a5ef88e146d51759e4a0bf50f
refs/heads/main
2023-04-10T23:30:31.427021
2021-04-06T05:03:50
2021-04-06T05:03:50
348,604,834
0
0
null
null
null
null
UTF-8
Python
false
false
6,354
py
# Author: Aadiba Haque # Assignment / Part: HW8 - Q4 # Date due: 2020-04-24 # I pledge that I have completed this assignment without # collaborating with anyone else, in conformance with the # NYU School of Engineering Policies and Procedures on # Academic Misconduct. def clean_data(complete_data_filename, clean...
[ "noreply@github.com" ]
adibsxion19.noreply@github.com
58e2029cc20575a0699ac989d2bd2bceb0f0ad0d
5c14e3a42410b386b8a062ad5c8ef4d35b54c10e
/LabQuestion4.py
b809de618049996ab3598d3ff07ddbd8829a6e23
[]
no_license
CStratton00/CST-215-Programming-Assignments
ae158504dca1b1dbf85b73cb8f6967f353c6e0ca
cc72b91380dd2dec23ed1adce8461b3d399ce34e
refs/heads/main
2023-02-27T13:42:29.074624
2021-02-10T18:16:06
2021-02-10T18:16:06
337,812,288
0
0
null
null
null
null
UTF-8
Python
false
false
3,303
py
A = True B = True def APT(): return "T" if(A == True) else "F" def BPT(): return "T" if(B == True) else "F" def abAND(): return "T" if(A and B) else "F" def abOR(): return "T" if(A or B) else "F" def abNAND(): return "T" if(not(A and B)) else "F" def abNOR(): return "T" if(not(A or B)) else "F" def abXOR(): return "T"...
[ "noreply@github.com" ]
CStratton00.noreply@github.com
e0804b03b742211cf22e225595431d99051e0976
a6ab576fcdb7f7258bf579765c92a664530b6574
/Exceptions.py
deb9da8256dbc666dff8ca553ac66a4d872c7199
[]
no_license
ILYSHI/Python-code
36a7322be62dcda1c3e7949f23fed927657d40fa
ff110688e32be6f91a0fce5d38c2775a062c1225
refs/heads/main
2023-01-19T03:55:38.041634
2020-11-21T12:45:04
2020-11-21T12:45:04
314,808,790
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
class BadName(Exception): pass def greet(name): if name[0].isupper(): return "Hello, " + name else: raise BadName(name + ' is inappropriate name') print('Import is execution')
[ "termit63@gmail.com" ]
termit63@gmail.com
967a7bd4f120ca55ba37aef4cb2e8af1f8b53ff8
393eb8b5e87de5572e4bd31902c9a42edf91e2f2
/mysite/home/models.py
6409d9c97f4d90e5c82308b3d52d593562195328
[]
no_license
heyyysus/Yeetboard
ea185160e89cd343d360981f96204f44a4eb7b18
ecd0aaa416a03028b973619b3e4eeb42ea04cf6e
refs/heads/master
2021-09-29T00:55:38.598684
2018-11-22T01:21:35
2018-11-22T01:21:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,013
py
from django.db import models from django.contrib.auth.models import ( BaseUserManager, AbstractBaseUser, User ) from django.db.models.signals import post_save from django.dispatch import receiver class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) bio = models.TextField...
[ "jesus.velarde07@gmail.com" ]
jesus.velarde07@gmail.com
2241916c7d68776e94af575a2559596e236b1ca4
6c298f03496560276fb9f478cbefc218ecd24e9a
/VoiceInput/program/lib/voiceinput.py
7f661347d3c4a859be5930192ef02c22284a2b7f
[]
no_license
koenschepens/OldPhone
1f3fccd6018e14e779373243a0e90a759a7425f9
5ac9247d0c9e08d6af8fb384479c53b48c174aa6
refs/heads/master
2021-01-10T08:31:43.368378
2016-03-26T19:06:07
2016-03-26T19:06:07
43,725,567
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
import sys import xbmc, xbmcgui, xbmcaddon try: import simplejson except ImportError: import json as simplejson import httplib __addon__ = xbmcaddon.Addon() __cwd__ = __addon__.getAddonInfo('path').decode("utf-8") __language__ = __addon__.getLocalizedString class InputWindow(xbmcgui.WindowXMLDia...
[ "kschepens@gmail.com" ]
kschepens@gmail.com
d60cd1bfe7525f7f1d1505b330008095c64c52b2
5e59252778f8b6465f6e9c4a1890297624cab8f8
/shell.py
15b5a123b00f2886e529971c6a178f4639a69ac8
[]
no_license
tazjel/rpathcmd
fa62dfed77d56ea100c8f76a035486b2761058ee
0ebffe639f329665824fdd94d8b5c89ce695f153
refs/heads/master
2021-01-16T20:03:25.225459
2012-11-05T16:09:17
2012-11-05T16:09:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,104
py
# # Licensed under the GNU General Public License Version 3 # # 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 3 of the License, or # (at your option) any later version. # # This p...
[ "tanner.jc@gmail.com" ]
tanner.jc@gmail.com
bb9382cac06758cde9a8cf0d6815e7c641a53b4e
cfe31cde0d64026925c9a5747216ba83856122d8
/Sex_Determination/parallel_ASEreadcounter_XIST.py
630398e4cecd81c226a883b9bbf1f9c81b1d5fbe
[ "MIT" ]
permissive
SViswanathanLab/XIST-Males-Scripts
f8d4fe22dee4d90f8a7a343a1138e721f3e5473a
4f2a0e281296df1dd86e3c68b13192e3337c1e8a
refs/heads/main
2023-04-11T05:52:21.329845
2022-08-20T22:01:28
2022-08-20T22:01:28
400,788,194
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
#qsub -t 1:86 submit_script.qsub import glob, os task_id = int(os.getenv("SGE_TASK_ID")) temp_path = "download_dir/" #where files are downloaded to parameters_list = [x[0].split("/")[-1] for x in os.walk(temp_path)] samples_per_node = 18 val = min(task_id*samples_per_node, len(parameters_list)) parameter_sublist = ...
[ "noreply@github.com" ]
SViswanathanLab.noreply@github.com
390d44eedc5bd62912d37c37ae5ccbcd9582d8af
3d6787af8b9bb74b7a80e6b51ea9d64d01455d73
/opinion.mining.from.online.hotel.reviews.a.text.summerization.approach/models/authorcredibility.py
e18717fcb24c2c86d897c5d80646285928bd5ef2
[]
no_license
beiranvand-karim/data.mining
bbac24d3ffa93c382cb4b5c250e2d22552d55c8d
85437e59792c2369581efbe76e0dd0d815f9f4e7
refs/heads/master
2020-04-04T23:54:42.834596
2018-11-29T12:23:16
2018-11-29T12:23:16
156,376,046
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from mongoengine import * class AuthorCredibility(Document): authorId = ObjectIdField(required=True) measure = FloatField()
[ "beiranvand.karim@gmail.com" ]
beiranvand.karim@gmail.com
ac215caf0b42fede5612998b3aad73bcf7068688
468daac37b861ce6e9f7e18f491754ba0acd9818
/TTTBoard.py
236ff071bf3cb9086d343156dc5b8c689841942a
[]
no_license
charlesdaniel/Bioloid_TicTacToe
49ec570bdf5704abf394d0cb567bd6b3c8257b18
37b1e45135627fb6513dd5cd3b440566bfd08952
refs/heads/master
2016-08-05T14:27:32.220491
2011-09-05T13:59:09
2011-09-05T14:01:35
2,328,502
0
0
null
null
null
null
UTF-8
Python
false
false
4,480
py
## Import the base TTTPlayer class (we'll need it later to prompt for input) from TTTPlayer import * ## The TTTBoard is the engine that drives the game. It handles prompting for input from ## any TTTPlayer class (this includes TTTPlayerAI since that inherits from TTTPlayer). ## Additionally this class prints out the b...
[ "charles.sam.daniel@gmail.com" ]
charles.sam.daniel@gmail.com
f31e15dee4055a30fb9f5aa5ef69fe6ab9a62139
734719be1ef3ceb2de58c56949969a76170f65a6
/binary_tree_max_path_sum.py
6a260837d8e220f765e80290b5fc20c073aced69
[]
no_license
raunaqjain/leetcode_solutions
26e174eb98700951624ca83ab7661dbc35a23729
a373085712dba7971ff90bc982f3a36dffd14b5a
refs/heads/master
2023-01-09T02:42:28.871140
2020-11-01T01:43:20
2020-11-01T01:43:20
309,002,412
0
0
null
2020-11-01T01:43:21
2020-11-01T01:25:54
Python
UTF-8
Python
false
false
437
py
class Solution: def helper(self, root): if not root: return 0 left = max(0, self.helper(root.left)) right = max(0, self.helper(root.right)) self.ans = max(self.ans, left + right + root.val) return max(left, right) + root.val def maxPath...
[ "jraunaq18@gmail.com" ]
jraunaq18@gmail.com
38cde75832792f190c10e244e0589cd487f12a03
27341bdbb9bc564905f8bbc01604eef9cefe6ca4
/venv/lib/python3.9/site-packages/sqlalchemy_jsonfield/__init__.py
cbc8ad531207ccddd2148b41318e6364443c230f
[]
no_license
derek-johns/nba-batch-pipeline
fb10ae171e21537d7d83a8ac89c3c2c8b7072f21
65898c80c1eea448c75ba07b553b49c7a93837b2
refs/heads/main
2023-02-18T16:52:52.192766
2021-01-09T20:34:28
2021-01-09T20:34:28
328,239,908
0
1
null
null
null
null
UTF-8
Python
false
false
1,213
py
# Copyright 2016 Alexey Stepanov aka penguinolog # 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 app...
[ "d.johnson13879@gmail.com" ]
d.johnson13879@gmail.com
a98c0f87c5e54efc98415dca9576d0bcecc3346f
aae551baa369fda031f363c2afbdf1984467f16d
/Machine_Learning/Programming_Assignments/CS15B001_PA3/Code/q2/bernoulli.py
59000649f234d836785dc85871bffe40b30ef448
[]
no_license
ameet-1997/Course_Assignments
37f7d4115baec383ccf029772efcf9c33beb2a23
629e9d5cfc6fa6cf37a96c5fcc33bc669cbdc59d
refs/heads/master
2021-05-16T16:23:32.731296
2018-02-03T05:57:01
2018-02-03T05:57:01
119,939,202
0
0
null
null
null
null
UTF-8
Python
false
false
3,114
py
import pandas as pd import numpy as np from scipy import sparse import os import functions import time from sklearn.model_selection import KFold from sklearn.metrics import precision_recall_fscore_support from tabulate import tabulate from sklearn.naive_bayes import BernoulliNB, MultinomialNB from sklearn.metrics impor...
[ "ameetsd97@gmail.com" ]
ameetsd97@gmail.com
3fc4cd0005e2760cac083464668dae41e0b0d4f9
f8b585a7132343a5da159d32966111fedd39e3d8
/LogDefer.py
509ca98e9057c2cf37db6a77a433b52e419dcccd
[]
no_license
mikep/LogDefer
54e471ca5d607a51547691599af86d44f96aa3b4
e12de81eba399a433410196605f3b66643dc0833
refs/heads/master
2016-09-06T20:07:22.536529
2013-12-22T00:50:08
2013-12-22T00:50:08
15,367,887
1
2
null
null
null
null
UTF-8
Python
false
false
4,065
py
import json import os import re import time __version__ = "0.1.0" class LogDefer(object): """ Generate log object conpatible with log-defer-viz https://github.com/hoytech/Log-Defer-Viz """ def __init__(self, options={}): self.levels = (40, 30, 20, 10) self.message = { ...
[ "michael.pucyk@gmail.com" ]
michael.pucyk@gmail.com
5ba300fb8fe455146525b436819e316a5e780da1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2811/61132/294777.py
4cbb3ce02f1703d0fb35813ef04ff2bc5e50a6e3
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
237
py
p,n=map(int,input().split()) l=[] for i in range(n): l.append(int(input())) dic={} for pos,i in enumerate(l): key=i%p if dic.get(key,'')=='': print(pos+1) break else: dic[key]=i else: print(-1)
[ "1069583789@qq.com" ]
1069583789@qq.com
9361bb61cd85e87954f06cd6e55599d0840b2082
efd9c0d47e94dbac8e6e700f45c2f7747ded094b
/Email_Template/Email/migrations/0003_auto_20181023_1457.py
2f8bca92437323d6af215b43d5f72c3c90b616eb
[]
no_license
SoumyaPuj/EmployeeDatabaseRequirement
dd1b2f21c13f47835e7390c3f831f5d96ef611b6
d9b3fe22e2327af67aaf6e8d47e50dea30aa01c5
refs/heads/master
2020-04-04T19:04:52.513386
2018-11-05T11:32:13
2018-11-05T11:32:13
156,191,071
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
# Generated by Django 2.1.2 on 2018-10-23 09:27 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Email', '0002_auto_20181023_1456'), ] operations = [ migrations.RenameModel( old_name='Email_Design', new_name...
[ "noreply@github.com" ]
SoumyaPuj.noreply@github.com
6afef4ba6551705e3a2732735b93faeda61ffeb7
63d302d31105ed9ce059d12d8d13b48c633e58a3
/part03-e13_read_series/src/read_series.py
16f604eab227a190338497ad9349a6497d0d7493
[]
no_license
doyu/hy-data-analysis-with-python-summer-2021
55ccc3a089d3865bd1ae89b92c9e1784c44e1935
1a34983d2c3b9a20473d16209ba8a74f9d68daf2
refs/heads/main
2023-08-22T02:14:05.785821
2021-09-29T11:41:59
2021-09-29T11:41:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
#!/usr/bin/env python3 import pandas as pd def read_series(): serie = pd.Series([], dtype='object') line = input() value_list = [] index_list = [] while line != "": try: line = line.split() value = line[1] index = line[0] index_list.append(in...
[ "hiroshi.doyu@gmail.com" ]
hiroshi.doyu@gmail.com
841b47896afe9f1263de4f58ffd78c05f3001e4a
a78ddbca5c691acc739cfb65d5914fcf27bf06cb
/DataFilter.py
04facf6863c268b8ae4239019bc6dc52e8d41c76
[]
no_license
yangshuoc/pku_SVT_plus
4620355bace7fdd2ea96f18255698ac1f0f98dea
fd67d945526631c821a092fb0585a801dc94d7f4
refs/heads/master
2020-03-24T17:20:51.686792
2018-08-02T01:20:59
2018-08-02T01:20:59
142,855,721
0
0
null
null
null
null
UTF-8
Python
false
false
1,889
py
import csv import random # DATA_FILE = 'data.csv' # MISS_TAG = 0 # MISSING_ROW_NUM = 900 # MISSING_COL_NUM = 6 DATA_FILE = 'vocab_vector.csv' MISS_TAG = 0 MISSING_ROW_NUM = 200 # MISSING_COL_NUM = 70 MISSING_COL_NUM = 50 # DATA_FILE = 'svt_matrix.csv' # MISS_TAG = 0 # MISSING_ROW_NUM = 70 # MISSING_...
[ "noreply@github.com" ]
yangshuoc.noreply@github.com
3c1b9ff25bff83a5b2ab154d29fca1246527a50a
5a18af4dd1eb7244ed6b75b8a59c29f7360cf468
/pose_regression/models/top_models.py
077581c48b4e505abe1ebd662626cb4a4f5d9cca
[]
no_license
asiron/deep-camera-relocalization
b585ef1b3ce63b307fcc57979eaf01462268a82c
9277826c605be9a28deff81261dbc68b721c7ae4
refs/heads/master
2020-03-18T22:19:36.813331
2018-10-20T20:36:01
2018-10-20T20:36:01
135,338,870
3
1
null
null
null
null
UTF-8
Python
false
false
5,466
py
from keras.layers import ( Dropout, Dense, LSTM, ELU, GRU, CuDNNGRU, CuDNNLSTM, Lambda, TimeDistributed, Activation, Bidirectional, Reshape, Concatenate, PReLU, BatchNormalization) from keras.regularizers import l2 from .layers import QuaternionNormalization import keras.backend as K import tensorflow...
[ "maciej.zurad@gmail.com" ]
maciej.zurad@gmail.com
78b7821eb4c330884d87322bb2e9c99f8af8f6d8
acf2d43575f4be1fc97d0368073e338188e8bfae
/1_twosum.py
9383da9effb20171eb6ecb6763371d53564f67f0
[]
no_license
mingshaofeng/leetCode
87e6011285168eabdcfad89a445c371aad1d0f46
0fbf165d4ff25a879db81c8958c191fa4728701f
refs/heads/master
2020-12-31T08:47:12.951354
2020-02-08T12:26:28
2020-02-08T12:26:28
238,958,568
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
''' Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0...
[ "1812611764@qq.com" ]
1812611764@qq.com