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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fde84b7f86fe2e5414ad0afb303c5772a3a2bfbf | 0769e74f495d697266407e84054a52ea5da7ad49 | /old/src/YoutubeParseHandler.py | bc82f59feb37b5fa99724bf234172d9268943c5c | [
"MIT"
] | permissive | richard-duong/GuessTheClass | 960082dc212d7c8190f6d605735e0a3afb7d486a | e68c2a0a2fbb7b488450d27b36b52f2b4259e0b1 | refs/heads/main | 2023-05-08T04:03:44.594539 | 2021-05-14T22:59:16 | 2021-05-14T22:59:16 | 340,517,890 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 762 | py | import re
import YoutubeRegex
class YoutubeParseHandler:
def __init__(self):
self.__wordsList = []
def __parseFile(self, transcript):
with open(transcript, "r") as inFile:
text = inFile.read()
text = re.sub(YoutubeRegex.BASIC_FILTER + "|" + YoutubeRegex.ACTION + "|"
... | [
"rduon008@ucr.edu"
] | rduon008@ucr.edu |
6c41461da6b1f280e4708e60c3c8f1ec4ac26eb0 | 94fb9ca84285fa6e570c21208e2e5b2d3ac201db | /Observer/Observer_Controller.py | 28e42cbcfa8ba19b567b11f5d020779f2adb8fb5 | [] | no_license | kmu-cs-swp2-2018/class-01-Kimmyeonghwan | ba3bf280ef7646bf2c9b20305c3bff916d7e918c | b2e77485b257e3e64c3a550a2e757e135d1de73b | refs/heads/master | 2022-12-03T00:40:30.468292 | 2018-11-21T12:17:05 | 2018-11-21T12:17:05 | 146,683,595 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,046 | py | from Observer_View import View
from Observer_Model import Model
def Main():
re = 0
model = Model()
view = View()
while(re != 9):
print("ํ์ฌ ์๊ฐ : {}๋
{}์ {}์ผ {}์ {}๋ถ {}์ด".format(view.ts.tm_year, view.ts.tm_mon, view.ts.tm_mday, view.ts.tm_hour, view.ts.tm_min, view.ts.tm_sec))
print("ํ์ฌ... | [
"myeonghwan2@kookmin.ac.kr"
] | myeonghwan2@kookmin.ac.kr |
53f341d9c5602b342cdf23b6be69e940832f7e46 | dc150d7be2cc82a28aea96b963ea15c6dc146df1 | /app/readtest.py | fb90774bfeeec30bcbd2735885b7863d0c38005f | [] | no_license | pboavida/aztraproject | 2605884d53918d3066f58dfbafe7174a5c035bb2 | c4d59bba9d2e5d5d0b4f2ed676590022014aaea8 | refs/heads/master | 2021-01-08T20:57:38.536908 | 2020-02-21T13:04:31 | 2020-02-21T13:04:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,551 | py | import requests
import json
from os import getenv
# this file was created to test if all the data needed for the tables is obtainable from the api requests
#the data as obtained in the print statements below is not necessarily ready to be entered directly in the tables.
# some data needs to be parsed, such as the depo... | [
"pedrom2boavida@gmail.com"
] | pedrom2boavida@gmail.com |
ea9fc8459914a36ea8f7d384de549505288b7582 | 7463892195fa479a41dad3029eb55fb5e5dbcaa8 | /Railway/railway_book/views.py | 94ca3dd03c7ebddcf1cc1430ba395476e88f42d9 | [] | no_license | Theskyspace/Monorail-DBMS-investo- | c613af02d822bc69d943aef995e2527d09bfb811 | beee5044ea9da1035f16722effb30d00e18b18db | refs/heads/main | 2023-02-20T13:08:22.828151 | 2021-01-20T04:50:23 | 2021-01-20T04:50:23 | 331,196,240 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,955 | py | from django.shortcuts import render,HttpResponse
from .models import search
file_in = open('search.txt','wt')
#BULLSHIT
CHEM_S = ['0600', '0622', '0644', '0706', '0728', '0750', '0812', '0834', '0856', '0918', '0940', '1002', '1024', '1046', '1108', '1130', '1152', '1214', '1236', '1258', '1320', '1342', '1404', '14... | [
"akashrockzz411@gmail.com"
] | akashrockzz411@gmail.com |
08e0cb2008377b5bf7623e9235abde9b1ed3838c | f43a35dd0aab1bdbcf4f281281db2f5b2fdfbd5f | /Machine Learning practice/regression.py | 1139a60862f8ab27ce12788267bba239d79f1432 | [] | no_license | ganzhiruyi/Machine-Learning | 8d75ce5f37db9bec426a136cbfbaf4301bdd8a06 | 66dcba15bb41ce4613b055ec673547f429627dcf | refs/heads/master | 2021-01-18T10:03:40.321880 | 2016-03-03T14:43:19 | 2016-03-03T14:43:19 | 39,997,167 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,453 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date : 2016-01-19 10:57:07
# @Author : ganzhiruyi (ganzhiruyi0@gmail.com)
# @Link : https://github.com/ganzhiruyi
# @Version : $1.0$
from numpy import *
import numpy as np
import matplotlib.pyplot as plt
def loadDataSet(filePath):
# ๅฏผๅ
ฅๆฐๆฎ๏ผๆฐๆฎๆฏ่ก็ๆๅไธไธชๆฏYๅผ
X ... | [
"ganzhiruyi0@gmail.com"
] | ganzhiruyi0@gmail.com |
6c1bf8a8173f069af524c50af7366e3150d5b5a6 | 5adb0e3bce712efb68b241421cd12e71d0401d98 | /tasks/ehco.py | acf54d41b71c3edc251e2ea7866628ff0119bf2b | [
"MIT"
] | permissive | librestar/backend | 8e945c3953ec59b4717704a5ebfc613ed756cba1 | 9060453d140d4c1785b370fd548be519d04047d4 | refs/heads/main | 2023-02-11T03:36:33.584588 | 2021-01-14T07:34:08 | 2021-01-14T07:34:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,372 | py | import json
import typing as t
import ansible_runner
from uuid import uuid4
from app.db.session import SessionLocal
from app.db.models.port import Port
from app.db.models.user import User
from app.db.models.server import Server
from app.db.models.port_forward import PortForwardRule
from app.db.crud.server import get_s... | [
"me@leishi.io"
] | me@leishi.io |
c07d3081696dfc63bf3149aacfa29ae61b1791ba | cc69873bda24115753417a962773798662585c5e | /AnagramSolver/AnagramSolver/views.py | 3b4baf3c7805c920deb1198154a27eda7878990b | [] | no_license | nguyenvinh2/AnagramSolver | e6930096a81b3c0280ab85c0b78232d13c0967be | f6deba01622fe6b298eab3a32a1e1e9633e4c6d7 | refs/heads/master | 2020-04-14T06:45:49.357938 | 2019-01-03T19:44:28 | 2019-01-03T19:44:28 | 163,695,195 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,803 | py | """
Routes and views for the flask application.
"""
from datetime import datetime
from flask import render_template
from AnagramSolver import app
from flask import Flask, request
import json
import requests
class Word():
def __init__(self, word, definition):
self.word = word
self.definition = definition
#g... | [
"nguyenv2@outlook.com"
] | nguyenv2@outlook.com |
f4d86205e1bdc26657ecf48b6f002cbc9c14fb93 | 0c7299e097391daefd66d55d3e5e8ed11aa3519e | /helloworld.py | bb18c60a5eb60b7db8cd4e5eaf3f1af6413c09c1 | [] | no_license | shola/caltrain-dashboard | c4560e71a1a3b81bd0ec119e6d1bb17514e7d48c | 289b88c7c9d10cbdfbddc23fdf04bbd6ccef4d2f | refs/heads/master | 2021-01-16T20:48:36.683416 | 2015-06-16T19:52:39 | 2015-06-16T19:52:39 | 37,552,559 | 0 | 0 | null | 2015-06-16T19:52:18 | 2015-06-16T19:52:18 | null | UTF-8 | Python | false | false | 12 | py | merge hell!
| [
"bchoi@splunk.com"
] | bchoi@splunk.com |
365f848ad8dde1db19f683afd8439f0362e34fb7 | e3a674666de18e3b722bfd36e54d6a32e3f0b726 | /html/default.py | 6971548d1f71ed3f49da66c818ddae27850fbfbf | [] | no_license | sauloaldocker/lamp | 92d52c3105cd1d00d816138a64de66643fda67c3 | 9088f899e9a4e7e04941518041e10630cfdf71f1 | refs/heads/master | 2021-01-20T04:36:21.783064 | 2017-04-02T13:22:02 | 2017-04-02T13:22:02 | 21,629,683 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 536 | py | #!/usr/bin/python
# -*- coding: UTF-8 -*-# enable debugging
import cgitb
import os
import sys
cgitb.enable()
print "Content-Type: text/html;charset=utf-8"
print
print "<h1>argv</h1>"
print "<table>"
for k in sys.argv:
print "<tr><td>%s</td></tr>" % (k)
print "</table>"
print "<h1>environ</h1>"
print "<table>"
for... | [
"sauloal@gmail.com"
] | sauloal@gmail.com |
c749c633bdfd24a7f053d5758c163cb270b8c78a | e4c7bb2f81c305939c94ded69d3a425a53ed5985 | /mundo-2/ex-055.py | eeda2a43d83b6a5b18bbf66b50c1b4abdb22f50d | [
"MIT"
] | permissive | guilhermesm28/python-curso-em-video | 22eecd84fef24bcadbcb04bbfc9a2386dfe526a9 | 50ab4e76b1903e62d4daa579699c5908329b26c8 | refs/heads/master | 2022-10-13T05:45:31.961161 | 2020-06-11T22:59:24 | 2020-06-11T22:59:24 | 267,751,030 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 605 | py | # Faรงa um programa que leia o peso de cinco pessoas. No final, mostre qual foi o maior e o menor peso lidos.
print('-' * 100)
print('{: ^100}'.format('EXERCรCIO 055 - MAIOR E MENOR DA SEQUรNCIA'))
print('-' * 100)
maior = 0
menor = 0
for i in range(1,6):
peso = float(input(f'Peso da {i}ยช pessoa: '))
if i == ... | [
"devguilhermemoreira@gmail.com"
] | devguilhermemoreira@gmail.com |
b48fc36d7a90ec6c3bce9e94507a3efc2825d9b0 | ce51279f51070a954054a28bdbdecde3aa1f182b | /Move Zeroes.py | c0b7e2cf77667832411213b3426cb2ca5f283d6f | [] | no_license | unswjasonhu/leetcode | bc060283fb9cb3d995710591588007d4a87fde2a | dd32ec3425f40461e62c58125e2e078dae236ee1 | refs/heads/master | 2016-08-08T23:54:10.542840 | 2016-01-21T05:00:07 | 2016-01-21T05:00:07 | 46,773,778 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 425 | py | __author__ = 'Jason'
class Solution(object):
def moveZeroes(self, nums):
"""
:type nums: List[int]
:rtype: void Do not return anything, modify nums in-place instead.
"""
for i in range(len(nums)):
j = 0
if nums[i] == 0:
nums.append(0)
... | [
"jasonhu.au2"
] | jasonhu.au2 |
20b19b2536c1fbeefe644e9d821ef833bc2bd42b | 4a11d12d4b3da1efca5638d552cdc9faf9850fbd | /web/views/ach.py | 9a153ef8d184963a71e60d2814b907dc8924ea25 | [
"MIT"
] | permissive | tjcsl/wedge | fc0c46a4bb1d3e993e44fbe58dc5b353a232b7cd | 69a7b0d3cfb5b35544a47522e736cac47fd815e6 | refs/heads/master | 2020-04-07T11:42:13.762935 | 2013-11-10T15:57:42 | 2013-11-10T15:57:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 329 | py | from web.auth import loginrequired
from web.ach import *
from flask import session, request, render_template
@loginrequired
def ach():
name = session["username"] if "username" not in request.args else request.args["username"]
ach = get_user_achievements(name)
return render_template("ach.html", name=name, ... | [
"fwilson@fwilson.me"
] | fwilson@fwilson.me |
682e551baae2d8218700c8db937894c61af7b8fa | 3a0747429d28a4027aa84c051d73aa42b8adf69d | /sakuzu32/hov_wh04_sa.py | 5cfb7e66416a0c61a166eedc7783190f6812092e | [] | no_license | shukubota/b4 | ee06f1b49b2e99d96b1b0e4434d1976e9507bbda | 765ab46c763ced72c70c97ea8c4f38370688af4b | refs/heads/master | 2021-01-11T05:55:15.513100 | 2018-11-08T08:12:06 | 2018-11-08T08:12:06 | 94,946,609 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,941 | py | #coding:utf-8
import sys
sys.path.append('/home/kubotashu/kubota/labo/sakuzu/sakuzu/sakuzu09/')
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap
from function import *
import os.path
import matplotlib.cm as cm
#####################
#fileใฎใตใคใบ
#########################
lon1=-90... | [
"noreply@github.com"
] | shukubota.noreply@github.com |
ab6a077030d7e71350326b60b2622c761eac3670 | ca539b0df7ca5a91f80b2e2f64e7379e69243298 | /87.py | 219641b62a1f8827bc7e6a09e66208ccf7bb59c1 | [] | no_license | yorick76ee/leetcode | 9a9e5d696f3e32d9854c2ed9804bd0f98b03c228 | d9880892fe15f9bb2916beed3abb654869945468 | refs/heads/master | 2020-03-18T22:59:29.687669 | 2016-07-18T19:56:55 | 2016-07-18T19:56:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,452 | py | class Solution(object):
def lettercount(self,s1,s2):
dict1,dict2={},{}
for i in range(len(s1)):
if s1[i] not in dict1:
dict1[s1[i]] = 1
else:
dict1[s1[i]] += 1
if s2[i] not in dict2:
dict2[s2[i]] = 1
else... | [
"641614152@qq.com"
] | 641614152@qq.com |
7e91cea1d6c02d21774bddccf502f877e6aac5ae | 3798583928530b4c5366e2dace526a4ce3e0c9bd | /rqrobot/core/strategy_universe.py | 9f6c7cbcb319583c13b92cd86e0453a277ec07bd | [
"Apache-2.0"
] | permissive | luhouxiang/rqrobot | bc80a5458f8a8c0631e566d781db1497939b641f | 0b0094b0e2d061e628c570a06a7620e5fb48d342 | refs/heads/master | 2020-05-17T14:40:04.495201 | 2019-05-04T13:17:04 | 2019-05-04T13:17:04 | 183,768,782 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,974 | py | # -*- coding: utf-8 -*-
#
# Copyright 2017 Ricequant, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | [
"luhouxiang@hotmail.com"
] | luhouxiang@hotmail.com |
953f9fc2f8c41cae91dcb576a328561653318abd | 989e16ccb5569cd514a2a0cd41c04392248eeae3 | /airtest/utils/logwraper.py | b86b7d8d0ddf1ce8712d67747ccd8b44f6875b34 | [
"Apache-2.0"
] | permissive | wb-qiujuli/Airtest | 1dc98e385efae4aa18a8ffc879ad6ec7a8f7dbac | 4f73a03a62f11a8010769eda4b53a53a74a8d16c | refs/heads/master | 2020-03-19T01:09:53.709209 | 2018-05-31T01:31:04 | 2018-05-31T01:31:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,116 | py | # _*_ coding:UTF-8 _*_
import os
import sys
import json
import time
import functools
import traceback
from .logger import get_logger
LOGGING = get_logger(__name__)
class AirtestLogger(object):
"""logger """
def __init__(self, logfile, debug=False):
super(AirtestLogger, self).__init__()
self.lo... | [
"gzliuxin@corp.netease.com"
] | gzliuxin@corp.netease.com |
cd30dee9c2e39d4d74f5da68dd97c87656ac6d03 | ecd27923efba50703a7bfbfa2ba37a8cc78560ea | /automatic_scraper/config/bid/liriqing/shandong_taian_ggzy_config.py | bd234c5293803ff68ced61e5c97669fc19eb8d3a | [] | no_license | yougecn/work | fb691b072a736731083777e489712dee199e6c75 | 1b58525e5ee8a3bdecca87fdee35a80e93d89856 | refs/heads/master | 2022-03-03T19:14:17.234929 | 2018-04-17T12:29:19 | 2018-04-17T12:29:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,631 | py | # coding: utf-8
import time
import logging
import re
logger = logging.getLogger(__name__)
author = "liriqing"
web_title = u"ๆณฐๅฎๅธๅ
ฌๅ
ฑ่ตๆบไบคๆ็ฝ"
data_source = 'http://www.taggzyjy.com.cn'
start_urls = [
##ๆฟๅบ
#ๆๆ
"http://www.taggzyjy.com.cn/Front/jyxx/075002/075002001/075002001001/",
"http://www.taggzyjy.com.cn... | [
"iwechen123@gmail.com"
] | iwechen123@gmail.com |
a3bb3ecefb0daf9c42cee95e85b7561e754a16d4 | 19126b16eb2678164c1bc282e5b9c86216b483aa | /process.py | f9f46504f1d9b85e4d31638e02b6fde00cc7fe34 | [] | no_license | lucjon/unescape | 366e5ef6914533bf4a6b85391fb7681ce1500203 | cf618144a0efc5fb3f94ed6e5c472322ef223ab2 | refs/heads/master | 2020-03-30T06:42:46.411895 | 2010-12-07T21:16:05 | 2010-12-07T21:16:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 149 | py | print 'var _entities = {'
f = open('entities')
for entity in f:
s = entity.split('\t')
print '\t"%s": "%s",' % (s[0], s[1])
f.close()
print '};'
| [
"lucas@lucasjones.co.uk"
] | lucas@lucasjones.co.uk |
6a754571b917d56a2e08e0f91d054b9346da7e34 | f3bca43b2e703408110cd405e469064442086a32 | /app/Router/ErrorHandling.py | 14b9c9dece1f89033b89ac78f30499bf16655061 | [] | no_license | Simon-whale/FastAPI | 37b40f3fd67d5219db809c73ab7981e6b216d278 | dd22a0a3bad03a6c463bf1b4babd2315d252d0f3 | refs/heads/master | 2023-05-29T16:36:00.894550 | 2021-06-14T18:56:32 | 2021-06-14T18:56:32 | 365,352,991 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 931 | py | from fastapi import APIRouter, HTTPException
from fastapi.responses import JSONResponse
from app.Models.Message import Message
from app.Models.Item import Item
router = APIRouter()
@router.get('/blowsup/{item_no}', tags=["Errors"])
def she_gonna_blow(item_no: int):
if item_no >= 100:
# Here on purpose w... | [
"83454878+Simon-whale@users.noreply.github.com"
] | 83454878+Simon-whale@users.noreply.github.com |
c86e29c92067ee462f7e3e49e7c314b4b5687ea7 | dd7766e4a31c6907ca77c448fe953d7d7e936501 | /account/urls.py | 73aeed4b606ef4c044a21546e84270d00394a5f3 | [] | no_license | Randomnation/blogV2 | 2ece1ad596e4699e63f42eab351837262c2baf5a | 5f7f54bab3fb811cc57b313a608e79329f31eb8c | refs/heads/master | 2021-04-06T11:14:52.398442 | 2018-03-30T02:33:39 | 2018-03-30T02:33:39 | 125,216,311 | 0 | 0 | null | 2021-03-30T04:33:50 | 2018-03-14T13:25:33 | Python | UTF-8 | Python | false | false | 905 | py | from django.urls import path, include
from django.contrib.auth.views import login, logout
from account import views
app_name = "account"
urlpatterns = [
path('login/', login, {'template_name': 'account/login.html'}, name='login'),
path('logout/', logout, {'template_name': 'account/logout.html'}, name='logout'... | [
"krammtacular@gmail.com"
] | krammtacular@gmail.com |
801c42a9cc2b11ec0ce7278cd4201251a3d8cf7d | 02f1f32827119f086baed04eb8db9ac230b6ba97 | /Classification/KNN/knn.py | 2e9bb85ba3f325dad8b705f7d51e5b366f3998fd | [] | no_license | HsiangHung/Machine_Learning_Note | 82182bcff2f67e9b933d447a384aa8ec7e52b53b | 300f2bba5edaca25e66dcce0c4edd3203c8f22fb | refs/heads/master | 2023-09-01T13:40:57.636906 | 2023-08-31T05:32:23 | 2023-08-31T05:32:23 | 163,471,072 | 4 | 4 | null | null | null | null | UTF-8 | Python | false | false | 1,620 | py | '''
sklearn: https://stackabuse.com/k-nearest-neighbors-algorithm-in-python-and-scikit-learn/
Python from scratch: https://machinelearningmastery.com/tutorial-to-implement-k-nearest-neighbors-in-python-from-scratch/
NOTE: we should standardize data if necessary
'''
import numpy as np
import heapq
class KnnClassifie... | [
"Hsiang.Hung2015@gmail.com"
] | Hsiang.Hung2015@gmail.com |
1f90a89e25da62b6b5d3becb16bd2ca8c3045f98 | c48d431c5b7ac7e242d1637b314dc6e13585724d | /for loop test.py | 283b801b84f3cfc00c5cce761570c8bd1dd254b3 | [] | no_license | tytim12/Test-Res | d5bb5b21a325b84ec1016eb68b0f2bbc058cda2f | 1b43897cb770c12ee59342146599d1a32888150d | refs/heads/master | 2021-09-10T09:30:53.365617 | 2018-03-23T15:41:46 | 2018-03-23T15:41:46 | 119,928,795 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 236 | py | def prime(max):
list = []
for num in range(2,max):
for n in range(2,num):
if num % n == 0:
break
else:
list.append(num)
return list
numList = prime(100)
print(numList) | [
"tanyuan@Dev.chngalaxy.com"
] | tanyuan@Dev.chngalaxy.com |
df3910edec0018e22e73d750172933db0402f750 | 6a22b7e73dc2ff6c089b727d0a3858241846f8df | /Systems/esh-spring-2015.git/src/plugins/systemInfo_test.py | 79044de0ccade054d72a819f02d293037742a7cd | [
"MIT"
] | permissive | mikefeneley/school | fe48ee989ac83d4836ce93538cbe51496f709abe | 5156f4537ca76782e7ad6df3c5ffe7b9fb5038da | refs/heads/master | 2021-06-10T01:52:21.148937 | 2016-12-23T12:39:32 | 2016-12-23T12:39:32 | 72,551,482 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,458 | py | import sys, imp, atexit, os
sys.path.append("/home/courses/cs3214/software/pexpect-dpty/");
import pexpect, shellio, signal, time, os, re, proc_check
# Determine the path this file is in
thisdir = os.path.dirname(os.path.realpath(__file__))
#Ensure the shell process is terminated
def force_shell_termination(shell_pr... | [
"michael.j.feneley@gmail.com"
] | michael.j.feneley@gmail.com |
3e8fbc487395171405ee2db183f9bb360c8ad542 | 60c8d2e77bd7c4c646f33d09aca6cc2fae143c3d | /tools_SSD.py | 942be797a37d39410fa57fd0ab9fe9490d7bc377 | [] | no_license | dynamicguy/tools | 866eb881d601866b0a528613773763dfd4dec36c | e718ff9c118d2a9081d532929ba631be95627fcf | refs/heads/main | 2023-03-26T11:03:04.656851 | 2021-03-06T19:45:16 | 2021-03-06T19:45:16 | 345,179,890 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,608 | py | import numpy
import cv2
import tools_image
# ----------------------------------------------------------------------------------------------------------------------
import tools_YOLO
from keras.layers import Input
# -------------------------------------------------------------------------------------------------------... | [
"nurul@ferdo.us"
] | nurul@ferdo.us |
36d6859f91412f1d9bc50c8d9093e25601f1b157 | 854b94d7be92582bd191a7cb63143a95e5b5c337 | /hyfetch/distros/postmarketos_small.py | 4dc2bd42a651c2a3c7f18c7ef7c07c17cd241449 | [
"MIT"
] | permissive | hykilpikonna/hyfetch | 673c0c999d0f3f542349824495ad6004f450ebac | 98863df16d70b030696f4b94080d114396320f35 | refs/heads/master | 2023-08-17T10:41:10.289997 | 2023-08-17T03:37:23 | 2023-08-17T03:37:23 | 479,913,941 | 447 | 78 | MIT | 2023-09-14T14:39:18 | 2022-04-10T04:38:15 | Shell | UTF-8 | Python | false | false | 325 | py | # This file is automatically generated. Please do not modify.
from . import AsciiArt
postmarketos_small = AsciiArt(match=r'''"postmarketos_small"''', color='2 7', ascii=r"""
${c1} /\
/ \
/ \
\__ \
/\__ \ _\
/ / \/ __
/ / ____/ \
/ \ \ \
/_____/ /________\
""")... | [
"me@hydev.org"
] | me@hydev.org |
51b0ecc3f68e0a7f94297a54e5a5c33b9f699b5b | 658e2e3cb8a4d5343a125f7deed19c9ebf06fa68 | /course_DE/udacity-data-engineering-projects-master/Project 5 - Data Pipelines with Airflow/exercises/dags/3_ex3_subdags/subdag.py | 2751def0ecb6a5a10629e528018801bbdaf2210a | [] | no_license | yennanliu/analysis | 3f0018809cdc2403f4fbfe4b245df1ad73fa08a5 | 643ad3fed41961cddd006fadceb0e927f1db1f23 | refs/heads/master | 2021-01-23T21:48:58.572269 | 2020-10-13T22:47:12 | 2020-10-13T22:47:12 | 57,648,676 | 11 | 9 | null | null | null | null | UTF-8 | Python | false | false | 1,649 | py | # Instructions
# In this exercise, weโll place our S3 to RedShift Copy operations into a SubDag.
# 1 - Consolidate HasRowsOperator into the SubDag
# 2 - Reorder the tasks to take advantage of the SubDag Operators
import datetime
from airflow import DAG
from airflow.operators.postgres_operator import PostgresOperator
... | [
"f339339@gmail.com"
] | f339339@gmail.com |
ca9a92d1612494dd95fd85bed22d1c0fab8da6d2 | 1c9aa8f755f0a4beb60db8e006a36d56ab8d8d68 | /src/common.py | cb5930b381480ac553db62c28919722b1349cf92 | [] | no_license | silverfield/repertoire-mng | 1e7b457014b75b66d42a8008570f0582eb395da1 | a99c9937269f07773458aa312fc18ba34f165e31 | refs/heads/master | 2021-01-01T08:05:01.118859 | 2020-11-22T20:54:10 | 2020-11-22T20:54:10 | 239,187,849 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,997 | py | import os
import json
cur_dir = os.path.dirname(os.path.abspath(__file__))
DATA_DIR = f'{cur_dir}/../data'
OUTPUT_DIR = f'{cur_dir}/../output'
TYPE_BT = 'bt'
TYPE_NBT = 'nbt'
ON_LINUX = os.path.exists('/opt')
PREFIX = '/d'
if not ON_LINUX:
PREFIX = 'G:'
PDF_DIRS = [f'{PREFIX}/music/akordy/chords', f'{PREFIX}/m... | [
"ferohajnovic@gmail.com"
] | ferohajnovic@gmail.com |
2c8f4f7227f82dcabce679d0b612e3e0c4bebb05 | c3f23317487154ace20c9baf5eafc79c0dfac55a | /Rope/rope_fmtExploit.py | 926fff23a1aeddc70e49482f882a92e2bda37e28 | [] | no_license | gbrsh/htb_exploits | a54d946355966c733d6a6d6ddc7c95d6ab5ae4a6 | 36175b1a258f7fd246ff815cc29facebf10ae0a1 | refs/heads/main | 2023-02-15T17:59:17.023361 | 2021-01-18T13:38:08 | 2021-01-18T13:38:08 | 330,675,194 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,498 | py | import base64
import urllib
from struct import pack
from pwn import *
myip = "10.10.14.2"
host = "10.10.10.148"
got_base = ""
got_printf = ""
libc_printf = ""
libc_system = ""
got_puts = ""
def mapsExtract():
cPrm = "GET"
aPrm = "../../../../../proc/self/maps"
rPrm = "Range: bytes=0-9999"
payload = cPrm + " " + ... | [
"noreply@github.com"
] | gbrsh.noreply@github.com |
0d7725141ae936d59ae566697940703666446737 | 1f5022b8edfda8f1226a608cb0028e8e057704ce | /excript/app-comerciais-kivy/aulas/entradaDados.py | 56b87cfceba451818625686f075146f328708615 | [] | no_license | felipecechin/python | 75372545c96cb79826861dca40c8211e4108e687 | 194932b0e93947ba2ba17bdbcdf5dc11de98f195 | refs/heads/master | 2022-01-11T18:05:55.058248 | 2019-06-04T03:21:16 | 2019-06-04T03:21:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 128 | py | login = input("Login:")
senha = input("Senha:")
print("Login:",login,"senha:",senha)
print("Login: %s senha: %s" %(login,senha)) | [
"ficechin@hotmail.com"
] | ficechin@hotmail.com |
3f59c6edd6e5a5576e24f61b7997b031a064e4d7 | a62c3f0f641c930d74aa4a43e14b0f1e8de71b5f | /pages/views.py | d3ee28ea642f9016e0fb679d2d6d97a165b998b5 | [
"MIT"
] | permissive | ticotheps/scenic-realty-app | b2b02f509cff51d40d88c07fe5afff7c65c73c0c | c91caaee019d4790d444d02067a1a8e83ed554ba | refs/heads/develop | 2020-12-02T09:37:58.467839 | 2020-02-10T18:15:58 | 2020-02-10T18:15:58 | 230,966,666 | 0 | 0 | MIT | 2020-02-10T18:15:59 | 2019-12-30T19:10:19 | CSS | UTF-8 | Python | false | false | 204 | py | from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return render(request, 'pages/index.html')
def about(request):
return render(request, 'pages/about.html') | [
"ticotheps@gmail.com"
] | ticotheps@gmail.com |
ca962831629656a8d9a0b99cd1a750b6fb3b06eb | 24a7c711c15c70fc2961ce9bdbada50ac0aafa01 | /src/blockchain/miner/services/transaction_listener.py | cb927614faee5331135afdf80a4c4a9f4fa58e09 | [] | no_license | thaolt/blockchain | bad75f4eea2d2886e23e69429bc0dedf99fe1b0e | 582ecb10c0ecb97583c8d814242fca5ef1100b23 | refs/heads/master | 2020-04-02T22:10:37.233766 | 2018-04-01T09:33:46 | 2018-04-01T09:33:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,667 | py | from socket import *
from threading import Thread
import logging
import sys
from blockchain.common.utils import bytes_to_text
from blockchain.common.encoders import transaction_decode
SERVICE_NAME = 'Transaction Listener'
BUFFER_SIZE = 1024 * 1024
BACKLOG_SIZE = 3
class TransactionListener(Thread):
def __init__(s... | [
"rob@codebox.org.uk"
] | rob@codebox.org.uk |
4d7b1226c2be4554257e8f7c5caf6d4ec0fc71b2 | 1085f7ea495be42baf5b4384e47419d867a22b20 | /event/tests.py | 7b6b1fb1a6d263d840df6f396fffe2f9cc595f7c | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | lorne-luo/venom | 0c1061fdcfa79176be8ae79cc9fb239f59a82254 | bf6379d9a40dd81f1e01cc230a4eae93452c0f18 | refs/heads/master | 2022-12-28T17:13:08.607339 | 2020-10-12T00:21:17 | 2020-10-12T00:21:17 | 301,604,020 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,697 | py | import unittest
import json
from broker.oanda.common.constants import OrderType
from event.event import SignalEvent, SignalAction, Event
from mt4.constants import OrderSide, PERIOD_M5, pip, calculate_price
from strategy.hlhb_trend import HLHBTrendStrategy
class EventTest(unittest.TestCase):
def test_event(self):... | [
"lorneluo@leightonobrien.com"
] | lorneluo@leightonobrien.com |
7dff4b226731cd79302d718ef9315d7ab9f5ed9f | 90b6c2643e41e374d86048da524d69699810907b | /aula6/criador_de_nota_fiscal.py | d7b7c4ef2db7145b4fb8e0bef061a8534d5dfbe4 | [] | no_license | silviosnjr/Python-Design-Patterns-parte1 | 24d4a8b5b8eff3c14788b2e0c272180825157fed | c831736f5e9c20bd68ee5a9578a2f71bdd107aa4 | refs/heads/master | 2023-08-16T08:33:17.625107 | 2021-10-16T17:56:52 | 2021-10-16T17:56:52 | 417,688,036 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,537 | py | # -*- coding: UTF-8 -*-
from nota_fiscal import Nota_fiscal
from datetime import date
class Criador_de_nota_fiscal(object):
def __init__(self):
self.__razao_social = None
self.__cnpj = None
self.__data_de_emissao = None
self.__itens = None
self.__detalhes = None
def com... | [
"silviosnjr@gmail.com"
] | silviosnjr@gmail.com |
5521b133c4c362f2cc6d3ccdcc2029c849e5935b | d28ae1748a2be7aa60926d82f60723392f3bd0b4 | /piece.py | 7046be7cea0bc62e123dd94afef9afaafd5cf915 | [] | no_license | FilipKrzemien/Python-Checkers | 05855845a0ede8fd95b330211d5e8a6875441870 | f7283d1d33a5eff65176dc0d679aa831f3d4e706 | refs/heads/master | 2020-03-21T08:36:31.159249 | 2019-04-14T13:44:31 | 2019-04-14T13:44:31 | 138,354,013 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 724 | py | from square import Square
class Piece(Square):
def __init__(self, position, player):
Square.__init__(self, position)
self.player = player
def move_available(self, other_position, black_turn):
pass
def update_position(self, new_position):
Square.update_position(self, new_p... | [
"filip.krzem@gmail.com"
] | filip.krzem@gmail.com |
fe71939a7bd2a6c8c874577da3939a3550c854ce | e52af4720714e8d40d22593c815403129d96f630 | /kiwi/util/service_groups.py | 4102bb45721fd2efc7f9009568adb85a10ddb9cb | [
"Apache-2.0"
] | permissive | KiwiNetworkOrg/kiwi-blockchain | 26f143aef0ec5d615fc3ce8a2f5d64d285f3c76d | 90ec3a0fd7b50f5b98b5b0478e28ebbe6f8e8a71 | refs/heads/main | 2023-07-27T03:03:23.966038 | 2021-09-02T07:57:21 | 2021-09-02T07:57:21 | 398,200,002 | 8 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,190 | py | from typing import KeysView, Generator
SERVICES_FOR_GROUP = {
"all": "kiwi_harvester kiwi_timelord_launcher kiwi_timelord kiwi_farmer kiwi_full_node kiwi_wallet".split(),
"node": "kiwi_full_node".split(),
"harvester": "kiwi_harvester".split(),
"farmer": "kiwi_harvester kiwi_farmer kiwi_full_node kiwi_w... | [
"jackydu1980@gmail.com"
] | jackydu1980@gmail.com |
365a794605a103aa3c437ccaaab439b00243cb55 | 03fc2bef8d43fb62f1063c3c70edee938d87a36e | /Reinforcement-learning-agent-law/game/create_game.py | 641f2dba9f5c8d5960a4439eeaa65f82065dc29a | [
"MIT"
] | permissive | driesdenouter/Reinforcement-learning-agent-that-has-learned-the-law | 7fc79c5724984e8544376bb33e8246e595c7146b | e4f39a0f6827bf25148aa9fd4f6e15f2a8f4bf6f | refs/heads/master | 2023-01-28T15:37:00.450840 | 2020-12-05T16:53:09 | 2020-12-05T16:53:09 | 262,281,384 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,953 | py | import random
import math
import numpy as np
import pygame
from pygame.color import THECOLORS
import pymunk
from pymunk.vec2d import Vec2d
from pymunk.pygame_util import draw
# PyGame init
width = 1000
height = 700
pygame.init()
screen = pygame.display.set_mode((width, height))
clock = pygame.time.Clock()
# Turn of... | [
"noreply@github.com"
] | driesdenouter.noreply@github.com |
f022eab24ec8efff6cd2a71e46e90e334bef79fc | 2e87a0a3f62be689ae3b858eaf1e843632c152f8 | /Turtoise.py | ce8b81787592b8486bd2107bec532b16a8f915d5 | [] | no_license | ThinThinzarHtet/PythonHybridClass | 1dc3ec385d49fab2b4513507699c5587c03eff3b | a9d7b7cb51c1896523b4b2788490959b20532232 | refs/heads/master | 2021-10-25T07:59:56.116757 | 2020-01-19T11:05:35 | 2020-01-19T11:05:35 | 217,832,143 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 281 | py | # from turtle import *
# color('red', 'yellow')
# begin_fill()
# while True:
# forward(200)
# left(170)
# if abs(pos()) < 1:
# break
# end_fill()
# done()
import turtle
triple = turtle.turtle()
for i in range(20):
triple.forward(i * 10)
triple.right(144)
turtle.done() | [
"thinthinzarhtet19@gmail.com"
] | thinthinzarhtet19@gmail.com |
a172c1be6d6b5a6fe6ce3855677790abab9776c3 | 5a60ad7e8a5efabb9a9ef4a9980ae7bbcf81c393 | /attack_files/leak.py | 67cb4e87a08a939b3bb919efc95ae78cd08abc45 | [] | no_license | agadient/SERVEEZ-CVE | 03cb17b9b35162517b4d8ff7003187479ab8a8c6 | 6507dbf6bed1ae98a7322f15f7238144ea1e1be7 | refs/heads/master | 2020-09-13T10:48:09.714749 | 2019-11-19T17:39:58 | 2019-11-19T17:39:58 | 222,747,827 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 449 | py | #!/usr/bin/python
import socket
from time import sleep
import sys
a = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
b = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
c = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
d = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
f = open(sys.argv[1], 'r')
data = f.re... | [
"agadient@mit.edu"
] | agadient@mit.edu |
85115d1212270dde95742797c7074e489bb195c8 | e9c0b70cab39fa771db383fa882436c14ae9aec7 | /pizza_app/migrations/0001_initial.py | ece9b436685209c0100e8865b75f0d5b8d49abde | [
"MIT"
] | permissive | rusrom/django_pizza_project | f4b67b558a6238b58e285f1b9eb38bf1c8cbadf5 | 350862ca49b91f5d5d4e12105846ecc9e4fc15c0 | refs/heads/master | 2020-07-16T05:45:07.229049 | 2019-09-02T14:14:21 | 2019-09-02T14:14:21 | 205,732,229 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,024 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2019-09-02 12:28
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migratio... | [
"rusrom@guyfawkes.33mail.com"
] | rusrom@guyfawkes.33mail.com |
5b50487270c74172bed04c7f6257121b2eacd2c0 | be937643b2d7a8ae86b87bfb286c2119fe8423c3 | /authentication/forms.py | 4b91e273758d346b7714f21fcd824fa56037c5c9 | [] | no_license | Detharion91/django-tickets-app | 58f8a4151bea424517a4e2c102e09e6bc5e9c38d | cfbcf19b373aa6412a2904a7386d82a8e0139744 | refs/heads/master | 2020-03-30T13:24:18.603969 | 2018-10-02T14:54:59 | 2018-10-02T14:54:59 | 151,271,399 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,167 | py | from django import forms
from django.utils.translation import gettext_lazy as _
from django.contrib.auth.models import User
class RegisterForm(forms.ModelForm):
password = forms.CharField(label=_('Password'), widget=forms.PasswordInput)
password2 = forms.CharField(label=_('Confirm Password'), widget=forms.Pas... | [
"ghernandezdelrosario@gmail.com"
] | ghernandezdelrosario@gmail.com |
5217d549706a2f597d04b402bbc9bb8c20a0c4b2 | 6567e62b10027b4219692d9f8a1ba9c9c9871cfd | /model/model_dynamodb.py | 1725e0d1101e459b600e1e2cb1b9feb471885052 | [] | no_license | vlames/memoverse | 1356031b5cddf0d73f87aa0abdb161f88d631525 | 2d365bdce2992a3fea38eebc19958c204dda80b7 | refs/heads/master | 2022-11-22T17:42:59.103971 | 2020-07-16T22:58:19 | 2020-07-16T22:58:19 | 279,144,525 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,217 | py | # File: model/model_dynamodb.py
# Description: the file provides the dynamodb backend storage for memoverse
"""
The memoverse data is stored in the dynamodb database and has the following look:
+-----------+-------------------+-------+--------------+
| Reference | Theme | Verse | Fums |
+=========... | [
"vlames@pdx.edu"
] | vlames@pdx.edu |
0d3df4c7aa3aec5676639d9ff04e3a255dd4bd91 | b0bbe465952beab8c9634320662e1a60dbce567f | /app/api/agent/__init__.py | 1a69d0ec7e34a9447ae490f085bda28cdd502f45 | [] | no_license | pawanpal1848/smart-pid-api | eb84b36aaef314aaf099bc9dcd2552a02fea10ab | e26b4da1a09b9314961b07acb0859f29a694f1a5 | refs/heads/master | 2023-08-09T11:14:16.098429 | 2021-09-07T12:59:44 | 2021-09-07T12:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,724 | py | from app.model.buffer import Buffer, get_buffer_used_size
from app.model.response import ValuedResponse, Response, ExceptionResponse
from app.model.agent import load_agent_settings, save_agent_settings, get_loaded_agent
import tensorflow as tf
import numpy as np
agent = get_loaded_agent()
def remember(body: list):
... | [
"mathias.tiberghien@gmail.com"
] | mathias.tiberghien@gmail.com |
23de31fa7213263f9a98e2bd707d3c2d771dd3be | eda36d24a1e6d4f30597ab1e1b2d8e17694f93bd | /weio/tests/test_turbsim.py | 2afe6ac46c1e982c0352cf1e40abbc37dad84357 | [
"MIT"
] | permissive | ebranlard/weio | 31fdab7a8afde9919f66fab942dad309f8d8d0e2 | 50fab087c5dc3e0248bcce578de6e713fa3e9b5f | refs/heads/main | 2023-07-23T19:32:42.548855 | 2022-12-19T08:13:06 | 2022-12-19T08:13:06 | 152,828,434 | 25 | 20 | MIT | 2023-01-13T20:37:29 | 2018-10-13T02:44:25 | Python | UTF-8 | Python | false | false | 1,734 | py | import unittest
import os
import numpy as np
from .helpers_for_test import MyDir, reading_test
try:
from weio.turbsim_file import TurbSimFile
except:
from weio.weio.turbsim_file import TurbSimFile
class Test(unittest.TestCase):
def test_001_read_all(self, DEBUG=True):
reading_test('TurbSim_*.*', ... | [
"emmanuel.branlard@nrel.gov"
] | emmanuel.branlard@nrel.gov |
4998d14e229e37f835bbecc90cd2f99ce4d68860 | 78efa54b2b253f99ea7e073f783e6121c20cdb52 | /Codechef/Maximize The Sum.py | 6c263f96896aaeb642979ffca927fdf582635a67 | [] | no_license | NishchaySharma/Competitve-Programming | 32a93581ab17f05d20129471f7450f34ec68cc53 | 1ec44324d64c116098eb0beb74baac7f1c3395bb | refs/heads/master | 2020-04-08T04:02:46.599398 | 2020-01-01T15:51:39 | 2020-01-01T15:51:39 | 159,000,529 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 190 | py | for _ in range(int(input())):
n=int(input())
arr=sorted(list(map(int,input().split())))
res=0
for i in range(n//2):
res+=abs(arr[i]-arr[n-i-1])
print(res)
| [
"noreply@github.com"
] | NishchaySharma.noreply@github.com |
76c75743262d244fb0c331f24bf18c1f4b75d7cc | 50c1f7e4a3084ecd0ef72c9b20f8ea218cebe14c | /home/views.py | 3507d6e56d7fcbb516f8c88bcbc6ecadfdad1a86 | [] | no_license | rahulshivan05/Coder | 922240a494207d0fcf1a553d1749eb7c09c6425b | 79340971c4c1ac3123e5a65fc9fb423f87eac972 | refs/heads/main | 2023-02-17T13:50:51.491016 | 2021-01-13T15:55:22 | 2021-01-13T15:55:22 | 329,347,947 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,752 | py | from django.core import checks
from django.shortcuts import render, redirect, get_object_or_404
from django.http import HttpResponse, HttpResponseNotFound, Http404
from django.core.exceptions import PermissionDenied
# from django.contrib.postgres.operations import UnaccentExtension
from django.db.models import * # F, L... | [
"rahulshivan05@gmail.com"
] | rahulshivan05@gmail.com |
72892bdf8fdf2f6871faa6409f8b2e0b4cb27a32 | 433f7b48e1228f700a4581a9c212208e0214ee91 | /django_cms_example2/wsgi.py | a6953a86dcdd243e3bf42672b2d5dbe13ca59973 | [] | no_license | sysneld1/telecom1 | 13e69972ac016fd3f1cc59a5a4dfb250f4a3a2af | f210edd73098610ec7029b0991e208a11a7e3fb7 | refs/heads/master | 2022-12-17T02:52:56.947608 | 2020-09-15T12:28:45 | 2020-09-15T12:28:45 | 295,719,322 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 415 | py | """
WSGI config for django_cms_example2 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.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('... | [
"sysneld1@gmail.com"
] | sysneld1@gmail.com |
5858339fb5fa9dbe8b8188ff43641fdd371396b9 | 1ee10e1d42b59a95a64d860f0477a69b016d1781 | /Lecture_03/Lecture Code/10_Matcher_3_Lexical_Attibutes.py | 00f1d77a02bad808777d7d520f42ccb07444ce0b | [] | no_license | KushalIsmael/NLP | 5564070a573d251d7222dda85b8025ae1f9c3c6f | d4ce567a009e149b0cb1781d3a341d25aa438916 | refs/heads/master | 2023-08-18T14:07:48.646386 | 2021-10-28T19:09:25 | 2021-10-28T19:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 432 | py | import spacy
from spacy.matcher import Matcher
nlp = spacy.load("en_core_web_sm")
matcher = Matcher(nlp.vocab)
pattern = [{"IS_DIGIT": True}, {"LOWER": "fifa"}, {"LOWER": "world"},
{"LOWER": "cup"}, {"IS_PUNCT": True}]
matcher.add("FIFA", [pattern])
doc = nlp("2018 FIFA World Cup: France won!")
matches = m... | [
"amir.h.jafari@okstate.edu"
] | amir.h.jafari@okstate.edu |
bce3a2f07e931ae8a96ce2b494edbef64616f5ea | b21a7616ec39e53c4c5d596c32fc2e6c6f3d5273 | /Reverse/HW-08/10/anrgy.py | ac996f3b9fdbd2b53ba7c92a306be07f0cef4b6f | [] | no_license | vladrus13/ITMO | d34fbd5feee0626c0fe5722b79dd928ee2a3f36a | c4ff564ea5f73e02354c0ae9248fee75df928b4e | refs/heads/master | 2022-02-23T03:13:36.794460 | 2022-02-10T22:24:16 | 2022-02-10T22:24:16 | 177,217,313 | 17 | 9 | null | 2020-08-07T15:06:37 | 2019-03-22T22:33:18 | Java | UTF-8 | Python | false | false | 593 | py | def tracer():
ROOT = '#ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
ENTER_FOR_ADDR = '0x80484b1\n'
IF_ADDR = '0x80484ba\n'
file = open('trace.log', 'r')
char = 0
s = file.readline()
while file.readable():
while s != ENTER_FOR_ADDR:
s = file.readline()... | [
"vladrus13rus@yandex.ru"
] | vladrus13rus@yandex.ru |
ef4f31488ff1d5936c39d77fc37b29c55734102e | 4500003dcaa3eb92e2b9c6bca8987ec473fb5ec3 | /core/migrations/0006_post_slug.py | db41286dfce7136c7c34e38796bac248d7291c36 | [] | no_license | alikhundmiri/simpleweddingdjango | 0bb2bfc069bac075d759efa96eede55c68595cf4 | 57aa6576df368fde651f7f2b6863f693bbb57756 | refs/heads/master | 2022-12-17T22:36:18.674974 | 2020-06-14T08:10:09 | 2020-06-14T08:10:09 | 239,115,495 | 0 | 0 | null | 2022-12-08T03:51:09 | 2020-02-08T11:01:00 | HTML | UTF-8 | Python | false | false | 866 | py | # Generated by Django 3.0.3 on 2020-03-29 16:37
from django.db import migrations, models
from core.utils import random_string_generator
from django.utils.text import Truncator
from django.utils.text import slugify
def gen_slug(apps, schema_editor):
MyModel = apps.get_model('core', 'Post')
for row in MyModel.... | [
"salikhundmiri@gmail.com"
] | salikhundmiri@gmail.com |
0e85466f60bd9a21dc3fc450b1a424e22248fff6 | 9a0a4439610489f391ed99f565de358779048a3f | /Assign3/ib_kpca.py | 0a1713af17bae9b55adb1f5643412b900157c95e | [] | no_license | asyrofist/SMAI-A3-SVM-Kernel-PCA-LDA | 6a5fecba0bcbe828ec8e3df895ac5d7aac8e4e55 | 5675a3ef452840298ff94ccaa631278fbdf8a691 | refs/heads/master | 2021-04-23T18:37:09.598069 | 2016-10-28T12:52:59 | 2016-10-28T12:52:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 211 | py | from sklearn.decomposition import KernelPCA
def kpca(X,g,k):
kpca = KernelPCA(k,kernel="rbf", fit_inverse_transform=True, gamma=g)
pcaX = kpca.fit_transform(X)
return (pcaX) | [
"saumya.rawat25@gmail.com"
] | saumya.rawat25@gmail.com |
89e4b0cc8cc580454793178a3e90e399b693f848 | 1cd853babf022779f3392eb9e1781f952d4f2c07 | /proposal.py | 45a17c9f760c1ab2575741bea87304eb7b516340 | [
"Apache-2.0"
] | permissive | ksrhamdi/proCon3 | 84b53027305f609267393701b49f3e7efade9097 | f0d214651dae5cbdbd4f7ff881269fb1cc5501ad | refs/heads/master | 2022-11-10T06:58:07.931219 | 2020-06-03T18:01:10 | 2020-06-03T18:01:10 | 276,995,886 | 0 | 0 | Apache-2.0 | 2020-07-03T22:15:11 | 2020-07-03T22:15:10 | null | UTF-8 | Python | false | false | 5,885 | py | # Import external modules.
from google.appengine.api import memcache
from google.appengine.ext import ndb
import logging
import random
import time
# Import local modules.
from configuration import const as conf
from constants import Constants
const = Constants()
const.MAX_RETRY = 3
const.MIN_REAGGREGATE_DELAY_SEC = 6... | [
"you@example.com"
] | you@example.com |
e41d486baf0f584817240d5dfb4283ad35235fff | a80884040ce1c178274a3068d216f440dd541844 | /tests/operators/test_group_by.py | 148a994d874624aae29cd6aea6bd533dc90abce8 | [
"MIT"
] | permissive | maki-nage/rxsci | a4aae51edc1ef684b55df22e34c11aa1d54ef740 | 915e59ebf593c4b313265bb87cf0e1209ec2ee0f | refs/heads/master | 2023-01-19T14:32:11.638497 | 2023-01-17T08:06:35 | 2023-01-17T08:06:35 | 242,592,973 | 9 | 2 | MIT | 2022-11-08T21:54:16 | 2020-02-23T21:23:56 | Python | UTF-8 | Python | false | false | 4,013 | py | import rx
import rx.operators as ops
import rxsci as rs
from ..utils import on_probe_state_topology
def test_group_by_obs():
source = [1, 2, 2, 1]
actual_error = []
actual_completed = []
actual_result = []
mux_actual_result = []
def on_completed():
actual_completed.append(True)
s... | [
"romain.picard@oakbits.com"
] | romain.picard@oakbits.com |
45a0abb7cb04b7724c98f4ae1b983fc5ab8ca6ff | bee0e3bd66de44a8fdf5ef111eeee11c78268d86 | /server/edd/notify/tests.py | 0d19754431fdac324ca2b2ce54e53c208cc9a7b0 | [
"BSD-3-Clause",
"BSD-3-Clause-LBNL"
] | permissive | zhwycsz/edd | 7516d56a7263c90c625b6b5c2c58577a36d6ace7 | bdc1d2f8b5e375d3a1254829b9d2b460dd09ca12 | refs/heads/master | 2020-07-10T22:21:52.152045 | 2019-08-15T04:27:53 | 2019-08-15T04:27:53 | 204,384,337 | 1 | 0 | NOASSERTION | 2019-08-26T02:58:01 | 2019-08-26T02:58:00 | null | UTF-8 | Python | false | false | 13,569 | py | # coding: utf-8
import time
from uuid import uuid4
import pytest
from channels.testing import WebsocketCommunicator
from edd import TestCase, asgi
from main.tests import factory
from . import backend
class NotificationTests(TestCase):
@classmethod
def setUpTestData(cls):
super().setUpTestData()
... | [
"WCMorrell@lbl.gov"
] | WCMorrell@lbl.gov |
b5450b3f9c338676f9ab05092e450396a19672b0 | 5d5f6ba3bdcb52b4750a5f28afa8a1a1019bfc9e | /django/extras/djangoForms/djangoFormApp/models.py | 464d6d00fd8196fb2c75dbf55badc599443656b0 | [] | no_license | eDiazGtz/pythonLearning | 06e96f2f5a6e48ac314cb815cf9fbf65d0b7c2c8 | 57d7b2292cf5d9769cce9adf765962c3c0930d6c | refs/heads/master | 2023-06-18T02:16:09.293375 | 2021-05-03T18:09:52 | 2021-05-03T18:09:52 | 335,090,531 | 0 | 0 | null | 2021-05-03T18:09:53 | 2021-02-01T21:35:24 | Python | UTF-8 | Python | false | false | 758 | py | from django.db import models
# Create your models here.
class UserManager(models.Manager):
def createValidator(self, postData):
errors = {}
if len(postData['firstName']) < 1:
errors["firstName"] = "First Name should be at least 1 character"
if len(postData['lastName']) < 1:
... | [
"ediaz-gutierrez@hotmail.com"
] | ediaz-gutierrez@hotmail.com |
3106b4bc8e71a298aca6998c29c4550feecf1a1e | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_057/ch136_2020_04_01_12_32_08_786356.py | 4df310a8d6f0a4bc15990114f812d772610cae60 | [] | 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 | 54 | py | dinheiro = 10
print('dinheiro:'{0}).format (dinheiro)
| [
"you@example.com"
] | you@example.com |
ff9ee174e245f827cf26c90562405bbd23476e0d | d659887598e3cd40219c2e1b46cf41de28e5bc58 | /generate_mp4.py | 363567b86a0d8e1de74bd032bacd9eafd47e2c0b | [
"MIT"
] | permissive | cvtuge/Extreme-Dark-Video-Enhancement | d3f5ad874bdd2d636b04a344ba70afd8db0084c5 | e0de50428d74a7cec2ee87b63e9fce9860dfd590 | refs/heads/master | 2022-04-08T21:51:40.559183 | 2020-02-02T23:00:45 | 2020-02-02T23:00:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,009 | py | #!/usr/bin/env python
# by boyuanwa 3043994708
# ----------------------------------------------------------------
# Written by Boyuan Wang
# Fall 2019
# ----------------------------------------------------------------
# This helper python aims to cnvert from npy file to mp4 file
import os, glob, time
import numpy as n... | [
"wangby511@gmail.com"
] | wangby511@gmail.com |
dbc3af99f4b28f4c0b2f38df4b3669c55981fec5 | 95e25faf8756a5f8f01be106e21449250c35af79 | /project/_auth/migrations/0022_auto_20210515_0557.py | bdab54653b2f88bfe5bd1b8353d87aa678b5805b | [] | no_license | nazkeyramazan/django2021 | ac2d918821b35672f242f8d4656d2e8698c0e7f9 | f63a1760b0a7a13721087863a191aeb282b9f077 | refs/heads/master | 2023-05-14T18:55:40.787793 | 2021-05-15T01:38:07 | 2021-05-15T01:38:07 | 342,715,437 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 445 | py | # Generated by Django 3.1.7 on 2021-05-14 23:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('_auth', '0021_auto_20210515_0410'),
]
operations = [
migrations.AlterField(
model_name='mainuser',
name='role',
... | [
"nazkeyramazan@gmail.com"
] | nazkeyramazan@gmail.com |
b1c10929ca27cebfc8f32d5fa3e33f13d3744bd3 | c251401a04faee549a5255745dc976c2be8e24b9 | /work_orders/permissions.py | 15b4821acb2a82a375b098f4d93f2ef74b862691 | [] | no_license | fengo4142/aero-django-backend | a43a3526b570730fd9d519b8e890e550ff9f9f3c | 53167b52b68b30eef6a10edea47888ba0ad71a4e | refs/heads/master | 2022-11-11T10:01:50.534513 | 2020-06-24T15:40:11 | 2020-06-24T15:40:11 | 274,699,313 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,948 | py | import logging
from rest_framework.permissions import BasePermission
from work_orders.models import WorkOrderForm
logger = logging.getLogger('backend')
# *****************************************************************************
# ***************************** WORK ORDERS *******************************
# **... | [
"fengo4142@gmail.com"
] | fengo4142@gmail.com |
ce6904d70f47be5003b15f558dcc9f8b0b56a0fe | 4863991fc679b178106cd8091ac6c61923fdf8e6 | /03-Python/3/Activities/03-Stu_HobbyBook/Unsolved/HobbyBook_Unsolved.py | afffec60f4fdf29ba6c71dc8da33fbcf265bb2ad | [] | no_license | HeyMikeMarshall/GWARL-Data | 0b22bea61f7cf103cd7da8119bf2138d74a665f1 | cfa61c1eb8db933f4c096fcc0fe79a01e82539e4 | refs/heads/master | 2020-04-27T21:46:49.156111 | 2019-04-13T14:27:57 | 2019-04-13T14:27:57 | 174,711,542 | 0 | 0 | null | 2019-03-21T23:03:24 | 2019-03-09T15:30:36 | null | UTF-8 | Python | false | false | 437 | py |
me_hobbybook = {
"name":"Michael Marshall",
"age":"32",
"hobbies":
["hiking", "gaming", "diy"],
"wakeuptime": {
"Monday": '0600',
"Tuesday": '0600',
"Wednesday": '0600',
"Thursday": '0600',
"Friday": '0600',
"Saturday": '0800',
"Sunday":... | [
"mjmarshall@gmail.com"
] | mjmarshall@gmail.com |
36bc327c7332f51a2ad9a259d48c874153a7cf0b | f27944e59e8c516ba519685f65055d98b1671b21 | /tests/milvus_benchmark/client.py | 4744c108540f163173f574aa93d5675445c30416 | [
"Apache-2.0",
"Zlib",
"BSD-3-Clause",
"LGPL-2.1-only",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT",
"JSON",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | trungtv/milvus | c09239a0fab0cffe035d8fcb363992b670f18dcf | d0d4f4f269325bfd4d8a8d1621ee6a67dbe263a6 | refs/heads/master | 2020-09-01T07:21:03.061054 | 2019-10-30T05:39:45 | 2019-10-30T05:39:45 | 218,906,834 | 1 | 1 | Apache-2.0 | 2019-11-01T03:29:21 | 2019-11-01T03:29:20 | null | UTF-8 | Python | false | false | 7,743 | py | import pdb
import random
import logging
import json
import sys
import time, datetime
from multiprocessing import Process
from milvus import Milvus, IndexType, MetricType
logger = logging.getLogger("milvus_benchmark.client")
SERVER_HOST_DEFAULT = "127.0.0.1"
SERVER_PORT_DEFAULT = 19530
def time_wrapper(func):
""... | [
"hai.jin@zilliz.com"
] | hai.jin@zilliz.com |
cb403497b8afbd364fbe73234f0890db03722801 | 04b1799fca40a9a4fafa3540d0e9abf1e32fcdc5 | /test_files/configs/dummy_dataset_config.py | 7833c62628c083136e6e1ffed4054068865fa46a | [] | no_license | selcouthlyBlue/bi_lstm_ocr | 0afe71e181b2c2a2a930f821c8b8c1c4557a0f22 | 6c3c61380546a896d12c4dd87eb277ad020565b2 | refs/heads/master | 2021-08-14T15:28:49.751921 | 2017-11-16T04:16:34 | 2017-11-16T04:16:34 | 105,123,935 | 3 | 6 | null | null | null | null | UTF-8 | Python | false | false | 233 | py | class DatasetConfig:
def __init__(self):
self.labels_file = "C:/Users/asus.11/Documents/bi_lstm_ocr/test_files/dummy_labels_file.txt"
self.data_dir = "C:/Users/asus.11/Documents/bi_lstm_ocr/test_files/dummy_data/" | [
"jvgonzalvo@up.edu.ph"
] | jvgonzalvo@up.edu.ph |
96a67941448fd56f8f1010061052ed22f03db22f | 9aa80d470054cbe3dd87be5db83e05bcbff2c3e9 | /License-Plate-Recognition-master/predict.py | e51bf9a637e8af3678e7e7f11fd621d140416e28 | [
"MIT"
] | permissive | fog-dong/test | 9c28cf902f40288e082a958e42c8fabd16ea386b | fbf38d97bb5750b08097178fa532b24e47f1bfb9 | refs/heads/master | 2023-02-16T03:17:40.087509 | 2020-12-28T17:32:33 | 2020-12-28T17:32:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,351 | py | import cv2
import numpy as np
from numpy.linalg import norm
import sys
import os
import json
SZ = 20 #่ฎญ็ปๅพ็้ฟๅฎฝ
MAX_WIDTH = 1000 #ๅๅงๅพ็ๆๅคงๅฎฝๅบฆ
Min_Area = 2000 #่ฝฆ็ๅบๅๅ
่ฎธๆๅคง้ข็งฏ
PROVINCE_START = 1000
#่ฏปๅๅพ็ๆไปถ
def imreadex(filename):
return cv2.imdecode(np.fromfile(filename, dtype=np.uint8), cv2.IMREAD_COLOR)
... | [
"1026198824@qq.com"
] | 1026198824@qq.com |
5cf1960c834e90ad7fb7225ef4c412aa36982ac7 | 7737714964065404309fbb3c256bb57333bb3954 | /DiSTopStudy/test/default_cfg.py | 9b368ca9df3556a6bb5b0a8c3e1361a12b0f4744 | [] | no_license | pastika/SusyAnalysis | 4d14dc5b364334a018819deaea7fbdc166c7b070 | 6edc5107908e205db47c1b08d3dd9c1c5d32f420 | refs/heads/master | 2020-05-20T05:35:49.581731 | 2015-01-12T15:39:45 | 2015-01-12T15:39:45 | 28,870,414 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,271 | py | import FWCore.ParameterSet.Config as cms
#J..
import commands
import FWCore.Utilities.FileUtils as FileUtils
from FWCore.ParameterSet.VarParsing import VarParsing
process = cms.Process("Analysis")
options = VarParsing ('Analysis')
options.register ('fileList',
'',
VarParsing.mul... | [
"pastika@cern.ch"
] | pastika@cern.ch |
9ebc206e34a9a97f3a229550659068e38d3d3a59 | 77e3ec4741a32a9784e3fd9ac9210694a572f497 | /tests/test_extract.py | 110ebc8c60e0f1314beb97c6f9f547fcc5af5d79 | [
"Apache-2.0"
] | permissive | mrunesson/stockrec | c1b37f54f1070c358c417d2264927d171ec9a38a | 603bd471446f445ceeeaf8ed4de8f45478c0a22d | refs/heads/master | 2023-04-09T07:27:32.749529 | 2023-03-20T15:53:29 | 2023-03-21T15:04:15 | 271,747,267 | 1 | 1 | Apache-2.0 | 2021-01-04T15:14:13 | 2020-06-12T08:23:28 | Python | UTF-8 | Python | false | false | 10,020 | py | import datetime
import unittest
from decimal import Decimal
from stockrec.extract import extract_forecast
from stockrec.model import Forecast, Direction, Signal
class TestSimpleExtractor(unittest.TestCase):
test_data = [
('Carnegie sรคnker Thule till behรฅll (kรถp), riktkurs 220 kronor.',
Forecast... | [
"M.Runesson@gmail.com"
] | M.Runesson@gmail.com |
8ca8ffe69257d8c7e79065fd4e815b66d6a14d52 | 353b324a088d32053b165c0ab3e622dfe524a09d | /linked_class.py | d443e0ccc1b8c57d8bebbc603a1881305788c7b5 | [] | no_license | nurlanorazkeldiyev/seminar3 | 0fbb92d5456ab23e3f76825462cad38a652cec4e | dc9945907e3baf50847359c02ca36c5f72b3523f | refs/heads/master | 2020-04-25T00:07:20.552808 | 2019-03-01T11:24:07 | 2019-03-01T11:24:07 | 172,367,796 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 605 | py | from linked_list import Mylist
class Queue:
def __init__(self):
self.my_queue = Mylist()
def length(self):
return self.my_queue.__len__()
def isEmpty(self):
if self.length() == 0:
return True
return False
def dequeue(self):
if not self.isEmpty():
count = 0
for elem in s... | [
"nurlan_o.s@mail.ru"
] | nurlan_o.s@mail.ru |
f725442ebab9d20319de0cae94b13354fa60e6a9 | f844fe4eb921da07dd6e93856c27af84752a4ec9 | /tools/pred_prey_experiment_file.py | cc75a2d7b487d69fe6220fc5b6b15b31566d73b9 | [
"MIT"
] | permissive | jcbpyle/FLAMEGPU | 3ef16edd04bb40914db96665c8415c07d51ac6d7 | c472982da0b7d20a61f12c64e6dcf8b1953ef434 | refs/heads/master | 2020-05-20T06:04:25.265348 | 2019-06-04T16:23:52 | 2019-06-04T16:23:52 | 185,419,573 | 0 | 0 | null | 2019-05-07T14:33:32 | 2019-05-07T14:33:32 | null | UTF-8 | Python | false | false | 19,385 | py | # -*- coding: utf-8 -*-
"""
Created on Mon Mar 25 11:53:16 2019
@author: James
"""
# -*- coding: utf-8 -*-
"""
Created on Thu Mar 7 12:49:41 2019
@author: James
"""
from smse_experiment_functions import simulation_ga, batch_simulation, train_regression_surrogate_model, train_classifier_surrogate, surrogate_ga, surro... | [
"jcbpyle1@sheffield.ac.uk"
] | jcbpyle1@sheffield.ac.uk |
f3a741df2f360ded2a04b6cb0bc198fd067bfbe5 | 69bc75893c707785e5cec300b3e2f1e2381726ab | /info-treel-steps/dev-files/view-hex.py | 4de8df80abe02e3b6d232ffd224c3f636ca7fd33 | [
"MIT"
] | permissive | pierremolinaro/real-time-kernel-teensy-for-students | 2704116e7bf56047568462df2486744585781d71 | e2b153c30537f2cf394da12a2bd337955c3f1b26 | refs/heads/master | 2023-05-12T21:55:38.595726 | 2023-05-02T15:52:04 | 2023-05-02T15:52:04 | 137,371,482 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,622 | py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# From: https://github.com/msolters/intel-hex-viewer
#------------------------------------------------------------------------------
import sys
def parse_hex_line( line ):
if len( current_l... | [
"pierre@pcmolinaro.name"
] | pierre@pcmolinaro.name |
b42d376714e61221c9b1932afe6a308354078de5 | 523fb785bda41e33546c929a5c2de6c93f98b434 | /ไธ้ขๅญฆไน /้พ่กจ/mergeKLists.py | 89db71c8897b4a8abf67d8c47ea987374e83a389 | [] | no_license | lizhe960118/TowardOffer | afd2029f8f9a1e782fe56ca0ff1fa8fb37892d0e | a0608d34c6ed96c9071cc3b9bdf70c95cef8fcbd | refs/heads/master | 2020-04-27T10:33:21.452707 | 2019-05-02T10:47:01 | 2019-05-02T10:47:01 | 174,259,297 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 700 | py | # Definition for singly-linked list.
# class ListNode(object):
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution(object):
def mergeKLists(self, lists):
"""
:type lists: List[ListNode]
:rtype: ListNode
"""
#ๆๆๆ้พ่กจๆพๅ
ฅๆฐ็ป๏ผๆๅบๅๅปบ็ซๆฐ้พ่กจ่ฟๅ
... | [
"2957308424@qq.com"
] | 2957308424@qq.com |
6af9434c46be76fce9d56f3ea60f2fca581ad793 | bc0dd74217258c8bdd30e6095dfd7a3edca2dd09 | /assignments/CarND-Vehicle-Detection-P5/f2f.py | c7ddcf21d773d672880881636ee6f76213c48ccd | [] | no_license | akamlani/selfdrivingcar | d645872f4129fcd4c68c3d4967fdd9c784086cc8 | eadd43b4c6d60c71e283b7c43cba61030377eb47 | refs/heads/master | 2020-06-12T10:19:55.748107 | 2017-05-02T18:44:52 | 2017-05-02T18:44:52 | 75,585,494 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,461 | py | import numpy as np
import cv2
from scipy.ndimage.measurements import label
import viz_utils as viz
class Vehicle(object):
def __init__(self):
self.detected = False # was vehicle detected in last iteration
self.n_detections = 0 # number of times this vehicle has been seen
... | [
"akamlani@gmail.com"
] | akamlani@gmail.com |
27780a5a5eeb3156d1fc17cd2c89f81ea03c6187 | cf2592c342869e9b027794ff985726e53d90e171 | /DFS.py | bac15cb2c4504a3b44c480e762dea082bc42a638 | [] | no_license | Utsabab/Data-Structures- | bb37e9dec89d64e18b2cec52c5bc93265f86093b | d58bdc0db99e9cd71fc99cb1586093c84a25b973 | refs/heads/master | 2021-01-22T04:01:18.522277 | 2017-02-17T19:48:58 | 2017-02-17T19:48:58 | 81,491,695 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 339 | py | G = {}
G["A"] = ["B", "C"]
G["B"] = ["C", "D", "E"]
G["C"] = ["D"]
G["D"] = []
G["E"] = []
#DFS:
def printing(root):
stack = []
stack += root
searched = []
while stack:
person = stack.pop()
print(person)
for i in G[person]:
if i not in searched:
stack.append(i)
searched.appe... | [
"utsab.khakurel@bison.howard.edu"
] | utsab.khakurel@bison.howard.edu |
6a70f2cc95e497009551b3295f2cf8429c1bcad3 | 1173175cd324cfaa4dd6db9230adc939f4dd88e6 | /09_button.py | 28f0c8a4de9ee2df8410272954ada0217e095be3 | [] | no_license | kmoad/gtk3-tutorial | de59efc6191e5b214423be986539825955dd0139 | 98fbd07fd777d7c0244b64668891eab8d4131fa3 | refs/heads/main | 2023-05-13T11:18:02.324495 | 2021-05-29T01:19:52 | 2021-05-29T01:19:52 | 369,915,134 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,122 | py | import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
class ButtonWindow(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self, title='Button Demo')
self.set_border_width(10)
hbox = Gtk.Box(spacing=6)
self.add(hbox)
button = Gtk.Button.new_with_labe... | [
"kyle.moad@gmail.com"
] | kyle.moad@gmail.com |
5b91c207f77e5910ac31b71ac9a0edf50cc7a5c1 | 5201e9f33a961cbfcc7b3fc5efc9bf9e57298b7b | /UIelems.py | 3ccd01343cc037be781546cf339be2d7f99b32e4 | [] | no_license | EveryoneHATEme/simple-photo-editor | 1f7ada2138ef8e665e7753cbb4b188e5e00a8084 | 57d55d800cb83218788a1e82bb0112abeee6aabf | refs/heads/master | 2020-09-08T05:10:15.412928 | 2019-11-11T16:40:18 | 2019-11-11T16:40:18 | 221,024,792 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,644 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'untitled.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
from draw import FilterHandler, BlurHandler, default_image
class... | [
"noreply@github.com"
] | EveryoneHATEme.noreply@github.com |
bcb6aaa7bfdf74309d4b17ba49c96fce029d923f | 5e965b37305c3f55583e80aab937f7c7c603198d | /lessons/lesson6.py | 3757612c1db7df13d486ee4e68473343d4e72cbe | [] | no_license | izlatkin/CourseraTask | aaddfc744b2ad5bc70a862962a97700e809d84dc | 3f7015d88d433d2596ec8e94f79ae4bea3d475c1 | refs/heads/master | 2020-05-20T06:06:02.260764 | 2016-09-14T21:51:04 | 2016-09-14T21:51:04 | 68,225,567 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 996 | py | __author__ = 'ilya'
class Animal:
# def __init__(self, name = 'No Name'):
# self._name = name
def __init__(self, **kwargs):
self._attributes = kwargs
def set_attributes(self, key, value):
self._attributes[key] = value
def get_attributes(self, key):
return self._attr... | [
"zlatkin_ilya@mail.ru"
] | zlatkin_ilya@mail.ru |
ad8bc92067a56e68d2d6a41e02f85a5fc6f954e0 | 1d9a6406c859fda186f520bb4472c551fc572c7b | /src/hopla/cli/groupcmds/hatch.py | e3c85019653f241bbc5b6a5ab861095a0e1e838d | [
"Apache-2.0"
] | permissive | rickie/hopla | af21b794ce6719d402721550e1ee4091790410b6 | 24a422194e42c03d5877dc167b2b07147326a595 | refs/heads/main | 2023-08-13T17:33:03.612293 | 2021-10-12T12:13:25 | 2021-10-12T12:13:25 | 408,538,704 | 0 | 0 | Apache-2.0 | 2021-09-20T17:30:15 | 2021-09-20T17:30:15 | null | UTF-8 | Python | false | false | 873 | py | #!/usr/bin/env python3
"""
The module with CLI code that handles the `hopla hatch` GROUP command.
"""
import sys
from typing import NoReturn
import click
import requests
from hopla.hoplalib.hatchery.hatchcontroller import HatchRequester
@click.group()
def hatch():
"""GROUP for hatching eggs."""
def hatch_egg... | [
"31448155+melvio@users.noreply.github.com"
] | 31448155+melvio@users.noreply.github.com |
8b233babbcc3f3efc6de6e4720599c590b22e2d3 | 71fdffc6f4ed975d042073691960e554a2b76be0 | /Opening an Image.py | 7b32c5f0f0308fd5ddff5ce2bf21fd032d29acf4 | [] | no_license | BhavyaShah1234/MyWholeImageProcessingFolder | 1abe4f1f35625daf5b0e532c4e285267cf90719e | fa8af03537c576c1c3661eb57a7346ab0db24f56 | refs/heads/main | 2023-04-05T00:25:24.932163 | 2021-04-08T07:04:04 | 2021-04-08T07:04:04 | 355,788,297 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 363 | py | import cv2
# Load/Read image
img1 = cv2.imread('lena.png', 0)
img2 = cv2.imread('lena.png', 1)
img3 = cv2.imread('lena.png', -1)
# Show Image
cv2.imshow('Output1', img1)
cv2.imshow('Output2', img2)
cv2.imshow('Output3', img3)
# Retain/Delay Image
cv2.waitKey(0)
# On clicking close on image window the progr... | [
"noreply@github.com"
] | BhavyaShah1234.noreply@github.com |
de6ecc44ca37c28e472b8df0d1377818c08bd1ff | 391eafc9a385fc17f15619ac3eb1c248ff88991c | /src/run.py | f029fd667d05ca639c850699079685470c65a18d | [
"MIT"
] | permissive | greatEncoder/vscode | dc6098174898e546ec2211a3b793c3e5ab9b2e4c | fe66e9dbc79cd64afcb8fccfe058a822dc6d2610 | refs/heads/master | 2021-02-09T00:26:49.349847 | 2020-03-16T22:22:26 | 2020-03-16T22:22:26 | 244,215,240 | 0 | 0 | null | 2020-03-01T20:04:00 | 2020-03-01T20:03:59 | null | UTF-8 | Python | false | false | 8,774 | py | import sys
import ast
import bdb
import json
import re
import core
class LoopInfo:
def __init__(self, frame, lineno, indent):
self.frame = frame
self.lineno = lineno
self.indent = indent
self.iter = 0
class Logger(bdb.Bdb):
def __init__(self, lines):
bdb.Bdb.__init__(se... | [
"lerner@cs.ucsd.edu"
] | lerner@cs.ucsd.edu |
268b03511df9b1daf0eee6d6ed67b1c79a9b4a19 | f6ebe0c6bc6a044e84875a46e3086ae7cf9f6168 | /domoWebConfigParser.py | 9a6ca5ee02aac0b8e97c548c4696c885c649821a | [] | no_license | Manu-31/domoweb | 6adc7d088fa94d08fe013f3d8d0c212f37ffd814 | 7192039e39b01f6ef1729c409a3934e235bc7cb5 | refs/heads/master | 2021-01-19T11:42:18.368771 | 2018-11-17T16:41:14 | 2018-11-17T16:41:14 | 61,647,468 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,009 | py | # -*- coding: utf-8 -*-
#=============================================================
# A configuraion tool for domoWeb based on python ConfigParser
#=============================================================
import ConfigParser
config = ConfigParser.ConfigParser()
config.optionxform = str
#----------------------... | [
"manu@manu-chaput.net"
] | manu@manu-chaput.net |
c53cdeb4d119d5301a3ddabfc5f7a46417bf5ff6 | 8a79b77ab6acfc97b58ae9f987629e8ee00038c8 | /setup.py | 27ade12065d3cf1a86989380f5d11f6ea39a73cf | [] | no_license | Konrad-git-code/Aspp2021-exercises-day4 | d38d394561bc08c08b39e7edeca5997409bf0fbf | 446022871d0cbd75a17b2853c4b19670bd4a2378 | refs/heads/main | 2023-03-08T01:09:04.482587 | 2021-02-20T21:32:34 | 2021-02-20T21:32:34 | 340,119,050 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 120 | py | from distutils.core import setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize("cy_primes.pyx")
)
| [
"noreply@github.com"
] | Konrad-git-code.noreply@github.com |
1d1e5c80adae2a85e36764be6c6786ca13998bc7 | 3a771b72dae1aae406b94726bcbcf73915577b18 | /q38.py | 0a85a5450c76b409276bf18b448122f28c6bc171 | [] | no_license | SHANK885/Python-Basic-Programs | 4fcb29280412baa63ffd33efba56d9f59770c9dc | 157f0f871b31c4523b6873ce5dfe0d6e26a6dc61 | refs/heads/master | 2021-07-18T18:24:10.455282 | 2018-11-19T07:02:27 | 2018-11-19T07:02:27 | 138,009,231 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 294 | py | '''
Define a function which can generate a list where the values are square of numbers between 1 and 20 (both included).
Then the function needs to print the last 5 elements in the list.
'''
def lis(lower,upper):
l = []
for i in range(lower,upper+1):
l.append(i)
print(l[-5:])
lis(1,20) | [
"shashankshekhar885@gmail.com"
] | shashankshekhar885@gmail.com |
19c2fc6ce6c8cc922ca844bf9f171416384b75a9 | 66596c9d2e97ef2997ca587ee2924210360e6730 | /deeplearnig/redneuronal/probando.py | 4d4bbd6c277be84ae26fa3ea13cc21eabf3ee97e | [] | no_license | rmsg23/android | ec9eb17c0996bd5c1a9eb111ea9ab774aeaaecdf | a4e90e1a21856f2ccd1218a0dbd1c279885e15d5 | refs/heads/master | 2021-01-09T20:38:24.390383 | 2016-06-09T19:22:40 | 2016-06-09T19:22:40 | 60,798,621 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,132 | py | entrada X[i]: 64 datos (matrix de 8*8)
a= [ 0.0 , -0.33501649,-1.09493684, -0.66762355, 0.26875116, 0.7446178 ,
-0.10895844, -0.12502292,-0.05907756, -0.62400926, -0.25504011, 0.00517797,
-1.31330167, 1.12772113, 0.87958306, -0.13043338, -0.04462507, -0.72764628,
1.07165259, -0.51590096,-1.14964846, 0.676... | [
"rmsg23@gmail.com"
] | rmsg23@gmail.com |
33fcb1655b493726efde46bf4eda9f6a56feed54 | 28f83582f02bfbec4e0ee32924913260093549ee | /fercam/fercam/asgi.py | 0ac3f057463aabe36256add27f5abe9bb2ad4b9f | [] | no_license | fabianomobono/transport | 9b8ce8457d1edc3bb1479e3efb4870ba64060403 | 302821b8423ba4ef5e60971a50521a0a31729cb1 | refs/heads/main | 2023-02-09T11:40:54.875356 | 2021-01-04T15:07:58 | 2021-01-04T15:07:58 | 314,293,625 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 456 | py | import os
from channels.auth import AuthMiddlewareStack
from channels.routing import ProtocolTypeRouter, URLRouter
from django.core.asgi import get_asgi_application
import transport.routing
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fercam.settings")
application = ProtocolTypeRouter({
"http": get_asgi_applic... | [
"fabian.omobono@gmail.com"
] | fabian.omobono@gmail.com |
dfa39f1519de44a9bc2e2795a2c624fa07e64ccb | c1bdce1c720394a02f4dbd582c4e5bf3d26d234b | /ScoreManagement/ScoreManager.py | 3fdc895a0a2d596413d19ac948c2e93df230415f | [] | no_license | TuanMinh-Vu/LambdaFunctions-Database | 4eaaaa2c226d17901f26567ad7c2d3377e60e355 | df4818924f5d23cbc36ccea6a989fdf667a2bd7f | refs/heads/master | 2022-07-23T19:31:02.718322 | 2020-04-19T10:24:30 | 2020-04-19T10:24:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,187 | py | import json
import boto3
def lambda_handler(event, context):
dynamodb = boto3.resource('dynamodb')
scoreTable = dynamodb.Table("Score")
if event['httpMethod'] == 'GET':
if 'queryStringParameters' in event:
params = event['queryStringParameters']
if 'GameName' in params... | [
"vuminh99hp@gmail.com"
] | vuminh99hp@gmail.com |
182ca5a1b657ff23de907689d948cd50219592c2 | 7dbd0bcc1a19fc9317102096c4e6848d8d343f43 | /PipelineClusterNew/CrossValidationII.py | c3eefc8be5f8ac6a25f21a19c5a0f5984c80fddf | [] | no_license | ruit/BayesTeller | 4f23ce58e23e5e3f647406db003946d4e8f98756 | e37a87a35ff10369aaeb3e200320734e41bfd762 | refs/heads/master | 2020-04-06T04:22:14.136804 | 2015-08-24T10:28:11 | 2015-08-24T10:28:11 | 22,233,799 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,270 | py | #!/usr/bin/python
# Tian R. <tianremiATgmail.com>
# Nov 4, 2014
# Nov 5, 2014
# Dec 12, 2014
# Randomly mask some patients as test data
import random, math
import sys, re
infile1 = sys.argv[1]
infile2 = sys.argv[2]
totalPatListFile = sys.argv[3]
tempdir = sys.argv[4]
# Sep 19, 2014
# Tian R. compare SNVs freq in n... | [
"tianremi@gmail.com"
] | tianremi@gmail.com |
5d95667ea4bdc4bfe5a1025aefdf96ae56266dde | 2bf29863d6030b75136b7d0bfc76ee78cb3125c5 | /vfplot.py | f06402c4db48c4386ddc3eb5a7208196da620862 | [] | no_license | michellekli/visitor-forecasting | 28ec72397e094af1888c9c2f7ffd82f988b21160 | da33a0b0332b643faa8e37c984f008a64eb73c35 | refs/heads/master | 2020-07-02T13:12:52.847545 | 2019-08-15T20:29:45 | 2019-08-15T20:29:45 | 201,531,344 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,907 | py | import numpy as np
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
import seaborn as sns
import statsmodels.api as sm
import calendar
from pandas.plotting import register_matplotlib_converters
register_matplotlib_converters()
from statsmodels.graphics.tsaplots import plot_acf, plot_pacf
import v... | [
"michelle.li.862@gmail.com"
] | michelle.li.862@gmail.com |
555ab84accb35fdd7a4be6c3279a0dfd0fda301b | 71acb7214efd91c0d327f6d8958e1798eadb4401 | /locations/spiders/lidl_be.py | 82d333e830b64a9538b85a87b7b5987b418fa8c1 | [
"CC0-1.0",
"MIT"
] | permissive | alltheplaces/alltheplaces | 21b9f8b4ace1352e52ae7b8f8825a930d2cb033e | 1bcbb55cfcf06f2c714465570711f6e83f205c22 | refs/heads/master | 2023-08-30T19:45:35.098658 | 2023-08-30T17:51:54 | 2023-08-30T17:51:54 | 61,166,935 | 453 | 176 | NOASSERTION | 2023-09-14T17:16:40 | 2016-06-15T01:09:18 | Python | UTF-8 | Python | false | false | 1,410 | py | import re
from locations.hours import DAYS_FR, OpeningHours, day_range, sanitise_day
from locations.spiders.lidl_gb import LidlGBSpider
from locations.storefinders.virtualearth import VirtualEarthSpider
class LidlBESpider(VirtualEarthSpider):
name = "lidl_be"
item_attributes = LidlGBSpider.item_attributes
... | [
"noreply@github.com"
] | alltheplaces.noreply@github.com |
e66b10771ba670c27a4b675fb88874a56e811e81 | 0693fe0e5fbcc6ef775529a28ca891c8ad906a58 | /pdb/pdb_composite.py | 3f4875bdd7d2b9bab890b2df2a3e77b5dbbaa10c | [
"MIT"
] | permissive | shellydeforte/PDB | 81cd4b8b9d3141cab2645b564e74a67bd6f2e7e8 | 287350c0049a10cee10654d093a1d06128f9d7aa | refs/heads/master | 2021-01-10T03:48:20.769031 | 2015-12-15T15:00:04 | 2015-12-15T15:00:04 | 47,725,527 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,952 | py | # -*- coding: utf-8 -*-
from __future__ import (
absolute_import, division, print_function, unicode_literals)
import pandas as pd
from io import open
from Bio import SeqIO
from pdb.lib.data_paths import build_abs_path
from pdb.lib.progress_bar import ProgressBar
def create_pdb_composite(df, ss_dis, uni_folder):
... | [
"mwelcks@gmail.com"
] | mwelcks@gmail.com |
6b49c63ef32c5f55e7862680cebf93ec06f086c9 | 00a381ceb3526e69f3bdef3fe4639e7471d52431 | /CarND-Capstone/ros/src/waypoint_updater/waypoint_updater.py | e7a2e3f37fe1b19fcabd4cc77568d1a9bbc35f72 | [
"MIT"
] | permissive | mskarthik/CarND-Capstone | 1704fd997cd1b52462103d5e6bac1a0061d8f9fb | db6f2711d367eac5289e02c50891403d3b00bb6f | refs/heads/master | 2022-12-06T02:26:39.931001 | 2019-10-31T01:37:10 | 2019-10-31T01:37:10 | 217,895,385 | 0 | 0 | MIT | 2022-11-22T00:23:32 | 2019-10-27T18:07:11 | Makefile | UTF-8 | Python | false | false | 5,734 | py | #!/usr/bin/env python
import numpy as np
import rospy
from geometry_msgs.msg import PoseStamped
from styx_msgs.msg import Lane, Waypoint
from std_msgs.msg import Int32
from scipy.spatial import KDTree
import math
'''
This node will publish waypoints from the car's current position to some `x` distance ahead.
As men... | [
"mskarthik@gmail.com"
] | mskarthik@gmail.com |
332fdc6a4f568c0b678f79ad6d5b540a4e84634e | a4751b8404a64ad537d82af34d1cd02cdb1c459c | /furkhan.py | 5cd208f2e360db880b080a78ddedd37e56688d7a | [] | no_license | adiatgit/leetcode | 37499e7e85ec9ccd4447c14c92384ad3afc6abe0 | 36682b28ee37a4360951c162570fbcca5a215e07 | refs/heads/main | 2020-12-09T10:20:30.536707 | 2020-10-06T05:09:57 | 2020-10-06T05:09:57 | 233,274,863 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 187 | py | def checkSum(givenList,S):
sum = 0
for i in givenList:
sum=sum+i
if sum == S:
return True
return False
def getCombinations(n,k):
for i in range(k+1):
| [
"sawwalakhea@gmail.com"
] | sawwalakhea@gmail.com |
3cb7b6f1f80cfbb30c21ea153e6a637bbc1effc9 | dd2382f4ee45ea6a5690662e369d6ff96d6c150d | /accounts/urls.py | 5cf8535b130889d650c76e5bd80f8be4127c9080 | [] | no_license | samathaluca/authorisation-lessons | 89693c45274037f380e749ec0ce254eba2d97f0e | 69d10681ade6a8c9c4a7187823c4dca3df3761b4 | refs/heads/master | 2021-05-22T16:11:14.847750 | 2020-04-25T23:13:47 | 2020-04-25T23:13:47 | 252,997,425 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 385 | py | from django.conf.urls import url, include
from accounts.views import logout, login, register
from accounts import url_reset
urlpatterns = [
url(r'^logout/', logout, name="logout"),
url(r'^login/', login, name="login"),
url(r'^register/', register, name="register"),
# url(r'^profile/', user_profile, nam... | [
"samanthaluca@aol.com"
] | samanthaluca@aol.com |
b1773069faef715be3286dd77a956aa6b95ec95a | 5388cb15c4d3721109935971b5e54c3ea209dbee | /setup.py | e147c81218d98aed25d663906e73507024bd23bb | [] | no_license | Nubbify/KeepingTrack | 098eb841677d3d9c2447e3fff5db1b66a8efa69b | 3de33f6a3d981ba213d561b99f59efe0afd15466 | refs/heads/master | 2021-08-04T15:20:39.356304 | 2019-12-09T05:18:41 | 2019-12-09T05:18:41 | 235,156,152 | 0 | 0 | null | 2021-01-05T19:41:41 | 2020-01-20T17:20:22 | JavaScript | UTF-8 | Python | false | false | 515 | py | from setuptools import find_packages
from setuptools import setup
setup(
name="keepingtrack",
version="0.0.1",
maintainer="Oscar Bautista",
maintainer_email="oscar.v.bautista@gmail.com",
description="A todo list app focusing on nested notes and attachments",
packages=find_packages(),
includ... | [
"Oscar.V.Bautista@gmail.com"
] | Oscar.V.Bautista@gmail.com |
a23d7d31cbfc3aa13e3386a439560ab81cd7ee62 | 67084751337f327092049a61b6d8c630cd3767de | /genderðnicity/genderðnicity.py | a445edda0389876fea99e843f3c5e2a9369470eb | [
"MIT"
] | permissive | habereet/awesomeScripts | 0f0a33d9a35de8b4449c1263db4407beaf0178fa | 2d77f3619314aa7840fed57e0cf451fe5c1a70a9 | refs/heads/master | 2023-01-05T01:29:30.063154 | 2020-10-31T00:36:16 | 2020-10-31T00:36:16 | 303,189,908 | 0 | 0 | MIT | 2020-10-11T18:48:07 | 2020-10-11T18:48:06 | null | UTF-8 | Python | false | false | 367 | py | import requests
def main(url):
data = requests.get(url).json()
return data
def print_data(url):
data = main(url)
for key, value in data.items():
print(f"{key} : {value}")
if __name__ == "__main__":
full_name = input("Please Enter your full name :")
url = f"https://api.diversitydata... | [
"noreply@github.com"
] | habereet.noreply@github.com |
55cda4355fc80172efff1fa6ae695a9b6a2d1a81 | f7411485d2603aa8c2841f88bf5bfb2e1930951e | /FinalProject/FinalProject/test_gamestate.py | bfbc777db516c00a29ede1736212e0ac86c79762 | [] | no_license | Johnspeanut/Computer_science_fundation_course | 156e03e8cf6fcca4ddcbfaa837b8c55f95083045 | 79a13f3152c7e61d8d6cc10da2213a15c8a364e5 | refs/heads/master | 2023-05-13T01:55:10.171165 | 2021-05-31T07:00:31 | 2021-05-31T07:00:31 | 372,412,223 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 934 | py | from gamestate import GameState
def test_init():
piece_board = GameState()
assert(piece_board.selected == None)
assert(piece_board.turn == "black")
def test_create_pieces():
piece_board = GameState()
assert(len(piece_board.pieces) == 8)
assert(len(piece_board.pieces[0]) == 8)
assert(piec... | [
"pengqiong2015fall@hotmail.com"
] | pengqiong2015fall@hotmail.com |
a023a90d0524987f2323283b3ec3458123ea34d6 | 89c682cc1758faa10bceea7280d716a18096e112 | /filterCol.py | 30f58eef6c7bf22035b97f0cbdcab133abbf3914 | [] | no_license | kidlin/tools | be8a3753f08c62e0fbc3caf329035bde34e4b547 | 5a384198ae8178bbf64b76e9f69a5ac2275b71bf | refs/heads/master | 2020-09-22T00:25:29.721749 | 2020-01-12T05:25:22 | 2020-01-12T05:25:22 | 224,986,077 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,496 | py | #!/usr/bin/python
# Software License Agreement (BSD License)
#
# Copyright (c) 2013, Juergen Sturm, TUM
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must... | [
"lintp@zju.edu.cn"
] | lintp@zju.edu.cn |
f7419fb394f5041e57a940c0fad0976acd25ff21 | 2f5d75911722e62c174f80a4d66030a8e0e393fd | /P.4/sensor.py | e2d64b0456dc21fea4b35d32f384bd6f417e8f5a | [] | no_license | AlbertoIbanez/LSE-2015-Alberto | be331e7df94d55fef738d7a0e0b75f95e38ab4e9 | 5c21c547e33733c91be8607aed07199dcb1eb1bd | refs/heads/master | 2016-08-05T05:26:49.613559 | 2015-04-22T13:17:53 | 2015-04-22T13:17:53 | 31,070,520 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,774 | py | import random
import socket
import time
import sys
class sensor:
def __init__(self, sensorName, centralNodeIp, sleepTime, placement):
self.sensorName = sensorName
self.centralNodeIp = centralNodeIp
self.sleepTime = sleepTime
self.temperature = 0.0
self.luminosity = 0.0
self.noise = 0.0
self.placement = ... | [
"alberto.ibanezflamarique@gmail.com"
] | alberto.ibanezflamarique@gmail.com |
36d47cb2d7b2e38504ce9d4283769b55041d8980 | 3f4219ad9dd3462967a3924b6f491db20581b0a2 | /Sentdex-Tutorials/test.py | 94e0c6a771b9f02397e7bd86f8f22bbd83b3e66b | [] | no_license | rezakrimi/Machine-Learning | d81dc741ef9755d62079b58792f01055c50d3dbb | 8c7ad77996d6ba9ac18c6e9913fbe05e0cab7895 | refs/heads/master | 2021-05-14T18:16:53.764565 | 2018-05-08T01:50:33 | 2018-05-08T04:42:06 | 116,067,239 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 489 | py | import pandas as pd
import numpy as np
# df = pd.DataFrame(np.arange(12).reshape(3,4),
# columns=['A', 'B', 'C', 'D'])
#
# print (df.drop([1], 0))
#
# a= [1, 2, 3, 4, 5]
#
# print (a[-3:])
a = np.array([[1,2,3],[1,1,1]])
b = np.array([[1,2],[1,2],[1,2]])
print(np.dot(a, b))
print('completing ')
... | [
"reza@Rezas-MacBook-Pro.local"
] | reza@Rezas-MacBook-Pro.local |
95575754503668a4a962079a47a87cd7b7287f22 | 6d338d50ee2195f389d7682c1dde72a812087448 | /algorithm/2D/_mini_radius.py | bc1c91239942f4b8415510fefc4ef1da8e25d23f | [] | no_license | HaopengSun/Poisson-disk-sampling-based-algorithm | 28928949d877a1bda8dff93599e70713f194b41d | 7c926510a9da29c83249fb79a24e818a5b5fe47e | refs/heads/master | 2023-07-04T16:02:28.128156 | 2021-08-17T02:14:36 | 2021-08-17T02:14:36 | 364,426,836 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 212 | py | def particles_mini(maximum_radius, minimum_radius, Circles):
for circle in Circles:
if circle.r >= minimum_radius and circle.r <= maximum_radius:
if circle.r != minimum_radius:
return False
return True | [
"45277284+serendipity-harpoon@users.noreply.github.com"
] | 45277284+serendipity-harpoon@users.noreply.github.com |
149a32f41cf34c3a51f8d317601177f0d4f27b59 | 067573d864754a7ce73014086cd6c9165e2b5ea0 | /scripts/pMSSMtree.cfg.py | a99460e708046205f3dac742f4ace7e7d0d8f716 | [] | no_license | UhhCmsAnalysis/Run2pMSSM | 3f586d8dcbaacd4de2ed908062fe9875b43fef4c | bb6c7c7309108b26ff1d8f2062f712d9b848555a | refs/heads/master | 2020-12-21T08:53:50.884254 | 2020-02-09T20:33:58 | 2020-02-09T20:33:58 | 236,379,543 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,020 | py | FILE = open("scripts/analyses.cfg.py")
exec(FILE)
FILE.close()
#################################
# parameters, masses, etc
#################################
treeCfg = [
[ "params",
{"files":"idata/parameters/params_batch*.txt","base":""}],
[ "moreparams",
{"files":"idata/moreparams/moreparams.txt",... | [
"samuel.bein@gmail.com"
] | samuel.bein@gmail.com |
cb1c16ee59fe20890a221136d81fcc1734dc8a2d | 940bdfb1d2014e0fdf8c1d138efb43935446864a | /ayush_crowdbotics_347/settings.py | 24c34f26d61c779f77db6396b510cd90b427c8e0 | [] | no_license | payush/ayush-crowdbotics-347 | f8568a28c0fd328161e9961d1f4ffc73ed1ff3de | 08b235df039628147296a723f18dc976317479db | refs/heads/master | 2020-03-23T19:49:01.171461 | 2018-07-23T11:14:46 | 2018-07-23T11:14:46 | 142,003,672 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,130 | py | """
Django settings for ayush_crowdbotics_347 project.
Generated by 'django-admin startproject' using Django 1.11.5.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
... | [
"ayushpuroheet@gmail.com"
] | ayushpuroheet@gmail.com |
b942e9a5078d289779b1ca2a0a4a0379847ad14e | ec5a786a883c9ea1837b9b615a5f374da69d21bf | /App.py | 8cd16bf8f39d3d65ec47c8b27d4b44cfb91b8130 | [
"Apache-2.0"
] | permissive | zhenleiji/ZPong | b5721240b0047e39014bec5e7c4cf514af599984 | 6a123239b9c92478b303301396064f9f22f536f9 | refs/heads/master | 2021-01-23T04:28:55.550005 | 2017-03-26T01:56:18 | 2017-03-26T02:09:05 | 86,199,197 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,850 | py | import pygame
from model.Ball import Ball
from model.BarRight import BarRight
from model.BarLeft import BarLeft
from model.BarTop import BarTop
from model.BarBottom import BarBottom
class App:
def __init__(self):
# Initialise pygame
self._running = True
self._display_surf = None
se... | [
"zhenlei.ji@gmail.com"
] | zhenlei.ji@gmail.com |
cbc7fcc8575360d730c1b24ee4619b0094ce1e49 | dacb0592ae5140f38c11de700685d21eb170a794 | /facture/Client.py | 3a9e1048440e97abbf9f18ad7c922f874883bb21 | [] | no_license | carlosegomez/factureProject | 605f27c78b21698d19675079f9aaadecf3579925 | bfe3254182026f33f986c461c44104bce3f331e0 | refs/heads/master | 2021-07-25T07:12:58.157216 | 2020-04-16T13:44:02 | 2020-04-16T13:44:02 | 149,171,293 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 126 | py | from dataclasses import dataclass
@dataclass
class Client:
name: str
last_name: str
phone: str
address: str
| [
"carlos.gomez-cardenas@ansys.com"
] | carlos.gomez-cardenas@ansys.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.