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
2bbed7eea919f0c708c7562990fc6ce521973e8d
a6b2dfa36483571382569a5649e42456e6bd6542
/Pygame4/Course_Project/Game/Scenes/HighScoreScene.py
c1454b62036ca3ea20c1b8758e2fb21d100842d6
[]
no_license
LauRivero150920/PygameTutorial
0c89bda28ff4c30ae352fc6649fae514e8b74e4a
2d4bb4a0c683f252f5e4aaace35e36fe2eced5b5
refs/heads/main
2023-07-31T17:47:40.617202
2021-09-23T06:52:22
2021-09-23T06:52:22
352,852,639
1
0
null
null
null
null
UTF-8
Python
false
false
988
py
import pygame from Scenes.Scene import Scene from Highscore import * from Shared import * class HighscoreScene(Scene): def __init__(self, game): super(HighscoreScene, self).__init__(game) self.__highscoreSprite = pygame.image.load(GameConstants.SPRITE_HIGHSCORE) def render(self): self.getGame().screen.blit(se...
[ "A01274144@itesm.mx" ]
A01274144@itesm.mx
9a3d0e73bd72f7ffb40f57fed3cbc23b22de6a32
9a70bb77c7cd6d9930b81d3023ee6f9738175eff
/publish.py
bbb9a13376701326f6fae026103c443dbdc6c496
[]
no_license
bdemers/mqtt-pwsweather-publish
8ab583024ff2c212111b8d6094a72042c121ae5e
efca766b31344ed42aaef9a2a7ac36a86521acd1
refs/heads/master
2023-03-06T21:41:28.856479
2020-11-23T15:19:56
2020-11-23T15:19:56
315,348,410
0
0
null
null
null
null
UTF-8
Python
false
false
4,646
py
#!/usr/bin/python """ publish.py Simple MQTT subscriber of weather data then publishing it to the WeatherUnderground API. Uploads the current temperature, humidity, wind speed and wind direction from a given Personal Weather Station """ # IMPORTS import urllib.request as urllib2 import urllib.parse import json import ...
[ "bdemers@apache.org" ]
bdemers@apache.org
3e8a78d8393d93f4f672eb9e62d45a1c0501be31
ea5c8f4250dcd2a148c06f0b9bee04fbb030d088
/prova-servidor.py
f7e830192a4f20df2fb7105241a83270e275a37b
[]
no_license
pnunis/programacao2018
f5c17e1e18311486fc2ae3a2aaa47ee32e6dddba
71275f20bc936e00a390198eda5516c56d7e1683
refs/heads/master
2021-04-27T21:27:52.710379
2018-05-02T23:19:33
2018-05-02T23:19:33
122,401,017
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
import socket HOST = socket.gethostbyname('localhost') PORT = 22222 tcp_server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) tcp_server_socket.bind((HOST,PORT)) tcp_server_socket.listen() client, addr = tcp_server_socket.accept() print('Conexão de:', addr) while True: data = client.recv(1024) m...
[ "noreply@github.com" ]
pnunis.noreply@github.com
c2086683255ba3a12682adfadd6fe6869bf47c6e
38b0dcf8500cea90cd5e691d0fdebcdaf0de3d7e
/alerts_test.py
495601c86febe35ebb1ed71616f5fcefad226822
[]
no_license
Cloudxtreme/monitors
b96f20f039a9726cc75cf454a2363a3ff66edf55
13a0e0b7c4e3daffbbce4e2adda0266af03fb5af
refs/heads/master
2021-05-28T02:16:59.429366
2015-01-09T19:54:47
2015-01-09T19:58:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
#!/usr/bin/env python import ConfigParser import logging import tempfile import unittest import alerts class ConfigureLoggingTest(unittest.TestCase): @staticmethod def _config(**data): config = ConfigParser.RawConfigParser() config.add_section('logging') for k, v in data.iteritems(): ...
[ "logan@reddit.com" ]
logan@reddit.com
573df7cfe64f1d9000784755f7df17cf47c9023d
7bfe63be710ac2541ced8692b27c52e988df65f0
/fruits_b2c/df_cart/models.py
cd93c91f65254e3d9f5e013ed9fdc4ccb16db93a
[]
no_license
GitHubQinDong/django_b2c
abdd57a47ae7533478e47a3c384909d88794c0da
13219d0cf390d95d73298748f44d35bb9f560403
refs/heads/master
2021-01-25T14:04:55.566146
2017-07-15T09:06:29
2017-07-15T09:06:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
from django.db import models # Create your models here. #用户 与 商品的 联系 是多对多的 #购物车 充当中间 环节,与 用户 一对多,同时 与 商品一对多 class Cart(models.Model): user = models.ForeignKey('df_user.User') goods = models.ForeignKey('df_goods.GoodInfo') count = models.IntegerField()
[ "915522927@qq.com" ]
915522927@qq.com
dbeab7665bf6cbaf5f4ccb0cfc2703f38f23512e
3027d2d9bf91747c1fa2d4ff6202029e6fab6c80
/1359/c/c.py
c16120e3495a24ab54dac985fadd19260eba173d
[]
no_license
brenopoggiali/rounds-cf
54d3e4f54fccc34cce9b30db46b869a550019ee5
fb62e602220402231ee15855d42579ae9ed12071
refs/heads/master
2022-11-15T07:46:56.933526
2020-07-13T18:01:24
2020-07-13T18:01:24
268,101,483
0
1
null
null
null
null
UTF-8
Python
false
false
1,116
py
from sys import stdin import fractions input = stdin.readline def i(): return input() def ii(): return int(input()) def iis(): return map(int, input().split()) def liis(): return list(map(int, input().split())) def print_array(a): print(" ".join(map(str, a))) def eq(x): return F((h*x + c*(x-1)), (x+x-1)) def bi...
[ "brenopoggiali@gmail.com" ]
brenopoggiali@gmail.com
8405aea4f75fe8129ff7801d16d85255dce935c7
85de8e8063d043de97c039b78a4bb963ea2e43c6
/daisychain/channel_dropbox/migrations/0001_initial.py
2b6dba45b5c19209feb9daa13f3142d50bc022b8
[ "MIT" ]
permissive
daisychainme/daisychain
9ff498d051103e5ee5ada64fdc14db7359665551
245d0041f1efd2d6cc110f60aebf2e2dee98bcdb
refs/heads/master
2022-05-01T02:14:07.550629
2022-03-29T08:17:16
2022-03-29T08:17:16
69,340,137
5
0
MIT
2022-03-29T08:17:17
2016-09-27T09:22:46
Python
UTF-8
Python
false
false
2,283
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-08-17 09:06 # Generated by Django 1.9.6 on 2016-07-14 17:19 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): init...
[ "lukas.spranger@fau.de" ]
lukas.spranger@fau.de
b3c0285177073316dea91db140034537df72eb1f
b304a47e862eee982193f183d4dde270099ea651
/libs/module18.py
229820f02d1661ff17b3ef1387723b3000701c83
[]
no_license
and3rson/osx-coverage-testcase
507c2cbd7927bcc519c14be48b6f28bedd7d0af0
245ef0cd0c19938cdcd43135985b03e87d40d6e2
refs/heads/master
2021-01-13T09:43:50.232051
2016-10-06T09:13:39
2016-10-06T09:13:39
70,139,028
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
def method18(): return 'bar'
[ "anderson@Andrews-iMac.local" ]
anderson@Andrews-iMac.local
a7eae49c44d40be0a18e0a75481551a44ddc4f23
ea05617b5d33a641bb60b735e936e8f0ba6e57a7
/unittests/test_tipwin.py
2994d0b2aa27724323853e4cc441959d723bd528
[]
no_license
bbpatil/Phoenix
18716744f5a3f5dbd805520baf3edc14ebde9529
4d05434a6c9e9effb2ade8085e2bfa83775575ed
refs/heads/master
2022-02-23T21:40:34.510672
2016-06-12T05:26:06
2016-06-12T05:26:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
import unittest import wtc import wx #--------------------------------------------------------------------------- class tipwin_Tests(wtc.WidgetTestCase): def test_tipwinCtor(self): w = wx.TipWindow(self.frame, "This is a tip message") w.SetBoundingRect(self.frame.GetRect()) self.waitFor(1...
[ "robin@alldunn.com" ]
robin@alldunn.com
a1acb9f510191d6a98922457994ca61fbc5fa67d
8f10319da47da9fb2bd2c0470ab3041fb09ae2c6
/python-for-Data-science/code.py
9b67a93ea2bdace74469ff404b276affd38f1ff3
[ "MIT" ]
permissive
sunitha1999/ga-learner-dsb-repo
f0481499465b6422b07e19226b5a2bd2990bf072
80c9b23fd273b62dc54b4ef51dde3f54b987d02d
refs/heads/master
2022-05-24T07:04:54.842490
2020-04-27T17:53:02
2020-04-27T17:53:02
259,409,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
# -------------- # Code starts here class_1=['Geoffrey Hinton','Andrew Ng','Sebastian Raschka','Yoshua Bengio'] class_2=['Hilary Mason','Carla Gentry','Corinna Cortes'] new_class=class_1+class_2 print(new_class) new_class.append('Peter Warden') print(new_class) new_class.remove('Carla Gentry') print(new_class) # Code e...
[ "sunitha1999@users.noreply.github.com" ]
sunitha1999@users.noreply.github.com
cc0d17e7de7e1585d6de1a16555659ac4a8a3d6e
25d111148f08bb1d0b1c2e652f095733dde125b2
/GIP/HistoriaClinica/forms.py
ff191a78c87b51d050d0083b2df8f37994b0b73a
[]
no_license
Naukas1/GIP_Final
b5990254cf53375ed5d5a973e280efeac74f32ec
65e880270090ae11e5fd177a0598e87b9608f9e6
refs/heads/master
2021-01-12T04:17:41.098975
2017-03-19T23:21:43
2017-03-19T23:21:43
77,568,855
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
from django import forms from .models import HistoriaClinica, HistoriaClinicaDetalle import datetime class HistoriaClinica_Form(forms.ModelForm): class Meta: model = HistoriaClinica fields = [ "Nombre", "Paciente", "Profesional", "Antecedentes", ...
[ "thindholwen@gmail.com" ]
thindholwen@gmail.com
5554b55cb0d5330cc443a9f4009854af8fe84d55
4dfc45597fa45ba4fcfada73f6bc718dabc6d1bb
/python_ex262.py
fd3d092a6242d774da23489bba78b027fe49acd4
[]
no_license
tschoi6712/HelloProgrammer
3b5cd3ac733d7e34d746cd0fe2958eb713de527c
f814982a76eacfd6d88208444777f767b9c06d3b
refs/heads/master
2020-07-14T10:04:49.203106
2019-09-05T00:23:27
2019-09-05T00:23:27
206,437,825
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
class Dog(): def __init__(self, name, breed, owner): self.name = name self.breed = breed self.owner = owner class Person(): def __init__(self, name): self.name = name mick = Person("Mick Jagger") stan = Dog("Stanley", ...
[ "tschoi6712@gmail.com" ]
tschoi6712@gmail.com
94b9068d13399c1b0ee57a43c85bc1a4c82ba618
fad702beb35d587278010e570a923bc84a4dda4a
/code/pyseg/scripts/picking/pre_seg_star.py
69ce678ef129b2047c285373ab7548b2b14ed085
[ "Apache-2.0" ]
permissive
anmartinezs/pyseg_system
f7769ec3dcaf243895ec1cf13ac6e1da1ab2a92a
1370bfedae2ad5e6cdd1dc08395eb9e95b4a8596
refs/heads/master
2023-02-23T06:23:10.087737
2023-01-30T13:24:36
2023-01-30T13:24:36
227,147,753
15
4
NOASSERTION
2023-02-10T17:18:20
2019-12-10T14:58:22
C
UTF-8
Python
false
false
12,883
py
""" Pre-processing for star_graph_batch.py of un-oriented membranes from TomoSegMemTV output Input: - STAR file with 3 columns: + _rlnMicrographName: tomogram original + _rlnImageName: TomoSegMemTV density map output + _psSegImage: (optional) binary mask to foc...
[ "an.martinez.s.sw@gmail.com" ]
an.martinez.s.sw@gmail.com
657f735a01c037231f569992af3283926a4de5b9
9738c28fc1a900d628a7f0a7e7486986142f9eac
/test/level.py
73567f0f533a362d72301dc4f67d09d6f90921ee
[]
no_license
Hyp-ed/workshop
bd16bb8d0c46c808676e18d46ac3fbc4a471176e
70dcb1376bf41c324031bb303c901162920cd339
refs/heads/master
2021-01-11T09:10:01.730992
2017-02-22T04:30:14
2017-02-22T04:30:14
81,372,433
0
0
null
null
null
null
UTF-8
Python
false
false
6,194
py
#!/usr/bin/python import smbus import math import pygame from OpenGL.GL import * from OpenGL.GLU import * from pygame.locals import * from time import time import mpu6050 SCREEN_SIZE = (1200, 900) #SCALAR = .5 #SCALAR2 = 0.2 #AVERAGE = 0 GYRO_W = 0.0 ACCL_W = 1.0 - GYRO_W def get_y_rotation(x, z): radians = mat...
[ "s1556515@sms.ed.ac.uk" ]
s1556515@sms.ed.ac.uk
0f30ca85f7153e54c25ea9d9cd17ebd8c3b941ee
2f395afe2278e2248dc9970f28948d8adbac1c77
/_builds/scons/tools/powershell.py
22105fc6a67d197b1173c2b870971332b501503d
[]
no_license
eliezerq/CycleTime
f225190aa40e6a267fcf9b962de257664c51b3db
700b50b00dcd9b7b01999f4e9d74d2efad39795a
refs/heads/main
2023-07-13T16:15:07.879500
2021-08-25T02:09:24
2021-08-25T02:09:24
399,654,687
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
import os from SCons.Script import * from SCons.Util import is_Sequence, Selector from SCons.Variables import BoolVariable PowershellAction = Action('${PSHELL_CMD}', '${PSHELL_STR}') PowershellBuilder = Builder( action = PowershellAction , multi = 1 , source_suffix = '.ps1' ) def generate(env)...
[ "noreply@github.com" ]
eliezerq.noreply@github.com
7799593dc1300616402385bffeef1d506f97a0aa
2be519c35d3bc1e6b7ef4384e0d7467c7172313b
/ROI/ROI_evaluate.py
20cf1ab8e9f42ea74f7c6e94cfc4b89687f71779
[]
no_license
cescigl/IPython2
65b173575179cbc6625f537feb4287ed89817e3b
46dcf6a351991cc3bfe3f1cb2a440afe39a0be4b
refs/heads/master
2020-06-18T04:29:00.727065
2017-07-17T10:38:02
2017-07-17T10:38:02
74,948,571
0
2
null
null
null
null
UTF-8
Python
false
false
6,148
py
# -*- coding: utf-8 -*- import sys reload(sys) sys.setdefaultencoding('utf-8') import datetime import MySQLdb import time import numpy as np from sklearn.metrics import mean_squared_error from sklearn.metrics import r2_score from sklearn.metrics import mean_absolute_error, median_absolute_error class baseModel(object...
[ "cescigl@163.com" ]
cescigl@163.com
f889f4a1cff3bed27ae632a801fbd3016fcc7bec
3d70d9205a85cd3ffb01cce0a62442e1a8cb5a49
/venv/Scripts/pip-script.py
3c8025f10a9c4e4ec0e1db4a4cb75e6614689e7f
[]
no_license
nulijiushimeili/third_library_train
ff5789aaf725d22e883190d7b60200594441712e
37803431a6442e268b9b88a34c386406d8bbbf14
refs/heads/master
2020-03-18T05:57:48.356403
2018-06-23T17:06:46
2018-06-23T17:06:46
134,369,717
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
#!D:\mycode1\program\third_library_train\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])...
[ "dewei123@foxmail.com" ]
dewei123@foxmail.com
6d3ffe24bc943feff5ee89b39da221468771c2de
f1ff691de9554d9b770837f5326055ee2b8487c3
/ex31/ex31.py
50b665eaf748b86bb56b732fe28762acee874c6a
[]
no_license
jypark711/jypark
eb6da4621602b2a137d1c6e357af77701302c9a5
933a4bcc643eb283bda55993d6c1cb876e18b893
refs/heads/master
2021-05-02T14:24:57.892788
2017-04-10T01:14:43
2017-04-10T01:14:43
54,092,502
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
# -*- coding: utf-8 -*- #한글패치 # -*- coding: cp949 -*- if "raw_input" not in dir(__builtins__): raw_input = input #builtins? print("You enter a dark room with two doors. Do you go through door #1 or door #2?") door = raw_input(">") if door =="1": print("There's a giant bear here eating a cheese cake. What do ...
[ "CAD Client" ]
CAD Client
ea3f529765b0d8e3cf6944c2691dc186da2a6ee5
4b62c01a15feac5f643a1613b01bfdbb96c088b8
/app/timelapser/management/commands/take_picture.py
1a61b30726fc77f8be7e7a9d58438c24f5937e59
[]
no_license
NanoDano/Pi-Timelapser
9ee7ca31b856ec6c33af3d7bf2d0956d7a2e1232
623a2bffd575ad304f117e105cfb52d2b0116444
refs/heads/master
2022-11-26T17:14:13.749560
2020-08-11T05:00:31
2020-08-11T05:00:31
270,156,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
import logging from os import system, makedirs from os.path import join from django.core.management import BaseCommand from django.utils.datetime_safe import datetime from timelapser.models import Photo from app.settings import MEDIA_ROOT logger = logging.getLogger(__name__) class Command(BaseCommand): help =...
[ "nanodano@devdungeon.com" ]
nanodano@devdungeon.com
a6a6cbd5ad983c4867ac5037ae760a57a2cd18aa
2f03a08645c91722a28c27577121e3d69d77e8d2
/egpo_utils/human_in_the_loop_env.py
35fb78a8a8a0eaed1efa91b034c46c0284a32bb6
[ "MIT" ]
permissive
MetaVai/EGPO
6eada2b0f3daaa68fac427d3b0c70a398d5205eb
dfb4fab891a6e5ceb3d7028a190a1a74f8b75eda
refs/heads/main
2023-08-31T19:12:58.482165
2021-10-23T08:08:50
2021-10-23T08:08:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,200
py
from metadrive.envs.safe_metadrive_env import SafeMetaDriveEnv from metadrive.policy.manual_control_policy import TakeoverPolicy from metadrive.engine.core.onscreen_message import ScreenMessage ScreenMessage.SCALE = 0.1 class HumanInTheLoopEnv(SafeMetaDriveEnv): """ This Env depends on the new version of Meta...
[ "noreply@github.com" ]
MetaVai.noreply@github.com
b7499060c0a79c00f38dceeb7d49f74d65caeb92
46ede75d991a5199bd0a9aa3e459a3f7b803e326
/src/hadoop/users/run_job.py
777f8590eac7e1d15e44625e615db7d1ebabf385
[]
no_license
PiotrPilip/ec2018
001e7e9e5ac72dc1ddfab8ec78c5021872a866be
8ca00b5e333acac4966fc6415ecbea74704fe274
refs/heads/master
2020-03-09T02:01:16.311929
2018-04-07T13:43:12
2018-04-07T13:43:12
128,530,285
0
1
null
null
null
null
UTF-8
Python
false
false
479
py
import subprocess from configparser import ConfigParser import sys cfg = ConfigParser() cfg.read('../../../main.conf') data_path='/home/piotr/hackathon/ec-challenge-2018/data/users/' number=sys.argv[1] command = [ cfg['HADOOP']['hadoop_path'], 'jar', cfg['HADOOP']['streamer_path'], '-mapper', 'mapper...
[ "piotr.pilip@gmail.com" ]
piotr.pilip@gmail.com
2c847ac862a19504844ac990e08a08d707f2148c
a27adc4fd97e6d0ebbbb6e308d38789fee02a135
/model_lstm_selfattention.py
ebeee4992d52e5afb5d3116667983456ce1d9406
[]
no_license
NUST-Machine-Intelligence-Laboratory/GASA
057d498dd99a81e5d10e8668d328325eda8df2e7
0e66894e63f980b60916803b3a25096bcb5cfa1f
refs/heads/main
2023-07-30T15:36:07.377226
2021-09-25T16:17:14
2021-09-25T16:17:14
410,225,877
0
0
null
null
null
null
UTF-8
Python
false
false
5,629
py
import torch from torch import nn import torch.nn.functional as F import argparse import torch import os from torch.utils.data import DataLoader from torch.autograd import Variable from torch.optim import lr_scheduler import torch.backends.cudnn as cudnn class LSTMClassifier(nn.Module): def __init__(se...
[ "noreply@github.com" ]
NUST-Machine-Intelligence-Laboratory.noreply@github.com
6dbdb9df23c1dcfcf17c78c471872da97f3068e0
a66a0152c7b37e7aa74ab7fff38704fb45fe3b9c
/util/test.py
4c5b59c49b7e39e42f64a95084693c909b9602ce
[]
no_license
guoyy2017/python_util
9c7a1351a0fd20fe187ac39972832abffbce3bad
ec90baacd7ca79420a598b701ae960d9337772b8
refs/heads/master
2021-06-25T23:47:10.056534
2020-10-09T01:01:45
2020-10-09T01:01:45
129,709,653
3
1
null
null
null
null
UTF-8
Python
false
false
991
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/10/13 上午9:59 # @Author : maidou # @Site : # @File : test.py # @Software: PyCharm # import random # from tenacity import retry,stop_after_attempt,stop_after_delay,wait_random # # # @retry(stop=stop_after_delay(2), wait=wait_random(2)) # def do_some...
[ "zenglu@trioly.com" ]
zenglu@trioly.com
21282bcc3899ca7438693cb8385d7f12b1b3344e
359eda321e365e824598da338bbbd09aeb2d43ff
/app/routes.py
3f98d5a0ad3e76a00ebf25fe40842e9f92d423cb
[]
no_license
SamritiSharma2902/microblog
83d9f52669c90872148dbde45883287f56ad2467
cdfc477ec14f90c51828d6fc82f9096f0d492e6c
refs/heads/master
2020-06-11T16:21:59.325021
2019-06-27T04:26:55
2019-06-27T04:26:55
194,021,932
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
from app import app @app.route('/') @app.route('/index') def index(): return''' <html> <head><title>Home</title></head> <body>hello everyone</body> </html>'''
[ "noreply@github.com" ]
SamritiSharma2902.noreply@github.com
7b8ffa80ccfccb5ef54996687b994643f54378e1
6967706d09732e0d7127a3947ef9c0e0054c876f
/Webscraper/__init__.py
f9d8143f6a908e95aacc4d470b46460e7029a7b7
[]
no_license
IoT-master/SuryaTracker
3ba6b707a25ef5a3d49580637ad00988967fdc12
7f365bcc545ee20f32316c2402f4e26859378467
refs/heads/master
2023-07-19T11:43:43.039750
2021-09-18T01:38:39
2021-09-18T01:38:39
405,240,828
0
0
null
null
null
null
UTF-8
Python
false
false
10,620
py
from selenium.webdriver import Chrome, ChromeOptions from selenium.webdriver.chrome.webdriver import WebDriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By from selenium.webdriver import Firefox fro...
[ "IoT-master@users.noreply.github.com" ]
IoT-master@users.noreply.github.com
27d022b940a95dfd27b4d8c3e0624874b64f09df
d619cc9b1b845a38dd7b8aa2a7e25c8e88e5e689
/servicex_for_trexfitter/__init__.py
61ac62a86a8e267aaaa79b3b0e3be95b807d909e
[ "BSD-3-Clause" ]
permissive
kyungeonchoi/ServiceXforTRExFitter
bc7f9cbeb9b53e1ce9b69902874c9d3631efa1c9
9963e0d3232a284d5abaecc974d4645dbb6c48e4
refs/heads/master
2021-12-15T22:22:09.166158
2021-12-13T07:32:42
2021-12-13T07:32:42
239,620,027
3
0
BSD-3-Clause
2021-12-13T07:32:43
2020-02-10T21:45:49
Python
UTF-8
Python
false
false
137
py
#!/usr/bin/env python from .servicex_for_trexfitter import ServiceXTRExFitter __all__ = ['ServiceXTRExFitter', ] __version__ = '1.1.0'
[ "kyungeonchoi@utexas.edu" ]
kyungeonchoi@utexas.edu
8bf19dfd6e13414fdef0ececea1ea99b8cc8585e
cc196cf8223211760d18bbbb5ebf100a3357acf0
/blog/models.py
da036d969d9d1027cdb9af1739ba1b3eb38b18cc
[]
no_license
yangsoonkyu/portfolio1
7c232929451f592a162f7aa1c0301315e851ccd2
a7816e91604dac2a0e267f2366121e0f8ecfe94a
refs/heads/master
2020-03-26T05:37:53.262179
2018-11-28T06:29:44
2018-11-28T06:29:44
144,566,340
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
from django.db import models # Create your models here. from django.urls import reverse from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = model...
[ "t_j4331@naver.com" ]
t_j4331@naver.com
9e776300b56dbcbf2a88c2990eded7d76a85d56a
8d9b194b8a973e4d66fa74fb700e8027e18fd147
/__init__.py
3726c980b93ee4bb737e5f996c8d4f761bd0df16
[]
no_license
horton2009/neural_ANN_python
e20c2ac3179cd604702466c6132268963693f40d
67cc3a380b7fd469cba3d0765f8947f5e9c8e3aa
refs/heads/master
2016-09-06T02:38:10.502561
2014-03-14T01:50:04
2014-03-14T01:50:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
"""PyLibNeural import.""" from neural import *
[ "horton.hu.5@gmail.com" ]
horton.hu.5@gmail.com
62c4e091b12511373a8830d65994e2532da4fae5
c7e2c9b8222ed2d76d0a689dd958691096b7cbdd
/tube4droid/__init__.py
2b4f26ab47fde493281b89861593f99e9b94f99d
[ "Apache-2.0" ]
permissive
digsim/tube4droid
b3682a6cd1cc32ca2d7323e3f95053d25d971116
294ea717a7ef0a639780afbc4b73c6eb17d31d91
refs/heads/master
2021-01-17T06:02:54.409667
2017-01-12T19:21:59
2017-01-12T19:21:59
50,057,447
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
import pkg_resources __version__ = pkg_resources.get_distribution("tube4droid").version
[ "andreas.ruppen@gmail.com" ]
andreas.ruppen@gmail.com
1172bb2301104443cb4977f752f66a816a1d7c1a
97ca3a885a4eff415043d65c9330bea70e2477d9
/unique/level/tools/carve.py
409d13f149cd3d6c8287385ec1fe4aa92262bb90
[]
no_license
nyeogmi/nyeoglike
d5b22e814549aaed3c9c3f7eacda5ddfcb37ff15
eebd8c0efc761a635943f12e49312298cdf33835
refs/heads/main
2023-02-16T16:43:43.643462
2021-01-03T00:15:11
2021-01-03T00:15:11
316,885,156
1
0
null
2020-12-04T03:04:45
2020-11-29T05:46:26
Python
UTF-8
Python
false
false
18,415
py
from typing import Set from .carve_op import * from .interior_designer import InteriorDesigner from .recs import * # TODO: Support random rotation/mirroring of this # TODO: Veto if a room becomes too small class Carve(object): def __init__(self, grid: Grid): self._grid = grid self._rooms = FastG...
[ "59642025+nyeogmi@users.noreply.github.com" ]
59642025+nyeogmi@users.noreply.github.com
1c89798fbe88f42b6a46f8f656a09907da3bef01
d4097c14850bda6ee05ddc7ff3a45ecbe3112b0d
/5.py
d90fcd642d0d2092670eac2d9ba104606306003e
[]
no_license
om-100/assignment-
410b82e83747db04d19cbddf55c62579ff92f44c
d35b8bad1b4e4b823d982f78ff5c3a2d415391a7
refs/heads/master
2022-11-12T11:19:53.292393
2020-06-27T03:04:35
2020-06-27T03:04:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
# Question nummber 5 def adding(str): length = len(str) if length > 2: if str[3:] == 'ing': str = str + 'ly' else: str = str + 'ing' return str print(adding('ab')) print(adding('abc')) print(adding('string'))
[ "chelsea.om4@gmail.com" ]
chelsea.om4@gmail.com
e0abd7a599b221a5c0edf5d93cd6b4d2fc66c7f5
b0a6159969977a024697da5c21cad1906f7ea092
/dynabic-python-platform/api/samples/TestApi3.py
841f300fd52e3847594dee5dd509dc85a57a39d4
[]
no_license
dynabic/dynabic-python
244bd2305afe0ac5582aaf77064635a0481015b6
0b5e71525b1f95751e23b44f637ee91724d44681
refs/heads/master
2020-04-22T10:11:15.026362
2012-07-09T11:01:22
2012-07-09T11:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
import sys import os import hmac from api.CustomersAPI import CustomersAPI from api.APIClient3 import APIClient3 from model.CustomerRequest import CustomerRequest def getCustomer(customerId): response = CustomersAPI(apiClient).GetCustomer(customerId) print(apiClient.serialize(response)) def addCustomer(...
[ "github@dynabic.com" ]
github@dynabic.com
fd7743331d63bab2a08005fdb42eb57b53948913
3d1765aa3a853faa91c8365a6d5536267c389132
/tonmoyplanet/tonmoy/migrations/0017_auto_20210627_0829.py
876766421caa0d94b2a401bc3f6f9970314b427d
[]
no_license
waliul21/django-portfolio
55fa35aa00d8a4577c00d7abd5c060e77e58ec84
413aeadaa17bbefe267415baefd22f38287752cc
refs/heads/main
2023-06-09T14:53:14.159295
2021-06-27T11:23:18
2021-06-27T11:23:18
380,666,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,846
py
# Generated by Django 3.2.4 on 2021-06-27 02:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tonmoy', '0016_education'), ] operations = [ migrations.RenameField( model_name='contact', old_name='email', ...
[ "waliul2621@gmail.com" ]
waliul2621@gmail.com
b702b71dd27dffac2adfc140bfd108ccf26e42a6
e6b45b6cc01a921c3cc510f1a5fff3074dd6b2dd
/myExamples/Test/totest_save2mat.py
ef085d7e275bf3f6dbb316e39afdb629ed64f72a
[]
no_license
yoczhang/FEALPyExamples
3bd339bd5f4576630f767a758da9590a1c068410
44d9acbecb528374bc67bba50c62711384228d39
refs/heads/master
2023-07-24T21:35:50.633572
2023-07-05T02:28:13
2023-07-05T02:28:13
208,667,003
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
#!/anaconda3/envs/FEALPy/bin python3.8 # -*- coding: utf-8 -*- # --- # @Software: PyCharm # @File: totest_save2mat.py # @Author: Yongchao Zhang # @Institution: Northwest University, Xi'an, Shaanxi, China # @E-mail: yoczhang@126.com, yoczhang@nwu.edu.cn # @Site: # @Time: Sep 06, 2022 # --- from scipy.io import loadma...
[ "yoczhang@126.com" ]
yoczhang@126.com
b26a690893b73109ce8f579c4d67447cbb9ff060
29efa6309209df49cf06618b52b60fa76fc7ee96
/blog/forms.py
5e626e3ab63631499599db78f315dfabf1dbef64
[]
no_license
priyankab001/portforlio-blog
516505b56d616ad20c204cda3fdd4b2d5a1280ab
62048b652eab4819f632a3a314bc9a2fc7a79cb9
refs/heads/master
2022-02-18T09:14:37.366631
2019-09-16T15:30:13
2019-09-16T15:30:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from django import forms class CommentForm(forms.Form): author = forms.CharField(max_length=60, widget=forms.TextInput(attrs={ "class":"form-control", "placeholder":"Your Name" } )) body = forms.CharField(widget = forms.Textarea( attrs={ "class":"form-control", ...
[ "msdaram@Anjans-MacBook-Pro.local" ]
msdaram@Anjans-MacBook-Pro.local
582bb49f10f1dc35c944db64716dfcf8cc606416
2863d6fa5a9b1daba18345a5f87bbe0d89e1a39d
/render_functions.py
4bdc9213726c2d198d5f43be320b958ce370158d
[ "MIT" ]
permissive
TheNicGard/DungeonStar
3f76ddfc7da44554d887d23f7d52f80cde3ec6f1
525aeb53217166d2ce83e4e91a3b8c1b102f0dcb
refs/heads/master
2020-06-18T01:21:58.829883
2020-02-23T10:04:15
2020-02-23T10:04:15
196,119,789
3
0
null
null
null
null
UTF-8
Python
false
false
21,196
py
import tcod as libtcod from enum import Enum from game_states import GameStates from math import sqrt from menus import inventory_menu, level_up_menu, character_screen, help_screen, format_weight, confirmation_menu from plot_gen import get_name from rpg_mechanics import display_ability import textwrap class RenderOrde...
[ "nicolasg699@gmail.com" ]
nicolasg699@gmail.com
15fb4253a3e13829a69ddf5e80deefc1a51677ef
c0cbe24a8a6fd86e692f6dc832980482b5826a17
/django_homework/wsgi.py
27efa4b6bf131f0227f3e3c629833bacee6f78a9
[]
no_license
NickLennonLiu/sast-django
cb6ae241d2095a8e7d005cb7913c32e9ef5de40b
c5d0505e865649473e381e86b490f813333db8cf
refs/heads/master
2022-11-29T14:23:47.992931
2020-08-09T07:12:02
2020-08-09T07:12:02
284,487,913
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for django_homework 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJAN...
[ "1172236820@qq.com" ]
1172236820@qq.com
18b8be2a966cf73487a056f20a5b10ebfc0a41c6
75c5da67adb4c799ab18fff0ada3b550278f0f97
/shift_model_pjb.py
6af9a6dca522cdc384dc850578bd01d7cd0e9b6d
[]
no_license
peterbekins/Optimization
03a351a2cb24e9a16966914dd23c1186d77c60ef
73a9519b4b3406b6788a311dd73bd89bf745339e
refs/heads/main
2023-01-21T18:12:31.731969
2020-12-01T21:09:48
2020-12-01T21:09:48
316,029,318
0
1
null
null
null
null
UTF-8
Python
false
false
7,270
py
from ortools.sat.python import cp_model import numpy as np import matplotlib.pyplot as plt import time np.random.seed(441) # timer to measure computational time time_start = time.perf_counter() # Variable definitions residents = 4 weeks = 4 shifts = weeks * 21 shift_requests = [] # initialize shift requests with ...
[ "noreply@github.com" ]
peterbekins.noreply@github.com
448219443353fceb95f9381404e76fd448ac9321
34fb4074d38efc5f828abd8048fb80c676078f08
/stock_price_prediction.py
68b0636ef516c0f199478559516a64811c99cded
[]
no_license
rhys1998/Stock-Price-Prediction
8c93d7c09eeb2d4906c073101f90eba366dbf730
f39e609cfc65abade79bace80903d018758e4f5d
refs/heads/master
2021-01-26T04:38:23.640540
2020-02-26T17:03:33
2020-02-26T17:03:33
243,311,558
0
0
null
null
null
null
UTF-8
Python
false
false
4,228
py
# -*- coding: utf-8 -*- """stock_price_prediction.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1KGTFvzstSWfv6MNQGqTk27o3gcvUZTk8 """ #This program uses an artificial recurrent neural network called LOng Short term memory #to predict share pric...
[ "theroyalrajesh7@gmail.com" ]
theroyalrajesh7@gmail.com
51a393a0f1518e3fa81412d8829e9b6192195b84
e11037e84bfdbcf307772f74e3b18dfc820eca77
/ros/src/tl_detector/tl_detector.py
8950b0e7c929d22387c214c33748c48839c85eb8
[ "MIT" ]
permissive
MadridTeam/ROSCentral
ab1f24247ded92caa0bb112cb3edce2606ad8089
9bcedf04c64f3b3d992077ae02ac501b92063336
refs/heads/master
2020-03-30T19:07:56.944107
2018-10-19T22:17:58
2018-10-24T03:30:50
151,529,638
0
1
MIT
2018-10-24T03:30:52
2018-10-04T06:44:19
CMake
UTF-8
Python
false
false
6,422
py
#!/usr/bin/env python import rospy from std_msgs.msg import Int32 from geometry_msgs.msg import PoseStamped, Pose from styx_msgs.msg import TrafficLightArray, TrafficLight from styx_msgs.msg import Lane from sensor_msgs.msg import Image from cv_bridge import CvBridge from light_classification.tl_classifier import TLCla...
[ "chen_fengyu@hotmail.com" ]
chen_fengyu@hotmail.com
dbc38eac44893b12655a94fd8a459a1811e090ec
42b59166c88dcdce910a2ac4dab45c88e3942eff
/test/test_cube_hareware.py
c56f88de50bcf3bb0777a07d5dbe1303c03ef75b
[ "MIT" ]
permissive
vamoosebbf/MaixUI
5e74fd38d1c11ad274e4ce15f84376d5a79d0595
b8069509419e37fe767169a4996372c32a841ef9
refs/heads/master
2023-06-11T08:54:27.073072
2021-03-30T09:57:41
2021-03-30T09:57:41
314,427,404
1
0
MIT
2021-06-30T09:02:47
2020-11-20T02:40:56
Python
UTF-8
Python
false
false
39,064
py
# This file is part of MaixUI # Copyright (c) sipeed.com # # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license.php # import time, gc, math, random, sensor, audio from fpioa_manager import fm from machine import I2C, SPI from Maix import I2S, GPIO, FFT from led import sip...
[ "junhuanchen@qq.com" ]
junhuanchen@qq.com
065c76ebb916b6fbb222629b18d12f979ae38395
b6b30fb06124883b074144c419b43d9182efcdff
/DS/build_graph.py
82f2ad4ba68415e6727f264c0a7a1c5ad387756f
[]
no_license
JohnnySunkel/BlueSky
da9f5107034289bfbdd3ba40458f9b9bd8d01a13
5a20eba9ef7509a5a7b7af86e7be848242e1a72f
refs/heads/master
2021-07-07T09:57:37.256950
2020-09-02T23:06:46
2020-09-02T23:06:46
166,883,639
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
from graph import Graph, Vertex def buildGraph(wordFile): d = {} g = Graph() wfile = open(wordFile, 'r') # create buckets of words that differ by one letter for line in wfile: word = line[:-1] for i in range(len(word)): bucket = word[:i] + '_' + word[i + 1:] ...
[ "noreply@github.com" ]
JohnnySunkel.noreply@github.com
45829c58f5104dd794e9512763cf734ea3933c34
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02677/s846980007.py
301ff67aebaef7d22f6917eeb7d949005f4daaa8
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
a,b,h,m=map(int,input().split()) kk=h*30-5.5*m if kk <0: kk+=360 import math c= math.cos(math.radians(kk)) print((a*a+b*b-2*a*b*c)**0.5)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
247324b6253b7eedd461b3826e0dfbeeab2909a0
0e3697eae327b5e86e6dbc7295ceaf8fb620364c
/Advent of Code/2021/day_20.py
41df0accf39afe0f8877759dbcde16e12dddc801
[ "MIT" ]
permissive
AbeleMM/Algorithmic-Problems
f89cd9a11660ad0f54819a50739df8cc4ba32c89
212ad9dd6a3f04f426ad7789b3de11605c426906
refs/heads/master
2023-01-11T20:45:33.392652
2022-12-06T09:03:17
2022-12-26T11:03:29
201,615,751
2
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
def read_in(): def mapping(x): return '0' if x == '.' else '1' def read_row(s): r = ['0', '0', '0'] r.extend((map(mapping, s))) r.extend(r[:3]) return r algorithm = list(map(mapping, input())) input() row = read_row(input()) image = [['0' for _ in range(...
[ "AbeleMM@users.noreply.github.com" ]
AbeleMM@users.noreply.github.com
e4c68679cafe1640db49b7d5c9db68c7b36ddf7b
76adec78cb739508171a13b8f512f163f9db0aba
/Matrix/squares_in_matrix.py
3f0eee78aa8a6ceccc92fa118185f81121f40369
[]
no_license
heenach12/pythonpractice
0c95708c9bad8dace8f0346de746829eb5685c07
d4e3cc46ae9f5001d1ebfee6d3c3222d80962156
refs/heads/master
2023-07-14T08:46:27.337761
2021-08-28T07:45:25
2021-08-28T07:45:25
400,732,922
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
class Square_matrix(): def squaresinmatrix(self, m, n): # import pdb; pdb.set_trace() list max_size = min(m, n) min_n = 2 res = 0 prod = m*n res += prod while (min_n < max_size): prod = prod//min_n res += prod # prod...
[ "heenachoudhary802@gmail.com" ]
heenachoudhary802@gmail.com
e4075ed7d3eaf24aaba9038214a34b18d474a666
f098c361ee79bb8b7a8402fcf20b37f17fb36983
/Back-End/Python/Basics/Part -1 - Functional/02 - Numeric Types/floor.py
f2dcda98601c25c620125eab47f87b31f525f2c2
[ "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
rnsdoodi/Programming-CookBook
4d619537a6875ffbcb42cbdaf01d80db1feba9b4
9bd9c105fdd823aea1c3f391f5018fd1f8f37182
refs/heads/master
2023-09-05T22:09:08.282385
2021-10-31T11:57:40
2021-10-31T11:57:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
import math print(math.floor(3.999999999)) # 3 math.floor(-3.0000001) # -4 a = 33 b = 16 print(a/b) print(a//b) # same print(math.floor(a/b)) # Same # 2.0625 # 2 # 2 a = -33 b = 16 print('{0}/{1} = {2}'.format(a, b, a/b)) print('trunc({0}/{1}) = {2}'.format(a, b, math.trunc(a/b))) print('{0}//{1} = {2}'.format(a...
[ "58447627+Koubae@users.noreply.github.com" ]
58447627+Koubae@users.noreply.github.com
cd154bf101ef47cd31ac6f80fcbc570fc3dae9be
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_snip.py
87f6e292da0556cd1a588869072783395c07f943
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
#calss header class _SNIP(): def __init__(self,): self.name = "SNIP" self.definitions = [u'to cut something with scissors, usually with small, quick cuts: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'verbs' def run(self, obj1 = [], obj2 = []): re...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
dbc40bd0ffa26b7b59b9253a4a6a002227cfee1b
984167e1f9aca3b6246e055e9fbdc3ddcb7b6550
/test.py
ae3ecd8cb3cc298cb2db7901d9bd39dc4db34334
[]
no_license
pandehoST/Assignment1
1f30e8495d43811c1e7957ace7e349552747a30f
e08ebef183dc7cf515fe17813b1264ba757283d3
refs/heads/main
2023-06-17T04:03:53.788299
2021-07-08T12:58:36
2021-07-08T12:58:36
383,358,094
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
def add(): id = input("Enter") ... booking = bk.booking(id, ...) record_list[id] = booking record_list.append() def update(): id = input() if id in record_list: package_name= ... if len(packagename) > 0: record_list[id].set_packagename(packag...
[ "noreply@github.com" ]
pandehoST.noreply@github.com
67d7512fadebefb70e8ee6d6d1b11b69f6dfe6a2
e40388ddde8a5511714d5dcdfc14f502ce07e10e
/python_basics/dictionary/main.py
0c7533b64a78cffda1e361bf3810afc6e5f373fa
[]
no_license
bfaure/ctci
b5f4fa1aae79d2b006242c0cce56f232f5e96c48
2dec5665525547f4e3f1acb0b34bc6da80ba6938
refs/heads/master
2021-01-21T22:19:16.585866
2017-11-14T22:23:13
2017-11-14T22:23:13
102,149,317
0
1
null
null
null
null
UTF-8
Python
false
false
828
py
class_names = [ "jack","bob","mary","jeff","ann","pierre", "martha","clause","pablo","susan","gustav"] def create_dataset(): import random num_entries = 50000000 # 50 million lines f = open("data.txt","w") for i in range(num_entries): current = random.choice(class_names) f.write(current+"\n") f.close() ...
[ "bfaure23@gmail.com" ]
bfaure23@gmail.com
c445768f929c7b44c66322e12d001e7995a741bb
0600766f7e0691bb600e22067f710442c88fcd2d
/libs/easyutils/__init__.py
4ff09bf01c5a507e18f4aa4ee9efef32101298a4
[]
no_license
ykf666/StockHelper
588a0312fe583ab45e7db1c958340f259978aac7
b486fc35e5610af04fae9f4921a2fc71262fdeee
refs/heads/master
2022-12-13T21:33:19.408585
2021-02-24T07:05:17
2021-02-24T07:05:17
114,801,974
1
0
null
2022-11-22T03:29:24
2017-12-19T19:12:58
Python
UTF-8
Python
false
false
69
py
from .timeutils import * from .stock import * __version__ = '1.0.0'
[ "yan.kefei@opg.cn" ]
yan.kefei@opg.cn
577b6a661b3d03722b9f84cb5c6a4b2f47486789
9c04b4480fa36f7f82003c1bc65917a4467a6de8
/labs/tests/test_stream.py
791d6433f0ddf7ae5de4a513fb2ff47d5cd19a71
[ "Apache-2.0" ]
permissive
aojea/network-performance-automation
c82d9cb99bbc4641850f44f50ed5dc5303e47eff
21a7c8bfde9ed0d6e60c12b9578b4c0060dab31b
refs/heads/master
2020-07-16T17:38:47.308520
2019-09-24T06:10:47
2019-09-24T06:10:47
205,833,997
2
1
null
null
null
null
UTF-8
Python
false
false
2,287
py
import pytest import time import stl_path from trex_stl_lib.api import * """ An example on how to use TRex for functional tests """ def test_single_continuous_stream(trex): tx_port, rx_port = trex.get_all_ports() trex.reset(ports=[tx_port, rx_port]) # create a base pkt base_pkt = Ether()/IP(src="16....
[ "antonio.ojea.garcia@gmail.com" ]
antonio.ojea.garcia@gmail.com
a146e5a7f1139e7326d4b3966a9602de0661738d
6519a3ddd2e5c9b2fceb45f18fba607bd769fa10
/basic_wallet_p/wallet.py
63bc55fc4a4cc8dd9af963cbc5707c15dede6377
[ "MIT" ]
permissive
oraclown/Blockchain
b1a528d265b1c5f293cb363588fac82cf1191859
8bc8d9499fc9075ee6b17b8c503a21f71b7e7a01
refs/heads/master
2022-08-23T14:29:22.332054
2020-05-24T20:10:35
2020-05-24T20:10:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,954
py
import streamlit as st import requests import pandas as pd def get_chain(): try: r = requests.get("http://127.0.0.1:5000/chain") except: return None, "Invalid url" try: data = r.json() except ValueError: return None, "Error: non json response" return data["chain"], "Downloaded full chain" ...
[ "owenburton@users.noreply.github.com" ]
owenburton@users.noreply.github.com
9f8a1f8c093e488c63df23323d44aad32bbf462c
9e0f08b05a4334eb6550c26de18dcf51b99b384e
/ncdeltaprocess/delta_process.py
e85338513959606d569dd9a9d8f5f7546f6e6f5c
[]
no_license
isabella232/ncdeltaprocess
93e2fcfb74a4caa21872c4ab8e5081980d9b318b
d5a52dc39d2911b55daa88ceb4601089bd55d295
refs/heads/master
2022-09-29T17:49:14.575029
2020-06-07T19:37:15
2020-06-07T19:37:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,488
py
from .document import * from . import block from . import block as bks from . import node __all__ = ['TranslatorBase', 'TranslatorQuillJS'] class TranslatorBase(object): """This is a base class for Delta formats.""" def __init__(self): self.block_registry = { # text blocks will be handled...
[ "nicholas.cole@history.ox.ac.uk" ]
nicholas.cole@history.ox.ac.uk
2e9d84f60e833682c49410d28244d43ebdd072d8
d165a02d11d91272031b0806ede495981626daf7
/Tabla de multiplicacion.py
3e91aafac04445b9ac3e313d24a47b94f7d37c2f
[]
no_license
edumarg/python_ejercises
e8eefc20cfae49923674841a8e972eb5d4c7227e
216e5b53ba0ba48ec7174576c09645967167ec35
refs/heads/master
2023-01-21T00:28:17.845448
2020-11-29T15:15:27
2020-11-29T15:15:27
316,978,812
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# Mostrar la tabla de multiplicacion de un numero determinado try: numero = int(input('Introdusca un numero entero y para mostrar su tabla de multiplicacion -Del 1 al 10-: ')) except ValueError: print('El valor introducido no es valido, por favor ingrese un valor valido)') else: rango = range(11) for r ...
[ "emargulis@hotmail.com" ]
emargulis@hotmail.com
a4a08f0d93185c5de9080c25c7875fc18341cb21
cc1597f8e6163e9d0b2dcb459c6d489eb63a9d44
/tempCode251117.py
2df436f5fa46b58f9b1345e118e34a81432ba65b
[]
no_license
dcaseGH/organicCrystals
b8634cafaff6962a6f4a5d8ebf3c1f06087959d5
edb3f8260884615f5b17f6bc6add30899cf37dbc
refs/heads/master
2020-04-07T16:35:24.801852
2018-03-07T10:59:33
2018-03-07T10:59:33
124,222,559
0
0
null
null
null
null
UTF-8
Python
false
false
1,523
py
from ase.spacegroup import crystal from ase.spacegroup import Spacegroup as ASESpacegroup from ase.atoms import Atoms import numpy as np def getSpeciesListCIF(inputFile): ''' inputFile is the name of an input file use ASE at this point to quickly parse file DOES NOTHING ABOUT FRACTIONAL OCCUPANCY...
[ "e@mail.com" ]
e@mail.com
695d647e4bc201cdcb229e2e5609d6d84c60f39d
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/quantopian_zipline/zipline-master/zipline/assets/assets.py
263430fd72952258cc7559e4a602e600bca7e555
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
46,563
py
# Copyright 2016 Quantopian, 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 writ...
[ "659338505@qq.com" ]
659338505@qq.com
819c1c3c25375fac54459fa8e1ceaf4143d591ff
20654aa141a6c70d05447badc33bbfed5b428f62
/Dinosaur/Dinosaur-final/get_train_data.py
42c7b84c6987442c0c34903692ba9fb29cd02176
[]
no_license
my0sotis/GameBots
6dc3464606ba5a2dc8fe1c637fd705f850c0cf4e
ff090c8af1916a693381766203997af63bdc13ee
refs/heads/main
2023-03-18T23:12:30.397164
2021-03-15T12:43:42
2021-03-15T12:43:42
347,962,791
1
0
null
null
null
null
UTF-8
Python
false
false
2,275
py
# Developed by 刘晓林 # update by 高战立 import numpy as np from old_grab import grab_screen import cv2 import time from get_key import key_check import os starting_value = 1 # 存储输入的操作,output[0] = 1代表执行跳的操作 def keys_to_output(keys): output = [0,0] if 'space' in keys: output[0] = 1 else: output[1...
[ "35601060+my0sotis@users.noreply.github.com" ]
35601060+my0sotis@users.noreply.github.com
42699e3531f4f25037f2eb9c5851677670f8743b
5f6ae52636b33f55c46f70aa1baf2a670e98bd87
/setup.py
9675b617e9378e0ab7de4fa3d20c5c31907fc572
[]
no_license
AstroKolb/stellar-environments
5c74011c0e213220bdbf6e40d1682815dae05042
d5158b864c731ced65ad78565c9ce73888dc0154
refs/heads/master
2021-05-06T04:04:07.865419
2018-02-19T23:34:51
2018-02-19T23:34:51
114,911,801
0
1
null
null
null
null
UTF-8
Python
false
false
225
py
import os # open icons file icons = open('icons') # determine prefix prefix = '' for LINE in icons: if 'prefix' in LINE: prefix = LINE.split("'")[1] # copy icons file os.system('cp -p icons output/'+prefix+'.icons')
[ "astro.cekolb@gmail.com" ]
astro.cekolb@gmail.com
99e84b7ea2bd7236f43997768a66d9d61bebd36f
d48bd4f305b834a94435e79ad93471ae419b0782
/tests/factories/promo.py
31ba9379d2650484da7d5377af34eb27e0f3c668
[ "MIT" ]
permissive
stefanitsky/yandex_market_language
aeec6d0e7828b33d32587d2a3f5511646cca680f
e17595b556fc55e183cf366227b2739c5c6178dc
refs/heads/master
2021-11-04T18:17:06.973033
2021-09-10T11:40:55
2021-09-10T11:40:55
250,661,059
9
7
MIT
2021-09-01T14:12:08
2020-03-27T22:21:23
Python
UTF-8
Python
false
false
1,719
py
from yandex_market_language import models from faker import Faker fake = Faker() def create_random_product( offer_id=fake.pystr(), category_id=fake.pystr(), ) -> "models.Product": return models.Product(offer_id, category_id) Product = create_random_product def create_random_purchase( required_qua...
[ "stefanitsky.mozdor@gmail.com" ]
stefanitsky.mozdor@gmail.com
fe860a0b07590640e45f33cac562b0db9e321232
6b43767550330715fbfbf3bace4be5ab5d551066
/projects/scapy/pcap_fuzzer.py
aaf1f5ffb439072c3f613eed5b38a948b2b6ee9f
[ "Apache-2.0" ]
permissive
jfoote/oss-fuzz
7007cece101b8452acb2970b179410cab7a9d7ad
3510e3e3b3a4aee9d8d517abeb9a12f284480727
refs/heads/master
2021-07-02T10:58:00.913127
2021-05-17T17:17:08
2021-05-17T17:17:08
368,248,397
1
0
Apache-2.0
2021-05-17T16:12:45
2021-05-17T16:12:45
null
UTF-8
Python
false
false
957
py
#!/usr/bin/python3 # Copyright 2020 Google LLC # # 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 ag...
[ "noreply@github.com" ]
jfoote.noreply@github.com
417c2c2bac412b2144f231650fc8727ff90c72db
343bd6d6ef8d40e4bddbfef70feb78351faac1ca
/Scrap/old/subir_tipo_cambio.py
1329f3b1b4ec67179ecc6d05119f0f665b967afb
[]
no_license
diego-san/conmanzanas
1462a214a27eaaba07adb4b15e3140a96d94206e
5b9f8c17a7f9da33bd71df8365e5b8e0c6263b41
refs/heads/master
2020-08-13T01:14:17.470222
2019-12-13T12:54:26
2019-12-13T12:54:26
189,672,325
5
1
null
null
null
null
UTF-8
Python
false
false
706
py
import json import sqlite3 def ac(name): name = name.replace('á','a') name = name.replace('é', 'e') name = name.replace('í', 'i') name = name.replace('ó', 'o') name = name.replace('ú', 'u') return (name) with open('Json/tipo_cambio.json') as file: moneda= json.load(file) for m in moneda[...
[ "diego.sanchez@gropoz.com" ]
diego.sanchez@gropoz.com
1173831ef3cd2368f9d6b8d67bdd2394bd694bec
5b91f6e11509e40401dd404cf8eb4097eeada5a7
/fb.py
ce3203e819be3663042a2c8ac251361214f052c9
[]
no_license
corootxnova/facebook-toolkit
83a97ae1a09daa080de8375bbb1f29e148fe4f94
55ba00879ed93d4969a2c12303406c71eecf7651
refs/heads/master
2022-12-08T18:15:34.365733
2020-09-09T09:44:35
2020-09-09T09:44:35
289,542,489
1
0
null
null
null
null
UTF-8
Python
false
false
6,632
py
try: from selenium import webdriver from time import sleep from colored import fg, attr except: print('[-] Please Install Selenium And Colored') sleep(5) print(fg('#f1c40f')+''' ███████╗ █████╗ ██████╗███████╗██████╗ ██████╗ ██████╗ ██╗ ██╗ ██╔════╝██╔══██╗██╔════╝██╔════╝██╔══██╗██╔═══██╗██╔══...
[ "noreply@github.com" ]
corootxnova.noreply@github.com
5d67b71c35158445080ba259360d58682d8c9eb1
86f967332ca6b8b7ed291b8fd0e398c451f51e50
/小猪佩奇/venv/Scripts/pip-script.py
46f55b5ccfe25512986e353a6b91f893ef48aa03
[]
no_license
futurefuturehx/HX
df71e290db4f81f0f385de8a1202746614696500
a202fc0e8bea64f640abc6ca2e9374343ad53808
refs/heads/master
2020-03-16T13:28:51.802692
2018-06-06T01:42:24
2018-06-06T01:42:24
132,691,584
0
0
null
null
null
null
MacCentralEurope
Python
false
false
397
py
#!E:\HX\÷«ń‹python\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "360574435@qq.com" ]
360574435@qq.com
6507f5d6e70cf961a015eeebf81dddaca72965ce
b1585dd0bf02b08e3938bd84352bfe062eb9aaf2
/docs/components_page/components/__tests__/wrappers.py
16119b8bbc803a7b8359827fd20d947818c5fa1c
[ "Apache-2.0" ]
permissive
astewart19/dash-bootstrap-components
1c326ebf9e0a037118ffa09aab7b021ee0884d74
79c0f19e139f48862fcc6e84ec9c6c14c343fbe4
refs/heads/main
2023-06-09T23:29:30.361196
2021-06-19T21:58:28
2021-06-19T21:58:28
379,700,567
0
0
Apache-2.0
2021-06-23T18:48:59
2021-06-23T18:48:58
null
UTF-8
Python
false
false
629
py
PY_WRAPPER = """ import dash import dash_bootstrap_components as dbc app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP]) {snippet} app.layout = html.Div([{components}]) """ R_WRAPPER = """ library(dash) library(dashBootstrapComponents) library(dashHtmlComponents) app <- Dash$new(external_stylesheets = dbc...
[ "tomcbegley@gmail.com" ]
tomcbegley@gmail.com
b99d9feb1836a954223ce00dbe77a3ffac8d7247
6b811ff3b20181bea493bbf94932e2c2a4245c5a
/tutorial/spiders/test_spider.py
e61d3ac1ffedf51792528e0441119ff1440a9293
[]
no_license
strongball/ecommerce-spider-project
0a475457cb23c1c199db2baaed01d3464b751ffe
f3251a90d058fda02cd767400090b185084fcaf8
refs/heads/master
2022-03-01T13:02:09.419765
2018-12-21T15:33:17
2018-12-21T15:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.contrib.linkextractors import LinkExtractor from tutorial.items import TorrentItem class MininovaSpider(CrawlSpider): name = 'mininova' allowed_domains = ['mininova.org'] start_urls = ['http://www.mininova.org/'] rules = [Rule(LinkExtrac...
[ "ms0407954@gmail.com" ]
ms0407954@gmail.com
1d1bc387939be6a2d1eb78a7319a31b50b33c9b9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02664/s534445203.py
7254791b5bbd97247e746caa1a1da0a5e629cad5
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
s=input() print(s.replace("?", "D"))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
955ccffd058a8abc739459315c6ca73e98a72e3d
fcf704aaa4ec7827aa826c341c89f7d5fcb9477e
/lang/programming/python/opencv/模糊检测/detect_blur.py
f0556030835bdebbebad95f7305dc08cc0db1c3d
[]
no_license
dlxj/doc
afe470f465617bd239b5b4dc8b546eb82cf115c6
b4a9ddcc2820fd0e3c9bbd81c26a8fa35f348c23
refs/heads/master
2023-08-05T06:20:05.573100
2023-08-05T03:48:29
2023-08-05T03:48:29
203,584,726
10
0
null
2022-12-15T08:14:58
2019-08-21T12:58:20
Jupyter Notebook
UTF-8
Python
false
false
2,003
py
# detect_blur.py # https://yanshilin.xyz/%e4%bd%bf%e7%94%a8opencv%e5%af%b9%e6%89%8b%e6%9c%ba%e4%b8%ad%e7%85%a7%e7%89%87%e8%bf%9b%e8%a1%8c%e6%a8%a1%e7%b3%8a%e6%a3%80%e6%b5%8b/ # import the necessary packages from imutils import paths import argparse import cv2 import numpy as np def variance_of_laplacian(image): # co...
[ "guandong@qq.com" ]
guandong@qq.com
1e234e2f94b8e313965fe7fb2d4cef35a9ae56fb
da5bc6efaebc9ff015938d207b25c7804bc03b33
/15_loop_quiz/quiz01/quiz01_5.py
fa22245ca580bcbc03c3005fd4fa5565cc48c0cb
[]
no_license
codud0954/megait_python_20201116
b0f68f50a1e0d41c3c35535e718d5a236a7b1a98
a71f57d4332027406953599612cd014de2d26713
refs/heads/master
2023-01-31T11:14:27.611468
2020-12-18T09:03:11
2020-12-18T09:03:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
# 수를 입력 받고 그 수가 소수인지 아닌지 판별 num = int(input("수를 입력하세요: ")) is_prime = True if num != 2: for i in range(2, num): if num % i == 0: is_prime = False break if is_prime: print("소수입니다.") else: print("소수가 아닙니다.")
[ "noreply@github.com" ]
codud0954.noreply@github.com
ef9df75ae18551d900c9219eef16919d8b4567f1
7f09805ebff6d8604210b7a1118c4103268561ea
/bakery/admin.py
71c1f2084d4ab2d124001249f42f5d7eb6e4b0f9
[]
no_license
iam-hitesh/bakery-management
02061bbb1d05a661c3138a9c4127e48d30e553da
28ff62bf21cd7a5ac48c6e396f43c7ccedfc6032
refs/heads/main
2023-02-24T00:34:59.253570
2021-01-26T18:06:25
2021-01-26T18:06:25
333,172,020
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from django.contrib import admin import bakery.models as models admin.site.register(models.User) admin.site.register(models.BakeryIngredient) admin.site.register(models.BakeryItemIngredient) admin.site.register(models.Order)
[ "hitesh@shortcastle.com" ]
hitesh@shortcastle.com
e1a694282c9b54bd1ac651bfa251ebc7cbb84d76
53e65ac900eeae3dcf2e7203e3b302c4bd7b33e5
/main.py
91188246ef419500d321929a196f1f5a671a3b5d
[]
no_license
bells64/count_liters
81c58a477e9c79ced381cbe06e0d979e001ee1b9
1bf942a4f5e17cac1e2b6a64f5ce36e05c829288
refs/heads/master
2020-09-22T17:41:08.300154
2019-12-02T05:03:07
2019-12-02T05:03:07
225,289,351
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
txt = 'helllllllo' def count(a, char): count = 0 for i in a: if i == char: count += 1 return count print(count(txt, 'l'))
[ "bells64@github.com" ]
bells64@github.com
98b50646239bb17d4ade8aa489894d42c6bb1794
d602a31dcd5e1cb2fff4a4d7eb5413f27c420f2f
/random_forest_error.py
2894a83a8e48ac41addf3259cc3747f7301ee4b9
[]
no_license
TheOpti/classification-experiments
f40fe44c844497e702e4d65c10421914d9b5b013
d8e6d57d2df3f4fbbbb80e6ed2e1ae25be9eec98
refs/heads/master
2020-03-06T19:00:41.958843
2018-06-11T21:56:01
2018-06-11T21:56:01
127,018,733
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
import numpy as np import matplotlib.pyplot as plt from sklearn.datasets import load_wine, load_digits from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import cross_val_score import os if not os.path.exists('visualizations'): os.makedirs('visualizations') np.random.seed...
[ "wieckowski.piotr.93@gmail.com" ]
wieckowski.piotr.93@gmail.com
7c6373d2a700c8aad6d3d29622b179179f39ac31
cbfa01422f122b75cec001bfc7649af1ca2d56dc
/piscine_python_django/d01/ex02/var_to_dict.py
f0e9659e0cd1db125c0ae0cf4fc22b728a4b3aba
[]
no_license
gvannest/42-projects
bb16e0f4625563c3198e620ffa0787cb06ba4041
11cca79e5c662986cbdf1622a02c77da59c58987
refs/heads/master
2022-12-10T01:48:59.253163
2019-08-07T13:43:19
2019-08-07T13:43:19
112,237,754
1
0
null
2022-12-08T04:57:19
2017-11-27T19:16:42
Python
UTF-8
Python
false
false
921
py
def create_dict(): d = [ ('Hendrix' , '1942'), ('Allman' , '1946'), ('King' , '1925'), ('Clapton' , '1945'), ('Johnson' , '1911'), ('Berry' , '1926'), ('Vaughan' , '1954'), ('Cooder' , '1947'), ('Page' , '1...
[ "gautier.vanneste42@gmail.com" ]
gautier.vanneste42@gmail.com
47b80596a317932a80e48faa73c99d137bc82e2c
80b6685155881209bc18bb71ff1a9c82ca0508d2
/helper_classes/test_data/filenames.py
55fe80acf366bd23355817832a6801a64c9a0db8
[]
no_license
DarksightKellar/HMS
7cd96b36a0b51cab350dfe75a2d29b9e4f184ba2
e7357310f514e34e0afcd32d8bfbcc52d2c2c395
refs/heads/master
2022-02-16T17:34:37.242089
2019-09-19T13:46:16
2019-09-19T13:46:16
193,266,139
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
sprint01 = 'helper_classes/test_data/sprint_early/sprint01.xml' sprint02 = 'helper_classes/test_data/sprint_early/sprint02.xml' sprint03 = 'helper_classes/test_data/sprint_early/sprint03.xml' sprint04 = 'helper_classes/test_data/sprint_early/sprint04.xml' sprint05 = 'helper_classes/test_data/sprint_early/sprint05.xml' ...
[ "kellar.base09@gmail.com" ]
kellar.base09@gmail.com
6a74075439eb10e19dd38ffdfffc1858330ec6ae
a60c33fc740bf4941a9b5445fd6e5ad19d61e571
/基础/案例/(10,20)按合数质数分类.py
3dc6a32d154ee918af76e5674875e4044bd0671e
[]
no_license
unixcs/python_study
6e3bc976b6a4e8d2c4666410a3741f00394fdeac
8a4e4b943f9a8136eddb1f65478592fd9c4efd8a
refs/heads/master
2023-07-12T18:41:22.376261
2021-08-15T14:59:16
2021-08-15T14:59:16
395,249,975
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
for num in range (10,20): for i in range(2,num): if num % i == 0: print(num , '是合数') break else: print(num , '是质数') break
[ "unixcs@qq.com" ]
unixcs@qq.com
fb118d00ae7da40b529f47a972bbc6ab70c24353
e2de3bcf4466a8542c94a973228026ca4d7ba46a
/test.py
c20c6c76ba914627e9cc9e5819963c38cd1d5f54
[]
no_license
Grayosn/PilotTV
ce6147a5e3f0b08f19cf1a8c0f2d43761b97bd9a
748b4e0f7ea9b8f09358cd9bff3029498144445a
refs/heads/master
2016-09-13T22:08:56.338445
2016-04-21T09:10:43
2016-04-21T09:10:43
56,573,511
0
0
null
2016-04-20T02:18:41
2016-04-19T07:12:30
Python
UTF-8
Python
false
false
3,046
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException...
[ "Grayson@pilottv.com.tw" ]
Grayson@pilottv.com.tw
c5d8fa1842e47575ae26b3fc8e1dd5f7fdb9342a
5bae8f94dd4ab5779d2f735c3aa6b9bc1b2dc6ae
/vcf_tools/vcf2xpclr.py
857caaf612f99a4329a502991dd06cb0791d8364
[]
no_license
stsmall/Wb_sWGA
f9dfc03e5137ad392be13a95a808fe95b26df6eb
6d0b25a7999459c6468fbaa5a1ba10d290ed449e
refs/heads/master
2020-06-30T12:09:21.054461
2020-05-06T17:14:41
2020-05-06T17:14:41
56,272,654
0
2
null
null
null
null
UTF-8
Python
false
false
3,706
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Oct 18 16:09:29 2017 @author: stsmall creates input file for XPCLR, the centimorgan stuff is still a bit wooly. In Wb the recombination rate is 4x greater than the mutation rate. Assuming uniform recombination the distance between 2 snps to have a prob o...
[ "stsmall@gmail.com" ]
stsmall@gmail.com
2ceb6ea206bc87d1740db3a9bab33f2d5924002c
d5d3851edf71f6e52521838b121854a1aafc743c
/mqtt/publisher.py
e3e88cf186735a36c0decad49be03feb7fb3b470
[]
no_license
Indra-Sunariyana/netprog_course
fb7a4c9d17a86486939849f537d18b113a5e3417
c39f0db8790398403fcf664e2c12c842df5aff50
refs/heads/master
2022-07-12T06:21:45.765125
2020-05-18T03:09:34
2020-05-18T03:09:34
264,425,200
1
0
null
2020-05-16T11:48:01
2020-05-16T11:48:00
null
UTF-8
Python
false
false
1,465
py
# Thanks to: https://techtutorialsx.com/2017/04/14/python-publishing-messages-to-mqtt-topic/ """Publish a Topic to MQTT Broker""" import paho.mqtt.client as mqttClient import time def on_connect(client, userdata, flags, rc): if rc == 0: print('Connected to broker') global Connected ...
[ "rudyhend@gmail.com" ]
rudyhend@gmail.com
0c70d50de891b12b2414c3315866ce401076383b
70be7c9588cef203c813a1dc6abaf490ffce75ab
/alexa-program/com/vmware/cis/tagging_client.py
44daf861ae34246996014ea45c8a33eb6ad36784
[]
no_license
taromurata/TDP2018_VMCAPI
3268fa7b62ffd820ac580beab50278ddcfa108cc
5d395700ab3d0d1d45b497e48beab8c366fca9f5
refs/heads/master
2020-03-21T17:24:29.583217
2018-09-12T02:21:01
2018-09-12T02:21:01
138,830,114
1
1
null
2018-06-27T10:12:31
2018-06-27T04:37:12
null
UTF-8
Python
false
false
100,505
py
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2018 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.cis.tagging. #----------------------------------------------------------------------...
[ "taro.murata.1992@gmail.com" ]
taro.murata.1992@gmail.com
033a87d68fe01730b90c3c184a037d141c074b83
31e32761e3572f8adeb690053ebfcc26390a87b5
/pyCollections/search.py
1b92abd3135f09fd9fb590687653426f48fa4beb
[]
no_license
sanshitsharma/pySamples
738b95c758d65e3360f3ee7221591d7b78c7ba1d
ce06f1e38e0c7a142af26e8883c81b7a5dfc7edc
refs/heads/master
2021-06-05T19:01:40.279148
2021-02-02T21:52:31
2021-02-02T21:52:31
110,218,258
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
#!/usr/bin/python class Search: ''' @params: arr - array of items in sorted order @params: val - value to be serached @return: index of val if found in array else, (-(insertion)-1) where insertion is the index at which val would be inserted ''' def binarySearch(self, arr, val)...
[ "sansshar@cisco.com" ]
sansshar@cisco.com
a6f137a79a1e01fabe2fd1eb2e860908d545ca92
1ab5f49acd587523be1d74111cf7e5aef340c12f
/analysis/regular_array_monte_carlo.py
305734c3fd0c3b08a362ebb5a886ffadd6ddc1af
[ "MIT" ]
permissive
AndrewKirby2/data_synthesis
b2837d302eb914bc84d1be4aa740caef32a00c41
656858137a348fd5dcb57bcd04bdfece2b9eac1b
refs/heads/main
2023-04-24T01:08:28.457141
2021-05-17T16:32:22
2021-05-17T16:32:22
351,389,448
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
"""Monte carlo sampling of regular arrays and then plot (x1,y1,x2,y2,x3,y3) for 3 most important turbines""" import sys import matplotlib.pyplot as plt sys.path.append(r'/home/andrewkirby72/phd_work/data_synthesis') from regular_array_sampling.functions import regular_array_monte_carlo num_iters = 10000 fig = plt.fi...
[ "andrew.kirby@trinity.ox.ac.uk" ]
andrew.kirby@trinity.ox.ac.uk
ca8d11df99a0ea2ff359eea46a0a99cd4babfd09
3aae82b0a2a09e9ff278adf21dfa7c31299f3930
/tut_travello/migrations/0001_initial.py
25c92ff84e10a99fa855efaf431b38b0edae06cc
[]
no_license
aakriti1435/Django-Basic-Functionality-of-Travelling-website
6a2460991b3044f852410e60af154cab9274152d
88c36c24abf480377d66af87c767aba9b5bf1918
refs/heads/master
2022-08-12T05:28:46.212976
2020-05-21T16:57:47
2020-05-21T16:57:47
265,903,893
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# Generated by Django 2.0.6 on 2019-12-24 10:11 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Destination', fields=[ ('id', models.AutoFi...
[ "writetoaakriti07@gmail.com" ]
writetoaakriti07@gmail.com
1b7223ca1585505983c20d08e3c6eab1fb12ce82
339406ea63e171fb2203ad3db15688e2a809a638
/app/utils/search.py
65488b2dc73fd810e2ca7fa9d8a38ee76f38f1de
[]
no_license
halcyonbrowser/backend
78410ae89df2fc6c4bb4f958a7ee1cd01a1ad7ac
d4b74d5f9d0cf6b017cb7c59a4e742b261f45e24
refs/heads/master
2021-01-11T18:47:28.819705
2017-01-23T05:42:09
2017-01-23T05:42:09
79,625,005
1
0
null
null
null
null
UTF-8
Python
false
false
936
py
from os import environ from googleapiclient.discovery import build def search(search_term): """ Search Google for the uttered search term :param search_term:string - search term :return: SearchResultsList schema """ def google_search(search_term, api_key, cse_id, **kwargs): service = build("customsea...
[ "alastairparagas@gmail.com" ]
alastairparagas@gmail.com
5b52532b4bfca7921cb744f8d364b9af04668166
ef0a6de88bef600cef5f6fb48fd35b904ad24b06
/Serverv2.py
cd76beffddcca9d64caf0aaa10f4a37ea9e62825
[]
no_license
nicolosinapitupulu/18213008-18213041
ac3472a633eacb119e631ca278b6283034d77ba4
5aeca77b627f14913b4b62027c068ce07b9570a6
refs/heads/master
2021-01-17T09:09:43.717942
2016-04-28T14:29:30
2016-04-28T14:29:30
42,163,469
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
# Name/NIM : Nicholas Posma Nasution/18213008 - Indra Nicolosi Waskita/18213041 # Day, Date : Wednesday, 16 September 2015 # File : Serverv2.py import SocketServer, threading, sys, os class MyTCPHandler(SocketServer.BaseRequestHandler): def handle(self): print str(self.client_address[0]) + " connected" menu = ...
[ "nicolosinapitupulu@gmail.com" ]
nicolosinapitupulu@gmail.com
cf4fb3e62cf28791bbe1e41cd0efebf220cb2c7a
548430b511497e623b2119f6f5531ddc4deca693
/PatternDetection_8_November/TreeFunctions.py
d40b330542902fcd5f6ec2f8ca96e48fac71a1a9
[]
no_license
xiziwang/aa-database-builder
e388d842456bed5bc77b0a05815599e979141843
8f185a872560fa01bd020fe5d40ab8cceeee72e7
refs/heads/master
2021-01-19T16:03:01.378226
2017-06-13T21:24:46
2017-06-13T21:24:46
88,241,703
0
0
null
null
null
null
UTF-8
Python
false
false
4,583
py
from Classes import PatternString, TreeNode, Sequence, MLStripper, URLInfo def readPageInString(filename): with open (filename, "rb") as myfile: pagetext=myfile.read() pagetext=pagetext.lower() pagetext=pagetext.replace("<br>"," ") pagetext=pagetext.replace("<br/>"," ") #pagetext=pagetext.repla...
[ "wang3570@umn.edu" ]
wang3570@umn.edu
ee9a2614c35b885b1ec13fa6da9c0e3ef6a6a839
4482c4261d549eb531e74483ee9c70701bb1137c
/news/models.py
5b4a6e58ac2712ef8f4e14344f53651a86cd9da4
[]
no_license
BensonGathu/Tribune
b332b6e4f487077b76323b0dd76e535301997814
41385f7a7697bcddda54fe3a4793c05d38fd7a96
refs/heads/master
2023-06-16T08:16:00.665054
2021-07-12T08:36:29
2021-07-12T08:36:29
385,175,537
0
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
from django.db import models import datetime as dt from django.contrib.auth.models import User from tinymce.models import HTMLField # Create your models here. # class Editor(models.Model): # first_name = models.CharField(max_length= 50) # last_name = models.CharField(max_length=50) # email = models.Email...
[ "bensongathu23@gmail.com" ]
bensongathu23@gmail.com
e49a703c6d8b64cec1ef494d84c93c960e87f502
e165af04e29e028be5d9426601e003f88e227358
/Hubi_Discord/funciones/thispersondoesnotexist/helpers.py
889b0f064db288e5d93c7de1347a8e8a40513e7b
[ "MIT" ]
permissive
teehanming/Hubi_AI
3412bff4c83fdc0b3084a168e62fde0e33b281bb
1a5a2301cc80d9eeb2ecc1d1d15f24a288e1e56f
refs/heads/main
2023-08-30T04:57:57.224525
2021-11-17T03:07:05
2021-11-17T03:07:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
import hashlib from hashlib import algorithms_available __all__ = ("get_checksum_from_picture", "algorithms_available", "save_picture") def get_checksum_from_picture(picture: bytes, method: str = "md5") -> str: """Calculate the checksum of the provided picture, using the desired method. Available met...
[ "noreply@github.com" ]
teehanming.noreply@github.com
725c0c6f6b937e6ca9589f2b1068b6dfb8026256
8bb26300ef3db75053203e45b20e40de14830ead
/nccdc/myria/filter_distinct_query.py
68d30f29e999642084dddf1be8177e354a8a0712
[]
no_license
uwescience/myria-demo
56b46664c8df696135e1c4bf6bd411096a649232
5b044b00d3df36b0e86e3d3c412819e52c5f50ed
refs/heads/master
2021-03-12T23:32:47.259819
2014-02-09T19:11:48
2014-02-09T19:11:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,226
py
#!/usr/bin/env python """ Filter out a relevant time range in the nccdc dataset. Project out only the src and dst fields. Eliminate duplicates. Store the result in a new nccdc_filtered_distinct relation. nccdc_filtered_distinct(src,dst) :- nccdc(src, dst, timestamp, _,_,_,_), times...
[ "whitaker@cs.washington.edu" ]
whitaker@cs.washington.edu
405adb9607642dc4250bd4817cf6125d2083c5d9
686f3fec1aeff15c4040d15757c5c9be90d5da5e
/main_parallelized.py
4c3c3d2e430c8028dac5442c3cb3b9a9becf1799
[]
no_license
jendawkins/cdiff_metabolomics
6ef3a9b572002591e9f5ddc91daa5660698b08dd
0f53949b0ce762a441ed3be741d9327ec094eeca
refs/heads/master
2022-11-10T11:16:34.306032
2020-06-26T01:11:25
2020-06-26T01:11:25
265,290,750
0
0
null
null
null
null
UTF-8
Python
false
false
5,992
py
from dataLoaderCdiff import * from ml_methods import * import argparse import numpy as np import torch from torch import nn import pickle def main_parallelized(ml, lamb, zip_ixs, net, optimizer, TRAIN, TRAIN_L, epochs, weighting, regularizer, inner_dic): y_test_vec = [] y_guess_vec = [] test_running_loss ...
[ "" ]
5101143cf9adf62f78c6823662968dad578cd625
9b7b43ff0283ac27731d17caf3cfa69d7a3a894e
/Modulos_propios/Sort_Json.py
a55d01a79e8494f1b8c72a5c12c013417720812e
[]
no_license
eytati/Bot-Viajero
f97382056268af67cee5f19e10e4c38fa9d48cb2
551b8a83e9ecd1508c6c14df66149d33197ef465
refs/heads/master
2021-01-22T18:38:02.324525
2017-04-29T00:32:00
2017-04-29T00:32:11
85,096,256
0
0
null
2017-04-10T05:17:39
2017-03-15T16:32:33
HTML
UTF-8
Python
false
false
1,622
py
from bson import ObjectId from decimal import * c = getcontext() c.traps[FloatOperation] = True class Sort(): def sort_list(self, list, type): return self.sort_split(list, 0, len(list)-1, type) def sort_split(self, list, first, last_one, type): if first<last_one: split = self.s...
[ "eytati050@hotmail.com" ]
eytati050@hotmail.com
5bd0706e46f015ca95d85fbc4ceb92c1eaa899f7
ba402c1f8803774ecd7904410d03eb619d95e255
/SpiderDemo/settings.py
76b379eca12f2f19fc0db802d47039f842a3b30c
[]
no_license
993739033/SpiderDemo
c131305a2d2207c5c1bf475fd05b966ecdb081ef
6678b0882bcc37a675382efaddbf726a7c5aa313
refs/heads/master
2020-05-22T14:06:11.669733
2019-05-13T08:21:20
2019-05-13T08:21:20
186,376,347
0
0
null
null
null
null
UTF-8
Python
false
false
3,117
py
# -*- coding: utf-8 -*- # Scrapy settings for SpiderDemo project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/to...
[ "993739033" ]
993739033
cd34f5a2cb4a47abb143e99ac221b392cc89bd8c
3d9f6e0d50daaf020bb56fe87226ee16469b9a14
/piconzero/parcourstest.py
cc1be5bdd35d41516e15e2d5c734bde54b2b0080
[]
no_license
aureliengit/pc3
3fad8b7aa897f9c0a1825753d961dc6f3b0fed64
3d402a47bebca771a9da79bde3b28e4be51651db
refs/heads/master
2020-03-07T05:02:40.914928
2018-03-29T11:42:49
2018-03-29T11:42:49
127,283,875
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
import time import piconzero as pz import hcsr04 pz.setInputConfig(2,0) pz.setInputConfig(3,0) pz.init() hcsr04.init() speed = 65 i=2 try: while True: if ((pz.readInput(2)!=1) and (pz.readInput(3)!=1) and i%2==0): pz.stop() time.sleep(0.1) pz.spinRight(70) time.sleep(0.25) elif ((pz.readInput(2)!=1)...
[ "derume.aurelien@hotmail.fr" ]
derume.aurelien@hotmail.fr
20f41c377812561ce60f33c3b551a357b9c374a6
90caec6d76d44718e74c6cfacc7c5b48bbf117f2
/BodyTracking/PoseModule.py
648e498def25dc773e34c42e3f1a5f7c09b68a52
[]
no_license
cfdelv100/SampleProjects
bc002e440bd13f43d77bd3e67209ac575233388c
0ddda28d831cce65ee3ab581aa7b497b3573a811
refs/heads/main
2023-05-11T13:39:13.487180
2021-06-03T00:38:05
2021-06-03T00:38:05
350,955,935
0
0
null
2021-06-03T00:38:06
2021-03-24T05:25:23
Python
UTF-8
Python
false
false
2,073
py
import cv2 import mediapipe as mp import time class poseDetector(): def __init__(self, mode=False, upBody=False, smooth=True, detectionCon=0.5, trackCon=0.5): self.mode = mode self.upBody = upBody self.smooth = smooth self.detectionCon = detectionCon self.trackCon = trackCo...
[ "noreply@github.com" ]
cfdelv100.noreply@github.com
48cc54e2ed38c28567a4b36ff7d62f57959f1c2f
3776b41b59ae354da984afd0c765627e0a05bfb1
/pathredux.py
a18e7956d396685a723cf291929196dcb265e9e8
[]
no_license
jamesstocktonj1/Maze-Solving
118906d36299cddffcd2149dd6a64aa8ac790894
2279a1f9502d98ddfdf1dc970097ace1cfef8162
refs/heads/main
2023-06-29T06:49:12.093941
2021-07-18T15:41:09
2021-07-18T15:41:09
385,873,611
1
0
null
2021-07-18T15:41:10
2021-07-14T08:49:13
Python
UTF-8
Python
false
false
1,843
py
#path reduction algorithm #helps reduce the complexity of the maze for the solving algorithm to be run next #James Stockton #12/07/21 from pathfinding import * def deleteToNode(maze_grid, x, y): #array of the different squares to delete listToDelete = [[x, y]] atNode = False #repeats until find...
[ "james.stocktonj@gmail.com" ]
james.stocktonj@gmail.com
59e2b6b8e27f96042528b420bb574c83bd95a482
a871d05b08d6d1a6f0e8d7a9e4295d76713a838a
/app/core/tests/test_models.py
bc87b48c462f159da9e3cda8a3ffe6ede167ec6c
[ "MIT" ]
permissive
gorzelakp/recipe-app-api
b4581b1e6c6886c638a09a9731bfe643089bbee3
c20099f70d9cc07f0e683bb614f99260de507416
refs/heads/main
2023-03-08T07:33:00.246403
2021-02-25T20:31:29
2021-02-25T20:31:29
338,833,994
0
0
null
null
null
null
UTF-8
Python
false
false
2,281
py
from unittest.mock import patch from django.test import TestCase from django.contrib.auth import get_user_model from core import models def sample_user(email='test@example.com', password='123456'): return get_user_model().objects.create_user(email, password) class ModelTests(TestCase): def test_create_user...
[ "gorzelak92@gmail.com" ]
gorzelak92@gmail.com
0508696cc1419df1700fd7e46faafa7ec029f799
a13d208eaf40c8370e2e0bbdd03b54a31fd31f47
/qaysen/urls.py
19b2a8bb7badbff324dda857e0d6aee1e31e8b12
[]
no_license
Qaysen/SitioWeb
135450cabd235327073df0d3eb17c060c09b0b39
4376ebb8e45ce779200167c6991e0f2ca3af68b8
refs/heads/master
2021-01-18T15:15:17.292907
2013-01-10T21:30:15
2013-01-10T21:30:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: url(r'^$', 'sitioweb.views.inicio'), # url(r'^qaysen/', include('qaysen.foo.urls')), # Uncomment the ad...
[ "edwinpgm@outlook.com" ]
edwinpgm@outlook.com
97f335343cd2e6bfe7a48eeec8b2db867c671f1b
23c873a248b018426d4f49a91d88805e8af7eecb
/CatLaser/app/admin.py
6376b36286d36ec8bcf0fe1d47b92f143529ef17
[]
no_license
SimonF89/catLaser
77e60394fe5dfa6639e68fe2a50edc52c134b3ce
791dea3fed72e9e6dbb8f976c871b4421b114127
refs/heads/master
2021-10-18T03:56:37.690462
2019-02-13T19:22:35
2019-02-13T19:22:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,903
py
from django.contrib import admin from .models import Point, Edge, Playground, PointTypes, LaserPosition from .forms import EdgeForm class PointInline(admin.TabularInline): model = Point extra = 0 min_num = 3 def get_queryset(self, request): qs = super(PointInline, self).get_queryset(request...
[ "fritz@fzi.de" ]
fritz@fzi.de
a9fbb33df727682c11e1b15540ae7077153dae8b
0646e6797453deefc17529df135c95ff9cad24a0
/Utoutou.py
012c489d9d0c8e0ea574c62b63584705339cac81
[]
no_license
CzvZzz/Utoutou
82833449e0c79af99f06493ae5979c033ae4b746
af34794c247a0b5c3a10615fa6bcdab2e43ae5b2
refs/heads/master
2023-01-18T18:53:29.983920
2020-11-24T05:31:23
2020-11-24T05:31:23
315,527,445
1
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
import os import time import functions as ft import random import shutil def run_app(size, *houzhui): old_dirsize = [] base_disklist = [] new_disklist = [] if houzhui: houzhui = houzhui[0] #size = 10 #houzhui = '.txt' base_disklist = ft.get_disklist() # prin...
[ "2225627922@qq.com" ]
2225627922@qq.com
183457489b00900ae147a6eda4f919cc44b791ac
85e9ef01ed21fedcd84590bf78d6bd7d3128c2c5
/src/boxme_user/tests.py
84abb83f816672151e2ce21a1b7fd714ddd60667
[ "BSD-2-Clause" ]
permissive
vituocgia/boxme-users
fcf0d00f18d5466103717fc815d9d05f5354f82e
0e8238b7852e697643a35c8e306d63446f27a6d2
refs/heads/master
2020-03-08T20:27:50.548747
2018-04-06T10:47:45
2018-04-06T10:47:45
128,382,485
0
0
null
null
null
null
UTF-8
Python
false
false
21,564
py
"""BoxmeUser tests.""" from mock import patch import os import re from unittest import skipIf, skipUnless import django from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.auth.middleware import AuthenticationMiddleware from django.core import mail from django.core impor...
[ "dotiendiep@gmail.com" ]
dotiendiep@gmail.com
06a39520122965e6fb78d95ec197c866638a4c58
ebdd36e75bccc8c3f80e231b4b0409c2cceaea20
/UPTEES/pmids.py
b1ca3f99fc6e24d9f773b1b0c79b0d827f5f54b9
[]
no_license
MaximumEntropy/UPSITE
c9865dd675fe8dfd821de9d6af84aa74f224605d
77b29ce00c3e0b35d566b6935871e4dda184ec79
refs/heads/master
2021-01-10T16:19:42.139505
2015-10-28T07:32:02
2015-10-28T07:32:02
45,011,844
0
0
null
null
null
null
UTF-8
Python
false
false
4,193
py
''' Created on Mar 1, 2014 @author: Adam ''' # from pyquery import PyQuery as pq import urllib2 import xml.etree.ElementTree as ET import urllib try: import xml.etree.cElementTree as ET except ImportError: import xml.etree.ElementTree as ET def get_xml(url): if url: file = urllib.urlopen(url) ...
[ "sandeeps@andrew.cmu.edu" ]
sandeeps@andrew.cmu.edu
485b8b9c841c27300eb40533324e9c12738f4376
48e81d5d338af60abf907bc6416cff74c3e771c8
/bokeh_app/myapp.py
b1b21c7bd45bb787c66743c35f276990d9264820
[]
no_license
peterrayshen/monkey-reach
195db88f933da39783d484278c46ac058e8df6ff
a7608776c49b0c16975e81f4b895f4558fd0d9dc
refs/heads/master
2020-04-15T19:58:27.458913
2019-01-10T03:25:05
2019-01-10T03:25:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,752
py
from bokeh.io import curdoc from bokeh.layouts import row, widgetbox, column from bokeh.models import ColumnDataSource, Span from bokeh.models.widgets import Slider, Panel, Tabs from bokeh.plotting import figure import pandas as pd #rectangle sizes for spike raster plot rect_width = 0.003 rect_height = 0.7 #session ...
[ "peterrayshen@gmail.com" ]
peterrayshen@gmail.com