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
9e3769ed23384bf504e6dc9a8a92c51ee8651186
d5ad13232e3f1ced55f6956bc4cbda87925c8085
/cc_mcc_seq/coverage/coverage_stat/1_coverage_stat.py
495a50838e4e7cb74a40295b588b592c6c6f5ef4
[]
no_license
arvin580/SIBS
c0ba9a8a41f59cb333517c286f7d80300b9501a2
0cc2378bf62359ec068336ea4de16d081d0f58a4
refs/heads/master
2021-01-23T21:57:35.658443
2015-04-09T23:11:34
2015-04-09T23:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
chr=['chr1','chr2','chr3','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chr19','chr20','chr21','chr22','chrX','chrY'] for sample in range(3,13) : for ch in chr : inFile=open('../fudan1.coverage') list1=list() for line in ...
[ "sunhanice@gmail.com" ]
sunhanice@gmail.com
f6dd0869441d5a356d50e7e10e961dee504deb0e
46734ec336f502dc3d69e31428bacb9cef222a70
/examples/bq_file_load_benchmark/load_benchmark_tools/benchmark_load_table.py
cee84591f2ea51e813d6e1c94db979c177d7a5b4
[ "Apache-2.0" ]
permissive
tims/professional-services
93ef3d3083d73991d4faba2c40a8ab4ea550cca8
8c610e259217ad83dbbceeb388aa1da828d1343b
refs/heads/master
2020-12-07T20:01:07.550995
2020-02-03T07:43:31
2020-02-03T07:43:31
232,788,171
0
0
Apache-2.0
2020-01-09T10:58:05
2020-01-09T10:58:04
null
UTF-8
Python
false
false
10,178
py
# Copyright 2018 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "jferriero@google.com" ]
jferriero@google.com
4830116877968ecd4ebc6659f852aff6af73f637
69d05e7788a6facf4e5777c4b3819fa43d0f1df0
/gui/brain_labeling_gui_thalamus_v2.py
e8041a84ea17c4b97c081da7271935a7fb7af6a9
[]
no_license
xl1393/MouseBrainAtlas
e238d06a5b51ca037a25e3f79fb422f7a7367222
1e875f9f872d38c916de3e460c1e88f2ef07fa32
refs/heads/master
2021-05-09T05:14:40.721154
2018-01-27T09:24:46
2018-01-27T09:24:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,987
py
#! /usr/bin/env python import sys import os from datetime import datetime import time import json from collections import defaultdict, OrderedDict import numpy as np from PyQt4.QtCore import * from PyQt4.QtGui import * from shapely.geometry import Polygon as ShapelyPolygon from shapely.geometry import Point as Shapel...
[ "cyc3700@gmail.com" ]
cyc3700@gmail.com
729eee46f82bfd3f50b8d900822724398481b416
4fe3be1c30b2af5077cda4721d697c5c366bf3c9
/tuples_are_immutable.py
8f5253fb5d400abbb711dfe76043e90af9502a15
[]
no_license
boiidae/py4me
4ae3cd9dfd6e38fe34673dabfa43af2e6cff8a82
7012d954cb1fa713b49f6d07cd9a1133443eb410
refs/heads/master
2023-03-18T20:29:47.158557
2021-03-04T16:19:03
2021-03-04T16:19:03
344,109,190
1
0
null
null
null
null
UTF-8
Python
false
false
126
py
# Unlike a list, once you create a tuple, you cannot alter its contents - similar to a string x = [9, 8, 7] x[2] = 6 print(x)
[ "jamesbenjaminhanson@gmail.com" ]
jamesbenjaminhanson@gmail.com
e424b7999c84e1af9ea13099de164c0a69ff51db
062e82e410b2e7fa7c7beca2e3f1961c56976990
/widrow-Hoff.py
35ca66bb0d952d452f40ce277a6b59ced17874e7
[]
no_license
SilentFlame/Machine-Learning
1483b780fb7d5c0c1bc6d3a2ddabafc242b8e680
6296f66935a5b162a1c1d9a3581b97edb790fb81
refs/heads/master
2021-01-12T13:31:59.195427
2017-10-31T08:50:24
2017-10-31T08:50:24
69,379,120
12
19
null
2017-10-31T15:28:40
2016-09-27T16:58:30
Python
UTF-8
Python
false
false
3,052
py
import matplotlib.pyplot as plt from math import sqrt d1=[(1,2,7), (1,8,1), (1,7,5), (1,6,3), (1,7,8), (1,5,9), (1,4,5)] d2=[(-1,-4,-2), (-1,1,1), (-1,-1,-3), (-1,-3,2), (-1,-5,-3.25), (-1,-2,-4), (-1,-7,-1)] dataset = [(1,2,7), (1,8,1), (1,7,5), (1,6,3), (1,7,8), (1,5,9), (1,4,5), (-1,-4,-2), (-1,1,1), (-1,-1,-3), (...
[ "noreply@github.com" ]
SilentFlame.noreply@github.com
41d5b59f249d61ce0e7c3a1265c87df046d697a5
4a940f0b685540f7013a2a3ce2893fd51aafdd2c
/Week3/suffix_array_long/suffix_array_long.py
d098cceec74ee0914ece2d6e31458c9ea1fcb97c
[]
no_license
QilinGu/String
11028223847f962cc0ba7a630dcb5c87c4fa4eb4
46efcdc35e5ebe47025bb1f9743ad80b41b360ca
refs/heads/master
2021-01-11T17:43:22.171353
2016-09-10T10:25:56
2016-09-10T10:25:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,420
py
# python3 import sys def sort_characters(text): order = [None for i in range(len(text))] alpha = len(set(text)) my_hash = {} for i, each in enumerate(sorted(set(text))): my_hash[each] = i count = [0 for i in range(alpha)] for i in range(0, len(text)): count[my_hash[text[i]]] += 1 for j in rang...
[ "arsen.khadikov@gmail.com" ]
arsen.khadikov@gmail.com
5756879bd7614530d66100e9e2ff74d43a089301
850d12238e47b1acebaf826eae70ac718409db9e
/web/articles/tests/factories.py
a58eacbdb6f012926236a735120046bc7fe25385
[]
no_license
ictkovalenko/django-market-search-pytest
3dd2cb50902d645054e99cffad4f57cdbec6ffad
ed005a506db644f5d6b4c777ed3d0c01c9aedba7
refs/heads/master
2020-04-13T12:25:07.682770
2018-12-26T17:12:30
2018-12-26T17:12:30
163,201,294
0
1
null
null
null
null
UTF-8
Python
false
false
535
py
import factory.faker from django.utils.text import slugify from web.articles.models import Article, Category class CategoryFactory(factory.django.DjangoModelFactory): class Meta: model = Category title = factory.Faker('word') slug = factory.LazyAttribute(lambda x: slugify(x.title)) class Artic...
[ "ict.kovalenko@gmail.com" ]
ict.kovalenko@gmail.com
2f0c21da46fc0a27a43c211905c51a9b98e78cad
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v4/googleads-py/google/ads/googleads/v4/resources/types/campaign_criterion_simulation.py
b270fa50fac0d5f5919e4dcac9d75a76b8179a43
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,103
py
# -*- coding: utf-8 -*- # 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
f7ca419508798f1929999e5cb30894c192fb6861
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/70/usersdata/164/36211/submittedfiles/impedimento.py
d16709d5193363df8e0a3b6b23963d9cbe92b2b9
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO AQUI L=int(input('Digite a posição de L: ')) R=int(input('Digite a posição de R: ')) D=int(input('Digite a posição de D: ')) if (R>50) and (L<R) and (R>D): print('S') else: print('N')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
3d70ab16d2c568cd1c582f59087249c3ee44045e
509c3aeded2b8a5abf3e536cd3283d97c67a93d9
/Web/WebProgramming/server.py
122568483a763ba300ab6f90882dfdb926fb5463
[]
no_license
Kimmirikwa/bc-13-Inventory_Management
6849bfdbbbcb857bcf895e2fb9fa89674d52e3b7
1dd100ce1a5c4f09b509487f74d82cd5c90d50e7
refs/heads/master
2020-06-13T16:19:53.838733
2016-12-06T14:45:40
2016-12-06T14:45:40
75,712,613
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from functools import wraps from flask import Flask, url_for, request, render_template, Response #method to carry out the authentication app = Flask(__name__) @app.route("/") def sign_in(): pass @app.route("/addasset", methods=["GET","POST"]) def add_asset(): pass @app.route("/addusers") def add_users(): ...
[ "kimrodrikwa@gmail.com" ]
kimrodrikwa@gmail.com
a4aa0917081417465a81c6bdb13eed8cd38f6553
ffba2f65351e14e89b7c195c0767587367f22fda
/venv/bin/easy_install-2.7
71b48de2aa2bb3f2791931a97955761f306a9858
[]
no_license
vitor-araujo/FlaskSimpleBlog
8e4eba054017dbf4f909047165562a1a07d152c5
d6f9b7b73efe54b4d62c104ae14a675a2502ff39
refs/heads/master
2021-09-01T04:13:04.278745
2017-12-24T17:40:03
2017-12-24T17:40:03
115,278,350
0
0
null
null
null
null
UTF-8
Python
false
false
255
7
#!/home/vitor/flaskblog/venv/bin/python2 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "araujo.vitorgabriel@gmail.com" ]
araujo.vitorgabriel@gmail.com
3e436904f0f2dde6f5b4715e4ef0bab9ee10fb76
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/43.py
066bc53d2e703644911d495cf32ef62e7768e710
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
# Time: O((logn)^2) # Space: O(logn) def tidy_numbers(): digits = map(int, list(raw_input().strip())) for i in reversed(xrange(1, len(digits))): if digits[i] == 0 or digits[i] < digits[i-1]: for j in xrange(i, len(digits)): digits[j] = 9 for j in reversed(xrange...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1db7145016e10f8994357be4b75ac8b745805ec2
bdaf214a6fc12d426f4edea860d12ca8222d3872
/grafica/basic_shapes.py
62abb1bfa797e4d875a505da45ef2ed8c6396fa9
[]
no_license
Frocoa/PoolParty
79c5dfca2836996e17652acd0cc53a06750f75cf
34cc4d197c4c48f355ed18668b0d58d402f60a2f
refs/heads/main
2023-06-24T01:29:35.191776
2021-07-27T00:43:32
2021-07-27T00:43:32
387,316,551
0
0
null
null
null
null
UTF-8
Python
false
false
11,871
py
# coding=utf-8 """Vertices and indices for a variety of simple shapes""" import math __author__ = "Daniel Calderon" __license__ = "MIT" # A simple class container to store vertices and indices that define a shape class Shape: def __init__(self, vertices, indices, textureFileName=None): self.vertices = v...
[ "Frocoa@gmail.com" ]
Frocoa@gmail.com
0d559cf6aa2322ca323012ec31353caa7d42bdbe
24e0d8e58b5b8ec000e8e9069d57508fffae9687
/mihirfybsc1234.py
fc018795ec68af435289de073aa33b228371dfc7
[]
no_license
black-organisation/python
7eb368b0a4b4ede09aac27392d65f75236aebd8e
0979a18fab5209b7a47efd49a1a850c6ee380f62
refs/heads/master
2020-07-11T21:28:31.104714
2019-08-27T07:59:24
2019-08-27T07:59:24
204,647,368
0
2
null
2019-08-27T14:18:25
2019-08-27T07:37:54
Python
UTF-8
Python
false
false
19
py
x=5 print(type(x))
[ "noreply@github.com" ]
black-organisation.noreply@github.com
024f84553a9236e5be76e600a7b4b5b301bf7e7d
131c0b883c53430fa57042f59469c7a032704dd8
/venv/Scripts/jp.py
a22dfb2455b6fb43d79b84c9e97c15c8ea5961df
[]
no_license
gilchristc/flask_weather_app
7f4379e35f4967e6dadd98ad7c30b245e67ffb7a
e009b5469f7a44b8cabb2f39d6967b806694ed9c
refs/heads/main
2023-02-09T23:05:51.145819
2020-12-21T19:46:36
2020-12-21T19:46:36
322,373,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,757
py
#!c:\users\chesmere\documents\projects\flask_weather_app\venv\scripts\python.exe import sys import json import argparse from pprint import pformat import jmespath from jmespath import exceptions def main(): parser = argparse.ArgumentParser() parser.add_argument('expression') parser.add_argument('-f', '-...
[ "57827322+gilchristc@users.noreply.github.com" ]
57827322+gilchristc@users.noreply.github.com
e46ce34addebb050347cdd470f4cd7e400c7e47f
1f91f88b17b35a9306b6a279ec338921a22c78d0
/team_scripts/nakama_exp078_EffNetB7.py
2f9a4e189977fac7f91c32181c22497ed4064c8c
[ "MIT" ]
permissive
yuv4r4j/kaggle-rfcx
64d02102a78a295e14e8a904e2a34bb7772d2cb4
c3573d014d99312b58882e7b939de6c1055129b1
refs/heads/main
2023-03-03T01:38:14.999693
2021-02-18T10:31:29
2021-02-18T10:31:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
42,264
py
import os import random import time import warnings import audiomentations as A import kornia.augmentation as K import librosa import numpy as np import pandas as pd import soundfile as sf import timm import torch import torch.nn as nn import torch.nn.functional as F from pathlib import Path from sklearn.model_selec...
[ "arabiannight1994@yahoo.co.jp" ]
arabiannight1994@yahoo.co.jp
cd75e6a6f0237942d457b0bc7d92531f8d7e6677
6f57bd46d35bf3c1e834afb1adb695b6b2db2f1a
/venv/bin/pip3
a5689898a7192795d87cb7f2feec0a66a261fad8
[]
no_license
shwethabm/Disaster-management-app
c8da45ae59a72940fb31888c5789a6f6cbbf93aa
f317bd51b566ba01568c12d4db914c8944cea895
refs/heads/master
2020-08-05T18:16:19.362955
2019-10-23T14:34:35
2019-10-23T14:34:35
212,649,496
0
0
null
2019-10-03T18:31:31
2019-10-03T18:24:17
null
UTF-8
Python
false
false
399
#!/home/acer/PycharmProject/disapp/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __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.ex...
[ "shwethabmenon23@gmail.com" ]
shwethabmenon23@gmail.com
1a502113ddd4d449192d3e358b9feb2ec0648093
89a147200171fc044d333c54a967211cb8bf4df5
/revjo/_cli.py
57815a2163c4b9fd1f4fd4f4ff2fc3b1a60db8d0
[ "MIT" ]
permissive
wtnb75/revjo
fa70d907edfd2c753c8929b623ee44470e967a1e
02c9bd258dea5f24519e67decd2eb97c3f4bd9aa
refs/heads/main
2023-03-30T21:38:34.657664
2021-03-30T13:18:31
2021-03-30T13:18:31
351,506,019
0
0
MIT
2021-03-30T13:18:32
2021-03-25T16:36:19
Python
UTF-8
Python
false
false
1,358
py
import sys import json import functools from logging import getLogger, basicConfig, INFO, DEBUG import click from .version import VERSION from .revjo import convert log = getLogger(__name__) @click.version_option(version=VERSION, prog_name="revjo") @click.group(invoke_without_command=True) @click.pass_context def cl...
[ "noreply@github.com" ]
wtnb75.noreply@github.com
14702de94ce9640e0715dfc9cb602737d182fc45
2d0585b6f2a5d832d71f0a19d2839671491da1d2
/uniques.py
98c42563c70ba5f354505d4c1f938072946e01cc
[]
no_license
oguzhanozdmr/uniquesTxtFile
2237918e3f4323d303133fca5eb0f5a0b31a7796
ca217de3b7e336982b19cf1c892f1a44bb241958
refs/heads/master
2023-03-20T06:08:52.444896
2021-03-13T07:44:00
2021-03-13T07:44:00
347,272,525
0
0
null
null
null
null
UTF-8
Python
false
false
6,870
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: ademoguzhanozdemir """ import sys import os import re __params = {"-infile": None, "-outfile": None, "-sort": False, "-deleteblank": False, "-casesensitive": True} __required_params = {"-infile": True, ...
[ "ademoguzhanozdmr@gmail.com" ]
ademoguzhanozdmr@gmail.com
d65dde81234a1074d1507888f217ad2b8470b0b0
f302716a8a088279775e23df6daf80d8524aec24
/tools/railCipher.py
bc77ec3604fa9f40be11735496b9adf02fe04172
[]
no_license
omemishra/shellterlabsCTF
e1aa83faeb283d0bcea4b9dc5f1a1f69eff9e243
d13731040cb21f31f85fc6b03dfccf4b3055f509
refs/heads/master
2020-05-05T07:39:38.747873
2019-03-31T17:13:47
2019-03-31T17:13:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
#!/usr/bin/env python2 # # rail fence cipher implementation with optional offset feature # # for educational use only! (rail fence cipher is a very weak cipher.) # import sys def printFence(fence): for rail in range(len(fence)): print ''.join(fence[rail]) def encryptFence(plain, rails, off...
[ "noreply@github.com" ]
omemishra.noreply@github.com
85753b6d1cda8557c0dbee11136ee9f97f11e8be
2e3f847fda2370f1062ceb0c5c0bd5edb8b7e6a9
/consumer.py
3506e526f8c8d47c64854fbf395c9093f938f8f8
[]
no_license
CheHaoKang/Kafka
65b41fa9a4b43b35ba461bf11dfa5aa0d2566153
c409aa6658e404e7a0be514458ddacaec6b7b619
refs/heads/master
2020-04-09T21:48:27.390795
2018-12-06T03:25:37
2018-12-06T03:25:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from kafka import KafkaConsumer consumer = KafkaConsumer("test", bootstrap_servers=["localhost:9092"]) for message in consumer: print(message)
[ "cywang@blueplanet.com.tw" ]
cywang@blueplanet.com.tw
c9edfa92fd006a044a73cfaee57dbbd855d2ee83
a35cc0e669a6a19307640b04ce6354e758dc83b6
/src/test/resources/integration_tests/python/basic_integration_test.py
4a4f8578475d63cf8f37cddf9ee9482793693d24
[ "Apache-2.0" ]
permissive
weisong44/vertx-device-mediation
10929f42cf9f276ba9f92047e04c0be856ac4ff9
23a7605f875309a40c34b86fe09445569e80725b
refs/heads/master
2021-01-20T09:01:21.747160
2014-06-01T06:29:02
2014-06-01T06:29:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,725
py
# Simple integration test which shows tests deploying other verticles, using the Vert.x API etc from org.vertx.testtools import VertxAssert import vertx_tests from core.event_bus import EventBus import vertx # The test methods must begin with "test" def test_http(): # Create an HTTP server which just sends back O...
[ "weisong44@gmail.com" ]
weisong44@gmail.com
f1bdea1ca514039345f8ed87d738ee50d65e70be
eacfc1c0b2acd991ec2cc7021664d8e79c9e58f6
/ccpnmr2.4/python/ccp/format/ansig/sequenceIO.py
c11cb240aad4a5e8c13d21ebc8b1168fd7d87865
[]
no_license
edbrooksbank/ccpnmr2.4
cfecb0896dcf8978d796e6327f7e05a3f233a921
f279ca9bb2d972b1ce075dad5fcc16e6f4a9496c
refs/heads/master
2021-06-30T22:29:44.043951
2019-03-20T15:01:09
2019-03-20T15:01:09
176,757,815
0
1
null
2020-07-24T14:40:26
2019-03-20T14:59:23
HTML
UTF-8
Python
false
false
5,597
py
""" ======================COPYRIGHT/LICENSE START========================== sequenceIO.py: I/O for Ansig sequence files Copyright (C) 2005-2009 Wim Vranken (European Bioinformatics Institute) ======================================================================= This library is free software; you can redistribute ...
[ "ejb66@le.ac.uk" ]
ejb66@le.ac.uk
7baed9c81d6e313c044b08471fd6269eabb744b5
1be53e96561e9323852ffcd04d42021a60ac4f4e
/delete_old_messages.py
17d7d254fa5726bd5ab2f77e7bbd69f113783017
[]
no_license
mek97/gmail_helper
530576f11c39e4c09422472f439d447f09ca07a3
09653ed46c7dafb5c16e8fc5ca4e25e4dbba8edc
refs/heads/main
2023-05-15T17:29:46.141342
2021-02-17T14:32:23
2021-02-17T14:32:23
339,748,253
0
0
null
null
null
null
UTF-8
Python
false
false
2,640
py
from __future__ import print_function import pickle import os.path from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request import time # If modifying these scopes, delete the file token.pickle. SCOPES = ['https://mail.google....
[ "mehul.k1997@gmail.com" ]
mehul.k1997@gmail.com
a9dcfe05f4c4e478e4587c722f15febc52961ea1
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_welded.py
9d8c71c76ac244c69252e3e58618cb575c8c845f
[ "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
216
py
#calss header class _WELDED(): def __init__(self,): self.name = "WELDED" self.definitions = weld self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['weld']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1d8778f5d2e829da8c0a559c96e3babbd8a2c453
127f8b43991d2674477b1cf28ea15124dac3877c
/venv/Scripts/django-admin.py
b504545d6b529de530dbe27d4b146c9f44dbd328
[]
no_license
petrovdanil20/Angl2.0
1a89f297f11833ed53ec0fb627b2d682d782c3f8
c5efa1c9d01ea09016ef6e607ff24c0ece865597
refs/heads/master
2023-08-14T09:34:57.944280
2020-05-28T12:34:49
2020-05-28T12:34:49
267,581,284
0
0
null
2021-09-22T19:06:37
2020-05-28T12:15:28
Python
UTF-8
Python
false
false
158
py
#!C:\AcademicWritingProject\venv\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "dpetrov@edu.hse.ru" ]
dpetrov@edu.hse.ru
2b9c1aa485a9a0971055595d900403d77eb49d68
3b4cd1901d5882afd4b68335781b4aa85e324a27
/Magnify_ws/my_app/add_to_noise_API/add_to_noise_view.py
abf6eb971c6a017e541de485d860e90b50385739
[]
no_license
Subhajit-git07/flask-mysql
1efeabd82ab871164ce08c48ce25aa116fa4a46f
e3cc9eb53e855815de2e0b8e0792870265aa5c85
refs/heads/master
2022-11-05T18:40:18.912885
2020-06-25T19:21:12
2020-06-25T19:21:12
271,717,957
1
0
null
null
null
null
UTF-8
Python
false
false
1,943
py
from flask import request, render_template, flash, redirect, \ url_for, Blueprint, g from flask_login import current_user, login_user, \ logout_user, login_required from my_app import db, mysql from my_app import cache import requests import math from flask import Flask, abort, json, request, jsonify, g, url_...
[ "subhajit.rakshit07@gmail.com" ]
subhajit.rakshit07@gmail.com
fbf7d1fe6bc3bc61de994fad6d0531e7069d8c22
b773717d0a79fdef3d03b8ec6b9d3a5eca21cd1f
/viholliset5(kantoalusOK+pelaajaNopeus).py
fe50dc17d1a35c9869a69b9710c6feb620371b07
[]
no_license
dim-bot/Space-game
e6812f6ed2970ae288966e65940df3805dde8328
955bdd38f49513f40848f8a00357e7549bcb0ba8
refs/heads/main
2023-05-08T05:45:32.125315
2021-05-25T09:01:39
2021-05-25T09:01:39
370,622,317
0
0
null
null
null
null
UTF-8
Python
false
false
24,300
py
import pygame import os import sys import time import random from pygame.locals import * from pygame import mixer pygame.init() pygame.font.init() width, height = 800, 600 window = pygame.display.set_mode((width,height)) pygame.display.set_caption('SuperDuperAwesome SpaceGame') main_font = pygame.font...
[ "noreply@github.com" ]
dim-bot.noreply@github.com
7a48069b4fd1080f251a258b80c72b101888b83c
d571d407cfda435fcab8b7ccadb1be812c7047c7
/examples/features/switch.py
35af4fcb1a13395b4ea7bb6a0625647b1be3beab
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
guildai/guildai
2d8661a2a6bf0d1ced6334095c8bf5a8e391d8af
149055da49f57eaf4aec418f2e339c8905c1f02f
refs/heads/main
2023-08-25T10:09:58.560059
2023-08-12T20:19:05
2023-08-12T20:19:05
105,057,392
833
86
Apache-2.0
2023-08-07T19:34:27
2017-09-27T18:57:50
Python
UTF-8
Python
false
false
112
py
a = False b = False c = False print("feature a: %s" % a) print("feature b: %s" % b) print("feature c: %s" % c)
[ "g@rre.tt" ]
g@rre.tt
3d2c7250fc86e1e1fccb50cb1bc9c92c8f7ed1a8
803ecf76ed40efd3908af798d7e84ffe04d94557
/moto/init.py
655adb6044c84c700e3674cf2ea90bda5a34daed
[]
no_license
gbeced/moto_docker
388cafbe3c47658e802a028e0f995cf1b39fdb22
d1761ec5fb3f6d1b510c1f2beb11a8663a4b11d4
refs/heads/master
2022-01-06T23:34:48.759892
2019-05-29T18:02:10
2019-05-29T18:02:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
#!/usr/bin/env python import os from boto import sns as botosns from boto import sqs as botosqs AWS_REGION = "us-east-1" AWS_ACCESS_KEY_ID = os.getenv("AWS_ACCESS_KEY_ID") AWS_SECRET_ACCESS_KEY = os.getenv("AWS_SECRET_ACCESS_KEY") def init_queue(name): conn = __get_connection(botosqs) q = conn.get_queue(na...
[ "jformoso@gmail.com" ]
jformoso@gmail.com
4482f555a12d96a69185b28d8fa369b1f87163cd
310ff45dafae847cc4d53935a4ae5b3d868acd7d
/main.py
e1c4054bc59c4eb728eb13757ecbdeec41b9d535
[]
no_license
dagbay/RegisterYourCar
fb0d612dc47df146ecbf122b3006addbc14eb869
1e10f3b2efe3dfadc31113fa92ecffebac58c917
refs/heads/main
2023-08-31T20:42:47.871589
2021-09-29T06:29:36
2021-09-29T06:29:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from website_car import create_app app = create_app() if __name__ == '__main__': app.run(debug=True) # Debug is true for development purposes.
[ "80764810+dagbay@users.noreply.github.com" ]
80764810+dagbay@users.noreply.github.com
457001985badd69c0df323b440e434951e94bd1f
9301a8106502d903220486e1982830c12599e4fe
/strategies/sumoRL/Experiments/a2c_sarakki.py
dbfcc74c3d710c1d084ca4efce06fbd1f6c4857b
[]
no_license
intelligent-traffic-signal/mini-proj-traffic
7412faa6ef90b6d4af4e6d80ecce2c56a3b20aa5
3417654f71df9ffe19623a57db5e97ca18014999
refs/heads/main
2023-06-18T12:08:42.671280
2021-07-12T19:06:12
2021-07-12T19:06:12
350,322,134
2
4
null
2021-07-12T19:06:13
2021-03-22T11:43:28
Jupyter Notebook
UTF-8
Python
false
false
2,016
py
import os import sys if 'SUMO_HOME' in os.environ: tools = os.path.join(os.environ['SUMO_HOME'], 'tools') sys.path.append(tools) else: sys.exit("Please declare the environment variable 'SUMO_HOME'") from sumo_rl import SumoEnvironment from sumo_rl.util.gen_route import write_route_file import traci from st...
[ "vishruth2002@gmail.com" ]
vishruth2002@gmail.com
dd0946036b4bbd27b6b26d7b97b6675ccec4013c
d1cb6c007263209e052527f1688d5622fd3d19c4
/starter_code/migrations/versions/4abdb197fcf2_.py
2c37edfe15f04fd97ac86731580d0bcd91bb0d6c
[ "MIT" ]
permissive
Abdullah-Ashehry/Fyyur
3c14658f4d6804d704bfdd2b1bf86dd7c5b04505
ad0b5e1d0394073b7c7bb03bd49ee5284596761b
refs/heads/master
2022-11-09T13:10:05.574664
2020-06-19T11:21:57
2020-06-19T11:21:57
273,472,434
1
0
null
null
null
null
UTF-8
Python
false
false
687
py
"""empty message Revision ID: 4abdb197fcf2 Revises: eff921208d31 Create Date: 2020-04-16 18:24:41.277620 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4abdb197fcf2' down_revision = 'eff921208d31' branch_labels = None depends_on = None def upgrade(): # ...
[ "s201731050@kfupm.edu.sa" ]
s201731050@kfupm.edu.sa
7e2178bbaea5a74da95f3e91c473d6314be0c123
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/EMRryzd_1_20190410143150.py
447c8d147b75b36af2f0e17929c25c3b55f8321c
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
#-*- coding: UTF-8 -*- #本文件用于提取目标目录中的所有txt,并提取关键词所在行到指定目录,并提取关键词新建文件 import time import math import os import sys import os, os.path,shutil import codecs import EMRdef import re emrtxts = EMRdef.txttq(u'D:\DeepLearning ER\EHR')#txt目录提取 zljhs = [] for emrtxt in emrtxts: f = open(emrtxt,'r',errors="ignore")#中文加入e...
[ "1044801968@qq.com" ]
1044801968@qq.com
591e7ebbdb734e5365c127be08d9523c00cecabe
04b52903cf3d1ce387073263ffe52f4b35ed78b9
/src/util.py
ee626192906ca837afa73fbae1454a330345c257
[]
no_license
arramanenka/totally_not_a_discord_bot
099907e8885f10b8f0db8c68bda9c707df904fb4
227309bdc4fdf48e45d93fc4a42c0fef6bf77ee2
refs/heads/master
2023-07-12T20:47:33.678988
2021-08-25T10:43:21
2021-08-25T10:43:21
273,958,981
0
1
null
2021-08-25T10:43:52
2020-06-21T18:11:18
Python
UTF-8
Python
false
false
1,255
py
import re import flag import pycountry def insert_flags_from_nick(flag_dict, nick): flags = find_flags(nick) added_flags = [] for user_flag in set(flags): country = pycountry.countries.get(alpha_2=user_flag) if country is None: if user_flag == 'EA': country = p...
[ "arramanenka@gmail.com" ]
arramanenka@gmail.com
4e3a56568c27421979139db0b9beb3a7cd38f0fa
be54ca18a1304478b63a77e0e5579b9440f4bd08
/venv/bin/tox
3a0bb46932b314e04eeb280ec25373a2ee225bfe
[]
no_license
paolapetri/calc4testing
f8ddf74a177f3bea4aee977c871cafd47c596a40
baa41d410515285ef4a9c95a4d4731e1d5f519f2
refs/heads/master
2023-08-21T17:42:41.009149
2021-10-14T15:37:09
2021-10-14T15:37:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
256
#!/Users/alessiomatricardi/Desktop/calc4testing/venv/bin/python3.9 # -*- coding: utf-8 -*- import re import sys from tox import cmdline if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(cmdline())
[ "alessiomatricardi@yahoo.com" ]
alessiomatricardi@yahoo.com
af847059f7c7769f05a7d85baede1650f9d928e6
f5f913273462e16c6cc2b9718a2d4f8066dba161
/account/views.py
6b1edc274d03a4e4509b321c396d710d1268fb3f
[]
no_license
markdawson/alu_eats
9549d1fda59a7af35efd0eb6876687c790f12dcc
190ff2b3ee204b2b49bf75a7a7899ee691a31d94
refs/heads/master
2021-01-17T11:53:14.784541
2017-02-14T13:28:43
2017-02-14T13:28:43
63,774,617
0
0
null
null
null
null
UTF-8
Python
false
false
1,807
py
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth import authenticate, login from .forms import LoginForm, UserRegistrationForm from django.contrib.auth.decorators import login_required from menu.views import menu_list def user_login(request): if request.method == 'POST...
[ "medawson94@gmail.com" ]
medawson94@gmail.com
dfe00bb40896725836e52634e7f491e28530586c
8a77ba4c00604f338edb17319b3a4ca702e5f331
/accelerationConstante.py
a5206198416fd3bc4347dc6633076bb745d938cb
[]
no_license
Sarcotome/Kobra
da6cbc7ee9a7de877a374d0e3c2ffac5bea6b97d
6a344b259810fc25a2a1ded406aa906aa04c931c
refs/heads/master
2021-01-06T11:52:49.106780
2020-02-18T10:02:55
2020-02-18T10:02:55
241,317,388
0
0
null
null
null
null
UTF-8
Python
false
false
7,572
py
#========================================================================= # Newport Proprietary and Confidential Newport Corporation 2010 # # No part of this file in any format, with or without modification # shall be used, copied or distributed without the express written # consent of Newport Corporation. ...
[ "noreply@github.com" ]
Sarcotome.noreply@github.com
6c9c21c685c14aa3bdf2a4f48ea2f84410ab5e09
c864f6423987b94408faff890697be096757e741
/RandomWalk.py
7a512f6014706fede90104a74294a54a3f2fb511
[]
no_license
chamindu123/Physics
3062f9027b65e86f69e528ec9b295482cd825aa8
d53f4977c8154d16f6e340592b97808ebea88a9f
refs/heads/master
2021-01-09T05:30:32.549931
2017-02-26T23:44:02
2017-02-26T23:44:02
80,779,711
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
import math import pylab as plt from random import randint def randwalk(): #returns a list of displacements with each step x = 0 y = 0 coord = [] for i in range(0,100): a = randint(1,4) if a == 1: #up y+=1 elif a == 2: #down y-=1 elif a == 3: #rig...
[ "noreply@github.com" ]
chamindu123.noreply@github.com
470147d3587bdbd5f59b7590652d3ab8ae0daded
1385e8eda4705d0285700fa9ce94bc7d52a14071
/examples/todo/tests/__init__.py
998cf1c3bdddaffa096cb2956ff099191aaaf983
[]
no_license
daonb/old-bbtest
d162ea4baa227b220cccfdd1b729f786d144c49e
b8ffc1075cad66cb2a4baac4e8cfc91946f8a31c
refs/heads/master
2022-12-10T02:16:20.890831
2019-01-17T13:04:33
2019-01-17T13:04:33
161,623,698
0
0
null
2022-12-08T01:29:28
2018-12-13T10:37:49
Python
UTF-8
Python
false
false
53
py
from .todo_box import ToDoBox __all__ = [ToDoBox, ]
[ "benny.daon@cybereason.com" ]
benny.daon@cybereason.com
def3efc97b43c2fd714d88a900a8605d0ea4dce0
491135334066414143f7bb1463b830bdfbea2c39
/1/catkin_ws/build/two_int_talker/catkin_generated/pkg.develspace.context.pc.py
8adf3d35cac3658c60d53099663ac5ee91b0299d
[]
no_license
JafarAbdi/RoboticsCol
1df041093818db419f3758157fc2847c4c8c7639
766dd52a0b6dfc21f347e914cd87d890fd894271
refs/heads/master
2021-01-15T18:35:36.385272
2017-08-13T08:25:00
2017-08-13T08:25:00
99,791,188
8
2
null
null
null
null
UTF-8
Python
false
false
420
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "two_int_talker" PROJEC...
[ "cafer.abdi@gmail.com" ]
cafer.abdi@gmail.com
92bfc6375ac81a74e4c1e8a1821c7fb92c38bef3
a7f22b314251129fb8828618c734d7b8510237ff
/Adeleine/reference/inference.py
d7a9f9af941a00a384975d91e4179cdecd5c945b
[]
no_license
chenzhao11/Colorization
5d20bd4bb41f673e4ae7f8a8ab2c3c392b48b7b9
59e7b809570509ef770e6c6fd9aa7cf988f32ac0
refs/heads/master
2023-06-11T23:52:35.507640
2021-07-05T08:56:44
2021-07-05T08:56:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
import torch import torch.nn as nn import argparse import cv2 as cv import numpy as np from pathlib import Path from tqdm import tqdm from .model import Generator class ReferenceInferer: def __init__(self, pretrain_path): self.model = self._model_load(pretrain_path) @staticmethod def _model_load...
[ "crosssceneofwindff@gmail.com" ]
crosssceneofwindff@gmail.com
b546fba116b12c32eecc1627b25695ff587079b3
3d43fed6f4e6f3e9f644fff4c7810f02961fa893
/units/migrations/0006_auto_20211002_0951.py
fc3a0026c1b839adb879d7ea2cfa5ce0a3856c74
[]
no_license
Sept-Hackathon-Team8/Django-backend
4d1b860d31ba34771eadcc5e687d6967ea1fc4ca
ae5fd4eb6142c6294065250dba0bf030091107c7
refs/heads/master
2023-09-02T19:47:45.726985
2021-11-03T16:00:05
2021-11-03T16:00:05
409,017,843
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
# Generated by Django 3.1.13 on 2021-10-02 09:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('units', '0005_auto_20211002_0915'), ] operations = [ migrations.AlterModelOptions( name='unit'...
[ "commonzenmedia@gmail.com" ]
commonzenmedia@gmail.com
9b353b130fbce06b4f1088dd165d7c93d6985d27
53e562432e5101ba073b5f3380ded555464a809a
/grad_network.py
42e3890fff99d55036ea3b4aa06d4ae222a1718e
[]
no_license
coreyjpieper/netsci-capstone
48d54176fc2acc6924e5bd4b8a4ae70c653b9c80
9d8e98253ed35b1483e2c78e8c673c39f403bef0
refs/heads/master
2023-01-04T18:52:28.104647
2020-10-22T03:31:22
2020-10-22T03:31:22
303,540,480
0
0
null
null
null
null
UTF-8
Python
false
false
6,459
py
import itertools import re from pprint import pp from typing import List, Tuple, Dict, Union subject_to_prefix = { "African Studies": "AFRI", "American Studies": "AMST", "Anthropology": "ANTH", "Applied Mathematics and Statistics": "AMS", "Art": "ART", "Asian Studies": "ASIA", "Biology": "BIOL", "Chem...
[ "26394708+coreyjpieper@users.noreply.github.com" ]
26394708+coreyjpieper@users.noreply.github.com
d7aebebb169f95c5469949fb86170cf4d6013507
64a5f836b1b1024e0dce4bd60e3e93bb0b8ec084
/library/migrations/0005_issuedbooks_datetime.py
78cd49ab4a2ba92374b46dfb91c4ea6228e3a481
[]
no_license
Sonic-Master/Library-Management-System
586a6bac29dce4ae76b88ac57f1b2474ded52803
46268c8f3b84ab606eb8bf4e4f22762b22c77ec0
refs/heads/master
2022-04-16T20:47:02.393490
2020-04-14T06:31:51
2020-04-14T06:31:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# Generated by Django 2.2.6 on 2020-03-20 09:33 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('library', '0004_remove_issuedbooks_datetime'), ] operations = [ migrations.AddField( model_name='iss...
[ "jinshad4212@gmail.com" ]
jinshad4212@gmail.com
e3115e42846e195446fc894e10dd6ac61f5d1618
513021ba2ba48a30245c6c76406f034c69f4f366
/4_Podstawowa wiedza o języku/4.33_String.py
a63127c53ddf9c57b6f1bc74ae339871af085873
[]
no_license
rucpata/udemy-python_poczatkujacy
d789c3ff0fa9f8794c97e537aa58d8a273601023
f65053e6efac7e30bae862f6555ab08fcf7385a4
refs/heads/master
2022-03-07T11:33:09.284281
2019-10-29T14:09:19
2019-10-29T14:09:19
218,301,894
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
atext='This is a text' atext.endswith('ext') atext.endswith('ext.')
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
cc79ae7247755ae4f7bbd5184ba22ebaa91c6c18
3167ff58ede2b62ff5ae3375df0ad1e2d8bb1383
/RPI/mainSerialTest.py
89c9bb631f856ece75624cae10bf3c3c7742299d
[]
no_license
aktoro/Delta-Autonomous-Pet-Bot
44143cb135a55572ef305a820e3c75014744d5a5
230583451c030f8b3b520f5cdc6aa54aa6040e48
refs/heads/master
2020-06-21T10:07:31.431080
2016-11-27T05:58:46
2016-11-27T05:58:46
74,793,433
0
0
null
2016-11-25T23:21:44
2016-11-25T23:21:44
null
UTF-8
Python
false
false
367
py
import time import serial import comsManager import ledManager led = ledManager.LedManager() coms = comsManager.ComsManager() sleep(.5) coms.sendSerialData(1,2,3) if coms.receiveSerialData() == 0: print "error receiving data/n" else: print "data received/n" dataList = coms.getData print '\n'.join(str(...
[ "kaalodabney@gmail.com" ]
kaalodabney@gmail.com
068ae4b28203ae3d2e768fb09dff72ea9d28c347
ec755288163e5586e389fa64f0cd9adc46d04bba
/Code/fptree.py
ead777b3fb2ab66474618f457575df2602f7c856
[]
no_license
nitin10101999/Frequent-Data-Mining-And-Data-Generation
19177396f85e9e046fb61c254d787cbc8f0be9d3
4e058e41cea8b0d5d23e392b8de9bc51b8d96dba
refs/heads/main
2023-03-18T09:29:38.466654
2021-03-10T17:39:55
2021-03-10T17:39:55
346,428,128
0
0
null
null
null
null
UTF-8
Python
false
false
11,376
py
# -*- coding: utf-8 -*- """FPTree Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1NfbqrGSuPIMf5vMSb5IoJKFlyk4-WiDI """ #import os #os.chdir('/content/drive/My Drive/Code') import numpy as np import pandas as pd import copy import math import csv impor...
[ "nitin10101999@gmail.com" ]
nitin10101999@gmail.com
9961cce078c09c6d7ad15798b5fd0a668d725c2e
15898330b2faa9c0b90d44632cf388e6bc1dce19
/classes/Tile.py
d9f3a26f0db6f539d9cc95005886b37dc7c36cd7
[]
no_license
hahamark1/Safe-Exploration
3cf1c03e158da5888ea7654a1fa1cc2c21541e73
addfde248b605c348ea9e5e4a96658833a439cb8
refs/heads/master
2022-07-10T16:47:02.740427
2019-08-12T07:57:36
2019-08-12T07:57:36
201,884,692
0
0
null
2022-06-21T22:31:17
2019-08-12T07:59:58
Python
UTF-8
Python
false
false
287
py
import pygame class Tile(): def __init__(self, sprite, rect): self.sprite = sprite self.rect = rect def drawRect(self, screen): try: pygame.draw.rect(screen, pygame.Color(255, 0, 0), self.rect, 1) except Exception: pass
[ "bart@bit-students.com" ]
bart@bit-students.com
21312c88e896f1e53ab8fee42e26d84f8cd8ba4e
0e70ba6dba641a14f1e328e4b577dffe25d394dc
/Tests/test_ball.py
ff3287e3fff0e79212a2a6349689b0b7c6ee9b88
[]
no_license
Griboedoff/lines
88914d6edfff7de5b80dc7fc278f604932226f77
ade0977bd36bc134a7a87835f89e973b60797f7c
refs/heads/master
2021-01-13T09:14:47.842245
2016-11-29T17:15:01
2016-11-29T17:15:01
72,410,513
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
import os import sys from unittest import TestCase, main from Model.ball import Ball from Model.ball_color import BallColor sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), os.path.pardir)) class TestBall(TestCase): def setUp(self): self.one_color_bal...
[ "igormb@MacBook-Pro-IgorMb.local" ]
igormb@MacBook-Pro-IgorMb.local
506791034bb4fa2febef6891ea7e23d6db874603
1e026402add57278035b357feacb24e2f93baff5
/Medicelab/main_part/sub_part/migrations/0009_alter_admin_mess_pat_id.py
dc25af1aada3552cca036edd521a61c23c2940ec
[]
no_license
Vignesh282000/Medicelab
49a3b839482a077c5634b34ab9c528d967a2550d
000605abf76542eeea0c779b8ad1b0910e0267c5
refs/heads/main
2023-06-03T23:52:28.074720
2021-06-29T10:14:11
2021-06-29T10:14:11
381,313,452
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 3.2.3 on 2021-06-27 05:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sub_part', '0008_alter_reg_department'), ] operations = [ migrations.AlterField( model_name='admin_mess', name='pat_...
[ "vicky2000ssvv@gmail.com" ]
vicky2000ssvv@gmail.com
d8331a729aa504d88b84d2f713ef41c11aec03d3
5d3fd91bb81f417374007935553fdab8a1a9deef
/pysim/network/edison/edisonsingle.py
8ece80b06468dabe42172c4d9d793c84a3a36d8d
[]
no_license
FSU-CS-EXPLORER-LAB/PySim
024dd44d7f0e42d6ec1b235a587ae6a049d8d538
6b2575c6f7987a3e076a51ec6e669dda345208c0
refs/heads/master
2022-09-19T06:20:55.616676
2019-05-16T04:54:20
2019-05-16T04:54:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,185
py
# -*- coding: utf-8 -*- from pysim.network.edison.edisondragonfly import EdisonDragonfly from pysim.evaluation.booksim import makeBooksimConfig from pysim.routing.routing import Routing, makeRouting @makeBooksimConfig class EdisonSingle(EdisonDragonfly): def __init__(self, **kwargs): super().__init__(*...
[ "generyas@gmail.com" ]
generyas@gmail.com
90332083e7fee25f53c629a82dd5c8343d543865
7a4f8f0557fc7d86bcd3f87b420ae9ebf9203966
/src/Models/SICRD.py
18fb30796eacd55a7c2db66c8d299b8252e94c00
[]
no_license
agussomacal/MasteringCOVID19
e1a58b3ca7d5a07c771805fea498fe79ed7607e6
20723b087867eb842fa0a07c287f62b71442e52e
refs/heads/master
2021-05-17T06:01:00.521678
2020-04-13T21:02:02
2020-04-13T21:02:02
250,661,858
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
from src.Models.BaseModels import ModelBase class SICRD(ModelBase): # def __init__(self, a, b, gamma1, gamma2, mu, t0, bfactor): def __init__(self, b, gamma1, mu, t0, bfactor): # def __init__(self, a, b, mu): self.gamma1 = gamma1 self.mu = mu self.b = b self.t0 = t0 ...
[ "saogmuas@gmail.com" ]
saogmuas@gmail.com
df6dd2353e401871a241b24c6eb060b31bf936ce
96b03f66f55b2f733f3da5defbd5b37d2a02bc8a
/modules/calc900_200.py
c57ba2ff7df493abc68557412c554913c82f8ea8
[]
no_license
th3fall3n0n3/my_first_calc_extended
641e66119c2b7055ea47a55ebd3559077394fc90
c2c0dfe50ebc59ea20bb595db50ef63d603d54af
refs/heads/master
2016-09-13T18:08:15.841173
2016-05-14T15:18:08
2016-05-14T15:18:08
58,811,146
2
0
null
null
null
null
UTF-8
Python
false
false
863,801
py
def calc(num1, sign, num2): if num1 == 900 and sign == '+' and num2 == 200: print('900+200 = 1100') if num1 == 900 and sign == '+' and num2 == 201: print('900+201 = 1101') if num1 == 900 and sign == '+' and num2 == 202: print('900+202 = 1102') if num1 == 900 and sign == '+' and n...
[ "ivan.tarasenko@oracle.com" ]
ivan.tarasenko@oracle.com
c2be8aae5904e3f1bc747bd18e6e9c8f4421f555
12df5a309179cb1b35268745a14eda6ddbca5c06
/api/data_generation.py
cc7e184863d1ba288558b00316f6aac80e86d97e
[]
no_license
bhawnam/good-samaritan-finder
1228e83f438bd64c3cbeed87d30aa7303e4f2444
df3bcb5d6732e794294970985798e4425371f5a8
refs/heads/main
2023-07-13T07:23:23.683000
2021-08-18T06:38:52
2021-08-18T06:38:52
374,189,728
0
0
null
null
null
null
UTF-8
Python
false
false
2,180
py
from faker import Faker import json import random fake = Faker() def create_user_profile(): user_profile = {} user_address = get_user_address("data/mlsListings.csv") for i in range(0, 25): user_profile[i] = {} first_name = fake.unique.first_name() user_profile[i]['first_name'] ...
[ "bhawna.bm@gmail.com" ]
bhawna.bm@gmail.com
8ff499f46838a0962c4c120ae559e75c9314dcb8
c2bd6c9fa7c8fe8e1b71deec11f7247419035b2d
/urls.py
d6f5210405f36a39672a00a8afbc577e08f934b4
[]
no_license
HelloWorldPeru/redAutonoma
2183552d68366d6904b0af5e293da768f0a89dbb
963a8ee0d0dc4cbf60863dc1f6dde915ba3fe255
refs/heads/master
2021-01-25T03:54:26.703316
2013-11-10T17:27:44
2013-11-10T17:27:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,703
py
import connection as cn from views import dashboard from views import home from views import phonegap app = cn.app #Website app.add_url_rule('/', view_func=home.index) app.add_url_rule('/login', view_func=home.log, methods=['GET', 'POST']) app.add_url_rule('/logout', view_func=home.logout) #Dashboard app.add_url_rul...
[ "Jonathancg90@gmail.com" ]
Jonathancg90@gmail.com
195891c411049061539e4df6d8b388c9c0b3ecea
7c0eb8e9e23f3face53cb3e0cab756867b40f456
/Ch6/text.py
7ab821de3c2da882e2c5554fce89f82fd76ab17e
[]
no_license
sagood/Web-Scraping-with-Python3
731b04cc87ff0fcfacb115bca1a243a6c63a9768
bd4fb8622f50eab22e26f05e39cd39490764bce4
refs/heads/master
2021-01-10T03:55:22.584924
2015-11-22T09:51:36
2015-11-22T09:51:36
46,294,722
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from urllib.request import urlopen textPage = urlopen('http://www.pythonscraping.com/pages/warandpeace/chapter1.txt') print(textPage.read())
[ "gasnus@gmail.com" ]
gasnus@gmail.com
7b44dc1ca5547e96f889aa391f271ffc1af3a36b
f77b0f2cc709b9670e6b4dc7145a6ea5368585d2
/project/services/__init__.py
db39b8c13a29c94642f59828bc1ba56e2a186ac3
[]
no_license
sgammon/StonerHub
45ccac6bd349200bbc75c494002c3ffeb082dcb8
a81f7fdd2c7118c6cea3c25ef9f53f272d27b0cc
refs/heads/master
2021-01-20T10:54:47.546251
2011-11-07T12:02:20
2011-11-07T12:02:20
2,664,437
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
# -*- coding: utf-8 -*- from apptools import BaseService import protorpc from protorpc import remote from protorpc import messages from protorpc import message_types class RemoteService(BaseService): pass
[ "sgammon@bluestatedigital.com" ]
sgammon@bluestatedigital.com
f56ec2e37f5245dcb7f44bca1b5244795ec53b15
3185dc605853fdaf942fd06e206225793b198638
/剑指offer/No33_二叉搜索树的后序遍历.py
3f91cd02bac6390558ce1f02fee1723e7f138edf
[]
no_license
fank-cd/books_exercise_code
cb81ee8ec8167a5f5e3bfc58d3c1d6d931ca9286
1e8109adb82f741df1203658d4bf272f09a651b8
refs/heads/master
2021-07-11T01:15:11.980179
2020-06-29T04:01:53
2020-06-29T04:01:53
156,671,075
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
# 题目:输入一个整数数组,判断该数组是不是某二叉搜索 # 树的后序遍历结果。如果是则返回true,否则返回false。 # 假设输入的数组的任意两个数字都不相同。 # 后续遍历:左右根 # 思路:最后一位是根节点,比根节点小的是左子树,大的是右子树 def verify_sequence_of_BST(sequence): if not isinstance(sequence, list) or len(sequence) == 0: return False root = sequence[-1] # 根节点 for index, element in enumerate(sequ...
[ "2464512446@qq.com" ]
2464512446@qq.com
1f4664b506d35adfbace32674895c668a0d3b26f
f032fae229a52c48b9b93ceffb1764e74027850f
/tests/test_gateway.py
8f1dd04a65fc00d1ced7064f9e149a6de124b3ea
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
qntnrbns/dask-gateway
02f0c636f4faf6c5ddc35ed7ec264f9443ba27b6
bf531e22bf5f97c8029d2778743cb5b60eca4095
refs/heads/master
2020-09-25T07:12:12.499271
2019-12-03T23:37:45
2019-12-03T23:37:45
225,946,612
1
0
BSD-3-Clause
2019-12-04T19:59:33
2019-12-04T19:59:32
null
UTF-8
Python
false
false
35,676
py
import asyncio import os import socket import signal import time import pytest from cryptography.fernet import Fernet from traitlets import Integer, Float from traitlets.config import Config import dask from dask_gateway import Gateway, GatewayClusterError, GatewayWarning, GatewayCluster from dask_gateway_server.app ...
[ "noreply@github.com" ]
qntnrbns.noreply@github.com
b3091967ca2295a42f480875d29c9828ca79c371
ee53b0262007b2f0db0fe15b2ad85f65fafa4e25
/Leetcode/594. Longest Harmonious Subsequence.py
ce388e0d7f6aef49ca1706ff198232b0568caac0
[]
no_license
xiaohuanlin/Algorithms
bd48caacb08295fc5756acdac609be78e143a760
157cbaeeff74130e5105e58a6b4cdf66403a8a6f
refs/heads/master
2023-08-09T05:18:06.221485
2023-08-08T11:53:15
2023-08-08T11:53:15
131,491,056
1
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
''' We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, given an integer array, you need to find the length of its longest harmonious subsequence among all its possible subsequences. Example 1: Input: [1,3,2,2,5,2,3,7] Output: 5 Explanation...
[ "derek.xiao@loftk.us" ]
derek.xiao@loftk.us
592d29907ce252a6392bcd79f4ecbd01d7349714
e766a2cdde904cb05b86b906262b9bf8a4d2470a
/app/models/persistence/event.py
c50f9f16191b95239dffb5fef8883dd23200c868
[]
no_license
menge101/tavern
e8b8ca1f23a3ff521ecd43b81e9b198da5ac0efb
1bc338d52a462e08298dca111f09e7dde0c46352
refs/heads/master
2021-05-14T03:49:40.544494
2018-04-30T02:23:00
2018-04-30T02:23:00
116,627,363
0
0
null
null
null
null
UTF-8
Python
false
false
2,262
py
from app.models.persistence.base import BaseMeta, BaseModel from app.models.persistence.mixins.timestamps import TimeStampableMixin from pynamodb.attributes import ListAttribute, MapAttribute, UnicodeAttribute, UTCDateTimeAttribute class EventReferenceModel(MapAttribute): event_id = UnicodeAttribute() hares =...
[ "nathan.menge@arcadiasolutions.com" ]
nathan.menge@arcadiasolutions.com
83ec920752db5e6af4a272739161eb3812fd5df8
4879cf7b685fa3d33a6dc0b2bff1155937bf662b
/django_emprendimiento/myapp/models.py
4756bd56ca227bcb453ad0a3188234cefb86afef
[]
no_license
wagiodev/diplomado_python_django
b4717420faecad7818968e511e0528f4b44ffc28
4e3a67b2d9c79f3eb2ffda2582d069b7df5c189b
refs/heads/master
2023-04-15T00:54:02.441767
2021-05-01T04:36:38
2021-05-01T04:36:38
351,246,809
0
0
null
null
null
null
UTF-8
Python
false
false
3,356
py
from django.db import models from django.contrib.auth.models import AbstractUser from uuid import uuid4 # Django from django.contrib.auth.models import AbstractUser from django.core.validators import RegexValidator from django.db import models from django.urls import reverse class Role(models.Model): """ The...
[ "waltergiovannycuadros93@gmail.com" ]
waltergiovannycuadros93@gmail.com
7d588c356c803378d4c85a1d02846780de1ab66b
8778f992f7d6fc859132408b72186a1b9f538e59
/plag/apps.py
96ed13e2ef9fc0faa70e6d7f5de9a88ff7b727c7
[]
no_license
swetha-47/plagiarism-checker
193cce24f16e7a3945cbe201a7ea0aa90377f590
ce7a830eaf472b56bc9f04c41e02deb5e9071392
refs/heads/main
2023-06-10T15:40:06.419549
2021-06-30T05:52:08
2021-06-30T05:52:08
380,783,760
0
1
null
2021-06-28T11:26:25
2021-06-27T16:09:07
Python
UTF-8
Python
false
false
140
py
from django.apps import AppConfig class PlagConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'plag'
[ "noreply@github.com" ]
swetha-47.noreply@github.com
0b3198ba2f6a50c27a259e272e579b6426334efa
737ebe7ccb1baf2470e4b8d14046629b10679424
/EGamma/ECGelec/python/NtupleProducer_spike_cfi.py
f8c77e02f51f55235bc6b12b20e845a3c05ef5b4
[]
no_license
fanbomeng/Ecal_Turnon_2012_data
b1d7354b3cb88079a5a17cf3066843b7a99e53f4
9989077fd2d346fa158c84a929ae230bb1dc8b5e
refs/heads/master
2021-01-21T13:48:59.575843
2015-09-18T12:00:12
2015-09-18T12:00:12
42,649,664
0
0
null
null
null
null
UTF-8
Python
false
false
5,927
py
import FWCore.ParameterSet.Config as cms produceNtupleSpike = cms.EDAnalyzer("SimpleNtpleSpike", ## Custom Nadir # boolean parameters NadL1M = cms.untracked.bool(False), NadT...
[ "fanbo.meng@cern.ch" ]
fanbo.meng@cern.ch
852c9d40f39c69aee476548b9281025a8abde625
74434cbd6cbbd74eaca1f9e181bd28e377dacfb4
/1.py
7f3d857b2313932f1dce71d6c316f4e3f2805236
[]
no_license
hubbm-bbm101/lab5-exercise-solution-b2200356066
c794ea2695c11272a3d476a7f1ee186ef61e7611
10baa2aced6183559f03d09a899806f8c7fffa07
refs/heads/main
2023-08-23T10:17:48.020051
2021-11-05T19:18:23
2021-11-05T19:18:23
425,060,100
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
N=int(input("Write a N number: ")) i=0 y=0 for x in range(1,N+1): if x%2==0: i+=x else: y+=x if N%2==0: print(f"Average of an even numbers:{i/(N/2)}") else: print(f"Average of an even numbers:{i/((N-1)/2)}") print(f"Sum of odd functions:{y}")
[ "noreply@github.com" ]
hubbm-bbm101.noreply@github.com
4d15135789fc7ddfe59e044ee77c998c9e51caed
c7a074fb91114623a89b3c0b78d7e55cbb127cb6
/Day_4_2.py
3175cc23afa2b5144e2ff893c87d063637fbf8ed
[]
no_license
mjdlsdbs1/2020_AI_CHOSUN
96a27b19d4b759df2a8b66c270fc7c44a9b45bec
8226cbb216c8e8af4b1544246fed7771702b4d3a
refs/heads/master
2022-11-06T18:54:32.663711
2020-06-29T07:55:37
2020-06-29T07:55:37
264,863,738
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
import pandas as pd import matplotlib.pyplot as plt db = pd.read_csv('./DB/loop1 coldleg_loca_20.csv') print(db['BFV122']) plt.plot(db['BFV122']) plt.show()
[ "jonghyun.kim@chosun.ac.kr" ]
jonghyun.kim@chosun.ac.kr
201567933820587c21b3669bac640c7203a7b6eb
af3fd9d68dd78f60cee781a5a989518047086979
/eyec/settings/dev.py
839a1bc9604fc1c4b49cfa036871b2f8d117ce3c
[]
no_license
Mantation/eyec
27d24f527a708c567e4c60a91c17329290c4bea5
0a9ca6e683ad91b31c09bc9484495f233f58844f
refs/heads/master
2022-12-14T15:30:10.066804
2019-06-07T11:07:12
2019-06-07T11:07:12
188,224,224
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
import os from eyec.settings.base import * #Override for dev settings DEBUG = True ALLOWED_HOSTS = []
[ "rpholose@gmail.com" ]
rpholose@gmail.com
3081ad286ed7ba0b6f961edb970e6c68a711da17
43c5eafff817c3b130d8b4ec16c992d86208500c
/lino_avanti/lib/tickets/models.py
d831bc25bd9a0efddf3a6883c015383e6dfc9eaa
[ "BSD-2-Clause" ]
permissive
khchine5/avanti
a8b9e9e75ac593a00b11ffa5bd5cfd00f06db6c0
5a5f9d1ddfa20ae0eb8fa33cb906daf78d9568b1
refs/heads/master
2021-01-11T17:29:16.012089
2018-08-23T05:46:52
2018-08-23T05:46:52
79,784,948
0
0
BSD-2-Clause
2018-08-19T12:28:12
2017-01-23T08:28:46
Python
UTF-8
Python
false
false
1,287
py
# -*- coding: UTF-8 -*- # Copyright 2016-2017 Luc Saffre # License: BSD (see file COPYING for details) from lino_xl.lib.tickets.models import * from lino.api import _ Ticket.hide_elements('closed') # class Ticket(Ticket): # class Meta(Ticket.Meta): # app_label = 'tickets' # abstract = dd.is_abstr...
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
cf9b8a140ca9e99e753290df16f95dc75128d824
0b99d16fc377d757284b829a8a8bceacfbf2d537
/Curso em Video/desafio02.py
95fec4fc7dfde951f5e2deea44c3024d76a5cf08
[]
no_license
kilmer7/workspace_python
9e7f332d9b78c58049a9d41b4a731d3b92760819
2a80dedafae94f4aa53691590e9c45eb3a0979ad
refs/heads/master
2022-08-26T07:32:57.608090
2020-05-26T02:22:18
2020-05-26T02:22:18
265,866,673
0
0
null
2020-05-26T02:22:19
2020-05-21T14:15:43
Python
UTF-8
Python
false
false
143
py
dia = input('Dia = ') mes = input('Mês = ') ano = input('Ano = ') print('Você nasceu no dia '+ dia +' de '+ mes +' de '+ ano +'. Correto?')
[ "kilmersousa@gmail.com" ]
kilmersousa@gmail.com
020682c50ddf142dd210fcb7c0c287518d456cfd
f62fd455e593a7ad203a5c268e23129473d968b6
/python-watcher-1.0.1/watcher/api/controllers/v1/__init__.py
16279551e21185f3c32f42077fb0cddb05a9009b
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
7,004
py
# -*- encoding: utf-8 -*- # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
7952ec5999394ea474803d6f1788d5e5ad3a3f79
263140423238ed45c8bd5d5a50e4ca4eabd7fdd4
/loglizer/dataloader.py
5a37375d3e5cf521939fd8378923e63cf7318a5d
[ "MIT" ]
permissive
ZouJinying/XAI_loglizer
5099b73ffe634d2c9e2bf1b31c5fd75e7f16c382
df3e9d91502c10b8c8d8871617b405cc0671308b
refs/heads/master
2022-12-01T09:17:27.822645
2020-08-03T23:29:27
2020-08-03T23:29:27
262,685,020
1
0
null
null
null
null
UTF-8
Python
false
false
13,829
py
""" The interface to load log datasets. The datasets currently supported include HDFS and BGL. Authors: LogPAI Team """ import pandas as pd import os import numpy as np import re from sklearn.utils import shuffle from collections import OrderedDict def _split_data(x_data, y_data=None, train_ratio=0, split_type=...
[ "jesco4482@gmail.com" ]
jesco4482@gmail.com
b04950b41dc3a4e885687c73f7da892ecc45d79e
b61769647b80ccfa52aa0a7bd9ab8e2433867138
/main.py
20a1913618a4ca435d0ac67ecee1b5e325df5fc4
[]
no_license
Clouptiburger/submarineGame
db7b8063c54f8695cb2decdd07bdcaecdabd7281
7c0e4e063879bee41d1a7b3ecb27bcbc16a5ef90
refs/heads/master
2022-12-26T23:56:31.134277
2020-10-03T15:33:20
2020-10-03T15:33:20
263,598,186
1
0
null
null
null
null
UTF-8
Python
false
false
9,324
py
import pygame import sys import matplotlib.image as mpimg import numpy from pygame.locals import * from utils.layouts import * import time height = 600 width = 1200 dictControls = {K_w : "movingUp", K_s : "movingDown", K_a : "movingLeft", K_d : "movingRight"} clock=pygame.time.Clock() fps = 60 subHeight = 333 subWidth...
[ "maxdenniel@gmail.com" ]
maxdenniel@gmail.com
0fe21210117db16db5ff02b96f5d244257d114f0
6fbbde1e7a259577d9a1bece93b9f7851dd6276b
/OnlineLearn/migrations/0007_user_profile_pic.py
58bfa03825b7b30430d28a15e75ad58ba3708145
[]
no_license
frasulov/OnlineLearn
3f9c5fec3eff6c392c76ccf0653d2cb635e70d6f
a7e1b0221fb32fd9f704ae368103451f8c1273b2
refs/heads/master
2023-02-05T06:04:13.404788
2020-12-20T11:18:22
2020-12-20T11:18:22
323,054,932
1
0
null
null
null
null
UTF-8
Python
false
false
412
py
# Generated by Django 3.1 on 2020-12-05 06:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('OnlineLearn', '0006_auto_20201205_0642'), ] operations = [ migrations.AddField( model_name='user', name='profile_pic',...
[ "frasulov4671@ada.edu.az" ]
frasulov4671@ada.edu.az
a8fe4d828c9bb50fdd5ac9bb6a6efa2f6474f9c6
e86ddbd0c4e3f159d26c0b95d55d468e39a75dbe
/stock/stockenv/bin/twistd
bf1d2a590aa82e451ae78cff3a9349a517857597
[]
no_license
xhyue/stock
c3f45859ff71f772dc97ac21efb2bf88b851eee4
86522d23db5899158cea7707a2add5a2d2cdc774
refs/heads/master
2020-03-30T00:43:29.333252
2018-09-27T06:44:33
2018-09-27T06:44:33
149,052,908
0
0
null
null
null
null
UTF-8
Python
false
false
250
#!/home/xhyue/work/stock/stockenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from twisted.scripts.twistd import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "xhyue_0209@sina.com" ]
xhyue_0209@sina.com
fab1c2e4d9980efb5d8c865ec56dd9f15c204a8a
2081d17517ea3d86fca81f1757eac64195a0ec14
/controller/Recieve_data.py
30aa951b58d7f46c809504503cafb0baa9c861e9
[]
no_license
bopopescu/IOT_App_Backend
b5acc80a0a60914a9e685be6f5e8a69a99285582
26021c436318b7222263330c45bbae8c3d05c857
refs/heads/master
2022-11-22T19:37:24.272280
2020-01-28T06:51:13
2020-01-28T06:51:13
281,856,956
0
0
null
2020-07-23T05:13:58
2020-07-23T05:13:57
null
UTF-8
Python
false
false
272
py
from Utilities.config import app,db from Models.data import * from flask import request @app.route('/data',methods=['POST']) def Receive(): data=request.json result=receiveData(data) return result if __name__ == "__main__": app.run(port=5002, debug=True)
[ "v-deeman@microsoft.com" ]
v-deeman@microsoft.com
1f20d42defaa41a02c4ed00b2f7326dbbed5ee7d
520d42dd9d21e4476da7d18b70a8d1c43d0eaf17
/final/char_rnn/src/char-rnn-test.py
764d740447b046df0b22a56d7add3f0d0949d47e
[]
no_license
SimonCqChen/NNhomework
c24fd4c0719d2b8bae6d464ae946573f6053b585
e175404a90bab3551cf17e984cb8a4cbf1fdb3bf
refs/heads/master
2021-09-17T14:36:44.407816
2018-07-02T16:05:00
2018-07-02T16:05:00
126,039,282
0
0
null
null
null
null
UTF-8
Python
false
false
13,249
py
import tensorflow as tf import numpy as np import heapq from char_rnn.src import data_reader embedding_size = 50 hidden_size = 512 rnn_layers = 2 keep_prob = 0.5 vocab_size = 4060 batch_size = 64 num_steps = 100 learning_rate = 0.001 init_scale = 0.1 MAX_EPOCH = 51 MAX_GRAD_NORM = 5 # 最大梯度,用于梯度修剪 class RNNModel...
[ "simoncqchen@outlook.com" ]
simoncqchen@outlook.com
c05894dcc094768d74289c7d95642bc1c0f71e80
d9fa66c72f9fb6d256342fc6efcba9a0fd491ca5
/fall.py
30cb0563166ea142b5e4c2b086d7cb365cb17781
[]
no_license
gurvsing/Cricket-Scoreboard
1e4447ad95cd1ef3acc33a44b92bea0b09600d19
adaace6e751af1e5893f8acade41a098991647e9
refs/heads/master
2021-05-28T16:06:37.967111
2015-05-02T09:29:04
2015-05-02T09:29:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,433
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'fall.ui' # # Created: Fri Jan 03 21:40:07 2014 # by: PyQt4 UI code generator 4.10.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 exc...
[ "gurvindersingh1906@gmail.com" ]
gurvindersingh1906@gmail.com
a495d472db793af9987ac2bc9ce5a72cf85ff027
0d8a0ae257becb595ae931213c8d8839f453ba71
/utils/TestRailsReporter.py
9a66ebf0907913d614a4a488b252588fa88f2174
[]
no_license
ymitskevich/auto-template
9473a3f92bf70f40c0e18ab9991c999c60d12137
3ef5ab79c2a68ab4ce82bf531013aa3b29eec33a
refs/heads/master
2020-04-04T23:03:02.066432
2018-11-06T07:45:57
2018-11-06T07:45:57
156,345,151
0
0
null
null
null
null
UTF-8
Python
false
false
1,736
py
from utils.testrail import APIClient class TestRailsReporter(): def __init__(self): self.client = APIClient("") self.client.password = "" self.client.user = "" def send_passed_test_result(self, case_id, comment=None): if comment: data = dict(status_id=1, comment=co...
[ "y_mitskevich@wargaming.net" ]
y_mitskevich@wargaming.net
293aa28609f7918bde6aabcc6ba0376a793a6768
de28c139ed26468d2da5e92216df244a6464902a
/backend/create_tables.py
39af82383ffc2dc653754e32e50bbc759f304a07
[]
no_license
jjyyoon/tic-tac-toe-online
f1bdc6501d86272fb81f6a6fa6b8a446e1cf98e8
80fc921dcb3d0fb6df56ed22c003cc3ee669e507
refs/heads/master
2022-09-25T09:57:25.993231
2020-06-07T14:22:54
2020-06-07T14:22:54
232,427,413
0
0
null
2020-06-06T16:35:29
2020-01-07T22:14:23
JavaScript
UTF-8
Python
false
false
97
py
from main import app from models.database import db with app.app_context(): db.create_all()
[ "jjjy.yoon@gmail.com" ]
jjjy.yoon@gmail.com
b47d922a817614c0bef4873a9674211ca5f9882d
279f415dd1e06c594c6c87deda57e201c73c4542
/espnet2/asr/state_spaces/pool.py
4d08194d770af120e16c05bb6bb769f4114f0b0e
[ "Apache-2.0" ]
permissive
espnet/espnet
f7ba47271c1a6b1ed606dbbfb04a7f14220bb585
bcd20948db7846ee523443ef9fd78c7a1248c95e
refs/heads/master
2023-08-28T23:43:34.238336
2023-08-23T02:51:39
2023-08-23T02:51:39
114,054,873
7,242
2,244
Apache-2.0
2023-09-14T08:01:11
2017-12-13T00:45:11
Python
UTF-8
Python
false
false
11,292
py
# This code is derived from https://github.com/HazyResearch/state-spaces """Implements downsampling and upsampling on sequences.""" import torch import torch.nn.functional as F from einops import rearrange, reduce, repeat from torch import nn from espnet2.asr.state_spaces.base import SequenceModule from espnet2.asr....
[ "koichi_miyazaki_xa@cyberagent.co.jp" ]
koichi_miyazaki_xa@cyberagent.co.jp
75e25c09247507829e56bc9b21b111cf87fc5c63
6fe2d3c27c4cb498b7ad6d9411cc8fa69f4a38f8
/algorithms/algorithms-python/leetcode/Question_0050_Pow_x_n.py
e16603e02ca49194c4b65741a35009f0423d53c7
[]
no_license
Lanceolata/code
aae54af632a212c878ce45b11dab919bba55bcb3
f7d5a7de27c3cc8a7a4abf63eab9ff9b21d512fb
refs/heads/master
2022-09-01T04:26:56.190829
2021-07-29T05:14:40
2021-07-29T05:14:40
87,202,214
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
#!/usr/bin/python # coding: utf-8 class Solution(object): def myPow(self, x, n): """ :type x: float :type n: int :rtype: float """ if n < 0: return 1 / x * 1 / self.myPow(x, -(n + 1)) elif n == 0: return 1.0 elif n == 1: ...
[ "lanceolatayuan@gmail.com" ]
lanceolatayuan@gmail.com
e5fbe9034b6cd9ff213fff2667ef921b8b97fde4
52d43258c6e6e305746d5827f6746688fb12bfb7
/jobs/migrations/0004_auto_20200923_0322.py
6634ddd2827a1db32c1786c0fb540d01d08d488c
[]
no_license
andreykot/jobs_example
07b82104e05b794d6f38dd8d2747d1ddb4e7f04d
7f2e7c8c97f1838184676ea1b0ec0cb01ef4416b
refs/heads/master
2022-12-28T09:27:41.732929
2020-10-02T13:53:37
2020-10-02T13:53:37
295,043,313
0
0
null
2020-09-25T11:57:26
2020-09-12T23:28:49
Python
UTF-8
Python
false
false
394
py
# Generated by Django 3.1.1 on 2020-09-23 00:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobs', '0003_auto_20200923_0320'), ] operations = [ migrations.AlterField( model_name='company', name='name', ...
[ "kotovskyandrew@yandex.ru" ]
kotovskyandrew@yandex.ru
bc9c483d2db8d0a17d8feb2d6bf122ae4ee9d04a
3e2addcbdbccf688abfe3c653cc9bc8a57255fbb
/subword/get_vocab.py
7b71bf7f0609c1cf9f676db9398ec067465c9e32
[ "MIT" ]
permissive
Germey/TextSummarization
3ffb01401051642c579d7ce6b169a41fca4b48d2
ffe221eea45838fbc2e12cd30e51fa48cf2ed070
refs/heads/master
2021-04-06T15:00:20.288387
2020-01-29T03:33:53
2020-01-29T03:33:53
124,391,071
1
1
null
2020-09-25T18:50:12
2018-03-08T12:52:25
Python
UTF-8
Python
false
false
320
py
#! /usr/bin/env python from __future__ import print_function import sys from collections import Counter c = Counter() for line in sys.stdin: for word in line.strip().split(' '): if word: c[word] += 1 for key,f in sorted(c.items(), key=lambda x: x[1], reverse=True): print(key+" "+ str(f))
[ "cqc@cuiqingcai.com" ]
cqc@cuiqingcai.com
0ef12c2b609f701f3ea73e9531d55f525ab2d574
65a6b8d55fbc808de3fe4a8bb8cb9fb54841d065
/classified/migrations/0004_auto_20191027_1129.py
7bfe9c0330ac8f79db080beb9885d11b419934de
[ "MIT" ]
permissive
icnmtrx/classified
aed750f116f0b1878f1bc93277b4d579017610ac
6fc9ab5fe6936aa5a6847481358c8fbba3caa88b
refs/heads/master
2023-04-30T20:54:05.169345
2022-01-16T13:17:29
2022-01-16T13:17:29
240,111,570
0
0
MIT
2023-04-21T20:47:05
2020-02-12T20:45:48
Python
UTF-8
Python
false
false
1,379
py
# Generated by Django 2.2.5 on 2019-10-27 11:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('classified', '0003_auto_20191026_2123'), ] operations = [ migrations.AlterField( model_name='classifiedad', name='ac...
[ "icnmtrx@gmail.com" ]
icnmtrx@gmail.com
6e7013590a3194e571802864cfde0efbe0f508fa
3693ed5f7439d010c1d087dadf9c3879b4bb7558
/DNS/DNS.py
61dc90ac9ee5d624b80041360310c6e6b18eb1d1
[]
no_license
kk296/micro
4367d884d313bbb0625ca91f28b666c453ff2e4b
2e7f43b8aa19c93725b3567c3db7acf6f6567e77
refs/heads/master
2021-09-26T06:36:08.246689
2018-10-27T14:13:49
2018-10-27T14:13:49
109,430,314
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
#/* # Assignment No = 10 # #Write a program for DNS lookup. Given an IP address input, it should return URL and vice- #versa. #********************************************************************/ import socket print 'Welcome to DNS to IP Address' URL=raw_input('Enter URL: ') addr1 = socket.gethostbyname(URL) prin...
[ "noreply@github.com" ]
kk296.noreply@github.com
f5526ecba7d57516aec200d40fd864392e91210b
6437a3a4a31ab9ad233d6b2d985beb50ed50de23
/PythonistaAppTemplate/PythonistaKit.framework/pylib/site-packages/reportlab/lib/units.py
a7c5a26403519ebfbc9404e5677ea6143b7c68bb
[]
no_license
sreyemnayr/jss-lost-mode-app
03ddc472decde3c17a11294d8ee48b02f83b71e7
3ff4ba6fb13f4f3a4a98bfc824eace137f6aabaa
refs/heads/master
2021-05-02T08:50:10.580091
2018-02-08T20:32:29
2018-02-08T20:32:29
120,813,623
1
0
null
null
null
null
UTF-8
Python
false
false
8,660
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "ryanmeyersweb@gmail.com" ]
ryanmeyersweb@gmail.com
0e79bf71b9be9ebae25ee4e6680c3cf0372d48ca
d14c8419786129124c4a81a9f2f6ba963ada0f0b
/labs/lab06/tests/q2_2.py
7e4a48f5a8c3967370ea1a692b6397930a248f9b
[]
no_license
ucsb-ds/ds1-w21-content
5ad4421ae106de2c2e3d9a9a22f3580cd26757b5
1ab3d43d3b66d7eb5774dab3ff23e0bc848241bd
refs/heads/main
2023-03-13T19:11:14.271885
2021-03-08T17:48:22
2021-03-08T17:48:22
329,216,349
2
0
null
null
null
null
UTF-8
Python
false
false
574
py
test = { 'name': 'q2_2', 'points': 1, 'suites': [ { 'cases': [ {'code': ">>> np.all(np.sort(retweets_likes_age.labels) == ('Likes sum', 'Meme Format Posted', 'Retweets sum', 'age'))\nTrue", 'hidden': False, 'locked': False}, {'code': '>>> np.all(np.sort(retweets_likes_...
[ "swsolis@ucsb.edu" ]
swsolis@ucsb.edu
9836ce05d70663e0bb8deeacba460ad5decb951f
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/test/test_payment_debit_memo_application_unapply_request_type.py
c404017728cdfd5eacfaba72202a427d5f79d3e4
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,940
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
b91548533873b0b01b3adebbf32524f9926cc02a
d84cdb299680929fce7008968f474c0232fd24ff
/src/metrics/ap_iou.py
70c839e124b64d79dbba39cef91751d19ae5773d
[]
no_license
chevalierNoir/FS-Detection
878e8289df6f2e467b9fe6f5fbd683480b7cd0cb
b386f04d90b88daf9f7bf598e5ca7075d8376421
refs/heads/main
2023-07-27T17:02:26.163138
2021-09-15T02:48:46
2021-09-15T02:48:46
353,844,429
22
0
null
null
null
null
UTF-8
Python
false
false
5,673
py
import os import pickle import numpy as np def get_iou(y_pred, y_true): # y_pred, y_true: [[start, end],...] # return: ndarray of shape (n_pred, n_true) y_pred, y_true = np.array(y_pred), np.array(y_true) n_pred, n_true = y_pred.shape[0], y_true.shape[0] y_pred = np.repeat(y_pred.reshape(n_pred, 1...
[ "bshi@slurm.ttic.edu" ]
bshi@slurm.ttic.edu
088050dde073045050777fdec843ac327c8826bd
2f92d4577202c1163a803452fd7b115bcc78de8f
/venv/Scripts/pip-script.py
46d0783b77b49abd571b6c86cd79ce1c28a8c0b0
[]
no_license
Pisoh/Resistor-color-code-calculator
0e5ae39ea986db019caba8c1f74ed01a1e43819e
5160362c934607960b64aa8da3c6a49fc399ce5a
refs/heads/master
2020-05-02T01:18:22.401746
2019-03-26T00:28:12
2019-03-26T00:28:12
177,684,357
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
#!"C:\Users\Buma Pisoh\Desktop\Python Projects\Resistor simulator\venv\Scripts\python.exe" # 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?...
[ "ransom.pisoh@pethersolutions.com" ]
ransom.pisoh@pethersolutions.com
e9ffe1ed74fdb3aa1130e04198c32f3bd81441b3
361d4fbe7563d33243dc52d1da60c31b5b098044
/__init__.py
c91f80a7b41c261aaa9e8d9f9de0f11c8abf674b
[]
no_license
fgui/hy-tryton-hello_button
1115b6f26a2e67e3f947e31ac17014f2ac27af37
665ad121b77498b25b486f53748307d51d751597
refs/heads/master
2022-04-07T01:21:30.211740
2020-01-29T13:29:46
2020-01-29T13:29:46
119,517,955
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
import hy from trytond.pool import Pool from . import hello def register(): Pool.register( hello.Hello, module='hello_button', type_='model')
[ "francesc.guillen@gmail.com" ]
francesc.guillen@gmail.com
dfdafec9f08b465c99582efafef3c5f0429c748a
70c10c5eeeb038d87841289f109775a9ec5ddc9b
/Day8/thread_lock.py
ab3ea522b2969168d19431f244cdd1e35f9d5c6c
[]
no_license
chenshuo666/pythonWell
a68fdae5fab891dd235c7656892ac85eaf9163c5
ae4cd795c5cf925830b5f7df8c7668bec5b2904c
refs/heads/master
2022-12-09T21:35:00.343591
2018-09-10T06:04:45
2018-09-10T06:04:45
130,060,002
1
0
null
2022-12-08T00:44:33
2018-04-18T12:38:02
JavaScript
UTF-8
Python
false
false
431
py
#!/usr/bin/python #-*- coding:utf-8 -*- # Author:Sebastian Williams import time import threading lock=threading.RLock() num=0 def run(n): lock.acquire() global num num+=1 lock.release() t_obj=[] for i in range(50): t=threading.Thread(target=run,args=("t-%s"%i,)) t.setDaemon(True) #将当前线程设置成守...
[ "929387146@qq.com" ]
929387146@qq.com
e58311dfe24a099db95e483e368905d36e9691a7
f9c6854c81a57d618ba89bcf711f8365979077b3
/process_exist.py
7dcf549dadc2df3842dd6387793ba11e829143e5
[]
no_license
hzlpy/python-tools
553c4988a902e15b7dfec52572c1df3b01338315
3d8df5ec3e31762bb8aa3e021807c346b12ab88c
refs/heads/master
2021-01-12T15:59:09.052578
2016-10-08T07:22:00
2016-10-08T07:22:00
69,327,671
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
# !/usr/bin/env python # -*- coding: utf-8 -*- import os import logging import datetime def process_exist(process_name): process_lock = '/root/phxsql/tools/' + process_name + '.lock' # print(process_lock) os.system('ps -ef | grep %s | grep -v grep >%s' % (process_name, process_lock)) if not(os.path.get...
[ "ihzlpy@gmail.com" ]
ihzlpy@gmail.com
86b6a4892d3cbd3b63f1d2b27abcadd6be24b41c
29b8e6b185aff076a40ed58511b3f721f599e2a6
/blog/urls.py
ebf0e99bbcd767d2a8e9676ffb44cef11fff83e8
[]
no_license
Orfejs/my_site
3346b25553b05beed83a3008262215994abf83ae
5db891c919c18bf91cbd3933de8b5655e3fae367
refs/heads/master
2023-07-24T05:30:19.380781
2021-09-08T11:14:23
2021-09-08T11:14:23
381,720,086
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
from django.urls import path from .views import ( PostListView, PostDetailView, ) from . import views urlpatterns = [ path('post/<int:pk>/', PostDetailView.as_view(), name='post-detail'), path('', PostListView.as_view(), name='blog-home'), path('about/', views.about, name='blog-about'), path('c...
[ "dgraudins@gmail.com" ]
dgraudins@gmail.com
64aee0076002b24b245235b85ae954ce82577ad7
3852cd63b4b26494715b03100d11d16f53aed7c2
/Lab11 - GP/models/chromosome.py
0c80280c4e35bed6ba919ef77c46bd9af4bd1295
[]
no_license
CMihai998/Artificial-Intelligence
f7fe5bd6d7205e4a93f1848b53b4c7170736ba17
657983af388090dc24a6603f74b6aa29451393bb
refs/heads/master
2022-09-23T20:59:58.057865
2020-05-31T17:58:16
2020-05-31T17:58:16
257,830,944
3
1
null
null
null
null
UTF-8
Python
false
false
7,304
py
import math import random UNARY_FUNCTIONS = ['sin', 'cos'] BINARY_FUNCTIONS = ['+', '-', '*'] class Chromosome: def __init__(self, maxDepth, terminals, functions, constants): self._constants = constants self._maxDepth = maxDepth self._terminals = terminals self._functions = functio...
[ "mihai3198@gmail.com" ]
mihai3198@gmail.com
ae673bc0f0d75e24821b6446a18f969219f15a5b
fed53a83f014dedd79258ea16c2ec0ffffb522a6
/src/restfw/tests/test_serializers.py
ba78e4f933f8bf0b2f6bd27fbae8b915e29529d9
[ "MIT" ]
permissive
Cykooz/restfw
a995813c9d4bbd20aa3079ab8192c3d2ba2410d0
91951f5e095eaac4ec66ae1d7fe95cc5f6e773d5
refs/heads/master
2023-01-23T11:30:11.769448
2023-01-10T07:32:15
2023-01-10T07:32:15
114,084,829
0
0
null
null
null
null
UTF-8
Python
false
false
5,351
py
""" :Authors: cykooz :Date: 11.01.2021 """ import json from pyramid.renderers import render from .. import views from ..hal import HalResource, SimpleContainer from ..resources import Resource from ..typing import Json from ..utils import open_pyramid_request class DummyResource(Resource): def __init__(self, t...
[ "cykooz@gmail.com" ]
cykooz@gmail.com
a2a4766b5ccdfc7a636dc201fadf24bcca0f405a
32f3d408571801a759117453551b80db6124dcd0
/election_registrar/urls.py
1f62ad8ac4f5192fd162f14fa1b23d7e1ebc614f
[ "MIT" ]
permissive
SCPR/kpcc_backroom_handshakes
24aafad0c73c56aff1fe05848a012cba8a7a4b18
6bb7a45dc75f939fd9ef6264f14d3082e99ad6f8
refs/heads/master
2020-05-21T23:22:04.301088
2018-07-03T17:36:37
2018-07-03T17:36:37
57,341,375
0
1
null
2016-10-17T15:37:25
2016-04-28T23:55:56
Python
UTF-8
Python
false
false
446
py
from django.conf import settings from django.conf.urls import patterns, include, url from django.views.generic import RedirectView from django.views.decorators.cache import cache_page from election_registrar.views import ElectionIndexView, ElectionDetailView app_name = "election_registrar" urlpatterns = [ url(r"(...
[ "christopherlawrencekeller@gmail.com" ]
christopherlawrencekeller@gmail.com
eea5ae8094220d0fd649bc62d8fd6927965db4d0
3243103e1b0cae118f1aec991f1b555923d8568b
/Python-Script/streamer.py
70d0109c181f37e7e82b8491455685234ea433d4
[]
no_license
huyouare/Duke-Study-Group
12bba5c092486b05e2fa7c9251f338e6d8f4f933
155976b0b4cc28c6b8bb66a6d18cfbbaa85fe12d
refs/heads/master
2021-01-10T10:10:00.951420
2016-01-17T01:30:47
2016-01-17T01:30:47
30,263,414
3
1
null
2015-04-28T03:56:49
2015-02-03T20:38:26
Swift
UTF-8
Python
false
false
1,539
py
import json import requests subjects_output = [] # Array for output json streamer_url = "https://streamer.oit.duke.edu/curriculum/courses/subject/" streamer_url_suffix = "?access_token=6448bb1e9d6f2380428de491aaa83cf0" with open("subjects.json") as json_file: json_data = json.load(json_file) values = json_data["...
[ "huyouare@gmail.com" ]
huyouare@gmail.com
401679d7bfaad9e12343bd4f7fa0b38ab40a9185
553fc69473874d701ba9a67287454ce4195ea1f8
/swaligner_weighted.py
bbe5c3f4fde201b9eeb186ad0026a1ebe3697b52
[]
no_license
RenhaoL/q2hw5
aa9b855dd282db482f8b3ecfd62a79a67da35eca
c29785f39ea32679b67b834f7042e16966c6cc26
refs/heads/master
2020-04-22T02:57:46.063140
2019-02-24T08:26:22
2019-02-24T08:26:22
170,069,011
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
py
#!/usr/bin/env python import numpy as np #penalty box match = 3 mismatch_transit = -1.5 mismatch_transver = -3 gap = -2 #sequences. seq2 should always be larger than seq1 seq1 = 'TGTTACGG' seq2 = 'GGTTGACTA' #scoring matrix size rows = len(seq1) + 1 cols = len(seq2) + 1 def create_score_matrix(rows, cols):...
[ "noreply@github.com" ]
RenhaoL.noreply@github.com