blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 69 | license_type stringclasses 2
values | repo_name stringlengths 5 118 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 63 | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 2.91k 686M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 213
values | src_encoding stringclasses 30
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 2 10.3M | extension stringclasses 246
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6520b992ca2c8cb414b63226a294c939a1321829 | d8c7821feb6288d9406e8300d44a5bd0e1721f44 | /tests/test_bestip.py | 4cf35df7f4568f2d178104b393627f52c9a4527d | [
"MIT"
] | permissive | darwinwen/mootdx | aa28f2f933727bcd1852230df8c81baef53f221b | 71f390dcabfabe884c77bfd0f947c857b44af7a6 | refs/heads/master | 2023-08-11T07:58:28.774341 | 2021-09-22T06:39:18 | 2021-09-22T06:39:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 320 | py | import unittest
from pathlib import Path
from mootdx import config
class TestBestIP(unittest.TestCase):
def setUp(self) -> None:
conf = Path.home() / '.mootdx' / 'config.json'
conf.unlink()
def test_config_setup(self):
config.setup()
if __name__ == '__main__':
unittest.main()
| [
"ibopo@126.com"
] | ibopo@126.com |
53059ec1496f3a49add846de1ceb5c1407985d80 | 56b86dc09bd8f23323b1e0cc1ef1f5d7012a6a13 | /constant.py | bcbd90112604d608cd4ab25c68b5491edcdb4908 | [] | no_license | hirenchalodiya1/aryabhatta-scripts | d5222b549164dfe51398c79f76127485c1a2a8be | 972c47a23258dbf2e195585b2308e0529b7c2c00 | refs/heads/main | 2021-06-26T05:11:09.764240 | 2021-06-08T08:48:30 | 2021-06-08T08:48:30 | 218,305,875 | 0 | 0 | null | 2019-10-29T14:24:41 | 2019-10-29T14:24:40 | null | UTF-8 | Python | false | false | 69 | py | from decouple import config
BASE_URL = config("BASE_URL", cast=str)
| [
"hirenchalodiya99@gmail.com"
] | hirenchalodiya99@gmail.com |
f15ffb0a2d4c5067568f7169e5e32b68f119fadf | a6135977d88f405099aa5487b24567a91f9f17a9 | /setup.py | 5573e9e91de72d3399eb89fe483a91aeacb2c959 | [
"MIT"
] | permissive | mylh/scrapeblock | dac5042e5dce811129fe26535a4cc374764c0df4 | 68c1c2b77c42f5c0121dc65305e6fff51afcb3ca | refs/heads/master | 2021-01-12T12:03:56.481438 | 2016-12-03T11:17:06 | 2016-12-03T11:17:06 | 69,112,705 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,359 | py | from setuptools import setup, find_packages
setup(
name='scrapeblock',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1',
descript... | [
"s317011@gmail.com"
] | s317011@gmail.com |
9521e3a1b1a99aff90c4e224ac15617d2049819f | dc7f63c70b3c25f4698dd19e103df94a0e30fd0c | /PyGameStart/практика/e.py | e1f36892319c294fdddcff0e6ea712ed8e700703 | [] | no_license | NikitaPoskrebyshev/Practice | 76e9f1e54bf737fd2f06618fcbe2fb4e9100b24e | df2a4894d9735f34236ad0ec441ba01bf468f92d | refs/heads/master | 2023-01-02T19:43:00.836131 | 2020-10-26T14:57:24 | 2020-10-26T14:57:24 | 293,818,908 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 887 | py | import pygame as pg
from random import randint as rn
pg.init()
wind = pg.display.set_mode([825, 540])
white = (255, 255, 255)
black = (000, 000, 000)
green = (0, 200, 64)
yellow = (255, 255, 0)
red = (255, 0, 0)
gray = (125, 125, 125)
x1 = red
x2 = yellow
x3 = green
fps = 30
clock = pg.time.Clock()
n = 0
f = 0
while Tr... | [
"box051604@hotmail.com"
] | box051604@hotmail.com |
938e8dd79fb4aa182dc486774b8744540aeb5bf8 | 56ae394db9ed7b4d041aaa485d0f7a297b66d727 | /nBayesClassifier.py | ddffde680fad09677f4baf36e680feff3d13056c | [] | no_license | CSL551/ailab2_nBayes | 0eb581f21e5c8f3de7a0736d21efe510a7dfbb08 | 2f3c4bd4835470b6bca55c8b2c148953b3cfa796 | refs/heads/master | 2021-01-21T14:52:33.885981 | 2017-06-24T04:18:21 | 2017-06-24T04:18:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,883 | py | from __future__ import division
import numpy as np
from scipy.sparse import vstack
from getFeature import X, y
def nBayesClassifier(traindata, trainlabel, testdata, testlabel, threshold):
n = traindata.shape[0] # number of training samples
m = traindata.shape[1] # size of Bag of Words
p_wi_pos = np.... | [
"wjszzyx@sohu.com"
] | wjszzyx@sohu.com |
b1db8ab3edf1feb0d31266aff843f54b894baf65 | 217d69e096e96a50a85a9888424d9b368ce0e605 | /models/engine/file_storage.py | 222e10f34c8e23860f96a1e5c8ce1c1fc5e328fe | [] | no_license | 02KellyV/Example_airbnb | e6cae8b98252b1544245038d33ba4106596861f2 | daebcf30d2bb8345d15fa3a957b192e1ae0374b2 | refs/heads/master | 2021-01-07T10:59:27.347146 | 2020-02-19T16:50:33 | 2020-02-19T16:50:33 | 241,670,426 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,415 | py |
import json
import os.path
from models.base_model import BaseModel
class FileStorage:
"""Class for Serializes and Deserializes"""
__file_path = "file.json" #is a file
__objects = {} #is a dict
def all(self):
"""returns the dict __objects"""
return self.__objects
def new(self, obj... | [
"900@holbertonschool.com"
] | 900@holbertonschool.com |
f3ca0981b6eac4ddc276ebdf8e53f165944caf80 | 6022bddd63001e4f259cbf472237976c3c2d8be3 | /Restricted_cover_drone/SA for drone Mk5.3.py | 1ef0e95ebdab530bdff1403dcfae6739e1c7b56f | [] | no_license | iaminsu/Python | 772bfe661fa0abae6c11d899ddc388f36f9f3ac7 | 29b518e3075c4b7cc2d798fed28271b5790573d1 | refs/heads/master | 2021-01-16T18:07:28.212444 | 2017-02-20T20:00:51 | 2017-02-20T20:00:51 | 100,039,101 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 36,304 | py | #Simulated annealing for location optimization of recharging stations for drone delivery system
#MCLP
#
# 1. using pre-made dictionary from ArcGIS to use attribute tables: read order always follows FID, so it is maintained.
# 2. spatial relationship is assessed by shapley
# - ESP distance should be utilzed to mea... | [
"iaminsu@gmail.com"
] | iaminsu@gmail.com |
7fddcf6995bd4055ff3467b8b17574821ff7e605 | 141711061038d0a88eab8182e574fcdb2a70c57e | /instagramcrawler/pipelines.py | 3a1f7d4033c538bfbfe01f1033e358f39e222a74 | [] | no_license | NISH1001/instagramcrawler | c0293bfa5e4db6356eefca9980f540acdf114443 | 13e789bd2aeae70012b4c1e3e318dd8611b05f9b | refs/heads/master | 2021-01-20T18:36:02.749125 | 2016-07-25T12:14:49 | 2016-07-25T12:14:49 | 64,131,184 | 10 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,355 | py | # -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html
import json
class InstagramcrawlerPipeline(object):
def __init__(self):
self.owner = {}
self.followers_dat... | [
"nishanpantha@gmail.com"
] | nishanpantha@gmail.com |
f88d91ca6023dd9b7839346963706e6bbbc89ea8 | 2591b2b409b8cefedd6b226f0381aafea2aa123c | /leads/signals.py | 88fc047ef17a8bcc1b5cfff148eed68560c6d1b4 | [
"MIT"
] | permissive | coderj001/Django-CRM | ae5f0cb6b6c5b5dba1e0713c32978f49b021e39f | 7cca0df5d39b92082781047c1f0a11129179f257 | refs/heads/master | 2023-08-14T02:38:26.534561 | 2021-09-15T06:38:45 | 2021-09-15T06:38:45 | 369,114,686 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 297 | py | from django.db.models.signals import post_save
from django.dispatch import receiver
from leads.models import User, UserProfile
@receiver(post_save, sender=User)
def post_user_created_signal(sender, instance, created, **kwargs):
if created:
UserProfile.objects.create(user=instance)
| [
"amirajubolchi001@gmail.com"
] | amirajubolchi001@gmail.com |
c9e7bc67c4d70d25125930d72994a97f87a38b50 | 003d49fa17fea3644ae71151e44a45dfccb96d3d | /tests/system/pfrbeat.py | 66974c6977d26b87a11277dbf1c37c11ca70491a | [
"Apache-2.0"
] | permissive | tak7iji/pfrbeat | b5ba75a842a92cb07e11e2874d9a19fbee6f00d4 | 72a61f93d44d50d65b1397e1df92bdf3fd8ca381 | refs/heads/master | 2020-01-27T10:03:23.779745 | 2016-09-06T00:43:48 | 2016-09-06T00:43:48 | 67,460,066 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 326 | py | import sys
sys.path.append('../../vendor/github.com/elastic/beats/libbeat/tests/system')
from beat.beat import TestCase
class BaseTest(TestCase):
@classmethod
def setUpClass(self):
self.beat_name = "pfrbeat"
self.build_path = "../../build/system-tests/"
self.beat_path = "../../pfrbeat.... | [
"tak7iji@gmail.com"
] | tak7iji@gmail.com |
e51b2093ee74eae80647ebd11a071cc3e3629f30 | e6356a713dac5a13cced51e4ebaf6b67ea275184 | /Arduino_Control_Sistem_1.02_64bit.py | db564204bda9772218f56d94fd7ef3729c44fc7b | [
"MIT"
] | permissive | olegzh7505/Arduino-Control-System | 88e2834b504daf4ff6b6ef3b1f7188b3bf8c38ae | 90ba3d1d07c9a48a3552241739663e36c4f26d1c | refs/heads/main | 2023-01-18T18:58:56.716226 | 2020-11-20T15:24:51 | 2020-11-20T15:24:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 41,408 | py | import sys
from PyQt5.QtWidgets import QWidget, QApplication, QLabel, QFileDialog, QSlider, QMenu, QMenuBar, QLCDNumber
from PyQt5.QtWidgets import QPushButton, QLineEdit, QCheckBox, QRadioButton, QButtonGroup, QAction
from PyQt5.QtCore import Qt
from threading import Thread
import serial
import glob
# Разрабо... | [
"noreply@github.com"
] | olegzh7505.noreply@github.com |
442b035527b9fdc7e66642b0c37964b41e238554 | ded10c2f2f5f91c44ec950237a59225e8486abd8 | /.history/2/matrix_squaring_20200421184046.py | 07c3efd241b763cb74404048ea5fb45bbb30e3b3 | [] | no_license | jearistiz/Statistical-Physics-Projects | 276a86407b32ded4e06b32efb2fadbd8eff8daed | d9c5b16a50856e148dc8604d92b6de3ea21fc552 | refs/heads/master | 2022-11-05T03:41:23.623050 | 2020-06-28T06:36:05 | 2020-06-28T06:36:05 | 254,909,897 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 23,095 | py | # -*- coding: utf-8 -*-
from __future__ import division
import os
import numpy as np
import matplotlib.pyplot as plt
from time import time
import pandas as pd
# Author: Juan Esteban Aristizabal-Zuluaga
# date: 20200414
def rho_free(x,xp,beta):
"""Uso: devuelve elemento de matriz dsnsidad para el caso de una part... | [
"jeaz.git@gmail.com"
] | jeaz.git@gmail.com |
b75d87acdf164ee9e6dbbcfb5307c98cc1673af6 | 484a2df8f642cd6c44f7eb98befa8771b18abbaa | /anagram_021.py | d9cd23c90c1e59af97e1c73c275a3971ac0991c4 | [] | no_license | abasse-lab/CA117_PYTHON_LABS | 78b57bdc0aa563516c14447e02fe8301e5a18333 | 2dff2d55d8302051face20f2e06fb815624c5fd7 | refs/heads/master | 2022-09-13T18:15:39.643000 | 2020-05-29T22:49:52 | 2020-05-29T22:49:52 | 259,939,123 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 260 | py | #!/usr/bin/env python3
import sys
for line in sys.stdin:
[left, right] = line.strip().split()
list_str1 = list(left)
list_str1.sort()
list_str2 = list(right)
list_str2.sort()
if list_str1 == list_str2:
print(True)
else:
print(False)
| [
"noreply@github.com"
] | abasse-lab.noreply@github.com |
8d8785cec29f765e4ce2ba0c02fb28ab59b55104 | bb00f6dad7248296db3e1f708ce099bdea53bba1 | /漫画爬虫/动漫之家.py | cc176550cc684fccbf115f638836f514e7df4d3e | [] | no_license | sengeiou/python | b91f1537cd9eb87ae99f46c4c8b21b285111f415 | cbef6445df3ef59ac3b4cb7e706ce8a2976ee2ed | refs/heads/master | 2023-05-28T23:33:51.913149 | 2021-06-12T09:36:26 | 2021-06-12T09:41:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,479 | py | import requests
import os
import re
from bs4 import *
from contextlib import *
from tqdm import *
from time import *
# 创建保存目录
save_dir = '妖神记'
if save_dir not in os.listdir('./'):
os.mkdir(save_dir)
target_url = "https://www.dmzj.com/info/yaoshenji.html"
# 获取动漫章节链接和章节名
r = requests.get(url = target_url)
bs = Bea... | [
"leyuxuan1230@aliyun.com"
] | leyuxuan1230@aliyun.com |
5dec90b58863acc02eace86c46807f72c1e085a4 | a4d339bc0794f7a1770e63ee78035d6e6c52b2ec | /src/myLineSearch.py | 2b1257d61938431e381442de22a668f43bdb6dff | [] | no_license | matthiasware/nlp-solver | ab82fcc1296df026a969b8ae11609427ac6907d1 | df9c750378155d091624c7816a0f766accd09afd | refs/heads/master | 2020-04-12T11:58:19.681705 | 2018-12-20T00:40:35 | 2018-12-20T00:40:35 | 162,478,297 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,176 | py | from __future__ import division, print_function, absolute_import
from warnings import warn
from scipy.optimize import minpack2
import numpy as np
from scipy._lib.six import xrange
__all__ = ['LineSearchWarning', 'line_search_wolfe1', 'line_search_wolfe2',
'scalar_search_wolfe1', 'scalar_search_wolfe2',
... | [
"matthias@mitterreiter.de"
] | matthias@mitterreiter.de |
829b749f4cee3c98575c7f598245c168f036ea5e | 67b0379a12a60e9f26232b81047de3470c4a9ff9 | /hotline/utils.py | e2f6ee454c726943242857094b18b04a9eb73a3a | [] | no_license | vintkor/whitemandarin | 8ea9022b889fac718e0858873a07c586cf8da729 | 5afcfc5eef1bb1cc2febf519b04a4819a7b9648f | refs/heads/master | 2021-05-06T03:35:09.367375 | 2017-12-20T15:43:08 | 2017-12-20T15:43:08 | 114,904,110 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,242 | py | # -*- coding: utf-8 -*-
from grab import Grab
from pyquery import PyQuery as pq
import json
import os
from cms.local_settings import PROJECT_PATH
import re
from shop.models import *
import time
def scanhot(pageurl):
proxy = Proxy.objects.filter(banned=False).order_by('?')
if proxy:
proxy = proxy[0]
... | [
"alkv84@yandex.ru"
] | alkv84@yandex.ru |
5afb22c8a9dc87d352c40841a189e5ed0c9e9ddf | 197e8216091b4e55f01fd837327f1f64301b7f7d | /abballsitesmrr/__init__.py | fd77e8c8517e2a2d69ca7dd6c7139921f184cde1 | [] | no_license | jcarter62/getabbflow | 1b2bce976ce3e438f6c33fc713d71e4eec33890f | 69bc89808c8df12ec72ee2cbcb9b0b01d91ca277 | refs/heads/master | 2022-12-12T12:00:47.391918 | 2020-01-04T01:17:34 | 2020-01-04T01:17:34 | 214,252,662 | 0 | 0 | null | 2022-12-08T06:42:29 | 2019-10-10T18:08:41 | Python | UTF-8 | Python | false | false | 463 | py | from abbsitemrr import AbbSiteMRR
from abbsites import AbbSites
class AbbAllSitesMRR:
def __init__(self):
self.sites = AbbSites()
self.data = []
sitemrr = AbbSiteMRR()
for s in self.sites.names:
sitemrr.set_name(name=s)
if sitemrr.record is None:
... | [
"jcarter62@gmail.com"
] | jcarter62@gmail.com |
8f8dd3be93c994a551cfa0c126b84be79eaa9ca9 | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/0/bgl.py | 806981be4c75fcf9e99552991750506b610faa08 | [] | 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 |
48b7105c6dfd465db3b3a7c65c2cc69ff8163601 | b2fef77e77f77b6cfd83da4ec2f89cbe73330844 | /tests/test_vis_cam.py | bb3ff7237aa5aa39cfa85a7a1bc925671d1024e8 | [
"Apache-2.0"
] | permissive | Project-MONAI/MONAI | 8ef2593cc5fd1cd16e13464f927fe563fe3f5bac | e48c3e2c741fa3fc705c4425d17ac4a5afac6c47 | refs/heads/dev | 2023-09-02T00:21:04.532596 | 2023-09-01T06:46:45 | 2023-09-01T06:46:45 | 214,485,001 | 4,805 | 996 | Apache-2.0 | 2023-09-14T15:19:30 | 2019-10-11T16:41:38 | Python | UTF-8 | Python | false | false | 3,088 | py | # Copyright (c) MONAI Consortium
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, so... | [
"noreply@github.com"
] | Project-MONAI.noreply@github.com |
2058bf85584d80481f537ccf94197056e073335b | 4bc29617a307de54a7fe300c8e863f03321bd003 | /lib/python3.8/site-packages/trytond/model/modelsql.py | 9be8b62e7d562ca328830c8ccd9579d121aff876 | [] | no_license | Davidoff2103/tryton-training | f594970e77646f0ffeb42eb4f903252ff0b6c201 | 8d1ec4f2b623f7ca48f38bfda2ac15c01ded35a7 | refs/heads/master | 2023-06-01T11:55:05.400233 | 2021-06-09T10:06:56 | 2021-06-09T10:06:56 | 375,275,666 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 62,268 | py | # This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
import datetime
from itertools import islice, chain
from collections import OrderedDict
from functools import wraps
from sql import (Table, Column, Literal, Desc, Asc, Express... | [
"davidoff.d777@gmail.com"
] | davidoff.d777@gmail.com |
b71eeb68d50f96ca1b3d4b185d6a8abb13b6cd2f | ceecb47aff5436666847866d947cb36438ca409b | /linktv/build/lib/linktv/spiders/linktv.py | 08114c7cf7247f38b0f5fdfc5fdbc5e48b7155f4 | [] | no_license | jinserk/muffin | 87865b829a47dd64fd84734e27ea83d4fcfa0dc5 | 9aa30bfa35a8a2b1405b62d1f04d5f77194735c1 | refs/heads/master | 2021-01-12T14:36:06.265577 | 2017-01-12T19:07:22 | 2017-01-12T19:07:22 | 72,035,064 | 0 | 0 | null | 2016-10-26T19:00:10 | 2016-10-26T19:00:10 | null | UTF-8 | Python | false | false | 1,840 | py | # -*- coding: utf-8 -*-
from scrapy.spiders import Spider, Rule
from scrapy import Selector, Request
from linktv.items import LinkTvItem
from urllib.parse import unquote
programs = [
{ "name": "JTBC 뉴스룸",
"keyword": "jtbc 뉴스룸",
},
{ "name": "JTBC 이규연의 스포트라이트",
"keyword": "이규연의 스포트라이트",
},
... | [
"jinserk.baik@gmail.com"
] | jinserk.baik@gmail.com |
09fbb02ab8030b7f82df484b5ad485863f4c58ab | da2dd7e904e3bbe9d3b8b13e6fdf3b573f463569 | /crypto_tools/mersenne_twister_rng.py | bfcc92de84db98e8b0dc815ce9a2689a1bc59e4c | [] | no_license | c60cb859/cryptopals | 35430f87f9dbe9a8817f24aca6dd77cec4c6a01d | 8b4202189005943d6b102c5cafa1382a2e1cf191 | refs/heads/master | 2021-05-26T07:41:38.545991 | 2020-02-27T11:48:38 | 2020-02-27T11:48:38 | 127,932,373 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,763 | py | #!/usr/bin/env python3
class MersenneTwister19937:
def __init__(self, seed=5489):
(self.w, self.n, self.m, self.r) = (32, 624, 397, 31)
self.a = 0x9908B0DF
(self.u, self.d) = (11, 0xFFFFFFFF)
(self.s, self.b) = (7, 0x9D2C5680)
(self.t, self.c) = (15, 0xEFC60000)
sel... | [
"theis.christensen@pentest.ngs"
] | theis.christensen@pentest.ngs |
73da815963b6122dd39391ee1e80d2ff67b5aa34 | 1df6bfec4e2edf134f3ae8283707309db06733de | /wsgi.py | a0c796789a151cf5aaf869d2111223942c1a2b84 | [] | no_license | stevexxs/pythia | 6ec03c62dfd415edcc6aff561021de051a605586 | 55abe950e4c6ae76b92262f1a1ec419dcf2fdb9b | refs/heads/master | 2023-06-04T14:39:27.609006 | 2019-05-03T07:11:37 | 2019-05-03T07:11:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 52 | py | from frontend import create_app
app = create_app()
| [
"b.raml@gmx.at"
] | b.raml@gmx.at |
938d4d33647520d61fcc953ba447d54b7d39c433 | e5262127f206d3be9e5ff8eca492e2486faba664 | /tests/test_yggdrasil.py | 4a1c1b1efbfc1cd6c2c41f9a5e2d994879caff15 | [] | no_license | zerophiel/yggdrasil | 49243f05c7db4585a9dbaa4cdeaf9388224dad5c | 92306cfb818905f1ebf22b6335499ab8ecbb9e1c | refs/heads/master | 2023-02-16T01:10:32.757974 | 2021-01-05T10:24:55 | 2021-01-05T10:24:55 | 326,955,644 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 90 | py | from yggdrasil import __version__
def test_version():
assert __version__ == '0.1.0'
| [
"danuarta.wiratama@gdn-commerce.com"
] | danuarta.wiratama@gdn-commerce.com |
8175ba5b64c0cc6a4d580ae71756d221b1c17067 | d2781dd08e2daff0c0917c8586d01c68fa930c7b | /absortium/tests/unit/test_withdrawal.py | 3774a57ee850fcc6db18224ff363e9cdf24614ff | [] | no_license | absortium/backend | 0ce377f987371a3726f5a64caebfd7ed8e257f1b | 39bc7118be34db7aefe5f80bd4225a4b22750224 | refs/heads/master | 2021-01-21T04:39:54.245505 | 2016-07-23T08:38:35 | 2016-07-23T08:38:35 | 55,866,077 | 0 | 1 | null | 2016-07-21T14:54:38 | 2016-04-09T20:42:15 | Python | UTF-8 | Python | false | false | 3,186 | py | __author__ = 'andrew.shvv@gmail.com'
from django.contrib.auth import get_user_model
from rest_framework.status import HTTP_404_NOT_FOUND
from core.utils.logging import getLogger
from absortium.tests.base import AbsoritumUnitTest
logger = getLogger(__name__)
class WithdrawalTest(AbsoritumUnitTest):
def setUp(se... | [
"andrew.shvv@gmail.com"
] | andrew.shvv@gmail.com |
698b888ca730050b7d005f2c4393960ce3de2414 | 7b1ffeb62370b70d5890ec7d2abc6f36f557e2d0 | /pygame1.py | fe9c486327f0478b114f8d1de356c4502b8f23f5 | [] | no_license | avinash317-tech/Python-Car-Game | fa96eb05458d537b561fa25c47307220a3126b35 | b2aa4fe34613037c2338601a68eb2db93357e237 | refs/heads/main | 2023-08-16T01:02:41.816485 | 2021-10-18T05:47:29 | 2021-10-18T05:47:29 | 418,224,663 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,153 | py | import pygame
import time
import random
pygame.init()
#############
crash_sound = pygame.mixer.Sound("crash.wav")
#############
display_width = 800
display_height = 600
black = (0, 0, 0)
white = (255, 255, 255)
red = (200, 0, 0)
green = (0, 200, 0)
bright_red = (255, 0, 0)
bright_green = (0, 2... | [
"noreply@github.com"
] | avinash317-tech.noreply@github.com |
7172130cab710add3a596cbcab9a3103ab2dd3ee | 40a1ca8ddbdcd96a58703913f98b29b435a42745 | /anagram.py | a805ced2f202e63172f8bb33fb011b4b390d8811 | [] | no_license | GaganDureja/Algorithm-practice | 3eaca2cfc03fcee3671b87b5efda1f950fd36212 | d40e08287754594d016801a093becc3f69f4bcc1 | refs/heads/master | 2023-05-06T11:58:35.471799 | 2021-06-01T03:49:58 | 2021-06-01T03:49:58 | 292,361,813 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 386 | py | # This problem was asked by Google.
# Given a word W and a string S, find all starting indices in S which are anagrams of W.
# For example, given that W is "ab", and S is "abxaba", return 0, 3, and 4.
def anagram(w,s):
res = []
for x in range(len(s)):
word = s[x:x+len(w)]
if word==w or word==w[::... | [
"gagandureja675@gmail.com"
] | gagandureja675@gmail.com |
972072b1a04087179602c473ad273ca40eae9021 | fd39c53fe453616b0226deebc723c71089cb116f | /app/api/V2/user_model.py | 11d6ea8aaedf037381f9fb50983d76d187e240e0 | [] | no_license | ogol254/myblog | e31921ba4980d494038b7d71b8f05988a37e39cc | b993da3833a369edb9bc60ba3a98fc5452a01477 | refs/heads/master | 2020-04-17T04:15:52.290793 | 2019-02-21T14:49:50 | 2019-02-21T14:49:50 | 166,222,061 | 2 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,634 | py | from ...database_config import init_db
from basemodel import BaseModel
class UserModel(BaseModel):
"""docstring for UserModel"""
def __init__(self, name="name", email="email", password="password", username="username"):
self.name = name
self.email = email
self.password = password
... | [
"abramogol@gmail.com"
] | abramogol@gmail.com |
5b09ee0528a4588f11696753640e5c1ab43f86da | 62e08ad817198ec770a2be7e230c4b39902632bf | /DataScienceChallenge6/supermarché/supermarche/supermarche/spiders/superSpider.py | f95e00033f4da7796d15c9c7d48f0ae21b6a4591 | [] | no_license | mgirardot/DataScienceChallenges | c13dd04a07329ec2f3405c095ad0376b6e97c7c0 | b115b3e74b35593b789a6f1e36d262a0ad798c26 | refs/heads/master | 2021-01-15T08:49:23.105573 | 2017-10-09T04:20:22 | 2017-10-09T04:20:22 | 68,781,459 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 27,538 | py | import scrapy
from scrapy import Spider
from scrapy.selector import Selector
from supermarche.items import SupermarcheItem
from scrapy.http import HtmlResponse
class SupermarcheSpider(Spider):
name="supermarche"
allowed_domains = []
#urls = ["http://www.750g.com/recettes_plats.htm?page="+str(x) for x in range(2,21... | [
"michael.girardot@seekpeak-bioinformatics.com"
] | michael.girardot@seekpeak-bioinformatics.com |
19008f4be538236c43a869bb96bc9f4d0daba38c | ced144c64a0c14fef118fe5f065c314b7086e254 | /dmart_01/manage.py | f5009bc2a34d4dca431c84d675615630bc33aa7c | [] | no_license | MaheshwaraVaijapur/dmat_sep_2019 | b65894a8f445ba7db449a8d2e37ac55208d80859 | 2f45810afa2ea2390fe4d7c267acb2b010439f77 | refs/heads/master | 2020-08-01T19:40:14.455945 | 2019-09-26T13:20:27 | 2019-09-26T13:20:27 | 211,095,095 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 649 | 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', 'dmart_01.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
... | [
"maheshbca2010@gmail.com"
] | maheshbca2010@gmail.com |
1d842b90bbd62ad9a447dee16b344d98a669de77 | e115b66c4424847b54a860b977ceebe1904ba056 | /account/urls.py | 9ddca5f881abe25c3600af336e352412be80ae3c | [] | no_license | godwon2095/class_lion_blog | f569eb743bf57c1a2c09e50d48fd3e17d42cf27a | 2659f2aaea9d542ce64d3f28530ca3c30fe82cfb | refs/heads/master | 2020-04-26T18:36:16.295572 | 2019-03-06T15:46:20 | 2019-03-06T15:46:20 | 173,749,138 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 245 | py | from django import contrib
from django.urls import path
from . import views
urlpatterns = [
path('sign_up/', views.sign_up, name="sign_up"),
path('login/', views.login, name="login"),
path('logout/', views.logout, name="logout"),
]
| [
"jsw2095@naver.com"
] | jsw2095@naver.com |
be40302caea9f370748207f19aff7057559d9750 | b054e40b3d075608dba92900297d540fd2003388 | /carshare/migrations/0011_remove_booking_ended.py | 0d609ef9e8eb7e41c86ba05eb42d2e769e8de965 | [] | no_license | Plonq/vroom-car-share | baf90ddb216560e11e3aba0b5ee2986632dfd55c | 972030d9c570e68b2ff11092192bba3ea18d39f1 | refs/heads/master | 2021-03-19T15:26:15.539797 | 2018-04-02T23:03:44 | 2018-04-02T23:03:44 | 102,409,040 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 394 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-10-23 02:04
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('carshare', '0010_auto_20171020_1002'),
]
operations = [
migrations.RemoveField(
... | [
"s3527782@student.rmit.edu.au"
] | s3527782@student.rmit.edu.au |
9ee8a0be78745b7d81f293379b4dcffea3619463 | 23c4ada084136d0924c4b2c7ca27df5bdc52a01c | /tkping/giftool.py | ee2b0e58f73f412c84e3fbd215ac00254e7a2a5e | [] | no_license | feht34/python-sample | bc3715ca75134f179cc35682be0079fccc92e890 | 471d49ef3ef2f16ca7bf968ab3a0b944b1c2edc4 | refs/heads/master | 2021-01-20T06:57:21.771363 | 2015-04-21T04:14:08 | 2015-04-21T04:14:08 | 31,693,353 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,915 | py | __author__ = 'tieh'
import tkinter as tk
GIFSTART = \
'R0lGODlhIAAgAPQAAP9rAP9rAf9xCv9yDP90EP92E/93Fv94Fv+BJv+IM/+ZT/+aUf+gW/+vdv+xeP+0fv+3hP+4hP+5hv+7if/F'\
'm//Rr//dxP/dxf/exv/v5P/27//28P/48v/7+P/+/QAAACH5BAEAAB8ALAAAAAAgACAAAAWr4CeOZGmeaKqqldO8cCzPslN9D6Dv'\
'fO//ukcBICgYj8ikMikADAGTlXQ04UWn0uru... | [
"feht@163.com"
] | feht@163.com |
678429b9b73a52b1c7a0a63b74d9de48672c29ec | f47629de7b55945c8e686a201f635b9d66523605 | /keras-pipeline.py | 527f018e2ebba88b34074ec269e96dfc860af9aa | [] | no_license | skrillberg/DTSL | a71e7469acbc479c216612cc4189d81024ed069f | f8994fef1f680474df3ba5399b4e87a10398e848 | refs/heads/master | 2021-08-30T04:22:08.153110 | 2017-12-16T01:10:49 | 2017-12-16T01:10:49 | 109,423,456 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 8,284 | py | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import os.path
import datetime as dt
import keras
from keras.layers.advanced_activations import LeakyReLU
from keras.models import Sequential
from keras.layers import Dense
from keras.layers import LSTM
import sklearn as sk
import sklearn.preprocess... | [
"brian.kilberg@gmail.com"
] | brian.kilberg@gmail.com |
a82788b8e5de0a6b7d3b686e334b982166d16950 | 543fd700f68d778e515cef372622091d9598ed53 | /gym_virtual_office/envs/__init__.py | 93c354afb1b988be1e2d0f94ede6fb60f5535649 | [] | no_license | gravesec/gym-virtual-office | f964dbf24ee030769de409bc62aed35f3c6d4c92 | 033c91bad5dd74ecfd681eee88dab214e8dbfded | refs/heads/main | 2023-03-16T11:45:49.166798 | 2021-03-02T20:29:52 | 2021-03-02T20:29:52 | 310,744,005 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 72 | py | from gym_virtual_office.envs.virtual_office_env import VirtualOfficeEnv
| [
"graves@ualberta.ca"
] | graves@ualberta.ca |
2c04b37f2803ad958fabfab7ebe717d712fcdb86 | 7b8ff0f8642fcb2cfbe75cae2c19b82ee0f765de | /torch_code/seg_of_rectum/div_of_regtum/emb_train.py | 99ace8cfbd042f7feddee4a18070a8dba58aeaa0 | [] | no_license | Moeo3/nevertrustanyone | 9c8b5f6aa410a88dc547e922b2f144a095fa3fc9 | b957b5d34d311e602c1ab8af306081ae0c4b765e | refs/heads/master | 2023-02-15T20:01:17.380376 | 2021-01-10T18:15:23 | 2021-01-10T18:15:23 | 325,161,965 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,972 | py | from dice_loss import DiceLoss
from unet import UNet
from emb_dataset import EmbDataset
import torch
from torch.optim import Adam
from torch.optim.lr_scheduler import StepLR
import os
from torch.utils.data import DataLoader
import xlwt
from torch.nn import BatchNorm2d, Conv2d
from torch.nn.init import kaiming_normal_
... | [
"moeo3@hotmail.com"
] | moeo3@hotmail.com |
8a0763af473c434edf81585b62087042c138499c | 418e890e4d56535830c3ac46d5de45666f4d7cc4 | /experiments/migrations/0003_auto_20160808_1507.py | a8c9469f53cf89e1784f1e739deedf7c7d6eb324 | [] | no_license | alonappleboim/labdb | 87d161451143017318588d8cdf9cbd09128b29cd | 5a04fe57350d69176cc832964fa20ebd9248b558 | refs/heads/master | 2021-01-20T19:27:23.659832 | 2016-08-08T14:34:01 | 2016-08-08T14:34:01 | 64,955,363 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,136 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-08-08 12:07
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('experiments', '0002_auto_20160808_0004'),
]
operations = [
migrations.RemoveF... | [
"alonappleboim@gmail.com"
] | alonappleboim@gmail.com |
543e8cec710889161acb56067571833d8ab5fefa | d8b7d6f4f947a4c72b9efa996d0ecd6156ff1818 | /apps/operation/migrations/0001_initial.py | 7a228366dc5e7f34bcf10249c8f459cd461b6103 | [] | no_license | MjSeven/MxOnlie | 71a0f563d5558b40085d39e806b1963ae366356f | 3f7fd83c7adbed899a3f4fdf69b2a3900b6d0de9 | refs/heads/master | 2020-03-23T16:32:23.654166 | 2018-07-25T08:16:31 | 2018-07-25T08:16:31 | 141,816,170 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,441 | py | # Generated by Django 2.0.7 on 2018-07-21 22:04
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='CourseComments',
fields=[
(... | [
"yuchenmj@163.com"
] | yuchenmj@163.com |
1df2a2aed62fe4a0e04dc66c6288fd1f89c5ef0e | 01d2b09cb905be1de4ad4454ff9aa3ebcd139613 | /python/gutenberg.py | 88c3237847d88af81abf316c0e7d2f0e159dcdb9 | [] | no_license | quickly3/fun-python | d468678ed16bdb8e5fd732e5fe1721fa98e8258f | fc2086c8e68817fb8af540330f2b095316416dc6 | refs/heads/master | 2020-11-30T08:27:37.455682 | 2019-12-27T03:17:15 | 2019-12-27T03:17:15 | 230,356,148 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 271 | py | #!/usr/bin/python
# -*- coding: UTF-8 -*-
# import nltk
# # print nltk.corpus.gutenberg.fileids()
# emma = nltk.corpus.gutenberg.words('austen-emma.txt')
# print len(set([w.lower() for w in emma]))
tup = (1,2);
# print type(tup)
#
list1 = list(tup)
print list1[1]
| [
"hongbin@inceptionpad.com"
] | hongbin@inceptionpad.com |
d027b8a7f8bb72ba4af08fb477f9304a181f3206 | b4821fc60d7b61d1df00159f0fa0640379b14aaa | /Python_Algos/store_and_products/store_and_products.py | 497060201873ac96b7811d2c57a0a9098dfd1989 | [] | no_license | Lstedmanfalls/Algorithms | fefdfc1b7398e385544bedb9e899745e614593e9 | 8fa5a0c9acb1da779a8b3539a9e9cfb5792e093b | refs/heads/main | 2023-08-20T05:26:40.115860 | 2021-10-25T19:07:12 | 2021-10-25T19:07:12 | 392,750,762 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,228 | py | from product_class_module import Product
from store_class_module import Store
Safeway = Store("Safeway")
banana = Product("banana", 100, "fruit")
mango = Product("mango", 50, "fruit")
cheese = Product("cheese", 10, "dairy")
Safeway.add_product(banana) # Adding banana
Safeway.add_product(mango) # Adding mango
Safeway.... | [
"lstedmanfalls@gmail.com"
] | lstedmanfalls@gmail.com |
66afb570ab66ba33b317f752ad254d54d1f581bb | b44874df0d6edd7eed451d798f72d3dc098b075d | /sndacspylib/test/basic_unit_test.py | 404828f73338c94c68a1b2602d8647316dc22a48 | [] | no_license | grandcloud/sndacs-python | 2d8069ac74c86983b2b421462a7641b081705302 | c47f0367e857bb18af5df96f0d13a2ff4a60a1ab | refs/heads/master | 2020-05-31T18:14:46.401348 | 2012-10-19T03:07:28 | 2012-10-19T03:07:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,486 | py | '''
Created on Jul 12, 2012
'''
from sndacspylib.snda_cs_config import *
import sndacspylib.snda_cs.cs_rest as CSRest
import sndacspylib.snda_cs.cs_util as CSUtil
import uuid
# initialize connection
connection = CSRest.SNDAAuthConnection(Config.CSProperties['AccessKey'], Config.CSProperties['SecretKey'], True)
# ... | [
"jiangwenhan@snda.com"
] | jiangwenhan@snda.com |
03d83e89ff0074fa7995b211731b30a6d56ffff5 | 93494ae79b2de58a6e27abf6ebd973f3375e5a85 | /spider_9939/db_handle.py | 4ffe3d8ba6a786decfba2f87d66f1c073318a3e4 | [] | no_license | EstelleYang/spider_news | 5d5a04fc317e02b933ce7073d640f99d2e07900b | 59c0172cdeeb9ffb2b077cbf71603081da924250 | refs/heads/master | 2020-05-04T20:46:28.359781 | 2019-04-04T07:50:32 | 2019-04-04T07:50:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 146 | py | # -*- coding: utf-8 -*-
# @Time : 2019-04-04 3:01 PM
# @Author : jiuyang
# @File : db_handle.py
# 连接数据库,操作数据入库等 | [
"1635375337@qq.com"
] | 1635375337@qq.com |
af6040330d3ea4df2b34a2bbeaed87e050733e77 | 6583b7f11175c40106fb7cc0037578abae125f42 | /ucc/codegen/order_triples.py | 7237463432be110765267840efc34374fa6de361 | [] | no_license | FREDY1969/tampa-bay-python-avr | 02f913ee8373bfab4ef88902844476080b560226 | e0311815ebf81b5e1b128f621bf1f15b4fa28289 | refs/heads/master | 2020-04-24T17:45:03.787951 | 2011-10-23T17:58:09 | 2011-10-23T17:58:09 | 40,279,869 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 25,707 | py | # order_triples.py
import sys
import itertools
from ucc.database import crud
Debug = False
def order_children():
update_order_constraints()
with crud.db_transaction():
iterations = 0
re_triple_count = re_block_count = re_fun_count = 0
tp_order_count = 1 # force calc_reg_est_for_tri... | [
"dangyogi@gmail.com"
] | dangyogi@gmail.com |
e74d1421fdda784ab35448a784c31e015b6e5490 | 7dd173951a33396aecbc370c8f5dd5747d32ab60 | /Project2/tryLA.py | 92abe3f0939e3a1be2d8af660aa47033580f018e | [] | no_license | lassekva/CompPhysFYS4150 | ee2c9abb784a1640ad0e5cff86a7a47008e6778d | f4febc61bdce167ef3af1590fd16ef4111b4b5ed | refs/heads/master | 2020-03-27T05:27:06.870560 | 2018-11-19T12:24:35 | 2018-11-19T12:24:35 | 146,020,511 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 117 | py | import numpy as np
from numpy import linalg as LA
w, v =LA.eig(np.diag((10,2,6)))
d= np.diag((1,2,3,4,5))
print (w)
| [
"noreply@github.com"
] | lassekva.noreply@github.com |
efe175e6885e0ddfe3cbd66e3a647f749c4ff403 | a78d39ecab243eedaec441a1a483b3aaa36328d1 | /rest_api_test/test_2.py | b85361ce3c2d5addeabe11cccbed0f9f055089f4 | [] | no_license | SoufianLa/hackerrankps | b570cf9400d5c957b541a01a9793f54c4041ae54 | 0fb23fabe8271747d93545003734633d934bf772 | refs/heads/master | 2022-12-30T05:32:01.374515 | 2020-10-20T16:18:49 | 2020-10-20T16:18:49 | 304,647,747 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,002 | py | #!/bin/python3
import math
import os
import random
import re
import sys
import requests
sys.stdin = open('input_.txt', 'r')
sys.stdout = open('output_.txt', 'w')
#
# Complete the 'getNumDraws' function below.
#
# The function is expected to return an INTEGER.
# The function accepts INTEGER year as parameter.
#
def... | [
"s.lagnaoui@revotrends.com"
] | s.lagnaoui@revotrends.com |
67a7c2953576faefbf87733f908a58464756ee94 | e67509d6e9c34959e915407696cf53544e1fe86d | /analytics/GA/forms.py | 66fd1ed9310763edbbc3be53bad5bd73184158ac | [] | no_license | ryuzaki07/analytics | 3d33f8b4803cd526f8bdd1f6534ee897d8e75c13 | d2502eeb22acc51c897c0c6b61125c6b4df8881a | refs/heads/main | 2023-06-02T09:47:50.850076 | 2021-06-16T12:01:15 | 2021-06-16T12:01:15 | 377,456,829 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 318 | py | import datetime
from django import forms
# input_formats=['%m-%d-%Y']
class DateForm(forms.Form):
start_date = forms.CharField(widget=forms.TextInput(
attrs={'placeholder': "Format: yyyy-m-d"}))
end_date = forms.CharField(widget=forms.TextInput(
attrs={'placeholder': "Format: yyyy-m-d"}))
| [
"rahulnair.rn34@gmail.com"
] | rahulnair.rn34@gmail.com |
3a7b36b87c048318de11c4a405e323e93507b808 | cfcd8deee58c343d7747d40cb4e695c837f833e2 | /linked_list.py | 1fae3f631768d9a01ccf53e6ce231c855a1d8acd | [] | no_license | lkramer37/TDD-DataStructures | bbd85a7a794466f64823a698f93acf5713c9b32c | 9b5398ad8c1918dc7ebd90d97f507bfda7a429fa | refs/heads/master | 2022-04-13T05:02:24.334309 | 2020-03-28T21:11:35 | 2020-03-28T21:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,852 | py | class Node:
def __init__(self, data, next=None):
self.data = data
self.next = next
# def __repr__(self):
# return 'Node <{}>'.format(self.data)
class LinkedList:
def __init__(self, head=None):
self.head = head
# super().__init__()
def length(self):
if se... | [
"lkramer37@nevada.unr.edu"
] | lkramer37@nevada.unr.edu |
ff0c763f59407b9d3c0c063c09791c3c69e2368e | cd486d096d2c92751557f4a97a4ba81a9e6efebd | /17/addons/script.module.globalscrapers/lib/globalscrapers/sources/seriescr.py | f637099fe8f2d4e1f64cb40b9e4e65e81b496072 | [] | no_license | bopopescu/firestick-loader-kodi-data | 2f8cb72b9da67854b64aa76f720bdad6d4112926 | e4d7931d8f62c94f586786cd8580108b68d3aa40 | refs/heads/master | 2022-04-28T11:14:10.452251 | 2020-05-01T03:12:13 | 2020-05-01T03:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,157 | py | # -*- coding: utf-8 -*-
import re,urllib,urlparse
from resources.lib.modules import cleantitle
from resources.lib.modules import client
from resources.lib.modules import source_utils
from resources.lib.modules import debrid
from resources.lib.modules import dom_parser2
class source:
def __init__(self):
... | [
"esc0rtd3w@gmail.com"
] | esc0rtd3w@gmail.com |
2f33f46275259d3eede73d45d21a854246a06e16 | caa81c9b08b1f7e0828f40aed68d2f2bf570ef88 | /chat/apps.py | c98bc032e94eeefa6f2b5c5805fc99cc98915fc2 | [] | no_license | yp-palF/THEMATRIX | 796d36c5dd5ba31f9d2abc72aa4b69fa009dfb34 | e1498e893af5684f01481cfdb73a1a32b587413a | refs/heads/master | 2021-05-31T13:15:15.400600 | 2016-05-20T10:44:41 | 2016-05-20T10:44:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 123 | py | from __future__ import unicode_literals
from django.apps import AppConfig
class ChatConfig(AppConfig):
name = 'chat' | [
"saurav24081996@gmail.com"
] | saurav24081996@gmail.com |
3db8eab299daa982f64741500b0a3586eca703b6 | 6bc1be8e25c5f31dac6cafb09a09f6e8bba8003a | /config/settings.py | 1bab7b13e7c3766df9df970c53e21a82582b6e62 | [] | no_license | Kaburumwenda/azure-demo | babc2c5383c0b0896f3fe4318d68279b891d195b | 0787c56b8c4503e403cd1b89c5818328b4866839 | refs/heads/main | 2023-06-30T03:16:15.232420 | 2021-08-07T20:24:08 | 2021-08-07T20:24:08 | 393,784,718 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,478 | py | """
Django settings for config project.
Generated by 'django-admin startproject' using Django 3.2.6.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/
"""
from pathlib ... | [
"yuskaburu@gmail.com"
] | yuskaburu@gmail.com |
7f2c8daad868cf8914c36ee7c6ae01d7827cd9c5 | 7168a7451c0c28de2e25ee444656fc7e959268ae | /faker_seed_db.py | 3af4ec93275ae79f7b60079d056f243dcbee59e7 | [] | no_license | carlosbelen/HW_wk6_dy3_Create-Employee-API | 70a726dc22cfc4333fb8952e4bbf0380dc4c528a | 1bae7d795aab4f3c5cc920a5e70da11d59d961c5 | refs/heads/master | 2023-01-12T10:14:23.093854 | 2020-11-05T06:29:53 | 2020-11-05T06:29:53 | 310,208,774 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 523 | py | from faker import Faker
# Creation of faker profile helper function
def getProfile():
fake = Faker()
return fake.profile()
# Gather Data and place inside of database
import os
from flask_employee_api.models import Employee
from flask_employee_api import db
def seedData():
for seed_num in range(10):
... | [
"carlosbelen2004@hotmail.com"
] | carlosbelen2004@hotmail.com |
c5c3103aec323910fe8b642e66cc48c188cab8ff | ee9e93c8b84cc8f4467e501f4c45900058818b23 | /melbwireless/oldsite/templatetags/oldsite.py | a1c9051b979ba13e81a468a2c0928bb348ddca81 | [] | no_license | tysonclugg/Melbourne-Wireless | a433552a58ce94d040c4e69282681dc79ba8c713 | 91a196a85c24f3ad83d79f94291bd238ff2a662b | refs/heads/master | 2021-01-25T06:00:43.508617 | 2014-07-11T12:02:15 | 2014-07-11T12:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 410 | py | from django import template
register = template.Library()
@register.simple_tag(takes_context=True)
def oldurl(context):
request = context['request']
resolver_match = request.resolver_match
try:
path = resolver_match.func.old_url_format.format(**resolver_match.kwargs)
except AttributeError:
... | [
"tclugg@www.melbournewireless.org.au"
] | tclugg@www.melbournewireless.org.au |
5f21e049f53c4df8a97983ff285708d760a80dc5 | a24b3316e29d1f45de8dd3ddc414bf87b5fdf489 | /Lion.py | 7effeba92ec04d7b7d93abfcae47d9406aa64adc | [] | no_license | yamuo/python_sample | fd854cf414074d7e1914ef34ea41c8153e176d74 | bbefbc7da456dd00649f88fc293211f6d28338bd | refs/heads/master | 2020-03-23T01:48:05.265745 | 2018-07-16T04:59:09 | 2018-07-16T04:59:09 | 140,938,093 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 152 | py | class Lion:
def __init__(self, name):
self.name = name
def __repr__(self):
return self.name
lion = Lion("Dilbert")
print(lion)
| [
"s-yamashita@MacBook-2.local"
] | s-yamashita@MacBook-2.local |
6cd8b0dc089aaae77c9808304e6170342021b2c0 | f5244ad34315c4fa6373da1aefde1057a116dd48 | /biblioteca/urls.py | 00f221e30484ba12836bc9435c97647d09e84aa3 | [] | no_license | Douglas1688/biblioteca | 52af997cbb64aa343e896507ef4fd4228ea833c6 | 20636d3362675d435fa5cc956dcb3f5da9f25f5d | refs/heads/master | 2023-07-07T01:26:07.642647 | 2021-08-13T01:34:58 | 2021-08-13T01:34:58 | 394,445,675 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,346 | py | """biblioteca URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.1/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-ba... | [
"douglas.vasquezp@hotmail.com"
] | douglas.vasquezp@hotmail.com |
b5cbb3671e765470ae75b2b8f8ea2f446253aef2 | fe6c8c865fbbf7307945fa961a658244d33667ea | /Basics/Subclasses1.py | a94d2bf2018728abca885f4a9c6d6ff3d2338d59 | [] | no_license | DianaBelePublicRepos/PythonBasics | 56b0df6242194c73ac003364ce49e3404434351c | 38aee369a8f21a6952d3e041b828e6dfeb694d78 | refs/heads/master | 2021-02-07T01:21:37.777839 | 2020-05-08T21:52:26 | 2020-05-08T21:52:26 | 243,967,056 | 0 | 0 | null | 2020-03-27T16:33:47 | 2020-02-29T12:43:40 | Python | UTF-8 | Python | false | false | 1,019 | py | import datetime as dt
class Member:
expiry_days = 365
def __init__(self, firstname, lastname):
self.firstname = firstname
self.lastname = lastname
self.date_joined = dt.date.today()
self.expiry_date = dt.date.today() + dt.timedelta(days = Member.expiry_days)
self.secret_... | [
"dianabeleemea@gmail.com"
] | dianabeleemea@gmail.com |
b8edac9b6181c5ca77aae404ac0283232bea11bd | 39d86711fffe0de8cc8797a3aaed2edcbb034741 | /Case/test002.py | aa9a265bf5110539cc436538a54be7f2deafbaeb | [] | no_license | explorer369/appium | aadaec94906270c62181b63da897004d246379fb | a3866ac4424c5214bd62bb90ff69424a0667d347 | refs/heads/master | 2021-01-21T18:33:07.351013 | 2017-05-24T14:53:56 | 2017-05-24T14:53:56 | 92,018,962 | 0 | 0 | null | null | null | null | GB18030 | Python | false | false | 3,133 | py | import logging,os,sys,time,unittest,xlrd
reload(sys)
sys.setdefaultencoding('GBK')
def open_excel(file= 'file.xls'):
try:
data = xlrd.open_workbook(file)
return data
except Exception,e:
print str(e)
#根据索引获取Excel表格中的数据 参数:file:Excel文件路径 colnameindex:表头列名所在行的所以 ,by_index:表的索引
def excel_tabl... | [
"noreply@github.com"
] | explorer369.noreply@github.com |
4947b1b86a1df54dd6417cb1e3f5dd88fea11dbf | 51ec068b7a41dd1a184bc39ca0596300f3d1a910 | /spiders/halftime.py | e3803ac91c630fbc9d68a1b4c09ab10562279e7c | [] | no_license | wbglaeser/odds-checker | 3549a51370e3f8736d3e53fb5d8f42ffe84aa382 | c3299b63fb34283c2eeeb973296c689338137827 | refs/heads/master | 2021-01-24T21:42:32.554940 | 2018-04-06T11:44:06 | 2018-04-06T11:44:06 | 123,275,923 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,564 | py | ######################################
### BUILT LOGGER ###
######################################
import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
stream_handler = logging.StreamHandler()
formatter = logging.Formatter('%(asctime)s - [{}] - %(levelname)s : %(message)s... | [
"w.glaeser@lse.ac.uk"
] | w.glaeser@lse.ac.uk |
0a3714dda87472ba3477cbe0437c0752168772be | f6a55d65f72512b6d75a0ea6f2296b808b7e7157 | /firstWEB/urls.py | d22d87f85e8dd6d436fe89e36b62afd4c7adb23f | [] | no_license | leeo2020/django-demo | 1312abb5122d2ec68f1ea676ffc8f871013093e6 | d253c0ea6f6c15ff89d11e755e1123ca0b5465c0 | refs/heads/master | 2023-04-20T07:55:26.497403 | 2021-05-13T10:15:57 | 2021-05-13T10:15:57 | 366,958,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 155 | py | from django.urls import path
from . import views
urlpatterns = [
path('', views.index),
path('calc/', views.calc),
path('rst/', views.rst)
]
| [
"3145875098@qq.com"
] | 3145875098@qq.com |
1205967ca2fdd7378f1b0a3c2d76aefc99b71035 | a5578f52de105b1d7dda2cc94b0dbfc7ddc7c91f | /src/manage.py | 7db8da291e0fab6d2288f2e6631198e4333b3ad1 | [] | no_license | segimanzanares/acs-django | 4842004882d82debc6d8370c353a40c34cc4fcb7 | 893a585616af06e21960cb09c222b79992f4dbeb | refs/heads/master | 2020-03-27T14:26:21.229015 | 2018-08-30T19:37:28 | 2018-08-30T19:37:28 | 146,662,496 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 535 | py | #!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'acs.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you ... | [
"segifredo.manzanares@copyleft.com.mx"
] | segifredo.manzanares@copyleft.com.mx |
5857b51e19b6f474acf8a96eb7ed7d80c8d0d712 | ef91b74131b8791800d2365982edbfaf515ef54a | /day2/list_special.py | 9d3c2702dcf822503aa42d3cbb47c7dce942b0f9 | [] | no_license | akatkar/python-training-examples | ec749f58698fc1cfa458246ce11069f94d25027e | 8afa2e347c079a84740f4559e78c1be55eed5226 | refs/heads/master | 2020-05-16T03:32:22.613770 | 2019-04-22T09:15:14 | 2019-04-22T09:25:17 | 182,726,662 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 156 | py | list1 = [1,2,3,4,5]
list2 = [6,7,8,9,10]
for i in range(len(list1)):
a = list1[i] + list2[i]
print(a)
for a, b in zip(list1,list2):
print(a+b) | [
"alikatkar@gmail.com"
] | alikatkar@gmail.com |
34bff3a0e0d3bff94503e438ba33e80cc26d37af | aee140df90baac9ce843d1468606672742731d8e | /accounts/views/signup.py | 98d0d12a195bee4a548f1c1c031d8284b25da06c | [] | no_license | stevartz/event-calendar | 06c56f389c529400c3dcb157a8b003401bbf393e | d2d337da0bddac5af4c07cd5a8b6de04d6a2df94 | refs/heads/main | 2023-08-19T02:17:44.353101 | 2021-09-23T15:36:06 | 2021-09-23T15:36:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 761 | py | from django.views.generic import View
from django.shortcuts import render, redirect
from accounts.forms import SignUpForm
class SignUpView(View):
""" User registration view """
template_name = 'accounts/signup.html'
form_class = SignUpForm
def get(self, request, *args, **kwargs):
forms = sel... | [
"sajib1066@gmail.com"
] | sajib1066@gmail.com |
f39212fbdf011e70d20c0e51c1c82fab0f25700c | cd2aaf0097f2e244aa4a22c9da7133dd0e2f2fb8 | /Saylani/python-code-master/17Sep2017/storingdata/storing6.py | cd00788649b22429c68f8d458a45ff91c0b1f3e3 | [] | no_license | EnggQasim/SSUET-2017-Module-I | 349ea6e9b0554fa8c55899622bf0ee97fd19b685 | cd41ab8e768616ca56ddaa1d7662283f653674f9 | refs/heads/master | 2020-03-25T10:36:38.330710 | 2018-09-30T13:17:38 | 2018-09-30T13:17:38 | 143,698,684 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 138 | py | import json
stu = {}
filename = 'numbers2.json'
with open(filename) as f_obj:
stu = json.load(f_obj)
print(stu);
print(stu["name"]); | [
"m.qasim077@gmail.com"
] | m.qasim077@gmail.com |
ab02463eb2fc0360da5da67ea204eb492611ded2 | 844d948e39d58018ad88dfc55a01b05a5b0b6a78 | /backend/RapidRevision/views.py | e20d81acb34dedf7a1448824774e14311b2c3fe7 | [] | no_license | a-exploit/RapidRevison | 77b7012cf68d6b6b39f3046d7ca1515459013aa0 | bddf9a349907bb1625f9786c0e706819ae846e86 | refs/heads/master | 2023-01-06T10:19:39.917871 | 2020-09-06T19:48:55 | 2020-09-06T19:48:55 | 211,389,944 | 0 | 1 | null | 2023-01-04T11:38:57 | 2019-09-27T19:39:14 | JavaScript | UTF-8 | Python | false | false | 2,535 | py | from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
import requests
from rest_framework.response import Response
from rest_framework.views import APIView
from rest_framework import generics, mixins, status, viewsets
from youtube_transcript_api import YouTubeTranscriptApi
... | [
"choudharyritik3@gmail.com"
] | choudharyritik3@gmail.com |
cbe572794cf3d14a5d9ee5e9c76677166b3ef83a | 45199b72fdcddb9e24a132d961d0698d7603ad9f | /Day2810_HW_SoundcloudPatterns/components/player_bar.py | a90c04a97716d31ae2e2533f00c61f53fa3b3a8d | [] | no_license | 2gisprojectT/terehov-soundcloud | 21db3aac98699b139abd07125e2ebdabc08ac130 | 16704541b98f0e017e3b6930efc1aa15f1e50184 | refs/heads/master | 2021-01-23T17:31:04.549841 | 2014-11-14T09:52:29 | 2014-11-14T09:52:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 309 | py | from Day2810_HW_SoundcloudPatterns.components.base_component import BaseComponent
class PlayerBar(BaseComponent):
_selectors = {
"title": "playbackTitle__link"
}
def title(self):
title = self.element.find_element_by_class_name(self._selectors["title"])
return title.text | [
"alexey.terekhov@bk.ru"
] | alexey.terekhov@bk.ru |
1a5b707d2641c2e6f5cf7187340d9d81e08873ed | acbe6bd6cefaf8b12070d7258dab30e4f7fcebed | /lib/libdbr/dateinfo.py | 22020e47cbc869a9b5bd6362b55c8f991e4efb49 | [
"MIT"
] | permissive | RogueScholar/debreate | 02c98c5a78d33041798410f0e3b99e80fda65d00 | dfe9bcac7333a53082b3a2ae169806cf604d59f6 | refs/heads/master | 2023-06-07T11:49:03.821969 | 2023-04-28T02:14:25 | 2023-04-28T02:14:25 | 253,707,766 | 0 | 0 | MIT | 2023-05-28T15:24:17 | 2020-04-07T06:34:47 | Python | UTF-8 | Python | false | false | 3,135 | py |
# ****************************************************
# * Copyright © 2023 - Jordan Irwin (AntumDeluge) *
# ****************************************************
# * This software is licensed under the MIT license. *
# * See: LICENSE.txt for details. *
# ******************************************... | [
"antumdeluge@gmail.com"
] | antumdeluge@gmail.com |
9af2a24dc7f424453169bb1a738a452996857e21 | be8ea690e2516e9e66788eed28f6c2f48c03b5b2 | /code/wikiParser/cleanContext.py | 846a1c854b0224fcc22b7883812458053062fffc | [] | no_license | ZhouDavid/UnderGraduProject | 28feb808cab9cd3867217c0207371ed1b1aea322 | 075645d30cb0d1ac5680ed015a379810178ccb59 | refs/heads/master | 2021-01-22T18:10:40.552534 | 2017-06-22T10:20:50 | 2017-06-22T10:20:50 | 85,063,754 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 629 | py | #coding:utf-8
def cleanContext(contextFileName,minContextNum):
newContexts=[]
contexts = open(contextFileName,'rb').readlines()
tmp=''
for c in contexts:
c = c.decode('utf-8').strip()
if len(tmp)<minContextNum:
tmp+=c
else:
newContexts.append(tmp)
... | [
"Jianyu Zhou"
] | Jianyu Zhou |
dcee3efa896d28f24f72b0dc92e85b26353f6ca8 | 97b146cf569430818d37f3e376b10e456c106526 | /server/TCP_MultiThreaded_HTML_Server.py | 406bce88f5321ae3bbd2df6e858e686e5b7e01d2 | [] | no_license | RedOneLima/simple-HTTP-server | 76b202817294c3e07b7bd199e3531125c0763e76 | 1003c606fa8c56c80d5122258a432390acc479f2 | refs/heads/master | 2021-01-11T18:50:09.625512 | 2017-01-21T16:30:27 | 2017-01-21T16:30:27 | 79,636,503 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,652 | py | import threading
import SocketServer
import datetime
class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler):
def handle(self):
server_name = 'Simple Python Server 2.7'#name sent as server name
while 1:
try:
in_data = self.request.recv(1024)#listen/recv
... | [
"khewitt08@live.com"
] | khewitt08@live.com |
a25dfc1f724f24ab65af4e9aff7d73130e692da4 | 9a10c0e704867c38b5eb79e6a4718378538d4d3a | /django实现类博客和BBS系统/bin/EdmureBlog/web/views/home.py | c429387da7a058150d42618e007c6c76fcdf5f24 | [] | no_license | shisanjun/django | 811788319d779530aea7302ec7e1a434ded05b93 | 27019a08657ce30517c7e8d4684ece62bf3e154b | refs/heads/master | 2022-03-11T05:41:55.581388 | 2022-02-22T07:15:59 | 2022-02-22T07:15:59 | 120,069,444 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,153 | py | #!/usr/bin/env python
# -*- coding:utf-8 -*-
from django.shortcuts import render,HttpResponse
from django.shortcuts import redirect
from repository import models
from utils.authication import login
from utils import pagination
from django.urls import reverse
import json
from django.db.models import Max,Count
from colle... | [
"lixiang_0510@126.com"
] | lixiang_0510@126.com |
65c468ee4af139e0b2068f1aa77294ffbc4aab21 | bc2918dd2e5192cca4cd053a13beedd72bca6cc2 | /accounts/models.py | 0a1128937a8bbe8b1354bc5dbfe5189046f9e8b1 | [] | no_license | hussainjhaveri/testrepo | 02c7eac8e2f185eae96730beb1ada13ed2879716 | baba7f5782ff6268b491732ed482343b08ae805d | refs/heads/master | 2023-01-08T14:59:25.474759 | 2020-11-13T01:39:20 | 2020-11-13T01:39:20 | 312,435,528 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 366 | py | from django.contrib.auth.models import User
from django.db import models
types = [('dog','dog'),('cat','cat'),('bird','bird')]
class Pets(models.Model):
name = models.CharField(max_length=100,null= False)
species = models.CharField(max_length=10, choices=types )
age = models.IntegerField()
owner = mode... | [
"jhaverihussain@gmail.com"
] | jhaverihussain@gmail.com |
2a0ca8f479f28e49d1b41af55a3c769c0c9453d6 | a39a9e6033d0148a37f25b7d7b5af4b1ec4b8c5f | /speech_recognition/pytorch/train.py | 69ac1a270be0fc7297161ca18c1aa53b791a726c | [] | no_license | arnav-s/BlockSparse | 180470e779eb259ec5a862a3ddd75b2d4d38f84c | 50225daaf46803a0a684f9b17c940ef4841e90fa | refs/heads/master | 2020-05-22T00:07:59.795846 | 2019-05-11T18:04:13 | 2019-05-11T18:04:13 | 186,165,600 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,935 | py | import argparse
import errno
import json
import os
import time
import sys
import numpy as np
import random
from collections import OrderedDict
import torch
from torch.autograd import Variable
from warpctc_pytorch import CTCLoss
import torch.nn.functional as F
### Import Data Utils ###
sys.path.append('../')
from d... | [
"sharma55@wisc.edu"
] | sharma55@wisc.edu |
158fdcbd64d47adb841046556b8f916b283a7524 | 40029281c27f748dfdb7e2b2b52186f239caeed8 | /metadataanalysis_client/models/translate_text_response.py | 82c5cc1c1bbfbc6dc48df5d6e64e664881f99cac | [] | no_license | daletcoreil/metadataanalysis-client-python-sdk | d30001c2f91c94f6aca3627735280e641839e4a1 | 9b4b495fe3f5f1d5c7d28e126def9c311c5518e5 | refs/heads/master | 2021-06-20T15:54:36.426663 | 2021-05-04T06:41:55 | 2021-05-04T06:41:55 | 207,790,626 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,868 | py | # coding: utf-8
"""
Dalet Metadata Analysis API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 2.1.0
Contact: cortexsupport@dalet.com
Generated by: https://openapi-generator.tech
"""
i... | [
"daletcoreil@gmail.com"
] | daletcoreil@gmail.com |
584a6b3e4bd12b8b30b38ac831abcad5b37fc763 | bd8bc7abe0f774f84d8275c43b2b8c223d757865 | /153_FindMinimumInRotatedSortedArray/findMin.py | 03031fab7b0e95317febbbd14ece87fb911503d3 | [
"MIT"
] | permissive | excaliburnan/SolutionsOnLeetcodeForZZW | bde33ab9aebe9c80d9f16f9a62df72d269c5e187 | 64018a9ead8731ef98d48ab3bbd9d1dd6410c6e7 | refs/heads/master | 2023-04-07T03:00:06.315574 | 2021-04-21T02:12:39 | 2021-04-21T02:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,236 | py | # 解法一: 二分法-我的解法
# 执行用时 :32 ms, 在所有 Python3 提交中击败了 98.51% 的用户
# 内存消耗 : 13.2 MB, 在所有 Python3 提交中击败了 44.85% 的用户
class Solution:
def findMin(self, nums: List[int]) -> int:
left, right = 0, len(nums) - 1
if left == right or nums[left] < nums[right]:
return nums[left]
while left < righ... | [
"noreply@github.com"
] | excaliburnan.noreply@github.com |
0566b5c4f01c740c616a63dbd55f70956d87d809 | 6771baa15cec59d12430396ce4db207ce908105d | /Class1/src/information.py | ffbf4e76fc34d2b21e5f359fd0a8d0d33560ebef | [] | no_license | ChandanaKotta/TA-ImageAnalysis-IIITB | 6bda5cc7e8cb81118f266d44b9d03b0ec65161f1 | 74670bded3241fab2ca221449bed441ff141a58a | refs/heads/master | 2021-05-12T10:47:42.196999 | 2018-09-08T22:16:21 | 2018-09-08T22:16:21 | 117,361,382 | 2 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,031 | py | # play with bits
# the idea of this code is to illustrate the importance of bits in capturing information.
# The bits to the left (in each pixel comprised of say 8 bits) capture the maximum amount of information.
import cv2
import numpy as np
mona_lisa = cv2.imread("../images/mona.jpg")
height, width, channels = mo... | [
"chandanakotta@gmail.com"
] | chandanakotta@gmail.com |
d459870071e09d60bcb4aa723e0973b623318343 | 449175eb373ebc622221552e43b46c9378adb618 | /grader/files_mai/6210545629_task1.py | 5e86412ce6df9538532eeedebe470a0a0bfb0bd7 | [] | no_license | NutthanichN/grading-helper | 911d39211e070eafc9ffee6978f9270a0be38016 | 971c605effb4f59e9e22a32503337b3e671f120c | refs/heads/master | 2022-12-12T22:46:15.062462 | 2020-09-08T06:50:12 | 2020-09-08T06:50:12 | 293,724,530 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,668 | py | def check_valid_input(s):
"""
*** DOCTESTS IS HERE ***
>>> check_valid_input("rock")
True
>>> check_valid_input("paper")
True
>>> check_valid_input("scissors")
True
>>> check_valid_input("snape")
False
"""
"""*** CODE IS HERE ***"""
if s == "rock":
return True... | [
"monaprom134@gmail.com"
] | monaprom134@gmail.com |
46c3a80401427317e414ee45d8f5efe5cd1b83d7 | 1ea7432ec4aac84bf767f9afdb91dc74f08000a1 | /radio_locator/locator/views.py | 418dc2111dc98d693c53a80a714b265ae3aa50a6 | [] | no_license | skevy/Radio-Locator | 4c9cd4952edb1a256c56e6ecae0e9e3b9e1905b5 | 1001bb3525377426d8ddc1629022c35ad265bf81 | refs/heads/master | 2020-11-26T19:36:17.371851 | 2011-03-30T23:11:12 | 2011-03-30T23:11:12 | 1,489,733 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,105 | py | import json
from django.http import HttpResponse, HttpResponseNotFound
from django.contrib.gis.geos import Point
from radio_locator.locator.models import Station
def all_stations(request):
if "lat" not in request.GET or "lng" not in request.GET:
return HttpResponseNotFound()
loc = Point(floa... | [
"adam.skevy@mac.com"
] | adam.skevy@mac.com |
96d55f8c49b1198534b1c8054dc9d7895a5fca2a | 1a29735113eeb8061527c9e785fb3e16abe10449 | /lib/pymod/pymod/test/command/reload.py | 3f874458ab5cf4f6a0255d419c26515b89816da9 | [] | no_license | tjfulle/Modulecmd.py | db3fb96db63e42666056e8086f433a779f5bfc86 | 42e3d34b76a53f4ff557e96ba2af3cb83b963ad2 | refs/heads/master | 2023-02-21T10:16:49.408099 | 2021-11-18T06:29:59 | 2021-11-18T06:29:59 | 141,306,544 | 0 | 0 | null | 2019-05-09T04:51:09 | 2018-07-17T15:09:16 | Python | UTF-8 | Python | false | false | 1,455 | py | import pytest
import pymod.mc
import pymod.environ
from pymod.main import PymodCommand
@pytest.fixture()
def modules_path(tmpdir, namespace, modulecmds):
m = modulecmds
one = tmpdir.mkdir("1")
one.join("a.py").write(m.setenv("a"))
one.join("b.py").write(m.setenv("b") + m.load("c"))
one.join("c.py... | [
"tjfulle@sandia.gov"
] | tjfulle@sandia.gov |
56cad70066f044e0659afde47b14bf62cd2aa4fe | 5ea6abae27053fec4963a850b05a08ad2e6e7ff2 | /Program_Tuple_3.py | 863db410b74622654c5fdbb235fa0511aa14763a | [] | no_license | prathusha-kunka/miniproject | a35814d6f93c00a18a5dd393b3e0a1751ecfba81 | 35f83d9e762d0bcf5b6fd6ab69068adc9a0fa1bd | refs/heads/main | 2023-06-24T16:32:01.986588 | 2021-07-10T15:23:32 | 2021-07-10T15:23:32 | 384,718,918 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 345 | py | # Python code to convert into dictionary
def Convert(tup, di):
for a, b in tup:
di.setdefault(a, []).append(b)
return di
# Driver Code
tups = [("Prathusha", 10), ("Rathnakar", 12), ("Pavan", 14),
("Srikanth", 20), ("Sunita", 25), ("Pavitra", 30)]
dictionary = {}
print (Con... | [
"noreply@github.com"
] | prathusha-kunka.noreply@github.com |
8da24a5596bf65aee4468dea4c35a93036848704 | c4d913a3811bc83e7a3838c0efdf3424b73b1ac4 | /imagedownloader/requester/migrations/0007_auto__add_field_area_hourly_longitude__del_field_satellite_longitude.py | b2b6277b8f4df35b8f832db0906b576dbb751c91 | [] | no_license | tomasdelvechio/solar_radiation_model | d967b50b645fec3215339ed1785ffa4423b395a4 | c306c4e4311fd887e9985401b8e2731bbf372583 | refs/heads/master | 2021-01-18T01:46:30.739622 | 2014-04-14T00:08:30 | 2014-04-14T00:08:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,495 | py | # -*- coding: utf-8 -*-
import 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 'Area.hourly_longitude'
db.add_column('requester_area', 'hourly_longitude',
... | [
"eloy.colell@gmail.com"
] | eloy.colell@gmail.com |
62c0d10762ebddcf27c793df08917dc21ab905fa | b3493b4708c2aa7acced06d21ed308d210787543 | /burga/iteracion_en _rango/rango4.py | acd2c0b5ab40638960e765a2a428c409cb17fbb0 | [] | no_license | arianaburga/trab07.burga.bravo | 0ca0ae5a324f262163c713dc166ba807f9c48484 | 0955d374f5de3fb782b2d9ed65985ff88e018b25 | refs/heads/master | 2020-09-14T05:47:14.752471 | 2019-11-24T18:17:07 | 2019-11-24T18:17:07 | 223,038,205 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 134 | py | # Imprimir los numeros que empiece desde-8 al 30
for i in range(-8,31):
print(i)
#fin_iterador_en_rango
print("Fin del bucle")
| [
"aburgam@unprg.edu.pe"
] | aburgam@unprg.edu.pe |
e154e27e5c18326a8003714696ff81fb7c15c329 | 71c736fdcd2860dd59feb03aa05f0a8cb4bde585 | /randomforest_clf.py | 72fb573eb9f2089d09314228bfe50fd0b21a5681 | [] | no_license | burhanbilen/RandomForestClassifier-ile-Veri-Siniflandirma | e77cc5bf2eee714c9ad5b1d2b4063d4630b0c435 | 4df3a4e38646111e38815f8fc1459710b814eb90 | refs/heads/main | 2022-12-31T10:54:31.655500 | 2020-10-12T11:58:54 | 2020-10-12T11:58:54 | 303,376,257 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,069 | py | import pandas as pd
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import confusion_matrix
df = pd.read_csv('krediVeriseti.csv', delimiter = ';')
df["evDurumu"].replace({"e... | [
"noreply@github.com"
] | burhanbilen.noreply@github.com |
291ba780cc47412365fdc0e1e22d4319fa79c276 | 5bc40f29628b2c2f4b9d3fba3f4ad0f70935d325 | /python_local/xflib.py | 60f9bc033db1b8a2b9896e5fb266d2f6ae62db34 | [] | no_license | asousa/thesis_figures | 697bb88819ba22c1b669f2dea1b4fb2d1f38b66e | b3ad9f353b1636820b7af2c99efe4eed24b5bcf4 | refs/heads/master | 2022-12-01T11:04:07.436896 | 2020-08-09T07:43:53 | 2020-08-09T07:43:53 | 109,327,398 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,034 | py | import ctypes as ct
import datetime
import numpy as np
class xflib(object):
''' A wrapper class for the xform-double coordinate transformation library.
(The fortran one Forrest used in the raytracer)
'''
def __init__(self, lib_path='libxformd.so'):
self.D2R = 3.141592653589793238462643/1... | [
"asousa@stanford.edu"
] | asousa@stanford.edu |
7c71dce2587c67fcd1f2b8dac1459501c7454aa7 | ad13583673551857615498b9605d9dcab63bb2c3 | /output/instances/nistData/list/duration/Schema+Instance/NISTXML-SV-IV-list-duration-enumeration-1-4.py | 06b2f14b172e8529e7d41ea4ce7da0de48fe9cf1 | [
"MIT"
] | permissive | tefra/xsdata-w3c-tests | 397180205a735b06170aa188f1f39451d2089815 | 081d0908382a0e0b29c8ee9caca6f1c0e36dd6db | refs/heads/main | 2023-08-03T04:25:37.841917 | 2023-07-29T17:10:13 | 2023-07-30T12:11:13 | 239,622,251 | 2 | 0 | MIT | 2023-07-25T14:19:04 | 2020-02-10T21:59:47 | Python | UTF-8 | Python | false | false | 774 | py | from output.models.nist_data.list_pkg.duration.schema_instance.nistschema_sv_iv_list_duration_enumeration_1_xsd.nistschema_sv_iv_list_duration_enumeration_1 import NistschemaSvIvListDurationEnumeration1
from output.models.nist_data.list_pkg.duration.schema_instance.nistschema_sv_iv_list_duration_enumeration_1_xsd.nists... | [
"tsoulloftas@gmail.com"
] | tsoulloftas@gmail.com |
73df98dca78d75db99f30a6d10a2d21b1fbb876b | e170cea70c4e92f9d741a23553376dfd72669482 | /ProjectCheckPoint9_Outliers/ProjectCheckPoint9_Outliers.py | b9e4e824e4d08f5e94dde739145b545237dd23f1 | [] | no_license | demikaiser/AutoInsuranceClaimPrediction | 9adc00ed57c993586ba004d0c82abde66e24a177 | 0e03dbe1a6664d9d29e3250a44489b69da1d0601 | refs/heads/master | 2020-04-17T03:59:12.315195 | 2019-01-17T10:52:56 | 2019-01-17T10:52:56 | 166,208,662 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,713 | py | # EXPERIMENT FOR JUSTIN'S BIG IMPROVEMENT
# Default Libraries
import math
import inspect
import itertools
# Data Science Libraries
import numpy as np
import pandas as pd
import sklearn_pandas
# sklearn Library (https://scikit-learn.org)
import sklearn.model_selection
import sklearn.linear_model
import sklearn.neigh... | [
"demikaiser13@gmail.com"
] | demikaiser13@gmail.com |
d5390cd3fc4c7e11dd95d9a7a65f7771fc6c78ab | ff14c66f799511240c7c60b31f596506a71cf908 | /0409/0409/meow/views.py | 52c1b60cd5ffe3394f3932df211e93b38b673b1e | [] | no_license | tp6m35p4/JerryHW | bc13c73c5bbea5007c3d261db6f53196e5421aa8 | 27ae1e152f52a3b080f44d6cc96a18b64212a15f | refs/heads/master | 2021-04-06T08:19:01.396037 | 2018-05-09T05:19:38 | 2018-05-09T05:19:38 | 125,303,452 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 158 | py | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Hello I'm Here.") | [
"tp6m35p4@gmail.com"
] | tp6m35p4@gmail.com |
fd49ae7016a0ac3a6fdc35521bd8a09a22ee5974 | ce76b3ef70b885d7c354b6ddb8447d111548e0f1 | /right_eye/case_and_part/man_or_hand/ask_bad_number_by_large_child/want_hand_at_right_case/other_child.py | db2e3c9028494251d2f2119fdfeb68e0bc8bb6e7 | [] | no_license | JingkaiTang/github-play | 9bdca4115eee94a7b5e4ae9d3d6052514729ff21 | 51b550425a91a97480714fe9bc63cb5112f6f729 | refs/heads/master | 2021-01-20T20:18:21.249162 | 2016-08-19T07:20:12 | 2016-08-19T07:20:12 | 60,834,519 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 189 | py |
#! /usr/bin/env python
def fact(str_arg):
company(str_arg)
print('few_man')
def company(str_arg):
print(str_arg)
if __name__ == '__main__':
fact('last_child_and_child')
| [
"jingkaitang@gmail.com"
] | jingkaitang@gmail.com |
0c0da40ba3c1e233fa9350f6e73e4cf4b791d500 | 704e6f1297c6f9377f804639abec16b954459304 | /左神/02/z_n_06_旋转正方形矩阵.py | 8862ce3d3f227c483d4e6b35828fcd503fc1b4a1 | [] | no_license | Pysuper/LetCODE | a6d30a3f13445fee903d2823bc6835c1398a4362 | a42098599bac4188eccb447de146434bc236a70a | refs/heads/master | 2021-05-25T23:21:55.515406 | 2021-04-19T10:40:56 | 2021-04-19T10:40:56 | 253,962,304 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 335 | py | # !/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2021/4/15 22:11
# @Author : Zheng Xingtao
# @File : z_n_06_旋转正方形矩阵.py
"""
旋转正方形矩阵
【题目】 给定一个整型正方形矩阵matrix,请把该矩阵调整成顺时针旋转90度的样子。
【要求】 额外空间复杂度为O(1)。
""" | [
"1821764535@qq.com"
] | 1821764535@qq.com |
5182128bfddbdf8b4bed4d80cd569be3a13fe406 | eabba17ce7e4aa5c05b19c3e6c3655c8bbad64c7 | /src/optimizer/flash.py | dd5f6fe873be55fce8435560356622933b8c2828 | [] | no_license | FahmidMorshed/proper-learning-SATD | d1fc819667ffd7107ac7194d8e6c1e98fd3e5df4 | 09c6cae621cb706d887066576e6f8264b24a094a | refs/heads/master | 2020-04-14T17:56:32.300784 | 2019-12-12T01:05:01 | 2019-12-12T01:05:01 | 164,000,176 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,086 | py | import random
from sklearn.metrics import confusion_matrix
from sklearn.model_selection import StratifiedShuffleSplit
from sklearn.tree import DecisionTreeRegressor
from optimizer.tuner import DT_TUNER
import numpy as np
BUDGET = 10
POOL_SIZE = 10000
INIT_POOL_SIZE = 10
def tune_dt(x_train, y_train, project_name):... | [
"ffahid@ncsu.edu"
] | ffahid@ncsu.edu |
fc41caa47540e6d53c846a96c85678df4e9dad14 | df3853b41ed05d86f5bcd992fcc265f637c67784 | /big_deal/13.py | 307bc522e9c62b66886a18c198eac20a92395433 | [] | no_license | KseniaMIPT/Adamasta | 6ab0121519581dbbbf6ae788d1da85f545f718d1 | e91c34c80834c3f4bf176bc4bf6bf790f9f72ca3 | refs/heads/master | 2021-01-10T16:48:31.141709 | 2016-11-23T21:02:25 | 2016-11-23T21:02:25 | 43,350,507 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 726 | py | import pprint
import copy
def digraph_from_input():
N = int(input())
digraph = {}
for i in range(N):
line = input().split()
if line[0] not in digraph:
digraph[line[0]] = {line[1]}
else:
digraph[line[0]].add(line[1])
if line[1] not in digraph:
... | [
"ksenia22.11@yandex.ru"
] | ksenia22.11@yandex.ru |
de0b8eb5c42bafb75c648bb89135bbf3180a9711 | 453f1c74dfeb4e42489bff82d2c278b809b7e30f | /sparse_array.py | c04ce1e8253c8750dc00c246a236a7c253061b77 | [] | no_license | zixizhong123/7-16-21 | a8696baa331787533211df7817aca64f992f5759 | f306678da122c0019016722f43f0fdcbbc177121 | refs/heads/main | 2023-06-26T16:36:03.351714 | 2021-07-26T17:53:11 | 2021-07-26T17:53:11 | 386,723,678 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 462 | py | # problem overview: https://www.hackerrank.com/challenges/sparse-arrays/problem
def matchingStrings(strings, queries):
result = []
reference = {}
for s_item in strings:
if s_item in reference:
reference[s_item] += 1
else:
reference[s_item] = 1
for q_item in querie... | [
"zixi.zhong567@gmail.com"
] | zixi.zhong567@gmail.com |
39ed07c21541243ac2a44a54ab21ceb442986115 | b0e36e26ed289c2ffccc0d57a6dafe4614f5a426 | /cv2license.py | d89431018dc02e2dd72975c3fb6fe0fd884b27f1 | [
"MIT"
] | permissive | kushalasn/Plate-geometry-using-opencv | a740e78876e9c00b1fa8a237529e7ab7a2b46882 | 7f39fc9c8d19864f1c5d0770f21a850d00bf7243 | refs/heads/master | 2020-08-09T00:11:27.616144 | 2019-10-09T15:34:23 | 2019-10-09T15:34:23 | 213,955,791 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,575 | py | import cv2
import imutils
import numpy as np
from PIL import Image
img = cv2.imread('D:/data folder/image_0438.jpg',cv2.IMREAD_COLOR)
img = cv2.resize(img, (620,480) )
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) #convert to grey scale
gray = cv2.bilateralFilter(gray, 11, 17, 17) #Blur to reduce noise
edg... | [
"noreply@github.com"
] | kushalasn.noreply@github.com |
db920bd11474bf967edf13751c6246c0a8481735 | 081afb9d33619fe5c17d8d06c7a95d1bee8a4906 | /gpic_dl.py | 73e06452b614b3765685bea7c013cb123c6312de | [] | no_license | seekertrue/patent | 9d2ebe1bea551929da8418c965ffd06743d2bd54 | 0766441ceb0ae01129a3cd33abbf3e09b303b655 | refs/heads/master | 2022-11-11T05:23:47.935682 | 2020-06-28T03:40:53 | 2020-06-28T03:40:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,923 | py | # -*- coding: utf-8 -*-
import random, time, os, shutil
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from urllib.parse import unquote as up
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.common.by import By
import selenium.webdriver.sup... | [
"noreply@github.com"
] | seekertrue.noreply@github.com |
2b67df35926f8719de9439d943145dbd149ddec2 | 12c04c1c1751f2eedf651f386b674a8f7f85cf76 | /fixture/soap.py | a4d64479bb890bca9a4eac739fc7a6c97f027858 | [] | no_license | araevskiy/python_training_mantis | 72b79441f2775a0908a66a1b47409524ae8cd924 | 33f54ab8a538bdf9cafb4fbdcbe9440d1becfc10 | refs/heads/master | 2023-03-05T21:04:46.097521 | 2021-02-13T17:36:33 | 2021-02-13T17:36:33 | 337,806,014 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 910 | py | from suds.client import Client
from suds import WebFault
from model.project import Project
class SoapHelper:
def __init__(self, app):
self.app = app
def can_login(self, username, password, baseURL):
client = Client(baseURL + 'api/soap/mantisconnect.php?wsdl')
try:
client.... | [
"aeg2611@gmail.com"
] | aeg2611@gmail.com |
6eae88ca2e62179b92a37e3ede88af8e8da3f9d7 | 7a4d0c70b3fea5996907fc5b09f97cbc8c394a9b | /torch_connectomics/data/dataset/dataset_mask_skeleton_central.py | f2de1da521f2eb4cb9b93bc5a9aa2c63459c4180 | [
"MIT"
] | permissive | al093/pytorch_connectomics | af09672382088af10150ceb5a107142ff9a2e43e | 52821951233b061102380fc0d2521843652c580a | refs/heads/master | 2021-06-28T03:19:09.629623 | 2021-01-29T21:46:20 | 2021-01-29T21:46:20 | 188,486,004 | 2 | 0 | MIT | 2020-09-22T08:49:09 | 2019-05-24T20:51:20 | Python | UTF-8 | Python | false | false | 11,267 | py | from __future__ import print_function, division
import numpy as np
import torch
import torch.utils.data
import scipy
from scipy.ndimage import label as scipy_label
import scipy.ndimage.morphology as morphology
from scipy import spatial
import skimage
from .misc import crop_volume, rebalance_binary_class
from torch_con... | [
"verma.alok001@gmail.com"
] | verma.alok001@gmail.com |
0d2d0fe4366f57197fefd87674a593074be7748d | 586eed41a9a37611b19ab7d79db0b49121799f66 | /Adventure_Python_Game.py | 3b6cd2d023a9db27bc1cd4e3cc0ea5274403c2ab | [] | no_license | eduardocor89/Adventure-game | d180a6e998222bd1276b8a97d65ec7e9cdbc0abe | 9b6ae352dbaa755607aa2e1257c556f18b53e1d1 | refs/heads/main | 2023-03-04T17:14:21.774942 | 2021-02-13T20:21:10 | 2021-02-13T20:21:10 | 338,030,202 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,975 | py | import time
import random
items = []
people = ["Adolf Hitler", "Benito Musoline", "King Leopold", "Alexander Hamilton"]
enemy = random.choice(people)
def print_pause(message):
'''prints out messages slowly'''
time.sleep(1)
print(message)
time.sleep(1)
def intro():
'''Describes the world to play... | [
"noreply@github.com"
] | eduardocor89.noreply@github.com |
b34f36df8a12a3eb0da4a3bac62f1312dd42b488 | 9102c3a5fa3a5b0202d61206973d0ea167f7a4d0 | /August/30-LargestComponentSizebyCommonFactor.py | c772458c707ab0f764caae19f088bad275b69fc5 | [] | no_license | Madhav-Somanath/LeetCode | 8e1b39e106cec238e5a2a3acb3eb267f5c36f781 | b6950f74d61db784095c71df5115ba10be936c65 | refs/heads/master | 2023-01-08T15:10:00.249806 | 2020-10-31T14:45:43 | 2020-10-31T14:45:43 | 255,654,520 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,300 | py | """ Given a non-empty array of unique positive integers A, consider the following graph:
There are A.length nodes, labelled A[0] to A[A.length - 1];
There is an edge between A[i] and A[j] if and only if A[i] and A[j] share a common factor greater than 1.
Return the size of the largest connected component in t... | [
"madhav.somanath@gmail.com"
] | madhav.somanath@gmail.com |
32dfd32e42ef76c7c13cde82e6183c5ec91ceb2b | f8bc54c4eeeadee96df0c42e0c0274bf82e4fc16 | /test/test_CalcRating.py | d35b4dc4dbb8c1bcacd03dd054e8c5a48b9e8ab7 | [] | no_license | Di-98/PTLab1 | 7f08b27313f8ac50a1f4e1d4faf10d3e191baf2d | 74ae325c50c38cd50e03f5314843d764b961b011 | refs/heads/main | 2023-08-01T23:43:31.974359 | 2021-09-28T13:44:06 | 2021-09-28T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,628 | py | from typing import Dict, Tuple
from Types import DataType
from CalcRating import CalcRating
import pytest
RatingsType = Dict[str, float]
class TestCalcRating():
@pytest.fixture()
def input_data(self) -> Tuple[DataType, RatingsType]:
data: DataType = {
"Абрамов Петр Сергеевич":
... | [
"alexey.bezruchenko@yandex.ru"
] | alexey.bezruchenko@yandex.ru |
64477e95e1a0ae9e1812c0c114cf87a0cbb5dcb2 | 25476f58ab74593902c0db71dd8e560dafa5442a | /tools/platform-tools/systrace/catapult/devil/devil/devil_env_test.py | e78221a07000fb52b7f967318a310e761555e43d | [
"BSD-3-Clause",
"Apache-2.0",
"ISC",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NCSA",
"LicenseRef-scancode-unicode",
"LGPL-2.1-only",
"OpenSSL",
"blessing",
"MIT",
"NICTA-1.0",
"LicenseRef-scancode-protobuf",
"GPL-2.0-or-later",
"LicenseRef-scancode-openssl"... | permissive | CanciuCostin/android-spyware | 859771d8ba17b434f3f330b08d6b28f9b26a5068 | be9c2989a76214462b9fe5869c79ffbe86151f13 | refs/heads/master | 2023-04-11T11:34:01.983825 | 2023-03-26T12:25:01 | 2023-03-26T12:25:01 | 253,235,389 | 360 | 104 | MIT | 2023-03-03T12:59:41 | 2020-04-05T12:58:20 | HTML | UTF-8 | Python | false | false | 1,978 | py | #!/usr/bin/env python
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# pylint: disable=protected-access
import logging
import sys
import unittest
from devil import devil_env
_sys_path_before = list(sys... | [
"costin.canciu@ibm.com"
] | costin.canciu@ibm.com |
4c3630fa7f9aa1f52b6fa1a39a51fe053f26f1ad | df93cf07a45ff105402bcb828dc2bf2ed9b6d952 | /exercicio-012.py | a1a0046a297c72a4d5d35944ce23140716103d7d | [] | no_license | carlosmachadojr/Curso-em-Video-Python-3 | d19807191ab967fa26f9332eeef31ab7a6f1ed5e | c3c2faa8d68e7a9738aeb4973f9371149837fe54 | refs/heads/master | 2021-02-11T15:57:47.220758 | 2020-03-07T02:38:28 | 2020-03-07T02:38:28 | 244,507,162 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,152 | py |
##### PORCENTAGEM - CÁLCULO DE DESCONTOS #####
""" CURSO EM VÍDEO - EXERCÍCIO PYTHON 12:
Faça um algoritmo que leia o preço de um produto e mostre seu novo preço,
com 5% de desconto.
Link: https://youtu.be/4MAmKOT9FeU
"""
###############################################################################... | [
"noreply@github.com"
] | carlosmachadojr.noreply@github.com |
d3416b979f79b7c5103f2e5dbe93fec870fc97b6 | 8015f1c62a2cb4efd21aa8938336913bf8117868 | /bamap/ba3712.pngMap.py | 908829e20f14429ced9cb9035658d7b8b75c9d77 | [] | no_license | GamerNoTitle/Beepers-and-OLED | 675b5e3c179df0f0e27b42bf594c43860d03b9af | afe1340e5394ae96bda5f9022a8a66824368091e | refs/heads/master | 2020-04-20T00:09:47.122471 | 2019-04-29T04:59:35 | 2019-04-29T04:59:35 | 168,515,579 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 8,468 | py | ba3712.pngMap = [
'11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000111111111111111111111110',
'11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110',
'1111111111111111111111111111111111111... | [
"bili33@87ouo.top"
] | bili33@87ouo.top |
568bb4d357653572b46fb50c13970053985c3718 | 4f409291f40ed615300710260a1a014f29b9dbbb | /env_health_dashboard/server_locations.py | 9474d1cb9f3679296680a94e7e25cf4601e213d2 | [] | no_license | wenxian/env-health-dashboard | 34ac7f12ed7c996fa9a7a3ef41df18c9e7138572 | 04d5e36aceb4be5750aeba8b692e0ec271476fed | refs/heads/master | 2021-01-23T13:17:29.760500 | 2014-05-21T18:18:47 | 2014-05-21T18:18:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 455 | py | SFLY_JIRA = "https://bugs.tinyprints.com"
SFLY_CHINA_JENKINS = "http://china.stage.shutterfly.com:2010/"
SFLY_TRE_JENKINS = "http://tre-jenkins.internal.shutterfly.com:8080/"
ALEXANDRIA_SERVER = "http://test-results.internal.shutterfly.com"
def get_server(job_repository):
if job_repository == "tre-jenkins":
... | [
"wyang@shutterfly.com"
] | wyang@shutterfly.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.