blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
37d1cdab1ee696f8552bdf74cc8f123c227bb56b
9ab8eab22ce622f5128bd4e2f96f1c3088602b8e
/journals/tests.py
81c5c7e9a0953ac92112670b5a333ce02f5d66f7
[]
no_license
ThiraTheNerd/myblog
f72e76f09002255365bf6cc49b4a3be8f7c19e10
876715566201fbd553d1539b5deeb3057f2252a2
refs/heads/master
2023-07-31T20:56:37.594433
2021-09-21T06:18:22
2021-09-21T06:18:22
408,414,692
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from django.test import TestCase from .models import Editor,Post,Comment,tags # Create your tests here. class EditorTestClass(TestCase): #setup method def setUp(self): self.editor1 = Editor(username = "JohnTheDon" , first_name = "John", last_name = "Clifford", email = 'cliff@gmail.com', profile_pic = 'print.jp...
[ "thiragithinji@gmail.com" ]
thiragithinji@gmail.com
a9f117c2a1de07cab83bd0941826967b22984c90
017e33c898ff6f11cde9d2214c4bed6e030580f4
/tictactoe/tictactoe/views.py
3f6841d40f93be9c58aaf83dc0154b29fedcb5b5
[]
no_license
harry100/tictactoe
e9ad8d19dd51fb8d51a8501b2a3bb3df71c229d5
2069af5a6f577edb4c3ca6aef05841f2b58c3030
refs/heads/master
2020-05-20T06:36:45.493203
2019-05-16T13:12:37
2019-05-16T13:12:37
185,432,480
1
0
null
null
null
null
UTF-8
Python
false
false
210
py
from django.shortcuts import render, redirect def welcome(request): if request.user.is_authenticated: return redirect('player_home') return render(request, 'tictactoe/welcome.html', {'title': 'Welcome'})
[ "maharjanamanda@gmail.com" ]
maharjanamanda@gmail.com
0a19173af67ce08b82b31af183ae1dd6e4f0520f
6804a73850284947f999c6610d75678968ba1cd7
/problems/exercism/python/raindrops/raindrops.py
9da437b432340e1938c4e857a16fe95e165b9c88
[]
no_license
atriple/Programming-Practice
ffa6745ac87577861c09bf2fa5ab97fdfe100f54
5abdb1750e088db9565247870f97a0a800b930c5
refs/heads/master
2021-06-26T07:19:53.492591
2020-11-03T16:33:24
2020-11-03T16:33:24
175,411,014
0
0
null
2020-10-18T03:46:04
2019-03-13T11:52:46
JavaScript
UTF-8
Python
false
false
298
py
def convert(number): raindrops = '' if number % 3 == 0 : raindrops = raindrops + 'Pling' if number % 5 == 0 : raindrops = raindrops + 'Plang' if number % 7 == 0 : raindrops = raindrops + 'Plong' return str(number) if raindrops == '' else raindrops
[ "andiaqil.dpe@gmail.com" ]
andiaqil.dpe@gmail.com
832ac85d470e5d42fb562d62709a205791dbb1ec
61d3b368fe222b6bbb8b32f9fad217f0a1a0f2b7
/IMU/berryIMU.py
182d4c478a56c2eb32b1a115e26a904c013e41b0
[]
no_license
Ddeluwa/rpi_rotator
372153d25a6246c9cff7e653d86193d2d8e36dc7
07c3092d7ff328424de43e009fe0d1b99461fd89
refs/heads/master
2023-08-22T21:43:29.793178
2021-10-21T06:39:39
2021-10-21T06:39:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,591
py
#!/usr/bin/python # # This program includes a number of calculations to improve the # values returned from a BerryIMU. If this is new to you, it # may be worthwhile first to look at berryIMU-simple.py, which # has a much more simplified version of code which is easier # to read. # # # ...
[ "dde.luwa.jun@gmail.com" ]
dde.luwa.jun@gmail.com
94d16670486958d751dffd735301e0e2e8992843
17883f75b816c84b67f512ca41493bfb8915f7f1
/src/scripts/themis/metaprograms/sender_completion_times/sender_completion_times.py
0453ee2fac9b4c81441138ff51c8e7dad23d334d
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
alexras/themis_tritonsort
ff5c1c44e11c0c5a711e3f886ac5bd80e5102f3b
cd1f6dbf93978471de1d0beb4b026625787edd9c
refs/heads/master
2022-09-30T20:56:42.009833
2017-11-02T20:45:37
2017-11-02T20:45:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,627
py
#!/usr/bin/env python import os, sys, argparse, re, numpy started_regex = re.compile(r"^\[STATUS\] Started .*\((\d+)\)") closed_regex = re.compile(r"^\[STATUS\] sender (\d+) closing connection (\d+) to peer (\d+)\((\d+)\)") def sender_completion_times(log_file): start_time = None completion_time_dict = {} ...
[ "mconley@cs.ucsd.edu" ]
mconley@cs.ucsd.edu
ad5357cbbee3d5cb6b8abc109655c3f528dc05ab
a9a16c414d7370b2ca6442b8125d6b6f9b3d6556
/chapter_04_Date_and_Time/03_Extracting_Information.py
e998f380786111aef92954588070daeb7428402b
[]
no_license
dennisnderitu254/CodeCademy-Py
99f1cb9fa011f1586d543650c5001de17f04b8b2
758067dc53fdb442ab18dd922dacd13cc8846ebb
refs/heads/master
2021-07-12T10:01:58.854222
2017-10-12T20:03:56
2017-10-12T20:03:56
106,739,488
1
0
null
null
null
null
UTF-8
Python
false
false
65
py
now = datetime.now() print now.year print now.month print now.day
[ "dknderitu@gmail.com" ]
dknderitu@gmail.com
557a25a22ad42e6819d10ff6b720c6d425377be4
3cceb0931af9052bf8ecba0ec227545ebd1ad41a
/hw01/DC02_03_decode2_201502023_김민기.py
61dc2abf65e55c46247405bc8e6054edb61f826c
[]
no_license
minkinew/CNU-2019-Spring-DataCommunication
99450a3ff555544d307a4df9c28e0305541a4dda
9ab8ad5f4a4d217867d40ec2742008796487883c
refs/heads/master
2020-08-11T14:53:25.852812
2019-10-20T11:32:31
2019-10-20T11:32:31
214,581,997
0
0
null
null
null
null
UTF-8
Python
false
false
4,320
py
from __future__ import print_function import sys import wave from io import StringIO import alsaaudio import colorama import numpy as np from reedsolo import RSCodec, ReedSolomonError from termcolor import cprint from pyfiglet import figlet_format HANDSHAKE_START_HZ = 4100 HANDSHAKE_END_HZ = 4100 + 1540 START_HZ ...
[ "noreply@github.com" ]
noreply@github.com
c76a2e3b1bfd1cf46459c26c87c7880e3c526200
8e431d2e6d9e2b685d03dfb6def0e1aef94f7dc2
/Lesson7(Game_OOP)/player.py
e4e135d449b612f5412315f52da79d58bac23c53
[]
no_license
Artem3824/Python_OOP
9d4c257d0d0952aa5efa14cb49260fc605543427
d1d354ffe80029897cd10bf32a1f5451136f3dfa
refs/heads/main
2023-01-11T04:54:50.724472
2020-11-10T23:55:22
2020-11-10T23:55:22
311,809,434
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
class Player: health = 100 default_damage = 10 position = [0, 0]
[ "artem.kozachenko824@gmail.com" ]
artem.kozachenko824@gmail.com
fd838e2debe2321f89d65488f9b3b6a38e02c5f7
5e10929633f676c92a4b7b9b36a04a6056af220b
/cifar/ResNet.py
012d4302a6c050ebc90ad1ef800837e899cfb16c
[]
no_license
Shirosakirukia/bitslice_sparsity
8dbd5957c11fac09b3968b385ea8208c95fbb35a
adcfbce31ddecf4e440b474e52d5ee24d768498b
refs/heads/master
2023-06-01T08:22:48.485154
2020-10-12T18:22:18
2020-10-12T18:22:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,429
py
from __future__ import print_function import math import nics_fix_pt as nfp import nics_fix_pt.nn_fix as nnf import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.nn.init as init __all__ = ["resnet"] BITWIDTH = 8 NEW_BITWIDTH = 6 def _generate_default_fix_cfg(names, ...
[ "jz288@hl279-cmp-01.egr.duke.edu" ]
jz288@hl279-cmp-01.egr.duke.edu
88bb39a3d98653873b5e154bc63ead95fdeec94e
e74beee6b2e1046a9cd3c87723676e3be1405612
/AvinodeProxy/DatabaseConnector.py
870c1ec74b894f9044c8af91f70b24f129ec0954
[]
no_license
dahobt123/AvinodeProxy
f15ec11217325191e6454dc256a8bc1ae314c855
1340fe744238986b292d0626f212b8d2591a94f8
refs/heads/master
2023-08-15T20:27:42.295883
2021-10-11T21:21:02
2021-10-11T21:21:02
416,090,326
0
0
null
null
null
null
UTF-8
Python
false
false
33,770
py
import json import os import cglogging as cgl import psycopg2 from SecretManagertConnection import SecretManagerConnection logger_Class = cgl.cglogging() logger = logger_Class.setup_logging() class DatabaseConnector: database_key = os.environ['CAG_DATABASE_CREDENTIALS'] region = os.environ['CAG_REGION'] ...
[ "66279896+dahobt123@users.noreply.github.com" ]
66279896+dahobt123@users.noreply.github.com
73797c806b77c2f4d742cc68217f727a39f283bc
b8c3946d8ae46ab96ed7fb0158c66e89997285d6
/test_track_with_yolov5/yolov5_detect_video_tracking_sort.py
692092ed8f796eab70468aab8fb4526f2e300495
[]
no_license
Vuong02011996/MOT_tracking
b02fc879ecadedeb25e2cc1925dd127e2ff1431a
240dbce5e376fb6fde8f166ee3b13af0ae447531
refs/heads/master
2023-07-16T01:51:03.685681
2021-08-20T13:36:18
2021-08-20T13:36:18
398,268,927
1
0
null
null
null
null
UTF-8
Python
false
false
6,423
py
import cv2 from queue import Queue from yolov5_detect_image import Y5Detect, draw_boxes_tracking, draw_det_when_track import time from kthread import KThread import numpy as np from mot_sort.mot_sort_tracker import Sort from mot_sort import untils_track y5_model = Y5Detect(weights="../test_track_with_yolov5/model_hea...
[ "vuonglv@greenglobal.vn" ]
vuonglv@greenglobal.vn
64c73708bb629a89c9f4fbd8c2b03867966b7c9d
7ec6bbd1ce4f29bab44ef3671af899451c1e8b4a
/groups/migrations/0001_initial.py
2a5a36fe7d95551dede41389cfacd0ef8079c72a
[]
no_license
Anurag0197/Star-Geek-Social-Website
77a13ff86d89843993c607dc56383cda549d2dcf
c1368b4e258a4012bfb5da2e53e8295fd33e5d0c
refs/heads/master
2020-04-25T06:03:40.219643
2019-03-31T08:00:22
2019-03-31T08:00:22
172,549,201
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-02-23 13:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('accounts', '0001_initial'), ] operations = [ migration...
[ "k.anurag0197@gmail.com" ]
k.anurag0197@gmail.com
2cc0912f0ae8dac58e79ed3b4021efa61986fd8e
d3ee7dce34fcde462804945b5f59221ee1c2e6be
/python_practice/game/game_round1.py
672d438f7243ef1cb996893f71026da0d6cd7f80
[]
no_license
linpeijie-python/linpeijiecode
8c8f9c6abea80af8e5da466de31062f436cc0a30
f3d45b6588174c1068ab5326fd8daad213e397a1
refs/heads/master
2023-01-22T22:45:31.411321
2020-11-25T14:24:08
2020-11-25T14:24:08
284,997,389
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/8/11 0:06 # @Author : Mark # @File : game_round1.py # @Software: PyCharm
[ "953137010@qq.com" ]
953137010@qq.com
3ee6bb27a1eefbac2fdff000c653df6497c93ab8
fc5c08110687204b5a3eceb9aa1dc572fbd51e9a
/caseworks_project/settings.py
840e29bd80e37ea937432d31b3d192035e020ca7
[]
no_license
jedgodsey/Finch-collector-lab-views
3d68d2174755bd2d78beb20a213af93ed5a66ac3
5c77abcb1e42ec6b5591f69d425bf2a229e93f8a
refs/heads/master
2023-08-01T02:59:32.370047
2020-10-30T18:20:37
2020-10-30T18:20:37
319,246,121
0
0
null
2021-09-22T19:39:13
2020-12-07T08:04:23
Python
UTF-8
Python
false
false
3,169
py
""" Django settings for caseworks_project project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ fr...
[ "jed.godsey@gmail.com" ]
jed.godsey@gmail.com
ca6077ab3eec9f7e4c1ace9940048320626185e1
53012f36a939bb199d5443e91280e9c5d01a1e6d
/mapreduce/__init__.py
42ef6c05515806be50972b63e1da421a25e1fb4d
[]
no_license
pascals-ager/hadoop-streaming
a771ae5dc1caf44c03ffa762450b44ccecce40ec
7d1b95ae16610e73c3a3e167c642eafb3dfa9b6a
refs/heads/master
2020-05-26T05:45:01.293620
2019-06-11T12:27:21
2019-06-11T12:27:21
188,125,576
1
0
null
null
null
null
UTF-8
Python
false
false
55
py
from .mapper import Mapper from .reducer import Reducer
[ "advith.nagappa@gmail.com" ]
advith.nagappa@gmail.com
a92948a8a3f0df9574808653aa318e4ec34289b2
2fa2b818807287977b7dec4128e4e8efce704749
/Modules/pronunciations.py
fb596b187711da1c19134f3fa3f9767cbc4e5255
[]
no_license
shriyachhabra/LogophileBot
8698aaacb447d1d70e83ab0b4612ee8e22368c25
aa9aa89bca9932f53396455a8efe046c37713102
refs/heads/master
2022-11-05T04:50:49.992068
2018-02-20T19:24:50
2018-02-20T19:24:50
121,655,742
1
1
null
2022-10-23T06:48:46
2018-02-15T16:58:42
Python
UTF-8
Python
false
false
537
py
import requests import json def pronunciation(word): app_id = 'd520dc72' app_key = '9636a335f1d422e70aa5a9b2381f6517' language = 'en' word_id = word url = 'https://od-api.oxforddictionaries.com:443/api/v1/entries/' + language + '/' + word_id.lower() r = requests.get(url, headers = {'app_id': app_id, 'app_key...
[ "shriyachhabra98@gmail.com" ]
shriyachhabra98@gmail.com
0b111abb5bcf2f3d825a7c5209b853280ac2c8b1
19aa291198622834cc0fc04610d419189a098f24
/stock/JSONData/gui_test.py
90f13d4ede0443c727fff6e70fc086050731ea63
[]
no_license
johnsonhongyi/pyQuant
3127cc30a7fa07a9ca58a1a067c8ee1d289c29a3
a1873ff29383c4f3a1cfb7206c2cb72ab0da8b3b
refs/heads/master
2023-01-23T15:58:59.332695
2023-01-18T13:05:13
2023-01-18T13:05:13
47,158,933
6
4
null
null
null
null
UTF-8
Python
false
false
799
py
from tkinter import * from pandastable import Table, TableModel # import sys # sys.path.append('../') import tdx_data_Day as tdd code = '999999' df = tdd.get_tdx_Exp_day_to_df(code, type='f', start=None, end=None, dl=30, newdays=None) class TestApp(Frame): """Basic test frame for the table""" def __init__(sel...
[ "5208115@qq.com" ]
5208115@qq.com
0d81647ed6d049cdbf0f84dd57324110714438a6
1ecde4178548f331f15717f245e3f657b58b9993
/zjl_crawler/scrapySchool_Australia/scrapySchool_England/spiders/UniversityofSouthernQueensland_p.py
0f804f105ef33000ae0432aea8212170abadedfe
[]
no_license
gasbarroni8/python_spider
296dcb7c3fd9dd028423fe5ec0a321d994478b15
7935fa462926bc8ea9bf9883bd15265dd0d3e6df
refs/heads/master
2023-03-26T05:22:59.858422
2019-04-15T07:17:56
2019-04-15T07:17:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,453
py
# _*_ coding:utf-8 _*_ __author__ = 'zjl' __date__ = '2018/7/30 16:52' import scrapy,json import re from scrapy.spiders import CrawlSpider,Rule from scrapy.linkextractors import LinkExtractor from scrapySchool_England.getItem import get_item1 from scrapySchool_England.getTuition_fee import getTuition_fee from scrapySch...
[ "18234405986@163.com" ]
18234405986@163.com
793418b32617fa1db2c52a0253125eee438cf45f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02714/s209800382.py
708c8e61aee946e6022b85194cbf98402b9f0e67
[]
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
659
py
N = int(input()) S = input() R = [] G = [] B = [] for i in range(N): if S[i] == 'R': R.append(i+1) elif S[i] == 'G': G.append(i+1) elif S[i] == 'B': B.append(i+1) lenb = len(B) cnt = 0 for r in R: for g in G: up = max(r, g) down = min(r, g) diff = up -...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
960f876bf5806f9ece30bfc58b45c9de7d2f9df6
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/PORMain/pirates/effects/DrainLife.py
49d379787f4ef5944afb56aa288361dc05fa29d0
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
4,075
py
from panda3d.physics import BaseParticleEmitter, BaseParticleRenderer, ColorInterpolationManager from panda3d.core import ColorBlendAttrib, ModelNode, Point3, Vec3, Vec4 # File: D (Python 2.4) from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect from direct.particles import Particle...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
79352245c28258a3c73ad129aeba2840571d1a91
0f3146f6e44e43048dc030a6ad44def9201dbd29
/alembic/versions/22d61f7599b_add_place_to_game.py
22f2bab0c433989079875e17861d9334e4ec701f
[]
no_license
socek/basket
30c7c4be753006a33b997c17cf6348a32b420cd6
30ba79a35f63fd1cf4a4cdaf4b3d21b063cfc1b6
refs/heads/master
2016-09-10T18:40:40.334233
2015-03-25T21:29:00
2015-03-25T21:29:24
30,159,677
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
"""Add place to game Revision ID: 22d61f7599b Revises: 40903a23149 Create Date: 2015-02-09 18:07:27.752483 """ # revision identifiers, used by Alembic. revision = '22d61f7599b' down_revision = '40903a23149' branch_labels = None depends_on = None from alembic import op from sqlalchemy import Column, Integer, Foreign...
[ "msocek@gmail.com" ]
msocek@gmail.com
6d6c98dded9fe0f02ff06c1ab479d8ed526e17a7
591c79db90bf1805659986c0195eb7d06db7384a
/run.py
b726a6609b31a3e9a479a7b2934455d4594d5881
[]
no_license
Arrotech/BookIt
a95c4df3238d38b3c2677f02a3dc0f1b4fac24d8
bba8da70ce860cae85eeb28769a333858feece52
refs/heads/gh-pages
2022-12-12T17:18:15.834847
2019-08-22T02:34:51
2019-08-22T02:34:51
201,605,566
0
0
null
2022-12-08T01:48:15
2019-08-10T08:59:14
Python
UTF-8
Python
false
false
526
py
import os from app import bookit_app from flask_jwt_extended import JWTManager from app.api.v1.models.database import Database config_name = os.getenv('APP_SETTINGS') app = bookit_app(config_name) @app.cli.command() def create(): """Create tables.""" Database().create_table() @app.cli.command() def admin(...
[ "arrotechdesign@gmail.com" ]
arrotechdesign@gmail.com
33969ea54f17fc731748456b6eeebafe130c8366
944401a6292baa2d23b9738898e0b0cb199d0795
/lib/python2.7/site-packages/IPython/core/splitinput.py
a1b18fdde858f8fc51e8d71958e8f3e5336c1ed8
[ "Python-2.0" ]
permissive
sunnyweilai/Finding-Theme-Color-Palettes
cc84c93ce58abdd1802431c41bd59181d7a4f75b
4c38b112f5c40b43d6ec126e415b609c7fdc1f39
refs/heads/master
2022-12-21T09:41:31.187411
2019-04-30T14:50:17
2019-04-30T14:50:17
184,273,925
1
0
null
2022-12-07T03:46:55
2019-04-30T14:09:52
Python
UTF-8
Python
false
false
4,790
py
# encoding: utf-8 """ Simple utility for splitting user input. This is used by both inputsplitter and prefilter. Authors: * Brian Granger * Fernando Perez """ #----------------------------------------------------------------------------- # Copyright (C) 2008-2011 The IPython Development Team # # Distributed under...
[ "wnn2260@gmail.com" ]
wnn2260@gmail.com
761d79644cbc78289b053f3ef1e65b89e42b8aca
a36f20ea67747e8656e2607bd033e20e1d9d9de6
/ToRgbComparison.py
6e69d722766834233b1cac1a607f8f96ddaf54f6
[]
no_license
mfm24/miscpython
ae47de1bfe849d53243b9f2d47dc0f3bdb7acf10
0c02087a0e5864ee1d26f9f36390766cb0408e9f
refs/heads/master
2020-04-06T07:08:43.414575
2017-03-12T00:06:59
2017-03-12T00:06:59
9,640,566
7
4
null
null
null
null
UTF-8
Python
false
false
3,453
py
# what's the best way to convert a 2d float value into # a rgb uint8 image for showing. We have a few options: import numpy as np import time import sys no_weave = '--no-weave' in sys.argv def to_rgb1(im): # I think this will be slow w, h = im.shape ret = np.empty((w, h, 3), dtype=np.uint8) ret[:, :, 0...
[ "murfitt@gmail.com" ]
murfitt@gmail.com
41bc2f5ace0fa35654a900c92e31d5c792a9b8bd
0305b3424ad2e89d64d6629d068caaa298419ea2
/examples/list_files.py
8ba0b3129c7528c90ab6fb786bfbaed0772a5f8c
[]
no_license
relman/sandcage-api-python
f8c0938aa8ddb03a10d434b3f82df26dda6ed906
cd4b3e3ab7fc9a67cef33365e3d2b6eb806dc748
refs/heads/master
2021-01-12T17:23:02.319025
2016-10-21T13:31:26
2016-10-21T13:31:26
71,555,322
1
1
null
null
null
null
UTF-8
Python
false
false
378
py
# -*- coding: utf-8 -*- import sys import os.path sys.path.append(os.path.join(os.path.dirname(__file__), '..')) from src import SandCage sc = SandCage(api_key='<INSERT_API_KEY>') result = sc.list_files({ 'directory': 'root', # optional 'page': 1, # optional 'results_per_page': 100 # optiona...
[ "flint.storman@gmail.com" ]
flint.storman@gmail.com
bb69cb024ba98b5bee8a021ba68a257649a41338
e848d0a1c941a3fb0db9f4f483b6d099895bff2b
/15-1_compute_MFE.py
12d1ec5c894366c252c467513d659914119639b1
[]
no_license
hexavier/tRNA_viruses
edfba3da03a8fac0659850d17b25f6f581f9fe12
802bf91e5270b72ae12c4d510e2241abac24e3a2
refs/heads/master
2021-05-18T13:01:24.968359
2020-12-14T11:24:27
2020-12-14T11:24:27
251,246,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
# -*- coding: utf-8 -*- import pandas as pd import RNA import numpy as np import re def get_codons(seq,frame): cutseq = seq[frame:] seqcodons = [cutseq[n:n+3] for n in range(0,len(cutseq),3) if len(cutseq)>=(n+3)] return seqcodons #%% Load data metadata = pd.read_csv("data/refseq_humanvirus_...
[ "xa.he.al@gmail.com" ]
xa.he.al@gmail.com
c14983e62b1143c21a28afa754a2a817b6d39590
daf094a1e2fc8731cc4ac36e27237a3f3064ae3c
/src/config.py
8468eba4d92d2c6f6c239e945d95ce309089e5eb
[]
no_license
haodongyu/AIM2020-Real-World-Image-Super-Resolution-Challenge-track-2_x3-upscale
db23f68e374bdd8e33e82a653ea3cea92052e7e6
922e4276ab2184c28e126b544c18d4140b556bcf
refs/heads/master
2022-12-09T19:38:52.045409
2020-08-14T09:15:18
2020-08-14T09:15:18
287,469,703
4
0
null
null
null
null
UTF-8
Python
false
false
519
py
dir_pools = ['../experiment/AIM_EDSR_x3_TEST_model_best_forensemble', '../experiment/AIM_DDet_x3_TEST2_model12_forensemble', '../experiment/AIM_DDet_x3_TEST2_model18_forensemble', '../experiment/AIM_WDDet_x3_TEST_model_best_forensemble'] weights = {'../experiment/AIM_EDSR_x3_TEST_model_best_forensemble':1....
[ "haodong.yu@outlook.com" ]
haodong.yu@outlook.com
a8fe86b663e981417bf12193e0e81410ff97bac9
5bd0a6890f2313c61a8390e54247e59d27f92bb1
/hed/validator/onset_validator.py
f44b291baa48f117076e11418dbf159c69e68f23
[ "MIT" ]
permissive
hed-standard/hed-python
840d9760f783d0fe059e51ca6c5899f50d21173e
b871cae44bdf0ee68c688562c3b0af50b93343f5
refs/heads/master
2023-08-30T23:30:59.506164
2023-07-10T14:14:05
2023-07-10T14:14:05
188,481,236
5
30
MIT
2023-09-13T11:26:23
2019-05-24T20:06:26
Python
UTF-8
Python
false
false
4,563
py
from hed.models.model_constants import DefTagNames from hed.models.hed_group import HedGroup from hed.errors.error_reporter import ErrorHandler from hed.errors.error_types import OnsetErrors class OnsetValidator: """ Validates onset/offset pairs. """ def __init__(self, def_dict, run_full_onset_checks=True): ...
[ "1189050+VisLab@users.noreply.github.com" ]
1189050+VisLab@users.noreply.github.com
d3efe2b01dcb733bf1b4582a419bd37c7cb56f56
d47ca1953395e0070357992bbc1123f95015dad3
/Asfaleia/rotor_two.py
efd98a5afbd6096ef7bad168862dba1174f4d839
[]
no_license
Horef/Asfaleia-or-Modern-Enigma
d8ba62873dbe055aadeb29cf4621d397dff3ffb2
dc9f5994174873fd6866fb0b8b195af626ef7c38
refs/heads/master
2020-06-19T05:27:20.261025
2019-07-23T16:31:29
2019-07-23T16:31:29
196,580,463
0
0
null
2019-07-20T19:39:31
2019-07-12T13:02:56
Python
UTF-8
Python
false
false
11,006
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jul 11 14:22:17 2019 @author: Sergiy Horef """ from rotor import Rotor class Rotor_Two(Rotor): def __init__(self, nr, val): super().__init__(nr, val) self.val_one_shuffler = [('f','i'), ('z','p'), ('m','b'), ...
[ "noreply@github.com" ]
noreply@github.com
4c03c38e1d85e0f37265f479b943d5d31c025960
ef0f7dea29f6e55ef38c113477d0354ced39ba77
/Exercise4.py
124dbfa4e2c4a8e05840f09c554b400819bbbd83
[]
no_license
JoannaEbreso/PythonProgress
e7613f5f72b9430fbf1c0aadd50328336d578475
0f3d9ddc6595c34eda5668015c1a7ba8e460af8a
refs/heads/master
2022-11-26T08:16:07.199769
2020-06-27T15:14:48
2020-06-27T15:14:48
271,935,844
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
x= "interesting" def Jojo(): x = "Okay" print("Python is " + x) Jojo() print("Python is " + x) b = "JoannaEbreso" print (b[-5:-2]) print (b[2:5]) x = "Hello World" print(len(x))
[ "jebreso@yahoo.com" ]
jebreso@yahoo.com
164529bff82c266cbf49fc91fc09fb7279596099
75089747a38a99f39de2fc437c938d0dc17878f9
/phoneAndEmail.py
a7d3ab72fd5d9b1d99bb0aa6b7c7a1fa7ee2c517
[]
no_license
ShiJianjun0915/myprojects
c6be70561257897407b9bd603487032526abfa06
be0610a822d1f608f0b0f9f91e4d2baa3c77b40e
refs/heads/master
2020-06-13T01:21:10.168367
2016-12-27T03:45:56
2016-12-27T03:45:56
75,469,715
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
'''phoneAndEmail.py - Finds phone numbers and email address on the clipboard ''' import pyperclip, re #Create phone number regex phoneRegex = re.compile(r'''( (\d{3}|\(\d{3}\))? # area code (\s|-|\.)? # separator (\d{3}) # first 3 digits (\s|-|\.) ...
[ "1228629207@qq.com" ]
1228629207@qq.com
8f9941fcdbe83805a264e49150d3c81a137fa39b
20ac7310b4f7e5fed1351035381d973d593ef635
/Capstone/score.py
48b04576f10f699ca9fffd1444a81c20146feb1e
[]
no_license
Nupurgopali/Microsoft-Azure-ML-Repo
6839d397030527d076d57c7beaf9e24112ce5059
a5c412ee67518f8e8b6dc0c6e64203cbee0b5f5e
refs/heads/main
2023-08-03T23:45:39.313358
2021-09-07T17:57:33
2021-09-07T17:57:33
403,601,066
0
0
null
null
null
null
UTF-8
Python
false
false
3,474
py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- import json import logging import os import pickle import numpy as np import pandas as pd import joblib import azureml.automl.core from azu...
[ "noreply@github.com" ]
noreply@github.com
154a6f9d6411492e873a3cc1df6a8692bc50eb5d
e953c138d3808d92fcc9848824985be5bc42f034
/python/memory/object.py
3bac548d07cf37e38f2bc1406886a6af6f427a63
[]
no_license
hotoku/samples
1cf3f7006ae8ba9bae3a52113cdce6d1e1d32c5a
ce0d95d87e08386d9eb83d7983bd2eaff0682793
refs/heads/main
2023-08-09T09:05:15.185012
2023-08-04T09:29:06
2023-08-04T09:29:06
222,609,036
0
0
null
2022-03-30T01:44:03
2019-11-19T04:35:27
Jupyter Notebook
UTF-8
Python
false
false
943
py
from dataclasses import dataclass import sys import numpy as np @dataclass class Week: year: int week: int w1 = Week(2020, 1) print(sys.getsizeof(w1)) # => 48 a1 = np.arange(10) print(sys.getsizeof(a1)) # => 184 a2 = np.arange(20) print(sys.getsizeof(a2)) # => 264 a3 = np.arange(30) print(sys.getsize...
[ "hotoku@users.noreply.github.com" ]
hotoku@users.noreply.github.com
2f0904fcc369ba8c6ad295abf797c73aaab0022f
5e3ebc83bc3fe2f85c34563689b82b1fc8b93a04
/examples/remarketing/add_remarketing_action.py
8a5c8e9783e7b8cdb2cc6096712711c4039041a0
[ "Apache-2.0" ]
permissive
pdsing/google-ads-python
0ce70227cd6bb13a25cd13de0ca05c2636279ecd
ee2c059498d5679a0d1d9011f3795324439fad7c
refs/heads/master
2023-05-04T18:39:57.412453
2021-05-21T16:38:17
2021-05-21T16:38:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,941
py
#!/usr/bin/env python # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "noreply@github.com" ]
noreply@github.com
6c06d9d4395b12a17700fbdba79c49314433e47d
c183f5c5683ed9b7ce5be3adee3c27a6cc7880e6
/classifier/classifier.py
17838776add289a815b0aed8d5a971fd139d6d4a
[]
no_license
trivalchang/utility
961d6680c5d0df981ff8eb7c550e844481e8e7b3
3cf3156d949492d75b2c38b925ae2ab985f20371
refs/heads/master
2021-09-07T21:48:32.368018
2018-03-01T14:15:08
2018-03-01T14:15:08
115,503,448
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
from __future__ import print_function import numpy as np import cv2 import os import sys from sklearn.svm import SVC import pickle path = os.path.dirname(os.path.abspath(__file__)) sys.path.append(path + '/../') from feature.HOG import HOG from fileOp.h5_dataset import h5_dump_dataset class Classifier(): model =...
[ "developer@Andyde-MacBook-Pro.local" ]
developer@Andyde-MacBook-Pro.local
dfafd1ae71ca03b108e11ecaad512794deeac438
8e5617355d4df1481a2518a32d167a40eaabaa0a
/rains_or_reason/chessBoardCellColor.py
fda3616d3087e3c6d91add84e255cc0da8d00260
[]
no_license
bryanfree66/codefights_solutions
32d39604b955daff89e7d99c1021b0f39d5f1b0e
5b0e57ea5b88c6b6c2e7888e8aec777f56a214be
refs/heads/master
2020-03-21T08:22:26.322219
2018-06-22T20:12:25
2018-06-22T20:12:25
138,339,005
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
def chessBoardCellColor(cell1, cell2): cell1_list = list(cell1) cell2_list = list(cell2) cell1_list[0] = ord(cell1_list[0]) cell1_list[1] = int(cell1_list[1]) cell2_list[0] = ord(cell2_list[0]) cell2_list[1] = int(cell2_list[1]) if abs(cell2_list[0] - cell1_list[0]) % 2 == 0 and \ ab...
[ "bryan.freeman@metzohanian.com" ]
bryan.freeman@metzohanian.com
dab916fe4919f6e44f5e2dccfd5b3627e6537b09
cdc9d6574c16f6be0dc39e4fe1e29610a0e1b3ac
/src/polling_service/urls.py
1455219884e0a4b5f561d4eced028321e21d8646
[]
no_license
Kirill67tyar/polling-service
6672699c9fbcc3d5902f0b15e8a69e0caa9f5a45
a5746acd8b0cc5342e54c99acb5a9f071f5d7c12
refs/heads/master
2023-06-23T03:13:53.160972
2021-07-28T15:41:50
2021-07-28T15:41:50
375,479,690
0
0
null
null
null
null
UTF-8
Python
false
false
3,102
py
"""polling_service URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "50547951+Kirill67tyar@users.noreply.github.com" ]
50547951+Kirill67tyar@users.noreply.github.com
b9244b65c7a9a429e4cb1dd85862f9e5ec1f16ff
cf0f5661309176d5465e6f2172f3eaad8a6f9fcd
/script/tbgp.py
28a779cb0de58fbda5411a182a29b1363576adb2
[]
no_license
afred123/tools
e68f5b9b25be009c88222d102e55f36c84d641bb
9ab42fe937a076c7df9bd69910122a16a609f263
refs/heads/master
2021-05-16T16:34:59.118998
2018-03-14T01:51:14
2018-03-14T01:51:14
120,058,876
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
import urllib; import urllib2; import json def get(url): username="admin" password="admin" auth=urllib2.HTTPDigestAuthHandler() auth.add_password("R Open Networking Platform", url, username, password) opener=urllib2.build_opener(auth) urllib2.install_opener(opener) res_data=urllib2.urlopen(...
[ "1020066573@qq.com" ]
1020066573@qq.com
94fc4d3dfcfd9eed28cd72599b4126980bae625f
f86c79bfbbe1c13ee5dafe4a7c177b31977f5213
/app/wgame/apps.py
3d1a9ddc2bdeeb6fd098ecc945d81cd3867e70a2
[]
no_license
1786078681/WindG
94ffac6d52adcd3a53c8c741fef097f986485d49
e8e907a4e474d09d0e74eef606f2ce4075800b75
refs/heads/master
2021-05-14T19:01:11.219422
2018-01-03T07:31:44
2018-01-03T07:31:44
116,098,523
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
from django.apps import AppConfig class WgameConfig(AppConfig): name = 'wgame'
[ "1786078681@qq.com" ]
1786078681@qq.com
414d31ffebf9f07684fa2abe24dac050dc7b38d3
a7446017c233a0077d2527286c6957e529d4d101
/controllers/default.py
5427308ade4e9f9c9055c6e81f6c384a9ad14fe8
[ "LicenseRef-scancode-public-domain" ]
permissive
damlaozdemir/web2pymusicproject
6713cecc5f655bf0fc2ccd7a7378c38654e6f927
497d0829ea7e96e6c49a5886c10834fac9389277
refs/heads/master
2021-01-17T19:13:30.491496
2016-07-03T18:15:30
2016-07-03T18:15:30
62,509,256
1
0
null
null
null
null
UTF-8
Python
false
false
5,101
py
# -*- coding: utf-8 -*- # this file is released under public domain and you can use without limitations ######################################################################### ## This is a sample controller ## - index is the default action of any application ## - user is required for authentication and authorization...
[ "dmlozdmr93@gmail.com" ]
dmlozdmr93@gmail.com
687dc68675faaef8c8287596a6dfd322077860af
5907197df97016ef4a0910942f6732b1e9919140
/build/mybot_description_m/catkin_generated/pkg.develspace.context.pc.py
709ac4644d4c42ea89b8d9951793693d40b1cbe4
[]
no_license
maxwelldc/catkin_ws
81b848dc9a4ca38da7b4f2fa1a796489027350e7
1af78be65ad649ff03df4daeb6a67fae95aa9c26
refs/heads/master
2022-11-29T10:56:05.296889
2020-08-06T12:38:56
2020-08-06T12:38:56
285,525,980
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "mybot_description" PROJECT_SPACE_DIR ...
[ "374931377@qq.com" ]
374931377@qq.com
193bec28711eb5e27fbb2774fb57798dc55dc51c
57e5c72166c694b4022fe7d804c27fd7a7a47210
/v1/python/download-latest-event-logs.py
a5b51d60dd689b4e49b1311a653981a03a66c187
[ "Apache-2.0" ]
permissive
tauchw/api-examples
771add7e481705e5840b7221eb5a24a1301e37a6
fd2045d60c3eeca491b5033906fb62cf999531d9
refs/heads/master
2023-06-01T13:35:52.693404
2021-05-18T19:04:37
2021-05-18T19:04:37
250,577,441
0
0
Apache-2.0
2020-03-27T15:55:10
2020-03-27T15:55:09
null
UTF-8
Python
false
false
1,026
py
#!/usr/bin/python # # Copyright 2019 Edgewise Networks # SPDX-License-Identifier: Apache-2.0 # import os import glob import requests import yaml from edgeutils import ApiSession logs_dir = './logs' with open('config.yaml') as f: config = yaml.safe_load(f) api = ApiSession(config) # Get event logs list, sort, a...
[ "dperkins@edgewise.net" ]
dperkins@edgewise.net
cd4054f332a12c5a22567202de541651c1c6fed6
093b0d6668230bd7242ac8362e0d797c3d1728ef
/ui_qmlstyles.py
9f5c47ae2bf7e34b3986bd7b426798f1637d5054
[]
no_license
lynx-r1/multiqml
8b289fb917b788b0b89c8a83e9d28762e131a80c
cad89dfaea2c9372520739c07f6b1815e2c3427e
refs/heads/master
2021-01-01T20:49:04.655067
2010-11-16T03:10:03
2010-11-16T03:10:03
1,084,021
0
0
null
null
null
null
UTF-8
Python
false
false
10,476
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'qmlstyles.ui' # # Created: Wed Jan 7 03:32:46 2009 # by: PyQt4 UI code generator 4.4.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_QmlStylesForm(object): def setupUi(self, Qml...
[ "ya@lynx-r.name" ]
ya@lynx-r.name
1b53a2e22af9c79f7cb5fdc38488abbc5cb31b78
bfbdea4f266287542b543414311e65cc8a878130
/TEXT_CLASSIFICATION/Transformer/common/json_dump.py
e65581116655328f16e939ce5b00785215abf13b
[]
no_license
wushishang/complex-order
aad040c62314aafe82f918773a6a4631e403fb2a
95c0426724681455d84d73398e4aa2b188d93991
refs/heads/master
2023-08-19T12:42:55.497278
2021-10-30T05:21:44
2021-10-30T05:21:44
400,369,981
0
0
null
null
null
null
UTF-8
Python
false
false
2,475
py
import ast import enum import logging import re import time import numpy as np import pandas as pd import torch from common.helper import tdiv, print_stats class JsonDump: def __init__(self, filename): print_stats("creating_json_dump", to=filename) self.logger = self.get_logger(filename) ...
[ "wu1396@purdue.edu" ]
wu1396@purdue.edu
34bb715248b0e43afb20ee6346d489b37bbbfaaa
5844d42f07303a6e2f164cee7f30514d0b48d9d6
/APIRestDjango/asgi.py
b9f0bcfd8eb96df0051d08a208f200ab8518fbc9
[]
no_license
LFrakie/DjangoApiRestDeploy
c74fed856d252484cb2cf029c84db9414fafe319
bf2da283430a43044c0206afa9a941784b1443a0
refs/heads/master
2023-08-29T18:40:52.664396
2021-11-01T04:03:17
2021-11-01T04:03:17
423,314,142
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for APIRestDjango project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "frankwilsonknow@gmail.com" ]
frankwilsonknow@gmail.com
985c7aa28847cd4854fce9905bc2bdd32a93a5a0
9beef29d5673a5ff723cb82288848ddcc7c87f1b
/project2_to_student/svm.py
ffba2aff0332ee0a13110656f8faef161b5409e1
[]
no_license
JwDong2019/Pattern_recognition
88ee9f43c42bd1f0c3cc1a1dbdea2a241c3635a7
d0723f9d7c074788f5d1f0fe9a13d1b35119f8eb
refs/heads/master
2020-09-09T05:35:34.933327
2019-11-13T03:36:42
2019-11-13T03:36:42
221,363,028
0
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
# -*- coding: UTF-8 -*- import sys path=r'C:\Users\zhtjw\Desktop\libsvm-3.24\python' sys.path.append(path) from svmutil import * from scipy.io import loadmat import numpy as np import math import matplotlib.pyplot as plt import seaborn as sns train_label = loadmat(r'train_label.mat') train_label = list(tra...
[ "jwdong2015@163.com" ]
jwdong2015@163.com
1396be293ec9c20991c348c63754479f5a95ee3b
ef2e354ae06e9994b7bc65f9685f8769ec56dc28
/signin/views.py
61b5f11c58b4c816f2b49989c0e0c093c439ae29
[]
no_license
akhilpatil123/FareShare
45e634b07749f507a40eeb08be710b2090844ab9
a0d89ba324ef5cf74fe5c54cf641f0d3625bd373
refs/heads/master
2020-04-30T00:21:56.041455
2019-03-19T11:55:56
2019-03-19T11:55:56
176,501,277
0
0
null
null
null
null
UTF-8
Python
false
false
2,509
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.core.mail import send_mail from django.shortcuts import render,redirect from .models import * from .forms import * from django.http import * from django.contrib.auth.models import User from django.contrib impor...
[ "you@example.com" ]
you@example.com
f112488eca72f60da8d513ba0c7dc7eb948f1314
0c1b3d8e1874cfb954143bd118e81df3d2a23b4f
/Course/Course07/Course07/Course07.py
16d155770af4183876838fc754472d82ffbd0a07
[]
no_license
GeorgiMinkov/Python-stuffs
7e25c64463c0e0eb6cdcd135ae1d513f2b029d1f
3cc32a2571b1e9081b38aff6cdf637fc12ea7e9b
refs/heads/master
2021-01-18T16:19:21.727596
2017-10-11T09:17:18
2017-10-11T09:17:18
86,736,416
0
0
null
null
null
null
UTF-8
Python
false
false
2,271
py
# use psycho indexing from 1 # encoding: utf-8 class Vector(object): def __init__(self, *values): self._values = list(values) # ?? ?? ???? ?? ? mutable def __getitem__(self, key): return self._values[key - 1] def __setitem__(self, key, value): self._values[key - 1] = value clas...
[ "georgi_min@outlook.com" ]
georgi_min@outlook.com
21b04577adcb437a6b460fb9fd8c9f744d97d813
035ed13073a3d018a0cc9b3ba56410e1477a786d
/Edi_Library/connectMongoDB.py
e46638c99c3f6dd3677deca8dc456b8262e53e66
[]
no_license
yousefsul/EDI_Library
bffe7198774a0555bbc3e94e826df693ef38fd7c
ea197318f16c896eb223116f6048f32c99e97ebc
refs/heads/master
2023-09-01T11:21:13.029151
2021-09-18T13:41:48
2021-09-18T13:41:48
405,415,425
0
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
from pymongo import MongoClient MONGO_CLIENT = "mongodb://yousef:Ys2021xch@209.151.150.58:63327/?authSource=admin&readPreference=primary&appname" \ "=MongoDB%20Compass&ssl=false" class ConnectMongoDB: """ connect to devDB and client database define the clients_collection,visits_collection,...
[ "67277838+yousefsul@users.noreply.github.com" ]
67277838+yousefsul@users.noreply.github.com
f9c18e26046f157c32283ef7744f6fbaa5153e8c
18845896c764a564de1d719375e10cf31369c831
/pyworld/toolkit/tools/visutils/format.py
a65cf5d74d97a8bb4d8039b520c12efcd545657e
[]
no_license
BenedictWilkins/pyworld-rl
b4fbc6a1f28a6f8f7d142634c1581f1aaa78065d
ef94d7a79a835212899d030d012024af5e1897bc
refs/heads/master
2023-01-07T19:12:05.230919
2020-09-18T15:44:51
2020-09-18T15:44:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jan 24 13:10:10 2020 @author: ben """
[ "=brjw@hotmail.co.uk" ]
=brjw@hotmail.co.uk
fce3ef57204d418506111fe770ceea4d801292ef
28d7e7be8d17b24325349ac8b1a0f746d0e7196a
/myutman/__init__.py
7a3a64db3efbb4f72adb5f9855f147ddfca67775
[]
no_license
myutman/distributed-changepoint-detection
962196ec475c2288e453078b70e494857b4dac9b
9cc2a5f49d7925de93fa13a70e241fc0e3819e9a
refs/heads/master
2020-08-11T21:37:32.568537
2020-06-17T17:33:48
2020-06-17T17:33:48
214,631,998
0
0
null
2019-10-19T09:43:36
2019-10-12T11:02:07
null
UTF-8
Python
false
false
532
py
from myutman.fuse.fuse import FuseForWindowAlgo from myutman.generation.generation import ClientTerminalsReorderSampleGeneration, ChangeWithClientSampleGeneration, \ ChangeWithTerminalSampleGeneration, ChangeSampleGeneration from myutman.node_distribution.node_distribution import RoundrobinNodeDistribution, Depende...
[ "myutman@gmail.com" ]
myutman@gmail.com
aa38f0144cc56bbe326c370dfdbcc8705a5e248f
d9031bfff990457e53470d8e578314980024cfe8
/fluent_python_eg/8、对象引用、可变性和垃圾 回收/为任意对象做深复制和浅复制.py
344150302a7c06123dc34270c7e6421cabb74729
[]
no_license
L316645200/_Python
f2d69772b2769b73061d3c5c8e957214a4ad9dfd
ca08b86da4e97df8e0f6e704c287f4fdb22f8675
refs/heads/master
2023-06-25T07:34:07.629789
2021-06-30T03:28:02
2021-06-30T03:28:02
249,311,572
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
# 示例 8-8 校车乘客在途中上车和下车 class Bus: def __init__(self, passengers=None): if passengers is None: self.passengers = [] else: self.passengers = list(passengers) def pick(self, name): self.passengers.append(name) def drop(self, name): self.passengers.remo...
[ "linjq@kaopuyun.com" ]
linjq@kaopuyun.com
ee6512a76805369538943a622b67b5220a30b0f6
861d25fe3985340dae621d179f7af368e0dd7f39
/stockweb/apache/django.wsgi
a14db05fff3bc47c9c5dcf5ca20ffd3b88a1b173
[]
no_license
zhuwei302/python
1ebcfac3e4f208ba81af93d13b8857bea9497862
dfad635149b8f307ae0eb5b2b8c348843de663bb
refs/heads/master
2021-01-19T18:44:32.843216
2018-09-18T15:17:21
2018-09-18T15:17:21
101,160,521
0
1
null
null
null
null
UTF-8
Python
false
false
238
wsgi
#coding=utf-8 import os import sys import django.core.handlers.wsgi os.environ['DJANGO_SETTINGS_MODULE'] = 'stockweb.settings' app_apth = "E:/py/stockweb" sys.path.append(app_apth) application = django.core.handlers.wsgi.WSGIHandler()
[ "244840434@qq.com" ]
244840434@qq.com
9f879ed1cd06cd14624c649b924d8b38d6c67866
b98c1b5aba8432f1ad80107b9780f9a9c58334f1
/appionlib/apImage/imagestat.py
2e0839428346c2c8ed61f295c68d5b42a993f734
[ "Apache-2.0" ]
permissive
vosslab/ctfeval
b58b27be3033cf0cc15e5888be73bee627bc9951
6cfc648f91c318c3a46a959e4771c3d16d8e741a
refs/heads/master
2021-05-27T22:36:45.694258
2014-05-09T15:38:23
2014-05-09T15:38:23
19,549,073
6
0
null
null
null
null
UTF-8
Python
false
false
3,235
py
#Part of the new pyappion ## pythonlib import os import math ## numpy import pyami.quietscipy from numpy import ma ## appion from appionlib import apDisplay from appionlib.apImage import imagenorm #### # This is a low-level file with NO database connections # Please keep it this way #### #========================= d...
[ "vossman77@yahoo.com" ]
vossman77@yahoo.com
d846551054439c70fbf5eb93c1b508984967f6e5
501759cfea4e650f8f05235ce795b7a33bef2a10
/monkey_checker/monkey_detect/detect/detect.py
ab08f627c2bfe15e633501aa813529df5973006a
[]
no_license
KsTmhr/Monkey_checker_page
735462178d85311adb1024e3653f59e2ec367e91
4b608e29d5cb5e48f5eda8459e0409cc829fa3a9
refs/heads/main
2023-02-04T06:47:33.455647
2020-12-19T02:40:48
2020-12-19T02:40:48
312,583,369
0
0
null
null
null
null
UTF-8
Python
false
false
5,761
py
import argparse import os import shutil import time from pathlib import Path import cv2 import torch import torch.backends.cudnn as cudnn from numpy import random from PIL import Image, ImageFilter #テストに使用 from monkey_detect.detect.models.experimental import attempt_load # manage.pyからの相対パスで指定しないと読まない from monkey_dete...
[ "sarutomomo@gmail.com" ]
sarutomomo@gmail.com
d6b35765e95b1515aee103f1064fde9b73e86908
fe02ca79bc36fea997f7fdfeda0f8d52e69414e0
/python/和为K的子数组.py
765951a4538c375a505583204a50494481112896
[]
no_license
Joenhle/leetcode
4e474a46712d56dc2639115742486cf329489e81
dfabec60216b87c563e0cf1b6bb3a35fee296ea7
refs/heads/master
2023-03-15T19:09:42.691491
2023-01-31T12:44:32
2023-01-31T12:44:32
595,606,512
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
class Solution: def subarraySum(self, nums, k): dp, sums, temp, m = [0 for _ in range(len(nums))], [0 for _ in range(len(nums))], 0, {} for i, num in enumerate(nums): temp += num if temp not in m: m[temp] = [] m[temp].append(i) sums[i] ...
[ "820863776@qq.com" ]
820863776@qq.com
d240889edcff21c7b7dcead79410625a60c0b8da
eb13d18b3912159c557810b3ffe3ebce0a0687de
/w_level_5.py
41591d4f990136c060e7b2a52850b2c2303550af
[]
no_license
labradorkuro/water_level
36b584dc8e57335b136d418657eb3ac6d192338c
c00530d0e3b72b858f6033e3f806b2df18dad1f0
refs/heads/master
2020-07-05T20:22:14.958001
2016-11-17T02:16:57
2016-11-17T02:16:57
73,981,718
0
0
null
null
null
null
UTF-8
Python
false
false
5,680
py
#coding: utf-8 #水位計測システムセンサー側プログラム import RPi.GPIO as GPIO #GPIOライブラリをインポート import time import os,socket import struct from time import sleep import urllib,urllib2 import fcntl import struct import datetime import json import threading import serial import subprocess #ピン番号の割り当て方式を「コネクタのピン番号」に設定 GPIO.setmode(GPIO.BOA...
[ "jazzsaxplayer02@gmail.com" ]
jazzsaxplayer02@gmail.com
a32bc4f0ca851d53e4bdbeca967195ddb1231d2d
bb64aaeab1b8fdf186dc2641e1b684ac76c8cafb
/chap01/sum2.py
8d40479fc83db388692fbfb9f67f0ae8bf2cbc75
[]
no_license
niwza/PythonSummerfield
3601b9fecd98ff09035f0ff38b5bc91bb954f77f
d8baaf81151e23f5e3d99736388539dc25ecdee8
refs/heads/master
2021-09-01T11:00:50.897315
2017-12-26T16:58:24
2017-12-26T16:58:24
114,018,847
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
print("Type integers, each followed by Enter; or ^D or ^Z to finish") total = 0 count = 0 while True: try: line = input() if line: number = int(line) total += number count += 1 except ValueError as err: print(err) continue except EOFError...
[ "taras.berezovskyi@globallogic.com" ]
taras.berezovskyi@globallogic.com
874e073007da9fd2f373c4939d0f6082d4775641
6f7df24b2e563b43c6f78d9b7b987d8a3abb980e
/aoc/aoc2020/days/day8/part_1.py
67667ca938bf0318d89f1535611f0754bb658a83
[]
no_license
bendikjohansen/adventofcode
1ca2d9a674c84faafffd2e087592eb4829c3fd25
8381c2e44937124779f10a0c8791761e2db36944
refs/heads/main
2023-02-05T17:45:34.973773
2020-12-28T20:10:22
2020-12-28T20:10:22
325,106,650
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
from aoc.utils import get_input from typing import Tuple, List Instriction = Tuple[str, int] Instructions = List[Tuple[str, int]] def parse_instructions(all_instructions: str) -> Instriction: return [(ins.split()[0], int(ins.split()[1])) for ins in all_instructions.splitlines()] def find_loop(instr...
[ "bendikj@gmail.com" ]
bendikj@gmail.com
abbefb1bcdec9318f2329543523118ea6b73f16b
a217654ec309d404e91ce93881e40e4f2bf26f8a
/FitHub/profile/admin.py
9692bef62f8a1dec41a2521bcc5d5a03def244a8
[ "MIT" ]
permissive
gyhyihe/FitHub
29c31ad6566e6ac178f1a664a9500a5fc117ba6e
c2db1126ac2ebcd18025f5690d0ad1a962fd9313
refs/heads/master
2022-12-10T03:49:40.081165
2019-09-30T12:50:47
2019-09-30T12:50:47
204,245,313
1
0
MIT
2022-12-08T06:39:09
2019-08-25T04:21:24
Python
UTF-8
Python
false
false
557
py
from django.contrib import admin from django.contrib.auth import get_user_model from django.contrib.auth.admin import UserAdmin # Register your models here. from login.forms import CustomUserCreationForm, CustomUserChangeForm from login.models import Member, Staff, Class, MemberLevel, User class CustomUserAdmin(UserA...
[ "47801373+gyhyihe@users.noreply.github.com" ]
47801373+gyhyihe@users.noreply.github.com
94580e9450ca609e7a58c8fb5de7bf6cc3331829
e18ef621eb92bb7af2e683fbc0b8c8b638b1ec46
/ACTIVITIES/python/queuepractice.py
0b07d07e0bc74171a6d5257f5417f84813778b3c
[]
no_license
BPCao/Assignments
496b238ce8c2db101beef80d8538027fca26683e
6144f7a35fdec4b945f69e282b7164cac9f7ddfe
refs/heads/master
2020-04-22T12:32:08.729961
2019-05-02T13:07:19
2019-05-02T13:07:19
170,374,968
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
class Queue: def __init__(self): self.lst = [] self.new_lst = [] def enqueue(self, num): self.lst.insert(0, num) def dequeue(self): try: self.new_lst.append(self.lst[0]) del self.lst[0] except IndexError: print("Value not present,...
[ "bach.cao@Bachs-MBP.localdomain" ]
bach.cao@Bachs-MBP.localdomain
27770099ae6a957db2efb71480f83b8c09157c50
fb8b1d35ec1ec14f1360ce6e59e78db06e4a3f79
/raincastcli
11b718587dde2bb2658cf7bcebaf90aa90ff476c
[]
no_license
slashdevsda/raincaster
11896ae653df78d6bb30b77556aa419c7f289e86
b6c07798b770aed7a37def8271428963baddde63
refs/heads/master
2023-06-03T20:47:20.000943
2019-08-30T13:49:31
2019-08-30T13:49:31
205,389,479
0
0
null
2023-05-22T22:30:31
2019-08-30T13:37:58
Python
UTF-8
Python
false
false
58
#! /bin/env python from raincast.main import main main()
[ "slashdevsda@gmail.com" ]
slashdevsda@gmail.com
381326b6b749f1c8ba16eccb813cc408826781d2
66d776736d6aa1712ce0b0a1fc4c40ec95f09fff
/5/simulation/bisection/main.py
41d6d487611b6294404b74f562f52bfb4d36bafb
[]
no_license
onokatio/nitkc
fd9920efa189155bd869c468e87624ea114211d9
7e2c368c99cf7abaa489cb78b6fd00ad15bb2133
refs/heads/master
2022-07-20T04:51:11.111922
2021-10-11T17:05:02
2021-10-11T17:05:02
204,952,362
0
1
null
2022-01-23T17:19:20
2019-08-28T14:32:30
C
UTF-8
Python
false
false
442
py
#!/bin/python3 #print("number:") #n = input() #print("a:") #a = input() #print("b:") #b = input() a = 0.0 b = 2.0 #print("count:") #count = input() def f(x): return x*x-2 x1 = int(a) x2 = int(b) y = 10 #for i in range(int(count)): while abs(y) > 10**-15: x = (x1+x2)/2 y = f(x) print(f"f({x}) = {y}") ...
[ "onokatio@gmail.com" ]
onokatio@gmail.com
ec4e228b4463fd73d57f087772bb99fbb63625ac
98b43a9d58732f8040df448d4a1197955559cbf0
/genutils/CheckScafLibFilePresence.py
6aec614973b046578975911284252962fac6759b
[]
no_license
flosopher/floscripts
c4ee793b541c55cf3b485573fb497ecb751c7141
ca36f8091210f7f75db718e813a6e99ff99fe04d
refs/heads/master
2021-01-18T00:21:10.137105
2015-08-17T10:51:39
2015-08-17T10:51:39
16,000,455
0
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
#!/usr/bin/python #script to check whether a file with a given ending is present #for all scaffolds in an input list import sys import os ScafFileList = [] ListfileList = [] file_ending = "" checkpoint = 0 #convenience for matching/scaffold related stuff ScaffoldDir = "/lab/shared/scaffolds/" def get_scaffold_di...
[ "flosopher@gmail.com" ]
flosopher@gmail.com
53fffc220a54e9dfadbd4347d14b2b0f558b5f0d
781fecde191ba0b8872bc2b44d4bddd6d3309657
/fileopening.py
69282bd6fa68fea7e61f00dad16144d8da801145
[]
no_license
Swrajitpaul/python
7730a05c25bd582580139b80506b4dba9766ab3d
4f84f97af526cff5b9b4bf65ae41dd88607b1409
refs/heads/master
2023-01-23T17:30:00.270432
2023-01-18T23:42:13
2023-01-18T23:42:13
138,118,139
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 25 18:56:27 2018 @author: swrajit """ # -*- coding: utf-8 -*- """ Created on Thu Jun 9 13:36:46 2016 @author: WELG """ data = [] file_name = input("Provide a name of a file of data ") try: fh = open(file_name, 'r') except IOError: print(...
[ "noreply@github.com" ]
noreply@github.com
d7a99d9cad3b72b31f9c9e1d01901a2678245a52
7423108625745f781169146f9ec9b6a09b588ecb
/FacialLandmarkDetection/read_text.py
d11fed67bd7aef623afb52033532bf95cbf9693e
[]
no_license
suguruma/FacialAnalysisFor3D
21c96ff00930bbd93649e6add0ef7d3f65cc60d1
e041d7f5cffae67575442a6d252ee04bcabd1b78
refs/heads/master
2021-09-14T01:01:53.691969
2018-05-06T22:55:34
2018-05-06T22:55:34
111,112,385
1
0
null
null
null
null
UTF-8
Python
false
false
7,445
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 5 12:08:23 2017 @author: Terada """ import numpy as np import glob import pandas as pd ## 顔器官ID landmark_dict = {'0':'left_eye_outer_corner_x', '1':'left_eye_outer_corner_y', '2':'left_eye_inner_corner_x', '3':'left_ey...
[ "suguruma.dream+github@gmail.com" ]
suguruma.dream+github@gmail.com
71182020350d13f9a755b08cb68244aef83530ac
b4d31cdb46aaf8f3ba2fc742188cde5a13149f16
/1/CN_Proj1_9731096/Q2_socket_client.py
f6f72032519ef42ea7d510228bda0c7afc2beb8a
[]
no_license
amir78729/Computer-Network-Course-Project
f22f3aa4dd57d68dba854d2888067dcc24d8ea42
82ce9406ac518a4847b7f513b6d635fb34863ef6
refs/heads/main
2023-04-29T19:20:33.369149
2021-05-25T12:49:24
2021-05-25T12:49:24
350,129,785
2
0
null
null
null
null
UTF-8
Python
false
false
778
py
import socket msgFromClient = "Hello Server:)" bytesToSend = str.encode(msgFromClient) server_IP = '208.67.222.222' server_IP = '127.0.0.1' # uncomment for testing server_port = 53 # the port for DNS bufferSize = 512 # Creating a UDP socket at client side UDP_client_socket = socket.socket(family=socket.AF_INET, typ...
[ "amir78729@gmail.com" ]
amir78729@gmail.com
3bfe44b8258bd095b4b540aa4e146533bbf1aa7a
741e0321faf0d63786cf2ba6a619b61b0f2e390a
/app/core/migrations/0001_initial.py
87d60db29157eba80149fbca1279e0b5cb408f7b
[ "MIT" ]
permissive
WebRo/recipe-app-api
6a6cd94cd40a914adb88fff659f0e6d28441b87c
a344901689538733eabae3e4b6f467a7f3436534
refs/heads/main
2023-03-01T14:28:03.964989
2021-02-07T20:42:55
2021-02-07T20:42:55
335,720,970
0
0
null
null
null
null
UTF-8
Python
false
false
2,435
py
# Generated by Django 3.1.6 on 2021-02-07 00:21 import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations...
[ "eng.bayram@yahoo.com" ]
eng.bayram@yahoo.com
c9c53618f922ae4d277fd12a755c32f68228bbf8
ddedc686452b1300d04e4e38a851207a1e393295
/kodiswift/constants.py
66688017eb8b52aa91b21ed6a0d4d6e08657e135
[]
no_license
yugimaster/plugin.video.highporn
8aeefa8fa598a803305e04731901e56b2ae852ed
d7d17195e1b714ae9620178197589f900e8169ee
refs/heads/master
2021-09-10T17:30:42.661767
2018-03-26T08:41:09
2018-03-26T08:41:09
124,479,030
1
0
null
null
null
null
UTF-8
Python
false
false
3,044
py
# -*- coding: utf-8 -*- """ kodiswift.constants -------------------- This module contains some helpful constants which ease interaction with Kodi. :copyright: (c) 2012 by Jonathan Beluch :license: GPLv3, see LICENSE for more details. """ from __future__ import absolute_import from kodiswift import xbmcplugin __all_...
[ "wei.yuan@zenithnine.com" ]
wei.yuan@zenithnine.com
2783a7a5fc798d4c1ba29f8d78f26538e7ab02a7
0a4e0e27c6bd19b35198a1e9068dbb5616e59d1e
/smspva_wrapper/ext/containers/number_object.py
6871a60c4e700735c9177a44afd8ccebe4c48929
[ "WTFPL" ]
permissive
babiato/smspva-wrapper
cd2aadaeaca5eb037902514d5a27b6c2f1b15861
5f52dc639240ca09a9f4275f153520f40c382b58
refs/heads/master
2022-09-08T23:48:35.765069
2020-05-31T00:15:54
2020-05-31T00:15:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
class NumberContainer: """Immutable high level container for get_number query""" def __init__(self, data: dict, country: str, service: str): self._data = data self._country = country self._service = service @property def data(self) -> dict: return self._data @prope...
[ "h4n1virus@gmail.com" ]
h4n1virus@gmail.com
e84c28dca4dfbec02885f1b46195c418520fb320
e2998df3cc014b7bec44a6a7b1e0083ae2526e8b
/code/sensor.py
c784a8cea4056ab1148e31ea739c08475b770287
[]
no_license
syli9526/GlobalLounge-with-RaspberryPi
40818d154e181980e1f9f96c16e6a047e7563ef0
d62740847a41d12180de0d28fb0e5fe8a7023371
refs/heads/master
2020-05-05T13:22:56.461593
2019-06-13T15:36:26
2019-06-13T15:36:26
180,074,815
0
0
null
null
null
null
UTF-8
Python
false
false
2,116
py
import RPi.GPIO as gpio import atexit import time gpio.setwarnings(False) gpio.setmode(gpio.BCM) # init sonic sencor a_out = 23 b_out = 24 gpio.setup(a_out,gpio.IN) gpio.setup(b_out,gpio.IN) # init motor motor_pin = 18 gpio.setup(motor_pin, gpio.OUT) pwm_motor = gpio.PWM(motor_pin, 50) pwm_motor.start(0) # init l...
[ "syli5806@gmail.com" ]
syli5806@gmail.com
44cd870582d791a6a48df0b3e8a3d83296006869
0bdcbc60761342f48441c691b09007b90275a140
/mysite/urls.py~
a7e580abc7d9ad332c3833b629d2d9fbd3052554
[]
no_license
alviandk/project
3fb9932a7cb6ee0f3e4ea11991fe959fc8273f1e
1350580d2ce324b2d2c0e291a4ed406d17aa1950
refs/heads/master
2021-01-19T21:29:41.917436
2014-11-13T08:34:29
2014-11-13T08:34:29
22,808,164
1
0
null
null
null
null
UTF-8
Python
false
false
206
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', url(r'^polls/', include('polls.urls')), url(r'^admin/', include(admin.site.urls)), )
[ "alviandk@gmail.com" ]
alviandk@gmail.com
23e7cbc6d439c28fc293b29294fcba10d6698948
b1f611617e64d5ef8def4a4570f5ace537adfb99
/fotoapp/migrations/0001_initial.py
cb7443ca79e6c23eb7ae41eb43f6b234e629d217
[]
no_license
yeison000/LauraFotografia
5e5c80ffe9c54067f9e9621546d31874bdf55e61
06a2d3598c7e339b42dadefebd8bf365557d02a2
refs/heads/master
2022-08-28T22:18:02.218634
2020-05-27T11:35:52
2020-05-27T11:35:52
267,299,905
1
0
null
null
null
null
UTF-8
Python
false
false
4,346
py
# Generated by Django 2.2.12 on 2020-05-20 07:35 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Albume', fields=[ ...
[ "yeison.gl.dg@gmail.com" ]
yeison.gl.dg@gmail.com
ab7e77a9f9d8560917c2ce65308bf21936720b22
3c9b69b6e69f3c64b504e8107e9142ccde96adf9
/ModularU/tests.py
f91d347cfaf318c780470243b08045813d1c4025
[]
no_license
vangelis-michael/ds_Distributions
3e201e4b4c0a62a8a42d8e7ff09eeedb36b71a99
d0b04e711d7d1013e6909097233f256a4a7bb7d2
refs/heads/master
2022-04-26T10:42:45.558736
2020-04-29T03:23:24
2020-04-29T03:23:24
259,811,655
0
0
null
null
null
null
UTF-8
Python
false
false
1,758
py
import unittest from distributions import Gaussian from distributions import Binomial class TestGaussianClass(unittest.TestCase): def setUp(self): self.gaussian = Gaussian(25, 2) self.gaussian.read_data_file('numbers.txt') def test_initialization(self): self.assertEqual(self.gaussian....
[ "vangelismichael@ymail.com" ]
vangelismichael@ymail.com
84b2fbb588d80a12b81c536ac4f27dba6aa59a1d
3c1185645e41b14e6dfcb90ae028a9ace45951da
/figures/main/fig1_figManifold.py
2dd28c5b8d9a4ae7f93a9e0791590a3bd1b395f0
[]
no_license
aleifer/PredictionCode
1bd4e9a99d3da8c215a13bd78079d16cb3120b80
a255eb1f6dfe4ded27529b4b0284dd64bbf15ea7
refs/heads/master
2020-06-20T21:45:23.241393
2019-05-23T19:41:07
2019-05-23T19:41:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,888
py
# -*- coding: utf-8 -*- """ Created on Thu May 17 13:15:14 2018 Figure 2 - Behavior is represented in the brain @author: monika """ import numpy as np import matplotlib as mpl from sklearn.feature_selection import mutual_info_classif # import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec import predi...
[ "mscholz@princeton.edu" ]
mscholz@princeton.edu
fb3e652a8bf4fe2f6eed5bb7cdc7e078750da1c1
e26c56d8a17a46fde6fea99ef307ba276a5ef9ab
/tools/webserver.py
25bec807bac57e92454be246e037898dfbcab0b3
[ "Apache-2.0" ]
permissive
Andy1314Chen/DIFM-Paddle
37e5341259c3d49e7419890fcc6d83bcfdbb14b4
3d5debe9a17854e543cb29b9ab2a309453f4ac9d
refs/heads/main
2023-07-03T11:58:19.431311
2021-08-14T14:01:43
2021-08-14T14:01:43
394,324,872
2
1
null
null
null
null
UTF-8
Python
false
false
1,794
py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "1841837261@qq.com" ]
1841837261@qq.com
8103ce0c3a02a55f3e3d23c5cc17118e06757afa
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_263/ch83_2019_06_03_04_35_15_514602.py
fc2a375a3fc8fc8edf263466897d8015eca200d7
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
def medias_por_inicial(entrada): alunos = entrada saida = {} n = 1 for k,v in alunos: if k[0] not in saida: saida[k[0]] = v else: saida[k[0]] = ((saida[k[0]]*n) + v)/(n+1) n += 1 return saida
[ "you@example.com" ]
you@example.com
e3852c7495b07bcb8e6181fa94249b1176822a98
2594650405c1424bec1ab14c1ce994906d6cc961
/ProjectEuler/p001_multiply_3_and_5.py
9bb990a9e00e727ee83b5f53c216a04cfe435f19
[]
no_license
aa2276016/Learning_Python
10dd46eeb77d5ec05b4e607c523e9e5597a2e7ee
f0e3b4876ea078a45493eb268992cec62ccd29d1
refs/heads/master
2021-10-19T08:34:15.694353
2018-03-17T02:38:49
2018-03-17T02:38:49
125,590,648
0
0
null
2018-03-17T02:41:26
2018-03-17T02:41:26
null
UTF-8
Python
false
false
1,833
py
# P001 Multiply 3 and 5 # If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. # The sum of these multiples is 23. # Find the sum of all the multiples of 3 or 5 below 1000. def pe_001(n1, n2, limit): result = 0 for i in range(1, limit): if i % n1 == 0 or i...
[ "jxie0755@users.noreply.github.com" ]
jxie0755@users.noreply.github.com
58a45363d82384330aff0c3ec93214b297b6794f
cf8be80fe9d7acfae03d86430d1c8ff8d22a8655
/ribosome/test/config.py
53acd0ccf42a1abc38ccbf82c7b077f54f457fa6
[ "MIT" ]
permissive
tek/ribosome-py
4da2faf3f7c2d646c5a90bf73e81ec12bd360d38
8bd22e549ddff1ee893d6e3a0bfba123a09e96c6
refs/heads/master
2022-12-21T22:46:49.075358
2020-08-31T16:22:51
2020-08-31T16:22:51
66,086,253
0
0
null
null
null
null
UTF-8
Python
false
false
3,400
py
from __future__ import annotations from typing import Any, Callable, Optional from ribosome.config.component import Component from amino import Map, Lists, Dat, Path, List, Nil, Maybe from amino.test import temp_dir from ribosome.config.config import Config from ribosome.compute.program import Program from ribosome.r...
[ "torstenschmits@gmail.com" ]
torstenschmits@gmail.com
52106b532e462e7226a7a7861e4d795b8c6d8e70
d90b7ba2f8027b4fe86c80f7d7ddb4f3338f48c7
/simplepytorch/api.py
a5d14539005e9794c28f0cfa53bec668ab6cea09
[ "CC-BY-4.0", "MIT" ]
permissive
adgaudio/simplepytorch
7e7269ba527710d27bed4fd9a9c9a2faec210e43
5804bd8edd660fcfbe04a0af3ddea8e20d2c1f95
refs/heads/master
2023-05-14T09:06:37.137486
2023-05-05T12:42:44
2023-05-05T12:42:44
241,730,763
3
1
null
null
null
null
UTF-8
Python
false
false
1,204
py
""" DEPRECATED. Use simplepytorch.trainlib instead. Code available to model configs, assembled all in one place """ import torch.utils.data as TD import torch.multiprocessing from . import metrics from . import datasets from .cache import Cache from .cmdline import ModelConfigABC, CmdlineOptions, load_model_config...
[ "adgaudio@gmail.com" ]
adgaudio@gmail.com
19a899ebcf968564c35c02e6998ba8e37fbb82f4
98b4aeadab444eaf6f0d5b469c199e6d24a52f7f
/step03/2438.py
378a78a725686c42b067df3904a24406eb06f014
[]
no_license
kwr0113/BOJ_Python
7a9dc050bb3bb42ae2b03671c5d6fa76cc0d6d99
27bafdaafc44115f55f0b058829cb36b8c79469a
refs/heads/master
2023-06-10T23:22:20.639613
2021-06-25T07:25:53
2021-06-25T07:25:53
328,057,859
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
# 2438.py n = int(input()) for i in range(1, n + 1): print("*" * i)
[ "kwr0113@gmail.com" ]
kwr0113@gmail.com
578504e5bd25ea5f5602510759d6ebff651bfce6
b096157f61f6e3944db4b79783f072851cf19f54
/text_wrap.py
f3883b45f4b574a7441d4e43a0a28349afee3df0
[]
no_license
billyrayvalentine/python-misc
2a475265766a1e3a1f4982bd871dd5cf5809e8d3
dc4418d9e06724f63a1a04315d71003bf44448d4
refs/heads/master
2022-12-02T21:45:53.511935
2022-05-03T15:42:15
2022-05-03T15:42:15
48,059,751
1
0
null
null
null
null
UTF-8
Python
false
false
843
py
#!/usr/bin/env python3 # Wrap stdin to 32 chars but preserve line break for paragraphs import sys import configparser import os import argparse import textwrap def process_line(line): """Wrap text but preserve blank lines as paragraph breaks""" if line == "\n": return "\n\n" else: return t...
[ "ben@cerium.org" ]
ben@cerium.org
78d65402507319fb63629a44d60abce6b988509e
e59fe240f0359aa32c59b5e9f581db0bfdb315b8
/galaxy-dist/lib/galaxy/visualization/registry.py
cb2b2affc82fa1ae38b196d09c71e867edc19b3d
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
subway/Galaxy-Distribution
dc269a0258471597d483687a0f1dd9e10bd47448
d16d6f9b6a8b7f41a218c06539863c8ce4d5a73c
refs/heads/master
2021-06-30T06:26:55.237251
2015-07-04T23:55:51
2015-07-04T23:55:51
15,899,275
1
2
null
2020-10-07T06:17:26
2014-01-14T10:47:28
Groff
UTF-8
Python
false
false
37,808
py
""" Lower level of visualization framework which does three main things: - associate visualizations with objects - create urls to visualizations based on some target object(s) - unpack a query string into the desired objects needed for rendering """ import os import shutil import glob from galaxy import ut...
[ "sabba_88@hotmail.com" ]
sabba_88@hotmail.com
add5382badb7f3163f8f0819693168c9c645993b
8289fb4b9f2242a2f0a1b92b391058f421788682
/Algorithms/Scheduling/main.py
f6a4949562bc672a3a2cbc07407d994c96961bd5
[]
no_license
BawornsakS/XPrize
5fedf7c7f0838b1da5c0749ef846ed7b2135356d
e6e900c6c63f0cef5cb3717a5b6724ec9ae00b69
refs/heads/master
2021-07-20T06:28:09.666385
2020-09-04T06:39:13
2020-09-04T06:39:13
211,299,370
3
3
null
2019-11-13T08:07:18
2019-09-27T10:56:38
Makefile
UTF-8
Python
false
false
411
py
from scheduling import Sch thread1 = Sch('FCFS') thread1.add('hand', 12) thread1.add('ppp', 4) thread1.time_pass(5) thread1.add('head', 22) thread1.add('leg', 15) thread2 = Sch('RR', preemp=True,RRtime=6) thread2.add('A',12,priority=2,preemp=True) # thread2.time_pass(5) thread2.add('C',4) thread2.add('B',7,priority=...
[ "warachaya2543@gmail.com" ]
warachaya2543@gmail.com
350c6d6c1240a67e6c9621602893338471857e01
4b36339ecf9b3a1ff0a4ca2fd660da6306bd4d05
/app/tools/actions.py
ceea7638ebb760bf71369e2f453742e78ac03e67
[]
no_license
jamebluntcc/wheatgmap
8942e6c603c4807a39ac8218c6cda4b34b4f0df5
5daafa6b97bb4ee6e73f84a2d0f305484f4c4322
refs/heads/master
2022-06-23T21:33:07.028988
2020-02-15T12:42:47
2020-02-15T12:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,396
py
import os from app.db import DB import pandas as pd import numpy as np import copy import time import math import subprocess from sklearn.decomposition import PCA from settings import basedir from app.utils import processor, printPretty from app.app import celery from settings import Config UPLOAD_FOLDER = os.path.jo...
[ "ricekent@163.com" ]
ricekent@163.com
77e7f43c0dc2c6909ee7e29d66c8d98921b98c47
953d1bb0676e485b10a0b3c554927c964ff44ceb
/pug/invest/views.py
1edb2a33b8d5e0fbd5cdff55a8d21e2c09fdf532
[ "MIT" ]
permissive
lowks/pug
a24ace313eb650fbb8103bab8d0169f9e7fc8ce4
f1f7172959e7bd8a072b62c1fe0da1a9b4330e74
refs/heads/master
2021-01-18T10:01:54.767102
2015-03-07T02:42:50
2015-03-07T02:42:50
31,819,209
0
0
null
2015-03-07T16:49:57
2015-03-07T16:49:57
null
UTF-8
Python
false
false
2,522
py
# Create your views here. import datetime from django.views.generic import TemplateView import sim from pug.miner.views import d3_plot_context from models import Day, get_dataframes, get_panel from pug.nlp import util import pandas as pd class HomeView(TemplateView): """Query the miner.AggregateResults table to r...
[ "hobsonlane@gmail.com" ]
hobsonlane@gmail.com
a2ef81945096ac6a0c78b545b72474d26f445c3e
25b0e82ec0ba2b667e6ae429e59e19333a641723
/OS/cpuscheduling/venv/Scripts/easy_install-3.8-script.py
bf36c1465e29520fee6dcbefe595f071c93ab295
[]
no_license
donkhan/msc
cf897a6dbfd72845074d13842351e49ebcf04557
73bc12fd3ad86e6915f51adc08af836dfdc52747
refs/heads/master
2021-07-10T06:43:52.687825
2020-11-09T06:54:14
2020-11-09T06:54:14
211,588,078
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
#!C:\Users\ADMIN\PycharmProjects\CPUScheduling\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.8' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-scrip...
[ "donkhan" ]
donkhan
98679fa8bd9132a51581ffddde725287a09bf69c
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/webrtc/modules/pacing/DEPS
42f3dfcb1453903fd6eae6943848d50d72907545
[ "BSD-3-Clause", "LicenseRef-scancode-google-patent-license-webrtc", "LicenseRef-scancode-google-patent-license-webm", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
183
include_rules = [ "+system_wrappers", # Avoid directly using field_trial. Instead use FieldTrialsView. "-system_wrappers/include/field_trial.h", "+logging/rtc_event_log" ]
[ "jengelh@inai.de" ]
jengelh@inai.de
412b64cc9051320ec26ca9343c9b1aacc847759c
19125627064473ca120076d08d0eb715744075cc
/preprocessing/stat_corpus.py
63de3a9b266ab94e484bf7162a69ae2d01683a6c
[ "Apache-2.0" ]
permissive
arian-askari/dossier_coliee
170061d570f010f2ea8a3e5f89d0b18a5f69c178
d34189177b37eb45451ad520f94a8bbd82b5776a
refs/heads/main
2023-04-08T02:47:43.658515
2021-04-24T09:31:34
2021-04-24T09:31:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,996
py
import os import argparse import itertools import numpy as np import matplotlib.pyplot as plt import seaborn as sns import json import re import pickle def lines_to_paragraphs(lines: list): ''' creates a dictionary of paragraphs, the lines are accumulated to paragraphs according to their numberin...
[ "sophia.althammer@gmail.com" ]
sophia.althammer@gmail.com
9cf9ade063ac20f68cb1bb76f0484d0a03ae9aeb
c2cb79bba837bb2d899855a809fe5d4c8211c057
/C4 - Convolutional Neural Networks/Week 1/__init__.py
9ecee62232f13f56e2f971f67f186c423a866618
[]
no_license
0ear/Coursera
2698b802cb892ae4f0df08aa2f538a26495223db
6b839516d71ba5d10dd141948c458f482be21f0e
refs/heads/master
2023-06-24T07:34:19.103812
2021-07-29T15:21:53
2021-07-29T15:21:53
355,775,682
0
0
null
null
null
null
UTF-8
Python
false
false
23
py
from cnn_utils import *
[ "ponu7823@gmail.com" ]
ponu7823@gmail.com
40a886d4a0c8dff67429d69f92c7fa181db3ce13
5fd23deacc4f0b48df89d8e6acfbe475d64e7afa
/src/restaurants/forms.py
01972eff995e2f423d74be6842514dbfe843a0fd
[]
no_license
nickf12/Try-Django-1.11
afc33250f1d41c342f67bf6b41f067688853c05d
b3f54a47912fd1a6c7fae3e6a56cb7e6104ff76e
refs/heads/master
2021-07-17T11:31:18.632641
2017-10-19T08:53:26
2017-10-19T08:53:26
106,943,043
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
from django import forms from .models import RestaurantLocation from .validators import validate_category class RestaurantCreateForm(forms.Form): name = forms.CharField(max_length=120) location = forms.CharField(required=False) category = forms.CharField(required=False) def clean_name(self): name = self.cleane...
[ "niccolo@niccolo.home" ]
niccolo@niccolo.home
85c554f0cdbdf2f15b3898004d708f7d2e8c7888
c1bf5c27993f69d1ca5ccc6f380ca59f17d6afee
/data_parser/services.py
fb662cb31bdecbb536abbcb7cc4fec5288827f3d
[]
no_license
scorpaena/swapi
a3963d44bd761ece339d85c5f9e2a78e3d59025f
a833fbb4a0a4576d6cad1f4a17fa991b84c917f0
refs/heads/master
2023-07-12T18:51:32.041634
2021-08-11T10:44:50
2021-08-11T10:44:50
394,433,097
0
0
null
null
null
null
UTF-8
Python
false
false
7,385
py
import requests from datetime import datetime import csv import re import os from urllib.parse import urljoin from django.core.exceptions import ObjectDoesNotExist from .exceptions import DoesNotExistError from .models import StarWarsFilesModel class StarWarsAPIClient: def __init__(self): self.base_url = ...
[ "mvalyn@gmail.com" ]
mvalyn@gmail.com
7ec8281677357b2d237a5a7a28b6534db419871b
15f3fb0d73e49e4c29e65718b86b3dab6d659dad
/glyphs.py
ea1781ada5eccf735d645ca1104da3bb87c507da
[ "MIT" ]
permissive
iilei/gonville
2acb09be68faf809969df3ed8a2877b9f12b5e06
177659ad9da1090474da9d507b8c213d63505c9a
refs/heads/master
2020-09-11T16:56:31.781520
2014-10-25T13:45:11
2014-10-25T13:45:11
222,131,565
0
0
null
null
null
null
UTF-8
Python
false
false
199,990
py
#!/usr/bin/env python import sys import os import string import types import math import time import base64 from curves import * try: # New Python 2.6 way of spawning subprocesses import subprocess def popen2(command): p = subprocess.Popen(command, shell=True, stdin=subprocess.PIPE, \ ...
[ "anakin@pobox.com" ]
anakin@pobox.com
5f8ebf56801116b7b154e43dd062074d9efadc4d
683876019cad0b0d562ac7f9da8c679cb310cfb2
/2022/day02/part1.py
dc2e419fe437d20ff49a1058524daffcb5a7b817
[]
no_license
CoachEd/advent-of-code
d028bc8c21235361ad31ea55922625adf743b5c8
10850d5d477c0946ef73756bfeb3a6db241cc4b2
refs/heads/master
2023-05-11T05:20:26.951224
2023-05-09T18:54:16
2023-05-09T18:54:16
160,375,311
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
""" AoC """ import time import sys from copy import copy, deepcopy start_secs = time.time() print('') # part 1 print() l=[] my_file = open("inp.txt", "r", encoding='utf-8') lines = my_file.readlines() for line in lines: l.append(line.strip()) shape = dict() cvt = dict() shape['X'] = 1 shape['Y'] = 2 shape['Z']...
[ "CoachEd@gmail.com" ]
CoachEd@gmail.com
51b385655a8b99c13c1189ed0c0ab90b8fae6fac
90656f5ce4efdf07ea0a61ad425673887e517371
/ch6/glossary.py
f55aabbaac093e2af6ce6347e3a205192c1a1938
[]
no_license
fjluartes/pcc
bec2e15e8b70aaee11f562cdf78c39e3a9844269
cda4510937f5772d3a0a0b51609ab9554206aa06
refs/heads/master
2021-06-04T14:37:03.953253
2020-05-03T13:09:10
2020-05-03T13:09:10
144,001,097
1
0
null
null
null
null
UTF-8
Python
false
false
893
py
#!/usr/bin/env python # glossary.py: Exercise 6-3, 6-4 # 18 Aug 2018 | fjgl # 6-3, 6-4. Glossary # print, list, for, if, dictionary glossary = { 'print': 'Python keyword used to display data. (usually strings)', 'list': 'A collection of items in a particular order.', 'for': 'Python keyword used to loop into...
[ "fjluartes@gmail.com" ]
fjluartes@gmail.com
6855bf744c24460e3fe3656f47a4255c1b27a487
3e94edf846cf379733f498f715b20e3fda064624
/Common/UIMap/Register_Image_Frame_UIMap.py
2633221f0381cfbc9111c7fd11e337a960369929
[]
no_license
xhan-shannon/WebAutotest
eff01da40f079a42ff81b7507f17239a6687b96b
46d79be3ba59bcc2b6dc99b2313e454b2ea7e68a
refs/heads/master
2020-03-30T06:59:19.025699
2014-10-28T07:38:12
2014-10-28T07:38:12
25,856,122
2
2
null
null
null
null
UTF-8
Python
false
false
6,745
py
# -*- coding: utf-8 -*- ''' Created on 2014年7月9日 @author: stm ''' from selenium.common.exceptions import NoAlertPresentException from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from Common.Utils.PD_DebugLog import PD_DEBUG_LOG, DEBUG_LOG_PRINT from Common.Utils i...
[ "hanxiangmin@126.com" ]
hanxiangmin@126.com
aa043fd4161fecee4583d0d5fb0ac8daefb634e1
1e25c0070126e6a95112e7ae6d9591e48d1693b4
/api_test.py
7884d33b1dfad842a1203a72458aa2ff97f83ef6
[]
no_license
tomhigginsuom/datavault-api-test
09b33432513caad416ed951482ac8c40f2b43e37
49edaec01ba4ca3069d1645011dc00f14b930b78
refs/heads/master
2021-01-10T02:43:29.279223
2016-03-08T10:49:11
2016-03-08T10:49:11
44,376,757
0
0
null
null
null
null
UTF-8
Python
false
false
7,959
py
import os import shutil import requests import json import time verbose = False # System details server = "http://127.0.0.1:8080" client_key = "datavault-webapp" datapath = "/home/ubuntu/data/api-test-data" archivepath = "/home/ubuntu/data/api-test-archive" restoreDir = "restore" # Test user details username = "user...
[ "thomas.higgins@manchester.ac.uk" ]
thomas.higgins@manchester.ac.uk
8d906a41e12288e837f0ae0d69434c997d81bfbd
2640a522e5d9bacc7597ede14cb13fb928e779be
/source/ops/normalTool.py
19e01ed86cc8c42f14464e2aabc405d9b28cf46a
[ "Apache-2.0" ]
permissive
miximixim/blenderNormalBrush
b17f9087d41d8d760fe35e148cbdeba80b27cbf4
c02180ec63e49006589e90be63a3e02dc773d32c
refs/heads/main
2023-02-26T12:39:36.473230
2021-02-03T20:04:09
2021-02-03T20:04:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,713
py
#Copyright 2021 Mark McKay # #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, softwar...
[ "mark@kitfox.com" ]
mark@kitfox.com
03cdc0781de9e62e42210b4bea3bb9593385ff63
ac216a2cc36f91625e440247986ead2cd8cce350
/appengine/cr-buildbucket/test/swarmingcfg_test.py
d3c1936a13e099c1ab42df70cdfe8144b4ebce74
[ "BSD-3-Clause" ]
permissive
xinghun61/infra
b77cdc566d9a63c5d97f9e30e8d589982b1678ab
b5d4783f99461438ca9e6a477535617fadab6ba3
refs/heads/master
2023-01-12T21:36:49.360274
2019-10-01T18:09:22
2019-10-01T18:09:22
212,168,656
2
1
BSD-3-Clause
2023-01-07T10:18:03
2019-10-01T18:22:44
Python
UTF-8
Python
false
false
20,193
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json from components import utils utils.fix_protobuf_package() from google import protobuf from parameterized import parameterized from components ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
67c377b9df8ec2472444611369f5af5a82e50c5b
4a52511aead102089c6c6a79658242922ae77e83
/Algorithms/lcs.py
542d111cf725b860e1590f9fa24b6e02aec0df28
[ "MIT" ]
permissive
pybae/etc
bb7c5fa42b914771319c81652b20ad003a8cff2f
ba3d6291ed5dd8e6b6ee18b186a09600def56505
refs/heads/master
2016-09-10T01:25:17.456170
2015-08-21T18:31:19
2015-08-21T18:31:19
23,380,365
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
# An implementation of the Longest Common Subsequence Problem # Takes two command line arguments, the two subsequences and prints out the # longest common subsequence and its size from copy import deepcopy import sys def lcs (prev, current, a, b): rows, columns = len(a), len(b) print(columns, rows) print(...
[ "pbae@utexas.edu" ]
pbae@utexas.edu