blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
โŒ€
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
9eb74cca9dec2cbb7c5746ec54fe8569c56b695c
fdafd2ef8a26a3e9ee6a4016ec6272516d64168f
/zeta_python/2504.py
72047ecde7f6205654a68ab7ecb7680a2175d6b7
[]
no_license
yenru0/CodeObjecct
322d669d9e70b7202e5e527cda27da0b1e8f273d
b9d5260b973d7435c089c49bc8867be5d2be4d85
refs/heads/master
2021-06-28T06:13:57.978205
2021-03-13T00:47:53
2021-03-13T00:47:53
221,762,665
1
0
null
null
null
null
UTF-8
Python
false
false
2,041
py
""" 2504: ๊ด„ํ˜ธ์˜ ๊ฐ’ ๋ฌธ์ œ: 4๊ฐœ์˜ ๊ธฐํ˜ธ โ€˜(โ€™, โ€˜)โ€™, โ€˜[โ€™, โ€˜]โ€™๋ฅผ ์ด์šฉํ•ด์„œ ๋งŒ๋“ค์–ด์ง€๋Š” ๊ด„ํ˜ธ์—ด ์ค‘์—์„œ ์˜ฌ๋ฐ”๋ฅธ ๊ด„ํ˜ธ์—ด์ด๋ž€ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ •์˜๋œ๋‹ค. 1. ํ•œ ์Œ์˜ ๊ด„ํ˜ธ๋กœ๋งŒ ์ด๋ฃจ์–ด์ง„ โ€˜()โ€™์™€ โ€˜[]โ€™๋Š” ์˜ฌ๋ฐ”๋ฅธ ๊ด„ํ˜ธ์—ด์ด๋‹ค. 2. ๋งŒ์ผ X๊ฐ€ ์˜ฌ๋ฐ”๋ฅธ ๊ด„ํ˜ธ์—ด์ด๋ฉด โ€˜(X)โ€™์ด๋‚˜ โ€˜[X]โ€™๋„ ๋ชจ๋‘ ์˜ฌ๋ฐ”๋ฅธ ๊ด„ํ˜ธ์—ด์ด ๋œ๋‹ค. 3. X์™€ Y ๋ชจ๋‘ ์˜ฌ๋ฐ”๋ฅธ ๊ด„ํ˜ธ์—ด์ด๋ผ๋ฉด ์ด๋“ค์„ ๊ฒฐํ•ฉํ•œ XY๋„ ์˜ฌ๋ฐ”๋ฅธ ๊ด„ํ˜ธ์—ด์ด ๋œ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด โ€˜(()[[]])โ€™๋‚˜ โ€˜(())[][]โ€™ ๋Š” ์˜ฌ๋ฐ”๋ฅธ ๊ด„ํ˜ธ์—ด์ด์ง€๋งŒ โ€˜([)]โ€™ ๋‚˜ โ€˜(()()[]โ€™ ์€ ๋ชจ๋‘ ์˜ฌ๋ฐ”๋ฅธ ๊ด„...
[ "yenru0604@gmail.com" ]
yenru0604@gmail.com
29a5af9491c5cda26e6622342106bd6afde58d43
627b67a125a7177d7aa17be3241815af1954a878
/alembic/versions/0af56aac10be_create_procedure_add_user_to_group.py
576c6d9be3ff8e34decafac7a79e4aad7b92491c
[]
no_license
SolidCake98/MLService
b03f5e20c87f73bc3cffacc8db15ece9cc5a9207
ddad4abd2dabcc5c498566aea5516a3aa2a8f245
refs/heads/master
2023-05-10T08:13:56.768347
2021-06-08T18:54:21
2021-06-08T18:54:21
296,630,966
2
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
"""create procedure/add user to group Revision ID: 0af56aac10be Revises: d9522989ab93 Create Date: 2020-12-06 21:56:22.579446 """ import sys sys.path = ['', '..'] + sys.path[1:] from alembic import op import sqlalchemy as sa from application.database import ReplaceableObject # revision identifiers, used by Alembic...
[ "daniil.budnikov@gmail.com" ]
daniil.budnikov@gmail.com
58311bff281c8ef4d985364018cccc1599e69c6b
fb2325de1317bed91edb428b5a5a3dad518fa8f2
/python-scripts/tqdm_examples/3_tqdm_two_progress_bars.py
3bb9c5f6faea3fd6c5990f581c06c8b6ea2aa9d5
[]
no_license
gridl/python-ansible-experiments
3b22d32db97bc55fd728ad513eb4176c3aae3482
d7595804aa9c58f2efc92a5bf8d57faccc61cac6
refs/heads/master
2020-07-02T07:00:52.876940
2019-08-01T16:00:25
2019-08-01T16:00:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
from concurrent.futures import ThreadPoolExecutor, as_completed from pprint import pprint import yaml import tqdm from netmiko import ConnectHandler def conn_ssh_threads(function, devices, command, limit=3, progress_bar=True): result_dict = {} with ThreadPoolExecutor(max_workers=limit) as executor: ...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
314076fdd635d6d55365daee39b28549f368ff2d
1350467dad3dee7e107460fc7b31f11fcf36e874
/pricePrediction/DataFiles/mineApiToMongo.py
1541eed772590319f6cd663ac6292dee913ef96b
[]
no_license
dkeske/CarPrice
6425423bea9bf20619b86c3c8879326d16befa31
8012825d45b6297448546d4acd37d4026b8759f5
refs/heads/master
2021-05-04T11:28:48.471864
2017-02-13T23:59:48
2017-02-13T23:59:48
44,619,085
5
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
from pymongo import MongoClient import requests import time def parseJSON(param): novi = {} keys = ["images", "photoLink"] for key, val in param.iteritems(): if key not in keys: novi[key] = val return novi def get_cars(pageID): r = requests.get('http://api.polovniautomobili.co...
[ "danielkeske@hotmail.com" ]
danielkeske@hotmail.com
e710cbaf31c1d32d41c88145abb6413917b04440
d64ba446a64875684e2e5e901250468faf1113fc
/scripts/python/down-qterm.py
7d32aea732d530fd4f438c53bf5211244c4bc193
[]
no_license
yindian/myutils
1f3b9b55dec0004e8c1f7a5a6cd5d4183871d46e
868d4694d6ac12ba454acd80af70b4ec47a5f39b
refs/heads/master
2023-08-08T01:34:45.112556
2023-07-31T16:24:27
2023-07-31T16:24:27
46,320,903
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
4,508
py
# coded by Yin Dian on 08.4.16-17. import qterm import sys, time, os, string, re lastlineno = 23 bbsencoding = 'gbk' filenameenc = 'utf-8' sep = '.' colorful = True maxtry = 20 def nameconv(str): return unicode(str, bbsencoding, 'ignore').encode(filenameenc, 'ignore').replace('/', '_').replace("\\", '_') def sma...
[ "yindian@81255370-523a-0410-a590-15e8afa08e71" ]
yindian@81255370-523a-0410-a590-15e8afa08e71
ebb59e13314c53b4b0e954f982a0328c2ae4f9dc
1d34b78dc2321d06e5a819bd68481bdccbe85e23
/dfchatbox/urls.py
0c4dcb410efec63899b41d9240c207455d2b5368
[]
no_license
Ardweaden/dfchatbox
854273e67f0c62b90c4c6a6e2d154f0a332b7845
212136de6ee7b0434968232930a1a7b4134167d7
refs/heads/master
2022-12-10T21:48:59.263598
2018-12-05T10:55:38
2018-12-05T10:55:38
129,253,645
0
1
null
2022-12-08T00:58:07
2018-04-12T13:13:44
HTML
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 5 19:14:01 2018 @author: Jan Jezersek """ from django.urls import path from . import views app_name = 'dfchatbox' urlpatterns = [ path('',views.index,name='index'), path('check_links',views.check_links,name='check_links'), path('webhook',views.w...
[ "tadej.petric1@gmail.com" ]
tadej.petric1@gmail.com
de69753915781303c27ee3de7f200c1d2cb16ce4
2d6b5bf0a3a233ae9183d08981acda8254583c7c
/Unidade4/serie3.py
e6e9596df5cb1de4715910eee6414d004a7c501c
[]
no_license
RaquelFonseca/P1
62a98f1cc92b6d63bb7945cfb55372b8c2a17819
d89187ae58dacfbec783f51fac734ff4a2be6661
refs/heads/master
2020-03-28T21:43:41.093742
2017-06-17T13:19:21
2017-06-17T13:19:21
94,622,277
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
# coding: utf-8 # serie_3 # raquel ambrozio for numeros in range(302, -11, -3): print numeros
[ "raquel.fonseca@ccc.ufcg.edu.br" ]
raquel.fonseca@ccc.ufcg.edu.br
4d585848b437119c357e55c6a81cd65770799deb
44c37ad1aa06dc47318007d5af8253c7bb17393f
/DJANGO/first_project/first_app/views.py
25ece1ad81ccab4792e8290acd8cfd0f25192399
[]
no_license
stef090/Django_FSC
254b5c8b15b1d429e16760416c39c5318ffa3d8a
f842744cfb216d9a4c268ef2f4b3be4072e9513b
refs/heads/master
2021-01-19T17:54:17.963982
2017-12-08T15:37:05
2017-12-08T15:37:05
101,095,581
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
from django.shortcuts import render from django.http import HttpResponse from first_app.models import Topic,Webpage,AccessRecord # Create your views here. def index(request): webpages_list = AccessRecord.objects.order_by('date') date_dict = {'access_records':webpages_list} #my_dict = {'insert_me':"Hello, I...
[ "stjepan.lovasic@gmail.com" ]
stjepan.lovasic@gmail.com
8ddfbddd68a31c3d35868308a43e364033aab43e
26f6313772161851b3b28b32a4f8d255499b3974
/Python/PathCrossing.py
c22cf8f8b0dbf1ea31c2839c19c406d996aa76b8
[]
no_license
here0009/LeetCode
693e634a3096d929e5c842c5c5b989fa388e0fcd
f96a2273c6831a8035e1adacfa452f73c599ae16
refs/heads/master
2023-06-30T19:07:23.645941
2021-07-31T03:38:51
2021-07-31T03:38:51
266,287,834
1
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
""" Given a string path, where path[i] = 'N', 'S', 'E' or 'W', each representing moving one unit north, south, east, or west, respectively. You start at the origin (0, 0) on a 2D plane and walk on the path specified by path. Return True if the path crosses itself at any point, that is, if at any time you are on a loca...
[ "here0009@163.com" ]
here0009@163.com
1a7f009fdd8001080638c844ffe18af2c7afc27c
c48a215391af0cad1691a1b57657b5fccbbb46c7
/wagtailmd/mdx/tables.py
611e926e6193c931e7c32ec2ce391e4043129ecd
[]
no_license
denza/wagtail-bootstrap-blog
34a7f1016a42c7bff19ccdc7d30c0164b0ee3250
c18a1bcdce1e1971716ed8221b2d3e7be0d281f8
refs/heads/master
2020-03-17T11:01:45.795047
2018-05-06T08:57:23
2018-05-06T08:57:23
133,534,761
1
0
null
null
null
null
UTF-8
Python
false
false
3,311
py
""" Tables Extension for Python-Markdown ==================================== Added parsing of tables to Python-Markdown. A simple example: First Header | Second Header ------------- | ------------- Content Cell | Content Cell Content Cell | Content Cell Copyright 2009 - [Waylan Limberg](http://a...
[ "hgyinjian@gmail.com" ]
hgyinjian@gmail.com
5ef6d164bee4bc70549b4ddbf316067cfc70872f
5de328dace679cd32b2d32725832b8f75b2dbc11
/utils/plot_modularity_statistics.py
8b58be30e8bd1bf7c81b7b2e4952dfcb15b37afc
[]
no_license
hag007/emp_evaluation
94230b4bdb296d27237fa3de4d0b9e83ea3ee897
52ac70f4593a97bd4a62174d5e58cc5c84ee2820
refs/heads/master
2021-06-13T21:28:41.609495
2020-09-10T09:27:23
2020-09-10T09:27:23
254,448,762
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
import sys sys.path.insert(0, "../") import numpy as np import matplotlib.pyplot as plt import os import constants with open(os.path.join(constants.OUTPUT_GLOBAL_DIR, "modularity_statistics.txt")) as f: n_modules = [int(a) for a in f.readline().strip()[1:-1].split(', ')] n_large_modules = [int(a) for a in f...
[ "hagai.levi.007@gmail.com" ]
hagai.levi.007@gmail.com
2768b2bd81d98f303a1950346502deb08bbf3a06
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/91/usersdata/171/40784/submittedfiles/atividade.py
1f8fc7bbe1e557ac228932d226cb5291316e6593
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
# -*- coding: utf-8 -*- n=int(input('digite numero:')) contador=0 while n>0: n//10 contador=contador+1 print(n)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f35e71aa8954d0dad68bf4b2fdb2159b6ff3fb05
46d8bbe2a1f555fff05e79c9232fe89e9a272d0c
/server/blueprint.py
c444f79f70b4bfba3ba965ec0f9f47bc79ba8687
[]
no_license
Technocopia/py-ledshield
88f3460111cdee184f49bd848dc9419a06ab7256
a2f8067723dc6564dba723f3a96eeb6a330f71e4
refs/heads/master
2020-12-22T19:40:33.558963
2020-02-27T23:58:56
2020-02-27T23:58:56
236,909,873
1
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
from flask import Blueprint def construct_blueprint(effect_runner): home_view = Blueprint("home_view", __name__) @home_view.route("/") # Route for the page @home_view.route("/status") def display_status(): print("getting status") out = "Effect Runner is " if not effect_runner...
[ "dmagoo@rocketmail.com" ]
dmagoo@rocketmail.com
a65a7839b873e899efc38195d28a72b2ae49f683
f1e8f7a654e321c660328959779505dad48a1621
/Python Scripts/runMINE.py
d63773bfcc813a9111c3cecb3261f5bb57cef804
[]
no_license
tongbaochen/CountryIndicatorsMining
e4cee6e782b047142ed54ee50911f037b29d468c
6dc081483aad48ad64b0a26029706a737dc55f9b
refs/heads/master
2020-03-31T11:17:07.071783
2018-03-24T16:42:30
2018-03-24T16:42:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,917
py
import os import re import csv import numpy as np from subprocess import call from operator import add def MINE1Year(folderPath = './New Formatted Files'): """ Execute MINE software to investigate relationships between target variables and the others in the same year. Do this for all years containing each target i...
[ "plkumjorn@gmail.com" ]
plkumjorn@gmail.com
c6fe3bd38c84226a6603cfe08b9707e4dd85f77d
13561108c0c2866ed6dd09cff1c2c738f1b9fa29
/evalml/tests/preprocessing_tests/test_no_split.py
ea59ddb9ad71f25805473e9c3e267424084191b4
[ "BSD-3-Clause" ]
permissive
SarahCharlotte/evalml
ee94ad8c602d65e7870cc777014ec0bc306bac81
a4148e65e2ec6745c0dc7ed5a0d65401adcfdfae
refs/heads/main
2023-09-05T21:39:06.792121
2021-11-16T05:42:21
2021-11-16T05:42:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
import numpy as np import pandas as pd from evalml.preprocessing.data_splitters import NoSplit def test_nosplit_nsplits(): assert NoSplit().get_n_splits() == 0 def test_nosplit_default(): X = pd.DataFrame({"col1": np.arange(0, 10)}) y = pd.Series(np.arange(100, 110), name="target") splitter = NoSpl...
[ "noreply@github.com" ]
noreply@github.com
b69b5f71448b9577690b4a277b6de4c016c2b5eb
319475877efd3463ced04816b4919471695179fb
/config.py
79fa6d2c35bd4385756caa1b8a071f354256da82
[]
no_license
artemki2077/Bot_Lis
53f31677fbb395baa1efb3bcb814aafba8573473
83446f51f9b3a8479c98bc2c489cc3b809ef1fee
refs/heads/master
2023-06-26T03:07:00.739571
2021-07-26T10:22:16
2021-07-26T10:22:16
387,715,509
0
1
null
null
null
null
UTF-8
Python
false
false
801
py
TOKEN = "ODYzMDk5MjI1MTIxMjI2NzUy.YOh9yg.krX1JiKdYRKCOefLum06vad_qZs" MAX_ROLES_PER_USER = 999 EXCROLES = () POST_ID = 855297119393284106 POST2_ID = 856181876901019679 ROLES = { '<:csgo:731927688549367959>': 855111889675616277, '<:minecraft:855172849189781535>': 855112472754782208, '<:apex:73262727137407...
[ "artem.kiselev.2005mail.ru@gmail.com" ]
artem.kiselev.2005mail.ru@gmail.com
c7b8bfbaf345c5dc962faa607db65c48e9652122
b2de4ace439c1f0499c8ab065bd2a9fa1d6fab74
/regression_bak/web/lib/cube_disk.py
246e3dd4d4bfd133044b0fface87a08e1e7dc1b4
[]
no_license
AnaZhuang/webTest
b89ed9a6c1486ef31b09f212ab0d27b08d45013b
4fe6a430122a3948830197a9a52ce84cf46a1217
refs/heads/master
2020-04-19T15:14:37.262319
2019-01-30T03:10:06
2019-01-30T03:10:06
168,268,423
0
0
null
null
null
null
UTF-8
Python
false
false
9,965
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException...
[ "1399892035@qq.com" ]
1399892035@qq.com
5e5ff2979f7abdbfa8a4a9cfc3e13b04db339233
48e9b37749ea218b9d48800028b25443b9c03097
/Phase 1/Task 1/Step 4/BM25/bm25_relevance.py
4a3722abca07b9f9f92ae3182c6f678e9e369f0e
[]
no_license
AkshatShukla/Information-Retrieval-System
808468bf08c76a51cbf51f0ff5f6cec31f963264
5d5424c7d4ffac99d4dcfc452b3338a94e65439f
refs/heads/master
2021-05-06T15:07:41.108370
2017-12-11T03:00:09
2017-12-11T03:00:09
113,533,196
1
1
null
null
null
null
UTF-8
Python
false
false
6,464
py
import pickle import math import collections import os # This script implements the BM25 Model with Relevance Information for ranking the documents # for every query and retrieving the top 100 documents from the ranked documents # Access Encoded Data Structures # load the dictionary while contains all inverted list ...
[ "shukla.ak@husky.neu.edu" ]
shukla.ak@husky.neu.edu
3ddbf8fef1e5826337c49e775ff869d3f35b1563
c7a1f4947c45730871871cddbfca21191604506b
/src/datasets.py
3e39865b775c67ac92a0b7e7185c39f3e66e1d02
[ "BSD-2-Clause" ]
permissive
ZHUXUHAN/Facial-Landmark-Detection
94a23d487f47d2d6046c9854442cd8380b600752
dea9a756a8ae581e65b54652fa642febe83fce47
refs/heads/main
2023-01-20T01:23:48.827551
2020-11-25T05:37:35
2020-11-25T05:37:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,799
py
# ------------------------------------------------------------------------------ # Copyright (c) Microsoft # Licensed under the MIT License. # Created by Tianheng Cheng(tianhengcheng@gmail.com), Yang Zhao # ------------------------------------------------------------------------------ import os import random import t...
[ "zhaozhichao4515@gmail.com" ]
zhaozhichao4515@gmail.com
3afee08ee9f9ec0d094496baeb51e12cbb2467b7
50827c396a76fed78ce0839a3994e6d8cc77ea59
/images/Construct_Images.py
4c1803e6eb9df0d3bd0023afeb9556239087fac5
[]
no_license
jtpils/point_cloud_from_depth
2166a0f102967f95588b8c2cf6b1d527bce502e3
c13042374a7042ffb38b48c78ea5d56a685489dd
refs/heads/master
2020-11-24T15:36:56.874309
2019-12-14T07:02:02
2019-12-14T07:02:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
# jjjdk - brokflow - Jwalant Bhatt # Script to create images, from text file, with depth information, in string with scientific notation # imports import numpy as np import cv2 import os # set path img_path = os.getcwd() # change this # load text image files to numpy array for tifiles in os.listdir(i...
[ "jdbhatt@ncsu.edu" ]
jdbhatt@ncsu.edu
5a8ff902c773d4148d35a114531863d1db3fc3a5
ff6fd44d205ff9ee6e54b660f454d90f240ecf1b
/lambda/lambda_comprehend_batch_process.py
13d9f51da0d33227a1f3d931c4015f6dbb2f52db
[ "MIT" ]
permissive
srcecde/aws-tutorial-code
c20abf9c19212a6b4a57f62270a5798896517c2a
f8536903904b3f55819f26ed0b63cbf80a8b3573
refs/heads/master
2023-08-20T03:42:48.606441
2023-08-06T15:42:39
2023-08-06T15:42:39
138,901,184
195
283
MIT
2023-08-06T15:42:40
2018-06-27T15:36:16
Python
UTF-8
Python
false
false
1,017
py
""" -*- coding: utf-8 -*- ======================== AWS Lambda ======================== Contributor: Chirag Rathod (Srce Cde) ======================== """ import boto3 def datachunk(para): text_list = [] while para: text_list.append(str(para[:4700])) para = para[4700:] return text_list[:25]...
[ "chiragr83@gmail.com" ]
chiragr83@gmail.com
f42f35b87a0f007bf83ccaca70bdea3ed4d4a124
b16294c3a16760330bc07c85b7466b29ab47bafa
/client/forecasting_train_inference.py
2534f681e2d3c81f47a69227e65a3544dc1750f3
[]
no_license
renardelyon/control-system-for-mushroom-cultivation
44abfa263f1fefd346adf5875805260ccbf0c408
7d6585f5c12d78b6ed466e319ccabd08c5c06119
refs/heads/main
2023-08-29T03:47:56.844126
2021-09-21T03:55:43
2021-09-21T03:55:43
383,653,975
0
0
null
null
null
null
UTF-8
Python
false
false
2,197
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import tensorflow as tf from typing import Tuple from forecasting import Data, TrainPredict, WindowGenerator def model_train(path: str, OUT_STEPS=20) -> Tuple[object, object]: df = pd.read_csv(path) df = df.dropna() df.drop(columns='D...
[ "renard.elyon.r@gmail.com" ]
renard.elyon.r@gmail.com
5e4545f845e7158538373caf51111cc7c7273a03
56c4da651e5128ea55e7945cfa4a3b8620564042
/Array/Four Number Sum.py
445e5e647f930dd4b89312cbbff4184a27111731
[]
no_license
poliwal/DSA-Practice
efc544f689d6b27dd960eb86ff58912d0e67ce66
e435a9cb009e8f12f056444a5b2e42ac08fc020d
refs/heads/master
2023-04-25T18:52:52.390783
2021-04-26T06:14:39
2021-04-26T06:14:39
263,392,539
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
# Average: O(n^2) time | O(n^2) space def fourNumberSum(array, targetSum): allPairSums = {} quadruplets = [] for i in range(1, len(array)-1): for j in range(i+1, len(array)): currentSum = array[i] + array[j] difference = targetSum - currentSum if difference in allPairSums: for pair in allPairSums[diff...
[ "mihirpoliwal@gmail.com" ]
mihirpoliwal@gmail.com
e732a8df6185a95af5a806aefe11e9221b957582
ec24af5303a838fa520387aa31527dfa9ea81669
/python/testPython/bai32.py
617c49165d78875ef731b32aab6dbea676c22a56
[]
no_license
vongockhoi/python-project
9d7156df104a9b24ec42bb00a95e4fb130e8a3fe
9a9d606047d89397f0df6c2569f7f74c81f3e5c6
refs/heads/main
2023-04-25T10:29:30.761555
2021-05-11T16:19:32
2021-05-11T16:19:32
351,400,362
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
try: n = int(input()) tong=1 if n < 0: print("Vui long nhap so tu nhien lon hon 0") else: for i in range(0,n+1): if i == 0: tong *=1 else: tong = tong*i print("giai thแปซa {} = {}".format(n,tong)) except: print("Dแป‹nh dแบกng...
[ "vongockhoi1996@gmail.com" ]
vongockhoi1996@gmail.com
d34b43f5e51d81a58f173992be0c5f56dff8ceec
98d832289b7437247ce03ea54ad3cb7b95451159
/rapid7vmconsole/models/resources_policy_override.py
bbab02e67a7f9c1e0e4ad47bdc38a9d68a92933f
[ "MIT" ]
permissive
rmehilli-r7/vm-console-client-python
7f02f13345dce4f4d4d85e18da7146daeefbceb9
069041c1c7b53c6b3d8bfdd81b974141bfca3c0c
refs/heads/master
2020-03-23T11:20:33.364442
2018-08-10T20:06:37
2018-08-10T20:06:37
141,498,444
0
0
MIT
2018-08-08T19:58:45
2018-07-18T23:00:41
Python
UTF-8
Python
false
false
52,137
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "zachary_youtz@rapid7.com" ]
zachary_youtz@rapid7.com
c1d33a0ad898c71e89909509562e404a0a17560e
9962ce90244e8d6edabca898595cd35ecf6b4a9f
/materials.py
e45127d0f50635d32cc738442376f00ffb4050a7
[]
no_license
PyCOMPLETE/CellStudyInputPyECLOUD
a8a76dbb6719fce6119fea1c74aafc50c3395d2e
d8994926c1f824f00259413d2b9a32fb8bc27700
refs/heads/master
2021-05-15T00:30:01.369291
2018-05-27T16:48:53
2018-05-27T16:48:53
103,154,444
0
1
null
2017-10-16T18:54:01
2017-09-11T15:37:26
Python
UTF-8
Python
false
false
3,649
py
from __future__ import division # General definitions used in 'materials' # R_i is the reflectivity on SR impact # R_r is the reflectivity after initial reflection # Y_i is the yield per absorbed photon on SR impact # Y_r is the yield per absorbed photon after initial reflection # Baglin 1998 #Photoelectron yield and...
[ "philipp.dijkstal@cern.ch" ]
philipp.dijkstal@cern.ch
4172a6b7e2d4782a1427641d177daefa2f4556bf
7a7a2c9734457a82d2c54e61392c2071e88089e2
/firstweb/firstweb/urls.py
93ea90d7251b2ccc65efaefbe6e4b0d1277fb9c9
[]
no_license
dongyang438/my-first-blog1456
a453c9314395697106ac66d128efaabd1e6f9736
f9959be297daddd1eebf9ff732b05266f5f6a221
refs/heads/master
2022-12-04T00:51:37.299097
2020-08-18T10:30:21
2020-08-18T10:30:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
"""firstweb URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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-base...
[ "1484981098@qq.com" ]
1484981098@qq.com
97ebd726684ddf767f28ab2bfd0e5e12f98afaa4
037e55864b1d7db7db05f23261d3a008df8878b1
/rebench/tests/features/issue_32_jmh_support_test.py
58768f9e7e5427d58e4492f1a06e24f30b9bb8e7
[ "MIT" ]
permissive
mmtk/ReBench
3d5f95edd8b3ef592db6c8b20d4a6bb404e615ed
709e6f0a1be6fd7bf4b4d13d057f040254a3991b
refs/heads/master
2022-12-18T23:58:11.944800
2020-08-11T12:39:31
2020-08-11T12:39:31
292,157,028
0
0
MIT
2020-09-02T02:21:17
2020-09-02T02:21:16
null
UTF-8
Python
false
false
2,018
py
# Copyright (c) 2009-2014 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, cop...
[ "git@stefan-marr.de" ]
git@stefan-marr.de
365b2ad37b7d4e682f9084b3b4a48de4dcda93ad
97110190c159c4ba325e1ff4585cbf06268fa360
/Exercises/Exercice_11/visualize_sampling.py
4570bff31ca449b69ad90e0eaae0a7d0938d1885
[]
no_license
jorisguerin/machine_learning_introduction
52a6a3bce149fe0480dfd8b648f5b132b8e0a793
20d4e3d87426547c490bfd253c4f5412284d2e80
refs/heads/master
2021-01-12T02:54:19.286297
2019-12-14T19:25:46
2019-12-14T19:25:46
78,128,658
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
# -*- coding: utf-8 -*- import numpy as np import pylab as pl pl.close('all') ##robot params## robot_params = [2,2] angular_range = 180 def DK(thetas, robot_params): l1, l2 = robot_params th1_r, th2_r = np.deg2rad(thetas[0]), np.deg2rad(thetas[1]) x = l1 * np.sin(th1_r) + l2 * np.sin(th1_r...
[ "noreply@github.com" ]
noreply@github.com
f77439f8f9926804388035f6019b004ce20ada83
d1aec78fbb2c2727a1308987fcd313b415523af0
/mynote/note/models.py
d88893259cc9c1de0c7feb83cd54d9613a679c59
[]
no_license
maman-idle/notes
f5dd10d899a250c21d2cad6773efbdf33d969930
4abaa1c56d5d96686895dc3e3e53e24b67ad19c3
refs/heads/main
2023-04-02T14:55:01.483359
2021-03-29T01:35:57
2021-03-29T01:35:57
352,481,872
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
from django.db import models # Create your models here. class Note(models.Model): note_name = models.CharField(max_length=15) note_desc = models.CharField(max_length=200) note_status = models.BooleanField('note status') #set boolean value when creating note -> set to false note_date_created = models.D...
[ "ivankuro752@gmail.com" ]
ivankuro752@gmail.com
fd618a3ce1bfdfab5f6537a74f63880c15eb6bed
30288b2c54fe58567c85d3e2e878f027485861ef
/src/__init__.py
1fed793c86bb181c5f908319d79b11f5028e8f8f
[ "MIT" ]
permissive
abhijitpai000/product-recsys-training
5086867cc44767ff471165b61ad471a905088fe7
9265c8df029850d949a71fc4380dcf5944531400
refs/heads/main
2023-01-23T17:49:27.581379
2020-11-25T04:56:22
2020-11-25T04:56:22
306,019,580
1
1
null
null
null
null
UTF-8
Python
false
false
350
py
"""Restricting access to private modules.""" from src.preprocess import make_datasets from src.trending import compute_top_ten from src.item_rec_sys import train_item_rec_sys from src.user_rec_sys import train_user_rec_sys __all__ = ["make_datasets", "compute_top_ten", "train_user_rec_sys", ...
[ "abhijitpai000@gmail.com" ]
abhijitpai000@gmail.com
522878a342ba618f400659d8de5ebac245bc5003
db0e8aa3a92a30c9b1cc8da03725e951ff64f3f1
/lenv/lib/python3.6/site-packages/Django-1.11.28.dist-info/entry_points.txt.py
bee25fd9149b419ebb4c674fb394d02833a66ca3
[ "BSD-3-Clause" ]
permissive
shrey-c/DataLeakageDjango
ffeef61caa347520747fc70cf3f7f8b84a9610cf
a827c5a09e5501921f9fb97b656755671238dd63
refs/heads/master
2022-11-30T03:30:12.313025
2020-07-12T06:47:44
2020-07-12T06:47:44
242,569,637
6
1
BSD-3-Clause
2022-11-22T05:20:22
2020-02-23T18:33:04
Python
UTF-8
Python
false
false
83
py
XXXXXXXXXXXXXXXXX XXXXXXXXXXXX X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[ "shreyansh.chheda@gmail.com" ]
shreyansh.chheda@gmail.com
b7368e5b6cbaa4b9a009a886a70131177209352b
0670f322db8a57b50c952880390790b7e879ddc1
/orouiller/settings/common.py
77e36032022ca010d5e7713b117988eab152ab97
[]
no_license
oilandrust/orouiller.net
a85b0f66cbc85f2ef69104a5d4fa180c0fb275da
21a511e7d45c3b1bc34053c0afeb6389286ee3f4
refs/heads/master
2020-05-29T20:56:52.788869
2016-02-21T14:46:29
2016-02-21T14:46:29
29,727,891
0
0
null
null
null
null
UTF-8
Python
false
false
1,941
py
""" Django settings for orouiller project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) ...
[ "o.rouiller@gmail.com" ]
o.rouiller@gmail.com
4f91b2c41dfc57024ae0463ee25558a92f8a24f0
bb1c3c9b71d01c2c95b8858cf9e0350cef6ef799
/details.py
b6c845c4681d651a928d65d568b24c8730fe8311
[]
no_license
hoijui/spring-infolog
bdf67c5fcd8c71d5dae7e00d100b5ebf4a3a881a
61a10477b81518cc0cd2dd484fde298f76e8b13d
refs/heads/master
2020-04-07T20:39:18.429462
2010-04-14T06:24:10
2010-04-14T06:24:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
784
py
# -*- coding: utf-8 -*- from bottle import route,request from siteglobals import env, db, config from utils import * from backend import Crash @route('/details', method='GET') def output(): try: session = db.sessionmaker() id = getSingleField( 'id', request ) if not id: raise ElementNotFoundException( id ) ...
[ "koshi@springlobby.info" ]
koshi@springlobby.info
e742738c2b06b26f01321a2f21308c8ff8ee8735
e0e72e2718971acbb65eeef3c635c1a5ff394f2f
/config.py
4d7aa5f483f68f125bd09656b9008c66219dca36
[]
no_license
liaoherui/flask_microblog
bec9894a374e0f54722258c414dc0803371b8e05
113b54bbbca6ed2710bb04db0df93b2700619c54
refs/heads/master
2023-08-04T20:08:53.107238
2021-09-11T07:12:51
2021-09-11T07:12:51
403,207,144
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
import os #basedir = os.path.abspath(os.path.dirname(__file__)) from dotenv import load_dotenv basedir = os.path.abspath(os.path.dirname(__file__)) load_dotenv(os.path.join(basedir, 'microblog.env')) #from app.models import User,Post #from config import Config class Config(object): SECRET_KEY=os.environ.get("SECRE...
[ "851836818@qq.com" ]
851836818@qq.com
a21976098d397a872b65179026a16e0c985a6ddf
eb2668b93899637f04e4c93e01063d0c8175ccde
/Stock_prices/Polimetall/Polimetall_stock_price_LSTM.py
dba94543d4d0d4a5cb22d9943bd63d902f40b0a3
[]
no_license
D-Katt/AI-Machine-Learning
aad1fe1c8f3f901cb7829919d1b69a106f0ddfab
1868c92366dccabf8c86c559eee640645b51bb51
refs/heads/master
2021-12-19T21:59:04.403188
2021-12-07T13:07:46
2021-12-07T13:07:46
235,104,866
3
2
null
null
null
null
UTF-8
Python
false
false
5,253
py
"""Model predicts next day's stock price for Polymetall metal company based on the close price for previous periods. Univariate LSTM model. Data source: https://www.finam.ru/profile/moex-akcii/polymetal-international-plc/export/ """ import pandas as pd import numpy as np import datetime from sklearn.preprocessing impo...
[ "noreply@github.com" ]
noreply@github.com
40866c91bfb57537b33d76e7783df7ab38dfb950
8aa6c850be3f2944a85bc36e24a0058a96c87e1d
/ann/pytorch_middle_demo/nn_regression.py
4a49a39ef0cb8a7fc6f75d7fbeff5f59fd22ca9f
[]
no_license
chenjianhong/machineleaning
632053ec8f1c26340d66929c57b9a810f8307fb3
e0f9960df2828dd801a4e4302100679ca94bb8f2
refs/heads/master
2020-04-06T07:00:37.663435
2018-01-19T14:12:49
2018-01-19T14:12:49
59,133,293
1
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
#coding: utf-8 import torch import torch.nn from torch.autograd import Variable import torch.nn.functional as F import sys sys.path.append('../..') import matplotlib.pyplot as plt class RegreNN(torch.nn.Module): def __init__(self, input_feature, output_feature): super(RegreNN, self).__init__() ...
[ "chenjianhong@cmcm.com" ]
chenjianhong@cmcm.com
5781fff7ad852f1351497e6d1a8ff523c8de95b7
018a1d8d59c00f69b0489ce05567a2972c335ff7
/2017_May23/generators/for_implementation.py
713eb216a4145dbfd4067b77ea9dded1f02454a9
[]
no_license
singhujjwal/python
f0127b604e2204a02836c95d89ee4903f760d48c
4fb4b34a318f093bd944cd70d7f0d69dd7dfef6e
refs/heads/master
2021-09-20T15:35:13.389400
2021-09-03T06:39:58
2021-09-03T06:39:58
92,157,309
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
a = [10, 20, 30, 40, 50] #for i in a: # print i, length = len(a) iterator = iter(a) while length: i = iterator.next() # Body of for loop print i, length -= 1 # ----------------------------- iterator = iter(a) try: while True: i = iterator.next() # Body of 'for' loop ...
[ "ujjsingh@cisco.com" ]
ujjsingh@cisco.com
e5e908eeb8fdc36c817e487354b3efc7b9fff748
c1322d1633a01a36b59f9e0076ca0420d5a33003
/psypublic/game/forms.py
b2a10a531eea2eac5040a45e4d9e56aad3d0b03e
[]
no_license
greatwhite117/psypublic
4f31ee3cee4555d5aa5c242b36a8456ecbaf0fb1
2860778478a9cac51a42d71a05adbf840b800097
refs/heads/master
2021-01-25T04:36:26.678882
2017-06-11T08:54:10
2017-06-11T08:54:10
93,459,338
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django import forms class MoneyForm(forms.Form): minus = forms.IntegerField(label='minus')
[ "lovelyeunjni@gmail.com" ]
lovelyeunjni@gmail.com
3cb07f04d38736f8972a5ee33695e54a523a0566
48615ce8943ed1eb48b2e0e7db0219802fad1860
/instance/config.py
00c7f362c43c45b7eb69ec471584f90d7c0e8b02
[]
no_license
zdutta/TutorMatcher
64cb2322f5038c12abed8929e3bde9243a380198
7091e22c538f8e62cbafef3d7703d280b30d7f54
refs/heads/master
2022-09-22T21:13:50.911015
2018-07-16T17:30:58
2018-07-16T17:30:58
128,691,951
0
0
null
2022-05-25T00:48:41
2018-04-09T00:00:24
Python
UTF-8
Python
false
false
326
py
SECRET_KEY = 'abc1324' #SQLALCHEMY_DATABASE_URI = 'mysql://db_admin:db2018@localhost/tutorMatcher_db' import os basedir = os.path.abspath(os.path.dirname(__file__)) SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \ 'sqlite:///' + os.path.join(basedir, 'tutorMatcher.db') SQLALCHEMY_TRACK_MODIFICATIONS =...
[ "zdutta@purdue.edu" ]
zdutta@purdue.edu
ec03c6f5ee7b67474ad71723afd49747a80af6c1
340619f5a8a008e463fb1413668a4fa0b876097b
/KDAT/src/KDAT.py
5cdcea44a983cb62c02d447829f8bd9d541d6e91
[ "MIT" ]
permissive
GavinGL/workspace
427e69756ee5155a6cd2ae02aedc7f9109f8b19a
e8080656a235eee7419994b3be24396945ba2889
refs/heads/master
2021-01-10T17:24:44.399502
2017-06-18T07:50:42
2017-06-18T07:50:42
50,761,530
0
0
null
null
null
null
UTF-8
Python
false
false
26,817
py
# -*- coding: UTF-8 -*- import os import sys import ConfigParser import socket import string import threading,time,paramiko from PyQt4 import QtGui,QtCore from modules.uiKDAT import Ui_MainWindow from modules.uiConnect import Ui_DialogConnect from modules.uiDialogs import Ui_DialogLinks from modules.uiEm...
[ "252075494@qq.com" ]
252075494@qq.com
f1428f69f24ccc83805630ac7b8aa0c3d0a03709
1285703d35b5a37734e40121cd660e9c1a73b076
/codility/lesson_dp.py
75630e274ca92cb387134bb84a03666605defdcd
[]
no_license
takin6/algorithm-practice
21826c711f57131108168775f08e4e13d07a3b38
f4098bea2085a77d11c29e1593b3cc3f579c24aa
refs/heads/master
2022-11-30T09:40:58.083766
2020-08-07T22:07:46
2020-08-07T22:07:46
283,609,862
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
# val(A,S) = sum( abs( [ A[i]*S[i] for i in range(N)] )) # A = [1,5,2,-2] # # S = {-1,1-1,1} # S = [-1,1,-1,1] # N = len(A) # for i in range(N): # print(A[i]*S[i]) # (Assume that the sum of zero elements equals zero.) def solution(A): A = [ abs(i) for i in A ] N = len(A) dp = [ [flo...
[ "takayukiinoue116@gmail.com" ]
takayukiinoue116@gmail.com
0711d15da72cfa155e5fe48145e5d5ad35bac39d
bea40a69017f9c075c6ebca217d512529595bbbd
/ws.py
4ec29f8e7629a6e3c932b60500abd2a522778730
[]
no_license
sachin1535/InformationVisualization_CS5764
695476469b76514ed6f9603f86ca1f8e0377b2f8
88bc3d2b754ec6a8097e724a7e4808fb447344a1
refs/heads/master
2020-06-10T20:09:54.054576
2016-12-08T03:56:26
2016-12-08T03:56:26
75,889,003
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
import asyncio import websockets async def hello(): async with websockets.connect('ws://localhost:8765') as websocket: name = input("What's your name? ") await websocket.send(name) print("> {}".format(name))1 greeting = await websocket.recv() print("< {}".format(greeting)) asyn...
[ "sachinbharambe1992@gmail.com" ]
sachinbharambe1992@gmail.com
887fb715f6290196eab451ecf367e78b81ac0622
10d6a06450ee459d1013fdc301fb9afe9a462cea
/blog/migrations/0001_initial.py
af2f664c0ed843aeace6e3283d63b297475655cc
[]
no_license
simple-dogood/homedraft
af81e4f50ae0a1110afa53edab7c375898b63bcb
8c9805f767e1a6a09c405716ad494b34f851363a
refs/heads/master
2023-05-01T05:02:06.722269
2020-01-14T17:26:23
2020-01-14T17:26:23
230,260,631
0
0
null
2023-04-21T20:43:31
2019-12-26T12:29:25
HTML
UTF-8
Python
false
false
649
py
# Generated by Django 2.2 on 2019-11-29 18:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.AutoField(auto_...
[ "briandougherty@Brians-MacBook-Air.local" ]
briandougherty@Brians-MacBook-Air.local
cff5e08e0afe25b121758aa31f6c665cfd78aa70
f1bf792f5c7ff7fca5e989eb0675f0a4413c9518
/Maya/process/AnalyzeMaya.py
8a582be85c661fece3ee40aa1f9e63a794bd97e2
[]
no_license
all-in-one-of/Python_dep
a64e17c72c49330f6789764882c81d69ebb01072
042ad7cd327c161b28d785fc99fcbea1cb304fea
refs/heads/master
2021-10-19T04:36:00.298960
2019-02-18T04:42:15
2019-02-18T04:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,790
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys import subprocess import time import shutil import glob import logging import codecs import configparser import json import gc import re import locale from MayaPlugin import MayaPlugin from Maya import Maya from CommonUtil import RBCommon as CLASS_CO...
[ "844461838@qq.com" ]
844461838@qq.com
1d6df8fd17ea166b6fcaf342727d922d9c599240
eba4fa4dbd917f8d0cde5c24b4eb3336b187a91e
/Euler21-30/euler28.py
d498f0d0bce65d5d1b44c70827a63efbf074f848
[]
no_license
ajaydheeraj/PythonEuler
1b32a6453206ce48e0ec76aa02b3fbe73b43c236
a177eab4bc28e930fa36450e6133e8f779230e19
refs/heads/master
2021-05-27T15:10:52.141813
2014-10-13T19:27:50
2014-10-13T19:27:50
15,848,967
1
0
null
null
null
null
UTF-8
Python
false
false
169
py
increment = 2 count = 0 i = 1 tot = 0 while i < (1001 * 1001) + 1: tot += i i += increment count += 1 if not count % 4: increment += 2 print tot
[ "obliviator2718@gmail.com" ]
obliviator2718@gmail.com
f5d29bcd1f8c9486d8d4569548e35971fb29edf7
54bb9ba6d507cd25b2c2ac553665bc5fc95280d1
/src/onegov/activity/models/occasion.py
dfbc61ee9ba1687033df2d221ca1fa4a7a74df52
[ "MIT" ]
permissive
href/onegov-cloud
9ff736d968979380edba266b6eba0e9096438397
bb292e8e0fb60fd1cd4e11b0196fbeff1a66e079
refs/heads/master
2020-12-22T07:59:13.691431
2020-01-28T08:51:54
2020-01-28T08:51:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,719
py
import sedate from datetime import datetime, timedelta from onegov.activity.models.occasion_date import DAYS from onegov.core.orm import Base from onegov.core.orm.mixins import TimestampMixin from onegov.core.orm.types import UUID from psycopg2.extras import NumericRange from sqlalchemy import Boolean from sqlalchemy ...
[ "denis.krienbuehl@seantis.ch" ]
denis.krienbuehl@seantis.ch
6c4713070b66becfe67ce3473bb5728dc818bcbb
17d742949f750bf8f8305ac8a1fc97ecb7f82575
/hexaflows/wsgi.py
671ac963bcecf8e7d3813d08ca558b5016f1960c
[]
no_license
mhashirhassan22/HexaFlows
2422500726c942ff7fa03ce1fbafb8b1e7c40583
fcbdc0261b6aead32e87fbc59fe9b2fb4c2eeb15
refs/heads/master
2022-11-28T13:26:24.901074
2020-08-03T19:44:41
2020-08-03T19:44:41
284,791,221
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for hexaflows 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('DJANGO_SET...
[ "mhashirhassan22@gmail.com" ]
mhashirhassan22@gmail.com
46af0d72c106f67e74b48592b3cdd1c6c7b73d1a
947a61d703022e1145eb34cd2ef4bc097ba59d9e
/test/chess_piece_test.py
6b00c63659bb4a059f53b54c1ce41644c72d459b
[]
no_license
liam-white-17/capstone-chess-ai
cfa9fc1f5e490a2378ed069f898c4242e2270ddd
40938d8cf0101cc4e7dc18f62bc658e3d591de70
refs/heads/main
2023-04-09T12:57:51.939989
2021-04-27T03:13:54
2021-04-27T03:13:54
340,121,235
0
0
null
null
null
null
UTF-8
Python
false
false
2,523
py
from chess_lib.chess_piece import * from chess_lib.game_board import Board from chess_lib.move import Move def test_pawn_moves(): board = Board() board.new_game() white_pawn = board.square_at(1,0).get_piece() black_pawn = board.square_at(6,0).get_piece() assert white_pawn is not None assert bla...
[ "liam.white.17@cnu.edu" ]
liam.white.17@cnu.edu
b86910e27df29df8ecc51ae23afdae872eb46631
4ca008a67bc91383255d2a1919b46556ef50622e
/support/main/migrations/0004_auto_20190306_1409.py
224c992f35c9222f20476e4d70b9f373a840169f
[]
no_license
zdimon/support-ionic-django
8dc649fc13f3d67f0982ed8b5a796f4e443a60fc
f6c096cfa99bb1f6cdb2bf94af2865b02f8e7c75
refs/heads/master
2023-02-08T04:23:28.990129
2021-10-07T05:56:43
2021-10-07T05:56:43
244,316,789
0
0
null
2023-01-24T01:31:40
2020-03-02T08:21:35
JavaScript
UTF-8
Python
false
false
539
py
# Generated by Django 2.1.7 on 2019-03-06 14:09 from django.db import migrations import tinymce.models class Migration(migrations.Migration): dependencies = [ ('main', '0003_auto_20190306_1403'), ] operations = [ migrations.RemoveField( model_name='digest', name=...
[ "zdimon@example.com" ]
zdimon@example.com
dff75fc51048521dd1ee7a43e1493fde50e29379
58937468e368e87ff8683ba481e1d42a0fd56422
/government/serializers/__init__.py
605fa9d9ae7cc6b55415319886e1c4c33ef25446
[ "MIT" ]
permissive
The-Politico/politico-civic-government
8da45c490eda094bb136a8e3d3b954daebcef617
623baf95e1b029c3bbfccf300cdfca630f4969f8
refs/heads/master
2022-12-11T12:37:46.837216
2019-01-04T19:33:19
2019-01-04T19:33:19
116,028,686
0
0
MIT
2022-10-18T18:31:26
2018-01-02T15:21:27
Python
UTF-8
Python
false
false
169
py
# flake8: noqa from .body import BodySerializer from .office import OfficeSerializer from .jurisdiction import JurisdictionSerializer from .party import PartySerializer
[ "jmcclure@politico.com" ]
jmcclure@politico.com
dff1d0b04701e64a7c2a7d88a152a506dd7ffa08
6d1cdb7e4f5835c840942a94e59ab2b3a9b01161
/apps/ots/ds/hist_ashare_csv_hft_ds.py
4ec4d790aa4ecc665c29e1b9930083cd7338a447
[ "Apache-2.0" ]
permissive
mfzhang/iching
51c2a23e4653e4cf8cc82a6153afe3e2362f7d2f
e1feae5741c3cbde535d7a275b01d4f0cf9e21ed
refs/heads/master
2023-03-21T09:20:04.571068
2021-03-12T01:59:24
2021-03-12T01:59:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,381
py
# import os import numpy as np import pandas as pd import akshare as ak from apps.ots.ds.base_ds import BaseDs from apps.ots.event.market_event import MarketEvent class HistAshareCsvHftDs(BaseDs): ''' ่ฏปๅ–A่‚ก่กŒๆƒ…CSVๆ–‡ไปถ๏ผŒๆจกๆ‹Ÿ็Žฐๅฎžๆƒ…ๅ†ต ''' def __init__(self, events, csv_dir, symbol_list): self.events = events ...
[ "yt7589@qq.com" ]
yt7589@qq.com
769baabf2639dbbd72b5bc2867b369ff59b6a841
11716c1d02e469d494bcd6f7716f03ede6dfff5c
/code/data_process.py
854be82adb79d49ab35a8f824f85bd19d39be305
[]
no_license
chuxuzhang/WWW2018_Camel
a744ce0383b42d0c3b8ae03e1277eb64e41cee67
f8ff809cfd7c6026cbf40df8f745beb79b2d60a8
refs/heads/master
2020-04-17T06:09:28.872890
2019-04-14T23:41:30
2019-04-14T23:41:30
166,313,612
0
1
null
null
null
null
UTF-8
Python
false
false
12,380
py
import string import re import numpy import cPickle as pkl import six.moves.cPickle as pickle from collections import OrderedDict import glob import os import sys import random from subprocess import Popen, PIPE import argparse # input arguments parser = argparse.ArgumentParser(description='data process for Camel') p...
[ "noreply@github.com" ]
noreply@github.com
7ad093397456b1c012d97a7a9cdc6593423a6997
8fd513ff433cb199e8f3b87c88b997e475f84dc5
/Infnegs/corr_date_CODINF.py
73cb20f5069024c84b189c0d8ed8dbd9f6507e9b
[]
no_license
ebarillot/Python2
bfd65307f4f5f4bce13c7709b121d8548f6f77a8
7979edbca62e1e1d38b4b71c46004fc39ccf33b0
refs/heads/master
2021-07-04T12:39:28.659253
2019-05-23T16:13:56
2019-05-23T16:13:56
103,239,608
0
0
null
null
null
null
UTF-8
Python
false
false
3,079
py
# coding=utf-8 from __future__ import print_function, unicode_literals import logging import os import re from typing import List, Dict from collections import OrderedDict from functools import reduce from EBCommons.paths_and_files import filter_files_with_patterns_and_extensions from EBCommons.prog_helper import Loc...
[ "ebarillot@yahoo.fr" ]
ebarillot@yahoo.fr
344bbbf2466f3fd880910ba013940b5b95030e49
4d30a1c1e3a8b413a21c5b1b9fccdcbdac9f8147
/src/ga_uploader/GA360_uploader.py
f67abbe319a2557ed5583641c0670de45b5e66b3
[]
no_license
roger101591/bi_data_engineering
647e44aa90be55e16390a5b555823cbc87be998c
5c1c3e179961c71188834c6c9fab5cf13a193a1d
refs/heads/main
2023-06-19T01:40:11.426861
2021-07-07T00:38:58
2021-07-07T00:38:58
383,565,255
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
from dotenv import load_dotenv, find_dotenv from ga_uploader.GA360 import * # create dictionary for all query files and customDataSourceId reports = { 1:['pdp_info',''], 2:['ecom_product_data',''], 3:['attribute_plp_data',''], 4:['brand_info_pageviews',''] } # Get DB credentials from environmen...
[ "rogertran123@gmail.com" ]
rogertran123@gmail.com
28244674a4badd1361e37587d332faef0b1f5a40
2acba27fb492fbe0a2ea10b0d8b10e541f7d296e
/myblog/migrations/0005_myblog_date.py
878da87b36656ca0cfdabf900901dda01af8cc22
[]
no_license
tawatr/django3-personal-portfolio
4c9740c00000be096c98bdadaa04684549e22eb6
ba43c91e62053fc7ca2519153ce714faa3d9552a
refs/heads/master
2022-06-11T08:37:55.660701
2020-05-13T08:23:04
2020-05-13T08:23:04
263,568,976
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Generated by Django 3.0.6 on 2020-05-12 13:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myblog', '0004_remove_myblog_date'), ] operations = [ migrations.AddField( model_name='myblog', name='date', ...
[ "t.rungarunwan@gmail.com" ]
t.rungarunwan@gmail.com
273a33acbc1d609d853d60c9d5b63ac8b724d822
4ca7d7d11319e412c2c1b7974279315f8f04a286
/models/players/pre_alpha_player.py
be9e7310eefec8b86acab559210a0d0bc10c2b5b
[]
no_license
carlossdparaujo/Trabalho-IA-Othello
3683e153e580b70381bbaf1d768456be14f178f7
c8a829ffa45cce5f906291d29dfbe556357376e9
refs/heads/master
2021-03-12T20:21:51.646320
2013-10-13T23:22:26
2013-10-13T23:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,971
py
import time class PreAlphaPlayer: def __init__(self, color): self.color = color self.weight = [ 0, 0, 0, 0, 0, 0, 0 ,0 ,0 ,0, 0, 120, -20, 20, 5, 5, 20, -20, 120, 0, 0, -20, -40, -5, -5, -5, -5, -40, -20, 0, 0, 20, -5, 15, 3, 3, 15,...
[ "carlossdparaujo@gmail.com" ]
carlossdparaujo@gmail.com
d541d3ce9b51614e49553b4e081a954418e70cc6
2606d604fc5a023d34c468cc9815ef42b180ef5c
/temp/final/get_results.py
3b35a81f9aab046a7097c0d4b045189da30228b3
[]
no_license
Bharathbrothers/ISE_PROJECT_FINAL_CODES
a82209213ad5148d5191b93d7b7bc2d6f61d3e2b
557b7652390cff47929c5cce2d4c026c5e54ce85
refs/heads/main
2023-04-27T21:55:24.745635
2021-05-10T14:28:07
2021-05-10T14:28:07
362,646,221
0
0
null
null
null
null
UTF-8
Python
false
false
3,129
py
import requests import json import csv import pprint # os #import sys import pandas as pd commits_dataset = pd.read_csv('commits_dataset_of_1064_unique.csv') pulls_dataset = pd.read_csv('pulls_dataset_of_1064.csv') #pulls_user_login = pulls_dataset['pullsuserlogin'] first_ten_df = pd.DataFrame() df_list =[] ft_una...
[ "sathuribharathbrothers1234@gmail.com" ]
sathuribharathbrothers1234@gmail.com
acb7e479c8659db7cf8998b68023fe7856a6a3eb
4c3e992678341ccaa1d4d14e97dac2e0682026d1
/addons/website_crm/__manifest__.py
25c3c8c27c1aaa7be1c4bea195297a66d7694d84
[]
no_license
gahan-corporation/wyatt
3a6add8f8f815bd26643e1e7c81aea024945130d
77e56da362bec56f13bf0abc9f8cf13e98461111
refs/heads/master
2021-09-03T18:56:15.726392
2018-01-08T02:54:47
2018-01-08T02:54:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
{ 'name': 'Contact Form', 'category': 'Website', 'sequence': 54, 'website': 'https://www.gerp.com/page/website-builder', 'summary': 'Create Leads From Contact Form', 'version': '2.0', 'description': "", 'depends': ['website_form', 'website_partner', 'crm'], 'data': [ 'data/we...
[ "duchess@gahan-corporation.com" ]
duchess@gahan-corporation.com
ba859d48ef791e3fcbb80b4d8662f683f35104f2
3ce20e2f296727069d070c689ca2cb7f77f953ae
/src/products/serializers.py
52fe484d12a7453c46c4bcd979fb39f980b15796
[]
no_license
Rufi512/django-app-test
a6d156bc8527dae7c32ecc85404439c3c5d0bcc4
d044d2c2fceeb9d384ada0d61f9d20842bfc6aac
refs/heads/main
2023-09-05T00:25:07.147481
2021-10-26T17:27:32
2021-10-26T17:27:32
411,346,653
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
from .models import Product from clients.models import Customer from clients.serializers import CustomerProductSerializer from rest_framework import serializers class ProductSerializer(serializers.ModelSerializer): seller = CustomerProductSerializer(read_only=True) class Meta: model = Product ...
[ "Rafajos9@gmail.com" ]
Rafajos9@gmail.com
f600e447539b108a30b77989044bbd5a5ef0de0d
1f51f4e7b11d4758cbb8b157e0e8edc0bd43d742
/app/models.py
8c076161aaccaeba7816642090769468b7af5a4f
[]
no_license
vutran1305/flaskApi
7ffc22c2c36fc5aea7c073e9403e1f0c01195ba7
99fd21208e4ba213fccb25b0c9310fb0d5d9c049
refs/heads/master
2023-07-17T04:30:37.760434
2021-08-31T10:59:00
2021-08-31T10:59:00
390,669,950
0
0
null
null
null
null
UTF-8
Python
false
false
3,521
py
from marshmallow import fields from app import db , ma from datetime import datetime,date from sqlalchemy.sql.expression import Executable, ClauseElement class Shop(db.Model): __tablename__ = "shop" id = db.Column(db.Integer,primary_key = True) name = db.Column(db.String(120) ,index = True) shop_...
[ "tranlongvu_t63@hus.edu.vn" ]
tranlongvu_t63@hus.edu.vn
1e20a7af91850ba6adb2ddc0e2d820bb8b3de2af
0b538db89f9ef9810d63fa52ee636a8d672881c9
/rl_agents/policy_gradient/composenet/estimators.py
6e2d8c588383c0c9f7c3699acb9288afe3192d99
[]
no_license
evanmays/ComposeNet
ca210afca0eb2179f8dc0632fd6aaafb00856c43
49a1a7017a0d95b526316f9632bdc097bd5f2949
refs/heads/master
2020-12-15T16:06:55.635180
2020-01-20T18:45:30
2020-01-20T18:45:30
235,169,896
0
0
null
2020-01-20T18:30:38
2020-01-20T18:30:37
null
UTF-8
Python
false
false
8,273
py
""" @author: himanshusahni Modified from a3c code by dennybritz Defines policy/value modules used by composenet agent """ import numpy as np import tensorflow as tf from utils import * import sys class Skill(object): """ Base skill Embedding generartor. Given a state, will generate an embedding for a particul...
[ "himanshu@gatech.edu" ]
himanshu@gatech.edu
9ec66718f01a36c3c5f4f8cb50e6d84b300ee3bd
f712faaab550676136059cf0d04e86b19762b725
/m14/Classes and Objects - Coordinate Exercise/coordinate_exercise.py
174639852cb8ee07064595e43b00bef96bc0c865
[]
no_license
Prudhvik-MSIT/cspp1-practice
f2a1810ea4cae87d4f8d940ddfdea09394ce69b5
db2932f8de7d80dec17da9206fe1a86c4620fcbe
refs/heads/master
2020-03-24T23:23:11.798081
2018-08-21T12:58:39
2018-08-21T12:58:39
143,131,588
0
0
null
null
null
null
UTF-8
Python
false
false
1,401
py
# Exercise: coordinate # Consider the following code from the last lecture video: class Coordinate(object): def __init__(self, x, y): self.x = x self.y = y def getX(self): # Getter method for a Coordinate object's x coordinate. # Getter methods are better practice than jus...
[ "prudhvik.1996@msitprogram.net" ]
prudhvik.1996@msitprogram.net
92451e3e0532e1390866e0e47cfd0cfb3922fc01
fd3d714ad450f135cb837cccd46d6b6d611066e2
/FirstApp.py
0e538b7dff9b72ed5bc08b85a5fcc6434add46dd
[]
no_license
jayudhandha/python-exercise-m1-batch
261c3545faa48886fb5828c2fb326c877f8e563f
a70925d85f0b79f6e2e96445d579789a08abce86
refs/heads/master
2022-11-06T15:10:01.556079
2020-06-19T03:16:40
2020-06-19T03:16:40
266,005,202
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
# print("Hello") # print("How are you") # print("Bye") # a = 10; # print(type(a)) # a = 'Kod Factory' # print(type(a)) # a = 5.5 # print(type(a)) # How to take user input # input function will always returns data in the form of string # name = input("Enter your name: ") #print(name) ...
[ "noreply@github.com" ]
noreply@github.com
3fe47bde8588377552e287a257486b965a93e9a3
7eababf422cf7e1c180b7152e73653bd1a49dc04
/widget/execut/execut_hands_up.py
76a09ea7d21d5b139096c845e5ca071cae09b689
[]
no_license
offwind1/5000robottool
e112266c47e9618b2e327c254fafb4e58826e6de
3e8300683797843faf1cb303e6f9aed8bf0d47ab
refs/heads/master
2022-12-07T10:27:38.708953
2020-09-03T06:25:40
2020-09-03T06:25:40
292,485,669
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
from .base_executor import BaseExecuor, BaseWorkThread import asyncio import random class WorkThread(BaseWorkThread): def func(self): execut(self.step, self.classroom) class HandsUp(BaseExecuor): name = "็”จๆˆทไธพๆ‰‹" worker_class = WorkThread async def hans_up_list(classroom, list, num): for i in r...
[ "off_wind@163.com" ]
off_wind@163.com
76e9f626716ffeeeb0da196d565549a580a22fb4
95fc991f71a3fb321739ecfeb02894d05b638137
/Python/SQL/solutions.py
ab2dc4cdf19dcae7444094df1d665a442f242d81
[ "CC-BY-3.0" ]
permissive
ayr0/numerical_computing
8985456a4d6be1352b4365a1b8d8e3a2c06f4b0a
0b384d28674e84d02d2ee4eea81b59422e3f9777
refs/heads/develop
2020-12-25T05:17:13.984158
2015-01-11T00:50:17
2015-01-11T00:50:17
1,912,763
1
2
null
null
null
null
UTF-8
Python
false
false
4,479
py
import sqlite3 as sql from collections import Counter dbfile = 'icd9.db' def get_conn(): con = sql.connect(dbfile) return con def new_tables(): con = get_conn() try: cur = con.cursor() cur.execute('create table MajorInfo (MajorCode int, MajorName text);') cur.execute('create ta...
[ "rgrout@math.byu.edu" ]
rgrout@math.byu.edu
a2a56c8ddf2bafe2922ae4f475003e48588dfdf6
2a3b37148ad7936ab87818f376d6f034319becc2
/cartas/api/viewsets.py
52e0c019c1cd89c1d4bc146fa3b7ada1e6d76fd1
[]
no_license
tetresbr/cartas-papainoel
ba0e673c6f3e693c3fbfbf3895e9aafd70814ed6
cf7ece2b061c73e801c8c676e7fd3d5957757946
refs/heads/main
2023-04-25T18:15:29.379839
2021-06-03T13:54:26
2021-06-03T13:54:26
373,523,757
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
from rest_framework import viewsets from cartas.api import serializers from cartas import models class CartasViewSet(viewsets.ModelViewSet): serializer_class = serializers.CartasSerializers queryset = models.Cartas.objects.all()
[ "mmoura.siqueira@gmail.com" ]
mmoura.siqueira@gmail.com
527f7364d88543bdad22f2ab7ba50f8785df5bcf
b6e90f3bf19070252f95552fca3192dc6a31233b
/tests/test_capra.py
052e867cf936247ac2e4bc30a8d02c2d2fd40c9b
[]
no_license
EverydayDesignStudio/capra
c2a4e38e215620d6f291417f58090146226d9cb5
8df852a7fbebf7390dce5b85587c0e42fe019628
refs/heads/master
2022-11-26T05:53:15.448702
2022-08-18T20:26:26
2022-08-18T20:26:26
126,943,151
4
1
null
2022-11-22T06:16:47
2018-03-27T07:02:09
Python
UTF-8
Python
false
false
1,130
py
#!/usr/bin/env python3 # A collection of tests for Capra camera an projector import unittest # Library for testing import os # For reading from bash script import time # For unix timestamps import RPi.GPIO as GPIO # For interfacing with the pins of th...
[ "jordan_white@sfu.ca" ]
jordan_white@sfu.ca
90f3c6e19053a7f95590006be932fb2b35b0d91c
b4fb00c26ce964e69b454602b26fda90e69501ab
/koko/c/interval.py
fbebca9be56b6072ae0c9c9d698eb22ec6f03fd5
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
TheBeachLab/kokopelli
c9fa80ca45860df7267a9d4d12b34d3b29571329
529b8149a951363d2a027946464ea0bb22346428
refs/heads/master
2020-04-07T20:01:06.676935
2019-10-04T08:48:32
2019-10-04T08:48:32
158,672,077
1
0
NOASSERTION
2018-11-22T09:11:49
2018-11-22T09:11:48
null
UTF-8
Python
false
false
1,868
py
import ctypes class Interval(ctypes.Structure): """ @class Interval @brief Interval containing upper and lower bounds with overloaded arithmetic operators """ _fields_ = [('lower', ctypes.c_float), ('upper', ctypes.c_float)] def __init__(self, lower=0, upper=None): """ ...
[ "matt.j.keeter@gmail.com" ]
matt.j.keeter@gmail.com
f33f82dad957ad77c9c30ba73d16dbacfdfd33f1
dc8a337ea1d8a285577d33e5cfd4dbbe846ee1a0
/src/main/scala/MaximumAverageSubtree.py
a398eb6c8e7364ea2a69c3d5df160e65f8b0b9f4
[]
no_license
joestalker1/leetcode
8a5cdda17abd33c3eef859732f75d7bec77a9d0e
ae392ddbc7eb56cb814b9e9715043c98a89a6314
refs/heads/master
2023-04-13T22:09:54.407864
2023-04-09T19:22:54
2023-04-09T19:22:54
131,803,943
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def maximumAverageSubtree(self, root): if not root: return 0 def find_avg(node): if not node: re...
[ "stalker.comp@gmail.com" ]
stalker.comp@gmail.com
ce0d43f1c04b68b938172b0b8c37ffaae5357f14
34f0af7bf25c8b516337403b93505cc64e31908c
/task_01/asgi.py
d6a745561dcf16aa53458a4af7204f271c183f47
[]
no_license
Jawish-a/task_01
d1c9ab1859171d8214e646899cab694e52bfdac0
abf6073ed131c3025570d997d250a49dd45d28d5
refs/heads/master
2022-12-12T10:47:31.779450
2020-08-27T10:47:59
2020-08-27T10:47:59
290,749,888
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" ASGI config for task_01 project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTI...
[ "jawish-a@outlook.com" ]
jawish-a@outlook.com
a58e822bbe71eb03c6ade941553b33a601147201
d2b680d7ae52d160db050685b829337aac4f26e6
/docs/conf.py
2af6a87256902d9643035f2bcc289c29e6021c63
[ "Apache-2.0" ]
permissive
pjordan/rlcc
6fe3b20ff88806aafae0f1ecb90fca54ce226034
e84b8b5c14680dbad2efae22756fb40606b2384a
refs/heads/master
2020-04-07T10:53:47.897879
2018-12-12T07:50:27
2018-12-12T07:50:27
158,304,498
1
0
Apache-2.0
2018-12-12T07:50:28
2018-11-19T23:43:46
Python
UTF-8
Python
false
false
5,413
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "patrick.r.jordan@gmail.com" ]
patrick.r.jordan@gmail.com
04c6fd2c40537d681033ad38be8d880ee3f0beb5
b2e596a7c4023cc2cc3348bd9c2e9a1644efac69
/services/users/manage.py
b3a43a5d2623cab566e14bed7780de4680e82885
[]
no_license
jhordyhuaman/web-app
fddf1f4d68f139f0c82373b51000d0764ed59166
d1f630824649f3b2573202ccaa79cef5696c3407
refs/heads/master
2023-02-02T06:00:39.825673
2020-12-23T06:01:38
2020-12-23T06:01:38
295,599,652
0
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
# services/users/manage.py import sys import unittest import coverage from flask.cli import FlaskGroup from project import create_app, db # nuevo from project.api.models import User # nuevo COV = coverage.coverage( branch=True, include='project/*', omit=[ 'project/tests/*', 'project/c...
[ "jhordyrx@gmail.com" ]
jhordyrx@gmail.com
ede27f262aef4548ab54776a84c23375fc46cae7
d3353de9f04c65aaee0c40266147808dcb114dac
/py/04.py
84a023321bf2a9daa2e0cf002cb7585ec7202a0d
[]
no_license
isteves/advent_of_code_2020
926d50a90c30370f287e7ab95f0c97f785dbd111
cb7b14d739de9bb6ce658f21a5a4f34acc5eed67
refs/heads/main
2023-02-04T02:47:15.113860
2020-12-20T13:37:58
2020-12-20T13:37:58
319,615,932
0
0
null
null
null
null
UTF-8
Python
false
false
5,541
py
import re test_case = """ecl:gry pid:860033327 eyr:2020 hcl:#fffffd byr:1937 iyr:2017 cid:147 hgt:183cm iyr:2013 ecl:amb cid:350 eyr:2023 pid:028048884 hcl:#cfa07d byr:1929 hcl:#ae17e1 iyr:2013 eyr:2024 ecl:brn pid:760753108 byr:1931 hgt:179cm hcl:#cfa07d eyr:2025 pid:166559648 iyr:2011 ecl:brn hgt:59in""" # byr (...
[ "25118334+isteves@users.noreply.github.com" ]
25118334+isteves@users.noreply.github.com
9944200853765c84938871bb6cecdd98f2eb7b9f
c97e6912553cd3d0e4da37cd6e04c6d315daae52
/task_3/Tests/Test_Find_winning_players.py
d75a2bbe6da79e97b3926517ae10841b3db2e543
[ "MIT" ]
permissive
christopher-besch/bwinf_39_round1
23d5aa9f171a6429ed4c0ed62769c5ae2a037426
e5394b37894a56608312057d179029d8a5df98fd
refs/heads/master
2023-04-07T01:38:30.989715
2021-04-09T18:24:46
2021-04-09T18:24:46
291,001,950
1
0
null
null
null
null
UTF-8
Python
false
false
2,209
py
from find_winning_players import find_winning_player_liga, find_winning_player_ko import unittest def test_best_player_wins(player1, player2, skill_levels): skill_level1 = skill_levels[player1] skill_level2 = skill_levels[player2] if skill_level1 > skill_level2: return player1 return ...
[ "christopher.besch@gmx.de" ]
christopher.besch@gmx.de
341b407e36b37529d4e82f6008f5b9f962e98d77
2b38f4398a1b54ed45c4e30219b02bec704a71c6
/200.ๅฒ›ๅฑฟๆ•ฐ้‡/numIslands.py
ad221ab48af250aeb8523c2750577a6389301e17
[]
no_license
johnmaster/Leetcode
7a1f6bd39d43d262f4436bf9e34e2fb9a984e475
ceecad205a5809036e59c726a1baa42918f97619
refs/heads/master
2020-07-21T06:00:22.290353
2019-12-27T09:19:50
2019-12-27T09:19:50
206,766,255
0
0
null
null
null
null
UTF-8
Python
false
false
1,223
py
""" ๅนฟๅบฆไผ˜ๅ…ˆๆœ็ดข ๆ‰ง่กŒ็”จๆ—ถ :192 ms, ๅœจๆ‰€ๆœ‰ python3 ๆไบคไธญๅ‡ป่ดฅไบ†60.87%็š„็”จๆˆท ๅ†…ๅญ˜ๆถˆ่€— :14.8 MB, ๅœจๆ‰€ๆœ‰ python3 ๆไบคไธญๅ‡ป่ดฅไบ†14.55%็š„็”จๆˆท """ class Solution: def numIslands(self, grid): if not grid: return 0 directions = [(0, -1), (-1, 0), (0, 1), (1, 0)] m = len(grid) n = len(grid[0]) visited...
[ "noreply@github.com" ]
noreply@github.com
377d55b498d968fcffae567aeada05b555c223f5
19b5ede20f4c6966cb87b824c0071c2ffe5272d4
/RF_cluster_p3p5.py
768a740a792752505267d41387fa529904b291bb
[]
no_license
sisiyan/LendingClub_Loan
68e3b5b3eaf6f5399bd00023f31e2d23181b7cc2
8b2272e790882912a9094097eead67888f13c1ac
refs/heads/master
2020-04-06T13:06:24.135855
2018-11-14T03:21:57
2018-11-14T03:21:57
157,484,135
0
0
null
null
null
null
UTF-8
Python
false
false
12,871
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Mar 23 16:46:18 2018 @author: syan """ #%% Imports import pandas as pd import numpy as np from sklearn.manifold import TSNE from time import time from sklearn.preprocessing import StandardScaler from sklearn.pipeline import Pipeline from sklearn.cluste...
[ "syan62@gatech.edu" ]
syan62@gatech.edu
f71fa3008085e80be37a7aacd30689da78448a15
60e26e2c6e1fe185f0af2065cb4fd4d6d506504e
/engine/multimedia/api_view.py
3ab0699cd607fc493fb62d36e931b581326efe44
[ "BSD-3-Clause" ]
permissive
NamoxLabs/BlogEngine
4887df1078e4b15bc44c51b9b8c2d8b1e8a6aca4
741549e78b58bbc857e9dcecd88034de49d73304
refs/heads/master
2023-05-12T08:38:36.811094
2020-12-10T01:36:59
2020-12-10T01:36:59
155,762,174
1
2
BSD-3-Clause
2023-04-29T18:53:41
2018-11-01T19:00:48
Python
UTF-8
Python
false
false
3,159
py
from rest_framework import generics, permissions, renderers, viewsets, authentication from rest_framework.views import APIView from rest_framework.parsers import MultiPartParser, FormParser from rest_framework.decorators import api_view, action from rest_framework.response import Response from rest_framework.reverse im...
[ "giovanniyatze@gmail.com" ]
giovanniyatze@gmail.com
f9887c098f9375408085e8f3181fa5fe20bc4a25
1ed24efcec074c766652d82375631dc921766760
/04-Conditions/01-conditions.py
709931368078be82a2be1d51500811a9e3321842
[]
no_license
aerkanc/PythonEssentialsExcercies
3bac75f071cae4a51bbebc79e8d2eb845b087014
9eee0a9e7aba57f664db3616e0f611de5e1acc89
refs/heads/master
2022-11-30T13:34:03.644118
2020-08-10T16:40:41
2020-08-10T16:40:41
286,062,746
1
0
null
null
null
null
UTF-8
Python
false
false
464
py
# 02-conditions.py by A.Erkan ร‡ELฤฐK # Copyright 2020 # ลžart cรผmleleri, sadece doฤŸru koลŸullar saฤŸlandฤฑฤŸฤฑnda bir kod bloฤŸunun รงalฤฑลŸmasฤฑnฤฑ saฤŸlar sayi1 = 5 sayi2 = 2 if sayi1 > sayi2: print("sayi1, sayi2 den bรผyรผktรผr") else: print("sayi1, sayi2 den bรผyรผk deฤŸildir") if sayi1 > sayi2: print("sayi1, sayi2 den...
[ "3r!tr05!F" ]
3r!tr05!F
7b497c34633a7a38d1208ba6d39f789c586e2d69
57b08c1ebce6285a0051e42379d40485aea485a9
/provernalog/migrations/0005_auto_20180907_1751.py
c3203dc965fb21ac6257f1b6a8e814c9697c851b
[]
no_license
withouttalent/provernalog
b82787efeca8d14ed6409e728179284cfb7ae024
958edace27984732ca0507c4d2f4b0ca879c7977
refs/heads/master
2022-12-14T17:32:33.333225
2019-03-18T13:22:03
2019-03-18T13:22:03
176,290,546
0
0
null
2022-12-08T01:21:34
2019-03-18T13:20:29
Python
UTF-8
Python
false
false
415
py
# Generated by Django 2.1.1 on 2018-09-07 17:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('provernalog', '0004_auto_20180907_1241'), ] operations = [ migrations.AlterField( model_name='utilization', name='na...
[ "usernamealies@gmail.com" ]
usernamealies@gmail.com
159126ba4d7b373069e13db4f0f96edf0f2a2e50
9b0e1139e6606a3504dc6d15a55cd08d671bf0cf
/implementations-develop/algorithms/iterative-relief/python-implementation/iterative_relief.py
9d4274ee9f07fc8f405bc29cd92fc22e456d45fb
[]
no_license
jernejvivod/bachelors-thesis
5769deae0ca7f2619285cb5a4dbd051351116768
c2719345ed5016fae664275e3b913b9d4fc582f9
refs/heads/master
2022-02-20T10:48:37.347018
2019-10-01T09:32:18
2019-10-01T09:32:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,846
py
import numpy as np import pdb from min_radius import min_radius from scipy.spatial.distance import minkowski def iterative_relief(data, target, m, min_incl, dist_func, max_iter): """Compute feature ranks and scores using Iterative Relief algorithm --- Parameters: --- data: Matrix containing examples' fea...
[ "je.vivod@gmail.com" ]
je.vivod@gmail.com
e6808933779bd451c7f3c2aed9096baf82d6ac01
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-elb/huaweicloudsdkelb/v2/model/l7rules_in_status_resp.py
ff144526f91124a278e439806850ab972c0a4e27
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,606
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class L7rulesInStatusResp: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The ke...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
d3d818265a436425100d86ac3ed0464917765061
25b414d1f07fa88bb4d28cafcf8822563885f7d6
/Code/model.py
a18fbb516b159cbe549dd1dc431ca70c9b51693d
[]
no_license
SladeBrooks/NLE-Sentence-Completion-N-gram-Investigation
264c72c426c75fe06f8febb6d7dd5e13bf47b1f4
f71176b6127335d7b3c5858e07fd581a6f5fd072
refs/heads/main
2023-01-07T03:06:48.645015
2020-11-09T14:44:30
2020-11-09T14:44:30
311,369,261
0
0
null
null
null
null
UTF-8
Python
false
false
12,110
py
import os,random,math """ The language model class implements a unigram, bigram and trigram model. The models are all initialised by running train(). todo: update description for all models """ from nltk import word_tokenize as tokenize import operator class language_model(): """ ...
[ "noreply@github.com" ]
noreply@github.com
eab6d7536347bb0913cba8432c0ac2aafb426877
a1b7724146134af0f7df0788f96de5b200cd66fb
/venv/Scripts/pip3-script.py
177a1c9e8b3eb1d98f7f7b66f5f9e0263b3e08b2
[]
no_license
Jescs/MyCucumber
e1d227bf42d0c52fde75d04bbfd23ff9b9056504
91a3facf963b5f15e157339748181b0015d72e83
refs/heads/main
2023-09-01T22:56:05.784182
2021-11-20T13:52:31
2021-11-20T13:52:31
425,482,109
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
#!D:\pycharm_project\MyCucumber\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) s...
[ "515199703@qq.com" ]
515199703@qq.com
0b4b8aa0d9c590db4cf1ef14e97d17b0f308c6c1
589aefb903d330cbb7d86fe1645497391e417a7d
/cntzipGitHub/app.py
0649296d23c8870ce798a6d273ea9e08545f9f52
[]
no_license
EricTuFIU/CNTproject
bf82efd49339389e22bac580a7673047e380a5a4
2f7d04e97916d7502b494dc103dc8a5d92fd2c99
refs/heads/main
2023-07-02T08:59:08.915091
2021-07-25T23:15:33
2021-07-25T23:15:33
389,457,844
0
0
null
null
null
null
UTF-8
Python
false
false
1,683
py
import os os.environ["OAUTHLIB_INSECURE_TRANSPORT"] = '1' os.environ["OAUTHLIB_RELAX_TOKEN_SCOPE"] = '1' ####################################################################### ####################################################################### from dotenv import load_dotenv load_dotenv() # take environment ...
[ "noreply@github.com" ]
noreply@github.com
d2c68acf9b53244d3d86dcddc2dfb141b3295ea1
99d7a6448a15e7770e3b6f3859da043300097136
/src/managers/plugins/manager_preferences_page.py
108378a6b8bff9ec02512d2ba1c2ea9974fed843
[]
no_license
softtrainee/arlab
125c5943f83b37bc7431ae985ac7b936e08a8fe4
b691b6be8214dcb56921c55daed4d009b0b62027
refs/heads/master
2020-12-31T07:54:48.447800
2013-05-06T02:49:12
2013-05-06T02:49:12
53,566,313
0
0
null
null
null
null
UTF-8
Python
false
false
5,279
py
#=============================================================================== # Copyright 2011 Jake Ross # # 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/license...
[ "jirhiker@localhost" ]
jirhiker@localhost
0655eae4fd1f31ead2cb9f0c104aabd6881399d7
2365006043b4adb4e9d246db0f0b42678b9d6aea
/prj/manage.py
e86f926a905d259337bdf551d6f02540aaf6b181
[]
no_license
AndrewKvo4king/Django
a23a009909bf291720322d65d052626e5d06313f
28361061860a1e6f1821f272667f4164b7c4ae3d
refs/heads/master
2023-09-06T07:16:49.630268
2021-11-16T14:16:06
2021-11-16T14:16:06
426,343,683
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'prj.settings') try: from django.core.management import execute_from_command_line except ImportE...
[ "akvochkin@mail.ru" ]
akvochkin@mail.ru
2419b22989bb106c39740e26345c24f07faec97e
1de898abb6555121c6fd6956c0c64ff1dfdfe824
/src/python/azure_scripts/jobs/classifier.py
59475a076b9ccb2586981f0c58379d6067d3f894
[]
no_license
cgonzalezval/document_process_spark
a0fe66a84342947d95cdfc0ae26c4730d5ef9c48
20376f68f37e05846612fc17f78a765a05a7ee17
refs/heads/master
2023-03-01T19:11:26.455286
2021-02-09T23:35:01
2021-02-09T23:35:01
332,170,133
0
1
null
null
null
null
UTF-8
Python
false
false
814
py
# -*- coding: utf-8 -*- JOB_7 = """ { "name": "7-Classifier", "new_cluster": { "spark_version": "6.4.x-scala2.11", "spark_conf": { "spark.hadoop.fs.azure.account.key.%INPUT_STORAGE_NAME%.blob.core.windows.net": "%INPUT_STORAGE_KEY%" }, "node_type_id": "Standard_DS3_v2", "en...
[ "carlos.gonzalez.valderrama@gmail.com" ]
carlos.gonzalez.valderrama@gmail.com
46945109c7909d179afdafd86699fcd81bfc9294
9cf94073bba7ff46fc876ec6c1e0c6d61936502f
/leetcode/moving_zeros.py
53b4c6a5928b7ecd2bae1fd6abe5bcad8c967a87
[ "MIT" ]
permissive
NathanNNguyen/challenges
49bbdc31f88668f6cfbe1327172218f26ec256c5
d091108ded72827a02b6c9cc409628df42bffb53
refs/heads/master
2023-01-23T09:34:28.357847
2020-11-20T22:00:23
2020-11-20T22:00:23
286,363,611
0
0
MIT
2020-11-20T22:00:24
2020-08-10T03:08:25
Python
UTF-8
Python
false
false
588
py
# Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. # Example: # Input: [0,1,0,3,12] # Output: [1,3,12,0,0] # Note: # You must do this in-place without making a copy of the array. # Minimize the total number of operations. def move...
[ "natenguyen51294@gmail.com" ]
natenguyen51294@gmail.com
4849a3e0eb1d97ad3ac79041e9c8b99dd486ca9e
7109eecfb78e0123b534ef960dbf42be38e49514
/x7-src/engine/engine/tests/test_instance_types.py
75b1f3731633e5e8cc605923adde5f9f09c60170
[ "Apache-2.0" ]
permissive
wendy-king/x7_compute_venv
a6eadd9a06717090acea3312feebcbc9d3925e88
12d74f15147868463954ebd4a8e66d5428b6f56d
refs/heads/master
2016-09-06T16:58:13.897069
2012-01-31T01:26:27
2012-01-31T01:26:27
3,310,779
0
0
null
null
null
null
UTF-8
Python
false
false
10,690
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 Ken Pepple # 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 # # U...
[ "king_wendy@sina.com" ]
king_wendy@sina.com
7996012bdb9395fa46b745aba04005b7eaac1e62
0a95a363852f074f495d25a846381c7608100e0d
/reception/lambda_function.py
8f2b857457153121f821fa0c50fb04e7d921dc8c
[]
no_license
drumber-1/slackbot
110de316398286f21c18204bc6435148d4dff9f2
5178c5776a0f616d3e039a0cf15d7ce9323fb60d
refs/heads/master
2022-11-01T01:05:53.433573
2022-10-09T20:05:06
2022-10-09T20:05:06
36,463,442
0
0
null
2022-10-03T13:57:11
2015-05-28T20:11:27
Python
UTF-8
Python
false
false
2,581
py
import boto3 import json import logging import os from slack_bolt import App from slack_bolt.request import BoltRequest from markovbot.markovbot import MarkovBot import slackfunctions import config logging.basicConfig(format="%(asctime)s %(message)s", level=logging.INFO) logging.root.setLevel(logging.INFO) app = Ap...
[ "drumber01@gmail.com" ]
drumber01@gmail.com
80e372ddc362f3184d7d131a39be9975120fe157
a55086b5c1916fce0d047d49f0bb5c47adf45ccc
/app/search.py
cbce52ab210e852433edcd63f14f63530a87d278
[]
no_license
serialagony/serialagonysite
d3b93cc7585b87d37acb60f0f5e0cf71e8cfde28
afa8890aead2160ee1632a4282e67961e388328a
refs/heads/master
2023-01-10T06:51:29.928281
2020-11-14T17:50:15
2020-11-14T17:50:15
308,157,881
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
from app import app def add_to_index(index, model): if not app.elasticsearch: return payload = {} for field in model.__searchable__: payload[field] = getattr(model, field) app.elasticsearch.index(index=index, id=model.id, body=payload) def remove_from_index(index, model): if not ap...
[ "serialagony31@yahoo.com" ]
serialagony31@yahoo.com
dd124e421a493309417b2e28e372e96624d596e3
62f8862454b3cbedd21e62524f964a2780c6bb77
/174/174b.py
14b0692e69919644d9a556434f2f78037f2cf340
[]
no_license
31159piko-suke/Atcoder
3cdb630415e46e717261c5aad1e3dd44cf2ef449
a23a0b8551d83ca83bc657ccbfb1667e26b6d8da
refs/heads/main
2023-05-14T14:04:16.898948
2021-06-08T06:46:08
2021-06-08T06:46:08
323,053,093
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
N,D = map(int,input().split()) l = [list(map(int,input().split())) for _ in range(N)] import math count = 0 for i in l: if math.sqrt(i[0]**2+i[1]**2)<=D: count += 1 print(count)
[ "k426.31159@gmail.com" ]
k426.31159@gmail.com
667d073c5751b3f4efac2615e03d31ddaf1fcbaf
f439a47458e13c95c01ca298490591cb2eb92805
/Graph Plotting/parathreestackedplotslive.py
c190766310ae4c37cafa1833f9ba535979200429
[ "MIT" ]
permissive
Prabhutva/SmartHomeProject
f4e1e8c1b787d3d572ebd742af3cf2a1cc9695c3
688589468532800b1c23f6d19a88e6a1de0910e0
refs/heads/master
2022-12-11T08:38:51.279920
2020-08-14T14:03:18
2020-08-14T14:03:18
287,546,412
0
0
null
null
null
null
UTF-8
Python
false
false
4,549
py
import serial import matplotlib import matplotlib.pyplot as plt import numpy as np from drawnow import * import time import matplotlib.animation as animation plt.style.use('dark_background')# welcome to the dark side #serial port initialization #TO-DO: auto-detection of port so that it is not required to change it co...
[ "42607655+Prabhutva@users.noreply.github.com" ]
42607655+Prabhutva@users.noreply.github.com
5887803a15b438bf04d6960b8d8d6c2b01db51bb
c5ec5b17f7bb72d63cdb8aa92fd8463a73c84084
/examples/app/downloads/downloads.py
0ee375859215ee021fbbce8db370afa1b62c98ab
[]
no_license
sahat/bokeh
8856999a9532499f2abb60a132a5d0f18d9f1662
517b8290045ee98391942b9f86f0e9f4004068ee
refs/heads/master
2020-12-11T05:48:25.917922
2014-06-08T06:48:40
2014-06-08T06:48:40
18,768,811
1
0
null
null
null
null
UTF-8
Python
false
false
8,371
py
from __future__ import print_function import os import sys import gzip import datetime import argparse import pandas as pd import logging logging.basicConfig(level=logging.INFO) from os.path import join, expanduser, abspath from bokeh.widgetobjects import VBoxModelForm, HBox, VBox, BokehApplet, Select, Slider, Date...
[ "mattpap@gmail.com" ]
mattpap@gmail.com
d5db123a90f93c204e122fc24d908036bc47a0eb
50ffcab5180ed7a30fa74b01d1d41928b3344e4d
/text_display.py
747aed1a4263fe9f75f79f59465d0ff83d2ab380
[]
no_license
eremyja/pipass
dd113937084802cbcd571d193d69db0ae843a1d1
be5a7b88894bb3c40104019af9d23327dcfd8d77
refs/heads/master
2020-05-25T19:22:28.780540
2019-05-26T10:05:50
2019-05-26T10:05:50
187,950,272
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
### # # Lock screen # - requires user to input "c_c_c_combo" to equal "passfrase" # # TODO: # - clear up imports # - find a better solution for "wrap_text" # - prevent going off the bottom of the screen # ### import os import board import busio from digitalio import DigitalInOut, Direction, Pull from button_lay...
[ "eremyja@gmail.com" ]
eremyja@gmail.com
acee8bfa6618c45ffdddd794836a97b28644d4d1
aa31c826530135581afd0b6b9bc4e44d333da6e2
/paulla/ldapmanager/tests.py
7ac2af503f4e3d8c8e3cd80a0f456710f4c71f0f
[]
no_license
blu-code/paulla.ldapmanager
aa97f4e58ee5f45e25b25b7eb1e51931326c1101
4cbe51833c1b175f716a9e4f67a0a3abbd02ce3c
refs/heads/master
2020-12-03T06:42:06.108821
2015-04-10T21:10:33
2015-04-10T21:10:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
import unittest from pyramid import testing class ViewTests(unittest.TestCase): def setUp(self): self.config = testing.setUp() def tearDown(self): testing.tearDown() def test_my_view(self): from .views import my_view request = testing.DummyRequest() info = my_vie...
[ "voileux@paulla.asso.fr" ]
voileux@paulla.asso.fr
916e8c7b89063ad6ce6aa8d92e0e6f6d877c3e5d
1b2f60bfbb38353c829a066b7a5d58b84122e460
/python/scale-generator/scale_generator.py
dd3627cef2e40277b3338afb90ca55f33b7eda14
[]
no_license
krok64/exercism.io
9f03553a9efd1eb89f1844265fa2b06210b5803b
2c0439f533977a4d935c962e5b3e9a3c7111ac66
refs/heads/master
2021-01-20T02:20:30.048587
2017-08-24T16:34:02
2017-08-24T16:34:02
101,316,193
0
0
null
null
null
null
UTF-8
Python
false
false
1,693
py
octave_sharp = ['A', 'A#', 'B', 'C', 'C#', 'D', 'D#', 'E', 'F', 'F#', 'G', 'G#'] octave_flat = ['A', 'Bb', 'B', 'C', 'Db', 'D', 'Eb', 'E', 'F', 'Gb', 'G', 'Ab'] class Scale(object): def __init__(self, start, name, intervals=""): if len(start) > 1: self.start = start[0].upper() + start[1] ...
[ "you@example.com" ]
you@example.com
9afc13b91eab49c6b072df6e0ed3a722f5d481e3
3815b81924359392d3d3ce9c8ddba906118d594c
/Clock.py
03a7ef34206618a33f66040b7d906fd4c5d752d1
[]
no_license
Xakor/ledMatrix
6d788053690e6d905e579751b761b7cb8728cca8
87a9131c383b140b369429ee3232e5f4f2663c92
refs/heads/master
2021-01-23T10:55:16.295820
2017-06-01T22:30:39
2017-06-01T22:30:39
93,104,249
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
from luma.led_matrix.device import max7219 from luma.core.interface.serial import spi, noop from luma.core.render import canvas import time import os from itertools import izip_longest from numpy import array def main(): while True: os.system('clear') print(vertStrings(bcd(time.strftime('%H%M%S')))...
[ "fha.post@gmail.com" ]
fha.post@gmail.com
1d60aaae4e56b7d6d9aee5a303f379e77c54f2b5
7f4999b352ae87e37f5a343c049432e579ade7a1
/checkout/views.py
1ffea285b020f68c1d7da76d2327bcb6a464dcdb
[]
no_license
Code-Institute-Submissions/final-project-3
010a03077ecb25a545ffa79bd87c5315ea8dcd74
a6a6fa3aafc2474df2a2f5f55374dc1bd8ee9ed1
refs/heads/main
2023-08-23T10:08:17.284965
2021-10-16T08:07:24
2021-10-16T08:07:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,465
py
from django.shortcuts import render, redirect, reverse, get_object_or_404, HttpResponse from django.views.decorators.http import require_POST from django.contrib import messages from django.conf import settings from .forms import OrderForm from .models import Order, OrderLineItem from classes.models import GymClass fr...
[ "ukkpower@gmail.com" ]
ukkpower@gmail.com