blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
1685d2a9cf7e5dc726fffb430a61ba17869e53f8
4cce3b466591f7f8b9d58c1f8cae4dd0b6425b09
/classes dealing.py
09e2606008d31426022cdef988fb9cec1726491e
[]
no_license
adityamangal1/hackerRank-solutions
4e5fc66785215688449f58176b0260e05fb0c404
102ee32f5984240939bf14e799a458d99388774b
refs/heads/master
2023-04-18T15:35:36.998087
2021-04-22T07:16:38
2021-04-22T07:16:38
297,935,486
13
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
import math class Complex(object): def __init__(self, real, imaginary): self.real = real self.imaginary = imaginary def __add__(self, no): complex_n = complex(self.real, self.imaginary) + \ complex(no.real, no.imaginary) return Complex(complex_n.real, complex_n.ima...
[ "adityamangal0202@gmail.com" ]
adityamangal0202@gmail.com
fe247491ad250b60cfc470e63187bc32eacfeb9c
8ed215ee731bc8c55eabdc66ee028a43771510bc
/tasks/nooisee/flask/ids_and_flags.py
ab033ca249b1daac30bde9c7af9c03d3eb3c21b4
[ "MIT" ]
permissive
irdkwmnsb/lkshl-ctf
c6c0b0ae58653d3d7c427073221043d2adea212c
e5c0200ddc8ba73df5f321b87b9763fb1bbaba57
refs/heads/master
2020-03-23T22:22:23.499985
2019-02-22T13:29:51
2019-02-22T13:29:51
142,172,055
3
0
null
null
null
null
UTF-8
Python
false
false
10,415
py
ids = ['i2yctSSMGde1TjBIor4T', 'DZrIgOypvPqMctJS06O9', 'lH4uWfzCg1kFeULgUIVC', 'N9mUMmG8maidbCD0s4mV', 'PuqvlpXgaa5s42mZKE4j', 'CoRVyJtEoNE87xUoRqw0', '8uKC7RXAOBlOXdP7KVGl', '2cVvsSZY3QLRmoAYRFkL', '22enKTGqQwxga5RFQdus', 'Sw1vkSnYDQdEtOjTnfH0', 'S7mUlJwhAJhCFgxCOoAW', 'JkTjzY6JUEgo9G7tHciV', 'xn8irINr3sDQLIAb2CkI', '...
[ "supermax74.02@gmail.com" ]
supermax74.02@gmail.com
ce505ca0ceaa5e400375f9fc5ee87089d635e977
325fde42058b2b82f8a4020048ff910cfdf737d7
/src/databox/azext_databox/vendored_sdks/databox/__init__.py
1c85885ae27c33da1710d57cd105b2ea74f26605
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ebencarek/azure-cli-extensions
46b0d18fe536fe5884b00d7ffa30f54c7d6887d1
42491b284e38f8853712a5af01836f83b04a1aa8
refs/heads/master
2023-04-12T00:28:44.828652
2021-03-30T22:34:13
2021-03-30T22:34:13
261,621,934
2
5
MIT
2020-10-09T18:21:52
2020-05-06T01:25:58
Python
UTF-8
Python
false
false
736
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
ebencarek.noreply@github.com
517e4b682e6b12974385b9c23201af4bebefd1d0
5679731cee36c537615d285ed72810f4c6b17380
/513_FindBottomLeftTreeValue.py
0de079fbf90fd9385df6647f65a7e451a7aa108a
[]
no_license
manofmountain/LeetCode
6b76105190a9b62df65a7b56b6def4120498b9fa
718f688b3d316e8c10ef680d9c21ecd518d062f8
refs/heads/master
2021-01-12T03:41:48.318116
2017-07-18T12:35:58
2017-07-18T12:35:58
78,252,164
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
# 40.9% # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None #from collections import deque class Solution(object): def findBottomLeftValue(self, root): """ :type root: Tre...
[ "noreply@github.com" ]
manofmountain.noreply@github.com
3aaa08aa641d60b7ce03f8acbd64dbadb472d81d
b4b694e71464532dd19ab72b9f7a1a599c3a4e89
/multimodal/average_predictions.py
118b50d064f64188c77210a4019f6cda5d9e9152
[]
no_license
omg-challenge-alpha/omg_challenge2018_submission_code
e12e1ae224c610af35747f5e5a1c305691795896
c16f7480efee3fb14579f01d2be9a9313b1a01b2
refs/heads/master
2020-04-10T05:59:22.430998
2019-01-28T11:31:10
2019-01-28T11:31:10
160,842,897
1
1
null
null
null
null
UTF-8
Python
false
false
5,487
py
import pandas as pd import numpy as np from scipy.signal import butter, lfilter, freqz from scipy.stats import pearsonr from matplotlib import pyplot as plt def ccc(y_true, y_pred): true_mean = np.mean(y_true) pred_mean = np.mean(y_pred) rho,_ = pearsonr(y_pred,y_true) std_predictions = np.std(y_pre...
[ "noreply@github.com" ]
omg-challenge-alpha.noreply@github.com
7790d6343f88dbb56c1797fe913f7c904cd7e3ac
bf5081d59b21af6b622df1d4cc39a1dd9eec18ce
/testchild.py
d7674eb5731d2f3b721ec9e6721e9aff9caa433d
[]
no_license
vc8885/test-repo
3622d830080c98fb70a89ab36376516a4d1c8c93
d1da6f19c49cc20118fc15d7968d8fa722f64e13
refs/heads/master
2022-12-15T02:55:19.299570
2020-08-31T19:55:43
2020-08-31T19:55:43
291,808,317
0
0
null
2020-08-31T19:55:44
2020-08-31T19:39:53
Python
UTF-8
Python
false
false
63
py
#adding a file in child branch print('this is a child branch')
[ "noreply@github.com" ]
vc8885.noreply@github.com
91e49750928e22ddb674fc23c07aa8d6808eb4d3
b21b7e9da588abfdb6e0ba4c42fc73270124b19e
/01-Qualification/02-Nesting_Depth/solution.py
746e13d50f3615f823b2cb08a6dc8790b71ba3f2
[]
no_license
luispmenezes/Google-Code-Jam-2020
442fc148afc887443807c949a2d76105e7f8a493
655ea66dbf36dbb93e2046d8daf60df5c3b9096b
refs/heads/master
2022-04-10T06:22:46.210862
2020-04-05T11:28:16
2020-04-05T11:28:16
252,834,069
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
def main(): t = int(input()) for t_idx in range(1, t + 1): s = input() new_s = "" current_depth = 0 for n in s: new_depth = int(n) if new_depth > current_depth: new_s += "(" * (new_depth - current_depth) elif new_depth < curre...
[ "lspmenezes@gmail.com" ]
lspmenezes@gmail.com
969d308cce5315153f4c62b2ab6b833571aed1c2
dbb3dfcf57d4a57045f6936da82f7b4ace6221de
/collate.py
d9f5253185d3f4f3ea1850215b7eff393d7ac81a
[ "MIT" ]
permissive
geoquant/JSON-QAnon
d536b52999a8e553d2e89f3ec1cd820e06b70bd8
2cd3f0ef311cefeaf74fa1641fbeff6b163ed85a
refs/heads/main
2023-03-18T17:35:54.539852
2021-03-05T06:17:44
2021-03-05T06:17:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,413
py
#!/usr/bin/env python3 import copy import json import os import re from bs4 import BeautifulSoup # location of 1.htm, 2.htm, etc. PAGES_DIRECTORY = 'qposts.online/page' # when False, trim stray whitepaces from links in posts+refs; see explanation in clean_up_raw_text() KEEP_ORIGINAL_WHITESPACE = False def extract...
[ "jack.kingsman@gmail.com" ]
jack.kingsman@gmail.com
c630a294ad77a90e993584e4fabc30126993f236
f1dc6a4c37dad17d32a379d94748bfe97d7b2784
/Course 1/Week 4/kargerMinCut.py
8625cf2054f7ca1ed8b68dee4b0ee76e0c7a496b
[]
no_license
chrism216/Coursera_Stanford_Algorithms
4cf6248ffa57c8982dc2601819f71e89e8afa8ba
3ec4eb5587818f0945dc9d1533415a527f90e8ce
refs/heads/master
2020-03-26T04:32:35.128080
2018-10-23T21:51:03
2018-10-23T21:51:03
144,508,746
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
from random import choice from math import log from copy import deepcopy def merge_vertex(adj): vertex1 = choice(list(adj)) vertex2 = choice(adj[vertex1]) vertex2_items = adj.pop(vertex2) # Add edges from deleted vertex2 to vertex1 adj[vertex1] += vertex2_items # Update edges that pointe...
[ "chris_m216@hotmail.com" ]
chris_m216@hotmail.com
540a90e5ada5365bcdd02cc93f075cf3bbcc7940
aba9b00edec394f1389a7ecf88a290112303414d
/semestr_8/analiza_obrazu/projekt/image_anal.py
27ef23203928b6d0aa4647a3b8b98e00f6ab0559
[]
no_license
torgiren/szkola
2aca12807f0030f8e2ae2dfcb808bf7cae5e2e27
5ed18bed273ab25b8e52a488e28af239b8beb89c
refs/heads/master
2020-12-25T18:18:36.317496
2014-04-27T23:43:21
2014-04-27T23:43:21
3,892,030
1
1
null
null
null
null
UTF-8
Python
false
false
33,859
py
#*-* coding: utf8 *-* """Moduł zawierający klasy używane do przetwarzania obrazu""" import numpy as np from scipy import misc import itertools from pprint import pprint from glob import glob import os class NoImageError(Exception): """Wyjątek sygnalizujący próbę operowania na niewczytanym obrazie""" pass cla...
[ "torgiren@gmail.com" ]
torgiren@gmail.com
c44632df47cf5fe63c486976a302b203e61fa980
fc73adeb9998c3f144bc19d0f32bfa2e08ffe53f
/GBP FX HTML Email- generic.py
a291eaa316e85b9f8a078154677fcd76822df0bd
[]
no_license
llattan/Portfolio-Projects
58e5dacc1172ab086ab74c7df93ea5065e984660
271067cc25af205a55f31b138a1a66e13a823a61
refs/heads/master
2022-11-14T20:37:10.295087
2020-06-21T17:32:24
2020-06-21T17:32:24
267,049,876
0
0
null
2020-05-26T13:49:49
2020-05-26T13:26:50
null
UTF-8
Python
false
false
4,989
py
from urllib.request import urlopen from bs4 import BeautifulSoup import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart #from email.mime.base import MIMEBase from email.mime.image import MIMEImage import time import requests import csv #from email import encoders url="http...
[ "noreply@github.com" ]
llattan.noreply@github.com
ee5d2188e09cde889cc9c6b2cb128b64c151072c
4b221a07d4d13b5ee42ca094e086d4a7dbd6e560
/Deploy/plantilla.py
e98e662d79bba8a2c91282089741681b53835b6b
[]
no_license
Puppy-runner/web-app
95e90f5850b932c622e0d6733a1a76194b167bb8
892cf634d58dc6a4ac3b3e3530d1bf222274b201
refs/heads/master
2021-01-01T04:00:39.289205
2016-05-16T05:31:23
2016-05-16T05:31:23
58,324,058
0
0
null
2016-10-19T02:56:50
2016-05-08T17:52:33
Python
UTF-8
Python
false
false
187
py
from flask import Flask, render_template app = Flask(__name__) @app.route('/') def info_template(): return render_template('index.html') if __name__ == '__main__': app.run()
[ "kazevtrinid@gmail.com" ]
kazevtrinid@gmail.com
41127de8fe849b6f4a3d581b297a921093e0711c
8246307d867c7c60157c8e967d15ac1c920f7c5b
/Python/count_letter.py
56479b1b7350bc7886ebc50e86b577b8e1460484
[]
no_license
pratyushmp/code_opensource_2020
abe4aabaa8984cf9eb020604b401ab7ae80e8370
2302a6dfa651aaaca8b71786ca526864a60b800d
refs/heads/master
2023-06-24T07:48:13.339825
2020-11-17T04:31:13
2020-11-17T04:31:13
215,303,780
8
156
null
2023-06-16T06:05:47
2019-10-15T13:18:42
Java
UTF-8
Python
false
false
662
py
def count_letters(text): result = {} # Go through each letter in the text count = 0 for letter in text.lower(): # Check if the letter needs to be counted or not if letter.isalpha(): if letter not in result: result[letter]=0 result[letter]+=1 # Add or increment the value in the ...
[ "gouravrawat255@gmail.com" ]
gouravrawat255@gmail.com
7d3e2f8fb51b8a57e36c7a414828eb752c9632b7
a1f0c923cb50ed7bcf6443614277cb2197619d36
/controller.py
caf1a2bc5daaa57a9b4081dd96c9c4890bfd170f
[]
no_license
michaelelcock/assignment001
5d43a45cdc320a2f949e7ef52575a7c535464198
d2b358897dd673a1562f27113788e06e05e1a36f
refs/heads/master
2020-04-17T15:16:29.224890
2016-08-28T10:33:59
2016-08-28T10:33:59
66,617,037
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
class Controller(object): @abstractmethod def get_pack_name(self): pass @abstractmethod def scrape_data(self, args): pass @abstractmethod def show_data(self, data): pass @abstractmethod def pickle_data(self, data): pass
[ "michaelelcock@hotmail.com" ]
michaelelcock@hotmail.com
1778146de13d49f780aa4ee3134a372e96fa308a
f008fe1057b00d19d7812e0373669763c9992f42
/python/hpatches_eval.py
ebac75261c116cac7ddb183ec31547f7388ef833
[ "BSD-2-Clause" ]
permissive
baiyancheng20/hpatches-benchmark
68a265f5e23f7ceabce06635818b8c6a73c3e578
23c3a6dcf92bff7bda492363908cbc52b2533472
refs/heads/master
2021-01-20T00:52:08.069991
2017-04-22T19:02:21
2017-04-22T19:02:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,678
py
"""Evaluation code for the HPatches homography patches dataset. Usage: hpatches_eval.py (-h | --help) hpatches_eval.py --version hpatches_eval.py --descr-name=<> --task=<>... [--descr-dir=<>] [--split=<>] [--dist=<>] [--delimiter=<>] [--pcapl=<>] Options: -h --help Show this screen. --version S...
[ "v.balntas@imperial.ac.uk" ]
v.balntas@imperial.ac.uk
7df30939d83206061d734e50cdbc9ecdaa973fbb
a35840ee0c867fd7d2fa3ac84a8681ea20ace507
/2022/python/day1.py
be5794cd8d551f3e568ea57239a4edd1a3e6eef2
[]
no_license
javiermolinar/AdventOfCode
8b82284b17bff4d7b5f9cd4b836a2708f46799c5
9f45eb27cdf5fcf3787d6dd00b64336c1a6d4ba4
refs/heads/master
2022-12-26T14:48:38.296963
2022-12-12T08:26:40
2022-12-12T08:26:40
160,176,927
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
from utils import read_lines def get_calories(): calory = 0 for calory_count in read_lines(1): if calory_count == "\n": yield calory calory = 0 else: calory += int(calory_count) def day1_1(): "Find the biggest sum of calories" return max(get_calori...
[ "javiermolinar@live.com" ]
javiermolinar@live.com
b2bffebe0d3afd8e30834ea253f25b0301693c7e
61e9212b05b65d555e48328f66e50a3a91ababc3
/CycleGAN/split_data.py
8b8724d7fe495c88cea34a370db663c4f3dbfadc
[]
no_license
davidwajngot/CT-image-enhancement
eb31ee4d6c6fb038f8a452234b0a86267e5f2ccd
9ac385dc2eb95de11cefe28b53f749b3b81a08d8
refs/heads/master
2023-03-04T12:06:45.108643
2019-01-22T16:37:08
2019-01-22T16:37:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
import random import os from shutil import copyfile #print (os.getcwd()) #FROM_PATH = 'datasets/R/trainA' #TO_PATH = 'datasets/R/testA' #FROM_PATH = 'datasets/Quality/mostA' #TO_PATH = 'datasets/Quality/testA' FROM_PATH = 'C:/Users/davwa/Desktop/Observer Test/A14-A20 (test)' #FROM_PATH = 'C:/Users/davwa/Desktop/Observ...
[ "davwa@cmiv.local" ]
davwa@cmiv.local
9b403cc28a2704821212b20a387d129532f18987
e6a3f71ef4963eda799f449be226ad6e2a2cbb55
/wemarry/wemarry/wsgi.py
d32512602114a3bd86b31bdff792a1da9b9871a1
[]
no_license
iameeo/wemarry.pythonanywhere.com
b2556f3c7ceef87ae190f41c1f7cc94f6b9753e3
832f19fe0786459e2320f742c19fe6c28c0c4063
refs/heads/master
2023-02-08T23:00:51.125461
2021-01-04T14:28:42
2021-01-04T14:28:42
208,023,836
1
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for wemarry 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "joowon1028@gmail.com" ]
joowon1028@gmail.com
6e6b1da786d00ec3a90e3ce7a86f766394891fb3
aa8356ddad5a92ac30dd5d68987725d81df093cc
/configs/retinanet_r50_416_fpn_1x_DIOR_cocosty.py
27f2c1049c96435f71a2116b4af17394987eaa8e
[]
no_license
TangYuangao/Hello-_-word
92b4632cab6c23ffb5d52daee86d5ab3db63dfad
5f04f12387491d39e601c1707c23b142836e48da
refs/heads/master
2023-08-30T15:47:10.146969
2023-08-07T14:52:14
2023-08-07T14:52:14
287,425,765
0
0
null
null
null
null
UTF-8
Python
false
false
4,735
py
_base_ = [ '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] # model settings model = dict( type='RetinaNet', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(t...
[ "noreply@github.com" ]
TangYuangao.noreply@github.com
96dc9ae441e5fcda790e882d873f43dd970a3421
8318644cd5b2c26ea080975b7a12926f04bdb0d8
/ybsong55/app.py
2d5055c766baf97acc7f30d427ab0d733df333f8
[]
no_license
kimhokyoung94/team6
c7784c13650a512b58e68c24dde054f44f606bda
c896aadc129b864482db7474179528611145e624
refs/heads/master
2022-11-25T14:16:40.616928
2020-08-05T07:40:43
2020-08-05T07:40:43
285,166,723
0
0
null
null
null
null
UTF-8
Python
false
false
5,346
py
from flask import Flask ,render_template , flash , redirect , url_for, session, request, logging from functools import wraps import pymysql from passlib.hash import pbkdf2_sha256 from bs4 import BeautifulSoup app = Flask(__name__) app.debug=True db = pymysql.connect(host='localhost', port=33...
[ "ghrud24020@naver,com" ]
ghrud24020@naver,com
bd3f176a008a20a6e7855e996b871cf2c1445cbd
5d0c93c0d8678357e5f657a54ed596a757e179a1
/TubesScrap_1914311050_pg/TubesScrap_1914311050_pg/middlewares.py
e35fd969ab24db6c52de3ec7790ffef50707b9ea
[]
no_license
ubaidillah219/Tugas-Besar-Scrapy-NIM-Pagi-Ubhara-Surabaya
45679474b098010785ddad32bdf1ac421a2c2fb3
5ff48ffc0a2350fc85b96d2e3dd67af1f5d6c298
refs/heads/main
2023-05-11T09:56:07.677568
2021-05-28T12:57:17
2021-05-28T12:57:17
371,698,075
0
0
null
null
null
null
UTF-8
Python
false
false
3,680
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class Tubesscrap1914311050PgSpide...
[ "noreply@github.com" ]
ubaidillah219.noreply@github.com
7c0c42ad12b2c2286ad2646113febc7ab5cc2773
77a9250b7287d1d23ba3b6c4a6171cc3cdae8362
/jieying_he_task2.py
9bfac71e9124a880744606fbb296a9c4f28245ae
[]
no_license
ElvaHe/LSH-Recommendation-System
e59c79bc959d454e35694c42ca493f699e45f80e
d4f759c3325f1fc6a19113797853555f75c9859c
refs/heads/master
2022-04-10T21:14:57.449206
2020-04-04T06:55:17
2020-04-04T06:55:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,974
py
from pyspark.mllib.recommendation import ALS, MatrixFactorizationModel, Rating from pyspark import SparkConf, SparkContext import time import csv import collections import random import sys start = time.time() if __name__ == "__main__": train_file_path = sys.argv[1] test_file_path = sys.argv[2] case_id = i...
[ "jieyingh@usc.edu" ]
jieyingh@usc.edu
057b579c0756afea2706e055a5f783c34be7b264
d411a921dd53af6531520ca5d74ea1f9ec6bbed7
/src/python/live/buySymbol.py
7e6de90c54c49ca0a3bc77ebae66c0af2431e5a3
[]
no_license
fxmag/trading-bot
628205d912f381fb16f6ab8d4fd85c3dd734ed94
714f3bfaa9c615e4eddd25870355f4589b5ca2ca
refs/heads/master
2022-12-09T02:36:53.326497
2020-09-15T19:37:28
2020-09-15T19:37:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,355
py
import time import MetaTrader5 as mt5 # display data on the MetaTrader 5 package print("MetaTrader5 package author: ", mt5.__author__) print("MetaTrader5 package version: ", mt5.__version__) # establish connection to the MetaTrader 5 terminal if not mt5.initialize(): print("initialize() failed, error code =",mt...
[ "fontelucas@yahoo.com.br" ]
fontelucas@yahoo.com.br
1aadf32219df1a0f837c2565c18f3ee4644543aa
da4f58a4a839301385816c9b31aee12fda478587
/3/dsa/heaps/minheap.py
4ef194e9f6e759716f4fc0ac01d34908c2505d06
[]
no_license
san39320/lab
047f0531ab6496391aedf274a4f7710c7c0b2d31
69867bb36db15c23f2ca2cd6514a0de432acbaff
refs/heads/master
2021-05-14T08:05:30.047940
2019-10-21T08:39:56
2019-10-21T08:39:56
116,284,508
0
1
null
2019-10-21T08:38:37
2018-01-04T16:49:37
C
UTF-8
Python
false
false
1,813
py
class maxheap: def __init__(self): self.a = [None] * 50 self.count = 0 ### heapify def arrayheap(self,a): for i in range(0, len(a)): self.a[i + 1] = a[i] self.count = len(a) for i in range(int(self.count / 2), 0, -1): self.heapify(i) de...
[ "sanjayshetty2015@gmail.com" ]
sanjayshetty2015@gmail.com
c0b8870b43e999588ed4befc1e107dd7815911b0
5df035428c001027c15b0ae3d441ad81587101df
/libs/eyed3/utils/console.py
7f847e12c1b4a21f8788712d50532bff4854e821
[]
no_license
bbaldino/BGMM
256a32c07cce2aa7fdf66f8905ced6c37597fe59
c6694cfe988eecda3f308b3c2e505885ff1f9357
refs/heads/master
2021-01-10T19:55:49.119557
2015-12-06T23:32:05
2015-12-06T23:32:05
9,126,500
0
0
null
null
null
null
UTF-8
Python
false
false
17,126
py
# -*- coding: utf-8 -*- ################################################################################ # Copyright (C) 2013 Travis Shirk <travis@pobox.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free So...
[ "bbaldino@gmail.com" ]
bbaldino@gmail.com
aded8e6f34c43d6a0acd9789f1172361e389c74e
9bef44307cf379a005f695ca65fd4cef2f6d2dda
/unsorted/make_symm_axes.py
6bbf0b19f014ca27cfbca841dd13a0dbfa873952
[]
no_license
willsheffler/lib
a2e691cd1bccfc89989b161820616b57f9097c4d
b3e2781468a8fc25528a9f03c31e45af1cddd75a
refs/heads/master
2020-03-30T04:11:51.663557
2013-05-26T03:53:40
2013-05-26T03:53:40
1,439,853
1
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import sys,os,math def sub(X,Y): return X[0]-Y[0], X[1]-Y[1], X[2]-Y[2] def cross(X,Y): return X[1]*Y[2]-X[2]*Y[1], X[2]*Y[0]-X[0]*Y[2], X[0]*Y[1]-X[1]*Y[0] def norm(X): s = math.sqrt(X[0]*X[0]+X[1]*X[1]+X[2]*X[2]) return X[0]/s,X[1]/s,X[2]/s a = None b = None c = None for l in ...
[ "will@sheffler.me" ]
will@sheffler.me
843d7839c9bb41dd49d27d923e3380fa9ccc816a
2e7430a6d54a78e47ba6bf30ad327337e1bc9d1c
/calendrier_perpetuel.py
3f4dc7f7873f8eb2b2282ce8a2b4f61706a7572c
[]
no_license
Saihttamu/calendrier-python
a884693ce755a6700081729655def6127dfde017
e114c27973d419998e761835f5c7388fc95af975
refs/heads/master
2021-05-24T14:10:02.239151
2020-04-07T23:21:40
2020-04-07T23:21:40
253,599,217
0
0
null
null
null
null
UTF-8
Python
false
false
2,391
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 29 14:48:16 2014 @author: Matthias """ def date(j,m,a): J,M,A=23,2,2013 # jour: samedi ka=0 # écart d'années km=0 # écart de mois for i in range(abs(a-A)): # pour chaque année on compte 365 ou 366 jours if (min(a,A)+i)%4==0 and (min(a,A)+i)%1...
[ "61355238+Saihttamu@users.noreply.github.com" ]
61355238+Saihttamu@users.noreply.github.com
702ca7b7a24ac98f70eb188c97ab812a717001c7
11b9d0e2d99d135366d942e0b8577eec6835bb6e
/Screens.spec
2ae3876072632550acac2ab7b9dcd6cc73f7e4fd
[]
no_license
rhendre/TheOtherSide
ba110a82b9524c8c67678bfff8726435471fe7c9
41f06bc77aed2c4ea46635a4703e628883fe1e37
refs/heads/master
2021-04-05T16:20:48.540568
2020-04-18T13:56:13
2020-04-18T13:56:13
248,576,837
0
0
null
2020-03-19T18:30:39
2020-03-19T18:30:38
null
UTF-8
Python
false
false
996
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['C:\\Users\\rhendre\\PycharmProjects\\TheOtherSide\\Editor\\Screens.py'], pathex=['C:\\Users\\rhendre\\PycharmProjects\\TheOtherSide'], binaries=[], datas=[ ('src/README.txt', '.') ], ...
[ "noreply@github.com" ]
rhendre.noreply@github.com
4e0fe6547a110182f76e9ab8ad0eb89cb972a754
e9ffc75f2de77f76bcd10c28195e7b8dcc01db4b
/config/settings/test.py
95f766b07155f793e1fc376098106f9cf3549397
[ "MIT" ]
permissive
Parkyes90/pystagram
c2d4b9e38a2065e5d1a8cb4eaa330640efe60a4e
54a497f4acb70eb4d4288816d9ae460ec5722640
refs/heads/master
2023-08-04T06:20:40.536836
2023-07-27T10:12:01
2023-07-27T10:12:01
133,020,662
0
0
MIT
2023-07-27T10:12:02
2018-05-11T09:38:24
JavaScript
UTF-8
Python
false
false
2,024
py
""" With these settings, tests run faster. """ from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#debug DEBUG = False # https://docs.djangoproject.com/en/dev/ref/settings/#se...
[ "parkyes90@gmail.com" ]
parkyes90@gmail.com
96988ea396c1c27e0da004f7c40133aa1825de51
42c2100d878476e5636080398bfdc09943e298f4
/GET_Request/CreatingNewResource.py
be5c4141151525b47dd46cccc77f603e18b3b16d
[]
no_license
Nbash001/Automated_API_Test_Sample
1c870b80315594948085839c90b09e47dd180952
2f11aab29ab39bcac0eb92c15e014afe22e1ad22
refs/heads/master
2022-11-16T20:34:34.431591
2020-06-28T15:46:45
2020-06-28T15:46:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
import requests import json import jsonpath #API URL url = "https://reqres.in/api/users" #Read input json file file = open('/Users/Naveed/Downloads/TestFiles/postreq.json', 'r') #below will read it, but look like a string json_input = file.read() #parse the file into json format request_json = json.loads(json_input)...
[ "naveed.bashir001@gmail.com" ]
naveed.bashir001@gmail.com
ae3a9d742c5911496407a7502d31c30106ef2b0a
7e5a50d6959ac6ec422ec95e6fb1f56fa7cdc93e
/mysite/settings.py
9f421993da90ccffae98da6916ce8629a1b5c802
[]
no_license
surmok/my-first-blog
d850b684b2bb4e3a8ba96e6737f629891e81d1f0
e4ff5a0b0c2bd9a16b9df845db10efd3700f3dd1
refs/heads/master
2021-01-25T11:39:57.204336
2017-06-10T15:41:52
2017-06-10T15:41:52
93,939,678
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.10.7. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "kata.suranyi@gmail.com" ]
kata.suranyi@gmail.com
a6801fd0c116eef78700629bacc8ba15f81a8b43
33f0f22e6449d24dbdb314e2912b6ffad7954ddc
/multiprocessing/maml_rl/samplers/multi_task_sampler.py
f89b9b44f4ed770a4750c0a8e931aef906ddd6f8
[ "MIT" ]
permissive
imhgchoi/MAML-RL
55d3d9489c5b58c4f656755f13bad2a4d10bf5df
b90e6fa75b5c320b98b58cf0242fd55b47128dc6
refs/heads/master
2023-02-20T23:57:21.946406
2021-01-14T12:49:51
2021-01-14T12:49:51
313,572,570
6
0
null
null
null
null
UTF-8
Python
false
false
12,789
py
import torch import torch.multiprocessing as mp import asyncio import threading import time import pdb from datetime import datetime, timezone from copy import deepcopy from maml_rl.samplers.sampler import Sampler, make_env from maml_rl.envs.utils.sync_vector_env import SyncVectorEnv from maml_rl.episode import Batch...
[ "imhgchoi@korea.ac.kr" ]
imhgchoi@korea.ac.kr
04b96bb0dd34247639feafded878d9b8e975dada
b4829fd1b79f7a2563a7167bf132f93f1c00fb76
/publish.py
1be770e7681835beadc0d47af1c3e0bee8dd2eb7
[]
no_license
stakodiak/sbs
0be6d1b8367c31b3dfe92e527d9c072adc278583
3272214081715da1a63209ded5c3bc2b732ccfef
refs/heads/master
2016-08-09T05:29:04.618844
2016-01-25T02:18:12
2016-01-25T02:18:12
50,318,700
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
#!/usr/bin/python import os import re import sys # Make sure user has S3 credentials. AWS_ACCESS_KEY = os.environ.get('S3_ACCESS_KEY') AWS_SECRET_KEY = os.environ.get('S3_SECRET_KEY') if not (AWS_SECRET_KEY and AWS_ACCESS_KEY): raise Exception("Could not find AWS credentials.") # Create directory if it doesn't ...
[ "astac1@umbc.edu" ]
astac1@umbc.edu
ee5617465b61bb3ffc83e4e4ee8df99315b4bd11
f9f8f723bcdd89970c1a184628e4ad8de97f1c0d
/env/bin/pip-3.8
4cc4993bdacaf606c88e4b30422c94f023010632
[]
no_license
markimfeld/mini-pexels
80ddc9253b9b64146a75d0e9cf6e96e3789464db
1e6eb50ff67b66bbf8107218f3ae5a4801ec5223
refs/heads/master
2023-01-01T03:09:59.575208
2020-10-17T17:45:24
2020-10-17T17:45:24
304,934,922
0
0
null
null
null
null
UTF-8
Python
false
false
292
8
#!/home/marcos/Documents/programming/python/projects/getting_photos_pexels/env/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sebastianimfeld@gmail.com" ]
sebastianimfeld@gmail.com
3adbab7f1457ee5c0f126f540350eff00b557ef3
61d4ae3aeed5375467bfa3b00f0ed43d1c44d122
/sessions/models.py
0c4a457ead316324340fb0284936a0eb2ff92ba7
[]
no_license
beratakuzum/django-rest-crud
ed8e46d7a6157737b48adaca68babdb16920564d
1cdf311cf803747d8ffdd29a251e3b850487de5f
refs/heads/master
2023-02-15T22:18:31.351802
2021-01-12T08:28:44
2021-01-12T08:28:44
322,912,875
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from django.db import models from events.models import Event class Session(models.Model): name = models.CharField(max_length=100, null=False, blank=False) start_date = models.DateTimeField(null=False, blank=False) end_date = models.DateTimeField(null=False, blank=False) speaker = models.CharField(max_...
[ "beratakuzum34@gmail.com" ]
beratakuzum34@gmail.com
ec0bfed2e04944f6a53b48dd4438719b1733cb75
699ff10c347dc9b6d5af7f531a1c941dbfecd558
/leetcode/python/232-implement-queue-using-stacks.py
cfbd49aa1d50363b1d16e3ac48c0bcd623bf7032
[]
no_license
iampkuhz/OnlineJudge_cpp
71a7637c54d81be2aa066a6132aab31b798bbe6b
737b9bac5a73c319e46cda8c3e9d729f734d7792
refs/heads/master
2021-01-10T10:16:37.589855
2017-03-06T12:45:20
2017-03-06T12:45:20
24,891,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
#!/usr/bin/env python # encoding: utf-8 """ Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front of queue. peek() -- Get the front element. empty() -- Return whether the queue is empty. Notes: You must use only standa...
[ "iampkuhz@gmail.com" ]
iampkuhz@gmail.com
1f41a398f7b1bbc063c06d139e7b94f847a1fe29
df306c7a9f1e437f2c4466bff811f61b589431bf
/CiscoASARESTAPI-BlogPost.py
2990b6bc67fe3adceef8c5d4dd582014adb53114
[ "MIT" ]
permissive
natecrisler/ciscoasarestapi
be4bafabe37953cc37255a44dc82f024555fd915
c8816b07935919497e3c1684f66f170f80621c5e
refs/heads/main
2023-03-23T18:17:23.507861
2021-03-11T20:24:05
2021-03-11T20:24:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,901
py
#https://learninglabs.cisco.com #https://sandboxapicdc.cisco.com/ #https://github.com/CiscoDevNet import random import string import requests import urllib3 from pprint import pprint import json import getpass urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) log_file="fwbackuplog.log...
[ "noreply@github.com" ]
natecrisler.noreply@github.com
60b30866749221d40116e6c03faf481a0873ce7f
4f8dcdbda297e034ffe70636bde9ee8888ce349c
/Archive/CAD_to_GDB.py
1dffc4a47c97cb4e9a663235dd7b26a1e2d00df7
[]
no_license
Dewakarsonusingh/CAD-GIS-Conversion
1b28f78788bba8d361a25a0e400051d2d803b7db
c953816a615888cc75998c49fad29e2e9201688d
refs/heads/master
2022-12-24T01:42:04.852324
2018-08-17T01:33:46
2018-08-17T01:33:46
300,406,235
0
0
null
2020-10-01T19:58:05
2020-10-01T19:50:33
null
UTF-8
Python
false
false
13,044
py
# Takes a selected clean, georefrenced CAD File, places it in selected geodatabase (by floor level) # and saves each building feature types(ie doors, window, walls, etc), ie.. polygons and polylines, # as geodatabase feature classes. Also add class-specific fields to created GDB feature classes # # Sam Mix 2018 # # Im...
[ "33844825+Mixsa12@users.noreply.github.com" ]
33844825+Mixsa12@users.noreply.github.com
44f8d9c69390d7370bb31cd2234c246a450a52fd
032a59902e47f6843ac9c76f6e27eb1d4a78c27d
/scripts/python/ep_fec_rc_no_tmt.py
f6834bb4c0dc8f9a15b64cdf8e6a41eda5f09f3e
[ "Apache-2.0" ]
permissive
OSADP/Pikalert-Vehicle-Data-Translator-
17411c602879eb4fb080201973b4a966f9405a4b
295da604408f6f13af0301b55476a81311459386
refs/heads/master
2021-03-27T12:02:18.535636
2017-04-03T16:09:38
2017-04-03T16:09:38
25,056,408
2
2
null
null
null
null
UTF-8
Python
false
false
2,345
py
#!/usr/bin/env python # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* # ** Copyright UCAR (c) 1992 - 2015 # ** University Corporation for Atmospheric Research(UCAR) # ** National Center for Atmospheric Research(NCAR) # ** Research Applications Laboratory(RAL) # ** P.O.Box 3000, Boulder,...
[ "bpetzke@ucar.edu" ]
bpetzke@ucar.edu
168a729a213cb05a64c5b3b4dc1ab8aa2155d254
ac9e892c02af18cea990bb0a3f60071b34a03194
/pytorch_pfn_extras/training/triggers/manual_schedule_trigger.py
fc2db995b809735e7cefe6fc0d8df2ffd185d4ee
[ "MIT" ]
permissive
limsijie93/pytorch-pfn-extras
1323e796d59fe113ee86f631cc65ad44c7914a77
4b675fce8f4a420d87f1685423a9e62dbe598700
refs/heads/master
2022-09-18T09:18:25.459126
2020-06-04T04:43:47
2020-06-04T04:43:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,131
py
class ManualScheduleTrigger: """Trigger invoked at specified point(s) of iterations or epochs. This trigger accepts iterations or epochs indicated by given point(s). There are two ways to specify the point(s): iteration and epoch. ``iteration`` means the number of updates, while ``epoch`` means the nu...
[ "webmaster@kenichimaehashi.com" ]
webmaster@kenichimaehashi.com
640acd474ccc2667449fec3953056cfc3acb5173
3e74c0b272bfd7981454953aeef96ab2f5c59c69
/benchmarking/timeIt.py
8d8650898c5cef602fc4840308c61e368cda7614
[]
no_license
LokeshKD/DSPython
09e2e086182d1d0e73f85cc88611b7aa446d1253
f657678ac2cc1855c4d13bdc66d790a1022b6640
refs/heads/master
2023-04-16T13:58:02.500681
2021-04-17T17:04:51
2021-04-17T17:04:51
357,611,322
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
# def my_function(): try: 1 / 0 except ZeroDivisionError: pass if __name__ == "__main__": import timeit setup = "from __main__ import my_function" print(timeit.timeit("my_function()", setup=setup))
[ "i.lokesh@gmail.com" ]
i.lokesh@gmail.com
08a7aaa10003d220c767b52f5a87d32182e08dbd
6377b3fcce305fb11f7cce5d6162ba2cbb0c4b7c
/modules/kraken_services/kraken_private_trades_service.py
23962da5f249634995a0e70972ee9f6567c4d5b8
[]
no_license
KDamsgaard/CryPtoD_public
3aa4e99cded80ab82b0b3a671ba5e67988da0423
a32c4788727f2c6793ed435f8ef949ef0916ccb6
refs/heads/master
2023-07-09T15:08:13.003402
2021-08-16T16:28:57
2021-08-16T16:28:57
396,728,215
0
3
null
null
null
null
UTF-8
Python
false
false
1,157
py
import logging class KrakenPrivateTradesService: def __init__(self): self._log = logging.getLogger(self.__class__.__name__) self._trades = {} def update(self, message): if type(message) == list: if 'ownTrades' in message[1]: self._log.debug(f'Found {message[...
[ "kristiandamsgaard@gmail.com" ]
kristiandamsgaard@gmail.com
c5966d474a2ab28ae3d633cd80d29129b5f0a498
c6c74c3fdf54b01254caf42728aefdfb981d211b
/modules/Summary.py
2a8079ee5b6acee405a74bf22eb914bbd84d4168
[ "BSD-3-Clause", "MIT" ]
permissive
serin113/orgdb
decdbf6329a76a1590ebf16450ad580c7ca4b757
25fb9e3b430ab88e43b7fdae4665b862881e41fc
refs/heads/master
2020-04-18T01:42:47.548496
2019-05-22T07:36:21
2019-05-22T07:36:21
167,130,289
1
0
MIT
2019-05-22T07:36:23
2019-01-23T06:31:17
Python
UTF-8
Python
false
false
4,361
py
# Created in 2019-03-22 for PSYSC as part of a system for managing science club affiliations. # Copyright (c) 2019 Nathankissam Roy Tubis & Elfren Simon Clemente. # Licensed under the MIT License, refer to https://opensource.org/licenses/MIT for details. # Code History: # 2019/03/22 (Simon) - Moved class to this file...
[ "simon_clemente@yahoo.com" ]
simon_clemente@yahoo.com
ae1990319995c77926580b4e072215f089eee820
bc0f6da4e5378893d06dc93e98a56bfcf702e462
/p5.py
54907907953fb7d9683b56d631d8ed528a6e461b
[]
no_license
pcoving/euler
23c17ac3e9fa22db49ae8cc060383de6289706cd
3beb9436a3cfd7a5a77cfc4e7c3f104c6d0dbee5
refs/heads/master
2020-03-31T09:06:31.093932
2014-06-30T16:19:05
2014-06-30T16:19:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
''' 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? ''' N = 20 n = N done = False while not done: done = True for m in range(2,N+1): if n/m != fl...
[ "pmcovington@gmail.com" ]
pmcovington@gmail.com
a8c6f1dbf4ed1dd8116a7bd5ca487fe8c769489f
d1abf524ba77816c50ee9ddbdb14e1a69744c6d4
/scrollbartest.py
e9ba4222ab6c5a1a0bf977d512c008e04e91b823
[]
no_license
M1nlex/Spotif-Air
357bb11304b7741c23a4f3ac4fdf5f0e3b71a6ef
8448547ade9b8594547105192a7e5e5a3cd0da6c
refs/heads/master
2020-08-04T07:04:21.369704
2020-01-13T01:21:27
2020-01-13T01:21:27
212,048,454
2
0
null
null
null
null
UTF-8
Python
false
false
3,529
py
import tkinter as tk # ************************ # Scrollable Frame Class # ************************ class ScrollFrame(tk.Frame): def __init__(self, parent): super().__init__(parent) # create a frame (self) self.canvas = tk.Canvas(self, borderwidth=0, background="#ffffff", width=200, he...
[ "noreply@github.com" ]
M1nlex.noreply@github.com
2718b4a553b211d4a9237d21b069590a78c1b9fc
df5d82456b26461643fe0f3c0d7f4b34a521afae
/volt/controllers.py
c8331417109714ac41cc8880e0b87eeefd6562ad
[]
no_license
ali96343/ombott-test
b5bfbc4e079ca3a50b40b210438405acdba65765
7d7c46d5cd5c73a92fae08247917ac988b83b9c7
refs/heads/master
2023-08-21T15:02:41.614957
2021-10-07T06:28:59
2021-10-07T06:28:59
380,330,616
1
0
null
null
null
null
UTF-8
Python
false
false
21,870
py
# # py4web app, AI-biorex ported 26.04.2021 14:45:45 UTC+3, src: https://github.com/themesberg/volt-bootstrap-5-dashboard # https://github.com/ali96343/facep4w # import os, json, uuid import ombott as bottle from py4web import action, request, response, abort, redirect, URL, Field from py4web.utils.form import Form...
[ "ab96343@gmail.com" ]
ab96343@gmail.com
3e060088bec0fd6cb0b2baf58eb5c225f1f27759
95315ecd3068cf98dd10267f98055ace5f6cafc9
/json_lesson/json_lesson.py
6f226d2400322c65001916e232183260b587e58c
[]
no_license
austin72905/python-lesson
22d7dc3b70e524041711055f26ef0e39b99936cd
e51954e0516a60259d6794fb4ec52ae2f6722b4b
refs/heads/master
2023-04-18T10:16:11.415602
2021-04-24T04:07:10
2021-04-24T04:07:10
332,389,884
0
0
null
null
null
null
UTF-8
Python
false
false
1,243
py
import json from pprint import pprint ##Json # 1. 反序列化 json.loads # 2. 序列化 json.dumps #### code region #### my_dic = dict(name='BOb', age=20, score=93) json_str = json.dumps(my_dic) pprint(json_str) # '{"name": "BOb", "age": 20, "score": 93}' json_dic = json.loads(json_str) pprint(json_dic) # {'age': 20, 'nam...
[ "Linponggood@gmail.com" ]
Linponggood@gmail.com
4c14a3408c293c6b851fea2d1d703a3df72cb616
72862456de71e97613b14d297f775aec5ec1671d
/migrations/versions/526c6a80a57c_.py
b6a67b02429f50566b6f5adb3ae5dd550773f3c7
[]
no_license
twistedladder/Google-Calendar-Phishing
45b530f7698c1a5680b892be5413d1a5fc65ba36
35ccc54eeeb4daa2008cf985097c0c81e410f316
refs/heads/master
2022-12-13T04:00:48.848541
2020-10-01T17:56:30
2020-10-01T17:56:30
130,408,246
0
2
null
2022-12-08T02:03:11
2018-04-20T19:58:56
Python
UTF-8
Python
false
false
680
py
"""empty message Revision ID: 526c6a80a57c Revises: c3395afa9869 Create Date: 2018-04-23 14:22:45.772623 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '526c6a80a57c' down_revision = 'c3395afa9869' branch_labels = None depends_on = None def upgrade(): # ...
[ "gene.hsu@utexas.edu" ]
gene.hsu@utexas.edu
c718484b85a780242417598a63d619f3e8ddf529
1aeee32fd5ab3f9b98264f59478445fd6f54b38a
/CommonUtil/PyTest.py
7cfde4125d0b216217b0f0f42ba7c568e9d17674
[]
no_license
li-zheng-hao/OnmyojiScript
dee9618ae5eb9e233b616cfbc413ceefcf11358c
f22dfbf8a54ba80ca419e1905a27d874a5460ad6
refs/heads/master
2022-12-14T22:50:44.361578
2020-02-10T13:09:39
2020-02-10T13:09:39
222,662,528
6
2
null
2022-12-08T07:03:55
2019-11-19T09:49:48
Python
UTF-8
Python
false
false
274
py
# import pytest import win32gui from ImageProcessModule.GameControl import GameControl from YuHunModule.State import State def test_window_full_shot(): hwnd = 0x0004084E game_control=GameControl(hwnd,State()) game_control.window_full_shot('test_img.png')
[ "1263212577@qq.com" ]
1263212577@qq.com
e760becc3c1eb5c190c95e6eb021d1db26b75b93
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/dcx.py
6b975b5f2f2c98bbfca63125607d2e2c1d79986e
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
a0c5f212fd43051e67683762fd380806b4dfcd78
0116e224af093d4356533998ed466ac7930654ea
/python_code.py
c6527aff98ab0e295965b402228259737cf6befc
[]
no_license
zyad9216/Test
069ddd4acdb8f5834357c2af18a96911836886e4
00cb9f2b49f7e045f6ccb7e3b1c9594bba0ee203
refs/heads/master
2022-11-30T05:10:53.240926
2020-07-04T14:11:10
2020-07-04T14:11:10
277,113,497
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
i print("Hello Github!") print('Hello World!')
[ "zyadabuharaz@gmail.com" ]
zyadabuharaz@gmail.com
f85ebc5a5151f2cbfa44804b7e62295bde977f91
5f3e8c065d267314070e600f8b3a85b1f451a625
/main.py
8435e10f49dc62dc1f2590780a727f59182d706d
[]
no_license
MrSnowZ/calculator
e08be631f148db4e3d020266898eb6ca8c97d511
4fe1b3c7eb9e52c3c8d1f161c93095a06f46fdb1
refs/heads/main
2023-05-10T06:32:28.446106
2021-06-12T00:40:48
2021-06-12T00:40:48
376,162,445
0
0
null
null
null
null
UTF-8
Python
false
false
2,159
py
from tkinter import * root = Tk() root.title("Snow Calculator") e = Entry(root, width=35, borderwidth=5) e.grid(row=0, column=0, columnspan=3, padx=10, pady=10) def button_click(number): #e.delete(0, END) current = e.get() e.delete(0, END) e.insert(0, str(current) + str(number)) def button_clear(): ...
[ "nkasten@gmail.com" ]
nkasten@gmail.com
466502916f65ec970df5c90a6f2d448e9050d8b0
09efb7c148e82c22ce6cc7a17b5140aa03aa6e55
/env/lib/python3.6/site-packages/plotly/graph_objs/ohlc/__init__.py
6045b7202af831a93026f1550f8e714430892557
[ "MIT" ]
permissive
harryturr/harryturr_garmin_dashboard
53071a23b267116e1945ae93d36e2a978c411261
734e04f8257f9f84f2553efeb7e73920e35aadc9
refs/heads/master
2023-01-19T22:10:57.374029
2020-01-29T10:47:56
2020-01-29T10:47:56
235,609,069
4
0
MIT
2023-01-05T05:51:27
2020-01-22T16:00:13
Python
UTF-8
Python
false
false
34,074
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Stream(_BaseTraceHierarchyType): # maxpoints # --------- @property def maxpoints(self): """ Sets the maximum number of points to keep on the plots from an incoming str...
[ "griffin.harrisonn@gmail.com" ]
griffin.harrisonn@gmail.com
df665b32b2dfe47d8e32cbfc847bc28d6973111c
9d2154ad9a3c6c4bc4d8aae47c2cf5dd30741a2d
/usr/lib/enigma2/python/Plugins/Extensions/iSkin/x.py
b55b465cb6ddbdb3f570bbaedbe4de4fd2812a9e
[]
no_license
XtrendAlliance/xta
b0b161a5b7b9e605f9bd7d6985b5e4171cdc7d28
4191835caf9f25edf6a31ab6214759ed4e0f35d2
refs/heads/master
2020-06-07T04:03:58.421352
2014-11-30T10:50:18
2014-11-30T10:50:18
27,283,822
0
1
null
null
null
null
UTF-8
Python
false
false
629
py
import os if os.path.exists('/usr/lib/enigma2/python/Plugins/Extensions/iSkin/Connection/Config/ConnectionSave'): type = open('/usr/lib/enigma2/python/Plugins/Extensions/iSkin/Connection/Config/ConnectionSave').read() if len(type): p = type[:].find('://') if p != -1: ...
[ "xtrendboss@et-view-support.com" ]
xtrendboss@et-view-support.com
ce4e62c243186cbb7a7e617fb41be98fdef66236
35c54f14769f86afd1a1014e184bb1294c3d7cea
/tpot_pipeline.py
f002d98019be9c0e6019dd1bed6950a17110eef8
[]
no_license
samsoohoonseo/heart_rate_monior
e5d2ff7516dc2e0ca41b3b9a672f5a5f2c9badf7
959bcd4b3017bc662980648609f3e1c8e343083b
refs/heads/master
2020-09-04T10:10:36.656065
2019-11-26T07:22:02
2019-11-26T07:22:02
219,708,479
0
0
null
null
null
null
UTF-8
Python
false
false
1,174
py
import numpy as np import pandas as pd from sklearn.ensemble import ExtraTreesClassifier from sklearn.model_selection import train_test_split from sklearn.pipeline import make_pipeline, make_union from tpot.builtins import StackingEstimator, ZeroCount from sklearn.preprocessing import FunctionTransformer from copy impo...
[ "noreply@github.com" ]
samsoohoonseo.noreply@github.com
f7108676fd592dd4627eb37e71d5d30a122a3ac8
9beeae9b19902ca626106bd392dcb18178ad3fc9
/staphopia/signals.py
5d0d58cd2ed01b51cfed315b461d63ef586f53c1
[]
no_license
staphopia/staphopia-web
e27f0d01d5a95c1aad9a5802bbdcc1161f6af1d3
2c35ee47e131a74642e60fae6f1cc23561d8b1a6
refs/heads/master
2023-08-09T04:07:47.279139
2022-02-10T16:09:18
2022-02-10T16:09:18
31,989,879
5
1
null
2023-08-01T21:08:34
2015-03-11T00:39:13
Python
UTF-8
Python
false
false
451
py
from django.contrib.auth.models import Group from staphopia.forms import RegistrationFormWithName def user_created(sender, user, request, **kwargs): form = RegistrationFormWithName(request.POST) user.first_name = form.data['first_name'] user.last_name = form.data['last_name'] user.save() Group.obj...
[ "robert.petit@emory.edu" ]
robert.petit@emory.edu
c40f6b94961010096fa1e43f69e3c26d32368c2c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_229/ch57_2020_04_10_21_47_51_592464.py
1b83ba556f170dae510b6bab0604f9e0d9a59eca
[]
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
2,127
py
def verifica_progressao(lista): r = lista[1] - lista[0] rn = lista[2] - lista[1] continua = True continua2 = True i = 0 if lista[0] != 0 and lista[1] != 0: q = lista[1]/lista[0] qn = lista[2]/lista[1] if qn == q: while continua == True: while ...
[ "you@example.com" ]
you@example.com
8848eede4ef7c7f72488ecaa4396d81926ddcdcd
cc7bff51fc29ed2f349d1130e89813c2595ecebf
/Walker.py
a441f2ae10ed46304f27ffb119961ecbf2829b3c
[ "MIT" ]
permissive
tigerw/EfsTools
6101bd58dd4cedf2648ca6034c69606a486bc39b
5c41f7c4e8fa0555ab8169acd0571853f47ebb59
refs/heads/master
2022-09-21T05:38:23.323210
2020-05-31T17:23:06
2020-05-31T17:23:06
268,323,470
0
0
null
2020-05-31T16:53:44
2020-05-31T16:53:43
null
UTF-8
Python
false
false
1,539
py
import os import os.path as path root_dir = 'MBNs' out_name = "MBNs.nvi" def format_efs_rpc(dir_name, name, ascii): template = r'{"jsonrpc": "2.0", "method": "WriteEFSData", "params": {"MessageVersion": 0, "FilePath": "/%s", "Data": [%s], "ItemType": "Item"}, "id": 0}' hack = path.normpath(path.join(dir_nam...
[ "ziwei.tiger@outlook.com" ]
ziwei.tiger@outlook.com
e8f5af39b518fe0ceaa644b3df0e7147f104418d
0462732ae54ede10362e0b8d894698f4839e2ba4
/HFS_SF/CMO/NetypesfromGraph_v0.py
fc85b4b2d88756c85d0bd99f006139bd0f48bb37
[]
no_license
PeterWanng/hfs
7335a563cee90b6bd2ce470251936f2fd038e8fb
10737634047f899a210f84397b1bce801656518e
refs/heads/master
2021-07-10T06:13:03.429313
2017-10-02T16:08:53
2017-10-02T16:08:53
105,551,393
0
0
null
null
null
null
UTF-8
Python
false
false
50,600
py
#encoding=utf8 import sys sys.path.append("..\..") from tools import commontools from matplotlib import pyplot as plt import numpy as np import igraph as ig from igraph import clustering as clus import re import time import os from tools import commontools as gtf import csv import sc...
[ "peterwannng@gmail.com" ]
peterwannng@gmail.com
28faa7f92cba44f87759c8d75b0649dcd9d4cc72
2a22b6e979c00faa87a58d926d09201bf7a97c71
/src/mtgdeck/wsgi.py
092ae564c09a28218a93acb674aa321b12a319df
[]
no_license
mattdeboard/mtgdeck
5d244f856312aecd1ba1318e67fd6bac16790395
e03dbe737a3919bc118d5a8967cfa523592f81db
refs/heads/main
2023-04-05T17:56:39.811386
2021-04-24T03:30:42
2021-04-24T03:30:42
361,061,661
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for mtgdeck 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "matt.deboard@gmail.com" ]
matt.deboard@gmail.com
a140d89b7aff1f78dd5c192b636f74d6b5203b5f
42b95abbad6b8c46215dadfb1f53b0514c16c0ea
/aula08/anotacoes_aula08.py
39bfb30506db5a0b508a0d810bd9d1fefb681917
[]
no_license
ricardoapalhares/python_aulas_era_conectada
7667776402d57215cef3fcb07d9f47c524ceaf91
cd75e80f51755ea51615c21e28e0df3f0f63b110
refs/heads/master
2022-12-15T20:47:47.420000
2019-05-10T00:59:42
2019-05-10T00:59:42
156,447,934
1
0
null
2022-12-08T05:03:34
2018-11-06T21:07:51
Python
UTF-8
Python
false
false
285
py
lista1 = [1,2,3] lista2 = list(lista1) print(lista1 == lista2) print(lista1 is lista2) #------------------- def soma(num1,num2): return num2 + num1 class Calculadora(): def soma(self, num1, num2): return num2 + num1 print(soma(1,2)) calc = Calculadora() print(calc.soma(2,3))
[ "jrcjuniorcesar@gmail.com" ]
jrcjuniorcesar@gmail.com
7436c12c9b17ab4e53a8e623b20b1a24fc082352
dfaf6f7ac83185c361c81e2e1efc09081bd9c891
/k8sdeployment/k8sstat/python/kubernetes/test/test_v1beta1_subject_access_review_status.py
86ad671f95cfc1388e0b498d3971b2a7c14d6e90
[ "Apache-2.0", "MIT" ]
permissive
JeffYFHuang/gpuaccounting
d754efac2dffe108b591ea8722c831d979b68cda
2c63a63c571240561725847daf1a7f23f67e2088
refs/heads/master
2022-08-09T03:10:28.185083
2022-07-20T00:50:06
2022-07-20T00:50:06
245,053,008
0
0
MIT
2021-03-25T23:44:50
2020-03-05T02:44:15
JavaScript
UTF-8
Python
false
false
1,076
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: v1.15.6 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import kube...
[ "JeffYFHuang@github.com" ]
JeffYFHuang@github.com
bd101d2f6fb5381a070656f43ff6aca8685ee7b2
632ffbde1f909b18f02890efe58d7d041c6ed5f3
/Tools/training_logFilesCretaor.py
114237ecda7bd82a96c68846282f44190d101f08
[]
no_license
ankit-world/aws_deployed_premium_prediction
56d5ba032512a7a1975a5d037ee99de9f9828d8d
e46bcc8f2228ee1f10b2a3872a92fc0a8de915ca
refs/heads/main
2023-08-26T04:24:23.725349
2021-11-14T14:19:01
2021-11-14T14:19:01
422,933,098
0
1
null
null
null
null
UTF-8
Python
false
false
2,276
py
import os # this file used to setup the logging infrastructure (dirs/files) training_log_files = ["valuesfromSchemaValidationLog", "GeneralLog", "nameValidationLog", "columnValidationLog", "missingValuesInColumn", "DataBaseConnectionLog", "DBInsertLog", "TrainingMainLog", "...
[ "ankitmarwahaa7@gmail.com" ]
ankitmarwahaa7@gmail.com
49ddfd050e02c9a29ad478cd2401367cf761db46
9adc810b07f7172a7d0341f0b38088b4f5829cf4
/experiments/ashvin/icml2020/murtaza/pusher/demo_state_td3.py
1bb88eaceb172d7677d3cb4f22eca88400bb1641
[ "MIT" ]
permissive
Asap7772/railrl_evalsawyer
7ee9358b5277b9ddf2468f0c6d28beb92a5a0879
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
refs/heads/main
2023-05-29T10:00:50.126508
2021-06-18T03:08:12
2021-06-18T03:08:12
375,810,557
1
0
null
null
null
null
UTF-8
Python
false
false
3,221
py
from multiworld.envs.mujoco.cameras import sawyer_init_camera_zoomed_in from rlkit.launchers.launcher_util import run_experiment import rlkit.misc.hyperparameter as hyp from rlkit.launchers.experiments.murtaza.rfeatures_rl import state_td3bc_experiment from rlkit.launchers.arglauncher import run_variants if __name__ ...
[ "alexanderkhazatsky@gmail.com" ]
alexanderkhazatsky@gmail.com
de575d64908dac2ae371562a98245e061498181d
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/X733GROUP-MIB.py
2e3597342dc315db7cc0b26e65652659f42fc2f8
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
18,926
py
# # PySNMP MIB module X733GROUP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/X733GROUP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:36:00 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
6be37cc0ac42477690b61af9c479b69f340ab7b4
97a2a0c901d82ebd79c7d77d4264de33718d1a1b
/users/migrations/0002_auto_20181127_0228.py
c7dd09481c573645f5566c29d8b0c32b14b7bedc
[]
no_license
gaojiaxuan1998/mysite-master
5fd9fff8967fa3aa171cb838372aca25e4e82215
d1e6b87cc07250a64ca5749ee71f2c7f19d52613
refs/heads/master
2020-04-11T08:37:02.854166
2018-12-13T14:41:32
2018-12-13T14:41:32
161,649,740
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# Generated by Django 2.1.2 on 2018-11-27 02:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='userprofile', name='password', ...
[ "43905475+gaojiaxuan1998@users.noreply.github.com" ]
43905475+gaojiaxuan1998@users.noreply.github.com
810a5acd8ed978b4868643ba13f4e8ac63666fd7
7ec3900ab140907e93858f5476f34dfa7d5baae9
/Dictionary/urls.py
f22d45c3a3e1c8526e577b11fc47d823275a1383
[]
no_license
D10/Dictionary
650648e5a2f2fade3a83789d7fcc301158e67f0b
e0377cdf0b2cbe5113c6fbfd7852de44a7f97a26
refs/heads/main
2023-05-01T21:45:07.770894
2021-05-19T22:46:11
2021-05-19T22:46:11
369,018,666
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include('dictsite.urls')) ]
[ "rgadamurov@bk.ru" ]
rgadamurov@bk.ru
2500703afbfbf68c508d1c88738f2728e58cc730
19400a06c1632b44bbc291a284e82ca9e6549ba7
/main.py
d2e8889465b5fcad936f3c638012b3f5d68181d5
[ "MIT" ]
permissive
codacy-badger/minecarft-server-controller
ef4c035ac8f3223300dfbe80f1a4e35f399c691b
eb923cde805b8f3419384c7ed4d464351b825af2
refs/heads/master
2023-02-19T16:50:38.082397
2021-01-18T09:35:48
2021-01-18T09:35:48
330,618,237
0
0
MIT
2021-01-18T11:49:48
2021-01-18T09:37:06
null
UTF-8
Python
false
false
5,629
py
from mcrcon import MCRcon # Берём данные def start(): print('███╗░░░███╗██╗███╗░░██╗███████╗░█████╗░██████╗░░█████╗░███████╗████████╗\n' '████╗░████║██║████╗░██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔════╝╚══██╔══╝\n' '██╔████╔██║██║██╔██╗██║█████╗░░██║░░╚═╝██████╔╝███████║█████╗░░░░░██...
[ "noreply@github.com" ]
codacy-badger.noreply@github.com
075d717759921834a2a8c9622dbb53790cf0228a
b198ab1d3faf79d34b1745236daa5eb02a37e18e
/yggdrasil/metaschema/properties/tests/test_JSONArrayMetaschemaProperties.py
ed812677d1d5d9df256fbc5b8f6903ae12c185fa
[ "BSD-3-Clause" ]
permissive
leighmatth/yggdrasil
688f13aa0d274217daec9f412269fbbaf5f10aef
dcc4d75a4d2c6aaa7e50e75095a16df1df6b2b0a
refs/heads/master
2021-07-09T10:39:25.422978
2021-04-14T16:40:04
2021-04-14T16:40:04
245,011,886
0
0
NOASSERTION
2020-03-04T21:54:25
2020-03-04T21:54:24
null
UTF-8
Python
false
false
1,645
py
from yggdrasil.metaschema.properties.tests import ( test_MetaschemaProperty as parent) class TestItemsMetaschemaProperty(parent.TestMetaschemaProperty): r"""Test class for ItemsMetaschemaProperty class.""" _mod = 'JSONArrayMetaschemaProperties' _cls = 'ItemsMetaschemaProperty' def __init...
[ "langmm.astro@gmail.com" ]
langmm.astro@gmail.com
4e1fa727fab5fb543e9932c0bd692b63c5f39388
73c5e85d58b1d42e60822b4bbe4447097c908375
/movie/serializers.py
4b15cc1e7aac55c016d8cfac8c6813ec0a54f46a
[]
no_license
ishantgit/twitterBackend
9865ee2a8bdb3b6b7046f8cca799a272f4174387
d4122b66812944cbf37d05ea872423b0429c4490
refs/heads/master
2021-01-10T10:25:16.555978
2015-11-29T17:08:21
2015-11-29T17:08:21
45,641,069
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from rest_framework import serializers from movie.models import * class MovieCreateSerializer(serializers.ModelSerializer): class Meta: model = Movie class MovieReadSerializer(serializers.ModelSerializer): class Meta: model = Movie depth = 2
[ "ishant@atcouch.com" ]
ishant@atcouch.com
d9bef3ef39bbcccbdcadc4e05a37250ec144be34
35aa4fe6d3690ca7099fe1497fd0903fff9d420d
/B103.py
5ab0752b9ee8323e609f08875299e43df2c4138d
[]
no_license
SATHANASELLAMUTHU/MYPROJECT
07e1b9945d51f1ed0c7d82526dcbccd1fce86453
67325a9f2e8ac553299d89b4248465ea2fca56a8
refs/heads/master
2020-05-05T03:02:17.340845
2019-06-08T09:53:27
2019-06-08T09:53:27
179,659,079
0
1
null
null
null
null
UTF-8
Python
false
false
50
py
n=raw_input("Enter the string:") print(n.title())
[ "noreply@github.com" ]
SATHANASELLAMUTHU.noreply@github.com
34b07eb971fcf1b17bd38070f6938a5bc9f06ddf
8645f5bb6321cf1097c0ea173e1c790618e65ddb
/skipper-lib/skipper_lib/workflow/workflow_helper.py
70061de591b13506246b6a53e853fb629e28f855
[ "Apache-2.0" ]
permissive
gov-ai/thinking
8102130c781d6dad0ed457fd9b27e901d1e9fca1
9557ee10fe62f6c91f7daf2b33c9577303bea2e5
refs/heads/master
2023-09-01T07:48:56.100197
2021-10-13T01:18:22
2021-10-13T01:18:22
415,279,387
2
0
Apache-2.0
2021-10-13T01:18:23
2021-10-09T10:42:30
Python
UTF-8
Python
false
false
284
py
import requests def call(task_type, url, mode): valid = {'_sync', '_async'} if mode not in valid: raise ValueError("call: status must be one of %r." % valid) r = requests.get(url + task_type + mode) queue_name = r.json()['queue_name'] return queue_name
[ "andrejus.baranovskis@gmail.com" ]
andrejus.baranovskis@gmail.com
b28426550722f331695c013bf055d217500ceada
2486bac4d422a99cf06db68bb5b78f31bfff6526
/ext/serf/build/check.py
fc49d336454f9da71bf4e7fd2c0d5395650656ff
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
beachmiles/CommitMonitorSVN
2d7bc1c7509cdbbcc107473cab3c2be4cf6d2445
a0cbe1eb2d6e6063f3603477c0a9ef1ab39774dd
refs/heads/master
2020-03-30T01:18:53.698019
2018-09-28T22:11:04
2018-09-28T22:11:04
150,569,973
0
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
#!/usr/bin/env python # # check.py : Run all the test cases. # # =================================================================== # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information ...
[ "miles2know@yahoo.com" ]
miles2know@yahoo.com
b08f3840e780e082aad97256d99c215839e1e058
1012f61f46ff7aaf37cd3ce0ead64e035ec201dc
/coding-challange/codewars/8kyu/~2021-07-25/capitalization-and-mutability/capitalization-and-mutability.py
70ab2ba79b4d13199ed131fb83a863ae49274dcb
[]
no_license
polyglotm/coding-dojo
89efe22f5a34088e94c9e3a4e25cad510b04172a
43da9c75e3125f5cb1ac317d275475f1c0ea6727
refs/heads/develop
2023-08-17T11:59:30.945061
2023-08-16T14:13:45
2023-08-16T14:13:45
188,733,115
2
0
null
2023-03-04T05:49:21
2019-05-26T21:26:25
JavaScript
UTF-8
Python
false
false
386
py
""" capitalization-and-mutability codewars/8kyu/Capitalization and Mutability Difficulty: 8kyu URL: https://www.codewars.com/kata/595970246c9b8fa0a8000086/ """ def capitalize_word(word): return word.capitalize() def test_capitalize_word(): assert capitalize_word('word') == 'Word' assert capitalize_word('...
[ "polyglot.m@gmail.com" ]
polyglot.m@gmail.com
3883fde7e7b92875e069f83e4b65ddf1c4b2a542
f6328ac298ac1b99920be0cccc2b19f0efe61794
/docs/conf.py
57efdd93314c7b0344e984fe287f3d16df49fe3d
[ "BSD-3-Clause" ]
permissive
Krytic/riroriro
f1b2f3a54e9e3c9fbf5c169edf72e124645e01cb
64427ecba5974d5c675884a5d7b55084e3184b87
refs/heads/main
2023-05-09T13:40:32.788205
2021-05-05T03:53:37
2021-05-05T03:53:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,931
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "woutervanzeist7@gmail.com" ]
woutervanzeist7@gmail.com
5c9c68f5451ef62036cba6f3ce7dd3a70f5b2164
6744024e7b3a8715e709d2b78ff3f52eddc56dde
/tcase/api/serializers.py
fde4edd0a78acd7338255b528755a2ee491ed1d2
[]
no_license
jc36/testcase
97b45daf25cff78e1dcdfc5f47c27c9b87046627
3d761dcb3d9c1ee8154855c4796fd83326f5daf4
refs/heads/master
2020-03-09T21:36:05.315853
2018-04-19T06:36:05
2018-04-19T06:36:05
129,012,948
1
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
from rest_framework import serializers from rest_framework.fields import CurrentUserDefault from tcase import services from ..models import Like, Post, User class LikeSerializer(serializers.ModelSerializer): liker = serializers.HiddenField(default=serializers.CurrentUserDefault()) class Meta: model ...
[ "jc36@rambler.ru" ]
jc36@rambler.ru
014dadd6751fe3bf44a387e8ed90580c24168a91
72c8c39a930b910d2ff406c8cf831d56a489ea3d
/MergeSort/mergeSort.py
45e0aee4648f5dee030ca756554c24c1895a6986
[ "MIT" ]
permissive
santhoshvai/Sorts
f0788a503bbe39cae409899f5bde0abf8764fd49
180c6d7ec656468dd1fa53b7924bc351d3ce7e2e
refs/heads/master
2016-09-05T22:04:51.700190
2014-09-09T13:51:46
2014-09-09T13:51:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
def merge_sort_MIT(A): """ Sort list A into order, and return result. """ n = len(A) if n==1: return A mid = n//2 # floor division L = merge_sort_MIT(A[:mid]) R = merge_sort_MIT(A[mid:]) return merge(L,R) def merge(L,R): """ Given two sorted sequences L and R, r...
[ "santhoshvai@gmail.com" ]
santhoshvai@gmail.com
010ccca8e5866021ae689a6b1229dd26275293f7
ba9455bf842f3a118718f6c42623f5407d104375
/Data_Reduction.py
47159a5c5d8c8a5179b8a559442e41fae23b23e8
[]
no_license
WKroese/ALOP
9ca3dcbfd91a0dd1ec919b02e6fc027235d2c039
3a03f18f27c49495fa04f6a278dc0d71602d633f
refs/heads/master
2021-05-07T04:02:12.436822
2018-04-29T02:43:45
2018-04-29T02:43:45
111,083,428
0
1
null
2017-12-01T10:19:08
2017-11-17T09:16:45
null
UTF-8
Python
false
false
3,746
py
# Last update: 17-04-2018 # ALOP La Palma project 'Transients' Data calibration # Authors: Daphne Abbink, Willem Kroese, Sacha van Ruiten, Yke Rusticus, Kira Strelow import numpy as np import astropy.io as ast from astropy.io import fits import matplotlib.pyplot as plt import sp XMIN = 1600 XMAX = 2601 YMIN = 500 YMA...
[ "noreply@github.com" ]
WKroese.noreply@github.com
3b7a89aed9eab0f5e558d9f4ec7f2fcf3604a239
4dd4edb7df160a151aa541c6aca51ac0c7912a46
/WeLinkAPI/WeLinkAPI/__init__.py
f0ace5136acb89fd39c45c7f1480f2f45a456663
[]
no_license
tshawn2014/WeLinkBackend
9e05368b09b79f1612542a310f5c60a503bfee72
2542697b6f368bffcf1efd641230eaa7c22da493
refs/heads/master
2023-02-02T23:31:43.276350
2020-12-16T06:38:49
2020-12-16T06:38:49
304,161,020
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
# import pymysql # <!-- tsh local run -- # pymysql.version_info = (1, 4, 13, "final", 0) # -- tsh local run --> # pymysql.install_as_MySQLdb()
[ "tshawn2014@gmail.com" ]
tshawn2014@gmail.com
a2210b80b17fc2c25f10a5d1274a2508f5ca54df
86baf32396ddc18644f32d097b15b430f00c03cc
/ros2_track_imu/driver.py
46775c1e7d36c97d88f55ceadfdc18cc4a53bb68
[ "MIT" ]
permissive
capitaneanu/ros2_track_imu
b7e277eba4b3d97b6431d61339b6a6100277a3c6
21741c413ceec1104c62276a6d00deddb95fec4c
refs/heads/master
2023-07-28T09:03:22.877895
2020-01-18T01:50:37
2020-01-18T01:50:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,452
py
import rclpy from rclpy.node import Node from sensor_msgs.msg import Imu from diagnostic_msgs.msg import DiagnosticArray, DiagnosticStatus, KeyValue import math import time from transforms3d.euler import euler2quat as quaternion_from_euler degrees2rad = math.pi / 180.0 imu_yaw_calibration = 0.0 class Ros2TrackIMUD...
[ "ankl@kth.se" ]
ankl@kth.se
10a1d871ef9ee3fa46f37d5c885fcd50bfa4cf6a
a7e7ed714ab21e64d137ea379e6f1433ac0ee67b
/Building/urls.py
7ae1e0e0d0f64f82949166931bb46c326982686e
[ "MIT" ]
permissive
LukaszHoszowski/Django_ProEstate
2b234b53ec68dd46d917eda60f44fb4481263085
36c5cc25842f4e5afebd9ff6eaa83c9457fb7a3a
refs/heads/main
2023-08-11T08:27:16.270730
2021-10-01T20:24:10
2021-10-01T20:24:10
403,704,922
1
0
MIT
2021-10-01T20:17:56
2021-09-06T17:19:37
HTML
UTF-8
Python
false
false
1,646
py
from django.urls import path from Building.views import BuildingListView, BuildingDetailView, \ BuildingCartographyView, BuildingCoopView, BuildingPhotosView, BuildingDocsView, BuildingPhotosCreate, \ BuildingDocsCreate, BuildingFlatsView, FlatDetailView, FlatUpdateView, FlatAddUserUpdate, FlatDeleteUserUpdate...
[ "hoszowski@hpe.com" ]
hoszowski@hpe.com
27b8bb8a1aa06eea5daf0e65ae35336ce49cec83
be5f6490e47347dc3d28faeb46484144e9e3e5ba
/wsgi.py
860302d633efaa61db75cf173e03b0e301c94686
[]
no_license
ipcrm/flask_puppet
4d9e0706bc843942047ffaa1db5fe1f01f67dc24
d8a5400a2d31c9a0a19bb5d1761143bdca502040
refs/heads/master
2021-01-01T05:05:33.990321
2017-05-30T03:40:48
2017-05-30T03:40:48
58,177,844
0
1
null
null
null
null
UTF-8
Python
false
false
87
py
#!env/bin/python from webui import webui if __name__ == "__main__": webui.run()
[ "mcadorette@puppetlabs.com" ]
mcadorette@puppetlabs.com
4b10fa53b97294463e20ad06343f2dd982acc650
afebbb07b2b4eada17a5853c1ce63b4075d280df
/marketsim/gen/_intrinsic/orderbook/of_trader.py
804ce5709645171b35783b2eb31d41c8a145e2c1
[]
no_license
peter1000/marketsimulator
8c0a55fc6408b880311d3ad49defc55e9af57824
1b677200a9d5323f2970c83f076c2b83d39d4fe6
refs/heads/master
2021-01-18T01:39:04.869755
2015-03-29T17:47:24
2015-03-29T17:47:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
from marketsim import types from marketsim.gen._out.trader._singleproxy import SingleProxy from marketsim import getLabel from marketsim.gen._out._intrinsic_base.orderbook.of_trader import OfTrader_Base, Proxy_Base class Base(object): _properties = {} def __getattr__(self, name): if name[0:2] != '__...
[ "anton.kolotaev@gmail.com" ]
anton.kolotaev@gmail.com
298b9cbf5ba7b4f5dbafb6f07e7d309fcb309ec5
6b9fddd4c0b5665127d18d99cf9f832ed010331a
/run.py
77c6751c59a34602001f34a75a9a442dd7ead77f
[]
no_license
oleksost/Continuous_Control_DDPG
e41a6b6d0a0fb56a5b96a38b5784658646bcdf7f
89b1aeacc065d824b3064da7c671ee62be3261de
refs/heads/master
2020-04-29T01:01:15.790344
2019-03-14T23:59:27
2019-03-14T23:59:27
175,716,102
2
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
from unityagents import UnityEnvironment import numpy as np import torch import sys import argparse from collections import deque from ddpg_agent import Agent import matplotlib.pyplot as plt sys.stdout.flush() parser=argparse.ArgumentParser(description='Train an agent:') parser.add_argument('--env',default='Reacher_Li...
[ "oleks.ostapenko@icloud.com" ]
oleks.ostapenko@icloud.com
e3a4187c4bb177fb87c1bbaf83b0ba2474e6fb35
fd11fd3a63ab711612bc914e383b504125c1eed6
/nova/api/openstack/compute/contrib/server_sort_keys.py
01ce14b70536245876fbf4395aa4d805eb3f7eb7
[ "Apache-2.0" ]
permissive
projectcalico/calico-nova
7692a2d391d41ca23d9282c13a4ed998d9e081e5
d01a4e54df558092702ffeae3cb4551bfb2d7707
refs/heads/calico-readme
2023-06-12T04:10:20.471307
2015-09-07T22:14:51
2015-09-07T22:14:51
21,241,973
7
4
Apache-2.0
2020-08-12T08:58:02
2014-06-26T13:41:49
Python
UTF-8
Python
false
false
969
py
# Copyright 2014 IBM Corp. # # 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 t...
[ "kaufer@us.ibm.com" ]
kaufer@us.ibm.com
ff2fdf9485bb9ed0503010a3bc8eee00abd92789
6fd51fb841fb687d66f2f9e83839663d5158884f
/ee/clickhouse/views/test/test_clickhouse_funnel_correlation.py
5e22a4aa46fb0ac9739f31f8cfaf597cc11058a1
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
sean810720/posthog
1b846b57d62877bff9988577fca3c9bf8720acab
1f951f7c39bbe55c7bcfd92a57bea15a401ea046
refs/heads/master
2023-08-07T01:09:33.008320
2021-10-07T08:41:07
2021-10-07T08:41:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,485
py
import dataclasses import json from datetime import datetime from typing import Any, Dict, Optional, TypedDict from uuid import uuid4 import pytest from django.core.cache import cache from django.test import Client from freezegun import freeze_time from ee.clickhouse.models.event import create_event from posthog.mode...
[ "noreply@github.com" ]
sean810720.noreply@github.com
eba0c62274f2fdbf0b6d65d26e27890f3d410adf
36a54f621ebb1b88c576398f900bf253d06336ad
/backend/app.py
d7b03b570194c9bdc6517eba380264309966ee9c
[]
no_license
g-freire/wind-dashboard
224fa47b512b9c54b2669af78fb155479888a4bd
af2b3dc9f8043ba1d5caf18afbe1a6b91389091b
refs/heads/master
2023-01-11T16:13:46.611203
2019-10-20T01:35:35
2019-10-20T01:35:35
179,980,246
0
0
null
2023-01-07T06:27:17
2019-04-07T14:48:17
TypeScript
UTF-8
Python
false
false
3,559
py
#!/usr/bin/env python3 from random import random, uniform from time import sleep, time import json from threading import Thread, Event # import pyodbc from flask import Flask, render_template, url_for, copy_current_request_context, jsonify,make_response, request from flask_cors import CORS from flask_socketio import ...
[ "g.freire@rioanalytics.com.br" ]
g.freire@rioanalytics.com.br
1fa173f6bfa99361c4de753688e6de4aa025f83f
ea378480ba678eb123ef826e3ca0c3eb8f4e538f
/paused/05. bk old/bk future includes/candidates/06.misc from nodebox/context.py
1d6b06a511c7ed2c494ad636d23c4867059aa457
[]
no_license
msarch/py
67235643666b1ed762d418263f7eed3966d3f522
dcd25e633a87cdb3710e90224e5387d3516c1cd3
refs/heads/master
2021-01-01T05:21:58.175043
2017-05-25T08:15:26
2017-05-25T08:15:26
87,453,820
1
0
null
null
null
null
UTF-8
Python
false
false
155,609
py
#=== CONTEXT ========================================================================================= # 2D NodeBox API in OpenGL. # Authors: Tom De Smedt, Frederik De Bleser # License: BSD (see LICENSE.txt for details). # Copyright (c) 2008 City In A Bottle (cityinabottle.org) # http://cityinabottle.org/nodebox # All...
[ "msarch@free.fr" ]
msarch@free.fr
7cf435eb848c7d03f3f9aad53f457dca59045ba8
fb91c53b311cf191bc0f3a4efe5b1a0ba197944e
/play/tmp/0003_auto__add_field_coupon_coupons_released.py
e83fcdb8627bc6416c6a929aaadb00a6125eb43e
[ "MIT" ]
permissive
fraferra/PlayCity
e0ba878c52a321afbdbba68d25717b29a5dd3109
2bf97c30599b686ca0e642d1ebaf73fc99705291
refs/heads/master
2021-01-19T16:26:24.955470
2014-08-08T21:56:08
2014-08-08T21:56:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,807
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Coupon.coupons_released' db.add_column(u'play_coupon', 'c...
[ "fraferra@cisco.com" ]
fraferra@cisco.com
fb42934d23cdc94376fa7676d0d959c43185e4a6
c42c21ca1d17595f0163097d521252c95d4ba08e
/game.py
384e99a149b85c76a39ce8f9b114024cd65af5ea
[]
no_license
deepsleeping/dev
913892b985df2287806cae6c2051aef6eaf07bf7
3c8d9a3034da6dad9cbbcbffa5224cf76cbbc37e
refs/heads/master
2021-01-13T17:24:06.996392
2017-02-13T11:45:29
2017-02-13T11:45:29
81,791,861
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
import random print("반가워") point = 10 rand=random.randrange(1,11) tong=[] while(point>0): i=input("1부터10까지중 원하는 숫자를 골라서 적어") if(rand>int(i)): point = point -1 tong.append(i) print("그 숫자보단 커") elif(rand<int(i)): point = point -1 tong.append(i) print("그 숫자보단 작아") else: print("축하해") print("네 점수는 {}점 ...
[ "kimrung4130@gmail.com" ]
kimrung4130@gmail.com
e4f7d50b81def02a4fc5c109097676d372a8b5c3
fbb12b2b7dcf7f2a33235f6766b4176c083a0c8e
/ARsyntax/workflow/rules/pseudoReplicates.smk
66d10732db24581cccd7e5b362ac228197b0e3d1
[]
no_license
birkiy/TermProjectCOMP541
b76c8fa3a01e48dc302dc040a2c499c2c9f1b8ba
400a81765889a21d0590b599c4ba0e529a56e3ca
refs/heads/main
2023-01-19T21:36:55.085293
2020-11-30T12:59:14
2020-11-30T12:59:14
306,048,866
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
smk
folder = "results/mapping/processed" rule pseudoReplicates: input: "results/mapping/processed/{raw}.merged.final.bam" output: header=temp("results/mapping/processed/{raw}.merged.header.final.sam"), pseudo1="results/mapping/processed/{raw}.pseudo1.final.b...
[ "umutberkayaltintas@gmail.com" ]
umutberkayaltintas@gmail.com
b7345219fb5ba716b3fed095337bf4ff6b1df307
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/nwxtho001/question2.py
e5b2fd67ffe16d5f456ab603de434f28d2291d9f
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
2,398
py
print ("Welcome to the 30 Second Rule Expert\n------------------------------------\nAnswer the following questions by selecting from among the options.") seen = input ('Did anyone see you? (yes/no)\n') if seen == 'yes' : seen_type = input ('Was it a boss/lover/parent? (yes/no)\n') if seen_type == 'no' : ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
b4c6f3998452f1ebf85e09914d0b178af59e03e1
0b55f95166e5b8d76f0a12ed223dc1a37b739c03
/src/py/trainlib/norm_train.py
a8fc16dc6a863bbb2640298c7d0ba0f5d0c9dc41
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
lbumbolo/ShapeVariationAnalyzer
d183f5138a67992c5d14e67034c53df8ebd48d08
976e22cbacc87fb593d92e24cbdbba6c99a64060
refs/heads/master
2020-08-08T06:01:07.090597
2019-10-15T21:02:33
2019-10-15T21:02:33
213,746,294
0
0
Apache-2.0
2019-10-08T20:24:37
2019-10-08T20:24:37
null
UTF-8
Python
false
false
7,245
py
import numpy as np import tensorflow as tf from six.moves import cPickle as pickle from six.moves import range import argparse import norm_nn as nn import os import pandas as pd from sklearn.preprocessing import MinMaxScaler from sklearn.metrics import mean_squared_error from datetime import datetime from math import ...
[ "juanprietob@gmail.com" ]
juanprietob@gmail.com
9d5debcb9f80b706bfaf5b69b6b8ba1db581e571
88df0c723112277cd63783a3609c2fcd8eff525d
/BOJ/4949.py
57fc068539dce32d471aa3866b09a6effbae30e5
[]
no_license
JHW0900/Problem_Sloving
72fc020f567eab2689dd9371c6d237c8777ce9fd
0094ad023263cb2fa9872ddbaf98f96af810767f
refs/heads/main
2023-06-29T04:37:58.396901
2021-08-06T23:13:20
2021-08-06T23:13:20
324,377,571
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
import sys input = sys.stdin.readline tuple_types = {'(': ')', '[': ']'} prev = [] while True: now = cmd = list(map(str, input().rstrip())) stack = [] if len(now) == 1 and now[0] == '.': break # if not cmd[-1] == '.': # prev += cmd # continue # else: # cmd = prev + cmd # prev = [] for...
[ "jhw0900@gmail.com" ]
jhw0900@gmail.com
535f22dc015e9609cba7c8829680c4e77a5af4c9
e8db54847a0f2d2878579dc9feb269e60ec5019d
/python/login.py
b570cdc7479dd0a30ad7cf0c838500e3bd209980
[]
no_license
Poseidon1979/Tanzu_GitOps_demo
62dd60f72a6f5f084186484937b6787703b1f80a
7cf6753c1b27d8905282155e38c2723c5db25c2d
refs/heads/main
2023-04-24T12:01:34.844768
2021-05-17T11:58:53
2021-05-17T11:58:53
359,063,203
0
0
null
null
null
null
UTF-8
Python
false
false
1,925
py
from requests.auth import HTTPBasicAuth, HTTPDigestAuth from pathlib import Path import json import requests s = requests.Session() def get_clusters(): url_vcenter = 'https://vcsa-01.haas-451.pez.vmware.com/rest/com/vmware/cis/session' username_vcenter = 'administrator@vsphere.local' password_vcenter = 'rsKNMG...
[ "paul.yang1979@gmail.com" ]
paul.yang1979@gmail.com
fb5219a026dbe5e28b72b4d3c360e4020955bb23
a1bbcdcbd174748c753a04930521edb63c920105
/launcher.py
331e48cc55542f053fb9e71d34164870333ff005
[ "MIT" ]
permissive
palmtrww/Discord.py-Music-Bot
85e4a5dbd9af53d035b1ef4fb35ccbb4a949ac5f
b9290924209e3708f7aec6d4c7b31eebdf35741d
refs/heads/main
2023-06-05T16:50:59.138252
2021-06-25T03:37:03
2021-06-25T03:37:03
380,049,529
2
1
null
null
null
null
UTF-8
Python
false
false
122
py
from bot import MusicBot def main(): bot = MusicBot() bot.run() if __name__ == "__main__": main()
[ "noreply@github.com" ]
palmtrww.noreply@github.com
26f36f99e3b9ef14808b1fb7abada37a0237de7b
a6c516f69b29dfc0b6a82078b9e5e74be856dd94
/models/spectra.py
601aabe978c8145f180202745657b148bf43816c
[]
no_license
scottwedge/InfraredSpectraDBApp
894469b88947de420347bc767661ff057ee00b04
d451a6613e4669fe09cddc7164913d85320878fc
refs/heads/master
2021-05-16T19:00:36.065396
2019-06-17T10:53:19
2019-06-17T10:53:19
250,430,443
0
0
null
2020-03-27T03:25:05
2020-03-27T03:25:04
null
UTF-8
Python
false
false
924
py
from sqlalchemy import ( Column, Index, Integer, Text, ForeignKey, String, ) from .meta import Base from sqlalchemy.orm import relationship class Spectra(Base): __tablename__ = 'Spectra' spectra_id = Column(Integer, primary_key=True) label = Column(String(32), nullab...
[ "noreply@github.com" ]
scottwedge.noreply@github.com
f486e9a0a0c4bfa8648db2f3ab716096708a8df8
4b7e282fe480415f5d52c0fc0429f144156190fe
/google/ads/googleads/v8/common/types/feed_common.py
12888a33eb9f184c2402a3337e503e869b2be75f
[ "Apache-2.0" ]
permissive
Z2Xsoft/google-ads-python
c4750357bb19da91bb3b6bf2fa84bef9d2df36d3
1779d52a0446c8afb2437b0a9e103dcb849f5590
refs/heads/main
2023-08-18T15:22:17.840364
2021-09-26T04:08:53
2021-09-26T04:08:53
410,444,398
0
0
Apache-2.0
2021-09-26T04:08:53
2021-09-26T03:55:38
null
UTF-8
Python
false
false
1,263
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
Z2Xsoft.noreply@github.com
88378b845ff068fb43132006a8b345799334f79d
155a404b32b8e2708595c92dbce0e91a2d6949b3
/tensorflow/batch_normalization_practice.py
f3ff93500e2f2c36d76c2d11de6d9efddcb73783
[]
no_license
shykuopo/Python
c17b4d1da59f0fcf15f90632bad4e758676ca9f7
e382dd924da0580a244e0852e4550915ff4a1e62
refs/heads/master
2021-05-15T23:27:31.751004
2017-10-10T09:44:35
2017-10-10T09:44:35
106,391,147
0
0
null
null
null
null
UTF-8
Python
false
false
5,968
py
import numpy as np import tensorflow as tf import matplotlib.pyplot as plt ACTIVATION = tf.nn.relu N_LAYERS = 7 N_HIDDEN_UNITS = 30 def fix_seed(seed=1): # reproducible np.random.seed(seed) tf.set_random_seed(seed) def plot_his(inputs, inputs_norm): # plot histogram for the inputs of every layer ...
[ "Sam82267535@yahoo.com.tw" ]
Sam82267535@yahoo.com.tw
ffc66bf74de39af85ba59380d90ca0ccdb914a3e
8ea17c587875d9342b25492ef325e372eed59126
/crowdcropper.py
13357f95440dc47218f1a862ca4f2452ecc5b379
[]
no_license
rcui/crowdanalytic
eb370dcd27def2f2cb2d0c716bce5b8e85107afb
ac5e5d398a56c0ea7759f521c54e81235891f32a
refs/heads/master
2021-05-04T08:51:10.456448
2016-10-09T02:57:03
2016-10-09T02:57:03
70,372,082
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
import os import numpy import cv2 face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_alt.xml') img = cv2.imread('srcimg/crowd.jpg') gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) faces = face_cascade.detectMultiScale(gray, 1.1, 5) cropped = [] for (x,y,w,h) in faces: cv2.rectangle(img,(x,y),(x+w,y+h),(...
[ "rcui@umass.edu" ]
rcui@umass.edu