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
5b87225c7d50e4de10c2e589bdd51d172792eef9
e9b3842b3d2946bb6ddc07fcb8410732ca76f613
/mdl.py
67f802dd819229e1e48f72eebcab1278ee6efc6d
[]
no_license
aditihaiman/final-graphics
2187c48bf3516467996eb1264019b0d2ea393055
45ee0b9c2733677a45d787a56f9a0333de2ad0a7
refs/heads/master
2022-11-09T00:31:56.646702
2020-06-11T22:04:50
2020-06-11T22:04:50
265,695,784
0
1
null
null
null
null
UTF-8
Python
false
false
15,997
py
from ply import lex, yacc tokens = ( "STRING", "ID", "XYZ", "DOUBLE", "INT", "COMMENT", "LIGHT", "CONSTANTS", "SAVE_COORDS", "CAMERA", "AMBIENT", "CYLINDER", "PYRAMID", "PRISM", "TORUS", "SPHERE", "ELLIPSOID", "TUBE", "CONE", "BOX", "...
[ "ahaiman00@stuy.edu" ]
ahaiman00@stuy.edu
64e5d54acec6c968bbdc376004abbfcebe376ec6
a4fba2d2aecbf299d7c32741b5572ed8cca6600c
/scrapydeme/car_scrapy/car_scrapy/spiders/autohome_spider.py
23663243541210aee441e3f8eb8f52ace5b9fa98
[]
no_license
rookiexjl/scrapydemo
22a42565b1054d5f06512c7b286bb14858d0c141
dc1a373fb583d659898a50f9e6ddf0dc0bb4c69d
refs/heads/master
2021-01-23T06:01:15.220988
2017-06-12T03:18:13
2017-06-12T03:18:13
93,006,589
1
1
null
null
null
null
UTF-8
Python
false
false
3,020
py
# coding=utf-8 from scrapy import Request from scrapy import Spider from car_scrapy.items import CarScrapyItem class AutohomeSpider(Spider): name = "autohome.new" start_urls = [ "http://www.autohome.com.cn/grade/carhtml/A.html", "http://www.autohome.com.cn/grade/carhtml/B.html", "http...
[ "18252005734@163.com" ]
18252005734@163.com
2a7751d735e8753be513461b0ed0f324a9cfac53
c067c06fca7a6d371828b75200ed8862dd2977ec
/simple_exercises/profiti/02.av3.py
943796bf35155a2b269172b4af5042e20c864d15
[ "MIT" ]
permissive
ilante/programming_immanuela_englander
1e170ebbadf0de56c35529b0d02268ea96779178
45d51c99b09ae335a67e03ac5ea79fc775bdf0bd
refs/heads/master
2020-11-25T22:54:06.492425
2020-07-14T16:14:27
2020-07-14T16:14:27
228,879,626
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
def av3num(a, b, c): av = (a+b+c)/3 return av print(av3num(1,2,3))
[ "ila@Immanuelas-Air.station" ]
ila@Immanuelas-Air.station
5eb3ad1011c8c6cf69038228cced51111ccd68ab
e6d24866b239362b84d4192ece761c9919f8f323
/HashCode 2018/main.py
386a27c316391568ed76b6639ecdaad6d858ee33
[]
no_license
CodiceLoco/code-challenges
ef6f9d2bd1770dea21d9a419ea10c47f5ff96d86
4fd265d86cdaa05eac756d8a07b02c98fe88e50f
refs/heads/master
2020-03-22T16:04:53.629023
2019-05-08T13:49:32
2019-05-08T13:49:32
140,301,446
1
0
null
null
null
null
UTF-8
Python
false
false
692
py
from solution import try_to_solve, read_file from scoring import JudgeSystem from os import listdir INPUT_FOLDER = 'input' OUTPUT_FOLDER = 'output' FILES = sorted(map(lambda f: f.split('.')[0], listdir(INPUT_FOLDER))) INPUT_FILES = list(map(lambda f: f'{INPUT_FOLDER}/{f}.in', FILES)) OUTPUT_FILES = list(map(lambda f:...
[ "marcon.niccolo@gmail.com" ]
marcon.niccolo@gmail.com
ad01571f6a61ceda4ceecc3b05110483c0b3596f
99172548909dfea0095f27d590277b87b61d8bac
/Programmers/Level1/직사각형 별찍기.py
4828430b91f5d67edafdd69237b146947bc2038e
[]
no_license
rheehot/Algorithm-53
3612e51aee15fa4bc6fecd6d2c18fa45f5572117
2651f95ca25645943a8c3fe40662092b4925f06b
refs/heads/master
2023-06-24T05:35:46.465422
2021-07-22T14:45:15
2021-07-22T14:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
a, b = map(int, input().strip().split(' ')) rect = ("*" * a + '\n') * b print(rect)
[ "59171154+HelloJihyoung@users.noreply.github.com" ]
59171154+HelloJihyoung@users.noreply.github.com
7fed42466b7f96d16dc21e46e0c0f0514aeb6977
c199f949c04933205a25c71706c80a12d7ba20a6
/webapp/models.py
4b42c5d5b5c7dca25cc112842045a6af2d2bf9ac
[]
no_license
NepaliUtsab/NepaliUtsab.github.io
ea1909017782ba4da794b85b19ba41a9e41aa0ae
7bd91c9cffc116e3daa11d77aa8b4276ed9e77e0
refs/heads/master
2020-03-23T02:17:01.233240
2018-07-14T17:55:16
2018-07-14T17:55:16
140,605,326
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
from django.db import models # Create your models here. class Student(models.Model): firstName = models.CharField(max_length = 10) lastName = models.CharField(max_length = 10) stdId = models.IntegerField() def __str__(self): return self.firstName
[ "utsab@Utsab.local" ]
utsab@Utsab.local
8beec3595266a31881890de7dda1c3111fee3c79
f0237dd96510765f1a8d4b61e5e6dca0d1142fba
/lib/tools/tools_ssh.py
f6155f4fca7f6f97a9800cfdbb16671dbf2a4638
[ "MIT" ]
permissive
galena503/SCR
d217782dd03f22f5524666f11ccd6c9e73bec223
d5b6581808b4f2fac775e7ff48b3eef548164ca1
refs/heads/master
2020-08-01T06:56:33.715559
2019-09-26T09:34:45
2019-09-26T09:34:45
210,895,454
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
class Tools_ssh: def get_other_scr_stats(self): # SCRfield内の他のSCRの情報を取得する def get_other_scr_stats(self):
[ "52788168+akatuki-hi@users.noreply.github.com" ]
52788168+akatuki-hi@users.noreply.github.com
cac6679df85dec7cd9809210f80e1ddda0f67e88
1b2aeb34086ffd631e630008ffc73b6f1c458e8d
/kfold.py
4ed9cc4e0681f14208c53012d2e16279b953e4d0
[]
no_license
thunderboom/tecent_ad
bdde7af24aacce2cbe86d02e9defefa9378e3a3b
5c051ddd63848c767ecbc118841a953178b4111a
refs/heads/master
2022-09-08T02:31:49.090314
2020-05-26T08:41:48
2020-05-26T08:41:48
265,536,465
0
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
"""根据切分形式,进行训练并验证""" from torch.utils.data import DataLoader from utils import AdvData from sklearn.model_selection import train_test_split from train_eval import model_train, model_evaluate def cross_validation(config, model, train_data, test_data): if config.pattern == 'cross_validation': train_data, v...
[ "470810634@qq.com" ]
470810634@qq.com
e128dcb7bacbd5c878d4d8dc67752ce9b8a0b7d1
dbd7be725a36b22a99f3785bcdf2e3866b6e3cc7
/tests/base.py
a2813c552c6c3d551bc6e9e5c9deea5c949d9492
[]
no_license
MatthewMcGonagle/TSP_PictureMaker
9aed2ddebfc8c36c5a835cd4fb3fd75a1650516c
b6df1b6e5ade27750e2974de1c46e46988fb16e9
refs/heads/master
2020-03-19T12:43:52.242516
2019-03-21T19:51:08
2019-03-21T19:51:08
136,536,415
0
0
null
null
null
null
UTF-8
Python
false
false
2,405
py
import unittest import numpy as np import sys import fake_random sys.path.append('..') import tsp_draw.base class TestAnnealerMethods(unittest.TestCase): def __init__(self, *args, **kwargs): unittest.TestCase.__init__(self, *args, **kwargs) angles = np.linspace(0, 2 * np.pi, 8)[:-1] self.v...
[ "mwmcgonagle@gmail.com" ]
mwmcgonagle@gmail.com
6ffd580688dd7af218faa5a26e83fabfce825f2a
300993f8ab336b19799ad10c7520514db6d56d2f
/aafield/aafieldapp/models.py
713013d3b46a057dd3b6beedefd197efd2d46880
[]
no_license
pratheebapalanisami/ParkReservationSystem
23ef1a42690f7697e8b804ab2ac1714128adcbd0
5bd436c1e3688b8bdcd4986135604250240c5f6e
refs/heads/master
2022-11-30T00:34:47.598881
2020-08-08T20:48:09
2020-08-08T20:48:09
286,116,956
0
0
null
null
null
null
UTF-8
Python
false
false
3,437
py
from django.contrib.auth.models import AbstractUser from django.db import models from django.utils import timezone from django.contrib.auth import get_user_model from django.urls import reverse from accounts.models import Profile from aafield import settings class Parks(models.Model): Park_Name = models.CharField(...
[ "54645809+pratheebapalanisami@users.noreply.github.com" ]
54645809+pratheebapalanisami@users.noreply.github.com
41997f3f3425416215fddea8290ac8569a86bb75
6aec91d3d881ccefd167c55417fae9bb3dd80747
/myutils.py
7ca5a4244d5204e041ea308ef2d425923a44f8e9
[]
no_license
dxcv/spread_arbitrage
8d3be4a3207e0c35eb3232e7cac9f9bd7037eba1
855638515f73d5e56852030639eff2d1f04b36aa
refs/heads/master
2020-05-22T21:42:00.371973
2017-07-22T02:19:12
2017-07-22T02:19:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,955
py
# -*- coding:utf-8 -*- import logging import sys import json import time _MaZhaoYang = 0 _YangRui = 1 _NanHuaQiHuo = 2 _Instruments = { "IC": ["IC1707", "IC1708"], "IH": ["IH1707", "IH1708"], "IF": ["IF1707", "IF1708"] } def decode(text): return text.decode('gb2312').encode('utf-8') def get_logger(logger_name,...
[ "595403043@qq.com" ]
595403043@qq.com
fcd7b5300758601302ad4cce5f20949aca28de24
292a5ad7aa1031a00ae8b0f4b7514fd3480ab209
/data/get_csv.py
dee2c25febe9c506dcf0ad20300fc39ff7e50463
[]
no_license
bevarb/Autofocus-for-SPRM
d3e52140cf5bd6e5e0a4c856fa6e0449042875cc
49ab4632b0097cd42501110da84ce2fa0e0b6285
refs/heads/master
2022-12-29T10:17:28.986442
2020-10-16T07:21:12
2020-10-16T07:21:12
268,509,896
1
0
null
null
null
null
UTF-8
Python
false
false
2,635
py
import pandas as pd import numpy as np import os def get_csv(B_root, A_root, save_root, CENTER=100): '''获得A、B文件夹图片的序列信息,找到对焦帧,存入csv文件''' A_List = os.listdir(A_root) A_List = sorted(A_List, key=lambda x: int(x.split("_")[0])) B_List = os.listdir(B_root) B_List = sorted(B_List, key=lambda x: int(x.sp...
[ "49848629+bevarb@users.noreply.github.com" ]
49848629+bevarb@users.noreply.github.com
c30096f5fdbe8afa9c1d25074d1d0eebbdc72540
c8414c48d7e2b21674be71aa2596d0df547d090a
/config.py
916379b9a47b5023b6913bb77c385c0bd4d1e18d
[]
no_license
Tyux/PRA_Detection_TF
8cd9882a42c7f02220c9812948f6df2fbd17ee4a
35157a915cca446796ba0d3971e2b162e03c10a9
refs/heads/master
2022-08-02T06:11:46.876012
2020-05-30T21:35:18
2020-05-30T21:35:18
267,481,417
0
0
null
null
null
null
UTF-8
Python
false
false
13,187
py
# -*- coding: utf-8 -*- # File: config.py import numpy as np import os import pprint import six from tensorpack.utils import logger from tensorpack.utils.gpu import get_num_gpu __all__ = ['config', 'finalize_configs'] class AttrDict(): _freezed = False """ Avoid accidental creation of new hierarchies. """...
[ "tong63377@163.com" ]
tong63377@163.com
df0b59323ca9a839dcf6b4c11f1da303ae237fac
ecd2aa3d12a5375498c88cfaf540e6e601b613b3
/Facebook/Pro105. Construct Binary Tree from Preorder and Inorder Traversal.py
a39da533bff18e1cca864459d11a600e0252ce83
[]
no_license
YoyinZyc/Leetcode_Python
abd5d90f874af5cd05dbed87f76885a1ca480173
9eb44afa4233fdedc2e5c72be0fdf54b25d1c45c
refs/heads/master
2021-09-05T17:08:31.937689
2018-01-29T21:57:44
2018-01-29T21:57:44
103,157,916
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def buildTree(self, preorder, inorder): """ :type preorder: List[int] :type inorder: List[int] :rtype: Tr...
[ "yoyinzyc@gmail.com" ]
yoyinzyc@gmail.com
184e8e9933bf4850ac425bc2697124c4c5776379
03c9cd5bd96874d6117fb17c37ac4d7450c15933
/Opencv-Python/wechat/autojump.py
540e6d96cb2fd16283ba2e25403877731481716d
[]
no_license
atiger808/opencv-tutorial
603de35e97679d6beae104298ae355edfdd9036a
2ea9bb3818284fb75f85697e36fde37b6479d1c6
refs/heads/master
2020-05-29T23:16:30.462022
2019-11-05T10:08:20
2019-11-05T10:08:20
189,425,004
0
0
null
null
null
null
UTF-8
Python
false
false
3,751
py
# _*_ coding: utf-8 _*_ # @Time : 2019/4/3 16:45 # @Author : Ole211 # @Site : # @File : autojump.py # @Software : PyCharm import cv2 import numpy as np import os import time import subprocess import math # os.chdir('d:\\img\\') press_coefficient = 1.35 def get_center_coord(img): region_lower = ...
[ "atiger0614@163.com" ]
atiger0614@163.com
3d6a8d3932e7842aed3095ee73c35260a9beb8c0
40021c7443c3b512fd77df1a77855a10c0afd6df
/src/controller/command/track.py
b9796406b68396d87a5f02e48dc2e35b43675ec0
[]
no_license
ginsm/punch
9062cc6a18352a9a6569d2cdd3383563f012bf75
be35587fffdb036f823b13e8df06d9509a348120
refs/heads/master
2021-04-10T01:39:04.296020
2020-03-24T23:59:08
2020-03-24T23:59:08
248,900,501
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
# SECTION IMPORTS - External and internal imports. # ===================================================== # External import re # Internal import view.commands.track as view import model.db as db # SECTION HANDLER - Job selection handlers. # ===================================================== def handler(command, ...
[ "matt@mgin.me" ]
matt@mgin.me
f8fd22a6064e8366f38550ad3d3bfbd6d473f4c1
0f187b981948b7bb1739c22b7b1d38f6c0fd4bb5
/venv/bin/django-admin.py
a2eb0df4316c4287a519a1d266d93dd3836ecd12
[]
no_license
marcosdefina/django-studies
439680e619e50e872497c44e99d8d29e441a5741
1156c891954a13037efff776779ca86c0924c8de
refs/heads/master
2020-05-18T21:24:08.371284
2019-05-02T22:29:54
2019-05-02T22:29:54
184,661,514
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
#!/media/marcosdefina/WindowsBackup/Users/marki/Documents/Estonia/Python/rp-portifolio/venv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "marcosdefina@gmail.com" ]
marcosdefina@gmail.com
1c732829737a797fd122d90ea40e90fd3a121ffd
3700ac98bb8f6faf5dbcf20be2f7f5270b3429b9
/server/test/helpers.py
a2da1815e88500c1751a8596d22b323a721663bb
[ "Apache-2.0" ]
permissive
NWCalvank/react-python-starter
47478df0e611a04f33d08ec64e623b3bdf9f7af1
8bee6129f425d6284aba0a9bf1ccce7b696b837c
refs/heads/master
2020-09-27T04:24:40.691221
2019-12-27T19:33:33
2019-12-27T19:33:33
226,389,820
0
0
Apache-2.0
2019-12-06T21:33:35
2019-12-06T18:47:41
Python
UTF-8
Python
false
false
282
py
from app import db from app.api.models.foo import Foo # Helper function to add a sample string to Foo def create_foo_string(foo_string): foo_table_element = Foo(string_field=foo_string) db.session.add(foo_table_element) db.session.commit() return foo_table_element
[ "noreply@github.com" ]
NWCalvank.noreply@github.com
ad09f1178489249f0bbe1ac89b8c04992d14a89e
11d0cc8470722b737ac1d83610f227ffb98ea71a
/convert/ahf2csv.py
806bfe4ea9ced908b9a5b9164efc7b63a5b04e65
[]
no_license
EdoardoCarlesi/PyRCODIO
d86e5298877f08b597f92a07aac0c9b634dbfa39
d3f84efb7aeec0032ef6bde839fe9440ee82b392
refs/heads/master
2021-04-03T04:58:26.219884
2021-03-21T12:22:19
2021-03-21T12:22:19
125,036,704
148
0
null
null
null
null
UTF-8
Python
false
false
452
py
''' Python Routines for COsmology and Data I/ (PyRCODIO) v0.2 Edoardo Carlesi 2020 ecarlesi83@gmail.com ahf2csv.py: convert (and compress) AHF halo catalogs to csv files ''' import pandas as pd import sys sys.path.insert(1, '/home/edoardo/CLUES/PyRCODIO/') import read_files as rf this_ahf = sys.argv[...
[ "gatto@nanowar.it" ]
gatto@nanowar.it
c96c01d4f6fed322dc79eed64cbca2c8795827f6
d68eec2b77e934022695f8c396c2a597aa1c36be
/REST_API_v2/Users/create_user_contact_method.py
9f5acf27bf4dd7199325b57e5ed4581d3a72fca9
[]
no_license
drummerweed/API_Python_Examples
088570dbef5a7ba6c053cdf4081430d2d7d55417
641784c53628daeceb6f6735ad0de576413c35d8
refs/heads/master
2020-04-04T21:13:43.391354
2018-08-22T17:37:53
2018-08-22T17:37:53
156,279,682
1
0
null
2018-11-05T20:37:49
2018-11-05T20:37:49
null
UTF-8
Python
false
false
2,653
py
#!/usr/bin/env python # # Copyright (c) 2016, PagerDuty, Inc. <info@pagerduty.com> # 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 retain the above copy...
[ "lucasfepp@gmail.com" ]
lucasfepp@gmail.com
dae76b5a56cfbe512236e47e5b204fddff746a73
4e382ae46cf997ea2dbdfcfa463a57d3e0e9ad97
/sols/gray_code.py
490b72b7d1576b6786b190e757dfced57e83460c
[]
no_license
hayeonk/leetcode
5136824838eb17ed2e4b7004301ba5bb1037082f
6485f8f9b5aa198e96fbb800b058d9283a28e4e2
refs/heads/master
2020-04-28T03:37:16.800519
2019-06-01T14:34:45
2019-06-01T14:34:45
174,943,756
0
1
null
null
null
null
UTF-8
Python
false
false
381
py
class Solution(object): def grayCode(self, n): def getCode(n): if n == 0: return ["0"] rest = getCode(n-1) reverse = reversed(rest) ret = [x + "0" for x in rest] + [x + "1" for x in reverse] return ret ret = getCode...
[ "31617695+hayeonk@users.noreply.github.com" ]
31617695+hayeonk@users.noreply.github.com
192d3de4d4523842cca9e342f1b2e292e06c8306
0a921dfd9e627153552b62170eba0f92a817ce5d
/tests/auger/test_configs.py
b0d656ecbe56dd70adff2abca21760be807d92de
[ "Apache-2.0" ]
permissive
mha23/a2ml
b7507729f3c54b71af8a1e4595c33563062d515e
8fbd1be7a81be5f41564debeecb61379097f6fb8
refs/heads/master
2021-01-02T21:25:59.063460
2019-12-11T10:04:48
2019-12-11T10:04:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,349
py
from .mock_rest_api import interceptor from auger.api.cloud.experiment import AugerExperimentApi EXPERIMENT = { 'data': { 'name': 'iris-1.csv-experiment', 'project_file_id': 1256, } } PROJECT_FILE = { 'data': { 'name': 'iris-1.csv', 'id': 1256, 'statistics': { ...
[ "vlad@dplrn.com" ]
vlad@dplrn.com
0668482cec5cf3ee1d9fbb3ba9466c1dc9c9b89b
3ca67ed4d6ee727023e9342aca1fb6b2b03fac04
/coremlconverter.py
dfc9311c5cbf31381724f02600610e76b09a0d08
[]
no_license
poommomo/pokemon-classifier
17712679674361a85c5c0d986110820b11adee84
7b6724123bc2936399aed811b22c12c6d8217766
refs/heads/master
2020-03-29T04:43:43.379612
2018-08-09T08:53:12
2018-08-09T08:53:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun May 13 13:35:16 2018 @author: KaranJaisingh """ # import necessary packages from keras.models import load_model import coremltools import argparse import pickle # construct the argument parser and parse the arguments ap = argparse.ArgumentParser() ap...
[ "KaranJaisingh@karan-jaisingh.lan" ]
KaranJaisingh@karan-jaisingh.lan
e1a6fea9523512dd08abfb5291de92885def9a2a
eff81639c9fb318697b475f6d076021b9187b3eb
/bruna_vasconcelos_E11.py
29a034f3bb52e70f9ddf7e5c405382f68a8137f2
[]
no_license
bruna/lab-de-programacao
85813a420f190df7de69b2e78283b9b6a5f59e62
0324827780fe4b4a2a91bff47a19a32feeae60c1
refs/heads/master
2021-06-01T05:49:51.710461
2016-06-20T02:07:12
2016-06-20T02:07:12
45,427,922
2
0
null
null
null
null
UTF-8
Python
false
false
5,005
py
import sys from math import floor class Node: def __init__(self, valor): self.__valor=valor self.__prox=None def getValor(self): return self.__valor def setValor(self,valor): self.__valor=valor def getProx(self): return self.__prox def setProx(self...
[ "brunapvasconcelos@gmail.com" ]
brunapvasconcelos@gmail.com
7fb1bbcd1838101abf13096c7d71cc1156bf7060
e3f2a0acc79f1891b93553ee6a95396edeb6fd60
/setup.py
c9c0390cc3d9d040b7b7fc777d3544fa322b0332
[ "Apache-2.0" ]
permissive
imaginal/openprocurement.search_plugins
5bd23b7e17365abba9f7f33da7a5c3263c440453
a32a5e1b54c9b02fe24fae93e2e78632f77be82a
refs/heads/master
2020-04-11T23:30:41.704868
2018-12-17T18:31:07
2018-12-17T18:31:07
162,170,079
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
from setuptools import setup, find_packages setup( name='openprocurement.search_plugins', version='0.1', # NOQA description="Plugin for OpenProcurement Search", long_description=open("README.md").read(), # Get more strings from # http://pypi.python.org/pypi?:action=list_classifiers classifi...
[ "flyonts@gmail.com" ]
flyonts@gmail.com
eeff077ecf7d9470bde1d09731515339125cc0b0
41738ae30e82facd15b3b77ace6bd1a0013f5296
/analytics/routes/login/baseroutes.py
ada3b240c27e9de4420421bdf7fc06b485e6680d
[]
no_license
sreenathp20/technicolor_backend
4c3bf5489ce4516face53699da630935a97fb21f
10dd323512ef3a8bad058a93b17e5c6efc203bab
refs/heads/master
2021-01-10T19:41:30.427869
2015-07-12T08:23:21
2015-07-12T08:23:21
38,954,648
0
0
null
null
null
null
UTF-8
Python
false
false
3,091
py
from analytics import app, login_user, login_required, logout_user, login_manager, current_user from flask import render_template, redirect, request, session, jsonify import simplejson as json, sys from analytics.lib.user.user import User from analytics.lib.user.manageuser import ManageUser from analytics.routes.login....
[ "sreenathp20@gmail.com" ]
sreenathp20@gmail.com
e71e9d4d92731adf5fc047eb7caced983c0abefb
e0ce2909a52221a0b4b6429fd6bd4f8a67826133
/draw.py
627d53957953f7e37fb4b347adf7b52cedec107e
[]
no_license
ecrystale/mks66-solids
8c7170f5f887d8b5081fa5a57985fd91694e46df
006f9e4618a342118698c74945bbf6edb61a95f8
refs/heads/master
2020-05-07T15:41:17.966936
2019-04-18T02:31:09
2019-04-18T02:31:09
180,648,426
0
0
null
null
null
null
UTF-8
Python
false
false
11,071
py
from display import * from matrix import * from gmath import * import random def scanline_convert(polygons, i, screen, zbuffer ): color=[random.randint(0,255),random.randint(0,255),random.randint(0,255)] points=polygons[i:i+3] points.sort(key=lambda x:x[1]) bot=points[0] mid=points[1] top=poin...
[ "elee19@stuy.edu" ]
elee19@stuy.edu
8f3c48e2d207660e14f0af89a3b6c1e6fa76b6dc
a6d9710e312caf4ae96b43f0290f9135bffdf8e0
/Unit 45/45.4.1_4/calcpkg/geometry/vector.py
6c6892b72e03d1f068f29d7872f2b5b90fd9723f
[]
no_license
gilbutITbook/006936
5b245cf1c6d4580eb07344bdaa254e4615109697
b5cd6a57cdb5bb3c2ad5e3c9471a79b3fa82bc5d
refs/heads/master
2023-01-29T07:35:46.360283
2023-01-18T06:20:49
2023-01-18T06:20:49
154,229,702
19
19
null
null
null
null
UTF-8
Python
false
false
52
py
def product(a, b): pass def dot(a, b): pass
[ "user@localhost" ]
user@localhost
19ebe52e3014d768bb3a0b4bde461281fb6ffc50
c04b004558beee584817c26aaf4809cb366f7fbb
/Course/Section-1/day12/2.作业.py
c45cc33e1a3d05734ee700af48c634dfd2609f76
[]
no_license
Wuzhibin05/python-course
4f3d3e39990a613d222b1e7bcb3bb1453b0541a0
50daa1405b873e9c6727598e6c752c115fe7843a
refs/heads/master
2023-07-14T07:17:19.054495
2021-08-26T01:22:13
2021-08-26T01:22:13
353,526,567
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
# 1.编写装饰器,为多个函数加上认证的功能(用户的账号密码来源于文件), # 要求登录成功一次,后续的函数都无需再输入用户名和密码 # FLAG = False # def login(func): # def inner(*args,**kwargs): # global FLAG # '''登录程序''' # if FLAG: # ret = func(*args, **kwargs) # func是被装饰的函数 # return ret # else: # username = i...
[ "wuzb@szkingdom.com" ]
wuzb@szkingdom.com
8fd914c3d126ba141d422b9c77ea8058d4bed139
ffe606c85de9009d2c15356f82daa524c343b925
/11.28.cleanup/s2rarecats_prep.py
2f94abfa78be1fcaf7c2caf0858efeb8b810ee3c
[]
no_license
jbinkleyj/story_writer
d88ff7e3360fb8afd12445d1cb237788636b3083
dc5106a35f5fbce72f8cf0801c0ad4cbc0c9f12f
refs/heads/master
2020-07-09T15:54:02.492373
2017-12-16T07:26:59
2017-12-16T07:26:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from preprocess import * from arguments import s2s2catsrare as parseParams if __name__=="__main__": args = parseParams() DS = load_data(args) torch.save(DS,args.datafile)
[ "kedzior@uw.edu" ]
kedzior@uw.edu
e28d643bbf487ab16a8d7714dc8b7719cd5d4d27
8b677a1618a656a7544befb2a49b430b9e4bc236
/spriteSizeCheck.py
c241c5b1ccb0edd62cf845d486654e1f93ecbb6d
[]
no_license
charlottehill/snapshots
bb364e878e1ea3098f10dabbc9903f1d6aaf6e92
b4d12b3ef73c24bad04c47e66936ec1a0546f515
refs/heads/master
2016-08-04T13:16:41.341537
2014-04-14T09:11:28
2014-04-14T09:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
from __future__ import print_function from collections import Counter from kelp.kelpplugin import KelpPlugin from snapshotplugin import SnapshotPlugin import os import sys import kurt class SpriteSizeCheck(SnapshotPlugin): def __init__(self): super(SpriteSizeCheck, self) self._modulename = "Sprite...
[ "tmartinez@umail.ucsb.edu" ]
tmartinez@umail.ucsb.edu
a9597573158cd06dab3973ee6e0512978f90458b
229d71da5bb9fcdc34ab9c3a4ff9f75ca7ea7a19
/bitly_app/urls.py
81c9ebb0845bfee3a27ec09d812bed36ced4f7b6
[]
no_license
Cunarefa/Convert
8fd1ba5aae46915b1cde31a682d6ddd1b83bbeef
93d366656c51affc2d17c685fcd6c93345180a49
refs/heads/master
2023-08-29T11:42:02.784981
2021-09-18T10:28:44
2021-09-18T10:28:44
407,829,331
0
0
null
2021-09-20T18:39:30
2021-09-18T10:30:09
Python
UTF-8
Python
false
false
133
py
from django.urls import path from .views import ConvertView urlpatterns = [ path('long', ConvertView.as_view(), name='long'), ]
[ "yevgen.yelik@gmail.com" ]
yevgen.yelik@gmail.com
0fe9e8dc03af0dfdeae514c6ac4eaa9dce57b024
c26b3e6df5cbe0f0d40afa675b5e468e939c3672
/test3.py
247dd9d5b65c25082aef0ded04a74865a4f651c0
[]
no_license
TianchiLiu/ModelChecking-1
27c78aa1739988f70e3bfb82fc128650e16dddd8
38372f6e9f74f30cfe508987706ebf2a5100f4bc
refs/heads/master
2021-08-09T15:38:16.103196
2017-11-12T08:33:05
2017-11-12T08:33:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
import itertools import re f=open('/home/kiroscarlet/ModelChecking/pg1.txt','r')#改成自己的文件夹 Loc1=re.findall(r"{(.+?)}",f.readline())[0].split(",") # 用正则匹配截取左右大括号中的内容,以逗号为间隔分割成列表 print(Loc1) Loc01=re.findall(r"{(.+?)}",f.readline())[0].split(",") print(Loc01) Var1=re.findall(r"{(.+?)}",f.readline())[0].split(",") print(...
[ "1277836029@qq.com" ]
1277836029@qq.com
b235b3c02e8d648817c86ed6338d36c616fdc7b1
459cbeccdd385335808d9dc4a47b6658ff58a2b3
/mysite/main/migrations/0002_auto_20210612_1356.py
7dcaeaf881cde619ed25d0b6343ea602092db8e1
[]
no_license
maribelceli347/Aplicacion
41fc66c944bfb683818be92a248de0b804675e0e
29f9750bca50d940dc17c38df1f2f36bf510f77e
refs/heads/main
2023-05-28T13:32:17.792045
2021-06-12T20:02:13
2021-06-12T20:02:13
376,374,524
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
# Generated by Django 3.2.4 on 2021-06-12 18:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.CreateModel( name='Veterinaria', fields=[ ('id',...
[ "79048421+maribelceli347@users.noreply.github.com" ]
79048421+maribelceli347@users.noreply.github.com
467cb510aa53960af2c189d8ceceb2e19665ba7a
c315e2623c0759afeb5e0390794e04b848e6df81
/fast_lemon_api.py
74c3f362d32d79a6e9623579de089e9c9d6cb668
[ "Unlicense" ]
permissive
a6502/fast_lemon_api
19b0c1f00461a697f9f4cc3ffd934f3cfe6580c2
09a5b6eec3e84d1d006f927e502a7071a28739cc
refs/heads/main
2023-03-28T11:12:51.753765
2021-03-29T23:54:31
2021-03-29T23:54:31
352,815,336
0
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
#!/usr/bin/env python3 # or run as: uvicorn fast_lemon_api:app # std python-3.9 from datetime import datetime from enum import Enum from typing import List, Optional import time import uuid # python3-pydantic from pydantic import BaseModel, PositiveFloat, PositiveInt, UUID4, ValidationError, conint, constr, validato...
[ "wieger@Dublin.a6502.net" ]
wieger@Dublin.a6502.net
7f9dd1f1f7a9135eb1ac3be360d855691bec346d
e45f1f9f3777d625c7da773f8e55589ded528711
/pic_scrapy/pic/spiders/PhotoSpider.py
bfbdf2f3503102ed8587cee37b600d0b0a2d4301
[]
no_license
631068264/learn_crawler
da973d758001b52c61aa0bb4dfc78b59a88304e4
65ac2cef7b42b0dce5fb726daa819a6ebc8ffafa
refs/heads/master
2022-11-15T13:06:55.765849
2022-10-31T07:07:31
2022-10-31T07:07:31
77,364,616
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author = 'wyx' @time = 16/10/24 15:01 @annotation = '' """ from urlparse import urljoin import scrapy from pic.items import PhotoItem class PhotoSpider(scrapy.Spider): start_urls = ["https://www.610hu.com/htm/girl.htm"] name = "photo" domain = "https://...
[ "wyx@wuyuxideMacBook-Pro.local" ]
wyx@wuyuxideMacBook-Pro.local
837eb31dcfcbcdeb39de0bda4bcad87c80626d95
993060167ec652fb3cb0c6e0c1da12ba3759ae47
/function_scheduling_distributed_framework/consumers/base_consumer.py
60e5c103607c25e878b526726379c9c16f9ad371
[ "Apache-2.0" ]
permissive
Amua/distributed_framework
f0f85fbcf813991cbc819b28a3309efd8aec320f
0be0b18f9c494788f8ae65c69863c003988c04ec
refs/heads/master
2020-07-02T07:30:01.791185
2019-08-09T08:11:55
2019-08-09T08:11:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,055
py
# -*- coding: utf-8 -*- # @Author : ydf # @Time : 2019/8/8 0008 13:11 import abc import atexit import copy import time import traceback from collections import Callable from functools import wraps import threading from threading import Lock, Thread import eventlet import gevent from pymongo.errors import PyMongoErr...
[ "909686719@qq.com" ]
909686719@qq.com
ab30ab18ba8f3c1c08c46beca037f2dfd35c0f29
df6cca824ab8c71b8c054b0c5accc24d0593d2e4
/accounts/views.py
2291198fd5f6cb2d867b0b90884894dc6da6837e
[]
no_license
emanan94/django-mostudio
ba4fda2fb4cc4af39e92b46cae92aa6fc61d32da
9178346c01df1253b61a74be01418f956c7c55c4
refs/heads/main
2023-01-11T09:33:35.165511
2020-11-13T17:59:59
2020-11-13T17:59:59
304,308,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
from django.shortcuts import render, redirect from django.urls import reverse from .models import Profile from .forms import ProfileForm, UserForm,UserCreateForm from django.contrib.auth import authenticate, login #Create your views here. def signup(request): if request.method == 'POST': signup_form = Use...
[ "youngamer_@outlook.com" ]
youngamer_@outlook.com
5fbe59973b26282635a73228a47461382edec61a
756cfeed032f7d206cdbe4409f2c052bf3e44fe1
/Tkinter/Lecture_4.py
0ce5a5c74a62fe228e5bc2c3eee2785792f67700
[]
no_license
Pyk017/Python
2e470a10f95aac8bb049edf13c6a825ceab68ea5
57fb48356921cc6766675620b32e4099ad371bc6
refs/heads/master
2021-07-05T00:16:22.365638
2020-12-27T08:25:10
2020-12-27T08:25:10
213,291,579
1
0
null
null
null
null
UTF-8
Python
false
false
453
py
from tkinter import * root = Tk() label1 = Label(root, text="Enter Your Name = ") label1.grid(row=0, column=0) # label1.pack() entry = Entry(root, width=25, borderwidth=5) entry.grid(row=0, column=1) # entry.pack() i = 0 def my_click(): global i label = Label(root, text="Hello " + entry.get()) i += 2 ...
[ "prakharkumar506978@gmail.com" ]
prakharkumar506978@gmail.com
2a5e7f5f38b91f42700324e71b0bfacd75169326
49c5c461c9805be68a318810e2ebb3381643ed59
/linkedlist/remove-loop.py
c5cee91e4abc8333b6e0eceee46a40a1b1d26633
[]
no_license
pkdism/must-do-coding
10a3ef756d24fec451d8ed09bfc22335635a6b13
ccff354eebd9b2434085528922eb3bc13715530e
refs/heads/master
2020-09-11T00:54:08.078087
2019-11-27T11:15:53
2019-11-27T11:15:53
221,886,105
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
def removeTheLoop(head): h = set() prev = None it = head while it is not None: if it in h: prev.next = None break h.add(it) prev = it it = it.next
[ "pawan.dwivedi94@gmail.com" ]
pawan.dwivedi94@gmail.com
7cff65e982c2b32cab03f10e594c8aaa54be7c8a
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/634.find-the-derangement-of-an-array/634.find-the-derangement-of-an-array_108022165.py
4478461c59f6bddeee62b60691de01ec47975b2e
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
class Solution(object): def findDerangement(self, n): """ :type n: int :rtype: int """ if n == 1: return 0 if n == 2: return 1 OPT = [0] * (n+1) OPT[0] = 1 OPT[1] = 0 OPT[2] = 1 OPT[3] = 2 for i i...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
4f05de413d1b0bc99e8d424f2680575e2250630a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnoilier.py
e97e8bf74b3364175a1104be69b64e8c77151a39
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
449
py
ii = [('UnitAI.py', 4), ('LeakWTI3.py', 2), ('SeniNSP.py', 1), ('LyelCPG.py', 1), ('GilmCRS.py', 1), ('AinsWRR.py', 2), ('NewmJLP.py', 1), ('CoopJBT.py', 1), ('BachARE.py', 1), ('MereHHB3.py', 2), ('WilkJMC.py', 2), ('WestJIT.py', 1), ('LyttELD3.py', 1), ('SomeMMH.py', 1), ('HaliTBC.py', 1), ('AinsWRR2.py', 1), ('ClarG...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
ebb6925a2298d6d5c71e53537d3d15ee1d015735
ff2e084d1bb347d16955fbdaa8e9f9d95bcb03e7
/onepanel/core/api/models/token_wrapper.py
4f86e905f13a1cff531909e013446e409db807b5
[]
no_license
casualuser/python-sdk
7db8969e93693c27fb7f7349cd8353ede54d2ed4
9d35ab476a9ba701a09d305bf5ae5af4ba9ed5a6
refs/heads/master
2022-09-15T15:18:39.672855
2020-05-25T22:15:22
2020-05-25T22:15:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,209
py
# coding: utf-8 """ Onepanel Core Onepanel Core project API # noqa: E501 The version of the OpenAPI document: 1.0.0-beta1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from onepanel.core.api.configuration import Configuration class TokenWrapp...
[ "r@onepanel.io" ]
r@onepanel.io
0cefd1e9333d717207e4845c00ae84fb4478d05e
08a68e32dc80f99a37a30ddbbf943337546cc3d5
/.history/count/views_20200419210055.py
c0e0fbfb2b96a0104e0cd52bbfbce5cc12136149
[]
no_license
Space20001/word-count-project
dff1b4b44d2f7230070eef0d95dd968b655d92f7
795b5e8ad5c59109e96bf7a8e9192efaefa7770e
refs/heads/master
2022-04-20T17:54:05.511449
2020-04-20T15:25:46
2020-04-20T15:25:46
257,327,368
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
from django.shortcuts import render # Create your views here. def home(request): return render(request, 'count/home.html', {}) def counted(request): fulltext = request.GET['fulltext'] wordlist = fulltext.split() for word in wordlist: worddictionary for word in wordlist: i...
[ "steve.h@blueyonder.com" ]
steve.h@blueyonder.com
f7a595ddeaf0589237edbce2280478c40f9f06a1
475a4cfa6cf4d4e6d05a6497a4012ae98e171bb9
/organization/utils.py
647b0150c76f692479decd36a4ca5f17fdf05ea3
[ "BSD-3-Clause" ]
permissive
fredpalmer/patt3rns
926516c01ed69b2a48406d82578f670554fd8b8c
3faac2b583d45c8bf9cc8fe9ad5b5009ee7ed538
refs/heads/develop
2021-01-01T16:49:23.990749
2015-09-28T16:05:26
2015-09-28T16:05:26
26,644,658
0
0
null
2015-09-28T16:05:26
2014-11-14T15:31:58
Python
UTF-8
Python
false
false
156
py
""" Utility helpers for organization module """ # coding=utf-8 from __future__ import unicode_literals import logging logger = logging.getLogger(__name__)
[ "fred.palmer@gmail.com" ]
fred.palmer@gmail.com
478dcea69606ef521a881ced468c30ce6dbc92fc
228d7661748502381e8a075c7604f7e289069499
/store_img.py
d7916e1ea051d7a8364667e2cf0325bcbfdda643
[]
no_license
pritul2/Face-Recognition
ba18f04083db86815bd66ced6c811e8141569dd3
5958e73356e31c6262b65b1ed44eda64f716cc10
refs/heads/master
2021-05-21T15:58:03.147498
2020-04-15T15:13:18
2020-04-15T15:13:18
252,706,264
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
from keras import backend as K import cv2 import tensorflow as tf from keras.models import load_model from mtcnn.mtcnn import MTCNN import compare_file def detect(img): img = cv2.cvtColor(img,cv2.COLOR_BGR2RGB) detector = MTCNN() results = detector.detect_faces(img) if len(results) == 0 : return if results[0]['...
[ "pritul.dave@gmail.com" ]
pritul.dave@gmail.com
9a5c036ea6011ce1a883d71cf8ba4d5d725df6fa
16bb58cd85a0e46b60d43b52bc51149f9fa6e6d4
/events.py
1c51f89f12a6571683ecc3c5d15baa162d606d81
[]
no_license
sunnad99/Fantasy-Ludo-Game
f86e89103b14bf9915de3a0d6d91ff62164484fe
8b0b29d92a704aca36240011fa3629ca2c5c6e1e
refs/heads/master
2023-06-15T17:23:22.263237
2021-07-08T11:52:17
2021-07-08T11:52:17
287,137,648
0
0
null
null
null
null
UTF-8
Python
false
false
16,855
py
import pygame import time import sys class Events: def __init__(self, game): self.game = game self.settings = self.game.settings def check_mouse_main_menu_event(self, event_type): if event_type == pygame.MOUSEMOTION and self.game.menu.is_main_menu: self.mou...
[ "noreply@github.com" ]
sunnad99.noreply@github.com
81fe488a948e2e3eda7a34ae6ffb201f9dc4fae0
f4552a1e841b54f5f9ed414bc1f2cae1ab6f6adc
/quickstart/quickstart/schema.py
7c660ac172335215f20504ec878a947dd5d33fee
[ "MIT" ]
permissive
hirokgreen/django-graphql-auth
9b2a3d09691d0267a48a6cbefe7e49596be823fc
1d2c745ca4ff189eafaeaf310088797243ae88cd
refs/heads/master
2021-01-04T08:16:53.447706
2020-02-12T13:44:53
2020-02-12T13:44:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
# quickstart.schema.py import graphene from graphql_auth.schema import UserQuery from graphql_auth import mutations class AuthMutation(graphene.ObjectType): register = mutations.Register.Field() verify_account = mutations.VerifyAccount.Field() resend_activation_email = mutations.ResendActivationEmail.Fi...
[ "pedrobermoreira@gmail.com" ]
pedrobermoreira@gmail.com
b54170de518ce19a097475f091966db1fd82f864
fd8e46371be27b51ef345dd8ee5a38cdcd2dfe49
/tests/test_simplad_monad.py
adec7766ec627ac2755c10c21ca1ed4064860c04
[ "MIT" ]
permissive
Cogmob/simplads
1c029ba5474625cd20db46c5e28c194c97e0089d
8731c4a02273109187cfe601058ce797e32ba1ae
refs/heads/master
2020-12-28T04:32:56.982748
2016-11-04T17:36:51
2016-11-04T17:36:51
68,810,864
0
0
null
null
null
null
UTF-8
Python
false
false
10,231
py
from simplads.simplad_monad.simplad_base_helper import Bound from compare import expect from fn import F from functools import partial from nose.plugins.attrib import attr from simplads.simplad_monad.namedtuples.bind_args import BindArgs from simplads.simplad_monad.simplad_base_helper import WrappedDelta, Bound from s...
[ "luke.avery@live.co.uk" ]
luke.avery@live.co.uk
24f91adc550d123a98239a57ae27ac6345f382ab
cd44f9f6d97e54886352353da9c45d9e6c291928
/newspaper/admin.py
d347faa1a852e2b8fbe3b1fd52357e2b88adaebb
[]
no_license
MaksimFelchuck/Felnews
c480f045dc21d6f40e10d233a011fb05522f53f9
a3411f10230b7cecdac4a49cb7e83c03d1c89444
refs/heads/master
2023-02-17T08:13:21.413801
2021-01-16T14:55:03
2021-01-16T14:55:03
330,102,149
1
0
null
null
null
null
UTF-8
Python
false
false
171
py
from django.contrib import admin from newspaper.models import * # Register your models here. @admin.register(News, Image) class PersonAdmin(admin.ModelAdmin): pass
[ "felchuck@yandex.ru" ]
felchuck@yandex.ru
0c15c99b6035a3a37d9d9d85d732faa65f2a1760
a34a03ab7b79e772b62f344f6b3a52a784040a96
/bin/kanshin
dbe71370e51dcc616f8ca4276152a61796e9a4e0
[ "MIT" ]
permissive
basuke/kanshin-export
a413c1bb820cbdb861fb280dd66ff384075dc172
0235ce7ab570a94328524e63061830b0aa3ace74
refs/heads/master
2020-05-21T18:04:07.135221
2016-10-31T15:19:58
2016-10-31T15:19:58
64,376,495
0
0
null
null
null
null
UTF-8
Python
false
false
882
#!/usr/bin/env python import os.path import sys sys.path.insert(0, os.path.abspath('.')) import click from click import echo import kanshin.data class NativeParamType(click.ParamType): name = 'native' NATIVE = NativeParamType() # ---------------------------------------------------------- @click.group() def cl...
[ "basuke@kinoma.com" ]
basuke@kinoma.com
faa46e3e7481d5bbafc9aef63a7b6099bf197c4b
cd5cbfb88794c10490e70ca5a06915cd351db6f9
/train.py
471dcbaf815d14ef26eaa181965336897abf4ff8
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
TrendingTechnology/conditional-style-transfer
813d1b57a804dc621da30e6bb3a5e82875eb9354
fcdc4716f98e333ef19f9d45be880d0837151cd2
refs/heads/master
2022-12-18T10:57:00.258679
2020-09-29T09:20:55
2020-09-29T09:20:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,121
py
import time from options.train_options import TrainOptions from data import CreateDataLoader, CreateStyleDataLoader from models import create_model from util.visualizer import Visualizer import torch if __name__ == '__main__': opt = TrainOptions().parse() data_loader = CreateDataLoader(opt) dataset = data_...
[ "vojtech@nnaisense.com" ]
vojtech@nnaisense.com
f8e650b4108f33a5a304944caf20ee25f045cba5
8747375a4c6442a5bc317baad36ba41f5de4512e
/personal/migrations/0007_auto_20150226_0351.py
ca2beb584b49a1f858048462ec0f5e23cf67c068
[]
no_license
raultr/perBackend
40f73199cb722133d79d76b4389d4f613764560b
f22542f79f293de444e29ac7183a0ee9c5b86889
refs/heads/master
2022-12-06T10:17:29.400434
2017-02-14T03:23:13
2017-02-14T03:23:13
30,055,264
0
0
null
2022-11-22T00:26:36
2015-01-30T03:57:03
JavaScript
UTF-8
Python
false
false
888
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('personal', '0006_personal_imagen'), ] operations = [ migrations.AlterField( model_name='personal', n...
[ "raultr@gmail.com" ]
raultr@gmail.com
5193b894f4cc698c3ac930f9f72b1f317437c348
b1fe8054a20170b0484411eb2eae19ba820f2f77
/nolsatu_courses/api/serializers.py
a1f903884ff09e5778efa897f3fccd91e3dfd70c
[]
no_license
nolsatuid/courses
2d9be4ffac2651d63b8bb981b3280915109b6996
df335cd7e8f3d08a44c4d0ce06f4989a89215189
refs/heads/master
2022-11-23T03:43:11.145131
2021-02-24T06:12:11
2021-02-24T06:12:11
145,433,826
0
1
null
2022-11-22T02:42:32
2018-08-20T15:12:03
JavaScript
UTF-8
Python
false
false
350
py
from rest_framework import serializers class MessageSuccesSerializer(serializers.Serializer): message = serializers.CharField() class ErrorMessageSerializer(serializers.Serializer): detail = serializers.CharField() error_message = serializers.CharField() message = serializers.CharField() error_c...
[ "irfan.pule2@gmail.com" ]
irfan.pule2@gmail.com
257a852010c6ac198207acb56d1e5dcc5f9a136c
ba31ca99cd83d263952a3ab949cec21bec9831dd
/CollectionsOverview/tuple&namedtuple/tuple&namedtuple.py
22667d869d07c6380683598637a5d390a90043f2
[]
no_license
YizhuZhan/python-study
dd4f492c4a5b2b1bebcbd463380c57c1f6594a69
49bed4935e6d4bd1bdfd5f7159cc0e1c783e5764
refs/heads/master
2020-03-29T04:54:32.850829
2018-10-23T03:39:33
2018-10-23T03:39:33
149,554,810
0
0
null
null
null
null
UTF-8
Python
false
false
1,972
py
# -*-coding=utf-8 -*- __author__ = 'Ivana' from collections import namedtuple # 抽象基类 interface # from collections.abc import * from collections import namedtuple user_tuple = ('Ivana', 27, 167) name, age, height = user_tuple print(name, age, height) name, *others = user_tuple print(name, others) user_info_dict = ...
[ "zhyzh910914@126.com" ]
zhyzh910914@126.com
f679cfe49a5a9682024f0cc2f559fdb8e4f7a420
d76f864ec1ddc0ad40461b2c7283caac113d1a94
/borrowers/manage.py
7dc3700feea2035b1da3ec350ff7d0faee9ed167
[]
no_license
ecarlos09/roselyn-elwin-library-2
13b0b60fecc8bd6722b70f775b62648a0dc8753a
3e64c298aa42827cf0ba7b6d2a20884efb19e405
refs/heads/main
2023-04-19T21:38:04.061450
2021-05-09T11:31:37
2021-05-09T11:31:37
365,148,235
0
1
null
2021-05-09T11:09:15
2021-05-07T07:18:57
Python
UTF-8
Python
false
false
665
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', 'borrowers.settings') try: from django.core.management import execute_from_command_line except Im...
[ "elwin.carlos09@gmail.com" ]
elwin.carlos09@gmail.com
058eed73a68232a87c8199303860ed5deb0c7b42
08093753140a6a32e37799e45021fe7905f72b2a
/ib-all-factors.py
39e9274a22e341856b6dc0dc0c4141f44d9853aa
[]
no_license
ShivendraAgrawal/coding_2016
6aa503b4b3ffbe14aca086e64661f608b136832f
2a973860acfdbcec55dd180aa4a08384d97a78d7
refs/heads/master
2020-05-22T09:17:42.641422
2016-08-01T10:56:08
2016-08-01T10:56:08
49,042,801
0
1
null
null
null
null
UTF-8
Python
false
false
623
py
class Solution: # @param A : integer # @return a list of integers def allFactors(self, A): result = [] stop = int((A**(0.5)) // 1) + 1 print(stop) for i in range(1,stop): if A%i == 0: result.append(i) result.append(A//i) res...
[ "shivendra.agrawal@gmail.com" ]
shivendra.agrawal@gmail.com
9d11cd4b5864d8bfb62d272e97077989d61f7c84
6f73053e9c5a8bb40f34dd12a9a000ad3ca84f1f
/exchange/core/entities/__init__.py
ea1a17b054ed4a7f887d52c46eed80386fa3aeab
[]
no_license
Bizilizi/python-crypto-exchange
9610857580b5c0239a9cbd778246c65e693a8d31
9eef1641e8cc04a7b3922447b05c04e37268187b
refs/heads/master
2022-12-01T14:28:28.819215
2020-08-14T06:26:37
2020-08-14T06:26:37
287,306,992
1
0
null
null
null
null
UTF-8
Python
false
false
318
py
from .account import Account from .balance import ( BalanceRecord, PairBalance, ) from .fee import Fee from .order_book import Order, OrderBook from .symbol_pair import SymbolPair __all__ = [ "Account", "BalanceRecord", "PairBalance", "Fee", "Order", "OrderBook", "SymbolPair", ]
[ "ewriji@airlab.team" ]
ewriji@airlab.team
3f1d716a0e6f5b1bb216b80ae844859e1cb0e536
31072bce3e3279f831dea880873adce58c84fdc4
/blog/urls.py
c678fd4a28abd9883ddbbc078f6f8dd0ffa91bca
[]
no_license
100sarthak100/Python_Django_Blog
00eeb475602d8beee79b9b7fc70a8b42e39becfb
842a0b5b91200c61119f3ee16ced3bd61cf1b66b
refs/heads/master
2022-12-05T04:38:41.300348
2019-12-24T04:01:44
2019-12-24T04:01:44
228,986,653
1
0
null
2022-11-22T04:55:08
2019-12-19T06:06:25
JavaScript
UTF-8
Python
false
false
1,085
py
from django.urls import path,include from .views import ( PostListView, PostDetailView, PostCreateView, PostUpdateView, PostDeleteView, UserPostListView, ) from . import views urlpatterns = [ #path('api/blog/', include('blog.api.urls'), name='blog-api'), path('comment/<int:pk>/approve/'...
[ "sarthaknaithani127@gmail.com" ]
sarthaknaithani127@gmail.com
ad43c4e662b812eeb2e0f193cfd48753329f760c
456345882451054ec5c0841886746f0dfd858094
/ProblemSet2/PS2-3.py
21f963d00c0906b6ae3b6fdbb1279099353743d5
[]
no_license
makthrow/6.00x
faf5241008b1b57760a2e3411bf7fe637488a8fd
7480be3634f5442c05bc9c838ab90ca80cd57ecc
refs/heads/master
2021-01-10T21:49:31.302625
2013-05-21T18:04:14
2013-05-21T18:04:14
10,201,987
1
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
""" Monthly interest rate = (Annual interest rate) / 12 Monthly payment lower bound = Balance / 12 Monthly payment upper bound = (Balance x (1 + Monthly interest rate)^12) / 12 """ #Test Case 1: balance = 320000 annualInterestRate = 0.2 # Lowest Payment: 29157.09 monthlyInterestRate = annualInterestRate / 12 lowerBou...
[ "alanjaw@gmail.com" ]
alanjaw@gmail.com
c7256ce38afd60cd7ed3c1b4dd80ff0d00783c55
65e3c1f2911de516bd89e68ba1da5a73bd70d16c
/Matplotlib/pyplot_tutorial_4.py
df09e2ac45af7bf54d3704d0aaaccd65242b4596
[]
no_license
PiotrKrolak/Python
174a78e3aab08d6c77386a26b89d817018b82ef5
79589e8919049f35fe33ad93f0293eff8000b02d
refs/heads/master
2020-04-04T08:03:02.476313
2019-04-19T18:02:31
2019-04-19T18:02:31
155,769,402
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# # https://matplotlib.org/tutorials/introductory/pyplot.html#sphx-glr-tutorials-introductory-pyplot-py import matplotlib.pyplot as plt import numpy as np def f(t): return np.exp(-t) * np.cos(2*np.pi*t) t1 = np.arange(0.0, 5.0, 0.1) t2 = np.arange(0.0, 5.0, 0.02) plt.figure(1) plt.subplot(211) plt.plot(t1, f(t1...
[ "krolak.piotr.lca@gmail.com" ]
krolak.piotr.lca@gmail.com
9460ed333c68286b1b8586ae62dfef6f5a885477
c51346bab049a960d76f9e2e243523840bf5bd7a
/driver_testsuite.py
406a7e5bec66ecc570edc64504cdcee78201bbc4
[]
no_license
DaFaYo/8-puzzle
9d90fa8f23d49f718411280d4a8a4a0fd2d360d9
8a2a69e00ee9ea5d705cf8427114d1c8d62f276d
refs/heads/master
2021-07-07T05:51:12.230212
2017-10-04T10:47:49
2017-10-04T10:47:49
105,752,126
0
0
null
null
null
null
UTF-8
Python
false
false
7,199
py
""" A simple testing suite for 8-puzzle, 15-puzzle, 24-puzzle, etc. """ import poc_simpletest import time total_time = 0.0 def timeTest(testName, timeElapsed): global total_time total_time += timeElapsed return "%s. Time elapsed: %.3f s." % (testName, timeElapsed) def run_tes...
[ "rosahoetmer@MacBook-Pro-van-Rosa.local" ]
rosahoetmer@MacBook-Pro-van-Rosa.local
ef27bf70b07265681e123092f152efdfa83c3506
91c3eed3612a651d6ba6ab0d2a45c960abec5014
/SchubbeServer/submodules/smokeSensor.py
44e2be4f08b63f7bc287bd7bfad977e244d3a11d
[]
no_license
Janessus/SchubbeServer
ee0fb2e5118d4ce59937a16d067ba2df0ccc9fb3
27bc785995a0bdb502ecafbd827f7cb455f35aeb
refs/heads/master
2021-01-02T06:16:40.024713
2020-06-23T10:20:01
2020-06-23T10:20:01
239,526,006
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
import time import board import busio import adafruit_ads1x15.ads1115 as ADS from adafruit_ads1x15.analog_in import AnalogIn # import RPi.GPIO as gpio def init(): # Create the I2C bus i2c = busio.I2C(board.SCL, board.SDA) # Create the ADC object using the I2C bus ads = ADS.ADS1115(i2c) # you can...
[ "janesheuberger@web.de" ]
janesheuberger@web.de
5a8809be90a32d25e83f3c8153b214a58ded97ae
1944daa9a22b689fcdb7315a11aae4fc0b32a398
/ctc/client.py
e6ddb1da72351cc7608dba4b30f34a36702483a0
[]
no_license
fireae/OCR-methods-with-ctc-attention-and-transformer-
1a90e04a4b879bda292dd553de53d27aa288d0f2
15dfd4cc23415533ddb76c29ec0c5d2f22f3646e
refs/heads/master
2022-12-05T09:36:38.557132
2020-06-29T12:35:26
2020-06-29T12:35:26
299,661,567
1
0
null
2020-09-29T15:37:49
2020-09-29T15:37:48
null
UTF-8
Python
false
false
3,943
py
# -*- coding: utf-8 -*- import sys, cv2 import requests import urllib import json import time import os import glob import re import base64 import numpy ft_path = '/data/notebooks/yuandaxing1/ft_lib/' sys.path.append(ft_path) import ft2 batch_size = 1 class SHOCR(object): def __init__(self, server="gpu3ss.jx.shbt.q...
[ "shaunzhuyw@sina.com" ]
shaunzhuyw@sina.com
01c6727bbb55b58aaaf00926f80a814bb05f0768
b854e106dbde2f83cbf07918b740bc21b5a37d16
/SVR/main.py
6adbba966a857b375687a72db6a0f364bd0f2518
[]
no_license
hubertmucha/Machine
772f4e37510dfda0b661ad41f56a1d0dfefd706b
5240576af196c740dbd97ec70bac49fb49759d65
refs/heads/master
2022-04-11T15:35:47.408963
2020-04-11T11:10:41
2020-04-11T11:10:41
254,343,294
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt #importing the data set dataset = pd.read_csv('Position_Salaries.csv') X = dataset.iloc[:,1:2].values #matrix y = dataset.iloc[:,2].values #vector #scaling data from sklearn.preprocessing import StandardScaler sc_X = StandardScaler() sc_y = Sta...
[ "58261346+hubertmucha@users.noreply.github.com" ]
58261346+hubertmucha@users.noreply.github.com
090da0f152d71f00b414a43dc812e92cbe6ee8da
4477b53f4cc0a5ac444a424a4b975406eccc50c0
/APproject/tests/test_reservation.py
a83d39b09d600365b3037b342e0acafbd6af5ed2
[]
no_license
V-Saikus/APlabs
26330fd32ff34e6f39da7e560d17c8e59ddfbd54
af08b0869c5324b958f8ad5cb829a3c458c0c0b6
refs/heads/main
2023-02-04T07:22:51.499155
2020-12-28T10:19:15
2020-12-28T10:19:15
309,087,299
0
0
null
2020-12-28T10:19:16
2020-11-01T12:07:34
Python
UTF-8
Python
false
false
4,316
py
from tests.test_audience import * import base64 class MyThirdTest(TestCase): def create_app(self): # app = Flask(__name__) app.config['TESTING'] = True return app def setUp(self): db.session.commit() db.create_all() def tearDown(self): db.session.commit() ...
[ "kiltik12@gmail.com" ]
kiltik12@gmail.com
28adf6066f1298f7c1751bea4082fea4e3ed1570
f44a5803dbfa854de26d354f9e8db0f808d304f8
/tp3.py
651e553182f15955f5f51b48d2816b23e38ea3d9
[]
no_license
MartinA731/Covid-Simulation
5100b7375293271487eca955469e3d8baeddcca0
58baf2877f76b99281c68610884c2fb24b7cb16d
refs/heads/main
2023-02-10T19:40:37.084687
2020-12-26T23:26:18
2020-12-26T23:26:18
324,649,486
0
0
null
null
null
null
UTF-8
Python
false
false
11,655
py
import pandas as pd from cmu_112_graphics import * from tkinter import * import states import random def appStarted(app): app.countyCalculated = False app.firstStep = True app.charsCalculated = False app.pos = [] app.R = 4 app.showVisualization = False app.correctInput = True ...
[ "noreply@github.com" ]
MartinA731.noreply@github.com
287cfa5fca38192f022c1fdc9fd06ba73ef730a3
162e936cdbc362a18fa16e1d9579e8937671a13c
/dataMerge.py
12b1b9bd95932866e6d1543e81fd4ff4e94f336c
[]
no_license
samanwayadas-creator/RNNnetworkRepo
6b8c2ec2b3355c1fd52af1c79f5aeab3f31856f3
459bb79c41789030d989715ba1efd5ff7040cd59
refs/heads/main
2023-04-30T09:53:50.283073
2021-05-12T10:41:14
2021-05-12T10:41:14
366,680,535
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
import glob as glob import os import numpy as np from matplotlib import pyplot as plt # from sklearn.gaussian_process import GaussianProcessRegressor # from sklearn.gaussian_process.kernels import RBF, WhiteKernel, ConstantKernel as C np.random.seed(1) import pdb import sys import _pickle as pickle if '/scratch/wz1219/...
[ "75118243+samanwayadas-creator@users.noreply.github.com" ]
75118243+samanwayadas-creator@users.noreply.github.com
fa870428c18812b9d152127aa4df6cc4092bdbff
e967290f67437c0afcbb4597e9ba6020761f2a45
/github.com/ceph/ceph-deploy/ceph_deploy/util/wrappers.py
4bff77b5657b6ea0ac484359fb93d3a804362451
[ "MIT" ]
permissive
mp-rheinrich/mp-fs-sandbox
77bf40a27a0d6c2b38cbc7562023a92fca8751c0
35c38ac9d4d7ad941facfd24ab0a068630c57bdf
refs/heads/master
2020-05-31T11:13:13.474102
2013-08-21T12:59:11
2013-08-21T12:59:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
""" In a lot of places we need to make system calls, mainly through subprocess. Here we define them and reuse them with the added functionality of getting logging and remote execution. This allows us to only remote-execute the actual calls, not whole functions. """ from ceph_deploy.util.decorators import remote_compil...
[ "roman.heinrich@gmail.com" ]
roman.heinrich@gmail.com
73ad191df8f81ff1d0c4174bf2af5a3353083aa8
5068fd40502a09f3ba7d34de7e60b0d1e48a5f9e
/amazon.py
0485295f776964f48e1696b85ec401125bbae1fc
[]
no_license
ishvaram/Python-connectors
3fbb9246b443d4fc7bdc53256f5f8f7ab8d34f86
66079d1d0b80a06fe20beda9b9a475c07be4cf88
refs/heads/master
2021-01-18T23:59:47.447494
2017-11-27T07:24:40
2017-11-27T07:24:40
47,703,004
4
1
null
null
null
null
UTF-8
Python
false
false
3,646
py
import sys import requests import urllib2 import itertools from bs4 import BeautifulSoup pageNumber = 1 max_number = 133 opener = urllib2.build_opener() opener.addheaders = [('User-agent', 'Mozilla/5.0')] for number in range(pageNumber, max_number + pageNumber): url = opener.open("http://www.amazon.com/Apple-iPhone-16...
[ "jehovaram@gmail.com" ]
jehovaram@gmail.com
59ab3b8c00e340f686e72893e1533b2c4bc80c26
14ec9fc9aee69d54701168c069df4fe46a27b811
/makeDigikeyBOM.py
67fa76a4e374de9b7f2442ed9f00517b1d4886b5
[]
no_license
BitKnitting/MakeDigikeyBOM
1af6e79b9c9bb86590425ec06bbacc63fa2cbb60
ef12a92dec3abbd86571b40d6ea7ea72fa6e60b1
refs/heads/master
2021-01-13T00:59:15.063713
2017-02-20T18:30:42
2017-02-20T18:30:42
53,728,672
10
0
null
null
null
null
UTF-8
Python
false
false
841
py
# # The main entry point to making a digikey Bom CSV file from the output of bom2csv # as discussed in the bitknitting blog post: https://bitknitting.wordpress.com/2016/03/05/from-kicad-to-digikey-generating-a-bom-based-on-esteem-overview/ # import logging logger = logging.getLogger(__name__) from replaceJellyBeanParts...
[ "farmerrobbie@freshsalad.today" ]
farmerrobbie@freshsalad.today
9763acf2c3ee9ef17482c7d31f82767ad9733da0
415de2699e479b962579d41b2161efb07caabfe5
/adrien/browser/egc_topic_browser.py
65512384a96fb2ad4eeb1d75022aaba1149ca19e
[]
no_license
AdrienGuille/EGC-Cup-2016
15c64f4095655583bf0ef8fd18cb555cbda640bc
198f7c8c3b5a2a788004e3359bbdbcda4acdb9c4
refs/heads/master
2021-01-02T23:03:00.830428
2015-10-25T09:45:53
2015-10-25T09:45:54
38,754,269
0
1
null
null
null
null
UTF-8
Python
false
false
11,419
py
# coding: utf-8 from nlp.topic_model import LatentDirichletAllocation, NonNegativeMatrixFactorization from structure.corpus import Corpus from structure.author_topic_graph import AuthorTopicGraph import numpy as np from scipy import stats as st from flask import Flask, render_template import utils from flask.ext.frozen...
[ "adrien.guille@gmail.com" ]
adrien.guille@gmail.com
5890843886f71a5b8037a0e84989012f7b2a4c32
61527c79c6f6752ae926bb82b38d23106a77ba91
/src/data/py.py
6fb9ee7b9b37f41a8d835b3d0c962e94e24845b6
[]
no_license
MetaNovitia/DataPortal
0bd884e4ecdbf7e6bc216eff237217621389a8a6
56bbf5cbe0f8e7c4149a6ff40962d2d4b3cfc87f
refs/heads/master
2023-01-24T16:07:12.012234
2020-02-12T22:08:07
2020-02-12T22:08:07
197,293,378
1
1
null
2023-01-04T04:38:28
2019-07-17T01:37:53
JavaScript
UTF-8
Python
false
false
537
py
import json f=open("ns.json",'w') d = {"Basin":[{},{}],"Region":[{},{}],"All":[{},{}]} for i in range (1,406): if i not in d["Basin"][0]: d["Basin"][0][i] = [] d["Basin"][0][i].append(str(i)) d["Basin"][1][i] = str(i) if i//40 not in d["Region"][0]: d["Region"][0][i//40] = [] d["Reg...
[ "mnovitia@uci.edu" ]
mnovitia@uci.edu
2d15ec2b8d64cbb34b07779dbf0de9ce79ece52e
d3f9b18dccba61c88aab4e1d1d73dc96c1b87094
/Python/CodingDojo_Python/Django/log_reg_projs/Main3/MAIN/MAIN/wsgi.py
c705725265194d75f294281d91cd40cec3a68ba7
[]
no_license
sambragge/DojoAssignments
fc13cbccb79a71427f09e4f960ba6a664e8be408
6de385bc6b0bb9c0ae70c5750c9044a0668a17c9
refs/heads/master
2021-06-21T05:21:10.068026
2017-05-07T18:32:47
2017-05-07T18:32:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
""" WSGI config for MAIN project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTING...
[ "sam@Samuels-MacBook-Pro.local" ]
sam@Samuels-MacBook-Pro.local
8143df4cf84b31a4228183b1bc7cc7da429e74d9
f01c1f5a6f3a9377bc83be0e8cfe29ac59272378
/cmput496/assignment3/gtp_connection.py
28453102f55576df1d63875016492d0412efaefa
[]
no_license
boweiww/Projects
528d01205565ebb7f0c84f28d840eecf4e329274
5e0375a17fc97f623557ca6a2b1d20ebd360664f
refs/heads/master
2021-10-24T09:50:20.539585
2019-03-24T22:34:26
2019-03-24T22:34:26
113,407,661
0
0
null
null
null
null
UTF-8
Python
false
false
15,139
py
""" gtp_connection.py Module for playing games of Go using GoTextProtocol Parts of this code were originally based on the gtp module in the Deep-Go project by Isaac Henrion and Amos Storkey at the University of Edinburgh. """ import traceback from sys import stdin, stdout, stderr from board_util import GoBoardUtil, ...
[ "boweiww@gmail.com" ]
boweiww@gmail.com
64e17a5ea91aa627a5e99f11abecc085abf95e83
e68cdc27c454f9af90354c9e3a45160453b6812c
/Scrapper.py
71ecb49743d406c0bf6a9d859fec030ee89014a0
[]
no_license
dirttech/UtilityScrapper
73a240dd7154059794d63bbddbdf12dc778946ea
d9c408e3dabf94f977baeaaefdbfa39c8e53470c
refs/heads/master
2021-01-01T05:37:25.529585
2014-06-03T14:43:21
2014-06-03T14:43:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,161
py
__author__ = 'inderpal' import urllib2 from bs4 import BeautifulSoup import mechanize import cookielib import json import datetime import requests import sys now = datetime.datetime.now() day = now.day month = now.month year = now.year Name = "" City = "" LoadSanctioned = "" LoadType = "" PlaceType = "" LoadConnecte...
[ "Inderpals@iiitd.ac.in" ]
Inderpals@iiitd.ac.in
876a38600caafb0020074dfb9d8bcc1fcd87330a
e2c2920d197e51201b0aa4127afe4a701d2f8722
/lcy8047/HackCTF/Poet/ex.py
d33a857d62d8841678fffb993c13969b3491edde
[]
no_license
JinukHong/CTF
d564c7db194e165b37c1bc9f51fc1ffba9af1bb5
a8765bd3b8028aeaccc0435d13ee1c2be94f8e41
refs/heads/master
2023-07-19T15:40:48.569456
2021-09-17T14:51:55
2021-09-17T14:51:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
from pwn import * ''' Arch: amd64-64-little RELRO: Partial RELRO Stack: No canary found NX: NX enabled PIE: No PIE (0x400000) ''' r = remote("ctf.j0n9hyun.xyz", 3012) # poet, author score가 전역변수로 설정되어 있었다. # poet과 author 모두 gets로 받아 bof취약점이 있었고 # author는 64byte만큼 할당 되어있었고 # 바로 뒤에 score가 있어서 조건에 따...
[ "lcy8047@gmail.com" ]
lcy8047@gmail.com
70972eb1ec404daa58b302a2aba95cc9f7fb235c
2449d8ca3bb5dd377d7de2058398352405c86aaf
/hw3/2a_testCNN.py
ad62662fc36f89bc85c641c64d4d7070c3787768
[]
no_license
chenchc/ML2016
f4e6f5c6d8a089771bac5b5f49ef2d11c4b839c7
c04f213fb42b99c2de67509bf1acb2cb0fde4080
refs/heads/master
2021-03-24T09:14:49.342513
2016-12-08T09:08:23
2016-12-08T09:08:23
68,990,010
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
import os from keras.models import load_model import a_model import pickle import sys import numpy import random import csv def readTestData(filename): with open(filename) as file: testData = pickle.load(file) testMatrix = [] for i in range(len(testData['data'])): instance = testData['data'][i] instanceInX...
[ "r05922063@ntu.edu.tw" ]
r05922063@ntu.edu.tw
d0ddccb63a8286112433e6886535c15b78ec17a4
01c6f08f04a5aba3432a672744ad38b07b66cb24
/tests/test_logic.py
3c9bc6c23100bb411cca0ac4505621c9a1a70bf9
[]
no_license
patnir/photo-translator
bced9fa5bf355a47ab1e468fde7cc571ef434389
f4ce12f75f0f7e9cbb99192066ec026a91bc83e1
refs/heads/main
2023-03-17T23:42:50.964279
2021-03-17T06:27:20
2021-03-17T06:27:20
348,130,870
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from src.logic import translate_photo_contents_into_text def test_translate(): assert translate_photo_contents_into_text("photo") == "text"
[ "test@tests-mbp.home" ]
test@tests-mbp.home
4d252038bcbc9eef1bf76cf1aad3a729a21082bc
9d030f2fa76a53014dcf437cc436ecad6c95de0b
/Score_evaluator/migrations/0004_remove_category_likes.py
c28555126cc510d27a6370538b2a4c4830f7f3ad
[]
no_license
rotonmeta/SocialSearchEngine
40776b296c3c76666ca472f9014f7f57a05a7dad
661ac9be5fa1694b5a94bf9d514a3d6c11af4f2d
refs/heads/master
2020-05-18T19:26:45.349597
2019-07-08T15:07:26
2019-07-08T15:07:26
173,291,812
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
# Generated by Django 2.2.1 on 2019-06-18 15:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Score_evaluator', '0003_remove_categoryscore_score'), ] operations = [ migrations.RemoveField( model_name='category', name='...
[ "roton-meta@live.com" ]
roton-meta@live.com
4e26bbd2df58bab646493c8d01198a36113d012b
8b99655d0c3920143aa3a0945f05e7d16526788a
/python基础/异常捕获.py
a54adadeae5439d13f481cd08fb5ce153802a54d
[]
no_license
nicecode996/Python_Test
8e79373db83caf39521425b2be16416655d3ae8e
7a26b44cbb9e72c1039ed6c0e4961c4b35472192
refs/heads/master
2023-08-16T00:27:03.029817
2021-09-27T14:55:01
2021-09-27T15:18:20
410,270,104
0
0
null
2021-09-26T15:16:31
2021-09-25T12:44:03
Python
UTF-8
Python
false
false
533
py
#! usr/bin/env python3 # coding=utf-8 # try: # num1 = int(input("输入一个整数:")) # num2 = int(input("输入一个整数:")) # print(num1/num2) # except ValueError: # print("请输入数值型") # except ZeroDivisionError: # print("除数不为0") # else: # print("程序没有异常") # x = 5 # if x > 1: # raise Exception("这是一个异常") class M...
[ "19913148542@163.com" ]
19913148542@163.com
61cf636fe1e3b402dd46f44f844e6cd651afc53b
a5ca50c35dd71667ec905b883bd3f181ab5d2cab
/applications/FluidDynamicsApplication/symbolic_generation/compressible_navier_stokes/generate_stabilization_matrix.py
5c49316a2a83b9cd0bc5ce9eab985c8941e03480
[ "BSD-3-Clause" ]
permissive
philbucher/Kratos
74aeed105fb283caa2a2e84f44229d4ff657099e
1ceb900dbacfab344e27e32285250eafc52093ec
refs/heads/master
2022-03-19T08:38:33.276133
2021-11-19T12:14:53
2021-11-19T12:14:53
216,619,563
1
0
NOASSERTION
2021-11-19T12:14:54
2019-10-21T16:54:08
C++
UTF-8
Python
false
false
2,472
py
from sympy import * from KratosMultiphysics import * from KratosMultiphysics.sympy_fe_utilities import * def ComputeStabilizationMatrix(params): """This function calculates the stabilization matrix""" print("\nCompute stabilization matrix\n") dim = params["dim"] # Spatial dimensions Tau = zeros(...
[ "rubenzorrillamartinez@hotmail.com" ]
rubenzorrillamartinez@hotmail.com
22c0984369b13c085c9a024934cf992870d0fee8
1595ffd5cc3ede5cb1b35b5443070fbebe884fd3
/dataset/92_get-vocab.py
ef1f0459e4eb87e246660810b3a15bc22249edc7
[ "Apache-2.0" ]
permissive
ewdowiak/Sicilian_Translator
dd986ac687789f12f1a8d5d5a95f1862ca814174
135d6224aa7e9b5d6d8ab3949d463d7e1a1452db
refs/heads/main
2023-03-09T16:27:13.334651
2021-09-26T15:03:21
2021-09-26T15:03:21
172,383,110
4
2
null
null
null
null
UTF-8
Python
false
false
3,063
py
#!/usr/bin/python3 ## Copyright 2021 Eryk Wdowiak ## ## 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 b...
[ "eryk@wdowiak.me" ]
eryk@wdowiak.me
0a418fc8812aada8d4b208cdc5ff09a38eebd7ae
125d2d87b993280dfcec0d755655cf0d2e8a7194
/Computer_Files/Test/calibrate_camera.py
d32bc64d1f576fe58a61d4356bfc65f3a5731af1
[]
no_license
QuentinCar/DemoHydro
ab1383728050d1b2b0b0c14ad6db773933076a46
3ab12db8befab68e5931a284aa66352ebddd45cc
refs/heads/master
2020-06-21T04:18:26.614428
2019-09-17T12:46:24
2019-09-17T12:46:24
197,342,043
0
1
null
null
null
null
UTF-8
Python
false
false
2,480
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 12 14:15:55 2019 @author: Quentin """ import numpy as np import cv2 import glob def calibration(): print("Define Calibration Parameter...") # termination criteria criteria = (cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_MAX_ITER, 30, 0.001) # prepare ...
[ "cardinal.quentin@gmail.com" ]
cardinal.quentin@gmail.com
4dce6aca511eb41feeab368a9e2aa4e6b425ce74
22535a06ed985cd10048055bb310e9204d95702e
/module_3/zad_98/homework_1/main.py
d3b3e46ff68066e6bd1560473773ed79a5e7744d
[]
no_license
Nanutu/python-poczatek
56f077f54d5e8a29405addbe53c9d5826542ade2
af219febb62b1f76435365ca7a2a7797d2fd01d7
refs/heads/master
2023-02-15T07:09:37.098394
2021-01-08T02:06:53
2021-01-08T02:06:53
314,753,529
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
# Wykorzystaj metodę super do odwołania się z poziomu klasy ExpressOrder do bazowej implementacji metody total_price i # zastąp powtórzony w klasie potomnej algorytm wynikiem z tego odwołania. # # Pamiętaj, że łączna wartość zamówienia ekspresowego to: # # łączna wartość zamówienia policzona według bazowej metody + opł...
[ "maciek.sobieszuk@gmail.com" ]
maciek.sobieszuk@gmail.com
8277d164b1e7040645a57ce23a1d5194130455d5
92768f2f4c732583d469212c7e1b00a9ab136752
/rplugin/python/floobits/common/handlers/credentials.py
f7adcbf82b941023a6f3f28965a5fa4bff73bd2c
[ "Apache-2.0" ]
permissive
Floobits/floobits-neovim
c02e7ccfcb32c80cd1adece8b1896e3defbe120e
dbfa051e4f097dfa3f46997a2019556a62861258
refs/heads/master
2021-11-22T19:23:22.984948
2021-10-18T05:48:14
2021-10-18T05:48:14
26,030,646
170
11
Apache-2.0
2021-11-03T16:41:50
2014-10-31T19:40:06
Python
UTF-8
Python
false
false
2,387
py
import os import sys import uuid import binascii import webbrowser try: from . import base from .. import api, shared as G, utils from ... import editor from ..exc_fmt import str_e from ..protocols import no_reconnect assert api and G and utils except (ImportError, ValueError): import base ...
[ "bjorn@ambientchill.com" ]
bjorn@ambientchill.com
6a9a2140c3b9497705914e18dd94ed31139bc3b7
bd6bfc81cd266c8623543473c64bacda131b39a6
/angellist.py
cea22da59c2b95eadf0ef01a6e7523bbd4cb7e8e
[]
no_license
troyshu/angellistalumnibot
5b2fba65907dc6e35f444e042e3ba6c6ef4214c8
dd7aaf0cb884e36473295c344a0d45ab3c28beb2
refs/heads/master
2016-09-09T23:17:56.984129
2014-02-19T13:47:47
2014-02-19T13:47:47
16,949,225
8
6
null
null
null
null
UTF-8
Python
false
false
18,237
py
####################################################################################### # Python implementation of AngelList OAuth Authorization and API. # # # # Author: Kevin Marshall ...
[ "tmshu1@gmail.com" ]
tmshu1@gmail.com
55dd3bb40f27748ad37544434f81d3b3f8af7dbc
ee9d0897c1dfc9a7570dd482056ff174d2bf3cf1
/twitter/rest-api/lib/python2.7/linecache.py
742c382c3f110230e34c834dc845d977e9603178
[]
no_license
ravneetg/mids-w205-2
15fbd7d7356fa9ff8cf808a6a2cc9ed75114ee4c
796d07ad7ff53ff3350fa8b184b9c3d2be0ff795
refs/heads/master
2020-07-04T11:44:41.459445
2016-12-18T08:34:44
2016-12-18T08:34:44
67,957,203
0
1
null
2016-12-18T08:34:44
2016-09-11T22:15:03
null
UTF-8
Python
false
false
47
py
/home/blue/anaconda2/lib/python2.7/linecache.py
[ "ravneetghuman@ischool.berkeley.edu" ]
ravneetghuman@ischool.berkeley.edu
5b5cabf08a29039bc59cd1bac436dc857eb9d0b4
7833b9033fd68713920b431b56d952ce1b26bf64
/level0/test/lib/test_framework.py
a95c230d95a4896aa6339af1264722ccb345ae1d
[]
no_license
thbishop/stripe_ctf_3
15e7a302223d74e632a5a985024a91480bb04e48
a05b6d9262a040164ff60b07a55489fdcfa00ba3
refs/heads/master
2020-04-01T08:32:29.006343
2014-01-31T18:18:42
2014-01-31T18:18:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,387
py
import difflib import os.path from random import SystemRandom import re import subprocess import sys import time # From this package import lib.error as error import lib.http_client as http_client import lib.util as util data_directory = os.path.join(os.path.dirname(__file__), "..", "data") class TestCase(object): ...
[ "bishop.thomas@gmail.com" ]
bishop.thomas@gmail.com
4d38f7bb468beb4ae0d12208543491dffacf5088
fc93328977a795b72b3d2b4b9ba3d5656e3a3145
/bc/model.py
fc0f1217c125aed27218e37296fda571977b9f4e
[]
no_license
Recharrs/bc
cbd06b841005fae713b874b845c27f4e39a25414
c4cebf5ba1475954453a98ca36f376ba4139e168
refs/heads/master
2020-03-28T23:48:02.900041
2018-10-24T09:40:15
2018-10-24T09:40:15
149,309,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
import numpy as np import tensorflow as tf class Model: def __init__(self, state_dim, action_dim, restore_path=None): self.sess = tf.get_default_session() self.state_dim = state_dim self.action_dim = action_dim ''' Build Model ''' with tf.variable_scope("model") as scope: ...
[ "sliz97028@gmail.com" ]
sliz97028@gmail.com
24ce46c3f2cdf6328f9ad6f2523d90a5c1357fab
a9adcb5efb4492094ecd9e45741b409afca56f53
/democratizing_weather_data/streaming/sample_code/sample_consumer.py
11bae809c233d80495b34da49e9d8ab418dbe20b
[]
no_license
LeoSalemann/democratizing_weather_data
0792a4419a67799f8f5b60585a6ec32aab72c4c6
55d84e8bc3748b0df166d5f2c999bd7906cff1f5
refs/heads/master
2021-05-05T10:03:39.234295
2017-09-19T01:58:41
2017-09-19T01:58:41
104,013,673
0
0
null
2017-09-19T02:05:05
2017-09-19T02:05:05
null
UTF-8
Python
false
false
822
py
import sys import logging import multiprocessing from kafka import KafkaConsumer class Consumer(multiprocessing.Process): def __init__(self, topic_name): self.topic_name = topic_name daemon = True def run(self): consumer = KafkaConsumer(bootstrap_servers='localhost:9092', ...
[ "leo.salemann@me.com" ]
leo.salemann@me.com
77733aa3c3a5f4b351cd39d4466390c280141c03
818058887063f94360be7aeb55ef51363ec7334b
/FastFoodFast/asgi.py
59dbe97db1d17e43073f86d458d1ec1e60243529
[ "MIT" ]
permissive
Amwata-Albert/Fast-Food
9521092e2eba5469f4e5f3b85bff8ee68b54d4d7
1a6667efb10652852877422616ff80f69c3b066a
refs/heads/master
2023-01-19T15:55:22.377452
2020-11-24T14:26:18
2020-11-24T14:26:18
311,437,920
0
0
NOASSERTION
2020-11-24T14:26:20
2020-11-09T19:04:01
Python
UTF-8
Python
false
false
401
py
""" ASGI config for FastFoodFast 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_...
[ "albertotieno41@mail.com" ]
albertotieno41@mail.com
506914e27072e3732420f2074b84705988b980b3
619e18c1006f2e9e8960e800edb0490131b1ca35
/poc.py
e13810b86de3fa773f4376551d4f7fc3575b42ba
[ "Apache-2.0" ]
permissive
Gibstick/hocr-to-zuvaocr-converter
4c0b61e39d5f420a2185c34aee81c4f9a50b0c7d
b7eafed23a00efd1ee6caa748e2fdb7788aed914
refs/heads/main
2023-08-22T21:02:15.739377
2021-10-07T13:44:46
2021-10-07T13:44:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,690
py
# Copyright 2021 Zuva 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 law or agreed to in writing, softwa...
[ "francois.longtin@kirasystems.com" ]
francois.longtin@kirasystems.com
3e328de1c0c7c548ffcdc4dfe4245b69fc6a10cf
c5fb1b19dfb2e09a467b82312bc543b41bf09311
/venv/bin/jupyter-notebook
14402b5b0089189da18a0938bc5d0478fa3df764
[]
no_license
jkam32/python_playground
badb8a281ca4c11155bd2ab8fca94bfc7c2f5097
ef90dd29ddbd633e03caa273ee9adcb983444911
refs/heads/master
2020-03-27T20:32:35.407852
2018-09-30T09:20:35
2018-09-30T09:20:35
147,076,562
0
0
null
null
null
null
UTF-8
Python
false
false
265
#!/home/js/PycharmProjects/python_playground/venv/bin/python # -*- coding: utf-8 -*- import re import sys from notebook.notebookapp import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jkam32@siswa.um.edu.my" ]
jkam32@siswa.um.edu.my
2b12a582682d85608b392f14ce3177ebc146e1d6
25cf3a270879dc1d14c258be9b09964ae97cc6f3
/Homework6/Homework6.py
b61ae8612042f565cbff8c270edef4e293030ca5
[]
no_license
Zxr1230/cs677
58b048429cf028c51df9e6bbdd913d041ea951f9
f8b232356e99b674205a6001aef7756e99b666be
refs/heads/master
2020-06-19T22:09:06.331194
2019-04-30T01:01:34
2019-04-30T01:01:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,411
py
""" Jimmy Goddard 3/9/19 CS 677 Assignment 6 """ import datetime import os import platform import statistics import matplotlib.pyplot as plt import pandas as pd import seaborn as sns from pandas_datareader import data as web HEADER_LONG = 'Long_MA' HEADER_SHORT = 'Short_MA' HEADER_WEEK = 'Week' HEADER_RETURN = 'Retur...
[ "jimmy.goddard@gmail.com" ]
jimmy.goddard@gmail.com
ee3bd0fd9cd417e9f857dba2376e138ca1a6af7b
f9e2a4f93e7c18390052b87a45f199abce817ffe
/lib/python3.6/reprlib.py
eb5fd636821e416479b02e063c128c24a74e831a
[]
no_license
tunaho/Seng2021
e356e820458b65a3382671dc9c5810acf9db4b83
8be83cf2ada6a069d5b67f9f731bf30b85e8afef
refs/heads/master
2021-09-15T06:48:48.956845
2018-05-28T02:52:05
2018-05-28T02:52:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
C:/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/reprlib.py
[ "z5160298@ad.unsw.edu.au" ]
z5160298@ad.unsw.edu.au
1a164b7d02c2408775c790313f51483c12f60fa3
0124528676ee3bbaec60df5d6950b408e6da37c8
/Projects/QTPy/adafruit-circuitpython-bundle-7.x-mpy-20220601/examples/pct2075_high_temp_alert_example.py
2ec4e88196a8c47dfe88b6d038fdaac9fc2e1030
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
land-boards/lb-boards
8127658dc537dcfde0bb59a5018ab75c3f0087f6
eeb98cc2003dac1924845d949f6f5bd387376568
refs/heads/master
2023-06-07T15:44:46.110742
2023-06-02T22:53:24
2023-06-02T22:53:24
4,847,305
10
12
null
null
null
null
UTF-8
Python
false
false
591
py
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT import time import board import adafruit_pct2075 i2c = board.I2C() # uses board.SCL and board.SDA pct = adafruit_pct2075.PCT2075(i2c) pct.high_temperature_threshold = 35.5 pct.temperature_hysteresis = 30.0 pct.high_temp_ac...
[ "doug@douglasgilliland.com" ]
doug@douglasgilliland.com
1217dc9aad892ceabb4e39f38732b3be4c7fcb2f
15f0322573b8b1b1668c248a428fa27d2244ab99
/glug/views.py
41e2cd5d3e88ee2607ebf455b812061ee5d22540
[]
no_license
spoorthis12/my-first-blog
b2465a37c48cbadf36f9ff607e4428e42f499fb7
882ce2702bc3b0691d6d324bc214800157f23abe
refs/heads/master
2021-01-10T03:42:45.123150
2016-03-09T01:12:50
2016-03-09T01:12:50
53,430,401
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from django.shortcuts import render # Create your views here. def post_list(request): return render(request, 'glug/post_list.html', {})
[ "universalgreen1972@gmail.com" ]
universalgreen1972@gmail.com
ac250d7e10667f406ab08f6c594ec3adef79bb13
dba1606d2ea9c76861d01c2251ff45b0d4efec64
/LeetCode/39. 组合总和.py
3a0741cf7ebd3cfa1c1b9361720d978d438e8e42
[]
no_license
Jack00101/coding
c502087f480d50296eb01cdbba96d2ef26960bef
4f71a572c24af78f5e6c2006742614f868ced113
refs/heads/master
2022-03-02T13:52:19.946260
2019-11-01T04:52:48
2019-11-01T04:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
class Solution: def combinationSum(self, candidates, target: int, sort=True): if sort: candidates = sorted(candidates) results = [] for ind, i in enumerate(candidates): if i == target: results.append([i]) if i < target: temp = self.combinationSum(candidates[ind:], target ...
[ "noreply@github.com" ]
Jack00101.noreply@github.com
531d55b58e3c9467b232a7cc8f8185b0e9295939
08b3c2cb6cb9df8a8779e82eb9faef0df7e137ab
/src/dpg-yt-dl.py
18601796ccbcaa9709a24c98e43d7357d6361dc4
[]
no_license
RNubla/dearpygui-ytdl
0e9332552c46acda4605faf4c67ea635a373dcaf
1acbee275d56279337576353e98eb20acec05f23
refs/heads/main
2023-06-19T20:36:39.532886
2021-07-14T18:47:10
2021-07-14T18:47:10
385,402,833
0
0
null
null
null
null
UTF-8
Python
false
false
9,311
py
from knownpaths import FOLDERID import dearpygui.dearpygui as dpg import re import pafy from moviepy.editor import * import os from my_mvLogger import myMvLogger # from knownpaths import folderid import knownpaths as kp from screeninfo import get_monitors # create viewport takes in config options too! primary_window =...
[ "rnubla@gmail.com" ]
rnubla@gmail.com