blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
3189e5cce62e184d9ce803c7295d8b15b6c88285
c6632cfc6a8577cffef9fcffa0172c3042ea8933
/get_map.py
812019e3c83d8a657181c0aec474d7a6401c6344
[]
no_license
LITTLEEEEE/CV_HW
8b969a410f4068316f1f4c6fe7ab6279deb1a988
55bc58308015800553c511e2a75a1d03142ed0bf
refs/heads/master
2023-02-09T13:31:48.835680
2021-01-10T03:40:45
2021-01-10T03:40:45
328,290,000
0
0
null
null
null
null
UTF-8
Python
false
false
35,612
py
import glob import json import os import shutil import operator import sys import argparse import math import numpy as np # 计算mAP MINOVERLAP = 0.5 # default value (defined in the PASCAL VOC2012 challenge) parser = argparse.ArgumentParser() parser.add_argument('-na', '--no-animation', help="no animation is shown.", ...
[ "wzh@wzhdeMacBook-Pro.local" ]
wzh@wzhdeMacBook-Pro.local
109aea622d7ab104ed1ed85c2d58509b83c48c40
4f6bbdb664114aec0680a94a3cb49940fe63a6bb
/adaptive_thresholding_12/adaptive_thresholding_12.py
fe6af19c10ee366da171c03ba0f2534918b015db
[]
no_license
saeedmehrang/OpenCVforPython
47e233a3ce64fcd479e5993742dc7f47119d3fe4
4160c0a4cc20dc99f84e9567ef2c248a4738389c
refs/heads/master
2020-04-14T02:24:30.732845
2018-12-30T20:17:27
2018-12-30T20:17:27
163,582,013
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
import numpy as np import cv2 img = cv2.imread('images_to_test_scripts/sudoku.png',0) cv2.imshow("Original",img) ret, thresh_basic = cv2.threshold(img,70,255,cv2.THRESH_BINARY) cv2.imshow("Basic Binary",thresh_basic) thres_adapt = cv2.adaptiveThreshold(img, 255, cv2.ADAPTIVE_THRESH_GAUSSIAN_C, cv2.THRESH_BINARY, 115...
[ "noreply@github.com" ]
noreply@github.com
77046ba8c2e29b429fc49575f6b562ff83837ab0
05185192231e979e56cc091390fe8a4a60498894
/Newton_plot.py
a5b1f631fd53a13a4ec8bdec5009e3dbfe631842
[]
no_license
sirandluke/Newton_Method_Example
1f2bb57502feefa25580d20ac289fa07caa080ed
6b808a56d4f132da9737eb693a3ef6852d9dd402
refs/heads/master
2022-04-20T01:43:06.246673
2020-04-20T03:54:15
2020-04-20T03:54:15
257,136,371
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
import math import sys ### Author Luke Sirand # Algorithm for Newton Method # @ param x -> int storing x cor # @ param y -> int storing y cor # @ param n -> maximum allowed iterations # @ param m -> steps of m # @ return -> void/ print out values at each step def Newton_Method(x,y,n,m): for i in range(0,m): ...
[ "lsirand@ucsd.edu" ]
lsirand@ucsd.edu
1fe809787c4d22f427ef3c91f31a6d7b5004f8a3
3ca30ff28e4233ff815ebc2525ba6409dbf7ade6
/changelogs/custom/pypi/django.py
a0b30a1bc3ab3f9b485cb6575052bc4a75a497b5
[ "MIT" ]
permissive
hackebrot/changelogs
e29b7ce1b6b799fc1a5f1871e29d7d7ac787ad48
c5bf363a5b7efd2640ba404b217a37661ef220c1
refs/heads/master
2021-01-20T02:07:27.028697
2017-04-25T15:05:19
2017-04-25T15:05:19
89,375,742
1
0
null
2017-04-25T15:18:14
2017-04-25T15:18:14
null
UTF-8
Python
false
false
392
py
def get_head(line, releases, **kwargs): for release in releases: if "Django {} release notes".format(release) in line: return release return False def get_urls(releases, **kwargs): urls = [] for release in releases: urls.append("https://raw.githubusercontent.com/django/djan...
[ "ja.geb@me.com" ]
ja.geb@me.com
b778a60cb3c1bd818dbea23c14ab96bda94a22df
f714430490229ce0e8d5e160fdb3bfbc041173e3
/flmapp/views/ajax.py
285be89c511fe06207053cafaafa6d7125c294f8
[]
no_license
HEW2meiG/HEW2
717fa1fae135b20617c53727005c6940b401b0f8
f8626b8edd2d4b0f8fc915acd45062a02399ef40
refs/heads/master
2023-03-14T13:54:22.187884
2021-03-12T16:50:39
2021-03-12T16:50:39
285,750,649
1
1
null
null
null
null
UTF-8
Python
false
false
3,406
py
from flask import ( Blueprint, request, render_template, redirect, url_for, flash, jsonify ) from flask_login import ( login_required, current_user ) from flmapp import db from functools import wraps # カスタムデコレーターに使用 from flmapp.models.user import ( User ) from flmapp.models.trade import ( Sell ) fr...
[ "mei.shimomura@icloud.com" ]
mei.shimomura@icloud.com
beb0e5f57a3463005136baba1b8c7c3c9e533db5
e9f598d4e2e53bdffd95e2b91726eed156a9bd25
/we_chat_tou.py
50911f89aa338c6ccce63b1f6e0df506ceb609c7
[]
no_license
z991/play_pillow
e2d1b17ccdc7e3b5aacb0d1dc7b04805699942f8
e01f99be129a5790c78700cb09b1fa85825f832a
refs/heads/master
2020-11-27T12:20:51.237125
2019-12-21T14:19:48
2019-12-21T14:19:48
229,437,749
0
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
import os import math from wxpy import Bot from PIL import Image # 创建头像存放文件夹 def creat_filepath(): # 返回一个表示当前工作目录的unicode字符串。 """ /Users/zhuxuanyu/python_xuexi/pil_play :return: """ avatar_dir = os.getcwd() + "/wechat/" if not os.path.exists(avatar_dir): os.mkdir(avatar_dir) ...
[ "1049939190@qq.com" ]
1049939190@qq.com
a38a2bdc4571b97568bc31fb742f60fd7f5e0818
2be00cdbd4a66668c36b69dd986f1c04544251cf
/HelloWorld.py
8b2af9e6cc505050aa442077e202c8b8d5add177
[ "MIT" ]
permissive
martin5696/Joogle_Search
55f26e802326b14de16d15b74cdc5b169531b280
61b15bddcea33544e5c9a43d3918946aab1c670b
refs/heads/master
2020-04-01T02:51:12.763626
2019-04-09T21:08:58
2019-04-09T21:08:58
152,798,207
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
from bottle import get, post, route, run, template, request, re, static_file from operator import itemgetter word_occurence_history={} @get('/') def search(): return template('homepage') @post('/') def do_search(): global word_occurence_history keywords = request.forms.get('keywords') words = parse...
[ "linxuan.zhang@mail.utoronto.ca" ]
linxuan.zhang@mail.utoronto.ca
7c5e95614b775f903bfdf4fce92a4a1bf9147e87
581c21a01475e7317357b175524e255aa999fc06
/repository/versions/ccb46e8d0df5_add_password_to_user.py
e0fc106e0eaaf7c248bce8532df49ef2779443f4
[]
no_license
BurlyLlama28/PProgramming
de4307d3cec07d3dc91c03ccf3a747eb7802f9fa
4a1395be64929b3070026db01053342c1a849c05
refs/heads/main
2023-02-06T15:42:28.969166
2020-12-28T14:17:06
2020-12-28T14:17:06
309,087,399
0
0
null
2020-12-28T14:17:07
2020-11-01T12:08:09
Python
UTF-8
Python
false
false
672
py
"""Add password to user Revision ID: ccb46e8d0df5 Revises: b37b2a250b6a Create Date: 2020-12-06 15:48:38.663074 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ccb46e8d0df5' down_revision = 'b37b2a250b6a' branch_labels = None depends_on = None def upgrade():...
[ "55307415+325Vitalik@users.noreply.github.com" ]
55307415+325Vitalik@users.noreply.github.com
7cbf27fe6052270d564622d8ff45bb15bbaa39f4
93feace1d6d86ff792f1601b6a30a8083b00c6b8
/ch03/makeTextFile.py
d1a9965b220ebf3b457fc6992681c542dc2d67c4
[]
no_license
huazhicai/algorithm
1b520d9a9d6599050d43557e4c597f5bfa05abb1
60ba03b1751c5586fb5ee2c724b11545832fe2ac
refs/heads/master
2021-06-24T14:07:34.815019
2018-05-16T00:39:49
2018-05-16T00:39:49
78,935,130
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
#!/usr/bin/env python "makeTextFile.py -- create text file" import os ls = os.linesep # get filename while True: fname = input('Enter file name: ') if os.path.exists(fname): print("*** ERROR: '%s' already exists" % fname) else: break # get file content (text) lines all = [] print("\nEnte...
[ "zhihua cai" ]
zhihua cai
8e94749d802f66b8cdc8101df8af74fbf950da96
85aad8e334691b4dfc922fc4dd0383dcb57a5d1b
/day4/ass4.py
510cbe89c1a3d21bcffb2d7096338a30693c651e
[]
no_license
humanoiA/Python-Practice-Sessions
12db31dbb24f5499b5523a923b553ad8c5c4e6ed
4f5e0696e8b1dfb6a4e373da8203ddef84844dd9
refs/heads/master
2020-04-15T10:57:08.914561
2019-01-08T09:09:55
2019-01-08T09:09:55
164,606,521
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
print("Enter number of elemnts: ") num= int(input()) l=list() for i in range(num): l.append(input("Enter Object: ")) if len(l)==0: print("list is empty") else: print("list not empty")
[ "shubhang.sharma123@live.com" ]
shubhang.sharma123@live.com
8b15bd128f9f9ddcd76b77b497e5940d87cc16b6
03ab82494cabc3ab36eeed07582dcae3091480e5
/app/reports/admin.py
b8eca3475887e190a0aea1bb11cec93e196923a3
[]
no_license
Kyle1297/image-captioning-backend
b2a18a765b65cc170c76db1fce3d102f3d82540c
c952c29a83d62ed1bc63458dfdcddc908f2da953
refs/heads/master
2023-05-06T06:39:20.508013
2021-06-01T18:34:57
2021-06-01T18:34:57
335,473,534
1
1
null
null
null
null
UTF-8
Python
false
false
275
py
from django.contrib import admin from .admin_site import CommentReportAdmin, ImageReportAdmin from .models import CommentReport, ImageReport # add models to admin site admin.site.register(CommentReport, CommentReportAdmin) admin.site.register(ImageReport, ImageReportAdmin)
[ "kyle.griffin.1297@gmail.com" ]
kyle.griffin.1297@gmail.com
c30a241c91ac33ec3217f59057472929086ad3af
61cbe544fc88033a98a4bd0998d76942604de8df
/基础拓展/iterator1.py
661e369efaa33b5416d2e7e5278bbcd078b773de
[]
no_license
Lu-Ming-Song/Python
0459663b56435369cee6dbd8c7839cf9e7e1e2e7
18b668c6ae1f0dd0a5608b1926ef9dfd76d71f45
refs/heads/master
2020-03-28T01:16:46.044734
2018-11-07T11:58:50
2018-11-07T11:58:50
147,492,366
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
#迭代器 #对数据的迭代 ''' a = [10,20,30] y = iter(a) #创建一个迭代器 print(next(y)) print(next(y)) print(next(y)) ''' #迭代对象 class A: def __init__(self): self.x = 0 def __next__(self): self.x += 1 if self.x>10: raise StopIteration return self.x def __iter__(self): return self a = A() #print(list(a)) for i in a:...
[ "1124610225@qq.com" ]
1124610225@qq.com
520435bc9f60d170602653e20fb1191c760e27ef
640301877dac40184f73987b9976115bc24b8102
/cpu/migrations/0010_auto_20180618_0020.py
278eaed65cf5c10bf4ee3279cc39b8dd2381906d
[]
no_license
chounry/computer-ads-server
9d13a9295991185efdf5fc7e9a0bad62fa3d58f2
7e8f56fe5547e59d7e3aa6d7cbb506074f26dfcc
refs/heads/master
2022-12-18T01:18:44.229317
2021-04-05T16:57:53
2021-04-05T16:57:53
141,910,995
0
0
null
2022-11-22T02:34:23
2018-07-22T16:11:28
HTML
UTF-8
Python
false
false
2,042
py
# Generated by Django 2.0.4 on 2018-06-17 17:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cpu', '0009_auto_20180617_1723'), ] operations = [ migrations.AlterField( model_name='cpu_info', name=...
[ "oun.chounry.kh@gmail.com" ]
oun.chounry.kh@gmail.com
0b587f3cac7bf3f246fceef45e3444888b9cfbab
500dd2c31e26c5448a3c7ec2634573f5cd61dcf2
/1- OpenCV Giriş/resim_okuma/2 - window_resize.py
2049d0b84d30acb98948761b0805eea130336b83
[]
no_license
mertfozzy/OpenCV-Python--Tutorials
9a885fd20e457f49c599186688affc3471f6a4ef
737d44f3e91381e88d5df786cbf7d6b4de2d97d9
refs/heads/main
2023-04-12T22:13:19.829088
2021-04-24T15:19:30
2021-04-24T15:19:30
345,053,044
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
import cv2 #En-Boy Oranı Uygulaması def resizewithAspectRatio(img, width = None, height = None, inter = cv2.INTER_AREA) : dimension = None (h, w) = img.shape[:2] # çıktılardan gelen en baştan ikinciye kadar aldık :2 if width is None and height is None: r...
[ "noreply@github.com" ]
noreply@github.com
c74c426bfeaf240e83e5f2c44894d3abe856d502
fecff0c8c7302f0204d7571cbed44204c28873f8
/setup.py
eac6c1ac67a659c2cc11b7fc4838289cace4ecea
[ "MIT" ]
permissive
chaitanya-suvarna/titanic-data-science
9e5587a853134e7169807171632b99111f2e64cf
60055eebd6199d40b4bc9a00186f805a0b8f0ccd
refs/heads/master
2020-04-26T10:12:14.459068
2019-07-31T18:16:44
2019-07-31T18:16:44
173,480,079
1
0
null
null
null
null
UTF-8
Python
false
false
219
py
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='A short description of the project.', author='Chaitanya', license='MIT', )
[ "chaitanyasuvarna@Chaitanyas-MacBook-Air.local" ]
chaitanyasuvarna@Chaitanyas-MacBook-Air.local
eda67a4d9a32dddcbfdbcf77327db29c4d47aaab
e2c120b55ab149557679e554c1b0c55126e70593
/python/imagej/IsoView-GCaMP/lib/nuclei.py
4aa3f3f0ade0c4510dc82814f55affa08fc27364
[]
no_license
acardona/scripts
30e4ca2ac87b9463e594beaecd6da74a791f2c22
72a18b70f9a25619b2dbf33699a7dc1421ad22c6
refs/heads/master
2023-07-27T14:07:37.457914
2023-07-07T23:13:40
2023-07-07T23:14:00
120,363,431
4
5
null
2023-05-02T11:20:49
2018-02-05T21:21:13
Python
UTF-8
Python
false
false
10,474
py
import os from lib.dogpeaks import createDoG from lib.synthetic import virtualPointsRAI from lib.ui import showStack from lib.util import newFixedThreadPool, Task from lib.io import writeZip, ImageJLoader from lib.converter import makeCompositeToRealConverter from net.imglib2 import KDTree, FinalInterval from net.imgli...
[ "sapristi@gmail.com" ]
sapristi@gmail.com
e564a35ab740baf58a12135b49025e9f1ac47b4b
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/desktopvirtualization/v20201102preview/_inputs.py
91b02e54c08da8927105e2cb9d80bf145a1f5552
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,215
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
noreply@github.com
e3b7eb1b3827edcba78060e3051438f29d691b58
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02404/s960425293.py
0de2e292bdd90651c2ea9948ed854c3590feb3e8
[]
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
191
py
while 1: (H,W) = [int(i) for i in input().split()] if H==W==0: break print('#'*W) for i in range(H-2): print('#'+'.'*(W-2)+'#') print('#'*W) print('')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3522d74f8fc0f7831be9531aa037bc3f41dbec6c
01ef30ff417d39f3bdaf41f7c3c59bc70bf9a478
/app/Console.py
a4b5a45a7d77182bb6f9e40ab2c18f8d6f1728db
[]
no_license
electromantis79/WHHC-node
ab341335e39263601abc54e85712e068d54449bb
2d263588d05d83f0790d1e880a5076c9b9883a03
refs/heads/master
2020-03-12T17:31:56.519840
2018-04-23T20:41:41
2018-04-23T20:41:41
130,738,321
0
0
null
2018-08-01T22:30:56
2018-04-23T18:17:09
Python
UTF-8
Python
false
false
25,969
py
# !/usr/bin/env python # -*- coding: utf-8 -*- """ .. topic:: Overview This module simulates a console with the limited functionality of interpreting MP data. :Created Date: 3/11/2015 :Author: **Craig Gunter** """ import threading import time import app.utils.functions import app.utils.reads import app.addre...
[ "36968910+electromantis79@users.noreply.github.com" ]
36968910+electromantis79@users.noreply.github.com
849c162af41131a106cdda454b6af428f8cac483
11aac6edab131293027add959b697127bf3042a4
/isToeplitzMatrix.py
39560dbb5a486627bf54e486fb6cac79f90fe046
[]
no_license
jdanray/leetcode
a76b3436002b31865967b757b73c85992636383b
fd736af3e79899b86dac89d4d925d5bd985944ad
refs/heads/master
2023-08-15T01:20:05.110565
2023-08-14T00:25:58
2023-08-14T00:25:58
148,686,493
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
# https://leetcode.com/problems/toeplitz-matrix/description/ class Solution: def isToeplitzMatrix(self, matrix): for i in range(len(matrix) - 1): for j in range(len(matrix[i]) - 1): if matrix[i][j] != matrix[i + 1][j + 1]: return False return True
[ "jdanray@users.noreply.github.com" ]
jdanray@users.noreply.github.com
31bb87d4dc39e7b2d39f09720b38b9e27ed4ac6c
a9988e99d730985da11b239a4294248d959caa69
/LeetCode/BiweeklyContest23/1.py
6fd32f5644493ed0b00572e36c8045c7a98a323f
[]
no_license
hckhilliam/programming
6488d524835926aa68d2e4400cf792d0b5189f6b
74d8ea4fd005ab5b4fabd2bd8180f373063ec427
refs/heads/master
2022-12-22T23:57:36.838372
2022-12-13T07:12:37
2022-12-13T07:15:12
252,922,807
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from collections import defaultdict class Solution: def countLargestGroup(self, n: int) -> int: a = defaultdict(int) for nn in range(1, n + 1): s = 0 while nn: nn, r = divmod(nn, 10) s += r a[s] += 1 m = max(a.values()) ...
[ "mawilliamyan@gmail.com" ]
mawilliamyan@gmail.com
e25bebd643efbb70ced24082356761148e85ce8c
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/resolve/InstanceAttrOtherMethod.py
f13ebe6f3c2cee60520647fea746506037441e69
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
115
py
class C: def f(self): return self.foo # <ref> def g(self): self.foo = 1
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
9d2f4fbbd33af191d2a248c1421a6fa1849c186f
8eee20f6087e084818fdaf25dfea18596b09b921
/scripts/fib.pyt
566899060d9435db6ee72aa8c5f1065565b56763
[]
no_license
primenumber/poyot
55bcbed0c87759df7f7b3fb173d6b004015e5a18
b7a0286dc86b1021020426dd6d8b45eb03da2565
refs/heads/master
2020-03-31T17:52:36.277203
2018-10-28T22:00:24
2018-10-28T22:00:24
152,437,200
2
2
null
null
null
null
UTF-8
Python
false
false
212
pyt
fn[1] fib(x) { if x == 0 { return 0; } else { if x == 1 { return 1; } else { return fib(x-1) + fib(x-2); } } } fn[0] main() { x = getnum(); putnum(fib(x)); putchar(10); }
[ "prime@kmc.gr.jp" ]
prime@kmc.gr.jp
125201ff49383e7880bd2da503290d7bda5a8079
51c98139d82c619436955630b86aa7b35bb5eec2
/gamexyy/hall/interface/collect.py
743460226aff647aa976fbd97449b040b2f9ef70
[]
no_license
rongqf/zubenchong
3778b69c9545901f2647e8f1118867393ef60911
650d696fcc59a8ff47d1f6ecf7ef457cb7f046e2
refs/heads/master
2020-07-26T09:24:49.540653
2019-11-01T08:47:18
2019-11-01T08:47:18
208,602,798
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# -*- coding: utf8 -*- import time import random from lib.log import logger from lib import mapstruct from lib import userstruct from lib.RedisManager import rdsmanager def handle(param): ret = 0 userid = param.get('userid') skey = param.get('skey') bid = param.get('bid') if userid and skey and bid != None...
[ "89500584@qq.com" ]
89500584@qq.com
f344424bf708750f71cde0ab9ca4e4d0522b44e0
eec4e9956b360998e34e9a6efd23744b3b0cdf9c
/my_plugins/youcompleteme/third_party/ycmd/third_party/watchdog_deps/watchdog/src/watchdog/utils/delayed_queue.py
e5d91de8c765504f08eb0681870bb16cc6a0bde5
[ "Apache-2.0", "GPL-1.0-or-later", "GPL-3.0-only", "MIT" ]
permissive
dragon7-fc/vimrc
7f89f8730090e81c8cb78cdc471437e35defd0c1
d5968c222023bfdbd68b4f047f6e407e978cc82f
refs/heads/master
2021-06-22T03:35:34.474482
2021-01-29T00:34:20
2021-01-29T00:34:20
182,471,836
0
0
MIT
2019-04-21T01:37:18
2019-04-21T01:37:17
null
UTF-8
Python
false
false
2,872
py
# -*- coding: utf-8 -*- # # Copyright 2014 Thomas Amland <thomas.amland@gmail.com> # # 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 # # Unles...
[ "fc.fc.su@mail.foxconn.com" ]
fc.fc.su@mail.foxconn.com
d415f19a58944ad6f2218c2aed26cb9c13502d22
8e93dcca0f93276260f181bf2ba6c71cf95863c5
/string_rev.py
51d8d2bbfac1642ca3571c9de4b0ba6102bf5005
[]
no_license
tmackall/test
e89d2846f2ee6951a5f82f0809cc78bd2b3b60dc
bad044618e66c9f59066df3f729303e644c11081
refs/heads/master
2021-01-10T02:38:34.545441
2016-03-21T13:10:40
2016-03-21T13:10:40
46,861,675
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
#!/usr/bin/python def string_rev(in_string): ''' input a string - the output will be the reverse of the input string in a new object ''' ret_string = '' idx = 0 for i in range(len(in_string),0): ret_string += in_string[i] idx += 1 return ret_string if __name__ == '__main__...
[ "mackall.tom@gmail.com" ]
mackall.tom@gmail.com
a452d8c8be8214679e4821b0ad93f0e586261b5e
c9fe9f52d70ad5308d19664e82081233f1bc6d9a
/app/views.py
4f04a92d6305eafbcd88315cf2b9d14c4a415af4
[]
no_license
arifbd2221/ResumeParser
9f48f97528588cde6fa7b5507d8ac3364a6c016b
4508465e21e9a362018c84ac0370dcd35df98a7f
refs/heads/master
2022-12-10T21:06:50.429742
2020-03-18T18:21:07
2020-03-18T18:21:07
248,309,886
0
0
null
2022-12-08T03:50:02
2020-03-18T18:19:53
Python
UTF-8
Python
false
false
1,578
py
from django.shortcuts import render from .models import Resume, Candidate from django.core.files.storage import default_storage import os from pyresparser import ResumeParser def home(request): top_candidates = dict() candidates = Candidate.objects.all() candidates = list(candidates) candidates.sor...
[ "mohidulhoque216@gmail.com" ]
mohidulhoque216@gmail.com
1cff15fc6e3962b4ef375938c5bf4308378a5bd2
2d8be3ee42e2c050586f0d9c56c81af0d3015bc3
/news_pipeline/news_monitor.py
34329d1b261747167a0c0ea06125ac54091dc453
[]
no_license
kexir/CapNews
3fc542f123580bc521c8445c004ab1e3e51327a5
fc04dc6188b002578c5cdd25ef64da3d036bd8c3
refs/heads/master
2021-01-20T06:38:35.620879
2017-09-13T07:25:49
2017-09-13T07:25:49
89,905,494
1
2
null
null
null
null
UTF-8
Python
false
false
1,777
py
# _*_ coding: utf-8 _*_ import os import sys import redis import hashlib import datetime sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common')) import news_api_client from cloudAMQP_client import CloudAMQPClient import yaml stream = open("../config.yml", "r") load = yaml.load(stream) config = loa...
[ "qlyu@usc.edu" ]
qlyu@usc.edu
7b5282cb4880ed7331be6c50b7b9bde16fe209cb
b9b06d86d43e738b62ab9289fc13aae4c2b2670b
/nsd1807/devops/day04/smail2.py
51a4e856461309c72f18ac3c1d64e75aafe8f38f
[]
no_license
MrZhangzhg/nsd_2018
31a7a8d54e2cb3ff4f4eb5c736fbd76601718356
458a1fef40c5e15ba7689fcb3a00baf893ac0218
refs/heads/master
2020-04-08T19:08:48.237646
2019-09-08T04:31:07
2019-09-08T04:31:07
159,642,127
5
7
null
2019-01-04T05:33:40
2018-11-29T09:37:27
Python
UTF-8
Python
false
false
904
py
from email.mime.text import MIMEText from email.header import Header from smtplib import SMTP import getpass def send_mail(text, subject, sender, receivers, server, user, passwd, port=25): message = MIMEText(text, 'plain', 'utf8') message['From'] = Header(sender, 'utf8') message['To'] = Header(receivers[0]...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
f1a8fb407c377edbcbe599a47b9110e2b84ab211
3aa0b75c00d296a4665d64168de5c3685224ac6f
/manage.py
121e7e9e1ed82ec44321eccc7166ab8a081e4cd8
[]
no_license
Zefordd/random_user
6efd5b40aa8343a0abd1ed9d3a7e7cdb9adecf33
9b9834791b632dc9597b97dcd1e10501c877011d
refs/heads/master
2022-12-11T04:01:38.873275
2019-10-18T08:32:15
2019-10-18T08:32:15
215,978,026
1
0
null
2022-12-08T06:44:21
2019-10-18T08:31:46
Python
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'randomUser.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "ns@datalab.fit" ]
ns@datalab.fit
599d2ccb94c5166eb0e397169f084f8ac3d1816c
0f234d1029e89309994331a68a999e2359bb08b0
/tslearn/neural_network/__init__.py
1eed30502447a5b9d10b18cf9d50d8c3bec683cf
[ "BSD-2-Clause" ]
permissive
tslearn-team/tslearn
8282698361bfb42183466eaaa4c6da1d107e9513
e9b3ecca5f56bc8ffab5a0106e2d41f17ae89109
refs/heads/main
2023-09-01T02:03:19.814166
2023-08-21T13:22:42
2023-08-21T13:22:42
90,264,407
1,687
198
BSD-2-Clause
2023-09-13T20:39:47
2017-05-04T13:08:13
Python
UTF-8
Python
false
false
415
py
""" The :mod:`tslearn.neural_network` module contains multi-layer perceptron models for time series classification and regression. These are straight-forward adaptations of scikit-learn models. """ from .neural_network import TimeSeriesMLPClassifier, TimeSeriesMLPRegressor __author__ = 'Romain Tavenard romain.tavena...
[ "romain.tavenard@univ-rennes2.fr" ]
romain.tavenard@univ-rennes2.fr
3fc99cb24ddecebaf07b6bdc249560f5cc586b4c
b9e99a828952ffeab9767e625c0061cb3ea5b670
/Python编程从入门到实践/learning_log/learning_log_2.1_让用户能够输入数据/learning_log/urls.py
1eb20c51f860bd491ba4e3b501449aa4cf335e2c
[]
no_license
ZGA101421/Python3_Project
95d95e23858ef92f6825f018605089c105303ad3
fa30f876fd13890743bc81d1521534c340575132
refs/heads/master
2022-04-03T07:03:46.369710
2019-12-30T15:22:21
2019-12-30T15:22:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
"""learning_log URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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') Class-...
[ "986740304@qq.com" ]
986740304@qq.com
764141c69fbecaf85eba57d3e2dfa0dd77c3ee2c
d3b6af5766957efd47bf85285c4dcb6dd668733e
/sae/index.wsgi
bbb66c03985d87428b83cd76dac1a6cf972bd7c0
[]
no_license
gitter-badger/longtalk
6b0c4916f559df0a5096acd1ae13ed1ba8c585f6
fa032602be7335f8dd487fb31d7b256b475545c1
refs/heads/master
2021-01-21T06:21:18.026125
2012-01-19T08:38:00
2012-01-19T08:38:00
48,278,301
0
0
null
2015-12-19T10:52:08
2015-12-19T10:52:07
null
UTF-8
Python
false
false
2,901
wsgi
import time import random import sys import os # Make sure you don't print your access, secret key to the output # Because sae.const gets the keys from os.environ, if you need the correct # keys, do this after the importing of sae.const import sae.util sae.util.protect_secret(os.environ) import posix import math imp...
[ "nkchenz@gmail.com" ]
nkchenz@gmail.com
79607bf85afb0155d23d136b11ed1395d7bb64db
eda5e9c5aacd29f365b55fb33832441fa314a7d8
/samplecontroller/main.py
e28faea92beb790d84b4a20349a65b08bab7aef5
[]
no_license
vvkgopalan/SDN-Cont-Synthesis
1f549d6daf54c972db3110f1ac44dc29e5487a8d
c721d85d3db6da72ae5187ff4f9dde18dc58856c
refs/heads/master
2020-03-21T18:44:46.938357
2018-06-27T20:58:23
2018-06-27T20:58:23
138,910,276
0
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
#!/usr/bin/env python2 import argparse import grpc import os import sys from time import sleep # Import P4Runtime lib from parent utils dir # Probably there's a better way of doing this. sys.path.append( os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../utils/')) import p4runtime_lib...
[ "vagrant@p4" ]
vagrant@p4
85e5703c049d31faea82b9d63c970f746e3b2109
eb8ff670ae56b63ceabb7c50a7e3961c7dad48e8
/code_scanner/tests/sample/some_func.py
d6d623a5ce13b041d665b0eb6df7976ec09096e2
[ "MIT" ]
permissive
stargrep/rmm-utils
d387541d577666847a3a44f6127a5b858554c3bd
55725cb117015bbe35653120779c53ff39a999bc
refs/heads/master
2022-11-09T08:21:52.508901
2020-06-21T15:56:59
2020-06-21T15:56:59
267,919,168
0
0
MIT
2020-06-12T21:30:52
2020-05-29T17:42:00
Python
UTF-8
Python
false
false
2,367
py
# Function Programming # Pure Function def multiply_2_pure(numbers): new_numbers = [] for n in numbers: new_numbers.append(n * 2) return new_numbers original_numbers = [1, 3, 5, 10] changed_numbers = multiply_2_pure(original_numbers) print(original_numbers) # [1, 3, 5, 10] print(changed_numbers...
[ "mikenyc1207@gmail.com" ]
mikenyc1207@gmail.com
d9a31c42e6d476bb7ad41648470e13ca207c7044
9472deee00256301c3e4ba736078f0fb8b39ddce
/utilities/log_manager.py
c4ab6c3da1e3d0b43b441e6f1b3eef5617916f9c
[]
no_license
shanecb/RS3-Item-IDs
32f93a296df2cc19beeb42804000e1690bb4e168
fd885bd8cc78d859f4370809e5e1721eed3b0f87
refs/heads/master
2023-01-19T11:16:03.502125
2020-11-26T02:31:33
2020-11-26T02:31:33
315,890,885
1
0
null
null
null
null
UTF-8
Python
false
false
819
py
import logging import sys from logging import Logger CONSOLE_LOG_LEVEL = logging.INFO FILE_LOG_LEVEL = logging.DEBUG logging.basicConfig(level=FILE_LOG_LEVEL, format='%(asctime)s | %(name)-12s %(levelname)-8s %(message)s', datefmt='%m-%d %H:%M:%S', filen...
[ "shanebielefeld@gmail.com" ]
shanebielefeld@gmail.com
78773bd237bf3dadb45afebe33bbb803f3dee8c2
bd239b32340ab48d5951190b3c0552c928f04820
/exec/evaluate.py
a49e18151486eabfb374154034a38e6a1997aca5
[]
no_license
mingluzhao/Coord-Hunting-With-RL
d80be22f08653103b7fece4ce46aa048939f7714
13877833127bf81cb467ff516cc5f0ba61f97c9e
refs/heads/master
2023-04-24T14:02:58.112468
2021-05-21T07:55:14
2021-05-21T07:55:14
334,868,228
1
0
null
null
null
null
UTF-8
Python
false
false
11,485
py
import os import sys os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' os.environ['KMP_DUPLICATE_LIB_OK'] = 'True' dirName = os.path.dirname(__file__) sys.path.append(os.path.join(dirName, '..')) sys.path.append(os.path.join(dirName, '..', '..')) import logging import argparse logging.getLogger('tensorflow').setLevel(logging.ER...
[ "lucyzhao1999@gmail.com" ]
lucyzhao1999@gmail.com
da4f9f021fd019d5ef18dbd2e821d201de06d002
544cfadc742536618168fc80a5bd81a35a5f2c99
/tools/test/connectivity/acts/framework/acts/controllers/chameleon_controller.py
b9965cf69fdfc8d09502e15d02627a0fdb1751c4
[]
no_license
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,175
py
#!/usr/bin/env python3 # # Copyright 2017 - The Android Open Source Project # # 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 # # ...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
7e4b11ab07d674b6e595d707aff5a899f1ebd1ab
a55b81a9da88bf37cfdc4803b172d39942a145b6
/src/googleSearcher.py
28f1473f7d7a178ab1fb265daa120a6668e2efaf
[]
no_license
ckmarkoh/semantics_research
e5ffa6347d8eb21355fe2340ef9285da0072c244
41cd67cafc3ba8e54bca6263cb4979b451b1eb48
refs/heads/master
2020-12-24T15:41:02.434834
2014-09-10T17:01:22
2014-09-10T17:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
#-*- coding:utf-8 -*- #!/usr/bin/python # -*- coding: utf-8 -* import copy import re import requests from util import * HEADERS = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml...
[ "mark23456@hotmail.com" ]
mark23456@hotmail.com
20b035cb4df2c7e31ca09b0df3a8484d28292617
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/5020/180005020.py
3ebd718b508dadfdbe85804be5bfc4ff1cde6abc
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,675
py
from bots.botsconfig import * from records005020 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'AN', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGN', MIN: 1, MAX: 1}, {ID: 'RDR', MIN: 0, MAX: 1}, ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
2042c4e686a4d3e8bee94be75348b2862ac3b98e
866ca4c27f8b9659d9d18cafb3a2a9107d5938ea
/todobot.py
0e00ee6fe32a9c9e62097dbad7b16756ae571a62
[]
no_license
ritvikraj14/TelegramBot
4bad16173954df5050f8e23968d349c7a475bf61
7381f9ecd3eca1ae6efd51aa7010797fd306c224
refs/heads/master
2020-12-03T00:31:03.598806
2017-07-04T10:00:47
2017-07-04T10:00:47
96,039,242
0
0
null
null
null
null
UTF-8
Python
false
false
2,044
py
import json import requests import time import urllib from dbhelper import DBHelper db = DBHelper() TOKEN = "<your-bot-token>" URL = "https://api.telegram.org/bot{}/".format(TOKEN) def get_url(url): response = requests.get(url) content = response.content.decode("utf8") return content def get_json_fro...
[ "noreply@github.com" ]
noreply@github.com
ec077c77de448b27e7c3c12a2dc3c6d20add72c8
13f1333e325c2ef8ad1f406672668114c16eba9e
/tool_containerized/docker_project/tool/src/who_measures/get_who_measures.py
7c92b5aff25749c26717939b04426b34ccf31b13
[]
no_license
leodelossantos2807/tool_container
93a7901df3406b8322055a9e46cf9806e00a2b07
831240f6bb3dbd49fe962924275a7ecc3da0840e
refs/heads/master
2023-01-20T15:57:24.068341
2020-11-27T20:46:39
2020-11-27T20:46:39
294,592,331
1
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
import pandas as pd from src.who_measures.get_carac import get_carac import os import numpy as np def read_csv_file(df): TRACK_ID = [] X = [] Y = [] F = [] fluo = [] for id in np.unique(df['id'].to_numpy()): TRACK_ID.append(id) new_out = df.loc[df['id'] == id] X.append(n...
[ "leonardo.de.los.santos280796@gmail.com" ]
leonardo.de.los.santos280796@gmail.com
05dfb0024da3d6f4a9b49d3cf1c78d4f69ad3841
59571357d3b006f23b1b94db1dc710a39200e2cd
/natas16/CeaserCipher.py
9ce8e2ca153a8633017eb616865c1b931618488f
[]
no_license
ebymohan/python
827e49460b3e276cf3990d19427c756e13dba407
2271ae9269c260ca11a3f772117bd6bc928d3217
refs/heads/master
2023-04-03T03:30:26.201754
2021-04-14T14:48:18
2021-04-14T14:48:18
357,038,344
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
msg='''Jub'f yhexvat va gur funqbjf? Jub'f npghnyyl uvqvat haqre gubfr fpnel pybnxf? Jung'f tbvat ba ng /funqbjOnaxUD?''' #msg='''SYNTPrfneVfPbbyOhgAbgFrpher''' def add(c, s): result='' if (c.isupper()): result += chr((ord(c) + s - 65) % 26 + 65) else: result += chr((ord(c) + s - 97...
[ "appsecdiv@gmail.com" ]
appsecdiv@gmail.com
d3128f1830b9028235b93a665a8c15dddf2ceff8
617f9a5c9ff8e710de7b43c031cdd97a671c68c3
/neurom/features/neurite.py
6aac5e9f672ebc19dbe8a2663299f22f03a8e493
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
BlueBrain/NeuroM
e136fc4a36fe1b5d8e590179dc3d8a111d6e5282
34d202cfb95d32cd985a423b65349aa1b01957d6
refs/heads/master
2023-08-17T18:42:43.125992
2023-08-08T07:14:38
2023-08-08T07:14:38
34,906,350
106
75
BSD-3-Clause
2023-09-14T10:58:38
2015-05-01T14:21:43
Python
UTF-8
Python
false
false
15,769
py
# Copyright (c) 2020, Ecole Polytechnique Federale de Lausanne, Blue Brain Project # All rights reserved. # # This file is part of NeuroM <https://github.com/BlueBrain/NeuroM> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are ...
[ "noreply@github.com" ]
noreply@github.com
f56dd641bfaf6b4d62bc8b95169cdfa6234f8120
ac9ff707b5230e3c8a7ee870ddaaeee3207a1182
/knn.py
cc7230aba66febe78fd055573ac7fc8c11db4c06
[]
no_license
Hrishabh412/ML2018
e6d2140494abc90fbf57d2f2b8f785104b20da68
a4ab74f644b7eb1e20ad2ec84390f3f9c358ab79
refs/heads/master
2020-03-17T21:59:47.900977
2018-06-23T00:45:12
2018-06-23T00:45:12
133,984,354
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
#!/usr/bin/python3 from sklearn.datasets import load_iris from sklearn.neighbors import KNeighborsRegressor iris=load_iris() import numpy as np x=[0,50,100] train_data=np.delete(iris.data,x,axis=0) test_data=iris.data[x] train_target=np.delete(iris.target,x) test_target=iris.target[x] #loading KNN algo from ...
[ "hrishabhsoni412@gmail.com" ]
hrishabhsoni412@gmail.com
96e799348d786ed17b4313839f7549e2be1c058b
416ae2f4249ed454aeb485fabf43fe97520f53cc
/djangoRestfulApis/djangoRestfulApis/wsgi.py
9092837c376419fa78df8094c037967efcbc198e
[]
no_license
siraj321/PythonDjango
0f90f3241703fff411df06e55ab3ad2d60265777
f02a4bcd9a2b9689ac38ecc5a4bad056a744fa5c
refs/heads/master
2022-12-17T12:50:23.598421
2020-03-12T06:02:54
2020-03-12T06:02:54
241,361,295
1
0
null
null
null
null
UTF-8
Python
false
false
179
py
import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangoRestfulApis.settings") application = get_wsgi_application()
[ "siraj.diwan@rediffmail.com" ]
siraj.diwan@rediffmail.com
7faaf7cb503ab80c556777a8260f764a36a21ccd
79fa79f2ae6fef819f65506f3736074e8324d16f
/venv/bin/pip3.7
3ef0d009c5016da9607d29294a5afbe687ee2d75
[]
no_license
ajest/pupils-administrator
f7e03c0a8cdca65cf3b2dda79f41cd606bafcc08
b5d9b04be74fe98c46fe9f6497bae8b46b9a1724
refs/heads/master
2020-03-27T20:08:53.309388
2018-09-02T00:58:30
2018-09-02T00:58:30
147,043,065
0
0
null
null
null
null
UTF-8
Python
false
false
407
7
#!/Users/pablo/PycharmProjects/testing/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __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]) ...
[ "pablo.fumarola@gmail.com" ]
pablo.fumarola@gmail.com
a00148ce9f71c67e67b0b018783053a659e0065d
ea9d06c62cabdfa1519cfef388fbcfdde00ee62e
/정렬/Q25. 실패율.py
9960fb1cde59b8fa0a7f467eee26db29ed459829
[]
no_license
cauminam/Algorithm_Train_Python
1d68b3e42a67480fb39e4dff1390fbe6e69594f9
de882c15db9a279aaf3f1dd233e5e45d8ec3b55c
refs/heads/master
2023-03-24T16:26:16.571421
2021-03-20T04:58:30
2021-03-20T04:58:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,717
py
"""슈퍼 게임 개발자 오렐리는 큰 고민에 빠졌다. 그녀가 만든 프랜즈 오천성이 대성공을 거뒀지만, 요즘 신규 사용자의 수가 급감한 것이다. 원인은 신규 사용자와 기존 사용자 사이에 스테이지 차이가 너무 큰 것이 문제였다. 이 문제를 어떻게 할까 고민 한 그녀는 동적으로 게임 시간을 늘려서 난이도를 조절하기로 했다. 역시 슈퍼 개발자라 대부분의 로직은 쉽게 구현했지만, 실패율을 구하는 부분에서 위기에 빠지고 말았다. 오렐리를 위해 실패율을 구하는 코드를 완성하라. 실패율은 다음과 같이 정의한다. 스테이지에 도달했으나 아직 클리어하지 못한 플레이어의 수 / 스테이지에 ...
[ "uigohiiming2@gmail.com" ]
uigohiiming2@gmail.com
8298770cb7eb0cdf2d274db9e09a75599fc185c8
058572f017772e34ad0167f4d95169125f808777
/library_mobile/wsgi.py
29cb5d95068ccb1ff8e959ecd4170eb06b610f3e
[]
no_license
victorveiga/library-mobile-server
287cf84398969ee25cf1f825298c31c5bb98f27e
1eefe16bffdfa2714a4888c43ef6e13b8c163908
refs/heads/master
2023-06-02T21:50:37.112775
2021-06-17T13:36:37
2021-06-17T13:36:37
365,068,583
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
""" WSGI config for library_mobile project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from dj_static import Cling ...
[ "44455077+victorveiga@users.noreply.github.com" ]
44455077+victorveiga@users.noreply.github.com
e7af11109ba4f8d3c71f1d5cc8999c76b66f0e50
c5388342c19c5605f2113f327c1023ee74eb7144
/05-Functions-Advanced/Exercise/07_concatenate.py
de93b7844c4a0357cc90de454fee30564848cfd6
[]
no_license
zhyordanova/Python-Advanced
8b0cd3f31c12e726b7846d54c6ee7bfb602a07a9
ae2a9416e89eae6c40ae965a3ad65af54b36e333
refs/heads/main
2023-05-04T03:17:46.883246
2021-05-24T22:49:31
2021-05-24T22:49:31
349,577,494
1
0
null
null
null
null
UTF-8
Python
false
false
110
py
def concatenate(*strings): return ''.join(strings) print(concatenate("Soft", "Uni", "Is", "Great", "!"))
[ "zhyordanova88@gmail.com" ]
zhyordanova88@gmail.com
ec95968a7b2df86a07137f7e6e672b71302ae50a
7834e55df20cd3b0fb629a137dd2671cf53f484f
/tests/test_encoding.py
8fb4b5e646be000a21d9ac4265648f9e54c2c5af
[ "MIT" ]
permissive
mapbox/mapbox-sdk-py
ca23c0f5cbbadd654b53683ff3f8918f504e0ff6
0329ccb17e7d3f4123da1534417bd21aa31bc2eb
refs/heads/master
2023-06-05T11:46:38.434644
2022-08-01T22:31:37
2022-08-01T22:31:37
39,404,445
335
150
MIT
2020-02-04T16:25:14
2015-07-20T19:34:47
Python
UTF-8
Python
false
false
4,221
py
import pytest import copy import json from mapbox.encoding import (read_points, encode_waypoints, encode_polyline, encode_coordinates_json) gj_point_features = [{ "type": "Feature", "properties": {}, "geometry": { ...
[ "perrygeo@gmail.com" ]
perrygeo@gmail.com
87a57ee16776a593af19cd8803c768cdd4a2e8ba
6f5925c95b4f3d3eb672fa309cdbe8dc1c66bdf3
/WebCrawler&SearchEngine/WebSearchEngine_Interface.py
6687b2338156cc2696d0b8f1b980cb70b2e03327
[]
no_license
GraceMandada/Projects
b7514e8b5838b7a4789cbafa0e2a6a1144418bdd
4d63d8c5594cff1d4074819b8949f9f91388a8bd
refs/heads/master
2023-04-21T06:58:28.886213
2021-05-08T16:35:45
2021-05-08T16:35:45
365,409,958
0
0
null
null
null
null
UTF-8
Python
false
false
3,319
py
import Crawler_FileTraverser from tkinter import * from tkinter import ttk def func(): search_term=text2b.get() final_search=search_term out_search_term='' rq=0 n=0 n_2=0 bq=0 if '?q' in search_term: if "%20" in search_term: if '&' in search_term: p=search_term[search_term.index('=')+1:search_term.in...
[ "78237058+GraceMandada@users.noreply.github.com" ]
78237058+GraceMandada@users.noreply.github.com
a570ce06e761fae32615225226d1ca1d3125a128
b146999ae1b9629f9c0e680ba26ae605fe381230
/HackerRank/ATaleOfTwoStacks.py
f18a4e767d00ad264227482de01581bdc0af4f80
[]
no_license
Lufedi/competitive-programming
67be0d10efbdd24268f7b656525b4b426deff2b4
e18427b52777124477a79a938a80bc097779925a
refs/heads/master
2021-06-04T01:37:17.577378
2020-03-21T17:36:26
2020-03-21T17:36:26
122,895,243
0
0
null
2020-03-21T17:36:27
2018-02-26T01:21:00
Java
UTF-8
Python
false
false
328
py
from collections import deque from sys import stdin q = deque() lines= int(stdin.readline().strip()) for i in range(lines): ops = [int(elem) for elem in stdin.readline().strip().split()] if ops[0] == 1: q.appendleft(ops[1]) elif ops[0] == 2: q.pop() else: print(q[len...
[ "pipexir@gmail.com" ]
pipexir@gmail.com
05e75352e103b8877a08617bf3a4117f9485eaf7
5d05ea555ffa4dbec34787c4270356e3caa0eb85
/IqMlp.py
504cd4233e13027680af84fe5cc58f4c63e8c08c
[ "MIT" ]
permissive
Veragin/Interquantile-multilayer-perceptron
4a3f3d995852cabce14bc5dfe370eec0040353c0
bd566976e7062754c9c69969ba3a1053f4915a4a
refs/heads/master
2022-12-25T07:29:41.187926
2020-09-08T07:18:08
2020-09-08T07:18:08
293,726,657
0
0
null
null
null
null
UTF-8
Python
false
false
2,973
py
### An interquantile multilayer perceptron ### The idea is to compute two selected nonlinear regression quantiles by means of multilayer perceptrons (MLPs) ### and the final regression fit is obtained as a standard MLP computed however only for such observations, ### which are between the two quantiles; to achieve robu...
[ "123698745babucha" ]
123698745babucha
261e0eb698524a65c64f509f16fc005825678a85
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5709773144064000_1/Python/DayBit/probB.py
89a1ba67f2f5762b9bdf723758fef3336e9985fe
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
663
py
''' Created on 12/04/2014 @author: david ''' fIn=open("B-large.in") T=int(fIn.readline()) P=[] for i in range(T): c,f,x = [float(x) for x in fIn.readline().strip().split()] P.append((c,f,x)) fRes = open("res.txt", "w") case = 0 for c,f,x in P: case += 1 cps=2.0 timetobuy = c/cps bestTim...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
b615fc7be164dc4721bc79493fe97636a809c42c
1f4c4204ea5ec267d0abb665beb07e04bd24755b
/generated-openstack-tripleo-heat-templates/tools/yaml-validate.py
220ad0c60527f97613727e316d73fc4dda1a7d4e
[]
no_license
momoah/osp13_director_deployed_ceph
e306e1d9e48e260777c81568e4c58f3518adec86
925be7eb1e88661a7a61f1d6da617203e3206711
refs/heads/main
2023-02-17T11:07:45.546392
2021-01-18T01:57:18
2021-01-18T01:57:18
330,507,151
1
0
null
null
null
null
UTF-8
Python
false
false
56,405
py
#!/usr/bin/env python # 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 wr...
[ "mahmad@molaptop.momolab" ]
mahmad@molaptop.momolab
0510146ef6fac9025dff91e4eeac1220c8281527
bca9c2fa3c4c3d06dd612280ce39090a9dfab9bd
/neekanee/job_scrapers/plugins/com/link/scotiabank.py
cb1391598e9dac9c05f05ebfd3b07cae11ae06a6
[]
no_license
thayton/neekanee
0890dd5e5cf5bf855d4867ae02de6554291dc349
f2b2a13e584469d982f7cc20b49a9b19fed8942d
refs/heads/master
2021-03-27T11:10:07.633264
2018-07-13T14:19:30
2018-07-13T14:19:30
11,584,212
2
0
null
null
null
null
UTF-8
Python
false
false
1,977
py
import re, urlparse, mechanize from neekanee.jobscrapers.jobscraper import JobScraper from neekanee.htmlparse.soupify import soupify, get_all_text from neekanee_solr.models import * COMPANY = { 'name': 'Scotiabank', 'hq': 'Toronto, Canada', 'home_page_url': 'http://www.scotiabank.com', 'jobs_page_ur...
[ "thayton@neekanee.com" ]
thayton@neekanee.com
188eded5a33a3356775f183afb4cc4a4189cead3
9832fdc24ab1addf453d99598aa24c4c427e8c27
/setup.py
317ccaff2e68f2b5270e1067ba42adaa92a4f1fc
[]
no_license
rahuldshetty/pyshrink
ccaa1b5e1fc59950950f15c6c51cdfa988322d1d
9a751683703d717253a3921892d9e827d2dc3ab0
refs/heads/master
2022-09-29T15:16:43.699795
2020-06-04T15:07:50
2020-06-04T15:07:50
268,912,024
1
0
null
null
null
null
UTF-8
Python
false
false
560
py
#!/usr/bin/env python """The setup script.""" from setuptools import setup, find_packages requirements = [ ] setup( author="Rahul D Shetty", author_email='35rahuldshetty@gmail.com', python_requires='>=3.5', description="Compression algorithms implemented in pure Python.", install_requires=requir...
[ "35rahuldshetty@gmail.com" ]
35rahuldshetty@gmail.com
ca76d3aab5b84adc3379515cc5eb4ca783efdaa8
5d5d52990dc66b32e2fc747950561590485189ca
/src/questions/migrations/0004_remove_question_date.py
a1c6fea8ea45193efd6879fc53cce2925678fd76
[]
no_license
whitedevil31/django-quora
b60628391e04c354988daf0c30e6a4c6b31e16b3
9f24e2e7d0479d7384febd5da94c04f3ac444b24
refs/heads/main
2023-07-13T06:53:15.374457
2021-08-29T07:14:20
2021-08-29T07:14:20
400,977,677
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
# Generated by Django 3.2.4 on 2021-08-27 10:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('questions', '0003_question_date'), ] operations = [ migrations.RemoveField( model_name='question', name='date', ), ...
[ "magz3116@gmail.com" ]
magz3116@gmail.com
d08298aa6a011411b0e0d98eb1bb0d37edbdf8e9
826f55186fd5176144197a6dafbe2ceed2bbb37b
/Perper_Leonid_dz_11/task_11_7.py
24ebf0a17770e41e78b2e8547dd177d22f276c8c
[]
no_license
KlimChugunkin/PyBasics-Course
b3b3dad12104b929f00196ec4040333583246d82
f7d1c071b232380fe4aa5a7abf4905d7e89fa469
refs/heads/main
2023-05-14T05:39:13.477897
2021-06-05T18:38:00
2021-06-05T18:38:00
356,353,978
0
0
null
2021-06-05T18:38:00
2021-04-09T17:44:21
Python
UTF-8
Python
false
false
1,275
py
""" Задание 7 Реализовать проект «Операции с комплексными числами». Создать класс «Комплексное число». Реализовать перегрузку методов сложения и умножения комплексных чисел. Проверить работу проекта. Для этого создать экземпляры класса (комплексные числа), выполнить сложение и умножение созданных экземпляров. Проверить...
[ "leo-pereper@yandex.ru" ]
leo-pereper@yandex.ru
662a910033b75dc414e9720b6a23b1c7582dba91
fd0aa46dc50081fdae44d6afec9ec85cb60bc86d
/complex-weather-alerts/alerts/core_data.py
921527e354416a79cdd3556bd4ffd47d14e3fd54
[]
no_license
dom-o/complex-weather-alerts
20a2faae069709ca8941796b702a7043718274f2
61e1959924000fabc04d773edc5aa61e31d9fbe9
refs/heads/master
2022-12-10T01:34:14.427118
2020-03-03T05:59:34
2020-03-03T05:59:34
153,208,340
0
0
null
2022-12-09T13:44:36
2018-10-16T02:09:03
Python
UTF-8
Python
false
false
247
py
from pathlib import Path import json unwanted= ['icon', 'summary', 'apparentTemperature', 'nearestStormBearing', 'nearestStormDistance', 'temperature', 'time'] with Path('alerts/datapoint.json').open() as f: datapoint_schema = json.load(f)
[ "dom-o@users.noreply.github.com" ]
dom-o@users.noreply.github.com
27f71acc6181f6b40de7037f107d718970c210e8
24532cc3eb0e489415a08457b454c454abf66525
/object-maker/copy-dataset-files.py
295761788c3e67586d04717102ac11cacb0d8a08
[]
no_license
glygener/glygen-backend-integration
7a4c8e45dd9af6b0424946fcc7e11e9aef39d9a6
526775496f860680df2dbfdfc42b3ba35c69cfea
refs/heads/master
2022-09-22T03:56:35.116497
2022-09-09T16:56:59
2022-09-09T16:56:59
151,144,635
0
0
null
null
null
null
UTF-8
Python
false
false
2,122
py
#!/usr/bin/python import os,sys import string import csv import json import glob import requests import subprocess import pymongo from optparse import OptionParser import libgly from Bio import SeqIO __version__="1.0" __status__ = "Dev" def get_master_file_list(): file_name_list = [] ds_obj_list = json.lo...
[ "rykahsay@gwu.edu" ]
rykahsay@gwu.edu
9d75f4f664eb0f368c443272ef6b096804e26e20
18aee5d93a63eab684fe69e3aa0abd1372dd5d08
/test/legacy_test/test_numel_op.py
5c8c477877c3261829732e495a4f3679b18d2316
[ "Apache-2.0" ]
permissive
Shixiaowei02/Paddle
8d049f4f29e281de2fb1ffcd143997c88078eadb
3d4d995f26c48f7792b325806ec3d110fc59f6fc
refs/heads/develop
2023-06-26T06:25:48.074273
2023-06-14T06:40:21
2023-06-14T06:40:21
174,320,213
2
1
Apache-2.0
2022-12-28T05:14:30
2019-03-07T10:09:34
C++
UTF-8
Python
false
false
4,760
py
# Copyright (c) 2020 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 app...
[ "noreply@github.com" ]
noreply@github.com
96c96b1cbf1f744df9693030c13335e0783a3353
1af6958461af6257264ace2a6d13385b47104606
/pyscf/semiempirical/umindo3_grad.py
f9223d6afa0b11f546adc5c837174e722f4b0638
[ "Apache-2.0" ]
permissive
tmash/pyscf
ac9a86c078170044b52be71e5d00fa5f680f55af
89c101c1c963e8247808635c61cd165bffab42d6
refs/heads/master
2020-12-04T04:41:23.456744
2020-01-02T18:05:16
2020-01-02T18:05:16
231,615,690
1
0
Apache-2.0
2020-01-03T15:33:33
2020-01-03T15:33:32
null
UTF-8
Python
false
false
2,099
py
#!/usr/bin/env python import copy import numpy from pyscf import lib from pyscf import gto from pyscf import scf from pyscf.grad import uhf as uhf_grad from pyscf.data.elements import _symbol from pyscf.semiempirical import mopac_param from pyscf.semiempirical import mindo3 from pyscf.semiempirical import rmindo3_grad...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
1df9327190db516e0eb887231d991c5fbf5ef252
17c7954ac8536e8037f7ef574ecd9f9fd525b1fa
/fortuneTeller.py
0278d80e74f8570d380abfcf592bb021036ef5c4
[ "MIT" ]
permissive
jarvis-1805/Simple-Python-Projects
fb9714e3be4b2da49ceedf26727dac21e0bea1d4
0164c6ad55d917c92eb7471117bcc37abc937d82
refs/heads/master
2023-04-06T10:06:00.751103
2021-03-27T18:10:59
2021-03-27T18:10:59
268,051,364
2
0
null
null
null
null
UTF-8
Python
false
false
2,184
py
print("\n\t\t\t\tThe Fortune Teller!") print("You will select a color and a numer and I will tell you what your future holds for you!!!") c = input("\nDo you want to play the game!!! ('y' or 'n'): ") while c == 'y': color = input("\nChoose a color from - Yellow, Green, Blue, Red: ") if color == 'Yellow' o...
[ "shubhsahu1805@gmail.com" ]
shubhsahu1805@gmail.com
fe276a128ca1aeed7243002b35e4ffcdb8109f30
466ad30d78e59d9ac631cb88541f99480896a464
/dodge_game/game_world.py
149bb83efcad7c88c6f4a515551f077ebed01766
[]
no_license
leeebs/game
04c71458eb909724ace5a85372cbd8aa2bf79f85
37e20805ed813732c9426537238a45e580531c80
refs/heads/main
2023-06-28T19:51:23.819992
2021-08-10T06:46:26
2021-08-10T06:46:26
376,883,441
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
from pico2d import * # import game_framework # (LAYER_BG, LAYER_BALL, LAYER_PLAYER, LA..fjsdlk fsjlsf) = range(3) # objects = [[],[],[],[]] objects = [] def init(layer_count): global objects objects = [] for i in range(layer_count): objects.append([]) # print("Now layer count=", len(objects)) def...
[ "noreply@github.com" ]
noreply@github.com
94a7c9bb205a5af9de7c09c8beb9796010b2cc71
b059c2cf1e19932abb179ca3de74ced2759f6754
/S20/day04/03作业.py
89601d4d3d9c179bb55fbfb29fee50ae4e4ba7d1
[]
no_license
Lwk1071373366/zdh
a16e9cad478a64c36227419d324454dfb9c43fd9
d41032b0edd7d96e147573a26d0e70f3d209dd84
refs/heads/master
2020-06-18T02:11:22.740239
2019-07-10T08:55:14
2019-07-10T08:55:14
196,130,277
0
0
null
null
null
null
UTF-8
Python
false
false
8,864
py
# li = ["alex", "WuSir", "ritian", "barry", "wenzhou"]. # a.计算列表的⻓度并输出 # b. 列表中追加元素"seven",并输出添加后的列表 # c. 请在列表的第1个位置插⼊元素"Tony",并输出添加后的列表 # d. 请修改列表第2个位置的元素为"Kelly",并输出修改后的列表 # e. 请将列表l2=[1,"a",3,4,"heart"]的每⼀个元素添加到列表li中,⼀⾏代码实现,不 # 允许循环添加。 # f. 请将字符串s = "qwert"的每⼀个元素添加到列表li中,⼀⾏代码实现,不允许循 # 环添加。 # g. 请删除列表中的元素"ritian",并输出...
[ "1071373366@qq.com" ]
1071373366@qq.com
54a3d0f017a7815dd4e60478478132b79addd198
025f908cf5345d35611aa677aa8d9124213e9d7f
/lx-one/oe_lx.py
9540fcc870b41700781f15658f6191a3c36e8e71
[]
no_license
maxmumford/lx-one
0b785c261a8280984795c0878bb288515305aa29
c74e89e5fa02635b092cc1de50056ed3a7be5eb0
refs/heads/master
2021-01-10T07:29:13.868109
2014-06-10T13:39:22
2014-06-10T13:39:22
52,301,611
0
0
null
null
null
null
UTF-8
Python
false
false
3,483
py
from copy import deepcopy import HTMLParser import base64 from openerp.osv import osv, fields from openerp.tools.translate import _ from tools import get_config from lx_data import lx_data class oe_lx(object): """ Define fields and methods that all uploadable oe objects should have """ html_parser = ...
[ "mmu@openerp.com" ]
mmu@openerp.com
bec934dd5110f4ccfba0e21493b7e769b42fa334
ecafc794099978d2ffab07693d8f5ce4159db3ee
/RomanD/ejercicios_rpl/strings/ej_8_filtrador_de_vocales.py
97948c932f03f01c707a054030c02a27f89765b1
[]
no_license
RomanAdriel/AlgoUnoDemo
05d85f73f39052ff141899577ef66bd8a2ee627f
923e2a5fc32762ff3b3c2218fc2c7c881cb4f20d
refs/heads/master
2023-06-03T05:41:05.236167
2021-06-30T03:51:07
2021-06-30T03:51:07
309,220,782
1
0
null
2021-07-03T05:45:40
2020-11-02T00:49:36
Python
UTF-8
Python
false
false
555
py
"""Completar el cuerpo de la función. La misma recibe una cadena y debe retornar la misma habiendo filtrado todas las vocales que contenía. Ejemplos: filtrador_de_vocales("hola") => "hl" filtrador_de_vocales("facultad") => "fcltd" filtrador_de_vocales("algoritmos") => "lgrtms" """ def filtrador_de_voc...
[ "roman.diaz09@gmail.com" ]
roman.diaz09@gmail.com
d443624147d9d06c55951f3ad96077093c7a0d9d
aefc47e459f2911416cf8f632142abe452fcced9
/CIS8005_Assignment2/Chapter13_Excercise6.py
5c55fdfa7ed26e9a7cdc658c7e47a019439cf6b4
[]
no_license
lequan26111991/CIS8005-Data-Programming-for-Analytics
ac2f0b2fd3ea3f83aff9571cf62ffa78b04321ba
a17109adb6a194292db850ab018ed0946157aed5
refs/heads/master
2020-07-29T23:25:28.456404
2019-09-21T14:49:40
2019-09-21T14:49:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
''' Chapter 13 Excercise 6 ''' import urllib.request filename = urllib.request.urlopen("http://cs.armstrong.edu/liang/data/Lincoln.txt") string1 = filename.read().decode() string1 = string1.split() print("There are",len(string1),"of words")
[ "lequan26111991@gmail.com" ]
lequan26111991@gmail.com
def86adf10ba660d65c54b06b5588fbb3d0cdde8
877d5127505940613d5a487a34552def1add114d
/limbs/youtube_downloader.py
d4f3b431c8f6b9fbd00e1d3081d190930a4fffb5
[]
no_license
PoopLord1/centipede
04126bd3137fa4f11bfee0db0d3d1589e188f52e
3b3b5a3f307efa569f6ea38d354018ca2479d59c
refs/heads/master
2021-07-08T00:07:14.088378
2020-11-04T04:14:22
2020-11-04T04:14:22
200,458,989
0
0
null
null
null
null
UTF-8
Python
false
false
2,227
py
""" YoutubeDownlaoderSeleniumScraper.py - a Limb that operates YoutubeDownloader.io in order to download a video. """ import os, time, re from .abstract.FirefoxSeleniumScraper import FirefoxSeleniumScraper class YoutubeDownloader(FirefoxSeleniumScraper): def __init__(self, config_dict): super(YoutubeD...
[ "tylerbarrett2010@gmail.com" ]
tylerbarrett2010@gmail.com
f1fa670066554200aaefc5e4ccedad70e9ea469e
469b8ddc005ae144c33c1d1b91ab7accbd67a4ef
/job_details.py
2b6f52a31f9cbd018f3b423530941dd06cb8a07e
[]
no_license
NeoChithu/technoparkCrawler
1e88b71b8a6a13fe9f11b8c09533a94ea4b00f04
755c7d95b7aded30f16e81a9d7b89566f3dde141
refs/heads/master
2020-03-22T04:01:17.930995
2018-07-11T10:57:14
2018-07-11T10:57:14
139,211,524
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
from bs4 import BeautifulSoup import urllib2, sys import mysql.connector from datetime import datetime url = "http://www.technopark.org/job-detail?cmpid=10364&vacancy_id=14347" # url = "http://www.technopark.org/job-detail?cmpid=228&vacancy_id=14343" header = {'User-Agent': 'Mozilla/5.0'} #Needed to prevent 403 error ...
[ "chithup95@gmail.com" ]
chithup95@gmail.com
cb54eb35c15836e2c73c197199fe440db0c0d45a
32c936dffeebae82b16bc5fceee88c0ef9aece07
/ideabook/migrations/0007_auto_20210815_0134.py
808960cbd5fe4ffb7ccafcab824c015080c3e07e
[]
no_license
AflalHussain/django-ideabook-app
7d9cab39244d91f4f00df05c2664553773e1f353
6e23d77bdbdad01c0ba3bdd193030fd946d17942
refs/heads/master
2023-07-10T07:19:38.110288
2021-08-22T18:03:28
2021-08-22T18:03:28
397,230,671
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
# Generated by Django 3.2.6 on 2021-08-14 20:04 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('ideabook', '0006_auto_20...
[ "aflalibnhussain@gmail.com" ]
aflalibnhussain@gmail.com
cb3860ceb2dbff13a9ff4435a86fd66989a47dfb
177b40ab0f42cd000da936e0f3510547abd0764f
/venv/Scripts/django-admin.py
9a2a9a25ec266ea6a745bf83a917b3c3e677f9b2
[]
no_license
shyni-bizsoft/azureproarc
937a919fa4f37c4281b1db6c3546e387979b8e8b
0f82121d4d8ad18ec5b370db7eb85d48e8a82bbc
refs/heads/main
2023-05-06T05:31:09.818105
2021-06-04T05:45:48
2021-06-04T05:45:48
366,355,749
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
#!c:\users\dell\documents\python_midi\site_under_maintenance\venv\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( ...
[ "shyni.bizsoft@gmail.com" ]
shyni.bizsoft@gmail.com
df5f8c54268ded571295ece802db4fcb08319f15
f90b834afe3543207b4edbd00c0cd810c836e51d
/python/PathStrategyInterface.py
657581d7cecbb1279adaad263e63bae1c9dee3f2
[]
no_license
grape-gatorade/travelingcustomer
ba255b9838f293dad05f8ff73959692ae4fbfe0d
3cacb2036df1c0b4ef15bac6461f62f63062f0e6
refs/heads/master
2021-08-22T18:05:49.447973
2017-11-30T21:51:46
2017-11-30T21:51:46
103,766,426
1
0
null
2017-11-06T15:46:06
2017-09-16T16:24:13
JavaScript
UTF-8
Python
false
false
401
py
""" Module provides Abstract Path Strategy Class to be implemented """ from abc import ABCMeta, abstractmethod class PathStrategy(object): """ Abstract Base Class for Path classes to implement """ __metaclass__ = ABCMeta @abstractmethod def calculate_path(self, path_list, start_time): """ Func...
[ "pelaet@rpi.edu" ]
pelaet@rpi.edu
c08a1529a070f475a793896e0d03b48cfde22c95
15f8dce215c4a078c04cb90c0c57cdc9587e74c9
/certainTypeQuestions/Tree/101.SymmetricTree.py
fd16cee4475ed33ed6d5516bf79a3ee1d9249c17
[]
no_license
jli226/daily-leetcode-practice
6829f432e1c2fc2ba579d45b227c2438c9e306cb
61bf6d36f12773efbeb5e332b8eb315eaa31871a
refs/heads/master
2022-12-16T01:28:13.490783
2020-09-15T01:39:17
2020-09-15T01:39:17
255,736,260
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
# Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). # For example, this binary tree [1,2,2,3,4,4,3] is symmetric: # 1 # / \ # 2 2 # / \ / \ # 3 4 4 3 # But the following [1,2,2,null,3,null,3] is not: # 1 # / \ # 2 2 # \ \ # 3 3 # Fo...
[ "jli226@fordham.edu" ]
jli226@fordham.edu
510ae73b72ae1dfb9680491782b111449bfd44ff
d7b9b490c954c7a9160b69f8ce2c907ef4681ecb
/sponsors/migrations/0006_auto_20201016_1517.py
ff9d137547f788af7cd2e185b1028bb98733f640
[ "Apache-2.0" ]
permissive
python/pythondotorg
00db93a4b1789a4d438806d106d9cee3349ad78c
c4ee749942227ca75c8e670546afe67232d647b2
refs/heads/main
2023-08-28T20:04:24.735314
2023-08-03T19:12:29
2023-08-03T19:12:29
6,127,047
1,131
646
Apache-2.0
2023-08-24T15:57:04
2012-10-08T16:00:15
Python
UTF-8
Python
false
false
2,459
py
# Generated by Django 2.0.13 on 2020-10-16 15:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("sponsors", "0005_auto_20201015_0908"), ] operations = [ migrations.RenameModel( old_name="SponsorshipLevel", new_na...
[ "noreply@github.com" ]
noreply@github.com
21f276b882cd9006b94371de31160164730f6994
99f851bc034bdedd61ff673b4ca1d294e9451d04
/iprPy/records/LAMMPS-potential.py
bbade6130a0a6bfafae083165ae1d8893d518f71
[]
no_license
njisrawi/iprPy
c583ba92b2537ce449c3fb6a832a06036dc1918f
5ce6c14b1cc889069495a2f29db19d5d78e29ede
refs/heads/master
2021-01-20T09:00:24.709510
2017-01-25T20:28:54
2017-01-25T20:28:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
from DataModelDict import DataModelDict as DM import atomman as am import atomman.unitconvert as uc import numpy as np def schema(): dir = os.path.dirname(os.path.abspath(__file__)) return os.path.join(dir, 'record-LAMMPS-potential.xsd') def todict(record): model = DM(record) pot = model['LAMMPS-po...
[ "lucas.hale@nist.gov" ]
lucas.hale@nist.gov
c9e2a5ddd4706f023557d7a82f05b93d31da2574
897a3679e6afc627141989b6ec0aa9c6246898da
/f9/f9.py
54109cf125f94ef38e4a0d289a7aa3daec5f94d9
[]
no_license
aka-achea/f9
cf258a54528e7ba923b18ccd705d693b7cca0b36
5021e7d815b0c25b341103dd2798126514d58b54
refs/heads/master
2023-07-06T03:50:16.081709
2023-07-04T04:43:30
2023-07-04T04:43:30
119,021,815
0
0
null
null
null
null
UTF-8
Python
false
false
28,303
py
#!/usr/bin/python3 #coding:utf-8 #version:20191118 """ BIOS Setup Automation Tool """ import time , os import pyautogui as auto wp = os.path.dirname(os.path.realpath(__file__)) g10sys = 'g10sys' g9sys = 'sys' f9 = 'F9' # flom = 'FLOM' # g10power = 'g10power' g10bios = 'g10bios' os_dict = { ...
[ "jason.chen.jc2@roche.com" ]
jason.chen.jc2@roche.com
eab0f37861eb12d0b3543cafdd7136150516b581
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2285/60598/260635.py
6ae600bba2a2f7ddba8115e36439a621e275c9fc
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
558
py
times = int(input()) for i in range(times): length = int(input()) nums = list(map(int, input().split(" "))) j = 0 finish = False result = [] while j < length-1: start = j while j < length-1 and nums[j] < nums[j+1]: j += 1 if start != j: result.appe...
[ "1069583789@qq.com" ]
1069583789@qq.com
7b40bc20f51595ba54077cefa84644dcd3d42679
16df566f64f77b7856c24d974b27bcad3353cff2
/mb_project/settings.py
bb507f8219dbdbafd0420daa159faec21e2bc404
[]
no_license
rsf-teacher/message-board
926aaaf0f0efc3f23d115af7c1e1f32555ea8469
d715b803a76e601701459a6b436807ff7e6804b3
refs/heads/main
2023-02-26T04:58:13.886279
2021-01-29T16:17:50
2021-01-29T16:17:50
332,029,645
0
0
null
null
null
null
UTF-8
Python
false
false
3,198
py
""" Django settings for mb_project project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from path...
[ "rsf61@mail.ru" ]
rsf61@mail.ru
fdb87290e133bf253781ecbef6c3b7d289cc0a04
6def27a464d1e7457731a40d268bc9d30bc42ba2
/middleproject/index/views.py
73464b114ae804a999b443dd7d678638a81e4cdc
[]
no_license
liu-xinke/playroom
43201c297ef92c294fd295ecf52946ff2c968fb2
4c44c47fd6dc0c71a34a65023692f34c60ece861
refs/heads/master
2020-03-26T23:58:57.966356
2018-08-22T01:10:36
2018-08-22T01:10:36
145,583,463
2
0
null
null
null
null
UTF-8
Python
false
false
480
py
from django.shortcuts import render from django.http import HttpResponse,HttpResponseRedirect # Create your views here. def index_views(request): if request.method == 'POST': name = request.POST['uname'] if not name: return HttpResponseRedirect('/') path = '/player/' + name ...
[ "953576288@qq.com" ]
953576288@qq.com
4f8861c4bf7cac50b781eb8c49a307876e17fac1
7544c79ffc2449f2b70d7c9c7eeecf72b8176c05
/tests/test_backend.py
de777298b09b07e917aae11125079874e5259cff
[ "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
reaperhulk/cryptography-pkcs11
2d2833dc8625f69fb11b5bfb5be7a3b6b5e455d3
b716762499d6b13b881cff1632624509e82dd0b8
refs/heads/master
2021-01-10T05:01:40.867813
2016-02-14T03:16:51
2016-02-14T03:16:51
50,405,403
5
0
null
null
null
null
UTF-8
Python
false
false
3,004
py
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function from contextlib import contextmanager from cryptography.exceptions impor...
[ "paul.l.kehrer@gmail.com" ]
paul.l.kehrer@gmail.com
0cea0f1c3ac6e721a2950a4daf4c24fc55b41ba2
4c61ba3d28ce5a096e6227332c6007ffa67bec8d
/entornovir2/bin/py.test
49139e4babd534719685e9943ea5035e271f492f
[]
no_license
Ivanson-Estrada/Pruebas
041a2eae52c00714a320aef04a1ad93e33ee6707
0c06db52a77d09befe2da6349e133f36f6b7a3f8
refs/heads/master
2020-04-27T22:39:23.013117
2019-03-14T14:26:00
2019-03-14T14:26:00
174,744,076
0
0
null
null
null
null
UTF-8
Python
false
false
249
test
#!/home/jiestrada/Documentos/python/entornovir2/bin/python3 # -*- coding: utf-8 -*- import re import sys from pytest import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jivanea1289@gmail.com" ]
jivanea1289@gmail.com
46e1ebe4f360fdf354e07a42db5e3ea3a7dd1e33
35519d7fa227257cab4265ebeae0214e25c9f4da
/webroot/handlers.py
ba02a722557c755a6eef2857c88e861563df6bf1
[]
no_license
paulashbourne/password-ninja
a74c4299fe737c7b8f1ae20ea7e37bc67d1fc888
f6b19faa0fa49df0589b8dbb1e9e5aee56879ff3
refs/heads/master
2021-01-17T10:21:25.060673
2016-05-15T22:37:21
2016-05-15T22:37:21
25,619,399
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
from base_handler import BaseHandler import tornado.web class HomePageHandler(BaseHandler): def get(self): self.render("templates/page/home.html") class ErrorPageHandler(BaseHandler): def get(self): self.set_status(404) self.render("templates/page/404.html") def post(self): ...
[ "paul.ashbourne@hotmail.com" ]
paul.ashbourne@hotmail.com
8d48d5283041505a2efe6dd502d7cefd20c39f93
6baf192a289f602407044e3b2100aeffc60e3897
/microblog.py
3d8c0872b222e8d7023fe352aaa3889b9d5f61fd
[]
no_license
HaoREN211/hao_read
798adcb0c6bdd2372b050112e76b858e3a212276
ed126ffb424f4e128be02cbc06807f1e5c863a69
refs/heads/master
2023-05-12T18:20:20.315328
2020-02-03T14:23:43
2020-02-03T14:23:43
236,145,154
0
0
null
2023-05-01T21:20:55
2020-01-25T08:38:31
JavaScript
UTF-8
Python
false
false
1,255
py
# 作者:hao.ren3 # 时间:2019/11/5 14:34 # IDE:PyCharm from flask import send_from_directory from app import create_app, db from app.models.User import User from app.models.Post import Post from os.path import join app = create_app() # 为网站添加图标 def favicon(): return send_from_directory(join(app.root_path, 'static'), ...
[ "renhaojules@163.com" ]
renhaojules@163.com
d3f26c05d3402fa44b20bfa369d5f437432ac93a
ce4a7ef82cf2146647714c7887c581bc0971f83e
/account/migrations/0001_create_sites.py
ceafd6dc51e23aae38c15ae11ea569fd78f6ee07
[]
no_license
fbenke/BeamRemit
d15d8467c17ca15a1afc10c6bc23d756e3b13f75
2b894f56e3b1711334115085b6cd9379bd5bf1aa
refs/heads/master
2021-01-10T12:12:16.289891
2014-12-05T11:36:45
2014-12-05T11:36:45
52,040,642
1
2
null
null
null
null
UTF-8
Python
false
false
1,098
py
from south.v2 import DataMigration from django.conf import settings class Migration(DataMigration): def forwards(self, orm): orm['sites.site'].objects.all().delete() site = orm['sites.site'].objects.create( id=0, domain=settings.ENV_SITE_MAPPING[settings.ENV][settings.SIT...
[ "vagrant@precise64.(none)" ]
vagrant@precise64.(none)
6e1d76664c556c46a999a1a2ef6d56809c195d52
4aec44fe50fa5c40f80c45bfb160d2fa7a98a0a9
/students/JasneetChandok/lesson01/assignment/inventory_management/market_prices.py
1e8d66dc0b3739c58fa6aa318ac1190cb8ceb635
[]
no_license
UWPCE-PythonCert-ClassRepos/220-Advanced-Summer-2019
4e51fde79921e6e75f590bef223bc1b0f118ef41
6ffd7b4ab8346076d3b6cc02ca1ebca3bf028697
refs/heads/master
2022-12-13T01:22:01.063023
2019-09-22T10:21:37
2019-09-22T10:21:37
194,944,978
4
18
null
2022-12-08T01:22:40
2019-07-02T22:51:07
HTML
UTF-8
Python
false
false
205
py
""" unsure if needed, adding here to delete later if function is never used """ def get_latest_price(item_code): """ Raise an exception to force the user to Mock its output """ return 24
[ "Jasneet.Chandok1@T-Mobile.com" ]
Jasneet.Chandok1@T-Mobile.com
6e8292163311f9d2d6a1c5cb60d88ddcffd2cf58
015383d460fa4321391d964c4f65c4d0c044dcc1
/.venv/lib/python3.7/site-packages/faker/providers/person/dk_DK/__init__.py
2b739525bda88b354c41c2ee0642b1e1f9a3a170
[ "Unlicense" ]
permissive
kobbyrythm/temperature_stories_django
8f400c8d3c8190b0e83f7bcfece930d696c4afe9
552d39f1f6f3fc1f0a2f7308a7da61bf1b9b3de3
refs/heads/main
2023-07-03T21:28:46.020709
2021-07-20T09:44:29
2021-07-20T09:44:29
468,728,039
3
0
Unlicense
2022-03-11T11:41:47
2022-03-11T11:41:46
null
UTF-8
Python
false
false
7,565
py
from .. import Provider as PersonProvider class Provider(PersonProvider): formats = ( '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}', '{{first_name_male}} {{last_name}}-{{las...
[ "b.scharlau@abdn.ac.uk" ]
b.scharlau@abdn.ac.uk
988572c80d9e6cf6004f3d7e50d86a34dc1886bc
2f84becc3f81ad6f06857bac28c039fb9a3e8318
/src/detector.py
71d86495d2a840126202a5acd6efa3d41809b726
[]
no_license
twc7c/BoloCalc
1d81c84fe253495b762e5482cfe375fc9805bf01
29c61aec71452a9eb9354afd18963105387cb6bf
refs/heads/master
2020-03-23T13:30:39.906611
2018-07-18T21:20:25
2018-07-18T21:20:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,299
py
#python Version 2.7.2 import numpy as np import parameter as pr import units as un import physics as ph class Detector: def __init__(self, log, ch, band=None): self.log = log self.ch = ch self.__ph = ph.Physics() #Store detector parameters self.bandCenter = ...
[ "chill90@berkeley.edu" ]
chill90@berkeley.edu
f851ef0313f10681efd232eefd3c37ceee4deeff
70180db1872eadc6f17f322de37fc116f3d87a22
/main/urls.py
a8c459e56b3803adf206e05b806774c3ac076361
[]
no_license
Ben-Stacey/ForumWebsite
2537dfa2a3684b2c9d81a06d0f612b349dc96688
ef1ae5a755a55a59ff357d28a00ab3f67cbefc99
refs/heads/main
2023-08-22T22:51:54.827545
2021-10-10T06:37:08
2021-10-10T06:37:08
415,459,132
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
from django.urls import path from .views import ( home, detail, posts, create_post, latest_posts, search_result,) urlpatterns = [ path("", home, name="home"), path("detail/<slug>/", detail, name="detail"), path("posts/<slug>/", posts, name="posts"), path("create_post", create_post, name="create...
[ "stabe145@student.otago.ac.nz" ]
stabe145@student.otago.ac.nz
ae2051aaf807b96415e376650a6c71109465dc19
7c43acbcacdb6480e52c84461a748ec874d8b3b9
/process_task.py
d623dd2aaf95b0235dc319ab911d46d63da11c30
[]
no_license
shibaby/python-practice
9f7822d09aaf7d560f291617ada511fce68c691d
0afeca08bbb2994f017d3269a7eb706de3b65864
refs/heads/master
2020-04-14T20:05:18.721101
2019-01-04T08:59:47
2019-01-04T09:00:18
164,081,880
1
0
null
null
null
null
UTF-8
Python
false
false
678
py
from multiprocessing import Process, Pool import os def task(name): print('\tSon process 【%s】 is running , pid: %s, parent_pid: %s' % (name, os.getpid(), os.getppid())) if __name__ == '__main__': sun_process = Process(target = task, args = ('子线程1',)) print('\nSTART') sun_process.start() sun_proces...
[ "shibaobao@togeek.cn" ]
shibaobao@togeek.cn
c7202c737a06f7e6f16da491a2496bf9aa61784b
c0a35f7851677d4a093425392c771bbd97571862
/PythonCoding/Networking/socketTest.py
86f6ce0571ef2145fc3ef8682ea81707d049439c
[]
no_license
LaurentiuGhita/PythonBasics
5c97fad83cee8ff9d66aec792b0e33e8127b7e28
372febe28ef5acd2315c9c8a28e472c5f9ce5e97
refs/heads/master
2021-01-02T08:23:28.210637
2017-08-01T12:41:47
2017-08-01T12:41:47
98,999,929
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
#!/usr/bin/env python from socket import * tcpSock = socket(AF_INET, SOCK_STREAM) udpSock = socket(AF_INET, SOCK_DGRAM) address = ("", 7074) tcpSock.bind(address) tcpSock.listen(5) while True: print "doing shit"
[ "laur0791@gmail.com" ]
laur0791@gmail.com
f3a1d330c172572513c77f2df7e547c2b2eee1b7
dd78f828235d371363fb3ae00bf154186b9e2483
/src/services/smtp.py
1b4db01f13ddfd9edfd6368585798277ef7c4610
[]
no_license
wengyingjian/rjohn
d76095c6f612f3eb0332866b379b272530fa67b9
1afb26ec87f0412a0bd9b2abc0d602c4279c6324
refs/heads/master
2021-01-15T12:36:47.962888
2011-01-11T20:05:05
2011-01-11T20:05:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,572
py
# -*- coding: utf-8 -*- """ Moduł obsługujący protokuł SMTP. Protokół ten jest dokładnie opisany w dokumencie RFC 5321. """ import socket import time import re import base64 from services.service import ServiceException from optparse import OptionGroup class SmtpServiceException(ServiceException): """Klasa błę...
[ "marcin_niemiec@wp.pl" ]
marcin_niemiec@wp.pl
4f36cb2a52bc750cf728f622b4d832bbc4cfdf9b
70cc96b55c202245691463ee59e42e9801cde858
/python/rtypes/types/subset.py
5638f2520dcf59172857df76e81b5dcdca8f347a
[]
no_license
rezafuru/spacetime
ad1da33fbcf9c358cf1b379507f0178155354f92
3b4b58775d41c75f103278c5e1553e5b36542d72
refs/heads/master
2023-03-08T09:01:48.286203
2019-10-14T18:07:15
2019-10-14T18:07:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from rtypes.attributes import PredicateFunction from rtypes.metadata import SubsetMetadata from rtypes.utils.enums import Rtype def set_metadata(cls, parent): cls.__r_table__ = parent.__r_table__ pred_func = None for attr in dir(cls): if isinstance(getattr(cls, attr), PredicateFunction): ...
[ "ra.rohan@gmail.com" ]
ra.rohan@gmail.com
419c161c4e5b3c6a558f874dd50f989314e60ed4
174aa263439aebc6b16742dc8ab9176fbe61bc46
/nscwebsite/nscwebsite/settings.py
ba00d68129a0b115d0bab19843bd308a38642585
[]
no_license
superhuluobo/nscwebsite
4343cdb57703e803e6beb2d44254769e477174a1
8102231a31344ef77bf1ab0f8a2358fc10783d5d
refs/heads/master
2020-04-06T03:32:38.253687
2014-02-23T12:34:45
2014-02-23T12:34:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,982
py
""" Django settings for nscwebsite project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...)...
[ "yuhangchaney@gmail.com" ]
yuhangchaney@gmail.com
4e1571e1afaf0697266eb671523310bb3e8a1fc6
e14f7957195af2cadbf9b5102b9dfc7b62251cf5
/peakAnalyzer/ChIPseqPipeline/peakAnnotation/summarize.py
a1bcd7a333a0f4f9cd4b2a13afdd8d25eb693766
[]
no_license
zzz2010/basespace-ui
f8fcfe830de93f5ce31bf3d774a8c881a0048e80
663bb7607354465960fc8d1335275b5c7002a04d
refs/heads/master
2021-01-10T20:26:26.757006
2014-03-18T02:50:12
2014-03-18T02:50:12
32,113,315
1
1
null
null
null
null
UTF-8
Python
false
false
858
py
import os,glob, subprocess, re, zipfile, sys toolpath=sys.path[0] libname=sys.argv[1] genome=sys.argv[2] outdir=sys.argv[3] #file1=glob.glob(outdir+"/*.distal-promoter.txt")[0] #libname=os.path.basename(file1).replace(".distal-promoter.txt","") keyOrderL = ['distal promoter', 'promoter', 'exon', 'intron', '3-prime',...
[ "sokemay@gmail.com@577905fa-eddf-4c08-6cf0-cfcde33cab17" ]
sokemay@gmail.com@577905fa-eddf-4c08-6cf0-cfcde33cab17
996dc4c02f267217fc4556b8d7b598f7641be08b
385ccf274c97c8d4800d15a67f6794eefb3a8bd8
/form_widgets.py
5593504d311ce70068fbee73326590e5e7fc04d9
[ "MIT" ]
permissive
chucktilbury/Accounting-TK
8db17c385489795d72619e6ae3ab79f8f3cfbf68
d0206f07d44e27eb08ecc5c59442604e0bddc3a3
refs/heads/master
2022-11-28T21:17:46.708686
2020-08-17T05:25:48
2020-08-17T05:25:48
237,833,694
0
0
null
null
null
null
UTF-8
Python
false
false
15,536
py
import tkinter as tk from tkinter import ttk from utility import Logger, debugger from database import Database from events import EventHandler class Header(tk.Frame): ''' Create the title of the form. ''' def __init__(self, master, name): super().__init__(master) tk.Label(self, text=...
[ "chucktilbury@gmail.com" ]
chucktilbury@gmail.com
8b293c748c1a4bb7a3af3a73bf8a68eb8fd371e4
55e9286535ddfbe8e57d3342906d2a28058856b3
/Assignment2/main.py
9d26b33a19d134e67582521e1a6163969b6cf6cd
[]
no_license
MacaronCheese/CE434.L21-Group-8
209532bef14ab5e17c64b870594b42f5eda86dfe
38e7da959a2520cbb02bf2a686d1770268245b17
refs/heads/main
2023-03-30T07:13:05.847198
2021-03-29T14:37:38
2021-03-29T14:37:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
import cv2 import numpy as np import os import glob import tqdm def get_path(name): return os.path.join(os.path.dirname(__file__), name) def write_rgb(path, height, width, frame_bgr): with open(path, 'w') as fout: for row in range(height): for col in range(width): val = ...
[ "noreply@github.com" ]
noreply@github.com
929c29dae485a9fb992e743c8ea53348c6835bc4
69252654e36c2cb095b7400eedadf6027d7f315a
/CarRental/wsgi.py
0eb2c3bb6f739e6eb3c512f9214758987550dd76
[]
no_license
Abdeali26/Car-Rental
35502cfaeba70ea8aa9f8732a1d2ed4f2946e063
f2e65567fb7b9714c5e3cc3ad296e7417a6e8991
refs/heads/master
2020-03-07T16:20:33.392617
2018-03-31T23:31:02
2018-03-31T23:31:02
127,579,430
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
""" WSGI config for deritrade project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "abdeali.patanwala26@gmail.com" ]
abdeali.patanwala26@gmail.com